@weni/unnnic-system 3.7.1-alpha.0 → 3.7.1-alpha.2
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.
- package/dist/components/Button/Button.vue.d.ts.map +1 -1
- package/dist/components/ModalUpload/ModalUpload.vue.d.ts +7 -2
- package/dist/components/ModalUpload/ModalUpload.vue.d.ts.map +1 -1
- package/dist/components/index.d.ts +14 -4
- package/dist/components/index.d.ts.map +1 -1
- package/dist/{es-3d0df246.mjs → es-5807a261.mjs} +1 -1
- package/dist/{index-8cf13f7a.mjs → index-5d6e1c42.mjs} +12 -10
- package/dist/{pt-br-b04d6fba.mjs → pt-br-61671668.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/unnnic.mjs +1 -1
- package/dist/unnnic.umd.js +2 -2
- package/package.json +1 -1
- package/src/components/Button/Button.vue +3 -7
- package/src/components/Input/Input.scss +1 -0
- package/src/components/ModalUpload/ModalUpload.vue +2 -0
package/dist/unnnic.umd.js
CHANGED
|
@@ -56,11 +56,11 @@ ${_}`:f)}else throw u},onCacheKey:u=>xk(n,a,u)}}function l9(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 p9="9.14.5";function b9(){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 ng=Pt.__EXTEND_POINT__,pn=is(ng),ot={FALLBACK_TO_ROOT:ng,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()},y9={[ot.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ot.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ot.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ot.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ot.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ot.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ot.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ot.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[ot.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Gt(e,...n){return Nu(y9[e],...n)}const ig=Et.__EXTEND_POINT__,Wt=is(ig),Le={UNEXPECTED_RETURN_TYPE:ig,INVALID_ARGUMENT:Wt(),MUST_BE_CALL_SETUP_TOP:Wt(),NOT_INSTALLED:Wt(),NOT_AVAILABLE_IN_LEGACY_MODE:Wt(),REQUIRED_VALUE:Wt(),INVALID_VALUE:Wt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Wt(),NOT_INSTALLED_WITH_PROVIDE:Wt(),UNEXPECTED_ERROR:Wt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Wt(),BRIDGE_SUPPORT_VUE_2_ONLY:Wt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Wt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Wt(),__EXTEND_POINT__:Wt()};function bt(e,...n){return Hi(e,null,process.env.NODE_ENV!=="production"?{messages:w9,args:n}:void 0)}const w9={[Le.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Le.INVALID_ARGUMENT]:"Invalid argument",[Le.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Le.NOT_INSTALLED]:"Need to install with `app.use` function",[Le.UNEXPECTED_ERROR]:"Unexpected error",[Le.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Le.REQUIRED_VALUE]:"Required in value: {0}",[Le.INVALID_VALUE]:"Invalid value",[Le.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Le.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Le.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Le.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Le.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",[Le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Qu=Xa("__translateVNode"),Gu=Xa("__datetimeParts"),Wu=Xa("__numberParts"),gi=Xa("__enableEmitter"),Vr=Xa("__disableEmitter"),rg=Xa("__setPluralRules"),og=Xa("__injectWithOption"),Xu=Xa("__dispose");function Ur(e){if(!Se(e)||Fa(e))return e;for(const n in e)if(Oa(e,n))if(!n.includes("."))Se(e[n])&&Ur(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]]=We()),!Se(o[a[u]])){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.IGNORE_OBJ_FLATTEN,{key:a[u]})),s=!0;break}o=o[a[u]]}if(s||(Fa(o)?b_.includes(a[i])||delete e[n]:(o[a[i]]=e[n],delete e[n])),!Fa(o)){const u=o[a[i]];Se(u)&&Ur(u)}}return e}function _s(e,n){const{messages:a,__i18n:i,messageResolver:o,flatJson:s}=n,u=Fe(a)?a:Ze(i)?We():{[e]:We()};if(Ze(i)&&i.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:f,resource:_}=c;f?(u[f]=u[f]||We(),os(_,u[f])):os(_,u)}else $(c)&&os(JSON.parse(c),u)}),o==null&&s)for(const c in u)Oa(u,c)&&Ur(u[c]);return u}function sg(e){return e.type}function lg(e,n,a){let i=Se(n.messages)?n.messages:We();"__i18nGlobal"in a&&(i=_s(e.locale.value,{messages:i,__i18n:a.__i18nGlobal}));const o=Object.keys(i);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,i[s])});{if(Se(n.datetimeFormats)){const s=Object.keys(n.datetimeFormats);s.length&&s.forEach(u=>{e.mergeDateTimeFormat(u,n.datetimeFormats[u])})}if(Se(n.numberFormats)){const s=Object.keys(n.numberFormats);s.length&&s.forEach(u=>{e.mergeNumberFormat(u,n.numberFormats[u])})}}}function ug(e){return t.createVNode(t.Text,null,e,0)}const cg="__INTLIFY_META__",dg=()=>[],k9=()=>!1;let fg=0;function _g(e){return(n,a,i,o)=>e(a,i,t.getCurrentInstance()||void 0,o)}const D9=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=sg(e)[cg])?{[cg]:n}:null};function Ku(e={},n){const{__root:a,__injectWithOption:i}=e,o=a===void 0,s=e.flatJson,u=Ia?t.ref:t.shallowRef,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&Z0(Gt(ot.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let f=Ae(e.inheritLocale)?e.inheritLocale:!0;const _=u(a&&f?a.locale.value:$(e.locale)?e.locale:Wi),g=u(a&&f?a.fallbackLocale.value:$(e.fallbackLocale)||Ze(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:_.value),m=u(_s(_.value,e)),F=u(Fe(e.datetimeFormats)?e.datetimeFormats:{[_.value]:{}}),b=u(Fe(e.numberFormats)?e.numberFormats:{[_.value]:{}});let k=a?a.missingWarn:Ae(e.missingWarn)||On(e.missingWarn)?e.missingWarn:!0,x=a?a.fallbackWarn:Ae(e.fallbackWarn)||On(e.fallbackWarn)?e.fallbackWarn:!0,D=a?a.fallbackRoot:Ae(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,L=Xe(e.missing)?e.missing:null,E=Xe(e.missing)?_g(e.missing):null,j=Xe(e.postTranslation)?e.postTranslation:null,q=a?a.warnHtmlMessage:Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const P=a?a.modifiers:Fe(e.modifiers)?e.modifiers:{};let O=e.pluralRules||a&&a.pluralRules,U;U=(()=>{o&&I_(null);const R={version:p9,locale:_.value,fallbackLocale:g.value,messages:m.value,modifiers:P,pluralRules:O,missing:E===null?void 0:E,missingWarn:k,fallbackWarn:x,fallbackFormat:N,unresolving:!0,postTranslation:j===null?void 0:j,warnHtmlMessage:q,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=F.value,R.numberFormats=b.value,R.__datetimeFormatters=Fe(U)?U.__datetimeFormatters:void 0,R.__numberFormatters=Fe(U)?U.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=Fe(U)?U.__v_emitter:void 0);const X=$D(R);return o&&I_(X),X})(),Pr(U,_.value,g.value);function ke(){return[_.value,g.value,m.value,F.value,b.value]}const le=t.computed({get:()=>_.value,set:R=>{_.value=R,U.locale=_.value}}),fe=t.computed({get:()=>g.value,set:R=>{g.value=R,U.fallbackLocale=g.value,Pr(U,_.value,R)}}),ze=t.computed(()=>m.value),He=t.computed(()=>F.value),Ce=t.computed(()=>b.value);function Me(){return Xe(j)?j:null}function te(R){j=R,U.postTranslation=R}function st(){return L}function Vt(R){R!==null&&(E=_g(R)),L=R,U.missing=E}function wt(R,X){return R!=="translate"||!X.resolvedMessage}const Ct=(R,X,Te,nt,wa,Xn)=>{ke();let an;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&S_(D9()),o||(U.fallbackContext=a?JD():void 0),an=R(U)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&S_(null),o||(U.fallbackContext=void 0)}if(Te!=="translate exists"&>(an)&&an===cs||Te==="translate exists"&&!an){const[Pa,uo]=X();if(process.env.NODE_ENV!=="production"&&a&&$(Pa)&&wt(Te,uo)&&(D&&(fs(x,Pa)||L_(k,Pa))&&Ft(Gt(ot.FALLBACK_TO_ROOT,{key:Pa,type:Te})),process.env.NODE_ENV!=="production")){const{__v_emitter:lr}=U;lr&&D&&lr.emit("fallback",{type:Te,key:Pa,to:"global",groupId:`${Te}:${Pa}`})}return a&&D?nt(a):wa(Pa)}else{if(Xn(an))return an;throw bt(Le.UNEXPECTED_RETURN_TYPE)}};function lt(...R){return Ct(X=>Reflect.apply(H_,null,[X,...R]),()=>Uu(...R),"translate",X=>Reflect.apply(X.t,X,[...R]),X=>X,X=>$(X))}function dt(...R){const[X,Te,nt]=R;if(nt&&!Se(nt))throw bt(Le.INVALID_ARGUMENT);return lt(X,Te,Mt({resolvedMessage:!0},nt||{}))}function jt(...R){return Ct(X=>Reflect.apply(K_,null,[X,...R]),()=>Ru(...R),"datetime format",X=>Reflect.apply(X.d,X,[...R]),()=>ds,X=>$(X))}function ra(...R){return Ct(X=>Reflect.apply($_,null,[X,...R]),()=>Yu(...R),"number format",X=>Reflect.apply(X.n,X,[...R]),()=>ds,X=>$(X))}function Je(R){return R.map(X=>$(X)||gt(X)||Ae(X)?ug(String(X)):X)}const Ot={normalize:Je,interpolate:R=>R,type:"vnode"};function sa(...R){return Ct(X=>{let Te;const nt=X;try{nt.processor=Ot,Te=Reflect.apply(H_,null,[nt,...R])}finally{nt.processor=null}return Te},()=>Uu(...R),"translate",X=>X[Qu](...R),X=>[ug(X)],X=>Ze(X))}function Kt(...R){return Ct(X=>Reflect.apply($_,null,[X,...R]),()=>Yu(...R),"number format",X=>X[Wu](...R),dg,X=>$(X)||Ze(X))}function Ut(...R){return Ct(X=>Reflect.apply(K_,null,[X,...R]),()=>Ru(...R),"datetime format",X=>X[Gu](...R),dg,X=>$(X)||Ze(X))}function Gn(R){O=R,U.pluralRules=O}function K(R,X){return Ct(()=>{if(!R)return!1;const Te=$(X)?X:_.value,nt=Nt(Te),wa=U.messageResolver(nt,R);return c?wa!=null:Fa(wa)||pa(wa)||$(wa)},()=>[R],"translate exists",Te=>Reflect.apply(Te.te,Te,[R,X]),k9,Te=>Ae(Te))}function Be(R){let X=null;const Te=E_(U,g.value,_.value);for(let nt=0;nt<Te.length;nt++){const wa=m.value[Te[nt]]||{},Xn=U.messageResolver(wa,R);if(Xn!=null){X=Xn;break}}return X}function ki(R){const X=Be(R);return X??(a?a.tm(R)||{}:{})}function Nt(R){return m.value[R]||{}}function Wn(R,X){if(s){const Te={[R]:X};for(const nt in Te)Oa(Te,nt)&&Ur(Te[nt]);X=Te[R]}m.value[R]=X,U.messages=m.value}function lo(R,X){m.value[R]=m.value[R]||{};const Te={[R]:X};if(s)for(const nt in Te)Oa(Te,nt)&&Ur(Te[nt]);X=Te[R],os(X,m.value[R]),U.messages=m.value}function C(R){return F.value[R]||{}}function v(R,X){F.value[R]=X,U.datetimeFormats=F.value,J_(U,R,X)}function G(R,X){F.value[R]=Mt(F.value[R]||{},X),U.datetimeFormats=F.value,J_(U,R,X)}function ue(R){return b.value[R]||{}}function $e(R,X){b.value[R]=X,U.numberFormats=b.value,tg(U,R,X)}function qe(R,X){b.value[R]=Mt(b.value[R]||{},X),U.numberFormats=b.value,tg(U,R,X)}fg++,a&&Ia&&(t.watch(a.locale,R=>{f&&(_.value=R,U.locale=R,Pr(U,_.value,g.value))}),t.watch(a.fallbackLocale,R=>{f&&(g.value=R,U.fallbackLocale=R,Pr(U,_.value,g.value))}));const Ue={id:fg,locale:le,fallbackLocale:fe,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&a&&(_.value=a.locale.value,g.value=a.fallbackLocale.value,Pr(U,_.value,g.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:ze,get modifiers(){return P},get pluralRules(){return O||{}},get isGlobal(){return o},get missingWarn(){return k},set missingWarn(R){k=R,U.missingWarn=k},get fallbackWarn(){return x},set fallbackWarn(R){x=R,U.fallbackWarn=x},get fallbackRoot(){return D},set fallbackRoot(R){D=R},get fallbackFormat(){return N},set fallbackFormat(R){N=R,U.fallbackFormat=N},get warnHtmlMessage(){return q},set warnHtmlMessage(R){q=R,U.warnHtmlMessage=R},get escapeParameter(){return T},set escapeParameter(R){T=R,U.escapeParameter=R},t:lt,getLocaleMessage:Nt,setLocaleMessage:Wn,mergeLocaleMessage:lo,getPostTranslationHandler:Me,setPostTranslationHandler:te,getMissingHandler:st,setMissingHandler:Vt,[rg]:Gn};return Ue.datetimeFormats=He,Ue.numberFormats=Ce,Ue.rt=dt,Ue.te=K,Ue.tm=ki,Ue.d=jt,Ue.n=ra,Ue.getDateTimeFormat=C,Ue.setDateTimeFormat=v,Ue.mergeDateTimeFormat=G,Ue.getNumberFormat=ue,Ue.setNumberFormat=$e,Ue.mergeNumberFormat=qe,Ue[og]=i,Ue[Qu]=sa,Ue[Gu]=Ut,Ue[Wu]=Kt,process.env.NODE_ENV!=="production"&&(Ue[gi]=R=>{U.__v_emitter=R},Ue[Vr]=()=>{U.__v_emitter=void 0}),Ue}function A9(e){const n=$(e.locale)?e.locale:Wi,a=$(e.fallbackLocale)||Ze(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=Xe(e.missing)?e.missing:void 0,o=Ae(e.silentTranslationWarn)||On(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Ae(e.silentFallbackWarn)||On(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=Ae(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,f=Fe(e.modifiers)?e.modifiers:{},_=e.pluralizationRules,g=Xe(e.postTranslation)?e.postTranslation:void 0,m=$(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,F=!!e.escapeParameterHtml,b=Ae(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let k=e.messages;if(Fe(e.sharedMessages)){const T=e.sharedMessages;k=Object.keys(T).reduce((O,U)=>{const se=O[U]||(O[U]={});return Mt(se,T[U]),O},k||{})}const{__i18n:x,__root:D,__injectWithOption:N}=e,L=e.datetimeFormats,E=e.numberFormats,j=e.flatJson,q=e.translateExistCompatible;return{locale:n,fallbackLocale:a,messages:k,flatJson:j,datetimeFormats:L,numberFormats:E,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:x,__root:D,__injectWithOption:N}}function Zu(e={},n){{const a=Ku(A9(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"&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER))},get missing(){return a.getMissingHandler()},set missing(s){a.setMissingHandler(s)},get silentTranslationWarn(){return Ae(a.missingWarn)?!a.missingWarn:a.missingWarn},set silentTranslationWarn(s){a.missingWarn=Ae(s)?!s:s},get silentFallbackWarn(){return Ae(a.fallbackWarn)?!a.fallbackWarn:a.fallbackWarn},set silentFallbackWarn(s){a.fallbackWarn=Ae(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"&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.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 bt(Le.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:Ze(c)?g=c:Fe(c)&&(m=c),Ze(f)?g=f:Fe(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 bt(Le.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:gt(c)?_.plural=c:Ze(c)?g=c:Fe(c)&&(m=c),$(f)?_.locale=f:Ze(f)?g=f:Fe(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"&&Ft(Gt(ot.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=i,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=s=>{const u=a;u[gi]&&u[gi](s)},o.__disableEmitter=()=>{const s=a;s[Vr]&&s[Vr]()}),o}}const Ju={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function E9({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},We())}function gg(e){return t.Fragment}const $u=t.defineComponent({name:"i18n-t",props:Mt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>gt(e)||!isNaN(e)}},Ju),setup(e,n){const{slots:a,attrs:i}=n,o=e.i18n||nc({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(a).filter(m=>m!=="_"),u=We();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=$(e.plural)?+e.plural:e.plural);const c=E9(n,s),f=o[Qu](e.keypath,c,u),_=Mt(We(),i),g=$(e.tag)||Se(e.tag)?e.tag:gg();return t.h(g,_,f)}}});function C9(e){return Ze(e)&&!$(e[0])}function hg(e,n,a,i){const{slots:o,attrs:s}=n;return()=>{const u={part:!0};let c=We();e.locale&&(u.locale=e.locale),$(e.format)?u.key=e.format:Se(e.format)&&($(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((F,b)=>a.includes(b)?Mt(We(),F,{[b]:e.format[b]}):F,We()));const f=i(e.value,u,c);let _=[u.key];Ze(f)?_=f.map((F,b)=>{const k=o[F.type],x=k?k({[F.type]:F.value,index:b,parts:f}):[F.value];return C9(x)&&(x[0].key=`${F.type}-${b}`),x}):$(f)&&(_=[f]);const g=Mt(We(),s),m=$(e.tag)||Se(e.tag)?e.tag:gg();return t.h(m,g,_)}}const mg=t.defineComponent({name:"i18n-n",props:Mt({value:{type:Number,required:!0},format:{type:[String,Object]}},Ju),setup(e,n){const a=e.i18n||nc({useScope:e.scope,__useComponent:!0});return hg(e,n,eg,(...i)=>a[Wu](...i))}}),Fg=t.defineComponent({name:"i18n-d",props:Mt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ju),setup(e,n){const a=e.i18n||nc({useScope:e.scope,__useComponent:!0});return hg(e,n,Z_,(...i)=>a[Gu](...i))}});function x9(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 M9(e){const n=u=>{const{instance:c,modifiers:f,value:_}=u;if(!c||!c.$)throw bt(Le.UNEXPECTED_ERROR);const g=x9(e,c.$);process.env.NODE_ENV!=="production"&&f.preserve&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE));const m=pg(_);return[Reflect.apply(g.t,g,[...bg(m)]),g]};return{created:(u,c)=>{const[f,_]=n(c);Ia&&e.global===_&&(u.__i18nWatcher=t.watch(_.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=_,u.textContent=f},unmounted:u=>{Ia&&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,_=pg(c);u.textContent=Reflect.apply(f.t,f,[...bg(_)])}},getSSRProps:u=>{const[c]=n(u);return{textContent:c}}}}function pg(e){if($(e))return{path:e};if(Fe(e)){if(!("path"in e))throw bt(Le.REQUIRED_VALUE,"path");return e}else throw bt(Le.INVALID_VALUE)}function bg(e){const{path:n,locale:a,args:i,choice:o,plural:s}=e,u={},c=i||{};return $(a)&&(u.locale=a),gt(o)&&(u.plural=o),gt(s)&&(u.plural=s),[n,c,u]}function B9(e,n,...a){const i=Fe(a[0])?a[0]:{},o=!!i.useI18nComponentName,s=Ae(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&o&&Ft(Gt(ot.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:$u.name})),s&&([o?"i18n":$u.name,"I18nT"].forEach(u=>e.component(u,$u)),[mg.name,"I18nN"].forEach(u=>e.component(u,mg)),[Fg.name,"I18nD"].forEach(u=>e.component(u,Fg))),e.directive("t",M9(n))}const ec={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},v9={["vue-i18n-resource-inspector"]:"Search for scopes ..."},j9={["vue-i18n-timeline"]:16764185},yg="vue-i18n: composer properties";let tc;async function N9(e,n){return new Promise((a,i)=>{try{F9({id:"vue-devtools-plugin-vue-i18n",label:ec["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:[yg],app:e},o=>{tc=o,o.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{S9(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&&kg(c,u.vnode.el.__VUE_I18N__):kg(c,u.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:ec["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:v9["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(),P9(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=q9(u.nodeId,n);c&&o.highlightElement(c)}}),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&U9(u,n)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:ec["vue-i18n-timeline"],color:j9["vue-i18n-timeline"]}),a(!0)})}catch(o){console.error(o),i(!1)}})}function wg(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function S9(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 (${wg(e)} Scope)`,textColor:0,backgroundColor:16764185};n.tags.push(o)}}function kg(e,n){const a=yg;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:ac(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 ac(e){const n={};return Object.keys(e).forEach(a=>{const i=e[a];Xe(i)&&"source"in i?n[a]=L9(i):Fa(i)&&i.loc&&i.loc.source?n[a]=i.loc.source:Se(i)?n[a]=ac(i):n[a]=i}),n}const T9={"<":"<",">":">",'"':""","&":"&"};function I9(e){return e.replace(/[<>"&]/g,O9)}function O9(e){return T9[e]||e}function L9(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${I9(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:`${wg(i)} Scope`})}}function q9(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 Dg(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 P9(e,n){const a=Dg(e.nodeId,n);return a&&(e.state=V9(a)),null}function V9(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:ac(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 Rr(e,n){if(tc){let a;n&&"groupId"in n&&(a=n.groupId,delete n.groupId),tc.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 U9(e,n){const a=Dg(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)||Ze(e.state.value)||Se(e.state.value))?a.fallbackLocale.value=e.state.value:i==="inheritLocale"&&Ae(e.state.value)&&(a.inheritLocale=e.state.value)}}function R9(e,n,a){return{beforeCreate(){const i=t.getCurrentInstance();if(!i)throw bt(Le.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=Ag(e,s);else{s.__injectWithOption=!0,s.__extender=a.__vueI18nExtend,this.$i18n=Zu(s);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Ag(e,o);else{this.$i18n=Zu({__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&&lg(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=Su();i.__enableEmitter&&i.__enableEmitter(o),o.on("*",Rr)}},unmounted(){const i=t.getCurrentInstance();if(!i)throw bt(Le.UNEXPECTED_ERROR);const o=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Rr),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 Ag(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[rg](n.pluralizationRules||e.pluralizationRules);const a=_s(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 Y9=Xa("global-vue-i18n");function H9(e={},n){const a=__VUE_I18N_LEGACY_API__&&Ae(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,i=Ae(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&a?!!e.allowComposition:!0,s=new Map,[u,c]=Q9(e,a),f=Xa(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&a&&o&&Ft(Gt(ot.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,...k){if(process.env.NODE_ENV!=="production"&&(b.__VUE_I18N__=F),b.__VUE_I18N_SYMBOL__=f,b.provide(b.__VUE_I18N_SYMBOL__,F),Fe(k[0])){const N=k[0];F.__composerExtend=N.__composerExtend,F.__vueI18nExtend=N.__vueI18nExtend}let x=null;!a&&i&&(x=t5(b,F.global)),__VUE_I18N_FULL_INSTALL__&&B9(b,F,...k),__VUE_I18N_LEGACY_API__&&a&&b.mixin(R9(c,c.__composer,F));const D=b.unmount;if(b.unmount=()=>{x&&x(),F.dispose(),D()},process.env.NODE_ENV!=="production"){if(!await N9(b,F))throw bt(Le.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const L=Su();if(a){const E=c;E.__enableEmitter&&E.__enableEmitter(L)}else{const E=c;E[gi]&&E[gi](L)}L.on("*",Rr)}},get global(){return c},dispose(){u.stop()},__instances:s,__getInstance:_,__setInstance:g,__deleteInstance:m};return F}}function nc(e={}){const n=t.getCurrentInstance();if(n==null)throw bt(Le.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw bt(Le.NOT_INSTALLED);const a=G9(n),i=X9(a),o=sg(n),s=W9(e,o);if(__VUE_I18N_LEGACY_API__&&a.mode==="legacy"&&!e.__useComponent){if(!a.allowComposition)throw bt(Le.NOT_AVAILABLE_IN_LEGACY_MODE);return $9(n,s,i,e)}if(s==="global")return lg(i,e,o),i;if(s==="parent"){let f=K9(a,n,e.__useComponent);return f==null&&(process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_FOUND_PARENT_SCOPE)),f=i),f}const u=a;let c=u.__getInstance(n);if(c==null){const f=Mt({},e);"__i18n"in o&&(f.__i18n=o.__i18n),i&&(f.__root=i),c=Ku(f),u.__composerExtend&&(c[Xu]=u.__composerExtend(c)),J9(u,n,c),u.__setInstance(n,c)}return c}function Q9(e,n,a){const i=t.effectScope();{const o=__VUE_I18N_LEGACY_API__&&n?i.run(()=>Zu(e)):i.run(()=>Ku(e));if(o==null)throw bt(Le.UNEXPECTED_ERROR);return[i,o]}}function G9(e){{const n=t.inject(e.isCE?Y9:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw bt(e.isCE?Le.NOT_INSTALLED_WITH_PROVIDE:Le.UNEXPECTED_ERROR);return n}}function W9(e,n){return ns(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function X9(e){return e.mode==="composition"?e.global:e.global.__composer}function K9(e,n,a=!1){let i=null;const o=n.root;let s=Z9(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[og]&&(i=null))}if(i!=null||o===s)break;s=s.parent}return i}function Z9(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function J9(e,n,a){let i=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=a,i=Su();const o=a;o[gi]&&o[gi](i),i.on("*",Rr)}},n),t.onUnmounted(()=>{const o=a;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(i&&i.off("*",Rr),o[Vr]&&o[Vr](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const s=o[Xu];s&&(s(),delete o[Xu])},n)}function $9(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 bt(Le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=Ae(i.inheritLocale)?i.inheritLocale:!$(i.locale),c=t.ref(!o||u?a.locale.value:$(i.locale)?i.locale:Wi),f=t.ref(!o||u?a.fallbackLocale.value:$(i.fallbackLocale)||Ze(i.fallbackLocale)||Fe(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:c.value),_=t.ref(_s(c.value,i)),g=t.ref(Fe(i.datetimeFormats)?i.datetimeFormats:{[c.value]:{}}),m=t.ref(Fe(i.numberFormats)?i.numberFormats:{[c.value]:{}}),F=o?a.missingWarn:Ae(i.missingWarn)||On(i.missingWarn)?i.missingWarn:!0,b=o?a.fallbackWarn:Ae(i.fallbackWarn)||On(i.fallbackWarn)?i.fallbackWarn:!0,k=o?a.fallbackRoot:Ae(i.fallbackRoot)?i.fallbackRoot:!0,x=!!i.fallbackFormat,D=Xe(i.missing)?i.missing:null,N=Xe(i.postTranslation)?i.postTranslation:null,L=o?a.warnHtmlMessage:Ae(i.warnHtmlMessage)?i.warnHtmlMessage:!0,E=!!i.escapeParameter,j=o?a.modifiers:Fe(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}}),O=t.computed({get:()=>s.value?s.value.fallbackLocale.value:f.value,set:K=>{s.value&&(s.value.fallbackLocale.value=K),f.value=K}}),U=t.computed(()=>s.value?s.value.messages.value:_.value),se=t.computed(()=>g.value),ke=t.computed(()=>m.value);function le(){return s.value?s.value.getPostTranslationHandler():N}function fe(K){s.value&&s.value.setPostTranslationHandler(K)}function ze(){return s.value?s.value.getMissingHandler():D}function He(K){s.value&&s.value.setMissingHandler(K)}function Ce(K){return T(),K()}function Me(...K){return s.value?Ce(()=>Reflect.apply(s.value.t,null,[...K])):Ce(()=>"")}function te(...K){return s.value?Reflect.apply(s.value.rt,null,[...K]):""}function st(...K){return s.value?Ce(()=>Reflect.apply(s.value.d,null,[...K])):Ce(()=>"")}function Vt(...K){return s.value?Ce(()=>Reflect.apply(s.value.n,null,[...K])):Ce(()=>"")}function wt(K){return s.value?s.value.tm(K):{}}function Ct(K,Be){return s.value?s.value.te(K,Be):!1}function lt(K){return s.value?s.value.getLocaleMessage(K):{}}function dt(K,Be){s.value&&(s.value.setLocaleMessage(K,Be),_.value[K]=Be)}function jt(K,Be){s.value&&s.value.mergeLocaleMessage(K,Be)}function ra(K){return s.value?s.value.getDateTimeFormat(K):{}}function Je(K,Be){s.value&&(s.value.setDateTimeFormat(K,Be),g.value[K]=Be)}function oa(K,Be){s.value&&s.value.mergeDateTimeFormat(K,Be)}function Ot(K){return s.value?s.value.getNumberFormat(K):{}}function sa(K,Be){s.value&&(s.value.setNumberFormat(K,Be),m.value[K]=Be)}function Kt(K,Be){s.value&&s.value.mergeNumberFormat(K,Be)}const Ut={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:O,messages:U,datetimeFormats:se,numberFormats:ke,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:j},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:k},set fallbackRoot(K){s.value&&(s.value.fallbackRoot=K)},get fallbackFormat(){return s.value?s.value.fallbackFormat:x},set fallbackFormat(K){s.value&&(s.value.fallbackFormat=K)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:L},set warnHtmlMessage(K){s.value&&(s.value.warnHtmlMessage=K)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(K){s.value&&(s.value.escapeParameter=K)},t:Me,getPostTranslationHandler:le,setPostTranslationHandler:fe,getMissingHandler:ze,setMissingHandler:He,rt:te,d:st,n:Vt,tm:wt,te:Ct,getLocaleMessage:lt,setLocaleMessage:dt,mergeLocaleMessage:jt,getDateTimeFormat:ra,setDateTimeFormat:Je,mergeDateTimeFormat:oa,getNumberFormat:Ot,setNumberFormat:sa,mergeNumberFormat:Kt};function Gn(K){K.locale.value=c.value,K.fallbackLocale.value=f.value,Object.keys(_.value).forEach(Be=>{K.mergeLocaleMessage(Be,_.value[Be])}),Object.keys(g.value).forEach(Be=>{K.mergeDateTimeFormat(Be,g.value[Be])}),Object.keys(m.value).forEach(Be=>{K.mergeNumberFormat(Be,m.value[Be])}),K.escapeParameter=E,K.fallbackFormat=x,K.fallbackRoot=k,K.fallbackWarn=b,K.missingWarn=F,K.warnHtmlMessage=L}return t.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw bt(Le.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&&Gn(K)}),Ut}const e5=["locale","fallbackLocale","availableLocales"],Eg=["t","rt","d","n","tm","te"];function t5(e,n){const a=Object.create(null);return e5.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s)throw bt(Le.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,Eg.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s||!s.value)throw bt(Le.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Eg.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(b9(),__INTLIFY_JIT_COMPILATION__?B_(i9):B_(n9),XD(BD),KD(E_),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 a5={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"},n5={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"},Cg={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"},i5=Object.assign({en:a5,es:n5,"pt-br":Cg,"pt-BR":Cg}),gs=H9({locale:"en",fallbackLocale:"en",messages:i5}),Xt={props:{locale:{type:String},translations:{type:Object}},methods:{i18n(...e){const[n,a]=e,i=Object.keys(gs.global.messages);let{locale:o}=this;const s=Ta.get(gs,"global.locale")==="en-us"?"en":Ta.get(gs,"global.locale");o=i.includes(o)?o:s,o=o==null?void 0:o.toLowerCase();let u=Ta.get(this.translations,`${n}.${o}`,Ta.get(this.translations,n));if(u||(u=Ta.get(Ta.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}}},eZ="",r5={name:"IconLoading",components:{UnnnicIcon:ee},props:{scheme:{type:String,default:"neutral-dark"},size:{type:String,default:"lg"}}};function o5(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 hi=z(r5,[["render",o5],["__scopeId","data-v-97257015"]]),s5=["disabled"],l5=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(hi,{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(ee,{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"}),next:m.next,"data-testid":"icon-left"},null,8,["icon","scheme","size","filled","class","style","next"])):t.createCommentVNode("",!0),m.iconCenter?(t.openBlock(),t.createBlock(ee,{key:2,icon:m.iconCenter,scheme:u.value,style:t.normalizeStyle({visibility:m.loading?"hidden":"visible"}),size:o.value,filled:m.iconsFilled,next:m.next,"data-testid":"icon-center"},null,8,["icon","scheme","style","size","filled","next"])):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(ee,{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"}),next:m.next,"data-testid":"icon-right"},null,8,["icon","scheme","size","filled","class","style","next"])):t.createCommentVNode("",!0)],16,s5))}}),tZ="",aZ="",nZ="",Bt=z(l5,[["__scopeId","data-v-35cd149c"]]),iZ="",u5={components:{UnnnicButton:Bt},mixins:[Xt],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:Dk[this.i18nLocale]},daysLocale(){const{days:e}=this;return e.length?e:Ak[this.i18nLocale]},periodsLocale(){const{options:e}=this;return e.length?e:Ek[this.i18nLocale]},clearText(){return this.clearLabel||ts[this.i18nLocale].clear},filterText(){return this.actionLabel||ts[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("-"),k=new Date(m,Number(F)-1,b);o<k&&g.push("out of range")}if(this.maxDate){const[m,F,b]=this.maxDate.split("-"),k=new Date(m,Number(F)-1,b);o>k&&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),k=new Date(F,Number(g)-1,m);b.setMonth(b.getMonth()-12),k.setMonth(k.getMonth()+12),b=b.getTime(),k=k.getTime(),this.isDateBetweenYear(_)&&(f.push("selected"),this.isDateBetweenYear(b)||f.push("left-highlighted"),this.isDateBetweenYear(k)||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})}}},c5={class:"unnnic-date-picker"},d5={class:"month-container"},f5=["onClick"],_5={class:"month-container"},g5=["onClick"],h5={class:"month-container"},m5=["onClick"],F5={key:3,class:"options-container"},p5={class:"options"},b5=["onClick"],y5={class:"actions"};function w5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",c5,[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",d5,[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,f5))),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",_5,[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,g5))),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",h5,[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,m5))),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",F5,[t.createElementVNode("div",p5,[(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,b5))),128))]),t.createElementVNode("div",y5,[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 hs=z(u5,[["render",w5],["__scopeId","data-v-546e8a09"]]),rZ="",k5={components:{UnnnicInput:Ii,UnnnicDatePicker:hs},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 D5(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 ic=z(k5,[["render",D5],["__scopeId","data-v-d2a4c41c"]]),oZ="",A5={components:{UnnnicIcon:ee},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 E5(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 rc=z(A5,[["render",E5],["__scopeId","data-v-46ae4cf4"]]),oc=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(oc),!0},C5=e=>{if(!(e!=null&&e[0]))throw new Error("Items property cannot be an empty array.");return e.forEach(oc),!0},sZ="",x5=["title"],M5={key:0,class:"unnnic-sidebar-item-children"},B5=["onClick"],v5=["title"],ms=z(Object.assign({name:"UnnnicSidebarItem"},{props:{item:{type:Object,required:!0,validator:oc},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(ee,{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,x5),(F=e.item.children)!=null&&F.length?(t.openBlock(),t.createBlock(ee,{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",M5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.item.children,(b,k)=>(t.openBlock(),t.createElementBlock("li",{key:b,class:t.normalizeClass({"unnnic-sidebar-item-child":!0,active:u(k)}),"data-testid":"sidebar-item-child",onClick:t.withModifiers(x=>!u(k)&&_("navigate",{item:e.item,child:b}),["stop"])},[b.icon?(t.openBlock(),t.createBlock(ee,{key:0,class:"unnnic-sidebar-item-child__icon",icon:b.icon,size:"ant",scheme:u(k)?"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(k)}),title:b.label},t.toDisplayString(b.label),11,v5)],10,B5))),128))])):t.createCommentVNode("",!0)]),_:1})],64)}}}),[["__scopeId","data-v-418b1f69"]]),cZ="",j5={class:"unnnic-sidebar-items"},sc=z(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:C5},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",j5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(c,f)=>(t.openBlock(),t.createElementBlock("li",{key:c},[t.createVNode(ms,{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"]]),_Z="",N5={name:"UnnnicTable",components:{},props:{items:{type:Array}},data(){return{value:!1}},computed:{}},S5={class:"unnnic-table"},T5={class:"header"},I5={class:"scroll"};function O5(e,n,a,i,o,s){return t.withDirectives((t.openBlock(),t.createElementBlock("div",S5,[t.createElementVNode("div",T5,[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",I5,[(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 lc=z(N5,[["render",O5],["__scopeId","data-v-b2229274"]]),gZ="",hZ="",L5={name:"UnnnicTableRow",props:{headers:{type:Array}},data(){return{}}},z5={class:"table-row"},q5={class:"break-text"};function P5(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",q5,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 uc=z(L5,[["render",P5],["__scopeId","data-v-cb0c6b93"]]);function xg(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Yr(e){return typeof e=="function"?e():t.unref(e)}const Mg=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const V5=Object.prototype.toString,U5=e=>V5.call(e)==="[object Object]",Hr=()=>{},cc=R5();function R5(){var e,n;return Mg&&((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 Bg={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function Y5(...e){if(e.length!==1)return t.toRef(...e);const n=e[0];return typeof n=="function"?t.readonly(t.customRef(()=>({get:n,set:Hr}))):t.ref(n)}function Qr(e){var n;const a=Yr(e);return(n=a==null?void 0:a.$el)!=null?n:a}const vg=Mg?window:void 0;function Fs(...e){let n,a,i,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,o]=e,n=vg):[n,a,i,o]=e,!n)return Hr;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(()=>[Qr(n),Yr(o)],([g,m])=>{if(u(),!g)return;const F=U5(m)?{...m}:m;s.push(...a.flatMap(b=>i.map(k=>c(g,b,k,F))))},{immediate:!0,flush:"post"}),_=()=>{f(),u()};return xg(_),_}let jg=!1;function Ng(e,n,a={}){const{window:i=vg,ignore:o=[],capture:s=!0,detectIframe:u=!1}=a;if(!i)return Hr;cc&&!jg&&(jg=!0,Array.from(i.document.body.children).forEach(F=>F.addEventListener("click",Hr)),i.document.documentElement.addEventListener("click",Hr));let c=!0;const f=F=>o.some(b=>{if(typeof b=="string")return Array.from(i.document.querySelectorAll(b)).some(k=>k===F.target||F.composedPath().includes(k));{const k=Qr(b);return k&&(F.target===k||F.composedPath().includes(k))}}),g=[Fs(i,"click",F=>{const b=Qr(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}),Fs(i,"pointerdown",F=>{const b=Qr(e);c=!f(F)&&!!(b&&!F.composedPath().includes(b))},{passive:!0}),u&&Fs(i,"blur",F=>{setTimeout(()=>{var b;const k=Qr(e);((b=i.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!(k!=null&&k.contains(i.document.activeElement))&&n(F)},0)})].filter(Boolean);return()=>g.forEach(F=>F())}const Gr={[Bg.mounted](e,n){const a=!n.modifiers.bubble;if(typeof n.value=="function")e.__onClickOutside_stop=Ng(e,n.value,{capture:a});else{const[i,o]=n.value;e.__onClickOutside_stop=Ng(e,i,Object.assign({capture:a},o))}},[Bg.unmounted](e){e.__onClickOutside_stop()}};function dc(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Sg(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:Sg(a)}}function H5(e){const n=e||window.event,a=n.target;return Sg(a)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const fc=new WeakMap;function Q5(e,n=!1){const a=t.ref(n);let i=null,o="";t.watch(Y5(e),c=>{const f=dc(Yr(c));if(f){const _=f;if(fc.get(_)||fc.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=dc(Yr(e));!c||a.value||(cc&&(i=Fs(c,"touchmove",f=>{H5(f)},{passive:!1})),c.style.overflow="hidden",a.value=!0)},u=()=>{const c=dc(Yr(e));!c||!a.value||(cc&&(i==null||i()),c.style.overflow=o,fc.delete(c),a.value=!1)};return xg(u),t.computed({get(){return a.value},set(c){c?s():u()}})}function G5(){let e=!1;const n=t.ref(!1);return(a,i)=>{if(n.value=i.value,e)return;e=!0;const o=Q5(a,i.value);t.watch(n,s=>o.value=s)}}G5();const mZ="",W5={name:"UnnnicDropdown",directives:{onClickOutside:Gr},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)}}}},X5={class:"unnnic-dropdown__trigger"};function K5(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",X5,[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 Wr=z(W5,[["render",K5],["__scopeId","data-v-eb4f06f5"]]),FZ="",Z5={name:"UnnnicDropdownItem"},J5={class:"unnnic-dropdown-item unnnic--clickable","data-testid":"dropdown-item"};function $5(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("a",J5,[t.renderSlot(e.$slots,"default")])}const ps=z(Z5,[["render",$5]]),pZ="",e8={components:{UnnnicIcon:ee},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 t8(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 Pn=z(e8,[["render",t8],["__scopeId","data-v-d0742329"]]),bZ="",a8={name:"UnnnicCard",components:{UnnnicIcon:ee,UnnnicAvatarIcon:Pn},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"}}},n8={class:"unnnic-card-dash"},i8={class:"header"},r8={class:"label"},o8={class:"content"},s8={class:"value"},l8={class:"label"};function u8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicAvatarIcon"),c=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",n8,[t.createElementVNode("div",i8,[t.createVNode(u,{size:"sm",scheme:a.scheme,icon:a.icon},null,8,["scheme","icon"]),t.createElementVNode("div",r8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",o8,[t.createElementVNode("div",s8,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",l8,t.toDisplayString(a.percent>=0?`+${a.percent}%`:`${a.percent}%`),1)],2)):t.createCommentVNode("",!0)])])}const c8=z(a8,[["render",u8],["__scopeId","data-v-aab8cf56"]]),yZ="",d8={name:"UnnnicCard",components:{ToolTip:At,UnnnicIcon:ee},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}}},f8={class:"unnnic-card-title"},_8={class:"title"};function g8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("ToolTip");return t.openBlock(),t.createElementBlock("div",f8,[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",_8,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 Tg=z(d8,[["render",g8],["__scopeId","data-v-14d9d015"]]),wZ="",h8={name:"UnnnicCard",components:{UnnnicIcon:ee},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}}},m8={class:"header"},F8={class:"label"},p8={class:"content"},b8={class:"title-container"},y8={class:"title"},w8={class:"description"};function k8(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",m8,[t.createVNode(u,{icon:a.icon,scheme:"neutral-dark",size:"md",class:"icon"},null,8,["icon"]),t.createElementVNode("div",F8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",p8,[t.createElementVNode("div",b8,[t.createVNode(u,{icon:"indicator",scheme:a.scheme,size:"sm"},null,8,["scheme"]),t.createElementVNode("div",y8,t.toDisplayString(a.status),1)]),t.createElementVNode("div",w8,t.toDisplayString(a.description),1)])],2)}const D8=z(h8,[["render",k8],["__scopeId","data-v-1fc599bf"]]),kZ="",A8={name:"UnnnicCard",components:{UnnnicAvatarIcon:Pn},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}}},E8={class:"icon"},C8={class:"content"},x8={class:"title"},M8={class:"description"};function B8(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",E8,[t.createVNode(u,{size:"xs",scheme:a.scheme,icon:a.icon,enabled:a.enabled},null,8,["scheme","icon","enabled"])]),t.createElementVNode("div",C8,[t.createElementVNode("div",x8,t.toDisplayString(a.title),1),t.createElementVNode("div",M8,t.toDisplayString(a.description),1)])],2)}const v8=z(A8,[["render",B8],["__scopeId","data-v-7f42cb11"]]),DZ="",j8={name:"UnnnicCard",props:{title:{type:String,default:null},description:{type:String,default:null},clickable:{type:Boolean,default:!1}}},N8={class:"unnnic-card-default__content"},S8={class:"unnnic-card-default__title"},T8=["title"];function I8(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",N8,[t.createElementVNode("div",S8,t.toDisplayString(a.title),1),t.createElementVNode("p",{class:"unnnic-card-default__description",title:a.description},t.toDisplayString(a.description),9,T8)])],2)}const O8=z(j8,[["render",I8]]),AZ="",L8={name:"UnnnicCard",components:{UnnnicIcon:ee},props:{text:{type:String,default:null},icon:{type:String,default:null},clickable:{type:Boolean,default:!1}}},z8={class:"unnnic-card-blank__content"},q8={class:"unnnic-card-blank__content__text"};function P8(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",q8,t.toDisplayString(a.text),1)])],2)}const V8=z(L8,[["render",P8]]),EZ="",U8={name:"UnnnicCard",components:{UnnnicIcon:ee},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}}},R8={class:"unnnic-card-content__content"},Y8={class:"unnnic-card-content__content__title"},H8={class:"unnnic-card-content__content__description"};function Q8(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",R8,[t.createElementVNode("div",Y8,t.toDisplayString(a.title),1),t.createElementVNode("div",H8,t.toDisplayString(a.description),1)])],2)}const G8=z(U8,[["render",Q8]]),CZ="",W8={name:"UnnnicCard",components:{UnnnicIcon:ee},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")}}},X8={class:t.normalizeClass(["unnnic-card-marketplace__icons"])},K8=["src"],Z8={class:"unnnic-card-marketplace__content"},J8={class:"unnnic-card-marketplace__content__title"},$8=["title"],e7={key:0,class:"unnnic-card-marketplace__content__rating"},t7={class:"unnnic-card-marketplace__content__rating__value"},a7={class:"unnnic-card-marketplace__content__rating__comments"};function n7(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",X8,[t.createElementVNode("img",{class:"unnnic-card-marketplace__icons__app",src:a.iconSrc},null,8,K8),t.renderSlot(e.$slots,"actions")]),t.createElementVNode("div",Z8,[t.createElementVNode("div",J8,t.toDisplayString(a.title),1),t.createElementVNode("div",{class:"unnnic-card-marketplace__content__description",title:a.description},t.toDisplayString(a.description),9,$8),a.typeAction==="add"?(t.openBlock(),t.createElementBlock("div",e7,[t.createVNode(u,{class:"unnnic-card-marketplace__content__rating__star",scheme:"feedback-yellow",icon:"rating-star-1",size:"ant"}),t.createElementVNode("div",t7,t.toDisplayString(a.rating),1),t.createElementVNode("div",a7," ("+t.toDisplayString(a.comments)+") ",1)])):t.createCommentVNode("",!0)])],2)}const i7=z(W8,[["render",n7]]),xZ="",r7={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"?Tg:this.type==="dash"?c8:this.type==="status"?D8:this.type==="account"?v8:this.type==="default"?O8:this.type==="blank"?V8:this.type==="content"?G8:this.type==="marketplace"?i7:Tg}},methods:{openModal(){this.$emit("openModal")}}};function o7(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 _c=z(r7,[["render",o7]]),MZ="",gc={name:"UnnnicSimpleCard",components:{UnnnicToolTip:At,UnnnicIcon:ee},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"]},Ig=()=>{t.useCssVars(e=>({"14ad6579":e.titleSize}))},Og=gc.setup;gc.setup=Og?(e,n)=>(Ig(),Og(e,n)):Ig;const s7={key:0,class:"unnnic-simple-card__header"},l7={class:"unnnic-simple-card-header-container"},u7={class:"unnnic-simple-card-header-container__title"},c7={key:0,class:"unnnic-simple-card__header-slot"},d7=["title"],f7={key:2,class:"unnnic-simple-card__footer"};function _7(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",s7,[t.createElementVNode("section",l7,[t.createElementVNode("h1",u7,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",c7,[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,d7)):t.createCommentVNode("",!0),e.$slots.footer?(t.openBlock(),t.createElementBlock("section",f7,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])):t.createCommentVNode("",!0)],2)}const hc=z(gc,[["render",_7],["__scopeId","data-v-80dbbab7"]]),BZ="",g7={name:"UnnnicTag",components:{UnnnicIcon:ee},props:{text:{type:String,default:null},clickable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},hasCloseIcon:{type:Boolean,default:!1},scheme:{type:String,default:"aux-purple"},leftIcon:{type:String,default:null},rightIcon:{type:String,default:null}},methods:{closeClicked(){this.closeClicked&&this.$emit("close-click")},emitClose(){this.$emit("close")}}},h7={key:0,class:"unnnic-tag__icon"};function m7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(`unnnic-tag
|
|
59
|
+
*/const p9="9.14.5";function b9(){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 ng=Pt.__EXTEND_POINT__,pn=is(ng),ot={FALLBACK_TO_ROOT:ng,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()},y9={[ot.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ot.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ot.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ot.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ot.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ot.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ot.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ot.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[ot.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Gt(e,...n){return Nu(y9[e],...n)}const ig=Et.__EXTEND_POINT__,Wt=is(ig),Le={UNEXPECTED_RETURN_TYPE:ig,INVALID_ARGUMENT:Wt(),MUST_BE_CALL_SETUP_TOP:Wt(),NOT_INSTALLED:Wt(),NOT_AVAILABLE_IN_LEGACY_MODE:Wt(),REQUIRED_VALUE:Wt(),INVALID_VALUE:Wt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Wt(),NOT_INSTALLED_WITH_PROVIDE:Wt(),UNEXPECTED_ERROR:Wt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Wt(),BRIDGE_SUPPORT_VUE_2_ONLY:Wt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Wt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Wt(),__EXTEND_POINT__:Wt()};function bt(e,...n){return Hi(e,null,process.env.NODE_ENV!=="production"?{messages:w9,args:n}:void 0)}const w9={[Le.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Le.INVALID_ARGUMENT]:"Invalid argument",[Le.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Le.NOT_INSTALLED]:"Need to install with `app.use` function",[Le.UNEXPECTED_ERROR]:"Unexpected error",[Le.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Le.REQUIRED_VALUE]:"Required in value: {0}",[Le.INVALID_VALUE]:"Invalid value",[Le.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Le.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Le.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Le.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Le.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",[Le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Qu=Xa("__translateVNode"),Gu=Xa("__datetimeParts"),Wu=Xa("__numberParts"),gi=Xa("__enableEmitter"),Vr=Xa("__disableEmitter"),rg=Xa("__setPluralRules"),og=Xa("__injectWithOption"),Xu=Xa("__dispose");function Ur(e){if(!Se(e)||Fa(e))return e;for(const n in e)if(Oa(e,n))if(!n.includes("."))Se(e[n])&&Ur(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]]=We()),!Se(o[a[u]])){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.IGNORE_OBJ_FLATTEN,{key:a[u]})),s=!0;break}o=o[a[u]]}if(s||(Fa(o)?b_.includes(a[i])||delete e[n]:(o[a[i]]=e[n],delete e[n])),!Fa(o)){const u=o[a[i]];Se(u)&&Ur(u)}}return e}function _s(e,n){const{messages:a,__i18n:i,messageResolver:o,flatJson:s}=n,u=Fe(a)?a:Ze(i)?We():{[e]:We()};if(Ze(i)&&i.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:f,resource:_}=c;f?(u[f]=u[f]||We(),os(_,u[f])):os(_,u)}else $(c)&&os(JSON.parse(c),u)}),o==null&&s)for(const c in u)Oa(u,c)&&Ur(u[c]);return u}function sg(e){return e.type}function lg(e,n,a){let i=Se(n.messages)?n.messages:We();"__i18nGlobal"in a&&(i=_s(e.locale.value,{messages:i,__i18n:a.__i18nGlobal}));const o=Object.keys(i);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,i[s])});{if(Se(n.datetimeFormats)){const s=Object.keys(n.datetimeFormats);s.length&&s.forEach(u=>{e.mergeDateTimeFormat(u,n.datetimeFormats[u])})}if(Se(n.numberFormats)){const s=Object.keys(n.numberFormats);s.length&&s.forEach(u=>{e.mergeNumberFormat(u,n.numberFormats[u])})}}}function ug(e){return t.createVNode(t.Text,null,e,0)}const cg="__INTLIFY_META__",dg=()=>[],k9=()=>!1;let fg=0;function _g(e){return(n,a,i,o)=>e(a,i,t.getCurrentInstance()||void 0,o)}const D9=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=sg(e)[cg])?{[cg]:n}:null};function Ku(e={},n){const{__root:a,__injectWithOption:i}=e,o=a===void 0,s=e.flatJson,u=Ia?t.ref:t.shallowRef,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&Z0(Gt(ot.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let f=Ae(e.inheritLocale)?e.inheritLocale:!0;const _=u(a&&f?a.locale.value:$(e.locale)?e.locale:Wi),g=u(a&&f?a.fallbackLocale.value:$(e.fallbackLocale)||Ze(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:_.value),m=u(_s(_.value,e)),F=u(Fe(e.datetimeFormats)?e.datetimeFormats:{[_.value]:{}}),b=u(Fe(e.numberFormats)?e.numberFormats:{[_.value]:{}});let k=a?a.missingWarn:Ae(e.missingWarn)||On(e.missingWarn)?e.missingWarn:!0,x=a?a.fallbackWarn:Ae(e.fallbackWarn)||On(e.fallbackWarn)?e.fallbackWarn:!0,D=a?a.fallbackRoot:Ae(e.fallbackRoot)?e.fallbackRoot:!0,N=!!e.fallbackFormat,L=Xe(e.missing)?e.missing:null,E=Xe(e.missing)?_g(e.missing):null,j=Xe(e.postTranslation)?e.postTranslation:null,q=a?a.warnHtmlMessage:Ae(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const P=a?a.modifiers:Fe(e.modifiers)?e.modifiers:{};let O=e.pluralRules||a&&a.pluralRules,U;U=(()=>{o&&I_(null);const R={version:p9,locale:_.value,fallbackLocale:g.value,messages:m.value,modifiers:P,pluralRules:O,missing:E===null?void 0:E,missingWarn:k,fallbackWarn:x,fallbackFormat:N,unresolving:!0,postTranslation:j===null?void 0:j,warnHtmlMessage:q,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=F.value,R.numberFormats=b.value,R.__datetimeFormatters=Fe(U)?U.__datetimeFormatters:void 0,R.__numberFormatters=Fe(U)?U.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(R.__v_emitter=Fe(U)?U.__v_emitter:void 0);const X=$D(R);return o&&I_(X),X})(),Pr(U,_.value,g.value);function ke(){return[_.value,g.value,m.value,F.value,b.value]}const le=t.computed({get:()=>_.value,set:R=>{_.value=R,U.locale=_.value}}),fe=t.computed({get:()=>g.value,set:R=>{g.value=R,U.fallbackLocale=g.value,Pr(U,_.value,R)}}),ze=t.computed(()=>m.value),He=t.computed(()=>F.value),Ce=t.computed(()=>b.value);function Me(){return Xe(j)?j:null}function te(R){j=R,U.postTranslation=R}function st(){return L}function Vt(R){R!==null&&(E=_g(R)),L=R,U.missing=E}function wt(R,X){return R!=="translate"||!X.resolvedMessage}const Ct=(R,X,Te,nt,wa,Xn)=>{ke();let an;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&S_(D9()),o||(U.fallbackContext=a?JD():void 0),an=R(U)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&S_(null),o||(U.fallbackContext=void 0)}if(Te!=="translate exists"&>(an)&&an===cs||Te==="translate exists"&&!an){const[Pa,uo]=X();if(process.env.NODE_ENV!=="production"&&a&&$(Pa)&&wt(Te,uo)&&(D&&(fs(x,Pa)||L_(k,Pa))&&Ft(Gt(ot.FALLBACK_TO_ROOT,{key:Pa,type:Te})),process.env.NODE_ENV!=="production")){const{__v_emitter:lr}=U;lr&&D&&lr.emit("fallback",{type:Te,key:Pa,to:"global",groupId:`${Te}:${Pa}`})}return a&&D?nt(a):wa(Pa)}else{if(Xn(an))return an;throw bt(Le.UNEXPECTED_RETURN_TYPE)}};function lt(...R){return Ct(X=>Reflect.apply(H_,null,[X,...R]),()=>Uu(...R),"translate",X=>Reflect.apply(X.t,X,[...R]),X=>X,X=>$(X))}function dt(...R){const[X,Te,nt]=R;if(nt&&!Se(nt))throw bt(Le.INVALID_ARGUMENT);return lt(X,Te,Mt({resolvedMessage:!0},nt||{}))}function jt(...R){return Ct(X=>Reflect.apply(K_,null,[X,...R]),()=>Ru(...R),"datetime format",X=>Reflect.apply(X.d,X,[...R]),()=>ds,X=>$(X))}function ra(...R){return Ct(X=>Reflect.apply($_,null,[X,...R]),()=>Yu(...R),"number format",X=>Reflect.apply(X.n,X,[...R]),()=>ds,X=>$(X))}function Je(R){return R.map(X=>$(X)||gt(X)||Ae(X)?ug(String(X)):X)}const Ot={normalize:Je,interpolate:R=>R,type:"vnode"};function sa(...R){return Ct(X=>{let Te;const nt=X;try{nt.processor=Ot,Te=Reflect.apply(H_,null,[nt,...R])}finally{nt.processor=null}return Te},()=>Uu(...R),"translate",X=>X[Qu](...R),X=>[ug(X)],X=>Ze(X))}function Kt(...R){return Ct(X=>Reflect.apply($_,null,[X,...R]),()=>Yu(...R),"number format",X=>X[Wu](...R),dg,X=>$(X)||Ze(X))}function Ut(...R){return Ct(X=>Reflect.apply(K_,null,[X,...R]),()=>Ru(...R),"datetime format",X=>X[Gu](...R),dg,X=>$(X)||Ze(X))}function Gn(R){O=R,U.pluralRules=O}function K(R,X){return Ct(()=>{if(!R)return!1;const Te=$(X)?X:_.value,nt=Nt(Te),wa=U.messageResolver(nt,R);return c?wa!=null:Fa(wa)||pa(wa)||$(wa)},()=>[R],"translate exists",Te=>Reflect.apply(Te.te,Te,[R,X]),k9,Te=>Ae(Te))}function Be(R){let X=null;const Te=E_(U,g.value,_.value);for(let nt=0;nt<Te.length;nt++){const wa=m.value[Te[nt]]||{},Xn=U.messageResolver(wa,R);if(Xn!=null){X=Xn;break}}return X}function ki(R){const X=Be(R);return X??(a?a.tm(R)||{}:{})}function Nt(R){return m.value[R]||{}}function Wn(R,X){if(s){const Te={[R]:X};for(const nt in Te)Oa(Te,nt)&&Ur(Te[nt]);X=Te[R]}m.value[R]=X,U.messages=m.value}function lo(R,X){m.value[R]=m.value[R]||{};const Te={[R]:X};if(s)for(const nt in Te)Oa(Te,nt)&&Ur(Te[nt]);X=Te[R],os(X,m.value[R]),U.messages=m.value}function C(R){return F.value[R]||{}}function v(R,X){F.value[R]=X,U.datetimeFormats=F.value,J_(U,R,X)}function G(R,X){F.value[R]=Mt(F.value[R]||{},X),U.datetimeFormats=F.value,J_(U,R,X)}function ue(R){return b.value[R]||{}}function $e(R,X){b.value[R]=X,U.numberFormats=b.value,tg(U,R,X)}function qe(R,X){b.value[R]=Mt(b.value[R]||{},X),U.numberFormats=b.value,tg(U,R,X)}fg++,a&&Ia&&(t.watch(a.locale,R=>{f&&(_.value=R,U.locale=R,Pr(U,_.value,g.value))}),t.watch(a.fallbackLocale,R=>{f&&(g.value=R,U.fallbackLocale=R,Pr(U,_.value,g.value))}));const Ue={id:fg,locale:le,fallbackLocale:fe,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&a&&(_.value=a.locale.value,g.value=a.fallbackLocale.value,Pr(U,_.value,g.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:ze,get modifiers(){return P},get pluralRules(){return O||{}},get isGlobal(){return o},get missingWarn(){return k},set missingWarn(R){k=R,U.missingWarn=k},get fallbackWarn(){return x},set fallbackWarn(R){x=R,U.fallbackWarn=x},get fallbackRoot(){return D},set fallbackRoot(R){D=R},get fallbackFormat(){return N},set fallbackFormat(R){N=R,U.fallbackFormat=N},get warnHtmlMessage(){return q},set warnHtmlMessage(R){q=R,U.warnHtmlMessage=R},get escapeParameter(){return T},set escapeParameter(R){T=R,U.escapeParameter=R},t:lt,getLocaleMessage:Nt,setLocaleMessage:Wn,mergeLocaleMessage:lo,getPostTranslationHandler:Me,setPostTranslationHandler:te,getMissingHandler:st,setMissingHandler:Vt,[rg]:Gn};return Ue.datetimeFormats=He,Ue.numberFormats=Ce,Ue.rt=dt,Ue.te=K,Ue.tm=ki,Ue.d=jt,Ue.n=ra,Ue.getDateTimeFormat=C,Ue.setDateTimeFormat=v,Ue.mergeDateTimeFormat=G,Ue.getNumberFormat=ue,Ue.setNumberFormat=$e,Ue.mergeNumberFormat=qe,Ue[og]=i,Ue[Qu]=sa,Ue[Gu]=Ut,Ue[Wu]=Kt,process.env.NODE_ENV!=="production"&&(Ue[gi]=R=>{U.__v_emitter=R},Ue[Vr]=()=>{U.__v_emitter=void 0}),Ue}function A9(e){const n=$(e.locale)?e.locale:Wi,a=$(e.fallbackLocale)||Ze(e.fallbackLocale)||Fe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,i=Xe(e.missing)?e.missing:void 0,o=Ae(e.silentTranslationWarn)||On(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,s=Ae(e.silentFallbackWarn)||On(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,u=Ae(e.fallbackRoot)?e.fallbackRoot:!0,c=!!e.formatFallbackMessages,f=Fe(e.modifiers)?e.modifiers:{},_=e.pluralizationRules,g=Xe(e.postTranslation)?e.postTranslation:void 0,m=$(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,F=!!e.escapeParameterHtml,b=Ae(e.sync)?e.sync:!0;process.env.NODE_ENV!=="production"&&e.formatter&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&e.preserveDirectiveContent&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let k=e.messages;if(Fe(e.sharedMessages)){const T=e.sharedMessages;k=Object.keys(T).reduce((O,U)=>{const se=O[U]||(O[U]={});return Mt(se,T[U]),O},k||{})}const{__i18n:x,__root:D,__injectWithOption:N}=e,L=e.datetimeFormats,E=e.numberFormats,j=e.flatJson,q=e.translateExistCompatible;return{locale:n,fallbackLocale:a,messages:k,flatJson:j,datetimeFormats:L,numberFormats:E,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:x,__root:D,__injectWithOption:N}}function Zu(e={},n){{const a=Ku(A9(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"&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(s){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_SUPPORTED_FORMATTER))},get missing(){return a.getMissingHandler()},set missing(s){a.setMissingHandler(s)},get silentTranslationWarn(){return Ae(a.missingWarn)?!a.missingWarn:a.missingWarn},set silentTranslationWarn(s){a.missingWarn=Ae(s)?!s:s},get silentFallbackWarn(){return Ae(a.fallbackWarn)?!a.fallbackWarn:a.fallbackWarn},set silentFallbackWarn(s){a.fallbackWarn=Ae(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"&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(s){process.env.NODE_ENV!=="production"&&Ft(Gt(ot.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 bt(Le.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:Ze(c)?g=c:Fe(c)&&(m=c),Ze(f)?g=f:Fe(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 bt(Le.INVALID_ARGUMENT);const F=u;return $(c)?_.locale=c:gt(c)?_.plural=c:Ze(c)?g=c:Fe(c)&&(m=c),$(f)?_.locale=f:Ze(f)?g=f:Fe(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"&&Ft(Gt(ot.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return o.__extender=i,process.env.NODE_ENV!=="production"&&(o.__enableEmitter=s=>{const u=a;u[gi]&&u[gi](s)},o.__disableEmitter=()=>{const s=a;s[Vr]&&s[Vr]()}),o}}const Ju={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function E9({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},We())}function gg(e){return t.Fragment}const $u=t.defineComponent({name:"i18n-t",props:Mt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>gt(e)||!isNaN(e)}},Ju),setup(e,n){const{slots:a,attrs:i}=n,o=e.i18n||nc({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(a).filter(m=>m!=="_"),u=We();e.locale&&(u.locale=e.locale),e.plural!==void 0&&(u.plural=$(e.plural)?+e.plural:e.plural);const c=E9(n,s),f=o[Qu](e.keypath,c,u),_=Mt(We(),i),g=$(e.tag)||Se(e.tag)?e.tag:gg();return t.h(g,_,f)}}});function C9(e){return Ze(e)&&!$(e[0])}function hg(e,n,a,i){const{slots:o,attrs:s}=n;return()=>{const u={part:!0};let c=We();e.locale&&(u.locale=e.locale),$(e.format)?u.key=e.format:Se(e.format)&&($(e.format.key)&&(u.key=e.format.key),c=Object.keys(e.format).reduce((F,b)=>a.includes(b)?Mt(We(),F,{[b]:e.format[b]}):F,We()));const f=i(e.value,u,c);let _=[u.key];Ze(f)?_=f.map((F,b)=>{const k=o[F.type],x=k?k({[F.type]:F.value,index:b,parts:f}):[F.value];return C9(x)&&(x[0].key=`${F.type}-${b}`),x}):$(f)&&(_=[f]);const g=Mt(We(),s),m=$(e.tag)||Se(e.tag)?e.tag:gg();return t.h(m,g,_)}}const mg=t.defineComponent({name:"i18n-n",props:Mt({value:{type:Number,required:!0},format:{type:[String,Object]}},Ju),setup(e,n){const a=e.i18n||nc({useScope:e.scope,__useComponent:!0});return hg(e,n,eg,(...i)=>a[Wu](...i))}}),Fg=t.defineComponent({name:"i18n-d",props:Mt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ju),setup(e,n){const a=e.i18n||nc({useScope:e.scope,__useComponent:!0});return hg(e,n,Z_,(...i)=>a[Gu](...i))}});function x9(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 M9(e){const n=u=>{const{instance:c,modifiers:f,value:_}=u;if(!c||!c.$)throw bt(Le.UNEXPECTED_ERROR);const g=x9(e,c.$);process.env.NODE_ENV!=="production"&&f.preserve&&Ft(Gt(ot.NOT_SUPPORTED_PRESERVE));const m=pg(_);return[Reflect.apply(g.t,g,[...bg(m)]),g]};return{created:(u,c)=>{const[f,_]=n(c);Ia&&e.global===_&&(u.__i18nWatcher=t.watch(_.locale,()=>{c.instance&&c.instance.$forceUpdate()})),u.__composer=_,u.textContent=f},unmounted:u=>{Ia&&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,_=pg(c);u.textContent=Reflect.apply(f.t,f,[...bg(_)])}},getSSRProps:u=>{const[c]=n(u);return{textContent:c}}}}function pg(e){if($(e))return{path:e};if(Fe(e)){if(!("path"in e))throw bt(Le.REQUIRED_VALUE,"path");return e}else throw bt(Le.INVALID_VALUE)}function bg(e){const{path:n,locale:a,args:i,choice:o,plural:s}=e,u={},c=i||{};return $(a)&&(u.locale=a),gt(o)&&(u.plural=o),gt(s)&&(u.plural=s),[n,c,u]}function B9(e,n,...a){const i=Fe(a[0])?a[0]:{},o=!!i.useI18nComponentName,s=Ae(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&s&&o&&Ft(Gt(ot.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:$u.name})),s&&([o?"i18n":$u.name,"I18nT"].forEach(u=>e.component(u,$u)),[mg.name,"I18nN"].forEach(u=>e.component(u,mg)),[Fg.name,"I18nD"].forEach(u=>e.component(u,Fg))),e.directive("t",M9(n))}const ec={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},v9={["vue-i18n-resource-inspector"]:"Search for scopes ..."},j9={["vue-i18n-timeline"]:16764185},yg="vue-i18n: composer properties";let tc;async function N9(e,n){return new Promise((a,i)=>{try{F9({id:"vue-devtools-plugin-vue-i18n",label:ec["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:[yg],app:e},o=>{tc=o,o.on.visitComponentTree(({componentInstance:u,treeNode:c})=>{S9(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&&kg(c,u.vnode.el.__VUE_I18N__):kg(c,u.vnode.el.__VUE_I18N__))}),o.addInspector({id:"vue-i18n-resource-inspector",label:ec["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:v9["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(),P9(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=q9(u.nodeId,n);c&&o.highlightElement(c)}}),o.on.editInspectorState(u=>{u.app===e&&u.inspectorId==="vue-i18n-resource-inspector"&&U9(u,n)}),o.addTimelineLayer({id:"vue-i18n-timeline",label:ec["vue-i18n-timeline"],color:j9["vue-i18n-timeline"]}),a(!0)})}catch(o){console.error(o),i(!1)}})}function wg(e){return e.type.name||e.type.displayName||e.type.__file||"Anonymous"}function S9(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 (${wg(e)} Scope)`,textColor:0,backgroundColor:16764185};n.tags.push(o)}}function kg(e,n){const a=yg;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:ac(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 ac(e){const n={};return Object.keys(e).forEach(a=>{const i=e[a];Xe(i)&&"source"in i?n[a]=L9(i):Fa(i)&&i.loc&&i.loc.source?n[a]=i.loc.source:Se(i)?n[a]=ac(i):n[a]=i}),n}const T9={"<":"<",">":">",'"':""","&":"&"};function I9(e){return e.replace(/[<>"&]/g,O9)}function O9(e){return T9[e]||e}function L9(e){return{_custom:{type:"function",display:`<span>ƒ</span> ${e.source?`("${I9(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:`${wg(i)} Scope`})}}function q9(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 Dg(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 P9(e,n){const a=Dg(e.nodeId,n);return a&&(e.state=V9(a)),null}function V9(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:ac(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 Rr(e,n){if(tc){let a;n&&"groupId"in n&&(a=n.groupId,delete n.groupId),tc.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 U9(e,n){const a=Dg(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)||Ze(e.state.value)||Se(e.state.value))?a.fallbackLocale.value=e.state.value:i==="inheritLocale"&&Ae(e.state.value)&&(a.inheritLocale=e.state.value)}}function R9(e,n,a){return{beforeCreate(){const i=t.getCurrentInstance();if(!i)throw bt(Le.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=Ag(e,s);else{s.__injectWithOption=!0,s.__extender=a.__vueI18nExtend,this.$i18n=Zu(s);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Ag(e,o);else{this.$i18n=Zu({__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&&lg(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=Su();i.__enableEmitter&&i.__enableEmitter(o),o.on("*",Rr)}},unmounted(){const i=t.getCurrentInstance();if(!i)throw bt(Le.UNEXPECTED_ERROR);const o=this.$i18n;process.env.NODE_ENV!=="production"&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",Rr),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 Ag(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[rg](n.pluralizationRules||e.pluralizationRules);const a=_s(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 Y9=Xa("global-vue-i18n");function H9(e={},n){const a=__VUE_I18N_LEGACY_API__&&Ae(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,i=Ae(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&a?!!e.allowComposition:!0,s=new Map,[u,c]=Q9(e,a),f=Xa(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&a&&o&&Ft(Gt(ot.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,...k){if(process.env.NODE_ENV!=="production"&&(b.__VUE_I18N__=F),b.__VUE_I18N_SYMBOL__=f,b.provide(b.__VUE_I18N_SYMBOL__,F),Fe(k[0])){const N=k[0];F.__composerExtend=N.__composerExtend,F.__vueI18nExtend=N.__vueI18nExtend}let x=null;!a&&i&&(x=t5(b,F.global)),__VUE_I18N_FULL_INSTALL__&&B9(b,F,...k),__VUE_I18N_LEGACY_API__&&a&&b.mixin(R9(c,c.__composer,F));const D=b.unmount;if(b.unmount=()=>{x&&x(),F.dispose(),D()},process.env.NODE_ENV!=="production"){if(!await N9(b,F))throw bt(Le.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const L=Su();if(a){const E=c;E.__enableEmitter&&E.__enableEmitter(L)}else{const E=c;E[gi]&&E[gi](L)}L.on("*",Rr)}},get global(){return c},dispose(){u.stop()},__instances:s,__getInstance:_,__setInstance:g,__deleteInstance:m};return F}}function nc(e={}){const n=t.getCurrentInstance();if(n==null)throw bt(Le.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw bt(Le.NOT_INSTALLED);const a=G9(n),i=X9(a),o=sg(n),s=W9(e,o);if(__VUE_I18N_LEGACY_API__&&a.mode==="legacy"&&!e.__useComponent){if(!a.allowComposition)throw bt(Le.NOT_AVAILABLE_IN_LEGACY_MODE);return $9(n,s,i,e)}if(s==="global")return lg(i,e,o),i;if(s==="parent"){let f=K9(a,n,e.__useComponent);return f==null&&(process.env.NODE_ENV!=="production"&&Ft(Gt(ot.NOT_FOUND_PARENT_SCOPE)),f=i),f}const u=a;let c=u.__getInstance(n);if(c==null){const f=Mt({},e);"__i18n"in o&&(f.__i18n=o.__i18n),i&&(f.__root=i),c=Ku(f),u.__composerExtend&&(c[Xu]=u.__composerExtend(c)),J9(u,n,c),u.__setInstance(n,c)}return c}function Q9(e,n,a){const i=t.effectScope();{const o=__VUE_I18N_LEGACY_API__&&n?i.run(()=>Zu(e)):i.run(()=>Ku(e));if(o==null)throw bt(Le.UNEXPECTED_ERROR);return[i,o]}}function G9(e){{const n=t.inject(e.isCE?Y9:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw bt(e.isCE?Le.NOT_INSTALLED_WITH_PROVIDE:Le.UNEXPECTED_ERROR);return n}}function W9(e,n){return ns(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function X9(e){return e.mode==="composition"?e.global:e.global.__composer}function K9(e,n,a=!1){let i=null;const o=n.root;let s=Z9(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[og]&&(i=null))}if(i!=null||o===s)break;s=s.parent}return i}function Z9(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function J9(e,n,a){let i=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=a,i=Su();const o=a;o[gi]&&o[gi](i),i.on("*",Rr)}},n),t.onUnmounted(()=>{const o=a;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(i&&i.off("*",Rr),o[Vr]&&o[Vr](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const s=o[Xu];s&&(s(),delete o[Xu])},n)}function $9(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 bt(Le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=Ae(i.inheritLocale)?i.inheritLocale:!$(i.locale),c=t.ref(!o||u?a.locale.value:$(i.locale)?i.locale:Wi),f=t.ref(!o||u?a.fallbackLocale.value:$(i.fallbackLocale)||Ze(i.fallbackLocale)||Fe(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:c.value),_=t.ref(_s(c.value,i)),g=t.ref(Fe(i.datetimeFormats)?i.datetimeFormats:{[c.value]:{}}),m=t.ref(Fe(i.numberFormats)?i.numberFormats:{[c.value]:{}}),F=o?a.missingWarn:Ae(i.missingWarn)||On(i.missingWarn)?i.missingWarn:!0,b=o?a.fallbackWarn:Ae(i.fallbackWarn)||On(i.fallbackWarn)?i.fallbackWarn:!0,k=o?a.fallbackRoot:Ae(i.fallbackRoot)?i.fallbackRoot:!0,x=!!i.fallbackFormat,D=Xe(i.missing)?i.missing:null,N=Xe(i.postTranslation)?i.postTranslation:null,L=o?a.warnHtmlMessage:Ae(i.warnHtmlMessage)?i.warnHtmlMessage:!0,E=!!i.escapeParameter,j=o?a.modifiers:Fe(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}}),O=t.computed({get:()=>s.value?s.value.fallbackLocale.value:f.value,set:K=>{s.value&&(s.value.fallbackLocale.value=K),f.value=K}}),U=t.computed(()=>s.value?s.value.messages.value:_.value),se=t.computed(()=>g.value),ke=t.computed(()=>m.value);function le(){return s.value?s.value.getPostTranslationHandler():N}function fe(K){s.value&&s.value.setPostTranslationHandler(K)}function ze(){return s.value?s.value.getMissingHandler():D}function He(K){s.value&&s.value.setMissingHandler(K)}function Ce(K){return T(),K()}function Me(...K){return s.value?Ce(()=>Reflect.apply(s.value.t,null,[...K])):Ce(()=>"")}function te(...K){return s.value?Reflect.apply(s.value.rt,null,[...K]):""}function st(...K){return s.value?Ce(()=>Reflect.apply(s.value.d,null,[...K])):Ce(()=>"")}function Vt(...K){return s.value?Ce(()=>Reflect.apply(s.value.n,null,[...K])):Ce(()=>"")}function wt(K){return s.value?s.value.tm(K):{}}function Ct(K,Be){return s.value?s.value.te(K,Be):!1}function lt(K){return s.value?s.value.getLocaleMessage(K):{}}function dt(K,Be){s.value&&(s.value.setLocaleMessage(K,Be),_.value[K]=Be)}function jt(K,Be){s.value&&s.value.mergeLocaleMessage(K,Be)}function ra(K){return s.value?s.value.getDateTimeFormat(K):{}}function Je(K,Be){s.value&&(s.value.setDateTimeFormat(K,Be),g.value[K]=Be)}function oa(K,Be){s.value&&s.value.mergeDateTimeFormat(K,Be)}function Ot(K){return s.value?s.value.getNumberFormat(K):{}}function sa(K,Be){s.value&&(s.value.setNumberFormat(K,Be),m.value[K]=Be)}function Kt(K,Be){s.value&&s.value.mergeNumberFormat(K,Be)}const Ut={get id(){return s.value?s.value.id:-1},locale:P,fallbackLocale:O,messages:U,datetimeFormats:se,numberFormats:ke,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:j},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:k},set fallbackRoot(K){s.value&&(s.value.fallbackRoot=K)},get fallbackFormat(){return s.value?s.value.fallbackFormat:x},set fallbackFormat(K){s.value&&(s.value.fallbackFormat=K)},get warnHtmlMessage(){return s.value?s.value.warnHtmlMessage:L},set warnHtmlMessage(K){s.value&&(s.value.warnHtmlMessage=K)},get escapeParameter(){return s.value?s.value.escapeParameter:E},set escapeParameter(K){s.value&&(s.value.escapeParameter=K)},t:Me,getPostTranslationHandler:le,setPostTranslationHandler:fe,getMissingHandler:ze,setMissingHandler:He,rt:te,d:st,n:Vt,tm:wt,te:Ct,getLocaleMessage:lt,setLocaleMessage:dt,mergeLocaleMessage:jt,getDateTimeFormat:ra,setDateTimeFormat:Je,mergeDateTimeFormat:oa,getNumberFormat:Ot,setNumberFormat:sa,mergeNumberFormat:Kt};function Gn(K){K.locale.value=c.value,K.fallbackLocale.value=f.value,Object.keys(_.value).forEach(Be=>{K.mergeLocaleMessage(Be,_.value[Be])}),Object.keys(g.value).forEach(Be=>{K.mergeDateTimeFormat(Be,g.value[Be])}),Object.keys(m.value).forEach(Be=>{K.mergeNumberFormat(Be,m.value[Be])}),K.escapeParameter=E,K.fallbackFormat=x,K.fallbackRoot=k,K.fallbackWarn=b,K.missingWarn=F,K.warnHtmlMessage=L}return t.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw bt(Le.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&&Gn(K)}),Ut}const e5=["locale","fallbackLocale","availableLocales"],Eg=["t","rt","d","n","tm","te"];function t5(e,n){const a=Object.create(null);return e5.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s)throw bt(Le.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,Eg.forEach(o=>{const s=Object.getOwnPropertyDescriptor(n,o);if(!s||!s.value)throw bt(Le.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Eg.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}if(b9(),__INTLIFY_JIT_COMPILATION__?B_(i9):B_(n9),XD(BD),KD(E_),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 a5={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"},n5={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"},Cg={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"},i5=Object.assign({en:a5,es:n5,"pt-br":Cg,"pt-BR":Cg}),gs=H9({locale:"en",fallbackLocale:"en",messages:i5}),Xt={props:{locale:{type:String},translations:{type:Object}},methods:{i18n(...e){const[n,a]=e,i=Object.keys(gs.global.messages);let{locale:o}=this;const s=Ta.get(gs,"global.locale")==="en-us"?"en":Ta.get(gs,"global.locale");o=i.includes(o)?o:s,o=o==null?void 0:o.toLowerCase();let u=Ta.get(this.translations,`${n}.${o}`,Ta.get(this.translations,n));if(u||(u=Ta.get(Ta.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}}},eZ="",r5={name:"IconLoading",components:{UnnnicIcon:ee},props:{scheme:{type:String,default:"neutral-dark"},size:{type:String,default:"lg"}}};function o5(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 hi=z(r5,[["render",o5],["__scopeId","data-v-97257015"]]),s5=["disabled"],l5=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(hi,{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(ee,{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(ee,{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(ee,{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,s5))}}),tZ="",aZ="",nZ="",Bt=z(l5,[["__scopeId","data-v-69d07815"]]),iZ="",u5={components:{UnnnicButton:Bt},mixins:[Xt],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:Dk[this.i18nLocale]},daysLocale(){const{days:e}=this;return e.length?e:Ak[this.i18nLocale]},periodsLocale(){const{options:e}=this;return e.length?e:Ek[this.i18nLocale]},clearText(){return this.clearLabel||ts[this.i18nLocale].clear},filterText(){return this.actionLabel||ts[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("-"),k=new Date(m,Number(F)-1,b);o<k&&g.push("out of range")}if(this.maxDate){const[m,F,b]=this.maxDate.split("-"),k=new Date(m,Number(F)-1,b);o>k&&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),k=new Date(F,Number(g)-1,m);b.setMonth(b.getMonth()-12),k.setMonth(k.getMonth()+12),b=b.getTime(),k=k.getTime(),this.isDateBetweenYear(_)&&(f.push("selected"),this.isDateBetweenYear(b)||f.push("left-highlighted"),this.isDateBetweenYear(k)||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})}}},c5={class:"unnnic-date-picker"},d5={class:"month-container"},f5=["onClick"],_5={class:"month-container"},g5=["onClick"],h5={class:"month-container"},m5=["onClick"],F5={key:3,class:"options-container"},p5={class:"options"},b5=["onClick"],y5={class:"actions"};function w5(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicButton");return t.openBlock(),t.createElementBlock("div",c5,[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",d5,[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,f5))),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",_5,[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,g5))),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",h5,[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,m5))),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",F5,[t.createElementVNode("div",p5,[(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,b5))),128))]),t.createElementVNode("div",y5,[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 hs=z(u5,[["render",w5],["__scopeId","data-v-546e8a09"]]),rZ="",k5={components:{UnnnicInput:Ii,UnnnicDatePicker:hs},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 D5(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 ic=z(k5,[["render",D5],["__scopeId","data-v-d2a4c41c"]]),oZ="",A5={components:{UnnnicIcon:ee},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 E5(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 rc=z(A5,[["render",E5],["__scopeId","data-v-46ae4cf4"]]),oc=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(oc),!0},C5=e=>{if(!(e!=null&&e[0]))throw new Error("Items property cannot be an empty array.");return e.forEach(oc),!0},sZ="",x5=["title"],M5={key:0,class:"unnnic-sidebar-item-children"},B5=["onClick"],v5=["title"],ms=z(Object.assign({name:"UnnnicSidebarItem"},{props:{item:{type:Object,required:!0,validator:oc},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(ee,{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,x5),(F=e.item.children)!=null&&F.length?(t.openBlock(),t.createBlock(ee,{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",M5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.item.children,(b,k)=>(t.openBlock(),t.createElementBlock("li",{key:b,class:t.normalizeClass({"unnnic-sidebar-item-child":!0,active:u(k)}),"data-testid":"sidebar-item-child",onClick:t.withModifiers(x=>!u(k)&&_("navigate",{item:e.item,child:b}),["stop"])},[b.icon?(t.openBlock(),t.createBlock(ee,{key:0,class:"unnnic-sidebar-item-child__icon",icon:b.icon,size:"ant",scheme:u(k)?"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(k)}),title:b.label},t.toDisplayString(b.label),11,v5)],10,B5))),128))])):t.createCommentVNode("",!0)]),_:1})],64)}}}),[["__scopeId","data-v-418b1f69"]]),cZ="",j5={class:"unnnic-sidebar-items"},sc=z(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:C5},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",j5,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(e.items,(c,f)=>(t.openBlock(),t.createElementBlock("li",{key:c},[t.createVNode(ms,{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"]]),_Z="",N5={name:"UnnnicTable",components:{},props:{items:{type:Array}},data(){return{value:!1}},computed:{}},S5={class:"unnnic-table"},T5={class:"header"},I5={class:"scroll"};function O5(e,n,a,i,o,s){return t.withDirectives((t.openBlock(),t.createElementBlock("div",S5,[t.createElementVNode("div",T5,[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",I5,[(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 lc=z(N5,[["render",O5],["__scopeId","data-v-b2229274"]]),gZ="",hZ="",L5={name:"UnnnicTableRow",props:{headers:{type:Array}},data(){return{}}},z5={class:"table-row"},q5={class:"break-text"};function P5(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",q5,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 uc=z(L5,[["render",P5],["__scopeId","data-v-cb0c6b93"]]);function xg(e){return t.getCurrentScope()?(t.onScopeDispose(e),!0):!1}function Yr(e){return typeof e=="function"?e():t.unref(e)}const Mg=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const V5=Object.prototype.toString,U5=e=>V5.call(e)==="[object Object]",Hr=()=>{},cc=R5();function R5(){var e,n;return Mg&&((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 Bg={mounted:"mounted",updated:"updated",unmounted:"unmounted"};function Y5(...e){if(e.length!==1)return t.toRef(...e);const n=e[0];return typeof n=="function"?t.readonly(t.customRef(()=>({get:n,set:Hr}))):t.ref(n)}function Qr(e){var n;const a=Yr(e);return(n=a==null?void 0:a.$el)!=null?n:a}const vg=Mg?window:void 0;function Fs(...e){let n,a,i,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([a,i,o]=e,n=vg):[n,a,i,o]=e,!n)return Hr;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(()=>[Qr(n),Yr(o)],([g,m])=>{if(u(),!g)return;const F=U5(m)?{...m}:m;s.push(...a.flatMap(b=>i.map(k=>c(g,b,k,F))))},{immediate:!0,flush:"post"}),_=()=>{f(),u()};return xg(_),_}let jg=!1;function Ng(e,n,a={}){const{window:i=vg,ignore:o=[],capture:s=!0,detectIframe:u=!1}=a;if(!i)return Hr;cc&&!jg&&(jg=!0,Array.from(i.document.body.children).forEach(F=>F.addEventListener("click",Hr)),i.document.documentElement.addEventListener("click",Hr));let c=!0;const f=F=>o.some(b=>{if(typeof b=="string")return Array.from(i.document.querySelectorAll(b)).some(k=>k===F.target||F.composedPath().includes(k));{const k=Qr(b);return k&&(F.target===k||F.composedPath().includes(k))}}),g=[Fs(i,"click",F=>{const b=Qr(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}),Fs(i,"pointerdown",F=>{const b=Qr(e);c=!f(F)&&!!(b&&!F.composedPath().includes(b))},{passive:!0}),u&&Fs(i,"blur",F=>{setTimeout(()=>{var b;const k=Qr(e);((b=i.document.activeElement)==null?void 0:b.tagName)==="IFRAME"&&!(k!=null&&k.contains(i.document.activeElement))&&n(F)},0)})].filter(Boolean);return()=>g.forEach(F=>F())}const Gr={[Bg.mounted](e,n){const a=!n.modifiers.bubble;if(typeof n.value=="function")e.__onClickOutside_stop=Ng(e,n.value,{capture:a});else{const[i,o]=n.value;e.__onClickOutside_stop=Ng(e,i,Object.assign({capture:a},o))}},[Bg.unmounted](e){e.__onClickOutside_stop()}};function dc(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Sg(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:Sg(a)}}function H5(e){const n=e||window.event,a=n.target;return Sg(a)?!1:n.touches.length>1?!0:(n.preventDefault&&n.preventDefault(),!1)}const fc=new WeakMap;function Q5(e,n=!1){const a=t.ref(n);let i=null,o="";t.watch(Y5(e),c=>{const f=dc(Yr(c));if(f){const _=f;if(fc.get(_)||fc.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=dc(Yr(e));!c||a.value||(cc&&(i=Fs(c,"touchmove",f=>{H5(f)},{passive:!1})),c.style.overflow="hidden",a.value=!0)},u=()=>{const c=dc(Yr(e));!c||!a.value||(cc&&(i==null||i()),c.style.overflow=o,fc.delete(c),a.value=!1)};return xg(u),t.computed({get(){return a.value},set(c){c?s():u()}})}function G5(){let e=!1;const n=t.ref(!1);return(a,i)=>{if(n.value=i.value,e)return;e=!0;const o=Q5(a,i.value);t.watch(n,s=>o.value=s)}}G5();const mZ="",W5={name:"UnnnicDropdown",directives:{onClickOutside:Gr},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)}}}},X5={class:"unnnic-dropdown__trigger"};function K5(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",X5,[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 Wr=z(W5,[["render",K5],["__scopeId","data-v-eb4f06f5"]]),FZ="",Z5={name:"UnnnicDropdownItem"},J5={class:"unnnic-dropdown-item unnnic--clickable","data-testid":"dropdown-item"};function $5(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("a",J5,[t.renderSlot(e.$slots,"default")])}const ps=z(Z5,[["render",$5]]),pZ="",e8={components:{UnnnicIcon:ee},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 t8(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 Pn=z(e8,[["render",t8],["__scopeId","data-v-d0742329"]]),bZ="",a8={name:"UnnnicCard",components:{UnnnicIcon:ee,UnnnicAvatarIcon:Pn},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"}}},n8={class:"unnnic-card-dash"},i8={class:"header"},r8={class:"label"},o8={class:"content"},s8={class:"value"},l8={class:"label"};function u8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicAvatarIcon"),c=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",n8,[t.createElementVNode("div",i8,[t.createVNode(u,{size:"sm",scheme:a.scheme,icon:a.icon},null,8,["scheme","icon"]),t.createElementVNode("div",r8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",o8,[t.createElementVNode("div",s8,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",l8,t.toDisplayString(a.percent>=0?`+${a.percent}%`:`${a.percent}%`),1)],2)):t.createCommentVNode("",!0)])])}const c8=z(a8,[["render",u8],["__scopeId","data-v-aab8cf56"]]),yZ="",d8={name:"UnnnicCard",components:{ToolTip:At,UnnnicIcon:ee},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}}},f8={class:"unnnic-card-title"},_8={class:"title"};function g8(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon"),c=t.resolveComponent("ToolTip");return t.openBlock(),t.createElementBlock("div",f8,[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",_8,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 Tg=z(d8,[["render",g8],["__scopeId","data-v-14d9d015"]]),wZ="",h8={name:"UnnnicCard",components:{UnnnicIcon:ee},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}}},m8={class:"header"},F8={class:"label"},p8={class:"content"},b8={class:"title-container"},y8={class:"title"},w8={class:"description"};function k8(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",m8,[t.createVNode(u,{icon:a.icon,scheme:"neutral-dark",size:"md",class:"icon"},null,8,["icon"]),t.createElementVNode("div",F8,t.toDisplayString(a.title),1)]),t.createElementVNode("div",p8,[t.createElementVNode("div",b8,[t.createVNode(u,{icon:"indicator",scheme:a.scheme,size:"sm"},null,8,["scheme"]),t.createElementVNode("div",y8,t.toDisplayString(a.status),1)]),t.createElementVNode("div",w8,t.toDisplayString(a.description),1)])],2)}const D8=z(h8,[["render",k8],["__scopeId","data-v-1fc599bf"]]),kZ="",A8={name:"UnnnicCard",components:{UnnnicAvatarIcon:Pn},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}}},E8={class:"icon"},C8={class:"content"},x8={class:"title"},M8={class:"description"};function B8(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",E8,[t.createVNode(u,{size:"xs",scheme:a.scheme,icon:a.icon,enabled:a.enabled},null,8,["scheme","icon","enabled"])]),t.createElementVNode("div",C8,[t.createElementVNode("div",x8,t.toDisplayString(a.title),1),t.createElementVNode("div",M8,t.toDisplayString(a.description),1)])],2)}const v8=z(A8,[["render",B8],["__scopeId","data-v-7f42cb11"]]),DZ="",j8={name:"UnnnicCard",props:{title:{type:String,default:null},description:{type:String,default:null},clickable:{type:Boolean,default:!1}}},N8={class:"unnnic-card-default__content"},S8={class:"unnnic-card-default__title"},T8=["title"];function I8(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",N8,[t.createElementVNode("div",S8,t.toDisplayString(a.title),1),t.createElementVNode("p",{class:"unnnic-card-default__description",title:a.description},t.toDisplayString(a.description),9,T8)])],2)}const O8=z(j8,[["render",I8]]),AZ="",L8={name:"UnnnicCard",components:{UnnnicIcon:ee},props:{text:{type:String,default:null},icon:{type:String,default:null},clickable:{type:Boolean,default:!1}}},z8={class:"unnnic-card-blank__content"},q8={class:"unnnic-card-blank__content__text"};function P8(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",q8,t.toDisplayString(a.text),1)])],2)}const V8=z(L8,[["render",P8]]),EZ="",U8={name:"UnnnicCard",components:{UnnnicIcon:ee},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}}},R8={class:"unnnic-card-content__content"},Y8={class:"unnnic-card-content__content__title"},H8={class:"unnnic-card-content__content__description"};function Q8(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",R8,[t.createElementVNode("div",Y8,t.toDisplayString(a.title),1),t.createElementVNode("div",H8,t.toDisplayString(a.description),1)])],2)}const G8=z(U8,[["render",Q8]]),CZ="",W8={name:"UnnnicCard",components:{UnnnicIcon:ee},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")}}},X8={class:t.normalizeClass(["unnnic-card-marketplace__icons"])},K8=["src"],Z8={class:"unnnic-card-marketplace__content"},J8={class:"unnnic-card-marketplace__content__title"},$8=["title"],e7={key:0,class:"unnnic-card-marketplace__content__rating"},t7={class:"unnnic-card-marketplace__content__rating__value"},a7={class:"unnnic-card-marketplace__content__rating__comments"};function n7(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",X8,[t.createElementVNode("img",{class:"unnnic-card-marketplace__icons__app",src:a.iconSrc},null,8,K8),t.renderSlot(e.$slots,"actions")]),t.createElementVNode("div",Z8,[t.createElementVNode("div",J8,t.toDisplayString(a.title),1),t.createElementVNode("div",{class:"unnnic-card-marketplace__content__description",title:a.description},t.toDisplayString(a.description),9,$8),a.typeAction==="add"?(t.openBlock(),t.createElementBlock("div",e7,[t.createVNode(u,{class:"unnnic-card-marketplace__content__rating__star",scheme:"feedback-yellow",icon:"rating-star-1",size:"ant"}),t.createElementVNode("div",t7,t.toDisplayString(a.rating),1),t.createElementVNode("div",a7," ("+t.toDisplayString(a.comments)+") ",1)])):t.createCommentVNode("",!0)])],2)}const i7=z(W8,[["render",n7]]),xZ="",r7={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"?Tg:this.type==="dash"?c8:this.type==="status"?D8:this.type==="account"?v8:this.type==="default"?O8:this.type==="blank"?V8:this.type==="content"?G8:this.type==="marketplace"?i7:Tg}},methods:{openModal(){this.$emit("openModal")}}};function o7(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 _c=z(r7,[["render",o7]]),MZ="",gc={name:"UnnnicSimpleCard",components:{UnnnicToolTip:At,UnnnicIcon:ee},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"]},Ig=()=>{t.useCssVars(e=>({"14ad6579":e.titleSize}))},Og=gc.setup;gc.setup=Og?(e,n)=>(Ig(),Og(e,n)):Ig;const s7={key:0,class:"unnnic-simple-card__header"},l7={class:"unnnic-simple-card-header-container"},u7={class:"unnnic-simple-card-header-container__title"},c7={key:0,class:"unnnic-simple-card__header-slot"},d7=["title"],f7={key:2,class:"unnnic-simple-card__footer"};function _7(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",s7,[t.createElementVNode("section",l7,[t.createElementVNode("h1",u7,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",c7,[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,d7)):t.createCommentVNode("",!0),e.$slots.footer?(t.openBlock(),t.createElementBlock("section",f7,[t.renderSlot(e.$slots,"footer",{},void 0,!0)])):t.createCommentVNode("",!0)],2)}const hc=z(gc,[["render",_7],["__scopeId","data-v-80dbbab7"]]),BZ="",g7={name:"UnnnicTag",components:{UnnnicIcon:ee},props:{text:{type:String,default:null},clickable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},hasCloseIcon:{type:Boolean,default:!1},scheme:{type:String,default:"aux-purple"},leftIcon:{type:String,default:null},rightIcon:{type:String,default:null}},methods:{closeClicked(){this.closeClicked&&this.$emit("close-click")},emitClose(){this.$emit("close")}}},h7={key:0,class:"unnnic-tag__icon"};function m7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(`unnnic-tag
|
|
60
60
|
${a.disabled?"unnnic-tag--disabled":`unnnic-tag-scheme--${a.scheme}`}
|
|
61
61
|
${a.clickable?"unnnic-tag--clickable":""}`)},[a.leftIcon?(t.openBlock(),t.createElementBlock("section",h7,[t.createVNode(u,{icon:a.leftIcon,scheme:a.scheme,size:"sm"},null,8,["icon","scheme"])])):t.createCommentVNode("",!0),t.createElementVNode("span",{class:t.normalizeClass(`unnnic-tag__label
|
|
62
62
|
${a.disabled?"unnnic-tag__label--disabled":""}`)},t.toDisplayString(a.text),3),a.rightIcon||a.hasCloseIcon?(t.openBlock(),t.createElementBlock("section",{key:1,class:t.normalizeClass({"unnnic-tag__icon":!0,clickable:!a.rightIcon}),onClick:n[0]||(n[0]=t.withModifiers(c=>a.hasCloseIcon?s.emitClose():()=>{},["stop"]))},[t.createVNode(u,{icon:a.rightIcon||"close",scheme:a.rightIcon?a.scheme:"neutral-darkest",size:"sm"},null,8,["icon","scheme"])],2)):t.createCommentVNode("",!0)],2)}const F7=z(g7,[["render",m7],["__scopeId","data-v-618eeccb"]]),vZ="",p7={name:"UnnnicTag",components:{UnnnicIcon:ee,ToolTip:At},props:{text:{type:String,default:null},tooltipText:{type:String,default:null},count:{type:Number,default:0},clickable:{type:Boolean,default:!1},hasBackButton:{type:Boolean,default:!1},enableTooltip:{type:Boolean,default:!1}}},b7={class:"unnnic-tag__count"},y7={class:"unnnic-tag__label"};function w7(e,n,a,i,o,s){const u=t.resolveComponent("ToolTip"),c=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(`unnnic-tag
|
|
63
|
-
${a.clickable?"unnnic-tag--clickable":""}`)},[t.createVNode(u,{enabled:a.enableTooltip,text:a.tooltipText,side:"bottom"},{default:t.withCtx(()=>[t.createElementVNode("span",b7,t.toDisplayString(a.count),1)]),_:1},8,["enabled","text"]),t.createElementVNode("span",y7,t.toDisplayString(a.text),1),a.hasBackButton?(t.openBlock(),t.createBlock(c,{key:0,icon:"arrow-right-1-1",class:"unnnic-tag__icon",scheme:"neutral-darkest",size:"xs"})):t.createCommentVNode("",!0)],2)}const k7=z(p7,[["render",w7],["__scopeId","data-v-e2dde609"]]),jZ="",D7={name:"UnnnicBrandTag",components:{UnnnicIcon:ee},props:{text:{type:String,default:null},clickable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{closeClicked(){this.closeClicked&&this.$emit("close-click")}}},A7={class:"unnnic-brand-tag__label"};function E7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-brand-tag":!0,"unnnic-brand-tag--disabled":!a.disabled,"unnnic-brand-tag--clickable":a.clickable})},[t.createElementVNode("span",A7,t.toDisplayString(a.text),1),t.createVNode(u,{icon:a.disabled?"close-1":"add-1",scheme:a.disabled?"neutral-snow":"brand-weni-dark",class:"unnnic-brand-tag__icon",size:"xs"},null,8,["icon","scheme"])],2)}const C7=z(D7,[["render",E7],["__scopeId","data-v-5f94d752"]]),NZ="",x7={name:"TagNext",props:{text:{type:String,default:null},scheme:{type:String,default:"weni"}}},M7={class:"unnnic-tag-next__text"};function B7(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["unnnic-tag-next",`unnnic-tag-next--${a.scheme}`])},[t.createElementVNode("p",M7,t.toDisplayString(a.text),1)],2)}const v7=z(x7,[["render",B7],["__scopeId","data-v-93d929a6"]]),j7={name:"UnnnicTag",props:{type:{type:String,default:"default",validator(e){return["default","indicator","brand","next"].indexOf(e)!==-1}},text:{type:String,default:null},tooltipText:{type:String,default:null},clickable:{type:Boolean,default:!1},count:{type:Number,default:0},disabled:{type:Boolean,default:!1},hasCloseIcon:{type:Boolean,default:!1},scheme:{type:String,default:"aux-purple"},hasBackButton:{type:Boolean,default:!1},enableTooltip:{type:Boolean,default:!1},leftIcon:{type:String,default:""},rightIcon:{type:String,default:""}},computed:{currentComponent(){return this.type==="indicator"?k7:this.type==="brand"?C7:this.type==="next"?v7:F7}}};function N7(e,n,a,i,o,s){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(s.currentComponent),t.mergeProps({class:"unnnic-tag-content"},e.$attrs,{text:a.text,disabled:a.disabled,hasCloseIcon:a.hasCloseIcon,scheme:a.scheme,count:a.count,hasBackButton:a.hasBackButton,clickable:a.clickable,tooltipText:a.tooltipText,enableTooltip:a.enableTooltip,leftIcon:a.leftIcon,rightIcon:a.rightIcon}),null,16,["text","disabled","hasCloseIcon","scheme","count","hasBackButton","clickable","tooltipText","enableTooltip","leftIcon","rightIcon"])}const mi=z(j7,[["render",N7]]),SZ="",S7={components:{UnnnicTag:mi},mixins:[Xt],props:{oldVersion:Boolean,name:String,description:String,plan:String,actionText:String},data(){return{isOptionsOpen:!1}}},T7={class:"name"},I7={class:"description"},O7={key:1};function L7(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",T7,t.toDisplayString(a.name),1),t.createElementVNode("p",I7,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",O7,[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 mc=z(S7,[["render",L7],["__scopeId","data-v-331afc72"]]),TZ="",z7={components:{UnnnicIcon:ee},props:{title:{type:String},description:{type:String},score:{type:String},info:{type:String},checked:{type:Boolean,default:!1}}},q7={class:"card"},P7={class:"header"},V7={class:"title"},U7={key:0,class:"check"},R7={class:"description"},Y7={key:0,class:"footer"},H7={class:"evaluation"},Q7={class:"info"};function G7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",q7,[t.createElementVNode("div",P7,[t.createElementVNode("div",V7,t.toDisplayString(a.title),1),a.checked?(t.openBlock(),t.createElementBlock("div",U7,[t.createVNode(u,{size:"md",icon:"check-circle-1-1-1",scheme:"feedback-green"})])):t.createCommentVNode("",!0)]),t.createElementVNode("div",R7,t.toDisplayString(a.description),1),a.score||a.info?(t.openBlock(),t.createElementBlock("div",Y7,[t.createElementVNode("div",H7,[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",Q7,t.toDisplayString(a.info),1)])])):t.createCommentVNode("",!0)])}const Fc=z(z7,[["render",G7],["__scopeId","data-v-b40ec35c"]]),IZ="",W7={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:Ta.pick,click(){const e=["checked","less"].includes(this.valueName);this.$emit("change",!e),this.$emit("update:model-value",!e)}}},X7={class:"unnnic-checkbox-wrapper"},K7=["disabled","checked"],Z7={key:0,class:"unnnic-checkbox__helper"};function J7(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("section",X7,[t.createElementVNode("label",null,[t.createElementVNode("input",t.mergeProps({class:["unnnic-checkbox",{"unnnic-checkbox--less":a.modelValue==="less"}],type:"checkbox",disabled:a.disabled,checked:a.modelValue==="less"||a.modelValue,onChange:n[0]||(n[0]=(...u)=>s.click&&s.click(...u))},s.pick(e.$attrs,["id","name"])),null,16,K7),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)]),a.helper?(t.openBlock(),t.createElementBlock("p",Z7,t.toDisplayString(a.helper),1)):t.createCommentVNode("",!0)])}const Zi=z(W7,[["render",J7],["__scopeId","data-v-7fe6356c"]]),OZ="",$7={components:{UnnnicIcon:ee,UnnnicCheckbox:Zi,UnnnicAvatarIcon:Pn,UnnnicDropdown:Wr},props:{modelValue:Boolean,title:String,description:String,image:String,data:{type:Array,default(){return[]}}}},eA={class:"header"},tA={class:"content"},aA={key:0,class:"u font secondary body-lg bold color-neutral-darkest"},nA={key:1,class:"u font secondary body-md color-neutral-cloudy"},iA=["src"],rA={key:0,class:"details"},oA={class:"u font secondary body-gt color-neutral-dark"},sA={class:"value-container"},lA={class:"u font secondary body-gt black color-neutral-darkest"};function uA(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",eA,[t.createElementVNode("div",tA,[a.title?(t.openBlock(),t.createElementBlock("div",aA,t.toDisplayString(a.title),1)):t.createCommentVNode("",!0),a.description?(t.openBlock(),t.createElementBlock("div",nA,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,iA),a.data.length?(t.openBlock(),t.createElementBlock("div",rA,[(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",oA,t.toDisplayString(g.name),1),t.createElementVNode("div",sA,[t.createVNode(_,{icon:g.icon,size:"xs",scheme:g.scheme},null,8,["icon","scheme"]),t.createElementVNode("div",lA,t.toDisplayString(g.value),1)])]))),128))])):t.createCommentVNode("",!0)],2)}const pc=z($7,[["render",uA],["__scopeId","data-v-87c573e3"]]),LZ="",cA={components:{UnnnicIcon:ee,UnnnicDropdown:Wr,UnnnicDropdownItem:ps},mixins:[Xt],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)}}},dA={class:"unnnic-card-project__header"},fA=["title"],_A={class:"unnnic-card-project__description"},gA=["title"],hA={class:"unnnic-card-project__bottom"},mA={class:"unnnic-card-project__status-options-container"};function FA(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",dA,[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,fA),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",_A,[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,gA)]),t.createElementVNode("section",hA,[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",mA,[(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 bc=z(cA,[["render",FA],["__scopeId","data-v-d7f7ed7d"]]),zZ="",pA={components:{UnnnicAvatarIcon:Pn,UnnnicToolTip:At,UnnnicIcon:ee},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*Dr}}},bA={class:"unnnic-card-container"},yA={class:"header"},wA={class:"title"},kA=["title"],DA={key:0,class:"subtitle"},AA={key:0,class:"description"},EA={key:1,class:"description-row-container"},CA={key:0,class:"description-row"},xA={class:"title"},MA={class:"content"},BA={class:"number"};function vA(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",bA,[t.createElementVNode("div",yA,[t.createElementVNode("div",wA,[t.createElementVNode("span",{class:"name",title:a.name.length>25?a.name:null},t.toDisplayString(a.name),9,kA),a.subtitle?(t.openBlock(),t.createElementBlock("div",DA,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"header-buttons",{},void 0,!0)]),a.description?(t.openBlock(),t.createElementBlock("div",AA,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0),a.descriptionRow||a.descriptionRowInfo?(t.openBlock(),t.createElementBlock("div",EA,[a.descriptionRow?(t.openBlock(),t.createElementBlock("div",CA,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",xA,t.toDisplayString(_.title),1),t.createElementVNode("div",MA,[t.createVNode(f,{icon:_.icon,scheme:_.scheme,size:"xs"},null,8,["icon","scheme"]),t.createElementVNode("div",BA,t.toDisplayString(_.count),1)])]))),128))],4)])}const jA=z(pA,[["render",vA],["__scopeId","data-v-d88c3045"]]),qZ="",NA={components:{CardStatusesContainer:jA},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:Dr}}};function SA(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 yc=z(NA,[["render",SA],["__scopeId","data-v-ee17403c"]]),PZ="",TA={class:"unnnic-checkbox-group__checkboxes"},IA={key:1,class:"unnnic-checkbox-group__helper"},wc=z({__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(Si,{key:0,label:e.label,tooltip:e.labelTooltip,useHtmlTooltip:e.labelUseHtmlTooltip},null,8,["label","tooltip","useHtmlTooltip"])):t.createCommentVNode("",!0),t.createElementVNode("section",TA,[t.renderSlot(n.$slots,"default",{},void 0,!0)]),e.helper?(t.openBlock(),t.createElementBlock("footer",IA,t.toDisplayString(e.helper),1)):t.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-04aa1063"]]),UZ="",OA={class:"unnnic-collapse__body"},kc=z({__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(ee,{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",OA,[t.renderSlot(s.$slots,"default",{},void 0,!0)],512),[[t.vShow,o.value]])],2))}},[["__scopeId","data-v-1f77973f"]]),YZ="",LA={class:"unnnic-radio-container"},zA=["disabled","checked","name"],bs=z({__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:""}},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",LA,[t.createElementVNode("label",null,[t.createElementVNode("input",t.mergeProps({class:"unnnic-radio",type:"radio",disabled:e.disabled,checked:c.value===e.value,onChange:u,name:f.value},t.unref(Ta.pick)(_.$attrs,["id"])),null,16,zA),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)])]))}},[["__scopeId","data-v-558de5ab"]]),qA={name:"Flag",components:{UnnnicIcon:ee},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=z(qA,[["render",PA]]),QZ="",UA={name:"LanguageSelect",components:{UnnnicFlag:VA,UnnnicIcon:ee},directives:{onClickOutside:Gr},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:Dr}},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 Dc=z(UA,[["render",$A]]),GZ="",eE={name:"UnnnicModal",components:{UnnnicIcon:ee},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 ys=z(eE,[["render",cE],["__scopeId","data-v-64ca1a24"]]),Lg={"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(Lg);const zg={"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(zg);var ba=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,Xr,Fi;class dE{constructor(...n){Ji.set(this,new Map),Xr.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()),ba(this,Fi,"f").has(i)||ba(this,Fi,"f").set(i,new Set);const s=ba(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&&ba(this,Xr,"f").set(i,c),u=!1,f)continue;const _=ba(this,Ji,"f").get(c);if(_&&_!=i&&!a)throw new Error(`"${i} -> ${c}" conflicts with "${_} -> ${c}". Pass \`force=true\` to override this definition.`);ba(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:ba(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&&ba(this,Xr,"f").get(n.trim().toLowerCase()))??null)}getAllExtensions(n){return typeof n!="string"?null:ba(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 ba(this,Fi,"f").values())Object.freeze(n);return this}_getTestState(){return{types:ba(this,Ji,"f"),extensions:ba(this,Xr,"f")}}}Ji=new WeakMap,Xr=new WeakMap,Fi=new WeakMap;const fE=new dE(zg,Lg)._freeze(),WZ="",_E={class:"unnnic-upload-area__dropzone__content"},gE={class:"unnnic-upload-area__dropzone__content__title"},hE=["title"],mE=["accept","multiple"],ws=z({__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(O){var U,se;return!!((se=(U=_==null?void 0:_.vnode)==null?void 0:U.props)!=null&&se[O])}const m=t.computed(()=>c.supportedFormats.split(",").map(U=>U.toUpperCase()).join(", "));function F(){c.disabled||(o.value+=1,a.value=!0)}function b(){c.disabled||(a.value=!0)}function k(){c.disabled||(o.value-=1,o.value===0&&(a.value=!1))}function x(){c.disabled||(a.value=!1)}function D(O){if(c.disabled)return;a.value=!1;const{files:U}=O.dataTransfer;j(U)&&P(U)}function N(){c.disabled||u.value.click()}function L(O){if(c.disabled)return;const{files:U}=O.target;j(U)&&P(U),s.value.value=""}function E(){i.value=!0,setTimeout(()=>{i.value=!1},5e3)}function j(O){return!c.acceptMultiple&&O.length>1?(E(),!1):q(O)?T(O)?!0:(g("onExceededTheMaximumFileSizeLimit")?f("exceededTheMaximumFileSizeLimit"):E(),!1):(g("onUnsupportedFormat")?f("unsupportedFormat"):E(),!1)}function q(O){if(c.supportedFormats==="*")return!0;const U=c.supportedFormats.split(",").map(ke=>ke.trim());return Array.from(O).find(ke=>{const le=ke.name.toLowerCase(),fe=ke.type.toLowerCase(),ze=`.${le.split(".").pop()}`,He=U.includes(ze),Ce=fe===fE.getType(le);return He&&Ce})}function T(O){return c.maxFileSize?Array.from(O).find(se=>(se.size/1048576).toFixed(2)<=c.maxFileSize):!0}function P(O){let U=O.length;if(c.shouldReplace||(U+=c.currentFiles.length),U>c.maximumUploads){E();return}const se=Array.from(O).filter(le=>!!(q([le])&&T([le])));let ke;c.shouldReplace?ke=se:ke=c.currentFiles.concat(se),f("update:currentFiles",ke),f("fileChange",ke)}return(O,U)=>(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(k,["stop","prevent"]),onDragend:t.withModifiers(x,["stop","prevent"]),onDrop:t.withModifiers(D,["stop","prevent"]),onClick:N},[t.createVNode(ee,{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(O.$slots,"title",{},()=>[t.createTextVNode(t.toDisplayString(O.$t("upload_area.title.text"))+" ",1),t.createElementVNode("span",{class:t.normalizeClass(`unnnic-upload-area__dropzone__content__title__${i.value?"error":"search"}`)},t.toDisplayString(O.$t("upload_area.title.highlight")),3)],!0)]),t.createElementVNode("span",{class:t.normalizeClass(["unnnic-upload-area__dropzone__content__subtitle",{"unnnic-upload-area__dropzone__content__subtitle__error":i.value}]),title:m.value},[t.renderSlot(O.$slots,"subtitle",{},()=>[t.createTextVNode(t.toDisplayString(e.subtitle||`${O.$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:L},null,40,mE),[[t.vShow,!1]])],34))}},[["__scopeId","data-v-936a11ab"]]),KZ="",FE={name:"ImportCard",components:{UnnnicButton:Bt,UnnnicIcon:ee},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 ks=z(FE,[["render",xE],["__scopeId","data-v-0990f36a"]]),ZZ="",ME={name:"UnnnicUploadArea",components:{UnnnicDropArea:ws,UnnnicImportCard:ks},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 Ds=z(ME,[["render",vE],["__scopeId","data-v-872a45ed"]]),JZ="",jE={components:{UnnnicUploadArea:Ds,UnnnicIcon:ee,UnnnicButton:Bt},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:""}},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",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 Ac=z(jE,[["render",OE],["__scopeId","data-v-91328cf9"]]),$Z="",LE={components:{UnnnicIcon:ee},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=z(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(ee,{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(ee,{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(Bt,{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}))}}),eJ="",As=z(GE,[["__scopeId","data-v-1ecd992b"]]),WE={name:"UnnnicAlert",components:{UnnnicToast:As,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 Es=z(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(As,{...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 Kr=new KE,qg={info:(e,n,a)=>Kr.show({title:e,description:n,...a,type:"informational"}).promise,success:(e,n,a)=>Kr.show({title:e,description:n,...a,type:"success"}).promise,attention:(e,n,a)=>Kr.show({title:e,description:n,...a,type:"attention"}).promise,error:(e,n,a)=>Kr.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(Es,{...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"])}};Kr.show({title:e.text,description:"",...o})}},xc=({props:e})=>{const n=t.createApp(ys,{...e,onClose:()=>{i.$el.remove()},created(){Ec.on(["close"],()=>{i.$el.remove()})}}),a=document.createElement("div"),i=n.mount(a);document.body.appendChild(a)},tJ="",JE={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:ri}},$E=["title"];function eC(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,$E)}const tC=z(JE,[["render",eC]]),aJ="",aC={name:"UnnnicSelectSmartMultipleHeader",components:{Tag:mi},mixins:[Xt],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)}}},nC={class:"unnnic-select-smart__options__multiple"},iC={key:0,class:"unnnic-select-smart__options__multiple__selecteds__container"},rC={class:"unnnic-select-smart__options__multiple__selecteds"},oC={key:0,class:"unnnic-select-smart__options__multiple__selecteds__remaining","data-testid":"remaining-count"},sC={key:1,class:"unnnic-select-smart__options__multiple--without-multiples","data-testid":"without-selects-message"};function lC(e,n,a,i,o,s){const u=t.resolveComponent("Tag");return t.openBlock(),t.createElementBlock("div",nC,[a.selectedOptions[0]?(t.openBlock(),t.createElementBlock("div",iC,[t.createElementVNode("div",rC,[(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",oC," +"+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",sC,t.toDisplayString(a.withoutSelectsMessage||e.i18n("without_multiple_selected")),1))])}const uC=z(aC,[["render",lC],["__scopeId","data-v-44c8e22c"]]),nJ="",cC={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 dC(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 Pg=z(cC,[["render",dC],["__scopeId","data-v-05c4ead6"]]),iJ="",fC={name:"UnnnicSelectSmart",components:{TextInput:Zl,SelectSmartOption:tC,SelectSmartMultipleHeader:uC,DropdownSkeleton:Pg,UnnnicIconLoading:hi},directives:{onClickOutside:Gr},mixins:[Xt],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}},emits:["update:searchValue","onChange","update:modelValue","onActiveChange"],data(){return{active:!1,status:"not-mounted",focusedOption:null,searchValue:"",isAutocompleteAllowed:!1,multipleSelectedsTags:2,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")}})},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])},methods:{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){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(k=>k.value===c)===_,b=a.every(k=>{const x=m.includes(k),D=c.includes(k);return this.enableSearchByValue?x||D:x});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}}}},_C={style:{overflow:"auto"}},gC={key:2,class:"unnnic-select-smart__options--no-results"};function hC(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",_C,[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(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(s.filterOptions(a.options),(b,k)=>(t.openBlock(),t.createBlock(_,{key:b.value,"data-testid":"option",label:b.label,description:b.description,tabindex:k,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:x=>s.handleSelect(b)},null,8,["label","description","tabindex","size","active","disabled","focused","allowCheckbox","activeColor","onClick"]))),128)),s.filterOptions(a.options).length===0&&!a.isLoading?(t.openBlock(),t.createElementBlock("p",gC,t.toDisplayString(e.i18n("without_results")),1)):t.createCommentVNode("",!0)],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 Mc=z(fC,[["render",hC]]),rJ="",mC={name:"UnnicSelectItem",props:{size:{type:String,default:""},selectable:{type:Boolean,default:!0},active:{type:Boolean,default:!1},textFocused:{type:Boolean,default:!1}}};function FC(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 Bc=z(mC,[["render",FC]]),oJ="",pC={name:"UnnnicMultiSelect",components:{UnnnicIcon:ee,UnnnicRadio:bs},directives:{onClickOutside:Gr},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}))}}},bC={key:0,class:"select-permission-label"},yC={class:"title noselect"},wC={key:1,class:"select-content",tabindex:"0"},kC=["onClick"];function DC(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",bC,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",yC,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",wC,[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,kC)):(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 vc=z(pC,[["render",DC],["__scopeId","data-v-313464ed"]]),sJ="",AC={components:{UnnnicIcon:ee},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)}},EC={class:"header"},CC={class:"actions"};function xC(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",EC,[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",CC,[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 jc=z(AC,[["render",xC],["__scopeId","data-v-ae70d9af"]]),lJ="",MC={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}}}},BC={class:"weni-step-indicator"},vC={class:"weni-step-indicator__label"};function jC(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",BC,[(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",vC,t.toDisplayString(s.titleForStep(u)),1)],2)],2))),128))])}const Nc=z(MC,[["render",jC],["__scopeId","data-v-2caaee7c"]]),NC=`: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}
|
|
63
|
+
${a.clickable?"unnnic-tag--clickable":""}`)},[t.createVNode(u,{enabled:a.enableTooltip,text:a.tooltipText,side:"bottom"},{default:t.withCtx(()=>[t.createElementVNode("span",b7,t.toDisplayString(a.count),1)]),_:1},8,["enabled","text"]),t.createElementVNode("span",y7,t.toDisplayString(a.text),1),a.hasBackButton?(t.openBlock(),t.createBlock(c,{key:0,icon:"arrow-right-1-1",class:"unnnic-tag__icon",scheme:"neutral-darkest",size:"xs"})):t.createCommentVNode("",!0)],2)}const k7=z(p7,[["render",w7],["__scopeId","data-v-e2dde609"]]),jZ="",D7={name:"UnnnicBrandTag",components:{UnnnicIcon:ee},props:{text:{type:String,default:null},clickable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},methods:{closeClicked(){this.closeClicked&&this.$emit("close-click")}}},A7={class:"unnnic-brand-tag__label"};function E7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass({"unnnic-brand-tag":!0,"unnnic-brand-tag--disabled":!a.disabled,"unnnic-brand-tag--clickable":a.clickable})},[t.createElementVNode("span",A7,t.toDisplayString(a.text),1),t.createVNode(u,{icon:a.disabled?"close-1":"add-1",scheme:a.disabled?"neutral-snow":"brand-weni-dark",class:"unnnic-brand-tag__icon",size:"xs"},null,8,["icon","scheme"])],2)}const C7=z(D7,[["render",E7],["__scopeId","data-v-5f94d752"]]),NZ="",x7={name:"TagNext",props:{text:{type:String,default:null},scheme:{type:String,default:"weni"}}},M7={class:"unnnic-tag-next__text"};function B7(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("section",{class:t.normalizeClass(["unnnic-tag-next",`unnnic-tag-next--${a.scheme}`])},[t.createElementVNode("p",M7,t.toDisplayString(a.text),1)],2)}const v7=z(x7,[["render",B7],["__scopeId","data-v-93d929a6"]]),j7={name:"UnnnicTag",props:{type:{type:String,default:"default",validator(e){return["default","indicator","brand","next"].indexOf(e)!==-1}},text:{type:String,default:null},tooltipText:{type:String,default:null},clickable:{type:Boolean,default:!1},count:{type:Number,default:0},disabled:{type:Boolean,default:!1},hasCloseIcon:{type:Boolean,default:!1},scheme:{type:String,default:"aux-purple"},hasBackButton:{type:Boolean,default:!1},enableTooltip:{type:Boolean,default:!1},leftIcon:{type:String,default:""},rightIcon:{type:String,default:""}},computed:{currentComponent(){return this.type==="indicator"?k7:this.type==="brand"?C7:this.type==="next"?v7:F7}}};function N7(e,n,a,i,o,s){return t.openBlock(),t.createBlock(t.resolveDynamicComponent(s.currentComponent),t.mergeProps({class:"unnnic-tag-content"},e.$attrs,{text:a.text,disabled:a.disabled,hasCloseIcon:a.hasCloseIcon,scheme:a.scheme,count:a.count,hasBackButton:a.hasBackButton,clickable:a.clickable,tooltipText:a.tooltipText,enableTooltip:a.enableTooltip,leftIcon:a.leftIcon,rightIcon:a.rightIcon}),null,16,["text","disabled","hasCloseIcon","scheme","count","hasBackButton","clickable","tooltipText","enableTooltip","leftIcon","rightIcon"])}const mi=z(j7,[["render",N7]]),SZ="",S7={components:{UnnnicTag:mi},mixins:[Xt],props:{oldVersion:Boolean,name:String,description:String,plan:String,actionText:String},data(){return{isOptionsOpen:!1}}},T7={class:"name"},I7={class:"description"},O7={key:1};function L7(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",T7,t.toDisplayString(a.name),1),t.createElementVNode("p",I7,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",O7,[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 mc=z(S7,[["render",L7],["__scopeId","data-v-331afc72"]]),TZ="",z7={components:{UnnnicIcon:ee},props:{title:{type:String},description:{type:String},score:{type:String},info:{type:String},checked:{type:Boolean,default:!1}}},q7={class:"card"},P7={class:"header"},V7={class:"title"},U7={key:0,class:"check"},R7={class:"description"},Y7={key:0,class:"footer"},H7={class:"evaluation"},Q7={class:"info"};function G7(e,n,a,i,o,s){const u=t.resolveComponent("UnnnicIcon");return t.openBlock(),t.createElementBlock("div",q7,[t.createElementVNode("div",P7,[t.createElementVNode("div",V7,t.toDisplayString(a.title),1),a.checked?(t.openBlock(),t.createElementBlock("div",U7,[t.createVNode(u,{size:"md",icon:"check-circle-1-1-1",scheme:"feedback-green"})])):t.createCommentVNode("",!0)]),t.createElementVNode("div",R7,t.toDisplayString(a.description),1),a.score||a.info?(t.openBlock(),t.createElementBlock("div",Y7,[t.createElementVNode("div",H7,[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",Q7,t.toDisplayString(a.info),1)])])):t.createCommentVNode("",!0)])}const Fc=z(z7,[["render",G7],["__scopeId","data-v-b40ec35c"]]),IZ="",W7={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:Ta.pick,click(){const e=["checked","less"].includes(this.valueName);this.$emit("change",!e),this.$emit("update:model-value",!e)}}},X7={class:"unnnic-checkbox-wrapper"},K7=["disabled","checked"],Z7={key:0,class:"unnnic-checkbox__helper"};function J7(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("section",X7,[t.createElementVNode("label",null,[t.createElementVNode("input",t.mergeProps({class:["unnnic-checkbox",{"unnnic-checkbox--less":a.modelValue==="less"}],type:"checkbox",disabled:a.disabled,checked:a.modelValue==="less"||a.modelValue,onChange:n[0]||(n[0]=(...u)=>s.click&&s.click(...u))},s.pick(e.$attrs,["id","name"])),null,16,K7),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)]),a.helper?(t.openBlock(),t.createElementBlock("p",Z7,t.toDisplayString(a.helper),1)):t.createCommentVNode("",!0)])}const Zi=z(W7,[["render",J7],["__scopeId","data-v-7fe6356c"]]),OZ="",$7={components:{UnnnicIcon:ee,UnnnicCheckbox:Zi,UnnnicAvatarIcon:Pn,UnnnicDropdown:Wr},props:{modelValue:Boolean,title:String,description:String,image:String,data:{type:Array,default(){return[]}}}},eA={class:"header"},tA={class:"content"},aA={key:0,class:"u font secondary body-lg bold color-neutral-darkest"},nA={key:1,class:"u font secondary body-md color-neutral-cloudy"},iA=["src"],rA={key:0,class:"details"},oA={class:"u font secondary body-gt color-neutral-dark"},sA={class:"value-container"},lA={class:"u font secondary body-gt black color-neutral-darkest"};function uA(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",eA,[t.createElementVNode("div",tA,[a.title?(t.openBlock(),t.createElementBlock("div",aA,t.toDisplayString(a.title),1)):t.createCommentVNode("",!0),a.description?(t.openBlock(),t.createElementBlock("div",nA,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,iA),a.data.length?(t.openBlock(),t.createElementBlock("div",rA,[(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",oA,t.toDisplayString(g.name),1),t.createElementVNode("div",sA,[t.createVNode(_,{icon:g.icon,size:"xs",scheme:g.scheme},null,8,["icon","scheme"]),t.createElementVNode("div",lA,t.toDisplayString(g.value),1)])]))),128))])):t.createCommentVNode("",!0)],2)}const pc=z($7,[["render",uA],["__scopeId","data-v-87c573e3"]]),LZ="",cA={components:{UnnnicIcon:ee,UnnnicDropdown:Wr,UnnnicDropdownItem:ps},mixins:[Xt],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)}}},dA={class:"unnnic-card-project__header"},fA=["title"],_A={class:"unnnic-card-project__description"},gA=["title"],hA={class:"unnnic-card-project__bottom"},mA={class:"unnnic-card-project__status-options-container"};function FA(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",dA,[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,fA),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",_A,[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,gA)]),t.createElementVNode("section",hA,[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",mA,[(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 bc=z(cA,[["render",FA],["__scopeId","data-v-d7f7ed7d"]]),zZ="",pA={components:{UnnnicAvatarIcon:Pn,UnnnicToolTip:At,UnnnicIcon:ee},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*Dr}}},bA={class:"unnnic-card-container"},yA={class:"header"},wA={class:"title"},kA=["title"],DA={key:0,class:"subtitle"},AA={key:0,class:"description"},EA={key:1,class:"description-row-container"},CA={key:0,class:"description-row"},xA={class:"title"},MA={class:"content"},BA={class:"number"};function vA(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",bA,[t.createElementVNode("div",yA,[t.createElementVNode("div",wA,[t.createElementVNode("span",{class:"name",title:a.name.length>25?a.name:null},t.toDisplayString(a.name),9,kA),a.subtitle?(t.openBlock(),t.createElementBlock("div",DA,t.toDisplayString(a.subtitle),1)):t.createCommentVNode("",!0)]),t.renderSlot(e.$slots,"header-buttons",{},void 0,!0)]),a.description?(t.openBlock(),t.createElementBlock("div",AA,t.toDisplayString(a.description),1)):t.createCommentVNode("",!0),a.descriptionRow||a.descriptionRowInfo?(t.openBlock(),t.createElementBlock("div",EA,[a.descriptionRow?(t.openBlock(),t.createElementBlock("div",CA,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",xA,t.toDisplayString(_.title),1),t.createElementVNode("div",MA,[t.createVNode(f,{icon:_.icon,scheme:_.scheme,size:"xs"},null,8,["icon","scheme"]),t.createElementVNode("div",BA,t.toDisplayString(_.count),1)])]))),128))],4)])}const jA=z(pA,[["render",vA],["__scopeId","data-v-d88c3045"]]),qZ="",NA={components:{CardStatusesContainer:jA},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:Dr}}};function SA(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 yc=z(NA,[["render",SA],["__scopeId","data-v-ee17403c"]]),PZ="",TA={class:"unnnic-checkbox-group__checkboxes"},IA={key:1,class:"unnnic-checkbox-group__helper"},wc=z({__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(Si,{key:0,label:e.label,tooltip:e.labelTooltip,useHtmlTooltip:e.labelUseHtmlTooltip},null,8,["label","tooltip","useHtmlTooltip"])):t.createCommentVNode("",!0),t.createElementVNode("section",TA,[t.renderSlot(n.$slots,"default",{},void 0,!0)]),e.helper?(t.openBlock(),t.createElementBlock("footer",IA,t.toDisplayString(e.helper),1)):t.createCommentVNode("",!0)],2))}},[["__scopeId","data-v-04aa1063"]]),UZ="",OA={class:"unnnic-collapse__body"},kc=z({__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(ee,{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",OA,[t.renderSlot(s.$slots,"default",{},void 0,!0)],512),[[t.vShow,o.value]])],2))}},[["__scopeId","data-v-1f77973f"]]),YZ="",LA={class:"unnnic-radio-container"},zA=["disabled","checked","name"],bs=z({__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:""}},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",LA,[t.createElementVNode("label",null,[t.createElementVNode("input",t.mergeProps({class:"unnnic-radio",type:"radio",disabled:e.disabled,checked:c.value===e.value,onChange:u,name:f.value},t.unref(Ta.pick)(_.$attrs,["id"])),null,16,zA),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)])]))}},[["__scopeId","data-v-558de5ab"]]),qA={name:"Flag",components:{UnnnicIcon:ee},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=z(qA,[["render",PA]]),QZ="",UA={name:"LanguageSelect",components:{UnnnicFlag:VA,UnnnicIcon:ee},directives:{onClickOutside:Gr},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:Dr}},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 Dc=z(UA,[["render",$A]]),GZ="",eE={name:"UnnnicModal",components:{UnnnicIcon:ee},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 ys=z(eE,[["render",cE],["__scopeId","data-v-64ca1a24"]]),Lg={"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(Lg);const zg={"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(zg);var ba=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,Xr,Fi;class dE{constructor(...n){Ji.set(this,new Map),Xr.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()),ba(this,Fi,"f").has(i)||ba(this,Fi,"f").set(i,new Set);const s=ba(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&&ba(this,Xr,"f").set(i,c),u=!1,f)continue;const _=ba(this,Ji,"f").get(c);if(_&&_!=i&&!a)throw new Error(`"${i} -> ${c}" conflicts with "${_} -> ${c}". Pass \`force=true\` to override this definition.`);ba(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:ba(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&&ba(this,Xr,"f").get(n.trim().toLowerCase()))??null)}getAllExtensions(n){return typeof n!="string"?null:ba(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 ba(this,Fi,"f").values())Object.freeze(n);return this}_getTestState(){return{types:ba(this,Ji,"f"),extensions:ba(this,Xr,"f")}}}Ji=new WeakMap,Xr=new WeakMap,Fi=new WeakMap;const fE=new dE(zg,Lg)._freeze(),WZ="",_E={class:"unnnic-upload-area__dropzone__content"},gE={class:"unnnic-upload-area__dropzone__content__title"},hE=["title"],mE=["accept","multiple"],ws=z({__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(O){var U,se;return!!((se=(U=_==null?void 0:_.vnode)==null?void 0:U.props)!=null&&se[O])}const m=t.computed(()=>c.supportedFormats.split(",").map(U=>U.toUpperCase()).join(", "));function F(){c.disabled||(o.value+=1,a.value=!0)}function b(){c.disabled||(a.value=!0)}function k(){c.disabled||(o.value-=1,o.value===0&&(a.value=!1))}function x(){c.disabled||(a.value=!1)}function D(O){if(c.disabled)return;a.value=!1;const{files:U}=O.dataTransfer;j(U)&&P(U)}function N(){c.disabled||u.value.click()}function L(O){if(c.disabled)return;const{files:U}=O.target;j(U)&&P(U),s.value.value=""}function E(){i.value=!0,setTimeout(()=>{i.value=!1},5e3)}function j(O){return!c.acceptMultiple&&O.length>1?(E(),!1):q(O)?T(O)?!0:(g("onExceededTheMaximumFileSizeLimit")?f("exceededTheMaximumFileSizeLimit"):E(),!1):(g("onUnsupportedFormat")?f("unsupportedFormat"):E(),!1)}function q(O){if(c.supportedFormats==="*")return!0;const U=c.supportedFormats.split(",").map(ke=>ke.trim());return Array.from(O).find(ke=>{const le=ke.name.toLowerCase(),fe=ke.type.toLowerCase(),ze=`.${le.split(".").pop()}`,He=U.includes(ze),Ce=fe===fE.getType(le);return He&&Ce})}function T(O){return c.maxFileSize?Array.from(O).find(se=>(se.size/1048576).toFixed(2)<=c.maxFileSize):!0}function P(O){let U=O.length;if(c.shouldReplace||(U+=c.currentFiles.length),U>c.maximumUploads){E();return}const se=Array.from(O).filter(le=>!!(q([le])&&T([le])));let ke;c.shouldReplace?ke=se:ke=c.currentFiles.concat(se),f("update:currentFiles",ke),f("fileChange",ke)}return(O,U)=>(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(k,["stop","prevent"]),onDragend:t.withModifiers(x,["stop","prevent"]),onDrop:t.withModifiers(D,["stop","prevent"]),onClick:N},[t.createVNode(ee,{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(O.$slots,"title",{},()=>[t.createTextVNode(t.toDisplayString(O.$t("upload_area.title.text"))+" ",1),t.createElementVNode("span",{class:t.normalizeClass(`unnnic-upload-area__dropzone__content__title__${i.value?"error":"search"}`)},t.toDisplayString(O.$t("upload_area.title.highlight")),3)],!0)]),t.createElementVNode("span",{class:t.normalizeClass(["unnnic-upload-area__dropzone__content__subtitle",{"unnnic-upload-area__dropzone__content__subtitle__error":i.value}]),title:m.value},[t.renderSlot(O.$slots,"subtitle",{},()=>[t.createTextVNode(t.toDisplayString(e.subtitle||`${O.$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:L},null,40,mE),[[t.vShow,!1]])],34))}},[["__scopeId","data-v-936a11ab"]]),KZ="",FE={name:"ImportCard",components:{UnnnicButton:Bt,UnnnicIcon:ee},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 ks=z(FE,[["render",xE],["__scopeId","data-v-0990f36a"]]),ZZ="",ME={name:"UnnnicUploadArea",components:{UnnnicDropArea:ws,UnnnicImportCard:ks},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 Ds=z(ME,[["render",vE],["__scopeId","data-v-872a45ed"]]),JZ="",jE={components:{UnnnicUploadArea:Ds,UnnnicIcon:ee,UnnnicButton:Bt},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 Ac=z(jE,[["render",OE],["__scopeId","data-v-81621db1"]]),$Z="",LE={components:{UnnnicIcon:ee},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=z(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(ee,{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(ee,{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(Bt,{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}))}}),eJ="",As=z(GE,[["__scopeId","data-v-1ecd992b"]]),WE={name:"UnnnicAlert",components:{UnnnicToast:As,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 Es=z(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(As,{...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 Kr=new KE,qg={info:(e,n,a)=>Kr.show({title:e,description:n,...a,type:"informational"}).promise,success:(e,n,a)=>Kr.show({title:e,description:n,...a,type:"success"}).promise,attention:(e,n,a)=>Kr.show({title:e,description:n,...a,type:"attention"}).promise,error:(e,n,a)=>Kr.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(Es,{...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"])}};Kr.show({title:e.text,description:"",...o})}},xc=({props:e})=>{const n=t.createApp(ys,{...e,onClose:()=>{i.$el.remove()},created(){Ec.on(["close"],()=>{i.$el.remove()})}}),a=document.createElement("div"),i=n.mount(a);document.body.appendChild(a)},tJ="",JE={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:ri}},$E=["title"];function eC(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,$E)}const tC=z(JE,[["render",eC]]),aJ="",aC={name:"UnnnicSelectSmartMultipleHeader",components:{Tag:mi},mixins:[Xt],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)}}},nC={class:"unnnic-select-smart__options__multiple"},iC={key:0,class:"unnnic-select-smart__options__multiple__selecteds__container"},rC={class:"unnnic-select-smart__options__multiple__selecteds"},oC={key:0,class:"unnnic-select-smart__options__multiple__selecteds__remaining","data-testid":"remaining-count"},sC={key:1,class:"unnnic-select-smart__options__multiple--without-multiples","data-testid":"without-selects-message"};function lC(e,n,a,i,o,s){const u=t.resolveComponent("Tag");return t.openBlock(),t.createElementBlock("div",nC,[a.selectedOptions[0]?(t.openBlock(),t.createElementBlock("div",iC,[t.createElementVNode("div",rC,[(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",oC," +"+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",sC,t.toDisplayString(a.withoutSelectsMessage||e.i18n("without_multiple_selected")),1))])}const uC=z(aC,[["render",lC],["__scopeId","data-v-44c8e22c"]]),nJ="",cC={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 dC(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 Pg=z(cC,[["render",dC],["__scopeId","data-v-05c4ead6"]]),iJ="",fC={name:"UnnnicSelectSmart",components:{TextInput:Zl,SelectSmartOption:tC,SelectSmartMultipleHeader:uC,DropdownSkeleton:Pg,UnnnicIconLoading:hi},directives:{onClickOutside:Gr},mixins:[Xt],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}},emits:["update:searchValue","onChange","update:modelValue","onActiveChange"],data(){return{active:!1,status:"not-mounted",focusedOption:null,searchValue:"",isAutocompleteAllowed:!1,multipleSelectedsTags:2,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")}})},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])},methods:{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){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(k=>k.value===c)===_,b=a.every(k=>{const x=m.includes(k),D=c.includes(k);return this.enableSearchByValue?x||D:x});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}}}},_C={style:{overflow:"auto"}},gC={key:2,class:"unnnic-select-smart__options--no-results"};function hC(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",_C,[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(!0),t.createElementBlock(t.Fragment,{key:1},t.renderList(s.filterOptions(a.options),(b,k)=>(t.openBlock(),t.createBlock(_,{key:b.value,"data-testid":"option",label:b.label,description:b.description,tabindex:k,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:x=>s.handleSelect(b)},null,8,["label","description","tabindex","size","active","disabled","focused","allowCheckbox","activeColor","onClick"]))),128)),s.filterOptions(a.options).length===0&&!a.isLoading?(t.openBlock(),t.createElementBlock("p",gC,t.toDisplayString(e.i18n("without_results")),1)):t.createCommentVNode("",!0)],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 Mc=z(fC,[["render",hC]]),rJ="",mC={name:"UnnicSelectItem",props:{size:{type:String,default:""},selectable:{type:Boolean,default:!0},active:{type:Boolean,default:!1},textFocused:{type:Boolean,default:!1}}};function FC(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 Bc=z(mC,[["render",FC]]),oJ="",pC={name:"UnnnicMultiSelect",components:{UnnnicIcon:ee,UnnnicRadio:bs},directives:{onClickOutside:Gr},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}))}}},bC={key:0,class:"select-permission-label"},yC={class:"title noselect"},wC={key:1,class:"select-content",tabindex:"0"},kC=["onClick"];function DC(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",bC,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",yC,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",wC,[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,kC)):(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 vc=z(pC,[["render",DC],["__scopeId","data-v-313464ed"]]),sJ="",AC={components:{UnnnicIcon:ee},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)}},EC={class:"header"},CC={class:"actions"};function xC(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",EC,[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",CC,[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 jc=z(AC,[["render",xC],["__scopeId","data-v-ae70d9af"]]),lJ="",MC={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}}}},BC={class:"weni-step-indicator"},vC={class:"weni-step-indicator__label"};function jC(e,n,a,i,o,s){return t.openBlock(),t.createElementBlock("div",BC,[(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",vC,t.toDisplayString(s.titleForStep(u)),1)],2)],2))),128))])}const Nc=z(MC,[["render",jC],["__scopeId","data-v-2caaee7c"]]),NC=`: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}
|
|
64
64
|
`,Vg=/unnnicColorBackgroundSolo:\s*(.*)\;/.exec(NC),Sc=Vg?Vg[1]:"#E8F4F4",SC={backgroundColor:Sc,backgroundImage:`linear-gradient(
|
|
65
65
|
90deg,
|
|
66
66
|
${Sc},
|