@3dwayfinder/wayfinder-vue-components 1.8.21 → 1.8.22

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.
@@ -5506,7 +5506,7 @@ var script$2 = {
5506
5506
 
5507
5507
  findBySlug(slug) {
5508
5508
  if (this.pages && this.pages[this.container]) {
5509
- if (this.id > -1) {
5509
+ if (slug.length > 0) {
5510
5510
  let page;
5511
5511
 
5512
5512
  for (let p in this.pages[this.container]) {
@@ -5538,6 +5538,17 @@ var script$2 = {
5538
5538
  }
5539
5539
 
5540
5540
  return "";
5541
+ },
5542
+
5543
+ changePageWithSlug(slug) {
5544
+ let page = this.findBySlug(slug);
5545
+
5546
+ if (page) {
5547
+ this.updatePage();
5548
+ return true;
5549
+ }
5550
+
5551
+ return false;
5541
5552
  }
5542
5553
 
5543
5554
  },
@@ -5603,8 +5614,8 @@ var __vue_staticRenderFns__$2 = [];
5603
5614
 
5604
5615
  const __vue_inject_styles__$2 = function (inject) {
5605
5616
  if (!inject) return;
5606
- inject("data-v-b68f8506_0", {
5607
- source: ".wf-page-container[data-v-b68f8506]{width:100%;height:100%}.wf-page-container .wf-page-content[data-v-b68f8506]{width:100%;height:100%}.wf-page-container.wf-page-empty[data-v-b68f8506]{height:auto!important}",
5617
+ inject("data-v-48f52dcc_0", {
5618
+ source: ".wf-page-container[data-v-48f52dcc]{width:100%;height:100%}.wf-page-container .wf-page-content[data-v-48f52dcc]{width:100%;height:100%}.wf-page-container.wf-page-empty[data-v-48f52dcc]{height:auto!important}",
5608
5619
  map: undefined,
5609
5620
  media: undefined
5610
5621
  });
@@ -5612,7 +5623,7 @@ const __vue_inject_styles__$2 = function (inject) {
5612
5623
  /* scoped */
5613
5624
 
5614
5625
 
5615
- const __vue_scope_id__$2 = "data-v-b68f8506";
5626
+ const __vue_scope_id__$2 = "data-v-48f52dcc";
5616
5627
  /* module identifier */
5617
5628
 
5618
5629
  const __vue_module_identifier__$2 = undefined;
@@ -4,4 +4,4 @@ var WayfinderVueComponents=function(t){"use strict";function e(t){return t&&"obj
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:i});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,e.call(this,t)}}function i(){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 i=t.plugins;void 0===i&&(i=[]);var n=t.strict;void 0===n&&(n=!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,i){return s.call(a,t,e,i)},this.strict=n;var r=this._modules.root.state;E(this,r,[],this._modules.root),x(this,r),i.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)},P={state:{configurable:!0}};function S(t,e,i){return e.indexOf(t)<0&&(i&&i.prepend?e.unshift(t):e.push(t)),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function T(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var i=t.state;E(t,i,[],t._modules.root,!0),x(t,i,e)}function x(t,e,i){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var a=t._wrappedGetters,o={};w(a,(function(e,i){o[i]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,i,{get:function(){return t._vm[i]},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),n&&(i&&t._withCommit((function(){n._data.$$state=null})),C.nextTick((function(){return n.$destroy()})))}function E(t,e,i,n,a){var o=!i.length,s=t._modules.getNamespace(i);if(n.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=n),!o&&!a){var r=M(e,i.slice(0,-1)),c=i[i.length-1];t._withCommit((function(){C.set(r,c,n.state)}))}var u=n.context=function(t,e,i){var n=""===e,a={dispatch:n?t.dispatch:function(i,n,a){var o=N(i,n,a),s=o.payload,r=o.options,c=o.type;return r&&r.root||(c=e+c),t.dispatch(c,s)},commit:n?t.commit:function(i,n,a){var o=N(i,n,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:n?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var i={},n=e.length;Object.keys(t.getters).forEach((function(a){if(a.slice(0,n)===e){var o=a.slice(n);Object.defineProperty(i,o,{get:function(){return t.getters[a]},enumerable:!0})}})),t._makeLocalGettersCache[e]=i}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return M(t.state,i)}}}),a}(t,s,i);n.forEachMutation((function(e,i){!function(t,e,i,n){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){i.call(t,n.state,e)}))}(t,s+i,e,u)})),n.forEachAction((function(e,i){var n=e.root?i:s+i,a=e.handler||e;!function(t,e,i,n){(t._actions[e]||(t._actions[e]=[])).push((function(e){var a,o=i.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.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,n,a,u)})),n.forEachGetter((function(e,i){!function(t,e,i,n){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return i(n.state,n.getters,t.state,t.getters)}}(t,s+i,e,u)})),n.forEachChild((function(n,o){E(t,e,i.concat(o),n,a)}))}function M(t,e){return e.reduce((function(t,e){return t[e]}),t)}function N(t,e,i){return y(t)&&t.type&&(i=e,e=t,t=t.type),{type:t,payload:e,options:i}}P.state.get=function(){return this._vm._data.$$state},P.state.set=function(t){},O.prototype.commit=function(t,e,i){var n=this,a=N(t,e,i),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,n.state)})))},O.prototype.dispatch=function(t,e){var i=this,n=N(t,e),a=n.type,o=n.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,i.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{i._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,i.state)}))}catch(t){}t(e)}),(function(t){try{i._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,i.state,t)}))}catch(t){}e(t)}))}))}},O.prototype.subscribe=function(t,e){return S(t,this._subscribers,e)},O.prototype.subscribeAction=function(t,e){return S("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},O.prototype.watch=function(t,e,i){var n=this;return this._watcherVM.$watch((function(){return t(n.state,n.getters)}),e,i)},O.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},O.prototype.registerModule=function(t,e,i){void 0===i&&(i={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),E(this,this.state,t,this._modules.get(t),i.preserveState),x(this,this.state)},O.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var i=M(e.state,t.slice(0,-1));C.delete(i,t[t.length-1])})),T(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),T(this,!0)},O.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(O.prototype,P);var L,j=(L=function(t,e){var i,n={};return(i=e,function(t){return Array.isArray(t)||y(t)}(i)?Array.isArray(i)?i.map((function(t){return{key:t,val:t}})):Object.keys(i).map((function(t){return{key:t,val:i[t]}})):[]).forEach((function(e){var i=e.key,a=e.val;n[i]=function(){var e=this.$store.state,i=this.$store.getters;if(t){var n=function(t,e,i){return t._modulesNamespaceMap[i]}(this.$store,0,t);if(!n)return;e=n.context.state,i=n.context.getters}return"function"==typeof a?a.call(this,e,i):e[a]},n[i].vuex=!0})),n},function(t,e){return"string"!=typeof t?(e=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),L(t,e)});var F=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.poi?i("div",{staticClass:"wf-poi"},[t.showLogo?i("div",{staticClass:"wf-poi-image",class:[t.isImage()],style:{"background-image":t.getImage()}}):t._e(),t._v(" "),t.showName?i("div",{staticClass:"wf-poi-name",domProps:{innerHTML:t._s(t.poi.getName(t.language)||"POI")}}):t._e(),t._v(" "),t.showPathButton?i("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.showPath,expression:"showPath",arg:"tap"}],staticClass:"wf-show-path"},[i("button",[i("label",{attrs:{"data-translation-element":"show_path"}},[t._v(t._s(t.show_path))]),t._v(" "),i("i")])]):t._e(),t._v(" "),t.showAccessibilityPathButton?i("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.showAccessibilityPath,expression:"showAccessibilityPath",arg:"tap"}],staticClass:"wf-show-path wf-show-accessibility-path"},[i("button",[i("label",{attrs:{"data-translation-element":"show_accessibility_path"}},[t._v(t._s(t.show_accessibility_path))]),t._v(" "),i("i")])]):t._e(),t._v(" "),t.showDescription?i("div",{staticClass:"wf-poi-description",domProps:{innerHTML:t._s(t.poi.getDescription(t.language)||"")}}):t._e(),t._v(" "),t.showRoomID?i("div",{staticClass:"wf-poi-room_id",domProps:{innerHTML:t._s(t.poi.room_id||"")}}):t._e(),t._v(" "),t.showFloor&&t.poi.getFloor()?i("div",{staticClass:"wf-poi-floor",domProps:{innerHTML:t._s(t.poi.getFloor().getName(t.language)||"")}}):t._e(),t._v(" "),t.showDistance?i("div",{staticClass:"wf-poi-distance"},[i("span",{staticClass:"wf-path-time"},[t._v(t._s(t.pathTime))]),t._v(" "),i("span",{staticClass:"wf-path-steps"},[t._v(t._s(t.pathSteps))]),t._v(" "),i("span",{staticClass:"wf-path-length"},[t._v(t._s(t.pathLength))])]):t._e()]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-0611a148_0",{source:".layout-view[data-v-0611a148]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.poi-info[data-v-0611a148]{padding:1rem}.poi-info h2[data-v-0611a148]{text-align:center;margin-top:1.5rem;margin-bottom:1.5rem}.poi-body[data-v-0611a148]{box-shadow:0 -2px 1px 0 rgba(0,0,0,.05);padding:1rem;flex-grow:1}.poi-image[data-v-0611a148]{height:14rem;width:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat}.poi-image.image-background[data-v-0611a148]{background-size:cover}.show-path[data-v-0611a148]{bottom:1rem;right:1rem;text-transform:uppercase;z-index:10;line-height:2.8rem;margin-bottom:1.5rem}.show-path button[data-v-0611a148]{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-0611a148]{line-height:1.2}.poi-contact .address[data-v-0611a148]{font-weight:600;margin-bottom:.5rem}.poi-contact .address span[data-v-0611a148]{padding-top:4px;vertical-align:top;display:inline-block}.poi-contact .address a[data-v-0611a148]{text-decoration:none;display:block;line-height:1.5}.poi-contact .address .icon[data-v-0611a148]: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)},hasShowAccessibilityPathListener:function(){return!(!this.$listeners||!this.$listeners.showAccessibilityPath)}}),props:{poi:{type:Object,default:null},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showAccessibilityPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},showDistance:{type:Boolean,default:!1}},mounted:function(){this.$wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"),this.show_accessibility_path=this.$wayfinder.translator.get("show_accessibility_path"))},watch:{language:function(){this.$wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"),this.show_accessibility_path=this.$wayfinder.translator.get("show_accessibility_path"))},poi:function(){if(this.showDistance&&this.$wayfinder){var t=this.$wayfinder.findPath(this.$wayfinder.getKioskNode(),this.poi.getNode());this.path2Text=this.$wayfinder.pathToText(t),console.log("watch.path",this.path2Text)}}},methods:{showPath:function(){this.poi&&(this.hasShowPathListener?this.$emit("showPath",this.poi):this.$wayfinder.showPath(this.poi.getNode(),this.poi))},showAccessibilityPath:function(){this.poi&&(this.hasShowAccessibilityPathListener?this.$emit("showAccessibilityPath",this.poi):this.$wayfinder.showPath(this.poi.getNode(),this.poi,{ignoreTypes:["escalator","stairs"]}))},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",show_accessibility_path:"Show Accessibility Path",pathTime:"",unit:"m",path2Text:null}}},"data-v-0611a148",false,undefined,!1,f,void 0,void 0),$=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-az-menu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return i("li",{directives:[{name:"touch",rawName:"v-touch:tap.self",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap",modifiers:{self:!0}}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id}},[t._t("default",(function(){return[i("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-072809e2_0",{source:".wf-list-item[data-v-072809e2]{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,i){return e.getName(t.language)&&i.getName(t.language)?e.getName(t.language).localeCompare(i.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-072809e2",false,undefined,!1,f,void 0,void 0),D=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-languages-container",class:[t.active?"wf-active":""]},[t.showTitle?i("div",{staticClass:"wf-languages-container-select"},[t._v("Select language")]):t._e(),t._v(" "),i("div",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.languages,(function(e){return i("div",{key:e.getName(),class:["item","language","lang-"+e.getName(),{active:e.getName()==t.language,display:t.active}],on:{click:function(i){return t.changeLanguage(e)}}},[t.showFlag?i("div",{staticClass:"wf-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?i("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?i("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),z=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-languages-menu",class:{"wf-active":t.active}},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count,t.active?"wf-active":""]},t._l(t.languages,(function(e){return i("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(i){return t.changeLanguage(e)}}},[t.showFlag?i("div",{staticClass:"wf-lang-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?i("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?i("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),A=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.group?i("div",{staticClass:"wf-group",class:[t.hasImage()]},[i("label",{staticClass:"wf-name",domProps:{innerHTML:t._s(t.group.getName(t.language))}}),t._v(" "),t.showPOICount?i("label",{staticClass:"wf-poi-count"},[t._v(t._s(t.group.pois.length))]):t._e(),t._v(" "),t.showIcon?i("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(){this.$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-d6a1098a",false,undefined,!1,void 0,void 0,void 0),R=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-groups-menu"},[t.parentGroup?i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[t.showParentGroup?i("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._e(),t._v(" "),t._l(t.sortedGroups,(function(e){return i("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[i("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[i("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),e.pois.length>0&&t.showPOIs?i("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 i("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[i("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.showPOIs?i("div",t._l(t.sortedPOIs(t.parentGroup.pois),(function(e){return i("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[i("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()],2):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-4c01bb2f_0",{source:".wf-groups-menu .wf-list-item[data-v-4c01bb2f]{list-style:none}.wf-groups-menu .wf-list[data-v-4c01bb2f]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"SubGroupMenu",components:{Group:A,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},showParentGroup:{type:Boolean,default:!1}},data:function(){return{current:null,parentGroup:null,sortedGroups:[],count:0}},computed:o(o({},j("wf",["poiGroups","currentGroup","language"])),{},{currentGroupName:function(){return this.parentGroup?this.parentGroup.getName(this.language):""}}),mounted:function(){this.sortedGroups=this.sortGroups()},watch:{parent:function(){this.sortedGroups=this.sortGroups()},currentGroup:function(){this.current=this.currentGroup},poiGroups:function(){this.sortedGroups=this.sortGroups()}},methods:{onClick:function(t){var e=this;return function(){e.current&&t&&e.current.id==t.id?e.current=null:e.current=Object.freeze(t),e.$emit("clicked",t)}},onPOICLick:function(t){var e=this;return function(){e.$emit("poiClicked",t)}},back:function(){var t=this;return function(){t.$emit("back")}},reset:function(){this.$store.dispatch("wf/SET_CURRENT_GROUP",null)},sortGroups:function(){var t,e=this,i=[],n=this.poiGroups;for(var a in n)(t=n[a]).id==this.parent&&(this.parentGroup=t),t&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent||-1===this.parent&&null===t.parent_id)&&i.push(t);return this.az?i=i.sort((function(t,i){return t&&t.getName(e.language)&&i&&i.getName(e.language)?t.getName(e.language).localeCompare(i.getName(e.language),e.language,{sensitivity:"accent"}):0})):this.order&&(i=i.sort((function(t,e){return t&&e?t.order-e.order:0}))),this.count=i.length,i},subGroups:function(t){if(t){var e,i=[];for(var n in t)e=parseInt(t[n]),this.poiGroups[e]&&this.poiGroups[e].getShowInMenu()&&i.push(this.poiGroups[e]);return i}return[]},sortedPOIs:function(t){var e=this,i=t.slice().filter((function(t){return t&&t.getShowInMenu()}));return this.sortPOIs?i=i.sort((function(t,i){return t.getName(e.language)&&i.getName(e.language)?t.getName(e.language).localeCompare(i.getName(e.language)):0})):i}}},"data-v-4c01bb2f",false,undefined,!1,f,void 0,void 0),B=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-groups-menu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[t._t("prepend"),t._v(" "),t.showParentGroup?i("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._e(),t._v(" "),t._l(t.sortedGroups,(function(e){return i("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[i("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[i("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),t.showSubGroups?i("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id&&t.subGroups(e.childGroups).length>0,expression:"current && topic.id == current.id && subGroups(topic.childGroups).length > 0"}]},[i("SubGroupMenu",{attrs:{parent:parseInt(e.id),showPOICount:t.showPOICount,az:t.az,order:t.order,showIcon:t.showIcon,showPOIs:t.showPOIs,sortPOIs:t.sortPOIs},on:{clicked:t.onSubGroupClick,poiClicked:t.onSubPOICLick}})],1):t._e(),t._v(" "),e.pois.length>0&&t.showPOIs?i("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 i("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[i("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-14aa6a66_0",{source:".wf-groups-menu .wf-list-item[data-v-14aa6a66]{list-style:none}.wf-groups-menu .wf-list[data-v-14aa6a66]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"GroupsMenu",components:{Group:A,POI:F,SubGroupMenu:R},props:{currentGroup:{type:Object,default:null},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},showParentGroup:{type:Boolean,default:!1}},watch:{currentGroup:function(){this.current=this.currentGroup}},data:function(){return{count:0,current:null,parentGroup:null}},computed:o(o({},j("wf",["poiGroups","language"])),{},{sortedGroups:function(){var t,e=this,i=[],n=this.poiGroups;for(var a in n)(t=n[a]).id==this.parent&&(this.parentGroup=t),t&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent?i.push(t):-1!==this.parent||null!==t.parent_id&&0!=t.parent_id||i.push(t));return this.az?i=i.sort((function(t,i){return t&&t.getName(e.language)&&i&&i.getName(e.language)?t.getName(e.language).localeCompare(i.getName(e.language),e.language,{sensitivity:"accent"}):0})):this.order&&(i=i.sort((function(t,e){return t&&e?t.order-e.order:0}))),this.count=i.length,i},currentGroupName:function(){return this.parentGroup?this.parentGroup.getName(this.language):""}}),methods:{onClick:function(t){var e=this;return function(){e.current&&t&&e.current.id==t.id?e.current=null:(e.current=Object.freeze(t),e.current&&e.showSubGroups&&t&&t.childGroups&&t.childGroups.length>0||e.$emit("clicked",t))}},onPOICLick:function(t){var e=this;return function(){e.$emit("poiClicked",t)}},onSubGroupClick:function(t){this.$emit("subGroupClicked",t)},onSubPOICLick:function(t){this.$emit("poiClicked",t)},reset:function(){this.current=null},back:function(){var t=this;return function(){t.$emit("back")}},subGroups:function(t){if(t){var e,i=[];for(var n in t)e=parseInt(t[n]),this.poiGroups[e]&&this.poiGroups[e].getShowInMenu()&&i.push(this.poiGroups[e]);return i}return[]},sortedPOIs:function(t){var e=this,i=t.slice().filter((function(t){return t&&t.getShowInMenu()}));return this.sortPOIs?i=i.sort((function(t,i){return t.getName(e.language)&&i.getName(e.language)?t.getName(e.language).localeCompare(i.getName(e.language)):0})):i}}},"data-v-14aa6a66",false,undefined,!1,f,void 0,void 0),G=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-group-pois-menu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[i("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 i("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,i){return e.getName(t.language).localeCompare(i.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),W=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: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),V=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("button",{staticClass:"wf-component wf-yah",on:{click:function(e){return t.onClicked()}}},[i("i",{staticClass:"wf-icon",style:{"background-image":t.yahLogo}}),t._v(" "),i("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),Y=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-shortcuts-menu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.shortcuts,(function(e){return i("li",{key:e.getID(),staticClass:"wf-list-item wf-shortcut",class:["wf-shortcut-"+e.getID()],on:{click:function(i){return t.showShortcut(e)}}},[t.showIcon?i("img",{staticClass:"wf-icon",attrs:{src:t.getImage(e.imageID)}}):t._e(),t._v(" "),t.showLabel?i("label",[t._v(t._s(e.getName(t.language)))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-4e88a0ea_0",{source:".shortcuts-container[data-v-4e88a0ea]{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-4e88a0ea]{position:absolute;left:.5rem;bottom:15%;top:15%;flex-direction:column;justify-content:center}",map:void 0,media:void 0})}),{name:"ShortcutsMenu",components:{YAH:V},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"])),{},{count:function(){return this.shortcuts.length},hasClickedListener:function(){return!(!this.$listeners||!this.$listeners.clicked)}}),methods:{showShortcut:function(t){var e=this.$wayfinder.getNearestPOI(this.$wayfinder.getKiosk(),t.pois);this.hasClickedListener?this.$emit("clicked",e,t):(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-4e88a0ea",false,undefined,!1,f,void 0,void 0),U=null,H=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-zoommenu"},[i("div",{directives:[{name:"touch",rawName:"v-touch:start",value:t.touchStart(1),expression:"touchStart(1)",arg:"start"},{name:"touch",rawName:"v-touch:end",value:t.touchStop(),expression:"touchStop()",arg:"end"}],staticClass:"wf-item wf-zoom-in",on:{mousedown:function(e){return t.start(1)},mouseleave:function(e){return t.stop()},mouseup:function(e){return t.stop()}}},[t._v("+")]),t._v(" "),i("div",{directives:[{name:"touch",rawName:"v-touch:start",value:t.touchStart(-1),expression:"touchStart(-1)",arg:"start"},{name:"touch",rawName:"v-touch:end",value:t.touchStop(),expression:"touchStop()",arg:"end"}],staticClass:"wf-item wf-zoom-out",on:{mousedown:function(e){return t.start(-1)},mouseleave:function(e){return t.stop()},mouseup:function(e){return t.stop()}}},[t._v("-")])])},staticRenderFns:[]},(function(t){t&&t("data-v-260dca50_0",{source:".wf-zoommenu[data-v-260dca50]{user-select:none}",map:void 0,media:void 0})}),{data:function(){return{direction:0,zooming:!1}},methods:{touchStart:function(t){var e=this;return function(){e.start(t)}},touchStop:function(){var t=this;return function(){t.stop()}},start:function(t){this.direction=t,this.zooming=!0,this.zoom()},stop:function(){this.direction=0,this.zooming=!1,clearTimeout(U)},zoom:function(){var t=this;this.direction>0?this.$wayfinder.zoomIn():this.$wayfinder.zoomOut(),this.zooming&&(U=setTimeout((function(){t.zoom()}),50))}}},"data-v-260dca50",false,undefined,!1,f,void 0,void 0),Z=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-floors-menu"},[i("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 i("li",{key:e.id,staticClass:"wf-list-item",class:["wf-lang-"+t.language,"wf-floor-"+e.index,{"wf-active":t.currentFloor&&e.id==t.currentFloor.id}],on:{click:function(i){return t.changeFloor(e)}}},[i("label",{staticClass:"wf-title"},[t._v(t._s(e.getName(t.language)))]),t._v(" "),t.showPOICount?i("label",{staticClass:"wf-count"},[t._v(t._s(e.pois.length))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-c6d992a4_0",{source:".wf-floors-menu .wf-list-item[data-v-c6d992a4]{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=[],i=this.floors;for(var n in i)(t=i[n])&&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-c6d992a4",false,undefined,!1,f,void 0,void 0),q=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-filteredmenu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return i("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(i){return t.onClick(e)}}},[t._t("default",(function(){return[i("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,i=t.slice().filter((function(t){return t&&t.getShowInMenu()}));i=i.sort((function(t,i){return t.getName(e.language)&&i.getName(e.language)?t.getName(e.language).localeCompare(i.getName(e.language)):0})),this.count=i.length,this.sortedPOIs=i}},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 X(t,e,i){return t(i={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&i.path)}},i.exports),i.exports}var Q=X((function(t){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.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 a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));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=0)}([function(t,e,i){i.r(e);class n{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,i){this.layouts={},this.layoutName=void 0===i?"en":i,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.outputSelectionEnabled=!1,this.value="",this.events={change:[],layout:[],ready:[]},this.actions=new n(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 i;for(let n=0,a=this.events[e].length;n<a;n++)"function"==typeof(i=this.events[e][n])&&i.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(!t)return void console.warn("Input field not given",t);let e;if("string"==typeof t){if(e=document.getElementById(t),this.output=e,!this.output)return void console.warn("Input field not found",t)}else e=t,this.output=t;"input"!==this.getFieldType(this.output)&&(this.outputIsInputField=!1);let i=this.getFieldValue(e);this.value=i,this.selectionEnd=i.length,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()})))}setOutputSelection(t){this.outputSelectionEnabled=t}getFieldValue(t){if(!t)return"";switch(this.getFieldType(t)){case"input":return t.value;case"textarea":return t.innerText;default:return""}}updateFromOutput(){this.value=this.getFieldValue(this.output),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,this.pushtoOutput()}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 i in e){t+="<div class='keyboard-row keyboard-row-"+i+"'>";for(let n in e[i]){let a=e[i][n];switch(typeof a){case"string":t+="<div class='keyboard-key "+a+"' row='"+i+"' index='"+n+"'>"+a+"</div>";break;case"object":let e="";a.cls&&(e=a.cls),t+="<div class='keyboard-key keyboard-"+e+" "+a.key+"' object='' row='"+i+"' index='"+n+"'>"+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,i=0;for(let n=0;n<this.container.children.length;n++){let a=(t=this.container.children[n]).offsetHeight-t.clientHeight,o=t.offsetWidth-t.clientWidth;for(let i=0;i<t.children.length;i++)o+=((e=t.children[i]).offsetWidth<this.container.offsetWidth?e.offsetWidth:this.container.offsetWidth)+1,a=Math.max(a,this.container.offsetHeight);t.width=o,t.height=a,i+=a}this.container.height=i,this.trigger("ready")}keyPressed(t){t.classList.add("keyboard-key-pressed");let e=this.getCurrentKeyset()[t.getAttribute("row")];if(!e)return;let i=e[t.getAttribute("index")];switch(typeof i){case"string":this.changeValue(i);break;case"object":void 0===i.action?this.changeValue(i.key):this.actions.activate(i)}this.pushtoOutput()}changeValue(t){let e=this.value.substring(0,this.selectionStart),i=this.value.substring(this.selectionEnd,this.value.length);this.value=""+e+t+i,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)}}getFieldType(t){return t&&t.tagName?t.tagName.toLowerCase():"nan"}getCaretPosition(){this.output&&this.outputIsInputField&&this.outputSelectionEnabled&&(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"}]]}}}}i.d(e,"OSK",(function(){return a})),i.d(e,"OSKActions",(function(){return n}))}]).OSK})),K=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-search"},[t.showCloseButton?i("div",{staticClass:"wf-close",attrs:{"data-translation-element":"close"},on:{click:function(e){return t.close(e)}}},[t._v("Close")]):t._e(),t._v(" "),i("div",{staticClass:"wf-search-container"},[i("div",{staticClass:"wf-search-results",class:{"wf-no-results":0==t.results.length}},[i("transition-group",{staticClass:"wf-list",attrs:{name:"list",tag:"ul"}},t._l(t.results,(function(e){return e&&e.getShowInMenu()?i("li",{key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(i){return t.onClick(e)}}},[t._t("default",(function(){return[i("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(" "),i("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?i("div",{staticClass:"wf-search-input-container"},[i("input",{ref:"searchInput",attrs:{id:t.inputId}})]):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.showKeyboard,expression:"showKeyboard"}],staticClass:"wf-keyboard",attrs:{id:t.keyboardContainerId}})])])},staticRenderFns:[]},(function(t){t&&t("data-v-169aa3ad_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;user-select:none}.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: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,inputId:"",keyboardContainerId:""}},mounted:function(){var t=this,e=Date.now();this.inputId="wf-search-input-"+e,this.keyboardContainerId="wf-keyboard-container-"+e,this.$nextTick((function(){t.keyboard=new Q(t.inputId,t.keyboardContainerId),t.keyboard.on("change",(function(e){var i=t.$wayfinder.search.search(e);i=t.limit>0?i.slice(0,t.limit):i.slice();var n=Object.values(i).map((function(e){return t.$store.getters["wf/freezePOI"](e)}));console.log("resultArr",n,t.$wayfinder),t.results=n,e.length>1&&(Object.values(t.results).length>0?t.$wayfinder.statistics.onSearch(e,"successful"):t.$wayfinder.statistics.onSearch(e,"unsuccessful"))})),t.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"}]]}}),t.keyboard.changeLayout(t.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())},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),J=h({render:function(){var t=this;t.$createElement;return t._self._c,t._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loading"},[i("div",{staticClass:"lds-ellipsis"},[i("div"),t._v(" "),i("div"),t._v(" "),i("div"),t._v(" "),i("div")])])}]},(function(t){t&&t("data-v-7e3728f4_0",{source:".loading[data-v-7e3728f4]{width:100%;height:100vh;position:absolute;top:0;bottom:0;display:flex;z-index:100;justify-content:center;align-items:center;background-color:#fff}.lds-ellipsis[data-v-7e3728f4]{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div[data-v-7e3728f4]{position:absolute;display:inline-block;top:33px;width:13px;height:13px;border-radius:50%;background:#333;animation-timing-function:cubic-bezier(0,1,1,0)}.lds-ellipsis div[data-v-7e3728f4]:nth-child(1){left:8px;animation:lds-ellipsis1-data-v-7e3728f4 .6s infinite}.lds-ellipsis div[data-v-7e3728f4]:nth-child(2){left:8px;animation:lds-ellipsis2-data-v-7e3728f4 .6s infinite}.lds-ellipsis div[data-v-7e3728f4]:nth-child(3){left:32px;animation:lds-ellipsis2-data-v-7e3728f4 .6s infinite}.lds-ellipsis div[data-v-7e3728f4]:nth-child(4){left:56px;animation:lds-ellipsis3-data-v-7e3728f4 .6s infinite}@keyframes lds-ellipsis1-data-v-7e3728f4{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3-data-v-7e3728f4{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2-data-v-7e3728f4{0%{transform:translate(0,0)}100%{transform:translate(24px,0)}}",map:void 0,media:void 0})}),{name:"Loading"},"data-v-7e3728f4",false,undefined,!1,f,void 0,void 0),tt=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-clock"},[i("div",[i("span",{staticClass:"wf-clock-hours"},[t._v(t._s(t.hours))]),i("span",{staticClass:"wf-clock-sp"},[t._v(":")]),i("span",{staticClass:"wf-clock-minutes"},[t._v(t._s(t.minutes))])])])},staticRenderFns:[]},undefined,{name:"Clock",data:function(){return{time:new Date}},mounted:function(){setTimeout(this.addTime,500)},computed:{hours:function(){return(this.time.getHours()<10?"0":"")+this.time.getHours()},minutes:function(){return(this.time.getMinutes()<10?"0":"")+this.time.getMinutes()},seconds:function(){return(this.time.getSeconds()<10?"0":"")+this.time.getSeconds()}},methods:{addTime:function(){this.time=new Date,setTimeout(this.addTime,500)}}},undefined,false,undefined,!1,void 0,void 0,void 0);var et=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"wf-date"},[t._v("\n "+t._s(t.datestr)+"\n")])},staticRenderFns:[]},undefined,{name:"Date",props:{format:{type:String,default:"DD.MM"}},data:function(){return{time:new Date,locales:{}}},mounted:function(){setTimeout(this.addDate,1e3),"undefined"==typeof dayjs&&console.warn("WFDate dayjs is not loaded"),this.loadLocale(this.language)},computed:o(o({},j("wf",["language"])),{},{datestr:function(){return"undefined"!=typeof dayjs?dayjs(this.time).format(this.format):this.time.toLocaleString(this.language,{dateStyle:"long"})}}),watch:{language:function(){this.time=new Date,"undefined"!=typeof dayjs&&(this.locales[this.language]||this.loadLocale(this.language),dayjs.locale(this.language))}},methods:{addDate:function(){this.time=new Date,setTimeout(this.addDate,6e4)},loadLocale:function(t){var e,i,n,a=this;e=this.$wayfinder.options.assetsLocation+"/dayjs/locale/"+t+".js",i=function(e){console.log("locale.loaded",e,t,a.language),a.locales[t]=!0,a.language==t&&dayjs&&dayjs.locale(a.language)},(n=document.createElement("script")).type="text/javascript",n.async=!0,document.getElementsByTagName("head")[0].appendChild(n),"function"==typeof i&&(n.onload=i,n.src=e)}}},undefined,false,undefined,!1,void 0,void 0,void 0),it=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"tabs",staticClass:"wf-component wf-tabs",class:["wf-tabs-"+t.activeTab,"wf-tabs-index-"+t.activeTabIndex,"wf-tabs-animate-"+t.animate]},[i("div",{ref:"slide",staticClass:"wf-tabs-content"},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-b355b366_0",{source:".wf-tabs[data-v-b355b366]{overflow:hidden;position:relative;width:100%;height:100%}.wf-tabs-content[data-v-b355b366]{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-b355b366]{flex-direction:column}.wf-tab[data-v-b355b366]{opacity:0;transition:opacity .3s ease-out .5s}.wf-tabs-animate-none .wf-tab[data-v-b355b366]{transition:none!important}.wf-tab.wf-active[data-v-b355b366]{opacity:1;transition:opacity .3s ease-in}.wf-tabs.wf-tabs-animate-horizontal .wf-tabs-content[data-v-b355b366],.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-b355b366]{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(){this.activate()}},methods:{activate:function(){for(var t in console.log("tabs.activate",this.activeTab,this.$props.activeTab),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-b355b366",false,undefined,!1,f,void 0,void 0),nt=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),at=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-tab-buttons"},[i("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(" "),i("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(" "),i("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(" "),i("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),ot=X((function(t){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.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 a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));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],a=i*i+n*n;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,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 a=e[0],o=e[1];return t[0]=a+n*(i[0]-a),t[1]=o+n*(i[1]-o),t},transformMat2:function(t,e,i){var n=e[0],a=e[1];return t[0]=n*i[0]+a*i[1],t[1]=n*i[2]+a*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 n=i(0),a=i.n(n);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.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,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,i){var n=a.a.clone(t);return a.a.max(n,n,e),a.a.min(n,n,i),n}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.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(a.a.fromValues(this.element.clientWidth,this.element.clientHeight),a.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=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(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=a.a.create(),i=t.getContentViewRatio()[this.vertical?1:0];a.a.scale(e,t.getContentPosition(),i),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.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){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!==i&&i&&(this.options=this.chooseOptions(this.options,i)),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=a.a.create(),this.lastTime=0,this.deltaTime=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.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.container){var n=this;this.resizeObserver=new ResizeObserver((function(){n.resize()})),this.resizeObserver.observe(this.container)}this.checkContentPosition()}calcVelocity(t){this.lastTime&&(this.deltaTime=(this.deltaTime+(Date.now()-this.lastTime))/2),a.a.scale(this.deltaMove,a.a.add(this.deltaMove,this.deltaMove,t),.5),this.lastTime=Date.now()}attachEvents(t){t.addEventListener("mousewheel",(t=>{var e;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?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,this.deltaMove=a.a.create(),this.lastTime=Date.now(),t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=a.a.fromValues(t.movementX,t.movementY);this.calcVelocity(e),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.onEndDrag(this.deltaMove,this.deltaTime),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),this.lastTime=Date.now())}),!1),window.addEventListener("touchend",(t=>{this.onEndDrag(a.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchcancel",(t=>{this.onEndDrag(a.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=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),this.lastTime=Date.now()}}),!1)}onEndDrag(t,e){if(!(e<=0)){var i=a.a.len(t)/e;if(this.getOption("smooth")&&i>.3){var n=a.a.create();a.a.scale(n,t,i),this.getOption("reverse");var o=this;this.stop();var s=a.a.create(),r=function(){a.a.div(s,n,o.smoothCoeficent),a.a.sqrLen(s)>3?(a.a.sub(n,n,s),window.requestAnimationFrame(r),o.scroll(s)):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.scrollToSection(0,0,!1),this.scrollToSection(0,1,!1)}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,a=this.events[e].length;n<a;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=a.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=a.a.create(),n=a.a.clone(t),o=e,s=Date.now(),r=0,c=this,u=function(){o=Date.now()-s,r=1-Math.pow(1-Math.min(1,o/e),3),a.a.scale(i,n,r),a.a.sub(n,n,i),o<e?(window.requestAnimationFrame(u),a.a.len(n)>0?c.scroll(i):c.scroll(a.a.sub(i,i,n))):(a.a.len(n)>0&&c.scroll(n),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,i,n){let o=a.a.mul(a.a.create(),this.view.getContentSize(),this.view.getContentViewRatio()),s=a.a.scale(a.a.create(),o,t);const r=n||1;0==e?s[1]=0:s[0]=0;let c=a.a.sub(a.a.create(),this.view.getContentPosition(),s);if(i){let t=a.a.len(c)*r;this.smoothScroll(c,t)}else this.scroll(c)}}}]).ScrollArea})),st=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.$refs.area&&(t.scroll=new ot(t.$refs.area))}))},methods:{activate:function(){this.makeScroll()},reset:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.reset()}))},resize:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.resize()}))},scrollToSection:function(t,e,i,n){this.scroll.scrollToSection(t,e,i,n)}}},"data-v-4cd30c88",false,undefined,!1,void 0,void 0,void 0),rt=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("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,n){return i("div",{key:e.id,staticClass:"wf-frame",class:[{"wf-active":n==t.current},t.frameKeywords]},[t._l(e.containers,(function(n){return i("div",{key:n.id,staticClass:"wf-frame-container",class:[n.containerType],style:{left:n.left+"%",top:n.top+"%",width:n.width+"%",height:n.height+"%",backgroundImage:"url('"+n.url+"')"},on:{click:function(i){return t.onClick(e,n)}}},[t.isVideo(n)?i("video",{attrs:{width:"100%",height:"auto",muted:"",crossorigin:"anonymous"},domProps:{muted:!0}},[i("source",{attrs:{src:n.url,type:n.type}})]):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:n.containerType.indexOf("qr")>-1&&null!=t.qr,expression:"container.containerType.indexOf('qr') > -1 && qr != null"}],staticClass:"wf-qr",class:[n.containerType],domProps:{innerHTML:t._s(t.qr)}})])})),t._v(" "),t._t("default",null,{frame:e})],2)})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-72b7b82a_0",{source:".wf-banner[data-v-72b7b82a]{position:relative;width:100%;height:100%}.wf-banner .wf-frame[data-v-72b7b82a]{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-72b7b82a]{background-size:cover;background-position:50% 50%;background-repeat:no-repeat;position:absolute}.wf-banner .wf-frame.wf-active[data-v-72b7b82a]{opacity:1;transition:opacity .5s ease-in-out}.wf-banner .wf-frame video[data-v-72b7b82a]{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(),i="template-"+this.template.toLowerCase();this.template&&this.container&&this.banners[i]&&this.banners[i][this.container]&&(this.frames=this.banners[i][this.container].filter((function(i){var n=i.enabled;if(n&&i.from_date&&(n=n&&new Date(i.from_date).getTime()<=e),n&&i.to_date&&(n=n&&new Date(i.to_date).getTime()>=e),n)for(var a in i.containers)i.containers[a].url=t.getUrl(i.containers[a]);return n})),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 i=this.$refs.frames.children[this.current];if(i){var n=i.querySelector("video");n&&n.readyState?setTimeout((function(){t.playVideo(n,e.duration)}),10):(n&&(console.log("video not loaded. try again",n.readyState),n.load()),this.timer=setTimeout(this.play,e.duration))}else this.timer=setTimeout(this.play,e.duration)}}},playVideo:function(t,e){var i=this;t.pause(),t.currentTime=0,t.play().catch((function(n){console.warn("Video playback failed",n),t.load(),clearTimeout(i.timer),setTimeout((function(){i.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-72b7b82a",false,undefined,!1,f,void 0,void 0),ct=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-page-menu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPages,(function(e){return i("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(i){return t.onClick(e)}}},[i("i",{directives:[{name:"show",rawName:"v-show",value:t.showIcon,expression:"showIcon"}],staticClass:"wf-icon",domProps:{innerHTML:t._s(e.icon)}}),t._v(" "),i("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-4c0cfcd3_0",{source:".wf-list-item[data-v-4c0cfcd3]{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:o(o({},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&&parseInt(t.visible)})),e=this.sortAZ?e.sort((function(e,i){return t.getName(e)&&t.getName(i)?t.getName(e).localeCompare(t.getName(i)):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-4c0cfcd3",false,undefined,!1,f,void 0,void 0),ut=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("ul",{staticClass:"wf-component wf-alphabet-menu"},t._l(t.alphabet,(function(e){return i("li",{key:e,class:[t.currentChar==e?"wf-active":"","wf-char-"+e],on:{click:function(i){return t.onAZ(e)}}},[t._v(t._s(e))])})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-58de4247_0",{source:".wf-alphabet-menu{list-style:none;padding:0;margin:0}",map:void 0,media:void 0})}),{name:"AlphabetMenu",props:{pois:{type:Array,default:[]},overrideChar:{type:String,default:""},showInMenu:{type:Boolean,default:!0},group:{type:String,default:""}},data:function(){return{currentChar:"",alphabet:[],poisWithChar:{},groupChars:[],groupLabel:""}},computed:o({},j("wf",["language"])),watch:{pois:function(){this.makeGrouping(),this.generate()},overrideChar:function(){this.overrideChar&&""!==this.overrideChar&&(this.currentChar=this.overrideChar)},group:function(){this.makeGrouping()}},methods:{onAZ:function(t){this.currentChar=t,this.$emit("clicked",t,this.poisWithChar[t])},makeGrouping:function(){this.group&&(this.groupChars=this.group.toLowerCase().split(""),this.groupChars.length>1?this.groupLabel=this.groupChars[0]+" - "+this.groupChars[this.groupChars.length-1]:this.groupLabel=this.groupChars[0],this.generate())},generate:function(){var t,e,i=[];for(var n in this.poisWithChar=[],this.pois)t=this.pois[n],(!this.showInMenu||t.getShowInMenu())&&t.getName(this.language)&&t.getName(this.language).length>0&&(e=t.getName(this.language)[0].toLowerCase(),this.groupChars.indexOf(e)>-1?(-1==i.indexOf(this.groupLabel)&&(i.push(this.groupLabel),this.poisWithChar[this.groupLabel]=[]),this.poisWithChar[this.groupLabel].push(t)):(-1==i.indexOf(e)&&i.push(e),this.poisWithChar[e]||(this.poisWithChar[e]=[]),this.poisWithChar[e].push(t)));i.sort(),this.alphabet=i}}},undefined,false,undefined,!1,f,void 0,void 0),lt=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-page"},[t.page?i("div",{staticClass:"wf-page-container",class:{"wf-page-empty":0===t.page.items.length}},[t.showIcon?i("div",{staticClass:"wf-page-icon",class:[t.page.icon?"wf-has-icon":""],domProps:{innerHTML:t._s(t.page.icon)}}):t._e(),t._v(" "),t.showName?i("label",{staticClass:"wf-page-name",domProps:{innerHTML:t._s(t.pageName||"")}}):t._e(),t._v(" "),i("div",{staticClass:"wf-page-content"},t._l(t.page.items,(function(e,n){return i(t.itemType(e),{key:e.id,tag:"component",class:["wf-page-item-"+n],attrs:{item:e}})})),1)]):t._e(),t._v(" "),i("WFTabs",{ref:"tabs",attrs:{activeTab:t.currentTab}},[t._t("tabs")],2)],1)},staticRenderFns:[]},(function(t){t&&t("data-v-b68f8506_0",{source:".wf-page-container[data-v-b68f8506]{width:100%;height:100%}.wf-page-container .wf-page-content[data-v-b68f8506]{width:100%;height:100%}.wf-page-container.wf-page-empty[data-v-b68f8506]{height:auto!important}",map:void 0,media:void 0})}),{name:"Page",components:{PageHTML:h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.item?i("div",{staticClass:"wf-page-item wf-page-html"},[i("div",{domProps:{innerHTML:t._s(t.item.value[t.language])}})]):t._e()},staticRenderFns:[]},undefined,{name:"page-html",computed:o({},j("wf",["language"])),props:{item:{type:Object,default:null}}},"data-v-dcae2ce0",false,undefined,!1,void 0,void 0,void 0),PageURL:h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.item?i("div",{staticClass:"wf-page-item wf-page-url"},[t.item.value?i("iframe",{attrs:{src:t.item.value[t.language],nwdisable:"",nwfaketop:""}}):t._e()]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-7a70ef1c_0",{source:".wf-page-url[data-v-7a70ef1c],.wf-page-url iframe[data-v-7a70ef1c],.wf-page-url webview[data-v-7a70ef1c]{width:100%;height:100%;border:none}",map:void 0,media:void 0})}),{name:"page-url",computed:o({},j("wf",["language","reset"])),props:{item:{type:Object,default:null},resetPage:{type:Boolean,default:!1}},watch:{reset:function(t){this.resetPage&&(this.currentSRC=this.src+"?t="+Date.now())}}},"data-v-7a70ef1c",false,undefined,!1,f,void 0,void 0),PageIMAGE:h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.item?i("div",{staticClass:"wf-page-item wf-page-image"},[i("img",{attrs:{src:t.src}})]):t._e()},staticRenderFns:[]},undefined,{name:"page-image",computed:o(o({},j("wf",["language"])),{},{src:function(){return WayfinderAPI.getURL("images","get",this.item.value[this.language])}}),props:{item:{type:Object,default:null}}},"data-v-4d06f861",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]:""},currentTab:function(){return this.tab},isSingle:function(){return!(this.page&&["collection","tab"].indexOf(this.page.type)>-1)}}),props:{container:{type:String,default:"default"},pid:{type:Number,default:-1},slug:{type:String,default:null},showName:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!1},playAll:{type:Boolean,default:!1},duration:{type:Number,default:30},defaultTab:{type:String,default:null}},mounted:function(){this.defaultTab&&(this.tab=this.defaultTab),this.updatePage()},watch:{pages:function(){this.defaultTab&&(this.tab=this.defaultTab),this.updatePage()},container:function(){this.updatePage()},pid:function(){var t=this.findByID(parseInt(this.pid));t?(this.page=t,this.updatePage()):console.log("Page with ID",this.pid,"not found")},slug:function(){var t=this.findBySlug(this.slug.toLowerCase());t?(this.page=t,this.updatePage()):console.log("Page with slug",this.slug,"not found")},index:function(){var t=this.findBySlug(this.slug);t?(this.page=t,this.updatePage()):console.log("Page with slug",this.slug,"not found")}},methods:{findByID:function(t){var e;if(this.pages&&this.pages[this.container]&&t>-1)for(var i in this.pages[this.container])if(e=this.pages[this.container][i],parseInt(e.id)==t)return e;return!1},findBySlug:function(t){var e;if(this.pages&&this.pages[this.container]&&this.id>-1)for(var i in this.pages[this.container])if((e=this.pages[this.container][i]).slug.toLowerCase()==t)return e;return!1},updatePage:function(){this.pages&&this.pages[this.container]&&(this.page&&"tab"==this.page.type?this.tab=this.page.slug:this.page&&(this.tab=null))},itemType:function(t){return t&&t.type?"Page"+t.type.toUpperCase():""}},data:function(){return{currentIndex:1,page:null,tab:null}}},"data-v-b68f8506",false,undefined,!1,f,void 0,void 0),ht=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("label",{staticClass:"wf-translatable",class:{"wf-translated":t.translated}},[""==t.value?t._t("default"):t._e(),t._v("\n "+t._s(t.value)+"\n")],2)},staticRenderFns:[]},undefined,{name:"Translate",props:{k:{type:String,default:""},params:{type:Array,default:function(){return[]}}},computed:o({},j("wf",["language"])),data:function(){return{translated:!1,value:""}},watch:{language:function(){this.$wayfinder&&this.update()},k:function(){this.update()}},mounted:function(){this.update()},methods:{update:function(){this.$wayfinder&&this.k&&this.k.length>0&&this.$wayfinder.translator.exists(this.k)&&(this.value=this.$wayfinder.translator.get(this.k,this.params),this.translated=!0)}}},undefined,false,undefined,!1,void 0,void 0,void 0),dt=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-browser"},[i("iframe",{ref:"frame",attrs:{src:t.currentSRC,nwdisable:""}})])},staticRenderFns:[]},(function(t){t&&t("data-v-20fcd1d6_0",{source:".wf-browser,.wf-browser iframe,.wf-browser webview{width:100%;height:100%;border:none}",map:void 0,media:void 0})}),{name:"Browser",props:{src:{type:String,default:""},resetPage:{type:Boolean,default:!1}},computed:o(o({},j("wf",["reset"])),{},{webview:function(){return"options"in document.createElement("webview")?(console.log("webview exists"),!0):(console.log("webview not exists"),!1)}}),data:function(){return{currentSRC:""}},mounted:function(){var t=this;this.currentSRC=this.src,this.$refs.frame.addEventListener("load",(function(){console.log("frame.load",t.$refs.frame.contentWindow.document)}))},watch:{reset:function(t){this.resetPage&&(this.currentSRC=this.src+"?t="+Date.now())},src:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){this.currentSRC=this.src,console.log("src",src)}))}},undefined,false,undefined,!1,f,void 0,void 0),ft=Object.freeze({__proto__:null,WFMap:m,WFAZMenu:$,WFFlagsMenu:D,WFLanguagesMenu:z,WFGroupsMenu:B,WFSubGroupMenu:R,WFGroupPOIsMenu:G,WFBuildingLogo:W,WFShortcutsMenu:Y,WFZoomMenu:H,WFFloorsMenu:Z,WFFilteredMenu:q,WFSearch:K,WFLoading:J,WFClock:tt,WFDate:et,WFTabs:it,WFTab:nt,WFTabButtons:at,WFScrollableArea:st,WFBanner:rt,WFPageMenu:ct,WFAlphabet:ut,WFPOI:F,WFGroup:A,WFPage:lt,WFTranslate:ht,WFYAH:V,WFBrowser:dt});function pt(t){return Object.assign(Object.create(Object.getPrototypeOf(t)),t)}function gt(t){return t=pt(t),Object.defineProperty(t,"parent",{configurable:!1}),Object.defineProperty(t,"color",{configurable:!1}),Object.defineProperty(t,"desciptions",{configurable:!1}),Object.defineProperty(t,"childGroups",{configurable:!1}),Object.defineProperty(t,"names",{configurable:!1}),t}var mt=["floor","groups","groupNames","node","settings","names","descriptions","advertisements","meshNode","submesh","canvasBoard","poiComponent","wayfinder","engine"];function vt(t){for(var e in t=pt(t),mt)void 0!==t[mt[e]]&&Object.defineProperty(t,mt[e],{configurable:!1});return t.wayfinder=void 0,t.engine=void 0,t}var wt,yt={namespaced:!0,state:{floors:[],pois:[],poiGroups:[],loaded:!1,language:"en",languages:[],shortcuts:[],filteredPOIs:[],currentFloor:null,building:null,yahLogo:"",banners:null,landscape:!1,portrait:!1,mobile:!1,maxInActivity:30,reset:0,pages:{},template:{}},getters:{xLanguage:function(t,e){return void 0!==n.default.prototype.$wayfinder&&(t.language=Object.freeze(n.default.prototype.$wayfinder.getLanguage())),t.language},xFloors:function(t){var e;void 0!==n.default.prototype.$wayfinder&&n.default.prototype.$wayfinder.building&&(t.floors=Object.freeze(n.default.prototype.$wayfinder.building.getSortedFloors().map((function(t){return(e=pt(t)).pois=e.pois.map((function(t){return vt(t)})),delete e.nodes,delete e.node3D,e}))));return t.floors},xLanguages:function(t){return void 0!==n.default.prototype.$wayfinder&&(t.languages=Object.freeze(Object.values(n.default.prototype.$wayfinder.getLanguages()).reverse())),t.languages},xShortcuts:function(t){if(void 0!==n.default.prototype.$wayfinder){var e,i=n.default.prototype.$wayfinder.getPOIGroups(),a=[];Object.keys(i).forEach((function(t){parseInt(i[t].showInTopMenu)&&((e=gt(i[t])).pois=e.pois.map((function(t){return vt(t)})),a.push(Object.freeze(e)))})),a=a.sort((function(t,e){return-(t.order-e.order)})),t.shortcuts=a}return t.shortcuts},xBuilding:function(t){if("undefined"!==n.default.prototype.$wayfinder){var e=pt(n.default.prototype.$wayfinder.building);Object.defineProperty(e,"floors",{configurable:!1}),Object.defineProperty(e,"currentFloor",{configurable:!1}),Object.defineProperty(e,"sortedFloors",{configurable:!1}),t.building=Object.freeze(e)}return t.building},xYahLogo:function(t){void 0!==n.default.prototype.$wayfinder&&(t.yahLogo="url("+WayfinderAPI.getURL("images","get",n.default.prototype.$wayfinder.settings.getInt("kiosk.you-are-here-image",0))+")")},xPOIs:function(t){void 0!==n.default.prototype.$wayfinder&&(t.pois=Object.freeze(n.default.prototype.$wayfinder.poisArray.map((function(t){return vt(t)}))))},xTopics:function(t){if(void 0!==n.default.prototype.$wayfinder){var e,i=n.default.prototype.$wayfinder.poiGroups,a=[];for(var o in i)(e=gt(i[o])).pois=i[o].pois.map((function(t){return vt(t)})),a.push(e);t.poiGroups=Object.freeze(a)}},xBanners:function(t){void 0!==n.default.prototype.$wayfinder&&(t.banners=Object.assign({},n.default.prototype.$wayfinder.getFilteredAdvertisements()))},xTemplateSettings:function(t){if(void 0!==n.default.prototype.$wayfinder){var e=n.default.prototype.$wayfinder.settings;for(var i in e.data)0===i.indexOf("template.default")&&(e.data[i],t.template[(a=i,o=void 0,o=a.split("."),(a=(a=o[o.length-1]).replaceAll("-"," ")).replace(/(?:^\w|[A-Z]|\b\w)/g,(function(t,e){return 0===e?t.toLowerCase():t.toUpperCase()})).replace(/\s+/g,""))]=e.get(i))}var a,o},freezePOI:function(t){return function(t){return vt(t)}}},mutations:{SET_POI:function(t,e){t.currentPOI=e},SET_TAB:function(t,e){t.currentTab=e},SET_GROUP:function(t,e){t.currentGroup=Object.freeze(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_PORTRAIT:function(t,e){t.portrait=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){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_PORTRAIT:function(t,e){t.commit("SET_PORTRAIT",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){e=e.map((function(t){return Object.freeze(t)})),t.commit("SET_FILTERED_POIS",e)},LOAD_PAGES:function(t){Logistics.getJSON(WayfinderAPI.getURL("pages","getAll",[]),null,(function(e){e&&e.data&&t.commit("SET_PAGES",Object.freeze(e.data))}))},SET_TEMPLATE_SETTINGS:function(t){}}},bt={init:function(t){t.registerModule("wf",yt),wt=t},loadPages:function(){wt.dispatch("wf/LOAD_PAGES")}},_t=function(t,e){bt.init(e),t.prototype.$wayfinderApp=bt,Object.entries(ft).forEach((function(e){var i=c(e,2),n=i[0],a=i[1];t.component(n,a)}))},Ct=Object.freeze({__proto__:null,default:_t,WFMap:m,WFAZMenu:$,WFFlagsMenu:D,WFLanguagesMenu:z,WFGroupsMenu:B,WFSubGroupMenu:R,WFGroupPOIsMenu:G,WFBuildingLogo:W,WFShortcutsMenu:Y,WFZoomMenu:H,WFFloorsMenu:Z,WFFilteredMenu:q,WFSearch:K,WFLoading:J,WFClock:tt,WFDate:et,WFTabs:it,WFTab:nt,WFTabButtons:at,WFScrollableArea:st,WFBanner:rt,WFPageMenu:ct,WFAlphabet:ut,WFPOI:F,WFGroup:A,WFPage:lt,WFTranslate:ht,WFYAH:V,WFBrowser:dt});return Object.entries(Ct).forEach((function(t){var e=c(t,2),i=e[0],n=e[1];"default"!==i&&(_t[i]=n)})),_t}(Vue);
7
+ function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:i});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,e.call(this,t)}}function i(){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 i=t.plugins;void 0===i&&(i=[]);var n=t.strict;void 0===n&&(n=!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,i){return s.call(a,t,e,i)},this.strict=n;var r=this._modules.root.state;E(this,r,[],this._modules.root),x(this,r),i.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)},P={state:{configurable:!0}};function S(t,e,i){return e.indexOf(t)<0&&(i&&i.prepend?e.unshift(t):e.push(t)),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function T(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var i=t.state;E(t,i,[],t._modules.root,!0),x(t,i,e)}function x(t,e,i){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var a=t._wrappedGetters,o={};w(a,(function(e,i){o[i]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,i,{get:function(){return t._vm[i]},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),n&&(i&&t._withCommit((function(){n._data.$$state=null})),C.nextTick((function(){return n.$destroy()})))}function E(t,e,i,n,a){var o=!i.length,s=t._modules.getNamespace(i);if(n.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=n),!o&&!a){var r=M(e,i.slice(0,-1)),c=i[i.length-1];t._withCommit((function(){C.set(r,c,n.state)}))}var u=n.context=function(t,e,i){var n=""===e,a={dispatch:n?t.dispatch:function(i,n,a){var o=N(i,n,a),s=o.payload,r=o.options,c=o.type;return r&&r.root||(c=e+c),t.dispatch(c,s)},commit:n?t.commit:function(i,n,a){var o=N(i,n,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:n?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var i={},n=e.length;Object.keys(t.getters).forEach((function(a){if(a.slice(0,n)===e){var o=a.slice(n);Object.defineProperty(i,o,{get:function(){return t.getters[a]},enumerable:!0})}})),t._makeLocalGettersCache[e]=i}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return M(t.state,i)}}}),a}(t,s,i);n.forEachMutation((function(e,i){!function(t,e,i,n){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){i.call(t,n.state,e)}))}(t,s+i,e,u)})),n.forEachAction((function(e,i){var n=e.root?i:s+i,a=e.handler||e;!function(t,e,i,n){(t._actions[e]||(t._actions[e]=[])).push((function(e){var a,o=i.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.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,n,a,u)})),n.forEachGetter((function(e,i){!function(t,e,i,n){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return i(n.state,n.getters,t.state,t.getters)}}(t,s+i,e,u)})),n.forEachChild((function(n,o){E(t,e,i.concat(o),n,a)}))}function M(t,e){return e.reduce((function(t,e){return t[e]}),t)}function N(t,e,i){return y(t)&&t.type&&(i=e,e=t,t=t.type),{type:t,payload:e,options:i}}P.state.get=function(){return this._vm._data.$$state},P.state.set=function(t){},O.prototype.commit=function(t,e,i){var n=this,a=N(t,e,i),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,n.state)})))},O.prototype.dispatch=function(t,e){var i=this,n=N(t,e),a=n.type,o=n.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,i.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{i._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,i.state)}))}catch(t){}t(e)}),(function(t){try{i._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,i.state,t)}))}catch(t){}e(t)}))}))}},O.prototype.subscribe=function(t,e){return S(t,this._subscribers,e)},O.prototype.subscribeAction=function(t,e){return S("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},O.prototype.watch=function(t,e,i){var n=this;return this._watcherVM.$watch((function(){return t(n.state,n.getters)}),e,i)},O.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},O.prototype.registerModule=function(t,e,i){void 0===i&&(i={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),E(this,this.state,t,this._modules.get(t),i.preserveState),x(this,this.state)},O.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var i=M(e.state,t.slice(0,-1));C.delete(i,t[t.length-1])})),T(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),T(this,!0)},O.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(O.prototype,P);var L,j=(L=function(t,e){var i,n={};return(i=e,function(t){return Array.isArray(t)||y(t)}(i)?Array.isArray(i)?i.map((function(t){return{key:t,val:t}})):Object.keys(i).map((function(t){return{key:t,val:i[t]}})):[]).forEach((function(e){var i=e.key,a=e.val;n[i]=function(){var e=this.$store.state,i=this.$store.getters;if(t){var n=function(t,e,i){return t._modulesNamespaceMap[i]}(this.$store,0,t);if(!n)return;e=n.context.state,i=n.context.getters}return"function"==typeof a?a.call(this,e,i):e[a]},n[i].vuex=!0})),n},function(t,e){return"string"!=typeof t?(e=t,t=""):"/"!==t.charAt(t.length-1)&&(t+="/"),L(t,e)});var F=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.poi?i("div",{staticClass:"wf-poi"},[t.showLogo?i("div",{staticClass:"wf-poi-image",class:[t.isImage()],style:{"background-image":t.getImage()}}):t._e(),t._v(" "),t.showName?i("div",{staticClass:"wf-poi-name",domProps:{innerHTML:t._s(t.poi.getName(t.language)||"POI")}}):t._e(),t._v(" "),t.showPathButton?i("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.showPath,expression:"showPath",arg:"tap"}],staticClass:"wf-show-path"},[i("button",[i("label",{attrs:{"data-translation-element":"show_path"}},[t._v(t._s(t.show_path))]),t._v(" "),i("i")])]):t._e(),t._v(" "),t.showAccessibilityPathButton?i("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.showAccessibilityPath,expression:"showAccessibilityPath",arg:"tap"}],staticClass:"wf-show-path wf-show-accessibility-path"},[i("button",[i("label",{attrs:{"data-translation-element":"show_accessibility_path"}},[t._v(t._s(t.show_accessibility_path))]),t._v(" "),i("i")])]):t._e(),t._v(" "),t.showDescription?i("div",{staticClass:"wf-poi-description",domProps:{innerHTML:t._s(t.poi.getDescription(t.language)||"")}}):t._e(),t._v(" "),t.showRoomID?i("div",{staticClass:"wf-poi-room_id",domProps:{innerHTML:t._s(t.poi.room_id||"")}}):t._e(),t._v(" "),t.showFloor&&t.poi.getFloor()?i("div",{staticClass:"wf-poi-floor",domProps:{innerHTML:t._s(t.poi.getFloor().getName(t.language)||"")}}):t._e(),t._v(" "),t.showDistance?i("div",{staticClass:"wf-poi-distance"},[i("span",{staticClass:"wf-path-time"},[t._v(t._s(t.pathTime))]),t._v(" "),i("span",{staticClass:"wf-path-steps"},[t._v(t._s(t.pathSteps))]),t._v(" "),i("span",{staticClass:"wf-path-length"},[t._v(t._s(t.pathLength))])]):t._e()]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-0611a148_0",{source:".layout-view[data-v-0611a148]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.poi-info[data-v-0611a148]{padding:1rem}.poi-info h2[data-v-0611a148]{text-align:center;margin-top:1.5rem;margin-bottom:1.5rem}.poi-body[data-v-0611a148]{box-shadow:0 -2px 1px 0 rgba(0,0,0,.05);padding:1rem;flex-grow:1}.poi-image[data-v-0611a148]{height:14rem;width:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat}.poi-image.image-background[data-v-0611a148]{background-size:cover}.show-path[data-v-0611a148]{bottom:1rem;right:1rem;text-transform:uppercase;z-index:10;line-height:2.8rem;margin-bottom:1.5rem}.show-path button[data-v-0611a148]{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-0611a148]{line-height:1.2}.poi-contact .address[data-v-0611a148]{font-weight:600;margin-bottom:.5rem}.poi-contact .address span[data-v-0611a148]{padding-top:4px;vertical-align:top;display:inline-block}.poi-contact .address a[data-v-0611a148]{text-decoration:none;display:block;line-height:1.5}.poi-contact .address .icon[data-v-0611a148]: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)},hasShowAccessibilityPathListener:function(){return!(!this.$listeners||!this.$listeners.showAccessibilityPath)}}),props:{poi:{type:Object,default:null},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showAccessibilityPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},showDistance:{type:Boolean,default:!1}},mounted:function(){this.$wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"),this.show_accessibility_path=this.$wayfinder.translator.get("show_accessibility_path"))},watch:{language:function(){this.$wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"),this.show_accessibility_path=this.$wayfinder.translator.get("show_accessibility_path"))},poi:function(){if(this.showDistance&&this.$wayfinder){var t=this.$wayfinder.findPath(this.$wayfinder.getKioskNode(),this.poi.getNode());this.path2Text=this.$wayfinder.pathToText(t),console.log("watch.path",this.path2Text)}}},methods:{showPath:function(){this.poi&&(this.hasShowPathListener?this.$emit("showPath",this.poi):this.$wayfinder.showPath(this.poi.getNode(),this.poi))},showAccessibilityPath:function(){this.poi&&(this.hasShowAccessibilityPathListener?this.$emit("showAccessibilityPath",this.poi):this.$wayfinder.showPath(this.poi.getNode(),this.poi,{ignoreTypes:["escalator","stairs"]}))},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",show_accessibility_path:"Show Accessibility Path",pathTime:"",unit:"m",path2Text:null}}},"data-v-0611a148",false,undefined,!1,f,void 0,void 0),$=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-az-menu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return i("li",{directives:[{name:"touch",rawName:"v-touch:tap.self",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap",modifiers:{self:!0}}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id}},[t._t("default",(function(){return[i("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-072809e2_0",{source:".wf-list-item[data-v-072809e2]{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,i){return e.getName(t.language)&&i.getName(t.language)?e.getName(t.language).localeCompare(i.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-072809e2",false,undefined,!1,f,void 0,void 0),D=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-languages-container",class:[t.active?"wf-active":""]},[t.showTitle?i("div",{staticClass:"wf-languages-container-select"},[t._v("Select language")]):t._e(),t._v(" "),i("div",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.languages,(function(e){return i("div",{key:e.getName(),class:["item","language","lang-"+e.getName(),{active:e.getName()==t.language,display:t.active}],on:{click:function(i){return t.changeLanguage(e)}}},[t.showFlag?i("div",{staticClass:"wf-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?i("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?i("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),z=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-languages-menu",class:{"wf-active":t.active}},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count,t.active?"wf-active":""]},t._l(t.languages,(function(e){return i("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(i){return t.changeLanguage(e)}}},[t.showFlag?i("div",{staticClass:"wf-lang-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?i("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?i("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),A=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.group?i("div",{staticClass:"wf-group",class:[t.hasImage()]},[i("label",{staticClass:"wf-name",domProps:{innerHTML:t._s(t.group.getName(t.language))}}),t._v(" "),t.showPOICount?i("label",{staticClass:"wf-poi-count"},[t._v(t._s(t.group.pois.length))]):t._e(),t._v(" "),t.showIcon?i("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(){this.$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-d6a1098a",false,undefined,!1,void 0,void 0,void 0),R=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-groups-menu"},[t.parentGroup?i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[t.showParentGroup?i("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._e(),t._v(" "),t._l(t.sortedGroups,(function(e){return i("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[i("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[i("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),e.pois.length>0&&t.showPOIs?i("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 i("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[i("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.showPOIs?i("div",t._l(t.sortedPOIs(t.parentGroup.pois),(function(e){return i("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[i("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()],2):t._e()])},staticRenderFns:[]},(function(t){t&&t("data-v-4c01bb2f_0",{source:".wf-groups-menu .wf-list-item[data-v-4c01bb2f]{list-style:none}.wf-groups-menu .wf-list[data-v-4c01bb2f]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"SubGroupMenu",components:{Group:A,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},showParentGroup:{type:Boolean,default:!1}},data:function(){return{current:null,parentGroup:null,sortedGroups:[],count:0}},computed:o(o({},j("wf",["poiGroups","currentGroup","language"])),{},{currentGroupName:function(){return this.parentGroup?this.parentGroup.getName(this.language):""}}),mounted:function(){this.sortedGroups=this.sortGroups()},watch:{parent:function(){this.sortedGroups=this.sortGroups()},currentGroup:function(){this.current=this.currentGroup},poiGroups:function(){this.sortedGroups=this.sortGroups()}},methods:{onClick:function(t){var e=this;return function(){e.current&&t&&e.current.id==t.id?e.current=null:e.current=Object.freeze(t),e.$emit("clicked",t)}},onPOICLick:function(t){var e=this;return function(){e.$emit("poiClicked",t)}},back:function(){var t=this;return function(){t.$emit("back")}},reset:function(){this.$store.dispatch("wf/SET_CURRENT_GROUP",null)},sortGroups:function(){var t,e=this,i=[],n=this.poiGroups;for(var a in n)(t=n[a]).id==this.parent&&(this.parentGroup=t),t&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent||-1===this.parent&&null===t.parent_id)&&i.push(t);return this.az?i=i.sort((function(t,i){return t&&t.getName(e.language)&&i&&i.getName(e.language)?t.getName(e.language).localeCompare(i.getName(e.language),e.language,{sensitivity:"accent"}):0})):this.order&&(i=i.sort((function(t,e){return t&&e?t.order-e.order:0}))),this.count=i.length,i},subGroups:function(t){if(t){var e,i=[];for(var n in t)e=parseInt(t[n]),this.poiGroups[e]&&this.poiGroups[e].getShowInMenu()&&i.push(this.poiGroups[e]);return i}return[]},sortedPOIs:function(t){var e=this,i=t.slice().filter((function(t){return t&&t.getShowInMenu()}));return this.sortPOIs?i=i.sort((function(t,i){return t.getName(e.language)&&i.getName(e.language)?t.getName(e.language).localeCompare(i.getName(e.language)):0})):i}}},"data-v-4c01bb2f",false,undefined,!1,f,void 0,void 0),B=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-groups-menu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[t._t("prepend"),t._v(" "),t.showParentGroup?i("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._e(),t._v(" "),t._l(t.sortedGroups,(function(e){return i("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[i("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[i("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),t.showSubGroups?i("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id&&t.subGroups(e.childGroups).length>0,expression:"current && topic.id == current.id && subGroups(topic.childGroups).length > 0"}]},[i("SubGroupMenu",{attrs:{parent:parseInt(e.id),showPOICount:t.showPOICount,az:t.az,order:t.order,showIcon:t.showIcon,showPOIs:t.showPOIs,sortPOIs:t.sortPOIs},on:{clicked:t.onSubGroupClick,poiClicked:t.onSubPOICLick}})],1):t._e(),t._v(" "),e.pois.length>0&&t.showPOIs?i("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 i("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[i("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-14aa6a66_0",{source:".wf-groups-menu .wf-list-item[data-v-14aa6a66]{list-style:none}.wf-groups-menu .wf-list[data-v-14aa6a66]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"GroupsMenu",components:{Group:A,POI:F,SubGroupMenu:R},props:{currentGroup:{type:Object,default:null},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},showParentGroup:{type:Boolean,default:!1}},watch:{currentGroup:function(){this.current=this.currentGroup}},data:function(){return{count:0,current:null,parentGroup:null}},computed:o(o({},j("wf",["poiGroups","language"])),{},{sortedGroups:function(){var t,e=this,i=[],n=this.poiGroups;for(var a in n)(t=n[a]).id==this.parent&&(this.parentGroup=t),t&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent?i.push(t):-1!==this.parent||null!==t.parent_id&&0!=t.parent_id||i.push(t));return this.az?i=i.sort((function(t,i){return t&&t.getName(e.language)&&i&&i.getName(e.language)?t.getName(e.language).localeCompare(i.getName(e.language),e.language,{sensitivity:"accent"}):0})):this.order&&(i=i.sort((function(t,e){return t&&e?t.order-e.order:0}))),this.count=i.length,i},currentGroupName:function(){return this.parentGroup?this.parentGroup.getName(this.language):""}}),methods:{onClick:function(t){var e=this;return function(){e.current&&t&&e.current.id==t.id?e.current=null:(e.current=Object.freeze(t),e.current&&e.showSubGroups&&t&&t.childGroups&&t.childGroups.length>0||e.$emit("clicked",t))}},onPOICLick:function(t){var e=this;return function(){e.$emit("poiClicked",t)}},onSubGroupClick:function(t){this.$emit("subGroupClicked",t)},onSubPOICLick:function(t){this.$emit("poiClicked",t)},reset:function(){this.current=null},back:function(){var t=this;return function(){t.$emit("back")}},subGroups:function(t){if(t){var e,i=[];for(var n in t)e=parseInt(t[n]),this.poiGroups[e]&&this.poiGroups[e].getShowInMenu()&&i.push(this.poiGroups[e]);return i}return[]},sortedPOIs:function(t){var e=this,i=t.slice().filter((function(t){return t&&t.getShowInMenu()}));return this.sortPOIs?i=i.sort((function(t,i){return t.getName(e.language)&&i.getName(e.language)?t.getName(e.language).localeCompare(i.getName(e.language)):0})):i}}},"data-v-14aa6a66",false,undefined,!1,f,void 0,void 0),G=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-group-pois-menu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[i("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 i("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,i){return e.getName(t.language).localeCompare(i.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),W=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: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),V=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("button",{staticClass:"wf-component wf-yah",on:{click:function(e){return t.onClicked()}}},[i("i",{staticClass:"wf-icon",style:{"background-image":t.yahLogo}}),t._v(" "),i("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),Y=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-shortcuts-menu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.shortcuts,(function(e){return i("li",{key:e.getID(),staticClass:"wf-list-item wf-shortcut",class:["wf-shortcut-"+e.getID()],on:{click:function(i){return t.showShortcut(e)}}},[t.showIcon?i("img",{staticClass:"wf-icon",attrs:{src:t.getImage(e.imageID)}}):t._e(),t._v(" "),t.showLabel?i("label",[t._v(t._s(e.getName(t.language)))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-4e88a0ea_0",{source:".shortcuts-container[data-v-4e88a0ea]{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-4e88a0ea]{position:absolute;left:.5rem;bottom:15%;top:15%;flex-direction:column;justify-content:center}",map:void 0,media:void 0})}),{name:"ShortcutsMenu",components:{YAH:V},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"])),{},{count:function(){return this.shortcuts.length},hasClickedListener:function(){return!(!this.$listeners||!this.$listeners.clicked)}}),methods:{showShortcut:function(t){var e=this.$wayfinder.getNearestPOI(this.$wayfinder.getKiosk(),t.pois);this.hasClickedListener?this.$emit("clicked",e,t):(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-4e88a0ea",false,undefined,!1,f,void 0,void 0),U=null,H=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-zoommenu"},[i("div",{directives:[{name:"touch",rawName:"v-touch:start",value:t.touchStart(1),expression:"touchStart(1)",arg:"start"},{name:"touch",rawName:"v-touch:end",value:t.touchStop(),expression:"touchStop()",arg:"end"}],staticClass:"wf-item wf-zoom-in",on:{mousedown:function(e){return t.start(1)},mouseleave:function(e){return t.stop()},mouseup:function(e){return t.stop()}}},[t._v("+")]),t._v(" "),i("div",{directives:[{name:"touch",rawName:"v-touch:start",value:t.touchStart(-1),expression:"touchStart(-1)",arg:"start"},{name:"touch",rawName:"v-touch:end",value:t.touchStop(),expression:"touchStop()",arg:"end"}],staticClass:"wf-item wf-zoom-out",on:{mousedown:function(e){return t.start(-1)},mouseleave:function(e){return t.stop()},mouseup:function(e){return t.stop()}}},[t._v("-")])])},staticRenderFns:[]},(function(t){t&&t("data-v-260dca50_0",{source:".wf-zoommenu[data-v-260dca50]{user-select:none}",map:void 0,media:void 0})}),{data:function(){return{direction:0,zooming:!1}},methods:{touchStart:function(t){var e=this;return function(){e.start(t)}},touchStop:function(){var t=this;return function(){t.stop()}},start:function(t){this.direction=t,this.zooming=!0,this.zoom()},stop:function(){this.direction=0,this.zooming=!1,clearTimeout(U)},zoom:function(){var t=this;this.direction>0?this.$wayfinder.zoomIn():this.$wayfinder.zoomOut(),this.zooming&&(U=setTimeout((function(){t.zoom()}),50))}}},"data-v-260dca50",false,undefined,!1,f,void 0,void 0),Z=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-floors-menu"},[i("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 i("li",{key:e.id,staticClass:"wf-list-item",class:["wf-lang-"+t.language,"wf-floor-"+e.index,{"wf-active":t.currentFloor&&e.id==t.currentFloor.id}],on:{click:function(i){return t.changeFloor(e)}}},[i("label",{staticClass:"wf-title"},[t._v(t._s(e.getName(t.language)))]),t._v(" "),t.showPOICount?i("label",{staticClass:"wf-count"},[t._v(t._s(e.pois.length))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-c6d992a4_0",{source:".wf-floors-menu .wf-list-item[data-v-c6d992a4]{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=[],i=this.floors;for(var n in i)(t=i[n])&&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-c6d992a4",false,undefined,!1,f,void 0,void 0),q=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-filteredmenu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return i("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(i){return t.onClick(e)}}},[t._t("default",(function(){return[i("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,i=t.slice().filter((function(t){return t&&t.getShowInMenu()}));i=i.sort((function(t,i){return t.getName(e.language)&&i.getName(e.language)?t.getName(e.language).localeCompare(i.getName(e.language)):0})),this.count=i.length,this.sortedPOIs=i}},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 X(t,e,i){return t(i={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&i.path)}},i.exports),i.exports}var Q=X((function(t){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.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 a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));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=0)}([function(t,e,i){i.r(e);class n{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,i){this.layouts={},this.layoutName=void 0===i?"en":i,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.outputSelectionEnabled=!1,this.value="",this.events={change:[],layout:[],ready:[]},this.actions=new n(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 i;for(let n=0,a=this.events[e].length;n<a;n++)"function"==typeof(i=this.events[e][n])&&i.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(!t)return void console.warn("Input field not given",t);let e;if("string"==typeof t){if(e=document.getElementById(t),this.output=e,!this.output)return void console.warn("Input field not found",t)}else e=t,this.output=t;"input"!==this.getFieldType(this.output)&&(this.outputIsInputField=!1);let i=this.getFieldValue(e);this.value=i,this.selectionEnd=i.length,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()})))}setOutputSelection(t){this.outputSelectionEnabled=t}getFieldValue(t){if(!t)return"";switch(this.getFieldType(t)){case"input":return t.value;case"textarea":return t.innerText;default:return""}}updateFromOutput(){this.value=this.getFieldValue(this.output),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,this.pushtoOutput()}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 i in e){t+="<div class='keyboard-row keyboard-row-"+i+"'>";for(let n in e[i]){let a=e[i][n];switch(typeof a){case"string":t+="<div class='keyboard-key "+a+"' row='"+i+"' index='"+n+"'>"+a+"</div>";break;case"object":let e="";a.cls&&(e=a.cls),t+="<div class='keyboard-key keyboard-"+e+" "+a.key+"' object='' row='"+i+"' index='"+n+"'>"+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,i=0;for(let n=0;n<this.container.children.length;n++){let a=(t=this.container.children[n]).offsetHeight-t.clientHeight,o=t.offsetWidth-t.clientWidth;for(let i=0;i<t.children.length;i++)o+=((e=t.children[i]).offsetWidth<this.container.offsetWidth?e.offsetWidth:this.container.offsetWidth)+1,a=Math.max(a,this.container.offsetHeight);t.width=o,t.height=a,i+=a}this.container.height=i,this.trigger("ready")}keyPressed(t){t.classList.add("keyboard-key-pressed");let e=this.getCurrentKeyset()[t.getAttribute("row")];if(!e)return;let i=e[t.getAttribute("index")];switch(typeof i){case"string":this.changeValue(i);break;case"object":void 0===i.action?this.changeValue(i.key):this.actions.activate(i)}this.pushtoOutput()}changeValue(t){let e=this.value.substring(0,this.selectionStart),i=this.value.substring(this.selectionEnd,this.value.length);this.value=""+e+t+i,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)}}getFieldType(t){return t&&t.tagName?t.tagName.toLowerCase():"nan"}getCaretPosition(){this.output&&this.outputIsInputField&&this.outputSelectionEnabled&&(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"}]]}}}}i.d(e,"OSK",(function(){return a})),i.d(e,"OSKActions",(function(){return n}))}]).OSK})),K=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-search"},[t.showCloseButton?i("div",{staticClass:"wf-close",attrs:{"data-translation-element":"close"},on:{click:function(e){return t.close(e)}}},[t._v("Close")]):t._e(),t._v(" "),i("div",{staticClass:"wf-search-container"},[i("div",{staticClass:"wf-search-results",class:{"wf-no-results":0==t.results.length}},[i("transition-group",{staticClass:"wf-list",attrs:{name:"list",tag:"ul"}},t._l(t.results,(function(e){return e&&e.getShowInMenu()?i("li",{key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(i){return t.onClick(e)}}},[t._t("default",(function(){return[i("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(" "),i("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?i("div",{staticClass:"wf-search-input-container"},[i("input",{ref:"searchInput",attrs:{id:t.inputId}})]):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:t.showKeyboard,expression:"showKeyboard"}],staticClass:"wf-keyboard",attrs:{id:t.keyboardContainerId}})])])},staticRenderFns:[]},(function(t){t&&t("data-v-169aa3ad_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;user-select:none}.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: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,inputId:"",keyboardContainerId:""}},mounted:function(){var t=this,e=Date.now();this.inputId="wf-search-input-"+e,this.keyboardContainerId="wf-keyboard-container-"+e,this.$nextTick((function(){t.keyboard=new Q(t.inputId,t.keyboardContainerId),t.keyboard.on("change",(function(e){var i=t.$wayfinder.search.search(e);i=t.limit>0?i.slice(0,t.limit):i.slice();var n=Object.values(i).map((function(e){return t.$store.getters["wf/freezePOI"](e)}));console.log("resultArr",n,t.$wayfinder),t.results=n,e.length>1&&(Object.values(t.results).length>0?t.$wayfinder.statistics.onSearch(e,"successful"):t.$wayfinder.statistics.onSearch(e,"unsuccessful"))})),t.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"}]]}}),t.keyboard.changeLayout(t.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())},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),J=h({render:function(){var t=this;t.$createElement;return t._self._c,t._m(0)},staticRenderFns:[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"loading"},[i("div",{staticClass:"lds-ellipsis"},[i("div"),t._v(" "),i("div"),t._v(" "),i("div"),t._v(" "),i("div")])])}]},(function(t){t&&t("data-v-7e3728f4_0",{source:".loading[data-v-7e3728f4]{width:100%;height:100vh;position:absolute;top:0;bottom:0;display:flex;z-index:100;justify-content:center;align-items:center;background-color:#fff}.lds-ellipsis[data-v-7e3728f4]{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div[data-v-7e3728f4]{position:absolute;display:inline-block;top:33px;width:13px;height:13px;border-radius:50%;background:#333;animation-timing-function:cubic-bezier(0,1,1,0)}.lds-ellipsis div[data-v-7e3728f4]:nth-child(1){left:8px;animation:lds-ellipsis1-data-v-7e3728f4 .6s infinite}.lds-ellipsis div[data-v-7e3728f4]:nth-child(2){left:8px;animation:lds-ellipsis2-data-v-7e3728f4 .6s infinite}.lds-ellipsis div[data-v-7e3728f4]:nth-child(3){left:32px;animation:lds-ellipsis2-data-v-7e3728f4 .6s infinite}.lds-ellipsis div[data-v-7e3728f4]:nth-child(4){left:56px;animation:lds-ellipsis3-data-v-7e3728f4 .6s infinite}@keyframes lds-ellipsis1-data-v-7e3728f4{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3-data-v-7e3728f4{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2-data-v-7e3728f4{0%{transform:translate(0,0)}100%{transform:translate(24px,0)}}",map:void 0,media:void 0})}),{name:"Loading"},"data-v-7e3728f4",false,undefined,!1,f,void 0,void 0),tt=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-clock"},[i("div",[i("span",{staticClass:"wf-clock-hours"},[t._v(t._s(t.hours))]),i("span",{staticClass:"wf-clock-sp"},[t._v(":")]),i("span",{staticClass:"wf-clock-minutes"},[t._v(t._s(t.minutes))])])])},staticRenderFns:[]},undefined,{name:"Clock",data:function(){return{time:new Date}},mounted:function(){setTimeout(this.addTime,500)},computed:{hours:function(){return(this.time.getHours()<10?"0":"")+this.time.getHours()},minutes:function(){return(this.time.getMinutes()<10?"0":"")+this.time.getMinutes()},seconds:function(){return(this.time.getSeconds()<10?"0":"")+this.time.getSeconds()}},methods:{addTime:function(){this.time=new Date,setTimeout(this.addTime,500)}}},undefined,false,undefined,!1,void 0,void 0,void 0);var et=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{staticClass:"wf-date"},[t._v("\n "+t._s(t.datestr)+"\n")])},staticRenderFns:[]},undefined,{name:"Date",props:{format:{type:String,default:"DD.MM"}},data:function(){return{time:new Date,locales:{}}},mounted:function(){setTimeout(this.addDate,1e3),"undefined"==typeof dayjs&&console.warn("WFDate dayjs is not loaded"),this.loadLocale(this.language)},computed:o(o({},j("wf",["language"])),{},{datestr:function(){return"undefined"!=typeof dayjs?dayjs(this.time).format(this.format):this.time.toLocaleString(this.language,{dateStyle:"long"})}}),watch:{language:function(){this.time=new Date,"undefined"!=typeof dayjs&&(this.locales[this.language]||this.loadLocale(this.language),dayjs.locale(this.language))}},methods:{addDate:function(){this.time=new Date,setTimeout(this.addDate,6e4)},loadLocale:function(t){var e,i,n,a=this;e=this.$wayfinder.options.assetsLocation+"/dayjs/locale/"+t+".js",i=function(e){console.log("locale.loaded",e,t,a.language),a.locales[t]=!0,a.language==t&&dayjs&&dayjs.locale(a.language)},(n=document.createElement("script")).type="text/javascript",n.async=!0,document.getElementsByTagName("head")[0].appendChild(n),"function"==typeof i&&(n.onload=i,n.src=e)}}},undefined,false,undefined,!1,void 0,void 0,void 0),it=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{ref:"tabs",staticClass:"wf-component wf-tabs",class:["wf-tabs-"+t.activeTab,"wf-tabs-index-"+t.activeTabIndex,"wf-tabs-animate-"+t.animate]},[i("div",{ref:"slide",staticClass:"wf-tabs-content"},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-b355b366_0",{source:".wf-tabs[data-v-b355b366]{overflow:hidden;position:relative;width:100%;height:100%}.wf-tabs-content[data-v-b355b366]{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-b355b366]{flex-direction:column}.wf-tab[data-v-b355b366]{opacity:0;transition:opacity .3s ease-out .5s}.wf-tabs-animate-none .wf-tab[data-v-b355b366]{transition:none!important}.wf-tab.wf-active[data-v-b355b366]{opacity:1;transition:opacity .3s ease-in}.wf-tabs.wf-tabs-animate-horizontal .wf-tabs-content[data-v-b355b366],.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-b355b366]{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(){this.activate()}},methods:{activate:function(){for(var t in console.log("tabs.activate",this.activeTab,this.$props.activeTab),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-b355b366",false,undefined,!1,f,void 0,void 0),nt=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),at=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-tab-buttons"},[i("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(" "),i("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(" "),i("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(" "),i("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),ot=X((function(t){t.exports=function(t){var e={};function i(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,i),a.l=!0,a.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 a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));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],a=i*i+n*n;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,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 a=e[0],o=e[1];return t[0]=a+n*(i[0]-a),t[1]=o+n*(i[1]-o),t},transformMat2:function(t,e,i){var n=e[0],a=e[1];return t[0]=n*i[0]+a*i[1],t[1]=n*i[2]+a*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 n=i(0),a=i.n(n);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.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,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,i){var n=a.a.clone(t);return a.a.max(n,n,e),a.a.min(n,n,i),n}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.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(a.a.fromValues(this.element.clientWidth,this.element.clientHeight),a.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=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(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=a.a.create(),i=t.getContentViewRatio()[this.vertical?1:0];a.a.scale(e,t.getContentPosition(),i),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.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){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!==i&&i&&(this.options=this.chooseOptions(this.options,i)),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=a.a.create(),this.lastTime=0,this.deltaTime=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.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.container){var n=this;this.resizeObserver=new ResizeObserver((function(){n.resize()})),this.resizeObserver.observe(this.container)}this.checkContentPosition()}calcVelocity(t){this.lastTime&&(this.deltaTime=(this.deltaTime+(Date.now()-this.lastTime))/2),a.a.scale(this.deltaMove,a.a.add(this.deltaMove,this.deltaMove,t),.5),this.lastTime=Date.now()}attachEvents(t){t.addEventListener("mousewheel",(t=>{var e;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?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,this.deltaMove=a.a.create(),this.lastTime=Date.now(),t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=a.a.fromValues(t.movementX,t.movementY);this.calcVelocity(e),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.onEndDrag(this.deltaMove,this.deltaTime),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),this.lastTime=Date.now())}),!1),window.addEventListener("touchend",(t=>{this.onEndDrag(a.a.negate(this.deltaMove,this.deltaMove),Date.now()-this.lastTime),this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchcancel",(t=>{this.onEndDrag(a.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=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),this.lastTime=Date.now()}}),!1)}onEndDrag(t,e){if(!(e<=0)){var i=a.a.len(t)/e;if(this.getOption("smooth")&&i>.3){var n=a.a.create();a.a.scale(n,t,i),this.getOption("reverse");var o=this;this.stop();var s=a.a.create(),r=function(){a.a.div(s,n,o.smoothCoeficent),a.a.sqrLen(s)>3?(a.a.sub(n,n,s),window.requestAnimationFrame(r),o.scroll(s)):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.scrollToSection(0,0,!1),this.scrollToSection(0,1,!1)}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,a=this.events[e].length;n<a;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=a.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=a.a.create(),n=a.a.clone(t),o=e,s=Date.now(),r=0,c=this,u=function(){o=Date.now()-s,r=1-Math.pow(1-Math.min(1,o/e),3),a.a.scale(i,n,r),a.a.sub(n,n,i),o<e?(window.requestAnimationFrame(u),a.a.len(n)>0?c.scroll(i):c.scroll(a.a.sub(i,i,n))):(a.a.len(n)>0&&c.scroll(n),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,i,n){let o=a.a.mul(a.a.create(),this.view.getContentSize(),this.view.getContentViewRatio()),s=a.a.scale(a.a.create(),o,t);const r=n||1;0==e?s[1]=0:s[0]=0;let c=a.a.sub(a.a.create(),this.view.getContentPosition(),s);if(i){let t=a.a.len(c)*r;this.smoothScroll(c,t)}else this.scroll(c)}}}]).ScrollArea})),st=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.$refs.area&&(t.scroll=new ot(t.$refs.area))}))},methods:{activate:function(){this.makeScroll()},reset:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.reset()}))},resize:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.resize()}))},scrollToSection:function(t,e,i,n){this.scroll.scrollToSection(t,e,i,n)}}},"data-v-4cd30c88",false,undefined,!1,void 0,void 0,void 0),rt=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("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,n){return i("div",{key:e.id,staticClass:"wf-frame",class:[{"wf-active":n==t.current},t.frameKeywords]},[t._l(e.containers,(function(n){return i("div",{key:n.id,staticClass:"wf-frame-container",class:[n.containerType],style:{left:n.left+"%",top:n.top+"%",width:n.width+"%",height:n.height+"%",backgroundImage:"url('"+n.url+"')"},on:{click:function(i){return t.onClick(e,n)}}},[t.isVideo(n)?i("video",{attrs:{width:"100%",height:"auto",muted:"",crossorigin:"anonymous"},domProps:{muted:!0}},[i("source",{attrs:{src:n.url,type:n.type}})]):t._e(),t._v(" "),i("div",{directives:[{name:"show",rawName:"v-show",value:n.containerType.indexOf("qr")>-1&&null!=t.qr,expression:"container.containerType.indexOf('qr') > -1 && qr != null"}],staticClass:"wf-qr",class:[n.containerType],domProps:{innerHTML:t._s(t.qr)}})])})),t._v(" "),t._t("default",null,{frame:e})],2)})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-72b7b82a_0",{source:".wf-banner[data-v-72b7b82a]{position:relative;width:100%;height:100%}.wf-banner .wf-frame[data-v-72b7b82a]{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-72b7b82a]{background-size:cover;background-position:50% 50%;background-repeat:no-repeat;position:absolute}.wf-banner .wf-frame.wf-active[data-v-72b7b82a]{opacity:1;transition:opacity .5s ease-in-out}.wf-banner .wf-frame video[data-v-72b7b82a]{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(),i="template-"+this.template.toLowerCase();this.template&&this.container&&this.banners[i]&&this.banners[i][this.container]&&(this.frames=this.banners[i][this.container].filter((function(i){var n=i.enabled;if(n&&i.from_date&&(n=n&&new Date(i.from_date).getTime()<=e),n&&i.to_date&&(n=n&&new Date(i.to_date).getTime()>=e),n)for(var a in i.containers)i.containers[a].url=t.getUrl(i.containers[a]);return n})),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 i=this.$refs.frames.children[this.current];if(i){var n=i.querySelector("video");n&&n.readyState?setTimeout((function(){t.playVideo(n,e.duration)}),10):(n&&(console.log("video not loaded. try again",n.readyState),n.load()),this.timer=setTimeout(this.play,e.duration))}else this.timer=setTimeout(this.play,e.duration)}}},playVideo:function(t,e){var i=this;t.pause(),t.currentTime=0,t.play().catch((function(n){console.warn("Video playback failed",n),t.load(),clearTimeout(i.timer),setTimeout((function(){i.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-72b7b82a",false,undefined,!1,f,void 0,void 0),ct=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-page-menu"},[i("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPages,(function(e){return i("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(i){return t.onClick(e)}}},[i("i",{directives:[{name:"show",rawName:"v-show",value:t.showIcon,expression:"showIcon"}],staticClass:"wf-icon",domProps:{innerHTML:t._s(e.icon)}}),t._v(" "),i("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-4c0cfcd3_0",{source:".wf-list-item[data-v-4c0cfcd3]{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:o(o({},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&&parseInt(t.visible)})),e=this.sortAZ?e.sort((function(e,i){return t.getName(e)&&t.getName(i)?t.getName(e).localeCompare(t.getName(i)):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-4c0cfcd3",false,undefined,!1,f,void 0,void 0),ut=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("ul",{staticClass:"wf-component wf-alphabet-menu"},t._l(t.alphabet,(function(e){return i("li",{key:e,class:[t.currentChar==e?"wf-active":"","wf-char-"+e],on:{click:function(i){return t.onAZ(e)}}},[t._v(t._s(e))])})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-58de4247_0",{source:".wf-alphabet-menu{list-style:none;padding:0;margin:0}",map:void 0,media:void 0})}),{name:"AlphabetMenu",props:{pois:{type:Array,default:[]},overrideChar:{type:String,default:""},showInMenu:{type:Boolean,default:!0},group:{type:String,default:""}},data:function(){return{currentChar:"",alphabet:[],poisWithChar:{},groupChars:[],groupLabel:""}},computed:o({},j("wf",["language"])),watch:{pois:function(){this.makeGrouping(),this.generate()},overrideChar:function(){this.overrideChar&&""!==this.overrideChar&&(this.currentChar=this.overrideChar)},group:function(){this.makeGrouping()}},methods:{onAZ:function(t){this.currentChar=t,this.$emit("clicked",t,this.poisWithChar[t])},makeGrouping:function(){this.group&&(this.groupChars=this.group.toLowerCase().split(""),this.groupChars.length>1?this.groupLabel=this.groupChars[0]+" - "+this.groupChars[this.groupChars.length-1]:this.groupLabel=this.groupChars[0],this.generate())},generate:function(){var t,e,i=[];for(var n in this.poisWithChar=[],this.pois)t=this.pois[n],(!this.showInMenu||t.getShowInMenu())&&t.getName(this.language)&&t.getName(this.language).length>0&&(e=t.getName(this.language)[0].toLowerCase(),this.groupChars.indexOf(e)>-1?(-1==i.indexOf(this.groupLabel)&&(i.push(this.groupLabel),this.poisWithChar[this.groupLabel]=[]),this.poisWithChar[this.groupLabel].push(t)):(-1==i.indexOf(e)&&i.push(e),this.poisWithChar[e]||(this.poisWithChar[e]=[]),this.poisWithChar[e].push(t)));i.sort(),this.alphabet=i}}},undefined,false,undefined,!1,f,void 0,void 0),lt=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-page"},[t.page?i("div",{staticClass:"wf-page-container",class:{"wf-page-empty":0===t.page.items.length}},[t.showIcon?i("div",{staticClass:"wf-page-icon",class:[t.page.icon?"wf-has-icon":""],domProps:{innerHTML:t._s(t.page.icon)}}):t._e(),t._v(" "),t.showName?i("label",{staticClass:"wf-page-name",domProps:{innerHTML:t._s(t.pageName||"")}}):t._e(),t._v(" "),i("div",{staticClass:"wf-page-content"},t._l(t.page.items,(function(e,n){return i(t.itemType(e),{key:e.id,tag:"component",class:["wf-page-item-"+n],attrs:{item:e}})})),1)]):t._e(),t._v(" "),i("WFTabs",{ref:"tabs",attrs:{activeTab:t.currentTab}},[t._t("tabs")],2)],1)},staticRenderFns:[]},(function(t){t&&t("data-v-48f52dcc_0",{source:".wf-page-container[data-v-48f52dcc]{width:100%;height:100%}.wf-page-container .wf-page-content[data-v-48f52dcc]{width:100%;height:100%}.wf-page-container.wf-page-empty[data-v-48f52dcc]{height:auto!important}",map:void 0,media:void 0})}),{name:"Page",components:{PageHTML:h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.item?i("div",{staticClass:"wf-page-item wf-page-html"},[i("div",{domProps:{innerHTML:t._s(t.item.value[t.language])}})]):t._e()},staticRenderFns:[]},undefined,{name:"page-html",computed:o({},j("wf",["language"])),props:{item:{type:Object,default:null}}},"data-v-dcae2ce0",false,undefined,!1,void 0,void 0,void 0),PageURL:h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.item?i("div",{staticClass:"wf-page-item wf-page-url"},[t.item.value?i("iframe",{attrs:{src:t.item.value[t.language],nwdisable:"",nwfaketop:""}}):t._e()]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-7a70ef1c_0",{source:".wf-page-url[data-v-7a70ef1c],.wf-page-url iframe[data-v-7a70ef1c],.wf-page-url webview[data-v-7a70ef1c]{width:100%;height:100%;border:none}",map:void 0,media:void 0})}),{name:"page-url",computed:o({},j("wf",["language","reset"])),props:{item:{type:Object,default:null},resetPage:{type:Boolean,default:!1}},watch:{reset:function(t){this.resetPage&&(this.currentSRC=this.src+"?t="+Date.now())}}},"data-v-7a70ef1c",false,undefined,!1,f,void 0,void 0),PageIMAGE:h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.item?i("div",{staticClass:"wf-page-item wf-page-image"},[i("img",{attrs:{src:t.src}})]):t._e()},staticRenderFns:[]},undefined,{name:"page-image",computed:o(o({},j("wf",["language"])),{},{src:function(){return WayfinderAPI.getURL("images","get",this.item.value[this.language])}}),props:{item:{type:Object,default:null}}},"data-v-4d06f861",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]:""},currentTab:function(){return this.tab},isSingle:function(){return!(this.page&&["collection","tab"].indexOf(this.page.type)>-1)}}),props:{container:{type:String,default:"default"},pid:{type:Number,default:-1},slug:{type:String,default:null},showName:{type:Boolean,default:!0},showIcon:{type:Boolean,default:!1},playAll:{type:Boolean,default:!1},duration:{type:Number,default:30},defaultTab:{type:String,default:null}},mounted:function(){this.defaultTab&&(this.tab=this.defaultTab),this.updatePage()},watch:{pages:function(){this.defaultTab&&(this.tab=this.defaultTab),this.updatePage()},container:function(){this.updatePage()},pid:function(){var t=this.findByID(parseInt(this.pid));t?(this.page=t,this.updatePage()):console.log("Page with ID",this.pid,"not found")},slug:function(){var t=this.findBySlug(this.slug.toLowerCase());t?(this.page=t,this.updatePage()):console.log("Page with slug",this.slug,"not found")},index:function(){var t=this.findBySlug(this.slug);t?(this.page=t,this.updatePage()):console.log("Page with slug",this.slug,"not found")}},methods:{findByID:function(t){var e;if(this.pages&&this.pages[this.container]&&t>-1)for(var i in this.pages[this.container])if(e=this.pages[this.container][i],parseInt(e.id)==t)return e;return!1},findBySlug:function(t){var e;if(this.pages&&this.pages[this.container]&&t.length>0)for(var i in this.pages[this.container])if((e=this.pages[this.container][i]).slug.toLowerCase()==t)return e;return!1},updatePage:function(){this.pages&&this.pages[this.container]&&(this.page&&"tab"==this.page.type?this.tab=this.page.slug:this.page&&(this.tab=null))},itemType:function(t){return t&&t.type?"Page"+t.type.toUpperCase():""},changePageWithSlug:function(t){return!!this.findBySlug(t)&&(this.updatePage(),!0)}},data:function(){return{currentIndex:1,page:null,tab:null}}},"data-v-48f52dcc",false,undefined,!1,f,void 0,void 0),ht=h({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("label",{staticClass:"wf-translatable",class:{"wf-translated":t.translated}},[""==t.value?t._t("default"):t._e(),t._v("\n "+t._s(t.value)+"\n")],2)},staticRenderFns:[]},undefined,{name:"Translate",props:{k:{type:String,default:""},params:{type:Array,default:function(){return[]}}},computed:o({},j("wf",["language"])),data:function(){return{translated:!1,value:""}},watch:{language:function(){this.$wayfinder&&this.update()},k:function(){this.update()}},mounted:function(){this.update()},methods:{update:function(){this.$wayfinder&&this.k&&this.k.length>0&&this.$wayfinder.translator.exists(this.k)&&(this.value=this.$wayfinder.translator.get(this.k,this.params),this.translated=!0)}}},undefined,false,undefined,!1,void 0,void 0,void 0),dt=h({render:function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"wf-component wf-browser"},[i("iframe",{ref:"frame",attrs:{src:t.currentSRC,nwdisable:""}})])},staticRenderFns:[]},(function(t){t&&t("data-v-20fcd1d6_0",{source:".wf-browser,.wf-browser iframe,.wf-browser webview{width:100%;height:100%;border:none}",map:void 0,media:void 0})}),{name:"Browser",props:{src:{type:String,default:""},resetPage:{type:Boolean,default:!1}},computed:o(o({},j("wf",["reset"])),{},{webview:function(){return"options"in document.createElement("webview")?(console.log("webview exists"),!0):(console.log("webview not exists"),!1)}}),data:function(){return{currentSRC:""}},mounted:function(){var t=this;this.currentSRC=this.src,this.$refs.frame.addEventListener("load",(function(){console.log("frame.load",t.$refs.frame.contentWindow.document)}))},watch:{reset:function(t){this.resetPage&&(this.currentSRC=this.src+"?t="+Date.now())},src:function(t){function e(){return t.apply(this,arguments)}return e.toString=function(){return t.toString()},e}((function(){this.currentSRC=this.src,console.log("src",src)}))}},undefined,false,undefined,!1,f,void 0,void 0),ft=Object.freeze({__proto__:null,WFMap:m,WFAZMenu:$,WFFlagsMenu:D,WFLanguagesMenu:z,WFGroupsMenu:B,WFSubGroupMenu:R,WFGroupPOIsMenu:G,WFBuildingLogo:W,WFShortcutsMenu:Y,WFZoomMenu:H,WFFloorsMenu:Z,WFFilteredMenu:q,WFSearch:K,WFLoading:J,WFClock:tt,WFDate:et,WFTabs:it,WFTab:nt,WFTabButtons:at,WFScrollableArea:st,WFBanner:rt,WFPageMenu:ct,WFAlphabet:ut,WFPOI:F,WFGroup:A,WFPage:lt,WFTranslate:ht,WFYAH:V,WFBrowser:dt});function pt(t){return Object.assign(Object.create(Object.getPrototypeOf(t)),t)}function gt(t){return t=pt(t),Object.defineProperty(t,"parent",{configurable:!1}),Object.defineProperty(t,"color",{configurable:!1}),Object.defineProperty(t,"desciptions",{configurable:!1}),Object.defineProperty(t,"childGroups",{configurable:!1}),Object.defineProperty(t,"names",{configurable:!1}),t}var mt=["floor","groups","groupNames","node","settings","names","descriptions","advertisements","meshNode","submesh","canvasBoard","poiComponent","wayfinder","engine"];function vt(t){for(var e in t=pt(t),mt)void 0!==t[mt[e]]&&Object.defineProperty(t,mt[e],{configurable:!1});return t.wayfinder=void 0,t.engine=void 0,t}var wt,yt={namespaced:!0,state:{floors:[],pois:[],poiGroups:[],loaded:!1,language:"en",languages:[],shortcuts:[],filteredPOIs:[],currentFloor:null,building:null,yahLogo:"",banners:null,landscape:!1,portrait:!1,mobile:!1,maxInActivity:30,reset:0,pages:{},template:{}},getters:{xLanguage:function(t,e){return void 0!==n.default.prototype.$wayfinder&&(t.language=Object.freeze(n.default.prototype.$wayfinder.getLanguage())),t.language},xFloors:function(t){var e;void 0!==n.default.prototype.$wayfinder&&n.default.prototype.$wayfinder.building&&(t.floors=Object.freeze(n.default.prototype.$wayfinder.building.getSortedFloors().map((function(t){return(e=pt(t)).pois=e.pois.map((function(t){return vt(t)})),delete e.nodes,delete e.node3D,e}))));return t.floors},xLanguages:function(t){return void 0!==n.default.prototype.$wayfinder&&(t.languages=Object.freeze(Object.values(n.default.prototype.$wayfinder.getLanguages()).reverse())),t.languages},xShortcuts:function(t){if(void 0!==n.default.prototype.$wayfinder){var e,i=n.default.prototype.$wayfinder.getPOIGroups(),a=[];Object.keys(i).forEach((function(t){parseInt(i[t].showInTopMenu)&&((e=gt(i[t])).pois=e.pois.map((function(t){return vt(t)})),a.push(Object.freeze(e)))})),a=a.sort((function(t,e){return-(t.order-e.order)})),t.shortcuts=a}return t.shortcuts},xBuilding:function(t){if("undefined"!==n.default.prototype.$wayfinder){var e=pt(n.default.prototype.$wayfinder.building);Object.defineProperty(e,"floors",{configurable:!1}),Object.defineProperty(e,"currentFloor",{configurable:!1}),Object.defineProperty(e,"sortedFloors",{configurable:!1}),t.building=Object.freeze(e)}return t.building},xYahLogo:function(t){void 0!==n.default.prototype.$wayfinder&&(t.yahLogo="url("+WayfinderAPI.getURL("images","get",n.default.prototype.$wayfinder.settings.getInt("kiosk.you-are-here-image",0))+")")},xPOIs:function(t){void 0!==n.default.prototype.$wayfinder&&(t.pois=Object.freeze(n.default.prototype.$wayfinder.poisArray.map((function(t){return vt(t)}))))},xTopics:function(t){if(void 0!==n.default.prototype.$wayfinder){var e,i=n.default.prototype.$wayfinder.poiGroups,a=[];for(var o in i)(e=gt(i[o])).pois=i[o].pois.map((function(t){return vt(t)})),a.push(e);t.poiGroups=Object.freeze(a)}},xBanners:function(t){void 0!==n.default.prototype.$wayfinder&&(t.banners=Object.assign({},n.default.prototype.$wayfinder.getFilteredAdvertisements()))},xTemplateSettings:function(t){if(void 0!==n.default.prototype.$wayfinder){var e=n.default.prototype.$wayfinder.settings;for(var i in e.data)0===i.indexOf("template.default")&&(e.data[i],t.template[(a=i,o=void 0,o=a.split("."),(a=(a=o[o.length-1]).replaceAll("-"," ")).replace(/(?:^\w|[A-Z]|\b\w)/g,(function(t,e){return 0===e?t.toLowerCase():t.toUpperCase()})).replace(/\s+/g,""))]=e.get(i))}var a,o},freezePOI:function(t){return function(t){return vt(t)}}},mutations:{SET_POI:function(t,e){t.currentPOI=e},SET_TAB:function(t,e){t.currentTab=e},SET_GROUP:function(t,e){t.currentGroup=Object.freeze(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_PORTRAIT:function(t,e){t.portrait=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){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_PORTRAIT:function(t,e){t.commit("SET_PORTRAIT",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){e=e.map((function(t){return Object.freeze(t)})),t.commit("SET_FILTERED_POIS",e)},LOAD_PAGES:function(t){Logistics.getJSON(WayfinderAPI.getURL("pages","getAll",[]),null,(function(e){e&&e.data&&t.commit("SET_PAGES",Object.freeze(e.data))}))},SET_TEMPLATE_SETTINGS:function(t){}}},bt={init:function(t){t.registerModule("wf",yt),wt=t},loadPages:function(){wt.dispatch("wf/LOAD_PAGES")}},_t=function(t,e){bt.init(e),t.prototype.$wayfinderApp=bt,Object.entries(ft).forEach((function(e){var i=c(e,2),n=i[0],a=i[1];t.component(n,a)}))},Ct=Object.freeze({__proto__:null,default:_t,WFMap:m,WFAZMenu:$,WFFlagsMenu:D,WFLanguagesMenu:z,WFGroupsMenu:B,WFSubGroupMenu:R,WFGroupPOIsMenu:G,WFBuildingLogo:W,WFShortcutsMenu:Y,WFZoomMenu:H,WFFloorsMenu:Z,WFFilteredMenu:q,WFSearch:K,WFLoading:J,WFClock:tt,WFDate:et,WFTabs:it,WFTab:nt,WFTabButtons:at,WFScrollableArea:st,WFBanner:rt,WFPageMenu:ct,WFAlphabet:ut,WFPOI:F,WFGroup:A,WFPage:lt,WFTranslate:ht,WFYAH:V,WFBrowser:dt});return Object.entries(Ct).forEach((function(t){var e=c(t,2),i=e[0],n=e[1];"default"!==i&&(_t[i]=n)})),_t}(Vue);
@@ -4931,7 +4931,7 @@ var __vue_component__$3 = /*#__PURE__*/normalizeComponent({
4931
4931
  },
4932
4932
  findBySlug: function findBySlug(slug) {
4933
4933
  if (this.pages && this.pages[this.container]) {
4934
- if (this.id > -1) {
4934
+ if (slug.length > 0) {
4935
4935
  var page;
4936
4936
 
4937
4937
  for (var p in this.pages[this.container]) {
@@ -4961,6 +4961,16 @@ var __vue_component__$3 = /*#__PURE__*/normalizeComponent({
4961
4961
  }
4962
4962
 
4963
4963
  return "";
4964
+ },
4965
+ changePageWithSlug: function changePageWithSlug(slug) {
4966
+ var page = this.findBySlug(slug);
4967
+
4968
+ if (page) {
4969
+ this.updatePage();
4970
+ return true;
4971
+ }
4972
+
4973
+ return false;
4964
4974
  }
4965
4975
  },
4966
4976
  data: function data() {
@@ -4985,7 +4995,7 @@ var __vue_render__$2 = function __vue_render__() {
4985
4995
  staticClass: "wf-page"
4986
4996
  }, [_vm.page ? _vm._ssrNode("<div" + _vm._ssrClass("wf-page-container", {
4987
4997
  'wf-page-empty': _vm.page.items.length === 0
4988
- }) + " data-v-b68f8506>", "</div>", [_vm._ssrNode((_vm.showIcon ? "<div" + _vm._ssrClass("wf-page-icon", [_vm.page.icon ? 'wf-has-icon' : '']) + " data-v-b68f8506>" + _vm._s(_vm.page.icon) + "</div>" : "<!---->") + " " + (_vm.showName ? "<label class=\"wf-page-name\" data-v-b68f8506>" + _vm._s(_vm.pageName || '') + "</label>" : "<!---->") + " "), _vm._ssrNode("<div class=\"wf-page-content\" data-v-b68f8506>", "</div>", _vm._l(_vm.page.items, function (item, index) {
4998
+ }) + " data-v-48f52dcc>", "</div>", [_vm._ssrNode((_vm.showIcon ? "<div" + _vm._ssrClass("wf-page-icon", [_vm.page.icon ? 'wf-has-icon' : '']) + " data-v-48f52dcc>" + _vm._s(_vm.page.icon) + "</div>" : "<!---->") + " " + (_vm.showName ? "<label class=\"wf-page-name\" data-v-48f52dcc>" + _vm._s(_vm.pageName || '') + "</label>" : "<!---->") + " "), _vm._ssrNode("<div class=\"wf-page-content\" data-v-48f52dcc>", "</div>", _vm._l(_vm.page.items, function (item, index) {
4989
4999
  return _c(_vm.itemType(item), {
4990
5000
  key: item.id,
4991
5001
  tag: "component",
@@ -5007,8 +5017,8 @@ var __vue_staticRenderFns__$2 = [];
5007
5017
 
5008
5018
  var __vue_inject_styles__$2 = function __vue_inject_styles__(inject) {
5009
5019
  if (!inject) return;
5010
- inject("data-v-b68f8506_0", {
5011
- source: ".wf-page-container[data-v-b68f8506]{width:100%;height:100%}.wf-page-container .wf-page-content[data-v-b68f8506]{width:100%;height:100%}.wf-page-container.wf-page-empty[data-v-b68f8506]{height:auto!important}",
5020
+ inject("data-v-48f52dcc_0", {
5021
+ source: ".wf-page-container[data-v-48f52dcc]{width:100%;height:100%}.wf-page-container .wf-page-content[data-v-48f52dcc]{width:100%;height:100%}.wf-page-container.wf-page-empty[data-v-48f52dcc]{height:auto!important}",
5012
5022
  map: undefined,
5013
5023
  media: undefined
5014
5024
  });
@@ -5016,10 +5026,10 @@ var __vue_inject_styles__$2 = function __vue_inject_styles__(inject) {
5016
5026
  /* scoped */
5017
5027
 
5018
5028
 
5019
- var __vue_scope_id__$2 = "data-v-b68f8506";
5029
+ var __vue_scope_id__$2 = "data-v-48f52dcc";
5020
5030
  /* module identifier */
5021
5031
 
5022
- var __vue_module_identifier__$2 = "data-v-b68f8506";
5032
+ var __vue_module_identifier__$2 = "data-v-48f52dcc";
5023
5033
  /* functional template */
5024
5034
 
5025
5035
  var __vue_is_functional_template__$2 = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dwayfinder/wayfinder-vue-components",
3
- "version": "1.8.21",
3
+ "version": "1.8.22",
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",
@@ -144,7 +144,7 @@ export default {
144
144
  },
145
145
  findBySlug (slug) {
146
146
  if (this.pages && this.pages[this.container]) {
147
- if (this.id > -1) {
147
+ if (slug.length > 0) {
148
148
  let page;
149
149
  for(let p in this.pages[this.container]) {
150
150
  page = this.pages[this.container][p];
@@ -173,6 +173,15 @@ export default {
173
173
  }
174
174
 
175
175
  return "";
176
+ },
177
+ changePageWithSlug (slug) {
178
+ let page = this.findBySlug(slug);
179
+ if (page) {
180
+ this.updatePage();
181
+ return true;
182
+ }
183
+
184
+ return false;
176
185
  }
177
186
  },
178
187
  data: function () {