HEX
Server: Apache
System: Linux webm004.cluster123.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: dronicaehy (124008)
PHP: 8.5.0
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/dronicaehy/www/MuseoDeLaSangreTourVirtual/script.js
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;p<o['length'];++p){o[p]['call'](window,n);if(n['defaultPrevented'])break;}}};TDV['Tour']=function(q,r){TDV['EventDispatcher']['call'](this);this['player']=undefined;this['_settings']=q;this['_devicesUrl']=r;this['_playersPlayingTmp']=[];this['_isInitialized']=![];this['_isPaused']=![];this['_isRemoteSession']=![];this['_orientation']=undefined;this['_lockedOrientation']=undefined;this['_device']=undefined;this['_setupRemote']();};TDV['Tour']['DEVICE_GENERAL']='general';TDV['Tour']['DEVICE_MOBILE']='mobile';TDV['Tour']['DEVICE_IPAD']='ipad';TDV['Tour']['DEVICE_VR']='vr';TDV['Tour']['EVENT_TOUR_INITIALIZED']='tourInitialized';TDV['Tour']['EVENT_TOUR_LOADED']='tourLoaded';TDV['Tour']['EVENT_TOUR_ENDED']='tourEnded';TDV['Tour']['prototype']=new TDV['EventDispatcher']();TDV['Tour']['prototype']['dispose']=function(){if(!this['player'])return;if(this['_onHashChange']){window['removeEventListener']('hashchange',this['_onHashChange']);this['_onHashChange']=undefined;}if(this['_onKeyUp']){document['removeEventListener']('keyup',this['_onKeyUp']);this['_onKeyUp']=undefined;}if(this['_onBeforeUnload']){window['removeEventListener']('beforeunload',this['_onBeforeUnload']);this['_onBeforeUnload']=undefined;}var s=this['_getRootPlayer']();if(s!==undefined){s['stopTextToSpeech']();}this['player']['delete']();this['player']=undefined;this['_isInitialized']=![];window['currentGlobalAudios']=undefined;window['pauseGlobalAudiosState']=undefined;window['currentPanoramasWithCameraChanged']=undefined;window['overlaysDispatched']=undefined;};TDV['Tour']['prototype']['load']=function(){if(this['player'])return;var t=function(v){if(v['name']=='begin'){var w=v['data']['source']['get']('camera');if(w&&w['get']('initialSequence')&&w['get']('initialSequence')['get']('movements')['length']>0x0)return;}if(v['sourceClassName']=='MediaAudio'||this['_isInitialized'])return;this['_isInitialized']=!![];u['unbind']('preloadMediaShow',t,this,!![]);u['unbindOnObjectsOf']('PanoramaPlayListItem','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']('PanoramaPlayListItem','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 J=y['get']('data');if(!('updateText'in J)){J['updateText']=function(N){var O=N[0x0]['split']('.');if(O['length']==0x2){var P=C['trans']['apply'](C,N);var Q=N[0x1]||y;if(typeof Q=='string'){var R=Q['split']('.');Q=y[R['shift']()];for(var S=0x0;S<R['length']-0x1;++S){if(Q!=undefined)Q='get'in Q?Q['get'](R[S]):Q[R[S]];}if(Q!=undefined){var T=R[R['length']-0x1];if(Array['isArray'](Q)){for(var U=0x0;U<Q['length'];++U){this['setValue'](Q[U],T,P);}}else this['setValue'](Q,T,P);}}else{Q=Q[O[0x0]];this['setValue'](Q,O[0x1],P);}}}['bind'](y);}var K=J['translateObjs'];var L=J['updateText'];var M=function(){for(var V in K){L(K[V]);}};M();M();};this['locManager']['bind'](TDV['Tour']['LocaleManager']['EVENT_LOCALE_CHANGED'],D['bind'](this));var E=this['_getParams'](location['search']['substr'](0x1));var F=E['language'];if(!F||!this['locManager']['hasLocale'](E['language'])){if(y['get']('data')['forceDefaultLocale'])F=B;else F=z;}this['setLocale'](F);this['_setMediaFromURL'](this['_getParams'](location['hash']['substr'](0x1)),![])||this['_setMediaFromURL'](E,!![]);if(this['isMobile']()&&typeof this['_devicesUrl'][this['_device']]=='object'){var G=function(){if(!y['isCardboardViewMode']()&&this['_getOrientation']()!=this['_orientation']){this['reload']();return!![];}return![];};if(G['call'](this))return;var H=y['getByClassName']('PanoramaPlayer');for(var I=0x0;I<H['length'];++I){H[I]['bind']('viewModeChange',G,this);}y['bind']('orientationChange',G,this);}this['_onHashChange']=function(){this['_setMediaFromURL'](this['_getParams'](location['hash']['substr'](0x1)),![]);}['bind'](this);this['_onKeyUp']=function(W){if(W['ctrlKey']&&W['shiftKey']&&W['key']['toLowerCase']()=='u'){this['updateDeepLink']();y['copyToClipboard'](location['href']);}}['bind'](this);this['_onBeforeUnload']=function(X){y['stopTextToSpeech']();};window['addEventListener']('hashchange',this['_onHashChange']);window['addEventListener']('beforeunload',this['_onBeforeUnload']);document['addEventListener']('keyup',this['_onKeyUp']);y['bind']('tourEnded',function(){this['dispatchEvent'](this['createNewEvent'](TDV['Tour']['EVENT_TOUR_ENDED']));},this,!![]);this['dispatchEvent'](this['createNewEvent'](TDV['Tour']['EVENT_TOUR_INITIALIZED']));},this,!![]);window['addEventListener']('message',function(Y){var Z=Y['data'];if(Z=='pauseTour')Z='pause';else if(Z=='resumeTour')Z='resume';else return;this[Z]['apply'](this);}['bind'](this));};TDV['Tour']['prototype']['pause']=function(){this['_isPaused']=!![];if(!this['_isInitialized'])return;var a0=this['player']['getByClassName']('PlayList');for(var a1=0x0,a2=a0['length'];a1<a2;a1++){var a3=a0[a1];var a4=a3['get']('selectedIndex');if(a4!=-0x1){var a5=a3['get']('items')[a4];var a6=a5['get']('player');if(a6&&a6['pause']){this['_playersPlayingTmp']['push'](a6);a6['pause']();}}}this['_getRootPlayer']()['pauseGlobalAudios']();};TDV['Tour']['prototype']['resume']=function(){this['_isPaused']=![];if(!this['_isInitialized'])return;while(this['_playersPlayingTmp']['length']){var a7=this['_playersPlayingTmp']['pop']();a7['play']();}this['_getRootPlayer']()['resumeGlobalAudios']();};TDV['Tour']['prototype']['reload']=function(){this['_orientation']=this['_getOrientation']();this['updateDeepLink']();this['dispose']();this['load']();};TDV['Tour']['prototype']['setMediaByIndex']=function(a8){var a9=this['_getRootPlayer']();if(a9!==undefined){return a9['setMainMediaByIndex'](a8);}};TDV['Tour']['prototype']['setMediaByName']=function(aa){var ab=this['_getRootPlayer']();if(ab!==undefined){return ab['setMainMediaByName'](aa);}};TDV['Tour']['prototype']['triggerOverlayByName']=function(ac,ad,ae){var af=this['_getRootPlayer']();if(af!==undefined&&ae){var ag=af['getPanoramaOverlayByName'](ac['get']('media'),ad);if(ag){af['triggerOverlay'](ag,ae);}}};TDV['Tour']['prototype']['focusOverlayByName']=function(ah,ai){var aj=this['_getRootPlayer']();if(aj!==undefined){var ak=aj['getPanoramaOverlayByName'](ah['get']('media'),ai);if(ak){var al=ak['get']('class');var am=al=='VideoPanoramaOverlay'?ak:ak['get']('items')[0x0];var an=am['get']('yaw');var ao=am['get']('pitch');var ap=aj['getPlayListWithItem'](ah);if(ap){var aq=function(){aj['setPanoramaCameraWithSpot'](ap,ah,an,ao);};if(!this['_isInitialized']){var ar=function(){ah['unbind']('begin',ar,this);aq();};ah['bind']('begin',ar,this);}else{aq();}}}}};TDV['Tour']['prototype']['updateDeepLink']=function(){var as=this['_getRootPlayer']();if(as!==undefined){as['updateDeepLink']();}};TDV['Tour']['prototype']['setLocale']=function(at){var au=this['_getRootPlayer']();if(au!==undefined&&this['locManager']!==undefined){this['locManager']['setLocale'](at);}};TDV['Tour']['prototype']['isMobile']=function(){return TDV['PlayerAPI']['mobile'];};TDV['Tour']['prototype']['isIPad']=function(){return TDV['PlayerAPI']['device']==TDV['PlayerAPI']['DEVICE_IPAD'];};TDV['Tour']['prototype']['getNotchValue']=function(){var av=document['documentElement'];av['style']['setProperty']('--notch-top','env(safe-area-inset-top)');av['style']['setProperty']('--notch-right','env(safe-area-inset-right)');av['style']['setProperty']('--notch-bottom','env(safe-area-inset-bottom)');av['style']['setProperty']('--notch-left','env(safe-area-inset-left)');var aw=window['getComputedStyle'](av);return parseInt(aw['getPropertyValue']('--notch-top')||'0',0xa)||parseInt(aw['getPropertyValue']('--notch-right')||'0',0xa)||parseInt(aw['getPropertyValue']('--notch-bottom')||'0',0xa)||parseInt(aw['getPropertyValue']('--notch-left')||'0',0xa);};TDV['Tour']['prototype']['hasNotch']=function(){return this['getNotchValue']()>0x0;};TDV['Tour']['prototype']['_getOrientation']=function(){var ax=this['_getRootPlayer']();if(ax){return ax['get']('orientation');}else if(this['_lockedOrientation']){return this['_lockedOrientation'];}else{return TDV['PlayerAPI']['getOrientation']();}};TDV['Tour']['prototype']['_getParams']=function(ay){var az={};ay['split']('&')['forEach'](function(aA){var aB=aA['split']('=')[0x0],aC=decodeURIComponent(aA['split']('=')[0x1]);az[aB['toLowerCase']()]=aC;});return az;};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 aD=document['getElementById']('metaViewport');if(aD){var aE=this['_devicesUrl'][this['_device']];var aF=0x1;if(typeof aE=='object'&&this['_orientation']in aE&&this['_orientation']==TDV['PlayerAPI']['ORIENTATION_LANDSCAPE']||this['_device']==TDV['Tour']['DEVICE_GENERAL']){aF=aD['getAttribute']('data-tdv-general-scale')||0.5;}var aG=aD['getAttribute']('content');aG=aG['replace'](/initial-scale=(\d+(\.\d+)?)/,function(aH,aI){return'initial-scale='+aF;});aD['setAttribute']('content',aG);}}};TDV['Tour']['prototype']['_getScriptUrl']=function(){var aJ=this['_devicesUrl'][this['_device']];if(typeof aJ=='object'){if(this['_orientation']in aJ){aJ=aJ[this['_orientation']];}}return aJ;};TDV['Tour']['prototype']['_getDevice']=function(){var aK=TDV['Tour']['DEVICE_GENERAL'];if(!this['_isRemoteSession']&&this['isMobile']()){if(this['isIPad']()&&TDV['Tour']['DEVICE_IPAD']in this['_devicesUrl'])aK=TDV['Tour']['DEVICE_IPAD'];else if(TDV['Tour']['DEVICE_MOBILE']in this['_devicesUrl'])aK=TDV['Tour']['DEVICE_MOBILE'];}return aK;};TDV['Tour']['prototype']['_setMediaFromURL']=function(aL,aM){var aN=this['_getRootPlayer']();var aO=aN['getActivePlayerWithViewer'](aN['getMainViewer']());var aP=aO?aN['getMediaFromPlayer'](aO):undefined;var aQ=undefined;if('media'in aL){var aR=aL['media'];var aS=Number(aR);aQ=isNaN(aS)?this['setMediaByName'](aR):this['setMediaByIndex'](aS-0x1);}else if('media-index'in aL){aQ=this['setMediaByIndex'](parseInt(aL['media-index'])-0x1);}else if('media-name'in aL){aQ=this['setMediaByName'](aL['media-name']);}if(aQ==undefined&&aM){aQ=this['setMediaByIndex'](0x0);}if(aQ!=undefined){var aT=aQ['get']('player');var aU=function(){if('trigger-overlay-name'in aL){this['triggerOverlayByName'](aQ,aL['trigger-overlay-name'],'trigger-overlay-event'in aL?aL['trigger-overlay-event']:'click');}if('focus-overlay-name'in aL){this['focusOverlayByName'](aQ,aL['focus-overlay-name']);}else if('yaw'in aL||'pitch'in aL){var aY=parseFloat(aL['yaw'])||undefined;var aZ=parseFloat(aL['pitch'])||undefined;var b0=aN['getPlayListWithItem'](aQ);if(b0)aN['setPanoramaCameraWithSpot'](b0,aQ,aY,aZ);}}['bind'](this);if(aT){var aV=aT['get']('viewerArea')==aN['getMainViewer']();var aW=aN['getMediaFromPlayer'](aT);if(aV&&aP==aQ['get']('media')||!aV&&aW==aQ['get']('media')){aU();return aQ!=undefined;}}var aX=function(){aQ['unbind']('begin',aX,this);aU();};aQ['bind']('begin',aX,aN);}return aQ!=undefined;};TDV['Tour']['prototype']['_setupRemote']=function(){if(this['isMobile']()&&TDV['Remote']!=undefined){var b1=function(){var b2=undefined;var b3=function(){var b6=this['_getRootPlayer']();b2=b6['get']('lockedOrientation');b6['set']('lockedOrientation',this['_lockedOrientation']);}['bind'](this);this['_isRemoteSession']=!![];this['_lockedOrientation']=TDV['PlayerAPI']['ORIENTATION_LANDSCAPE'];if(this['_device']!=TDV['Tour']['DEVICE_GENERAL']){var b4=function(){b3();this['unbind'](TDV['Tour']['EVENT_TOUR_INITIALIZED'],b4);}['bind'](this);this['bind'](TDV['Tour']['EVENT_TOUR_INITIALIZED'],b4);this['reload']();}else{b3();}var b5=function(){this['_isRemoteSession']=![];this['_getRootPlayer']()['set']('lockedOrientation',b2);TDV['Remote']['unbind'](TDV['Remote']['EVENT_CALL_END'],b5);var b7=this['_getScriptUrl']();if(this['_currentScriptUrl']!=b7)this['reload']();}['bind'](this);TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_END'],b5);}['bind'](this);TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_BEGIN'],b1);}};TDV['Tour']['LocaleManager']=function(b8,b9,ba,bb){TDV['EventDispatcher']['call'](this);this['rootPlayer']=b8;this['locales']={};this['defaultLocale']=ba;this['queryParam']=bb;this['currentLocaleMap']={};this['currentLocaleID']=undefined;for(var bc in b9){this['registerLocale'](bc,b9[bc]);}};TDV['Tour']['LocaleManager']['EVENT_LOCALE_CHANGED']='localeChanged';TDV['Tour']['LocaleManager']['prototype']=new TDV['EventDispatcher']();TDV['Tour']['LocaleManager']['prototype']['registerLocale']=function(bd,be){var bf=[bd,bd['split']('-')[0x0]];for(var bg=0x0;bg<bf['length'];++bg){bd=bf[bg];if(!(bd in this['locales'])){this['locales'][bd]=be;}}};TDV['Tour']['LocaleManager']['prototype']['unregisterLocale']=function(bh){delete this['locales'][bh];if(bh==this['currentLocaleID']){this['setLocale'](this['defaultLocale']);}};TDV['Tour']['LocaleManager']['prototype']['hasLocale']=function(bi){return bi in this['locales'];};TDV['Tour']['LocaleManager']['prototype']['setLocale']=function(bj){var bk=undefined;var bl=bj['split']('-')[0x0];var bm=[bj,bl];for(var bn=0x0;bn<bm['length'];++bn){var bp=bm[bn];if(bp in this['locales']){bk=bp;break;}}if(bk===undefined){for(var bp in this['locales']){if(bp['indexOf'](bl)==0x0){bk=bp;break;}}}if(bk===undefined){bk=this['defaultLocale'];}var bq=this['locales'][bk];if(bq!==undefined&&this['currentLocaleID']!=bk){this['currentLocaleID']=bk;var br=this;if(typeof bq=='string'){var bs=new XMLHttpRequest();bs['onreadystatechange']=function(){if(bs['readyState']==0x4){if(bs['status']==0xc8){br['locales'][bk]=br['currentLocaleMap']=br['_parsePropertiesContent'](bs['responseText']);br['dispatchEvent'](br['createNewEvent'](TDV['Tour']['LocaleManager']['EVENT_LOCALE_CHANGED']));}else{throw bq+'\x20can\x27t\x20be\x20loaded';}}};var bt=bq;if(this['queryParam'])bt+=(bt['indexOf']('?')==-0x1?'?':'&')+this['queryParam'];bs['open']('GET',bt);bs['send']();}else{this['currentLocaleMap']=bq;this['dispatchEvent'](this['createNewEvent'](TDV['Tour']['LocaleManager']['EVENT_LOCALE_CHANGED']));}}};TDV['Tour']['LocaleManager']['prototype']['trans']=function(bu){var bv=this['currentLocaleMap'][bu];if(arguments['length']>0x2){var bw=typeof arguments[0x2]=='object'?arguments[0x2]:undefined;var bx=arguments;function by(bz){return/^\d+$/['test'](bz);}bv=bv['replace'](/\{\{([\w\.]+)\}\}/g,function(bA,bB){if(by(bB))bB=bx[parseInt(bB)+0x1];else if(bw!==undefined)bB=bw[bB];if(typeof bB=='string')bB=this['currentLocaleMap'][bB]||bB;else if(typeof bB=='function')bB=bB['call'](this['rootPlayer']);return bB!==undefined?bB:'';}['bind'](this));}return bv;};TDV['Tour']['LocaleManager']['prototype']['_parsePropertiesContent']=function(bC){bC=bC['replace'](/(^|\n)#[^\n]*/g,'');var bD={};var bE=bC['split']('\x0a');for(var bF=0x0,bG=bE['length'];bF<bG;++bF){var bH=bE[bF]['trim']();if(bH['length']==0x0){continue;}var bI=bH['indexOf']('=');if(bI==-0x1){console['error']('Locale\x20parser:\x20Invalid\x20line\x20'+bF);continue;}var bJ=bH['substr'](0x0,bI)['trim']();var bK=bH['substr'](bI+0x1)['trim']();var bL;while((bL=bK['lastIndexOf']('\x5c'))!=-0x1&&bL==bK['length']-0x1&&++bF<bG){bK=bK['substr'](0x0,bK['length']-0x2);bH=bE[bF];if(bH['length']==0x0)break;bK+='\x0a'+bH;bK=bK['trim']();}bD[bJ]=bK;}return bD;};TDV['Tour']['HistoryData']=function(bM){this['playList']=bM;this['list']=[];this['pointer']=-0x1;};TDV['Tour']['HistoryData']['prototype']['add']=function(bN){if(this['pointer']<this['list']['length']&&this['list'][this['pointer']]==bN){return;}++this['pointer'];this['list']['splice'](this['pointer'],this['list']['length']-this['pointer'],bN);};TDV['Tour']['HistoryData']['prototype']['back']=function(){if(!this['canBack']())return;this['playList']['set']('selectedIndex',this['list'][--this['pointer']]);};TDV['Tour']['HistoryData']['prototype']['forward']=function(){if(!this['canForward']())return;this['playList']['set']('selectedIndex',this['list'][++this['pointer']]);};TDV['Tour']['HistoryData']['prototype']['canBack']=function(){return this['pointer']>0x0;};TDV['Tour']['HistoryData']['prototype']['canForward']=function(){return this['pointer']>=0x0&&this['pointer']<this['list']['length']-0x1;};TDV['Tour']['Script']=function(){};TDV['Tour']['Script']['assignObjRecursively']=function(bO,bP){for(var bQ in bO){var bR=bO[bQ];if(typeof bR=='object'&&bR!==null)this['assignObjRecursively'](bO[bQ],bP[bQ]||(bP[bQ]={}));else bP[bQ]=bR;}return bP;};TDV['Tour']['Script']['autotriggerAtStart']=function(bS,bT,bU){var bV=function(bW){bT();if(bU==!![])bS['unbind']('change',bV,this);};bS['bind']('change',bV,this);};TDV['Tour']['Script']['changeBackgroundWhilePlay']=function(bX,bY,bZ){var c0=function(c7){c1['unbind']('stop',c0,this);if(bZ==c3['get']('backgroundColor')&&c6==c3['get']('backgroundColorRatios')){c3['set']('backgroundColor',c4);c3['set']('backgroundColorRatios',c5);}};var c1=bX['get']('items')[bY];var c2=c1['get']('player');var c3=c2['get']('viewerArea');var c4=c3['get']('backgroundColor');var c5=c3['get']('backgroundColorRatios');var c6=[0x0];if(bZ!=c4||c6!=c5){c3['set']('backgroundColor',bZ);c3['set']('backgroundColorRatios',c6);c1['bind']('stop',c0,this);}};TDV['Tour']['Script']['changePlayListWithSameSpot']=function(c8,c9){var ca=c8['get']('selectedIndex');if(ca>=0x0&&c9>=0x0&&ca!=c9){var cb=c8['get']('items')[ca];var cc=c8['get']('items')[c9];var cd=cb['get']('player');var ce=cc['get']('player');if((cd['get']('class')=='PanoramaPlayer'||cd['get']('class')=='Video360Player')&&(ce['get']('class')=='PanoramaPlayer'||ce['get']('class')=='Video360Player')){var cf=this['cloneCamera'](cc['get']('camera'));this['setCameraSameSpotAsMedia'](cf,cb['get']('media'));this['startPanoramaWithCamera'](cc['get']('media'),cf);}}};TDV['Tour']['Script']['clone']=function(cg,ch){var ci=this['rootPlayer']['createInstance'](cg['get']('class'));var cj=cg['get']('id');if(cj){var ck=cj+'_'+Math['random']()['toString'](0x24)['substring'](0x2,0xf);ci['set']('id',ck);this[ck]=ci;}for(var cl=0x0;cl<ch['length'];++cl){var cm=ch[cl];var cn=cg['get'](cm);if(cn)ci['set'](cm,cn);}return ci;};TDV['Tour']['Script']['cloneCamera']=function(co){var cp=this['clone'](co,['manualRotationSpeed','manualZoomSpeed','automaticRotationSpeed','automaticZoomSpeed','timeToIdle','sequences','draggingFactor']);var cq=['initialSequence','idleSequence'];for(var cr=0x0;cr<cq['length'];++cr){var cs=cq[cr];var ct=co['get'](cs);if(ct){var cu=this['clone'](ct,['mandatory','repeat','restartMovementOnUserInteraction','restartMovementDelay']);cp['set'](cs,cu);var cv=ct['get']('movements');var cw=[];var cx=['easing','duration','hfovSpeed','pitchSpeed','yawSpeed','path','stereographicFactorSpeed','targetYaw','targetPitch','targetHfov','targetStereographicFactor','hfovDelta','pitchDelta','yawDelta'];for(var cy=0x0;cy<cv['length'];++cy){var cz=cv[cy];var cA=this['clone'](cz,cx);var cB=cz['getBindings']('end');if(cB['length']>0x0){for(var cC=0x0;cC<cB['length'];++cC){var cD=cB[cC];if(typeof cD=='string'){cD=cD['replace'](co['get']('id'),cp['get']('id'));cD=new Function('event',cD);cA['bind']('end',cD,this);}}}cw['push'](cA);}cu['set']('movements',cw);}}return cp;};TDV['Tour']['Script']['copyObjRecursively']=function(cE){var cF={};for(var cG in cE){var cH=cE[cG];if(typeof cH=='object'&&cH!==null)cF[cG]=this['copyObjRecursively'](cE[cG]);else cF[cG]=cH;}return cF;};TDV['Tour']['Script']['copyToClipboard']=function(cI){if(navigator['clipboard']){navigator['clipboard']['writeText'](cI);}else{var cJ=document['createElement']('textarea');cJ['value']=cI;cJ['style']['position']='fixed';document['body']['appendChild'](cJ);cJ['focus']();cJ['select']();try{document['execCommand']('copy');}catch(cK){}document['body']['removeChild'](cJ);}};TDV['Tour']['Script']['executeFunctionWhenChange']=function(cL,cM,cN,cO){var cP=undefined;var cQ=function(cT){if(cT['data']['previousSelectedIndex']==cM){if(cO)cO['call'](this);if(cN&&cP)cP['unbind']('end',cN,this);cL['unbind']('change',cQ,this);}};if(cN){var cR=cL['get']('items')[cM];if(cR['get']('class')=='PanoramaPlayListItem'){var cS=cR['get']('camera');if(cS!=undefined)cP=cS['get']('initialSequence');if(cP==undefined)cP=cS['get']('idleSequence');}else{cP=cR['get']('media');}if(cP){cP['bind']('end',cN,this);}}cL['bind']('change',cQ,this);};TDV['Tour']['Script']['fixTogglePlayPauseButton']=function(cU){var cV=cU['get']('buttonPlayPause');if(typeof cV!=='undefined'&&cU['get']('state')=='playing'){if(!Array['isArray'](cV))cV=[cV];for(var cW=0x0;cW<cV['length'];++cW)cV[cW]['set']('pressed',!![]);}};TDV['Tour']['Script']['getActiveMediaWithViewer']=function(cX){var cY=this['getActivePlayerWithViewer'](cX);if(cY==undefined){return undefined;}return this['getMediaFromPlayer'](cY);};TDV['Tour']['Script']['getActivePlayerWithViewer']=function(cZ){var d0=this['getCurrentPlayers']();var d1=d0['length'];while(d1-->0x0){var d2=d0[d1];if(d2['get']('viewerArea')==cZ){var d3=d2['get']('class');if(d3=='PanoramaPlayer'&&(d2['get']('panorama')!=undefined||d2['get']('video')!=undefined))return d2;else if((d3=='VideoPlayer'||d3=='Video360Player')&&d2['get']('video')!=undefined)return d2;else if(d3=='PhotoAlbumPlayer'&&d2['get']('photoAlbum')!=undefined)return d2;else if(d3=='MapPlayer'&&d2['get']('map')!=undefined)return d2;}}return undefined;};TDV['Tour']['Script']['getCurrentPlayerWithMedia']=function(d4){var d5=undefined;var d6=undefined;switch(d4['get']('class')){case'Panorama':case'LivePanorama':case'HDRPanorama':d5='PanoramaPlayer';d6='panorama';break;case'Video360':d5='PanoramaPlayer';d6='video';break;case'PhotoAlbum':d5='PhotoAlbumPlayer';d6='photoAlbum';break;case'Map':d5='MapPlayer';d6='map';break;case'Video':d5='VideoPlayer';d6='video';break;};if(d5!=undefined){var d7=this['getByClassName'](d5);for(var d8=0x0;d8<d7['length'];++d8){var d9=d7[d8];if(d9['get'](d6)==d4){return d9;}}}else{return undefined;}};TDV['Tour']['Script']['getCurrentPlayers']=function(){var da=this['getByClassName']('PanoramaPlayer');da=da['concat'](this['getByClassName']('VideoPlayer'));da=da['concat'](this['getByClassName']('Video360Player'));da=da['concat'](this['getByClassName']('PhotoAlbumPlayer'));da=da['concat'](this['getByClassName']('MapPlayer'));return da;};TDV['Tour']['Script']['getGlobalAudio']=function(db){var dc=window['currentGlobalAudios'];if(dc!=undefined&&db['get']('id')in dc){db=dc[db['get']('id')]['audio'];}return db;};TDV['Tour']['Script']['getMediaByName']=function(dd){var de=this['getByClassName']('Media');for(var df=0x0,dg=de['length'];df<dg;++df){var dh=de[df];var di=dh['get']('data');if(di&&di['label']==dd){return dh;}}return undefined;};TDV['Tour']['Script']['getComponentByName']=function(dj){var dk=this['getByClassName']('UIComponent');for(var dl=0x0,dm=dk['length'];dl<dm;++dl){var dn=dk[dl];var dp=dn['get']('data');if(dp!=undefined&&dp['name']==dj){return dn;}}return undefined;};TDV['Tour']['Script']['getMainViewer']=function(){var dq='MainViewer';return this[dq]||this[dq+'_mobile'];};TDV['Tour']['Script']['getMediaFromPlayer']=function(dr){switch(dr['get']('class')){case'PanoramaPlayer':return dr['get']('panorama')||dr['get']('video');case'VideoPlayer':case'Video360Player':return dr['get']('video');case'PhotoAlbumPlayer':return dr['get']('photoAlbum');case'MapPlayer':return dr['get']('map');}};TDV['Tour']['Script']['getMediaWidth']=function(ds){switch(ds['get']('class')){case'Video360':var dt=ds['get']('video');if(dt instanceof Array){var du=0x0;for(var dv=0x0;dv<dt['length'];dv++){var dw=dt[dv];if(dw['get']('width')>du)du=dw['get']('width');}return du;}else{return dw['get']('width');}default:return ds['get']('width');}};TDV['Tour']['Script']['getMediaHeight']=function(dx){switch(dx['get']('class')){case'Video360':var dy=dx['get']('video');if(dy instanceof Array){var dz=0x0;for(var dA=0x0;dA<dy['length'];dA++){var dB=dy[dA];if(dB['get']('height')>dz)dz=dB['get']('height');}return dz;}else{return dB['get']('height');}default:return dx['get']('height');}};TDV['Tour']['Script']['getOverlays']=function(dC){switch(dC['get']('class')){case'LivePanorama':case'HDRPanorama':case'Panorama':var dD=dC['get']('overlays')['concat']()||[];var dE=dC['get']('frames');for(var dF=0x0;dF<dE['length'];++dF){dD=dD['concat'](dE[dF]['get']('overlays')||[]);}return dD;case'Video360':case'Map':return dC['get']('overlays')||[];default:return[];}};TDV['Tour']['Script']['getPanoramaOverlayByName']=function(dG,dH){var dI=this['getOverlays'](dG);for(var dJ=0x0,dK=dI['length'];dJ<dK;++dJ){var dL=dI[dJ];var dM=dL['get']('data');if(dM!=undefined&&dM['label']==dH){return dL;}}return undefined;};TDV['Tour']['Script']['getPixels']=function(dN){var dO=/((\+|-)?d+(.d*)?)(px|vw|vh|vmin|vmax)?/i['exec'](dN);if(dO==undefined){return 0x0;}var dP=parseFloat(dO[0x1]);var dQ=dO[0x4];var dR=this['rootPlayer']['get']('actualWidth')/0x64;var dS=this['rootPlayer']['get']('actualHeight')/0x64;switch(dQ){case'vw':return dP*dR;case'vh':return dP*dS;case'vmin':return dP*Math['min'](dR,dS);case'vmax':return dP*Math['max'](dR,dS);default:return dP;}};TDV['Tour']['Script']['getPlayListsWithMedia']=function(dT,dU){var dV=[];var dW=this['getByClassName']('PlayList');for(var dX=0x0,dY=dW['length'];dX<dY;++dX){var dZ=dW[dX];if(dU&&dZ['get']('selectedIndex')==-0x1)continue;var e0=this['getPlayListItemByMedia'](dZ,dT);if(e0!=undefined&&e0['get']('player')!=undefined)dV['push'](dZ);}return dV;};TDV['Tour']['Script']['_getPlayListsWithViewer']=function(e1){var e2=this['getByClassName']('PlayList');var e3=function(e5){var e6=e5['get']('items');for(var e7=e6['length']-0x1;e7>=0x0;--e7){var e8=e6[e7];var e9=e8['get']('player');if(e9!==undefined&&e9['get']('viewerArea')==e1)return!![];}return![];};for(var e4=e2['length']-0x1;e4>=0x0;--e4){if(!e3(e2[e4]))e2['splice'](e4,0x1);}return e2;};TDV['Tour']['Script']['getPlayListWithItem']=function(ea){var eb=this['getByClassName']('PlayList');for(var ec=eb['length']-0x1;ec>=0x0;--ec){var ed=eb[ec];var ee=ed['get']('items');for(var ef=ee['length']-0x1;ef>=0x0;--ef){var eg=ee[ef];if(eg==ea)return ed;}}return undefined;};TDV['Tour']['Script']['getFirstPlayListWithMedia']=function(eh,ei){var ej=this['getPlayListsWithMedia'](eh,ei);return ej['length']>0x0?ej[0x0]:undefined;};TDV['Tour']['Script']['getPlayListItemByMedia']=function(ek,el){var em=ek['get']('items');for(var en=0x0,eo=em['length'];en<eo;++en){var ep=em[en];if(ep['get']('media')==el)return ep;}return undefined;};TDV['Tour']['Script']['getPlayListItems']=function(eq,er){var es=function(){switch(eq['get']('class')){case'Panorama':case'LivePanorama':case'HDRPanorama':return'PanoramaPlayListItem';case'Video360':return'Video360PlayListItem';case'PhotoAlbum':return'PhotoAlbumPlayListItem';case'Map':return'MapPlayListItem';case'Video':return'VideoPlayListItem';}}();if(es!=undefined){var et=this['getByClassName'](es);for(var eu=et['length']-0x1;eu>=0x0;--eu){var ev=et[eu];if(ev['get']('media')!=eq||er!=undefined&&ev['get']('player')!=er){et['splice'](eu,0x1);}}return et;}else{return[];}};TDV['Tour']['Script']['historyGoBack']=function(ew){var ex=this['get']('data')['history'][ew['get']('id')];if(ex!=undefined){ex['back']();}};TDV['Tour']['Script']['historyGoForward']=function(ey){var ez=this['get']('data')['history'][ey['get']('id')];if(ez!=undefined){ez['forward']();}};TDV['Tour']['Script']['init']=function(){var eA=this['get']('data')['history'];var eB=function(eK){var eL=eK['source'];var eM=eL['get']('selectedIndex');if(eM<0x0)return;var eN=eL['get']('id');if(!eA['hasOwnProperty'](eN))eA[eN]=new TDV['Tour']['HistoryData'](eL);eA[eN]['add'](eM);};var eC=this['getByClassName']('PlayList');for(var eE=0x0,eF=eC['length'];eE<eF;++eE){var eG=eC[eE];eG['bind']('change',eB,this);}if(this['getMainViewer']()['get']('translationTransitionEnabled')){var eH=this['getByClassName']('ThumbnailList');eH=eH['concat'](this['getByClassName']('ThumbnailGrid'));eH=eH['concat'](this['getByClassName']('DropDown'));function eO(eP){var eQ=eP['source']['get']('playList');var eR=eQ['get']('selectedIndex');if(eR>=0x0){this['skip3DTransitionOnce'](eQ['get']('items')[eR]['get']('player'));}}for(var eE=0x0,eI=eH['length'];eE<eI;++eE){var eJ=eH[eE];eJ['bind']('change',eO,this);}}};TDV['Tour']['Script']['sendAnalyticsData']=function(eS,eT,eU){if(window['dataLayer']){window['dataLayer']['push']({'event':eT,'label':eU,'category':eS});}if(!this['get']('data')['tour']['player']['cookiesEnabled'])return;if(window['ga']){window['ga']('send','event',eS,eT,eU);}if(window['gtag']){window['gtag']('event',eT,{'category':eS,'label':eU});}};TDV['Tour']['Script']['initAnalytics']=function(){var eW=this['getByClassName']('Panorama');eW=eW['concat'](this['getByClassName']('Video360'));eW=eW['concat'](this['getByClassName']('Map'));for(var eZ=0x0,f2=eW['length'];eZ<f2;++eZ){var f3=eW[eZ];var f5=f3['get']('data');var f6=f5?f5['label']:undefined;var f7=this['getOverlays'](f3);for(var f8=0x0,f9=f7['length'];f8<f9;++f8){var fa=f7[f8];var fb=fa['get']('data')!=undefined?f6+'\x20-\x20'+fa['get']('data')['label']:f6;switch(fa['get']('class')){case'FlatHotspotPanoramaOverlay':case'HotspotPanoramaOverlay':case'HotspotMapOverlay':case'AreaHotspotMapOverlay':var fc=fa['get']('areas');for(var fd=0x0;fd<fc['length'];++fd){fc[fd]['bind']('click',this['sendAnalyticsData']['bind'](this,'Hotspot','click',fb),this,![]);}break;case'CeilingCapPanoramaOverlay':case'TripodCapPanoramaOverlay':fa['bind']('click',this['sendAnalyticsData']['bind'](this,'Cap','click',fb),this,![]);break;case'VideoPanoramaOverlay':fa['bind']('click',this['sendAnalyticsData']['bind'](this,'Hotspot','click',fb),this,![]);fa['bind']('start',this['sendAnalyticsData']['bind'](this,'Hotspot','start',fb),this,![]);break;}}}var fe=this['getByClassName']('UIComponent');for(var eZ=0x0,f2=fe['length'];eZ<f2;++eZ){var ff=fe[eZ];var fg=ff['getBindings']('click');if(fg['length']>0x0){var fh=ff['get']('data')['name'];ff['bind']('click',this['sendAnalyticsData']['bind'](this,'Skin','click',fh),this,![]);}}var fi=this['getByClassName']('PlayListItem');var fj={};for(var eZ=0x0,f2=fi['length'];eZ<f2;++eZ){var fk=fi[eZ];var eW=fk['get']('media');if(!(eW['get']('id')in fj)){var f5=eW['get']('data');fk['bind']('begin',this['sendAnalyticsData']['bind'](this,'Media','play',f5?f5['label']:undefined),this,![]);fj[eW['get']('id')]=fk;}}if(TDV['Remote']!=undefined){var fl=undefined;TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_BEGIN'],function(fm){fl=Date['now']();this['sendAnalyticsData']('Live\x20Guided\x20Tour','Start\x20Call','Guest:\x20'+fm);}['bind'](this));TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_END'],function(fn){var fo=new Date();fo['setTime'](Date['now']()-fl);this['sendAnalyticsData']('Live\x20Guided\x20Tour','End\x20Call','Guest:\x20'+fn+'\x20Duration:\x20'+fo['toUTCString']()['split']('\x20')[0x4]);}['bind'](this));}};TDV['Tour']['Script']['initQuiz']=function(fp,fq,fr){var fs={'question':{'veil':{'backgroundColor':'#000000','backgroundOpacity':0.2},'window':{'width':'60%','height':'60%','backgroundColor':'#ffffff','backgroundOpacity':0.9,'borderRadius':0x5,'horizontalAlign':'center','minWidth':0x1f4,'paddingBottom':0x14,'paddingLeft':0x14,'paddingRight':0x14,'paddingTop':0x14,'shadowBlurRadius':0x4,'shadow':!![],'shadowColor':'#000000','shadowOpacity':0.3,'shadowHorizontalLength':0x0,'shadowVerticalLength':0x0,'shadowSpread':0x4,'title':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x14,'fontWeight':'600','paddingLeft':0x32,'paddingRight':0x32,'paddingBottom':0x28,'paddingTop':0x19,'textAlign':'center'},'buttonsContainer':{'horizontalAlign':'right','verticalAlign':'bottom','button':{'backgroundColor':'#000000','backgroundOpacity':0.7,'borderRadius':0x3,'fontColor':'#ffffff','fontFamily':'Arial','fontSize':0x12,'fontWeight':'600','horizontalAlign':'center','paddingLeft':0x19,'paddingRight':0x19,'paddingTop':0xa,'paddingBottom':0xa,'verticalAlign':'middle'}},'bodyContainer':{'width':'100%','height':'100%','gap':0x23,'layout':'horizontal','paddingLeft':0x1e,'paddingRight':0x1e,'paddingBottom':0x1e},'mediaContainer':{'width':'70%','height':'100%','buttonNext':{'iconURL':'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAlCAMAAACAj7KHAAAAA3NCSVQICAjb4U/gAAAAS1BMVEX///8AAAAAAAAAAAAAAACVlZWLi4uDg4MAAAC8vLx8fHx5eXl2dnZ0dHRxcXHDw8PAwMBra2tjY2PY2NiLi4v7+/v5+fn////7+/sWSBTRAAAAGXRSTlMAESIzRFVVVVVmZmZmZmZ3d3d3mZnu7v//nfgMagAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDYvMjkvMTUTtAt+AAAAjElEQVQokbXTyRaAIAgFUJHmeTL7/y9Naie+Toti2T0R4suYH4qI0HNKGpGV0iYwuoLFlEzeu0YT2dqH2jtFZHN3UR9T6FamKQi3O6Q+STL2O4r6WR4QcTZfdIQjR6NzttxUaKk2Eb/qdql34HfgbPA8eAdwb3jXD/eD7xTnAGcH5g1n9CHXBv8Ln9UJhXMPrAhUbYMAAAAASUVORK5CYII=','width':0x19,'height':0x25},'buttonPrevious':{'iconURL':'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAAlCAMAAACAj7KHAAAAA3NCSVQICAjb4U/gAAAAS1BMVEX///8AAAAAAAAAAAAAAACVlZWLi4uDg4MAAAC8vLx8fHx5eXl2dnZ0dHRxcXHDw8PAwMBra2tjY2PY2NiLi4v7+/v5+fn////7+/sWSBTRAAAAGXRSTlMAESIzRFVVVVVmZmZmZmZ3d3d3mZnu7v//nfgMagAAAAlwSFlzAAAK6wAACusBgosNWgAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAWdEVYdENyZWF0aW9uIFRpbWUAMDYvMjkvMTUTtAt+AAAAkElEQVQokbXSyRaDIAwFUALOQ7W2iP//pQK6CGheF55mmXuYwlPqn0VEUp/uzPd0qAuFvqnsdKEInXVuziTCsDpfraYcxgi25MKh5rsxWHvDhMMIIJWf8EpAeei2CO/CJK8kXR2w5ED6E8B9m0zkNegc8W7ye8AM5LmBWYP/AX8KcgCyA/IGMqrkXJ92239aO3W4D6yL2ECSAAAAAElFTkSuQmCC','width':0x19,'height':0x25},'viewerArea':{'playbackBarBackgroundColor':'#000000','playbackBarBackgroundOpacity':0.5,'playbackBarBorderRadius':0x0,'playbackBarBorderSize':0x0,'playbackBarBottom':0x5,'playbackBarHeight':0x6,'playbackBarLeft':0x0,'playbackBarRight':0x0,'playbackBarProgressBackgroundColor':'#3399ff','playbackBarProgressOpacity':0.5,'playbackBarHeadBackgroundColor':'#cccccc','playbackBarHeadBorderColor':'#ffffff','playbackBarHeadBorderRadius':0x7,'playbackBarHeadBorderSize':0x3,'playbackBarHeadOpacity':0x1,'playbackBarHeadWidth':0xe,'playbackBarHeadHeight':0xe,'playbackBarHeadShadow':!![],'playbackBarHeadShadowBlurRadius':0x2,'playbackBarHeadShadowColor':'#000000','playbackBarHeadShadowHorizontalLength':0x0,'playbackBarHeadShadowOpacity':0.3,'playbackBarHeadShadowSpread':0x2,'playbackBarHeadShadowVerticalLength':0x0,'backgroundColor':'#e6e6e6','backgroundOpacity':0x1}},'optionsContainer':{'gap':0xa,'width':'30%','height':'100%','overflow':'scroll','contentOpaque':!![]},'option':{'gap':0xa,'text':{'fontColor':'#404040','fontFamily':'Arial','fontSize':0x12,'paddingTop':0x9,'textAlign':'left','verticalAlign':'middle','selected':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x12,'paddingTop':0x9,'textAlign':'left'}},'label':{'borderRadius':0x13,'backgroundColor':'#000000','backgroundOpacity':0.2,'fontColor':'#ffffff','fontFamily':'Arial','fontSize':0x12,'fontWeight':'bold','height':0x26,'horizontalAlign':'center','pressedBackgroundOpacity':0x1,'verticalAlign':'middle','width':0x26,'correct':{'borderRadius':0x13,'backgroundColor':'#39b54a','backgroundOpacity':0x1,'fontColor':'#ffffff','fontFamily':'Arial','fontSize':0x12,'fontWeight':'bold','height':0x26,'horizontalAlign':'center','pressedBackgroundOpacity':0x1,'verticalAlign':'middle','width':0x26},'incorrect':{'borderRadius':0x13,'backgroundColor':'#ed1c24','backgroundOpacity':0x1,'fontColor':'#ffffff','fontFamily':'Arial','fontSize':0x12,'fontWeight':'bold','height':0x26,'horizontalAlign':'center','pressedBackgroundOpacity':0x1,'verticalAlign':'middle','width':0x26}}},'closeButton':{'backgroundColor':'#009FE3','height':0x2d,'iconColor':'#FFFFFF','iconLineWidth':0x2,'iconHeight':0x12,'iconWidth':0x12,'width':0x2d}}},'score':{'veil':{'backgroundColor':'#000000','backgroundOpacity':0.5},'window':{'backgroundColor':'#ffffff','horizontalAlign':'center','minWidth':0x1f4,'maxWidth':0x5dc,'paddingBottom':0x14,'paddingLeft':0x14,'paddingRight':0x14,'paddingTop':0x14,'content':{'width':'100%','horizontalAlign':'center'},'closeButton':{'backgroundColor':'#009fe3','height':0x2d,'iconColor':'#ffffff','iconLineWidth':0x2,'iconHeight':0x12,'iconWidth':0x12,'width':0x2d},'title':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x32,'fontWeight':'800','paddingBottom':0xf,'paddingTop':0x32,'textAlign':'center'},'description':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x10,'fontWeight':'400','paddingLeft':0x64,'paddingRight':0x64,'paddingBottom':0xf,'paddingTop':0xf,'textAlign':'center'},'statsContainer':{'gap':0x14,'horizontalAlign':'center','paddingLeft':0x64,'paddingRight':0x64,'paddingBottom':0xf,'paddingTop':0xf,'verticalAlign':'middle','overflow':'scroll','contentOpaque':!![]},'stats':{'borderColor':'#009fe3','borderSize':0x1,'borderRadius':0x4b,'gap':0x0,'height':0x96,'horizontalAlign':'center','layout':'vertical','verticalAlign':'middle','minWidth':0x96,'title':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x14,'fontWeight':'400','paddingTop':0xa,'paddingLeft':0x5,'paddingRight':0x5},'mainValue':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x28,'fontWeight':'700'},'secondaryValue':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x14,'fontWeight':'700'},'label':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0xf,'fontWeight':'400'}},'calification':{'fontColor':'#009fe3','fontFamily':'Arial','fontSize':0x1e,'fontWeight':'700','textAlign':'center','paddingLeft':0x64,'paddingRight':0x64,'paddingBottom':0xa,'paddingTop':0xf,'verticalAlign':'middle','width':'100%'},'timeContainer':{'gap':0x5,'horizontalAlign':'center','paddingLeft':0x64,'paddingRight':0x64,'paddingBottom':0xf,'paddingTop':0xa,'verticalAlign':'middle','width':'100%'},'buttonsContainer':{'gap':0x8,'paddingLeft':0x64,'paddingRight':0x64,'paddingBottom':0x32,'paddingTop':0x23,'horizontalAlign':'center','verticalAlign':'middle','width':'100%','button':{'backgroundColor':'#009fe3','fontColor':'#ffffff','fontFamily':'Arial','fontSize':0xf,'fontWeight':'600','horizontalAlign':'center','paddingLeft':0x19,'paddingRight':0x19,'paddingTop':0xc,'paddingBottom':0xc,'verticalAlign':'middle'}}}},'timeout':{'veil':{'backgroundColor':'#000000','backgroundOpacity':0.5},'window':{'backgroundColor':'#ffffff','horizontalAlign':'center','gap':0xf,'paddingBottom':0x37,'paddingLeft':0x50,'paddingRight':0x50,'paddingTop':0x2d,'icon':{'height':0x48,'url':'data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/bAIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBgkJCgoJCQwMDAwMDAwMDAwMDAwMDAEDAwMFBAUJBgYJDQsJCw0PDg4ODg8PDAwMDAwPDwwMDAwMDA8MDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwM/8AAEQgASAA+AwERAAIRAQMRAf/EAHQAAAICAwEBAAAAAAAAAAAAAAUGAAQCAwcBCQEBAAAAAAAAAAAAAAAAAAAAABAAAQMDAgMHAwMBCQAAAAAAAQIDBAARBSExQRITUWFxkbEiBoGhFFJiIzLB0UJygqJDYyQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/APv5QSglBydzJZHqOf8AvkD3HQOqA37AaAjhZ85zJxG3Jjzja1EKQtxSgfaeBNB0eglBKANl8w1jGwkAOylj+NnsH6ld1BliMqjKMrVydN9mweQNtb2IPfagkzOY6EShb3VdTu017j9TsPOgQspNiTHELiQxFCebnItdZPEgCgu4fKwcekfkQuo8FEplJCSoAi1he3rQO8PKQZ+kd8Fe5aV7VeR3+lAMzGeGOdTHZbDz+inea4SlJ2GnE0FtOaiLxzmRTdSWQOqyP6kqJACT4k70CtmMLkPzJEhtKpTTpU51Li6Rvym54DagAMy5Mdt1pl5TSHwA6lJte1AQx+Em5ABxCQywf+degP8AlG5oGRr4lEAHWlPLVxKAlI+4VQYP/EmSD+NLWlXAOgKHmLelArTMfNxjiesko1u0+gnlJHYrTWg0uOyp8hBcUqRIc5W0Xtc8AKAyxgskmHNWptSFrSltuMCLrPUSSTrawtQHfk88x4yIjSrOSr9Qjg2N/M0ADAYkT3i++LxY5F0/rVvy+HbQPU5yRHhuKgsB15AAaatpa4GgFthwoKj7M/IYxpIc/AmL5VOBJI23FxqL70Hs5zJRIcZMNsTZCeRD61AkmwsVWuNzQEHWW5TBZkthSXUjqNnWx7j3dtBzDJwHMZMU1clH9cd3YlPD6igcUZhxeAdnJsZLIDTncskJ5v8AcDQLPyN0u5V8HZlKG0+HKCfuTQO+GYEbGRE2sVoDiz3r92vhe1B5jse5DclurmKlJlK5kg8N+8660HuQy8THKQh7nW64LpabAKrdupAoFub8pdc/jx7Jb5tA64AVa9iRcetBcw+PmtyBkslIUhxwFCGVq9yub9V9u4UGz5VHDkJqRb3sOWv+1eh+4FArQ3iMXmI99FJZcA7CHUg+ooJnkFGWmA8VJUP9SQaB9jtonYdhrnKUPxkIKk7j2gH70GzGx2IcYQ2ZAfMckOG4JCiSbEDbwoBmShz28i1lMe0iQtLfTWys2tuLi5Hb20GWHxKo6nps1pH5r6ytKRYhsHU2toCSeFBZyUGFknWGHpPTfYJWllC0hZSbX9pueG9BW+TrCMWtJ3dcQlP0PN/ZQJURJMLLK4BlsE95eRb0oDvyuIUvMTUj2OJ6Th7FDUeY9KC38XyCVsqx7irONErY70nUj6HWgJmNDwjc7IoS64XLKcRcHdWydBxPGguNZGM5BbnuK/HYcF/5NCNbW86DVkMozAitS+QyG3lJCCg6WUL3v4CgyRAiuy2sryrTIU2OUE2Aum2o7bG1An/JsgmTJTFaVzNRb86hsVnfy2oNkeEtr41PfKTzyihYH/WhabH1NA6zIrU2O7GeF0OC1+IPAjwoOYSosvEywlRLbrZ5mXk7KHAigbcf8ljPoDOQAZdtYu2u2rx7PSgPOtQslH6JKH45sQG1aC21ik0HqnYMFlDTjrbDTSQlCFqGw20OpoFTK/JeolUfHXSFaLkkWNv2jh4mgD4fEuZJ8FQKYrZ/nc7f2jvNB0zpt9Po8g6XLydO2nLa1reFBnQVZkKNOaLMlsLT/hVspJ7QeFAlTPi0tolUNYkt8EKISseeh86AKvFZJB5TAfJ/a2pQ8wDQZtYjJunlTBeB7VpKB5qtQMEH4qolLk90BO/QbNye4q/uoHJplphtLTKA22gWShOgFBsoP//Z','width':0x3e},'title':{'fontColor':'#000000','fontFamily':'Arial','fontSize':0x28,'fontWeight':'800','textAlign':'center','paddingBottom':0x14},'button':{'backgroundColor':'#009fe3','fontColor':'#ffffff','fontFamily':'Arial','fontSize':0xf,'fontWeight':'600','horizontalAlign':'center','paddingLeft':0x19,'paddingRight':0x19,'paddingTop':0xc,'paddingBottom':0xc,'verticalAlign':'middle'},'buttonsContainer':{'horizontalAlign':'center','width':'100%','gap':0xa}}}};fp['theme']='theme'in fp?this['mixObject'](fs,fp['theme']):fs;if(fp['player']['get']('isMobile')){var ft=this['mixObject'](fp['theme'],{'question':{'window':{'width':'100%','height':'100%','minWidth':undefined,'backgroundOpacity':0x1,'borderRadius':0x0,'paddingLeft':0x0,'paddingRight':0x0,'paddingBottom':0x0,'paddingTop':0x0,'verticalAlign':'middle','title':{'paddingBottom':0x19,'paddingTop':0x19},'bodyContainer':{'layout':'vertical','horizontalAlign':'center','paddingLeft':0x0,'paddingRight':0x0,'gap':0x14},'mediaContainer':{'width':'100%','height':'45%'},'optionsContainer':{'width':'100%','height':'55%','paddingLeft':0x14,'paddingRight':0x14}}},'score':{'window':{'description':{'paddingLeft':0xa,'paddingRight':0xa},'calification':{'fontSize':0x14,'paddingLeft':0xa,'paddingRight':0xa}}}});fp['theme']=ft;}var fu=this['get']('data');var fv=document['getElementById']('metaViewport');var fw=fv?/initial-scale=(\d+(\.\d+)?)/['exec'](fv['getAttribute']('content')):undefined;var fx=fw?fw[0x1]:0x1;fu['scorePortraitConfig']={'theme':{'window':{'minWidth':0xfa/fx,'maxHeight':0x258/fx,'content':{'height':'100%'},'statsContainer':{'layout':'vertical','horizontalAlign':'center','maxHeight':0x258,'paddingLeft':0x0,'paddingRight':0x0,'width':'100%','height':'100%'}}}};fu['scoreLandscapeConfig']={'theme':{'window':{'title':{'fontSize':0x1e,'paddingTop':0xa},'stats':{'height':0x64},'buttonsContainer':{'paddingBottom':0x14,'paddingTop':0xa},'description':{'paddingBottom':0x5,'paddingTop':0x5}}}};var fy=new TDV['Quiz'](fp);fy['setMaxListeners'](0x32);if(fr===!![]){fy['bind'](TDV['Quiz']['EVENT_PROPERTIES_CHANGE'],function(){if((fy['get'](TDV['Quiz']['PROPERTY']['QUESTIONS_ANSWERED'])+fy['get'](TDV['Quiz']['PROPERTY']['ITEMS_FOUND']))/(fy['get'](TDV['Quiz']['PROPERTY']['QUESTION_COUNT'])+fy['get'](TDV['Quiz']['PROPERTY']['ITEM_COUNT']))==0x1)fy['finish']();}['bind'](this));}if(fq===!![])fy['start']();fu['quiz']=fy;fu['quizConfig']=fp;};TDV['Tour']['Script']['_initSplitViewer']=function(fz){function fA(){var fS=fz['get']('actualWidth');fK['get']('children')[0x0]['set']('width',fS);fL['get']('children')[0x0]['set']('width',fS);var fT=fO['get']('left');var fU=typeof fT=='string'?fB(fT):fT;fU+=fO['get']('actualWidth')*0.5;fK['set']('width',fC(fU));fL['set']('width',fC(fS-fU));}function fB(fV){return parseFloat(fV['replace']('%',''))/0x64*fz['get']('actualWidth');}function fC(fW){return fW/fz['get']('actualWidth')*0x64+'%';}function fD(fX){fE(fX['source']);}function fE(fY){var fZ=fY==fQ?fP:fQ;if(fR&&fY!=fR||!fY||!fZ)return;var g0=fZ['get']('camera')['get']('initialPosition')['get']('yaw')-fY['get']('camera')['get']('initialPosition')['get']('yaw');fZ['setPosition'](fY['get']('yaw')+g0,fY['get']('pitch'),fY['get']('roll'),fY['get']('hfov'));}function fF(g1){fR=g1['source'];}function fG(g2){fH(g2['source']);}function fH(g3){var g4=g3['get']('viewerArea');if(g4==fM){fP=g3;fR=fP;}else if(g4==fN){fQ=g3;fR=fP;}fE(g3);}function fI(g5){var g6=this['getCurrentPlayers']();var g7=g6['length'];while(g7-->0x0){var g9=g6[g7];if(g9['get']('viewerArea')!=g5){g6['splice'](g7,0x1);}}for(g7=0x0;g7<g6['length'];++g7){var g9=g6[g7];g9['bind']('preloadMediaShow',fG,this);g9['bind']('cameraPositionChange',fD,this);g9['bind']('userInteractionStart',fF,this);if(g9['get']('panorama'))fH(g9);}return g6;}var fJ=fz['get']('children');var fK=fJ[0x0];var fL=fJ[0x1];var fM=fK['get']('children')[0x0];var fN=fL['get']('children')[0x0];var fO=fJ[0x2];var fP,fQ,fR;fI['call'](this,fM);fI['call'](this,fN);fz['bind']('resize',function(){fO['set']('left',(fz['get']('actualWidth')-fO['get']('actualWidth'))*0.5);fA();},this);fO['bind']('mouseDown',function(gb){var gc=gb['pageX'];var gd=function(ge){var gf=ge['pageX'];var gg=gc-gf;var gh=fz['get']('actualWidth');var gi=fO['get']('left');var gj=(typeof gi=='string'?fB(gi):gi)-gg;if(gj<0x0){gf-=gj;gj=0x0;}else if(gj+fO['get']('actualWidth')>=gh){gf-=gj-(gh-fO['get']('actualWidth'));gj=gh-fO['get']('actualWidth');}fO['set']('left',gj);fA();gc=gf;};this['bind']('mouseMove',gd,this);this['bind']('mouseUp',function(){this['unbind']('mouseMove',gd,this);},this);},this);fA();};TDV['Tour']['Script']['_initTwinsViewer']=function(gk){function gl(){var gD=gk['get']('actualWidth');gv['get']('children')[0x0]['set']('width',gD);gw['get']('children')[0x0]['set']('width',gD);var gE=gz['get']('left');var gF=typeof gE=='string'?gm(gE):gE;gF+=gz['get']('actualWidth')*0.5;gv['set']('width',gn(gF));gw['set']('width',gn(gD-gF));}function gm(gG){return parseFloat(gG['replace']('%',''))/0x64*gk['get']('actualWidth');}function gn(gH){return gH/gk['get']('actualWidth')*0x64+'%';}function go(gI){gp(gI['source']);}function gp(gJ){var gK=gJ==gB?gA:gB;if(gC&&gJ!=gC||!gJ||!gK)return;var gL=gK['get']('camera')['get']('initialPosition')['get']('yaw')-gJ['get']('camera')['get']('initialPosition')['get']('yaw');gK['setPosition'](gJ['get']('yaw')+gL,gJ['get']('pitch'),gJ['get']('roll'),gJ['get']('hfov'));}function gq(gM){gC=gM['source'];}function gr(gN){gs(gN['source']);}function gs(gO){var gP=gO['get']('viewerArea');if(gP==gx){gA=gO;gC=gA;}else if(gP==gy){gB=gO;gC=gA;}gp(gO);}function gt(gQ){var gR=this['getCurrentPlayers']();var gS=gR['length'];while(gS-->0x0){var gU=gR[gS];if(gU['get']('viewerArea')!=gQ){gR['splice'](gS,0x1);}}for(gS=0x0;gS<gR['length'];++gS){var gU=gR[gS];gU['bind']('preloadMediaShow',gr,this);gU['bind']('cameraPositionChange',go,this);gU['bind']('userInteractionStart',gq,this);if(gU['get']('panorama'))gs(gU);}return gR;}var gu=gk['get']('children');var gv=gu[0x0];var gw=gu[0x1];var gx=gv['get']('children')[0x0];var gy=gw['get']('children')[0x0];var gz=gu[0x2];var gA,gB,gC;gt['call'](this,gx);gt['call'](this,gy);gk['bind']('resize',function(){gz['set']('left',(gk['get']('actualWidth')-gz['get']('actualWidth'))*0.5);gl();},this);gl();};TDV['Tour']['Script']['isCardboardViewMode']=function(){var gV=this['getByClassName']('PanoramaPlayer');return gV['length']>0x0&&gV[0x0]['get']('viewMode')=='cardboard';};TDV['Tour']['Script']['isPanorama']=function(gW){return['Panorama','HDRPanorama','LivePanorama','Video360','VideoPanorama']['indexOf'](gW['get']('class'))!=-0x1;};TDV['Tour']['Script']['keepCompVisible']=function(gX,gY){var gZ='keepVisibility_'+gX['get']('id');var h0=this['getKey'](gZ);if(h0==undefined&&gY){this['registerKey'](gZ,gY);}else if(h0!=undefined&&!gY){this['unregisterKey'](gZ);}};TDV['Tour']['Script']['_initItemWithComps']=function(h1,h2,h3,h4,h5,h6,h7,h8){var h9=h1['get']('items')[h2];var ha=h9['get']('media');var hb=ha['get']('loop')==undefined||ha['get']('loop');var hc=h8>0x0;var hd=this['rootPlayer'];var he=function(hm){var hn=h6?h6['get']('class'):undefined;var ho=undefined;switch(hn){case'FadeInEffect':case'FadeOutEffect':ho=hd['createInstance'](hm?'FadeInEffect':'FadeOutEffect');break;case'SlideInEffect':case'SlideOutEffect':ho=hd['createInstance'](hm?'SlideInEffect':'SlideOutEffect');break;}if(ho){ho['set']('duration',h6['get']('duration'));ho['set']('easing',h6['get']('easing'));if(hn['indexOf']('Slide')!=-0x1)ho['set'](hm?'from':'to',h6['get'](h6['get']('class')=='SlideInEffect'?'from':'to'));}return ho;};var hf=function(){for(var hp=0x0,hq=h3['length'];hp<hq;++hp){var hr=h3[hp];if(h8>0x0){this['setComponentVisibility'](hr,!h5,0x0,he(!h5));}else{var hs='visibility_'+hr['get']('id');if(this['existsKey'](hs)){if(this['getKey'](hs))this['setComponentVisibility'](hr,!![],0x0,he(!![]));else this['setComponentVisibility'](hr,![],0x0,he(![]));this['unregisterKey'](hs);}}}h9['unbind']('end',hf,this);if(!hb)ha['unbind']('end',hf,this);};var hg=function(){h9['unbind']('stop',hg,this,!![]);h9['unbind']('stop',hg,this);h9['unbind']('begin',hg,this,!![]);h9['unbind']('begin',hg,this);for(var ht=0x0,hu=h3['length'];ht<hu;++ht){this['keepCompVisible'](h3[ht],![]);}};var hh=function(hv,hw,hx){var hy=function(){var hz=function(hD,hE,hF){hd['setComponentVisibility'](hD,hE,hw,hF,hE?'showEffect':'hideEffect',![]);if(hx>0x0){var hG=hw+hx+(hF!=undefined?hF['get']('duration'):0x0);hd['setComponentVisibility'](hD,!hE,hG,he(!hE),hE?'hideEffect':'showEffect',!![]);}};for(var hA=0x0,hB=h3['length'];hA<hB;++hA){var hC=h3[hA];if(h5=='toggle'){if(!hC['get']('visible'))hz(hC,!![],he(!![]));else hz(hC,![],he(![]));}else{hz(hC,h5,he(h5));}}h9['unbind'](hv,hy,this);if(hv=='end'&&!hb)ha['unbind'](hv,hy,this);};h9['bind'](hv,hy,this);if(hv=='end'&&!hb)ha['bind'](hv,hy,this);};if(h4=='begin'){for(var hi=0x0,hj=h3['length'];hi<hj;++hi){var hk=h3[hi];this['keepCompVisible'](hk,!![]);if(hc){var hl='visibility_'+hk['get']('id');this['registerKey'](hl,hk['get']('visible'));}}h9['bind']('stop',hg,this,!![]);h9['bind']('stop',hg,this);h9['bind']('begin',hg,this,!![]);h9['bind']('begin',hg,this);if(hc){h9['bind']('end',hf,this);if(!hb)ha['bind']('end',hf,this);}}else if(h4=='end'&&h8>0x0){hh('begin',h8,0x0);h8=0x0;}if(h4!=undefined)hh(h4,h7,h8);};TDV['Tour']['Script']['loadFromCurrentMediaPlayList']=function(hH,hI,hJ){var hK=hH['get']('selectedIndex');var hL=hH['get']('items')['length'];var hM=(hK+hI)%hL;while(hM<0x0){hM=hL+hM;}if(hK!=hM){if(hJ){var hN=hH['get']('items')[hM];this['skip3DTransitionOnce'](hN['get']('player'));}hH['set']('selectedIndex',hM);}};TDV['Tour']['Script']['mixObject']=function(hO,hP){return this['assignObjRecursively'](hP,this['copyObjRecursively'](hO));};TDV['Tour']['Script']['openLink']=function(hQ,hR){if(!hQ||hQ==location['href']){return;}var hS=window&&window['process']&&window['process']['versions']&&window['process']['versions']['electron']||navigator&&navigator['userAgent']&&navigator['userAgent']['indexOf']('Electron')>=0x0;if(hR=='_blank'&&hS){if(hQ['startsWith']('/')){var hT=window['location']['href']['split']('/');hT['pop']();hQ=hT['join']('/')+hQ;}var hU=hQ['split']('.')['pop']()['toLowerCase']();if(['pdf','zip','xls','xlsx']['indexOf'](hU)==-0x1||hQ['startsWith']('file://')){var hV=window['require']('electron')['shell'];hV['openExternal'](hQ);}else{window['open'](hQ,hR);}}else if(hS&&(hR=='_top'||hR=='_self')){window['location']=hQ;}else{var hW=window['open'](hQ,hR);hW['focus']();}};TDV['Tour']['Script']['pauseCurrentPlayers']=function(hX){var hY=this['getCurrentPlayers']();var hZ=hY['length'];while(hZ-->0x0){var i0=hY[hZ];if(i0['get']('state')=='playing'||i0['get']('viewerArea')&&i0['get']('viewerArea')['get']('id')==this['getMainViewer']()||i0['get']('camera')&&i0['get']('camera')['get']('idleSequence')&&i0['get']('camera')['get']('timeToIdle')>0x0){var i1=this['getMediaFromPlayer'](i0);if(hX&&i1&&i1['get']('class')!='Video360'&&'pauseCamera'in i0){i0['pauseCamera']();}else{i0['pause']();}}else{hY['splice'](hZ,0x1);}}return hY;};TDV['Tour']['Script']['pauseGlobalAudiosWhilePlayItem']=function(i2,i3,i4){var i5=function(){if(i2['get']('selectedIndex')!=i3){this['resumeGlobalAudios']();}};this['pauseGlobalAudios'](i4);this['executeFunctionWhenChange'](i2,i3,i5,i5);};TDV['Tour']['Script']['pauseGlobalAudios']=function(i6){this['stopTextToSpeech']();if(window['pausedAudiosLIFO']==undefined)window['pausedAudiosLIFO']=[];var i7=this['getByClassName']('VideoPanoramaOverlay');for(var i9=i7['length']-0x1;i9>=0x0;--i9){var ia=i7[i9];var ib=ia['get']('data');if(ib&&ib['hasAudio']==![])i7['splice'](i9,0x1);}var ic=this['getByClassName']('Audio')['concat'](i7);var id={};if(window['currentGlobalAudios']!=undefined)ic=ic['concat'](Object['values'](window['currentGlobalAudios'])['map'](function(ii){if(!ii['allowResume'])id[ii['audio']['get']('id')]=ii['audio'];return ii['audio'];}));var ie=[];for(var i9=0x0,ig=ic['length'];i9<ig;++i9){var ih=ic[i9];if(ih&&ih['get']('state')=='playing'&&(i6==undefined||i6['indexOf'](ih)==-0x1)){if(ih['get']('id')in id){ih['stop']();}else{ih['pause']();ie['push'](ih);}}}if(ie['length']>0x0)window['pausedAudiosLIFO']['push'](ie);return ie;};TDV['Tour']['Script']['resumeGlobalAudios']=function(){if(window['pausedAudiosLIFO']==undefined)return;var ij=window['pausedAudiosLIFO']['pop']();if(!ij)return;for(var ik=0x0,il=ij['length'];ik<il;++ik){var im=ij[ik];if(im['get']('state')=='paused')im['play']();}};TDV['Tour']['Script']['pauseGlobalAudio']=function(io){var ip=window['currentGlobalAudios'];if(ip){var iq=ip[io['get']('id')];if(iq)io=iq['audio'];}if(io['get']('state')=='playing')io['pause']();};TDV['Tour']['Script']['playAudioList']=function(ir,is){if(ir['length']==0x0)return;var it=-0x1;var iu;var iv=this['playGlobalAudio'];var iw=function(){if(++it>=ir['length']){if(!is)return;it=0x0;}iu=ir[it];iv(iu,!![],iw,!![]);};iw();};TDV['Tour']['Script']['playGlobalAudioWhilePlay']=function(ix,iy,iz,iA,iB,iC){var iD=function(iP){if(iP['data']['previousSelectedIndex']==iy){this['stopGlobalAudio'](iz);if(iH){var iQ=iG['get']('media');var iR=iQ['get']('audios');iR['splice'](iR['indexOf'](iz),0x1);iQ['set']('audios',iR);}ix['unbind']('change',iD,this);if(iB)iB();}};var iF=window['currentGlobalAudios'];if(iF&&iz['get']('id')in iF){iz=iF[iz['get']('id')]['audio'];if(iz['get']('state')!='playing'){iz['play']();}return iz;}ix['bind']('change',iD,this);var iG=ix['get']('items')[iy];var iH=iG['get']('class')=='PanoramaPlayListItem';if(iH){var iI=iG['get']('media');var iF=(iI['get']('audios')||[])['slice']();if(iz['get']('class')=='MediaAudio'){var iJ=this['rootPlayer']['createInstance']('PanoramaAudio');iJ['set']('autoplay',![]);iJ['set']('audio',iz['get']('audio'));iJ['set']('loop',iz['get']('loop'));iJ['set']('id',iz['get']('id'));var iK=iz['getBindings']('stateChange');for(var iL=0x0;iL<iK['length'];++iL){var iM=iK[iL];if(typeof iM=='string')iM=new Function('event',iM);iJ['bind']('stateChange',iM,this);}iz=iJ;}iF['push'](iz);iI['set']('audios',iF);}var iN=this['playGlobalAudio'](iz,iA,function(){ix['unbind']('change',iD,this);if(iB)iB['call'](this);});if(iC===!![]){var iO=function(){if(iN['get']('state')=='playing'){this['pauseGlobalAudios']([iN]);}else if(iN['get']('state')=='stopped'){this['resumeGlobalAudios']();iN['unbind']('stateChange',iO,this);}};iN['bind']('stateChange',iO,this);}return iN;};TDV['Tour']['Script']['playGlobalAudio']=function(iS,iT,iU,iV){var iW=function(){iS['unbind']('end',iW,this);this['stopGlobalAudio'](iS);if(iU)iU['call'](this);};iS=this['getGlobalAudio'](iS);var iX=window['currentGlobalAudios'];if(!iX){iX=window['currentGlobalAudios']={};}iX[iS['get']('id')]={'audio':iS,'asBackground':iV||![],'allowResume':iT};if(iS['get']('state')=='playing'){return iS;}if(!iS['get']('loop')){iS['bind']('end',iW,this);}iS['play']();return iS;};TDV['Tour']['Script']['resumePlayers']=function(iY,iZ){for(var j0=0x0;j0<iY['length'];++j0){var j1=iY[j0];var j2=this['getMediaFromPlayer'](j1);if(!j2)continue;if(iZ&&j2['get']('class')!='Video360'&&'pauseCamera'in j1){j1['resumeCamera']();}else{j1['play']();}}};TDV['Tour']['Script']['stopGlobalAudios']=function(j3){var j4=window['currentGlobalAudios'];var j5=this;if(j4){Object['keys'](j4)['forEach'](function(j6){var j7=j4[j6];if(!j3||j3&&!j7['asBackground']){j5['stopGlobalAudio'](j7['audio']);}});}};TDV['Tour']['Script']['stopGlobalAudio']=function(j8){var j9=window['currentGlobalAudios'];if(j9){var ja=j9[j8['get']('id')];if(ja){j8=ja['audio'];delete j9[j8['get']('id')];if(Object['keys'](j9)['length']==0x0){window['currentGlobalAudios']=undefined;}}}if(j8)j8['stop']();};TDV['Tour']['Script']['setCameraSameSpotAsMedia']=function(jb,jc){var jd=this['getCurrentPlayerWithMedia'](jc);if(jd!=undefined){var je=jb['get']('initialPosition');je['set']('yaw',jd['get']('yaw'));je['set']('pitch',jd['get']('pitch'));je['set']('hfov',jd['get']('hfov'));}};TDV['Tour']['Script']['setComponentVisibility']=function(jf,jg,jh,ji,jj,jk){var jl=this['getKey']('keepVisibility_'+jf['get']('id'));if(jl)return;this['unregisterKey']('visibility_'+jf['get']('id'));var jm=function(){if(ji&&jj){jf['set'](jj,ji);}jf['set']('visible',jg);if(jf['get']('class')=='ViewerArea'){try{if(jg)jf['restart']();else if(jf['get']('playbackState')=='playing')jf['pause']();}catch(jr){};}};var jn='effectTimeout_'+jf['get']('id');if(!jk&&window['hasOwnProperty'](jn)){var jp=window[jn];if(jp instanceof Array){for(var jq=0x0;jq<jp['length'];jq++){clearTimeout(jp[jq]);}}else{clearTimeout(jp);}delete window[jn];}else if(jg==jf['get']('visible')&&!jk)return;if(jh&&jh>0x0){var jp=setTimeout(function(){if(window[jn]instanceof Array){var js=window[jn];var jt=js['indexOf'](jp);js['splice'](jt,0x1);if(js['length']==0x0){delete window[jn];}}else{delete window[jn];}jm();},jh);if(window['hasOwnProperty'](jn)){window[jn]=[window[jn],jp];}else{window[jn]=jp;}}else{jm();}};TDV['Tour']['Script']['setLocale']=function(ju){this['stopTextToSpeech']();var jv=this['get']('data')['localeManager'];if(jv)this['get']('data')['localeManager']['setLocale'](ju);else{this['get']('data')['defaultLocale']=ju;this['get']('data')['forceDefaultLocale']=!![];}};TDV['Tour']['Script']['setEndToItemIndex']=function(jw,jx,jy){var jz=function(){if(jw['get']('selectedIndex')==jx){var jA=jw['get']('items')[jy];this['skip3DTransitionOnce'](jA['get']('player'));jw['set']('selectedIndex',jy);}};this['executeFunctionWhenChange'](jw,jx,jz);};TDV['Tour']['Script']['setMapLocation']=function(jB,jC){var jD=function(){jB['unbind']('stop',jD,this);jE['set']('mapPlayer',null);};jB['bind']('stop',jD,this);var jE=jB['get']('player');jE['set']('mapPlayer',jC);};TDV['Tour']['Script']['setMainMediaByIndex']=function(jF){var jG=undefined;if(jF>=0x0&&jF<this['mainPlayList']['get']('items')['length']){this['mainPlayList']['set']('selectedIndex',jF);jG=this['mainPlayList']['get']('items')[jF];}return jG;};TDV['Tour']['Script']['setMainMediaByName']=function(jH){var jI=this['getMainViewer']();var jJ=this['_getPlayListsWithViewer'](jI);for(var jK=0x0,jL=jJ['length'];jK<jL;++jK){var jM=jJ[jK];var jN=jM['get']('items');for(var jO=0x0,jP=jN['length'];jO<jP;++jO){var jQ=jN[jO];var jR=jQ['get']('media')['get']('data');if(jR!==undefined&&jR['label']==jH&&jQ['get']('player')['get']('viewerArea')==jI){jM['set']('selectedIndex',jO);return jQ;}}}};TDV['Tour']['Script']['setMediaBehaviour']=function(jS,jT,jU,jV){var jW=this;var jX=function(kk){if(kk['data']['state']=='stopped'&&jV){k1['call'](this,!![]);}};var jY=function(){k7['unbind']('begin',jY,jW);var kl=k7['get']('media');if(kl['get']('class')!='Panorama'||kl['get']('camera')!=undefined&&kl['get']('camera')['get']('initialSequence')!=undefined){k8['bind']('stateChange',jX,jW);}};var jZ=function(){var km=k4['get']('selectedIndex');if(km!=-0x1){k6=km;k1['call'](this,![]);}};var k0=function(){k1['call'](this,![]);};var k1=function(kn){if(!k4)return;var ko=k7['get']('media');if((ko['get']('class')=='Video360'||ko['get']('class')=='Video')&&ko['get']('loop')==!![]&&!kn)return;jS['set']('selectedIndex',-0x1);if(kf&&ke!=-0x1){if(kf){if(ke>0x0&&kf['get']('movements')[ke-0x1]['get']('class')=='TargetPanoramaCameraMovement'){var kp=kg['get']('initialPosition');var kq=kp['get']('yaw');var kr=kp['get']('pitch');var ks=kp['get']('hfov');var kt=kf['get']('movements')[ke-0x1];kp['set']('yaw',kt['get']('targetYaw'));kp['set']('pitch',kt['get']('targetPitch'));kp['set']('hfov',kt['get']('targetHfov'));var ku=function(kx){kp['set']('yaw',kq);kp['set']('pitch',kr);kp['set']('hfov',ks);ka['unbind']('end',ku,this);};ka['bind']('end',ku,this);}kf['set']('movementIndex',ke);}}if(k8){k7['unbind']('begin',jY,this);k8['unbind']('stateChange',jX,this);for(var kv=0x0;kv<kh['length'];++kv){kh[kv]['unbind']('click',k0,this);}}if(kd){var kw=this['getMediaFromPlayer'](k8);if(k4['get']('items')['length']>0x1&&(kw==undefined||kw==k7['get']('media'))){k4['set']('selectedIndex',k6);}if(jS!=k4)k4['unbind']('change',jZ,this);}else{kb['set']('visible',kc);}k4=undefined;};if(!jU){var k2=jS['get']('selectedIndex');var k3=k2!=-0x1?jS['get']('items')[jS['get']('selectedIndex')]['get']('player'):this['getActivePlayerWithViewer'](this['getMainViewer']());if(k3){jU=this['getMediaFromPlayer'](k3);}}var k4=undefined;if(jU){var k5=this['getPlayListsWithMedia'](jU,!![]);k4=k5['indexOf'](jS)!=-0x1?jS:k5['length']>0x0?k5[0x0]:undefined;}if(!k4){jS['set']('selectedIndex',jT);return;}var k6=k4['get']('selectedIndex');var k7=jS['get']('items')[jT];var k8=k7['get']('player');var k9=this['getMediaFromPlayer'](k8);if(jS['get']('selectedIndex')==jT&&k9==k7['get']('media')||k6==-0x1){return;}if(jS['get']('selectedIndex')==jT&&k9!=k7['get']('media'))jS['set']('selectedIndex',-0x1);var ka=k4['get']('items')[k6];var kb=k8['get']('viewerArea');var kc=kb['get']('visible');var kd=kb==ka['get']('player')['get']('viewerArea');if(kd){if(jS!=k4){k4['set']('selectedIndex',-0x1);k4['bind']('change',jZ,this);}}else{kb['set']('visible',!![]);}var ke=-0x1;var kf=undefined;var kg=ka['get']('camera');if(kg){kf=kg['get']('initialSequence');if(kf){ke=kf['get']('movementIndex');}}jS['set']('selectedIndex',jT);var kh=[];var ki=function(ky){var kz=k8['get'](ky);if(kz==undefined)return;if(Array['isArray'](kz))kh=kh['concat'](kz);else kh['push'](kz);};ki('buttonStop');for(var kj=0x0;kj<kh['length'];++kj){kh[kj]['bind']('click',k0,this);}k7['bind']('begin',jY,jW);this['executeFunctionWhenChange'](jS,jT,jV?k0:undefined);};TDV['Tour']['Script']['setOverlayBehaviour']=function(kA,kB,kC,kD){var kE=function(){switch(kC){case'triggerClick':this['triggerOverlay'](kA,'click');break;case'stop':case'play':case'pause':kA[kC]();break;case'togglePlayPause':case'togglePlayStop':if(kA['get']('state')=='playing')kA[kC=='togglePlayPause'?'pause':'stop']();else kA['play']();break;}if(kD){if(window['overlaysDispatched']==undefined)window['overlaysDispatched']={};var kJ=kA['get']('id');window['overlaysDispatched'][kJ]=!![];setTimeout(function(){delete window['overlaysDispatched'][kJ];},0x3e8);}};if(kD&&window['overlaysDispatched']!=undefined&&kA['get']('id')in window['overlaysDispatched'])return;var kF=this['getFirstPlayListWithMedia'](kB,!![]);if(kF!=undefined){var kG=this['getPlayListItemByMedia'](kF,kB);var kH=kG['get']('player');if(kF['get']('items')['indexOf'](kG)!=kF['get']('selectedIndex')||this['isPanorama'](kG['get']('media'))&&kH['get']('rendererPanorama')!=kG['get']('media')){var kI=function(kK){kG['unbind']('begin',kI,this);kE['call'](this);};kG['bind']('begin',kI,this);return;}}kE['call'](this);};TDV['Tour']['Script']['setPanoramaCameraWithCurrentSpot']=function(kL){var kM=this['getActiveMediaWithViewer'](this['getMainViewer']());if(kM!=undefined&&(kM['get']('class')['indexOf']('Panorama')!=-0x1||kM['get']('class')=='Video360')){var kN=kL['get']('media');var kO=this['cloneCamera'](kL['get']('camera'));this['setCameraSameSpotAsMedia'](kO,kM);this['startPanoramaWithCamera'](kN,kO);}};TDV['Tour']['Script']['setPanoramaCameraWithSpot']=function(kP,kQ,kR,kS,kT){var kU=kP['get']('selectedIndex');var kV=kP['get']('items');var kW=kQ['get']('player');if(kV[kU]==kQ||kW['get']('rendererPanorama')==kQ['get']('media')){if(kR===undefined)kR=kW['get']('yaw');if(kS===undefined)kS=kW['get']('pitch');if(kT===undefined)kT=kW['get']('hfov');kW['moveTo'](kR,kS,kW['get']('roll'),kT);}else{var kX=kQ['get']('media');var kY=this['cloneCamera'](kQ['get']('camera'));var kZ=kY['get']('initialPosition');if(kR!==undefined)kZ['set']('yaw',kR);if(kS!==undefined)kZ['set']('pitch',kS);if(kT!==undefined)kZ['set']('hfov',kT);this['startPanoramaWithCamera'](kX,kY);}};TDV['Tour']['Script']['setSurfaceSelectionHotspotMode']=function(l0){var l1=this['getByClassName']('HotspotPanoramaOverlay');var l2=this['getByClassName']('PanoramaPlayer');var l3=l0=='hotspotEnabled';var l4=l0=='circleEnabled';var l5=!!l0;l1['forEach'](function(l6){var l7=l6['get']('data');if(l7&&l7['hasPanoramaAction']==!![])l6['set']('enabledInSurfaceSelection',l3);});l2['forEach'](function(l8){l8['set']('adjacentPanoramaPositionsEnabled',l4);l8['set']('surfaceSelectionEnabled',l5);});this['get']('data')['surfaceSelectionHotspotMode']=l0;};TDV['Tour']['Script']['setValue']=function(l9,la,lb){if('set'in l9)l9['set'](la,lb);else l9[la]=lb;};TDV['Tour']['Script']['setStartTimeVideo']=function(lc,ld){var le=this['getPlayListItems'](lc);var lf=[];var lg=function(){for(var lk=0x0;lk<le['length'];++lk){var ll=le[lk];ll['set']('startTime',lf[lk]);ll['unbind']('stop',lg,this);}};for(var lh=0x0;lh<le['length'];++lh){var li=le[lh];var lj=li['get']('player');if(lj['get']('video')==lc&&lj['get']('state')=='playing'){lj['seek'](ld);}else{lf['push'](li['get']('startTime'));li['set']('startTime',ld);li['bind']('stop',lg,this);}}};TDV['Tour']['Script']['setStartTimeVideoSync']=function(lm,ln){if(lm&&ln)this['setStartTimeVideo'](lm,ln['get']('currentTime'));};TDV['Tour']['Script']['skip3DTransitionOnce']=function(lo){if(lo){var lp=lo['get']('viewerArea');if(lp&&lp['get']('translationTransitionEnabled')==!![]){var lq=function(){lo['unbind']('preloadMediaShow',lq,this);lp['set']('translationTransitionEnabled',!![]);};lp['set']('translationTransitionEnabled',![]);lo['bind']('preloadMediaShow',lq,this);}}};TDV['Tour']['Script']['shareSocial']=function(lr,ls,lt,lu){if(lt){this['updateDeepLink']();}if(ls==undefined){ls=lt?location['href']:location['href']['split'](location['search']||location['hash']||/[?#]/)[0x0];}else if(lt){ls+=location['hash'];}ls=function(lw){switch(lw){case'email':return'mailto:?body='+ls;case'facebook':var lx=ls['indexOf']('?')!=-0x1;ls=ls['replace']('#','?');if(lx){var ly=ls['lastIndexOf']('?');ls=ls['substring'](0x0,ly)+'&'+ls['substring'](ly+0x1);}return'https://www.facebook.com/sharer/sharer.php?u='+encodeURIComponent(ls);case'linkedin':return'https://www.linkedin.com/shareArticle?mini=true&url='+encodeURIComponent(ls);case'pinterest':return'https://pinterest.com/pin/create/button/?url='+ls;case'telegram':return'https://t.me/share/url?url='+ls;case'twitter':return'https://twitter.com/intent/tweet?source=webclient&url='+ls;case'whatsapp':return'https://api.whatsapp.com/send/?text='+encodeURIComponent(ls);default:return ls;}}(lr);if(lu){for(var lv in lu){ls+='&'+lv+'='+lu[lv];}}if(lr=='clipboard')this['copyToClipboard'](ls);else this['openLink'](ls,'_blank');};TDV['Tour']['Script']['showComponentsWhileMouseOver']=function(lz,lA,lB){var lC=function(lG){for(var lH=0x0,lI=lA['length'];lH<lI;lH++){lA[lH]['set']('visible',lG);}};if(this['get']('isMobile')){lC['call'](this,!![]);}else{var lD=-0x1;var lE=function(){lC['call'](this,!![]);if(lD>=0x0)clearTimeout(lD);lz['bind']('rollOut',lF,this);};var lF=function(){var lJ=function(){lC['call'](this,![]);};lz['unbind']('rollOut',lF,this);lD=setTimeout(lJ['bind'](this),lB);};lz['bind']('rollOver',lE,this);}};TDV['Tour']['Script']['showPopupMedia']=function(lK,lL,lM,lN,lO,lP){var lQ=this;var lR=function(){lM['set']('selectedIndex',-0x1);lQ['getMainViewer']()['set']('toolTipEnabled',!![]);this['resumePlayers'](lW,!![]);if(lV){this['unbind']('resize',lT,this);}lK['unbind']('close',lR,this);};var lS=function(){lK['hide']();};var lT=function(){var lX=function(me){return lK['get'](me)||0x0;};var lY=lQ['get']('actualWidth');var lZ=lQ['get']('actualHeight');var m0=lQ['getMediaWidth'](lL);var m1=lQ['getMediaHeight'](lL);var m2=parseFloat(lN)/0x64;var m3=parseFloat(lO)/0x64;var m4=m2*lY;var m5=m3*lZ;var m6=lX('footerHeight');var m7=lX('headerHeight');if(!m7){var m8=lX('closeButtonIconHeight')+lX('closeButtonPaddingTop')+lX('closeButtonPaddingBottom');var m9=lQ['getPixels'](lX('titleFontSize'))+lX('titlePaddingTop')+lX('titlePaddingBottom');m7=m8>m9?m8:m9;m7+=lX('headerPaddingTop')+lX('headerPaddingBottom');}var ma=m4-lX('bodyPaddingLeft')-lX('bodyPaddingRight')-lX('paddingLeft')-lX('paddingRight');var mb=m5-m7-m6-lX('bodyPaddingTop')-lX('bodyPaddingBottom')-lX('paddingTop')-lX('paddingBottom');var mc=ma/mb;var md=m0/m1;if(mc>md){m4=mb*md+lX('bodyPaddingLeft')+lX('bodyPaddingRight')+lX('paddingLeft')+lX('paddingRight');}else{m5=ma/md+m7+m6+lX('bodyPaddingTop')+lX('bodyPaddingBottom')+lX('paddingTop')+lX('paddingBottom');}if(m4>lY*m2){m4=lY*m2;}if(m5>lZ*m3){m5=lZ*m3;}lK['set']('width',m4);lK['set']('height',m5);lK['set']('x',(lY-lX('actualWidth'))*0.5);lK['set']('y',(lZ-lX('actualHeight'))*0.5);};if(lP){this['executeFunctionWhenChange'](lM,0x0,lS);}var lU=lL['get']('class');var lV=lU=='Video'||lU=='Video360';lM['set']('selectedIndex',0x0);if(lV){this['bind']('resize',lT,this);lT();lM['get']('items')[0x0]['get']('player')['play']();}else{lK['set']('width',lN);lK['set']('height',lO);}this['getMainViewer']()['set']('toolTipEnabled',![]);var lW=this['pauseCurrentPlayers'](!![]);lK['bind']('close',lR,this);lK['show'](this,!![]);};TDV['Tour']['Script']['showPopupImage']=function(mf,mg,mh,mi,mj,mk,ml,mm,mn,mo,mp,mq){var mr=![];var ms=function(){mJ['unbind']('loaded',mv,this);mz['call'](this);};var mt=function(){mJ['unbind']('click',mt,this);if(mN!=undefined){clearTimeout(mN);}};var mu=function(){setTimeout(mD,0x0);};var mv=function(){this['unbind']('click',ms,this);mI['set']('visible',!![]);mD();mK['set']('visible',!![]);mJ['unbind']('loaded',mv,this);mJ['bind']('resize',mu,this);mN=setTimeout(mw['bind'](this),0xc8);};var mw=function(){mN=undefined;if(mm){mJ['bind']('click',mt,this);my['call'](this);}mJ['bind']('userInteractionStart',mE,this);mJ['bind']('userInteractionEnd',mF,this);mJ['bind']('backgroundClick',mz,this);if(mg){mJ['bind']('click',mB,this);mJ['set']('imageCursor','hand');}mK['bind']('click',mz,this);if(mp)mp['call'](this);};var mx=function(){if(mm&&mN){clearTimeout(mN);mN=undefined;}};var my=function(){if(mm){mx();mN=setTimeout(mz['bind'](this),mm);}};var mz=function(){this['getMainViewer']()['set']('toolTipEnabled',!![]);mr=!![];if(mN)clearTimeout(mN);if(mO)clearTimeout(mO);if(mm)mt();if(mq)mq['call'](this);mJ['set']('visible',![]);if(mk&&mk['get']('duration')>0x0){mk['bind']('end',mA,this);}else{mJ['set']('image',null);}mK['set']('visible',![]);mI['set']('visible',![]);this['unbind']('click',ms,this);mJ['unbind']('backgroundClick',mz,this);mJ['unbind']('userInteractionStart',mE,this);mJ['unbind']('userInteractionEnd',mF,this,!![]);mJ['unbind']('resize',mu,this);if(mg){mJ['unbind']('click',mB,this);mJ['set']('cursor','default');}mK['unbind']('click',mz,this);this['resumePlayers'](mM,mn==null||mo);if(mo){this['resumeGlobalAudios']();}if(mn){this['stopGlobalAudio'](mn);}};var mA=function(){mJ['set']('image',null);mk['unbind']('end',mA,this);};var mB=function(){mJ['set']('image',mC()?mf:mg);};var mC=function(){return mJ['get']('image')==mg;};var mD=function(){var mP=mJ['get']('actualWidth')-mJ['get']('imageLeft')-mJ['get']('imageWidth')+0xa;var mQ=mJ['get']('imageTop')+0xa;if(mP<0xa)mP=0xa;if(mQ<0xa)mQ=0xa;mK['set']('right',mP);mK['set']('top',mQ);};var mE=function(){mx();if(mO){clearTimeout(mO);mO=undefined;}else{mK['set']('visible',![]);}};var mF=function(){my['call'](this);if(!mr){mO=setTimeout(mG,0x12c);}};var mG=function(){mO=undefined;mK['set']('visible',!![]);mD();};var mH=function(mR){var mS=mR['get']('data');if(mS&&'extraLevels'in mS){var mT=this['rootPlayer']['createInstance'](mR['get']('class'));var mU=mS['extraLevels'];mT['set']('levels',mR['get']('levels')['concat'](mU));mR=mT;}return mR;};this['getMainViewer']()['set']('toolTipEnabled',![]);var mI=this['veilPopupPanorama'];var mJ=this['zoomImagePopupPanorama'];var mK=this['closeButtonPopupPanorama'];if(ml){for(var mL in ml){mK['set'](mL,ml[mL]);}}var mM=this['pauseCurrentPlayers'](mn==null||!mo);if(mo){this['pauseGlobalAudios']();}if(mn){this['playGlobalAudio'](mn,!![]);}var mN=undefined;var mO=undefined;mf=mH['call'](this,mf);if(mg)mg=mH['call'](this,mg);mJ['bind']('loaded',mv,this);setTimeout(function(){this['bind']('click',ms,this,![]);}['bind'](this),0x0);mJ['set']('image',mf);mJ['set']('customWidth',mh);mJ['set']('customHeight',mi);mJ['set']('showEffect',mj);mJ['set']('hideEffect',mk);mJ['set']('visible',!![]);return mJ;};TDV['Tour']['Script']['showPopupPanoramaOverlay']=function(mV,mW,mX,mY,mZ,n0,n1){var n2=this['isCardboardViewMode']();if(mV['get']('visible')||!n2&&this['zoomImagePopupPanorama']['get']('visible'))return;this['getMainViewer']()['set']('toolTipEnabled',![]);if(!n2){var n3=this['zoomImagePopupPanorama'];var n4=mV['get']('showDuration');var n5=mV['get']('hideDuration');var n7=this['pauseCurrentPlayers'](n0==null||!n1);var n8=mV['get']('popupMaxWidth');var n9=mV['get']('popupMaxHeight');var na=function(){var nd=function(){if(!this['isCardboardViewMode']())mV['set']('visible',![]);};mV['unbind']('showEnd',na,this);mV['set']('showDuration',0x1);mV['set']('hideDuration',0x1);this['showPopupImage'](mX,mY,mV['get']('popupMaxWidth'),mV['get']('popupMaxHeight'),null,null,mW,mZ,n0,n1,nd,nb);};var nb=function(){var ne=function(){mV['unbind']('showEnd',ne,this);mV['set']('visible',![]);mV['set']('showDuration',n4);mV['set']('popupMaxWidth',n8);mV['set']('popupMaxHeight',n9);};this['resumePlayers'](n7,n0==null||!n1);var nf=n3['get']('imageWidth');var ng=n3['get']('imageHeight');mV['bind']('showEnd',ne,this,!![]);mV['set']('showDuration',0x1);mV['set']('hideDuration',n5);mV['set']('popupMaxWidth',nf);mV['set']('popupMaxHeight',ng);if(mV['get']('visible'))ne();else mV['set']('visible',!![]);this['getMainViewer']()['set']('toolTipEnabled',!![]);};mV['bind']('showEnd',na,this,!![]);}else{var nc=function(){this['resumePlayers'](n7,n0==null||n1);if(n1){this['resumeGlobalAudios']();}if(n0){this['stopGlobalAudio'](n0);}mV['unbind']('hideEnd',nc,this);this['getMainViewer']()['set']('toolTipEnabled',!![]);};var n7=this['pauseCurrentPlayers'](n0==null||!n1);if(n1){this['pauseGlobalAudios']();}if(n0){this['playGlobalAudio'](n0,!![]);}mV['bind']('hideEnd',nc,this,!![]);}mV['set']('visible',!![]);};TDV['Tour']['Script']['showPopupPanoramaVideoOverlay']=function(nh,ni,nj){var nk=this;var nl=function(){nh['unbind']('showEnd',nl);np['bind']('click',nn,this);no();np['set']('visible',!![]);};var nm=function(){if(!nh['get']('loop'))nn();};var nn=function(){nk['getMainViewer']()['set']('toolTipEnabled',!![]);nh['set']('visible',![]);np['set']('visible',![]);np['unbind']('click',nn,nk);nh['unbind']('end',nm,nk);nh['unbind']('hideEnd',nn,nk,!![]);nk['resumePlayers'](nr,!![]);if(nj){nk['resumeGlobalAudios']();}};var no=function(){var ns=0xa;var nt=0xa;np['set']('right',ns);np['set']('top',nt);};this['getMainViewer']()['set']('toolTipEnabled',![]);var np=this['closeButtonPopupPanorama'];if(ni){for(var nq in ni){np['set'](nq,ni[nq]);}}var nr=this['pauseCurrentPlayers'](!![]);if(nj){this['pauseGlobalAudios']();}nh['bind']('end',nm,this,!![]);nh['bind']('showEnd',nl,this,!![]);nh['bind']('hideEnd',nn,this,!![]);nh['set']('visible',!![]);};TDV['Tour']['Script']['showWindow']=function(nu,nv,nw){if(nu['get']('visible')==!![]){return;}var nx=function(){this['getMainViewer']()['set']('toolTipEnabled',!![]);if(nw){this['resumeGlobalAudios']();}ny();this['resumePlayers'](nB,!nw);nu['unbind']('close',nx,this);};var ny=function(){nu['unbind']('click',ny,this);if(nz!=undefined){clearTimeout(nz);}};var nz=undefined;if(nv){var nA=function(){nu['hide']();};nu['bind']('click',ny,this);nz=setTimeout(nA,nv);}this['getMainViewer']()['set']('toolTipEnabled',![]);if(nw){this['pauseGlobalAudios']();}var nB=this['pauseCurrentPlayers'](!nw);nu['bind']('close',nx,this);nu['show'](this,!![]);};TDV['Tour']['Script']['startPanoramaWithCamera']=function(nC,nD){var nE=this['getByClassName']('PlayList');if(nE['length']==0x0)return;var nF=window['currentPanoramasWithCameraChanged']==undefined||!(nC['get']('id')in window['currentPanoramasWithCameraChanged']);var nG=[];for(var nI=0x0,nJ=nE['length'];nI<nJ;++nI){var nK=nE[nI];var nL=nK['get']('items');for(var nM=0x0,nN=nL['length'];nM<nN;++nM){var nP=nL[nM];if(nP['get']('media')==nC&&(nP['get']('class')=='PanoramaPlayListItem'||nP['get']('class')=='Video360PlayListItem')){if(nF){nG['push']({'camera':nP['get']('camera'),'item':nP});}nP['set']('camera',nD);}}}if(nG['length']>0x0){if(window['currentPanoramasWithCameraChanged']==undefined){window['currentPanoramasWithCameraChanged']={};}var nQ=nC['get']('id');window['currentPanoramasWithCameraChanged'][nQ]=nG;var nR=function(){if(nQ in window['currentPanoramasWithCameraChanged']){delete window['currentPanoramasWithCameraChanged'][nQ];}for(var nT=0x0;nT<nG['length'];nT++){nG[nT]['item']['set']('camera',nG[nT]['camera']);nG[nT]['item']['unbind']('end',nR,this);}};for(var nI=0x0;nI<nG['length'];nI++){var nS=nG[nI];var nP=nS['item'];this['skip3DTransitionOnce'](nP['get']('player'));nP['bind']('end',nR,this);}}};TDV['Tour']['Script']['stopAndGoCamera']=function(nU,nV){var nW=nU['get']('initialSequence');nW['pause']();var nX=function(){nW['play']();};setTimeout(nX,nV);};TDV['Tour']['Script']['syncPlaylists']=function(nY){var nZ=function(o7,o8){for(var o9=0x0,oa=nY['length'];o9<oa;++o9){var ob=nY[o9];if(ob!=o8){var oc=ob['get']('items');for(var od=0x0,oe=oc['length'];od<oe;++od){if(oc[od]['get']('media')==o7){if(ob['get']('selectedIndex')!=od){ob['set']('selectedIndex',od);}break;}}}}};var o0=function(of){var og=of['source'];var oh=og['get']('selectedIndex');if(oh<0x0)return;var oi=og['get']('items')[oh]['get']('media');nZ(oi,og);};var o1=function(oj){var ok=oj['source']['get']('panoramaMapLocation');if(ok){var ol=ok['get']('map');nZ(ol);}};for(var o3=0x0,o5=nY['length'];o3<o5;++o3){nY[o3]['bind']('change',o0,this);}var o6=this['getByClassName']('MapPlayer');for(var o3=0x0,o5=o6['length'];o3<o5;++o3){o6[o3]['bind']('panoramaMapLocation_change',o1,this);}};TDV['Tour']['Script']['translate']=function(om){return this['get']('data')['localeManager']['trans'](om);};TDV['Tour']['Script']['triggerOverlay']=function(on,oo){if(on['get']('areas')!=undefined){var op=on['get']('areas');for(var oq=0x0;oq<op['length'];++oq){op[oq]['trigger'](oo);}}else{on['trigger'](oo);}};TDV['Tour']['Script']['updateDeepLink']=function(){var or=this['mainPlayList']['get']('selectedIndex');if(or>=0x0){location['hash']='#media='+(or+0x1);}else{var os=this['getActiveMediaWithViewer'](this['getMainViewer']());if(os!=undefined){var ot=os['get']('data');if(ot){location['hash']='#media-name='+ot['label'];}}}};TDV['Tour']['Script']['updateMediaLabelFromPlayList']=function(ou,ov,ow){var ox=function(){var oz=ou['get']('selectedIndex');if(oz>=0x0){var oA=function(){oD['unbind']('begin',oA);oB(oz);};var oB=function(oE){var oF=oD['get']('media');var oG=oF['get']('data');var oH=oG!==undefined?oG['description']||oF['get']('label'):oF['get']('label');oC(oH);};var oC=function(oI){if(oI!==undefined){ov['set']('html','<div\x20style=\x22text-align:left\x22><SPAN\x20STYLE=\x22color:#FFFFFF;font-size:12px;font-family:Verdana\x22><span\x20color=\x22white\x22\x20font-family=\x22Verdana\x22\x20font-size=\x2212px\x22>'+oI+'</SPAN></div>');}else{ov['set']('html','');}};var oD=ou['get']('items')[oz];if(ov['get']('html')){oC('Loading...');oD['bind']('begin',oA);}else{oB(oz);}}};var oy=function(){ov['set']('html',undefined);ou['unbind']('change',ox,this);ow['unbind']('stop',oy,this);};if(ow){ow['bind']('stop',oy,this);}ou['bind']('change',ox,this);ox();};TDV['Tour']['Script']['updateVideoCues']=function(oJ,oK){var oL=oJ['get']('items')[oK];var oM=oL['get']('media');if(oM['get']('cues')['length']==0x0)return;var oN=oL['get']('player');var oO=[];var oP=function(){if(oJ['get']('selectedIndex')!=oK){oM['unbind']('cueChange',oQ,this);oJ['unbind']('change',oP,this);}};var oQ=function(oR){var oS=oR['data']['activeCues'];for(var oT=0x0,oU=oO['length'];oT<oU;++oT){var oV=oO[oT];if(oS['indexOf'](oV)==-0x1&&(oV['get']('startTime')>oN['get']('currentTime')||oV['get']('endTime')<oN['get']('currentTime')+0.5)){oV['trigger']('end');}}oO=oS;};oM['bind']('cueChange',oQ,this);oJ['bind']('change',oP,this);};TDV['Tour']['Script']['visibleComponentsIfPlayerFlagEnabled']=function(oW,oX){var oY=this['get'](oX);for(var oZ in oW){oW[oZ]['set']('visible',oY);}};TDV['Tour']['Script']['quizStart']=function(){var p0=this['get']('data')['quiz'];return p0?p0['start']():undefined;};TDV['Tour']['Script']['quizFinish']=function(){var p1=this['get']('data')['quiz'];return p1?p1['finish']():undefined;};TDV['Tour']['Script']['quizSetItemFound']=function(p2){var p3=this['get']('data')['quiz'];if(p3)p3['setItemFound'](p2);};TDV['Tour']['Script']['quizShowQuestion']=function(p4){var p5=this['get']('data');var p6=p5['quiz'];var p7;if(p6){var p8=this['pauseCurrentPlayers'](!![]);var p9=this[p4];var pa;if(!p9['media']){pa=this['get']('isMobile')?{'theme':{'window':{'height':undefined,'maxHeight':this['get']('actualHeight'),'optionsContainer':{'height':'100%'}}}}:{'theme':{'window':{'width':'40%','height':undefined,'maxHeight':0x2bc,'optionsContainer':{'width':'100%'}}}};}else if(this['get']('isMobile')&&this['get']('orientation')=='landscape'){pa={'theme':{'window':{'bodyContainer':{'layout':'horizontal','paddingLeft':0x1e,'paddingRight':0x1e},'mediaContainer':{'width':'60%','height':'100%'},'buttonsContainer':{'paddingLeft':0x14,'paddingRight':0x14},'optionsContainer':{'width':'40%','height':'100%','paddingLeft':0x0,'paddingRight':0x0}}}};}if(!p9['canClose']){pa=this['mixObject'](pa||{},{'theme':{'window':{'closeButton':{'width':0x0,'height':0x0,'paddingTop':0x0,'paddingBottom':0x0,'paddingLeft':0x0,'paddingRight':0x0}}}});}if(this['get']('isMobile')&&this['get']('orientation')=='landscape'){var pb=this['get']('data')['tour']['getNotchValue']();if(pb>0x0){pa=this['mixObject'](pa||{},{'theme':{'window':{'width':undefined,'left':pb,'right':pb}}});}}var pc=this['get']('data')['textToSpeechConfig']['speechOnQuizQuestion']&&!!p9['title'];if(pc)this['textToSpeech'](p9['title'],p4);p7=p6['showQuestion'](p4,pa);p7['then'](function(pd){if(pc)this['stopTextToSpeech']();this['resumePlayers'](p8,!![]);}['bind'](this));}return p7;};TDV['Tour']['Script']['quizShowScore']=function(pe){var pf=this['get']('data');var pg=pf['quiz'];if(pg){if(this['get']('isMobile')){pe=pe||{};pe=this['mixObject'](pe,pf[this['get']('orientation')=='portrait'?'scorePortraitConfig':'scoreLandscapeConfig']);}return pg['showScore'](pe);}};TDV['Tour']['Script']['quizShowTimeout']=function(ph,pi){var pj=this['get']('data');var pk=pj['quiz'];if(pk){if(this['get']('isMobile')){pi=pi||{};pi=this['mixObject'](pi,pj[this['get']('orientation')=='portrait'?'scorePortraitConfig':'scoreLandscapeConfig']);}pk['showTimeout'](ph,pi);}};TDV['Tour']['Script']['stopTextToSpeech']=function(pl){if(window['speechSynthesis']&&(pl==undefined||this['t2sLastID']==pl)){var pm=window['speechSynthesis'];if(pm['speaking']){pm['cancel']();}this['t2sLastID']=undefined;}};TDV['Tour']['Script']['textToSpeech']=function(pn,po,pp){if(this['get']('mute')){return;}if(window['speechSynthesis']){var pq=this['get']('data');var pr=pq['disableTTS']||![];if(pr)return;var ps=window['speechSynthesis'];if(po!=undefined&&this['t2sLastID']!=po||po==undefined){pp=pp||0x0;if(this['t2sLastID']&&pp>this['t2sLastPriority']){return;}if(ps['speaking']){ps['cancel']();}this['t2sLastPriority']=pp;this['t2sLastID']=po;var pt=new SpeechSynthesisUtterance(pn);var pu=pq['localeManager']['currentLocaleID'];if(pu)pt['lang']=pu;var pv=pq['textToSpeechConfig'];var pw;if(pv){pt['volume']=pv['volume'];pt['pitch']=pv['pitch'];pt['rate']=pv['rate'];if(pv['stopBackgroundAudio'])this['pauseGlobalAudios']();}pt['onend']=function(){this['t2sLastID']=null;if(pw)clearInterval(pw);if(pv['stopBackgroundAudio'])this['resumeGlobalAudios']();}['bind'](this);if(navigator['userAgent']['indexOf']('Chrome')!=-0x1&&!this['get']('isMobile')){pw=setInterval(function(){ps['pause']();ps['resume']();},0xbb8);}ps['speak'](pt);}}else{console['error']('Text\x20to\x20Speech\x20isn\x27t\x20supported\x20on\x20this\x20browser');}};TDV['Tour']['Script']['textToSpeechComponent']=function(px){var py=px['get']('class');var pz;if(py=='HTMLText'){pz=this['htmlToPlainText'](px['get']('html'),{'linkProcess':function(pA,pB){return pB;}});}else if(py=='BaseButton'){pz=px['get']('label');}else if(py=='Label'){pz=px['get']('text');}if(pz){this['textToSpeech'](pz,px['get']('id'));}};TDV['Tour']['Script']['_initTTSTooltips']=function(){function pC(pE){var pF=pE['source'];this['textToSpeech'](pF['get']('toolTip'),pF['get']('id'),0x1);}function pD(pG){var pH=pG['source'];this['stopTextToSpeech'](pH['get']('id'));}setTimeout(function(){var pI=this['getByClassName']('UIComponent');for(var pJ=0x0,pK=pI['length'];pJ<pK;++pJ){var pL=pI[pJ];var pM=pL['get']('toolTip');if(!!pM||pL['get']('class')=='ViewerArea'){pL['bind']('toolTipShow',pC,this);pL['bind']('toolTipHide',pD,this);}}}['bind'](this),0x0);};TDV['Tour']['Script']['htmlToPlainText']=function htmlToPlainText(pN,pO){var pP=function(q3,q4){var q5='';for(var q6=0x0;q6<q4;q6+=0x1){q5+=q3;}return q5;};var pQ=null;var pR=null;var pS='underline';var pT='indention';var pU='-';var pV=0x3;var pW='-';var pX=![];if(!!pO){if(typeof pO['linkProcess']==='function'){pQ=pO['linkProcess'];}if(typeof pO['imgProcess']==='function'){pR=pO['imgProcess'];}if(!!pO['headingStyle']){pS=pO['headingStyle'];}if(!!pO['listStyle']){pT=pO['listStyle'];}if(!!pO['uIndentionChar']){pU=pO['uIndentionChar'];}if(!!pO['listIndentionTabs']){pV=pO['listIndentionTabs'];}if(!!pO['oIndentionChar']){pW=pO['oIndentionChar'];}if(!!pO['keepNbsps']){pX=pO['keepNbsps'];}}var pY=pP(pU,pV);var pZ=String(pN)['replace'](/\n|\r/g,'\x20');const q0=pZ['match'](/<\/body>/i);if(q0){pZ=pZ['substring'](0x0,q0['index']);}const q1=pZ['match'](/<body[^>]*>/i);if(q1){pZ=pZ['substring'](q1['index']+q1[0x0]['length'],pZ['length']);}pZ=pZ['replace'](/<(script|style)( [^>]*)*>((?!<\/\1( [^>]*)*>).)*<\/\1>/gi,'');pZ=pZ['replace'](/<(\/)?((?!h[1-6]( [^>]*)*>)(?!img( [^>]*)*>)(?!a( [^>]*)*>)(?!ul( [^>]*)*>)(?!ol( [^>]*)*>)(?!li( [^>]*)*>)(?!p( [^>]*)*>)(?!div( [^>]*)*>)(?!td( [^>]*)*>)(?!br( [^>]*)*>)[^>\/])[^<>]*>/gi,'');pZ=pZ['replace'](/<img([^>]*)>/gi,function(q7,q8){var q9='';var qa='';var qb=/src="([^"]*)"/i['exec'](q8);var qc=/alt="([^"]*)"/i['exec'](q8);if(qb!==null){q9=qb[0x1];}if(qc!==null){qa=qc[0x1];}if(typeof pR==='function'){return pR(q9,qa);}if(qa===''){return'![image]\x20('+q9+')';}return'!['+qa+']\x20('+q9+')';});function q2(){return function(qd,qe,qf,qg){var qh=0x0;if(qf&&/start="([0-9]+)"/i['test'](qf)){qh=/start="([0-9]+)"/i['exec'](qf)[0x1]-0x1;}var qi='<p>'+qg['replace'](/<li[^>]*>(((?!<li[^>]*>)(?!<\/li>).)*)<\/li>/gi,function(qj,qk){var ql=0x0;var qm=qk['replace'](/(^|(<br \/>))(?!<p>)/gi,function(){if(qe==='o'&&ql===0x0){qh+=0x1;ql+=0x1;return'<br\x20/>'+qh+pP(pW,pV-String(qh)['length']);}return'<br\x20/>'+pY;});return qm;})+'</p>';return qi;};}if(pT==='linebreak'){pZ=pZ['replace'](/<\/?ul[^>]*>|<\/?ol[^>]*>|<\/?li[^>]*>/gi,'\x0a');}else if(pT==='indention'){while(/<(o|u)l[^>]*>(.*)<\/\1l>/gi['test'](pZ)){pZ=pZ['replace'](/<(o|u)l([^>]*)>(((?!<(o|u)l[^>]*>)(?!<\/(o|u)l>).)*)<\/\1l>/gi,q2());}}if(pS==='linebreak'){pZ=pZ['replace'](/<h([1-6])[^>]*>([^<]*)<\/h\1>/gi,'\x0a$2\x0a');}else if(pS==='underline'){pZ=pZ['replace'](/<h1[^>]*>(((?!<\/h1>).)*)<\/h1>/gi,function(qn,qo){return'\x0a&nbsp;\x0a'+qo+'\x0a'+pP('=',qo['length'])+'\x0a&nbsp;\x0a';});pZ=pZ['replace'](/<h2[^>]*>(((?!<\/h2>).)*)<\/h2>/gi,function(qp,qq){return'\x0a&nbsp;\x0a'+qq+'\x0a'+pP('-',qq['length'])+'\x0a&nbsp;\x0a';});pZ=pZ['replace'](/<h([3-6])[^>]*>(((?!<\/h\1>).)*)<\/h\1>/gi,function(qr,qs,qt){return'\x0a&nbsp;\x0a'+qt+'\x0a&nbsp;\x0a';});}else if(pS==='hashify'){pZ=pZ['replace'](/<h([1-6])[^>]*>([^<]*)<\/h\1>/gi,function(qu,qv,qw){return'\x0a&nbsp;\x0a'+pP('#',qv)+'\x20'+qw+'\x0a&nbsp;\x0a';});}pZ=pZ['replace'](/<br( [^>]*)*>|<p( [^>]*)*>|<\/p( [^>]*)*>|<div( [^>]*)*>|<\/div( [^>]*)*>|<td( [^>]*)*>|<\/td( [^>]*)*>/gi,'\x0a');pZ=pZ['replace'](/<a[^>]*href="([^"]*)"[^>]*>([^<]+)<\/a[^>]*>/gi,function(qx,qy,qz){if(typeof pQ==='function'){return pQ(qy,qz);}return'\x20['+qz+']\x20('+qy+')\x20';});pZ=pZ['replace'](/\n[ \t\f]*/gi,'\x0a');pZ=pZ['replace'](/\n\n+/gi,'\x0a');if(pX){pZ=pZ['replace'](/( |\t)+/gi,'\x20');pZ=pZ['replace'](/&nbsp;/gi,'\x20');}else{pZ=pZ['replace'](/( |&nbsp;|\t)+/gi,'\x20');}pZ=pZ['replace'](/\n +/gi,'\x0a');pZ=pZ['replace'](/^ +/gi,'');while(pZ['indexOf']('\x0a')===0x0){pZ=pZ['substring'](0x1);}if(pZ['length']===0x0||pZ['lastIndexOf']('\x0a')!==pZ['length']-0x1){pZ+='\x0a';}return pZ;};TDV['Tour']['Script']['openEmbeddedPDF']=function(qA,qB){var qC=!!window['MSInputMethodContext']&&!!document['documentMode'];if(qC){this['openLink'](qB,'_blank');return;}var qD=qA['get']('class');var qE=!new RegExp('^(?:[a-z]+:)?//','i')['test'](qB);if(qE&&qD=='WebFrame'){qA['set']('url','lib/pdfjs/web/viewer.html?file='+encodeURIComponent('../../../'+qB));}else{var qF=location['origin']==new URL(qB)['origin'];var qG='<iframe\x20\x20id=\x27googleViewer\x27\x20src=\x27https://docs.google.com/viewer?url=[url]&embedded=true\x27\x20width=\x27100%\x27\x20height=\x27100%\x27\x20frameborder=\x270\x27>'+'<p>This\x20browser\x20does\x20not\x20support\x20inline\x20PDFs.\x20Please\x20download\x20the\x20PDF\x20to\x20view\x20it:\x20<a\x20href=\x27[url]\x27>Download\x20PDF</a></p>'+'</iframe>';var qH=/^((?!chrome|android|crios|ipad|iphone).)*safari/i['test'](navigator['userAgent']);var qI='<div\x20id=\x22content\x22\x20style=\x22width:100%;height:100%;position:absolute;left:0;top:0;\x22></div>'+'<script\x20type=\x22text/javascript\x22>'+'!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<p>This\x20browser\x20does\x20not\x20support\x20inline\x20PDFs.\x20Please\x20download\x20the\x20PDF\x20to\x20view\x20it:\x20<a\x20href=\x27[url]\x27>Download\x20PDF</a></p>\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'+qB+'\x22,\x20\x22#content\x22,\x20{'+(qF?'\x22PDFJS_URL\x22:\x20\x22'+new URL('lib/pdfjs/web/viewer.html',document['baseURI'])['href']+'\x22,\x20':'')+'\x22fallbackLink\x22:\x20\x22'+qG+'\x22,'+'\x22forcePDFJS\x22:\x20'+qH+'});'+'if(!PDFObject.supportsPDFs\x20&&\x20!'+qF+'){'+'\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();'+'}'+'</script>';if(qD=='WebFrame'){qA['set']('url','data:text/html;charset=utf-8,'+encodeURIComponent('<!DOCTYPE\x20html>'+'<html>'+'<head></head>'+'<body\x20style=\x22height:100%;width:100%;overflow:hidden;margin:0px;background-color:rgb(82,\x2086,\x2089);\x22>'+qI+'</body>'+'</html>'));}else if(qD=='HTML'){qA['set']('content','data:text/html;charset=utf-8,'+encodeURIComponent(qI));}}};TDV['Tour']['Script']['getKey']=function(qJ){return window[qJ];};TDV['Tour']['Script']['registerKey']=function(qK,qL){window[qK]=qL;};TDV['Tour']['Script']['unregisterKey']=function(qM){delete window[qM];};TDV['Tour']['Script']['existsKey']=function(qN){return qN in window;};
//# sourceMappingURL=http://localhost:9000/script_v2021.0.6.js.map
//Generated with v2021.0.6, Mon Apr 5 2021