@roudanio/awesome-comment 0.9.9 → 0.9.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@ var AwesomeComment=function(){"use strict";/**
42
42
  * vue-i18n v10.0.5
43
43
  * (c) 2024 kazuya kawaguchi
44
44
  * Released under the MIT License.
45
- */const Ym="10.0.5";function Xm(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(dn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(dn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(dn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(dn().__INTLIFY_PROD_DEVTOOLS__=!1)}const He={UNEXPECTED_RETURN_TYPE:pm,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Ke(e,...t){return hs(e,null,void 0)}const Ji=Kt("__translateVNode"),qi=Kt("__datetimeParts"),Qi=Kt("__numberParts"),kc=Kt("__setPluralRules"),Tc=Kt("__injectWithOption"),eo=Kt("__dispose");function br(e){if(!re(e))return e;for(const t in e)if(it(e,t))if(!t.includes("."))re(e[t])&&br(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,i=!1;for(let o=0;o<r;o++){if(n[o]in s||(s[n[o]]=ce()),!re(s[n[o]])){i=!0;break}s=s[n[o]]}i||(s[n[r]]=e[t],delete e[t]),re(s[n[r]])&&br(s[n[r]])}return e}function to(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:i}=t,o=G(n)?n:ve(r)?ce():{[e]:ce()};if(ve(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(o[l]=o[l]||ce(),ds(u,o[l])):ds(u,o)}else j(a)&&ds(JSON.parse(a),o)}),s==null&&i)for(const a in o)it(o,a)&&br(o[a]);return o}function Ic(e){return e.type}function Sc(e,t,n){let r=re(t.messages)?t.messages:ce();"__i18nGlobal"in n&&(r=to(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(re(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(re(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Ec(e){return ke(nr,null,e,0)}const xc="__INTLIFY_META__",Oc=()=>[],Jm=()=>!1;let Cc=0;function Ac(e){return(t,n,r,s)=>e(n,r,or()||void 0,s)}const qm=()=>{const e=or();let t=null;return e&&(t=Ic(e)[xc])?{[xc]:t}:null};function no(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,i=cs?te:Ff;let o=ne(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&o?t.locale.value:j(e.locale)?e.locale:gr),l=i(t&&o?t.fallbackLocale.value:j(e.fallbackLocale)||ve(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(to(a.value,e)),c=i(G(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i(G(e.numberFormats)?e.numberFormats:{[a.value]:{}});let h=t?t.missingWarn:ne(e.missingWarn)||Ln(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ne(e.fallbackWarn)||Ln(e.fallbackWarn)?e.fallbackWarn:!0,w=t?t.fallbackRoot:ne(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,E=pe(e.missing)?e.missing:null,_=pe(e.missing)?Ac(e.missing):null,y=pe(e.postTranslation)?e.postTranslation:null,I=t?t.warnHtmlMessage:ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const C=t?t.modifiers:G(e.modifiers)?e.modifiers:{};let $=e.pluralRules||t&&t.pluralRules,L;L=(()=>{r&&cc(null);const T={version:Ym,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:C,pluralRules:$,missing:_===null?void 0:_,missingWarn:h,fallbackWarn:p,fallbackFormat:v,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:I,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};T.datetimeFormats=c.value,T.numberFormats=f.value,T.__datetimeFormatters=G(L)?L.__datetimeFormatters:void 0,T.__numberFormatters=G(L)?L.__numberFormatters:void 0;const x=Nm(T);return r&&cc(x),x})(),_r(L,a.value,l.value);function U(){return[a.value,l.value,u.value,c.value,f.value]}const Z=st({get:()=>a.value,set:T=>{a.value=T,L.locale=a.value}}),X=st({get:()=>l.value,set:T=>{l.value=T,L.fallbackLocale=l.value,_r(L,a.value,T)}}),J=st(()=>u.value),Ae=st(()=>c.value),ot=st(()=>f.value);function Yt(){return pe(y)?y:null}function ge(T){y=T,L.postTranslation=T}function B(){return E}function ie(T){T!==null&&(_=Ac(T)),E=T,L.missing=_}const Le=(T,x,F,W,Q,ee)=>{U();let Ie;try{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=t?Rm():void 0),Ie=T(L)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=void 0)}if(F!=="translate exists"&&Te(Ie)&&Ie===gs||F==="translate exists"&&!Ie){const[Ce,nt]=x();return t&&w?W(t):Q(Ce)}else{if(ee(Ie))return Ie;throw Ke(He.UNEXPECTED_RETURN_TYPE)}};function Rt(...T){return Le(x=>Reflect.apply(yc,null,[x,...T]),()=>Xi(...T),"translate",x=>Reflect.apply(x.t,x,[...T]),x=>x,x=>j(x))}function tt(...T){const[x,F,W]=T;if(W&&!re(W))throw Ke(He.INVALID_ARGUMENT);return Rt(x,F,Se({resolvedMessage:!0},W||{}))}function Ve(...T){return Le(x=>Reflect.apply(fc,null,[x,...T]),()=>Zi(...T),"datetime format",x=>Reflect.apply(x.d,x,[...T]),()=>nc,x=>j(x))}function jn(...T){return Le(x=>Reflect.apply(pc,null,[x,...T]),()=>Yi(...T),"number format",x=>Reflect.apply(x.n,x,[...T]),()=>nc,x=>j(x))}function Cr(T){return T.map(x=>j(x)||Te(x)||ne(x)?Ec(String(x)):x)}const Nt={normalize:Cr,interpolate:T=>T,type:"vnode"};function Xt(...T){return Le(x=>{let F;const W=x;try{W.processor=Nt,F=Reflect.apply(yc,null,[W,...T])}finally{W.processor=null}return F},()=>Xi(...T),"translate",x=>x[Ji](...T),x=>[Ec(x)],x=>ve(x))}function Jt(...T){return Le(x=>Reflect.apply(pc,null,[x,...T]),()=>Yi(...T),"number format",x=>x[Qi](...T),Oc,x=>j(x)||ve(x))}function Un(...T){return Le(x=>Reflect.apply(fc,null,[x,...T]),()=>Zi(...T),"datetime format",x=>x[qi](...T),Oc,x=>j(x)||ve(x))}function $t(T){$=T,L.pluralRules=$}function Wn(T,x){return Le(()=>{if(!T)return!1;const F=j(x)?x:a.value,W=k(F),Q=L.messageResolver(W,T);return Nn(Q)||qe(Q)||j(Q)},()=>[T],"translate exists",F=>Reflect.apply(F.te,F,[T,x]),Jm,F=>ne(F))}function Hn(T){let x=null;const F=Ql(L,l.value,a.value);for(let W=0;W<F.length;W++){const Q=u.value[F[W]]||{},ee=L.messageResolver(Q,T);if(ee!=null){x=ee;break}}return x}function b(T){const x=Hn(T);return x??(t?t.tm(T)||{}:{})}function k(T){return u.value[T]||{}}function A(T,x){if(s){const F={[T]:x};for(const W in F)it(F,W)&&br(F[W]);x=F[T]}u.value[T]=x,L.messages=u.value}function N(T,x){u.value[T]=u.value[T]||{};const F={[T]:x};if(s)for(const W in F)it(F,W)&&br(F[W]);x=F[T],ds(x,u.value[T]),L.messages=u.value}function R(T){return c.value[T]||{}}function d(T,x){c.value[T]=x,L.datetimeFormats=c.value,hc(L,T,x)}function m(T,x){c.value[T]=Se(c.value[T]||{},x),L.datetimeFormats=c.value,hc(L,T,x)}function S(T){return f.value[T]||{}}function O(T,x){f.value[T]=x,L.numberFormats=f.value,gc(L,T,x)}function P(T,x){f.value[T]=Se(f.value[T]||{},x),L.numberFormats=f.value,gc(L,T,x)}Cc++,t&&cs&&(ft(t.locale,T=>{o&&(a.value=T,L.locale=T,_r(L,a.value,l.value))}),ft(t.fallbackLocale,T=>{o&&(l.value=T,L.fallbackLocale=T,_r(L,a.value,l.value))}));const M={id:Cc,locale:Z,fallbackLocale:X,get inheritLocale(){return o},set inheritLocale(T){o=T,T&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,_r(L,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:J,get modifiers(){return C},get pluralRules(){return $||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(T){h=T,L.missingWarn=h},get fallbackWarn(){return p},set fallbackWarn(T){p=T,L.fallbackWarn=p},get fallbackRoot(){return w},set fallbackRoot(T){w=T},get fallbackFormat(){return v},set fallbackFormat(T){v=T,L.fallbackFormat=v},get warnHtmlMessage(){return I},set warnHtmlMessage(T){I=T,L.warnHtmlMessage=T},get escapeParameter(){return g},set escapeParameter(T){g=T,L.escapeParameter=T},t:Rt,getLocaleMessage:k,setLocaleMessage:A,mergeLocaleMessage:N,getPostTranslationHandler:Yt,setPostTranslationHandler:ge,getMissingHandler:B,setMissingHandler:ie,[kc]:$t};return M.datetimeFormats=Ae,M.numberFormats=ot,M.rt=tt,M.te=Wn,M.tm=b,M.d=Ve,M.n=jn,M.getDateTimeFormat=R,M.setDateTimeFormat=d,M.mergeDateTimeFormat=m,M.getNumberFormat=S,M.setNumberFormat=O,M.mergeNumberFormat=P,M[Tc]=n,M[Ji]=Xt,M[qi]=Un,M[Qi]=Jt,M}function Qm(e){const t=j(e.locale)?e.locale:gr,n=j(e.fallbackLocale)||ve(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=pe(e.missing)?e.missing:void 0,s=ne(e.silentTranslationWarn)||Ln(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=ne(e.silentFallbackWarn)||Ln(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=ne(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=G(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=pe(e.postTranslation)?e.postTranslation:void 0,f=j(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,p=ne(e.sync)?e.sync:!0;let w=e.messages;if(G(e.sharedMessages)){const C=e.sharedMessages;w=Object.keys(C).reduce((L,D)=>{const U=L[D]||(L[D]={});return Se(U,C[D]),L},w||{})}const{__i18n:v,__root:E,__injectWithOption:_}=e,y=e.datetimeFormats,I=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:w,flatJson:g,datetimeFormats:y,numberFormats:I,missing:r,missingWarn:s,fallbackWarn:i,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:p,__i18n:v,__root:E,__injectWithOption:_}}function ro(e={}){const t=no(Qm(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return ne(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=ne(s)?!s:s},get silentFallbackWarn(){return ne(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=ne(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},tc(...s){const[i,o,a]=s,l={plural:1};let u=null,c=null;if(!j(i))throw Ke(He.INVALID_ARGUMENT);const f=i;return j(o)?l.locale=o:Te(o)?l.plural=o:ve(o)?u=o:G(o)&&(c=o),j(a)?l.locale=a:ve(a)?u=a:G(a)&&(c=a),Reflect.apply(t.t,t,[f,u||c||{},l])},te(s,i){return t.te(s,i)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,i){t.setLocaleMessage(s,i)},mergeLocaleMessage(s,i){t.mergeLocaleMessage(s,i)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,i){t.setDateTimeFormat(s,i)},mergeDateTimeFormat(s,i){t.mergeDateTimeFormat(s,i)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,i){t.setNumberFormat(s,i)},mergeNumberFormat(s,i){t.mergeNumberFormat(s,i)}};return r.__extender=n,r}function eg(e,t,n){return{beforeCreate(){const r=or();if(!r)throw Ke(He.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const i=s.i18n;if(s.__i18n&&(i.__i18n=s.__i18n),i.__root=t,this===this.$root)this.$i18n=Lc(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=ro(i);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Lc(e,s);else{this.$i18n=ro({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Sc(t,s,s),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=or();if(!r)throw Ke(He.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Lc(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[kc](t.pluralizationRules||e.pluralizationRules);const n=to(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const so={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function tg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===xe?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},ce())}function Pc(){return xe}const Rc=ut({name:"i18n-t",props:Se({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Te(e)||!isNaN(e)}},so),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||gt({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),o=ce();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=j(e.plural)?+e.plural:e.plural);const a=tg(t,i),l=s[Ji](e.keypath,a,o),u=Se(ce(),r),c=j(e.tag)||re(e.tag)?e.tag:Pc();return cr(c,u,l)}}});function ng(e){return ve(e)&&!j(e[0])}function Nc(e,t,n,r){const{slots:s,attrs:i}=t;return()=>{const o={part:!0};let a=ce();e.locale&&(o.locale=e.locale),j(e.format)?o.key=e.format:re(e.format)&&(j(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((h,p)=>n.includes(p)?Se(ce(),h,{[p]:e.format[p]}):h,ce()));const l=r(e.value,o,a);let u=[o.key];ve(l)?u=l.map((h,p)=>{const w=s[h.type],v=w?w({[h.type]:h.value,index:p,parts:l}):[h.value];return ng(v)&&(v[0].key=`${h.type}-${p}`),v}):j(l)&&(u=[l]);const c=Se(ce(),i),f=j(e.tag)||re(e.tag)?e.tag:Pc();return cr(f,c,u)}}const $c=ut({name:"i18n-n",props:Se({value:{type:Number,required:!0},format:{type:[String,Object]}},so),setup(e,t){const n=e.i18n||gt({useScope:e.scope,__useComponent:!0});return Nc(e,t,mc,(...r)=>n[Qi](...r))}}),Mc=ut({name:"i18n-d",props:Se({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},so),setup(e,t){const n=e.i18n||gt({useScope:e.scope,__useComponent:!0});return Nc(e,t,dc,(...r)=>n[qi](...r))}});function rg(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function sg(e){const t=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Ke(He.UNEXPECTED_ERROR);const u=rg(e,a.$),c=Dc(l);return[Reflect.apply(u.t,u,[...Fc(c)]),u]};return{created:(o,a)=>{const[l,u]=t(a);cs&&e.global===u&&(o.__i18nWatcher=ft(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=u,o.textContent=l},unmounted:o=>{cs&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,u=Dc(a);o.textContent=Reflect.apply(l.t,l,[...Fc(u)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function Dc(e){if(j(e))return{path:e};if(G(e)){if(!("path"in e))throw Ke(He.REQUIRED_VALUE,"path");return e}else throw Ke(He.INVALID_VALUE)}function Fc(e){const{path:t,locale:n,args:r,choice:s,plural:i}=e,o={},a=r||{};return j(n)&&(o.locale=n),Te(s)&&(o.plural=s),Te(i)&&(o.plural=i),[t,a,o]}function ig(e,t,...n){const r=G(n[0])?n[0]:{};(ne(r.globalInstall)?r.globalInstall:!0)&&([Rc.name,"I18nT"].forEach(i=>e.component(i,Rc)),[$c.name,"I18nN"].forEach(i=>e.component(i,$c)),[Mc.name,"I18nD"].forEach(i=>e.component(i,Mc))),e.directive("t",sg(t))}const og=Kt("global-vue-i18n");function ag(e={},t){const n=__VUE_I18N_LEGACY_API__&&ne(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=ne(e.globalInjection)?e.globalInjection:!0,s=new Map,[i,o]=lg(e,n),a=Kt("");function l(h){return s.get(h)||null}function u(h,p){s.set(h,p)}function c(h){s.delete(h)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(h,...p){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,f),G(p[0])){const E=p[0];f.__composerExtend=E.__composerExtend,f.__vueI18nExtend=E.__vueI18nExtend}let w=null;!n&&r&&(w=gg(h,f.global)),__VUE_I18N_FULL_INSTALL__&&ig(h,f,...p),__VUE_I18N_LEGACY_API__&&n&&h.mixin(eg(o,o.__composer,f));const v=h.unmount;h.unmount=()=>{w&&w(),f.dispose(),v()}},get global(){return o},dispose(){i.stop()},__instances:s,__getInstance:l,__setInstance:u,__deleteInstance:c};return f}function gt(e={}){const t=or();if(t==null)throw Ke(He.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ke(He.NOT_INSTALLED);const n=cg(t),r=fg(n),s=Ic(t),i=ug(e,s);if(i==="global")return Sc(r,e,s),r;if(i==="parent"){let l=dg(n,t,e.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(t);if(a==null){const l=Se({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=no(l),o.__composerExtend&&(a[eo]=o.__composerExtend(a)),pg(o,t,a),o.__setInstance(t,a)}return a}function lg(e,t,n){const r=zs(),s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>ro(e)):r.run(()=>no(e));if(s==null)throw Ke(He.UNEXPECTED_ERROR);return[r,s]}function cg(e){const t=Ue(e.isCE?og:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ke(e.isCE?He.NOT_INSTALLED_WITH_PROVIDE:He.UNEXPECTED_ERROR);return t}function ug(e,t){return us(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function fg(e){return e.mode==="composition"?e.global:e.global.__composer}function dg(e,t,n=!1){let r=null;const s=t.root;let i=hg(t,n);for(;i!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[Tc]&&(r=null))}if(r!=null||s===i)break;i=i.parent}return r}function hg(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function pg(e,t,n){Qn(()=>{},t),oi(()=>{const r=n;e.__deleteInstance(t);const s=r[eo];s&&(s(),delete r[eo])},t)}const mg=["locale","fallbackLocale","availableLocales"],jc=["t","rt","d","n","tm","te"];function gg(e,t){const n=Object.create(null);return mg.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i)throw Ke(He.UNEXPECTED_ERROR);const o=ye(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,jc.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i||!i.value)throw Ke(He.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,i)}),()=>{delete e.config.globalProperties.$i18n,jc.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(Xm(),Om(cm),Cm(Sm),Am(Ql),__INTLIFY_PROD_DEVTOOLS__){const e=dn();e.__INTLIFY__=!0,um(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Uc(e,t){for(var n=-1,r=e==null?0:e.length,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s}function _g(){this.__data__=[],this.size=0}function Wc(e,t){return e===t||e!==e&&t!==t}function _s(e,t){for(var n=e.length;n--;)if(Wc(e[n][0],t))return n;return-1}var bg=Array.prototype,yg=bg.splice;function vg(e){var t=this.__data__,n=_s(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():yg.call(t,n,1),--this.size,!0}function wg(e){var t=this.__data__,n=_s(t,e);return n<0?void 0:t[n][1]}function kg(e){return _s(this.__data__,e)>-1}function Tg(e,t){var n=this.__data__,r=_s(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Lt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Lt.prototype.clear=_g,Lt.prototype.delete=vg,Lt.prototype.get=wg,Lt.prototype.has=kg,Lt.prototype.set=Tg;function Ig(){this.__data__=new Lt,this.size=0}function Sg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Eg(e){return this.__data__.get(e)}function xg(e){return this.__data__.has(e)}var Hc=typeof global=="object"&&global&&global.Object===Object&&global,Og=typeof self=="object"&&self&&self.Object===Object&&self,_t=Hc||Og||Function("return this")(),bt=_t.Symbol,zc=Object.prototype,Cg=zc.hasOwnProperty,Ag=zc.toString,yr=bt?bt.toStringTag:void 0;function Lg(e){var t=Cg.call(e,yr),n=e[yr];try{e[yr]=void 0;var r=!0}catch{}var s=Ag.call(e);return r&&(t?e[yr]=n:delete e[yr]),s}var Pg=Object.prototype,Rg=Pg.toString;function Ng(e){return Rg.call(e)}var $g="[object Null]",Mg="[object Undefined]",Kc=bt?bt.toStringTag:void 0;function hn(e){return e==null?e===void 0?Mg:$g:Kc&&Kc in Object(e)?Lg(e):Ng(e)}function vr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Dg="[object AsyncFunction]",Fg="[object Function]",jg="[object GeneratorFunction]",Ug="[object Proxy]";function Vc(e){if(!vr(e))return!1;var t=hn(e);return t==Fg||t==jg||t==Dg||t==Ug}var io=_t["__core-js_shared__"],Bc=function(){var e=/[^.]+$/.exec(io&&io.keys&&io.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wg(e){return!!Bc&&Bc in e}var Hg=Function.prototype,zg=Hg.toString;function pn(e){if(e!=null){try{return zg.call(e)}catch{}try{return e+""}catch{}}return""}var Kg=/[\\^$.*+?()[\]{}|]/g,Vg=/^\[object .+?Constructor\]$/,Bg=Function.prototype,Gg=Object.prototype,Zg=Bg.toString,Yg=Gg.hasOwnProperty,Xg=RegExp("^"+Zg.call(Yg).replace(Kg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jg(e){if(!vr(e)||Wg(e))return!1;var t=Vc(e)?Xg:Vg;return t.test(pn(e))}function qg(e,t){return e?.[t]}function mn(e,t){var n=qg(e,t);return Jg(n)?n:void 0}var wr=mn(_t,"Map"),kr=mn(Object,"create");function Qg(){this.__data__=kr?kr(null):{},this.size=0}function e_(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var t_="__lodash_hash_undefined__",n_=Object.prototype,r_=n_.hasOwnProperty;function s_(e){var t=this.__data__;if(kr){var n=t[e];return n===t_?void 0:n}return r_.call(t,e)?t[e]:void 0}var i_=Object.prototype,o_=i_.hasOwnProperty;function a_(e){var t=this.__data__;return kr?t[e]!==void 0:o_.call(t,e)}var l_="__lodash_hash_undefined__";function c_(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=kr&&t===void 0?l_:t,this}function gn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}gn.prototype.clear=Qg,gn.prototype.delete=e_,gn.prototype.get=s_,gn.prototype.has=a_,gn.prototype.set=c_;function u_(){this.size=0,this.__data__={hash:new gn,map:new(wr||Lt),string:new gn}}function f_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function bs(e,t){var n=e.__data__;return f_(t)?n[typeof t=="string"?"string":"hash"]:n.map}function d_(e){var t=bs(this,e).delete(e);return this.size-=t?1:0,t}function h_(e){return bs(this,e).get(e)}function p_(e){return bs(this,e).has(e)}function m_(e,t){var n=bs(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zt.prototype.clear=u_,Zt.prototype.delete=d_,Zt.prototype.get=h_,Zt.prototype.has=p_,Zt.prototype.set=m_;var g_=200;function __(e,t){var n=this.__data__;if(n instanceof Lt){var r=n.__data__;if(!wr||r.length<g_-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Zt(r)}return n.set(e,t),this.size=n.size,this}function $n(e){var t=this.__data__=new Lt(e);this.size=t.size}$n.prototype.clear=Ig,$n.prototype.delete=Sg,$n.prototype.get=Eg,$n.prototype.has=xg,$n.prototype.set=__;function b_(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var ys=function(){try{var e=mn(Object,"defineProperty");return e({},"",{}),e}catch{}}();function Gc(e,t,n){t=="__proto__"&&ys?ys(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var y_=Object.prototype,v_=y_.hasOwnProperty;function Zc(e,t,n){var r=e[t];(!(v_.call(e,t)&&Wc(r,n))||n===void 0&&!(t in e))&&Gc(e,t,n)}function Tr(e,t,n,r){var s=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=void 0;l===void 0&&(l=e[a]),s?Gc(n,a,l):Zc(n,a,l)}return n}function w_(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function _n(e){return e!=null&&typeof e=="object"}var k_="[object Arguments]";function Yc(e){return _n(e)&&hn(e)==k_}var Xc=Object.prototype,T_=Xc.hasOwnProperty,I_=Xc.propertyIsEnumerable,Jc=Yc(function(){return arguments}())?Yc:function(e){return _n(e)&&T_.call(e,"callee")&&!I_.call(e,"callee")},bn=Array.isArray;function S_(){return!1}var qc=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Qc=qc&&typeof module=="object"&&module&&!module.nodeType&&module,E_=Qc&&Qc.exports===qc,eu=E_?_t.Buffer:void 0,x_=eu?eu.isBuffer:void 0,tu=x_||S_,O_=9007199254740991,C_=/^(?:0|[1-9]\d*)$/;function A_(e,t){var n=typeof e;return t=t??O_,!!t&&(n=="number"||n!="symbol"&&C_.test(e))&&e>-1&&e%1==0&&e<t}var L_=9007199254740991;function nu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=L_}var P_="[object Arguments]",R_="[object Array]",N_="[object Boolean]",$_="[object Date]",M_="[object Error]",D_="[object Function]",F_="[object Map]",j_="[object Number]",U_="[object Object]",W_="[object RegExp]",H_="[object Set]",z_="[object String]",K_="[object WeakMap]",V_="[object ArrayBuffer]",B_="[object DataView]",G_="[object Float32Array]",Z_="[object Float64Array]",Y_="[object Int8Array]",X_="[object Int16Array]",J_="[object Int32Array]",q_="[object Uint8Array]",Q_="[object Uint8ClampedArray]",eb="[object Uint16Array]",tb="[object Uint32Array]",me={};me[G_]=me[Z_]=me[Y_]=me[X_]=me[J_]=me[q_]=me[Q_]=me[eb]=me[tb]=!0,me[P_]=me[R_]=me[V_]=me[N_]=me[B_]=me[$_]=me[M_]=me[D_]=me[F_]=me[j_]=me[U_]=me[W_]=me[H_]=me[z_]=me[K_]=!1;function nb(e){return _n(e)&&nu(e.length)&&!!me[hn(e)]}function oo(e){return function(t){return e(t)}}var ru=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ir=ru&&typeof module=="object"&&module&&!module.nodeType&&module,rb=Ir&&Ir.exports===ru,ao=rb&&Hc.process,Mn=function(){try{var e=Ir&&Ir.require&&Ir.require("util").types;return e||ao&&ao.binding&&ao.binding("util")}catch{}}(),su=Mn&&Mn.isTypedArray,sb=su?oo(su):nb,ib=Object.prototype,ob=ib.hasOwnProperty;function iu(e,t){var n=bn(e),r=!n&&Jc(e),s=!n&&!r&&tu(e),i=!n&&!r&&!s&&sb(e),o=n||r||s||i,a=o?w_(e.length,String):[],l=a.length;for(var u in e)(t||ob.call(e,u))&&!(o&&(u=="length"||s&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||A_(u,l)))&&a.push(u);return a}var ab=Object.prototype;function lo(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||ab;return e===n}function ou(e,t){return function(n){return e(t(n))}}var lb=ou(Object.keys,Object),cb=Object.prototype,ub=cb.hasOwnProperty;function fb(e){if(!lo(e))return lb(e);var t=[];for(var n in Object(e))ub.call(e,n)&&n!="constructor"&&t.push(n);return t}function au(e){return e!=null&&nu(e.length)&&!Vc(e)}function co(e){return au(e)?iu(e):fb(e)}function db(e,t){return e&&Tr(t,co(t),e)}function hb(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var pb=Object.prototype,mb=pb.hasOwnProperty;function gb(e){if(!vr(e))return hb(e);var t=lo(e),n=[];for(var r in e)r=="constructor"&&(t||!mb.call(e,r))||n.push(r);return n}function uo(e){return au(e)?iu(e,!0):gb(e)}function _b(e,t){return e&&Tr(t,uo(t),e)}var lu=typeof exports=="object"&&exports&&!exports.nodeType&&exports,cu=lu&&typeof module=="object"&&module&&!module.nodeType&&module,bb=cu&&cu.exports===lu,uu=bb?_t.Buffer:void 0,fu=uu?uu.allocUnsafe:void 0;function yb(e,t){if(t)return e.slice();var n=e.length,r=fu?fu(n):new e.constructor(n);return e.copy(r),r}function vb(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function wb(e,t){for(var n=-1,r=e==null?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}function du(){return[]}var kb=Object.prototype,Tb=kb.propertyIsEnumerable,hu=Object.getOwnPropertySymbols,fo=hu?function(e){return e==null?[]:(e=Object(e),wb(hu(e),function(t){return Tb.call(e,t)}))}:du;function Ib(e,t){return Tr(e,fo(e),t)}function ho(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}var po=ou(Object.getPrototypeOf,Object),Sb=Object.getOwnPropertySymbols,pu=Sb?function(e){for(var t=[];e;)ho(t,fo(e)),e=po(e);return t}:du;function Eb(e,t){return Tr(e,pu(e),t)}function mu(e,t,n){var r=t(e);return bn(e)?r:ho(r,n(e))}function xb(e){return mu(e,co,fo)}function gu(e){return mu(e,uo,pu)}var mo=mn(_t,"DataView"),go=mn(_t,"Promise"),_o=mn(_t,"Set"),bo=mn(_t,"WeakMap"),_u="[object Map]",Ob="[object Object]",bu="[object Promise]",yu="[object Set]",vu="[object WeakMap]",wu="[object DataView]",Cb=pn(mo),Ab=pn(wr),Lb=pn(go),Pb=pn(_o),Rb=pn(bo),Pt=hn;(mo&&Pt(new mo(new ArrayBuffer(1)))!=wu||wr&&Pt(new wr)!=_u||go&&Pt(go.resolve())!=bu||_o&&Pt(new _o)!=yu||bo&&Pt(new bo)!=vu)&&(Pt=function(e){var t=hn(e),n=t==Ob?e.constructor:void 0,r=n?pn(n):"";if(r)switch(r){case Cb:return wu;case Ab:return _u;case Lb:return bu;case Pb:return yu;case Rb:return vu}return t});var Nb=Object.prototype,$b=Nb.hasOwnProperty;function Mb(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&$b.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var ku=_t.Uint8Array;function yo(e){var t=new e.constructor(e.byteLength);return new ku(t).set(new ku(e)),t}function Db(e,t){var n=t?yo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Fb=/\w*$/;function jb(e){var t=new e.constructor(e.source,Fb.exec(e));return t.lastIndex=e.lastIndex,t}var Tu=bt?bt.prototype:void 0,Iu=Tu?Tu.valueOf:void 0;function Ub(e){return Iu?Object(Iu.call(e)):{}}function Wb(e,t){var n=t?yo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Hb="[object Boolean]",zb="[object Date]",Kb="[object Map]",Vb="[object Number]",Bb="[object RegExp]",Gb="[object Set]",Zb="[object String]",Yb="[object Symbol]",Xb="[object ArrayBuffer]",Jb="[object DataView]",qb="[object Float32Array]",Qb="[object Float64Array]",ey="[object Int8Array]",ty="[object Int16Array]",ny="[object Int32Array]",ry="[object Uint8Array]",sy="[object Uint8ClampedArray]",iy="[object Uint16Array]",oy="[object Uint32Array]";function ay(e,t,n){var r=e.constructor;switch(t){case Xb:return yo(e);case Hb:case zb:return new r(+e);case Jb:return Db(e,n);case qb:case Qb:case ey:case ty:case ny:case ry:case sy:case iy:case oy:return Wb(e,n);case Kb:return new r;case Vb:case Zb:return new r(e);case Bb:return jb(e);case Gb:return new r;case Yb:return Ub(e)}}var Su=Object.create,ly=function(){function e(){}return function(t){if(!vr(t))return{};if(Su)return Su(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function cy(e){return typeof e.constructor=="function"&&!lo(e)?ly(po(e)):{}}var uy="[object Map]";function fy(e){return _n(e)&&Pt(e)==uy}var Eu=Mn&&Mn.isMap,dy=Eu?oo(Eu):fy,hy="[object Set]";function py(e){return _n(e)&&Pt(e)==hy}var xu=Mn&&Mn.isSet,my=xu?oo(xu):py,gy=1,_y=2,by=4,Ou="[object Arguments]",yy="[object Array]",vy="[object Boolean]",wy="[object Date]",ky="[object Error]",Cu="[object Function]",Ty="[object GeneratorFunction]",Iy="[object Map]",Sy="[object Number]",Au="[object Object]",Ey="[object RegExp]",xy="[object Set]",Oy="[object String]",Cy="[object Symbol]",Ay="[object WeakMap]",Ly="[object ArrayBuffer]",Py="[object DataView]",Ry="[object Float32Array]",Ny="[object Float64Array]",$y="[object Int8Array]",My="[object Int16Array]",Dy="[object Int32Array]",Fy="[object Uint8Array]",jy="[object Uint8ClampedArray]",Uy="[object Uint16Array]",Wy="[object Uint32Array]",he={};he[Ou]=he[yy]=he[Ly]=he[Py]=he[vy]=he[wy]=he[Ry]=he[Ny]=he[$y]=he[My]=he[Dy]=he[Iy]=he[Sy]=he[Au]=he[Ey]=he[xy]=he[Oy]=he[Cy]=he[Fy]=he[jy]=he[Uy]=he[Wy]=!0,he[ky]=he[Cu]=he[Ay]=!1;function vs(e,t,n,r,s,i){var o,a=t&gy,l=t&_y,u=t&by;if(n&&(o=s?n(e,r,s,i):n(e)),o!==void 0)return o;if(!vr(e))return e;var c=bn(e);if(c){if(o=Mb(e),!a)return vb(e,o)}else{var f=Pt(e),h=f==Cu||f==Ty;if(tu(e))return yb(e,a);if(f==Au||f==Ou||h&&!s){if(o=l||h?{}:cy(e),!a)return l?Eb(e,_b(o,e)):Ib(e,db(o,e))}else{if(!he[f])return s?e:{};o=ay(e,f,a)}}i||(i=new $n);var p=i.get(e);if(p)return p;i.set(e,o),my(e)?e.forEach(function(E){o.add(vs(E,t,n,E,e,i))}):dy(e)&&e.forEach(function(E,_){o.set(_,vs(E,t,n,_,e,i))});var w=u?l?gu:xb:l?uo:co,v=c?void 0:w(e);return b_(v||e,function(E,_){v&&(_=E,E=e[_]),Zc(o,_,vs(E,t,n,_,e,i))}),o}var Hy="[object Symbol]";function vo(e){return typeof e=="symbol"||_n(e)&&hn(e)==Hy}var zy=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ky=/^\w*$/;function Vy(e,t){if(bn(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||vo(e)?!0:Ky.test(e)||!zy.test(e)||t!=null&&e in Object(t)}var By="Expected a function";function wo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(By);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],i=n.cache;if(i.has(s))return i.get(s);var o=e.apply(this,r);return n.cache=i.set(s,o)||i,o};return n.cache=new(wo.Cache||Zt),n}wo.Cache=Zt;var Gy=500;function Zy(e){var t=wo(e,function(r){return n.size===Gy&&n.clear(),r}),n=t.cache;return t}var Yy=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xy=/\\(\\)?/g,Jy=Zy(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Yy,function(n,r,s,i){t.push(s?i.replace(Xy,"$1"):r||n)}),t}),qy=1/0,Lu=bt?bt.prototype:void 0,Pu=Lu?Lu.toString:void 0;function Ru(e){if(typeof e=="string")return e;if(bn(e))return Uc(e,Ru)+"";if(vo(e))return Pu?Pu.call(e):"";var t=e+"";return t=="0"&&1/e==-qy?"-0":t}function Qy(e){return e==null?"":Ru(e)}function ko(e,t){return bn(e)?e:Vy(e,t)?[e]:Jy(Qy(e))}function e0(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var t0=1/0;function Nu(e){if(typeof e=="string"||vo(e))return e;var t=e+"";return t=="0"&&1/e==-t0?"-0":t}function n0(e,t){t=ko(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Nu(t[n++])];return n&&n==r?e:void 0}function r0(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),n=n>s?s:n,n<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(s);++r<s;)i[r]=e[r+t];return i}function s0(e,t){return t.length<2?e:n0(e,r0(t,0,-1))}function i0(e,t){return t=ko(t,e),e=s0(e,t),e==null||delete e[Nu(e0(t))]}var o0="[object Object]",a0=Function.prototype,l0=Object.prototype,$u=a0.toString,c0=l0.hasOwnProperty,u0=$u.call(Object);function f0(e){if(!_n(e)||hn(e)!=o0)return!1;var t=po(e);if(t===null)return!0;var n=c0.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&$u.call(n)==u0}function d0(e){return f0(e)?void 0:e}var Mu=bt?bt.isConcatSpreadable:void 0;function h0(e){return bn(e)||Jc(e)||!!(Mu&&e&&e[Mu])}function p0(e,t,n,r,s){var i=-1,o=e.length;for(n||(n=h0),s||(s=[]);++i<o;){var a=e[i];n(a)?ho(s,a):s[s.length]=a}return s}function m0(e){var t=e==null?0:e.length;return t?p0(e):[]}function g0(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Du=Math.max;function _0(e,t,n){return t=Du(t===void 0?e.length-1:t,0),function(){for(var r=arguments,s=-1,i=Du(r.length-t,0),o=Array(i);++s<i;)o[s]=r[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=r[s];return a[t]=n(o),g0(e,this,a)}}function b0(e){return function(){return e}}function y0(e){return e}var v0=ys?function(e,t){return ys(e,"toString",{configurable:!0,enumerable:!1,value:b0(t),writable:!0})}:y0,w0=800,k0=16,T0=Date.now;function I0(e){var t=0,n=0;return function(){var r=T0(),s=k0-(r-n);if(n=r,s>0){if(++t>=w0)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var S0=I0(v0);function E0(e){return S0(_0(e,void 0,m0),e+"")}var x0=1,O0=2,C0=4,A0=E0(function(e,t){var n={};if(e==null)return n;var r=!1;t=Uc(t,function(i){return i=ko(i,e),r||(r=i.length>1),i}),Tr(e,gu(e),n),r&&(n=vs(n,x0|O0|C0,d0));for(var s=t.length;s--;)i0(n,t[s]);return n});const Fu={de:{admin:"Admin",anonymous:"Anonym",approve_hint:"Wir werden Ihren Kommentar innerhalb von 24 Stunden beantworten, ohne Ihre E-Mail zu spammen. Schauen Sie bitte bald wieder vorbei. :)",discussion:"Diskussion",edit:"Bearbeiten",load_more:"Mehr laden",login:"Anmelden",logout:"Abmelden",placeholder:"Schreiben Sie ein Kommentar...",post_comment:"Kommentar absenden",post_reply:"Antwort absenden",reply:"Antwort",reply_to:"Antwort auf",save_editing:"Speichern",ui_texts:["Seien Sie der Erste, der die Diskussion beginnt!","Beteiligen Sie sich an der Konversation (#)","Laden...","Kommentare laden"],your_comment:"Dein Kommentar"},en:{admin:"Admin",anonymous:"Anonymous",approve_hint:"We’ll reply to your comment within 24 hours without spamming your email, so please check back soon :)",discussion:"Discussion",edit:"Edit",load_more:"Load More",login:"LOGIN",logout:"Logout",placeholder:"Write a comment...",post_comment:"POST COMMENT",post_reply:"POST REPLY",reply:"Reply",reply_to:"reply to",save_editing:"Save",ui_texts:["Be the first to start the discussion!","Join the Conversation (#)","Loading...","Load Comments"],your_comment:"Your comment"},es:{admin:"Administrador",anonymous:"Anónimo",approve_hint:"los comentarios son normalmente aprobados dentro de 24 horas",discussion:"Discusión",edit:"Editar",load_more:"Cargar Más",login:"INICIAR SESIÓN",logout:"Cerrar Sesión",placeholder:"Escribe un comentario...",post_comment:"PUBLICAR COMENTARIO",post_reply:"PUBLICAR RESPUESTA",reply:"Responder",reply_to:"Responder a",save_editing:"Guardar",ui_texts:["¡Sé el primero en iniciar la discusión!","Únete a la Conversación (#)","Cargando...","Cargar Comentarios"],your_comment:"Tu comentario"},fr:{admin:"Admin",anonymous:"Anonyme",approve_hint:"Nous répondrons à votre commentaire dans les 24 heures sans vous spammer par e-mail, alors revenez bientôt :)",discussion:"Discussion",edit:"Modifier",load_more:"Charger plus",login:"CONNEXION",logout:"Déconnexion",placeholder:"Écrivez un commentaire...",post_comment:"POSTER UN COMMENTAIRE",post_reply:"POSTER UNE RÉPONSE",reply:"Répondre",reply_to:"répondre à",save_editing:"Enregistrer",ui_texts:["Soyez le premier à lancer la discussion !","Rejoignez la conversation (#)","Chargement...","Charger les commentaires"],your_comment:"Votre commentaire"},id:{admin:"Admin",anonymous:"Anonim",approve_hint:"komentar biasanya disetujui dalam waktu 24 jam",discussion:"Diskusi",edit:"Edit",load_more:"Muat Lebih Banyak",login:"MASUK",logout:"Keluar",placeholder:"Tulis komentar...",post_comment:"KIRIM KOMENTAR",post_reply:"KIRIM BALASAN",reply:"Balas",reply_to:"balas ke",save_editing:"Simpan",your_comment:"Komentar Anda"},it:{admin:"Amministratore",anonymous:"Anonimo",approve_hint:"i commenti vengono normalmente approvati entro 24 ore",discussion:"Discussione",edit:"Modifica",load_more:"Carica Altri",login:"ACCEDI",logout:"Esci",placeholder:"Scrivi un commento...",post_comment:"INVIA COMMENTO",post_reply:"INVIA RISPOSTA",reply:"Risposta",reply_to:"rispondi a",save_editing:"Salva",your_comment:"Il tuo commento"},ja:{admin:"管理者",anonymous:"匿名",approve_hint:"コメントは通常24時間以内に承認されます",discussion:"ディスカッション",edit:"編集",load_more:"もっと読み込む",login:"ログイン",logout:"ログアウト",placeholder:"コメントを書く...",post_comment:"コメントを投稿",post_reply:"返信を投稿",reply:"返信",reply_to:"返信先",save_editing:"保存",your_comment:"あなたのコメント"},ko:{admin:"관리자",anonymous:"익명",approve_hint:"댓글은 보통 24시간 내에 승인됩니다",discussion:"토론",edit:"편집",load_more:"더 보기",login:"로그인",logout:"로그아웃",placeholder:"댓글을 입력하세요...",post_comment:"댓글 게시",post_reply:"답글 게시",reply:"답장",reply_to:"답장 대상",save_editing:"저장",your_comment:"당신의 댓글"},pt:{admin:"Administrador",anonymous:"Anônimo",approve_hint:"os comentários são normalmente aprovados dentro de 24 horas",discussion:"Discussão",edit:"Editar",load_more:"Carregar Mais",login:"ENTRAR",logout:"Sair",placeholder:"Escreva um comentário...",post_comment:"PUBLICAR COMENTÁRIO",post_reply:"PUBLICAR RESPOSTA",reply:"Responder",reply_to:"responder a",save_editing:"Salvar",your_comment:"Seu comentário"},th:{admin:"แอดมิน",anonymous:"นิรนาม",approve_hint:"โดยปกติความคิดเห็นจะได้รับการอนุมัติภายใน 24 ชั่วโมง",discussion:"การอภิปราย",edit:"แก้ไข",load_more:"โหลดเพิ่ม",login:"ลงชื่อเข้าใช้",logout:"ลงชื่อออก",placeholder:"เขียนความคิดเห็น...",post_comment:"โพสต์ความคิดเห็น",post_reply:"โพสต์การตอบกลับ",reply:"ตอบกลับ",reply_to:"ตอบกลับถึง",save_editing:"บันทึก",ui_texts:["เป็นคนแรกที่เริ่มการอภิปราย","เข้าร่วมการสนทนา (#)","กำลังโหลด...","โหลดความคิดเห็น"],your_comment:"ความคิดเห็นของคุณ"},zh:{admin:"管理員",anonymous:"匿名",approve_hint:"評論通常在24小時內獲得批準,並且每壹條評論都會獲得回復",discussion:"討論",edit:"修改",load_more:"加載更多",login:"登錄",logout:"登出",placeholder:"寫評論...",post_comment:"發表評論",post_reply:"發表回複",reply:"回複",reply_to:"回複給",save_editing:"保存",your_comment:"您的評論"},cn:{admin:"管理员",anonymous:"匿名",approve_hint:"评论通常在24小时内公开(我们也会回复您)",discussion:"讨论",edit:"编辑",load_more:"加载更多",login:"登录",logout:"登出",placeholder:"写评论...",post_comment:"发表评论",post_reply:"发表回复",reply:"回复",reply_to:"回复给",save_editing:"保存",your_comment:"您的评论"}};function L0(){return!!navigator.userAgent.match(/Macintosh/)}function P0(e,t){return(L0()?e.metaKey:e.ctrlKey)&&e.key===t}var ws=(e=>(e[e.Pending=0]="Pending",e[e.Approved=1]="Approved",e[e.Rejected=2]="Rejected",e[e.UnReplied=255]="UnReplied",e[e["Replied to Admin"]=256]="Replied to Admin",e))(ws||{});const R0=/@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;function ks(e){return e<10?`0${e}`:`${e}`}function ju(e){return e=`${e.substring(0,10)}T${e.substring(11,19)}Z`,new Date(e)}function Uu(e){const t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();return`${t}-${ks(n)}-${ks(r)}`}function Wu(e){e instanceof Date||(e=ju(e));const t=new Date,n=Uu(e);if(Uu(t)===n){const r=e.getHours(),s=e.getMinutes();return`${ks(r)}:${ks(s)}`}return n}function N0(e){const{id:t,created_at:n,parent_id:r,ancestor_id:s,post_id:i,user_id:o,...a}=e;return{...a,id:Number(t),userId:o,parentId:Number(r),postId:i,ancestorId:Number(s),status:Number(e.status),createdAt:ju(n)}}const To="awesome-comment-comments",Hu=localStorage.getItem(To),Dn=Hu?JSON.parse(Hu):{},Fn=Pl("store",()=>{const e=Ue("postId"),t=Ue("comments"),n=Ue("total"),r=te(!!t?.length),s=te(0),i=te(""),o=te([]),a=te(n||0),l=Ue("ApiBaseUrl"),u=te(!1),c=te(!1);function f(E){const _={},y=[];E.forEach(g=>{w(Number(g.id));const C=N0(g);!g.ancestor_id||Number(g.ancestor_id)===0?_[g.id]=C:y.push(C)});const I=Dn[e];I&&(I.createdAt=new Date(I.createdAt),!I.ancestorId||Number(I.ancestorId)===0?_[I.id]=I:y.push(I)),y.forEach(g=>{if(g.ancestorId in _){const C=_[g.ancestorId];C.children=[g,...C.children||[]]}});for(const g in _){const C=_[g];C.children&&(C.children=C.children.sort(($,L)=>$.id-L.id))}return _}async function h(E=!1){if(u.value)return;i.value="",u.value=!0;let _;if(E&&t?.length)_=f(t);else{const y=new URLSearchParams;y.append("postId",e),y.append("start",s.value.toString());const I=await fetch(`${l}/api/comments?${y}`);if(!I.ok){i.value="Load comments failed. "+I.statusText,r.value=!0,u.value=!1;return}const g=await I.json();if(g.code!==0){i.value="Load comments failed. "+g.message,r.value=!0,u.value=!1;return}_=f(g.data||[]),a.value=g.meta?.total||g.data?.length||0}c.value=Object.keys(_).length>20,c.value&&delete _[Object.keys(_)[0]],Object.assign(o.value,_),r.value=!0,u.value=!1}function p(E,_,y,I=ws.Pending,g,C){const{sub:$="",name:L="",picture:D="",email:U="",nickname:Z=""}=y,X={id:E,postId:e,content:_,createdAt:new Date,user:{avatar:D,email:U,name:Z||L},userId:$,status:I,isNew:!0};if(g||C){X.ancestorId=g,X.parentId=C;const J=o.value[g];if(J.children||(J.children=[]),g===C)J.children.unshift(X);else{const Ae=J.children.findIndex(ot=>Number(ot.id)===C);J.children.splice(Ae+1,0,X)}}else X.ancestorId=0,X.parentId=0,o.value={[E]:X,...o.value};a.value++,I!==ws.Approved&&(Dn[e]=X,localStorage.setItem(To,JSON.stringify(Dn)))}function w(E){Dn[e]?.id===E&&(delete Dn[e],localStorage.setItem(To,JSON.stringify(Dn)))}function v(E,_){let y=o.value[E];if(!y){for(const I of Object.values(o.value))if(I.children&&(y=I.children.find(g=>Number(g.id)===E),y))break}y&&Object.assign(y,_)}return{isLoaded:r,message:i,postId:e,comments:o,total:a,start:s,hasMore:c,loadingMore:u,loadComments:h,addComment:p,updateComment:v}});var $0={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function s(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function i(l,u,c,f,h){if(typeof c!="function")throw new TypeError("The listener must be a function");var p=new s(c,f||l,h),w=n?n+u:u;return l._events[w]?l._events[w].fn?l._events[w]=[l._events[w],p]:l._events[w].push(p):(l._events[w]=p,l._eventsCount++),l}function o(l,u){--l._eventsCount===0?l._events=new r:delete l._events[u]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var l=[],u,c;if(this._eventsCount===0)return l;for(c in u=this._events)t.call(u,c)&&l.push(n?c.slice(1):c);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(u)):l},a.prototype.listeners=function(l){var u=n?n+l:l,c=this._events[u];if(!c)return[];if(c.fn)return[c.fn];for(var f=0,h=c.length,p=new Array(h);f<h;f++)p[f]=c[f].fn;return p},a.prototype.listenerCount=function(l){var u=n?n+l:l,c=this._events[u];return c?c.fn?1:c.length:0},a.prototype.emit=function(l,u,c,f,h,p){var w=n?n+l:l;if(!this._events[w])return!1;var v=this._events[w],E=arguments.length,_,y;if(v.fn){switch(v.once&&this.removeListener(l,v.fn,void 0,!0),E){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,u),!0;case 3:return v.fn.call(v.context,u,c),!0;case 4:return v.fn.call(v.context,u,c,f),!0;case 5:return v.fn.call(v.context,u,c,f,h),!0;case 6:return v.fn.call(v.context,u,c,f,h,p),!0}for(y=1,_=new Array(E-1);y<E;y++)_[y-1]=arguments[y];v.fn.apply(v.context,_)}else{var I=v.length,g;for(y=0;y<I;y++)switch(v[y].once&&this.removeListener(l,v[y].fn,void 0,!0),E){case 1:v[y].fn.call(v[y].context);break;case 2:v[y].fn.call(v[y].context,u);break;case 3:v[y].fn.call(v[y].context,u,c);break;case 4:v[y].fn.call(v[y].context,u,c,f);break;default:if(!_)for(g=1,_=new Array(E-1);g<E;g++)_[g-1]=arguments[g];v[y].fn.apply(v[y].context,_)}}return!0},a.prototype.on=function(l,u,c){return i(this,l,u,c,!1)},a.prototype.once=function(l,u,c){return i(this,l,u,c,!0)},a.prototype.removeListener=function(l,u,c,f){var h=n?n+l:l;if(!this._events[h])return this;if(!u)return o(this,h),this;var p=this._events[h];if(p.fn)p.fn===u&&(!f||p.once)&&(!c||p.context===c)&&o(this,h);else{for(var w=0,v=[],E=p.length;w<E;w++)(p[w].fn!==u||f&&!p[w].once||c&&p[w].context!==c)&&v.push(p[w]);v.length?this._events[h]=v.length===1?v[0]:v:o(this,h)}return this},a.prototype.removeAllListeners=function(l){var u;return l?(u=n?n+l:l,this._events[u]&&o(this,u)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,e.exports=a})($0);class M0 extends Error{}M0.prototype.name="InvalidTokenError";var D0=typeof global=="object"&&global&&global.Object===Object&&global,F0=typeof self=="object"&&self&&self.Object===Object&&self,j0=D0||F0||Function("return this")(),Ts=j0.Symbol;Ts&&Ts.toStringTag,Ts&&Ts.toStringTag;var Is=(e=>(e.INIT="init",e.VERIFYING="verifying",e.VERIFIED="verified",e.REFRESH="refresh",e.ERROR="error",e))(Is||{});const Io=Pl("auth",()=>{const e=Ue("awesomeAuth"),t=!e&&dp(),n=te(!1),r=te(!1),s=te(),i=!!e,o=st(()=>e?e.root:"");async function a(){return e?e.accessToken:t?await t.getAccessTokenSilently():""}function l(){e?e.doSignIn():t&&t.loginWithPopup()}function u(c){e?e.doSignOut():t&&t.logout(c)}return e?(e.on(Is.INIT,c=>{r.value=c,c&&(n.value=!1)}),e.on(Is.VERIFYING,c=>{r.value=c}),e.on(Is.VERIFIED,c=>{n.value=c,s.value=c?e.user:void 0}),r.value=e.isVerifying,n.value=e.isVerified,s.value=e.user):t&&(ft(t.isLoading,c=>{r.value=c},{immediate:!0}),ft(t.isAuthenticated,c=>{n.value=c},{immediate:!0}),ft(t.user,c=>{s.value=c},{immediate:!0})),{isAuthenticated:n,isAwesomeAuth:i,isLoading:r,authEndpoint:o,user:s,getAccessToken:a,login:l,logout:u}}),U0={class:"ac-form-control bg-base-200 rounded-lg"},W0={class:"sr-only",for:"ac-comment"},H0=["placeholder"],z0={class:"p-2 rounded-b-lg bg-base-300 flex items-center"},K0={key:0,class:"text-xs text-neutral-400/40"},V0={key:1,class:"ac-alert ac-alert-error text-white mx-4 py-2"},B0=["disabled"],G0={key:0,class:"ac-loading ac-loading-spinner"},Ss=ut({...{name:"CommentForm"},props:{noVersion:{type:Boolean},currentId:{},parentId:{},ancestorId:{},content:{},status:{}},emits:["close","update"],setup(e,{emit:t}){const n=e,r=t,s=Io(),i=Fn(),{t:o}=gt(),a=Ue("ApiBaseUrl"),l=Ue("Auth0Domain"),u="0.9.9",c=te(),f=te(!1),h=te(n.content||""),p=te("");async function w(y){if(!s.user)return v();if(y.target.matches(":invalid"))return;const I=h.value.trim();if(!I)return;if(I.length<5||/^\w{35,}$/.test(I)){p.value="We encourage meaningful contributions to foster a positive community. Thank you for your understanding!";return}f.value=!0,p.value="";let g=a+"/api/comment",C="POST";n.currentId&&(g+="/"+n.currentId,C="PATCH");try{const $=await s.getAccessToken(),L=s.authEndpoint,D=await fetch(g,{method:C,headers:{"Content-Type":"application/json",Authorization:`Bearer ${$}`,"Auth-Endpoint":L},body:JSON.stringify({comment:I,postId:i.postId,domain:l,ancestorId:n.ancestorId?Number(n.ancestorId):void 0,parentId:n.parentId?Number(n.parentId):void 0,status:n.status,window:`${window.innerWidth}x${window.innerHeight} / ${screen.width,screen.height}`})}),U=await D.json();if(!D.ok||U.message){p.value="Failed to post comment: "+(U.message||"Unknown"),f.value=!1;return}const{id:Z,status:X}=U.data;n.ancestorId||n.parentId?i.addComment(Z,I,s.user,X,n.ancestorId,n.parentId):n.currentId?r("update",I):i.addComment(Z,I,s.user,X),h.value="",r("close")}catch($){p.value=$.message||String($)}f.value=!1}function v(){s.login()}function E(y){P0(y,"Enter")&&w(y)}function _(){r("close")}return Qn(()=>{c.value?.focus()}),(y,I)=>(V(),Y("form",{class:"mb-6",onSubmit:Rh(w,["prevent"])},[oe("div",U0,[oe("label",W0,be(H(o)("your_comment")),1),nd(oe("textarea",{id:"ac-comment",ref_key:"textarea",ref:c,"onUpdate:modelValue":I[0]||(I[0]=g=>h.value=g),placeholder:H(o)("placeholder"),class:"ac-textarea ac-textarea-bordered bg-base-200 rounded-b-none focus:outline-none",required:"required",rows:"3",onKeydown:[Il(E,["enter"]),Il(_,["esc"])]},null,40,H0),[[Ah,h.value]]),oe("div",z0,[y.noVersion?Ne("",!0):(V(),Y("div",K0," v"+be(H(u)),1)),p.value?(V(),Y("div",V0,be(p.value),1)):Ne("",!0),oe("button",{disabled:f.value,class:"ac-btn ac-btn-primary ac-btn-sm ms-auto"},[f.value?(V(),Y("span",G0)):Ne("",!0),y.currentId?(V(),Y(xe,{key:1},[on(be(H(o)("save_editing")),1)],64)):y.parentId?(V(),Y(xe,{key:2},[on(be(H(o)("post_reply")),1)],64)):(V(),Y(xe,{key:3},[on(be(H(o)("post_comment")),1)],64))],8,B0)])])],32))}});/**
45
+ */const Ym="10.0.5";function Xm(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(dn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(dn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(dn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(dn().__INTLIFY_PROD_DEVTOOLS__=!1)}const He={UNEXPECTED_RETURN_TYPE:pm,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Ke(e,...t){return hs(e,null,void 0)}const Ji=Kt("__translateVNode"),qi=Kt("__datetimeParts"),Qi=Kt("__numberParts"),kc=Kt("__setPluralRules"),Tc=Kt("__injectWithOption"),eo=Kt("__dispose");function br(e){if(!re(e))return e;for(const t in e)if(it(e,t))if(!t.includes("."))re(e[t])&&br(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,i=!1;for(let o=0;o<r;o++){if(n[o]in s||(s[n[o]]=ce()),!re(s[n[o]])){i=!0;break}s=s[n[o]]}i||(s[n[r]]=e[t],delete e[t]),re(s[n[r]])&&br(s[n[r]])}return e}function to(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:i}=t,o=G(n)?n:ve(r)?ce():{[e]:ce()};if(ve(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(o[l]=o[l]||ce(),ds(u,o[l])):ds(u,o)}else j(a)&&ds(JSON.parse(a),o)}),s==null&&i)for(const a in o)it(o,a)&&br(o[a]);return o}function Ic(e){return e.type}function Sc(e,t,n){let r=re(t.messages)?t.messages:ce();"__i18nGlobal"in n&&(r=to(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(re(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(re(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Ec(e){return ke(nr,null,e,0)}const xc="__INTLIFY_META__",Oc=()=>[],Jm=()=>!1;let Cc=0;function Ac(e){return(t,n,r,s)=>e(n,r,or()||void 0,s)}const qm=()=>{const e=or();let t=null;return e&&(t=Ic(e)[xc])?{[xc]:t}:null};function no(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,i=cs?te:Ff;let o=ne(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&o?t.locale.value:j(e.locale)?e.locale:gr),l=i(t&&o?t.fallbackLocale.value:j(e.fallbackLocale)||ve(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(to(a.value,e)),c=i(G(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i(G(e.numberFormats)?e.numberFormats:{[a.value]:{}});let h=t?t.missingWarn:ne(e.missingWarn)||Ln(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ne(e.fallbackWarn)||Ln(e.fallbackWarn)?e.fallbackWarn:!0,w=t?t.fallbackRoot:ne(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,E=pe(e.missing)?e.missing:null,_=pe(e.missing)?Ac(e.missing):null,y=pe(e.postTranslation)?e.postTranslation:null,I=t?t.warnHtmlMessage:ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const C=t?t.modifiers:G(e.modifiers)?e.modifiers:{};let $=e.pluralRules||t&&t.pluralRules,L;L=(()=>{r&&cc(null);const T={version:Ym,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:C,pluralRules:$,missing:_===null?void 0:_,missingWarn:h,fallbackWarn:p,fallbackFormat:v,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:I,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};T.datetimeFormats=c.value,T.numberFormats=f.value,T.__datetimeFormatters=G(L)?L.__datetimeFormatters:void 0,T.__numberFormatters=G(L)?L.__numberFormatters:void 0;const x=Nm(T);return r&&cc(x),x})(),_r(L,a.value,l.value);function U(){return[a.value,l.value,u.value,c.value,f.value]}const Z=st({get:()=>a.value,set:T=>{a.value=T,L.locale=a.value}}),X=st({get:()=>l.value,set:T=>{l.value=T,L.fallbackLocale=l.value,_r(L,a.value,T)}}),J=st(()=>u.value),Ae=st(()=>c.value),ot=st(()=>f.value);function Yt(){return pe(y)?y:null}function ge(T){y=T,L.postTranslation=T}function B(){return E}function ie(T){T!==null&&(_=Ac(T)),E=T,L.missing=_}const Le=(T,x,F,W,Q,ee)=>{U();let Ie;try{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=t?Rm():void 0),Ie=T(L)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=void 0)}if(F!=="translate exists"&&Te(Ie)&&Ie===gs||F==="translate exists"&&!Ie){const[Ce,nt]=x();return t&&w?W(t):Q(Ce)}else{if(ee(Ie))return Ie;throw Ke(He.UNEXPECTED_RETURN_TYPE)}};function Rt(...T){return Le(x=>Reflect.apply(yc,null,[x,...T]),()=>Xi(...T),"translate",x=>Reflect.apply(x.t,x,[...T]),x=>x,x=>j(x))}function tt(...T){const[x,F,W]=T;if(W&&!re(W))throw Ke(He.INVALID_ARGUMENT);return Rt(x,F,Se({resolvedMessage:!0},W||{}))}function Ve(...T){return Le(x=>Reflect.apply(fc,null,[x,...T]),()=>Zi(...T),"datetime format",x=>Reflect.apply(x.d,x,[...T]),()=>nc,x=>j(x))}function jn(...T){return Le(x=>Reflect.apply(pc,null,[x,...T]),()=>Yi(...T),"number format",x=>Reflect.apply(x.n,x,[...T]),()=>nc,x=>j(x))}function Cr(T){return T.map(x=>j(x)||Te(x)||ne(x)?Ec(String(x)):x)}const Nt={normalize:Cr,interpolate:T=>T,type:"vnode"};function Xt(...T){return Le(x=>{let F;const W=x;try{W.processor=Nt,F=Reflect.apply(yc,null,[W,...T])}finally{W.processor=null}return F},()=>Xi(...T),"translate",x=>x[Ji](...T),x=>[Ec(x)],x=>ve(x))}function Jt(...T){return Le(x=>Reflect.apply(pc,null,[x,...T]),()=>Yi(...T),"number format",x=>x[Qi](...T),Oc,x=>j(x)||ve(x))}function Un(...T){return Le(x=>Reflect.apply(fc,null,[x,...T]),()=>Zi(...T),"datetime format",x=>x[qi](...T),Oc,x=>j(x)||ve(x))}function $t(T){$=T,L.pluralRules=$}function Wn(T,x){return Le(()=>{if(!T)return!1;const F=j(x)?x:a.value,W=k(F),Q=L.messageResolver(W,T);return Nn(Q)||qe(Q)||j(Q)},()=>[T],"translate exists",F=>Reflect.apply(F.te,F,[T,x]),Jm,F=>ne(F))}function Hn(T){let x=null;const F=Ql(L,l.value,a.value);for(let W=0;W<F.length;W++){const Q=u.value[F[W]]||{},ee=L.messageResolver(Q,T);if(ee!=null){x=ee;break}}return x}function b(T){const x=Hn(T);return x??(t?t.tm(T)||{}:{})}function k(T){return u.value[T]||{}}function A(T,x){if(s){const F={[T]:x};for(const W in F)it(F,W)&&br(F[W]);x=F[T]}u.value[T]=x,L.messages=u.value}function N(T,x){u.value[T]=u.value[T]||{};const F={[T]:x};if(s)for(const W in F)it(F,W)&&br(F[W]);x=F[T],ds(x,u.value[T]),L.messages=u.value}function R(T){return c.value[T]||{}}function d(T,x){c.value[T]=x,L.datetimeFormats=c.value,hc(L,T,x)}function m(T,x){c.value[T]=Se(c.value[T]||{},x),L.datetimeFormats=c.value,hc(L,T,x)}function S(T){return f.value[T]||{}}function O(T,x){f.value[T]=x,L.numberFormats=f.value,gc(L,T,x)}function P(T,x){f.value[T]=Se(f.value[T]||{},x),L.numberFormats=f.value,gc(L,T,x)}Cc++,t&&cs&&(ft(t.locale,T=>{o&&(a.value=T,L.locale=T,_r(L,a.value,l.value))}),ft(t.fallbackLocale,T=>{o&&(l.value=T,L.fallbackLocale=T,_r(L,a.value,l.value))}));const M={id:Cc,locale:Z,fallbackLocale:X,get inheritLocale(){return o},set inheritLocale(T){o=T,T&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,_r(L,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:J,get modifiers(){return C},get pluralRules(){return $||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(T){h=T,L.missingWarn=h},get fallbackWarn(){return p},set fallbackWarn(T){p=T,L.fallbackWarn=p},get fallbackRoot(){return w},set fallbackRoot(T){w=T},get fallbackFormat(){return v},set fallbackFormat(T){v=T,L.fallbackFormat=v},get warnHtmlMessage(){return I},set warnHtmlMessage(T){I=T,L.warnHtmlMessage=T},get escapeParameter(){return g},set escapeParameter(T){g=T,L.escapeParameter=T},t:Rt,getLocaleMessage:k,setLocaleMessage:A,mergeLocaleMessage:N,getPostTranslationHandler:Yt,setPostTranslationHandler:ge,getMissingHandler:B,setMissingHandler:ie,[kc]:$t};return M.datetimeFormats=Ae,M.numberFormats=ot,M.rt=tt,M.te=Wn,M.tm=b,M.d=Ve,M.n=jn,M.getDateTimeFormat=R,M.setDateTimeFormat=d,M.mergeDateTimeFormat=m,M.getNumberFormat=S,M.setNumberFormat=O,M.mergeNumberFormat=P,M[Tc]=n,M[Ji]=Xt,M[qi]=Un,M[Qi]=Jt,M}function Qm(e){const t=j(e.locale)?e.locale:gr,n=j(e.fallbackLocale)||ve(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=pe(e.missing)?e.missing:void 0,s=ne(e.silentTranslationWarn)||Ln(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=ne(e.silentFallbackWarn)||Ln(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=ne(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=G(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=pe(e.postTranslation)?e.postTranslation:void 0,f=j(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,p=ne(e.sync)?e.sync:!0;let w=e.messages;if(G(e.sharedMessages)){const C=e.sharedMessages;w=Object.keys(C).reduce((L,D)=>{const U=L[D]||(L[D]={});return Se(U,C[D]),L},w||{})}const{__i18n:v,__root:E,__injectWithOption:_}=e,y=e.datetimeFormats,I=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:w,flatJson:g,datetimeFormats:y,numberFormats:I,missing:r,missingWarn:s,fallbackWarn:i,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:p,__i18n:v,__root:E,__injectWithOption:_}}function ro(e={}){const t=no(Qm(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return ne(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=ne(s)?!s:s},get silentFallbackWarn(){return ne(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=ne(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},tc(...s){const[i,o,a]=s,l={plural:1};let u=null,c=null;if(!j(i))throw Ke(He.INVALID_ARGUMENT);const f=i;return j(o)?l.locale=o:Te(o)?l.plural=o:ve(o)?u=o:G(o)&&(c=o),j(a)?l.locale=a:ve(a)?u=a:G(a)&&(c=a),Reflect.apply(t.t,t,[f,u||c||{},l])},te(s,i){return t.te(s,i)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,i){t.setLocaleMessage(s,i)},mergeLocaleMessage(s,i){t.mergeLocaleMessage(s,i)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,i){t.setDateTimeFormat(s,i)},mergeDateTimeFormat(s,i){t.mergeDateTimeFormat(s,i)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,i){t.setNumberFormat(s,i)},mergeNumberFormat(s,i){t.mergeNumberFormat(s,i)}};return r.__extender=n,r}function eg(e,t,n){return{beforeCreate(){const r=or();if(!r)throw Ke(He.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const i=s.i18n;if(s.__i18n&&(i.__i18n=s.__i18n),i.__root=t,this===this.$root)this.$i18n=Lc(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=ro(i);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Lc(e,s);else{this.$i18n=ro({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Sc(t,s,s),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=or();if(!r)throw Ke(He.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Lc(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[kc](t.pluralizationRules||e.pluralizationRules);const n=to(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const so={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function tg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===xe?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},ce())}function Pc(){return xe}const Rc=ut({name:"i18n-t",props:Se({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Te(e)||!isNaN(e)}},so),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||gt({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),o=ce();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=j(e.plural)?+e.plural:e.plural);const a=tg(t,i),l=s[Ji](e.keypath,a,o),u=Se(ce(),r),c=j(e.tag)||re(e.tag)?e.tag:Pc();return cr(c,u,l)}}});function ng(e){return ve(e)&&!j(e[0])}function Nc(e,t,n,r){const{slots:s,attrs:i}=t;return()=>{const o={part:!0};let a=ce();e.locale&&(o.locale=e.locale),j(e.format)?o.key=e.format:re(e.format)&&(j(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((h,p)=>n.includes(p)?Se(ce(),h,{[p]:e.format[p]}):h,ce()));const l=r(e.value,o,a);let u=[o.key];ve(l)?u=l.map((h,p)=>{const w=s[h.type],v=w?w({[h.type]:h.value,index:p,parts:l}):[h.value];return ng(v)&&(v[0].key=`${h.type}-${p}`),v}):j(l)&&(u=[l]);const c=Se(ce(),i),f=j(e.tag)||re(e.tag)?e.tag:Pc();return cr(f,c,u)}}const $c=ut({name:"i18n-n",props:Se({value:{type:Number,required:!0},format:{type:[String,Object]}},so),setup(e,t){const n=e.i18n||gt({useScope:e.scope,__useComponent:!0});return Nc(e,t,mc,(...r)=>n[Qi](...r))}}),Mc=ut({name:"i18n-d",props:Se({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},so),setup(e,t){const n=e.i18n||gt({useScope:e.scope,__useComponent:!0});return Nc(e,t,dc,(...r)=>n[qi](...r))}});function rg(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function sg(e){const t=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Ke(He.UNEXPECTED_ERROR);const u=rg(e,a.$),c=Dc(l);return[Reflect.apply(u.t,u,[...Fc(c)]),u]};return{created:(o,a)=>{const[l,u]=t(a);cs&&e.global===u&&(o.__i18nWatcher=ft(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=u,o.textContent=l},unmounted:o=>{cs&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,u=Dc(a);o.textContent=Reflect.apply(l.t,l,[...Fc(u)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function Dc(e){if(j(e))return{path:e};if(G(e)){if(!("path"in e))throw Ke(He.REQUIRED_VALUE,"path");return e}else throw Ke(He.INVALID_VALUE)}function Fc(e){const{path:t,locale:n,args:r,choice:s,plural:i}=e,o={},a=r||{};return j(n)&&(o.locale=n),Te(s)&&(o.plural=s),Te(i)&&(o.plural=i),[t,a,o]}function ig(e,t,...n){const r=G(n[0])?n[0]:{};(ne(r.globalInstall)?r.globalInstall:!0)&&([Rc.name,"I18nT"].forEach(i=>e.component(i,Rc)),[$c.name,"I18nN"].forEach(i=>e.component(i,$c)),[Mc.name,"I18nD"].forEach(i=>e.component(i,Mc))),e.directive("t",sg(t))}const og=Kt("global-vue-i18n");function ag(e={},t){const n=__VUE_I18N_LEGACY_API__&&ne(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=ne(e.globalInjection)?e.globalInjection:!0,s=new Map,[i,o]=lg(e,n),a=Kt("");function l(h){return s.get(h)||null}function u(h,p){s.set(h,p)}function c(h){s.delete(h)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(h,...p){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,f),G(p[0])){const E=p[0];f.__composerExtend=E.__composerExtend,f.__vueI18nExtend=E.__vueI18nExtend}let w=null;!n&&r&&(w=gg(h,f.global)),__VUE_I18N_FULL_INSTALL__&&ig(h,f,...p),__VUE_I18N_LEGACY_API__&&n&&h.mixin(eg(o,o.__composer,f));const v=h.unmount;h.unmount=()=>{w&&w(),f.dispose(),v()}},get global(){return o},dispose(){i.stop()},__instances:s,__getInstance:l,__setInstance:u,__deleteInstance:c};return f}function gt(e={}){const t=or();if(t==null)throw Ke(He.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ke(He.NOT_INSTALLED);const n=cg(t),r=fg(n),s=Ic(t),i=ug(e,s);if(i==="global")return Sc(r,e,s),r;if(i==="parent"){let l=dg(n,t,e.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(t);if(a==null){const l=Se({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=no(l),o.__composerExtend&&(a[eo]=o.__composerExtend(a)),pg(o,t,a),o.__setInstance(t,a)}return a}function lg(e,t,n){const r=zs(),s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>ro(e)):r.run(()=>no(e));if(s==null)throw Ke(He.UNEXPECTED_ERROR);return[r,s]}function cg(e){const t=Ue(e.isCE?og:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ke(e.isCE?He.NOT_INSTALLED_WITH_PROVIDE:He.UNEXPECTED_ERROR);return t}function ug(e,t){return us(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function fg(e){return e.mode==="composition"?e.global:e.global.__composer}function dg(e,t,n=!1){let r=null;const s=t.root;let i=hg(t,n);for(;i!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[Tc]&&(r=null))}if(r!=null||s===i)break;i=i.parent}return r}function hg(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function pg(e,t,n){Qn(()=>{},t),oi(()=>{const r=n;e.__deleteInstance(t);const s=r[eo];s&&(s(),delete r[eo])},t)}const mg=["locale","fallbackLocale","availableLocales"],jc=["t","rt","d","n","tm","te"];function gg(e,t){const n=Object.create(null);return mg.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i)throw Ke(He.UNEXPECTED_ERROR);const o=ye(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,jc.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i||!i.value)throw Ke(He.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,i)}),()=>{delete e.config.globalProperties.$i18n,jc.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(Xm(),Om(cm),Cm(Sm),Am(Ql),__INTLIFY_PROD_DEVTOOLS__){const e=dn();e.__INTLIFY__=!0,um(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Uc(e,t){for(var n=-1,r=e==null?0:e.length,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s}function _g(){this.__data__=[],this.size=0}function Wc(e,t){return e===t||e!==e&&t!==t}function _s(e,t){for(var n=e.length;n--;)if(Wc(e[n][0],t))return n;return-1}var bg=Array.prototype,yg=bg.splice;function vg(e){var t=this.__data__,n=_s(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():yg.call(t,n,1),--this.size,!0}function wg(e){var t=this.__data__,n=_s(t,e);return n<0?void 0:t[n][1]}function kg(e){return _s(this.__data__,e)>-1}function Tg(e,t){var n=this.__data__,r=_s(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Lt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Lt.prototype.clear=_g,Lt.prototype.delete=vg,Lt.prototype.get=wg,Lt.prototype.has=kg,Lt.prototype.set=Tg;function Ig(){this.__data__=new Lt,this.size=0}function Sg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Eg(e){return this.__data__.get(e)}function xg(e){return this.__data__.has(e)}var Hc=typeof global=="object"&&global&&global.Object===Object&&global,Og=typeof self=="object"&&self&&self.Object===Object&&self,_t=Hc||Og||Function("return this")(),bt=_t.Symbol,zc=Object.prototype,Cg=zc.hasOwnProperty,Ag=zc.toString,yr=bt?bt.toStringTag:void 0;function Lg(e){var t=Cg.call(e,yr),n=e[yr];try{e[yr]=void 0;var r=!0}catch{}var s=Ag.call(e);return r&&(t?e[yr]=n:delete e[yr]),s}var Pg=Object.prototype,Rg=Pg.toString;function Ng(e){return Rg.call(e)}var $g="[object Null]",Mg="[object Undefined]",Kc=bt?bt.toStringTag:void 0;function hn(e){return e==null?e===void 0?Mg:$g:Kc&&Kc in Object(e)?Lg(e):Ng(e)}function vr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Dg="[object AsyncFunction]",Fg="[object Function]",jg="[object GeneratorFunction]",Ug="[object Proxy]";function Vc(e){if(!vr(e))return!1;var t=hn(e);return t==Fg||t==jg||t==Dg||t==Ug}var io=_t["__core-js_shared__"],Bc=function(){var e=/[^.]+$/.exec(io&&io.keys&&io.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wg(e){return!!Bc&&Bc in e}var Hg=Function.prototype,zg=Hg.toString;function pn(e){if(e!=null){try{return zg.call(e)}catch{}try{return e+""}catch{}}return""}var Kg=/[\\^$.*+?()[\]{}|]/g,Vg=/^\[object .+?Constructor\]$/,Bg=Function.prototype,Gg=Object.prototype,Zg=Bg.toString,Yg=Gg.hasOwnProperty,Xg=RegExp("^"+Zg.call(Yg).replace(Kg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jg(e){if(!vr(e)||Wg(e))return!1;var t=Vc(e)?Xg:Vg;return t.test(pn(e))}function qg(e,t){return e?.[t]}function mn(e,t){var n=qg(e,t);return Jg(n)?n:void 0}var wr=mn(_t,"Map"),kr=mn(Object,"create");function Qg(){this.__data__=kr?kr(null):{},this.size=0}function e_(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var t_="__lodash_hash_undefined__",n_=Object.prototype,r_=n_.hasOwnProperty;function s_(e){var t=this.__data__;if(kr){var n=t[e];return n===t_?void 0:n}return r_.call(t,e)?t[e]:void 0}var i_=Object.prototype,o_=i_.hasOwnProperty;function a_(e){var t=this.__data__;return kr?t[e]!==void 0:o_.call(t,e)}var l_="__lodash_hash_undefined__";function c_(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=kr&&t===void 0?l_:t,this}function gn(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}gn.prototype.clear=Qg,gn.prototype.delete=e_,gn.prototype.get=s_,gn.prototype.has=a_,gn.prototype.set=c_;function u_(){this.size=0,this.__data__={hash:new gn,map:new(wr||Lt),string:new gn}}function f_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function bs(e,t){var n=e.__data__;return f_(t)?n[typeof t=="string"?"string":"hash"]:n.map}function d_(e){var t=bs(this,e).delete(e);return this.size-=t?1:0,t}function h_(e){return bs(this,e).get(e)}function p_(e){return bs(this,e).has(e)}function m_(e,t){var n=bs(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zt.prototype.clear=u_,Zt.prototype.delete=d_,Zt.prototype.get=h_,Zt.prototype.has=p_,Zt.prototype.set=m_;var g_=200;function __(e,t){var n=this.__data__;if(n instanceof Lt){var r=n.__data__;if(!wr||r.length<g_-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Zt(r)}return n.set(e,t),this.size=n.size,this}function $n(e){var t=this.__data__=new Lt(e);this.size=t.size}$n.prototype.clear=Ig,$n.prototype.delete=Sg,$n.prototype.get=Eg,$n.prototype.has=xg,$n.prototype.set=__;function b_(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var ys=function(){try{var e=mn(Object,"defineProperty");return e({},"",{}),e}catch{}}();function Gc(e,t,n){t=="__proto__"&&ys?ys(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var y_=Object.prototype,v_=y_.hasOwnProperty;function Zc(e,t,n){var r=e[t];(!(v_.call(e,t)&&Wc(r,n))||n===void 0&&!(t in e))&&Gc(e,t,n)}function Tr(e,t,n,r){var s=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=void 0;l===void 0&&(l=e[a]),s?Gc(n,a,l):Zc(n,a,l)}return n}function w_(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function _n(e){return e!=null&&typeof e=="object"}var k_="[object Arguments]";function Yc(e){return _n(e)&&hn(e)==k_}var Xc=Object.prototype,T_=Xc.hasOwnProperty,I_=Xc.propertyIsEnumerable,Jc=Yc(function(){return arguments}())?Yc:function(e){return _n(e)&&T_.call(e,"callee")&&!I_.call(e,"callee")},bn=Array.isArray;function S_(){return!1}var qc=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Qc=qc&&typeof module=="object"&&module&&!module.nodeType&&module,E_=Qc&&Qc.exports===qc,eu=E_?_t.Buffer:void 0,x_=eu?eu.isBuffer:void 0,tu=x_||S_,O_=9007199254740991,C_=/^(?:0|[1-9]\d*)$/;function A_(e,t){var n=typeof e;return t=t??O_,!!t&&(n=="number"||n!="symbol"&&C_.test(e))&&e>-1&&e%1==0&&e<t}var L_=9007199254740991;function nu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=L_}var P_="[object Arguments]",R_="[object Array]",N_="[object Boolean]",$_="[object Date]",M_="[object Error]",D_="[object Function]",F_="[object Map]",j_="[object Number]",U_="[object Object]",W_="[object RegExp]",H_="[object Set]",z_="[object String]",K_="[object WeakMap]",V_="[object ArrayBuffer]",B_="[object DataView]",G_="[object Float32Array]",Z_="[object Float64Array]",Y_="[object Int8Array]",X_="[object Int16Array]",J_="[object Int32Array]",q_="[object Uint8Array]",Q_="[object Uint8ClampedArray]",eb="[object Uint16Array]",tb="[object Uint32Array]",me={};me[G_]=me[Z_]=me[Y_]=me[X_]=me[J_]=me[q_]=me[Q_]=me[eb]=me[tb]=!0,me[P_]=me[R_]=me[V_]=me[N_]=me[B_]=me[$_]=me[M_]=me[D_]=me[F_]=me[j_]=me[U_]=me[W_]=me[H_]=me[z_]=me[K_]=!1;function nb(e){return _n(e)&&nu(e.length)&&!!me[hn(e)]}function oo(e){return function(t){return e(t)}}var ru=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Ir=ru&&typeof module=="object"&&module&&!module.nodeType&&module,rb=Ir&&Ir.exports===ru,ao=rb&&Hc.process,Mn=function(){try{var e=Ir&&Ir.require&&Ir.require("util").types;return e||ao&&ao.binding&&ao.binding("util")}catch{}}(),su=Mn&&Mn.isTypedArray,sb=su?oo(su):nb,ib=Object.prototype,ob=ib.hasOwnProperty;function iu(e,t){var n=bn(e),r=!n&&Jc(e),s=!n&&!r&&tu(e),i=!n&&!r&&!s&&sb(e),o=n||r||s||i,a=o?w_(e.length,String):[],l=a.length;for(var u in e)(t||ob.call(e,u))&&!(o&&(u=="length"||s&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||A_(u,l)))&&a.push(u);return a}var ab=Object.prototype;function lo(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||ab;return e===n}function ou(e,t){return function(n){return e(t(n))}}var lb=ou(Object.keys,Object),cb=Object.prototype,ub=cb.hasOwnProperty;function fb(e){if(!lo(e))return lb(e);var t=[];for(var n in Object(e))ub.call(e,n)&&n!="constructor"&&t.push(n);return t}function au(e){return e!=null&&nu(e.length)&&!Vc(e)}function co(e){return au(e)?iu(e):fb(e)}function db(e,t){return e&&Tr(t,co(t),e)}function hb(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var pb=Object.prototype,mb=pb.hasOwnProperty;function gb(e){if(!vr(e))return hb(e);var t=lo(e),n=[];for(var r in e)r=="constructor"&&(t||!mb.call(e,r))||n.push(r);return n}function uo(e){return au(e)?iu(e,!0):gb(e)}function _b(e,t){return e&&Tr(t,uo(t),e)}var lu=typeof exports=="object"&&exports&&!exports.nodeType&&exports,cu=lu&&typeof module=="object"&&module&&!module.nodeType&&module,bb=cu&&cu.exports===lu,uu=bb?_t.Buffer:void 0,fu=uu?uu.allocUnsafe:void 0;function yb(e,t){if(t)return e.slice();var n=e.length,r=fu?fu(n):new e.constructor(n);return e.copy(r),r}function vb(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function wb(e,t){for(var n=-1,r=e==null?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}function du(){return[]}var kb=Object.prototype,Tb=kb.propertyIsEnumerable,hu=Object.getOwnPropertySymbols,fo=hu?function(e){return e==null?[]:(e=Object(e),wb(hu(e),function(t){return Tb.call(e,t)}))}:du;function Ib(e,t){return Tr(e,fo(e),t)}function ho(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}var po=ou(Object.getPrototypeOf,Object),Sb=Object.getOwnPropertySymbols,pu=Sb?function(e){for(var t=[];e;)ho(t,fo(e)),e=po(e);return t}:du;function Eb(e,t){return Tr(e,pu(e),t)}function mu(e,t,n){var r=t(e);return bn(e)?r:ho(r,n(e))}function xb(e){return mu(e,co,fo)}function gu(e){return mu(e,uo,pu)}var mo=mn(_t,"DataView"),go=mn(_t,"Promise"),_o=mn(_t,"Set"),bo=mn(_t,"WeakMap"),_u="[object Map]",Ob="[object Object]",bu="[object Promise]",yu="[object Set]",vu="[object WeakMap]",wu="[object DataView]",Cb=pn(mo),Ab=pn(wr),Lb=pn(go),Pb=pn(_o),Rb=pn(bo),Pt=hn;(mo&&Pt(new mo(new ArrayBuffer(1)))!=wu||wr&&Pt(new wr)!=_u||go&&Pt(go.resolve())!=bu||_o&&Pt(new _o)!=yu||bo&&Pt(new bo)!=vu)&&(Pt=function(e){var t=hn(e),n=t==Ob?e.constructor:void 0,r=n?pn(n):"";if(r)switch(r){case Cb:return wu;case Ab:return _u;case Lb:return bu;case Pb:return yu;case Rb:return vu}return t});var Nb=Object.prototype,$b=Nb.hasOwnProperty;function Mb(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&$b.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var ku=_t.Uint8Array;function yo(e){var t=new e.constructor(e.byteLength);return new ku(t).set(new ku(e)),t}function Db(e,t){var n=t?yo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Fb=/\w*$/;function jb(e){var t=new e.constructor(e.source,Fb.exec(e));return t.lastIndex=e.lastIndex,t}var Tu=bt?bt.prototype:void 0,Iu=Tu?Tu.valueOf:void 0;function Ub(e){return Iu?Object(Iu.call(e)):{}}function Wb(e,t){var n=t?yo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Hb="[object Boolean]",zb="[object Date]",Kb="[object Map]",Vb="[object Number]",Bb="[object RegExp]",Gb="[object Set]",Zb="[object String]",Yb="[object Symbol]",Xb="[object ArrayBuffer]",Jb="[object DataView]",qb="[object Float32Array]",Qb="[object Float64Array]",ey="[object Int8Array]",ty="[object Int16Array]",ny="[object Int32Array]",ry="[object Uint8Array]",sy="[object Uint8ClampedArray]",iy="[object Uint16Array]",oy="[object Uint32Array]";function ay(e,t,n){var r=e.constructor;switch(t){case Xb:return yo(e);case Hb:case zb:return new r(+e);case Jb:return Db(e,n);case qb:case Qb:case ey:case ty:case ny:case ry:case sy:case iy:case oy:return Wb(e,n);case Kb:return new r;case Vb:case Zb:return new r(e);case Bb:return jb(e);case Gb:return new r;case Yb:return Ub(e)}}var Su=Object.create,ly=function(){function e(){}return function(t){if(!vr(t))return{};if(Su)return Su(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function cy(e){return typeof e.constructor=="function"&&!lo(e)?ly(po(e)):{}}var uy="[object Map]";function fy(e){return _n(e)&&Pt(e)==uy}var Eu=Mn&&Mn.isMap,dy=Eu?oo(Eu):fy,hy="[object Set]";function py(e){return _n(e)&&Pt(e)==hy}var xu=Mn&&Mn.isSet,my=xu?oo(xu):py,gy=1,_y=2,by=4,Ou="[object Arguments]",yy="[object Array]",vy="[object Boolean]",wy="[object Date]",ky="[object Error]",Cu="[object Function]",Ty="[object GeneratorFunction]",Iy="[object Map]",Sy="[object Number]",Au="[object Object]",Ey="[object RegExp]",xy="[object Set]",Oy="[object String]",Cy="[object Symbol]",Ay="[object WeakMap]",Ly="[object ArrayBuffer]",Py="[object DataView]",Ry="[object Float32Array]",Ny="[object Float64Array]",$y="[object Int8Array]",My="[object Int16Array]",Dy="[object Int32Array]",Fy="[object Uint8Array]",jy="[object Uint8ClampedArray]",Uy="[object Uint16Array]",Wy="[object Uint32Array]",he={};he[Ou]=he[yy]=he[Ly]=he[Py]=he[vy]=he[wy]=he[Ry]=he[Ny]=he[$y]=he[My]=he[Dy]=he[Iy]=he[Sy]=he[Au]=he[Ey]=he[xy]=he[Oy]=he[Cy]=he[Fy]=he[jy]=he[Uy]=he[Wy]=!0,he[ky]=he[Cu]=he[Ay]=!1;function vs(e,t,n,r,s,i){var o,a=t&gy,l=t&_y,u=t&by;if(n&&(o=s?n(e,r,s,i):n(e)),o!==void 0)return o;if(!vr(e))return e;var c=bn(e);if(c){if(o=Mb(e),!a)return vb(e,o)}else{var f=Pt(e),h=f==Cu||f==Ty;if(tu(e))return yb(e,a);if(f==Au||f==Ou||h&&!s){if(o=l||h?{}:cy(e),!a)return l?Eb(e,_b(o,e)):Ib(e,db(o,e))}else{if(!he[f])return s?e:{};o=ay(e,f,a)}}i||(i=new $n);var p=i.get(e);if(p)return p;i.set(e,o),my(e)?e.forEach(function(E){o.add(vs(E,t,n,E,e,i))}):dy(e)&&e.forEach(function(E,_){o.set(_,vs(E,t,n,_,e,i))});var w=u?l?gu:xb:l?uo:co,v=c?void 0:w(e);return b_(v||e,function(E,_){v&&(_=E,E=e[_]),Zc(o,_,vs(E,t,n,_,e,i))}),o}var Hy="[object Symbol]";function vo(e){return typeof e=="symbol"||_n(e)&&hn(e)==Hy}var zy=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ky=/^\w*$/;function Vy(e,t){if(bn(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||vo(e)?!0:Ky.test(e)||!zy.test(e)||t!=null&&e in Object(t)}var By="Expected a function";function wo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(By);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],i=n.cache;if(i.has(s))return i.get(s);var o=e.apply(this,r);return n.cache=i.set(s,o)||i,o};return n.cache=new(wo.Cache||Zt),n}wo.Cache=Zt;var Gy=500;function Zy(e){var t=wo(e,function(r){return n.size===Gy&&n.clear(),r}),n=t.cache;return t}var Yy=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xy=/\\(\\)?/g,Jy=Zy(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Yy,function(n,r,s,i){t.push(s?i.replace(Xy,"$1"):r||n)}),t}),qy=1/0,Lu=bt?bt.prototype:void 0,Pu=Lu?Lu.toString:void 0;function Ru(e){if(typeof e=="string")return e;if(bn(e))return Uc(e,Ru)+"";if(vo(e))return Pu?Pu.call(e):"";var t=e+"";return t=="0"&&1/e==-qy?"-0":t}function Qy(e){return e==null?"":Ru(e)}function ko(e,t){return bn(e)?e:Vy(e,t)?[e]:Jy(Qy(e))}function e0(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var t0=1/0;function Nu(e){if(typeof e=="string"||vo(e))return e;var t=e+"";return t=="0"&&1/e==-t0?"-0":t}function n0(e,t){t=ko(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Nu(t[n++])];return n&&n==r?e:void 0}function r0(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),n=n>s?s:n,n<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(s);++r<s;)i[r]=e[r+t];return i}function s0(e,t){return t.length<2?e:n0(e,r0(t,0,-1))}function i0(e,t){return t=ko(t,e),e=s0(e,t),e==null||delete e[Nu(e0(t))]}var o0="[object Object]",a0=Function.prototype,l0=Object.prototype,$u=a0.toString,c0=l0.hasOwnProperty,u0=$u.call(Object);function f0(e){if(!_n(e)||hn(e)!=o0)return!1;var t=po(e);if(t===null)return!0;var n=c0.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&$u.call(n)==u0}function d0(e){return f0(e)?void 0:e}var Mu=bt?bt.isConcatSpreadable:void 0;function h0(e){return bn(e)||Jc(e)||!!(Mu&&e&&e[Mu])}function p0(e,t,n,r,s){var i=-1,o=e.length;for(n||(n=h0),s||(s=[]);++i<o;){var a=e[i];n(a)?ho(s,a):s[s.length]=a}return s}function m0(e){var t=e==null?0:e.length;return t?p0(e):[]}function g0(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Du=Math.max;function _0(e,t,n){return t=Du(t===void 0?e.length-1:t,0),function(){for(var r=arguments,s=-1,i=Du(r.length-t,0),o=Array(i);++s<i;)o[s]=r[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=r[s];return a[t]=n(o),g0(e,this,a)}}function b0(e){return function(){return e}}function y0(e){return e}var v0=ys?function(e,t){return ys(e,"toString",{configurable:!0,enumerable:!1,value:b0(t),writable:!0})}:y0,w0=800,k0=16,T0=Date.now;function I0(e){var t=0,n=0;return function(){var r=T0(),s=k0-(r-n);if(n=r,s>0){if(++t>=w0)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var S0=I0(v0);function E0(e){return S0(_0(e,void 0,m0),e+"")}var x0=1,O0=2,C0=4,A0=E0(function(e,t){var n={};if(e==null)return n;var r=!1;t=Uc(t,function(i){return i=ko(i,e),r||(r=i.length>1),i}),Tr(e,gu(e),n),r&&(n=vs(n,x0|O0|C0,d0));for(var s=t.length;s--;)i0(n,t[s]);return n});const Fu={de:{admin:"Admin",anonymous:"Anonym",approve_hint:"Wir werden Ihren Kommentar innerhalb von 24 Stunden beantworten, ohne Ihre E-Mail zu spammen. Schauen Sie bitte bald wieder vorbei. :)",discussion:"Diskussion",edit:"Bearbeiten",load_more:"Mehr laden",login:"Anmelden",logout:"Abmelden",placeholder:"Schreiben Sie ein Kommentar...",post_comment:"Kommentar absenden",post_reply:"Antwort absenden",reply:"Antwort",reply_to:"Antwort auf",save_editing:"Speichern",ui_texts:["Seien Sie der Erste, der die Diskussion beginnt!","Beteiligen Sie sich an der Konversation (#)","Laden...","Kommentare laden"],your_comment:"Dein Kommentar"},en:{admin:"Admin",anonymous:"Anonymous",approve_hint:"We’ll reply to your comment within 24 hours without spamming your email, so please check back soon :)",discussion:"Discussion",edit:"Edit",load_more:"Load More",login:"LOGIN",logout:"Logout",placeholder:"Write a comment...",post_comment:"POST COMMENT",post_reply:"POST REPLY",reply:"Reply",reply_to:"reply to",save_editing:"Save",ui_texts:["Be the first to start the discussion!","Join the Conversation (#)","Loading...","Load Comments"],your_comment:"Your comment"},es:{admin:"Administrador",anonymous:"Anónimo",approve_hint:"los comentarios son normalmente aprobados dentro de 24 horas",discussion:"Discusión",edit:"Editar",load_more:"Cargar Más",login:"INICIAR SESIÓN",logout:"Cerrar Sesión",placeholder:"Escribe un comentario...",post_comment:"PUBLICAR COMENTARIO",post_reply:"PUBLICAR RESPUESTA",reply:"Responder",reply_to:"Responder a",save_editing:"Guardar",ui_texts:["¡Sé el primero en iniciar la discusión!","Únete a la Conversación (#)","Cargando...","Cargar Comentarios"],your_comment:"Tu comentario"},fr:{admin:"Admin",anonymous:"Anonyme",approve_hint:"Nous répondrons à votre commentaire dans les 24 heures sans vous spammer par e-mail, alors revenez bientôt :)",discussion:"Discussion",edit:"Modifier",load_more:"Charger plus",login:"CONNEXION",logout:"Déconnexion",placeholder:"Écrivez un commentaire...",post_comment:"POSTER UN COMMENTAIRE",post_reply:"POSTER UNE RÉPONSE",reply:"Répondre",reply_to:"répondre à",save_editing:"Enregistrer",ui_texts:["Soyez le premier à lancer la discussion !","Rejoignez la conversation (#)","Chargement...","Charger les commentaires"],your_comment:"Votre commentaire"},id:{admin:"Admin",anonymous:"Anonim",approve_hint:"komentar biasanya disetujui dalam waktu 24 jam",discussion:"Diskusi",edit:"Edit",load_more:"Muat Lebih Banyak",login:"MASUK",logout:"Keluar",placeholder:"Tulis komentar...",post_comment:"KIRIM KOMENTAR",post_reply:"KIRIM BALASAN",reply:"Balas",reply_to:"balas ke",save_editing:"Simpan",your_comment:"Komentar Anda"},it:{admin:"Amministratore",anonymous:"Anonimo",approve_hint:"i commenti vengono normalmente approvati entro 24 ore",discussion:"Discussione",edit:"Modifica",load_more:"Carica Altri",login:"ACCEDI",logout:"Esci",placeholder:"Scrivi un commento...",post_comment:"INVIA COMMENTO",post_reply:"INVIA RISPOSTA",reply:"Risposta",reply_to:"rispondi a",save_editing:"Salva",your_comment:"Il tuo commento"},ja:{admin:"管理者",anonymous:"匿名",approve_hint:"コメントは通常24時間以内に承認されます",discussion:"ディスカッション",edit:"編集",load_more:"もっと読み込む",login:"ログイン",logout:"ログアウト",placeholder:"コメントを書く...",post_comment:"コメントを投稿",post_reply:"返信を投稿",reply:"返信",reply_to:"返信先",save_editing:"保存",your_comment:"あなたのコメント"},ko:{admin:"관리자",anonymous:"익명",approve_hint:"댓글은 보통 24시간 내에 승인됩니다",discussion:"토론",edit:"편집",load_more:"더 보기",login:"로그인",logout:"로그아웃",placeholder:"댓글을 입력하세요...",post_comment:"댓글 게시",post_reply:"답글 게시",reply:"답장",reply_to:"답장 대상",save_editing:"저장",your_comment:"당신의 댓글"},pt:{admin:"Administrador",anonymous:"Anônimo",approve_hint:"os comentários são normalmente aprovados dentro de 24 horas",discussion:"Discussão",edit:"Editar",load_more:"Carregar Mais",login:"ENTRAR",logout:"Sair",placeholder:"Escreva um comentário...",post_comment:"PUBLICAR COMENTÁRIO",post_reply:"PUBLICAR RESPOSTA",reply:"Responder",reply_to:"responder a",save_editing:"Salvar",your_comment:"Seu comentário"},th:{admin:"แอดมิน",anonymous:"นิรนาม",approve_hint:"โดยปกติความคิดเห็นจะได้รับการอนุมัติภายใน 24 ชั่วโมง",discussion:"การอภิปราย",edit:"แก้ไข",load_more:"โหลดเพิ่ม",login:"ลงชื่อเข้าใช้",logout:"ลงชื่อออก",placeholder:"เขียนความคิดเห็น...",post_comment:"โพสต์ความคิดเห็น",post_reply:"โพสต์การตอบกลับ",reply:"ตอบกลับ",reply_to:"ตอบกลับถึง",save_editing:"บันทึก",ui_texts:["เป็นคนแรกที่เริ่มการอภิปราย","เข้าร่วมการสนทนา (#)","กำลังโหลด...","โหลดความคิดเห็น"],your_comment:"ความคิดเห็นของคุณ"},zh:{admin:"管理員",anonymous:"匿名",approve_hint:"評論通常在24小時內獲得批準,並且每壹條評論都會獲得回復",discussion:"討論",edit:"修改",load_more:"加載更多",login:"登錄",logout:"登出",placeholder:"寫評論...",post_comment:"發表評論",post_reply:"發表回複",reply:"回複",reply_to:"回複給",save_editing:"保存",your_comment:"您的評論"},cn:{admin:"管理员",anonymous:"匿名",approve_hint:"评论通常在24小时内公开(我们也会回复您)",discussion:"讨论",edit:"编辑",load_more:"加载更多",login:"登录",logout:"登出",placeholder:"写评论...",post_comment:"发表评论",post_reply:"发表回复",reply:"回复",reply_to:"回复给",save_editing:"保存",your_comment:"您的评论"}};function L0(){return!!navigator.userAgent.match(/Macintosh/)}function P0(e,t){return(L0()?e.metaKey:e.ctrlKey)&&e.key===t}var ws=(e=>(e[e.Pending=0]="Pending",e[e.Approved=1]="Approved",e[e.Rejected=2]="Rejected",e[e.UnReplied=255]="UnReplied",e[e["Replied to Admin"]=256]="Replied to Admin",e))(ws||{});const R0=/@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;function ks(e){return e<10?`0${e}`:`${e}`}function ju(e){return e=`${e.substring(0,10)}T${e.substring(11,19)}Z`,new Date(e)}function Uu(e){const t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();return`${t}-${ks(n)}-${ks(r)}`}function Wu(e){e instanceof Date||(e=ju(e));const t=new Date,n=Uu(e);if(Uu(t)===n){const r=e.getHours(),s=e.getMinutes();return`${ks(r)}:${ks(s)}`}return n}function N0(e){const{id:t,created_at:n,parent_id:r,ancestor_id:s,post_id:i,user_id:o,...a}=e;return{...a,id:Number(t),userId:o,parentId:Number(r),postId:i,ancestorId:Number(s),status:Number(e.status),createdAt:ju(n)}}const To="awesome-comment-comments",Hu=localStorage.getItem(To),Dn=Hu?JSON.parse(Hu):{},Fn=Pl("store",()=>{const e=Ue("postId"),t=Ue("comments"),n=Ue("total"),r=te(!!t?.length),s=te(0),i=te(""),o=te([]),a=te(n||0),l=Ue("ApiBaseUrl"),u=te(!1),c=te(!1);function f(E){const _={},y=[];E.forEach(g=>{w(Number(g.id));const C=N0(g);!g.ancestor_id||Number(g.ancestor_id)===0?_[g.id]=C:y.push(C)});const I=Dn[e];I&&(I.createdAt=new Date(I.createdAt),!I.ancestorId||Number(I.ancestorId)===0?_[I.id]=I:y.push(I)),y.forEach(g=>{if(g.ancestorId in _){const C=_[g.ancestorId];C.children=[g,...C.children||[]]}});for(const g in _){const C=_[g];C.children&&(C.children=C.children.sort(($,L)=>$.id-L.id))}return _}async function h(E=!1){if(u.value)return;i.value="",u.value=!0;let _;if(E&&t?.length)_=f(t);else{const y=new URLSearchParams;y.append("postId",e),y.append("start",s.value.toString());const I=await fetch(`${l}/api/comments?${y}`);if(!I.ok){i.value="Load comments failed. "+I.statusText,r.value=!0,u.value=!1;return}const g=await I.json();if(g.code!==0){i.value="Load comments failed. "+g.message,r.value=!0,u.value=!1;return}_=f(g.data||[]),a.value=g.meta?.total||g.data?.length||0}c.value=Object.keys(_).length>20,c.value&&delete _[Object.keys(_)[0]],Object.assign(o.value,_),r.value=!0,u.value=!1}function p(E,_,y,I=ws.Pending,g,C){const{sub:$="",name:L="",picture:D="",email:U="",nickname:Z=""}=y,X={id:E,postId:e,content:_,createdAt:new Date,user:{avatar:D,email:U,name:Z||L},userId:$,status:I,isNew:!0};if(g||C){X.ancestorId=g,X.parentId=C;const J=o.value[g];if(J.children||(J.children=[]),g===C)J.children.unshift(X);else{const Ae=J.children.findIndex(ot=>Number(ot.id)===C);J.children.splice(Ae+1,0,X)}}else X.ancestorId=0,X.parentId=0,o.value={[E]:X,...o.value};a.value++,I!==ws.Approved&&(Dn[e]=X,localStorage.setItem(To,JSON.stringify(Dn)))}function w(E){Dn[e]?.id===E&&(delete Dn[e],localStorage.setItem(To,JSON.stringify(Dn)))}function v(E,_){let y=o.value[E];if(!y){for(const I of Object.values(o.value))if(I.children&&(y=I.children.find(g=>Number(g.id)===E),y))break}y&&Object.assign(y,_)}return{isLoaded:r,message:i,postId:e,comments:o,total:a,start:s,hasMore:c,loadingMore:u,loadComments:h,addComment:p,updateComment:v}});var $0={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function s(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function i(l,u,c,f,h){if(typeof c!="function")throw new TypeError("The listener must be a function");var p=new s(c,f||l,h),w=n?n+u:u;return l._events[w]?l._events[w].fn?l._events[w]=[l._events[w],p]:l._events[w].push(p):(l._events[w]=p,l._eventsCount++),l}function o(l,u){--l._eventsCount===0?l._events=new r:delete l._events[u]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var l=[],u,c;if(this._eventsCount===0)return l;for(c in u=this._events)t.call(u,c)&&l.push(n?c.slice(1):c);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(u)):l},a.prototype.listeners=function(l){var u=n?n+l:l,c=this._events[u];if(!c)return[];if(c.fn)return[c.fn];for(var f=0,h=c.length,p=new Array(h);f<h;f++)p[f]=c[f].fn;return p},a.prototype.listenerCount=function(l){var u=n?n+l:l,c=this._events[u];return c?c.fn?1:c.length:0},a.prototype.emit=function(l,u,c,f,h,p){var w=n?n+l:l;if(!this._events[w])return!1;var v=this._events[w],E=arguments.length,_,y;if(v.fn){switch(v.once&&this.removeListener(l,v.fn,void 0,!0),E){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,u),!0;case 3:return v.fn.call(v.context,u,c),!0;case 4:return v.fn.call(v.context,u,c,f),!0;case 5:return v.fn.call(v.context,u,c,f,h),!0;case 6:return v.fn.call(v.context,u,c,f,h,p),!0}for(y=1,_=new Array(E-1);y<E;y++)_[y-1]=arguments[y];v.fn.apply(v.context,_)}else{var I=v.length,g;for(y=0;y<I;y++)switch(v[y].once&&this.removeListener(l,v[y].fn,void 0,!0),E){case 1:v[y].fn.call(v[y].context);break;case 2:v[y].fn.call(v[y].context,u);break;case 3:v[y].fn.call(v[y].context,u,c);break;case 4:v[y].fn.call(v[y].context,u,c,f);break;default:if(!_)for(g=1,_=new Array(E-1);g<E;g++)_[g-1]=arguments[g];v[y].fn.apply(v[y].context,_)}}return!0},a.prototype.on=function(l,u,c){return i(this,l,u,c,!1)},a.prototype.once=function(l,u,c){return i(this,l,u,c,!0)},a.prototype.removeListener=function(l,u,c,f){var h=n?n+l:l;if(!this._events[h])return this;if(!u)return o(this,h),this;var p=this._events[h];if(p.fn)p.fn===u&&(!f||p.once)&&(!c||p.context===c)&&o(this,h);else{for(var w=0,v=[],E=p.length;w<E;w++)(p[w].fn!==u||f&&!p[w].once||c&&p[w].context!==c)&&v.push(p[w]);v.length?this._events[h]=v.length===1?v[0]:v:o(this,h)}return this},a.prototype.removeAllListeners=function(l){var u;return l?(u=n?n+l:l,this._events[u]&&o(this,u)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,e.exports=a})($0);class M0 extends Error{}M0.prototype.name="InvalidTokenError";var D0=typeof global=="object"&&global&&global.Object===Object&&global,F0=typeof self=="object"&&self&&self.Object===Object&&self,j0=D0||F0||Function("return this")(),Ts=j0.Symbol;Ts&&Ts.toStringTag,Ts&&Ts.toStringTag;var Is=(e=>(e.INIT="init",e.VERIFYING="verifying",e.VERIFIED="verified",e.REFRESH="refresh",e.ERROR="error",e))(Is||{});const Io=Pl("auth",()=>{const e=Ue("awesomeAuth"),t=!e&&dp(),n=te(!1),r=te(!1),s=te(),i=!!e,o=st(()=>e?e.root:"");async function a(){return e?e.accessToken:t?await t.getAccessTokenSilently():""}function l(){e?e.doSignIn():t&&t.loginWithPopup()}function u(c){e?e.doSignOut():t&&t.logout(c)}return e?(e.on(Is.INIT,c=>{r.value=c,c&&(n.value=!1)}),e.on(Is.VERIFYING,c=>{r.value=c}),e.on(Is.VERIFIED,c=>{n.value=c,s.value=c?e.user:void 0}),r.value=e.isVerifying,n.value=e.isVerified,s.value=e.user):t&&(ft(t.isLoading,c=>{r.value=c},{immediate:!0}),ft(t.isAuthenticated,c=>{n.value=c},{immediate:!0}),ft(t.user,c=>{s.value=c},{immediate:!0})),{isAuthenticated:n,isAwesomeAuth:i,isLoading:r,authEndpoint:o,user:s,getAccessToken:a,login:l,logout:u}}),U0={class:"ac-form-control bg-base-200 rounded-lg"},W0={class:"sr-only",for:"ac-comment"},H0=["placeholder"],z0={class:"p-2 rounded-b-lg bg-base-300 flex items-center"},K0={key:0,class:"text-xs text-neutral-400/40"},V0={key:1,class:"ac-alert ac-alert-error mx-4 py-1"},B0=["disabled"],G0={key:0,class:"ac-loading ac-loading-spinner"},Ss=ut({...{name:"CommentForm"},props:{noVersion:{type:Boolean},currentId:{},parentId:{},ancestorId:{},content:{},status:{}},emits:["close","update"],setup(e,{emit:t}){const n=e,r=t,s=Io(),i=Fn(),{t:o}=gt(),a=Ue("ApiBaseUrl"),l=Ue("Auth0Domain"),u="0.9.10",c=te(),f=te(!1),h=te(n.content||""),p=te("");async function w(y){if(!s.user)return v();if(y.target.matches(":invalid"))return;const I=h.value.trim();if(!I)return;if(I.length<5||/^\w{35,}$/.test(I)){p.value="We encourage meaningful contributions to foster a positive community. Thank you for your understanding!";return}f.value=!0,p.value="";let g=a+"/api/comment",C="POST";n.currentId&&(g+="/"+n.currentId,C="PATCH");try{const $=await s.getAccessToken(),L=s.authEndpoint,D=await fetch(g,{method:C,headers:{"Content-Type":"application/json",Authorization:`Bearer ${$}`,"Auth-Endpoint":L},body:JSON.stringify({comment:I,postId:i.postId,domain:l,ancestorId:n.ancestorId?Number(n.ancestorId):void 0,parentId:n.parentId?Number(n.parentId):void 0,status:n.status,window:`${window.innerWidth}x${window.innerHeight} / ${screen.width,screen.height}`,customData:window.custom_comment_data})}),U=await D.json();if(!D.ok||U.message){p.value="Failed to post comment: "+(U.message||"Unknown"),f.value=!1;return}const{id:Z,status:X}=U.data;n.ancestorId||n.parentId?i.addComment(Z,I,s.user,X,n.ancestorId,n.parentId):n.currentId?r("update",I):i.addComment(Z,I,s.user,X),h.value="",r("close")}catch($){p.value=$.message||String($)}f.value=!1}function v(){s.login()}function E(y){P0(y,"Enter")&&w(y)}function _(){r("close")}return Qn(()=>{c.value?.focus()}),(y,I)=>(V(),Y("form",{class:"mb-6",onSubmit:Rh(w,["prevent"])},[oe("div",U0,[oe("label",W0,be(H(o)("your_comment")),1),nd(oe("textarea",{id:"ac-comment",ref_key:"textarea",ref:c,"onUpdate:modelValue":I[0]||(I[0]=g=>h.value=g),placeholder:H(o)("placeholder"),class:"ac-textarea ac-textarea-bordered bg-base-200 rounded-b-none focus:outline-none",required:"required",rows:"3",onKeydown:[Il(E,["enter"]),Il(_,["esc"])]},null,40,H0),[[Ah,h.value]]),oe("div",z0,[y.noVersion?Ne("",!0):(V(),Y("div",K0," v"+be(H(u)),1)),p.value?(V(),Y("div",V0,be(p.value),1)):Ne("",!0),oe("button",{disabled:f.value,class:"ac-btn ac-btn-primary ac-btn-sm ms-auto"},[f.value?(V(),Y("span",G0)):Ne("",!0),y.currentId?(V(),Y(xe,{key:1},[on(be(H(o)("save_editing")),1)],64)):y.parentId?(V(),Y(xe,{key:2},[on(be(H(o)("post_reply")),1)],64)):(V(),Y(xe,{key:3},[on(be(H(o)("post_comment")),1)],64))],8,B0)])])],32))}});/**
46
46
  * @license lucide-vue-next v0.468.0 - ISC
47
47
  *
48
48
  * This source code is licensed under the ISC license.
@@ -9041,7 +9041,7 @@ const xo = /* @__PURE__ */ Vc("auth", () => {
9041
9041
  class: "text-xs text-neutral-400/40"
9042
9042
  }, Y0 = {
9043
9043
  key: 1,
9044
- class: "ac-alert ac-alert-error text-white mx-4 py-2"
9044
+ class: "ac-alert ac-alert-error mx-4 py-1"
9045
9045
  }, X0 = ["disabled"], J0 = {
9046
9046
  key: 0,
9047
9047
  class: "ac-loading ac-loading-spinner"
@@ -9059,7 +9059,7 @@ const xo = /* @__PURE__ */ Vc("auth", () => {
9059
9059
  },
9060
9060
  emits: ["close", "update"],
9061
9061
  setup(e, { emit: t }) {
9062
- const n = e, r = t, s = xo(), i = Wn(), { t: o } = yt(), a = We("ApiBaseUrl"), l = We("Auth0Domain"), u = "0.9.9", c = te(), f = te(!1), h = te(n.content || ""), p = te("");
9062
+ const n = e, r = t, s = xo(), i = Wn(), { t: o } = yt(), a = We("ApiBaseUrl"), l = We("Auth0Domain"), u = "0.9.10", c = te(), f = te(!1), h = te(n.content || ""), p = te("");
9063
9063
  async function w(y) {
9064
9064
  if (!s.user)
9065
9065
  return v();
@@ -9088,7 +9088,8 @@ const xo = /* @__PURE__ */ Vc("auth", () => {
9088
9088
  ancestorId: n.ancestorId ? Number(n.ancestorId) : void 0,
9089
9089
  parentId: n.parentId ? Number(n.parentId) : void 0,
9090
9090
  status: n.status,
9091
- window: `${window.innerWidth}x${window.innerHeight} / ${screen.width, screen.height}`
9091
+ window: `${window.innerWidth}x${window.innerHeight} / ${screen.width, screen.height}`,
9092
+ customData: window.custom_comment_data
9092
9093
  })
9093
9094
  }), U = await D.json();
9094
9095
  if (!D.ok || U.message) {
@@ -42,7 +42,7 @@
42
42
  * vue-i18n v10.0.5
43
43
  * (c) 2024 kazuya kawaguchi
44
44
  * Released under the MIT License.
45
- */const Ym="10.0.5";function Xm(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(hn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(hn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(hn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(hn().__INTLIFY_PROD_DEVTOOLS__=!1)}const He={UNEXPECTED_RETURN_TYPE:pm,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Ke(e,...t){return ps(e,null,void 0)}const Ji=Kt("__translateVNode"),qi=Kt("__datetimeParts"),Qi=Kt("__numberParts"),kc=Kt("__setPluralRules"),Tc=Kt("__injectWithOption"),eo=Kt("__dispose");function yr(e){if(!se(e))return e;for(const t in e)if(it(e,t))if(!t.includes("."))se(e[t])&&yr(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,i=!1;for(let o=0;o<r;o++){if(n[o]in s||(s[n[o]]=ue()),!se(s[n[o]])){i=!0;break}s=s[n[o]]}i||(s[n[r]]=e[t],delete e[t]),se(s[n[r]])&&yr(s[n[r]])}return e}function to(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:i}=t,o=G(n)?n:ve(r)?ue():{[e]:ue()};if(ve(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(o[l]=o[l]||ue(),hs(u,o[l])):hs(u,o)}else j(a)&&hs(JSON.parse(a),o)}),s==null&&i)for(const a in o)it(o,a)&&yr(o[a]);return o}function Ic(e){return e.type}function Sc(e,t,n){let r=se(t.messages)?t.messages:ue();"__i18nGlobal"in n&&(r=to(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(se(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(se(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Ec(e){return ke(rr,null,e,0)}const xc="__INTLIFY_META__",Oc=()=>[],Jm=()=>!1;let Cc=0;function Ac(e){return(t,n,r,s)=>e(n,r,ar()||void 0,s)}const qm=()=>{const e=ar();let t=null;return e&&(t=Ic(e)[xc])?{[xc]:t}:null};function no(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,i=us?te:Ff;let o=ne(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&o?t.locale.value:j(e.locale)?e.locale:_r),l=i(t&&o?t.fallbackLocale.value:j(e.fallbackLocale)||ve(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(to(a.value,e)),c=i(G(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i(G(e.numberFormats)?e.numberFormats:{[a.value]:{}});let h=t?t.missingWarn:ne(e.missingWarn)||Pn(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ne(e.fallbackWarn)||Pn(e.fallbackWarn)?e.fallbackWarn:!0,w=t?t.fallbackRoot:ne(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,E=pe(e.missing)?e.missing:null,_=pe(e.missing)?Ac(e.missing):null,y=pe(e.postTranslation)?e.postTranslation:null,I=t?t.warnHtmlMessage:ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const C=t?t.modifiers:G(e.modifiers)?e.modifiers:{};let $=e.pluralRules||t&&t.pluralRules,L;L=(()=>{r&&cc(null);const T={version:Ym,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:C,pluralRules:$,missing:_===null?void 0:_,missingWarn:h,fallbackWarn:p,fallbackFormat:v,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:I,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};T.datetimeFormats=c.value,T.numberFormats=f.value,T.__datetimeFormatters=G(L)?L.__datetimeFormatters:void 0,T.__numberFormatters=G(L)?L.__numberFormatters:void 0;const x=Nm(T);return r&&cc(x),x})(),br(L,a.value,l.value);function U(){return[a.value,l.value,u.value,c.value,f.value]}const Z=st({get:()=>a.value,set:T=>{a.value=T,L.locale=a.value}}),X=st({get:()=>l.value,set:T=>{l.value=T,L.fallbackLocale=l.value,br(L,a.value,T)}}),J=st(()=>u.value),Ae=st(()=>c.value),ot=st(()=>f.value);function Yt(){return pe(y)?y:null}function ge(T){y=T,L.postTranslation=T}function B(){return E}function oe(T){T!==null&&(_=Ac(T)),E=T,L.missing=_}const Le=(T,x,F,W,Q,ee)=>{U();let Ie;try{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=t?Rm():void 0),Ie=T(L)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=void 0)}if(F!=="translate exists"&&Te(Ie)&&Ie===_s||F==="translate exists"&&!Ie){const[Ce,nt]=x();return t&&w?W(t):Q(Ce)}else{if(ee(Ie))return Ie;throw Ke(He.UNEXPECTED_RETURN_TYPE)}};function Rt(...T){return Le(x=>Reflect.apply(yc,null,[x,...T]),()=>Xi(...T),"translate",x=>Reflect.apply(x.t,x,[...T]),x=>x,x=>j(x))}function tt(...T){const[x,F,W]=T;if(W&&!se(W))throw Ke(He.INVALID_ARGUMENT);return Rt(x,F,Se({resolvedMessage:!0},W||{}))}function Ve(...T){return Le(x=>Reflect.apply(fc,null,[x,...T]),()=>Zi(...T),"datetime format",x=>Reflect.apply(x.d,x,[...T]),()=>nc,x=>j(x))}function Un(...T){return Le(x=>Reflect.apply(pc,null,[x,...T]),()=>Yi(...T),"number format",x=>Reflect.apply(x.n,x,[...T]),()=>nc,x=>j(x))}function Ar(T){return T.map(x=>j(x)||Te(x)||ne(x)?Ec(String(x)):x)}const Nt={normalize:Ar,interpolate:T=>T,type:"vnode"};function Xt(...T){return Le(x=>{let F;const W=x;try{W.processor=Nt,F=Reflect.apply(yc,null,[W,...T])}finally{W.processor=null}return F},()=>Xi(...T),"translate",x=>x[Ji](...T),x=>[Ec(x)],x=>ve(x))}function Jt(...T){return Le(x=>Reflect.apply(pc,null,[x,...T]),()=>Yi(...T),"number format",x=>x[Qi](...T),Oc,x=>j(x)||ve(x))}function Wn(...T){return Le(x=>Reflect.apply(fc,null,[x,...T]),()=>Zi(...T),"datetime format",x=>x[qi](...T),Oc,x=>j(x)||ve(x))}function $t(T){$=T,L.pluralRules=$}function Hn(T,x){return Le(()=>{if(!T)return!1;const F=j(x)?x:a.value,W=k(F),Q=L.messageResolver(W,T);return $n(Q)||qe(Q)||j(Q)},()=>[T],"translate exists",F=>Reflect.apply(F.te,F,[T,x]),Jm,F=>ne(F))}function zn(T){let x=null;const F=Ql(L,l.value,a.value);for(let W=0;W<F.length;W++){const Q=u.value[F[W]]||{},ee=L.messageResolver(Q,T);if(ee!=null){x=ee;break}}return x}function b(T){const x=zn(T);return x??(t?t.tm(T)||{}:{})}function k(T){return u.value[T]||{}}function A(T,x){if(s){const F={[T]:x};for(const W in F)it(F,W)&&yr(F[W]);x=F[T]}u.value[T]=x,L.messages=u.value}function N(T,x){u.value[T]=u.value[T]||{};const F={[T]:x};if(s)for(const W in F)it(F,W)&&yr(F[W]);x=F[T],hs(x,u.value[T]),L.messages=u.value}function R(T){return c.value[T]||{}}function d(T,x){c.value[T]=x,L.datetimeFormats=c.value,hc(L,T,x)}function m(T,x){c.value[T]=Se(c.value[T]||{},x),L.datetimeFormats=c.value,hc(L,T,x)}function S(T){return f.value[T]||{}}function O(T,x){f.value[T]=x,L.numberFormats=f.value,gc(L,T,x)}function P(T,x){f.value[T]=Se(f.value[T]||{},x),L.numberFormats=f.value,gc(L,T,x)}Cc++,t&&us&&(ft(t.locale,T=>{o&&(a.value=T,L.locale=T,br(L,a.value,l.value))}),ft(t.fallbackLocale,T=>{o&&(l.value=T,L.fallbackLocale=T,br(L,a.value,l.value))}));const M={id:Cc,locale:Z,fallbackLocale:X,get inheritLocale(){return o},set inheritLocale(T){o=T,T&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,br(L,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:J,get modifiers(){return C},get pluralRules(){return $||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(T){h=T,L.missingWarn=h},get fallbackWarn(){return p},set fallbackWarn(T){p=T,L.fallbackWarn=p},get fallbackRoot(){return w},set fallbackRoot(T){w=T},get fallbackFormat(){return v},set fallbackFormat(T){v=T,L.fallbackFormat=v},get warnHtmlMessage(){return I},set warnHtmlMessage(T){I=T,L.warnHtmlMessage=T},get escapeParameter(){return g},set escapeParameter(T){g=T,L.escapeParameter=T},t:Rt,getLocaleMessage:k,setLocaleMessage:A,mergeLocaleMessage:N,getPostTranslationHandler:Yt,setPostTranslationHandler:ge,getMissingHandler:B,setMissingHandler:oe,[kc]:$t};return M.datetimeFormats=Ae,M.numberFormats=ot,M.rt=tt,M.te=Hn,M.tm=b,M.d=Ve,M.n=Un,M.getDateTimeFormat=R,M.setDateTimeFormat=d,M.mergeDateTimeFormat=m,M.getNumberFormat=S,M.setNumberFormat=O,M.mergeNumberFormat=P,M[Tc]=n,M[Ji]=Xt,M[qi]=Wn,M[Qi]=Jt,M}function Qm(e){const t=j(e.locale)?e.locale:_r,n=j(e.fallbackLocale)||ve(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=pe(e.missing)?e.missing:void 0,s=ne(e.silentTranslationWarn)||Pn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=ne(e.silentFallbackWarn)||Pn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=ne(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=G(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=pe(e.postTranslation)?e.postTranslation:void 0,f=j(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,p=ne(e.sync)?e.sync:!0;let w=e.messages;if(G(e.sharedMessages)){const C=e.sharedMessages;w=Object.keys(C).reduce((L,D)=>{const U=L[D]||(L[D]={});return Se(U,C[D]),L},w||{})}const{__i18n:v,__root:E,__injectWithOption:_}=e,y=e.datetimeFormats,I=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:w,flatJson:g,datetimeFormats:y,numberFormats:I,missing:r,missingWarn:s,fallbackWarn:i,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:p,__i18n:v,__root:E,__injectWithOption:_}}function ro(e={}){const t=no(Qm(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return ne(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=ne(s)?!s:s},get silentFallbackWarn(){return ne(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=ne(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},tc(...s){const[i,o,a]=s,l={plural:1};let u=null,c=null;if(!j(i))throw Ke(He.INVALID_ARGUMENT);const f=i;return j(o)?l.locale=o:Te(o)?l.plural=o:ve(o)?u=o:G(o)&&(c=o),j(a)?l.locale=a:ve(a)?u=a:G(a)&&(c=a),Reflect.apply(t.t,t,[f,u||c||{},l])},te(s,i){return t.te(s,i)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,i){t.setLocaleMessage(s,i)},mergeLocaleMessage(s,i){t.mergeLocaleMessage(s,i)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,i){t.setDateTimeFormat(s,i)},mergeDateTimeFormat(s,i){t.mergeDateTimeFormat(s,i)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,i){t.setNumberFormat(s,i)},mergeNumberFormat(s,i){t.mergeNumberFormat(s,i)}};return r.__extender=n,r}function eg(e,t,n){return{beforeCreate(){const r=ar();if(!r)throw Ke(He.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const i=s.i18n;if(s.__i18n&&(i.__i18n=s.__i18n),i.__root=t,this===this.$root)this.$i18n=Lc(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=ro(i);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Lc(e,s);else{this.$i18n=ro({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Sc(t,s,s),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=ar();if(!r)throw Ke(He.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Lc(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[kc](t.pluralizationRules||e.pluralizationRules);const n=to(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const so={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function tg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===xe?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},ue())}function Pc(){return xe}const Rc=ut({name:"i18n-t",props:Se({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Te(e)||!isNaN(e)}},so),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||gt({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),o=ue();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=j(e.plural)?+e.plural:e.plural);const a=tg(t,i),l=s[Ji](e.keypath,a,o),u=Se(ue(),r),c=j(e.tag)||se(e.tag)?e.tag:Pc();return ur(c,u,l)}}});function ng(e){return ve(e)&&!j(e[0])}function Nc(e,t,n,r){const{slots:s,attrs:i}=t;return()=>{const o={part:!0};let a=ue();e.locale&&(o.locale=e.locale),j(e.format)?o.key=e.format:se(e.format)&&(j(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((h,p)=>n.includes(p)?Se(ue(),h,{[p]:e.format[p]}):h,ue()));const l=r(e.value,o,a);let u=[o.key];ve(l)?u=l.map((h,p)=>{const w=s[h.type],v=w?w({[h.type]:h.value,index:p,parts:l}):[h.value];return ng(v)&&(v[0].key=`${h.type}-${p}`),v}):j(l)&&(u=[l]);const c=Se(ue(),i),f=j(e.tag)||se(e.tag)?e.tag:Pc();return ur(f,c,u)}}const $c=ut({name:"i18n-n",props:Se({value:{type:Number,required:!0},format:{type:[String,Object]}},so),setup(e,t){const n=e.i18n||gt({useScope:e.scope,__useComponent:!0});return Nc(e,t,mc,(...r)=>n[Qi](...r))}}),Mc=ut({name:"i18n-d",props:Se({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},so),setup(e,t){const n=e.i18n||gt({useScope:e.scope,__useComponent:!0});return Nc(e,t,dc,(...r)=>n[qi](...r))}});function rg(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function sg(e){const t=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Ke(He.UNEXPECTED_ERROR);const u=rg(e,a.$),c=Dc(l);return[Reflect.apply(u.t,u,[...Fc(c)]),u]};return{created:(o,a)=>{const[l,u]=t(a);us&&e.global===u&&(o.__i18nWatcher=ft(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=u,o.textContent=l},unmounted:o=>{us&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,u=Dc(a);o.textContent=Reflect.apply(l.t,l,[...Fc(u)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function Dc(e){if(j(e))return{path:e};if(G(e)){if(!("path"in e))throw Ke(He.REQUIRED_VALUE,"path");return e}else throw Ke(He.INVALID_VALUE)}function Fc(e){const{path:t,locale:n,args:r,choice:s,plural:i}=e,o={},a=r||{};return j(n)&&(o.locale=n),Te(s)&&(o.plural=s),Te(i)&&(o.plural=i),[t,a,o]}function ig(e,t,...n){const r=G(n[0])?n[0]:{};(ne(r.globalInstall)?r.globalInstall:!0)&&([Rc.name,"I18nT"].forEach(i=>e.component(i,Rc)),[$c.name,"I18nN"].forEach(i=>e.component(i,$c)),[Mc.name,"I18nD"].forEach(i=>e.component(i,Mc))),e.directive("t",sg(t))}const og=Kt("global-vue-i18n");function ag(e={},t){const n=__VUE_I18N_LEGACY_API__&&ne(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=ne(e.globalInjection)?e.globalInjection:!0,s=new Map,[i,o]=lg(e,n),a=Kt("");function l(h){return s.get(h)||null}function u(h,p){s.set(h,p)}function c(h){s.delete(h)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(h,...p){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,f),G(p[0])){const E=p[0];f.__composerExtend=E.__composerExtend,f.__vueI18nExtend=E.__vueI18nExtend}let w=null;!n&&r&&(w=gg(h,f.global)),__VUE_I18N_FULL_INSTALL__&&ig(h,f,...p),__VUE_I18N_LEGACY_API__&&n&&h.mixin(eg(o,o.__composer,f));const v=h.unmount;h.unmount=()=>{w&&w(),f.dispose(),v()}},get global(){return o},dispose(){i.stop()},__instances:s,__getInstance:l,__setInstance:u,__deleteInstance:c};return f}function gt(e={}){const t=ar();if(t==null)throw Ke(He.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ke(He.NOT_INSTALLED);const n=cg(t),r=fg(n),s=Ic(t),i=ug(e,s);if(i==="global")return Sc(r,e,s),r;if(i==="parent"){let l=dg(n,t,e.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(t);if(a==null){const l=Se({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=no(l),o.__composerExtend&&(a[eo]=o.__composerExtend(a)),pg(o,t,a),o.__setInstance(t,a)}return a}function lg(e,t,n){const r=zs(),s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>ro(e)):r.run(()=>no(e));if(s==null)throw Ke(He.UNEXPECTED_ERROR);return[r,s]}function cg(e){const t=Ue(e.isCE?og:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ke(e.isCE?He.NOT_INSTALLED_WITH_PROVIDE:He.UNEXPECTED_ERROR);return t}function ug(e,t){return fs(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function fg(e){return e.mode==="composition"?e.global:e.global.__composer}function dg(e,t,n=!1){let r=null;const s=t.root;let i=hg(t,n);for(;i!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[Tc]&&(r=null))}if(r!=null||s===i)break;i=i.parent}return r}function hg(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function pg(e,t,n){er(()=>{},t),oi(()=>{const r=n;e.__deleteInstance(t);const s=r[eo];s&&(s(),delete r[eo])},t)}const mg=["locale","fallbackLocale","availableLocales"],jc=["t","rt","d","n","tm","te"];function gg(e,t){const n=Object.create(null);return mg.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i)throw Ke(He.UNEXPECTED_ERROR);const o=ye(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,jc.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i||!i.value)throw Ke(He.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,i)}),()=>{delete e.config.globalProperties.$i18n,jc.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(Xm(),Om(cm),Cm(Sm),Am(Ql),__INTLIFY_PROD_DEVTOOLS__){const e=hn();e.__INTLIFY__=!0,um(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Uc(e,t){for(var n=-1,r=e==null?0:e.length,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s}function _g(){this.__data__=[],this.size=0}function Wc(e,t){return e===t||e!==e&&t!==t}function bs(e,t){for(var n=e.length;n--;)if(Wc(e[n][0],t))return n;return-1}var bg=Array.prototype,yg=bg.splice;function vg(e){var t=this.__data__,n=bs(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():yg.call(t,n,1),--this.size,!0}function wg(e){var t=this.__data__,n=bs(t,e);return n<0?void 0:t[n][1]}function kg(e){return bs(this.__data__,e)>-1}function Tg(e,t){var n=this.__data__,r=bs(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Lt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Lt.prototype.clear=_g,Lt.prototype.delete=vg,Lt.prototype.get=wg,Lt.prototype.has=kg,Lt.prototype.set=Tg;function Ig(){this.__data__=new Lt,this.size=0}function Sg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Eg(e){return this.__data__.get(e)}function xg(e){return this.__data__.has(e)}var Hc=typeof global=="object"&&global&&global.Object===Object&&global,Og=typeof self=="object"&&self&&self.Object===Object&&self,_t=Hc||Og||Function("return this")(),bt=_t.Symbol,zc=Object.prototype,Cg=zc.hasOwnProperty,Ag=zc.toString,vr=bt?bt.toStringTag:void 0;function Lg(e){var t=Cg.call(e,vr),n=e[vr];try{e[vr]=void 0;var r=!0}catch{}var s=Ag.call(e);return r&&(t?e[vr]=n:delete e[vr]),s}var Pg=Object.prototype,Rg=Pg.toString;function Ng(e){return Rg.call(e)}var $g="[object Null]",Mg="[object Undefined]",Kc=bt?bt.toStringTag:void 0;function pn(e){return e==null?e===void 0?Mg:$g:Kc&&Kc in Object(e)?Lg(e):Ng(e)}function wr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Dg="[object AsyncFunction]",Fg="[object Function]",jg="[object GeneratorFunction]",Ug="[object Proxy]";function Vc(e){if(!wr(e))return!1;var t=pn(e);return t==Fg||t==jg||t==Dg||t==Ug}var io=_t["__core-js_shared__"],Bc=function(){var e=/[^.]+$/.exec(io&&io.keys&&io.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wg(e){return!!Bc&&Bc in e}var Hg=Function.prototype,zg=Hg.toString;function mn(e){if(e!=null){try{return zg.call(e)}catch{}try{return e+""}catch{}}return""}var Kg=/[\\^$.*+?()[\]{}|]/g,Vg=/^\[object .+?Constructor\]$/,Bg=Function.prototype,Gg=Object.prototype,Zg=Bg.toString,Yg=Gg.hasOwnProperty,Xg=RegExp("^"+Zg.call(Yg).replace(Kg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jg(e){if(!wr(e)||Wg(e))return!1;var t=Vc(e)?Xg:Vg;return t.test(mn(e))}function qg(e,t){return e?.[t]}function gn(e,t){var n=qg(e,t);return Jg(n)?n:void 0}var kr=gn(_t,"Map"),Tr=gn(Object,"create");function Qg(){this.__data__=Tr?Tr(null):{},this.size=0}function e_(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var t_="__lodash_hash_undefined__",n_=Object.prototype,r_=n_.hasOwnProperty;function s_(e){var t=this.__data__;if(Tr){var n=t[e];return n===t_?void 0:n}return r_.call(t,e)?t[e]:void 0}var i_=Object.prototype,o_=i_.hasOwnProperty;function a_(e){var t=this.__data__;return Tr?t[e]!==void 0:o_.call(t,e)}var l_="__lodash_hash_undefined__";function c_(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Tr&&t===void 0?l_:t,this}function _n(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}_n.prototype.clear=Qg,_n.prototype.delete=e_,_n.prototype.get=s_,_n.prototype.has=a_,_n.prototype.set=c_;function u_(){this.size=0,this.__data__={hash:new _n,map:new(kr||Lt),string:new _n}}function f_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ys(e,t){var n=e.__data__;return f_(t)?n[typeof t=="string"?"string":"hash"]:n.map}function d_(e){var t=ys(this,e).delete(e);return this.size-=t?1:0,t}function h_(e){return ys(this,e).get(e)}function p_(e){return ys(this,e).has(e)}function m_(e,t){var n=ys(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zt.prototype.clear=u_,Zt.prototype.delete=d_,Zt.prototype.get=h_,Zt.prototype.has=p_,Zt.prototype.set=m_;var g_=200;function __(e,t){var n=this.__data__;if(n instanceof Lt){var r=n.__data__;if(!kr||r.length<g_-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Zt(r)}return n.set(e,t),this.size=n.size,this}function Mn(e){var t=this.__data__=new Lt(e);this.size=t.size}Mn.prototype.clear=Ig,Mn.prototype.delete=Sg,Mn.prototype.get=Eg,Mn.prototype.has=xg,Mn.prototype.set=__;function b_(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var vs=function(){try{var e=gn(Object,"defineProperty");return e({},"",{}),e}catch{}}();function Gc(e,t,n){t=="__proto__"&&vs?vs(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var y_=Object.prototype,v_=y_.hasOwnProperty;function Zc(e,t,n){var r=e[t];(!(v_.call(e,t)&&Wc(r,n))||n===void 0&&!(t in e))&&Gc(e,t,n)}function Ir(e,t,n,r){var s=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=void 0;l===void 0&&(l=e[a]),s?Gc(n,a,l):Zc(n,a,l)}return n}function w_(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function bn(e){return e!=null&&typeof e=="object"}var k_="[object Arguments]";function Yc(e){return bn(e)&&pn(e)==k_}var Xc=Object.prototype,T_=Xc.hasOwnProperty,I_=Xc.propertyIsEnumerable,Jc=Yc(function(){return arguments}())?Yc:function(e){return bn(e)&&T_.call(e,"callee")&&!I_.call(e,"callee")},yn=Array.isArray;function S_(){return!1}var qc=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Qc=qc&&typeof module=="object"&&module&&!module.nodeType&&module,E_=Qc&&Qc.exports===qc,eu=E_?_t.Buffer:void 0,x_=eu?eu.isBuffer:void 0,tu=x_||S_,O_=9007199254740991,C_=/^(?:0|[1-9]\d*)$/;function A_(e,t){var n=typeof e;return t=t??O_,!!t&&(n=="number"||n!="symbol"&&C_.test(e))&&e>-1&&e%1==0&&e<t}var L_=9007199254740991;function nu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=L_}var P_="[object Arguments]",R_="[object Array]",N_="[object Boolean]",$_="[object Date]",M_="[object Error]",D_="[object Function]",F_="[object Map]",j_="[object Number]",U_="[object Object]",W_="[object RegExp]",H_="[object Set]",z_="[object String]",K_="[object WeakMap]",V_="[object ArrayBuffer]",B_="[object DataView]",G_="[object Float32Array]",Z_="[object Float64Array]",Y_="[object Int8Array]",X_="[object Int16Array]",J_="[object Int32Array]",q_="[object Uint8Array]",Q_="[object Uint8ClampedArray]",eb="[object Uint16Array]",tb="[object Uint32Array]",me={};me[G_]=me[Z_]=me[Y_]=me[X_]=me[J_]=me[q_]=me[Q_]=me[eb]=me[tb]=!0,me[P_]=me[R_]=me[V_]=me[N_]=me[B_]=me[$_]=me[M_]=me[D_]=me[F_]=me[j_]=me[U_]=me[W_]=me[H_]=me[z_]=me[K_]=!1;function nb(e){return bn(e)&&nu(e.length)&&!!me[pn(e)]}function oo(e){return function(t){return e(t)}}var ru=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Sr=ru&&typeof module=="object"&&module&&!module.nodeType&&module,rb=Sr&&Sr.exports===ru,ao=rb&&Hc.process,Dn=function(){try{var e=Sr&&Sr.require&&Sr.require("util").types;return e||ao&&ao.binding&&ao.binding("util")}catch{}}(),su=Dn&&Dn.isTypedArray,sb=su?oo(su):nb,ib=Object.prototype,ob=ib.hasOwnProperty;function iu(e,t){var n=yn(e),r=!n&&Jc(e),s=!n&&!r&&tu(e),i=!n&&!r&&!s&&sb(e),o=n||r||s||i,a=o?w_(e.length,String):[],l=a.length;for(var u in e)(t||ob.call(e,u))&&!(o&&(u=="length"||s&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||A_(u,l)))&&a.push(u);return a}var ab=Object.prototype;function lo(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||ab;return e===n}function ou(e,t){return function(n){return e(t(n))}}var lb=ou(Object.keys,Object),cb=Object.prototype,ub=cb.hasOwnProperty;function fb(e){if(!lo(e))return lb(e);var t=[];for(var n in Object(e))ub.call(e,n)&&n!="constructor"&&t.push(n);return t}function au(e){return e!=null&&nu(e.length)&&!Vc(e)}function co(e){return au(e)?iu(e):fb(e)}function db(e,t){return e&&Ir(t,co(t),e)}function hb(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var pb=Object.prototype,mb=pb.hasOwnProperty;function gb(e){if(!wr(e))return hb(e);var t=lo(e),n=[];for(var r in e)r=="constructor"&&(t||!mb.call(e,r))||n.push(r);return n}function uo(e){return au(e)?iu(e,!0):gb(e)}function _b(e,t){return e&&Ir(t,uo(t),e)}var lu=typeof exports=="object"&&exports&&!exports.nodeType&&exports,cu=lu&&typeof module=="object"&&module&&!module.nodeType&&module,bb=cu&&cu.exports===lu,uu=bb?_t.Buffer:void 0,fu=uu?uu.allocUnsafe:void 0;function yb(e,t){if(t)return e.slice();var n=e.length,r=fu?fu(n):new e.constructor(n);return e.copy(r),r}function vb(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function wb(e,t){for(var n=-1,r=e==null?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}function du(){return[]}var kb=Object.prototype,Tb=kb.propertyIsEnumerable,hu=Object.getOwnPropertySymbols,fo=hu?function(e){return e==null?[]:(e=Object(e),wb(hu(e),function(t){return Tb.call(e,t)}))}:du;function Ib(e,t){return Ir(e,fo(e),t)}function ho(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}var po=ou(Object.getPrototypeOf,Object),Sb=Object.getOwnPropertySymbols,pu=Sb?function(e){for(var t=[];e;)ho(t,fo(e)),e=po(e);return t}:du;function Eb(e,t){return Ir(e,pu(e),t)}function mu(e,t,n){var r=t(e);return yn(e)?r:ho(r,n(e))}function xb(e){return mu(e,co,fo)}function gu(e){return mu(e,uo,pu)}var mo=gn(_t,"DataView"),go=gn(_t,"Promise"),_o=gn(_t,"Set"),bo=gn(_t,"WeakMap"),_u="[object Map]",Ob="[object Object]",bu="[object Promise]",yu="[object Set]",vu="[object WeakMap]",wu="[object DataView]",Cb=mn(mo),Ab=mn(kr),Lb=mn(go),Pb=mn(_o),Rb=mn(bo),Pt=pn;(mo&&Pt(new mo(new ArrayBuffer(1)))!=wu||kr&&Pt(new kr)!=_u||go&&Pt(go.resolve())!=bu||_o&&Pt(new _o)!=yu||bo&&Pt(new bo)!=vu)&&(Pt=function(e){var t=pn(e),n=t==Ob?e.constructor:void 0,r=n?mn(n):"";if(r)switch(r){case Cb:return wu;case Ab:return _u;case Lb:return bu;case Pb:return yu;case Rb:return vu}return t});var Nb=Object.prototype,$b=Nb.hasOwnProperty;function Mb(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&$b.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var ku=_t.Uint8Array;function yo(e){var t=new e.constructor(e.byteLength);return new ku(t).set(new ku(e)),t}function Db(e,t){var n=t?yo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Fb=/\w*$/;function jb(e){var t=new e.constructor(e.source,Fb.exec(e));return t.lastIndex=e.lastIndex,t}var Tu=bt?bt.prototype:void 0,Iu=Tu?Tu.valueOf:void 0;function Ub(e){return Iu?Object(Iu.call(e)):{}}function Wb(e,t){var n=t?yo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Hb="[object Boolean]",zb="[object Date]",Kb="[object Map]",Vb="[object Number]",Bb="[object RegExp]",Gb="[object Set]",Zb="[object String]",Yb="[object Symbol]",Xb="[object ArrayBuffer]",Jb="[object DataView]",qb="[object Float32Array]",Qb="[object Float64Array]",ey="[object Int8Array]",ty="[object Int16Array]",ny="[object Int32Array]",ry="[object Uint8Array]",sy="[object Uint8ClampedArray]",iy="[object Uint16Array]",oy="[object Uint32Array]";function ay(e,t,n){var r=e.constructor;switch(t){case Xb:return yo(e);case Hb:case zb:return new r(+e);case Jb:return Db(e,n);case qb:case Qb:case ey:case ty:case ny:case ry:case sy:case iy:case oy:return Wb(e,n);case Kb:return new r;case Vb:case Zb:return new r(e);case Bb:return jb(e);case Gb:return new r;case Yb:return Ub(e)}}var Su=Object.create,ly=function(){function e(){}return function(t){if(!wr(t))return{};if(Su)return Su(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function cy(e){return typeof e.constructor=="function"&&!lo(e)?ly(po(e)):{}}var uy="[object Map]";function fy(e){return bn(e)&&Pt(e)==uy}var Eu=Dn&&Dn.isMap,dy=Eu?oo(Eu):fy,hy="[object Set]";function py(e){return bn(e)&&Pt(e)==hy}var xu=Dn&&Dn.isSet,my=xu?oo(xu):py,gy=1,_y=2,by=4,Ou="[object Arguments]",yy="[object Array]",vy="[object Boolean]",wy="[object Date]",ky="[object Error]",Cu="[object Function]",Ty="[object GeneratorFunction]",Iy="[object Map]",Sy="[object Number]",Au="[object Object]",Ey="[object RegExp]",xy="[object Set]",Oy="[object String]",Cy="[object Symbol]",Ay="[object WeakMap]",Ly="[object ArrayBuffer]",Py="[object DataView]",Ry="[object Float32Array]",Ny="[object Float64Array]",$y="[object Int8Array]",My="[object Int16Array]",Dy="[object Int32Array]",Fy="[object Uint8Array]",jy="[object Uint8ClampedArray]",Uy="[object Uint16Array]",Wy="[object Uint32Array]",he={};he[Ou]=he[yy]=he[Ly]=he[Py]=he[vy]=he[wy]=he[Ry]=he[Ny]=he[$y]=he[My]=he[Dy]=he[Iy]=he[Sy]=he[Au]=he[Ey]=he[xy]=he[Oy]=he[Cy]=he[Fy]=he[jy]=he[Uy]=he[Wy]=!0,he[ky]=he[Cu]=he[Ay]=!1;function ws(e,t,n,r,s,i){var o,a=t&gy,l=t&_y,u=t&by;if(n&&(o=s?n(e,r,s,i):n(e)),o!==void 0)return o;if(!wr(e))return e;var c=yn(e);if(c){if(o=Mb(e),!a)return vb(e,o)}else{var f=Pt(e),h=f==Cu||f==Ty;if(tu(e))return yb(e,a);if(f==Au||f==Ou||h&&!s){if(o=l||h?{}:cy(e),!a)return l?Eb(e,_b(o,e)):Ib(e,db(o,e))}else{if(!he[f])return s?e:{};o=ay(e,f,a)}}i||(i=new Mn);var p=i.get(e);if(p)return p;i.set(e,o),my(e)?e.forEach(function(E){o.add(ws(E,t,n,E,e,i))}):dy(e)&&e.forEach(function(E,_){o.set(_,ws(E,t,n,_,e,i))});var w=u?l?gu:xb:l?uo:co,v=c?void 0:w(e);return b_(v||e,function(E,_){v&&(_=E,E=e[_]),Zc(o,_,ws(E,t,n,_,e,i))}),o}var Hy="[object Symbol]";function vo(e){return typeof e=="symbol"||bn(e)&&pn(e)==Hy}var zy=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ky=/^\w*$/;function Vy(e,t){if(yn(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||vo(e)?!0:Ky.test(e)||!zy.test(e)||t!=null&&e in Object(t)}var By="Expected a function";function wo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(By);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],i=n.cache;if(i.has(s))return i.get(s);var o=e.apply(this,r);return n.cache=i.set(s,o)||i,o};return n.cache=new(wo.Cache||Zt),n}wo.Cache=Zt;var Gy=500;function Zy(e){var t=wo(e,function(r){return n.size===Gy&&n.clear(),r}),n=t.cache;return t}var Yy=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xy=/\\(\\)?/g,Jy=Zy(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Yy,function(n,r,s,i){t.push(s?i.replace(Xy,"$1"):r||n)}),t}),qy=1/0,Lu=bt?bt.prototype:void 0,Pu=Lu?Lu.toString:void 0;function Ru(e){if(typeof e=="string")return e;if(yn(e))return Uc(e,Ru)+"";if(vo(e))return Pu?Pu.call(e):"";var t=e+"";return t=="0"&&1/e==-qy?"-0":t}function Qy(e){return e==null?"":Ru(e)}function ko(e,t){return yn(e)?e:Vy(e,t)?[e]:Jy(Qy(e))}function e0(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var t0=1/0;function Nu(e){if(typeof e=="string"||vo(e))return e;var t=e+"";return t=="0"&&1/e==-t0?"-0":t}function n0(e,t){t=ko(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Nu(t[n++])];return n&&n==r?e:void 0}function r0(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),n=n>s?s:n,n<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(s);++r<s;)i[r]=e[r+t];return i}function s0(e,t){return t.length<2?e:n0(e,r0(t,0,-1))}function i0(e,t){return t=ko(t,e),e=s0(e,t),e==null||delete e[Nu(e0(t))]}var o0="[object Object]",a0=Function.prototype,l0=Object.prototype,$u=a0.toString,c0=l0.hasOwnProperty,u0=$u.call(Object);function f0(e){if(!bn(e)||pn(e)!=o0)return!1;var t=po(e);if(t===null)return!0;var n=c0.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&$u.call(n)==u0}function d0(e){return f0(e)?void 0:e}var Mu=bt?bt.isConcatSpreadable:void 0;function h0(e){return yn(e)||Jc(e)||!!(Mu&&e&&e[Mu])}function p0(e,t,n,r,s){var i=-1,o=e.length;for(n||(n=h0),s||(s=[]);++i<o;){var a=e[i];n(a)?ho(s,a):s[s.length]=a}return s}function m0(e){var t=e==null?0:e.length;return t?p0(e):[]}function g0(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Du=Math.max;function _0(e,t,n){return t=Du(t===void 0?e.length-1:t,0),function(){for(var r=arguments,s=-1,i=Du(r.length-t,0),o=Array(i);++s<i;)o[s]=r[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=r[s];return a[t]=n(o),g0(e,this,a)}}function b0(e){return function(){return e}}function y0(e){return e}var v0=vs?function(e,t){return vs(e,"toString",{configurable:!0,enumerable:!1,value:b0(t),writable:!0})}:y0,w0=800,k0=16,T0=Date.now;function I0(e){var t=0,n=0;return function(){var r=T0(),s=k0-(r-n);if(n=r,s>0){if(++t>=w0)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var S0=I0(v0);function E0(e){return S0(_0(e,void 0,m0),e+"")}var x0=1,O0=2,C0=4,A0=E0(function(e,t){var n={};if(e==null)return n;var r=!1;t=Uc(t,function(i){return i=ko(i,e),r||(r=i.length>1),i}),Ir(e,gu(e),n),r&&(n=ws(n,x0|O0|C0,d0));for(var s=t.length;s--;)i0(n,t[s]);return n});const Fu={de:{admin:"Admin",anonymous:"Anonym",approve_hint:"Wir werden Ihren Kommentar innerhalb von 24 Stunden beantworten, ohne Ihre E-Mail zu spammen. Schauen Sie bitte bald wieder vorbei. :)",discussion:"Diskussion",edit:"Bearbeiten",load_more:"Mehr laden",login:"Anmelden",logout:"Abmelden",placeholder:"Schreiben Sie ein Kommentar...",post_comment:"Kommentar absenden",post_reply:"Antwort absenden",reply:"Antwort",reply_to:"Antwort auf",save_editing:"Speichern",ui_texts:["Seien Sie der Erste, der die Diskussion beginnt!","Beteiligen Sie sich an der Konversation (#)","Laden...","Kommentare laden"],your_comment:"Dein Kommentar"},en:{admin:"Admin",anonymous:"Anonymous",approve_hint:"We’ll reply to your comment within 24 hours without spamming your email, so please check back soon :)",discussion:"Discussion",edit:"Edit",load_more:"Load More",login:"LOGIN",logout:"Logout",placeholder:"Write a comment...",post_comment:"POST COMMENT",post_reply:"POST REPLY",reply:"Reply",reply_to:"reply to",save_editing:"Save",ui_texts:["Be the first to start the discussion!","Join the Conversation (#)","Loading...","Load Comments"],your_comment:"Your comment"},es:{admin:"Administrador",anonymous:"Anónimo",approve_hint:"los comentarios son normalmente aprobados dentro de 24 horas",discussion:"Discusión",edit:"Editar",load_more:"Cargar Más",login:"INICIAR SESIÓN",logout:"Cerrar Sesión",placeholder:"Escribe un comentario...",post_comment:"PUBLICAR COMENTARIO",post_reply:"PUBLICAR RESPUESTA",reply:"Responder",reply_to:"Responder a",save_editing:"Guardar",ui_texts:["¡Sé el primero en iniciar la discusión!","Únete a la Conversación (#)","Cargando...","Cargar Comentarios"],your_comment:"Tu comentario"},fr:{admin:"Admin",anonymous:"Anonyme",approve_hint:"Nous répondrons à votre commentaire dans les 24 heures sans vous spammer par e-mail, alors revenez bientôt :)",discussion:"Discussion",edit:"Modifier",load_more:"Charger plus",login:"CONNEXION",logout:"Déconnexion",placeholder:"Écrivez un commentaire...",post_comment:"POSTER UN COMMENTAIRE",post_reply:"POSTER UNE RÉPONSE",reply:"Répondre",reply_to:"répondre à",save_editing:"Enregistrer",ui_texts:["Soyez le premier à lancer la discussion !","Rejoignez la conversation (#)","Chargement...","Charger les commentaires"],your_comment:"Votre commentaire"},id:{admin:"Admin",anonymous:"Anonim",approve_hint:"komentar biasanya disetujui dalam waktu 24 jam",discussion:"Diskusi",edit:"Edit",load_more:"Muat Lebih Banyak",login:"MASUK",logout:"Keluar",placeholder:"Tulis komentar...",post_comment:"KIRIM KOMENTAR",post_reply:"KIRIM BALASAN",reply:"Balas",reply_to:"balas ke",save_editing:"Simpan",your_comment:"Komentar Anda"},it:{admin:"Amministratore",anonymous:"Anonimo",approve_hint:"i commenti vengono normalmente approvati entro 24 ore",discussion:"Discussione",edit:"Modifica",load_more:"Carica Altri",login:"ACCEDI",logout:"Esci",placeholder:"Scrivi un commento...",post_comment:"INVIA COMMENTO",post_reply:"INVIA RISPOSTA",reply:"Risposta",reply_to:"rispondi a",save_editing:"Salva",your_comment:"Il tuo commento"},ja:{admin:"管理者",anonymous:"匿名",approve_hint:"コメントは通常24時間以内に承認されます",discussion:"ディスカッション",edit:"編集",load_more:"もっと読み込む",login:"ログイン",logout:"ログアウト",placeholder:"コメントを書く...",post_comment:"コメントを投稿",post_reply:"返信を投稿",reply:"返信",reply_to:"返信先",save_editing:"保存",your_comment:"あなたのコメント"},ko:{admin:"관리자",anonymous:"익명",approve_hint:"댓글은 보통 24시간 내에 승인됩니다",discussion:"토론",edit:"편집",load_more:"더 보기",login:"로그인",logout:"로그아웃",placeholder:"댓글을 입력하세요...",post_comment:"댓글 게시",post_reply:"답글 게시",reply:"답장",reply_to:"답장 대상",save_editing:"저장",your_comment:"당신의 댓글"},pt:{admin:"Administrador",anonymous:"Anônimo",approve_hint:"os comentários são normalmente aprovados dentro de 24 horas",discussion:"Discussão",edit:"Editar",load_more:"Carregar Mais",login:"ENTRAR",logout:"Sair",placeholder:"Escreva um comentário...",post_comment:"PUBLICAR COMENTÁRIO",post_reply:"PUBLICAR RESPOSTA",reply:"Responder",reply_to:"responder a",save_editing:"Salvar",your_comment:"Seu comentário"},th:{admin:"แอดมิน",anonymous:"นิรนาม",approve_hint:"โดยปกติความคิดเห็นจะได้รับการอนุมัติภายใน 24 ชั่วโมง",discussion:"การอภิปราย",edit:"แก้ไข",load_more:"โหลดเพิ่ม",login:"ลงชื่อเข้าใช้",logout:"ลงชื่อออก",placeholder:"เขียนความคิดเห็น...",post_comment:"โพสต์ความคิดเห็น",post_reply:"โพสต์การตอบกลับ",reply:"ตอบกลับ",reply_to:"ตอบกลับถึง",save_editing:"บันทึก",ui_texts:["เป็นคนแรกที่เริ่มการอภิปราย","เข้าร่วมการสนทนา (#)","กำลังโหลด...","โหลดความคิดเห็น"],your_comment:"ความคิดเห็นของคุณ"},zh:{admin:"管理員",anonymous:"匿名",approve_hint:"評論通常在24小時內獲得批準,並且每壹條評論都會獲得回復",discussion:"討論",edit:"修改",load_more:"加載更多",login:"登錄",logout:"登出",placeholder:"寫評論...",post_comment:"發表評論",post_reply:"發表回複",reply:"回複",reply_to:"回複給",save_editing:"保存",your_comment:"您的評論"},cn:{admin:"管理员",anonymous:"匿名",approve_hint:"评论通常在24小时内公开(我们也会回复您)",discussion:"讨论",edit:"编辑",load_more:"加载更多",login:"登录",logout:"登出",placeholder:"写评论...",post_comment:"发表评论",post_reply:"发表回复",reply:"回复",reply_to:"回复给",save_editing:"保存",your_comment:"您的评论"}};function L0(){return!!navigator.userAgent.match(/Macintosh/)}function P0(e,t){return(L0()?e.metaKey:e.ctrlKey)&&e.key===t}var ks=(e=>(e[e.Pending=0]="Pending",e[e.Approved=1]="Approved",e[e.Rejected=2]="Rejected",e[e.UnReplied=255]="UnReplied",e[e["Replied to Admin"]=256]="Replied to Admin",e))(ks||{});const R0=/@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;function Ts(e){return e<10?`0${e}`:`${e}`}function ju(e){return e=`${e.substring(0,10)}T${e.substring(11,19)}Z`,new Date(e)}function Uu(e){const t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();return`${t}-${Ts(n)}-${Ts(r)}`}function Wu(e){e instanceof Date||(e=ju(e));const t=new Date,n=Uu(e);if(Uu(t)===n){const r=e.getHours(),s=e.getMinutes();return`${Ts(r)}:${Ts(s)}`}return n}function N0(e){const{id:t,created_at:n,parent_id:r,ancestor_id:s,post_id:i,user_id:o,...a}=e;return{...a,id:Number(t),userId:o,parentId:Number(r),postId:i,ancestorId:Number(s),status:Number(e.status),createdAt:ju(n)}}const To="awesome-comment-comments",Hu=localStorage.getItem(To),Fn=Hu?JSON.parse(Hu):{},jn=Pl("store",()=>{const e=Ue("postId"),t=Ue("comments"),n=Ue("total"),r=te(!!t?.length),s=te(0),i=te(""),o=te([]),a=te(n||0),l=Ue("ApiBaseUrl"),u=te(!1),c=te(!1);function f(E){const _={},y=[];E.forEach(g=>{w(Number(g.id));const C=N0(g);!g.ancestor_id||Number(g.ancestor_id)===0?_[g.id]=C:y.push(C)});const I=Fn[e];I&&(I.createdAt=new Date(I.createdAt),!I.ancestorId||Number(I.ancestorId)===0?_[I.id]=I:y.push(I)),y.forEach(g=>{if(g.ancestorId in _){const C=_[g.ancestorId];C.children=[g,...C.children||[]]}});for(const g in _){const C=_[g];C.children&&(C.children=C.children.sort(($,L)=>$.id-L.id))}return _}async function h(E=!1){if(u.value)return;i.value="",u.value=!0;let _;if(E&&t?.length)_=f(t);else{const y=new URLSearchParams;y.append("postId",e),y.append("start",s.value.toString());const I=await fetch(`${l}/api/comments?${y}`);if(!I.ok){i.value="Load comments failed. "+I.statusText,r.value=!0,u.value=!1;return}const g=await I.json();if(g.code!==0){i.value="Load comments failed. "+g.message,r.value=!0,u.value=!1;return}_=f(g.data||[]),a.value=g.meta?.total||g.data?.length||0}c.value=Object.keys(_).length>20,c.value&&delete _[Object.keys(_)[0]],Object.assign(o.value,_),r.value=!0,u.value=!1}function p(E,_,y,I=ks.Pending,g,C){const{sub:$="",name:L="",picture:D="",email:U="",nickname:Z=""}=y,X={id:E,postId:e,content:_,createdAt:new Date,user:{avatar:D,email:U,name:Z||L},userId:$,status:I,isNew:!0};if(g||C){X.ancestorId=g,X.parentId=C;const J=o.value[g];if(J.children||(J.children=[]),g===C)J.children.unshift(X);else{const Ae=J.children.findIndex(ot=>Number(ot.id)===C);J.children.splice(Ae+1,0,X)}}else X.ancestorId=0,X.parentId=0,o.value={[E]:X,...o.value};a.value++,I!==ks.Approved&&(Fn[e]=X,localStorage.setItem(To,JSON.stringify(Fn)))}function w(E){Fn[e]?.id===E&&(delete Fn[e],localStorage.setItem(To,JSON.stringify(Fn)))}function v(E,_){let y=o.value[E];if(!y){for(const I of Object.values(o.value))if(I.children&&(y=I.children.find(g=>Number(g.id)===E),y))break}y&&Object.assign(y,_)}return{isLoaded:r,message:i,postId:e,comments:o,total:a,start:s,hasMore:c,loadingMore:u,loadComments:h,addComment:p,updateComment:v}});var $0={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function s(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function i(l,u,c,f,h){if(typeof c!="function")throw new TypeError("The listener must be a function");var p=new s(c,f||l,h),w=n?n+u:u;return l._events[w]?l._events[w].fn?l._events[w]=[l._events[w],p]:l._events[w].push(p):(l._events[w]=p,l._eventsCount++),l}function o(l,u){--l._eventsCount===0?l._events=new r:delete l._events[u]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var l=[],u,c;if(this._eventsCount===0)return l;for(c in u=this._events)t.call(u,c)&&l.push(n?c.slice(1):c);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(u)):l},a.prototype.listeners=function(l){var u=n?n+l:l,c=this._events[u];if(!c)return[];if(c.fn)return[c.fn];for(var f=0,h=c.length,p=new Array(h);f<h;f++)p[f]=c[f].fn;return p},a.prototype.listenerCount=function(l){var u=n?n+l:l,c=this._events[u];return c?c.fn?1:c.length:0},a.prototype.emit=function(l,u,c,f,h,p){var w=n?n+l:l;if(!this._events[w])return!1;var v=this._events[w],E=arguments.length,_,y;if(v.fn){switch(v.once&&this.removeListener(l,v.fn,void 0,!0),E){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,u),!0;case 3:return v.fn.call(v.context,u,c),!0;case 4:return v.fn.call(v.context,u,c,f),!0;case 5:return v.fn.call(v.context,u,c,f,h),!0;case 6:return v.fn.call(v.context,u,c,f,h,p),!0}for(y=1,_=new Array(E-1);y<E;y++)_[y-1]=arguments[y];v.fn.apply(v.context,_)}else{var I=v.length,g;for(y=0;y<I;y++)switch(v[y].once&&this.removeListener(l,v[y].fn,void 0,!0),E){case 1:v[y].fn.call(v[y].context);break;case 2:v[y].fn.call(v[y].context,u);break;case 3:v[y].fn.call(v[y].context,u,c);break;case 4:v[y].fn.call(v[y].context,u,c,f);break;default:if(!_)for(g=1,_=new Array(E-1);g<E;g++)_[g-1]=arguments[g];v[y].fn.apply(v[y].context,_)}}return!0},a.prototype.on=function(l,u,c){return i(this,l,u,c,!1)},a.prototype.once=function(l,u,c){return i(this,l,u,c,!0)},a.prototype.removeListener=function(l,u,c,f){var h=n?n+l:l;if(!this._events[h])return this;if(!u)return o(this,h),this;var p=this._events[h];if(p.fn)p.fn===u&&(!f||p.once)&&(!c||p.context===c)&&o(this,h);else{for(var w=0,v=[],E=p.length;w<E;w++)(p[w].fn!==u||f&&!p[w].once||c&&p[w].context!==c)&&v.push(p[w]);v.length?this._events[h]=v.length===1?v[0]:v:o(this,h)}return this},a.prototype.removeAllListeners=function(l){var u;return l?(u=n?n+l:l,this._events[u]&&o(this,u)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,e.exports=a})($0);class M0 extends Error{}M0.prototype.name="InvalidTokenError";var D0=typeof global=="object"&&global&&global.Object===Object&&global,F0=typeof self=="object"&&self&&self.Object===Object&&self,j0=D0||F0||Function("return this")(),Is=j0.Symbol;Is&&Is.toStringTag,Is&&Is.toStringTag;var Ss=(e=>(e.INIT="init",e.VERIFYING="verifying",e.VERIFIED="verified",e.REFRESH="refresh",e.ERROR="error",e))(Ss||{});const Io=Pl("auth",()=>{const e=Ue("awesomeAuth"),t=!e&&dp(),n=te(!1),r=te(!1),s=te(),i=!!e,o=st(()=>e?e.root:"");async function a(){return e?e.accessToken:t?await t.getAccessTokenSilently():""}function l(){e?e.doSignIn():t&&t.loginWithPopup()}function u(c){e?e.doSignOut():t&&t.logout(c)}return e?(e.on(Ss.INIT,c=>{r.value=c,c&&(n.value=!1)}),e.on(Ss.VERIFYING,c=>{r.value=c}),e.on(Ss.VERIFIED,c=>{n.value=c,s.value=c?e.user:void 0}),r.value=e.isVerifying,n.value=e.isVerified,s.value=e.user):t&&(ft(t.isLoading,c=>{r.value=c},{immediate:!0}),ft(t.isAuthenticated,c=>{n.value=c},{immediate:!0}),ft(t.user,c=>{s.value=c},{immediate:!0})),{isAuthenticated:n,isAwesomeAuth:i,isLoading:r,authEndpoint:o,user:s,getAccessToken:a,login:l,logout:u}}),U0={class:"ac-form-control bg-base-200 rounded-lg"},W0={class:"sr-only",for:"ac-comment"},H0=["placeholder"],z0={class:"p-2 rounded-b-lg bg-base-300 flex items-center"},K0={key:0,class:"text-xs text-neutral-400/40"},V0={key:1,class:"ac-alert ac-alert-error text-white mx-4 py-2"},B0=["disabled"],G0={key:0,class:"ac-loading ac-loading-spinner"},Es=ut({...{name:"CommentForm"},props:{noVersion:{type:Boolean},currentId:{},parentId:{},ancestorId:{},content:{},status:{}},emits:["close","update"],setup(e,{emit:t}){const n=e,r=t,s=Io(),i=jn(),{t:o}=gt(),a=Ue("ApiBaseUrl"),l=Ue("Auth0Domain"),u="0.9.9",c=te(),f=te(!1),h=te(n.content||""),p=te("");async function w(y){if(!s.user)return v();if(y.target.matches(":invalid"))return;const I=h.value.trim();if(!I)return;if(I.length<5||/^\w{35,}$/.test(I)){p.value="We encourage meaningful contributions to foster a positive community. Thank you for your understanding!";return}f.value=!0,p.value="";let g=a+"/api/comment",C="POST";n.currentId&&(g+="/"+n.currentId,C="PATCH");try{const $=await s.getAccessToken(),L=s.authEndpoint,D=await fetch(g,{method:C,headers:{"Content-Type":"application/json",Authorization:`Bearer ${$}`,"Auth-Endpoint":L},body:JSON.stringify({comment:I,postId:i.postId,domain:l,ancestorId:n.ancestorId?Number(n.ancestorId):void 0,parentId:n.parentId?Number(n.parentId):void 0,status:n.status,window:`${window.innerWidth}x${window.innerHeight} / ${screen.width,screen.height}`})}),U=await D.json();if(!D.ok||U.message){p.value="Failed to post comment: "+(U.message||"Unknown"),f.value=!1;return}const{id:Z,status:X}=U.data;n.ancestorId||n.parentId?i.addComment(Z,I,s.user,X,n.ancestorId,n.parentId):n.currentId?r("update",I):i.addComment(Z,I,s.user,X),h.value="",r("close")}catch($){p.value=$.message||String($)}f.value=!1}function v(){s.login()}function E(y){P0(y,"Enter")&&w(y)}function _(){r("close")}return er(()=>{c.value?.focus()}),(y,I)=>(V(),Y("form",{class:"mb-6",onSubmit:Rh(w,["prevent"])},[ae("div",U0,[ae("label",W0,be(H(o)("your_comment")),1),nd(ae("textarea",{id:"ac-comment",ref_key:"textarea",ref:c,"onUpdate:modelValue":I[0]||(I[0]=g=>h.value=g),placeholder:H(o)("placeholder"),class:"ac-textarea ac-textarea-bordered bg-base-200 rounded-b-none focus:outline-none",required:"required",rows:"3",onKeydown:[Il(E,["enter"]),Il(_,["esc"])]},null,40,H0),[[Ah,h.value]]),ae("div",z0,[y.noVersion?Ne("",!0):(V(),Y("div",K0," v"+be(H(u)),1)),p.value?(V(),Y("div",V0,be(p.value),1)):Ne("",!0),ae("button",{disabled:f.value,class:"ac-btn ac-btn-primary ac-btn-sm ms-auto"},[f.value?(V(),Y("span",G0)):Ne("",!0),y.currentId?(V(),Y(xe,{key:1},[an(be(H(o)("save_editing")),1)],64)):y.parentId?(V(),Y(xe,{key:2},[an(be(H(o)("post_reply")),1)],64)):(V(),Y(xe,{key:3},[an(be(H(o)("post_comment")),1)],64))],8,B0)])])],32))}});/**
45
+ */const Ym="10.0.5";function Xm(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(hn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(hn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(hn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(hn().__INTLIFY_PROD_DEVTOOLS__=!1)}const He={UNEXPECTED_RETURN_TYPE:pm,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Ke(e,...t){return ps(e,null,void 0)}const Ji=Kt("__translateVNode"),qi=Kt("__datetimeParts"),Qi=Kt("__numberParts"),kc=Kt("__setPluralRules"),Tc=Kt("__injectWithOption"),eo=Kt("__dispose");function yr(e){if(!se(e))return e;for(const t in e)if(it(e,t))if(!t.includes("."))se(e[t])&&yr(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,i=!1;for(let o=0;o<r;o++){if(n[o]in s||(s[n[o]]=ue()),!se(s[n[o]])){i=!0;break}s=s[n[o]]}i||(s[n[r]]=e[t],delete e[t]),se(s[n[r]])&&yr(s[n[r]])}return e}function to(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:i}=t,o=G(n)?n:ve(r)?ue():{[e]:ue()};if(ve(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(o[l]=o[l]||ue(),hs(u,o[l])):hs(u,o)}else j(a)&&hs(JSON.parse(a),o)}),s==null&&i)for(const a in o)it(o,a)&&yr(o[a]);return o}function Ic(e){return e.type}function Sc(e,t,n){let r=se(t.messages)?t.messages:ue();"__i18nGlobal"in n&&(r=to(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(i=>{e.mergeLocaleMessage(i,r[i])});{if(se(t.datetimeFormats)){const i=Object.keys(t.datetimeFormats);i.length&&i.forEach(o=>{e.mergeDateTimeFormat(o,t.datetimeFormats[o])})}if(se(t.numberFormats)){const i=Object.keys(t.numberFormats);i.length&&i.forEach(o=>{e.mergeNumberFormat(o,t.numberFormats[o])})}}}function Ec(e){return ke(rr,null,e,0)}const xc="__INTLIFY_META__",Oc=()=>[],Jm=()=>!1;let Cc=0;function Ac(e){return(t,n,r,s)=>e(n,r,ar()||void 0,s)}const qm=()=>{const e=ar();let t=null;return e&&(t=Ic(e)[xc])?{[xc]:t}:null};function no(e={}){const{__root:t,__injectWithOption:n}=e,r=t===void 0,s=e.flatJson,i=us?te:Ff;let o=ne(e.inheritLocale)?e.inheritLocale:!0;const a=i(t&&o?t.locale.value:j(e.locale)?e.locale:_r),l=i(t&&o?t.fallbackLocale.value:j(e.fallbackLocale)||ve(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:a.value),u=i(to(a.value,e)),c=i(G(e.datetimeFormats)?e.datetimeFormats:{[a.value]:{}}),f=i(G(e.numberFormats)?e.numberFormats:{[a.value]:{}});let h=t?t.missingWarn:ne(e.missingWarn)||Pn(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:ne(e.fallbackWarn)||Pn(e.fallbackWarn)?e.fallbackWarn:!0,w=t?t.fallbackRoot:ne(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,E=pe(e.missing)?e.missing:null,_=pe(e.missing)?Ac(e.missing):null,y=pe(e.postTranslation)?e.postTranslation:null,I=t?t.warnHtmlMessage:ne(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter;const C=t?t.modifiers:G(e.modifiers)?e.modifiers:{};let $=e.pluralRules||t&&t.pluralRules,L;L=(()=>{r&&cc(null);const T={version:Ym,locale:a.value,fallbackLocale:l.value,messages:u.value,modifiers:C,pluralRules:$,missing:_===null?void 0:_,missingWarn:h,fallbackWarn:p,fallbackFormat:v,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:I,escapeParameter:g,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};T.datetimeFormats=c.value,T.numberFormats=f.value,T.__datetimeFormatters=G(L)?L.__datetimeFormatters:void 0,T.__numberFormatters=G(L)?L.__numberFormatters:void 0;const x=Nm(T);return r&&cc(x),x})(),br(L,a.value,l.value);function U(){return[a.value,l.value,u.value,c.value,f.value]}const Z=st({get:()=>a.value,set:T=>{a.value=T,L.locale=a.value}}),X=st({get:()=>l.value,set:T=>{l.value=T,L.fallbackLocale=l.value,br(L,a.value,T)}}),J=st(()=>u.value),Ae=st(()=>c.value),ot=st(()=>f.value);function Yt(){return pe(y)?y:null}function ge(T){y=T,L.postTranslation=T}function B(){return E}function oe(T){T!==null&&(_=Ac(T)),E=T,L.missing=_}const Le=(T,x,F,W,Q,ee)=>{U();let Ie;try{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=t?Rm():void 0),Ie=T(L)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(L.fallbackContext=void 0)}if(F!=="translate exists"&&Te(Ie)&&Ie===_s||F==="translate exists"&&!Ie){const[Ce,nt]=x();return t&&w?W(t):Q(Ce)}else{if(ee(Ie))return Ie;throw Ke(He.UNEXPECTED_RETURN_TYPE)}};function Rt(...T){return Le(x=>Reflect.apply(yc,null,[x,...T]),()=>Xi(...T),"translate",x=>Reflect.apply(x.t,x,[...T]),x=>x,x=>j(x))}function tt(...T){const[x,F,W]=T;if(W&&!se(W))throw Ke(He.INVALID_ARGUMENT);return Rt(x,F,Se({resolvedMessage:!0},W||{}))}function Ve(...T){return Le(x=>Reflect.apply(fc,null,[x,...T]),()=>Zi(...T),"datetime format",x=>Reflect.apply(x.d,x,[...T]),()=>nc,x=>j(x))}function Un(...T){return Le(x=>Reflect.apply(pc,null,[x,...T]),()=>Yi(...T),"number format",x=>Reflect.apply(x.n,x,[...T]),()=>nc,x=>j(x))}function Ar(T){return T.map(x=>j(x)||Te(x)||ne(x)?Ec(String(x)):x)}const Nt={normalize:Ar,interpolate:T=>T,type:"vnode"};function Xt(...T){return Le(x=>{let F;const W=x;try{W.processor=Nt,F=Reflect.apply(yc,null,[W,...T])}finally{W.processor=null}return F},()=>Xi(...T),"translate",x=>x[Ji](...T),x=>[Ec(x)],x=>ve(x))}function Jt(...T){return Le(x=>Reflect.apply(pc,null,[x,...T]),()=>Yi(...T),"number format",x=>x[Qi](...T),Oc,x=>j(x)||ve(x))}function Wn(...T){return Le(x=>Reflect.apply(fc,null,[x,...T]),()=>Zi(...T),"datetime format",x=>x[qi](...T),Oc,x=>j(x)||ve(x))}function $t(T){$=T,L.pluralRules=$}function Hn(T,x){return Le(()=>{if(!T)return!1;const F=j(x)?x:a.value,W=k(F),Q=L.messageResolver(W,T);return $n(Q)||qe(Q)||j(Q)},()=>[T],"translate exists",F=>Reflect.apply(F.te,F,[T,x]),Jm,F=>ne(F))}function zn(T){let x=null;const F=Ql(L,l.value,a.value);for(let W=0;W<F.length;W++){const Q=u.value[F[W]]||{},ee=L.messageResolver(Q,T);if(ee!=null){x=ee;break}}return x}function b(T){const x=zn(T);return x??(t?t.tm(T)||{}:{})}function k(T){return u.value[T]||{}}function A(T,x){if(s){const F={[T]:x};for(const W in F)it(F,W)&&yr(F[W]);x=F[T]}u.value[T]=x,L.messages=u.value}function N(T,x){u.value[T]=u.value[T]||{};const F={[T]:x};if(s)for(const W in F)it(F,W)&&yr(F[W]);x=F[T],hs(x,u.value[T]),L.messages=u.value}function R(T){return c.value[T]||{}}function d(T,x){c.value[T]=x,L.datetimeFormats=c.value,hc(L,T,x)}function m(T,x){c.value[T]=Se(c.value[T]||{},x),L.datetimeFormats=c.value,hc(L,T,x)}function S(T){return f.value[T]||{}}function O(T,x){f.value[T]=x,L.numberFormats=f.value,gc(L,T,x)}function P(T,x){f.value[T]=Se(f.value[T]||{},x),L.numberFormats=f.value,gc(L,T,x)}Cc++,t&&us&&(ft(t.locale,T=>{o&&(a.value=T,L.locale=T,br(L,a.value,l.value))}),ft(t.fallbackLocale,T=>{o&&(l.value=T,L.fallbackLocale=T,br(L,a.value,l.value))}));const M={id:Cc,locale:Z,fallbackLocale:X,get inheritLocale(){return o},set inheritLocale(T){o=T,T&&t&&(a.value=t.locale.value,l.value=t.fallbackLocale.value,br(L,a.value,l.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:J,get modifiers(){return C},get pluralRules(){return $||{}},get isGlobal(){return r},get missingWarn(){return h},set missingWarn(T){h=T,L.missingWarn=h},get fallbackWarn(){return p},set fallbackWarn(T){p=T,L.fallbackWarn=p},get fallbackRoot(){return w},set fallbackRoot(T){w=T},get fallbackFormat(){return v},set fallbackFormat(T){v=T,L.fallbackFormat=v},get warnHtmlMessage(){return I},set warnHtmlMessage(T){I=T,L.warnHtmlMessage=T},get escapeParameter(){return g},set escapeParameter(T){g=T,L.escapeParameter=T},t:Rt,getLocaleMessage:k,setLocaleMessage:A,mergeLocaleMessage:N,getPostTranslationHandler:Yt,setPostTranslationHandler:ge,getMissingHandler:B,setMissingHandler:oe,[kc]:$t};return M.datetimeFormats=Ae,M.numberFormats=ot,M.rt=tt,M.te=Hn,M.tm=b,M.d=Ve,M.n=Un,M.getDateTimeFormat=R,M.setDateTimeFormat=d,M.mergeDateTimeFormat=m,M.getNumberFormat=S,M.setNumberFormat=O,M.mergeNumberFormat=P,M[Tc]=n,M[Ji]=Xt,M[qi]=Wn,M[Qi]=Jt,M}function Qm(e){const t=j(e.locale)?e.locale:_r,n=j(e.fallbackLocale)||ve(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=pe(e.missing)?e.missing:void 0,s=ne(e.silentTranslationWarn)||Pn(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,i=ne(e.silentFallbackWarn)||Pn(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=ne(e.fallbackRoot)?e.fallbackRoot:!0,a=!!e.formatFallbackMessages,l=G(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,c=pe(e.postTranslation)?e.postTranslation:void 0,f=j(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,h=!!e.escapeParameterHtml,p=ne(e.sync)?e.sync:!0;let w=e.messages;if(G(e.sharedMessages)){const C=e.sharedMessages;w=Object.keys(C).reduce((L,D)=>{const U=L[D]||(L[D]={});return Se(U,C[D]),L},w||{})}const{__i18n:v,__root:E,__injectWithOption:_}=e,y=e.datetimeFormats,I=e.numberFormats,g=e.flatJson;return{locale:t,fallbackLocale:n,messages:w,flatJson:g,datetimeFormats:y,numberFormats:I,missing:r,missingWarn:s,fallbackWarn:i,fallbackRoot:o,fallbackFormat:a,modifiers:l,pluralRules:u,postTranslation:c,warnHtmlMessage:f,escapeParameter:h,messageResolver:e.messageResolver,inheritLocale:p,__i18n:v,__root:E,__injectWithOption:_}}function ro(e={}){const t=no(Qm(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(s){t.locale.value=s},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(s){t.fallbackLocale.value=s},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(s){t.setMissingHandler(s)},get silentTranslationWarn(){return ne(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(s){t.missingWarn=ne(s)?!s:s},get silentFallbackWarn(){return ne(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(s){t.fallbackWarn=ne(s)?!s:s},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(s){t.fallbackFormat=s},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(s){t.setPostTranslationHandler(s)},get sync(){return t.inheritLocale},set sync(s){t.inheritLocale=s},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){t.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(s){t.escapeParameter=s},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...s){return Reflect.apply(t.t,t,[...s])},rt(...s){return Reflect.apply(t.rt,t,[...s])},tc(...s){const[i,o,a]=s,l={plural:1};let u=null,c=null;if(!j(i))throw Ke(He.INVALID_ARGUMENT);const f=i;return j(o)?l.locale=o:Te(o)?l.plural=o:ve(o)?u=o:G(o)&&(c=o),j(a)?l.locale=a:ve(a)?u=a:G(a)&&(c=a),Reflect.apply(t.t,t,[f,u||c||{},l])},te(s,i){return t.te(s,i)},tm(s){return t.tm(s)},getLocaleMessage(s){return t.getLocaleMessage(s)},setLocaleMessage(s,i){t.setLocaleMessage(s,i)},mergeLocaleMessage(s,i){t.mergeLocaleMessage(s,i)},d(...s){return Reflect.apply(t.d,t,[...s])},getDateTimeFormat(s){return t.getDateTimeFormat(s)},setDateTimeFormat(s,i){t.setDateTimeFormat(s,i)},mergeDateTimeFormat(s,i){t.mergeDateTimeFormat(s,i)},n(...s){return Reflect.apply(t.n,t,[...s])},getNumberFormat(s){return t.getNumberFormat(s)},setNumberFormat(s,i){t.setNumberFormat(s,i)},mergeNumberFormat(s,i){t.mergeNumberFormat(s,i)}};return r.__extender=n,r}function eg(e,t,n){return{beforeCreate(){const r=ar();if(!r)throw Ke(He.UNEXPECTED_ERROR);const s=this.$options;if(s.i18n){const i=s.i18n;if(s.__i18n&&(i.__i18n=s.__i18n),i.__root=t,this===this.$root)this.$i18n=Lc(e,i);else{i.__injectWithOption=!0,i.__extender=n.__vueI18nExtend,this.$i18n=ro(i);const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}}else if(s.__i18n)if(this===this.$root)this.$i18n=Lc(e,s);else{this.$i18n=ro({__i18n:s.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}else this.$i18n=e;s.__i18nGlobal&&Sc(t,s,s),this.$t=(...i)=>this.$i18n.t(...i),this.$rt=(...i)=>this.$i18n.rt(...i),this.$tc=(...i)=>this.$i18n.tc(...i),this.$te=(i,o)=>this.$i18n.te(i,o),this.$d=(...i)=>this.$i18n.d(...i),this.$n=(...i)=>this.$i18n.n(...i),this.$tm=i=>this.$i18n.tm(i),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){const r=ar();if(!r)throw Ke(He.UNEXPECTED_ERROR);const s=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,s.__disposer&&(s.__disposer(),delete s.__disposer,delete s.__extender),n.__deleteInstance(r),delete this.$i18n}}}function Lc(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[kc](t.pluralizationRules||e.pluralizationRules);const n=to(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(r=>e.mergeLocaleMessage(r,n[r])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(r=>e.mergeDateTimeFormat(r,t.datetimeFormats[r])),t.numberFormats&&Object.keys(t.numberFormats).forEach(r=>e.mergeNumberFormat(r,t.numberFormats[r])),e}const so={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function tg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===xe?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},ue())}function Pc(){return xe}const Rc=ut({name:"i18n-t",props:Se({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Te(e)||!isNaN(e)}},so),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||gt({useScope:e.scope,__useComponent:!0});return()=>{const i=Object.keys(n).filter(f=>f!=="_"),o=ue();e.locale&&(o.locale=e.locale),e.plural!==void 0&&(o.plural=j(e.plural)?+e.plural:e.plural);const a=tg(t,i),l=s[Ji](e.keypath,a,o),u=Se(ue(),r),c=j(e.tag)||se(e.tag)?e.tag:Pc();return ur(c,u,l)}}});function ng(e){return ve(e)&&!j(e[0])}function Nc(e,t,n,r){const{slots:s,attrs:i}=t;return()=>{const o={part:!0};let a=ue();e.locale&&(o.locale=e.locale),j(e.format)?o.key=e.format:se(e.format)&&(j(e.format.key)&&(o.key=e.format.key),a=Object.keys(e.format).reduce((h,p)=>n.includes(p)?Se(ue(),h,{[p]:e.format[p]}):h,ue()));const l=r(e.value,o,a);let u=[o.key];ve(l)?u=l.map((h,p)=>{const w=s[h.type],v=w?w({[h.type]:h.value,index:p,parts:l}):[h.value];return ng(v)&&(v[0].key=`${h.type}-${p}`),v}):j(l)&&(u=[l]);const c=Se(ue(),i),f=j(e.tag)||se(e.tag)?e.tag:Pc();return ur(f,c,u)}}const $c=ut({name:"i18n-n",props:Se({value:{type:Number,required:!0},format:{type:[String,Object]}},so),setup(e,t){const n=e.i18n||gt({useScope:e.scope,__useComponent:!0});return Nc(e,t,mc,(...r)=>n[Qi](...r))}}),Mc=ut({name:"i18n-d",props:Se({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},so),setup(e,t){const n=e.i18n||gt({useScope:e.scope,__useComponent:!0});return Nc(e,t,dc,(...r)=>n[qi](...r))}});function rg(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function sg(e){const t=o=>{const{instance:a,value:l}=o;if(!a||!a.$)throw Ke(He.UNEXPECTED_ERROR);const u=rg(e,a.$),c=Dc(l);return[Reflect.apply(u.t,u,[...Fc(c)]),u]};return{created:(o,a)=>{const[l,u]=t(a);us&&e.global===u&&(o.__i18nWatcher=ft(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),o.__composer=u,o.textContent=l},unmounted:o=>{us&&o.__i18nWatcher&&(o.__i18nWatcher(),o.__i18nWatcher=void 0,delete o.__i18nWatcher),o.__composer&&(o.__composer=void 0,delete o.__composer)},beforeUpdate:(o,{value:a})=>{if(o.__composer){const l=o.__composer,u=Dc(a);o.textContent=Reflect.apply(l.t,l,[...Fc(u)])}},getSSRProps:o=>{const[a]=t(o);return{textContent:a}}}}function Dc(e){if(j(e))return{path:e};if(G(e)){if(!("path"in e))throw Ke(He.REQUIRED_VALUE,"path");return e}else throw Ke(He.INVALID_VALUE)}function Fc(e){const{path:t,locale:n,args:r,choice:s,plural:i}=e,o={},a=r||{};return j(n)&&(o.locale=n),Te(s)&&(o.plural=s),Te(i)&&(o.plural=i),[t,a,o]}function ig(e,t,...n){const r=G(n[0])?n[0]:{};(ne(r.globalInstall)?r.globalInstall:!0)&&([Rc.name,"I18nT"].forEach(i=>e.component(i,Rc)),[$c.name,"I18nN"].forEach(i=>e.component(i,$c)),[Mc.name,"I18nD"].forEach(i=>e.component(i,Mc))),e.directive("t",sg(t))}const og=Kt("global-vue-i18n");function ag(e={},t){const n=__VUE_I18N_LEGACY_API__&&ne(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=ne(e.globalInjection)?e.globalInjection:!0,s=new Map,[i,o]=lg(e,n),a=Kt("");function l(h){return s.get(h)||null}function u(h,p){s.set(h,p)}function c(h){s.delete(h)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},async install(h,...p){if(h.__VUE_I18N_SYMBOL__=a,h.provide(h.__VUE_I18N_SYMBOL__,f),G(p[0])){const E=p[0];f.__composerExtend=E.__composerExtend,f.__vueI18nExtend=E.__vueI18nExtend}let w=null;!n&&r&&(w=gg(h,f.global)),__VUE_I18N_FULL_INSTALL__&&ig(h,f,...p),__VUE_I18N_LEGACY_API__&&n&&h.mixin(eg(o,o.__composer,f));const v=h.unmount;h.unmount=()=>{w&&w(),f.dispose(),v()}},get global(){return o},dispose(){i.stop()},__instances:s,__getInstance:l,__setInstance:u,__deleteInstance:c};return f}function gt(e={}){const t=ar();if(t==null)throw Ke(He.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Ke(He.NOT_INSTALLED);const n=cg(t),r=fg(n),s=Ic(t),i=ug(e,s);if(i==="global")return Sc(r,e,s),r;if(i==="parent"){let l=dg(n,t,e.__useComponent);return l==null&&(l=r),l}const o=n;let a=o.__getInstance(t);if(a==null){const l=Se({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),a=no(l),o.__composerExtend&&(a[eo]=o.__composerExtend(a)),pg(o,t,a),o.__setInstance(t,a)}return a}function lg(e,t,n){const r=zs(),s=__VUE_I18N_LEGACY_API__&&t?r.run(()=>ro(e)):r.run(()=>no(e));if(s==null)throw Ke(He.UNEXPECTED_ERROR);return[r,s]}function cg(e){const t=Ue(e.isCE?og:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Ke(e.isCE?He.NOT_INSTALLED_WITH_PROVIDE:He.UNEXPECTED_ERROR);return t}function ug(e,t){return fs(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function fg(e){return e.mode==="composition"?e.global:e.global.__composer}function dg(e,t,n=!1){let r=null;const s=t.root;let i=hg(t,n);for(;i!=null;){const o=e;if(e.mode==="composition")r=o.__getInstance(i);else if(__VUE_I18N_LEGACY_API__){const a=o.__getInstance(i);a!=null&&(r=a.__composer,n&&r&&!r[Tc]&&(r=null))}if(r!=null||s===i)break;i=i.parent}return r}function hg(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function pg(e,t,n){er(()=>{},t),oi(()=>{const r=n;e.__deleteInstance(t);const s=r[eo];s&&(s(),delete r[eo])},t)}const mg=["locale","fallbackLocale","availableLocales"],jc=["t","rt","d","n","tm","te"];function gg(e,t){const n=Object.create(null);return mg.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i)throw Ke(He.UNEXPECTED_ERROR);const o=ye(i.value)?{get(){return i.value.value},set(a){i.value.value=a}}:{get(){return i.get&&i.get()}};Object.defineProperty(n,s,o)}),e.config.globalProperties.$i18n=n,jc.forEach(s=>{const i=Object.getOwnPropertyDescriptor(t,s);if(!i||!i.value)throw Ke(He.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,i)}),()=>{delete e.config.globalProperties.$i18n,jc.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}if(Xm(),Om(cm),Cm(Sm),Am(Ql),__INTLIFY_PROD_DEVTOOLS__){const e=hn();e.__INTLIFY__=!0,um(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function Uc(e,t){for(var n=-1,r=e==null?0:e.length,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s}function _g(){this.__data__=[],this.size=0}function Wc(e,t){return e===t||e!==e&&t!==t}function bs(e,t){for(var n=e.length;n--;)if(Wc(e[n][0],t))return n;return-1}var bg=Array.prototype,yg=bg.splice;function vg(e){var t=this.__data__,n=bs(t,e);if(n<0)return!1;var r=t.length-1;return n==r?t.pop():yg.call(t,n,1),--this.size,!0}function wg(e){var t=this.__data__,n=bs(t,e);return n<0?void 0:t[n][1]}function kg(e){return bs(this.__data__,e)>-1}function Tg(e,t){var n=this.__data__,r=bs(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}function Lt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Lt.prototype.clear=_g,Lt.prototype.delete=vg,Lt.prototype.get=wg,Lt.prototype.has=kg,Lt.prototype.set=Tg;function Ig(){this.__data__=new Lt,this.size=0}function Sg(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}function Eg(e){return this.__data__.get(e)}function xg(e){return this.__data__.has(e)}var Hc=typeof global=="object"&&global&&global.Object===Object&&global,Og=typeof self=="object"&&self&&self.Object===Object&&self,_t=Hc||Og||Function("return this")(),bt=_t.Symbol,zc=Object.prototype,Cg=zc.hasOwnProperty,Ag=zc.toString,vr=bt?bt.toStringTag:void 0;function Lg(e){var t=Cg.call(e,vr),n=e[vr];try{e[vr]=void 0;var r=!0}catch{}var s=Ag.call(e);return r&&(t?e[vr]=n:delete e[vr]),s}var Pg=Object.prototype,Rg=Pg.toString;function Ng(e){return Rg.call(e)}var $g="[object Null]",Mg="[object Undefined]",Kc=bt?bt.toStringTag:void 0;function pn(e){return e==null?e===void 0?Mg:$g:Kc&&Kc in Object(e)?Lg(e):Ng(e)}function wr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var Dg="[object AsyncFunction]",Fg="[object Function]",jg="[object GeneratorFunction]",Ug="[object Proxy]";function Vc(e){if(!wr(e))return!1;var t=pn(e);return t==Fg||t==jg||t==Dg||t==Ug}var io=_t["__core-js_shared__"],Bc=function(){var e=/[^.]+$/.exec(io&&io.keys&&io.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wg(e){return!!Bc&&Bc in e}var Hg=Function.prototype,zg=Hg.toString;function mn(e){if(e!=null){try{return zg.call(e)}catch{}try{return e+""}catch{}}return""}var Kg=/[\\^$.*+?()[\]{}|]/g,Vg=/^\[object .+?Constructor\]$/,Bg=Function.prototype,Gg=Object.prototype,Zg=Bg.toString,Yg=Gg.hasOwnProperty,Xg=RegExp("^"+Zg.call(Yg).replace(Kg,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Jg(e){if(!wr(e)||Wg(e))return!1;var t=Vc(e)?Xg:Vg;return t.test(mn(e))}function qg(e,t){return e?.[t]}function gn(e,t){var n=qg(e,t);return Jg(n)?n:void 0}var kr=gn(_t,"Map"),Tr=gn(Object,"create");function Qg(){this.__data__=Tr?Tr(null):{},this.size=0}function e_(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var t_="__lodash_hash_undefined__",n_=Object.prototype,r_=n_.hasOwnProperty;function s_(e){var t=this.__data__;if(Tr){var n=t[e];return n===t_?void 0:n}return r_.call(t,e)?t[e]:void 0}var i_=Object.prototype,o_=i_.hasOwnProperty;function a_(e){var t=this.__data__;return Tr?t[e]!==void 0:o_.call(t,e)}var l_="__lodash_hash_undefined__";function c_(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=Tr&&t===void 0?l_:t,this}function _n(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}_n.prototype.clear=Qg,_n.prototype.delete=e_,_n.prototype.get=s_,_n.prototype.has=a_,_n.prototype.set=c_;function u_(){this.size=0,this.__data__={hash:new _n,map:new(kr||Lt),string:new _n}}function f_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function ys(e,t){var n=e.__data__;return f_(t)?n[typeof t=="string"?"string":"hash"]:n.map}function d_(e){var t=ys(this,e).delete(e);return this.size-=t?1:0,t}function h_(e){return ys(this,e).get(e)}function p_(e){return ys(this,e).has(e)}function m_(e,t){var n=ys(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}function Zt(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}Zt.prototype.clear=u_,Zt.prototype.delete=d_,Zt.prototype.get=h_,Zt.prototype.has=p_,Zt.prototype.set=m_;var g_=200;function __(e,t){var n=this.__data__;if(n instanceof Lt){var r=n.__data__;if(!kr||r.length<g_-1)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Zt(r)}return n.set(e,t),this.size=n.size,this}function Mn(e){var t=this.__data__=new Lt(e);this.size=t.size}Mn.prototype.clear=Ig,Mn.prototype.delete=Sg,Mn.prototype.get=Eg,Mn.prototype.has=xg,Mn.prototype.set=__;function b_(e,t){for(var n=-1,r=e==null?0:e.length;++n<r&&t(e[n],n,e)!==!1;);return e}var vs=function(){try{var e=gn(Object,"defineProperty");return e({},"",{}),e}catch{}}();function Gc(e,t,n){t=="__proto__"&&vs?vs(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}var y_=Object.prototype,v_=y_.hasOwnProperty;function Zc(e,t,n){var r=e[t];(!(v_.call(e,t)&&Wc(r,n))||n===void 0&&!(t in e))&&Gc(e,t,n)}function Ir(e,t,n,r){var s=!n;n||(n={});for(var i=-1,o=t.length;++i<o;){var a=t[i],l=void 0;l===void 0&&(l=e[a]),s?Gc(n,a,l):Zc(n,a,l)}return n}function w_(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function bn(e){return e!=null&&typeof e=="object"}var k_="[object Arguments]";function Yc(e){return bn(e)&&pn(e)==k_}var Xc=Object.prototype,T_=Xc.hasOwnProperty,I_=Xc.propertyIsEnumerable,Jc=Yc(function(){return arguments}())?Yc:function(e){return bn(e)&&T_.call(e,"callee")&&!I_.call(e,"callee")},yn=Array.isArray;function S_(){return!1}var qc=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Qc=qc&&typeof module=="object"&&module&&!module.nodeType&&module,E_=Qc&&Qc.exports===qc,eu=E_?_t.Buffer:void 0,x_=eu?eu.isBuffer:void 0,tu=x_||S_,O_=9007199254740991,C_=/^(?:0|[1-9]\d*)$/;function A_(e,t){var n=typeof e;return t=t??O_,!!t&&(n=="number"||n!="symbol"&&C_.test(e))&&e>-1&&e%1==0&&e<t}var L_=9007199254740991;function nu(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=L_}var P_="[object Arguments]",R_="[object Array]",N_="[object Boolean]",$_="[object Date]",M_="[object Error]",D_="[object Function]",F_="[object Map]",j_="[object Number]",U_="[object Object]",W_="[object RegExp]",H_="[object Set]",z_="[object String]",K_="[object WeakMap]",V_="[object ArrayBuffer]",B_="[object DataView]",G_="[object Float32Array]",Z_="[object Float64Array]",Y_="[object Int8Array]",X_="[object Int16Array]",J_="[object Int32Array]",q_="[object Uint8Array]",Q_="[object Uint8ClampedArray]",eb="[object Uint16Array]",tb="[object Uint32Array]",me={};me[G_]=me[Z_]=me[Y_]=me[X_]=me[J_]=me[q_]=me[Q_]=me[eb]=me[tb]=!0,me[P_]=me[R_]=me[V_]=me[N_]=me[B_]=me[$_]=me[M_]=me[D_]=me[F_]=me[j_]=me[U_]=me[W_]=me[H_]=me[z_]=me[K_]=!1;function nb(e){return bn(e)&&nu(e.length)&&!!me[pn(e)]}function oo(e){return function(t){return e(t)}}var ru=typeof exports=="object"&&exports&&!exports.nodeType&&exports,Sr=ru&&typeof module=="object"&&module&&!module.nodeType&&module,rb=Sr&&Sr.exports===ru,ao=rb&&Hc.process,Dn=function(){try{var e=Sr&&Sr.require&&Sr.require("util").types;return e||ao&&ao.binding&&ao.binding("util")}catch{}}(),su=Dn&&Dn.isTypedArray,sb=su?oo(su):nb,ib=Object.prototype,ob=ib.hasOwnProperty;function iu(e,t){var n=yn(e),r=!n&&Jc(e),s=!n&&!r&&tu(e),i=!n&&!r&&!s&&sb(e),o=n||r||s||i,a=o?w_(e.length,String):[],l=a.length;for(var u in e)(t||ob.call(e,u))&&!(o&&(u=="length"||s&&(u=="offset"||u=="parent")||i&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||A_(u,l)))&&a.push(u);return a}var ab=Object.prototype;function lo(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototype||ab;return e===n}function ou(e,t){return function(n){return e(t(n))}}var lb=ou(Object.keys,Object),cb=Object.prototype,ub=cb.hasOwnProperty;function fb(e){if(!lo(e))return lb(e);var t=[];for(var n in Object(e))ub.call(e,n)&&n!="constructor"&&t.push(n);return t}function au(e){return e!=null&&nu(e.length)&&!Vc(e)}function co(e){return au(e)?iu(e):fb(e)}function db(e,t){return e&&Ir(t,co(t),e)}function hb(e){var t=[];if(e!=null)for(var n in Object(e))t.push(n);return t}var pb=Object.prototype,mb=pb.hasOwnProperty;function gb(e){if(!wr(e))return hb(e);var t=lo(e),n=[];for(var r in e)r=="constructor"&&(t||!mb.call(e,r))||n.push(r);return n}function uo(e){return au(e)?iu(e,!0):gb(e)}function _b(e,t){return e&&Ir(t,uo(t),e)}var lu=typeof exports=="object"&&exports&&!exports.nodeType&&exports,cu=lu&&typeof module=="object"&&module&&!module.nodeType&&module,bb=cu&&cu.exports===lu,uu=bb?_t.Buffer:void 0,fu=uu?uu.allocUnsafe:void 0;function yb(e,t){if(t)return e.slice();var n=e.length,r=fu?fu(n):new e.constructor(n);return e.copy(r),r}function vb(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}function wb(e,t){for(var n=-1,r=e==null?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}function du(){return[]}var kb=Object.prototype,Tb=kb.propertyIsEnumerable,hu=Object.getOwnPropertySymbols,fo=hu?function(e){return e==null?[]:(e=Object(e),wb(hu(e),function(t){return Tb.call(e,t)}))}:du;function Ib(e,t){return Ir(e,fo(e),t)}function ho(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e}var po=ou(Object.getPrototypeOf,Object),Sb=Object.getOwnPropertySymbols,pu=Sb?function(e){for(var t=[];e;)ho(t,fo(e)),e=po(e);return t}:du;function Eb(e,t){return Ir(e,pu(e),t)}function mu(e,t,n){var r=t(e);return yn(e)?r:ho(r,n(e))}function xb(e){return mu(e,co,fo)}function gu(e){return mu(e,uo,pu)}var mo=gn(_t,"DataView"),go=gn(_t,"Promise"),_o=gn(_t,"Set"),bo=gn(_t,"WeakMap"),_u="[object Map]",Ob="[object Object]",bu="[object Promise]",yu="[object Set]",vu="[object WeakMap]",wu="[object DataView]",Cb=mn(mo),Ab=mn(kr),Lb=mn(go),Pb=mn(_o),Rb=mn(bo),Pt=pn;(mo&&Pt(new mo(new ArrayBuffer(1)))!=wu||kr&&Pt(new kr)!=_u||go&&Pt(go.resolve())!=bu||_o&&Pt(new _o)!=yu||bo&&Pt(new bo)!=vu)&&(Pt=function(e){var t=pn(e),n=t==Ob?e.constructor:void 0,r=n?mn(n):"";if(r)switch(r){case Cb:return wu;case Ab:return _u;case Lb:return bu;case Pb:return yu;case Rb:return vu}return t});var Nb=Object.prototype,$b=Nb.hasOwnProperty;function Mb(e){var t=e.length,n=new e.constructor(t);return t&&typeof e[0]=="string"&&$b.call(e,"index")&&(n.index=e.index,n.input=e.input),n}var ku=_t.Uint8Array;function yo(e){var t=new e.constructor(e.byteLength);return new ku(t).set(new ku(e)),t}function Db(e,t){var n=t?yo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}var Fb=/\w*$/;function jb(e){var t=new e.constructor(e.source,Fb.exec(e));return t.lastIndex=e.lastIndex,t}var Tu=bt?bt.prototype:void 0,Iu=Tu?Tu.valueOf:void 0;function Ub(e){return Iu?Object(Iu.call(e)):{}}function Wb(e,t){var n=t?yo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}var Hb="[object Boolean]",zb="[object Date]",Kb="[object Map]",Vb="[object Number]",Bb="[object RegExp]",Gb="[object Set]",Zb="[object String]",Yb="[object Symbol]",Xb="[object ArrayBuffer]",Jb="[object DataView]",qb="[object Float32Array]",Qb="[object Float64Array]",ey="[object Int8Array]",ty="[object Int16Array]",ny="[object Int32Array]",ry="[object Uint8Array]",sy="[object Uint8ClampedArray]",iy="[object Uint16Array]",oy="[object Uint32Array]";function ay(e,t,n){var r=e.constructor;switch(t){case Xb:return yo(e);case Hb:case zb:return new r(+e);case Jb:return Db(e,n);case qb:case Qb:case ey:case ty:case ny:case ry:case sy:case iy:case oy:return Wb(e,n);case Kb:return new r;case Vb:case Zb:return new r(e);case Bb:return jb(e);case Gb:return new r;case Yb:return Ub(e)}}var Su=Object.create,ly=function(){function e(){}return function(t){if(!wr(t))return{};if(Su)return Su(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();function cy(e){return typeof e.constructor=="function"&&!lo(e)?ly(po(e)):{}}var uy="[object Map]";function fy(e){return bn(e)&&Pt(e)==uy}var Eu=Dn&&Dn.isMap,dy=Eu?oo(Eu):fy,hy="[object Set]";function py(e){return bn(e)&&Pt(e)==hy}var xu=Dn&&Dn.isSet,my=xu?oo(xu):py,gy=1,_y=2,by=4,Ou="[object Arguments]",yy="[object Array]",vy="[object Boolean]",wy="[object Date]",ky="[object Error]",Cu="[object Function]",Ty="[object GeneratorFunction]",Iy="[object Map]",Sy="[object Number]",Au="[object Object]",Ey="[object RegExp]",xy="[object Set]",Oy="[object String]",Cy="[object Symbol]",Ay="[object WeakMap]",Ly="[object ArrayBuffer]",Py="[object DataView]",Ry="[object Float32Array]",Ny="[object Float64Array]",$y="[object Int8Array]",My="[object Int16Array]",Dy="[object Int32Array]",Fy="[object Uint8Array]",jy="[object Uint8ClampedArray]",Uy="[object Uint16Array]",Wy="[object Uint32Array]",he={};he[Ou]=he[yy]=he[Ly]=he[Py]=he[vy]=he[wy]=he[Ry]=he[Ny]=he[$y]=he[My]=he[Dy]=he[Iy]=he[Sy]=he[Au]=he[Ey]=he[xy]=he[Oy]=he[Cy]=he[Fy]=he[jy]=he[Uy]=he[Wy]=!0,he[ky]=he[Cu]=he[Ay]=!1;function ws(e,t,n,r,s,i){var o,a=t&gy,l=t&_y,u=t&by;if(n&&(o=s?n(e,r,s,i):n(e)),o!==void 0)return o;if(!wr(e))return e;var c=yn(e);if(c){if(o=Mb(e),!a)return vb(e,o)}else{var f=Pt(e),h=f==Cu||f==Ty;if(tu(e))return yb(e,a);if(f==Au||f==Ou||h&&!s){if(o=l||h?{}:cy(e),!a)return l?Eb(e,_b(o,e)):Ib(e,db(o,e))}else{if(!he[f])return s?e:{};o=ay(e,f,a)}}i||(i=new Mn);var p=i.get(e);if(p)return p;i.set(e,o),my(e)?e.forEach(function(E){o.add(ws(E,t,n,E,e,i))}):dy(e)&&e.forEach(function(E,_){o.set(_,ws(E,t,n,_,e,i))});var w=u?l?gu:xb:l?uo:co,v=c?void 0:w(e);return b_(v||e,function(E,_){v&&(_=E,E=e[_]),Zc(o,_,ws(E,t,n,_,e,i))}),o}var Hy="[object Symbol]";function vo(e){return typeof e=="symbol"||bn(e)&&pn(e)==Hy}var zy=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ky=/^\w*$/;function Vy(e,t){if(yn(e))return!1;var n=typeof e;return n=="number"||n=="symbol"||n=="boolean"||e==null||vo(e)?!0:Ky.test(e)||!zy.test(e)||t!=null&&e in Object(t)}var By="Expected a function";function wo(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(By);var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],i=n.cache;if(i.has(s))return i.get(s);var o=e.apply(this,r);return n.cache=i.set(s,o)||i,o};return n.cache=new(wo.Cache||Zt),n}wo.Cache=Zt;var Gy=500;function Zy(e){var t=wo(e,function(r){return n.size===Gy&&n.clear(),r}),n=t.cache;return t}var Yy=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Xy=/\\(\\)?/g,Jy=Zy(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Yy,function(n,r,s,i){t.push(s?i.replace(Xy,"$1"):r||n)}),t}),qy=1/0,Lu=bt?bt.prototype:void 0,Pu=Lu?Lu.toString:void 0;function Ru(e){if(typeof e=="string")return e;if(yn(e))return Uc(e,Ru)+"";if(vo(e))return Pu?Pu.call(e):"";var t=e+"";return t=="0"&&1/e==-qy?"-0":t}function Qy(e){return e==null?"":Ru(e)}function ko(e,t){return yn(e)?e:Vy(e,t)?[e]:Jy(Qy(e))}function e0(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}var t0=1/0;function Nu(e){if(typeof e=="string"||vo(e))return e;var t=e+"";return t=="0"&&1/e==-t0?"-0":t}function n0(e,t){t=ko(t,e);for(var n=0,r=t.length;e!=null&&n<r;)e=e[Nu(t[n++])];return n&&n==r?e:void 0}function r0(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),n=n>s?s:n,n<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(s);++r<s;)i[r]=e[r+t];return i}function s0(e,t){return t.length<2?e:n0(e,r0(t,0,-1))}function i0(e,t){return t=ko(t,e),e=s0(e,t),e==null||delete e[Nu(e0(t))]}var o0="[object Object]",a0=Function.prototype,l0=Object.prototype,$u=a0.toString,c0=l0.hasOwnProperty,u0=$u.call(Object);function f0(e){if(!bn(e)||pn(e)!=o0)return!1;var t=po(e);if(t===null)return!0;var n=c0.call(t,"constructor")&&t.constructor;return typeof n=="function"&&n instanceof n&&$u.call(n)==u0}function d0(e){return f0(e)?void 0:e}var Mu=bt?bt.isConcatSpreadable:void 0;function h0(e){return yn(e)||Jc(e)||!!(Mu&&e&&e[Mu])}function p0(e,t,n,r,s){var i=-1,o=e.length;for(n||(n=h0),s||(s=[]);++i<o;){var a=e[i];n(a)?ho(s,a):s[s.length]=a}return s}function m0(e){var t=e==null?0:e.length;return t?p0(e):[]}function g0(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}var Du=Math.max;function _0(e,t,n){return t=Du(t===void 0?e.length-1:t,0),function(){for(var r=arguments,s=-1,i=Du(r.length-t,0),o=Array(i);++s<i;)o[s]=r[t+s];s=-1;for(var a=Array(t+1);++s<t;)a[s]=r[s];return a[t]=n(o),g0(e,this,a)}}function b0(e){return function(){return e}}function y0(e){return e}var v0=vs?function(e,t){return vs(e,"toString",{configurable:!0,enumerable:!1,value:b0(t),writable:!0})}:y0,w0=800,k0=16,T0=Date.now;function I0(e){var t=0,n=0;return function(){var r=T0(),s=k0-(r-n);if(n=r,s>0){if(++t>=w0)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var S0=I0(v0);function E0(e){return S0(_0(e,void 0,m0),e+"")}var x0=1,O0=2,C0=4,A0=E0(function(e,t){var n={};if(e==null)return n;var r=!1;t=Uc(t,function(i){return i=ko(i,e),r||(r=i.length>1),i}),Ir(e,gu(e),n),r&&(n=ws(n,x0|O0|C0,d0));for(var s=t.length;s--;)i0(n,t[s]);return n});const Fu={de:{admin:"Admin",anonymous:"Anonym",approve_hint:"Wir werden Ihren Kommentar innerhalb von 24 Stunden beantworten, ohne Ihre E-Mail zu spammen. Schauen Sie bitte bald wieder vorbei. :)",discussion:"Diskussion",edit:"Bearbeiten",load_more:"Mehr laden",login:"Anmelden",logout:"Abmelden",placeholder:"Schreiben Sie ein Kommentar...",post_comment:"Kommentar absenden",post_reply:"Antwort absenden",reply:"Antwort",reply_to:"Antwort auf",save_editing:"Speichern",ui_texts:["Seien Sie der Erste, der die Diskussion beginnt!","Beteiligen Sie sich an der Konversation (#)","Laden...","Kommentare laden"],your_comment:"Dein Kommentar"},en:{admin:"Admin",anonymous:"Anonymous",approve_hint:"We’ll reply to your comment within 24 hours without spamming your email, so please check back soon :)",discussion:"Discussion",edit:"Edit",load_more:"Load More",login:"LOGIN",logout:"Logout",placeholder:"Write a comment...",post_comment:"POST COMMENT",post_reply:"POST REPLY",reply:"Reply",reply_to:"reply to",save_editing:"Save",ui_texts:["Be the first to start the discussion!","Join the Conversation (#)","Loading...","Load Comments"],your_comment:"Your comment"},es:{admin:"Administrador",anonymous:"Anónimo",approve_hint:"los comentarios son normalmente aprobados dentro de 24 horas",discussion:"Discusión",edit:"Editar",load_more:"Cargar Más",login:"INICIAR SESIÓN",logout:"Cerrar Sesión",placeholder:"Escribe un comentario...",post_comment:"PUBLICAR COMENTARIO",post_reply:"PUBLICAR RESPUESTA",reply:"Responder",reply_to:"Responder a",save_editing:"Guardar",ui_texts:["¡Sé el primero en iniciar la discusión!","Únete a la Conversación (#)","Cargando...","Cargar Comentarios"],your_comment:"Tu comentario"},fr:{admin:"Admin",anonymous:"Anonyme",approve_hint:"Nous répondrons à votre commentaire dans les 24 heures sans vous spammer par e-mail, alors revenez bientôt :)",discussion:"Discussion",edit:"Modifier",load_more:"Charger plus",login:"CONNEXION",logout:"Déconnexion",placeholder:"Écrivez un commentaire...",post_comment:"POSTER UN COMMENTAIRE",post_reply:"POSTER UNE RÉPONSE",reply:"Répondre",reply_to:"répondre à",save_editing:"Enregistrer",ui_texts:["Soyez le premier à lancer la discussion !","Rejoignez la conversation (#)","Chargement...","Charger les commentaires"],your_comment:"Votre commentaire"},id:{admin:"Admin",anonymous:"Anonim",approve_hint:"komentar biasanya disetujui dalam waktu 24 jam",discussion:"Diskusi",edit:"Edit",load_more:"Muat Lebih Banyak",login:"MASUK",logout:"Keluar",placeholder:"Tulis komentar...",post_comment:"KIRIM KOMENTAR",post_reply:"KIRIM BALASAN",reply:"Balas",reply_to:"balas ke",save_editing:"Simpan",your_comment:"Komentar Anda"},it:{admin:"Amministratore",anonymous:"Anonimo",approve_hint:"i commenti vengono normalmente approvati entro 24 ore",discussion:"Discussione",edit:"Modifica",load_more:"Carica Altri",login:"ACCEDI",logout:"Esci",placeholder:"Scrivi un commento...",post_comment:"INVIA COMMENTO",post_reply:"INVIA RISPOSTA",reply:"Risposta",reply_to:"rispondi a",save_editing:"Salva",your_comment:"Il tuo commento"},ja:{admin:"管理者",anonymous:"匿名",approve_hint:"コメントは通常24時間以内に承認されます",discussion:"ディスカッション",edit:"編集",load_more:"もっと読み込む",login:"ログイン",logout:"ログアウト",placeholder:"コメントを書く...",post_comment:"コメントを投稿",post_reply:"返信を投稿",reply:"返信",reply_to:"返信先",save_editing:"保存",your_comment:"あなたのコメント"},ko:{admin:"관리자",anonymous:"익명",approve_hint:"댓글은 보통 24시간 내에 승인됩니다",discussion:"토론",edit:"편집",load_more:"더 보기",login:"로그인",logout:"로그아웃",placeholder:"댓글을 입력하세요...",post_comment:"댓글 게시",post_reply:"답글 게시",reply:"답장",reply_to:"답장 대상",save_editing:"저장",your_comment:"당신의 댓글"},pt:{admin:"Administrador",anonymous:"Anônimo",approve_hint:"os comentários são normalmente aprovados dentro de 24 horas",discussion:"Discussão",edit:"Editar",load_more:"Carregar Mais",login:"ENTRAR",logout:"Sair",placeholder:"Escreva um comentário...",post_comment:"PUBLICAR COMENTÁRIO",post_reply:"PUBLICAR RESPOSTA",reply:"Responder",reply_to:"responder a",save_editing:"Salvar",your_comment:"Seu comentário"},th:{admin:"แอดมิน",anonymous:"นิรนาม",approve_hint:"โดยปกติความคิดเห็นจะได้รับการอนุมัติภายใน 24 ชั่วโมง",discussion:"การอภิปราย",edit:"แก้ไข",load_more:"โหลดเพิ่ม",login:"ลงชื่อเข้าใช้",logout:"ลงชื่อออก",placeholder:"เขียนความคิดเห็น...",post_comment:"โพสต์ความคิดเห็น",post_reply:"โพสต์การตอบกลับ",reply:"ตอบกลับ",reply_to:"ตอบกลับถึง",save_editing:"บันทึก",ui_texts:["เป็นคนแรกที่เริ่มการอภิปราย","เข้าร่วมการสนทนา (#)","กำลังโหลด...","โหลดความคิดเห็น"],your_comment:"ความคิดเห็นของคุณ"},zh:{admin:"管理員",anonymous:"匿名",approve_hint:"評論通常在24小時內獲得批準,並且每壹條評論都會獲得回復",discussion:"討論",edit:"修改",load_more:"加載更多",login:"登錄",logout:"登出",placeholder:"寫評論...",post_comment:"發表評論",post_reply:"發表回複",reply:"回複",reply_to:"回複給",save_editing:"保存",your_comment:"您的評論"},cn:{admin:"管理员",anonymous:"匿名",approve_hint:"评论通常在24小时内公开(我们也会回复您)",discussion:"讨论",edit:"编辑",load_more:"加载更多",login:"登录",logout:"登出",placeholder:"写评论...",post_comment:"发表评论",post_reply:"发表回复",reply:"回复",reply_to:"回复给",save_editing:"保存",your_comment:"您的评论"}};function L0(){return!!navigator.userAgent.match(/Macintosh/)}function P0(e,t){return(L0()?e.metaKey:e.ctrlKey)&&e.key===t}var ks=(e=>(e[e.Pending=0]="Pending",e[e.Approved=1]="Approved",e[e.Rejected=2]="Rejected",e[e.UnReplied=255]="UnReplied",e[e["Replied to Admin"]=256]="Replied to Admin",e))(ks||{});const R0=/@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/;function Ts(e){return e<10?`0${e}`:`${e}`}function ju(e){return e=`${e.substring(0,10)}T${e.substring(11,19)}Z`,new Date(e)}function Uu(e){const t=e.getFullYear(),n=e.getMonth()+1,r=e.getDate();return`${t}-${Ts(n)}-${Ts(r)}`}function Wu(e){e instanceof Date||(e=ju(e));const t=new Date,n=Uu(e);if(Uu(t)===n){const r=e.getHours(),s=e.getMinutes();return`${Ts(r)}:${Ts(s)}`}return n}function N0(e){const{id:t,created_at:n,parent_id:r,ancestor_id:s,post_id:i,user_id:o,...a}=e;return{...a,id:Number(t),userId:o,parentId:Number(r),postId:i,ancestorId:Number(s),status:Number(e.status),createdAt:ju(n)}}const To="awesome-comment-comments",Hu=localStorage.getItem(To),Fn=Hu?JSON.parse(Hu):{},jn=Pl("store",()=>{const e=Ue("postId"),t=Ue("comments"),n=Ue("total"),r=te(!!t?.length),s=te(0),i=te(""),o=te([]),a=te(n||0),l=Ue("ApiBaseUrl"),u=te(!1),c=te(!1);function f(E){const _={},y=[];E.forEach(g=>{w(Number(g.id));const C=N0(g);!g.ancestor_id||Number(g.ancestor_id)===0?_[g.id]=C:y.push(C)});const I=Fn[e];I&&(I.createdAt=new Date(I.createdAt),!I.ancestorId||Number(I.ancestorId)===0?_[I.id]=I:y.push(I)),y.forEach(g=>{if(g.ancestorId in _){const C=_[g.ancestorId];C.children=[g,...C.children||[]]}});for(const g in _){const C=_[g];C.children&&(C.children=C.children.sort(($,L)=>$.id-L.id))}return _}async function h(E=!1){if(u.value)return;i.value="",u.value=!0;let _;if(E&&t?.length)_=f(t);else{const y=new URLSearchParams;y.append("postId",e),y.append("start",s.value.toString());const I=await fetch(`${l}/api/comments?${y}`);if(!I.ok){i.value="Load comments failed. "+I.statusText,r.value=!0,u.value=!1;return}const g=await I.json();if(g.code!==0){i.value="Load comments failed. "+g.message,r.value=!0,u.value=!1;return}_=f(g.data||[]),a.value=g.meta?.total||g.data?.length||0}c.value=Object.keys(_).length>20,c.value&&delete _[Object.keys(_)[0]],Object.assign(o.value,_),r.value=!0,u.value=!1}function p(E,_,y,I=ks.Pending,g,C){const{sub:$="",name:L="",picture:D="",email:U="",nickname:Z=""}=y,X={id:E,postId:e,content:_,createdAt:new Date,user:{avatar:D,email:U,name:Z||L},userId:$,status:I,isNew:!0};if(g||C){X.ancestorId=g,X.parentId=C;const J=o.value[g];if(J.children||(J.children=[]),g===C)J.children.unshift(X);else{const Ae=J.children.findIndex(ot=>Number(ot.id)===C);J.children.splice(Ae+1,0,X)}}else X.ancestorId=0,X.parentId=0,o.value={[E]:X,...o.value};a.value++,I!==ks.Approved&&(Fn[e]=X,localStorage.setItem(To,JSON.stringify(Fn)))}function w(E){Fn[e]?.id===E&&(delete Fn[e],localStorage.setItem(To,JSON.stringify(Fn)))}function v(E,_){let y=o.value[E];if(!y){for(const I of Object.values(o.value))if(I.children&&(y=I.children.find(g=>Number(g.id)===E),y))break}y&&Object.assign(y,_)}return{isLoaded:r,message:i,postId:e,comments:o,total:a,start:s,hasMore:c,loadingMore:u,loadComments:h,addComment:p,updateComment:v}});var $0={exports:{}};(function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}Object.create&&(r.prototype=Object.create(null),new r().__proto__||(n=!1));function s(l,u,c){this.fn=l,this.context=u,this.once=c||!1}function i(l,u,c,f,h){if(typeof c!="function")throw new TypeError("The listener must be a function");var p=new s(c,f||l,h),w=n?n+u:u;return l._events[w]?l._events[w].fn?l._events[w]=[l._events[w],p]:l._events[w].push(p):(l._events[w]=p,l._eventsCount++),l}function o(l,u){--l._eventsCount===0?l._events=new r:delete l._events[u]}function a(){this._events=new r,this._eventsCount=0}a.prototype.eventNames=function(){var l=[],u,c;if(this._eventsCount===0)return l;for(c in u=this._events)t.call(u,c)&&l.push(n?c.slice(1):c);return Object.getOwnPropertySymbols?l.concat(Object.getOwnPropertySymbols(u)):l},a.prototype.listeners=function(l){var u=n?n+l:l,c=this._events[u];if(!c)return[];if(c.fn)return[c.fn];for(var f=0,h=c.length,p=new Array(h);f<h;f++)p[f]=c[f].fn;return p},a.prototype.listenerCount=function(l){var u=n?n+l:l,c=this._events[u];return c?c.fn?1:c.length:0},a.prototype.emit=function(l,u,c,f,h,p){var w=n?n+l:l;if(!this._events[w])return!1;var v=this._events[w],E=arguments.length,_,y;if(v.fn){switch(v.once&&this.removeListener(l,v.fn,void 0,!0),E){case 1:return v.fn.call(v.context),!0;case 2:return v.fn.call(v.context,u),!0;case 3:return v.fn.call(v.context,u,c),!0;case 4:return v.fn.call(v.context,u,c,f),!0;case 5:return v.fn.call(v.context,u,c,f,h),!0;case 6:return v.fn.call(v.context,u,c,f,h,p),!0}for(y=1,_=new Array(E-1);y<E;y++)_[y-1]=arguments[y];v.fn.apply(v.context,_)}else{var I=v.length,g;for(y=0;y<I;y++)switch(v[y].once&&this.removeListener(l,v[y].fn,void 0,!0),E){case 1:v[y].fn.call(v[y].context);break;case 2:v[y].fn.call(v[y].context,u);break;case 3:v[y].fn.call(v[y].context,u,c);break;case 4:v[y].fn.call(v[y].context,u,c,f);break;default:if(!_)for(g=1,_=new Array(E-1);g<E;g++)_[g-1]=arguments[g];v[y].fn.apply(v[y].context,_)}}return!0},a.prototype.on=function(l,u,c){return i(this,l,u,c,!1)},a.prototype.once=function(l,u,c){return i(this,l,u,c,!0)},a.prototype.removeListener=function(l,u,c,f){var h=n?n+l:l;if(!this._events[h])return this;if(!u)return o(this,h),this;var p=this._events[h];if(p.fn)p.fn===u&&(!f||p.once)&&(!c||p.context===c)&&o(this,h);else{for(var w=0,v=[],E=p.length;w<E;w++)(p[w].fn!==u||f&&!p[w].once||c&&p[w].context!==c)&&v.push(p[w]);v.length?this._events[h]=v.length===1?v[0]:v:o(this,h)}return this},a.prototype.removeAllListeners=function(l){var u;return l?(u=n?n+l:l,this._events[u]&&o(this,u)):(this._events=new r,this._eventsCount=0),this},a.prototype.off=a.prototype.removeListener,a.prototype.addListener=a.prototype.on,a.prefixed=n,a.EventEmitter=a,e.exports=a})($0);class M0 extends Error{}M0.prototype.name="InvalidTokenError";var D0=typeof global=="object"&&global&&global.Object===Object&&global,F0=typeof self=="object"&&self&&self.Object===Object&&self,j0=D0||F0||Function("return this")(),Is=j0.Symbol;Is&&Is.toStringTag,Is&&Is.toStringTag;var Ss=(e=>(e.INIT="init",e.VERIFYING="verifying",e.VERIFIED="verified",e.REFRESH="refresh",e.ERROR="error",e))(Ss||{});const Io=Pl("auth",()=>{const e=Ue("awesomeAuth"),t=!e&&dp(),n=te(!1),r=te(!1),s=te(),i=!!e,o=st(()=>e?e.root:"");async function a(){return e?e.accessToken:t?await t.getAccessTokenSilently():""}function l(){e?e.doSignIn():t&&t.loginWithPopup()}function u(c){e?e.doSignOut():t&&t.logout(c)}return e?(e.on(Ss.INIT,c=>{r.value=c,c&&(n.value=!1)}),e.on(Ss.VERIFYING,c=>{r.value=c}),e.on(Ss.VERIFIED,c=>{n.value=c,s.value=c?e.user:void 0}),r.value=e.isVerifying,n.value=e.isVerified,s.value=e.user):t&&(ft(t.isLoading,c=>{r.value=c},{immediate:!0}),ft(t.isAuthenticated,c=>{n.value=c},{immediate:!0}),ft(t.user,c=>{s.value=c},{immediate:!0})),{isAuthenticated:n,isAwesomeAuth:i,isLoading:r,authEndpoint:o,user:s,getAccessToken:a,login:l,logout:u}}),U0={class:"ac-form-control bg-base-200 rounded-lg"},W0={class:"sr-only",for:"ac-comment"},H0=["placeholder"],z0={class:"p-2 rounded-b-lg bg-base-300 flex items-center"},K0={key:0,class:"text-xs text-neutral-400/40"},V0={key:1,class:"ac-alert ac-alert-error mx-4 py-1"},B0=["disabled"],G0={key:0,class:"ac-loading ac-loading-spinner"},Es=ut({...{name:"CommentForm"},props:{noVersion:{type:Boolean},currentId:{},parentId:{},ancestorId:{},content:{},status:{}},emits:["close","update"],setup(e,{emit:t}){const n=e,r=t,s=Io(),i=jn(),{t:o}=gt(),a=Ue("ApiBaseUrl"),l=Ue("Auth0Domain"),u="0.9.10",c=te(),f=te(!1),h=te(n.content||""),p=te("");async function w(y){if(!s.user)return v();if(y.target.matches(":invalid"))return;const I=h.value.trim();if(!I)return;if(I.length<5||/^\w{35,}$/.test(I)){p.value="We encourage meaningful contributions to foster a positive community. Thank you for your understanding!";return}f.value=!0,p.value="";let g=a+"/api/comment",C="POST";n.currentId&&(g+="/"+n.currentId,C="PATCH");try{const $=await s.getAccessToken(),L=s.authEndpoint,D=await fetch(g,{method:C,headers:{"Content-Type":"application/json",Authorization:`Bearer ${$}`,"Auth-Endpoint":L},body:JSON.stringify({comment:I,postId:i.postId,domain:l,ancestorId:n.ancestorId?Number(n.ancestorId):void 0,parentId:n.parentId?Number(n.parentId):void 0,status:n.status,window:`${window.innerWidth}x${window.innerHeight} / ${screen.width,screen.height}`,customData:window.custom_comment_data})}),U=await D.json();if(!D.ok||U.message){p.value="Failed to post comment: "+(U.message||"Unknown"),f.value=!1;return}const{id:Z,status:X}=U.data;n.ancestorId||n.parentId?i.addComment(Z,I,s.user,X,n.ancestorId,n.parentId):n.currentId?r("update",I):i.addComment(Z,I,s.user,X),h.value="",r("close")}catch($){p.value=$.message||String($)}f.value=!1}function v(){s.login()}function E(y){P0(y,"Enter")&&w(y)}function _(){r("close")}return er(()=>{c.value?.focus()}),(y,I)=>(V(),Y("form",{class:"mb-6",onSubmit:Rh(w,["prevent"])},[ae("div",U0,[ae("label",W0,be(H(o)("your_comment")),1),nd(ae("textarea",{id:"ac-comment",ref_key:"textarea",ref:c,"onUpdate:modelValue":I[0]||(I[0]=g=>h.value=g),placeholder:H(o)("placeholder"),class:"ac-textarea ac-textarea-bordered bg-base-200 rounded-b-none focus:outline-none",required:"required",rows:"3",onKeydown:[Il(E,["enter"]),Il(_,["esc"])]},null,40,H0),[[Ah,h.value]]),ae("div",z0,[y.noVersion?Ne("",!0):(V(),Y("div",K0," v"+be(H(u)),1)),p.value?(V(),Y("div",V0,be(p.value),1)):Ne("",!0),ae("button",{disabled:f.value,class:"ac-btn ac-btn-primary ac-btn-sm ms-auto"},[f.value?(V(),Y("span",G0)):Ne("",!0),y.currentId?(V(),Y(xe,{key:1},[an(be(H(o)("save_editing")),1)],64)):y.parentId?(V(),Y(xe,{key:2},[an(be(H(o)("post_reply")),1)],64)):(V(),Y(xe,{key:3},[an(be(H(o)("post_comment")),1)],64))],8,B0)])])],32))}});/**
46
46
  * @license lucide-vue-next v0.468.0 - ISC
47
47
  *
48
48
  * This source code is licensed under the ISC license.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@roudanio/awesome-comment",
3
- "version": "0.9.9",
3
+ "version": "0.9.10",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@auth0/auth0-vue": "^2.3.3",
File without changes