@3dwayfinder/wayfinder-vue-components 1.2.5 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3556,7 +3556,7 @@ const __vue_component__$6 = /*#__PURE__*/normalizeComponent({
3556
3556
  }, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, createInjector, undefined, undefined);
3557
3557
 
3558
3558
  var scrollarea_common = createCommonjsModule(function (module) {
3559
- module.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n});},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0});},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(n,s,function(e){return t[e]}.bind(null,s));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1)}([function(t,e){t.exports={create:function(){return [0,0]},clone:function(t){var e=new Array(2);return e[0]=t[0],e[1]=t[1],e},fromValues:function(t,e){var i=new Array(2);return i[0]=t,i[1]=e,i},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},set:function(t,e,i){return t[0]=e,t[1]=i,t},add:function(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t},sub:function(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t},mul:function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},div:function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},min:function(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t},max:function(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t},scale:function(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t},dist:function(t,e){var i=e[0]-t[0],n=e[1]-t[1];return Math.sqrt(i*i+n*n)},sqrDist:function(t,e){var i=e[0]-t[0],n=e[1]-t[1];return i*i+n*n},len:function(t){var e=t[0],i=t[1];return Math.sqrt(e*e+i*i)},length:function(t){var e=t[0],i=t[1];return Math.sqrt(e*e+i*i)},sqrLen:function(t){var e=t[0],i=t[1];return e*e+i*i},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var i=e[0],n=e[1],s=i*i+n*n;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s),t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},cross:function(t,e,i){var n=e[0]*i[1]-e[1]*i[0];return t[0]=t[1]=0,t[2]=n,t},lerp:function(t,e,i,n){var s=e[0],o=e[1];return t[0]=s+n*(i[0]-s),t[1]=o+n*(i[1]-o),t},transformMat2:function(t,e,i){var n=e[0],s=e[1];return t[0]=n*i[0]+s*i[1],t[1]=n*i[2]+s*i[3],t},str:function(t){return "this("+t[0]+", "+t[1]+")"}};},function(t,e,i){i.r(e),i.d(e,"ScrollArea",(function(){return a}));var n=i(0),s=i.n(n);class o{constructor(t,e){this.position=s.a.create(),this.contentSize=t,this.viewSize=e,this.contentViewRatio=s.a.div(s.a.create(),this.getViewSize(),this.getContentSize()),this._maxPosition=s.a.create(),this._minPosition=s.a.create(),this._vec2cache=s.a.create();}getViewPosition(){return this.position}getContentPosition(){return this.position}clampPosition(){s.a.max(this._maxPosition,this.getViewSize(),this.getContentSize()),s.a.min(this._minPosition,this.getViewSize(),this.getContentSize()),s.a.sub(this._maxPosition,this._maxPosition,this._minPosition),this.position=this.clamp(this.position,s.a.create(),this._maxPosition);}setViewPosition(t){!isNaN(parseFloat(t[0]))&&isFinite(t[0])&&!isNaN(parseFloat(t[1]))&&isFinite(t[1])&&(this.position=t,this.clampPosition());}move(t){t&&this.setViewPosition(s.a.sub(t,this.getViewPosition(),t));}setViewSize(t,e){s.a.set(this.viewSize,t,e),s.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition();}setContentSize(t,e){s.a.set(this.contentSize,t,e),s.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition();}isContentLonger(){return this.viewSize[1]<this.contentSize[1]}isContentWider(){return this.viewSize[0]<this.contentSize[0]}getContentSize(){return this.contentSize}getViewSize(){return this.viewSize}clamp(t,e,i){var n=s.a.clone(t);return s.a.max(n,n,e),s.a.min(n,n,i),n}getPercentagePosition(){return s.a.div(s.a.create(),this.position,this.viewSize)}getRelativePosition(){return s.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize()),0!==s.a.len(this._vec2cache)&&s.a.div(this._vec2cache,this.getViewPosition(),s.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize())),this._vec2cache}getContentViewRatio(){return this.contentViewRatio}}class r{constructor(t,e){this.options=e||{},this.vertical="vertical"==this.getOption("direction"),this.position=0,this.mouseDelta=s.a.create(),this.onScroll=!1,this.parentElement=t,this.element=document.createElement("div"),this.element.classList.add("sa-scrollbar"),this.element.classList.add("sa-scrollbar-position-"+this.getOption("scollbarPosition")),this.element.style.position="absolute",this.element.style.right="0",this.element.style.top="0",this.element.style.bottom="0",this.bar=document.createElement("div"),this.bar.style.minWidth="1px",this.bar.classList.add("sa-bar"),this.element.appendChild(this.bar),t.appendChild(this.element),this.view=new o(s.a.fromValues(this.bar.clientWidth,this.bar.clientHeight),s.a.fromValues(this.element.clientWidth,this.element.clientHeight));}getOption(t){return this.options[t]}attachEvents(t){t.addEventListener("mousedown",t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault();}),window.addEventListener("mousemove",t=>{if(this.mousedown){var e=s.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e);}}),window.addEventListener("mouseup",t=>{this.mousedown=!1;}),t.addEventListener("touchstart",t=>{t.touches&&t.touches.length>0&&(this.lastTouch=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY));},!1),window.addEventListener("touchend",t=>{this.lastTouch=null;},!1),window.addEventListener("touchcancel",t=>{this.lastTouch=null;},!1),window.addEventListener("touchmove",t=>{if(t.touches&&t.touches.length>0){if(this.lastTouch){var e=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(s.a.sub(e,this.lastTouch,e)):this.scroll(s.a.sub(e,e,this.lastTouch));}this.lastTouch=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);}},!1);}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=s.a.clone(e.view.getContentPosition()),e.setPosition(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me);}));}setPosition(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.bar.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1;}clear(){this.position=0,this.setPosition(0);}getBarLength(){return this.vertical?parseInt(this.bar.clientHeight):parseInt(this.bar.clientWidth)}getViewLength(){return this.vertical?this.view.getViewSize()[1]:this.view.getViewSize()[0]}getContentLength(){return this.vertical?this.view.getContentSize()[1]:this.view.getContentSize()[0]}setContentPosition(t){var e=s.a.create(),i=t.getContentViewRatio()[1];s.a.scale(e,t.getContentPosition(),i),this.view.setViewPosition(e),this.setPosition(this.view.getContentPosition());}getPercentage(){return s.a.len(this.view.getViewPosition())/this.getViewLength()}resizeContent(t){t?(this.vertical?(this.bar.style.height=Math.floor(t.getViewSize()[1]*t.getContentViewRatio()[1])+"px",this.element.style.height=t.getViewSize()[1]+"px"):(this.bar.style.width=Math.floor(t.getViewSize()[0]*t.getContentViewRatio()[0])+"px",this.element.style.width=t.getViewSize()[0]+"px"),this.resize()):console.warn("View undefined");}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)),this.view.setContentSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight))):(this.view.setViewSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)),this.view.setContentSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)));}}class a{constructor(t,e,i){this.container=null,this.content=null,this.options={smooth:!0,reverse:!1,swapContainers:!1,updateInterval:10,wheelSpeed:50,scollbarPosition:"right",direction:"vertical"},void 0!==i&&i&&(this.options=this.chooseOptions(this.options,i)),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=s.a.create(),this.lastTime=0,this.smoothDistance=null,this.timeout=null,this.smoothCoeficent=s.a.fromValues(11,11),this.positionClassNames=["sa-on-left","sa-on-right","sa-on-top","sa-on-bottom"],this.mousedown=!1,this.touchstart=!1,this._vec2cache=s.a.create();this.container;if(this.getOption("swapContainers")?this.view=new o(s.a.fromValues(this.container.clientWidth,this.container.clientHeight),s.a.fromValues(this.content.clientWidth,this.content.clientHeight)):(this.content,this.view=new o(s.a.fromValues(this.content.clientWidth,this.content.clientHeight),s.a.fromValues(this.container.clientWidth,this.container.clientHeight))),this.container.style.position="relative",this.container.style.overflow="hidden",this.container.style.overflow="hidden",this.container.style.userSelect="none",this.attachEvents(this.container),this.scrollbar=new r(this.container,this.options),"undefined"!=typeof ResizeObserver&&this.content){var n=this;this.resizeObserver=new ResizeObserver((function(){n.resize();})),this.resizeObserver.observe(this.content);}}attachEvents(t){t.addEventListener("mousewheel",t=>{var e=0;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?t.wheelDelta<0||t.wheelDelta>0?1:-1:t.deltaY>0||t.deltaY<0?1:-1,this.scroll(s.a.fromValues(0,this.getOption("wheelSpeed")*e));}),t.addEventListener("mousedown",t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault();}),window.addEventListener("mousemove",t=>{if(this.mousedown){var e=s.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e);}}),window.addEventListener("mouseup",t=>{this.mousedown=!1;}),t.addEventListener("touchstart",t=>{t.touches&&t.touches.length>0&&(this.mousedown=!0,this.lastTouch=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY));},!1),window.addEventListener("touchend",t=>{this.lastTouch=null,this.mousedown=!1;},!1),window.addEventListener("touchcancel",t=>{this.lastTouch=null,this.mousedown=!1;},!1),window.addEventListener("touchmove",t=>{if(t.touches&&t.touches.length>0&&this.mousedown){if(this.lastTouch){var e=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(s.a.sub(e,this.lastTouch,e)):this.scroll(s.a.sub(e,e,this.lastTouch));}this.lastTouch=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);}},!1);}onEndDrag(t,e){var i=s.a.div(0,Math.abs(event.velocity));if(this.getOption("smooth")&&sqrLen(i)>.3){var n=fromValues(event.deltaX,event.deltaY),o=s.a.create();s.a.multiply(o,n,i),this.getOption("reverse");var r=this;this.stop();var a=create(),h=function(){div(a,o,r.smoothCoeficent),sqrLen(a)>3?(sub(o,o,a),requestAnimFrame(h,r.getOption("updateInterval")),negate(a,a),r.scroll(a)):r.scrolling=!1;};this.timeout=requestAnimFrame(h,r.updateInterval);}else this.scrolling=!1;}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.content.clientWidth),parseInt(this.content.clientHeight)),this.view.setContentSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight))):(this.view.setViewSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight)),this.view.setContentSize(parseInt(this.content.clientWidth),parseInt(this.content.clientHeight))),this.checkIfScrollIsNeeded(),this.scrollbar&&this.scrollbar.resizeContent(this.view);}reset(){this.setContentOffset([0,0]);}checkIfScrollIsNeeded(){this.view.isContentLonger()?this.container.classList.add("sa-content-longer"):this.container.classList.remove("sa-content-longer"),this.view.isContentWider()?this.container.classList.add("sa-content-wider"):this.container.classList.remove("sa-content-wider");}chooseOptions(t,e){for(var i in e)t[i]&&(t[i]=e[i]);return t}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t;}this.container&&(this.content=this.container.firstElementChild);}getOption(t){return this.options[t]}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e);}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let i;for(let n=0,s=this.events[e].length;n<s;n++)i=this.events[e][n],"function"==typeof i&&i.apply(this,t);}}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=s.a.clone(e.view.getContentPosition()),e.setContentOffset(t),e.scrollbar.setContentPosition(e.view),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me);}));}setContentOffset(t){var e=-1;this.getOption("swapContainers")&&(e=1),this.content.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition();}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("sa-on-left"),0===t[1]&&e.push("sa-on-top"),1===Math.abs(t[0])&&e.push("sa-on-right"),1===Math.abs(t[1])&&e.push("sa-on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e);}}}]).ScrollArea;
3559
+ module.exports=function(t){var e={};function i(s){if(e[s])return e[s].exports;var n=e[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s});},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0});},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(s,n,function(e){return t[e]}.bind(null,n));return s},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1)}([function(t,e){t.exports={create:function(){return [0,0]},clone:function(t){var e=new Array(2);return e[0]=t[0],e[1]=t[1],e},fromValues:function(t,e){var i=new Array(2);return i[0]=t,i[1]=e,i},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},set:function(t,e,i){return t[0]=e,t[1]=i,t},add:function(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t},sub:function(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t},mul:function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},div:function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},min:function(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t},max:function(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t},scale:function(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t},dist:function(t,e){var i=e[0]-t[0],s=e[1]-t[1];return Math.sqrt(i*i+s*s)},sqrDist:function(t,e){var i=e[0]-t[0],s=e[1]-t[1];return i*i+s*s},len:function(t){var e=t[0],i=t[1];return Math.sqrt(e*e+i*i)},length:function(t){var e=t[0],i=t[1];return Math.sqrt(e*e+i*i)},sqrLen:function(t){var e=t[0],i=t[1];return e*e+i*i},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var i=e[0],s=e[1],n=i*i+s*s;return n>0&&(n=1/Math.sqrt(n),t[0]=e[0]*n,t[1]=e[1]*n),t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},cross:function(t,e,i){var s=e[0]*i[1]-e[1]*i[0];return t[0]=t[1]=0,t[2]=s,t},lerp:function(t,e,i,s){var n=e[0],o=e[1];return t[0]=n+s*(i[0]-n),t[1]=o+s*(i[1]-o),t},transformMat2:function(t,e,i){var s=e[0],n=e[1];return t[0]=s*i[0]+n*i[1],t[1]=s*i[2]+n*i[3],t},str:function(t){return "this("+t[0]+", "+t[1]+")"}};},function(t,e,i){i.r(e),i.d(e,"ScrollArea",(function(){return r}));var s=i(0),n=i.n(s);class o{constructor(t,e){this.position=n.a.create(),this.contentSize=t,this.viewSize=e,this.contentViewRatio=n.a.div(n.a.create(),this.getViewSize(),this.getContentSize()),this._maxPosition=n.a.create(),this._minPosition=n.a.create(),this._vec2cache=n.a.create();}getViewPosition(){return this.position}getContentPosition(){return this.position}clampPosition(){n.a.max(this._maxPosition,this.getViewSize(),this.getContentSize()),n.a.min(this._minPosition,this.getViewSize(),this.getContentSize()),n.a.sub(this._maxPosition,this._maxPosition,this._minPosition),this.getContentSize()[0]<=this.getViewSize()[0]&&(this._maxPosition[0]=0),this.getContentSize()[1]<=this.getViewSize()[1]&&(this._maxPosition[1]=0),this.position=this.clamp(this.position,n.a.create(),this._maxPosition);}setViewPosition(t){!isNaN(parseFloat(t[0]))&&isFinite(t[0])&&!isNaN(parseFloat(t[1]))&&isFinite(t[1])&&(this.position=t,this.clampPosition());}move(t){t&&this.setViewPosition(n.a.sub(t,this.getViewPosition(),t));}setViewSize(t,e){n.a.set(this.viewSize,t,e),n.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition();}setContentSize(t,e){n.a.set(this.contentSize,t,e),n.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition();}isContentLonger(){return this.viewSize[1]<this.contentSize[1]}isContentWider(){return this.viewSize[0]<this.contentSize[0]}getContentSize(){return this.contentSize}getViewSize(){return this.viewSize}clamp(t,e,i){var s=n.a.clone(t);return n.a.max(s,s,e),n.a.min(s,s,i),s}getPercentagePosition(){return n.a.div(n.a.create(),this.position,this.viewSize)}getRelativePosition(){return n.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize()),0!==n.a.len(this._vec2cache)&&n.a.div(this._vec2cache,this.getViewPosition(),n.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize())),this._vec2cache}getContentViewRatio(){return this.contentViewRatio}}class a{constructor(t,e){this.options=e||{},this.vertical="vertical"==this.getOption("direction"),this.position=0,this.mouseDelta=n.a.create(),this.onScroll=!1,this.parentElement=t,this.element=document.createElement("div"),this.element.classList.add("sa-scrollbar"),this.element.classList.add("sa-scrollbar-position-"+this.getOption("scollbarPosition")),this.element.style.position="absolute",this.element.style.right="0",this.element.style.bottom="0",this.vertical?this.element.style.top="0":this.element.style.left="0",this.bar=document.createElement("div"),this.bar.style.minWidth="1px",this.bar.classList.add("sa-bar"),this.element.appendChild(this.bar),t.appendChild(this.element),this.view=new o(n.a.fromValues(this.element.clientWidth,this.element.clientHeight),n.a.fromValues(this.bar.clientWidth,this.bar.clientHeight));}getOption(t){return this.options[t]}attachEvents(t){t.addEventListener("mousedown",t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault();}),window.addEventListener("mousemove",t=>{if(this.mousedown){var e=n.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e);}}),window.addEventListener("mouseup",t=>{this.mousedown=!1;}),t.addEventListener("touchstart",t=>{t.touches&&t.touches.length>0&&(this.lastTouch=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY));},!1),window.addEventListener("touchend",t=>{this.lastTouch=null;},!1),window.addEventListener("touchcancel",t=>{this.lastTouch=null;},!1),window.addEventListener("touchmove",t=>{if(t.touches&&t.touches.length>0){if(this.lastTouch){var e=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(n.a.sub(e,this.lastTouch,e)):this.scroll(n.a.sub(e,e,this.lastTouch));}this.lastTouch=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);}},!1);}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=n.a.clone(e.view.getContentPosition()),e.setPosition(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me);}));}setPosition(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.bar.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1;}clear(){this.position=0,this.setPosition(0);}getBarLength(){return this.vertical?parseInt(Math.ceil(this.bar.clientHeight)):parseInt(Math.ceil(this.bar.clientWidth))}getViewLength(){return this.vertical?this.view.getViewSize()[1]:this.view.getViewSize()[0]}getContentLength(){return this.vertical?this.view.getContentSize()[1]:this.view.getContentSize()[0]}setContentPosition(t){var e=n.a.create(),i=t.getContentViewRatio()[this.vertical?1:0];n.a.scale(e,t.getContentPosition(),i),this.view.setViewPosition(e),this.setPosition(this.view.getContentPosition());}getPercentage(){return n.a.len(this.view.getViewPosition())/this.getViewLength()}resizeContent(t){t?(this.vertical?(this.bar.style.height=Math.floor(t.getViewSize()[1]*t.getContentViewRatio()[1])+"px",this.element.style.height=t.getViewSize()[1]+"px",this.element.style.visibility=t.isContentLonger()?"visible":"hidden"):(this.bar.style.width=Math.floor(t.getViewSize()[0]*t.getContentViewRatio()[0])+"px",this.element.style.width=t.getViewSize()[0]+"px",this.element.style.visibility=t.isContentWider()?"visible":"hidden"),this.resize()):console.warn("View undefined");}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)),this.view.setContentSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight))):(this.view.setViewSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)),this.view.setContentSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)));}}class r{constructor(t,e,i){this.container=null,this.content=null,this.options={smooth:!0,reverse:!1,swapContainers:!1,updateInterval:10,wheelSpeed:50,scollbarPosition:"right",direction:"vertical"},void 0!==i&&i&&(this.options=this.chooseOptions(this.options,i)),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=n.a.create(),this.lastTime=0,this.smoothDistance=null,this.timeout=null,this.smoothCoeficent=n.a.fromValues(11,11),this.positionClassNames=["sa-on-left","sa-on-right","sa-on-top","sa-on-bottom"],this.mousedown=!1,this.touchstart=!1,this._vec2cache=n.a.create();this.container;if(this.getOption("swapContainers")?this.view=new o(n.a.fromValues(this.container.clientWidth,this.container.clientHeight),n.a.fromValues(this.content.clientWidth,this.content.clientHeight)):(this.content,this.view=new o(n.a.fromValues(this.content.clientWidth,this.content.clientHeight),n.a.fromValues(this.container.clientWidth,this.container.clientHeight))),this.container.style.position="relative",this.container.style.overflow="hidden",this.container.style.userSelect="none",this.attachEvents(this.container),this.scrollbarV=new a(this.container,{direction:"vertical",scollbarPosition:"right",reverse:this.options.reverse,swapContainers:this.options.swapContainers}),this.scrollbarH=new a(this.container,{direction:"horizontal",scollbarPosition:"bottom",reverse:this.options.reverse}),"undefined"!=typeof ResizeObserver&&this.content){var s=this;this.resizeObserver=new ResizeObserver((function(){s.resize();})),this.resizeObserver.observe(this.content);}}attachEvents(t){t.addEventListener("mousewheel",t=>{var e=0;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?t.wheelDelta<0||t.wheelDelta>0?1:-1:t.deltaY>0||t.deltaY<0?1:-1,this.scroll(n.a.fromValues(0,this.getOption("wheelSpeed")*e));}),t.addEventListener("mousedown",t=>{this.mousedown=!0,this.lastTime=Date.now(),t.stopPropagation(),t.preventDefault();}),window.addEventListener("mousemove",t=>{if(this.mousedown){var e=n.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e);}}),window.addEventListener("mouseup",t=>{this.onEndDrag(this.deltaMove,Date.now()-this.lastTime),this.mousedown=!1;}),t.addEventListener("touchstart",t=>{t.touches&&t.touches.length>0&&(this.mousedown=!0,this.lastTouch=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY),this.lastTime=Date.now());},!1),window.addEventListener("touchend",t=>{this.onEndDrag(n.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1;},!1),window.addEventListener("touchcancel",t=>{this.onEndDrag(n.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1;},!1),window.addEventListener("touchmove",t=>{if(t.touches&&t.touches.length>0&&this.mousedown){if(this.lastTouch){var e=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(n.a.sub(e,this.lastTouch,e)):this.scroll(n.a.sub(e,e,this.lastTouch));}this.lastTouch=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY),this.lastTime=Date.now();}},!1);}onEndDrag(t,e){if(!(e<=0)){var i=n.a.len(t)/e;if(this.getOption("smooth")&&i>.3){var s=n.a.create();n.a.scale(s,t,i),this.getOption("reverse");var o=this;this.stop();var a=n.a.create(),r=function(){n.a.div(a,s,o.smoothCoeficent),n.a.sqrLen(a)>3?(n.a.sub(s,s,a),window.requestAnimationFrame(r),o.scroll(a)):o.scrolling=!1;};this.timeout=window.requestAnimationFrame(r);}else this.scrolling=!1;}}stop(){this.scrolling=!1;}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(Math.ceil(this.content.clientWidth)),parseInt(Math.ceil(this.content.clientHeight))),this.view.setContentSize(parseInt(this.container.clientWidth),parseInt(Math.ceilthis.container.clientHeight))):(this.view.setViewSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight)),this.view.setContentSize(parseInt(Math.ceil(this.content.clientWidth)),parseInt(Math.ceil(this.content.clientHeight)))),this.checkIfScrollIsNeeded(),this.scrollbarV&&this.scrollbarV.resizeContent(this.view),this.scrollbarH&&this.scrollbarH.resizeContent(this.view);}reset(){this.setContentOffset([0,0]);}checkIfScrollIsNeeded(){this.view.isContentLonger()?this.container.classList.add("sa-content-longer"):this.container.classList.remove("sa-content-longer"),this.view.isContentWider()?this.container.classList.add("sa-content-wider"):this.container.classList.remove("sa-content-wider");}chooseOptions(t,e){for(var i in e)t[i]&&(t[i]=e[i]);return t}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t;}this.container&&(this.content=this.container.firstElementChild);}getOption(t){return this.options[t]}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e);}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let i;for(let s=0,n=this.events[e].length;s<n;s++)i=this.events[e][s],"function"==typeof i&&i.apply(this,t);}}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=n.a.clone(e.view.getContentPosition()),e.setContentOffset(t),e.scrollbarV.setContentPosition(e.view),e.scrollbarH.setContentPosition(e.view),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me);}));}smoothScroll(t,e){if(!(e<=0)){var i=n.a.create(),s=n.a.clone(t),o=e,a=Date.now(),r=0,h=this,l=function(){o=Date.now()-a,r=1-Math.pow(1-Math.min(1,o/e),3),n.a.scale(i,s,r),n.a.sub(s,s,i),o<e?(window.requestAnimationFrame(l),n.a.len(s)>0?h.scroll(i):h.scroll(n.a.sub(i,i,s))):(n.a.len(s)>0&&h.scroll(s),h.scrolling=!1);};this.timeout=window.requestAnimationFrame(l);}}setContentOffset(t){var e=-1;this.getOption("swapContainers")&&(e=1),this.content.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition();}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("sa-on-left"),0===t[1]&&e.push("sa-on-top"),1===Math.abs(t[0])&&e.push("sa-on-right"),1===Math.abs(t[1])&&e.push("sa-on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e);}scrollToSection(t,e,i,s){let o=n.a.mul(n.a.create(),this.view.getViewSize(),this.view.getContentViewRatio()),a=n.a.scale(n.a.create(),o,t);const r=s||1;0==e?a[1]=0:a[0]=0;let h=n.a.sub(n.a.create(),this.view.getContentPosition(),a);if(i){let t=n.a.len(h)*r;this.smoothScroll(h,t);}else this.scroll(h);}}}]).ScrollArea;
3560
3560
  });
3561
3561
 
3562
3562
  //
@@ -3593,6 +3593,10 @@ var script$5 = {
3593
3593
  this.scroll.refresh();
3594
3594
  }
3595
3595
  });
3596
+ },
3597
+
3598
+ scrollToSection(index, direction, animate, animSpeed) {
3599
+ this.scroll.scrollToSection(index, direction, animate, animSpeed);
3596
3600
  }
3597
3601
 
3598
3602
  }
@@ -3621,7 +3625,7 @@ var __vue_staticRenderFns__$5 = [];
3621
3625
  const __vue_inject_styles__$5 = undefined;
3622
3626
  /* scoped */
3623
3627
 
3624
- const __vue_scope_id__$5 = "data-v-21e68d18";
3628
+ const __vue_scope_id__$5 = "data-v-2867b1d2";
3625
3629
  /* module identifier */
3626
3630
 
3627
3631
  const __vue_module_identifier__$5 = undefined;
@@ -3955,6 +3959,10 @@ var script$3 = {
3955
3959
  currentPage: {
3956
3960
  type: Object,
3957
3961
  default: null
3962
+ },
3963
+ sortAZ: {
3964
+ type: Boolean,
3965
+ default: false
3958
3966
  }
3959
3967
  },
3960
3968
 
@@ -3974,13 +3982,19 @@ var script$3 = {
3974
3982
  return page && page.visible;
3975
3983
  }); // Copy and filter array
3976
3984
 
3977
- arr = arr.sort((a, b) => {
3978
- if (this.getName(a) && this.getName(b)) {
3979
- return this.getName(a).localeCompare(this.getName(b));
3980
- } else {
3981
- return 0;
3982
- }
3983
- });
3985
+ if (this.sortAZ) {
3986
+ arr = arr.sort((a, b) => {
3987
+ if (this.getName(a) && this.getName(b)) {
3988
+ return this.getName(a).localeCompare(this.getName(b));
3989
+ } else {
3990
+ return 0;
3991
+ }
3992
+ });
3993
+ } else {
3994
+ arr = arr.sort((a, b) => {
3995
+ return parseInt(a.order) - parseInt(b.order);
3996
+ });
3997
+ }
3984
3998
  }
3985
3999
 
3986
4000
  this.count = arr.length;
@@ -4068,8 +4082,8 @@ var __vue_staticRenderFns__$3 = [];
4068
4082
 
4069
4083
  const __vue_inject_styles__$3 = function (inject) {
4070
4084
  if (!inject) return;
4071
- inject("data-v-babf1b98_0", {
4072
- source: ".wf-list-item[data-v-babf1b98]{list-style:none}",
4085
+ inject("data-v-1a61779c_0", {
4086
+ source: ".wf-list-item[data-v-1a61779c]{list-style:none}",
4073
4087
  map: undefined,
4074
4088
  media: undefined
4075
4089
  });
@@ -4077,7 +4091,7 @@ const __vue_inject_styles__$3 = function (inject) {
4077
4091
  /* scoped */
4078
4092
 
4079
4093
 
4080
- const __vue_scope_id__$3 = "data-v-babf1b98";
4094
+ const __vue_scope_id__$3 = "data-v-1a61779c";
4081
4095
  /* module identifier */
4082
4096
 
4083
4097
  const __vue_module_identifier__$3 = undefined;
@@ -1,7 +1,7 @@
1
- var WayfinderVueComponents=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n,i=e(t);function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var i,a,o=[],s=!0,r=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(o.push(i.value),!e||o.length!==e);s=!0);}catch(t){r=!0,a=t}finally{try{s||null==n.return||n.return()}finally{if(r)throw a}}return o}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var l={name:"Map",props:{project:{type:String},api:{type:String,default:"//api.3dwayfinder.com/"},assets:{type:String,default:"//static.3dwayfinder.com/shared/"}},mounted:function(){this.load()},methods:{load:function(){var t=this;n=void 0!==this.$WF_MAP_TYPE&&"2d"==this.$WF_MAP_TYPE?new Wayfinder2D:new Wayfinder3D,i.default.prototype.$wayfinder=n,i.default.directive("wf-translate",{bind:function(t,e,i){if(n){var a="string"==typeof e.value?e.value:e.expression;t.setAttribute("data-translation-element",a),n.translator.translateElement(a,t)}}}),WayfinderAPI.LOCATION=this.api,n.options.assetsLocation=this.assets,console.log("this.project",this.project),this.project&&(n.options.project=this.project),n.open();var e=this,a=1e3*n.settings.getInt("path.message.duration",5);n.events.on("data-loaded",(function(){console.log("data-loaded",e.loaded,e.$store),e.loaded||(e.$store.dispatch("wf/SET_CURRENT_FLOOR",n.getCurrentFloor()),e.$store.dispatch("wf/SET_INACTIVITY_TIME",n.settings.getInt("kiosk.max-inactivity",30)),e.update(n),e.$store.dispatch("wf/SET_INACTIVITY_TIME",n.settings.getInt("kiosk.max-inactivity",30)),e.$emit("loaded"))})),n.events.on("map-ready",(function(){n.resize()})),n.events.on("language-change",(function(){t.update(n)})),n.events.on("floor-change-before",(function(e,i,a){t.pathText=n.translator.get("go_to_floor",[e.getName(n.getLanguage()),a.getName(n.getLanguage()),i.getName(n.getLanguage())]),t.showPathText=!0})),n.events.on("floor-change",(function(e){e&&(t.$store.dispatch("wf/SET_CURRENT_FLOOR",e),t.$emit("onTouch")),t.showPathText&&setTimeout((function(){t.showPathText=!1}),a)})),n.events.on("map-click",(function(e){e&&(t.$emit("poiClicked",e,!0),n.statistics.onClick(e.id,"map"))})),n.events.on("map-touch",(function(){t.$emit("onTouch")})),window.addEventListener("resize",(function(){n&&n.resize()}))},update:function(){for(var t in this.$store._wrappedGetters)0===t.indexOf("wf")&&this.$store._wrappedGetters[t](this.$store.state);i.default.prototype.$wayfinder.update(),i.default.prototype.$wayfinder.resize(),i.default.prototype.$wayfinder.translator.translate()},reset:function(){n.restoreDefaultState()},start:function(){n.run(),n.statistics.onSessionStart()},pause:function(){n.pause(),n.statistics.onSessionEnd()},run:function(){n.run()},visibilityChanged:function(t){i.default.prototype.$wayfinder.resize()}},data:function(){return{loaded:!1,showPathText:!1,pathText:""}}};function d(t,e,n,i,a,o,s,r,c,u){"boolean"!=typeof s&&(c=r,r=s,s=!1);const l="function"==typeof n?n.options:n;let d;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,a&&(l.functional=!0)),i&&(l._scopeId=i),o?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(o)},l._ssrRegister=d):e&&(d=s?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),d)if(l.functional){const t=l.render;l.render=function(e,n){return d.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,d):[d]}return n}const h="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function f(t){return(t,e)=>function(t,e){const n=h?e.media||"default":t,i=g[n]||(g[n]={ids:new Set,styles:[]});if(!i.ids.has(t)){i.ids.add(t);let n=e.source;if(e.map&&(n+="\n/*# sourceURL="+e.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",e.media&&i.element.setAttribute("media",e.media),void 0===p&&(p=document.head||document.getElementsByTagName("head")[0]),p.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(n),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{const t=i.ids.size-1,e=document.createTextNode(n),a=i.element.childNodes;a[t]&&i.element.removeChild(a[t]),a.length?i.element.insertBefore(e,a[t]):i.element.appendChild(e)}}}(t,e)}let p;const g={};var m=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],staticClass:"wf-component wf-map-container"},[n("canvas",{attrs:{id:"map"}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPathText,expression:"showPathText"}],staticClass:"wf-map-path-text"},[t._v(t._s(t.pathText))])])},staticRenderFns:[]},(function(t){t&&t("data-v-00d2773a_0",{source:".wf-map-container[data-v-00d2773a]{position:relative;width:100%;height:100%}.wf-map-container canvas[data-v-00d2773a]{width:100%;height:100%}.wf-map-container .wf-map-path-text[data-v-00d2773a]{width:30ch;text-align:center;background-color:#fff;position:absolute;bottom:25%;margin:auto;left:50%;margin-left:-15ch;padding:.5em}",map:void 0,media:void 0})}),l,"data-v-00d2773a",false,undefined,!1,f,void 0,void 0);var v=("undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function w(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function y(t){return null!==t&&"object"==typeof t}var b=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},_={namespaced:{configurable:!0}};_.namespaced.get=function(){return!!this._rawModule.namespaced},b.prototype.addChild=function(t,e){this._children[t]=e},b.prototype.removeChild=function(t){delete this._children[t]},b.prototype.getChild=function(t){return this._children[t]},b.prototype.hasChild=function(t){return t in this._children},b.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},b.prototype.forEachChild=function(t){w(this._children,t)},b.prototype.forEachGetter=function(t){this._rawModule.getters&&w(this._rawModule.getters,t)},b.prototype.forEachAction=function(t){this._rawModule.actions&&w(this._rawModule.actions,t)},b.prototype.forEachMutation=function(t){this._rawModule.mutations&&w(this._rawModule.mutations,t)},Object.defineProperties(b.prototype,_);var C,I=function(t){this.register([],t,!1)};function k(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return;k(t.concat(i),e.getChild(i),n.modules[i])}}I.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},I.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},I.prototype.update=function(t){k([],this.root,t)},I.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var a=new b(e,n);0===t.length?this.root=a:this.get(t.slice(0,-1)).addChild(t[t.length-1],a);e.modules&&w(e.modules,(function(e,a){i.register(t.concat(a),e,n)}))},I.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},I.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var O=function(t){var e=this;void 0===t&&(t={}),!C&&"undefined"!=typeof window&&window.Vue&&function(t){if(C&&t===C)return;!
1
+ var WayfinderVueComponents=function(t){"use strict";function e(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var n,i=e(t);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==n)return;var i,o,a=[],s=!0,r=!1;try{for(n=n.call(t);!(s=(i=n.next()).done)&&(a.push(i.value),!e||a.length!==e);s=!0);}catch(t){r=!0,o=t}finally{try{s||null==n.return||n.return()}finally{if(r)throw o}}return a}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var l={name:"Map",props:{project:{type:String},api:{type:String,default:"//api.3dwayfinder.com/"},assets:{type:String,default:"//static.3dwayfinder.com/shared/"}},mounted:function(){this.load()},methods:{load:function(){var t=this;n=void 0!==this.$WF_MAP_TYPE&&"2d"==this.$WF_MAP_TYPE?new Wayfinder2D:new Wayfinder3D,i.default.prototype.$wayfinder=n,i.default.directive("wf-translate",{bind:function(t,e,i){if(n){var o="string"==typeof e.value?e.value:e.expression;t.setAttribute("data-translation-element",o),n.translator.translateElement(o,t)}}}),WayfinderAPI.LOCATION=this.api,n.options.assetsLocation=this.assets,console.log("this.project",this.project),this.project&&(n.options.project=this.project),n.open();var e=this,o=1e3*n.settings.getInt("path.message.duration",5);n.events.on("data-loaded",(function(){console.log("data-loaded",e.loaded,e.$store),e.loaded||(e.$store.dispatch("wf/SET_CURRENT_FLOOR",n.getCurrentFloor()),e.$store.dispatch("wf/SET_INACTIVITY_TIME",n.settings.getInt("kiosk.max-inactivity",30)),e.update(n),e.$store.dispatch("wf/SET_INACTIVITY_TIME",n.settings.getInt("kiosk.max-inactivity",30)),e.$emit("loaded"))})),n.events.on("map-ready",(function(){n.resize()})),n.events.on("language-change",(function(){t.update(n)})),n.events.on("floor-change-before",(function(e,i,o){t.pathText=n.translator.get("go_to_floor",[e.getName(n.getLanguage()),o.getName(n.getLanguage()),i.getName(n.getLanguage())]),t.showPathText=!0})),n.events.on("floor-change",(function(e){e&&(t.$store.dispatch("wf/SET_CURRENT_FLOOR",e),t.$emit("onTouch")),t.showPathText&&setTimeout((function(){t.showPathText=!1}),o)})),n.events.on("map-click",(function(e){e&&(t.$emit("poiClicked",e,!0),n.statistics.onClick(e.id,"map"))})),n.events.on("map-touch",(function(){t.$emit("onTouch")})),window.addEventListener("resize",(function(){n&&n.resize()}))},update:function(){for(var t in this.$store._wrappedGetters)0===t.indexOf("wf")&&this.$store._wrappedGetters[t](this.$store.state);i.default.prototype.$wayfinder.update(),i.default.prototype.$wayfinder.resize(),i.default.prototype.$wayfinder.translator.translate()},reset:function(){n.restoreDefaultState()},start:function(){n.run(),n.statistics.onSessionStart()},pause:function(){n.pause(),n.statistics.onSessionEnd()},run:function(){n.run()},visibilityChanged:function(t){i.default.prototype.$wayfinder.resize()}},data:function(){return{loaded:!1,showPathText:!1,pathText:""}}};function h(t,e,n,i,o,a,s,r,c,u){"boolean"!=typeof s&&(c=r,r=s,s=!1);const l="function"==typeof n?n.options:n;let h;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),i&&(l._scopeId=i),a?(h=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=h):e&&(h=s?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),h)if(l.functional){const t=l.render;l.render=function(e,n){return h.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,h):[h]}return n}const d="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function f(t){return(t,e)=>function(t,e){const n=d?e.media||"default":t,i=g[n]||(g[n]={ids:new Set,styles:[]});if(!i.ids.has(t)){i.ids.add(t);let n=e.source;if(e.map&&(n+="\n/*# sourceURL="+e.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",e.media&&i.element.setAttribute("media",e.media),void 0===p&&(p=document.head||document.getElementsByTagName("head")[0]),p.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(n),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{const t=i.ids.size-1,e=document.createTextNode(n),o=i.element.childNodes;o[t]&&i.element.removeChild(o[t]),o.length?i.element.insertBefore(e,o[t]):i.element.appendChild(e)}}}(t,e)}let p;const g={};var m=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],staticClass:"wf-component wf-map-container"},[n("canvas",{attrs:{id:"map"}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPathText,expression:"showPathText"}],staticClass:"wf-map-path-text"},[t._v(t._s(t.pathText))])])},staticRenderFns:[]},(function(t){t&&t("data-v-00d2773a_0",{source:".wf-map-container[data-v-00d2773a]{position:relative;width:100%;height:100%}.wf-map-container canvas[data-v-00d2773a]{width:100%;height:100%}.wf-map-container .wf-map-path-text[data-v-00d2773a]{width:30ch;text-align:center;background-color:#fff;position:absolute;bottom:25%;margin:auto;left:50%;margin-left:-15ch;padding:.5em}",map:void 0,media:void 0})}),l,"data-v-00d2773a",false,undefined,!1,f,void 0,void 0);var v=("undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function w(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function y(t){return null!==t&&"object"==typeof t}var b=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},_={namespaced:{configurable:!0}};_.namespaced.get=function(){return!!this._rawModule.namespaced},b.prototype.addChild=function(t,e){this._children[t]=e},b.prototype.removeChild=function(t){delete this._children[t]},b.prototype.getChild=function(t){return this._children[t]},b.prototype.hasChild=function(t){return t in this._children},b.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},b.prototype.forEachChild=function(t){w(this._children,t)},b.prototype.forEachGetter=function(t){this._rawModule.getters&&w(this._rawModule.getters,t)},b.prototype.forEachAction=function(t){this._rawModule.actions&&w(this._rawModule.actions,t)},b.prototype.forEachMutation=function(t){this._rawModule.mutations&&w(this._rawModule.mutations,t)},Object.defineProperties(b.prototype,_);var C,I=function(t){this.register([],t,!1)};function k(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return;k(t.concat(i),e.getChild(i),n.modules[i])}}I.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},I.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},I.prototype.update=function(t){k([],this.root,t)},I.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var o=new b(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&w(e.modules,(function(e,o){i.register(t.concat(o),e,n)}))},I.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},I.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var O=function(t){var e=this;void 0===t&&(t={}),!C&&"undefined"!=typeof window&&window.Vue&&function(t){if(C&&t===C)return;!
2
2
  /*!
3
3
  * vuex v3.6.2
4
4
  * (c) 2021 Evan You
5
5
  * @license MIT
6
6
  */
7
- function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(C=t)}(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new I(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new C,this._makeLocalGettersCache=Object.create(null);var a=this,o=this.dispatch,s=this.commit;this.dispatch=function(t,e){return o.call(a,t,e)},this.commit=function(t,e,n){return s.call(a,t,e,n)},this.strict=i;var r=this._modules.root.state;x(this,r,[],this._modules.root),E(this,r),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:C.config.devtools)&&function(t){v&&(t._devtoolHook=v,v.emit("vuex:init",t),v.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){v.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){v.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},S={state:{configurable:!0}};function T(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function P(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;x(t,n,[],t._modules.root,!0),E(t,n,e)}function E(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var a=t._wrappedGetters,o={};w(a,(function(e,n){o[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=C.config.silent;C.config.silent=!0,t._vm=new C({data:{$$state:e},computed:o}),C.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),C.nextTick((function(){return i.$destroy()})))}function x(t,e,n,i,a){var o=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!o&&!a){var r=M(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){C.set(r,c,i.state)}))}var u=i.context=function(t,e,n){var i=""===e,a={dispatch:i?t.dispatch:function(n,i,a){var o=L(n,i,a),s=o.payload,r=o.options,c=o.type;return r&&r.root||(c=e+c),t.dispatch(c,s)},commit:i?t.commit:function(n,i,a){var o=L(n,i,a),s=o.payload,r=o.options,c=o.type;r&&r.root||(c=e+c),t.commit(c,s,r)}};return Object.defineProperties(a,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(a){if(a.slice(0,i)===e){var o=a.slice(i);Object.defineProperty(n,o,{get:function(){return t.getters[a]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return M(t.state,n)}}}),a}(t,s,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,s+n,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,a=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var a,o=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(a=o)&&"function"==typeof a.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,i,a,u)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,s+n,e,u)})),i.forEachChild((function(i,o){x(t,e,n.concat(o),i,a)}))}function M(t,e){return e.reduce((function(t,e){return t[e]}),t)}function L(t,e,n){return y(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}S.state.get=function(){return this._vm._data.$$state},S.state.set=function(t){},O.prototype.commit=function(t,e,n){var i=this,a=L(t,e,n),o=a.type,s=a.payload,r={type:o,payload:s},c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(r,i.state)})))},O.prototype.dispatch=function(t,e){var n=this,i=L(t,e),a=i.type,o=i.payload,s={type:a,payload:o},r=this._actions[a];if(r){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var c=r.length>1?Promise.all(r.map((function(t){return t(o)}))):r[0](o);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){}e(t)}))}))}},O.prototype.subscribe=function(t,e){return T(t,this._subscribers,e)},O.prototype.subscribeAction=function(t,e){return T("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},O.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},O.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},O.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),x(this,this.state,t,this._modules.get(t),n.preserveState),E(this,this.state)},O.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=M(e.state,t.slice(0,-1));C.delete(n,t[t.length-1])})),P(this)},O.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},O.prototype.hotUpdate=function(t){this._modules.update(t),P(this,!0)},O.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(O.prototype,S);var N,j=(N=function(t,e){var n,i={};return(n=e,function(t){return Array.isArray(t)||y(t)}(n)?Array.isArray(n)?n.map((function(t){return{key:t,val:t}})):Object.keys(n).map((function(t){return{key:t,val:n[t]}})):[]).forEach((function(e){var n=e.key,a=e.val;i[n]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=function(t,e,n){return t._modulesNamespaceMap[n]}(this.$store,0,t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof a?a.call(this,e,n):e[a]},i[n].vuex=!0})),i},function(t,e){return"string"!=typeof t?(e=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),N(t,e)});var F=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.poi?n("div",{staticClass:"wf-poi"},[t.showLogo?n("div",{staticClass:"wf-poi-image",class:[t.isImage()],style:{"background-image":t.getImage()}}):t._e(),t._v(" "),t.showName?n("div",{staticClass:"wf-poi-name",domProps:{innerHTML:t._s(t.poi.getName(t.language)||"POI")}}):t._e(),t._v(" "),t.showPathButton?n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.showPath,expression:"showPath",arg:"tap"}],staticClass:"wf-show-path"},[n("button",[n("label",{attrs:{"data-translation-element":"show_path"}},[t._v(t._s(t.show_path))]),t._v(" "),n("i")])]):t._e(),t._v(" "),t.showDescription?n("div",{staticClass:"wf-poi-description",domProps:{innerHTML:t._s(t.poi.getDescription(t.language)||"")}}):t._e(),t._v(" "),t.showRoomID?n("div",{staticClass:"wf-poi-room_id",domProps:{innerHTML:t._s(t.poi.room_id||"")}}):t._e(),t._v(" "),t.showFloor&&t.poi.getFloor()?n("div",{staticClass:"wf-poi-floor",domProps:{innerHTML:t._s(t.poi.getFloor().getName(t.language)||"")}}):t._e()]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-658b6c14_0",{source:".layout-view[data-v-658b6c14]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.poi-info[data-v-658b6c14]{padding:1rem}.poi-info h2[data-v-658b6c14]{text-align:center;margin-top:1.5rem;margin-bottom:1.5rem}.poi-body[data-v-658b6c14]{box-shadow:0 -2px 1px 0 rgba(0,0,0,.05);padding:1rem;flex-grow:1}.poi-image[data-v-658b6c14]{height:14rem;width:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat}.poi-image.image-background[data-v-658b6c14]{background-size:cover}.show-path[data-v-658b6c14]{bottom:1rem;right:1rem;text-transform:uppercase;z-index:10;line-height:2.8rem;margin-bottom:1.5rem}.show-path button[data-v-658b6c14]{height:3rem;font-size:1.2rem;line-height:2.8rem;padding-left:2.5rem;padding-right:2.5rem;margin:auto;border:0;display:block}.poi-description[data-v-658b6c14]{line-height:1.2}.poi-contact .address[data-v-658b6c14]{font-weight:600;margin-bottom:.5rem}.poi-contact .address span[data-v-658b6c14]{padding-top:4px;vertical-align:top;display:inline-block}.poi-contact .address a[data-v-658b6c14]{text-decoration:none;display:block;line-height:1.5}.poi-contact .address .icon[data-v-658b6c14]:before{mix-blend-mode:initial;color:#fff}",map:void 0,media:void 0})}),{name:"POI",computed:o(o({},j("wf",["language"])),{},{hasShowPathListener:function(){return!(!this.$listeners||!this.$listeners.showPath)}}),props:{poi:{type:Object,default:null},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1}},watch:{language:function(){this.$wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{showPath:function(){this.poi&&(this.hasShowPathListener?this.$emit("showPath",this.poi):this.$wayfinder.showPath(this.poi.getNode(),this.poi))},open:function(t){t&&this.poi[t]&&("shop_email"===t?window.open("mailto:"+this.poi[t],"_system"):"shop_phone"===t?window.open("tel:"+this.poi[t],"_system"):window.open(this.poi[t],"_system"))},getImage:function(){return this.poi.getBackgroundUrl()?'url("'+this.poi.getBackgroundUrl()+'")':!!this.poi.getIconUrl()&&'url("'+this.poi.getIconUrl()+'")'},isImage:function(){return this.poi.getBackgroundUrl()?"image-background":this.poi.getIconUrl()?"image-logo":"image-none"},truncate:function(t,e){return t&&t.length>e?t.substring(0,e)+"...":t}},data:function(){return{show_path:"Show Path"}}},"data-v-658b6c14",false,undefined,!1,f,void 0,void 0),$=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-az-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-17afa634_0",{source:".wf-list-item[data-v-17afa634]{list-style:none}",map:void 0,media:void 0})}),{name:"AZMenu",components:{POI:F},props:{showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},data:function(){return{count:0}},computed:o(o({},j("wf",["pois","language"])),{},{sortedPOIs:function(){var t=this,e=this.pois.slice().filter((function(t){return t&&t.getShowInMenu()}));return e=e.sort((function(e,n){return e.getName(t.language)&&n.getName(t.language)?e.getName(t.language).localeCompare(n.getName(t.language)):0})),this.count=e.length,e}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-17afa634",false,undefined,!1,f,void 0,void 0),z=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-container",class:[t.active?"wf-active":""]},[t.showTitle?n("div",{staticClass:"wf-languages-container-select"},[t._v("Select language")]):t._e(),t._v(" "),n("div",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.languages,(function(e){return n("div",{key:e.getName(),class:["item","language","lang-"+e.getName(),{active:e.getName()==t.language,display:t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-64144cc4_0",{source:".languages-container.active[data-v-64144cc4]{height:fit-content;z-index:10}.languages-container.active .languages-container-select[data-v-64144cc4]{visibility:initial;opacity:1}.languages-container .languages-container-select[data-v-64144cc4]{opacity:0;padding-bottom:.5rem;margin:auto;text-align:center;transition:opacity .2s ease-in;overflow:hidden;height:1.5rem;font-size:1rem}.languages-container .language .flag[data-v-64144cc4]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.languages-container .language .active[data-v-64144cc4]{height:3.5rem;margin-bottom:1rem}.languages-container .language .display[data-v-64144cc4]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"FlagsMenu",computed:o(o({},j("wf",["languages","language","reset"])),{},{count:function(){return this.languages.length}}),props:{showTitle:{type:Boolean,default:!0},showFlag:{type:Boolean,default:!0},labelType:{type:String,default:"none"}},data:function(){return{active:!1}},methods:{changeLanguage:function(t){this.$wayfinder.setLanguage(t.name),this.$emit("changeLanguage",t)},getFlagImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}},watch:{reset:function(){this.active=!1}}},"data-v-64144cc4",false,undefined,!1,f,void 0,void 0),A=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-menu",class:{"wf-active":t.active}},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count,t.active?"wf-active":""]},t._l(t.languages,(function(e){return n("li",{directives:[{name:"show",rawName:"v-show",value:!(t.hideActive&&e.getName()==t.language),expression:"!(hideActive && lang.getName() == language)"}],key:e.getName(),staticClass:"wf-list-item wf-language",class:["wf-lang-"+e.getName(),{"wf-active":e.getName()==t.language,"wf-display":t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-lang-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-2b86d0a6_0",{source:".wf-languages-menu.active[data-v-2b86d0a6]{height:fit-content;z-index:10}.wf-languages-menu.active .wf-languages-title[data-v-2b86d0a6]{visibility:initial;opacity:1}.wf-languages-menu .wf-languages-title[data-v-2b86d0a6]{opacity:0;padding-bottom:.5rem;margin:auto;text-align:center;transition:opacity .2s ease-in;overflow:hidden}.wf-languages-menu .wf-language .wf-lang-flag[data-v-2b86d0a6]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.wf-languages-menu .wf-language .wf-active[data-v-2b86d0a6]{height:3.5rem;margin-bottom:1rem}.wf-languages-menu .wf-language .wf-display[data-v-2b86d0a6]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"LanguagesMenu",computed:o(o({},j("wf",["languages","language","reset"])),{},{count:function(){return this.languages.length}}),props:{showTitle:{type:Boolean,default:!1},showFlag:{type:Boolean,default:!0},labelType:{type:String,default:"none"},hideActive:{type:Boolean,default:!1},title:{type:String,default:"Select language"}},data:function(){return{active:!1}},methods:{changeLanguage:function(t){this.$listeners&&this.$listeners.changeLanguage?this.$emit("change",t):this.$wayfinder.setLanguage(t.name)},getFlagImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}},watch:{reset:function(){this.active=!1}}},"data-v-2b86d0a6",false,undefined,!1,f,void 0,void 0),D=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-groups-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[t._t("prepend"),t._v(" "),t._l(t.sortedGroups,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(topic)",arg:"tap"}],staticClass:"wf-item-content"},[t._t("default",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),e.childGroups.length>0&&t.showSubGroups?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}]},t._l(t.subGroups(e.childGroups),(function(e){return n("li",{key:e.id},[t._t("subgroup",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2)})),0):t._e(),t._v(" "),e.pois.length>0&&t.showPOIs?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}],staticClass:"wf-list wf-sublist"},t._l(t.sortedPOIs(e.pois),(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onPOICLick(e),expression:"onPOICLick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item"},[t._t("poi",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showPOILogo,showName:t.showPOIName,showPathButton:t.showPOIPathButton,showDescription:t.showPOIDescription,showRoomID:t.showPOIRoomID,showFloor:t.showPOIFloor}})]}),{poi:e})],2)})),0):t._e()])})),t._v(" "),t._t("append")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-13cecfd9_0",{source:".wf-groups-menu .wf-list-item[data-v-13cecfd9]{list-style:none}.wf-groups-menu .wf-list[data-v-13cecfd9]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"GroupsMenu",components:{Group:d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.group?n("div",{staticClass:"wf-group",class:[t.hasImage()]},[n("label",{staticClass:"wf-name",domProps:{innerHTML:t._s(t.group.getName(t.language))}}),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-poi-count"},[t._v(t._s(t.group.pois.length))]):t._e(),t._v(" "),t.showIcon?n("img",{staticClass:"wf-group-icon",attrs:{src:t.group.getIconUrl()}}):t._e()]):t._e()},staticRenderFns:[]},undefined,{name:"Group",computed:o({},j("wf",["language"])),props:{group:{type:Object,default:null},showIcon:{type:Boolean,default:!1},showPOICount:{type:Boolean,default:!1}},watch:{language:function(){wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{hasImage:function(){return this.group.getIconUrl()?"wf-has-icon":"wf-icon-none"}}},"data-v-077cd362",false,undefined,!1,void 0,void 0,void 0),POI:F},props:{parent:{type:Number,default:-1},showPOICount:{type:Boolean,default:!1},az:{type:Boolean,default:!1},order:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},showSubGroups:{type:Boolean,default:!0},showPOIs:{type:Boolean,default:!1},showPOILogo:{type:Boolean,default:!1},showPOIName:{type:Boolean,default:!0},showPOIPathButton:{type:Boolean,default:!1},showPOIDescription:{type:Boolean,default:!1},showPOIRoomID:{type:Boolean,default:!1},showPOIFloor:{type:Boolean,default:!1},openGroup:{type:Boolean,default:!0},sortPOIs:{type:Boolean,default:!0}},data:function(){return{current:null,count:0}},computed:o(o({},j("wf",["poiGroups","currentGroup","language"])),{},{sortedGroups:function(){var t,e=this,n=[],i=this.poiGroups;for(var a in i)(t=i[a])&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent||-1===this.parent&&null===t.parent_id)&&n.push(t);return this.az?n=n.sort((function(t,n){return t&&t.getName(e.language)&&n&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language),e.language,{sensitivity:"accent"}):0})):this.order&&(n=n.sort((function(t,e){return t&&e?t.order-e.order:0}))),this.count=n.length,n}}),watch:{currentGroup:function(){this.current=this.currentGroup}},methods:{onClick:function(t){var e=this;return function(){e.current==t?e.current=null:e.current=t,e.$emit("clicked",t)}},onPOICLick:function(t){var e=this;return function(){e.$emit("poiClicked",t)}},reset:function(){this.$store.dispatch("wf/SET_CURRENT_GROUP",null)},subGroups:function(t){if(t){var e=[];for(var n in t)this.poiGroups[n]&&this.poiGroups[n].getShowInMenu()&&e.push(this.poiGroups[n]);return e}return[]},sortedPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));return this.sortPOIs?n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})):n}}},"data-v-13cecfd9",false,undefined,!1,f,void 0,void 0),R=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-group-pois-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.back(),expression:"back()",arg:"tap"}],staticClass:"wf-list-item wf-list-header"},[t._v(t._s(t.currentGroupName))]),t._v(" "),t._l(t.getPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},domProps:{innerHTML:t._s(e.getName(t.language))}})}))],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-14d8d75e_0",{source:".wf-group-pois-menu[data-v-14d8d75e]{overflow:hidden;user-select:none}.wf-group-pois-menu .wf-list[data-v-14d8d75e]{margin:0;padding:0}.wf-group-pois-menu .list-item[data-v-14d8d75e]{list-style:none;padding:1em}",map:void 0,media:void 0})}),{name:"GroupPOIsMenu",props:{group:{type:Object,default:null},currentPOI:{type:Object,default:null}},data:function(){return{count:0}},computed:o(o({},j("wf",["language"])),{},{getPOIs:function(){var t=this;if(this.group&&this.group.pois){var e=this.group.pois.slice(0);return e=e.filter((function(t){return t.getShowInMenu()})),this.count=e.length,e.sort((function(e,n){return e.getName(t.language).localeCompare(n.getName(t.language))}))}return this.count=0,[]},currentGroupName:function(){return this.group?this.group.getName(this.language):""}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t)}},back:function(){var t=this;return function(){t.$emit("back")}}}},"data-v-14d8d75e",false,undefined,!1,f,void 0,void 0),B=d({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"wf-component wf-building-logo",style:{"background-image":t.getLogo()}})},staticRenderFns:[]},(function(t){t&&t("data-v-38faefb4_0",{source:".wf-building-logo[data-v-38faefb4]{background-size:contain;background-repeat:no-repeat;background-position:50%}",map:void 0,media:void 0})}),{name:"BuildingLogo",computed:o({},j("wf",["building"])),methods:{getLogo:function(){if(this.building&&this.building.logoID)return"url("+WayfinderAPI.getURL("images","get",this.building.logoID)+")"}}},"data-v-38faefb4",false,undefined,!1,f,void 0,void 0),W=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"wf-component wf-yah",on:{click:function(e){return t.onClicked()}}},[n("i",{staticClass:"wf-icon",style:{"background-image":t.yahLogo}}),t._v(" "),n("label",{attrs:{"data-translation-element":"yah"}},[t._v("YAH")])])},staticRenderFns:[]},(function(t){t&&t("data-v-0e28d1b6_0",{source:".wf-yah[data-v-0e28d1b6]{text-align:center;border:none;outline:0}.wf-icon[data-v-0e28d1b6]{width:100%;height:100%;display:block;background-repeat:no-repeat;background-position:50%;background-size:contain;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iOTQiIGhlaWdodD0iMTI4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogPG1ldGFkYXRhPgogIDxyZGY6UkRGPgogICA8Y2M6V29yayByZGY6YWJvdXQ9IiI+CiAgICA8ZGM6Zm9ybWF0PmltYWdlL3N2Zyt4bWw8L2RjOmZvcm1hdD4KICAgIDxkYzp0eXBlIHJkZjpyZXNvdXJjZT0iaHR0cDovL3B1cmwub3JnL2RjL2RjbWl0eXBlL1N0aWxsSW1hZ2UiLz4KICAgIDxkYzp0aXRsZS8+CiAgIDwvY2M6V29yaz4KICA8L3JkZjpSREY+CiA8L21ldGFkYXRhPgogPHBhdGggZD0ibTQ2Ljk3NyAxMjYuNjRjLTAuMjgzMDMtMC42ODc1LTYuMTYzMS02LjQzNzctMTAuMzc0LTExLjY2My0yNC45NDctMzMuMTIyLTUyLjc2MS02My44OTgtMjAuMjgzLTEwMS4zIDE0LjM4MS0xMy44OTQgMzIuMTEzLTE0LjY4NiA1MC4zNDMtOC4yMTAxIDUxLjMzIDI5LjcwMiAxNC4xNjYgNzguMTU1LTEwLjIzNSAxMTAuMDFsLTkuNDUwMSAxMS4xNjN6bTE1LjQ0LTUwLjc3MWMzNC4yMzctMjQuNDg1IDcuNzY4LTcxLjYzMy0yOS44NDgtNTUuOTU5LTEwLjk4NCA1Ljg1NjktMTYuNDM0IDE2LjA0OC0xNi42MjUgMjguMDY4LTAuNTI0NSAxMS42OTMgNS42ODU0IDIxLjQ3MSAxNS41MjYgMjcuNDYxIDcuMDU1NSAzLjg0MDEgMTAuMTU3IDQuNTMzNyAxOC4xNDYgNC4wNTc3IDUuMTc3Ni0wLjMwODUyIDguMTYxMS0xLjE1MzggMTIuODAxLTMuNjI3MXoiIGZpbGw9IiNjNjQyNDIiIGZpbGwtb3BhY2l0eT0iLjk4ODI0Ii8+CiA8cGF0aCB0cmFuc2Zvcm09Im1hdHJpeCguODc4MjkgMCAwIDEuMDUxOSAuNTU0NzQgLTYuOTk1MykiIGQ9Im00MS42ODIgODkuODkxYTUxLjIyMyA0MS43NTQgMCAxIDEgMS4yNzY2IDAuMjA4MDkiIGZpbGw9IiNjNjQyNDIiIGZpbGwtb3BhY2l0eT0iLjk4ODI0Ii8+CiA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSguNjQ1MzUpIiBkPSJtNDMuNjMxIDY5LjEyOWEyNi4wMTEgMjAuOTkxIDAgMSAxIDAuNjQ4MjYgMC4xMDQ2MSIgZmlsbC1vcGFjaXR5PSIwIiBvcGFjaXR5PSIuMzQwMTYiLz4KIDxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKC42NDUzNSkiIGQ9Im0zMS44OTIgMTE0LjI4YTE2LjY1NiAxMS43NSAwIDEgMSAwLjQxNTExIDAuMDU4NiIgZmlsbC1vcGFjaXR5PSIwIi8+CiA8cGF0aCB0cmFuc2Zvcm09Im1hdHJpeCguOTcwMiAwIDAgMS4wMjcyIC00LjA1ODggLTUuNzUwNCkiIGQ9Im00NS41MjEgODQuODI0YTM0LjQ1MyAzMy41NCAwIDEgMSAwLjg1ODY2IDAuMTY3MTYiIGZpbGw9IiNiNzJjMmMiLz4KIDxwYXRoIHRyYW5zZm9ybT0ibWF0cml4KC42NDYzIDAgMCAuNjE2ODEgNS4xMjYxIDQuOTAxNCkiIGQ9Im01Ny4wNzkgMTA0LjYxYTM0LjIwMyAzNi42MjMgMCAxIDEgMC44NTI0NCAwLjE4MjUyIiBmaWxsPSIjZmZmIi8+Cjwvc3ZnPgo=)}",map:void 0,media:void 0})}),{name:"YAH",computed:o({},j("wf",["yahLogo","language"])),methods:{onClicked:function(){this.$wayfinder.showKiosk()}}},"data-v-0e28d1b6",false,undefined,!1,f,void 0,void 0),G=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-shortcuts-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedShortcuts,(function(e){return n("li",{key:e.getID(),staticClass:"wf-list-item wf-shortcut",class:["wf-shortcut-"+e.getID()],on:{click:function(n){return t.showShortcut(e)}}},[t.showIcon?n("img",{staticClass:"wf-icon",attrs:{src:t.getImage(e.imageID)}}):t._e(),t._v(" "),t.showLabel?n("label",[t._v(t._s(e.getName(t.language)))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-6fbc92fe_0",{source:".shortcuts-container[data-v-6fbc92fe]{display:flex;flex-wrap:wrap-reverse;align-content:stretch;justify-content:space-between;margin-bottom:.1rem;flex-direction:row}.shortcuts-container.map-shortcuts[data-v-6fbc92fe]{position:absolute;left:.5rem;bottom:15%;top:15%;flex-direction:column;justify-content:center}",map:void 0,media:void 0})}),{name:"ShortcutsMenu",components:{YAH:W},props:{showLabel:{type:Boolean,default:!0},showPath:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},highlight:{type:Boolean,default:!0},dehighlightOverlay:{type:Boolean,default:!1}},computed:o(o({},j("wf",["shortcuts","language","landscape","mobile"])),{},{sortedShortcuts:function(){var t=this.shortcuts.sort((function(t,e){return 1}));return t},count:function(){return this.shortcuts.length},hasClickedListener:function(){return!(!this.$listeners||!this.$listeners.clicked)}}),methods:{showShortcut:function(t){if(this.hasClickedListener)this.$emit("clicked",e,t);else{var e=this.$wayfinder.getNearestPOI(this.$wayfinder.getKiosk(),t.pois);this.showPath&&"object"===s(e)&&null!=e&&this.$wayfinder.showPath(e.node,e),this.highlight&&(this.$wayfinder.clearDisplaying(),this.$wayfinder.setDisplaying(t.pois)),this.dehighlightOverlay&&this.$wayfinder.setDehighlightOverlay&&this.$wayfinder.setDehighlightOverlay(!0),this.$wayfinder.update()}},clear:function(){this.dehighlightOverlay&&this.$wayfinder.setDehighlightOverlay&&this.$wayfinder.setDehighlightOverlay(!1),this.highlight&&this.$wayfinder.clearHighlights(),this.$wayfinder.update()},getImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}}},"data-v-6fbc92fe",false,undefined,!1,f,void 0,void 0),V=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-zoommenu"},[n("div",{staticClass:"wf-item wf-zoom-in",on:{click:function(e){return t.zoomIn()}}},[t._v("+")]),t._v(" "),n("div",{staticClass:"wf-item wf-zoom-out",on:{click:function(e){return t.zoomOut()}}},[t._v("-")])])},staticRenderFns:[]},undefined,{methods:{zoomIn:function(){this.$wayfinder.zoomIn()},zoomOut:function(){this.$wayfinder.zoomOut()}}},undefined,false,undefined,!1,void 0,void 0,void 0),Y=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-floors-menu"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:!(t.hideWhenSingleFloor&&t.floors.length<=1),expression:"!(hideWhenSingleFloor && floors.length <= 1)"}],staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.filteredFloors,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:["wf-lang-"+t.language,"wf-floor-"+e.index,{active:e==t.currentFloor}],on:{click:function(n){return t.changeFloor(e)}}},[n("label",{staticClass:"wf-title"},[t._v(t._s(e.getName(t.language)))]),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-count"},[t._v(t._s(e.pois.length))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-acb9257a_0",{source:".wf-floors-menu .wf-list-item[data-v-acb9257a]{text-overflow:ellipsis;list-style:none}",map:void 0,media:void 0})}),{name:"MapFloors",props:{showPOICount:{type:Boolean,default:!1},currentFloor:{type:Object,default:null},hideWhenSingleFloor:{type:Boolean,default:!0}},data:function(){return{count:0}},computed:o(o({},j("wf",["floors","language"])),{},{filteredFloors:function(){var t,e=[],n=this.floors;for(var i in n)(t=n[i])&&t.getShowInMenu()&&t.getName(this.language)&&e.push(t);return this.count=e.length,e},hasClickedListener:function(){return!(!this.$listeners||!this.$listeners.clicked)}}),methods:{changeFloor:function(t){this.hasClickedListener?this.$emit("clicked",t):this.$wayfinder.showFloor(t)}}},"data-v-acb9257a",false,undefined,!1,f,void 0,void 0),U=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-filteredmenu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{active:t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},undefined,{name:"FilteredMenu",components:{POI:F},data:function(){return{sortedPOIs:[],count:0}},props:{showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},computed:o({},j("wf",["filteredPOIs","language"])),watch:{filteredPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})),this.count=n.length,this.sortedPOIs=n}},methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-e2dd64b6",false,undefined,!1,void 0,void 0,void 0);function H(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var Z,X=H((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(i,a,function(e){return t[e]}.bind(null,a));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){n.r(e);class i{constructor(t){this.keyboard=t,this.actions={backspace:function(t,e){e.selectionStart>0&&e.selectionStart==e.selectionEnd?(e.selectionStart--,e.changeValue("")):e.changeValue("")},change_keyset:function(t,e){void 0!==t.action[1]&&(e.keyset=t.action[1],e.clear(),e.construct())},change_layout:function(t,e){void 0!==t.action[1]&&(e.layoutName=t.action[1],e.clear(),e.construct())},submit:function(t,e){void 0!==t.action[1]&&(e.pushtoOutput(),e.clear())}}}activate(t){"function"==typeof this.actions[t.action[0]]&&this.actions[t.action[0]](t,this.keyboard)}addAction(t,e){this.actions[t]=e}}class a{constructor(t,e,n){this.layouts={},this.layoutName=void 0===n?"en":n,this.keyset="default",this.container=!1,this.containerListenerAdded=!1,this.setContainer(e),this.selectionStart=0,this.selectionEnd=0,this.output=!1,this.outputIsInputField=!0,this.value="",this.events={change:[],layout:[],ready:[]},this.actions=new i(this),this.cbOnChange=!1,this.setOutput(t),this.setDefaultLayout(),this.construct()}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,a=this.events[e].length;i<a;i++)"function"==typeof(n=this.events[e][i])&&n.apply(this,t)}}}addLayout(t,e){this.layouts[t]=e}changeLayout(t,e){this.layoutName=t,this.keyset=e||"default",this.clear(),this.construct(),this.trigger("layout",this.layoutName,this.keyset)}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),this.container.classList.add("keyboard"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}}setOutput(t){if("string"==typeof t){if(this.output=document.getElementById(t),!this.output)return void console.warn("Input field not found",t);"input"!==this.output.tagName.toLowerCase()&&(this.outputIsInputField=!1)}else this.output=t;this.output&&(this.output.addEventListener("focus",(()=>{this.updateFromOutput()})),this.output.addEventListener("keyup",(()=>{this.updateFromOutput(),this.trigger("change",this.value)})),this.output.addEventListener("mouseup",(()=>{this.updateFromOutput()})),this.output.addEventListener("input",(()=>{this.updateFromOutput()})))}updateFromOutput(){this.outputIsInputField?this.value=this.output.value:this.value=this.output.innerText,this.getCaretPosition()}clear(){if(this.container)for(;this.container.firstChild;)this.container.removeChild(this.container.firstChild)}clearValue(){this.value="",this.selectionStart=0,this.selectionEnd=0}getCurrentKeyset(){try{return this.layouts[this.layoutName].keys[this.keyset]}catch(t){return console.warn("Error! Probably no keyboard layout added!"),this.layouts.en.keys.default}}construct(){this.clear();let t="",e=this.getCurrentKeyset();for(let n in e){t+="<div class='keyboard-row keyboard-row-"+n+"'>";for(let i in e[n]){let a=e[n][i];switch(typeof a){case"string":t+="<div class='keyboard-key "+a+"' row='"+n+"' index='"+i+"'>"+a+"</div>";break;case"object":let e="";a.cls&&(e=a.cls),t+="<div class='keyboard-key keyboard-"+e+" "+a.key+"' object='' row='"+n+"' index='"+i+"'>"+a.key+"</div>"}}t+="</div>"}this.container.insertAdjacentHTML("beforeend",t),this.containerListenerAdded||(this.container.addEventListener("mousedown",(t=>{this.getCaretPosition(),this.keyPressed(t.target),t.stopPropagation(),t.preventDefault()})),this.container.addEventListener("mouseup",(t=>{this.keyReleased(t.target),t.stopPropagation()})),this.containerListenerAdded=!0,this.container.onselectstart=function(){return!1},this.container.onmousedown=function(){return!1}),this.rescale()}rescale(){if(!this.container)return;let t,e,n=0;for(let i=0;i<this.container.children.length;i++){let a=(t=this.container.children[i]).offsetHeight-t.clientHeight,o=t.offsetWidth-t.clientWidth;for(let n=0;n<t.children.length;n++)o+=((e=t.children[n]).offsetWidth<this.container.offsetWidth?e.offsetWidth:this.container.offsetWidth)+1,a=Math.max(a,this.container.offsetHeight);t.width=o,t.height=a,n+=a}this.container.height=n,this.trigger("ready")}keyPressed(t){t.classList.add("keyboard-key-pressed");let e=this.getCurrentKeyset()[t.getAttribute("row")];if(!e)return;let n=e[t.getAttribute("index")];switch(typeof n){case"string":this.changeValue(n);break;case"object":void 0===n.action?this.changeValue(n.key):this.actions.activate(n)}this.pushtoOutput()}changeValue(t){let e=this.value.substring(0,this.selectionStart),n=this.value.substring(this.selectionEnd,this.value.length);this.value=""+e+t+n,this.selectionStart+=t.length,this.selectionEnd=this.selectionStart}pushtoOutput(){if(this.output){this.outputIsInputField?(this.output.value=this.value,this.output.selectionStart=this.selectionStart,this.output.selectionEnd=this.selectionEnd):this.output.innerHTML=this.value;let t=new Event("change"),e=new Event("keyup");this.output.dispatchEvent(t),this.output.dispatchEvent(e),this.trigger("change",this.value)}}getCaretPosition(){this.output&&this.outputIsInputField&&(this.selectionStart=this.output.selectionStart,this.selectionEnd=this.output.selectionEnd)}keyReleased(t){t.classList.remove("keyboard-key-pressed")}width(){return-1}height(){return-1}setDefaultLayout(){this.layouts.en={name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"&#171; Bksp",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p","\\"],["a","s","d","f","g","h","j","k","l",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","shift"],cls:"key2x"},"z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]],shift:[["~","!","@","#","$","%","^","&","*","(",")",{key:"&#171; Bksp",action:"backspace",cls:"key2x"}],["Q","W","E","R","T","Y","U","I","O","P","{","}"],["A","S","D","F","G","H","J","K","L",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","default"],cls:"key2x active"},"Z","X","C","V","B","N","M","<",">","?"],[{key:" ",cls:"key_spacebar"}]]}}}}n.d(e,"OSK",(function(){return a})),n.d(e,"OSKActions",(function(){return i}))}]).OSK})),q=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-search"},[t.showCloseButton?n("div",{staticClass:"wf-close",attrs:{"data-translation-element":"close"},on:{click:function(e){return t.close(e)}}},[t._v("Close")]):t._e(),t._v(" "),n("div",{staticClass:"wf-search-container"},[n("div",{staticClass:"wf-search-results",class:{"wf-no-results":0==t.results.length}},[n("transition-group",{staticClass:"wf-list",attrs:{name:"list",tag:"ul"}},t._l(t.results,(function(e){return e&&e.getShowInMenu()?n("li",{key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2):t._e()})),0),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.showNoResultsText&&0==t.results.length,expression:"showNoResultsText && results.length == 0"}],staticClass:"wf-search-no-results-text"},[t._v(t._s(t.noResultsText))])],1),t._v(" "),t.showOutputField?n("div",{staticClass:"wf-search-input-container"},[n("input",{ref:"searchInput",attrs:{id:"wf-search-input"}})]):t._e(),t._v(" "),t.showKeyboard?n("div",{staticClass:"wf-keyboard",attrs:{id:"wf-keyboard-container"}}):t._e()])])},staticRenderFns:[]},(function(t){t&&t("data-v-106d1dfe_0",{source:".wf-search .wf-close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.wf-search .results{overflow:hidden}.wf-search .wf-search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.wf-search .wf-search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.wf-search .wf-keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.wf-search .wf-keyboard .keyboard-row{margin:auto;display:flex}.wf-search .wf-keyboard .keyboard-key{text-align:center;width:4ch;height:4ch;line-height:1.5;overflow:hidden;user-select:none}.wf-search .wf-keyboard .keyboard-key:last-child{margin-right:0}.wf-search .wf-keyboard .keyboard-key:active{background-color:#00f}.wf-search .wf-keyboard .keyboard-key2x{width:8ch}.wf-search .wf-keyboard .keyboard-key3x{width:12ch}.wf-search .wf-keyboard .keyboard-key_spacebar{width:24ch}",map:void 0,media:void 0})}),{name:"Search",components:{OSK:X,POI:F},computed:o({},j("wf",["language","reset"])),props:{limit:{type:Number,default:-1},showCloseButton:{type:Boolean,default:!1},showOutputField:{type:Boolean,default:!0},showKeyboard:{type:Boolean,default:!0},showNoResultsText:{type:Boolean,default:!0},noResultsText:{type:String,default:"No results"},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},data:function(){return{results:[],poi:{},keyboard:!1}},mounted:function(){var t=this;this.keyboard=new X("wf-search-input","wf-keyboard-container"),this.keyboard.on("change",(function(e){var n=t.$wayfinder.search.search(e);t.limit>0&&(n=n.slice(0,t.limit)),t.results=Object.freeze(Object.values(n)),e.length>1&&(Object.values(t.results).length>0?t.$wayfinder.statistics.onSearch(e,"successful"):t.$wayfinder.statistics.onSearch(e,"unsuccessful"))})),this.keyboard.addLayout("en",{name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"Delete",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p"],["a","s","d","f","g","h","j","k","l"],["z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]]}}),this.keyboard.changeLayout(this.language)},watch:{searchVisible:function(t){t&&this.$refs.searchInput&&this.$refs.searchInput.focus()},reset:function(){this.resetValues()},language:function(t){this.keyboard&&this.keyboard.changeLayout(t)}},methods:{onClick:function(t){this.$emit("clicked",t),this.$wayfinder.statistics.onClick(t.id,"menu")},close:function(){this.$emit("close"),this.resetValues()},resetValues:function(){this.results=[],this.keyboard&&(this.keyboard.changeLayout(this.language),this.keyboard.clearValue()),this.$refs.searchInput&&(this.$refs.searchInput.value="")},setOutput:function(t){this.keyboard.setOutput(t)},addLayout:function(t,e){this.keyboard.addLayout(t,e)},changeLayout:function(t){this.keyboard.changeLayout(t)}}},undefined,false,undefined,!1,f,void 0,void 0),Q=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"tabs",staticClass:"wf-component wf-tabs",class:["wf-tabs-"+t.activeTab,"wf-tabs-index-"+t.activeTabIndex,"wf-tabs-animate-"+t.animate]},[n("div",{ref:"slide",staticClass:"wf-tabs-content"},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-7eaad22c_0",{source:".wf-tabs[data-v-7eaad22c]{overflow:hidden;position:relative;width:100%;height:100%}.wf-tabs-content[data-v-7eaad22c]{height:100%;width:auto;display:flex;flex-direction:row;margin-left:0;transform:translateX(0) translateY(0)}.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{flex-direction:column}.wf-tab[data-v-7eaad22c]{opacity:0;transition:opacity .3s ease-out .5s}.wf-tab.wf-active[data-v-7eaad22c]{opacity:1;transition:opacity .3s ease-in}.wf-tabs.wf-tabs-animate-horizontal .wf-tabs-content[data-v-7eaad22c],.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{transition:transform .5s ease-in-out .2s}",map:void 0,media:void 0})}),{name:"Tabs",props:{activeTab:"",animate:{type:String,default:"none"}},data:function(){return{tabs:[],activeTabIndex:0,currentTab:null}},created:function(){this.tabs=this.$children},mounted:function(){this.$props.activeTab?this.activate(this.$props.activeTab):console.log("no active tab")},watch:{activeTab:function(t){t&&this.activate(t)}},methods:{activate:function(){for(var t in this.currentTab=null,this.tabs)this.tabs[t].name==this.$props.activeTab?(this.tabs[t].isActive=!0,this.$emit("tabChanged",this.tabs[t]),this.currentTab=this.tabs[t],this.activeTabIndex=t,"vertical"===this.animate?this.$refs.slide.style.transform="translateX(0) translateY(-"+100*t+"%)":this.$refs.slide.style.transform="translateY(0) translateX(-"+100*t+"%)"):this.tabs[t].isActive=!1}}},"data-v-7eaad22c",false,undefined,!1,f,void 0,void 0),K=d({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("section",{staticClass:"wf-component wf-tab",class:{"wf-active":t.isActive}},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-b8114d98_0",{source:".wf-tab[data-v-b8114d98]{overflow:hidden;flex-grow:1;flex-shrink:0;width:100%}",map:void 0,media:void 0})}),{name:"Tab",props:{name:""},data:function(){return{isActive:!1,isVisible:!0}},created:function(){},methods:{}},"data-v-b8114d98",false,undefined,!1,f,void 0,void 0),J=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-tab-buttons"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mobile&&!t.landscape,expression:"mobile && !landscape"}],staticClass:"wf-item tab-map",class:{active:"map"==t.currentTab},attrs:{"data-translation-element":"map"},on:{click:function(e){return t.switchTab("map")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-topics",class:{active:"groups"==t.currentTab||"group-pois"==t.currentTab},attrs:{"data-translation-element":"topics"},on:{click:function(e){return t.switchTab("groups")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-az",class:{active:"az"==t.currentTab},attrs:{"data-translation-element":"az"},on:{click:function(e){return t.switchTab("az")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-search",class:{active:"search"==t.currentTab},attrs:{"data-translation-element":"search"},on:{click:function(e){return t.switchTab("search")}}})])},staticRenderFns:[]},(function(t){t&&t("data-v-5229b2f8_0",{source:".wf-tab-buttons[data-v-5229b2f8]{display:flex;align-content:stretch;justify-content:space-between}.wf-tab-buttons .wf-item[data-v-5229b2f8]{background-size:auto 30%;background-repeat:no-repeat}",map:void 0,media:void 0})}),{name:"Tabs",computed:o({},j("wf",["currentTab","searchVisible","mobile","landscape","shortcuts","language"])),data:function(){return{toilet:!1,toiletsIcon:!1}},methods:{switchTab:function(t){this.$emit("switchTab",t)}}},"data-v-5229b2f8",false,undefined,!1,f,void 0,void 0),tt=H((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var a=e[i]={i:i,l:!1,exports:{}};return t[i].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)n.d(i,a,function(e){return t[e]}.bind(null,a));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports={create:function(){return[0,0]},clone:function(t){var e=new Array(2);return e[0]=t[0],e[1]=t[1],e},fromValues:function(t,e){var n=new Array(2);return n[0]=t,n[1]=e,n},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},set:function(t,e,n){return t[0]=e,t[1]=n,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},dist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},sqrDist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return n*n+i*i},len:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},length:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},sqrLen:function(t){var e=t[0],n=t[1];return e*e+n*n},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var n=e[0],i=e[1],a=n*n+i*i;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a),t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},cross:function(t,e,n){var i=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=i,t},lerp:function(t,e,n,i){var a=e[0],o=e[1];return t[0]=a+i*(n[0]-a),t[1]=o+i*(n[1]-o),t},transformMat2:function(t,e,n){var i=e[0],a=e[1];return t[0]=i*n[0]+a*n[1],t[1]=i*n[2]+a*n[3],t},str:function(t){return"this("+t[0]+", "+t[1]+")"}}},function(t,e,n){n.r(e),n.d(e,"ScrollArea",(function(){return r}));var i=n(0),a=n.n(i);class o{constructor(t,e){this.position=a.a.create(),this.contentSize=t,this.viewSize=e,this.contentViewRatio=a.a.div(a.a.create(),this.getViewSize(),this.getContentSize()),this._maxPosition=a.a.create(),this._minPosition=a.a.create(),this._vec2cache=a.a.create()}getViewPosition(){return this.position}getContentPosition(){return this.position}clampPosition(){a.a.max(this._maxPosition,this.getViewSize(),this.getContentSize()),a.a.min(this._minPosition,this.getViewSize(),this.getContentSize()),a.a.sub(this._maxPosition,this._maxPosition,this._minPosition),this.position=this.clamp(this.position,a.a.create(),this._maxPosition)}setViewPosition(t){!isNaN(parseFloat(t[0]))&&isFinite(t[0])&&!isNaN(parseFloat(t[1]))&&isFinite(t[1])&&(this.position=t,this.clampPosition())}move(t){t&&this.setViewPosition(a.a.sub(t,this.getViewPosition(),t))}setViewSize(t,e){a.a.set(this.viewSize,t,e),a.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition()}setContentSize(t,e){a.a.set(this.contentSize,t,e),a.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition()}isContentLonger(){return this.viewSize[1]<this.contentSize[1]}isContentWider(){return this.viewSize[0]<this.contentSize[0]}getContentSize(){return this.contentSize}getViewSize(){return this.viewSize}clamp(t,e,n){var i=a.a.clone(t);return a.a.max(i,i,e),a.a.min(i,i,n),i}getPercentagePosition(){return a.a.div(a.a.create(),this.position,this.viewSize)}getRelativePosition(){return a.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize()),0!==a.a.len(this._vec2cache)&&a.a.div(this._vec2cache,this.getViewPosition(),a.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize())),this._vec2cache}getContentViewRatio(){return this.contentViewRatio}}class s{constructor(t,e){this.options=e||{},this.vertical="vertical"==this.getOption("direction"),this.position=0,this.mouseDelta=a.a.create(),this.onScroll=!1,this.parentElement=t,this.element=document.createElement("div"),this.element.classList.add("sa-scrollbar"),this.element.classList.add("sa-scrollbar-position-"+this.getOption("scollbarPosition")),this.element.style.position="absolute",this.element.style.right="0",this.element.style.top="0",this.element.style.bottom="0",this.bar=document.createElement("div"),this.bar.style.minWidth="1px",this.bar.classList.add("sa-bar"),this.element.appendChild(this.bar),t.appendChild(this.element),this.view=new o(a.a.fromValues(this.bar.clientWidth,this.bar.clientHeight),a.a.fromValues(this.element.clientWidth,this.element.clientHeight))}getOption(t){return this.options[t]}attachEvents(t){t.addEventListener("mousedown",(t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=a.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.lastTouch=a.a.fromValues(t.touches[0].screenX,t.touches[0].screenY))}),!1),window.addEventListener("touchend",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchcancel",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchmove",(t=>{if(t.touches&&t.touches.length>0){if(this.lastTouch){var e=a.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(a.a.sub(e,this.lastTouch,e)):this.scroll(a.a.sub(e,e,this.lastTouch))}this.lastTouch=a.a.fromValues(t.touches[0].screenX,t.touches[0].screenY)}}),!1)}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=a.a.clone(e.view.getContentPosition()),e.setPosition(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}setPosition(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.bar.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1}clear(){this.position=0,this.setPosition(0)}getBarLength(){return this.vertical?parseInt(this.bar.clientHeight):parseInt(this.bar.clientWidth)}getViewLength(){return this.vertical?this.view.getViewSize()[1]:this.view.getViewSize()[0]}getContentLength(){return this.vertical?this.view.getContentSize()[1]:this.view.getContentSize()[0]}setContentPosition(t){var e=a.a.create(),n=t.getContentViewRatio()[1];a.a.scale(e,t.getContentPosition(),n),this.view.setViewPosition(e),this.setPosition(this.view.getContentPosition())}getPercentage(){return a.a.len(this.view.getViewPosition())/this.getViewLength()}resizeContent(t){t?(this.vertical?(this.bar.style.height=Math.floor(t.getViewSize()[1]*t.getContentViewRatio()[1])+"px",this.element.style.height=t.getViewSize()[1]+"px"):(this.bar.style.width=Math.floor(t.getViewSize()[0]*t.getContentViewRatio()[0])+"px",this.element.style.width=t.getViewSize()[0]+"px"),this.resize()):console.warn("View undefined")}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)),this.view.setContentSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight))):(this.view.setViewSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)),this.view.setContentSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)))}}class r{constructor(t,e,n){if(this.container=null,this.content=null,this.options={smooth:!0,reverse:!1,swapContainers:!1,updateInterval:10,wheelSpeed:50,scollbarPosition:"right",direction:"vertical"},void 0!==n&&n&&(this.options=this.chooseOptions(this.options,n)),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=a.a.create(),this.lastTime=0,this.smoothDistance=null,this.timeout=null,this.smoothCoeficent=a.a.fromValues(11,11),this.positionClassNames=["sa-on-left","sa-on-right","sa-on-top","sa-on-bottom"],this.mousedown=!1,this.touchstart=!1,this._vec2cache=a.a.create(),this.container,this.getOption("swapContainers")?this.view=new o(a.a.fromValues(this.container.clientWidth,this.container.clientHeight),a.a.fromValues(this.content.clientWidth,this.content.clientHeight)):(this.content,this.view=new o(a.a.fromValues(this.content.clientWidth,this.content.clientHeight),a.a.fromValues(this.container.clientWidth,this.container.clientHeight))),this.container.style.position="relative",this.container.style.overflow="hidden",this.container.style.overflow="hidden",this.container.style.userSelect="none",this.attachEvents(this.container),this.scrollbar=new s(this.container,this.options),"undefined"!=typeof ResizeObserver&&this.content){var i=this;this.resizeObserver=new ResizeObserver((function(){i.resize()})),this.resizeObserver.observe(this.content)}}attachEvents(t){t.addEventListener("mousewheel",(t=>{var e;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?t.wheelDelta<0||t.wheelDelta>0?1:-1:t.deltaY>0||t.deltaY<0?1:-1,this.scroll(a.a.fromValues(0,this.getOption("wheelSpeed")*e))})),t.addEventListener("mousedown",(t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=a.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.mousedown=!0,this.lastTouch=a.a.fromValues(t.touches[0].screenX,t.touches[0].screenY))}),!1),window.addEventListener("touchend",(t=>{this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchcancel",(t=>{this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchmove",(t=>{if(t.touches&&t.touches.length>0&&this.mousedown){if(this.lastTouch){var e=a.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(a.a.sub(e,this.lastTouch,e)):this.scroll(a.a.sub(e,e,this.lastTouch))}this.lastTouch=a.a.fromValues(t.touches[0].screenX,t.touches[0].screenY)}}),!1)}onEndDrag(t,e){var n=a.a.div(0,Math.abs(event.velocity));if(this.getOption("smooth")&&sqrLen(n)>.3){var i=fromValues(event.deltaX,event.deltaY),o=a.a.create();a.a.multiply(o,i,n),this.getOption("reverse");var s=this;this.stop();var r=create(),c=function(){div(r,o,s.smoothCoeficent),sqrLen(r)>3?(sub(o,o,r),requestAnimFrame(c,s.getOption("updateInterval")),negate(r,r),s.scroll(r)):s.scrolling=!1};this.timeout=requestAnimFrame(c,s.updateInterval)}else this.scrolling=!1}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.content.clientWidth),parseInt(this.content.clientHeight)),this.view.setContentSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight))):(this.view.setViewSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight)),this.view.setContentSize(parseInt(this.content.clientWidth),parseInt(this.content.clientHeight))),this.checkIfScrollIsNeeded(),this.scrollbar&&this.scrollbar.resizeContent(this.view)}reset(){this.setContentOffset([0,0])}checkIfScrollIsNeeded(){this.view.isContentLonger()?this.container.classList.add("sa-content-longer"):this.container.classList.remove("sa-content-longer"),this.view.isContentWider()?this.container.classList.add("sa-content-wider"):this.container.classList.remove("sa-content-wider")}chooseOptions(t,e){for(var n in e)t[n]&&(t[n]=e[n]);return t}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}this.container&&(this.content=this.container.firstElementChild)}getOption(t){return this.options[t]}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,a=this.events[e].length;i<a;i++)n=this.events[e][i],"function"==typeof n&&n.apply(this,t)}}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=a.a.clone(e.view.getContentPosition()),e.setContentOffset(t),e.scrollbar.setContentPosition(e.view),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}setContentOffset(t){var e=-1;this.getOption("swapContainers")&&(e=1),this.content.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition()}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("sa-on-left"),0===t[1]&&e.push("sa-on-top"),1===Math.abs(t[0])&&e.push("sa-on-right"),1===Math.abs(t[1])&&e.push("sa-on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e)}}}]).ScrollArea})),et=d({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"area",staticClass:"wf-component wf-scrollable"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"ScrollableArea",data:function(){return{scroll:null}},updated:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.resize()}))},mounted:function(){var t=this;this.$nextTick((function(){t.scroll||(t.scroll=new tt(t.$refs.area))}))},methods:{activate:function(){this.makeScroll()},reset:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.refresh()}))}}},"data-v-21e68d18",false,undefined,!1,void 0,void 0,void 0),nt=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],ref:"frames",staticClass:"wf-component wf-banner"},t._l(t.frames,(function(e,i){return n("div",{key:e.id,staticClass:"wf-frame",class:[{"wf-active":i==t.current},t.frameKeywords]},[t._l(e.containers,(function(i){return n("div",{key:i.id,staticClass:"wf-frame-container",class:[i.containerType],style:{left:i.left+"%",top:i.top+"%",width:i.width+"%",height:i.height+"%",backgroundImage:"url('"+i.url+"')"},on:{click:function(n){return t.onClick(e,i)}}},[t.isVideo(i)?n("video",{attrs:{width:"100%",height:"auto",src:i.url,muted:""},domProps:{muted:!0}}):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:i.containerType.indexOf("qr")>-1&&null!=t.qr,expression:"container.containerType.indexOf('qr') > -1 && qr != null"}],staticClass:"wf-qr",class:[i.containerType],domProps:{innerHTML:t._s(t.qr)}})])})),t._v(" "),t._t("default",null,{frame:e})],2)})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-1fcb87ce_0",{source:".wf-banner[data-v-1fcb87ce]{position:relative;width:100%;height:100%}.wf-banner .wf-frame[data-v-1fcb87ce]{width:100%;height:100%;position:absolute;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;left:0;top:0;opacity:0;transition:opacity .5s ease-in-out}.wf-banner .wf-frame .wf-frame-container[data-v-1fcb87ce]{background-size:cover;background-position:50% 50%;background-repeat:no-repeat}.wf-banner .wf-frame.wf-active[data-v-1fcb87ce]{opacity:1;transition:opacity .5s ease-in-out}.wf-banner .wf-frame video[data-v-1fcb87ce]{position:relative;top:50%;transform:translateY(-50%)}",map:void 0,media:void 0})}),{name:"Banner",props:{template:String,container:String,playOnBoot:{type:Boolean,default:!1},qrURL:{type:String,default:"https://3dwayfinder.com"}},computed:o({},j("wf",["banners"])),data:function(){return{frames:[],current:-1,timer:null,fadeDuration:500,backgroundColor:"#fff",visible:!1,qr:null,qrPos:"",displayQR:!1,frameKeywords:[],last:0}},watch:{banners:function(){var t=this,e=Date.now();this.template&&this.container&&this.banners["template-"+this.template]&&this.banners["template-"+this.template][this.container]&&(this.frames=this.banners["template-"+this.template][this.container].filter((function(n){var i=n.enabled;if(i&&n.from_date&&(i=i&&new Date(n.from_date).getTime()<=e),i&&n.to_date&&(i=i&&new Date(n.to_date).getTime()>=e),i)for(var a in n.containers)n.containers[a].url=t.getUrl(n.containers[a]);return i})),this.$emit("hasbanners",this.frames.length>0),this.playOnBoot&&this.$nextTick((function(){this.play()})))},qrURL:function(t){t&&""!==t&&this.renderQR()}},mounted:function(){this.renderQR()},methods:{visibilityChanged:function(t){this.visible=t,t?this.play():this.stop()},play:function(){var t=this;if(!(this.current>=this.frames.length)){this.frames.length>0&&this.next();var e=this.frames[this.current];if(null!=this.timer&&clearTimeout(this.timer),e&&(this.displayQR=!(!e||!e.keywords)&&e.keywords.join(",").indexOf("qr-")>-1,this.frameKeywords=e.keywords.map((function(t){return"keyword-"+t})),this.$refs.frames)){var n=this.$refs.frames.children[this.current];if(n){var i=n.querySelector("video");i&&i.readyState?setTimeout((function(){t.playVideo(i,e.duration)}),0):this.timer=setTimeout(this.play,e.duration)}else this.timer=setTimeout(this.play,e.duration)}}},playVideo:function(t,e){var n=this;t.pause(),t.currentTime=0,t.play().catch((function(i){clearTimeout(n.timer),setTimeout((function(){n.playVideo(t,e)}),300)})),this.timer=setTimeout(this.play,e)},stop:function(){this.timer&&clearTimeout(this.timer)},next:function(){this.current<this.frames.length-1?this.current++:this.current=0},onClick:function(t,e){this.$emit("clicked",t,e)},isImage:function(t){return!(t.type&&"video"===t.type.substr(0,5))},isVideo:function(t){return t.type&&"video"===t.type.substr(0,5)},getUrl:function(t){return WayfinderAPI.advertisements.data.url(t.advertisement_id)},renderQR:function(){var t=this.qrURL,e=require("qrcode-svg");e&&t&&(this.qr=new e({content:t,container:"svg-viewbox",padding:0}).svg())}}},"data-v-1fcb87ce",false,undefined,!1,f,void 0,void 0),it=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-page-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPages,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(page)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPage&&e.id==t.currentPage.id},on:{click:function(n){return t.onClick(e)}}},[n("i",{directives:[{name:"show",rawName:"v-show",value:t.showIcon,expression:"showIcon"}],staticClass:"wf-icon",domProps:{innerHTML:t._s(e.icon)}}),t._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:t.showName,expression:"showName"}]},[t._v(t._s(t.getName(e)))])])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-babf1b98_0",{source:".wf-list-item[data-v-babf1b98]{list-style:none}",map:void 0,media:void 0})}),{name:"PageMenu",props:{container:{type:String,default:"default"},showIcon:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},currentPage:{type:Object,default:null}},data:function(){return{count:0}},computed:o(o({},j("wf",["pages","language"])),{},{sortedPages:function(){var t=this,e=[];return this.pages&&"object"==s(this.pages)&&this.pages[this.container]&&(e=(e=Object.values(this.pages[this.container]).filter((function(t){return t&&t.visible}))).sort((function(e,n){return t.getName(e)&&t.getName(n)?t.getName(e).localeCompare(t.getName(n)):0}))),this.count=e.length,e}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t)}},getName:function(t){return t?t.name[this.language]:""}}},"data-v-babf1b98",false,undefined,!1,f,void 0,void 0),at=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.page?n("div",{staticClass:"wf-page"},[n("div",{staticClass:"wf-page-icon",class:[t.page.icon?"wf-has-icon":""],domProps:{innerHTML:t._s(t.page.icon)}}),t._v(" "),t.showName?n("label",{staticClass:"wf-page-name",domProps:{innerHTML:t._s(t.pageName||"")}}):t._e(),t._v(" "),n("div",{staticClass:"wf-page-content"},t._l(t.page.items,(function(e,i){return n("div",{key:e.id,class:["wf-page-item-"+i]},[n(t.itemType(e),{tag:"component",attrs:{item:e}})],1)})),0)]):t._e()},staticRenderFns:[]},undefined,{name:"Page",components:{PageHTML:d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.item?n("div",{staticClass:"wf-page-item"},[n("div",{domProps:{innerHTML:t._s(t.item.value[t.language])}})]):t._e()},staticRenderFns:[]},undefined,{name:"html",computed:o({},j("wf",["language"])),props:{item:{type:Object,default:null}}},"data-v-04c2d772",false,undefined,!1,void 0,void 0,void 0)},computed:o(o({},j("wf",["language","pages"])),{},{pageName:function(){return this.page&&this.page.name?this.page.name[this.language]:""}}),props:{container:{type:String,default:"default"},index:{type:Number,default:-1},slug:{type:String,default:null},showName:{type:Boolean,default:!0},playAll:{type:Boolean,default:!1},duration:{type:Number,default:30}},mounted:function(){this.updatePage()},watch:{pages:function(){this.updatePage()},index:function(){this.index>=1&&(this.currentIndex=this.index,this.updatePage())},slug:function(){this.updatePage()}},methods:{updatePage:function(){var t;if(this.pages&&this.pages[this.container])if(console.log("updatePage1",this.page,this.container,this.currentIndex,this.slug),null!=this.slug){for(var e in this.pages[this.container])if((t=this.pages[this.container][e]).slug.toLowerCase()==this.slug.toLowerCase()){console.log("updatePage2",this.page,this.container,this.currentIndex,this.slug),this.page=t;break}}else this.currentIndex>-1&&this.pages[this.container][this.currentIndex]&&(this.page=this.pages[this.container][this.currentIndex])},itemType:function(t){return this.page?"Page"+t.type.toUpperCase():""}},data:function(){return{currentIndex:1,page:null}}},"data-v-168fdeaf",false,undefined,!1,void 0,void 0,void 0),ot=d({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-browser"},[n("iframe",{attrs:{src:t.currentSRC}})])},staticRenderFns:[]},(function(t){t&&t("data-v-6f07be40_0",{source:".wf-browser,.wf-browser iframe{width:100%;height:100%;border:none}",map:void 0,media:void 0})}),{name:"MapFloors",props:{src:{type:String,default:""}},computed:o({},j("wf",["reset"])),data:function(){return{currentSRC:""}},mounted:function(){this.currentSRC=this.src},watch:{reset:function(t){this.currentSRC=this.src+"?t="+Date.now()}}},undefined,false,undefined,!1,f,void 0,void 0),st=Object.freeze({__proto__:null,WFMap:m,WFAZMenu:$,WFFlagsMenu:z,WFLanguagesMenu:A,WFGroupsMenu:D,WFGroupPOIsMenu:R,WFBuildingLogo:B,WFShortcutsMenu:G,WFZoomMenu:V,WFFloorsMenu:Y,WFFilteredMenu:U,WFSearch:q,WFTabs:Q,WFTab:K,WFTabButtons:J,WFScrollableArea:et,WFBanner:nt,WFPageMenu:it,WFPOI:F,WFPage:at,WFYAH:W,WFBrowser:ot}),rt={namespaced:!0,state:{floors:[],pois:[],poiGroups:[],loaded:!1,language:"en",languages:[],shortcuts:[],filteredPOIs:[],currentFloor:null,building:null,yahLogo:"",banners:null,landscape:!1,mobile:!1,maxInActivity:30,reset:0,pages:{}},getters:{xLanguage:function(t,e){return void 0!==i.default.prototype.$wayfinder&&(t.language=i.default.prototype.$wayfinder.getLanguage()),t.language},xFloors:function(t){return void 0!==i.default.prototype.$wayfinder&&i.default.prototype.$wayfinder.building&&(t.floors=Object.freeze(Object.assign({},i.default.prototype.$wayfinder.building.getSortedFloors()))),t.floors},xLanguages:function(t){return void 0!==i.default.prototype.$wayfinder&&(t.languages=Object.freeze(Object.values(i.default.prototype.$wayfinder.getLanguages()).reverse())),t.languages},xShortcuts:function(t){if(void 0!==i.default.prototype.$wayfinder){var e=i.default.prototype.$wayfinder.getPOIGroups(),n=[];Object.keys(e).forEach((function(t){parseInt(e[t].showInTopMenu)&&n.push(Object.freeze(e[t]))})),n=(n=n.slice(0,6)).sort((function(t,e){return-(t.order-e.order)})),t.shortcuts=n}return t.shortcuts},xBuilding:function(t){if("undefined"!==i.default.prototype.$wayfinder){var e=Object.assign({},i.default.prototype.$wayfinder.building);t.building=Object.freeze(e)}return t.building},xYahLogo:function(t){void 0!==i.default.prototype.$wayfinder&&(t.yahLogo="url("+WayfinderAPI.getURL("images","get",i.default.prototype.$wayfinder.settings.getInt("kiosk.you-are-here-image",0))+")")},xPOIs:function(t){void 0!==i.default.prototype.$wayfinder&&(t.pois=Object.freeze(i.default.prototype.$wayfinder.poisArray.slice()))},xTopics:function(t){void 0!==i.default.prototype.$wayfinder&&(t.poiGroups=Object.freeze(Object.assign({},i.default.prototype.$wayfinder.poiGroups)))},xBanners:function(t){void 0!==i.default.prototype.$wayfinder&&(t.banners=Object.assign({},i.default.prototype.$wayfinder.getFilteredAdvertisements()))}},mutations:{SET_POI:function(t,e){t.currentPOI=e},SET_TAB:function(t,e){t.currentTab=e},SET_GROUP:function(t,e){t.currentGroup=e},SET_SHOW_SEARCH:function(t,e){t.searchVisible=e},SET_NEW_RESET:function(t){t.reset=t.reset+1,t.currentPOI=!1,t.currentGroup=!1},SET_LANDSCAPE:function(t,e){t.landscape=e},SET_MOBILE:function(t,e){t.mobile=e},SET_INACTIVITY_TIME:function(t,e){t.maxInActivity=e},SET_CURRENT_FLOOR:function(t,e){t.currentFloor=e},SET_FILTERED_POIS:function(t,e){t.filteredPOIs=e},SET_PAGES:function(t,e){console.log("SET_PAGES",e),t.pages=e},RESET:function(t,e){t.reset=Date.now()}},actions:{SET_CURRENT_POI:function(t,e){t.commit("SET_POI",Object.freeze(e))},SET_CURRENT_TAB:function(t,e){t.commit("SET_TAB",e)},SET_CURRENT_GROUP:function(t,e){t.commit("SET_GROUP",Object.freeze(e))},SHOW_SEARCH:function(t,e){t.commit("SET_SHOW_SEARCH",e)},SET_RESET:function(t){t.commit("SET_NEW_RESET")},SET_LANDSCAPE:function(t,e){t.commit("SET_LANDSCAPE",e)},SET_INACTIVITY_TIME:function(t,e){t.commit("SET_INACTIVITY_TIME",e)},SET_MOBILE:function(t,e){t.commit("SET_MOBILE",e)},SET_CURRENT_FLOOR:function(t,e){t.commit("SET_CURRENT_FLOOR",Object.freeze(e))},SET_FILTERED_POIS:function(t,e){t.commit("SET_FILTERED_POIS",Object.freeze(e))},LOAD_PAGES:function(t){Logistics.getJSON(WayfinderAPI.getURL("pages","getAll",[]),null,(function(e){console.log("data",e.data),e&&e.data&&t.commit("SET_PAGES",Object.freeze(e.data))}))},RESET:function(t){t.commit("RESET")}}},ct={init:function(t){t.registerModule("wf",rt),Z=t},loadPages:function(){Z.dispatch("wf/LOAD_PAGES")}},ut=function(t,e){ct.init(e),t.prototype.$wayfinderApp=ct,Object.entries(st).forEach((function(e){var n=c(e,2),i=n[0],a=n[1];t.component(i,a)}))},lt=Object.freeze({__proto__:null,default:ut,WFMap:m,WFAZMenu:$,WFFlagsMenu:z,WFLanguagesMenu:A,WFGroupsMenu:D,WFGroupPOIsMenu:R,WFBuildingLogo:B,WFShortcutsMenu:G,WFZoomMenu:V,WFFloorsMenu:Y,WFFilteredMenu:U,WFSearch:q,WFTabs:Q,WFTab:K,WFTabButtons:J,WFScrollableArea:et,WFBanner:nt,WFPageMenu:it,WFPOI:F,WFPage:at,WFYAH:W,WFBrowser:ot});return Object.entries(lt).forEach((function(t){var e=c(t,2),n=e[0],i=e[1];"default"!==n&&(ut[n]=i)})),ut}(Vue);
7
+ function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(C=t)}(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new I(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new C,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=i;var r=this._modules.root.state;x(this,r,[],this._modules.root),E(this,r),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:C.config.devtools)&&function(t){v&&(t._devtoolHook=v,v.emit("vuex:init",t),v.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){v.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){v.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},S={state:{configurable:!0}};function T(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function P(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;x(t,n,[],t._modules.root,!0),E(t,n,e)}function E(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};w(o,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=C.config.silent;C.config.silent=!0,t._vm=new C({data:{$$state:e},computed:a}),C.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),C.nextTick((function(){return i.$destroy()})))}function x(t,e,n,i,o){var a=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!a&&!o){var r=M(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){C.set(r,c,i.state)}))}var u=i.context=function(t,e,n){var i=""===e,o={dispatch:i?t.dispatch:function(n,i,o){var a=L(n,i,o),s=a.payload,r=a.options,c=a.type;return r&&r.root||(c=e+c),t.dispatch(c,s)},commit:i?t.commit:function(n,i,o){var a=L(n,i,o),s=a.payload,r=a.options,c=a.type;r&&r.root||(c=e+c),t.commit(c,s,r)}};return Object.defineProperties(o,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,i)===e){var a=o.slice(i);Object.defineProperty(n,a,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return M(t.state,n)}}}),o}(t,s,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,s+n,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,o=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var o,a=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(o=a)&&"function"==typeof o.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):a}))}(t,i,o,u)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,s+n,e,u)})),i.forEachChild((function(i,a){x(t,e,n.concat(a),i,o)}))}function M(t,e){return e.reduce((function(t,e){return t[e]}),t)}function L(t,e,n){return y(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}S.state.get=function(){return this._vm._data.$$state},S.state.set=function(t){},O.prototype.commit=function(t,e,n){var i=this,o=L(t,e,n),a=o.type,s=o.payload,r={type:a,payload:s},c=this._mutations[a];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(r,i.state)})))},O.prototype.dispatch=function(t,e){var n=this,i=L(t,e),o=i.type,a=i.payload,s={type:o,payload:a},r=this._actions[o];if(r){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var c=r.length>1?Promise.all(r.map((function(t){return t(a)}))):r[0](a);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){}e(t)}))}))}},O.prototype.subscribe=function(t,e){return T(t,this._subscribers,e)},O.prototype.subscribeAction=function(t,e){return T("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},O.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},O.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},O.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),x(this,this.state,t,this._modules.get(t),n.preserveState),E(this,this.state)},O.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=M(e.state,t.slice(0,-1));C.delete(n,t[t.length-1])})),P(this)},O.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},O.prototype.hotUpdate=function(t){this._modules.update(t),P(this,!0)},O.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(O.prototype,S);var N,j=(N=function(t,e){var n,i={};return(n=e,function(t){return Array.isArray(t)||y(t)}(n)?Array.isArray(n)?n.map((function(t){return{key:t,val:t}})):Object.keys(n).map((function(t){return{key:t,val:n[t]}})):[]).forEach((function(e){var n=e.key,o=e.val;i[n]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=function(t,e,n){return t._modulesNamespaceMap[n]}(this.$store,0,t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},i[n].vuex=!0})),i},function(t,e){return"string"!=typeof t?(e=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),N(t,e)});var F=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.poi?n("div",{staticClass:"wf-poi"},[t.showLogo?n("div",{staticClass:"wf-poi-image",class:[t.isImage()],style:{"background-image":t.getImage()}}):t._e(),t._v(" "),t.showName?n("div",{staticClass:"wf-poi-name",domProps:{innerHTML:t._s(t.poi.getName(t.language)||"POI")}}):t._e(),t._v(" "),t.showPathButton?n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.showPath,expression:"showPath",arg:"tap"}],staticClass:"wf-show-path"},[n("button",[n("label",{attrs:{"data-translation-element":"show_path"}},[t._v(t._s(t.show_path))]),t._v(" "),n("i")])]):t._e(),t._v(" "),t.showDescription?n("div",{staticClass:"wf-poi-description",domProps:{innerHTML:t._s(t.poi.getDescription(t.language)||"")}}):t._e(),t._v(" "),t.showRoomID?n("div",{staticClass:"wf-poi-room_id",domProps:{innerHTML:t._s(t.poi.room_id||"")}}):t._e(),t._v(" "),t.showFloor&&t.poi.getFloor()?n("div",{staticClass:"wf-poi-floor",domProps:{innerHTML:t._s(t.poi.getFloor().getName(t.language)||"")}}):t._e()]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-658b6c14_0",{source:".layout-view[data-v-658b6c14]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.poi-info[data-v-658b6c14]{padding:1rem}.poi-info h2[data-v-658b6c14]{text-align:center;margin-top:1.5rem;margin-bottom:1.5rem}.poi-body[data-v-658b6c14]{box-shadow:0 -2px 1px 0 rgba(0,0,0,.05);padding:1rem;flex-grow:1}.poi-image[data-v-658b6c14]{height:14rem;width:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat}.poi-image.image-background[data-v-658b6c14]{background-size:cover}.show-path[data-v-658b6c14]{bottom:1rem;right:1rem;text-transform:uppercase;z-index:10;line-height:2.8rem;margin-bottom:1.5rem}.show-path button[data-v-658b6c14]{height:3rem;font-size:1.2rem;line-height:2.8rem;padding-left:2.5rem;padding-right:2.5rem;margin:auto;border:0;display:block}.poi-description[data-v-658b6c14]{line-height:1.2}.poi-contact .address[data-v-658b6c14]{font-weight:600;margin-bottom:.5rem}.poi-contact .address span[data-v-658b6c14]{padding-top:4px;vertical-align:top;display:inline-block}.poi-contact .address a[data-v-658b6c14]{text-decoration:none;display:block;line-height:1.5}.poi-contact .address .icon[data-v-658b6c14]:before{mix-blend-mode:initial;color:#fff}",map:void 0,media:void 0})}),{name:"POI",computed:a(a({},j("wf",["language"])),{},{hasShowPathListener:function(){return!(!this.$listeners||!this.$listeners.showPath)}}),props:{poi:{type:Object,default:null},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1}},watch:{language:function(){this.$wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{showPath:function(){this.poi&&(this.hasShowPathListener?this.$emit("showPath",this.poi):this.$wayfinder.showPath(this.poi.getNode(),this.poi))},open:function(t){t&&this.poi[t]&&("shop_email"===t?window.open("mailto:"+this.poi[t],"_system"):"shop_phone"===t?window.open("tel:"+this.poi[t],"_system"):window.open(this.poi[t],"_system"))},getImage:function(){return this.poi.getBackgroundUrl()?'url("'+this.poi.getBackgroundUrl()+'")':!!this.poi.getIconUrl()&&'url("'+this.poi.getIconUrl()+'")'},isImage:function(){return this.poi.getBackgroundUrl()?"image-background":this.poi.getIconUrl()?"image-logo":"image-none"},truncate:function(t,e){return t&&t.length>e?t.substring(0,e)+"...":t}},data:function(){return{show_path:"Show Path"}}},"data-v-658b6c14",false,undefined,!1,f,void 0,void 0),z=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-az-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-17afa634_0",{source:".wf-list-item[data-v-17afa634]{list-style:none}",map:void 0,media:void 0})}),{name:"AZMenu",components:{POI:F},props:{showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},data:function(){return{count:0}},computed:a(a({},j("wf",["pois","language"])),{},{sortedPOIs:function(){var t=this,e=this.pois.slice().filter((function(t){return t&&t.getShowInMenu()}));return e=e.sort((function(e,n){return e.getName(t.language)&&n.getName(t.language)?e.getName(t.language).localeCompare(n.getName(t.language)):0})),this.count=e.length,e}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-17afa634",false,undefined,!1,f,void 0,void 0),D=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-container",class:[t.active?"wf-active":""]},[t.showTitle?n("div",{staticClass:"wf-languages-container-select"},[t._v("Select language")]):t._e(),t._v(" "),n("div",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.languages,(function(e){return n("div",{key:e.getName(),class:["item","language","lang-"+e.getName(),{active:e.getName()==t.language,display:t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-64144cc4_0",{source:".languages-container.active[data-v-64144cc4]{height:fit-content;z-index:10}.languages-container.active .languages-container-select[data-v-64144cc4]{visibility:initial;opacity:1}.languages-container .languages-container-select[data-v-64144cc4]{opacity:0;padding-bottom:.5rem;margin:auto;text-align:center;transition:opacity .2s ease-in;overflow:hidden;height:1.5rem;font-size:1rem}.languages-container .language .flag[data-v-64144cc4]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.languages-container .language .active[data-v-64144cc4]{height:3.5rem;margin-bottom:1rem}.languages-container .language .display[data-v-64144cc4]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"FlagsMenu",computed:a(a({},j("wf",["languages","language","reset"])),{},{count:function(){return this.languages.length}}),props:{showTitle:{type:Boolean,default:!0},showFlag:{type:Boolean,default:!0},labelType:{type:String,default:"none"}},data:function(){return{active:!1}},methods:{changeLanguage:function(t){this.$wayfinder.setLanguage(t.name),this.$emit("changeLanguage",t)},getFlagImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}},watch:{reset:function(){this.active=!1}}},"data-v-64144cc4",false,undefined,!1,f,void 0,void 0),A=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-menu",class:{"wf-active":t.active}},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count,t.active?"wf-active":""]},t._l(t.languages,(function(e){return n("li",{directives:[{name:"show",rawName:"v-show",value:!(t.hideActive&&e.getName()==t.language),expression:"!(hideActive && lang.getName() == language)"}],key:e.getName(),staticClass:"wf-list-item wf-language",class:["wf-lang-"+e.getName(),{"wf-active":e.getName()==t.language,"wf-display":t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-lang-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-2b86d0a6_0",{source:".wf-languages-menu.active[data-v-2b86d0a6]{height:fit-content;z-index:10}.wf-languages-menu.active .wf-languages-title[data-v-2b86d0a6]{visibility:initial;opacity:1}.wf-languages-menu .wf-languages-title[data-v-2b86d0a6]{opacity:0;padding-bottom:.5rem;margin:auto;text-align:center;transition:opacity .2s ease-in;overflow:hidden}.wf-languages-menu .wf-language .wf-lang-flag[data-v-2b86d0a6]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.wf-languages-menu .wf-language .wf-active[data-v-2b86d0a6]{height:3.5rem;margin-bottom:1rem}.wf-languages-menu .wf-language .wf-display[data-v-2b86d0a6]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"LanguagesMenu",computed:a(a({},j("wf",["languages","language","reset"])),{},{count:function(){return this.languages.length}}),props:{showTitle:{type:Boolean,default:!1},showFlag:{type:Boolean,default:!0},labelType:{type:String,default:"none"},hideActive:{type:Boolean,default:!1},title:{type:String,default:"Select language"}},data:function(){return{active:!1}},methods:{changeLanguage:function(t){this.$listeners&&this.$listeners.changeLanguage?this.$emit("change",t):this.$wayfinder.setLanguage(t.name)},getFlagImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}},watch:{reset:function(){this.active=!1}}},"data-v-2b86d0a6",false,undefined,!1,f,void 0,void 0),$=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-groups-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[t._t("prepend"),t._v(" "),t._l(t.sortedGroups,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(topic)",arg:"tap"}],staticClass:"wf-item-content"},[t._t("default",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),e.childGroups.length>0&&t.showSubGroups?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}]},t._l(t.subGroups(e.childGroups),(function(e){return n("li",{key:e.id},[t._t("subgroup",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2)})),0):t._e(),t._v(" "),e.pois.length>0&&t.showPOIs?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}],staticClass:"wf-list wf-sublist"},t._l(t.sortedPOIs(e.pois),(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onPOICLick(e),expression:"onPOICLick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item"},[t._t("poi",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showPOILogo,showName:t.showPOIName,showPathButton:t.showPOIPathButton,showDescription:t.showPOIDescription,showRoomID:t.showPOIRoomID,showFloor:t.showPOIFloor}})]}),{poi:e})],2)})),0):t._e()])})),t._v(" "),t._t("append")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-13cecfd9_0",{source:".wf-groups-menu .wf-list-item[data-v-13cecfd9]{list-style:none}.wf-groups-menu .wf-list[data-v-13cecfd9]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"GroupsMenu",components:{Group:h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.group?n("div",{staticClass:"wf-group",class:[t.hasImage()]},[n("label",{staticClass:"wf-name",domProps:{innerHTML:t._s(t.group.getName(t.language))}}),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-poi-count"},[t._v(t._s(t.group.pois.length))]):t._e(),t._v(" "),t.showIcon?n("img",{staticClass:"wf-group-icon",attrs:{src:t.group.getIconUrl()}}):t._e()]):t._e()},staticRenderFns:[]},undefined,{name:"Group",computed:a({},j("wf",["language"])),props:{group:{type:Object,default:null},showIcon:{type:Boolean,default:!1},showPOICount:{type:Boolean,default:!1}},watch:{language:function(){wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{hasImage:function(){return this.group.getIconUrl()?"wf-has-icon":"wf-icon-none"}}},"data-v-077cd362",false,undefined,!1,void 0,void 0,void 0),POI:F},props:{parent:{type:Number,default:-1},showPOICount:{type:Boolean,default:!1},az:{type:Boolean,default:!1},order:{type:Boolean,default:!1},showIcon:{type:Boolean,default:!1},showSubGroups:{type:Boolean,default:!0},showPOIs:{type:Boolean,default:!1},showPOILogo:{type:Boolean,default:!1},showPOIName:{type:Boolean,default:!0},showPOIPathButton:{type:Boolean,default:!1},showPOIDescription:{type:Boolean,default:!1},showPOIRoomID:{type:Boolean,default:!1},showPOIFloor:{type:Boolean,default:!1},openGroup:{type:Boolean,default:!0},sortPOIs:{type:Boolean,default:!0}},data:function(){return{current:null,count:0}},computed:a(a({},j("wf",["poiGroups","currentGroup","language"])),{},{sortedGroups:function(){var t,e=this,n=[],i=this.poiGroups;for(var o in i)(t=i[o])&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent||-1===this.parent&&null===t.parent_id)&&n.push(t);return this.az?n=n.sort((function(t,n){return t&&t.getName(e.language)&&n&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language),e.language,{sensitivity:"accent"}):0})):this.order&&(n=n.sort((function(t,e){return t&&e?t.order-e.order:0}))),this.count=n.length,n}}),watch:{currentGroup:function(){this.current=this.currentGroup}},methods:{onClick:function(t){var e=this;return function(){e.current==t?e.current=null:e.current=t,e.$emit("clicked",t)}},onPOICLick:function(t){var e=this;return function(){e.$emit("poiClicked",t)}},reset:function(){this.$store.dispatch("wf/SET_CURRENT_GROUP",null)},subGroups:function(t){if(t){var e=[];for(var n in t)this.poiGroups[n]&&this.poiGroups[n].getShowInMenu()&&e.push(this.poiGroups[n]);return e}return[]},sortedPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));return this.sortPOIs?n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})):n}}},"data-v-13cecfd9",false,undefined,!1,f,void 0,void 0),R=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-group-pois-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.back(),expression:"back()",arg:"tap"}],staticClass:"wf-list-item wf-list-header"},[t._v(t._s(t.currentGroupName))]),t._v(" "),t._l(t.getPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},domProps:{innerHTML:t._s(e.getName(t.language))}})}))],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-14d8d75e_0",{source:".wf-group-pois-menu[data-v-14d8d75e]{overflow:hidden;user-select:none}.wf-group-pois-menu .wf-list[data-v-14d8d75e]{margin:0;padding:0}.wf-group-pois-menu .list-item[data-v-14d8d75e]{list-style:none;padding:1em}",map:void 0,media:void 0})}),{name:"GroupPOIsMenu",props:{group:{type:Object,default:null},currentPOI:{type:Object,default:null}},data:function(){return{count:0}},computed:a(a({},j("wf",["language"])),{},{getPOIs:function(){var t=this;if(this.group&&this.group.pois){var e=this.group.pois.slice(0);return e=e.filter((function(t){return t.getShowInMenu()})),this.count=e.length,e.sort((function(e,n){return e.getName(t.language).localeCompare(n.getName(t.language))}))}return this.count=0,[]},currentGroupName:function(){return this.group?this.group.getName(this.language):""}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t)}},back:function(){var t=this;return function(){t.$emit("back")}}}},"data-v-14d8d75e",false,undefined,!1,f,void 0,void 0),B=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"wf-component wf-building-logo",style:{"background-image":t.getLogo()}})},staticRenderFns:[]},(function(t){t&&t("data-v-38faefb4_0",{source:".wf-building-logo[data-v-38faefb4]{background-size:contain;background-repeat:no-repeat;background-position:50%}",map:void 0,media:void 0})}),{name:"BuildingLogo",computed:a({},j("wf",["building"])),methods:{getLogo:function(){if(this.building&&this.building.logoID)return"url("+WayfinderAPI.getURL("images","get",this.building.logoID)+")"}}},"data-v-38faefb4",false,undefined,!1,f,void 0,void 0),W=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("button",{staticClass:"wf-component wf-yah",on:{click:function(e){return t.onClicked()}}},[n("i",{staticClass:"wf-icon",style:{"background-image":t.yahLogo}}),t._v(" "),n("label",{attrs:{"data-translation-element":"yah"}},[t._v("YAH")])])},staticRenderFns:[]},(function(t){t&&t("data-v-0e28d1b6_0",{source:".wf-yah[data-v-0e28d1b6]{text-align:center;border:none;outline:0}.wf-icon[data-v-0e28d1b6]{width:100%;height:100%;display:block;background-repeat:no-repeat;background-position:50%;background-size:contain;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iOTQiIGhlaWdodD0iMTI4IiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6Y2M9Imh0dHA6Ly9jcmVhdGl2ZWNvbW1vbnMub3JnL25zIyIgeG1sbnM6ZGM9Imh0dHA6Ly9wdXJsLm9yZy9kYy9lbGVtZW50cy8xLjEvIiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPgogPG1ldGFkYXRhPgogIDxyZGY6UkRGPgogICA8Y2M6V29yayByZGY6YWJvdXQ9IiI+CiAgICA8ZGM6Zm9ybWF0PmltYWdlL3N2Zyt4bWw8L2RjOmZvcm1hdD4KICAgIDxkYzp0eXBlIHJkZjpyZXNvdXJjZT0iaHR0cDovL3B1cmwub3JnL2RjL2RjbWl0eXBlL1N0aWxsSW1hZ2UiLz4KICAgIDxkYzp0aXRsZS8+CiAgIDwvY2M6V29yaz4KICA8L3JkZjpSREY+CiA8L21ldGFkYXRhPgogPHBhdGggZD0ibTQ2Ljk3NyAxMjYuNjRjLTAuMjgzMDMtMC42ODc1LTYuMTYzMS02LjQzNzctMTAuMzc0LTExLjY2My0yNC45NDctMzMuMTIyLTUyLjc2MS02My44OTgtMjAuMjgzLTEwMS4zIDE0LjM4MS0xMy44OTQgMzIuMTEzLTE0LjY4NiA1MC4zNDMtOC4yMTAxIDUxLjMzIDI5LjcwMiAxNC4xNjYgNzguMTU1LTEwLjIzNSAxMTAuMDFsLTkuNDUwMSAxMS4xNjN6bTE1LjQ0LTUwLjc3MWMzNC4yMzctMjQuNDg1IDcuNzY4LTcxLjYzMy0yOS44NDgtNTUuOTU5LTEwLjk4NCA1Ljg1NjktMTYuNDM0IDE2LjA0OC0xNi42MjUgMjguMDY4LTAuNTI0NSAxMS42OTMgNS42ODU0IDIxLjQ3MSAxNS41MjYgMjcuNDYxIDcuMDU1NSAzLjg0MDEgMTAuMTU3IDQuNTMzNyAxOC4xNDYgNC4wNTc3IDUuMTc3Ni0wLjMwODUyIDguMTYxMS0xLjE1MzggMTIuODAxLTMuNjI3MXoiIGZpbGw9IiNjNjQyNDIiIGZpbGwtb3BhY2l0eT0iLjk4ODI0Ii8+CiA8cGF0aCB0cmFuc2Zvcm09Im1hdHJpeCguODc4MjkgMCAwIDEuMDUxOSAuNTU0NzQgLTYuOTk1MykiIGQ9Im00MS42ODIgODkuODkxYTUxLjIyMyA0MS43NTQgMCAxIDEgMS4yNzY2IDAuMjA4MDkiIGZpbGw9IiNjNjQyNDIiIGZpbGwtb3BhY2l0eT0iLjk4ODI0Ii8+CiA8cGF0aCB0cmFuc2Zvcm09InRyYW5zbGF0ZSguNjQ1MzUpIiBkPSJtNDMuNjMxIDY5LjEyOWEyNi4wMTEgMjAuOTkxIDAgMSAxIDAuNjQ4MjYgMC4xMDQ2MSIgZmlsbC1vcGFjaXR5PSIwIiBvcGFjaXR5PSIuMzQwMTYiLz4KIDxwYXRoIHRyYW5zZm9ybT0idHJhbnNsYXRlKC42NDUzNSkiIGQ9Im0zMS44OTIgMTE0LjI4YTE2LjY1NiAxMS43NSAwIDEgMSAwLjQxNTExIDAuMDU4NiIgZmlsbC1vcGFjaXR5PSIwIi8+CiA8cGF0aCB0cmFuc2Zvcm09Im1hdHJpeCguOTcwMiAwIDAgMS4wMjcyIC00LjA1ODggLTUuNzUwNCkiIGQ9Im00NS41MjEgODQuODI0YTM0LjQ1MyAzMy41NCAwIDEgMSAwLjg1ODY2IDAuMTY3MTYiIGZpbGw9IiNiNzJjMmMiLz4KIDxwYXRoIHRyYW5zZm9ybT0ibWF0cml4KC42NDYzIDAgMCAuNjE2ODEgNS4xMjYxIDQuOTAxNCkiIGQ9Im01Ny4wNzkgMTA0LjYxYTM0LjIwMyAzNi42MjMgMCAxIDEgMC44NTI0NCAwLjE4MjUyIiBmaWxsPSIjZmZmIi8+Cjwvc3ZnPgo=)}",map:void 0,media:void 0})}),{name:"YAH",computed:a({},j("wf",["yahLogo","language"])),methods:{onClicked:function(){this.$wayfinder.showKiosk()}}},"data-v-0e28d1b6",false,undefined,!1,f,void 0,void 0),G=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-shortcuts-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedShortcuts,(function(e){return n("li",{key:e.getID(),staticClass:"wf-list-item wf-shortcut",class:["wf-shortcut-"+e.getID()],on:{click:function(n){return t.showShortcut(e)}}},[t.showIcon?n("img",{staticClass:"wf-icon",attrs:{src:t.getImage(e.imageID)}}):t._e(),t._v(" "),t.showLabel?n("label",[t._v(t._s(e.getName(t.language)))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-6fbc92fe_0",{source:".shortcuts-container[data-v-6fbc92fe]{display:flex;flex-wrap:wrap-reverse;align-content:stretch;justify-content:space-between;margin-bottom:.1rem;flex-direction:row}.shortcuts-container.map-shortcuts[data-v-6fbc92fe]{position:absolute;left:.5rem;bottom:15%;top:15%;flex-direction:column;justify-content:center}",map:void 0,media:void 0})}),{name:"ShortcutsMenu",components:{YAH:W},props:{showLabel:{type:Boolean,default:!0},showPath:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!0},highlight:{type:Boolean,default:!0},dehighlightOverlay:{type:Boolean,default:!1}},computed:a(a({},j("wf",["shortcuts","language","landscape","mobile"])),{},{sortedShortcuts:function(){var t=this.shortcuts.sort((function(t,e){return 1}));return t},count:function(){return this.shortcuts.length},hasClickedListener:function(){return!(!this.$listeners||!this.$listeners.clicked)}}),methods:{showShortcut:function(t){if(this.hasClickedListener)this.$emit("clicked",e,t);else{var e=this.$wayfinder.getNearestPOI(this.$wayfinder.getKiosk(),t.pois);this.showPath&&"object"===s(e)&&null!=e&&this.$wayfinder.showPath(e.node,e),this.highlight&&(this.$wayfinder.clearDisplaying(),this.$wayfinder.setDisplaying(t.pois)),this.dehighlightOverlay&&this.$wayfinder.setDehighlightOverlay&&this.$wayfinder.setDehighlightOverlay(!0),this.$wayfinder.update()}},clear:function(){this.dehighlightOverlay&&this.$wayfinder.setDehighlightOverlay&&this.$wayfinder.setDehighlightOverlay(!1),this.highlight&&this.$wayfinder.clearHighlights(),this.$wayfinder.update()},getImage:function(t){return WayfinderAPI.getURL("images","thumbnail",[t])}}},"data-v-6fbc92fe",false,undefined,!1,f,void 0,void 0),V=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-zoommenu"},[n("div",{staticClass:"wf-item wf-zoom-in",on:{click:function(e){return t.zoomIn()}}},[t._v("+")]),t._v(" "),n("div",{staticClass:"wf-item wf-zoom-out",on:{click:function(e){return t.zoomOut()}}},[t._v("-")])])},staticRenderFns:[]},undefined,{methods:{zoomIn:function(){this.$wayfinder.zoomIn()},zoomOut:function(){this.$wayfinder.zoomOut()}}},undefined,false,undefined,!1,void 0,void 0,void 0),Y=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-floors-menu"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:!(t.hideWhenSingleFloor&&t.floors.length<=1),expression:"!(hideWhenSingleFloor && floors.length <= 1)"}],staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.filteredFloors,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:["wf-lang-"+t.language,"wf-floor-"+e.index,{active:e==t.currentFloor}],on:{click:function(n){return t.changeFloor(e)}}},[n("label",{staticClass:"wf-title"},[t._v(t._s(e.getName(t.language)))]),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-count"},[t._v(t._s(e.pois.length))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-acb9257a_0",{source:".wf-floors-menu .wf-list-item[data-v-acb9257a]{text-overflow:ellipsis;list-style:none}",map:void 0,media:void 0})}),{name:"MapFloors",props:{showPOICount:{type:Boolean,default:!1},currentFloor:{type:Object,default:null},hideWhenSingleFloor:{type:Boolean,default:!0}},data:function(){return{count:0}},computed:a(a({},j("wf",["floors","language"])),{},{filteredFloors:function(){var t,e=[],n=this.floors;for(var i in n)(t=n[i])&&t.getShowInMenu()&&t.getName(this.language)&&e.push(t);return this.count=e.length,e},hasClickedListener:function(){return!(!this.$listeners||!this.$listeners.clicked)}}),methods:{changeFloor:function(t){this.hasClickedListener?this.$emit("clicked",t):this.$wayfinder.showFloor(t)}}},"data-v-acb9257a",false,undefined,!1,f,void 0,void 0),U=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-filteredmenu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{active:t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},undefined,{name:"FilteredMenu",components:{POI:F},data:function(){return{sortedPOIs:[],count:0}},props:{showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},computed:a({},j("wf",["filteredPOIs","language"])),watch:{filteredPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})),this.count=n.length,this.sortedPOIs=n}},methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-e2dd64b6",false,undefined,!1,void 0,void 0,void 0);function H(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var Z,q=H((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){n.r(e);class i{constructor(t){this.keyboard=t,this.actions={backspace:function(t,e){e.selectionStart>0&&e.selectionStart==e.selectionEnd?(e.selectionStart--,e.changeValue("")):e.changeValue("")},change_keyset:function(t,e){void 0!==t.action[1]&&(e.keyset=t.action[1],e.clear(),e.construct())},change_layout:function(t,e){void 0!==t.action[1]&&(e.layoutName=t.action[1],e.clear(),e.construct())},submit:function(t,e){void 0!==t.action[1]&&(e.pushtoOutput(),e.clear())}}}activate(t){"function"==typeof this.actions[t.action[0]]&&this.actions[t.action[0]](t,this.keyboard)}addAction(t,e){this.actions[t]=e}}class o{constructor(t,e,n){this.layouts={},this.layoutName=void 0===n?"en":n,this.keyset="default",this.container=!1,this.containerListenerAdded=!1,this.setContainer(e),this.selectionStart=0,this.selectionEnd=0,this.output=!1,this.outputIsInputField=!0,this.value="",this.events={change:[],layout:[],ready:[]},this.actions=new i(this),this.cbOnChange=!1,this.setOutput(t),this.setDefaultLayout(),this.construct()}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,o=this.events[e].length;i<o;i++)"function"==typeof(n=this.events[e][i])&&n.apply(this,t)}}}addLayout(t,e){this.layouts[t]=e}changeLayout(t,e){this.layoutName=t,this.keyset=e||"default",this.clear(),this.construct(),this.trigger("layout",this.layoutName,this.keyset)}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),this.container.classList.add("keyboard"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}}setOutput(t){if("string"==typeof t){if(this.output=document.getElementById(t),!this.output)return void console.warn("Input field not found",t);"input"!==this.output.tagName.toLowerCase()&&(this.outputIsInputField=!1)}else this.output=t;this.output&&(this.output.addEventListener("focus",(()=>{this.updateFromOutput()})),this.output.addEventListener("keyup",(()=>{this.updateFromOutput(),this.trigger("change",this.value)})),this.output.addEventListener("mouseup",(()=>{this.updateFromOutput()})),this.output.addEventListener("input",(()=>{this.updateFromOutput()})))}updateFromOutput(){this.outputIsInputField?this.value=this.output.value:this.value=this.output.innerText,this.getCaretPosition()}clear(){if(this.container)for(;this.container.firstChild;)this.container.removeChild(this.container.firstChild)}clearValue(){this.value="",this.selectionStart=0,this.selectionEnd=0}getCurrentKeyset(){try{return this.layouts[this.layoutName].keys[this.keyset]}catch(t){return console.warn("Error! Probably no keyboard layout added!"),this.layouts.en.keys.default}}construct(){this.clear();let t="",e=this.getCurrentKeyset();for(let n in e){t+="<div class='keyboard-row keyboard-row-"+n+"'>";for(let i in e[n]){let o=e[n][i];switch(typeof o){case"string":t+="<div class='keyboard-key "+o+"' row='"+n+"' index='"+i+"'>"+o+"</div>";break;case"object":let e="";o.cls&&(e=o.cls),t+="<div class='keyboard-key keyboard-"+e+" "+o.key+"' object='' row='"+n+"' index='"+i+"'>"+o.key+"</div>"}}t+="</div>"}this.container.insertAdjacentHTML("beforeend",t),this.containerListenerAdded||(this.container.addEventListener("mousedown",(t=>{this.getCaretPosition(),this.keyPressed(t.target),t.stopPropagation(),t.preventDefault()})),this.container.addEventListener("mouseup",(t=>{this.keyReleased(t.target),t.stopPropagation()})),this.containerListenerAdded=!0,this.container.onselectstart=function(){return!1},this.container.onmousedown=function(){return!1}),this.rescale()}rescale(){if(!this.container)return;let t,e,n=0;for(let i=0;i<this.container.children.length;i++){let o=(t=this.container.children[i]).offsetHeight-t.clientHeight,a=t.offsetWidth-t.clientWidth;for(let n=0;n<t.children.length;n++)a+=((e=t.children[n]).offsetWidth<this.container.offsetWidth?e.offsetWidth:this.container.offsetWidth)+1,o=Math.max(o,this.container.offsetHeight);t.width=a,t.height=o,n+=o}this.container.height=n,this.trigger("ready")}keyPressed(t){t.classList.add("keyboard-key-pressed");let e=this.getCurrentKeyset()[t.getAttribute("row")];if(!e)return;let n=e[t.getAttribute("index")];switch(typeof n){case"string":this.changeValue(n);break;case"object":void 0===n.action?this.changeValue(n.key):this.actions.activate(n)}this.pushtoOutput()}changeValue(t){let e=this.value.substring(0,this.selectionStart),n=this.value.substring(this.selectionEnd,this.value.length);this.value=""+e+t+n,this.selectionStart+=t.length,this.selectionEnd=this.selectionStart}pushtoOutput(){if(this.output){this.outputIsInputField?(this.output.value=this.value,this.output.selectionStart=this.selectionStart,this.output.selectionEnd=this.selectionEnd):this.output.innerHTML=this.value;let t=new Event("change"),e=new Event("keyup");this.output.dispatchEvent(t),this.output.dispatchEvent(e),this.trigger("change",this.value)}}getCaretPosition(){this.output&&this.outputIsInputField&&(this.selectionStart=this.output.selectionStart,this.selectionEnd=this.output.selectionEnd)}keyReleased(t){t.classList.remove("keyboard-key-pressed")}width(){return-1}height(){return-1}setDefaultLayout(){this.layouts.en={name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"&#171; Bksp",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p","\\"],["a","s","d","f","g","h","j","k","l",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","shift"],cls:"key2x"},"z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]],shift:[["~","!","@","#","$","%","^","&","*","(",")",{key:"&#171; Bksp",action:"backspace",cls:"key2x"}],["Q","W","E","R","T","Y","U","I","O","P","{","}"],["A","S","D","F","G","H","J","K","L",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","default"],cls:"key2x active"},"Z","X","C","V","B","N","M","<",">","?"],[{key:" ",cls:"key_spacebar"}]]}}}}n.d(e,"OSK",(function(){return o})),n.d(e,"OSKActions",(function(){return i}))}]).OSK})),X=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-search"},[t.showCloseButton?n("div",{staticClass:"wf-close",attrs:{"data-translation-element":"close"},on:{click:function(e){return t.close(e)}}},[t._v("Close")]):t._e(),t._v(" "),n("div",{staticClass:"wf-search-container"},[n("div",{staticClass:"wf-search-results",class:{"wf-no-results":0==t.results.length}},[n("transition-group",{staticClass:"wf-list",attrs:{name:"list",tag:"ul"}},t._l(t.results,(function(e){return e&&e.getShowInMenu()?n("li",{key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2):t._e()})),0),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.showNoResultsText&&0==t.results.length,expression:"showNoResultsText && results.length == 0"}],staticClass:"wf-search-no-results-text"},[t._v(t._s(t.noResultsText))])],1),t._v(" "),t.showOutputField?n("div",{staticClass:"wf-search-input-container"},[n("input",{ref:"searchInput",attrs:{id:"wf-search-input"}})]):t._e(),t._v(" "),t.showKeyboard?n("div",{staticClass:"wf-keyboard",attrs:{id:"wf-keyboard-container"}}):t._e()])])},staticRenderFns:[]},(function(t){t&&t("data-v-106d1dfe_0",{source:".wf-search .wf-close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.wf-search .results{overflow:hidden}.wf-search .wf-search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.wf-search .wf-search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.wf-search .wf-keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.wf-search .wf-keyboard .keyboard-row{margin:auto;display:flex}.wf-search .wf-keyboard .keyboard-key{text-align:center;width:4ch;height:4ch;line-height:1.5;overflow:hidden;user-select:none}.wf-search .wf-keyboard .keyboard-key:last-child{margin-right:0}.wf-search .wf-keyboard .keyboard-key:active{background-color:#00f}.wf-search .wf-keyboard .keyboard-key2x{width:8ch}.wf-search .wf-keyboard .keyboard-key3x{width:12ch}.wf-search .wf-keyboard .keyboard-key_spacebar{width:24ch}",map:void 0,media:void 0})}),{name:"Search",components:{OSK:q,POI:F},computed:a({},j("wf",["language","reset"])),props:{limit:{type:Number,default:-1},showCloseButton:{type:Boolean,default:!1},showOutputField:{type:Boolean,default:!0},showKeyboard:{type:Boolean,default:!0},showNoResultsText:{type:Boolean,default:!0},noResultsText:{type:String,default:"No results"},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},data:function(){return{results:[],poi:{},keyboard:!1}},mounted:function(){var t=this;this.keyboard=new q("wf-search-input","wf-keyboard-container"),this.keyboard.on("change",(function(e){var n=t.$wayfinder.search.search(e);t.limit>0&&(n=n.slice(0,t.limit)),t.results=Object.freeze(Object.values(n)),e.length>1&&(Object.values(t.results).length>0?t.$wayfinder.statistics.onSearch(e,"successful"):t.$wayfinder.statistics.onSearch(e,"unsuccessful"))})),this.keyboard.addLayout("en",{name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"Delete",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p"],["a","s","d","f","g","h","j","k","l"],["z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]]}}),this.keyboard.changeLayout(this.language)},watch:{searchVisible:function(t){t&&this.$refs.searchInput&&this.$refs.searchInput.focus()},reset:function(){this.resetValues()},language:function(t){this.keyboard&&this.keyboard.changeLayout(t)}},methods:{onClick:function(t){this.$emit("clicked",t),this.$wayfinder.statistics.onClick(t.id,"menu")},close:function(){this.$emit("close"),this.resetValues()},resetValues:function(){this.results=[],this.keyboard&&(this.keyboard.changeLayout(this.language),this.keyboard.clearValue()),this.$refs.searchInput&&(this.$refs.searchInput.value="")},setOutput:function(t){this.keyboard.setOutput(t)},addLayout:function(t,e){this.keyboard.addLayout(t,e)},changeLayout:function(t){this.keyboard.changeLayout(t)}}},undefined,false,undefined,!1,f,void 0,void 0),Q=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"tabs",staticClass:"wf-component wf-tabs",class:["wf-tabs-"+t.activeTab,"wf-tabs-index-"+t.activeTabIndex,"wf-tabs-animate-"+t.animate]},[n("div",{ref:"slide",staticClass:"wf-tabs-content"},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-7eaad22c_0",{source:".wf-tabs[data-v-7eaad22c]{overflow:hidden;position:relative;width:100%;height:100%}.wf-tabs-content[data-v-7eaad22c]{height:100%;width:auto;display:flex;flex-direction:row;margin-left:0;transform:translateX(0) translateY(0)}.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{flex-direction:column}.wf-tab[data-v-7eaad22c]{opacity:0;transition:opacity .3s ease-out .5s}.wf-tab.wf-active[data-v-7eaad22c]{opacity:1;transition:opacity .3s ease-in}.wf-tabs.wf-tabs-animate-horizontal .wf-tabs-content[data-v-7eaad22c],.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{transition:transform .5s ease-in-out .2s}",map:void 0,media:void 0})}),{name:"Tabs",props:{activeTab:"",animate:{type:String,default:"none"}},data:function(){return{tabs:[],activeTabIndex:0,currentTab:null}},created:function(){this.tabs=this.$children},mounted:function(){this.$props.activeTab?this.activate(this.$props.activeTab):console.log("no active tab")},watch:{activeTab:function(t){t&&this.activate(t)}},methods:{activate:function(){for(var t in this.currentTab=null,this.tabs)this.tabs[t].name==this.$props.activeTab?(this.tabs[t].isActive=!0,this.$emit("tabChanged",this.tabs[t]),this.currentTab=this.tabs[t],this.activeTabIndex=t,"vertical"===this.animate?this.$refs.slide.style.transform="translateX(0) translateY(-"+100*t+"%)":this.$refs.slide.style.transform="translateY(0) translateX(-"+100*t+"%)"):this.tabs[t].isActive=!1}}},"data-v-7eaad22c",false,undefined,!1,f,void 0,void 0),K=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("section",{staticClass:"wf-component wf-tab",class:{"wf-active":t.isActive}},[t._t("default")],2)},staticRenderFns:[]},(function(t){t&&t("data-v-b8114d98_0",{source:".wf-tab[data-v-b8114d98]{overflow:hidden;flex-grow:1;flex-shrink:0;width:100%}",map:void 0,media:void 0})}),{name:"Tab",props:{name:""},data:function(){return{isActive:!1,isVisible:!0}},created:function(){},methods:{}},"data-v-b8114d98",false,undefined,!1,f,void 0,void 0),J=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-tab-buttons"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mobile&&!t.landscape,expression:"mobile && !landscape"}],staticClass:"wf-item tab-map",class:{active:"map"==t.currentTab},attrs:{"data-translation-element":"map"},on:{click:function(e){return t.switchTab("map")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-topics",class:{active:"groups"==t.currentTab||"group-pois"==t.currentTab},attrs:{"data-translation-element":"topics"},on:{click:function(e){return t.switchTab("groups")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-az",class:{active:"az"==t.currentTab},attrs:{"data-translation-element":"az"},on:{click:function(e){return t.switchTab("az")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-search",class:{active:"search"==t.currentTab},attrs:{"data-translation-element":"search"},on:{click:function(e){return t.switchTab("search")}}})])},staticRenderFns:[]},(function(t){t&&t("data-v-5229b2f8_0",{source:".wf-tab-buttons[data-v-5229b2f8]{display:flex;align-content:stretch;justify-content:space-between}.wf-tab-buttons .wf-item[data-v-5229b2f8]{background-size:auto 30%;background-repeat:no-repeat}",map:void 0,media:void 0})}),{name:"Tabs",computed:a({},j("wf",["currentTab","searchVisible","mobile","landscape","shortcuts","language"])),data:function(){return{toilet:!1,toiletsIcon:!1}},methods:{switchTab:function(t){this.$emit("switchTab",t)}}},"data-v-5229b2f8",false,undefined,!1,f,void 0,void 0),tt=H((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports={create:function(){return[0,0]},clone:function(t){var e=new Array(2);return e[0]=t[0],e[1]=t[1],e},fromValues:function(t,e){var n=new Array(2);return n[0]=t,n[1]=e,n},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},set:function(t,e,n){return t[0]=e,t[1]=n,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},dist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},sqrDist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return n*n+i*i},len:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},length:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},sqrLen:function(t){var e=t[0],n=t[1];return e*e+n*n},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var n=e[0],i=e[1],o=n*n+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o),t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},cross:function(t,e,n){var i=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=i,t},lerp:function(t,e,n,i){var o=e[0],a=e[1];return t[0]=o+i*(n[0]-o),t[1]=a+i*(n[1]-a),t},transformMat2:function(t,e,n){var i=e[0],o=e[1];return t[0]=i*n[0]+o*n[1],t[1]=i*n[2]+o*n[3],t},str:function(t){return"this("+t[0]+", "+t[1]+")"}}},function(t,e,n){n.r(e),n.d(e,"ScrollArea",(function(){return r}));var i=n(0),o=n.n(i);class a{constructor(t,e){this.position=o.a.create(),this.contentSize=t,this.viewSize=e,this.contentViewRatio=o.a.div(o.a.create(),this.getViewSize(),this.getContentSize()),this._maxPosition=o.a.create(),this._minPosition=o.a.create(),this._vec2cache=o.a.create()}getViewPosition(){return this.position}getContentPosition(){return this.position}clampPosition(){o.a.max(this._maxPosition,this.getViewSize(),this.getContentSize()),o.a.min(this._minPosition,this.getViewSize(),this.getContentSize()),o.a.sub(this._maxPosition,this._maxPosition,this._minPosition),this.getContentSize()[0]<=this.getViewSize()[0]&&(this._maxPosition[0]=0),this.getContentSize()[1]<=this.getViewSize()[1]&&(this._maxPosition[1]=0),this.position=this.clamp(this.position,o.a.create(),this._maxPosition)}setViewPosition(t){!isNaN(parseFloat(t[0]))&&isFinite(t[0])&&!isNaN(parseFloat(t[1]))&&isFinite(t[1])&&(this.position=t,this.clampPosition())}move(t){t&&this.setViewPosition(o.a.sub(t,this.getViewPosition(),t))}setViewSize(t,e){o.a.set(this.viewSize,t,e),o.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition()}setContentSize(t,e){o.a.set(this.contentSize,t,e),o.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition()}isContentLonger(){return this.viewSize[1]<this.contentSize[1]}isContentWider(){return this.viewSize[0]<this.contentSize[0]}getContentSize(){return this.contentSize}getViewSize(){return this.viewSize}clamp(t,e,n){var i=o.a.clone(t);return o.a.max(i,i,e),o.a.min(i,i,n),i}getPercentagePosition(){return o.a.div(o.a.create(),this.position,this.viewSize)}getRelativePosition(){return o.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize()),0!==o.a.len(this._vec2cache)&&o.a.div(this._vec2cache,this.getViewPosition(),o.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize())),this._vec2cache}getContentViewRatio(){return this.contentViewRatio}}class s{constructor(t,e){this.options=e||{},this.vertical="vertical"==this.getOption("direction"),this.position=0,this.mouseDelta=o.a.create(),this.onScroll=!1,this.parentElement=t,this.element=document.createElement("div"),this.element.classList.add("sa-scrollbar"),this.element.classList.add("sa-scrollbar-position-"+this.getOption("scollbarPosition")),this.element.style.position="absolute",this.element.style.right="0",this.element.style.bottom="0",this.vertical?this.element.style.top="0":this.element.style.left="0",this.bar=document.createElement("div"),this.bar.style.minWidth="1px",this.bar.classList.add("sa-bar"),this.element.appendChild(this.bar),t.appendChild(this.element),this.view=new a(o.a.fromValues(this.element.clientWidth,this.element.clientHeight),o.a.fromValues(this.bar.clientWidth,this.bar.clientHeight))}getOption(t){return this.options[t]}attachEvents(t){t.addEventListener("mousedown",(t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=o.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY))}),!1),window.addEventListener("touchend",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchcancel",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchmove",(t=>{if(t.touches&&t.touches.length>0){if(this.lastTouch){var e=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(o.a.sub(e,this.lastTouch,e)):this.scroll(o.a.sub(e,e,this.lastTouch))}this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY)}}),!1)}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=o.a.clone(e.view.getContentPosition()),e.setPosition(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}setPosition(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.bar.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1}clear(){this.position=0,this.setPosition(0)}getBarLength(){return this.vertical?parseInt(Math.ceil(this.bar.clientHeight)):parseInt(Math.ceil(this.bar.clientWidth))}getViewLength(){return this.vertical?this.view.getViewSize()[1]:this.view.getViewSize()[0]}getContentLength(){return this.vertical?this.view.getContentSize()[1]:this.view.getContentSize()[0]}setContentPosition(t){var e=o.a.create(),n=t.getContentViewRatio()[this.vertical?1:0];o.a.scale(e,t.getContentPosition(),n),this.view.setViewPosition(e),this.setPosition(this.view.getContentPosition())}getPercentage(){return o.a.len(this.view.getViewPosition())/this.getViewLength()}resizeContent(t){t?(this.vertical?(this.bar.style.height=Math.floor(t.getViewSize()[1]*t.getContentViewRatio()[1])+"px",this.element.style.height=t.getViewSize()[1]+"px",this.element.style.visibility=t.isContentLonger()?"visible":"hidden"):(this.bar.style.width=Math.floor(t.getViewSize()[0]*t.getContentViewRatio()[0])+"px",this.element.style.width=t.getViewSize()[0]+"px",this.element.style.visibility=t.isContentWider()?"visible":"hidden"),this.resize()):console.warn("View undefined")}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)),this.view.setContentSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight))):(this.view.setViewSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)),this.view.setContentSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)))}}class r{constructor(t,e,n){if(this.container=null,this.content=null,this.options={smooth:!0,reverse:!1,swapContainers:!1,updateInterval:10,wheelSpeed:50,scollbarPosition:"right",direction:"vertical"},void 0!==n&&n&&(this.options=this.chooseOptions(this.options,n)),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=o.a.create(),this.lastTime=0,this.smoothDistance=null,this.timeout=null,this.smoothCoeficent=o.a.fromValues(11,11),this.positionClassNames=["sa-on-left","sa-on-right","sa-on-top","sa-on-bottom"],this.mousedown=!1,this.touchstart=!1,this._vec2cache=o.a.create(),this.container,this.getOption("swapContainers")?this.view=new a(o.a.fromValues(this.container.clientWidth,this.container.clientHeight),o.a.fromValues(this.content.clientWidth,this.content.clientHeight)):(this.content,this.view=new a(o.a.fromValues(this.content.clientWidth,this.content.clientHeight),o.a.fromValues(this.container.clientWidth,this.container.clientHeight))),this.container.style.position="relative",this.container.style.overflow="hidden",this.container.style.userSelect="none",this.attachEvents(this.container),this.scrollbarV=new s(this.container,{direction:"vertical",scollbarPosition:"right",reverse:this.options.reverse,swapContainers:this.options.swapContainers}),this.scrollbarH=new s(this.container,{direction:"horizontal",scollbarPosition:"bottom",reverse:this.options.reverse}),"undefined"!=typeof ResizeObserver&&this.content){var i=this;this.resizeObserver=new ResizeObserver((function(){i.resize()})),this.resizeObserver.observe(this.content)}}attachEvents(t){t.addEventListener("mousewheel",(t=>{var e;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?t.wheelDelta<0||t.wheelDelta>0?1:-1:t.deltaY>0||t.deltaY<0?1:-1,this.scroll(o.a.fromValues(0,this.getOption("wheelSpeed")*e))})),t.addEventListener("mousedown",(t=>{this.mousedown=!0,this.lastTime=Date.now(),t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=o.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.onEndDrag(this.deltaMove,Date.now()-this.lastTime),this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.mousedown=!0,this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY),this.lastTime=Date.now())}),!1),window.addEventListener("touchend",(t=>{this.onEndDrag(o.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchcancel",(t=>{this.onEndDrag(o.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchmove",(t=>{if(t.touches&&t.touches.length>0&&this.mousedown){if(this.lastTouch){var e=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(o.a.sub(e,this.lastTouch,e)):this.scroll(o.a.sub(e,e,this.lastTouch))}this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY),this.lastTime=Date.now()}}),!1)}onEndDrag(t,e){if(!(e<=0)){var n=o.a.len(t)/e;if(this.getOption("smooth")&&n>.3){var i=o.a.create();o.a.scale(i,t,n),this.getOption("reverse");var a=this;this.stop();var s=o.a.create(),r=function(){o.a.div(s,i,a.smoothCoeficent),o.a.sqrLen(s)>3?(o.a.sub(i,i,s),window.requestAnimationFrame(r),a.scroll(s)):a.scrolling=!1};this.timeout=window.requestAnimationFrame(r)}else this.scrolling=!1}}stop(){this.scrolling=!1}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(Math.ceil(this.content.clientWidth)),parseInt(Math.ceil(this.content.clientHeight))),this.view.setContentSize(parseInt(this.container.clientWidth),parseInt(Math.ceilthis.container.clientHeight))):(this.view.setViewSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight)),this.view.setContentSize(parseInt(Math.ceil(this.content.clientWidth)),parseInt(Math.ceil(this.content.clientHeight)))),this.checkIfScrollIsNeeded(),this.scrollbarV&&this.scrollbarV.resizeContent(this.view),this.scrollbarH&&this.scrollbarH.resizeContent(this.view)}reset(){this.setContentOffset([0,0])}checkIfScrollIsNeeded(){this.view.isContentLonger()?this.container.classList.add("sa-content-longer"):this.container.classList.remove("sa-content-longer"),this.view.isContentWider()?this.container.classList.add("sa-content-wider"):this.container.classList.remove("sa-content-wider")}chooseOptions(t,e){for(var n in e)t[n]&&(t[n]=e[n]);return t}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}this.container&&(this.content=this.container.firstElementChild)}getOption(t){return this.options[t]}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,o=this.events[e].length;i<o;i++)n=this.events[e][i],"function"==typeof n&&n.apply(this,t)}}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=o.a.clone(e.view.getContentPosition()),e.setContentOffset(t),e.scrollbarV.setContentPosition(e.view),e.scrollbarH.setContentPosition(e.view),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}smoothScroll(t,e){if(!(e<=0)){var n=o.a.create(),i=o.a.clone(t),a=e,s=Date.now(),r=0,c=this,u=function(){a=Date.now()-s,r=1-Math.pow(1-Math.min(1,a/e),3),o.a.scale(n,i,r),o.a.sub(i,i,n),a<e?(window.requestAnimationFrame(u),o.a.len(i)>0?c.scroll(n):c.scroll(o.a.sub(n,n,i))):(o.a.len(i)>0&&c.scroll(i),c.scrolling=!1)};this.timeout=window.requestAnimationFrame(u)}}setContentOffset(t){var e=-1;this.getOption("swapContainers")&&(e=1),this.content.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition()}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("sa-on-left"),0===t[1]&&e.push("sa-on-top"),1===Math.abs(t[0])&&e.push("sa-on-right"),1===Math.abs(t[1])&&e.push("sa-on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e)}scrollToSection(t,e,n,i){let a=o.a.mul(o.a.create(),this.view.getViewSize(),this.view.getContentViewRatio()),s=o.a.scale(o.a.create(),a,t);const r=i||1;0==e?s[1]=0:s[0]=0;let c=o.a.sub(o.a.create(),this.view.getContentPosition(),s);if(n){let t=o.a.len(c)*r;this.smoothScroll(c,t)}else this.scroll(c)}}}]).ScrollArea})),et=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"area",staticClass:"wf-component wf-scrollable"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"ScrollableArea",data:function(){return{scroll:null}},updated:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.resize()}))},mounted:function(){var t=this;this.$nextTick((function(){t.scroll||(t.scroll=new tt(t.$refs.area))}))},methods:{activate:function(){this.makeScroll()},reset:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.refresh()}))},scrollToSection:function(t,e,n,i){this.scroll.scrollToSection(t,e,n,i)}}},"data-v-2867b1d2",false,undefined,!1,void 0,void 0,void 0),nt=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],ref:"frames",staticClass:"wf-component wf-banner"},t._l(t.frames,(function(e,i){return n("div",{key:e.id,staticClass:"wf-frame",class:[{"wf-active":i==t.current},t.frameKeywords]},[t._l(e.containers,(function(i){return n("div",{key:i.id,staticClass:"wf-frame-container",class:[i.containerType],style:{left:i.left+"%",top:i.top+"%",width:i.width+"%",height:i.height+"%",backgroundImage:"url('"+i.url+"')"},on:{click:function(n){return t.onClick(e,i)}}},[t.isVideo(i)?n("video",{attrs:{width:"100%",height:"auto",src:i.url,muted:""},domProps:{muted:!0}}):t._e(),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:i.containerType.indexOf("qr")>-1&&null!=t.qr,expression:"container.containerType.indexOf('qr') > -1 && qr != null"}],staticClass:"wf-qr",class:[i.containerType],domProps:{innerHTML:t._s(t.qr)}})])})),t._v(" "),t._t("default",null,{frame:e})],2)})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-1fcb87ce_0",{source:".wf-banner[data-v-1fcb87ce]{position:relative;width:100%;height:100%}.wf-banner .wf-frame[data-v-1fcb87ce]{width:100%;height:100%;position:absolute;background-size:cover;background-position:50% 50%;background-repeat:no-repeat;left:0;top:0;opacity:0;transition:opacity .5s ease-in-out}.wf-banner .wf-frame .wf-frame-container[data-v-1fcb87ce]{background-size:cover;background-position:50% 50%;background-repeat:no-repeat}.wf-banner .wf-frame.wf-active[data-v-1fcb87ce]{opacity:1;transition:opacity .5s ease-in-out}.wf-banner .wf-frame video[data-v-1fcb87ce]{position:relative;top:50%;transform:translateY(-50%)}",map:void 0,media:void 0})}),{name:"Banner",props:{template:String,container:String,playOnBoot:{type:Boolean,default:!1},qrURL:{type:String,default:"https://3dwayfinder.com"}},computed:a({},j("wf",["banners"])),data:function(){return{frames:[],current:-1,timer:null,fadeDuration:500,backgroundColor:"#fff",visible:!1,qr:null,qrPos:"",displayQR:!1,frameKeywords:[],last:0}},watch:{banners:function(){var t=this,e=Date.now();this.template&&this.container&&this.banners["template-"+this.template]&&this.banners["template-"+this.template][this.container]&&(this.frames=this.banners["template-"+this.template][this.container].filter((function(n){var i=n.enabled;if(i&&n.from_date&&(i=i&&new Date(n.from_date).getTime()<=e),i&&n.to_date&&(i=i&&new Date(n.to_date).getTime()>=e),i)for(var o in n.containers)n.containers[o].url=t.getUrl(n.containers[o]);return i})),this.$emit("hasbanners",this.frames.length>0),this.playOnBoot&&this.$nextTick((function(){this.play()})))},qrURL:function(t){t&&""!==t&&this.renderQR()}},mounted:function(){this.renderQR()},methods:{visibilityChanged:function(t){this.visible=t,t?this.play():this.stop()},play:function(){var t=this;if(!(this.current>=this.frames.length)){this.frames.length>0&&this.next();var e=this.frames[this.current];if(null!=this.timer&&clearTimeout(this.timer),e&&(this.displayQR=!(!e||!e.keywords)&&e.keywords.join(",").indexOf("qr-")>-1,this.frameKeywords=e.keywords.map((function(t){return"keyword-"+t})),this.$refs.frames)){var n=this.$refs.frames.children[this.current];if(n){var i=n.querySelector("video");i&&i.readyState?setTimeout((function(){t.playVideo(i,e.duration)}),0):this.timer=setTimeout(this.play,e.duration)}else this.timer=setTimeout(this.play,e.duration)}}},playVideo:function(t,e){var n=this;t.pause(),t.currentTime=0,t.play().catch((function(i){clearTimeout(n.timer),setTimeout((function(){n.playVideo(t,e)}),300)})),this.timer=setTimeout(this.play,e)},stop:function(){this.timer&&clearTimeout(this.timer)},next:function(){this.current<this.frames.length-1?this.current++:this.current=0},onClick:function(t,e){this.$emit("clicked",t,e)},isImage:function(t){return!(t.type&&"video"===t.type.substr(0,5))},isVideo:function(t){return t.type&&"video"===t.type.substr(0,5)},getUrl:function(t){return WayfinderAPI.advertisements.data.url(t.advertisement_id)},renderQR:function(){var t=this.qrURL,e=require("qrcode-svg");e&&t&&(this.qr=new e({content:t,container:"svg-viewbox",padding:0}).svg())}}},"data-v-1fcb87ce",false,undefined,!1,f,void 0,void 0),it=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-page-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPages,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(page)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPage&&e.id==t.currentPage.id},on:{click:function(n){return t.onClick(e)}}},[n("i",{directives:[{name:"show",rawName:"v-show",value:t.showIcon,expression:"showIcon"}],staticClass:"wf-icon",domProps:{innerHTML:t._s(e.icon)}}),t._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:t.showName,expression:"showName"}]},[t._v(t._s(t.getName(e)))])])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-1a61779c_0",{source:".wf-list-item[data-v-1a61779c]{list-style:none}",map:void 0,media:void 0})}),{name:"PageMenu",props:{container:{type:String,default:"default"},showIcon:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},currentPage:{type:Object,default:null},sortAZ:{type:Boolean,default:!1}},data:function(){return{count:0}},computed:a(a({},j("wf",["pages","language"])),{},{sortedPages:function(){var t=this,e=[];return this.pages&&"object"==s(this.pages)&&this.pages[this.container]&&(e=Object.values(this.pages[this.container]).filter((function(t){return t&&t.visible})),e=this.sortAZ?e.sort((function(e,n){return t.getName(e)&&t.getName(n)?t.getName(e).localeCompare(t.getName(n)):0})):e.sort((function(t,e){return parseInt(t.order)-parseInt(e.order)}))),this.count=e.length,e}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t)}},getName:function(t){return t?t.name[this.language]:""}}},"data-v-1a61779c",false,undefined,!1,f,void 0,void 0),ot=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.page?n("div",{staticClass:"wf-page"},[n("div",{staticClass:"wf-page-icon",class:[t.page.icon?"wf-has-icon":""],domProps:{innerHTML:t._s(t.page.icon)}}),t._v(" "),t.showName?n("label",{staticClass:"wf-page-name",domProps:{innerHTML:t._s(t.pageName||"")}}):t._e(),t._v(" "),n("div",{staticClass:"wf-page-content"},t._l(t.page.items,(function(e,i){return n("div",{key:e.id,class:["wf-page-item-"+i]},[n(t.itemType(e),{tag:"component",attrs:{item:e}})],1)})),0)]):t._e()},staticRenderFns:[]},undefined,{name:"Page",components:{PageHTML:h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.item?n("div",{staticClass:"wf-page-item"},[n("div",{domProps:{innerHTML:t._s(t.item.value[t.language])}})]):t._e()},staticRenderFns:[]},undefined,{name:"html",computed:a({},j("wf",["language"])),props:{item:{type:Object,default:null}}},"data-v-04c2d772",false,undefined,!1,void 0,void 0,void 0)},computed:a(a({},j("wf",["language","pages"])),{},{pageName:function(){return this.page&&this.page.name?this.page.name[this.language]:""}}),props:{container:{type:String,default:"default"},index:{type:Number,default:-1},slug:{type:String,default:null},showName:{type:Boolean,default:!0},playAll:{type:Boolean,default:!1},duration:{type:Number,default:30}},mounted:function(){this.updatePage()},watch:{pages:function(){this.updatePage()},index:function(){this.index>=1&&(this.currentIndex=this.index,this.updatePage())},slug:function(){this.updatePage()}},methods:{updatePage:function(){var t;if(this.pages&&this.pages[this.container])if(console.log("updatePage1",this.page,this.container,this.currentIndex,this.slug),null!=this.slug){for(var e in this.pages[this.container])if((t=this.pages[this.container][e]).slug.toLowerCase()==this.slug.toLowerCase()){console.log("updatePage2",this.page,this.container,this.currentIndex,this.slug),this.page=t;break}}else this.currentIndex>-1&&this.pages[this.container][this.currentIndex]&&(this.page=this.pages[this.container][this.currentIndex])},itemType:function(t){return this.page?"Page"+t.type.toUpperCase():""}},data:function(){return{currentIndex:1,page:null}}},"data-v-168fdeaf",false,undefined,!1,void 0,void 0,void 0),at=h({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-browser"},[n("iframe",{attrs:{src:t.currentSRC}})])},staticRenderFns:[]},(function(t){t&&t("data-v-6f07be40_0",{source:".wf-browser,.wf-browser iframe{width:100%;height:100%;border:none}",map:void 0,media:void 0})}),{name:"MapFloors",props:{src:{type:String,default:""}},computed:a({},j("wf",["reset"])),data:function(){return{currentSRC:""}},mounted:function(){this.currentSRC=this.src},watch:{reset:function(t){this.currentSRC=this.src+"?t="+Date.now()}}},undefined,false,undefined,!1,f,void 0,void 0),st=Object.freeze({__proto__:null,WFMap:m,WFAZMenu:z,WFFlagsMenu:D,WFLanguagesMenu:A,WFGroupsMenu:$,WFGroupPOIsMenu:R,WFBuildingLogo:B,WFShortcutsMenu:G,WFZoomMenu:V,WFFloorsMenu:Y,WFFilteredMenu:U,WFSearch:X,WFTabs:Q,WFTab:K,WFTabButtons:J,WFScrollableArea:et,WFBanner:nt,WFPageMenu:it,WFPOI:F,WFPage:ot,WFYAH:W,WFBrowser:at}),rt={namespaced:!0,state:{floors:[],pois:[],poiGroups:[],loaded:!1,language:"en",languages:[],shortcuts:[],filteredPOIs:[],currentFloor:null,building:null,yahLogo:"",banners:null,landscape:!1,mobile:!1,maxInActivity:30,reset:0,pages:{}},getters:{xLanguage:function(t,e){return void 0!==i.default.prototype.$wayfinder&&(t.language=i.default.prototype.$wayfinder.getLanguage()),t.language},xFloors:function(t){return void 0!==i.default.prototype.$wayfinder&&i.default.prototype.$wayfinder.building&&(t.floors=Object.freeze(Object.assign({},i.default.prototype.$wayfinder.building.getSortedFloors()))),t.floors},xLanguages:function(t){return void 0!==i.default.prototype.$wayfinder&&(t.languages=Object.freeze(Object.values(i.default.prototype.$wayfinder.getLanguages()).reverse())),t.languages},xShortcuts:function(t){if(void 0!==i.default.prototype.$wayfinder){var e=i.default.prototype.$wayfinder.getPOIGroups(),n=[];Object.keys(e).forEach((function(t){parseInt(e[t].showInTopMenu)&&n.push(Object.freeze(e[t]))})),n=(n=n.slice(0,6)).sort((function(t,e){return-(t.order-e.order)})),t.shortcuts=n}return t.shortcuts},xBuilding:function(t){if("undefined"!==i.default.prototype.$wayfinder){var e=Object.assign({},i.default.prototype.$wayfinder.building);t.building=Object.freeze(e)}return t.building},xYahLogo:function(t){void 0!==i.default.prototype.$wayfinder&&(t.yahLogo="url("+WayfinderAPI.getURL("images","get",i.default.prototype.$wayfinder.settings.getInt("kiosk.you-are-here-image",0))+")")},xPOIs:function(t){void 0!==i.default.prototype.$wayfinder&&(t.pois=Object.freeze(i.default.prototype.$wayfinder.poisArray.slice()))},xTopics:function(t){void 0!==i.default.prototype.$wayfinder&&(t.poiGroups=Object.freeze(Object.assign({},i.default.prototype.$wayfinder.poiGroups)))},xBanners:function(t){void 0!==i.default.prototype.$wayfinder&&(t.banners=Object.assign({},i.default.prototype.$wayfinder.getFilteredAdvertisements()))}},mutations:{SET_POI:function(t,e){t.currentPOI=e},SET_TAB:function(t,e){t.currentTab=e},SET_GROUP:function(t,e){t.currentGroup=e},SET_SHOW_SEARCH:function(t,e){t.searchVisible=e},SET_NEW_RESET:function(t){t.reset=t.reset+1,t.currentPOI=!1,t.currentGroup=!1},SET_LANDSCAPE:function(t,e){t.landscape=e},SET_MOBILE:function(t,e){t.mobile=e},SET_INACTIVITY_TIME:function(t,e){t.maxInActivity=e},SET_CURRENT_FLOOR:function(t,e){t.currentFloor=e},SET_FILTERED_POIS:function(t,e){t.filteredPOIs=e},SET_PAGES:function(t,e){console.log("SET_PAGES",e),t.pages=e},RESET:function(t,e){t.reset=Date.now()}},actions:{SET_CURRENT_POI:function(t,e){t.commit("SET_POI",Object.freeze(e))},SET_CURRENT_TAB:function(t,e){t.commit("SET_TAB",e)},SET_CURRENT_GROUP:function(t,e){t.commit("SET_GROUP",Object.freeze(e))},SHOW_SEARCH:function(t,e){t.commit("SET_SHOW_SEARCH",e)},SET_RESET:function(t){t.commit("SET_NEW_RESET")},SET_LANDSCAPE:function(t,e){t.commit("SET_LANDSCAPE",e)},SET_INACTIVITY_TIME:function(t,e){t.commit("SET_INACTIVITY_TIME",e)},SET_MOBILE:function(t,e){t.commit("SET_MOBILE",e)},SET_CURRENT_FLOOR:function(t,e){t.commit("SET_CURRENT_FLOOR",Object.freeze(e))},SET_FILTERED_POIS:function(t,e){t.commit("SET_FILTERED_POIS",Object.freeze(e))},LOAD_PAGES:function(t){Logistics.getJSON(WayfinderAPI.getURL("pages","getAll",[]),null,(function(e){console.log("data",e.data),e&&e.data&&t.commit("SET_PAGES",Object.freeze(e.data))}))},RESET:function(t){t.commit("RESET")}}},ct={init:function(t){t.registerModule("wf",rt),Z=t},loadPages:function(){Z.dispatch("wf/LOAD_PAGES")}},ut=function(t,e){ct.init(e),t.prototype.$wayfinderApp=ct,Object.entries(st).forEach((function(e){var n=c(e,2),i=n[0],o=n[1];t.component(i,o)}))},lt=Object.freeze({__proto__:null,default:ut,WFMap:m,WFAZMenu:z,WFFlagsMenu:D,WFLanguagesMenu:A,WFGroupsMenu:$,WFGroupPOIsMenu:R,WFBuildingLogo:B,WFShortcutsMenu:G,WFZoomMenu:V,WFFloorsMenu:Y,WFFilteredMenu:U,WFSearch:X,WFTabs:Q,WFTab:K,WFTabButtons:J,WFScrollableArea:et,WFBanner:nt,WFPageMenu:it,WFPOI:F,WFPage:ot,WFYAH:W,WFBrowser:at});return Object.entries(lt).forEach((function(t){var e=c(t,2),n=e[0],i=e[1];"default"!==n&&(ut[n]=i)})),ut}(Vue);
@@ -3207,7 +3207,7 @@ var __vue_component__$6 = /*#__PURE__*/normalizeComponent({
3207
3207
  render: __vue_render__$6,
3208
3208
  staticRenderFns: __vue_staticRenderFns__$6
3209
3209
  }, __vue_inject_styles__$6, __vue_script__$6, __vue_scope_id__$6, __vue_is_functional_template__$6, __vue_module_identifier__$6, false, undefined, createInjectorSSR, undefined);var scrollarea_common = createCommonjsModule(function (module) {
3210
- module.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var s=e[n]={i:n,l:!1,exports:{}};return t[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}return i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n});},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0});},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var s in t)i.d(n,s,function(e){return t[e]}.bind(null,s));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1)}([function(t,e){t.exports={create:function(){return [0,0]},clone:function(t){var e=new Array(2);return e[0]=t[0],e[1]=t[1],e},fromValues:function(t,e){var i=new Array(2);return i[0]=t,i[1]=e,i},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},set:function(t,e,i){return t[0]=e,t[1]=i,t},add:function(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t},sub:function(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t},mul:function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},div:function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},min:function(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t},max:function(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t},scale:function(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t},dist:function(t,e){var i=e[0]-t[0],n=e[1]-t[1];return Math.sqrt(i*i+n*n)},sqrDist:function(t,e){var i=e[0]-t[0],n=e[1]-t[1];return i*i+n*n},len:function(t){var e=t[0],i=t[1];return Math.sqrt(e*e+i*i)},length:function(t){var e=t[0],i=t[1];return Math.sqrt(e*e+i*i)},sqrLen:function(t){var e=t[0],i=t[1];return e*e+i*i},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var i=e[0],n=e[1],s=i*i+n*n;return s>0&&(s=1/Math.sqrt(s),t[0]=e[0]*s,t[1]=e[1]*s),t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},cross:function(t,e,i){var n=e[0]*i[1]-e[1]*i[0];return t[0]=t[1]=0,t[2]=n,t},lerp:function(t,e,i,n){var s=e[0],o=e[1];return t[0]=s+n*(i[0]-s),t[1]=o+n*(i[1]-o),t},transformMat2:function(t,e,i){var n=e[0],s=e[1];return t[0]=n*i[0]+s*i[1],t[1]=n*i[2]+s*i[3],t},str:function(t){return "this("+t[0]+", "+t[1]+")"}};},function(t,e,i){i.r(e),i.d(e,"ScrollArea",(function(){return a}));var n=i(0),s=i.n(n);class o{constructor(t,e){this.position=s.a.create(),this.contentSize=t,this.viewSize=e,this.contentViewRatio=s.a.div(s.a.create(),this.getViewSize(),this.getContentSize()),this._maxPosition=s.a.create(),this._minPosition=s.a.create(),this._vec2cache=s.a.create();}getViewPosition(){return this.position}getContentPosition(){return this.position}clampPosition(){s.a.max(this._maxPosition,this.getViewSize(),this.getContentSize()),s.a.min(this._minPosition,this.getViewSize(),this.getContentSize()),s.a.sub(this._maxPosition,this._maxPosition,this._minPosition),this.position=this.clamp(this.position,s.a.create(),this._maxPosition);}setViewPosition(t){!isNaN(parseFloat(t[0]))&&isFinite(t[0])&&!isNaN(parseFloat(t[1]))&&isFinite(t[1])&&(this.position=t,this.clampPosition());}move(t){t&&this.setViewPosition(s.a.sub(t,this.getViewPosition(),t));}setViewSize(t,e){s.a.set(this.viewSize,t,e),s.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition();}setContentSize(t,e){s.a.set(this.contentSize,t,e),s.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition();}isContentLonger(){return this.viewSize[1]<this.contentSize[1]}isContentWider(){return this.viewSize[0]<this.contentSize[0]}getContentSize(){return this.contentSize}getViewSize(){return this.viewSize}clamp(t,e,i){var n=s.a.clone(t);return s.a.max(n,n,e),s.a.min(n,n,i),n}getPercentagePosition(){return s.a.div(s.a.create(),this.position,this.viewSize)}getRelativePosition(){return s.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize()),0!==s.a.len(this._vec2cache)&&s.a.div(this._vec2cache,this.getViewPosition(),s.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize())),this._vec2cache}getContentViewRatio(){return this.contentViewRatio}}class r{constructor(t,e){this.options=e||{},this.vertical="vertical"==this.getOption("direction"),this.position=0,this.mouseDelta=s.a.create(),this.onScroll=!1,this.parentElement=t,this.element=document.createElement("div"),this.element.classList.add("sa-scrollbar"),this.element.classList.add("sa-scrollbar-position-"+this.getOption("scollbarPosition")),this.element.style.position="absolute",this.element.style.right="0",this.element.style.top="0",this.element.style.bottom="0",this.bar=document.createElement("div"),this.bar.style.minWidth="1px",this.bar.classList.add("sa-bar"),this.element.appendChild(this.bar),t.appendChild(this.element),this.view=new o(s.a.fromValues(this.bar.clientWidth,this.bar.clientHeight),s.a.fromValues(this.element.clientWidth,this.element.clientHeight));}getOption(t){return this.options[t]}attachEvents(t){t.addEventListener("mousedown",t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault();}),window.addEventListener("mousemove",t=>{if(this.mousedown){var e=s.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e);}}),window.addEventListener("mouseup",t=>{this.mousedown=!1;}),t.addEventListener("touchstart",t=>{t.touches&&t.touches.length>0&&(this.lastTouch=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY));},!1),window.addEventListener("touchend",t=>{this.lastTouch=null;},!1),window.addEventListener("touchcancel",t=>{this.lastTouch=null;},!1),window.addEventListener("touchmove",t=>{if(t.touches&&t.touches.length>0){if(this.lastTouch){var e=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(s.a.sub(e,this.lastTouch,e)):this.scroll(s.a.sub(e,e,this.lastTouch));}this.lastTouch=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);}},!1);}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=s.a.clone(e.view.getContentPosition()),e.setPosition(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me);}));}setPosition(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.bar.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1;}clear(){this.position=0,this.setPosition(0);}getBarLength(){return this.vertical?parseInt(this.bar.clientHeight):parseInt(this.bar.clientWidth)}getViewLength(){return this.vertical?this.view.getViewSize()[1]:this.view.getViewSize()[0]}getContentLength(){return this.vertical?this.view.getContentSize()[1]:this.view.getContentSize()[0]}setContentPosition(t){var e=s.a.create(),i=t.getContentViewRatio()[1];s.a.scale(e,t.getContentPosition(),i),this.view.setViewPosition(e),this.setPosition(this.view.getContentPosition());}getPercentage(){return s.a.len(this.view.getViewPosition())/this.getViewLength()}resizeContent(t){t?(this.vertical?(this.bar.style.height=Math.floor(t.getViewSize()[1]*t.getContentViewRatio()[1])+"px",this.element.style.height=t.getViewSize()[1]+"px"):(this.bar.style.width=Math.floor(t.getViewSize()[0]*t.getContentViewRatio()[0])+"px",this.element.style.width=t.getViewSize()[0]+"px"),this.resize()):console.warn("View undefined");}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)),this.view.setContentSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight))):(this.view.setViewSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)),this.view.setContentSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)));}}class a{constructor(t,e,i){this.container=null,this.content=null,this.options={smooth:!0,reverse:!1,swapContainers:!1,updateInterval:10,wheelSpeed:50,scollbarPosition:"right",direction:"vertical"},void 0!==i&&i&&(this.options=this.chooseOptions(this.options,i)),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=s.a.create(),this.lastTime=0,this.smoothDistance=null,this.timeout=null,this.smoothCoeficent=s.a.fromValues(11,11),this.positionClassNames=["sa-on-left","sa-on-right","sa-on-top","sa-on-bottom"],this.mousedown=!1,this.touchstart=!1,this._vec2cache=s.a.create();this.container;if(this.getOption("swapContainers")?this.view=new o(s.a.fromValues(this.container.clientWidth,this.container.clientHeight),s.a.fromValues(this.content.clientWidth,this.content.clientHeight)):(this.content,this.view=new o(s.a.fromValues(this.content.clientWidth,this.content.clientHeight),s.a.fromValues(this.container.clientWidth,this.container.clientHeight))),this.container.style.position="relative",this.container.style.overflow="hidden",this.container.style.overflow="hidden",this.container.style.userSelect="none",this.attachEvents(this.container),this.scrollbar=new r(this.container,this.options),"undefined"!=typeof ResizeObserver&&this.content){var n=this;this.resizeObserver=new ResizeObserver((function(){n.resize();})),this.resizeObserver.observe(this.content);}}attachEvents(t){t.addEventListener("mousewheel",t=>{var e=0;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?t.wheelDelta<0||t.wheelDelta>0?1:-1:t.deltaY>0||t.deltaY<0?1:-1,this.scroll(s.a.fromValues(0,this.getOption("wheelSpeed")*e));}),t.addEventListener("mousedown",t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault();}),window.addEventListener("mousemove",t=>{if(this.mousedown){var e=s.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e);}}),window.addEventListener("mouseup",t=>{this.mousedown=!1;}),t.addEventListener("touchstart",t=>{t.touches&&t.touches.length>0&&(this.mousedown=!0,this.lastTouch=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY));},!1),window.addEventListener("touchend",t=>{this.lastTouch=null,this.mousedown=!1;},!1),window.addEventListener("touchcancel",t=>{this.lastTouch=null,this.mousedown=!1;},!1),window.addEventListener("touchmove",t=>{if(t.touches&&t.touches.length>0&&this.mousedown){if(this.lastTouch){var e=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(s.a.sub(e,this.lastTouch,e)):this.scroll(s.a.sub(e,e,this.lastTouch));}this.lastTouch=s.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);}},!1);}onEndDrag(t,e){var i=s.a.div(0,Math.abs(event.velocity));if(this.getOption("smooth")&&sqrLen(i)>.3){var n=fromValues(event.deltaX,event.deltaY),o=s.a.create();s.a.multiply(o,n,i),this.getOption("reverse");var r=this;this.stop();var a=create(),h=function(){div(a,o,r.smoothCoeficent),sqrLen(a)>3?(sub(o,o,a),requestAnimFrame(h,r.getOption("updateInterval")),negate(a,a),r.scroll(a)):r.scrolling=!1;};this.timeout=requestAnimFrame(h,r.updateInterval);}else this.scrolling=!1;}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.content.clientWidth),parseInt(this.content.clientHeight)),this.view.setContentSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight))):(this.view.setViewSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight)),this.view.setContentSize(parseInt(this.content.clientWidth),parseInt(this.content.clientHeight))),this.checkIfScrollIsNeeded(),this.scrollbar&&this.scrollbar.resizeContent(this.view);}reset(){this.setContentOffset([0,0]);}checkIfScrollIsNeeded(){this.view.isContentLonger()?this.container.classList.add("sa-content-longer"):this.container.classList.remove("sa-content-longer"),this.view.isContentWider()?this.container.classList.add("sa-content-wider"):this.container.classList.remove("sa-content-wider");}chooseOptions(t,e){for(var i in e)t[i]&&(t[i]=e[i]);return t}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t;}this.container&&(this.content=this.container.firstElementChild);}getOption(t){return this.options[t]}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e);}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let i;for(let n=0,s=this.events[e].length;n<s;n++)i=this.events[e][n],"function"==typeof i&&i.apply(this,t);}}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=s.a.clone(e.view.getContentPosition()),e.setContentOffset(t),e.scrollbar.setContentPosition(e.view),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me);}));}setContentOffset(t){var e=-1;this.getOption("swapContainers")&&(e=1),this.content.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition();}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("sa-on-left"),0===t[1]&&e.push("sa-on-top"),1===Math.abs(t[0])&&e.push("sa-on-right"),1===Math.abs(t[1])&&e.push("sa-on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e);}}}]).ScrollArea;
3210
+ module.exports=function(t){var e={};function i(s){if(e[s])return e[s].exports;var n=e[s]={i:s,l:!1,exports:{}};return t[s].call(n.exports,n,n.exports,i),n.l=!0,n.exports}return i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s});},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0});},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(s,n,function(e){return t[e]}.bind(null,n));return s},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=1)}([function(t,e){t.exports={create:function(){return [0,0]},clone:function(t){var e=new Array(2);return e[0]=t[0],e[1]=t[1],e},fromValues:function(t,e){var i=new Array(2);return i[0]=t,i[1]=e,i},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},set:function(t,e,i){return t[0]=e,t[1]=i,t},add:function(t,e,i){return t[0]=e[0]+i[0],t[1]=e[1]+i[1],t},sub:function(t,e,i){return t[0]=e[0]-i[0],t[1]=e[1]-i[1],t},mul:function(t,e,i){return t[0]=e[0]*i[0],t[1]=e[1]*i[1],t},div:function(t,e,i){return t[0]=e[0]/i[0],t[1]=e[1]/i[1],t},min:function(t,e,i){return t[0]=Math.min(e[0],i[0]),t[1]=Math.min(e[1],i[1]),t},max:function(t,e,i){return t[0]=Math.max(e[0],i[0]),t[1]=Math.max(e[1],i[1]),t},scale:function(t,e,i){return t[0]=e[0]*i,t[1]=e[1]*i,t},dist:function(t,e){var i=e[0]-t[0],s=e[1]-t[1];return Math.sqrt(i*i+s*s)},sqrDist:function(t,e){var i=e[0]-t[0],s=e[1]-t[1];return i*i+s*s},len:function(t){var e=t[0],i=t[1];return Math.sqrt(e*e+i*i)},length:function(t){var e=t[0],i=t[1];return Math.sqrt(e*e+i*i)},sqrLen:function(t){var e=t[0],i=t[1];return e*e+i*i},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var i=e[0],s=e[1],n=i*i+s*s;return n>0&&(n=1/Math.sqrt(n),t[0]=e[0]*n,t[1]=e[1]*n),t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},cross:function(t,e,i){var s=e[0]*i[1]-e[1]*i[0];return t[0]=t[1]=0,t[2]=s,t},lerp:function(t,e,i,s){var n=e[0],o=e[1];return t[0]=n+s*(i[0]-n),t[1]=o+s*(i[1]-o),t},transformMat2:function(t,e,i){var s=e[0],n=e[1];return t[0]=s*i[0]+n*i[1],t[1]=s*i[2]+n*i[3],t},str:function(t){return "this("+t[0]+", "+t[1]+")"}};},function(t,e,i){i.r(e),i.d(e,"ScrollArea",(function(){return r}));var s=i(0),n=i.n(s);class o{constructor(t,e){this.position=n.a.create(),this.contentSize=t,this.viewSize=e,this.contentViewRatio=n.a.div(n.a.create(),this.getViewSize(),this.getContentSize()),this._maxPosition=n.a.create(),this._minPosition=n.a.create(),this._vec2cache=n.a.create();}getViewPosition(){return this.position}getContentPosition(){return this.position}clampPosition(){n.a.max(this._maxPosition,this.getViewSize(),this.getContentSize()),n.a.min(this._minPosition,this.getViewSize(),this.getContentSize()),n.a.sub(this._maxPosition,this._maxPosition,this._minPosition),this.getContentSize()[0]<=this.getViewSize()[0]&&(this._maxPosition[0]=0),this.getContentSize()[1]<=this.getViewSize()[1]&&(this._maxPosition[1]=0),this.position=this.clamp(this.position,n.a.create(),this._maxPosition);}setViewPosition(t){!isNaN(parseFloat(t[0]))&&isFinite(t[0])&&!isNaN(parseFloat(t[1]))&&isFinite(t[1])&&(this.position=t,this.clampPosition());}move(t){t&&this.setViewPosition(n.a.sub(t,this.getViewPosition(),t));}setViewSize(t,e){n.a.set(this.viewSize,t,e),n.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition();}setContentSize(t,e){n.a.set(this.contentSize,t,e),n.a.div(this.contentViewRatio,this.getViewSize(),this.getContentSize()),this.clampPosition();}isContentLonger(){return this.viewSize[1]<this.contentSize[1]}isContentWider(){return this.viewSize[0]<this.contentSize[0]}getContentSize(){return this.contentSize}getViewSize(){return this.viewSize}clamp(t,e,i){var s=n.a.clone(t);return n.a.max(s,s,e),n.a.min(s,s,i),s}getPercentagePosition(){return n.a.div(n.a.create(),this.position,this.viewSize)}getRelativePosition(){return n.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize()),0!==n.a.len(this._vec2cache)&&n.a.div(this._vec2cache,this.getViewPosition(),n.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize())),this._vec2cache}getContentViewRatio(){return this.contentViewRatio}}class a{constructor(t,e){this.options=e||{},this.vertical="vertical"==this.getOption("direction"),this.position=0,this.mouseDelta=n.a.create(),this.onScroll=!1,this.parentElement=t,this.element=document.createElement("div"),this.element.classList.add("sa-scrollbar"),this.element.classList.add("sa-scrollbar-position-"+this.getOption("scollbarPosition")),this.element.style.position="absolute",this.element.style.right="0",this.element.style.bottom="0",this.vertical?this.element.style.top="0":this.element.style.left="0",this.bar=document.createElement("div"),this.bar.style.minWidth="1px",this.bar.classList.add("sa-bar"),this.element.appendChild(this.bar),t.appendChild(this.element),this.view=new o(n.a.fromValues(this.element.clientWidth,this.element.clientHeight),n.a.fromValues(this.bar.clientWidth,this.bar.clientHeight));}getOption(t){return this.options[t]}attachEvents(t){t.addEventListener("mousedown",t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault();}),window.addEventListener("mousemove",t=>{if(this.mousedown){var e=n.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e);}}),window.addEventListener("mouseup",t=>{this.mousedown=!1;}),t.addEventListener("touchstart",t=>{t.touches&&t.touches.length>0&&(this.lastTouch=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY));},!1),window.addEventListener("touchend",t=>{this.lastTouch=null;},!1),window.addEventListener("touchcancel",t=>{this.lastTouch=null;},!1),window.addEventListener("touchmove",t=>{if(t.touches&&t.touches.length>0){if(this.lastTouch){var e=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(n.a.sub(e,this.lastTouch,e)):this.scroll(n.a.sub(e,e,this.lastTouch));}this.lastTouch=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);}},!1);}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=n.a.clone(e.view.getContentPosition()),e.setPosition(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me);}));}setPosition(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.bar.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1;}clear(){this.position=0,this.setPosition(0);}getBarLength(){return this.vertical?parseInt(Math.ceil(this.bar.clientHeight)):parseInt(Math.ceil(this.bar.clientWidth))}getViewLength(){return this.vertical?this.view.getViewSize()[1]:this.view.getViewSize()[0]}getContentLength(){return this.vertical?this.view.getContentSize()[1]:this.view.getContentSize()[0]}setContentPosition(t){var e=n.a.create(),i=t.getContentViewRatio()[this.vertical?1:0];n.a.scale(e,t.getContentPosition(),i),this.view.setViewPosition(e),this.setPosition(this.view.getContentPosition());}getPercentage(){return n.a.len(this.view.getViewPosition())/this.getViewLength()}resizeContent(t){t?(this.vertical?(this.bar.style.height=Math.floor(t.getViewSize()[1]*t.getContentViewRatio()[1])+"px",this.element.style.height=t.getViewSize()[1]+"px",this.element.style.visibility=t.isContentLonger()?"visible":"hidden"):(this.bar.style.width=Math.floor(t.getViewSize()[0]*t.getContentViewRatio()[0])+"px",this.element.style.width=t.getViewSize()[0]+"px",this.element.style.visibility=t.isContentWider()?"visible":"hidden"),this.resize()):console.warn("View undefined");}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)),this.view.setContentSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight))):(this.view.setViewSize(parseInt(this.bar.clientWidth),parseInt(this.bar.clientHeight)),this.view.setContentSize(parseInt(this.element.clientWidth),parseInt(this.element.clientHeight)));}}class r{constructor(t,e,i){this.container=null,this.content=null,this.options={smooth:!0,reverse:!1,swapContainers:!1,updateInterval:10,wheelSpeed:50,scollbarPosition:"right",direction:"vertical"},void 0!==i&&i&&(this.options=this.chooseOptions(this.options,i)),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=n.a.create(),this.lastTime=0,this.smoothDistance=null,this.timeout=null,this.smoothCoeficent=n.a.fromValues(11,11),this.positionClassNames=["sa-on-left","sa-on-right","sa-on-top","sa-on-bottom"],this.mousedown=!1,this.touchstart=!1,this._vec2cache=n.a.create();this.container;if(this.getOption("swapContainers")?this.view=new o(n.a.fromValues(this.container.clientWidth,this.container.clientHeight),n.a.fromValues(this.content.clientWidth,this.content.clientHeight)):(this.content,this.view=new o(n.a.fromValues(this.content.clientWidth,this.content.clientHeight),n.a.fromValues(this.container.clientWidth,this.container.clientHeight))),this.container.style.position="relative",this.container.style.overflow="hidden",this.container.style.userSelect="none",this.attachEvents(this.container),this.scrollbarV=new a(this.container,{direction:"vertical",scollbarPosition:"right",reverse:this.options.reverse,swapContainers:this.options.swapContainers}),this.scrollbarH=new a(this.container,{direction:"horizontal",scollbarPosition:"bottom",reverse:this.options.reverse}),"undefined"!=typeof ResizeObserver&&this.content){var s=this;this.resizeObserver=new ResizeObserver((function(){s.resize();})),this.resizeObserver.observe(this.content);}}attachEvents(t){t.addEventListener("mousewheel",t=>{var e=0;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?t.wheelDelta<0||t.wheelDelta>0?1:-1:t.deltaY>0||t.deltaY<0?1:-1,this.scroll(n.a.fromValues(0,this.getOption("wheelSpeed")*e));}),t.addEventListener("mousedown",t=>{this.mousedown=!0,this.lastTime=Date.now(),t.stopPropagation(),t.preventDefault();}),window.addEventListener("mousemove",t=>{if(this.mousedown){var e=n.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e);}}),window.addEventListener("mouseup",t=>{this.onEndDrag(this.deltaMove,Date.now()-this.lastTime),this.mousedown=!1;}),t.addEventListener("touchstart",t=>{t.touches&&t.touches.length>0&&(this.mousedown=!0,this.lastTouch=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY),this.lastTime=Date.now());},!1),window.addEventListener("touchend",t=>{this.onEndDrag(n.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1;},!1),window.addEventListener("touchcancel",t=>{this.onEndDrag(n.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1;},!1),window.addEventListener("touchmove",t=>{if(t.touches&&t.touches.length>0&&this.mousedown){if(this.lastTouch){var e=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(n.a.sub(e,this.lastTouch,e)):this.scroll(n.a.sub(e,e,this.lastTouch));}this.lastTouch=n.a.fromValues(t.touches[0].screenX,t.touches[0].screenY),this.lastTime=Date.now();}},!1);}onEndDrag(t,e){if(!(e<=0)){var i=n.a.len(t)/e;if(this.getOption("smooth")&&i>.3){var s=n.a.create();n.a.scale(s,t,i),this.getOption("reverse");var o=this;this.stop();var a=n.a.create(),r=function(){n.a.div(a,s,o.smoothCoeficent),n.a.sqrLen(a)>3?(n.a.sub(s,s,a),window.requestAnimationFrame(r),o.scroll(a)):o.scrolling=!1;};this.timeout=window.requestAnimationFrame(r);}else this.scrolling=!1;}}stop(){this.scrolling=!1;}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(Math.ceil(this.content.clientWidth)),parseInt(Math.ceil(this.content.clientHeight))),this.view.setContentSize(parseInt(this.container.clientWidth),parseInt(Math.ceilthis.container.clientHeight))):(this.view.setViewSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight)),this.view.setContentSize(parseInt(Math.ceil(this.content.clientWidth)),parseInt(Math.ceil(this.content.clientHeight)))),this.checkIfScrollIsNeeded(),this.scrollbarV&&this.scrollbarV.resizeContent(this.view),this.scrollbarH&&this.scrollbarH.resizeContent(this.view);}reset(){this.setContentOffset([0,0]);}checkIfScrollIsNeeded(){this.view.isContentLonger()?this.container.classList.add("sa-content-longer"):this.container.classList.remove("sa-content-longer"),this.view.isContentWider()?this.container.classList.add("sa-content-wider"):this.container.classList.remove("sa-content-wider");}chooseOptions(t,e){for(var i in e)t[i]&&(t[i]=e[i]);return t}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t;}this.container&&(this.content=this.container.firstElementChild);}getOption(t){return this.options[t]}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e);}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let i;for(let s=0,n=this.events[e].length;s<n;s++)i=this.events[e][s],"function"==typeof i&&i.apply(this,t);}}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=n.a.clone(e.view.getContentPosition()),e.setContentOffset(t),e.scrollbarV.setContentPosition(e.view),e.scrollbarH.setContentPosition(e.view),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me);}));}smoothScroll(t,e){if(!(e<=0)){var i=n.a.create(),s=n.a.clone(t),o=e,a=Date.now(),r=0,h=this,l=function(){o=Date.now()-a,r=1-Math.pow(1-Math.min(1,o/e),3),n.a.scale(i,s,r),n.a.sub(s,s,i),o<e?(window.requestAnimationFrame(l),n.a.len(s)>0?h.scroll(i):h.scroll(n.a.sub(i,i,s))):(n.a.len(s)>0&&h.scroll(s),h.scrolling=!1);};this.timeout=window.requestAnimationFrame(l);}}setContentOffset(t){var e=-1;this.getOption("swapContainers")&&(e=1),this.content.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition();}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("sa-on-left"),0===t[1]&&e.push("sa-on-top"),1===Math.abs(t[0])&&e.push("sa-on-right"),1===Math.abs(t[1])&&e.push("sa-on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e);}scrollToSection(t,e,i,s){let o=n.a.mul(n.a.create(),this.view.getViewSize(),this.view.getContentViewRatio()),a=n.a.scale(n.a.create(),o,t);const r=s||1;0==e?a[1]=0:a[0]=0;let h=n.a.sub(n.a.create(),this.view.getContentPosition(),a);if(i){let t=n.a.len(h)*r;this.smoothScroll(h,t);}else this.scroll(h);}}}]).ScrollArea;
3211
3211
  });//
3212
3212
  var script$5 = {
3213
3213
  name: 'ScrollableArea',
@@ -3246,6 +3246,9 @@ var script$5 = {
3246
3246
  _this3.scroll.refresh();
3247
3247
  }
3248
3248
  });
3249
+ },
3250
+ scrollToSection: function scrollToSection(index, direction, animate, animSpeed) {
3251
+ this.scroll.scrollToSection(index, direction, animate, animSpeed);
3249
3252
  }
3250
3253
  }
3251
3254
  };/* script */
@@ -3271,10 +3274,10 @@ var __vue_staticRenderFns__$5 = [];
3271
3274
  var __vue_inject_styles__$5 = undefined;
3272
3275
  /* scoped */
3273
3276
 
3274
- var __vue_scope_id__$5 = "data-v-21e68d18";
3277
+ var __vue_scope_id__$5 = "data-v-2867b1d2";
3275
3278
  /* module identifier */
3276
3279
 
3277
- var __vue_module_identifier__$5 = "data-v-21e68d18";
3280
+ var __vue_module_identifier__$5 = "data-v-2867b1d2";
3278
3281
  /* functional template */
3279
3282
 
3280
3283
  var __vue_is_functional_template__$5 = false;
@@ -3551,6 +3554,10 @@ var __vue_component__$4 = /*#__PURE__*/normalizeComponent({
3551
3554
  currentPage: {
3552
3555
  type: Object,
3553
3556
  default: null
3557
+ },
3558
+ sortAZ: {
3559
+ type: Boolean,
3560
+ default: false
3554
3561
  }
3555
3562
  },
3556
3563
  data: function data() {
@@ -3569,13 +3576,19 @@ var __vue_component__$4 = /*#__PURE__*/normalizeComponent({
3569
3576
  return page && page.visible;
3570
3577
  }); // Copy and filter array
3571
3578
 
3572
- arr = arr.sort(function (a, b) {
3573
- if (_this.getName(a) && _this.getName(b)) {
3574
- return _this.getName(a).localeCompare(_this.getName(b));
3575
- } else {
3576
- return 0;
3577
- }
3578
- });
3579
+ if (this.sortAZ) {
3580
+ arr = arr.sort(function (a, b) {
3581
+ if (_this.getName(a) && _this.getName(b)) {
3582
+ return _this.getName(a).localeCompare(_this.getName(b));
3583
+ } else {
3584
+ return 0;
3585
+ }
3586
+ });
3587
+ } else {
3588
+ arr = arr.sort(function (a, b) {
3589
+ return parseInt(a.order) - parseInt(b.order);
3590
+ });
3591
+ }
3579
3592
  }
3580
3593
 
3581
3594
  this.count = arr.length;
@@ -3611,7 +3624,7 @@ var __vue_render__$3 = function __vue_render__() {
3611
3624
 
3612
3625
  return _c('div', {
3613
3626
  staticClass: "wf-component wf-page-menu"
3614
- }, [_vm._ssrNode("<ul" + _vm._ssrClass("wf-list", ['wf-list-count-' + _vm.count]) + " data-v-babf1b98>", "</ul>", _vm._l(_vm.sortedPages, function (page) {
3627
+ }, [_vm._ssrNode("<ul" + _vm._ssrClass("wf-list", ['wf-list-count-' + _vm.count]) + " data-v-1a61779c>", "</ul>", _vm._l(_vm.sortedPages, function (page) {
3615
3628
  return _c('li', {
3616
3629
  directives: [{
3617
3630
  name: "touch",
@@ -3632,9 +3645,9 @@ var __vue_render__$3 = function __vue_render__() {
3632
3645
  }
3633
3646
  }, [_vm._ssrNode("<i class=\"wf-icon\"" + _vm._ssrStyle(null, null, {
3634
3647
  display: _vm.showIcon ? '' : 'none'
3635
- }) + " data-v-babf1b98>" + _vm._s(page.icon) + "</i> <label" + _vm._ssrStyle(null, null, {
3648
+ }) + " data-v-1a61779c>" + _vm._s(page.icon) + "</i> <label" + _vm._ssrStyle(null, null, {
3636
3649
  display: _vm.showName ? '' : 'none'
3637
- }) + " data-v-babf1b98>" + _vm._ssrEscape(_vm._s(_vm.getName(page))) + "</label>")]);
3650
+ }) + " data-v-1a61779c>" + _vm._ssrEscape(_vm._s(_vm.getName(page))) + "</label>")]);
3638
3651
  }), 0)]);
3639
3652
  };
3640
3653
 
@@ -3643,8 +3656,8 @@ var __vue_staticRenderFns__$3 = [];
3643
3656
 
3644
3657
  var __vue_inject_styles__$3 = function __vue_inject_styles__(inject) {
3645
3658
  if (!inject) return;
3646
- inject("data-v-babf1b98_0", {
3647
- source: ".wf-list-item[data-v-babf1b98]{list-style:none}",
3659
+ inject("data-v-1a61779c_0", {
3660
+ source: ".wf-list-item[data-v-1a61779c]{list-style:none}",
3648
3661
  map: undefined,
3649
3662
  media: undefined
3650
3663
  });
@@ -3652,10 +3665,10 @@ var __vue_inject_styles__$3 = function __vue_inject_styles__(inject) {
3652
3665
  /* scoped */
3653
3666
 
3654
3667
 
3655
- var __vue_scope_id__$3 = "data-v-babf1b98";
3668
+ var __vue_scope_id__$3 = "data-v-1a61779c";
3656
3669
  /* module identifier */
3657
3670
 
3658
- var __vue_module_identifier__$3 = "data-v-babf1b98";
3671
+ var __vue_module_identifier__$3 = "data-v-1a61779c";
3659
3672
  /* functional template */
3660
3673
 
3661
3674
  var __vue_is_functional_template__$3 = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dwayfinder/wayfinder-vue-components",
3
- "version": "1.2.5",
3
+ "version": "1.2.7",
4
4
  "description": "VueJS UI components for 3D Wayfinder floor plans",
5
5
  "main": "dist/wayfinder-vue-components.ssr.js",
6
6
  "browser": "dist/wayfinder-vue-components.esm.js",
@@ -20,7 +20,7 @@
20
20
  "build:unpkg": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format iife"
21
21
  },
22
22
  "dependencies": {
23
- "@3dwayfinder/scrollarea": "^1.0.6",
23
+ "@3dwayfinder/scrollarea": "^1.0.7",
24
24
  "@better-scroll/mouse-wheel": "^2.0.1",
25
25
  "@better-scroll/scroll-bar": "^2.0.1",
26
26
  "on-screen-js-keyboard": "^1.2.4",
@@ -31,7 +31,11 @@ export default {
31
31
  currentPage: {
32
32
  type: Object,
33
33
  default: null
34
- }
34
+ },
35
+ sortAZ: {
36
+ type: Boolean,
37
+ default: false
38
+ },
35
39
  },
36
40
  data () {
37
41
  return {
@@ -46,14 +50,21 @@ export default {
46
50
  arr = Object.values(this.pages[this.container]).filter((page) => {
47
51
  return (page && page.visible);
48
52
  }); // Copy and filter array
49
- arr = arr.sort((a, b) => {
50
- if (this.getName(a) && this.getName(b)) {
51
- return this.getName(a).localeCompare(this.getName(b));
52
- }
53
- else {
54
- return 0;
55
- }
56
- });
53
+ if (this.sortAZ) {
54
+ arr = arr.sort((a, b) => {
55
+ if (this.getName(a) && this.getName(b)) {
56
+ return this.getName(a).localeCompare(this.getName(b));
57
+ }
58
+ else {
59
+ return 0;
60
+ }
61
+ });
62
+ }
63
+ else {
64
+ arr = arr.sort((a, b) => {
65
+ return parseInt(a.order) - parseInt(b.order);
66
+ });
67
+ }
57
68
  }
58
69
 
59
70
  this.count = arr.length;
@@ -36,6 +36,9 @@ export default {
36
36
  this.scroll.refresh();
37
37
  }
38
38
  });
39
+ },
40
+ scrollToSection (index, direction, animate, animSpeed) {
41
+ this.scroll.scrollToSection(index, direction, animate, animSpeed);
39
42
  }
40
43
  }
41
44
  };