if(!Object['hasOwnProperty']('values')){Object['values']=function(c){return Object['keys'](c)['map'](function(d){return c[d];});};}if(!String['prototype']['startsWith']){String['prototype']['startsWith']=function(e,f){f=f||0x0;return this['indexOf'](e,f)===f;};}TDV['EventDispatcher']=function(){this['_handlers']={};};TDV['EventDispatcher']['prototype']['bind']=function(g,h){if(!(g in this['_handlers']))this['_handlers'][g]=[];this['_handlers'][g]['push'](h);};TDV['EventDispatcher']['prototype']['unbind']=function(i,j){if(i in this['_handlers']){var k=this['_handlers'][i]['indexOf'](j);if(k!=-0x1)this['_handlers'][i]['splice'](k,0x1);}};TDV['EventDispatcher']['prototype']['createNewEvent']=function(l){if(typeof Event==='function')return new Event(l);var m=document['createEvent']('Event');m['initEvent'](l,!![],!![]);return m;};TDV['EventDispatcher']['prototype']['dispatchEvent']=function(n){if(n['type']in this['_handlers']){var o=this['_handlers'][n['type']];for(var p=0x0;p0x0)return;}if(v['sourceClassName']=='MediaAudio'||this['_isInitialized'])return;this['_isInitialized']=!![];u['unbind']('preloadMediaShow',t,this,!![]);u['unbindOnObjectsOf']('PlayListItem','begin',t,this,!![]);u['unbind']('stateChange',t,this,!![]);if(this['_isPaused'])this['pause']();window['parent']['postMessage'](TDV['Tour']['EVENT_TOUR_LOADED'],'*');this['dispatchEvent'](this['createNewEvent'](TDV['Tour']['EVENT_TOUR_LOADED']));};this['_setup']();this['_settings']['set'](TDV['PlayerSettings']['SCRIPT_URL'],this['_currentScriptUrl']);var u=this['player']=TDV['PlayerAPI']['create'](this['_settings']);u['bind']('preloadMediaShow',t,this,!![]);u['bind']('stateChange',t,this,!![]);u['bindOnObjectsOf']('PlayListItem','begin',t,this,!![]);u['bindOnObject']('rootPlayer','start',function(x){var y=x['data']['source'];y['get']('data')['tour']=this;var z=window['navigator']['language']||window['navigator']['userLanguage']||'en';var A=y['get']('data')['locales']||{};var B=y['get']('data')['defaultLocale']||z;var C=this['locManager']=new TDV['Tour']['LocaleManager'](y,A,B,this['_settings']['get'](TDV['PlayerSettings']['QUERY_STRING_PARAMETERS']));y['get']('data')['localeManager']=C;var D=function(){var O=y['get']('data');if(!('updateText'in O)){O['updateText']=function(S){var T=S[0x0]['split']('.');if(T['length']==0x2){var U=C['trans']['apply'](C,S);var V=S[0x1]||y;if(typeof V=='string'){var W=V['split']('.');V=y[W['shift']()];for(var X=0x0;X0xb4)ay-=0x168;}else{ay=ax['get']('yaw');az=ax['get']('pitch');}var aF=au['getPlayListWithItem'](as);if(aF){var aG=function(){au['setPanoramaCameraWithSpot'](aF,as,ay,az);};if(!this['_isInitialized']){var aH=function(){as['unbind']('begin',aH,this);aG();};as['bind']('begin',aH,this);}else{aG();}}}}};TDV['Tour']['prototype']['setComponentsVisibilityByTags']=function(aI,aJ,aK){var aL=this['_getRootPlayer']();if(aL!==undefined){var aM=aL['getComponentsByTags'](aI,aK);for(var aN=0x0,aO=aM['length'];aN0x0;};TDV['Tour']['prototype']['_getOrientation']=function(){var b8=this['_getRootPlayer']();if(b8){return b8['get']('orientation');}else if(this['_lockedOrientation']){return this['_lockedOrientation'];}else{return TDV['PlayerAPI']['getOrientation']();}};TDV['Tour']['prototype']['_getParams']=function(b9){var ba={};b9['split']('&')['forEach'](function(bb){var bc=bb['split']('=')[0x0],bd=decodeURIComponent(bb['split']('=')[0x1]);ba[bc['toLowerCase']()]=bd;});return ba;};TDV['Tour']['prototype']['_getRootPlayer']=function(){return this['player']!==undefined?this['player']['getById']('rootPlayer'):undefined;};TDV['Tour']['prototype']['_setup']=function(){if(!this['_orientation'])this['_orientation']=this['_getOrientation']();this['_device']=this['_getDevice']();this['_currentScriptUrl']=this['_getScriptUrl']();if(this['isMobile']()){var be=document['getElementById']('metaViewport');if(be){var bf=this['_devicesUrl'][this['_device']];var bg=0x1;if(typeof bf=='object'&&this['_orientation']in bf&&this['_orientation']==TDV['PlayerAPI']['ORIENTATION_LANDSCAPE']||this['_device']==TDV['Tour']['DEVICE_GENERAL']){bg=be['getAttribute']('data-tdv-general-scale')||0.5;}var bh=be['getAttribute']('content');bh=bh['replace'](/initial-scale=(\d+(\.\d+)?)/,function(bi,bj){return'initial-scale='+bg;});be['setAttribute']('content',bh);}}};TDV['Tour']['prototype']['_getScriptUrl']=function(){var bk=this['_devicesUrl'][this['_device']];if(typeof bk=='object'){if(this['_orientation']in bk){bk=bk[this['_orientation']];}}return bk;};TDV['Tour']['prototype']['_getDevice']=function(){var bl=TDV['Tour']['DEVICE_GENERAL'];if(!this['_isRemoteSession']&&this['isMobile']()){if(this['isIPad']()&&TDV['Tour']['DEVICE_IPAD']in this['_devicesUrl'])bl=TDV['Tour']['DEVICE_IPAD'];else if(TDV['Tour']['DEVICE_MOBILE']in this['_devicesUrl'])bl=TDV['Tour']['DEVICE_MOBILE'];}return bl;};TDV['Tour']['prototype']['_setMediaFromURL']=function(bm){var bn=this['_getRootPlayer']();var bo=bn['getActivePlayerWithViewer'](bn['getMainViewer']());var bp=bo?bn['getMediaFromPlayer'](bo):undefined;var bq=undefined;if('media'in bm){var br=bm['media'];var bs=Number(br);bq=isNaN(bs)?this['setMediaByName'](br):this['setMediaByIndex'](bs-0x1);}else if('media-index'in bm){bq=this['setMediaByIndex'](parseInt(bm['media-index'])-0x1);}else if('media-name'in bm){bq=this['setMediaByName'](bm['media-name']);}if(bq==undefined){bq=this['setMediaByIndex'](0x0);}if(bq!=undefined){var bt=bq['get']('player');var bu=function(){if('trigger-overlay-name'in bm){this['triggerOverlayByName'](bq['get']('media'),bm['trigger-overlay-name'],bm['trigger-overlay-event']);}if('focus-overlay-name'in bm){this['focusOverlayByName'](bq,bm['focus-overlay-name']);}else if('yaw'in bm||'pitch'in bm){var by=parseFloat(bm['yaw'])||undefined;var bz=parseFloat(bm['pitch'])||undefined;var bA=bn['getPlayListWithItem'](bq);if(bA)bn['setPanoramaCameraWithSpot'](bA,bq,by,bz);}}['bind'](this);if(bt){var bv=bt['get']('viewerArea')==bn['getMainViewer']();var bw=bn['getMediaFromPlayer'](bt);if(bv&&bp==bq['get']('media')||!bv&&bw==bq['get']('media')){bu();return bq!=undefined;}}var bx=function(){bq['unbind']('begin',bx,this);bu();};bq['bind']('begin',bx,bn);}return bq!=undefined;};TDV['Tour']['prototype']['_setupRemote']=function(){if(this['isMobile']()&&TDV['Remote']!=undefined){var bB=function(){var bC=undefined;var bD=function(){var bG=this['_getRootPlayer']();bC=bG['get']('lockedOrientation');bG['set']('lockedOrientation',this['_lockedOrientation']);}['bind'](this);this['_isRemoteSession']=!![];this['_lockedOrientation']=TDV['PlayerAPI']['ORIENTATION_LANDSCAPE'];if(this['_device']!=TDV['Tour']['DEVICE_GENERAL']){var bE=function(){bD();this['unbind'](TDV['Tour']['EVENT_TOUR_INITIALIZED'],bE);}['bind'](this);this['bind'](TDV['Tour']['EVENT_TOUR_INITIALIZED'],bE);this['reload']();}else{bD();}var bF=function(){this['_isRemoteSession']=![];this['_getRootPlayer']()['set']('lockedOrientation',bC);TDV['Remote']['unbind'](TDV['Remote']['EVENT_CALL_END'],bF);var bH=this['_getScriptUrl']();if(this['_currentScriptUrl']!=bH)this['reload']();}['bind'](this);TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_END'],bF);}['bind'](this);TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_BEGIN'],bB);}};TDV['Tour']['prototype']['_updateParams']=function(bI,bJ){if(bJ&&'language'in bI){var bK=bI['language'];if(this['locManager']['hasLocale'](bK)){this['setLocale'](bK);}}var bL=function(bM,bN,bO){var bP=bN['split'](',');for(var bQ=0x0,bR=bP['length'];bQ0x2){var cg=typeof arguments[0x2]=='object'?arguments[0x2]:undefined;var ch=arguments;function ci(cj){return/^\d+$/['test'](cj);}cf=cf['replace'](/\{\{([\w\.]+)\}\}/g,function(ck,cl){if(ci(cl))cl=ch[parseInt(cl)+0x1];else if(cg!==undefined)cl=cg[cl];if(typeof cl=='string')cl=this['currentLocaleMap'][cl]||cl;else if(typeof cl=='function')cl=cl['call'](this['rootPlayer']);return cl!==undefined?cl:'';}['bind'](this));}return cf;};TDV['Tour']['LocaleManager']['prototype']['_parsePropertiesContent']=function(cm){cm=cm['replace'](/(^|\n)#[^\n]*/g,'');var cn={};var co=cm['split']('\x0a');for(var cp=0x0,cq=co['length'];cp0x0;};TDV['Tour']['HistoryData']['prototype']['canForward']=function(){return this['pointer']>=0x0&&this['pointer']=0x0&&d0>=0x0&&d1!=d0){var d2=cZ['get']('items')[d1];var d3=cZ['get']('items')[d0];var d4=d2['get']('player');var d5=d3['get']('player');if((d4['get']('class')=='PanoramaPlayer'||d4['get']('class')=='Video360Player')&&(d5['get']('class')=='PanoramaPlayer'||d5['get']('class')=='Video360Player')){var d6=this['cloneCamera'](d3['get']('camera'));this['setCameraSameSpotAsMedia'](d6,d2['get']('media'));var d7=d6['get']('initialPosition');if(d7['get']('yaw')==undefined||d7['get']('pitch')==undefined||d7['get']('hfov')==undefined)return;this['startPanoramaWithCamera'](d3['get']('media'),d6);}}};TDV['Tour']['Script']['clone']=function(d8,d9){var da=this['rootPlayer']['createInstance'](d8['get']('class'));var db=d8['get']('id');if(db){var dc=db+'_'+Math['random']()['toString'](0x24)['substring'](0x2,0xf);da['set']('id',dc);this[dc]=da;}for(var dd=0x0;dd0x0){for(var dB=0x0;dB0x0){var e3=e1[e2];if(e3['get']('viewerArea')==e0){var e4=e3['get']('class');if(e4=='PanoramaPlayer'&&(e3['get']('panorama')!=undefined||e3['get']('video')!=undefined)||(e4=='VideoPlayer'||e4=='Video360Player')&&e3['get']('video')!=undefined||e4=='PhotoAlbumPlayer'&&e3['get']('photoAlbum')!=undefined||e4=='MapPlayer'&&e3['get']('map')!=undefined)return e3;}}return undefined;};TDV['Tour']['Script']['getCurrentPlayerWithMedia']=function(e5){var e6=undefined;var e7=undefined;switch(e5['get']('class')){case'Panorama':case'LivePanorama':case'HDRPanorama':e6='PanoramaPlayer';e7='panorama';break;case'Video360':e6='PanoramaPlayer';e7='video';break;case'PhotoAlbum':e6='PhotoAlbumPlayer';e7='photoAlbum';break;case'Map':e6='MapPlayer';e7='map';break;case'Video':e6='VideoPlayer';e7='video';break;};if(e6!=undefined){var e8=this['getByClassName'](e6);for(var e9=0x0;e90x1){eU['sort'](function(f1,f2){var f3=f1['get']('data')['groupIndex'];var f4=f2['get']('data')['groupIndex'];return f3-f4;});for(var eV=0x0,eW=eU['length'];eV=0x0;--fs){if(fw['indexOf'](fv[fs])==-0x1)fv['splice'](fs,0x1);}}else if(fc=='or'){for(var fs=fw['length']-0x1;fs>=0x0;--fs){var fn=fw[fs];if(fv['indexOf'](fn)==-0x1)fv['push'](fn);}}}}return fv||[];};TDV['Tour']['Script']['getComponentByName']=function(fx){var fy=this['getByClassName']('UIComponent');for(var fz=0x0,fA=fy['length'];fzfH)fH=fJ['get']('width');}return fH;}else{return fJ['get']('width');}default:return fF['get']('width');}};TDV['Tour']['Script']['getMediaHeight']=function(fK){switch(fK['get']('class')){case'Video360':var fL=fK['get']('video');if(fL instanceof Array){var fM=0x0;for(var fN=0x0;fNfM)fM=fO['get']('height');}return fM;}else{return fO['get']('height');}default:return fK['get']('height');}};TDV['Tour']['Script']['getOverlays']=function(fP){switch(fP['get']('class')){case'LivePanorama':case'HDRPanorama':case'Panorama':var fQ=fP['get']('overlays')['concat']()||[];var fR=fP['get']('frames');for(var fS=0x0;fS=0x0;--gu){var gv=gt[gu];var gw=gv['get']('player');if(gw!==undefined&&gw['get']('viewerArea')==go)return!![];}return![];};for(var gr=gp['length']-0x1;gr>=0x0;--gr){if(!gq(gp[gr]))gp['splice'](gr,0x1);}return gp;};TDV['Tour']['Script']['getPlayListWithItem']=function(gx){var gy=this['getByClassName']('PlayList');for(var gz=gy['length']-0x1;gz>=0x0;--gz){var gA=gy[gz];var gB=gA['get']('items');for(var gC=gB['length']-0x1;gC>=0x0;--gC){var gD=gB[gC];if(gD==gx)return gA;}}return undefined;};TDV['Tour']['Script']['getFirstPlayListWithMedia']=function(gE,gF){var gG=this['getPlayListsWithMedia'](gE,gF);return gG['length']>0x0?gG[0x0]:undefined;};TDV['Tour']['Script']['getPlayListItemByMedia']=function(gH,gI){var gJ=gH['get']('items');for(var gK=0x0,gL=gJ['length'];gK=0x0;--gU){var gV=gT[gU];if(gV['get']('media')!=gQ||gR!=undefined&&gV['get']('player')!=gR){gT['splice'](gU,0x1);}}return gT;}else{return[];}};TDV['Tour']['Script']['historyGoBack']=function(gW){var gX=this['get']('data')['history'][gW['get']('id')];if(gX!=undefined){gX['back']();}};TDV['Tour']['Script']['historyGoForward']=function(gY){var gZ=this['get']('data')['history'][gY['get']('id')];if(gZ!=undefined){gZ['forward']();}};TDV['Tour']['Script']['init']=function(){var h0=this['get']('data')['history'];var h1=function(ha){var hb=ha['source'];var hc=hb['get']('selectedIndex');if(hc<0x0)return;var hd=hb['get']('id');if(!h0['hasOwnProperty'](hd))h0[hd]=new TDV['Tour']['HistoryData'](hb);h0[hd]['add'](hc);};var h2=this['getByClassName']('PlayList');for(var h4=0x0,h5=h2['length'];h4=0x0){this['skip3DTransitionOnce'](hg['get']('items')[hh]['get']('player'));}}for(var h4=0x0,h8=h7['length'];h40x0){var hH=hF['get']('data')['name'];hF['bind']('click',this['sendAnalyticsData']['bind'](this,'Skin','click',hH),this,![]);}}var hI=this['mainPlayList']['get']('items')['concat'](this['getByClassName']('PlayListItem'));var hJ={};for(var hp=0x0,hs=hI['length'];hp0x0){var iP=iM[iN];if(iP['get']('viewerArea')!=iL){iM['splice'](iN,0x1);}}for(iN=0x0;iN=iX){iV-=iZ-(iX-is['get']('actualWidth'));iZ=iX-is['get']('actualWidth');}is['set']('left',iZ);ia();iS=iV;};this['bind']('mouseMove',iT,this);this['bind']('mouseUp',function(){this['unbind']('mouseMove',iT,this);},this);},this);ia();};TDV['Tour']['Script']['_initTwinsViewer']=function(j0){function j1(){var jm=j0['get']('actualWidth');jc['get']('children')[0x0]['set']('width',jm);jd['get']('children')[0x0]['set']('width',jm);var jn=jg['get']('left');var jo=typeof jn=='string'?j2(jn):jn;jo+=jg['get']('actualWidth')*0.5;jc['set']('width',j3(jo));jd['set']('width',j3(jm-jo));}function j2(jp){return parseFloat(jp['replace']('%',''))/0x64*j0['get']('actualWidth');}function j3(jq){return jq/j0['get']('actualWidth')*0x64+'%';}function j4(jr){j5(jr['source']);}function j5(js){var jt=js==ji?jh:ji;if(jj&&js!=jj||!js||!jt)return;var ju=jt['get']('camera')['get']('initialPosition')['get']('yaw')-js['get']('camera')['get']('initialPosition')['get']('yaw');jt['setPosition'](js['get']('yaw')+ju,js['get']('pitch'),js['get']('roll'),js['get']('hfov'));}function j6(jv){jj=jv['source'];}function j7(jw){j8(jw['source']);}function j8(jx){var jy=jx['get']('viewerArea');if(jy==je){if(jh){jh['get']('camera')['set']('hoverFactor',jk);}jh=jx;jj=jh;if(jh){jk=jh['get']('camera')['get']('hoverFactor');jh['get']('camera')['set']('hoverFactor',0x0);}}else if(jy==jf){if(ji){ji['get']('camera')['set']('hoverFactor',jl);}ji=jx;jj=jh;if(ji){jl=ji['get']('camera')['get']('hoverFactor');ji['get']('camera')['set']('hoverFactor',0x0);}}j5(jx);}function j9(jz){var jA=this['getCurrentPlayers']();var jB=jA['length'];while(jB-->0x0){var jD=jA[jB];if(jD['get']('viewerArea')!=jz){jA['splice'](jB,0x1);}}for(jB=0x0;jB0x0&&jF[0x0]['get']('viewMode')=='cardboard';};TDV['Tour']['Script']['isPanorama']=function(jG){return['Panorama','HDRPanorama','LivePanorama','Video360','VideoPanorama']['indexOf'](jG['get']('class'))!=-0x1;};TDV['Tour']['Script']['keepCompVisible']=function(jH,jI){var jJ='keepVisibility_'+jH['get']('id');var jK=this['getKey'](jJ);if(jK==undefined&&jI){this['registerKey'](jJ,jI);}else if(jK!=undefined&&!jI){this['unregisterKey'](jJ);}};TDV['Tour']['Script']['_initItemWithComps']=function(jL,jM,jN,jO,jP,jQ,jR,jS){var jT=jL['get']('items')[jM];var jU=jT['get']('media');var jV=jU['get']('loop')==undefined||jU['get']('loop');var jW=jS>0x0;var jX=this['rootPlayer'];var jY=function(k6){var k7=jQ?jQ['get']('class'):undefined;var k8=undefined;switch(k7){case'FadeInEffect':case'FadeOutEffect':k8=jX['createInstance'](k6?'FadeInEffect':'FadeOutEffect');break;case'SlideInEffect':case'SlideOutEffect':k8=jX['createInstance'](k6?'SlideInEffect':'SlideOutEffect');break;}if(k8){k8['set']('duration',jQ['get']('duration'));k8['set']('easing',jQ['get']('easing'));if(k7['indexOf']('Slide')!=-0x1)k8['set'](k6?'from':'to',jQ['get'](jQ['get']('class')=='SlideInEffect'?'from':'to'));}return k8;};var jZ=function(){for(var k9=0x0,ka=jN['length'];k90x0){this['setComponentVisibility'](kb,!jP,0x0,jY(!jP));}else{var kc='visibility_'+kb['get']('id');if(this['existsKey'](kc)){if(this['getKey'](kc))this['setComponentVisibility'](kb,!![],0x0,jY(!![]));else this['setComponentVisibility'](kb,![],0x0,jY(![]));this['unregisterKey'](kc);}}}jT['unbind']('end',jZ,this);if(!jV)jU['unbind']('end',jZ,this);};var k0=function(){jT['unbind']('stop',k0,this,!![]);jT['unbind']('stop',k0,this);jT['unbind']('begin',k0,this,!![]);jT['unbind']('begin',k0,this);for(var kd=0x0,ke=jN['length'];kd0x0){var kq=kg+kh+(kp!=undefined?kp['get']('duration'):0x0);jX['setComponentVisibility'](kn,!ko,kq,jY(!ko),ko?'hideEffect':'showEffect',!![]);}};for(var kk=0x0,kl=jN['length'];kk0x0){k1('begin',jS,0x0);jS=0x0;}if(jO!=undefined)k1(jO,jR,jS);};TDV['Tour']['Script']['loadFromCurrentMediaPlayList']=function(kr,ks,kt){var ku=kr['get']('selectedIndex');var kv=kr['get']('items')['length'];var kw=(ku+ks)%kv;while(kw<0x0){kw=kv+kw;}if(ku!=kw){if(kt){var kx=kr['get']('items')[kw];this['skip3DTransitionOnce'](kx['get']('player'));}kr['set']('selectedIndex',kw);}};TDV['Tour']['Script']['mixObject']=function(ky,kz){return this['assignObjRecursively'](kz,this['copyObjRecursively'](ky));};TDV['Tour']['Script']['downloadFile']=function(kA){if((navigator['userAgent']['toLowerCase']()['indexOf']('chrome')>-0x1||navigator['userAgent']['toLowerCase']()['indexOf']('safari')>-0x1)&&!/(iP)/g['test'](navigator['userAgent'])){var kB=document['createElement']('a');kB['href']=kA;kB['setAttribute']('target','_blank');if(kB['download']!==undefined){var kC=kA['substring'](kA['lastIndexOf']('/')+0x1,kA['length']);kB['download']=kC;}if(document['createEvent']){var kD=document['createEvent']('MouseEvents');kD['initEvent']('click',!![],!![]);kB['dispatchEvent'](kD);return;}}window['open'](kA,'_blank');};TDV['Tour']['Script']['openLink']=function(kE,kF){if(!kE||kE==location['href']){return;}if(!kF)kF='_blank';if(kF=='_top'||kF=='_self'){this['updateDeepLink'](!![],!![],!![]);}var kG=window&&window['process']&&window['process']['versions']&&window['process']['versions']['electron']||navigator&&navigator['userAgent']&&navigator['userAgent']['indexOf']('Electron')>=0x0;if(kG&&kF=='_blank'){if(kE['startsWith']('files/')){kE='/'+kE;}if(kE['startsWith']('//')){kE='https:'+kE;}else if(kE['startsWith']('/')){var kH=window['location']['href']['split']('/');kH['pop']();kE=kH['join']('/')+kE;}var kI=kE['split']('.')['pop']()['toLowerCase']();if((['pdf','zip','xls','xlsx']['indexOf'](kI)==-0x1||kE['startsWith']('file://'))&&window['hasOwnProperty']('require')){var kJ=window['require']('electron')['shell'];kJ['openExternal'](kE);}else{window['open'](kE,kF);}}else if(kG&&(kF=='_top'||kF=='_self')){window['location']=kE;}else{var kK=this['get']('data')['tour'];if(kK['isMobileApp']()&&kK['isIOS']())kE='blank:'+kE;var kL=window['open'](kE,kF);kL['focus']();}};TDV['Tour']['Script']['pauseCurrentPlayers']=function(kM){var kN=this['getCurrentPlayers']();var kO=kN['length'];while(kO-->0x0){var kP=kN[kO];if(kP['get']('state')=='playing'||kP['get']('data')&&kP['get']('data')['playing']||kP['get']('viewerArea')&&kP['get']('viewerArea')['get']('id')==this['getMainViewer']()||kP['get']('camera')&&kP['get']('camera')['get']('idleSequence')&&kP['get']('camera')['get']('timeToIdle')>0x0&&kP['get']('state')=='playing'){var kQ=this['getMediaFromPlayer'](kP);if(kM&&kQ&&kQ['get']('class')!='Video360'&&'pauseCamera'in kP){kP['pauseCamera']();}else{kP['pause']();}}else{kN['splice'](kO,0x1);}}return kN;};TDV['Tour']['Script']['pauseGlobalAudiosWhilePlayItem']=function(kR,kS,kT){var kU=function(){if(kR['get']('selectedIndex')!=kS){this['resumeGlobalAudios']();}};this['pauseGlobalAudios'](kT,!![]);this['executeFunctionWhenChange'](kR,kS,kU,kU);};TDV['Tour']['Script']['pauseGlobalAudios']=function(kV,kW){this['stopTextToSpeech']();if(window['pausedAudiosLIFO']==undefined)window['pausedAudiosLIFO']=[];var kX=this['getByClassName']('VideoPanoramaOverlay');kX=kX['concat'](this['getByClassName']('QuadVideoPanoramaOverlay'));for(var kZ=kX['length']-0x1;kZ>=0x0;--kZ){var l0=kX[kZ];if(l0['get']('video')['get']('hasAudio')==![])kX['splice'](kZ,0x1);}var l1=this['getByClassName']('Audio')['concat'](kX);var l2={};if(window['currentGlobalAudios']!=undefined)l1=l1['concat'](Object['values'](window['currentGlobalAudios'])['map'](function(l6){if(!l6['allowResume'])l2[l6['audio']['get']('id')]=l6['audio'];return l6['audio'];}));var l3=[];for(var kZ=0x0,l4=l1['length'];kZ0x0)window['pausedAudiosLIFO']['push'](l3);return l3;};TDV['Tour']['Script']['resumeGlobalAudios']=function(){if(window['pausedAudiosLIFO']==undefined)return;if(window['resumeAudiosBlocked']){if(window['pausedAudiosLIFO']['length']>0x1){window['pausedAudiosLIFO'][window['pausedAudiosLIFO']['length']-0x2]=window['pausedAudiosLIFO'][window['pausedAudiosLIFO']['length']-0x2]['concat'](window['pausedAudiosLIFO'][window['pausedAudiosLIFO']['length']-0x1]);window['pausedAudiosLIFO']['splice'](window['pausedAudiosLIFO']['length']-0x1,0x1);}return;}var l7=window['pausedAudiosLIFO']['pop']();if(!l7)return;for(var l8=0x0,l9=l7['length'];l8=le['length']){if(!lf)return;lh=0x0;}li=le[lh];lj(li,!![],lk,!![]);};lk();}};TDV['Tour']['Script']['playGlobalAudioWhilePlayActiveMedia']=function(ll,lm,ln,lo){var lp=this['getActiveMediaWithViewer'](this['getMainViewer']());var lq=this['getFirstPlayListWithMedia'](lp,!![]);var lr=this['getPlayListItemByMedia'](lq,lp);var ls=lq['get']('items')['indexOf'](lr);return this['playGlobalAudioWhilePlay'](lq,ls,ll,lm,ln,lo);};TDV['Tour']['Script']['playGlobalAudioWhilePlay']=function(lt,lu,lv,lw,lx,ly){var lz=function(lI){if(lI['data']['previousSelectedIndex']==lu){this['stopGlobalAudio'](lv);if(lD){var lJ=lC['get']('media');var lK=lJ['get']('audios');lK['splice'](lK['indexOf'](lv),0x1);lJ['set']('audios',lK);}lt['unbind']('change',lz,this);if(lx)lx();}};var lB=window['currentGlobalAudios'];if(lB&&lv['get']('id')in lB){lv=lB[lv['get']('id')]['audio'];if(lv['get']('state')!='playing'){lv['play']();}return lv;}lt['bind']('change',lz,this);var lC=lt['get']('items')[lu];var lD=lC['get']('class')=='PanoramaPlayListItem';if(lD){var lE=lC['get']('media');var lB=(lE['get']('audios')||[])['slice']();if(lv['get']('class')=='MediaAudio'){var lF=this['rootPlayer']['createInstance']('PanoramaAudio');lF['set']('autoplay',![]);lF['set']('audio',lv['get']('audio'));lF['set']('loop',lv['get']('loop'));lF['set']('id',lv['get']('id'));this['cloneBindings'](lv,lF,'end');this['cloneBindings'](lv,lF,'stateChange');lv=lF;}lB['push'](lv);lE['set']('audios',lB);}var lG=this['playGlobalAudio'](lv,lw,function(){lt['unbind']('change',lz,this);if(lx)lx['call'](this);});if(ly===!![]){var lH=function(){if(lG['get']('state')=='playing'){this['pauseGlobalAudios']([lG],!![]);}else if(lG['get']('state')=='stopped'){this['resumeGlobalAudios']();lG['unbind']('stateChange',lH,this);}};lG['bind']('stateChange',lH,this);}return lG;};TDV['Tour']['Script']['playGlobalAudio']=function(lL,lM,lN,lO){var lP=function(){lL['unbind']('end',lP,this);this['stopGlobalAudio'](lL);if(lN)lN['call'](this);};lL=this['getGlobalAudio'](lL);var lQ=window['currentGlobalAudios'];if(!lQ){lQ=window['currentGlobalAudios']={};}lQ[lL['get']('id')]={'audio':lL,'asBackground':lO||![],'allowResume':lM};if(lL['get']('state')=='playing'){return lL;}if(!lL['get']('loop')){lL['bind']('end',lP,this);}lL['play']();return lL;};TDV['Tour']['Script']['resumePlayers']=function(lR,lS){for(var lT=0x0;lT0x0){var mk=setTimeout(function(){if(window[mi]instanceof Array){var mn=window[mi];var mo=mn['indexOf'](mk);mn['splice'](mo,0x1);if(mn['length']==0x0){delete window[mi];}}else{delete window[mi];}mh();},mc);if(window['hasOwnProperty'](mi)){window[mi]=[window[mi],mk];}else{window[mi]=mk;}}else{mh();}};TDV['Tour']['Script']['setDirectionalPanoramaAudio']=function(mp,mq,mr,ms){mp['set']('yaw',mq);mp['set']('pitch',mr);mp['set']('maximumAngle',ms);};TDV['Tour']['Script']['setLocale']=function(mt){this['stopTextToSpeech']();var mu=this['get']('data')['localeManager'];if(mu)this['get']('data')['localeManager']['setLocale'](mt);else{this['get']('data')['defaultLocale']=mt;this['get']('data')['forceDefaultLocale']=!![];}};TDV['Tour']['Script']['setEndToItemIndex']=function(mv,mw,mx){var my=function(){if(mv['get']('selectedIndex')==mw){var mz=mv['get']('items')[mx];this['skip3DTransitionOnce'](mz['get']('player'));mv['set']('selectedIndex',mx);}};this['executeFunctionWhenChange'](mv,mw,my);};TDV['Tour']['Script']['setMapLocation']=function(mA,mB){var mC=function(){mA['unbind']('stop',mC,this);mD['set']('mapPlayer',null);};mA['bind']('stop',mC,this);var mD=mA['get']('player');mD['set']('mapPlayer',mB);};TDV['Tour']['Script']['setMainMediaByIndex']=function(mE){var mF=undefined;if(mE>=0x0&&mE0x0){mX=n0[0x0];mY=this['getPlayListItemIndexByMedia'](mX,mT);}if(!mX)mT=!![];}if(mT===!![]){var n5=this['getActiveMediaWithViewer'](mZ);if(n5){mX=this['getFirstPlayListWithMedia'](n5,!![]);var n4=this['getPlayListItemByMedia'](mX,n5);mY=mX['get']('items')['indexOf'](n4);}else{mT=null;}}var n6=[];var n7=function(){var nf=n6['concat']();var ng=![];var nh=function(nk){var nl=nk['source']['get']('state');if(nl=='playing'){if(!ng){ng=!![];this['pauseGlobalAudios'](n6,!![]);}}else if(nl=='stopped'){nf['splice'](nf['indexOf'](nk['source']),0x1);if(nf['length']==0x0){this['resumeGlobalAudios']();}nk['source']['unbind']('stateChange',nh,this);}}['bind'](this);for(var ni=0x0,nj=n6['length'];ni0x0&&o4['get']('movements')[o3-0x1]['get']('class')=='TargetPanoramaCameraMovement'){var oe=o5['get']('initialPosition');var of=oe['get']('yaw');var og=oe['get']('pitch');var oh=oe['get']('hfov');var oi=o4['get']('movements')[o3-0x1];var oj=oi['get']('targetYaw');var ok=oi['get']('targetPitch');var ol=oi['get']('targetHfov');if(oj!==undefined)oe['set']('yaw',oj);if(ok!==undefined)oe['set']('pitch',ok);if(ol!==undefined)oe['set']('hfov',ol);var om=function(op){oe['set']('yaw',of);oe['set']('pitch',og);oe['set']('hfov',oh);nZ['unbind']('end',om,this);};nZ['bind']('end',om,this);}o4['set']('movementIndex',o3);}}if(nX){nW['unbind']('begin',nN,this);nX['unbind']('stateChange',nM,this);for(var on=0x0;on0x1)&&(oo==undefined||oo==nW['get']('media'))){nT['set']('selectedIndex',nV);}if(nH!=nT)nT['unbind']('change',nO,this);}else{o0['set']('visible',o1);}nT=undefined;};if(!nJ){var nR=nH['get']('selectedIndex');var nS=nR!=-0x1?nH['get']('items')[nH['get']('selectedIndex')]['get']('player'):this['getActivePlayerWithViewer'](this['getMainViewer']());if(nS){nJ=this['getMediaFromPlayer'](nS);}}var nT=undefined;if(nJ){var nU=this['getPlayListsWithMedia'](nJ,!![]);if(nU['indexOf'](nH)!=-0x1){nT=nH;}else if(nU['indexOf'](this['mainPlayList'])!=-0x1){nT=this['mainPlayList'];}else if(nU['length']>0x0){nT=nU[0x0];}}if(!nT){nH['set']('selectedIndex',nI);return;}var nV=nT['get']('selectedIndex');var nW=nH['get']('items')[nI];var nX=nW['get']('player');var nY=this['getMediaFromPlayer'](nX);if(nH['get']('selectedIndex')==nI&&nY==nW['get']('media')||nV==-0x1){return;}if(nH['get']('selectedIndex')==nI&&nY!=nW['get']('media'))nH['set']('selectedIndex',-0x1);var nZ=nT['get']('items')[nV];var o0=nX['get']('viewerArea');var o1=o0['get']('visible');var o2=o0==nZ['get']('player')['get']('viewerArea');if(o2){if(nH!=nT){nT['set']('selectedIndex',-0x1);nT['bind']('change',nO,this);}}else{o0['set']('visible',!![]);}var o3=-0x1;var o4=undefined;var o5=nZ['get']('camera');if(o5){o4=o5['get']('initialSequence');if(o4){o3=o4['get']('movementIndex');}}nH['set']('selectedIndex',nI);var o6=[];var o7=function(oq){var or=nX['get'](oq);if(or==undefined)return;if(Array['isArray'](or))o6=o6['concat'](or);else o6['push'](or);};o7('buttonStop');for(var o8=0x0;o80x0){oI[oL['get']('id')]=setTimeout(oM['bind'](this,oL),oF);}else{oM['call'](this,oL);}}function oM(oN){var oO=oN['get']('id');var oP=oI[oO];if(oP){clearTimeout(oP);delete oP[oO];}var oQ=oE=='toggle'?!oN['get']('enabled'):oE;oN['set']('enabled',oQ);var oS=oN['get']('data');if(oQ&&oS&&'group'in oS){var oT=this['getOverlaysByGroupname'](oS['group']);for(var oU=0x0,oV=oT['length'];oU=0x0)clearTimeout(qd);q8['bind']('rollOut',qf,this);};var qf=function(){var qk=function(){qc['call'](this,![]);};q8['unbind']('rollOut',qf,this);qd=setTimeout(qk['bind'](this),qa);};q8['bind']('rollOver',qe,this);}};TDV['Tour']['Script']['showPopupMedia']=function(ql,qm,qn,qo,qp,qq){var qr=this;var qs=function(){window['resumeAudiosBlocked']=![];qn['set']('selectedIndex',-0x1);qr['getMainViewer']()['set']('toolTipEnabled',!![]);this['resumePlayers'](qx,!![]);if(qw){this['unbind']('resize',qu,this);}ql['unbind']('close',qs,this);};var qt=function(){ql['hide']();};var qu=function(){var qy=function(qP){return ql['get'](qP)||0x0;};var qz=qr['get']('actualWidth');var qA=qr['get']('actualHeight');var qB=qr['getMediaWidth'](qm);var qC=qr['getMediaHeight'](qm);var qD=parseFloat(qo)/0x64;var qE=parseFloat(qp)/0x64;var qF=qD*qz;var qG=qE*qA;var qH=qy('footerHeight');var qI=qy('headerHeight');if(!qI){var qJ=qy('closeButtonIconHeight')+qy('closeButtonPaddingTop')+qy('closeButtonPaddingBottom');var qK=qr['getPixels'](qy('titleFontSize'))+qy('titlePaddingTop')+qy('titlePaddingBottom');qI=qJ>qK?qJ:qK;qI+=qy('headerPaddingTop')+qy('headerPaddingBottom');}var qL=qF-qy('bodyPaddingLeft')-qy('bodyPaddingRight')-qy('paddingLeft')-qy('paddingRight');var qM=qG-qI-qH-qy('bodyPaddingTop')-qy('bodyPaddingBottom')-qy('paddingTop')-qy('paddingBottom');var qN=qL/qM;var qO=qB/qC;if(qN>qO){qF=qM*qO+qy('bodyPaddingLeft')+qy('bodyPaddingRight')+qy('paddingLeft')+qy('paddingRight');}else{qG=qL/qO+qI+qH+qy('bodyPaddingTop')+qy('bodyPaddingBottom')+qy('paddingTop')+qy('paddingBottom');}if(qF>qz*qD){qF=qz*qD;}if(qG>qA*qE){qG=qA*qE;}ql['set']('width',qF);ql['set']('height',qG);ql['set']('x',(qz-qy('actualWidth'))*0.5);ql['set']('y',(qA-qy('actualHeight'))*0.5);};if(qq){this['executeFunctionWhenChange'](qn,0x0,qt);}var qv=qm['get']('class');var qw=qv=='Video'||qv=='Video360';qn['set']('selectedIndex',0x0);if(qw){this['bind']('resize',qu,this);qu();qn['get']('items')[0x0]['get']('player')['play']();}else{ql['set']('width',qo);ql['set']('height',qp);}window['resumeAudiosBlocked']=!![];this['getMainViewer']()['set']('toolTipEnabled',![]);var qx=this['pauseCurrentPlayers'](!![]);ql['bind']('close',qs,this);ql['show'](this,!![]);};TDV['Tour']['Script']['showPopupImage']=function(qQ,qR,qS,qT,qU,qV,qW,qX,qY,qZ,r0,r1){var r2=![];var r3=function(){rk['unbind']('loaded',r6,this);ra['call'](this);};var r4=function(){rk['unbind']('click',r4,this);if(ro!=undefined){clearTimeout(ro);}};var r5=function(){setTimeout(re,0x0);};var r6=function(){this['unbind']('click',r3,this);rj['set']('visible',!![]);re();rl['set']('visible',!![]);rk['unbind']('loaded',r6,this);rk['bind']('resize',r5,this);ro=setTimeout(r7['bind'](this),0xc8);};var r7=function(){ro=undefined;if(qX){rk['bind']('click',r4,this);r9['call'](this);}rk['bind']('userInteractionStart',rf,this);rk['bind']('userInteractionEnd',rg,this);rk['bind']('backgroundClick',ra,this);if(qR){rk['bind']('click',rc,this);rk['set']('imageCursor','hand');}rl['bind']('click',ra,this);if(r0)r0['call'](this);};var r8=function(){if(qX&&ro){clearTimeout(ro);ro=undefined;}};var r9=function(){if(qX){r8();ro=setTimeout(ra['bind'](this),qX);}};var ra=function(){this['getMainViewer']()['set']('toolTipEnabled',!![]);r2=!![];if(ro)clearTimeout(ro);if(rp)clearTimeout(rp);if(qX)r4();if(r1)r1['call'](this);rk['set']('visible',![]);if(qV&&qV['get']('duration')>0x0){qV['bind']('end',rb,this);}else{rk['set']('image',null);}rl['set']('visible',![]);rj['set']('visible',![]);this['unbind']('click',r3,this);rk['unbind']('backgroundClick',ra,this);rk['unbind']('userInteractionStart',rf,this);rk['unbind']('userInteractionEnd',rg,this,!![]);rk['unbind']('resize',r5,this);if(qR){rk['unbind']('click',rc,this);rk['set']('cursor','default');}rl['unbind']('click',ra,this);this['resumePlayers'](rn,qY==null||qZ);if(qZ){this['resumeGlobalAudios']();}if(qY){this['stopGlobalAudio'](qY);}};var rb=function(){rk['set']('image',null);qV['unbind']('end',rb,this);};var rc=function(){rk['set']('image',rd()?qQ:qR);};var rd=function(){return rk['get']('image')==qR;};var re=function(){var rq=rk['get']('actualWidth')-rk['get']('imageLeft')-rk['get']('imageWidth')+0xa;var rr=rk['get']('imageTop')+0xa;if(rq<0xa)rq=0xa;if(rr<0xa)rr=0xa;rl['set']('right',rq);rl['set']('top',rr);};var rf=function(){r8();if(rp){clearTimeout(rp);rp=undefined;}else{rl['set']('visible',![]);}};var rg=function(){r9['call'](this);if(!r2){rp=setTimeout(rh,0x12c);}};var rh=function(){rp=undefined;rl['set']('visible',!![]);re();};var ri=function(rs){var rt=rs['get']('data');if(rt&&'extraLevels'in rt){var ru=this['rootPlayer']['createInstance'](rs['get']('class'));var rv=rt['extraLevels'];for(var rw=0x0;rw0x0){if(window['currentPanoramasWithCameraChanged']==undefined){window['currentPanoramasWithCameraChanged']={};}var sy=sk['get']('id');window['currentPanoramasWithCameraChanged'][sy]=so;var sz=function(){if(sy in window['currentPanoramasWithCameraChanged']){delete window['currentPanoramasWithCameraChanged'][sy];}for(var sB=0x0;sB=0x0){td='#media='+(tc+0x1);te=this['mainPlayList']['get']('items')[tc]['get']('media');}else{te=this['getActiveMediaWithViewer'](this['getMainViewer']());if(te!=undefined){var tg=te['get']('data');if(tg){td='#media-name='+tg['label'];}}}if(te){if(t9){var th=this['getActivePlayerWithViewer'](this['getMainViewer']());if(th&&th['get']('class')=='PanoramaPlayer'){var ti=th['get']('yaw');var tj=th['get']('pitch');if(!isNaN(ti)&&!isNaN(tj))td+='&yaw='+ti['toFixed'](0x2)+'&pitch='+tj['toFixed'](0x2);}}if(ta){var tk=this['getOverlays'](te);var tl=[];var tm=[];for(var tn=0x0,to=tk['length'];tn0x0)td+='&son='+tl['join'](',');if(tm['length']>0x0)td+='&hon='+tm['join'](',');}}if(td&&tb===!![]){location['hash']=td;}return td;};TDV['Tour']['Script']['updateMediaLabelFromPlayList']=function(tt,tu,tv){var tw=function(){var ty=tt['get']('selectedIndex');if(ty>=0x0){var tz=function(){tC['unbind']('begin',tz);tA(ty);};var tA=function(tD){var tE=tC['get']('media');var tF=tE['get']('data');var tG=tF!==undefined?tF['description']:undefined;tB(tG);};var tB=function(tH){if(tH!==undefined){tu['set']('html',''+tH+'');}else{tu['set']('html','');}var tI=tu['get']('html');tu['set']('visible',tI!==undefined&&tI);};var tC=tt['get']('items')[ty];if(tu['get']('html')){tB('Loading...');tC['bind']('begin',tz);}else{tA(ty);}}};var tx=function(){tu['set']('html',undefined);tt['unbind']('change',tw,this);tv['unbind']('stop',tx,this);};if(tv){tv['bind']('stop',tx,this);}tt['bind']('change',tw,this);tw();};TDV['Tour']['Script']['updateVideoCues']=function(tJ,tK){var tL=tJ['get']('items')[tK];var tM=tL['get']('media');if(tM['get']('cues')['length']==0x0)return;var tN=tL['get']('player');var tO=[];var tP=function(){if(tJ['get']('selectedIndex')!=tK){tM['unbind']('cueChange',tQ,this);tJ['unbind']('change',tP,this);}};var tQ=function(tR){var tS=tR['data']['activeCues'];for(var tT=0x0,tU=tO['length'];tTtN['get']('currentTime')||tV['get']('endTime')0x0){uc=this['mixObject'](uc||{},{'theme':{'window':{'width':undefined,'left':ud,'right':ud}}});}}var ue=this['get']('data')['textToSpeechConfig']['speechOnQuizQuestion']&&!!ub['title'];if(ue)this['textToSpeech'](ub['title'],u6);u9=u8['showQuestion'](u6,uc);u9['then'](function(uf){if(ue)this['stopTextToSpeech']();this['resumePlayers'](ua,!![]);}['bind'](this));}return u9;};TDV['Tour']['Script']['quizShowScore']=function(ug){var uh=this['get']('data');var ui=uh['quiz'];if(ui){if(this['get']('isMobile')){ug=ug||{};ug=this['mixObject'](ug,uh[this['get']('orientation')=='portrait'?'scorePortraitConfig':'scoreLandscapeConfig']);}return ui['showScore'](ug);}};TDV['Tour']['Script']['quizShowTimeout']=function(uj,uk){var ul=this['get']('data');var um=ul['quiz'];if(um){if(this['get']('isMobile')){uk=uk||{};uk=this['mixObject'](uk,ul[this['get']('orientation')=='portrait'?'scorePortraitConfig':'scoreLandscapeConfig']);}um['showTimeout'](uj,uk);}};TDV['Tour']['Script']['stopTextToSpeech']=function(un){if(window['speechSynthesis']&&(un==undefined||this['t2sLastID']==un)){var uo=window['speechSynthesis'];if(uo['speaking']){uo['cancel']();}this['t2sLastID']=undefined;}};TDV['Tour']['Script']['textToSpeech']=function(up,uq,ur){if(this['get']('mute')){return;}var us=this['get']('data');var ut=us['disableTTS']||![];if(ut)return;if(uq!=undefined&&this['t2sLastID']!=uq||uq==undefined){ur=ur||0x0;if(this['t2sLastID']&&ur>this['t2sLastPriority']){return;}var uu=us['tour'];var uv=us['textToSpeechConfig'];var uw=us['localeManager']['currentLocaleID'];if(window['speechSynthesis']){var ux=window['speechSynthesis'];if(ux['speaking']){ux['cancel']();}var uy=new SpeechSynthesisUtterance(up);if(uw)uy['lang']=uw;var uz;if(uv){uy['volume']=uv['volume'];uy['pitch']=uv['pitch'];uy['rate']=uv['rate'];if(uv['stopBackgroundAudio'])this['pauseGlobalAudios'](null,!![]);}uy['onend']=function(){this['t2sLastID']=null;if(uz)clearInterval(uz);if(uv['stopBackgroundAudio'])this['resumeGlobalAudios']();}['bind'](this);if(navigator['userAgent']['indexOf']('Chrome')!=-0x1&&!this['get']('isMobile')){uz=setInterval(function(){ux['pause']();ux['resume']();},0xbb8);}ux['speak'](uy);this['t2sLastPriority']=ur;this['t2sLastID']=uq;}else if(uu['isMobileApp']()){if(!uu['isIOS']()){var uA=function(uB,uC){var uD={'command':'tts','type':uB};if(uC)uD=this['mixObject'](uD,uC);android['sendJSON'](JSON['stringify'](uD));}['bind'](this);android['onTTSEnd']=function(){this['t2sLastID']=null;if(uv['stopBackgroundAudio'])this['resumeGlobalAudios']();android['onTTSEnd']=undefined;}['bind'](this);uA('stop');if(uv){uA('init',{'volume':uv['volume'],'pitch':uv['pitch'],'rate':uv['rate'],'language':uw});if(uv['stopBackgroundAudio'])this['pauseGlobalAudios'](null,!![]);}uA('play',{'text':up,'androidCallback':'onTTSEnd'});}else{console['error']('Text\x20to\x20Speech\x20isn\x27t\x20supported\x20on\x20this\x20browser');}}else{console['error']('Text\x20to\x20Speech\x20isn\x27t\x20supported\x20on\x20this\x20browser');}}};TDV['Tour']['Script']['textToSpeechComponent']=function(uE){var uF=uE['get']('class');var uG;if(uF=='HTMLText'){var uH=uE['get']('html');if(uH){uG=this['htmlToPlainText'](uH,{'linkProcess':function(uI,uJ){return uJ;}});}}else if(uF=='BaseButton'){uG=uE['get']('label');}else if(uF=='Label'){uG=uE['get']('text');}if(uG){this['textToSpeech'](uG,uE['get']('id'));}};TDV['Tour']['Script']['_initTTSTooltips']=function(){function uK(uM){var uN=uM['source'];this['textToSpeech'](uN['get']('toolTip'),uN['get']('id'),0x1);}function uL(uO){var uP=uO['source'];this['stopTextToSpeech'](uP['get']('id'));}setTimeout(function(){var uQ=this['getByClassName']('UIComponent');for(var uR=0x0,uS=uQ['length'];uR/i);if(va){v9=v9['substring'](0x0,va['index']);}const vb=v9['match'](/]*>/i);if(vb){v9=v9['substring'](vb['index']+vb[0x0]['length'],v9['length']);}v9=v9['replace'](/<(script|style)( [^>]*)*>((?!<\/\1( [^>]*)*>).)*<\/\1>/gi,'');v9=v9['replace'](/<(\/)?((?!h[1-6]( [^>]*)*>)(?!img( [^>]*)*>)(?!a( [^>]*)*>)(?!ul( [^>]*)*>)(?!ol( [^>]*)*>)(?!li( [^>]*)*>)(?!p( [^>]*)*>)(?!div( [^>]*)*>)(?!td( [^>]*)*>)(?!br( [^>]*)*>)[^>\/])[^<>]*>/gi,'');v9=v9['replace'](/]*)>/gi,function(vh,vi){var vj='';var vk='';var vl=/src="([^"]*)"/i['exec'](vi);var vm=/alt="([^"]*)"/i['exec'](vi);if(vl!==null){vj=vl[0x1];}if(vm!==null){vk=vm[0x1];}if(typeof v1==='function'){return v1(vj,vk);}if(vk===''){return'![image]\x20('+vj+')';}return'!['+vk+']\x20('+vj+')';});function vc(){return function(vn,vo,vp,vq){var vr=0x0;if(vp&&/start="([0-9]+)"/i['test'](vp)){vr=/start="([0-9]+)"/i['exec'](vp)[0x1]-0x1;}var vs='

'+vq['replace'](/]*>(((?!]*>)(?!<\/li>).)*)<\/li>/gi,function(vt,vu){var vv=0x0;var vw=vu['replace'](/(^|(
))(?!

)/gi,function(){if(vo==='o'&&vv===0x0){vr+=0x1;vv+=0x1;return''+vr+uZ(v6,v5-String(vr)['length']);}return''+v8;});return vw;})+'

';return vs;};}if(v3==='linebreak'){v9=v9['replace'](/<\/?ul[^>]*>|<\/?ol[^>]*>|<\/?li[^>]*>/gi,'\x0a');}else if(v3==='indention'){while(/<(o|u)l[^>]*>(.*)<\/\1l>/gi['test'](v9)){v9=v9['replace'](/<(o|u)l([^>]*)>(((?!<(o|u)l[^>]*>)(?!<\/(o|u)l>).)*)<\/\1l>/gi,vc());}}if(v2==='linebreak'){v9=v9['replace'](/]*>([^<]*)<\/h\1>/gi,'\x0a$2\x0a');}else if(v2==='underline'){v9=v9['replace'](/]*>(((?!<\/h1>).)*)<\/h1>/gi,function(vx,vy){return'\x0a \x0a'+vy+'\x0a'+uZ('=',vy['length'])+'\x0a \x0a';});v9=v9['replace'](/]*>(((?!<\/h2>).)*)<\/h2>/gi,function(vz,vA){return'\x0a \x0a'+vA+'\x0a'+uZ('-',vA['length'])+'\x0a \x0a';});v9=v9['replace'](/]*>(((?!<\/h\1>).)*)<\/h\1>/gi,function(vB,vC,vD){return'\x0a \x0a'+vD+'\x0a \x0a';});}else if(v2==='hashify'){v9=v9['replace'](/]*>([^<]*)<\/h\1>/gi,function(vE,vF,vG){return'\x0a \x0a'+uZ('#',vF)+'\x20'+vG+'\x0a \x0a';});}v9=v9['replace'](/]*)*>|]*)*>|<\/p( [^>]*)*>|]*)*>|<\/div( [^>]*)*>|]*)*>|<\/td( [^>]*)*>/gi,'\x0a');v9=v9['replace'](/]*href="([^"]*)"[^>]*>([^<]+)<\/a[^>]*>/gi,function(vH,vI,vJ){if(typeof v0==='function'){return v0(vI,vJ);}return'\x20['+vJ+']\x20('+vI+')\x20';});v9=v9['replace'](/\n[ \t\f]*/gi,'\x0a');v9=v9['replace'](/\n\n+/gi,'\x0a');if(v7){v9=v9['replace'](/( |\t)+/gi,'\x20');v9=v9['replace'](/ /gi,'\x20');}else{v9=v9['replace'](/( | |\t)+/gi,'\x20');}v9=v9['replace'](/\n +/gi,'\x0a');v9=v9['replace'](/^ +/gi,'');while(v9['indexOf']('\x0a')===0x0){v9=v9['substring'](0x1);}if(v9['length']===0x0||v9['lastIndexOf']('\x0a')!==v9['length']-0x1){v9+='\x0a';}return v9;};TDV['Tour']['Script']['openEmbeddedPDF']=function(vK,vL){var vM=!!window['MSInputMethodContext']&&!!document['documentMode'];if(vM){this['openLink'](vL,'_blank');return;}var vN=vK['get']('class');var vO=!new RegExp('^(?:[a-z]+:)?//','i')['test'](vL);if(vO&&vN=='WebFrame'){var vP=location['origin']+location['pathname'];vK['set']('url','lib/pdfjs/web/viewer.html?file='+encodeURIComponent(vP['substring'](0x0,vP['lastIndexOf']('/'))+'/'+vL));}else{var vQ=location['origin']==new URL(vL)['origin'];var vR=''+'

This\x20browser\x20does\x20not\x20support\x20inline\x20PDFs.\x20Please\x20download\x20the\x20PDF\x20to\x20view\x20it:\x20Download\x20PDF

'+'';var vS=/^((?!chrome|android|crios|ipad|iphone).)*safari/i['test'](navigator['userAgent']);var vT=''+''+'!function(root,factory){\x22function\x22==typeof\x20define&&define.amd?define([],factory):\x22object\x22==typeof\x20module&&module.exports?module.exports=factory():root.PDFObject=factory()}(this,function(){\x22use\x20strict\x22;if(void\x200===window||void\x200===window.navigator||void\x200===window.navigator.userAgent||void\x200===window.navigator.mimeTypes)return!1;let\x20nav=window.navigator,ua=window.navigator.userAgent,isIE=\x22ActiveXObject\x22in\x20window,isModernBrowser=void\x200!==window.Promise,supportsPdfMimeType=void\x200!==nav.mimeTypes[\x22application/pdf\x22],isMobileDevice=void\x200!==nav.platform&&\x22MacIntel\x22===nav.platform&&void\x200!==nav.maxTouchPoints&&nav.maxTouchPoints>1||/Mobi|Tablet|Android|iPad|iPhone/.test(ua),isSafariDesktop=!isMobileDevice&&void\x200!==nav.vendor&&/Apple/.test(nav.vendor)&&/Safari/.test(ua),isFirefoxWithPDFJS=!(isMobileDevice||!/irefox/.test(ua))&&parseInt(ua.split(\x22rv:\x22)[1].split(\x22.\x22)[0],10)>18,createAXO=function(type){var\x20ax;try{ax=new\x20ActiveXObject(type)}catch(e){ax=null}return\x20ax},supportsPDFs=!isMobileDevice&&(isFirefoxWithPDFJS||supportsPdfMimeType||isIE&&!(!createAXO(\x22AcroPDF.PDF\x22)&&!createAXO(\x22PDF.PdfCtrl\x22))),embedError=function(msg,suppressConsole){return\x20suppressConsole||console.log(\x22[PDFObject]\x20\x22+msg),!1},emptyNodeContents=function(node){for(;node.firstChild;)node.removeChild(node.firstChild)},generatePDFJSMarkup=function(targetNode,url,pdfOpenFragment,PDFJS_URL,id,omitInlineStyles){emptyNodeContents(targetNode);let\x20fullURL=PDFJS_URL+\x22?file=\x22+encodeURIComponent(url)+pdfOpenFragment,div=document.createElement(\x22div\x22),iframe=document.createElement(\x22iframe\x22);return\x20iframe.src=fullURL,iframe.className=\x22pdfobject\x22,iframe.type=\x22application/pdf\x22,iframe.frameborder=\x220\x22,id&&(iframe.id=id),omitInlineStyles||(div.style.cssText=\x22position:\x20absolute;\x20top:\x200;\x20right:\x200;\x20bottom:\x200;\x20left:\x200;\x22,iframe.style.cssText=\x22border:\x20none;\x20width:\x20100%;\x20height:\x20100%;\x22,/*targetNode.style.position=\x22relative\x22,*/targetNode.style.overflow=\x22auto\x22),div.appendChild(iframe),targetNode.appendChild(div),targetNode.classList.add(\x22pdfobject-container\x22),targetNode.getElementsByTagName(\x22iframe\x22)[0]},embed=function(url,targetSelector,options){let\x20selector=targetSelector||!1,opt=options||{},id=\x22string\x22==typeof\x20opt.id?opt.id:\x22\x22,page=opt.page||!1,pdfOpenParams=opt.pdfOpenParams||{},fallbackLink=opt.fallbackLink||!0,width=opt.width||\x22100%\x22,height=opt.height||\x22100%\x22,assumptionMode=\x22boolean\x22!=typeof\x20opt.assumptionMode||opt.assumptionMode,forcePDFJS=\x22boolean\x22==typeof\x20opt.forcePDFJS&&opt.forcePDFJS,supportRedirect=\x22boolean\x22==typeof\x20opt.supportRedirect&&opt.supportRedirect,omitInlineStyles=\x22boolean\x22==typeof\x20opt.omitInlineStyles&&opt.omitInlineStyles,suppressConsole=\x22boolean\x22==typeof\x20opt.suppressConsole&&opt.suppressConsole,forceIframe=\x22boolean\x22==typeof\x20opt.forceIframe&&opt.forceIframe,PDFJS_URL=opt.PDFJS_URL||!1,targetNode=function(targetSelector){let\x20targetNode=document.body;return\x22string\x22==typeof\x20targetSelector?targetNode=document.querySelector(targetSelector):void\x200!==window.jQuery&&targetSelector\x20instanceof\x20jQuery&&targetSelector.length?targetNode=targetSelector.get(0):void\x200!==targetSelector.nodeType&&1===targetSelector.nodeType&&(targetNode=targetSelector),targetNode}(selector),fallbackHTML=\x22\x22,pdfOpenFragment=\x22\x22;if(\x22string\x22!=typeof\x20url)return\x20embedError(\x22URL\x20is\x20not\x20valid\x22,suppressConsole);if(!targetNode)return\x20embedError(\x22Target\x20element\x20cannot\x20be\x20determined\x22,suppressConsole);if(page&&(pdfOpenParams.page=page),pdfOpenFragment=function(pdfParams){let\x20prop,string=\x22\x22;if(pdfParams){for(prop\x20in\x20pdfParams)pdfParams.hasOwnProperty(prop)&&(string+=encodeURIComponent(prop)+\x22=\x22+encodeURIComponent(pdfParams[prop])+\x22&\x22);string&&(string=(string=\x22#\x22+string).slice(0,string.length-1))}return\x20string}(pdfOpenParams),forcePDFJS&&PDFJS_URL)return\x20generatePDFJSMarkup(targetNode,url,pdfOpenFragment,PDFJS_URL,id,omitInlineStyles);if(supportsPDFs||assumptionMode&&isModernBrowser&&!isMobileDevice){return\x20function(embedType,targetNode,targetSelector,url,pdfOpenFragment,width,height,id,omitInlineStyles){emptyNodeContents(targetNode);let\x20embed=document.createElement(embedType);if(embed.src=url+pdfOpenFragment,embed.className=\x22pdfobject\x22,embed.type=\x22application/pdf\x22,id&&(embed.id=id),!omitInlineStyles){let\x20style=\x22embed\x22===embedType?\x22overflow:\x20auto;\x22:\x22border:\x20none;\x22;targetSelector&&targetSelector!==document.body?style+=\x22width:\x20\x22+width+\x22;\x20height:\x20\x22+height+\x22;\x22:style+=\x22position:\x20absolute;\x20top:\x200;\x20right:\x200;\x20bottom:\x200;\x20left:\x200;\x20width:\x20100%;\x20height:\x20100%;\x22,embed.style.cssText=style}return\x20targetNode.classList.add(\x22pdfobject-container\x22),targetNode.appendChild(embed),targetNode.getElementsByTagName(embedType)[0]}(forceIframe||supportRedirect&&isSafariDesktop?\x22iframe\x22:\x22embed\x22,targetNode,targetSelector,url,pdfOpenFragment,width,height,id,omitInlineStyles)}return\x20PDFJS_URL?generatePDFJSMarkup(targetNode,url,pdfOpenFragment,PDFJS_URL,id,omitInlineStyles):(fallbackLink&&(fallbackHTML=\x22string\x22==typeof\x20fallbackLink?fallbackLink:\x22

This\x20browser\x20does\x20not\x20support\x20inline\x20PDFs.\x20Please\x20download\x20the\x20PDF\x20to\x20view\x20it:\x20Download\x20PDF

\x22,targetNode.innerHTML=fallbackHTML.replace(/\x5c[url\x5c]/g,url)),embedError(\x22This\x20browser\x20does\x20not\x20support\x20embedded\x20PDFs\x22,suppressConsole))};return{embed:function(a,b,c){return\x20embed(a,b,c)},pdfobjectversion:\x222.2.3\x22,supportsPDFs:supportsPDFs}});'+'if\x20(typeof\x20module\x20===\x20\x22object\x22\x20&&\x20module.exports)\x20{'+'this.PDFObject\x20=\x20module.exports;'+'}'+'PDFObject.embed(\x22'+vL+'\x22,\x20\x22#content\x22,\x20{'+(vQ?'\x22PDFJS_URL\x22:\x20\x22'+new URL('lib/pdfjs/web/viewer.html',document['baseURI'])['href']+'\x22,\x20':'')+'\x22fallbackLink\x22:\x20\x22'+vR+'\x22,'+'\x22forcePDFJS\x22:\x20'+vS+'});'+'if(!PDFObject.supportsPDFs\x20&&\x20!'+vQ+'){'+'\x20var\x20iframeTimerId;'+'\x20function\x20startTimer(){'+'\x20\x20\x20\x20iframeTimerId\x20=\x20window.setTimeout(checkIframeLoaded,\x202000);'+'\x20}'+'\x20function\x20checkIframeLoaded(){\x20\x20'+'\x20\x20\x20\x20var\x20iframe\x20=\x20document.getElementById(\x22googleViewer\x22);'+'\x20\x20\x20\x20iframe.src\x20=\x20iframe.src;'+'\x20\x20\x20\x20iframeTimerId\x20=\x20window.setTimeout(checkIframeLoaded,\x202000);'+'\x20}'+'\x20document.getElementById(\x22googleViewer\x22).addEventListener(\x22load\x22,\x20function(){'+'\x20\x20\x20clearInterval(iframeTimerId);\x20'+'\x20});'+'\x20startTimer();'+'}'+'';if(vN=='WebFrame'){vK['set']('url','data:text/html;charset=utf-8,'+encodeURIComponent(''+''+''+''+vT+''+''));}else if(vN=='HTML'){vK['set']('content','data:text/html;charset=utf-8,'+encodeURIComponent(vT));}}};TDV['Tour']['Script']['getKey']=function(vU){return window[vU];};TDV['Tour']['Script']['registerKey']=function(vV,vW){window[vV]=vW;};TDV['Tour']['Script']['unregisterKey']=function(vX){delete window[vX];};TDV['Tour']['Script']['existsKey']=function(vY){return vY in window;}; //# sourceMappingURL=script_v2022.1.23.js.map //Generated with v2022.1.23, Mon Sep 5 2022