@weni/unnnic-system 3.9.4-alpha.1 → 3.9.4-alpha.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.
@@ -56,7 +56,7 @@ ${_}`:f)}else throw u},onCacheKey:u=>Pk(n,a,u)}}function w9(e){if($(e))return e;
56
56
  * vue-i18n v9.14.5
57
57
  * (c) 2025 kazuya kawaguchi
58
58
  * Released under the MIT License.
59
- */const j9="9.14.5";function N9(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(mn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(mn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(mn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(mn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(mn().__INTLIFY_PROD_DEVTOOLS__=!1)}const cg=Pt.__EXTEND_POINT__,pn=ss(cg),st={FALLBACK_TO_ROOT:cg,NOT_SUPPORTED_PRESERVE:pn(),NOT_SUPPORTED_FORMATTER:pn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:pn(),NOT_SUPPORTED_GET_CHOICE_INDEX:pn(),COMPONENT_NAME_LEGACY_COMPATIBLE:pn(),NOT_FOUND_PARENT_SCOPE:pn(),IGNORE_OBJ_FLATTEN:pn(),NOTICE_DROP_ALLOW_COMPOSITION:pn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:pn()},S9={[st.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[st.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[st.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[st.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[st.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[st.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[st.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[st.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[st.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[st.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Qt(e,...n){return ju(S9[e],...n)}const dg=At.__EXTEND_POINT__,Gt=ss(dg),qe={UNEXPECTED_RETURN_TYPE:dg,INVALID_ARGUMENT:Gt(),MUST_BE_CALL_SETUP_TOP:Gt(),NOT_INSTALLED:Gt(),NOT_AVAILABLE_IN_LEGACY_MODE:Gt(),REQUIRED_VALUE:Gt(),INVALID_VALUE:Gt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Gt(),NOT_INSTALLED_WITH_PROVIDE:Gt(),UNEXPECTED_ERROR:Gt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Gt(),BRIDGE_SUPPORT_VUE_2_ONLY:Gt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Gt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Gt(),__EXTEND_POINT__:Gt()};function yt(e,...n){return Yi(e,null,process.env.NODE_ENV!=="production"?{messages:T9,args:n}:void 0)}const T9={[qe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[qe.INVALID_ARGUMENT]:"Invalid argument",[qe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[qe.NOT_INSTALLED]:"Need to install with `app.use` function",[qe.UNEXPECTED_ERROR]:"Unexpected error",[qe.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[qe.REQUIRED_VALUE]:"Required in value: {0}",[qe.INVALID_VALUE]:"Invalid value",[qe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[qe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[qe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[qe.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[qe.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",[qe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Hu=Ka("__translateVNode"),Qu=Ka("__datetimeParts"),Gu=Ka("__numberParts"),hi=Ka("__enableEmitter"),Qr=Ka("__disableEmitter"),fg=Ka("__setPluralRules"),_g=Ka("__injectWithOption"),Wu=Ka("__dispose");function Gr(e){if(!Ie(e)||ma(e))return e;for(const n in e)if(La(e,n))if(!n.includes("."))Ie(e[n])&&Gr(e[n]);else{const a=n.split("."),i=a.length-1;let o=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 o||(o[a[u]]=Xe()),!Ie(o[a[u]])){process.env.NODE_ENV!=="production"&&pt(Qt(st.IGNORE_OBJ_FLATTEN,{key:a[u]})),s=!0;break}o=o[a[u]]}if(s||(ma(o)?C_.includes(a[i])||delete e[n]:(o[a[i]]=e[n],delete e[n])),!ma(o)){const u=o[a[i]];Ie(u)&&Gr(u)}}return e}function ms(e,n){const{messages:a,__i18n:i,messageResolver:o,flatJson:s}=n,u=be(a)?a:Je(i)?Xe():{[e]:Xe()};if(Je(i)&&i.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:f,resource:_}=c;f?(u[f]=u[f]||Xe(),us(_,u[f])):us(_,u)}else $(c)&&us(JSON.parse(c),u)}),o==null&&s)for(const c in u)La(u,c)&&Gr(u[c]);return u}function gg(e){return e.type}function hg(e,n,a){let i=Ie(n.messages)?n.messages:Xe();"__i18nGlobal"in a&&(i=ms(e.locale.value,{messages:i,__i18n:a.__i18nGlobal}));const o=Object.keys(i);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,i[s])});{if(Ie(n.datetimeFormats)){const s=Object.keys(n.datetimeFormats);s.length&&s.forEach(u=>{e.mergeDateTimeFormat(u,n.datetimeFormats[u])})}if(Ie(n.numberFormats)){const s=Object.keys(n.numberFormats);s.length&&s.forEach(u=>{e.mergeNumberFormat(u,n.numberFormats[u])})}}}function mg(e){return t.createVNode(t.Text,null,e,0)}const Fg="__INTLIFY_META__",pg=()=>[],I9=()=>!1;let bg=0;function yg(e){return(n,a,i,o)=>e(a,i,t.getCurrentInstance()||void 0,o)}const O9=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=gg(e)[Fg])?{[Fg]:n}:null};function Xu(e={},n){const{__root:a,__injectWithOption:i}=e,o=a===void 0,s=e.flatJson,u=Oa?t.ref:t.shallowRef,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&i_(Qt(st.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let f=Me(e.inheritLocale)?e.inheritLocale:!0;const _=u(a&&f?a.locale.value:$(e.locale)?e.locale:Gi),g=u(a&&f?a.fallbackLocale.value:$(e.fallbackLocale)||Je(e.fallbackLocale)||be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:_.value),m=u(ms(_.value,e)),F=u(be(e.datetimeFormats)?e.datetimeFormats:{[_.value]:{}}),b=u(be(e.numberFormats)?e.numberFormats:{[_.value]:{}});let w=a?a.missingWarn:Me(e.missingWarn)||Ln(e.missingWarn)?e.missingWarn:!0,C=a?a.fallbackWarn:Me(e.fallbackWarn)||Ln(e.fallbackWarn)?e.fallbackWarn:!0,A=a?a.fallbackRoot:Me(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,S=Ke(e.missing)?e.missing:null,D=Ke(e.missing)?yg(e.missing):null,x=Ke(e.postTranslation)?e.postTranslation:null,q=a?a.warnHtmlMessage:Me(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const P=a?a.modifiers:be(e.modifiers)?e.modifiers:{};let L=e.pluralRules||a&&a.pluralRules,O;O=(()=>{o&&U_(null);const R={version:j9,locale:_.value,fallbackLocale:g.value,messages:m.value,modifiers:P,pluralRules:L,missing:D===null?void 0:D,missingWarn:w,fallbackWarn:C,fallbackFormat:N,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:q,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=F.value,R.numberFormats=b.value,R.__datetimeFormatters=be(O)?O.__datetimeFormatters:void 0,R.__numberFormatters=be(O)?O.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=be(O)?O.__v_emitter:void 0);const X=f9(R);return o&&U_(X),X})(),Hr(O,_.value,g.value);function _e(){return[_.value,g.value,m.value,F.value,b.value]}const ie=t.computed({get:()=>_.value,set:R=>{_.value=R,O.locale=_.value}}),de=t.computed({get:()=>g.value,set:R=>{g.value=R,O.fallbackLocale=g.value,Hr(O,_.value,R)}}),Ce=t.computed(()=>m.value),we=t.computed(()=>F.value),pe=t.computed(()=>b.value);function Ae(){return Ke(x)?x:null}function ee(R){x=R,O.postTranslation=R}function Re(){return S}function Et(R){R!==null&&(D=yg(R)),S=R,O.missing=D}function dt(R,X){return R!=="translate"||!X.resolvedMessage}const Ct=(R,X,Oe,it,ka,Kn)=>{_e();let an;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&P_(O9()),o||(O.fallbackContext=a?d9():void 0),an=R(O)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&P_(null),o||(O.fallbackContext=void 0)}if(Oe!=="translate exists"&&ht(an)&&an===_s||Oe==="translate exists"&&!an){const[Va,go]=X();if(process.env.NODE_ENV!=="production"&&a&&$(Va)&&dt(Oe,go)&&(A&&(hs(C,Va)||Y_(w,Va))&&pt(Qt(st.FALLBACK_TO_ROOT,{key:Va,type:Oe})),process.env.NODE_ENV!=="production")){const{__v_emitter:fr}=O;fr&&A&&fr.emit("fallback",{type:Oe,key:Va,to:"global",groupId:`${Oe}:${Va}`})}return a&&A?it(a):ka(Va)}else{if(Kn(an))return an;throw yt(qe.UNEXPECTED_RETURN_TYPE)}};function lt(...R){return Ct(X=>Reflect.apply(J_,null,[X,...R]),()=>Vu(...R),"translate",X=>Reflect.apply(X.t,X,[...R]),X=>X,X=>$(X))}function ft(...R){const[X,Oe,it]=R;if(it&&!Ie(it))throw yt(qe.INVALID_ARGUMENT);return lt(X,Oe,Bt({resolvedMessage:!0},it||{}))}function jt(...R){return Ct(X=>Reflect.apply(ng,null,[X,...R]),()=>Uu(...R),"datetime format",X=>Reflect.apply(X.d,X,[...R]),()=>gs,X=>$(X))}function ia(...R){return Ct(X=>Reflect.apply(og,null,[X,...R]),()=>Ru(...R),"number format",X=>Reflect.apply(X.n,X,[...R]),()=>gs,X=>$(X))}function $e(R){return R.map(X=>$(X)||ht(X)||Me(X)?mg(String(X)):X)}const Ot={normalize:$e,interpolate:R=>R,type:"vnode"};function oa(...R){return Ct(X=>{let Oe;const it=X;try{it.processor=Ot,Oe=Reflect.apply(J_,null,[it,...R])}finally{it.processor=null}return Oe},()=>Vu(...R),"translate",X=>X[Hu](...R),X=>[mg(X)],X=>Je(X))}function Xt(...R){return Ct(X=>Reflect.apply(og,null,[X,...R]),()=>Ru(...R),"number format",X=>X[Gu](...R),pg,X=>$(X)||Je(X))}function Vt(...R){return Ct(X=>Reflect.apply(ng,null,[X,...R]),()=>Uu(...R),"datetime format",X=>X[Qu](...R),pg,X=>$(X)||Je(X))}function Wn(R){L=R,O.pluralRules=L}function K(R,X){return Ct(()=>{if(!R)return!1;const Oe=$(X)?X:_.value,it=Nt(Oe),ka=O.messageResolver(it,R);return c?ka!=null:ma(ka)||Fa(ka)||$(ka)},()=>[R],"translate exists",Oe=>Reflect.apply(Oe.te,Oe,[R,X]),I9,Oe=>Me(Oe))}function je(R){let X=null;const Oe=N_(O,g.value,_.value);for(let it=0;it<Oe.length;it++){const ka=m.value[Oe[it]]||{},Kn=O.messageResolver(ka,R);if(Kn!=null){X=Kn;break}}return X}function wi(R){const X=je(R);return X??(a?a.tm(R)||{}:{})}function Nt(R){return m.value[R]||{}}function Xn(R,X){if(s){const Oe={[R]:X};for(const it in Oe)La(Oe,it)&&Gr(Oe[it]);X=Oe[R]}m.value[R]=X,O.messages=m.value}function _o(R,X){m.value[R]=m.value[R]||{};const Oe={[R]:X};if(s)for(const it in Oe)La(Oe,it)&&Gr(Oe[it]);X=Oe[R],us(X,m.value[R]),O.messages=m.value}function M(R){return F.value[R]||{}}function j(R,X){F.value[R]=X,O.datetimeFormats=F.value,rg(O,R,X)}function G(R,X){F.value[R]=Bt(F.value[R]||{},X),O.datetimeFormats=F.value,rg(O,R,X)}function ue(R){return b.value[R]||{}}function et(R,X){b.value[R]=X,O.numberFormats=b.value,lg(O,R,X)}function Pe(R,X){b.value[R]=Bt(b.value[R]||{},X),O.numberFormats=b.value,lg(O,R,X)}bg++,a&&Oa&&(t.watch(a.locale,R=>{f&&(_.value=R,O.locale=R,Hr(O,_.value,g.value))}),t.watch(a.fallbackLocale,R=>{f&&(g.value=R,O.fallbackLocale=R,Hr(O,_.value,g.value))}));const Ye={id:bg,locale:ie,fallbackLocale:de,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&a&&(_.value=a.locale.value,g.value=a.fallbackLocale.value,Hr(O,_.value,g.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:Ce,get modifiers(){return P},get pluralRules(){return L||{}},get isGlobal(){return o},get missingWarn(){return w},set missingWarn(R){w=R,O.missingWarn=w},get fallbackWarn(){return C},set fallbackWarn(R){C=R,O.fallbackWarn=C},get fallbackRoot(){return A},set fallbackRoot(R){A=R},get fallbackFormat(){return N},set fallbackFormat(R){N=R,O.fallbackFormat=N},get warnHtmlMessage(){return q},set warnHtmlMessage(R){q=R,O.warnHtmlMessage=R},get escapeParameter(){return T},set escapeParameter(R){T=R,O.escapeParameter=R},t:lt,getLocaleMessage:Nt,setLocaleMessage:Xn,mergeLocaleMessage:_o,getPostTranslationHandler:Ae,setPostTranslationHandler:ee,getMissingHandler:Re,setMissingHandler:Et,[fg]:Wn};return Ye.datetimeFormats=we,Ye.numberFormats=pe,Ye.rt=ft,Ye.te=K,Ye.tm=wi,Ye.d=jt,Ye.n=ia,Ye.getDateTimeFormat=M,Ye.setDateTimeFormat=j,Ye.mergeDateTimeFormat=G,Ye.getNumberFormat=ue,Ye.setNumberFormat=et,Ye.mergeNumberFormat=Pe,Ye[_g]=i,Ye[Hu]=oa,Ye[Qu]=Vt,Ye[Gu]=Xt,process.env.NODE_ENV!=="production"&&(Ye[hi]=R=>{O.__v_emitter=R},Ye[Qr]=()=>{O.__v_emitter=void 0}),Ye}function L9(e){const n=$(e.locale)?e.locale:Gi,a=$(e.fallbackLocale)||Je(e.fallbackLocale)||be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=Ke(e.missing)?e.missing:void 0,o=Me(e.silentTranslationWarn)||Ln(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Me(e.silentFallbackWarn)||Ln(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=Me(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,f=be(e.modifiers)?e.modifiers:{},_=e.pluralizationRules,g=Ke(e.postTranslation)?e.postTranslation:void 0,m=$(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,F=!!e.escapeParameterHtml,b=Me(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&pt(Qt(st.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&pt(Qt(st.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let w=e.messages;if(be(e.sharedMessages)){const T=e.sharedMessages;w=Object.keys(T).reduce((L,O)=>{const ne=L[O]||(L[O]={});return Bt(ne,T[O]),L},w||{})}const{__i18n:C,__root:A,__injectWithOption:N}=e,S=e.datetimeFormats,D=e.numberFormats,x=e.flatJson,q=e.translateExistCompatible;return{locale:n,fallbackLocale:a,messages:w,flatJson:x,datetimeFormats:S,numberFormats:D,missing:i,missingWarn:o,fallbackWarn:s,fallbackRoot:u,fallbackFormat:c,modifiers:f,pluralRules:_,postTranslation:g,warnHtmlMessage:m,escapeParameter:F,messageResolver:e.messageResolver,inheritLocale:b,translateExistCompatible:q,__i18n:C,__root:A,__injectWithOption:N}}function Ku(e={},n){{const a=Xu(L9(e)),{__extender:i}=e,o={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"&&pt(Qt(st.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&pt(Qt(st.NOT_SUPPORTED_FORMATTER))},get missing(){return a.getMissingHandler()},set missing(s){a.setMissingHandler(s)},get silentTranslationWarn(){return Me(a.missingWarn)?!a.missingWarn:a.missingWarn},set silentTranslationWarn(s){a.missingWarn=Me(s)?!s:s},get silentFallbackWarn(){return Me(a.fallbackWarn)?!a.fallbackWarn:a.fallbackWarn},set silentFallbackWarn(s){a.fallbackWarn=Me(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"&&pt(Qt(st.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&pt(Qt(st.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return a.pluralRules||{}},__composer:a,t(...s){const[u,c,f]=s,_={};let g=null,m=null;if(!$(u))throw yt(qe.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:Je(c)?g=c:be(c)&&(m=c),Je(f)?g=f:be(f)&&(m=f),Reflect.apply(a.t,a,[F,g||m||{},_])},rt(...s){return Reflect.apply(a.rt,a,[...s])},tc(...s){const[u,c,f]=s,_={plural:1};let g=null,m=null;if(!$(u))throw yt(qe.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:ht(c)?_.plural=c:Je(c)?g=c:be(c)&&(m=c),$(f)?_.locale=f:Je(f)?g=f:be(f)&&(m=f),Reflect.apply(a.t,a,[F,g||m||{},_])},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"&&pt(Qt(st.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=i,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=s=>{const u=a;u[hi]&&u[hi](s)},o.__disableEmitter=()=>{const s=a;s[Qr]&&s[Qr]()}),o}}const Zu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function z9({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((i,o)=>[...i,...o.type===t.Fragment?o.children:[o]],[]):n.reduce((a,i)=>{const o=e[i];return o&&(a[i]=o()),a},Xe())}function wg(e){return t.Fragment}const Ju=t.defineComponent({name:"i18n-t",props:Bt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ht(e)||!isNaN(e)}},Zu),setup(e,n){const{slots:a,attrs:i}=n,o=e.i18n||ac({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(a).filter(m=>m!=="_"),u=Xe();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=$(e.plural)?+e.plural:e.plural);const c=z9(n,s),f=o[Hu](e.keypath,c,u),_=Bt(Xe(),i),g=$(e.tag)||Ie(e.tag)?e.tag:wg();return t.h(g,_,f)}}});function q9(e){return Je(e)&&!$(e[0])}function kg(e,n,a,i){const{slots:o,attrs:s}=n;return()=>{const u={part:!0};let c=Xe();e.locale&&(u.locale=e.locale),$(e.format)?u.key=e.format:Ie(e.format)&&($(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((F,b)=>a.includes(b)?Bt(Xe(),F,{[b]:e.format[b]}):F,Xe()));const f=i(e.value,u,c);let _=[u.key];Je(f)?_=f.map((F,b)=>{const w=o[F.type],C=w?w({[F.type]:F.value,index:b,parts:f}):[F.value];return q9(C)&&(C[0].key=`${F.type}-${b}`),C}):$(f)&&(_=[f]);const g=Bt(Xe(),s),m=$(e.tag)||Ie(e.tag)?e.tag:wg();return t.h(m,g,_)}}const Dg=t.defineComponent({name:"i18n-n",props:Bt({value:{type:Number,required:!0},format:{type:[String,Object]}},Zu),setup(e,n){const a=e.i18n||ac({useScope:e.scope,__useComponent:!0});return kg(e,n,sg,(...i)=>a[Gu](...i))}}),Ag=t.defineComponent({name:"i18n-d",props:Bt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Zu),setup(e,n){const a=e.i18n||ac({useScope:e.scope,__useComponent:!0});return kg(e,n,ig,(...i)=>a[Qu](...i))}});function P9(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 V9(e){const n=u=>{const{instance:c,modifiers:f,value:_}=u;if(!c||!c.$)throw yt(qe.UNEXPECTED_ERROR);const g=P9(e,c.$);process.env.NODE_ENV!=="production"&&f.preserve&&pt(Qt(st.NOT_SUPPORTED_PRESERVE));const m=Eg(_);return[Reflect.apply(g.t,g,[...Cg(m)]),g]};return{created:(u,c)=>{const[f,_]=n(c);Oa&&e.global===_&&(u.__i18nWatcher=t.watch(_.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=_,u.textContent=f},unmounted:u=>{Oa&&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 f=u.__composer,_=Eg(c);u.textContent=Reflect.apply(f.t,f,[...Cg(_)])}},getSSRProps:u=>{const[c]=n(u);return{textContent:c}}}}function Eg(e){if($(e))return{path:e};if(be(e)){if(!("path"in e))throw yt(qe.REQUIRED_VALUE,"path");return e}else throw yt(qe.INVALID_VALUE)}function Cg(e){const{path:n,locale:a,args:i,choice:o,plural:s}=e,u={},c=i||{};return $(a)&&(u.locale=a),ht(o)&&(u.plural=o),ht(s)&&(u.plural=s),[n,c,u]}function U9(e,n,...a){const i=be(a[0])?a[0]:{},o=!!i.useI18nComponentName,s=Me(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&o&&pt(Qt(st.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Ju.name})),s&&([o?"i18n":Ju.name,"I18nT"].forEach(u=>e.component(u,Ju)),[Dg.name,"I18nN"].forEach(u=>e.component(u,Dg)),[Ag.name,"I18nD"].forEach(u=>e.component(u,Ag))),e.directive("t",V9(n))}const $u={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},R9={["vue-i18n-resource-inspector"]:"Search for scopes ..."},Y9={["vue-i18n-timeline"]:16764185},xg="vue-i18n: composer properties";let ec;async function H9(e,n){return new Promise((a,i)=>{try{v9({id:"vue-devtools-plugin-vue-i18n",label:$u["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:[xg],app:e},o=>{ec=o,o.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{Q9(u,c,n)}),o.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&&Bg(c,u.vnode.el.__VUE_I18N__):Bg(c,u.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:$u["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:R9["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&Z9(u,n)});const s=new Map;o.on.getInspectorState(async u=>{if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),$9(u,n),u.nodeId==="global"){if(!s.has(u.app)){const[c]=await o.getComponentInstances(u.app);s.set(u.app,c)}o.highlightElement(s.get(u.app))}else{const c=J9(u.nodeId,n);c&&o.highlightElement(c)}}),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&t5(u,n)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:$u["vue-i18n-timeline"],color:Y9["vue-i18n-timeline"]}),a(!0)})}catch(o){console.error(o),i(!1)}})}function Mg(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function Q9(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 o={label:`i18n (${Mg(e)} Scope)`,textColor:0,backgroundColor:16764185};n.tags.push(o)}}function Bg(e,n){const a=xg;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:tc(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 tc(e){const n={};return Object.keys(e).forEach(a=>{const i=e[a];Ke(i)&&"source"in i?n[a]=K9(i):ma(i)&&i.loc&&i.loc.source?n[a]=i.loc.source:Ie(i)?n[a]=tc(i):n[a]=i}),n}const G9={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function W9(e){return e.replace(/[<>"&]/g,X9)}function X9(e){return G9[e]||e}function K9(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${W9(e.source)}")`:"(?)"}`}}}function Z9(e,n){e.rootNodes.push({id:"global",label:"Global Scope"});const a=n.mode==="composition"?n.global:n.global.__composer;for(const[i,o]of n.__instances){const s=n.mode==="composition"?o:o.__composer;a!==s&&e.rootNodes.push({id:s.id.toString(),label:`${Mg(i)} Scope`})}}function J9(e,n){let a=null;if(e!=="global"){for(const[i,o]of n.__instances.entries())if(o.id.toString()===e){a=i;break}}return a}function vg(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 $9(e,n){const a=vg(e.nodeId,n);return a&&(e.state=e5(a)),null}function e5(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 o="Locale messages info",s=[{type:o,key:"messages",editable:!1,value:tc(e.messages.value)}];n[o]=s;{const u="Datetime formats info",c=[{type:u,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];n[u]=c;const f="Datetime formats info",_=[{type:f,key:"numberFormats",editable:!1,value:e.numberFormats.value}];n[f]=_}return n}function Wr(e,n){if(ec){let a;n&&"groupId"in n&&(a=n.groupId,delete n.groupId),ec.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 t5(e,n){const a=vg(e.nodeId,n);if(a){const[i]=e.path;i==="locale"&&$(e.state.value)?a.locale.value=e.state.value:i==="fallbackLocale"&&($(e.state.value)||Je(e.state.value)||Ie(e.state.value))?a.fallbackLocale.value=e.state.value:i==="inheritLocale"&&Me(e.state.value)&&(a.inheritLocale=e.state.value)}}function a5(e,n,a){return{beforeCreate(){const i=t.getCurrentInstance();if(!i)throw yt(qe.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=n,this===this.$root)this.$i18n=jg(e,s);else{s.__injectWithOption=!0,s.__extender=a.__vueI18nExtend,this.$i18n=Ku(s);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=jg(e,o);else{this.$i18n=Ku({__i18n:o.__i18n,__injectWithOption:!0,__extender:a.__vueI18nExtend,__root:n});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&hg(n,o,o),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 o=this.__v_emitter=Nu();i.__enableEmitter&&i.__enableEmitter(o),o.on("*",Wr)}},unmounted(){const i=t.getCurrentInstance();if(!i)throw yt(qe.UNEXPECTED_ERROR);const o=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Wr),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__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,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),a.__deleteInstance(i),delete this.$i18n}}}function jg(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[fg](n.pluralizationRules||e.pluralizationRules);const a=ms(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 n5=Ka("global-vue-i18n");function i5(e={},n){const a=__VUE_I18N_LEGACY_API__&&Me(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,i=Me(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&a?!!e.allowComposition:!0,s=new Map,[u,c]=r5(e,a),f=Ka(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&a&&o&&pt(Qt(st.NOTICE_DROP_ALLOW_COMPOSITION));function _(F){return s.get(F)||null}function g(F,b){s.set(F,b)}function m(F){s.delete(F)}{const F={get mode(){return __VUE_I18N_LEGACY_API__&&a?"legacy":"composition"},get allowComposition(){return o},async install(b,...w){if(process.env.NODE_ENV!=="production"&&(b.__VUE_I18N__=F),b.__VUE_I18N_SYMBOL__=f,b.provide(b.__VUE_I18N_SYMBOL__,F),be(w[0])){const N=w[0];F.__composerExtend=N.__composerExtend,F.__vueI18nExtend=N.__vueI18nExtend}let C=null;!a&&i&&(C=g5(b,F.global)),__VUE_I18N_FULL_INSTALL__&&U9(b,F,...w),__VUE_I18N_LEGACY_API__&&a&&b.mixin(a5(c,c.__composer,F));const A=b.unmount;if(b.unmount=()=>{C&&C(),F.dispose(),A()},process.env.NODE_ENV!=="production"){if(!await H9(b,F))throw yt(qe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const S=Nu();if(a){const D=c;D.__enableEmitter&&D.__enableEmitter(S)}else{const D=c;D[hi]&&D[hi](S)}S.on("*",Wr)}},get global(){return c},dispose(){u.stop()},__instances:s,__getInstance:_,__setInstance:g,__deleteInstance:m};return F}}function ac(e={}){const n=t.getCurrentInstance();if(n==null)throw yt(qe.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw yt(qe.NOT_INSTALLED);const a=o5(n),i=l5(a),o=gg(n),s=s5(e,o);if(__VUE_I18N_LEGACY_API__&&a.mode==="legacy"&&!e.__useComponent){if(!a.allowComposition)throw yt(qe.NOT_AVAILABLE_IN_LEGACY_MODE);return f5(n,s,i,e)}if(s==="global")return hg(i,e,o),i;if(s==="parent"){let f=u5(a,n,e.__useComponent);return f==null&&(process.env.NODE_ENV!=="production"&&pt(Qt(st.NOT_FOUND_PARENT_SCOPE)),f=i),f}const u=a;let c=u.__getInstance(n);if(c==null){const f=Bt({},e);"__i18n"in o&&(f.__i18n=o.__i18n),i&&(f.__root=i),c=Xu(f),u.__composerExtend&&(c[Wu]=u.__composerExtend(c)),d5(u,n,c),u.__setInstance(n,c)}return c}function r5(e,n,a){const i=t.effectScope();{const o=__VUE_I18N_LEGACY_API__&&n?i.run(()=>Ku(e)):i.run(()=>Xu(e));if(o==null)throw yt(qe.UNEXPECTED_ERROR);return[i,o]}}function o5(e){{const n=t.inject(e.isCE?n5:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw yt(e.isCE?qe.NOT_INSTALLED_WITH_PROVIDE:qe.UNEXPECTED_ERROR);return n}}function s5(e,n){return os(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function l5(e){return e.mode==="composition"?e.global:e.global.__composer}function u5(e,n,a=!1){let i=null;const o=n.root;let s=c5(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[_g]&&(i=null))}if(i!=null||o===s)break;s=s.parent}return i}function c5(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function d5(e,n,a){let i=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=a,i=Nu();const o=a;o[hi]&&o[hi](i),i.on("*",Wr)}},n),t.onUnmounted(()=>{const o=a;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(i&&i.off("*",Wr),o[Qr]&&o[Qr](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const s=o[Wu];s&&(s(),delete o[Wu])},n)}function f5(e,n,a,i={}){const o=n==="local",s=t.shallowRef(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw yt(qe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=Me(i.inheritLocale)?i.inheritLocale:!$(i.locale),c=t.ref(!o||u?a.locale.value:$(i.locale)?i.locale:Gi),f=t.ref(!o||u?a.fallbackLocale.value:$(i.fallbackLocale)||Je(i.fallbackLocale)||be(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:c.value),_=t.ref(ms(c.value,i)),g=t.ref(be(i.datetimeFormats)?i.datetimeFormats:{[c.value]:{}}),m=t.ref(be(i.numberFormats)?i.numberFormats:{[c.value]:{}}),F=o?a.missingWarn:Me(i.missingWarn)||Ln(i.missingWarn)?i.missingWarn:!0,b=o?a.fallbackWarn:Me(i.fallbackWarn)||Ln(i.fallbackWarn)?i.fallbackWarn:!0,w=o?a.fallbackRoot:Me(i.fallbackRoot)?i.fallbackRoot:!0,C=!!i.fallbackFormat,A=Ke(i.missing)?i.missing:null,N=Ke(i.postTranslation)?i.postTranslation:null,S=o?a.warnHtmlMessage:Me(i.warnHtmlMessage)?i.warnHtmlMessage:!0,D=!!i.escapeParameter,x=o?a.modifiers:be(i.modifiers)?i.modifiers:{},q=i.pluralRules||o&&a.pluralRules;function T(){return[c.value,f.value,_.value,g.value,m.value]}const P=t.computed({get:()=>s.value?s.value.locale.value:c.value,set:K=>{s.value&&(s.value.locale.value=K),c.value=K}}),L=t.computed({get:()=>s.value?s.value.fallbackLocale.value:f.value,set:K=>{s.value&&(s.value.fallbackLocale.value=K),f.value=K}}),O=t.computed(()=>s.value?s.value.messages.value:_.value),ne=t.computed(()=>g.value),_e=t.computed(()=>m.value);function ie(){return s.value?s.value.getPostTranslationHandler():N}function de(K){s.value&&s.value.setPostTranslationHandler(K)}function Ce(){return s.value?s.value.getMissingHandler():A}function we(K){s.value&&s.value.setMissingHandler(K)}function pe(K){return T(),K()}function Ae(...K){return s.value?pe(()=>Reflect.apply(s.value.t,null,[...K])):pe(()=>"")}function ee(...K){return s.value?Reflect.apply(s.value.rt,null,[...K]):""}function Re(...K){return s.value?pe(()=>Reflect.apply(s.value.d,null,[...K])):pe(()=>"")}function Et(...K){return s.value?pe(()=>Reflect.apply(s.value.n,null,[...K])):pe(()=>"")}function dt(K){return s.value?s.value.tm(K):{}}function Ct(K,je){return s.value?s.value.te(K,je):!1}function lt(K){return s.value?s.value.getLocaleMessage(K):{}}function ft(K,je){s.value&&(s.value.setLocaleMessage(K,je),_.value[K]=je)}function jt(K,je){s.value&&s.value.mergeLocaleMessage(K,je)}function ia(K){return s.value?s.value.getDateTimeFormat(K):{}}function $e(K,je){s.value&&(s.value.setDateTimeFormat(K,je),g.value[K]=je)}function ra(K,je){s.value&&s.value.mergeDateTimeFormat(K,je)}function Ot(K){return s.value?s.value.getNumberFormat(K):{}}function oa(K,je){s.value&&(s.value.setNumberFormat(K,je),m.value[K]=je)}function Xt(K,je){s.value&&s.value.mergeNumberFormat(K,je)}const Vt={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:L,messages:O,datetimeFormats:ne,numberFormats:_e,get inheritLocale(){return s.value?s.value.inheritLocale:u},set inheritLocale(K){s.value&&(s.value.inheritLocale=K)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(_.value)},get modifiers(){return s.value?s.value.modifiers:x},get pluralRules(){return s.value?s.value.pluralRules:q},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:F},set missingWarn(K){s.value&&(s.value.missingWarn=K)},get fallbackWarn(){return s.value?s.value.fallbackWarn:b},set fallbackWarn(K){s.value&&(s.value.missingWarn=K)},get fallbackRoot(){return s.value?s.value.fallbackRoot:w},set fallbackRoot(K){s.value&&(s.value.fallbackRoot=K)},get fallbackFormat(){return s.value?s.value.fallbackFormat:C},set fallbackFormat(K){s.value&&(s.value.fallbackFormat=K)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:S},set warnHtmlMessage(K){s.value&&(s.value.warnHtmlMessage=K)},get escapeParameter(){return s.value?s.value.escapeParameter:D},set escapeParameter(K){s.value&&(s.value.escapeParameter=K)},t:Ae,getPostTranslationHandler:ie,setPostTranslationHandler:de,getMissingHandler:Ce,setMissingHandler:we,rt:ee,d:Re,n:Et,tm:dt,te:Ct,getLocaleMessage:lt,setLocaleMessage:ft,mergeLocaleMessage:jt,getDateTimeFormat:ia,setDateTimeFormat:$e,mergeDateTimeFormat:ra,getNumberFormat:Ot,setNumberFormat:oa,mergeNumberFormat:Xt};function Wn(K){K.locale.value=c.value,K.fallbackLocale.value=f.value,Object.keys(_.value).forEach(je=>{K.mergeLocaleMessage(je,_.value[je])}),Object.keys(g.value).forEach(je=>{K.mergeDateTimeFormat(je,g.value[je])}),Object.keys(m.value).forEach(je=>{K.mergeNumberFormat(je,m.value[je])}),K.escapeParameter=D,K.fallbackFormat=C,K.fallbackRoot=w,K.fallbackWarn=b,K.missingWarn=F,K.warnHtmlMessage=S}return t.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw yt(qe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const K=s.value=e.proxy.$i18n.__composer;n==="global"?(c.value=K.locale.value,f.value=K.fallbackLocale.value,_.value=K.messages.value,g.value=K.datetimeFormats.value,m.value=K.numberFormats.value):o&&Wn(K)}),Vt}const _5=["locale","fallbackLocale","availableLocales"],Ng=["t","rt","d","n","tm","te"];function g5(e,n){const a=Object.create(null);return _5.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s)throw yt(qe.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,o,u)}),e.config.globalProperties.$i18n=a,Ng.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s||!s.value)throw yt(qe.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Ng.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(N9(),__INTLIFY_JIT_COMPILATION__?O_(F9):O_(m9),l9(UD),u9(N_),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=mn();e.__INTLIFY__=!0,ZD(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const h5={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"}},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"},m5={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"}},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"},Sg={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"}},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"},F5=Object.assign({en:h5,es:m5,"pt-br":Sg,"pt-BR":Sg}),Fs=i5({locale:"en",fallbackLocale:"en",messages:F5}),Wt={props:{locale:{type:String},translations:{type:Object}},methods:{i18n(...e){const[n,a]=e,i=Object.keys(Fs.global.messages);let{locale:o}=this;const s=Ia.get(Fs,"global.locale")==="en-us"?"en":Ia.get(Fs,"global.locale");o=i.includes(o)?o:s,o=o==null?void 0:o.toLowerCase();let u=Ia.get(this.translations,`${n}.${o}`,Ia.get(this.translations,n));if(u||(u=Ia.get(Ia.get(this.defaultTranslations,n),o,a)),u!=null&&u.includes("|")&&typeof e[1]=="number"){const f=e[1],_=u.split("|");_.length===3?u=_[f]||_[2]:_.length===2&&(u=f===1?_[0]:_[1])}let c={};return Object.values(e).slice(1).forEach(f=>{!(f instanceof Array)&&f instanceof Object&&(c=f)}),Object.keys(c).forEach(f=>{u=u==null?void 0:u.replaceAll(new RegExp(`{ *${f} *}`,"g"),c[f])}),u}}},vZ="",p5={name:"IconLoading",components:{UnnnicIcon:te},props:{scheme:{type:String,default:"neutral-dark"},size:{type:String,default:"lg"}}};function b5(e,n,a,i,o,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 mi=V(p5,[["render",b5],["__scopeId","data-v-97257015"]]),y5=["disabled"],w5=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),o=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"}[f.value]||"neutral-white"),c=t.computed(()=>n.size==="large"||!n.float&&n.size==="small"||n.float&&n.size==="extra-large"),f=t.computed(()=>({alternative:"tertiary"})[n.type]||n.type),_=t.computed(()=>["primary","secondary","tertiary","warning","attention"].includes(f.value)),g=()=>{if(!c.value||!_.value){let m="TypeError:";throw c.value||(m+=" Invalid size prop.",m+=" Please provide 'large', 'small' (only if float prop is false), or 'extra-large' (only if float prop is true)."),_.value||(m+=" Invalid type prop.",m+=" Please provide one of the following types: primary, secondary, tertiary, warning, attention. Alternative is discontinued and it was forced renamed to tertiary."),new Error(m)}};return t.watch(()=>n,()=>{g()},{deep:!0,immediate:!0}),(m,F)=>(t.openBlock(),t.createElementBlock("button",t.mergeProps(m.$attrs,{disabled:i.value,class:["unnnic-button",`unnnic-button--size-${m.size}`,`unnnic-button--${f.value}`,m.iconCenter?"unnnic-button--icon-on-center":null,m.float?"unnnic-button--float":null]}),[m.loading?(t.openBlock(),t.createBlock(mi,{key:0,scheme:u.value,size:o.value,style:{position:"absolute"},"data-testid":"icon-loading"},null,8,["scheme","size"])):t.createCommentVNode("",!0),m.iconLeft?(t.openBlock(),t.createBlock(te,{key:1,icon:m.iconLeft,scheme:u.value,size:o.value,filled:m.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-left":s.value}),style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),clickable:"","data-testid":"icon-left"},null,8,["icon","scheme","size","filled","class","style"])):t.createCommentVNode("",!0),m.iconCenter?(t.openBlock(),t.createBlock(te,{key:2,icon:m.iconCenter,scheme:u.value,style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),size:o.value,filled:m.iconsFilled,clickable:"","data-testid":"icon-center"},null,8,["icon","scheme","style","size","filled"])):t.createCommentVNode("",!0),m.float?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:3,class:"unnnic-button__label",style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),"data-testid":"button-label"},[t.renderSlot(m.$slots,"default",{},void 0,!0),t.createTextVNode(" "+t.toDisplayString(m.text),1)],4)),m.iconRight?(t.openBlock(),t.createBlock(te,{key:4,icon:m.iconRight,scheme:u.value,size:o.value,filled:m.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-right":s.value}),style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),clickable:"","data-testid":"icon-right"},null,8,["icon","scheme","size","filled","class","style"])):t.createCommentVNode("",!0)],16,y5))}}),jZ="",NZ="",SZ="",vt=V(w5,[["__scopeId","data-v-aadba593"]]),TZ="",k5={components:{UnnnicButton:vt},mixins:[Wt],props:{initialStartDate:{type:String,default:""},initialEndDate:{type:String,default:""},minDate:{type:String,default:""},maxDate:{type:String,default:""},equivalentOption:{type:String,default:""},type:{type:String,default:"day",validator(e){return["day","month","year"].includes(e)}},size:{type:String,default:"large",validator(e){return["small","large"].includes(e)}},clearLabel:{type:String,default:""},actionLabel:{type:String,default:""},months:{type:Array,default:()=>[],validator(e){return[0,12].includes(e.length)}},days:{type:Array,default:()=>[],validator(e){return[0,7].includes(e.length)}},options:{type:Array,default:()=>[]},disableClear:{type:Boolean,default:!1}},emits:["change","submit","update:equivalentOption"],data(){const e=new Date;return{referenceDate:`${e.getMonth()+1} 1 ${e.getFullYear()}`,startDate:(this.initialStartDate||"").replace(/-/g," "),endDate:(this.initialEndDate||"").replace(/-/g," "),optionSelected:"",defaultTranslations:{clean:{"pt-br":"Limpar",en:"Clean",es:"Limpiar"},filter:{"pt-br":"Filtrar",en:"Filter",es:"Filtrar"}}}},computed:{openMonths(){return[this.addMonth(this.referenceDate,-1),this.referenceDate]},value(){return{startDate:this.startDate.replaceAll(" ","-"),endDate:this.endDate.replaceAll(" ","-")}},i18nLocale(){return this.$i18n.locale.toLowerCase()},monthsLocale(){const{months:e}=this;return e.length?e:Ok[this.i18nLocale]},daysLocale(){const{days:e}=this;return e.length?e:Lk[this.i18nLocale]},periodsLocale(){const{options:e}=this;return e.length?e:zk[this.i18nLocale]},clearText(){return this.clearLabel||is[this.i18nLocale].clear},filterText(){return this.actionLabel||is[this.i18nLocale].filter}},watch:{value(){this.updateOptionSelected(),this.$emit("change",this.value)}},mounted(){this.updateOptionSelected()},methods:{submit(){var e;this.$emit("submit",this.value),this.optionSelected==="custom"?this.$emit("update:equivalentOption",""):this.$emit("update:equivalentOption",((e=this.periodsLocale.find(({id:n})=>n===this.optionSelected))==null?void 0:e.name)||"")},updateOptionSelected(){const{startDate:e,endDate:n}=this.value;function a(o,s){return new Date(o).getTime()===new Date(s).getTime()}const i=this.periodsLocale.find(({id:o})=>{const{startDate:s,endDate:u}=this.getStartAndEndDateByPeriod(o);return a(e,s)&&a(n,u)});this.optionSelected=e||n?i?i.id:"custom":""},dateToString(e){return`${e.getMonth()+1} ${e.getDate()} ${e.getFullYear()}`},dateToStringMonth(e){return`${e.getMonth()+1} ${e.getFullYear()}`},dateToStringYear(e){return e.getFullYear()},stringToTime(e){const[n,a,i]=e.split(" ");return new Date(i,Number(n)-1,a).getTime()},getDate(e){return e.toString().split(" ")[1]},getMonth(e){return e.toString().split(" ")[0]},getFullYear(e){const[n,a,i]=e.split(" ");return new Date(i,Number(n)-1,a).getFullYear()},addMonth(e,n){const[a,i,o]=e.split(" "),s=new Date(o,Number(a)-1,i);return s.setMonth(s.getMonth()+n),this.dateToString(s)},isDateBetween(e){if(this.startDate&&this.endDate){if(e>=this.stringToTime(this.startDate)&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=this.stringToTime(this.startDate))return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},isDateBetweenMonth(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setDate(1);const s=o.getTime();if(this.startDate&&this.endDate){if(e>=s&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=s)return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},isDateBetweenYear(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setDate(1),o.setMonth(0);const s=o.getTime();if(this.startDate&&this.endDate){if(e>=s&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=s)return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},getDatesOfTheMonth(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a),s=o.getMonth(),u=86400;o.setDate(1-o.getDay());const c=[];for(let f=0;f<6*7;f+=1){const _=this.dateToString(o),g=[];if(this.minDate){const[m,F,b]=this.minDate.split("-"),w=new Date(m,Number(F)-1,b);o<w&&g.push("out of range")}if(this.maxDate){const[m,F,b]=this.maxDate.split("-"),w=new Date(m,Number(F)-1,b);o>w&&g.push("out of range")}if(s===o.getMonth()){g.push("inside month");const m=this.stringToTime(this.dateToString(o)),F=m-u,b=m+u;this.isDateBetween(m)&&(g.push("selected"),this.isDateBetween(F)||g.push("left-highlighted"),this.isDateBetween(b)||g.push("right-highlighted"),(g.includes("left-highlighted")||g.includes("right-highlighted"))&&g.push("highlighted"))}this.dateToString(o)===this.dateToString(new Date)&&g.push("today"),c.push({properties:g,toString:()=>_}),o.setDate(o.getDate()+1)}return c},getMonthsOfTheYear(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setMonth(0);const s=[];for(let u=0;u<3*4;u+=1){const c=this.dateToString(o),f=[];f.push("inside month");const _=this.stringToTime(this.dateToString(o));let g=new Date(_),m=new Date(_);g.setMonth(g.getMonth()-1),m.setMonth(m.getMonth()+1),g=g.getTime(),m=m.getTime(),this.isDateBetweenMonth(_)&&(f.push("selected"),this.isDateBetweenMonth(g)||f.push("left-highlighted"),this.isDateBetweenMonth(m)||f.push("right-highlighted"),(f.includes("left-highlighted")||f.includes("right-highlighted"))&&f.push("highlighted")),this.dateToStringMonth(o)===this.dateToStringMonth(new Date)&&f.push("today"),s.push({properties:f,date:c,toString:()=>c}),o.setMonth(o.getMonth()+1)}return s},getYears(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setMonth(0);const s=[];for(let u=0;u<3*4;u+=1){const c=this.dateToString(o),f=[];f.push("inside month");const _=this.stringToTime(this.dateToString(o)),[g,m,F]=e.split(" ");let b=new Date(F,Number(g)-1,m),w=new Date(F,Number(g)-1,m);b.setMonth(b.getMonth()-12),w.setMonth(w.getMonth()+12),b=b.getTime(),w=w.getTime(),this.isDateBetweenYear(_)&&(f.push("selected"),this.isDateBetweenYear(b)||f.push("left-highlighted"),this.isDateBetweenYear(w)||f.push("right-highlighted"),(f.includes("left-highlighted")||f.includes("right-highlighted"))&&f.push("highlighted")),this.dateToStringYear(o)===this.dateToStringYear(new Date)&&f.push("today"),s.push({properties:f,date:o.getFullYear(),toString:()=>c}),o.setFullYear(o.getFullYear()+1)}return s},selectDate(e){if(!this.startDate||!this.endDate)this.startDate=e.toString(),this.endDate=this.startDate;else{const n=this.stringToTime(e.toString()),a=this.stringToTime(this.startDate),i=this.stringToTime(this.endDate);a!==i?(this.startDate=e.toString(),this.endDate=this.startDate):n>i?this.endDate=e.toString():n<a?this.startDate=e.toString():n===a||n===i?(this.startDate=e.toString(),this.endDate=this.startDate):n-a<i-n?this.startDate=e.toString():this.endDate=e.toString()}},clear(){this.startDate="",this.endDate="",this.optionSelected=""},getStartAndEndDateByPeriod(e){let n,a;const i=new Date,o=e.match(/^last-(\d+)-days$/),s=e.match(/^last-(\d+)-months$/);if(o){const u=Number(o[1]);a=this.dateToString(i),i.setDate(i.getDate()-u+1),n=this.dateToString(i)}else if(s){const u=Number(s[1]);a=this.dateToString(i),i.setDate(i.getDate()+1),i.setMonth(i.getMonth()-u),n=this.dateToString(i)}else if(e==="current-month"){const u=new Date;i.setDate(1),n=this.dateToString(i);const c=u.getDate();i.setDate(c),a=this.dateToString(i)}else e==="previous-month"&&(i.setDate(1),i.setMonth(i.getMonth()-1),n=this.dateToString(i),i.setMonth(i.getMonth()+1),i.setDate(0),a=this.dateToString(i));return{startDate:n,endDate:a}},autoSelect(e){const{startDate:n,endDate:a}=this.getStartAndEndDateByPeriod(e);if(this.startDate=n,this.endDate=a,this.endDate){const i=this.addMonth(this.referenceDate,1),o=`${Number(this.getMonth(this.endDate))} 1 ${this.getFullYear(this.endDate)}`;[this.referenceDate,i].includes(o)||(this.referenceDate=o)}this.$nextTick(()=>{this.optionSelected=e})}}},D5={class:"unnnic-date-picker"},A5={class:"month-container"},E5=["onClick"],C5={class:"month-container"},x5=["onClick"],M5={class:"month-container"},B5=["onClick"],v5={key:3,class:"options-container"},j5={class:"options"},N5=["onClick"],S5={class:"actions"};function T5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",D5,[a.type==="day"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(s.openMonths,(c,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",A5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:`keyboard_arrow_${f===0?"left":"right"}`,type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:t.normalizeStyle({gridArea:`${f===0?"left":"right"}-button`}),onClick:t.withModifiers(_=>o.referenceDate=s.addMonth(o.referenceDate,f===0?-1:1),["stop"])},null,8,["iconCenter","type","style","onClick"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.monthsLocale[Number(s.getMonth(c))-1])+" "+t.toDisplayString(s.getFullYear(c)),3)],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`days--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.daysLocale,(_,g)=>(t.openBlock(),t.createElementBlock("div",{key:g,class:"name"},t.toDisplayString(_),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getDatesOfTheMonth(c),(_,g)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${g}`,class:t.normalizeClass({disabled:!_.properties.includes("inside month")||_.properties.includes("out of range"),selectable:_.properties.includes("inside month")&&!_.properties.includes("out of range"),today:_.properties.includes("today"),selected:_.properties.includes("selected"),highlighted:_.properties.includes("highlighted"),left:_.properties.includes("left-highlighted"),right:_.properties.includes("right-highlighted")}),onClick:m=>_.properties.includes("inside month")&&!_.properties.includes("out of range")&&s.selectDate(_)},t.toDisplayString(s.getDate(_)),11,E5))),128))],2)]),n[4]||(n[4]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):a.type==="month"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList([o.referenceDate],c=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",C5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:"keyboard_arrow_left",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},onClick:n[0]||(n[0]=f=>o.referenceDate=s.addMonth(o.referenceDate,-12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.getFullYear(c)),3),t.createVNode(u,{size:"small",iconCenter:"keyboard_arrow_right",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},onClick:n[1]||(n[1]=f=>o.referenceDate=s.addMonth(o.referenceDate,12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getMonthsOfTheYear(c),(f,_)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${_}`,class:t.normalizeClass({disabled:!f.properties.includes("inside month"),selectable:f.properties.includes("inside month"),today:f.properties.includes("today"),selected:f.properties.includes("selected"),highlighted:f.properties.includes("highlighted"),left:f.properties.includes("left-highlighted"),right:f.properties.includes("right-highlighted")}),onClick:g=>f.properties.includes("inside month")&&s.selectDate(f)},t.toDisplayString(s.monthsLocale[s.getMonth(f)].substr(0,3)),11,x5))),128))],2)]),n[5]||(n[5]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):a.type==="year"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList([o.referenceDate],c=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",M5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:"arrow-left-1-1",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},onClick:n[2]||(n[2]=f=>o.referenceDate=s.addMonth(o.referenceDate,-12*12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.getFullYear(c)),3),t.createVNode(u,{size:"small",iconCenter:"arrow-right-1-1",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},onClick:n[3]||(n[3]=f=>o.referenceDate=s.addMonth(o.referenceDate,12*12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getYears(c),(f,_)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${_}`,class:t.normalizeClass({disabled:!f.properties.includes("inside month"),selectable:f.properties.includes("inside month"),today:f.properties.includes("today"),selected:f.properties.includes("selected"),highlighted:f.properties.includes("highlighted"),left:f.properties.includes("left-highlighted"),right:f.properties.includes("right-highlighted")}),onClick:g=>f.properties.includes("inside month")&&s.selectDate(f)},t.toDisplayString(f.date),11,B5))),128))],2)]),n[6]||(n[6]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):t.createCommentVNode("",!0),a.size!=="small"?(t.openBlock(),t.createElementBlock("div",v5,[t.createElementVNode("div",j5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.periodsLocale,(c,f)=>(t.openBlock(),t.createElementBlock("div",{key:f,class:t.normalizeClass(["option",{selectable:c.id!=="custom",selected:o.optionSelected===c.id}]),onClick:_=>c.id==="custom"?null:s.autoSelect(c.id)},t.toDisplayString(c.name),11,N5))),128))]),t.createElementVNode("div",S5,[a.disableClear?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(u,{key:0,size:"small",text:s.clearText,type:"tertiary",onClick:s.clear},null,8,["text","onClick"])),t.createVNode(u,{size:"small",text:s.filterText,type:"secondary",onClick:s.submit},null,8,["text","onClick"])])])):t.createCommentVNode("",!0)])}const ps=V(k5,[["render",T5],["__scopeId","data-v-546e8a09"]]),IZ="",I5={components:{UnnnicInput:Ti,UnnnicDatePicker:ps},model:{event:"changed"},props:{modelValue:{type:Object,required:!0},iconPosition:{type:String,default:"left",validator(e){return["left","right"].includes(e)}},minDate:{type:String,default:""},maxDate:{type:String,default:""},fillW:{type:Boolean,default:!1},type:{type:String,default:"day"},size:{type:String,default:"md"},clearText:{type:String,default:"Clear"},actionText:{type:String,default:"Filter"},months:{type:Array,default:()=>[]},days:{type:Array,default:()=>[]},options:{type:Array,default:()=>[]},next:{type:Boolean,default:!1},format:{type:String,default:"YYYY-MM-DD"},inputFormat:{type:String,default:"MM-DD-YYYY"},position:{type:String,default:"left"},disableClear:{type:Boolean,default:!1}},emits:["update:model-value","selectDate"],data(){return{showCalendarFilter:!1,overwrittenValue:""}},computed:{filterText(){var n,a,i,o;const e=[];return(n=this.modelValue)!=null&&n.start&&e.push(J((a=this.modelValue)==null?void 0:a.start,this.format).format(this.inputFormat)),(i=this.modelValue)!=null&&i.end&&e.push(J((o=this.modelValue)==null?void 0:o.end,this.format).format(this.inputFormat)),e.length?e.join(" ~ "):String(this.inputFormat).replaceAll("-","/").toLowerCase()},initialStartDate(){return this.modelValue.start?J(this.modelValue.start,this.format).format("MM DD YYYY"):null},initialEndDate(){return this.modelValue.end?J(this.modelValue.end,this.format).format("MM DD YYYY"):null}},mounted(){window.document.body.addEventListener("click",this.mouseout)},beforeUnmount(){window.document.body.removeEventListener("click",this.mouseout)},methods:{emitSelectDate(e){const{startDate:n,endDate:a}=e,i={start:J(n,"MM-DD-YYYY").format(this.format),end:J(a,"MM-DD-YYYY").format(this.format)};this.$emit("selectDate",i)},mouseout(e){var n;(n=this.$refs.dropdown)!=null&&n.contains(e.target)||(this.showCalendarFilter=!1)},changeDate(e){const n=e.startDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2"),a=e.endDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2");this.showCalendarFilter=!1,this.$emit("update:model-value",{start:n?J(n,"YYYY-MM-DD").format(this.format):null,end:a?J(a,"YYYY-MM-DD").format(this.format):null})}}};function O5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicInput"),c=t.resolveComponent("UnnnicDatePicker");return t.openBlock(),t.createElementBlock("div",{ref:"dropdown",class:t.normalizeClass(["dropdown",{active:o.showCalendarFilter,"fill-w":a.fillW}])},[t.createVNode(u,{class:t.normalizeClass(["input",{"date-picker-input-next":a.next}]),size:a.size,iconLeft:a.iconPosition==="left"&&"calendar_month",iconRight:a.iconPosition==="right"&&"calendar_month",hasCloudyColor:"",readonly:"",modelValue:o.overwrittenValue||s.filterText,onFocus:n[0]||(n[0]=f=>o.showCalendarFilter=!0)},null,8,["class","size","iconLeft","iconRight","modelValue"]),t.createElementVNode("div",{class:"dropdown-data",style:t.normalizeStyle({[a.position]:"0"})},[o.showCalendarFilter?(t.openBlock(),t.createBlock(c,{key:0,equivalentOption:o.overwrittenValue,"onUpdate:equivalentOption":n[1]||(n[1]=f=>o.overwrittenValue=f),type:a.type,clearLabel:a.clearText,actionLabel:a.actionText,months:a.months,days:a.days,options:a.options,initialStartDate:s.initialStartDate,initialEndDate:s.initialEndDate,minDate:a.minDate,maxDate:a.maxDate,disableClear:a.disableClear,onChange:s.emitSelectDate,onSubmit:s.changeDate},null,8,["equivalentOption","type","clearLabel","actionLabel","months","days","options","initialStartDate","initialEndDate","minDate","maxDate","disableClear","onChange","onSubmit"])):t.createCommentVNode("",!0)],4)],2)}const nc=V(I5,[["render",O5],["__scopeId","data-v-d2a4c41c"]]),OZ="",L5={components:{UnnnicIcon:te},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 z5(e,n,a,i,o,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 ic=V(L5,[["render",z5],["__scopeId","data-v-46ae4cf4"]]),rc=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(rc),!0},q5=e=>{if(!(e!=null&&e[0]))throw new Error("Items property cannot be an empty array.");return e.forEach(rc),!0},LZ="",P5=["title"],V5={key:0,class:"unnnic-sidebar-item-children"},U5=["onClick"],R5=["title"],bs=V(Object.assign({name:"UnnnicSidebarItem"},{props:{item:{type:Object,required:!0,validator:rc},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:m}=a.active;typeof g=="number"&&g>=0&&m&&s()});const i=t.computed(()=>{var g;return!!((g=a.item.children)!=null&&g.length)}),o=t.ref(!1),s=()=>{o.value=!o.value,o.value&&a.autoNavigateFirstChild&&_("navigate",{item:a.item,child:a.item.children[0]})},u=g=>{const{item:m,childIndex:F}=a.active;return typeof F!="number"?m:m&&F===g},c=()=>{i.value?s():f()},f=()=>{a.active.item||_("navigate",{item:a.item,child:null})},_=n;return(g,m)=>{var F;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(te,{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,P5),(F=e.item.children)!=null&&F.length?(t.openBlock(),t.createBlock(te,{key:1,class:"unnnic-sidebar-item__arrow",icon:o.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(()=>[o.value?(t.openBlock(),t.createElementBlock("ul",V5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.item.children,(b,w)=>(t.openBlock(),t.createElementBlock("li",{key:b,class:t.normalizeClass({"unnnic-sidebar-item-child":!0,active:u(w)}),"data-testid":"sidebar-item-child",onClick:t.withModifiers(C=>!u(w)&&_("navigate",{item:e.item,child:b}),["stop"])},[b.icon?(t.openBlock(),t.createBlock(te,{key:0,class:"unnnic-sidebar-item-child__icon",icon:b.icon,size:"ant",scheme:u(w)?"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(w)}),title:b.label},t.toDisplayString(b.label),11,R5)],10,U5))),128))])):t.createCommentVNode("",!0)]),_:1})],64)}}}),[["__scopeId","data-v-418b1f69"]]),PZ="",Y5={class:"unnnic-sidebar-items"},oc=V(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:q5},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,o=({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",Y5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(c,f)=>(t.openBlock(),t.createElementBlock("li",{key:c},[t.createVNode(bs,{item:c,active:{item:e.active.itemIndex===f,childIndex:e.active.childIndex},autoNavigateFirstChild:e.autoNavigateFirstChild,"data-testid":"sidebar-item",onNavigate:u[0]||(u[0]=_=>o(_))},null,8,["item","active","autoNavigateFirstChild"])]))),128))]),t.renderSlot(s.$slots,"bottom",{class:"unnnic-sidebar-bottom"},void 0,!0)],2))}}),[["__scopeId","data-v-7bdf478e"]]),RZ="",H5={name:"UnnnicTable",components:{},props:{items:{type:Array}},data(){return{value:!1}},computed:{}},Q5={class:"unnnic-table"},G5={class:"header"},W5={class:"scroll"};function X5(e,n,a,i,o,s){return t.withDirectives((t.openBlock(),t.createElementBlock("div",Q5,[t.createElementVNode("div",G5,[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",W5,[(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 sc=V(H5,[["render",X5],["__scopeId","data-v-b2229274"]]),YZ="",HZ="",K5={name:"UnnnicTableRow",props:{headers:{type:Array}},data(){return{}}},Z5={class:"table-row"},J5={class:"break-text"};function $5(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",Z5,[(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",J5,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 lc=V(K5,[["render",$5],["__scopeId","data-v-cb0c6b93"]]);function Tg(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Xr(e){return typeof e=="function"?e():t.unref(e)}const Ig=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const e8=Object.prototype.toString,t8=e=>e8.call(e)==="[object Object]",Kr=()=>{},uc=a8();function a8(){var e,n;return Ig&&((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 Og={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function n8(...e){if(e.length!==1)return t.toRef(...e);const n=e[0];return typeof n=="function"?t.readonly(t.customRef(()=>({get:n,set:Kr}))):t.ref(n)}function Zr(e){var n;const a=Xr(e);return(n=a==null?void 0:a.$el)!=null?n:a}const Lg=Ig?window:void 0;function ys(...e){let n,a,i,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,o]=e,n=Lg):[n,a,i,o]=e,!n)return Kr;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const s=[],u=()=>{s.forEach(g=>g()),s.length=0},c=(g,m,F,b)=>(g.addEventListener(m,F,b),()=>g.removeEventListener(m,F,b)),f=t.watch(()=>[Zr(n),Xr(o)],([g,m])=>{if(u(),!g)return;const F=t8(m)?{...m}:m;s.push(...a.flatMap(b=>i.map(w=>c(g,b,w,F))))},{immediate:!0,flush:"post"}),_=()=>{f(),u()};return Tg(_),_}let zg=!1;function qg(e,n,a={}){const{window:i=Lg,ignore:o=[],capture:s=!0,detectIframe:u=!1}=a;if(!i)return Kr;uc&&!zg&&(zg=!0,Array.from(i.document.body.children).forEach(F=>F.addEventListener("click",Kr)),i.document.documentElement.addEventListener("click",Kr));let c=!0;const f=F=>o.some(b=>{if(typeof b=="string")return Array.from(i.document.querySelectorAll(b)).some(w=>w===F.target||F.composedPath().includes(w));{const w=Zr(b);return w&&(F.target===w||F.composedPath().includes(w))}}),g=[ys(i,"click",F=>{const b=Zr(e);if(!(!b||b===F.target||F.composedPath().includes(b))){if(F.detail===0&&(c=!f(F)),!c){c=!0;return}n(F)}},{passive:!0,capture:s}),ys(i,"pointerdown",F=>{const b=Zr(e);c=!f(F)&&!!(b&&!F.composedPath().includes(b))},{passive:!0}),u&&ys(i,"blur",F=>{setTimeout(()=>{var b;const w=Zr(e);((b=i.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!(w!=null&&w.contains(i.document.activeElement))&&n(F)},0)})].filter(Boolean);return()=>g.forEach(F=>F())}const Jr={[Og.mounted](e,n){const a=!n.modifiers.bubble;if(typeof n.value=="function")e.__onClickOutside_stop=qg(e,n.value,{capture:a});else{const[i,o]=n.value;e.__onClickOutside_stop=qg(e,i,Object.assign({capture:a},o))}},[Og.unmounted](e){e.__onClickOutside_stop()}};function cc(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Pg(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:Pg(a)}}function i8(e){const n=e||window.event,a=n.target;return Pg(a)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const dc=new WeakMap;function r8(e,n=!1){const a=t.ref(n);let i=null,o="";t.watch(n8(e),c=>{const f=cc(Xr(c));if(f){const _=f;if(dc.get(_)||dc.set(_,_.style.overflow),_.style.overflow!=="hidden"&&(o=_.style.overflow),_.style.overflow==="hidden")return a.value=!0;if(a.value)return _.style.overflow="hidden"}},{immediate:!0});const s=()=>{const c=cc(Xr(e));!c||a.value||(uc&&(i=ys(c,"touchmove",f=>{i8(f)},{passive:!1})),c.style.overflow="hidden",a.value=!0)},u=()=>{const c=cc(Xr(e));!c||!a.value||(uc&&(i==null||i()),c.style.overflow=o,dc.delete(c),a.value=!1)};return Tg(u),t.computed({get(){return a.value},set(c){c?s():u()}})}function o8(){let e=!1;const n=t.ref(!1);return(a,i)=>{if(n.value=i.value,e)return;e=!0;const o=r8(a,i.value);t.watch(n,s=>o.value=s)}}o8();const QZ="",s8={name:"UnnnicDropdown",directives:{onClickOutside:Jr},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)}}}},l8={class:"unnnic-dropdown__trigger"};function u8(e,n,a,i,o,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",l8,[t.renderSlot(e.$slots,"trigger",{},void 0,!0),(a.useOpenProp?a.open:o.active)?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:0,"data-testid":"dropdown-content",class:t.normalizeClass(["unnnic-dropdown__content",a.useOpenProp?a.open:o.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 $r=V(s8,[["render",u8],["__scopeId","data-v-eb4f06f5"]]),GZ="",c8={name:"UnnnicDropdownItem"},d8={class:"unnnic-dropdown-item unnnic--clickable","data-testid":"dropdown-item"};function f8(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("a",d8,[t.renderSlot(e.$slots,"default")])}const ws=V(c8,[["render",f8]]),WZ="",_8={components:{UnnnicIcon:te},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 g8(e,n,a,i,o,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 Vn=V(_8,[["render",g8],["__scopeId","data-v-d0742329"]]),XZ="",h8={name:"UnnnicCard",components:{UnnnicIcon:te,UnnnicAvatarIcon:Vn},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"}}},m8={class:"unnnic-card-dash"},F8={class:"header"},p8={class:"label"},b8={class:"content"},y8={class:"value"},w8={class:"label"};function k8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicAvatarIcon"),c=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",m8,[t.createElementVNode("div",F8,[t.createVNode(u,{size:"sm",scheme:a.scheme,icon:a.icon},null,8,["scheme","icon"]),t.createElementVNode("div",p8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",b8,[t.createElementVNode("div",y8,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",w8,t.toDisplayString(a.percent>=0?`+${a.percent}%`:`${a.percent}%`),1)],2)):t.createCommentVNode("",!0)])])}const D8=V(h8,[["render",k8],["__scopeId","data-v-aab8cf56"]]),KZ="",A8={name:"UnnnicCard",components:{ToolTip:Mt,UnnnicIcon:te},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}}},E8={class:"unnnic-card-title"},C8={class:"title"};function x8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("ToolTip");return t.openBlock(),t.createElementBlock("div",E8,[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",C8,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 Vg=V(A8,[["render",x8],["__scopeId","data-v-14d9d015"]]),ZZ="",M8={name:"UnnnicCard",components:{UnnnicIcon:te},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}}},B8={class:"header"},v8={class:"label"},j8={class:"content"},N8={class:"title-container"},S8={class:"title"},T8={class:"description"};function I8(e,n,a,i,o,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",B8,[t.createVNode(u,{icon:a.icon,scheme:"neutral-dark",size:"md",class:"icon"},null,8,["icon"]),t.createElementVNode("div",v8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",j8,[t.createElementVNode("div",N8,[t.createVNode(u,{icon:"indicator",scheme:a.scheme,size:"sm"},null,8,["scheme"]),t.createElementVNode("div",S8,t.toDisplayString(a.status),1)]),t.createElementVNode("div",T8,t.toDisplayString(a.description),1)])],2)}const O8=V(M8,[["render",I8],["__scopeId","data-v-1fc599bf"]]),JZ="",L8={name:"UnnnicCard",components:{UnnnicAvatarIcon:Vn},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}}},z8={class:"icon"},q8={class:"content"},P8={class:"title"},V8={class:"description"};function U8(e,n,a,i,o,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",z8,[t.createVNode(u,{size:"xs",scheme:a.scheme,icon:a.icon,enabled:a.enabled},null,8,["scheme","icon","enabled"])]),t.createElementVNode("div",q8,[t.createElementVNode("div",P8,t.toDisplayString(a.title),1),t.createElementVNode("div",V8,t.toDisplayString(a.description),1)])],2)}const R8=V(L8,[["render",U8],["__scopeId","data-v-7f42cb11"]]),$Z="",Y8={name:"UnnnicCard",props:{title:{type:String,default:null},description:{type:String,default:null},clickable:{type:Boolean,default:!1}}},H8={class:"unnnic-card-default__content"},Q8={class:"unnnic-card-default__title"},G8=["title"];function W8(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-default":!0,"unnnic-card-default__clickable":a.clickable})},[t.createElementVNode("div",H8,[t.createElementVNode("div",Q8,t.toDisplayString(a.title),1),t.createElementVNode("p",{class:"unnnic-card-default__description",title:a.description},t.toDisplayString(a.description),9,G8)])],2)}const X8=V(Y8,[["render",W8]]),eJ="",K8={name:"UnnnicCard",components:{UnnnicIcon:te},props:{text:{type:String,default:null},icon:{type:String,default:null},clickable:{type:Boolean,default:!1}}},Z8={class:"unnnic-card-blank__content"},J8={class:"unnnic-card-blank__content__text"};function $8(e,n,a,i,o,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",Z8,[t.createVNode(u,{icon:a.icon,scheme:"neutral-clean",class:"unnnic-card-blank__content__icon",size:"xl"},null,8,["icon"]),t.createElementVNode("div",J8,t.toDisplayString(a.text),1)])],2)}const e7=V(K8,[["render",$8]]),tJ="",t7={name:"UnnnicCard",components:{UnnnicIcon:te},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}}},a7={class:"unnnic-card-content__content"},n7={class:"unnnic-card-content__content__title"},i7={class:"unnnic-card-content__content__description"};function r7(e,n,a,i,o,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",a7,[t.createElementVNode("div",n7,t.toDisplayString(a.title),1),t.createElementVNode("div",i7,t.toDisplayString(a.description),1)])],2)}const o7=V(t7,[["render",r7]]),aJ="",s7={name:"UnnnicCard",components:{UnnnicIcon:te},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")}}},l7={class:t.normalizeClass(["unnnic-card-marketplace__icons"])},u7=["src"],c7={class:"unnnic-card-marketplace__content"},d7={class:"unnnic-card-marketplace__content__title"},f7=["title"],_7={key:0,class:"unnnic-card-marketplace__content__rating"},g7={class:"unnnic-card-marketplace__content__rating__value"},h7={class:"unnnic-card-marketplace__content__rating__comments"};function m7(e,n,a,i,o,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",l7,[t.createElementVNode("img",{class:"unnnic-card-marketplace__icons__app",src:a.iconSrc},null,8,u7),t.renderSlot(e.$slots,"actions")]),t.createElementVNode("div",c7,[t.createElementVNode("div",d7,t.toDisplayString(a.title),1),t.createElementVNode("div",{class:"unnnic-card-marketplace__content__description",title:a.description},t.toDisplayString(a.description),9,f7),a.typeAction==="add"?(t.openBlock(),t.createElementBlock("div",_7,[t.createVNode(u,{class:"unnnic-card-marketplace__content__rating__star",scheme:"feedback-yellow",icon:"rating-star-1",size:"ant"}),t.createElementVNode("div",g7,t.toDisplayString(a.rating),1),t.createElementVNode("div",h7," ("+t.toDisplayString(a.comments)+") ",1)])):t.createCommentVNode("",!0)])],2)}const F7=V(s7,[["render",m7]]),nJ="",p7={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"?Vg:this.type==="dash"?D8:this.type==="status"?O8:this.type==="account"?R8:this.type==="default"?X8:this.type==="blank"?e7:this.type==="content"?o7:this.type==="marketplace"?F7:Vg}},methods:{openModal(){this.$emit("openModal")}}};function b7(e,n,a,i,o,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 fc=V(p7,[["render",b7]]),iJ="",_c={name:"UnnnicSimpleCard",components:{UnnnicToolTip:Mt,UnnnicIcon:te},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"]},Ug=()=>{t.useCssVars(e=>({"14ad6579":e.titleSize}))},Rg=_c.setup;_c.setup=Rg?(e,n)=>(Ug(),Rg(e,n)):Ug;const y7={key:0,class:"unnnic-simple-card__header"},w7={class:"unnnic-simple-card-header-container"},k7={class:"unnnic-simple-card-header-container__title"},D7={key:0,class:"unnnic-simple-card__header-slot"},A7=["title"],E7={key:2,class:"unnnic-simple-card__footer"};function C7(e,n,a,i,o,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(f=>a.clickable&&e.$emit("click"),["stop"]))},[a.title||e.$slots.headerSlot?(t.openBlock(),t.createElementBlock("section",y7,[t.createElementVNode("section",w7,[t.createElementVNode("h1",k7,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",D7,[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,A7)):t.createCommentVNode("",!0),e.$slots.footer?(t.openBlock(),t.createElementBlock("section",E7,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])):t.createCommentVNode("",!0)],2)}const gc=V(_c,[["render",C7],["__scopeId","data-v-80dbbab7"]]),x7=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,o=_=>{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":""),f=t.computed(()=>a.isSelected?"chip--is-selected":"");return(_,g)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["chip",f.value,{"chip--border":s.value,"chip--is-clickable":_.isClickable}]),onClick:o},[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(te,{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))}}),rJ="",ks=V(x7,[["__scopeId","data-v-cf90ea74"]]),bn={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}"}}},M7={key:0,class:"unnnic-tag__icon"},B7={class:t.normalizeClass("unnnic-tag__label")},v7=t.defineComponent({__name:"DefaultTag",props:{text:{default:void 0},size:{default:"medium"},scheme:{default:"aux-purple"},leftIcon:{default:void 0}},setup(e){t.useCssVars(o=>({"1096da9a":i.value}));const n=e,a=[{keywords:["green"],color:bn.green[200].value},{keywords:["blue"],color:bn.blue[200].value},{keywords:["purple"],color:bn.purple[200].value},{keywords:["red","pink"],color:bn.red[200].value},{keywords:["orange"],color:bn.orange[200].value},{keywords:["yellow"],color:bn.yellow[200].value},{keywords:["gray"],color:bn.gray[200].value},{keywords:["teal","weni"],color:bn.teal[200].value}],i=t.computed(()=>{const o=n.scheme.toLowerCase(),s=a.find(({keywords:u})=>u.some(c=>o.includes(c)));return(s==null?void 0:s.color)??bn.gray[200].value});return(o,s)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(`unnnic-tag unnnic-tag--${o.size}`)},[o.leftIcon?(t.openBlock(),t.createElementBlock("section",M7,[t.createVNode(te,{icon:o.leftIcon,scheme:"fg-emphasized",size:"sm"},null,8,["icon"])])):t.createCommentVNode("",!0),t.createElementVNode("p",B7,t.toDisplayString(o.text),1)],2))}}),oJ="",j7=V(v7,[["__scopeId","data-v-2f043350"]]),Ki=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(ks,{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(j7,{key:1,size:n.type==="next"?"small":n.size,text:n.text,scheme:n.scheme,leftIcon:n.leftIcon},null,8,["size","text","scheme","leftIcon"]))}}),sJ="",N7={components:{UnnnicTag:Ki},mixins:[Wt],props:{oldVersion:Boolean,name:String,description:String,plan:String,actionText:String},data(){return{isOptionsOpen:!1}}},S7={class:"name"},T7={class:"description"},I7={key:1};function O7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicTag"),c=t.resolveComponent("UnnnicIcon"),f=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",S7,t.toDisplayString(a.name),1),t.createElementVNode("p",T7,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",I7,[t.createVNode(f,{open:o.isOptionsOpen,"onUpdate:open":n[1]||(n[1]=_=>o.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:o.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 hc=V(N7,[["render",O7],["__scopeId","data-v-331afc72"]]),lJ="",L7={components:{UnnnicIcon:te},props:{title:{type:String},description:{type:String},score:{type:String},info:{type:String},checked:{type:Boolean,default:!1}}},z7={class:"card"},q7={class:"header"},P7={class:"title"},V7={key:0,class:"check"},U7={class:"description"},R7={key:0,class:"footer"},Y7={class:"evaluation"},H7={class:"info"};function Q7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",z7,[t.createElementVNode("div",q7,[t.createElementVNode("div",P7,t.toDisplayString(a.title),1),a.checked?(t.openBlock(),t.createElementBlock("div",V7,[t.createVNode(u,{size:"md",icon:"check-circle-1-1-1",scheme:"feedback-green"})])):t.createCommentVNode("",!0)]),t.createElementVNode("div",U7,t.toDisplayString(a.description),1),a.score||a.info?(t.openBlock(),t.createElementBlock("div",R7,[t.createElementVNode("div",Y7,[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",H7,t.toDisplayString(a.info),1)])])):t.createCommentVNode("",!0)])}const mc=V(L7,[["render",Q7],["__scopeId","data-v-b40ec35c"]]),uJ="",G7={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:Ia.pick,click(){const e=["checked","less"].includes(this.valueName);this.$emit("change",!e),this.$emit("update:model-value",!e)}}},W7={class:"unnnic-checkbox"},X7=["disabled","checked"],K7={key:0,class:"unnnic-checkbox__helper"};function Z7(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("section",W7,[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,X7),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",K7,t.toDisplayString(a.helper),1)):t.createCommentVNode("",!0)])}const Zi=V(G7,[["render",Z7],["__scopeId","data-v-14c8c277"]]),cJ="",J7={components:{UnnnicIcon:te,UnnnicCheckbox:Zi,UnnnicAvatarIcon:Vn,UnnnicDropdown:$r},props:{modelValue:Boolean,title:String,description:String,image:String,data:{type:Array,default(){return[]}}}},$7={class:"header"},eA={class:"content"},tA={key:0,class:"u font secondary body-lg bold color-neutral-darkest"},aA={key:1,class:"u font secondary body-md color-neutral-cloudy"},nA=["src"],iA={key:0,class:"details"},rA={class:"u font secondary body-gt color-neutral-dark"},oA={class:"value-container"},sA={class:"u font secondary body-gt black color-neutral-darkest"};function lA(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicCheckbox"),c=t.resolveComponent("UnnnicIcon"),f=t.resolveComponent("UnnnicDropdown"),_=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-card-image",{checked:a.modelValue}])},[t.createElementVNode("div",$7,[t.createElementVNode("div",eA,[a.title?(t.openBlock(),t.createElementBlock("div",tA,t.toDisplayString(a.title),1)):t.createCommentVNode("",!0),a.description?(t.openBlock(),t.createElementBlock("div",aA,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(f,{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,nA),a.data.length?(t.openBlock(),t.createElementBlock("div",iA,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.data,(g,m)=>(t.openBlock(),t.createElementBlock("div",{key:m,class:"data"},[t.createElementVNode("div",rA,t.toDisplayString(g.name),1),t.createElementVNode("div",oA,[t.createVNode(_,{icon:g.icon,size:"xs",scheme:g.scheme},null,8,["icon","scheme"]),t.createElementVNode("div",sA,t.toDisplayString(g.value),1)])]))),128))])):t.createCommentVNode("",!0)],2)}const Fc=V(J7,[["render",lA],["__scopeId","data-v-87c573e3"]]),dJ="",uA={components:{UnnnicIcon:te,UnnnicDropdown:$r,UnnnicDropdownItem:ws},mixins:[Wt],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)}}},cA={class:"unnnic-card-project__header"},dA=["title"],fA={class:"unnnic-card-project__description"},_A=["title"],gA={class:"unnnic-card-project__bottom"},hA={class:"unnnic-card-project__status-options-container"};function mA(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicDropdown"),f=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",cA,[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,dA),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",fA,[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,_A)]),t.createElementVNode("section",gA,[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:o.openDropdown,useOpenProp:"","data-testid":"status-dropdown","onUpdate:open":n[0]||(n[0]=_=>o.openDropdown=_)},{default:t.withCtx(()=>[t.createElementVNode("section",hA,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.statusOptions,_=>(t.openBlock(),t.createBlock(f,{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 pc=V(uA,[["render",mA],["__scopeId","data-v-d7f7ed7d"]]),fJ="",FA={components:{UnnnicAvatarIcon:Vn,UnnnicToolTip:Mt,UnnnicIcon:te},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*xr}}},pA={class:"unnnic-card-container"},bA={class:"header"},yA={class:"title"},wA=["title"],kA={key:0,class:"subtitle"},DA={key:0,class:"description"},AA={key:1,class:"description-row-container"},EA={key:0,class:"description-row"},CA={class:"title"},xA={class:"content"},MA={class:"number"};function BA(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicToolTip"),f=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",pA,[t.createElementVNode("div",bA,[t.createElementVNode("div",yA,[t.createElementVNode("span",{class:"name",title:a.name.length>25?a.name:null},t.toDisplayString(a.name),9,wA),a.subtitle?(t.openBlock(),t.createElementBlock("div",kA,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"header-buttons",{},void 0,!0)]),a.description?(t.openBlock(),t.createElementBlock("div",DA,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0),a.descriptionRow||a.descriptionRowInfo?(t.openBlock(),t.createElementBlock("div",AA,[a.descriptionRow?(t.openBlock(),t.createElementBlock("div",EA,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",CA,t.toDisplayString(_.title),1),t.createElementVNode("div",xA,[t.createVNode(f,{icon:_.icon,scheme:_.scheme,size:"xs"},null,8,["icon","scheme"]),t.createElementVNode("div",MA,t.toDisplayString(_.count),1)])]))),128))],4)])}const vA=V(FA,[["render",BA],["__scopeId","data-v-d88c3045"]]),_J="",jA={components:{CardStatusesContainer:vA},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:xr}}};function NA(e,n,a,i,o,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*o.unnnicFontSize+"px"},null,8,["name","subtitle","description","descriptionRow","descriptionRowInfo","statuses","minStatusWidth"])}const bc=V(jA,[["render",NA],["__scopeId","data-v-ee17403c"]]),gJ="",SA={class:"unnnic-checkbox-group__checkboxes"},TA={key:1,class:"unnnic-checkbox-group__helper"},yc=V({__name:"CheckboxGroup",props:{state:{type:String,default:"horizontal",validator(e){return["horizontal","vertical"].includes(e)}},label:{type:String},labelTooltip:{type:String},labelUseHtmlTooltip:{type:Boolean},helper:{type:String}},setup(e){return(n,a)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["unnnic-checkbox-group__container",`unnnic-checkbox-group--state-${e.state}`])},[e.label?(t.openBlock(),t.createBlock(Ni,{key:0,label:e.label,tooltip:e.labelTooltip,useHtmlTooltip:e.labelUseHtmlTooltip},null,8,["label","tooltip","useHtmlTooltip"])):t.createCommentVNode("",!0),t.createElementVNode("section",SA,[t.renderSlot(n.$slots,"default",{},void 0,!0)]),e.helper?(t.openBlock(),t.createElementBlock("footer",TA,t.toDisplayString(e.helper),1)):t.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-04aa1063"]]),mJ="",IA={class:"unnnic-collapse__body"},wc=V({__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,o=t.ref(!1);return t.watch(o,s=>{i("change",s),i("update:modelValue",s)}),t.watch(()=>a.active,s=>{o.value=s},{immediate:!0}),t.watch(()=>a.modelValue,s=>{o.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":o.value}])},[t.createElementVNode("div",{"data-testid":"collapse-header",class:"unnnic-collapse__header",onClick:u[0]||(u[0]=c=>o.value=!o.value)},[t.createTextVNode(t.toDisplayString(e.title),1),t.renderSlot(s.$slots,"header",{},void 0,!0),t.createVNode(te,{size:"xs",icon:o.value?"arrow-button-up-1":"arrow-button-down-1",scheme:o.value?"neutral-dark":"neutral-cloudy"},null,8,["icon","scheme"])]),t.withDirectives(t.createElementVNode("div",IA,[t.renderSlot(s.$slots,"default",{},void 0,!0)],512),[[t.vShow,o.value]])],2))}},[["__scopeId","data-v-1f77973f"]]),pJ="",OA={class:"unnnic-radio"},LA=["disabled","checked","name"],zA={key:0,class:"unnnic-radio__helper"},Ds=V({__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,o=t.inject("contextModelValue",void 0),s=t.inject("contextName",void 0);function u(){a.disabled||(i("update:modelValue",a.value),o&&(o.value=a.value))}const c=t.computed(()=>(o==null?void 0:o.value)||a.modelValue),f=t.computed(()=>(s==null?void 0:s.value)||a.name);return(_,g)=>(t.openBlock(),t.createElementBlock("section",OA,[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:f.value},t.unref(Ia.pick)(_.$attrs,["id"])),null,16,LA),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",zA,t.toDisplayString(e.helper),1)):t.createCommentVNode("",!0)],2)]))}},[["__scopeId","data-v-7e12a100"]]),qA={name:"Flag",components:{UnnnicIcon:te},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 PA(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createBlock(u,{icon:s.name,size:a.size},null,8,["icon","size"])}const VA=V(qA,[["render",PA]]),yJ="",UA={name:"LanguageSelect",components:{UnnnicFlag:VA,UnnnicIcon:te},directives:{onClickOutside:Jr},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:xr}},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)}}},RA={key:0,class:"unnnic-language-select contracted"},YA={class:"option"},HA=["onClick"],QA={key:1,class:"unnnic-language-select normal"},GA={class:"option"},WA={class:"label"},XA=["onClick"],KA={class:"label"},ZA={class:"option"},JA={class:"label"};function $A(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicFlag"),c=t.resolveComponent("UnnnicIcon"),f=t.resolveDirective("on-click-outside");return a.contracted?t.withDirectives((t.openBlock(),t.createElementBlock("div",RA,[t.createElementVNode("div",{class:t.normalizeClass(["container contracted",{open:o.open}]),onClick:n[0]||(n[0]=(..._)=>s.onClickTrigger&&s.onClickTrigger(..._))},[t.createElementVNode("div",YA,[t.createVNode(u,{size:"sm",code:o.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=>o.val=_.id},[t.createVNode(u,{size:"sm",code:_.id},null,8,["code"])],8,HA))),128))],2)])),[[f,s.onClickOutside]]):t.withDirectives((t.openBlock(),t.createElementBlock("div",QA,[t.createElementVNode("div",{class:t.normalizeClass(["container normal",{open:o.open}]),onClick:n[1]||(n[1]=(..._)=>s.onClickTrigger&&s.onClickTrigger(..._))},[t.createElementVNode("div",{style:t.normalizeStyle({position:"absolute",[a.position==="bottom"?"top":"bottom"]:-.125*o.unnnicFontSize+"px",width:"100%",padding:.0625*o.unnnicFontSize+"px",left:-.0625*o.unnnicFontSize+"px"}),class:"all"},[a.position==="bottom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",GA,[t.createVNode(u,{size:"sm",code:o.val},null,8,["code"]),t.createElementVNode("div",WA,t.toDisplayString(s.languages[o.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=>o.val=_.id},[t.createVNode(u,{size:"sm",code:_.id},null,8,["code"]),t.createElementVNode("div",KA,t.toDisplayString(s.languages[_.id]),1)],8,XA))),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",ZA,[t.createVNode(u,{size:"sm",code:o.val},null,8,["code"]),t.createElementVNode("div",JA,t.toDisplayString(s.languages[o.val]),1),t.createVNode(c,{size:"xs",icon:s.dropdownIcon,scheme:"neutral-clean"},null,8,["icon"])])],64)):t.createCommentVNode("",!0)],4)],2)])),[[f,s.onClickOutside]])}const kc=V(UA,[["render",$A]]),wJ="",eE={name:"UnnnicModal",components:{UnnnicIcon:te},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")}}},tE={ref:"modal",class:"unnnic-modal-container-background"},aE={class:"unnnic-modal-container-background-body"},nE={key:0,class:"unnnic-modal-container-background-body-close_icon"},iE={key:1,class:"unnnic-modal-container-background-body__icon-slot"},rE={class:"unnnic-modal-container-background-body-title"},oE={class:"unnnic-modal-container-background-body-description-container"},sE={class:"unnnic-modal-container-background-body-description"},lE={key:0,class:"unnnic-modal-container-background-report"},uE={key:1,class:"unnnic-modal-container-background-button"};function cE(e,n,a,i,o,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",tE,[t.createElementVNode("div",aE,[a.closeIcon?(t.openBlock(),t.createElementBlock("div",nE,[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",iE,[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",rE,t.toDisplayString(a.text),1)]),t.createElementVNode("div",oE,[t.createElementVNode("div",sE,[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",lE,t.toDisplayString(a.alertMessage),1)):t.createCommentVNode("",!0),s.hasButton?(t.openBlock(),t.createElementBlock("div",uE,[t.renderSlot(e.$slots,"options",{},void 0,!0)])):t.createCommentVNode("",!0)],512)])],16)):t.createCommentVNode("",!0)]),_:3})}const As=V(eE,[["render",cE],["__scopeId","data-v-64ca1a24"]]),Yg={"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(Yg);const Hg={"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(Hg);var pa=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)},Ji,eo,Fi;class dE{constructor(...n){Ji.set(this,new Map),eo.set(this,new Map),Fi.set(this,new Map);for(const a of n)this.define(a)}define(n,a=!1){for(let[i,o]of Object.entries(n)){i=i.toLowerCase(),o=o.map(c=>c.toLowerCase()),pa(this,Fi,"f").has(i)||pa(this,Fi,"f").set(i,new Set);const s=pa(this,Fi,"f").get(i);let u=!0;for(let c of o){const f=c.startsWith("*");if(c=f?c.slice(1):c,s==null||s.add(c),u&&pa(this,eo,"f").set(i,c),u=!1,f)continue;const _=pa(this,Ji,"f").get(c);if(_&&_!=i&&!a)throw new Error(`"${i} -> ${c}" conflicts with "${_} -> ${c}". Pass \`force=true\` to override this definition.`);pa(this,Ji,"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(),o=a.length<n.length;return!(i.length<a.length-1)&&o?null:pa(this,Ji,"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&&pa(this,eo,"f").get(n.trim().toLowerCase()))??null)}getAllExtensions(n){return typeof n!="string"?null:pa(this,Fi,"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 pa(this,Fi,"f").values())Object.freeze(n);return this}_getTestState(){return{types:pa(this,Ji,"f"),extensions:pa(this,eo,"f")}}}Ji=new WeakMap,eo=new WeakMap,Fi=new WeakMap;const fE=new dE(Hg,Yg)._freeze(),kJ="",_E={class:"unnnic-upload-area__dropzone__content"},gE={class:"unnnic-upload-area__dropzone__content__title"},hE=["title"],mE=["accept","multiple"],Es=V({__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),o=t.ref(0),s=t.ref(),u=t.useTemplateRef("file"),c=e,f=n,_=t.getCurrentInstance();function g(L){var O,ne;return!!((ne=(O=_==null?void 0:_.vnode)==null?void 0:O.props)!=null&&ne[L])}const m=t.computed(()=>c.supportedFormats.split(",").map(O=>O.toUpperCase()).join(", "));function F(){c.disabled||(o.value+=1,a.value=!0)}function b(){c.disabled||(a.value=!0)}function w(){c.disabled||(o.value-=1,o.value===0&&(a.value=!1))}function C(){c.disabled||(a.value=!1)}function A(L){if(c.disabled)return;a.value=!1;const{files:O}=L.dataTransfer;x(O)&&P(O)}function N(){c.disabled||u.value.click()}function S(L){if(c.disabled)return;const{files:O}=L.target;x(O)&&P(O),s.value.value=""}function D(){i.value=!0,setTimeout(()=>{i.value=!1},5e3)}function x(L){return!c.acceptMultiple&&L.length>1?(D(),!1):q(L)?T(L)?!0:(g("onExceededTheMaximumFileSizeLimit")?f("exceededTheMaximumFileSizeLimit"):D(),!1):(g("onUnsupportedFormat")?f("unsupportedFormat"):D(),!1)}function q(L){if(c.supportedFormats==="*")return!0;const O=c.supportedFormats.split(",").map(_e=>_e.trim());return Array.from(L).find(_e=>{const ie=_e.name.toLowerCase(),de=_e.type.toLowerCase(),Ce=`.${ie.split(".").pop()}`,we=O.includes(Ce),pe=de===fE.getType(ie);return we&&pe})}function T(L){return c.maxFileSize?Array.from(L).find(ne=>(ne.size/1048576).toFixed(2)<=c.maxFileSize):!0}function P(L){let O=L.length;if(c.shouldReplace||(O+=c.currentFiles.length),O>c.maximumUploads){D();return}const ne=Array.from(L).filter(ie=>!!(q([ie])&&T([ie])));let _e;c.shouldReplace?_e=ne:_e=c.currentFiles.concat(ne),f("update:currentFiles",_e),f("fileChange",_e)}return(L,O)=>(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(F,["stop","prevent"]),onDragover:t.withModifiers(b,["stop","prevent"]),onDragleave:t.withModifiers(w,["stop","prevent"]),onDragend:t.withModifiers(C,["stop","prevent"]),onDrop:t.withModifiers(A,["stop","prevent"]),onClick:N},[t.createVNode(te,{class:"unnnic-upload-area__dropzone__icon",icon:"upload",scheme:i.value?"feedback-red":"weni-500",size:"lg"},null,8,["scheme"]),t.createElementVNode("div",_E,[t.createElementVNode("span",gE,[t.renderSlot(L.$slots,"title",{},()=>[t.createTextVNode(t.toDisplayString(L.$t("upload_area.title.text"))+" ",1),t.createElementVNode("span",{class:t.normalizeClass(`unnnic-upload-area__dropzone__content__title__${i.value?"error":"search"}`)},t.toDisplayString(L.$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:m.value},[t.renderSlot(L.$slots,"subtitle",{},()=>[t.createTextVNode(t.toDisplayString(e.subtitle||`${L.$t(`upload_area${i.value?".invalid":""}.subtitle`)} ${m.value}`),1)],!0)],10,hE)]),t.withDirectives(t.createElementVNode("input",{ref_key:"file",ref:s,type:"file",accept:e.supportedFormats,multiple:e.acceptMultiple,onInput:S},null,40,mE),[[t.vShow,!1]])],34))}},[["__scopeId","data-v-936a11ab"]]),AJ="",FE={name:"ImportCard",components:{UnnnicButton:vt,UnnnicIcon:te},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")}}},pE={class:"unnnic-import-card"},bE={class:"unnnic-import-card__data"},yE={key:0,class:"unnnic-import-card__data__title"},wE={key:1,class:"unnnic-import-card__data__title"},kE={key:2,class:"unnnic-import-card__data__subtitle"},DE={key:0,class:"unnnic-import-card__data__subtitle__text"},AE={key:1,class:"unnnic-import-card__data__subtitle__progress"},EE={class:"unnnic-import-card__buttons"},CE=["accept"];function xE(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",pE,[t.createVNode(u,{class:"unnnic-import-card__file-icon",size:"md",scheme:"weni-600",icon:s.fileIcon},null,8,["icon"]),t.createElementVNode("div",bE,[a.isImporting?(t.openBlock(),t.createElementBlock("div",yE,t.toDisplayString(e.$t("import_card.importing"))+"... ",1)):(t.openBlock(),t.createElementBlock("div",wE,t.toDisplayString(a.title),1)),a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",kE,[a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",DE,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0),a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",AE,"  - "+t.toDisplayString(a.importProgress)+"% ",1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",EE,[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]=(...f)=>s.handleFileChange&&s.handleFileChange(...f))},null,40,CE)]),_: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 Cs=V(FE,[["render",xE],["__scopeId","data-v-0990f36a"]]),EJ="",ME={name:"UnnnicUploadArea",components:{UnnnicDropArea:Es,UnnnicImportCard:Cs},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()}}},BE={key:0,class:"unnnic-upload-area__cards"};function vE(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicDropArea"),c=t.resolveComponent("UnnnicImportCard");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(u,{currentFiles:o.currentFiles,"onUpdate:currentFiles":n[0]||(n[0]=f=>o.currentFiles=f),acceptMultiple:a.acceptMultiple,supportedFormats:a.supportedFormats,maxFileSize:a.maxFileSize,shouldReplace:a.shouldReplace,maximumUploads:a.maximumUploads,subtitle:a.subtitle,onFileChange:n[1]||(n[1]=f=>e.$emit("fileChange",f))},null,8,["currentFiles","acceptMultiple","supportedFormats","maxFileSize","shouldReplace","maximumUploads","subtitle"]),o.currentFiles.length>0?(t.openBlock(),t.createElementBlock("div",BE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.currentFiles,(f,_)=>(t.openBlock(),t.createBlock(c,{key:_,title:f.name,subtitle:f.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 xs=V(ME,[["render",vE],["__scopeId","data-v-872a45ed"]]),CJ="",jE={components:{UnnnicUploadArea:xs,UnnnicIcon:te,UnnnicButton:vt},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{}}},NE={class:"modal-upload"},SE={class:"close-button-container"},TE={class:"title"},IE={class:"footer"};function OE(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicUploadArea"),f=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",NE,[t.createElementVNode("div",SE,[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",TE,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",IE,[t.createVNode(f,{size:"large",type:"tertiary",text:a.textCancel,onClick:n[2]||(n[2]=_=>e.$emit("cancel"))},null,8,["text"]),t.createVNode(f,{size:"large",type:"primary",text:a.textAction,onClick:n[3]||(n[3]=_=>e.$emit("action"))},null,8,["text"])])])}const Dc=V(jE,[["render",OE],["__scopeId","data-v-81621db1"]]),xJ="",LE={components:{UnnnicIcon:te},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")}}},zE={ref:"alertContainer",class:"alert-container"},qE={ref:"progress",class:"alert__progress"};function PE(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",zE,[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",qE,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 VE=V(LE,[["render",PE],["__scopeId","data-v-f1004db4"]]),UE=["role","aria-live"],RE={class:"unnnic-toast__content","data-testid":"toast-content"},YE={class:"unnnic-toast__header","data-testid":"toast-header"},HE={class:"unnnic-toast__title","data-testid":"toast-title"},QE={key:0,"data-testid":"toast-text",class:"unnnic-toast__text"},GE=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,o=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=()=>{o.value=!1,i("close")},f=()=>{var m;(m=a.button)!=null&&m.action&&a.button.action()},_=()=>{a.timeout>0&&(s=window.setTimeout(()=>{c()},a.timeout))},g=()=>{s&&(window.clearTimeout(s),s=null)};return t.onMounted(()=>{o.value=!0,_()}),t.onUnmounted(()=>{g()}),(m,F)=>(t.openBlock(),t.createBlock(t.Transition,{name:"toast-slide",appear:"","data-testid":"toast-transition",onAfterLeave:F[0]||(F[0]=b=>m.$emit("destroy"))},{default:t.withCtx(()=>[o.value?(t.openBlock(),t.createElementBlock("aside",{key:0,class:t.normalizeClass(["unnnic-toast",`unnnic-toast--${m.type}`]),role:m.type==="error"?"alert":"status","aria-live":m.type==="error"?"assertive":"polite","data-testid":"toast"},[t.createElementVNode("section",RE,[t.createElementVNode("header",YE,[t.createVNode(te,{icon:u.value.icon,scheme:u.value.scheme,size:"ant","data-testid":"toast-type-icon"},null,8,["icon","scheme"]),t.createElementVNode("h3",HE,t.toDisplayString(m.title),1),t.createVNode(te,{icon:"close",scheme:"neutral-dark",size:"ant",clickable:"",class:"unnnic-toast__close","data-testid":"toast-close-icon",onClick:c,onKeydown:t.withKeys(c,["enter"])})]),m.description?(t.openBlock(),t.createElementBlock("p",QE,t.toDisplayString(m.description),1)):t.createCommentVNode("",!0)]),m.button?(t.openBlock(),t.createBlock(vt,{key:0,type:"tertiary",text:m.button.text,class:"unnnic-toast__action-button","data-testid":"toast-action-button",onClick:f,onKeydown:[t.withKeys(f,["enter"]),t.withKeys(t.withModifiers(f,["prevent"]),["space"])]},null,8,["text","onKeydown"])):t.createCommentVNode("",!0)],10,UE)):t.createCommentVNode("",!0)]),_:1}))}}),MJ="",to=V(GE,[["__scopeId","data-v-6d3256ad"]]),WE={name:"UnnnicAlert",components:{UnnnicToast:to,Version1dot1:VE},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 XE(e,n,a,i,o,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 Ms=V(WE,[["render",XE]]);class KE{constructor(){this.toasts=new Map,this.container=null,this.nextId=0}createContainer(){return this.container?this.container:(this.container=document.createElement("div"),this.container.setAttribute("unnnic-toast-container","true"),document.body.appendChild(this.container),this.container)}generateId(){return`toast-${++this.nextId}`}show(n){const a=this.generateId(),i=this.createContainer(),o=document.createElement("div");let s;const u=new Promise(_=>{s=_}),c=t.createApp(to,{...n,onClose:()=>{this.close(a)},onDestroy:()=>{c.unmount(),o.remove(),s()}});c.mount(o),i.appendChild(o);const f={id:a,props:n,close:()=>this.close(a),promise:u};return this.toasts.set(a,f),f}close(n){this.toasts.get(n)&&this.toasts.delete(n)}}const ao=new KE,Ac={info:(e,n,a)=>ao.show({title:e,description:n,...a,type:"informational"}).promise,success:(e,n,a)=>ao.show({title:e,description:n,...a,type:"success"}).promise,attention:(e,n,a)=>ao.show({title:e,description:n,...a,type:"attention"}).promise,error:(e,n,a)=>ao.show({title:e,description:n,...a,type:"error"}).promise};function ZE(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(o){o(a)}),(i=e.get("*"))&&i.slice().map(function(o){o(n,a)})}}}const Ec=ZE(),Cc=({props:e,containerRef:n,seconds:a})=>{if(e.version==="1.1"||n){const i=t.createApp(Ms,{...e,seconds:a,version:"1.1",onClose:()=>{s.$el.remove()},created(){Ec.on(["close"],()=>{s.$el.remove()})}}),o=document.createElement("div"),s=i.mount(o);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"},o={timeout:a?a*1e3:5e3,type:i[e.scheme||e.type]||i.default,onClose:()=>{Ec.emit(["close"])}};ao.show({title:e.text,description:"",...o})}},xc=({props:e})=>{const n=t.createApp(As,{...e,onClose:()=>{i.$el.remove()},created(){Ec.on(["close"],()=>{i.$el.remove()})}}),a=document.createElement("div"),i=n.mount(a);document.body.appendChild(a)};function Mc(e,n){return t.getCurrentScope()?(t.onScopeDispose(e,n),!0):!1}const JE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Qg=e=>e!=null,$E=Object.prototype.toString,eC=e=>$E.call(e)==="[object Object]",yn=()=>{};function Gg(e,n){function a(...i){return new Promise((o,s)=>{Promise.resolve(e(()=>n.apply(this,i),{fn:n,thisArg:this,args:i})).then(o).catch(s)})}return a}function tC(e,n={}){let a,i,o=yn;const s=f=>{clearTimeout(f),o(),o=yn};let u;return f=>{const _=t.toValue(e),g=t.toValue(n.maxWait);return a&&s(a),_<=0||g!==void 0&&g<=0?(i&&(s(i),i=void 0),Promise.resolve(f())):new Promise((m,F)=>{o=n.rejectOnCancel?F:m,u=f,g&&!i&&(i=setTimeout(()=>{a&&s(a),i=void 0,m(u())},g)),a=setTimeout(()=>{i&&s(i),i=void 0,m(f())},_)})}}function aC(...e){let n=0,a,i=!0,o=yn,s,u,c,f,_;!t.isRef(e[0])&&typeof e[0]=="object"?{delay:u,trailing:c=!0,leading:f=!0,rejectOnCancel:_=!1}=e[0]:[u,c=!0,f=!0,_=!1]=e;const g=()=>{a&&(clearTimeout(a),a=void 0,o(),o=yn)};return F=>{const b=t.toValue(u),w=Date.now()-n,C=()=>s=F();return g(),b<=0?(n=Date.now(),C()):(w>b?(n=Date.now(),(f||!i)&&C()):c&&(s=new Promise((A,N)=>{o=_?N:A,a=setTimeout(()=>{n=Date.now(),i=!0,A(C()),g()},Math.max(0,b-w))})),!f&&!a&&(a=setTimeout(()=>i=!0,b)),i=!1,s)}}function no(e){return Array.isArray(e)?e:[e]}function Wg(e){return e||t.getCurrentInstance()}function nC(e){return t.isRef(e)?t.reactive(new Proxy({},{get(n,a,i){return t.unref(Reflect.get(e.value,a,i))},set(n,a,i){return t.isRef(e.value[a])&&!t.isRef(i)?e.value[a].value=i:e.value[a]=i,!0},deleteProperty(n,a){return Reflect.deleteProperty(e.value,a)},has(n,a){return Reflect.has(e.value,a)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):t.reactive(e)}function iC(e){return nC(t.computed(e))}function Bs(e,...n){const a=n.flat(),i=a[0];return iC(()=>Object.fromEntries(typeof i=="function"?Object.entries(t.toRefs(e)).filter(([o,s])=>!i(t.toValue(s),o)):Object.entries(t.toRefs(e)).filter(o=>!a.includes(o[0]))))}function rC(e,n=200,a={}){return Gg(tC(n,a),e)}function oC(e,n=200,a=!1,i=!0,o=!1){return Gg(aC(n,a,i,o),e)}function sC(e,n=!0,a){Wg(a)?t.onMounted(e,a):n?e():t.nextTick(e)}function lC(e,n){Wg(n)&&t.onUnmounted(e,n)}function uC(e,n,a){return t.watch(e,n,{...a,immediate:!0})}function cC(e,n,a){return t.watch(e,n,{...a,once:!0})}const io=JE?window:void 0;function $i(e){var n;const a=t.toValue(e);return(n=a==null?void 0:a.$el)!==null&&n!==void 0?n:a}function Xg(...e){const n=[],a=()=>{n.forEach(c=>c()),n.length=0},i=(c,f,_,g)=>(c.addEventListener(f,_,g),()=>c.removeEventListener(f,_,g)),o=t.computed(()=>{const c=no(t.toValue(e[0])).filter(f=>f!=null);return c.every(f=>typeof f!="string")?c:void 0}),s=uC(()=>{var c,f;return[(c=(f=o.value)===null||f===void 0?void 0:f.map(_=>$i(_)))!==null&&c!==void 0?c:[io].filter(_=>_!=null),no(t.toValue(o.value?e[1]:e[0])),no(t.unref(o.value?e[2]:e[1])),t.toValue(o.value?e[3]:e[2])]},([c,f,_,g])=>{if(a(),!(c!=null&&c.length)||!(f!=null&&f.length)||!(_!=null&&_.length))return;const m=eC(g)?{...g}:g;n.push(...c.flatMap(F=>f.flatMap(b=>_.map(w=>i(F,b,w,m)))))},{flush:"post"}),u=()=>{s(),a()};return Mc(a),u}function dC(){const e=t.shallowRef(!1),n=t.getCurrentInstance();return n&&t.onMounted(()=>{e.value=!0},n),e}function Kg(e){const n=dC();return t.computed(()=>(n.value,!!e()))}function fC(e,n,a={}){const{window:i=io,...o}=a;let s;const u=Kg(()=>i&&"MutationObserver"in i),c=()=>{s&&(s.disconnect(),s=void 0)},f=t.watch(t.computed(()=>{const m=no(t.toValue(e)).map($i).filter(Qg);return new Set(m)}),m=>{c(),u.value&&m.size&&(s=new MutationObserver(n),m.forEach(F=>s.observe(F,o)))},{immediate:!0,flush:"post"}),_=()=>s==null?void 0:s.takeRecords(),g=()=>{f(),c()};return Mc(g),{isSupported:u,stop:g,takeRecords:_}}function _C(e,n,a={}){const{root:i,rootMargin:o="0px",threshold:s=0,window:u=io,immediate:c=!0}=a,f=Kg(()=>u&&"IntersectionObserver"in u),_=t.computed(()=>no(t.toValue(e)).map($i).filter(Qg));let g=yn;const m=t.shallowRef(c),F=f.value?t.watch(()=>[_.value,$i(i),m.value],([w,C])=>{if(g(),!m.value||!w.length)return;const A=new IntersectionObserver(n,{root:$i(C),rootMargin:o,threshold:s});w.forEach(N=>N&&A.observe(N)),g=()=>{A.disconnect(),g=yn}},{immediate:c,flush:"post"}):yn,b=()=>{g(),F(),m.value=!1};return Mc(b),{isSupported:f,isActive:m,pause(){g(),m.value=!1},resume(){m.value=!0},stop:b}}function gC(e,n={}){const{window:a=io,scrollTarget:i,threshold:o=0,rootMargin:s,once:u=!1}=n,c=t.shallowRef(!1),{stop:f}=_C(e,_=>{let g=c.value,m=0;for(const F of _)F.time>=m&&(m=F.time,g=F.isIntersecting);c.value=g,u&&cC(c,()=>{f()})},{root:i,window:a,threshold:o,rootMargin:t.toValue(s)});return c}function hC(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Zg=1;function mC(e,n={}){const{throttle:a=0,idle:i=200,onStop:o=yn,onScroll:s=yn,offset:u={left:0,right:0,top:0,bottom:0},observe:c={mutation:!1},eventListenerOptions:f={capture:!1,passive:!0},behavior:_="auto",window:g=io,onError:m=O=>{console.error(O)}}=n,F=typeof c=="boolean"?{mutation:c}:c,b=t.shallowRef(0),w=t.shallowRef(0),C=t.computed({get(){return b.value},set(O){N(O,void 0)}}),A=t.computed({get(){return w.value},set(O){N(void 0,O)}});function N(O,ne){var _e,ie,de,Ce;if(!g)return;const we=t.toValue(e);if(!we)return;(_e=we instanceof Document?g.document.body:we)===null||_e===void 0||_e.scrollTo({top:(ie=t.toValue(ne))!==null&&ie!==void 0?ie:A.value,left:(de=t.toValue(O))!==null&&de!==void 0?de:C.value,behavior:t.toValue(_)});const pe=(we==null||(Ce=we.document)===null||Ce===void 0?void 0:Ce.documentElement)||(we==null?void 0:we.documentElement)||we;C!=null&&(b.value=pe.scrollLeft),A!=null&&(w.value=pe.scrollTop)}const S=t.shallowRef(!1),D=t.reactive({left:!0,right:!1,top:!0,bottom:!1}),x=t.reactive({left:!1,right:!1,top:!1,bottom:!1}),q=O=>{S.value&&(S.value=!1,x.left=!1,x.right=!1,x.top=!1,x.bottom=!1,o(O))},T=rC(q,a+i),P=O=>{var ne;if(!g)return;const _e=(O==null||(ne=O.document)===null||ne===void 0?void 0:ne.documentElement)||(O==null?void 0:O.documentElement)||$i(O),{display:ie,flexDirection:de,direction:Ce}=getComputedStyle(_e),we=Ce==="rtl"?-1:1,pe=_e.scrollLeft;x.left=pe<b.value,x.right=pe>b.value;const Ae=Math.abs(pe*we)<=(u.left||0),ee=Math.abs(pe*we)+_e.clientWidth>=_e.scrollWidth-(u.right||0)-Zg;ie==="flex"&&de==="row-reverse"?(D.left=ee,D.right=Ae):(D.left=Ae,D.right=ee),b.value=pe;let Re=_e.scrollTop;O===g.document&&!Re&&(Re=g.document.body.scrollTop),x.top=Re<w.value,x.bottom=Re>w.value;const Et=Math.abs(Re)<=(u.top||0),dt=Math.abs(Re)+_e.clientHeight>=_e.scrollHeight-(u.bottom||0)-Zg;ie==="flex"&&de==="column-reverse"?(D.top=dt,D.bottom=Et):(D.top=Et,D.bottom=dt),w.value=Re},L=O=>{var ne;g&&(P((ne=O.target.documentElement)!==null&&ne!==void 0?ne:O.target),S.value=!0,T(O),s(O))};return Xg(e,"scroll",a?oC(L,a,!0,!1):L,f),sC(()=>{try{const O=t.toValue(e);if(!O)return;P(O)}catch(O){m(O)}}),F!=null&&F.mutation&&e!=null&&e!==g&&e!==document&&fC(e,()=>{const O=t.toValue(e);O&&P(O)},{attributes:!0,childList:!0,subtree:!0}),Xg(e,"scrollend",q,f),{x:C,y:A,isScrolling:S,arrivedState:D,directions:x,measure(){const O=t.toValue(e);g&&O&&P(O)}}}function Jg(e,n,a={}){var i;const{direction:o="bottom",interval:s=100,canLoadMore:u=()=>!0}=a,c=t.reactive(mC(e,{...a,offset:{[o]:(i=a.distance)!==null&&i!==void 0?i:0,...a.offset}})),f=t.ref(),_=t.computed(()=>!!f.value),g=t.computed(()=>hC(t.toValue(e))),m=gC(g);function F(){if(c.measure(),!g.value||!m.value||!u(g.value))return;const{scrollHeight:b,clientHeight:w,scrollWidth:C,clientWidth:A}=g.value,N=o==="bottom"||o==="top"?b<=w:C<=A;(c.arrivedState[o]||N)&&(f.value||(f.value=Promise.all([n(c),new Promise(S=>setTimeout(S,s))]).finally(()=>{f.value=null,t.nextTick(()=>F())})))}return lC(t.watch(()=>[c.arrivedState[o],m.value],F,{immediate:!0})),{isLoading:_,reset(){t.nextTick(()=>F())}}}const BJ="",FC={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:oi}},pC=["title"];function bC(e,n,a,i,o,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,pC)}const yC=V(FC,[["render",bC]]),vJ="",wC={name:"UnnnicSelectSmartMultipleHeader",components:{Tag:Ki},mixins:[Wt],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)}}},kC={class:"unnnic-select-smart__options__multiple"},DC={key:0,class:"unnnic-select-smart__options__multiple__selecteds__container"},AC={class:"unnnic-select-smart__options__multiple__selecteds"},EC={key:0,class:"unnnic-select-smart__options__multiple__selecteds__remaining","data-testid":"remaining-count"},CC={key:1,class:"unnnic-select-smart__options__multiple--without-multiples","data-testid":"without-selects-message"};function xC(e,n,a,i,o,s){const u=t.resolveComponent("Tag");return t.openBlock(),t.createElementBlock("div",kC,[a.selectedOptions[0]?(t.openBlock(),t.createElementBlock("div",DC,[t.createElementVNode("div",AC,[(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:f=>s.unselectOption(c)},null,8,["text","hasCloseIcon","onClose"]))),128)),a.selectedOptions.length>o.multipleSelectedsTags?(t.openBlock(),t.createElementBlock("p",EC," +"+t.toDisplayString(a.selectedOptions.length-o.multipleSelectedsTags),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),a.selectedOptions[0]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",CC,t.toDisplayString(a.withoutSelectsMessage||e.i18n("without_multiple_selected")),1))])}const MC=V(wC,[["render",xC],["__scopeId","data-v-44c8e22c"]]),jJ="",BC={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 vC(e,n,a,i,o,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:`${o.width}px`,height:`${o.height}px`},void 0,!0)],4)],2)}const $g=V(BC,[["render",vC],["__scopeId","data-v-05c4ead6"]]),NJ="",jC={name:"UnnnicSelectSmart",components:{TextInput:Kl,SelectSmartOption:yC,SelectSmartMultipleHeader:MC,DropdownSkeleton:$g,UnnnicIconLoading:mi},directives:{onClickOutside:Jr},mixins:[Wt],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 o=i.value===this.modelValue;return this.isAutocompleteAllowed?o&&i.value!=="":i.value===""&&this.modelValue.length===0||o});return e?e.label:this.multiple?this.modelValue.map(o=>o.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,o;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((o=this.options)==null?void 0:o[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}=Jg(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,""),o=c=>{var f;return parseInt((f=c.match(/\d+/))==null?void 0:f[0],10)||0},s=e.filter(({value:c,label:f},_,g)=>{const m=i(f),F=g.findIndex(w=>w.value===c)===_,b=a.every(w=>{const C=m.includes(w),A=c.includes(w);return this.enableSearchByValue?C||A:C});return F&&b&&c});return this.orderedByIndex?s:s.sort((c,f)=>{const _=i(c.label),g=i(f.label),m=o(_),F=o(g);return m-F||_.localeCompare(g)})},onClickOutside(){this.active&&(this.isAutocompleteAllowed&&(this.searchValue=this.selectedLabel),this.$nextTick(()=>{this.active=!1}))},getOptionIndex(e){var i,o,s,u;const n=this.filterOptions(this.options);let a="";return e==="active"&&(a=(o=(i=this.modelValue)==null?void 0:i[0])==null?void 0:o.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),o=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(o-1,0):Math.min(o+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?o:s];this.focusedOption=u}}}},NC={style:{overflow:"auto"}},SC={key:0,class:"unnnic-select-smart__options-infinite-loading"},TC={key:1,class:"unnnic-select-smart__options--no-results"};function IC(e,n,a,i,o,s){const u=t.resolveComponent("TextInput"),c=t.resolveComponent("SelectSmartMultipleHeader"),f=t.resolveComponent("UnnnicIconLoading"),_=t.resolveComponent("SelectSmartOption"),g=t.resolveComponent("DropdownSkeleton"),m=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]=(...F)=>s.onKeyDownSelect&&s.onKeyDownSelect(...F))},[t.createVNode(g,{ref:"dropdown-skeleton",type:"manual",modelValue:o.active||null,position:"bottom"},{inside:t.withCtx(F=>[o.active?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({width:F.width}),class:t.normalizeClass({"unnnic-select-smart__options":!0,active:o.active,inactive:!o.active}),"data-testid":"options-container"},[t.createElementVNode("div",NC,[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(f,{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),(b,w)=>(t.openBlock(),t.createBlock(_,{key:b.value,"data-testid":"option",label:b.label,description:b.description,tabindex:w,size:a.size,active:b.value===a.modelValue||s.optionIsSelected(b),disabled:s.optionIsSelected(b)&&b.disableRemove,focused:o.focusedOption&&o.focusedOption.value===b.value,allowCheckbox:!!a.multiple,activeColor:a.type==="secondary"?"secondary":"primary",onClick:C=>s.handleSelect(b)},null,8,["label","description","tabindex","size","active","disabled","focused","allowCheckbox","activeColor","onClick"]))),128)),a.infiniteScroll&&o.infiniteScrollLoading?(t.openBlock(),t.createElementBlock("div",SC,[t.createVNode(f,{scheme:"neutral-dark",size:"sm"})])):t.createCommentVNode("",!0),s.filterOptions(a.options).length===0?(t.openBlock(),t.createElementBlock("p",TC,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:!o.isAutocompleteAllowed,iconLeft:o.isAutocompleteAllowed&&a.autocompleteIconLeft?"search-1":"",iconRight:o.active?"keyboard_arrow_up":"keyboard_arrow_down",iconRightSize:"ant",onClick:t.withModifiers(s.handleClickInput,["stop"]),"onUpdate:modelValue":n[0]||(n[0]=F=>o.searchValue=F)},null,8,["class","modelValue","placeholder","type","size","disabled","readonly","iconLeft","iconRight","onClick"])]),_:1},8,["modelValue"])],34)),[[m,s.onClickOutside]])}const Bc=V(jC,[["render",IC]]),SJ="",OC={name:"UnnicSelectItem",props:{size:{type:String,default:""},selectable:{type:Boolean,default:!0},active:{type:Boolean,default:!1},textFocused:{type:Boolean,default:!1}}};function LC(e,n,a,i,o,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 vc=V(OC,[["render",LC]]),TJ="",zC={name:"UnnnicMultiSelect",components:{UnnnicIcon:te,UnnnicRadio:Ds},directives:{onClickOutside:Jr},props:{isOpen:{default:!1},expand:{default:!1},label:{type:String,default:""},modelValue:{type:Array,default:()=>[]},inputTitle:{type:String,default:"Teste"},hideRadio:{type:Boolean,default:!1},hideGroupTitle:{type:Boolean,default:!1},unselectable:{type:Boolean,default:!1}},data(){return{active:!1}},watch:{isOpen(){this.active=this.open}},methods:{handleIsOpenKeyboard(e){document.querySelector(".select-permission:focus-visible")&&e.keyCode===32&&(this.active=!this.active)},onClickOutside(){this.active&&(this.active=!1)},change(e,n){this.$emit("update:model-value",this.modelValue.map((a,i)=>{if(i===e){let o=n;return this.unselectable&&a.selected===n&&(o=-1),{...a,selected:o}}return a}))}}},qC={key:0,class:"select-permission-label"},PC={class:"title noselect"},VC={key:1,class:"select-content",tabindex:"0"},UC=["onClick"];function RC(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicRadio"),f=t.resolveDirective("on-click-outside");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(a.expand?"expand-multiselect":"normal-multiselect"),tabindex:"-1"},[a.label?(t.openBlock(),t.createElementBlock("span",qC,t.toDisplayString(a.label),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"select-permission",tabindex:"0",onKeypress:n[0]||(n[0]=(..._)=>s.handleIsOpenKeyboard&&s.handleIsOpenKeyboard(..._)),onClick:n[1]||(n[1]=_=>o.active=!o.active)},[t.createElementVNode("h6",PC,t.toDisplayString(a.inputTitle),1),t.createVNode(u,{icon:o.active?"arrow-button-up-1":"arrow-button-down-1",size:"sm",scheme:"neutral-dark"},null,8,["icon"])],32),o.active?t.withDirectives((t.openBlock(),t.createElementBlock("div",VC,[t.createElementVNode("div",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.modelValue,(_,g)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`group-${g}`},[a.hideGroupTitle?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("h6",{key:`title-${g}`,class:"title"},t.toDisplayString(_.title),1)),t.createElementVNode("section",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.items,(m,F)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`item-${F}`},[a.hideRadio?(t.openBlock(),t.createElementBlock("div",{key:F+"input",class:"unnnic-radio-container unnnic-radio-container--sm",style:{cursor:"pointer"},onClick:b=>s.change(g,F)},[t.createElementVNode("strong",null,t.toDisplayString(m.title),1),t.createElementVNode("span",null,t.toDisplayString(m.description),1)],8,UC)):(t.openBlock(),t.createBlock(c,{id:"",key:"else"+F+"input",name:"",modelValue:_.selected,value:F,size:"sm",class:"","onUpdate:modelValue":b=>s.change(g,b)},{default:t.withCtx(()=>[t.createElementVNode("strong",null,t.toDisplayString(m.title),1),t.createElementVNode("span",null,t.toDisplayString(m.description),1)]),_:2},1032,["modelValue","value","onUpdate:modelValue"]))],64))),128))])],64))),128))])])),[[f,s.onClickOutside]]):t.createCommentVNode("",!0)],2)}const jc=V(zC,[["render",RC],["__scopeId","data-v-313464ed"]]),IJ="",YC={components:{UnnnicIcon:te},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)}},HC={class:"header"},QC={class:"actions"};function GC(e,n,a,i,o,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",HC,[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",QC,[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:o.height})},[t.renderSlot(e.$slots,"default",{},void 0,!0)],6)])}const Nc=V(YC,[["render",GC],["__scopeId","data-v-ae70d9af"]]),OJ="",WC={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}}}},XC={class:"weni-step-indicator"},KC={class:"weni-step-indicator__label"};function ZC(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",XC,[(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",KC,t.toDisplayString(s.titleForStep(u)),1)],2)],2))),128))])}const Sc=V(WC,[["render",ZC],["__scopeId","data-v-2caaee7c"]]),JC=`: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}
59
+ */const j9="9.14.5";function N9(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(mn().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(mn().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(mn().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(mn().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(mn().__INTLIFY_PROD_DEVTOOLS__=!1)}const cg=Pt.__EXTEND_POINT__,pn=ss(cg),st={FALLBACK_TO_ROOT:cg,NOT_SUPPORTED_PRESERVE:pn(),NOT_SUPPORTED_FORMATTER:pn(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:pn(),NOT_SUPPORTED_GET_CHOICE_INDEX:pn(),COMPONENT_NAME_LEGACY_COMPATIBLE:pn(),NOT_FOUND_PARENT_SCOPE:pn(),IGNORE_OBJ_FLATTEN:pn(),NOTICE_DROP_ALLOW_COMPOSITION:pn(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:pn()},S9={[st.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[st.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[st.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[st.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[st.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[st.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[st.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[st.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[st.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[st.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Qt(e,...n){return ju(S9[e],...n)}const dg=At.__EXTEND_POINT__,Gt=ss(dg),qe={UNEXPECTED_RETURN_TYPE:dg,INVALID_ARGUMENT:Gt(),MUST_BE_CALL_SETUP_TOP:Gt(),NOT_INSTALLED:Gt(),NOT_AVAILABLE_IN_LEGACY_MODE:Gt(),REQUIRED_VALUE:Gt(),INVALID_VALUE:Gt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Gt(),NOT_INSTALLED_WITH_PROVIDE:Gt(),UNEXPECTED_ERROR:Gt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Gt(),BRIDGE_SUPPORT_VUE_2_ONLY:Gt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Gt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Gt(),__EXTEND_POINT__:Gt()};function yt(e,...n){return Yi(e,null,process.env.NODE_ENV!=="production"?{messages:T9,args:n}:void 0)}const T9={[qe.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[qe.INVALID_ARGUMENT]:"Invalid argument",[qe.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[qe.NOT_INSTALLED]:"Need to install with `app.use` function",[qe.UNEXPECTED_ERROR]:"Unexpected error",[qe.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[qe.REQUIRED_VALUE]:"Required in value: {0}",[qe.INVALID_VALUE]:"Invalid value",[qe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[qe.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[qe.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[qe.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[qe.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",[qe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Hu=Ka("__translateVNode"),Qu=Ka("__datetimeParts"),Gu=Ka("__numberParts"),hi=Ka("__enableEmitter"),Qr=Ka("__disableEmitter"),fg=Ka("__setPluralRules"),_g=Ka("__injectWithOption"),Wu=Ka("__dispose");function Gr(e){if(!Ie(e)||ma(e))return e;for(const n in e)if(La(e,n))if(!n.includes("."))Ie(e[n])&&Gr(e[n]);else{const a=n.split("."),i=a.length-1;let o=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 o||(o[a[u]]=Xe()),!Ie(o[a[u]])){process.env.NODE_ENV!=="production"&&pt(Qt(st.IGNORE_OBJ_FLATTEN,{key:a[u]})),s=!0;break}o=o[a[u]]}if(s||(ma(o)?C_.includes(a[i])||delete e[n]:(o[a[i]]=e[n],delete e[n])),!ma(o)){const u=o[a[i]];Ie(u)&&Gr(u)}}return e}function ms(e,n){const{messages:a,__i18n:i,messageResolver:o,flatJson:s}=n,u=be(a)?a:Je(i)?Xe():{[e]:Xe()};if(Je(i)&&i.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:f,resource:_}=c;f?(u[f]=u[f]||Xe(),us(_,u[f])):us(_,u)}else $(c)&&us(JSON.parse(c),u)}),o==null&&s)for(const c in u)La(u,c)&&Gr(u[c]);return u}function gg(e){return e.type}function hg(e,n,a){let i=Ie(n.messages)?n.messages:Xe();"__i18nGlobal"in a&&(i=ms(e.locale.value,{messages:i,__i18n:a.__i18nGlobal}));const o=Object.keys(i);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,i[s])});{if(Ie(n.datetimeFormats)){const s=Object.keys(n.datetimeFormats);s.length&&s.forEach(u=>{e.mergeDateTimeFormat(u,n.datetimeFormats[u])})}if(Ie(n.numberFormats)){const s=Object.keys(n.numberFormats);s.length&&s.forEach(u=>{e.mergeNumberFormat(u,n.numberFormats[u])})}}}function mg(e){return t.createVNode(t.Text,null,e,0)}const Fg="__INTLIFY_META__",pg=()=>[],I9=()=>!1;let bg=0;function yg(e){return(n,a,i,o)=>e(a,i,t.getCurrentInstance()||void 0,o)}const O9=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=gg(e)[Fg])?{[Fg]:n}:null};function Xu(e={},n){const{__root:a,__injectWithOption:i}=e,o=a===void 0,s=e.flatJson,u=Oa?t.ref:t.shallowRef,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&i_(Qt(st.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let f=Me(e.inheritLocale)?e.inheritLocale:!0;const _=u(a&&f?a.locale.value:$(e.locale)?e.locale:Gi),g=u(a&&f?a.fallbackLocale.value:$(e.fallbackLocale)||Je(e.fallbackLocale)||be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:_.value),m=u(ms(_.value,e)),F=u(be(e.datetimeFormats)?e.datetimeFormats:{[_.value]:{}}),b=u(be(e.numberFormats)?e.numberFormats:{[_.value]:{}});let w=a?a.missingWarn:Me(e.missingWarn)||Ln(e.missingWarn)?e.missingWarn:!0,C=a?a.fallbackWarn:Me(e.fallbackWarn)||Ln(e.fallbackWarn)?e.fallbackWarn:!0,A=a?a.fallbackRoot:Me(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,S=Ke(e.missing)?e.missing:null,D=Ke(e.missing)?yg(e.missing):null,x=Ke(e.postTranslation)?e.postTranslation:null,q=a?a.warnHtmlMessage:Me(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const P=a?a.modifiers:be(e.modifiers)?e.modifiers:{};let L=e.pluralRules||a&&a.pluralRules,O;O=(()=>{o&&U_(null);const R={version:j9,locale:_.value,fallbackLocale:g.value,messages:m.value,modifiers:P,pluralRules:L,missing:D===null?void 0:D,missingWarn:w,fallbackWarn:C,fallbackFormat:N,unresolving:!0,postTranslation:x===null?void 0:x,warnHtmlMessage:q,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=F.value,R.numberFormats=b.value,R.__datetimeFormatters=be(O)?O.__datetimeFormatters:void 0,R.__numberFormatters=be(O)?O.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=be(O)?O.__v_emitter:void 0);const X=f9(R);return o&&U_(X),X})(),Hr(O,_.value,g.value);function _e(){return[_.value,g.value,m.value,F.value,b.value]}const ie=t.computed({get:()=>_.value,set:R=>{_.value=R,O.locale=_.value}}),de=t.computed({get:()=>g.value,set:R=>{g.value=R,O.fallbackLocale=g.value,Hr(O,_.value,R)}}),Ce=t.computed(()=>m.value),we=t.computed(()=>F.value),pe=t.computed(()=>b.value);function Ae(){return Ke(x)?x:null}function ee(R){x=R,O.postTranslation=R}function Re(){return S}function Et(R){R!==null&&(D=yg(R)),S=R,O.missing=D}function dt(R,X){return R!=="translate"||!X.resolvedMessage}const Ct=(R,X,Oe,it,ka,Kn)=>{_e();let an;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&P_(O9()),o||(O.fallbackContext=a?d9():void 0),an=R(O)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&P_(null),o||(O.fallbackContext=void 0)}if(Oe!=="translate exists"&&ht(an)&&an===_s||Oe==="translate exists"&&!an){const[Va,go]=X();if(process.env.NODE_ENV!=="production"&&a&&$(Va)&&dt(Oe,go)&&(A&&(hs(C,Va)||Y_(w,Va))&&pt(Qt(st.FALLBACK_TO_ROOT,{key:Va,type:Oe})),process.env.NODE_ENV!=="production")){const{__v_emitter:fr}=O;fr&&A&&fr.emit("fallback",{type:Oe,key:Va,to:"global",groupId:`${Oe}:${Va}`})}return a&&A?it(a):ka(Va)}else{if(Kn(an))return an;throw yt(qe.UNEXPECTED_RETURN_TYPE)}};function lt(...R){return Ct(X=>Reflect.apply(J_,null,[X,...R]),()=>Vu(...R),"translate",X=>Reflect.apply(X.t,X,[...R]),X=>X,X=>$(X))}function ft(...R){const[X,Oe,it]=R;if(it&&!Ie(it))throw yt(qe.INVALID_ARGUMENT);return lt(X,Oe,Bt({resolvedMessage:!0},it||{}))}function jt(...R){return Ct(X=>Reflect.apply(ng,null,[X,...R]),()=>Uu(...R),"datetime format",X=>Reflect.apply(X.d,X,[...R]),()=>gs,X=>$(X))}function ia(...R){return Ct(X=>Reflect.apply(og,null,[X,...R]),()=>Ru(...R),"number format",X=>Reflect.apply(X.n,X,[...R]),()=>gs,X=>$(X))}function $e(R){return R.map(X=>$(X)||ht(X)||Me(X)?mg(String(X)):X)}const Ot={normalize:$e,interpolate:R=>R,type:"vnode"};function oa(...R){return Ct(X=>{let Oe;const it=X;try{it.processor=Ot,Oe=Reflect.apply(J_,null,[it,...R])}finally{it.processor=null}return Oe},()=>Vu(...R),"translate",X=>X[Hu](...R),X=>[mg(X)],X=>Je(X))}function Xt(...R){return Ct(X=>Reflect.apply(og,null,[X,...R]),()=>Ru(...R),"number format",X=>X[Gu](...R),pg,X=>$(X)||Je(X))}function Vt(...R){return Ct(X=>Reflect.apply(ng,null,[X,...R]),()=>Uu(...R),"datetime format",X=>X[Qu](...R),pg,X=>$(X)||Je(X))}function Wn(R){L=R,O.pluralRules=L}function K(R,X){return Ct(()=>{if(!R)return!1;const Oe=$(X)?X:_.value,it=Nt(Oe),ka=O.messageResolver(it,R);return c?ka!=null:ma(ka)||Fa(ka)||$(ka)},()=>[R],"translate exists",Oe=>Reflect.apply(Oe.te,Oe,[R,X]),I9,Oe=>Me(Oe))}function je(R){let X=null;const Oe=N_(O,g.value,_.value);for(let it=0;it<Oe.length;it++){const ka=m.value[Oe[it]]||{},Kn=O.messageResolver(ka,R);if(Kn!=null){X=Kn;break}}return X}function wi(R){const X=je(R);return X??(a?a.tm(R)||{}:{})}function Nt(R){return m.value[R]||{}}function Xn(R,X){if(s){const Oe={[R]:X};for(const it in Oe)La(Oe,it)&&Gr(Oe[it]);X=Oe[R]}m.value[R]=X,O.messages=m.value}function _o(R,X){m.value[R]=m.value[R]||{};const Oe={[R]:X};if(s)for(const it in Oe)La(Oe,it)&&Gr(Oe[it]);X=Oe[R],us(X,m.value[R]),O.messages=m.value}function M(R){return F.value[R]||{}}function j(R,X){F.value[R]=X,O.datetimeFormats=F.value,rg(O,R,X)}function G(R,X){F.value[R]=Bt(F.value[R]||{},X),O.datetimeFormats=F.value,rg(O,R,X)}function ue(R){return b.value[R]||{}}function et(R,X){b.value[R]=X,O.numberFormats=b.value,lg(O,R,X)}function Pe(R,X){b.value[R]=Bt(b.value[R]||{},X),O.numberFormats=b.value,lg(O,R,X)}bg++,a&&Oa&&(t.watch(a.locale,R=>{f&&(_.value=R,O.locale=R,Hr(O,_.value,g.value))}),t.watch(a.fallbackLocale,R=>{f&&(g.value=R,O.fallbackLocale=R,Hr(O,_.value,g.value))}));const Ye={id:bg,locale:ie,fallbackLocale:de,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&a&&(_.value=a.locale.value,g.value=a.fallbackLocale.value,Hr(O,_.value,g.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:Ce,get modifiers(){return P},get pluralRules(){return L||{}},get isGlobal(){return o},get missingWarn(){return w},set missingWarn(R){w=R,O.missingWarn=w},get fallbackWarn(){return C},set fallbackWarn(R){C=R,O.fallbackWarn=C},get fallbackRoot(){return A},set fallbackRoot(R){A=R},get fallbackFormat(){return N},set fallbackFormat(R){N=R,O.fallbackFormat=N},get warnHtmlMessage(){return q},set warnHtmlMessage(R){q=R,O.warnHtmlMessage=R},get escapeParameter(){return T},set escapeParameter(R){T=R,O.escapeParameter=R},t:lt,getLocaleMessage:Nt,setLocaleMessage:Xn,mergeLocaleMessage:_o,getPostTranslationHandler:Ae,setPostTranslationHandler:ee,getMissingHandler:Re,setMissingHandler:Et,[fg]:Wn};return Ye.datetimeFormats=we,Ye.numberFormats=pe,Ye.rt=ft,Ye.te=K,Ye.tm=wi,Ye.d=jt,Ye.n=ia,Ye.getDateTimeFormat=M,Ye.setDateTimeFormat=j,Ye.mergeDateTimeFormat=G,Ye.getNumberFormat=ue,Ye.setNumberFormat=et,Ye.mergeNumberFormat=Pe,Ye[_g]=i,Ye[Hu]=oa,Ye[Qu]=Vt,Ye[Gu]=Xt,process.env.NODE_ENV!=="production"&&(Ye[hi]=R=>{O.__v_emitter=R},Ye[Qr]=()=>{O.__v_emitter=void 0}),Ye}function L9(e){const n=$(e.locale)?e.locale:Gi,a=$(e.fallbackLocale)||Je(e.fallbackLocale)||be(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=Ke(e.missing)?e.missing:void 0,o=Me(e.silentTranslationWarn)||Ln(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Me(e.silentFallbackWarn)||Ln(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=Me(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,f=be(e.modifiers)?e.modifiers:{},_=e.pluralizationRules,g=Ke(e.postTranslation)?e.postTranslation:void 0,m=$(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,F=!!e.escapeParameterHtml,b=Me(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&pt(Qt(st.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&pt(Qt(st.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let w=e.messages;if(be(e.sharedMessages)){const T=e.sharedMessages;w=Object.keys(T).reduce((L,O)=>{const ne=L[O]||(L[O]={});return Bt(ne,T[O]),L},w||{})}const{__i18n:C,__root:A,__injectWithOption:N}=e,S=e.datetimeFormats,D=e.numberFormats,x=e.flatJson,q=e.translateExistCompatible;return{locale:n,fallbackLocale:a,messages:w,flatJson:x,datetimeFormats:S,numberFormats:D,missing:i,missingWarn:o,fallbackWarn:s,fallbackRoot:u,fallbackFormat:c,modifiers:f,pluralRules:_,postTranslation:g,warnHtmlMessage:m,escapeParameter:F,messageResolver:e.messageResolver,inheritLocale:b,translateExistCompatible:q,__i18n:C,__root:A,__injectWithOption:N}}function Ku(e={},n){{const a=Xu(L9(e)),{__extender:i}=e,o={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"&&pt(Qt(st.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&pt(Qt(st.NOT_SUPPORTED_FORMATTER))},get missing(){return a.getMissingHandler()},set missing(s){a.setMissingHandler(s)},get silentTranslationWarn(){return Me(a.missingWarn)?!a.missingWarn:a.missingWarn},set silentTranslationWarn(s){a.missingWarn=Me(s)?!s:s},get silentFallbackWarn(){return Me(a.fallbackWarn)?!a.fallbackWarn:a.fallbackWarn},set silentFallbackWarn(s){a.fallbackWarn=Me(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"&&pt(Qt(st.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&pt(Qt(st.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return a.pluralRules||{}},__composer:a,t(...s){const[u,c,f]=s,_={};let g=null,m=null;if(!$(u))throw yt(qe.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:Je(c)?g=c:be(c)&&(m=c),Je(f)?g=f:be(f)&&(m=f),Reflect.apply(a.t,a,[F,g||m||{},_])},rt(...s){return Reflect.apply(a.rt,a,[...s])},tc(...s){const[u,c,f]=s,_={plural:1};let g=null,m=null;if(!$(u))throw yt(qe.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:ht(c)?_.plural=c:Je(c)?g=c:be(c)&&(m=c),$(f)?_.locale=f:Je(f)?g=f:be(f)&&(m=f),Reflect.apply(a.t,a,[F,g||m||{},_])},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"&&pt(Qt(st.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=i,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=s=>{const u=a;u[hi]&&u[hi](s)},o.__disableEmitter=()=>{const s=a;s[Qr]&&s[Qr]()}),o}}const Zu={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function z9({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((i,o)=>[...i,...o.type===t.Fragment?o.children:[o]],[]):n.reduce((a,i)=>{const o=e[i];return o&&(a[i]=o()),a},Xe())}function wg(e){return t.Fragment}const Ju=t.defineComponent({name:"i18n-t",props:Bt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ht(e)||!isNaN(e)}},Zu),setup(e,n){const{slots:a,attrs:i}=n,o=e.i18n||ac({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(a).filter(m=>m!=="_"),u=Xe();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=$(e.plural)?+e.plural:e.plural);const c=z9(n,s),f=o[Hu](e.keypath,c,u),_=Bt(Xe(),i),g=$(e.tag)||Ie(e.tag)?e.tag:wg();return t.h(g,_,f)}}});function q9(e){return Je(e)&&!$(e[0])}function kg(e,n,a,i){const{slots:o,attrs:s}=n;return()=>{const u={part:!0};let c=Xe();e.locale&&(u.locale=e.locale),$(e.format)?u.key=e.format:Ie(e.format)&&($(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((F,b)=>a.includes(b)?Bt(Xe(),F,{[b]:e.format[b]}):F,Xe()));const f=i(e.value,u,c);let _=[u.key];Je(f)?_=f.map((F,b)=>{const w=o[F.type],C=w?w({[F.type]:F.value,index:b,parts:f}):[F.value];return q9(C)&&(C[0].key=`${F.type}-${b}`),C}):$(f)&&(_=[f]);const g=Bt(Xe(),s),m=$(e.tag)||Ie(e.tag)?e.tag:wg();return t.h(m,g,_)}}const Dg=t.defineComponent({name:"i18n-n",props:Bt({value:{type:Number,required:!0},format:{type:[String,Object]}},Zu),setup(e,n){const a=e.i18n||ac({useScope:e.scope,__useComponent:!0});return kg(e,n,sg,(...i)=>a[Gu](...i))}}),Ag=t.defineComponent({name:"i18n-d",props:Bt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Zu),setup(e,n){const a=e.i18n||ac({useScope:e.scope,__useComponent:!0});return kg(e,n,ig,(...i)=>a[Qu](...i))}});function P9(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 V9(e){const n=u=>{const{instance:c,modifiers:f,value:_}=u;if(!c||!c.$)throw yt(qe.UNEXPECTED_ERROR);const g=P9(e,c.$);process.env.NODE_ENV!=="production"&&f.preserve&&pt(Qt(st.NOT_SUPPORTED_PRESERVE));const m=Eg(_);return[Reflect.apply(g.t,g,[...Cg(m)]),g]};return{created:(u,c)=>{const[f,_]=n(c);Oa&&e.global===_&&(u.__i18nWatcher=t.watch(_.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=_,u.textContent=f},unmounted:u=>{Oa&&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 f=u.__composer,_=Eg(c);u.textContent=Reflect.apply(f.t,f,[...Cg(_)])}},getSSRProps:u=>{const[c]=n(u);return{textContent:c}}}}function Eg(e){if($(e))return{path:e};if(be(e)){if(!("path"in e))throw yt(qe.REQUIRED_VALUE,"path");return e}else throw yt(qe.INVALID_VALUE)}function Cg(e){const{path:n,locale:a,args:i,choice:o,plural:s}=e,u={},c=i||{};return $(a)&&(u.locale=a),ht(o)&&(u.plural=o),ht(s)&&(u.plural=s),[n,c,u]}function U9(e,n,...a){const i=be(a[0])?a[0]:{},o=!!i.useI18nComponentName,s=Me(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&o&&pt(Qt(st.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Ju.name})),s&&([o?"i18n":Ju.name,"I18nT"].forEach(u=>e.component(u,Ju)),[Dg.name,"I18nN"].forEach(u=>e.component(u,Dg)),[Ag.name,"I18nD"].forEach(u=>e.component(u,Ag))),e.directive("t",V9(n))}const $u={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},R9={["vue-i18n-resource-inspector"]:"Search for scopes ..."},Y9={["vue-i18n-timeline"]:16764185},xg="vue-i18n: composer properties";let ec;async function H9(e,n){return new Promise((a,i)=>{try{v9({id:"vue-devtools-plugin-vue-i18n",label:$u["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:[xg],app:e},o=>{ec=o,o.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{Q9(u,c,n)}),o.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&&Bg(c,u.vnode.el.__VUE_I18N__):Bg(c,u.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:$u["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:R9["vue-i18n-resource-inspector"]}),o.on.getInspectorTree(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&Z9(u,n)});const s=new Map;o.on.getInspectorState(async u=>{if(u.app===e&&u.inspectorId==="vue-i18n-resource-inspector")if(o.unhighlightElement(),$9(u,n),u.nodeId==="global"){if(!s.has(u.app)){const[c]=await o.getComponentInstances(u.app);s.set(u.app,c)}o.highlightElement(s.get(u.app))}else{const c=J9(u.nodeId,n);c&&o.highlightElement(c)}}),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&t5(u,n)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:$u["vue-i18n-timeline"],color:Y9["vue-i18n-timeline"]}),a(!0)})}catch(o){console.error(o),i(!1)}})}function Mg(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function Q9(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 o={label:`i18n (${Mg(e)} Scope)`,textColor:0,backgroundColor:16764185};n.tags.push(o)}}function Bg(e,n){const a=xg;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:tc(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 tc(e){const n={};return Object.keys(e).forEach(a=>{const i=e[a];Ke(i)&&"source"in i?n[a]=K9(i):ma(i)&&i.loc&&i.loc.source?n[a]=i.loc.source:Ie(i)?n[a]=tc(i):n[a]=i}),n}const G9={"<":"&lt;",">":"&gt;",'"':"&quot;","&":"&amp;"};function W9(e){return e.replace(/[<>"&]/g,X9)}function X9(e){return G9[e]||e}function K9(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${W9(e.source)}")`:"(?)"}`}}}function Z9(e,n){e.rootNodes.push({id:"global",label:"Global Scope"});const a=n.mode==="composition"?n.global:n.global.__composer;for(const[i,o]of n.__instances){const s=n.mode==="composition"?o:o.__composer;a!==s&&e.rootNodes.push({id:s.id.toString(),label:`${Mg(i)} Scope`})}}function J9(e,n){let a=null;if(e!=="global"){for(const[i,o]of n.__instances.entries())if(o.id.toString()===e){a=i;break}}return a}function vg(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 $9(e,n){const a=vg(e.nodeId,n);return a&&(e.state=e5(a)),null}function e5(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 o="Locale messages info",s=[{type:o,key:"messages",editable:!1,value:tc(e.messages.value)}];n[o]=s;{const u="Datetime formats info",c=[{type:u,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}];n[u]=c;const f="Datetime formats info",_=[{type:f,key:"numberFormats",editable:!1,value:e.numberFormats.value}];n[f]=_}return n}function Wr(e,n){if(ec){let a;n&&"groupId"in n&&(a=n.groupId,delete n.groupId),ec.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 t5(e,n){const a=vg(e.nodeId,n);if(a){const[i]=e.path;i==="locale"&&$(e.state.value)?a.locale.value=e.state.value:i==="fallbackLocale"&&($(e.state.value)||Je(e.state.value)||Ie(e.state.value))?a.fallbackLocale.value=e.state.value:i==="inheritLocale"&&Me(e.state.value)&&(a.inheritLocale=e.state.value)}}function a5(e,n,a){return{beforeCreate(){const i=t.getCurrentInstance();if(!i)throw yt(qe.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const s=o.i18n;if(o.__i18n&&(s.__i18n=o.__i18n),s.__root=n,this===this.$root)this.$i18n=jg(e,s);else{s.__injectWithOption=!0,s.__extender=a.__vueI18nExtend,this.$i18n=Ku(s);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=jg(e,o);else{this.$i18n=Ku({__i18n:o.__i18n,__injectWithOption:!0,__extender:a.__vueI18nExtend,__root:n});const s=this.$i18n;s.__extender&&(s.__disposer=s.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&hg(n,o,o),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 o=this.__v_emitter=Nu();i.__enableEmitter&&i.__enableEmitter(o),o.on("*",Wr)}},unmounted(){const i=t.getCurrentInstance();if(!i)throw yt(qe.UNEXPECTED_ERROR);const o=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Wr),delete this.__v_emitter),this.$i18n&&(o.__disableEmitter&&o.__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,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),a.__deleteInstance(i),delete this.$i18n}}}function jg(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[fg](n.pluralizationRules||e.pluralizationRules);const a=ms(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 n5=Ka("global-vue-i18n");function i5(e={},n){const a=__VUE_I18N_LEGACY_API__&&Me(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,i=Me(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&a?!!e.allowComposition:!0,s=new Map,[u,c]=r5(e,a),f=Ka(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&a&&o&&pt(Qt(st.NOTICE_DROP_ALLOW_COMPOSITION));function _(F){return s.get(F)||null}function g(F,b){s.set(F,b)}function m(F){s.delete(F)}{const F={get mode(){return __VUE_I18N_LEGACY_API__&&a?"legacy":"composition"},get allowComposition(){return o},async install(b,...w){if(process.env.NODE_ENV!=="production"&&(b.__VUE_I18N__=F),b.__VUE_I18N_SYMBOL__=f,b.provide(b.__VUE_I18N_SYMBOL__,F),be(w[0])){const N=w[0];F.__composerExtend=N.__composerExtend,F.__vueI18nExtend=N.__vueI18nExtend}let C=null;!a&&i&&(C=g5(b,F.global)),__VUE_I18N_FULL_INSTALL__&&U9(b,F,...w),__VUE_I18N_LEGACY_API__&&a&&b.mixin(a5(c,c.__composer,F));const A=b.unmount;if(b.unmount=()=>{C&&C(),F.dispose(),A()},process.env.NODE_ENV!=="production"){if(!await H9(b,F))throw yt(qe.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const S=Nu();if(a){const D=c;D.__enableEmitter&&D.__enableEmitter(S)}else{const D=c;D[hi]&&D[hi](S)}S.on("*",Wr)}},get global(){return c},dispose(){u.stop()},__instances:s,__getInstance:_,__setInstance:g,__deleteInstance:m};return F}}function ac(e={}){const n=t.getCurrentInstance();if(n==null)throw yt(qe.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw yt(qe.NOT_INSTALLED);const a=o5(n),i=l5(a),o=gg(n),s=s5(e,o);if(__VUE_I18N_LEGACY_API__&&a.mode==="legacy"&&!e.__useComponent){if(!a.allowComposition)throw yt(qe.NOT_AVAILABLE_IN_LEGACY_MODE);return f5(n,s,i,e)}if(s==="global")return hg(i,e,o),i;if(s==="parent"){let f=u5(a,n,e.__useComponent);return f==null&&(process.env.NODE_ENV!=="production"&&pt(Qt(st.NOT_FOUND_PARENT_SCOPE)),f=i),f}const u=a;let c=u.__getInstance(n);if(c==null){const f=Bt({},e);"__i18n"in o&&(f.__i18n=o.__i18n),i&&(f.__root=i),c=Xu(f),u.__composerExtend&&(c[Wu]=u.__composerExtend(c)),d5(u,n,c),u.__setInstance(n,c)}return c}function r5(e,n,a){const i=t.effectScope();{const o=__VUE_I18N_LEGACY_API__&&n?i.run(()=>Ku(e)):i.run(()=>Xu(e));if(o==null)throw yt(qe.UNEXPECTED_ERROR);return[i,o]}}function o5(e){{const n=t.inject(e.isCE?n5:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw yt(e.isCE?qe.NOT_INSTALLED_WITH_PROVIDE:qe.UNEXPECTED_ERROR);return n}}function s5(e,n){return os(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function l5(e){return e.mode==="composition"?e.global:e.global.__composer}function u5(e,n,a=!1){let i=null;const o=n.root;let s=c5(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[_g]&&(i=null))}if(i!=null||o===s)break;s=s.parent}return i}function c5(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function d5(e,n,a){let i=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=a,i=Nu();const o=a;o[hi]&&o[hi](i),i.on("*",Wr)}},n),t.onUnmounted(()=>{const o=a;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(i&&i.off("*",Wr),o[Qr]&&o[Qr](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const s=o[Wu];s&&(s(),delete o[Wu])},n)}function f5(e,n,a,i={}){const o=n==="local",s=t.shallowRef(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw yt(qe.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=Me(i.inheritLocale)?i.inheritLocale:!$(i.locale),c=t.ref(!o||u?a.locale.value:$(i.locale)?i.locale:Gi),f=t.ref(!o||u?a.fallbackLocale.value:$(i.fallbackLocale)||Je(i.fallbackLocale)||be(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:c.value),_=t.ref(ms(c.value,i)),g=t.ref(be(i.datetimeFormats)?i.datetimeFormats:{[c.value]:{}}),m=t.ref(be(i.numberFormats)?i.numberFormats:{[c.value]:{}}),F=o?a.missingWarn:Me(i.missingWarn)||Ln(i.missingWarn)?i.missingWarn:!0,b=o?a.fallbackWarn:Me(i.fallbackWarn)||Ln(i.fallbackWarn)?i.fallbackWarn:!0,w=o?a.fallbackRoot:Me(i.fallbackRoot)?i.fallbackRoot:!0,C=!!i.fallbackFormat,A=Ke(i.missing)?i.missing:null,N=Ke(i.postTranslation)?i.postTranslation:null,S=o?a.warnHtmlMessage:Me(i.warnHtmlMessage)?i.warnHtmlMessage:!0,D=!!i.escapeParameter,x=o?a.modifiers:be(i.modifiers)?i.modifiers:{},q=i.pluralRules||o&&a.pluralRules;function T(){return[c.value,f.value,_.value,g.value,m.value]}const P=t.computed({get:()=>s.value?s.value.locale.value:c.value,set:K=>{s.value&&(s.value.locale.value=K),c.value=K}}),L=t.computed({get:()=>s.value?s.value.fallbackLocale.value:f.value,set:K=>{s.value&&(s.value.fallbackLocale.value=K),f.value=K}}),O=t.computed(()=>s.value?s.value.messages.value:_.value),ne=t.computed(()=>g.value),_e=t.computed(()=>m.value);function ie(){return s.value?s.value.getPostTranslationHandler():N}function de(K){s.value&&s.value.setPostTranslationHandler(K)}function Ce(){return s.value?s.value.getMissingHandler():A}function we(K){s.value&&s.value.setMissingHandler(K)}function pe(K){return T(),K()}function Ae(...K){return s.value?pe(()=>Reflect.apply(s.value.t,null,[...K])):pe(()=>"")}function ee(...K){return s.value?Reflect.apply(s.value.rt,null,[...K]):""}function Re(...K){return s.value?pe(()=>Reflect.apply(s.value.d,null,[...K])):pe(()=>"")}function Et(...K){return s.value?pe(()=>Reflect.apply(s.value.n,null,[...K])):pe(()=>"")}function dt(K){return s.value?s.value.tm(K):{}}function Ct(K,je){return s.value?s.value.te(K,je):!1}function lt(K){return s.value?s.value.getLocaleMessage(K):{}}function ft(K,je){s.value&&(s.value.setLocaleMessage(K,je),_.value[K]=je)}function jt(K,je){s.value&&s.value.mergeLocaleMessage(K,je)}function ia(K){return s.value?s.value.getDateTimeFormat(K):{}}function $e(K,je){s.value&&(s.value.setDateTimeFormat(K,je),g.value[K]=je)}function ra(K,je){s.value&&s.value.mergeDateTimeFormat(K,je)}function Ot(K){return s.value?s.value.getNumberFormat(K):{}}function oa(K,je){s.value&&(s.value.setNumberFormat(K,je),m.value[K]=je)}function Xt(K,je){s.value&&s.value.mergeNumberFormat(K,je)}const Vt={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:L,messages:O,datetimeFormats:ne,numberFormats:_e,get inheritLocale(){return s.value?s.value.inheritLocale:u},set inheritLocale(K){s.value&&(s.value.inheritLocale=K)},get availableLocales(){return s.value?s.value.availableLocales:Object.keys(_.value)},get modifiers(){return s.value?s.value.modifiers:x},get pluralRules(){return s.value?s.value.pluralRules:q},get isGlobal(){return s.value?s.value.isGlobal:!1},get missingWarn(){return s.value?s.value.missingWarn:F},set missingWarn(K){s.value&&(s.value.missingWarn=K)},get fallbackWarn(){return s.value?s.value.fallbackWarn:b},set fallbackWarn(K){s.value&&(s.value.missingWarn=K)},get fallbackRoot(){return s.value?s.value.fallbackRoot:w},set fallbackRoot(K){s.value&&(s.value.fallbackRoot=K)},get fallbackFormat(){return s.value?s.value.fallbackFormat:C},set fallbackFormat(K){s.value&&(s.value.fallbackFormat=K)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:S},set warnHtmlMessage(K){s.value&&(s.value.warnHtmlMessage=K)},get escapeParameter(){return s.value?s.value.escapeParameter:D},set escapeParameter(K){s.value&&(s.value.escapeParameter=K)},t:Ae,getPostTranslationHandler:ie,setPostTranslationHandler:de,getMissingHandler:Ce,setMissingHandler:we,rt:ee,d:Re,n:Et,tm:dt,te:Ct,getLocaleMessage:lt,setLocaleMessage:ft,mergeLocaleMessage:jt,getDateTimeFormat:ia,setDateTimeFormat:$e,mergeDateTimeFormat:ra,getNumberFormat:Ot,setNumberFormat:oa,mergeNumberFormat:Xt};function Wn(K){K.locale.value=c.value,K.fallbackLocale.value=f.value,Object.keys(_.value).forEach(je=>{K.mergeLocaleMessage(je,_.value[je])}),Object.keys(g.value).forEach(je=>{K.mergeDateTimeFormat(je,g.value[je])}),Object.keys(m.value).forEach(je=>{K.mergeNumberFormat(je,m.value[je])}),K.escapeParameter=D,K.fallbackFormat=C,K.fallbackRoot=w,K.fallbackWarn=b,K.missingWarn=F,K.warnHtmlMessage=S}return t.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw yt(qe.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const K=s.value=e.proxy.$i18n.__composer;n==="global"?(c.value=K.locale.value,f.value=K.fallbackLocale.value,_.value=K.messages.value,g.value=K.datetimeFormats.value,m.value=K.numberFormats.value):o&&Wn(K)}),Vt}const _5=["locale","fallbackLocale","availableLocales"],Ng=["t","rt","d","n","tm","te"];function g5(e,n){const a=Object.create(null);return _5.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s)throw yt(qe.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,o,u)}),e.config.globalProperties.$i18n=a,Ng.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s||!s.value)throw yt(qe.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Ng.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(N9(),__INTLIFY_JIT_COMPILATION__?O_(F9):O_(m9),l9(UD),u9(N_),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=mn();e.__INTLIFY__=!0,ZD(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const h5={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"}},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"},m5={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"}},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"},Sg={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"}},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"},F5=Object.assign({en:h5,es:m5,"pt-br":Sg,"pt-BR":Sg}),Fs=i5({locale:"en",fallbackLocale:"en",messages:F5}),Wt={props:{locale:{type:String},translations:{type:Object}},methods:{i18n(...e){const[n,a]=e,i=Object.keys(Fs.global.messages);let{locale:o}=this;const s=Ia.get(Fs,"global.locale")==="en-us"?"en":Ia.get(Fs,"global.locale");o=i.includes(o)?o:s,o=o==null?void 0:o.toLowerCase();let u=Ia.get(this.translations,`${n}.${o}`,Ia.get(this.translations,n));if(u||(u=Ia.get(Ia.get(this.defaultTranslations,n),o,a)),u!=null&&u.includes("|")&&typeof e[1]=="number"){const f=e[1],_=u.split("|");_.length===3?u=_[f]||_[2]:_.length===2&&(u=f===1?_[0]:_[1])}let c={};return Object.values(e).slice(1).forEach(f=>{!(f instanceof Array)&&f instanceof Object&&(c=f)}),Object.keys(c).forEach(f=>{u=u==null?void 0:u.replaceAll(new RegExp(`{ *${f} *}`,"g"),c[f])}),u}}},vZ="",p5={name:"IconLoading",components:{UnnnicIcon:te},props:{scheme:{type:String,default:"neutral-dark"},size:{type:String,default:"lg"}}};function b5(e,n,a,i,o,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 mi=V(p5,[["render",b5],["__scopeId","data-v-97257015"]]),y5=["disabled"],w5=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),o=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"}[f.value]||"neutral-white"),c=t.computed(()=>n.size==="large"||!n.float&&n.size==="small"||n.float&&n.size==="extra-large"),f=t.computed(()=>({alternative:"tertiary"})[n.type]||n.type),_=t.computed(()=>["primary","secondary","tertiary","warning","attention"].includes(f.value)),g=()=>{if(!c.value||!_.value){let m="TypeError:";throw c.value||(m+=" Invalid size prop.",m+=" Please provide 'large', 'small' (only if float prop is false), or 'extra-large' (only if float prop is true)."),_.value||(m+=" Invalid type prop.",m+=" Please provide one of the following types: primary, secondary, tertiary, warning, attention. Alternative is discontinued and it was forced renamed to tertiary."),new Error(m)}};return t.watch(()=>n,()=>{g()},{deep:!0,immediate:!0}),(m,F)=>(t.openBlock(),t.createElementBlock("button",t.mergeProps(m.$attrs,{disabled:i.value,class:["unnnic-button",`unnnic-button--size-${m.size}`,`unnnic-button--${f.value}`,m.iconCenter?"unnnic-button--icon-on-center":null,m.float?"unnnic-button--float":null]}),[m.loading?(t.openBlock(),t.createBlock(mi,{key:0,scheme:u.value,size:o.value,style:{position:"absolute"},"data-testid":"icon-loading"},null,8,["scheme","size"])):t.createCommentVNode("",!0),m.iconLeft?(t.openBlock(),t.createBlock(te,{key:1,icon:m.iconLeft,scheme:u.value,size:o.value,filled:m.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-left":s.value}),style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),clickable:"","data-testid":"icon-left"},null,8,["icon","scheme","size","filled","class","style"])):t.createCommentVNode("",!0),m.iconCenter?(t.openBlock(),t.createBlock(te,{key:2,icon:m.iconCenter,scheme:u.value,style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),size:o.value,filled:m.iconsFilled,clickable:"","data-testid":"icon-center"},null,8,["icon","scheme","style","size","filled"])):t.createCommentVNode("",!0),m.float?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("span",{key:3,class:"unnnic-button__label",style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),"data-testid":"button-label"},[t.renderSlot(m.$slots,"default",{},void 0,!0),t.createTextVNode(" "+t.toDisplayString(m.text),1)],4)),m.iconRight?(t.openBlock(),t.createBlock(te,{key:4,icon:m.iconRight,scheme:u.value,size:o.value,filled:m.iconsFilled,class:t.normalizeClass({"unnnic-button__icon-right":s.value}),style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),clickable:"","data-testid":"icon-right"},null,8,["icon","scheme","size","filled","class","style"])):t.createCommentVNode("",!0)],16,y5))}}),jZ="",NZ="",SZ="",vt=V(w5,[["__scopeId","data-v-aadba593"]]),TZ="",k5={components:{UnnnicButton:vt},mixins:[Wt],props:{initialStartDate:{type:String,default:""},initialEndDate:{type:String,default:""},minDate:{type:String,default:""},maxDate:{type:String,default:""},equivalentOption:{type:String,default:""},type:{type:String,default:"day",validator(e){return["day","month","year"].includes(e)}},size:{type:String,default:"large",validator(e){return["small","large"].includes(e)}},clearLabel:{type:String,default:""},actionLabel:{type:String,default:""},months:{type:Array,default:()=>[],validator(e){return[0,12].includes(e.length)}},days:{type:Array,default:()=>[],validator(e){return[0,7].includes(e.length)}},options:{type:Array,default:()=>[]},disableClear:{type:Boolean,default:!1}},emits:["change","submit","update:equivalentOption"],data(){const e=new Date;return{referenceDate:`${e.getMonth()+1} 1 ${e.getFullYear()}`,startDate:(this.initialStartDate||"").replace(/-/g," "),endDate:(this.initialEndDate||"").replace(/-/g," "),optionSelected:"",defaultTranslations:{clean:{"pt-br":"Limpar",en:"Clean",es:"Limpiar"},filter:{"pt-br":"Filtrar",en:"Filter",es:"Filtrar"}}}},computed:{openMonths(){return[this.addMonth(this.referenceDate,-1),this.referenceDate]},value(){return{startDate:this.startDate.replaceAll(" ","-"),endDate:this.endDate.replaceAll(" ","-")}},i18nLocale(){return this.$i18n.locale.toLowerCase()},monthsLocale(){const{months:e}=this;return e.length?e:Ok[this.i18nLocale]},daysLocale(){const{days:e}=this;return e.length?e:Lk[this.i18nLocale]},periodsLocale(){const{options:e}=this;return e.length?e:zk[this.i18nLocale]},clearText(){return this.clearLabel||is[this.i18nLocale].clear},filterText(){return this.actionLabel||is[this.i18nLocale].filter}},watch:{value(){this.updateOptionSelected(),this.$emit("change",this.value)}},mounted(){this.updateOptionSelected()},methods:{submit(){var e;this.$emit("submit",this.value),this.optionSelected==="custom"?this.$emit("update:equivalentOption",""):this.$emit("update:equivalentOption",((e=this.periodsLocale.find(({id:n})=>n===this.optionSelected))==null?void 0:e.name)||"")},updateOptionSelected(){const{startDate:e,endDate:n}=this.value;function a(o,s){return new Date(o).getTime()===new Date(s).getTime()}const i=this.periodsLocale.find(({id:o})=>{const{startDate:s,endDate:u}=this.getStartAndEndDateByPeriod(o);return a(e,s)&&a(n,u)});this.optionSelected=e||n?i?i.id:"custom":""},dateToString(e){return`${e.getMonth()+1} ${e.getDate()} ${e.getFullYear()}`},dateToStringMonth(e){return`${e.getMonth()+1} ${e.getFullYear()}`},dateToStringYear(e){return e.getFullYear()},stringToTime(e){const[n,a,i]=e.split(" ");return new Date(i,Number(n)-1,a).getTime()},getDate(e){return e.toString().split(" ")[1]},getMonth(e){return e.toString().split(" ")[0]},getFullYear(e){const[n,a,i]=e.split(" ");return new Date(i,Number(n)-1,a).getFullYear()},addMonth(e,n){const[a,i,o]=e.split(" "),s=new Date(o,Number(a)-1,i);return s.setMonth(s.getMonth()+n),this.dateToString(s)},isDateBetween(e){if(this.startDate&&this.endDate){if(e>=this.stringToTime(this.startDate)&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=this.stringToTime(this.startDate))return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},isDateBetweenMonth(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setDate(1);const s=o.getTime();if(this.startDate&&this.endDate){if(e>=s&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=s)return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},isDateBetweenYear(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setDate(1),o.setMonth(0);const s=o.getTime();if(this.startDate&&this.endDate){if(e>=s&&e<=this.stringToTime(this.endDate))return!0}else{if(this.startDate&&e>=s)return!0;if(this.endDate&&e<=this.stringToTime(this.endDate))return!0}return!1},getDatesOfTheMonth(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a),s=o.getMonth(),u=86400;o.setDate(1-o.getDay());const c=[];for(let f=0;f<6*7;f+=1){const _=this.dateToString(o),g=[];if(this.minDate){const[m,F,b]=this.minDate.split("-"),w=new Date(m,Number(F)-1,b);o<w&&g.push("out of range")}if(this.maxDate){const[m,F,b]=this.maxDate.split("-"),w=new Date(m,Number(F)-1,b);o>w&&g.push("out of range")}if(s===o.getMonth()){g.push("inside month");const m=this.stringToTime(this.dateToString(o)),F=m-u,b=m+u;this.isDateBetween(m)&&(g.push("selected"),this.isDateBetween(F)||g.push("left-highlighted"),this.isDateBetween(b)||g.push("right-highlighted"),(g.includes("left-highlighted")||g.includes("right-highlighted"))&&g.push("highlighted"))}this.dateToString(o)===this.dateToString(new Date)&&g.push("today"),c.push({properties:g,toString:()=>_}),o.setDate(o.getDate()+1)}return c},getMonthsOfTheYear(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setMonth(0);const s=[];for(let u=0;u<3*4;u+=1){const c=this.dateToString(o),f=[];f.push("inside month");const _=this.stringToTime(this.dateToString(o));let g=new Date(_),m=new Date(_);g.setMonth(g.getMonth()-1),m.setMonth(m.getMonth()+1),g=g.getTime(),m=m.getTime(),this.isDateBetweenMonth(_)&&(f.push("selected"),this.isDateBetweenMonth(g)||f.push("left-highlighted"),this.isDateBetweenMonth(m)||f.push("right-highlighted"),(f.includes("left-highlighted")||f.includes("right-highlighted"))&&f.push("highlighted")),this.dateToStringMonth(o)===this.dateToStringMonth(new Date)&&f.push("today"),s.push({properties:f,date:c,toString:()=>c}),o.setMonth(o.getMonth()+1)}return s},getYears(e){const[n,a,i]=e.split(" "),o=new Date(i,Number(n)-1,a);o.setMonth(0);const s=[];for(let u=0;u<3*4;u+=1){const c=this.dateToString(o),f=[];f.push("inside month");const _=this.stringToTime(this.dateToString(o)),[g,m,F]=e.split(" ");let b=new Date(F,Number(g)-1,m),w=new Date(F,Number(g)-1,m);b.setMonth(b.getMonth()-12),w.setMonth(w.getMonth()+12),b=b.getTime(),w=w.getTime(),this.isDateBetweenYear(_)&&(f.push("selected"),this.isDateBetweenYear(b)||f.push("left-highlighted"),this.isDateBetweenYear(w)||f.push("right-highlighted"),(f.includes("left-highlighted")||f.includes("right-highlighted"))&&f.push("highlighted")),this.dateToStringYear(o)===this.dateToStringYear(new Date)&&f.push("today"),s.push({properties:f,date:o.getFullYear(),toString:()=>c}),o.setFullYear(o.getFullYear()+1)}return s},selectDate(e){if(!this.startDate||!this.endDate)this.startDate=e.toString(),this.endDate=this.startDate;else{const n=this.stringToTime(e.toString()),a=this.stringToTime(this.startDate),i=this.stringToTime(this.endDate);a!==i?(this.startDate=e.toString(),this.endDate=this.startDate):n>i?this.endDate=e.toString():n<a?this.startDate=e.toString():n===a||n===i?(this.startDate=e.toString(),this.endDate=this.startDate):n-a<i-n?this.startDate=e.toString():this.endDate=e.toString()}},clear(){this.startDate="",this.endDate="",this.optionSelected=""},getStartAndEndDateByPeriod(e){let n,a;const i=new Date,o=e.match(/^last-(\d+)-days$/),s=e.match(/^last-(\d+)-months$/);if(o){const u=Number(o[1]);a=this.dateToString(i),i.setDate(i.getDate()-u+1),n=this.dateToString(i)}else if(s){const u=Number(s[1]);a=this.dateToString(i),i.setDate(i.getDate()+1),i.setMonth(i.getMonth()-u),n=this.dateToString(i)}else if(e==="current-month"){const u=new Date;i.setDate(1),n=this.dateToString(i);const c=u.getDate();i.setDate(c),a=this.dateToString(i)}else e==="previous-month"&&(i.setDate(1),i.setMonth(i.getMonth()-1),n=this.dateToString(i),i.setMonth(i.getMonth()+1),i.setDate(0),a=this.dateToString(i));return{startDate:n,endDate:a}},autoSelect(e){const{startDate:n,endDate:a}=this.getStartAndEndDateByPeriod(e);if(this.startDate=n,this.endDate=a,this.endDate){const i=this.addMonth(this.referenceDate,1),o=`${Number(this.getMonth(this.endDate))} 1 ${this.getFullYear(this.endDate)}`;[this.referenceDate,i].includes(o)||(this.referenceDate=o)}this.$nextTick(()=>{this.optionSelected=e})}}},D5={class:"unnnic-date-picker"},A5={class:"month-container"},E5=["onClick"],C5={class:"month-container"},x5=["onClick"],M5={class:"month-container"},B5=["onClick"],v5={key:3,class:"options-container"},j5={class:"options"},N5=["onClick"],S5={class:"actions"};function T5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",D5,[a.type==="day"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(s.openMonths,(c,f)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",A5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:`keyboard_arrow_${f===0?"left":"right"}`,type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:t.normalizeStyle({gridArea:`${f===0?"left":"right"}-button`}),onClick:t.withModifiers(_=>o.referenceDate=s.addMonth(o.referenceDate,f===0?-1:1),["stop"])},null,8,["iconCenter","type","style","onClick"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.monthsLocale[Number(s.getMonth(c))-1])+" "+t.toDisplayString(s.getFullYear(c)),3)],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`days--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.daysLocale,(_,g)=>(t.openBlock(),t.createElementBlock("div",{key:g,class:"name"},t.toDisplayString(_),1))),128)),(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getDatesOfTheMonth(c),(_,g)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${g}`,class:t.normalizeClass({disabled:!_.properties.includes("inside month")||_.properties.includes("out of range"),selectable:_.properties.includes("inside month")&&!_.properties.includes("out of range"),today:_.properties.includes("today"),selected:_.properties.includes("selected"),highlighted:_.properties.includes("highlighted"),left:_.properties.includes("left-highlighted"),right:_.properties.includes("right-highlighted")}),onClick:m=>_.properties.includes("inside month")&&!_.properties.includes("out of range")&&s.selectDate(_)},t.toDisplayString(s.getDate(_)),11,E5))),128))],2)]),n[4]||(n[4]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):a.type==="month"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList([o.referenceDate],c=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",C5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:"keyboard_arrow_left",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},onClick:n[0]||(n[0]=f=>o.referenceDate=s.addMonth(o.referenceDate,-12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.getFullYear(c)),3),t.createVNode(u,{size:"small",iconCenter:"keyboard_arrow_right",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},onClick:n[1]||(n[1]=f=>o.referenceDate=s.addMonth(o.referenceDate,12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getMonthsOfTheYear(c),(f,_)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${_}`,class:t.normalizeClass({disabled:!f.properties.includes("inside month"),selectable:f.properties.includes("inside month"),today:f.properties.includes("today"),selected:f.properties.includes("selected"),highlighted:f.properties.includes("highlighted"),left:f.properties.includes("left-highlighted"),right:f.properties.includes("right-highlighted")}),onClick:g=>f.properties.includes("inside month")&&s.selectDate(f)},t.toDisplayString(s.monthsLocale[s.getMonth(f)].substr(0,3)),11,x5))),128))],2)]),n[5]||(n[5]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):a.type==="year"?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:2},t.renderList([o.referenceDate],c=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:c},[t.createElementVNode("div",M5,[t.createElementVNode("div",{class:t.normalizeClass(["header",`header--${a.size}`])},[t.createVNode(u,{size:"small",iconCenter:"arrow-left-1-1",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"left-button"},onClick:n[2]||(n[2]=f=>o.referenceDate=s.addMonth(o.referenceDate,-12*12))},null,8,["type"]),t.createElementVNode("div",{class:t.normalizeClass(["label",`label--${a.size}`])},t.toDisplayString(s.getFullYear(c)),3),t.createVNode(u,{size:"small",iconCenter:"arrow-right-1-1",type:a.size==="large"?"secondary":"tertiary",class:"button-space",style:{gridArea:"right-button"},onClick:n[3]||(n[3]=f=>o.referenceDate=s.addMonth(o.referenceDate,12*12))},null,8,["type"])],2),t.createElementVNode("div",{class:t.normalizeClass(["days",`months--${a.size}`])},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.getYears(c),(f,_)=>(t.openBlock(),t.createElementBlock("div",{key:`${c}-${_}`,class:t.normalizeClass({disabled:!f.properties.includes("inside month"),selectable:f.properties.includes("inside month"),today:f.properties.includes("today"),selected:f.properties.includes("selected"),highlighted:f.properties.includes("highlighted"),left:f.properties.includes("left-highlighted"),right:f.properties.includes("right-highlighted")}),onClick:g=>f.properties.includes("inside month")&&s.selectDate(f)},t.toDisplayString(f.date),11,B5))),128))],2)]),n[6]||(n[6]=t.createElementVNode("div",{class:"divider"},null,-1))],64))),128)):t.createCommentVNode("",!0),a.size!=="small"?(t.openBlock(),t.createElementBlock("div",v5,[t.createElementVNode("div",j5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.periodsLocale,(c,f)=>(t.openBlock(),t.createElementBlock("div",{key:f,class:t.normalizeClass(["option",{selectable:c.id!=="custom",selected:o.optionSelected===c.id}]),onClick:_=>c.id==="custom"?null:s.autoSelect(c.id)},t.toDisplayString(c.name),11,N5))),128))]),t.createElementVNode("div",S5,[a.disableClear?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(u,{key:0,size:"small",text:s.clearText,type:"tertiary",onClick:s.clear},null,8,["text","onClick"])),t.createVNode(u,{size:"small",text:s.filterText,type:"secondary",onClick:s.submit},null,8,["text","onClick"])])])):t.createCommentVNode("",!0)])}const ps=V(k5,[["render",T5],["__scopeId","data-v-546e8a09"]]),IZ="",I5={components:{UnnnicInput:Ti,UnnnicDatePicker:ps},model:{event:"changed"},props:{modelValue:{type:Object,required:!0},iconPosition:{type:String,default:"left",validator(e){return["left","right"].includes(e)}},minDate:{type:String,default:""},maxDate:{type:String,default:""},fillW:{type:Boolean,default:!1},type:{type:String,default:"day"},size:{type:String,default:"md"},clearText:{type:String,default:"Clear"},actionText:{type:String,default:"Filter"},months:{type:Array,default:()=>[]},days:{type:Array,default:()=>[]},options:{type:Array,default:()=>[]},next:{type:Boolean,default:!1},format:{type:String,default:"YYYY-MM-DD"},inputFormat:{type:String,default:"MM-DD-YYYY"},position:{type:String,default:"left"},disableClear:{type:Boolean,default:!1}},emits:["update:model-value","selectDate"],data(){return{showCalendarFilter:!1,overwrittenValue:""}},computed:{filterText(){var n,a,i,o;const e=[];return(n=this.modelValue)!=null&&n.start&&e.push(J((a=this.modelValue)==null?void 0:a.start,this.format).format(this.inputFormat)),(i=this.modelValue)!=null&&i.end&&e.push(J((o=this.modelValue)==null?void 0:o.end,this.format).format(this.inputFormat)),e.length?e.join(" ~ "):String(this.inputFormat).replaceAll("-","/").toLowerCase()},initialStartDate(){return this.modelValue.start?J(this.modelValue.start,this.format).format("MM DD YYYY"):null},initialEndDate(){return this.modelValue.end?J(this.modelValue.end,this.format).format("MM DD YYYY"):null}},mounted(){window.document.body.addEventListener("click",this.mouseout)},beforeUnmount(){window.document.body.removeEventListener("click",this.mouseout)},methods:{emitSelectDate(e){const{startDate:n,endDate:a}=e,i={start:J(n,"MM-DD-YYYY").format(this.format),end:J(a,"MM-DD-YYYY").format(this.format)};this.$emit("selectDate",i)},mouseout(e){var n;(n=this.$refs.dropdown)!=null&&n.contains(e.target)||(this.showCalendarFilter=!1)},changeDate(e){const n=e.startDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2"),a=e.endDate.replace(/(\d+)-(\d+)-(\d+)/,"$3-$1-$2");this.showCalendarFilter=!1,this.$emit("update:model-value",{start:n?J(n,"YYYY-MM-DD").format(this.format):null,end:a?J(a,"YYYY-MM-DD").format(this.format):null})}}};function O5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicInput"),c=t.resolveComponent("UnnnicDatePicker");return t.openBlock(),t.createElementBlock("div",{ref:"dropdown",class:t.normalizeClass(["dropdown",{active:o.showCalendarFilter,"fill-w":a.fillW}])},[t.createVNode(u,{class:t.normalizeClass(["input",{"date-picker-input-next":a.next}]),size:a.size,iconLeft:a.iconPosition==="left"&&"calendar_month",iconRight:a.iconPosition==="right"&&"calendar_month",hasCloudyColor:"",readonly:"",modelValue:o.overwrittenValue||s.filterText,onFocus:n[0]||(n[0]=f=>o.showCalendarFilter=!0)},null,8,["class","size","iconLeft","iconRight","modelValue"]),t.createElementVNode("div",{class:"dropdown-data",style:t.normalizeStyle({[a.position]:"0"})},[o.showCalendarFilter?(t.openBlock(),t.createBlock(c,{key:0,equivalentOption:o.overwrittenValue,"onUpdate:equivalentOption":n[1]||(n[1]=f=>o.overwrittenValue=f),type:a.type,clearLabel:a.clearText,actionLabel:a.actionText,months:a.months,days:a.days,options:a.options,initialStartDate:s.initialStartDate,initialEndDate:s.initialEndDate,minDate:a.minDate,maxDate:a.maxDate,disableClear:a.disableClear,onChange:s.emitSelectDate,onSubmit:s.changeDate},null,8,["equivalentOption","type","clearLabel","actionLabel","months","days","options","initialStartDate","initialEndDate","minDate","maxDate","disableClear","onChange","onSubmit"])):t.createCommentVNode("",!0)],4)],2)}const nc=V(I5,[["render",O5],["__scopeId","data-v-d2a4c41c"]]),OZ="",L5={components:{UnnnicIcon:te},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 z5(e,n,a,i,o,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 ic=V(L5,[["render",z5],["__scopeId","data-v-46ae4cf4"]]),rc=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(rc),!0},q5=e=>{if(!(e!=null&&e[0]))throw new Error("Items property cannot be an empty array.");return e.forEach(rc),!0},LZ="",P5=["title"],V5={key:0,class:"unnnic-sidebar-item-children"},U5=["onClick"],R5=["title"],bs=V(Object.assign({name:"UnnnicSidebarItem"},{props:{item:{type:Object,required:!0,validator:rc},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:m}=a.active;typeof g=="number"&&g>=0&&m&&s()});const i=t.computed(()=>{var g;return!!((g=a.item.children)!=null&&g.length)}),o=t.ref(!1),s=()=>{o.value=!o.value,o.value&&a.autoNavigateFirstChild&&_("navigate",{item:a.item,child:a.item.children[0]})},u=g=>{const{item:m,childIndex:F}=a.active;return typeof F!="number"?m:m&&F===g},c=()=>{i.value?s():f()},f=()=>{a.active.item||_("navigate",{item:a.item,child:null})},_=n;return(g,m)=>{var F;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(te,{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,P5),(F=e.item.children)!=null&&F.length?(t.openBlock(),t.createBlock(te,{key:1,class:"unnnic-sidebar-item__arrow",icon:o.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(()=>[o.value?(t.openBlock(),t.createElementBlock("ul",V5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.item.children,(b,w)=>(t.openBlock(),t.createElementBlock("li",{key:b,class:t.normalizeClass({"unnnic-sidebar-item-child":!0,active:u(w)}),"data-testid":"sidebar-item-child",onClick:t.withModifiers(C=>!u(w)&&_("navigate",{item:e.item,child:b}),["stop"])},[b.icon?(t.openBlock(),t.createBlock(te,{key:0,class:"unnnic-sidebar-item-child__icon",icon:b.icon,size:"ant",scheme:u(w)?"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(w)}),title:b.label},t.toDisplayString(b.label),11,R5)],10,U5))),128))])):t.createCommentVNode("",!0)]),_:1})],64)}}}),[["__scopeId","data-v-418b1f69"]]),PZ="",Y5={class:"unnnic-sidebar-items"},oc=V(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:q5},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,o=({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",Y5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(c,f)=>(t.openBlock(),t.createElementBlock("li",{key:c},[t.createVNode(bs,{item:c,active:{item:e.active.itemIndex===f,childIndex:e.active.childIndex},autoNavigateFirstChild:e.autoNavigateFirstChild,"data-testid":"sidebar-item",onNavigate:u[0]||(u[0]=_=>o(_))},null,8,["item","active","autoNavigateFirstChild"])]))),128))]),t.renderSlot(s.$slots,"bottom",{class:"unnnic-sidebar-bottom"},void 0,!0)],2))}}),[["__scopeId","data-v-7bdf478e"]]),RZ="",H5={name:"UnnnicTable",components:{},props:{items:{type:Array}},data(){return{value:!1}},computed:{}},Q5={class:"unnnic-table"},G5={class:"header"},W5={class:"scroll"};function X5(e,n,a,i,o,s){return t.withDirectives((t.openBlock(),t.createElementBlock("div",Q5,[t.createElementVNode("div",G5,[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",W5,[(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 sc=V(H5,[["render",X5],["__scopeId","data-v-b2229274"]]),YZ="",HZ="",K5={name:"UnnnicTableRow",props:{headers:{type:Array}},data(){return{}}},Z5={class:"table-row"},J5={class:"break-text"};function $5(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",Z5,[(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",J5,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 lc=V(K5,[["render",$5],["__scopeId","data-v-cb0c6b93"]]);function Tg(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Xr(e){return typeof e=="function"?e():t.unref(e)}const Ig=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const e8=Object.prototype.toString,t8=e=>e8.call(e)==="[object Object]",Kr=()=>{},uc=a8();function a8(){var e,n;return Ig&&((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 Og={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function n8(...e){if(e.length!==1)return t.toRef(...e);const n=e[0];return typeof n=="function"?t.readonly(t.customRef(()=>({get:n,set:Kr}))):t.ref(n)}function Zr(e){var n;const a=Xr(e);return(n=a==null?void 0:a.$el)!=null?n:a}const Lg=Ig?window:void 0;function ys(...e){let n,a,i,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,o]=e,n=Lg):[n,a,i,o]=e,!n)return Kr;Array.isArray(a)||(a=[a]),Array.isArray(i)||(i=[i]);const s=[],u=()=>{s.forEach(g=>g()),s.length=0},c=(g,m,F,b)=>(g.addEventListener(m,F,b),()=>g.removeEventListener(m,F,b)),f=t.watch(()=>[Zr(n),Xr(o)],([g,m])=>{if(u(),!g)return;const F=t8(m)?{...m}:m;s.push(...a.flatMap(b=>i.map(w=>c(g,b,w,F))))},{immediate:!0,flush:"post"}),_=()=>{f(),u()};return Tg(_),_}let zg=!1;function qg(e,n,a={}){const{window:i=Lg,ignore:o=[],capture:s=!0,detectIframe:u=!1}=a;if(!i)return Kr;uc&&!zg&&(zg=!0,Array.from(i.document.body.children).forEach(F=>F.addEventListener("click",Kr)),i.document.documentElement.addEventListener("click",Kr));let c=!0;const f=F=>o.some(b=>{if(typeof b=="string")return Array.from(i.document.querySelectorAll(b)).some(w=>w===F.target||F.composedPath().includes(w));{const w=Zr(b);return w&&(F.target===w||F.composedPath().includes(w))}}),g=[ys(i,"click",F=>{const b=Zr(e);if(!(!b||b===F.target||F.composedPath().includes(b))){if(F.detail===0&&(c=!f(F)),!c){c=!0;return}n(F)}},{passive:!0,capture:s}),ys(i,"pointerdown",F=>{const b=Zr(e);c=!f(F)&&!!(b&&!F.composedPath().includes(b))},{passive:!0}),u&&ys(i,"blur",F=>{setTimeout(()=>{var b;const w=Zr(e);((b=i.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!(w!=null&&w.contains(i.document.activeElement))&&n(F)},0)})].filter(Boolean);return()=>g.forEach(F=>F())}const Jr={[Og.mounted](e,n){const a=!n.modifiers.bubble;if(typeof n.value=="function")e.__onClickOutside_stop=qg(e,n.value,{capture:a});else{const[i,o]=n.value;e.__onClickOutside_stop=qg(e,i,Object.assign({capture:a},o))}},[Og.unmounted](e){e.__onClickOutside_stop()}};function cc(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Pg(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:Pg(a)}}function i8(e){const n=e||window.event,a=n.target;return Pg(a)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const dc=new WeakMap;function r8(e,n=!1){const a=t.ref(n);let i=null,o="";t.watch(n8(e),c=>{const f=cc(Xr(c));if(f){const _=f;if(dc.get(_)||dc.set(_,_.style.overflow),_.style.overflow!=="hidden"&&(o=_.style.overflow),_.style.overflow==="hidden")return a.value=!0;if(a.value)return _.style.overflow="hidden"}},{immediate:!0});const s=()=>{const c=cc(Xr(e));!c||a.value||(uc&&(i=ys(c,"touchmove",f=>{i8(f)},{passive:!1})),c.style.overflow="hidden",a.value=!0)},u=()=>{const c=cc(Xr(e));!c||!a.value||(uc&&(i==null||i()),c.style.overflow=o,dc.delete(c),a.value=!1)};return Tg(u),t.computed({get(){return a.value},set(c){c?s():u()}})}function o8(){let e=!1;const n=t.ref(!1);return(a,i)=>{if(n.value=i.value,e)return;e=!0;const o=r8(a,i.value);t.watch(n,s=>o.value=s)}}o8();const QZ="",s8={name:"UnnnicDropdown",directives:{onClickOutside:Jr},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)}}}},l8={class:"unnnic-dropdown__trigger"};function u8(e,n,a,i,o,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",l8,[t.renderSlot(e.$slots,"trigger",{},void 0,!0),(a.useOpenProp?a.open:o.active)?t.withDirectives((t.openBlock(),t.createElementBlock("div",{key:0,"data-testid":"dropdown-content",class:t.normalizeClass(["unnnic-dropdown__content",a.useOpenProp?a.open:o.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 $r=V(s8,[["render",u8],["__scopeId","data-v-eb4f06f5"]]),GZ="",c8={name:"UnnnicDropdownItem"},d8={class:"unnnic-dropdown-item unnnic--clickable","data-testid":"dropdown-item"};function f8(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("a",d8,[t.renderSlot(e.$slots,"default")])}const ws=V(c8,[["render",f8]]),WZ="",_8={components:{UnnnicIcon:te},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 g8(e,n,a,i,o,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 Vn=V(_8,[["render",g8],["__scopeId","data-v-d0742329"]]),XZ="",h8={name:"UnnnicCard",components:{UnnnicIcon:te,UnnnicAvatarIcon:Vn},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"}}},m8={class:"unnnic-card-dash"},F8={class:"header"},p8={class:"label"},b8={class:"content"},y8={class:"value"},w8={class:"label"};function k8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicAvatarIcon"),c=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",m8,[t.createElementVNode("div",F8,[t.createVNode(u,{size:"sm",scheme:a.scheme,icon:a.icon},null,8,["scheme","icon"]),t.createElementVNode("div",p8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",b8,[t.createElementVNode("div",y8,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",w8,t.toDisplayString(a.percent>=0?`+${a.percent}%`:`${a.percent}%`),1)],2)):t.createCommentVNode("",!0)])])}const D8=V(h8,[["render",k8],["__scopeId","data-v-aab8cf56"]]),KZ="",A8={name:"UnnnicCard",components:{ToolTip:Mt,UnnnicIcon:te},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}}},E8={class:"unnnic-card-title"},C8={class:"title"};function x8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("ToolTip");return t.openBlock(),t.createElementBlock("div",E8,[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",C8,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 Vg=V(A8,[["render",x8],["__scopeId","data-v-14d9d015"]]),ZZ="",M8={name:"UnnnicCard",components:{UnnnicIcon:te},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}}},B8={class:"header"},v8={class:"label"},j8={class:"content"},N8={class:"title-container"},S8={class:"title"},T8={class:"description"};function I8(e,n,a,i,o,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",B8,[t.createVNode(u,{icon:a.icon,scheme:"neutral-dark",size:"md",class:"icon"},null,8,["icon"]),t.createElementVNode("div",v8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",j8,[t.createElementVNode("div",N8,[t.createVNode(u,{icon:"indicator",scheme:a.scheme,size:"sm"},null,8,["scheme"]),t.createElementVNode("div",S8,t.toDisplayString(a.status),1)]),t.createElementVNode("div",T8,t.toDisplayString(a.description),1)])],2)}const O8=V(M8,[["render",I8],["__scopeId","data-v-1fc599bf"]]),JZ="",L8={name:"UnnnicCard",components:{UnnnicAvatarIcon:Vn},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}}},z8={class:"icon"},q8={class:"content"},P8={class:"title"},V8={class:"description"};function U8(e,n,a,i,o,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",z8,[t.createVNode(u,{size:"xs",scheme:a.scheme,icon:a.icon,enabled:a.enabled},null,8,["scheme","icon","enabled"])]),t.createElementVNode("div",q8,[t.createElementVNode("div",P8,t.toDisplayString(a.title),1),t.createElementVNode("div",V8,t.toDisplayString(a.description),1)])],2)}const R8=V(L8,[["render",U8],["__scopeId","data-v-7f42cb11"]]),$Z="",Y8={name:"UnnnicCard",props:{title:{type:String,default:null},description:{type:String,default:null},clickable:{type:Boolean,default:!1}}},H8={class:"unnnic-card-default__content"},Q8={class:"unnnic-card-default__title"},G8=["title"];function W8(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-card-default":!0,"unnnic-card-default__clickable":a.clickable})},[t.createElementVNode("div",H8,[t.createElementVNode("div",Q8,t.toDisplayString(a.title),1),t.createElementVNode("p",{class:"unnnic-card-default__description",title:a.description},t.toDisplayString(a.description),9,G8)])],2)}const X8=V(Y8,[["render",W8]]),eJ="",K8={name:"UnnnicCard",components:{UnnnicIcon:te},props:{text:{type:String,default:null},icon:{type:String,default:null},clickable:{type:Boolean,default:!1}}},Z8={class:"unnnic-card-blank__content"},J8={class:"unnnic-card-blank__content__text"};function $8(e,n,a,i,o,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",Z8,[t.createVNode(u,{icon:a.icon,scheme:"neutral-clean",class:"unnnic-card-blank__content__icon",size:"xl"},null,8,["icon"]),t.createElementVNode("div",J8,t.toDisplayString(a.text),1)])],2)}const e7=V(K8,[["render",$8]]),tJ="",t7={name:"UnnnicCard",components:{UnnnicIcon:te},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}}},a7={class:"unnnic-card-content__content"},n7={class:"unnnic-card-content__content__title"},i7={class:"unnnic-card-content__content__description"};function r7(e,n,a,i,o,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",a7,[t.createElementVNode("div",n7,t.toDisplayString(a.title),1),t.createElementVNode("div",i7,t.toDisplayString(a.description),1)])],2)}const o7=V(t7,[["render",r7]]),aJ="",s7={name:"UnnnicCard",components:{UnnnicIcon:te},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")}}},l7={class:t.normalizeClass(["unnnic-card-marketplace__icons"])},u7=["src"],c7={class:"unnnic-card-marketplace__content"},d7={class:"unnnic-card-marketplace__content__title"},f7=["title"],_7={key:0,class:"unnnic-card-marketplace__content__rating"},g7={class:"unnnic-card-marketplace__content__rating__value"},h7={class:"unnnic-card-marketplace__content__rating__comments"};function m7(e,n,a,i,o,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",l7,[t.createElementVNode("img",{class:"unnnic-card-marketplace__icons__app",src:a.iconSrc},null,8,u7),t.renderSlot(e.$slots,"actions")]),t.createElementVNode("div",c7,[t.createElementVNode("div",d7,t.toDisplayString(a.title),1),t.createElementVNode("div",{class:"unnnic-card-marketplace__content__description",title:a.description},t.toDisplayString(a.description),9,f7),a.typeAction==="add"?(t.openBlock(),t.createElementBlock("div",_7,[t.createVNode(u,{class:"unnnic-card-marketplace__content__rating__star",scheme:"feedback-yellow",icon:"rating-star-1",size:"ant",filled:""}),t.createElementVNode("div",g7,t.toDisplayString(a.rating),1),t.createElementVNode("div",h7," ("+t.toDisplayString(a.comments)+") ",1)])):t.createCommentVNode("",!0)])],2)}const F7=V(s7,[["render",m7]]),nJ="",p7={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"?Vg:this.type==="dash"?D8:this.type==="status"?O8:this.type==="account"?R8:this.type==="default"?X8:this.type==="blank"?e7:this.type==="content"?o7:this.type==="marketplace"?F7:Vg}},methods:{openModal(){this.$emit("openModal")}}};function b7(e,n,a,i,o,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 fc=V(p7,[["render",b7]]),iJ="",_c={name:"UnnnicSimpleCard",components:{UnnnicToolTip:Mt,UnnnicIcon:te},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"]},Ug=()=>{t.useCssVars(e=>({"14ad6579":e.titleSize}))},Rg=_c.setup;_c.setup=Rg?(e,n)=>(Ug(),Rg(e,n)):Ug;const y7={key:0,class:"unnnic-simple-card__header"},w7={class:"unnnic-simple-card-header-container"},k7={class:"unnnic-simple-card-header-container__title"},D7={key:0,class:"unnnic-simple-card__header-slot"},A7=["title"],E7={key:2,class:"unnnic-simple-card__footer"};function C7(e,n,a,i,o,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(f=>a.clickable&&e.$emit("click"),["stop"]))},[a.title||e.$slots.headerSlot?(t.openBlock(),t.createElementBlock("section",y7,[t.createElementVNode("section",w7,[t.createElementVNode("h1",k7,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",D7,[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,A7)):t.createCommentVNode("",!0),e.$slots.footer?(t.openBlock(),t.createElementBlock("section",E7,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])):t.createCommentVNode("",!0)],2)}const gc=V(_c,[["render",C7],["__scopeId","data-v-80dbbab7"]]),x7=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,o=_=>{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":""),f=t.computed(()=>a.isSelected?"chip--is-selected":"");return(_,g)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["chip",f.value,{"chip--border":s.value,"chip--is-clickable":_.isClickable}]),onClick:o},[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(te,{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))}}),rJ="",ks=V(x7,[["__scopeId","data-v-cf90ea74"]]),bn={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}"}}},M7={key:0,class:"unnnic-tag__icon"},B7={class:t.normalizeClass("unnnic-tag__label")},v7=t.defineComponent({__name:"DefaultTag",props:{text:{default:void 0},size:{default:"medium"},scheme:{default:"aux-purple"},leftIcon:{default:void 0}},setup(e){t.useCssVars(o=>({"1096da9a":i.value}));const n=e,a=[{keywords:["green"],color:bn.green[200].value},{keywords:["blue"],color:bn.blue[200].value},{keywords:["purple"],color:bn.purple[200].value},{keywords:["red","pink"],color:bn.red[200].value},{keywords:["orange"],color:bn.orange[200].value},{keywords:["yellow"],color:bn.yellow[200].value},{keywords:["gray"],color:bn.gray[200].value},{keywords:["teal","weni"],color:bn.teal[200].value}],i=t.computed(()=>{const o=n.scheme.toLowerCase(),s=a.find(({keywords:u})=>u.some(c=>o.includes(c)));return(s==null?void 0:s.color)??bn.gray[200].value});return(o,s)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(`unnnic-tag unnnic-tag--${o.size}`)},[o.leftIcon?(t.openBlock(),t.createElementBlock("section",M7,[t.createVNode(te,{icon:o.leftIcon,scheme:"fg-emphasized",size:"sm"},null,8,["icon"])])):t.createCommentVNode("",!0),t.createElementVNode("p",B7,t.toDisplayString(o.text),1)],2))}}),oJ="",j7=V(v7,[["__scopeId","data-v-2f043350"]]),Ki=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(ks,{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(j7,{key:1,size:n.type==="next"?"small":n.size,text:n.text,scheme:n.scheme,leftIcon:n.leftIcon},null,8,["size","text","scheme","leftIcon"]))}}),sJ="",N7={components:{UnnnicTag:Ki},mixins:[Wt],props:{oldVersion:Boolean,name:String,description:String,plan:String,actionText:String},data(){return{isOptionsOpen:!1}}},S7={class:"name"},T7={class:"description"},I7={key:1};function O7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicTag"),c=t.resolveComponent("UnnnicIcon"),f=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",S7,t.toDisplayString(a.name),1),t.createElementVNode("p",T7,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",I7,[t.createVNode(f,{open:o.isOptionsOpen,"onUpdate:open":n[1]||(n[1]=_=>o.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:o.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 hc=V(N7,[["render",O7],["__scopeId","data-v-331afc72"]]),lJ="",L7={components:{UnnnicIcon:te},props:{title:{type:String},description:{type:String},score:{type:String},info:{type:String},checked:{type:Boolean,default:!1}}},z7={class:"card"},q7={class:"header"},P7={class:"title"},V7={key:0,class:"check"},U7={class:"description"},R7={key:0,class:"footer"},Y7={class:"evaluation"},H7={class:"info"};function Q7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",z7,[t.createElementVNode("div",q7,[t.createElementVNode("div",P7,t.toDisplayString(a.title),1),a.checked?(t.openBlock(),t.createElementBlock("div",V7,[t.createVNode(u,{size:"md",icon:"check-circle-1-1-1",scheme:"feedback-green"})])):t.createCommentVNode("",!0)]),t.createElementVNode("div",U7,t.toDisplayString(a.description),1),a.score||a.info?(t.openBlock(),t.createElementBlock("div",R7,[t.createElementVNode("div",Y7,[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",H7,t.toDisplayString(a.info),1)])])):t.createCommentVNode("",!0)])}const mc=V(L7,[["render",Q7],["__scopeId","data-v-b40ec35c"]]),uJ="",G7={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:Ia.pick,click(){const e=["checked","less"].includes(this.valueName);this.$emit("change",!e),this.$emit("update:model-value",!e)}}},W7={class:"unnnic-checkbox"},X7=["disabled","checked"],K7={key:0,class:"unnnic-checkbox__helper"};function Z7(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("section",W7,[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,X7),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",K7,t.toDisplayString(a.helper),1)):t.createCommentVNode("",!0)])}const Zi=V(G7,[["render",Z7],["__scopeId","data-v-14c8c277"]]),cJ="",J7={components:{UnnnicIcon:te,UnnnicCheckbox:Zi,UnnnicAvatarIcon:Vn,UnnnicDropdown:$r},props:{modelValue:Boolean,title:String,description:String,image:String,data:{type:Array,default(){return[]}}}},$7={class:"header"},eA={class:"content"},tA={key:0,class:"u font secondary body-lg bold color-neutral-darkest"},aA={key:1,class:"u font secondary body-md color-neutral-cloudy"},nA=["src"],iA={key:0,class:"details"},rA={class:"u font secondary body-gt color-neutral-dark"},oA={class:"value-container"},sA={class:"u font secondary body-gt black color-neutral-darkest"};function lA(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicCheckbox"),c=t.resolveComponent("UnnnicIcon"),f=t.resolveComponent("UnnnicDropdown"),_=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["unnnic-card-image",{checked:a.modelValue}])},[t.createElementVNode("div",$7,[t.createElementVNode("div",eA,[a.title?(t.openBlock(),t.createElementBlock("div",tA,t.toDisplayString(a.title),1)):t.createCommentVNode("",!0),a.description?(t.openBlock(),t.createElementBlock("div",aA,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(f,{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,nA),a.data.length?(t.openBlock(),t.createElementBlock("div",iA,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.data,(g,m)=>(t.openBlock(),t.createElementBlock("div",{key:m,class:"data"},[t.createElementVNode("div",rA,t.toDisplayString(g.name),1),t.createElementVNode("div",oA,[t.createVNode(_,{icon:g.icon,size:"xs",scheme:g.scheme},null,8,["icon","scheme"]),t.createElementVNode("div",sA,t.toDisplayString(g.value),1)])]))),128))])):t.createCommentVNode("",!0)],2)}const Fc=V(J7,[["render",lA],["__scopeId","data-v-87c573e3"]]),dJ="",uA={components:{UnnnicIcon:te,UnnnicDropdown:$r,UnnnicDropdownItem:ws},mixins:[Wt],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)}}},cA={class:"unnnic-card-project__header"},dA=["title"],fA={class:"unnnic-card-project__description"},_A=["title"],gA={class:"unnnic-card-project__bottom"},hA={class:"unnnic-card-project__status-options-container"};function mA(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicDropdown"),f=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",cA,[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,dA),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",fA,[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,_A)]),t.createElementVNode("section",gA,[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:o.openDropdown,useOpenProp:"","data-testid":"status-dropdown","onUpdate:open":n[0]||(n[0]=_=>o.openDropdown=_)},{default:t.withCtx(()=>[t.createElementVNode("section",hA,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.statusOptions,_=>(t.openBlock(),t.createBlock(f,{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 pc=V(uA,[["render",mA],["__scopeId","data-v-d7f7ed7d"]]),fJ="",FA={components:{UnnnicAvatarIcon:Vn,UnnnicToolTip:Mt,UnnnicIcon:te},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*xr}}},pA={class:"unnnic-card-container"},bA={class:"header"},yA={class:"title"},wA=["title"],kA={key:0,class:"subtitle"},DA={key:0,class:"description"},AA={key:1,class:"description-row-container"},EA={key:0,class:"description-row"},CA={class:"title"},xA={class:"content"},MA={class:"number"};function BA(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicToolTip"),f=t.resolveComponent("UnnnicAvatarIcon");return t.openBlock(),t.createElementBlock("div",pA,[t.createElementVNode("div",bA,[t.createElementVNode("div",yA,[t.createElementVNode("span",{class:"name",title:a.name.length>25?a.name:null},t.toDisplayString(a.name),9,wA),a.subtitle?(t.openBlock(),t.createElementBlock("div",kA,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"header-buttons",{},void 0,!0)]),a.description?(t.openBlock(),t.createElementBlock("div",DA,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0),a.descriptionRow||a.descriptionRowInfo?(t.openBlock(),t.createElementBlock("div",AA,[a.descriptionRow?(t.openBlock(),t.createElementBlock("div",EA,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",CA,t.toDisplayString(_.title),1),t.createElementVNode("div",xA,[t.createVNode(f,{icon:_.icon,scheme:_.scheme,size:"xs"},null,8,["icon","scheme"]),t.createElementVNode("div",MA,t.toDisplayString(_.count),1)])]))),128))],4)])}const vA=V(FA,[["render",BA],["__scopeId","data-v-d88c3045"]]),_J="",jA={components:{CardStatusesContainer:vA},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:xr}}};function NA(e,n,a,i,o,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*o.unnnicFontSize+"px"},null,8,["name","subtitle","description","descriptionRow","descriptionRowInfo","statuses","minStatusWidth"])}const bc=V(jA,[["render",NA],["__scopeId","data-v-ee17403c"]]),gJ="",SA={class:"unnnic-checkbox-group__checkboxes"},TA={key:1,class:"unnnic-checkbox-group__helper"},yc=V({__name:"CheckboxGroup",props:{state:{type:String,default:"horizontal",validator(e){return["horizontal","vertical"].includes(e)}},label:{type:String},labelTooltip:{type:String},labelUseHtmlTooltip:{type:Boolean},helper:{type:String}},setup(e){return(n,a)=>(t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["unnnic-checkbox-group__container",`unnnic-checkbox-group--state-${e.state}`])},[e.label?(t.openBlock(),t.createBlock(Ni,{key:0,label:e.label,tooltip:e.labelTooltip,useHtmlTooltip:e.labelUseHtmlTooltip},null,8,["label","tooltip","useHtmlTooltip"])):t.createCommentVNode("",!0),t.createElementVNode("section",SA,[t.renderSlot(n.$slots,"default",{},void 0,!0)]),e.helper?(t.openBlock(),t.createElementBlock("footer",TA,t.toDisplayString(e.helper),1)):t.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-04aa1063"]]),mJ="",IA={class:"unnnic-collapse__body"},wc=V({__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,o=t.ref(!1);return t.watch(o,s=>{i("change",s),i("update:modelValue",s)}),t.watch(()=>a.active,s=>{o.value=s},{immediate:!0}),t.watch(()=>a.modelValue,s=>{o.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":o.value}])},[t.createElementVNode("div",{"data-testid":"collapse-header",class:"unnnic-collapse__header",onClick:u[0]||(u[0]=c=>o.value=!o.value)},[t.createTextVNode(t.toDisplayString(e.title),1),t.renderSlot(s.$slots,"header",{},void 0,!0),t.createVNode(te,{size:"ant",icon:o.value?"arrow-button-up-1":"arrow-button-down-1",scheme:o.value?"neutral-dark":"neutral-cloudy"},null,8,["icon","scheme"])]),t.withDirectives(t.createElementVNode("div",IA,[t.renderSlot(s.$slots,"default",{},void 0,!0)],512),[[t.vShow,o.value]])],2))}},[["__scopeId","data-v-4c30fa39"]]),pJ="",OA={class:"unnnic-radio"},LA=["disabled","checked","name"],zA={key:0,class:"unnnic-radio__helper"},Ds=V({__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,o=t.inject("contextModelValue",void 0),s=t.inject("contextName",void 0);function u(){a.disabled||(i("update:modelValue",a.value),o&&(o.value=a.value))}const c=t.computed(()=>(o==null?void 0:o.value)||a.modelValue),f=t.computed(()=>(s==null?void 0:s.value)||a.name);return(_,g)=>(t.openBlock(),t.createElementBlock("section",OA,[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:f.value},t.unref(Ia.pick)(_.$attrs,["id"])),null,16,LA),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",zA,t.toDisplayString(e.helper),1)):t.createCommentVNode("",!0)],2)]))}},[["__scopeId","data-v-7e12a100"]]),qA={name:"Flag",components:{UnnnicIcon:te},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 PA(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createBlock(u,{icon:s.name,size:a.size},null,8,["icon","size"])}const VA=V(qA,[["render",PA]]),yJ="",UA={name:"LanguageSelect",components:{UnnnicFlag:VA,UnnnicIcon:te},directives:{onClickOutside:Jr},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:xr}},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)}}},RA={key:0,class:"unnnic-language-select contracted"},YA={class:"option"},HA=["onClick"],QA={key:1,class:"unnnic-language-select normal"},GA={class:"option"},WA={class:"label"},XA=["onClick"],KA={class:"label"},ZA={class:"option"},JA={class:"label"};function $A(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicFlag"),c=t.resolveComponent("UnnnicIcon"),f=t.resolveDirective("on-click-outside");return a.contracted?t.withDirectives((t.openBlock(),t.createElementBlock("div",RA,[t.createElementVNode("div",{class:t.normalizeClass(["container contracted",{open:o.open}]),onClick:n[0]||(n[0]=(..._)=>s.onClickTrigger&&s.onClickTrigger(..._))},[t.createElementVNode("div",YA,[t.createVNode(u,{size:"sm",code:o.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=>o.val=_.id},[t.createVNode(u,{size:"sm",code:_.id},null,8,["code"])],8,HA))),128))],2)])),[[f,s.onClickOutside]]):t.withDirectives((t.openBlock(),t.createElementBlock("div",QA,[t.createElementVNode("div",{class:t.normalizeClass(["container normal",{open:o.open}]),onClick:n[1]||(n[1]=(..._)=>s.onClickTrigger&&s.onClickTrigger(..._))},[t.createElementVNode("div",{style:t.normalizeStyle({position:"absolute",[a.position==="bottom"?"top":"bottom"]:-.125*o.unnnicFontSize+"px",width:"100%",padding:.0625*o.unnnicFontSize+"px",left:-.0625*o.unnnicFontSize+"px"}),class:"all"},[a.position==="bottom"?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[t.createElementVNode("div",GA,[t.createVNode(u,{size:"sm",code:o.val},null,8,["code"]),t.createElementVNode("div",WA,t.toDisplayString(s.languages[o.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=>o.val=_.id},[t.createVNode(u,{size:"sm",code:_.id},null,8,["code"]),t.createElementVNode("div",KA,t.toDisplayString(s.languages[_.id]),1)],8,XA))),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",ZA,[t.createVNode(u,{size:"sm",code:o.val},null,8,["code"]),t.createElementVNode("div",JA,t.toDisplayString(s.languages[o.val]),1),t.createVNode(c,{size:"xs",icon:s.dropdownIcon,scheme:"neutral-clean"},null,8,["icon"])])],64)):t.createCommentVNode("",!0)],4)],2)])),[[f,s.onClickOutside]])}const kc=V(UA,[["render",$A]]),wJ="",eE={name:"UnnnicModal",components:{UnnnicIcon:te},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")}}},tE={ref:"modal",class:"unnnic-modal-container-background"},aE={class:"unnnic-modal-container-background-body"},nE={key:0,class:"unnnic-modal-container-background-body-close_icon"},iE={key:1,class:"unnnic-modal-container-background-body__icon-slot"},rE={class:"unnnic-modal-container-background-body-title"},oE={class:"unnnic-modal-container-background-body-description-container"},sE={class:"unnnic-modal-container-background-body-description"},lE={key:0,class:"unnnic-modal-container-background-report"},uE={key:1,class:"unnnic-modal-container-background-button"};function cE(e,n,a,i,o,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",tE,[t.createElementVNode("div",aE,[a.closeIcon?(t.openBlock(),t.createElementBlock("div",nE,[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",iE,[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",rE,t.toDisplayString(a.text),1)]),t.createElementVNode("div",oE,[t.createElementVNode("div",sE,[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",lE,t.toDisplayString(a.alertMessage),1)):t.createCommentVNode("",!0),s.hasButton?(t.openBlock(),t.createElementBlock("div",uE,[t.renderSlot(e.$slots,"options",{},void 0,!0)])):t.createCommentVNode("",!0)],512)])],16)):t.createCommentVNode("",!0)]),_:3})}const As=V(eE,[["render",cE],["__scopeId","data-v-64ca1a24"]]),Yg={"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(Yg);const Hg={"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(Hg);var pa=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)},Ji,eo,Fi;class dE{constructor(...n){Ji.set(this,new Map),eo.set(this,new Map),Fi.set(this,new Map);for(const a of n)this.define(a)}define(n,a=!1){for(let[i,o]of Object.entries(n)){i=i.toLowerCase(),o=o.map(c=>c.toLowerCase()),pa(this,Fi,"f").has(i)||pa(this,Fi,"f").set(i,new Set);const s=pa(this,Fi,"f").get(i);let u=!0;for(let c of o){const f=c.startsWith("*");if(c=f?c.slice(1):c,s==null||s.add(c),u&&pa(this,eo,"f").set(i,c),u=!1,f)continue;const _=pa(this,Ji,"f").get(c);if(_&&_!=i&&!a)throw new Error(`"${i} -> ${c}" conflicts with "${_} -> ${c}". Pass \`force=true\` to override this definition.`);pa(this,Ji,"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(),o=a.length<n.length;return!(i.length<a.length-1)&&o?null:pa(this,Ji,"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&&pa(this,eo,"f").get(n.trim().toLowerCase()))??null)}getAllExtensions(n){return typeof n!="string"?null:pa(this,Fi,"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 pa(this,Fi,"f").values())Object.freeze(n);return this}_getTestState(){return{types:pa(this,Ji,"f"),extensions:pa(this,eo,"f")}}}Ji=new WeakMap,eo=new WeakMap,Fi=new WeakMap;const fE=new dE(Hg,Yg)._freeze(),kJ="",_E={class:"unnnic-upload-area__dropzone__content"},gE={class:"unnnic-upload-area__dropzone__content__title"},hE=["title"],mE=["accept","multiple"],Es=V({__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),o=t.ref(0),s=t.ref(),u=t.useTemplateRef("file"),c=e,f=n,_=t.getCurrentInstance();function g(L){var O,ne;return!!((ne=(O=_==null?void 0:_.vnode)==null?void 0:O.props)!=null&&ne[L])}const m=t.computed(()=>c.supportedFormats.split(",").map(O=>O.toUpperCase()).join(", "));function F(){c.disabled||(o.value+=1,a.value=!0)}function b(){c.disabled||(a.value=!0)}function w(){c.disabled||(o.value-=1,o.value===0&&(a.value=!1))}function C(){c.disabled||(a.value=!1)}function A(L){if(c.disabled)return;a.value=!1;const{files:O}=L.dataTransfer;x(O)&&P(O)}function N(){c.disabled||u.value.click()}function S(L){if(c.disabled)return;const{files:O}=L.target;x(O)&&P(O),s.value.value=""}function D(){i.value=!0,setTimeout(()=>{i.value=!1},5e3)}function x(L){return!c.acceptMultiple&&L.length>1?(D(),!1):q(L)?T(L)?!0:(g("onExceededTheMaximumFileSizeLimit")?f("exceededTheMaximumFileSizeLimit"):D(),!1):(g("onUnsupportedFormat")?f("unsupportedFormat"):D(),!1)}function q(L){if(c.supportedFormats==="*")return!0;const O=c.supportedFormats.split(",").map(_e=>_e.trim());return Array.from(L).find(_e=>{const ie=_e.name.toLowerCase(),de=_e.type.toLowerCase(),Ce=`.${ie.split(".").pop()}`,we=O.includes(Ce),pe=de===fE.getType(ie);return we&&pe})}function T(L){return c.maxFileSize?Array.from(L).find(ne=>(ne.size/1048576).toFixed(2)<=c.maxFileSize):!0}function P(L){let O=L.length;if(c.shouldReplace||(O+=c.currentFiles.length),O>c.maximumUploads){D();return}const ne=Array.from(L).filter(ie=>!!(q([ie])&&T([ie])));let _e;c.shouldReplace?_e=ne:_e=c.currentFiles.concat(ne),f("update:currentFiles",_e),f("fileChange",_e)}return(L,O)=>(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(F,["stop","prevent"]),onDragover:t.withModifiers(b,["stop","prevent"]),onDragleave:t.withModifiers(w,["stop","prevent"]),onDragend:t.withModifiers(C,["stop","prevent"]),onDrop:t.withModifiers(A,["stop","prevent"]),onClick:N},[t.createVNode(te,{class:"unnnic-upload-area__dropzone__icon",icon:"upload",scheme:i.value?"feedback-red":"weni-500",size:"lg"},null,8,["scheme"]),t.createElementVNode("div",_E,[t.createElementVNode("span",gE,[t.renderSlot(L.$slots,"title",{},()=>[t.createTextVNode(t.toDisplayString(L.$t("upload_area.title.text"))+" ",1),t.createElementVNode("span",{class:t.normalizeClass(`unnnic-upload-area__dropzone__content__title__${i.value?"error":"search"}`)},t.toDisplayString(L.$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:m.value},[t.renderSlot(L.$slots,"subtitle",{},()=>[t.createTextVNode(t.toDisplayString(e.subtitle||`${L.$t(`upload_area${i.value?".invalid":""}.subtitle`)} ${m.value}`),1)],!0)],10,hE)]),t.withDirectives(t.createElementVNode("input",{ref_key:"file",ref:s,type:"file",accept:e.supportedFormats,multiple:e.acceptMultiple,onInput:S},null,40,mE),[[t.vShow,!1]])],34))}},[["__scopeId","data-v-936a11ab"]]),AJ="",FE={name:"ImportCard",components:{UnnnicButton:vt,UnnnicIcon:te},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")}}},pE={class:"unnnic-import-card"},bE={class:"unnnic-import-card__data"},yE={key:0,class:"unnnic-import-card__data__title"},wE={key:1,class:"unnnic-import-card__data__title"},kE={key:2,class:"unnnic-import-card__data__subtitle"},DE={key:0,class:"unnnic-import-card__data__subtitle__text"},AE={key:1,class:"unnnic-import-card__data__subtitle__progress"},EE={class:"unnnic-import-card__buttons"},CE=["accept"];function xE(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",pE,[t.createVNode(u,{class:"unnnic-import-card__file-icon",size:"md",scheme:"weni-600",icon:s.fileIcon},null,8,["icon"]),t.createElementVNode("div",bE,[a.isImporting?(t.openBlock(),t.createElementBlock("div",yE,t.toDisplayString(e.$t("import_card.importing"))+"... ",1)):(t.openBlock(),t.createElementBlock("div",wE,t.toDisplayString(a.title),1)),a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",kE,[a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",DE,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0),a.subtitle&&a.isImporting?(t.openBlock(),t.createElementBlock("div",AE,"  - "+t.toDisplayString(a.importProgress)+"% ",1)):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),t.createElementVNode("div",EE,[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]=(...f)=>s.handleFileChange&&s.handleFileChange(...f))},null,40,CE)]),_: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 Cs=V(FE,[["render",xE],["__scopeId","data-v-0990f36a"]]),EJ="",ME={name:"UnnnicUploadArea",components:{UnnnicDropArea:Es,UnnnicImportCard:Cs},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()}}},BE={key:0,class:"unnnic-upload-area__cards"};function vE(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicDropArea"),c=t.resolveComponent("UnnnicImportCard");return t.openBlock(),t.createElementBlock("div",null,[t.createVNode(u,{currentFiles:o.currentFiles,"onUpdate:currentFiles":n[0]||(n[0]=f=>o.currentFiles=f),acceptMultiple:a.acceptMultiple,supportedFormats:a.supportedFormats,maxFileSize:a.maxFileSize,shouldReplace:a.shouldReplace,maximumUploads:a.maximumUploads,subtitle:a.subtitle,onFileChange:n[1]||(n[1]=f=>e.$emit("fileChange",f))},null,8,["currentFiles","acceptMultiple","supportedFormats","maxFileSize","shouldReplace","maximumUploads","subtitle"]),o.currentFiles.length>0?(t.openBlock(),t.createElementBlock("div",BE,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(o.currentFiles,(f,_)=>(t.openBlock(),t.createBlock(c,{key:_,title:f.name,subtitle:f.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 xs=V(ME,[["render",vE],["__scopeId","data-v-872a45ed"]]),CJ="",jE={components:{UnnnicUploadArea:xs,UnnnicIcon:te,UnnnicButton:vt},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{}}},NE={class:"modal-upload"},SE={class:"close-button-container"},TE={class:"title"},IE={class:"footer"};function OE(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicUploadArea"),f=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",NE,[t.createElementVNode("div",SE,[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",TE,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",IE,[t.createVNode(f,{size:"large",type:"tertiary",text:a.textCancel,onClick:n[2]||(n[2]=_=>e.$emit("cancel"))},null,8,["text"]),t.createVNode(f,{size:"large",type:"primary",text:a.textAction,onClick:n[3]||(n[3]=_=>e.$emit("action"))},null,8,["text"])])])}const Dc=V(jE,[["render",OE],["__scopeId","data-v-81621db1"]]),xJ="",LE={components:{UnnnicIcon:te},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")}}},zE={ref:"alertContainer",class:"alert-container"},qE={ref:"progress",class:"alert__progress"};function PE(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",zE,[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",qE,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 VE=V(LE,[["render",PE],["__scopeId","data-v-f1004db4"]]),UE=["role","aria-live"],RE={class:"unnnic-toast__content","data-testid":"toast-content"},YE={class:"unnnic-toast__header","data-testid":"toast-header"},HE={class:"unnnic-toast__title","data-testid":"toast-title"},QE={key:0,"data-testid":"toast-text",class:"unnnic-toast__text"},GE=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,o=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=()=>{o.value=!1,i("close")},f=()=>{var m;(m=a.button)!=null&&m.action&&a.button.action()},_=()=>{a.timeout>0&&(s=window.setTimeout(()=>{c()},a.timeout))},g=()=>{s&&(window.clearTimeout(s),s=null)};return t.onMounted(()=>{o.value=!0,_()}),t.onUnmounted(()=>{g()}),(m,F)=>(t.openBlock(),t.createBlock(t.Transition,{name:"toast-slide",appear:"","data-testid":"toast-transition",onAfterLeave:F[0]||(F[0]=b=>m.$emit("destroy"))},{default:t.withCtx(()=>[o.value?(t.openBlock(),t.createElementBlock("aside",{key:0,class:t.normalizeClass(["unnnic-toast",`unnnic-toast--${m.type}`]),role:m.type==="error"?"alert":"status","aria-live":m.type==="error"?"assertive":"polite","data-testid":"toast"},[t.createElementVNode("section",RE,[t.createElementVNode("header",YE,[t.createVNode(te,{icon:u.value.icon,scheme:u.value.scheme,size:"ant","data-testid":"toast-type-icon"},null,8,["icon","scheme"]),t.createElementVNode("h3",HE,t.toDisplayString(m.title),1),t.createVNode(te,{icon:"close",scheme:"neutral-dark",size:"ant",clickable:"",class:"unnnic-toast__close","data-testid":"toast-close-icon",onClick:c,onKeydown:t.withKeys(c,["enter"])})]),m.description?(t.openBlock(),t.createElementBlock("p",QE,t.toDisplayString(m.description),1)):t.createCommentVNode("",!0)]),m.button?(t.openBlock(),t.createBlock(vt,{key:0,type:"tertiary",text:m.button.text,class:"unnnic-toast__action-button","data-testid":"toast-action-button",onClick:f,onKeydown:[t.withKeys(f,["enter"]),t.withKeys(t.withModifiers(f,["prevent"]),["space"])]},null,8,["text","onKeydown"])):t.createCommentVNode("",!0)],10,UE)):t.createCommentVNode("",!0)]),_:1}))}}),MJ="",to=V(GE,[["__scopeId","data-v-6d3256ad"]]),WE={name:"UnnnicAlert",components:{UnnnicToast:to,Version1dot1:VE},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 XE(e,n,a,i,o,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 Ms=V(WE,[["render",XE]]);class KE{constructor(){this.toasts=new Map,this.container=null,this.nextId=0}createContainer(){return this.container?this.container:(this.container=document.createElement("div"),this.container.setAttribute("unnnic-toast-container","true"),document.body.appendChild(this.container),this.container)}generateId(){return`toast-${++this.nextId}`}show(n){const a=this.generateId(),i=this.createContainer(),o=document.createElement("div");let s;const u=new Promise(_=>{s=_}),c=t.createApp(to,{...n,onClose:()=>{this.close(a)},onDestroy:()=>{c.unmount(),o.remove(),s()}});c.mount(o),i.appendChild(o);const f={id:a,props:n,close:()=>this.close(a),promise:u};return this.toasts.set(a,f),f}close(n){this.toasts.get(n)&&this.toasts.delete(n)}}const ao=new KE,Ac={info:(e,n,a)=>ao.show({title:e,description:n,...a,type:"informational"}).promise,success:(e,n,a)=>ao.show({title:e,description:n,...a,type:"success"}).promise,attention:(e,n,a)=>ao.show({title:e,description:n,...a,type:"attention"}).promise,error:(e,n,a)=>ao.show({title:e,description:n,...a,type:"error"}).promise};function ZE(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(o){o(a)}),(i=e.get("*"))&&i.slice().map(function(o){o(n,a)})}}}const Ec=ZE(),Cc=({props:e,containerRef:n,seconds:a})=>{if(e.version==="1.1"||n){const i=t.createApp(Ms,{...e,seconds:a,version:"1.1",onClose:()=>{s.$el.remove()},created(){Ec.on(["close"],()=>{s.$el.remove()})}}),o=document.createElement("div"),s=i.mount(o);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"},o={timeout:a?a*1e3:5e3,type:i[e.scheme||e.type]||i.default,onClose:()=>{Ec.emit(["close"])}};ao.show({title:e.text,description:"",...o})}},xc=({props:e})=>{const n=t.createApp(As,{...e,onClose:()=>{i.$el.remove()},created(){Ec.on(["close"],()=>{i.$el.remove()})}}),a=document.createElement("div"),i=n.mount(a);document.body.appendChild(a)};function Mc(e,n){return t.getCurrentScope()?(t.onScopeDispose(e,n),!0):!1}const JE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Qg=e=>e!=null,$E=Object.prototype.toString,eC=e=>$E.call(e)==="[object Object]",yn=()=>{};function Gg(e,n){function a(...i){return new Promise((o,s)=>{Promise.resolve(e(()=>n.apply(this,i),{fn:n,thisArg:this,args:i})).then(o).catch(s)})}return a}function tC(e,n={}){let a,i,o=yn;const s=f=>{clearTimeout(f),o(),o=yn};let u;return f=>{const _=t.toValue(e),g=t.toValue(n.maxWait);return a&&s(a),_<=0||g!==void 0&&g<=0?(i&&(s(i),i=void 0),Promise.resolve(f())):new Promise((m,F)=>{o=n.rejectOnCancel?F:m,u=f,g&&!i&&(i=setTimeout(()=>{a&&s(a),i=void 0,m(u())},g)),a=setTimeout(()=>{i&&s(i),i=void 0,m(f())},_)})}}function aC(...e){let n=0,a,i=!0,o=yn,s,u,c,f,_;!t.isRef(e[0])&&typeof e[0]=="object"?{delay:u,trailing:c=!0,leading:f=!0,rejectOnCancel:_=!1}=e[0]:[u,c=!0,f=!0,_=!1]=e;const g=()=>{a&&(clearTimeout(a),a=void 0,o(),o=yn)};return F=>{const b=t.toValue(u),w=Date.now()-n,C=()=>s=F();return g(),b<=0?(n=Date.now(),C()):(w>b?(n=Date.now(),(f||!i)&&C()):c&&(s=new Promise((A,N)=>{o=_?N:A,a=setTimeout(()=>{n=Date.now(),i=!0,A(C()),g()},Math.max(0,b-w))})),!f&&!a&&(a=setTimeout(()=>i=!0,b)),i=!1,s)}}function no(e){return Array.isArray(e)?e:[e]}function Wg(e){return e||t.getCurrentInstance()}function nC(e){return t.isRef(e)?t.reactive(new Proxy({},{get(n,a,i){return t.unref(Reflect.get(e.value,a,i))},set(n,a,i){return t.isRef(e.value[a])&&!t.isRef(i)?e.value[a].value=i:e.value[a]=i,!0},deleteProperty(n,a){return Reflect.deleteProperty(e.value,a)},has(n,a){return Reflect.has(e.value,a)},ownKeys(){return Object.keys(e.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):t.reactive(e)}function iC(e){return nC(t.computed(e))}function Bs(e,...n){const a=n.flat(),i=a[0];return iC(()=>Object.fromEntries(typeof i=="function"?Object.entries(t.toRefs(e)).filter(([o,s])=>!i(t.toValue(s),o)):Object.entries(t.toRefs(e)).filter(o=>!a.includes(o[0]))))}function rC(e,n=200,a={}){return Gg(tC(n,a),e)}function oC(e,n=200,a=!1,i=!0,o=!1){return Gg(aC(n,a,i,o),e)}function sC(e,n=!0,a){Wg(a)?t.onMounted(e,a):n?e():t.nextTick(e)}function lC(e,n){Wg(n)&&t.onUnmounted(e,n)}function uC(e,n,a){return t.watch(e,n,{...a,immediate:!0})}function cC(e,n,a){return t.watch(e,n,{...a,once:!0})}const io=JE?window:void 0;function $i(e){var n;const a=t.toValue(e);return(n=a==null?void 0:a.$el)!==null&&n!==void 0?n:a}function Xg(...e){const n=[],a=()=>{n.forEach(c=>c()),n.length=0},i=(c,f,_,g)=>(c.addEventListener(f,_,g),()=>c.removeEventListener(f,_,g)),o=t.computed(()=>{const c=no(t.toValue(e[0])).filter(f=>f!=null);return c.every(f=>typeof f!="string")?c:void 0}),s=uC(()=>{var c,f;return[(c=(f=o.value)===null||f===void 0?void 0:f.map(_=>$i(_)))!==null&&c!==void 0?c:[io].filter(_=>_!=null),no(t.toValue(o.value?e[1]:e[0])),no(t.unref(o.value?e[2]:e[1])),t.toValue(o.value?e[3]:e[2])]},([c,f,_,g])=>{if(a(),!(c!=null&&c.length)||!(f!=null&&f.length)||!(_!=null&&_.length))return;const m=eC(g)?{...g}:g;n.push(...c.flatMap(F=>f.flatMap(b=>_.map(w=>i(F,b,w,m)))))},{flush:"post"}),u=()=>{s(),a()};return Mc(a),u}function dC(){const e=t.shallowRef(!1),n=t.getCurrentInstance();return n&&t.onMounted(()=>{e.value=!0},n),e}function Kg(e){const n=dC();return t.computed(()=>(n.value,!!e()))}function fC(e,n,a={}){const{window:i=io,...o}=a;let s;const u=Kg(()=>i&&"MutationObserver"in i),c=()=>{s&&(s.disconnect(),s=void 0)},f=t.watch(t.computed(()=>{const m=no(t.toValue(e)).map($i).filter(Qg);return new Set(m)}),m=>{c(),u.value&&m.size&&(s=new MutationObserver(n),m.forEach(F=>s.observe(F,o)))},{immediate:!0,flush:"post"}),_=()=>s==null?void 0:s.takeRecords(),g=()=>{f(),c()};return Mc(g),{isSupported:u,stop:g,takeRecords:_}}function _C(e,n,a={}){const{root:i,rootMargin:o="0px",threshold:s=0,window:u=io,immediate:c=!0}=a,f=Kg(()=>u&&"IntersectionObserver"in u),_=t.computed(()=>no(t.toValue(e)).map($i).filter(Qg));let g=yn;const m=t.shallowRef(c),F=f.value?t.watch(()=>[_.value,$i(i),m.value],([w,C])=>{if(g(),!m.value||!w.length)return;const A=new IntersectionObserver(n,{root:$i(C),rootMargin:o,threshold:s});w.forEach(N=>N&&A.observe(N)),g=()=>{A.disconnect(),g=yn}},{immediate:c,flush:"post"}):yn,b=()=>{g(),F(),m.value=!1};return Mc(b),{isSupported:f,isActive:m,pause(){g(),m.value=!1},resume(){m.value=!0},stop:b}}function gC(e,n={}){const{window:a=io,scrollTarget:i,threshold:o=0,rootMargin:s,once:u=!1}=n,c=t.shallowRef(!1),{stop:f}=_C(e,_=>{let g=c.value,m=0;for(const F of _)F.time>=m&&(m=F.time,g=F.isIntersecting);c.value=g,u&&cC(c,()=>{f()})},{root:i,window:a,threshold:o,rootMargin:t.toValue(s)});return c}function hC(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Zg=1;function mC(e,n={}){const{throttle:a=0,idle:i=200,onStop:o=yn,onScroll:s=yn,offset:u={left:0,right:0,top:0,bottom:0},observe:c={mutation:!1},eventListenerOptions:f={capture:!1,passive:!0},behavior:_="auto",window:g=io,onError:m=O=>{console.error(O)}}=n,F=typeof c=="boolean"?{mutation:c}:c,b=t.shallowRef(0),w=t.shallowRef(0),C=t.computed({get(){return b.value},set(O){N(O,void 0)}}),A=t.computed({get(){return w.value},set(O){N(void 0,O)}});function N(O,ne){var _e,ie,de,Ce;if(!g)return;const we=t.toValue(e);if(!we)return;(_e=we instanceof Document?g.document.body:we)===null||_e===void 0||_e.scrollTo({top:(ie=t.toValue(ne))!==null&&ie!==void 0?ie:A.value,left:(de=t.toValue(O))!==null&&de!==void 0?de:C.value,behavior:t.toValue(_)});const pe=(we==null||(Ce=we.document)===null||Ce===void 0?void 0:Ce.documentElement)||(we==null?void 0:we.documentElement)||we;C!=null&&(b.value=pe.scrollLeft),A!=null&&(w.value=pe.scrollTop)}const S=t.shallowRef(!1),D=t.reactive({left:!0,right:!1,top:!0,bottom:!1}),x=t.reactive({left:!1,right:!1,top:!1,bottom:!1}),q=O=>{S.value&&(S.value=!1,x.left=!1,x.right=!1,x.top=!1,x.bottom=!1,o(O))},T=rC(q,a+i),P=O=>{var ne;if(!g)return;const _e=(O==null||(ne=O.document)===null||ne===void 0?void 0:ne.documentElement)||(O==null?void 0:O.documentElement)||$i(O),{display:ie,flexDirection:de,direction:Ce}=getComputedStyle(_e),we=Ce==="rtl"?-1:1,pe=_e.scrollLeft;x.left=pe<b.value,x.right=pe>b.value;const Ae=Math.abs(pe*we)<=(u.left||0),ee=Math.abs(pe*we)+_e.clientWidth>=_e.scrollWidth-(u.right||0)-Zg;ie==="flex"&&de==="row-reverse"?(D.left=ee,D.right=Ae):(D.left=Ae,D.right=ee),b.value=pe;let Re=_e.scrollTop;O===g.document&&!Re&&(Re=g.document.body.scrollTop),x.top=Re<w.value,x.bottom=Re>w.value;const Et=Math.abs(Re)<=(u.top||0),dt=Math.abs(Re)+_e.clientHeight>=_e.scrollHeight-(u.bottom||0)-Zg;ie==="flex"&&de==="column-reverse"?(D.top=dt,D.bottom=Et):(D.top=Et,D.bottom=dt),w.value=Re},L=O=>{var ne;g&&(P((ne=O.target.documentElement)!==null&&ne!==void 0?ne:O.target),S.value=!0,T(O),s(O))};return Xg(e,"scroll",a?oC(L,a,!0,!1):L,f),sC(()=>{try{const O=t.toValue(e);if(!O)return;P(O)}catch(O){m(O)}}),F!=null&&F.mutation&&e!=null&&e!==g&&e!==document&&fC(e,()=>{const O=t.toValue(e);O&&P(O)},{attributes:!0,childList:!0,subtree:!0}),Xg(e,"scrollend",q,f),{x:C,y:A,isScrolling:S,arrivedState:D,directions:x,measure(){const O=t.toValue(e);g&&O&&P(O)}}}function Jg(e,n,a={}){var i;const{direction:o="bottom",interval:s=100,canLoadMore:u=()=>!0}=a,c=t.reactive(mC(e,{...a,offset:{[o]:(i=a.distance)!==null&&i!==void 0?i:0,...a.offset}})),f=t.ref(),_=t.computed(()=>!!f.value),g=t.computed(()=>hC(t.toValue(e))),m=gC(g);function F(){if(c.measure(),!g.value||!m.value||!u(g.value))return;const{scrollHeight:b,clientHeight:w,scrollWidth:C,clientWidth:A}=g.value,N=o==="bottom"||o==="top"?b<=w:C<=A;(c.arrivedState[o]||N)&&(f.value||(f.value=Promise.all([n(c),new Promise(S=>setTimeout(S,s))]).finally(()=>{f.value=null,t.nextTick(()=>F())})))}return lC(t.watch(()=>[c.arrivedState[o],m.value],F,{immediate:!0})),{isLoading:_,reset(){t.nextTick(()=>F())}}}const BJ="",FC={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:oi}},pC=["title"];function bC(e,n,a,i,o,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,pC)}const yC=V(FC,[["render",bC]]),vJ="",wC={name:"UnnnicSelectSmartMultipleHeader",components:{Tag:Ki},mixins:[Wt],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)}}},kC={class:"unnnic-select-smart__options__multiple"},DC={key:0,class:"unnnic-select-smart__options__multiple__selecteds__container"},AC={class:"unnnic-select-smart__options__multiple__selecteds"},EC={key:0,class:"unnnic-select-smart__options__multiple__selecteds__remaining","data-testid":"remaining-count"},CC={key:1,class:"unnnic-select-smart__options__multiple--without-multiples","data-testid":"without-selects-message"};function xC(e,n,a,i,o,s){const u=t.resolveComponent("Tag");return t.openBlock(),t.createElementBlock("div",kC,[a.selectedOptions[0]?(t.openBlock(),t.createElementBlock("div",DC,[t.createElementVNode("div",AC,[(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:f=>s.unselectOption(c)},null,8,["text","hasCloseIcon","onClose"]))),128)),a.selectedOptions.length>o.multipleSelectedsTags?(t.openBlock(),t.createElementBlock("p",EC," +"+t.toDisplayString(a.selectedOptions.length-o.multipleSelectedsTags),1)):t.createCommentVNode("",!0)])])):t.createCommentVNode("",!0),a.selectedOptions[0]?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("p",CC,t.toDisplayString(a.withoutSelectsMessage||e.i18n("without_multiple_selected")),1))])}const MC=V(wC,[["render",xC],["__scopeId","data-v-44c8e22c"]]),jJ="",BC={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 vC(e,n,a,i,o,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:`${o.width}px`,height:`${o.height}px`},void 0,!0)],4)],2)}const $g=V(BC,[["render",vC],["__scopeId","data-v-05c4ead6"]]),NJ="",jC={name:"UnnnicSelectSmart",components:{TextInput:Kl,SelectSmartOption:yC,SelectSmartMultipleHeader:MC,DropdownSkeleton:$g,UnnnicIconLoading:mi},directives:{onClickOutside:Jr},mixins:[Wt],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 o=i.value===this.modelValue;return this.isAutocompleteAllowed?o&&i.value!=="":i.value===""&&this.modelValue.length===0||o});return e?e.label:this.multiple?this.modelValue.map(o=>o.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,o;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((o=this.options)==null?void 0:o[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}=Jg(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,""),o=c=>{var f;return parseInt((f=c.match(/\d+/))==null?void 0:f[0],10)||0},s=e.filter(({value:c,label:f},_,g)=>{const m=i(f),F=g.findIndex(w=>w.value===c)===_,b=a.every(w=>{const C=m.includes(w),A=c.includes(w);return this.enableSearchByValue?C||A:C});return F&&b&&c});return this.orderedByIndex?s:s.sort((c,f)=>{const _=i(c.label),g=i(f.label),m=o(_),F=o(g);return m-F||_.localeCompare(g)})},onClickOutside(){this.active&&(this.isAutocompleteAllowed&&(this.searchValue=this.selectedLabel),this.$nextTick(()=>{this.active=!1}))},getOptionIndex(e){var i,o,s,u;const n=this.filterOptions(this.options);let a="";return e==="active"&&(a=(o=(i=this.modelValue)==null?void 0:i[0])==null?void 0:o.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),o=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(o-1,0):Math.min(o+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?o:s];this.focusedOption=u}}}},NC={style:{overflow:"auto"}},SC={key:0,class:"unnnic-select-smart__options-infinite-loading"},TC={key:1,class:"unnnic-select-smart__options--no-results"};function IC(e,n,a,i,o,s){const u=t.resolveComponent("TextInput"),c=t.resolveComponent("SelectSmartMultipleHeader"),f=t.resolveComponent("UnnnicIconLoading"),_=t.resolveComponent("SelectSmartOption"),g=t.resolveComponent("DropdownSkeleton"),m=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]=(...F)=>s.onKeyDownSelect&&s.onKeyDownSelect(...F))},[t.createVNode(g,{ref:"dropdown-skeleton",type:"manual",modelValue:o.active||null,position:"bottom"},{inside:t.withCtx(F=>[o.active?(t.openBlock(),t.createElementBlock("div",{key:0,style:t.normalizeStyle({width:F.width}),class:t.normalizeClass({"unnnic-select-smart__options":!0,active:o.active,inactive:!o.active}),"data-testid":"options-container"},[t.createElementVNode("div",NC,[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(f,{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),(b,w)=>(t.openBlock(),t.createBlock(_,{key:b.value,"data-testid":"option",label:b.label,description:b.description,tabindex:w,size:a.size,active:b.value===a.modelValue||s.optionIsSelected(b),disabled:s.optionIsSelected(b)&&b.disableRemove,focused:o.focusedOption&&o.focusedOption.value===b.value,allowCheckbox:!!a.multiple,activeColor:a.type==="secondary"?"secondary":"primary",onClick:C=>s.handleSelect(b)},null,8,["label","description","tabindex","size","active","disabled","focused","allowCheckbox","activeColor","onClick"]))),128)),a.infiniteScroll&&o.infiniteScrollLoading?(t.openBlock(),t.createElementBlock("div",SC,[t.createVNode(f,{scheme:"neutral-dark",size:"sm"})])):t.createCommentVNode("",!0),s.filterOptions(a.options).length===0?(t.openBlock(),t.createElementBlock("p",TC,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:!o.isAutocompleteAllowed,iconLeft:o.isAutocompleteAllowed&&a.autocompleteIconLeft?"search-1":"",iconRight:o.active?"keyboard_arrow_up":"keyboard_arrow_down",iconRightSize:"ant",onClick:t.withModifiers(s.handleClickInput,["stop"]),"onUpdate:modelValue":n[0]||(n[0]=F=>o.searchValue=F)},null,8,["class","modelValue","placeholder","type","size","disabled","readonly","iconLeft","iconRight","onClick"])]),_:1},8,["modelValue"])],34)),[[m,s.onClickOutside]])}const Bc=V(jC,[["render",IC]]),SJ="",OC={name:"UnnicSelectItem",props:{size:{type:String,default:""},selectable:{type:Boolean,default:!0},active:{type:Boolean,default:!1},textFocused:{type:Boolean,default:!1}}};function LC(e,n,a,i,o,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 vc=V(OC,[["render",LC]]),TJ="",zC={name:"UnnnicMultiSelect",components:{UnnnicIcon:te,UnnnicRadio:Ds},directives:{onClickOutside:Jr},props:{isOpen:{default:!1},expand:{default:!1},label:{type:String,default:""},modelValue:{type:Array,default:()=>[]},inputTitle:{type:String,default:"Teste"},hideRadio:{type:Boolean,default:!1},hideGroupTitle:{type:Boolean,default:!1},unselectable:{type:Boolean,default:!1}},data(){return{active:!1}},watch:{isOpen(){this.active=this.open}},methods:{handleIsOpenKeyboard(e){document.querySelector(".select-permission:focus-visible")&&e.keyCode===32&&(this.active=!this.active)},onClickOutside(){this.active&&(this.active=!1)},change(e,n){this.$emit("update:model-value",this.modelValue.map((a,i)=>{if(i===e){let o=n;return this.unselectable&&a.selected===n&&(o=-1),{...a,selected:o}}return a}))}}},qC={key:0,class:"select-permission-label"},PC={class:"title noselect"},VC={key:1,class:"select-content",tabindex:"0"},UC=["onClick"];function RC(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("UnnnicRadio"),f=t.resolveDirective("on-click-outside");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(a.expand?"expand-multiselect":"normal-multiselect"),tabindex:"-1"},[a.label?(t.openBlock(),t.createElementBlock("span",qC,t.toDisplayString(a.label),1)):t.createCommentVNode("",!0),t.createElementVNode("div",{class:"select-permission",tabindex:"0",onKeypress:n[0]||(n[0]=(..._)=>s.handleIsOpenKeyboard&&s.handleIsOpenKeyboard(..._)),onClick:n[1]||(n[1]=_=>o.active=!o.active)},[t.createElementVNode("h6",PC,t.toDisplayString(a.inputTitle),1),t.createVNode(u,{icon:o.active?"arrow-button-up-1":"arrow-button-down-1",size:"sm",scheme:"neutral-dark"},null,8,["icon"])],32),o.active?t.withDirectives((t.openBlock(),t.createElementBlock("div",VC,[t.createElementVNode("div",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(a.modelValue,(_,g)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`group-${g}`},[a.hideGroupTitle?t.createCommentVNode("",!0):(t.openBlock(),t.createElementBlock("h6",{key:`title-${g}`,class:"title"},t.toDisplayString(_.title),1)),t.createElementVNode("section",null,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(_.items,(m,F)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:`item-${F}`},[a.hideRadio?(t.openBlock(),t.createElementBlock("div",{key:F+"input",class:"unnnic-radio-container unnnic-radio-container--sm",style:{cursor:"pointer"},onClick:b=>s.change(g,F)},[t.createElementVNode("strong",null,t.toDisplayString(m.title),1),t.createElementVNode("span",null,t.toDisplayString(m.description),1)],8,UC)):(t.openBlock(),t.createBlock(c,{id:"",key:"else"+F+"input",name:"",modelValue:_.selected,value:F,size:"sm",class:"","onUpdate:modelValue":b=>s.change(g,b)},{default:t.withCtx(()=>[t.createElementVNode("strong",null,t.toDisplayString(m.title),1),t.createElementVNode("span",null,t.toDisplayString(m.description),1)]),_:2},1032,["modelValue","value","onUpdate:modelValue"]))],64))),128))])],64))),128))])])),[[f,s.onClickOutside]]):t.createCommentVNode("",!0)],2)}const jc=V(zC,[["render",RC],["__scopeId","data-v-313464ed"]]),IJ="",YC={components:{UnnnicIcon:te},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)}},HC={class:"header"},QC={class:"actions"};function GC(e,n,a,i,o,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",HC,[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",QC,[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:o.height})},[t.renderSlot(e.$slots,"default",{},void 0,!0)],6)])}const Nc=V(YC,[["render",GC],["__scopeId","data-v-ae70d9af"]]),OJ="",WC={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}}}},XC={class:"weni-step-indicator"},KC={class:"weni-step-indicator__label"};function ZC(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",XC,[(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",KC,t.toDisplayString(s.titleForStep(u)),1)],2)],2))),128))])}const Sc=V(WC,[["render",ZC],["__scopeId","data-v-2caaee7c"]]),JC=`: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}
60
60
  `,eh=/unnnicColorBackgroundSolo:\s*(.*)\;/.exec(JC),Tc=eh?eh[1]:"#E8F4F4",$C={backgroundColor:Tc,backgroundImage:`linear-gradient(
61
61
  90deg,
62
62
  ${Tc},