@weni/unnnic-system 3.24.2 → 3.24.3

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.
@@ -62,7 +62,7 @@ ${_}`:d)}else throw u},onCacheKey:u=>qA(n,a,u)}}function yC(e){if(le(e))return e
62
62
  * vue-i18n v9.14.5
63
63
  * (c) 2025 kazuya kawaguchi
64
64
  * Released under the MIT License.
65
- */const vC="9.14.5";function jC(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(qn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(qn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(qn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(qn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(qn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Cm=ia.__EXTEND_POINT__,Vn=Hs(Cm),Dt={FALLBACK_TO_ROOT:Cm,NOT_SUPPORTED_PRESERVE:Vn(),NOT_SUPPORTED_FORMATTER:Vn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Vn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Vn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Vn(),NOT_FOUND_PARENT_SCOPE:Vn(),IGNORE_OBJ_FLATTEN:Vn(),NOTICE_DROP_ALLOW_COMPOSITION:Vn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Vn()},NC={[Dt.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Dt.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Dt.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Dt.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Dt.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Dt.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Dt.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Dt.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Dt.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Dt.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function ca(e,...n){return Zc(NC[e],...n)}const xm=Gt.__EXTEND_POINT__,da=Hs(xm),$e={UNEXPECTED_RETURN_TYPE:xm,INVALID_ARGUMENT:da(),MUST_BE_CALL_SETUP_TOP:da(),NOT_INSTALLED:da(),NOT_AVAILABLE_IN_LEGACY_MODE:da(),REQUIRED_VALUE:da(),INVALID_VALUE:da(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:da(),NOT_INSTALLED_WITH_PROVIDE:da(),UNEXPECTED_ERROR:da(),NOT_COMPATIBLE_LEGACY_VUE_I18N:da(),BRIDGE_SUPPORT_VUE_2_ONLY:da(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:da(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:da(),__EXTEND_POINT__:da()};function Vt(e,...n){return br(e,null,process.env.NODE_ENV!=="production"?{messages:TC,args:n}:void 0)}const TC={[$e.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[$e.INVALID_ARGUMENT]:"Invalid argument",[$e.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[$e.NOT_INSTALLED]:"Need to install with `app.use` function",[$e.UNEXPECTED_ERROR]:"Unexpected error",[$e.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[$e.REQUIRED_VALUE]:"Required in value: {0}",[$e.INVALID_VALUE]:"Invalid value",[$e.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[$e.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[$e.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[$e.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[$e.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[$e.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},dd=Fn("__translateVNode"),fd=Fn("__datetimeParts"),_d=Fn("__numberParts"),Oi=Fn("__enableEmitter"),wo=Fn("__disableEmitter"),Mm=Fn("__setPluralRules"),Bm=Fn("__injectWithOption"),gd=Fn("__dispose");function ko(e){if(!Xe(e)||Na(e))return e;for(const n in e)if(Ja(e,n))if(!n.includes("."))Xe(e[n])&&ko(e[n]);else{const a=n.split("."),i=a.length-1;let r=e,s=!1;for(let u=0;u<i;u++){if(a[u]==="__proto__")throw new Error(`unsafe key: ${a[u]}`);if(a[u]in r||(r[a[u]]=ct()),!Xe(r[a[u]])){process.env.NODE_ENV!=="production"&&Ot(ca(Dt.IGNORE_OBJ_FLATTEN,{key:a[u]})),s=!0;break}r=r[a[u]]}if(s||(Na(r)?Uh.includes(a[i])||delete e[n]:(r[a[i]]=e[n],delete e[n])),!Na(r)){const u=r[a[i]];Xe(u)&&ko(u)}}return e}function el(e,n){const{messages:a,__i18n:i,messageResolver:r,flatJson:s}=n,u=Be(a)?a:pt(i)?ct():{[e]:ct()};if(pt(i)&&i.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:d,resource:_}=c;d?(u[d]=u[d]||ct(),Qs(_,u[d])):Qs(_,u)}else le(c)&&Qs(JSON.parse(c),u)}),r==null&&s)for(const c in u)Ja(u,c)&&ko(u[c]);return u}function vm(e){return e.type}function jm(e,n,a){let i=Xe(n.messages)?n.messages:ct();"__i18nGlobal"in a&&(i=el(e.locale.value,{messages:i,__i18n:a.__i18nGlobal}));const r=Object.keys(i);r.length&&r.forEach(s=>{e.mergeLocaleMessage(s,i[s])});{if(Xe(n.datetimeFormats)){const s=Object.keys(n.datetimeFormats);s.length&&s.forEach(u=>{e.mergeDateTimeFormat(u,n.datetimeFormats[u])})}if(Xe(n.numberFormats)){const s=Object.keys(n.numberFormats);s.length&&s.forEach(u=>{e.mergeNumberFormat(u,n.numberFormats[u])})}}}function Nm(e){return t.createVNode(t.Text,null,e,0)}const Tm="__INTLIFY_META__",Sm=()=>[],SC=()=>!1;let Im=0;function Om(e){return(n,a,i,r)=>e(a,i,t.getCurrentInstance()||void 0,r)}const IC=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=vm(e)[Tm])?{[Tm]:n}:null};function hd(e={},n){const{__root:a,__injectWithOption:i}=e,r=a===void 0,s=e.flatJson,u=Za?t.ref:t.shallowRef,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&yh(ca(Dt.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let d=qe(e.inheritLocale)?e.inheritLocale:!0;const _=u(a&&d?a.locale.value:le(e.locale)?e.locale:kr),g=u(a&&d?a.fallbackLocale.value:le(e.fallbackLocale)||pt(e.fallbackLocale)||Be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:_.value),h=u(el(_.value,e)),p=u(Be(e.datetimeFormats)?e.datetimeFormats:{[_.value]:{}}),F=u(Be(e.numberFormats)?e.numberFormats:{[_.value]:{}});let y=a?a.missingWarn:qe(e.missingWarn)||li(e.missingWarn)?e.missingWarn:!0,A=a?a.fallbackWarn:qe(e.fallbackWarn)||li(e.fallbackWarn)?e.fallbackWarn:!0,E=a?a.fallbackRoot:qe(e.fallbackRoot)?e.fallbackRoot:!0,B=!!e.fallbackFormat,x=dt(e.missing)?e.missing:null,k=dt(e.missing)?Om(e.missing):null,C=dt(e.postTranslation)?e.postTranslation:null,T=a?a.warnHtmlMessage:qe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const z=a?a.modifiers:Be(e.modifiers)?e.modifiers:{};let O=e.pluralRules||a&&a.pluralRules,I;I=(()=>{r&&im(null);const R={version:vC,locale:_.value,fallbackLocale:g.value,messages:h.value,modifiers:z,pluralRules:O,missing:k===null?void 0:k,missingWarn:y,fallbackWarn:A,fallbackFormat:B,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:T,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=p.value,R.numberFormats=F.value,R.__datetimeFormatters=Be(I)?I.__datetimeFormatters:void 0,R.__numberFormatters=Be(I)?I.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=Be(I)?I.__v_emitter:void 0);const $=dC(R);return r&&im($),$})(),yo(I,_.value,g.value);function oe(){return[_.value,g.value,h.value,p.value,F.value]}const ee=t.computed({get:()=>_.value,set:R=>{_.value=R,I.locale=_.value}}),ce=t.computed({get:()=>g.value,set:R=>{g.value=R,I.fallbackLocale=g.value,yo(I,_.value,R)}}),De=t.computed(()=>h.value),ye=t.computed(()=>p.value),se=t.computed(()=>F.value);function ve(){return dt(C)?C:null}function te(R){C=R,I.postTranslation=R}function Re(){return x}function Mt(R){R!==null&&(k=Om(R)),x=R,I.missing=k}function st(R,$){return R!=="translate"||!$.resolvedMessage}const Ct=(R,$,Ve,_t,zt,en)=>{oe();let Oa;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&am(IC()),r||(I.fallbackContext=a?cC():void 0),Oa=R(I)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&am(null),r||(I.fallbackContext=void 0)}if(Ve!=="translate exists"&&Nt(Oa)&&Oa===Zs||Ve==="translate exists"&&!Oa){const[Ut,yn]=$();if(process.env.NODE_ENV!=="production"&&a&&le(Ut)&&st(Ve,yn)&&(E&&($s(A,Ut)||om(y,Ut))&&Ot(ca(Dt.FALLBACK_TO_ROOT,{key:Ut,type:Ve})),process.env.NODE_ENV!=="production")){const{__v_emitter:Rn}=I;Rn&&E&&Rn.emit("fallback",{type:Ve,key:Ut,to:"global",groupId:`${Ve}:${Ut}`})}return a&&E?_t(a):zt(Ut)}else{if(en(Oa))return Oa;throw Vt($e.UNEXPECTED_RETURN_TYPE)}};function ft(...R){return Ct($=>Reflect.apply(gm,null,[$,...R]),()=>sd(...R),"translate",$=>Reflect.apply($.t,$,[...R]),$=>$,$=>le($))}function ht(...R){const[$,Ve,_t]=R;if(_t&&!Xe(_t))throw Vt($e.INVALID_ARGUMENT);return ft($,Ve,Zt({resolvedMessage:!0},_t||{}))}function Bt(...R){return Ct($=>Reflect.apply(bm,null,[$,...R]),()=>ld(...R),"datetime format",$=>Reflect.apply($.d,$,[...R]),()=>Js,$=>le($))}function Q(...R){return Ct($=>Reflect.apply(km,null,[$,...R]),()=>ud(...R),"number format",$=>Reflect.apply($.n,$,[...R]),()=>Js,$=>le($))}function ae(R){return R.map($=>le($)||Nt($)||qe($)?Nm(String($)):$)}const re={normalize:ae,interpolate:R=>R,type:"vnode"};function Z(...R){return Ct($=>{let Ve;const _t=$;try{_t.processor=re,Ve=Reflect.apply(gm,null,[_t,...R])}finally{_t.processor=null}return Ve},()=>sd(...R),"translate",$=>$[dd](...R),$=>[Nm($)],$=>pt($))}function je(...R){return Ct($=>Reflect.apply(km,null,[$,...R]),()=>ud(...R),"number format",$=>$[_d](...R),Sm,$=>le($)||pt($))}function Me(...R){return Ct($=>Reflect.apply(bm,null,[$,...R]),()=>ld(...R),"datetime format",$=>$[fd](...R),Sm,$=>le($)||pt($))}function Ke(R){O=R,I.pluralRules=O}function Y(R,$){return Ct(()=>{if(!R)return!1;const Ve=le($)?$:_.value,_t=et(Ve),zt=I.messageResolver(_t,R);return c?zt!=null:Na(zt)||Ta(zt)||le(zt)},()=>[R],"translate exists",Ve=>Reflect.apply(Ve.te,Ve,[R,$]),SC,Ve=>qe(Ve))}function we(R){let $=null;const Ve=Wh(I,g.value,_.value);for(let _t=0;_t<Ve.length;_t++){const zt=h.value[Ve[_t]]||{},en=I.messageResolver(zt,R);if(en!=null){$=en;break}}return $}function rt(R){const $=we(R);return $??(a?a.tm(R)||{}:{})}function et(R){return h.value[R]||{}}function me(R,$){if(s){const Ve={[R]:$};for(const _t in Ve)Ja(Ve,_t)&&ko(Ve[_t]);$=Ve[R]}h.value[R]=$,I.messages=h.value}function Pe(R,$){h.value[R]=h.value[R]||{};const Ve={[R]:$};if(s)for(const _t in Ve)Ja(Ve,_t)&&ko(Ve[_t]);$=Ve[R],Qs($,h.value[R]),I.messages=h.value}function v(R){return p.value[R]||{}}function N(R,$){p.value[R]=$,I.datetimeFormats=p.value,wm(I,R,$)}function H(R,$){p.value[R]=Zt(p.value[R]||{},$),I.datetimeFormats=p.value,wm(I,R,$)}function fe(R){return F.value[R]||{}}function Ye(R,$){F.value[R]=$,I.numberFormats=F.value,Am(I,R,$)}function Oe(R,$){F.value[R]=Zt(F.value[R]||{},$),I.numberFormats=F.value,Am(I,R,$)}Im++,a&&Za&&(t.watch(a.locale,R=>{d&&(_.value=R,I.locale=R,yo(I,_.value,g.value))}),t.watch(a.fallbackLocale,R=>{d&&(g.value=R,I.fallbackLocale=R,yo(I,_.value,g.value))}));const Qe={id:Im,locale:ee,fallbackLocale:ce,get inheritLocale(){return d},set inheritLocale(R){d=R,R&&a&&(_.value=a.locale.value,g.value=a.fallbackLocale.value,yo(I,_.value,g.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:De,get modifiers(){return z},get pluralRules(){return O||{}},get isGlobal(){return r},get missingWarn(){return y},set missingWarn(R){y=R,I.missingWarn=y},get fallbackWarn(){return A},set fallbackWarn(R){A=R,I.fallbackWarn=A},get fallbackRoot(){return E},set fallbackRoot(R){E=R},get fallbackFormat(){return B},set fallbackFormat(R){B=R,I.fallbackFormat=B},get warnHtmlMessage(){return T},set warnHtmlMessage(R){T=R,I.warnHtmlMessage=R},get escapeParameter(){return S},set escapeParameter(R){S=R,I.escapeParameter=R},t:ft,getLocaleMessage:et,setLocaleMessage:me,mergeLocaleMessage:Pe,getPostTranslationHandler:ve,setPostTranslationHandler:te,getMissingHandler:Re,setMissingHandler:Mt,[Mm]:Ke};return Qe.datetimeFormats=ye,Qe.numberFormats=se,Qe.rt=ht,Qe.te=Y,Qe.tm=rt,Qe.d=Bt,Qe.n=Q,Qe.getDateTimeFormat=v,Qe.setDateTimeFormat=N,Qe.mergeDateTimeFormat=H,Qe.getNumberFormat=fe,Qe.setNumberFormat=Ye,Qe.mergeNumberFormat=Oe,Qe[Bm]=i,Qe[dd]=Z,Qe[fd]=Me,Qe[_d]=je,process.env.NODE_ENV!=="production"&&(Qe[Oi]=R=>{I.__v_emitter=R},Qe[wo]=()=>{I.__v_emitter=void 0}),Qe}function OC(e){const n=le(e.locale)?e.locale:kr,a=le(e.fallbackLocale)||pt(e.fallbackLocale)||Be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=dt(e.missing)?e.missing:void 0,r=qe(e.silentTranslationWarn)||li(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=qe(e.silentFallbackWarn)||li(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=qe(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,d=Be(e.modifiers)?e.modifiers:{},_=e.pluralizationRules,g=dt(e.postTranslation)?e.postTranslation:void 0,h=le(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,p=!!e.escapeParameterHtml,F=qe(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ot(ca(Dt.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ot(ca(Dt.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let y=e.messages;if(Be(e.sharedMessages)){const S=e.sharedMessages;y=Object.keys(S).reduce((O,I)=>{const K=O[I]||(O[I]={});return Zt(K,S[I]),O},y||{})}const{__i18n:A,__root:E,__injectWithOption:B}=e,x=e.datetimeFormats,k=e.numberFormats,C=e.flatJson,T=e.translateExistCompatible;return{locale:n,fallbackLocale:a,messages:y,flatJson:C,datetimeFormats:x,numberFormats:k,missing:i,missingWarn:r,fallbackWarn:s,fallbackRoot:u,fallbackFormat:c,modifiers:d,pluralRules:_,postTranslation:g,warnHtmlMessage:h,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:F,translateExistCompatible:T,__i18n:A,__root:E,__injectWithOption:B}}function md(e={},n){{const a=hd(OC(e)),{__extender:i}=e,r={id:a.id,get locale(){return a.locale.value},set locale(s){a.locale.value=s},get fallbackLocale(){return a.fallbackLocale.value},set fallbackLocale(s){a.fallbackLocale.value=s},get messages(){return a.messages.value},get datetimeFormats(){return a.datetimeFormats.value},get numberFormats(){return a.numberFormats.value},get availableLocales(){return a.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_SUPPORTED_FORMATTER))},get missing(){return a.getMissingHandler()},set missing(s){a.setMissingHandler(s)},get silentTranslationWarn(){return qe(a.missingWarn)?!a.missingWarn:a.missingWarn},set silentTranslationWarn(s){a.missingWarn=qe(s)?!s:s},get silentFallbackWarn(){return qe(a.fallbackWarn)?!a.fallbackWarn:a.fallbackWarn},set silentFallbackWarn(s){a.fallbackWarn=qe(s)?!s:s},get modifiers(){return a.modifiers},get formatFallbackMessages(){return a.fallbackFormat},set formatFallbackMessages(s){a.fallbackFormat=s},get postTranslation(){return a.getPostTranslationHandler()},set postTranslation(s){a.setPostTranslationHandler(s)},get sync(){return a.inheritLocale},set sync(s){a.inheritLocale=s},get warnHtmlInMessage(){return a.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){a.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return a.escapeParameter},set escapeParameterHtml(s){a.escapeParameter=s},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return a.pluralRules||{}},__composer:a,t(...s){const[u,c,d]=s,_={};let g=null,h=null;if(!le(u))throw Vt($e.INVALID_ARGUMENT);const p=u;return le(c)?_.locale=c:pt(c)?g=c:Be(c)&&(h=c),pt(d)?g=d:Be(d)&&(h=d),Reflect.apply(a.t,a,[p,g||h||{},_])},rt(...s){return Reflect.apply(a.rt,a,[...s])},tc(...s){const[u,c,d]=s,_={plural:1};let g=null,h=null;if(!le(u))throw Vt($e.INVALID_ARGUMENT);const p=u;return le(c)?_.locale=c:Nt(c)?_.plural=c:pt(c)?g=c:Be(c)&&(h=c),le(d)?_.locale=d:pt(d)?g=d:Be(d)&&(h=d),Reflect.apply(a.t,a,[p,g||h||{},_])},te(s,u){return a.te(s,u)},tm(s){return a.tm(s)},getLocaleMessage(s){return a.getLocaleMessage(s)},setLocaleMessage(s,u){a.setLocaleMessage(s,u)},mergeLocaleMessage(s,u){a.mergeLocaleMessage(s,u)},d(...s){return Reflect.apply(a.d,a,[...s])},getDateTimeFormat(s){return a.getDateTimeFormat(s)},setDateTimeFormat(s,u){a.setDateTimeFormat(s,u)},mergeDateTimeFormat(s,u){a.mergeDateTimeFormat(s,u)},n(...s){return Reflect.apply(a.n,a,[...s])},getNumberFormat(s){return a.getNumberFormat(s)},setNumberFormat(s,u){a.setNumberFormat(s,u)},mergeNumberFormat(s,u){a.mergeNumberFormat(s,u)},getChoiceIndex(s,u){return process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return r.__extender=i,process.env.NODE_ENV!=="production"&&(r.__enableEmitter=s=>{const u=a;u[Oi]&&u[Oi](s)},r.__disableEmitter=()=>{const s=a;s[wo]&&s[wo]()}),r}}const pd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function LC({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((i,r)=>[...i,...r.type===t.Fragment?r.children:[r]],[]):n.reduce((a,i)=>{const r=e[i];return r&&(a[i]=r()),a},ct())}function Lm(e){return t.Fragment}const Fd=t.defineComponent({name:"i18n-t",props:Zt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Nt(e)||!isNaN(e)}},pd),setup(e,n){const{slots:a,attrs:i}=n,r=e.i18n||kd({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(a).filter(h=>h!=="_"),u=ct();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=le(e.plural)?+e.plural:e.plural);const c=LC(n,s),d=r[dd](e.keypath,c,u),_=Zt(ct(),i),g=le(e.tag)||Xe(e.tag)?e.tag:Lm();return t.h(g,_,d)}}});function zC(e){return pt(e)&&!le(e[0])}function zm(e,n,a,i){const{slots:r,attrs:s}=n;return()=>{const u={part:!0};let c=ct();e.locale&&(u.locale=e.locale),le(e.format)?u.key=e.format:Xe(e.format)&&(le(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((p,F)=>a.includes(F)?Zt(ct(),p,{[F]:e.format[F]}):p,ct()));const d=i(e.value,u,c);let _=[u.key];pt(d)?_=d.map((p,F)=>{const y=r[p.type],A=y?y({[p.type]:p.value,index:F,parts:d}):[p.value];return zC(A)&&(A[0].key=`${p.type}-${F}`),A}):le(d)&&(_=[d]);const g=Zt(ct(),s),h=le(e.tag)||Xe(e.tag)?e.tag:Lm();return t.h(h,g,_)}}const qm=t.defineComponent({name:"i18n-n",props:Zt({value:{type:Number,required:!0},format:{type:[String,Object]}},pd),setup(e,n){const a=e.i18n||kd({useScope:e.scope,__useComponent:!0});return zm(e,n,Dm,(...i)=>a[_d](...i))}}),Pm=t.defineComponent({name:"i18n-d",props:Zt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},pd),setup(e,n){const a=e.i18n||kd({useScope:e.scope,__useComponent:!0});return zm(e,n,ym,(...i)=>a[fd](...i))}});function qC(e,n){const a=e;if(e.mode==="composition")return a.__getInstance(n)||e.global;{const i=a.__getInstance(n);return i!=null?i.__composer:e.global.__composer}}function PC(e){const n=u=>{const{instance:c,modifiers:d,value:_}=u;if(!c||!c.$)throw Vt($e.UNEXPECTED_ERROR);const g=qC(e,c.$);process.env.NODE_ENV!=="production"&&d.preserve&&Ot(ca(Dt.NOT_SUPPORTED_PRESERVE));const h=Vm(_);return[Reflect.apply(g.t,g,[...Um(h)]),g]};return{created:(u,c)=>{const[d,_]=n(c);Za&&e.global===_&&(u.__i18nWatcher=t.watch(_.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=_,u.textContent=d},unmounted:u=>{Za&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:c})=>{if(u.__composer){const d=u.__composer,_=Vm(c);u.textContent=Reflect.apply(d.t,d,[...Um(_)])}},getSSRProps:u=>{const[c]=n(u);return{textContent:c}}}}function Vm(e){if(le(e))return{path:e};if(Be(e)){if(!("path"in e))throw Vt($e.REQUIRED_VALUE,"path");return e}else throw Vt($e.INVALID_VALUE)}function Um(e){const{path:n,locale:a,args:i,choice:r,plural:s}=e,u={},c=i||{};return le(a)&&(u.locale=a),Nt(r)&&(u.plural=r),Nt(s)&&(u.plural=s),[n,c,u]}function VC(e,n,...a){const i=Be(a[0])?a[0]:{},r=!!i.useI18nComponentName,s=qe(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&r&&Ot(ca(Dt.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Fd.name})),s&&([r?"i18n":Fd.name,"I18nT"].forEach(u=>e.component(u,Fd)),[qm.name,"I18nN"].forEach(u=>e.component(u,qm)),[Pm.name,"I18nD"].forEach(u=>e.component(u,Pm))),e.directive("t",PC(n))}const bd={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},UC={["vue-i18n-resource-inspector"]:"Search for scopes ..."},RC={["vue-i18n-timeline"]:16764185},Rm="vue-i18n: composer properties";let yd;async function YC(e,n){return new Promise((a,i)=>{try{BC({id:"vue-devtools-plugin-vue-i18n",label:bd["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Rm],app:e},r=>{yd=r,r.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{HC(u,c,n)}),r.on.inspectComponent(({componentInstance:u,instanceData:c})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&c&&(n.mode==="legacy"?u.vnode.el.__VUE_I18N__!==n.global.__composer&&Hm(c,u.vnode.el.__VUE_I18N__):Hm(c,u.vnode.el.__VUE_I18N__))}),r.addInspector({id:"vue-i18n-resource-inspector",label:bd["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:UC["vue-i18n-resource-inspector"]}),r.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&KC(u,n)});const s=new Map;r.on.getInspectorState(async u=>{if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(r.unhighlightElement(),JC(u,n),u.nodeId==="global"){if(!s.has(u.app)){const[c]=await r.getComponentInstances(u.app);s.set(u.app,c)}r.highlightElement(s.get(u.app))}else{const c=ZC(u.nodeId,n);c&&r.highlightElement(c)}}),r.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&ex(u,n)}),r.addTimelineLayer({id:"vue-i18n-timeline",label:bd["vue-i18n-timeline"],color:RC["vue-i18n-timeline"]}),a(!0)})}catch(r){console.error(r),i(!1)}})}function Ym(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function HC(e,n,a){const i=a.mode==="composition"?a.global:a.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==i){const r={label:`i18n (${Ym(e)} Scope)`,textColor:0,backgroundColor:16764185};n.tags.push(r)}}function Hm(e,n){const a=Rm;e.state.push({type:a,key:"locale",editable:!0,value:n.locale.value}),e.state.push({type:a,key:"availableLocales",editable:!1,value:n.availableLocales}),e.state.push({type:a,key:"fallbackLocale",editable:!0,value:n.fallbackLocale.value}),e.state.push({type:a,key:"inheritLocale",editable:!0,value:n.inheritLocale}),e.state.push({type:a,key:"messages",editable:!1,value:wd(n.messages.value)}),e.state.push({type:a,key:"datetimeFormats",editable:!1,value:n.datetimeFormats.value}),e.state.push({type:a,key:"numberFormats",editable:!1,value:n.numberFormats.value})}function wd(e){const n={};return Object.keys(e).forEach(a=>{const i=e[a];dt(i)&&"source"in i?n[a]=XC(i):Na(i)&&i.loc&&i.loc.source?n[a]=i.loc.source:Xe(i)?n[a]=wd(i):n[a]=i}),n}const GC={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function QC(e){return e.replace(/[<>"&]/g,WC)}function WC(e){return GC[e]||e}function XC(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${QC(e.source)}")`:"(?)"}`}}}function KC(e,n){e.rootNodes.push({id:"global",label:"Global Scope"});const a=n.mode==="composition"?n.global:n.global.__composer;for(const[i,r]of n.__instances){const s=n.mode==="composition"?r:r.__composer;a!==s&&e.rootNodes.push({id:s.id.toString(),label:`${Ym(i)} Scope`})}}function ZC(e,n){let a=null;if(e!=="global"){for(const[i,r]of n.__instances.entries())if(r.id.toString()===e){a=i;break}}return a}function Gm(e,n){if(e==="global")return n.mode==="composition"?n.global:n.global.__composer;{const a=Array.from(n.__instances.values()).find(i=>i.id.toString()===e);return a?n.mode==="composition"?a:a.__composer:null}}function JC(e,n){const a=Gm(e.nodeId,n);return a&&(e.state=$C(a)),null}function $C(e){const n={},a="Locale related info",i=[{type:a,key:"locale",editable:!0,value:e.locale.value},{type:a,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:a,key:"availableLocales",editable:!1,value:e.availableLocales},{type:a,key:"inheritLocale",editable:!0,value:e.inheritLocale}];n[a]=i;const r="Locale messages info",s=[{type:r,key:"messages",editable:!1,value:wd(e.messages.value)}];n[r]=s;{const u="Datetime formats info",c=[{type:u,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];n[u]=c;const d="Datetime formats info",_=[{type:d,key:"numberFormats",editable:!1,value:e.numberFormats.value}];n[d]=_}return n}function Do(e,n){if(yd){let a;n&&"groupId"in n&&(a=n.groupId,delete n.groupId),yd.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:a,time:Date.now(),meta:{},data:n||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function ex(e,n){const a=Gm(e.nodeId,n);if(a){const[i]=e.path;i==="locale"&&le(e.state.value)?a.locale.value=e.state.value:i==="fallbackLocale"&&(le(e.state.value)||pt(e.state.value)||Xe(e.state.value))?a.fallbackLocale.value=e.state.value:i==="inheritLocale"&&qe(e.state.value)&&(a.inheritLocale=e.state.value)}}function tx(e,n,a){return{beforeCreate(){const i=t.getCurrentInstance();if(!i)throw Vt($e.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const s=r.i18n;if(r.__i18n&&(s.__i18n=r.__i18n),s.__root=n,this===this.$root)this.$i18n=Qm(e,s);else{s.__injectWithOption=!0,s.__extender=a.__vueI18nExtend,this.$i18n=md(s);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Qm(e,r);else{this.$i18n=md({__i18n:r.__i18n,__injectWithOption:!0,__extender:a.__vueI18nExtend,__root:n});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&jm(n,r,r),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,u)=>this.$i18n.te(s,u),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),a.__setInstance(i,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const r=this.__v_emitter=Jc();i.__enableEmitter&&i.__enableEmitter(r),r.on("*",Do)}},unmounted(){const i=t.getCurrentInstance();if(!i)throw Vt($e.UNEXPECTED_ERROR);const r=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Do),delete this.__v_emitter),this.$i18n&&(r.__disableEmitter&&r.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),a.__deleteInstance(i),delete this.$i18n}}}function Qm(e,n){e.locale=n.locale||e.locale,e.fallbackLocale=n.fallbackLocale||e.fallbackLocale,e.missing=n.missing||e.missing,e.silentTranslationWarn=n.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=n.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=n.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=n.postTranslation||e.postTranslation,e.warnHtmlInMessage=n.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=n.escapeParameterHtml||e.escapeParameterHtml,e.sync=n.sync||e.sync,e.__composer[Mm](n.pluralizationRules||e.pluralizationRules);const a=el(e.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(a).forEach(i=>e.mergeLocaleMessage(i,a[i])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(i=>e.mergeDateTimeFormat(i,n.datetimeFormats[i])),n.numberFormats&&Object.keys(n.numberFormats).forEach(i=>e.mergeNumberFormat(i,n.numberFormats[i])),e}const ax=Fn("global-vue-i18n");function nx(e={},n){const a=__VUE_I18N_LEGACY_API__&&qe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,i=qe(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&a?!!e.allowComposition:!0,s=new Map,[u,c]=ix(e,a),d=Fn(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&a&&r&&Ot(ca(Dt.NOTICE_DROP_ALLOW_COMPOSITION));function _(p){return s.get(p)||null}function g(p,F){s.set(p,F)}function h(p){s.delete(p)}{const p={get mode(){return __VUE_I18N_LEGACY_API__&&a?"legacy":"composition"},get allowComposition(){return r},async install(F,...y){if(process.env.NODE_ENV!=="production"&&(F.__VUE_I18N__=p),F.__VUE_I18N_SYMBOL__=d,F.provide(F.__VUE_I18N_SYMBOL__,p),Be(y[0])){const B=y[0];p.__composerExtend=B.__composerExtend,p.__vueI18nExtend=B.__vueI18nExtend}let A=null;!a&&i&&(A=_x(F,p.global)),__VUE_I18N_FULL_INSTALL__&&VC(F,p,...y),__VUE_I18N_LEGACY_API__&&a&&F.mixin(tx(c,c.__composer,p));const E=F.unmount;if(F.unmount=()=>{A&&A(),p.dispose(),E()},process.env.NODE_ENV!=="production"){if(!await YC(F,p))throw Vt($e.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const x=Jc();if(a){const k=c;k.__enableEmitter&&k.__enableEmitter(x)}else{const k=c;k[Oi]&&k[Oi](x)}x.on("*",Do)}},get global(){return c},dispose(){u.stop()},__instances:s,__getInstance:_,__setInstance:g,__deleteInstance:h};return p}}function kd(e={}){const n=t.getCurrentInstance();if(n==null)throw Vt($e.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Vt($e.NOT_INSTALLED);const a=rx(n),i=sx(a),r=vm(n),s=ox(e,r);if(__VUE_I18N_LEGACY_API__&&a.mode==="legacy"&&!e.__useComponent){if(!a.allowComposition)throw Vt($e.NOT_AVAILABLE_IN_LEGACY_MODE);return dx(n,s,i,e)}if(s==="global")return jm(i,e,r),i;if(s==="parent"){let d=lx(a,n,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_FOUND_PARENT_SCOPE)),d=i),d}const u=a;let c=u.__getInstance(n);if(c==null){const d=Zt({},e);"__i18n"in r&&(d.__i18n=r.__i18n),i&&(d.__root=i),c=hd(d),u.__composerExtend&&(c[gd]=u.__composerExtend(c)),cx(u,n,c),u.__setInstance(n,c)}return c}function ix(e,n,a){const i=t.effectScope();{const r=__VUE_I18N_LEGACY_API__&&n?i.run(()=>md(e)):i.run(()=>hd(e));if(r==null)throw Vt($e.UNEXPECTED_ERROR);return[i,r]}}function rx(e){{const n=t.inject(e.isCE?ax:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Vt(e.isCE?$e.NOT_INSTALLED_WITH_PROVIDE:$e.UNEXPECTED_ERROR);return n}}function ox(e,n){return Ys(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function sx(e){return e.mode==="composition"?e.global:e.global.__composer}function lx(e,n,a=!1){let i=null;const r=n.root;let s=ux(n,a);for(;s!=null;){const u=e;if(e.mode==="composition")i=u.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const c=u.__getInstance(s);c!=null&&(i=c.__composer,a&&i&&!i[Bm]&&(i=null))}if(i!=null||r===s)break;s=s.parent}return i}function ux(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function cx(e,n,a){let i=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=a,i=Jc();const r=a;r[Oi]&&r[Oi](i),i.on("*",Do)}},n),t.onUnmounted(()=>{const r=a;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(i&&i.off("*",Do),r[wo]&&r[wo](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const s=r[gd];s&&(s(),delete r[gd])},n)}function dx(e,n,a,i={}){const r=n==="local",s=t.shallowRef(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Vt($e.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=qe(i.inheritLocale)?i.inheritLocale:!le(i.locale),c=t.ref(!r||u?a.locale.value:le(i.locale)?i.locale:kr),d=t.ref(!r||u?a.fallbackLocale.value:le(i.fallbackLocale)||pt(i.fallbackLocale)||Be(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:c.value),_=t.ref(el(c.value,i)),g=t.ref(Be(i.datetimeFormats)?i.datetimeFormats:{[c.value]:{}}),h=t.ref(Be(i.numberFormats)?i.numberFormats:{[c.value]:{}}),p=r?a.missingWarn:qe(i.missingWarn)||li(i.missingWarn)?i.missingWarn:!0,F=r?a.fallbackWarn:qe(i.fallbackWarn)||li(i.fallbackWarn)?i.fallbackWarn:!0,y=r?a.fallbackRoot:qe(i.fallbackRoot)?i.fallbackRoot:!0,A=!!i.fallbackFormat,E=dt(i.missing)?i.missing:null,B=dt(i.postTranslation)?i.postTranslation:null,x=r?a.warnHtmlMessage:qe(i.warnHtmlMessage)?i.warnHtmlMessage:!0,k=!!i.escapeParameter,C=r?a.modifiers:Be(i.modifiers)?i.modifiers:{},T=i.pluralRules||r&&a.pluralRules;function S(){return[c.value,d.value,_.value,g.value,h.value]}const z=t.computed({get:()=>s.value?s.value.locale.value:c.value,set:Y=>{s.value&&(s.value.locale.value=Y),c.value=Y}}),O=t.computed({get:()=>s.value?s.value.fallbackLocale.value:d.value,set:Y=>{s.value&&(s.value.fallbackLocale.value=Y),d.value=Y}}),I=t.computed(()=>s.value?s.value.messages.value:_.value),K=t.computed(()=>g.value),oe=t.computed(()=>h.value);function ee(){return s.value?s.value.getPostTranslationHandler():B}function ce(Y){s.value&&s.value.setPostTranslationHandler(Y)}function De(){return s.value?s.value.getMissingHandler():E}function ye(Y){s.value&&s.value.setMissingHandler(Y)}function se(Y){return S(),Y()}function ve(...Y){return s.value?se(()=>Reflect.apply(s.value.t,null,[...Y])):se(()=>"")}function te(...Y){return s.value?Reflect.apply(s.value.rt,null,[...Y]):""}function Re(...Y){return s.value?se(()=>Reflect.apply(s.value.d,null,[...Y])):se(()=>"")}function Mt(...Y){return s.value?se(()=>Reflect.apply(s.value.n,null,[...Y])):se(()=>"")}function st(Y){return s.value?s.value.tm(Y):{}}function Ct(Y,we){return s.value?s.value.te(Y,we):!1}function ft(Y){return s.value?s.value.getLocaleMessage(Y):{}}function ht(Y,we){s.value&&(s.value.setLocaleMessage(Y,we),_.value[Y]=we)}function Bt(Y,we){s.value&&s.value.mergeLocaleMessage(Y,we)}function Q(Y){return s.value?s.value.getDateTimeFormat(Y):{}}function ae(Y,we){s.value&&(s.value.setDateTimeFormat(Y,we),g.value[Y]=we)}function de(Y,we){s.value&&s.value.mergeDateTimeFormat(Y,we)}function re(Y){return s.value?s.value.getNumberFormat(Y):{}}function Z(Y,we){s.value&&(s.value.setNumberFormat(Y,we),h.value[Y]=we)}function je(Y,we){s.value&&s.value.mergeNumberFormat(Y,we)}const Me={get id(){return s.value?s.value.id:-1},locale:z,fallbackLocale:O,messages:I,datetimeFormats:K,numberFormats:oe,get inheritLocale(){return s.value?s.value.inheritLocale:u},set inheritLocale(Y){s.value&&(s.value.inheritLocale=Y)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(_.value)},get modifiers(){return s.value?s.value.modifiers:C},get pluralRules(){return s.value?s.value.pluralRules:T},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:p},set missingWarn(Y){s.value&&(s.value.missingWarn=Y)},get fallbackWarn(){return s.value?s.value.fallbackWarn:F},set fallbackWarn(Y){s.value&&(s.value.missingWarn=Y)},get fallbackRoot(){return s.value?s.value.fallbackRoot:y},set fallbackRoot(Y){s.value&&(s.value.fallbackRoot=Y)},get fallbackFormat(){return s.value?s.value.fallbackFormat:A},set fallbackFormat(Y){s.value&&(s.value.fallbackFormat=Y)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:x},set warnHtmlMessage(Y){s.value&&(s.value.warnHtmlMessage=Y)},get escapeParameter(){return s.value?s.value.escapeParameter:k},set escapeParameter(Y){s.value&&(s.value.escapeParameter=Y)},t:ve,getPostTranslationHandler:ee,setPostTranslationHandler:ce,getMissingHandler:De,setMissingHandler:ye,rt:te,d:Re,n:Mt,tm:st,te:Ct,getLocaleMessage:ft,setLocaleMessage:ht,mergeLocaleMessage:Bt,getDateTimeFormat:Q,setDateTimeFormat:ae,mergeDateTimeFormat:de,getNumberFormat:re,setNumberFormat:Z,mergeNumberFormat:je};function Ke(Y){Y.locale.value=c.value,Y.fallbackLocale.value=d.value,Object.keys(_.value).forEach(we=>{Y.mergeLocaleMessage(we,_.value[we])}),Object.keys(g.value).forEach(we=>{Y.mergeDateTimeFormat(we,g.value[we])}),Object.keys(h.value).forEach(we=>{Y.mergeNumberFormat(we,h.value[we])}),Y.escapeParameter=k,Y.fallbackFormat=A,Y.fallbackRoot=y,Y.fallbackWarn=F,Y.missingWarn=p,Y.warnHtmlMessage=x}return t.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Vt($e.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const Y=s.value=e.proxy.$i18n.__composer;n==="global"?(c.value=Y.locale.value,d.value=Y.fallbackLocale.value,_.value=Y.messages.value,g.value=Y.datetimeFormats.value,h.value=Y.numberFormats.value):r&&Ke(Y)}),Me}const fx=["locale","fallbackLocale","availableLocales"],Wm=["t","rt","d","n","tm","te"];function _x(e,n){const a=Object.create(null);return fx.forEach(r=>{const s=Object.getOwnPropertyDescriptor(n,r);if(!s)throw Vt($e.UNEXPECTED_ERROR);const u=t.isRef(s.value)?{get(){return s.value.value},set(c){s.value.value=c}}:{get(){return s.get&&s.get()}};Object.defineProperty(a,r,u)}),e.config.globalProperties.$i18n=a,Wm.forEach(r=>{const s=Object.getOwnPropertyDescriptor(n,r);if(!s||!s.value)throw Vt($e.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,s)}),()=>{delete e.config.globalProperties.$i18n,Wm.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}if(jC(),__INTLIFY_JIT_COMPILATION__?Jh(mC):Jh(hC),sC(VE),lC(Wh),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=qn();e.__INTLIFY__=!0,KE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const gx={upload_area:{title:{text:"Drag your file here or",highlight:"search it"},invalid:{subtitle:"File not supported, select supported formats:"},subtitle:"Supported formats:"},import_card:{importing:"Importing"},audio_recorder:{discard_button:"Discard"},chat_message:{reply_message:{you:"You",video:"Video",image:"Image",audio:"Audio message"}},chats_contact:{yesterday:"Yesterday"},emoji_picker:{title:"Pick your emoji...",search:"Search",notfound:"No Emoji Found",categories:{search:"Search Results",recent:"Frequently Used",smileys:"Smileys & Emotion",people:"People & Body",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"}},search:"Search",without_results:"No results found"},hx={upload_area:{title:{text:"Arrastra tu archivo aquí o",highlight:"búscalo"},invalid:{subtitle:"Archivo no compatible, seleccione los formatos compatibles:"},subtitle:"Formatos compatibles:"},import_card:{importing:"Importando"},audio_recorder:{discard_button:"Descartar"},chat_message:{reply_message:{you:"Tú",video:"Vídeo",image:"Imagen",audio:"Mensaje de audio"}},chats_contact:{yesterday:"Ayer"},emoji_picker:{title:"Elige tu emoji...",search:"Buscar",notfound:"No se encontró ningún emoji",categories:{search:"Resultados de búsqueda",recent:"Usados frecuentemente",smileys:"Caritas y Emociones",people:"Personas y Cuerpo",nature:"Animales y Naturaleza",foods:"Comidas y Bebidas",activity:"Actividades",places:"Viajes y Lugares",objects:"Objetos",symbols:"Símbolos",flags:"Banderas",custom:"Personalizados"}},search:"Buscar",without_results:"No se encontró ningún resultado"},Xm={upload_area:{title:{text:"Arraste seu arquivo aqui, ou",highlight:"procure-o"},invalid:{subtitle:"Arquivo não compatível, selecione formatos suportados:"},subtitle:"Formatos suportados:"},import_card:{importing:"Importando"},audio_recorder:{discard_button:"Descartar"},chat_message:{reply_message:{you:"Você",video:"Vídeo",image:"Imagem",audio:"Mensagem de áudio"}},chats_contact:{yesterday:"Ontem"},emoji_picker:{title:"Escolha seu emoji...",search:"Buscar",notfound:"Nenhum emoji encontrado",categories:{search:"Resultados da busca",recent:"Usados frequentemente",smileys:"Carinhas & Pessoas",people:"Pessoas e Corpo",nature:"Animais e Natureza",foods:"Comidas e Bebidas",activity:"Atividades",places:"Viagens e Lugares",objects:"Objetos",symbols:"Símbolos",flags:"Bandeiras",custom:"Personalizados"}},search:"Buscar",without_results:"Nenhum resultado encontrado"},mx=Object.assign({en:gx,es:hx,"pt-br":Xm,"pt-BR":Xm}),Li=nx({locale:"en",fallbackLocale:"en",messages:mx}),pte="",px={name:"IconLoading",components:{UnnnicIcon:ue},props:{scheme:{type:String,default:"neutral-dark"},size:{type:String,default:"lg"}}};function Fx(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createBlock(u,{class:"unnnic-icon-loading",icon:"progress_activity",scheme:a.scheme,size:a.size},null,8,["scheme","size"])}const fi=P(px,[["render",Fx],["__scopeId","data-v-97257015"]]),bx=["disabled"],yx=t.defineComponent({name:"UnnnicButton",__name:"Button",props:{size:{default:"large"},text:{default:""},type:{default:"primary"},float:{type:Boolean,default:!1},iconLeft:{default:""},iconRight:{default:""},iconCenter:{default:""},iconsFilled:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},setup(e){const n=e,a=t.useSlots(),i=t.computed(()=>n.disabled||n.loading),r=t.computed(()=>n.size==="extra-large"?"lg":"ant"),s=t.computed(()=>a.default?!0:n.text&&n.text.length>0),u=t.computed(()=>i.value?"neutral-clean":{primary:"neutral-white",secondary:"neutral-dark",tertiary:"neutral-dark",warning:"neutral-white",attention:"neutral-white"}[d.value]||"neutral-white"),c=t.computed(()=>n.size==="large"||!n.float&&n.size==="small"||n.float&&n.size==="extra-large"),d=t.computed(()=>({alternative:"tertiary"})[n.type]||n.type),_=t.computed(()=>["primary","secondary","tertiary","warning","attention"].includes(d.value)),g=()=>{if(!c.value||!_.value){let h="TypeError:";throw c.value||(h+=" Invalid size prop.",h+=" Please provide 'large', 'small' (only if float prop is false), or 'extra-large' (only if float prop is true)."),_.value||(h+=" Invalid type prop.",h+=" Please provide one of the following types: primary, secondary, tertiary, warning, attention. Alternative is discontinued and it was forced renamed to tertiary."),new Error(h)}};return t.watch(()=>n,()=>{g()},{deep:!0,immediate:!0}),(h,p)=>(t.openBlock(),t.createElementBlock("button",t.mergeProps(h.$attrs,{disabled:i.value,class:["unnnic-button",`unnnic-button--size-${h.size}`,`unnnic-button--${d.value}`,h.iconCenter?"unnnic-button--icon-on-center":null,h.float?"unnnic-button--float":null]}),[h.loading?(t.openBlock(),t.createBlock(fi,{key:0,scheme:u.value,size:r.value,style:{position:"absolute"},"data-testid":"icon-loading"},null,8,["scheme","size"])):t.createCommentVNode("",!0),h.iconLeft?(t.openBlock(),t.createBlock(ue,{key:1,icon:h.iconLeft,scheme:u.value,size:r.value,filled:h.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-left":s.value}),style:t.normalizeStyle({visibility:h.loading?"hidden":"visible"}),clickable:"","data-testid":"icon-left"},null,8,["icon","scheme","size","filled","class","style"])):t.createCommentVNode("",!0),h.iconCenter?(t.openBlock(),t.createBlock(ue,{key:2,icon:h.iconCenter,scheme:u.value,style:t.normalizeStyle({visibility:h.loading?"hidden":"visible"}),size:r.value,filled:h.iconsFilled,clickable:"","data-testid":"icon-center"},null,8,["icon","scheme","style","size","filled"])):t.createCommentVNode("",!0),h.float?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:3,class:"unnnic-button__label",style:t.normalizeStyle({visibility:h.loading?"hidden":"visible"}),"data-testid":"button-label"},[t.renderSlot(h.$slots,"default",{},void 0,!0),t.createTextVNode(" "+t.toDisplayString(h.text),1)],4)),h.iconRight?(t.openBlock(),t.createBlock(ue,{key:4,icon:h.iconRight,scheme:u.value,size:r.value,filled:h.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-right":s.value}),style:t.normalizeStyle({visibility:h.loading?"hidden":"visible"}),clickable:"","data-testid":"icon-right"},null,8,["icon","scheme","size","filled","class","style"])):t.createCommentVNode("",!0)],16,bx))}}),Fte="",bte="",yte="",gt=P(yx,[["__scopeId","data-v-aadba593"]]),wx={class:"month-container","data-testid":"date-picker-month-container"},kx=["onClick"],Dx={class:"month-container","data-testid":"date-picker-month-container"},Ax=["onClick"],Ex={class:"month-container","data-testid":"date-picker-month-container"},Cx=["onClick"],xx={key:3,class:"options-container","data-testid":"date-picker-options"},Mx={key:0,class:"options"},Bx=["onClick"],vx={class:"actions"},jx=t.defineComponent({name:"UnnnicDatePicker",__name:"DatePicker",props:{initialStartDate:{default:""},initialEndDate:{default:""},minDate:{default:""},maxDate:{default:""},periodBaseDate:{default:""},equivalentOption:{default:""},type:{default:"day"},size:{default:"large"},clearLabel:{default:""},actionLabel:{default:""},months:{default:()=>[]},days:{default:()=>[]},options:{default:()=>[]},disableClear:{type:Boolean,default:!1},hideOptions:{type:Boolean,default:!1},locale:{default:void 0},translations:{default:void 0},variant:{default:"card"}},emits:["change","submit","update:equivalentOption"],setup(e,{expose:n,emit:a}){t.useCssVars(Q=>({"27a81f66":k.value}));const i=e,r=a,s=new Date,u=t.ref(`${s.getMonth()+1} 1 ${s.getFullYear()}`),c=t.ref((i.initialStartDate||"").replace(/-/g," ")),d=t.ref((i.initialEndDate||"").replace(/-/g," ")),_=t.ref(""),g={clean:{"pt-br":"Limpar",en:"Clean",es:"Limpiar"},filter:{"pt-br":"Filtrar",en:"Filter",es:"Filtrar"}},h=t.getCurrentInstance(),p=t.computed(()=>{var de,re;const ae=((re=(de=h==null?void 0:h.proxy)==null?void 0:de.$i18n)==null?void 0:re.locale)||"en-us";return String(ae).toLowerCase()}),F=t.computed(()=>{const Q=i.months||[];return Q.length?Q:IA[p.value]}),y=t.computed(()=>{const Q=i.days||[];return Q.length?Q:OA[p.value]}),A=t.computed(()=>{const Q=i.options||[];return Q.length?Q:LA[p.value]}),E=t.computed(()=>i.clearLabel||Rs[p.value].clear),B=t.computed(()=>i.actionLabel||Rs[p.value].filter),x=t.computed(()=>({startDate:c.value.replaceAll(" ","-"),endDate:d.value.replaceAll(" ","-")})),k=t.computed(()=>i.hideOptions?"column-reverse":"column");n({i18n:(...Q)=>{const[ae,de]=Q,re=Object.keys(Li.global.messages||{});let Z=i.locale;const je=Kt.get(Li,"global.locale")==="en-us"?"en":Kt.get(Li,"global.locale");Z=Z&&re.includes(Z)?Z:je,Z=Z==null?void 0:Z.toLowerCase();let Me=Kt.get(i.translations,`${ae}.${Z}`,Kt.get(i.translations,ae));if(Me||(Me=Kt.get(g,`${ae}.${Z}`,Kt.get(g,ae,de))),Me!=null&&Me.includes("|")&&typeof Q[1]=="number"){const Y=Q[1],we=Me.split("|");we.length===3?Me=we[Y]||we[2]:we.length===2&&(Me=Y===1?we[0]:we[1])}let Ke={};return Object.values(Q).slice(1).forEach(Y=>{!(Y instanceof Array)&&Y instanceof Object&&(Ke=Y)}),Object.keys(Ke).forEach(Y=>{Me=Me==null?void 0:Me.replaceAll(new RegExp(`{ *${Y} *}`,"g"),Ke[Y])}),Me},startDate:c,endDate:d,optionSelected:_,referenceDate:u,autoSelect:Ct,dateToString:T,getStartAndEndDateByPeriod:st,getDatesOfTheMonth:se});function T(Q){return`${Q.getMonth()+1} ${Q.getDate()} ${Q.getFullYear()}`}function S(Q){return`${Q.getMonth()+1} ${Q.getFullYear()}`}function z(Q){return Q.getFullYear()}function O(Q){const[ae,de,re]=Q.split(" ");return new Date(Number(re),Number(ae)-1,Number(de)).getTime()}function I(Q){return Q.toString().split(" ")[1]}function K(Q){return Number(Q.toString().split(" ")[0])}function oe(Q){const[ae,de,re]=Q.split(" ");return new Date(Number(re),Number(ae)-1,Number(de)).getFullYear()}function ee(Q,ae){const[de,re,Z]=Q.split(" "),je=new Date(Number(Z),Number(de)-1,Number(re));return je.setMonth(je.getMonth()+ae),T(je)}function ce(Q){if(c.value&&d.value){if(Q>=O(c.value)&&Q<=O(d.value))return!0}else{if(c.value&&Q>=O(c.value))return!0;if(d.value&&Q<=O(d.value))return!0}return!1}function De(Q){if(c.value&&d.value){const ae=O(c.value),de=O(d.value);return Q>=ae&&Q<=de}if(c.value){const ae=O(c.value);return Q>=ae}if(d.value){const ae=O(d.value);return Q<=ae}return!1}function ye(Q){if(c.value&&d.value){const ae=O(c.value),de=O(d.value);return Q>=ae&&Q<=de}if(c.value){const ae=O(c.value);return Q>=ae}if(d.value){const ae=O(d.value);return Q<=ae}return!1}function se(Q){const[ae,de,re]=Q.split(" "),Z=new Date(Number(re),Number(ae)-1,Number(de)),je=Z.getMonth(),Me=86400;Z.setDate(1-Z.getDay());const Ke=[];for(let Y=0;Y<6*7;Y+=1){const we=T(Z),rt=[];if(i.minDate){const[et,me,Pe]=i.minDate.split("-"),v=new Date(Number(et),Number(me)-1,Number(Pe));Z<v&&rt.push("out of range")}if(i.maxDate){const[et,me,Pe]=i.maxDate.split("-"),v=new Date(Number(et),Number(me)-1,Number(Pe));Z>v&&rt.push("out of range")}if(je===Z.getMonth()){rt.push("inside month");const et=O(T(Z)),me=et-Me,Pe=et+Me;ce(et)&&(rt.push("selected"),ce(me)||rt.push("left-highlighted"),ce(Pe)||rt.push("right-highlighted"),(rt.includes("left-highlighted")||rt.includes("right-highlighted"))&&rt.push("highlighted"))}T(Z)===T(new Date)&&rt.push("today"),Ke.push({properties:rt,toString:()=>we}),Z.setDate(Z.getDate()+1)}return Ke}function ve(Q){const[ae,de,re]=Q.split(" "),Z=new Date(Number(re),Number(ae)-1,Number(de));Z.setMonth(0);const je=[];for(let Me=0;Me<3*4;Me+=1){const Ke=T(Z),Y=[];Y.push("inside month");const we=O(T(Z)),rt=new Date(we),et=new Date(we);rt.setMonth(rt.getMonth()-1),et.setMonth(et.getMonth()+1);const me=rt.getTime(),Pe=et.getTime();De(we)&&(Y.push("selected"),De(me)||Y.push("left-highlighted"),De(Pe)||Y.push("right-highlighted"),(Y.includes("left-highlighted")||Y.includes("right-highlighted"))&&Y.push("highlighted")),S(Z)===S(new Date)&&Y.push("today"),je.push({properties:Y,date:Ke,toString:()=>Ke}),Z.setMonth(Z.getMonth()+1)}return je}function te(Q){const[ae,de,re]=Q.split(" "),Z=new Date(Number(re),Number(ae)-1,Number(de));Z.setMonth(0);const je=[];for(let Me=0;Me<3*4;Me+=1){const Ke=T(Z),Y=[];Y.push("inside month");const we=O(T(Z)),[rt,et,me]=Q.split(" "),Pe=new Date(Number(me),Number(rt)-1,Number(et)),v=new Date(Number(me),Number(rt)-1,Number(et));Pe.setMonth(Pe.getMonth()-12),v.setMonth(v.getMonth()+12);const N=Pe.getTime(),H=v.getTime();ye(we)&&(Y.push("selected"),ye(N)||Y.push("left-highlighted"),ye(H)||Y.push("right-highlighted"),(Y.includes("left-highlighted")||Y.includes("right-highlighted"))&&Y.push("highlighted")),z(Z)===z(new Date)&&Y.push("today"),je.push({properties:Y,date:Z.getFullYear(),toString:()=>Ke}),Z.setFullYear(Z.getFullYear()+1)}return je}function Re(Q){if(!c.value||!d.value)c.value=Q.toString(),d.value=c.value;else{const ae=O(Q.toString()),de=O(c.value),re=O(d.value);de!==re?(c.value=Q.toString(),d.value=c.value):ae>re?d.value=Q.toString():ae<de?c.value=Q.toString():ae===de||ae===re?(c.value=Q.toString(),d.value=c.value):ae-de<re-ae?c.value=Q.toString():d.value=Q.toString()}}function Mt(){c.value="",d.value="",_.value=""}function st(Q){let ae,de,re;if(i.periodBaseDate){const Ke=i.periodBaseDate.split("-");if(Ke.length===3){const[Y,we,rt]=Ke;re=new Date(Number(Y),Number(we)-1,Number(rt))}else{const Y=new Date(i.periodBaseDate);re=Number.isNaN(Y.getTime())?new Date:Y}}else re=new Date;const Z=new Date(re.getTime()),je=Q.match(/^last-(\d+)-days$/),Me=Q.match(/^last-(\d+)-months$/);if(je){const Ke=Number(je[1]);de=T(Z),Z.setDate(Z.getDate()-Ke+1),ae=T(Z)}else if(Me){const Ke=Number(Me[1]);de=T(Z),Z.setDate(Z.getDate()+1),Z.setMonth(Z.getMonth()-Ke),ae=T(Z)}else if(Q==="current-month"){const Ke=re.getDate();Z.setDate(1),ae=T(Z),Z.setDate(Ke),de=T(Z)}else Q==="previous-month"&&(Z.setDate(1),Z.setMonth(Z.getMonth()-1),ae=T(Z),Z.setMonth(Z.getMonth()+1),Z.setDate(0),de=T(Z));return{startDate:ae,endDate:de}}function Ct(Q){const{startDate:ae,endDate:de}=st(Q);if(c.value=ae||"",d.value=de||"",d.value){const re=ee(u.value,1),Z=`${Number(K({toString:()=>d.value}))} 1 ${oe(d.value)}`;[u.value,re].includes(Z)||(u.value=Z)}t.nextTick(()=>{_.value=Q})}function ft(){if(r("submit",x.value),_.value==="custom")r("update:equivalentOption","");else{const Q=A.value.find(({id:ae})=>ae===_.value);r("update:equivalentOption",(Q==null?void 0:Q.name)||"")}}function ht(){const{startDate:Q,endDate:ae}=x.value,de=(Z,je)=>!Z||!je?!1:new Date(Z).getTime()===new Date(je).getTime(),re=A.value.find(({id:Z})=>{const{startDate:je,endDate:Me}=st(Z);return de(Q,je)&&de(ae,Me)});_.value=Q||ae?re?re.id:"custom":""}const Bt=t.computed(()=>[ee(u.value,-1),u.value]);return t.watch(x,Q=>{ht(),r("change",Q)}),t.onMounted(()=>{ht()}),(Q,ae)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-date-picker",`unnnic-date-picker--${i.variant}`]),"data-testid":"date-picker-root"},[Q.type==="day"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(Bt.value,(de,re)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:de},[t.createElementVNode("div",wx,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${Q.size}`])},[t.createVNode(gt,{size:"small",iconCenter:`keyboard_arrow_${re===0?"left":"right"}`,type:Q.size==="large"?"secondary":"tertiary",class:"button-space",style:t.normalizeStyle({gridArea:`${re===0?"left":"right"}-button`}),"data-testid":`date-picker-nav-${re===0?"left":"right"}`,onClick:t.withModifiers(Z=>u.value=ee(u.value,re===0?-1:1),["stop"])},null,8,["iconCenter","type","style","data-testid","onClick"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${Q.size}`])},t.toDisplayString(F.value[Number(K(de))-1])+" "+t.toDisplayString(oe(de)),3)],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`days--${Q.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(y.value,(Z,je)=>(t.openBlock(),t.createElementBlock("div",{key:je,class:"name"},t.toDisplayString(Z),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(se(de),(Z,je)=>(t.openBlock(),t.createElementBlock("div",{key:`${de}-${je}`,class:t.normalizeClass({disabled:!Z.properties.includes("inside month")||Z.properties.includes("out of range"),selectable:Z.properties.includes("inside month")&&!Z.properties.includes("out of range"),today:Z.properties.includes("today"),selected:Z.properties.includes("selected"),highlighted:Z.properties.includes("highlighted"),left:Z.properties.includes("left-highlighted"),right:Z.properties.includes("right-highlighted")}),"data-testid":"date-picker-day",onClick:Me=>Z.properties.includes("inside month")&&!Z.properties.includes("out of range")&&Re(Z)},t.toDisplayString(I(Z)),11,kx))),128))],2)]),ae[4]||(ae[4]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):Q.type==="month"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList([u.value],de=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:de},[t.createElementVNode("div",Dx,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${Q.size}`])},[t.createVNode(gt,{size:"small",iconCenter:"keyboard_arrow_left",type:Q.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},"data-testid":"date-picker-month-nav-left",onClick:ae[0]||(ae[0]=re=>u.value=ee(u.value,-12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${Q.size}`])},t.toDisplayString(oe(de)),3),t.createVNode(gt,{size:"small",iconCenter:"keyboard_arrow_right",type:Q.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},"data-testid":"date-picker-month-nav-right",onClick:ae[1]||(ae[1]=re=>u.value=ee(u.value,12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${Q.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ve(de),(re,Z)=>(t.openBlock(),t.createElementBlock("div",{key:`${de}-${Z}`,class:t.normalizeClass({disabled:!re.properties.includes("inside month"),selectable:re.properties.includes("inside month"),today:re.properties.includes("today"),selected:re.properties.includes("selected"),highlighted:re.properties.includes("highlighted"),left:re.properties.includes("left-highlighted"),right:re.properties.includes("right-highlighted")}),"data-testid":"date-picker-month-cell",onClick:je=>re.properties.includes("inside month")&&Re(re)},t.toDisplayString(F.value[K(re)-1].substr(0,3)),11,Ax))),128))],2)]),ae[5]||(ae[5]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):Q.type==="year"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList([u.value],de=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:de},[t.createElementVNode("div",Ex,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${Q.size}`])},[t.createVNode(gt,{size:"small",iconCenter:"arrow-left-1-1",type:Q.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},"data-testid":"date-picker-year-nav-left",onClick:ae[2]||(ae[2]=re=>u.value=ee(u.value,-12*12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${Q.size}`])},t.toDisplayString(oe(de)),3),t.createVNode(gt,{size:"small",iconCenter:"arrow-right-1-1",type:Q.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},"data-testid":"date-picker-year-nav-right",onClick:ae[3]||(ae[3]=re=>u.value=ee(u.value,12*12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${Q.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(te(de),(re,Z)=>(t.openBlock(),t.createElementBlock("div",{key:`${de}-${Z}`,class:t.normalizeClass({disabled:!re.properties.includes("inside month"),selectable:re.properties.includes("inside month"),today:re.properties.includes("today"),selected:re.properties.includes("selected"),highlighted:re.properties.includes("highlighted"),left:re.properties.includes("left-highlighted"),right:re.properties.includes("right-highlighted")}),"data-testid":"date-picker-year-cell",onClick:je=>re.properties.includes("inside month")&&Re(re)},t.toDisplayString(re.date),11,Cx))),128))],2)]),ae[6]||(ae[6]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):t.createCommentVNode("",!0),Q.size!=="small"?(t.openBlock(),t.createElementBlock("div",xx,[Q.hideOptions?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Mx,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(A.value,(de,re)=>(t.openBlock(),t.createElementBlock("div",{key:re,class:t.normalizeClass(["option",{selectable:de.id!=="custom",selected:_.value===de.id}]),"data-testid":"date-picker-option",onClick:Z=>de.id==="custom"?null:Ct(de.id)},t.toDisplayString(de.name),11,Bx))),128))])),t.createElementVNode("div",vx,[Q.disableClear?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(gt,{key:0,size:"small",text:E.value,type:"tertiary","data-testid":"date-picker-clear",onClick:Mt},null,8,["text"])),t.createVNode(gt,{size:"small",text:B.value,type:"secondary","data-testid":"date-picker-submit",onClick:ft},null,8,["text"])])])):t.createCommentVNode("",!0)],2))}}),wte="",tl=P(jx,[["__scopeId","data-v-25397fc1"]]),Er=t.defineComponent({name:"UnnnicPopover",__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:n}){const r=ma(e,n);return(s,u)=>(t.openBlock(),t.createBlock(t.unref(_y),t.normalizeProps(t.guardReactiveProps(t.unref(r))),{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},16))}}),Cr=t.defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},sideFlip:{type:Boolean},align:{default:"center"},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{default:""},size:{default:"medium"},width:{default:""}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:n}){const a=e,i=n,r=ba(a,"class","size"),s=ma(r,i),u=t.useSlots(),c=sr(),d=gs(),_=F=>{const y=F.type;return(y==null?void 0:y.name)||(y==null?void 0:y.__name)},g=t.computed(()=>{var y;return(((y=u.default)==null?void 0:y.call(u))||[]).filter(A=>_(A)!=="UnnnicPopoverFooter")}),h=t.computed(()=>{var y;return(((y=u.default)==null?void 0:y.call(u))||[]).filter(A=>_(A)==="UnnnicPopoverFooter")}),p=t.computed(()=>a.width?a.width:{small:"240px",medium:"320px",large:"400px"}[a.size]);return(F,y)=>(t.openBlock(),t.createBlock(t.unref(ky),{to:t.unref(d)},{default:t.withCtx(()=>[t.createVNode(t.unref(yy),t.mergeProps({...t.unref(s),...F.$attrs},{style:{width:p.value,zIndex:t.unref(c)},class:t.unref(Xt)("unnnic-popover","bg-popover text-popover-foreground outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2")}),{default:t.withCtx(()=>[t.createElementVNode("section",{class:t.normalizeClass(`unnnic-popover__content ${a.class||""}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.value,(A,E)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(A),{key:E}))),128))],2),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.value,(A,E)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(A),{key:E}))),128))]),_:1},16,["style","class"])]),_:1},8,["to"]))}}),kte="",Nx={class:"unnnic-popover__footer"},Dd=t.defineComponent({name:"UnnnicPopoverFooter",__name:"PopoverFooter",setup(e){return(n,a)=>(t.openBlock(),t.createElementBlock("footer",Nx,[t.renderSlot(n.$slots,"default")]))}}),Dte="",Tx=t.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const n=e;return(a,i)=>(t.openBlock(),t.createBlock(t.unref(Ay),t.mergeProps(n,{class:"unnnic-popover-trigger"}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default",{},void 0,!0)]),_:3},16))}}),Ate="",xr=P(Tx,[["__scopeId","data-v-df136255"]]),Sx=t.defineComponent({name:"UnnnicPopoverOption",__name:"PopoverOption",props:{label:{},disabled:{type:Boolean,default:!1},active:{type:Boolean,default:!1},focused:{type:Boolean,default:!1},scheme:{default:"fg-emphasized"},icon:{default:""}},setup(e){const n=e,a=t.computed(()=>n.active?"fg-inverted":n.disabled?"fg-muted":n.scheme);return(i,r)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-popover-option",{"unnnic-popover-option--disabled":n.disabled,"unnnic-popover-option--active":n.active,"unnnic-popover-option--focused":n.focused}])},[n.icon?(t.openBlock(),t.createBlock(ue,{key:0,icon:n.icon,scheme:a.value,size:"ant"},null,8,["icon","scheme"])):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass(["unnnic-popover-option__label",`unnnic-popover-option__label--${a.value}`,`unnnic-popover-option--disabled: ${n.disabled}`])},t.toDisplayString(n.label),3)],2))}}),Ete="",al=P(Sx,[["__scopeId","data-v-e9cee27e"]]),Ix=t.defineComponent({name:"UnnnicInputDatePicker",__name:"InputDatePicker",props:{modelValue:{},iconPosition:{default:"left"},minDate:{default:""},maxDate:{default:""},fillW:{type:Boolean,default:!1},type:{default:"day"},size:{default:"md"},clearText:{default:"Clear"},actionText:{default:"Filter"},months:{default:()=>[]},days:{default:()=>[]},options:{default:()=>[]},next:{type:Boolean,default:!1},format:{default:"YYYY-MM-DD"},inputFormat:{default:"MM-DD-YYYY"},position:{default:"left"},disableClear:{type:Boolean,default:!1},hideOptions:{type:Boolean,default:!1},periodBaseDate:{default:""},disabled:{type:Boolean,default:!1}},emits:["update:model-value","selectDate"],setup(e,{emit:n}){const a=e,i=n,r=t.ref(!1),s=t.ref(""),u=t.computed(()=>a.position==="right"?"end":"start"),c=t.computed(()=>{const F=[],{start:y,end:A}=a.modelValue||{};return y&&F.push(ie(y,a.format).format(a.inputFormat||"")),A&&F.push(ie(A,a.format).format(a.inputFormat||"")),F.length?F.join(" ~ "):String(a.inputFormat||"").replaceAll("-","/").toLowerCase()}),d=t.computed(()=>a.modelValue.start?ie(a.modelValue.start,a.format).format("MM DD YYYY"):void 0),_=t.computed(()=>a.modelValue.end?ie(a.modelValue.end,a.format).format("MM DD YYYY"):void 0);function g(F){const{startDate:y,endDate:A}=F,E={start:ie(y,"MM-DD-YYYY").format(a.format),end:ie(A,"MM-DD-YYYY").format(a.format)};i("selectDate",E)}function h(F){const y=F.startDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2"),A=F.endDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2");r.value=!1,i("update:model-value",{start:y?ie(y,"YYYY-MM-DD").format(a.format):null,end:A?ie(A,"YYYY-MM-DD").format(a.format):null})}function p(){r.value=!0}return(F,y)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["dropdown",{"fill-w":F.fillW}])},[t.createVNode(t.unref(Er),{open:r.value,"onUpdate:open":y[1]||(y[1]=A=>r.value=A)},{default:t.withCtx(()=>[t.createVNode(t.unref(xr),{asChild:!0},{default:t.withCtx(()=>[t.createVNode(_n,{"data-testid":"input",class:t.normalizeClass(["input",{"date-picker-input-next":F.next}]),size:F.size,iconLeft:F.iconPosition==="left"?"calendar_month":void 0,iconRight:F.iconPosition==="right"?"calendar_month":void 0,readonly:"",modelValue:s.value||c.value||"",disabled:F.disabled,onClick:p,onFocus:p},null,8,["class","size","iconLeft","iconRight","modelValue","disabled"])]),_:1}),t.createVNode(t.unref(Cr),{width:"auto",side:"bottom",align:u.value,class:"date-picker-popover-content"},{default:t.withCtx(()=>[t.createVNode(tl,{equivalentOption:s.value,"onUpdate:equivalentOption":y[0]||(y[0]=A=>s.value=A),"data-testid":"date-picker",variant:"popover",type:F.type,clearLabel:F.clearText,actionLabel:F.actionText,months:F.months,days:F.days,options:F.options,periodBaseDate:F.periodBaseDate,initialStartDate:d.value,initialEndDate:_.value,minDate:F.minDate,maxDate:F.maxDate,disableClear:F.disableClear,hideOptions:F.hideOptions,onChange:g,onSubmit:h},null,8,["equivalentOption","type","clearLabel","actionLabel","months","days","options","periodBaseDate","initialStartDate","initialEndDate","minDate","maxDate","disableClear","hideOptions"])]),_:1},8,["align"])]),_:1},8,["open"])],2))}}),Cte="",xte="",Ad=P(Ix,[["__scopeId","data-v-9dc506c3"]]),Mte="",Ox={components:{UnnnicIcon:ue},props:{type:{type:String,default:"secondary"},size:{type:String,required:!0,validator(e){return["small","large"].includes(e)}},icon:{type:String,required:!0}},computed:{iconScheme(){return this.type==="primary"?"neutral-snow":"neutral-darkest"}}};function Lx(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("button",t.mergeProps({class:["button-icon",a.size,a.type]},e.$attrs),[t.createVNode(u,{icon:a.icon,scheme:s.iconScheme,size:"ant"},null,8,["icon","scheme"])],16)}const Ed=P(Ox,[["render",Lx],["__scopeId","data-v-46ae4cf4"]]),Cd=e=>{const{label:n,children:a}=e;if(!!!n.trim())throw new Error('Each item in "items" must have "label".');return a&&Array.isArray(a)&&a.forEach(Cd),!0},zx=e=>{if(!(e!=null&&e[0]))throw new Error("Items property cannot be an empty array.");return e.forEach(Cd),!0},Bte="",qx=["title"],Px={key:0,class:"unnnic-sidebar-item-children"},Vx=["onClick"],Ux=["title"],nl=P(Object.assign({name:"UnnnicSidebarItem"},{props:{item:{type:Object,required:!0,validator:Cd},active:{type:Object,default:()=>({item:!1,childIndex:null})},autoNavigateFirstChild:{type:Boolean,default:!1}},emits:["navigate"],setup(e,{emit:n}){const a=e;t.onMounted(()=>{const{childIndex:g,item:h}=a.active;typeof g=="number"&&g>=0&&h&&s()});const i=t.computed(()=>{var g;return!!((g=a.item.children)!=null&&g.length)}),r=t.ref(!1),s=()=>{r.value=!r.value,r.value&&a.autoNavigateFirstChild&&_("navigate",{item:a.item,child:a.item.children[0]})},u=g=>{const{item:h,childIndex:p}=a.active;return typeof p!="number"?h:h&&p===g},c=()=>{i.value?s():d()},d=()=>{a.active.item||_("navigate",{item:a.item,child:null})},_=n;return(g,h)=>{var p;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("section",{"data-testid":"sidebar-item",class:t.normalizeClass({"unnnic-sidebar-item":!0,active:e.active.item}),onClick:t.withModifiers(c,["stop"])},[e.item.icon?(t.openBlock(),t.createBlock(ue,{key:0,class:"unnnic-sidebar-item__icon",icon:e.item.icon,size:"ant",scheme:e.active.item?"weni-600":"neutral-cloudy","data-testid":"item-icon"},null,8,["icon","scheme"])):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass({"unnnic-sidebar-item__label":!0,active:e.active.item}),title:e.item.label},t.toDisplayString(e.item.label),11,qx),(p=e.item.children)!=null&&p.length?(t.openBlock(),t.createBlock(ue,{key:1,class:"unnnic-sidebar-item__arrow",icon:r.value?"keyboard_arrow_up":"keyboard_arrow_down",size:"ant",scheme:"neutral-cloudy","data-testid":"arrow-icon"},null,8,["icon"])):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:"slide-fade"},{default:t.withCtx(()=>[r.value?(t.openBlock(),t.createElementBlock("ul",Px,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.item.children,(F,y)=>(t.openBlock(),t.createElementBlock("li",{key:F,class:t.normalizeClass({"unnnic-sidebar-item-child":!0,active:u(y)}),"data-testid":"sidebar-item-child",onClick:t.withModifiers(A=>!u(y)&&_("navigate",{item:e.item,child:F}),["stop"])},[F.icon?(t.openBlock(),t.createBlock(ue,{key:0,class:"unnnic-sidebar-item-child__icon",icon:F.icon,size:"ant",scheme:u(y)?"weni-600":"neutral-cloudy"},null,8,["icon","scheme"])):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass({"unnnic-sidebar-item-child__label":!0,active:u(y)}),title:F.label},t.toDisplayString(F.label),11,Ux)],10,Vx))),128))])):t.createCommentVNode("",!0)]),_:1})],64)}}}),[["__scopeId","data-v-418b1f69"]]),Nte="",Rx={class:"unnnic-sidebar-items"},xd=P(Object.assign({name:"UnnnicSidebar"},{props:{position:{type:String,default:"left",validator(e){return["left","right"].includes(e)}},width:{type:String,default:"200px",validator(e){const n=/^\d+(\.\d+)?px$/,a=/^\d+(\.\d+)?%$/;return n.test(e)||a.test(e)}},items:{type:Array,required:!0,validator:zx},active:{type:Object,default:()=>({itemIndex:null,childIndex:null})},autoNavigateFirstChild:{type:Boolean,default:!1}},emits:["navigate"],setup(e,{emit:n}){t.useCssVars(s=>({"6c03e4b5":a.width}));const a=e,i=n,r=({item:s,child:u})=>{i("navigate",{item:s,child:u})};return(s,u)=>(t.openBlock(),t.createElementBlock("nav",{class:t.normalizeClass(["unnnic-sidebar",`unnnic-sidebar--${e.position}`])},[t.renderSlot(s.$slots,"top",{class:"unnnic-sidebar-top"},void 0,!0),t.createElementVNode("ul",Rx,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(c,d)=>(t.openBlock(),t.createElementBlock("li",{key:c},[t.createVNode(nl,{item:c,active:{item:e.active.itemIndex===d,childIndex:e.active.childIndex},autoNavigateFirstChild:e.autoNavigateFirstChild,"data-testid":"sidebar-item",onNavigate:u[0]||(u[0]=_=>r(_))},null,8,["item","active","autoNavigateFirstChild"])]))),128))]),t.renderSlot(s.$slots,"bottom",{class:"unnnic-sidebar-bottom"},void 0,!0)],2))}}),[["__scopeId","data-v-7bdf478e"]]),Ite="",Yx={name:"UnnnicTable",components:{},props:{items:{type:Array}},data(){return{value:!1}},computed:{}},Hx={class:"unnnic-table"},Gx={class:"header"},Qx={class:"scroll"};function Wx(e,n,a,i,r,s){return t.withDirectives((t.openBlock(),t.createElementBlock("div",Hx,[t.createElementVNode("div",Gx,[t.renderSlot(e.$slots,"header",{},void 0,!0)]),n[0]||(n[0]=t.createElementVNode("div",null,[t.createElementVNode("div",{class:"item-spacer"})],-1)),t.createElementVNode("div",Qx,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.items,(u,c)=>(t.openBlock(),t.createElementBlock("div",{key:c,class:"item"},[t.renderSlot(e.$slots,"item",{item:u},void 0,!0)]))),128))])],512)),[[t.vShow,!0]])}const Md=P(Yx,[["render",Wx],["__scopeId","data-v-b2229274"]]),Ote="",Lte="",Xx={name:"UnnnicTableRow",props:{headers:{type:Array}},data(){return{}}},Kx={class:"table-row"},Zx={class:"break-text"};function Jx(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("div",Kx,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.headers,(u,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:u.id},[t.createElementVNode("div",{class:"col",style:t.normalizeStyle({width:u.width,flex:u.flex,minWidth:0})},[t.renderSlot(e.$slots,u.id,{},()=>[t.createElementVNode("div",Zx,t.toDisplayString(u.text),1)],!0)],4),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["divider",{condensed:u.condensed}])},null,2),[[t.vShow,c+1!==a.headers.length]])],64))),128))])}const Bd=P(Xx,[["render",Jx],["__scopeId","data-v-cb0c6b93"]]);function Km(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Ao(e){return typeof e=="function"?e():t.unref(e)}const Zm=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $x=Object.prototype.toString,eM=e=>$x.call(e)==="[object Object]",Eo=()=>{},vd=tM();function tM(){var e,n;return Zm&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const Jm={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function aM(...e){if(e.length!==1)return t.toRef(...e);const n=e[0];return typeof n=="function"?t.readonly(t.customRef(()=>({get:n,set:Eo}))):t.ref(n)}function Co(e){var n;const a=Ao(e);return(n=a==null?void 0:a.$el)!=null?n:a}const $m=Zm?window:void 0;function il(...e){let n,a,i,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,r]=e,n=$m):[n,a,i,r]=e,!n)return Eo;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const s=[],u=()=>{s.forEach(g=>g()),s.length=0},c=(g,h,p,F)=>(g.addEventListener(h,p,F),()=>g.removeEventListener(h,p,F)),d=t.watch(()=>[Co(n),Ao(r)],([g,h])=>{if(u(),!g)return;const p=eM(h)?{...h}:h;s.push(...a.flatMap(F=>i.map(y=>c(g,F,y,p))))},{immediate:!0,flush:"post"}),_=()=>{d(),u()};return Km(_),_}let ep=!1;function tp(e,n,a={}){const{window:i=$m,ignore:r=[],capture:s=!0,detectIframe:u=!1}=a;if(!i)return Eo;vd&&!ep&&(ep=!0,Array.from(i.document.body.children).forEach(p=>p.addEventListener("click",Eo)),i.document.documentElement.addEventListener("click",Eo));let c=!0;const d=p=>r.some(F=>{if(typeof F=="string")return Array.from(i.document.querySelectorAll(F)).some(y=>y===p.target||p.composedPath().includes(y));{const y=Co(F);return y&&(p.target===y||p.composedPath().includes(y))}}),g=[il(i,"click",p=>{const F=Co(e);if(!(!F||F===p.target||p.composedPath().includes(F))){if(p.detail===0&&(c=!d(p)),!c){c=!0;return}n(p)}},{passive:!0,capture:s}),il(i,"pointerdown",p=>{const F=Co(e);c=!d(p)&&!!(F&&!p.composedPath().includes(F))},{passive:!0}),u&&il(i,"blur",p=>{setTimeout(()=>{var F;const y=Co(e);((F=i.document.activeElement)==null?void 0:F.tagName)==="IFRAME"&&!(y!=null&&y.contains(i.document.activeElement))&&n(p)},0)})].filter(Boolean);return()=>g.forEach(p=>p())}const rl={[Jm.mounted](e,n){const a=!n.modifiers.bubble;if(typeof n.value=="function")e.__onClickOutside_stop=tp(e,n.value,{capture:a});else{const[i,r]=n.value;e.__onClickOutside_stop=tp(e,i,Object.assign({capture:a},r))}},[Jm.unmounted](e){e.__onClickOutside_stop()}};function jd(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ap(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const a=e.parentNode;return!a||a.tagName==="BODY"?!1:ap(a)}}function nM(e){const n=e||window.event,a=n.target;return ap(a)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const Nd=new WeakMap;function iM(e,n=!1){const a=t.ref(n);let i=null,r="";t.watch(aM(e),c=>{const d=jd(Ao(c));if(d){const _=d;if(Nd.get(_)||Nd.set(_,_.style.overflow),_.style.overflow!=="hidden"&&(r=_.style.overflow),_.style.overflow==="hidden")return a.value=!0;if(a.value)return _.style.overflow="hidden"}},{immediate:!0});const s=()=>{const c=jd(Ao(e));!c||a.value||(vd&&(i=il(c,"touchmove",d=>{nM(d)},{passive:!1})),c.style.overflow="hidden",a.value=!0)},u=()=>{const c=jd(Ao(e));!c||!a.value||(vd&&(i==null||i()),c.style.overflow=r,Nd.delete(c),a.value=!1)};return Km(u),t.computed({get(){return a.value},set(c){c?s():u()}})}function rM(){let e=!1;const n=t.ref(!1);return(a,i)=>{if(n.value=i.value,e)return;e=!0;const r=iM(a,i.value);t.watch(n,s=>r.value=s)}}rM();const zte="",oM={name:"UnnnicDropdown",directives:{onClickOutside:rl},props:{useOpenProp:{type:Boolean,default:!1},open:{type:Boolean,default:!1},forceOpen:{type:Boolean,default:!1},position:{type:String,default:"bottom-left",validator(e){return["top-left","top-right","none","bottom-left","bottom-right"].indexOf(e)!==-1}}},emits:["update:open"],data(){return{active:!1}},watch:{open:{handler(){this.active=this.open},immediate:!0},active(){this.useOpenProp||this.$emit("update:open",this.active)}},methods:{onClickTrigger(){this.forceOpen||(this.useOpenProp?this.$emit("update:open",!this.open):this.active=!this.active)},onClickOutside(){if(!this.forceOpen){if(this.useOpenProp&&this.open){this.$emit("update:open",!1);return}this.active&&(this.active=!1)}}}},sM={class:"unnnic-dropdown__trigger"};function lM(e,n,a,i,r,s){const u=t.resolveDirective("on-click-outside");return t.openBlock(),t.createElementBlock("div",{class:"unnnic-dropdown",onClick:n[0]||(n[0]=t.withModifiers((...c)=>s.onClickTrigger&&s.onClickTrigger(...c),["stop"]))},[t.createElementVNode("div",sM,[t.renderSlot(e.$slots,"trigger",{},void 0,!0),(a.useOpenProp?a.open:r.active)?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:0,"data-testid":"dropdown-content",class:t.normalizeClass(["unnnic-dropdown__content",a.useOpenProp?a.open:r.active?"":"unnnic-dropdown__content--hidden",`unnnic-dropdown__content__position-${a.position}`])},[t.renderSlot(e.$slots,"default",{},void 0,!0)],2)),[[u,s.onClickOutside]]):t.createCommentVNode("",!0)])])}const xo=P(oM,[["render",lM],["__scopeId","data-v-eb4f06f5"]]),qte="",uM={name:"UnnnicDropdownItem"},cM={class:"unnnic-dropdown-item unnnic--clickable","data-testid":"dropdown-item"};function dM(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("a",cM,[t.renderSlot(e.$slots,"default")])}const ol=P(uM,[["render",dM]]),Pte="",fM={components:{UnnnicIcon:ue},props:{enabled:{type:Boolean,default:!0},icon:{type:String,default:"graph-stats-1"},size:{type:String,default:"sm",validator(e){return["nano","xs","sm","lg","xl"].indexOf(e)!==-1}},scheme:{type:String,default:"aux-blue"},filled:{type:Boolean,default:!1},opacity:{type:Boolean,default:!0}},computed:{iconSize(){return{nano:"xs",xs:"sm",sm:"md",lg:"lg",xl:"xl"}[this.size]}}};function _M(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-avatar-icon",a.scheme,a.size,{disabled:!a.enabled},a.filled,{opacity:!a.opacity}])},[t.createVNode(u,{icon:a.icon,scheme:a.enabled?a.scheme:"neutral-cloudy",size:s.iconSize,filled:a.filled},null,8,["icon","scheme","size","filled"])],2)}const _i=P(fM,[["render",_M],["__scopeId","data-v-d0742329"]]),Vte="",gM={name:"UnnnicCard",components:{UnnnicIcon:ue,UnnnicAvatarIcon:_i},props:{title:{type:String,default:null},value:{type:Number,default:null},icon:{type:String,default:null},percent:{type:Number,default:0},invertedPercentage:{type:Boolean,default:!1},scheme:{type:String,default:null}},computed:{color(){return this.invertedPercentage?this.percent<0?"green":"red":this.percent<0?"red":"green"}}},hM={class:"unnnic-card-dash"},mM={class:"header"},pM={class:"label"},FM={class:"content"},bM={class:"value"},yM={class:"label"};function wM(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicAvatarIcon"),c=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",hM,[t.createElementVNode("div",mM,[t.createVNode(u,{size:"sm",scheme:a.scheme,icon:a.icon},null,8,["scheme","icon"]),t.createElementVNode("div",pM,t.toDisplayString(a.title),1)]),t.createElementVNode("div",FM,[t.createElementVNode("div",bM,t.toDisplayString(a.value),1),a.percent?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["percent",`unnnic-card-scheme--feedback-${s.color}`])},[t.createVNode(c,{icon:`graph-stats-${a.percent>=0?"ascend":"descend"}-2`,scheme:`feedback-${s.color}`,size:"sm",class:"icon"},null,8,["icon","scheme"]),t.createElementVNode("div",yM,t.toDisplayString(a.percent>=0?`+${a.percent}%`:`${a.percent}%`),1)],2)):t.createCommentVNode("",!0)])])}const kM=P(gM,[["render",wM],["__scopeId","data-v-aab8cf56"]]),Ute="",DM={name:"UnnnicCard",components:{ToolTip:Ht,UnnnicIcon:ue},props:{title:{type:String,default:null},info:{type:String,default:null},icon:{type:String,default:null},infoPosition:{type:String,default:"right"},scheme:{type:String,default:null},hasInformationIcon:{type:Boolean,default:!0},enabled:{type:Boolean,default:!0}}},AM={class:"unnnic-card-title"},EM={class:"title"};function CM(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("ToolTip");return t.openBlock(),t.createElementBlock("div",AM,[t.createElementVNode("div",{class:t.normalizeClass(["avatar-icon",`unnnic-card-scheme--${a.scheme}`])},[t.createVNode(u,{icon:a.icon,scheme:a.scheme,size:"md"},null,8,["icon","scheme"])],2),t.createElementVNode("div",EM,t.toDisplayString(a.title),1),a.hasInformationIcon?(t.openBlock(),t.createBlock(c,{key:0,class:"information",side:a.infoPosition,text:a.info,enabled:a.enabled},{default:t.withCtx(()=>[t.createVNode(u,{icon:"information-circle-4",class:"unnnic-card-title__content_info",size:"sm",scheme:"neutral-soft"})]),_:1},8,["side","text","enabled"])):t.createCommentVNode("",!0)])}const np=P(DM,[["render",CM],["__scopeId","data-v-14d9d015"]]),Rte="",xM={name:"UnnnicCard",components:{UnnnicIcon:ue},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},status:{type:String,default:null},scheme:{type:String,default:null}}},MM={class:"header"},BM={class:"label"},vM={class:"content"},jM={class:"title-container"},NM={class:"title"},TM={class:"description"};function SM(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-card-status",`unnnic-card-scheme--${a.scheme}--border`])},[t.createElementVNode("div",MM,[t.createVNode(u,{icon:a.icon,scheme:"neutral-dark",size:"md",class:"icon"},null,8,["icon"]),t.createElementVNode("div",BM,t.toDisplayString(a.title),1)]),t.createElementVNode("div",vM,[t.createElementVNode("div",jM,[t.createVNode(u,{icon:"indicator",scheme:a.scheme,size:"sm"},null,8,["scheme"]),t.createElementVNode("div",NM,t.toDisplayString(a.status),1)]),t.createElementVNode("div",TM,t.toDisplayString(a.description),1)])],2)}const IM=P(xM,[["render",SM],["__scopeId","data-v-1fc599bf"]]),Yte="",OM={name:"UnnnicCard",components:{UnnnicAvatarIcon:_i},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},enabled:{type:Boolean,default:!0},scheme:{type:String,default:null}}},LM={class:"icon"},zM={class:"content"},qM={class:"title"},PM={class:"description"};function VM(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-account":!0,enabled:a.enabled})},[t.createElementVNode("div",LM,[t.createVNode(u,{size:"xs",scheme:a.scheme,icon:a.icon,enabled:a.enabled},null,8,["scheme","icon","enabled"])]),t.createElementVNode("div",zM,[t.createElementVNode("div",qM,t.toDisplayString(a.title),1),t.createElementVNode("div",PM,t.toDisplayString(a.description),1)])],2)}const UM=P(OM,[["render",VM],["__scopeId","data-v-7f42cb11"]]),Hte="",RM={name:"UnnnicCard",props:{title:{type:String,default:null},description:{type:String,default:null},clickable:{type:Boolean,default:!1}}},YM={class:"unnnic-card-default__content"},HM={class:"unnnic-card-default__title"},GM=["title"];function QM(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-default":!0,"unnnic-card-default__clickable":a.clickable})},[t.createElementVNode("div",YM,[t.createElementVNode("div",HM,t.toDisplayString(a.title),1),t.createElementVNode("p",{class:"unnnic-card-default__description",title:a.description},t.toDisplayString(a.description),9,GM)])],2)}const WM=P(RM,[["render",QM]]),Gte="",XM={name:"UnnnicCard",components:{UnnnicIcon:ue},props:{text:{type:String,default:null},icon:{type:String,default:null},clickable:{type:Boolean,default:!1}}},KM={class:"unnnic-card-blank__content"},ZM={class:"unnnic-card-blank__content__text"};function JM(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-blank":!0,"unnnic-card-blank__clickable":a.clickable})},[t.createElementVNode("div",KM,[t.createVNode(u,{icon:a.icon,scheme:"neutral-clean",class:"unnnic-card-blank__content__icon",size:"xl"},null,8,["icon"]),t.createElementVNode("div",ZM,t.toDisplayString(a.text),1)])],2)}const $M=P(XM,[["render",JM]]),Qte="",eB={name:"UnnnicCard",components:{UnnnicIcon:ue},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},enabled:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1}}},tB={class:"unnnic-card-content__content"},aB={class:"unnnic-card-content__content__title"},nB={class:"unnnic-card-content__content__description"};function iB(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-content":!0,"unnnic-card-content--disabled":!a.enabled,"unnnic-card-content__clickable":a.clickable})},[t.createElementVNode("div",{class:t.normalizeClass(["unnnic-card-content__icon",a.enabled&&"unnnic-card-content__icon--disabled"])},[t.createVNode(u,{icon:a.icon,scheme:"neutral-cloudy",size:"sm"},null,8,["icon"])],2),t.createElementVNode("div",tB,[t.createElementVNode("div",aB,t.toDisplayString(a.title),1),t.createElementVNode("div",nB,t.toDisplayString(a.description),1)])],2)}const rB=P(eB,[["render",iB]]),Wte="",oB={name:"UnnnicCard",components:{UnnnicIcon:ue},props:{title:{type:String,default:null},description:{type:String,default:null},comments:{type:String,default:null},clickable:{type:Boolean,default:!1},iconSrc:{type:String,default:null},rating:{type:Number,default:0},typeAction:{type:String,default:null}},methods:{cardClick(){this.$emit("openModal")}}},sB={class:t.normalizeClass(["unnnic-card-marketplace__icons"])},lB=["src"],uB={class:"unnnic-card-marketplace__content"},cB={class:"unnnic-card-marketplace__content__title"},dB=["title"],fB={key:0,class:"unnnic-card-marketplace__content__rating"},_B={class:"unnnic-card-marketplace__content__rating__value"},gB={class:"unnnic-card-marketplace__content__rating__comments"};function hB(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-marketplace":!0,"unnnic-card-marketplace__clickable":a.clickable,"unnnic-card-marketplace__add":a.typeAction==="add","unnnic-card-marketplace__config":a.typeAction==="config","unnnic-card-marketplace__edit":a.typeAction==="edit"}),onClick:n[0]||(n[0]=(...c)=>s.cardClick&&s.cardClick(...c))},[t.createElementVNode("div",sB,[t.createElementVNode("img",{class:"unnnic-card-marketplace__icons__app",src:a.iconSrc},null,8,lB),t.renderSlot(e.$slots,"actions")]),t.createElementVNode("div",uB,[t.createElementVNode("div",cB,t.toDisplayString(a.title),1),t.createElementVNode("div",{class:"unnnic-card-marketplace__content__description",title:a.description},t.toDisplayString(a.description),9,dB),a.typeAction==="add"?(t.openBlock(),t.createElementBlock("div",fB,[t.createVNode(u,{class:"unnnic-card-marketplace__content__rating__star",scheme:"feedback-yellow",icon:"rating-star-1",size:"ant",filled:""}),t.createElementVNode("div",_B,t.toDisplayString(a.rating),1),t.createElementVNode("div",gB," ("+t.toDisplayString(a.comments)+") ",1)])):t.createCommentVNode("",!0)])],2)}const mB=P(oB,[["render",hB]]),Xte="",pB={name:"UnnnicCard",props:{type:{type:String,default:"title",validator(e){return["title","status","dash","account","default","blank","content","marketplace"].indexOf(e)!==-1}},title:{type:String,default:null},description:{type:String,default:null},status:{type:String,default:null},info:{type:String,default:null},text:{type:String,default:null},value:{type:Number,default:null},percent:{type:Number,default:0},invertedPercentage:{type:Boolean,default:!1},rating:{type:Number,default:0},comments:{type:String,default:null},enabled:{type:Boolean,default:!0},icon:{type:String,default:null},iconSrc:{type:String,default:null},infoPosition:{type:String,default:"right"},hasInformationIcon:{type:Boolean,default:!0},scheme:{type:String,default:"aux-blue",validator(e){return["feedback-red","feedback-green","feedback-yellow","feedback-blue","feedback-grey","aux-blue","aux-purple","aux-orange","aux-lemon","aux-pink","brand-weni-soft"].indexOf(e)!==-1}},clickable:{type:Boolean,default:!1},typeAction:{type:String,default:null,validator(e){return["add","config","edit"].indexOf(e)!==-1}},buttonAction:{type:Function,default:()=>{}}},computed:{currentTypeIcon(){return this.icon?this.icon:this.type==="title"?"graph-stats-1":this.type==="dash"?"messages-bubble-1":this.type==="status"?"science-fiction-robot-2":this.type==="account"?"single-neutral-2":null},currentComponent(){return this.type==="title"?np:this.type==="dash"?kM:this.type==="status"?IM:this.type==="account"?UM:this.type==="default"?WM:this.type==="blank"?$M:this.type==="content"?rB:this.type==="marketplace"?mB:np}},methods:{openModal(){this.$emit("openModal")}}};function FB(e,n,a,i,r,s){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(s.currentComponent),t.mergeProps({class:"unnnic-card-component"},e.$attrs,{title:a.title,text:a.text,info:a.info,icon:s.currentTypeIcon,iconSrc:a.iconSrc,rating:a.rating,comments:a.comments,typeAction:a.typeAction,buttonAction:a.buttonAction,value:a.value,percent:a.percent,invertedPercentage:a.invertedPercentage||null,status:a.status,description:a.description,infoPosition:a.infoPosition,enabled:a.enabled,scheme:a.scheme,clickable:a.clickable||null,hasInformationIcon:a.hasInformationIcon||null,onOpenModal:s.openModal}),t.createSlots({_:2},[t.renderList(e.$slots,(u,c)=>({name:c,fn:t.withCtx(()=>[t.renderSlot(e.$slots,c)])}))]),1040,["title","text","info","icon","iconSrc","rating","comments","typeAction","buttonAction","value","percent","invertedPercentage","status","description","infoPosition","enabled","scheme","clickable","hasInformationIcon","onOpenModal"])}const Td=P(pB,[["render",FB]]),Kte="",Sd={name:"UnnnicSimpleCard",components:{UnnnicToolTip:Ht,UnnnicIcon:ue},props:{title:{type:String,default:""},titleSize:{type:String,default:"16px"},titleTooltip:{type:String,default:""},text:{type:String,default:""},clickable:{type:Boolean,default:!1}},emits:["click"]},ip=()=>{t.useCssVars(e=>({"14ad6579":e.titleSize}))},rp=Sd.setup;Sd.setup=rp?(e,n)=>(ip(),rp(e,n)):ip;const bB={key:0,class:"unnnic-simple-card__header"},yB={class:"unnnic-simple-card-header-container"},wB={class:"unnnic-simple-card-header-container__title"},kB={key:0,class:"unnnic-simple-card__header-slot"},DB=["title"],AB={key:2,class:"unnnic-simple-card__footer"};function EB(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicToolTip");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass({"unnnic-simple-card":!0,"unnnic-simple-card--clickable":a.clickable}),onClick:n[0]||(n[0]=t.withModifiers(d=>a.clickable&&e.$emit("click"),["stop"]))},[a.title||e.$slots.headerSlot?(t.openBlock(),t.createElementBlock("section",bB,[t.createElementVNode("section",yB,[t.createElementVNode("h1",wB,t.toDisplayString(a.title),1),a.titleTooltip?(t.openBlock(),t.createBlock(c,{key:0,text:a.titleTooltip,enabled:"",class:"unnnic-simple-card-header-container__title-tooltip"},{default:t.withCtx(()=>[t.createVNode(u,{icon:"info",size:"nano",scheme:"neutral-cloudy"})]),_:1},8,["text"])):t.createCommentVNode("",!0)]),e.$slots.headerSlot?(t.openBlock(),t.createElementBlock("section",kB,[t.renderSlot(e.$slots,"headerSlot",{},void 0,!0)])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),a.text?(t.openBlock(),t.createElementBlock("p",{key:1,class:"unnnic-simple-card__text",title:a.text},t.toDisplayString(a.text),9,DB)):t.createCommentVNode("",!0),e.$slots.footer?(t.openBlock(),t.createElementBlock("section",AB,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])):t.createCommentVNode("",!0)],2)}const Id=P(Sd,[["render",EB],["__scopeId","data-v-80dbbab7"]]),ra={props:{locale:{type:String},translations:{type:Object}},methods:{i18n(...e){const[n,a]=e,i=Object.keys(Li.global.messages);let{locale:r}=this;const s=Kt.get(Li,"global.locale")==="en-us"?"en":Kt.get(Li,"global.locale");r=i.includes(r)?r:s,r=r==null?void 0:r.toLowerCase();let u=Kt.get(this.translations,`${n}.${r}`,Kt.get(this.translations,n));if(u||(u=Kt.get(Kt.get(this.defaultTranslations,n),r,a)),u!=null&&u.includes("|")&&typeof e[1]=="number"){const d=e[1],_=u.split("|");_.length===3?u=_[d]||_[2]:_.length===2&&(u=d===1?_[0]:_[1])}let c={};return Object.values(e).slice(1).forEach(d=>{!(d instanceof Array)&&d instanceof Object&&(c=d)}),Object.keys(c).forEach(d=>{u=u==null?void 0:u.replaceAll(new RegExp(`{ *${d} *}`,"g"),c[d])}),u}}},CB=t.defineComponent({__name:"Chip",props:{isSelected:{type:Boolean},text:{},count:{},type:{},isClickable:{type:Boolean},onClick:{type:Function}},emits:["click"],setup(e,{emit:n}){const a=e,i=n,r=_=>{i("click",_)},s=t.computed(()=>!a.isSelected),u=t.computed(()=>a.isSelected?"chip__text--is-selected":""),c=t.computed(()=>a.isSelected?"chip__count--is-selected":""),d=t.computed(()=>a.isSelected?"chip--is-selected":"");return(_,g)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["chip",d.value,{"chip--border":s.value,"chip--is-clickable":_.isClickable}]),onClick:r},[t.createElementVNode("p",{class:t.normalizeClass(["chip__text",u.value])},t.toDisplayString(_.text),3),_.count?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(["chip__count",c.value])},t.toDisplayString(_.count),3)):t.createCommentVNode("",!0),_.type==="multiple"?(t.openBlock(),t.createBlock(ue,{key:1,icon:_.isSelected?"close":"add",scheme:_.isSelected?"teal-600":"feedback-grey",class:"chip__icon",size:"sm"},null,8,["icon","scheme"])):t.createCommentVNode("",!0)],2))}}),Zte="",sl=P(CB,[["__scopeId","data-v-cf90ea74"]]),Un={white:{value:"#FFFFFF"},black:{value:"#000000"},gray:{50:{value:"#F6F7F9"},100:{value:"#ECEEF2"},200:{value:"#D6D9E1"},300:{value:"#B2B9C7"},400:{value:"#8893A8"},500:{value:"#67738B"},600:{value:"#545E75"},700:{value:"#454D5F"},800:{value:"#3B4151"},900:{value:"#353945"},950:{value:"#23262E"}},teal:{50:{value:"#EFFEFC"},100:{value:"#C7FFF7"},200:{value:"#90FFEF"},300:{value:"#51F7E7"},400:{value:"#1DE4D7"},500:{value:"#04C8BD"},600:{value:"#00A49F"},700:{value:"#05807D"},800:{value:"#0A6564"},900:{value:"#0D5453"},950:{value:"#003133"}},green:{50:{value:"#F0F9F3"},100:{value:"#DAF1E0"},200:{value:"#B7E3C6"},300:{value:"#88CDA4"},400:{value:"#56B17E"},500:{value:"#38A169"},600:{value:"#24774C"},700:{value:"#1D5F3F"},800:{value:"#194C34"},900:{value:"#153F2C"},950:{value:"#0B2318"}},blue:{50:{value:"#F2F7FD"},100:{value:"#E5EEF9"},200:{value:"#C4DBF3"},300:{value:"#90BDE9"},400:{value:"#559BDB"},500:{value:"#3182CE"},600:{value:"#2062A9"},700:{value:"#1B4F89"},800:{value:"#1A4472"},900:{value:"#1B3A5F"},950:{value:"#12253F"}},purple:{50:{value:"#F6F5FD"},100:{value:"#EEECFB"},200:{value:"#DFDCF8"},300:{value:"#C7BFF3"},400:{value:"#AA9BEA"},500:{value:"#8D72E0"},600:{value:"#805AD5"},700:{value:"#6B41C0"},800:{value:"#5A36A1"},900:{value:"#4B2E84"},950:{value:"#2E1C59"}},red:{50:{value:"#FDF3F3"},100:{value:"#FDE3E3"},200:{value:"#FCCCCC"},300:{value:"#F8A9A9"},400:{value:"#F27777"},500:{value:"#E53E3E"},600:{value:"#D32F2F"},700:{value:"#B22323"},800:{value:"#932121"},900:{value:"#7A2222"},950:{value:"#420D0D"}},orange:{50:{value:"#FDF8EF"},100:{value:"#FBEED9"},200:{value:"#F7DAB1"},300:{value:"#F1C080"},400:{value:"#EB9D4C"},500:{value:"#E5812A"},600:{value:"#DD6B20"},700:{value:"#B2501C"},800:{value:"#8E401E"},900:{value:"#73361B"},950:{value:"#3E1A0C"}},yellow:{50:{value:"#FBF7EB"},100:{value:"#F5EDCC"},200:{value:"#EDD89B"},300:{value:"#E2BC62"},400:{value:"#D69E2E"},500:{value:"#C88D2A"},600:{value:"#AC6E22"},700:{value:"#8A501E"},800:{value:"#734120"},900:{value:"#633720"},950:{value:"#391B0F"}},bg:{base:{value:"{color.white}"},soft:{value:"{color.gray.50}"},muted:{value:"{color.gray.100}"},active:{value:"{color.teal.600}"},info:{value:"{color.blue.50}"},success:{value:"{color.green.50}"},warning:{value:"{color.yellow.50}"},critical:{value:"{color.red.50}"}},fg:{base:{value:"{color.gray.500}"},muted:{value:"{color.gray.300}"},emphasized:{value:"{color.gray.900}"},inverted:{value:"{color.white}"},active:{value:"{color.teal.600}"},info:{value:"{color.blue.500}"},success:{value:"{color.green.500}"},warning:{value:"{color.yellow.500}"},critical:{value:"{color.red.500}"}},border:{base:{value:"{color.gray.200}"},soft:{value:"{color.gray.100}"},muted:{value:"{color.gray.200}"},emphasized:{value:"{color.gray.400}"},active:{value:"{color.teal.600}"},info:{value:"{color.blue.300}"},success:{value:"{color.green.300}"},warning:{value:"{color.yellow.300}"},critical:{value:"{color.red.300}"}}},xB={key:0,class:"unnnic-tag__icon"},MB={class:t.normalizeClass("unnnic-tag__label")},BB=t.defineComponent({__name:"DefaultTag",props:{text:{default:void 0},size:{default:"medium"},scheme:{default:"aux-purple"},leftIcon:{default:void 0}},setup(e){t.useCssVars(r=>({"1096da9a":i.value}));const n=e,a=[{keywords:["green"],color:Un.green[200].value},{keywords:["blue"],color:Un.blue[200].value},{keywords:["purple"],color:Un.purple[200].value},{keywords:["red","pink"],color:Un.red[200].value},{keywords:["orange"],color:Un.orange[200].value},{keywords:["yellow"],color:Un.yellow[200].value},{keywords:["gray"],color:Un.gray[200].value},{keywords:["teal","weni"],color:Un.teal[200].value}],i=t.computed(()=>{const r=n.scheme.toLowerCase(),s=a.find(({keywords:u})=>u.some(c=>r.includes(c)));return(s==null?void 0:s.color)??Un.gray[200].value});return(r,s)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(`unnnic-tag unnnic-tag--${r.size}`)},[r.leftIcon?(t.openBlock(),t.createElementBlock("section",xB,[t.createVNode(ue,{icon:r.leftIcon,scheme:"fg-emphasized",size:"sm"},null,8,["icon"])])):t.createCommentVNode("",!0),t.createElementVNode("p",MB,t.toDisplayString(r.text),1)],2))}}),Jte="",vB=P(BB,[["__scopeId","data-v-2f043350"]]),Mr=t.defineComponent({name:"UnnnicTag",__name:"Tag",props:{type:{default:"default"},size:{default:"medium"},text:{default:void 0},disabled:{type:Boolean,default:!1},scheme:{default:"aux-purple"},leftIcon:{default:""},hasCloseIcon:{type:Boolean,default:!1}},emits:["close","click"],setup(e){return(n,a)=>n.type==="brand"||n.hasCloseIcon?(t.openBlock(),t.createBlock(sl,{key:0,text:n.text,type:"multiple",isSelected:n.disabled||n.hasCloseIcon,isClickable:"",onClick:a[0]||(a[0]=i=>n.hasCloseIcon?n.$emit("close"):n.$emit("click"))},null,8,["text","isSelected"])):(t.openBlock(),t.createBlock(vB,{key:1,size:n.type==="next"?"small":n.size,text:n.text,scheme:n.scheme,leftIcon:n.leftIcon},null,8,["size","text","scheme","leftIcon"]))}}),$te="",jB={components:{UnnnicTag:Mr},mixins:[ra],props:{oldVersion:Boolean,name:String,description:String,plan:String,actionText:String},data(){return{isOptionsOpen:!1}}},NB={class:"name"},TB={class:"description"},SB={key:1};function IB(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicTag"),c=t.resolveComponent("UnnnicIcon"),d=t.resolveComponent("UnnnicDropdown");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-connect-card-company",{"unnnic-connect-card-company--old-version":a.oldVersion}]),onClick:n[3]||(n[3]=_=>e.$emit("enter"))},[t.createElementVNode("div",null,[t.createElementVNode("h2",NB,t.toDisplayString(a.name),1),t.createElementVNode("p",TB,t.toDisplayString(a.description),1),a.plan?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["tag",a.plan])},t.toDisplayString(e.i18n(`plans.${a.plan}`)),3)):t.createCommentVNode("",!0)]),a.actionText?(t.openBlock(),t.createBlock(u,{key:0,class:"action",clickable:"",text:a.actionText,scheme:"aux-blue",onClick:n[0]||(n[0]=_=>e.$emit("action"))},null,8,["text"])):t.createCommentVNode("",!0),e.$slots.options?(t.openBlock(),t.createElementBlock("div",SB,[t.createVNode(d,{open:r.isOptionsOpen,"onUpdate:open":n[1]||(n[1]=_=>r.isOptionsOpen=_),class:"unnnic-dropdown",onClick:n[2]||(n[2]=t.withModifiers(()=>{},["prevent"]))},{trigger:t.withCtx(()=>[t.createVNode(c,{class:"menu-icon",icon:"navigation-menu-vertical-1",size:"sm",scheme:r.isOptionsOpen?"neutral-cloudy":"neutral-clean"},null,8,["scheme"])]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"options",{},void 0,!0)]),_:3},8,["open"])])):t.createCommentVNode("",!0)],2)}const Od=P(jB,[["render",IB],["__scopeId","data-v-331afc72"]]),eae="",OB={components:{UnnnicIcon:ue},props:{title:{type:String},description:{type:String},score:{type:String},info:{type:String},checked:{type:Boolean,default:!1}}},LB={class:"card"},zB={class:"header"},qB={class:"title"},PB={key:0,class:"check"},VB={class:"description"},UB={key:0,class:"footer"},RB={class:"evaluation"},YB={class:"info"};function HB(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",LB,[t.createElementVNode("div",zB,[t.createElementVNode("div",qB,t.toDisplayString(a.title),1),a.checked?(t.openBlock(),t.createElementBlock("div",PB,[t.createVNode(u,{size:"md",icon:"check-circle-1-1-1",scheme:"feedback-green"})])):t.createCommentVNode("",!0)]),t.createElementVNode("div",VB,t.toDisplayString(a.description),1),a.score||a.info?(t.openBlock(),t.createElementBlock("div",UB,[t.createElementVNode("div",RB,[a.score?(t.openBlock(),t.createBlock(u,{key:0,size:"sm",icon:"rating-star-1",scheme:"feedback-yellow"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(a.score)+" ",1),t.createElementVNode("span",YB,t.toDisplayString(a.info),1)])])):t.createCommentVNode("",!0)])}const Ld=P(OB,[["render",HB],["__scopeId","data-v-b40ec35c"]]),tae="",GB={model:{event:"change"},props:{modelValue:{type:[Boolean,String],default:!1,validator(e){return[!0,!1,"less"].includes(e)}},disabled:{type:Boolean,default:!1},label:{type:String,default:""},helper:{type:String,default:""},textRight:{type:String,default:""}},emits:["change","update:model-value"],computed:{valueName(){return this.modelValue===!0?"checked":this.modelValue===!1?"default":"less"}},methods:{pick:Kt.pick,click(){const e=["checked","less"].includes(this.valueName);this.$emit("change",!e),this.$emit("update:model-value",!e)}}},QB={class:"unnnic-checkbox"},WB=["disabled","checked"],XB={key:0,class:"unnnic-checkbox__helper"};function KB(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("section",QB,[t.createElementVNode("label",{class:t.normalizeClass(["unnnic-checkbox__input-wrapper",{"unnnic-checkbox__input-wrapper--disabled":a.disabled}])},[t.createElementVNode("input",t.mergeProps({class:["unnnic-checkbox__input",{"unnnic-checkbox__input--less":a.modelValue==="less"}],type:"checkbox",disabled:a.disabled,checked:a.modelValue==="less"||a.modelValue},s.pick(e.$attrs,["id","name"]),{onChange:n[0]||(n[0]=(...u)=>s.click&&s.click(...u))}),null,16,WB),a.label||a.textRight?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(["unnnic-checkbox__label",{"unnnic-checkbox__label--disabled":a.disabled}]),"data-testid":"checkbox-text-right"},t.toDisplayString(a.label||a.textRight),3)):t.createCommentVNode("",!0)],2),a.helper?(t.openBlock(),t.createElementBlock("p",XB,t.toDisplayString(a.helper),1)):t.createCommentVNode("",!0)])}const zi=P(GB,[["render",KB],["__scopeId","data-v-14c8c277"]]),aae="",ZB={components:{UnnnicIcon:ue,UnnnicCheckbox:zi,UnnnicAvatarIcon:_i,UnnnicDropdown:xo},props:{modelValue:Boolean,title:String,description:String,image:String,data:{type:Array,default(){return[]}}}},JB={class:"header"},$B={class:"content"},ev={key:0,class:"u font secondary body-lg bold color-neutral-darkest"},tv={key:1,class:"u font secondary body-md color-neutral-cloudy"},av=["src"],nv={key:0,class:"details"},iv={class:"u font secondary body-gt color-neutral-dark"},rv={class:"value-container"},ov={class:"u font secondary body-gt black color-neutral-darkest"};function sv(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicCheckbox"),c=t.resolveComponent("UnnnicIcon"),d=t.resolveComponent("UnnnicDropdown"),_=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-card-image",{checked:a.modelValue}])},[t.createElementVNode("div",JB,[t.createElementVNode("div",$B,[a.title?(t.openBlock(),t.createElementBlock("div",ev,t.toDisplayString(a.title),1)):t.createCommentVNode("",!0),a.description?(t.openBlock(),t.createElementBlock("div",tv,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0)]),t.createVNode(u,{modelValue:a.modelValue,onChange:n[0]||(n[0]=g=>e.$emit("update:model-value",g))},null,8,["modelValue"]),e.$slots.actions?(t.openBlock(),t.createBlock(d,{key:0,position:"bottom-left"},{trigger:t.withCtx(()=>[t.createVNode(c,{icon:"navigation-menu-vertical-1",size:"sm",scheme:"neutral-cleanest",clickable:""})]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"actions",{},void 0,!0)]),_:3})):t.createCommentVNode("",!0)]),t.createElementVNode("img",{class:"image",src:a.image},null,8,av),a.data.length?(t.openBlock(),t.createElementBlock("div",nv,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.data,(g,h)=>(t.openBlock(),t.createElementBlock("div",{key:h,class:"data"},[t.createElementVNode("div",iv,t.toDisplayString(g.name),1),t.createElementVNode("div",rv,[t.createVNode(_,{icon:g.icon,size:"xs",scheme:g.scheme},null,8,["icon","scheme"]),t.createElementVNode("div",ov,t.toDisplayString(g.value),1)])]))),128))])):t.createCommentVNode("",!0)],2)}const zd=P(ZB,[["render",sv],["__scopeId","data-v-87c573e3"]]),nae="",lv={components:{UnnnicIcon:ue,UnnnicDropdown:xo,UnnnicDropdownItem:ol},mixins:[ra],props:{name:{type:String,default:""},description:{type:String,default:""},status:{type:String,required:!0},canUpdateStatus:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1}},emits:["click","changeProjectStatus"],data(){return{openDropdown:!1,defaultTranslations:{IN_TEST:{"pt-br":"Em teste",en:"In test",es:"En prueba"},ACTIVE:{"pt-br":"Ativo",en:"Active",es:"Activo"},INACTIVE:{"pt-br":"Inativo",en:"Inactive",es:"Inactivo"}}}},computed:{showActions(){var n,a;const e=(a=(n=this.$slots).actions)==null?void 0:a.call(n);return!!(e!=null&&e.length)},colorStatus(){return{ACTIVE:"aux-green-900",INACTIVE:"neutral-cloudy",IN_TEST:"aux-orange-500"}[this.status]},statusOptions(){return["ACTIVE","INACTIVE","IN_TEST"].filter(e=>e!==this.status)}},methods:{emitClick(e){this.clickable&&this.$emit("click",{button:e==null?void 0:e.button})},handlerDropdownOpen(){this.canUpdateStatus&&(this.openDropdown=!this.openDropdown)},handlerClickDropdownItem(e){this.$emit("changeProjectStatus",e)}}},uv={class:"unnnic-card-project__header"},cv=["title"],dv={class:"unnnic-card-project__description"},fv=["title"],_v={class:"unnnic-card-project__bottom"},gv={class:"unnnic-card-project__status-options-container"};function hv(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicDropdown"),d=t.resolveComponent("UnnnicDropdownItem");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass({"unnnic-card-project":!0,"unnnic-card-project--clickable":a.clickable,"unnnic-card-project--inactive":a.status==="INACTIVE"}),"data-testid":"unnnic-card-project",onClick:[n[2]||(n[2]=t.withModifiers((..._)=>s.emitClick&&s.emitClick(..._),["left","exact"])),n[4]||(n[4]=t.withModifiers(_=>s.emitClick({button:1}),["ctrl"]))],onMouseup:n[3]||(n[3]=t.withModifiers((..._)=>s.emitClick&&s.emitClick(..._),["middle","exact","prevent"]))},[t.createElementVNode("section",uv,[t.createElementVNode("h1",{title:a.name,class:t.normalizeClass({"unnnic-card-project__title":!0,"unnnic-card-project__title--inactive":a.status==="INACTIVE"}),"data-testid":"card-project-title"},t.toDisplayString(a.name),11,cv),s.showActions?(t.openBlock(),t.createBlock(c,{key:0,position:"bottom-left","data-testid":"dropdown-actions"},{trigger:t.withCtx(()=>[t.createVNode(u,{size:"sm",icon:"navigation-menu-vertical-1",clickable:"",scheme:"neutral-cleanest"})]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"actions",{},void 0,!0)]),_:3})):t.createCommentVNode("",!0)]),t.createElementVNode("section",dv,[t.createElementVNode("p",{title:a.description,class:t.normalizeClass({"unnnic-card-project__description":!0,"unnnic-card-project__description--inactive":a.status==="INACTIVE"})},t.toDisplayString(a.description),11,fv)]),t.createElementVNode("section",_v,[t.createElementVNode("section",{class:t.normalizeClass(["unnnic-card-project__status-chip",`unnnic-card-project__status-chip--${a.status}`]),"data-testid":"project-status-chip",onClick:n[1]||(n[1]=t.withModifiers(_=>s.handlerDropdownOpen(),["stop"]))},[t.createElementVNode("p",null,t.toDisplayString(e.i18n(a.status)),1),a.canUpdateStatus?(t.openBlock(),t.createBlock(u,{key:0,icon:"keyboard_arrow_down",size:"sm",clickable:"",scheme:s.colorStatus},null,8,["scheme"])):t.createCommentVNode("",!0),t.createVNode(c,{open:r.openDropdown,useOpenProp:"","data-testid":"status-dropdown","onUpdate:open":n[0]||(n[0]=_=>r.openDropdown=_)},{default:t.withCtx(()=>[t.createElementVNode("section",gv,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.statusOptions,_=>(t.openBlock(),t.createBlock(d,{key:_,class:"status-option",onClick:g=>s.handlerClickDropdownItem(_)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.i18n(_)),1)]),_:2},1032,["onClick"]))),128))])]),_:1},8,["open"])],2)])],34)}const qd=P(lv,[["render",hv],["__scopeId","data-v-d7f7ed7d"]]),iae="",mv={components:{UnnnicAvatarIcon:_i,UnnnicToolTip:Ht,UnnnicIcon:ue},props:{name:{type:String,default:""},subtitle:{type:String,default:""},description:{type:String,default:""},descriptionRow:{type:String,default:""},descriptionRowInfo:{type:String,default:""},statuses:{type:Array},minStatusWidth:{type:[String,Number],default:5.625*Qr}}},pv={class:"unnnic-card-container"},Fv={class:"header"},bv={class:"title"},yv=["title"],wv={key:0,class:"subtitle"},kv={key:0,class:"description"},Dv={key:1,class:"description-row-container"},Av={key:0,class:"description-row"},Ev={class:"title"},Cv={class:"content"},xv={class:"number"};function Mv(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicToolTip"),d=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",pv,[t.createElementVNode("div",Fv,[t.createElementVNode("div",bv,[t.createElementVNode("span",{class:"name",title:a.name.length>25?a.name:null},t.toDisplayString(a.name),9,yv),a.subtitle?(t.openBlock(),t.createElementBlock("div",wv,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"header-buttons",{},void 0,!0)]),a.description?(t.openBlock(),t.createElementBlock("div",kv,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0),a.descriptionRow||a.descriptionRowInfo?(t.openBlock(),t.createElementBlock("div",Dv,[a.descriptionRow?(t.openBlock(),t.createElementBlock("div",Av,t.toDisplayString(a.descriptionRow),1)):t.createCommentVNode("",!0),a.descriptionRowInfo?(t.openBlock(),t.createBlock(c,{key:1,side:"top",text:a.descriptionRowInfo,enabled:""},{default:t.withCtx(()=>[t.createVNode(u,{class:"info",icon:"information-circle-4",size:"sm",scheme:"neutral-soft"})]),_:1},8,["text"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),n[0]||(n[0]=t.createElementVNode("div",{class:"separator"},null,-1)),t.renderSlot(e.$slots,"content",{},void 0,!0),t.createElementVNode("div",{class:"statuses",style:t.normalizeStyle({gridTemplateColumns:`repeat(auto-fit, minmax(${a.minStatusWidth}, 1fr))`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.statuses,(_,g)=>(t.openBlock(),t.createElementBlock("div",{key:g,class:"status"},[t.createElementVNode("div",Ev,t.toDisplayString(_.title),1),t.createElementVNode("div",Cv,[t.createVNode(d,{icon:_.icon,scheme:_.scheme,size:"xs"},null,8,["icon","scheme"]),t.createElementVNode("div",xv,t.toDisplayString(_.count),1)])]))),128))],4)])}const Bv=P(mv,[["render",Mv],["__scopeId","data-v-d88c3045"]]),rae="",vv={components:{CardStatusesContainer:Bv},props:{name:{type:String,default:""},subtitle:{type:String,default:""},description:{type:String,default:""},descriptionRow:{type:String,default:""},descriptionRowInfo:{type:String,default:""},statuses:{type:Array}},data(){return{unnnicFontSize:Qr}}};function jv(e,n,a,i,r,s){const u=t.resolveComponent("CardStatusesContainer");return t.openBlock(),t.createBlock(u,{class:"unnnic-card-information",name:a.name,subtitle:a.subtitle,description:a.description,descriptionRow:a.descriptionRow,descriptionRowInfo:a.descriptionRowInfo,statuses:a.statuses,minStatusWidth:8.75*r.unnnicFontSize+"px"},null,8,["name","subtitle","description","descriptionRow","descriptionRowInfo","statuses","minStatusWidth"])}const Pd=P(vv,[["render",jv],["__scopeId","data-v-ee17403c"]]),Nv={class:"unnnic-checkbox-group__checkboxes"},Tv={key:1,class:"unnnic-checkbox-group__helper"},Sv=t.defineComponent({name:"UnnnicCheckboxGroup",__name:"CheckboxGroup",props:{state:{default:"horizontal"},label:{default:""},labelTooltip:{default:void 0},helper:{default:""}},setup(e){return(n,a)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["unnnic-checkbox-group__container",`unnnic-checkbox-group--state-${n.state}`])},[n.label?(t.openBlock(),t.createBlock(xi,{key:0,label:n.label,tooltip:n.labelTooltip},null,8,["label","tooltip"])):t.createCommentVNode("",!0),t.createElementVNode("section",Nv,[t.renderSlot(n.$slots,"default",{},void 0,!0)]),n.helper?(t.openBlock(),t.createElementBlock("footer",Tv,t.toDisplayString(n.helper),1)):t.createCommentVNode("",!0)],2))}}),oae="",Vd=P(Sv,[["__scopeId","data-v-f03f56c7"]]),sae="",Iv={class:"unnnic-collapse__body"},Ud=P({__name:"Collapse",props:{title:String,active:Boolean,borderBottom:Boolean,unspacedIcon:Boolean,size:{type:String,default:"lg",validator(e){return["md","lg"].includes(e)}},modelValue:Boolean},emits:["update:modelValue","change"],setup(e,{emit:n}){const a=e,i=n,r=t.ref(!1);return t.watch(r,s=>{i("change",s),i("update:modelValue",s)}),t.watch(()=>a.active,s=>{r.value=s},{immediate:!0}),t.watch(()=>a.modelValue,s=>{r.value=s},{immediate:!0}),(s,u)=>(t.openBlock(),t.createElementBlock("div",{"data-testid":"collapse",class:t.normalizeClass(["unnnic-collapse",`unnnic-collapse--size-${e.size}`,{"unnnic-collapse--border-bottom":e.borderBottom,"unnnic-collapse--unspaced-icon":e.unspacedIcon,"unnnic-collapse--active":r.value}])},[t.createElementVNode("div",{"data-testid":"collapse-header",class:"unnnic-collapse__header",onClick:u[0]||(u[0]=c=>r.value=!r.value)},[t.createTextVNode(t.toDisplayString(e.title),1),t.renderSlot(s.$slots,"header",{},void 0,!0),t.createVNode(ue,{size:"ant",icon:r.value?"arrow-button-up-1":"arrow-button-down-1",scheme:r.value?"neutral-dark":"neutral-cloudy"},null,8,["icon","scheme"])]),t.withDirectives(t.createElementVNode("div",Iv,[t.renderSlot(s.$slots,"default",{},void 0,!0)],512),[[t.vShow,r.value]])],2))}},[["__scopeId","data-v-4c30fa39"]]),uae="",Ov={class:"unnnic-radio"},Lv=["disabled","checked","name"],zv={key:0,class:"unnnic-radio__helper"},Rd=P({__name:"Radio",props:{modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},name:{type:String,default:""},helper:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:n}){const a=e,i=n,r=t.inject("contextModelValue",void 0),s=t.inject("contextName",void 0);function u(){a.disabled||(i("update:modelValue",a.value),r&&(r.value=a.value))}const c=t.computed(()=>(r==null?void 0:r.value)||a.modelValue),d=t.computed(()=>(s==null?void 0:s.value)||a.name);return(_,g)=>(t.openBlock(),t.createElementBlock("section",Ov,[t.createElementVNode("label",{class:t.normalizeClass(["unnnic-radio__input-wrapper",{"unnnic-radio__input-wrapper--disabled":e.disabled}])},[t.createElementVNode("input",t.mergeProps({class:"unnnic-radio__input",type:"radio",disabled:e.disabled,checked:c.value===e.value,onChange:u,name:d.value},t.unref(Kt.pick)(_.$attrs,["id"])),null,16,Lv),t.createElementVNode("p",{class:t.normalizeClass(["unnnic-radio__label",{"unnnic-radio__label--disabled":e.disabled}])},[t.createTextVNode(t.toDisplayString(e.label)+" ",1),t.renderSlot(_.$slots,"default",{},void 0,!0)],2),e.helper?(t.openBlock(),t.createElementBlock("footer",zv,t.toDisplayString(e.helper),1)):t.createCommentVNode("",!0)],2)]))}},[["__scopeId","data-v-7e12a100"]]),qv={class:"unnnic-radio-group__radios"},Pv={key:1,class:"unnnic-radio-group__helper"},Vv=t.defineComponent({name:"UnnnicRadioGroup",__name:"RadioGroup",props:{modelValue:{default:""},state:{default:"horizontal"},label:{default:""},labelTooltip:{default:void 0},name:{default:""},helper:{default:""}},emits:["update:modelValue"],setup(e,{emit:n}){const a=e,i=n,r=t.ref(a.modelValue);t.watch(()=>a.modelValue,u=>{u!==r.value&&(r.value=u)}),t.watch(r,u=>{u!==a.modelValue&&i("update:modelValue",u)});const s=t.computed(()=>a.name||`unnnic-radio-group-${Math.random().toString(36).substring(2,15)}`);return t.provide("contextModelValue",r),t.provide("contextName",s),(u,c)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["unnnic-radio-group__container",`unnnic-radio-group--state-${u.state}`])},[u.label?(t.openBlock(),t.createBlock(xi,{key:0,label:u.label,tooltip:u.labelTooltip,class:"unnnic-radio-group__label"},null,8,["label","tooltip"])):t.createCommentVNode("",!0),t.createElementVNode("section",qv,[t.renderSlot(u.$slots,"default",{},void 0,!0)]),u.helper?(t.openBlock(),t.createElementBlock("footer",Pv,t.toDisplayString(u.helper),1)):t.createCommentVNode("",!0)],2))}}),dae="",Yd=P(Vv,[["__scopeId","data-v-d5af6106"]]),Uv={name:"Flag",components:{UnnnicIcon:ue},props:{code:{type:String,default:null},size:{type:String,default:"md",validator(e){return["nano","xs","sm","md","lg"].indexOf(e)!==-1}}},computed:{name(){return{"pt-br":"Brazil",en:"USA",es:"Spain"}[this.code]}}};function Rv(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createBlock(u,{icon:s.name,size:a.size},null,8,["icon","size"])}const Yv=P(Uv,[["render",Rv]]),fae="",Hv={name:"LanguageSelect",components:{UnnnicFlag:Yv,UnnnicIcon:ue},directives:{onClickOutside:rl},props:{modelValue:{type:String,default:""},position:{type:String,default:"top-right"},contracted:{type:Boolean,default:!1},supportedLanguages:{type:Array,default:()=>["pt-br","en"]}},data(){return{open:!1,val:this.modelValue,unnnicFontSize:Qr}},computed:{languages(){const e={"pt-br":"Português - Brasil",en:"English",es:"Español"};return this.supportedLanguages.reduce((n,a)=>({...n,[a]:e[a]}),{})},otherLanguages(){return this.languageList.filter(({id:e})=>e!==this.val)},languageList(){return Object.entries(this.languages).map(([e,n])=>({id:e,name:n}))},dropdownIcon(){let e="";return this.position==="bottom"?e=this.open?"up":"down":e=this.open?"down":"up",`arrow-button-${e}-1`}},watch:{val(){this.$emit("update:model-value",this.val)},modelValue(){this.val=this.modelValue}},methods:{onClickTrigger(){this.open=!this.open},onClickOutside(){this.open&&(this.open=!1)}}},Gv={key:0,class:"unnnic-language-select contracted"},Qv={class:"option"},Wv=["onClick"],Xv={key:1,class:"unnnic-language-select normal"},Kv={class:"option"},Zv={class:"label"},Jv=["onClick"],$v={class:"label"},ej={class:"option"},tj={class:"label"};function aj(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicFlag"),c=t.resolveComponent("UnnnicIcon"),d=t.resolveDirective("on-click-outside");return a.contracted?t.withDirectives((t.openBlock(),t.createElementBlock("div",Gv,[t.createElementVNode("div",{class:t.normalizeClass(["container contracted",{open:r.open}]),onClick:n[0]||(n[0]=(..._)=>s.onClickTrigger&&s.onClickTrigger(..._))},[t.createElementVNode("div",Qv,[t.createVNode(u,{size:"sm",code:r.val},null,8,["code"])]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.otherLanguages,_=>(t.openBlock(),t.createElementBlock("div",{key:_.id,class:"option",onClick:g=>r.val=_.id},[t.createVNode(u,{size:"sm",code:_.id},null,8,["code"])],8,Wv))),128))],2)])),[[d,s.onClickOutside]]):t.withDirectives((t.openBlock(),t.createElementBlock("div",Xv,[t.createElementVNode("div",{class:t.normalizeClass(["container normal",{open:r.open}]),onClick:n[1]||(n[1]=(..._)=>s.onClickTrigger&&s.onClickTrigger(..._))},[t.createElementVNode("div",{style:t.normalizeStyle({position:"absolute",[a.position==="bottom"?"top":"bottom"]:-.125*r.unnnicFontSize+"px",width:"100%",padding:.0625*r.unnnicFontSize+"px",left:-.0625*r.unnnicFontSize+"px"}),class:"all"},[a.position==="bottom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",Kv,[t.createVNode(u,{size:"sm",code:r.val},null,8,["code"]),t.createElementVNode("div",Zv,t.toDisplayString(s.languages[r.val]),1),t.createVNode(c,{size:"xs",icon:s.dropdownIcon,scheme:"neutral-clean"},null,8,["icon"])]),n[2]||(n[2]=t.createElementVNode("div",{class:"divider"},null,-1))],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.otherLanguages,_=>(t.openBlock(),t.createElementBlock("div",{key:_.id,class:"option",onClick:g=>r.val=_.id},[t.createVNode(u,{size:"sm",code:_.id},null,8,["code"]),t.createElementVNode("div",$v,t.toDisplayString(s.languages[_.id]),1)],8,Jv))),128)),a.position!=="bottom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n[3]||(n[3]=t.createElementVNode("div",{class:"divider"},null,-1)),t.createElementVNode("div",ej,[t.createVNode(u,{size:"sm",code:r.val},null,8,["code"]),t.createElementVNode("div",tj,t.toDisplayString(s.languages[r.val]),1),t.createVNode(c,{size:"xs",icon:s.dropdownIcon,scheme:"neutral-clean"},null,8,["icon"])])],64)):t.createCommentVNode("",!0)],4)],2)])),[[d,s.onClickOutside]])}const Hd=P(Hv,[["render",aj]]),_ae="",nj={name:"UnnnicModal",components:{UnnnicIcon:ue},props:{text:{type:String,default:null},modalIcon:{type:String,default:null},closeIcon:{type:Boolean,default:!0},description:{type:String,default:null},alertMessage:{type:String,default:null},showModal:{type:Boolean,default:!0},scheme:{type:String,default:null},persistent:{type:Boolean,default:!1}},computed:{hasAlertMessage(){return!(this.alertMessage===null||this.alertMessage.length===0)},hasButton(){var e,n;return!!((n=(e=this.$slots).options)!=null&&n.call(e).length)},hasIcon(){var e,n;return!!((n=(e=this.$slots).icon)!=null&&n.call(e).length)}},mounted(){window.innerWidth<=600&&this.mobileAnimateOpen()},methods:{mobileAnimateReset(){this.$refs.modalContainer&&(this.$refs.modalContainer.style.transition=null),this.$refs.modal&&(this.$refs.modal.style.transition=null)},mobileAnimateOpen(){this.$nextTick(()=>{this.$refs.modalContainer&&(this.$refs.modalContainer.style.transition="none",this.$refs.modalContainer.style.backgroundColor="transparent"),this.$refs.modal&&(this.$refs.modal.style.transition="none",this.$refs.modal.style.marginBottom=`${-this.$refs.modal.offsetHeight}px`),setTimeout(()=>{this.$refs.modalContainer&&(this.$refs.modalContainer.style.transition="background-color 0.2s",this.$refs.modalContainer.style.backgroundColor=null),this.$refs.modal&&(this.$refs.modal.style.transition="margin-bottom 0.2s",this.$refs.modal.style.marginBottom=null),setTimeout(()=>{this.mobileAnimateReset()},200)})})},mobileAnimateClose(){return new Promise(e=>{this.$refs.modalContainer&&(this.$refs.modalContainer.style.transition="background-color 0.2s",this.$refs.modalContainer.style.backgroundColor="transparent"),this.$refs.modal&&(this.$refs.modal.style.transition="margin-bottom 0.2s",this.$refs.modal.style.marginBottom=`${-this.$refs.modal.offsetHeight}px`),setTimeout(()=>{this.mobileAnimateReset(),e()},200)})},onOutsideCloseClick(){this.persistent||this.onCloseClick()},async onCloseClick(){console.log("keycloak log",window),window.innerWidth<=600&&await this.mobileAnimateClose(),this.$emit("close")}}},ij={ref:"modal",class:"unnnic-modal-container-background"},rj={class:"unnnic-modal-container-background-body"},oj={key:0,class:"unnnic-modal-container-background-body-close_icon"},sj={key:1,class:"unnnic-modal-container-background-body__icon-slot"},lj={class:"unnnic-modal-container-background-body-title"},uj={class:"unnnic-modal-container-background-body-description-container"},cj={class:"unnnic-modal-container-background-body-description"},dj={key:0,class:"unnnic-modal-container-background-report"},fj={key:1,class:"unnnic-modal-container-background-button"};function _j(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createBlock(t.Transition,{name:"modal"},{default:t.withCtx(()=>[a.showModal?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0},e.$attrs,{ref:"modalContainer",class:["unnnic-modal"]}),[t.createElementVNode("div",{class:"unnnic-modal-container",onClick:n[0]||(n[0]=t.withModifiers((...c)=>s.onOutsideCloseClick&&s.onOutsideCloseClick(...c),["self"]))},[t.createElementVNode("div",ij,[t.createElementVNode("div",rj,[a.closeIcon?(t.openBlock(),t.createElementBlock("div",oj,[t.createVNode(u,{icon:"close-1",scheme:"neutral-dark",size:"sm",clickable:"",onClick:s.onCloseClick},null,8,["onClick"])])):t.createCommentVNode("",!0),s.hasIcon?(t.openBlock(),t.createElementBlock("div",sj,[t.renderSlot(e.$slots,"icon",{},void 0,!0)])):t.createCommentVNode("",!0),a.modalIcon?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(["unnnic-modal-container-background-body-alert_icon",`unnnic-card-scheme--${a.scheme}--icon`,a.closeIcon?"":"unnnic-modal-container-background-body-spacing_header"])},[t.createVNode(u,{scheme:a.scheme,icon:a.modalIcon,size:"xl"},null,8,["scheme","icon"])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",lj,t.toDisplayString(a.text),1)]),t.createElementVNode("div",uj,[t.createElementVNode("div",cj,[t.createTextVNode(t.toDisplayString(a.description)+" ",1),t.renderSlot(e.$slots,"message",{},void 0,!0),t.renderSlot(e.$slots,"default",{},void 0,!0)])]),s.hasAlertMessage?(t.openBlock(),t.createElementBlock("div",dj,t.toDisplayString(a.alertMessage),1)):t.createCommentVNode("",!0),s.hasButton?(t.openBlock(),t.createElementBlock("div",fj,[t.renderSlot(e.$slots,"options",{},void 0,!0)])):t.createCommentVNode("",!0)],512)])],16)):t.createCommentVNode("",!0)]),_:3})}const ll=P(nj,[["render",_j],["__scopeId","data-v-64ca1a24"]]),op={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(op);const sp={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(sp);var Sa=globalThis&&globalThis.__classPrivateFieldGet||function(e,n,a,i){if(a==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof n=="function"?e!==n||!i:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?i:a==="a"?i.call(e):i?i.value:n.get(e)},Br,Mo,qi;class gj{constructor(...n){Br.set(this,new Map),Mo.set(this,new Map),qi.set(this,new Map);for(const a of n)this.define(a)}define(n,a=!1){for(let[i,r]of Object.entries(n)){i=i.toLowerCase(),r=r.map(c=>c.toLowerCase()),Sa(this,qi,"f").has(i)||Sa(this,qi,"f").set(i,new Set);const s=Sa(this,qi,"f").get(i);let u=!0;for(let c of r){const d=c.startsWith("*");if(c=d?c.slice(1):c,s==null||s.add(c),u&&Sa(this,Mo,"f").set(i,c),u=!1,d)continue;const _=Sa(this,Br,"f").get(c);if(_&&_!=i&&!a)throw new Error(`"${i} -> ${c}" conflicts with "${_} -> ${c}". Pass \`force=true\` to override this definition.`);Sa(this,Br,"f").set(c,i)}}return this}getType(n){if(typeof n!="string")return null;const a=n.replace(/^.*[/\\]/s,"").toLowerCase(),i=a.replace(/^.*\./s,"").toLowerCase(),r=a.length<n.length;return!(i.length<a.length-1)&&r?null:Sa(this,Br,"f").get(i)??null}getExtension(n){var a;return typeof n!="string"?null:(n=(a=n==null?void 0:n.split)==null?void 0:a.call(n,";")[0],(n&&Sa(this,Mo,"f").get(n.trim().toLowerCase()))??null)}getAllExtensions(n){return typeof n!="string"?null:Sa(this,qi,"f").get(n.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const n of Sa(this,qi,"f").values())Object.freeze(n);return this}_getTestState(){return{types:Sa(this,Br,"f"),extensions:Sa(this,Mo,"f")}}}Br=new WeakMap,Mo=new WeakMap,qi=new WeakMap;const hj=new gj(sp,op)._freeze(),gae="",mj={class:"unnnic-upload-area__dropzone__content"},pj={class:"unnnic-upload-area__dropzone__content__title"},Fj=["title"],bj=["accept","multiple"],ul=P({__name:"DropArea",props:{acceptMultiple:{type:Boolean,default:!0},supportedFormats:{type:String,default:"*"},maxFileSize:{type:Number,default:void 0},shouldReplace:{type:Boolean,default:!1},currentFiles:{type:Array,default(){return[]}},maximumUploads:{type:Number,default:1},subtitle:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["update:currentFiles","fileChange","unsupportedFormat","exceededTheMaximumFileSizeLimit"],setup(e,{emit:n}){const a=t.ref(!1),i=t.ref(!1),r=t.ref(0),s=t.ref(),u=t.useTemplateRef("file"),c=e,d=n,_=t.getCurrentInstance();function g(O){var I,K;return!!((K=(I=_==null?void 0:_.vnode)==null?void 0:I.props)!=null&&K[O])}const h=t.computed(()=>c.supportedFormats.split(",").map(I=>I.toUpperCase()).join(", "));function p(){c.disabled||(r.value+=1,a.value=!0)}function F(){c.disabled||(a.value=!0)}function y(){c.disabled||(r.value-=1,r.value===0&&(a.value=!1))}function A(){c.disabled||(a.value=!1)}function E(O){if(c.disabled)return;a.value=!1;const{files:I}=O.dataTransfer;C(I)&&z(I)}function B(){c.disabled||u.value.click()}function x(O){if(c.disabled)return;const{files:I}=O.target;C(I)&&z(I),s.value.value=""}function k(){i.value=!0,setTimeout(()=>{i.value=!1},5e3)}function C(O){return!c.acceptMultiple&&O.length>1?(k(),!1):T(O)?S(O)?!0:(g("onExceededTheMaximumFileSizeLimit")?d("exceededTheMaximumFileSizeLimit"):k(),!1):(g("onUnsupportedFormat")?d("unsupportedFormat"):k(),!1)}function T(O){if(c.supportedFormats==="*")return!0;const I=c.supportedFormats.split(",").map(oe=>oe.trim());return Array.from(O).find(oe=>{const ee=oe.name.toLowerCase(),ce=oe.type.toLowerCase(),De=`.${ee.split(".").pop()}`,ye=I.includes(De),se=ce===hj.getType(ee);return ye&&se})}function S(O){return c.maxFileSize?Array.from(O).find(K=>(K.size/1048576).toFixed(2)<=c.maxFileSize):!0}function z(O){let I=O.length;if(c.shouldReplace||(I+=c.currentFiles.length),I>c.maximumUploads){k();return}const K=Array.from(O).filter(ee=>!!(T([ee])&&S([ee])));let oe;c.shouldReplace?oe=K:oe=c.currentFiles.concat(K),d("update:currentFiles",oe),d("fileChange",oe)}return(O,I)=>(t.openBlock(),t.createElementBlock("section",{ref:"dropzone",class:t.normalizeClass({"unnnic-upload-area__dropzone":!0,"unnnic-upload-area__dropzone__is-dragover":a.value,"unnnic-upload-area__dropzone__has-error":i.value}),onDragenter:t.withModifiers(p,["stop","prevent"]),onDragover:t.withModifiers(F,["stop","prevent"]),onDragleave:t.withModifiers(y,["stop","prevent"]),onDragend:t.withModifiers(A,["stop","prevent"]),onDrop:t.withModifiers(E,["stop","prevent"]),onClick:B},[t.createVNode(ue,{class:"unnnic-upload-area__dropzone__icon",icon:"upload",scheme:i.value?"feedback-red":"weni-500",size:"lg"},null,8,["scheme"]),t.createElementVNode("div",mj,[t.createElementVNode("span",pj,[t.renderSlot(O.$slots,"title",{},()=>[t.createTextVNode(t.toDisplayString(O.$t("upload_area.title.text"))+" ",1),t.createElementVNode("span",{class:t.normalizeClass(`unnnic-upload-area__dropzone__content__title__${i.value?"error":"search"}`)},t.toDisplayString(O.$t("upload_area.title.highlight")),3)],!0)]),t.createElementVNode("span",{class:t.normalizeClass(["unnnic-upload-area__dropzone__content__subtitle",{"unnnic-upload-area__dropzone__content__subtitle__error":i.value}]),title:h.value},[t.renderSlot(O.$slots,"subtitle",{},()=>[t.createTextVNode(t.toDisplayString(e.subtitle||`${O.$t(`upload_area${i.value?".invalid":""}.subtitle`)} ${h.value}`),1)],!0)],10,Fj)]),t.withDirectives(t.createElementVNode("input",{ref_key:"file",ref:s,type:"file",accept:e.supportedFormats,multiple:e.acceptMultiple,onInput:x},null,40,bj),[[t.vShow,!1]])],34))}},[["__scopeId","data-v-936a11ab"]]),mae="",yj={name:"ImportCard",components:{UnnnicButton:gt,UnnnicIcon:ue},props:{title:{type:String,default:""},subtitle:{type:String,default:""},importProgress:{type:Number,default:0},isImporting:{type:Boolean,default:!1},canImport:{type:Boolean,default:!0},canDelete:{type:Boolean,default:!0},acceptedFormats:{type:String,default:"*"},uploadIcon:{type:String,default:"upload-bottom-1"}},computed:{fileIcon(){const e=this.title.slice(this.title.lastIndexOf(".")+1);return{pdf:"picture_as_pdf",txt:"text_snippet",xls:"table",xlsx:"table",doc:"draft",docx:"draft"}[e]||"draft"}},methods:{importFile(){this.$refs.file.click()},handleFileChange(e){const{files:n}=e.target;let a;n.length>0&&([a]=e.target.files),a&&this.$emit("modifiedFile",a)},emitDeletion(){this.$emit("delete")}}},wj={class:"unnnic-import-card"},kj={class:"unnnic-import-card__data"},Dj={key:0,class:"unnnic-import-card__data__title"},Aj={key:1,class:"unnnic-import-card__data__title"},Ej={key:2,class:"unnnic-import-card__data__subtitle"},Cj={key:0,class:"unnnic-import-card__data__subtitle__text"},xj={key:1,class:"unnnic-import-card__data__subtitle__progress"},Mj={class:"unnnic-import-card__buttons"},Bj=["accept"];function vj(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",wj,[t.createVNode(u,{class:"unnnic-import-card__file-icon",size:"md",scheme:"weni-600",icon:s.fileIcon},null,8,["icon"]),t.createElementVNode("div",kj,[a.isImporting?(t.openBlock(),t.createElementBlock("div",Dj,t.toDisplayString(e.$t("import_card.importing"))+"... ",1)):(t.openBlock(),t.createElementBlock("div",Aj,t.toDisplayString(a.title),1)),a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",Ej,[a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",Cj,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0),a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",xj,"  - "+t.toDisplayString(a.importProgress)+"% ",1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Mj,[a.canImport?(t.openBlock(),t.createBlock(c,{key:0,class:"unnnic-import-card__buttons__import",size:"small",iconCenter:a.uploadIcon,type:"primary",onClick:s.importFile},{default:t.withCtx(()=>[t.createElementVNode("input",{ref:"file",type:"file",accept:a.acceptedFormats,style:{display:"none"},onChange:n[0]||(n[0]=(...d)=>s.handleFileChange&&s.handleFileChange(...d))},null,40,Bj)]),_:1},8,["iconCenter","onClick"])):t.createCommentVNode("",!0),a.canDelete?(t.openBlock(),t.createBlock(u,{key:1,class:"unnnic-import-card__buttons__delete",size:"sm",scheme:"neutral-cloudy",icon:"delete",clickable:"",onClick:s.emitDeletion},null,8,["onClick"])):t.createCommentVNode("",!0)])])}const cl=P(yj,[["render",vj],["__scopeId","data-v-0990f36a"]]),pae="",jj={name:"UnnnicUploadArea",components:{UnnnicDropArea:ul,UnnnicImportCard:cl},model:{prop:"files",event:"fileChange"},props:{files:{type:Array,default:()=>[]},acceptMultiple:{type:Boolean,default:!0},supportedFormats:{type:String,default:"*"},maximumUploads:{type:Number,default:1},filesProgress:{type:Array,default:()=>[]},isUploading:{type:Boolean,default:!1},canImport:{type:Boolean,default:!1},canDelete:{type:Boolean,default:!0},maxFileSize:{type:Number,default:void 0},shouldReplace:{type:Boolean,default:!1},subtitle:{required:!1,type:String,default:""}},emits:["fileChange"],data(){return{currentFiles:this.files}},watch:{files(e){this.currentFiles=e}},methods:{emitFileChange(){this.$emit("fileChange",this.currentFiles)},modifyFile(e,n){this.currentFiles.splice(e,1,n),this.emitFileChange()},removeFile(e){this.currentFiles.splice(e,1),this.emitFileChange()}}},Nj={key:0,class:"unnnic-upload-area__cards"};function Tj(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicDropArea"),c=t.resolveComponent("UnnnicImportCard");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(u,{currentFiles:r.currentFiles,"onUpdate:currentFiles":n[0]||(n[0]=d=>r.currentFiles=d),acceptMultiple:a.acceptMultiple,supportedFormats:a.supportedFormats,maxFileSize:a.maxFileSize,shouldReplace:a.shouldReplace,maximumUploads:a.maximumUploads,subtitle:a.subtitle,onFileChange:n[1]||(n[1]=d=>e.$emit("fileChange",d))},null,8,["currentFiles","acceptMultiple","supportedFormats","maxFileSize","shouldReplace","maximumUploads","subtitle"]),r.currentFiles.length>0?(t.openBlock(),t.createElementBlock("div",Nj,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.currentFiles,(d,_)=>(t.openBlock(),t.createBlock(c,{key:_,title:d.name,subtitle:d.name,isImporting:a.isUploading,importProgress:a.filesProgress[_]||100,canImport:a.canImport,canDelete:a.canDelete,acceptedFormats:a.supportedFormats,uploadIcon:"button-refresh-arrows-1",onDelete:g=>s.removeFile(_),onModifiedFile:g=>s.modifyFile(_,g)},null,8,["title","subtitle","isImporting","importProgress","canImport","canDelete","acceptedFormats","onDelete","onModifiedFile"]))),128))])):t.createCommentVNode("",!0)])}const dl=P(jj,[["render",Tj],["__scopeId","data-v-872a45ed"]]),Fae="",Sj={components:{UnnnicUploadArea:dl,UnnnicIcon:ue,UnnnicButton:gt},model:{prop:"files",event:"file-change"},props:{textCancel:{type:String,default:"Cancelar"},textAction:{type:String,default:"Importar tudo"},textTitle:{type:String,default:"Importar sentenças"},acceptMultiple:{type:Boolean,default:!0},supportedFormats:{type:String,default:".png"},maximumUploads:{type:Number,default:1},filesProgress:{type:Array,default:()=>[]},isUploading:{type:Boolean,default:!1},canImport:{type:Boolean,default:!1},canDelete:{type:Boolean,default:!0},maxFileSize:{type:Number,default:void 0},files:{type:Array,default:()=>[]},subtitle:{required:!1,type:String,default:""}},emits:["close","file-change","cancel","action"],data(){return{}}},Ij={class:"modal-upload"},Oj={class:"close-button-container"},Lj={class:"title"},zj={class:"footer"};function qj(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicUploadArea"),d=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",Ij,[t.createElementVNode("div",Oj,[t.createVNode(u,{class:"close-button",icon:"close-1",scheme:"neutral-dark",size:"sm",clickable:"",onClick:n[0]||(n[0]=_=>e.$emit("close"))})]),t.createElementVNode("div",Lj,t.toDisplayString(a.textTitle),1),t.createVNode(c,{acceptMultiple:a.acceptMultiple,supportedFormats:a.supportedFormats,maximumUploads:a.maximumUploads,filesProgress:a.filesProgress,isUploading:a.isUploading,canImport:a.canImport,canDelete:a.canDelete,maxFileSize:a.maxFileSize,files:a.files,subtitle:a.subtitle,onFileChange:n[1]||(n[1]=_=>e.$emit("file-change",_))},null,8,["acceptMultiple","supportedFormats","maximumUploads","filesProgress","isUploading","canImport","canDelete","maxFileSize","files","subtitle"]),t.createElementVNode("div",zj,[t.createVNode(d,{size:"large",type:"tertiary",text:a.textCancel,onClick:n[2]||(n[2]=_=>e.$emit("cancel"))},null,8,["text"]),t.createVNode(d,{size:"large",type:"primary",text:a.textAction,onClick:n[3]||(n[3]=_=>e.$emit("action"))},null,8,["text"])])])}const Gd=P(Sj,[["render",qj],["__scopeId","data-v-81621db1"]]),bae="",Pj={components:{UnnnicIcon:ue},props:{text:{type:String,default:null},scheme:{type:String,default:null},onClose:{type:Function,default:()=>{}},type:{type:String,default:"default"}},emits:["close"],mounted(){this.$refs.progress.addEventListener("animationend",()=>{this.$refs.alertContainer.classList.add("slide-down")}),this.$refs.alertContainer.addEventListener("animationend",e=>{var n;(n=e.animationName)!=null&&n.startsWith("slideDown")&&this.emitClose()})},methods:{emitClose(){this.onClose(),this.$emit("close")}}},Vj={ref:"alertContainer",class:"alert-container"},Uj={ref:"progress",class:"alert__progress"};function Rj(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",Vj,[t.createElementVNode("div",{class:t.normalizeClass(["alert",{"alert--scheme-aux-green":a.scheme==="feedback-green"||a.type==="success","alert--scheme-aux-red":a.scheme==="feedback-red"||a.type==="error"}])},[t.createElementVNode("div",Uj,null,512),t.withDirectives(t.createElementVNode("div",{class:"alert__text"},t.toDisplayString(a.text),513),[[t.vShow,a.text]]),t.createElementVNode("div",{class:"alert__close",onClick:n[0]||(n[0]=(...c)=>s.emitClose&&s.emitClose(...c))},[t.createVNode(u,{icon:"close-1",size:"sm",scheme:"neutral-white"})])],2)],512)}const Yj=P(Pj,[["render",Rj],["__scopeId","data-v-f1004db4"]]),Hj=["role","aria-live"],Gj={class:"unnnic-toast__content","data-testid":"toast-content"},Qj={class:"unnnic-toast__header","data-testid":"toast-header"},Wj={class:"unnnic-toast__title","data-testid":"toast-title"},Xj={key:0,"data-testid":"toast-text",class:"unnnic-toast__text"},Kj=t.defineComponent({name:"UnnnicToast",__name:"Toast",props:{title:{default:""},description:{default:""},type:{default:"informational"},button:{default:void 0},timeout:{default:5e3}},emits:["close","destroy"],setup(e,{emit:n}){const a=e,i=n,r=t.ref(!1);let s=null;const u=t.computed(()=>({informational:{icon:"info",scheme:"blue-500"},attention:{icon:"error",scheme:"yellow-500"},success:{icon:"check_circle",scheme:"green-500"},error:{icon:"cancel",scheme:"red-500"}})[a.type||"informational"]),c=sr(),d=()=>{r.value=!1,i("close")},_=()=>{var p;(p=a.button)!=null&&p.action&&a.button.action()},g=()=>{a.timeout>0&&(s=window.setTimeout(()=>{d()},a.timeout))},h=()=>{s&&(window.clearTimeout(s),s=null)};return t.onMounted(()=>{r.value=!0,g()}),t.onUnmounted(()=>{h()}),(p,F)=>(t.openBlock(),t.createBlock(t.Transition,{name:"toast-slide",appear:"","data-testid":"toast-transition",onAfterLeave:F[0]||(F[0]=y=>p.$emit("destroy"))},{default:t.withCtx(()=>[r.value?(t.openBlock(),t.createElementBlock("aside",{key:0,class:t.normalizeClass(["unnnic-toast",`unnnic-toast--${p.type}`]),role:p.type==="error"?"alert":"status","aria-live":p.type==="error"?"assertive":"polite","data-testid":"toast",style:t.normalizeStyle({zIndex:t.unref(c)})},[t.createElementVNode("section",Gj,[t.createElementVNode("header",Qj,[t.createVNode(ue,{icon:u.value.icon,scheme:u.value.scheme,size:"ant","data-testid":"toast-type-icon"},null,8,["icon","scheme"]),t.createElementVNode("h3",Wj,t.toDisplayString(p.title),1),t.createVNode(ue,{icon:"close",scheme:"neutral-dark",size:"ant",clickable:"",class:"unnnic-toast__close","data-testid":"toast-close-icon",onClick:d,onKeydown:t.withKeys(d,["enter"])})]),p.description?(t.openBlock(),t.createElementBlock("p",Xj,t.toDisplayString(p.description),1)):t.createCommentVNode("",!0)]),p.button?(t.openBlock(),t.createBlock(gt,{key:0,type:"tertiary",text:p.button.text,class:"unnnic-toast__action-button","data-testid":"toast-action-button",onClick:_,onKeydown:[t.withKeys(_,["enter"]),t.withKeys(t.withModifiers(_,["prevent"]),["space"])]},null,8,["text","onKeydown"])):t.createCommentVNode("",!0)],14,Hj)):t.createCommentVNode("",!0)]),_:1}))}}),yae="",Bo=P(Kj,[["__scopeId","data-v-26f6ff70"]]),Zj={name:"UnnnicAlert",components:{UnnnicToast:Bo,Version1dot1:Yj},props:{version:{type:String,default:"1.1"},text:{type:String,default:null},scheme:{type:String,default:null},onClose:{type:Function,default:()=>{}},type:{type:String,default:""}},computed:{toastType(){return this.scheme==="feedback-green"||this.type==="success"?"success":this.scheme==="feedback-red"||this.type==="error"?"error":this.type==="attention"?"attention":"informational"}}};function Jj(e,n,a,i,r,s){const u=t.resolveComponent("Version1dot1"),c=t.resolveComponent("UnnnicToast");return a.version==="1.1"?(t.openBlock(),t.createBlock(u,t.normalizeProps(t.mergeProps({key:0},{...e.$props})),null,16)):(t.openBlock(),t.createBlock(c,{key:1,title:a.text||"",type:s.toastType,onClose:n[0]||(n[0]=()=>a.onClose())},null,8,["title","type"]))}const fl=P(Zj,[["render",Jj]]);class $j{constructor(){this.toasts=new Map,this.container=null,this.nextId=0}createContainer(){if(this.container)return this.container;this.container=document.createElement("div"),this.container.setAttribute("unnnic-toast-container","true");const n=ew()??document.body;return n==null||n.appendChild(this.container),this.container}generateId(){return`toast-${++this.nextId}`}show(n){const a=this.generateId(),i=this.createContainer(),r=document.createElement("div");let s;const u=new Promise(_=>{s=_}),c=t.createApp(Bo,{...n,onClose:()=>{this.close(a)},onDestroy:()=>{c.unmount(),r.remove(),s()}});c.mount(r),i.appendChild(r);const d={id:a,props:n,close:()=>this.close(a),promise:u};return this.toasts.set(a,d),d}close(n){this.toasts.get(n)&&this.toasts.delete(n)}}const vo=new $j,Qd={info:(e,n,a)=>vo.show({title:e,description:n,...a,type:"informational"}).promise,success:(e,n,a)=>vo.show({title:e,description:n,...a,type:"success"}).promise,attention:(e,n,a)=>vo.show({title:e,description:n,...a,type:"attention"}).promise,error:(e,n,a)=>vo.show({title:e,description:n,...a,type:"error"}).promise};function eN(e){return{all:e=e||new Map,on:function(n,a){var i=e.get(n);i?i.push(a):e.set(n,[a])},off:function(n,a){var i=e.get(n);i&&(a?i.splice(i.indexOf(a)>>>0,1):e.set(n,[]))},emit:function(n,a){var i=e.get(n);i&&i.slice().map(function(r){r(a)}),(i=e.get("*"))&&i.slice().map(function(r){r(n,a)})}}}const Wd=eN(),Xd=({props:e,containerRef:n,seconds:a})=>{if(e.version==="1.1"||n){const i=t.createApp(fl,{...e,seconds:a,version:"1.1",onClose:()=>{s.$el.remove()},created(){Wd.on(["close"],()=>{s.$el.remove()})}}),r=document.createElement("div"),s=i.mount(r);n?(s.$el.style.position="absolute",n.appendChild(s.$el)):document.body.appendChild(s.$el)}else{const i={success:"success",error:"error",attention:"attention",default:"informational","feedback-green":"success","feedback-red":"error"},r={timeout:a?a*1e3:5e3,type:i[e.scheme||e.type]||i.default,onClose:()=>{Wd.emit(["close"])}};vo.show({title:e.text,description:"",...r})}},Kd=({props:e})=>{const n=t.createApp(ll,{...e,onClose:()=>{i.$el.remove()},created(){Wd.on(["close"],()=>{i.$el.remove()})}}),a=document.createElement("div"),i=n.mount(a);document.body.appendChild(a)},wae="",tN={name:"UnnnicSelectSmartOption",components:{UnnnicCheckbox:zi},props:{label:{type:String,default:"Option",required:!0},description:{type:String,default:"",required:!1},size:{type:String,default:""},selectable:{type:Boolean,default:!0},focused:{type:Boolean,default:!1},active:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},allowCheckbox:{type:Boolean,default:!1},isMultiple:Boolean,activeColor:{type:String,default:"primary",validator(e){return["primary","secondary"].indexOf(e)!==-1}}},methods:{fullySanitize:$n}},aN=["title"];function nN(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicCheckbox");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-select-smart-option":!0,"unnnic-select-smart-option--focused":a.focused,"unnnic-select-smart-option--active":a.active,"unnnic-select-smart-option--active-secondary":a.active&&a.activeColor==="secondary","unnnic--clickable":a.selectable,"unnnic-select-smart-option--selectable":a.selectable,"unnnic-select-smart-option--with-checkbox":a.allowCheckbox}),title:a.label,"data-testid":"select-smart-option"},[a.allowCheckbox?(t.openBlock(),t.createBlock(u,{key:0,ref:"checkbox","data-testid":"checkbox",modelValue:a.active,size:a.size,disabled:a.disabled},null,8,["modelValue","size","disabled"])):t.createCommentVNode("",!0),t.createElementVNode("div",null,[t.createElementVNode("span",{class:t.normalizeClass(["unnnic-select-smart-option__label",`unnnic-select-smart-option__label--${a.size}`]),"data-testid":"label"},t.toDisplayString(s.fullySanitize(a.label)),3),a.description?(t.openBlock(),t.createElementBlock("p",{key:0,"data-testid":"description",class:t.normalizeClass(["unnnic-select-smart-option__description",`unnnic-select-smart-option__description--${a.size}`])},t.toDisplayString(s.fullySanitize(a.description)),3)):t.createCommentVNode("",!0)])],10,aN)}const iN=P(tN,[["render",nN]]),kae="",rN={name:"UnnnicSelectSmartMultipleHeader",components:{Tag:Mr},mixins:[ra],props:{selectedOptions:{type:Array,required:!0},withoutSelectsMessage:{type:String,default:""}},data(){return{multipleSelectedsTags:2,defaultTranslations:{without_multiple_selected:{"pt-br":"Nenhuma opção selecionada",en:"No option selected",es:"Ninguna opción seleccionada"}}}},computed:{firstMultipleSelecteds(){const{selectedOptions:e,multipleSelectedsTags:n}=this,a=[];for(let i=0;i<n;i+=1)a.push(e==null?void 0:e[i]);return a.filter(i=>i!==void 0)}},methods:{unselectOption(e){this.$emit("unselect-option",e)}}},oN={class:"unnnic-select-smart__options__multiple"},sN={key:0,class:"unnnic-select-smart__options__multiple__selecteds__container"},lN={class:"unnnic-select-smart__options__multiple__selecteds"},uN={key:0,class:"unnnic-select-smart__options__multiple__selecteds__remaining","data-testid":"remaining-count"},cN={key:1,class:"unnnic-select-smart__options__multiple--without-multiples","data-testid":"without-selects-message"};function dN(e,n,a,i,r,s){const u=t.resolveComponent("Tag");return t.openBlock(),t.createElementBlock("div",oN,[a.selectedOptions[0]?(t.openBlock(),t.createElementBlock("div",sN,[t.createElementVNode("div",lN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.firstMultipleSelecteds,c=>(t.openBlock(),t.createBlock(u,{key:c.value,class:"unnnic-select-smart__options__multiple__selecteds__option",text:c.label,hasCloseIcon:!c.disableRemove,onClose:d=>s.unselectOption(c)},null,8,["text","hasCloseIcon","onClose"]))),128)),a.selectedOptions.length>r.multipleSelectedsTags?(t.openBlock(),t.createElementBlock("p",uN," +"+t.toDisplayString(a.selectedOptions.length-r.multipleSelectedsTags),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),a.selectedOptions[0]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",cN,t.toDisplayString(a.withoutSelectsMessage||e.i18n("without_multiple_selected")),1))])}const fN=P(rN,[["render",dN],["__scopeId","data-v-44c8e22c"]]),Dae="",_N={props:{type:{type:String,default:"automatic"},modelValue:Boolean,position:{type:String,default:"bottom-left"},useAbsolutePosition:{type:Boolean,default:!1}},data(){return{clientHeight:0,clientWidth:0,x:0,y:0,width:0,height:0,data:{x:0,y:0,width:0,height:0}}},computed:{active(){return this.type==="manual"?this.modelValue:!1},positions(){let e,n;return this.position.startsWith("bottom")?(e=this.y+this.height,e+this.data.height>this.clientHeight&&(e=this.clientHeight-this.data.height,this.y>=this.data.height&&(e=this.y-this.data.height))):this.position.startsWith("top")&&(e=this.y-this.data.height,e<0&&(e=0,this.y+this.height+this.data.height<=this.clientHeight&&(e=this.y+this.height))),this.position.endsWith("right")?(n=this.x+this.width,n+this.data.width>this.clientWidth&&(n=this.clientWidth-this.data.width,this.x>=this.data.width&&(n=this.x-this.data.width))):this.position.endsWith("left")&&(n=this.x-this.data.width,n<0&&(n=0,this.x+this.width+this.data.width<=this.clientWidth&&(n=this.x+this.width))),{left:`${n}px`,top:`${e}px`}}},mounted(){this.calculatePosition(),window.addEventListener("scroll",this.calculatePosition),window.addEventListener("resize",this.calculatePosition)},beforeUnmount(){window.removeEventListener("scroll",this.calculatePosition),window.removeEventListener("resize",this.calculatePosition)},methods:{calculatePosition(){const e=this.$refs.dropdown.getBoundingClientRect(),n=this.$refs["dropdown-data"].getBoundingClientRect();this.clientHeight=document.documentElement.clientHeight,this.clientWidth=document.documentElement.clientWidth,this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height,this.data.x=n.x,this.data.y=n.y,this.data.width=n.width,this.data.height=n.height}}};function gN(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("span",{ref:"dropdown","data-testid":"dropdown-skeleton",class:t.normalizeClass(["dropdown",{active:s.active}])},[t.renderSlot(e.$slots,"default",{},void 0,!0),t.createElementVNode("div",{ref:"dropdown-data","data-testid":"dropdown-data",class:"dropdown-data",style:t.normalizeStyle({position:a.useAbsolutePosition?"absolute":"fixed",...s.positions})},[t.renderSlot(e.$slots,"inside",{width:`${r.width}px`,height:`${r.height}px`},void 0,!0)],4)],2)}const lp=P(_N,[["render",gN],["__scopeId","data-v-05c4ead6"]]),Aae="",hN={name:"UnnnicSelectSmart",components:{TextInput:mc,SelectSmartOption:iN,SelectSmartMultipleHeader:fN,DropdownSkeleton:lp,UnnnicIconLoading:fi},directives:{onClickOutside:rl},mixins:[ra],props:{options:{type:Array,required:!0,default:()=>[{value:"",label:"Initial value"},{value:"option1",label:"Option1"},{value:"option2",label:"Option2"}]},modelValue:{type:Array,default:()=>[]},size:{type:String,default:"md"},type:{type:String,default:"normal",validator(e){return["normal","error","secondary"].indexOf(e)!==-1}},disabled:{type:Boolean,default:null},orderedByIndex:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},multipleWithoutSelectsMessage:{type:String,default:""},autocomplete:{type:Boolean,default:!1},autocompleteIconLeft:{type:Boolean,default:!1},autocompleteClearOnFocus:{type:Boolean,default:!1},selectFirst:{type:Boolean,default:!0},placeholder:{type:String,default:null},isLoading:{type:Boolean,default:!1},enableSearchByValue:{type:Boolean,default:!1},multipleLimit:{type:[Number,null],default:null},infiniteScroll:{type:Boolean,default:!1},infiniteScrollDistance:{type:Number,default:10},infiniteScrollCanLoadMore:{type:Function,default:()=>!0},disableInternalFilter:{type:Boolean,default:!1}},emits:["update:searchValue","onChange","update:modelValue","onActiveChange","scroll-end"],data(){return{active:!1,status:"not-mounted",focusedOption:null,searchValue:"",isAutocompleteAllowed:!1,multipleSelectedsTags:2,infiniteScrollReset:null,infiniteScrollLoading:!1,defaultTranslations:{without_results:{"pt-br":"Nenhum resultado encontrado",en:"No results found",es:"Ningún resultado encontrado"}}}},computed:{selectedLabel(){var a;if(this.status!=="mounted")return"";const e=this.options.find(i=>{const r=i.value===this.modelValue;return this.isAutocompleteAllowed?r&&i.value!=="":i.value===""&&this.modelValue.length===0||r});return e?e.label:this.multiple?this.modelValue.map(r=>r.label).join(", "):((a=this.modelValue.at(-1))==null?void 0:a.label)||""},hasDescriptionOptions(){return this.options.some(e=>typeof e.description<"u")},autocompletePlaceholder(){if(this.isAutocompleteAllowed){const e=this.options.find(n=>n.value==="");if(e)return e.label}return""},inputValue(){const{isAutocompleteAllowed:e,searchValue:n,multiple:a,modelValue:i}=this;return e||a?n:!a&&i.length!==0?i==null?void 0:i[0].label:""}},watch:{active(e){this.$refs["dropdown-skeleton"].calculatePosition(),this.$emit("onActiveChange",e),this.$nextTick(()=>{if(e&&!this.multiple){const n=this.getOptionIndex("active");n!==-1&&this.scrollToOption(n,"center")}e&&this.infiniteScroll&&this.setupInfiniteScroll()})},searchValue(e,n){this.focusedOption=null,!this.active&&n&&(this.active=!0),this.$emit("update:searchValue",e)},modelValue:{deep:!0,handler(e){this.$emit("onChange",e),this.$emit("update:modelValue",e),this.onSelectOption(e.at(-1))}},autocomplete(e){this.multiple||(this.isAutocompleteAllowed=e)}},mounted(){var e,n,a,i,r;this.status="mounted",(this.multiple||this.autocomplete)&&(this.isAutocompleteAllowed=!0),(e=this.modelValue)!=null&&e[0]&&((n=this.modelValue)!=null&&n[0].value)?this.isAutocompleteAllowed&&this.$nextTick(()=>{this.searchValue=this.selectedLabel}):this.selectFirst&&((a=this.options)!=null&&a[0])&&((i=this.options)!=null&&i[0].value)&&this.selectOption((r=this.options)==null?void 0:r[0]),this.setupInfiniteScroll()},beforeUnmount(){this.infiniteScrollReset&&this.infiniteScrollReset()},methods:{setupInfiniteScroll(){this.infiniteScroll&&this.$nextTick(()=>{const e=this.$refs.selectSmartOptionsScrollArea;if(!e)return;const{reset:n}=Ju(e,()=>{this.infiniteScrollLoading||(this.infiniteScrollLoading=!0,this.$emit("scroll-end"))},{distance:this.infiniteScrollDistance,canLoadMore:()=>this.infiniteScrollCanLoadMore()&&!this.infiniteScrollLoading});this.infiniteScrollReset=n})},finishInfiniteScroll(){this.infiniteScrollLoading=!1},resetInfiniteScroll(){this.infiniteScrollLoading=!1,this.infiniteScrollReset&&this.infiniteScrollReset()},optionIsSelected(e){return this.modelValue.some(n=>n.value===e.value)},handleSelect(e){if(e){if(this.multiple&&this.optionIsSelected(e)&&!e.disableRemove){this.unselectOption(e);return}if(this.multiple&&e.disableRemove&&this.optionIsSelected(e)||this.multipleLimit&&this.modelValue.length>=this.multipleLimit)return;this.selectOption(e)}},handleClickInput(){if(this.isAutocompleteAllowed){if(this.active)return;(this.autocompleteClearOnFocus||this.multiple)&&(this.searchValue="")}this.active=!this.active},filterOptions(e){if(this.disableInternalFilter)return e;const a=this.searchValue.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").split(" "),i=c=>c.toString().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),r=c=>{var d;return parseInt((d=c.match(/\d+/))==null?void 0:d[0],10)||0},s=e.filter(({value:c,label:d},_,g)=>{const h=i(d),p=g.findIndex(y=>y.value===c)===_,F=a.every(y=>{const A=h.includes(y),E=c.includes(y);return this.enableSearchByValue?A||E:A});return p&&F&&c});return this.orderedByIndex?s:s.sort((c,d)=>{const _=i(c.label),g=i(d.label),h=r(_),p=r(g);return h-p||_.localeCompare(g)})},onClickOutside(){this.active&&(this.isAutocompleteAllowed&&(this.searchValue=this.selectedLabel),this.$nextTick(()=>{this.active=!1}))},getOptionIndex(e){var i,r,s,u;const n=this.filterOptions(this.options);let a="";return e==="active"&&(a=(r=(i=this.modelValue)==null?void 0:i[0])==null?void 0:r.value),e==="focused"&&(a=((s=this.focusedOption)==null?void 0:s.value)||((u=this.modelValue.at(-1))==null?void 0:u.value)),n.findIndex(c=>c.value===a)},scrollToOption(e,n="nearest"){const a=this.$refs.selectSmartOptionsScrollArea;if(a&&e>=0&&e<a.childNodes.length){const i=a.childNodes[e];i instanceof HTMLElement&&(i==null||i.scrollIntoView({block:n}))}},selectOption(e){const n=e.value===null||e.value.length===0?null:e;this.$emit("update:modelValue",this.multiple?[...this.modelValue,n]:[n])},unselectOption(e){const n=this.modelValue.findIndex(a=>a.value===e.value);if(n!==-1){const a=this.modelValue;a.splice(n,1),this.$emit("update:modelValue",a)}this.multiple&&(this.searchValue="")},onSelectOption(e){if(this.$nextTick(()=>{this.multiple||(this.active=!1)}),this.isAutocompleteAllowed&&!this.multiple&&e&&e.label){this.searchValue=e.label;return}this.multiple&&(this.searchValue="")},async onKeyDownSelect(e){const{key:n}=e;if(["Escape","Enter","ArrowUp","ArrowDown"].includes(n)){e.preventDefault();const i=this.filterOptions(this.options),r=this.getOptionIndex("focused");let s;switch(n){case"Escape":this.active=!1,this.searchValue="";break;case"Enter":this.focusedOption&&this.active&&this.handleSelect(this.focusedOption),this.active||(this.active=!0);break;case"ArrowUp":case"ArrowDown":this.multiple&&!this.active&&(this.active=!0,await this.$nextTick()),s=n==="ArrowUp"?Math.max(r-1,0):Math.min(r+1,i.length-1),this.active||this.handleSelect(i[s]);break}s!==void 0&&this.active&&this.scrollToOption(s);const u=i[s===void 0?r:s];this.focusedOption=u}}}},mN={style:{overflow:"auto"}},pN={key:0,class:"unnnic-select-smart__options-infinite-loading"},FN={key:1,class:"unnnic-select-smart__options--no-results"};function bN(e,n,a,i,r,s){const u=t.resolveComponent("TextInput"),c=t.resolveComponent("SelectSmartMultipleHeader"),d=t.resolveComponent("UnnnicIconLoading"),_=t.resolveComponent("SelectSmartOption"),g=t.resolveComponent("DropdownSkeleton"),h=t.resolveDirective("on-click-outside");return t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-select-smart",{"unnnic-select-smart--secondary":a.type==="secondary"}]),"data-testid":"select-smart",onKeydown:n[1]||(n[1]=(...p)=>s.onKeyDownSelect&&s.onKeyDownSelect(...p))},[t.createVNode(g,{ref:"dropdown-skeleton",type:"manual",modelValue:r.active||null,position:"bottom"},{inside:t.withCtx(p=>[r.active?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({width:p.width}),class:t.normalizeClass({"unnnic-select-smart__options":!0,active:r.active,inactive:!r.active}),"data-testid":"options-container"},[t.createElementVNode("div",mN,[a.multiple?(t.openBlock(),t.createBlock(c,{key:0,selectedOptions:a.modelValue,withoutSelectsMessage:a.multipleWithoutSelectsMessage,locale:e.locale,translations:e.translations,onUnselectOption:s.unselectOption},null,8,["selectedOptions","withoutSelectsMessage","locale","translations","onUnselectOption"])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref:"selectSmartOptionsScrollArea","data-testid":"options-scroll-area",class:t.normalizeClass(["unnnic-select-smart__options__scroll-area",`size-${a.size}`,{"with-descriptions":s.hasDescriptionOptions,"with-checkboxes":!!a.multiple}])},[a.isLoading?(t.openBlock(),t.createBlock(d,{key:0,class:"unnnic-select-smart__options-loading",scheme:"neutral-dark",size:"sm"})):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.filterOptions(a.options),(F,y)=>(t.openBlock(),t.createBlock(_,{key:F.value,"data-testid":"option",label:F.label,description:F.description,tabindex:y,size:a.size,active:F.value===a.modelValue||s.optionIsSelected(F),disabled:s.optionIsSelected(F)&&F.disableRemove,focused:r.focusedOption&&r.focusedOption.value===F.value,allowCheckbox:!!a.multiple,activeColor:a.type==="secondary"?"secondary":"primary",onClick:A=>s.handleSelect(F)},null,8,["label","description","tabindex","size","active","disabled","focused","allowCheckbox","activeColor","onClick"]))),128)),a.infiniteScroll&&r.infiniteScrollLoading?(t.openBlock(),t.createElementBlock("div",pN,[t.createVNode(d,{scheme:"neutral-dark",size:"sm"})])):t.createCommentVNode("",!0),s.filterOptions(a.options).length===0?(t.openBlock(),t.createElementBlock("p",FN,t.toDisplayString(e.i18n("without_results")),1)):t.createCommentVNode("",!0)],64))],2)])],6)):t.createCommentVNode("",!0)]),default:t.withCtx(()=>[t.createVNode(u,{ref:"selectSmartInput",class:t.normalizeClass(["unnnic-select-smart__input",{"unnnic-select-smart__input--secondary":a.type==="secondary"}]),"data-testid":"select-smart-input",modelValue:s.inputValue,placeholder:a.placeholder||s.autocompletePlaceholder||s.selectedLabel,type:a.type,size:a.size,disabled:a.disabled,readonly:!r.isAutocompleteAllowed,iconLeft:r.isAutocompleteAllowed&&a.autocompleteIconLeft?"search-1":"",iconRight:r.active?"keyboard_arrow_up":"keyboard_arrow_down",iconRightSize:"ant",onClick:t.withModifiers(s.handleClickInput,["stop"]),"onUpdate:modelValue":n[0]||(n[0]=p=>r.searchValue=p)},null,8,["class","modelValue","placeholder","type","size","disabled","readonly","iconLeft","iconRight","onClick"])]),_:1},8,["modelValue"])],34)),[[h,s.onClickOutside]])}const Zd=P(hN,[["render",bN]]),yN={key:1,class:"unnnic-select__content-no-results"},wN={key:0,class:"unnnic-select__infinite-loading"},kN=t.defineComponent({name:"UnnnicSelect",mixins:[ra],__name:"index",props:{options:{},modelValue:{},returnObject:{type:Boolean,default:!1},itemLabel:{default:"label"},itemValue:{default:"value"},placeholder:{default:""},label:{default:""},type:{default:"normal"},errors:{default:""},message:{default:""},size:{default:"md"},optionsLines:{default:5},enableSearch:{type:Boolean,default:!1},search:{default:""},locale:{default:"en"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},infiniteScroll:{type:Boolean,default:!1},infiniteScrollDistance:{default:10},infiniteScrollCanLoadMore:{type:Function,default:()=>!0}},emits:["update:modelValue","update:search","scroll-end"],setup(e,{expose:n,emit:a}){const i=e,r=a,s=t.ref(!1),u=t.ref(null),{width:c}=j_(u),d=t.ref(null),_=t.ref(null),g=t.ref(!1),h=t.computed(()=>`${c.value}px`);t.watch(s,()=>{if(s.value?F.value=-1:C(""),s.value&&i.modelValue){const I=i.options.findIndex(K=>{var oe;return K[i.itemValue]===((oe=B.value)==null?void 0:oe[i.itemValue])});y(I,"instant","center")}s.value&&i.infiniteScroll&&t.nextTick(()=>{S()})});const p=I=>{const{key:K}=I;if(["ArrowUp","ArrowDown","Enter"].includes(K)){if(I.preventDefault(),K==="ArrowUp"){if(F.value===0)return;F.value--,y(F.value)}if(K==="ArrowDown"){if(F.value===T.value.length-1)return;F.value++,y(F.value)}K==="Enter"&&F.value!==-1&&k(T.value[F.value])}},F=t.ref(-1),y=(I,K="smooth",oe="center")=>{t.nextTick(()=>{var ce;const ee=document.querySelector(`[data-option-index="${I}"]`);ee&&((ce=ee.scrollIntoView)==null||ce.call(ee,{behavior:K,block:oe}))})},A=t.computed(()=>{if(!i.options||i.options.length===0)return"unset";const I=32,K=4,oe=37*i.optionsLines,ee=i.enableSearch?1:2,ce=oe+I+(K*i.optionsLines-ee);return`${i.enableSearch?ce+45+1:ce}px`}),E=t.computed(()=>{var K;const I=((K=T.value)==null?void 0:K.length)===0;return{overflow:"auto",display:"flex",flexDirection:"column",minHeight:A.value,maxHeight:I?"unset":A.value,height:I?A.value:"unset"}}),B=t.computed(()=>i.returnObject?i.modelValue:i.options.find(I=>I[i.itemValue]===i.modelValue)),x=t.computed(()=>{var I;return(I=B.value)==null?void 0:I[i.itemLabel]}),k=I=>{var K;I[i.itemValue]===((K=B.value)==null?void 0:K[i.itemValue])||I.disabled||(r("update:modelValue",i.returnObject?I:I[i.itemValue]),s.value=!1)},C=I=>{r("update:search",I)},T=t.computed(()=>!i.enableSearch||!i.search?i.options:i.options.filter(I=>{var K,oe;return I[i.itemLabel].toLowerCase().includes((K=i.search)==null?void 0:K.toLowerCase())||I[i.itemValue].toLowerCase().includes((oe=i.search)==null?void 0:oe.toLowerCase())})),S=()=>{i.infiniteScroll&&(_.value&&(_.value(),_.value=null),t.nextTick(()=>{const I=d.value;if(!I)return;const{reset:K}=Ju(I,()=>{g.value||(g.value=!0,r("scroll-end"))},{distance:i.infiniteScrollDistance,canLoadMore:()=>i.infiniteScrollCanLoadMore()&&!g.value});_.value=K}))},z=()=>{g.value=!1,s.value&&i.infiniteScroll&&t.nextTick(()=>{S()})},O=()=>{g.value=!1,_.value&&_.value(),s.value&&i.infiniteScroll&&t.nextTick(()=>{S()})};return t.onBeforeUnmount(()=>{_.value&&_.value()}),n({finishInfiniteScroll:z,resetInfiniteScroll:O}),(I,K)=>(t.openBlock(),t.createElementBlock("div",{class:"unnnic-select",onKeydown:p},[t.createVNode(t.unref(Er),{open:s.value,"onUpdate:open":K[1]||(K[1]=oe=>s.value=oe)},{default:t.withCtx(()=>[t.createVNode(t.unref(xr),{class:"w-full"},{default:t.withCtx(()=>[t.createVNode(_n,{ref_key:"selectInputRef",ref:u,modelValue:x.value,class:"unnnic-select__input",readonly:"",useFocusProp:"",focus:s.value,size:i.size,placeholder:i.placeholder,label:i.label,errors:i.errors,message:i.message,iconRight:s.value?"keyboard_arrow_up":"keyboard_arrow_down",disabled:i.disabled,showClear:!!B.value&&i.clearable,onClear:K[0]||(K[0]=oe=>r("update:modelValue",""))},null,8,["modelValue","focus","size","placeholder","label","errors","message","iconRight","disabled","showClear"])]),_:1}),t.createVNode(t.unref(Cr),{align:"start",class:t.normalizeClass("h-full"),style:t.normalizeStyle(E.value),width:h.value},{default:t.withCtx(()=>[t.createElementVNode("div",{ref_key:"contentRef",ref:d,class:"unnnic-select__content"},[i.enableSearch?(t.openBlock(),t.createBlock(_n,{key:0,class:"unnnic-select__input-search",modelValue:i.search,placeholder:I.$t("search"),iconLeft:"search","onUpdate:modelValue":C},null,8,["modelValue","placeholder"])):t.createCommentVNode("",!0),T.value.length===0?(t.openBlock(),t.createElementBlock("p",yN,t.toDisplayString(I.$t("without_results")),1)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(T.value,(oe,ee)=>{var ce;return t.openBlock(),t.createBlock(t.unref(al),{key:oe[i.itemValue],"data-option-index":ee,"data-testid":"select-option",label:oe[i.itemLabel],active:oe[i.itemValue]===((ce=B.value)==null?void 0:ce[i.itemValue]),focused:F.value===ee,disabled:oe.disabled,onClick:De=>k(oe)},null,8,["data-option-index","label","active","focused","disabled","onClick"])}),128)),i.infiniteScroll&&g.value?(t.openBlock(),t.createElementBlock("div",wN,[t.createVNode(fi,{scheme:"neutral-dark",size:"sm"})])):t.createCommentVNode("",!0)],64))],512)]),_:1},8,["style","width"])]),_:1},8,["open"])],32))}}),Eae="",Jd=P(kN,[["__scopeId","data-v-7159e00c"]]),Cae="",DN={name:"UnnicSelectItem",props:{size:{type:String,default:""},selectable:{type:Boolean,default:!0},active:{type:Boolean,default:!1},textFocused:{type:Boolean,default:!1}}};function AN(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-select-item":!0,"unnnic-select-item__active":a.active,"unnnic--clickable":a.selectable,"unnnic-select-item--selectable":a.selectable,"text-focused":a.textFocused}),onClick:n[0]||(n[0]=u=>e.$emit("click"))},[t.createElementVNode("span",{class:t.normalizeClass(["unnnic-select-item__label",`unnnic-select-item__label--${a.size}`])},[t.renderSlot(e.$slots,"default")],2)],2)}const $d=P(DN,[["render",AN]]),EN={class:t.normalizeClass(["unnnic-multi-select-option"])},CN=t.defineComponent({name:"UnnnicMultiSelectOption",__name:"MultSelectOption",props:{label:{},disabled:{type:Boolean,default:!1},active:{type:Boolean,default:!1},focused:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:n}){const a=n,i=e;return(r,s)=>(t.openBlock(),t.createElementBlock("div",EN,[t.createVNode(zi,{modelValue:i.active,disabled:i.disabled,label:i.label,"onUpdate:modelValue":s[0]||(s[0]=u=>a("update:modelValue",!i.active))},null,8,["modelValue","disabled","label"])]))}}),xae="",xN=P(CN,[["__scopeId","data-v-d730c9b5"]]),MN={class:"unnnic-multi-select"},BN={class:"unnnic-multi-select__content"},vN={key:1,class:"unnnic-multi-select__content-no-results"},jN={class:"unnnic-multi-select__options"},NN=t.defineComponent({name:"UnnnicMultiSelect",__name:"index",props:{options:{},modelValue:{},returnObject:{type:Boolean,default:!1},itemLabel:{default:"label"},itemValue:{default:"value"},placeholder:{default:""},label:{default:""},type:{default:"normal"},errors:{default:""},message:{default:""},size:{default:"md"},optionsLines:{default:5},enableSearch:{type:Boolean,default:!1},search:{default:""},locale:{default:"en"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1}},emits:["update:modelValue","update:search"],setup(e,{emit:n}){const a=e,i=t.ref(!1),r=t.ref(null),{width:s}=j_(r),u=t.computed(()=>`${s.value}px`),c=t.computed(()=>{var x;const B=((x=F.value)==null?void 0:x.length)===0;return{overflow:"auto",display:"flex",flexDirection:"column",minHeight:d.value,maxHeight:B?"unset":d.value,height:B?d.value:"unset"}}),d=t.computed(()=>{if(!a.options||a.options.length===0)return"unset";const B=a.enableSearch?16:0,x=24,C=22*a.optionsLines+(x*a.optionsLines-2);return`${a.enableSearch?C+51+B:C}px`}),_=n,g=t.ref(-1),h=t.computed(()=>{if(a.returnObject)return a.modelValue;const B=a.returnObject?a.modelValue.map(x=>x[a.itemValue]):a.modelValue;return a.options.filter(x=>B.includes(x[a.itemValue]))}),p=t.computed(()=>h.value.map(B=>B[a.itemLabel]).join(", ")),F=t.computed(()=>!a.enableSearch||!a.search?a.options:a.options.filter(B=>{var x,k;return B[a.itemLabel].toLowerCase().includes((x=a.search)==null?void 0:x.toLowerCase())||B[a.itemValue].toLowerCase().includes((k=a.search)==null?void 0:k.toLowerCase())})),y=B=>{_("update:search",B)},A=B=>a.returnObject?a.modelValue.find(x=>x[a.itemValue]===B[a.itemValue]):a.modelValue.includes(B[a.itemValue]),E=(B,x)=>{x?_("update:modelValue",a.returnObject?[...a.modelValue,B]:[...a.modelValue,B[a.itemValue]]):_("update:modelValue",a.returnObject?a.modelValue.filter(k=>k[a.itemValue]!==B[a.itemValue]):a.modelValue.filter(k=>k!==B[a.itemValue]))};return(B,x)=>(t.openBlock(),t.createElementBlock("div",MN,[t.createVNode(t.unref(Er),{open:i.value,"onUpdate:open":x[1]||(x[1]=k=>i.value=k)},{default:t.withCtx(()=>[t.createVNode(t.unref(xr),{class:"w-full"},{default:t.withCtx(()=>[t.createVNode(_n,{ref_key:"multiSelectInputRef",ref:r,modelValue:p.value,class:"unnnic-multi-select__input",readonly:"",useFocusProp:"",focus:i.value,size:a.size,placeholder:a.placeholder,label:a.label,errors:a.errors,message:a.message,iconRight:i.value?"keyboard_arrow_up":"keyboard_arrow_down",disabled:a.disabled,showClear:!!h.value.length&&a.clearable,onClear:x[0]||(x[0]=k=>_("update:modelValue",[]))},null,8,["modelValue","focus","size","placeholder","label","errors","message","iconRight","disabled","showClear"])]),_:1}),t.createVNode(t.unref(Cr),{align:"start",class:"h-full",style:t.normalizeStyle(c.value),width:u.value},{default:t.withCtx(()=>[t.createElementVNode("div",BN,[a.enableSearch?(t.openBlock(),t.createBlock(_n,{key:0,class:"unnnic-multi-select__input-search",modelValue:a.search,placeholder:B.$t("search"),iconLeft:"search","onUpdate:modelValue":y},null,8,["modelValue","placeholder"])):t.createCommentVNode("",!0),F.value.length===0?(t.openBlock(),t.createElementBlock("p",vN,t.toDisplayString(B.$t("without_results")),1)):t.createCommentVNode("",!0),t.createElementVNode("div",jN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.value,(k,C)=>(t.openBlock(),t.createBlock(xN,{key:k[a.itemValue],"data-option-index":C,label:k[a.itemLabel],active:A(k),focused:g.value===C,disabled:k.disabled,"onUpdate:modelValue":T=>E(k,T)},null,8,["data-option-index","label","active","focused","disabled","onUpdate:modelValue"]))),128))])])]),_:1},8,["style","width"])]),_:1},8,["open"])]))}}),Mae="",e1=P(NN,[["__scopeId","data-v-98ba476b"]]),Bae="",TN={components:{UnnnicIcon:ue},props:{open:{type:Boolean,default:!1},title:{type:String}},data(){return{height:0,setHeightToNull:null}},watch:{open(e){clearTimeout(this.setHeightToNull),e?(this.height=`${this.$refs.content.scrollHeight}px`,this.setHeightToNull=setTimeout(()=>{this.height=null},200)):(this.height=`${this.$refs.content.scrollHeight}px`,setTimeout(()=>{this.height=0},0))}},mounted(){this.open&&(this.height=null)}},SN={class:"header"},IN={class:"actions"};function ON(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:"unnnic-accordion",onClick:n[0]||(n[0]=c=>e.$emit("update:open",!a.open))},[t.createElementVNode("div",SN,[t.createVNode(u,{icon:a.open?"subtract-circle-1":"add-circle-1",scheme:"neutral-clean",size:"md"},null,8,["icon"]),t.createElementVNode("div",{class:t.normalizeClass(["title",{open:a.open}])},t.toDisplayString(a.title),3),t.withDirectives(t.createElementVNode("div",IN,[t.renderSlot(e.$slots,"actions",{},void 0,!0)],512),[[t.vShow,a.open]])]),t.createElementVNode("div",{ref:"content",class:t.normalizeClass(["content",{open:a.open}]),style:t.normalizeStyle({height:r.height})},[t.renderSlot(e.$slots,"default",{},void 0,!0)],6)])}const t1=P(TN,[["render",ON],["__scopeId","data-v-ae70d9af"]]),vae="",LN={name:"UnnnicIndicator",props:{numberOfSteps:{type:Number,required:!0},titles:{type:Array,default:()=>[]},currentStep:{type:Number,default:0}},methods:{titleForStep(e){try{return this.titles[e-1]}catch{return null}}}},zN={class:"weni-step-indicator"},qN={class:"weni-step-indicator__label"};function PN(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("div",zN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.numberOfSteps,u=>(t.openBlock(),t.createElementBlock("div",{key:u,class:t.normalizeClass({"weni-step-indicator__step__wrapper":!0,"weni-step-indicator--has-separator":u>1})},[u!==1?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass({"weni-step-indicator__step__separator":!0,"weni-step-indicator__step__separator--active":u<=a.currentStep})},null,2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass({"weni-step-indicator__step":!0,"weni-step-indicator__step--active":u<=a.currentStep})},[t.createElementVNode("span",qN,t.toDisplayString(s.titleForStep(u)),1)],2)],2))),128))])}const a1=P(LN,[["render",PN],["__scopeId","data-v-2caaee7c"]]),VN=`:export{unnnicColorBackgroundSolo:#EFFEFC}.color-background-solo{color:#effefc}.bg-background-solo{background-color:#effefc}.color-background-sky{color:#f6f7f9}.bg-background-sky{background-color:#f6f7f9}.color-background-grass{color:#f6f7f9}.bg-background-grass{background-color:#f6f7f9}.color-background-carpet{color:#f6f7f9}.bg-background-carpet{background-color:#f6f7f9}.color-background-snow{color:#fff}.bg-background-snow{background-color:#fff}.color-background-lightest{color:#f6f7f9}.bg-background-lightest{background-color:#f6f7f9}.color-background-white{color:#fff}.bg-background-white{background-color:#fff}.color-neutral-black{color:#353945}.bg-neutral-black{background-color:#353945}.color-neutral-darkest{color:#3b4151}.bg-neutral-darkest{background-color:#3b4151}.color-neutral-dark{color:#454d5f}.bg-neutral-dark{background-color:#454d5f}.color-neutral-cloudy{color:#67738b}.bg-neutral-cloudy{background-color:#67738b}.color-neutral-cleanest{color:#d6d9e1}.bg-neutral-cleanest{background-color:#d6d9e1}.color-neutral-clean{color:#b2b9c7}.bg-neutral-clean{background-color:#b2b9c7}.color-neutral-soft{color:#eceef2}.bg-neutral-soft{background-color:#eceef2}.color-neutral-lightest{color:#f6f7f9}.bg-neutral-lightest{background-color:#f6f7f9}.color-neutral-light{color:#f6f7f9}.bg-neutral-light{background-color:#f6f7f9}.color-neutral-white{color:#fff}.bg-neutral-white{background-color:#fff}.color-neutral-snow{color:#fff}.bg-neutral-snow{background-color:#fff}.color-feedback-red{color:#ff4545}.bg-feedback-red{background-color:#ff4545}.color-feedback-green{color:#47d66f}.bg-feedback-green{background-color:#47d66f}.color-feedback-yellow{color:#fdba38}.bg-feedback-yellow{background-color:#fdba38}.color-feedback-blue{color:#2856fc}.bg-feedback-blue{background-color:#2856fc}.color-feedback-grey{color:#ececec}.bg-feedback-grey{background-color:#ececec}.color-aux-blue{color:#00ded3}.bg-aux-blue{background-color:#00ded3}.color-aux-purple{color:#8416de}.bg-aux-purple{background-color:#8416de}.color-aux-orange{color:#f4691f}.bg-aux-orange{background-color:#f4691f}.color-aux-lemon{color:#ccde0b}.bg-aux-lemon{background-color:#ccde0b}.color-aux-pink{color:#de16ba}.bg-aux-pink{background-color:#de16ba}.color-aux-baby-blue{color:#8edef5}.bg-aux-baby-blue{background-color:#8edef5}.color-aux-baby-yellow{color:#fbf391}.bg-aux-baby-yellow{background-color:#fbf391}.color-aux-baby-red{color:#f48e8e}.bg-aux-baby-red{background-color:#f48e8e}.color-aux-baby-green{color:#b2fca6}.bg-aux-baby-green{background-color:#b2fca6}.color-aux-baby-pink{color:#ffcbf6}.bg-aux-baby-pink{background-color:#ffcbf6}.color-aux-green-50{color:#f0f9f3}.bg-aux-green-50{background-color:#f0f9f3}.color-aux-green-100{color:#daf1e0}.bg-aux-green-100{background-color:#daf1e0}.color-aux-green-200{color:#b7e3c6}.bg-aux-green-200{background-color:#b7e3c6}.color-aux-green-300{color:#88cda4}.bg-aux-green-300{background-color:#88cda4}.color-aux-green-400{color:#56b17e}.bg-aux-green-400{background-color:#56b17e}.color-aux-green-500{color:#38a169}.bg-aux-green-500{background-color:#38a169}.color-aux-green-600{color:#24774c}.bg-aux-green-600{background-color:#24774c}.color-aux-green-700{color:#1d5f3f}.bg-aux-green-700{background-color:#1d5f3f}.color-aux-green-800{color:#194c34}.bg-aux-green-800{background-color:#194c34}.color-aux-green-900{color:#153f2c}.bg-aux-green-900{background-color:#153f2c}.color-aux-green-950{color:#0b2318}.bg-aux-green-950{background-color:#0b2318}.color-aux-blue-50{color:#f2f7fd}.bg-aux-blue-50{background-color:#f2f7fd}.color-aux-blue-100{color:#e5eef9}.bg-aux-blue-100{background-color:#e5eef9}.color-aux-blue-200{color:#c4dbf3}.bg-aux-blue-200{background-color:#c4dbf3}.color-aux-blue-300{color:#90bde9}.bg-aux-blue-300{background-color:#90bde9}.color-aux-blue-400{color:#559bdb}.bg-aux-blue-400{background-color:#559bdb}.color-aux-blue-500{color:#3182ce}.bg-aux-blue-500{background-color:#3182ce}.color-aux-blue-600{color:#3182ce}.bg-aux-blue-600{background-color:#3182ce}.color-aux-blue-700{color:#1b4f89}.bg-aux-blue-700{background-color:#1b4f89}.color-aux-blue-800{color:#1a4472}.bg-aux-blue-800{background-color:#1a4472}.color-aux-blue-900{color:#1b3a5f}.bg-aux-blue-900{background-color:#1b3a5f}.color-aux-blue-950{color:#12253f}.bg-aux-blue-950{background-color:#12253f}.color-aux-purple-50{color:#f6f5fd}.bg-aux-purple-50{background-color:#f6f5fd}.color-aux-purple-100{color:#eeecfb}.bg-aux-purple-100{background-color:#eeecfb}.color-aux-purple-200{color:#dfdcf8}.bg-aux-purple-200{background-color:#dfdcf8}.color-aux-purple-300{color:#c7bff3}.bg-aux-purple-300{background-color:#c7bff3}.color-aux-purple-400{color:#aa9bea}.bg-aux-purple-400{background-color:#aa9bea}.color-aux-purple-500{color:#8d72e0}.bg-aux-purple-500{background-color:#8d72e0}.color-aux-purple-600{color:#805ad5}.bg-aux-purple-600{background-color:#805ad5}.color-aux-purple-700{color:#6b41c0}.bg-aux-purple-700{background-color:#6b41c0}.color-aux-purple-800{color:#5a36a1}.bg-aux-purple-800{background-color:#5a36a1}.color-aux-purple-900{color:#4b2e84}.bg-aux-purple-900{background-color:#4b2e84}.color-aux-purple-950{color:#2e1c59}.bg-aux-purple-950{background-color:#2e1c59}.color-aux-red-50{color:#fdf3f3}.bg-aux-red-50{background-color:#fdf3f3}.color-aux-red-100{color:#fde3e3}.bg-aux-red-100{background-color:#fde3e3}.color-aux-red-200{color:#fccccc}.bg-aux-red-200{background-color:#fccccc}.color-aux-red-300{color:#f8a9a9}.bg-aux-red-300{background-color:#f8a9a9}.color-aux-red-400{color:#f27777}.bg-aux-red-400{background-color:#f27777}.color-aux-red-500{color:#e53e3e}.bg-aux-red-500{background-color:#e53e3e}.color-aux-red-600{color:#d32f2f}.bg-aux-red-600{background-color:#d32f2f}.color-aux-red-700{color:#b22323}.bg-aux-red-700{background-color:#b22323}.color-aux-red-800{color:#932121}.bg-aux-red-800{background-color:#932121}.color-aux-red-900{color:#7a2222}.bg-aux-red-900{background-color:#7a2222}.color-aux-red-950{color:#420d0d}.bg-aux-red-950{background-color:#420d0d}.color-aux-orange-50{color:#fdf8ef}.bg-aux-orange-50{background-color:#fdf8ef}.color-aux-orange-100{color:#fbeed9}.bg-aux-orange-100{background-color:#fbeed9}.color-aux-orange-200{color:#f7dab1}.bg-aux-orange-200{background-color:#f7dab1}.color-aux-orange-300{color:#f1c080}.bg-aux-orange-300{background-color:#f1c080}.color-aux-orange-400{color:#eb9d4c}.bg-aux-orange-400{background-color:#eb9d4c}.color-aux-orange-500{color:#e5812a}.bg-aux-orange-500{background-color:#e5812a}.color-aux-orange-600{color:#dd6b20}.bg-aux-orange-600{background-color:#dd6b20}.color-aux-orange-700{color:#b2501c}.bg-aux-orange-700{background-color:#b2501c}.color-aux-orange-800{color:#8e401e}.bg-aux-orange-800{background-color:#8e401e}.color-aux-orange-900{color:#73361b}.bg-aux-orange-900{background-color:#73361b}.color-aux-orange-950{color:#3e1a0c}.bg-aux-orange-950{background-color:#3e1a0c}.color-aux-yellow-50{color:#fbf7eb}.bg-aux-yellow-50{background-color:#fbf7eb}.color-aux-yellow-100{color:#f5edcc}.bg-aux-yellow-100{background-color:#f5edcc}.color-aux-yellow-200{color:#edd89b}.bg-aux-yellow-200{background-color:#edd89b}.color-aux-yellow-300{color:#e2bc62}.bg-aux-yellow-300{background-color:#e2bc62}.color-aux-yellow-400{color:#d69e2e}.bg-aux-yellow-400{background-color:#d69e2e}.color-aux-yellow-500{color:#c88d2a}.bg-aux-yellow-500{background-color:#c88d2a}.color-aux-yellow-600{color:#ac6e22}.bg-aux-yellow-600{background-color:#ac6e22}.color-aux-yellow-700{color:#8a501e}.bg-aux-yellow-700{background-color:#8a501e}.color-aux-yellow-800{color:#734120}.bg-aux-yellow-800{background-color:#734120}.color-aux-yellow-900{color:#633720}.bg-aux-yellow-900{background-color:#633720}.color-aux-yellow-950{color:#391b0f}.bg-aux-yellow-950{background-color:#391b0f}.color-floweditor-blue{color:#0080a3}.bg-floweditor-blue{background-color:#0080a3}.color-floweditor-purple{color:#7a00a3}.bg-floweditor-purple{background-color:#7a00a3}.color-floweditor-wine{color:#a3006a}.bg-floweditor-wine{background-color:#a3006a}.color-floweditor-orange{color:#f99707}.bg-floweditor-orange{background-color:#f99707}.color-floweditor-pink{color:#de16ba}.bg-floweditor-pink{background-color:#de16ba}.color-floweditor-turquoise{color:#04c8bd}.bg-floweditor-turquoise{background-color:#04c8bd}.color-floweditor-green{color:#00a339}.bg-floweditor-green{background-color:#00a339}.color-weni-50{color:#effefc}.bg-weni-50{background-color:#effefc}.color-weni-100{color:#c7fff7}.bg-weni-100{background-color:#c7fff7}.color-weni-200{color:#90ffef}.bg-weni-200{background-color:#90ffef}.color-weni-300{color:#51f7e7}.bg-weni-300{background-color:#51f7e7}.color-weni-400{color:#1de4d7}.bg-weni-400{background-color:#1de4d7}.color-weni-500{color:#04c8bd}.bg-weni-500{background-color:#04c8bd}.color-weni-600{color:#00a49f}.bg-weni-600{background-color:#00a49f}.color-weni-700{color:#05807d}.bg-weni-700{background-color:#05807d}.color-weni-800{color:#0a6564}.bg-weni-800{background-color:#0a6564}.color-weni-900{color:#0d5453}.bg-weni-900{background-color:#0d5453}.color-weni-950{color:#003133}.bg-weni-950{background-color:#003133}.color-brand-weni{color:#00a49f}.bg-brand-weni{background-color:#00a49f}.color-brand-weni-dark{color:#0a6564}.bg-brand-weni-dark{background-color:#0a6564}.color-brand-weni-soft{color:#00a49f}.bg-brand-weni-soft{background-color:#00a49f}.color-brand-sec-dark{color:#353945}.bg-brand-sec-dark{background-color:#353945}.color-brand-sec-soft{color:#454d5f}.bg-brand-sec-soft{background-color:#454d5f}.color-brand-sec{color:#d6d9e1}.bg-brand-sec{background-color:#d6d9e1}.u.color-background-solo{color:#effefc}.u.bg-background-solo{background-color:#effefc}.u.color-background-sky{color:#f6f7f9}.u.bg-background-sky{background-color:#f6f7f9}.u.color-background-grass{color:#f6f7f9}.u.bg-background-grass{background-color:#f6f7f9}.u.color-background-carpet{color:#f6f7f9}.u.bg-background-carpet{background-color:#f6f7f9}.u.color-background-snow{color:#fff}.u.bg-background-snow{background-color:#fff}.u.color-background-lightest{color:#f6f7f9}.u.bg-background-lightest{background-color:#f6f7f9}.u.color-background-white{color:#fff}.u.bg-background-white{background-color:#fff}.u.color-neutral-black{color:#353945}.u.bg-neutral-black{background-color:#353945}.u.color-neutral-darkest{color:#3b4151}.u.bg-neutral-darkest{background-color:#3b4151}.u.color-neutral-dark{color:#454d5f}.u.bg-neutral-dark{background-color:#454d5f}.u.color-neutral-cloudy{color:#67738b}.u.bg-neutral-cloudy{background-color:#67738b}.u.color-neutral-cleanest{color:#d6d9e1}.u.bg-neutral-cleanest{background-color:#d6d9e1}.u.color-neutral-clean{color:#b2b9c7}.u.bg-neutral-clean{background-color:#b2b9c7}.u.color-neutral-soft{color:#eceef2}.u.bg-neutral-soft{background-color:#eceef2}.u.color-neutral-lightest{color:#f6f7f9}.u.bg-neutral-lightest{background-color:#f6f7f9}.u.color-neutral-light{color:#f6f7f9}.u.bg-neutral-light{background-color:#f6f7f9}.u.color-neutral-white{color:#fff}.u.bg-neutral-white{background-color:#fff}.u.color-neutral-snow{color:#fff}.u.bg-neutral-snow{background-color:#fff}.u.color-feedback-red{color:#ff4545}.u.bg-feedback-red{background-color:#ff4545}.u.color-feedback-green{color:#47d66f}.u.bg-feedback-green{background-color:#47d66f}.u.color-feedback-yellow{color:#fdba38}.u.bg-feedback-yellow{background-color:#fdba38}.u.color-feedback-blue{color:#2856fc}.u.bg-feedback-blue{background-color:#2856fc}.u.color-feedback-grey{color:#ececec}.u.bg-feedback-grey{background-color:#ececec}.u.color-aux-blue{color:#00ded3}.u.bg-aux-blue{background-color:#00ded3}.u.color-aux-purple{color:#8416de}.u.bg-aux-purple{background-color:#8416de}.u.color-aux-orange{color:#f4691f}.u.bg-aux-orange{background-color:#f4691f}.u.color-aux-lemon{color:#ccde0b}.u.bg-aux-lemon{background-color:#ccde0b}.u.color-aux-pink{color:#de16ba}.u.bg-aux-pink{background-color:#de16ba}.u.color-aux-baby-blue{color:#8edef5}.u.bg-aux-baby-blue{background-color:#8edef5}.u.color-aux-baby-yellow{color:#fbf391}.u.bg-aux-baby-yellow{background-color:#fbf391}.u.color-aux-baby-red{color:#f48e8e}.u.bg-aux-baby-red{background-color:#f48e8e}.u.color-aux-baby-green{color:#b2fca6}.u.bg-aux-baby-green{background-color:#b2fca6}.u.color-aux-baby-pink{color:#ffcbf6}.u.bg-aux-baby-pink{background-color:#ffcbf6}.u.color-aux-green-50{color:#f0f9f3}.u.bg-aux-green-50{background-color:#f0f9f3}.u.color-aux-green-100{color:#daf1e0}.u.bg-aux-green-100{background-color:#daf1e0}.u.color-aux-green-200{color:#b7e3c6}.u.bg-aux-green-200{background-color:#b7e3c6}.u.color-aux-green-300{color:#88cda4}.u.bg-aux-green-300{background-color:#88cda4}.u.color-aux-green-400{color:#56b17e}.u.bg-aux-green-400{background-color:#56b17e}.u.color-aux-green-500{color:#38a169}.u.bg-aux-green-500{background-color:#38a169}.u.color-aux-green-600{color:#24774c}.u.bg-aux-green-600{background-color:#24774c}.u.color-aux-green-700{color:#1d5f3f}.u.bg-aux-green-700{background-color:#1d5f3f}.u.color-aux-green-800{color:#194c34}.u.bg-aux-green-800{background-color:#194c34}.u.color-aux-green-900{color:#153f2c}.u.bg-aux-green-900{background-color:#153f2c}.u.color-aux-green-950{color:#0b2318}.u.bg-aux-green-950{background-color:#0b2318}.u.color-aux-blue-50{color:#f2f7fd}.u.bg-aux-blue-50{background-color:#f2f7fd}.u.color-aux-blue-100{color:#e5eef9}.u.bg-aux-blue-100{background-color:#e5eef9}.u.color-aux-blue-200{color:#c4dbf3}.u.bg-aux-blue-200{background-color:#c4dbf3}.u.color-aux-blue-300{color:#90bde9}.u.bg-aux-blue-300{background-color:#90bde9}.u.color-aux-blue-400{color:#559bdb}.u.bg-aux-blue-400{background-color:#559bdb}.u.color-aux-blue-500{color:#3182ce}.u.bg-aux-blue-500{background-color:#3182ce}.u.color-aux-blue-600{color:#3182ce}.u.bg-aux-blue-600{background-color:#3182ce}.u.color-aux-blue-700{color:#1b4f89}.u.bg-aux-blue-700{background-color:#1b4f89}.u.color-aux-blue-800{color:#1a4472}.u.bg-aux-blue-800{background-color:#1a4472}.u.color-aux-blue-900{color:#1b3a5f}.u.bg-aux-blue-900{background-color:#1b3a5f}.u.color-aux-blue-950{color:#12253f}.u.bg-aux-blue-950{background-color:#12253f}.u.color-aux-purple-50{color:#f6f5fd}.u.bg-aux-purple-50{background-color:#f6f5fd}.u.color-aux-purple-100{color:#eeecfb}.u.bg-aux-purple-100{background-color:#eeecfb}.u.color-aux-purple-200{color:#dfdcf8}.u.bg-aux-purple-200{background-color:#dfdcf8}.u.color-aux-purple-300{color:#c7bff3}.u.bg-aux-purple-300{background-color:#c7bff3}.u.color-aux-purple-400{color:#aa9bea}.u.bg-aux-purple-400{background-color:#aa9bea}.u.color-aux-purple-500{color:#8d72e0}.u.bg-aux-purple-500{background-color:#8d72e0}.u.color-aux-purple-600{color:#805ad5}.u.bg-aux-purple-600{background-color:#805ad5}.u.color-aux-purple-700{color:#6b41c0}.u.bg-aux-purple-700{background-color:#6b41c0}.u.color-aux-purple-800{color:#5a36a1}.u.bg-aux-purple-800{background-color:#5a36a1}.u.color-aux-purple-900{color:#4b2e84}.u.bg-aux-purple-900{background-color:#4b2e84}.u.color-aux-purple-950{color:#2e1c59}.u.bg-aux-purple-950{background-color:#2e1c59}.u.color-aux-red-50{color:#fdf3f3}.u.bg-aux-red-50{background-color:#fdf3f3}.u.color-aux-red-100{color:#fde3e3}.u.bg-aux-red-100{background-color:#fde3e3}.u.color-aux-red-200{color:#fccccc}.u.bg-aux-red-200{background-color:#fccccc}.u.color-aux-red-300{color:#f8a9a9}.u.bg-aux-red-300{background-color:#f8a9a9}.u.color-aux-red-400{color:#f27777}.u.bg-aux-red-400{background-color:#f27777}.u.color-aux-red-500{color:#e53e3e}.u.bg-aux-red-500{background-color:#e53e3e}.u.color-aux-red-600{color:#d32f2f}.u.bg-aux-red-600{background-color:#d32f2f}.u.color-aux-red-700{color:#b22323}.u.bg-aux-red-700{background-color:#b22323}.u.color-aux-red-800{color:#932121}.u.bg-aux-red-800{background-color:#932121}.u.color-aux-red-900{color:#7a2222}.u.bg-aux-red-900{background-color:#7a2222}.u.color-aux-red-950{color:#420d0d}.u.bg-aux-red-950{background-color:#420d0d}.u.color-aux-orange-50{color:#fdf8ef}.u.bg-aux-orange-50{background-color:#fdf8ef}.u.color-aux-orange-100{color:#fbeed9}.u.bg-aux-orange-100{background-color:#fbeed9}.u.color-aux-orange-200{color:#f7dab1}.u.bg-aux-orange-200{background-color:#f7dab1}.u.color-aux-orange-300{color:#f1c080}.u.bg-aux-orange-300{background-color:#f1c080}.u.color-aux-orange-400{color:#eb9d4c}.u.bg-aux-orange-400{background-color:#eb9d4c}.u.color-aux-orange-500{color:#e5812a}.u.bg-aux-orange-500{background-color:#e5812a}.u.color-aux-orange-600{color:#dd6b20}.u.bg-aux-orange-600{background-color:#dd6b20}.u.color-aux-orange-700{color:#b2501c}.u.bg-aux-orange-700{background-color:#b2501c}.u.color-aux-orange-800{color:#8e401e}.u.bg-aux-orange-800{background-color:#8e401e}.u.color-aux-orange-900{color:#73361b}.u.bg-aux-orange-900{background-color:#73361b}.u.color-aux-orange-950{color:#3e1a0c}.u.bg-aux-orange-950{background-color:#3e1a0c}.u.color-aux-yellow-50{color:#fbf7eb}.u.bg-aux-yellow-50{background-color:#fbf7eb}.u.color-aux-yellow-100{color:#f5edcc}.u.bg-aux-yellow-100{background-color:#f5edcc}.u.color-aux-yellow-200{color:#edd89b}.u.bg-aux-yellow-200{background-color:#edd89b}.u.color-aux-yellow-300{color:#e2bc62}.u.bg-aux-yellow-300{background-color:#e2bc62}.u.color-aux-yellow-400{color:#d69e2e}.u.bg-aux-yellow-400{background-color:#d69e2e}.u.color-aux-yellow-500{color:#c88d2a}.u.bg-aux-yellow-500{background-color:#c88d2a}.u.color-aux-yellow-600{color:#ac6e22}.u.bg-aux-yellow-600{background-color:#ac6e22}.u.color-aux-yellow-700{color:#8a501e}.u.bg-aux-yellow-700{background-color:#8a501e}.u.color-aux-yellow-800{color:#734120}.u.bg-aux-yellow-800{background-color:#734120}.u.color-aux-yellow-900{color:#633720}.u.bg-aux-yellow-900{background-color:#633720}.u.color-aux-yellow-950{color:#391b0f}.u.bg-aux-yellow-950{background-color:#391b0f}.u.color-floweditor-blue{color:#0080a3}.u.bg-floweditor-blue{background-color:#0080a3}.u.color-floweditor-purple{color:#7a00a3}.u.bg-floweditor-purple{background-color:#7a00a3}.u.color-floweditor-wine{color:#a3006a}.u.bg-floweditor-wine{background-color:#a3006a}.u.color-floweditor-orange{color:#f99707}.u.bg-floweditor-orange{background-color:#f99707}.u.color-floweditor-pink{color:#de16ba}.u.bg-floweditor-pink{background-color:#de16ba}.u.color-floweditor-turquoise{color:#04c8bd}.u.bg-floweditor-turquoise{background-color:#04c8bd}.u.color-floweditor-green{color:#00a339}.u.bg-floweditor-green{background-color:#00a339}.u.color-weni-50{color:#effefc}.u.bg-weni-50{background-color:#effefc}.u.color-weni-100{color:#c7fff7}.u.bg-weni-100{background-color:#c7fff7}.u.color-weni-200{color:#90ffef}.u.bg-weni-200{background-color:#90ffef}.u.color-weni-300{color:#51f7e7}.u.bg-weni-300{background-color:#51f7e7}.u.color-weni-400{color:#1de4d7}.u.bg-weni-400{background-color:#1de4d7}.u.color-weni-500{color:#04c8bd}.u.bg-weni-500{background-color:#04c8bd}.u.color-weni-600{color:#00a49f}.u.bg-weni-600{background-color:#00a49f}.u.color-weni-700{color:#05807d}.u.bg-weni-700{background-color:#05807d}.u.color-weni-800{color:#0a6564}.u.bg-weni-800{background-color:#0a6564}.u.color-weni-900{color:#0d5453}.u.bg-weni-900{background-color:#0d5453}.u.color-weni-950{color:#003133}.u.bg-weni-950{background-color:#003133}.u.color-brand-weni{color:#00a49f}.u.bg-brand-weni{background-color:#00a49f}.u.color-brand-weni-dark{color:#0a6564}.u.bg-brand-weni-dark{background-color:#0a6564}.u.color-brand-weni-soft{color:#00a49f}.u.bg-brand-weni-soft{background-color:#00a49f}.u.color-brand-sec-dark{color:#353945}.u.bg-brand-sec-dark{background-color:#353945}.u.color-brand-sec-soft{color:#454d5f}.u.bg-brand-sec-soft{background-color:#454d5f}.u.color-brand-sec{color:#d6d9e1}.u.bg-brand-sec{background-color:#d6d9e1}
65
+ */const vC="9.14.5";function jC(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(qn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(qn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(qn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(qn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(qn().__INTLIFY_PROD_DEVTOOLS__=!1)}const Cm=ia.__EXTEND_POINT__,Vn=Hs(Cm),Dt={FALLBACK_TO_ROOT:Cm,NOT_SUPPORTED_PRESERVE:Vn(),NOT_SUPPORTED_FORMATTER:Vn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Vn(),NOT_SUPPORTED_GET_CHOICE_INDEX:Vn(),COMPONENT_NAME_LEGACY_COMPATIBLE:Vn(),NOT_FOUND_PARENT_SCOPE:Vn(),IGNORE_OBJ_FLATTEN:Vn(),NOTICE_DROP_ALLOW_COMPOSITION:Vn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Vn()},NC={[Dt.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[Dt.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[Dt.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[Dt.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[Dt.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[Dt.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[Dt.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[Dt.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[Dt.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[Dt.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function ca(e,...n){return Zc(NC[e],...n)}const xm=Gt.__EXTEND_POINT__,da=Hs(xm),$e={UNEXPECTED_RETURN_TYPE:xm,INVALID_ARGUMENT:da(),MUST_BE_CALL_SETUP_TOP:da(),NOT_INSTALLED:da(),NOT_AVAILABLE_IN_LEGACY_MODE:da(),REQUIRED_VALUE:da(),INVALID_VALUE:da(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:da(),NOT_INSTALLED_WITH_PROVIDE:da(),UNEXPECTED_ERROR:da(),NOT_COMPATIBLE_LEGACY_VUE_I18N:da(),BRIDGE_SUPPORT_VUE_2_ONLY:da(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:da(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:da(),__EXTEND_POINT__:da()};function Vt(e,...n){return br(e,null,process.env.NODE_ENV!=="production"?{messages:TC,args:n}:void 0)}const TC={[$e.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[$e.INVALID_ARGUMENT]:"Invalid argument",[$e.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[$e.NOT_INSTALLED]:"Need to install with `app.use` function",[$e.UNEXPECTED_ERROR]:"Unexpected error",[$e.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[$e.REQUIRED_VALUE]:"Required in value: {0}",[$e.INVALID_VALUE]:"Invalid value",[$e.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[$e.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[$e.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[$e.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[$e.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[$e.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},dd=Fn("__translateVNode"),fd=Fn("__datetimeParts"),_d=Fn("__numberParts"),Oi=Fn("__enableEmitter"),wo=Fn("__disableEmitter"),Mm=Fn("__setPluralRules"),Bm=Fn("__injectWithOption"),gd=Fn("__dispose");function ko(e){if(!Xe(e)||Na(e))return e;for(const n in e)if(Ja(e,n))if(!n.includes("."))Xe(e[n])&&ko(e[n]);else{const a=n.split("."),i=a.length-1;let r=e,s=!1;for(let u=0;u<i;u++){if(a[u]==="__proto__")throw new Error(`unsafe key: ${a[u]}`);if(a[u]in r||(r[a[u]]=ct()),!Xe(r[a[u]])){process.env.NODE_ENV!=="production"&&Ot(ca(Dt.IGNORE_OBJ_FLATTEN,{key:a[u]})),s=!0;break}r=r[a[u]]}if(s||(Na(r)?Uh.includes(a[i])||delete e[n]:(r[a[i]]=e[n],delete e[n])),!Na(r)){const u=r[a[i]];Xe(u)&&ko(u)}}return e}function el(e,n){const{messages:a,__i18n:i,messageResolver:r,flatJson:s}=n,u=Be(a)?a:pt(i)?ct():{[e]:ct()};if(pt(i)&&i.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:d,resource:_}=c;d?(u[d]=u[d]||ct(),Qs(_,u[d])):Qs(_,u)}else le(c)&&Qs(JSON.parse(c),u)}),r==null&&s)for(const c in u)Ja(u,c)&&ko(u[c]);return u}function vm(e){return e.type}function jm(e,n,a){let i=Xe(n.messages)?n.messages:ct();"__i18nGlobal"in a&&(i=el(e.locale.value,{messages:i,__i18n:a.__i18nGlobal}));const r=Object.keys(i);r.length&&r.forEach(s=>{e.mergeLocaleMessage(s,i[s])});{if(Xe(n.datetimeFormats)){const s=Object.keys(n.datetimeFormats);s.length&&s.forEach(u=>{e.mergeDateTimeFormat(u,n.datetimeFormats[u])})}if(Xe(n.numberFormats)){const s=Object.keys(n.numberFormats);s.length&&s.forEach(u=>{e.mergeNumberFormat(u,n.numberFormats[u])})}}}function Nm(e){return t.createVNode(t.Text,null,e,0)}const Tm="__INTLIFY_META__",Sm=()=>[],SC=()=>!1;let Im=0;function Om(e){return(n,a,i,r)=>e(a,i,t.getCurrentInstance()||void 0,r)}const IC=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=vm(e)[Tm])?{[Tm]:n}:null};function hd(e={},n){const{__root:a,__injectWithOption:i}=e,r=a===void 0,s=e.flatJson,u=Za?t.ref:t.shallowRef,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&yh(ca(Dt.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let d=qe(e.inheritLocale)?e.inheritLocale:!0;const _=u(a&&d?a.locale.value:le(e.locale)?e.locale:kr),g=u(a&&d?a.fallbackLocale.value:le(e.fallbackLocale)||pt(e.fallbackLocale)||Be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:_.value),h=u(el(_.value,e)),p=u(Be(e.datetimeFormats)?e.datetimeFormats:{[_.value]:{}}),F=u(Be(e.numberFormats)?e.numberFormats:{[_.value]:{}});let y=a?a.missingWarn:qe(e.missingWarn)||li(e.missingWarn)?e.missingWarn:!0,A=a?a.fallbackWarn:qe(e.fallbackWarn)||li(e.fallbackWarn)?e.fallbackWarn:!0,E=a?a.fallbackRoot:qe(e.fallbackRoot)?e.fallbackRoot:!0,B=!!e.fallbackFormat,x=dt(e.missing)?e.missing:null,k=dt(e.missing)?Om(e.missing):null,C=dt(e.postTranslation)?e.postTranslation:null,T=a?a.warnHtmlMessage:qe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,S=!!e.escapeParameter;const z=a?a.modifiers:Be(e.modifiers)?e.modifiers:{};let O=e.pluralRules||a&&a.pluralRules,I;I=(()=>{r&&im(null);const R={version:vC,locale:_.value,fallbackLocale:g.value,messages:h.value,modifiers:z,pluralRules:O,missing:k===null?void 0:k,missingWarn:y,fallbackWarn:A,fallbackFormat:B,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:T,escapeParameter:S,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=p.value,R.numberFormats=F.value,R.__datetimeFormatters=Be(I)?I.__datetimeFormatters:void 0,R.__numberFormatters=Be(I)?I.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=Be(I)?I.__v_emitter:void 0);const $=dC(R);return r&&im($),$})(),yo(I,_.value,g.value);function oe(){return[_.value,g.value,h.value,p.value,F.value]}const ee=t.computed({get:()=>_.value,set:R=>{_.value=R,I.locale=_.value}}),ce=t.computed({get:()=>g.value,set:R=>{g.value=R,I.fallbackLocale=g.value,yo(I,_.value,R)}}),De=t.computed(()=>h.value),ye=t.computed(()=>p.value),se=t.computed(()=>F.value);function ve(){return dt(C)?C:null}function te(R){C=R,I.postTranslation=R}function Re(){return x}function Mt(R){R!==null&&(k=Om(R)),x=R,I.missing=k}function st(R,$){return R!=="translate"||!$.resolvedMessage}const Ct=(R,$,Ve,_t,zt,en)=>{oe();let Oa;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&am(IC()),r||(I.fallbackContext=a?cC():void 0),Oa=R(I)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&am(null),r||(I.fallbackContext=void 0)}if(Ve!=="translate exists"&&Nt(Oa)&&Oa===Zs||Ve==="translate exists"&&!Oa){const[Ut,yn]=$();if(process.env.NODE_ENV!=="production"&&a&&le(Ut)&&st(Ve,yn)&&(E&&($s(A,Ut)||om(y,Ut))&&Ot(ca(Dt.FALLBACK_TO_ROOT,{key:Ut,type:Ve})),process.env.NODE_ENV!=="production")){const{__v_emitter:Rn}=I;Rn&&E&&Rn.emit("fallback",{type:Ve,key:Ut,to:"global",groupId:`${Ve}:${Ut}`})}return a&&E?_t(a):zt(Ut)}else{if(en(Oa))return Oa;throw Vt($e.UNEXPECTED_RETURN_TYPE)}};function ft(...R){return Ct($=>Reflect.apply(gm,null,[$,...R]),()=>sd(...R),"translate",$=>Reflect.apply($.t,$,[...R]),$=>$,$=>le($))}function ht(...R){const[$,Ve,_t]=R;if(_t&&!Xe(_t))throw Vt($e.INVALID_ARGUMENT);return ft($,Ve,Zt({resolvedMessage:!0},_t||{}))}function Bt(...R){return Ct($=>Reflect.apply(bm,null,[$,...R]),()=>ld(...R),"datetime format",$=>Reflect.apply($.d,$,[...R]),()=>Js,$=>le($))}function Q(...R){return Ct($=>Reflect.apply(km,null,[$,...R]),()=>ud(...R),"number format",$=>Reflect.apply($.n,$,[...R]),()=>Js,$=>le($))}function ae(R){return R.map($=>le($)||Nt($)||qe($)?Nm(String($)):$)}const re={normalize:ae,interpolate:R=>R,type:"vnode"};function Z(...R){return Ct($=>{let Ve;const _t=$;try{_t.processor=re,Ve=Reflect.apply(gm,null,[_t,...R])}finally{_t.processor=null}return Ve},()=>sd(...R),"translate",$=>$[dd](...R),$=>[Nm($)],$=>pt($))}function je(...R){return Ct($=>Reflect.apply(km,null,[$,...R]),()=>ud(...R),"number format",$=>$[_d](...R),Sm,$=>le($)||pt($))}function Me(...R){return Ct($=>Reflect.apply(bm,null,[$,...R]),()=>ld(...R),"datetime format",$=>$[fd](...R),Sm,$=>le($)||pt($))}function Ke(R){O=R,I.pluralRules=O}function Y(R,$){return Ct(()=>{if(!R)return!1;const Ve=le($)?$:_.value,_t=et(Ve),zt=I.messageResolver(_t,R);return c?zt!=null:Na(zt)||Ta(zt)||le(zt)},()=>[R],"translate exists",Ve=>Reflect.apply(Ve.te,Ve,[R,$]),SC,Ve=>qe(Ve))}function we(R){let $=null;const Ve=Wh(I,g.value,_.value);for(let _t=0;_t<Ve.length;_t++){const zt=h.value[Ve[_t]]||{},en=I.messageResolver(zt,R);if(en!=null){$=en;break}}return $}function rt(R){const $=we(R);return $??(a?a.tm(R)||{}:{})}function et(R){return h.value[R]||{}}function me(R,$){if(s){const Ve={[R]:$};for(const _t in Ve)Ja(Ve,_t)&&ko(Ve[_t]);$=Ve[R]}h.value[R]=$,I.messages=h.value}function Pe(R,$){h.value[R]=h.value[R]||{};const Ve={[R]:$};if(s)for(const _t in Ve)Ja(Ve,_t)&&ko(Ve[_t]);$=Ve[R],Qs($,h.value[R]),I.messages=h.value}function v(R){return p.value[R]||{}}function N(R,$){p.value[R]=$,I.datetimeFormats=p.value,wm(I,R,$)}function H(R,$){p.value[R]=Zt(p.value[R]||{},$),I.datetimeFormats=p.value,wm(I,R,$)}function fe(R){return F.value[R]||{}}function Ye(R,$){F.value[R]=$,I.numberFormats=F.value,Am(I,R,$)}function Oe(R,$){F.value[R]=Zt(F.value[R]||{},$),I.numberFormats=F.value,Am(I,R,$)}Im++,a&&Za&&(t.watch(a.locale,R=>{d&&(_.value=R,I.locale=R,yo(I,_.value,g.value))}),t.watch(a.fallbackLocale,R=>{d&&(g.value=R,I.fallbackLocale=R,yo(I,_.value,g.value))}));const Qe={id:Im,locale:ee,fallbackLocale:ce,get inheritLocale(){return d},set inheritLocale(R){d=R,R&&a&&(_.value=a.locale.value,g.value=a.fallbackLocale.value,yo(I,_.value,g.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:De,get modifiers(){return z},get pluralRules(){return O||{}},get isGlobal(){return r},get missingWarn(){return y},set missingWarn(R){y=R,I.missingWarn=y},get fallbackWarn(){return A},set fallbackWarn(R){A=R,I.fallbackWarn=A},get fallbackRoot(){return E},set fallbackRoot(R){E=R},get fallbackFormat(){return B},set fallbackFormat(R){B=R,I.fallbackFormat=B},get warnHtmlMessage(){return T},set warnHtmlMessage(R){T=R,I.warnHtmlMessage=R},get escapeParameter(){return S},set escapeParameter(R){S=R,I.escapeParameter=R},t:ft,getLocaleMessage:et,setLocaleMessage:me,mergeLocaleMessage:Pe,getPostTranslationHandler:ve,setPostTranslationHandler:te,getMissingHandler:Re,setMissingHandler:Mt,[Mm]:Ke};return Qe.datetimeFormats=ye,Qe.numberFormats=se,Qe.rt=ht,Qe.te=Y,Qe.tm=rt,Qe.d=Bt,Qe.n=Q,Qe.getDateTimeFormat=v,Qe.setDateTimeFormat=N,Qe.mergeDateTimeFormat=H,Qe.getNumberFormat=fe,Qe.setNumberFormat=Ye,Qe.mergeNumberFormat=Oe,Qe[Bm]=i,Qe[dd]=Z,Qe[fd]=Me,Qe[_d]=je,process.env.NODE_ENV!=="production"&&(Qe[Oi]=R=>{I.__v_emitter=R},Qe[wo]=()=>{I.__v_emitter=void 0}),Qe}function OC(e){const n=le(e.locale)?e.locale:kr,a=le(e.fallbackLocale)||pt(e.fallbackLocale)||Be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=dt(e.missing)?e.missing:void 0,r=qe(e.silentTranslationWarn)||li(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=qe(e.silentFallbackWarn)||li(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=qe(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,d=Be(e.modifiers)?e.modifiers:{},_=e.pluralizationRules,g=dt(e.postTranslation)?e.postTranslation:void 0,h=le(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,p=!!e.escapeParameterHtml,F=qe(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ot(ca(Dt.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ot(ca(Dt.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let y=e.messages;if(Be(e.sharedMessages)){const S=e.sharedMessages;y=Object.keys(S).reduce((O,I)=>{const K=O[I]||(O[I]={});return Zt(K,S[I]),O},y||{})}const{__i18n:A,__root:E,__injectWithOption:B}=e,x=e.datetimeFormats,k=e.numberFormats,C=e.flatJson,T=e.translateExistCompatible;return{locale:n,fallbackLocale:a,messages:y,flatJson:C,datetimeFormats:x,numberFormats:k,missing:i,missingWarn:r,fallbackWarn:s,fallbackRoot:u,fallbackFormat:c,modifiers:d,pluralRules:_,postTranslation:g,warnHtmlMessage:h,escapeParameter:p,messageResolver:e.messageResolver,inheritLocale:F,translateExistCompatible:T,__i18n:A,__root:E,__injectWithOption:B}}function md(e={},n){{const a=hd(OC(e)),{__extender:i}=e,r={id:a.id,get locale(){return a.locale.value},set locale(s){a.locale.value=s},get fallbackLocale(){return a.fallbackLocale.value},set fallbackLocale(s){a.fallbackLocale.value=s},get messages(){return a.messages.value},get datetimeFormats(){return a.datetimeFormats.value},get numberFormats(){return a.numberFormats.value},get availableLocales(){return a.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_SUPPORTED_FORMATTER))},get missing(){return a.getMissingHandler()},set missing(s){a.setMissingHandler(s)},get silentTranslationWarn(){return qe(a.missingWarn)?!a.missingWarn:a.missingWarn},set silentTranslationWarn(s){a.missingWarn=qe(s)?!s:s},get silentFallbackWarn(){return qe(a.fallbackWarn)?!a.fallbackWarn:a.fallbackWarn},set silentFallbackWarn(s){a.fallbackWarn=qe(s)?!s:s},get modifiers(){return a.modifiers},get formatFallbackMessages(){return a.fallbackFormat},set formatFallbackMessages(s){a.fallbackFormat=s},get postTranslation(){return a.getPostTranslationHandler()},set postTranslation(s){a.setPostTranslationHandler(s)},get sync(){return a.inheritLocale},set sync(s){a.inheritLocale=s},get warnHtmlInMessage(){return a.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(s){a.warnHtmlMessage=s!=="off"},get escapeParameterHtml(){return a.escapeParameter},set escapeParameterHtml(s){a.escapeParameter=s},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return a.pluralRules||{}},__composer:a,t(...s){const[u,c,d]=s,_={};let g=null,h=null;if(!le(u))throw Vt($e.INVALID_ARGUMENT);const p=u;return le(c)?_.locale=c:pt(c)?g=c:Be(c)&&(h=c),pt(d)?g=d:Be(d)&&(h=d),Reflect.apply(a.t,a,[p,g||h||{},_])},rt(...s){return Reflect.apply(a.rt,a,[...s])},tc(...s){const[u,c,d]=s,_={plural:1};let g=null,h=null;if(!le(u))throw Vt($e.INVALID_ARGUMENT);const p=u;return le(c)?_.locale=c:Nt(c)?_.plural=c:pt(c)?g=c:Be(c)&&(h=c),le(d)?_.locale=d:pt(d)?g=d:Be(d)&&(h=d),Reflect.apply(a.t,a,[p,g||h||{},_])},te(s,u){return a.te(s,u)},tm(s){return a.tm(s)},getLocaleMessage(s){return a.getLocaleMessage(s)},setLocaleMessage(s,u){a.setLocaleMessage(s,u)},mergeLocaleMessage(s,u){a.mergeLocaleMessage(s,u)},d(...s){return Reflect.apply(a.d,a,[...s])},getDateTimeFormat(s){return a.getDateTimeFormat(s)},setDateTimeFormat(s,u){a.setDateTimeFormat(s,u)},mergeDateTimeFormat(s,u){a.mergeDateTimeFormat(s,u)},n(...s){return Reflect.apply(a.n,a,[...s])},getNumberFormat(s){return a.getNumberFormat(s)},setNumberFormat(s,u){a.setNumberFormat(s,u)},mergeNumberFormat(s,u){a.mergeNumberFormat(s,u)},getChoiceIndex(s,u){return process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return r.__extender=i,process.env.NODE_ENV!=="production"&&(r.__enableEmitter=s=>{const u=a;u[Oi]&&u[Oi](s)},r.__disableEmitter=()=>{const s=a;s[wo]&&s[wo]()}),r}}const pd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function LC({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((i,r)=>[...i,...r.type===t.Fragment?r.children:[r]],[]):n.reduce((a,i)=>{const r=e[i];return r&&(a[i]=r()),a},ct())}function Lm(e){return t.Fragment}const Fd=t.defineComponent({name:"i18n-t",props:Zt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Nt(e)||!isNaN(e)}},pd),setup(e,n){const{slots:a,attrs:i}=n,r=e.i18n||kd({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(a).filter(h=>h!=="_"),u=ct();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=le(e.plural)?+e.plural:e.plural);const c=LC(n,s),d=r[dd](e.keypath,c,u),_=Zt(ct(),i),g=le(e.tag)||Xe(e.tag)?e.tag:Lm();return t.h(g,_,d)}}});function zC(e){return pt(e)&&!le(e[0])}function zm(e,n,a,i){const{slots:r,attrs:s}=n;return()=>{const u={part:!0};let c=ct();e.locale&&(u.locale=e.locale),le(e.format)?u.key=e.format:Xe(e.format)&&(le(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((p,F)=>a.includes(F)?Zt(ct(),p,{[F]:e.format[F]}):p,ct()));const d=i(e.value,u,c);let _=[u.key];pt(d)?_=d.map((p,F)=>{const y=r[p.type],A=y?y({[p.type]:p.value,index:F,parts:d}):[p.value];return zC(A)&&(A[0].key=`${p.type}-${F}`),A}):le(d)&&(_=[d]);const g=Zt(ct(),s),h=le(e.tag)||Xe(e.tag)?e.tag:Lm();return t.h(h,g,_)}}const qm=t.defineComponent({name:"i18n-n",props:Zt({value:{type:Number,required:!0},format:{type:[String,Object]}},pd),setup(e,n){const a=e.i18n||kd({useScope:e.scope,__useComponent:!0});return zm(e,n,Dm,(...i)=>a[_d](...i))}}),Pm=t.defineComponent({name:"i18n-d",props:Zt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},pd),setup(e,n){const a=e.i18n||kd({useScope:e.scope,__useComponent:!0});return zm(e,n,ym,(...i)=>a[fd](...i))}});function qC(e,n){const a=e;if(e.mode==="composition")return a.__getInstance(n)||e.global;{const i=a.__getInstance(n);return i!=null?i.__composer:e.global.__composer}}function PC(e){const n=u=>{const{instance:c,modifiers:d,value:_}=u;if(!c||!c.$)throw Vt($e.UNEXPECTED_ERROR);const g=qC(e,c.$);process.env.NODE_ENV!=="production"&&d.preserve&&Ot(ca(Dt.NOT_SUPPORTED_PRESERVE));const h=Vm(_);return[Reflect.apply(g.t,g,[...Um(h)]),g]};return{created:(u,c)=>{const[d,_]=n(c);Za&&e.global===_&&(u.__i18nWatcher=t.watch(_.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=_,u.textContent=d},unmounted:u=>{Za&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:c})=>{if(u.__composer){const d=u.__composer,_=Vm(c);u.textContent=Reflect.apply(d.t,d,[...Um(_)])}},getSSRProps:u=>{const[c]=n(u);return{textContent:c}}}}function Vm(e){if(le(e))return{path:e};if(Be(e)){if(!("path"in e))throw Vt($e.REQUIRED_VALUE,"path");return e}else throw Vt($e.INVALID_VALUE)}function Um(e){const{path:n,locale:a,args:i,choice:r,plural:s}=e,u={},c=i||{};return le(a)&&(u.locale=a),Nt(r)&&(u.plural=r),Nt(s)&&(u.plural=s),[n,c,u]}function VC(e,n,...a){const i=Be(a[0])?a[0]:{},r=!!i.useI18nComponentName,s=qe(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&r&&Ot(ca(Dt.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Fd.name})),s&&([r?"i18n":Fd.name,"I18nT"].forEach(u=>e.component(u,Fd)),[qm.name,"I18nN"].forEach(u=>e.component(u,qm)),[Pm.name,"I18nD"].forEach(u=>e.component(u,Pm))),e.directive("t",PC(n))}const bd={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},UC={["vue-i18n-resource-inspector"]:"Search for scopes ..."},RC={["vue-i18n-timeline"]:16764185},Rm="vue-i18n: composer properties";let yd;async function YC(e,n){return new Promise((a,i)=>{try{BC({id:"vue-devtools-plugin-vue-i18n",label:bd["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[Rm],app:e},r=>{yd=r,r.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{HC(u,c,n)}),r.on.inspectComponent(({componentInstance:u,instanceData:c})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&c&&(n.mode==="legacy"?u.vnode.el.__VUE_I18N__!==n.global.__composer&&Hm(c,u.vnode.el.__VUE_I18N__):Hm(c,u.vnode.el.__VUE_I18N__))}),r.addInspector({id:"vue-i18n-resource-inspector",label:bd["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:UC["vue-i18n-resource-inspector"]}),r.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&KC(u,n)});const s=new Map;r.on.getInspectorState(async u=>{if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(r.unhighlightElement(),JC(u,n),u.nodeId==="global"){if(!s.has(u.app)){const[c]=await r.getComponentInstances(u.app);s.set(u.app,c)}r.highlightElement(s.get(u.app))}else{const c=ZC(u.nodeId,n);c&&r.highlightElement(c)}}),r.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&ex(u,n)}),r.addTimelineLayer({id:"vue-i18n-timeline",label:bd["vue-i18n-timeline"],color:RC["vue-i18n-timeline"]}),a(!0)})}catch(r){console.error(r),i(!1)}})}function Ym(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function HC(e,n,a){const i=a.mode==="composition"?a.global:a.global.__composer;if(e&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&e.vnode.el.__VUE_I18N__!==i){const r={label:`i18n (${Ym(e)} Scope)`,textColor:0,backgroundColor:16764185};n.tags.push(r)}}function Hm(e,n){const a=Rm;e.state.push({type:a,key:"locale",editable:!0,value:n.locale.value}),e.state.push({type:a,key:"availableLocales",editable:!1,value:n.availableLocales}),e.state.push({type:a,key:"fallbackLocale",editable:!0,value:n.fallbackLocale.value}),e.state.push({type:a,key:"inheritLocale",editable:!0,value:n.inheritLocale}),e.state.push({type:a,key:"messages",editable:!1,value:wd(n.messages.value)}),e.state.push({type:a,key:"datetimeFormats",editable:!1,value:n.datetimeFormats.value}),e.state.push({type:a,key:"numberFormats",editable:!1,value:n.numberFormats.value})}function wd(e){const n={};return Object.keys(e).forEach(a=>{const i=e[a];dt(i)&&"source"in i?n[a]=XC(i):Na(i)&&i.loc&&i.loc.source?n[a]=i.loc.source:Xe(i)?n[a]=wd(i):n[a]=i}),n}const GC={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function QC(e){return e.replace(/[<>"&]/g,WC)}function WC(e){return GC[e]||e}function XC(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${QC(e.source)}")`:"(?)"}`}}}function KC(e,n){e.rootNodes.push({id:"global",label:"Global Scope"});const a=n.mode==="composition"?n.global:n.global.__composer;for(const[i,r]of n.__instances){const s=n.mode==="composition"?r:r.__composer;a!==s&&e.rootNodes.push({id:s.id.toString(),label:`${Ym(i)} Scope`})}}function ZC(e,n){let a=null;if(e!=="global"){for(const[i,r]of n.__instances.entries())if(r.id.toString()===e){a=i;break}}return a}function Gm(e,n){if(e==="global")return n.mode==="composition"?n.global:n.global.__composer;{const a=Array.from(n.__instances.values()).find(i=>i.id.toString()===e);return a?n.mode==="composition"?a:a.__composer:null}}function JC(e,n){const a=Gm(e.nodeId,n);return a&&(e.state=$C(a)),null}function $C(e){const n={},a="Locale related info",i=[{type:a,key:"locale",editable:!0,value:e.locale.value},{type:a,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value},{type:a,key:"availableLocales",editable:!1,value:e.availableLocales},{type:a,key:"inheritLocale",editable:!0,value:e.inheritLocale}];n[a]=i;const r="Locale messages info",s=[{type:r,key:"messages",editable:!1,value:wd(e.messages.value)}];n[r]=s;{const u="Datetime formats info",c=[{type:u,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];n[u]=c;const d="Datetime formats info",_=[{type:d,key:"numberFormats",editable:!1,value:e.numberFormats.value}];n[d]=_}return n}function Do(e,n){if(yd){let a;n&&"groupId"in n&&(a=n.groupId,delete n.groupId),yd.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:e,groupId:a,time:Date.now(),meta:{},data:n||{},logType:e==="compile-error"?"error":e==="fallback"||e==="missing"?"warning":"default"}})}}function ex(e,n){const a=Gm(e.nodeId,n);if(a){const[i]=e.path;i==="locale"&&le(e.state.value)?a.locale.value=e.state.value:i==="fallbackLocale"&&(le(e.state.value)||pt(e.state.value)||Xe(e.state.value))?a.fallbackLocale.value=e.state.value:i==="inheritLocale"&&qe(e.state.value)&&(a.inheritLocale=e.state.value)}}function tx(e,n,a){return{beforeCreate(){const i=t.getCurrentInstance();if(!i)throw Vt($e.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const s=r.i18n;if(r.__i18n&&(s.__i18n=r.__i18n),s.__root=n,this===this.$root)this.$i18n=Qm(e,s);else{s.__injectWithOption=!0,s.__extender=a.__vueI18nExtend,this.$i18n=md(s);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=Qm(e,r);else{this.$i18n=md({__i18n:r.__i18n,__injectWithOption:!0,__extender:a.__vueI18nExtend,__root:n});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&jm(n,r,r),this.$t=(...s)=>this.$i18n.t(...s),this.$rt=(...s)=>this.$i18n.rt(...s),this.$tc=(...s)=>this.$i18n.tc(...s),this.$te=(s,u)=>this.$i18n.te(s,u),this.$d=(...s)=>this.$i18n.d(...s),this.$n=(...s)=>this.$i18n.n(...s),this.$tm=s=>this.$i18n.tm(s),a.__setInstance(i,this.$i18n)},mounted(){if(process.env.NODE_ENV!=="production"&&this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const r=this.__v_emitter=Jc();i.__enableEmitter&&i.__enableEmitter(r),r.on("*",Do)}},unmounted(){const i=t.getCurrentInstance();if(!i)throw Vt($e.UNEXPECTED_ERROR);const r=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Do),delete this.__v_emitter),this.$i18n&&(r.__disableEmitter&&r.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),a.__deleteInstance(i),delete this.$i18n}}}function Qm(e,n){e.locale=n.locale||e.locale,e.fallbackLocale=n.fallbackLocale||e.fallbackLocale,e.missing=n.missing||e.missing,e.silentTranslationWarn=n.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=n.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=n.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=n.postTranslation||e.postTranslation,e.warnHtmlInMessage=n.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=n.escapeParameterHtml||e.escapeParameterHtml,e.sync=n.sync||e.sync,e.__composer[Mm](n.pluralizationRules||e.pluralizationRules);const a=el(e.locale,{messages:n.messages,__i18n:n.__i18n});return Object.keys(a).forEach(i=>e.mergeLocaleMessage(i,a[i])),n.datetimeFormats&&Object.keys(n.datetimeFormats).forEach(i=>e.mergeDateTimeFormat(i,n.datetimeFormats[i])),n.numberFormats&&Object.keys(n.numberFormats).forEach(i=>e.mergeNumberFormat(i,n.numberFormats[i])),e}const ax=Fn("global-vue-i18n");function nx(e={},n){const a=__VUE_I18N_LEGACY_API__&&qe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,i=qe(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&a?!!e.allowComposition:!0,s=new Map,[u,c]=ix(e,a),d=Fn(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&a&&r&&Ot(ca(Dt.NOTICE_DROP_ALLOW_COMPOSITION));function _(p){return s.get(p)||null}function g(p,F){s.set(p,F)}function h(p){s.delete(p)}{const p={get mode(){return __VUE_I18N_LEGACY_API__&&a?"legacy":"composition"},get allowComposition(){return r},async install(F,...y){if(process.env.NODE_ENV!=="production"&&(F.__VUE_I18N__=p),F.__VUE_I18N_SYMBOL__=d,F.provide(F.__VUE_I18N_SYMBOL__,p),Be(y[0])){const B=y[0];p.__composerExtend=B.__composerExtend,p.__vueI18nExtend=B.__vueI18nExtend}let A=null;!a&&i&&(A=_x(F,p.global)),__VUE_I18N_FULL_INSTALL__&&VC(F,p,...y),__VUE_I18N_LEGACY_API__&&a&&F.mixin(tx(c,c.__composer,p));const E=F.unmount;if(F.unmount=()=>{A&&A(),p.dispose(),E()},process.env.NODE_ENV!=="production"){if(!await YC(F,p))throw Vt($e.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const x=Jc();if(a){const k=c;k.__enableEmitter&&k.__enableEmitter(x)}else{const k=c;k[Oi]&&k[Oi](x)}x.on("*",Do)}},get global(){return c},dispose(){u.stop()},__instances:s,__getInstance:_,__setInstance:g,__deleteInstance:h};return p}}function kd(e={}){const n=t.getCurrentInstance();if(n==null)throw Vt($e.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Vt($e.NOT_INSTALLED);const a=rx(n),i=sx(a),r=vm(n),s=ox(e,r);if(__VUE_I18N_LEGACY_API__&&a.mode==="legacy"&&!e.__useComponent){if(!a.allowComposition)throw Vt($e.NOT_AVAILABLE_IN_LEGACY_MODE);return dx(n,s,i,e)}if(s==="global")return jm(i,e,r),i;if(s==="parent"){let d=lx(a,n,e.__useComponent);return d==null&&(process.env.NODE_ENV!=="production"&&Ot(ca(Dt.NOT_FOUND_PARENT_SCOPE)),d=i),d}const u=a;let c=u.__getInstance(n);if(c==null){const d=Zt({},e);"__i18n"in r&&(d.__i18n=r.__i18n),i&&(d.__root=i),c=hd(d),u.__composerExtend&&(c[gd]=u.__composerExtend(c)),cx(u,n,c),u.__setInstance(n,c)}return c}function ix(e,n,a){const i=t.effectScope();{const r=__VUE_I18N_LEGACY_API__&&n?i.run(()=>md(e)):i.run(()=>hd(e));if(r==null)throw Vt($e.UNEXPECTED_ERROR);return[i,r]}}function rx(e){{const n=t.inject(e.isCE?ax:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Vt(e.isCE?$e.NOT_INSTALLED_WITH_PROVIDE:$e.UNEXPECTED_ERROR);return n}}function ox(e,n){return Ys(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function sx(e){return e.mode==="composition"?e.global:e.global.__composer}function lx(e,n,a=!1){let i=null;const r=n.root;let s=ux(n,a);for(;s!=null;){const u=e;if(e.mode==="composition")i=u.__getInstance(s);else if(__VUE_I18N_LEGACY_API__){const c=u.__getInstance(s);c!=null&&(i=c.__composer,a&&i&&!i[Bm]&&(i=null))}if(i!=null||r===s)break;s=s.parent}return i}function ux(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function cx(e,n,a){let i=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=a,i=Jc();const r=a;r[Oi]&&r[Oi](i),i.on("*",Do)}},n),t.onUnmounted(()=>{const r=a;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(i&&i.off("*",Do),r[wo]&&r[wo](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const s=r[gd];s&&(s(),delete r[gd])},n)}function dx(e,n,a,i={}){const r=n==="local",s=t.shallowRef(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Vt($e.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=qe(i.inheritLocale)?i.inheritLocale:!le(i.locale),c=t.ref(!r||u?a.locale.value:le(i.locale)?i.locale:kr),d=t.ref(!r||u?a.fallbackLocale.value:le(i.fallbackLocale)||pt(i.fallbackLocale)||Be(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:c.value),_=t.ref(el(c.value,i)),g=t.ref(Be(i.datetimeFormats)?i.datetimeFormats:{[c.value]:{}}),h=t.ref(Be(i.numberFormats)?i.numberFormats:{[c.value]:{}}),p=r?a.missingWarn:qe(i.missingWarn)||li(i.missingWarn)?i.missingWarn:!0,F=r?a.fallbackWarn:qe(i.fallbackWarn)||li(i.fallbackWarn)?i.fallbackWarn:!0,y=r?a.fallbackRoot:qe(i.fallbackRoot)?i.fallbackRoot:!0,A=!!i.fallbackFormat,E=dt(i.missing)?i.missing:null,B=dt(i.postTranslation)?i.postTranslation:null,x=r?a.warnHtmlMessage:qe(i.warnHtmlMessage)?i.warnHtmlMessage:!0,k=!!i.escapeParameter,C=r?a.modifiers:Be(i.modifiers)?i.modifiers:{},T=i.pluralRules||r&&a.pluralRules;function S(){return[c.value,d.value,_.value,g.value,h.value]}const z=t.computed({get:()=>s.value?s.value.locale.value:c.value,set:Y=>{s.value&&(s.value.locale.value=Y),c.value=Y}}),O=t.computed({get:()=>s.value?s.value.fallbackLocale.value:d.value,set:Y=>{s.value&&(s.value.fallbackLocale.value=Y),d.value=Y}}),I=t.computed(()=>s.value?s.value.messages.value:_.value),K=t.computed(()=>g.value),oe=t.computed(()=>h.value);function ee(){return s.value?s.value.getPostTranslationHandler():B}function ce(Y){s.value&&s.value.setPostTranslationHandler(Y)}function De(){return s.value?s.value.getMissingHandler():E}function ye(Y){s.value&&s.value.setMissingHandler(Y)}function se(Y){return S(),Y()}function ve(...Y){return s.value?se(()=>Reflect.apply(s.value.t,null,[...Y])):se(()=>"")}function te(...Y){return s.value?Reflect.apply(s.value.rt,null,[...Y]):""}function Re(...Y){return s.value?se(()=>Reflect.apply(s.value.d,null,[...Y])):se(()=>"")}function Mt(...Y){return s.value?se(()=>Reflect.apply(s.value.n,null,[...Y])):se(()=>"")}function st(Y){return s.value?s.value.tm(Y):{}}function Ct(Y,we){return s.value?s.value.te(Y,we):!1}function ft(Y){return s.value?s.value.getLocaleMessage(Y):{}}function ht(Y,we){s.value&&(s.value.setLocaleMessage(Y,we),_.value[Y]=we)}function Bt(Y,we){s.value&&s.value.mergeLocaleMessage(Y,we)}function Q(Y){return s.value?s.value.getDateTimeFormat(Y):{}}function ae(Y,we){s.value&&(s.value.setDateTimeFormat(Y,we),g.value[Y]=we)}function de(Y,we){s.value&&s.value.mergeDateTimeFormat(Y,we)}function re(Y){return s.value?s.value.getNumberFormat(Y):{}}function Z(Y,we){s.value&&(s.value.setNumberFormat(Y,we),h.value[Y]=we)}function je(Y,we){s.value&&s.value.mergeNumberFormat(Y,we)}const Me={get id(){return s.value?s.value.id:-1},locale:z,fallbackLocale:O,messages:I,datetimeFormats:K,numberFormats:oe,get inheritLocale(){return s.value?s.value.inheritLocale:u},set inheritLocale(Y){s.value&&(s.value.inheritLocale=Y)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(_.value)},get modifiers(){return s.value?s.value.modifiers:C},get pluralRules(){return s.value?s.value.pluralRules:T},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:p},set missingWarn(Y){s.value&&(s.value.missingWarn=Y)},get fallbackWarn(){return s.value?s.value.fallbackWarn:F},set fallbackWarn(Y){s.value&&(s.value.missingWarn=Y)},get fallbackRoot(){return s.value?s.value.fallbackRoot:y},set fallbackRoot(Y){s.value&&(s.value.fallbackRoot=Y)},get fallbackFormat(){return s.value?s.value.fallbackFormat:A},set fallbackFormat(Y){s.value&&(s.value.fallbackFormat=Y)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:x},set warnHtmlMessage(Y){s.value&&(s.value.warnHtmlMessage=Y)},get escapeParameter(){return s.value?s.value.escapeParameter:k},set escapeParameter(Y){s.value&&(s.value.escapeParameter=Y)},t:ve,getPostTranslationHandler:ee,setPostTranslationHandler:ce,getMissingHandler:De,setMissingHandler:ye,rt:te,d:Re,n:Mt,tm:st,te:Ct,getLocaleMessage:ft,setLocaleMessage:ht,mergeLocaleMessage:Bt,getDateTimeFormat:Q,setDateTimeFormat:ae,mergeDateTimeFormat:de,getNumberFormat:re,setNumberFormat:Z,mergeNumberFormat:je};function Ke(Y){Y.locale.value=c.value,Y.fallbackLocale.value=d.value,Object.keys(_.value).forEach(we=>{Y.mergeLocaleMessage(we,_.value[we])}),Object.keys(g.value).forEach(we=>{Y.mergeDateTimeFormat(we,g.value[we])}),Object.keys(h.value).forEach(we=>{Y.mergeNumberFormat(we,h.value[we])}),Y.escapeParameter=k,Y.fallbackFormat=A,Y.fallbackRoot=y,Y.fallbackWarn=F,Y.missingWarn=p,Y.warnHtmlMessage=x}return t.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Vt($e.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const Y=s.value=e.proxy.$i18n.__composer;n==="global"?(c.value=Y.locale.value,d.value=Y.fallbackLocale.value,_.value=Y.messages.value,g.value=Y.datetimeFormats.value,h.value=Y.numberFormats.value):r&&Ke(Y)}),Me}const fx=["locale","fallbackLocale","availableLocales"],Wm=["t","rt","d","n","tm","te"];function _x(e,n){const a=Object.create(null);return fx.forEach(r=>{const s=Object.getOwnPropertyDescriptor(n,r);if(!s)throw Vt($e.UNEXPECTED_ERROR);const u=t.isRef(s.value)?{get(){return s.value.value},set(c){s.value.value=c}}:{get(){return s.get&&s.get()}};Object.defineProperty(a,r,u)}),e.config.globalProperties.$i18n=a,Wm.forEach(r=>{const s=Object.getOwnPropertyDescriptor(n,r);if(!s||!s.value)throw Vt($e.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,s)}),()=>{delete e.config.globalProperties.$i18n,Wm.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}if(jC(),__INTLIFY_JIT_COMPILATION__?Jh(mC):Jh(hC),sC(VE),lC(Wh),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=qn();e.__INTLIFY__=!0,KE(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const gx={upload_area:{title:{text:"Drag your file here or",highlight:"search it"},invalid:{subtitle:"File not supported, select supported formats:"},subtitle:"Supported formats:"},import_card:{importing:"Importing"},audio_recorder:{discard_button:"Discard"},chat_message:{reply_message:{you:"You",video:"Video",image:"Image",audio:"Audio message"}},chats_contact:{yesterday:"Yesterday"},emoji_picker:{title:"Pick your emoji...",search:"Search",notfound:"No Emoji Found",categories:{search:"Search Results",recent:"Frequently Used",smileys:"Smileys & Emotion",people:"People & Body",nature:"Animals & Nature",foods:"Food & Drink",activity:"Activity",places:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"}},search:"Search",without_results:"No results found"},hx={upload_area:{title:{text:"Arrastra tu archivo aquí o",highlight:"búscalo"},invalid:{subtitle:"Archivo no compatible, seleccione los formatos compatibles:"},subtitle:"Formatos compatibles:"},import_card:{importing:"Importando"},audio_recorder:{discard_button:"Descartar"},chat_message:{reply_message:{you:"Tú",video:"Vídeo",image:"Imagen",audio:"Mensaje de audio"}},chats_contact:{yesterday:"Ayer"},emoji_picker:{title:"Elige tu emoji...",search:"Buscar",notfound:"No se encontró ningún emoji",categories:{search:"Resultados de búsqueda",recent:"Usados frecuentemente",smileys:"Caritas y Emociones",people:"Personas y Cuerpo",nature:"Animales y Naturaleza",foods:"Comidas y Bebidas",activity:"Actividades",places:"Viajes y Lugares",objects:"Objetos",symbols:"Símbolos",flags:"Banderas",custom:"Personalizados"}},search:"Buscar",without_results:"No se encontró ningún resultado"},Xm={upload_area:{title:{text:"Arraste seu arquivo aqui, ou",highlight:"procure-o"},invalid:{subtitle:"Arquivo não compatível, selecione formatos suportados:"},subtitle:"Formatos suportados:"},import_card:{importing:"Importando"},audio_recorder:{discard_button:"Descartar"},chat_message:{reply_message:{you:"Você",video:"Vídeo",image:"Imagem",audio:"Mensagem de áudio"}},chats_contact:{yesterday:"Ontem"},emoji_picker:{title:"Escolha seu emoji...",search:"Buscar",notfound:"Nenhum emoji encontrado",categories:{search:"Resultados da busca",recent:"Usados frequentemente",smileys:"Carinhas & Pessoas",people:"Pessoas e Corpo",nature:"Animais e Natureza",foods:"Comidas e Bebidas",activity:"Atividades",places:"Viagens e Lugares",objects:"Objetos",symbols:"Símbolos",flags:"Bandeiras",custom:"Personalizados"}},search:"Buscar",without_results:"Nenhum resultado encontrado"},mx=Object.assign({en:gx,es:hx,"pt-br":Xm,"pt-BR":Xm}),Li=nx({locale:"en",fallbackLocale:"en",messages:mx}),pte="",px={name:"IconLoading",components:{UnnnicIcon:ue},props:{scheme:{type:String,default:"neutral-dark"},size:{type:String,default:"lg"}}};function Fx(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createBlock(u,{class:"unnnic-icon-loading",icon:"progress_activity",scheme:a.scheme,size:a.size},null,8,["scheme","size"])}const fi=P(px,[["render",Fx],["__scopeId","data-v-97257015"]]),bx=["disabled"],yx=t.defineComponent({name:"UnnnicButton",__name:"Button",props:{size:{default:"large"},text:{default:""},type:{default:"primary"},float:{type:Boolean,default:!1},iconLeft:{default:""},iconRight:{default:""},iconCenter:{default:""},iconsFilled:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}},setup(e){const n=e,a=t.useSlots(),i=t.computed(()=>n.disabled||n.loading),r=t.computed(()=>n.size==="extra-large"?"lg":"ant"),s=t.computed(()=>a.default?!0:n.text&&n.text.length>0),u=t.computed(()=>i.value?"neutral-clean":{primary:"neutral-white",secondary:"neutral-dark",tertiary:"neutral-dark",warning:"neutral-white",attention:"neutral-white"}[d.value]||"neutral-white"),c=t.computed(()=>n.size==="large"||!n.float&&n.size==="small"||n.float&&n.size==="extra-large"),d=t.computed(()=>({alternative:"tertiary"})[n.type]||n.type),_=t.computed(()=>["primary","secondary","tertiary","warning","attention"].includes(d.value)),g=()=>{if(!c.value||!_.value){let h="TypeError:";throw c.value||(h+=" Invalid size prop.",h+=" Please provide 'large', 'small' (only if float prop is false), or 'extra-large' (only if float prop is true)."),_.value||(h+=" Invalid type prop.",h+=" Please provide one of the following types: primary, secondary, tertiary, warning, attention. Alternative is discontinued and it was forced renamed to tertiary."),new Error(h)}};return t.watch(()=>n,()=>{g()},{deep:!0,immediate:!0}),(h,p)=>(t.openBlock(),t.createElementBlock("button",t.mergeProps(h.$attrs,{disabled:i.value,class:["unnnic-button",`unnnic-button--size-${h.size}`,`unnnic-button--${d.value}`,h.iconCenter?"unnnic-button--icon-on-center":null,h.float?"unnnic-button--float":null]}),[h.loading?(t.openBlock(),t.createBlock(fi,{key:0,scheme:u.value,size:r.value,style:{position:"absolute"},"data-testid":"icon-loading"},null,8,["scheme","size"])):t.createCommentVNode("",!0),h.iconLeft?(t.openBlock(),t.createBlock(ue,{key:1,icon:h.iconLeft,scheme:u.value,size:r.value,filled:h.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-left":s.value}),style:t.normalizeStyle({visibility:h.loading?"hidden":"visible"}),clickable:"","data-testid":"icon-left"},null,8,["icon","scheme","size","filled","class","style"])):t.createCommentVNode("",!0),h.iconCenter?(t.openBlock(),t.createBlock(ue,{key:2,icon:h.iconCenter,scheme:u.value,style:t.normalizeStyle({visibility:h.loading?"hidden":"visible"}),size:r.value,filled:h.iconsFilled,clickable:"","data-testid":"icon-center"},null,8,["icon","scheme","style","size","filled"])):t.createCommentVNode("",!0),h.float?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:3,class:"unnnic-button__label",style:t.normalizeStyle({visibility:h.loading?"hidden":"visible"}),"data-testid":"button-label"},[t.renderSlot(h.$slots,"default",{},void 0,!0),t.createTextVNode(" "+t.toDisplayString(h.text),1)],4)),h.iconRight?(t.openBlock(),t.createBlock(ue,{key:4,icon:h.iconRight,scheme:u.value,size:r.value,filled:h.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-right":s.value}),style:t.normalizeStyle({visibility:h.loading?"hidden":"visible"}),clickable:"","data-testid":"icon-right"},null,8,["icon","scheme","size","filled","class","style"])):t.createCommentVNode("",!0)],16,bx))}}),Fte="",bte="",yte="",gt=P(yx,[["__scopeId","data-v-aadba593"]]),wx={class:"month-container","data-testid":"date-picker-month-container"},kx=["onClick"],Dx={class:"month-container","data-testid":"date-picker-month-container"},Ax=["onClick"],Ex={class:"month-container","data-testid":"date-picker-month-container"},Cx=["onClick"],xx={key:3,class:"options-container","data-testid":"date-picker-options"},Mx={key:0,class:"options"},Bx=["onClick"],vx={class:"actions"},jx=t.defineComponent({name:"UnnnicDatePicker",__name:"DatePicker",props:{initialStartDate:{default:""},initialEndDate:{default:""},minDate:{default:""},maxDate:{default:""},periodBaseDate:{default:""},equivalentOption:{default:""},type:{default:"day"},size:{default:"large"},clearLabel:{default:""},actionLabel:{default:""},months:{default:()=>[]},days:{default:()=>[]},options:{default:()=>[]},disableClear:{type:Boolean,default:!1},hideOptions:{type:Boolean,default:!1},locale:{default:void 0},translations:{default:void 0},variant:{default:"card"}},emits:["change","submit","update:equivalentOption"],setup(e,{expose:n,emit:a}){t.useCssVars(Q=>({"27a81f66":k.value}));const i=e,r=a,s=new Date,u=t.ref(`${s.getMonth()+1} 1 ${s.getFullYear()}`),c=t.ref((i.initialStartDate||"").replace(/-/g," ")),d=t.ref((i.initialEndDate||"").replace(/-/g," ")),_=t.ref(""),g={clean:{"pt-br":"Limpar",en:"Clean",es:"Limpiar"},filter:{"pt-br":"Filtrar",en:"Filter",es:"Filtrar"}},h=t.getCurrentInstance(),p=t.computed(()=>{var de,re;const ae=((re=(de=h==null?void 0:h.proxy)==null?void 0:de.$i18n)==null?void 0:re.locale)||"en-us";return String(ae).toLowerCase()}),F=t.computed(()=>{const Q=i.months||[];return Q.length?Q:IA[p.value]}),y=t.computed(()=>{const Q=i.days||[];return Q.length?Q:OA[p.value]}),A=t.computed(()=>{const Q=i.options||[];return Q.length?Q:LA[p.value]}),E=t.computed(()=>i.clearLabel||Rs[p.value].clear),B=t.computed(()=>i.actionLabel||Rs[p.value].filter),x=t.computed(()=>({startDate:c.value.replaceAll(" ","-"),endDate:d.value.replaceAll(" ","-")})),k=t.computed(()=>i.hideOptions?"column-reverse":"column");n({i18n:(...Q)=>{const[ae,de]=Q,re=Object.keys(Li.global.messages||{});let Z=i.locale;const je=Kt.get(Li,"global.locale")==="en-us"?"en":Kt.get(Li,"global.locale");Z=Z&&re.includes(Z)?Z:je,Z=Z==null?void 0:Z.toLowerCase();let Me=Kt.get(i.translations,`${ae}.${Z}`,Kt.get(i.translations,ae));if(Me||(Me=Kt.get(g,`${ae}.${Z}`,Kt.get(g,ae,de))),Me!=null&&Me.includes("|")&&typeof Q[1]=="number"){const Y=Q[1],we=Me.split("|");we.length===3?Me=we[Y]||we[2]:we.length===2&&(Me=Y===1?we[0]:we[1])}let Ke={};return Object.values(Q).slice(1).forEach(Y=>{!(Y instanceof Array)&&Y instanceof Object&&(Ke=Y)}),Object.keys(Ke).forEach(Y=>{Me=Me==null?void 0:Me.replaceAll(new RegExp(`{ *${Y} *}`,"g"),Ke[Y])}),Me},startDate:c,endDate:d,optionSelected:_,referenceDate:u,autoSelect:Ct,dateToString:T,getStartAndEndDateByPeriod:st,getDatesOfTheMonth:se});function T(Q){return`${Q.getMonth()+1} ${Q.getDate()} ${Q.getFullYear()}`}function S(Q){return`${Q.getMonth()+1} ${Q.getFullYear()}`}function z(Q){return Q.getFullYear()}function O(Q){const[ae,de,re]=Q.split(" ");return new Date(Number(re),Number(ae)-1,Number(de)).getTime()}function I(Q){return Q.toString().split(" ")[1]}function K(Q){return Number(Q.toString().split(" ")[0])}function oe(Q){const[ae,de,re]=Q.split(" ");return new Date(Number(re),Number(ae)-1,Number(de)).getFullYear()}function ee(Q,ae){const[de,re,Z]=Q.split(" "),je=new Date(Number(Z),Number(de)-1,Number(re));return je.setMonth(je.getMonth()+ae),T(je)}function ce(Q){if(c.value&&d.value){if(Q>=O(c.value)&&Q<=O(d.value))return!0}else{if(c.value&&Q>=O(c.value))return!0;if(d.value&&Q<=O(d.value))return!0}return!1}function De(Q){if(c.value&&d.value){const ae=O(c.value),de=O(d.value);return Q>=ae&&Q<=de}if(c.value){const ae=O(c.value);return Q>=ae}if(d.value){const ae=O(d.value);return Q<=ae}return!1}function ye(Q){if(c.value&&d.value){const ae=O(c.value),de=O(d.value);return Q>=ae&&Q<=de}if(c.value){const ae=O(c.value);return Q>=ae}if(d.value){const ae=O(d.value);return Q<=ae}return!1}function se(Q){const[ae,de,re]=Q.split(" "),Z=new Date(Number(re),Number(ae)-1,Number(de)),je=Z.getMonth(),Me=86400;Z.setDate(1-Z.getDay());const Ke=[];for(let Y=0;Y<6*7;Y+=1){const we=T(Z),rt=[];if(i.minDate){const[et,me,Pe]=i.minDate.split("-"),v=new Date(Number(et),Number(me)-1,Number(Pe));Z<v&&rt.push("out of range")}if(i.maxDate){const[et,me,Pe]=i.maxDate.split("-"),v=new Date(Number(et),Number(me)-1,Number(Pe));Z>v&&rt.push("out of range")}if(je===Z.getMonth()){rt.push("inside month");const et=O(T(Z)),me=et-Me,Pe=et+Me;ce(et)&&(rt.push("selected"),ce(me)||rt.push("left-highlighted"),ce(Pe)||rt.push("right-highlighted"),(rt.includes("left-highlighted")||rt.includes("right-highlighted"))&&rt.push("highlighted"))}T(Z)===T(new Date)&&rt.push("today"),Ke.push({properties:rt,toString:()=>we}),Z.setDate(Z.getDate()+1)}return Ke}function ve(Q){const[ae,de,re]=Q.split(" "),Z=new Date(Number(re),Number(ae)-1,Number(de));Z.setMonth(0);const je=[];for(let Me=0;Me<3*4;Me+=1){const Ke=T(Z),Y=[];Y.push("inside month");const we=O(T(Z)),rt=new Date(we),et=new Date(we);rt.setMonth(rt.getMonth()-1),et.setMonth(et.getMonth()+1);const me=rt.getTime(),Pe=et.getTime();De(we)&&(Y.push("selected"),De(me)||Y.push("left-highlighted"),De(Pe)||Y.push("right-highlighted"),(Y.includes("left-highlighted")||Y.includes("right-highlighted"))&&Y.push("highlighted")),S(Z)===S(new Date)&&Y.push("today"),je.push({properties:Y,date:Ke,toString:()=>Ke}),Z.setMonth(Z.getMonth()+1)}return je}function te(Q){const[ae,de,re]=Q.split(" "),Z=new Date(Number(re),Number(ae)-1,Number(de));Z.setMonth(0);const je=[];for(let Me=0;Me<3*4;Me+=1){const Ke=T(Z),Y=[];Y.push("inside month");const we=O(T(Z)),[rt,et,me]=Q.split(" "),Pe=new Date(Number(me),Number(rt)-1,Number(et)),v=new Date(Number(me),Number(rt)-1,Number(et));Pe.setMonth(Pe.getMonth()-12),v.setMonth(v.getMonth()+12);const N=Pe.getTime(),H=v.getTime();ye(we)&&(Y.push("selected"),ye(N)||Y.push("left-highlighted"),ye(H)||Y.push("right-highlighted"),(Y.includes("left-highlighted")||Y.includes("right-highlighted"))&&Y.push("highlighted")),z(Z)===z(new Date)&&Y.push("today"),je.push({properties:Y,date:Z.getFullYear(),toString:()=>Ke}),Z.setFullYear(Z.getFullYear()+1)}return je}function Re(Q){if(!c.value||!d.value)c.value=Q.toString(),d.value=c.value;else{const ae=O(Q.toString()),de=O(c.value),re=O(d.value);de!==re?(c.value=Q.toString(),d.value=c.value):ae>re?d.value=Q.toString():ae<de?c.value=Q.toString():ae===de||ae===re?(c.value=Q.toString(),d.value=c.value):ae-de<re-ae?c.value=Q.toString():d.value=Q.toString()}}function Mt(){c.value="",d.value="",_.value=""}function st(Q){let ae,de,re;if(i.periodBaseDate){const Ke=i.periodBaseDate.split("-");if(Ke.length===3){const[Y,we,rt]=Ke;re=new Date(Number(Y),Number(we)-1,Number(rt))}else{const Y=new Date(i.periodBaseDate);re=Number.isNaN(Y.getTime())?new Date:Y}}else re=new Date;const Z=new Date(re.getTime()),je=Q.match(/^last-(\d+)-days$/),Me=Q.match(/^last-(\d+)-months$/);if(je){const Ke=Number(je[1]);de=T(Z),Z.setDate(Z.getDate()-Ke+1),ae=T(Z)}else if(Me){const Ke=Number(Me[1]);de=T(Z),Z.setDate(Z.getDate()+1),Z.setMonth(Z.getMonth()-Ke),ae=T(Z)}else if(Q==="current-month"){const Ke=re.getDate();Z.setDate(1),ae=T(Z),Z.setDate(Ke),de=T(Z)}else Q==="previous-month"&&(Z.setDate(1),Z.setMonth(Z.getMonth()-1),ae=T(Z),Z.setMonth(Z.getMonth()+1),Z.setDate(0),de=T(Z));return{startDate:ae,endDate:de}}function Ct(Q){const{startDate:ae,endDate:de}=st(Q);if(c.value=ae||"",d.value=de||"",d.value){const re=ee(u.value,1),Z=`${Number(K({toString:()=>d.value}))} 1 ${oe(d.value)}`;[u.value,re].includes(Z)||(u.value=Z)}t.nextTick(()=>{_.value=Q})}function ft(){if(r("submit",x.value),_.value==="custom")r("update:equivalentOption","");else{const Q=A.value.find(({id:ae})=>ae===_.value);r("update:equivalentOption",(Q==null?void 0:Q.name)||"")}}function ht(){const{startDate:Q,endDate:ae}=x.value,de=(Z,je)=>!Z||!je?!1:new Date(Z).getTime()===new Date(je).getTime(),re=A.value.find(({id:Z})=>{const{startDate:je,endDate:Me}=st(Z);return de(Q,je)&&de(ae,Me)});_.value=Q||ae?re?re.id:"custom":""}const Bt=t.computed(()=>[ee(u.value,-1),u.value]);return t.watch(x,Q=>{ht(),r("change",Q)}),t.onMounted(()=>{ht()}),(Q,ae)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-date-picker",`unnnic-date-picker--${i.variant}`]),"data-testid":"date-picker-root"},[Q.type==="day"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(Bt.value,(de,re)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:de},[t.createElementVNode("div",wx,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${Q.size}`])},[t.createVNode(gt,{size:"small",iconCenter:`keyboard_arrow_${re===0?"left":"right"}`,type:Q.size==="large"?"secondary":"tertiary",class:"button-space",style:t.normalizeStyle({gridArea:`${re===0?"left":"right"}-button`}),"data-testid":`date-picker-nav-${re===0?"left":"right"}`,onClick:t.withModifiers(Z=>u.value=ee(u.value,re===0?-1:1),["stop"])},null,8,["iconCenter","type","style","data-testid","onClick"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${Q.size}`])},t.toDisplayString(F.value[Number(K(de))-1])+" "+t.toDisplayString(oe(de)),3)],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`days--${Q.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(y.value,(Z,je)=>(t.openBlock(),t.createElementBlock("div",{key:je,class:"name"},t.toDisplayString(Z),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(se(de),(Z,je)=>(t.openBlock(),t.createElementBlock("div",{key:`${de}-${je}`,class:t.normalizeClass({disabled:!Z.properties.includes("inside month")||Z.properties.includes("out of range"),selectable:Z.properties.includes("inside month")&&!Z.properties.includes("out of range"),today:Z.properties.includes("today"),selected:Z.properties.includes("selected"),highlighted:Z.properties.includes("highlighted"),left:Z.properties.includes("left-highlighted"),right:Z.properties.includes("right-highlighted")}),"data-testid":"date-picker-day",onClick:Me=>Z.properties.includes("inside month")&&!Z.properties.includes("out of range")&&Re(Z)},t.toDisplayString(I(Z)),11,kx))),128))],2)]),ae[4]||(ae[4]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):Q.type==="month"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList([u.value],de=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:de},[t.createElementVNode("div",Dx,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${Q.size}`])},[t.createVNode(gt,{size:"small",iconCenter:"keyboard_arrow_left",type:Q.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},"data-testid":"date-picker-month-nav-left",onClick:ae[0]||(ae[0]=re=>u.value=ee(u.value,-12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${Q.size}`])},t.toDisplayString(oe(de)),3),t.createVNode(gt,{size:"small",iconCenter:"keyboard_arrow_right",type:Q.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},"data-testid":"date-picker-month-nav-right",onClick:ae[1]||(ae[1]=re=>u.value=ee(u.value,12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${Q.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(ve(de),(re,Z)=>(t.openBlock(),t.createElementBlock("div",{key:`${de}-${Z}`,class:t.normalizeClass({disabled:!re.properties.includes("inside month"),selectable:re.properties.includes("inside month"),today:re.properties.includes("today"),selected:re.properties.includes("selected"),highlighted:re.properties.includes("highlighted"),left:re.properties.includes("left-highlighted"),right:re.properties.includes("right-highlighted")}),"data-testid":"date-picker-month-cell",onClick:je=>re.properties.includes("inside month")&&Re(re)},t.toDisplayString(F.value[K(re)-1].substr(0,3)),11,Ax))),128))],2)]),ae[5]||(ae[5]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):Q.type==="year"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList([u.value],de=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:de},[t.createElementVNode("div",Ex,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${Q.size}`])},[t.createVNode(gt,{size:"small",iconCenter:"arrow-left-1-1",type:Q.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},"data-testid":"date-picker-year-nav-left",onClick:ae[2]||(ae[2]=re=>u.value=ee(u.value,-12*12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${Q.size}`])},t.toDisplayString(oe(de)),3),t.createVNode(gt,{size:"small",iconCenter:"arrow-right-1-1",type:Q.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},"data-testid":"date-picker-year-nav-right",onClick:ae[3]||(ae[3]=re=>u.value=ee(u.value,12*12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${Q.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(te(de),(re,Z)=>(t.openBlock(),t.createElementBlock("div",{key:`${de}-${Z}`,class:t.normalizeClass({disabled:!re.properties.includes("inside month"),selectable:re.properties.includes("inside month"),today:re.properties.includes("today"),selected:re.properties.includes("selected"),highlighted:re.properties.includes("highlighted"),left:re.properties.includes("left-highlighted"),right:re.properties.includes("right-highlighted")}),"data-testid":"date-picker-year-cell",onClick:je=>re.properties.includes("inside month")&&Re(re)},t.toDisplayString(re.date),11,Cx))),128))],2)]),ae[6]||(ae[6]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):t.createCommentVNode("",!0),Q.size!=="small"?(t.openBlock(),t.createElementBlock("div",xx,[Q.hideOptions?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("div",Mx,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(A.value,(de,re)=>(t.openBlock(),t.createElementBlock("div",{key:re,class:t.normalizeClass(["option",{selectable:de.id!=="custom",selected:_.value===de.id}]),"data-testid":"date-picker-option",onClick:Z=>de.id==="custom"?null:Ct(de.id)},t.toDisplayString(de.name),11,Bx))),128))])),t.createElementVNode("div",vx,[Q.disableClear?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(gt,{key:0,size:"small",text:E.value,type:"tertiary","data-testid":"date-picker-clear",onClick:Mt},null,8,["text"])),t.createVNode(gt,{size:"small",text:B.value,type:"secondary","data-testid":"date-picker-submit",onClick:ft},null,8,["text"])])])):t.createCommentVNode("",!0)],2))}}),wte="",tl=P(jx,[["__scopeId","data-v-25397fc1"]]),Er=t.defineComponent({name:"UnnnicPopover",__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(e,{emit:n}){const r=ma(e,n);return(s,u)=>(t.openBlock(),t.createBlock(t.unref(_y),t.normalizeProps(t.guardReactiveProps(t.unref(r))),{default:t.withCtx(()=>[t.renderSlot(s.$slots,"default")]),_:3},16))}}),Cr=t.defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},sideFlip:{type:Boolean},align:{default:"center"},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{default:""},size:{default:"medium"},width:{default:""}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(e,{emit:n}){const a=e,i=n,r=ba(a,"class","size"),s=ma(r,i),u=t.useSlots(),c=sr(),d=gs(),_=F=>{const y=F.type;return(y==null?void 0:y.name)||(y==null?void 0:y.__name)},g=t.computed(()=>{var y;return(((y=u.default)==null?void 0:y.call(u))||[]).filter(A=>_(A)!=="UnnnicPopoverFooter")}),h=t.computed(()=>{var y;return(((y=u.default)==null?void 0:y.call(u))||[]).filter(A=>_(A)==="UnnnicPopoverFooter")}),p=t.computed(()=>a.width?a.width:{small:"240px",medium:"320px",large:"400px"}[a.size]);return(F,y)=>(t.openBlock(),t.createBlock(t.unref(ky),{to:t.unref(d)},{default:t.withCtx(()=>[t.createVNode(t.unref(yy),t.mergeProps({...t.unref(s),...F.$attrs},{style:{width:p.value,zIndex:t.unref(c)},class:t.unref(Xt)("unnnic-popover","bg-popover text-popover-foreground outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2")}),{default:t.withCtx(()=>[t.createElementVNode("section",{class:t.normalizeClass(`unnnic-popover__content ${a.class||""}`)},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.value,(A,E)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(A),{key:E}))),128))],2),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(h.value,(A,E)=>(t.openBlock(),t.createBlock(t.resolveDynamicComponent(A),{key:E}))),128))]),_:1},16,["style","class"])]),_:1},8,["to"]))}}),kte="",Nx={class:"unnnic-popover__footer"},Dd=t.defineComponent({name:"UnnnicPopoverFooter",__name:"PopoverFooter",setup(e){return(n,a)=>(t.openBlock(),t.createElementBlock("footer",Nx,[t.renderSlot(n.$slots,"default")]))}}),Dte="",Tx=t.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const n=e;return(a,i)=>(t.openBlock(),t.createBlock(t.unref(Ay),t.mergeProps(n,{class:"unnnic-popover-trigger"}),{default:t.withCtx(()=>[t.renderSlot(a.$slots,"default",{},void 0,!0)]),_:3},16))}}),Ate="",xr=P(Tx,[["__scopeId","data-v-df136255"]]),Sx=t.defineComponent({name:"UnnnicPopoverOption",__name:"PopoverOption",props:{label:{},disabled:{type:Boolean,default:!1},active:{type:Boolean,default:!1},focused:{type:Boolean,default:!1},scheme:{default:"fg-emphasized"},icon:{default:""}},setup(e){const n=e,a=t.computed(()=>n.active?"fg-inverted":n.disabled?"fg-muted":n.scheme);return(i,r)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-popover-option",{"unnnic-popover-option--disabled":n.disabled,"unnnic-popover-option--active":n.active,"unnnic-popover-option--focused":n.focused}])},[n.icon?(t.openBlock(),t.createBlock(ue,{key:0,icon:n.icon,scheme:a.value,size:"ant"},null,8,["icon","scheme"])):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass(["unnnic-popover-option__label",`unnnic-popover-option__label--${a.value}`,`unnnic-popover-option--disabled: ${n.disabled}`])},t.toDisplayString(n.label),3)],2))}}),Ete="",al=P(Sx,[["__scopeId","data-v-e9cee27e"]]),Ix=t.defineComponent({name:"UnnnicInputDatePicker",__name:"InputDatePicker",props:{modelValue:{},iconPosition:{default:"left"},minDate:{default:""},maxDate:{default:""},fillW:{type:Boolean,default:!1},type:{default:"day"},size:{default:"md"},clearText:{default:"Clear"},actionText:{default:"Filter"},months:{default:()=>[]},days:{default:()=>[]},options:{default:()=>[]},next:{type:Boolean,default:!1},format:{default:"YYYY-MM-DD"},inputFormat:{default:"MM-DD-YYYY"},position:{default:"left"},disableClear:{type:Boolean,default:!1},hideOptions:{type:Boolean,default:!1},periodBaseDate:{default:""},disabled:{type:Boolean,default:!1}},emits:["update:model-value","selectDate"],setup(e,{emit:n}){const a=e,i=n,r=t.ref(!1),s=t.ref(""),u=t.computed(()=>a.position==="right"?"end":"start"),c=t.computed(()=>{const F=[],{start:y,end:A}=a.modelValue||{};return y&&F.push(ie(y,a.format).format(a.inputFormat||"")),A&&F.push(ie(A,a.format).format(a.inputFormat||"")),F.length?F.join(" ~ "):String(a.inputFormat||"").replaceAll("-","/").toLowerCase()}),d=t.computed(()=>a.modelValue.start?ie(a.modelValue.start,a.format).format("MM DD YYYY"):void 0),_=t.computed(()=>a.modelValue.end?ie(a.modelValue.end,a.format).format("MM DD YYYY"):void 0);function g(F){const{startDate:y,endDate:A}=F,E={start:ie(y,"MM-DD-YYYY").format(a.format),end:ie(A,"MM-DD-YYYY").format(a.format)};i("selectDate",E)}function h(F){const y=F.startDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2"),A=F.endDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2");r.value=!1,i("update:model-value",{start:y?ie(y,"YYYY-MM-DD").format(a.format):null,end:A?ie(A,"YYYY-MM-DD").format(a.format):null})}function p(){r.value=!0}return(F,y)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["dropdown",{"fill-w":F.fillW}])},[t.createVNode(t.unref(Er),{open:r.value,"onUpdate:open":y[1]||(y[1]=A=>r.value=A)},{default:t.withCtx(()=>[t.createVNode(t.unref(xr),{asChild:!0},{default:t.withCtx(()=>[t.createVNode(_n,{"data-testid":"input",class:t.normalizeClass(["input",{"date-picker-input-next":F.next}]),size:F.size,iconLeft:F.iconPosition==="left"?"calendar_month":void 0,iconRight:F.iconPosition==="right"?"calendar_month":void 0,readonly:"",modelValue:s.value||c.value||"",disabled:F.disabled,onClick:p,onFocus:p},null,8,["class","size","iconLeft","iconRight","modelValue","disabled"])]),_:1}),t.createVNode(t.unref(Cr),{width:"auto",side:"bottom",align:u.value,class:"date-picker-popover-content"},{default:t.withCtx(()=>[t.createVNode(tl,{equivalentOption:s.value,"onUpdate:equivalentOption":y[0]||(y[0]=A=>s.value=A),"data-testid":"date-picker",variant:"popover",type:F.type,clearLabel:F.clearText,actionLabel:F.actionText,months:F.months,days:F.days,options:F.options,periodBaseDate:F.periodBaseDate,initialStartDate:d.value,initialEndDate:_.value,minDate:F.minDate,maxDate:F.maxDate,disableClear:F.disableClear,hideOptions:F.hideOptions,onChange:g,onSubmit:h},null,8,["equivalentOption","type","clearLabel","actionLabel","months","days","options","periodBaseDate","initialStartDate","initialEndDate","minDate","maxDate","disableClear","hideOptions"])]),_:1},8,["align"])]),_:1},8,["open"])],2))}}),Cte="",xte="",Ad=P(Ix,[["__scopeId","data-v-9dc506c3"]]),Mte="",Ox={components:{UnnnicIcon:ue},props:{type:{type:String,default:"secondary"},size:{type:String,required:!0,validator(e){return["small","large"].includes(e)}},icon:{type:String,required:!0}},computed:{iconScheme(){return this.type==="primary"?"neutral-snow":"neutral-darkest"}}};function Lx(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("button",t.mergeProps({class:["button-icon",a.size,a.type]},e.$attrs),[t.createVNode(u,{icon:a.icon,scheme:s.iconScheme,size:"ant"},null,8,["icon","scheme"])],16)}const Ed=P(Ox,[["render",Lx],["__scopeId","data-v-46ae4cf4"]]),Cd=e=>{const{label:n,children:a}=e;if(!!!n.trim())throw new Error('Each item in "items" must have "label".');return a&&Array.isArray(a)&&a.forEach(Cd),!0},zx=e=>{if(!(e!=null&&e[0]))throw new Error("Items property cannot be an empty array.");return e.forEach(Cd),!0},Bte="",qx=["title"],Px={key:0,class:"unnnic-sidebar-item-children"},Vx=["onClick"],Ux=["title"],nl=P(Object.assign({name:"UnnnicSidebarItem"},{props:{item:{type:Object,required:!0,validator:Cd},active:{type:Object,default:()=>({item:!1,childIndex:null})},autoNavigateFirstChild:{type:Boolean,default:!1}},emits:["navigate"],setup(e,{emit:n}){const a=e;t.onMounted(()=>{const{childIndex:g,item:h}=a.active;typeof g=="number"&&g>=0&&h&&s()});const i=t.computed(()=>{var g;return!!((g=a.item.children)!=null&&g.length)}),r=t.ref(!1),s=()=>{r.value=!r.value,r.value&&a.autoNavigateFirstChild&&_("navigate",{item:a.item,child:a.item.children[0]})},u=g=>{const{item:h,childIndex:p}=a.active;return typeof p!="number"?h:h&&p===g},c=()=>{i.value?s():d()},d=()=>{a.active.item||_("navigate",{item:a.item,child:null})},_=n;return(g,h)=>{var p;return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createElementVNode("section",{"data-testid":"sidebar-item",class:t.normalizeClass({"unnnic-sidebar-item":!0,active:e.active.item}),onClick:t.withModifiers(c,["stop"])},[e.item.icon?(t.openBlock(),t.createBlock(ue,{key:0,class:"unnnic-sidebar-item__icon",icon:e.item.icon,size:"ant",scheme:e.active.item?"weni-600":"neutral-cloudy","data-testid":"item-icon"},null,8,["icon","scheme"])):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass({"unnnic-sidebar-item__label":!0,active:e.active.item}),title:e.item.label},t.toDisplayString(e.item.label),11,qx),(p=e.item.children)!=null&&p.length?(t.openBlock(),t.createBlock(ue,{key:1,class:"unnnic-sidebar-item__arrow",icon:r.value?"keyboard_arrow_up":"keyboard_arrow_down",size:"ant",scheme:"neutral-cloudy","data-testid":"arrow-icon"},null,8,["icon"])):t.createCommentVNode("",!0)],2),t.createVNode(t.Transition,{name:"slide-fade"},{default:t.withCtx(()=>[r.value?(t.openBlock(),t.createElementBlock("ul",Px,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.item.children,(F,y)=>(t.openBlock(),t.createElementBlock("li",{key:F,class:t.normalizeClass({"unnnic-sidebar-item-child":!0,active:u(y)}),"data-testid":"sidebar-item-child",onClick:t.withModifiers(A=>!u(y)&&_("navigate",{item:e.item,child:F}),["stop"])},[F.icon?(t.openBlock(),t.createBlock(ue,{key:0,class:"unnnic-sidebar-item-child__icon",icon:F.icon,size:"ant",scheme:u(y)?"weni-600":"neutral-cloudy"},null,8,["icon","scheme"])):t.createCommentVNode("",!0),t.createElementVNode("p",{class:t.normalizeClass({"unnnic-sidebar-item-child__label":!0,active:u(y)}),title:F.label},t.toDisplayString(F.label),11,Ux)],10,Vx))),128))])):t.createCommentVNode("",!0)]),_:1})],64)}}}),[["__scopeId","data-v-418b1f69"]]),Nte="",Rx={class:"unnnic-sidebar-items"},xd=P(Object.assign({name:"UnnnicSidebar"},{props:{position:{type:String,default:"left",validator(e){return["left","right"].includes(e)}},width:{type:String,default:"200px",validator(e){const n=/^\d+(\.\d+)?px$/,a=/^\d+(\.\d+)?%$/;return n.test(e)||a.test(e)}},items:{type:Array,required:!0,validator:zx},active:{type:Object,default:()=>({itemIndex:null,childIndex:null})},autoNavigateFirstChild:{type:Boolean,default:!1}},emits:["navigate"],setup(e,{emit:n}){t.useCssVars(s=>({"6c03e4b5":a.width}));const a=e,i=n,r=({item:s,child:u})=>{i("navigate",{item:s,child:u})};return(s,u)=>(t.openBlock(),t.createElementBlock("nav",{class:t.normalizeClass(["unnnic-sidebar",`unnnic-sidebar--${e.position}`])},[t.renderSlot(s.$slots,"top",{class:"unnnic-sidebar-top"},void 0,!0),t.createElementVNode("ul",Rx,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(c,d)=>(t.openBlock(),t.createElementBlock("li",{key:c},[t.createVNode(nl,{item:c,active:{item:e.active.itemIndex===d,childIndex:e.active.childIndex},autoNavigateFirstChild:e.autoNavigateFirstChild,"data-testid":"sidebar-item",onNavigate:u[0]||(u[0]=_=>r(_))},null,8,["item","active","autoNavigateFirstChild"])]))),128))]),t.renderSlot(s.$slots,"bottom",{class:"unnnic-sidebar-bottom"},void 0,!0)],2))}}),[["__scopeId","data-v-7bdf478e"]]),Ite="",Yx={name:"UnnnicTable",components:{},props:{items:{type:Array}},data(){return{value:!1}},computed:{}},Hx={class:"unnnic-table"},Gx={class:"header"},Qx={class:"scroll"};function Wx(e,n,a,i,r,s){return t.withDirectives((t.openBlock(),t.createElementBlock("div",Hx,[t.createElementVNode("div",Gx,[t.renderSlot(e.$slots,"header",{},void 0,!0)]),n[0]||(n[0]=t.createElementVNode("div",null,[t.createElementVNode("div",{class:"item-spacer"})],-1)),t.createElementVNode("div",Qx,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.items,(u,c)=>(t.openBlock(),t.createElementBlock("div",{key:c,class:"item"},[t.renderSlot(e.$slots,"item",{item:u},void 0,!0)]))),128))])],512)),[[t.vShow,!0]])}const Md=P(Yx,[["render",Wx],["__scopeId","data-v-b2229274"]]),Ote="",Lte="",Xx={name:"UnnnicTableRow",props:{headers:{type:Array}},data(){return{}}},Kx={class:"table-row"},Zx={class:"break-text"};function Jx(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("div",Kx,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.headers,(u,c)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:u.id},[t.createElementVNode("div",{class:"col",style:t.normalizeStyle({width:u.width,flex:u.flex,minWidth:0})},[t.renderSlot(e.$slots,u.id,{},()=>[t.createElementVNode("div",Zx,t.toDisplayString(u.text),1)],!0)],4),t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass(["divider",{condensed:u.condensed}])},null,2),[[t.vShow,c+1!==a.headers.length]])],64))),128))])}const Bd=P(Xx,[["render",Jx],["__scopeId","data-v-cb0c6b93"]]);function Km(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Ao(e){return typeof e=="function"?e():t.unref(e)}const Zm=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const $x=Object.prototype.toString,eM=e=>$x.call(e)==="[object Object]",Eo=()=>{},vd=tM();function tM(){var e,n;return Zm&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((n=window==null?void 0:window.navigator)==null?void 0:n.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const Jm={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function aM(...e){if(e.length!==1)return t.toRef(...e);const n=e[0];return typeof n=="function"?t.readonly(t.customRef(()=>({get:n,set:Eo}))):t.ref(n)}function Co(e){var n;const a=Ao(e);return(n=a==null?void 0:a.$el)!=null?n:a}const $m=Zm?window:void 0;function il(...e){let n,a,i,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,r]=e,n=$m):[n,a,i,r]=e,!n)return Eo;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const s=[],u=()=>{s.forEach(g=>g()),s.length=0},c=(g,h,p,F)=>(g.addEventListener(h,p,F),()=>g.removeEventListener(h,p,F)),d=t.watch(()=>[Co(n),Ao(r)],([g,h])=>{if(u(),!g)return;const p=eM(h)?{...h}:h;s.push(...a.flatMap(F=>i.map(y=>c(g,F,y,p))))},{immediate:!0,flush:"post"}),_=()=>{d(),u()};return Km(_),_}let ep=!1;function tp(e,n,a={}){const{window:i=$m,ignore:r=[],capture:s=!0,detectIframe:u=!1}=a;if(!i)return Eo;vd&&!ep&&(ep=!0,Array.from(i.document.body.children).forEach(p=>p.addEventListener("click",Eo)),i.document.documentElement.addEventListener("click",Eo));let c=!0;const d=p=>r.some(F=>{if(typeof F=="string")return Array.from(i.document.querySelectorAll(F)).some(y=>y===p.target||p.composedPath().includes(y));{const y=Co(F);return y&&(p.target===y||p.composedPath().includes(y))}}),g=[il(i,"click",p=>{const F=Co(e);if(!(!F||F===p.target||p.composedPath().includes(F))){if(p.detail===0&&(c=!d(p)),!c){c=!0;return}n(p)}},{passive:!0,capture:s}),il(i,"pointerdown",p=>{const F=Co(e);c=!d(p)&&!!(F&&!p.composedPath().includes(F))},{passive:!0}),u&&il(i,"blur",p=>{setTimeout(()=>{var F;const y=Co(e);((F=i.document.activeElement)==null?void 0:F.tagName)==="IFRAME"&&!(y!=null&&y.contains(i.document.activeElement))&&n(p)},0)})].filter(Boolean);return()=>g.forEach(p=>p())}const rl={[Jm.mounted](e,n){const a=!n.modifiers.bubble;if(typeof n.value=="function")e.__onClickOutside_stop=tp(e,n.value,{capture:a});else{const[i,r]=n.value;e.__onClickOutside_stop=tp(e,i,Object.assign({capture:a},r))}},[Jm.unmounted](e){e.__onClickOutside_stop()}};function jd(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function ap(e){const n=window.getComputedStyle(e);if(n.overflowX==="scroll"||n.overflowY==="scroll"||n.overflowX==="auto"&&e.clientWidth<e.scrollWidth||n.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const a=e.parentNode;return!a||a.tagName==="BODY"?!1:ap(a)}}function nM(e){const n=e||window.event,a=n.target;return ap(a)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const Nd=new WeakMap;function iM(e,n=!1){const a=t.ref(n);let i=null,r="";t.watch(aM(e),c=>{const d=jd(Ao(c));if(d){const _=d;if(Nd.get(_)||Nd.set(_,_.style.overflow),_.style.overflow!=="hidden"&&(r=_.style.overflow),_.style.overflow==="hidden")return a.value=!0;if(a.value)return _.style.overflow="hidden"}},{immediate:!0});const s=()=>{const c=jd(Ao(e));!c||a.value||(vd&&(i=il(c,"touchmove",d=>{nM(d)},{passive:!1})),c.style.overflow="hidden",a.value=!0)},u=()=>{const c=jd(Ao(e));!c||!a.value||(vd&&(i==null||i()),c.style.overflow=r,Nd.delete(c),a.value=!1)};return Km(u),t.computed({get(){return a.value},set(c){c?s():u()}})}function rM(){let e=!1;const n=t.ref(!1);return(a,i)=>{if(n.value=i.value,e)return;e=!0;const r=iM(a,i.value);t.watch(n,s=>r.value=s)}}rM();const zte="",oM={name:"UnnnicDropdown",directives:{onClickOutside:rl},props:{useOpenProp:{type:Boolean,default:!1},open:{type:Boolean,default:!1},forceOpen:{type:Boolean,default:!1},position:{type:String,default:"bottom-left",validator(e){return["top-left","top-right","none","bottom-left","bottom-right"].indexOf(e)!==-1}}},emits:["update:open"],data(){return{active:!1}},watch:{open:{handler(){this.active=this.open},immediate:!0},active(){this.useOpenProp||this.$emit("update:open",this.active)}},methods:{onClickTrigger(){this.forceOpen||(this.useOpenProp?this.$emit("update:open",!this.open):this.active=!this.active)},onClickOutside(){if(!this.forceOpen){if(this.useOpenProp&&this.open){this.$emit("update:open",!1);return}this.active&&(this.active=!1)}}}},sM={class:"unnnic-dropdown__trigger"};function lM(e,n,a,i,r,s){const u=t.resolveDirective("on-click-outside");return t.openBlock(),t.createElementBlock("div",{class:"unnnic-dropdown",onClick:n[0]||(n[0]=t.withModifiers((...c)=>s.onClickTrigger&&s.onClickTrigger(...c),["stop"]))},[t.createElementVNode("div",sM,[t.renderSlot(e.$slots,"trigger",{},void 0,!0),(a.useOpenProp?a.open:r.active)?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:0,"data-testid":"dropdown-content",class:t.normalizeClass(["unnnic-dropdown__content",a.useOpenProp?a.open:r.active?"":"unnnic-dropdown__content--hidden",`unnnic-dropdown__content__position-${a.position}`])},[t.renderSlot(e.$slots,"default",{},void 0,!0)],2)),[[u,s.onClickOutside]]):t.createCommentVNode("",!0)])])}const xo=P(oM,[["render",lM],["__scopeId","data-v-eb4f06f5"]]),qte="",uM={name:"UnnnicDropdownItem"},cM={class:"unnnic-dropdown-item unnnic--clickable","data-testid":"dropdown-item"};function dM(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("a",cM,[t.renderSlot(e.$slots,"default")])}const ol=P(uM,[["render",dM]]),Pte="",fM={components:{UnnnicIcon:ue},props:{enabled:{type:Boolean,default:!0},icon:{type:String,default:"graph-stats-1"},size:{type:String,default:"sm",validator(e){return["nano","xs","sm","lg","xl"].indexOf(e)!==-1}},scheme:{type:String,default:"aux-blue"},filled:{type:Boolean,default:!1},opacity:{type:Boolean,default:!0}},computed:{iconSize(){return{nano:"xs",xs:"sm",sm:"md",lg:"lg",xl:"xl"}[this.size]}}};function _M(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-avatar-icon",a.scheme,a.size,{disabled:!a.enabled},a.filled,{opacity:!a.opacity}])},[t.createVNode(u,{icon:a.icon,scheme:a.enabled?a.scheme:"neutral-cloudy",size:s.iconSize,filled:a.filled},null,8,["icon","scheme","size","filled"])],2)}const _i=P(fM,[["render",_M],["__scopeId","data-v-d0742329"]]),Vte="",gM={name:"UnnnicCard",components:{UnnnicIcon:ue,UnnnicAvatarIcon:_i},props:{title:{type:String,default:null},value:{type:Number,default:null},icon:{type:String,default:null},percent:{type:Number,default:0},invertedPercentage:{type:Boolean,default:!1},scheme:{type:String,default:null}},computed:{color(){return this.invertedPercentage?this.percent<0?"green":"red":this.percent<0?"red":"green"}}},hM={class:"unnnic-card-dash"},mM={class:"header"},pM={class:"label"},FM={class:"content"},bM={class:"value"},yM={class:"label"};function wM(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicAvatarIcon"),c=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",hM,[t.createElementVNode("div",mM,[t.createVNode(u,{size:"sm",scheme:a.scheme,icon:a.icon},null,8,["scheme","icon"]),t.createElementVNode("div",pM,t.toDisplayString(a.title),1)]),t.createElementVNode("div",FM,[t.createElementVNode("div",bM,t.toDisplayString(a.value),1),a.percent?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["percent",`unnnic-card-scheme--feedback-${s.color}`])},[t.createVNode(c,{icon:`graph-stats-${a.percent>=0?"ascend":"descend"}-2`,scheme:`feedback-${s.color}`,size:"sm",class:"icon"},null,8,["icon","scheme"]),t.createElementVNode("div",yM,t.toDisplayString(a.percent>=0?`+${a.percent}%`:`${a.percent}%`),1)],2)):t.createCommentVNode("",!0)])])}const kM=P(gM,[["render",wM],["__scopeId","data-v-aab8cf56"]]),Ute="",DM={name:"UnnnicCard",components:{ToolTip:Ht,UnnnicIcon:ue},props:{title:{type:String,default:null},info:{type:String,default:null},icon:{type:String,default:null},infoPosition:{type:String,default:"right"},scheme:{type:String,default:null},hasInformationIcon:{type:Boolean,default:!0},enabled:{type:Boolean,default:!0}}},AM={class:"unnnic-card-title"},EM={class:"title"};function CM(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("ToolTip");return t.openBlock(),t.createElementBlock("div",AM,[t.createElementVNode("div",{class:t.normalizeClass(["avatar-icon",`unnnic-card-scheme--${a.scheme}`])},[t.createVNode(u,{icon:a.icon,scheme:a.scheme,size:"md"},null,8,["icon","scheme"])],2),t.createElementVNode("div",EM,t.toDisplayString(a.title),1),a.hasInformationIcon?(t.openBlock(),t.createBlock(c,{key:0,class:"information",side:a.infoPosition,text:a.info,enabled:a.enabled},{default:t.withCtx(()=>[t.createVNode(u,{icon:"information-circle-4",class:"unnnic-card-title__content_info",size:"sm",scheme:"neutral-soft"})]),_:1},8,["side","text","enabled"])):t.createCommentVNode("",!0)])}const np=P(DM,[["render",CM],["__scopeId","data-v-14d9d015"]]),Rte="",xM={name:"UnnnicCard",components:{UnnnicIcon:ue},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},status:{type:String,default:null},scheme:{type:String,default:null}}},MM={class:"header"},BM={class:"label"},vM={class:"content"},jM={class:"title-container"},NM={class:"title"},TM={class:"description"};function SM(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-card-status",`unnnic-card-scheme--${a.scheme}--border`])},[t.createElementVNode("div",MM,[t.createVNode(u,{icon:a.icon,scheme:"neutral-dark",size:"md",class:"icon"},null,8,["icon"]),t.createElementVNode("div",BM,t.toDisplayString(a.title),1)]),t.createElementVNode("div",vM,[t.createElementVNode("div",jM,[t.createVNode(u,{icon:"indicator",scheme:a.scheme,size:"sm"},null,8,["scheme"]),t.createElementVNode("div",NM,t.toDisplayString(a.status),1)]),t.createElementVNode("div",TM,t.toDisplayString(a.description),1)])],2)}const IM=P(xM,[["render",SM],["__scopeId","data-v-1fc599bf"]]),Yte="",OM={name:"UnnnicCard",components:{UnnnicAvatarIcon:_i},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},enabled:{type:Boolean,default:!0},scheme:{type:String,default:null}}},LM={class:"icon"},zM={class:"content"},qM={class:"title"},PM={class:"description"};function VM(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-account":!0,enabled:a.enabled})},[t.createElementVNode("div",LM,[t.createVNode(u,{size:"xs",scheme:a.scheme,icon:a.icon,enabled:a.enabled},null,8,["scheme","icon","enabled"])]),t.createElementVNode("div",zM,[t.createElementVNode("div",qM,t.toDisplayString(a.title),1),t.createElementVNode("div",PM,t.toDisplayString(a.description),1)])],2)}const UM=P(OM,[["render",VM],["__scopeId","data-v-7f42cb11"]]),Hte="",RM={name:"UnnnicCard",props:{title:{type:String,default:null},description:{type:String,default:null},clickable:{type:Boolean,default:!1}}},YM={class:"unnnic-card-default__content"},HM={class:"unnnic-card-default__title"},GM=["title"];function QM(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-default":!0,"unnnic-card-default__clickable":a.clickable})},[t.createElementVNode("div",YM,[t.createElementVNode("div",HM,t.toDisplayString(a.title),1),t.createElementVNode("p",{class:"unnnic-card-default__description",title:a.description},t.toDisplayString(a.description),9,GM)])],2)}const WM=P(RM,[["render",QM]]),Gte="",XM={name:"UnnnicCard",components:{UnnnicIcon:ue},props:{text:{type:String,default:null},icon:{type:String,default:null},clickable:{type:Boolean,default:!1}}},KM={class:"unnnic-card-blank__content"},ZM={class:"unnnic-card-blank__content__text"};function JM(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-blank":!0,"unnnic-card-blank__clickable":a.clickable})},[t.createElementVNode("div",KM,[t.createVNode(u,{icon:a.icon,scheme:"neutral-clean",class:"unnnic-card-blank__content__icon",size:"xl"},null,8,["icon"]),t.createElementVNode("div",ZM,t.toDisplayString(a.text),1)])],2)}const $M=P(XM,[["render",JM]]),Qte="",eB={name:"UnnnicCard",components:{UnnnicIcon:ue},props:{title:{type:String,default:null},description:{type:String,default:null},icon:{type:String,default:null},enabled:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1}}},tB={class:"unnnic-card-content__content"},aB={class:"unnnic-card-content__content__title"},nB={class:"unnnic-card-content__content__description"};function iB(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-content":!0,"unnnic-card-content--disabled":!a.enabled,"unnnic-card-content__clickable":a.clickable})},[t.createElementVNode("div",{class:t.normalizeClass(["unnnic-card-content__icon",a.enabled&&"unnnic-card-content__icon--disabled"])},[t.createVNode(u,{icon:a.icon,scheme:"neutral-cloudy",size:"sm"},null,8,["icon"])],2),t.createElementVNode("div",tB,[t.createElementVNode("div",aB,t.toDisplayString(a.title),1),t.createElementVNode("div",nB,t.toDisplayString(a.description),1)])],2)}const rB=P(eB,[["render",iB]]),Wte="",oB={name:"UnnnicCard",components:{UnnnicIcon:ue},props:{title:{type:String,default:null},description:{type:String,default:null},comments:{type:String,default:null},clickable:{type:Boolean,default:!1},iconSrc:{type:String,default:null},rating:{type:Number,default:0},typeAction:{type:String,default:null}},methods:{cardClick(){this.$emit("openModal")}}},sB={class:t.normalizeClass(["unnnic-card-marketplace__icons"])},lB=["src"],uB={class:"unnnic-card-marketplace__content"},cB={class:"unnnic-card-marketplace__content__title"},dB=["title"],fB={key:0,class:"unnnic-card-marketplace__content__rating"},_B={class:"unnnic-card-marketplace__content__rating__value"},gB={class:"unnnic-card-marketplace__content__rating__comments"};function hB(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-marketplace":!0,"unnnic-card-marketplace__clickable":a.clickable,"unnnic-card-marketplace__add":a.typeAction==="add","unnnic-card-marketplace__config":a.typeAction==="config","unnnic-card-marketplace__edit":a.typeAction==="edit"}),onClick:n[0]||(n[0]=(...c)=>s.cardClick&&s.cardClick(...c))},[t.createElementVNode("div",sB,[t.createElementVNode("img",{class:"unnnic-card-marketplace__icons__app",src:a.iconSrc},null,8,lB),t.renderSlot(e.$slots,"actions")]),t.createElementVNode("div",uB,[t.createElementVNode("div",cB,t.toDisplayString(a.title),1),t.createElementVNode("div",{class:"unnnic-card-marketplace__content__description",title:a.description},t.toDisplayString(a.description),9,dB),a.typeAction==="add"?(t.openBlock(),t.createElementBlock("div",fB,[t.createVNode(u,{class:"unnnic-card-marketplace__content__rating__star",scheme:"feedback-yellow",icon:"rating-star-1",size:"ant",filled:""}),t.createElementVNode("div",_B,t.toDisplayString(a.rating),1),t.createElementVNode("div",gB," ("+t.toDisplayString(a.comments)+") ",1)])):t.createCommentVNode("",!0)])],2)}const mB=P(oB,[["render",hB]]),Xte="",pB={name:"UnnnicCard",props:{type:{type:String,default:"title",validator(e){return["title","status","dash","account","default","blank","content","marketplace"].indexOf(e)!==-1}},title:{type:String,default:null},description:{type:String,default:null},status:{type:String,default:null},info:{type:String,default:null},text:{type:String,default:null},value:{type:Number,default:null},percent:{type:Number,default:0},invertedPercentage:{type:Boolean,default:!1},rating:{type:Number,default:0},comments:{type:String,default:null},enabled:{type:Boolean,default:!0},icon:{type:String,default:null},iconSrc:{type:String,default:null},infoPosition:{type:String,default:"right"},hasInformationIcon:{type:Boolean,default:!0},scheme:{type:String,default:"aux-blue",validator(e){return["feedback-red","feedback-green","feedback-yellow","feedback-blue","feedback-grey","aux-blue","aux-purple","aux-orange","aux-lemon","aux-pink","brand-weni-soft"].indexOf(e)!==-1}},clickable:{type:Boolean,default:!1},typeAction:{type:String,default:null,validator(e){return["add","config","edit"].indexOf(e)!==-1}},buttonAction:{type:Function,default:()=>{}}},computed:{currentTypeIcon(){return this.icon?this.icon:this.type==="title"?"graph-stats-1":this.type==="dash"?"messages-bubble-1":this.type==="status"?"science-fiction-robot-2":this.type==="account"?"single-neutral-2":null},currentComponent(){return this.type==="title"?np:this.type==="dash"?kM:this.type==="status"?IM:this.type==="account"?UM:this.type==="default"?WM:this.type==="blank"?$M:this.type==="content"?rB:this.type==="marketplace"?mB:np}},methods:{openModal(){this.$emit("openModal")}}};function FB(e,n,a,i,r,s){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(s.currentComponent),t.mergeProps({class:"unnnic-card-component"},e.$attrs,{title:a.title,text:a.text,info:a.info,icon:s.currentTypeIcon,iconSrc:a.iconSrc,rating:a.rating,comments:a.comments,typeAction:a.typeAction,buttonAction:a.buttonAction,value:a.value,percent:a.percent,invertedPercentage:a.invertedPercentage||null,status:a.status,description:a.description,infoPosition:a.infoPosition,enabled:a.enabled,scheme:a.scheme,clickable:a.clickable||null,hasInformationIcon:a.hasInformationIcon||null,onOpenModal:s.openModal}),t.createSlots({_:2},[t.renderList(e.$slots,(u,c)=>({name:c,fn:t.withCtx(()=>[t.renderSlot(e.$slots,c)])}))]),1040,["title","text","info","icon","iconSrc","rating","comments","typeAction","buttonAction","value","percent","invertedPercentage","status","description","infoPosition","enabled","scheme","clickable","hasInformationIcon","onOpenModal"])}const Td=P(pB,[["render",FB]]),Kte="",Sd={name:"UnnnicSimpleCard",components:{UnnnicToolTip:Ht,UnnnicIcon:ue},props:{title:{type:String,default:""},titleSize:{type:String,default:"16px"},titleTooltip:{type:String,default:""},text:{type:String,default:""},clickable:{type:Boolean,default:!1}},emits:["click"]},ip=()=>{t.useCssVars(e=>({"14ad6579":e.titleSize}))},rp=Sd.setup;Sd.setup=rp?(e,n)=>(ip(),rp(e,n)):ip;const bB={key:0,class:"unnnic-simple-card__header"},yB={class:"unnnic-simple-card-header-container"},wB={class:"unnnic-simple-card-header-container__title"},kB={key:0,class:"unnnic-simple-card__header-slot"},DB=["title"],AB={key:2,class:"unnnic-simple-card__footer"};function EB(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicToolTip");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass({"unnnic-simple-card":!0,"unnnic-simple-card--clickable":a.clickable}),onClick:n[0]||(n[0]=t.withModifiers(d=>a.clickable&&e.$emit("click"),["stop"]))},[a.title||e.$slots.headerSlot?(t.openBlock(),t.createElementBlock("section",bB,[t.createElementVNode("section",yB,[t.createElementVNode("h1",wB,t.toDisplayString(a.title),1),a.titleTooltip?(t.openBlock(),t.createBlock(c,{key:0,text:a.titleTooltip,enabled:"",class:"unnnic-simple-card-header-container__title-tooltip"},{default:t.withCtx(()=>[t.createVNode(u,{icon:"info",size:"nano",scheme:"neutral-cloudy"})]),_:1},8,["text"])):t.createCommentVNode("",!0)]),e.$slots.headerSlot?(t.openBlock(),t.createElementBlock("section",kB,[t.renderSlot(e.$slots,"headerSlot",{},void 0,!0)])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),a.text?(t.openBlock(),t.createElementBlock("p",{key:1,class:"unnnic-simple-card__text",title:a.text},t.toDisplayString(a.text),9,DB)):t.createCommentVNode("",!0),e.$slots.footer?(t.openBlock(),t.createElementBlock("section",AB,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])):t.createCommentVNode("",!0)],2)}const Id=P(Sd,[["render",EB],["__scopeId","data-v-80dbbab7"]]),ra={props:{locale:{type:String},translations:{type:Object}},methods:{i18n(...e){const[n,a]=e,i=Object.keys(Li.global.messages);let{locale:r}=this;const s=Kt.get(Li,"global.locale")==="en-us"?"en":Kt.get(Li,"global.locale");r=i.includes(r)?r:s,r=r==null?void 0:r.toLowerCase();let u=Kt.get(this.translations,`${n}.${r}`,Kt.get(this.translations,n));if(u||(u=Kt.get(Kt.get(this.defaultTranslations,n),r,a)),u!=null&&u.includes("|")&&typeof e[1]=="number"){const d=e[1],_=u.split("|");_.length===3?u=_[d]||_[2]:_.length===2&&(u=d===1?_[0]:_[1])}let c={};return Object.values(e).slice(1).forEach(d=>{!(d instanceof Array)&&d instanceof Object&&(c=d)}),Object.keys(c).forEach(d=>{u=u==null?void 0:u.replaceAll(new RegExp(`{ *${d} *}`,"g"),c[d])}),u}}},CB=t.defineComponent({__name:"Chip",props:{isSelected:{type:Boolean},text:{},count:{},type:{},isClickable:{type:Boolean},onClick:{type:Function}},emits:["click"],setup(e,{emit:n}){const a=e,i=n,r=_=>{i("click",_)},s=t.computed(()=>!a.isSelected),u=t.computed(()=>a.isSelected?"chip__text--is-selected":""),c=t.computed(()=>a.isSelected?"chip__count--is-selected":""),d=t.computed(()=>a.isSelected?"chip--is-selected":"");return(_,g)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["chip",d.value,{"chip--border":s.value,"chip--is-clickable":_.isClickable}]),onClick:r},[t.createElementVNode("p",{class:t.normalizeClass(["chip__text",u.value])},t.toDisplayString(_.text),3),_.count?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(["chip__count",c.value])},t.toDisplayString(_.count),3)):t.createCommentVNode("",!0),t.renderSlot(_.$slots,"right",{},void 0,!0),_.type==="multiple"?(t.openBlock(),t.createBlock(ue,{key:1,icon:_.isSelected?"close":"add",scheme:_.isSelected?"teal-600":"feedback-grey",class:"chip__icon",size:"sm"},null,8,["icon","scheme"])):t.createCommentVNode("",!0)],2))}}),Zte="",sl=P(CB,[["__scopeId","data-v-b104247d"]]),Un={white:{value:"#FFFFFF"},black:{value:"#000000"},gray:{50:{value:"#F6F7F9"},100:{value:"#ECEEF2"},200:{value:"#D6D9E1"},300:{value:"#B2B9C7"},400:{value:"#8893A8"},500:{value:"#67738B"},600:{value:"#545E75"},700:{value:"#454D5F"},800:{value:"#3B4151"},900:{value:"#353945"},950:{value:"#23262E"}},teal:{50:{value:"#EFFEFC"},100:{value:"#C7FFF7"},200:{value:"#90FFEF"},300:{value:"#51F7E7"},400:{value:"#1DE4D7"},500:{value:"#04C8BD"},600:{value:"#00A49F"},700:{value:"#05807D"},800:{value:"#0A6564"},900:{value:"#0D5453"},950:{value:"#003133"}},green:{50:{value:"#F0F9F3"},100:{value:"#DAF1E0"},200:{value:"#B7E3C6"},300:{value:"#88CDA4"},400:{value:"#56B17E"},500:{value:"#38A169"},600:{value:"#24774C"},700:{value:"#1D5F3F"},800:{value:"#194C34"},900:{value:"#153F2C"},950:{value:"#0B2318"}},blue:{50:{value:"#F2F7FD"},100:{value:"#E5EEF9"},200:{value:"#C4DBF3"},300:{value:"#90BDE9"},400:{value:"#559BDB"},500:{value:"#3182CE"},600:{value:"#2062A9"},700:{value:"#1B4F89"},800:{value:"#1A4472"},900:{value:"#1B3A5F"},950:{value:"#12253F"}},purple:{50:{value:"#F6F5FD"},100:{value:"#EEECFB"},200:{value:"#DFDCF8"},300:{value:"#C7BFF3"},400:{value:"#AA9BEA"},500:{value:"#8D72E0"},600:{value:"#805AD5"},700:{value:"#6B41C0"},800:{value:"#5A36A1"},900:{value:"#4B2E84"},950:{value:"#2E1C59"}},red:{50:{value:"#FDF3F3"},100:{value:"#FDE3E3"},200:{value:"#FCCCCC"},300:{value:"#F8A9A9"},400:{value:"#F27777"},500:{value:"#E53E3E"},600:{value:"#D32F2F"},700:{value:"#B22323"},800:{value:"#932121"},900:{value:"#7A2222"},950:{value:"#420D0D"}},orange:{50:{value:"#FDF8EF"},100:{value:"#FBEED9"},200:{value:"#F7DAB1"},300:{value:"#F1C080"},400:{value:"#EB9D4C"},500:{value:"#E5812A"},600:{value:"#DD6B20"},700:{value:"#B2501C"},800:{value:"#8E401E"},900:{value:"#73361B"},950:{value:"#3E1A0C"}},yellow:{50:{value:"#FBF7EB"},100:{value:"#F5EDCC"},200:{value:"#EDD89B"},300:{value:"#E2BC62"},400:{value:"#D69E2E"},500:{value:"#C88D2A"},600:{value:"#AC6E22"},700:{value:"#8A501E"},800:{value:"#734120"},900:{value:"#633720"},950:{value:"#391B0F"}},bg:{base:{value:"{color.white}"},soft:{value:"{color.gray.50}"},muted:{value:"{color.gray.100}"},active:{value:"{color.teal.600}"},info:{value:"{color.blue.50}"},success:{value:"{color.green.50}"},warning:{value:"{color.yellow.50}"},critical:{value:"{color.red.50}"}},fg:{base:{value:"{color.gray.500}"},muted:{value:"{color.gray.300}"},emphasized:{value:"{color.gray.900}"},inverted:{value:"{color.white}"},active:{value:"{color.teal.600}"},info:{value:"{color.blue.500}"},success:{value:"{color.green.500}"},warning:{value:"{color.yellow.500}"},critical:{value:"{color.red.500}"}},border:{base:{value:"{color.gray.200}"},soft:{value:"{color.gray.100}"},muted:{value:"{color.gray.200}"},emphasized:{value:"{color.gray.400}"},active:{value:"{color.teal.600}"},info:{value:"{color.blue.300}"},success:{value:"{color.green.300}"},warning:{value:"{color.yellow.300}"},critical:{value:"{color.red.300}"}}},xB={key:0,class:"unnnic-tag__icon"},MB={class:t.normalizeClass("unnnic-tag__label")},BB=t.defineComponent({__name:"DefaultTag",props:{text:{default:void 0},size:{default:"medium"},scheme:{default:"aux-purple"},leftIcon:{default:void 0}},setup(e){t.useCssVars(r=>({"1096da9a":i.value}));const n=e,a=[{keywords:["green"],color:Un.green[200].value},{keywords:["blue"],color:Un.blue[200].value},{keywords:["purple"],color:Un.purple[200].value},{keywords:["red","pink"],color:Un.red[200].value},{keywords:["orange"],color:Un.orange[200].value},{keywords:["yellow"],color:Un.yellow[200].value},{keywords:["gray"],color:Un.gray[200].value},{keywords:["teal","weni"],color:Un.teal[200].value}],i=t.computed(()=>{const r=n.scheme.toLowerCase(),s=a.find(({keywords:u})=>u.some(c=>r.includes(c)));return(s==null?void 0:s.color)??Un.gray[200].value});return(r,s)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(`unnnic-tag unnnic-tag--${r.size}`)},[r.leftIcon?(t.openBlock(),t.createElementBlock("section",xB,[t.createVNode(ue,{icon:r.leftIcon,scheme:"fg-emphasized",size:"sm"},null,8,["icon"])])):t.createCommentVNode("",!0),t.createElementVNode("p",MB,t.toDisplayString(r.text),1)],2))}}),Jte="",vB=P(BB,[["__scopeId","data-v-2f043350"]]),Mr=t.defineComponent({name:"UnnnicTag",__name:"Tag",props:{type:{default:"default"},size:{default:"medium"},text:{default:void 0},disabled:{type:Boolean,default:!1},scheme:{default:"aux-purple"},leftIcon:{default:""},hasCloseIcon:{type:Boolean,default:!1}},emits:["close","click"],setup(e){return(n,a)=>n.type==="brand"||n.hasCloseIcon?(t.openBlock(),t.createBlock(sl,{key:0,text:n.text,type:"multiple",isSelected:n.disabled||n.hasCloseIcon,isClickable:"",onClick:a[0]||(a[0]=i=>n.hasCloseIcon?n.$emit("close"):n.$emit("click"))},null,8,["text","isSelected"])):(t.openBlock(),t.createBlock(vB,{key:1,size:n.type==="next"?"small":n.size,text:n.text,scheme:n.scheme,leftIcon:n.leftIcon},null,8,["size","text","scheme","leftIcon"]))}}),$te="",jB={components:{UnnnicTag:Mr},mixins:[ra],props:{oldVersion:Boolean,name:String,description:String,plan:String,actionText:String},data(){return{isOptionsOpen:!1}}},NB={class:"name"},TB={class:"description"},SB={key:1};function IB(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicTag"),c=t.resolveComponent("UnnnicIcon"),d=t.resolveComponent("UnnnicDropdown");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-connect-card-company",{"unnnic-connect-card-company--old-version":a.oldVersion}]),onClick:n[3]||(n[3]=_=>e.$emit("enter"))},[t.createElementVNode("div",null,[t.createElementVNode("h2",NB,t.toDisplayString(a.name),1),t.createElementVNode("p",TB,t.toDisplayString(a.description),1),a.plan?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(["tag",a.plan])},t.toDisplayString(e.i18n(`plans.${a.plan}`)),3)):t.createCommentVNode("",!0)]),a.actionText?(t.openBlock(),t.createBlock(u,{key:0,class:"action",clickable:"",text:a.actionText,scheme:"aux-blue",onClick:n[0]||(n[0]=_=>e.$emit("action"))},null,8,["text"])):t.createCommentVNode("",!0),e.$slots.options?(t.openBlock(),t.createElementBlock("div",SB,[t.createVNode(d,{open:r.isOptionsOpen,"onUpdate:open":n[1]||(n[1]=_=>r.isOptionsOpen=_),class:"unnnic-dropdown",onClick:n[2]||(n[2]=t.withModifiers(()=>{},["prevent"]))},{trigger:t.withCtx(()=>[t.createVNode(c,{class:"menu-icon",icon:"navigation-menu-vertical-1",size:"sm",scheme:r.isOptionsOpen?"neutral-cloudy":"neutral-clean"},null,8,["scheme"])]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"options",{},void 0,!0)]),_:3},8,["open"])])):t.createCommentVNode("",!0)],2)}const Od=P(jB,[["render",IB],["__scopeId","data-v-331afc72"]]),eae="",OB={components:{UnnnicIcon:ue},props:{title:{type:String},description:{type:String},score:{type:String},info:{type:String},checked:{type:Boolean,default:!1}}},LB={class:"card"},zB={class:"header"},qB={class:"title"},PB={key:0,class:"check"},VB={class:"description"},UB={key:0,class:"footer"},RB={class:"evaluation"},YB={class:"info"};function HB(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",LB,[t.createElementVNode("div",zB,[t.createElementVNode("div",qB,t.toDisplayString(a.title),1),a.checked?(t.openBlock(),t.createElementBlock("div",PB,[t.createVNode(u,{size:"md",icon:"check-circle-1-1-1",scheme:"feedback-green"})])):t.createCommentVNode("",!0)]),t.createElementVNode("div",VB,t.toDisplayString(a.description),1),a.score||a.info?(t.openBlock(),t.createElementBlock("div",UB,[t.createElementVNode("div",RB,[a.score?(t.openBlock(),t.createBlock(u,{key:0,size:"sm",icon:"rating-star-1",scheme:"feedback-yellow"})):t.createCommentVNode("",!0),t.createTextVNode(" "+t.toDisplayString(a.score)+" ",1),t.createElementVNode("span",YB,t.toDisplayString(a.info),1)])])):t.createCommentVNode("",!0)])}const Ld=P(OB,[["render",HB],["__scopeId","data-v-b40ec35c"]]),tae="",GB={model:{event:"change"},props:{modelValue:{type:[Boolean,String],default:!1,validator(e){return[!0,!1,"less"].includes(e)}},disabled:{type:Boolean,default:!1},label:{type:String,default:""},helper:{type:String,default:""},textRight:{type:String,default:""}},emits:["change","update:model-value"],computed:{valueName(){return this.modelValue===!0?"checked":this.modelValue===!1?"default":"less"}},methods:{pick:Kt.pick,click(){const e=["checked","less"].includes(this.valueName);this.$emit("change",!e),this.$emit("update:model-value",!e)}}},QB={class:"unnnic-checkbox"},WB=["disabled","checked"],XB={key:0,class:"unnnic-checkbox__helper"};function KB(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("section",QB,[t.createElementVNode("label",{class:t.normalizeClass(["unnnic-checkbox__input-wrapper",{"unnnic-checkbox__input-wrapper--disabled":a.disabled}])},[t.createElementVNode("input",t.mergeProps({class:["unnnic-checkbox__input",{"unnnic-checkbox__input--less":a.modelValue==="less"}],type:"checkbox",disabled:a.disabled,checked:a.modelValue==="less"||a.modelValue},s.pick(e.$attrs,["id","name"]),{onChange:n[0]||(n[0]=(...u)=>s.click&&s.click(...u))}),null,16,WB),a.label||a.textRight?(t.openBlock(),t.createElementBlock("p",{key:0,class:t.normalizeClass(["unnnic-checkbox__label",{"unnnic-checkbox__label--disabled":a.disabled}]),"data-testid":"checkbox-text-right"},t.toDisplayString(a.label||a.textRight),3)):t.createCommentVNode("",!0)],2),a.helper?(t.openBlock(),t.createElementBlock("p",XB,t.toDisplayString(a.helper),1)):t.createCommentVNode("",!0)])}const zi=P(GB,[["render",KB],["__scopeId","data-v-14c8c277"]]),aae="",ZB={components:{UnnnicIcon:ue,UnnnicCheckbox:zi,UnnnicAvatarIcon:_i,UnnnicDropdown:xo},props:{modelValue:Boolean,title:String,description:String,image:String,data:{type:Array,default(){return[]}}}},JB={class:"header"},$B={class:"content"},ev={key:0,class:"u font secondary body-lg bold color-neutral-darkest"},tv={key:1,class:"u font secondary body-md color-neutral-cloudy"},av=["src"],nv={key:0,class:"details"},iv={class:"u font secondary body-gt color-neutral-dark"},rv={class:"value-container"},ov={class:"u font secondary body-gt black color-neutral-darkest"};function sv(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicCheckbox"),c=t.resolveComponent("UnnnicIcon"),d=t.resolveComponent("UnnnicDropdown"),_=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-card-image",{checked:a.modelValue}])},[t.createElementVNode("div",JB,[t.createElementVNode("div",$B,[a.title?(t.openBlock(),t.createElementBlock("div",ev,t.toDisplayString(a.title),1)):t.createCommentVNode("",!0),a.description?(t.openBlock(),t.createElementBlock("div",tv,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0)]),t.createVNode(u,{modelValue:a.modelValue,onChange:n[0]||(n[0]=g=>e.$emit("update:model-value",g))},null,8,["modelValue"]),e.$slots.actions?(t.openBlock(),t.createBlock(d,{key:0,position:"bottom-left"},{trigger:t.withCtx(()=>[t.createVNode(c,{icon:"navigation-menu-vertical-1",size:"sm",scheme:"neutral-cleanest",clickable:""})]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"actions",{},void 0,!0)]),_:3})):t.createCommentVNode("",!0)]),t.createElementVNode("img",{class:"image",src:a.image},null,8,av),a.data.length?(t.openBlock(),t.createElementBlock("div",nv,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.data,(g,h)=>(t.openBlock(),t.createElementBlock("div",{key:h,class:"data"},[t.createElementVNode("div",iv,t.toDisplayString(g.name),1),t.createElementVNode("div",rv,[t.createVNode(_,{icon:g.icon,size:"xs",scheme:g.scheme},null,8,["icon","scheme"]),t.createElementVNode("div",ov,t.toDisplayString(g.value),1)])]))),128))])):t.createCommentVNode("",!0)],2)}const zd=P(ZB,[["render",sv],["__scopeId","data-v-87c573e3"]]),nae="",lv={components:{UnnnicIcon:ue,UnnnicDropdown:xo,UnnnicDropdownItem:ol},mixins:[ra],props:{name:{type:String,default:""},description:{type:String,default:""},status:{type:String,required:!0},canUpdateStatus:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1}},emits:["click","changeProjectStatus"],data(){return{openDropdown:!1,defaultTranslations:{IN_TEST:{"pt-br":"Em teste",en:"In test",es:"En prueba"},ACTIVE:{"pt-br":"Ativo",en:"Active",es:"Activo"},INACTIVE:{"pt-br":"Inativo",en:"Inactive",es:"Inactivo"}}}},computed:{showActions(){var n,a;const e=(a=(n=this.$slots).actions)==null?void 0:a.call(n);return!!(e!=null&&e.length)},colorStatus(){return{ACTIVE:"aux-green-900",INACTIVE:"neutral-cloudy",IN_TEST:"aux-orange-500"}[this.status]},statusOptions(){return["ACTIVE","INACTIVE","IN_TEST"].filter(e=>e!==this.status)}},methods:{emitClick(e){this.clickable&&this.$emit("click",{button:e==null?void 0:e.button})},handlerDropdownOpen(){this.canUpdateStatus&&(this.openDropdown=!this.openDropdown)},handlerClickDropdownItem(e){this.$emit("changeProjectStatus",e)}}},uv={class:"unnnic-card-project__header"},cv=["title"],dv={class:"unnnic-card-project__description"},fv=["title"],_v={class:"unnnic-card-project__bottom"},gv={class:"unnnic-card-project__status-options-container"};function hv(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicDropdown"),d=t.resolveComponent("UnnnicDropdownItem");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass({"unnnic-card-project":!0,"unnnic-card-project--clickable":a.clickable,"unnnic-card-project--inactive":a.status==="INACTIVE"}),"data-testid":"unnnic-card-project",onClick:[n[2]||(n[2]=t.withModifiers((..._)=>s.emitClick&&s.emitClick(..._),["left","exact"])),n[4]||(n[4]=t.withModifiers(_=>s.emitClick({button:1}),["ctrl"]))],onMouseup:n[3]||(n[3]=t.withModifiers((..._)=>s.emitClick&&s.emitClick(..._),["middle","exact","prevent"]))},[t.createElementVNode("section",uv,[t.createElementVNode("h1",{title:a.name,class:t.normalizeClass({"unnnic-card-project__title":!0,"unnnic-card-project__title--inactive":a.status==="INACTIVE"}),"data-testid":"card-project-title"},t.toDisplayString(a.name),11,cv),s.showActions?(t.openBlock(),t.createBlock(c,{key:0,position:"bottom-left","data-testid":"dropdown-actions"},{trigger:t.withCtx(()=>[t.createVNode(u,{size:"sm",icon:"navigation-menu-vertical-1",clickable:"",scheme:"neutral-cleanest"})]),default:t.withCtx(()=>[t.renderSlot(e.$slots,"actions",{},void 0,!0)]),_:3})):t.createCommentVNode("",!0)]),t.createElementVNode("section",dv,[t.createElementVNode("p",{title:a.description,class:t.normalizeClass({"unnnic-card-project__description":!0,"unnnic-card-project__description--inactive":a.status==="INACTIVE"})},t.toDisplayString(a.description),11,fv)]),t.createElementVNode("section",_v,[t.createElementVNode("section",{class:t.normalizeClass(["unnnic-card-project__status-chip",`unnnic-card-project__status-chip--${a.status}`]),"data-testid":"project-status-chip",onClick:n[1]||(n[1]=t.withModifiers(_=>s.handlerDropdownOpen(),["stop"]))},[t.createElementVNode("p",null,t.toDisplayString(e.i18n(a.status)),1),a.canUpdateStatus?(t.openBlock(),t.createBlock(u,{key:0,icon:"keyboard_arrow_down",size:"sm",clickable:"",scheme:s.colorStatus},null,8,["scheme"])):t.createCommentVNode("",!0),t.createVNode(c,{open:r.openDropdown,useOpenProp:"","data-testid":"status-dropdown","onUpdate:open":n[0]||(n[0]=_=>r.openDropdown=_)},{default:t.withCtx(()=>[t.createElementVNode("section",gv,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.statusOptions,_=>(t.openBlock(),t.createBlock(d,{key:_,class:"status-option",onClick:g=>s.handlerClickDropdownItem(_)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(e.i18n(_)),1)]),_:2},1032,["onClick"]))),128))])]),_:1},8,["open"])],2)])],34)}const qd=P(lv,[["render",hv],["__scopeId","data-v-d7f7ed7d"]]),iae="",mv={components:{UnnnicAvatarIcon:_i,UnnnicToolTip:Ht,UnnnicIcon:ue},props:{name:{type:String,default:""},subtitle:{type:String,default:""},description:{type:String,default:""},descriptionRow:{type:String,default:""},descriptionRowInfo:{type:String,default:""},statuses:{type:Array},minStatusWidth:{type:[String,Number],default:5.625*Qr}}},pv={class:"unnnic-card-container"},Fv={class:"header"},bv={class:"title"},yv=["title"],wv={key:0,class:"subtitle"},kv={key:0,class:"description"},Dv={key:1,class:"description-row-container"},Av={key:0,class:"description-row"},Ev={class:"title"},Cv={class:"content"},xv={class:"number"};function Mv(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicToolTip"),d=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",pv,[t.createElementVNode("div",Fv,[t.createElementVNode("div",bv,[t.createElementVNode("span",{class:"name",title:a.name.length>25?a.name:null},t.toDisplayString(a.name),9,yv),a.subtitle?(t.openBlock(),t.createElementBlock("div",wv,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"header-buttons",{},void 0,!0)]),a.description?(t.openBlock(),t.createElementBlock("div",kv,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0),a.descriptionRow||a.descriptionRowInfo?(t.openBlock(),t.createElementBlock("div",Dv,[a.descriptionRow?(t.openBlock(),t.createElementBlock("div",Av,t.toDisplayString(a.descriptionRow),1)):t.createCommentVNode("",!0),a.descriptionRowInfo?(t.openBlock(),t.createBlock(c,{key:1,side:"top",text:a.descriptionRowInfo,enabled:""},{default:t.withCtx(()=>[t.createVNode(u,{class:"info",icon:"information-circle-4",size:"sm",scheme:"neutral-soft"})]),_:1},8,["text"])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0),n[0]||(n[0]=t.createElementVNode("div",{class:"separator"},null,-1)),t.renderSlot(e.$slots,"content",{},void 0,!0),t.createElementVNode("div",{class:"statuses",style:t.normalizeStyle({gridTemplateColumns:`repeat(auto-fit, minmax(${a.minStatusWidth}, 1fr))`})},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.statuses,(_,g)=>(t.openBlock(),t.createElementBlock("div",{key:g,class:"status"},[t.createElementVNode("div",Ev,t.toDisplayString(_.title),1),t.createElementVNode("div",Cv,[t.createVNode(d,{icon:_.icon,scheme:_.scheme,size:"xs"},null,8,["icon","scheme"]),t.createElementVNode("div",xv,t.toDisplayString(_.count),1)])]))),128))],4)])}const Bv=P(mv,[["render",Mv],["__scopeId","data-v-d88c3045"]]),rae="",vv={components:{CardStatusesContainer:Bv},props:{name:{type:String,default:""},subtitle:{type:String,default:""},description:{type:String,default:""},descriptionRow:{type:String,default:""},descriptionRowInfo:{type:String,default:""},statuses:{type:Array}},data(){return{unnnicFontSize:Qr}}};function jv(e,n,a,i,r,s){const u=t.resolveComponent("CardStatusesContainer");return t.openBlock(),t.createBlock(u,{class:"unnnic-card-information",name:a.name,subtitle:a.subtitle,description:a.description,descriptionRow:a.descriptionRow,descriptionRowInfo:a.descriptionRowInfo,statuses:a.statuses,minStatusWidth:8.75*r.unnnicFontSize+"px"},null,8,["name","subtitle","description","descriptionRow","descriptionRowInfo","statuses","minStatusWidth"])}const Pd=P(vv,[["render",jv],["__scopeId","data-v-ee17403c"]]),Nv={class:"unnnic-checkbox-group__checkboxes"},Tv={key:1,class:"unnnic-checkbox-group__helper"},Sv=t.defineComponent({name:"UnnnicCheckboxGroup",__name:"CheckboxGroup",props:{state:{default:"horizontal"},label:{default:""},labelTooltip:{default:void 0},helper:{default:""}},setup(e){return(n,a)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["unnnic-checkbox-group__container",`unnnic-checkbox-group--state-${n.state}`])},[n.label?(t.openBlock(),t.createBlock(xi,{key:0,label:n.label,tooltip:n.labelTooltip},null,8,["label","tooltip"])):t.createCommentVNode("",!0),t.createElementVNode("section",Nv,[t.renderSlot(n.$slots,"default",{},void 0,!0)]),n.helper?(t.openBlock(),t.createElementBlock("footer",Tv,t.toDisplayString(n.helper),1)):t.createCommentVNode("",!0)],2))}}),oae="",Vd=P(Sv,[["__scopeId","data-v-f03f56c7"]]),sae="",Iv={class:"unnnic-collapse__body"},Ud=P({__name:"Collapse",props:{title:String,active:Boolean,borderBottom:Boolean,unspacedIcon:Boolean,size:{type:String,default:"lg",validator(e){return["md","lg"].includes(e)}},modelValue:Boolean},emits:["update:modelValue","change"],setup(e,{emit:n}){const a=e,i=n,r=t.ref(!1);return t.watch(r,s=>{i("change",s),i("update:modelValue",s)}),t.watch(()=>a.active,s=>{r.value=s},{immediate:!0}),t.watch(()=>a.modelValue,s=>{r.value=s},{immediate:!0}),(s,u)=>(t.openBlock(),t.createElementBlock("div",{"data-testid":"collapse",class:t.normalizeClass(["unnnic-collapse",`unnnic-collapse--size-${e.size}`,{"unnnic-collapse--border-bottom":e.borderBottom,"unnnic-collapse--unspaced-icon":e.unspacedIcon,"unnnic-collapse--active":r.value}])},[t.createElementVNode("div",{"data-testid":"collapse-header",class:"unnnic-collapse__header",onClick:u[0]||(u[0]=c=>r.value=!r.value)},[t.createTextVNode(t.toDisplayString(e.title),1),t.renderSlot(s.$slots,"header",{},void 0,!0),t.createVNode(ue,{size:"ant",icon:r.value?"arrow-button-up-1":"arrow-button-down-1",scheme:r.value?"neutral-dark":"neutral-cloudy"},null,8,["icon","scheme"])]),t.withDirectives(t.createElementVNode("div",Iv,[t.renderSlot(s.$slots,"default",{},void 0,!0)],512),[[t.vShow,r.value]])],2))}},[["__scopeId","data-v-4c30fa39"]]),uae="",Ov={class:"unnnic-radio"},Lv=["disabled","checked","name"],zv={key:0,class:"unnnic-radio__helper"},Rd=P({__name:"Radio",props:{modelValue:{type:[String,Number],default:""},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1},label:{type:String,default:""},name:{type:String,default:""},helper:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:n}){const a=e,i=n,r=t.inject("contextModelValue",void 0),s=t.inject("contextName",void 0);function u(){a.disabled||(i("update:modelValue",a.value),r&&(r.value=a.value))}const c=t.computed(()=>(r==null?void 0:r.value)||a.modelValue),d=t.computed(()=>(s==null?void 0:s.value)||a.name);return(_,g)=>(t.openBlock(),t.createElementBlock("section",Ov,[t.createElementVNode("label",{class:t.normalizeClass(["unnnic-radio__input-wrapper",{"unnnic-radio__input-wrapper--disabled":e.disabled}])},[t.createElementVNode("input",t.mergeProps({class:"unnnic-radio__input",type:"radio",disabled:e.disabled,checked:c.value===e.value,onChange:u,name:d.value},t.unref(Kt.pick)(_.$attrs,["id"])),null,16,Lv),t.createElementVNode("p",{class:t.normalizeClass(["unnnic-radio__label",{"unnnic-radio__label--disabled":e.disabled}])},[t.createTextVNode(t.toDisplayString(e.label)+" ",1),t.renderSlot(_.$slots,"default",{},void 0,!0)],2),e.helper?(t.openBlock(),t.createElementBlock("footer",zv,t.toDisplayString(e.helper),1)):t.createCommentVNode("",!0)],2)]))}},[["__scopeId","data-v-7e12a100"]]),qv={class:"unnnic-radio-group__radios"},Pv={key:1,class:"unnnic-radio-group__helper"},Vv=t.defineComponent({name:"UnnnicRadioGroup",__name:"RadioGroup",props:{modelValue:{default:""},state:{default:"horizontal"},label:{default:""},labelTooltip:{default:void 0},name:{default:""},helper:{default:""}},emits:["update:modelValue"],setup(e,{emit:n}){const a=e,i=n,r=t.ref(a.modelValue);t.watch(()=>a.modelValue,u=>{u!==r.value&&(r.value=u)}),t.watch(r,u=>{u!==a.modelValue&&i("update:modelValue",u)});const s=t.computed(()=>a.name||`unnnic-radio-group-${Math.random().toString(36).substring(2,15)}`);return t.provide("contextModelValue",r),t.provide("contextName",s),(u,c)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["unnnic-radio-group__container",`unnnic-radio-group--state-${u.state}`])},[u.label?(t.openBlock(),t.createBlock(xi,{key:0,label:u.label,tooltip:u.labelTooltip,class:"unnnic-radio-group__label"},null,8,["label","tooltip"])):t.createCommentVNode("",!0),t.createElementVNode("section",qv,[t.renderSlot(u.$slots,"default",{},void 0,!0)]),u.helper?(t.openBlock(),t.createElementBlock("footer",Pv,t.toDisplayString(u.helper),1)):t.createCommentVNode("",!0)],2))}}),dae="",Yd=P(Vv,[["__scopeId","data-v-d5af6106"]]),Uv={name:"Flag",components:{UnnnicIcon:ue},props:{code:{type:String,default:null},size:{type:String,default:"md",validator(e){return["nano","xs","sm","md","lg"].indexOf(e)!==-1}}},computed:{name(){return{"pt-br":"Brazil",en:"USA",es:"Spain"}[this.code]}}};function Rv(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createBlock(u,{icon:s.name,size:a.size},null,8,["icon","size"])}const Yv=P(Uv,[["render",Rv]]),fae="",Hv={name:"LanguageSelect",components:{UnnnicFlag:Yv,UnnnicIcon:ue},directives:{onClickOutside:rl},props:{modelValue:{type:String,default:""},position:{type:String,default:"top-right"},contracted:{type:Boolean,default:!1},supportedLanguages:{type:Array,default:()=>["pt-br","en"]}},data(){return{open:!1,val:this.modelValue,unnnicFontSize:Qr}},computed:{languages(){const e={"pt-br":"Português - Brasil",en:"English",es:"Español"};return this.supportedLanguages.reduce((n,a)=>({...n,[a]:e[a]}),{})},otherLanguages(){return this.languageList.filter(({id:e})=>e!==this.val)},languageList(){return Object.entries(this.languages).map(([e,n])=>({id:e,name:n}))},dropdownIcon(){let e="";return this.position==="bottom"?e=this.open?"up":"down":e=this.open?"down":"up",`arrow-button-${e}-1`}},watch:{val(){this.$emit("update:model-value",this.val)},modelValue(){this.val=this.modelValue}},methods:{onClickTrigger(){this.open=!this.open},onClickOutside(){this.open&&(this.open=!1)}}},Gv={key:0,class:"unnnic-language-select contracted"},Qv={class:"option"},Wv=["onClick"],Xv={key:1,class:"unnnic-language-select normal"},Kv={class:"option"},Zv={class:"label"},Jv=["onClick"],$v={class:"label"},ej={class:"option"},tj={class:"label"};function aj(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicFlag"),c=t.resolveComponent("UnnnicIcon"),d=t.resolveDirective("on-click-outside");return a.contracted?t.withDirectives((t.openBlock(),t.createElementBlock("div",Gv,[t.createElementVNode("div",{class:t.normalizeClass(["container contracted",{open:r.open}]),onClick:n[0]||(n[0]=(..._)=>s.onClickTrigger&&s.onClickTrigger(..._))},[t.createElementVNode("div",Qv,[t.createVNode(u,{size:"sm",code:r.val},null,8,["code"])]),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.otherLanguages,_=>(t.openBlock(),t.createElementBlock("div",{key:_.id,class:"option",onClick:g=>r.val=_.id},[t.createVNode(u,{size:"sm",code:_.id},null,8,["code"])],8,Wv))),128))],2)])),[[d,s.onClickOutside]]):t.withDirectives((t.openBlock(),t.createElementBlock("div",Xv,[t.createElementVNode("div",{class:t.normalizeClass(["container normal",{open:r.open}]),onClick:n[1]||(n[1]=(..._)=>s.onClickTrigger&&s.onClickTrigger(..._))},[t.createElementVNode("div",{style:t.normalizeStyle({position:"absolute",[a.position==="bottom"?"top":"bottom"]:-.125*r.unnnicFontSize+"px",width:"100%",padding:.0625*r.unnnicFontSize+"px",left:-.0625*r.unnnicFontSize+"px"}),class:"all"},[a.position==="bottom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",Kv,[t.createVNode(u,{size:"sm",code:r.val},null,8,["code"]),t.createElementVNode("div",Zv,t.toDisplayString(s.languages[r.val]),1),t.createVNode(c,{size:"xs",icon:s.dropdownIcon,scheme:"neutral-clean"},null,8,["icon"])]),n[2]||(n[2]=t.createElementVNode("div",{class:"divider"},null,-1))],64)):t.createCommentVNode("",!0),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.otherLanguages,_=>(t.openBlock(),t.createElementBlock("div",{key:_.id,class:"option",onClick:g=>r.val=_.id},[t.createVNode(u,{size:"sm",code:_.id},null,8,["code"]),t.createElementVNode("div",$v,t.toDisplayString(s.languages[_.id]),1)],8,Jv))),128)),a.position!=="bottom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[n[3]||(n[3]=t.createElementVNode("div",{class:"divider"},null,-1)),t.createElementVNode("div",ej,[t.createVNode(u,{size:"sm",code:r.val},null,8,["code"]),t.createElementVNode("div",tj,t.toDisplayString(s.languages[r.val]),1),t.createVNode(c,{size:"xs",icon:s.dropdownIcon,scheme:"neutral-clean"},null,8,["icon"])])],64)):t.createCommentVNode("",!0)],4)],2)])),[[d,s.onClickOutside]])}const Hd=P(Hv,[["render",aj]]),_ae="",nj={name:"UnnnicModal",components:{UnnnicIcon:ue},props:{text:{type:String,default:null},modalIcon:{type:String,default:null},closeIcon:{type:Boolean,default:!0},description:{type:String,default:null},alertMessage:{type:String,default:null},showModal:{type:Boolean,default:!0},scheme:{type:String,default:null},persistent:{type:Boolean,default:!1}},computed:{hasAlertMessage(){return!(this.alertMessage===null||this.alertMessage.length===0)},hasButton(){var e,n;return!!((n=(e=this.$slots).options)!=null&&n.call(e).length)},hasIcon(){var e,n;return!!((n=(e=this.$slots).icon)!=null&&n.call(e).length)}},mounted(){window.innerWidth<=600&&this.mobileAnimateOpen()},methods:{mobileAnimateReset(){this.$refs.modalContainer&&(this.$refs.modalContainer.style.transition=null),this.$refs.modal&&(this.$refs.modal.style.transition=null)},mobileAnimateOpen(){this.$nextTick(()=>{this.$refs.modalContainer&&(this.$refs.modalContainer.style.transition="none",this.$refs.modalContainer.style.backgroundColor="transparent"),this.$refs.modal&&(this.$refs.modal.style.transition="none",this.$refs.modal.style.marginBottom=`${-this.$refs.modal.offsetHeight}px`),setTimeout(()=>{this.$refs.modalContainer&&(this.$refs.modalContainer.style.transition="background-color 0.2s",this.$refs.modalContainer.style.backgroundColor=null),this.$refs.modal&&(this.$refs.modal.style.transition="margin-bottom 0.2s",this.$refs.modal.style.marginBottom=null),setTimeout(()=>{this.mobileAnimateReset()},200)})})},mobileAnimateClose(){return new Promise(e=>{this.$refs.modalContainer&&(this.$refs.modalContainer.style.transition="background-color 0.2s",this.$refs.modalContainer.style.backgroundColor="transparent"),this.$refs.modal&&(this.$refs.modal.style.transition="margin-bottom 0.2s",this.$refs.modal.style.marginBottom=`${-this.$refs.modal.offsetHeight}px`),setTimeout(()=>{this.mobileAnimateReset(),e()},200)})},onOutsideCloseClick(){this.persistent||this.onCloseClick()},async onCloseClick(){console.log("keycloak log",window),window.innerWidth<=600&&await this.mobileAnimateClose(),this.$emit("close")}}},ij={ref:"modal",class:"unnnic-modal-container-background"},rj={class:"unnnic-modal-container-background-body"},oj={key:0,class:"unnnic-modal-container-background-body-close_icon"},sj={key:1,class:"unnnic-modal-container-background-body__icon-slot"},lj={class:"unnnic-modal-container-background-body-title"},uj={class:"unnnic-modal-container-background-body-description-container"},cj={class:"unnnic-modal-container-background-body-description"},dj={key:0,class:"unnnic-modal-container-background-report"},fj={key:1,class:"unnnic-modal-container-background-button"};function _j(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createBlock(t.Transition,{name:"modal"},{default:t.withCtx(()=>[a.showModal?(t.openBlock(),t.createElementBlock("div",t.mergeProps({key:0},e.$attrs,{ref:"modalContainer",class:["unnnic-modal"]}),[t.createElementVNode("div",{class:"unnnic-modal-container",onClick:n[0]||(n[0]=t.withModifiers((...c)=>s.onOutsideCloseClick&&s.onOutsideCloseClick(...c),["self"]))},[t.createElementVNode("div",ij,[t.createElementVNode("div",rj,[a.closeIcon?(t.openBlock(),t.createElementBlock("div",oj,[t.createVNode(u,{icon:"close-1",scheme:"neutral-dark",size:"sm",clickable:"",onClick:s.onCloseClick},null,8,["onClick"])])):t.createCommentVNode("",!0),s.hasIcon?(t.openBlock(),t.createElementBlock("div",sj,[t.renderSlot(e.$slots,"icon",{},void 0,!0)])):t.createCommentVNode("",!0),a.modalIcon?(t.openBlock(),t.createElementBlock("div",{key:2,class:t.normalizeClass(["unnnic-modal-container-background-body-alert_icon",`unnnic-card-scheme--${a.scheme}--icon`,a.closeIcon?"":"unnnic-modal-container-background-body-spacing_header"])},[t.createVNode(u,{scheme:a.scheme,icon:a.modalIcon,size:"xl"},null,8,["scheme","icon"])],2)):t.createCommentVNode("",!0),t.createElementVNode("div",lj,t.toDisplayString(a.text),1)]),t.createElementVNode("div",uj,[t.createElementVNode("div",cj,[t.createTextVNode(t.toDisplayString(a.description)+" ",1),t.renderSlot(e.$slots,"message",{},void 0,!0),t.renderSlot(e.$slots,"default",{},void 0,!0)])]),s.hasAlertMessage?(t.openBlock(),t.createElementBlock("div",dj,t.toDisplayString(a.alertMessage),1)):t.createCommentVNode("",!0),s.hasButton?(t.openBlock(),t.createElementBlock("div",fj,[t.renderSlot(e.$slots,"options",{},void 0,!0)])):t.createCommentVNode("",!0)],512)])],16)):t.createCommentVNode("",!0)]),_:3})}const ll=P(nj,[["render",_j],["__scopeId","data-v-64ca1a24"]]),op={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(op);const sp={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(sp);var Sa=globalThis&&globalThis.__classPrivateFieldGet||function(e,n,a,i){if(a==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof n=="function"?e!==n||!i:!n.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return a==="m"?i:a==="a"?i.call(e):i?i.value:n.get(e)},Br,Mo,qi;class gj{constructor(...n){Br.set(this,new Map),Mo.set(this,new Map),qi.set(this,new Map);for(const a of n)this.define(a)}define(n,a=!1){for(let[i,r]of Object.entries(n)){i=i.toLowerCase(),r=r.map(c=>c.toLowerCase()),Sa(this,qi,"f").has(i)||Sa(this,qi,"f").set(i,new Set);const s=Sa(this,qi,"f").get(i);let u=!0;for(let c of r){const d=c.startsWith("*");if(c=d?c.slice(1):c,s==null||s.add(c),u&&Sa(this,Mo,"f").set(i,c),u=!1,d)continue;const _=Sa(this,Br,"f").get(c);if(_&&_!=i&&!a)throw new Error(`"${i} -> ${c}" conflicts with "${_} -> ${c}". Pass \`force=true\` to override this definition.`);Sa(this,Br,"f").set(c,i)}}return this}getType(n){if(typeof n!="string")return null;const a=n.replace(/^.*[/\\]/s,"").toLowerCase(),i=a.replace(/^.*\./s,"").toLowerCase(),r=a.length<n.length;return!(i.length<a.length-1)&&r?null:Sa(this,Br,"f").get(i)??null}getExtension(n){var a;return typeof n!="string"?null:(n=(a=n==null?void 0:n.split)==null?void 0:a.call(n,";")[0],(n&&Sa(this,Mo,"f").get(n.trim().toLowerCase()))??null)}getAllExtensions(n){return typeof n!="string"?null:Sa(this,qi,"f").get(n.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const n of Sa(this,qi,"f").values())Object.freeze(n);return this}_getTestState(){return{types:Sa(this,Br,"f"),extensions:Sa(this,Mo,"f")}}}Br=new WeakMap,Mo=new WeakMap,qi=new WeakMap;const hj=new gj(sp,op)._freeze(),gae="",mj={class:"unnnic-upload-area__dropzone__content"},pj={class:"unnnic-upload-area__dropzone__content__title"},Fj=["title"],bj=["accept","multiple"],ul=P({__name:"DropArea",props:{acceptMultiple:{type:Boolean,default:!0},supportedFormats:{type:String,default:"*"},maxFileSize:{type:Number,default:void 0},shouldReplace:{type:Boolean,default:!1},currentFiles:{type:Array,default(){return[]}},maximumUploads:{type:Number,default:1},subtitle:{type:String,default:""},disabled:{type:Boolean,default:!1}},emits:["update:currentFiles","fileChange","unsupportedFormat","exceededTheMaximumFileSizeLimit"],setup(e,{emit:n}){const a=t.ref(!1),i=t.ref(!1),r=t.ref(0),s=t.ref(),u=t.useTemplateRef("file"),c=e,d=n,_=t.getCurrentInstance();function g(O){var I,K;return!!((K=(I=_==null?void 0:_.vnode)==null?void 0:I.props)!=null&&K[O])}const h=t.computed(()=>c.supportedFormats.split(",").map(I=>I.toUpperCase()).join(", "));function p(){c.disabled||(r.value+=1,a.value=!0)}function F(){c.disabled||(a.value=!0)}function y(){c.disabled||(r.value-=1,r.value===0&&(a.value=!1))}function A(){c.disabled||(a.value=!1)}function E(O){if(c.disabled)return;a.value=!1;const{files:I}=O.dataTransfer;C(I)&&z(I)}function B(){c.disabled||u.value.click()}function x(O){if(c.disabled)return;const{files:I}=O.target;C(I)&&z(I),s.value.value=""}function k(){i.value=!0,setTimeout(()=>{i.value=!1},5e3)}function C(O){return!c.acceptMultiple&&O.length>1?(k(),!1):T(O)?S(O)?!0:(g("onExceededTheMaximumFileSizeLimit")?d("exceededTheMaximumFileSizeLimit"):k(),!1):(g("onUnsupportedFormat")?d("unsupportedFormat"):k(),!1)}function T(O){if(c.supportedFormats==="*")return!0;const I=c.supportedFormats.split(",").map(oe=>oe.trim());return Array.from(O).find(oe=>{const ee=oe.name.toLowerCase(),ce=oe.type.toLowerCase(),De=`.${ee.split(".").pop()}`,ye=I.includes(De),se=ce===hj.getType(ee);return ye&&se})}function S(O){return c.maxFileSize?Array.from(O).find(K=>(K.size/1048576).toFixed(2)<=c.maxFileSize):!0}function z(O){let I=O.length;if(c.shouldReplace||(I+=c.currentFiles.length),I>c.maximumUploads){k();return}const K=Array.from(O).filter(ee=>!!(T([ee])&&S([ee])));let oe;c.shouldReplace?oe=K:oe=c.currentFiles.concat(K),d("update:currentFiles",oe),d("fileChange",oe)}return(O,I)=>(t.openBlock(),t.createElementBlock("section",{ref:"dropzone",class:t.normalizeClass({"unnnic-upload-area__dropzone":!0,"unnnic-upload-area__dropzone__is-dragover":a.value,"unnnic-upload-area__dropzone__has-error":i.value}),onDragenter:t.withModifiers(p,["stop","prevent"]),onDragover:t.withModifiers(F,["stop","prevent"]),onDragleave:t.withModifiers(y,["stop","prevent"]),onDragend:t.withModifiers(A,["stop","prevent"]),onDrop:t.withModifiers(E,["stop","prevent"]),onClick:B},[t.createVNode(ue,{class:"unnnic-upload-area__dropzone__icon",icon:"upload",scheme:i.value?"feedback-red":"weni-500",size:"lg"},null,8,["scheme"]),t.createElementVNode("div",mj,[t.createElementVNode("span",pj,[t.renderSlot(O.$slots,"title",{},()=>[t.createTextVNode(t.toDisplayString(O.$t("upload_area.title.text"))+" ",1),t.createElementVNode("span",{class:t.normalizeClass(`unnnic-upload-area__dropzone__content__title__${i.value?"error":"search"}`)},t.toDisplayString(O.$t("upload_area.title.highlight")),3)],!0)]),t.createElementVNode("span",{class:t.normalizeClass(["unnnic-upload-area__dropzone__content__subtitle",{"unnnic-upload-area__dropzone__content__subtitle__error":i.value}]),title:h.value},[t.renderSlot(O.$slots,"subtitle",{},()=>[t.createTextVNode(t.toDisplayString(e.subtitle||`${O.$t(`upload_area${i.value?".invalid":""}.subtitle`)} ${h.value}`),1)],!0)],10,Fj)]),t.withDirectives(t.createElementVNode("input",{ref_key:"file",ref:s,type:"file",accept:e.supportedFormats,multiple:e.acceptMultiple,onInput:x},null,40,bj),[[t.vShow,!1]])],34))}},[["__scopeId","data-v-936a11ab"]]),mae="",yj={name:"ImportCard",components:{UnnnicButton:gt,UnnnicIcon:ue},props:{title:{type:String,default:""},subtitle:{type:String,default:""},importProgress:{type:Number,default:0},isImporting:{type:Boolean,default:!1},canImport:{type:Boolean,default:!0},canDelete:{type:Boolean,default:!0},acceptedFormats:{type:String,default:"*"},uploadIcon:{type:String,default:"upload-bottom-1"}},computed:{fileIcon(){const e=this.title.slice(this.title.lastIndexOf(".")+1);return{pdf:"picture_as_pdf",txt:"text_snippet",xls:"table",xlsx:"table",doc:"draft",docx:"draft"}[e]||"draft"}},methods:{importFile(){this.$refs.file.click()},handleFileChange(e){const{files:n}=e.target;let a;n.length>0&&([a]=e.target.files),a&&this.$emit("modifiedFile",a)},emitDeletion(){this.$emit("delete")}}},wj={class:"unnnic-import-card"},kj={class:"unnnic-import-card__data"},Dj={key:0,class:"unnnic-import-card__data__title"},Aj={key:1,class:"unnnic-import-card__data__title"},Ej={key:2,class:"unnnic-import-card__data__subtitle"},Cj={key:0,class:"unnnic-import-card__data__subtitle__text"},xj={key:1,class:"unnnic-import-card__data__subtitle__progress"},Mj={class:"unnnic-import-card__buttons"},Bj=["accept"];function vj(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",wj,[t.createVNode(u,{class:"unnnic-import-card__file-icon",size:"md",scheme:"weni-600",icon:s.fileIcon},null,8,["icon"]),t.createElementVNode("div",kj,[a.isImporting?(t.openBlock(),t.createElementBlock("div",Dj,t.toDisplayString(e.$t("import_card.importing"))+"... ",1)):(t.openBlock(),t.createElementBlock("div",Aj,t.toDisplayString(a.title),1)),a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",Ej,[a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",Cj,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0),a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",xj,"  - "+t.toDisplayString(a.importProgress)+"% ",1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",Mj,[a.canImport?(t.openBlock(),t.createBlock(c,{key:0,class:"unnnic-import-card__buttons__import",size:"small",iconCenter:a.uploadIcon,type:"primary",onClick:s.importFile},{default:t.withCtx(()=>[t.createElementVNode("input",{ref:"file",type:"file",accept:a.acceptedFormats,style:{display:"none"},onChange:n[0]||(n[0]=(...d)=>s.handleFileChange&&s.handleFileChange(...d))},null,40,Bj)]),_:1},8,["iconCenter","onClick"])):t.createCommentVNode("",!0),a.canDelete?(t.openBlock(),t.createBlock(u,{key:1,class:"unnnic-import-card__buttons__delete",size:"sm",scheme:"neutral-cloudy",icon:"delete",clickable:"",onClick:s.emitDeletion},null,8,["onClick"])):t.createCommentVNode("",!0)])])}const cl=P(yj,[["render",vj],["__scopeId","data-v-0990f36a"]]),pae="",jj={name:"UnnnicUploadArea",components:{UnnnicDropArea:ul,UnnnicImportCard:cl},model:{prop:"files",event:"fileChange"},props:{files:{type:Array,default:()=>[]},acceptMultiple:{type:Boolean,default:!0},supportedFormats:{type:String,default:"*"},maximumUploads:{type:Number,default:1},filesProgress:{type:Array,default:()=>[]},isUploading:{type:Boolean,default:!1},canImport:{type:Boolean,default:!1},canDelete:{type:Boolean,default:!0},maxFileSize:{type:Number,default:void 0},shouldReplace:{type:Boolean,default:!1},subtitle:{required:!1,type:String,default:""}},emits:["fileChange"],data(){return{currentFiles:this.files}},watch:{files(e){this.currentFiles=e}},methods:{emitFileChange(){this.$emit("fileChange",this.currentFiles)},modifyFile(e,n){this.currentFiles.splice(e,1,n),this.emitFileChange()},removeFile(e){this.currentFiles.splice(e,1),this.emitFileChange()}}},Nj={key:0,class:"unnnic-upload-area__cards"};function Tj(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicDropArea"),c=t.resolveComponent("UnnnicImportCard");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(u,{currentFiles:r.currentFiles,"onUpdate:currentFiles":n[0]||(n[0]=d=>r.currentFiles=d),acceptMultiple:a.acceptMultiple,supportedFormats:a.supportedFormats,maxFileSize:a.maxFileSize,shouldReplace:a.shouldReplace,maximumUploads:a.maximumUploads,subtitle:a.subtitle,onFileChange:n[1]||(n[1]=d=>e.$emit("fileChange",d))},null,8,["currentFiles","acceptMultiple","supportedFormats","maxFileSize","shouldReplace","maximumUploads","subtitle"]),r.currentFiles.length>0?(t.openBlock(),t.createElementBlock("div",Nj,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(r.currentFiles,(d,_)=>(t.openBlock(),t.createBlock(c,{key:_,title:d.name,subtitle:d.name,isImporting:a.isUploading,importProgress:a.filesProgress[_]||100,canImport:a.canImport,canDelete:a.canDelete,acceptedFormats:a.supportedFormats,uploadIcon:"button-refresh-arrows-1",onDelete:g=>s.removeFile(_),onModifiedFile:g=>s.modifyFile(_,g)},null,8,["title","subtitle","isImporting","importProgress","canImport","canDelete","acceptedFormats","onDelete","onModifiedFile"]))),128))])):t.createCommentVNode("",!0)])}const dl=P(jj,[["render",Tj],["__scopeId","data-v-872a45ed"]]),Fae="",Sj={components:{UnnnicUploadArea:dl,UnnnicIcon:ue,UnnnicButton:gt},model:{prop:"files",event:"file-change"},props:{textCancel:{type:String,default:"Cancelar"},textAction:{type:String,default:"Importar tudo"},textTitle:{type:String,default:"Importar sentenças"},acceptMultiple:{type:Boolean,default:!0},supportedFormats:{type:String,default:".png"},maximumUploads:{type:Number,default:1},filesProgress:{type:Array,default:()=>[]},isUploading:{type:Boolean,default:!1},canImport:{type:Boolean,default:!1},canDelete:{type:Boolean,default:!0},maxFileSize:{type:Number,default:void 0},files:{type:Array,default:()=>[]},subtitle:{required:!1,type:String,default:""}},emits:["close","file-change","cancel","action"],data(){return{}}},Ij={class:"modal-upload"},Oj={class:"close-button-container"},Lj={class:"title"},zj={class:"footer"};function qj(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicUploadArea"),d=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",Ij,[t.createElementVNode("div",Oj,[t.createVNode(u,{class:"close-button",icon:"close-1",scheme:"neutral-dark",size:"sm",clickable:"",onClick:n[0]||(n[0]=_=>e.$emit("close"))})]),t.createElementVNode("div",Lj,t.toDisplayString(a.textTitle),1),t.createVNode(c,{acceptMultiple:a.acceptMultiple,supportedFormats:a.supportedFormats,maximumUploads:a.maximumUploads,filesProgress:a.filesProgress,isUploading:a.isUploading,canImport:a.canImport,canDelete:a.canDelete,maxFileSize:a.maxFileSize,files:a.files,subtitle:a.subtitle,onFileChange:n[1]||(n[1]=_=>e.$emit("file-change",_))},null,8,["acceptMultiple","supportedFormats","maximumUploads","filesProgress","isUploading","canImport","canDelete","maxFileSize","files","subtitle"]),t.createElementVNode("div",zj,[t.createVNode(d,{size:"large",type:"tertiary",text:a.textCancel,onClick:n[2]||(n[2]=_=>e.$emit("cancel"))},null,8,["text"]),t.createVNode(d,{size:"large",type:"primary",text:a.textAction,onClick:n[3]||(n[3]=_=>e.$emit("action"))},null,8,["text"])])])}const Gd=P(Sj,[["render",qj],["__scopeId","data-v-81621db1"]]),bae="",Pj={components:{UnnnicIcon:ue},props:{text:{type:String,default:null},scheme:{type:String,default:null},onClose:{type:Function,default:()=>{}},type:{type:String,default:"default"}},emits:["close"],mounted(){this.$refs.progress.addEventListener("animationend",()=>{this.$refs.alertContainer.classList.add("slide-down")}),this.$refs.alertContainer.addEventListener("animationend",e=>{var n;(n=e.animationName)!=null&&n.startsWith("slideDown")&&this.emitClose()})},methods:{emitClose(){this.onClose(),this.$emit("close")}}},Vj={ref:"alertContainer",class:"alert-container"},Uj={ref:"progress",class:"alert__progress"};function Rj(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",Vj,[t.createElementVNode("div",{class:t.normalizeClass(["alert",{"alert--scheme-aux-green":a.scheme==="feedback-green"||a.type==="success","alert--scheme-aux-red":a.scheme==="feedback-red"||a.type==="error"}])},[t.createElementVNode("div",Uj,null,512),t.withDirectives(t.createElementVNode("div",{class:"alert__text"},t.toDisplayString(a.text),513),[[t.vShow,a.text]]),t.createElementVNode("div",{class:"alert__close",onClick:n[0]||(n[0]=(...c)=>s.emitClose&&s.emitClose(...c))},[t.createVNode(u,{icon:"close-1",size:"sm",scheme:"neutral-white"})])],2)],512)}const Yj=P(Pj,[["render",Rj],["__scopeId","data-v-f1004db4"]]),Hj=["role","aria-live"],Gj={class:"unnnic-toast__content","data-testid":"toast-content"},Qj={class:"unnnic-toast__header","data-testid":"toast-header"},Wj={class:"unnnic-toast__title","data-testid":"toast-title"},Xj={key:0,"data-testid":"toast-text",class:"unnnic-toast__text"},Kj=t.defineComponent({name:"UnnnicToast",__name:"Toast",props:{title:{default:""},description:{default:""},type:{default:"informational"},button:{default:void 0},timeout:{default:5e3}},emits:["close","destroy"],setup(e,{emit:n}){const a=e,i=n,r=t.ref(!1);let s=null;const u=t.computed(()=>({informational:{icon:"info",scheme:"blue-500"},attention:{icon:"error",scheme:"yellow-500"},success:{icon:"check_circle",scheme:"green-500"},error:{icon:"cancel",scheme:"red-500"}})[a.type||"informational"]),c=sr(),d=()=>{r.value=!1,i("close")},_=()=>{var p;(p=a.button)!=null&&p.action&&a.button.action()},g=()=>{a.timeout>0&&(s=window.setTimeout(()=>{d()},a.timeout))},h=()=>{s&&(window.clearTimeout(s),s=null)};return t.onMounted(()=>{r.value=!0,g()}),t.onUnmounted(()=>{h()}),(p,F)=>(t.openBlock(),t.createBlock(t.Transition,{name:"toast-slide",appear:"","data-testid":"toast-transition",onAfterLeave:F[0]||(F[0]=y=>p.$emit("destroy"))},{default:t.withCtx(()=>[r.value?(t.openBlock(),t.createElementBlock("aside",{key:0,class:t.normalizeClass(["unnnic-toast",`unnnic-toast--${p.type}`]),role:p.type==="error"?"alert":"status","aria-live":p.type==="error"?"assertive":"polite","data-testid":"toast",style:t.normalizeStyle({zIndex:t.unref(c)})},[t.createElementVNode("section",Gj,[t.createElementVNode("header",Qj,[t.createVNode(ue,{icon:u.value.icon,scheme:u.value.scheme,size:"ant","data-testid":"toast-type-icon"},null,8,["icon","scheme"]),t.createElementVNode("h3",Wj,t.toDisplayString(p.title),1),t.createVNode(ue,{icon:"close",scheme:"neutral-dark",size:"ant",clickable:"",class:"unnnic-toast__close","data-testid":"toast-close-icon",onClick:d,onKeydown:t.withKeys(d,["enter"])})]),p.description?(t.openBlock(),t.createElementBlock("p",Xj,t.toDisplayString(p.description),1)):t.createCommentVNode("",!0)]),p.button?(t.openBlock(),t.createBlock(gt,{key:0,type:"tertiary",text:p.button.text,class:"unnnic-toast__action-button","data-testid":"toast-action-button",onClick:_,onKeydown:[t.withKeys(_,["enter"]),t.withKeys(t.withModifiers(_,["prevent"]),["space"])]},null,8,["text","onKeydown"])):t.createCommentVNode("",!0)],14,Hj)):t.createCommentVNode("",!0)]),_:1}))}}),yae="",Bo=P(Kj,[["__scopeId","data-v-26f6ff70"]]),Zj={name:"UnnnicAlert",components:{UnnnicToast:Bo,Version1dot1:Yj},props:{version:{type:String,default:"1.1"},text:{type:String,default:null},scheme:{type:String,default:null},onClose:{type:Function,default:()=>{}},type:{type:String,default:""}},computed:{toastType(){return this.scheme==="feedback-green"||this.type==="success"?"success":this.scheme==="feedback-red"||this.type==="error"?"error":this.type==="attention"?"attention":"informational"}}};function Jj(e,n,a,i,r,s){const u=t.resolveComponent("Version1dot1"),c=t.resolveComponent("UnnnicToast");return a.version==="1.1"?(t.openBlock(),t.createBlock(u,t.normalizeProps(t.mergeProps({key:0},{...e.$props})),null,16)):(t.openBlock(),t.createBlock(c,{key:1,title:a.text||"",type:s.toastType,onClose:n[0]||(n[0]=()=>a.onClose())},null,8,["title","type"]))}const fl=P(Zj,[["render",Jj]]);class $j{constructor(){this.toasts=new Map,this.container=null,this.nextId=0}createContainer(){if(this.container)return this.container;this.container=document.createElement("div"),this.container.setAttribute("unnnic-toast-container","true");const n=ew()??document.body;return n==null||n.appendChild(this.container),this.container}generateId(){return`toast-${++this.nextId}`}show(n){const a=this.generateId(),i=this.createContainer(),r=document.createElement("div");let s;const u=new Promise(_=>{s=_}),c=t.createApp(Bo,{...n,onClose:()=>{this.close(a)},onDestroy:()=>{c.unmount(),r.remove(),s()}});c.mount(r),i.appendChild(r);const d={id:a,props:n,close:()=>this.close(a),promise:u};return this.toasts.set(a,d),d}close(n){this.toasts.get(n)&&this.toasts.delete(n)}}const vo=new $j,Qd={info:(e,n,a)=>vo.show({title:e,description:n,...a,type:"informational"}).promise,success:(e,n,a)=>vo.show({title:e,description:n,...a,type:"success"}).promise,attention:(e,n,a)=>vo.show({title:e,description:n,...a,type:"attention"}).promise,error:(e,n,a)=>vo.show({title:e,description:n,...a,type:"error"}).promise};function eN(e){return{all:e=e||new Map,on:function(n,a){var i=e.get(n);i?i.push(a):e.set(n,[a])},off:function(n,a){var i=e.get(n);i&&(a?i.splice(i.indexOf(a)>>>0,1):e.set(n,[]))},emit:function(n,a){var i=e.get(n);i&&i.slice().map(function(r){r(a)}),(i=e.get("*"))&&i.slice().map(function(r){r(n,a)})}}}const Wd=eN(),Xd=({props:e,containerRef:n,seconds:a})=>{if(e.version==="1.1"||n){const i=t.createApp(fl,{...e,seconds:a,version:"1.1",onClose:()=>{s.$el.remove()},created(){Wd.on(["close"],()=>{s.$el.remove()})}}),r=document.createElement("div"),s=i.mount(r);n?(s.$el.style.position="absolute",n.appendChild(s.$el)):document.body.appendChild(s.$el)}else{const i={success:"success",error:"error",attention:"attention",default:"informational","feedback-green":"success","feedback-red":"error"},r={timeout:a?a*1e3:5e3,type:i[e.scheme||e.type]||i.default,onClose:()=>{Wd.emit(["close"])}};vo.show({title:e.text,description:"",...r})}},Kd=({props:e})=>{const n=t.createApp(ll,{...e,onClose:()=>{i.$el.remove()},created(){Wd.on(["close"],()=>{i.$el.remove()})}}),a=document.createElement("div"),i=n.mount(a);document.body.appendChild(a)},wae="",tN={name:"UnnnicSelectSmartOption",components:{UnnnicCheckbox:zi},props:{label:{type:String,default:"Option",required:!0},description:{type:String,default:"",required:!1},size:{type:String,default:""},selectable:{type:Boolean,default:!0},focused:{type:Boolean,default:!1},active:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},allowCheckbox:{type:Boolean,default:!1},isMultiple:Boolean,activeColor:{type:String,default:"primary",validator(e){return["primary","secondary"].indexOf(e)!==-1}}},methods:{fullySanitize:$n}},aN=["title"];function nN(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicCheckbox");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-select-smart-option":!0,"unnnic-select-smart-option--focused":a.focused,"unnnic-select-smart-option--active":a.active,"unnnic-select-smart-option--active-secondary":a.active&&a.activeColor==="secondary","unnnic--clickable":a.selectable,"unnnic-select-smart-option--selectable":a.selectable,"unnnic-select-smart-option--with-checkbox":a.allowCheckbox}),title:a.label,"data-testid":"select-smart-option"},[a.allowCheckbox?(t.openBlock(),t.createBlock(u,{key:0,ref:"checkbox","data-testid":"checkbox",modelValue:a.active,size:a.size,disabled:a.disabled},null,8,["modelValue","size","disabled"])):t.createCommentVNode("",!0),t.createElementVNode("div",null,[t.createElementVNode("span",{class:t.normalizeClass(["unnnic-select-smart-option__label",`unnnic-select-smart-option__label--${a.size}`]),"data-testid":"label"},t.toDisplayString(s.fullySanitize(a.label)),3),a.description?(t.openBlock(),t.createElementBlock("p",{key:0,"data-testid":"description",class:t.normalizeClass(["unnnic-select-smart-option__description",`unnnic-select-smart-option__description--${a.size}`])},t.toDisplayString(s.fullySanitize(a.description)),3)):t.createCommentVNode("",!0)])],10,aN)}const iN=P(tN,[["render",nN]]),kae="",rN={name:"UnnnicSelectSmartMultipleHeader",components:{Tag:Mr},mixins:[ra],props:{selectedOptions:{type:Array,required:!0},withoutSelectsMessage:{type:String,default:""}},data(){return{multipleSelectedsTags:2,defaultTranslations:{without_multiple_selected:{"pt-br":"Nenhuma opção selecionada",en:"No option selected",es:"Ninguna opción seleccionada"}}}},computed:{firstMultipleSelecteds(){const{selectedOptions:e,multipleSelectedsTags:n}=this,a=[];for(let i=0;i<n;i+=1)a.push(e==null?void 0:e[i]);return a.filter(i=>i!==void 0)}},methods:{unselectOption(e){this.$emit("unselect-option",e)}}},oN={class:"unnnic-select-smart__options__multiple"},sN={key:0,class:"unnnic-select-smart__options__multiple__selecteds__container"},lN={class:"unnnic-select-smart__options__multiple__selecteds"},uN={key:0,class:"unnnic-select-smart__options__multiple__selecteds__remaining","data-testid":"remaining-count"},cN={key:1,class:"unnnic-select-smart__options__multiple--without-multiples","data-testid":"without-selects-message"};function dN(e,n,a,i,r,s){const u=t.resolveComponent("Tag");return t.openBlock(),t.createElementBlock("div",oN,[a.selectedOptions[0]?(t.openBlock(),t.createElementBlock("div",sN,[t.createElementVNode("div",lN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.firstMultipleSelecteds,c=>(t.openBlock(),t.createBlock(u,{key:c.value,class:"unnnic-select-smart__options__multiple__selecteds__option",text:c.label,hasCloseIcon:!c.disableRemove,onClose:d=>s.unselectOption(c)},null,8,["text","hasCloseIcon","onClose"]))),128)),a.selectedOptions.length>r.multipleSelectedsTags?(t.openBlock(),t.createElementBlock("p",uN," +"+t.toDisplayString(a.selectedOptions.length-r.multipleSelectedsTags),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),a.selectedOptions[0]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",cN,t.toDisplayString(a.withoutSelectsMessage||e.i18n("without_multiple_selected")),1))])}const fN=P(rN,[["render",dN],["__scopeId","data-v-44c8e22c"]]),Dae="",_N={props:{type:{type:String,default:"automatic"},modelValue:Boolean,position:{type:String,default:"bottom-left"},useAbsolutePosition:{type:Boolean,default:!1}},data(){return{clientHeight:0,clientWidth:0,x:0,y:0,width:0,height:0,data:{x:0,y:0,width:0,height:0}}},computed:{active(){return this.type==="manual"?this.modelValue:!1},positions(){let e,n;return this.position.startsWith("bottom")?(e=this.y+this.height,e+this.data.height>this.clientHeight&&(e=this.clientHeight-this.data.height,this.y>=this.data.height&&(e=this.y-this.data.height))):this.position.startsWith("top")&&(e=this.y-this.data.height,e<0&&(e=0,this.y+this.height+this.data.height<=this.clientHeight&&(e=this.y+this.height))),this.position.endsWith("right")?(n=this.x+this.width,n+this.data.width>this.clientWidth&&(n=this.clientWidth-this.data.width,this.x>=this.data.width&&(n=this.x-this.data.width))):this.position.endsWith("left")&&(n=this.x-this.data.width,n<0&&(n=0,this.x+this.width+this.data.width<=this.clientWidth&&(n=this.x+this.width))),{left:`${n}px`,top:`${e}px`}}},mounted(){this.calculatePosition(),window.addEventListener("scroll",this.calculatePosition),window.addEventListener("resize",this.calculatePosition)},beforeUnmount(){window.removeEventListener("scroll",this.calculatePosition),window.removeEventListener("resize",this.calculatePosition)},methods:{calculatePosition(){const e=this.$refs.dropdown.getBoundingClientRect(),n=this.$refs["dropdown-data"].getBoundingClientRect();this.clientHeight=document.documentElement.clientHeight,this.clientWidth=document.documentElement.clientWidth,this.x=e.x,this.y=e.y,this.width=e.width,this.height=e.height,this.data.x=n.x,this.data.y=n.y,this.data.width=n.width,this.data.height=n.height}}};function gN(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("span",{ref:"dropdown","data-testid":"dropdown-skeleton",class:t.normalizeClass(["dropdown",{active:s.active}])},[t.renderSlot(e.$slots,"default",{},void 0,!0),t.createElementVNode("div",{ref:"dropdown-data","data-testid":"dropdown-data",class:"dropdown-data",style:t.normalizeStyle({position:a.useAbsolutePosition?"absolute":"fixed",...s.positions})},[t.renderSlot(e.$slots,"inside",{width:`${r.width}px`,height:`${r.height}px`},void 0,!0)],4)],2)}const lp=P(_N,[["render",gN],["__scopeId","data-v-05c4ead6"]]),Aae="",hN={name:"UnnnicSelectSmart",components:{TextInput:mc,SelectSmartOption:iN,SelectSmartMultipleHeader:fN,DropdownSkeleton:lp,UnnnicIconLoading:fi},directives:{onClickOutside:rl},mixins:[ra],props:{options:{type:Array,required:!0,default:()=>[{value:"",label:"Initial value"},{value:"option1",label:"Option1"},{value:"option2",label:"Option2"}]},modelValue:{type:Array,default:()=>[]},size:{type:String,default:"md"},type:{type:String,default:"normal",validator(e){return["normal","error","secondary"].indexOf(e)!==-1}},disabled:{type:Boolean,default:null},orderedByIndex:{type:Boolean,default:!1},multiple:{type:Boolean,default:!1},multipleWithoutSelectsMessage:{type:String,default:""},autocomplete:{type:Boolean,default:!1},autocompleteIconLeft:{type:Boolean,default:!1},autocompleteClearOnFocus:{type:Boolean,default:!1},selectFirst:{type:Boolean,default:!0},placeholder:{type:String,default:null},isLoading:{type:Boolean,default:!1},enableSearchByValue:{type:Boolean,default:!1},multipleLimit:{type:[Number,null],default:null},infiniteScroll:{type:Boolean,default:!1},infiniteScrollDistance:{type:Number,default:10},infiniteScrollCanLoadMore:{type:Function,default:()=>!0},disableInternalFilter:{type:Boolean,default:!1}},emits:["update:searchValue","onChange","update:modelValue","onActiveChange","scroll-end"],data(){return{active:!1,status:"not-mounted",focusedOption:null,searchValue:"",isAutocompleteAllowed:!1,multipleSelectedsTags:2,infiniteScrollReset:null,infiniteScrollLoading:!1,defaultTranslations:{without_results:{"pt-br":"Nenhum resultado encontrado",en:"No results found",es:"Ningún resultado encontrado"}}}},computed:{selectedLabel(){var a;if(this.status!=="mounted")return"";const e=this.options.find(i=>{const r=i.value===this.modelValue;return this.isAutocompleteAllowed?r&&i.value!=="":i.value===""&&this.modelValue.length===0||r});return e?e.label:this.multiple?this.modelValue.map(r=>r.label).join(", "):((a=this.modelValue.at(-1))==null?void 0:a.label)||""},hasDescriptionOptions(){return this.options.some(e=>typeof e.description<"u")},autocompletePlaceholder(){if(this.isAutocompleteAllowed){const e=this.options.find(n=>n.value==="");if(e)return e.label}return""},inputValue(){const{isAutocompleteAllowed:e,searchValue:n,multiple:a,modelValue:i}=this;return e||a?n:!a&&i.length!==0?i==null?void 0:i[0].label:""}},watch:{active(e){this.$refs["dropdown-skeleton"].calculatePosition(),this.$emit("onActiveChange",e),this.$nextTick(()=>{if(e&&!this.multiple){const n=this.getOptionIndex("active");n!==-1&&this.scrollToOption(n,"center")}e&&this.infiniteScroll&&this.setupInfiniteScroll()})},searchValue(e,n){this.focusedOption=null,!this.active&&n&&(this.active=!0),this.$emit("update:searchValue",e)},modelValue:{deep:!0,handler(e){this.$emit("onChange",e),this.$emit("update:modelValue",e),this.onSelectOption(e.at(-1))}},autocomplete(e){this.multiple||(this.isAutocompleteAllowed=e)}},mounted(){var e,n,a,i,r;this.status="mounted",(this.multiple||this.autocomplete)&&(this.isAutocompleteAllowed=!0),(e=this.modelValue)!=null&&e[0]&&((n=this.modelValue)!=null&&n[0].value)?this.isAutocompleteAllowed&&this.$nextTick(()=>{this.searchValue=this.selectedLabel}):this.selectFirst&&((a=this.options)!=null&&a[0])&&((i=this.options)!=null&&i[0].value)&&this.selectOption((r=this.options)==null?void 0:r[0]),this.setupInfiniteScroll()},beforeUnmount(){this.infiniteScrollReset&&this.infiniteScrollReset()},methods:{setupInfiniteScroll(){this.infiniteScroll&&this.$nextTick(()=>{const e=this.$refs.selectSmartOptionsScrollArea;if(!e)return;const{reset:n}=Ju(e,()=>{this.infiniteScrollLoading||(this.infiniteScrollLoading=!0,this.$emit("scroll-end"))},{distance:this.infiniteScrollDistance,canLoadMore:()=>this.infiniteScrollCanLoadMore()&&!this.infiniteScrollLoading});this.infiniteScrollReset=n})},finishInfiniteScroll(){this.infiniteScrollLoading=!1},resetInfiniteScroll(){this.infiniteScrollLoading=!1,this.infiniteScrollReset&&this.infiniteScrollReset()},optionIsSelected(e){return this.modelValue.some(n=>n.value===e.value)},handleSelect(e){if(e){if(this.multiple&&this.optionIsSelected(e)&&!e.disableRemove){this.unselectOption(e);return}if(this.multiple&&e.disableRemove&&this.optionIsSelected(e)||this.multipleLimit&&this.modelValue.length>=this.multipleLimit)return;this.selectOption(e)}},handleClickInput(){if(this.isAutocompleteAllowed){if(this.active)return;(this.autocompleteClearOnFocus||this.multiple)&&(this.searchValue="")}this.active=!this.active},filterOptions(e){if(this.disableInternalFilter)return e;const a=this.searchValue.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,"").split(" "),i=c=>c.toString().toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g,""),r=c=>{var d;return parseInt((d=c.match(/\d+/))==null?void 0:d[0],10)||0},s=e.filter(({value:c,label:d},_,g)=>{const h=i(d),p=g.findIndex(y=>y.value===c)===_,F=a.every(y=>{const A=h.includes(y),E=c.includes(y);return this.enableSearchByValue?A||E:A});return p&&F&&c});return this.orderedByIndex?s:s.sort((c,d)=>{const _=i(c.label),g=i(d.label),h=r(_),p=r(g);return h-p||_.localeCompare(g)})},onClickOutside(){this.active&&(this.isAutocompleteAllowed&&(this.searchValue=this.selectedLabel),this.$nextTick(()=>{this.active=!1}))},getOptionIndex(e){var i,r,s,u;const n=this.filterOptions(this.options);let a="";return e==="active"&&(a=(r=(i=this.modelValue)==null?void 0:i[0])==null?void 0:r.value),e==="focused"&&(a=((s=this.focusedOption)==null?void 0:s.value)||((u=this.modelValue.at(-1))==null?void 0:u.value)),n.findIndex(c=>c.value===a)},scrollToOption(e,n="nearest"){const a=this.$refs.selectSmartOptionsScrollArea;if(a&&e>=0&&e<a.childNodes.length){const i=a.childNodes[e];i instanceof HTMLElement&&(i==null||i.scrollIntoView({block:n}))}},selectOption(e){const n=e.value===null||e.value.length===0?null:e;this.$emit("update:modelValue",this.multiple?[...this.modelValue,n]:[n])},unselectOption(e){const n=this.modelValue.findIndex(a=>a.value===e.value);if(n!==-1){const a=this.modelValue;a.splice(n,1),this.$emit("update:modelValue",a)}this.multiple&&(this.searchValue="")},onSelectOption(e){if(this.$nextTick(()=>{this.multiple||(this.active=!1)}),this.isAutocompleteAllowed&&!this.multiple&&e&&e.label){this.searchValue=e.label;return}this.multiple&&(this.searchValue="")},async onKeyDownSelect(e){const{key:n}=e;if(["Escape","Enter","ArrowUp","ArrowDown"].includes(n)){e.preventDefault();const i=this.filterOptions(this.options),r=this.getOptionIndex("focused");let s;switch(n){case"Escape":this.active=!1,this.searchValue="";break;case"Enter":this.focusedOption&&this.active&&this.handleSelect(this.focusedOption),this.active||(this.active=!0);break;case"ArrowUp":case"ArrowDown":this.multiple&&!this.active&&(this.active=!0,await this.$nextTick()),s=n==="ArrowUp"?Math.max(r-1,0):Math.min(r+1,i.length-1),this.active||this.handleSelect(i[s]);break}s!==void 0&&this.active&&this.scrollToOption(s);const u=i[s===void 0?r:s];this.focusedOption=u}}}},mN={style:{overflow:"auto"}},pN={key:0,class:"unnnic-select-smart__options-infinite-loading"},FN={key:1,class:"unnnic-select-smart__options--no-results"};function bN(e,n,a,i,r,s){const u=t.resolveComponent("TextInput"),c=t.resolveComponent("SelectSmartMultipleHeader"),d=t.resolveComponent("UnnnicIconLoading"),_=t.resolveComponent("SelectSmartOption"),g=t.resolveComponent("DropdownSkeleton"),h=t.resolveDirective("on-click-outside");return t.withDirectives((t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-select-smart",{"unnnic-select-smart--secondary":a.type==="secondary"}]),"data-testid":"select-smart",onKeydown:n[1]||(n[1]=(...p)=>s.onKeyDownSelect&&s.onKeyDownSelect(...p))},[t.createVNode(g,{ref:"dropdown-skeleton",type:"manual",modelValue:r.active||null,position:"bottom"},{inside:t.withCtx(p=>[r.active?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({width:p.width}),class:t.normalizeClass({"unnnic-select-smart__options":!0,active:r.active,inactive:!r.active}),"data-testid":"options-container"},[t.createElementVNode("div",mN,[a.multiple?(t.openBlock(),t.createBlock(c,{key:0,selectedOptions:a.modelValue,withoutSelectsMessage:a.multipleWithoutSelectsMessage,locale:e.locale,translations:e.translations,onUnselectOption:s.unselectOption},null,8,["selectedOptions","withoutSelectsMessage","locale","translations","onUnselectOption"])):t.createCommentVNode("",!0),t.createElementVNode("div",{ref:"selectSmartOptionsScrollArea","data-testid":"options-scroll-area",class:t.normalizeClass(["unnnic-select-smart__options__scroll-area",`size-${a.size}`,{"with-descriptions":s.hasDescriptionOptions,"with-checkboxes":!!a.multiple}])},[a.isLoading?(t.openBlock(),t.createBlock(d,{key:0,class:"unnnic-select-smart__options-loading",scheme:"neutral-dark",size:"sm"})):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.filterOptions(a.options),(F,y)=>(t.openBlock(),t.createBlock(_,{key:F.value,"data-testid":"option",label:F.label,description:F.description,tabindex:y,size:a.size,active:F.value===a.modelValue||s.optionIsSelected(F),disabled:s.optionIsSelected(F)&&F.disableRemove,focused:r.focusedOption&&r.focusedOption.value===F.value,allowCheckbox:!!a.multiple,activeColor:a.type==="secondary"?"secondary":"primary",onClick:A=>s.handleSelect(F)},null,8,["label","description","tabindex","size","active","disabled","focused","allowCheckbox","activeColor","onClick"]))),128)),a.infiniteScroll&&r.infiniteScrollLoading?(t.openBlock(),t.createElementBlock("div",pN,[t.createVNode(d,{scheme:"neutral-dark",size:"sm"})])):t.createCommentVNode("",!0),s.filterOptions(a.options).length===0?(t.openBlock(),t.createElementBlock("p",FN,t.toDisplayString(e.i18n("without_results")),1)):t.createCommentVNode("",!0)],64))],2)])],6)):t.createCommentVNode("",!0)]),default:t.withCtx(()=>[t.createVNode(u,{ref:"selectSmartInput",class:t.normalizeClass(["unnnic-select-smart__input",{"unnnic-select-smart__input--secondary":a.type==="secondary"}]),"data-testid":"select-smart-input",modelValue:s.inputValue,placeholder:a.placeholder||s.autocompletePlaceholder||s.selectedLabel,type:a.type,size:a.size,disabled:a.disabled,readonly:!r.isAutocompleteAllowed,iconLeft:r.isAutocompleteAllowed&&a.autocompleteIconLeft?"search-1":"",iconRight:r.active?"keyboard_arrow_up":"keyboard_arrow_down",iconRightSize:"ant",onClick:t.withModifiers(s.handleClickInput,["stop"]),"onUpdate:modelValue":n[0]||(n[0]=p=>r.searchValue=p)},null,8,["class","modelValue","placeholder","type","size","disabled","readonly","iconLeft","iconRight","onClick"])]),_:1},8,["modelValue"])],34)),[[h,s.onClickOutside]])}const Zd=P(hN,[["render",bN]]),yN={key:1,class:"unnnic-select__content-no-results"},wN={key:0,class:"unnnic-select__infinite-loading"},kN=t.defineComponent({name:"UnnnicSelect",mixins:[ra],__name:"index",props:{options:{},modelValue:{},returnObject:{type:Boolean,default:!1},itemLabel:{default:"label"},itemValue:{default:"value"},placeholder:{default:""},label:{default:""},type:{default:"normal"},errors:{default:""},message:{default:""},size:{default:"md"},optionsLines:{default:5},enableSearch:{type:Boolean,default:!1},search:{default:""},locale:{default:"en"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},infiniteScroll:{type:Boolean,default:!1},infiniteScrollDistance:{default:10},infiniteScrollCanLoadMore:{type:Function,default:()=>!0}},emits:["update:modelValue","update:search","scroll-end"],setup(e,{expose:n,emit:a}){const i=e,r=a,s=t.ref(!1),u=t.ref(null),{width:c}=j_(u),d=t.ref(null),_=t.ref(null),g=t.ref(!1),h=t.computed(()=>`${c.value}px`);t.watch(s,()=>{if(s.value?F.value=-1:C(""),s.value&&i.modelValue){const I=i.options.findIndex(K=>{var oe;return K[i.itemValue]===((oe=B.value)==null?void 0:oe[i.itemValue])});y(I,"instant","center")}s.value&&i.infiniteScroll&&t.nextTick(()=>{S()})});const p=I=>{const{key:K}=I;if(["ArrowUp","ArrowDown","Enter"].includes(K)){if(I.preventDefault(),K==="ArrowUp"){if(F.value===0)return;F.value--,y(F.value)}if(K==="ArrowDown"){if(F.value===T.value.length-1)return;F.value++,y(F.value)}K==="Enter"&&F.value!==-1&&k(T.value[F.value])}},F=t.ref(-1),y=(I,K="smooth",oe="center")=>{t.nextTick(()=>{var ce;const ee=document.querySelector(`[data-option-index="${I}"]`);ee&&((ce=ee.scrollIntoView)==null||ce.call(ee,{behavior:K,block:oe}))})},A=t.computed(()=>{if(!i.options||i.options.length===0)return"unset";const I=32,K=4,oe=37*i.optionsLines,ee=i.enableSearch?1:2,ce=oe+I+(K*i.optionsLines-ee);return`${i.enableSearch?ce+45+1:ce}px`}),E=t.computed(()=>{var K;const I=((K=T.value)==null?void 0:K.length)===0;return{overflow:"auto",display:"flex",flexDirection:"column",minHeight:A.value,maxHeight:I?"unset":A.value,height:I?A.value:"unset"}}),B=t.computed(()=>i.returnObject?i.modelValue:i.options.find(I=>I[i.itemValue]===i.modelValue)),x=t.computed(()=>{var I;return(I=B.value)==null?void 0:I[i.itemLabel]}),k=I=>{var K;I[i.itemValue]===((K=B.value)==null?void 0:K[i.itemValue])||I.disabled||(r("update:modelValue",i.returnObject?I:I[i.itemValue]),s.value=!1)},C=I=>{r("update:search",I)},T=t.computed(()=>!i.enableSearch||!i.search?i.options:i.options.filter(I=>{var K,oe;return I[i.itemLabel].toLowerCase().includes((K=i.search)==null?void 0:K.toLowerCase())||I[i.itemValue].toLowerCase().includes((oe=i.search)==null?void 0:oe.toLowerCase())})),S=()=>{i.infiniteScroll&&(_.value&&(_.value(),_.value=null),t.nextTick(()=>{const I=d.value;if(!I)return;const{reset:K}=Ju(I,()=>{g.value||(g.value=!0,r("scroll-end"))},{distance:i.infiniteScrollDistance,canLoadMore:()=>i.infiniteScrollCanLoadMore()&&!g.value});_.value=K}))},z=()=>{g.value=!1,s.value&&i.infiniteScroll&&t.nextTick(()=>{S()})},O=()=>{g.value=!1,_.value&&_.value(),s.value&&i.infiniteScroll&&t.nextTick(()=>{S()})};return t.onBeforeUnmount(()=>{_.value&&_.value()}),n({finishInfiniteScroll:z,resetInfiniteScroll:O}),(I,K)=>(t.openBlock(),t.createElementBlock("div",{class:"unnnic-select",onKeydown:p},[t.createVNode(t.unref(Er),{open:s.value,"onUpdate:open":K[1]||(K[1]=oe=>s.value=oe)},{default:t.withCtx(()=>[t.createVNode(t.unref(xr),{class:"w-full"},{default:t.withCtx(()=>[t.createVNode(_n,{ref_key:"selectInputRef",ref:u,modelValue:x.value,class:"unnnic-select__input",readonly:"",useFocusProp:"",focus:s.value,size:i.size,placeholder:i.placeholder,label:i.label,errors:i.errors,message:i.message,iconRight:s.value?"keyboard_arrow_up":"keyboard_arrow_down",disabled:i.disabled,showClear:!!B.value&&i.clearable,onClear:K[0]||(K[0]=oe=>r("update:modelValue",""))},null,8,["modelValue","focus","size","placeholder","label","errors","message","iconRight","disabled","showClear"])]),_:1}),t.createVNode(t.unref(Cr),{align:"start",class:t.normalizeClass("h-full"),style:t.normalizeStyle(E.value),width:h.value},{default:t.withCtx(()=>[t.createElementVNode("div",{ref_key:"contentRef",ref:d,class:"unnnic-select__content"},[i.enableSearch?(t.openBlock(),t.createBlock(_n,{key:0,class:"unnnic-select__input-search",modelValue:i.search,placeholder:I.$t("search"),iconLeft:"search","onUpdate:modelValue":C},null,8,["modelValue","placeholder"])):t.createCommentVNode("",!0),T.value.length===0?(t.openBlock(),t.createElementBlock("p",yN,t.toDisplayString(I.$t("without_results")),1)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(T.value,(oe,ee)=>{var ce;return t.openBlock(),t.createBlock(t.unref(al),{key:oe[i.itemValue],"data-option-index":ee,"data-testid":"select-option",label:oe[i.itemLabel],active:oe[i.itemValue]===((ce=B.value)==null?void 0:ce[i.itemValue]),focused:F.value===ee,disabled:oe.disabled,onClick:De=>k(oe)},null,8,["data-option-index","label","active","focused","disabled","onClick"])}),128)),i.infiniteScroll&&g.value?(t.openBlock(),t.createElementBlock("div",wN,[t.createVNode(fi,{scheme:"neutral-dark",size:"sm"})])):t.createCommentVNode("",!0)],64))],512)]),_:1},8,["style","width"])]),_:1},8,["open"])],32))}}),Eae="",Jd=P(kN,[["__scopeId","data-v-7159e00c"]]),Cae="",DN={name:"UnnicSelectItem",props:{size:{type:String,default:""},selectable:{type:Boolean,default:!0},active:{type:Boolean,default:!1},textFocused:{type:Boolean,default:!1}}};function AN(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-select-item":!0,"unnnic-select-item__active":a.active,"unnnic--clickable":a.selectable,"unnnic-select-item--selectable":a.selectable,"text-focused":a.textFocused}),onClick:n[0]||(n[0]=u=>e.$emit("click"))},[t.createElementVNode("span",{class:t.normalizeClass(["unnnic-select-item__label",`unnnic-select-item__label--${a.size}`])},[t.renderSlot(e.$slots,"default")],2)],2)}const $d=P(DN,[["render",AN]]),EN={class:t.normalizeClass(["unnnic-multi-select-option"])},CN=t.defineComponent({name:"UnnnicMultiSelectOption",__name:"MultSelectOption",props:{label:{},disabled:{type:Boolean,default:!1},active:{type:Boolean,default:!1},focused:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(e,{emit:n}){const a=n,i=e;return(r,s)=>(t.openBlock(),t.createElementBlock("div",EN,[t.createVNode(zi,{modelValue:i.active,disabled:i.disabled,label:i.label,"onUpdate:modelValue":s[0]||(s[0]=u=>a("update:modelValue",!i.active))},null,8,["modelValue","disabled","label"])]))}}),xae="",xN=P(CN,[["__scopeId","data-v-d730c9b5"]]),MN={class:"unnnic-multi-select"},BN={class:"unnnic-multi-select__content"},vN={key:1,class:"unnnic-multi-select__content-no-results"},jN={class:"unnnic-multi-select__options"},NN=t.defineComponent({name:"UnnnicMultiSelect",__name:"index",props:{options:{},modelValue:{},returnObject:{type:Boolean,default:!1},itemLabel:{default:"label"},itemValue:{default:"value"},placeholder:{default:""},label:{default:""},type:{default:"normal"},errors:{default:""},message:{default:""},size:{default:"md"},optionsLines:{default:5},enableSearch:{type:Boolean,default:!1},search:{default:""},locale:{default:"en"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1}},emits:["update:modelValue","update:search"],setup(e,{emit:n}){const a=e,i=t.ref(!1),r=t.ref(null),{width:s}=j_(r),u=t.computed(()=>`${s.value}px`),c=t.computed(()=>{var x;const B=((x=F.value)==null?void 0:x.length)===0;return{overflow:"auto",display:"flex",flexDirection:"column",minHeight:d.value,maxHeight:B?"unset":d.value,height:B?d.value:"unset"}}),d=t.computed(()=>{if(!a.options||a.options.length===0)return"unset";const B=a.enableSearch?16:0,x=24,C=22*a.optionsLines+(x*a.optionsLines-2);return`${a.enableSearch?C+51+B:C}px`}),_=n,g=t.ref(-1),h=t.computed(()=>{if(a.returnObject)return a.modelValue;const B=a.returnObject?a.modelValue.map(x=>x[a.itemValue]):a.modelValue;return a.options.filter(x=>B.includes(x[a.itemValue]))}),p=t.computed(()=>h.value.map(B=>B[a.itemLabel]).join(", ")),F=t.computed(()=>!a.enableSearch||!a.search?a.options:a.options.filter(B=>{var x,k;return B[a.itemLabel].toLowerCase().includes((x=a.search)==null?void 0:x.toLowerCase())||B[a.itemValue].toLowerCase().includes((k=a.search)==null?void 0:k.toLowerCase())})),y=B=>{_("update:search",B)},A=B=>a.returnObject?a.modelValue.find(x=>x[a.itemValue]===B[a.itemValue]):a.modelValue.includes(B[a.itemValue]),E=(B,x)=>{x?_("update:modelValue",a.returnObject?[...a.modelValue,B]:[...a.modelValue,B[a.itemValue]]):_("update:modelValue",a.returnObject?a.modelValue.filter(k=>k[a.itemValue]!==B[a.itemValue]):a.modelValue.filter(k=>k!==B[a.itemValue]))};return(B,x)=>(t.openBlock(),t.createElementBlock("div",MN,[t.createVNode(t.unref(Er),{open:i.value,"onUpdate:open":x[1]||(x[1]=k=>i.value=k)},{default:t.withCtx(()=>[t.createVNode(t.unref(xr),{class:"w-full"},{default:t.withCtx(()=>[t.createVNode(_n,{ref_key:"multiSelectInputRef",ref:r,modelValue:p.value,class:"unnnic-multi-select__input",readonly:"",useFocusProp:"",focus:i.value,size:a.size,placeholder:a.placeholder,label:a.label,errors:a.errors,message:a.message,iconRight:i.value?"keyboard_arrow_up":"keyboard_arrow_down",disabled:a.disabled,showClear:!!h.value.length&&a.clearable,onClear:x[0]||(x[0]=k=>_("update:modelValue",[]))},null,8,["modelValue","focus","size","placeholder","label","errors","message","iconRight","disabled","showClear"])]),_:1}),t.createVNode(t.unref(Cr),{align:"start",class:"h-full",style:t.normalizeStyle(c.value),width:u.value},{default:t.withCtx(()=>[t.createElementVNode("div",BN,[a.enableSearch?(t.openBlock(),t.createBlock(_n,{key:0,class:"unnnic-multi-select__input-search",modelValue:a.search,placeholder:B.$t("search"),iconLeft:"search","onUpdate:modelValue":y},null,8,["modelValue","placeholder"])):t.createCommentVNode("",!0),F.value.length===0?(t.openBlock(),t.createElementBlock("p",vN,t.toDisplayString(B.$t("without_results")),1)):t.createCommentVNode("",!0),t.createElementVNode("div",jN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(F.value,(k,C)=>(t.openBlock(),t.createBlock(xN,{key:k[a.itemValue],"data-option-index":C,label:k[a.itemLabel],active:A(k),focused:g.value===C,disabled:k.disabled,"onUpdate:modelValue":T=>E(k,T)},null,8,["data-option-index","label","active","focused","disabled","onUpdate:modelValue"]))),128))])])]),_:1},8,["style","width"])]),_:1},8,["open"])]))}}),Mae="",e1=P(NN,[["__scopeId","data-v-98ba476b"]]),Bae="",TN={components:{UnnnicIcon:ue},props:{open:{type:Boolean,default:!1},title:{type:String}},data(){return{height:0,setHeightToNull:null}},watch:{open(e){clearTimeout(this.setHeightToNull),e?(this.height=`${this.$refs.content.scrollHeight}px`,this.setHeightToNull=setTimeout(()=>{this.height=null},200)):(this.height=`${this.$refs.content.scrollHeight}px`,setTimeout(()=>{this.height=0},0))}},mounted(){this.open&&(this.height=null)}},SN={class:"header"},IN={class:"actions"};function ON(e,n,a,i,r,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:"unnnic-accordion",onClick:n[0]||(n[0]=c=>e.$emit("update:open",!a.open))},[t.createElementVNode("div",SN,[t.createVNode(u,{icon:a.open?"subtract-circle-1":"add-circle-1",scheme:"neutral-clean",size:"md"},null,8,["icon"]),t.createElementVNode("div",{class:t.normalizeClass(["title",{open:a.open}])},t.toDisplayString(a.title),3),t.withDirectives(t.createElementVNode("div",IN,[t.renderSlot(e.$slots,"actions",{},void 0,!0)],512),[[t.vShow,a.open]])]),t.createElementVNode("div",{ref:"content",class:t.normalizeClass(["content",{open:a.open}]),style:t.normalizeStyle({height:r.height})},[t.renderSlot(e.$slots,"default",{},void 0,!0)],6)])}const t1=P(TN,[["render",ON],["__scopeId","data-v-ae70d9af"]]),vae="",LN={name:"UnnnicIndicator",props:{numberOfSteps:{type:Number,required:!0},titles:{type:Array,default:()=>[]},currentStep:{type:Number,default:0}},methods:{titleForStep(e){try{return this.titles[e-1]}catch{return null}}}},zN={class:"weni-step-indicator"},qN={class:"weni-step-indicator__label"};function PN(e,n,a,i,r,s){return t.openBlock(),t.createElementBlock("div",zN,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.numberOfSteps,u=>(t.openBlock(),t.createElementBlock("div",{key:u,class:t.normalizeClass({"weni-step-indicator__step__wrapper":!0,"weni-step-indicator--has-separator":u>1})},[u!==1?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass({"weni-step-indicator__step__separator":!0,"weni-step-indicator__step__separator--active":u<=a.currentStep})},null,2)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:t.normalizeClass({"weni-step-indicator__step":!0,"weni-step-indicator__step--active":u<=a.currentStep})},[t.createElementVNode("span",qN,t.toDisplayString(s.titleForStep(u)),1)],2)],2))),128))])}const a1=P(LN,[["render",PN],["__scopeId","data-v-2caaee7c"]]),VN=`:export{unnnicColorBackgroundSolo:#EFFEFC}.color-background-solo{color:#effefc}.bg-background-solo{background-color:#effefc}.color-background-sky{color:#f6f7f9}.bg-background-sky{background-color:#f6f7f9}.color-background-grass{color:#f6f7f9}.bg-background-grass{background-color:#f6f7f9}.color-background-carpet{color:#f6f7f9}.bg-background-carpet{background-color:#f6f7f9}.color-background-snow{color:#fff}.bg-background-snow{background-color:#fff}.color-background-lightest{color:#f6f7f9}.bg-background-lightest{background-color:#f6f7f9}.color-background-white{color:#fff}.bg-background-white{background-color:#fff}.color-neutral-black{color:#353945}.bg-neutral-black{background-color:#353945}.color-neutral-darkest{color:#3b4151}.bg-neutral-darkest{background-color:#3b4151}.color-neutral-dark{color:#454d5f}.bg-neutral-dark{background-color:#454d5f}.color-neutral-cloudy{color:#67738b}.bg-neutral-cloudy{background-color:#67738b}.color-neutral-cleanest{color:#d6d9e1}.bg-neutral-cleanest{background-color:#d6d9e1}.color-neutral-clean{color:#b2b9c7}.bg-neutral-clean{background-color:#b2b9c7}.color-neutral-soft{color:#eceef2}.bg-neutral-soft{background-color:#eceef2}.color-neutral-lightest{color:#f6f7f9}.bg-neutral-lightest{background-color:#f6f7f9}.color-neutral-light{color:#f6f7f9}.bg-neutral-light{background-color:#f6f7f9}.color-neutral-white{color:#fff}.bg-neutral-white{background-color:#fff}.color-neutral-snow{color:#fff}.bg-neutral-snow{background-color:#fff}.color-feedback-red{color:#ff4545}.bg-feedback-red{background-color:#ff4545}.color-feedback-green{color:#47d66f}.bg-feedback-green{background-color:#47d66f}.color-feedback-yellow{color:#fdba38}.bg-feedback-yellow{background-color:#fdba38}.color-feedback-blue{color:#2856fc}.bg-feedback-blue{background-color:#2856fc}.color-feedback-grey{color:#ececec}.bg-feedback-grey{background-color:#ececec}.color-aux-blue{color:#00ded3}.bg-aux-blue{background-color:#00ded3}.color-aux-purple{color:#8416de}.bg-aux-purple{background-color:#8416de}.color-aux-orange{color:#f4691f}.bg-aux-orange{background-color:#f4691f}.color-aux-lemon{color:#ccde0b}.bg-aux-lemon{background-color:#ccde0b}.color-aux-pink{color:#de16ba}.bg-aux-pink{background-color:#de16ba}.color-aux-baby-blue{color:#8edef5}.bg-aux-baby-blue{background-color:#8edef5}.color-aux-baby-yellow{color:#fbf391}.bg-aux-baby-yellow{background-color:#fbf391}.color-aux-baby-red{color:#f48e8e}.bg-aux-baby-red{background-color:#f48e8e}.color-aux-baby-green{color:#b2fca6}.bg-aux-baby-green{background-color:#b2fca6}.color-aux-baby-pink{color:#ffcbf6}.bg-aux-baby-pink{background-color:#ffcbf6}.color-aux-green-50{color:#f0f9f3}.bg-aux-green-50{background-color:#f0f9f3}.color-aux-green-100{color:#daf1e0}.bg-aux-green-100{background-color:#daf1e0}.color-aux-green-200{color:#b7e3c6}.bg-aux-green-200{background-color:#b7e3c6}.color-aux-green-300{color:#88cda4}.bg-aux-green-300{background-color:#88cda4}.color-aux-green-400{color:#56b17e}.bg-aux-green-400{background-color:#56b17e}.color-aux-green-500{color:#38a169}.bg-aux-green-500{background-color:#38a169}.color-aux-green-600{color:#24774c}.bg-aux-green-600{background-color:#24774c}.color-aux-green-700{color:#1d5f3f}.bg-aux-green-700{background-color:#1d5f3f}.color-aux-green-800{color:#194c34}.bg-aux-green-800{background-color:#194c34}.color-aux-green-900{color:#153f2c}.bg-aux-green-900{background-color:#153f2c}.color-aux-green-950{color:#0b2318}.bg-aux-green-950{background-color:#0b2318}.color-aux-blue-50{color:#f2f7fd}.bg-aux-blue-50{background-color:#f2f7fd}.color-aux-blue-100{color:#e5eef9}.bg-aux-blue-100{background-color:#e5eef9}.color-aux-blue-200{color:#c4dbf3}.bg-aux-blue-200{background-color:#c4dbf3}.color-aux-blue-300{color:#90bde9}.bg-aux-blue-300{background-color:#90bde9}.color-aux-blue-400{color:#559bdb}.bg-aux-blue-400{background-color:#559bdb}.color-aux-blue-500{color:#3182ce}.bg-aux-blue-500{background-color:#3182ce}.color-aux-blue-600{color:#3182ce}.bg-aux-blue-600{background-color:#3182ce}.color-aux-blue-700{color:#1b4f89}.bg-aux-blue-700{background-color:#1b4f89}.color-aux-blue-800{color:#1a4472}.bg-aux-blue-800{background-color:#1a4472}.color-aux-blue-900{color:#1b3a5f}.bg-aux-blue-900{background-color:#1b3a5f}.color-aux-blue-950{color:#12253f}.bg-aux-blue-950{background-color:#12253f}.color-aux-purple-50{color:#f6f5fd}.bg-aux-purple-50{background-color:#f6f5fd}.color-aux-purple-100{color:#eeecfb}.bg-aux-purple-100{background-color:#eeecfb}.color-aux-purple-200{color:#dfdcf8}.bg-aux-purple-200{background-color:#dfdcf8}.color-aux-purple-300{color:#c7bff3}.bg-aux-purple-300{background-color:#c7bff3}.color-aux-purple-400{color:#aa9bea}.bg-aux-purple-400{background-color:#aa9bea}.color-aux-purple-500{color:#8d72e0}.bg-aux-purple-500{background-color:#8d72e0}.color-aux-purple-600{color:#805ad5}.bg-aux-purple-600{background-color:#805ad5}.color-aux-purple-700{color:#6b41c0}.bg-aux-purple-700{background-color:#6b41c0}.color-aux-purple-800{color:#5a36a1}.bg-aux-purple-800{background-color:#5a36a1}.color-aux-purple-900{color:#4b2e84}.bg-aux-purple-900{background-color:#4b2e84}.color-aux-purple-950{color:#2e1c59}.bg-aux-purple-950{background-color:#2e1c59}.color-aux-red-50{color:#fdf3f3}.bg-aux-red-50{background-color:#fdf3f3}.color-aux-red-100{color:#fde3e3}.bg-aux-red-100{background-color:#fde3e3}.color-aux-red-200{color:#fccccc}.bg-aux-red-200{background-color:#fccccc}.color-aux-red-300{color:#f8a9a9}.bg-aux-red-300{background-color:#f8a9a9}.color-aux-red-400{color:#f27777}.bg-aux-red-400{background-color:#f27777}.color-aux-red-500{color:#e53e3e}.bg-aux-red-500{background-color:#e53e3e}.color-aux-red-600{color:#d32f2f}.bg-aux-red-600{background-color:#d32f2f}.color-aux-red-700{color:#b22323}.bg-aux-red-700{background-color:#b22323}.color-aux-red-800{color:#932121}.bg-aux-red-800{background-color:#932121}.color-aux-red-900{color:#7a2222}.bg-aux-red-900{background-color:#7a2222}.color-aux-red-950{color:#420d0d}.bg-aux-red-950{background-color:#420d0d}.color-aux-orange-50{color:#fdf8ef}.bg-aux-orange-50{background-color:#fdf8ef}.color-aux-orange-100{color:#fbeed9}.bg-aux-orange-100{background-color:#fbeed9}.color-aux-orange-200{color:#f7dab1}.bg-aux-orange-200{background-color:#f7dab1}.color-aux-orange-300{color:#f1c080}.bg-aux-orange-300{background-color:#f1c080}.color-aux-orange-400{color:#eb9d4c}.bg-aux-orange-400{background-color:#eb9d4c}.color-aux-orange-500{color:#e5812a}.bg-aux-orange-500{background-color:#e5812a}.color-aux-orange-600{color:#dd6b20}.bg-aux-orange-600{background-color:#dd6b20}.color-aux-orange-700{color:#b2501c}.bg-aux-orange-700{background-color:#b2501c}.color-aux-orange-800{color:#8e401e}.bg-aux-orange-800{background-color:#8e401e}.color-aux-orange-900{color:#73361b}.bg-aux-orange-900{background-color:#73361b}.color-aux-orange-950{color:#3e1a0c}.bg-aux-orange-950{background-color:#3e1a0c}.color-aux-yellow-50{color:#fbf7eb}.bg-aux-yellow-50{background-color:#fbf7eb}.color-aux-yellow-100{color:#f5edcc}.bg-aux-yellow-100{background-color:#f5edcc}.color-aux-yellow-200{color:#edd89b}.bg-aux-yellow-200{background-color:#edd89b}.color-aux-yellow-300{color:#e2bc62}.bg-aux-yellow-300{background-color:#e2bc62}.color-aux-yellow-400{color:#d69e2e}.bg-aux-yellow-400{background-color:#d69e2e}.color-aux-yellow-500{color:#c88d2a}.bg-aux-yellow-500{background-color:#c88d2a}.color-aux-yellow-600{color:#ac6e22}.bg-aux-yellow-600{background-color:#ac6e22}.color-aux-yellow-700{color:#8a501e}.bg-aux-yellow-700{background-color:#8a501e}.color-aux-yellow-800{color:#734120}.bg-aux-yellow-800{background-color:#734120}.color-aux-yellow-900{color:#633720}.bg-aux-yellow-900{background-color:#633720}.color-aux-yellow-950{color:#391b0f}.bg-aux-yellow-950{background-color:#391b0f}.color-floweditor-blue{color:#0080a3}.bg-floweditor-blue{background-color:#0080a3}.color-floweditor-purple{color:#7a00a3}.bg-floweditor-purple{background-color:#7a00a3}.color-floweditor-wine{color:#a3006a}.bg-floweditor-wine{background-color:#a3006a}.color-floweditor-orange{color:#f99707}.bg-floweditor-orange{background-color:#f99707}.color-floweditor-pink{color:#de16ba}.bg-floweditor-pink{background-color:#de16ba}.color-floweditor-turquoise{color:#04c8bd}.bg-floweditor-turquoise{background-color:#04c8bd}.color-floweditor-green{color:#00a339}.bg-floweditor-green{background-color:#00a339}.color-weni-50{color:#effefc}.bg-weni-50{background-color:#effefc}.color-weni-100{color:#c7fff7}.bg-weni-100{background-color:#c7fff7}.color-weni-200{color:#90ffef}.bg-weni-200{background-color:#90ffef}.color-weni-300{color:#51f7e7}.bg-weni-300{background-color:#51f7e7}.color-weni-400{color:#1de4d7}.bg-weni-400{background-color:#1de4d7}.color-weni-500{color:#04c8bd}.bg-weni-500{background-color:#04c8bd}.color-weni-600{color:#00a49f}.bg-weni-600{background-color:#00a49f}.color-weni-700{color:#05807d}.bg-weni-700{background-color:#05807d}.color-weni-800{color:#0a6564}.bg-weni-800{background-color:#0a6564}.color-weni-900{color:#0d5453}.bg-weni-900{background-color:#0d5453}.color-weni-950{color:#003133}.bg-weni-950{background-color:#003133}.color-brand-weni{color:#00a49f}.bg-brand-weni{background-color:#00a49f}.color-brand-weni-dark{color:#0a6564}.bg-brand-weni-dark{background-color:#0a6564}.color-brand-weni-soft{color:#00a49f}.bg-brand-weni-soft{background-color:#00a49f}.color-brand-sec-dark{color:#353945}.bg-brand-sec-dark{background-color:#353945}.color-brand-sec-soft{color:#454d5f}.bg-brand-sec-soft{background-color:#454d5f}.color-brand-sec{color:#d6d9e1}.bg-brand-sec{background-color:#d6d9e1}.u.color-background-solo{color:#effefc}.u.bg-background-solo{background-color:#effefc}.u.color-background-sky{color:#f6f7f9}.u.bg-background-sky{background-color:#f6f7f9}.u.color-background-grass{color:#f6f7f9}.u.bg-background-grass{background-color:#f6f7f9}.u.color-background-carpet{color:#f6f7f9}.u.bg-background-carpet{background-color:#f6f7f9}.u.color-background-snow{color:#fff}.u.bg-background-snow{background-color:#fff}.u.color-background-lightest{color:#f6f7f9}.u.bg-background-lightest{background-color:#f6f7f9}.u.color-background-white{color:#fff}.u.bg-background-white{background-color:#fff}.u.color-neutral-black{color:#353945}.u.bg-neutral-black{background-color:#353945}.u.color-neutral-darkest{color:#3b4151}.u.bg-neutral-darkest{background-color:#3b4151}.u.color-neutral-dark{color:#454d5f}.u.bg-neutral-dark{background-color:#454d5f}.u.color-neutral-cloudy{color:#67738b}.u.bg-neutral-cloudy{background-color:#67738b}.u.color-neutral-cleanest{color:#d6d9e1}.u.bg-neutral-cleanest{background-color:#d6d9e1}.u.color-neutral-clean{color:#b2b9c7}.u.bg-neutral-clean{background-color:#b2b9c7}.u.color-neutral-soft{color:#eceef2}.u.bg-neutral-soft{background-color:#eceef2}.u.color-neutral-lightest{color:#f6f7f9}.u.bg-neutral-lightest{background-color:#f6f7f9}.u.color-neutral-light{color:#f6f7f9}.u.bg-neutral-light{background-color:#f6f7f9}.u.color-neutral-white{color:#fff}.u.bg-neutral-white{background-color:#fff}.u.color-neutral-snow{color:#fff}.u.bg-neutral-snow{background-color:#fff}.u.color-feedback-red{color:#ff4545}.u.bg-feedback-red{background-color:#ff4545}.u.color-feedback-green{color:#47d66f}.u.bg-feedback-green{background-color:#47d66f}.u.color-feedback-yellow{color:#fdba38}.u.bg-feedback-yellow{background-color:#fdba38}.u.color-feedback-blue{color:#2856fc}.u.bg-feedback-blue{background-color:#2856fc}.u.color-feedback-grey{color:#ececec}.u.bg-feedback-grey{background-color:#ececec}.u.color-aux-blue{color:#00ded3}.u.bg-aux-blue{background-color:#00ded3}.u.color-aux-purple{color:#8416de}.u.bg-aux-purple{background-color:#8416de}.u.color-aux-orange{color:#f4691f}.u.bg-aux-orange{background-color:#f4691f}.u.color-aux-lemon{color:#ccde0b}.u.bg-aux-lemon{background-color:#ccde0b}.u.color-aux-pink{color:#de16ba}.u.bg-aux-pink{background-color:#de16ba}.u.color-aux-baby-blue{color:#8edef5}.u.bg-aux-baby-blue{background-color:#8edef5}.u.color-aux-baby-yellow{color:#fbf391}.u.bg-aux-baby-yellow{background-color:#fbf391}.u.color-aux-baby-red{color:#f48e8e}.u.bg-aux-baby-red{background-color:#f48e8e}.u.color-aux-baby-green{color:#b2fca6}.u.bg-aux-baby-green{background-color:#b2fca6}.u.color-aux-baby-pink{color:#ffcbf6}.u.bg-aux-baby-pink{background-color:#ffcbf6}.u.color-aux-green-50{color:#f0f9f3}.u.bg-aux-green-50{background-color:#f0f9f3}.u.color-aux-green-100{color:#daf1e0}.u.bg-aux-green-100{background-color:#daf1e0}.u.color-aux-green-200{color:#b7e3c6}.u.bg-aux-green-200{background-color:#b7e3c6}.u.color-aux-green-300{color:#88cda4}.u.bg-aux-green-300{background-color:#88cda4}.u.color-aux-green-400{color:#56b17e}.u.bg-aux-green-400{background-color:#56b17e}.u.color-aux-green-500{color:#38a169}.u.bg-aux-green-500{background-color:#38a169}.u.color-aux-green-600{color:#24774c}.u.bg-aux-green-600{background-color:#24774c}.u.color-aux-green-700{color:#1d5f3f}.u.bg-aux-green-700{background-color:#1d5f3f}.u.color-aux-green-800{color:#194c34}.u.bg-aux-green-800{background-color:#194c34}.u.color-aux-green-900{color:#153f2c}.u.bg-aux-green-900{background-color:#153f2c}.u.color-aux-green-950{color:#0b2318}.u.bg-aux-green-950{background-color:#0b2318}.u.color-aux-blue-50{color:#f2f7fd}.u.bg-aux-blue-50{background-color:#f2f7fd}.u.color-aux-blue-100{color:#e5eef9}.u.bg-aux-blue-100{background-color:#e5eef9}.u.color-aux-blue-200{color:#c4dbf3}.u.bg-aux-blue-200{background-color:#c4dbf3}.u.color-aux-blue-300{color:#90bde9}.u.bg-aux-blue-300{background-color:#90bde9}.u.color-aux-blue-400{color:#559bdb}.u.bg-aux-blue-400{background-color:#559bdb}.u.color-aux-blue-500{color:#3182ce}.u.bg-aux-blue-500{background-color:#3182ce}.u.color-aux-blue-600{color:#3182ce}.u.bg-aux-blue-600{background-color:#3182ce}.u.color-aux-blue-700{color:#1b4f89}.u.bg-aux-blue-700{background-color:#1b4f89}.u.color-aux-blue-800{color:#1a4472}.u.bg-aux-blue-800{background-color:#1a4472}.u.color-aux-blue-900{color:#1b3a5f}.u.bg-aux-blue-900{background-color:#1b3a5f}.u.color-aux-blue-950{color:#12253f}.u.bg-aux-blue-950{background-color:#12253f}.u.color-aux-purple-50{color:#f6f5fd}.u.bg-aux-purple-50{background-color:#f6f5fd}.u.color-aux-purple-100{color:#eeecfb}.u.bg-aux-purple-100{background-color:#eeecfb}.u.color-aux-purple-200{color:#dfdcf8}.u.bg-aux-purple-200{background-color:#dfdcf8}.u.color-aux-purple-300{color:#c7bff3}.u.bg-aux-purple-300{background-color:#c7bff3}.u.color-aux-purple-400{color:#aa9bea}.u.bg-aux-purple-400{background-color:#aa9bea}.u.color-aux-purple-500{color:#8d72e0}.u.bg-aux-purple-500{background-color:#8d72e0}.u.color-aux-purple-600{color:#805ad5}.u.bg-aux-purple-600{background-color:#805ad5}.u.color-aux-purple-700{color:#6b41c0}.u.bg-aux-purple-700{background-color:#6b41c0}.u.color-aux-purple-800{color:#5a36a1}.u.bg-aux-purple-800{background-color:#5a36a1}.u.color-aux-purple-900{color:#4b2e84}.u.bg-aux-purple-900{background-color:#4b2e84}.u.color-aux-purple-950{color:#2e1c59}.u.bg-aux-purple-950{background-color:#2e1c59}.u.color-aux-red-50{color:#fdf3f3}.u.bg-aux-red-50{background-color:#fdf3f3}.u.color-aux-red-100{color:#fde3e3}.u.bg-aux-red-100{background-color:#fde3e3}.u.color-aux-red-200{color:#fccccc}.u.bg-aux-red-200{background-color:#fccccc}.u.color-aux-red-300{color:#f8a9a9}.u.bg-aux-red-300{background-color:#f8a9a9}.u.color-aux-red-400{color:#f27777}.u.bg-aux-red-400{background-color:#f27777}.u.color-aux-red-500{color:#e53e3e}.u.bg-aux-red-500{background-color:#e53e3e}.u.color-aux-red-600{color:#d32f2f}.u.bg-aux-red-600{background-color:#d32f2f}.u.color-aux-red-700{color:#b22323}.u.bg-aux-red-700{background-color:#b22323}.u.color-aux-red-800{color:#932121}.u.bg-aux-red-800{background-color:#932121}.u.color-aux-red-900{color:#7a2222}.u.bg-aux-red-900{background-color:#7a2222}.u.color-aux-red-950{color:#420d0d}.u.bg-aux-red-950{background-color:#420d0d}.u.color-aux-orange-50{color:#fdf8ef}.u.bg-aux-orange-50{background-color:#fdf8ef}.u.color-aux-orange-100{color:#fbeed9}.u.bg-aux-orange-100{background-color:#fbeed9}.u.color-aux-orange-200{color:#f7dab1}.u.bg-aux-orange-200{background-color:#f7dab1}.u.color-aux-orange-300{color:#f1c080}.u.bg-aux-orange-300{background-color:#f1c080}.u.color-aux-orange-400{color:#eb9d4c}.u.bg-aux-orange-400{background-color:#eb9d4c}.u.color-aux-orange-500{color:#e5812a}.u.bg-aux-orange-500{background-color:#e5812a}.u.color-aux-orange-600{color:#dd6b20}.u.bg-aux-orange-600{background-color:#dd6b20}.u.color-aux-orange-700{color:#b2501c}.u.bg-aux-orange-700{background-color:#b2501c}.u.color-aux-orange-800{color:#8e401e}.u.bg-aux-orange-800{background-color:#8e401e}.u.color-aux-orange-900{color:#73361b}.u.bg-aux-orange-900{background-color:#73361b}.u.color-aux-orange-950{color:#3e1a0c}.u.bg-aux-orange-950{background-color:#3e1a0c}.u.color-aux-yellow-50{color:#fbf7eb}.u.bg-aux-yellow-50{background-color:#fbf7eb}.u.color-aux-yellow-100{color:#f5edcc}.u.bg-aux-yellow-100{background-color:#f5edcc}.u.color-aux-yellow-200{color:#edd89b}.u.bg-aux-yellow-200{background-color:#edd89b}.u.color-aux-yellow-300{color:#e2bc62}.u.bg-aux-yellow-300{background-color:#e2bc62}.u.color-aux-yellow-400{color:#d69e2e}.u.bg-aux-yellow-400{background-color:#d69e2e}.u.color-aux-yellow-500{color:#c88d2a}.u.bg-aux-yellow-500{background-color:#c88d2a}.u.color-aux-yellow-600{color:#ac6e22}.u.bg-aux-yellow-600{background-color:#ac6e22}.u.color-aux-yellow-700{color:#8a501e}.u.bg-aux-yellow-700{background-color:#8a501e}.u.color-aux-yellow-800{color:#734120}.u.bg-aux-yellow-800{background-color:#734120}.u.color-aux-yellow-900{color:#633720}.u.bg-aux-yellow-900{background-color:#633720}.u.color-aux-yellow-950{color:#391b0f}.u.bg-aux-yellow-950{background-color:#391b0f}.u.color-floweditor-blue{color:#0080a3}.u.bg-floweditor-blue{background-color:#0080a3}.u.color-floweditor-purple{color:#7a00a3}.u.bg-floweditor-purple{background-color:#7a00a3}.u.color-floweditor-wine{color:#a3006a}.u.bg-floweditor-wine{background-color:#a3006a}.u.color-floweditor-orange{color:#f99707}.u.bg-floweditor-orange{background-color:#f99707}.u.color-floweditor-pink{color:#de16ba}.u.bg-floweditor-pink{background-color:#de16ba}.u.color-floweditor-turquoise{color:#04c8bd}.u.bg-floweditor-turquoise{background-color:#04c8bd}.u.color-floweditor-green{color:#00a339}.u.bg-floweditor-green{background-color:#00a339}.u.color-weni-50{color:#effefc}.u.bg-weni-50{background-color:#effefc}.u.color-weni-100{color:#c7fff7}.u.bg-weni-100{background-color:#c7fff7}.u.color-weni-200{color:#90ffef}.u.bg-weni-200{background-color:#90ffef}.u.color-weni-300{color:#51f7e7}.u.bg-weni-300{background-color:#51f7e7}.u.color-weni-400{color:#1de4d7}.u.bg-weni-400{background-color:#1de4d7}.u.color-weni-500{color:#04c8bd}.u.bg-weni-500{background-color:#04c8bd}.u.color-weni-600{color:#00a49f}.u.bg-weni-600{background-color:#00a49f}.u.color-weni-700{color:#05807d}.u.bg-weni-700{background-color:#05807d}.u.color-weni-800{color:#0a6564}.u.bg-weni-800{background-color:#0a6564}.u.color-weni-900{color:#0d5453}.u.bg-weni-900{background-color:#0d5453}.u.color-weni-950{color:#003133}.u.bg-weni-950{background-color:#003133}.u.color-brand-weni{color:#00a49f}.u.bg-brand-weni{background-color:#00a49f}.u.color-brand-weni-dark{color:#0a6564}.u.bg-brand-weni-dark{background-color:#0a6564}.u.color-brand-weni-soft{color:#00a49f}.u.bg-brand-weni-soft{background-color:#00a49f}.u.color-brand-sec-dark{color:#353945}.u.bg-brand-sec-dark{background-color:#353945}.u.color-brand-sec-soft{color:#454d5f}.u.bg-brand-sec-soft{background-color:#454d5f}.u.color-brand-sec{color:#d6d9e1}.u.bg-brand-sec{background-color:#d6d9e1}
66
66
  `,up=/unnnicColorBackgroundSolo:\s*(.*)\;/.exec(VN),n1=up?up[1]:"#E8F4F4",UN={backgroundColor:n1,backgroundImage:`linear-gradient(
67
67
  90deg,
68
68
  ${n1},