1/*! For license information please see LICENSES */ 2(window.webpackJsonp=window.webpackJsonp||[]).push([[117],{357:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=260)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,c){var s,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(s=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=s):i&&(s=c?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(u.functional){u._injectStyles=s;var l=u.render;u.render=function(t,e){return s.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,s):[s]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},1:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return _}));var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}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 n=t.state;this.state=("function"==typeof n?n():n)||{}},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){i(this._children,t)},a.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},a.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},a.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(a.prototype,c);var u,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,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},s.prototype.update=function(t){!function t(e,n,r){if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return;t(e.concat(i),n.getChild(i),r.modules[i])}}([],this.root,t)},s.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new a(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o),e.modules&&i(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},s.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)},s.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var l=function(t){var e=this;void 0===t&&(t={}),!u&&"undefined"!=typeof window&&window.Vue&&function(t){u&&t===u||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)}}(u=t)}(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new s(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,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,n){return c.call(o,t,e,n)},this.strict=i;var l=this._modules.root.state;
vendor: 1,673 bytes, line 2
2m(this,l,[],this._modules.root),h(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:u.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)},f={state:{configurable:!0}};function p(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 d(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;m(t,n,[],t._modules.root,!0),h(t,n,e)}function h(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,a={};i(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 c=u.config.silent;u.config.silent=!0,t._vm=new u({data:{$$state:e},computed:a}),u.config.silent=c,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})),u.nextTick((function(){return r.$destroy()})))}function m(t,e,n,r,i){var o=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a],t._modulesNamespaceMap[a]=r),!o&&!i){var c=v(e,n.slice(0,-1)),s=n[n.length-1];t._withCommit((function(){u.set(c,s,r.state)}))}var l=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dis
2patch:function(n,r,i){var o=g(n,r,i),a=o.payload,c=o.options,s=o.type;return c&&c.root||(s=e+s),t.dispatch(s,a)},commit:r?t.commit:function(n,r,i){var o=g(n,r,i),a=o.payload,c=o.options,s=o.type;c&&c.root||(s=e+s),t.commit(s,a,c)}};return Object.defineProperties(i,{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(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return v(t.state,n)}}}),i}(t,a,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,a+n,e,l)})),r.forEachAction((function(e,n){var r=e.root?n:a+n,i=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push((function(e){var i,o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,r,i,l)})),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,a+n,e,l)})),r.forEachChild((function(r,o){m(t,e,n.concat(o),r,i)}))}function v(t,e){return e.reduce((function(t,e){return t[e]}),t)}function g(t,e,n){return o(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){},l.prototype.commit=function(t,e,n){var r=this,i=g(t,e,n),o=i.type,a=i.payload,c=(i.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,r.state)})))},l.prototype.dispatch=function(t,e){var n=this,r=g(t,e),i=r.type,o=r.payload,a={type:i,payload:o},c=this._actions[i];if(c){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(a,n.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{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(a,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(a,n.state,t)}))}catch(t){}e(t)}))}))}},l.prototype.subscribe=function(t,e){return p(t,this._subscribers,e)},l.prototype.subscribeAction=function(t,e){return p("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},l.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},l.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},l.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),h(this,this.state)},l.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));u.delete(n,t[t.length-1])})),d(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),d(this,!0)},l.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(l.prototype,f);var _=O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=x(this.$store,0,t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),b=O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=x(this.$store,0,t);
2if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),y=(O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||x(this.$store,0,t))return this.$store.getters[i]},n[r].vuex=!0})),n})),O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=x(this.$store,0,t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})));function w(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 O(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function x(t,e,n){return t._modulesNamespaceMap[n]}}).call(this,n(2))},109:function(t,e,n){},11:function(t,e,n){var r=n(4).Symbol;t.exports=r},12:function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},13:function(t,e,n){var r=n(11),i=n(24),o=n(25),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?i(t):o(t)}},18:function(t,e,n){var r=n(5),i=n(55),o=n(56),a=Math.max,c=Math.min;t.exports=function(t,e,n){var s,u,l,f,p,d,h=0,m=!1,v=!1,g=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function _(e){var n=s,r=u;return s=u=void 0,h=e,f=t.apply(r,n)}function y(t){return h=t,p=setTimeout(w,e),m?_(t):f}function b(t){var n=t-d;return void 0===d||n>=e||n<0||v&&t-h>=l}function w(){var t=i();if(b(t))return O(t);p=setTimeout(w,function(t){var n=e-(t-d);return v?c(n,l-(t-h)):n}(t))}function O(t){return p=void 0,g&&s?_(t):(s=u=void 0,f)}function x(){var t=i(),n=b(t);if(s=arguments,u=this,d=t,n){if(void 0===p)return y(d);if(v)return clearTimeout(p),p=setTimeout(w,e),_(d)}return void 0===p&&(p=setTimeout(w,e)),f}return e=o(e)||0,r(n)&&(m=!!n.leading,l=(v="maxWait"in n)?a(o(n.maxWait)||0,e):l,g="trailing"in n?!!n.trailing:g),x.cancel=function(){void 0!==p&&clearTimeout(p),h=0,s=d=u=p=void 0},x.flush=function(){return void 0===p?f:O(i())},x}},19:function(t,e,n){(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.exports=n}).call(this,n(2))},2:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},221:function(t,e,n){"use strict";n(109)},23:function(t,e,n){},24:function(t,e,n){var r=n(11),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=o.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var i=a.call(t);return r&&(e?t[c]=n:delete t[c]),i}},25:function(t,e){var n=Object.prototype.toString;t.exports=function(t){return n.call(t)}},26:function(t,e,n){},260:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("article",{directives:[{name:"lazy-container",rawName:"v-lazy-container",value:{selector:"img[data-src]"},expression:"{ selector: 'img[data-src]' }"}],staticClass:"pl-main-article",class:["pl-main-article--"+t.device,{"pl-main-article--cls-height":!t.article.custom_app_only_content}]},[n("div",{staticClass:"pl-main-article__image",class:{"pl-main-article__image--loading":t.coverImageLoading}},[n("img",{directives:[{name:"error-img",rawName:"v-error-img",value:t.errorImgUrl,expression:"errorImgUrl"}],attrs:{src:t.cloudFlareImg.src,srcset:t.cloudFlareImg.srcset,alt:t.article.title},on:{load:function(e){t.coverImageLoading=!1}}})]),t._v(" "),n("h1",{staticClass:"pl-main-article__title"},[t._v("\n "+t._s(t.article.title)+"\n ")]),t._v(" "),n("div",{staticClass:"pl-main-article__categories"},[t.article.cats.length?t._l(t.article.cats,(function(e){return n("span",{key:"category-"+e.slug,staticClass:"pl-main-article__categories-item"},[n("a",{attrs:{href:t.page.path+"/category/"+e.slug,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(e.name)+"\n ")])])})):[n("span",{staticClass:"pl-main-article__categories-item"},[n("a",{attrs:{href:t.page.path+"/category/"+t.article.tags[0].slug,target:"_blank",rel:"noopener noreferrer"}},[t._v("\n "+t._s(t.article.tags[0].name)+"\n ")])])]],2),t._v(" "),t.showAuthor?n("PlAuthorPanel",{attrs:{author:t.article.author,date:t.article.post_date,"is-article-page":""}}):t._e(),t._v(" "),n("div",{staticClass:"pl-main-article__main",class:[{"pl-main-article__main--custom-layout":t.article.custom_layout},{"pl-main-article__main--app-only-content":t.article.custom_app_only_content}
2,"pl-main-article__main-"+t.articleKey]},t._l(t.articleGroups,(function(e,r){return n("div",{key:"article-group-"+r},[t._l(e,(function(e,i){return[0===r&&1===i?n("div",[n("ArticleContentMenu",{attrs:{"article-id":t.article.id,"article-menu-list":t.articleMenuList,"toc-display":t.article.toc_display,"toc-icon":t.article.toc_icon,"toc-display-h3":t.article.toc_display_h3,"toc-title":t.article.toc_title}})],1):t._e(),t._v(" "),t.checkIsPageStartLine(r,i)?n("div",{key:"page-start-"+(r+i+1),ref:"page-start",refInFor:!0,staticClass:"page-start"}):t._e(),t._v(" "),t._t("line-prepend",null,{articleGroups:t.articleGroups,groupIndex:r,lineIndex:i,line:t.getArticleLineIndex(r,i),lineLength:t.linesLength}),t._v(" "),e.type?n("div",{key:"line-component-"+i,staticStyle:{"margin-bottom":"30px"}},[n("pl-"+e.type,{tag:"component",attrs:{source:e.source,items:e.props,"link-icon":t.photoWidgetLinkIcon,"nav-icon":t.photoWidgetNavIcon}})],1):n("div",{key:"line-"+i,domProps:{innerHTML:t._s(e)}}),t._v(" "),t._t("line-append",null,{articleGroups:t.articleGroups,groupIndex:r,lineIndex:i,line:t.getArticleLineIndex(r,i),lineLength:t.linesLength})]}))],2)})),0),t._v(" "),t.article.custom_app_only_content?n("div",{key:"app-promotion"},[t._t("app-promotion")],2):[t._t("article-append"),t._v(" "),t.showAd?n("pl-text-ads",{attrs:{position:"bottom","device-text-ads":t.deviceTextAds}}):t._e(),t._v(" "),t.showTags&&t.article.tags.length?n("PlTagGroup",{key:"pl-tag-group",attrs:{label:t.tagLabel,tags:t.article.tags}}):t._e()],t._v(" "),n("ArticleMenu",{attrs:{"article-id":t.article.id,"article-menu-list":t.articleMenuList,"toc-display":t.article.toc_display,"toc-icon":t.article.toc_icon,"toc-display-h3":t.article.toc_display_h3,"toc-title":t.article.toc_title}})],2)};r._withStripped=!0;var i=n(1),o=n(46),a=n(45);function c(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||l(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 s(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,i,o=[],a=!0,c=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){c=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}}(t,e)||l(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=l(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}function l(t,e){if(t){if("string"==typeof t)return f(t,e);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)?f(t,e):void 0}}function f(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 p(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 d(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?p(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var m={name:"PlMainArticle",components:{ArticleMenu:o.a,ArticleContentMenu:a.a},props:{articleKey:{type:Number,default:0},article:{type:Object,required:!0},showAuthor:{type:Boolean,default:!0},lineCount:{type:Number,default:4},lastLineCount:{type:Number,default:3},isHalfArticle:{type:Boolean,default:!1},paragraphCount:{type:Number,default:2},deviceTextAds:{type:[Object,null],default:null},firstTead:{type:Number,default:3},secondTead:{type:Number,default:6},secondTeadMobile:{type:Number,default:9},thirdTead:{type:Number,default:9},thirdTeadMobile:{type:Number,default:15},showBottomAd:{type:Boolean,default:!0},showTags:{type:Boolean,default:!0},enableImgAlt:{type:Boolean,default:!1},photoWidgetLinkIcon:{type:String,default:null},photoWidgetNavIcon:{type:String,default:null},errorImg:{type:[String,null],default:""},loadingImg:{type:[String,null],default:""},site:{type:String,default:""}},data:function(){return{coverImageLoading:!0,articleGroups:[],linesLength:"",groupLinesLength:null,maxButtonsData:[]}},fetch:function(){this.replaceFeedtrack(),this.splitPostContentIntoParagraph()},head:function(){return{style:[{hid:"max-button-theme",cssText:this.generateMaxButtonThemes(),type:"text/css"}]}},computed:d(d({},Object(i.c)(["page","device","directlyShowPopup"])),{},{isDesktop:function(){return"desktop"===this.device},isMobile:function(){return"mobile"===this.device},showAd:function(){return!this.removeAds&&!this.booleanify(this.article.remove_ads)&&!this.article.custom_app_only_content},customAds:function(){return this.booleanify(this.article.custom_ads)},adLabel:function(){return this.customAds||this.removeAdLabel?null:this.isEnglishLabel?"Advertisement":"廣å"},tagLabel:function(){return this.isEnglishLabel?"Tag:":"æ¨ç±¤:"},ishalfMode:function(){return this.linesLength<=this.lineCount+this.lastLineCount||this.isHalfArticle},paragraphTextAdGroupIndex:function(){return this.isHalfArticle||this.isDesktop?Math.ceil(this.paragraphCount/Math.ceil(this.linesLength/2))-1:Math.ceil(this.paragraphCount/this.lineCount)-1},paragraphTextAdLineIndex:function(){return this.isHalfArticle||this.isDesktop?this.paragraphCount%Math.ceil(this.linesLength/2)==0?Math.ceil(this.linesLength/2)-1:this.paragraphCount%Math.ceil(this.linesLength/2)-1:this.paragraphCount%this.lineCount==0?this.lineCount-1:this.paragraphCount%this.lineCount-1},cloudFlareImg:function(){var t=this,e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,n=t.article.custom_remove_sidebar?1053:718,r="desktop"===t.device?n:600;return"".concat(encodeURI(t.article.image),"?auto=format&w=").concat(r*e)};return{src:e(),srcset:"".concat(e(2)," 2x ,").concat(e(3)," 3x")}},errorImgUrl:function(){return this.errorImg||this.loadingImg||this.$staticHost("/images/loading.png")}}),watch:{article:{handler:function(){this.replaceFeedtrack(),this.splitPostContentIntoParagraph()},immediate:!0}},beforeMount:function(){this.detectWidget()},mounted:function(){var t=this;this.appendScript(),"TW"!==this.page.country_code&&"BusinessFocus"!==this.page.name&&"PopLady"!==this.page.name&&"TopBeauty"!==this.page.name||(this.teadsNum=3),this.$nextTick((function(){t.appendImgAlt()}))},methods:d(d({},Object(i.b)(["SET_ARTICLE"])),{},{booleanify:function(t){return"boolean"==typeof t?t:Boolean(parseInt(t))},generateRandomId:function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:8,e="abcdefghijklmnopqrstuvwxyz0123456789",n="",r=0;r<t;r++)n+=e.charAt(Math.floor(Math.random()*e.length));return n},processHeadings:function(t){var e=this;return t.replace(/<(h[23])[^>]*>(.*?)<\/\1>/g,(function(t,n,r){var i="an"+e.generateRandomId(),o=(t.match(/<h[23]([^>]*)>/)[1]||"").replace(/id="[^"]*"/,"").trim();return"<".concat(n).concat(o?" "+o:"",' id="').concat(i,'">').concat(r,"</").concat(n,">")}))},arrayToTree:function(t){var e,n=[],r=null,i=u(t);try{for(i.s();!(e=i.n()).done;){var o,a,c=e.value,s=null===(o=c.match(/id="([^"]+)"/))||void 0===o?void 0:o[1],l=null===(a=c.match(/>([\s\S]+?)<\/h[23]/))||void 0===a?void 0:a[1];c.includes("h2")&&l?(r={type:"h2",id:s,content:l,isActive:!1,children:[]},n.push(r)):c.includes("h3")&&r&&l&&r.children.push({type:"h3",id:s,isActive:!1,content:l})}}catch(t){i.e(t)}finally{i.f()}return n},processHtml:function(t){var e=this.processHeadings(t),n=e.match(/<h[1-3][^>]*>.*?<\/h[1-3]>/g);if(null!=n&&n.length){var r=this.arrayToTree(n);this.articleMenuList=r}else this.articleMenuList=[];return e},replaceFeedtrack:function(){this.article.tags&&this.article.tags.length&&this.SET_ARTICLE(d(d({},this.article),{},{post_content:this.article.post_content.replace(/width="1" height="1"/,'style="display:none"')}))},splitPostContentIntoParagraph:function(){var t=this,e=new RegExp(["p","table","blockquote","h[1-6]","style","ul","ol","video","form"].map((function(t){return"<".concat(t,"(([\\s\\S])*?)\\/").concat(t,">")})).join("|"),"gm"),n=this.processHtml(this.article.post_content).match(e);this.article.custom_app_only_content&&(n=n.slice(0,3)),this.linesLength=n?n.length:0,"girlstyle_tw"===this.page.subdomain?this.groupLine
2sLength=this.isDesktop?Math.ceil((n?n.length:0)/2):8:this.groupLinesLength=(this.isDesktop,8);var r=function(e,n){n=1*n||1;var r=[];return e&&e.forEach((function(e,i){i%n==0&&r.push([]),e=t.replaceMaxButtonString(e).line,r[r.length-1].push(e)})),r}(n,this.groupLinesLength);this.articleGroups=r,this.$nextTick((function(){t.articleGroups=JSON.parse(JSON.stringify(r))}))},generateMaxButtonThemes:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.maxButtonsData;return e.reduce((function(e,n){return e+t.parseMaxButtonThemeToCssString(n)}),"")},parseMaxButtonData:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];this.maxButtonsData=t.map((function(t){try{return Object.entries(t).reduce((function(t,e){var n=s(e,2),r=n[0],i=n[1];return t[r]=JSON.parse(i),t}),{})}catch(t){return console.log(t),{}}}))},hexToRgb:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(/rgba/.test(t))return t;t=t.replace("#","");var n=parseInt(t.substring(0,2),16),r=parseInt(t.substring(2,4),16),i=parseInt(t.substring(4,6),16);return"rgba(".concat(n,", ").concat(r,", ").concat(i,", ").concat(e,")")},parseMaxButtonThemeToCssString:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{var e=t.id,n=t.border,r=t.color,i=t.container,o=t.dimension,a=t.text,c=t.gradient,s={display:"inline-block",color:r.text_color,width:"".concat(o.button_width).concat("pixel"===o.button_size_unit_width?"px":"%"),height:"".concat(o.button_height).concat("pixel"===o.button_size_unit_height?"px":"%"),background:"1"===c.use_gradient?"linear-gradient(".concat(this.hexToRgb(r.gradient_start_color,+c.gradient_start_opacity/100)," ").concat(c.gradient_stop,"%, ").concat(this.hexToRgb(r.gradient_end_color,+c.gradient_start_opacity/100),")"):this.hexToRgb(r.gradient_start_color,+c.gradient_start_opacity/100),border:"".concat(n.border_width,"px ").concat(n.border_style," ").concat(r.border_color),"border-radius":"".concat(n.radius_top_left,"px ").concat(n.radius_top_right,"px ").concat(n.radius_bottom_left,"px ").concat(n.radius_bottom_right,"px"),margin:"".concat(i.container_margin_top,"px ").concat(i.container_margin_right,"px ").concat(i.container_margin_bottom,"px ").concat(i.container_margin_left,"px"),"text-decoration":"none!important","box-sizing":"content-box","box-shadow":"".concat(n.box_shadow_offset_left,"px ").concat(n.box_shadow_offset_top,"px ").concat(n.box_shadow_width,"px ").concat(n.box_shadow_spread,"px ").concat(r.box_shadow_color)},u={display:"block","font-family":a.font,"font-size":"".concat(a.font_size,"px"),"text-align":a.text_align,"font-style":a.font_style,"font-weight":a.font_weight,padding:"".concat(a.padding_top,"px ").concat(a.padding_right,"px ").concat(a.padding_bottom,"px ").concat(a.padding_left,"px"),"line-height":1,"text-shadow":"".concat(a.text_shadow_offset_left,"px ").concat(a.text_shadow_offset_top,"px ").concat(a.text_shadow_width,"px ").concat(r.text_shadow_color)},l={color:r.text_color_hover,background:"1"===c.use_gradient?"linear-gradient(".concat(this.hexToRgb(r.gradient_start_color_hover,+c.gradient_start_opacity_hover/100)," ").concat(c.gradient_stop,"%, ").concat(this.hexToRgb(r.gradient_end_color_hover,+c.gradient_start_opacity_hover/100),")"):this.hexToRgb(r.gradient_start_color_hover,+c.gradient_start_opacity_hover/100),border:"".concat(n.border_width,"px ").concat(n.border_style," ").concat(r.border_color_hover),"box-shadow":"".concat(n.box_shadow_offset_left,"px ").concat(n.box_shadow_offset_top,"px ").concat(n.box_shadow_width,"px ").concat(n.box_shadow_spread,"px ").concat(r.box_shadow_color_hover)},f={"text-shadow":"".concat(a.text_shadow_offset_left,"px ").concat(a.text_shadow_offset_top,"px ").concat(a.text_shadow_width,"px ").concat(r.text_shadow_color_hover)};return"\n .pl-main-article .pl-main-article__main .max-button-theme-".concat(e," {\n ").concat(this.styleObjectToCssString(s),"\n }\n .pl-main-article .pl-main-article__main .max-button-theme-").concat(e," .max-button-text {\n ").concat(this.styleObjectToCssString(u),"\n }\n\n .pl-main-article .pl-main-article__main .max-button-theme-").concat(e,":hover {\n ").concat(this.styleObjectToCssString(l),"\n }\n .pl-main-article .pl-main-article__main .max-button-theme-").concat(e,":hover .max-button-text{\n ").concat(this.styleObjectToCssString(f),"\n }\n ")}catch(t){return console.error(t),""}},styleObjectToCssString:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.entries(t).reduce((function(t,e){var n=s(e,2),r=n[0],i=n[1];return t+"".concat(r,": ").concat(i,";")}),"")},replaceMaxButtonString:function(t){var e=this;this.parseMaxButtonData(this.article.max_buttons);var n={line:t,buttonIds:new Set};return n.line=t.replace(/\[maxbutton([\s\S]+?)\]/g,(function(t){var r,i=e.parseAttrs(t);n.buttonIds.add(i.id);var o=e.maxButtonsData.find((function(t){return+t.id==+i.id}));return'\n <a\n class="max-button max-button-theme-'.concat(o.id,' "\n title="').concat(i.linktitle||(null==o?void 0:o.basic.link_title)||"",'"\n href="').concat(null!==(r=i.url)&&void 0!==r?r:"",'"\n target="').concat("new"===i.window||"1"===(null==o?void 0:o.basic.new_window)?"_blank":"",'"\n ref="noopener ').concat("1"===o.basic.nofollow?"nofollow":"",'"\n ').concat("1"===o.basic.is_download?"download":"",'\n >
2\n <span class="max-button-text">').concat(i.text||o.text.text,"</span>\n </a>")})),n},parseAttrs:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=new RegExp('([\\S]+?)="([\\s\\S]+?)"',"g"),n=this.parseEmoji(t),r=n.match(e);return r.reduce((function(t,e){var n=s(e.split("="),2),r=n[0],i=n[1];return t[r]=i.replace(/"/g,""),t}),{})},parseEmoji:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return t.replace(/<span class="mb-text">([\s\S]+?)<\/span>/g,(function(t,e){return e}))},detectWidget:function(){var t=this,e=/<p ([\s\S]*?)data-mode="([\s\S]*?)-widget"([\s\S]*?)<\/p>/gm;this.articleGroups.forEach((function(n,r){n.forEach((function(n,i){if(e.exec(n)){var o=[],a=document.createElement("div");a.innerHTML=n;var s,l=a.querySelector("[data-mode$=widget]"),f=l.getAttribute("data-mode"),p=l.getAttribute("data-source"),d=function(t){var e=c(t).reduce((function(t,e){var n=e.name,r=e.value;return t[n]=r,t}),{});o.push(e)},h=u(l.children);try{for(h.s();!(s=h.n()).done;){var m,v=s.value,g=u(v.children);try{for(g.s();!(m=g.n()).done;)d(m.value.attributes)}catch(t){g.e(t)}finally{g.f()}d(v.attributes)}}catch(t){h.e(t)}finally{h.f()}var _={type:f,source:p||"",props:o};t.articleGroups[r][i]=_}}))}))},appendImgAlt:function(){this.enableImgAlt&&!this.booleanify(this.article.custom_layout)&&document.querySelectorAll(".pl-main-article__main-".concat(this.articleKey," :not(.pl-photo-widget) img[alt]")).forEach((function(t){var e=t.getAttribute("alt");if(e.trim()){var n=document.createElement("span");n.innerHTML=e,n.classList.add("alt"),t.parentElement.nextSibling&&n.appendChild(t.parentElement.nextSibling);var r=t.parentElement.parentElement;"photo-credit-box"===r.className?r.insertBefore(n,t.parentElement.nextSibling):r.insertBefore(n,t.nextSibling)}}))},appendScript:function(){for(var t,e=this,n=/<script type="presslogic\/form">([\s\S]*?)<\/script>/gm,r=[];t=n.exec(this.article.post_content);){var i=document.createElement("script");i.innerHTML=t[1],r.push(i)}this.$nextTick((function(){var t,n=u(r);try{for(n.s();!(t=n.n()).done;){var i=t.value;e.$el.appendChild(i)}}catch(t){n.e(t)}finally{n.f()}}))},getArticleLineIndex:function(t,e){return this.groupLinesLength?t*this.groupLinesLength+e:""},checkIsPageStartLine:function(t,e){return!!this.groupLinesLength&&this.getArticleLineIndex(t,e)%this.lineCount==0}})},v=(n(221),n(0)),g=Object(v.a)(m,r,[],!1,null,null,null);g.options.__file="src/components/MainArticle/MainArticle.vue";var _=g.exports;e.default=_},27:function(t,e,n){},4:function(t,e,n){var r=n(19),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();t.exports=o},45:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.tocDisplay?n("div",{staticClass:"article-content-menu",attrs:{id:"ref-article-content-menu-"+t.articleId}},[t.tocTitle?n("h2",[t.tocIcon?n("img",{attrs:{src:t.tocIcon}}):t._e(),t._v(" "),t.tocIcon?t._e():n("SvgTitleIcon"),t._v("\n "+t._s(t.tocTitle)+"\n ")],1):t._e(),t._v(" "),n("div",{staticClass:"article-content-menu-list-wrap"},t._l(t.innerArticleMenuContentList,(function(e,r){return n("ul",{key:e.id},[n("li",{class:{active:e.isActive},attrs:{id:"content-menu-item-"+e.id}},[n("div",{staticClass:"article-menu-text"},[n("SvgArrow"),t._v(" "),n("a",{attrs:{href:"#"+e.id},on:{click:function(n){return t.jumpTitle(n,e.id)}}},[t._v(t._s(t.formatArticleMenuContent(e.content)))])],1),t._v(" "),t._l(e.children,(function(e,r){return t.tocDisplayH3?n("ul",{key:e.id},[n("li",{class:{active:e.isActive},attrs:{id:"content-menu-item-"+e.id}},[n("div",{staticClass:"article-menu-text"},[n("SvgArrow"),t._v(" "),n("a",{attrs:{href:"#"+e.id},on:{click:function(n){return t.jumpTitle(n,e.id)}}},[t._v(t._s(t.formatArticleMenuContent(e.content)))])],1)])]):t._e()}))],2)])})),0)]):t._e()};r._withStripped=!0;var i=n(6),o=n(7),a=n(8),c={name:"PlArticleContentMenu",components:{SvgArrow:o.a,SvgTitleIcon:a.a},props:{tocTitle:{type:String,default:""},articleMenuList:{type:Array,default:function(){return[]}},tocDisplay:{type:Boolean,default:!1},tocIcon:{type:String,default:"https://assets.presslogic.com/girlstyle-hk/static/images/article-menu/title-default-icon.svg"},tocDisplayH3:{type:Boolean,default:!1},articleId:{type:[String,Number],default:""}},data:function(){return{innerArticleMenuContentList:[],siteShort
2Name:""}},watch:{articleMenuList:{handler:function(t,e){var n=this;this.articleMenuList.length>0&&this.$nextTick((function(){n.initArticleContentMenu()}))},immediate:!0}},methods:{formatArticleMenuContent:function(t){return Object(i.a)(t)},initArticleContentMenu:function(){this.tocDisplay&&(this.innerArticleMenuContentList=JSON.parse(JSON.stringify(this.articleMenuList)))},jumpTitle:function(t,e){t.preventDefault();var n=document.querySelector("#".concat(e)).getBoundingClientRect().top+window.scrollY-120;window.scrollTo({top:n,behavior:"smooth"})}}},s=(n(54),n(0)),u=Object(s.a)(c,r,[],!1,null,"26df3d0d",null);u.options.__file="src/components/ArticleConentMenu/ArticleConentMenu.vue",e.a=u.exports},46:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.tocDisplay?n("div",{staticClass:"article-menu",class:{"is-expend":t.isExpend,"is-show":t.isShow},on:{mouseleave:function(e){!t.isMobile&&t.setIsExpend(!1)}}},[n("div",{staticClass:"article-menu-content-wrap"},[n("div",{ref:"menuContent",staticClass:"article-menu-content"},t._l(t.innerArticleMenuList,(function(e,r){return n("ul",{key:e.id},[n("li",{class:{active:e.isActive},attrs:{id:"menu-item-"+e.id},on:{click:function(e){return t.setIsExpend(!1)}}},[n("div",{staticClass:"article-menu-text"},[n("SvgArrow"),t._v(" "),n("a",{attrs:{href:"#"+e.id},on:{click:function(n){return t.jumpTitle(n,e.id)}}},[t._v(t._s(t.formatArticleMenuContent(e.content)))])],1),t._v(" "),t._l(e.children,(function(e,r){return t.tocDisplayH3?n("ul",{key:e.id},[n("li",{class:{active:e.isActive},attrs:{id:"menu-item-"+e.id},on:{click:function(e){return t.setIsExpend(!1)}}},[n("div",{staticClass:"article-menu-text"},[n("SvgArrow"),t._v(" "),n("a",{attrs:{href:"#"+e.id},on:{click:function(n){return t.jumpTitle(n,e.id)}}},[t._v(t._s(t.formatArticleMenuContent(e.content)))])],1)])]):t._e()}))],2)])})),0)]),t._v(" "),n("div",{staticClass:"article-menu-expend",on:{click:function(){t.setIsExpend(!t.isExpend)},mouseenter:function(e){!t.isMobile&&t.setIsExpend(!0)}}},[t._m(0),t._v(" "),n("p",[t._v(t._s(t.menuName))]),t._v(" "),t._m(1)])]):t._e()};r._withStripped=!0;var i=n(18),o=n.n(i),a=n(7),c=n(8),s=n(6);function l(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}var f={name:"PlArticleMenu",components:{SvgArrow:a.a,SvgTitleIcon:c.a},props:{tocDisplay:{type:Boolean,default:!1},tocDisplayH3:{type:Boolean,default:!1},articleMenuList:{type:Array,default:function(){return[]}},articleId:{type:[String,Number],default:""}},data:function(){return{innerArticleMenuList:[],isExpend:!1,observers:[],articleContentMenuScroll:null,siteShortName:"",menuName:"ç®é",isShow:!1,isMobile:!1}},watch:{articleMenuList:{handler:function(t,e){var n,r=this;"undefined"!=typeof window&&null!==(n=window)&&void 0!==n&&n.location&&this.$nextTick((function(){r.initArticleMenu()}))},immediate:!0}},mounted:function(){this.checkMobile()},beforeDestroy:function(){this.clean()},methods:{formatArticleMenuContent:function(t){return Object(s.a)(t)},initArticleMenu:function(){var t,e=this;if(this.siteShortName=this.$env.PAGE_SUBDOMAIN,this.tocDisplay&&(null===(t=this.innerArticleMenuList)||void 0===t||!t.length)){var n=document.querySelectorAll(".article-item");(null==n?void 0:n.length)>1||(["girls","girlstyle_tw","holiday","holiday_tw","businessfocus","mamidaily","urbanlifehk","thepetcity","topbeautyhk","thekdaily","poplady-mag"].includes(this.siteShortName)?this.menuName="ç®é":["girlstyle_my"].includes(this.siteShortName)?this.menuName="ç®å½":["girlstyle_sg","holiday_sg"].includes(this.siteShortName)?this.menuName="Contents":["jomexplore"].includes(this.siteShortName)?this.menuName="Kandungan":this.menuName="Contents",this.innerArticleMenuList=JSON.parse(JSON.stringify(this.articleMenuList)),setTimeout((function(){e.observeElements(),e.observeArticleContentMenu()}),1800))}},observeArticleContentMenu:function(){var t=this,e=document.querySelector("#ref-article-content-menu-".concat(this.articleId)),n=document.querySelector(".main-content-".concat(this.articleId)),r=window.innerHeight,i=o()((function(){var i=n.getBoundingClientRect();window.scrollY>e.clientHeight+r/2+e.offsetTop&&Math.abs(i.top)<i.height?t.isShow=!0:t.isShow=!1}),300);this.articleContentMenuScroll=i,window.addEventListener("scroll",i)},setIsExpend:function(t){this.isExpend=t},handleScroll:function(){console.log("scroll")}
2,observeElements:function(){this.observers.forEach((function(t){return t.disconnect()})),this.observers=[];var t=o()(this.updateActiveMenuItem,600),e=[];this.innerArticleMenuList.forEach((function(t){e.push(document.querySelector("#".concat(t.id))),t.children&&t.children.forEach((function(t){e.push(document.querySelector("#".concat(t.id)))}))}));var n=new IntersectionObserver((function(e){e.forEach((function(e){if(e.isIntersecting){var n=e.target.getAttribute("id");t(n)}}))}),{rootMargin:"-100px 0px -100px 0px",threshold:0});e.forEach((function(t){t&&n.observe(t)})),this.observers.push(n)},updateActiveMenuItem:function(t){var e=this;console.log("update",t),this.innerArticleMenuList.forEach((function(t){t.isActive=!1,t.children&&t.children.forEach((function(t){t.isActive=!1}))}));var n,r=function(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return l(t,e);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)?l(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){c=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw o}}}}(this.innerArticleMenuList);try{var i=function(){var r=n.value,i=null;if(r.id===t)return r.isActive=!0,"break";r.children&&(i=r,r.children.forEach((function(n){if(n.id===t){n.isActive=!0,i&&(i.isActive=!0);var r=document.querySelector("#menu-item-".concat(n.id));if(!r)return;var o=r.offsetTop;if(e.$refs.menuContent.scrollTop<o){var a=o-36;e.$refs.menuContent.scrollTop=a<36?0:a}else e.$refs.menuContent.scrollTop=0}})))};for(r.s();!(n=r.n()).done&&"break"!==i(););}catch(t){r.e(t)}finally{r.f()}},checkMobile:function(){this.isMobile=window.matchMedia("(max-width: 560px)").matches},clean:function(){console.log("clean observer"),this.observers.forEach((function(t){return t.disconnect()})),window.removeEventListener("scroll",this.articleContentMenuScroll)},jumpTitle:function(t,e){t.preventDefault();var n=document.querySelector("#".concat(e)).getBoundingClientRect().top+window.scrollY-120;window.scrollTo({top:n,behavior:"smooth"})}}},p=(n(60),n(61),n(0)),d=Object(p.a)(f,r,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"article-menu-expend-icon"},[e("img",{attrs:{src:"https://assets.presslogic.com/girlstyle-hk/static/images/article-menu/menu-expend-icon.svg"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"article-menu-expend-close"},[e("img",{attrs:{src:"https://assets.presslogic.com/girlstyle-hk/static/images/article-menu/menu-expend-close.svg"}})])}],!1,null,"6bf7603b",null);d.options.__file="src/components/ArticleMenu/ArticleMenu.vue",e.a=d.exports},5:function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},54:function(t,e,n){"use strict";n(23)},55:function(t,e,n){var r=n(4);t.exports=function(){return r.Date.now()}},56:function(t,e,n){var r=n(57),i=n(5),o=n(59),a=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,s=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(o(t))return NaN;if(i(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=i(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=r(t);var n=c.test(t);return n||s.test(t)?u(t.slice(2),n?2:8):a.test(t)?NaN:+t}},57:function(t,e,n){var r=n(58),i=/^\s+/;t.exports=function(t){return t?t.slice(0,r(t)+1).replace(i,""):t}},58:function(t,e){var n=/\s/;t.exports=function(t){for(var e=t.length;e--&&n.test(t.charAt(e)););return e}},59:function(t,e,n){var r=n(13),i=n(12);t.exports=function(t){return"symbol"==typeof t||i(t)&&"[object Symbol]"==r(t)}},6:function(t,e,n){"use strict";function r(t){var e=document.createElement("div");e.innerHTML=t;var n=e.textContent;return e=null,n}n.d(e,"a",(function(){return r}))},60:function(t,e,n){"use strict";n(26)},61:function(t,e,n){"use strict";n(27)},7:function(t,e,n){"use strict";var r=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("g",{attrs:{id:"ph:arrow-up"}},[e("path",{attrs:{id:"Vector",d:"M8.70728 12.3534C8.66133 12.3069 8.62487 12.2518 8.6 12.1911C8.57512 12.1304 8.56232 12.0653 8.56232 11.9996C8.56232 11.9339 8.57512 11.8689 8.6 11.8082C8.62487 11.7475 8.66133 11.6923 8.70728 11.6459L12.3123 7.99991L3.49426 7.99991C3.36318 7.99991 3.23746 7.94723 3.14477 7.85347C3.05207 7.75971 3 7.63254 3 7.49994C3 7.36734 3.05207 7.24017 3.14477 7.14641C3.23746 7.05265 3.36318 6.99998 3.49426 6.99998L12.3123 6.99998L8.70728 3.35397C8.61454 3.26016 8.56244 3.13292 8.56244 3.00024C8.56244 2.86757 8.61454 2.74033 8.70728 2.64652C8.80003 2.5527 8.92582 2.5 9.05698 2.5C9.18814 2.5 9.31392 2.5527 9.40667 2.64652L13.855 7.14622C13.901 7.19265 13.9375 7.24779 13.9623 7.30849C13.9872 7.36918 14 7.43424 14 7.49994C14 7.56565 13.9872 7.63071 13.9623 7.6914C13.9375 7.7521 13.901 7.80724 13.855 7.85367L9.40667 12.3534C9.36076 12.3999 9.30625 12.4367 9.24625 12.4619C9.18625 12.4871 9.12193 12.5 9.05697 12.5C8.99202 12.5 8.9277 12.4871 8.8677 12.4619C8.8077 12.4367 8.75319 12.3999 8.70728 12.3534Z"}})])])};r._withStripped=!0;var o=n(0),a=Object(o.a)({},r,[],!1,null,null,null);a.options.__file="src/components/ArticleConentMenu/SvgArrow.vue",e.a=a.exports},8:function(t,e,n){"use strict";var r=function(){var t=this.$createElement,e=this._self._c||t;return e("svg",{attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[e("g",{attrs:{id:"majesticons:article-line"}},[e("path",{attrs:{id:"Vector",d:"M12.5 6.66732H14.1667M12.5 10.0007H14.1667M14.1667 13.334H5.83333M5.83333 6.66732V10.0007H9.16667V6.66732H5.83333ZM4.16667 16.66
273H15.8333C16.2754 16.6673 16.6993 16.4917 17.0118 16.1792C17.3244 15.8666 17.5 15.4427 17.5 15.0006V5.00065C17.5 4.55862 17.3244 4.1347 17.0118 3.82214C16.6993 3.50958 16.2754 3.33398 15.8333 3.33398H4.16667C3.72464 3.33398 3.30072 3.50958 2.98816 3.82214C2.67559 4.1347 2.5 4.55862 2.5 5.00065V15.0006C2.5 15.4427 2.67559 15.8666 2.98816 16.1792C3.30072 16.4917 3.72464 16.6673 4.16667 16.6673Z","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"}})])])};r._withStripped=!0;var o=n(0),a=Object(o.a)({},r,[],!1,null,null,null);a.options.__file="src/components/ArticleConentMenu/SvgTitleIcon.vue",e.a=a.exports}})},358:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=261)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,s,o,c){var l,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),o?(l=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=c?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var a=u.render;u.render=function(t,e){return l.call(e),a(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,l):[l]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},110:function(t,e,n){},222:function(t,e,n){"use strict";n(110)},261:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pl-member-verify-result"},[t.loading?[n("div",{staticClass:"pl-member-verify-result__title"},[n("img",{attrs:{src:t.loadingImage}})]),t._v(" "),n("p",{class:["pl-member-verify-result__description","pl-member-verify-result__description--loading"]},[t._v("\n è³æé©èä¸..."),n("br"),t._v("è«ç¨å\n ")])]:["fa"===t.iconType?n("fa",{staticClass:"pl-member-verify-result__icon",attrs:{icon:["fal",t.isSuccess?"check-circle":"times-circle"]}}):n("img",{staticClass:"pl-member-verify-result__image",attrs:{src:t.isSuccess?t.successImage:t.failedImage}}),t._v(" "),n("h3",{class:["pl-member-verify-result__title",{"pl-member-verify-result__title--failed":!t.isSuccess}]},[t._v("\n "+t._s(t.title)+"\n ")]),t._v(" "),n("p",{staticClass:"pl-member-verify-result__description"},[t.$slots.description?t._t("description"):[t._v("\n "+t._s(t.description)+"\n ")]],2),t._v(" "),t.isSuccess?[n("a",{class:["pl-member-verify-result__btn","pl-member-verify-result__btn--submit"],on:{click:function(e){return e.preventDefault(),t.handleSuccess.apply(null,arguments)}}},[t._v("ç«å³é²å
¥æçæå¡â¾´â¾¯")]),t._v(" "),n("p",{staticStyle:{"font-size":"14px",color:"#979797"}},[t._v("\n ç³»çµ±å°æ¼"+t._s(t.counts)+"ç§å¾â¾ååå¾\n ")])]:n("nuxt-link",{class:["pl-member-verify-result__btn","pl-member-verify-result__btn--submit"],attrs:{to:"/edit-profile"}},[t._v("\n éæ°é©è\n ")])]],2)};r._withStripped=!0;var i={name:"PlMemberVerifyResult",props:{loading:{type:Boolean,default:!1},loadingImage:{type:String,default:""},iconType:{type:String,default:"img"},isSuccess:{type:Boolean,default:!0},successImage:{type:String,default:""},failedImage:{type:String,default:""},title:{type:String,default:"é©èæå"},description:{type:String,default:""}},data:function(){return{counts:5,interval:null}},watch:{isSuccess:function(t,e){!e&&t&&this.countdown()}},mounted:function(){this.isSuccess&&(this.countdown(),this.$emit("init-success"))},destroyed:function(){clearInterval(this.interval)},methods:{countdown:function(){var t=this;this.interval=setInterval((function(){t.counts-=1,0===t.counts&&(clearInterval(t.interval),t.handleSuccess())}),1e3)},handleSuccess:function(){this.$emit("success")}}},s=(n(222),n(0)),o=Object(s.a)(i,r,[],!1,null,null,null);o.options.__file="src/components/MemberVerifyResult/MemberVerifyResult.vue";var c=o.exports;e.default=c}})},359:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
2),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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=274)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,c,s){var u,a="function"==typeof t?t.options:t;if(e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),o&&(a._scopeId="data-v-"+o),c?(u=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(c)},a._ssrRegister=u):i&&(u=s?function(){i.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(a.functional){a._injectStyles=u;var l=a.render;a.render=function(t,e){return u.call(e),l(t,e)}}else{var f=a.beforeCreate;a.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:a}}n.d(e,"a",(function(){return r}))},1:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return g}));var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function o(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){i(this._children,t)},c.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},c.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},c.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(c.prototype,s);var a,u=function(t){this.register([],t,!1)};u.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},u.prototype.update=function(t){!function t(e,n,r){if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return;t(e.concat(i),n.getChild(i),r.modules[i])}}([],this.root,t)},u.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new c(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o),e.modules&&i(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},u.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)},u.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var l=function(t){var e=this;void 0===t&&(t={}),!a&&"undefined"!=typeof window&&window.Vue&&function(t){a&&t===a||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)}}(a=t)}(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new a,this._makeLocalGettersCache=Object.create(null);var o=this,c=this.dispatch,s=this.commit;this.dispatch=function(t,e){return c.call(o,t,e)},this.commit=function(t,e,n){return s.call(o,t,e,n)},this.strict=i;var l=this._modules.root.state;
vendor: 1,673 bytes, line 2
2m(this,l,[],this._modules.root),h(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:a.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)},f={state:{configurable:!0}};function p(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 d(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;m(t,n,[],t._modules.root,!0),h(t,n,e)}function h(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,c={};i(o,(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})}));var s=a.config.silent;a.config.silent=!0,t._vm=new a({data:{$$state:e},computed:c}),a.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})),a.nextTick((function(){return r.$destroy()})))}function m(t,e,n,r,i){var o=!n.length,c=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[c],t._modulesNamespaceMap[c]=r),!o&&!i){var s=v(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit((function(){a.set(s,u,r.state)}))}var l=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dis
2patch:function(n,r,i){var o=_(n,r,i),c=o.payload,s=o.options,u=o.type;return s&&s.root||(u=e+u),t.dispatch(u,c)},commit:r?t.commit:function(n,r,i){var o=_(n,r,i),c=o.payload,s=o.options,u=o.type;s&&s.root||(u=e+u),t.commit(u,c,s)}};return Object.defineProperties(i,{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(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return v(t.state,n)}}}),i}(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,l)})),r.forEachAction((function(e,n){var r=e.root?n:c+n,i=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push((function(e){var i,o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,r,i,l)})),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,l)})),r.forEachChild((function(r,o){m(t,e,n.concat(o),r,i)}))}function v(t,e){return e.reduce((function(t,e){return t[e]}),t)}function _(t,e,n){return o(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){},l.prototype.commit=function(t,e,n){var r=this,i=_(t,e,n),o=i.type,c=i.payload,s=(i.options,{type:o,payload:c}),u=this._mutations[o];u&&(this._withCommit((function(){u.forEach((function(t){t(c)}))})),this._subscribers.slice().forEach((function(t){return t(s,r.state)})))},l.prototype.dispatch=function(t,e){var n=this,r=_(t,e),i=r.type,o=r.payload,c={type:i,payload:o},s=this._actions[i];if(s){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(c,n.state)}))}catch(t){}var u=s.length>1?Promise.all(s.map((function(t){return t(o)}))):s[0](o);return new Promise((function(t,e){u.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)}))}))}},l.prototype.subscribe=function(t,e){return p(t,this._subscribers,e)},l.prototype.subscribeAction=function(t,e){return p("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},l.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},l.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},l.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),h(this,this.state)},l.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));a.delete(n,t[t.length-1])})),d(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),d(this,!0)},l.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(l.prototype,f);var g=O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=x(this.$store,0,t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),b=O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=x(this.$store,0,t);
2if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),y=(O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||x(this.$store,0,t))return this.$store.getters[i]},n[r].vuex=!0})),n})),O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=x(this.$store,0,t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})));function w(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 O(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function x(t,e,n){return t._modulesNamespaceMap[n]}}).call(this,n(2))},111:function(t,e,n){},2:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},223:function(t,e,n){"use strict";n(111)},274:function(t,e,n){"use strict";n.r(e);var r=n(1);function i(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 o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var s={name:"PlMenuLink",props:{item:{type:Object,required:!0},type:{type:String,required:!0},clickTimeout:{type:[String,Number],default:0}},computed:o(o({},Object(r.c)({baseUrl:function(t){return t.page.url.replace(/^https?:\/\//,"")}})),{},{itemUrl:function(){var t=3===this.baseUrl.split(".").length?".":"-",e=["uat","release"].map((function(e){return"".concat(e).concat(t)})),n="(".concat(e.join("|"),")"),r=new RegExp("^".concat(n)),i=this.baseUrl.replace(r,""),o=new RegExp("^https?://".concat(n,"?").concat(i,"/?"));return this.item.menu_hyper_link.replace(o,"/")},isButton:function(){return"expand_sidebar"===this.item.action},isInternalLink:function(){return!this.isButton&&"/"===this.itemUrl[0]&&!this.item.target},itemType:function(){return this.item["".concat(this.type,"_type")]},menuImgUrl:function(){if("image"!==this.itemType||!this.item.menu_img)return null;try{return new URL(this.item.menu_img)}catch(t){return null}}}),methods:{clickHandler:function(t){var e=this;this.$emit("click",t,this.item),this.isInternalLink&&setTimeout((function(){e.$router.push(e.itemUrl)}),this.clickTimeout)}},render:function(t){var e,n={staticClass:"pl-menu-link pl-menu-link--".concat(this.item.id," pl-menu-link--").concat(this.itemType)},r=[];switch(!0){case this.isButton:e="button",n.on={click:this.clickHandler};break;case this.isInternalLink:e="nuxt-link",n.props={to:this.itemUrl,event:""},n.nativeOn={click:this.clickHandler};break;default:e="a",n.attrs={href:this.itemUrl,target:this.item.target||null},n.on={click:this.clickHandler}}if(this.menuImgUrl){var i={attrs:{alt:this.item.menu_img_alt,src:this.$Lazyload.options.loading,class:"pl-menu-link__img"},directives:[{name:"lazy",value:this.item.menu_img}]},o=new URLSearchParams(this.menuImgUrl.search),c=function(t){var e=parseInt(o.get(t));return e?"".concat(e/2,"px"):null};"true"===o.get("retina")&&(i.attrs.width=c("width"),i.attrs.height=c("height")),r.push(t("img",i))}else r.push(this.item.menu_text);return t(e,n,r)}},u=(n(223),n(0)),a=Object(u.a)(s,void 0,void 0,!1,null,null,null);a.options.__file="src/components/MenuLink/MenuLink.vue";var l=a.exports;e.default=l}})},360:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
2),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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=263)}({0:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){var u,a="function"==typeof t?t.options:t;if(e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),s?(u=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},a._ssrRegister=u):o&&(u=c?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(a.functional){a._injectStyles=u;var l=a.render;a.render=function(t,e){return u.call(e),l(t,e)}}else{var f=a.beforeCreate;a.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:a}}n.d(e,"a",(function(){return r}))},113:function(t,e,n){},225:function(t,e,n){"use strict";n(113)},263:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("transition",{attrs:{name:"fade"}},[t.syncShow?n("div",{staticClass:"pl-overlay"},[n("div",{staticClass:"pl-overlay__container"},[t.title?n("div",{staticClass:"pl-overlay__title"},[t._v("\n "+t._s(t.title)+"\n ")]):t._e(),t._v(" "),n("button",{staticClass:"pl-overlay__btn-close",on:{click:function(e){e.preventDefault(),t.syncShow=!1}}}),t._v(" "),t._t("default")],2)]):t._e()])};r._withStripped=!0;var o={name:"PlOverlay",props:{title:{type:[String,null],default:null},show:{type:Boolean,deafult:!1}},computed:{syncShow:{get:function(){return this.show},set:function(t){this.$emit("update:show",t)}}}},i=(n(225),n(0)),s=Object(i.a)(o,r,[],!1,null,null,null);s.options.__file="src/components/Overlay/Overlay.vue";var c=s.exports;e.default=c}})},361:function(t,e,n){t.exports=function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.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 r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));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=264)}({0:function(t,e,n){"use strict";function i(t,e,n,i,r,o,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=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__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):r&&(c=a?function(){r.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var p=l.render;l.render=function(t,e){return c.call(e),p(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return i}))},114:function(t,e,n){},226:function(t,e,n){"use strict";n(114)},264:function(t,e,n){"use strict";n.r(e);var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pl-photo-widget"},[n("div",{staticClass:"pl-photo-widget__limiter"},[n("div",{directives:[{name:"swiper",rawName:"v-swiper:mySwiper",value:t.swiperOption,expression:"swiperOption",arg:"mySwiper"}],staticClass:"swiper-container"},[n("div",{staticClass:"swiper-wrapper"},[t._l(t.parsedPhotos,(function(e,i){return n("div",{key:"photo-before-"+i,staticClass:"swiper-slide duplicated d-prev"},[e.href?[n("a",{attrs:{href:e.href,target:"_blank",rel:"noopener noreferrer"}},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e["data-src"],expression:"photo['data-src']"}]})]),t._v(" "),t.linkIcon?n("img",{staticClass:"pl-photo-widget__icon-link",attrs:{src:t.linkIcon,alt:"photo widget link icon"}}):n("i",{staticClass:"el-icon-link pl-photo-widget__icon-link"})]:n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e["data-src"],expression:"photo['data-src']"}]})],2)})),t._v(" "),t._l(t.parsedPhotos,(function(e,i){return n("div",{key:"photo-"+i,ref:"photo-"+i,refInFor:!0,class:["swiper-slide",{active:t.currentIndex==i,"temp-next":i==t.currentIndex+1,"temp-prev":t.currentIndex==t.photoLength-1&&i==t.photoLength-2}]},[e.href?[n("a",{attrs:{href:e.href,target:"_blank",rel:"noopener noreferrer"}},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e["data-src"],expression:"photo['data-src']"}]})]),t._v(" "),t.linkIcon?n("img",{staticClass:"pl-photo-widget__icon-link",attrs:{src:t.linkIcon,alt:"photo widget link icon"}}):n("i",{staticClass:"el-icon-link pl-photo-widget__icon-link"})]:n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e["data-src"],expression:"photo['data-src']"}]})],2)})),t._v(" "),t._l(t.parsedPhotos,(function(e,i){return n("div",{key:"photo-after-"+i,staticClass:"swiper-slide duplicated d-next"},[e.href?[n("a",{attrs:{href:e.href,target:"_blank",rel:"noopener noreferrer"}},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e["data-src"],expression:"photo['data-src']"}]})]),t._v(" "),t.linkIcon?n("img",{staticClass:"pl-photo-widget__icon-link",attrs:{src:t.linkIcon,alt:"photo widget link icon"}}):n("i",{staticClass:"el-icon-link pl-photo-widget__icon-link"})]:n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e["data-src"],expression:"photo['data-src']"}]})],2)}))],2)]),t._v(" "),n("div",{staticClass:"pl-photo-widget__btn-prev",class:{"pl-photo-widget__btn-prev--icon":!t.navIcon}
2,on:{click:function(e){return t.mySwiper.slideTo(t.currentIndex+t.photoLength-1)}}},[t.navIcon?n("img",{attrs:{src:t.navIcon,alt:"photo widget prev icon"}}):n("i",{staticClass:"el-icon-arrow-right"})]),t._v(" "),n("div",{staticClass:"pl-photo-widget__btn-next",class:{"pl-photo-widget__btn-next--icon":!t.navIcon},on:{click:function(e){return t.mySwiper.slideTo(t.currentIndex+t.photoLength+1)}}},[t.navIcon?n("img",{attrs:{src:t.navIcon,alt:"photo widget next icon"}}):n("i",{staticClass:"el-icon-arrow-right"})])]),t._v(" "),n("div",{ref:"pagination",staticClass:"swiper-pagination"},[t._v("\n "+t._s(t.currentIndex+1)+" / "+t._s(t.photoLength)+"\n "),t.source?n("p",{staticClass:"pl-photo-widget__source"},[t._v("\n "+t._s(t.source)+"\n ")]):t._e()])])};function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}i._withStripped=!0;var o={name:"PlPhotoWidget",props:{items:{type:Array,default:function(){return[]}},speed:{type:Number,default:0},linkIcon:{type:[String,null],default:null},navIcon:{type:[String,null],default:null},source:{type:String,default:null}},data:function(){var t=this.items.filter((function(t){return"object"===r(t)&&t["data-src"]})),e=t.length,n=this;return{parsedPhotos:t,photoLength:e,windowWidth:0,currentIndex:0,autoplayInterval:void 0,swiperOption:{initialSlide:e,spaceBetween:20,on:{init:function(){this.slideTo(this.activeIndex%e+e,0)},slideChangeTransitionStart:function(){n.stopAutoplay(),n.currentIndex=this.activeIndex%e},slideChangeTransitionEnd:function(){n.autoplay(),this.activeIndex==2*e&&n.$refs["photo-0"][0].classList.add("temp"),this.activeIndex==2*e-1&&n.$refs["photo-".concat(e-1)][0].classList.add("temp"),this.slideTo(this.activeIndex%e+e,0)}}}}},watch:{windowWidth:function(t){this.mySwiper&&(this.mySwiper.params.spaceBetween=t>640?20:8,this.mySwiper.update())}},mounted:function(){this.onResize(),window.addEventListener("resize",this.onResize),this.autoplay()},destroyed:function(){window.removeEventListener("resize",this.onResize),this.stopAutoplay()},methods:{slideNext:function(){this.mySwiper.slideTo(this.currentIndex+this.photoLength+1)},stopAutoplay:function(){clearInterval(this.autoplayInterval)},autoplay:function(){var t=this;this.speed>0&&(this.autoplayInterval=setInterval((function(){t.slideNext()}),this.speed))},onResize:function(){window&&(this.windowWidth=window.innerWidth,document.querySelectorAll(".vertical .thumb img").forEach((function(t){t.style.height="auto"!=t.style.height?"auto":"100%",t.style.height="100%"})))}}},s=(n(226),n(0)),a=Object(s.a)(o,i,[],!1,null,null,null);a.options.__file="src/components/PhotoWidget/PhotoWidget.vue";var c=a.exports;e.default=c}})},362:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=265)}({0:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(c=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=c):o&&(c=a?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var p=u.beforeCreate;u.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},1:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return y}
2)),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return g}));var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__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 s=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)||{}},a={namespaced:{configurable:!0}};a.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.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)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,a);var u,c=function(t){this.register([],t,!1)};c.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},c.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},c.prototype.update=function(t){!function t(e,n,r){if(n.update(r),r.modules)for(var o in r.modules){if(!n.getChild(o))return;t(e.concat(o),n.getChild(o),r.modules[o])}}([],this.root,t)},c.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new s(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)}))},c.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)},c.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var l=function(t){var e=this;void 0===t&&(t={}),!u&&"undefined"!=typeof window&&window.Vue&&function(t){u&&t===u||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)}}(u=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 c(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new u,this._makeLocalGettersCache=Object.create(null);var i=this,s=this.dispatch,a=this.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,n){return a.call(i,t,e,n)},this.strict=o;var l=this._modules.root.state;m(this,l,[],this._modules.root),h(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:u.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)},p={state:{configurable:!0}};function f(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 d(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;m(t,n,[],t._modules.root,!0),h(t,n,e)}function h(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,s={};o(i,(function(e,n){s[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 a=u.config.silent;u.config.silent=!0,t._vm=new u({data:{$$state:e},computed:s}),u.config.silent=a,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})),u.nextTick((function(){return r.$destroy()})))}function m(t,e,n,r,o){var i=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!i&&!o){var a=v(e,n.slice(0,-1)),c=n[n.length-1];t._withCommit((function(){u.set(a,c,r.state)}))}var l=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=_(n,r,o),s=i.payload,a=i.options,c=i.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:r?t.commit:function(n,r,o){var i=_(n,r,o),s=i.payload,a=i.options,c=i.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};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,s,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,s+n,e,l)})),r.forEachAction((function(e,n){var r=e.root?n:s+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,l)})),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,s+n,e,l)})),r.forEachChild((function(r,i){m(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}}p.state.get=function(){return this._vm._data.$$state},p.state.set=function(t){},l.prototype.commit=function(t,e,n){var r=this,o=_(t,e,n),i=o.type,s=o.payload,a=(o.options,{type:i,payload:s}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},l.prototype.dispatch=function(t,e){var n=this,r=_(t,e),o=r.type,i=r.payload,s={type:o,payload:i},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var c=a.length>1?Promise.all(a.map((function(t){return t(i)}))):a[0](i);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)}))}))}},l.prototype.subscribe=function(t,e){return f(t,this._subscribers,e)},l.prototype.subscribeAction=function(t,e){return f("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},l.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},l.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},l.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),h(this,this.state)},l.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));u.delete(n,t[t.length-1])})),d(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),d(this,!0)},l.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(l.prototype,p);var g=O((function(t,e){var n={};return w(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=x(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})),b=O((function(t,e){var n={};return w(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=x(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})),y=(O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||x(this.$store,0,t))return this.$store.getters[o]},n[r].vuex=!0})),n})),O((function(t,e){var n={};return w(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=x(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})));function w(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 O(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function x(t,e,n){return t._modulesNamespaceMap[n]}}).call(this,n(2))},115:function(t,e,n){},2:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},227:function(t,e,n){"use strict";n(115)},265:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"swiper",rawName:"v-swiper:mySwiper",value:t.swiperOption,expression:"swiperOption",arg:"mySwiper"}],staticClass:"pl-pinned-post-carousel",class:"pl-pinned-post-carousel--"+t.device},[n("div",{staticClass:"swiper-wrapper"},t._l(t.posts,(function(e,r){return n("nuxt-link",{key:r,staticClass:"swiper-slide pl-pinned-post-carousel__link",class:"mobile"===t.device?null:{"pl-pinned-post-carousel__link--desktop-image-right":r%2==0,"pl-pinned-post-carousel__link--desktop-image-left":r%2==1},attrs:{to:"hyperlink"===e.type?"":t.getObjectOfTo(e.url||e.link_url)},nativeOn:{click:function(n){return t.handleClickPost(e)}}},[n("img",{directives:[{name:"error-img",rawName:"v-error-img",value:t.$staticHost("/images/[email protected]")+"?auto=format&w="+("mobile"===t.device?600:830),expression:"`${$staticHost('/images/[email protected]')}?auto=format&w=${device === 'mobile' ? 600 : 830}`"}],staticClass:"pl-pinned-post-carousel__image",attrs:{src:(e.image||e.cover_url)+"?auto=format&w="+("mobile"===t.device?600:830)}}),t._v(" "),n("div",{staticClass:"pl-pinned-post-carousel__text-block"},[n("h3",{staticClass:"pl-pinned-post-carousel__post-title"},[t._v("\n "+t._s(e.title)+"\n ")]),t._v(" "),e.tag?n("div",{staticClass:"pl-pinned-post-carousel__meta-category"},[t._v("\n "+t._s(e.tag)+"\n ")]):n("div",{staticClass:"pl-pinned-post-carousel__meta-category"},[t._v("\n "+t._s(e.cats.map((function(t){return t.name})).join("ï¼"))+"\n ")])])])})),1),t._v(" "),n("div",{staticClass:"swiper-pagination pl-pinned-post-carousel__pagination"})])};r._withStripped=!0;var o=n(1);function i(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 s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c={name:"PinnedPostCarousel",props:{posts:{type:Array,required:!0},resolveNuxtLinkUrl:{type:Boolean,default:!1}},data:function(){var t=this;return{activeIndex:0,swiperOption:{pagination:{el:".pl-pinned-post-carousel__pagination",clickable:!0,bulletActiveClass:"my-bullet-active"},autoplay:{delay:5e3,disableOnInteraction:!1},loop:!0,lazy:!0,speed:1e3,on:{slideChange:function(){var e;e=this.activeIndex>t.posts.length?0:this.activeIndex?this.activeIndex-1:t.posts.length-1,t.activeIndex!==e&&(t.activeIndex=e,t.handleCarouselImpression(t.activeIndex))}}}}},computed:s({}
2,Object(o.c)(["device","page"])),mounted:function(){this.handleCarouselImpression()},methods:s(s({},Object(o.a)(["updatePost"])),{},{getObjectOfTo:function(t){if(!this.resolveNuxtLinkUrl)return t;var e=null;try{var n,r=new RegExp("^".concat(this.page.path));this.page.path&&!r.test(t)&&(t="".concat(this.page.path).concat(t));var o=null===(n=this.$router.resolve({path:t}))||void 0===n?void 0:n.resolved;e=s(s({},o),{},{params:s(s({},o.params),{},{referenceType:"carousel"})})}catch(n){console.error(n),e=t}return e},handleClickPost:function(t){var e;this.handleCarouselClick(t),this.updatePost({post:t}),"hyperlink"===t.type&&(null===(e=this.$customClick)||void 0===e||e.call(this,{type:"navigation",value:t.link_url}))},handleCarouselImpression:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.activeIndex,e=this.posts[t];e&&this.$inhouseImpression({format:"carousel",orderId:e.orderId})},handleCarouselClick:function(t){this.$inhouseClick({format:"carousel",orderId:t.orderId})}})},u=(n(227),n(0)),l=Object(u.a)(c,r,[],!1,null,null,null);l.options.__file="src/components/PinnedPostCarousel/PinnedPostCarousel.vue";var p=l.exports;e.default=p}})},363:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=228)}({0:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return r}))},1:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return _}));var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__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 s=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)||{}},a={namespaced:{configurable:!0}};a.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.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)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,a);var c,l=function(t){this.register([],t,!1)};l.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},l.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}
2),"")},l.prototype.update=function(t){!function t(e,n,r){if(n.update(r),r.modules)for(var o in r.modules){if(!n.getChild(o))return;t(e.concat(o),n.getChild(o),r.modules[o])}}([],this.root,t)},l.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new s(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)}))},l.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)},l.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var u=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&function(t){c&&t===c||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(c=t)}(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var 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 l(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var i=this,s=this.dispatch,a=this.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,n){return a.call(i,t,e,n)},this.strict=o;var u=this._modules.root.state;m(this,u,[],this._modules.root),h(this,u),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:c.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)},p={state:{configurable:!0}};function f(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 d(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;m(t,n,[],t._modules.root,!0),h(t,n,e)}function h(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,s={};o(i,(function(e,n){s[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 a=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:s}),c.config.silent=a,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})),c.nextTick((function(){return r.$destroy()})))}function m(t,e,n,r,o){var i=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!i&&!o){var a=g(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){c.set(a,l,r.state)}))}var u=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dis
2patch:function(n,r,o){var i=v(n,r,o),s=i.payload,a=i.options,c=i.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:r?t.commit:function(n,r,o){var i=v(n,r,o),s=i.payload,a=i.options,c=i.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};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 g(t.state,n)}}}),o}(t,s,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,s+n,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:s+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,s+n,e,u)})),r.forEachChild((function(r,i){m(t,e,n.concat(i),r,o)}))}function g(t,e){return e.reduce((function(t,e){return t[e]}),t)}function v(t,e,n){return i(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}p.state.get=function(){return this._vm._data.$$state},p.state.set=function(t){},u.prototype.commit=function(t,e,n){var r=this,o=v(t,e,n),i=o.type,s=o.payload,a=(o.options,{type:i,payload:s}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},u.prototype.dispatch=function(t,e){var n=this,r=v(t,e),o=r.type,i=r.payload,s={type:o,payload:i},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var c=a.length>1?Promise.all(a.map((function(t){return t(i)}))):a[0](i);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)}))}))}},u.prototype.subscribe=function(t,e){return f(t,this._subscribers,e)},u.prototype.subscribeAction=function(t,e){return f("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},u.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},u.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},u.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),h(this,this.state)},u.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=g(e.state,t.slice(0,-1));c.delete(n,t[t.length-1])})),d(this)},u.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},u.prototype.hotUpdate=function(t){this._modules.update(t),d(this,!0)},u.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(u.prototype,p);var _=O((function(t,e){var n={};return w(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=x(this.$store,0,t);if(!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})),b=O((function(t,e){var n={};return w(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=x(this.$store,0,t);
2if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),y=(O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||x(this.$store,0,t))return this.$store.getters[o]},n[r].vuex=!0})),n})),O((function(t,e){var n={};return w(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=x(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})));function w(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 O(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function x(t,e,n){return t._modulesNamespaceMap[n]}}).call(this,n(2))},10:function(t,e,n){"use strict";n.d(e,"b",(function(){return l}));var r=function(){var t,e=this,n=e.$createElement,r=e._self._c||n;return r("div",{ref:"postCell",staticClass:"pl-post-list-cell",class:(t={"pl-post-list-cell--card":e.card},t["pl-post-list-cell--"+e.size]="md"!==e.size,t["pl-post-list-cell--text-center"]=e.textCenter,t["pl-post-list-cell--img-left"]=e.imgLeft,t["pl-post-list-cell--meta-"+e.metaType]=!/categor(ies|y)/.test(e.metaType),t["pl-post-list-cell--unlink"]=e.enterEngagementActions,t),style:e.cellWidth?{width:e.cellWidth+"px"}:null,attrs:{"data-order-id":e.post.order_id}},[r(e.link.tag,e._b({tag:"component",staticClass:"pl-post-list-cell__link"},"component",e.link.props,!1),[r("div",{staticClass:"pl-post-list-cell__wrap",on:{click:e.handleClick}},[r("div",{class:{"pl-post-list-cell__left-image":e.imgLeft,"pl-post-list-cell__top-image":!e.imgLeft}},[e.video?r("fa",{staticClass:"pl-post-list-cell__play-btn",attrs:{icon:["far","play-circle"]}}):e._e(),e._v(" "),r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:{src:e.post.image,error:e.errorImg,loading:e.$staticHost("/images/loading.png")},expression:"{\n src: post.image,\n error: errorImg,\n loading: $staticHost('/images/loading.png'),\n }"}],attrs:{src:e.$staticHost("/images/loading.png"),"data-srcset":e.setDataSrcset(e.post.image),alt:e.post.title}})],1),e._v(" "),r("div",{staticClass:"pl-post-list-cell__content-wrap",class:{"pl-post-list-cell__content-wrap--has-engagement":e.$slots["engagement-amount"]||e.$slots["engagement-actions"]}},[r("div",{staticClass:"pl-post-list-cell__content"},[r("div",{staticClass:"pl-post-list-cell__main"},["rank"!==e.metaType&&e.noMeta&&(e.noPublish||e.publishBottom)?e._e():r("div",{staticClass:"pl-post-list-cell__meta",class:{"pl-post-list-cell__meta--bottom":"rank"!==e.metaType&&e.metaBottom}},["rank"===e.metaType?[r("div",{staticClass:"pl-post-list-cell__rank"},[e._v("\n "+e._s(e.rankFrom+e.index)+"\n ")]),e._v(" "),r("div",{staticClass:"pl-post-list-cell__publish",attrs:{"data-datetime":e.publish.data}},[e._v("\n "+e._s(e.publish.text)+"\n ")])]:[e.categories?r("div",{staticClass:"pl-post-list-cell__categories"},[e._v("\n "+e._s(e.categories)+"\n ")]):e._e(),e._v(" "),e.publishBottom||e.noPublish?e._e():r("div",{staticClass:"pl-post-list-cell__publish",attrs:{"data-datetime":e.publish.data}},[e._v("\n "+e._s(e.publish.text)+"\n ")])]],2),e._v(" "),r("div",{staticClass:"pl-post-list-cell__info"},[r(e.titleTag,{tag:"component",staticClass:"pl-post-list-cell__title"},[e._v("\n "+e._s(e.post.title)+"\n ")]),e._v(" "),e.noPreview?e._e():r("p",{staticClass:"pl-post-list-cell__preview"},[e._v("\n "+e._s(e.post.description)+"\n ")])],1)]),e._v(" "),"rank"!==e.metaType&&e.publishBottom&&!e.noPublish?r("div",{staticClass:"pl-post-list-cell__publish",attrs:{"data-datetime":e.publish.data}},[e._v("\n "+e._s(e.publish.text)+"\n ")]):e._e(
2),e._v(" "),e.$slots["engagement-amount"]||e.$slots["engagement-actions"]?r("div",{staticClass:"pl-post-list-cell__engagement-wrap"},[r("div",{staticClass:"pl-post-list-cell__engagement"},[e.$slots["engagement-amount"]?r("div",{staticClass:"pl-post-list-cell__engagement-amount"},[e._t("engagement-amount")],2):e._e(),e._v(" "),e.$slots["engagement-actions"]?r("div",{staticClass:"pl-post-list-cell__engagement-actions",on:{click:function(t){t.preventDefault()},mouseenter:function(t){e.enterEngagementActions=!0},mouseleave:function(t){e.enterEngagementActions=!1},touchstart:function(t){e.enterEngagementActions=!0},touchsend:function(t){e.enterEngagementActions=!1}}},[e._t("engagement-actions")],2):e._e()])]):e._e()])])])])],1)};r._withStripped=!0;var o=n(1),i=n(3);function s(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 a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l={linkTag:{type:String,default:"nuxt-link"},linkTarget:{validator:function(t){return null===t||"string"==typeof t},default:null},cellWidth:{validator:function(t){return null===t||"number"==typeof t},default:null},titleTag:{type:String,default:"span"},card:{type:Boolean,default:!1},size:{type:String,default:"md"},textCenter:{type:Boolean,default:!1},imgLeft:{type:Boolean,default:!1},errorImg:{type:[String,null],default:null},loadingImg:{type:[String,null],default:null},noPreview:{type:Boolean,default:!1},noMeta:{type:Boolean,default:!1},metaType:{type:String,default:"categories"},rankFrom:{type:Number,default:1},metaBottom:{type:Boolean,default:!1},noPublish:{type:Boolean,default:!1},publishBottom:{type:Boolean,default:!1},video:{type:Boolean,default:!1},referenceType:{type:String,default:""},inArticle:{type:Boolean,default:!1}},u={name:"PlPostListCell",props:a(a({},l),{},{post:{type:Object,required:!0},index:{type:Number,default:0},imageQuality:{type:Boolean,default:!1}}),data:function(){return{enterEngagementActions:!1,postCellIntersectionObserver:null}},computed:a(a({},Object(o.c)(["device"])),{},{link:function(){var t=this.linkTag,e=this.linkTarget,n=e?"a":t,r={},o=this.post.url;if("a"===n)r.href=o;else if("nuxt-link"===n&&o.includes("/article/"))try{var i=this.$router.resolve({path:o}).resolved;r.to=a(a({},i),{},{params:a(a({},i.params),{},{referenceType:this.referenceType||"none",isFromArticle:this.inArticle})})}catch(t){console.error(t),r.to=o}else r.to=this.post.url;return e&&(r.target=e),{tag:n,props:r}},categories:function(){if(this.noMeta||!/categor(ies|y)/.test(this.metaType))return null;var t=this.post.cats;return"category"===this.metaType&&this.post.cats[0]&&(t=[this.post.cats[0]]),t.map((function(t){return t.name})).join("ï¼")},publish:function(){return{data:this.$moment(this.post.post_date).format("Do MMM YYYY"),text:"rank"===this.metaType?this.$moment(this.post.post_date).format("DD MMM"):this.$moment(this.post.post_date).fromNow()}}}),mounted:function(){this.addPostCellIntersectionObserver()},beforeDestroy:function(){var t;null===(t=this.postCellIntersectionObserver)||void 0===t||t.disconnect()},methods:a(a({},Object(o.a)(["updatePost"])),{},{handleClick:function(){var t=this.post,e=this.index;this.updatePost({post:t}),this.$emit("click",{index:e,post:t})},setDataSrcset:function(t){return Object(i.createLazyLoadSrcset)({url:t})},addPostCellIntersectionObserver:function(){var t=this,e=this.$refs.postCell;e&&(this.postCellIntersectionObserver=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&t.$emit("post-cell-impression")}))})),this.postCellIntersectionObserver.observe(e))}})},p=(n(42),n(0)),f=Object(p.a)(u,r,[],!1,null,null,null);f.options.__file="src/components/PostListCell/PostListCell.vue",e.a=f.exports},15:function(t,e,n){},2:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},22:function(t,e,n){"use strict";n.d(e,"b",(function(){return c}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pl-post-list",class:"pl-post-list--"+(t.vertical?"vertical":"horizontal")},t._l(t.posts,(function(e,r){return n("PlPostListCell",{key:r,attrs:{post:e,index:r,"link-tag":t.linkTag,"link-target":t.linkTarget,"cell-width":t.cellWidth,"title-tag":t.titleTag,card:t.card,size:t.size,"text-center":t.textCenter,"img-left":t.imgLeft,"error-img"
2:t.errorImg,"loading-img":t.loadingImg,"no-preview":t.noPreview,"no-meta":t.noMeta,"meta-type":t.metaType,"rank-from":t.rankFrom,"meta-bottom":t.metaBottom,"no-publish":t.noPublish,"publish-bottom":t.publishBottom,video:t.video,"image-quality":"","reference-type":t.referenceType,"in-article":t.inArticle},on:{click:function(e){return t.$emit("click",e)},"post-cell-impression":function(n){return t.$emit("post-cell-impression",e)}},scopedSlots:t._u([{key:"engagement-amount",fn:function(){return[t.$scopedSlots["engagement-amount"]?t._t("engagement-amount",null,{index:r,post:e}):t._e()]},proxy:!0},{key:"engagement-actions",fn:function(){return[t.$scopedSlots["engagement-actions"]?t._t("engagement-actions",null,{index:r,post:e}):t._e()]},proxy:!0}],null,!0)})})),1)};r._withStripped=!0;var o=n(10);function i(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 s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=s(s({},o.b),{},{posts:{type:Array,required:!0}}),l={name:"PlPostList",components:{PlPostListCell:o.a},props:s(s({},c),{},{vertical:{type:Boolean,default:!1}})},u=(n(74),n(0)),p=Object(u.a)(l,r,[],!1,null,null,null);p.options.__file="src/components/PostList/PostList.vue",e.a=p.exports},228:function(t,e,n){"use strict";n.r(e);var r=n(22);e.default=r.a},3: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,{resizeCloudflareImage:()=>n,resizeCloudflareImageSrcset:()=>r,extendRetinaSrcset:()=>o,createLazyLoadSrcset:()=>i});var n=function(t,e){return"".concat(t,"?auto=format&w=").concat(e)},r=function(t,e){return[2,3].map((function(r){return"".concat(n(t,e*r)," ").concat(r,"x")})).join(", ")},o=function(t){return[2,3].map((function(e){var n,r,o,i=t.match(/(.*)\/([^/]+)$/);i?(n=i[1]+"/",r=i[2]):(n="",r=t);var s=r.match(/(.*)\.([^.]+)$/);if(s){var a=s[1],c=s[2];o="".concat(a,"@").concat(e,"x.").concat(c)}else o="".concat(r,"@").concat(e,"x");return"".concat(n).concat(o," ").concat(e,"x")})).join(", ")},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoint,r=void 0===e?[]:e,o=t.ratio,i=void 0===o?[]:o,s=t.url;if(!s)return console.error("The url is required."),null;var a=[414,718,1053,1440],c=[1,2,3],l=Array.isArray(r)&&r.length?r:a,u=Array.isArray(i)&&i.length?i:c,p=l.map((function(t){return u.map((function(e){return e*t}))})).flat().sort((function(t,e){return t-e}));return p.map((function(t){return"".concat(n(s,t)," ").concat(t,"w")})).join(", ")};return e})()},42:function(t,e,n){"use strict";n(15)},43:function(t,e,n){},74:function(t,e,n){"use strict";n(43)}})},364:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=267)}({0:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){var u,a="function"==typeof t?t.options:t;
2if(e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),s?(u=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},a._ssrRegister=u):o&&(u=c?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),u)if(a.functional){a._injectStyles=u;var l=a.render;a.render=function(t,e){return u.call(e),l(t,e)}}else{var p=a.beforeCreate;a.beforeCreate=p?[].concat(p,u):[u]}return{exports:t,options:a}}n.d(e,"a",(function(){return r}))},1:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return b}));var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__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 s=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)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.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)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,c);var a,u=function(t){this.register([],t,!1)};u.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},u.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},u.prototype.update=function(t){!function t(e,n,r){if(n.update(r),r.modules)for(var o in r.modules){if(!n.getChild(o))return;t(e.concat(o),n.getChild(o),r.modules[o])}}([],this.root,t)},u.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new s(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)}))},u.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)},u.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var l=function(t){var e=this;void 0===t&&(t={}),!a&&"undefined"!=typeof window&&window.Vue&&function(t){a&&t===a||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)}}(a=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 u(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new a,this._makeLocalGettersCache=Object.create(null);var i=this,s=this.dispatch,c=this.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,n){return c.call(i,t,e,n)},this.strict=o;var l=this._modules.root.state;
vendor: 1,673 bytes, line 2
2m(this,l,[],this._modules.root),h(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:a.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)},p={state:{configurable:!0}};function f(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 d(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;m(t,n,[],t._modules.root,!0),h(t,n,e)}function h(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,s={};o(i,(function(e,n){s[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 c=a.config.silent;a.config.silent=!0,t._vm=new a({data:{$$state:e},computed:s}),a.config.silent=c,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})),a.nextTick((function(){return r.$destroy()})))}function m(t,e,n,r,o){var i=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!i&&!o){var c=v(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit((function(){a.set(c,u,r.state)}))}var l=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dis
2patch:function(n,r,o){var i=_(n,r,o),s=i.payload,c=i.options,u=i.type;return c&&c.root||(u=e+u),t.dispatch(u,s)},commit:r?t.commit:function(n,r,o){var i=_(n,r,o),s=i.payload,c=i.options,u=i.type;c&&c.root||(u=e+u),t.commit(u,s,c)}};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,s,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,s+n,e,l)})),r.forEachAction((function(e,n){var r=e.root?n:s+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,l)})),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,s+n,e,l)})),r.forEachChild((function(r,i){m(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}}p.state.get=function(){return this._vm._data.$$state},p.state.set=function(t){},l.prototype.commit=function(t,e,n){var r=this,o=_(t,e,n),i=o.type,s=o.payload,c=(o.options,{type:i,payload:s}),u=this._mutations[i];u&&(this._withCommit((function(){u.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(c,r.state)})))},l.prototype.dispatch=function(t,e){var n=this,r=_(t,e),o=r.type,i=r.payload,s={type:o,payload:i},c=this._actions[o];if(c){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var u=c.length>1?Promise.all(c.map((function(t){return t(i)}))):c[0](i);return new Promise((function(t,e){u.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)}))}))}},l.prototype.subscribe=function(t,e){return f(t,this._subscribers,e)},l.prototype.subscribeAction=function(t,e){return f("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},l.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},l.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},l.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),h(this,this.state)},l.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));a.delete(n,t[t.length-1])})),d(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),d(this,!0)},l.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(l.prototype,p);var b=O((function(t,e){var n={};return w(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=x(this.$store,0,t);if(!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})),g=O((function(t,e){var n={};return w(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=x(this.$store,0,t);
2if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),y=(O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||x(this.$store,0,t))return this.$store.getters[o]},n[r].vuex=!0})),n})),O((function(t,e){var n={};return w(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=x(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})));function w(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 O(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function x(t,e,n){return t._modulesNamespaceMap[n]}}).call(this,n(2))},116:function(t,e,n){},2:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},229:function(t,e,n){"use strict";n(116)},267:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pl-post-list-box",class:["pl-post-list-box--"+t.device].concat(t.contentType.map((function(t){return"pl-post-list-box--"+t})))},[n("div",{staticClass:"pl-post-list-box__header"},[n("div",{staticClass:"pl-post-list-box__title"},[t._v("\n "+t._s(t.boxTitle[0])+"\n ")]),t._v(" "),t.boxTitle[1]?n("div",{staticClass:"pl-post-list-box__subtitle"},[t._v("\n "+t._s(t.boxTitle[1])+"\n ")]):t._e()]),t._v(" "),t._t("default")],2)};r._withStripped=!0;var o=n(1);function i(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 s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u={name:"PlPostListBox",props:{types:{type:[Array,String],default:null},title:{type:[Array,String],required:!0}},computed:s(s({},Object(o.c)(["device"])),{},{contentType:function(){return this.types?[this.types].flat():[]},boxTitle:function(){return[this.title].flat()}})},a=(n(229),n(0)),l=Object(a.a)(u,r,[],!1,null,null,null);l.options.__file="src/components/PostListBox/PostListBox.vue";var p=l.exports;e.default=p}})},365:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=230)}({0:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return r}))},1:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return w})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return y}
2));var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__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 s=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)||{}},a={namespaced:{configurable:!0}};a.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.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)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,a);var c,l=function(t){this.register([],t,!1)};l.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},l.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}),"")},l.prototype.update=function(t){!function t(e,n,r){if(n.update(r),r.modules)for(var o in r.modules){if(!n.getChild(o))return;t(e.concat(o),n.getChild(o),r.modules[o])}}([],this.root,t)},l.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new s(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)}))},l.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)},l.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var u=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&function(t){c&&t===c||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(c=t)}(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var 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 l(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var i=this,s=this.dispatch,a=this.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,n){return a.call(i,t,e,n)},this.strict=o;var u=this._modules.root.state;m(this,u,[],this._modules.root),h(this,u),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:c.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)},p={state:{configurable:!0}};function f(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 d(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;m(t,n,[],t._modules.root,!0),h(t,n,e)}function h(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,s={};o(i,(function(e,n){s[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 a=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:s}),c.config.silent=a,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})),c.nextTick((function(){return r.$destroy()})))}function m(t,e,n,r,o){var i=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!i&&!o){var a=v(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){c.set(a,l,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),s=i.payload,a=i.options,c=i.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:r?t.commit:function(n,r,o){var i=_(n,r,o),s=i.payload,a=i.options,c=i.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};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,s,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,s+n,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:s+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,s+n,e,u)})),r.forEachChild((function(r,i){m(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}}p.state.get=function(){return this._vm._data.$$state},p.state.set=function(t){},u.prototype.commit=function(t,e,n){var r=this,o=_(t,e,n),i=o.type,s=o.payload,a=(o.options,{type:i,payload:s}),c=this._mutations[i];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},u.prototype.dispatch=function(t,e){var n=this,r=_(t,e),o=r.type,i=r.payload,s={type:o,payload:i},a=this._actions[o];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var c=a.length>1?Promise.all(a.map((function(t){return t(i)}))):a[0](i);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)}))}))}},u.prototype.subscribe=function(t,e){return f(t,this._subscribers,e)},u.prototype.subscribeAction=function(t,e){return f("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},u.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},u.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},u.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),h(this,this.state)},u.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));c.delete(n,t[t.length-1])})),d(this)},u.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},u.prototype.hotUpdate=function(t){this._modules.update(t),d(this,!0)},u.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(u.prototype,p);var y=x((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=C(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})),b=x((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=C(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})),w=(x((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||C(this.$store,0,t))return this.$store.getters[o]},n[r].vuex=!0})),n})),x((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=C(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})));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 x(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function C(t,e,n){return t._modulesNamespaceMap[n]}}).call(this,n(2))},10:function(t,e,n){"use strict";n.d(e,"b",(function(){return l}));var r=function(){var t,e=this,n=e.$createElement,r=e._self._c||n;return r("div",{ref:"postCell",staticClass:"pl-post-list-cell",class:(t={"pl-post-list-cell--card":e.card},t["pl-post-list-cell--"+e.size]="md"!==e.size,t["pl-post-list-cell--text-center"]=e.textCenter,t["pl-post-list-cell--img-left"]=e.imgLeft,t["pl-post-list-cell--meta-"+e.metaType]=!/categor(ies|y)/.test(e.metaType),t["pl-post-list-cell--unlink"]=e.enterEngagementActions,t),style:e.cellWidth?{width:e.cellWidth+"px"}:null,attrs:{"data-order-id":e.post.order_id}},[r(e.link.tag,e._b({tag:"component",staticClass:"pl-post-list-cell__link"},"component",e.link.props,!1),[r("div",{staticClass:"pl-post-list-cell__wrap",on:{click:e.handleClick}},[r("div",{class:{"pl-post-list-cell__left-image":e.imgLeft,"pl-post-list-cell__top-image":!e.imgLeft}},[e.video?r("fa",{staticClass:"pl-post-list-cell__play-btn",attrs:{icon:["far","play-circle"]}}):e._e(),e._v(" "),r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:{src:e.post.image,error:e.errorImg,loading:e.$staticHost("/images/loading.png")},expression:"{\n src: post.image,\n error: errorImg,\n loading: $staticHost('/images/loading.png'),\n }"}],attrs:{src:e.$staticHost("/images/loading.png"),"data-srcset":e.setDataSrcset(e.post.image),alt:e.post.title}})],1),e._v(" "),r("div",{staticClass:"pl-post-list-cell__content-wrap",class:{"pl-post-list-cell__content-wrap--has-engagement":e.$slots["engagement-amount"]||e.$slots["engagement-actions"]}},[r("div",{staticClass:"pl-post-list-cell__content"},[r("div",{staticClass:"pl-post-list-cell__main"},["rank"!==e.metaType&&e.noMeta&&(e.noPublish||e.publishBottom)?e._e():r("div",{staticClass:"pl-post-list-cell__meta",class:{"pl-post-list-cell__meta--bottom":"rank"!==e.metaType&&e.metaBottom}},["rank"===e.metaType?[r("div",{staticClass:"pl-post-list-cell__rank"},[e._v("\n "+e._s(e.rankFrom+e.index)+"\n ")]),e._v(" "),r("div",{staticClass:"pl-post-list-cell__publish",attrs:{"data-datetime":e.publish.data}},[e._v("\n "+e._s(e.publish.text)+"\n ")])]:[e.categories?r("div",{staticClass:"pl-post-list-cell__categories"},[e._v("\n "+e._s(e.categories)+"\n ")]):e._e(),e._v(" "),e.publishBottom||e.noPublish?e._e():r("div",{staticClass:"pl-post-list-cell__publish",attrs:{"data-datetime":e.publish.data}},[e._v("\n "+e._s(e.publish.text)+"\n ")])]],2),e._v(" "),r("div",{staticClass:"pl-post-list-cell__info"},[r(e.titleTag,{tag:"component",staticClass:"pl-post-list-cell__title"},[e._v("\n "+e._s(e.post.title)+"\n ")]),e._v(" "),e.noPreview?e._e():r("p",{staticClass:"pl-post-list-cell__preview"},[e._v("\n "+e._s(e.post.description)+"\n ")])],1)]),e._v(" "),"rank"!==e.metaType&&e.publishBottom&&!e.noPublish?r("div",{staticClass:"pl-post-list-cell__publish",attrs:{"data-datetime":e.publish.data}},[e._v("\n "+e._s(e.publish.text)+"\n ")]):e._e(
2),e._v(" "),e.$slots["engagement-amount"]||e.$slots["engagement-actions"]?r("div",{staticClass:"pl-post-list-cell__engagement-wrap"},[r("div",{staticClass:"pl-post-list-cell__engagement"},[e.$slots["engagement-amount"]?r("div",{staticClass:"pl-post-list-cell__engagement-amount"},[e._t("engagement-amount")],2):e._e(),e._v(" "),e.$slots["engagement-actions"]?r("div",{staticClass:"pl-post-list-cell__engagement-actions",on:{click:function(t){t.preventDefault()},mouseenter:function(t){e.enterEngagementActions=!0},mouseleave:function(t){e.enterEngagementActions=!1},touchstart:function(t){e.enterEngagementActions=!0},touchsend:function(t){e.enterEngagementActions=!1}}},[e._t("engagement-actions")],2):e._e()])]):e._e()])])])])],1)};r._withStripped=!0;var o=n(1),i=n(3);function s(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 a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l={linkTag:{type:String,default:"nuxt-link"},linkTarget:{validator:function(t){return null===t||"string"==typeof t},default:null},cellWidth:{validator:function(t){return null===t||"number"==typeof t},default:null},titleTag:{type:String,default:"span"},card:{type:Boolean,default:!1},size:{type:String,default:"md"},textCenter:{type:Boolean,default:!1},imgLeft:{type:Boolean,default:!1},errorImg:{type:[String,null],default:null},loadingImg:{type:[String,null],default:null},noPreview:{type:Boolean,default:!1},noMeta:{type:Boolean,default:!1},metaType:{type:String,default:"categories"},rankFrom:{type:Number,default:1},metaBottom:{type:Boolean,default:!1},noPublish:{type:Boolean,default:!1},publishBottom:{type:Boolean,default:!1},video:{type:Boolean,default:!1},referenceType:{type:String,default:""},inArticle:{type:Boolean,default:!1}},u={name:"PlPostListCell",props:a(a({},l),{},{post:{type:Object,required:!0},index:{type:Number,default:0},imageQuality:{type:Boolean,default:!1}}),data:function(){return{enterEngagementActions:!1,postCellIntersectionObserver:null}},computed:a(a({},Object(o.c)(["device"])),{},{link:function(){var t=this.linkTag,e=this.linkTarget,n=e?"a":t,r={},o=this.post.url;if("a"===n)r.href=o;else if("nuxt-link"===n&&o.includes("/article/"))try{var i=this.$router.resolve({path:o}).resolved;r.to=a(a({},i),{},{params:a(a({},i.params),{},{referenceType:this.referenceType||"none",isFromArticle:this.inArticle})})}catch(t){console.error(t),r.to=o}else r.to=this.post.url;return e&&(r.target=e),{tag:n,props:r}},categories:function(){if(this.noMeta||!/categor(ies|y)/.test(this.metaType))return null;var t=this.post.cats;return"category"===this.metaType&&this.post.cats[0]&&(t=[this.post.cats[0]]),t.map((function(t){return t.name})).join("ï¼")},publish:function(){return{data:this.$moment(this.post.post_date).format("Do MMM YYYY"),text:"rank"===this.metaType?this.$moment(this.post.post_date).format("DD MMM"):this.$moment(this.post.post_date).fromNow()}}}),mounted:function(){this.addPostCellIntersectionObserver()},beforeDestroy:function(){var t;null===(t=this.postCellIntersectionObserver)||void 0===t||t.disconnect()},methods:a(a({},Object(o.a)(["updatePost"])),{},{handleClick:function(){var t=this.post,e=this.index;this.updatePost({post:t}),this.$emit("click",{index:e,post:t})},setDataSrcset:function(t){return Object(i.createLazyLoadSrcset)({url:t})},addPostCellIntersectionObserver:function(){var t=this,e=this.$refs.postCell;e&&(this.postCellIntersectionObserver=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&t.$emit("post-cell-impression")}))})),this.postCellIntersectionObserver.observe(e))}})},p=(n(42),n(0)),f=Object(p.a)(u,r,[],!1,null,null,null);f.options.__file="src/components/PostListCell/PostListCell.vue",e.a=f.exports},15:function(t,e,n){},2:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},230:function(t,e,n){"use strict";n.r(e);var r=n(10);e.default=r.a},3: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,{resizeCloudflareImage:()=>n,resizeCloudflareImageSrcset:()=>r,extendRetinaSrcset:()=>o,createLazyLoadSrcset:()=>i});var n=function(t,e){return"".concat(t,"?auto=format&w=").concat(e)},r=function(t,e){return[2,3].map((function(r){return"".concat(n(t,e*r)," ").concat(r,"x")})).join(", ")},o=function(t){return[2,3].map((function(e){var n,r,o,i=t.match(/(.*)\/([^/]+)$/);i?(n=i[1]+"/",r=i[2]):(n="",r=t);var s=r.match(/(.*)\.([^.]+)$/);if(s){var a=s[1],c=s[2];o="".concat(a,"@").concat(e,"x.").concat(c)}else o="".concat(r,"@").concat(e,"x");return"".concat(n).concat(o," ").concat(e,"x")})).join(", ")},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoint,r=void 0===e?[]:e,o=t.ratio,i=void 0===o?[]:o,s=t.url;if(!s)return console.error("The url is required."),null;var a=[414,718,1053,1440],c=[1,2,3],l=Array.isArray(r)&&r.length?r:a,u=Array.isArray(i)&&i.length?i:c,p=l.map((function(t){return u.map((function(e){return e*t}))})).flat().sort((function(t,e){return t-e}));return p.map((function(t){return"".concat(n(s,t)," ").concat(t,"w")})).join(", ")};return e})()},42:function(t,e,n){"use strict";n(15)}})},366:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=268)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return r}))},117:function(t,e,n){},231:function(t,e,n){"use strict";n(117)},268:function(t,e,n){"use strict";n.r(e);var r=function(){var t,e=this,n=e.$createElement,r=e._self._c||n;return r("div",{staticClass:"pl-post-list-skeleton",class:(t={"pl-post-list-skeleton--card":e.card},t["pl-post-list-skeleton--"+e.size]="md"!==e.size,t["pl-post-list-skeleton--text-center"]=e.textCenter,t["pl-post-list-skeleton--img-left"]=e.imgLeft,t)},[r("div",{staticClass:"pl-post-list-skeleton__wrap"},[r("PlRetinaImg",{staticClass:"pl-post-list-skeleton__image",attrs:{src:e.imageUrl,"static-host":e.staticHost}}),e._v(" "),e._m(0)],1)])};r._withStripped=!0;var i={name:"PlPostListSkeleton",components:{PlRetinaImg:n(48).a},props:{imageUrl:{type:String,default:""},staticHost:{type:Boolean,default:!1},card:{type:Boolean,default:!1},size:{type:String,default:"md"},textCenter:{type:Boolean,default:!1},imgLeft:{type:Boolean,default:!1}}},o=(n(231),n(0)),s=Object(o.a)(i,r,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"pl-post-list-skeleton__content"},[e("div",{staticClass:"pl-post-list-skeleton__bar"}),this._v(" "),e("div",{staticClass:"pl-post-list-skeleton__bar"}),this._v(" "),e("div",{staticClass:"pl-post-list-skeleton__bar"}),this._v(" "),e("div",{staticClass:"pl-post-list-skeleton__bar"})])}],!1,null,null,null);s.options.__file="src/components/PostListSkeleton/PostListSkeleton.vue";var a=s.exports;e.default=a},3: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,{resizeCloudflareImage:()=>n,resizeCloudflareImageSrcset:()=>r,extendRetinaSrcset:()=>i,createLazyLoadSrcset:()=>o});var n=function(t,e){return"".concat(t,"?auto=format&w=").concat(e)},r=function(t,e){return[2,3].map((function(r){return"".concat(n(t,e*r)," ").concat(r,"x")})).join(", ")},i=function(t){return[2,3].map((function(e){var n,r,i,o=t.match(/(.*)\/([^/]+)$/);o?(n=o[1]+"/",r=o[2]):(n="",r=t);var s=r.match(/(.*)\.([^.]+)$/);if(s){var a=s[1],c=s[2];i="".concat(a,"@").concat(e,"x.").concat(c)}else i="".concat(r,"@").concat(e,"x");return"".concat(n).concat(i," ").concat(e,"x")})).join(", ")},o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoint,r=void 0===e?[]:e,i=t.ratio,o=void 0===i?[]:i,s=t.url;if(!s)return console.error("The url is required."),null;var a=[414,718,1053,1440],c=[1,2,3],l=Array.isArray(r)&&r.length?r:a,u=Array.isArray(o)&&o.length?o:c,f=l.map((function(t){return u.map((function(e){return e*t}))})).flat().sort((function(t,e){return t-e}));return f.map((function(t){return"".concat(n(s,t)," ").concat(t,"w")})).join(", ")};return e})()},44: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){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}t.r(e),t.d(e,{ImgLazy:()=>u,checkIntersectionObserver:()=>a});var r="pending",s="undefined"!=typeof window&&null!==window;function a(){return!!(s&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)&&("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}),!0)}var o=a(),c=function(t,e){return function(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var n,r,i,o=t.getAttribute("data-srcset"),s=[],a=t.parentNode.offsetWidth*e;(o=o.trim().split(",")).map((function(t){t=t.trim(),-1===(n=t.lastIndexOf(" "))?(r=t,i=999998):(r=t.substr(0,n),i=parseInt(t.substr(n+1,t.length-n-2),10)),s.push([i,r])})),s.sort((function(t,e){if(t[0]<e[0])return 1;if(t[0]>e[0])return-1;if(t[0]===e[0]){if(e[1].includes(".webp",e[1].length-5))return 1;if(t[1].includes(".webp",t[1].length-5))return-1}return 0}));for(var c,l="",u=0;u<s.length;u++){l=(c=s[u])[1];var f=s[u+1];if(f&&f[0]<a){l=c[1];break}if(!f){l=c[1];break}}return l}}(t,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return s&&window.devicePixelRatio||t}(e))},u=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,t),i(this,"imgList",[]),i(this,"options",null),i(this,"oberser",null),this.imgList=e,this.options=r,o?this.registerImgEnterObserver():this.handleException()}var s;return(s=[{key:"handleException",value:function(){this.imgList.forEach((function(t){var e=c(t);t.src=e||t.src}))}},{key:"registerImgEnterObserver",value:function(){var t=this;this.oberser=new IntersectionObserver(this.handleImgEnter,this.options),this.imgList.forEach((function(e){"none"!==e.dataset.loading&&(e.src=e.dataset.loading||function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#ececec",n=t.dataset.width||100,r=t.dataset.height||100,i=document.createElement("canvas");i.width=n,i.height=r;var o=i.getContext("2d");return o.fillStyle=e,o.fillRect(0,0,n,r),i.toDataURL("image/jpeg",1)}(e)),e.dataset.oberser=!0,t.oberser.observe(e),e.onload=function(e){return t.handleOnload(e)},e.onerror=function(e){return t.handleOnerror(e)}}))}},{key:"unobserve",value:function(t){var e,n;t.dataset.oberser=!1,null===(e=this.oberser)||void 0===e||null===(n=e.unobserve)||void 0===n||n.call(e,t)}},{key:"destroy",value:function(){var t=this;this.imgList.forEach((function(e){t.unobserve(e)})),this.oberser.disconnect(),this.oberser=null}},{key:"handleImgEnter",value:function(t){t.forEach((function(t){var e=t.target,n=t.isIntersecting;if(!e.dataset.status&&n){var o=c(e);e.dataset.status=r,e.src=o||e.dataset.src}}))}},{key:"handleOnload",value:function(t){var e,n=t.target;(null==n||null===(e=n.dataset)||void 0===e?void 0:e.status)===r&&(n.dataset.status="loaded",this.unobserve(n))}},{key:"handleOnerror",value:function(t){var e=t.target;(null==e?void 0:e.dataset.status)===r&&(e.dataset.error&&(e.src=e.dataset.error),e.dataset.status="error",e.onerror=null,this.unobserve(e))}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t.prototype,s),t}();return e})()},48:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("img",t._g(t._b({staticClass:"pl-retina-img",attrs:{src:t.attrSrc,srcset:t.attrSrcset},on:{error:function(e){t.error=!0}}},"img",t.$attrs,!1),t.$listeners))};r._withStripped=!0;
2var i=n(3),o=n(44),s={name:"PlRetinaImg",props:{src:{type:String,required:!0},staticHost:{type:Boolean,deafult:!1},width:{type:[Number,String,null],default:null},lazy:{type:Boolean,default:!1}},data:function(){return{error:!1,allowLoad:!1}},computed:{isAllowLoad:function(){return!this.lazy||this.allowLoad},srcPath:function(){var t=this.src.replace(/\?.*$/,"");return this.staticHost&&(t=this.$staticHost(t)),t},validWidth:function(){return/^\d+(px)?$/.test(this.width)?"string"==typeof this.width&&this.width.endsWith("px")?this.width.replace("px",""):this.width:null},attrSrc:function(){if(this.isAllowLoad)return this.validWidth?Object(i.resizeCloudflareImage)(this.srcPath,this.validWidth):this.srcPath},attrSrcset:function(){if(this.isAllowLoad)return this.error?null:this.validWidth?Object(i.resizeCloudflareImageSrcset)(this.srcPath,this.validWidth):Object(i.extendRetinaSrcset)(this.srcPath)}},mounted:function(){this.lazy&&this.registerImgEnterObserver()},destoryed:function(){var t,e;this.lazy&&(null===(t=this.oberser)||void 0===t||null===(e=t.destroy)||void 0===e||e.call(t))},methods:{registerImgEnterObserver:function(){Object(o.checkIntersectionObserver)()?(this.oberser=new IntersectionObserver(this.handleImgEnter),this.oberser.observe(this.$el)):this.allowLoad=!0},handleImgEnter:function(t){var e=this;t.forEach((function(t){var n=t.isIntersecting;!e.allowLoad&&n&&(e.allowLoad=!0)}))}}},a=n(0),c=Object(a.a)(s,r,[],!1,null,null,null);c.options.__file="src/components/RetinaImg/RetinaImg.vue",e.a=c.exports}})},367:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=269)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),s?(c=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):i&&(c=a?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(t,e){return c.call(e),u(t,e)}}else{var p=l.beforeCreate;l.beforeCreate=p?[].concat(p,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return r}))},1:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return _}));var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function i(t,e){Object.keys(t).forEach((function(n){return e(t[n],n)}))}function o(t){return null!==t&&"object"==typeof t}var s=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)||{}},a={namespaced:{configurable:!0}};a.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.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)},s.prototype.forEachChild=function(t){i(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&i(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&i(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&i(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,a);var c,l=function(t){this.register([],t,!1)};l.prototype.get=function(t){return t.reduce((function(t,e){return t.getChild(e)}),this.root)},l.prototype.getNamespace=function(t){var e=this.root;return t.reduce((function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")}
2),"")},l.prototype.update=function(t){!function t(e,n,r){if(n.update(r),r.modules)for(var i in r.modules){if(!n.getChild(i))return;t(e.concat(i),n.getChild(i),r.modules[i])}}([],this.root,t)},l.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new s(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o),e.modules&&i(e.modules,(function(e,i){r.register(t.concat(i),e,n)}))},l.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)},l.prototype.isRegistered=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];return!!e&&e.hasChild(n)};var u=function(t){var e=this;void 0===t&&(t={}),!c&&"undefined"!=typeof window&&window.Vue&&function(t){c&&t===c||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(c=t)}(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var i=t.strict;void 0===i&&(i=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new l(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new c,this._makeLocalGettersCache=Object.create(null);var o=this,s=this.dispatch,a=this.commit;this.dispatch=function(t,e){return s.call(o,t,e)},this.commit=function(t,e,n){return a.call(o,t,e,n)},this.strict=i;var u=this._modules.root.state;m(this,u,[],this._modules.root),h(this,u),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:c.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)},p={state:{configurable:!0}};function f(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 d(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;m(t,n,[],t._modules.root,!0),h(t,n,e)}function h(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,s={};i(o,(function(e,n){s[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 a=c.config.silent;c.config.silent=!0,t._vm=new c({data:{$$state:e},computed:s}),c.config.silent=a,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})),c.nextTick((function(){return r.$destroy()})))}function m(t,e,n,r,i){var o=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!o&&!i){var a=g(e,n.slice(0,-1)),l=n[n.length-1];t._withCommit((function(){c.set(a,l,r.state)}))}var u=r.context=function(t,e,n){var r=""===e,i={dispatch:r?t.dis
2patch:function(n,r,i){var o=v(n,r,i),s=o.payload,a=o.options,c=o.type;return a&&a.root||(c=e+c),t.dispatch(c,s)},commit:r?t.commit:function(n,r,i){var o=v(n,r,i),s=o.payload,a=o.options,c=o.type;a&&a.root||(c=e+c),t.commit(c,s,a)}};return Object.defineProperties(i,{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(i){if(i.slice(0,r)===e){var o=i.slice(r);Object.defineProperty(n,o,{get:function(){return t.getters[i]},enumerable:!0})}})),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return g(t.state,n)}}}),i}(t,s,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,s+n,e,u)})),r.forEachAction((function(e,n){var r=e.root?n:s+n,i=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push((function(e){var i,o=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(i=o)&&"function"==typeof i.then||(o=Promise.resolve(o)),t._devtoolHook?o.catch((function(e){throw t._devtoolHook.emit("vuex:error",e),e})):o}))}(t,r,i,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,s+n,e,u)})),r.forEachChild((function(r,o){m(t,e,n.concat(o),r,i)}))}function g(t,e){return e.reduce((function(t,e){return t[e]}),t)}function v(t,e,n){return o(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}p.state.get=function(){return this._vm._data.$$state},p.state.set=function(t){},u.prototype.commit=function(t,e,n){var r=this,i=v(t,e,n),o=i.type,s=i.payload,a=(i.options,{type:o,payload:s}),c=this._mutations[o];c&&(this._withCommit((function(){c.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(a,r.state)})))},u.prototype.dispatch=function(t,e){var n=this,r=v(t,e),i=r.type,o=r.payload,s={type:i,payload:o},a=this._actions[i];if(a){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var c=a.length>1?Promise.all(a.map((function(t){return t(o)}))):a[0](o);return new Promise((function(t,e){c.then((function(e){try{n._actionSubscribers.filter((function(t){return t.after})).forEach((function(t){return t.after(s,n.state)}))}catch(t){}t(e)}),(function(t){try{n._actionSubscribers.filter((function(t){return t.error})).forEach((function(e){return e.error(s,n.state,t)}))}catch(t){}e(t)}))}))}},u.prototype.subscribe=function(t,e){return f(t,this._subscribers,e)},u.prototype.subscribeAction=function(t,e){return f("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},u.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},u.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},u.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),h(this,this.state)},u.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit((function(){var n=g(e.state,t.slice(0,-1));c.delete(n,t[t.length-1])})),d(this)},u.prototype.hasModule=function(t){return"string"==typeof t&&(t=[t]),this._modules.isRegistered(t)},u.prototype.hotUpdate=function(t){this._modules.update(t),d(this,!0)},u.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(u.prototype,p);var _=O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=x(this.$store,0,t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof i?i.call(this,e,n):e[i]},n[r].vuex=!0})),n})),b=O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var o=x(this.$store,0,t);
2if(!o)return;r=o.context.commit}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})),y=(O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;i=t+i,n[r]=function(){if(!t||x(this.$store,0,t))return this.$store.getters[i]},n[r].vuex=!0})),n})),O((function(t,e){var n={};return w(e).forEach((function(e){var r=e.key,i=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var o=x(this.$store,0,t);if(!o)return;r=o.context.dispatch}return"function"==typeof i?i.apply(this,[r].concat(e)):r.apply(this.$store,[i].concat(e))}})),n})));function w(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 O(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function x(t,e,n){return t._modulesNamespaceMap[n]}}).call(this,n(2))},10:function(t,e,n){"use strict";n.d(e,"b",(function(){return l}));var r=function(){var t,e=this,n=e.$createElement,r=e._self._c||n;return r("div",{ref:"postCell",staticClass:"pl-post-list-cell",class:(t={"pl-post-list-cell--card":e.card},t["pl-post-list-cell--"+e.size]="md"!==e.size,t["pl-post-list-cell--text-center"]=e.textCenter,t["pl-post-list-cell--img-left"]=e.imgLeft,t["pl-post-list-cell--meta-"+e.metaType]=!/categor(ies|y)/.test(e.metaType),t["pl-post-list-cell--unlink"]=e.enterEngagementActions,t),style:e.cellWidth?{width:e.cellWidth+"px"}:null,attrs:{"data-order-id":e.post.order_id}},[r(e.link.tag,e._b({tag:"component",staticClass:"pl-post-list-cell__link"},"component",e.link.props,!1),[r("div",{staticClass:"pl-post-list-cell__wrap",on:{click:e.handleClick}},[r("div",{class:{"pl-post-list-cell__left-image":e.imgLeft,"pl-post-list-cell__top-image":!e.imgLeft}},[e.video?r("fa",{staticClass:"pl-post-list-cell__play-btn",attrs:{icon:["far","play-circle"]}}):e._e(),e._v(" "),r("img",{directives:[{name:"lazy",rawName:"v-lazy",value:{src:e.post.image,error:e.errorImg,loading:e.$staticHost("/images/loading.png")},expression:"{\n src: post.image,\n error: errorImg,\n loading: $staticHost('/images/loading.png'),\n }"}],attrs:{src:e.$staticHost("/images/loading.png"),"data-srcset":e.setDataSrcset(e.post.image),alt:e.post.title}})],1),e._v(" "),r("div",{staticClass:"pl-post-list-cell__content-wrap",class:{"pl-post-list-cell__content-wrap--has-engagement":e.$slots["engagement-amount"]||e.$slots["engagement-actions"]}},[r("div",{staticClass:"pl-post-list-cell__content"},[r("div",{staticClass:"pl-post-list-cell__main"},["rank"!==e.metaType&&e.noMeta&&(e.noPublish||e.publishBottom)?e._e():r("div",{staticClass:"pl-post-list-cell__meta",class:{"pl-post-list-cell__meta--bottom":"rank"!==e.metaType&&e.metaBottom}},["rank"===e.metaType?[r("div",{staticClass:"pl-post-list-cell__rank"},[e._v("\n "+e._s(e.rankFrom+e.index)+"\n ")]),e._v(" "),r("div",{staticClass:"pl-post-list-cell__publish",attrs:{"data-datetime":e.publish.data}},[e._v("\n "+e._s(e.publish.text)+"\n ")])]:[e.categories?r("div",{staticClass:"pl-post-list-cell__categories"},[e._v("\n "+e._s(e.categories)+"\n ")]):e._e(),e._v(" "),e.publishBottom||e.noPublish?e._e():r("div",{staticClass:"pl-post-list-cell__publish",attrs:{"data-datetime":e.publish.data}},[e._v("\n "+e._s(e.publish.text)+"\n ")])]],2),e._v(" "),r("div",{staticClass:"pl-post-list-cell__info"},[r(e.titleTag,{tag:"component",staticClass:"pl-post-list-cell__title"},[e._v("\n "+e._s(e.post.title)+"\n ")]),e._v(" "),e.noPreview?e._e():r("p",{staticClass:"pl-post-list-cell__preview"},[e._v("\n "+e._s(e.post.description)+"\n ")])],1)]),e._v(" "),"rank"!==e.metaType&&e.publishBottom&&!e.noPublish?r("div",{staticClass:"pl-post-list-cell__publish",attrs:{"data-datetime":e.publish.data}},[e._v("\n "+e._s(e.publish.text)+"\n ")]):e._e(
2),e._v(" "),e.$slots["engagement-amount"]||e.$slots["engagement-actions"]?r("div",{staticClass:"pl-post-list-cell__engagement-wrap"},[r("div",{staticClass:"pl-post-list-cell__engagement"},[e.$slots["engagement-amount"]?r("div",{staticClass:"pl-post-list-cell__engagement-amount"},[e._t("engagement-amount")],2):e._e(),e._v(" "),e.$slots["engagement-actions"]?r("div",{staticClass:"pl-post-list-cell__engagement-actions",on:{click:function(t){t.preventDefault()},mouseenter:function(t){e.enterEngagementActions=!0},mouseleave:function(t){e.enterEngagementActions=!1},touchstart:function(t){e.enterEngagementActions=!0},touchsend:function(t){e.enterEngagementActions=!1}}},[e._t("engagement-actions")],2):e._e()])]):e._e()])])])])],1)};r._withStripped=!0;var i=n(1),o=n(3);function s(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 a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l={linkTag:{type:String,default:"nuxt-link"},linkTarget:{validator:function(t){return null===t||"string"==typeof t},default:null},cellWidth:{validator:function(t){return null===t||"number"==typeof t},default:null},titleTag:{type:String,default:"span"},card:{type:Boolean,default:!1},size:{type:String,default:"md"},textCenter:{type:Boolean,default:!1},imgLeft:{type:Boolean,default:!1},errorImg:{type:[String,null],default:null},loadingImg:{type:[String,null],default:null},noPreview:{type:Boolean,default:!1},noMeta:{type:Boolean,default:!1},metaType:{type:String,default:"categories"},rankFrom:{type:Number,default:1},metaBottom:{type:Boolean,default:!1},noPublish:{type:Boolean,default:!1},publishBottom:{type:Boolean,default:!1},video:{type:Boolean,default:!1},referenceType:{type:String,default:""},inArticle:{type:Boolean,default:!1}},u={name:"PlPostListCell",props:a(a({},l),{},{post:{type:Object,required:!0},index:{type:Number,default:0},imageQuality:{type:Boolean,default:!1}}),data:function(){return{enterEngagementActions:!1,postCellIntersectionObserver:null}},computed:a(a({},Object(i.c)(["device"])),{},{link:function(){var t=this.linkTag,e=this.linkTarget,n=e?"a":t,r={},i=this.post.url;if("a"===n)r.href=i;else if("nuxt-link"===n&&i.includes("/article/"))try{var o=this.$router.resolve({path:i}).resolved;r.to=a(a({},o),{},{params:a(a({},o.params),{},{referenceType:this.referenceType||"none",isFromArticle:this.inArticle})})}catch(t){console.error(t),r.to=i}else r.to=this.post.url;return e&&(r.target=e),{tag:n,props:r}},categories:function(){if(this.noMeta||!/categor(ies|y)/.test(this.metaType))return null;var t=this.post.cats;return"category"===this.metaType&&this.post.cats[0]&&(t=[this.post.cats[0]]),t.map((function(t){return t.name})).join("ï¼")},publish:function(){return{data:this.$moment(this.post.post_date).format("Do MMM YYYY"),text:"rank"===this.metaType?this.$moment(this.post.post_date).format("DD MMM"):this.$moment(this.post.post_date).fromNow()}}}),mounted:function(){this.addPostCellIntersectionObserver()},beforeDestroy:function(){var t;null===(t=this.postCellIntersectionObserver)||void 0===t||t.disconnect()},methods:a(a({},Object(i.a)(["updatePost"])),{},{handleClick:function(){var t=this.post,e=this.index;this.updatePost({post:t}),this.$emit("click",{index:e,post:t})},setDataSrcset:function(t){return Object(o.createLazyLoadSrcset)({url:t})},addPostCellIntersectionObserver:function(){var t=this,e=this.$refs.postCell;e&&(this.postCellIntersectionObserver=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting&&t.$emit("post-cell-impression")}))})),this.postCellIntersectionObserver.observe(e))}})},p=(n(42),n(0)),f=Object(p.a)(u,r,[],!1,null,null,null);f.options.__file="src/components/PostListCell/PostListCell.vue",e.a=f.exports},118:function(t,e,n){},15:function(t,e,n){},2:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},22:function(t,e,n){"use strict";n.d(e,"b",(function(){return c}));var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pl-post-list",class:"pl-post-list--"+(t.vertical?"vertical":"horizontal")},t._l(t.posts,(function(e,r){return n("PlPostListCell",{key:r,attrs:{post:e,index:r,"link-tag":t.linkTag,"link-target":t.linkTarget,"cell-width":t.cellWidth,"title-tag":t.titleTag,card:t.card,size:t.size,"text-center":t.textCenter,"img-left":t.imgLeft,"error-img"
2:t.errorImg,"loading-img":t.loadingImg,"no-preview":t.noPreview,"no-meta":t.noMeta,"meta-type":t.metaType,"rank-from":t.rankFrom,"meta-bottom":t.metaBottom,"no-publish":t.noPublish,"publish-bottom":t.publishBottom,video:t.video,"image-quality":"","reference-type":t.referenceType,"in-article":t.inArticle},on:{click:function(e){return t.$emit("click",e)},"post-cell-impression":function(n){return t.$emit("post-cell-impression",e)}},scopedSlots:t._u([{key:"engagement-amount",fn:function(){return[t.$scopedSlots["engagement-amount"]?t._t("engagement-amount",null,{index:r,post:e}):t._e()]},proxy:!0},{key:"engagement-actions",fn:function(){return[t.$scopedSlots["engagement-actions"]?t._t("engagement-actions",null,{index:r,post:e}):t._e()]},proxy:!0}],null,!0)})})),1)};r._withStripped=!0;var i=n(10);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 s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=s(s({},i.b),{},{posts:{type:Array,required:!0}}),l={name:"PlPostList",components:{PlPostListCell:i.a},props:s(s({},c),{},{vertical:{type:Boolean,default:!1}})},u=(n(74),n(0)),p=Object(u.a)(l,r,[],!1,null,null,null);p.options.__file="src/components/PostList/PostList.vue",e.a=p.exports},232:function(t,e,n){"use strict";n(118)},269:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pl-post-swipe-list",style:{width:t.cellWidth*t.pageSize+"px"}},[n("div",{class:["pl-post-swipe-list__nav",t.navIcon?"pl-post-swipe-list__nav--img":"pl-post-swipe-list__nav--icon",{"pl-post-swipe-list__nav--disabled":t.prevDisabled},"pl-post-swipe-list__nav--prev"],on:{click:function(e){return t.go(-1)}}},[t.navIcon?n("img",{attrs:{src:t.navIcon}}):n("i",{staticClass:"el-icon-arrow-left"})]),t._v(" "),n("div",{staticClass:"pl-post-swipe-list__content"},[n("PlPostList",{style:{left:"-"+t.activeIndex*t.cellWidth+"px"},attrs:{posts:t.posts,"link-tag":t.linkTag,"link-target":t.linkTarget,"cell-width":t.cellWidth,"title-tag":t.titleTag,card:t.card,size:t.size,"text-center":t.textCenter,"img-left":t.imgLeft,"error-img":t.errorImg,"loading-img":t.loadingImg,"no-preview":t.noPreview,"no-meta":t.noMeta,"meta-type":t.metaType,"meta-bottom":t.metaBottom,"no-publish":t.noPublish,"publish-bottom":t.publishBottom,video:t.video},on:{click:function(e){return t.$emit("click",e)}},scopedSlots:t._u([{key:"engagement-amount",fn:function(e){var n=e.index;return[t.$scopedSlots["engagement-amount"]?t._t("engagement-amount",null,{index:n}):t._e()]}},{key:"engagement-actions",fn:function(e){var n=e.index;return[t.$scopedSlots["engagement-actions"]?t._t("engagement-actions",null,{index:n}):t._e()]}}],null,!0)})],1),t._v(" "),n("div",{class:["pl-post-swipe-list__nav",t.navIcon?"pl-post-swipe-list__nav--img":"pl-post-swipe-list__nav--icon",{"pl-post-swipe-list__nav--disabled":t.nextDisabled},"pl-post-swipe-list__nav--next"],on:{click:function(e){return t.go(1)}}},[t.navIcon?n("img",{attrs:{src:t.navIcon}}):n("i",{staticClass:"el-icon-arrow-right"})])])};r._withStripped=!0;var i=n(22);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 s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEac
2h((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c={name:"PlPostSwipeList",components:{PlPostList:i.a},props:s(s({},i.b),{},{navIcon:{type:String,default:null},cellWidth:{type:Number,default:320},pageSize:{type:Number,default:3},size:{type:String,default:"sm"},noPreview:{type:Boolean,default:!0},metaType:{type:String,default:"rank"}}),data:function(){return{activeIndex:0}},computed:{prevDisabled:function(){return this.activeIndex<=0},nextDisabled:function(){return this.activeIndex>=this.posts.length-this.pageSize}},methods:{go:function(t){-1===t&&this.prevDisabled||1===t&&this.nextDisabled||(this.activeIndex+=t)}}},l=(n(232),n(0)),u=Object(l.a)(c,r,[],!1,null,null,null);u.options.__file="src/components/PostSwipeList/PostSwipeList.vue";var p=u.exports;e.default=p},3: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,{resizeCloudflareImage:()=>n,resizeCloudflareImageSrcset:()=>r,extendRetinaSrcset:()=>i,createLazyLoadSrcset:()=>o});var n=function(t,e){return"".concat(t,"?auto=format&w=").concat(e)},r=function(t,e){return[2,3].map((function(r){return"".concat(n(t,e*r)," ").concat(r,"x")})).join(", ")},i=function(t){return[2,3].map((function(e){var n,r,i,o=t.match(/(.*)\/([^/]+)$/);o?(n=o[1]+"/",r=o[2]):(n="",r=t);var s=r.match(/(.*)\.([^.]+)$/);if(s){var a=s[1],c=s[2];i="".concat(a,"@").concat(e,"x.").concat(c)}else i="".concat(r,"@").concat(e,"x");return"".concat(n).concat(i," ").concat(e,"x")})).join(", ")},o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoint,r=void 0===e?[]:e,i=t.ratio,o=void 0===i?[]:i,s=t.url;if(!s)return console.error("The url is required."),null;var a=[414,718,1053,1440],c=[1,2,3],l=Array.isArray(r)&&r.length?r:a,u=Array.isArray(o)&&o.length?o:c,p=l.map((function(t){return u.map((function(e){return e*t}))})).flat().sort((function(t,e){return t-e}));return p.map((function(t){return"".concat(n(s,t)," ").concat(t,"w")})).join(", ")};return e})()},42:function(t,e,n){"use strict";n(15)},43:function(t,e,n){},74:function(t,e,n){"use strict";n(43)}})},368:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=233)}({0:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},233:function(t,e,n){"use strict";n.r(e);var r=n(48);e.default=r.a},3: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,{resizeCloudflareImage:()=>n,resizeCloudflareImageSrcset:()=>r,extendRetinaSrcset:()=>o,createLazyLoadSrcset:()=>i});var n=function(t,e){return"".concat(t,"?auto=format&w=").concat(e)},r=function(t,e){return[2,3].map((function(r){return"".concat(n(t,e*r)," ").concat(r,"x")})).join(", ")},o=function(t){return[2,3].map((function(e){var n,r,o,i=t.match(/(.*)\/([^/]+)$/);i?(n=i[1]+"/",r=i[2]):(n="",r=t);var a=r.match(/(.*)\.([^.]+)$/);if(a){var s=a[1],c=a[2];o="".concat(s,"@").concat(e,"x.").concat(c)}else o="".concat(r,"@").concat(e,"x");return"".concat(n).concat(o," ").concat(e,"x")})).join(", ")},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.breakpoint,r=void 0===e?[]:e,o=t.ratio,i=void 0===o?[]:o,a=t.url;if(!a)return console.error("The url is required."),null;var s=[414,718,1053,1440],c=[1,2,3],u=Array.isArray(r)&&r.length?r:s,l=Array.isArray(i)&&i.length?i:c,f=u.map((function(t){return l.map((function(e){return e*t}))})).flat().sort((function(t,e){return t-e}));return f.map((function(t){return"".concat(n(a,t)," ").concat(t,"w")})).join(", ")};return e})()},44: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){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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}t.r(e),t.d(e,{ImgLazy:()=>c,checkIntersectionObserver:()=>s});var i="pending",a="undefined"!=typeof window&&null!==window;function s(){return!!(a&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)&&("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}),!0)}var o=s(),u=function(t,e){return function(t,e){if("IMG"===t.tagName&&t.getAttribute("data-srcset")){var n,r,o,i=t.getAttribute("data-srcset"),a=[],s=t.parentNode.offsetWidth*e;(i=i.trim().split(",")).map((function(t){t=t.trim(),-1===(n=t.lastIndexOf(" "))?(r=t,o=999998):(r=t.substr(0,n),o=parseInt(t.substr(n+1,t.length-n-2),10)),a.push([o,r])})),a.sort((function(t,e){if(t[0]<e[0])return 1;if(t[0]>e[0])return-1;if(t[0]===e[0]){if(e[1].includes(".webp",e[1].length-5))return 1;if(t[1].includes(".webp",t[1].length-5))return-1}return 0}));for(var c,u="",l=0;l<a.length;l++){u=(c=a[l])[1];var f=a[l+1];if(f&&f[0]<s){u=c[1];break}if(!f){u=c[1];break}}return u}}(t,function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return a&&window.devicePixelRatio||t}(e))},c=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,t),r(this,"imgList",[]),r(this,"options",null),r(this,"oberser",null),this.imgList=e,this.options=c,o?this.registerImgEnterObserver():this.handleException()}var a;return(a=[{key:"handleException",value:function(){this.imgList.forEach((function(t){var e=u(t);t.src=e||t.src}))}},{key:"registerImgEnterObserver",value:function(){var t=this;this.oberser=new IntersectionObserver(this.handleImgEnter,this.options),this.imgList.forEach((function(e){"none"!==e.dataset.loading&&(e.src=e.dataset.loading||function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"#ececec",n=t.dataset.width||100,r=t.dataset.height||100,o=document.createElement("canvas");o.width=n,o.height=r;var i=o.getContext("2d");return i.fillStyle=e,i.fillRect(0,0,n,r),o.toDataURL("image/jpeg",1)}(e)),e.dataset.oberser=!0,t.oberser.observe(e),e.onload=function(e){return t.handleOnload(e)},e.onerror=function(e){return t.handleOnerror(e)}}))}},{key:"unobserve",value:function(t){var e,n;t.dataset.oberser=!1,null===(e=this.oberser)||void 0===e||null===(n=e.unobserve)||void 0===n||n.call(e,t)}},{key:"destroy",value:function(){var t=this;this.imgList.forEach((function(e){t.unobserve(e)})),this.oberser.disconnect(),this.oberser=null}},{key:"handleImgEnter",value:function(t){t.forEach((function(t){var e=t.target,n=t.isIntersecting;if(!e.dataset.status&&n){var r=u(e);e.dataset.status=i,e.src=r||e.dataset.src}}))}},{key:"handleOnload",value:function(t){var e,n=t.target;(null==n||null===(e=n.dataset)||void 0===e?void 0:e.status)===i&&(n.dataset.status="loaded",this.unobserve(n))}},{key:"handleOnerror",value:function(t){var e=t.target;(null==e?void 0:e.dataset.status)===i&&(e.dataset.error&&(e.src=e.dataset.error),e.dataset.status="error",e.onerror=null,this.unobserve(e))}}])&&function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(t.prototype,a),t}();return e})()},48:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement;return(t._self._c||e)("img",t._g(t._b({staticClass:"pl-retina-img",attrs:{src:t.attrSrc,srcset:t.attrSrcset},on:{error:function(e){t.error=!0}}},"img",t.$attrs,!1),t.$listeners))};r._withStripped=!0;var o=n(3),i=n(44),a={name:"PlRetinaImg",props:{src:{type:String,required:!0},staticHost:{type:Boolean,deafult:!1},width:{type:[Number,String,null],default:null},lazy:{type:Boolean,default:!1}},data:function(){return{error:!1,allowLoad:!1}},computed:{isAllowLoad:function(){return!this.lazy||this.allowLoad},srcPath:function(){var t=this.src.replace(/\?.*$/,"");return this.staticHost&&(t=this.$staticHost(t)),t},validWidth:function(){return/^\d+(px)?$/.test(this.width)?"string"==typeof this.width&&this.width.endsWith("px")?this.width.replace("px",""):this.width:null},attrSrc:function(){if(this.isAllowLoad)return this.validWidth?Object(o.resizeCloudflareImage)(this.srcPath,this.validWidth):this.srcPath},attrSrcset:function(){if(this.isAllowLoad)return this.error?null:this.validWidth?Object(o.resizeCloudflareImageSrcset)(this.srcPath,this.validWidth):Object(o.extendRetinaSrcset)(this.srcPath)}},mounted:function(){this.lazy&&this.registerImgEnterObserver()},destoryed:function(){var t,e;this.lazy&&(null===(t=this.oberser)||void 0===t||null===(e=t.destroy)||void 0===e||e.call(t))},methods:{registerImgEnterObserver:function(){Object(i.checkIntersectionObserver)()?(this.oberser=new IntersectionObserver(this.handleImgEnter),this.oberser.observe(this.$el)):this.allowLoad=!0},handleImgEnter:function(t){var e=this;t.forEach((function(t){var n=t.isIntersecting;!e.allowLoad&&n&&(e.allowLoad=!0)}))}}},s=n(0),c=Object(s.a)(a,r,[],!1,null,null,null);c.options.__file="src/components/RetinaImg/RetinaImg.vue",e.a=c.exports}})},369:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
2),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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=270)}({0:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,u){var c,l="function"==typeof t?t.options:t;if(e&&(l.render=e,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId="data-v-"+i),s?(c=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},l._ssrRegister=c):o&&(c=u?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(l.functional){l._injectStyles=c;var a=l.render;l.render=function(t,e){return c.call(e),a(t,e)}}else{var f=l.beforeCreate;l.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:l}}n.d(e,"a",(function(){return r}))},119:function(t,e,n){},234:function(t,e,n){"use strict";n(119)},270:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this.$createElement;return(this._self._c||t)("h1",{staticClass:"seo-h1"},[this._v("\n "+this._s(this.title)+"\n")])};r._withStripped=!0;var o={props:{title:{type:String,default:""}}},i=(n(234),n(0)),s=Object(i.a)(o,r,[],!1,null,null,null);s.options.__file="src/components/SeoH1/SeoH1.vue";var u=s.exports;e.default=u}})},370:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=271)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,a,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),a?(u=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):i&&(u=s?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,u):[u]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},120:function(t,e,n){},235:function(t,e,n){"use strict";n(120)},271:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"tag-banner"},[t.banners.length>0?n("div",{directives:[{name:"swiper",rawName:"v-swiper:bannerSwiper",value:t.swiperObject,expression:"swiperObject",arg:"bannerSwiper"}],staticClass:"tag-banner__swiper swiper-container"},[n("div",{staticClass:"swiper-wrapper"},t._l(t.banners,(function(e,r){return n("div",{key:r,staticClass:"swiper-slide"},[n("nuxt-link",{attrs:{to:e.id?"/tw/article/"+e.id:""}},[n("img",{attrs:{src:e.cover}}),t._v(" "),n("div",{staticClass:"tag-banner__swiper-title"},[t._v("\n "+t._s(e.banner_title)+"\n ")])])],1)})),0),t._v(" "),n("div",{staticClass:"swiper-pagination banner-swiper-pagination"})]):t._e()])};r._withStripped=!0;var i={name:"TagBanner",props:{delay:{type:Number,default:3e3},banners:{type:Array,required:!0}},data:function(){return{swiperObject:{autoplay:{delay:this.delay,disableOnInteraction:!1},speed:1e3,pagination:{el:".swiper-pagination.banner-swiper-pagination ",clickable:!0}}}}},o=(n(235),n(0)),a=Object(o.a)(i,r,[],!1,null,null,null);a.options.__file="src/components/TagBanner/TagBanner.vue";var s=a.exports;e.default=s}})},371:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
2),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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=243)}({0:function(t,e,n){"use strict";function r(t,e,n,r,o,i,s,c){var a,u="function"==typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),s?(a=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},u._ssrRegister=a):o&&(a=c?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),a)if(u.functional){u._injectStyles=a;var l=u.render;u.render=function(t,e){return a.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,a):[a]}return{exports:t,options:u}}n.d(e,"a",(function(){return r}))},1:function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return w})),n.d(e,"b",(function(){return b})),n.d(e,"c",(function(){return y}));var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__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 s=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)||{}},c={namespaced:{configurable:!0}};c.namespaced.get=function(){return!!this._rawModule.namespaced},s.prototype.addChild=function(t,e){this._children[t]=e},s.prototype.removeChild=function(t){delete this._children[t]},s.prototype.getChild=function(t){return this._children[t]},s.prototype.hasChild=function(t){return t in this._children},s.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)},s.prototype.forEachChild=function(t){o(this._children,t)},s.prototype.forEachGetter=function(t){this._rawModule.getters&&o(this._rawModule.getters,t)},s.prototype.forEachAction=function(t){this._rawModule.actions&&o(this._rawModule.actions,t)},s.prototype.forEachMutation=function(t){this._rawModule.mutations&&o(this._rawModule.mutations,t)},Object.defineProperties(s.prototype,c);var u,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 t(e,n,r){if(n.update(r),r.modules)for(var o in r.modules){if(!n.getChild(o))return;t(e.concat(o),n.getChild(o),r.modules[o])}}([],this.root,t)},a.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=new s(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 l=function(t){var e=this;void 0===t&&(t={}),!u&&"undefined"!=typeof window&&window.Vue&&function(t){u&&t===u||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)}}(u=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 u,this._makeLocalGettersCache=Object.create(null);var i=this,s=this.dispatch,c=this.commit;this.dispatch=function(t,e){return s.call(i,t,e)},this.commit=function(t,e,n){return c.call(i,t,e,n)},this.strict=o;var l=this._modules.root.state;
vendor: 1,673 bytes, line 2
2m(this,l,[],this._modules.root),h(this,l),n.forEach((function(t){return t(e)})),(void 0!==t.devtools?t.devtools:u.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)},f={state:{configurable:!0}};function p(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 d(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;m(t,n,[],t._modules.root,!0),h(t,n,e)}function h(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var i=t._wrappedGetters,s={};o(i,(function(e,n){s[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 c=u.config.silent;u.config.silent=!0,t._vm=new u({data:{$$state:e},computed:s}),u.config.silent=c,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})),u.nextTick((function(){return r.$destroy()})))}function m(t,e,n,r,o){var i=!n.length,s=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[s],t._modulesNamespaceMap[s]=r),!i&&!o){var c=v(e,n.slice(0,-1)),a=n[n.length-1];t._withCommit((function(){u.set(c,a,r.state)}))}var l=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dis
2patch:function(n,r,o){var i=_(n,r,o),s=i.payload,c=i.options,a=i.type;return c&&c.root||(a=e+a),t.dispatch(a,s)},commit:r?t.commit:function(n,r,o){var i=_(n,r,o),s=i.payload,c=i.options,a=i.type;c&&c.root||(a=e+a),t.commit(a,s,c)}};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,s,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,s+n,e,l)})),r.forEachAction((function(e,n){var r=e.root?n:s+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,l)})),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,s+n,e,l)})),r.forEachChild((function(r,i){m(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}}f.state.get=function(){return this._vm._data.$$state},f.state.set=function(t){},l.prototype.commit=function(t,e,n){var r=this,o=_(t,e,n),i=o.type,s=o.payload,c=(o.options,{type:i,payload:s}),a=this._mutations[i];a&&(this._withCommit((function(){a.forEach((function(t){t(s)}))})),this._subscribers.slice().forEach((function(t){return t(c,r.state)})))},l.prototype.dispatch=function(t,e){var n=this,r=_(t,e),o=r.type,i=r.payload,s={type:o,payload:i},c=this._actions[o];if(c){try{this._actionSubscribers.slice().filter((function(t){return t.before})).forEach((function(t){return t.before(s,n.state)}))}catch(t){}var a=c.length>1?Promise.all(c.map((function(t){return t(i)}))):c[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(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)}))}))}},l.prototype.subscribe=function(t,e){return p(t,this._subscribers,e)},l.prototype.subscribeAction=function(t,e){return p("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},l.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch((function(){return t(r.state,r.getters)}),e,n)},l.prototype.replaceState=function(t){var e=this;this._withCommit((function(){e._vm._data.$$state=t}))},l.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),m(this,this.state,t,this._modules.get(t),n.preserveState),h(this,this.state)},l.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));u.delete(n,t[t.length-1])})),d(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),d(this,!0)},l.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(l.prototype,f);var y=x((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=C(this.$store,0,t);if(!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})),b=x((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=C(this.$store,0,t);
2if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}})),n})),w=(x((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||C(this.$store,0,t))return this.$store.getters[o]},n[r].vuex=!0})),n})),x((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=C(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})));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 x(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function C(t,e,n){return t._modulesNamespaceMap[n]}}).call(this,n(2))},121:function(t,e,n){},122:function(t,e,n){},2:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},236:function(t,e,n){"use strict";n(121)},237:function(t,e,n){"use strict";n(122)},243:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pl-tag-group"},[t.label?n("label",{staticClass:"pl-tag-group__label"},[t._v(t._s(t.label))]):t._e(),t._v(" "),t._l(t.tags,(function(t){return n("Tag",{key:t.id,attrs:{tag:t}})}))],2)};r._withStripped=!0;var o=function(){var t=this.$createElement;return(this._self._c||t)("a",{staticClass:"pl-tag",attrs:{href:this.page.path+"/tag/"+(this.encodeUri?encodeURIComponent(this.tag.slug):this.tag.slug),target:"_blank"},domProps:{innerHTML:this._s(this.tag.name)},on:{click:this.handleClickTag}})};o._withStripped=!0;var i=n(1);function s(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 c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a={name:"PlTag",props:{tag:{type:Object,required:!0},encodeUri:{type:Boolean,default:!1}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(i.c)(["page"])),methods:{handleClickTag:function(){var t;null===(t=this.$customClick)||void 0===t||t.call(this,{type:"tag",value:this.tag.name||this.tag.slug})}}},u=(n(236),n(0)),l=Object(u.a)(a,o,[],!1,null,null,null);l.options.__file="src/components/TagGroup/Tag.vue";var f={name:"PlTagGroup",components:{Tag:l.exports},props:{label:{type:String,default:null},tags:{type:Array,required:!0}}}
2,p=(n(237),Object(u.a)(f,r,[],!1,null,null,null));p.options.__file="src/components/TagGroup/TagGroup.vue";var d=p.exports;e.default=d}})},374:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},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=262)}({0:function(t,e,n){"use strict";function r(t,e,n,r,o,i,u,s){var c,a="function"==typeof t?t.options:t;if(e&&(a.render=e,a.staticRenderFns=n,a._compiled=!0),r&&(a.functional=!0),i&&(a._scopeId="data-v-"+i),u?(c=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__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(u)},a._ssrRegister=c):o&&(c=s?function(){o.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(a.functional){a._injectStyles=c;var l=a.render;a.render=function(t,e){return c.call(e),l(t,e)}}else{var f=a.beforeCreate;a.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:a}}n.d(e,"a",(function(){return r}))},112:function(t,e,n){},128: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,{getType:()=>n,uuid:()=>r});var n=function(t){var e,n=Object.prototype.toString.call(t);return null===(e=/^\[object\s(.*?)\]$/.exec(n))||void 0===e?void 0:e[1]},r=function(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6,e="abcdefghijklmnopqrstuvwxyz0123456789",n=e.length,r="",o=0;o<t;){var i=Math.ceil(Math.random()*n);r+=e[i],o++}return r};return e})()},224:function(t,e,n){"use strict";n(112)},262:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:["pl-our-video"],style:{background:t.thumbnail?"":"#000","--thumbnail-bg":"url("+t.thumbnail+")"}},[t.thumbnail?n("div",{staticClass:"pl-our-video__filter-blur"}):t._e(),t._v(" "),t.isIGReels?n("PlIgReels",{attrs:{device:t.device,"reels-id":t.IGReelsId,"video-width":t.width}}):n("PlVideo",{key:t.id,class:{"pl-our-video__youtube":"desktop"===t.device&&t.isYoutubeShorts},attrs:{"unique-id":t.id,src:t.src,"is-auto-play":t.autoPlay,"is-mute":"",ratio:t.ratio}})],1)};r._withStripped=!0;var o=n(128),i={name:"PlOurVideos",props:{id:{type:String,default:Object(o.uuid)()},src:{type:String,required:!0},autoPlay:{type:Boolean,default:!1},thumbnail:{type:String,default:""},device:{type:String,default:"desktop"},bgImg:{type:String,default:""},width:{type:Number,default:326}},data:function(){return{}},computed:{IGReelsId:function(){var t;return(null===(t=this.src.match(/\/reels?\/([\w]+)/))||void 0===t?void 0:t[1])||""},isIGReels:function(){return/instagram\.com\/reels?\//gi.test(this.src)},isFacebook:function(){return/facebook/gi.test(this.src)},isYoutube:function(){return/youtu\.?be/gi.test(this.src)&&!this.src.includes("shorts")},isYoutubeShorts:function(){return/youtu\.?be/gi.test(this.src)&&this.src.includes("shorts")},ratio:function(){var t=null;return this.isYoutube&&(t=16/9),(this.isIGReels||this.isYoutubeShorts)&&(t=9/16),t}},methods:{}},u=(n(224),n(0)),s=Object(u.a)(i,r,[],!1,null,null,null);s.options.__file="src/components/OurVideos/OurVideos.vue";var c=s.exports;e.default=c}})},375:function(t,e,n){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
2),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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},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=272)}({0:function(t,e,n){"use strict";function r(t,e,n,r,i,o,s,a){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),o&&(c._scopeId="data-v-"+o),s?(u=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__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(s)},c._ssrRegister=u):i&&(u=a?function(){i.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(c.functional){c._injectStyles=u;var l=c.render;c.render=function(t,e){return u.call(e),l(t,e)}}else{var f=c.beforeCreate;c.beforeCreate=f?[].concat(f,u):[u]}return{exports:t,options:c}}n.d(e,"a",(function(){return r}))},123:function(t,e,n){},238:function(t,e,n){"use strict";n(123)},272:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"pl-text-ads"},[n("client-only",[t.displayTextAds.length?n("div",{staticClass:"pl-text-ads__list"},t._l(t.displayTextAds,(function(e,r){return n("div",{key:r,ref:"textAdsList",refInFor:!0,staticClass:"pl-text-ads__item",attrs:{"data-order-id":e.order_id}},[n("a",{staticClass:"pl-text-ads__item-link",attrs:{href:e.url,target:"_blank"},on:{click:function(n){return t.hanleTextAdsClick(e)}}},[t._v("\n "+t._s(e.title)+"\n ")])])})),0):t._e()])],1)};function i(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 o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){s(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(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}r._withStripped=!0;var c={name:"PlTextAds",props:{position:{validator:function(t){return["top","bottom"].includes(t)},default:"top"},deviceTextAds:{type:[Object,null],default:null}},data:function(){return{displayTextAds:[],orderId:"",impressionObserver:null}},watch:{deviceTextAds:{handler:function(t){"undefined"!=typeof window&&t&&this.initDisplayTextAds()},immediate:!0}},beforeDestroy:function(){this.removeImpressListener()},methods:{addImpressionListener:function(){var t=this;this.$nextTick((function(){var e=t.$refs.textAdsList;null!=e&&e.length&&(t.impressionObserver=new IntersectionObserver((function(e){e.forEach((function(e){if(e.isIntersecting){var n,r=e.target.dataset.orderId;null===(n=t.$inhouseImpression)||void 0===n||n.call(t,{format:"webpanel_textad",orderId:r})}}))})),e.forEach((function(e){t.impressionObserver.observe(e)})))}))},removeImpressListener:function(){var t;null===(t=this.impressionObserver)||void 0===t||t.disconnect()},hanleTextAdsClick:function(t){var e,n=t.order_id;null===(e=this.$inhouseClick)||void 0===e||e.call(this,{format:"webpanel_textad",orderId:n})},initDisplayTextAds:function(){var t=(new Date).getTime(),e=this.deviceTextAds[this.position],n="device-text-ads.".concat(this.position),r=JSON.parse(window.localStorage.getItem(n)),i=Array.from({length:5},(function(t,n){var i=null==r?void 0:r[n].ad_updated_at,o=e[n].updated_at;return i===o?r[n]:{show:{},ad_updated_at:o}})),s=e.map((function(e){return e.activate&&t>=e.start_time&&t<=e.end_time?e:null})).map((function(e,n){if(!e)return null;var r,o=e.creatives.map((function(e,r){return e.activate&&e.title&&(!e.time_range||t>=e.time_range[0]&&t<=e.time_range[1])?i[n].show[r]||0:null})),s=(r=o.filter((function(t){return"number"==typeof t}))).length?Math.min.apply(Math,function(t){return function(t){if(Array.isArray(t))return u(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return u(t,e);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)?u(t,e):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.")}()}(r)):null;return null===s?null:function(t,e,n){var r,i=t.reduce((function(t,n,r){return n===e&&t.push(r),t}),[]);switch(n){case"evenly":r=Math.floor(Math.random()*i.length);break;case"sequential":r=0}return i[r]}(o,s,e.creative_rotation)}));
2s.forEach((function(t,e){null!==t&&(i[e].show[t]?i[e].show[t]++:i[e].show[t]=1)})),window.localStorage.setItem(n,JSON.stringify(i)),this.displayTextAds=function(t){return t.reduce((function(t,n,r){if(null!==n){var i=e[r],s=i.creatives[n];t.push(o(o({},s),{},{order_id:i.order_id}))}return t}),[])}(s),this.addImpressionListener()}}},l=(n(238),n(0)),f=Object(l.a)(c,r,[],!1,null,null,null);f.options.__file="src/components/TextAds/TextAds.vue";var d=f.exports;e.default=d}})}}]);
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.