if(!Object['hasOwnProperty']('values')){Object['values']=function(c){return Object['keys'](c)['map'](function(d){return c[d];});};}if(!String['prototype']['startsWith']){String['prototype']['startsWith']=function(e,f){f=f||0x0;return this['indexOf'](e,f)===f;};}TDV['EventDispatcher']=function(){this['_handlers']={};};TDV['EventDispatcher']['prototype']['bind']=function(g,h){if(!(g in this['_handlers']))this['_handlers'][g]=[];this['_handlers'][g]['push'](h);};TDV['EventDispatcher']['prototype']['unbind']=function(i,j){if(i in this['_handlers']){var k=this['_handlers'][i]['indexOf'](j);if(k!=-0x1)this['_handlers'][i]['splice'](k,0x1);}};TDV['EventDispatcher']['prototype']['createNewEvent']=function(l){if(typeof Event==='function')return new Event(l);var m=document['createEvent']('Event');m['initEvent'](l,!![],!![]);return m;};TDV['EventDispatcher']['prototype']['dispatchEvent']=function(n){if(n['type']in this['_handlers']){var o=this['_handlers'][n['type']];for(var p=0x0;p0x0)return;}if(v['sourceClassName']=='MediaAudio'||this['_isInitialized'])return;this['_isInitialized']=!![];u['unbind']('preloadMediaShow',t,this,!![]);u['unbindOnObjectsOf']('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;S0x0;};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;bg0x2){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'];bF0x0;};TDV['Tour']['HistoryData']['prototype']['canForward']=function(){return this['pointer']>=0x0&&this['pointer']=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;cl0x0){for(var cC=0x0;cC0x0){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;d8du)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;dAdz)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=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=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=0x0){this['skip3DTransitionOnce'](eQ['get']('items')[eR]['get']('player'));}}for(var eE=0x0,eI=eH['length'];eE0x0){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'];eZ0x0){var g9=g6[g7];if(g9['get']('viewerArea')!=g5){g6['splice'](g7,0x1);}}for(g7=0x0;g7=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;gS0x0&&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'];hp0x0){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'];ht0x0){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'];hA0x0){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'];i90x0)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=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;iL0x0){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&&jF0x0&&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;kv0x1&&(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=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'];nI0x0){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=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',''+oI+'');}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'];oToN['get']('currentTime')||oV['get']('endTime')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/i);if(q0){pZ=pZ['substring'](0x0,q0['index']);}const q1=pZ['match'](/]*>/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'](/]*)>/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='

'+qg['replace'](/]*>(((?!]*>)(?!<\/li>).)*)<\/li>/gi,function(qj,qk){var ql=0x0;var qm=qk['replace'](/(^|(
))(?!

)/gi,function(){if(qe==='o'&&ql===0x0){qh+=0x1;ql+=0x1;return''+qh+pP(pW,pV-String(qh)['length']);}return''+pY;});return qm;})+'

';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>/gi,'\x0a$2\x0a');}else if(pS==='underline'){pZ=pZ['replace'](/]*>(((?!<\/h1>).)*)<\/h1>/gi,function(qn,qo){return'\x0a \x0a'+qo+'\x0a'+pP('=',qo['length'])+'\x0a \x0a';});pZ=pZ['replace'](/]*>(((?!<\/h2>).)*)<\/h2>/gi,function(qp,qq){return'\x0a \x0a'+qq+'\x0a'+pP('-',qq['length'])+'\x0a \x0a';});pZ=pZ['replace'](/]*>(((?!<\/h\1>).)*)<\/h\1>/gi,function(qr,qs,qt){return'\x0a \x0a'+qt+'\x0a \x0a';});}else if(pS==='hashify'){pZ=pZ['replace'](/]*>([^<]*)<\/h\1>/gi,function(qu,qv,qw){return'\x0a \x0a'+pP('#',qv)+'\x20'+qw+'\x0a \x0a';});}pZ=pZ['replace'](/]*)*>|]*)*>|<\/p( [^>]*)*>|]*)*>|<\/div( [^>]*)*>|]*)*>|<\/td( [^>]*)*>/gi,'\x0a');pZ=pZ['replace'](/]*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'](/ /gi,'\x20');}else{pZ=pZ['replace'](/( | |\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=''+'

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

'+'';var qH=/^((?!chrome|android|crios|ipad|iphone).)*safari/i['test'](navigator['userAgent']);var qI=''+''+'!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'+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();'+'}'+'';if(qD=='WebFrame'){qA['set']('url','data:text/html;charset=utf-8,'+encodeURIComponent(''+''+''+''+qI+''+''));}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, Wed Apr 21 2021