if(!Object['hasOwnProperty']('values')){Object['values']=function(c){return Object['keys'](c)['map'](function(d){return c[d];});};}if(!String['prototype']['startsWith']){String['prototype']['startsWith']=function(e,f){f=f||0x0;return this['indexOf'](e,f)===f;};}TDV['EventDispatcher']=function(){this['_handlers']={};};TDV['EventDispatcher']['prototype']['bind']=function(g,h){if(!(g in this['_handlers']))this['_handlers'][g]=[];this['_handlers'][g]['push'](h);};TDV['EventDispatcher']['prototype']['unbind']=function(i,j){if(i in this['_handlers']){var k=this['_handlers'][i]['indexOf'](j);if(k!=-0x1)this['_handlers'][i]['splice'](k,0x1);}};TDV['EventDispatcher']['prototype']['createNewEvent']=function(l){if(typeof Event==='function')return new Event(l);var m=document['createEvent']('Event');m['initEvent'](l,!![],!![]);return m;};TDV['EventDispatcher']['prototype']['dispatchEvent']=function(n){if(n['type']in this['_handlers']){var o=this['_handlers'][n['type']];for(var p=0x0;p0x0)return;}if(v['sourceClassName']=='MediaAudio')return;this['_isInitialized']=!![];u['unbind']('preloadMediaShow',t,u,!![]);u['unbindOnObjectsOf']('PanoramaPlayListItem','begin',t,u,!![]);u['unbind']('stateChange',t,u,!![]);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'];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;S0x2){var by=typeof arguments[0x2]=='object'?arguments[0x2]:undefined;var bz=arguments;function bA(bB){return/^\d+$/['test'](bB);}bx=bx['replace'](/\{\{([\w\.]+)\}\}/g,function(bC,bD){if(bA(bD))bD=bz[parseInt(bD)+0x1];else if(by!==undefined)bD=by[bD];if(typeof bD=='string')bD=this['currentLocaleMap'][bD]||bD;else if(typeof bD=='function')bD=bD['call'](this['rootPlayer']);return bD!==undefined?bD:'';}['bind'](this));}return bx;};TDV['Tour']['LocaleManager']['prototype']['_parsePropertiesContent']=function(bE){bE=bE['replace'](/(^|\n)#[^\n]*/g,'');var bF={};var bG=bE['split']('\x0a');for(var bH=0x0,bI=bG['length'];bH0x0;};TDV['Tour']['HistoryData']['prototype']['canForward']=function(){return this['pointer']>=0x0&&this['pointer']=0x0&&cb>=0x0&&cc!=cb){var cd=ca['get']('items')[cc];var ce=ca['get']('items')[cb];var cf=cd['get']('player');var cg=ce['get']('player');if((cf['get']('class')=='PanoramaPlayer'||cf['get']('class')=='Video360Player')&&(cg['get']('class')=='PanoramaPlayer'||cg['get']('class')=='Video360Player')){var ch=this['cloneCamera'](ce['get']('camera'));this['setCameraSameSpotAsMedia'](ch,cd['get']('media'));this['startPanoramaWithCamera'](ce['get']('media'),ch);}}};TDV['Tour']['Script']['cloneCamera']=function(ci){var cj=this['rootPlayer']['createInstance'](ci['get']('class'));cj['set']('id',ci['get']('id')+'_copy');var ck=['initialSequence','idleSequence','manualRotationSpeed','manualZoomSpeed','automaticRotationSpeed','automaticZoomSpeed','timeToIdle','sequences','draggingFactor'];for(var cl=0x0;cl0x0){var cI=cG[cH];if(cI['get']('viewerArea')==cF){var cJ=cI['get']('class');if(cJ=='PanoramaPlayer'&&(cI['get']('panorama')!=undefined||cI['get']('video')!=undefined))return cI;else if((cJ=='VideoPlayer'||cJ=='Video360Player')&&cI['get']('video')!=undefined)return cI;else if(cJ=='PhotoAlbumPlayer'&&cI['get']('photoAlbum')!=undefined)return cI;else if(cJ=='MapPlayer'&&cI['get']('map')!=undefined)return cI;}}return undefined;};TDV['Tour']['Script']['getCurrentPlayerWithMedia']=function(cK){var cL=undefined;var cM=undefined;switch(cK['get']('class')){case'Panorama':case'LivePanorama':case'HDRPanorama':cL='PanoramaPlayer';cM='panorama';break;case'Video360':cL='PanoramaPlayer';cM='video';break;case'PhotoAlbum':cL='PhotoAlbumPlayer';cM='photoAlbum';break;case'Map':cL='MapPlayer';cM='map';break;case'Video':cL='VideoPlayer';cM='video';break;};if(cL!=undefined){var cN=this['getByClassName'](cL);for(var cO=0x0;cOd9)d9=db['get']('width');}return d9;}else{return db['get']('width');}default:return d7['get']('width');}};TDV['Tour']['Script']['getMediaHeight']=function(dc){switch(dc['get']('class')){case'Video360':var dd=dc['get']('video');if(dd instanceof Array){var de=0x0;for(var df=0x0;dfde)de=dg['get']('height');}return de;}else{return dg['get']('height');}default:return dc['get']('height');}};TDV['Tour']['Script']['getOverlays']=function(dh){switch(dh['get']('class')){case'LivePanorama':case'HDRPanorama':case'Panorama':var di=dh['get']('overlays')['concat']()||[];var dj=dh['get']('frames');for(var dk=0x0;dk=0x0;--dM){var dN=dL[dM];var dO=dN['get']('player');if(dO!==undefined&&dO['get']('viewerArea')==dG)return!![];}return![];};for(var dJ=dH['length']-0x1;dJ>=0x0;--dJ){if(!dI(dH[dJ]))dH['splice'](dJ,0x1);}return dH;};TDV['Tour']['Script']['getPlayListWithItem']=function(dP){var dQ=this['getByClassName']('PlayList');for(var dR=dQ['length']-0x1;dR>=0x0;--dR){var dS=dQ[dR];var dT=dS['get']('items');for(var dU=dT['length']-0x1;dU>=0x0;--dU){var dV=dT[dU];if(dV==dP)return dS;}}return undefined;};TDV['Tour']['Script']['getFirstPlayListWithMedia']=function(dW,dX){var dY=this['getPlayListsWithMedia'](dW,dX);return dY['length']>0x0?dY[0x0]:undefined;};TDV['Tour']['Script']['getPlayListItemByMedia']=function(dZ,e0){var e1=dZ['get']('items');for(var e2=0x0,e3=e1['length'];e2=0x0;--e9){var ea=e8[e9];if(ea['get']('media')!=e5||e6!=undefined&&ea['get']('player')!=e6){e8['splice'](e9,0x1);}}return e8;}else{return[];}};TDV['Tour']['Script']['historyGoBack']=function(eb){var ec=this['get']('data')['history'][eb['get']('id')];if(ec!=undefined){ec['back']();}};TDV['Tour']['Script']['historyGoForward']=function(ed){var ee=this['get']('data')['history'][ed['get']('id')];if(ee!=undefined){ee['forward']();}};TDV['Tour']['Script']['init']=function(){var ef=this['get']('data')['history'];var eg=function(el){var em=el['source'];var en=em['get']('selectedIndex');if(en<0x0)return;var eo=em['get']('id');if(!ef['hasOwnProperty'](eo))ef[eo]=new TDV['Tour']['HistoryData'](em);ef[eo]['add'](en);};var eh=this['getByClassName']('PlayList');for(var ei=0x0,ej=eh['length'];ei0x0){var eO=eM['get']('data')['name'];eM['bind']('click',this['sendAnalyticsData']['bind'](this,'Skin','click',eO),this,![]);}}var eP=this['getByClassName']('PlayListItem');var eQ={};for(var ew=0x0,ez=eP['length'];ew0x0&&f6[0x0]['get']('viewMode')=='cardboard';};TDV['Tour']['Script']['isPanorama']=function(f7){return['Panorama','HDRPanorama','LivePanorama','Video360','VideoPanorama']['indexOf'](f7['get']('class'))!=-0x1;};TDV['Tour']['Script']['keepCompVisible']=function(f8,f9){var fa='keepVisibility_'+f8['get']('id');var fb=this['getKey'](fa);if(fb==undefined&&f9){this['registerKey'](fa,f9);}else if(fb!=undefined&&!f9){this['unregisterKey'](fa);}};TDV['Tour']['Script']['_initItemWithComps']=function(fc,fd,fe,ff,fg,fh,fi,fj){var fk=fc['get']('items')[fd];var fl=fk['get']('media');var fm=fl['get']('loop')==undefined||fl['get']('loop');var fn=fj>0x0;var fo=this['rootPlayer'];var fp=function(fx){var fy=fh?fh['get']('class'):undefined;var fz=undefined;switch(fy){case'FadeInEffect':case'FadeOutEffect':fz=fo['createInstance'](fx?'FadeInEffect':'FadeOutEffect');break;case'SlideInEffect':case'SlideOutEffect':fz=fo['createInstance'](fx?'SlideInEffect':'SlideOutEffect');break;}if(fz){fz['set']('duration',fh['get']('duration'));fz['set']('easing',fh['get']('easing'));if(fy['indexOf']('Slide')!=-0x1)fz['set'](fx?'from':'to',fh['get'](fh['get']('class')=='SlideInEffect'?'from':'to'));}return fz;};var fq=function(){for(var fA=0x0,fB=fe['length'];fA0x0){this['setComponentVisibility'](fC,!fg,0x0,fp(!fg));}else{var fD='visibility_'+fC['get']('id');if(this['existsKey'](fD)){if(this['getKey'](fD))this['setComponentVisibility'](fC,!![],0x0,fp(!![]));else this['setComponentVisibility'](fC,![],0x0,fp(![]));this['unregisterKey'](fD);}}}fk['unbind']('end',fq,this);if(!fm)fl['unbind']('end',fq,this);};var fr=function(){fk['unbind']('stop',fr,this,!![]);fk['unbind']('stop',fr,this);fk['unbind']('begin',fr,this,!![]);fk['unbind']('begin',fr,this);for(var fE=0x0,fF=fe['length'];fE0x0){var fR=fH+fI+(fQ!=undefined?fQ['get']('duration'):0x0);fo['setComponentVisibility'](fO,!fP,fR,fp(!fP),fP?'hideEffect':'showEffect',!![]);}};for(var fL=0x0,fM=fe['length'];fL0x0){fs('begin',fj,0x0);fj=0x0;}if(ff!=undefined)fs(ff,fi,fj);};TDV['Tour']['Script']['loadFromCurrentMediaPlayList']=function(fS,fT){var fU=fS['get']('selectedIndex');var fV=fS['get']('items')['length'];var fW=(fU+fT)%fV;while(fW<0x0){fW=fV+fW;}if(fU!=fW){fS['set']('selectedIndex',fW);}};TDV['Tour']['Script']['mixObject']=function(fX,fY){return this['assignObjRecursively'](fY,this['copyObjRecursively'](fX));};TDV['Tour']['Script']['openLink']=function(fZ,g0){if(!fZ||fZ==location['href']){return;}var g1=window&&window['process']&&window['process']['versions']&&window['process']['versions']['electron']||navigator&&navigator['userAgent']&&navigator['userAgent']['indexOf']('Electron')>=0x0;if(g0=='_blank'&&g1){if(fZ['startsWith']('/')){var g2=window['location']['href']['split']('/');g2['pop']();fZ=g2['join']('/')+fZ;}var g3=fZ['split']('.')['pop']()['toLowerCase']();if(['pdf','zip']['indexOf'](g3)==-0x1||fZ['startsWith']('file://')){var g4=window['require']('electron')['shell'];g4['openExternal'](fZ);}else{window['open'](fZ,g0);}}else if(g1&&(g0=='_top'||g0=='_self')){window['location']=fZ;}else{var g5=window['open'](fZ,g0);g5['focus']();}};TDV['Tour']['Script']['pauseCurrentPlayers']=function(g6){var g7=this['getCurrentPlayers']();var g8=g7['length'];while(g8-->0x0){var g9=g7[g8];if(g9['get']('state')=='playing'||g9['get']('viewerArea')&&g9['get']('viewerArea')['get']('id')==this['getMainViewer']()||g9['get']('camera')&&g9['get']('camera')['get']('idleSequence')&&g9['get']('camera')['get']('timeToIdle')>0x0){var gb=this['getMediaFromPlayer'](g9);if(g6&&gb&&gb['get']('class')!='Video360'&&'pauseCamera'in g9){g9['pauseCamera']();}else{g9['pause']();}}else{g7['splice'](g8,0x1);}}return g7;};TDV['Tour']['Script']['pauseGlobalAudiosWhilePlayItem']=function(gc,gd,ge){var gf=function(){if(gc['get']('selectedIndex')!=gd){this['resumeGlobalAudios']();}};this['pauseGlobalAudios'](ge);this['executeFunctionWhenChange'](gc,gd,gf,gf);};TDV['Tour']['Script']['pauseGlobalAudios']=function(gg){this['stopTextToSpeech']();if(window['pausedAudiosLIFO']==undefined)window['pausedAudiosLIFO']=[];var gh=this['getByClassName']('VideoPanoramaOverlay');for(var gj=gh['length']-0x1;gj>=0x0;--gj){var gk=gh[gj];var gl=gk['get']('data');if(gl&&gl['hasAudio']==![])gh['splice'](gj,0x1);}var gm=this['getByClassName']('Audio')['concat'](gh);if(window['currentGlobalAudios']!=undefined)gm=gm['concat'](Object['values'](window['currentGlobalAudios'])['map'](function(gq){return gq['audio'];}));var gn=[];for(var gj=0x0,go=gm['length'];gj=gy['length']){if(!gz)return;gA=0x0;}gB=gy[gA];gC(gB,gD,!![]);};gD();};TDV['Tour']['Script']['playGlobalAudioWhilePlay']=function(gE,gF,gG,gH,gI){var gJ=function(gV){if(gV['data']['previousSelectedIndex']==gF){this['stopGlobalAudio'](gG);if(gN){var gW=gM['get']('media');var gX=gW['get']('audios');gX['splice'](gX['indexOf'](gG),0x1);gW['set']('audios',gX);}gE['unbind']('change',gJ,this);if(gH)gH();}};var gL=window['currentGlobalAudios'];if(gL&&gG['get']('id')in gL){gG=gL[gG['get']('id')]['audio'];if(gG['get']('state')!='playing'){gG['play']();}return gG;}gE['bind']('change',gJ,this);var gM=gE['get']('items')[gF];var gN=gM['get']('class')=='PanoramaPlayListItem';if(gN){var gO=gM['get']('media');var gL=(gO['get']('audios')||[])['slice']();if(gG['get']('class')=='MediaAudio'){var gP=this['rootPlayer']['createInstance']('PanoramaAudio');gP['set']('autoplay',![]);gP['set']('audio',gG['get']('audio'));gP['set']('loop',gG['get']('loop'));gP['set']('id',gG['get']('id'));var gQ=gG['getBindings']('stateChange');for(var gR=0x0;gR0x0){var hu=setTimeout(function(){if(window[hs]instanceof Array){var hx=window[hs];var hy=hx['indexOf'](hu);hx['splice'](hy,0x1);if(hx['length']==0x0){delete window[hs];}}else{delete window[hs];}hr();},hm);if(window['hasOwnProperty'](hs)){window[hs]=[window[hs],hu];}else{window[hs]=hu;}}else{hr();}};TDV['Tour']['Script']['setLocale']=function(hz){this['stopTextToSpeech']();this['get']('data')['localeManager']['setLocale'](hz);};TDV['Tour']['Script']['setEndToItemIndex']=function(hA,hB,hC){var hD=function(){if(hA['get']('selectedIndex')==hB){var hE=hA['get']('items')[hC];var hF=hE['get']('player');if(hF){var hG=hF['get']('viewerArea');if(hG&&hG['get']('translationTransitionEnabled')==!![]){var hH=function(hI){var hJ=hI['source'];hJ['unbind']('begin',hH,this);hG['set']('translationTransitionEnabled',!![]);};hG['set']('translationTransitionEnabled',![]);hE['bind']('begin',hH,this);}}hA['set']('selectedIndex',hC);}};this['executeFunctionWhenChange'](hA,hB,hD);};TDV['Tour']['Script']['setMapLocation']=function(hK,hL){var hM=function(){hK['unbind']('stop',hM,this);hN['set']('mapPlayer',null);};hK['bind']('stop',hM,this);var hN=hK['get']('player');hN['set']('mapPlayer',hL);};TDV['Tour']['Script']['setMainMediaByIndex']=function(hO){var hP=undefined;if(hO>=0x0&&hO0x0&&iq['get']('movements')[ip-0x1]['get']('class')=='TargetPanoramaCameraMovement'){var iA=ir['get']('initialPosition');var iB=iA['get']('yaw');var iC=iA['get']('pitch');var iD=iA['get']('hfov');var iE=iq['get']('movements')[ip-0x1];iA['set']('yaw',iE['get']('targetYaw'));iA['set']('pitch',iE['get']('targetPitch'));iA['set']('hfov',iE['get']('targetHfov'));var iF=function(iI){iA['set']('yaw',iB);iA['set']('pitch',iC);iA['set']('hfov',iD);ik['unbind']('end',iF,this);};ik['bind']('end',iF,this);}iq['set']('movementIndex',ip);}}if(ii){ih['unbind']('begin',i7,this);ii['unbind']('stateChange',i6,this);for(var iG=0x0;iG0x1&&(iH==undefined||iH==ih['get']('media'))){id['set']('selectedIndex',ig);}if(i1!=id)id['unbind']('change',i8,this);}else{il['set']('visible',im);}id=undefined;};if(!i3){var ib=i1['get']('selectedIndex');var ic=ib!=-0x1?i1['get']('items')[i1['get']('selectedIndex')]['get']('player'):this['getActivePlayerWithViewer'](this['getMainViewer']());if(ic){i3=this['getMediaFromPlayer'](ic);}}var id=undefined;if(i3){var ie=this['getPlayListsWithMedia'](i3,!![]);id=ie['indexOf'](i1)!=-0x1?i1:ie['length']>0x0?ie[0x0]:undefined;}if(!id){i1['set']('selectedIndex',i2);return;}var ig=id['get']('selectedIndex');var ih=i1['get']('items')[i2];var ii=ih['get']('player');var ij=this['getMediaFromPlayer'](ii);if(i1['get']('selectedIndex')==i2&&ij==ih['get']('media')||ig==-0x1){return;}if(i1['get']('selectedIndex')==i2&&ij!=ih['get']('media'))i1['set']('selectedIndex',-0x1);var ik=id['get']('items')[ig];var il=ii['get']('viewerArea');var im=il['get']('visible');var io=il==ik['get']('player')['get']('viewerArea');if(io){if(i1!=id){id['set']('selectedIndex',-0x1);id['bind']('change',i8,this);}}else{il['set']('visible',!![]);}var ip=-0x1;var iq=undefined;var ir=ik['get']('camera');if(ir){iq=ir['get']('initialSequence');if(iq){ip=iq['get']('movementIndex');}}i1['set']('selectedIndex',i2);var is=[];var it=function(iJ){var iK=ii['get'](iJ);if(iK==undefined)return;if(Array['isArray'](iK))is=is['concat'](iK);else is['push'](iK);};it('buttonStop');for(var iu=0x0;iu=0x0)clearTimeout(jC);jy['bind']('rollOut',jE,this);};var jE=function(){var jI=function(){jB['call'](this,![]);};jy['unbind']('rollOut',jE,this);jC=setTimeout(jI['bind'](this),jA);};jy['bind']('rollOver',jD,this);}};TDV['Tour']['Script']['showPopupMedia']=function(jJ,jK,jL,jM,jN,jO){var jP=this;var jQ=function(){jL['set']('selectedIndex',-0x1);jP['getMainViewer']()['set']('toolTipEnabled',!![]);this['resumePlayers'](jV,!![]);if(jU){this['unbind']('resize',jS,this);}jJ['unbind']('close',jQ,this);};var jR=function(){jJ['hide']();};var jS=function(){var jW=function(kd){return jJ['get'](kd)||0x0;};var jX=jP['get']('actualWidth');var jY=jP['get']('actualHeight');var jZ=jP['getMediaWidth'](jK);var k0=jP['getMediaHeight'](jK);var k1=parseFloat(jM)/0x64;var k2=parseFloat(jN)/0x64;var k3=k1*jX;var k4=k2*jY;var k5=jW('footerHeight');var k6=jW('headerHeight');if(!k6){var k7=jW('closeButtonIconHeight')+jW('closeButtonPaddingTop')+jW('closeButtonPaddingBottom');var k8=jP['getPixels'](jW('titleFontSize'))+jW('titlePaddingTop')+jW('titlePaddingBottom');k6=k7>k8?k7:k8;k6+=jW('headerPaddingTop')+jW('headerPaddingBottom');}var k9=k3-jW('bodyPaddingLeft')-jW('bodyPaddingRight')-jW('paddingLeft')-jW('paddingRight');var ka=k4-k6-k5-jW('bodyPaddingTop')-jW('bodyPaddingBottom')-jW('paddingTop')-jW('paddingBottom');var kb=k9/ka;var kc=jZ/k0;if(kb>kc){k3=ka*kc+jW('bodyPaddingLeft')+jW('bodyPaddingRight')+jW('paddingLeft')+jW('paddingRight');}else{k4=k9/kc+k6+k5+jW('bodyPaddingTop')+jW('bodyPaddingBottom')+jW('paddingTop')+jW('paddingBottom');}if(k3>jX*k1){k3=jX*k1;}if(k4>jY*k2){k4=jY*k2;}jJ['set']('width',k3);jJ['set']('height',k4);jJ['set']('x',(jX-jW('actualWidth'))*0.5);jJ['set']('y',(jY-jW('actualHeight'))*0.5);};if(jO){this['executeFunctionWhenChange'](jL,0x0,jR);}var jT=jK['get']('class');var jU=jT=='Video'||jT=='Video360';jL['set']('selectedIndex',0x0);if(jU){this['bind']('resize',jS,this);jS();jL['get']('items')[0x0]['get']('player')['play']();}else{jJ['set']('width',jM);jJ['set']('height',jN);}this['getMainViewer']()['set']('toolTipEnabled',![]);var jV=this['pauseCurrentPlayers'](!![]);jJ['bind']('close',jQ,this);jJ['show'](this,!![]);};TDV['Tour']['Script']['showPopupImage']=function(ke,kf,kg,kh,ki,kj,kk,kl,km,kn,ko,kp){var kq=![];var kr=function(){kI['unbind']('loaded',ku,this);ky();};var ks=function(){kI['unbind']('click',ks,this);if(kM!=undefined){clearTimeout(kM);}};var kt=function(){setTimeout(kC,0x0);};var ku=function(){this['unbind']('click',kr,this);kH['set']('visible',!![]);kC();kJ['set']('visible',!![]);kI['unbind']('loaded',ku,this);kI['bind']('userInteractionStart',kD,this);kI['bind']('userInteractionEnd',kE,this);kI['bind']('resize',kt,this);kM=setTimeout(kv['bind'](this),0xc8);};var kv=function(){kM=undefined;if(kl){kI['bind']('click',ks,this);kx();}kI['bind']('backgroundClick',ky,this);if(kf){kI['bind']('click',kA,this);kI['set']('imageCursor','hand');}kJ['bind']('click',ky,this);if(ko)ko['call'](this);};var kw=function(){if(kl&&kM){clearTimeout(kM);kM=undefined;}};var kx=function(){if(kl){kw();kM=setTimeout(ky['bind'](this),kl);}};var ky=function(){this['getMainViewer']()['set']('toolTipEnabled',!![]);kq=!![];if(kM)clearTimeout(kM);if(kN)clearTimeout(kN);if(kl)ks();if(kp)kp['call'](this);kI['set']('visible',![]);if(kj&&kj['get']('duration')>0x0){kj['bind']('end',kz,this);}else{kI['set']('image',null);}kJ['set']('visible',![]);kH['set']('visible',![]);this['unbind']('click',kr,this);kI['unbind']('backgroundClick',ky,this);kI['unbind']('userInteractionStart',kD,this);kI['unbind']('userInteractionEnd',kE,this,!![]);kI['unbind']('resize',kt,this);if(kf){kI['unbind']('click',kA,this);kI['set']('cursor','default');}kJ['unbind']('click',ky,this);this['resumePlayers'](kL,km==null||kn);if(kn){this['resumeGlobalAudios']();}if(km){this['stopGlobalAudio'](km);}};var kz=function(){kI['set']('image',null);kj['unbind']('end',kz,this);};var kA=function(){kI['set']('image',kB()?ke:kf);};var kB=function(){return kI['get']('image')==kf;};var kC=function(){var kO=kI['get']('actualWidth')-kI['get']('imageLeft')-kI['get']('imageWidth')+0xa;var kP=kI['get']('imageTop')+0xa;if(kO<0xa)kO=0xa;if(kP<0xa)kP=0xa;kJ['set']('right',kO);kJ['set']('top',kP);};var kD=function(){kw();if(kN){clearTimeout(kN);kN=undefined;}else{kJ['set']('visible',![]);}};var kE=function(){kx();if(!kq){kN=setTimeout(kF,0x12c);}};var kF=function(){kN=undefined;kJ['set']('visible',!![]);kC();};var kG=function(kQ){var kR=kQ['get']('data');if(kR&&'extraLevels'in kR){var kS=this['rootPlayer']['createInstance'](kQ['get']('class'));var kT=kR['extraLevels'];kS['set']('levels',kQ['get']('levels')['concat'](kT));kQ=kS;}return kQ;};this['getMainViewer']()['set']('toolTipEnabled',![]);var kH=this['veilPopupPanorama'];var kI=this['zoomImagePopupPanorama'];var kJ=this['closeButtonPopupPanorama'];if(kk){for(var kK in kk){kJ['set'](kK,kk[kK]);}}var kL=this['pauseCurrentPlayers'](km==null||!kn);if(kn){this['pauseGlobalAudios']();}if(km){this['playGlobalAudio'](km);}var kM=undefined;var kN=undefined;ke=kG['call'](this,ke);if(kf)kf=kG['call'](this,kf);kI['bind']('loaded',ku,this);setTimeout(function(){this['bind']('click',kr,this,![]);}['bind'](this),0x0);kI['set']('image',ke);kI['set']('customWidth',kg);kI['set']('customHeight',kh);kI['set']('showEffect',ki);kI['set']('hideEffect',kj);kI['set']('visible',!![]);return kI;};TDV['Tour']['Script']['showPopupPanoramaOverlay']=function(kU,kV,kW,kX,kY,kZ,l0){var l1=this['isCardboardViewMode']();if(kU['get']('visible')||!l1&&this['zoomImagePopupPanorama']['get']('visible'))return;this['getMainViewer']()['set']('toolTipEnabled',![]);if(!l1){var l2=this['zoomImagePopupPanorama'];var l3=kU['get']('showDuration');var l4=kU['get']('hideDuration');var l6=this['pauseCurrentPlayers'](kZ==null||!l0);var l7=kU['get']('popupMaxWidth');var l8=kU['get']('popupMaxHeight');var l9=function(){var lc=function(){if(!this['isCardboardViewMode']())kU['set']('visible',![]);};kU['unbind']('showEnd',l9,this);kU['set']('showDuration',0x1);kU['set']('hideDuration',0x1);this['showPopupImage'](kW,kX,kU['get']('popupMaxWidth'),kU['get']('popupMaxHeight'),null,null,kV,kY,kZ,l0,lc,la);};var la=function(){var ld=function(){kU['unbind']('showEnd',ld,this);kU['set']('visible',![]);kU['set']('showDuration',l3);kU['set']('popupMaxWidth',l7);kU['set']('popupMaxHeight',l8);};this['resumePlayers'](l6,kZ==null||!l0);var le=l2['get']('imageWidth');var lf=l2['get']('imageHeight');kU['bind']('showEnd',ld,this,!![]);kU['set']('showDuration',0x1);kU['set']('hideDuration',l4);kU['set']('popupMaxWidth',le);kU['set']('popupMaxHeight',lf);if(kU['get']('visible'))ld();else kU['set']('visible',!![]);this['getMainViewer']()['set']('toolTipEnabled',!![]);};kU['bind']('showEnd',l9,this,!![]);}else{var lb=function(){this['resumePlayers'](l6,kZ==null||l0);if(l0){this['resumeGlobalAudios']();}if(kZ){this['stopGlobalAudio'](kZ);}kU['unbind']('hideEnd',lb,this);this['getMainViewer']()['set']('toolTipEnabled',!![]);};var l6=this['pauseCurrentPlayers'](kZ==null||!l0);if(l0){this['pauseGlobalAudios']();}if(kZ){this['playGlobalAudio'](kZ);}kU['bind']('hideEnd',lb,this,!![]);}kU['set']('visible',!![]);};TDV['Tour']['Script']['showPopupPanoramaVideoOverlay']=function(lg,lh,li){var lj=this;var lk=function(){lg['unbind']('showEnd',lk);lo['bind']('click',lm,this);ln();lo['set']('visible',!![]);};var ll=function(){if(!lg['get']('loop'))lm();};var lm=function(){lj['getMainViewer']()['set']('toolTipEnabled',!![]);lg['set']('visible',![]);lo['set']('visible',![]);lo['unbind']('click',lm,lj);lg['unbind']('end',ll,lj);lg['unbind']('hideEnd',lm,lj,!![]);lj['resumePlayers'](lq,!![]);if(li){lj['resumeGlobalAudios']();}};var ln=function(){var lr=0xa;var ls=0xa;lo['set']('right',lr);lo['set']('top',ls);};this['getMainViewer']()['set']('toolTipEnabled',![]);var lo=this['closeButtonPopupPanorama'];if(lh){for(var lp in lh){lo['set'](lp,lh[lp]);}}var lq=this['pauseCurrentPlayers'](!![]);if(li){this['pauseGlobalAudios']();}lg['bind']('end',ll,this,!![]);lg['bind']('showEnd',lk,this,!![]);lg['bind']('hideEnd',lm,this,!![]);lg['set']('visible',!![]);};TDV['Tour']['Script']['showWindow']=function(lt,lu,lv){if(lt['get']('visible')==!![]){return;}var lw=function(){this['getMainViewer']()['set']('toolTipEnabled',!![]);if(lv){this['resumeGlobalAudios']();}lx();this['resumePlayers'](lA,!lv);lt['unbind']('close',lw,this);};var lx=function(){lt['unbind']('click',lx,this);if(ly!=undefined){clearTimeout(ly);}};var ly=undefined;if(lu){var lz=function(){lt['hide']();};lt['bind']('click',lx,this);ly=setTimeout(lz,lu);}this['getMainViewer']()['set']('toolTipEnabled',![]);if(lv){this['pauseGlobalAudios']();}var lA=this['pauseCurrentPlayers'](!lv);lt['bind']('close',lw,this);lt['show'](this,!![]);};TDV['Tour']['Script']['startPanoramaWithCamera']=function(lB,lC){var lD=this['getByClassName']('PlayList');if(lD['length']==0x0)return;var lE=window['currentPanoramasWithCameraChanged']==undefined||!(lB['get']('id')in window['currentPanoramasWithCameraChanged']);var lF=[];for(var lH=0x0,lI=lD['length'];lH0x0){if(window['currentPanoramasWithCameraChanged']==undefined){window['currentPanoramasWithCameraChanged']={};}var lP=lB['get']('id');window['currentPanoramasWithCameraChanged'][lP]=lF;var lQ=function(){if(lP in window['currentPanoramasWithCameraChanged']){delete window['currentPanoramasWithCameraChanged'][lP];}for(var lV=0x0;lV=0x0){location['hash']='#media='+(mv+0x1);}else{var mw=this['getActiveMediaWithViewer'](this['getMainViewer']());if(mw!=undefined){var mx=mw['get']('data');if(mx){location['hash']='#media-name='+mx['label'];}}}};TDV['Tour']['Script']['updateMediaLabelFromPlayList']=function(my,mz,mA){var mB=function(){var mD=my['get']('selectedIndex');if(mD>=0x0){var mE=function(){mH['unbind']('begin',mE);mF(mD);};var mF=function(mI){var mJ=mH['get']('media');var mK=mJ['get']('data');var mL=mK!==undefined?mK['description']||mJ['get']('label'):mJ['get']('label');mG(mL);};var mG=function(mM){if(mM!==undefined){mz['set']('html',''+mM+'');}else{mz['set']('html','');}};var mH=my['get']('items')[mD];if(mz['get']('html')){mG('Loading...');mH['bind']('begin',mE);}else{mF(mD);}}};var mC=function(){mz['set']('html',undefined);my['unbind']('change',mB,this);mA['unbind']('stop',mC,this);};if(mA){mA['bind']('stop',mC,this);}my['bind']('change',mB,this);mB();};TDV['Tour']['Script']['updateVideoCues']=function(mN,mO){var mP=mN['get']('items')[mO];var mQ=mP['get']('media');if(mQ['get']('cues')['length']==0x0)return;var mR=mP['get']('player');var mS=[];var mT=function(){if(mN['get']('selectedIndex')!=mO){mQ['unbind']('cueChange',mU,this);mN['unbind']('change',mT,this);}};var mU=function(mV){var mW=mV['data']['activeCues'];for(var mX=0x0,mY=mS['length'];mXmR['get']('currentTime')||mZ['get']('endTime')/i);if(nY){nX=nX['substring'](0x0,nY['index']);}const nZ=nX['match'](/]*>/i);if(nZ){nX=nX['substring'](nZ['index']+nZ[0x0]['length'],nX['length']);}nX=nX['replace'](/<(script|style)( [^>]*)*>((?!<\/\1( [^>]*)*>).)*<\/\1>/gi,'');nX=nX['replace'](/<(\/)?((?!h[1-6]( [^>]*)*>)(?!img( [^>]*)*>)(?!a( [^>]*)*>)(?!ul( [^>]*)*>)(?!ol( [^>]*)*>)(?!li( [^>]*)*>)(?!p( [^>]*)*>)(?!div( [^>]*)*>)(?!td( [^>]*)*>)(?!br( [^>]*)*>)[^>\/])[^<>]*>/gi,'');nX=nX['replace'](/]*)>/gi,function(o5,o6){var o7='';var o8='';var o9=/src="([^"]*)"/i['exec'](o6);var oa=/alt="([^"]*)"/i['exec'](o6);if(o9!==null){o7=o9[0x1];}if(oa!==null){o8=oa[0x1];}if(typeof nP==='function'){return nP(o7,o8);}if(o8===''){return'![image]\x20('+o7+')';}return'!['+o8+']\x20('+o7+')';});function o0(){return function(ob,oc,od,oe){var of=0x0;if(od&&/start="([0-9]+)"/i['test'](od)){of=/start="([0-9]+)"/i['exec'](od)[0x1]-0x1;}var og='

'+oe['replace'](/]*>(((?!]*>)(?!<\/li>).)*)<\/li>/gi,function(oh,oi){var oj=0x0;var ok=oi['replace'](/(^|(
))(?!

)/gi,function(){if(oc==='o'&&oj===0x0){of+=0x1;oj+=0x1;return''+of+nN(nU,nT-String(of)['length']);}return''+nW;});return ok;})+'

';return og;};}if(nR==='linebreak'){nX=nX['replace'](/<\/?ul[^>]*>|<\/?ol[^>]*>|<\/?li[^>]*>/gi,'\x0a');}else if(nR==='indention'){while(/<(o|u)l[^>]*>(.*)<\/\1l>/gi['test'](nX)){nX=nX['replace'](/<(o|u)l([^>]*)>(((?!<(o|u)l[^>]*>)(?!<\/(o|u)l>).)*)<\/\1l>/gi,o0());}}if(nQ==='linebreak'){nX=nX['replace'](/]*>([^<]*)<\/h\1>/gi,'\x0a$2\x0a');}else if(nQ==='underline'){nX=nX['replace'](/]*>(((?!<\/h1>).)*)<\/h1>/gi,function(ol,om){return'\x0a \x0a'+om+'\x0a'+nN('=',om['length'])+'\x0a \x0a';});nX=nX['replace'](/]*>(((?!<\/h2>).)*)<\/h2>/gi,function(on,oo){return'\x0a \x0a'+oo+'\x0a'+nN('-',oo['length'])+'\x0a \x0a';});nX=nX['replace'](/]*>(((?!<\/h\1>).)*)<\/h\1>/gi,function(op,oq,or){return'\x0a \x0a'+or+'\x0a \x0a';});}else if(nQ==='hashify'){nX=nX['replace'](/]*>([^<]*)<\/h\1>/gi,function(os,ot,ou){return'\x0a \x0a'+nN('#',ot)+'\x20'+ou+'\x0a \x0a';});}nX=nX['replace'](/]*)*>|]*)*>|<\/p( [^>]*)*>|]*)*>|<\/div( [^>]*)*>|]*)*>|<\/td( [^>]*)*>/gi,'\x0a');nX=nX['replace'](/]*href="([^"]*)"[^>]*>([^<]+)<\/a[^>]*>/gi,function(ov,ow,ox){if(typeof nO==='function'){return nO(ow,ox);}return'\x20['+ox+']\x20('+ow+')\x20';});nX=nX['replace'](/\n[ \t\f]*/gi,'\x0a');nX=nX['replace'](/\n\n+/gi,'\x0a');if(nV){nX=nX['replace'](/( |\t)+/gi,'\x20');nX=nX['replace'](/ /gi,'\x20');}else{nX=nX['replace'](/( | |\t)+/gi,'\x20');}nX=nX['replace'](/\n +/gi,'\x0a');nX=nX['replace'](/^ +/gi,'');while(nX['indexOf']('\x0a')===0x0){nX=nX['substring'](0x1);}if(nX['length']===0x0||nX['lastIndexOf']('\x0a')!==nX['length']-0x1){nX+='\x0a';}return nX;};TDV['Tour']['Script']['openEmbeddedPDF']=function(oy,oz){var oA=!new RegExp('^(?:[a-z]+:)?//','i')['test'](oz);var oB=oA||location['origin']==new URL(oz)['origin'];var oC=''+'

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

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

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

\x22,targetNode.innerHTML=fallbackHTML.replace(/\x5c[url\x5c]/g,url)),embedError(\x22This\x20browser\x20does\x20not\x20support\x20embedded\x20PDFs\x22,suppressConsole))};return{embed:function(a,b,c){return\x20embed(a,b,c)},pdfobjectversion:\x222.2.3\x22,supportsPDFs:supportsPDFs}});'+'if\x20(typeof\x20module\x20===\x20\x22object\x22\x20&&\x20module.exports)\x20{'+'this.PDFObject\x20=\x20module.exports;'+'}'+'PDFObject.embed(\x22'+oz+'\x22,\x20\x22#content\x22,\x20{'+(oB?'\x22PDFJS_URL\x22:\x20\x22'+new URL('lib/pdfjs/web/viewer.html',document['baseURI'])['href']+'\x22,\x20':'')+'\x22fallbackLink\x22:\x20\x22'+oC+'\x22'+'});'+'if(!PDFObject.supportsPDFs\x20&&\x20!'+oB+'){'+'\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();'+'}'+'';var oE=oy['get']('class');if(oE=='WebFrame'){oy['set']('url','data:text/html;charset=utf-8,'+encodeURIComponent(''+''+''+''+oD+''+''));}else if(oE=='HTML'){oy['set']('content','data:text/html;charset=utf-8,'+encodeURIComponent(oD));}};TDV['Tour']['Script']['getKey']=function(oF){return window[oF];};TDV['Tour']['Script']['registerKey']=function(oG,oH){window[oG]=oH;};TDV['Tour']['Script']['unregisterKey']=function(oI){delete window[oI];};TDV['Tour']['Script']['existsKey']=function(oJ){return oJ in window;}; //# sourceMappingURL=http://localhost:9000/script_v2020.4.5.js.map //Generated with v2020.4.5, Tue Nov 10 2020