(window.webpackJsonp=window.webpackJsonp||[]).push([[9],{12:function(e,t,n){"use strict";(function(e){n.d(t,"a",(function(){return Pe})),n.d(t,"b",(function(){return we})),n.d(t,"c",(function(){return xe})),n.d(t,"d",(function(){return Be})),n.d(t,"e",(function(){return be})),n.d(t,"f",(function(){return $e})),n.d(t,"g",(function(){return Le})),n.d(t,"h",(function(){return Oe})),n.d(t,"i",(function(){return ae})),n.d(t,"j",(function(){return Ie})),n.d(t,"k",(function(){return ye})),n.d(t,"l",(function(){return He})),n.d(t,"m",(function(){return Se})),n.d(t,"n",(function(){return _e})),n.d(t,"o",(function(){return ke})),n.d(t,"p",(function(){return je})),n.d(t,"q",(function(){return Ee})),n.d(t,"r",(function(){return Ce})),n.d(t,"s",(function(){return le})),n.d(t,"t",(function(){return de})),n.d(t,"u",(function(){return ce})),n.d(t,"v",(function(){return ue})),n.d(t,"w",(function(){return re})),n.d(t,"x",(function(){return ne})),n.d(t,"y",(function(){return se})),n.d(t,"z",(function(){return v})),n.d(t,"A",(function(){return Q})),n.d(t,"B",(function(){return Z})),n.d(t,"C",(function(){return ee})),n.d(t,"D",(function(){return oe})),n.d(t,"E",(function(){return K})),n.d(t,"F",(function(){return te})),n.d(t,"G",(function(){return ie})),n.d(t,"H",(function(){return Ne})),n.d(t,"I",(function(){return Ae})),n.d(t,"J",(function(){return Fe})),n(80),n(95),n(2843),n(2685),n(81),n(2849);var s=n(2661),o=n.n(s),r=(s=n(17),n(0)),i=n.n(r),a=n(24),c=n(2711),u=n(2712),l=n.n(u),d=(u=n(53),n.n(u)),h=(u=n(20),n.n(u));
/*!
 * VUELAND - Styled Component Fragment Factory
 * 2020 Fagner Janderson <fjsilva@uolinc.com>
 */u=n(37);const f={},p={styled:{},tokens:[]};function m(e,t){let n=[];return Object(c.a)(e,p)`${e=>{{var s=e.styled||{};e=e.tokens||[];let o="",r=[];return Array.isArray(t)&&(r=r.concat(t)),Array.isArray(e)&&(r=r.concat(e)),r=[...new Set(r)],(n=r.filter(e=>Object.keys(f).includes(e))).forEach(e=>o+=f[e]+";"),0<Object.keys(s).length&&(o+=Object.keys(s).map(e=>e+": "+s[e]).join(";")+";"),o}}}`}class v{constructor(){this.events={}}on(e,t){return"object"!=typeof this.events[e]&&(this.events[e]=[]),this.events[e].push(t),()=>this.removeListener(e,t)}removeListener(e,t){"object"==typeof this.events[e]&&-1<(t=this.events[e].indexOf(t))&&this.events[e].splice(t,1)}removeAllListeners(){Object.keys(this.events).forEach(e=>this.events[e].splice(0,this.events[e].length))}emit(e,...t){"object"==typeof this.events[e]&&[...this.events[e]].forEach(e=>e.apply(this,t))}once(e,t){const n=this.on(e,(...e)=>{n(),t.apply(this,e)});return n}}const g={},y={},b="vrw",$=async(e,t,n)=>{var s=t+"_"+e,o=(k(s,n.useLocalStorageAsCache)||{}).data;if(!O()||0<n.cacheTTL&&o)return Promise.resolve({data:o,error:o?null:new Error("Network Error. "+e)});if(!1!==n.deduping){const e=g[s]||{};if("pending"===e.status)return e.refresh(),new Promise(t=>e.on(e=>{n.cb instanceof Function&&n.cb(),t(e)}));g[s]=((e,t)=>{const n=new v;let s;const o={status:"pending",on:e=>n.on("fetch",t=>{e instanceof Function&&e(t)}),emit:e=>{n.emit("fetch",e),o.status="ended",o.schedule()},schedule:()=>{clearTimeout(s),s=window.setTimeout(()=>{n.removeAllListeners(),delete g[e]},t.expireTimeout)},refresh:()=>o.schedule()};return o})(s,{expireTimeout:n.loadingTimeout})}o=l.a;let r=null,i=null,a=!0;clearTimeout(y[e]),y[e]=setTimeout(()=>{a&&n.onLoadingSlow instanceof Function&&n.onLoadingSlow(),c()},n.loadingTimeout);const c=()=>{a=!1,clearTimeout(y[e]),delete y[e]};try{({data:r}=["get","delete"].includes(t)?await o[t](e):await o[t](e,n.body));{var[u,d,h,f=!1]=[s,r,n.cacheTTL,n.useLocalStorageAsCache];const e=h||_,t=Date.now(),o={data:d,createdAt:t,expiresAt:e?t+e:1/0};f?P(u,o):(e&&setTimeout(()=>{Date.now()>=o.expiresAt&&j(u,f)},e),S.set(u,o))}n.cb instanceof Function&&n.cb(),c(),g[s]&&g[s].emit({data:r,error:i})}catch(s){if(i=s,!n.skipRetry&&n.shouldRetryOnError)for(let s=0;s<n.errorRetryCount;s++)if(await new Promise(s=>window.setTimeout(async()=>{({data:r,error:i}=await $(e,t,{...n,skipRetry:!0})),s()},n.errorRetryInterval||3e3)),r&&!i){c();break}}return Promise.resolve({data:r,error:i})},w=async(e,t,n={},s)=>{var o=(e=>({isAttached:"string"==typeof e.attachToProp||"string"==typeof(e.attachToState||{}).id}))(n=(e=>{var t=(e,t)=>void 0!==e?e:t;return{shouldRetryOnError:t(e.shouldRetryOnError,!0),revalidateOnFocus:t(e.revalidateOnFocus,!0),revalidateOnReconnect:t(e.revalidateOnReconnect,!0),errorRetryCount:e.errorRetryCount||3,errorRetryInterval:e.errorRetryInterval||3e3,loadingTimeout:e.loadingTimeout||3e3,cacheTTL:e.cacheTTL||0,useLocalStorageAsCache:t(e.useLocalStorageAsCache,!1),onLoadingSlow:e.onLoadingSlow,onOffline:e.onOffline,attachToProp:e.attachToProp,attachToState:e.attachToState,deduping:e.deduping,store:e.store,instance:e.instance}})(n)).isAttached;const r={...n,body:s},i=()=>k(t+"_"+e,n.useLocalStorageAsCache)||{};return s=i().data,M(),o?(r.cb=()=>{var s,o=i().data;o&&(n.attachToProp?n.instance[n.attachToProp]=o:(({map:s,id:o}=n.attachToState),o||console.error(`You must enter an ID for using "attachToState". [${t}] `+e)))},O()&&(0<Object.keys(s||{}).length?$(e,t,r):await $(e,t,r)),o=()=>{O()&&$(e,t,r),r.cb()},r.revalidateOnReconnect&&window.addEventListener("online",o,!1),r.onOffline instanceof Function&&window.addEventListener("offline",r.onOffline,!1),n.revalidateOnFocus&&window.addEventListener("focus",o,!1),r.cb(),Promise.resolve({data:s})):$(e,t,r)},O=()=>void 0===navigator.onLine||navigator.onLine,S=new Map,_=0,k=(e,t=!1)=>t?T(e):S.get(e),j=(e,t=!1)=>{if(t){t=e;var n=localStorage.getItem(b);if(n)try{var s=C(n);delete s[t],localStorage.setItem(b,E(s))}catch(e){}}else S.delete(e)},E=e=>btoa(JSON.stringify(e)),C=e=>JSON.parse(atob(e)),T=(e,t)=>{var n=localStorage.getItem(b);if(n)return JSON.parse(atob(n))[e]},P=(e,t)=>{let n={};var s=localStorage.getItem(b);s?(n=C(s))[e]=t:n={[e]:t},localStorage.setItem(b,E(n)),x(e,n.expiresAt-Date.now())},D=e=>{var t=localStorage.getItem(b);t&&e(t)},x=(e,t)=>setTimeout(()=>D(t=>{try{var n=C(t),s=n[e].expiresAt;s<Date.now()?(delete n[e],localStorage.setItem(b,E(n))):x(e,s-Date.now())}catch(t){}}),t),M=()=>{D(e=>{const t=C(e);Object.keys(t).map(e=>{t[e].expiresAt<Date.now()?(delete t[e],localStorage.setItem(b,E(t))):x(e,t[e].expiresAt-Date.now())})})};var N,A,I,R,V,L,F,H,B,U,Y,q,J,z={},W=((W={get exports(){return z},set exports(e){z=e}}).exports=(I=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,L=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,F={years:R=31536e6,months:V=2592e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},H=function(e){return e instanceof J},B=function(e,t,n){return new J(e,n,t.$l)},U=function(e){return A.p(e)+"s"},Y=function(e){return e<0?Math.ceil(e):Math.floor(e)},q=function(e,t){return e?e<0?{negative:!0,format:""+Math.abs(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},J=function(){function e(e,t,n){var s=this;return this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t?B(e*F[U(t)],this):("number"==typeof e?(this.$ms=e,this.parseFromMilliseconds()):"object"==typeof e?(Object.keys(e).forEach((function(t){s.$d[U(t)]=e[t]})),this.calMilliseconds()):"string"==typeof e&&(n=e.match(L))&&(t=n.slice(2).map((function(e){return null!=e?Number(e):0})),this.$d.years=t[0],this.$d.months=t[1],this.$d.weeks=t[2],this.$d.days=t[3],this.$d.hours=t[4],this.$d.minutes=t[5],this.$d.seconds=t[6],this.calMilliseconds()),this)}var t=e.prototype;return t.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*F[n]}),0)},t.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=Y(e/R),this.$d.months=Y((e%=R)/V),this.$d.days=Y((e%=V)/864e5),this.$d.hours=Y((e%=864e5)/36e5),this.$d.minutes=Y((e%=36e5)/6e4),this.$d.seconds=Y((e%=6e4)/1e3),this.$d.milliseconds=e%=1e3},t.toISOString=function(){var e=q(this.$d.years,"Y"),t=q(this.$d.months,"M"),n=+this.$d.days||0,s=(n=(this.$d.weeks&&(n+=7*this.$d.weeks),q(n,"D")),q(this.$d.hours,"H")),o=q(this.$d.minutes,"M"),r=this.$d.seconds||0,i=(r=(this.$d.milliseconds&&(r+=this.$d.milliseconds/1e3),q(r,"S")),e.negative||t.negative||n.negative||s.negative||o.negative||r.negative),a=s.format||o.format||r.format?"T":"";return"P"==(i=(i?"-":"")+"P"+e.format+t.format+n.format+a+s.format+o.format+r.format)||"-P"==i?"P0D":i},t.toJSON=function(){return this.toISOString()},t.format=function(e){e=e||"YYYY-MM-DDTHH:mm:ss";var t={Y:this.$d.years,YY:A.s(this.$d.years,2,"0"),YYYY:A.s(this.$d.years,4,"0"),M:this.$d.months,MM:A.s(this.$d.months,2,"0"),D:this.$d.days,DD:A.s(this.$d.days,2,"0"),H:this.$d.hours,HH:A.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:A.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:A.s(this.$d.seconds,2,"0"),SSS:A.s(this.$d.milliseconds,3,"0")};return e.replace(I,(function(e,n){return n||String(t[e])}))},t.as=function(e){return this.$ms/F[U(e)]},t.get=function(e){var t=this.$ms;return"milliseconds"===(e=U(e))?t%=1e3:t="weeks"===e?Y(t/F[e]):this.$d[e],0===t?0:t},t.add=function(e,t,n){return t=t?e*F[U(t)]:(H(e)?e:B(e,this)).$ms,B(this.$ms+t*(n?-1:1),this)},t.subtract=function(e,t){return this.add(e,t,!0)},t.locale=function(e){var t=this.clone();return t.$l=e,t},t.clone=function(){return B(this.$ms,this)},t.humanize=function(e){return N().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},e}(),function(e,t,n){A=(N=n)().$utils(),n.duration=function(e,t){var s=n.locale();return B(e,{$l:s},t)},n.isDuration=H;var s=t.prototype.add,o=t.prototype.subtract;t.prototype.add=function(e,t){return H(e)&&(e=e.asMilliseconds()),s.bind(this)(e,t)},t.prototype.subtract=function(e,t){return H(e)&&(e=e.asMilliseconds()),o.bind(this)(e,t)}}),z);const X=(e,t)=>e.localeCompare(t),K=(e,t)=>{let n;return Array.isArray(e)?e.map((function(e){return K(e,t)})):"[object Object]"===Object.prototype.toString.call(e)?(n={},Object.keys(e).sort(t||X).forEach((function(s){n[s]=K(e[s],t)})),n):e},G=(e,t=new WeakMap)=>{if(null==e)return"";if(t.has(e))return"[Circular]";e.name&&e.lib&&e.data&&/\<svg/.test(e.data)&&delete e.data,"[object Object]"!==Object.prototype.toString.call(e)&&!Array.isArray(e)||t.set(e,!0);let n="";for(var s in e){var o;e.hasOwnProperty(s)&&(n+="object"==typeof(o=e[s])?s+":"+G(o,t)+",":s+":"+o+",")}return 0<n.length&&(n=n.slice(0,-1)),t.delete(e),"{"+n+"}"},Q=(e,t)=>o()(G(K(e)))+"{**::**}"+(t&&Array.isArray(t)?t.join("|"):"");function Z(e,...t){let n;return function(){return n=e.apply(this,t)}}function ee(e,t){let n;return function(...s){return e&&(n=e.apply(t||this,s),e=null),n}}function te(e){for(const n of Reflect.ownKeys(e)){var t=e[n];(t&&"object"==typeof t||"function"==typeof t)&&te(t)}return Object.freeze(e)}const ne="undefined"==typeof window,se=!1;function oe(e){var t;for(const[n,s]of Object.entries(e))["$tools"].concat((null==s?void 0:s.$disposable)||[]).forEach(e=>{!function e(t,n){var s,o;t.includes(".")?([s,o]=t.split(/\.(.*)/),"object"==typeof n[s]&&e(o,n[s])):delete n[t]}(e,s)}),null!=(t=e[n])&&delete t.$disposable}function re(e,t){var n=Object(r.ref)(t);return ne||t.map(t=>{"string"!=typeof t||t.includes(".")||delete e[t]}),ne?{...e,$disposable:n}:e}const ie=Object(u.defineStore)("core:config",()=>{const e=Object(r.ref)({extend:[]});return re({state:e,setData:ee(t=>{e.value=t})},["state.system.corepath","state.metrics.ga","state.metatags","state.loadedConfig","state.vueland","state.extend","state.scripts","state.rm_require","state.__eligible_config__"])});var ae=(e=>(e.HTTP="http",e.HTTPS="https",e))(ae||{}),ce=(e=>(e.NORMAL="NORMAL",e.PREVIEW="PREVIEW",e.AMP="AMP",e.APP="APP",e))(ce||{});const ue=Object(u.defineStore)("core:request",()=>{const e=Object(r.ref)({id:"",domain:"",link:"",uri:"",entrypoint:"",protocol:"https",format:"NORMAL",userAgent:"",data:{},uolAB:{},params:{},headers:{},fromHome:!1,isMonacoPreview:!1,isPreview:!1,isAccessRestrict:!1,isRedirect:!1,isWeb:!1,isBlog:!1,legacy:!1});return re({state:e,setData:ee(t=>{e.value=t}),$helpers:{getParams:function(t){var n;return"string"==typeof t&&t?null==(n=null==(n=e.value)?void 0:n.params)?void 0:n[t]:null==(n=e.value)?void 0:n.params},getDomain:()=>{var t;return null==(t=e.value)?void 0:t.domain},getLink:()=>{var t;return null==(t=e.value)?void 0:t.link},getUri:()=>{var t;return null==(t=e.value)?void 0:t.uri},getProtocol:()=>{var t;return null==(t=e.value)?void 0:t.protocol},getFormat:()=>{var t;return null==(t=e.value)?void 0:t.format},getHeaders:()=>{var t;return null==(t=e.value)?void 0:t.headers},getAB:()=>{var t;return null==(t=e.value)?void 0:t.uolAB},isCMSPreview:()=>{var t;return null==(t=e.value)?void 0:t.isMonacoPreview},isRedirect:()=>{var t;return null==(t=e.value)?void 0:t.isRedirect},isBlog:()=>{var t;return null==(t=e.value)?void 0:t.isBlog},isDesktop:()=>{var t;return null==(t=e.value)?void 0:t.isWeb},isMobile:()=>{var t;return!(null!=(t=e.value)&&t.isWeb)}}},["state.id","state.data","state.headers"])}),le=Object(u.defineStore)("core:control",()=>{const e=ue().$tools,t=Object(r.ref)([]),n=Object(r.ref)([]),s=Object(r.ref)([]);if(ne)return{stores:t,addStore:function(e){!n.value.includes(e.$id)&&e.wrappedDispatch&&(n.value.push(e.$id),t.value.push(e))},initStores:async function(){var e;t.value.length&&(e=[...t.value].map(e=>e.wrappedDispatch()),t.value=[],await Promise.all(e))},cacheStores:s,addToCacheStoreList:function(e,t,n=60){for(const o of e){const e="string"==typeof o?o:o.$id;s.value.findIndex(t=>t.id===e)<0&&s.value.push({id:e,key:t||"",ttl:n})}},cacheStoreList:function(t){var n;if(null!=(n=s.value)&&n.length)for(const n of s.value)t[n.id]&&e.cache.set(o([n.id,n.key]),t[n.id],n.ttl)},getStoresFromCache:async function(){var t,n={};if(null!=(t=s.value)&&t.length)for(const t of s.value){var r=await e.cache.get(o([t.id,t.key]));r&&(n[t.id]=r)}return n}};throw new Error("Control Store should be used only on server side!");function o(e){return["state"].concat(e).join("::")}}),de=Object(u.defineStore)("core:general",()=>{const e=Object(r.ref)({}),t=Object(r.ref)({}),n=Object(r.ref)();function s(e){return!!t.value[e]}return re({data:n,components:e,state:t,setData:function({book:e,key:n,value:s}){var o=t.value[e]||{};t.value=Object.assign({},t.value,{[e]:{...o,[n]:s}})},getData:function(e,n){return n?s(e)?t.value[e][n]:void 0:t.value[e]},hasBook:s,setDispatchData:function({id:t,item:n}){e.value={...e.value,[t]:n}},setMainData:function(e){n.value||(n.value=e)},injectService:function(e){return de().$vueDI.resolveInstance(e)}},["data","setMainData"])});function he(e,t={}){var n,s;if(e)return({getData:n,hasBook:s}=de(this.$pinia)),s(e)?n(e,t.prop):(console.trace(`Book "${e}" is invalid when getting state`),!1);console.trace("A book name is required when getting the state")}function fe(e,t,n){e||console.trace("A book name is required when setting the state"),t||console.trace("A key is needed to define a state"),e&&t&&(0,de(this.$pinia).setData)({book:e,key:t,value:n})}function pe(){return ue(this.$pinia).$helpers}function me(){return ie(this.$pinia).state}function ve(){if(ne)return de(this.$pinia).data;throw new Error("This method only works in server environment.")}u={computed:{...Object(u.mapState)(ie,{config:"state"}),...Object(u.mapState)(de,{data(e){return e.components[this.getId()]||{}}})},methods:{getId:function(){return this.stateIdHash?this.$options.name+"::"+this.stateIdHash:this.stateId||this.$options.name},setComponentState:function(e,t={override:!1}){t.id||(t.id=this.getId());var{setDispatchData:n,components:s}=de(this.$pinia),o=(s[t.id]||this.tools.log.error({component:this.$options.name,error:new Error(`Component: ${this.$options.name} / Invalid state ID (${t.id}). The available states are: "${Object.keys(s).join(", ")}"`)}),this.getComponentState(t.id).instance);if(e=t.override?e:d()(!0,s[t.id],e),n({id:t.id,item:e}),(s=o)&&s.onStateUpdate instanceof Function)try{s.onStateUpdate()}catch(e){}},getComponentState:function(e){e=e||this.getId();var t=de(this.$pinia).components,n=t[e];return n||this.tools.log.error({component:this.$options.name,error:new Error(`Component: ${this.$options.name} / Invalid state ID (${e}). The available states are: "${Object.keys(t).join(", ")}"`)}),n},getState:he,setState:fe,getRequest:pe,getConfig:me,getPageData:ve}};
/*!
 * VUELAND - Base resources Interface
 * 2022 Fagner Janderson <fjsilva@uolinc.com>
 */
class ge{constructor(){this.config={extend:[]},this.setState=fe,this.getState=he,this.getRequest=pe,this.getConfig=me,this.getPageData=ve}}class ye{}var be=(e=>(e.FRONT_ENVIRONMENT="front",e.BACK_ENVIRONMENT="back",e.MIXED_ENVIRONMENT="mixed",e))(be||{});class $e extends ge{}$e.___environment___="front";class we extends ge{constructor(){if(super(),this.tools=new ye,!ne)throw new Error(`The "${this.constructor.name}" service supposed to be used only on server side.`)}}we.___environment___="back";class Oe extends ge{constructor(){super(...arguments),this.tools=new ye}}Oe.___environment___="mixed";const Se=$e,_e=we,ke=Oe,je=$e,Ee=we,Ce=Oe,Te=(
/*!
 * VUELAND - AbTool Tool
 * 2020 fjsilva <fjsilva@uolinc.com>
 */
h.a.extend(W),n(2871));class Pe extends $e{constructor(){super(...arguments),this.chosen="default",this.cookiePrefix="__vueland_ab_test_"}mount(e){this.clear();const t=["testName","endTime","draw","tag","use","sample","pick","slots","cookiePrefix"];d()(!0,this,Object.keys(e).filter(e=>t.includes(e)).reduce((t,n)=>(t[n]=e[n],t),{}));var n=()=>{if(this.sample instanceof Function)try{this.sample(this.chosen)}catch(e){console.error(e)}};return this.isValidTime()?this.use?(this.chosen=this.use,n(),this.use):(this.checkCookieIntegrity(),this.chosen=this.getCandidate(),n(),this.chosen):"default"}clear(e){var t=Te.get();for(const s of Object.keys(t))if(new RegExp("^"+this.cookiePrefix).test(s)){if(Array.isArray(e)&&e.length&&!e.map(e=>""+this.cookiePrefix+e).includes(s)){Te.remove(s);continue}var n=this.parseCookieValue(s).expires;this.isValidTime(n,s,!0)||Te.remove(s)}}setCookiePrefix(e){return this.cookiePrefix=e,this}isValidTime(e,t,n){if((e=h()(e||this.endTime,"YYYY-MM-DD HH[:]mm")).isValid()){var s=(e=h.a.duration(e.diff(h()(new Date)))).asHours();if(this.expires=e.asDays(),0<=s)return!0;console.warn(`[VUELAND-AB] AB test "${t||this.testName}" has expired! Settings for that test will be removed from the browser.`)}else console.error(`Invalid test date: "${t||this.testName}"`);return(()=>{n||Te.remove(this.cookieName)})(),!1}checkCookieIntegrity(){var e=this.parseCookieValue().expires;e&&e!==this.endTime&&Te.remove(this.cookieName)}getCandidate(){var e=this.parseCookieValue().value;return e&&this.slots.includes(e)?e:this.runPick()}get cookieName(){return""+this.cookiePrefix+this.testName}runPick(){var e=this.firePick(this.slots,this.draw);if(this.mountCookie(e),this.pick instanceof Function)try{this.pick(e)}catch(e){console.error(e)}return e}firePick(e,t={}){var n=e,s=[];let o=0;for(let e=0;e<n.length;e++){var r=n[e],i=t[r];i&&(s.push([r,o+i]),o+=i)}if(o){var a=Math.floor(Math.random()*o);for(let e=0;e<s.length;e++)if(s[e][1]>a)return s[e][0]}return n[Math.floor(Math.random()*n.length)]}mountCookie(e){e=e+"|"+(t=this.endTime);var t={expires:this.expires?+this.expires:7,path:"/"};return Te.set(this.cookieName,e,t),this.parseCookieValue()}parseCookieValue(e){e=Te.get(e||this.cookieName);var[t,n]=(e||"").split("|");return{value:t,expires:n,raw:e}}}Object.defineProperty,Object.getOwnPropertyDescriptor;i.a.use({install:function(e){e.loadScript=e.prototype.$loadScript=function(e,t=!1){return"undefined"==typeof window?Promise.reject(new Error('Calling "loadScript" from incorrect environment. Use it only on front-end.')):new Promise((function(n,s){var{tag:o,attr:r}=/\.css\b/.test(e)?{tag:"link",attr:"href"}:{tag:"script",attr:"src"},i="link"===o?{rel:"stylesheet",href:e}:{type:"text/javascript",async:"",src:e};let a=!1,c=document.querySelector(o+`[${r}="${e}"]`);if(!c||t)c=document.createElement(o),Object.entries(i).forEach(([e,t])=>{null!=c&&c.setAttribute(e,t)}),a=!0;else if(c.hasAttribute("data-loaded"))return void n(c);c.addEventListener("error",s),c.addEventListener("abort",s),c.addEventListener("load",(function(){null!=c&&c.setAttribute("data-loaded",""),n(c)})),a&&document.head.appendChild(c)}))},e.unloadScript=e.prototype.$unloadScript=function(e){return"undefined"==typeof window?Promise.reject(new Error('Calling "unloadScript" from incorrect environment. Use it only on front-end.')):new Promise((function(t,n){var s,{tag:s,attr:o}=/\.css\b/.test(e)?{tag:"link",attr:"href"}:{tag:"script",attr:"src"};((s=document.querySelector(s+`[${o}="${e}"]`))?(document.head.removeChild(s),t):n)()}))}}}),W=class extends i.a{},W=((e,t,n,s)=>{for(var o,r=t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=o(r)||r);return r})([Object(a.a)({computed:u.computed,methods:{...u.methods,getComponent(e,t,n={withVersion:!0,deduping:!0,shouldRetryOnError:!0,errorRetryCount:3}){var s=this.config||{},o=`${null==(o=null==s?void 0:s.system)?void 0:o.assetsBaseUrl}?loadComponent=${e}&data=${JSON.stringify(t)}&api=true`+(n.withVersion?"&v="+s.system.app_version:"");return this.fetch.get(o,{...n,withVersion:void 0})},checkAndLoadStyle(){var e=this.config,t=this.$options.name.replace(/(?!^)([A-Z]+)/g,"-$1").toLowerCase(),{css:e}=e.system.media,{all:n,hash:s,inline:o}=window.__cssComponents__||{all:[],hash:new Map,inline:new Set};!(n||[]).includes(t)||o.has(this.$options.name)||document.querySelector(`link[v-style-load-after=${t}]`)||this.createLink(e+`/styles/${t}.css`,{name:t,hash:s})},createLink(e,{name:t,hash:n}={}){n&&(e+="&v="+n),(n=document.createElement("link")).setAttribute("rel","stylesheet"),n.setAttribute("type","text/css"),n.setAttribute("href",e),t&&n.setAttribute("v-style-load-after",t),document.getElementsByTagName("head")[0].appendChild(n)},loadEmbedScript(e){var t=document.getElementsByTagName("head")[0];const n=document.createElement("script");n.type="text/javascript",e.forEach(e=>n.setAttribute(e.key,e.value)),t.appendChild(n)}},beforeMount(){this.checkAndLoadStyle()},async beforeCreate(){var e,t=this.config||{},n=()=>{var e=this.config||{},t=e.components||{},n=e.multipleVersions||{},s={};for(const e of Object.keys(n))for(const t of n[e])s[t]=e;for(const e of Object.keys(t)){var o=t[e].version;o&&(s[e]=o)}return s};if(this.$options.methods.resolve instanceof Function){var s,o=this.$options.methods.resolve(),r=n()||{};for(const e of Object.keys(r))o[e]&&(o[e][r[e]]||o[e].default)&&(s=o[e][r[e]]||o[e].default,this.$options.components[s])&&(this.$options.components[e]=this.$options.components[s])}if(this.tools?this.tools.ab=new Pe:this.tools={ab:new Pe},(n=(null==(n=this.$options.propsData)?void 0:n.stateAlias)||this.$attrs["state-alias"])&&(this.__state_alias__=n),this.$options.methods.styled instanceof Function){var i,a=this.$options.methods.styled();for(const e in a)a[e].as&&!this.$options.components[e]&&(i=m(a[e].as,a[e].tokens||[]),this.$options.components[e]=i)}this.fetch=(!1,e=this,{get:async(t,n={})=>w(t,"get",{...n,store:!1,instance:e}),post:async(t,n,s={})=>w(t,"post",{...s,store:!1,instance:e},n),put:async(t,n,s={})=>w(t,"put",{...s,store:!1,instance:e},n),$delete:async(t,n={})=>w(t,"delete",{...n,store:!1,instance:e})});n=this.__state_alias__||this.$options.__id__;var c,u,l=null==(l=null==(l=null==(l=null==t?void 0:t.system)?void 0:l.media)?void 0:l.js)?void 0:l.replace(/https?:\/\/|^\/\//,"https://").match(/^https?\:\/\/([^\/?#]+)(?:[\/?#]|$)/i);let d=l&&l[1];void 0!==Object({NODE_ENV:"production",VUE_ENV:"client"}).STORYBOOK_RUN_MODE&&d&&/^localhost/.test(d)&&(d+=":9898"),void 0===Object({NODE_ENV:"production",VUE_ENV:"client"}).STORYBOOK_RUN_MODE&&void 0===Object({NODE_ENV:"production",VUE_ENV:"client"}).TEST&&!this.allowedGetStateInFront||void 0!==Object({NODE_ENV:"production",VUE_ENV:"client"}).STORYBOOK_RUN_MODE||void 0!==Object({NODE_ENV:"production",VUE_ENV:"client"}).TEST||(d?(this.$emit("getting-state-started"),l=this.$options.render,this.$options.render=null,c=t.__req__,u=void 0!==Object({NODE_ENV:"production",VUE_ENV:"client"}).STORYBOOK_RUN_MODE?`//${d}/assets/`:((null==(u=null==(u=t.system)?void 0:u.assets)?void 0:u.split("?")[0])||"").replace(/\/$/,""),({data:u,error:t}=await this.fetch.get(`${u}?loadComponent=${this.$options.name}&data=${JSON.stringify(Object.keys(this.$options.propsData).filter(e=>!e.includes("stateAlias")&&!e.includes("__id__")).reduce((e,t)=>(e[t]=this.$options.propsData[t],e),{}))}&getState&configPath=${t.loadedConfig.replace(/\.json$/,"")}&forcedFormat=${c.format}&forcedUserAgent=${c["user-agent"]}&forcedDomain=`+c.domain)),t?(console.error(`Could not get state for component with stateID: "${n}" during rendering on the client`),console.error(t),this.$emit("getting-state-finished")):(u.items[n],this.$options.render=l,this.$emit("getting-state-finished"),this.$forceUpdate())):console.error('It was not possible to obtain the status of the component "'+this.$options.name+'" because it was not possible to identify the obtaining hostname.The hostname is defined in "config.system.media.js". Please check that the hostname is valid.'))}})],W);Object.defineProperty,Object.getOwnPropertyDescriptor;const De=["tools"];i=class extends i.a{},i=((e,t,n,s)=>{for(var o,r=t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=o(r)||r);return r})([Object(a.a)({data(){var e=De.reduce((e,t)=>(e[t]=this.$root[t],e),{});return Object.seal(e.tools),e},computed:u.computed,methods:u.methods,async serverPrefetch(){var e,t,n,s;if(this.$options.name)return e=e=>{var t;return null==(t=null==(t=this.tools)?void 0:t.log)?void 0:t.error({component:this.$options.name,error:e})},null!=(t=this.injectedStores)&&t.length&&(null!=(t=this.injectedStores)&&t.forEach(e=>this[e]),await le(this.$pinia).initStores()),null!=(t=this.injectedServices)&&t.length&&(t=null==(t=this.injectedServices)?void 0:t.filter(e=>this[e].dispatch),await Promise.all(t.map(e=>this[e].dispatch()))),n=this,s=async e=>{if(this.dispatch)try{await this.dispatch(e)}catch(t){e(t)}else e()},(null==(t=await new Promise(async(e,t)=>{const o=n.$options.name,r=setTimeout(()=>{e({error:new Error(`The execution of component "${o}" was interrupted by timeout after the "15 seconds" timeout was reached.`)})},15e3),i=d()(!0,n._data.default||{},((n.config||{}).components||{})[o]||{});n.data=d()(!0,n.data||{},i);try{s(s=>{clearTimeout(r);const a=(s,r=!1)=>{if(n.$options.render=()=>null,r&&s&&(s.message=`Component "${o}" had its execution aborted by "dispatch". Reason: "${s.message}"`),null!=(r=null==(r=null==n?void 0:n.tools)?void 0:r.log)&&r.error)try{n.tools.log.error({component:o,error:s})}catch(s){}return!0===n.__initiator__?t(s):e()};if(s instanceof Error)return a(s,!0);Promise.all([]).then(async()=>{var t,o=n.getId();null==s||"object"==typeof s&&!Object.keys(s).length?e({}):(t=d()(!0,i,s),de(n.$pinia).setDispatchData({id:o,item:t}),e(t))}).catch(e=>a(e))})}catch(e){clearTimeout(r),t(e)}}))?void 0:t.error)instanceof Error?(e(t.error),this.$options.render=()=>null,["beforeCreate","created","mounted"].forEach(e=>this.$options[e]=[]),Promise.resolve()):t},beforeCreate(){if(this.$options.methods.resolve instanceof Function){var e,t=this.$options.methods.resolve(),n=(()=>{var e=this.config||{},t=e.components||{},n=e.multipleVersions||{},s={};for(const e of Object.keys(n))for(const t of n[e])s[t]=e;for(const e of Object.keys(t)){var o=t[e].version;o&&(s[e]=o)}return s})()||{};for(const s of Object.keys(n))t[s]&&(t[s][n[s]]||t[s].default)&&(e=t[s][n[s]]||t[s].default,this.$options.components[e])&&(this.$options.components[s]=this.$options.components[e])}this.cssFromSlotComponents=[];for(const e of Object.keys(this.$slots||{}))for(const t of this.$slots[e]||[])!t.asyncMeta||this.cssFromSlotComponents.includes(t.asyncMeta.tag)||this.cssFromSlotComponents.push(t.asyncMeta.tag)},created:function(){var e=this.$options.name,t=((this.$parent||{}).$options||{}).name;if(e){const n=this.$tools||this.tools;t=t?n.getPrecedence(t):0;const s=(e,t=new Set)=>{let n=[];for(const r in e){var o=e[r];o.name&&!t.has(o)&&(t.add(o),n.push(o.name),(o.options||{}).components)&&(o=s(o.options.components,t),n=n.concat(o))}return n},o=(n.setPrecedence(e,t),n.setComponentDependencies(e,s(this.$options.components)),n.getPrecedence(e));this.cssFromSlotComponents.length&&this.cssFromSlotComponents.map(e=>n.setPrecedence(e,o));for(const e in this.$options.components)n.setPrecedence(e,o)}if(this.styled instanceof Function){var n,s=this.styled();for(const e in s)s[e].as&&!this.$options.components[e]&&(n=m(s[e].as,s[e].tokens||[]),this.$options.components[e]=n)}}})],i),a="undefined"!=typeof window?W:i;
/*!
 * VUELAND - Component Interface
 * 2020 Fagner Janderson <fjsilva@uolinc.com>
 */
const xe=Object(s.c)(a),Me=new Set,Ne=xe.extend({props:{name:{type:String}},methods:{async loadBrand(){var{brand:e,app_version:t,media:{css:n}}=ie(this.$pinia).state.system;if(this.name!==e&&(n=n+`/styles/${e="theme-brand-"+this.name}.css&v=v`+t,!Me.has(e)))return Me.add(e),ne?this.tools.appendResource().before([{tag:"link",attrs:[{key:"rel",value:"stylesheet"},{key:"href",value:n}]}]):this.$loadScript(n)}},async created(){await this.loadBrand()},render(){return this.$slots.default.forEach(e=>{var t="brand-"+this.name,n=null==(n=e.data)?void 0:n.staticClass;e.data=e.data||{},e.data.staticClass=n?[n,t].join(" "):t}),this.$slots.default}});function Ae(e){let t,n;var s;return"string"==typeof e?t=e:(s=e,n=o()(JSON.stringify(K(Object.keys(s||{}).reduce((e,t)=>(e[t]=s[t],e),{}))))),{stateId:t,stateIdHash:n}}const Ie=xe.extend({name:"ServerCache",data:()=>({cached:!1}),props:{cacheKey:{type:String,required:!0,validator:e=>/^[\w-:]+$/.test(e)},cacheTtl:{type:Number,default:()=>Number(Object({NODE_ENV:"production",VUE_ENV:"client"}).VUELAND_DEFAULT_CACHE_TTL||60),validator:e=>60<=e},cacheStores:{type:Array}},created(){var e;ne&&null!=(e=this.cacheStores)&&e.length&&le(this.$pinia).addToCacheStoreList(this.cacheStores,this.cacheKey,this.cacheTtl)},async serverPrefetch(){Object({NODE_ENV:"production",VUE_ENV:"client"}).VUELAND_DEFAULT_CACHE_ACTIVE&&(this.cached=await this.tools.cache.get(this.cacheKey))},render(e){return ne&&Object({NODE_ENV:"production",VUE_ENV:"client"}).VUELAND_DEFAULT_CACHE_ACTIVE?this.cached?e("div",{domProps:{innerHTML:this.cached}}):e("server-cache-content",{attrs:{id:this.cacheKey,ttl:this.cacheTtl}},[this.$slots.default]):e("div",[this.$slots.default])}});function Re(e){return"function"==typeof e&&"string"==typeof e.$id}class Ve{constructor(e,t){this.pinia=e,this.tools=t,this.stores=new Map,this.bindings=new Map,this.singletons=new Map,this.DEPENDENCIES=Symbol("DEPENDENCIES");const n=ie(this.pinia);this.coreTools={$vueDI:this,$pinia:this.pinia,get config(){return n.state},tools:this.tools||{}}}bind(e,t,n){this.bindings.set(e,t),n&&n.singleton&&this.registerAsSingleton(t)}getInstanceOf(e){return this.bindings.has(e)&&(e=this.bindings.get(e)),this.resolve(e)}resolve(e){return this.singletons.has(e)?this.resolveSingleton(e):this.resolveInstance(e)}resolveStore(e,t=!1){var n,s;if(Re(e))return n=e.$id,this.stores.has(n)?this.stores.get(n):(s=e(this.pinia),this.stores.set(n,s),ne&&!t&&this.resolveStore(le,!0).addStore(s),s);throw new Error(`"${e}" is not a valid useStore!`)}resolveInstance(e){if("function"!=typeof e)throw new Error(e+" must be class not a "+typeof e);var t=(e[this.DEPENDENCIES]||[]).map(e=>"function"===e?this.getInstanceOf(e):e);return Re(e)?e(this.pinia):(e=new e(...t),Object.assign(e,this.coreTools),e)}registerAsSingleton(e){this.singletons.has(e)||this.singletons.set(e,null)}resolveSingleton(e){return this.registerAsSingleton(e),null===this.singletons.get(e)&&this.singletons.set(e,this.resolveInstance(e)),this.singletons.get(e)}registerDependencies(e,...t){e[this.DEPENDENCIES]=t}}function Le(e,...t){return function(n,s){if(ne){const t=Re(e)?"__injectedStores":"__injectedServices";n[t]=n[t]||[],n[t].push(s),Object.defineProperty(n,t.replace(/_+/,""),{get:()=>[...n[t]],enumerable:!0,configurable:!0})}Object.defineProperty(n,s,{get(){try{var n;return Re(e)?(n=Re(e)&&t.length?e.apply(e,t.map(e=>"function"==typeof e?e.call(this):e)):e,this.$vueDI.resolveStore(n)):(t.length&&this.$vueDI.registerDependencies(e,...t),this.$vueDI.resolveSingleton(e))}catch(n){console.error(n)}},set(){},enumerable:!0,configurable:!0})}}function Fe(e,t){return new Ve(e,t)}class He{static install(e){se&&console.debug("[VueDI]: starting"),e.mixin({beforeCreate(){var e,t=this.$options;t.vueDI?(e=t.vueDI,this.$vueDI||(this.$vueDI=e)):!this.$vueDI&&t.parent&&t.parent.$vueDI&&(this.$vueDI=t.parent.$vueDI)}})}}const Be=Le}).call(this,n(45))},123:function(e,t,n){"use strict";(function(e){let s,o;function r(){return void 0===s&&("undefined"!=typeof window&&window.performance?(s=!0,o=window.performance):void 0!==e&&null!=(t=e.perf_hooks)&&t.performance?(s=!0,o=e.perf_hooks.performance):s=!1),(s?o:Date).now();var t}n.d(t,"a",(function(){return r}))}).call(this,n(45))},2671:function(e,t,n){"use strict";(function(e){function s(){return o().__VUE_DEVTOOLS_GLOBAL_HOOK__}function o(){return"undefined"!=typeof navigator&&"undefined"!=typeof window?window:void 0!==e?e:{}}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return r}));const r="function"==typeof Proxy}).call(this,n(45))},2717:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var s=n(2671);var o=n(123);class r{constructor(e,t){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=t;var n={};if(e.settings)for(const t in e.settings){var s=e.settings[t];n[t]=s.defaultValue}const r="__vue-devtools-plugin-settings__"+e.id;let i=Object.assign({},n);try{var a=localStorage.getItem(r),c=JSON.parse(a);Object.assign(i,c)}catch(e){}this.fallbacks={getSettings:()=>i,setSettings(e){try{localStorage.setItem(r,JSON.stringify(e))}catch(e){}i=e},now:()=>Object(o.a)()},t&&t.on("plugin:settings:set",(e,t)=>{e===this.plugin.id&&this.fallbacks.setSettings(t)}),this.proxiedOn=new Proxy({},{get:(e,t)=>this.target?this.target.on[t]:(...e)=>{this.onQueue.push({method:t,args:e})}}),this.proxiedTarget=new Proxy({},{get:(e,t)=>this.target?this.target[t]:"on"===t?this.proxiedOn:Object.keys(this.fallbacks).includes(t)?(...e)=>(this.targetQueue.push({method:t,args:e,resolve:()=>{}}),this.fallbacks[t](...e)):(...e)=>new Promise(n=>{this.targetQueue.push({method:t,args:e,resolve:n})})})}async setRealTarget(e){this.target=e;for(const e of this.onQueue)this.target.on[e.method](...e.args);for(const e of this.targetQueue)e.resolve(await this.target[e.method](...e.args))}}function i(e,t){var n=e,o=Object(s.b)(),i=Object(s.a)(),a=s.c&&n.enableEarlyProxy;!i||!o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__&&a?(a=a?new r(n,i):null,(o.__VUE_DEVTOOLS_PLUGINS__=o.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)):i.emit("devtools-plugin:setup",e,t)}},2718:function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"AB",(function(){return C})),n.d(t,"ComponentResolve",(function(){return T})),n.d(t,"LazyHydrate",(function(){return V})),n.d(t,"Noop",(function(){return P})),n.d(t,"RenderHtml",(function(){return M})),n.d(t,"SsrOnly",(function(){return N})),n.d(t,"components",(function(){return A})),n.d(t,"default",(function(){return I})),n(2685),n(81),n(80),n(95);var s,o,r,i,a,c,u,l,d,h,f,p,m,v=n(2662),g=n(4),y=n(53),b=n.n(y),$=(y=n(20),n.n(y)),w={};
/*!
 * VUELAND - AbTool Tool
 * 2020 fjsilva <fjsilva@uolinc.com>
 */(y={get exports(){return w},set exports(e){w=e}}).exports=(r=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,u={years:i=31536e6,months:a=2592e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},l=function(e){return e instanceof m},d=function(e,t,n){return new m(e,n,t.$l)},h=function(e){return o.p(e)+"s"},f=function(e){return e<0?Math.ceil(e):Math.floor(e)},p=function(e,t){return e?e<0?{negative:!0,format:""+Math.abs(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},m=function(){function e(e,t,n){var s=this;return this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t?d(e*u[h(t)],this):("number"==typeof e?(this.$ms=e,this.parseFromMilliseconds()):"object"==typeof e?(Object.keys(e).forEach((function(t){s.$d[h(t)]=e[t]})),this.calMilliseconds()):"string"==typeof e&&(n=e.match(c))&&(t=n.slice(2).map((function(e){return null!=e?Number(e):0})),this.$d.years=t[0],this.$d.months=t[1],this.$d.weeks=t[2],this.$d.days=t[3],this.$d.hours=t[4],this.$d.minutes=t[5],this.$d.seconds=t[6],this.calMilliseconds()),this)}var t=e.prototype;return t.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*u[n]}),0)},t.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=f(e/i),this.$d.months=f((e%=i)/a),this.$d.days=f((e%=a)/864e5),this.$d.hours=f((e%=864e5)/36e5),this.$d.minutes=f((e%=36e5)/6e4),this.$d.seconds=f((e%=6e4)/1e3),this.$d.milliseconds=e%=1e3},t.toISOString=function(){var e=p(this.$d.years,"Y"),t=p(this.$d.months,"M"),n=+this.$d.days||0,s=(n=(this.$d.weeks&&(n+=7*this.$d.weeks),p(n,"D")),p(this.$d.hours,"H")),o=p(this.$d.minutes,"M"),r=this.$d.seconds||0,i=(r=(this.$d.milliseconds&&(r+=this.$d.milliseconds/1e3),p(r,"S")),e.negative||t.negative||n.negative||s.negative||o.negative||r.negative),a=s.format||o.format||r.format?"T":"";return"P"==(i=(i?"-":"")+"P"+e.format+t.format+n.format+a+s.format+o.format+r.format)||"-P"==i?"P0D":i},t.toJSON=function(){return this.toISOString()},t.format=function(e){e=e||"YYYY-MM-DDTHH:mm:ss";var t={Y:this.$d.years,YY:o.s(this.$d.years,2,"0"),YYYY:o.s(this.$d.years,4,"0"),M:this.$d.months,MM:o.s(this.$d.months,2,"0"),D:this.$d.days,DD:o.s(this.$d.days,2,"0"),H:this.$d.hours,HH:o.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:o.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:o.s(this.$d.seconds,2,"0"),SSS:o.s(this.$d.milliseconds,3,"0")};return e.replace(r,(function(e,n){return n||String(t[e])}))},t.as=function(e){return this.$ms/u[h(e)]},t.get=function(e){var t=this.$ms;return"milliseconds"===(e=h(e))?t%=1e3:t="weeks"===e?f(t/u[e]):this.$d[e],0===t?0:t},t.add=function(e,t,n){return t=t?e*u[h(t)]:(l(e)?e:d(e,this)).$ms,d(this.$ms+t*(n?-1:1),this)},t.subtract=function(e,t){return this.add(e,t,!0)},t.locale=function(e){var t=this.clone();return t.$l=e,t},t.clone=function(){return d(this.$ms,this)},t.humanize=function(e){return s().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},e}(),function(e,t,n){o=(s=n)().$utils(),n.duration=function(e,t){var s=n.locale();return d(e,{$l:s},t)},n.isDuration=l;var r=t.prototype.add,i=t.prototype.subtract;t.prototype.add=function(e,t){return l(e)&&(e=e.asMilliseconds()),r.bind(this)(e,t)},t.prototype.subtract=function(e,t){return l(e)&&(e=e.asMilliseconds()),i.bind(this)(e,t)}}),y=w;$.a.extend(y);const O=n(103);class S extends g.FrontEnvironmentTool{constructor(){super(...arguments),this.chosen="default"}mount(e){const t=["testName","endTime","domain","path","draw","tag","use","sample","pick","slots","data"];b()(!0,this,Object.keys(e).filter(e=>t.includes(e)).reduce((t,n)=>(t[n]=e[n],t),{}));var n=()=>{if(this.sample instanceof Function)try{this.sample(this.chosen)}catch(e){console.error(e)}};return this.isValidTime()?this.use?(this.chosen=this.use,n(),this.use):(this.checkCookieIntegrity(),this.chosen=this.getCandidate(),n(),this.chosen):"default"}isValidTime(){if((e=$()(this.endTime,"YYYY-MM-DD HH[:]mm")).isValid()){var e,t=(e=$.a.duration(e.diff($()(new Date)))).asHours();if(this.expires=e.asDays(),0<=t)return!0;console.warn(`[VUELAND-AB] TestAB "${this.testName}" has expired!`)}else console.error(`Invalid test date: "${this.testName}"`);return(()=>{O.remove(this.cookieName)})(),!1}checkCookieIntegrity(){var{expires:e,domain:t,path:n}=this.parseCookieValue();(e&&e!==this.endTime||t&&t!==this.domain&&t!=this.data.domain||n&&n!=this.path&&n!=this.data.path)&&O.remove(this.cookieName)}getCandidate(){var e=this.parseCookieValue().value;return e&&this.slots.includes(e)?e:this.runPick()}get cookieName(){return"vueland-ab-"+this.testName}runPick(){var e=this.firePick(this.slots,this.draw);if(this.mountCookie(e),this.pick instanceof Function)try{this.pick(e)}catch(e){console.error(e)}return e}firePick(e,t={}){var n=e,s=[];let o=0;for(let e=0;e<n.length;e++){var r=n[e],i=t[r];i&&(s.push([r,o+i]),o+=i)}if(o){var a=Math.floor(Math.random()*o);for(let e=0;e<s.length;e++)if(s[e][1]>a)return s[e][0]}return n[Math.floor(Math.random()*n.length)]}mountCookie(e){var t=this.endTime;e=e+`|${this.domain||this.data.domain}|${this.path||this.data.path}|`+t,t={expires:this.expires?+this.expires:7};return this.path&&(t.path=this.path),O.set(this.cookieName,e,t),this.parseCookieValue()}parseCookieValue(){var e=O.get(this.cookieName),[t,n,s,o]=(e||"").split("|");return{value:t,domain:n,path:s,expires:o,raw:e}}}var _=Object.defineProperty,k=Object.getOwnPropertyDescriptor,j=(y=(e,t,n,s)=>{for(var o,r=1<s?void 0:s?k(t,n):t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=(s?o(t,n,r):o(r))||r);return s&&r&&_(t,n,r),r},n(103),class extends g.ComponentBase{constructor(){super(...arguments),this.chosen="default",this.classes="ab-w"}async dispatch(e){var t=!(!this.domain||this.domain==this.tools.request.domain)||!(!this.path||this.path==this.tools.request.uri);e({domain:this.tools.request.domain,path:this.tools.request.uri,always:t?"default":void 0})}created(){}render(e){var t,n;return this.chosen?(n=this.use||this.data.always||this.always||this.chosen,(t=this.$slots[n])&&1==t.length&&t[0].tag?(t[0].children[0].componentOptions.propsData.stateAlias=this.testName+"-"+n+"-"+(new Date).getTime(),t[0].data={attrs:{class:this.use?"":this.classes}},t[0]):(t=0<(n=Object.keys(this.$slots)).length?n[0]:"default",n=this.$slots.default||this.$slots[t],e(this.tag,[n]))):e()}mounted(){this.chosen=(new S).mount({testName:this.testName,endTime:this.endTime,domain:this.domain||void 0,path:this.path||void 0,slots:Object.keys(this.$slots),draw:this.draw||null,sample:e=>{this.$emit("sample",e)},pick:e=>{this.$emit("pick",e)},data:this.data}),this.chosen&&this.use&&(this.chosen=this.use),(()=>{this.classes=""})()}});function E(e,t,n,s,o,r,i,a){var c,u,l="function"==typeof e?e.options:e;return t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),s&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c&&(l.functional?(l._injectStyles=c,u=l.render,l.render=function(e,t){return c.call(t),u(e,t)}):(t=l.beforeCreate,l.beforeCreate=t?[].concat(t,c):[c])),{exports:e,options:l}}y([Object(g.Prop)({type:String,default:()=>"div"})],j.prototype,"tag",2),y([Object(g.Prop)({type:Object})],j.prototype,"draw",2),y([Object(g.Prop)({type:String,default:()=>"vueland-ab-cookie"})],j.prototype,"testName",2),y([Object(g.Prop)({type:String,default:()=>null})],j.prototype,"domain",2),y([Object(g.Prop)({type:String,default:()=>null})],j.prototype,"path",2),y([Object(g.Prop)({type:String,default:()=>null})],j.prototype,"always",2),y([Object(g.Prop)({type:String,default:()=>null})],j.prototype,"use",2),y([Object(g.Prop)({type:String,default:()=>null})],j.prototype,"endTime",2),y([Object(g.Prop)({type:Function,default:()=>null})],j.prototype,"sample",2),y([Object(g.Prop)({type:Function,default:()=>null})],j.prototype,"pick",2);const C=E(j=y([Object(g.Component)({name:"AB"})],j),null,null,!1,null,null,null,null).exports;Object.defineProperty,Object.getOwnPropertyDescriptor,y=class extends g.ComponentBase{constructor(){super(...arguments),this.version="Noop"}getAliasSchemaFromConfig(){var e=this.config||{},t=e.components||{},n=e.multipleVersions||{},s={};for(const e of Object.keys(n))for(const t of n[e])s[t]=e;for(const e of Object.keys(t)){var o=t[e].version;o&&(s[e]=o)}return s}created(){var e=this.getAliasSchemaFromConfig(),t=this.$options,n=(e=e[t.componentToResolve]||"default",t.versionSchema[e]);n||(e=`[resolver-error] Version (${e}) of component (${t.componentToResolve}) does not exist but has been defined in config`,"undefined"==typeof window?this.tools.log.error(new Error(e)):console.error(e)),this.version=n||"Noop"}};const T=E(((e,t,n,s)=>{for(var o,r=t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=o(r)||r);return r})([Object(g.Component)({name:"ComponentResolve"})],y),(function(){var e=this._self._c;return this._self._setupProxy,e(this.version,{tag:"component"})}),[],!1,null,null,null,null).exports;Object.defineProperty,Object.getOwnPropertyDescriptor,j=class extends g.ComponentBase{};const P=E(((e,t,n,s)=>{for(var o,r=t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=o(r)||r);return r})([Object(g.Component)({name:"Noop"})],j),(function(){var e=this._self._c;return this._self._setupProxy,e("div")}),[],!1,null,null,null,null).exports;var D=Object.defineProperty,x=Object.getOwnPropertyDescriptor;y=(e,t,n,s)=>{for(var o,r=1<s?void 0:s?x(t,n):t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=(s?o(t,n,r):o(r))||r);return s&&r&&D(t,n,r),r};(j=class extends g.ComponentBase{}).ssrOnly=!0,y([Object(g.Prop)()],j.prototype,"content",2),y([Object(g.Prop)({default:()=>!1})],j.prototype,"inline",2);const M=E(y([Object(g.Component)({name:"RenderHtml"})],j),(function(){var e=this,t=e._self._c;return e._self._setupProxy,t(!1!==e.inline?"span":"div",{tag:"component",domProps:{innerHTML:e._s(e.content)}})}),[],!1,null,null,null,null).exports;Object.defineProperty,Object.getOwnPropertyDescriptor;(y=class extends g.ComponentBase{render(e){return e("div",{attrs:{ssrOnly:""}},null==(e=this.$slots.default)?void 0:e.slice(0,1))}}).ssrOnly=!0;const N=E(((e,t,n,s)=>{for(var o,r=t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=o(r)||r);return r})([Object(g.Component)({name:"SsrOnly"})],y),null,null,!1,null,null,null,null).exports,A=Object.freeze(Object.defineProperty({__proto__:null,AB:C,ComponentResolve:T,Noop:P,RenderHtml:M,SsrOnly:N},Symbol.toStringTag,{value:"Module"})),I={_installed:!1,install(e){if(!this._installed){this._installed=!0;for(const t in A)e.component(t,A[t])}}};let R=null;"undefined"!=typeof window?R=window.Vue:void 0!==e&&(R=e.Vue),R&&R.use(I);const V=v.default.default||v.default}.call(this,n(45))},2871:function(e,t,n){var s,o;
/*!
 * JavaScript Cookie v2.2.1
 * https://github.com/js-cookie/js-cookie
 *
 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack
 * Released under the MIT license
 */void 0!==(n="function"==typeof(s=o=function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n,s=arguments[e];for(n in s)t[n]=s[n]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(s){function o(){}function r(t,n,r){if("undefined"!=typeof document){"number"==typeof(r=e({path:"/"},o.defaults,r)).expires&&(r.expires=new Date(+new Date+864e5*r.expires)),r.expires=r.expires?r.expires.toUTCString():"";try{var i=JSON.stringify(n);/^[\{\[]/.test(i)&&(n=i)}catch(t){}n=s.write?s.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var a,c="";for(a in r)r[a]&&(c+="; "+a,!0!==r[a])&&(c+="="+r[a].split(";")[0]);return document.cookie=t+"="+n+c}}function i(e,n){if("undefined"!=typeof document){for(var o={},r=document.cookie?document.cookie.split("; "):[],i=0;i<r.length;i++){var a=r[i].split("="),c=a.slice(1).join("=");n||'"'!==c.charAt(0)||(c=c.slice(1,-1));try{var u=t(a[0]);c=(s.read||s)(c,u)||t(c);if(n)try{c=JSON.parse(c)}catch(e){}if(o[u]=c,e===u)break}catch(e){}}return e?o[e]:o}}return o.set=r,o.get=function(e){return i(e,!1)},o.getJSON=function(e){return i(e,!0)},o.remove=function(t,n){r(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}((function(){}))})?s.call(t,n,t,e):s)&&(e.exports=n),e.exports=o()},3061:function(e,t,n){"use strict";(function(e){n(2685),n(81),n(80),n(95),Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var s=n(2662),o=n(4);const r=n(53),i=n(20);var a,c,u,l,d,h,f,p,m,v,g,y,b,$={},w=((w={get exports(){return $},set exports(e){$=e}}).exports=(u=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,h=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f={years:l=31536e6,months:d=2592e6,days:864e5,hours:36e5,minutes:6e4,seconds:1e3,milliseconds:1,weeks:6048e5},p=function(e){return e instanceof b},m=function(e,t,n){return new b(e,n,t.$l)},v=function(e){return c.p(e)+"s"},g=function(e){return e<0?Math.ceil(e):Math.floor(e)},y=function(e,t){return e?e<0?{negative:!0,format:""+Math.abs(e)+t}:{negative:!1,format:""+e+t}:{negative:!1,format:""}},b=function(){function e(e,t,n){var s=this;return this.$d={},this.$l=n,void 0===e&&(this.$ms=0,this.parseFromMilliseconds()),t?m(e*f[v(t)],this):("number"==typeof e?(this.$ms=e,this.parseFromMilliseconds()):"object"==typeof e?(Object.keys(e).forEach((function(t){s.$d[v(t)]=e[t]})),this.calMilliseconds()):"string"==typeof e&&(n=e.match(h))&&(t=n.slice(2).map((function(e){return null!=e?Number(e):0})),this.$d.years=t[0],this.$d.months=t[1],this.$d.weeks=t[2],this.$d.days=t[3],this.$d.hours=t[4],this.$d.minutes=t[5],this.$d.seconds=t[6],this.calMilliseconds()),this)}var t=e.prototype;return t.calMilliseconds=function(){var e=this;this.$ms=Object.keys(this.$d).reduce((function(t,n){return t+(e.$d[n]||0)*f[n]}),0)},t.parseFromMilliseconds=function(){var e=this.$ms;this.$d.years=g(e/l),this.$d.months=g((e%=l)/d),this.$d.days=g((e%=d)/864e5),this.$d.hours=g((e%=864e5)/36e5),this.$d.minutes=g((e%=36e5)/6e4),this.$d.seconds=g((e%=6e4)/1e3),this.$d.milliseconds=e%=1e3},t.toISOString=function(){var e=y(this.$d.years,"Y"),t=y(this.$d.months,"M"),n=+this.$d.days||0,s=(n=(this.$d.weeks&&(n+=7*this.$d.weeks),y(n,"D")),y(this.$d.hours,"H")),o=y(this.$d.minutes,"M"),r=this.$d.seconds||0,i=(r=(this.$d.milliseconds&&(r+=this.$d.milliseconds/1e3),y(r,"S")),e.negative||t.negative||n.negative||s.negative||o.negative||r.negative),a=s.format||o.format||r.format?"T":"";return"P"==(i=(i?"-":"")+"P"+e.format+t.format+n.format+a+s.format+o.format+r.format)||"-P"==i?"P0D":i},t.toJSON=function(){return this.toISOString()},t.format=function(e){e=e||"YYYY-MM-DDTHH:mm:ss";var t={Y:this.$d.years,YY:c.s(this.$d.years,2,"0"),YYYY:c.s(this.$d.years,4,"0"),M:this.$d.months,MM:c.s(this.$d.months,2,"0"),D:this.$d.days,DD:c.s(this.$d.days,2,"0"),H:this.$d.hours,HH:c.s(this.$d.hours,2,"0"),m:this.$d.minutes,mm:c.s(this.$d.minutes,2,"0"),s:this.$d.seconds,ss:c.s(this.$d.seconds,2,"0"),SSS:c.s(this.$d.milliseconds,3,"0")};return e.replace(u,(function(e,n){return n||String(t[e])}))},t.as=function(e){return this.$ms/f[v(e)]},t.get=function(e){var t=this.$ms;return"milliseconds"===(e=v(e))?t%=1e3:t="weeks"===e?g(t/f[e]):this.$d[e],0===t?0:t},t.add=function(e,t,n){return t=t?e*f[v(t)]:(p(e)?e:m(e,this)).$ms,m(this.$ms+t*(n?-1:1),this)},t.subtract=function(e,t){return this.add(e,t,!0)},t.locale=function(e){var t=this.clone();return t.$l=e,t},t.clone=function(){return m(this.$ms,this)},t.humanize=function(e){return a().add(this.$ms,"ms").locale(this.$l).fromNow(!e)},t.milliseconds=function(){return this.get("milliseconds")},t.asMilliseconds=function(){return this.as("milliseconds")},t.seconds=function(){return this.get("seconds")},t.asSeconds=function(){return this.as("seconds")},t.minutes=function(){return this.get("minutes")},t.asMinutes=function(){return this.as("minutes")},t.hours=function(){return this.get("hours")},t.asHours=function(){return this.as("hours")},t.days=function(){return this.get("days")},t.asDays=function(){return this.as("days")},t.weeks=function(){return this.get("weeks")},t.asWeeks=function(){return this.as("weeks")},t.months=function(){return this.get("months")},t.asMonths=function(){return this.as("months")},t.years=function(){return this.get("years")},t.asYears=function(){return this.as("years")},e}(),function(e,t,n){c=(a=n)().$utils(),n.duration=function(e,t){var s=n.locale();return m(e,{$l:s},t)},n.isDuration=p;var s=t.prototype.add,o=t.prototype.subtract;t.prototype.add=function(e,t){return p(e)&&(e=e.asMilliseconds()),s.bind(this)(e,t)},t.prototype.subtract=function(e,t){return p(e)&&(e=e.asMilliseconds()),o.bind(this)(e,t)}}),$);
/*!
 * VUELAND - AbTool Tool
 * 2020 fjsilva <fjsilva@uolinc.com>
 */i.extend(w);const O=n(103);class S extends o.FrontEnvironmentTool{constructor(){super(...arguments),this.chosen="default"}mount(e){const t=["testName","endTime","domain","path","draw","tag","use","sample","pick","slots","data"];r(!0,this,Object.keys(e).filter(e=>t.includes(e)).reduce((t,n)=>(t[n]=e[n],t),{}));var n=()=>{if(this.sample instanceof Function)try{this.sample(this.chosen)}catch(e){console.error(e)}};return this.isValidTime()?this.use?(this.chosen=this.use,n(),this.use):(this.checkCookieIntegrity(),this.chosen=this.getCandidate(),n(),this.chosen):"default"}isValidTime(){if((e=i(this.endTime,"YYYY-MM-DD HH[:]mm")).isValid()){var e,t=(e=i.duration(e.diff(i(new Date)))).asHours();if(this.expires=e.asDays(),0<=t)return!0;console.warn(`[VUELAND-AB] TestAB "${this.testName}" has expired!`)}else console.error(`Invalid test date: "${this.testName}"`);return(()=>{O.remove(this.cookieName)})(),!1}checkCookieIntegrity(){var{expires:e,domain:t,path:n}=this.parseCookieValue();(e&&e!==this.endTime||t&&t!==this.domain&&t!=this.data.domain||n&&n!=this.path&&n!=this.data.path)&&O.remove(this.cookieName)}getCandidate(){var e=this.parseCookieValue().value;return e&&this.slots.includes(e)?e:this.runPick()}get cookieName(){return"vueland-ab-"+this.testName}runPick(){var e=this.firePick(this.slots,this.draw);if(this.mountCookie(e),this.pick instanceof Function)try{this.pick(e)}catch(e){console.error(e)}return e}firePick(e,t={}){var n=e,s=[];let o=0;for(let e=0;e<n.length;e++){var r=n[e],i=t[r];i&&(s.push([r,o+i]),o+=i)}if(o){var a=Math.floor(Math.random()*o);for(let e=0;e<s.length;e++)if(s[e][1]>a)return s[e][0]}return n[Math.floor(Math.random()*n.length)]}mountCookie(e){var t=this.endTime;e=e+`|${this.domain||this.data.domain}|${this.path||this.data.path}|`+t,t={expires:this.expires?+this.expires:7};return this.path&&(t.path=this.path),O.set(this.cookieName,e,t),this.parseCookieValue()}parseCookieValue(){var e=O.get(this.cookieName),[t,n,s,o]=(e||"").split("|");return{value:t,domain:n,path:s,expires:o,raw:e}}}var _=Object.defineProperty,k=Object.getOwnPropertyDescriptor,j=(w=(e,t,n,s)=>{for(var o,r=1<s?void 0:s?k(t,n):t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=(s?o(t,n,r):o(r))||r);return s&&r&&_(t,n,r),r},n(103),class extends o.ComponentBase{constructor(){super(...arguments),this.chosen="default",this.classes="ab-w"}async dispatch(e){var t=!(!this.domain||this.domain==this.tools.request.domain)||!(!this.path||this.path==this.tools.request.uri);e({domain:this.tools.request.domain,path:this.tools.request.uri,always:t?"default":void 0})}created(){}render(e){var t,n;return this.chosen?(n=this.use||this.data.always||this.always||this.chosen,(t=this.$slots[n])&&1==t.length&&t[0].tag?(t[0].children[0].componentOptions.propsData.stateAlias=this.testName+"-"+n+"-"+(new Date).getTime(),t[0].data={attrs:{class:this.use?"":this.classes}},t[0]):(t=0<(n=Object.keys(this.$slots)).length?n[0]:"default",n=this.$slots.default||this.$slots[t],e(this.tag,[n]))):e()}mounted(){this.chosen=(new S).mount({testName:this.testName,endTime:this.endTime,domain:this.domain||void 0,path:this.path||void 0,slots:Object.keys(this.$slots),draw:this.draw||null,sample:e=>{this.$emit("sample",e)},pick:e=>{this.$emit("pick",e)},data:this.data}),this.chosen&&this.use&&(this.chosen=this.use),(()=>{this.classes=""})()}});function E(e,t,n,s,o,r,i,a){var c,u,l="function"==typeof e?e.options:e;return t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),s&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c&&(l.functional?(l._injectStyles=c,u=l.render,l.render=function(e,t){return c.call(t),u(e,t)}):(t=l.beforeCreate,l.beforeCreate=t?[].concat(t,c):[c])),{exports:e,options:l}}w([o.Prop({type:String,default:()=>"div"})],j.prototype,"tag",2),w([o.Prop({type:Object})],j.prototype,"draw",2),w([o.Prop({type:String,default:()=>"vueland-ab-cookie"})],j.prototype,"testName",2),w([o.Prop({type:String,default:()=>null})],j.prototype,"domain",2),w([o.Prop({type:String,default:()=>null})],j.prototype,"path",2),w([o.Prop({type:String,default:()=>null})],j.prototype,"always",2),w([o.Prop({type:String,default:()=>null})],j.prototype,"use",2),w([o.Prop({type:String,default:()=>null})],j.prototype,"endTime",2),w([o.Prop({type:Function,default:()=>null})],j.prototype,"sample",2),w([o.Prop({type:Function,default:()=>null})],j.prototype,"pick",2);w=E(j=w([o.Component({name:"AB"})],j),null,null,!1,null,null,null,null).exports,Object.defineProperty,Object.getOwnPropertyDescriptor,j=class extends o.ComponentBase{constructor(){super(...arguments),this.version="Noop"}getAliasSchemaFromConfig(){var e=this.config||{},t=e.components||{},n=e.multipleVersions||{},s={};for(const e of Object.keys(n))for(const t of n[e])s[t]=e;for(const e of Object.keys(t)){var o=t[e].version;o&&(s[e]=o)}return s}created(){var e=this.getAliasSchemaFromConfig(),t=this.$options,n=(e=e[t.componentToResolve]||"default",t.versionSchema[e]);n||(e=`[resolver-error] Version (${e}) of component (${t.componentToResolve}) does not exist but has been defined in config`,"undefined"==typeof window?this.tools.log.error(new Error(e)):console.error(e)),this.version=n||"Noop"}},j=E(((e,t,n,s)=>{for(var o,r=t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=o(r)||r);return r})([o.Component({name:"ComponentResolve"})],j),(function(){var e=this._self._c;return this._self._setupProxy,e(this.version,{tag:"component"})}),[],!1,null,null,null,null).exports,Object.defineProperty,Object.getOwnPropertyDescriptor;var C,T=class extends o.ComponentBase{},P=(T=E(((e,t,n,s)=>{for(var o,r=t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=o(r)||r);return r})([o.Component({name:"Noop"})],T),(function(){var e=this._self._c;return this._self._setupProxy,e("div")}),[],!1,null,null,null,null).exports,Object.defineProperty),D=Object.getOwnPropertyDescriptor,x=(e,t,n,s)=>{for(var o,r=1<s?void 0:s?D(t,n):t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=(s?o(t,n,r):o(r))||r);return s&&r&&P(t,n,r),r};(C=class extends o.ComponentBase{}).ssrOnly=!0,x([o.Prop()],C.prototype,"content",2),x([o.Prop({default:()=>!1})],C.prototype,"inline",2),x=E(x([o.Component({name:"RenderHtml"})],C),(function(){var e=this,t=e._self._c;return e._self._setupProxy,t(!1!==e.inline?"span":"div",{tag:"component",domProps:{innerHTML:e._s(e.content)}})}),[],!1,null,null,null,null).exports,Object.defineProperty,Object.getOwnPropertyDescriptor,(C=class extends o.ComponentBase{render(e){return e("div",{attrs:{ssrOnly:""}},null==(e=this.$slots.default)?void 0:e.slice(0,1))}}).ssrOnly=!0,o=E(((e,t,n,s)=>{for(var o,r=t,i=e.length-1;0<=i;i--)(o=e[i])&&(r=o(r)||r);return r})([o.Component({name:"SsrOnly"})],C),null,null,!1,null,null,null,null).exports;const M=Object.freeze(Object.defineProperty({__proto__:null,AB:w,ComponentResolve:j,Noop:T,RenderHtml:x,SsrOnly:o},Symbol.toStringTag,{value:"Module"}));C={_installed:!1,install(e){if(!this._installed){this._installed=!0;for(const t in M)e.component(t,M[t])}}};let N=null;"undefined"!=typeof window?N=window.Vue:void 0!==e&&(N=e.Vue),N&&N.use(C),e=s.default||s,t.AB=w,t.ComponentResolve=j,t.LazyHydrate=e,t.Noop=T,t.RenderHtml=x,t.SsrOnly=o,t.components=M,t.default=C}).call(this,n(45))},3065:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return c})),n.d(t,"getRefsByIconList",(function(){return a})),n.d(t,"registryStyles",(function(){return o})),n.d(t,"useSvgRegistry",(function(){return r})),n(81),n(80);var s=n(0);t=n(37);const o="width: 0; height: 0; overflow: hidden",r=Object(t.defineStore)("svgRegistry",()=>{let e;const t=Object(s.ref)(0),n=new Map,r=Object(s.reactive)({});function i({lib:e,name:t},n=!0){var s;null!=(s=null==r?void 0:r[e])&&s[t]||(r[e]=r[e]||{},r[e][t]=n)}function a(){return n.size?Object.entries(r).map(([e,t])=>e+":"+Object.entries(t).reduce((e,[t,n])=>(n||e.push(t),e),[]).sort().join(",")).filter(e=>!e.endsWith(":")).join(":::"):""}return"undefined"!=typeof window&&setTimeout(()=>{var e=document.getElementById("svg-registry");if(e)for(const s of Array.from(e.children)){var[t,...n]=null==(t=s.id)?void 0:t.split(/-/);i({lib:t,name:n.join("-")},!0)}},100),{size:t,list:r,registerSvg:function(s){var c;n.set(s.lib+":"+s.name,s),t.value=n.size,"undefined"==typeof window?i(s,!1):(i(s,c=!!document.getElementById(s.lib+"-"+s.name)),c||(clearTimeout(e),e=setTimeout(()=>{var e;e=assetsBaseUrl+"?loadComponent=Media&contentType=json&loadSvgs="+a(),fetch(e).then(e=>e.json()).then(e=>{let t=document.getElementById("svg-registry");t||((t=document.createElement("svg")).setAttribute("id","svg-registry"),t.setAttribute("xmlns","http://www.w3.org/2000/svg"),t.setAttribute("style",o),document.body.appendChild(t));for(const n of e)r[n.lib][n.name]||(t.innerHTML+=n.data||"",i(n))}).catch(e=>console.error(e))},400)))},getSvgSymbols:function(e=!1){if(n.size){var t=Array.from(n.values());for(const e in t)i(t[e]),t[e].data=function({lib:e,name:t,data:n}){var s;const o=null==(s=n.match(/viewBox=["'](.*?)["']/i))?void 0:s[1];return n.replace(/<\/svg>/,"</symbol>").replace(/<svg.*?>/,n=>n.replace(/^<svg.*?>/,`<symbol id="${e}-${t}" viewBox="${o}">`)).replace(/\s+/," ")}(t[e]);return e?`<svg id="svg-registry" xmlns="http://www.w3.org/2000/svg" style="${o}">${t.map(({data:e})=>e).join("")}</svg>`:t}return!1},getNotLoadedSvgRefs:a,explodeSvgRefs:function(e){return e.split(":::").reduce((e,t)=>{var[t,n]=t.split(":");return e[t]=n.split(","),e},{})}}});const i=function(e,t,n,s,o,r,i,a){var c,u,l="function"==typeof e?e.options:e;return t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),s&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c&&(l.functional?(l._injectStyles=c,u=l.render,l.render=function(e,t){return c.call(t),u(e,t)}):(t=l.beforeCreate,l.beforeCreate=t?[].concat(t,c):[c])),{exports:e,options:l}}(Object(s.defineComponent)({__name:"VueSvgRegistry",setup(e){const t=r(),n=Object(s.ref)("");return Object(s.onBeforeMount)(()=>{var e;t.size&&(e=t.getSvgSymbols(),Array.isArray(e))&&(n.value=e.join(""))}),{__sfc:!0,store:t,svgs:n,registryStyles:o}}}),(function(){var e=this._self._c,t=this._self._setupProxy;return e("svg",{style:t.registryStyles,attrs:{id:"svg-registry",xmlns:"http://www.w3.org/2000/svg"},domProps:{innerHTML:this._s(t.svgs)}})}),[],!1,null,null,null,null).exports;function a(e){if(e.length){var t={};for(const n of e)n.lib&&n.name&&(t[n.lib]=t[n.lib]||new Set,t[n.lib].add(n.name));return Object.entries(t).map(([e,t])=>e+":"+[...t].sort().join(",")).join(":::")}return""}const c={install(e){e.component("VueSvgRegistry",i)}}},3105:function(e,t,n){"use strict";n.r(t),n(95);var s=n(0),o=n.n(s),r=n(37),i=n(4),a=n(55),c=n(2718),u=n(2807);o.a.config.ignoredElements=["ignore","media-content"],o.a.config.silent=!0,o.a.use(r.PiniaVuePlugin),o.a.use(i.VueDI),o.a.directive("mounted",{inserted:function(e,t){t.value()}}),o.a.directive("started",{bind:function(e,t){t.value()}}),/debug=true/.test(window.location.search)&&new PerformanceObserver(e=>e.getEntries().forEach(e=>console.log("VUELAND: longtask",e.toJSON()))).observe({entryTypes:["longtask"]}),window.history.scrollRestoration="auto";const l=new Map,d=new ResizeObserver((e,t)=>{for(const o of e){var n=o.target;l.set(n.dataset.rid,{target:n,isInViewport:(s=o.contentRect).top>=-s.height&&s.left>=-s.width&&s.right<=(window.innerWidth||document.documentElement.clientWidth)+s.width&&s.bottom<=(window.innerHeight||document.documentElement.clientHeight)+s.height,height:o.contentRect.height}),t.unobserve(n)}var s});Array.from(document.querySelectorAll("[data-rid]")).forEach(e=>d.observe(e)),Object.defineProperty(o.a.prototype,"$renderInfo",{get:()=>l});let h=!1;t=async()=>{if(!0!==h&&!0!==/debugDisableApp=true/.test(window.location.search)){h=!0;const[e]=window.renderStack||[],t=u.a[null==e?void 0:e.component];if(!e||null==e||!e.component||!t)throw new Error("Could not identify input component in window.renderStack");new Promise(e=>window.requestAnimationFrame(()=>{performance.mark("uol-vueland-vue-app-store:start");var t=JSON.parse(document.getElementById("VUELAND_STATE").textContent),n=JSON.parse(document.getElementById("VUELAND_CORE_STATE").textContent),s=Object(r.createPinia)();s.state.value={...t,"core:general":n.general},Object(i.useConfigStore)(s).setData(n.config),Object(i.useRequestStore)(s).setData(n.request),performance.measure("uol-vueland-vue-app-store","uol-vueland-vue-app-store:start"),e({pinia:s})})).then(async({pinia:r})=>{let u;performance.mark("uol-vueland-vue-app-init:start"),u=(u=t.global?await Promise.resolve().then(n.bind(null,4))[e.component]:(await n(2872)(`./${e.component}/`+e.component.replace(/(?!^)([A-Z]+)/g,"-$1").toLowerCase())).default).extend({beforeMount(){this.$nextTick(()=>{(window.__async_resources||[]).forEach(e=>this.loadEmbedScript(e.attrs))})}}),delete e.__initiator__;try{window.__vuelandAppConfigRuntime__=null==(h=r.state.value["core:config"])?void 0:h.state}catch(r){console.error(r)}o.a.use(a.default,{defaults:{graphProject:"jupiter"},config:(null==(h=null==(h=r.state.value["core:config"])?void 0:h.state)?void 0:h.metrics)||{}});const l={ab:new i.AbTool},d=Object(i.createDIContainer)(r,l);r.use(({store:e})=>{e.$tools=Object(s.markRaw)(l),e.$vueDI=Object(s.markRaw)(d)}),new o.a({pinia:r,vueDI:d,components:{[e.component]:u,...c.components},render:t=>t(u,{props:e})}).$mount("[data-server-rendered]"),performance.measure("uol-vueland-vue-app-init","uol-vueland-vue-app-init:start");var h=()=>{document.dispatchEvent(new CustomEvent("hydration:appReady")),window.dispatchEvent(new CustomEvent("scroll"))};window.requestIdleCallback?window.requestIdleCallback(h,{timeout:500}):setTimeout(h,1e3/60)})}},window.addEventListener("DOMContentLoaded",t),window.addEventListener("pageshow",t,{once:!0})},4:function(e,t,n){"use strict";n.r(t);var s=n(12),o=(n.d(t,"AbTool",(function(){return s.a})),n.d(t,"BackEnvironment",(function(){return s.b})),n.d(t,"BackEnvironmentApi",(function(){return s.q})),n.d(t,"BackEnvironmentTool",(function(){return s.n})),n.d(t,"BrandTheme",(function(){return s.H})),n.d(t,"ComponentBase",(function(){return s.c})),n.d(t,"DepInject",(function(){return s.d})),n.d(t,"Environment",(function(){return s.e})),n.d(t,"EventEmitter",(function(){return s.z})),n.d(t,"FrontEnvironment",(function(){return s.f})),n.d(t,"FrontEnvironmentApi",(function(){return s.p})),n.d(t,"FrontEnvironmentTool",(function(){return s.m})),n.d(t,"Inject",(function(){return s.g})),n.d(t,"MixedEnvironment",(function(){return s.h})),n.d(t,"MixedEnvironmentApi",(function(){return s.r})),n.d(t,"MixedEnvironmentTool",(function(){return s.o})),n.d(t,"RequestFormat",(function(){return s.u})),n.d(t,"RequestProtocol",(function(){return s.i})),n.d(t,"ServerCache",(function(){return s.j})),n.d(t,"Tools",(function(){return s.k})),n.d(t,"VueDI",(function(){return s.l})),n.d(t,"buildServerCacheKey",(function(){return s.A})),n.d(t,"createDIContainer",(function(){return s.J})),n.d(t,"deepFreeze",(function(){return s.F})),n.d(t,"isDev",(function(){return s.y})),n.d(t,"isServerRendering",(function(){return s.x})),n.d(t,"makeCache",(function(){return s.B})),n.d(t,"once",(function(){return s.C})),n.d(t,"removeDisposables",(function(){return s.D})),n.d(t,"sort",(function(){return s.E})),n.d(t,"useComponentState",(function(){return s.I})),n.d(t,"useConfigStore",(function(){return s.G})),n.d(t,"useControlStore",(function(){return s.s})),n.d(t,"useDisposable",(function(){return s.w})),n.d(t,"useGeneralStore",(function(){return s.t})),n.d(t,"useRequestStore",(function(){return s.v})),n(24));n.d(t,"Component",(function(){return o.a})),n.d(t,"Emit",(function(){return o.b})),n.d(t,"InjectReactive",(function(){return o.d})),n.d(t,"Mixins",(function(){return o.e})),n.d(t,"Model",(function(){return o.f})),n.d(t,"ModelSync",(function(){return o.g})),n.d(t,"Prop",(function(){return o.h})),n.d(t,"PropSync",(function(){return o.i})),n.d(t,"Provide",(function(){return o.j})),n.d(t,"ProvideReactive",(function(){return o.k})),n.d(t,"Ref",(function(){return o.l})),n.d(t,"VModel",(function(){return o.m})),n.d(t,"Vue",(function(){return o.n})),n.d(t,"VueInject",(function(){return o.c})),n.d(t,"Watch",(function(){return o.o})),n(2661),n(2711),n(2712),n(53),n(20)},55:function(e,t,n){"use strict";n.r(t),n.d(t,"ClickType",(function(){return g})),n.d(t,"MetricEvent",(function(){return a})),n.d(t,"SlotsArea",(function(){return y})),n.d(t,"TemplateArea",(function(){return b})),n.d(t,"VueMetric",(function(){return L})),n.d(t,"default",(function(){return F})),n.d(t,"metricOnClick",(function(){return E})),n.d(t,"metricOnView",(function(){return C})),n.d(t,"observe",(function(){return x})),n.d(t,"setConfigs",(function(){return f})),n.d(t,"setEvent",(function(){return m})),n.d(t,"setGlobals",(function(){return h})),n.d(t,"setPluginConfigs",(function(){return p})),n.d(t,"useMetric",(function(){return V})),n(81),n(80);var s=n(0);const o="VueMetrics";var r=(e=>(e.author="author",e.central="central",e.channel="channel",e.charactersQuantity="charactersQuantity",e.collection="collection",e.graphProject="graphProject",e.loginFacebook="loginFacebook",e.loginGoogle="loginGoogle",e.loginUol="loginUol",e.mediaId="mediaId",e.mediaName="mediaName",e.mediaTitle="mediaTitle",e.paywallType="paywallType",e.pTemplate="pTemplate",e.publicationDate="publicationDate",e.tags="tags",e.typePublication="typePublication",e.uolid="uolid",e))({}),i=(e=>(e.action="action",e.area="area",e.category="category",e.clickType="clickType",e.label="label",e.position="position",e.slot="slot",e.videoId="videoId",e.videoTitle="videoTitle",e.nonInteraction="nonInteraction",e.impression="impression",e))({}),a=(e=>(e.metricOnClick="metricOnClick",e.metricOnView="metricOnView",e))(a||{});const c=new Map,u=new Map,l=new Map,d={viewMetricsDelay:2e3},h=e=>{for(var[t,n]of Object.entries(e))t in r&&n&&c.set(t,n)},f=e=>{if(e&&e.keys)for(var[t,n]of Object.entries(e.keys))l.set(t,n)},p=e=>{if(e)for(var[t,n]of Object.entries(e))d[t]=n},m=(e,t)=>{u.set(e,t)},v=(...e)=>{var t={};for(const o of e)for(var[n,s]of Object.entries(o))n in i?(t[n]=t[n]||{},"object"==typeof s?t[n]={...t[n],...s}:["string","number"].includes(typeof s)&&(t[n]={...t[n],___template:""+s})):t[n]=s.toString();return t};var g=(e=>(e.RECIRCULACAO="recirculacao",e.RECIRCULACAO_SERVICOS="recirculacao-servicos",e.RECIRCULACAO_EXTERNA="recirculacao-externa",e.INTERACAO_PADRAO="interacao-padrao",e.INTERACAO_OPCIONAL="interacao-opcional",e.IMPRESSAO="impressao",e))(g||{}),y=(e=>(e.HEADER_CONTEXTUAL="header-contextual",e.HEADER_SUFIX="header-sufix",e))(y||{}),b=(e=>(e.HEADER="header",e.TOPO_NOTICIA="topo-noticia",e.TEXTO_NOTICIA="texto-noticia",e.CHAMADAS="chamadas",e.RODAPE="rodape",e))(b||{});const $="undefined"!=typeof window&&JSON.parse(localStorage.getItem(o+"::debug")),w=e=>String(e).normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[\W_]+/g,"-").toLowerCase(),O=(e,...t)=>$&&console.debug.apply(console.debug,[o,e,...t]),S=e=>(...t)=>O.apply(O,[e,...t]),_="undefined"!=typeof window&&JSON.parse(localStorage.getItem(o+"::viewport::debug")),k=e=>(S("beforeResolve")(e),Object.entries(e).reduce((e,[t,n])=>{if(["string","number"].includes(typeof n))e[t]=""+n;else{var s=[n.___template||""];n.prefix&&(s.unshift(w(n.prefix)),delete n.prefix),n.suffix&&(s.push(w(n.suffix)),delete n.suffix);let o=s.join("-");for(const e in n)"___template"!==e&&(o=o.replace(new RegExp(`\\[${e}\\]`,"ig"),w(n[e]||"")));e[t]=o}return e},{}));function j(e,t={}){return function(...n){let s={};"string"==typeof n[0]&&([f,r]=n.shift().split(":"),s=null==(o=l.get(f))?void 0:o[r])&&!s.category&&(s.category=f);var o=(s||{}).sampling,r=v.apply(v,[s||{},...n]),i=k({...t,...r,...Object.fromEntries(c)});if(Object.hasOwnProperty.call(d,"renameProps"))for(var[a,h]of Object.entries(d.renameProps))Object.hasOwnProperty.call(i,a)&&(i[h]=i[a],delete i[a]);var f=u.get(e);o&&!_?(n=Math.round(100*Math.random()),r=S("(sampling)"),n<=o&&f?(f.call(f,i),r("raffle won",{raffle:n,sampling:o})):r("raffle lost",{raffle:n,sampling:o})):f&&f.call(f,i),S(`(${e})`)(i)}}const E=j(a.metricOnClick,{action:"clique",clickType:g.INTERACAO_PADRAO}),C=j(a.metricOnView,{action:"impressao",clickType:g.IMPRESSAO,impression:1,nonInteraction:1}),T=new Map,P=new Map,D=S("IntersectionObserver"),x=(e,t,n={})=>{const s=Object.assign({once:!0},n);T.set(e,n=>{"function"==typeof t&&t(n),s.once&&null!=M&&M.unobserve(e)}),D("start observing",e),null!=M&&M.observe(e)},M="undefined"!=typeof window?new IntersectionObserver(e=>{e.forEach(e=>{P.set(e.target,e.isIntersecting),e.isIntersecting&&(D("start debouce"),setTimeout(()=>{var t;P.get(e.target)?(D("registering event"),(t=T.get(e.target))&&t.call(t,e)):D("event aborted")},d.viewMetricsDelay))})},{}):null,N=e=>{if(e){if(e.registerTreeValue)return e;for(const t of["metric","metrics"])if("object"==typeof e[t]&&e[t].registerTreeValue)return e[t]}return null};function A(e){return null!=e&&"object"==typeof e}function I(e,t,n){A(t.value)&&!function e(t,n){var s=Object.keys(t),o=Object.keys(n);if(s.length===o.length){for(const o of s){var r=t[o],i=n[o],a=A(r)&&A(i);if(a&&!e(r,i)||!a&&r!==i)return}return 1}}(t.oldValue,t.value)&&(O("updating value",t.arg?"dataset":"register",t.oldValue,t.value),t.arg?e.dataset.localMetrics=JSON.stringify(t.value):(N(n.componentInstance)||N(n.context)).registerTreeValue(t.value))}const R={bind:function(e,t,n){const s=N(n.componentInstance)||N(n.context);var[n,r]=((null==t?void 0:t.arg)||"").split(":"),i=null==(i=l.get(n))?void 0:i[r];const a=(n,r,i)=>()=>{let a={},c={};if(i&&e.dataset[i])try{c=JSON.parse(e.dataset[i])}catch(a){console.error(a)}else if(e.dataset.metric)try{c=JSON.parse(e.dataset.metric)}catch(a){console.error(a)}if(!s)return console.warn(`VueMetrics: ${o} not found!, Did you forget to use useMetric on component setup?`),!1;var u;!1!==t.value&&("object"==typeof t.value&&(a=t.value),e.dataset.localMetrics&&(a=JSON.parse(e.dataset.localMetrics)),r&&!a.action&&(a.action=r),u=[t.arg,c,s.metrics||{},a||{}],O("beforeCompose",u),n.apply(n,u))};if(A(t.value)&&!t.arg&&s.registerTreeValue(t.value),"config"===r&&i?(O("config","fromConfig",i),s.registerTreeValue(i)):"config"===r&&(O("config","use key as category",n),s.registerTreeValue({category:n})),i){if((t.modifiers.viewport||t.modifiers.view)&&(O("viewport",e),x(e,a(C,null,"metricView"))),t.modifiers.click&&e.addEventListener("click",a(E,e.getAttribute("href")),{capture:!0,passive:!0,once:t.modifiers.once}),t.modifiers.hover&&e.addEventListener("mouseenter",a(E),{capture:!0,passive:!0,once:t.modifiers.once}),t.modifiers.submit&&e.addEventListener("submit",a(E),{capture:!0,passive:!0,once:t.modifiers.once}),t.modifiers["swipe-left"]){let n;e.addEventListener("touchstart",()=>n=e.scrollLeft,{capture:!0,passive:!0,once:t.modifiers.once}),e.addEventListener("touchend",()=>{n<e.scrollLeft&&a(E)()},{capture:!0,passive:!0,once:t.modifiers.once})}if(t.modifiers["swipe-right"]){let n;e.addEventListener("touchstart",()=>n=e.scrollLeft,{capture:!0,passive:!0,once:t.modifiers.once}),e.addEventListener("touchend",()=>{n>e.scrollLeft&&a(E)()},{capture:!0,passive:!0,once:t.modifiers.once})}}},update:I,componentUpdated:I};function V(){const e=Object(s.ref)({}),t=Object(s.inject)("metrics",{}),n=Object(s.computed)(()=>v(Object(s.unref)(t),Object(s.unref)(e)),{});function o(e){return function(...t){return"string"==typeof t[0]?t.splice(1,0,Object(s.unref)(n)):t.unshift(Object(s.unref)(n)),e.apply(e,t)}}Object(s.provide)("metrics",n);var r=o(E),i=o(C);return{metrics:n,metricOnClick:r,metricOnView:i,registerTreeValue:function(t){t=v(e.value||{},t),e.value=t,O("register",t)},getResolvedMetric:function(){return k(n)}}}const L=function(e,t,n,s,o,r,i,a){var c,u,l="function"==typeof e?e.options:e;return t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),s&&(l.functional=!0),r&&(l._scopeId="data-v-"+r),i?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),o&&o.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},l._ssrRegister=c):o&&(c=a?function(){o.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:o),c&&(l.functional?(l._injectStyles=c,u=l.render,l.render=function(e,t){return c.call(t),u(e,t)}):(t=l.beforeCreate,l.beforeCreate=t?[].concat(t,c):[c])),{exports:e,options:l}}(Object(s.defineComponent)({__name:"VueMetric",props:{tag:String,area:[String,Object],areaPrefix:String,areaSuffix:String,category:[String,Object],categoryPrefix:String,categorySuffix:String,label:[String,Object],labelPrefix:String,labelSuffix:String,clickType:[String,Object],clickTypePrefix:String,clickTypeSuffix:String,slotName:[String,Object],slotPrefix:String,slotSuffix:String,watch:Boolean},setup(e){const t=e,n=V();return e=()=>{var e=Object.entries(t).reduce((e,[t,n])=>{var s=/(Prefix|Suffix)$/,o=t.replace(/^slotName/,"slot").replace(/(Prefix|Suffix)$/,"");return["watch"].includes(t)||(n&&s.test(t)?(e[o]=e[o]||{},e[o][null==(t=t.match(s))?void 0:t[1].toLowerCase()]="string"==typeof n?w(n):n):n&&(e[o]=e[o]||{},"object"==typeof n?e[o]={...e[o],...n}:e[o].___template=String(n))),e},{});n.registerTreeValue(e)},Object(s.onBeforeMount)(e),t.watch&&Object(s.watch)(t,e,{onTrigger(e){O("watch",e)}}),{__sfc:!0,props:t,metric:n,updateMetric:e}}}),(function(){var e=this,t=e._self._c;return e._self._setupProxy,t(e.tag||"div",{tag:"component",attrs:{"data-metric-area":e.area,"data-metric-slot":e.slotName}},[e._t("default")],2)}),[],!1,null,null,null,null).exports,F={install(e,t={}){var n,s,{defaults:t,events:o,config:r}=Object.assign({defaults:{},events:{},config:{}},t);"undefined"!=typeof window&&(n='[aria-disabled="true"], [disabled] { pointer-events: none }',document.adoptedStyleSheets?((s=new CSSStyleSheet).insertRule(n),document.adoptedStyleSheets=[...document.adoptedStyleSheets,s]):((s=document.createElement("style")).innerHTML=n,document.getElementsByTagName("head")[0].appendChild(s))),h(t),f(r),Object.entries(o).forEach(([e,t])=>{m(e,t)}),e.directive("metric",R),e.component("VueMetric",L)}}}}]);