1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[127],{22:function(t,e,n){t.exports=(()=>{"use strict";var t={629:(t,e,i)=>{i.d(e,{rn:()=>b});var n=("undefined"!=typeof window?window:void 0!==i.g?i.g:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function r(t,e){Object.keys(t).forEach((function(i){return e(t[i],i)}))}function o(t){return null!==t&&"object"==typeof t}var a=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var i=t.state;this.state=("function"==typeof i?i():i)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},a.prototype.addChild=function(t,e){this._children[t]=e},a.prototype.removeChild=function(t){delete this._children[t]},a.prototype.getChild=function(t){return this._children[t]},a.prototype.hasChild=function(t){return t in this._children},a.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)},a.prototype.forEachChild=function(t){r(this._children,t)},a.prototype.forEachGetter=function(t){this._rawModule.getters&&r(this._rawModule.getters,t)},a.prototype.forEachAction=function(t){this._rawModule.actions&&r(this._rawModule.actions,t)},a.prototype.forEachMutation=function(t){this._rawModule.mutations&&r(this._rawModule.mutations,t)},Object.defineProperties(a.prototype,c);var p,s=function(t){this.register([],t,!1)};s.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},s.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,i){return t+((e=e.getChild(i)).namespaced?i+"/":"")}),"")},s.prototype.update=function(t){!function u(t,e,i){if(e.update(i),i.modules)for(var n in i.modules){if(!e.getChild(n))return;u(t.concat(n),e.getChild(n),i.modules[n])}}([],this.root,t)},s.prototype.register=function(t,e,i){var n=this;void 0===i&&(i=!0);var o=new a(e,i);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o),e.modules&&r(e.modules,(function(e,r){n.register(t.concat(r),e,i)}))},s.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1],n=e.getChild(i);n&&n.runtime&&e.removeChild(i)},s.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),i=t[t.length-1];return!!e&&e.hasChild(i)};var l=function(t){var e=this;void 0===t&&(t={}),!p&&"undefined"!=typeof window&&window.Vue&&function(t){p&&t===p||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:i});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[i].concat(t.init):i,e.call(this,t)}}function i(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(p=t)}(window.Vue);var i=t.plugins;void 0===i&&(i=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new s(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new p,this._makeLocalGettersCache=Object.create(null);var o=this,a=this.dispatch,c=this.commit;this.dispatch=function(t,e){return a.call(o,t,e)},this.commit=function(t,e,i){return c.call(o,t,e,i)},this.strict=r;var u=this._modules.root.state;g(this,u,[],this._modules.root),m(this,u),i.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:p.config.devtools)&&function(t){n&&(t._devtoolHook=n,n.emit("vuex:init",t),n.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){n.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){n.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},d={state:{configurable:!0}};function h(t,e,i){return e.indexOf(t)<0&&(i&&i.prepend?e.unshift(t):e.push(t)),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function f(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var i=t.state;g(t,i,[],t._modules.root,!0),m(t,i,e)}function m(t,e,i){var n=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};r(o,(function(e,i){a[i]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,i,{get:function(){return t._vm[i]},enumerable:!0})}
2));var c=p.config.silent;p.config.silent=!0,t._vm=new p({data:{$$state:e},computed:a}),p.config.silent=c,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(t),n&&(i&&t._withCommit((function(){n._data.$$state=null})),p.nextTick((function(){return n.$destroy()})))}function g(t,e,i,n,r){var o=!i.length,a=t._modules.getNamespace(i);if(n.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=n),!o&&!r){var c=y(e,i.slice(0,-1)),s=i[i.length-1];t._withCommit((function(){p.set(c,s,n.state)}))}var u=n.context=function(t,e,i){var n=""===e,r={dispatch:n?t.dispatch:function(i,n,r){var o=v(i,n,r),a=o.payload,c=o.options,s=o.type;return c&&c.root||(s=e+s),t.dispatch(s,a)},commit:n?t.commit:function(i,n,r){var o=v(i,n,r),a=o.payload,c=o.options,s=o.type;c&&c.root||(s=e+s),t.commit(s,a,c)}};return Object.defineProperties(r,{getters:{get:n?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var i={},n=e.length;Object.keys(t.getters).forEach((function(r){if(r.slice(0,n)===e){var o=r.slice(n);Object.defineProperty(i,o,{get:function(){return t.getters[r]},enumerable:!0})}})),t._makeLocalGettersCache[e]=i}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return y(t.state,i)}}}),r}(t,a,i);n.forEachMutation((function(e,i){!function(t,e,i,n){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){i.call(t,n.state,e)}))}(t,a+i,e,u)})),n.forEachAction((function(e,i){var n=e.root?i:a+i,r=e.handler||e;!function(t,e,i,n){(t._actions[e]||(t._actions[e]=[])).push((function(e){var r,o=i.call(t,{dispatch:n.dispatch,commit:n.commit,getters:n.getters,state:n.state,rootGetters:t.getters,rootState:t.state},e);return(r=o)&&"function"==typeof r.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,n,r,u)})),n.forEachGetter((function(e,i){!function(t,e,i,n){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return i(n.state,n.getters,t.state,t.getters)})}(t,a+i,e,u)})),n.forEachChild((function(n,o){g(t,e,i.concat(o),n,r)}))}function y(t,e){return e.reduce((function(t,e){return t[e]}),t)}function v(t,e,i){return o(t)&&t.type&&(i=e,e=t,t=t.type),{type:t,payload:e,options:i}}d.state.get=function(){return this._vm._data.$$state},d.state.set=function(t){},l.prototype.commit=function(t,e,i){var n=this,r=v(t,e,i),o=r.type,a=r.payload,c=(r.options,{type:o,payload:a}),s=this._mutations[o];s&&(this._withCommit((function(){s.forEach((function(t){t(a)}))})),this._subscribers.slice().forEach((function(t){return t(c,n.state)})))},l.prototype.dispatch=function(t,e){var i=this,n=v(t,e),r=n.type,o=n.payload,a={type:r,payload:o},c=this._actions[r];if(c){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,i.state)}))}catch(t){}var s=c.length>1?Promise.all(c.map((function(t){return t(o)}))):c[0](o);return new Promise((function(t,e){s.then((function(e){try{i._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,i.state)}))}catch(t){}t(e)}),(function(t){try{i._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,i.state,t)}))}catch(t){}e(t)}))}))}},l.prototype.subscribe=function(t,e){return h(t,this._subscribers,e)},l.prototype.subscribeAction=function(t,e){return h("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},l.prototype.watch=function(t,e,i){var n=this;return this._watcherVM.$watch((function(){return t(n.state,n.getters)}),e,i)},l.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},l.prototype.registerModule=function(t,e,i){void 0===i&&(i={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),g(this,this.state,t,this._modules.get(t),i.preserveState),m(this,this.state)},l.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var i=y(e.state,t.slice(0,-1));p.delete(i,t[t.length-1])})),f(this)},l.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},l.prototype.hotUpdate=function(t){this._modules.update(t),f(this,!0)},l.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(l.prototype,d);var b=w((function(t,e){var i={};return _(e).forEach((function(e){var n=e.key,r=e.val;i[n]=function(){var e=this.$store.state,i=this.$store.getters;if(t){var n=O(this.$store,0,t);
2if(!n)return;e=n.context.state,i=n.context.getters}return"function"==typeof r?r.call(this,e,i):e[r]},i[n].vuex=!0})),i}));function _(t){return function(t){return Array.isArray(t)||o(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 w(t){return function(e,i){return"string"!=typeof e?(i=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,i)}}function O(t,e,i){return t._modulesNamespaceMap[i]}w((function(t,e){var i={};return _(e).forEach((function(e){var n=e.key,r=e.val;i[n]=function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];var n=this.$store.commit;if(t){var o=O(this.$store,0,t);if(!o)return;n=o.context.commit}return"function"==typeof r?r.apply(this,[n].concat(e)):n.apply(this.$store,[r].concat(e))}})),i})),w((function(t,e){var i={};return _(e).forEach((function(e){var n=e.key,r=e.val;r=t+r,i[n]=function(){if(!t||O(this.$store,0,t))return this.$store.getters[r]},i[n].vuex=!0})),i})),w((function(t,e){var i={};return _(e).forEach((function(e){var n=e.key,r=e.val;i[n]=function(){for(var e=[],i=arguments.length;i--;)e[i]=arguments[i];var n=this.$store.dispatch;if(t){var o=O(this.$store,0,t);if(!o)return;n=o.context.dispatch}return"function"==typeof r?r.apply(this,[n].concat(e)):n.apply(this.$store,[r].concat(e))}})),i}))},4942:(t,e,i)=>{function n(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,{Z:()=>n})}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var o=e[n]={exports:{}};return t[n](o,o.exports,i),o.exports}i.d=(t,e)=>{for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),i.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return(()=>{function t(t,e){if(null==t)return{};var i,n,r=function(t,e){if(null==t)return{};var i,n,r={},o=Object.keys(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||(r[i]=t[i]);return r}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(n=0;n<o.length;n++)i=o[n],e.indexOf(i)>=0||Object.prototype.propertyIsEnumerable.call(t,i)&&(r[i]=t[i])}return r}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function r(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,i){if(t){if("string"==typeof t)return e(t,i);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,i):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}i.r(n),i.d(n,{default:()=>g});var o=i(4942),a=i(629),c=["link","meta","script"],s=["title","link","meta","script"],u=["title","link","meta","script"],p=["title","link","meta","script"],l=["title","link","meta","script"];function d(t,e){var i="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=function(t,e){if(t){if("string"==typeof t)return h(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(t):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?h(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var n=0,r=function(){};return{s:r,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return a=t.done,t},e:function(t){c=!0,o=t},f:function(){try{a||null==i.return||i.return()}finally{if(c)throw o}}}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,n=new Array(e);i<e;i++)n[i]=t[i];return n}function f(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function m(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};
2e%2?f(Object(i),!0).forEach((function(e){(0,o.Z)(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):f(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}const g={computed:m(m({},(0,a.rn)(["page","categories"])),{},{_seo:function(){return this.$options.seo?"function"==typeof this.$options.seo?this.$options.seo.call(this):this.$options.seo:null},_logoJSONLD:function(){return{"@context":"https://schema.org","@type":"Organization",url:"".concat(this.page.url).concat(this.page.path),logo:this.page.logoUrl}},_siteNavEL:function(){var t,e,i={"@context":"http://schema.org","@type":"ItemList",itemListElement:[]},n=[],o=1,a=this.categories.filter((function(t){return!!t})),c=(null===(t=this._seo)||void 0===t?void 0:t.categorySeoMap)||{},s=d(a);try{for(s.s();!(e=s.n()).done;){var u=e.value,p=c[u.slug]||{};i.itemListElement.push({"@type":"SiteNavigationElement",position:o,name:p.name||u.name,description:u.custom_category_meta_description||p.metaDesc,url:p.url||"".concat(this.page.url).concat(this.page.path,"/category/").concat(u.slug)}),n.push.apply(n,r(u.subcategories)),o+=1}}catch(t){s.e(t)}finally{s.f()}for(var l=0,h=n;l<h.length;l++){var f=h[l],m=c[f.slug]||{};i.itemListElement.push({"@type":"SiteNavigationElement",position:o,name:m.name||f.name,description:f.custom_category_meta_description||m.metaDesc,url:m.url||"".concat(this.page.url).concat(this.page.path,"/category/").concat(f.slug)}),o+=1}return i},_breadcrumb:function(){var t,e=this.category||{},i={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:this.page.name,item:"".concat(this.page.url).concat(this.page.path)}]},n=d(this.categories.filter((function(t){return!!t})));try{for(n.s();!(t=n.n()).done;){var r,a=t.value;if(e.id===a.id)return i.itemListElement.push({"@type":"ListItem",position:2,name:a.name,item:"".concat(this.page.url).concat(this.$route.path)}),i;if(a.subcategories.find((function(t){return t.id===e.id})))return(r=i.itemListElement).push.apply(r,[{"@type":"ListItem",position:2,name:a.name,item:"".concat(this.page.url).concat(this.page.path,"/category/").concat(a.slug)},{"@type":"ListItem",position:3,name:e.name,item:"".concat(this.page.url).concat(this.$route.path)}]),i}}catch(t){n.e(t)}finally{n.f()}if(1===i.itemListElement.length&&!["index","country-index"].includes(this.$route.name)){var o=this.$route.path.includes("/category/")?e.name:this.headParams.name;i.itemListElement.push({"@type":"ListItem",position:2,name:o,item:"".concat(this.page.url).concat(this.$route.path)})}return i},_newsArticle:function(){var t=this.latestArticle||this.article;if(!t)return{};var e=t.author||{},i=t.tags||[];return{"@context":"https://schema.org","@type":"NewsArticle",mainEntityOfPage:{"@type":"WebPage","@id":decodeURIComponent("".concat(this.page.url).concat(t.url))},headline:t.custom_meta_title||t.title,image:[t.image],datePublished:t.post_date,dateModified:t.post_modified,author:{"@type":"Person",name:e.display_name||this.page.name},publisher:{"@type":"Organization",name:this.page.name,url:this.page.url,logo:{"@type":"imageObject",url:this.$staticHost("/favicon.ico")}},keywords:i.map((function(t){return t.name}))}}}),methods:{_getCommonSeoHead:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.link,n=void 0===i?[]:i,o=e.meta,a=void 0===o?[]:o,s=e.script,u=void 0===s?[]:s,p=t(e,c),l=m({__dangerouslyDisableSanitizers:["script"],script:r(u),meta:[].concat(r(a),[{name:"publisher",content:this.page.name,hid:"publisher"},{name:"author",content:this.page.name,hid:"author"},{property:"og:type",content:"article",hid:"og:type"},{property:"og:site_name",content:this.page.name,hid:"og:site_name"},{name:"googlebot",content:"index,follow",hid:"googlebot"},{property:"fb:pages",content:this.page.id,hid:"fb:pages"}]),link:r(n)},p);return l},_getHomeSeoHead:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.title,n=void 0===i?"":i,o=e.link,a=void 0===o?[]:o,c=e.meta,u=void 0===c?[]:c,p=e.script,l=void 0===p?[]:p,d=t(e,s),h=decodeURIComponent("".concat(this.page.prodUrl).concat(this.$route.path)),f=this.$env.CANONICAL_HOST_PRIFIX;if(f){var g=this.$route.path;h=decodeURIComponent(f+g.replace(/^\/hk/,""))}var y=this._getCommonSeoHead(m({title:n||this.headParams.metaTitle||this.page.title,script:[].concat(r(l),[{innerHTML:JSON.stringify(this._logoJSONLD),type:"application/ld+json"},{innerHTML:JSON.stringify(this._siteNavEL),type:"application/ld+json"},{innerHTML:JSON.stringify(this._breadcrumb),type:"application/ld+json"}]),meta:[].concat(r(u),[{hid:"description",name:"description",content:this.headParams.metaDesc||this.page.description},{property:"og:title",content:this.headParams.ogTitle,hid:"og:title"},{property:"og:description",content:this.headParams.ogDesc,hid:"og:description"},{property:"og:url",content:this.headParams.ogUrl,hid:"og:url"},{property:"og:image",content:this.headParams.ogImage,hid:"og:image"}]),link:[].concat(r(a),[{rel:"canonical",href:h,hid:"canonical"}])},d));return y},_getCategorySeoHead:function(){var e,i,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=o.title,c=void 0===a?"":a,s=o.link,p=void 0===s?[]:s,l=o.meta,d=void 0===l?[]:l,h=o.script,f=void 0===h?[]:h,g=t(o,u),y=decodeURIComponent("".concat(this.page.prodUrl).concat(this.$route.path)),v=this.$env.CANONICAL_HOST_PRIFIX;if(v){var _=this.$route.path;y=decodeURIComponent(v+_.replace(/^\/hk/,""))}var b=(null===(e=this.category)||void 0===e?void 0:e.custom_category_meta_title)||(null===(i=this.category)||void 0===i?void 0:i.name),w=this._getCommonSeoHead(m({title:c||(b?b+" | "+this.page.name:null)||this.headParams.metaTitle,script:[].concat(r(f),[{innerHTML:JSON.stringify(this._breadcrumb),type:"application/ld+json"},this._siteNavEL?{innerHTML:JSON.stringify(this._siteNavEL),type:"application/ld+json"}:{}
2,0!==Object.keys(this._newsArticle).length?{innerHTML:JSON.stringify(this._newsArticle),type:"application/ld+json"}:{}]),meta:[].concat(r(d),[{hid:"description",name:"description",content:(null===(n=this.category)||void 0===n?void 0:n.custom_category_meta_description)||this.headParams.metaDesc},{property:"og:title",content:this.headParams.ogTitle,hid:"og:title"},{property:"og:description",content:this.headParams.ogDesc,hid:"og:description"},{property:"og:url",content:this.headParams.ogUrl,hid:"og:url"},{property:"og:image",content:this.headParams.ogImage,hid:"og:image"}]),link:[].concat(r(p),[{rel:"canonical",href:y,hid:"canonical"}])},g));return w},_getUncategorySeoHead:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.title,n=void 0===i?"":i,o=e.link,a=void 0===o?[]:o,c=e.meta,s=void 0===c?[]:c,u=e.script,l=void 0===u?[]:u,d=t(e,p),h=decodeURIComponent("".concat(this.page.prodUrl).concat(this.$route.path)),f=this.$env.CANONICAL_HOST_PRIFIX;if(f){var g=this.$route.path;h=decodeURIComponent(f+g.replace(/^\/hk/,""))}var y=this._getCommonSeoHead(m({title:n||this.headParams.metaTitle,script:[].concat(r(l),[{innerHTML:JSON.stringify(this._breadcrumb),type:"application/ld+json"}]),meta:[].concat(r(s),[{name:"description",content:this.headParams.metaDesc||"",hid:"description"},{property:"og:title",content:this.headParams.ogTitle,hid:"og:title"},{property:"og:description",content:this.headParams.ogDesc,hid:"og:description"},{property:"og:url",content:this.headParams.ogUrl||h,hid:"og:url"},{property:"og:image",content:this.headParams.ogImage||this.page.ogimage,hid:"og:image"}]),link:[].concat(r(a),[{rel:"canonical",href:h,hid:"canonical"}])},d));return y},_getArticleSeoHead:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.title,n=void 0===i?"":i,o=e.link,a=void 0===o?[]:o,c=e.meta,s=void 0===c?[]:c,u=e.script,p=void 0===u?[]:u,d=t(e,l),h=this._getCommonSeoHead(m({title:n||"".concat(this.article.custom_meta_title?this.article.custom_meta_title:this.article.title),script:[].concat(r(p),[{innerHTML:JSON.stringify(this._newsArticle),type:"application/ld+json"}]),meta:[].concat(r(s),[{name:"description",content:this.article.custom_meta_description||this.article.description,hid:"description"},{property:"og:title",content:"".concat(this.article.custom_og_title||this.article.title," | ").concat(this.page.name),hid:"og:title"},{property:"og:description",content:this.article.custom_og_description||this.article.description,hid:"og:description"},{property:"og:url",content:decodeURIComponent(this.page.url+this.$route.path),hid:"og:url"},{property:"og:image",content:this.article.custom_cover_img||this.article.image,hid:"og:image"},{property:"article:author",content:this.page.fb,hid:"article:author"},{property:"article:publisher",content:this.page.fb,hid:"article:publisher"}]),link:a},d));return h},_getCanonicalSeoHead:function(){var t=decodeURIComponent(this.$route.fullPath).replace(/\/+?$/,""),e=this.$env.CANONICAL_HOST_PRIFIX,i="".concat(this.page.prodUrl).concat(t);return e&&(i=e+t.replace(/^\/hk/,"")),{link:[{rel:"canonical",href:i,hid:"canonical"}]}}}}})(),n})()},291:function(t,e,n){},327:function(t,e,n){"use strict";var r=n(2),o=n(14),c=(n(72),n(81),n(331)),l=n.n(c),d={name:"PlIframeVideo",props:{uniqueId:{type:String,default:""},ratio:{type:[Number,null],default:null},src:{type:String,required:!0},allowFullScreen:{type:Boolean,default:!0},isVideoPause:{type:Boolean,default:!0},isMute:{type:Boolean,default:!1},isAutoPlay:{type:Boolean,default:!1},dataWidth:{type:[Number,String],default:"auto"},backgroundImage:{type:[String,null],default:null},showYtControls:{type:Boolean,default:!0}},data:function(){return{player:null,videoHeight:0,youtubeSdkPath:"https://www.youtube.com/iframe_api",fbSdkPath:"https://connect.facebook.net/en_US/sdk.js",fbIframe:{ratio:null,width:null}}},computed:{containerStyle:function(){return this.videoHeight?{height:"".concat(this.videoHeight,"px")}:null},videoType:function(){switch(!0){case this.isYTVideo:return"youtube";case this.isFBVideo:return"facebook";default:return null}},isYTVideo:function(){return/youtu\.?be/gi.test(this.src)},isFBVideo:function(){return/facebook|fb\.watch/gi.test(this.src)},valueOfDate:function(){return(new Date).valueOf()},playerUniqueId:function(){return this.uniqueId||["pl-video__".concat(this.videoType),this.valueOfDate].join("--")},YTVideoEmbedId:function(){var t=/(?:youtube\.com\/(?:[^/]+\/.+\/|(?:v|embed|shorts)\/|.*[?&]v=)|youtu\.be\/)([^'&?/\s]{11})/gi;return this.isYTVideo&&this.src.match(t)?t.exec(this.src)[1]:""}},watch:{isVideoPause:function(t){this.player&&(this.isYTVideo&&"complete"===document.readyState&&(t?this.player.pauseVideo():this.player.playVideo()),this.isFBVideo&&(t?this.player.pause():this.player.play()))},isMute:function(t){t?this.player.mute():this.isYTVideo?this.player.unMute():this.isFBVideo&&this.player.unmute()},src:function(){var t=this;this.$nextTick((function(){t.initialYTVideo(),t.initialFBVideo()}))}},mounted:function(){var t=this;this.handleVideoSize(),window.addEventListener("resize",this.handleVideoSize),this.$nextTick((function(){t.initialYTVideo(),t.initialFBVideo()}))},destroyed:function(){window.removeEventListener("resize",this.handleVideoSize),this.player=null},methods:{handleVideoSize:function(){this.ratio&&(this.videoHeight=this.$el.offsetWidth/this.ratio,this.player&&(this.isYTVideo&&this.player.setSize("100%",this.videoHeight),this.isFBVideo&&this.fbIframe.ratio&&(this.fbIframe.ratio<this.ratio?this.fbIframe.width=this.$el.clientWidth*(this.fbIframe.ratio/this.ratio):this.fbIframe.width=null)))},appendScript:function(t,e){var n=e.resolve,r=e.reject,o=t.url,head=document.querySelectorAll("head")[0],script=document.createElement("script");script.async=t.async||!1,script.defer=t.defer||!1,script.id=t.id||["sdk-",this.valueOfDate].join(""),script.onload=n,script.onreadystatechange=function(){"complete"!==this.readyState&&"loaded"!==this.readyState||n()},script.src=o,script.setAttribute("type","text/javascript"),script.onerror=r,head.appendChild(script)},activeFBPlayer:function(){var t,e=this,n=window.FB;null!==(t=n.XFBML)&&void 0!==t&&t.parse&&(n.XFBML.parse(this.$el),n.Event.subscribe("xfbml.ready",(function(t){e.player||"video"!==t.type||t.id!==e.playerUniqueId||(e.player=t.instance,e.player.subscribe("startedBuffering",(function(){e.$emit("player-buffering")})),e.player.subscribe("startedPlaying",(function(){e.$emit("player-start")})),e.player.subscribe("error",(function(){e.$emit("player-error")})),e.player.subscribe("paused",(function(){e.$emit("player-pause")})),e.player.subscribe("finishedPlaying",(function(){e.$emit("player-ended")})),e.ratio&&e.observeFbIframeRatio(),e.isMute&&e.player.mute(),e.isAutoPlay&&e.player.play())})))},observeFbIframeRatio:function(){var t=this,e=this.$el.querySelector(".fb-video"),n=function(iframe){var e=!1,n=new ResizeObserver((function(r){var c=Object(o.a)(r,1)[0];t.fbIframe.ratio=c.contentRect.width/c.contentRect.height,t.handleVideoSize(),e?n.disconnect():e=!0}));n.observe(iframe)};if("rendered"===e.getAttribute("fb-xfbml-state"))n(e.querySelector("iframe"));else{var r=new MutationObserver((function(t){var e=Object(o.a)(t,1)[0];"rendered"===e.target.attributes["fb-xfbml-state"].value&&(n(e.target.querySelector("iframe")),r.disconnect())}
2));r.observe(e,{attributeFilter:["fb-xfbml-state"]})}},initialFBVideo:function(){return!!this.isFBVideo&&(window.FB?(this.activeFBPlayer(),!0):!!window.FB||void this.appendScript({url:this.fbSdkPath,id:"facebook-jssdk",defer:!0},{resolve:function(){window.fbAsyncInit=function(){window.FB.init({appId:"2790204947966101",autoLogAppEvents:!0,xfbml:!0,version:"v12.0"})}}}))},initialYTVideo:function(){if(!this.isYTVideo)return!1;window.YTConfig={host:this.youtubeSdkPath};var t={rel:0,showinfo:0,controls:this.showYtControls?1:0,fs:this.allowFullScreen?1:0,playsinline:1},e=this.YTVideoEmbedId;this.player=l()(this.$refs[this.playerUniqueId],{host:"https://www.youtube.com",playerVars:t,videoId:e,width:"100%",height:this.videoHeight}),this.player.on("ready",this.handleYTPlayerReady),this.player.on("stateChange",this.handleYTPlayerStateChange),this.player.on("error",this.handleYTPlayerError)},handleYTPlayerReady:function(t){this.$emit("player-ready",t.target),this.isMute&&t.target.mute(),this.isAutoPlay&&t.target.playVideo()},handleYTPlayerError:function(t){this.$emit("player-error",t.target)},handleYTPlayerStateChange:function(t){var e,n=(e={},Object(r.a)(e,1,"player-start"),Object(r.a)(e,2,"player-pause"),Object(r.a)(e,0,"player-ended"),Object(r.a)(e,3,"player-buffering"),Object(r.a)(e,5,"player-cued"),e);if(null===t.data||-1===t.data)return!1;this.$emit(n[t.data],t.target)}}},h=(n(536),n(5)),component=Object(h.a)(d,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.videoType?n("div",{staticClass:"pl-video",class:{"pl-video--custom-ratio":t.ratio},style:t.containerStyle},[t.isYTVideo?n("div",{staticClass:"pl-video__youtube",attrs:{"data-src":t.src}},[n("div",{ref:t.playerUniqueId})]):t._e(),t._v(" "),t.isFBVideo?n("div",{staticClass:"pl-video__facebook",attrs:{"data-src":t.src}},[n("div",{staticClass:"fb-video",class:{"fb-video--custom-size":t.fbIframe.width},style:t.fbIframe.width&&{"--iframe-width":t.fbIframe.width+"px","--iframe-height":t.fbIframe.width/t.fbIframe.ratio+"px"},attrs:{id:t.playerUniqueId,"data-href":t.src,"data-autoplay":t.isAutoPlay,"data-allowfullscreen":""+t.allowFullScreen,"data-width":t.dataWidth}})]):t._e(),t._v(" "),t.backgroundImage?n("div",{staticClass:"pl-video__bg-img",style:{"background-image":"url("+t.backgroundImage+")"}}):t._e()]):n("div",{staticClass:"pl-video__empty",style:t.containerStyle},[n("p",[t._v("This link does not support.")])])}),[],!1,null,null,null);e.a=component.exports},334:function(t,e,n){t.exports=(()=>{"use strict";var t={2098:(t,e,n)=>{function r(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var e=16*Math.random()|0;return("x"==t?e:3&e|8).toString(16)}))}n.d(e,{guid:()=>r})}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var u=e[r]={exports:{}};return t[r](u,u.exports,n),u.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{n.r(r),n.d(r,{default:()=>a});var p=n(2098);function a(t){var e=t.$axios;t.app,e.onRequest((function(t){/\/goapi\//.test(t.url)&&(t.headers.common["x-request-id"]=(0,p.guid)())})),e.onError((function(t){return Promise.reject(t)}))}Error})(),r})()},340:function(t,e,n){t.exports=(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function r(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i=[],a=!0,u=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(i.push(r.value),!e||i.length!==e);a=!0);}catch(t){u=!0,o=t}finally{try{a||null==n.return||n.return()}finally{if(u)throw o}}return i}}(t,e)||r(t,e)||function(){throw new TypeError("Invalid attempt to de
2structure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t){return function(t){if(Array.isArray(t))return n(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||r(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.delay,r=void 0===n?0:n;return new Promise((function(e){setTimeout((function(){var n=t.id?i(document.head.getElementsByTagName("script")).find((function(e){return e.id===t.id})):null;if(n)e(n);else{var r=document.createElement("script");Object.entries(t).forEach((function(t){var e=o(t,2),n=e[0],i=e[1];r[n]=i})),document.head.appendChild(r),e(r)}}),r)}))}return t.r(e),t.d(e,{default:()=>a}),e})()},342:function(t,e,n){t.exports=(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{default:()=>n});const n={data:function(){return{windowWidth:0,windowHeight:0,scrollTop:0,scrollData:{current:0,last:0,direction:""},nuxtHeight:0}},computed:{windowRatio:function(){return this.windowWidth/this.windowHeight}},mounted:function(){var t=this,e=function(){t.windowWidth=window.innerWidth,t.windowHeight=window.innerHeight},n=function(){t.scrollData.last=t.scrollTop,t.scrollTop=window.scrollY,t.scrollData.current=window.scrollY,t.nuxtHeight=document.getElementById("__nuxt").clientHeight,t.scrollData.direction=t.scrollData.current>0&&t.scrollData.last>0&&(t.scrollData.current>t.nuxtHeight-t.windowHeight-30||t.scrollData.last<t.scrollData.current)?"down":"up"},r=function(){setTimeout(e,0)};e();var o=function(){0===window.scrollY&&(t.scrollData.direction="up")},i=0,c=0,l=!1,d=function(t){l=!0,i=t.touches[0].pageY},s=function(e){if(l){t.scrollTop=window.scrollY;var n=e.touches[0].pageY;c=n-i,t.scrollData.direction=c<0?"down":"up"}},h=function(){l=!1};window.addEventListener("scroll",o),window.addEventListener("touchstart",d),window.addEventListener("touchmove",s),window.addEventListener("touchend",h),window.removeEventListener("touchstart",d),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",h),window.removeEventListener("scroll",o),window.addEventListener("scroll",n),window.addEventListener("resize",r),this.$once("hook:beforeDestroy",(function(){window.removeEventListener("resize",r),window.removeEventListener("touchstart",d),window.removeEventListener("touchmove",s),window.removeEventListener("touchend",h),window.removeEventListener("scroll",o),window.removeEventListener("scroll",n)}))}};return e})()},379:function(t,e,n){t.exports=(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{default:()=>n});const n={bind:function(t,e,n){t.clickOutsideEvent=function(r){var i,o;t===r.target||t.contains(r.target)||null===(i=(o=n.context)[e.expression])||void 0===i||i.call(o,r)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind:function(t){document.body.removeEventListener("click",t.clickOutsideEvent)}};return e})()},380:function(t,e,n){t.exports=(()=>{"use strict";var t={d:(e,n)=>{for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
2),Object.defineProperty(t,"__esModule",{value:!0})}},e={};t.r(e),t.d(e,{default:()=>n});const n=function(t,e){var n=e.value;(t||n)&&(t.onerror=function(t){var e=t.target,r=e.srcset,o=e.currentSrc;r&&r.includes(o)?e.srcset="":n&&(e.src=n)})};return e})()},46:function(t,e,n){t.exports=(()=>{"use strict";var t={629:(t,e,n)=>{n.d(e,{OI:()=>w,rn:()=>b});var r=("undefined"!=typeof window?window:void 0!==n.g?n.g:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function i(t){return null!==t&&"object"==typeof t}var c=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)||{}},s={namespaced:{configurable:!0}};s.namespaced.get=function(){return!!this._rawModule.namespaced},c.prototype.addChild=function(t,e){this._children[t]=e},c.prototype.removeChild=function(t){delete this._children[t]},c.prototype.getChild=function(t){return this._children[t]},c.prototype.hasChild=function(t){return t in this._children},c.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)},c.prototype.forEachChild=function(t){o(this._children,t)},c.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},c.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},c.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(c.prototype,s);var l,a=function(t){this.register([],t,!1)};a.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},a.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},a.prototype.update=function(t){!function u(t,e,n){if(e.update(n),n.modules)for(var r in n.modules){if(!e.getChild(r))return;u(t.concat(r),e.getChild(r),n.modules[r])}}([],this.root,t)},a.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new c(e,n);0===t.length?this.root=i:this.get(t.slice(0,-1)).addChild(t[t.length-1],i),e.modules&&o(e.modules,(function(e,o){r.register(t.concat(o),e,n)}))},a.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1],r=e.getChild(n);r&&r.runtime&&e.removeChild(n)},a.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var p=function(t){var e=this;void 0===t&&(t={}),!l&&"undefined"!=typeof window&&window.Vue&&function(t){l&&t===l||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)}}(l=t)}(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var o=t.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new a(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new l,this._makeLocalGettersCache=Object.create(null);var i=this,c=this.dispatch,s=this.commit;this.dispatch=function(t,e){return c.call(i,t,e)},this.commit=function(t,e,n){return s.call(i,t,e,n)},this.strict=o;var u=this._modules.root.state;y(this,u,[],this._modules.root),m(this,u),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:l.config.devtools)&&function(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",(function(e){t.replaceState(e)})),t.subscribe((function(t,e){r.emit("vuex:mutation",t,e)}),{prepend:!0}),t.subscribeAction((function(t,e){r.emit("vuex:action",t,e)}),{prepend:!0}))}(this)},d={state:{configurable:!0}};function h(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 f(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;y(t,n,[],t._modules.root,!0),m(t,n,e)}function m(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,c={};o(i,(function(e,n){c[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})}
2));var s=l.config.silent;l.config.silent=!0,t._vm=new l({data:{$$state:e},computed:c}),l.config.silent=s,t.strict&&function(t){t._vm.$watch((function(){return this._data.$$state}),(function(){}),{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit((function(){r._data.$$state=null})),l.nextTick((function(){return r.$destroy()})))}function y(t,e,n,r,o){var i=!n.length,c=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[c],t._modulesNamespaceMap[c]=r),!i&&!o){var s=v(e,n.slice(0,-1)),a=n[n.length-1];t._withCommit((function(){l.set(s,a,r.state)}))}var u=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=_(n,r,o),c=i.payload,s=i.options,a=i.type;return s&&s.root||(a=e+a),t.dispatch(a,c)},commit:r?t.commit:function(n,r,o){var i=_(n,r,o),c=i.payload,s=i.options,a=i.type;s&&s.root||(a=e+a),t.commit(a,c,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach((function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return v(t.state,n)}}}),o}(t,c,n);r.forEachMutation((function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push((function(e){n.call(t,r.state,e)}))}(t,c+n,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:c+n,o=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push((function(e){var o,i=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(o=i)&&"function"==typeof o.then||(i=Promise.resolve(i)),t._devtoolHook?i.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):i}))}(t,r,o,u)})),r.forEachGetter((function(e,n){!function(t,e,n,r){t._wrappedGetters[e]||(t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)})}(t,c+n,e,u)})),r.forEachChild((function(r,i){y(t,e,n.concat(i),r,o)}))}function v(t,e){return e.reduce((function(t,e){return t[e]}),t)}function _(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}d.state.get=function(){return this._vm._data.$$state},d.state.set=function(t){},p.prototype.commit=function(t,e,n){var r=this,o=_(t,e,n),i=o.type,c=o.payload,s=(o.options,{type:i,payload:c}),a=this._mutations[i];a&&(this._withCommit((function(){a.forEach((function(t){t(c)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},p.prototype.dispatch=function(t,e){var n=this,r=_(t,e),o=r.type,i=r.payload,c={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(c,n.state)}))}catch(t){}var a=s.length>1?Promise.all(s.map((function(t){return t(i)}))):s[0](i);return new Promise((function(t,e){a.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(c,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(c,n.state,t)}))}catch(t){}e(t)}))}))}},p.prototype.subscribe=function(t,e){return h(t,this._subscribers,e)},p.prototype.subscribeAction=function(t,e){return h("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},p.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},p.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},p.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),y(this,this.state,t,this._modules.get(t),n.preserveState),m(this,this.state)},p.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=v(e.state,t.slice(0,-1));l.delete(n,t[t.length-1])})),f(this)},p.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},p.prototype.hotUpdate=function(t){this._modules.update(t),f(this,!0)},p.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(p.prototype,d);var b=S((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=j(this.$store,0,t);
2if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0})),n})),w=S((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=j(this.$store,0,t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n}));function O(t){return function(t){return Array.isArray(t)||i(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 S(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function j(t,e,n){return t._modulesNamespaceMap[n]}S((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||j(this.$store,0,t))return this.$store.getters[o]},n[r].vuex=!0})),n})),S((function(t,e){var n={};return O(e).forEach((function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=j(this.$store,0,t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n}))},4942:(t,e,n)=>{function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{Z:()=>r})}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};return(()=>{n.r(r),n.d(r,{default:()=>c});var t=n(4942),e=n(629);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?o(Object(r),!0).forEach((function(n){(0,t.Z)(e,n,r[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}const c={computed:i({},(0,e.rn)("layout",["routing"])),watch:{"$route.params.wpid":function(t,e){t&&!e&&this.SET_ROUNTING(!0)},"$route.path":function(){this.$route.params.wpid||this.SET_ROUNTING(!0)},scrollTop:function(t,e){var n=this;this.routing&&t!==e&&this.$nextTick((function(){n.SET_ROUNTING(!1)}))},routing:function(t){var e=this;t&&0===this.scrollTop&&this.$nextTick((function(){e.SET_ROUNTING(!1)}))}},methods:i({},(0,e.OI)("layout",["SET_ROUNTING"]))}})(),r})()},536:function(t,e,n){"use strict";n(291)},666:function(t,e,n){}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.