@3dwayfinder/wayfinder-vue-components 1.0.113 → 1.0.114

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.
@@ -2272,7 +2272,7 @@ var __vue_render__$d = function () {
2272
2272
  }, [_c('ul', {
2273
2273
  staticClass: "wf-list",
2274
2274
  class: ['wf-list-count-' + _vm.count]
2275
- }, _vm._l(_vm.sortedGroups, function (topic) {
2275
+ }, [_vm._t("prepend"), _vm._v(" "), _vm._l(_vm.sortedGroups, function (topic) {
2276
2276
  return _c('li', {
2277
2277
  key: topic.id,
2278
2278
  staticClass: "wf-list-item",
@@ -2354,7 +2354,7 @@ var __vue_render__$d = function () {
2354
2354
  "poi": poi
2355
2355
  })], 2);
2356
2356
  }), 0) : _vm._e()]);
2357
- }), 0)]);
2357
+ }), _vm._v(" "), _vm._t("append")], 2)]);
2358
2358
  };
2359
2359
 
2360
2360
  var __vue_staticRenderFns__$d = [];
@@ -2362,8 +2362,8 @@ var __vue_staticRenderFns__$d = [];
2362
2362
 
2363
2363
  const __vue_inject_styles__$d = function (inject) {
2364
2364
  if (!inject) return;
2365
- inject("data-v-152fb014_0", {
2366
- source: ".wf-groups-menu .wf-list-item[data-v-152fb014]{list-style:none}.wf-groups-menu .wf-list[data-v-152fb014]{margin:0;padding:0}",
2365
+ inject("data-v-0d60985e_0", {
2366
+ source: ".wf-groups-menu .wf-list-item[data-v-0d60985e]{list-style:none}.wf-groups-menu .wf-list[data-v-0d60985e]{margin:0;padding:0}",
2367
2367
  map: undefined,
2368
2368
  media: undefined
2369
2369
  });
@@ -2371,7 +2371,7 @@ const __vue_inject_styles__$d = function (inject) {
2371
2371
  /* scoped */
2372
2372
 
2373
2373
 
2374
- const __vue_scope_id__$d = "data-v-152fb014";
2374
+ const __vue_scope_id__$d = "data-v-0d60985e";
2375
2375
  /* module identifier */
2376
2376
 
2377
2377
  const __vue_module_identifier__$d = undefined;
@@ -3117,7 +3117,7 @@ var script$6 = {
3117
3117
  results = results.slice(0, this.limit);
3118
3118
  }
3119
3119
 
3120
- this.results = Object.freeze(Object.assign({}, results));
3120
+ this.results = Object.freeze(Object.values(results));
3121
3121
 
3122
3122
  if (keyword.length > 1) {
3123
3123
  if (Object.values(this.results).length > 0) {
@@ -3264,13 +3264,14 @@ var __vue_render__$6 = function () {
3264
3264
  }, {
3265
3265
  "poi": poiitem
3266
3266
  })], 2) : _vm._e();
3267
- }), 0), _vm._v(" "), _c('span', {
3267
+ }), 0), _vm._v("\n\t\t\t" + _vm._s(_vm.results.length) + "\n\t\t\t"), _c('span', {
3268
3268
  directives: [{
3269
3269
  name: "show",
3270
3270
  rawName: "v-show",
3271
3271
  value: _vm.showNoResultsText && _vm.results.length == 0,
3272
3272
  expression: "showNoResultsText && results.length == 0"
3273
- }]
3273
+ }],
3274
+ staticClass: "wf-search-no-results-text"
3274
3275
  }, [_vm._v(_vm._s(_vm.noResultsText))])], 1), _vm._v(" "), _vm.showOutputField ? _c('div', {
3275
3276
  staticClass: "wf-search-input-container"
3276
3277
  }, [_c('input', {
@@ -3291,7 +3292,7 @@ var __vue_staticRenderFns__$6 = [];
3291
3292
 
3292
3293
  const __vue_inject_styles__$6 = function (inject) {
3293
3294
  if (!inject) return;
3294
- inject("data-v-c267e206_0", {
3295
+ inject("data-v-c1ab8218_0", {
3295
3296
  source: ".wf-search .wf-close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.wf-search .results{overflow:hidden}.wf-search .wf-search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.wf-search .wf-search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.wf-search .wf-keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.wf-search .wf-keyboard .keyboard-row{margin:auto;display:flex}.wf-search .wf-keyboard .keyboard-key{text-align:center;width:4ch;height:4ch;line-height:1.5;overflow:hidden;user-select:none}.wf-search .wf-keyboard .keyboard-key:last-child{margin-right:0}.wf-search .wf-keyboard .keyboard-key:active{background-color:#00f}.wf-search .wf-keyboard .keyboard-key2x{width:8ch}.wf-search .wf-keyboard .keyboard-key3x{width:12ch}.wf-search .wf-keyboard .keyboard-key_spacebar{width:24ch}",
3296
3297
  map: undefined,
3297
3298
  media: undefined
@@ -3,4 +3,4 @@ var WayfinderVueComponents=function(t){"use strict";function e(t){return t&&"obj
3
3
  * vuex v3.6.2
4
4
  * (c) 2021 Evan You
5
5
  * @license MIT
6
- */()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var u=("undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function l(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,i=(n=function(e){return e.original===t},e.filter(n)[0]);if(i)return i.copy;var o=Array.isArray(t)?[]:{};return e.push({original:t,copy:o}),Object.keys(t).forEach((function(n){o[n]=l(t[n],e)})),o}function d(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function h(t){return null!==t&&"object"==typeof t}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.hasChild=function(t){return t in this._children},f.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},f.prototype.forEachChild=function(t){d(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&d(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&d(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&d(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,p);var g,m=function(t){this.register([],t,!1)};function v(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return;v(t.concat(i),e.getChild(i),n.modules[i])}}m.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},m.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},m.prototype.update=function(t){v([],this.root,t)},m.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var o=new f(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&d(e.modules,(function(e,o){i.register(t.concat(o),e,n)}))},m.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},m.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var w=function(t){var e=this;void 0===t&&(t={}),!g&&"undefined"!=typeof window&&window.Vue&&I(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=i;var r=this._modules.root.state;k(this,r,[],this._modules.root),C(this,r),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:g.config.devtools)&&function(t){u&&(t._devtoolHook=u,u.emit("vuex:init",t),u.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){u.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){u.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},y={state:{configurable:!0}};function b(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function _(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;k(t,n,[],t._modules.root,!0),C(t,n,e)}function C(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};d(o,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=g.config.silent;g.config.silent=!0,t._vm=new g({data:{$$state:e},computed:a}),g.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function k(t,e,n,i,o){var a=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!a&&!o){var r=O(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){g.set(r,c,i.state)}))}var u=i.context=function(t,e,n){var i=""===e,o={dispatch:i?t.dispatch:function(n,i,o){var a=E(n,i,o),s=a.payload,r=a.options,c=a.type;return r&&r.root||(c=e+c),t.dispatch(c,s)},commit:i?t.commit:function(n,i,o){var a=E(n,i,o),s=a.payload,r=a.options,c=a.type;r&&r.root||(c=e+c),t.commit(c,s,r)}};return Object.defineProperties(o,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,i)===e){var a=o.slice(i);Object.defineProperty(n,a,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return O(t.state,n)}}}),o}(t,s,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,s+n,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,o=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var o,a=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(o=a)&&"function"==typeof o.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):a}))}(t,i,o,u)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,s+n,e,u)})),i.forEachChild((function(i,a){k(t,e,n.concat(a),i,o)}))}function O(t,e){return e.reduce((function(t,e){return t[e]}),t)}function E(t,e,n){return h(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function I(t){g&&t===g||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(g=t)}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){},w.prototype.commit=function(t,e,n){var i=this,o=E(t,e,n),a=o.type,s=o.payload,r={type:a,payload:s},c=this._mutations[a];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(r,i.state)})))},w.prototype.dispatch=function(t,e){var n=this,i=E(t,e),o=i.type,a=i.payload,s={type:o,payload:a},r=this._actions[o];if(r){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var c=r.length>1?Promise.all(r.map((function(t){return t(a)}))):r[0](a);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){}e(t)}))}))}},w.prototype.subscribe=function(t,e){return b(t,this._subscribers,e)},w.prototype.subscribeAction=function(t,e){return b("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},w.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},w.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},w.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),k(this,this.state,t,this._modules.get(t),n.preserveState),C(this,this.state)},w.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=O(e.state,t.slice(0,-1));g.delete(n,t[t.length-1])})),_(this)},w.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},w.prototype.hotUpdate=function(t){this._modules.update(t),_(this,!0)},w.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(w.prototype,y);var S=$((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=L(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[i].vuex=!0})),n})),P=$((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var a=L(this.$store,"mapMutations",t);if(!a)return;i=a.context.commit}return"function"==typeof o?o.apply(this,[i].concat(e)):i.apply(this.$store,[o].concat(e))}})),n})),T=$((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,o=e.val;o=t+o,n[i]=function(){if(!t||L(this.$store,"mapGetters",t))return this.$store.getters[o]},n[i].vuex=!0})),n})),x=$((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var a=L(this.$store,"mapActions",t);if(!a)return;i=a.context.dispatch}return"function"==typeof o?o.apply(this,[i].concat(e)):i.apply(this.$store,[o].concat(e))}})),n}));function F(t){return function(t){return Array.isArray(t)||h(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function $(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function L(t,e,n){return t._modulesNamespaceMap[n]}function N(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(n){t.log(e)}}function R(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function B(){var t=new Date;return" @ "+M(t.getHours(),2)+":"+M(t.getMinutes(),2)+":"+M(t.getSeconds(),2)+"."+M(t.getMilliseconds(),3)}function M(t,e){return n="0",i=e-t.toString().length,new Array(i+1).join(n)+t;var n,i}var z,j={Store:w,install:I,version:"3.6.2",mapState:S,mapMutations:P,mapGetters:T,mapActions:x,createNamespacedHelpers:function(t){return{mapState:S.bind(null,t),mapGetters:T.bind(null,t),mapMutations:P.bind(null,t),mapActions:x.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var r=t.logMutations;void 0===r&&(r=!0);var c=t.logActions;void 0===c&&(c=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var d=l(t.state);void 0!==u&&(r&&t.subscribe((function(t,a){var s=l(a);if(n(t,d,s)){var r=B(),c=o(t),h="mutation "+t.type+r;N(u,h,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),R(u)}d=s})),c&&t.subscribeAction((function(t,n){if(a(t,n)){var i=B(),o=s(t),r="action "+t.type+i;N(u,r,e),u.log("%c action","color: #03A9F4; font-weight: bold",o),R(u)}})))}}},A={name:"Map",props:{project:{type:String,default:"demo"},api:{type:String,default:"//api.3dwayfinder.com/"},assets:{type:String,default:"//static.3dwayfinder.com/shared/"}},computed:o({},S(["currentFloor"])),mounted:function(){this.load()},methods:o(o({},x(["updateData","setWayfinder"])),{},{load:function(){var t=this;console.log("load2",this.$WF_MAP_TYPE,"undefined"==typeof Wayfinder2D?"undefined":a(Wayfinder2D),"undefined"==typeof Wayfinder2D?"undefined":a(Wayfinder2D)),z=void 0!==this.$WF_MAP_TYPE&&"2d"==this.$WF_MAP_TYPE?new Wayfinder2D:new Wayfinder3D,n.default.prototype.$wayfinder=z,n.default.directive("wf-translate",{bind:function(t,e,n){if(z){var i="string"==typeof e.value?e.value:e.expression;t.setAttribute("data-translation-element",i),z.translator.translateElement(i,t)}}}),WayfinderAPI.LOCATION=this.api,z.options.assetsLocation=this.assets,z.options.project=this.project,z.open();var e=this,i=1e3*z.settings.getInt("path.message.duration",5);z.events.on("data-loaded",(function(){console.log("data-loaded",e.loaded),e.loaded||(e.$store.dispatch("SET_CURRENT_FLOOR",z.getCurrentFloor()),e.$store.dispatch("SET_INACTIVITY_TIME",z.settings.getInt("kiosk.max-inactivity",30)),e.update(z),e.$store.dispatch("SET_INACTIVITY_TIME",z.settings.getInt("kiosk.max-inactivity",30)),e.$emit("loaded"))})),z.events.on("map-ready",(function(){z.resize()})),z.events.on("language-change",(function(){t.update(z)})),z.events.on("floor-change-before",(function(e,n,i){t.pathText=z.translator.get("go_to_floor",[e.getName(z.getLanguage()),i.getName(z.getLanguage()),n.getName(z.getLanguage())]),t.showPathText=!0})),z.events.on("floor-change",(function(e){e&&(t.$store.dispatch("SET_CURRENT_FLOOR",e),t.$emit("onTouch")),t.showPathText&&setTimeout((function(){t.showPathText=!1}),i)})),z.events.on("map-click",(function(e){e&&(t.$emit("poiClicked",e,!0),z.statistics.onClick(e.id,"map"))})),z.events.on("map-touch",(function(){t.$emit("onTouch")})),window.addEventListener("resize",(function(){z&&z.resize()}))},update:function(){for(var t in this.$store._wrappedGetters)this.$store._wrappedGetters[t](this.$store.state);n.default.prototype.$wayfinder.update(),n.default.prototype.$wayfinder.resize(),n.default.prototype.$wayfinder.translator.translate()},reset:function(){z.restoreDefaultState()},start:function(){z.run(),z.statistics.onSessionStart()},pause:function(){z.pause(),z.statistics.onSessionEnd()},run:function(){z.run()},visibilityChanged:function(t){n.default.prototype.$wayfinder.resize()}}),data:function(){return{loaded:!1,showPathText:!1,pathText:""}}};function W(t,e,n,i,o,a,s,r,c,u){"boolean"!=typeof s&&(c=r,r=s,s=!1);const l="function"==typeof n?n.options:n;let d;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),i&&(l._scopeId=i),a?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=d):e&&(d=s?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),d)if(l.functional){const t=l.render;l.render=function(e,n){return d.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,d):[d]}return n}const D="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function V(t){return(t,e)=>function(t,e){const n=D?e.media||"default":t,i=U[n]||(U[n]={ids:new Set,styles:[]});if(!i.ids.has(t)){i.ids.add(t);let n=e.source;if(e.map&&(n+="\n/*# sourceURL="+e.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",e.media&&i.element.setAttribute("media",e.media),void 0===G&&(G=document.head||document.getElementsByTagName("head")[0]),G.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(n),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{const t=i.ids.size-1,e=document.createTextNode(n),o=i.element.childNodes;o[t]&&i.element.removeChild(o[t]),o.length?i.element.insertBefore(e,o[t]):i.element.appendChild(e)}}}(t,e)}let G;const U={};var H=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],staticClass:"wf-component wf-map-container"},[n("canvas",{attrs:{id:"map"}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPathText,expression:"showPathText"}],staticClass:"wf-map-path-text"},[t._v(t._s(t.pathText))])])},staticRenderFns:[]},(function(t){t&&t("data-v-5b108f00_0",{source:".wf-map-container[data-v-5b108f00]{position:relative;width:100%;height:100%}.wf-map-container canvas[data-v-5b108f00]{width:100%;height:100%}.wf-map-container .wf-map-path-text[data-v-5b108f00]{width:30ch;text-align:center;background-color:#fff;position:absolute;bottom:25%;margin:auto;left:50%;margin-left:-15ch;padding:.5em}",map:void 0,media:void 0})}),A,"data-v-5b108f00",false,undefined,!1,V,void 0,void 0),Y=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.poi?n("div",{staticClass:"wf-poi"},[t.showLogo?n("div",{staticClass:"wf-poi-image",class:[t.isImage()],style:{"background-image":t.getImage()}}):t._e(),t._v(" "),t.showName?n("div",{staticClass:"wf-poi-name",domProps:{innerHTML:t._s(t.poi.getName(t.language)||"POI")}}):t._e(),t._v(" "),t.showPathButton?n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.showPath,expression:"showPath",arg:"tap"}],staticClass:"wf-show-path"},[n("button",[n("label",{attrs:{"data-translation-element":"show_path"}},[t._v(t._s(t.show_path))]),t._v(" "),n("i")])]):t._e(),t._v(" "),t.showDescription?n("div",{staticClass:"wf-poi-description",domProps:{innerHTML:t._s(t.poi.getDescription(t.language)||"")}}):t._e(),t._v(" "),t.showRoomID?n("div",{staticClass:"wf-poi-room_id",domProps:{innerHTML:t._s(t.poi.room_id||"")}}):t._e(),t._v(" "),t.showFloor&&t.poi.getFloor()?n("div",{staticClass:"wf-poi-floor",domProps:{innerHTML:t._s(t.poi.getFloor().getName(t.language)||"")}}):t._e()]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-214375a4_0",{source:".layout-view[data-v-214375a4]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.poi-info[data-v-214375a4]{padding:1rem}.poi-info h2[data-v-214375a4]{text-align:center;margin-top:1.5rem;margin-bottom:1.5rem}.poi-body[data-v-214375a4]{box-shadow:0 -2px 1px 0 rgba(0,0,0,.05);padding:1rem;flex-grow:1}.poi-image[data-v-214375a4]{height:14rem;width:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat}.poi-image.image-background[data-v-214375a4]{background-size:cover}.show-path[data-v-214375a4]{bottom:1rem;right:1rem;text-transform:uppercase;z-index:10;line-height:2.8rem;margin-bottom:1.5rem}.show-path button[data-v-214375a4]{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-214375a4]{line-height:1.2}.poi-contact .address[data-v-214375a4]{font-weight:600;margin-bottom:.5rem}.poi-contact .address span[data-v-214375a4]{padding-top:4px;vertical-align:top;display:inline-block}.poi-contact .address a[data-v-214375a4]{text-decoration:none;display:block;line-height:1.5}.poi-contact .address .icon[data-v-214375a4]:before{mix-blend-mode:initial;color:#fff}",map:void 0,media:void 0})}),{name:"POI",computed:o({},S(["language"])),props:{poi:{type:Object,default:null},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1}},watch:{language:function(){wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{update:function(t){if(wayfinder.pois[t]&&(this.poi=Object.freeze(wayfinder.pois[t]),this.language=wayfinder.getLanguage(),this.$emit("titleChanged",this.poi.getName(wayfinder.getLanguage())),this.description=this.poi.getDescription(wayfinder.getLanguage())?this.poi.getDescription(wayfinder.getLanguage()):"",this.poi.shop_logo)){var e=this;window.requestAnimationFrame((function(){e.$app.getImage(e.poi.shop_logo).then((function(t){e.logo=t.url}))}))}},showPath:function(){this.poi&&this.$emit("showPath",this.poi)},open:function(t){t&&this.poi[t]&&("shop_email"===t?window.open("mailto:"+this.poi[t],"_system"):"shop_phone"===t?window.open("tel:"+this.poi[t],"_system"):window.open(this.poi[t],"_system"))},getImage:function(){return this.poi.getBackgroundUrl()?'url("'+this.poi.getBackgroundUrl()+'")':!!this.poi.getIconUrl()&&'url("'+this.poi.getIconUrl()+'")'},isImage:function(){return this.poi.getBackgroundUrl()?"image-background":this.poi.getIconUrl()?"image-logo":"image-none"},truncate:function(t,e){return t&&t.length>e?t.substring(0,e)+"...":t}},data:function(){return{show_path:"Show Path"}}},"data-v-214375a4",false,undefined,!1,V,void 0,void 0),q=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-az-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},undefined,{name:"AZMenu",components:{POI:Y},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({},S(["pois","language"])),{},{sortedPOIs:function(){var t=this,e=this.pois.slice().filter((function(t){return t&&t.getShowInMenu()}));return e=e.sort((function(e,n){return e.getName(t.language)&&n.getName(t.language)?e.getName(t.language).localeCompare(n.getName(t.language)):0})),this.count=e.length,e}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-4fae8d50",false,undefined,!1,void 0,void 0,void 0),K=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-container",class:[t.active?"wf-active":""]},[t.showTitle?n("div",{staticClass:"wf-languages-container-select"},[t._v("Select language")]):t._e(),t._v(" "),n("div",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.languages,(function(e){return n("div",{key:e.getName(),class:["item","language","lang-"+e.getName(),{active:e.getName()==t.language,display:t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-3d763d8e_0",{source:".languages-container.active[data-v-3d763d8e]{height:fit-content;z-index:10}.languages-container.active .languages-container-select[data-v-3d763d8e]{visibility:initial;opacity:1}.languages-container .languages-container-select[data-v-3d763d8e]{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-3d763d8e]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.languages-container .language .active[data-v-3d763d8e]{height:3.5rem;margin-bottom:1rem}.languages-container .language .display[data-v-3d763d8e]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"FlagsMenu",computed:o(o({},S(["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-3d763d8e",false,undefined,!1,V,void 0,void 0),X=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-menu",class:{"wf-active":t.active}},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count,t.active?"wf-active":""]},t._l(t.languages,(function(e){return n("li",{directives:[{name:"show",rawName:"v-show",value:!(t.hideActive&&e.getName()==t.language),expression:"!(hideActive && lang.getName() == language)"}],key:e.getName(),staticClass:"wf-list-item wf-language",class:["wf-lang-"+e.getName(),{"wf-active":e.getName()==t.language,"wf-display":t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-lang-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-4f2f0a41_0",{source:".wf-languages-menu.active[data-v-4f2f0a41]{height:fit-content;z-index:10}.wf-languages-menu.active .wf-languages-title[data-v-4f2f0a41]{visibility:initial;opacity:1}.wf-languages-menu .wf-languages-title[data-v-4f2f0a41]{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-4f2f0a41]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.wf-languages-menu .wf-language .wf-active[data-v-4f2f0a41]{height:3.5rem;margin-bottom:1rem}.wf-languages-menu .wf-language .wf-display[data-v-4f2f0a41]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"LanguagesMenu",computed:o(o({},S(["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-4f2f0a41",false,undefined,!1,V,void 0,void 0),Z=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-groups-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedGroups,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(topic)",arg:"tap"}],staticClass:"wf-item-content"},[t._t("default",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),e.childGroups.length>0&&t.showSubGroups?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}]},t._l(t.subGroups(e.childGroups),(function(e){return n("li",{key:e.id},[t._t("subgroup",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2)})),0):t._e(),t._v(" "),e.pois.length>0&&t.showPOIs?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}],staticClass:"wf-list wf-sublist"},t._l(e.pois,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onPOICLick(e),expression:"onPOICLick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item"},[t._t("poi",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showPOILogo,showName:t.showPOIName,showPathButton:t.showPOIPathButton,showDescription:t.showPOIDescription,showRoomID:t.showPOIRoomID,showFloor:t.showPOIFloor}})]}),{poi:e})],2)})),0):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-152fb014_0",{source:".wf-groups-menu .wf-list-item[data-v-152fb014]{list-style:none}.wf-groups-menu .wf-list[data-v-152fb014]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"GroupsMenu",components:{Group:W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.group?n("div",{staticClass:"wf-group",class:[t.hasImage()]},[n("label",{staticClass:"wf-name",domProps:{innerHTML:t._s(t.group.getName(t.language))}}),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-poi-count"},[t._v(t._s(t.group.pois.length))]):t._e(),t._v(" "),t.showIcon?n("img",{staticClass:"wf-group-icon",attrs:{src:t.group.getIconUrl()}}):t._e()]):t._e()},staticRenderFns:[]},undefined,{name:"Group",computed:o({},S(["language"])),props:{group:{type:Object,default:null},showIcon:{type:Boolean,default:!1},showPOICount:{type:Boolean,default:!1}},watch:{language:function(){wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{hasImage:function(){return this.group.getIconUrl()?"wf-has-icon":"wf-icon-none"}}},"data-v-5936e154",false,undefined,!1,void 0,void 0,void 0),POI:Y},props:{parent:{type:Number,default:-1},showPOICount:{type:Boolean,default:!1},az:{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}},data:function(){return{current:null,count:0}},computed:o(o({},S(["poiGroups","currentGroup","language"])),{},{sortedGroups:function(){var t,e=this,n=[],i=this.poiGroups;for(var o in i)(t=i[o])&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent||-1===this.parent&&null===t.parent_id)&&n.push(t);return this.az&&(n=n.sort((function(t,n){return t&&t.getName(e.language)&&n&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language),e.language,{sensitivity:"accent"}):0}))),this.count=n.length,n}}),watch:{currentGroup:function(){this.current=this.currentGroup}},methods:{onClick:function(t){var e=this;return function(){e.current==t?e.current=null:e.current=t,e.$emit("clicked",t)}},onPOICLick:function(t){var e=this;return function(){e.$emit("poiClicked",t)}},reset:function(){this.$store.dispatch("SET_CURRENT_GROUP",null)},subGroups:function(t){if(t){var e=[];for(var n in t)this.poiGroups[n]&&e.push(this.poiGroups[n]);return e}return[]}}},"data-v-152fb014",false,undefined,!1,V,void 0,void 0),Q=W({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-507451fe_0",{source:".wf-building-logo[data-v-507451fe]{background-size:contain;background-repeat:no-repeat;background-position:50%}",map:void 0,media:void 0})}),{name:"BuildingLogo",computed:o({},S(["building"])),methods:{getLogo:function(){if(this.building&&this.building.logoID)return"url("+WayfinderAPI.getURL("images","get",this.building.logoID)+")"}}},"data-v-507451fe",false,undefined,!1,V,void 0,void 0),J=W({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"wf-component wf-yah-logo",style:{"background-image":t.yahLogo},attrs:{"data-translation-element":"yah"},on:{click:function(e){return t.onClicked()}}},[t._v("\n\tYAH\n")])},staticRenderFns:[]},(function(t){t&&t("data-v-fa5a322e_0",{source:".wf-yah-logo[data-v-fa5a322e]{background-repeat:no-repeat;text-align:center;border:none;outline:0}",map:void 0,media:void 0})}),{name:"YAH",computed:o({},S(["yahLogo","language"])),methods:{onClicked:function(){this.$wayfinder.showKiosk()}}},"data-v-fa5a322e",false,undefined,!1,V,void 0,void 0),tt=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-shortcuts-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedShortcuts,(function(e){return n("li",{key:e.getID(),staticClass:"wf-list-item wf-shortcut",class:["wf-shortcut-"+e.getID()],on:{click:function(n){return t.showShortcut(e)}}},[t.showIcon?n("img",{staticClass:"wf-icon",attrs:{src:t.getImage(e.imageID)}}):t._e(),t._v(" "),t.showLabel?n("label",[t._v(t._s(e.getName(t.language)))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-768cd4e9_0",{source:".shortcuts-container[data-v-768cd4e9]{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-768cd4e9]{position:absolute;left:.5rem;bottom:15%;top:15%;flex-direction:column;justify-content:center}",map:void 0,media:void 0})}),{name:"ShortcutsMenu",components:{YAH:J},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({},S(["shortcuts","language","landscape","mobile"])),{},{sortedShortcuts:function(){var t=this.shortcuts.sort((function(t,e){return 1}));return t},count:function(){return this.shortcuts.length}}),methods:{showShortcut:function(t){var e=this.$wayfinder.getNearestPOI(this.$wayfinder.getKiosk(),t.pois);this.showPath&&"object"===a(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(),this.$emit("clicked",e,t)},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-768cd4e9",false,undefined,!1,V,void 0,void 0),et=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-zoommenu"},[n("div",{staticClass:"wf-item wf-zoom-in",on:{click:function(e){return t.zoomIn()}}},[t._v("+")]),t._v(" "),n("div",{staticClass:"wf-item wf-zoom-out",on:{click:function(e){return t.zoomOut()}}},[t._v("-")])])},staticRenderFns:[]},undefined,{methods:{zoomIn:function(){this.$wayfinder.zoomIn()},zoomOut:function(){this.$wayfinder.zoomOut()}}},undefined,false,undefined,!1,void 0,void 0,void 0),nt=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-map-floors-menu"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:!(t.hideWhenSingleFloor&&0===t.floors.length),expression:"!(hideWhenSingleFloor && floors.length === 0)"}],staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.filteredFloors,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:["wf-lang-"+t.language,"wf-floor-"+e.index,{active:e==t.currentFloor}],on:{click:function(n){return t.changeFloor(e)}}},[n("label",{staticClass:"wf-title"},[t._v(t._s(e.getName(t.language)))]),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-count"},[t._v(t._s(e.pois.length))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-a30f1872_0",{source:".wf-map-floors-menu .wf-list[data-v-a30f1872]{display:flex;flex-direction:column;justify-content:flex-end}.wf-map-floors-menu .wf-list .wf-list-item[data-v-a30f1872]{text-overflow:ellipsis;position:relative;text-align:center;margin-left:auto;overflow:hidden}",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({},S(["floors","language"])),{},{filteredFloors:function(){var t,e=[],n=this.floors;for(var i in n)(t=n[i])&&t.getShowInMenu()&&t.getName(this.language)&&e.push(t);return this.count=e.length,e}}),methods:{changeFloor:function(t){this.$emit("clicked",t)}}},"data-v-a30f1872",false,undefined,!1,V,void 0,void 0),it=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-filteredmenu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{active:t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},undefined,{name:"FilteredMenu",components:{POI:Y},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({},S(["filteredPOIs","language"])),watch:{filteredPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})),this.count=n.length,this.sortedPOIs=n}},methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-c6deec00",false,undefined,!1,void 0,void 0,void 0);function ot(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var at=ot((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){n.r(e);class i{constructor(t){this.keyboard=t,this.actions={backspace:function(t,e){e.selectionStart>0&&e.selectionStart==e.selectionEnd?(e.selectionStart--,e.changeValue("")):e.changeValue("")},change_keyset:function(t,e){void 0!==t.action[1]&&(e.keyset=t.action[1],e.clear(),e.construct())},change_layout:function(t,e){void 0!==t.action[1]&&(e.layoutName=t.action[1],e.clear(),e.construct())},submit:function(t,e){void 0!==t.action[1]&&(e.pushtoOutput(),e.clear())}}}activate(t){"function"==typeof this.actions[t.action[0]]&&this.actions[t.action[0]](t,this.keyboard)}addAction(t,e){this.actions[t]=e}}class o{constructor(t,e,n){this.layouts={},this.layoutName=void 0===n?"en":n,this.keyset="default",this.container=!1,this.containerListenerAdded=!1,this.setContainer(e),this.selectionStart=0,this.selectionEnd=0,this.output=!1,this.outputIsInputField=!0,this.value="",this.events={change:[],layout:[],ready:[]},this.actions=new i(this),this.cbOnChange=!1,this.setOutput(t),this.setDefaultLayout(),this.construct()}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,o=this.events[e].length;i<o;i++)"function"==typeof(n=this.events[e][i])&&n.apply(this,t)}}}addLayout(t,e){this.layouts[t]=e}changeLayout(t,e){this.layoutName=t,this.keyset=e||"default",this.clear(),this.construct(),this.trigger("layout",this.layoutName,this.keyset)}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),this.container.classList.add("keyboard"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}}setOutput(t){if("string"==typeof t){if(this.output=document.getElementById(t),!this.output)return void console.warn("Input field not found",t);"input"!==this.output.tagName.toLowerCase()&&(this.outputIsInputField=!1)}else this.output=t;this.output&&(this.output.addEventListener("focus",(()=>{this.updateFromOutput()})),this.output.addEventListener("keyup",(()=>{this.updateFromOutput(),this.trigger("change",this.value)})),this.output.addEventListener("mouseup",(()=>{this.updateFromOutput()})),this.output.addEventListener("input",(()=>{this.updateFromOutput()})))}updateFromOutput(){this.outputIsInputField?this.value=this.output.value:this.value=this.output.innerText,this.getCaretPosition()}clear(){if(this.container)for(;this.container.firstChild;)this.container.removeChild(this.container.firstChild)}clearValue(){this.value="",this.selectionStart=0,this.selectionEnd=0}getCurrentKeyset(){try{return this.layouts[this.layoutName].keys[this.keyset]}catch(t){return console.warn("Error! Probably no keyboard layout added!"),this.layouts.en.keys.default}}construct(){this.clear();let t="",e=this.getCurrentKeyset();for(let n in e){t+="<div class='keyboard-row keyboard-row-"+n+"'>";for(let i in e[n]){let o=e[n][i];switch(typeof o){case"string":t+="<div class='keyboard-key "+o+"' row='"+n+"' index='"+i+"'>"+o+"</div>";break;case"object":let e="";o.cls&&(e=o.cls),t+="<div class='keyboard-key keyboard-"+e+" "+o.key+"' object='' row='"+n+"' index='"+i+"'>"+o.key+"</div>"}}t+="</div>"}this.container.insertAdjacentHTML("beforeend",t),this.containerListenerAdded||(this.container.addEventListener("mousedown",(t=>{this.getCaretPosition(),this.keyPressed(t.target),t.stopPropagation(),t.preventDefault()})),this.container.addEventListener("mouseup",(t=>{this.keyReleased(t.target),t.stopPropagation()})),this.containerListenerAdded=!0,this.container.onselectstart=function(){return!1},this.container.onmousedown=function(){return!1}),this.rescale()}rescale(){if(!this.container)return;let t,e,n=0;for(let i=0;i<this.container.children.length;i++){let o=(t=this.container.children[i]).offsetHeight-t.clientHeight,a=t.offsetWidth-t.clientWidth;for(let n=0;n<t.children.length;n++)a+=((e=t.children[n]).offsetWidth<this.container.offsetWidth?e.offsetWidth:this.container.offsetWidth)+1,o=Math.max(o,this.container.offsetHeight);t.width=a,t.height=o,n+=o}this.container.height=n,this.trigger("ready")}keyPressed(t){t.classList.add("keyboard-key-pressed");let e=this.getCurrentKeyset()[t.getAttribute("row")];if(!e)return;let n=e[t.getAttribute("index")];switch(typeof n){case"string":this.changeValue(n);break;case"object":void 0===n.action?this.changeValue(n.key):this.actions.activate(n)}this.pushtoOutput()}changeValue(t){let e=this.value.substring(0,this.selectionStart),n=this.value.substring(this.selectionEnd,this.value.length);this.value=""+e+t+n,this.selectionStart+=t.length,this.selectionEnd=this.selectionStart}pushtoOutput(){if(this.output){this.outputIsInputField?(this.output.value=this.value,this.output.selectionStart=this.selectionStart,this.output.selectionEnd=this.selectionEnd):this.output.innerHTML=this.value;let t=new Event("change"),e=new Event("keyup");this.output.dispatchEvent(t),this.output.dispatchEvent(e),this.trigger("change",this.value)}}getCaretPosition(){this.output&&this.outputIsInputField&&(this.selectionStart=this.output.selectionStart,this.selectionEnd=this.output.selectionEnd)}keyReleased(t){t.classList.remove("keyboard-key-pressed")}width(){return-1}height(){return-1}setDefaultLayout(){this.layouts.en={name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"&#171; Bksp",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p","\\"],["a","s","d","f","g","h","j","k","l",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","shift"],cls:"key2x"},"z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]],shift:[["~","!","@","#","$","%","^","&","*","(",")",{key:"&#171; Bksp",action:"backspace",cls:"key2x"}],["Q","W","E","R","T","Y","U","I","O","P","{","}"],["A","S","D","F","G","H","J","K","L",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","default"],cls:"key2x active"},"Z","X","C","V","B","N","M","<",">","?"],[{key:" ",cls:"key_spacebar"}]]}}}}n.d(e,"OSK",(function(){return o})),n.d(e,"OSKActions",(function(){return i}))}]).OSK})),st=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-search"},[t.showCloseButton?n("div",{staticClass:"wf-close",attrs:{"data-translation-element":"close"},on:{click:function(e){return t.close(e)}}},[t._v("Close")]):t._e(),t._v(" "),n("div",{staticClass:"wf-search-container"},[n("div",{staticClass:"wf-search-results",class:{"wf-no-results":0==t.results.length}},[n("transition-group",{staticClass:"wf-list",attrs:{name:"list",tag:"ul"}},t._l(t.results,(function(e){return e&&e.getShowInMenu()?n("li",{key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2):t._e()})),0),t._v(" "),n("span",{directives:[{name:"show",rawName:"v-show",value:t.showNoResultsText&&0==t.results.length,expression:"showNoResultsText && results.length == 0"}]},[t._v(t._s(t.noResultsText))])],1),t._v(" "),t.showOutputField?n("div",{staticClass:"wf-search-input-container"},[n("input",{ref:"searchInput",attrs:{id:"wf-search-input"}})]):t._e(),t._v(" "),t.showKeyboard?n("div",{staticClass:"wf-keyboard",attrs:{id:"wf-keyboard-container"}}):t._e()])])},staticRenderFns:[]},(function(t){t&&t("data-v-c267e206_0",{source:".wf-search .wf-close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.wf-search .results{overflow:hidden}.wf-search .wf-search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.wf-search .wf-search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.wf-search .wf-keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.wf-search .wf-keyboard .keyboard-row{margin:auto;display:flex}.wf-search .wf-keyboard .keyboard-key{text-align:center;width:4ch;height:4ch;line-height:1.5;overflow:hidden;user-select:none}.wf-search .wf-keyboard .keyboard-key:last-child{margin-right:0}.wf-search .wf-keyboard .keyboard-key:active{background-color:#00f}.wf-search .wf-keyboard .keyboard-key2x{width:8ch}.wf-search .wf-keyboard .keyboard-key3x{width:12ch}.wf-search .wf-keyboard .keyboard-key_spacebar{width:24ch}",map:void 0,media:void 0})}),{name:"Search",components:{OSK:at,POI:Y},computed:o({},S(["language","reset"])),props:{limit:{type:Number,default:-1},showCloseButton:{type:Boolean,default:!1},showOutputField:{type:Boolean,default:!0},showKeyboard:{type:Boolean,default:!0},showNoResultsText:{type:Boolean,default:!0},noResultsText:{type:String,default:"No results"},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},data:function(){return{results:[],poi:{},keyboard:!1}},mounted:function(){var t=this;this.keyboard=new at("wf-search-input","wf-keyboard-container"),this.keyboard.on("change",(function(e){var n=t.$wayfinder.search.search(e);t.limit>0&&(n=n.slice(0,t.limit)),t.results=Object.freeze(Object.assign({},n)),e.length>1&&(Object.values(t.results).length>0?t.$wayfinder.statistics.onSearch(e,"successful"):t.$wayfinder.statistics.onSearch(e,"unsuccessful"))})),this.keyboard.addLayout("en",{name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"Delete",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p"],["a","s","d","f","g","h","j","k","l"],["z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]]}}),this.keyboard.changeLayout(this.language)},watch:{searchVisible:function(t){t&&this.$refs.searchInput&&this.$refs.searchInput.focus()},reset:function(){this.resetValues()},language:function(t){this.keyboard&&this.keyboard.changeLayout(t)}},methods:{onClick:function(t){this.$emit("clicked",t),this.$wayfinder.statistics.onClick(t.id,"menu")},close:function(){this.$emit("close"),this.resetValues()},resetValues:function(){this.results=[],this.keyboard&&(this.keyboard.changeLayout(this.language),this.keyboard.clearValue()),this.$refs.searchInput&&(this.$refs.searchInput.value="")},setOutput:function(t){this.keyboard.setOutput(t)},addLayout:function(t,e){this.keyboard.addLayout(t,e)},changeLayout:function(t){this.keyboard.changeLayout(t)}}},undefined,false,undefined,!1,V,void 0,void 0),rt=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"tabs",staticClass:"wf-component wf-tabs",class:["wf-tabs-"+t.activeTab,"wf-tabs-index-"+t.activeTabIndex,"wf-tabs-animate-"+t.animate]},[n("div",{ref:"slide",staticClass:"wf-tabs-content"},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-7eaad22c_0",{source:".wf-tabs[data-v-7eaad22c]{overflow:hidden;position:relative;width:100%;height:100%}.wf-tabs-content[data-v-7eaad22c]{height:100%;width:auto;display:flex;flex-direction:row;margin-left:0;transform:translateX(0) translateY(0)}.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{flex-direction:column}.wf-tab[data-v-7eaad22c]{opacity:0;transition:opacity .3s ease-out .5s}.wf-tab.wf-active[data-v-7eaad22c]{opacity:1;transition:opacity .3s ease-in}.wf-tabs.wf-tabs-animate-horizontal .wf-tabs-content[data-v-7eaad22c],.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{transition:transform .5s ease-in-out .2s}",map:void 0,media:void 0})}),{name:"Tabs",props:{activeTab:"",animate:{type:String,default:"none"}},data:function(){return{tabs:[],activeTabIndex:0,currentTab:null}},created:function(){this.tabs=this.$children},mounted:function(){this.$props.activeTab?this.activate(this.$props.activeTab):console.log("no active tab")},watch:{activeTab:function(t){t&&this.activate(t)}},methods:{activate:function(){for(var t in this.currentTab=null,this.tabs)this.tabs[t].name==this.$props.activeTab?(this.tabs[t].isActive=!0,this.$emit("tabChanged",this.tabs[t]),this.currentTab=this.tabs[t],this.activeTabIndex=t,"vertical"===this.animate?this.$refs.slide.style.transform="translateX(0) translateY(-"+100*t+"%)":this.$refs.slide.style.transform="translateY(0) translateX(-"+100*t+"%)"):this.tabs[t].isActive=!1}}},"data-v-7eaad22c",false,undefined,!1,V,void 0,void 0),ct=W({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-5dac46ae_0",{source:".wf-tab[data-v-5dac46ae]{overflow:hidden;flex-grow:1;flex-shrink:0}",map:void 0,media:void 0})}),{name:"Tab",props:{name:""},data:function(){return{isActive:!1,isVisible:!0}},created:function(){},methods:{}},"data-v-5dac46ae",false,undefined,!1,V,void 0,void 0),ut=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-tab-buttons"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mobile&&!t.landscape,expression:"mobile && !landscape"}],staticClass:"wf-item tab-map",class:{active:"map"==t.currentTab},attrs:{"data-translation-element":"map"},on:{click:function(e){return t.switchTab("map")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-topics",class:{active:"groups"==t.currentTab||"group-pois"==t.currentTab},attrs:{"data-translation-element":"topics"},on:{click:function(e){return t.switchTab("groups")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-az",class:{active:"az"==t.currentTab},attrs:{"data-translation-element":"az"},on:{click:function(e){return t.switchTab("az")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-search",class:{active:"search"==t.currentTab},attrs:{"data-translation-element":"search"},on:{click:function(e){return t.switchTab("search")}}})])},staticRenderFns:[]},(function(t){t&&t("data-v-5924577d_0",{source:".wf-tab-buttons[data-v-5924577d]{display:flex;align-content:stretch;justify-content:space-between}.wf-tab-buttons .wf-item[data-v-5924577d]{background-size:auto 30%;background-repeat:no-repeat}",map:void 0,media:void 0})}),{name:"Tabs",computed:o({},S(["currentTab","searchVisible","mobile","landscape","shortcuts","language"])),data:function(){return{toilet:!1,toiletsIcon:!1}},methods:{switchTab:function(t){this.$emit("switchTab",t)}}},"data-v-5924577d",false,undefined,!1,V,void 0,void 0),lt=ot((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports={create:function(){return[0,0]},clone:function(t){var e=new Array(2);return e[0]=t[0],e[1]=t[1],e},fromValues:function(t,e){var n=new Array(2);return n[0]=t,n[1]=e,n},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},set:function(t,e,n){return t[0]=e,t[1]=n,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},dist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},sqrDist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return n*n+i*i},len:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},length:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},sqrLen:function(t){var e=t[0],n=t[1];return e*e+n*n},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var n=e[0],i=e[1],o=n*n+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o),t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},cross:function(t,e,n){var i=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=i,t},lerp:function(t,e,n,i){var o=e[0],a=e[1];return t[0]=o+i*(n[0]-o),t[1]=a+i*(n[1]-a),t},transformMat2:function(t,e,n){var i=e[0],o=e[1];return t[0]=i*n[0]+o*n[1],t[1]=i*n[2]+o*n[3],t},str:function(t){return"this("+t[0]+", "+t[1]+")"}}},function(t,e,n){n.r(e),n.d(e,"ScrollArea",(function(){return r}));var i=n(0),o=n.n(i);class a{constructor(t,e){this.position=o.a.create(),this.contentSize=t,this.viewSize=e,this._maxPosition=o.a.create(),this._minPosition=o.a.create(),this._vec2cache=o.a.create()}getViewPosition(){return this.position}getContentPosition(){return this.position}clampPosition(){o.a.max(this._maxPosition,this.getViewSize(),this.getContentSize()),o.a.min(this._minPosition,this.getViewSize(),this.getContentSize()),o.a.sub(this._maxPosition,this._maxPosition,this._minPosition),this.position=this.clamp(this.position,o.a.create(),this._maxPosition)}setViewPosition(t){!isNaN(parseFloat(t[0]))&&isFinite(t[0])&&!isNaN(parseFloat(t[1]))&&isFinite(t[1])&&(this.position=t,this.clampPosition())}move(t){t&&this.setViewPosition(o.a.sub(t,this.getViewPosition(),t))}setViewSize(t,e){this.viewSize=o.a.fromValues(t,e),this.clampPosition()}setContentSize(t,e){this.contentSize=o.a.fromValues(t,e),this.clampPosition()}isContentLonger(){return this.viewSize[1]<=this.contentSize[1]}isContentWider(){return this.viewSize[0]<=this.contentSize[0]}getContentSize(){return this.contentSize}getViewSize(){return this.viewSize}clamp(t,e,n){var i=o.a.clone(t);return o.a.max(i,i,e),o.a.min(i,i,n),i}getPercentagePosition(){return o.a.div(o.a.create(),this.position,this.viewSize)}getRelativePosition(){return o.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize()),0!==o.a.len(this._vec2cache)&&o.a.div(this._vec2cache,this.getViewPosition(),o.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize())),this._vec2cache}}class s{constructor(t,e,n){this.vertical=void 0===n||!n,this.position=0,this.containerSize=1,this.contentSize=1,this.mouseDelta=o.a.create(),this.onScroll=!1,this.parentElement=t,this.element=document.createElement("div"),this.element.classList.add("sa-scrollbar"),this.element.classList.add("sa-scrollbar-position-"+e),this.element.style.position="absolute",this.element.style.right="0",this.element.style.top="0",this.element.style.bottom="0",this.bar=document.createElement("div"),this.bar.style.minWidth="1px",this.bar.classList.add("sa-bar"),this.element.appendChild(this.bar),t.appendChild(this.element),this.attachEvents(this.element),this.view=new a(o.a.fromValues(this.bar.clientWidth,this.bar.clientHeight),o.a.fromValues(this.element.clientWidth,this.element.clientHeight))}attachEvents(t){if(t.addEventListener("mousedown",(t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=o.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY))}),!1),window.addEventListener("touchend",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchcancel",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchmove",(t=>{if(console.log("touchmove",t),t.touches&&t.touches.length>0){if(this.lastTouch){var e=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(o.a.sub(e,this.lastTouch,e)):this.scroll(o.a.sub(e,e,this.lastTouch))}this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY)}}),!1),"undefined"!=typeof ResizeObserver&&t){var e=this;this.resizeObserver=new ResizeObserver((function(){e.resize()})),this.resizeObserver.observe(t)}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=o.a.clone(e.view.getContentPosition()),e.setPosition(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}setPosition(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.bar.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition()}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("on-left"),0===t[1]&&e.push("on-top"),1===t[0]&&e.push("on-right"),1===t[1]&&e.push("on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e)}clear(){this.position=0,this.setPosition(0)}getBarLength(){return this.vertical?parseInt(this.bar.height()):parseInt(this.bar.width())}getViewLength(){return this.vertical?this.view.getViewSize()[1]:this.view.getViewSize()[0]}getContentLength(){return this.vertical?this.view.getContentSize()[1]:this.view.getContentSize()[0]}setContentPosition(t){var e=o.a.create(),n=this.containerSize/this.contentSize;o.a.scale(e,t,n),this.view.setViewPosition(e),this.setPosition(this.view.getContentPosition())}getPercentage(){return o.a.len(this.view.getViewPosition())/this.getViewLength()}resize(){this.view.setViewSize(parseInt(this.element.clientWidth),parseInt(this.bar.clientHeight)),this.view.setContentSize(parseInt(this.element.clientWidth),parseInt(this.bar.clientHeight)),this.checkIfScrollIsNeeded()}checkIfScrollIsNeeded(){this.view.isContentLonger()&&this.element.classList.add("content-longer"),this.view.isContentWider()&&this.element.classList.add("content-wider")}}class r{constructor(t,e,n){if(this.container=null,this.content=null,this.options={smooth:!0,reverse:!0,swapContainers:!0,updateInterval:10,wheelSpeed:50},void 0!==n&&n&&(this.options=this.chooseOptions(this.options,n)),console.log("vec2",o.a,o.a.create),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=o.a.create(),this.lastTime=0,this.smoothDistance=null,this.timeout=null,this.smoothCoeficent=o.a.fromValues(11,11),this.positionClassNames=[],this.mousedown=!1,this.touchstart=!1,this._vec2cache=o.a.create(),this.container,this.getOption("swapContainers")?this.view=new a(o.a.fromValues(this.container.clientWidth,this.container.clientHeight),o.a.fromValues(this.content.clientWidth,this.content.clientHeight)):(this.content,this.view=new a(o.a.fromValues(this.content.clientWidth,this.content.clientHeight),o.a.fromValues(this.container.clientWidth,this.container.clientHeight))),this.container.style.position="relative",this.container.style.overflow="hidden",this.container.style.overflow="hidden",this.container.style.userSelect="none",this.attachEvents(this.container),this.scrollbar=new s(this.container,"right"),"undefined"!=typeof ResizeObserver&&this.content){var i=this;this.resizeObserver=new ResizeObserver((function(){console.log("resizeObserver2"),i.resize()})),this.resizeObserver.observe(this.content)}}attachEvents(t){t.addEventListener("mousewheel",(t=>{var e;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?t.wheelDelta<0?1:t.wheelDelta>0?-1:1:t.deltaY>0?1:t.deltaY<0?-1:1,this.scroll(o.a.fromValues(0,this.getOption("wheelSpeed")*e))})),t.addEventListener("mousedown",(t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=o.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.mousedown=!0,this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY))}),!1),window.addEventListener("touchend",(t=>{this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchcancel",(t=>{this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchmove",(t=>{if(console.log("touchmove",t),t.touches&&t.touches.length>0&&this.mousedown){if(this.lastTouch){var e=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(o.a.sub(e,this.lastTouch,e)):this.scroll(o.a.sub(e,e,this.lastTouch))}this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY)}}),!1)}onEndDrag(t,e){var n=o.a.div(0,Math.abs(event.velocity));if(this.getOption("smooth")&&sqrLen(n)>.3){var i=fromValues(event.deltaX,event.deltaY),a=o.a.create();o.a.multiply(a,i,n),this.getOption("reverse");var s=this;this.stop();var r=create(),c=function(){div(r,a,s.smoothCoeficent),sqrLen(r)>3?(sub(a,a,r),requestAnimFrame(c,s.getOption("updateInterval")),negate(r,r),s.scroll(r)):s.scrolling=!1};this.timeout=requestAnimFrame(c,s.updateInterval)}else this.scrolling=!1}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.content.clientWidth),parseInt(this.content.clientHeight)),this.view.setContentSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight))):(this.view.setViewSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight)),this.view.setContentSize(parseInt(this.content.clientWidth),parseInt(this.content.clientHeight))),this.checkIfScrollIsNeeded()}reset(){this.setContentOffset([0,0])}checkIfScrollIsNeeded(){this.view.isContentLonger()&&this.container.classList.add("content-longer"),this.view.isContentWider()&&this.container.classList.add("content-wider")}chooseOptions(t,e){for(var n in e)t[n]&&(t[n]=e[n]);return t}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),this.container.classList.add("keyboard"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}this.container&&(this.content=this.container.firstElementChild)}getOption(t){return this.options[t]}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,o=this.events[e].length;i<o;i++)n=this.events[e][i],"function"==typeof n&&n.apply(this,t)}}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=o.a.clone(e.view.getContentPosition()),e.setContentOffset(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}setContentOffset(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.content.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition()}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("on-left"),0===t[1]&&e.push("on-top"),1===t[0]&&e.push("on-right"),1===t[1]&&e.push("on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e)}}}]).ScrollArea})),dt=W({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"area",staticClass:"wf-component wf-scrollable"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"ScrollableArea",data:function(){return{scroll:null}},updated:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.resize()}))},mounted:function(){var t=this;this.$nextTick((function(){t.scroll||(t.scroll=new lt(t.$refs.area))}))},methods:{activate:function(){this.makeScroll()},reset:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.refresh()}))}}},"data-v-21e68d18",false,undefined,!1,void 0,void 0,void 0),ht=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],ref:"frames",staticClass:"wf-component wf-banner"},t._l(t.frames,(function(e,i){return n("div",{key:e.id,staticClass:"wf-frame",class:[{"wf-active":i==t.current},t.frameKeywords]},[t._l(e.containers,(function(i){return n("div",{key:i.id,staticClass:"wf-frame-container",style:{left:i.left+"%",top:i.top+"%",width:i.width+"%",height:i.height+"%",backgroundImage:"url('"+i.url+"')"},on:{click:function(n){return t.onClick(e,i)}}},[t.isVideo(i)?n("video",{attrs:{width:"100%",height:"auto",src:i.url,muted:""},domProps:{muted:!0}}):t._e()])})),t._v(" "),t._t("default",null,{frame:e})],2)})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-7ab19c09_0",{source:".wf-banner[data-v-7ab19c09]{position:relative;width:100%;height:100%}.wf-banner .wf-frame[data-v-7ab19c09]{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-7ab19c09]{background-size:cover;background-position:50% 50%;background-repeat:no-repeat}.wf-banner .wf-frame.wf-active[data-v-7ab19c09]{opacity:1;transition:opacity .5s ease-in-out}.wf-banner .wf-frame video[data-v-7ab19c09]{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}},computed:o({},S(["banners"])),data:function(){return{frames:[],current:-1,timer:null,fadeDuration:500,backgroundColor:"#fff",visible:!1,qr:null,displayQR:!1,frameKeywords:[],last:0}},watch:{banners:function(){var t=this,e=Date.now();this.template&&this.container&&this.banners["template-"+this.template]&&this.banners["template-"+this.template][this.container]&&(this.frames=this.banners["template-"+this.template][this.container].filter((function(n){var i=n.enabled;if(i&&n.from_date&&(i=i&&new Date(n.from_date).getTime()<=e),i&&n.to_date&&(i=i&&new Date(n.to_date).getTime()>=e),i)for(var o in n.containers)n.containers[o].url=t.getUrl(n.containers[o]);return i})),this.$emit("hasbanners",this.frames.length>0),this.playOnBoot&&this.$nextTick((function(){this.play()})))}},mounted:function(){},methods:{visibilityChanged:function(t){this.visible=t,t?this.play():this.stop()},play:function(){var t=this;if(!(this.current>=this.frames.length)){this.frames.length>0&&this.next();var e=this.frames[this.current];if(null!=this.timer&&clearTimeout(this.timer),e&&(this.displayQR=!(!e||!e.keywords)&&e.keywords.join(",").indexOf("qr-")>-1,this.frameKeywords=e.keywords.map((function(t){return"keyword-"+t})),this.$refs.frames)){var n=this.$refs.frames.children[this.current];if(n){var i=n.querySelector("video");i&&i.readyState?setTimeout((function(){t.playVideo(i,e.duration)}),0):this.timer=setTimeout(this.play,e.duration)}else this.timer=setTimeout(this.play,e.duration)}}},playVideo:function(t,e){var n=this;t.pause(),t.currentTime=0,t.play().catch((function(i){clearTimeout(n.timer),setTimeout((function(){n.playVideo(t,e)}),300)})),this.timer=setTimeout(this.play,e)},stop:function(){this.timer&&clearTimeout(this.timer)},next:function(){this.current<this.frames.length-1?this.current++:this.current=0},onClick:function(t,e){this.$emit("clicked",t,e)},isImage:function(t){return!(t.type&&"video"===t.type.substr(0,5))},isVideo:function(t){return t.type&&"video"===t.type.substr(0,5)},getUrl:function(t){return WayfinderAPI.advertisements.data.url(t.advertisement_id)}}},"data-v-7ab19c09",false,undefined,!1,V,void 0,void 0),ft=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-browser"},[n("iframe",{attrs:{src:t.currentSRC}})])},staticRenderFns:[]},(function(t){t&&t("data-v-55f34065_0",{source:".wf-browser,.wf-browser iframe{width:100%;height:100%;border:none}",map:void 0,media:void 0})}),{name:"MapFloors",props:{src:{type:String,default:""}},computed:o({},S(["reset"])),data:function(){return{currentSRC:""}},mounted:function(){this.currentSRC=this.src},watch:{reset:function(t){this.currentSRC=this.src+"?t="+Date.now()}}},undefined,false,undefined,!1,V,void 0,void 0);n.default.use(j);var pt=new j.Store({state:s({floors:[],pois:[],poiGroups:[],loaded:!1,language:"en",languages:[],shortcuts:[],filteredPOIs:[],currentFloor:"X",building:{},yahLogo:"",currentPOI:!1,currentTab:"groups",currentGroup:!1,searchVisible:!1,reset:0,banners:{},landscape:!1,mobile:!1,maxInActivity:30},"reset",0),getters:{xLanguage:function(t,e){return void 0!==n.default.prototype.$wayfinder&&(t.language=n.default.prototype.$wayfinder.getLanguage()),t.language},xFloors:function(t){return void 0!==n.default.prototype.$wayfinder&&n.default.prototype.$wayfinder.building&&(t.floors=Object.freeze(n.default.prototype.$wayfinder.building.getSortedFloors())),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=n.default.prototype.$wayfinder.getPOIGroups(),i=[];Object.keys(e).forEach((function(t){parseInt(e[t].showInTopMenu)&&i.push(Object.freeze(e[t]))})),i=(i=i.slice(0,6)).sort((function(t,e){return-(t.order-e.order)})),t.shortcuts=i}return t.shortcuts},xBuilding:function(t){return"undefined"!==n.default.prototype.$wayfinder&&(t.building=Object.freeze(Object.assign({},n.default.prototype.$wayfinder.building))),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.slice()))},xTopics:function(t){void 0!==n.default.prototype.$wayfinder&&(t.poiGroups=Object.freeze(Object.assign({},n.default.prototype.$wayfinder.poiGroups)))},xBanners:function(t){void 0!==n.default.prototype.$wayfinder&&(t.banners=Object.assign({},n.default.prototype.$wayfinder.getFilteredAdvertisements()))}},mutations:{SET_POI:function(t,e){t.currentPOI=e},SET_TAB:function(t,e){t.currentTab=e},SET_GROUP:function(t,e){t.currentGroup=e},SET_SHOW_SEARCH:function(t,e){t.searchVisible=e},SET_NEW_RESET:function(t){t.reset=t.reset+1,t.currentPOI=!1,t.currentGroup=!1},SET_LANDSCAPE:function(t,e){t.landscape=e},SET_MOBILE:function(t,e){t.mobile=e},SET_INACTIVITY_TIME:function(t,e){t.maxInActivity=e},SET_CURRENT_FLOOR:function(t,e){t.currentFloor=e},SET_FILTERED_POIS:function(t,e){t.filteredPOIs=e},RESET:function(t,e){t.reset=Date.now()}},actions:{SET_CURRENT_POI:function(t,e){t.commit("SET_POI",Object.freeze(e))},SET_CURRENT_TAB:function(t,e){t.commit("SET_TAB",e)},SET_CURRENT_GROUP:function(t,e){t.commit("SET_GROUP",Object.freeze(e))},SHOW_SEARCH:function(t,e){t.commit("SET_SHOW_SEARCH",e)},SET_RESET:function(t){t.commit("SET_NEW_RESET")},SET_LANDSCAPE:function(t,e){t.commit("SET_LANDSCAPE",e)},SET_INACTIVITY_TIME:function(t,e){t.commit("SET_INACTIVITY_TIME",e)},SET_MOBILE:function(t,e){t.commit("SET_MOBILE",e)},SET_CURRENT_FLOOR:function(t,e){t.commit("SET_CURRENT_FLOOR",Object.freeze(e))},SET_FILTERED_POIS:function(t,e){t.commit("SET_FILTERED_POIS",Object.freeze(e))},RESET:function(t){t.commit("RESET")}}}),gt=Object.freeze({__proto__:null,WFMap:H,WFAZMenu:q,WFFlagsMenu:K,WFLanguagesMenu:X,WFGroupsMenu:Z,WFBuildingLogo:Q,WFShortcutsMenu:tt,WFZoomMenu:et,WFFloorsMenu:nt,WFFilteredMenu:it,WFSearch:st,WFTabs:rt,WFTab:ct,WFTabButtons:ut,WFScrollableArea:dt,WFBanner:ht,WFPOI:Y,WFYAH:J,WFBrowser:ft,WFStore:pt}),mt=function(t){Object.entries(gt).forEach((function(e){var n=r(e,2),i=n[0],o=n[1];t.component(i,o)}))},vt=Object.freeze({__proto__:null,default:mt,WFMap:H,WFAZMenu:q,WFFlagsMenu:K,WFLanguagesMenu:X,WFGroupsMenu:Z,WFBuildingLogo:Q,WFShortcutsMenu:tt,WFZoomMenu:et,WFFloorsMenu:nt,WFFilteredMenu:it,WFSearch:st,WFTabs:rt,WFTab:ct,WFTabButtons:ut,WFScrollableArea:dt,WFBanner:ht,WFPOI:Y,WFYAH:J,WFBrowser:ft,WFStore:pt});return Object.entries(vt).forEach((function(t){var e=r(t,2),n=e[0],i=e[1];"default"!==n&&(mt[n]=i)})),mt}(Vue);
6
+ */()}function c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var u=("undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function l(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,i=(n=function(e){return e.original===t},e.filter(n)[0]);if(i)return i.copy;var o=Array.isArray(t)?[]:{};return e.push({original:t,copy:o}),Object.keys(t).forEach((function(n){o[n]=l(t[n],e)})),o}function d(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function h(t){return null!==t&&"object"==typeof t}var f=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},p={namespaced:{configurable:!0}};p.namespaced.get=function(){return!!this._rawModule.namespaced},f.prototype.addChild=function(t,e){this._children[t]=e},f.prototype.removeChild=function(t){delete this._children[t]},f.prototype.getChild=function(t){return this._children[t]},f.prototype.hasChild=function(t){return t in this._children},f.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},f.prototype.forEachChild=function(t){d(this._children,t)},f.prototype.forEachGetter=function(t){this._rawModule.getters&&d(this._rawModule.getters,t)},f.prototype.forEachAction=function(t){this._rawModule.actions&&d(this._rawModule.actions,t)},f.prototype.forEachMutation=function(t){this._rawModule.mutations&&d(this._rawModule.mutations,t)},Object.defineProperties(f.prototype,p);var g,m=function(t){this.register([],t,!1)};function v(t,e,n){if(e.update(n),n.modules)for(var i in n.modules){if(!e.getChild(i))return;v(t.concat(i),e.getChild(i),n.modules[i])}}m.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},m.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},m.prototype.update=function(t){v([],this.root,t)},m.prototype.register=function(t,e,n){var i=this;void 0===n&&(n=!0);var o=new f(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&d(e.modules,(function(e,o){i.register(t.concat(o),e,n)}))},m.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],i=e.getChild(n);i&&i.runtime&&e.removeChild(n)},m.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var w=function(t){var e=this;void 0===t&&(t={}),!g&&"undefined"!=typeof window&&window.Vue&&I(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new m(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new g,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=i;var r=this._modules.root.state;k(this,r,[],this._modules.root),C(this,r),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:g.config.devtools)&&function(t){u&&(t._devtoolHook=u,u.emit("vuex:init",t),u.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){u.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){u.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},y={state:{configurable:!0}};function b(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function _(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;k(t,n,[],t._modules.root,!0),C(t,n,e)}function C(t,e,n){var i=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};d(o,(function(e,n){a[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}));var s=g.config.silent;g.config.silent=!0,t._vm=new g({data:{$$state:e},computed:a}),g.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(t),i&&(n&&t._withCommit((function(){i._data.$$state=null})),g.nextTick((function(){return i.$destroy()})))}function k(t,e,n,i,o){var a=!n.length,s=t._modules.getNamespace(n);if(i.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=i),!a&&!o){var r=O(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){g.set(r,c,i.state)}))}var u=i.context=function(t,e,n){var i=""===e,o={dispatch:i?t.dispatch:function(n,i,o){var a=E(n,i,o),s=a.payload,r=a.options,c=a.type;return r&&r.root||(c=e+c),t.dispatch(c,s)},commit:i?t.commit:function(n,i,o){var a=E(n,i,o),s=a.payload,r=a.options,c=a.type;r&&r.root||(c=e+c),t.commit(c,s,r)}};return Object.defineProperties(o,{getters:{get:i?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},i=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,i)===e){var a=o.slice(i);Object.defineProperty(n,a,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return O(t.state,n)}}}),o}(t,s,n);i.forEachMutation((function(e,n){!function(t,e,n,i){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,i.state,e)}))}(t,s+n,e,u)})),i.forEachAction((function(e,n){var i=e.root?n:s+n,o=e.handler||e;!function(t,e,n,i){(t._actions[e]||(t._actions[e]=[])).push((function(e){var o,a=n.call(t,{dispatch:i.dispatch,commit:i.commit,getters:i.getters,state:i.state,rootGetters:t.getters,rootState:t.state},e);return(o=a)&&"function"==typeof o.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):a}))}(t,i,o,u)})),i.forEachGetter((function(e,n){!function(t,e,n,i){if(t._wrappedGetters[e])return;t._wrappedGetters[e]=function(t){return n(i.state,i.getters,t.state,t.getters)}}(t,s+n,e,u)})),i.forEachChild((function(i,a){k(t,e,n.concat(a),i,o)}))}function O(t,e){return e.reduce((function(t,e){return t[e]}),t)}function E(t,e,n){return h(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function I(t){g&&t===g||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(g=t)}y.state.get=function(){return this._vm._data.$$state},y.state.set=function(t){},w.prototype.commit=function(t,e,n){var i=this,o=E(t,e,n),a=o.type,s=o.payload,r={type:a,payload:s},c=this._mutations[a];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(r,i.state)})))},w.prototype.dispatch=function(t,e){var n=this,i=E(t,e),o=i.type,a=i.payload,s={type:o,payload:a},r=this._actions[o];if(r){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var c=r.length>1?Promise.all(r.map((function(t){return t(a)}))):r[0](a);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){}e(t)}))}))}},w.prototype.subscribe=function(t,e){return b(t,this._subscribers,e)},w.prototype.subscribeAction=function(t,e){return b("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},w.prototype.watch=function(t,e,n){var i=this;return this._watcherVM.$watch((function(){return t(i.state,i.getters)}),e,n)},w.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},w.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),k(this,this.state,t,this._modules.get(t),n.preserveState),C(this,this.state)},w.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=O(e.state,t.slice(0,-1));g.delete(n,t[t.length-1])})),_(this)},w.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},w.prototype.hotUpdate=function(t){this._modules.update(t),_(this,!0)},w.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(w.prototype,y);var S=$((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var i=L(this.$store,"mapState",t);if(!i)return;e=i.context.state,n=i.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[i].vuex=!0})),n})),P=$((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.commit;if(t){var a=L(this.$store,"mapMutations",t);if(!a)return;i=a.context.commit}return"function"==typeof o?o.apply(this,[i].concat(e)):i.apply(this.$store,[o].concat(e))}})),n})),T=$((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,o=e.val;o=t+o,n[i]=function(){if(!t||L(this.$store,"mapGetters",t))return this.$store.getters[o]},n[i].vuex=!0})),n})),x=$((function(t,e){var n={};return F(e).forEach((function(e){var i=e.key,o=e.val;n[i]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var i=this.$store.dispatch;if(t){var a=L(this.$store,"mapActions",t);if(!a)return;i=a.context.dispatch}return"function"==typeof o?o.apply(this,[i].concat(e)):i.apply(this.$store,[o].concat(e))}})),n}));function F(t){return function(t){return Array.isArray(t)||h(t)}(t)?Array.isArray(t)?t.map((function(t){return{key:t,val:t}})):Object.keys(t).map((function(e){return{key:e,val:t[e]}})):[]}function $(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function L(t,e,n){return t._modulesNamespaceMap[n]}function N(t,e,n){var i=n?t.groupCollapsed:t.group;try{i.call(t,e)}catch(n){t.log(e)}}function R(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function B(){var t=new Date;return" @ "+M(t.getHours(),2)+":"+M(t.getMinutes(),2)+":"+M(t.getSeconds(),2)+"."+M(t.getMilliseconds(),3)}function M(t,e){return n="0",i=e-t.toString().length,new Array(i+1).join(n)+t;var n,i}var z,j={Store:w,install:I,version:"3.6.2",mapState:S,mapMutations:P,mapGetters:T,mapActions:x,createNamespacedHelpers:function(t){return{mapState:S.bind(null,t),mapGetters:T.bind(null,t),mapMutations:P.bind(null,t),mapActions:x.bind(null,t)}},createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var n=t.filter;void 0===n&&(n=function(t,e,n){return!0});var i=t.transformer;void 0===i&&(i=function(t){return t});var o=t.mutationTransformer;void 0===o&&(o=function(t){return t});var a=t.actionFilter;void 0===a&&(a=function(t,e){return!0});var s=t.actionTransformer;void 0===s&&(s=function(t){return t});var r=t.logMutations;void 0===r&&(r=!0);var c=t.logActions;void 0===c&&(c=!0);var u=t.logger;return void 0===u&&(u=console),function(t){var d=l(t.state);void 0!==u&&(r&&t.subscribe((function(t,a){var s=l(a);if(n(t,d,s)){var r=B(),c=o(t),h="mutation "+t.type+r;N(u,h,e),u.log("%c prev state","color: #9E9E9E; font-weight: bold",i(d)),u.log("%c mutation","color: #03A9F4; font-weight: bold",c),u.log("%c next state","color: #4CAF50; font-weight: bold",i(s)),R(u)}d=s})),c&&t.subscribeAction((function(t,n){if(a(t,n)){var i=B(),o=s(t),r="action "+t.type+i;N(u,r,e),u.log("%c action","color: #03A9F4; font-weight: bold",o),R(u)}})))}}},A={name:"Map",props:{project:{type:String,default:"demo"},api:{type:String,default:"//api.3dwayfinder.com/"},assets:{type:String,default:"//static.3dwayfinder.com/shared/"}},computed:o({},S(["currentFloor"])),mounted:function(){this.load()},methods:o(o({},x(["updateData","setWayfinder"])),{},{load:function(){var t=this;console.log("load2",this.$WF_MAP_TYPE,"undefined"==typeof Wayfinder2D?"undefined":a(Wayfinder2D),"undefined"==typeof Wayfinder2D?"undefined":a(Wayfinder2D)),z=void 0!==this.$WF_MAP_TYPE&&"2d"==this.$WF_MAP_TYPE?new Wayfinder2D:new Wayfinder3D,n.default.prototype.$wayfinder=z,n.default.directive("wf-translate",{bind:function(t,e,n){if(z){var i="string"==typeof e.value?e.value:e.expression;t.setAttribute("data-translation-element",i),z.translator.translateElement(i,t)}}}),WayfinderAPI.LOCATION=this.api,z.options.assetsLocation=this.assets,z.options.project=this.project,z.open();var e=this,i=1e3*z.settings.getInt("path.message.duration",5);z.events.on("data-loaded",(function(){console.log("data-loaded",e.loaded),e.loaded||(e.$store.dispatch("SET_CURRENT_FLOOR",z.getCurrentFloor()),e.$store.dispatch("SET_INACTIVITY_TIME",z.settings.getInt("kiosk.max-inactivity",30)),e.update(z),e.$store.dispatch("SET_INACTIVITY_TIME",z.settings.getInt("kiosk.max-inactivity",30)),e.$emit("loaded"))})),z.events.on("map-ready",(function(){z.resize()})),z.events.on("language-change",(function(){t.update(z)})),z.events.on("floor-change-before",(function(e,n,i){t.pathText=z.translator.get("go_to_floor",[e.getName(z.getLanguage()),i.getName(z.getLanguage()),n.getName(z.getLanguage())]),t.showPathText=!0})),z.events.on("floor-change",(function(e){e&&(t.$store.dispatch("SET_CURRENT_FLOOR",e),t.$emit("onTouch")),t.showPathText&&setTimeout((function(){t.showPathText=!1}),i)})),z.events.on("map-click",(function(e){e&&(t.$emit("poiClicked",e,!0),z.statistics.onClick(e.id,"map"))})),z.events.on("map-touch",(function(){t.$emit("onTouch")})),window.addEventListener("resize",(function(){z&&z.resize()}))},update:function(){for(var t in this.$store._wrappedGetters)this.$store._wrappedGetters[t](this.$store.state);n.default.prototype.$wayfinder.update(),n.default.prototype.$wayfinder.resize(),n.default.prototype.$wayfinder.translator.translate()},reset:function(){z.restoreDefaultState()},start:function(){z.run(),z.statistics.onSessionStart()},pause:function(){z.pause(),z.statistics.onSessionEnd()},run:function(){z.run()},visibilityChanged:function(t){n.default.prototype.$wayfinder.resize()}}),data:function(){return{loaded:!1,showPathText:!1,pathText:""}}};function W(t,e,n,i,o,a,s,r,c,u){"boolean"!=typeof s&&(c=r,r=s,s=!1);const l="function"==typeof n?n.options:n;let d;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,o&&(l.functional=!0)),i&&(l._scopeId=i),a?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=d):e&&(d=s?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,r(t))}),d)if(l.functional){const t=l.render;l.render=function(e,n){return d.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,d):[d]}return n}const D="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function V(t){return(t,e)=>function(t,e){const n=D?e.media||"default":t,i=U[n]||(U[n]={ids:new Set,styles:[]});if(!i.ids.has(t)){i.ids.add(t);let n=e.source;if(e.map&&(n+="\n/*# sourceURL="+e.map.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),i.element||(i.element=document.createElement("style"),i.element.type="text/css",e.media&&i.element.setAttribute("media",e.media),void 0===G&&(G=document.head||document.getElementsByTagName("head")[0]),G.appendChild(i.element)),"styleSheet"in i.element)i.styles.push(n),i.element.styleSheet.cssText=i.styles.filter(Boolean).join("\n");else{const t=i.ids.size-1,e=document.createTextNode(n),o=i.element.childNodes;o[t]&&i.element.removeChild(o[t]),o.length?i.element.insertBefore(e,o[t]):i.element.appendChild(e)}}}(t,e)}let G;const U={};var H=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],staticClass:"wf-component wf-map-container"},[n("canvas",{attrs:{id:"map"}}),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:t.showPathText,expression:"showPathText"}],staticClass:"wf-map-path-text"},[t._v(t._s(t.pathText))])])},staticRenderFns:[]},(function(t){t&&t("data-v-5b108f00_0",{source:".wf-map-container[data-v-5b108f00]{position:relative;width:100%;height:100%}.wf-map-container canvas[data-v-5b108f00]{width:100%;height:100%}.wf-map-container .wf-map-path-text[data-v-5b108f00]{width:30ch;text-align:center;background-color:#fff;position:absolute;bottom:25%;margin:auto;left:50%;margin-left:-15ch;padding:.5em}",map:void 0,media:void 0})}),A,"data-v-5b108f00",false,undefined,!1,V,void 0,void 0),Y=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.poi?n("div",{staticClass:"wf-poi"},[t.showLogo?n("div",{staticClass:"wf-poi-image",class:[t.isImage()],style:{"background-image":t.getImage()}}):t._e(),t._v(" "),t.showName?n("div",{staticClass:"wf-poi-name",domProps:{innerHTML:t._s(t.poi.getName(t.language)||"POI")}}):t._e(),t._v(" "),t.showPathButton?n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.showPath,expression:"showPath",arg:"tap"}],staticClass:"wf-show-path"},[n("button",[n("label",{attrs:{"data-translation-element":"show_path"}},[t._v(t._s(t.show_path))]),t._v(" "),n("i")])]):t._e(),t._v(" "),t.showDescription?n("div",{staticClass:"wf-poi-description",domProps:{innerHTML:t._s(t.poi.getDescription(t.language)||"")}}):t._e(),t._v(" "),t.showRoomID?n("div",{staticClass:"wf-poi-room_id",domProps:{innerHTML:t._s(t.poi.room_id||"")}}):t._e(),t._v(" "),t.showFloor&&t.poi.getFloor()?n("div",{staticClass:"wf-poi-floor",domProps:{innerHTML:t._s(t.poi.getFloor().getName(t.language)||"")}}):t._e()]):t._e()},staticRenderFns:[]},(function(t){t&&t("data-v-214375a4_0",{source:".layout-view[data-v-214375a4]{display:flex;flex-direction:column;justify-content:space-between;height:100%}.poi-info[data-v-214375a4]{padding:1rem}.poi-info h2[data-v-214375a4]{text-align:center;margin-top:1.5rem;margin-bottom:1.5rem}.poi-body[data-v-214375a4]{box-shadow:0 -2px 1px 0 rgba(0,0,0,.05);padding:1rem;flex-grow:1}.poi-image[data-v-214375a4]{height:14rem;width:100%;background-position:50% 50%;background-size:contain;background-repeat:no-repeat}.poi-image.image-background[data-v-214375a4]{background-size:cover}.show-path[data-v-214375a4]{bottom:1rem;right:1rem;text-transform:uppercase;z-index:10;line-height:2.8rem;margin-bottom:1.5rem}.show-path button[data-v-214375a4]{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-214375a4]{line-height:1.2}.poi-contact .address[data-v-214375a4]{font-weight:600;margin-bottom:.5rem}.poi-contact .address span[data-v-214375a4]{padding-top:4px;vertical-align:top;display:inline-block}.poi-contact .address a[data-v-214375a4]{text-decoration:none;display:block;line-height:1.5}.poi-contact .address .icon[data-v-214375a4]:before{mix-blend-mode:initial;color:#fff}",map:void 0,media:void 0})}),{name:"POI",computed:o({},S(["language"])),props:{poi:{type:Object,default:null},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1}},watch:{language:function(){wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{update:function(t){if(wayfinder.pois[t]&&(this.poi=Object.freeze(wayfinder.pois[t]),this.language=wayfinder.getLanguage(),this.$emit("titleChanged",this.poi.getName(wayfinder.getLanguage())),this.description=this.poi.getDescription(wayfinder.getLanguage())?this.poi.getDescription(wayfinder.getLanguage()):"",this.poi.shop_logo)){var e=this;window.requestAnimationFrame((function(){e.$app.getImage(e.poi.shop_logo).then((function(t){e.logo=t.url}))}))}},showPath:function(){this.poi&&this.$emit("showPath",this.poi)},open:function(t){t&&this.poi[t]&&("shop_email"===t?window.open("mailto:"+this.poi[t],"_system"):"shop_phone"===t?window.open("tel:"+this.poi[t],"_system"):window.open(this.poi[t],"_system"))},getImage:function(){return this.poi.getBackgroundUrl()?'url("'+this.poi.getBackgroundUrl()+'")':!!this.poi.getIconUrl()&&'url("'+this.poi.getIconUrl()+'")'},isImage:function(){return this.poi.getBackgroundUrl()?"image-background":this.poi.getIconUrl()?"image-logo":"image-none"},truncate:function(t,e){return t&&t.length>e?t.substring(0,e)+"...":t}},data:function(){return{show_path:"Show Path"}}},"data-v-214375a4",false,undefined,!1,V,void 0,void 0),q=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-az-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},undefined,{name:"AZMenu",components:{POI:Y},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({},S(["pois","language"])),{},{sortedPOIs:function(){var t=this,e=this.pois.slice().filter((function(t){return t&&t.getShowInMenu()}));return e=e.sort((function(e,n){return e.getName(t.language)&&n.getName(t.language)?e.getName(t.language).localeCompare(n.getName(t.language)):0})),this.count=e.length,e}}),methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-4fae8d50",false,undefined,!1,void 0,void 0,void 0),K=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-container",class:[t.active?"wf-active":""]},[t.showTitle?n("div",{staticClass:"wf-languages-container-select"},[t._v("Select language")]):t._e(),t._v(" "),n("div",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.languages,(function(e){return n("div",{key:e.getName(),class:["item","language","lang-"+e.getName(),{active:e.getName()==t.language,display:t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-3d763d8e_0",{source:".languages-container.active[data-v-3d763d8e]{height:fit-content;z-index:10}.languages-container.active .languages-container-select[data-v-3d763d8e]{visibility:initial;opacity:1}.languages-container .languages-container-select[data-v-3d763d8e]{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-3d763d8e]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.languages-container .language .active[data-v-3d763d8e]{height:3.5rem;margin-bottom:1rem}.languages-container .language .display[data-v-3d763d8e]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"FlagsMenu",computed:o(o({},S(["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-3d763d8e",false,undefined,!1,V,void 0,void 0),X=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-languages-menu",class:{"wf-active":t.active}},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count,t.active?"wf-active":""]},t._l(t.languages,(function(e){return n("li",{directives:[{name:"show",rawName:"v-show",value:!(t.hideActive&&e.getName()==t.language),expression:"!(hideActive && lang.getName() == language)"}],key:e.getName(),staticClass:"wf-list-item wf-language",class:["wf-lang-"+e.getName(),{"wf-active":e.getName()==t.language,"wf-display":t.active}],on:{click:function(n){return t.changeLanguage(e)}}},[t.showFlag?n("div",{staticClass:"wf-lang-flag",style:{backgroundImage:"url("+t.getFlagImage(e.flagImage)+")"}}):t._e(),t._v(" "),"code"==t.labelType?n("label",[t._v(t._s(e.getName()))]):t._e(),t._v(" "),"native"==t.labelType?n("label",[t._v(t._s(e.getNativeName()))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-4f2f0a41_0",{source:".wf-languages-menu.active[data-v-4f2f0a41]{height:fit-content;z-index:10}.wf-languages-menu.active .wf-languages-title[data-v-4f2f0a41]{visibility:initial;opacity:1}.wf-languages-menu .wf-languages-title[data-v-4f2f0a41]{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-4f2f0a41]{width:70%;height:100%;background-size:cover;background-position:50%;background-repeat:no-repeat}.wf-languages-menu .wf-language .wf-active[data-v-4f2f0a41]{height:3.5rem;margin-bottom:1rem}.wf-languages-menu .wf-language .wf-display[data-v-4f2f0a41]{height:3.5rem;margin-bottom:1.5rem}",map:void 0,media:void 0})}),{name:"LanguagesMenu",computed:o(o({},S(["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-4f2f0a41",false,undefined,!1,V,void 0,void 0),Z=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-groups-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},[t._t("prepend"),t._v(" "),t._l(t.sortedGroups,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:{active:t.current&&e.id==t.current.id}},[n("div",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(topic)",arg:"tap"}],staticClass:"wf-item-content"},[t._t("default",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2),t._v(" "),e.childGroups.length>0&&t.showSubGroups?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}]},t._l(t.subGroups(e.childGroups),(function(e){return n("li",{key:e.id},[t._t("subgroup",(function(){return[n("Group",{attrs:{group:e,showIcon:t.showIcon,showPOICount:t.showPOICount}})]}),{group:e})],2)})),0):t._e(),t._v(" "),e.pois.length>0&&t.showPOIs?n("ul",{directives:[{name:"show",rawName:"v-show",value:t.current&&e.id==t.current.id,expression:"current && topic.id == current.id"}],staticClass:"wf-list wf-sublist"},t._l(e.pois,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onPOICLick(e),expression:"onPOICLick(poi)",arg:"tap"}],key:e.id,staticClass:"wf-list-item"},[t._t("poi",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showPOILogo,showName:t.showPOIName,showPathButton:t.showPOIPathButton,showDescription:t.showPOIDescription,showRoomID:t.showPOIRoomID,showFloor:t.showPOIFloor}})]}),{poi:e})],2)})),0):t._e()])})),t._v(" "),t._t("append")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-0d60985e_0",{source:".wf-groups-menu .wf-list-item[data-v-0d60985e]{list-style:none}.wf-groups-menu .wf-list[data-v-0d60985e]{margin:0;padding:0}",map:void 0,media:void 0})}),{name:"GroupsMenu",components:{Group:W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.group?n("div",{staticClass:"wf-group",class:[t.hasImage()]},[n("label",{staticClass:"wf-name",domProps:{innerHTML:t._s(t.group.getName(t.language))}}),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-poi-count"},[t._v(t._s(t.group.pois.length))]):t._e(),t._v(" "),t.showIcon?n("img",{staticClass:"wf-group-icon",attrs:{src:t.group.getIconUrl()}}):t._e()]):t._e()},staticRenderFns:[]},undefined,{name:"Group",computed:o({},S(["language"])),props:{group:{type:Object,default:null},showIcon:{type:Boolean,default:!1},showPOICount:{type:Boolean,default:!1}},watch:{language:function(){wayfinder&&(this.show_path=this.$wayfinder.translator.get("show_path"))}},methods:{hasImage:function(){return this.group.getIconUrl()?"wf-has-icon":"wf-icon-none"}}},"data-v-5936e154",false,undefined,!1,void 0,void 0,void 0),POI:Y},props:{parent:{type:Number,default:-1},showPOICount:{type:Boolean,default:!1},az:{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}},data:function(){return{current:null,count:0}},computed:o(o({},S(["poiGroups","currentGroup","language"])),{},{sortedGroups:function(){var t,e=this,n=[],i=this.poiGroups;for(var o in i)(t=i[o])&&t.getShowInMenu()&&t.getName(this.language)&&(this.parent>-1&&parseInt(t.parent_id)==this.parent||-1===this.parent&&null===t.parent_id)&&n.push(t);return this.az&&(n=n.sort((function(t,n){return t&&t.getName(e.language)&&n&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language),e.language,{sensitivity:"accent"}):0}))),this.count=n.length,n}}),watch:{currentGroup:function(){this.current=this.currentGroup}},methods:{onClick:function(t){var e=this;return function(){e.current==t?e.current=null:e.current=t,e.$emit("clicked",t)}},onPOICLick:function(t){var e=this;return function(){e.$emit("poiClicked",t)}},reset:function(){this.$store.dispatch("SET_CURRENT_GROUP",null)},subGroups:function(t){if(t){var e=[];for(var n in t)this.poiGroups[n]&&e.push(this.poiGroups[n]);return e}return[]}}},"data-v-0d60985e",false,undefined,!1,V,void 0,void 0),Q=W({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-507451fe_0",{source:".wf-building-logo[data-v-507451fe]{background-size:contain;background-repeat:no-repeat;background-position:50%}",map:void 0,media:void 0})}),{name:"BuildingLogo",computed:o({},S(["building"])),methods:{getLogo:function(){if(this.building&&this.building.logoID)return"url("+WayfinderAPI.getURL("images","get",this.building.logoID)+")"}}},"data-v-507451fe",false,undefined,!1,V,void 0,void 0),J=W({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("button",{staticClass:"wf-component wf-yah-logo",style:{"background-image":t.yahLogo},attrs:{"data-translation-element":"yah"},on:{click:function(e){return t.onClicked()}}},[t._v("\n\tYAH\n")])},staticRenderFns:[]},(function(t){t&&t("data-v-fa5a322e_0",{source:".wf-yah-logo[data-v-fa5a322e]{background-repeat:no-repeat;text-align:center;border:none;outline:0}",map:void 0,media:void 0})}),{name:"YAH",computed:o({},S(["yahLogo","language"])),methods:{onClicked:function(){this.$wayfinder.showKiosk()}}},"data-v-fa5a322e",false,undefined,!1,V,void 0,void 0),tt=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-shortcuts-menu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedShortcuts,(function(e){return n("li",{key:e.getID(),staticClass:"wf-list-item wf-shortcut",class:["wf-shortcut-"+e.getID()],on:{click:function(n){return t.showShortcut(e)}}},[t.showIcon?n("img",{staticClass:"wf-icon",attrs:{src:t.getImage(e.imageID)}}):t._e(),t._v(" "),t.showLabel?n("label",[t._v(t._s(e.getName(t.language)))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-768cd4e9_0",{source:".shortcuts-container[data-v-768cd4e9]{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-768cd4e9]{position:absolute;left:.5rem;bottom:15%;top:15%;flex-direction:column;justify-content:center}",map:void 0,media:void 0})}),{name:"ShortcutsMenu",components:{YAH:J},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({},S(["shortcuts","language","landscape","mobile"])),{},{sortedShortcuts:function(){var t=this.shortcuts.sort((function(t,e){return 1}));return t},count:function(){return this.shortcuts.length}}),methods:{showShortcut:function(t){var e=this.$wayfinder.getNearestPOI(this.$wayfinder.getKiosk(),t.pois);this.showPath&&"object"===a(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(),this.$emit("clicked",e,t)},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-768cd4e9",false,undefined,!1,V,void 0,void 0),et=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-zoommenu"},[n("div",{staticClass:"wf-item wf-zoom-in",on:{click:function(e){return t.zoomIn()}}},[t._v("+")]),t._v(" "),n("div",{staticClass:"wf-item wf-zoom-out",on:{click:function(e){return t.zoomOut()}}},[t._v("-")])])},staticRenderFns:[]},undefined,{methods:{zoomIn:function(){this.$wayfinder.zoomIn()},zoomOut:function(){this.$wayfinder.zoomOut()}}},undefined,false,undefined,!1,void 0,void 0,void 0),nt=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-map-floors-menu"},[n("ul",{directives:[{name:"show",rawName:"v-show",value:!(t.hideWhenSingleFloor&&0===t.floors.length),expression:"!(hideWhenSingleFloor && floors.length === 0)"}],staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.filteredFloors,(function(e){return n("li",{key:e.id,staticClass:"wf-list-item",class:["wf-lang-"+t.language,"wf-floor-"+e.index,{active:e==t.currentFloor}],on:{click:function(n){return t.changeFloor(e)}}},[n("label",{staticClass:"wf-title"},[t._v(t._s(e.getName(t.language)))]),t._v(" "),t.showPOICount?n("label",{staticClass:"wf-count"},[t._v(t._s(e.pois.length))]):t._e()])})),0)])},staticRenderFns:[]},(function(t){t&&t("data-v-a30f1872_0",{source:".wf-map-floors-menu .wf-list[data-v-a30f1872]{display:flex;flex-direction:column;justify-content:flex-end}.wf-map-floors-menu .wf-list .wf-list-item[data-v-a30f1872]{text-overflow:ellipsis;position:relative;text-align:center;margin-left:auto;overflow:hidden}",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({},S(["floors","language"])),{},{filteredFloors:function(){var t,e=[],n=this.floors;for(var i in n)(t=n[i])&&t.getShowInMenu()&&t.getName(this.language)&&e.push(t);return this.count=e.length,e}}),methods:{changeFloor:function(t){this.$emit("clicked",t)}}},"data-v-a30f1872",false,undefined,!1,V,void 0,void 0),it=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-filteredmenu"},[n("ul",{staticClass:"wf-list",class:["wf-list-count-"+t.count]},t._l(t.sortedPOIs,(function(e){return n("li",{directives:[{name:"touch",rawName:"v-touch:tap",value:t.onClick(e),expression:"onClick(poiitem)",arg:"tap"}],key:e.id,staticClass:"wf-list-item",class:{active:t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2)})),0)])},staticRenderFns:[]},undefined,{name:"FilteredMenu",components:{POI:Y},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({},S(["filteredPOIs","language"])),watch:{filteredPOIs:function(t){var e=this,n=t.slice().filter((function(t){return t&&t.getShowInMenu()}));n=n.sort((function(t,n){return t.getName(e.language)&&n.getName(e.language)?t.getName(e.language).localeCompare(n.getName(e.language)):0})),this.count=n.length,this.sortedPOIs=n}},methods:{onClick:function(t){var e=this;return function(){e.$emit("clicked",t),e.$wayfinder.statistics.onClick(t.id,"menu")}}}},"data-v-c6deec00",false,undefined,!1,void 0,void 0,void 0);function ot(t,e,n){return t(n={path:e,exports:{},require:function(t,e){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==e&&n.path)}},n.exports),n.exports}var at=ot((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){n.r(e);class i{constructor(t){this.keyboard=t,this.actions={backspace:function(t,e){e.selectionStart>0&&e.selectionStart==e.selectionEnd?(e.selectionStart--,e.changeValue("")):e.changeValue("")},change_keyset:function(t,e){void 0!==t.action[1]&&(e.keyset=t.action[1],e.clear(),e.construct())},change_layout:function(t,e){void 0!==t.action[1]&&(e.layoutName=t.action[1],e.clear(),e.construct())},submit:function(t,e){void 0!==t.action[1]&&(e.pushtoOutput(),e.clear())}}}activate(t){"function"==typeof this.actions[t.action[0]]&&this.actions[t.action[0]](t,this.keyboard)}addAction(t,e){this.actions[t]=e}}class o{constructor(t,e,n){this.layouts={},this.layoutName=void 0===n?"en":n,this.keyset="default",this.container=!1,this.containerListenerAdded=!1,this.setContainer(e),this.selectionStart=0,this.selectionEnd=0,this.output=!1,this.outputIsInputField=!0,this.value="",this.events={change:[],layout:[],ready:[]},this.actions=new i(this),this.cbOnChange=!1,this.setOutput(t),this.setDefaultLayout(),this.construct()}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,o=this.events[e].length;i<o;i++)"function"==typeof(n=this.events[e][i])&&n.apply(this,t)}}}addLayout(t,e){this.layouts[t]=e}changeLayout(t,e){this.layoutName=t,this.keyset=e||"default",this.clear(),this.construct(),this.trigger("layout",this.layoutName,this.keyset)}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),this.container.classList.add("keyboard"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}}setOutput(t){if("string"==typeof t){if(this.output=document.getElementById(t),!this.output)return void console.warn("Input field not found",t);"input"!==this.output.tagName.toLowerCase()&&(this.outputIsInputField=!1)}else this.output=t;this.output&&(this.output.addEventListener("focus",(()=>{this.updateFromOutput()})),this.output.addEventListener("keyup",(()=>{this.updateFromOutput(),this.trigger("change",this.value)})),this.output.addEventListener("mouseup",(()=>{this.updateFromOutput()})),this.output.addEventListener("input",(()=>{this.updateFromOutput()})))}updateFromOutput(){this.outputIsInputField?this.value=this.output.value:this.value=this.output.innerText,this.getCaretPosition()}clear(){if(this.container)for(;this.container.firstChild;)this.container.removeChild(this.container.firstChild)}clearValue(){this.value="",this.selectionStart=0,this.selectionEnd=0}getCurrentKeyset(){try{return this.layouts[this.layoutName].keys[this.keyset]}catch(t){return console.warn("Error! Probably no keyboard layout added!"),this.layouts.en.keys.default}}construct(){this.clear();let t="",e=this.getCurrentKeyset();for(let n in e){t+="<div class='keyboard-row keyboard-row-"+n+"'>";for(let i in e[n]){let o=e[n][i];switch(typeof o){case"string":t+="<div class='keyboard-key "+o+"' row='"+n+"' index='"+i+"'>"+o+"</div>";break;case"object":let e="";o.cls&&(e=o.cls),t+="<div class='keyboard-key keyboard-"+e+" "+o.key+"' object='' row='"+n+"' index='"+i+"'>"+o.key+"</div>"}}t+="</div>"}this.container.insertAdjacentHTML("beforeend",t),this.containerListenerAdded||(this.container.addEventListener("mousedown",(t=>{this.getCaretPosition(),this.keyPressed(t.target),t.stopPropagation(),t.preventDefault()})),this.container.addEventListener("mouseup",(t=>{this.keyReleased(t.target),t.stopPropagation()})),this.containerListenerAdded=!0,this.container.onselectstart=function(){return!1},this.container.onmousedown=function(){return!1}),this.rescale()}rescale(){if(!this.container)return;let t,e,n=0;for(let i=0;i<this.container.children.length;i++){let o=(t=this.container.children[i]).offsetHeight-t.clientHeight,a=t.offsetWidth-t.clientWidth;for(let n=0;n<t.children.length;n++)a+=((e=t.children[n]).offsetWidth<this.container.offsetWidth?e.offsetWidth:this.container.offsetWidth)+1,o=Math.max(o,this.container.offsetHeight);t.width=a,t.height=o,n+=o}this.container.height=n,this.trigger("ready")}keyPressed(t){t.classList.add("keyboard-key-pressed");let e=this.getCurrentKeyset()[t.getAttribute("row")];if(!e)return;let n=e[t.getAttribute("index")];switch(typeof n){case"string":this.changeValue(n);break;case"object":void 0===n.action?this.changeValue(n.key):this.actions.activate(n)}this.pushtoOutput()}changeValue(t){let e=this.value.substring(0,this.selectionStart),n=this.value.substring(this.selectionEnd,this.value.length);this.value=""+e+t+n,this.selectionStart+=t.length,this.selectionEnd=this.selectionStart}pushtoOutput(){if(this.output){this.outputIsInputField?(this.output.value=this.value,this.output.selectionStart=this.selectionStart,this.output.selectionEnd=this.selectionEnd):this.output.innerHTML=this.value;let t=new Event("change"),e=new Event("keyup");this.output.dispatchEvent(t),this.output.dispatchEvent(e),this.trigger("change",this.value)}}getCaretPosition(){this.output&&this.outputIsInputField&&(this.selectionStart=this.output.selectionStart,this.selectionEnd=this.output.selectionEnd)}keyReleased(t){t.classList.remove("keyboard-key-pressed")}width(){return-1}height(){return-1}setDefaultLayout(){this.layouts.en={name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"&#171; Bksp",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p","\\"],["a","s","d","f","g","h","j","k","l",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","shift"],cls:"key2x"},"z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]],shift:[["~","!","@","#","$","%","^","&","*","(",")",{key:"&#171; Bksp",action:"backspace",cls:"key2x"}],["Q","W","E","R","T","Y","U","I","O","P","{","}"],["A","S","D","F","G","H","J","K","L",{key:"Enter",action:["submit"],cls:"key3x"}],[{key:"Shift",action:["change_keyset","default"],cls:"key2x active"},"Z","X","C","V","B","N","M","<",">","?"],[{key:" ",cls:"key_spacebar"}]]}}}}n.d(e,"OSK",(function(){return o})),n.d(e,"OSKActions",(function(){return i}))}]).OSK})),st=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-search"},[t.showCloseButton?n("div",{staticClass:"wf-close",attrs:{"data-translation-element":"close"},on:{click:function(e){return t.close(e)}}},[t._v("Close")]):t._e(),t._v(" "),n("div",{staticClass:"wf-search-container"},[n("div",{staticClass:"wf-search-results",class:{"wf-no-results":0==t.results.length}},[n("transition-group",{staticClass:"wf-list",attrs:{name:"list",tag:"ul"}},t._l(t.results,(function(e){return e&&e.getShowInMenu()?n("li",{key:e.id,staticClass:"wf-list-item",class:{"wf-active":t.currentPOI&&e.id==t.currentPOI.id},on:{click:function(n){return t.onClick(e)}}},[t._t("default",(function(){return[n("POI",{attrs:{poi:e,showLogo:t.showLogo,showName:t.showName,showPathButton:t.showPathButton,showDescription:t.showDescription,showRoomID:t.showRoomID,showFloor:t.showFloor}})]}),{poi:e})],2):t._e()})),0),t._v("\n\t\t\t"+t._s(t.results.length)+"\n\t\t\t"),n("span",{directives:[{name:"show",rawName:"v-show",value:t.showNoResultsText&&0==t.results.length,expression:"showNoResultsText && results.length == 0"}],staticClass:"wf-search-no-results-text"},[t._v(t._s(t.noResultsText))])],1),t._v(" "),t.showOutputField?n("div",{staticClass:"wf-search-input-container"},[n("input",{ref:"searchInput",attrs:{id:"wf-search-input"}})]):t._e(),t._v(" "),t.showKeyboard?n("div",{staticClass:"wf-keyboard",attrs:{id:"wf-keyboard-container"}}):t._e()])])},staticRenderFns:[]},(function(t){t&&t("data-v-c1ab8218_0",{source:".wf-search .wf-close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.wf-search .results{overflow:hidden}.wf-search .wf-search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.wf-search .wf-search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.wf-search .wf-keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.wf-search .wf-keyboard .keyboard-row{margin:auto;display:flex}.wf-search .wf-keyboard .keyboard-key{text-align:center;width:4ch;height:4ch;line-height:1.5;overflow:hidden;user-select:none}.wf-search .wf-keyboard .keyboard-key:last-child{margin-right:0}.wf-search .wf-keyboard .keyboard-key:active{background-color:#00f}.wf-search .wf-keyboard .keyboard-key2x{width:8ch}.wf-search .wf-keyboard .keyboard-key3x{width:12ch}.wf-search .wf-keyboard .keyboard-key_spacebar{width:24ch}",map:void 0,media:void 0})}),{name:"Search",components:{OSK:at,POI:Y},computed:o({},S(["language","reset"])),props:{limit:{type:Number,default:-1},showCloseButton:{type:Boolean,default:!1},showOutputField:{type:Boolean,default:!0},showKeyboard:{type:Boolean,default:!0},showNoResultsText:{type:Boolean,default:!0},noResultsText:{type:String,default:"No results"},showLogo:{type:Boolean,default:!1},showName:{type:Boolean,default:!0},showPathButton:{type:Boolean,default:!1},showDescription:{type:Boolean,default:!1},showRoomID:{type:Boolean,default:!1},showFloor:{type:Boolean,default:!1},currentPOI:{type:Object,default:null}},data:function(){return{results:[],poi:{},keyboard:!1}},mounted:function(){var t=this;this.keyboard=new at("wf-search-input","wf-keyboard-container"),this.keyboard.on("change",(function(e){var n=t.$wayfinder.search.search(e);t.limit>0&&(n=n.slice(0,t.limit)),t.results=Object.freeze(Object.values(n)),e.length>1&&(Object.values(t.results).length>0?t.$wayfinder.statistics.onSearch(e,"successful"):t.$wayfinder.statistics.onSearch(e,"unsuccessful"))})),this.keyboard.addLayout("en",{name:"English",keyboard:"US International",local_name:"English",lang:"en",keys:{default:[["1","2","3","4","5","6","7","8","9","0",{key:"Delete",action:["backspace"],cls:"key2x"}],["q","w","e","r","t","y","u","i","o","p"],["a","s","d","f","g","h","j","k","l"],["z","x","c","v","b","n","m"],[{key:" ",cls:"key_spacebar"}]]}}),this.keyboard.changeLayout(this.language)},watch:{searchVisible:function(t){t&&this.$refs.searchInput&&this.$refs.searchInput.focus()},reset:function(){this.resetValues()},language:function(t){this.keyboard&&this.keyboard.changeLayout(t)}},methods:{onClick:function(t){this.$emit("clicked",t),this.$wayfinder.statistics.onClick(t.id,"menu")},close:function(){this.$emit("close"),this.resetValues()},resetValues:function(){this.results=[],this.keyboard&&(this.keyboard.changeLayout(this.language),this.keyboard.clearValue()),this.$refs.searchInput&&(this.$refs.searchInput.value="")},setOutput:function(t){this.keyboard.setOutput(t)},addLayout:function(t,e){this.keyboard.addLayout(t,e)},changeLayout:function(t){this.keyboard.changeLayout(t)}}},undefined,false,undefined,!1,V,void 0,void 0),rt=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"tabs",staticClass:"wf-component wf-tabs",class:["wf-tabs-"+t.activeTab,"wf-tabs-index-"+t.activeTabIndex,"wf-tabs-animate-"+t.animate]},[n("div",{ref:"slide",staticClass:"wf-tabs-content"},[t._t("default")],2)])},staticRenderFns:[]},(function(t){t&&t("data-v-7eaad22c_0",{source:".wf-tabs[data-v-7eaad22c]{overflow:hidden;position:relative;width:100%;height:100%}.wf-tabs-content[data-v-7eaad22c]{height:100%;width:auto;display:flex;flex-direction:row;margin-left:0;transform:translateX(0) translateY(0)}.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{flex-direction:column}.wf-tab[data-v-7eaad22c]{opacity:0;transition:opacity .3s ease-out .5s}.wf-tab.wf-active[data-v-7eaad22c]{opacity:1;transition:opacity .3s ease-in}.wf-tabs.wf-tabs-animate-horizontal .wf-tabs-content[data-v-7eaad22c],.wf-tabs.wf-tabs-animate-vertical .wf-tabs-content[data-v-7eaad22c]{transition:transform .5s ease-in-out .2s}",map:void 0,media:void 0})}),{name:"Tabs",props:{activeTab:"",animate:{type:String,default:"none"}},data:function(){return{tabs:[],activeTabIndex:0,currentTab:null}},created:function(){this.tabs=this.$children},mounted:function(){this.$props.activeTab?this.activate(this.$props.activeTab):console.log("no active tab")},watch:{activeTab:function(t){t&&this.activate(t)}},methods:{activate:function(){for(var t in this.currentTab=null,this.tabs)this.tabs[t].name==this.$props.activeTab?(this.tabs[t].isActive=!0,this.$emit("tabChanged",this.tabs[t]),this.currentTab=this.tabs[t],this.activeTabIndex=t,"vertical"===this.animate?this.$refs.slide.style.transform="translateX(0) translateY(-"+100*t+"%)":this.$refs.slide.style.transform="translateY(0) translateX(-"+100*t+"%)"):this.tabs[t].isActive=!1}}},"data-v-7eaad22c",false,undefined,!1,V,void 0,void 0),ct=W({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-5dac46ae_0",{source:".wf-tab[data-v-5dac46ae]{overflow:hidden;flex-grow:1;flex-shrink:0}",map:void 0,media:void 0})}),{name:"Tab",props:{name:""},data:function(){return{isActive:!1,isVisible:!0}},created:function(){},methods:{}},"data-v-5dac46ae",false,undefined,!1,V,void 0,void 0),ut=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-tab-buttons"},[n("div",{directives:[{name:"show",rawName:"v-show",value:t.mobile&&!t.landscape,expression:"mobile && !landscape"}],staticClass:"wf-item tab-map",class:{active:"map"==t.currentTab},attrs:{"data-translation-element":"map"},on:{click:function(e){return t.switchTab("map")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-topics",class:{active:"groups"==t.currentTab||"group-pois"==t.currentTab},attrs:{"data-translation-element":"topics"},on:{click:function(e){return t.switchTab("groups")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-az",class:{active:"az"==t.currentTab},attrs:{"data-translation-element":"az"},on:{click:function(e){return t.switchTab("az")}}}),t._v(" "),n("div",{staticClass:"wf-item tab-search",class:{active:"search"==t.currentTab},attrs:{"data-translation-element":"search"},on:{click:function(e){return t.switchTab("search")}}})])},staticRenderFns:[]},(function(t){t&&t("data-v-5924577d_0",{source:".wf-tab-buttons[data-v-5924577d]{display:flex;align-content:stretch;justify-content:space-between}.wf-tab-buttons .wf-item[data-v-5924577d]{background-size:auto 30%;background-repeat:no-repeat}",map:void 0,media:void 0})}),{name:"Tabs",computed:o({},S(["currentTab","searchVisible","mobile","landscape","shortcuts","language"])),data:function(){return{toilet:!1,toiletsIcon:!1}},methods:{switchTab:function(t){this.$emit("switchTab",t)}}},"data-v-5924577d",false,undefined,!1,V,void 0,void 0),lt=ot((function(t){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(t,e){t.exports={create:function(){return[0,0]},clone:function(t){var e=new Array(2);return e[0]=t[0],e[1]=t[1],e},fromValues:function(t,e){var n=new Array(2);return n[0]=t,n[1]=e,n},copy:function(t,e){return t[0]=e[0],t[1]=e[1],t},set:function(t,e,n){return t[0]=e,t[1]=n,t},add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t},sub:function(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t},mul:function(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t},div:function(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t},min:function(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t},max:function(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t},scale:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t},dist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return Math.sqrt(n*n+i*i)},sqrDist:function(t,e){var n=e[0]-t[0],i=e[1]-t[1];return n*n+i*i},len:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},length:function(t){var e=t[0],n=t[1];return Math.sqrt(e*e+n*n)},sqrLen:function(t){var e=t[0],n=t[1];return e*e+n*n},negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t},normalize:function(t,e){var n=e[0],i=e[1],o=n*n+i*i;return o>0&&(o=1/Math.sqrt(o),t[0]=e[0]*o,t[1]=e[1]*o),t},dot:function(t,e){return t[0]*e[0]+t[1]*e[1]},cross:function(t,e,n){var i=e[0]*n[1]-e[1]*n[0];return t[0]=t[1]=0,t[2]=i,t},lerp:function(t,e,n,i){var o=e[0],a=e[1];return t[0]=o+i*(n[0]-o),t[1]=a+i*(n[1]-a),t},transformMat2:function(t,e,n){var i=e[0],o=e[1];return t[0]=i*n[0]+o*n[1],t[1]=i*n[2]+o*n[3],t},str:function(t){return"this("+t[0]+", "+t[1]+")"}}},function(t,e,n){n.r(e),n.d(e,"ScrollArea",(function(){return r}));var i=n(0),o=n.n(i);class a{constructor(t,e){this.position=o.a.create(),this.contentSize=t,this.viewSize=e,this._maxPosition=o.a.create(),this._minPosition=o.a.create(),this._vec2cache=o.a.create()}getViewPosition(){return this.position}getContentPosition(){return this.position}clampPosition(){o.a.max(this._maxPosition,this.getViewSize(),this.getContentSize()),o.a.min(this._minPosition,this.getViewSize(),this.getContentSize()),o.a.sub(this._maxPosition,this._maxPosition,this._minPosition),this.position=this.clamp(this.position,o.a.create(),this._maxPosition)}setViewPosition(t){!isNaN(parseFloat(t[0]))&&isFinite(t[0])&&!isNaN(parseFloat(t[1]))&&isFinite(t[1])&&(this.position=t,this.clampPosition())}move(t){t&&this.setViewPosition(o.a.sub(t,this.getViewPosition(),t))}setViewSize(t,e){this.viewSize=o.a.fromValues(t,e),this.clampPosition()}setContentSize(t,e){this.contentSize=o.a.fromValues(t,e),this.clampPosition()}isContentLonger(){return this.viewSize[1]<=this.contentSize[1]}isContentWider(){return this.viewSize[0]<=this.contentSize[0]}getContentSize(){return this.contentSize}getViewSize(){return this.viewSize}clamp(t,e,n){var i=o.a.clone(t);return o.a.max(i,i,e),o.a.min(i,i,n),i}getPercentagePosition(){return o.a.div(o.a.create(),this.position,this.viewSize)}getRelativePosition(){return o.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize()),0!==o.a.len(this._vec2cache)&&o.a.div(this._vec2cache,this.getViewPosition(),o.a.sub(this._vec2cache,this.getViewSize(),this.getContentSize())),this._vec2cache}}class s{constructor(t,e,n){this.vertical=void 0===n||!n,this.position=0,this.containerSize=1,this.contentSize=1,this.mouseDelta=o.a.create(),this.onScroll=!1,this.parentElement=t,this.element=document.createElement("div"),this.element.classList.add("sa-scrollbar"),this.element.classList.add("sa-scrollbar-position-"+e),this.element.style.position="absolute",this.element.style.right="0",this.element.style.top="0",this.element.style.bottom="0",this.bar=document.createElement("div"),this.bar.style.minWidth="1px",this.bar.classList.add("sa-bar"),this.element.appendChild(this.bar),t.appendChild(this.element),this.attachEvents(this.element),this.view=new a(o.a.fromValues(this.bar.clientWidth,this.bar.clientHeight),o.a.fromValues(this.element.clientWidth,this.element.clientHeight))}attachEvents(t){if(t.addEventListener("mousedown",(t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=o.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY))}),!1),window.addEventListener("touchend",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchcancel",(t=>{this.lastTouch=null}),!1),window.addEventListener("touchmove",(t=>{if(console.log("touchmove",t),t.touches&&t.touches.length>0){if(this.lastTouch){var e=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(o.a.sub(e,this.lastTouch,e)):this.scroll(o.a.sub(e,e,this.lastTouch))}this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY)}}),!1),"undefined"!=typeof ResizeObserver&&t){var e=this;this.resizeObserver=new ResizeObserver((function(){e.resize()})),this.resizeObserver.observe(t)}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=o.a.clone(e.view.getContentPosition()),e.setPosition(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}setPosition(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.bar.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition()}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("on-left"),0===t[1]&&e.push("on-top"),1===t[0]&&e.push("on-right"),1===t[1]&&e.push("on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e)}clear(){this.position=0,this.setPosition(0)}getBarLength(){return this.vertical?parseInt(this.bar.height()):parseInt(this.bar.width())}getViewLength(){return this.vertical?this.view.getViewSize()[1]:this.view.getViewSize()[0]}getContentLength(){return this.vertical?this.view.getContentSize()[1]:this.view.getContentSize()[0]}setContentPosition(t){var e=o.a.create(),n=this.containerSize/this.contentSize;o.a.scale(e,t,n),this.view.setViewPosition(e),this.setPosition(this.view.getContentPosition())}getPercentage(){return o.a.len(this.view.getViewPosition())/this.getViewLength()}resize(){this.view.setViewSize(parseInt(this.element.clientWidth),parseInt(this.bar.clientHeight)),this.view.setContentSize(parseInt(this.element.clientWidth),parseInt(this.bar.clientHeight)),this.checkIfScrollIsNeeded()}checkIfScrollIsNeeded(){this.view.isContentLonger()&&this.element.classList.add("content-longer"),this.view.isContentWider()&&this.element.classList.add("content-wider")}}class r{constructor(t,e,n){if(this.container=null,this.content=null,this.options={smooth:!0,reverse:!0,swapContainers:!0,updateInterval:10,wheelSpeed:50},void 0!==n&&n&&(this.options=this.chooseOptions(this.options,n)),console.log("vec2",o.a,o.a.create),this.setContainer(t),this.events={change:[],layout:[],ready:[]},this.lastTouch=null,this.deltaMove=o.a.create(),this.lastTime=0,this.smoothDistance=null,this.timeout=null,this.smoothCoeficent=o.a.fromValues(11,11),this.positionClassNames=[],this.mousedown=!1,this.touchstart=!1,this._vec2cache=o.a.create(),this.container,this.getOption("swapContainers")?this.view=new a(o.a.fromValues(this.container.clientWidth,this.container.clientHeight),o.a.fromValues(this.content.clientWidth,this.content.clientHeight)):(this.content,this.view=new a(o.a.fromValues(this.content.clientWidth,this.content.clientHeight),o.a.fromValues(this.container.clientWidth,this.container.clientHeight))),this.container.style.position="relative",this.container.style.overflow="hidden",this.container.style.overflow="hidden",this.container.style.userSelect="none",this.attachEvents(this.container),this.scrollbar=new s(this.container,"right"),"undefined"!=typeof ResizeObserver&&this.content){var i=this;this.resizeObserver=new ResizeObserver((function(){console.log("resizeObserver2"),i.resize()})),this.resizeObserver.observe(this.content)}}attachEvents(t){t.addEventListener("mousewheel",(t=>{var e;t.originalEvent&&(t=t.originalEvent),e="wheelDelta"in t?t.wheelDelta<0?1:t.wheelDelta>0?-1:1:t.deltaY>0?1:t.deltaY<0?-1:1,this.scroll(o.a.fromValues(0,this.getOption("wheelSpeed")*e))})),t.addEventListener("mousedown",(t=>{this.mousedown=!0,t.stopPropagation(),t.preventDefault()})),window.addEventListener("mousemove",(t=>{if(this.mousedown){var e=o.a.fromValues(t.movementX,t.movementY);this.deltaMove=e,this.lastTime=Date.now(),this.getOption("reverse"),this.scroll(e)}})),window.addEventListener("mouseup",(t=>{this.mousedown=!1})),t.addEventListener("touchstart",(t=>{t.touches&&t.touches.length>0&&(this.mousedown=!0,this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY))}),!1),window.addEventListener("touchend",(t=>{this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchcancel",(t=>{this.lastTouch=null,this.mousedown=!1}),!1),window.addEventListener("touchmove",(t=>{if(console.log("touchmove",t),t.touches&&t.touches.length>0&&this.mousedown){if(this.lastTouch){var e=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY);this.getOption("reverse")?this.scroll(o.a.sub(e,this.lastTouch,e)):this.scroll(o.a.sub(e,e,this.lastTouch))}this.lastTouch=o.a.fromValues(t.touches[0].screenX,t.touches[0].screenY)}}),!1)}onEndDrag(t,e){var n=o.a.div(0,Math.abs(event.velocity));if(this.getOption("smooth")&&sqrLen(n)>.3){var i=fromValues(event.deltaX,event.deltaY),a=o.a.create();o.a.multiply(a,i,n),this.getOption("reverse");var s=this;this.stop();var r=create(),c=function(){div(r,a,s.smoothCoeficent),sqrLen(r)>3?(sub(a,a,r),requestAnimFrame(c,s.getOption("updateInterval")),negate(r,r),s.scroll(r)):s.scrolling=!1};this.timeout=requestAnimFrame(c,s.updateInterval)}else this.scrolling=!1}resize(){this.getOption("swapContainers")?(this.view.setViewSize(parseInt(this.content.clientWidth),parseInt(this.content.clientHeight)),this.view.setContentSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight))):(this.view.setViewSize(parseInt(this.container.clientWidth),parseInt(this.container.clientHeight)),this.view.setContentSize(parseInt(this.content.clientWidth),parseInt(this.content.clientHeight))),this.checkIfScrollIsNeeded()}reset(){this.setContentOffset([0,0])}checkIfScrollIsNeeded(){this.view.isContentLonger()&&this.container.classList.add("content-longer"),this.view.isContentWider()&&this.container.classList.add("content-wider")}chooseOptions(t,e){for(var n in e)t[n]&&(t[n]=e[n]);return t}setContainer(t){switch(typeof t){case"undefined":this.container=document.createElement("div"),this.container.classList.add("keyboard"),document.body.appendChild(this.container);break;case"string":this.container=document.getElementById(t);break;default:this.container=t}this.container&&(this.content=this.container.firstElementChild)}getOption(t){return this.options[t]}on(t,e){"object"!=typeof this.events[t]&&(this.events[t]=[]),this.events[t].push(e)}trigger(){let t=Array.prototype.slice.call(arguments);if(t.length>0){let e=t[0];if(t.shift(),this.events[e]){let n;for(let i=0,o=this.events[e].length;i<o;i++)n=this.events[e][i],"function"==typeof n&&n.apply(this,t)}}}scroll(t){var e=this;window.requestAnimationFrame((function(){e.view.move(t),t=o.a.clone(e.view.getContentPosition()),e.setContentOffset(t),e.updateCallback&&"function"==typeof e.updateCallback&&e.updateCallback(me)}))}setContentOffset(t){var e=1;this.getOption("swapContainers")&&(e=-1),this.content.style.transform="translate("+t[0]*e+"px,"+t[1]*e+"px)",this.scrolling=!1,this.checkContentPosition()}checkContentPosition(){var t=this.view.getRelativePosition(),e=[];0===t[0]&&e.push("on-left"),0===t[1]&&e.push("on-top"),1===t[0]&&e.push("on-right"),1===t[1]&&e.push("on-bottom"),e!==this.positionClassNames&&(this.container.classList.remove(...this.positionClassNames),e&&e.length>0&&this.container.classList.add(...e),this.positionClassNames=e)}}}]).ScrollArea})),dt=W({render:function(){var t=this,e=t.$createElement;return(t._self._c||e)("div",{ref:"area",staticClass:"wf-component wf-scrollable"},[t._t("default")],2)},staticRenderFns:[]},undefined,{name:"ScrollableArea",data:function(){return{scroll:null}},updated:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.resize()}))},mounted:function(){var t=this;this.$nextTick((function(){t.scroll||(t.scroll=new lt(t.$refs.area))}))},methods:{activate:function(){this.makeScroll()},reset:function(){var t=this;this.$nextTick((function(){t.scroll&&t.scroll.refresh()}))}}},"data-v-21e68d18",false,undefined,!1,void 0,void 0,void 0),ht=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],ref:"frames",staticClass:"wf-component wf-banner"},t._l(t.frames,(function(e,i){return n("div",{key:e.id,staticClass:"wf-frame",class:[{"wf-active":i==t.current},t.frameKeywords]},[t._l(e.containers,(function(i){return n("div",{key:i.id,staticClass:"wf-frame-container",style:{left:i.left+"%",top:i.top+"%",width:i.width+"%",height:i.height+"%",backgroundImage:"url('"+i.url+"')"},on:{click:function(n){return t.onClick(e,i)}}},[t.isVideo(i)?n("video",{attrs:{width:"100%",height:"auto",src:i.url,muted:""},domProps:{muted:!0}}):t._e()])})),t._v(" "),t._t("default",null,{frame:e})],2)})),0)},staticRenderFns:[]},(function(t){t&&t("data-v-7ab19c09_0",{source:".wf-banner[data-v-7ab19c09]{position:relative;width:100%;height:100%}.wf-banner .wf-frame[data-v-7ab19c09]{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-7ab19c09]{background-size:cover;background-position:50% 50%;background-repeat:no-repeat}.wf-banner .wf-frame.wf-active[data-v-7ab19c09]{opacity:1;transition:opacity .5s ease-in-out}.wf-banner .wf-frame video[data-v-7ab19c09]{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}},computed:o({},S(["banners"])),data:function(){return{frames:[],current:-1,timer:null,fadeDuration:500,backgroundColor:"#fff",visible:!1,qr:null,displayQR:!1,frameKeywords:[],last:0}},watch:{banners:function(){var t=this,e=Date.now();this.template&&this.container&&this.banners["template-"+this.template]&&this.banners["template-"+this.template][this.container]&&(this.frames=this.banners["template-"+this.template][this.container].filter((function(n){var i=n.enabled;if(i&&n.from_date&&(i=i&&new Date(n.from_date).getTime()<=e),i&&n.to_date&&(i=i&&new Date(n.to_date).getTime()>=e),i)for(var o in n.containers)n.containers[o].url=t.getUrl(n.containers[o]);return i})),this.$emit("hasbanners",this.frames.length>0),this.playOnBoot&&this.$nextTick((function(){this.play()})))}},mounted:function(){},methods:{visibilityChanged:function(t){this.visible=t,t?this.play():this.stop()},play:function(){var t=this;if(!(this.current>=this.frames.length)){this.frames.length>0&&this.next();var e=this.frames[this.current];if(null!=this.timer&&clearTimeout(this.timer),e&&(this.displayQR=!(!e||!e.keywords)&&e.keywords.join(",").indexOf("qr-")>-1,this.frameKeywords=e.keywords.map((function(t){return"keyword-"+t})),this.$refs.frames)){var n=this.$refs.frames.children[this.current];if(n){var i=n.querySelector("video");i&&i.readyState?setTimeout((function(){t.playVideo(i,e.duration)}),0):this.timer=setTimeout(this.play,e.duration)}else this.timer=setTimeout(this.play,e.duration)}}},playVideo:function(t,e){var n=this;t.pause(),t.currentTime=0,t.play().catch((function(i){clearTimeout(n.timer),setTimeout((function(){n.playVideo(t,e)}),300)})),this.timer=setTimeout(this.play,e)},stop:function(){this.timer&&clearTimeout(this.timer)},next:function(){this.current<this.frames.length-1?this.current++:this.current=0},onClick:function(t,e){this.$emit("clicked",t,e)},isImage:function(t){return!(t.type&&"video"===t.type.substr(0,5))},isVideo:function(t){return t.type&&"video"===t.type.substr(0,5)},getUrl:function(t){return WayfinderAPI.advertisements.data.url(t.advertisement_id)}}},"data-v-7ab19c09",false,undefined,!1,V,void 0,void 0),ft=W({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"wf-component wf-browser"},[n("iframe",{attrs:{src:t.currentSRC}})])},staticRenderFns:[]},(function(t){t&&t("data-v-55f34065_0",{source:".wf-browser,.wf-browser iframe{width:100%;height:100%;border:none}",map:void 0,media:void 0})}),{name:"MapFloors",props:{src:{type:String,default:""}},computed:o({},S(["reset"])),data:function(){return{currentSRC:""}},mounted:function(){this.currentSRC=this.src},watch:{reset:function(t){this.currentSRC=this.src+"?t="+Date.now()}}},undefined,false,undefined,!1,V,void 0,void 0);n.default.use(j);var pt=new j.Store({state:s({floors:[],pois:[],poiGroups:[],loaded:!1,language:"en",languages:[],shortcuts:[],filteredPOIs:[],currentFloor:"X",building:{},yahLogo:"",currentPOI:!1,currentTab:"groups",currentGroup:!1,searchVisible:!1,reset:0,banners:{},landscape:!1,mobile:!1,maxInActivity:30},"reset",0),getters:{xLanguage:function(t,e){return void 0!==n.default.prototype.$wayfinder&&(t.language=n.default.prototype.$wayfinder.getLanguage()),t.language},xFloors:function(t){return void 0!==n.default.prototype.$wayfinder&&n.default.prototype.$wayfinder.building&&(t.floors=Object.freeze(n.default.prototype.$wayfinder.building.getSortedFloors())),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=n.default.prototype.$wayfinder.getPOIGroups(),i=[];Object.keys(e).forEach((function(t){parseInt(e[t].showInTopMenu)&&i.push(Object.freeze(e[t]))})),i=(i=i.slice(0,6)).sort((function(t,e){return-(t.order-e.order)})),t.shortcuts=i}return t.shortcuts},xBuilding:function(t){return"undefined"!==n.default.prototype.$wayfinder&&(t.building=Object.freeze(Object.assign({},n.default.prototype.$wayfinder.building))),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.slice()))},xTopics:function(t){void 0!==n.default.prototype.$wayfinder&&(t.poiGroups=Object.freeze(Object.assign({},n.default.prototype.$wayfinder.poiGroups)))},xBanners:function(t){void 0!==n.default.prototype.$wayfinder&&(t.banners=Object.assign({},n.default.prototype.$wayfinder.getFilteredAdvertisements()))}},mutations:{SET_POI:function(t,e){t.currentPOI=e},SET_TAB:function(t,e){t.currentTab=e},SET_GROUP:function(t,e){t.currentGroup=e},SET_SHOW_SEARCH:function(t,e){t.searchVisible=e},SET_NEW_RESET:function(t){t.reset=t.reset+1,t.currentPOI=!1,t.currentGroup=!1},SET_LANDSCAPE:function(t,e){t.landscape=e},SET_MOBILE:function(t,e){t.mobile=e},SET_INACTIVITY_TIME:function(t,e){t.maxInActivity=e},SET_CURRENT_FLOOR:function(t,e){t.currentFloor=e},SET_FILTERED_POIS:function(t,e){t.filteredPOIs=e},RESET:function(t,e){t.reset=Date.now()}},actions:{SET_CURRENT_POI:function(t,e){t.commit("SET_POI",Object.freeze(e))},SET_CURRENT_TAB:function(t,e){t.commit("SET_TAB",e)},SET_CURRENT_GROUP:function(t,e){t.commit("SET_GROUP",Object.freeze(e))},SHOW_SEARCH:function(t,e){t.commit("SET_SHOW_SEARCH",e)},SET_RESET:function(t){t.commit("SET_NEW_RESET")},SET_LANDSCAPE:function(t,e){t.commit("SET_LANDSCAPE",e)},SET_INACTIVITY_TIME:function(t,e){t.commit("SET_INACTIVITY_TIME",e)},SET_MOBILE:function(t,e){t.commit("SET_MOBILE",e)},SET_CURRENT_FLOOR:function(t,e){t.commit("SET_CURRENT_FLOOR",Object.freeze(e))},SET_FILTERED_POIS:function(t,e){t.commit("SET_FILTERED_POIS",Object.freeze(e))},RESET:function(t){t.commit("RESET")}}}),gt=Object.freeze({__proto__:null,WFMap:H,WFAZMenu:q,WFFlagsMenu:K,WFLanguagesMenu:X,WFGroupsMenu:Z,WFBuildingLogo:Q,WFShortcutsMenu:tt,WFZoomMenu:et,WFFloorsMenu:nt,WFFilteredMenu:it,WFSearch:st,WFTabs:rt,WFTab:ct,WFTabButtons:ut,WFScrollableArea:dt,WFBanner:ht,WFPOI:Y,WFYAH:J,WFBrowser:ft,WFStore:pt}),mt=function(t){Object.entries(gt).forEach((function(e){var n=r(e,2),i=n[0],o=n[1];t.component(i,o)}))},vt=Object.freeze({__proto__:null,default:mt,WFMap:H,WFAZMenu:q,WFFlagsMenu:K,WFLanguagesMenu:X,WFGroupsMenu:Z,WFBuildingLogo:Q,WFShortcutsMenu:tt,WFZoomMenu:et,WFFloorsMenu:nt,WFFilteredMenu:it,WFSearch:st,WFTabs:rt,WFTab:ct,WFTabButtons:ut,WFScrollableArea:dt,WFBanner:ht,WFPOI:Y,WFYAH:J,WFBrowser:ft,WFStore:pt});return Object.entries(vt).forEach((function(t){var e=r(t,2),n=e[0],i=e[1];"default"!==n&&(mt[n]=i)})),mt}(Vue);
@@ -2213,10 +2213,10 @@ var __vue_render__$d = function __vue_render__() {
2213
2213
 
2214
2214
  return _c('div', {
2215
2215
  staticClass: "wf-component wf-groups-menu"
2216
- }, [_vm._ssrNode("<ul" + _vm._ssrClass("wf-list", ['wf-list-count-' + _vm.count]) + " data-v-152fb014>", "</ul>", _vm._l(_vm.sortedGroups, function (topic) {
2216
+ }, [_vm._ssrNode("<ul" + _vm._ssrClass("wf-list", ['wf-list-count-' + _vm.count]) + " data-v-0d60985e>", "</ul>", [_vm._t("prepend"), _vm._ssrNode(" "), _vm._l(_vm.sortedGroups, function (topic) {
2217
2217
  return _vm._ssrNode("<li" + _vm._ssrClass("wf-list-item", {
2218
2218
  "active": _vm.current && topic.id == _vm.current.id
2219
- }) + " data-v-152fb014>", "</li>", [_c('div', {
2219
+ }) + " data-v-0d60985e>", "</li>", [_c('div', {
2220
2220
  directives: [{
2221
2221
  name: "touch",
2222
2222
  rawName: "v-touch:tap",
@@ -2237,8 +2237,8 @@ var __vue_render__$d = function __vue_render__() {
2237
2237
  "group": topic
2238
2238
  })], 2), _vm._ssrNode(" "), topic.childGroups.length > 0 && _vm.showSubGroups ? _vm._ssrNode("<ul" + _vm._ssrStyle(null, null, {
2239
2239
  display: _vm.current && topic.id == _vm.current.id ? '' : 'none'
2240
- }) + " data-v-152fb014>", "</ul>", _vm._l(_vm.subGroups(topic.childGroups), function (subtopic) {
2241
- return _vm._ssrNode("<li data-v-152fb014>", "</li>", [_vm._t("subgroup", function () {
2240
+ }) + " data-v-0d60985e>", "</ul>", _vm._l(_vm.subGroups(topic.childGroups), function (subtopic) {
2241
+ return _vm._ssrNode("<li data-v-0d60985e>", "</li>", [_vm._t("subgroup", function () {
2242
2242
  return [_c('Group', {
2243
2243
  attrs: {
2244
2244
  "group": subtopic,
@@ -2251,7 +2251,7 @@ var __vue_render__$d = function __vue_render__() {
2251
2251
  })], 2);
2252
2252
  }), 0) : _vm._e(), _vm._ssrNode(" "), topic.pois.length > 0 && _vm.showPOIs ? _vm._ssrNode("<ul class=\"wf-list wf-sublist\"" + _vm._ssrStyle(null, null, {
2253
2253
  display: _vm.current && topic.id == _vm.current.id ? '' : 'none'
2254
- }) + " data-v-152fb014>", "</ul>", _vm._l(topic.pois, function (poi) {
2254
+ }) + " data-v-0d60985e>", "</ul>", _vm._l(topic.pois, function (poi) {
2255
2255
  return _c('li', {
2256
2256
  directives: [{
2257
2257
  name: "touch",
@@ -2278,7 +2278,7 @@ var __vue_render__$d = function __vue_render__() {
2278
2278
  "poi": poi
2279
2279
  })], 2);
2280
2280
  }), 0) : _vm._e()], 2);
2281
- }), 0)]);
2281
+ }), _vm._ssrNode(" "), _vm._t("append")], 2)]);
2282
2282
  };
2283
2283
 
2284
2284
  var __vue_staticRenderFns__$d = [];
@@ -2286,8 +2286,8 @@ var __vue_staticRenderFns__$d = [];
2286
2286
 
2287
2287
  var __vue_inject_styles__$d = function __vue_inject_styles__(inject) {
2288
2288
  if (!inject) return;
2289
- inject("data-v-152fb014_0", {
2290
- source: ".wf-groups-menu .wf-list-item[data-v-152fb014]{list-style:none}.wf-groups-menu .wf-list[data-v-152fb014]{margin:0;padding:0}",
2289
+ inject("data-v-0d60985e_0", {
2290
+ source: ".wf-groups-menu .wf-list-item[data-v-0d60985e]{list-style:none}.wf-groups-menu .wf-list[data-v-0d60985e]{margin:0;padding:0}",
2291
2291
  map: undefined,
2292
2292
  media: undefined
2293
2293
  });
@@ -2295,10 +2295,10 @@ var __vue_inject_styles__$d = function __vue_inject_styles__(inject) {
2295
2295
  /* scoped */
2296
2296
 
2297
2297
 
2298
- var __vue_scope_id__$d = "data-v-152fb014";
2298
+ var __vue_scope_id__$d = "data-v-0d60985e";
2299
2299
  /* module identifier */
2300
2300
 
2301
- var __vue_module_identifier__$d = "data-v-152fb014";
2301
+ var __vue_module_identifier__$d = "data-v-0d60985e";
2302
2302
  /* functional template */
2303
2303
 
2304
2304
  var __vue_is_functional_template__$d = false;
@@ -2923,7 +2923,7 @@ module.exports=function(t){var e={};function i(s){if(e[s])return e[s].exports;va
2923
2923
  results = results.slice(0, _this.limit);
2924
2924
  }
2925
2925
 
2926
- _this.results = Object.freeze(Object.assign({}, results));
2926
+ _this.results = Object.freeze(Object.values(results));
2927
2927
 
2928
2928
  if (keyword.length > 1) {
2929
2929
  if (Object.values(_this.results).length > 0) {
@@ -3043,7 +3043,7 @@ var __vue_render__$6 = function __vue_render__() {
3043
3043
  }, {
3044
3044
  "poi": poiitem
3045
3045
  })], 2) : _vm._e();
3046
- }), 0), _vm._ssrNode(" <span" + _vm._ssrStyle(null, null, {
3046
+ }), 0), _vm._ssrNode(_vm._ssrEscape("\n\t\t\t" + _vm._s(_vm.results.length) + "\n\t\t\t") + "<span class=\"wf-search-no-results-text\"" + _vm._ssrStyle(null, null, {
3047
3047
  display: _vm.showNoResultsText && _vm.results.length == 0 ? '' : 'none'
3048
3048
  }) + ">" + _vm._ssrEscape(_vm._s(_vm.noResultsText)) + "</span>")], 2), _vm._ssrNode(" " + (_vm.showOutputField ? "<div class=\"wf-search-input-container\"><input id=\"wf-search-input\"></div>" : "<!---->") + " " + (_vm.showKeyboard ? "<div id=\"wf-keyboard-container\" class=\"wf-keyboard\"></div>" : "<!---->"))], 2)], 2);
3049
3049
  };
@@ -3053,7 +3053,7 @@ var __vue_staticRenderFns__$6 = [];
3053
3053
 
3054
3054
  var __vue_inject_styles__$6 = function __vue_inject_styles__(inject) {
3055
3055
  if (!inject) return;
3056
- inject("data-v-c267e206_0", {
3056
+ inject("data-v-c1ab8218_0", {
3057
3057
  source: ".wf-search .wf-close{position:absolute;top:0;right:.5rem;width:10rem;background-color:rgba(255,255,255,.7);background-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8' standalone='no'%3F%3E%3Csvg xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23' xmlns:svg='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' xml:space='preserve' enable-background='new 0 0 20 20' viewBox='0 0 20 20' y='0px' x='0px' id='Cross' version='1.1'%3E%3Cmetadata id='metadata9'%3E%3Crdf:RDF%3E%3Ccc:Work rdf:about=''%3E%3Cdc:format%3Eimage/svg+xml%3C/dc:format%3E%3Cdc:type rdf:resource='http://purl.org/dc/dcmitype/StillImage' /%3E%3Cdc:title%3E%3C/dc:title%3E%3C/cc:Work%3E%3C/rdf:RDF%3E%3C/metadata%3E%3Cdefs id='defs7'%3E%3ClinearGradient spreadMethod='pad' gradientUnits='userSpaceOnUse' y2='29.3118' x2='11.0536' y1='16.0077' x1='24.5509' id='paint1_linear' gradientTransform='translate(-6.9097825,12.894087)'%3E%3Cstop id='stop16' stop-color='%23FF4C54' /%3E%3Cstop id='stop18' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientUnits='userSpaceOnUse' y2='34.9828' x2='34.294201' y1='14.605' x1='13.6189' id='paint0_linear'%3E%3Cstop id='stop11' stop-color='%23FF4C54' /%3E%3Cstop id='stop13' stop-color='%23BE3F45' offset='1' /%3E%3C/linearGradient%3E%3ClinearGradient gradientTransform='matrix(1.9229845,0,0,1.9229845,-9.2288833,-9.2308069)' gradientUnits='userSpaceOnUse' y2='14.322534' x2='6.3946652' y1='7.6276183' x1='12.290775' id='linearGradient4161' xlink:href='%23paint0_linear' /%3E%3C/defs%3E%3Cpath style='fill:url(%23linearGradient4161);fill-opacity:1' id='path3' d='m 18.362098,19.32359 c -0.90188,0.90188 -2.363348,0.90188 -3.263305,0 l -5.097832,-5.826643 -5.0978311,5.82472 c -0.9018797,0.90188 -2.3633479,0.90188 -3.2633047,0 -0.90187984,-0.90188 -0.90187984,-2.363347 0,-3.263304 L 6.9434164,10.000961 1.6379022,3.9397144 c -0.90187974,-0.9018798 -0.90187974,-2.361425 0,-3.26330476 0.9018798,-0.9018797 2.3614249,-0.9018797 3.2633048,0 l 5.099754,5.82856596 5.097832,-5.82856596 c 0.90188,-0.9018797 2.361425,-0.9018797 3.263305,0 0.901879,0.90187976 0.901879,2.36334796 0,3.26330476 l -5.30359,6.0612466 5.30359,6.057402 c 0.901879,0.90188 0.901879,2.363347 0,3.265227 z' /%3E%3C/svg%3E\")}.wf-search .results{overflow:hidden}.wf-search .wf-search-container{margin:auto;display:flex;flex-direction:column;justify-content:flex-end;height:100%;padding:1rem}.wf-search .wf-search-input-container input{margin:auto;display:block;padding:1rem;font-size:2rem;font-weight:600;width:100%;border:1px solid #000;outline:0;background-repeat:no-repeat}.wf-search .wf-keyboard{user-select:none;display:flex;flex-direction:column;flex-shrink:0}.wf-search .wf-keyboard .keyboard-row{margin:auto;display:flex}.wf-search .wf-keyboard .keyboard-key{text-align:center;width:4ch;height:4ch;line-height:1.5;overflow:hidden;user-select:none}.wf-search .wf-keyboard .keyboard-key:last-child{margin-right:0}.wf-search .wf-keyboard .keyboard-key:active{background-color:#00f}.wf-search .wf-keyboard .keyboard-key2x{width:8ch}.wf-search .wf-keyboard .keyboard-key3x{width:12ch}.wf-search .wf-keyboard .keyboard-key_spacebar{width:24ch}",
3058
3058
  map: undefined,
3059
3059
  media: undefined
@@ -3065,7 +3065,7 @@ var __vue_inject_styles__$6 = function __vue_inject_styles__(inject) {
3065
3065
  var __vue_scope_id__$6 = undefined;
3066
3066
  /* module identifier */
3067
3067
 
3068
- var __vue_module_identifier__$6 = "data-v-c267e206";
3068
+ var __vue_module_identifier__$6 = "data-v-c1ab8218";
3069
3069
  /* functional template */
3070
3070
 
3071
3071
  var __vue_is_functional_template__$6 = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@3dwayfinder/wayfinder-vue-components",
3
- "version": "1.0.113",
3
+ "version": "1.0.114",
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",
@@ -1,6 +1,7 @@
1
1
  <template>
2
2
  <div class="wf-component wf-groups-menu">
3
3
  <ul class="wf-list" :class="['wf-list-count-' + count]">
4
+ <slot name="prepend"/>
4
5
  <li class="wf-list-item" :class='{"active": current && topic.id == current.id}' v-for="topic in sortedGroups" :key='topic.id' >
5
6
  <div class="wf-item-content" v-touch:tap="onClick(topic)">
6
7
  <slot :group="topic">
@@ -22,6 +23,7 @@
22
23
  </li>
23
24
  </ul>
24
25
  </li>
26
+ <slot name="append"/>
25
27
  </ul>
26
28
  </div>
27
29
  </template>
@@ -10,7 +10,8 @@
10
10
  </slot>
11
11
  </li>
12
12
  </transition-group>
13
- <span v-show="showNoResultsText && results.length == 0">{{noResultsText}}</span>
13
+ {{results.length}}
14
+ <span class="wf-search-no-results-text" v-show="showNoResultsText && results.length == 0">{{noResultsText}}</span>
14
15
  </div>
15
16
  <div class="wf-search-input-container" v-if="showOutputField">
16
17
  <input id="wf-search-input" ref='searchInput'/>
@@ -106,7 +107,7 @@ export default {
106
107
  results = results.slice(0, this.limit);
107
108
  }
108
109
 
109
- this.results = Object.freeze(Object.assign({}, results));
110
+ this.results = Object.freeze(Object.values(results));
110
111
  if (keyword.length > 1) {
111
112
  if (Object.values(this.results).length > 0) {
112
113
  this.$wayfinder.statistics.onSearch(keyword, "successful");