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 az=this['_getRootPlayer']();if(az){return az['get']('orientation');}else if(this['_lockedOrientation']){return this['_lockedOrientation'];}else{return TDV['PlayerAPI']['getOrientation']();}};TDV['Tour']['prototype']['_getParams']=function(aA){var aB={};aA['split']('&')['forEach'](function(aC){var aD=aC['split']('=')[0x0],aE=decodeURIComponent(aC['split']('=')[0x1]);aB[aD['toLowerCase']()]=aE;});return aB;};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 aF=document['getElementById']('metaViewport');if(aF){var aG=this['_devicesUrl'][this['_device']];var aH=0x1;if(typeof aG=='object'&&this['_orientation']in aG&&this['_orientation']==TDV['PlayerAPI']['ORIENTATION_LANDSCAPE']||this['_device']==TDV['Tour']['DEVICE_GENERAL']){aH=aF['getAttribute']('data-tdv-general-scale')||0.5;}var aI=aF['getAttribute']('content');aI=aI['replace'](/initial-scale=(\d+(\.\d+)?)/,function(aJ,aK){return'initial-scale='+aH;});aF['setAttribute']('content',aI);}}};TDV['Tour']['prototype']['_getScriptUrl']=function(){var aL=this['_devicesUrl'][this['_device']];if(typeof aL=='object'){if(this['_orientation']in aL){aL=aL[this['_orientation']];}}return aL;};TDV['Tour']['prototype']['_getDevice']=function(){var aM=TDV['Tour']['DEVICE_GENERAL'];if(!this['_isRemoteSession']&&this['isMobile']()){if(this['isIPad']()&&TDV['Tour']['DEVICE_IPAD']in this['_devicesUrl'])aM=TDV['Tour']['DEVICE_IPAD'];else if(TDV['Tour']['DEVICE_MOBILE']in this['_devicesUrl'])aM=TDV['Tour']['DEVICE_MOBILE'];}return aM;};TDV['Tour']['prototype']['_setMediaFromURL']=function(aN,aO){var aP=this['_getRootPlayer']();var aQ=aP['getActivePlayerWithViewer'](aP['getMainViewer']());var aR=aQ?aP['getMediaFromPlayer'](aQ):undefined;var aS=undefined;if('media'in aN){var aT=aN['media'];var aU=Number(aT);aS=isNaN(aU)?this['setMediaByName'](aT):this['setMediaByIndex'](aU-0x1);}else if('media-index'in aN){aS=this['setMediaByIndex'](parseInt(aN['media-index'])-0x1);}else if('media-name'in aN){aS=this['setMediaByName'](aN['media-name']);}if(aS==undefined&&aO){aS=this['setMediaByIndex'](0x0);}if(aS!=undefined){var aV=aS['get']('player');var aW=function(){if('trigger-overlay-name'in aN){this['triggerOverlayByName'](aS,aN['trigger-overlay-name'],'trigger-overlay-event'in aN?aN['trigger-overlay-event']:'click');}if('focus-overlay-name'in aN){this['focusOverlayByName'](aS,aN['focus-overlay-name']);}else if('yaw'in aN||'pitch'in aN){var b0=parseFloat(aN['yaw'])||undefined;var b1=parseFloat(aN['pitch'])||undefined;var b2=aP['getPlayListWithItem'](aS);if(b2)aP['setPanoramaCameraWithSpot'](b2,aS,b0,b1);}}['bind'](this);if(aV){var aX=aV['get']('viewerArea')==aP['getMainViewer']();var aY=aP['getMediaFromPlayer'](aV);if(aX&&aR==aS['get']('media')||!aX&&aY==aS['get']('media')){aW();return aS!=undefined;}}var aZ=function(){aS['unbind']('begin',aZ,this);aW();};aS['bind']('begin',aZ,aP);}return aS!=undefined;};TDV['Tour']['prototype']['_setupRemote']=function(){if(this['isMobile']()&&TDV['Remote']!=undefined){var b3=function(){var b4=undefined;var b5=function(){var b8=this['_getRootPlayer']();b4=b8['get']('lockedOrientation');b8['set']('lockedOrientation',this['_lockedOrientation']);}['bind'](this);this['_isRemoteSession']=!![];this['_lockedOrientation']=TDV['PlayerAPI']['ORIENTATION_LANDSCAPE'];if(this['_device']!=TDV['Tour']['DEVICE_GENERAL']){var b6=function(){b5();this['unbind'](TDV['Tour']['EVENT_TOUR_INITIALIZED'],b6);}['bind'](this);this['bind'](TDV['Tour']['EVENT_TOUR_INITIALIZED'],b6);this['reload']();}else{b5();}var b7=function(){this['_isRemoteSession']=![];this['_getRootPlayer']()['set']('lockedOrientation',b4);TDV['Remote']['unbind'](TDV['Remote']['EVENT_CALL_END'],b7);var b9=this['_getScriptUrl']();if(this['_currentScriptUrl']!=b9)this['reload']();}['bind'](this);TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_END'],b7);}['bind'](this);TDV['Remote']['bind'](TDV['Remote']['EVENT_CALL_BEGIN'],b3);}};TDV['Tour']['LocaleManager']=function(ba,bb,bc,bd){TDV['EventDispatcher']['call'](this);this['rootPlayer']=ba;this['locales']={};this['defaultLocale']=bc;this['queryParam']=bd;this['currentLocaleMap']={};this['currentLocaleID']=undefined;for(var be in bb){this['registerLocale'](be,bb[be]);}};TDV['Tour']['LocaleManager']['EVENT_LOCALE_CHANGED']='localeChanged';TDV['Tour']['LocaleManager']['prototype']=new TDV['EventDispatcher']();TDV['Tour']['LocaleManager']['prototype']['registerLocale']=function(bf,bg){var bh=[bf,bf['split']('-')[0x0]];for(var bi=0x0;bi0x2){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']['clone']=function(ci,cj){var ck=this['rootPlayer']['createInstance'](ci['get']('class'));var cl=ci['get']('id');if(cl){var cm=cl+'_'+Math['random']()['toString'](0x24)['substring'](0x2,0xf);ck['set']('id',cm);this[cm]=ck;}for(var cn=0x0;cn0x0){for(var cE=0x0;cE0x0){var d4=d2[d3];if(d4['get']('viewerArea')==d1){var d5=d4['get']('class');if(d5=='PanoramaPlayer'&&(d4['get']('panorama')!=undefined||d4['get']('video')!=undefined))return d4;else if((d5=='VideoPlayer'||d5=='Video360Player')&&d4['get']('video')!=undefined)return d4;else if(d5=='PhotoAlbumPlayer'&&d4['get']('photoAlbum')!=undefined)return d4;else if(d5=='MapPlayer'&&d4['get']('map')!=undefined)return d4;}}return undefined;};TDV['Tour']['Script']['getCurrentPlayerWithMedia']=function(d6){var d7=undefined;var d8=undefined;switch(d6['get']('class')){case'Panorama':case'LivePanorama':case'HDRPanorama':d7='PanoramaPlayer';d8='panorama';break;case'Video360':d7='PanoramaPlayer';d8='video';break;case'PhotoAlbum':d7='PhotoAlbumPlayer';d8='photoAlbum';break;case'Map':d7='MapPlayer';d8='map';break;case'Video':d7='VideoPlayer';d8='video';break;};if(d7!=undefined){var d9=this['getByClassName'](d7);for(var da=0x0;dadw)dw=dy['get']('width');}return dw;}else{return dy['get']('width');}default:return du['get']('width');}};TDV['Tour']['Script']['getMediaHeight']=function(dz){switch(dz['get']('class')){case'Video360':var dA=dz['get']('video');if(dA instanceof Array){var dB=0x0;for(var dC=0x0;dCdB)dB=dD['get']('height');}return dB;}else{return dD['get']('height');}default:return dz['get']('height');}};TDV['Tour']['Script']['getOverlays']=function(dE){switch(dE['get']('class')){case'LivePanorama':case'HDRPanorama':case'Panorama':var dF=dE['get']('overlays')['concat']()||[];var dG=dE['get']('frames');for(var dH=0x0;dH=0x0;--e9){var ea=e8[e9];var eb=ea['get']('player');if(eb!==undefined&&eb['get']('viewerArea')==e3)return!![];}return![];};for(var e6=e4['length']-0x1;e6>=0x0;--e6){if(!e5(e4[e6]))e4['splice'](e6,0x1);}return e4;};TDV['Tour']['Script']['getPlayListWithItem']=function(ec){var ed=this['getByClassName']('PlayList');for(var ee=ed['length']-0x1;ee>=0x0;--ee){var ef=ed[ee];var eg=ef['get']('items');for(var eh=eg['length']-0x1;eh>=0x0;--eh){var ei=eg[eh];if(ei==ec)return ef;}}return undefined;};TDV['Tour']['Script']['getFirstPlayListWithMedia']=function(ej,ek){var el=this['getPlayListsWithMedia'](ej,ek);return el['length']>0x0?el[0x0]:undefined;};TDV['Tour']['Script']['getPlayListItemByMedia']=function(em,en){var eo=em['get']('items');for(var ep=0x0,eq=eo['length'];ep=0x0;--ew){var ex=ev[ew];if(ex['get']('media')!=es||et!=undefined&&ex['get']('player')!=et){ev['splice'](ew,0x1);}}return ev;}else{return[];}};TDV['Tour']['Script']['historyGoBack']=function(ey){var ez=this['get']('data')['history'][ey['get']('id')];if(ez!=undefined){ez['back']();}};TDV['Tour']['Script']['historyGoForward']=function(eA){var eB=this['get']('data')['history'][eA['get']('id')];if(eB!=undefined){eB['forward']();}};TDV['Tour']['Script']['init']=function(){var eC=this['get']('data')['history'];var eD=function(eM){var eN=eM['source'];var eO=eN['get']('selectedIndex');if(eO<0x0)return;var eP=eN['get']('id');if(!eC['hasOwnProperty'](eP))eC[eP]=new TDV['Tour']['HistoryData'](eN);eC[eP]['add'](eO);};var eE=this['getByClassName']('PlayList');for(var eG=0x0,eH=eE['length'];eG=0x0){this['skip3DTransitionOnce'](eS['get']('items')[eT]['get']('player'));}}for(var eG=0x0,eK=eJ['length'];eG0x0){var fj=fh['get']('data')['name'];fh['bind']('click',this['sendAnalyticsData']['bind'](this,'Skin','click',fj),this,![]);}}var fk=this['getByClassName']('PlayListItem');var fl={};for(var f1=0x0,f4=fk['length'];f10x0){var gc=g8[g9];if(gc['get']('viewerArea')!=g7){g8['splice'](g9,0x1);}}for(g9=0x0;g9=gj){gh-=gl-(gj-fQ['get']('actualWidth'));gl=gj-fQ['get']('actualWidth');}fQ['set']('left',gl);fC();ge=gh;};this['bind']('mouseMove',gf,this);this['bind']('mouseUp',function(){this['unbind']('mouseMove',gf,this);},this);},this);fC();};TDV['Tour']['Script']['_initTwinsViewer']=function(gm){function gn(){var gF=gm['get']('actualWidth');gx['get']('children')[0x0]['set']('width',gF);gy['get']('children')[0x0]['set']('width',gF);var gG=gB['get']('left');var gH=typeof gG=='string'?go(gG):gG;gH+=gB['get']('actualWidth')*0.5;gx['set']('width',gp(gH));gy['set']('width',gp(gF-gH));}function go(gI){return parseFloat(gI['replace']('%',''))/0x64*gm['get']('actualWidth');}function gp(gJ){return gJ/gm['get']('actualWidth')*0x64+'%';}function gq(gK){gr(gK['source']);}function gr(gL){var gM=gL==gD?gC:gD;if(gE&&gL!=gE||!gL||!gM)return;var gN=gM['get']('camera')['get']('initialPosition')['get']('yaw')-gL['get']('camera')['get']('initialPosition')['get']('yaw');gM['setPosition'](gL['get']('yaw')+gN,gL['get']('pitch'),gL['get']('roll'),gL['get']('hfov'));}function gs(gO){gE=gO['source'];}function gt(gP){gu(gP['source']);}function gu(gQ){var gR=gQ['get']('viewerArea');if(gR==gz){gC=gQ;gE=gC;}else if(gR==gA){gD=gQ;gE=gC;}gr(gQ);}function gv(gS){var gT=this['getCurrentPlayers']();var gU=gT['length'];while(gU-->0x0){var gW=gT[gU];if(gW['get']('viewerArea')!=gS){gT['splice'](gU,0x1);}}for(gU=0x0;gU0x0&&gX[0x0]['get']('viewMode')=='cardboard';};TDV['Tour']['Script']['isPanorama']=function(gY){return['Panorama','HDRPanorama','LivePanorama','Video360','VideoPanorama']['indexOf'](gY['get']('class'))!=-0x1;};TDV['Tour']['Script']['keepCompVisible']=function(gZ,h0){var h1='keepVisibility_'+gZ['get']('id');var h2=this['getKey'](h1);if(h2==undefined&&h0){this['registerKey'](h1,h0);}else if(h2!=undefined&&!h0){this['unregisterKey'](h1);}};TDV['Tour']['Script']['_initItemWithComps']=function(h3,h4,h5,h6,h7,h8,h9,ha){var hb=h3['get']('items')[h4];var hc=hb['get']('media');var hd=hc['get']('loop')==undefined||hc['get']('loop');var he=ha>0x0;var hf=this['rootPlayer'];var hg=function(ho){var hp=h8?h8['get']('class'):undefined;var hq=undefined;switch(hp){case'FadeInEffect':case'FadeOutEffect':hq=hf['createInstance'](ho?'FadeInEffect':'FadeOutEffect');break;case'SlideInEffect':case'SlideOutEffect':hq=hf['createInstance'](ho?'SlideInEffect':'SlideOutEffect');break;}if(hq){hq['set']('duration',h8['get']('duration'));hq['set']('easing',h8['get']('easing'));if(hp['indexOf']('Slide')!=-0x1)hq['set'](ho?'from':'to',h8['get'](h8['get']('class')=='SlideInEffect'?'from':'to'));}return hq;};var hh=function(){for(var hr=0x0,hs=h5['length'];hr0x0){this['setComponentVisibility'](ht,!h7,0x0,hg(!h7));}else{var hu='visibility_'+ht['get']('id');if(this['existsKey'](hu)){if(this['getKey'](hu))this['setComponentVisibility'](ht,!![],0x0,hg(!![]));else this['setComponentVisibility'](ht,![],0x0,hg(![]));this['unregisterKey'](hu);}}}hb['unbind']('end',hh,this);if(!hd)hc['unbind']('end',hh,this);};var hi=function(){hb['unbind']('stop',hi,this,!![]);hb['unbind']('stop',hi,this);hb['unbind']('begin',hi,this,!![]);hb['unbind']('begin',hi,this);for(var hv=0x0,hw=h5['length'];hv0x0){var hI=hy+hz+(hH!=undefined?hH['get']('duration'):0x0);hf['setComponentVisibility'](hF,!hG,hI,hg(!hG),hG?'hideEffect':'showEffect',!![]);}};for(var hC=0x0,hD=h5['length'];hC0x0){hj('begin',ha,0x0);ha=0x0;}if(h6!=undefined)hj(h6,h9,ha);};TDV['Tour']['Script']['loadFromCurrentMediaPlayList']=function(hJ,hK,hL){var hM=hJ['get']('selectedIndex');var hN=hJ['get']('items')['length'];var hO=(hM+hK)%hN;while(hO<0x0){hO=hN+hO;}if(hM!=hO){if(hL){var hP=hJ['get']('items')[hO];this['skip3DTransitionOnce'](hP['get']('player'));}hJ['set']('selectedIndex',hO);}};TDV['Tour']['Script']['mixObject']=function(hQ,hR){return this['assignObjRecursively'](hR,this['copyObjRecursively'](hQ));};TDV['Tour']['Script']['openLink']=function(hS,hT){if(!hS||hS==location['href']){return;}var hU=window&&window['process']&&window['process']['versions']&&window['process']['versions']['electron']||navigator&&navigator['userAgent']&&navigator['userAgent']['indexOf']('Electron')>=0x0;if(hT=='_blank'&&hU){if(hS['startsWith']('/')){var hV=window['location']['href']['split']('/');hV['pop']();hS=hV['join']('/')+hS;}var hW=hS['split']('.')['pop']()['toLowerCase']();if(['pdf','zip','xls','xlsx']['indexOf'](hW)==-0x1||hS['startsWith']('file://')){var hX=window['require']('electron')['shell'];hX['openExternal'](hS);}else{window['open'](hS,hT);}}else if(hU&&(hT=='_top'||hT=='_self')){window['location']=hS;}else{var hY=window['open'](hS,hT);hY['focus']();}};TDV['Tour']['Script']['pauseCurrentPlayers']=function(hZ){var i0=this['getCurrentPlayers']();var i1=i0['length'];while(i1-->0x0){var i2=i0[i1];if(i2['get']('state')=='playing'||i2['get']('viewerArea')&&i2['get']('viewerArea')['get']('id')==this['getMainViewer']()||i2['get']('camera')&&i2['get']('camera')['get']('idleSequence')&&i2['get']('camera')['get']('timeToIdle')>0x0){var i3=this['getMediaFromPlayer'](i2);if(hZ&&i3&&i3['get']('class')!='Video360'&&'pauseCamera'in i2){i2['pauseCamera']();}else{i2['pause']();}}else{i0['splice'](i1,0x1);}}return i0;};TDV['Tour']['Script']['pauseGlobalAudiosWhilePlayItem']=function(i4,i5,i6){var i7=function(){if(i4['get']('selectedIndex')!=i5){this['resumeGlobalAudios']();}};this['pauseGlobalAudios'](i6);this['executeFunctionWhenChange'](i4,i5,i7,i7);};TDV['Tour']['Script']['pauseGlobalAudios']=function(i8){this['stopTextToSpeech']();if(window['pausedAudiosLIFO']==undefined)window['pausedAudiosLIFO']=[];var i9=this['getByClassName']('VideoPanoramaOverlay');for(var ib=i9['length']-0x1;ib>=0x0;--ib){var ic=i9[ib];var id=ic['get']('data');if(id&&id['hasAudio']==![])i9['splice'](ib,0x1);}var ie=this['getByClassName']('Audio')['concat'](i9);var ig={};if(window['currentGlobalAudios']!=undefined)ie=ie['concat'](Object['values'](window['currentGlobalAudios'])['map'](function(ik){if(!ik['allowResume'])ig[ik['audio']['get']('id')]=ik['audio'];return ik['audio'];}));var ih=[];for(var ib=0x0,ii=ie['length'];ib0x0)window['pausedAudiosLIFO']['push'](ih);return ih;};TDV['Tour']['Script']['resumeGlobalAudios']=function(){if(window['pausedAudiosLIFO']==undefined)return;var il=window['pausedAudiosLIFO']['pop']();if(!il)return;for(var im=0x0,io=il['length'];im=it['length']){if(!iu)return;iv=0x0;}iw=it[iv];ix(iw,!![],iy,!![]);};iy();};TDV['Tour']['Script']['playGlobalAudioWhilePlay']=function(iz,iA,iB,iC,iD,iE){var iF=function(iR){if(iR['data']['previousSelectedIndex']==iA){this['stopGlobalAudio'](iB);if(iJ){var iS=iI['get']('media');var iT=iS['get']('audios');iT['splice'](iT['indexOf'](iB),0x1);iS['set']('audios',iT);}iz['unbind']('change',iF,this);if(iD)iD();}};var iH=window['currentGlobalAudios'];if(iH&&iB['get']('id')in iH){iB=iH[iB['get']('id')]['audio'];if(iB['get']('state')!='playing'){iB['play']();}return iB;}iz['bind']('change',iF,this);var iI=iz['get']('items')[iA];var iJ=iI['get']('class')=='PanoramaPlayListItem';if(iJ){var iK=iI['get']('media');var iH=(iK['get']('audios')||[])['slice']();if(iB['get']('class')=='MediaAudio'){var iL=this['rootPlayer']['createInstance']('PanoramaAudio');iL['set']('autoplay',![]);iL['set']('audio',iB['get']('audio'));iL['set']('loop',iB['get']('loop'));iL['set']('id',iB['get']('id'));var iM=iB['getBindings']('stateChange');for(var iN=0x0;iN0x0){var jr=setTimeout(function(){if(window[jp]instanceof Array){var ju=window[jp];var jv=ju['indexOf'](jr);ju['splice'](jv,0x1);if(ju['length']==0x0){delete window[jp];}}else{delete window[jp];}jo();},jj);if(window['hasOwnProperty'](jp)){window[jp]=[window[jp],jr];}else{window[jp]=jr;}}else{jo();}};TDV['Tour']['Script']['setLocale']=function(jw){this['stopTextToSpeech']();var jx=this['get']('data')['localeManager'];if(jx)this['get']('data')['localeManager']['setLocale'](jw);else{this['get']('data')['defaultLocale']=jw;this['get']('data')['forceDefaultLocale']=!![];}};TDV['Tour']['Script']['setEndToItemIndex']=function(jy,jz,jA){var jB=function(){if(jy['get']('selectedIndex')==jz){var jC=jy['get']('items')[jA];this['skip3DTransitionOnce'](jC['get']('player'));jy['set']('selectedIndex',jA);}};this['executeFunctionWhenChange'](jy,jz,jB);};TDV['Tour']['Script']['setMapLocation']=function(jD,jE){var jF=function(){jD['unbind']('stop',jF,this);jG['set']('mapPlayer',null);};jD['bind']('stop',jF,this);var jG=jD['get']('player');jG['set']('mapPlayer',jE);};TDV['Tour']['Script']['setMainMediaByIndex']=function(jH){var jI=undefined;if(jH>=0x0&&jH0x0&&kh['get']('movements')[kg-0x1]['get']('class')=='TargetPanoramaCameraMovement'){var kr=ki['get']('initialPosition');var ks=kr['get']('yaw');var kt=kr['get']('pitch');var ku=kr['get']('hfov');var kv=kh['get']('movements')[kg-0x1];kr['set']('yaw',kv['get']('targetYaw'));kr['set']('pitch',kv['get']('targetPitch'));kr['set']('hfov',kv['get']('targetHfov'));var kw=function(kz){kr['set']('yaw',ks);kr['set']('pitch',kt);kr['set']('hfov',ku);kc['unbind']('end',kw,this);};kc['bind']('end',kw,this);}kh['set']('movementIndex',kg);}}if(ka){k9['unbind']('begin',k0,this);ka['unbind']('stateChange',jZ,this);for(var kx=0x0;kx0x1&&(ky==undefined||ky==k9['get']('media'))){k6['set']('selectedIndex',k8);}if(jU!=k6)k6['unbind']('change',k1,this);}else{kd['set']('visible',ke);}k6=undefined;};if(!jW){var k4=jU['get']('selectedIndex');var k5=k4!=-0x1?jU['get']('items')[jU['get']('selectedIndex')]['get']('player'):this['getActivePlayerWithViewer'](this['getMainViewer']());if(k5){jW=this['getMediaFromPlayer'](k5);}}var k6=undefined;if(jW){var k7=this['getPlayListsWithMedia'](jW,!![]);k6=k7['indexOf'](jU)!=-0x1?jU:k7['length']>0x0?k7[0x0]:undefined;}if(!k6){jU['set']('selectedIndex',jV);return;}var k8=k6['get']('selectedIndex');var k9=jU['get']('items')[jV];var ka=k9['get']('player');var kb=this['getMediaFromPlayer'](ka);if(jU['get']('selectedIndex')==jV&&kb==k9['get']('media')||k8==-0x1){return;}if(jU['get']('selectedIndex')==jV&&kb!=k9['get']('media'))jU['set']('selectedIndex',-0x1);var kc=k6['get']('items')[k8];var kd=ka['get']('viewerArea');var ke=kd['get']('visible');var kf=kd==kc['get']('player')['get']('viewerArea');if(kf){if(jU!=k6){k6['set']('selectedIndex',-0x1);k6['bind']('change',k1,this);}}else{kd['set']('visible',!![]);}var kg=-0x1;var kh=undefined;var ki=kc['get']('camera');if(ki){kh=ki['get']('initialSequence');if(kh){kg=kh['get']('movementIndex');}}jU['set']('selectedIndex',jV);var kj=[];var kk=function(kA){var kB=ka['get'](kA);if(kB==undefined)return;if(Array['isArray'](kB))kj=kj['concat'](kB);else kj['push'](kB);};kk('buttonStop');for(var kl=0x0;kl=0x0)clearTimeout(lF);lB['bind']('rollOut',lH,this);};var lH=function(){var lL=function(){lE['call'](this,![]);};lB['unbind']('rollOut',lH,this);lF=setTimeout(lL['bind'](this),lD);};lB['bind']('rollOver',lG,this);}};TDV['Tour']['Script']['showPopupMedia']=function(lM,lN,lO,lP,lQ,lR){var lS=this;var lT=function(){lO['set']('selectedIndex',-0x1);lS['getMainViewer']()['set']('toolTipEnabled',!![]);this['resumePlayers'](lY,!![]);if(lX){this['unbind']('resize',lV,this);}lM['unbind']('close',lT,this);};var lU=function(){lM['hide']();};var lV=function(){var lZ=function(mg){return lM['get'](mg)||0x0;};var m0=lS['get']('actualWidth');var m1=lS['get']('actualHeight');var m2=lS['getMediaWidth'](lN);var m3=lS['getMediaHeight'](lN);var m4=parseFloat(lP)/0x64;var m5=parseFloat(lQ)/0x64;var m6=m4*m0;var m7=m5*m1;var m8=lZ('footerHeight');var m9=lZ('headerHeight');if(!m9){var ma=lZ('closeButtonIconHeight')+lZ('closeButtonPaddingTop')+lZ('closeButtonPaddingBottom');var mb=lS['getPixels'](lZ('titleFontSize'))+lZ('titlePaddingTop')+lZ('titlePaddingBottom');m9=ma>mb?ma:mb;m9+=lZ('headerPaddingTop')+lZ('headerPaddingBottom');}var mc=m6-lZ('bodyPaddingLeft')-lZ('bodyPaddingRight')-lZ('paddingLeft')-lZ('paddingRight');var md=m7-m9-m8-lZ('bodyPaddingTop')-lZ('bodyPaddingBottom')-lZ('paddingTop')-lZ('paddingBottom');var me=mc/md;var mf=m2/m3;if(me>mf){m6=md*mf+lZ('bodyPaddingLeft')+lZ('bodyPaddingRight')+lZ('paddingLeft')+lZ('paddingRight');}else{m7=mc/mf+m9+m8+lZ('bodyPaddingTop')+lZ('bodyPaddingBottom')+lZ('paddingTop')+lZ('paddingBottom');}if(m6>m0*m4){m6=m0*m4;}if(m7>m1*m5){m7=m1*m5;}lM['set']('width',m6);lM['set']('height',m7);lM['set']('x',(m0-lZ('actualWidth'))*0.5);lM['set']('y',(m1-lZ('actualHeight'))*0.5);};if(lR){this['executeFunctionWhenChange'](lO,0x0,lU);}var lW=lN['get']('class');var lX=lW=='Video'||lW=='Video360';lO['set']('selectedIndex',0x0);if(lX){this['bind']('resize',lV,this);lV();lO['get']('items')[0x0]['get']('player')['play']();}else{lM['set']('width',lP);lM['set']('height',lQ);}this['getMainViewer']()['set']('toolTipEnabled',![]);var lY=this['pauseCurrentPlayers'](!![]);lM['bind']('close',lT,this);lM['show'](this,!![]);};TDV['Tour']['Script']['showPopupImage']=function(mh,mi,mj,mk,ml,mm,mn,mo,mp,mq,mr,ms){var mt=![];var mu=function(){mL['unbind']('loaded',mx,this);mB['call'](this);};var mv=function(){mL['unbind']('click',mv,this);if(mP!=undefined){clearTimeout(mP);}};var mw=function(){setTimeout(mF,0x0);};var mx=function(){this['unbind']('click',mu,this);mK['set']('visible',!![]);mF();mM['set']('visible',!![]);mL['unbind']('loaded',mx,this);mL['bind']('resize',mw,this);mP=setTimeout(my['bind'](this),0xc8);};var my=function(){mP=undefined;if(mo){mL['bind']('click',mv,this);mA['call'](this);}mL['bind']('userInteractionStart',mG,this);mL['bind']('userInteractionEnd',mH,this);mL['bind']('backgroundClick',mB,this);if(mi){mL['bind']('click',mD,this);mL['set']('imageCursor','hand');}mM['bind']('click',mB,this);if(mr)mr['call'](this);};var mz=function(){if(mo&&mP){clearTimeout(mP);mP=undefined;}};var mA=function(){if(mo){mz();mP=setTimeout(mB['bind'](this),mo);}};var mB=function(){this['getMainViewer']()['set']('toolTipEnabled',!![]);mt=!![];if(mP)clearTimeout(mP);if(mQ)clearTimeout(mQ);if(mo)mv();if(ms)ms['call'](this);mL['set']('visible',![]);if(mm&&mm['get']('duration')>0x0){mm['bind']('end',mC,this);}else{mL['set']('image',null);}mM['set']('visible',![]);mK['set']('visible',![]);this['unbind']('click',mu,this);mL['unbind']('backgroundClick',mB,this);mL['unbind']('userInteractionStart',mG,this);mL['unbind']('userInteractionEnd',mH,this,!![]);mL['unbind']('resize',mw,this);if(mi){mL['unbind']('click',mD,this);mL['set']('cursor','default');}mM['unbind']('click',mB,this);this['resumePlayers'](mO,mp==null||mq);if(mq){this['resumeGlobalAudios']();}if(mp){this['stopGlobalAudio'](mp);}};var mC=function(){mL['set']('image',null);mm['unbind']('end',mC,this);};var mD=function(){mL['set']('image',mE()?mh:mi);};var mE=function(){return mL['get']('image')==mi;};var mF=function(){var mR=mL['get']('actualWidth')-mL['get']('imageLeft')-mL['get']('imageWidth')+0xa;var mS=mL['get']('imageTop')+0xa;if(mR<0xa)mR=0xa;if(mS<0xa)mS=0xa;mM['set']('right',mR);mM['set']('top',mS);};var mG=function(){mz();if(mQ){clearTimeout(mQ);mQ=undefined;}else{mM['set']('visible',![]);}};var mH=function(){mA['call'](this);if(!mt){mQ=setTimeout(mI,0x12c);}};var mI=function(){mQ=undefined;mM['set']('visible',!![]);mF();};var mJ=function(mT){var mU=mT['get']('data');if(mU&&'extraLevels'in mU){var mV=this['rootPlayer']['createInstance'](mT['get']('class'));var mW=mU['extraLevels'];mV['set']('levels',mT['get']('levels')['concat'](mW));mT=mV;}return mT;};this['getMainViewer']()['set']('toolTipEnabled',![]);var mK=this['veilPopupPanorama'];var mL=this['zoomImagePopupPanorama'];var mM=this['closeButtonPopupPanorama'];if(mn){for(var mN in mn){mM['set'](mN,mn[mN]);}}var mO=this['pauseCurrentPlayers'](mp==null||!mq);if(mq){this['pauseGlobalAudios']();}if(mp){this['playGlobalAudio'](mp,!![]);}var mP=undefined;var mQ=undefined;mh=mJ['call'](this,mh);if(mi)mi=mJ['call'](this,mi);mL['bind']('loaded',mx,this);setTimeout(function(){this['bind']('click',mu,this,![]);}['bind'](this),0x0);mL['set']('image',mh);mL['set']('customWidth',mj);mL['set']('customHeight',mk);mL['set']('showEffect',ml);mL['set']('hideEffect',mm);mL['set']('visible',!![]);return mL;};TDV['Tour']['Script']['showPopupPanoramaOverlay']=function(mX,mY,mZ,n0,n1,n2,n3){var n4=this['isCardboardViewMode']();if(mX['get']('visible')||!n4&&this['zoomImagePopupPanorama']['get']('visible'))return;this['getMainViewer']()['set']('toolTipEnabled',![]);if(!n4){var n5=this['zoomImagePopupPanorama'];var n6=mX['get']('showDuration');var n7=mX['get']('hideDuration');var n9=this['pauseCurrentPlayers'](n2==null||!n3);var na=mX['get']('popupMaxWidth');var nb=mX['get']('popupMaxHeight');var nc=function(){var nf=function(){if(!this['isCardboardViewMode']())mX['set']('visible',![]);};mX['unbind']('showEnd',nc,this);mX['set']('showDuration',0x1);mX['set']('hideDuration',0x1);this['showPopupImage'](mZ,n0,mX['get']('popupMaxWidth'),mX['get']('popupMaxHeight'),null,null,mY,n1,n2,n3,nf,nd);};var nd=function(){var ng=function(){mX['unbind']('showEnd',ng,this);mX['set']('visible',![]);mX['set']('showDuration',n6);mX['set']('popupMaxWidth',na);mX['set']('popupMaxHeight',nb);};this['resumePlayers'](n9,n2==null||!n3);var nh=n5['get']('imageWidth');var ni=n5['get']('imageHeight');mX['bind']('showEnd',ng,this,!![]);mX['set']('showDuration',0x1);mX['set']('hideDuration',n7);mX['set']('popupMaxWidth',nh);mX['set']('popupMaxHeight',ni);if(mX['get']('visible'))ng();else mX['set']('visible',!![]);this['getMainViewer']()['set']('toolTipEnabled',!![]);};mX['bind']('showEnd',nc,this,!![]);}else{var ne=function(){this['resumePlayers'](n9,n2==null||n3);if(n3){this['resumeGlobalAudios']();}if(n2){this['stopGlobalAudio'](n2);}mX['unbind']('hideEnd',ne,this);this['getMainViewer']()['set']('toolTipEnabled',!![]);};var n9=this['pauseCurrentPlayers'](n2==null||!n3);if(n3){this['pauseGlobalAudios']();}if(n2){this['playGlobalAudio'](n2,!![]);}mX['bind']('hideEnd',ne,this,!![]);}mX['set']('visible',!![]);};TDV['Tour']['Script']['showPopupPanoramaVideoOverlay']=function(nj,nk,nl){var nm=this;var nn=function(){nj['unbind']('showEnd',nn);nr['bind']('click',np,this);nq();nr['set']('visible',!![]);};var no=function(){if(!nj['get']('loop'))np();};var np=function(){nm['getMainViewer']()['set']('toolTipEnabled',!![]);nj['set']('visible',![]);nr['set']('visible',![]);nr['unbind']('click',np,nm);nj['unbind']('end',no,nm);nj['unbind']('hideEnd',np,nm,!![]);nm['resumePlayers'](nt,!![]);if(nl){nm['resumeGlobalAudios']();}};var nq=function(){var nu=0xa;var nv=0xa;nr['set']('right',nu);nr['set']('top',nv);};this['getMainViewer']()['set']('toolTipEnabled',![]);var nr=this['closeButtonPopupPanorama'];if(nk){for(var ns in nk){nr['set'](ns,nk[ns]);}}var nt=this['pauseCurrentPlayers'](!![]);if(nl){this['pauseGlobalAudios']();}nj['bind']('end',no,this,!![]);nj['bind']('showEnd',nn,this,!![]);nj['bind']('hideEnd',np,this,!![]);nj['set']('visible',!![]);};TDV['Tour']['Script']['showWindow']=function(nw,nx,ny){if(nw['get']('visible')==!![]){return;}var nz=function(){this['getMainViewer']()['set']('toolTipEnabled',!![]);if(ny){this['resumeGlobalAudios']();}nA();this['resumePlayers'](nD,!ny);nw['unbind']('close',nz,this);};var nA=function(){nw['unbind']('click',nA,this);if(nB!=undefined){clearTimeout(nB);}};var nB=undefined;if(nx){var nC=function(){nw['hide']();};nw['bind']('click',nA,this);nB=setTimeout(nC,nx);}this['getMainViewer']()['set']('toolTipEnabled',![]);if(ny){this['pauseGlobalAudios']();}var nD=this['pauseCurrentPlayers'](!ny);nw['bind']('close',nz,this);nw['show'](this,!![]);};TDV['Tour']['Script']['startPanoramaWithCamera']=function(nE,nF){var nG=this['getByClassName']('PlayList');if(nG['length']==0x0)return;var nH=window['currentPanoramasWithCameraChanged']==undefined||!(nE['get']('id')in window['currentPanoramasWithCameraChanged']);var nI=[];for(var nK=0x0,nL=nG['length'];nK0x0){if(window['currentPanoramasWithCameraChanged']==undefined){window['currentPanoramasWithCameraChanged']={};}var nS=nE['get']('id');window['currentPanoramasWithCameraChanged'][nS]=nI;var nT=function(){if(nS in window['currentPanoramasWithCameraChanged']){delete window['currentPanoramasWithCameraChanged'][nS];}for(var nV=0x0;nV=0x0){location['hash']='#media='+(ot+0x1);}else{var ou=this['getActiveMediaWithViewer'](this['getMainViewer']());if(ou!=undefined){var ov=ou['get']('data');if(ov){location['hash']='#media-name='+ov['label'];}}}};TDV['Tour']['Script']['updateMediaLabelFromPlayList']=function(ow,ox,oy){var oz=function(){var oB=ow['get']('selectedIndex');if(oB>=0x0){var oC=function(){oF['unbind']('begin',oC);oD(oB);};var oD=function(oG){var oH=oF['get']('media');var oI=oH['get']('data');var oJ=oI!==undefined?oI['description']||oH['get']('label'):oH['get']('label');oE(oJ);};var oE=function(oK){if(oK!==undefined){ox['set']('html',''+oK+'');}else{ox['set']('html','');}};var oF=ow['get']('items')[oB];if(ox['get']('html')){oE('Loading...');oF['bind']('begin',oC);}else{oD(oB);}}};var oA=function(){ox['set']('html',undefined);ow['unbind']('change',oz,this);oy['unbind']('stop',oA,this);};if(oy){oy['bind']('stop',oA,this);}ow['bind']('change',oz,this);oz();};TDV['Tour']['Script']['updateVideoCues']=function(oL,oM){var oN=oL['get']('items')[oM];var oO=oN['get']('media');if(oO['get']('cues')['length']==0x0)return;var oP=oN['get']('player');var oQ=[];var oR=function(){if(oL['get']('selectedIndex')!=oM){oO['unbind']('cueChange',oS,this);oL['unbind']('change',oR,this);}};var oS=function(oT){var oU=oT['data']['activeCues'];for(var oV=0x0,oW=oQ['length'];oVoP['get']('currentTime')||oX['get']('endTime')0x0){pc=this['mixObject'](pc||{},{'theme':{'window':{'width':undefined,'left':pd,'right':pd}}});}}var pe=this['get']('data')['textToSpeechConfig']['speechOnQuizQuestion']&&!!pb['title'];if(pe)this['textToSpeech'](pb['title'],p6);p9=p8['showQuestion'](p6,pc);p9['then'](function(pf){if(pe)this['stopTextToSpeech']();this['resumePlayers'](pa,!![]);}['bind'](this));}return p9;};TDV['Tour']['Script']['quizShowScore']=function(pg){var ph=this['get']('data');var pi=ph['quiz'];if(pi){if(this['get']('isMobile')){pg=pg||{};pg=this['mixObject'](pg,ph[this['get']('orientation')=='portrait'?'scorePortraitConfig':'scoreLandscapeConfig']);}return pi['showScore'](pg);}};TDV['Tour']['Script']['quizShowTimeout']=function(pj,pk){var pl=this['get']('data');var pm=pl['quiz'];if(pm){if(this['get']('isMobile')){pk=pk||{};pk=this['mixObject'](pk,pl[this['get']('orientation')=='portrait'?'scorePortraitConfig':'scoreLandscapeConfig']);}pm['showTimeout'](pj,pk);}};TDV['Tour']['Script']['stopTextToSpeech']=function(pn){if(window['speechSynthesis']&&(pn==undefined||this['t2sLastID']==pn)){var po=window['speechSynthesis'];if(po['speaking']){po['cancel']();}this['t2sLastID']=undefined;}};TDV['Tour']['Script']['textToSpeech']=function(pp,pq,pr){if(this['get']('mute')){return;}if(window['speechSynthesis']){var ps=this['get']('data');var pt=ps['disableTTS']||![];if(pt)return;var pu=window['speechSynthesis'];if(pq!=undefined&&this['t2sLastID']!=pq||pq==undefined){pr=pr||0x0;if(this['t2sLastID']&&pr>this['t2sLastPriority']){return;}if(pu['speaking']){pu['cancel']();}this['t2sLastPriority']=pr;this['t2sLastID']=pq;var pv=new SpeechSynthesisUtterance(pp);var pw=ps['localeManager']['currentLocaleID'];if(pw)pv['lang']=pw;var px=ps['textToSpeechConfig'];var py;if(px){pv['volume']=px['volume'];pv['pitch']=px['pitch'];pv['rate']=px['rate'];if(px['stopBackgroundAudio'])this['pauseGlobalAudios']();}pv['onend']=function(){this['t2sLastID']=null;if(py)clearInterval(py);if(px['stopBackgroundAudio'])this['resumeGlobalAudios']();}['bind'](this);if(navigator['userAgent']['indexOf']('Chrome')!=-0x1&&!this['get']('isMobile')){py=setInterval(function(){pu['pause']();pu['resume']();},0xbb8);}pu['speak'](pv);}}else{console['error']('Text\x20to\x20Speech\x20isn\x27t\x20supported\x20on\x20this\x20browser');}};TDV['Tour']['Script']['textToSpeechComponent']=function(pz){var pA=pz['get']('class');var pB;if(pA=='HTMLText'){pB=this['htmlToPlainText'](pz['get']('html'),{'linkProcess':function(pC,pD){return pD;}});}else if(pA=='BaseButton'){pB=pz['get']('label');}else if(pA=='Label'){pB=pz['get']('text');}if(pB){this['textToSpeech'](pB,pz['get']('id'));}};TDV['Tour']['Script']['_initTTSTooltips']=function(){function pE(pG){var pH=pG['source'];this['textToSpeech'](pH['get']('toolTip'),pH['get']('id'),0x1);}function pF(pI){var pJ=pI['source'];this['stopTextToSpeech'](pJ['get']('id'));}setTimeout(function(){var pK=this['getByClassName']('UIComponent');for(var pL=0x0,pM=pK['length'];pL/i);if(q2){q1=q1['substring'](0x0,q2['index']);}const q3=q1['match'](/]*>/i);if(q3){q1=q1['substring'](q3['index']+q3[0x0]['length'],q1['length']);}q1=q1['replace'](/<(script|style)( [^>]*)*>((?!<\/\1( [^>]*)*>).)*<\/\1>/gi,'');q1=q1['replace'](/<(\/)?((?!h[1-6]( [^>]*)*>)(?!img( [^>]*)*>)(?!a( [^>]*)*>)(?!ul( [^>]*)*>)(?!ol( [^>]*)*>)(?!li( [^>]*)*>)(?!p( [^>]*)*>)(?!div( [^>]*)*>)(?!td( [^>]*)*>)(?!br( [^>]*)*>)[^>\/])[^<>]*>/gi,'');q1=q1['replace'](/]*)>/gi,function(q9,qa){var qb='';var qc='';var qd=/src="([^"]*)"/i['exec'](qa);var qe=/alt="([^"]*)"/i['exec'](qa);if(qd!==null){qb=qd[0x1];}if(qe!==null){qc=qe[0x1];}if(typeof pT==='function'){return pT(qb,qc);}if(qc===''){return'![image]\x20('+qb+')';}return'!['+qc+']\x20('+qb+')';});function q4(){return function(qf,qg,qh,qi){var qj=0x0;if(qh&&/start="([0-9]+)"/i['test'](qh)){qj=/start="([0-9]+)"/i['exec'](qh)[0x1]-0x1;}var qk='

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

)/gi,function(){if(qg==='o'&&qn===0x0){qj+=0x1;qn+=0x1;return''+qj+pR(pY,pX-String(qj)['length']);}return''+q0;});return qo;})+'

';return qk;};}if(pV==='linebreak'){q1=q1['replace'](/<\/?ul[^>]*>|<\/?ol[^>]*>|<\/?li[^>]*>/gi,'\x0a');}else if(pV==='indention'){while(/<(o|u)l[^>]*>(.*)<\/\1l>/gi['test'](q1)){q1=q1['replace'](/<(o|u)l([^>]*)>(((?!<(o|u)l[^>]*>)(?!<\/(o|u)l>).)*)<\/\1l>/gi,q4());}}if(pU==='linebreak'){q1=q1['replace'](/]*>([^<]*)<\/h\1>/gi,'\x0a$2\x0a');}else if(pU==='underline'){q1=q1['replace'](/]*>(((?!<\/h1>).)*)<\/h1>/gi,function(qp,qq){return'\x0a \x0a'+qq+'\x0a'+pR('=',qq['length'])+'\x0a \x0a';});q1=q1['replace'](/]*>(((?!<\/h2>).)*)<\/h2>/gi,function(qr,qs){return'\x0a \x0a'+qs+'\x0a'+pR('-',qs['length'])+'\x0a \x0a';});q1=q1['replace'](/]*>(((?!<\/h\1>).)*)<\/h\1>/gi,function(qt,qu,qv){return'\x0a \x0a'+qv+'\x0a \x0a';});}else if(pU==='hashify'){q1=q1['replace'](/]*>([^<]*)<\/h\1>/gi,function(qw,qx,qy){return'\x0a \x0a'+pR('#',qx)+'\x20'+qy+'\x0a \x0a';});}q1=q1['replace'](/]*)*>|]*)*>|<\/p( [^>]*)*>|]*)*>|<\/div( [^>]*)*>|]*)*>|<\/td( [^>]*)*>/gi,'\x0a');q1=q1['replace'](/]*href="([^"]*)"[^>]*>([^<]+)<\/a[^>]*>/gi,function(qz,qA,qB){if(typeof pS==='function'){return pS(qA,qB);}return'\x20['+qB+']\x20('+qA+')\x20';});q1=q1['replace'](/\n[ \t\f]*/gi,'\x0a');q1=q1['replace'](/\n\n+/gi,'\x0a');if(pZ){q1=q1['replace'](/( |\t)+/gi,'\x20');q1=q1['replace'](/ /gi,'\x20');}else{q1=q1['replace'](/( | |\t)+/gi,'\x20');}q1=q1['replace'](/\n +/gi,'\x0a');q1=q1['replace'](/^ +/gi,'');while(q1['indexOf']('\x0a')===0x0){q1=q1['substring'](0x1);}if(q1['length']===0x0||q1['lastIndexOf']('\x0a')!==q1['length']-0x1){q1+='\x0a';}return q1;};TDV['Tour']['Script']['openEmbeddedPDF']=function(qC,qD){var qE=!!window['MSInputMethodContext']&&!!document['documentMode'];if(qE){this['openLink'](qD,'_blank');return;}var qF=qC['get']('class');var qG=!new RegExp('^(?:[a-z]+:)?//','i')['test'](qD);if(qG&&qF=='WebFrame'){qC['set']('url','lib/pdfjs/web/viewer.html?file='+encodeURIComponent(location['href']['substring'](0x0,location['href']['lastIndexOf']('/'))+'/'+qD));}else{var qH=location['origin']==new URL(qD)['origin'];var qI=''+'

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

'+'';var qJ=/^((?!chrome|android|crios|ipad|iphone).)*safari/i['test'](navigator['userAgent']);var qK=''+''+'!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'+qD+'\x22,\x20\x22#content\x22,\x20{'+(qH?'\x22PDFJS_URL\x22:\x20\x22'+new URL('lib/pdfjs/web/viewer.html',document['baseURI'])['href']+'\x22,\x20':'')+'\x22fallbackLink\x22:\x20\x22'+qI+'\x22,'+'\x22forcePDFJS\x22:\x20'+qJ+'});'+'if(!PDFObject.supportsPDFs\x20&&\x20!'+qH+'){'+'\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(qF=='WebFrame'){qC['set']('url','data:text/html;charset=utf-8,'+encodeURIComponent(''+''+''+''+qK+''+''));}else if(qF=='HTML'){qC['set']('content','data:text/html;charset=utf-8,'+encodeURIComponent(qK));}}};TDV['Tour']['Script']['getKey']=function(qL){return window[qL];};TDV['Tour']['Script']['registerKey']=function(qM,qN){window[qM]=qN;};TDV['Tour']['Script']['unregisterKey']=function(qO){delete window[qO];};TDV['Tour']['Script']['existsKey']=function(qP){return qP in window;}; //# sourceMappingURL=http://localhost:9000/script_v2021.0.9.js.map //Generated with v2021.0.9, Fri Jun 18 2021