@luizleon/sf.prefeiturasp.vuecomponents 0.0.61 → 0.0.63

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.
@@ -1,4 +1,4 @@
1
- (function(ee,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router"],a):(ee=typeof globalThis<"u"?globalThis:ee||self,a((ee.sf=ee.sf||{},ee.sf.prefeiturasp=ee.sf.prefeiturasp||{},ee.sf.prefeiturasp.vuecomponents={}),ee.Vue,ee.VueRouter))})(this,function(ee,a,rt){"use strict";var tm=Object.defineProperty;var nm=(ee,a,rt)=>a in ee?tm(ee,a,{enumerable:!0,configurable:!0,writable:!0,value:rt}):ee[a]=rt;var Me=(ee,a,rt)=>(nm(ee,typeof a!="symbol"?a+"":a,rt),rt);class ks{constructor(){Me(this,"_visible",a.ref(!1))}get IsVisible(){return this._visible.value===!0}Toggle(){this._visible.value=!this._visible.value}Close(){this._visible.value=!1}Open(){this._visible.value=!0}}const xs=new ks,Tn=()=>xs;class Ze{constructor(e){Me(this,"retorno");this.retorno=e??""}Concat(e){return e&&e.trim().length&&(this.retorno+=` ${e}`),this}AddClass(e,n=!0){return n?this.Concat(e):this}Build(){return this.retorno.trim()}}function Vr(t=[]){let e="body *:not(style)";for(const n of t)e+=`, ${n}`;return Math.max(...Array.from(document.querySelectorAll(e)).map(n=>{const r=getComputedStyle(n).zIndex;return+r==+r?+r:0}))}let Is=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((e,n)=>(n&=63,n<36?e+=n.toString(36):n<62?e+=(n-26).toString(36).toUpperCase():n>62?e+="-":e+="_",e),"");const On=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},Ps={},Ts={class:"sf-loading-circle"},Os=[a.createElementVNode("div",null,[a.createElementVNode("svg",{viewBox:"25 25 50 50"},[a.createElementVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})])],-1)];function Ls(t,e){return a.openBlock(),a.createElementBlock("div",Ts,Os)}const Bs=On(Ps,[["render",Ls]]),Ln=a.defineComponent({__name:"Tooltip",props:{text:{}},setup(t){const e=t;class n{constructor(){Me(this,"zIndex");Me(this,"wrapper");Me(this,"inner");this.zIndex=Vr()+1,this.Render()}Render(){this.wrapper=document.createElement("div"),this.wrapper.classList.add("sf-tooltip-wrapper"),this.wrapper.style.zIndex=`${this.zIndex??0}`,this.inner=document.createElement("div"),this.inner.classList.add("sf-tooltip-inner"),this.wrapper.appendChild(this.inner)}Show(i){this.inner.textContent=e.text;const s=i.target;document.body.appendChild(this.wrapper),this.Position(s.getBoundingClientRect()),this.wrapper.classList.add("visible")}Hide(){this.wrapper.classList.remove("visible"),this.wrapper.remove()}Position(i){const c=i.top,l=i.bottom,d=i.left,f=i.right,p=i.width/2-15,v=this.wrapper;v.style.top=`${l+10}px`,v.style.left=`${d}px`,v.style.marginLeft=`${p}px`,this.OutOfBottom()&&(v.style.top=`${c-v.clientHeight-10}px`,v.classList.add("top")),this.OutOfRight()&&(v.style.left=`${f-v.clientWidth}px`,v.style.marginLeft=`-${p}px`,v.classList.add("left"))}OutOfBottom(){return this.wrapper.getBoundingClientRect().bottom>(window.innerHeight||document.documentElement.clientHeight)}OutOfRight(){return this.wrapper.getBoundingClientRect().right>(window.innerWidth||document.documentElement.clientWidth)}}const r=new n;return a.onBeforeUnmount(()=>{r.Hide()}),(o,i)=>(a.openBlock(),a.createElementBlock("div",{class:"sf-tooltip-anchor",onMouseenter:i[0]||(i[0]=(...s)=>a.unref(r).Show&&a.unref(r).Show(...s)),onMouseleave:i[1]||(i[1]=(...s)=>a.unref(r).Hide&&a.unref(r).Hide(...s)),onMousedown:i[2]||(i[2]=(...s)=>a.unref(r).Hide&&a.unref(r).Hide(...s))},[a.renderSlot(o.$slots,"default")],32))}}),Fs=["disabled","tabindex"],Rs=["data-color"],Qe=On(a.defineComponent({__name:"Icon",props:{icon:{},visible:{type:Boolean,default:!0},class:{default:""},style:{default:""},disabled:{type:Boolean},loading:{type:Boolean},button:{type:Boolean},size:{default:"md"},dot:{type:Boolean},dotColor:{default:"error"},filled:{type:Boolean},buttonProps:{},tooltip:{}},setup(t){const e=t,n=a.computed(()=>e.tooltip?Ln:"div"),r=a.computed(()=>e.tooltip?"":"display-content"),o=a.computed(()=>new Ze(`${e.class} sf-icon`).AddClass("sf-component-loading",e.loading).AddClass("sf-component-disabled",e.disabled).AddClass("sf-icon-button",e.button).AddClass("sf-icon-small",e.size==="sm").AddClass("sf-icon-medium",e.size==="md").AddClass("sf-icon-large",e.size==="lg").AddClass("sf-ripple",e.button===!0).Build());return(i,s)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.value),{text:e.tooltip,class:a.normalizeClass(r.value)},{default:a.withCtx(()=>[e.visible?(a.openBlock(),a.createElementBlock("div",{key:0,style:a.normalizeStyle(e.style),class:a.normalizeClass(o.value)},[a.createElementVNode("button",a.mergeProps({class:["material-symbols-outlined",{"icon-filled":!!e.filled}],disabled:e.disabled||e.loading},e.buttonProps,{tabindex:e.button?void 0:-1}),[e.loading?(a.openBlock(),a.createBlock(Bs,{key:0})):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(e.icon),1)],64))],16,Fs),e.dot?(a.openBlock(),a.createElementBlock("span",{key:0,"data-color":e.dotColor},null,8,Rs)):a.createCommentVNode("",!0)],6)):a.createCommentVNode("",!0)]),_:1},8,["text","class"]))}}),[["__scopeId","data-v-5de5e7b2"]]),$s=["id","onClick"],Ns={class:"sf-drawer-header"},Ds={class:"sf-drawer-title"},Ms={class:"sf-drawer-content"},Us={key:0,class:"sf-drawer-footer"},Kr=a.defineComponent({__name:"Drawer",props:{visible:{type:Boolean,default:!1},position:{default:"left"},style:{}},emits:["update:visible","open","before-close"],setup(t,{emit:e}){const n=t,r=e,o=a.useSlots(),i=a.ref(n.visible),s=a.ref(!1),c=a.ref(0),l=Is();function d(){i.value=!1}function f(C){(C.key==="Escape"||C.code==="Escape")&&d()}function p(){r("open"),window.document.addEventListener("keydown",f,!0)}function v(C){c.value=Vr(),C.style.zIndex=`${c.value}`}function w(C){var $;r("before-close"),($=C==null?void 0:C.parentElement)==null||$.classList.add("sf-mask-overlay-leave")}function _(){window.document.removeEventListener("keydown",f,!0),s.value=!1}function x(){return new Ze("sf-mask sf-mask-overlay").AddClass("right",n.position==="right").AddClass("bottom",n.position==="bottom").AddClass("full",n.position==="full").AddClass("sf-mask-overlay-enter",n.visible===!0).Build()}return a.watch(()=>n.visible,C=>{i.value=C}),a.watch(()=>i.value,C=>{r("update:visible",C),C&&(s.value=!0)}),(C,$)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[s.value?(a.openBlock(),a.createElementBlock("div",{key:0,id:a.unref(l),class:a.normalizeClass(x()),style:a.normalizeStyle({zIndex:c.value-1}),onClick:a.withModifiers(d,["stop"])},[a.createVNode(a.Transition,{name:"sf-drawer",appear:"",onBeforeEnter:v,onEnter:p,onBeforeLeave:w,onAfterLeave:_},{default:a.withCtx(()=>[i.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["sf-drawer",{"sf-drawer-with-footer":!!a.unref(o).footer}]),style:a.normalizeStyle(n.style),role:"dialog",onClick:$[0]||($[0]=a.withModifiers(q=>C.void,["stop"]))},[a.createElementVNode("div",Ns,[a.createElementVNode("span",Ds,[a.renderSlot(C.$slots,"title")]),a.createVNode(Qe,{button:!0,icon:"close",onClick:a.withModifiers(d,["stop"])},null,8,["onClick"])]),a.createElementVNode("div",Ms,[a.renderSlot(C.$slots,"default")]),a.unref(o).footer?(a.openBlock(),a.createElementBlock("div",Us,[a.renderSlot(C.$slots,"footer")])):a.createCommentVNode("",!0)],6)):a.createCommentVNode("",!0)]),_:3})],14,$s)):a.createCommentVNode("",!0)]))}}),Hs=["id","name","disabled","data-color","form","type"],js={class:"sf-button-label"},zr=a.defineComponent({__name:"Button",props:{icon:{},visible:{type:Boolean,default:!0},class:{},style:{},disabled:{type:Boolean},loading:{type:Boolean},color:{default:"primary"},size:{default:"md"},variant:{default:"filled"},autofocus:{type:Boolean},form:{},name:{},id:{},type:{default:"button"},value:{}},setup(t){const e=t;function n(){return new Ze(`${e.class??""} sf-button`).AddClass("sf-component-loading",e.loading).AddClass("sf-component-disabled",e.disabled).AddClass("sf-button-small",e.size==="sm").AddClass("sf-button-medium",e.size==="md").AddClass("sf-button-large",e.size==="lg").AddClass("sf-button-filled",e.variant==="filled").AddClass("sf-button-text",e.variant==="text").AddClass("sf-button-outlined",e.variant==="outlined").AddClass("sf-button-with-icon",!!e.icon).AddClass("sf-ripple").Build()}return(r,o)=>e.visible?(a.openBlock(),a.createElementBlock("button",{key:0,id:e.id,name:e.name,class:a.normalizeClass(n()),style:a.normalizeStyle(e.style),disabled:e.disabled||e.loading,"data-color":e.color,form:e.form,type:e.type},[e.icon?(a.openBlock(),a.createBlock(Qe,{key:0,filled:e.variant==="filled",icon:e.icon,loading:e.loading,size:e.size,"button-props":{tabindex:-1}},null,8,["filled","icon","loading","size"])):e.loading?(a.openBlock(),a.createBlock(Qe,{key:1,loading:!0,size:e.size,"button-props":{tabindex:-1}},null,8,["size"])):a.createCommentVNode("",!0),a.createElementVNode("span",js,[a.renderSlot(r.$slots,"default")])],14,Hs)):a.createCommentVNode("",!0)}}),Wr="SweetAlert2:",Vs=t=>{const e=[];for(let n=0;n<t.length;n++)e.indexOf(t[n])===-1&&e.push(t[n]);return e},Bn=t=>t.charAt(0).toUpperCase()+t.slice(1),Oe=t=>Array.prototype.slice.call(t),Ae=t=>{console.warn(`${Wr} ${typeof t=="object"?t.join(" "):t}`)},ot=t=>{console.error(`${Wr} ${t}`)},qr=[],Ks=t=>{qr.includes(t)||(qr.push(t),Ae(t))},zs=(t,e)=>{Ks(`"${t}" is deprecated and will be removed in the next major release. Please use "${e}" instead.`)},nn=t=>typeof t=="function"?t():t,Fn=t=>t&&typeof t.toPromise=="function",kt=t=>Fn(t)?t.toPromise():Promise.resolve(t),Rn=t=>t&&Promise.resolve(t)===t,ft={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},Ws=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],qs={},Gs=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Gr=t=>Object.prototype.hasOwnProperty.call(ft,t),Jr=t=>Ws.indexOf(t)!==-1,$n=t=>qs[t],Js=t=>{Gr(t)||Ae(`Unknown parameter "${t}"`)},Ys=t=>{Gs.includes(t)&&Ae(`The parameter "${t}" is incompatible with toasts`)},Xs=t=>{$n(t)&&zs(t,$n(t))},Zs=t=>{!t.backdrop&&t.allowOutsideClick&&Ae('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const e in t)Js(e),t.toast&&Ys(e),Xs(e)},Qs="swal2-",Yr=t=>{const e={};for(const n in t)e[t[n]]=Qs+t[n];return e},g=Yr(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),xt=Yr(["success","warning","info","question","error"]),ye=()=>document.body.querySelector(`.${g.container}`),It=t=>{const e=ye();return e?e.querySelector(t):null},Re=t=>It(`.${t}`),oe=()=>Re(g.popup),Pt=()=>Re(g.icon),Xr=()=>Re(g.title),rn=()=>Re(g["html-container"]),Zr=()=>Re(g.image),Qr=()=>Re(g["progress-steps"]),on=()=>Re(g["validation-message"]),Ue=()=>It(`.${g.actions} .${g.confirm}`),et=()=>It(`.${g.actions} .${g.deny}`),ea=()=>Re(g["input-label"]),pt=()=>It(`.${g.loader}`),it=()=>It(`.${g.actions} .${g.cancel}`),Tt=()=>Re(g.actions),eo=()=>Re(g.footer),sn=()=>Re(g["timer-progress-bar"]),Nn=()=>Re(g.close),ta=`
1
+ (function(ee,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","vue-router"],a):(ee=typeof globalThis<"u"?globalThis:ee||self,a((ee.sf=ee.sf||{},ee.sf.prefeiturasp=ee.sf.prefeiturasp||{},ee.sf.prefeiturasp.vuecomponents={}),ee.Vue,ee.VueRouter))})(this,function(ee,a,rt){"use strict";var nm=Object.defineProperty;var rm=(ee,a,rt)=>a in ee?nm(ee,a,{enumerable:!0,configurable:!0,writable:!0,value:rt}):ee[a]=rt;var Me=(ee,a,rt)=>(rm(ee,typeof a!="symbol"?a+"":a,rt),rt);class ks{constructor(){Me(this,"_visible",a.ref(!1))}get IsVisible(){return this._visible.value===!0}Toggle(){this._visible.value=!this._visible.value}Close(){this._visible.value=!1}Open(){this._visible.value=!0}}const xs=new ks,Tn=()=>xs;class Ze{constructor(e){Me(this,"retorno");this.retorno=e??""}Concat(e){return e&&e.trim().length&&(this.retorno+=` ${e}`),this}AddClass(e,n=!0){return n?this.Concat(e):this}Build(){return this.retorno.trim()}}function Vr(t=[]){let e="body *:not(style)";for(const n of t)e+=`, ${n}`;return Math.max(...Array.from(document.querySelectorAll(e)).map(n=>{const r=getComputedStyle(n).zIndex;return+r==+r?+r:0}))}let Is=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce((e,n)=>(n&=63,n<36?e+=n.toString(36):n<62?e+=(n-26).toString(36).toUpperCase():n>62?e+="-":e+="_",e),"");const On=(t,e)=>{const n=t.__vccOpts||t;for(const[r,o]of e)n[r]=o;return n},Ps={},Ts={class:"sf-loading-circle"},Os=[a.createElementVNode("div",null,[a.createElementVNode("svg",{viewBox:"25 25 50 50"},[a.createElementVNode("circle",{cx:"50",cy:"50",r:"20",fill:"none","stroke-width":"4","stroke-miterlimit":"10"})])],-1)];function Ls(t,e){return a.openBlock(),a.createElementBlock("div",Ts,Os)}const Bs=On(Ps,[["render",Ls]]),Ln=a.defineComponent({__name:"Tooltip",props:{text:{}},setup(t){const e=t;class n{constructor(){Me(this,"zIndex");Me(this,"wrapper");Me(this,"inner");this.zIndex=Vr()+1,this.Render()}Render(){this.wrapper=document.createElement("div"),this.wrapper.classList.add("sf-tooltip-wrapper"),this.wrapper.style.zIndex=`${this.zIndex??0}`,this.inner=document.createElement("div"),this.inner.classList.add("sf-tooltip-inner"),this.wrapper.appendChild(this.inner)}Show(i){this.inner.textContent=e.text;const s=i.target;document.body.appendChild(this.wrapper),this.Position(s.getBoundingClientRect()),this.wrapper.classList.add("visible")}Hide(){this.wrapper.classList.remove("visible"),this.wrapper.remove()}Position(i){const c=i.top,l=i.bottom,d=i.left,f=i.right,p=i.width/2-15,v=this.wrapper;v.style.top=`${l+10}px`,v.style.left=`${d}px`,v.style.marginLeft=`${p}px`,this.OutOfBottom()&&(v.style.top=`${c-v.clientHeight-10}px`,v.classList.add("top")),this.OutOfRight()&&(v.style.left=`${f-v.clientWidth}px`,v.style.marginLeft=`-${p}px`,v.classList.add("left"))}OutOfBottom(){return this.wrapper.getBoundingClientRect().bottom>(window.innerHeight||document.documentElement.clientHeight)}OutOfRight(){return this.wrapper.getBoundingClientRect().right>(window.innerWidth||document.documentElement.clientWidth)}}const r=new n;return a.onBeforeUnmount(()=>{r.Hide()}),(o,i)=>(a.openBlock(),a.createElementBlock("div",{class:"sf-tooltip-anchor",onMouseenter:i[0]||(i[0]=(...s)=>a.unref(r).Show&&a.unref(r).Show(...s)),onMouseleave:i[1]||(i[1]=(...s)=>a.unref(r).Hide&&a.unref(r).Hide(...s)),onMousedown:i[2]||(i[2]=(...s)=>a.unref(r).Hide&&a.unref(r).Hide(...s))},[a.renderSlot(o.$slots,"default")],32))}}),Fs=["disabled","tabindex"],Rs=["data-color"],Qe=On(a.defineComponent({__name:"Icon",props:{icon:{},visible:{type:Boolean,default:!0},class:{default:""},style:{default:""},disabled:{type:Boolean},loading:{type:Boolean},button:{type:Boolean},size:{default:"md"},dot:{type:Boolean},dotColor:{default:"error"},filled:{type:Boolean},buttonProps:{},tooltip:{}},setup(t){const e=t,n=a.computed(()=>e.tooltip?Ln:"div"),r=a.computed(()=>e.tooltip?"":"display-content"),o=a.computed(()=>new Ze(`${e.class} sf-icon`).AddClass("sf-component-loading",e.loading).AddClass("sf-component-disabled",e.disabled).AddClass("sf-icon-button",e.button).AddClass("sf-icon-small",e.size==="sm").AddClass("sf-icon-medium",e.size==="md").AddClass("sf-icon-large",e.size==="lg").AddClass("sf-ripple",e.button===!0).Build());return(i,s)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.value),{text:e.tooltip,class:a.normalizeClass(r.value)},{default:a.withCtx(()=>[e.visible?(a.openBlock(),a.createElementBlock("div",{key:0,style:a.normalizeStyle(e.style),class:a.normalizeClass(o.value)},[a.createElementVNode("button",a.mergeProps({class:["material-symbols-outlined",{"icon-filled":!!e.filled}],disabled:e.disabled||e.loading},e.buttonProps,{tabindex:e.button?void 0:-1}),[e.loading?(a.openBlock(),a.createBlock(Bs,{key:0})):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(e.icon),1)],64))],16,Fs),e.dot?(a.openBlock(),a.createElementBlock("span",{key:0,"data-color":e.dotColor},null,8,Rs)):a.createCommentVNode("",!0)],6)):a.createCommentVNode("",!0)]),_:1},8,["text","class"]))}}),[["__scopeId","data-v-5de5e7b2"]]),$s=["id","onClick"],Ns={class:"sf-drawer-header"},Ds={class:"sf-drawer-title"},Ms={class:"sf-drawer-content"},Us={key:0,class:"sf-drawer-footer"},Kr=a.defineComponent({__name:"Drawer",props:{visible:{type:Boolean,default:!1},position:{default:"left"},style:{}},emits:["update:visible","open","before-close"],setup(t,{emit:e}){const n=t,r=e,o=a.useSlots(),i=a.ref(n.visible),s=a.ref(!1),c=a.ref(0),l=Is();function d(){i.value=!1}function f(C){(C.key==="Escape"||C.code==="Escape")&&d()}function p(){r("open"),window.document.addEventListener("keydown",f,!0)}function v(C){c.value=Vr(),C.style.zIndex=`${c.value}`}function w(C){var $;r("before-close"),($=C==null?void 0:C.parentElement)==null||$.classList.add("sf-mask-overlay-leave")}function _(){window.document.removeEventListener("keydown",f,!0),s.value=!1}function x(){return new Ze("sf-mask sf-mask-overlay").AddClass("right",n.position==="right").AddClass("bottom",n.position==="bottom").AddClass("full",n.position==="full").AddClass("sf-mask-overlay-enter",n.visible===!0).Build()}return a.watch(()=>n.visible,C=>{i.value=C}),a.watch(()=>i.value,C=>{r("update:visible",C),C&&(s.value=!0)}),(C,$)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[s.value?(a.openBlock(),a.createElementBlock("div",{key:0,id:a.unref(l),class:a.normalizeClass(x()),style:a.normalizeStyle({zIndex:c.value-1}),onClick:a.withModifiers(d,["stop"])},[a.createVNode(a.Transition,{name:"sf-drawer",appear:"",onBeforeEnter:v,onEnter:p,onBeforeLeave:w,onAfterLeave:_},{default:a.withCtx(()=>[i.value?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["sf-drawer",{"sf-drawer-with-footer":!!a.unref(o).footer}]),style:a.normalizeStyle(n.style),role:"dialog",onClick:$[0]||($[0]=a.withModifiers(q=>C.void,["stop"]))},[a.createElementVNode("div",Ns,[a.createElementVNode("span",Ds,[a.renderSlot(C.$slots,"title")]),a.createVNode(Qe,{button:!0,icon:"close",onClick:a.withModifiers(d,["stop"])},null,8,["onClick"])]),a.createElementVNode("div",Ms,[a.renderSlot(C.$slots,"default")]),a.unref(o).footer?(a.openBlock(),a.createElementBlock("div",Us,[a.renderSlot(C.$slots,"footer")])):a.createCommentVNode("",!0)],6)):a.createCommentVNode("",!0)]),_:3})],14,$s)):a.createCommentVNode("",!0)]))}}),Hs=["id","name","disabled","data-color","form","type"],js={class:"sf-button-label"},zr=a.defineComponent({__name:"Button",props:{icon:{},visible:{type:Boolean,default:!0},class:{},style:{},disabled:{type:Boolean},loading:{type:Boolean},color:{default:"primary"},size:{default:"md"},variant:{default:"filled"},autofocus:{type:Boolean},form:{},name:{},id:{},type:{default:"button"},value:{}},setup(t){const e=t;function n(){return new Ze(`${e.class??""} sf-button`).AddClass("sf-component-loading",e.loading).AddClass("sf-component-disabled",e.disabled).AddClass("sf-button-small",e.size==="sm").AddClass("sf-button-medium",e.size==="md").AddClass("sf-button-large",e.size==="lg").AddClass("sf-button-filled",e.variant==="filled").AddClass("sf-button-text",e.variant==="text").AddClass("sf-button-outlined",e.variant==="outlined").AddClass("sf-button-with-icon",!!e.icon).AddClass("sf-ripple").Build()}return(r,o)=>e.visible?(a.openBlock(),a.createElementBlock("button",{key:0,id:e.id,name:e.name,class:a.normalizeClass(n()),style:a.normalizeStyle(e.style),disabled:e.disabled||e.loading,"data-color":e.color,form:e.form,type:e.type},[e.icon?(a.openBlock(),a.createBlock(Qe,{key:0,filled:e.variant==="filled",icon:e.icon,loading:e.loading,size:e.size,"button-props":{tabindex:-1}},null,8,["filled","icon","loading","size"])):e.loading?(a.openBlock(),a.createBlock(Qe,{key:1,loading:!0,size:e.size,"button-props":{tabindex:-1}},null,8,["size"])):a.createCommentVNode("",!0),a.createElementVNode("span",js,[a.renderSlot(r.$slots,"default")])],14,Hs)):a.createCommentVNode("",!0)}}),Wr="SweetAlert2:",Vs=t=>{const e=[];for(let n=0;n<t.length;n++)e.indexOf(t[n])===-1&&e.push(t[n]);return e},Bn=t=>t.charAt(0).toUpperCase()+t.slice(1),Oe=t=>Array.prototype.slice.call(t),Ae=t=>{console.warn(`${Wr} ${typeof t=="object"?t.join(" "):t}`)},ot=t=>{console.error(`${Wr} ${t}`)},qr=[],Ks=t=>{qr.includes(t)||(qr.push(t),Ae(t))},zs=(t,e)=>{Ks(`"${t}" is deprecated and will be removed in the next major release. Please use "${e}" instead.`)},nn=t=>typeof t=="function"?t():t,Fn=t=>t&&typeof t.toPromise=="function",kt=t=>Fn(t)?t.toPromise():Promise.resolve(t),Rn=t=>t&&Promise.resolve(t)===t,ft={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"&times;",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},Ws=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],qs={},Gs=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],Gr=t=>Object.prototype.hasOwnProperty.call(ft,t),Jr=t=>Ws.indexOf(t)!==-1,$n=t=>qs[t],Js=t=>{Gr(t)||Ae(`Unknown parameter "${t}"`)},Ys=t=>{Gs.includes(t)&&Ae(`The parameter "${t}" is incompatible with toasts`)},Xs=t=>{$n(t)&&zs(t,$n(t))},Zs=t=>{!t.backdrop&&t.allowOutsideClick&&Ae('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const e in t)Js(e),t.toast&&Ys(e),Xs(e)},Qs="swal2-",Yr=t=>{const e={};for(const n in t)e[t[n]]=Qs+t[n];return e},g=Yr(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),xt=Yr(["success","warning","info","question","error"]),ye=()=>document.body.querySelector(`.${g.container}`),It=t=>{const e=ye();return e?e.querySelector(t):null},Re=t=>It(`.${t}`),oe=()=>Re(g.popup),Pt=()=>Re(g.icon),Xr=()=>Re(g.title),rn=()=>Re(g["html-container"]),Zr=()=>Re(g.image),Qr=()=>Re(g["progress-steps"]),on=()=>Re(g["validation-message"]),Ue=()=>It(`.${g.actions} .${g.confirm}`),et=()=>It(`.${g.actions} .${g.deny}`),ea=()=>Re(g["input-label"]),pt=()=>It(`.${g.loader}`),it=()=>It(`.${g.actions} .${g.cancel}`),Tt=()=>Re(g.actions),eo=()=>Re(g.footer),sn=()=>Re(g["timer-progress-bar"]),Nn=()=>Re(g.close),ta=`
2
2
  a[href],
3
3
  area[href],
4
4
  input:not([disabled]),
@@ -61,7 +61,7 @@ showLoaderOnConfirm should be used together with preConfirm, see usage example:
61
61
  https://sweetalert2.github.io/#ajax-request`),rl(t),typeof t.title=="string"&&(t.title=t.title.split(`
62
62
  `).join("<br />")),ha(t)}class il{constructor(e,n){this.callback=e,this.remaining=n,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(e){const n=this.running;return n&&this.stop(),this.remaining+=e,n&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const sl=()=>{mt.previousBodyPadding===null&&document.body.scrollHeight>window.innerHeight&&(mt.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${mt.previousBodyPadding+ba()}px`)},al=()=>{mt.previousBodyPadding!==null&&(document.body.style.paddingRight=`${mt.previousBodyPadding}px`,mt.previousBodyPadding=null)},ll=()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1)&&!Ge(document.body,g.iosfix)){const e=document.body.scrollTop;document.body.style.top=`${e*-1}px`,te(document.body,g.iosfix),ul(),cl()}},cl=()=>{const t=navigator.userAgent,e=!!t.match(/iPad/i)||!!t.match(/iPhone/i),n=!!t.match(/WebKit/i);e&&n&&!t.match(/CriOS/i)&&oe().scrollHeight>window.innerHeight-44&&(ye().style.paddingBottom="44px")},ul=()=>{const t=ye();let e;t.ontouchstart=n=>{e=dl(n)},t.ontouchmove=n=>{e&&(n.preventDefault(),n.stopPropagation())}},dl=t=>{const e=t.target,n=ye();return fl(t)||pl(t)?!1:e===n||!oo(n)&&e.tagName!=="INPUT"&&e.tagName!=="TEXTAREA"&&!(oo(rn())&&rn().contains(e))},fl=t=>t.touches&&t.touches.length&&t.touches[0].touchType==="stylus",pl=t=>t.touches&&t.touches.length>1,ml=()=>{if(Ge(document.body,g.iosfix)){const t=parseInt(document.body.style.top,10);Ve(document.body,g.iosfix),document.body.style.top="",document.body.scrollTop=t*-1}},go=10,hl=t=>{const e=ye(),n=oe();typeof t.willOpen=="function"&&t.willOpen(n);const o=window.getComputedStyle(document.body).overflowY;bl(e,n,t),setTimeout(()=>{gl(e,n)},go),Mn()&&(yl(e,t.scrollbarPadding,o),qa()),!an()&&!J.previousActiveElement&&(J.previousActiveElement=document.activeElement),typeof t.didOpen=="function"&&setTimeout(()=>t.didOpen(n)),Ve(e,g["no-transition"])},yo=t=>{const e=oe();if(t.target!==e)return;const n=ye();e.removeEventListener(Lt,yo),n.style.overflowY="auto"},gl=(t,e)=>{Lt&&io(e)?(t.style.overflowY="hidden",e.addEventListener(Lt,yo)):t.style.overflowY="auto"},yl=(t,e,n)=>{ll(),e&&n!=="hidden"&&sl(),setTimeout(()=>{t.scrollTop=0})},bl=(t,e,n)=>{te(t,n.showClass.backdrop),e.style.setProperty("opacity","0","important"),he(e,"grid"),setTimeout(()=>{te(e,n.showClass.popup),e.style.removeProperty("opacity")},go),te([document.documentElement,document.body],g.shown),n.heightAuto&&n.backdrop&&!n.toast&&te([document.documentElement,document.body],g["height-auto"])},gt=t=>{let e=oe();e||new bt,e=oe();const n=pt();an()?ve(Pt()):vl(e,t),he(n),e.setAttribute("data-loading",!0),e.setAttribute("aria-busy",!0),e.focus()},vl=(t,e)=>{const n=Tt(),r=pt();!e&&Le(Ue())&&(e=Ue()),he(n),e&&(ve(e),r.setAttribute("data-button-to-replace",e.className)),r.parentNode.insertBefore(r,e),te([t,n],g.loading)},wl=(t,e)=>{e.input==="select"||e.input==="radio"?Al(t,e):["text","email","number","tel","textarea"].includes(e.input)&&(Fn(e.inputValue)||Rn(e.inputValue))&&(gt(Ue()),kl(t,e))},El=(t,e)=>{const n=t.getInput();if(!n)return null;switch(e.input){case"checkbox":return Sl(n);case"radio":return Cl(n);case"file":return _l(n);default:return e.inputAutoTrim?n.value.trim():n.value}},Sl=t=>t.checked?1:0,Cl=t=>t.checked?t.value:null,_l=t=>t.files.length?t.getAttribute("multiple")!==null?t.files:t.files[0]:null,Al=(t,e)=>{const n=oe(),r=o=>xl[e.input](n,zn(o),e);Fn(e.inputOptions)||Rn(e.inputOptions)?(gt(Ue()),kt(e.inputOptions).then(o=>{t.hideLoading(),r(o)})):typeof e.inputOptions=="object"?r(e.inputOptions):ot(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof e.inputOptions}`)},kl=(t,e)=>{const n=t.getInput();ve(n),kt(e.inputValue).then(r=>{n.value=e.input==="number"?parseFloat(r)||0:`${r}`,he(n),n.focus(),t.hideLoading()}).catch(r=>{ot(`Error in inputValue promise: ${r}`),n.value="",he(n),n.focus(),t.hideLoading()})},xl={select:(t,e,n)=>{const r=tt(t,g.select),o=(i,s,c)=>{const l=document.createElement("option");l.value=c,be(l,s),l.selected=bo(c,n.inputValue),i.appendChild(l)};e.forEach(i=>{const s=i[0],c=i[1];if(Array.isArray(c)){const l=document.createElement("optgroup");l.label=s,l.disabled=!1,r.appendChild(l),c.forEach(d=>o(l,d[1],d[0]))}else o(r,c,s)}),r.focus()},radio:(t,e,n)=>{const r=tt(t,g.radio);e.forEach(i=>{const s=i[0],c=i[1],l=document.createElement("input"),d=document.createElement("label");l.type="radio",l.name=g.radio,l.value=s,bo(s,n.inputValue)&&(l.checked=!0);const f=document.createElement("span");be(f,c),f.className=g.label,d.appendChild(l),d.appendChild(f),r.appendChild(d)});const o=r.querySelectorAll("input");o.length&&o[0].focus()}},zn=t=>{const e=[];return typeof Map<"u"&&t instanceof Map?t.forEach((n,r)=>{let o=n;typeof o=="object"&&(o=zn(o)),e.push([r,o])}):Object.keys(t).forEach(n=>{let r=t[n];typeof r=="object"&&(r=zn(r)),e.push([n,r])}),e},bo=(t,e)=>e&&e.toString()===t.toString();function vo(){const t=Y.innerParams.get(this);if(!t)return;const e=Y.domCache.get(this);ve(e.loader),an()?t.icon&&he(Pt()):Il(e),Ve([e.popup,e.actions],g.loading),e.popup.removeAttribute("aria-busy"),e.popup.removeAttribute("data-loading"),e.confirmButton.disabled=!1,e.denyButton.disabled=!1,e.cancelButton.disabled=!1}const Il=t=>{const e=t.popup.getElementsByClassName(t.loader.getAttribute("data-button-to-replace"));e.length?he(e[0],"inline-block"):oa()&&ve(t.actions)};function Pl(t){const e=Y.innerParams.get(t||this),n=Y.domCache.get(t||this);return n?Un(n.popup,e.input):null}const Ft={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap},Tl=()=>Le(oe()),wo=()=>Ue()&&Ue().click(),Ol=()=>et()&&et().click(),Ll=()=>it()&&it().click(),Eo=t=>{t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1)},Bl=(t,e,n,r)=>{Eo(e),n.toast||(e.keydownHandler=o=>Rl(t,o,r),e.keydownTarget=n.keydownListenerCapture?window:oe(),e.keydownListenerCapture=n.keydownListenerCapture,e.keydownTarget.addEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0)},Wn=(t,e,n)=>{const r=Dn();if(r.length)return e=e+n,e===r.length?e=0:e===-1&&(e=r.length-1),r[e].focus();oe().focus()},So=["ArrowRight","ArrowDown"],Fl=["ArrowLeft","ArrowUp"],Rl=(t,e,n)=>{const r=Y.innerParams.get(t);r&&(e.isComposing||e.keyCode===229||(r.stopKeydownPropagation&&e.stopPropagation(),e.key==="Enter"?$l(t,e,r):e.key==="Tab"?Nl(e,r):[...So,...Fl].includes(e.key)?Dl(e.key):e.key==="Escape"&&Ml(e,r,n)))},$l=(t,e,n)=>{if(nn(n.allowEnterKey)&&e.target&&t.getInput()&&e.target.outerHTML===t.getInput().outerHTML){if(["textarea","file"].includes(n.input))return;wo(),e.preventDefault()}},Nl=(t,e)=>{const n=t.target,r=Dn();let o=-1;for(let i=0;i<r.length;i++)if(n===r[i]){o=i;break}t.shiftKey?Wn(e,o,-1):Wn(e,o,1),t.stopPropagation(),t.preventDefault()},Dl=t=>{const e=Ue(),n=et(),r=it();if(![e,n,r].includes(document.activeElement))return;const o=So.includes(t)?"nextElementSibling":"previousElementSibling";let i=document.activeElement;for(let s=0;s<Tt().children.length;s++){if(i=i[o],!i)return;if(Le(i)&&i instanceof HTMLButtonElement)break}i instanceof HTMLButtonElement&&i.focus()},Ml=(t,e,n)=>{nn(e.allowEscapeKey)&&(t.preventDefault(),n(ht.esc))};function Co(t,e,n,r){an()?_o(t,r):(la(n).then(()=>_o(t,r)),Eo(J)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(e.setAttribute("style","display:none !important"),e.removeAttribute("class"),e.innerHTML=""):e.remove(),Mn()&&(al(),ml(),po()),Ul()}function Ul(){Ve([document.documentElement,document.body],[g.shown,g["height-auto"],g["no-backdrop"],g["toast-shown"]])}function cn(t){t=Kl(t);const e=Ft.swalPromiseResolve.get(this),n=jl(this);this.isAwaitingPromise()?t.isDismissed||(Rt(this),e(t)):n&&e(t)}function Hl(){return!!Y.awaitingPromise.get(this)}const jl=t=>{const e=oe();if(!e)return!1;const n=Y.innerParams.get(t);if(!n||Ge(e,n.hideClass.popup))return!1;Ve(e,n.showClass.popup),te(e,n.hideClass.popup);const r=ye();return Ve(r,n.showClass.backdrop),te(r,n.hideClass.backdrop),zl(t,e,n),!0};function Vl(t){const e=Ft.swalPromiseReject.get(this);Rt(this),e&&e(t)}const Rt=t=>{t.isAwaitingPromise()&&(Y.awaitingPromise.delete(t),Y.innerParams.get(t)||t._destroy())},Kl=t=>typeof t>"u"?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},t),zl=(t,e,n)=>{const r=ye(),o=Lt&&io(e);typeof n.willClose=="function"&&n.willClose(e),o?Wl(t,e,r,n.returnFocus,n.didClose):Co(t,r,n.returnFocus,n.didClose)},Wl=(t,e,n,r,o)=>{J.swalCloseEventFinishedCallback=Co.bind(null,t,n,r,o),e.addEventListener(Lt,function(i){i.target===e&&(J.swalCloseEventFinishedCallback(),delete J.swalCloseEventFinishedCallback)})},_o=(t,e)=>{setTimeout(()=>{typeof e=="function"&&e.bind(t.params)(),t._destroy()})};function Ao(t,e,n){const r=Y.domCache.get(t);e.forEach(o=>{r[o].disabled=n})}function ko(t,e){if(!t)return!1;if(t.type==="radio"){const r=t.parentNode.parentNode.querySelectorAll("input");for(let o=0;o<r.length;o++)r[o].disabled=e}else t.disabled=e}function ql(){Ao(this,["confirmButton","denyButton","cancelButton"],!1)}function Gl(){Ao(this,["confirmButton","denyButton","cancelButton"],!0)}function Jl(){return ko(this.getInput(),!1)}function Yl(){return ko(this.getInput(),!0)}function Xl(t){const e=Y.domCache.get(this),n=Y.innerParams.get(this);be(e.validationMessage,t),e.validationMessage.className=g["validation-message"],n.customClass&&n.customClass.validationMessage&&te(e.validationMessage,n.customClass.validationMessage),he(e.validationMessage);const r=this.getInput();r&&(r.setAttribute("aria-invalid",!0),r.setAttribute("aria-describedby",g["validation-message"]),to(r),te(r,g.inputerror))}function Zl(){const t=Y.domCache.get(this);t.validationMessage&&ve(t.validationMessage);const e=this.getInput();e&&(e.removeAttribute("aria-invalid"),e.removeAttribute("aria-describedby"),Ve(e,g.inputerror))}function Ql(){return Y.domCache.get(this).progressSteps}function ec(t){const e=oe(),n=Y.innerParams.get(this);if(!e||Ge(e,n.hideClass.popup))return Ae("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const r=tc(t),o=Object.assign({},n,r);fo(this,o),Y.innerParams.set(this,o),Object.defineProperties(this,{params:{value:Object.assign({},this.params,t),writable:!1,enumerable:!0}})}const tc=t=>{const e={};return Object.keys(t).forEach(n=>{Jr(n)?e[n]=t[n]:Ae(`Invalid parameter to update: "${n}". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js
63
63
 
64
- If you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md`)}),e};function nc(){const t=Y.domCache.get(this),e=Y.innerParams.get(this);if(!e){xo(this);return}t.popup&&J.swalCloseEventFinishedCallback&&(J.swalCloseEventFinishedCallback(),delete J.swalCloseEventFinishedCallback),J.deferDisposalTimer&&(clearTimeout(J.deferDisposalTimer),delete J.deferDisposalTimer),typeof e.didDestroy=="function"&&e.didDestroy(),rc(this)}const rc=t=>{xo(t),delete t.params,delete J.keydownHandler,delete J.keydownTarget,delete J.currentInstance},xo=t=>{t.isAwaitingPromise()?(qn(Y,t),Y.awaitingPromise.set(t,!0)):(qn(Ft,t),qn(Y,t))},qn=(t,e)=>{for(const n in t)t[n].delete(e)},Io=Object.freeze(Object.defineProperty({__proto__:null,_destroy:nc,close:cn,closeModal:cn,closePopup:cn,closeToast:cn,disableButtons:Gl,disableInput:Yl,disableLoading:vo,enableButtons:ql,enableInput:Jl,getInput:Pl,getProgressSteps:Ql,handleAwaitingPromise:Rt,hideLoading:vo,isAwaitingPromise:Hl,rejectPromise:Vl,resetValidationMessage:Zl,showValidationMessage:Xl,update:ec},Symbol.toStringTag,{value:"Module"})),oc=t=>{const e=Y.innerParams.get(t);t.disableButtons(),e.input?Po(t,"confirm"):Jn(t,!0)},ic=t=>{const e=Y.innerParams.get(t);t.disableButtons(),e.returnInputValueOnDeny?Po(t,"deny"):Gn(t,!1)},sc=(t,e)=>{t.disableButtons(),e(ht.cancel)},Po=(t,e)=>{const n=Y.innerParams.get(t);if(!n.input)return ot(`The "input" parameter is needed to be set when using returnInputValueOn${Bn(e)}`);const r=El(t,n);n.inputValidator?ac(t,r,e):t.getInput().checkValidity()?e==="deny"?Gn(t,r):Jn(t,r):(t.enableButtons(),t.showValidationMessage(n.validationMessage))},ac=(t,e,n)=>{const r=Y.innerParams.get(t);t.disableInput(),Promise.resolve().then(()=>kt(r.inputValidator(e,r.validationMessage))).then(i=>{t.enableButtons(),t.enableInput(),i?t.showValidationMessage(i):n==="deny"?Gn(t,e):Jn(t,e)})},Gn=(t,e)=>{const n=Y.innerParams.get(t||void 0);n.showLoaderOnDeny&&gt(et()),n.preDeny?(Y.awaitingPromise.set(t||void 0,!0),Promise.resolve().then(()=>kt(n.preDeny(e,n.validationMessage))).then(o=>{o===!1?(t.hideLoading(),Rt(t)):t.closePopup({isDenied:!0,value:typeof o>"u"?e:o})}).catch(o=>Oo(t||void 0,o))):t.closePopup({isDenied:!0,value:e})},To=(t,e)=>{t.closePopup({isConfirmed:!0,value:e})},Oo=(t,e)=>{t.rejectPromise(e)},Jn=(t,e)=>{const n=Y.innerParams.get(t||void 0);n.showLoaderOnConfirm&&gt(),n.preConfirm?(t.resetValidationMessage(),Y.awaitingPromise.set(t||void 0,!0),Promise.resolve().then(()=>kt(n.preConfirm(e,n.validationMessage))).then(o=>{Le(on())||o===!1?(t.hideLoading(),Rt(t)):To(t,typeof o>"u"?e:o)}).catch(o=>Oo(t||void 0,o))):To(t,e)},lc=(t,e,n)=>{Y.innerParams.get(t).toast?cc(t,e,n):(dc(e),fc(e),pc(t,e,n))},cc=(t,e,n)=>{e.popup.onclick=()=>{const r=Y.innerParams.get(t);r&&(uc(r)||r.timer||r.input)||n(ht.close)}},uc=t=>t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton;let un=!1;const dc=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(un=!0)}}},fc=t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,(e.target===t.popup||t.popup.contains(e.target))&&(un=!0)}}},pc=(t,e,n)=>{e.container.onclick=r=>{const o=Y.innerParams.get(t);if(un){un=!1;return}r.target===e.container&&nn(o.allowOutsideClick)&&n(ht.backdrop)}},mc=t=>typeof t=="object"&&t.jquery,Lo=t=>t instanceof Element||mc(t),hc=t=>{const e={};return typeof t[0]=="object"&&!Lo(t[0])?Object.assign(e,t[0]):["title","html","icon"].forEach((n,r)=>{const o=t[r];typeof o=="string"||Lo(o)?e[n]=o:o!==void 0&&ot(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof o}`)}),e};function gc(...t){const e=this;return new e(...t)}function yc(t){class e extends this{_main(r,o){return super._main(r,Object.assign({},t,o))}}return e}const bc=()=>J.timeout&&J.timeout.getTimerLeft(),Bo=()=>{if(J.timeout)return ia(),J.timeout.stop()},Fo=()=>{if(J.timeout){const t=J.timeout.start();return Hn(t),t}},vc=()=>{const t=J.timeout;return t&&(t.running?Bo():Fo())},wc=t=>{if(J.timeout){const e=J.timeout.increase(t);return Hn(e,!0),e}},Ec=()=>J.timeout&&J.timeout.isRunning();let Ro=!1;const Yn={};function Sc(t="data-swal-template"){Yn[t]=this,Ro||(document.body.addEventListener("click",Cc),Ro=!0)}const Cc=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const n in Yn){const r=e.getAttribute(n);if(r){Yn[n].fire({template:r});return}}},_c=Object.freeze(Object.defineProperty({__proto__:null,argsToParams:hc,bindClickHandler:Sc,clickCancel:Ll,clickConfirm:wo,clickDeny:Ol,enableLoading:gt,fire:gc,getActions:Tt,getCancelButton:it,getCloseButton:Nn,getConfirmButton:Ue,getContainer:ye,getDenyButton:et,getFocusableElements:Dn,getFooter:eo,getHtmlContainer:rn,getIcon:Pt,getImage:Zr,getInputLabel:ea,getLoader:pt,getPopup:oe,getTimerLeft:bc,getTimerProgressBar:sn,getTitle:Xr,getValidationMessage:on,increaseTimer:wc,isDeprecatedParameter:$n,isLoading:na,isTimerRunning:Ec,isUpdatableParameter:Jr,isValidParameter:Gr,isVisible:Tl,mixin:yc,resumeTimer:Fo,showLoading:gt,stopTimer:Bo,toggleTimer:vc},Symbol.toStringTag,{value:"Module"}));let Xn;class yt{constructor(...e){if(typeof window>"u")return;Xn=this;const n=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:n,writable:!1,enumerable:!0,configurable:!0}});const r=this._main(this.params);Y.promise.set(this,r)}_main(e,n={}){Zs(Object.assign({},n,e)),J.currentInstance&&(J.currentInstance._destroy(),Mn()&&po()),J.currentInstance=this;const r=kc(e,n);ol(r),Object.freeze(r),J.timeout&&(J.timeout.stop(),delete J.timeout),clearTimeout(J.restoreFocusTimeout);const o=xc(this);return fo(this,r),Y.innerParams.set(this,r),Ac(this,o,r)}then(e){return Y.promise.get(this).then(e)}finally(e){return Y.promise.get(this).finally(e)}}const Ac=(t,e,n)=>new Promise((r,o)=>{const i=s=>{t.closePopup({isDismissed:!0,dismiss:s})};Ft.swalPromiseResolve.set(t,r),Ft.swalPromiseReject.set(t,o),e.confirmButton.onclick=()=>oc(t),e.denyButton.onclick=()=>ic(t),e.cancelButton.onclick=()=>sc(t,i),e.closeButton.onclick=()=>i(ht.close),lc(t,e,i),Bl(t,J,n,i),wl(t,n),hl(n),Ic(J,n,i),Pc(e,n),setTimeout(()=>{e.container.scrollTop=0})}),kc=(t,e)=>{const n=Ga(t),r=Object.assign({},ft,e,n,t);return r.showClass=Object.assign({},ft.showClass,r.showClass),r.hideClass=Object.assign({},ft.hideClass,r.hideClass),r},xc=t=>{const e={popup:oe(),container:ye(),actions:Tt(),confirmButton:Ue(),denyButton:et(),cancelButton:it(),loader:pt(),closeButton:Nn(),validationMessage:on(),progressSteps:Qr()};return Y.domCache.set(t,e),e},Ic=(t,e,n)=>{const r=sn();ve(r),e.timer&&(t.timeout=new il(()=>{n("timer"),delete t.timeout},e.timer),e.timerProgressBar&&(he(r),$e(r,e,"timerProgressBar"),setTimeout(()=>{t.timeout&&t.timeout.running&&Hn(e.timer)})))},Pc=(t,e)=>{if(!e.toast){if(!nn(e.allowEnterKey))return Oc();Tc(t,e)||Wn(e,-1,1)}},Tc=(t,e)=>e.focusDeny&&Le(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&Le(t.cancelButton)?(t.cancelButton.focus(),!0):e.focusConfirm&&Le(t.confirmButton)?(t.confirmButton.focus(),!0):!1,Oc=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};Object.assign(yt.prototype,Io),Object.assign(yt,_c),Object.keys(Io).forEach(t=>{yt[t]=function(...e){if(Xn)return Xn[t](...e)}}),yt.DismissReason=ht,yt.version="11.4.8";const bt=yt;bt.default=bt;/*! @license DOMPurify 3.0.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.9/LICENSE */const{entries:$o,setPrototypeOf:No,isFrozen:Lc,getPrototypeOf:Bc,getOwnPropertyDescriptor:Fc}=Object;let{freeze:Se,seal:He,create:Do}=Object,{apply:Zn,construct:Qn}=typeof Reflect<"u"&&Reflect;Se||(Se=function(e){return e}),He||(He=function(e){return e}),Zn||(Zn=function(e,n,r){return e.apply(n,r)}),Qn||(Qn=function(e,n){return new e(...n)});const dn=Fe(Array.prototype.forEach),Mo=Fe(Array.prototype.pop),$t=Fe(Array.prototype.push),fn=Fe(String.prototype.toLowerCase),er=Fe(String.prototype.toString),Rc=Fe(String.prototype.match),Nt=Fe(String.prototype.replace),$c=Fe(String.prototype.indexOf),Nc=Fe(String.prototype.trim),je=Fe(Object.prototype.hasOwnProperty),Be=Fe(RegExp.prototype.test),Dt=Dc(TypeError);function Fe(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Zn(t,e,r)}}function Dc(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Qn(t,n)}}function X(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fn;No&&No(t,null);let r=e.length;for(;r--;){let o=e[r];if(typeof o=="string"){const i=n(o);i!==o&&(Lc(e)||(e[r]=i),o=i)}t[o]=!0}return t}function Mc(t){for(let e=0;e<t.length;e++)je(t,e)||(t[e]=null);return t}function lt(t){const e=Do(null);for(const[n,r]of $o(t))je(t,n)&&(Array.isArray(r)?e[n]=Mc(r):r&&typeof r=="object"&&r.constructor===Object?e[n]=lt(r):e[n]=r);return e}function pn(t,e){for(;t!==null;){const r=Fc(t,e);if(r){if(r.get)return Fe(r.get);if(typeof r.value=="function")return Fe(r.value)}t=Bc(t)}function n(){return null}return n}const Uo=Se(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),tr=Se(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),nr=Se(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Uc=Se(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),rr=Se(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Hc=Se(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ho=Se(["#text"]),jo=Se(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),or=Se(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Vo=Se(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),mn=Se(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),jc=He(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Vc=He(/<%[\w\W]*|[\w\W]*%>/gm),Kc=He(/\${[\w\W]*}/gm),zc=He(/^data-[\-\w.\u00B7-\uFFFF]/),Wc=He(/^aria-[\-\w]+$/),Ko=He(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),qc=He(/^(?:\w+script|data):/i),Gc=He(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zo=He(/^html$/i);var Wo=Object.freeze({__proto__:null,MUSTACHE_EXPR:jc,ERB_EXPR:Vc,TMPLIT_EXPR:Kc,DATA_ATTR:zc,ARIA_ATTR:Wc,IS_ALLOWED_URI:Ko,IS_SCRIPT_OR_DATA:qc,ATTR_WHITESPACE:Gc,DOCTYPE_NAME:zo});const Jc=function(){return typeof window>"u"?null:window},Yc=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(r=n.getAttribute(o));const i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function qo(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jc();const e=H=>qo(H);if(e.version="3.0.9",e.removed=[],!t||!t.document||t.document.nodeType!==9)return e.isSupported=!1,e;let{document:n}=t;const r=n,o=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:s,Node:c,Element:l,NodeFilter:d,NamedNodeMap:f=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:v,trustedTypes:w}=t,_=l.prototype,x=pn(_,"cloneNode"),C=pn(_,"nextSibling"),$=pn(_,"childNodes"),q=pn(_,"parentNode");if(typeof s=="function"){const H=n.createElement("template");H.content&&H.content.ownerDocument&&(n=H.content.ownerDocument)}let V,pe="";const{implementation:de,createNodeIterator:y,createDocumentFragment:L,getElementsByTagName:j}=n,{importNode:F}=r;let B={};e.isSupported=typeof $o=="function"&&typeof q=="function"&&de&&de.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:O,ERB_EXPR:W,TMPLIT_EXPR:A,DATA_ATTR:G,ARIA_ATTR:ie,IS_SCRIPT_OR_DATA:ce,ATTR_WHITESPACE:fe}=Wo;let{IS_ALLOWED_URI:Ce}=Wo,K=null;const xe=X({},[...Uo,...tr,...nr,...rr,...Ho]);let u=null;const h=X({},[...jo,...or,...Vo,...mn]);let E=Object.seal(Do(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),I=null,S=null,R=!0,k=!0,P=!1,M=!0,N=!1,z=!1,Q=!1,Ie=!1,_e=!1,ge=!1,qe=!1,ss=!0,as=!1;const Wp="user-content-";let Nr=!0,Qt=!1,St={},Ct=null;const ls=X({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let cs=null;const us=X({},["audio","video","img","source","image","track"]);let Dr=null;const ds=X({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),In="http://www.w3.org/1998/Math/MathML",Pn="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml";let _t=Ye,Mr=!1,Ur=null;const qp=X({},[In,Pn,Ye],er);let en=null;const Gp=["application/xhtml+xml","text/html"],Jp="text/html";let me=null,At=null;const Yp=n.createElement("form"),fs=function(m){return m instanceof RegExp||m instanceof Function},Hr=function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(At&&At===m)){if((!m||typeof m!="object")&&(m={}),m=lt(m),en=Gp.indexOf(m.PARSER_MEDIA_TYPE)===-1?Jp:m.PARSER_MEDIA_TYPE,me=en==="application/xhtml+xml"?er:fn,K=je(m,"ALLOWED_TAGS")?X({},m.ALLOWED_TAGS,me):xe,u=je(m,"ALLOWED_ATTR")?X({},m.ALLOWED_ATTR,me):h,Ur=je(m,"ALLOWED_NAMESPACES")?X({},m.ALLOWED_NAMESPACES,er):qp,Dr=je(m,"ADD_URI_SAFE_ATTR")?X(lt(ds),m.ADD_URI_SAFE_ATTR,me):ds,cs=je(m,"ADD_DATA_URI_TAGS")?X(lt(us),m.ADD_DATA_URI_TAGS,me):us,Ct=je(m,"FORBID_CONTENTS")?X({},m.FORBID_CONTENTS,me):ls,I=je(m,"FORBID_TAGS")?X({},m.FORBID_TAGS,me):{},S=je(m,"FORBID_ATTR")?X({},m.FORBID_ATTR,me):{},St=je(m,"USE_PROFILES")?m.USE_PROFILES:!1,R=m.ALLOW_ARIA_ATTR!==!1,k=m.ALLOW_DATA_ATTR!==!1,P=m.ALLOW_UNKNOWN_PROTOCOLS||!1,M=m.ALLOW_SELF_CLOSE_IN_ATTR!==!1,N=m.SAFE_FOR_TEMPLATES||!1,z=m.WHOLE_DOCUMENT||!1,_e=m.RETURN_DOM||!1,ge=m.RETURN_DOM_FRAGMENT||!1,qe=m.RETURN_TRUSTED_TYPE||!1,Ie=m.FORCE_BODY||!1,ss=m.SANITIZE_DOM!==!1,as=m.SANITIZE_NAMED_PROPS||!1,Nr=m.KEEP_CONTENT!==!1,Qt=m.IN_PLACE||!1,Ce=m.ALLOWED_URI_REGEXP||Ko,_t=m.NAMESPACE||Ye,E=m.CUSTOM_ELEMENT_HANDLING||{},m.CUSTOM_ELEMENT_HANDLING&&fs(m.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(E.tagNameCheck=m.CUSTOM_ELEMENT_HANDLING.tagNameCheck),m.CUSTOM_ELEMENT_HANDLING&&fs(m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(E.attributeNameCheck=m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),m.CUSTOM_ELEMENT_HANDLING&&typeof m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(E.allowCustomizedBuiltInElements=m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),N&&(k=!1),ge&&(_e=!0),St&&(K=X({},Ho),u=[],St.html===!0&&(X(K,Uo),X(u,jo)),St.svg===!0&&(X(K,tr),X(u,or),X(u,mn)),St.svgFilters===!0&&(X(K,nr),X(u,or),X(u,mn)),St.mathMl===!0&&(X(K,rr),X(u,Vo),X(u,mn))),m.ADD_TAGS&&(K===xe&&(K=lt(K)),X(K,m.ADD_TAGS,me)),m.ADD_ATTR&&(u===h&&(u=lt(u)),X(u,m.ADD_ATTR,me)),m.ADD_URI_SAFE_ATTR&&X(Dr,m.ADD_URI_SAFE_ATTR,me),m.FORBID_CONTENTS&&(Ct===ls&&(Ct=lt(Ct)),X(Ct,m.FORBID_CONTENTS,me)),Nr&&(K["#text"]=!0),z&&X(K,["html","head","body"]),K.table&&(X(K,["tbody"]),delete I.tbody),m.TRUSTED_TYPES_POLICY){if(typeof m.TRUSTED_TYPES_POLICY.createHTML!="function")throw Dt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof m.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Dt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');V=m.TRUSTED_TYPES_POLICY,pe=V.createHTML("")}else V===void 0&&(V=Yc(w,o)),V!==null&&typeof pe=="string"&&(pe=V.createHTML(""));Se&&Se(m),At=m}},ps=X({},["mi","mo","mn","ms","mtext"]),ms=X({},["foreignobject","desc","title","annotation-xml"]),Xp=X({},["title","style","font","a","script"]),hs=X({},[...tr,...nr,...Uc]),gs=X({},[...rr,...Hc]),Zp=function(m){let T=q(m);(!T||!T.tagName)&&(T={namespaceURI:_t,tagName:"template"});const U=fn(m.tagName),se=fn(T.tagName);return Ur[m.namespaceURI]?m.namespaceURI===Pn?T.namespaceURI===Ye?U==="svg":T.namespaceURI===In?U==="svg"&&(se==="annotation-xml"||ps[se]):!!hs[U]:m.namespaceURI===In?T.namespaceURI===Ye?U==="math":T.namespaceURI===Pn?U==="math"&&ms[se]:!!gs[U]:m.namespaceURI===Ye?T.namespaceURI===Pn&&!ms[se]||T.namespaceURI===In&&!ps[se]?!1:!gs[U]&&(Xp[U]||!hs[U]):!!(en==="application/xhtml+xml"&&Ur[m.namespaceURI]):!1},ut=function(m){$t(e.removed,{element:m});try{m.parentNode.removeChild(m)}catch{m.remove()}},jr=function(m,T){try{$t(e.removed,{attribute:T.getAttributeNode(m),from:T})}catch{$t(e.removed,{attribute:null,from:T})}if(T.removeAttribute(m),m==="is"&&!u[m])if(_e||ge)try{ut(T)}catch{}else try{T.setAttribute(m,"")}catch{}},ys=function(m){let T=null,U=null;if(Ie)m="<remove></remove>"+m;else{const Ee=Rc(m,/^[\r\n\t ]+/);U=Ee&&Ee[0]}en==="application/xhtml+xml"&&_t===Ye&&(m='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+m+"</body></html>");const se=V?V.createHTML(m):m;if(_t===Ye)try{T=new v().parseFromString(se,en)}catch{}if(!T||!T.documentElement){T=de.createDocument(_t,"template",null);try{T.documentElement.innerHTML=Mr?pe:se}catch{}}const we=T.body||T.documentElement;return m&&U&&we.insertBefore(n.createTextNode(U),we.childNodes[0]||null),_t===Ye?j.call(T,z?"html":"body")[0]:z?T.documentElement:we},bs=function(m){return y.call(m.ownerDocument||m,m,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null)},Qp=function(m){return m instanceof p&&(typeof m.nodeName!="string"||typeof m.textContent!="string"||typeof m.removeChild!="function"||!(m.attributes instanceof f)||typeof m.removeAttribute!="function"||typeof m.setAttribute!="function"||typeof m.namespaceURI!="string"||typeof m.insertBefore!="function"||typeof m.hasChildNodes!="function")},vs=function(m){return typeof c=="function"&&m instanceof c},Xe=function(m,T,U){B[m]&&dn(B[m],se=>{se.call(e,T,U,At)})},ws=function(m){let T=null;if(Xe("beforeSanitizeElements",m,null),Qp(m))return ut(m),!0;const U=me(m.nodeName);if(Xe("uponSanitizeElement",m,{tagName:U,allowedTags:K}),m.hasChildNodes()&&!vs(m.firstElementChild)&&Be(/<[/\w]/g,m.innerHTML)&&Be(/<[/\w]/g,m.textContent))return ut(m),!0;if(!K[U]||I[U]){if(!I[U]&&Ss(U)&&(E.tagNameCheck instanceof RegExp&&Be(E.tagNameCheck,U)||E.tagNameCheck instanceof Function&&E.tagNameCheck(U)))return!1;if(Nr&&!Ct[U]){const se=q(m)||m.parentNode,we=$(m)||m.childNodes;if(we&&se){const Ee=we.length;for(let Pe=Ee-1;Pe>=0;--Pe)se.insertBefore(x(we[Pe],!0),C(m))}}return ut(m),!0}return m instanceof l&&!Zp(m)||(U==="noscript"||U==="noembed"||U==="noframes")&&Be(/<\/no(script|embed|frames)/i,m.innerHTML)?(ut(m),!0):(N&&m.nodeType===3&&(T=m.textContent,dn([O,W,A],se=>{T=Nt(T,se," ")}),m.textContent!==T&&($t(e.removed,{element:m.cloneNode()}),m.textContent=T)),Xe("afterSanitizeElements",m,null),!1)},Es=function(m,T,U){if(ss&&(T==="id"||T==="name")&&(U in n||U in Yp))return!1;if(!(k&&!S[T]&&Be(G,T))){if(!(R&&Be(ie,T))){if(!u[T]||S[T]){if(!(Ss(m)&&(E.tagNameCheck instanceof RegExp&&Be(E.tagNameCheck,m)||E.tagNameCheck instanceof Function&&E.tagNameCheck(m))&&(E.attributeNameCheck instanceof RegExp&&Be(E.attributeNameCheck,T)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(T))||T==="is"&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&Be(E.tagNameCheck,U)||E.tagNameCheck instanceof Function&&E.tagNameCheck(U))))return!1}else if(!Dr[T]){if(!Be(Ce,Nt(U,fe,""))){if(!((T==="src"||T==="xlink:href"||T==="href")&&m!=="script"&&$c(U,"data:")===0&&cs[m])){if(!(P&&!Be(ce,Nt(U,fe,"")))){if(U)return!1}}}}}}return!0},Ss=function(m){return m!=="annotation-xml"&&m.indexOf("-")>0},Cs=function(m){Xe("beforeSanitizeAttributes",m,null);const{attributes:T}=m;if(!T)return;const U={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:u};let se=T.length;for(;se--;){const we=T[se],{name:Ee,namespaceURI:Pe,value:dt}=we,tn=me(Ee);let Te=Ee==="value"?dt:Nc(dt);if(U.attrName=tn,U.attrValue=Te,U.keepAttr=!0,U.forceKeepAttr=void 0,Xe("uponSanitizeAttribute",m,U),Te=U.attrValue,U.forceKeepAttr||(jr(Ee,m),!U.keepAttr))continue;if(!M&&Be(/\/>/i,Te)){jr(Ee,m);continue}N&&dn([O,W,A],As=>{Te=Nt(Te,As," ")});const _s=me(m.nodeName);if(Es(_s,tn,Te)){if(as&&(tn==="id"||tn==="name")&&(jr(Ee,m),Te=Wp+Te),V&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!Pe)switch(w.getAttributeType(_s,tn)){case"TrustedHTML":{Te=V.createHTML(Te);break}case"TrustedScriptURL":{Te=V.createScriptURL(Te);break}}try{Pe?m.setAttributeNS(Pe,Ee,Te):m.setAttribute(Ee,Te),Mo(e.removed)}catch{}}}Xe("afterSanitizeAttributes",m,null)},em=function H(m){let T=null;const U=bs(m);for(Xe("beforeSanitizeShadowDOM",m,null);T=U.nextNode();)Xe("uponSanitizeShadowNode",T,null),!ws(T)&&(T.content instanceof i&&H(T.content),Cs(T));Xe("afterSanitizeShadowDOM",m,null)};return e.sanitize=function(H){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=null,U=null,se=null,we=null;if(Mr=!H,Mr&&(H="<!-->"),typeof H!="string"&&!vs(H))if(typeof H.toString=="function"){if(H=H.toString(),typeof H!="string")throw Dt("dirty is not a string, aborting")}else throw Dt("toString is not a function");if(!e.isSupported)return H;if(Q||Hr(m),e.removed=[],typeof H=="string"&&(Qt=!1),Qt){if(H.nodeName){const dt=me(H.nodeName);if(!K[dt]||I[dt])throw Dt("root node is forbidden and cannot be sanitized in-place")}}else if(H instanceof c)T=ys("<!---->"),U=T.ownerDocument.importNode(H,!0),U.nodeType===1&&U.nodeName==="BODY"||U.nodeName==="HTML"?T=U:T.appendChild(U);else{if(!_e&&!N&&!z&&H.indexOf("<")===-1)return V&&qe?V.createHTML(H):H;if(T=ys(H),!T)return _e?null:qe?pe:""}T&&Ie&&ut(T.firstChild);const Ee=bs(Qt?H:T);for(;se=Ee.nextNode();)ws(se)||(se.content instanceof i&&em(se.content),Cs(se));if(Qt)return H;if(_e){if(ge)for(we=L.call(T.ownerDocument);T.firstChild;)we.appendChild(T.firstChild);else we=T;return(u.shadowroot||u.shadowrootmode)&&(we=F.call(r,we,!0)),we}let Pe=z?T.outerHTML:T.innerHTML;return z&&K["!doctype"]&&T.ownerDocument&&T.ownerDocument.doctype&&T.ownerDocument.doctype.name&&Be(zo,T.ownerDocument.doctype.name)&&(Pe="<!DOCTYPE "+T.ownerDocument.doctype.name+`>
64
+ If you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md`)}),e};function nc(){const t=Y.domCache.get(this),e=Y.innerParams.get(this);if(!e){xo(this);return}t.popup&&J.swalCloseEventFinishedCallback&&(J.swalCloseEventFinishedCallback(),delete J.swalCloseEventFinishedCallback),J.deferDisposalTimer&&(clearTimeout(J.deferDisposalTimer),delete J.deferDisposalTimer),typeof e.didDestroy=="function"&&e.didDestroy(),rc(this)}const rc=t=>{xo(t),delete t.params,delete J.keydownHandler,delete J.keydownTarget,delete J.currentInstance},xo=t=>{t.isAwaitingPromise()?(qn(Y,t),Y.awaitingPromise.set(t,!0)):(qn(Ft,t),qn(Y,t))},qn=(t,e)=>{for(const n in t)t[n].delete(e)},Io=Object.freeze(Object.defineProperty({__proto__:null,_destroy:nc,close:cn,closeModal:cn,closePopup:cn,closeToast:cn,disableButtons:Gl,disableInput:Yl,disableLoading:vo,enableButtons:ql,enableInput:Jl,getInput:Pl,getProgressSteps:Ql,handleAwaitingPromise:Rt,hideLoading:vo,isAwaitingPromise:Hl,rejectPromise:Vl,resetValidationMessage:Zl,showValidationMessage:Xl,update:ec},Symbol.toStringTag,{value:"Module"})),oc=t=>{const e=Y.innerParams.get(t);t.disableButtons(),e.input?Po(t,"confirm"):Jn(t,!0)},ic=t=>{const e=Y.innerParams.get(t);t.disableButtons(),e.returnInputValueOnDeny?Po(t,"deny"):Gn(t,!1)},sc=(t,e)=>{t.disableButtons(),e(ht.cancel)},Po=(t,e)=>{const n=Y.innerParams.get(t);if(!n.input)return ot(`The "input" parameter is needed to be set when using returnInputValueOn${Bn(e)}`);const r=El(t,n);n.inputValidator?ac(t,r,e):t.getInput().checkValidity()?e==="deny"?Gn(t,r):Jn(t,r):(t.enableButtons(),t.showValidationMessage(n.validationMessage))},ac=(t,e,n)=>{const r=Y.innerParams.get(t);t.disableInput(),Promise.resolve().then(()=>kt(r.inputValidator(e,r.validationMessage))).then(i=>{t.enableButtons(),t.enableInput(),i?t.showValidationMessage(i):n==="deny"?Gn(t,e):Jn(t,e)})},Gn=(t,e)=>{const n=Y.innerParams.get(t||void 0);n.showLoaderOnDeny&&gt(et()),n.preDeny?(Y.awaitingPromise.set(t||void 0,!0),Promise.resolve().then(()=>kt(n.preDeny(e,n.validationMessage))).then(o=>{o===!1?(t.hideLoading(),Rt(t)):t.closePopup({isDenied:!0,value:typeof o>"u"?e:o})}).catch(o=>Oo(t||void 0,o))):t.closePopup({isDenied:!0,value:e})},To=(t,e)=>{t.closePopup({isConfirmed:!0,value:e})},Oo=(t,e)=>{t.rejectPromise(e)},Jn=(t,e)=>{const n=Y.innerParams.get(t||void 0);n.showLoaderOnConfirm&&gt(),n.preConfirm?(t.resetValidationMessage(),Y.awaitingPromise.set(t||void 0,!0),Promise.resolve().then(()=>kt(n.preConfirm(e,n.validationMessage))).then(o=>{Le(on())||o===!1?(t.hideLoading(),Rt(t)):To(t,typeof o>"u"?e:o)}).catch(o=>Oo(t||void 0,o))):To(t,e)},lc=(t,e,n)=>{Y.innerParams.get(t).toast?cc(t,e,n):(dc(e),fc(e),pc(t,e,n))},cc=(t,e,n)=>{e.popup.onclick=()=>{const r=Y.innerParams.get(t);r&&(uc(r)||r.timer||r.input)||n(ht.close)}},uc=t=>t.showConfirmButton||t.showDenyButton||t.showCancelButton||t.showCloseButton;let un=!1;const dc=t=>{t.popup.onmousedown=()=>{t.container.onmouseup=function(e){t.container.onmouseup=void 0,e.target===t.container&&(un=!0)}}},fc=t=>{t.container.onmousedown=()=>{t.popup.onmouseup=function(e){t.popup.onmouseup=void 0,(e.target===t.popup||t.popup.contains(e.target))&&(un=!0)}}},pc=(t,e,n)=>{e.container.onclick=r=>{const o=Y.innerParams.get(t);if(un){un=!1;return}r.target===e.container&&nn(o.allowOutsideClick)&&n(ht.backdrop)}},mc=t=>typeof t=="object"&&t.jquery,Lo=t=>t instanceof Element||mc(t),hc=t=>{const e={};return typeof t[0]=="object"&&!Lo(t[0])?Object.assign(e,t[0]):["title","html","icon"].forEach((n,r)=>{const o=t[r];typeof o=="string"||Lo(o)?e[n]=o:o!==void 0&&ot(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof o}`)}),e};function gc(...t){const e=this;return new e(...t)}function yc(t){class e extends this{_main(r,o){return super._main(r,Object.assign({},t,o))}}return e}const bc=()=>J.timeout&&J.timeout.getTimerLeft(),Bo=()=>{if(J.timeout)return ia(),J.timeout.stop()},Fo=()=>{if(J.timeout){const t=J.timeout.start();return Hn(t),t}},vc=()=>{const t=J.timeout;return t&&(t.running?Bo():Fo())},wc=t=>{if(J.timeout){const e=J.timeout.increase(t);return Hn(e,!0),e}},Ec=()=>J.timeout&&J.timeout.isRunning();let Ro=!1;const Yn={};function Sc(t="data-swal-template"){Yn[t]=this,Ro||(document.body.addEventListener("click",Cc),Ro=!0)}const Cc=t=>{for(let e=t.target;e&&e!==document;e=e.parentNode)for(const n in Yn){const r=e.getAttribute(n);if(r){Yn[n].fire({template:r});return}}},_c=Object.freeze(Object.defineProperty({__proto__:null,argsToParams:hc,bindClickHandler:Sc,clickCancel:Ll,clickConfirm:wo,clickDeny:Ol,enableLoading:gt,fire:gc,getActions:Tt,getCancelButton:it,getCloseButton:Nn,getConfirmButton:Ue,getContainer:ye,getDenyButton:et,getFocusableElements:Dn,getFooter:eo,getHtmlContainer:rn,getIcon:Pt,getImage:Zr,getInputLabel:ea,getLoader:pt,getPopup:oe,getTimerLeft:bc,getTimerProgressBar:sn,getTitle:Xr,getValidationMessage:on,increaseTimer:wc,isDeprecatedParameter:$n,isLoading:na,isTimerRunning:Ec,isUpdatableParameter:Jr,isValidParameter:Gr,isVisible:Tl,mixin:yc,resumeTimer:Fo,showLoading:gt,stopTimer:Bo,toggleTimer:vc},Symbol.toStringTag,{value:"Module"}));let Xn;class yt{constructor(...e){if(typeof window>"u")return;Xn=this;const n=Object.freeze(this.constructor.argsToParams(e));Object.defineProperties(this,{params:{value:n,writable:!1,enumerable:!0,configurable:!0}});const r=this._main(this.params);Y.promise.set(this,r)}_main(e,n={}){Zs(Object.assign({},n,e)),J.currentInstance&&(J.currentInstance._destroy(),Mn()&&po()),J.currentInstance=this;const r=kc(e,n);ol(r),Object.freeze(r),J.timeout&&(J.timeout.stop(),delete J.timeout),clearTimeout(J.restoreFocusTimeout);const o=xc(this);return fo(this,r),Y.innerParams.set(this,r),Ac(this,o,r)}then(e){return Y.promise.get(this).then(e)}finally(e){return Y.promise.get(this).finally(e)}}const Ac=(t,e,n)=>new Promise((r,o)=>{const i=s=>{t.closePopup({isDismissed:!0,dismiss:s})};Ft.swalPromiseResolve.set(t,r),Ft.swalPromiseReject.set(t,o),e.confirmButton.onclick=()=>oc(t),e.denyButton.onclick=()=>ic(t),e.cancelButton.onclick=()=>sc(t,i),e.closeButton.onclick=()=>i(ht.close),lc(t,e,i),Bl(t,J,n,i),wl(t,n),hl(n),Ic(J,n,i),Pc(e,n),setTimeout(()=>{e.container.scrollTop=0})}),kc=(t,e)=>{const n=Ga(t),r=Object.assign({},ft,e,n,t);return r.showClass=Object.assign({},ft.showClass,r.showClass),r.hideClass=Object.assign({},ft.hideClass,r.hideClass),r},xc=t=>{const e={popup:oe(),container:ye(),actions:Tt(),confirmButton:Ue(),denyButton:et(),cancelButton:it(),loader:pt(),closeButton:Nn(),validationMessage:on(),progressSteps:Qr()};return Y.domCache.set(t,e),e},Ic=(t,e,n)=>{const r=sn();ve(r),e.timer&&(t.timeout=new il(()=>{n("timer"),delete t.timeout},e.timer),e.timerProgressBar&&(he(r),$e(r,e,"timerProgressBar"),setTimeout(()=>{t.timeout&&t.timeout.running&&Hn(e.timer)})))},Pc=(t,e)=>{if(!e.toast){if(!nn(e.allowEnterKey))return Oc();Tc(t,e)||Wn(e,-1,1)}},Tc=(t,e)=>e.focusDeny&&Le(t.denyButton)?(t.denyButton.focus(),!0):e.focusCancel&&Le(t.cancelButton)?(t.cancelButton.focus(),!0):e.focusConfirm&&Le(t.confirmButton)?(t.confirmButton.focus(),!0):!1,Oc=()=>{document.activeElement instanceof HTMLElement&&typeof document.activeElement.blur=="function"&&document.activeElement.blur()};Object.assign(yt.prototype,Io),Object.assign(yt,_c),Object.keys(Io).forEach(t=>{yt[t]=function(...e){if(Xn)return Xn[t](...e)}}),yt.DismissReason=ht,yt.version="11.4.8";const bt=yt;bt.default=bt;/*! @license DOMPurify 3.0.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.9/LICENSE */const{entries:$o,setPrototypeOf:No,isFrozen:Lc,getPrototypeOf:Bc,getOwnPropertyDescriptor:Fc}=Object;let{freeze:Se,seal:He,create:Do}=Object,{apply:Zn,construct:Qn}=typeof Reflect<"u"&&Reflect;Se||(Se=function(e){return e}),He||(He=function(e){return e}),Zn||(Zn=function(e,n,r){return e.apply(n,r)}),Qn||(Qn=function(e,n){return new e(...n)});const dn=Fe(Array.prototype.forEach),Mo=Fe(Array.prototype.pop),$t=Fe(Array.prototype.push),fn=Fe(String.prototype.toLowerCase),er=Fe(String.prototype.toString),Rc=Fe(String.prototype.match),Nt=Fe(String.prototype.replace),$c=Fe(String.prototype.indexOf),Nc=Fe(String.prototype.trim),je=Fe(Object.prototype.hasOwnProperty),Be=Fe(RegExp.prototype.test),Dt=Dc(TypeError);function Fe(t){return function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return Zn(t,e,r)}}function Dc(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Qn(t,n)}}function X(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:fn;No&&No(t,null);let r=e.length;for(;r--;){let o=e[r];if(typeof o=="string"){const i=n(o);i!==o&&(Lc(e)||(e[r]=i),o=i)}t[o]=!0}return t}function Mc(t){for(let e=0;e<t.length;e++)je(t,e)||(t[e]=null);return t}function lt(t){const e=Do(null);for(const[n,r]of $o(t))je(t,n)&&(Array.isArray(r)?e[n]=Mc(r):r&&typeof r=="object"&&r.constructor===Object?e[n]=lt(r):e[n]=r);return e}function pn(t,e){for(;t!==null;){const r=Fc(t,e);if(r){if(r.get)return Fe(r.get);if(typeof r.value=="function")return Fe(r.value)}t=Bc(t)}function n(){return null}return n}const Uo=Se(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),tr=Se(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),nr=Se(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Uc=Se(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),rr=Se(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Hc=Se(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ho=Se(["#text"]),jo=Se(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),or=Se(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Vo=Se(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),mn=Se(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),jc=He(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Vc=He(/<%[\w\W]*|[\w\W]*%>/gm),Kc=He(/\${[\w\W]*}/gm),zc=He(/^data-[\-\w.\u00B7-\uFFFF]/),Wc=He(/^aria-[\-\w]+$/),Ko=He(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),qc=He(/^(?:\w+script|data):/i),Gc=He(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zo=He(/^html$/i);var Wo=Object.freeze({__proto__:null,MUSTACHE_EXPR:jc,ERB_EXPR:Vc,TMPLIT_EXPR:Kc,DATA_ATTR:zc,ARIA_ATTR:Wc,IS_ALLOWED_URI:Ko,IS_SCRIPT_OR_DATA:qc,ATTR_WHITESPACE:Gc,DOCTYPE_NAME:zo});const Jc=function(){return typeof window>"u"?null:window},Yc=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let r=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(r=n.getAttribute(o));const i="dompurify"+(r?"#"+r:"");try{return e.createPolicy(i,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function qo(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Jc();const e=H=>qo(H);if(e.version="3.0.9",e.removed=[],!t||!t.document||t.document.nodeType!==9)return e.isSupported=!1,e;let{document:n}=t;const r=n,o=r.currentScript,{DocumentFragment:i,HTMLTemplateElement:s,Node:c,Element:l,NodeFilter:d,NamedNodeMap:f=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:p,DOMParser:v,trustedTypes:w}=t,_=l.prototype,x=pn(_,"cloneNode"),C=pn(_,"nextSibling"),$=pn(_,"childNodes"),q=pn(_,"parentNode");if(typeof s=="function"){const H=n.createElement("template");H.content&&H.content.ownerDocument&&(n=H.content.ownerDocument)}let V,pe="";const{implementation:de,createNodeIterator:y,createDocumentFragment:L,getElementsByTagName:j}=n,{importNode:F}=r;let B={};e.isSupported=typeof $o=="function"&&typeof q=="function"&&de&&de.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:O,ERB_EXPR:W,TMPLIT_EXPR:A,DATA_ATTR:G,ARIA_ATTR:ie,IS_SCRIPT_OR_DATA:ce,ATTR_WHITESPACE:fe}=Wo;let{IS_ALLOWED_URI:Ce}=Wo,K=null;const xe=X({},[...Uo,...tr,...nr,...rr,...Ho]);let u=null;const h=X({},[...jo,...or,...Vo,...mn]);let E=Object.seal(Do(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),I=null,S=null,R=!0,k=!0,P=!1,M=!0,N=!1,z=!1,Q=!1,Ie=!1,_e=!1,ge=!1,qe=!1,ss=!0,as=!1;const qp="user-content-";let Nr=!0,Qt=!1,St={},Ct=null;const ls=X({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let cs=null;const us=X({},["audio","video","img","source","image","track"]);let Dr=null;const ds=X({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),In="http://www.w3.org/1998/Math/MathML",Pn="http://www.w3.org/2000/svg",Ye="http://www.w3.org/1999/xhtml";let _t=Ye,Mr=!1,Ur=null;const Gp=X({},[In,Pn,Ye],er);let en=null;const Jp=["application/xhtml+xml","text/html"],Yp="text/html";let me=null,At=null;const Xp=n.createElement("form"),fs=function(m){return m instanceof RegExp||m instanceof Function},Hr=function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(At&&At===m)){if((!m||typeof m!="object")&&(m={}),m=lt(m),en=Jp.indexOf(m.PARSER_MEDIA_TYPE)===-1?Yp:m.PARSER_MEDIA_TYPE,me=en==="application/xhtml+xml"?er:fn,K=je(m,"ALLOWED_TAGS")?X({},m.ALLOWED_TAGS,me):xe,u=je(m,"ALLOWED_ATTR")?X({},m.ALLOWED_ATTR,me):h,Ur=je(m,"ALLOWED_NAMESPACES")?X({},m.ALLOWED_NAMESPACES,er):Gp,Dr=je(m,"ADD_URI_SAFE_ATTR")?X(lt(ds),m.ADD_URI_SAFE_ATTR,me):ds,cs=je(m,"ADD_DATA_URI_TAGS")?X(lt(us),m.ADD_DATA_URI_TAGS,me):us,Ct=je(m,"FORBID_CONTENTS")?X({},m.FORBID_CONTENTS,me):ls,I=je(m,"FORBID_TAGS")?X({},m.FORBID_TAGS,me):{},S=je(m,"FORBID_ATTR")?X({},m.FORBID_ATTR,me):{},St=je(m,"USE_PROFILES")?m.USE_PROFILES:!1,R=m.ALLOW_ARIA_ATTR!==!1,k=m.ALLOW_DATA_ATTR!==!1,P=m.ALLOW_UNKNOWN_PROTOCOLS||!1,M=m.ALLOW_SELF_CLOSE_IN_ATTR!==!1,N=m.SAFE_FOR_TEMPLATES||!1,z=m.WHOLE_DOCUMENT||!1,_e=m.RETURN_DOM||!1,ge=m.RETURN_DOM_FRAGMENT||!1,qe=m.RETURN_TRUSTED_TYPE||!1,Ie=m.FORCE_BODY||!1,ss=m.SANITIZE_DOM!==!1,as=m.SANITIZE_NAMED_PROPS||!1,Nr=m.KEEP_CONTENT!==!1,Qt=m.IN_PLACE||!1,Ce=m.ALLOWED_URI_REGEXP||Ko,_t=m.NAMESPACE||Ye,E=m.CUSTOM_ELEMENT_HANDLING||{},m.CUSTOM_ELEMENT_HANDLING&&fs(m.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(E.tagNameCheck=m.CUSTOM_ELEMENT_HANDLING.tagNameCheck),m.CUSTOM_ELEMENT_HANDLING&&fs(m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(E.attributeNameCheck=m.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),m.CUSTOM_ELEMENT_HANDLING&&typeof m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(E.allowCustomizedBuiltInElements=m.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),N&&(k=!1),ge&&(_e=!0),St&&(K=X({},Ho),u=[],St.html===!0&&(X(K,Uo),X(u,jo)),St.svg===!0&&(X(K,tr),X(u,or),X(u,mn)),St.svgFilters===!0&&(X(K,nr),X(u,or),X(u,mn)),St.mathMl===!0&&(X(K,rr),X(u,Vo),X(u,mn))),m.ADD_TAGS&&(K===xe&&(K=lt(K)),X(K,m.ADD_TAGS,me)),m.ADD_ATTR&&(u===h&&(u=lt(u)),X(u,m.ADD_ATTR,me)),m.ADD_URI_SAFE_ATTR&&X(Dr,m.ADD_URI_SAFE_ATTR,me),m.FORBID_CONTENTS&&(Ct===ls&&(Ct=lt(Ct)),X(Ct,m.FORBID_CONTENTS,me)),Nr&&(K["#text"]=!0),z&&X(K,["html","head","body"]),K.table&&(X(K,["tbody"]),delete I.tbody),m.TRUSTED_TYPES_POLICY){if(typeof m.TRUSTED_TYPES_POLICY.createHTML!="function")throw Dt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof m.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Dt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');V=m.TRUSTED_TYPES_POLICY,pe=V.createHTML("")}else V===void 0&&(V=Yc(w,o)),V!==null&&typeof pe=="string"&&(pe=V.createHTML(""));Se&&Se(m),At=m}},ps=X({},["mi","mo","mn","ms","mtext"]),ms=X({},["foreignobject","desc","title","annotation-xml"]),Zp=X({},["title","style","font","a","script"]),hs=X({},[...tr,...nr,...Uc]),gs=X({},[...rr,...Hc]),Qp=function(m){let T=q(m);(!T||!T.tagName)&&(T={namespaceURI:_t,tagName:"template"});const U=fn(m.tagName),se=fn(T.tagName);return Ur[m.namespaceURI]?m.namespaceURI===Pn?T.namespaceURI===Ye?U==="svg":T.namespaceURI===In?U==="svg"&&(se==="annotation-xml"||ps[se]):!!hs[U]:m.namespaceURI===In?T.namespaceURI===Ye?U==="math":T.namespaceURI===Pn?U==="math"&&ms[se]:!!gs[U]:m.namespaceURI===Ye?T.namespaceURI===Pn&&!ms[se]||T.namespaceURI===In&&!ps[se]?!1:!gs[U]&&(Zp[U]||!hs[U]):!!(en==="application/xhtml+xml"&&Ur[m.namespaceURI]):!1},ut=function(m){$t(e.removed,{element:m});try{m.parentNode.removeChild(m)}catch{m.remove()}},jr=function(m,T){try{$t(e.removed,{attribute:T.getAttributeNode(m),from:T})}catch{$t(e.removed,{attribute:null,from:T})}if(T.removeAttribute(m),m==="is"&&!u[m])if(_e||ge)try{ut(T)}catch{}else try{T.setAttribute(m,"")}catch{}},ys=function(m){let T=null,U=null;if(Ie)m="<remove></remove>"+m;else{const Ee=Rc(m,/^[\r\n\t ]+/);U=Ee&&Ee[0]}en==="application/xhtml+xml"&&_t===Ye&&(m='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+m+"</body></html>");const se=V?V.createHTML(m):m;if(_t===Ye)try{T=new v().parseFromString(se,en)}catch{}if(!T||!T.documentElement){T=de.createDocument(_t,"template",null);try{T.documentElement.innerHTML=Mr?pe:se}catch{}}const we=T.body||T.documentElement;return m&&U&&we.insertBefore(n.createTextNode(U),we.childNodes[0]||null),_t===Ye?j.call(T,z?"html":"body")[0]:z?T.documentElement:we},bs=function(m){return y.call(m.ownerDocument||m,m,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null)},em=function(m){return m instanceof p&&(typeof m.nodeName!="string"||typeof m.textContent!="string"||typeof m.removeChild!="function"||!(m.attributes instanceof f)||typeof m.removeAttribute!="function"||typeof m.setAttribute!="function"||typeof m.namespaceURI!="string"||typeof m.insertBefore!="function"||typeof m.hasChildNodes!="function")},vs=function(m){return typeof c=="function"&&m instanceof c},Xe=function(m,T,U){B[m]&&dn(B[m],se=>{se.call(e,T,U,At)})},ws=function(m){let T=null;if(Xe("beforeSanitizeElements",m,null),em(m))return ut(m),!0;const U=me(m.nodeName);if(Xe("uponSanitizeElement",m,{tagName:U,allowedTags:K}),m.hasChildNodes()&&!vs(m.firstElementChild)&&Be(/<[/\w]/g,m.innerHTML)&&Be(/<[/\w]/g,m.textContent))return ut(m),!0;if(!K[U]||I[U]){if(!I[U]&&Ss(U)&&(E.tagNameCheck instanceof RegExp&&Be(E.tagNameCheck,U)||E.tagNameCheck instanceof Function&&E.tagNameCheck(U)))return!1;if(Nr&&!Ct[U]){const se=q(m)||m.parentNode,we=$(m)||m.childNodes;if(we&&se){const Ee=we.length;for(let Pe=Ee-1;Pe>=0;--Pe)se.insertBefore(x(we[Pe],!0),C(m))}}return ut(m),!0}return m instanceof l&&!Qp(m)||(U==="noscript"||U==="noembed"||U==="noframes")&&Be(/<\/no(script|embed|frames)/i,m.innerHTML)?(ut(m),!0):(N&&m.nodeType===3&&(T=m.textContent,dn([O,W,A],se=>{T=Nt(T,se," ")}),m.textContent!==T&&($t(e.removed,{element:m.cloneNode()}),m.textContent=T)),Xe("afterSanitizeElements",m,null),!1)},Es=function(m,T,U){if(ss&&(T==="id"||T==="name")&&(U in n||U in Xp))return!1;if(!(k&&!S[T]&&Be(G,T))){if(!(R&&Be(ie,T))){if(!u[T]||S[T]){if(!(Ss(m)&&(E.tagNameCheck instanceof RegExp&&Be(E.tagNameCheck,m)||E.tagNameCheck instanceof Function&&E.tagNameCheck(m))&&(E.attributeNameCheck instanceof RegExp&&Be(E.attributeNameCheck,T)||E.attributeNameCheck instanceof Function&&E.attributeNameCheck(T))||T==="is"&&E.allowCustomizedBuiltInElements&&(E.tagNameCheck instanceof RegExp&&Be(E.tagNameCheck,U)||E.tagNameCheck instanceof Function&&E.tagNameCheck(U))))return!1}else if(!Dr[T]){if(!Be(Ce,Nt(U,fe,""))){if(!((T==="src"||T==="xlink:href"||T==="href")&&m!=="script"&&$c(U,"data:")===0&&cs[m])){if(!(P&&!Be(ce,Nt(U,fe,"")))){if(U)return!1}}}}}}return!0},Ss=function(m){return m!=="annotation-xml"&&m.indexOf("-")>0},Cs=function(m){Xe("beforeSanitizeAttributes",m,null);const{attributes:T}=m;if(!T)return;const U={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:u};let se=T.length;for(;se--;){const we=T[se],{name:Ee,namespaceURI:Pe,value:dt}=we,tn=me(Ee);let Te=Ee==="value"?dt:Nc(dt);if(U.attrName=tn,U.attrValue=Te,U.keepAttr=!0,U.forceKeepAttr=void 0,Xe("uponSanitizeAttribute",m,U),Te=U.attrValue,U.forceKeepAttr||(jr(Ee,m),!U.keepAttr))continue;if(!M&&Be(/\/>/i,Te)){jr(Ee,m);continue}N&&dn([O,W,A],As=>{Te=Nt(Te,As," ")});const _s=me(m.nodeName);if(Es(_s,tn,Te)){if(as&&(tn==="id"||tn==="name")&&(jr(Ee,m),Te=qp+Te),V&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!Pe)switch(w.getAttributeType(_s,tn)){case"TrustedHTML":{Te=V.createHTML(Te);break}case"TrustedScriptURL":{Te=V.createScriptURL(Te);break}}try{Pe?m.setAttributeNS(Pe,Ee,Te):m.setAttribute(Ee,Te),Mo(e.removed)}catch{}}}Xe("afterSanitizeAttributes",m,null)},tm=function H(m){let T=null;const U=bs(m);for(Xe("beforeSanitizeShadowDOM",m,null);T=U.nextNode();)Xe("uponSanitizeShadowNode",T,null),!ws(T)&&(T.content instanceof i&&H(T.content),Cs(T));Xe("afterSanitizeShadowDOM",m,null)};return e.sanitize=function(H){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=null,U=null,se=null,we=null;if(Mr=!H,Mr&&(H="<!-->"),typeof H!="string"&&!vs(H))if(typeof H.toString=="function"){if(H=H.toString(),typeof H!="string")throw Dt("dirty is not a string, aborting")}else throw Dt("toString is not a function");if(!e.isSupported)return H;if(Q||Hr(m),e.removed=[],typeof H=="string"&&(Qt=!1),Qt){if(H.nodeName){const dt=me(H.nodeName);if(!K[dt]||I[dt])throw Dt("root node is forbidden and cannot be sanitized in-place")}}else if(H instanceof c)T=ys("<!---->"),U=T.ownerDocument.importNode(H,!0),U.nodeType===1&&U.nodeName==="BODY"||U.nodeName==="HTML"?T=U:T.appendChild(U);else{if(!_e&&!N&&!z&&H.indexOf("<")===-1)return V&&qe?V.createHTML(H):H;if(T=ys(H),!T)return _e?null:qe?pe:""}T&&Ie&&ut(T.firstChild);const Ee=bs(Qt?H:T);for(;se=Ee.nextNode();)ws(se)||(se.content instanceof i&&tm(se.content),Cs(se));if(Qt)return H;if(_e){if(ge)for(we=L.call(T.ownerDocument);T.firstChild;)we.appendChild(T.firstChild);else we=T;return(u.shadowroot||u.shadowrootmode)&&(we=F.call(r,we,!0)),we}let Pe=z?T.outerHTML:T.innerHTML;return z&&K["!doctype"]&&T.ownerDocument&&T.ownerDocument.doctype&&T.ownerDocument.doctype.name&&Be(zo,T.ownerDocument.doctype.name)&&(Pe="<!DOCTYPE "+T.ownerDocument.doctype.name+`>
65
65
  `+Pe),N&&dn([O,W,A],dt=>{Pe=Nt(Pe,dt," ")}),V&&qe?V.createHTML(Pe):Pe},e.setConfig=function(){let H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hr(H),Q=!0},e.clearConfig=function(){At=null,Q=!1},e.isValidAttribute=function(H,m,T){At||Hr({});const U=me(H),se=me(m);return Es(U,se,T)},e.addHook=function(H,m){typeof m=="function"&&(B[H]=B[H]||[],$t(B[H],m))},e.removeHook=function(H){if(B[H])return Mo(B[H])},e.removeHooks=function(H){B[H]&&(B[H]=[])},e.removeAllHooks=function(){B={}},e}var Go=qo();class Jo{get IsVisible(){return bt.isVisible()}}class Xc extends Jo{constructor(){super()}async CreateAlertAsync(e){let n="info",r,o;return typeof e=="string"||Array.isArray(e)?r=Array.isArray(e)?e.join("<br />"):e:(n=e.icon??"info",o=e.title??"",r=Array.isArray(e.text)?e.text.join("<br />"):e.text),new Promise(i=>{bt.fire({allowEscapeKey:!1,allowOutsideClick:!1,icon:n,title:o,html:`<div style="max-height: 50vh; overflow: auto">${Go.sanitize(r)}</div>`}).then(()=>i(!0))})}async AlertAsync(e){return this.CreateAlertAsync({text:e,icon:"info"})}async AlertErrorAsync(e){return this.CreateAlertAsync({text:e,icon:"error"})}async AlertSuccessAsync(e){return this.CreateAlertAsync({text:e,icon:"success"})}}class Zc extends Jo{async CreateConfirmAsync(e){return new Promise(n=>{bt.fire({showCancelButton:!0,allowEscapeKey:!1,allowOutsideClick:!1,icon:"question",title:e.title,html:Go.sanitize(e.text),confirmButtonText:e.confirmLabel??"confirmar",cancelButtonText:e.rejectLabel??"cancelar"}).then(r=>{n(r.isConfirmed===!0)})})}async ConfirmAsync(e){return this.CreateConfirmAsync({text:e})}}const Qc=()=>new Xc,Yo=()=>new Zc,eu=["data-cor"],tu={class:"sf-p-4"},nu=a.defineComponent({__name:"HeaderAvatar",emits:["logout"],setup(t,{emit:e}){const n=Yo(),r=a.ref("?"),o=e;async function i(){await n.CreateConfirmAsync({text:"Você deseja sair da conta?",confirmLabel:"sair"})&&o("logout")}function s(){const d=sessionStorage.getItem("name");let f="?";if(!d)return f;const p=d.split(" ").filter(w=>w.length>0).map(w=>w[0].toUpperCase()),v=Math.min(2,p.length);return f=p.slice(0,v).join(""),f.length>0?f:"?"}const c=a.computed(()=>{const d=r.value[0],f=d==="?"?0:(d.charCodeAt(0)-64)%19;return Math.max(f,0)}),l=a.ref(!1);return a.onMounted(()=>{r.value=s()}),(d,f)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createElementVNode("div",{id:"sf-header-avatar","data-cor":c.value,onClick:f[0]||(f[0]=p=>l.value=!0)},a.toDisplayString(r.value),9,eu),a.createVNode(Kr,{visible:l.value,"onUpdate:visible":f[1]||(f[1]=p=>l.value=p),position:"right"},{title:a.withCtx(()=>[a.createTextVNode("Minha conta")]),default:a.withCtx(()=>[a.createElementVNode("div",tu,[a.createVNode(zr,{color:"error",onClick:i},{default:a.withCtx(()=>[a.createTextVNode("Sair")]),_:1})])]),_:1},8,["visible"])],64))}}),ru={},ou={xmlns:"http://www.w3.org/2000/svg",height:"48",viewBox:"0 -960 960 960",width:"48",class:"sf-svg-icon"},iu=[a.createElementVNode("path",{d:"m307.231-83.463-54.999-55.23 343.923-343.922-343.923-343.539 54.999-54.614 398.153 398.153L307.231-83.462Z"},null,-1)];function su(t,e){return a.openBlock(),a.createElementBlock("svg",ou,iu)}const au=On(ru,[["render",su]]);class lu{get storedTheme(){return localStorage.getItem("color-scheme")}get IsDark(){return document.documentElement.classList.contains("dark")}Toggle(){this.IsDark?this.EnableLightMode():this.EnableDarkMode()}EnableDarkMode(){document.documentElement.classList.add("dark"),document.documentElement.classList.remove("light"),localStorage.setItem("color-scheme","dark")}EnableLightMode(){document.documentElement.classList.remove("dark"),document.documentElement.classList.add("light"),localStorage.setItem("color-scheme","light")}SetInitialTheme(){if(this.storedTheme==="light")return this.EnableLightMode();if(this.storedTheme==="dark")return this.EnableDarkMode();if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches)return this.EnableDarkMode();this.EnableLightMode()}}const ir=new lu,cu=[a.createStaticVNode('<svg xmlns="http://www.w3.org/2000/svg" width="472.39" height="472.39" viewBox="0 0 472.39 472.39"><g class="toggle-sun"><path d="M403.21,167V69.18H305.38L236.2,0,167,69.18H69.18V167L0,236.2l69.18,69.18v97.83H167l69.18,69.18,69.18-69.18h97.83V305.38l69.18-69.18Zm-167,198.17a129,129,0,1,1,129-129A129,129,0,0,1,236.2,365.19Z"></path></g><g class="toggle-circle"><circle class="cls-1" cx="236.2" cy="236.2" r="103.78"></circle></g></svg>',1)],uu=a.defineComponent({__name:"ThemeToggle",setup(t){return(e,n)=>(a.openBlock(),a.createElementBlock("button",{id:"sf-theme-toggle",onClick:n[0]||(n[0]=(...r)=>a.unref(ir).Toggle&&a.unref(ir).Toggle(...r))},cu))}}),du={id:"sf-layout"},fu=a.createElementVNode("div",{class:"sf-layout-menu-toggler-logo"},null,-1),pu={class:"title"},mu={class:"sf-layout-nav-content"},hu=a.createElementVNode("div",{class:"sf-layout-nav-footer"},[a.createElementVNode("div",{class:"sf-layout-nav-footer-logo"})],-1),gu=a.createElementVNode("section",{id:"sf-layout-page-title"},null,-1),yu={id:"sf-layout-content"},bu=a.defineComponent({__name:"Layout",emits:["mounted","logout"],setup(t,{emit:e}){const n=Tn(),r=e;return a.onMounted(()=>{r("mounted")}),(o,i)=>(a.openBlock(),a.createElementBlock("div",du,[a.createElementVNode("header",null,[a.createElementVNode("div",{class:a.normalizeClass(["sf-layout-menu-toggler",{invert:a.unref(n).IsVisible}]),onClick:i[0]||(i[0]=s=>a.unref(n).Toggle())},[fu,a.createVNode(au)],2),a.createElementVNode("div",pu,[a.renderSlot(o.$slots,"title")]),a.renderSlot(o.$slots,"action"),a.createVNode(Ln,{text:"alternar tema"},{default:a.withCtx(()=>[a.createVNode(uu)]),_:1}),a.createVNode(nu,{onLogout:i[1]||(i[1]=s=>r("logout"))})]),a.createElementVNode("nav",{class:a.normalizeClass({visible:a.unref(n).IsVisible})},[a.createElementVNode("div",mu,[a.renderSlot(o.$slots,"menu")]),hu],2),a.createElementVNode("main",{class:a.normalizeClass({"menu-visible":a.unref(n).IsVisible})},[gu,a.createElementVNode("section",yu,[a.renderSlot(o.$slots,"content")])],2)]))}}),vu=["href","data-active","onClick"],wu={class:"sf-navmenulink-text"},Eu=a.defineComponent({__name:"NavMenuLink",props:{href:{},text:{},icon:{},iconFilled:{type:Boolean},exact:{type:Boolean}},setup(t){const e=t,n=Tn();function r(o,i){o.preventDefault();const c=o.target.closest(".sf-layout-nav-content");i(),c&&c.clientWidth+10>document.body.clientWidth&&n.Close()}return(o,i)=>{const s=a.resolveComponent("router-link");return a.openBlock(),a.createBlock(s,{to:e.href,custom:""},{default:a.withCtx(({href:c,navigate:l,isExactActive:d,isActive:f})=>[a.createElementVNode("a",{class:"sf-navmenulink",href:c,"data-active":e.exact?d:f,onClick:p=>r(p,l)},[e.icon?(a.openBlock(),a.createBlock(Qe,{key:0,icon:e.icon,filled:e.iconFilled,"button-props":{tabindex:-1}},null,8,["icon","filled"])):a.createCommentVNode("",!0),a.createElementVNode("span",wu,a.toDisplayString(e.text),1)],8,vu)]),_:1},8,["to"])}}}),Su=a.defineComponent({__name:"ScrollToTop",setup(t){const e=a.ref(!1),n=`--${+new Date}`;let r=null;function o(){r==null||r.scrollTo(0,0)}return a.onMounted(()=>{var i;r=((i=document.getElementById(n))==null?void 0:i.parentElement)??null,r&&r.addEventListener("scroll",function(){e.value=this.scrollTop-this.clientHeight>0})}),(i,s)=>(a.openBlock(),a.createElementBlock("button",{id:n,class:a.normalizeClass(["sf-scrollToTop",{"sf-scrollToTop-visible":e.value}]),onClick:o},null,2))}}),Cu=a.defineComponent({__name:"Content",props:{class:{},style:{},disableBodyPadding:{type:Boolean},disableHeaderPadding:{type:Boolean},disableFooterPadding:{type:Boolean}},setup(t){const e=t;function n(){return new Ze("sf-content").AddClass(e.class,!!e.class).Build()}function r(){return new Ze("sf-content-body").AddClass("sf-content-no-padding",e.disableBodyPadding).Build()}function o(){return new Ze("sf-content-header").AddClass("sf-content-no-padding",e.disableHeaderPadding).Build()}function i(){return new Ze("sf-content-footer").AddClass("sf-content-no-padding",e.disableFooterPadding).Build()}return(s,c)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(n()),style:a.normalizeStyle(e.style)},[a.createElementVNode("div",{class:a.normalizeClass(o())},[a.renderSlot(s.$slots,"header")],2),a.createElementVNode("div",{class:a.normalizeClass(r())},[a.renderSlot(s.$slots,"default"),a.createVNode(Su)],2),a.createElementVNode("div",{class:a.normalizeClass(i())},[a.renderSlot(s.$slots,"footer")],2)],6))}}),_u={class:"sf-tab-navigation"},Au=[a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[a.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 19.5L8.25 12l7.5-7.5"})],-1)],ku=["data-active"],xu=["href","onClick"],Iu=[a.createElementVNode("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor",class:"w-6 h-6"},[a.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})],-1)],Pu=a.defineComponent({__name:"TabNavigation",props:{tabs:{}},setup(t){const e=t,n=a.ref(null),r=new ResizeObserver(l=>{c()}),o=a.ref(!1),i=a.ref(!1);function s(l=!1){const d=n.value.clientWidth;n.value.scrollLeft+=l?-d:d}function c(){const l=n.value.scrollWidth-n.value.clientWidth;o.value=n.value.scrollLeft>10,i.value=n.value.scrollLeft<l-10}return a.onMounted(()=>{n.value.addEventListener("scroll",c),r.observe(n.value)}),a.onBeforeUnmount(()=>{var l;try{(l=n.value)==null||l.removeEventListener("scroll",c),r.unobserve(n.value),r.disconnect()}catch{}}),(l,d)=>{const f=a.resolveComponent("RouterLink");return a.openBlock(),a.createElementBlock("div",_u,[a.createElementVNode("div",{class:a.normalizeClass(["left-arrow",{active:o.value}]),onClick:d[0]||(d[0]=p=>s(!0))},Au,2),a.createElementVNode("ul",{ref_key:"trackerContainer",ref:n},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.tabs,p=>(a.openBlock(),a.createBlock(f,{to:p.route,custom:!0},{default:a.withCtx(({navigate:v,isActive:w})=>[a.createElementVNode("li",{"data-active":w},[a.renderSlot(l.$slots,"item",{item:p,navigate:v,isActive:w},()=>[a.createElementVNode("a",{href:p.route,class:a.normalizeClass({active:w}),onClick:v},a.toDisplayString(p.text),11,xu)])],8,ku)]),_:2},1032,["to"]))),256))],512),a.createElementVNode("div",{class:a.normalizeClass(["right-arrow",{active:i.value}]),onClick:d[1]||(d[1]=p=>s())},Iu,2)])}}}),Tu=["data-icon"],Ou=a.defineComponent({__name:"Message",props:{color:{default:"info"},class:{},style:{},icon:{}},setup(t){const e=t,n=a.computed(()=>{if(e.icon)return e.icon;switch(e.color){case"error":return"cancel";case"info":return"info";case"warn":return"warning";case"success":return"check";case"help":return"help";default:return null}}),r=a.computed(()=>new Ze("sf-message").AddClass("sf-message-error",e.color==="error").AddClass("sf-message-info",e.color==="info").AddClass("sf-message-warning",e.color==="warn").AddClass("sf-message-success",e.color==="success").AddClass("sf-message-help",e.color==="help").AddClass("sf-message-primary",e.color==="primary").AddClass("sf-message-secondary",e.color==="secondary").AddClass(e.class).Build());return(o,i)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(r.value),"data-icon":n.value},[a.renderSlot(o.$slots,"default")],10,Tu))}});function sr(t,e){var n=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=lr(t))||e&&t&&typeof t.length=="number"){n&&(t=n);var r=0,o=function(){};return{s:o,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(d){throw d},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
66
66
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,c;return{s:function(){n=n.call(t)},n:function(){var d=n.next();return i=d.done,d},e:function(d){s=!0,c=d},f:function(){try{!i&&n.return!=null&&n.return()}finally{if(s)throw c}}}}function Lu(t){return Ru(t)||Fu(t)||lr(t)||Bu()}function Bu(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
67
67
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fu(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ru(t){if(Array.isArray(t))return cr(t)}function Mt(t){"@babel/helpers - typeof";return Mt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Mt(t)}function ar(t,e){return Du(t)||Nu(t,e)||lr(t,e)||$u()}function $u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
@@ -152,9 +152,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
152
152
  - It is not possible to retrieve tokens without redirecting to the Keycloak server (a.k.a. no support for silent authentication).
153
153
  - It is not possible to automatically detect changes to the session status (such as the user logging out in another tab).
154
154
 
155
- For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_modern_browsers`),i.enable=!1,e.silentCheckSsoFallback&&(e.silentCheckSsoRedirectUri=!1)),document.body.removeChild(h),window.removeEventListener("message",E),u.setSuccess()))};window.addEventListener("message",E,!1)}else u.setSuccess();return O(u.promise,e.messageReceiveTimeout,"Timeout when waiting for 3rd party check iframe message.")}function ce(u){if(!u||u=="default")return{login:function(k){return window.location.assign(e.createLoginUrl(k)),B().promise},logout:function(k){return window.location.replace(e.createLogoutUrl(k)),B().promise},register:function(k){return window.location.assign(e.createRegisterUrl(k)),B().promise},accountManagement:function(){var k=e.createAccountUrl();if(typeof k<"u")window.location.href=k;else throw"Not supported by the OIDC server";return B().promise},redirectUri:function(k,P){return k&&k.redirectUri?k.redirectUri:e.redirectUri?e.redirectUri:location.href}};if(u=="cordova"){i.enable=!1;var h=function(k,P,M){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(k,P,M):window.open(k,P,M)},E=function(k){return k&&k.cordovaOptions?Object.keys(k.cordovaOptions).reduce(function(P,M){return P[M]=k.cordovaOptions[M],P},{}):{}},I=function(k){return Object.keys(k).reduce(function(P,M){return P.push(M+"="+k[M]),P},[]).join(",")},S=function(k){var P=E(k);return P.location="no",k&&k.prompt=="none"&&(P.hidden="yes"),I(P)},R=function(){return e.redirectUri||"http://localhost"};return{login:function(k){var P=B(),M=S(k),N=e.createLoginUrl(k),z=h(N,"_blank",M),Q=!1,Ie=!1,_e=function(){Ie=!0,z.close()};return z.addEventListener("loadstart",function(ge){if(ge.url.indexOf(R())==0){var qe=L(ge.url);q(qe,P),_e(),Q=!0}}),z.addEventListener("loaderror",function(ge){if(!Q)if(ge.url.indexOf(R())==0){var qe=L(ge.url);q(qe,P),_e(),Q=!0}else P.setError(),_e()}),z.addEventListener("exit",function(ge){Ie||P.setError({reason:"closed_by_user"})}),P.promise},logout:function(k){var P=B(),M=e.createLogoutUrl(k),N=h(M,"_blank","location=no,hidden=yes,clearcache=yes"),z;return N.addEventListener("loadstart",function(Q){Q.url.indexOf(R())==0&&N.close()}),N.addEventListener("loaderror",function(Q){Q.url.indexOf(R())==0||(z=!0),N.close()}),N.addEventListener("exit",function(Q){z?P.setError():(e.clearToken(),P.setSuccess())}),P.promise},register:function(k){var P=B(),M=e.createRegisterUrl(),N=S(k),z=h(M,"_blank",N);return z.addEventListener("loadstart",function(Q){if(Q.url.indexOf(R())==0){z.close();var Ie=L(Q.url);q(Ie,P)}}),P.promise},accountManagement:function(){var k=e.createAccountUrl();if(typeof k<"u"){var P=h(k,"_blank","location=no");P.addEventListener("loadstart",function(M){M.url.indexOf(R())==0&&P.close()})}else throw"Not supported by the OIDC server"},redirectUri:function(k){return R()}}}if(u=="cordova-native")return i.enable=!1,{login:function(k){var P=B(),M=e.createLoginUrl(k);return universalLinks.subscribe("keycloak",function(N){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var z=L(N.url);q(z,P)}),window.cordova.plugins.browsertab.openUrl(M),P.promise},logout:function(k){var P=B(),M=e.createLogoutUrl(k);return universalLinks.subscribe("keycloak",function(N){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),e.clearToken(),P.setSuccess()}),window.cordova.plugins.browsertab.openUrl(M),P.promise},register:function(k){var P=B(),M=e.createRegisterUrl(k);return universalLinks.subscribe("keycloak",function(N){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var z=L(N.url);q(z,P)}),window.cordova.plugins.browsertab.openUrl(M),P.promise},accountManagement:function(){var k=e.createAccountUrl();if(typeof k<"u")window.cordova.plugins.browsertab.openUrl(k);else throw"Not supported by the OIDC server"},redirectUri:function(k){return k&&k.redirectUri?k.redirectUri:e.redirectUri?e.redirectUri:"http://localhost"}};throw"invalid adapter type: "+u}var fe=function(){if(!(this instanceof fe))return new fe;localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test");var u=this;function h(){for(var E=new Date().getTime(),I=0;I<localStorage.length;I++){var S=localStorage.key(I);if(S&&S.indexOf("kc-callback-")==0){var R=localStorage.getItem(S);if(R)try{var k=JSON.parse(R).expires;(!k||k<E)&&localStorage.removeItem(S)}catch{localStorage.removeItem(S)}}}}u.get=function(E){if(E){var I="kc-callback-"+E,S=localStorage.getItem(I);return S&&(localStorage.removeItem(I),S=JSON.parse(S)),h(),S}},u.add=function(E){h();var I="kc-callback-"+E.state;E.expires=new Date().getTime()+60*60*1e3,localStorage.setItem(I,JSON.stringify(E))}},Ce=function(){if(!(this instanceof Ce))return new Ce;var u=this;u.get=function(S){if(S){var R=E("kc-callback-"+S);if(I("kc-callback-"+S,"",h(-100)),R)return JSON.parse(R)}},u.add=function(S){I("kc-callback-"+S.state,JSON.stringify(S),h(60))},u.removeItem=function(S){I(S,"",h(-100))};var h=function(S){var R=new Date;return R.setTime(R.getTime()+S*60*1e3),R},E=function(S){for(var R=S+"=",k=document.cookie.split(";"),P=0;P<k.length;P++){for(var M=k[P];M.charAt(0)==" ";)M=M.substring(1);if(M.indexOf(R)==0)return M.substring(R.length,M.length)}return""},I=function(S,R,k){var P=S+"="+R+"; expires="+k.toUTCString()+"; ";document.cookie=P}};function K(){try{return new fe}catch{}return new Ce}function xe(u){return function(){e.enableLogging&&u.apply(console,Array.prototype.slice.call(arguments))}}}async function Bf(){const t="silent-login.html",e=await fetch(location.origin+"/"+t).then(async n=>n.status!==200?!1:(await n.text()).includes("silent-login-iframe-result")).catch(()=>!1);if(!e){const n=`O arquivo ${t} não foi localizado no projeto ou não possui o conteúdo correto!`;console.warn(n),document.documentElement.setAttribute("data-app-message",n)}return e}function Ff(t){const e=new ki(t),n={},r=async(s={},c)=>{if(await Bf())return s.onLoad==="login-required"&&document.documentElement.setAttribute("data-app-message","Autorizando..."),e.init(s).then(async d=>{d&&await o(),c&&typeof c=="function"&&c(),document.documentElement.classList.add("app-mounted")}).catch(d=>{console.error(d),document.documentElement.setAttribute("data-app-message","Não foi possível conectar no servidor de autenticação.")})},o=async()=>{const s=await e.loadUserInfo();n.email=s.email??"",n.emailVerified=s.email_verified===!0,n.firstName=s.given_name??"",n.lastName=s.family_name??"",n.name=s.name??"",n.sub=s.sub??"",n.username=s.preferred_username??"",n.roles=[...s.role??[]],n.groups=[...s.group??[]],n.IsInRole=c=>n.roles.includes(c),sessionStorage.setItem("name",n.name)};return{Instance:e,User:n,Init:r,Logout:()=>{e.logout({redirectUri:location.origin}).then(()=>{sessionStorage.removeItem("name")})}}}const Rf=t=>Ff(t);class Er{constructor(e=null){Me(this,"errors",[]);Me(this,"_value",null);Me(this,"_httpStatusCode");this._value=e,this._httpStatusCode=200}get value(){return this._value}set value(e){this._value=e}get hasSuccess(){return!this.hasError}get hasError(){return this.errors.length>0}get httpStatusCode(){return this._httpStatusCode}set httpStatusCode(e){this._httpStatusCode=e}WithError(e){this.errors.push(e),this._httpStatusCode===200&&(this._httpStatusCode=400)}WithErrors(e){e.forEach(n=>this.WithError(n))}}function xi(t,e){return function(){return t.apply(e,arguments)}}const{toString:$f}=Object.prototype,{getPrototypeOf:Sr}=Object,vn=(t=>e=>{const n=$f.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ze=t=>(t=t.toLowerCase(),e=>vn(e)===t),wn=t=>e=>typeof e===t,{isArray:wt}=Array,Jt=wn("undefined");function Nf(t){return t!==null&&!Jt(t)&&t.constructor!==null&&!Jt(t.constructor)&&De(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ii=ze("ArrayBuffer");function Df(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ii(t.buffer),e}const Mf=wn("string"),De=wn("function"),Pi=wn("number"),En=t=>t!==null&&typeof t=="object",Uf=t=>t===!0||t===!1,Sn=t=>{if(vn(t)!=="object")return!1;const e=Sr(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Hf=ze("Date"),jf=ze("File"),Vf=ze("Blob"),Kf=ze("FileList"),zf=t=>En(t)&&De(t.pipe),Wf=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||De(t.append)&&((e=vn(t))==="formdata"||e==="object"&&De(t.toString)&&t.toString()==="[object FormData]"))},qf=ze("URLSearchParams"),Gf=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yt(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),wt(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let c;for(r=0;r<s;r++)c=i[r],e.call(null,t[c],c,t)}}function Ti(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const Oi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Li=t=>!Jt(t)&&t!==Oi;function Cr(){const{caseless:t}=Li(this)&&this||{},e={},n=(r,o)=>{const i=t&&Ti(e,o)||o;Sn(e[i])&&Sn(r)?e[i]=Cr(e[i],r):Sn(r)?e[i]=Cr({},r):wt(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Yt(arguments[r],n);return e}const Jf=(t,e,n,{allOwnKeys:r}={})=>(Yt(e,(o,i)=>{n&&De(o)?t[i]=xi(o,n):t[i]=o},{allOwnKeys:r}),t),Yf=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Xf=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Zf=(t,e,n,r)=>{let o,i,s;const c={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!r||r(s,t,e))&&!c[s]&&(e[s]=t[s],c[s]=!0);t=n!==!1&&Sr(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},Qf=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},ep=t=>{if(!t)return null;if(wt(t))return t;let e=t.length;if(!Pi(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},tp=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Sr(Uint8Array)),np=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(t,i[0],i[1])}},rp=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},op=ze("HTMLFormElement"),ip=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Bi=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),sp=ze("RegExp"),Fi=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Yt(n,(o,i)=>{let s;(s=e(o,i,t))!==!1&&(r[i]=s||o)}),Object.defineProperties(t,r)},ap=t=>{Fi(t,(e,n)=>{if(De(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(De(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},lp=(t,e)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return wt(t)?r(t):r(String(t).split(e)),n},cp=()=>{},up=(t,e)=>(t=+t,Number.isFinite(t)?t:e),_r="abcdefghijklmnopqrstuvwxyz",Ri="0123456789",$i={DIGIT:Ri,ALPHA:_r,ALPHA_DIGIT:_r+_r.toUpperCase()+Ri},dp=(t=16,e=$i.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function fp(t){return!!(t&&De(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const pp=t=>{const e=new Array(10),n=(r,o)=>{if(En(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=wt(r)?[]:{};return Yt(r,(s,c)=>{const l=n(s,o+1);!Jt(l)&&(i[c]=l)}),e[o]=void 0,i}}return r};return n(t,0)},mp=ze("AsyncFunction"),b={isArray:wt,isArrayBuffer:Ii,isBuffer:Nf,isFormData:Wf,isArrayBufferView:Df,isString:Mf,isNumber:Pi,isBoolean:Uf,isObject:En,isPlainObject:Sn,isUndefined:Jt,isDate:Hf,isFile:jf,isBlob:Vf,isRegExp:sp,isFunction:De,isStream:zf,isURLSearchParams:qf,isTypedArray:tp,isFileList:Kf,forEach:Yt,merge:Cr,extend:Jf,trim:Gf,stripBOM:Yf,inherits:Xf,toFlatObject:Zf,kindOf:vn,kindOfTest:ze,endsWith:Qf,toArray:ep,forEachEntry:np,matchAll:rp,isHTMLForm:op,hasOwnProperty:Bi,hasOwnProp:Bi,reduceDescriptors:Fi,freezeMethods:ap,toObjectSet:lp,toCamelCase:ip,noop:cp,toFiniteNumber:up,findKey:Ti,global:Oi,isContextDefined:Li,ALPHABET:$i,generateString:dp,isSpecCompliantForm:fp,toJSONObject:pp,isAsyncFn:mp,isThenable:t=>t&&(En(t)||De(t))&&De(t.then)&&De(t.catch)};function ne(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}b.inherits(ne,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:b.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ni=ne.prototype,Di={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Di[t]={value:t}}),Object.defineProperties(ne,Di),Object.defineProperty(Ni,"isAxiosError",{value:!0}),ne.from=(t,e,n,r,o,i)=>{const s=Object.create(Ni);return b.toFlatObject(t,s,function(l){return l!==Error.prototype},c=>c!=="isAxiosError"),ne.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const hp=null;function Ar(t){return b.isPlainObject(t)||b.isArray(t)}function Mi(t){return b.endsWith(t,"[]")?t.slice(0,-2):t}function Ui(t,e,n){return t?t.concat(e).map(function(o,i){return o=Mi(o),!n&&i?"["+o+"]":o}).join(n?".":""):e}function gp(t){return b.isArray(t)&&!t.some(Ar)}const yp=b.toFlatObject(b,{},null,function(e){return/^is[A-Z]/.test(e)});function Cn(t,e,n){if(!b.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=b.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,C){return!b.isUndefined(C[x])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(e);if(!b.isFunction(o))throw new TypeError("visitor must be a function");function d(_){if(_===null)return"";if(b.isDate(_))return _.toISOString();if(!l&&b.isBlob(_))throw new ne("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(_)||b.isTypedArray(_)?l&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function f(_,x,C){let $=_;if(_&&!C&&typeof _=="object"){if(b.endsWith(x,"{}"))x=r?x:x.slice(0,-2),_=JSON.stringify(_);else if(b.isArray(_)&&gp(_)||(b.isFileList(_)||b.endsWith(x,"[]"))&&($=b.toArray(_)))return x=Mi(x),$.forEach(function(V,pe){!(b.isUndefined(V)||V===null)&&e.append(s===!0?Ui([x],pe,i):s===null?x:x+"[]",d(V))}),!1}return Ar(_)?!0:(e.append(Ui(C,x,i),d(_)),!1)}const p=[],v=Object.assign(yp,{defaultVisitor:f,convertValue:d,isVisitable:Ar});function w(_,x){if(!b.isUndefined(_)){if(p.indexOf(_)!==-1)throw Error("Circular reference detected in "+x.join("."));p.push(_),b.forEach(_,function($,q){(!(b.isUndefined($)||$===null)&&o.call(e,$,b.isString(q)?q.trim():q,x,v))===!0&&w($,x?x.concat(q):[q])}),p.pop()}}if(!b.isObject(t))throw new TypeError("data must be an object");return w(t),e}function Hi(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function kr(t,e){this._pairs=[],t&&Cn(t,this,e)}const ji=kr.prototype;ji.append=function(e,n){this._pairs.push([e,n])},ji.toString=function(e){const n=e?function(r){return e.call(this,r,Hi)}:Hi;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function bp(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Vi(t,e,n){if(!e)return t;const r=n&&n.encode||bp,o=n&&n.serialize;let i;if(o?i=o(e,n):i=b.isURLSearchParams(e)?e.toString():new kr(e,n).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class Ki{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){b.forEach(this.handlers,function(r){r!==null&&e(r)})}}const zi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vp={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:kr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Wi=typeof window<"u"&&typeof document<"u",wp=(t=>Wi&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),Ep=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",We={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Wi,hasStandardBrowserEnv:wp,hasStandardBrowserWebWorkerEnv:Ep},Symbol.toStringTag,{value:"Module"})),...vp};function Sp(t,e){return Cn(t,new We.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return We.isNode&&b.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function Cp(t){return b.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function _p(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function qi(t){function e(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const c=Number.isFinite(+s),l=i>=n.length;return s=!s&&b.isArray(o)?o.length:s,l?(b.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!c):((!o[s]||!b.isObject(o[s]))&&(o[s]=[]),e(n,r,o[s],i)&&b.isArray(o[s])&&(o[s]=_p(o[s])),!c)}if(b.isFormData(t)&&b.isFunction(t.entries)){const n={};return b.forEachEntry(t,(r,o)=>{e(Cp(r),o,n,0)}),n}return null}function Ap(t,e,n){if(b.isString(t))try{return(e||JSON.parse)(t),b.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const xr={transitional:zi,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=b.isObject(e);if(i&&b.isHTMLForm(e)&&(e=new FormData(e)),b.isFormData(e))return o&&o?JSON.stringify(qi(e)):e;if(b.isArrayBuffer(e)||b.isBuffer(e)||b.isStream(e)||b.isFile(e)||b.isBlob(e))return e;if(b.isArrayBufferView(e))return e.buffer;if(b.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Sp(e,this.formSerializer).toString();if((c=b.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Cn(c?{"files[]":e}:e,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),Ap(e)):e}],transformResponse:[function(e){const n=this.transitional||xr.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&b.isString(e)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(c){if(s)throw c.name==="SyntaxError"?ne.from(c,ne.ERR_BAD_RESPONSE,this,null,this.response):c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:We.classes.FormData,Blob:We.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};b.forEach(["delete","get","head","post","put","patch"],t=>{xr.headers[t]={}});const Ir=xr,kp=b.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),xp=t=>{const e={};let n,r,o;return t&&t.split(`
156
- `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]&&kp[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},Gi=Symbol("internals");function Xt(t){return t&&String(t).trim().toLowerCase()}function _n(t){return t===!1||t==null?t:b.isArray(t)?t.map(_n):String(t)}function Ip(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const Pp=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Pr(t,e,n,r,o){if(b.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!b.isString(e)){if(b.isString(r))return e.indexOf(r)!==-1;if(b.isRegExp(r))return r.test(e)}}function Tp(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Op(t,e){const n=b.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,i,s){return this[r].call(this,e,o,i,s)},configurable:!0})})}class An{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(c,l,d){const f=Xt(l);if(!f)throw new Error("header name must be a non-empty string");const p=b.findKey(o,f);(!p||o[p]===void 0||d===!0||d===void 0&&o[p]!==!1)&&(o[p||l]=_n(c))}const s=(c,l)=>b.forEach(c,(d,f)=>i(d,f,l));return b.isPlainObject(e)||e instanceof this.constructor?s(e,n):b.isString(e)&&(e=e.trim())&&!Pp(e)?s(xp(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=Xt(e),e){const r=b.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return Ip(o);if(b.isFunction(n))return n.call(this,o,r);if(b.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Xt(e),e){const r=b.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Pr(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(s){if(s=Xt(s),s){const c=b.findKey(r,s);c&&(!n||Pr(r,r[c],c,n))&&(delete r[c],o=!0)}}return b.isArray(e)?e.forEach(i):i(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!e||Pr(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return b.forEach(this,(o,i)=>{const s=b.findKey(r,i);if(s){n[s]=_n(o),delete n[i];return}const c=e?Tp(i):String(i).trim();c!==i&&delete n[i],n[c]=_n(o),r[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return b.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&b.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
157
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const r=(this[Gi]=this[Gi]={accessors:{}}).accessors,o=this.prototype;function i(s){const c=Xt(s);r[c]||(Op(o,s),r[c]=!0)}return b.isArray(e)?e.forEach(i):i(e),this}}An.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),b.reduceDescriptors(An.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),b.freezeMethods(An);const Je=An;function Tr(t,e){const n=this||Ir,r=e||n,o=Je.from(r.headers);let i=r.data;return b.forEach(t,function(c){i=c.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function Ji(t){return!!(t&&t.__CANCEL__)}function Zt(t,e,n){ne.call(this,t??"canceled",ne.ERR_CANCELED,e,n),this.name="CanceledError"}b.inherits(Zt,ne,{__CANCEL__:!0});function Lp(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new ne("Request failed with status code "+n.status,[ne.ERR_BAD_REQUEST,ne.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Bp=We.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const s=[t+"="+encodeURIComponent(e)];b.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),b.isString(r)&&s.push("path="+r),b.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Fp(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Rp(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Yi(t,e){return t&&!Fp(e)?Rp(t,e):e}const $p=We.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return e&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const c=b.isString(s)?o(s):s;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}();function Np(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Dp(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,s;return e=e!==void 0?e:1e3,function(l){const d=Date.now(),f=r[i];s||(s=d),n[o]=l,r[o]=d;let p=i,v=0;for(;p!==o;)v+=n[p++],p=p%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),d-s<e)return;const w=f&&d-f;return w?Math.round(v*1e3/w):void 0}}function Xi(t,e){let n=0;const r=Dp(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,c=i-n,l=r(c),d=i<=s;n=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:c,rate:l||void 0,estimated:l&&s&&d?(s-i)/l:void 0,event:o};f[e?"download":"upload"]=!0,t(f)}}const Or={http:hp,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let o=t.data;const i=Je.from(t.headers).normalize();let{responseType:s,withXSRFToken:c}=t,l;function d(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}let f;if(b.isFormData(o)){if(We.hasStandardBrowserEnv||We.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((f=i.getContentType())!==!1){const[x,...C]=f?f.split(";").map($=>$.trim()).filter(Boolean):[];i.setContentType([x||"multipart/form-data",...C].join("; "))}}let p=new XMLHttpRequest;if(t.auth){const x=t.auth.username||"",C=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(x+":"+C))}const v=Yi(t.baseURL,t.url);p.open(t.method.toUpperCase(),Vi(v,t.params,t.paramsSerializer),!0),p.timeout=t.timeout;function w(){if(!p)return;const x=Je.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),$={data:!s||s==="text"||s==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:x,config:t,request:p};Lp(function(V){n(V),d()},function(V){r(V),d()},$),p=null}if("onloadend"in p?p.onloadend=w:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(w)},p.onabort=function(){p&&(r(new ne("Request aborted",ne.ECONNABORTED,t,p)),p=null)},p.onerror=function(){r(new ne("Network Error",ne.ERR_NETWORK,t,p)),p=null},p.ontimeout=function(){let C=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const $=t.transitional||zi;t.timeoutErrorMessage&&(C=t.timeoutErrorMessage),r(new ne(C,$.clarifyTimeoutError?ne.ETIMEDOUT:ne.ECONNABORTED,t,p)),p=null},We.hasStandardBrowserEnv&&(c&&b.isFunction(c)&&(c=c(t)),c||c!==!1&&$p(v))){const x=t.xsrfHeaderName&&t.xsrfCookieName&&Bp.read(t.xsrfCookieName);x&&i.set(t.xsrfHeaderName,x)}o===void 0&&i.setContentType(null),"setRequestHeader"in p&&b.forEach(i.toJSON(),function(C,$){p.setRequestHeader($,C)}),b.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),s&&s!=="json"&&(p.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&p.addEventListener("progress",Xi(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",Xi(t.onUploadProgress)),(t.cancelToken||t.signal)&&(l=x=>{p&&(r(!x||x.type?new Zt(null,t,p):x),p.abort(),p=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l)));const _=Np(v);if(_&&We.protocols.indexOf(_)===-1){r(new ne("Unsupported protocol "+_+":",ne.ERR_BAD_REQUEST,t));return}p.send(o||null)})}};b.forEach(Or,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Zi=t=>`- ${t}`,Mp=t=>b.isFunction(t)||t===null||t===!1,Qi={getAdapter:t=>{t=b.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){n=t[i];let s;if(r=n,!Mp(n)&&(r=Or[(s=String(n)).toLowerCase()],r===void 0))throw new ne(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([c,l])=>`adapter ${c} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=e?i.length>1?`since :
155
+ For more information see: https://www.keycloak.org/docs/latest/securing_apps/#_modern_browsers`),i.enable=!1,e.silentCheckSsoFallback&&(e.silentCheckSsoRedirectUri=!1)),document.body.removeChild(h),window.removeEventListener("message",E),u.setSuccess()))};window.addEventListener("message",E,!1)}else u.setSuccess();return O(u.promise,e.messageReceiveTimeout,"Timeout when waiting for 3rd party check iframe message.")}function ce(u){if(!u||u=="default")return{login:function(k){return window.location.assign(e.createLoginUrl(k)),B().promise},logout:function(k){return window.location.replace(e.createLogoutUrl(k)),B().promise},register:function(k){return window.location.assign(e.createRegisterUrl(k)),B().promise},accountManagement:function(){var k=e.createAccountUrl();if(typeof k<"u")window.location.href=k;else throw"Not supported by the OIDC server";return B().promise},redirectUri:function(k,P){return k&&k.redirectUri?k.redirectUri:e.redirectUri?e.redirectUri:location.href}};if(u=="cordova"){i.enable=!1;var h=function(k,P,M){return window.cordova&&window.cordova.InAppBrowser?window.cordova.InAppBrowser.open(k,P,M):window.open(k,P,M)},E=function(k){return k&&k.cordovaOptions?Object.keys(k.cordovaOptions).reduce(function(P,M){return P[M]=k.cordovaOptions[M],P},{}):{}},I=function(k){return Object.keys(k).reduce(function(P,M){return P.push(M+"="+k[M]),P},[]).join(",")},S=function(k){var P=E(k);return P.location="no",k&&k.prompt=="none"&&(P.hidden="yes"),I(P)},R=function(){return e.redirectUri||"http://localhost"};return{login:function(k){var P=B(),M=S(k),N=e.createLoginUrl(k),z=h(N,"_blank",M),Q=!1,Ie=!1,_e=function(){Ie=!0,z.close()};return z.addEventListener("loadstart",function(ge){if(ge.url.indexOf(R())==0){var qe=L(ge.url);q(qe,P),_e(),Q=!0}}),z.addEventListener("loaderror",function(ge){if(!Q)if(ge.url.indexOf(R())==0){var qe=L(ge.url);q(qe,P),_e(),Q=!0}else P.setError(),_e()}),z.addEventListener("exit",function(ge){Ie||P.setError({reason:"closed_by_user"})}),P.promise},logout:function(k){var P=B(),M=e.createLogoutUrl(k),N=h(M,"_blank","location=no,hidden=yes,clearcache=yes"),z;return N.addEventListener("loadstart",function(Q){Q.url.indexOf(R())==0&&N.close()}),N.addEventListener("loaderror",function(Q){Q.url.indexOf(R())==0||(z=!0),N.close()}),N.addEventListener("exit",function(Q){z?P.setError():(e.clearToken(),P.setSuccess())}),P.promise},register:function(k){var P=B(),M=e.createRegisterUrl(),N=S(k),z=h(M,"_blank",N);return z.addEventListener("loadstart",function(Q){if(Q.url.indexOf(R())==0){z.close();var Ie=L(Q.url);q(Ie,P)}}),P.promise},accountManagement:function(){var k=e.createAccountUrl();if(typeof k<"u"){var P=h(k,"_blank","location=no");P.addEventListener("loadstart",function(M){M.url.indexOf(R())==0&&P.close()})}else throw"Not supported by the OIDC server"},redirectUri:function(k){return R()}}}if(u=="cordova-native")return i.enable=!1,{login:function(k){var P=B(),M=e.createLoginUrl(k);return universalLinks.subscribe("keycloak",function(N){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var z=L(N.url);q(z,P)}),window.cordova.plugins.browsertab.openUrl(M),P.promise},logout:function(k){var P=B(),M=e.createLogoutUrl(k);return universalLinks.subscribe("keycloak",function(N){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close(),e.clearToken(),P.setSuccess()}),window.cordova.plugins.browsertab.openUrl(M),P.promise},register:function(k){var P=B(),M=e.createRegisterUrl(k);return universalLinks.subscribe("keycloak",function(N){universalLinks.unsubscribe("keycloak"),window.cordova.plugins.browsertab.close();var z=L(N.url);q(z,P)}),window.cordova.plugins.browsertab.openUrl(M),P.promise},accountManagement:function(){var k=e.createAccountUrl();if(typeof k<"u")window.cordova.plugins.browsertab.openUrl(k);else throw"Not supported by the OIDC server"},redirectUri:function(k){return k&&k.redirectUri?k.redirectUri:e.redirectUri?e.redirectUri:"http://localhost"}};throw"invalid adapter type: "+u}var fe=function(){if(!(this instanceof fe))return new fe;localStorage.setItem("kc-test","test"),localStorage.removeItem("kc-test");var u=this;function h(){for(var E=new Date().getTime(),I=0;I<localStorage.length;I++){var S=localStorage.key(I);if(S&&S.indexOf("kc-callback-")==0){var R=localStorage.getItem(S);if(R)try{var k=JSON.parse(R).expires;(!k||k<E)&&localStorage.removeItem(S)}catch{localStorage.removeItem(S)}}}}u.get=function(E){if(E){var I="kc-callback-"+E,S=localStorage.getItem(I);return S&&(localStorage.removeItem(I),S=JSON.parse(S)),h(),S}},u.add=function(E){h();var I="kc-callback-"+E.state;E.expires=new Date().getTime()+60*60*1e3,localStorage.setItem(I,JSON.stringify(E))}},Ce=function(){if(!(this instanceof Ce))return new Ce;var u=this;u.get=function(S){if(S){var R=E("kc-callback-"+S);if(I("kc-callback-"+S,"",h(-100)),R)return JSON.parse(R)}},u.add=function(S){I("kc-callback-"+S.state,JSON.stringify(S),h(60))},u.removeItem=function(S){I(S,"",h(-100))};var h=function(S){var R=new Date;return R.setTime(R.getTime()+S*60*1e3),R},E=function(S){for(var R=S+"=",k=document.cookie.split(";"),P=0;P<k.length;P++){for(var M=k[P];M.charAt(0)==" ";)M=M.substring(1);if(M.indexOf(R)==0)return M.substring(R.length,M.length)}return""},I=function(S,R,k){var P=S+"="+R+"; expires="+k.toUTCString()+"; ";document.cookie=P}};function K(){try{return new fe}catch{}return new Ce}function xe(u){return function(){e.enableLogging&&u.apply(console,Array.prototype.slice.call(arguments))}}}async function Bf(){const t="silent-login.html",e=await fetch(location.origin+"/"+t).then(async n=>n.status!==200?!1:(await n.text()).includes("silent-login-iframe-result")).catch(()=>!1);if(!e){const n=`O arquivo ${t} não foi localizado no projeto ou não possui o conteúdo correto!`;console.warn(n),document.documentElement.setAttribute("data-app-message",n)}return e}let Ff;function Rf(t){if(!t)return Ff;const e=new ki(t),n={},r=async(s={},c)=>{if(await Bf())return s.onLoad==="login-required"&&document.documentElement.setAttribute("data-app-message","Autorizando..."),e.init(s).then(async d=>{d&&await o(),c&&typeof c=="function"&&c(),document.documentElement.classList.add("app-mounted")}).catch(d=>{console.error(d),document.documentElement.setAttribute("data-app-message","Não foi possível conectar no servidor de autenticação.")})},o=async()=>{const s=await e.loadUserInfo();n.email=s.email??"",n.emailVerified=s.email_verified===!0,n.firstName=s.given_name??"",n.lastName=s.family_name??"",n.name=s.name??"",n.sub=s.sub??"",n.username=s.preferred_username??"",n.roles=[...s.role??[]],n.groups=[...s.group??[]],n.IsInRole=c=>n.roles.includes(c),sessionStorage.setItem("name",n.name)};return{Instance:e,User:n,Init:r,Logout:()=>{e.logout({redirectUri:location.origin}).then(()=>{sessionStorage.removeItem("name")})}}}const $f=t=>Rf(t);class Er{constructor(e=null){Me(this,"errors",[]);Me(this,"_value",null);Me(this,"_httpStatusCode");this._value=e,this._httpStatusCode=200}get value(){return this._value}set value(e){this._value=e}get hasSuccess(){return!this.hasError}get hasError(){return this.errors.length>0}get httpStatusCode(){return this._httpStatusCode}set httpStatusCode(e){this._httpStatusCode=e}WithError(e){this.errors.push(e),this._httpStatusCode===200&&(this._httpStatusCode=400)}WithErrors(e){e.forEach(n=>this.WithError(n))}}function xi(t,e){return function(){return t.apply(e,arguments)}}const{toString:Nf}=Object.prototype,{getPrototypeOf:Sr}=Object,vn=(t=>e=>{const n=Nf.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ze=t=>(t=t.toLowerCase(),e=>vn(e)===t),wn=t=>e=>typeof e===t,{isArray:wt}=Array,Jt=wn("undefined");function Df(t){return t!==null&&!Jt(t)&&t.constructor!==null&&!Jt(t.constructor)&&De(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Ii=ze("ArrayBuffer");function Mf(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&Ii(t.buffer),e}const Uf=wn("string"),De=wn("function"),Pi=wn("number"),En=t=>t!==null&&typeof t=="object",Hf=t=>t===!0||t===!1,Sn=t=>{if(vn(t)!=="object")return!1;const e=Sr(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},jf=ze("Date"),Vf=ze("File"),Kf=ze("Blob"),zf=ze("FileList"),Wf=t=>En(t)&&De(t.pipe),qf=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||De(t.append)&&((e=vn(t))==="formdata"||e==="object"&&De(t.toString)&&t.toString()==="[object FormData]"))},Gf=ze("URLSearchParams"),Jf=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yt(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),wt(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),s=i.length;let c;for(r=0;r<s;r++)c=i[r],e.call(null,t[c],c,t)}}function Ti(t,e){e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const Oi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Li=t=>!Jt(t)&&t!==Oi;function Cr(){const{caseless:t}=Li(this)&&this||{},e={},n=(r,o)=>{const i=t&&Ti(e,o)||o;Sn(e[i])&&Sn(r)?e[i]=Cr(e[i],r):Sn(r)?e[i]=Cr({},r):wt(r)?e[i]=r.slice():e[i]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Yt(arguments[r],n);return e}const Yf=(t,e,n,{allOwnKeys:r}={})=>(Yt(e,(o,i)=>{n&&De(o)?t[i]=xi(o,n):t[i]=o},{allOwnKeys:r}),t),Xf=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Zf=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},Qf=(t,e,n,r)=>{let o,i,s;const c={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),i=o.length;i-- >0;)s=o[i],(!r||r(s,t,e))&&!c[s]&&(e[s]=t[s],c[s]=!0);t=n!==!1&&Sr(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},ep=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},tp=t=>{if(!t)return null;if(wt(t))return t;let e=t.length;if(!Pi(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},np=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Sr(Uint8Array)),rp=(t,e)=>{const r=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=r.next())&&!o.done;){const i=o.value;e.call(t,i[0],i[1])}},op=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},ip=ze("HTMLFormElement"),sp=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Bi=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),ap=ze("RegExp"),Fi=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Yt(n,(o,i)=>{let s;(s=e(o,i,t))!==!1&&(r[i]=s||o)}),Object.defineProperties(t,r)},lp=t=>{Fi(t,(e,n)=>{if(De(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(De(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},cp=(t,e)=>{const n={},r=o=>{o.forEach(i=>{n[i]=!0})};return wt(t)?r(t):r(String(t).split(e)),n},up=()=>{},dp=(t,e)=>(t=+t,Number.isFinite(t)?t:e),_r="abcdefghijklmnopqrstuvwxyz",Ri="0123456789",$i={DIGIT:Ri,ALPHA:_r,ALPHA_DIGIT:_r+_r.toUpperCase()+Ri},fp=(t=16,e=$i.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n};function pp(t){return!!(t&&De(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const mp=t=>{const e=new Array(10),n=(r,o)=>{if(En(r)){if(e.indexOf(r)>=0)return;if(!("toJSON"in r)){e[o]=r;const i=wt(r)?[]:{};return Yt(r,(s,c)=>{const l=n(s,o+1);!Jt(l)&&(i[c]=l)}),e[o]=void 0,i}}return r};return n(t,0)},hp=ze("AsyncFunction"),b={isArray:wt,isArrayBuffer:Ii,isBuffer:Df,isFormData:qf,isArrayBufferView:Mf,isString:Uf,isNumber:Pi,isBoolean:Hf,isObject:En,isPlainObject:Sn,isUndefined:Jt,isDate:jf,isFile:Vf,isBlob:Kf,isRegExp:ap,isFunction:De,isStream:Wf,isURLSearchParams:Gf,isTypedArray:np,isFileList:zf,forEach:Yt,merge:Cr,extend:Yf,trim:Jf,stripBOM:Xf,inherits:Zf,toFlatObject:Qf,kindOf:vn,kindOfTest:ze,endsWith:ep,toArray:tp,forEachEntry:rp,matchAll:op,isHTMLForm:ip,hasOwnProperty:Bi,hasOwnProp:Bi,reduceDescriptors:Fi,freezeMethods:lp,toObjectSet:cp,toCamelCase:sp,noop:up,toFiniteNumber:dp,findKey:Ti,global:Oi,isContextDefined:Li,ALPHABET:$i,generateString:fp,isSpecCompliantForm:pp,toJSONObject:mp,isAsyncFn:hp,isThenable:t=>t&&(En(t)||De(t))&&De(t.then)&&De(t.catch)};function ne(t,e,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}b.inherits(ne,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:b.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ni=ne.prototype,Di={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{Di[t]={value:t}}),Object.defineProperties(ne,Di),Object.defineProperty(Ni,"isAxiosError",{value:!0}),ne.from=(t,e,n,r,o,i)=>{const s=Object.create(Ni);return b.toFlatObject(t,s,function(l){return l!==Error.prototype},c=>c!=="isAxiosError"),ne.call(s,t.message,e,n,r,o),s.cause=t,s.name=t.name,i&&Object.assign(s,i),s};const gp=null;function Ar(t){return b.isPlainObject(t)||b.isArray(t)}function Mi(t){return b.endsWith(t,"[]")?t.slice(0,-2):t}function Ui(t,e,n){return t?t.concat(e).map(function(o,i){return o=Mi(o),!n&&i?"["+o+"]":o}).join(n?".":""):e}function yp(t){return b.isArray(t)&&!t.some(Ar)}const bp=b.toFlatObject(b,{},null,function(e){return/^is[A-Z]/.test(e)});function Cn(t,e,n){if(!b.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=b.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(x,C){return!b.isUndefined(C[x])});const r=n.metaTokens,o=n.visitor||f,i=n.dots,s=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&b.isSpecCompliantForm(e);if(!b.isFunction(o))throw new TypeError("visitor must be a function");function d(_){if(_===null)return"";if(b.isDate(_))return _.toISOString();if(!l&&b.isBlob(_))throw new ne("Blob is not supported. Use a Buffer instead.");return b.isArrayBuffer(_)||b.isTypedArray(_)?l&&typeof Blob=="function"?new Blob([_]):Buffer.from(_):_}function f(_,x,C){let $=_;if(_&&!C&&typeof _=="object"){if(b.endsWith(x,"{}"))x=r?x:x.slice(0,-2),_=JSON.stringify(_);else if(b.isArray(_)&&yp(_)||(b.isFileList(_)||b.endsWith(x,"[]"))&&($=b.toArray(_)))return x=Mi(x),$.forEach(function(V,pe){!(b.isUndefined(V)||V===null)&&e.append(s===!0?Ui([x],pe,i):s===null?x:x+"[]",d(V))}),!1}return Ar(_)?!0:(e.append(Ui(C,x,i),d(_)),!1)}const p=[],v=Object.assign(bp,{defaultVisitor:f,convertValue:d,isVisitable:Ar});function w(_,x){if(!b.isUndefined(_)){if(p.indexOf(_)!==-1)throw Error("Circular reference detected in "+x.join("."));p.push(_),b.forEach(_,function($,q){(!(b.isUndefined($)||$===null)&&o.call(e,$,b.isString(q)?q.trim():q,x,v))===!0&&w($,x?x.concat(q):[q])}),p.pop()}}if(!b.isObject(t))throw new TypeError("data must be an object");return w(t),e}function Hi(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function kr(t,e){this._pairs=[],t&&Cn(t,this,e)}const ji=kr.prototype;ji.append=function(e,n){this._pairs.push([e,n])},ji.toString=function(e){const n=e?function(r){return e.call(this,r,Hi)}:Hi;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function vp(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Vi(t,e,n){if(!e)return t;const r=n&&n.encode||vp,o=n&&n.serialize;let i;if(o?i=o(e,n):i=b.isURLSearchParams(e)?e.toString():new kr(e,n).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class Ki{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){b.forEach(this.handlers,function(r){r!==null&&e(r)})}}const zi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},wp={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:kr,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Wi=typeof window<"u"&&typeof document<"u",Ep=(t=>Wi&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),Sp=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",We={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Wi,hasStandardBrowserEnv:Ep,hasStandardBrowserWebWorkerEnv:Sp},Symbol.toStringTag,{value:"Module"})),...wp};function Cp(t,e){return Cn(t,new We.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,i){return We.isNode&&b.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},e))}function _p(t){return b.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function Ap(t){const e={},n=Object.keys(t);let r;const o=n.length;let i;for(r=0;r<o;r++)i=n[r],e[i]=t[i];return e}function qi(t){function e(n,r,o,i){let s=n[i++];if(s==="__proto__")return!0;const c=Number.isFinite(+s),l=i>=n.length;return s=!s&&b.isArray(o)?o.length:s,l?(b.hasOwnProp(o,s)?o[s]=[o[s],r]:o[s]=r,!c):((!o[s]||!b.isObject(o[s]))&&(o[s]=[]),e(n,r,o[s],i)&&b.isArray(o[s])&&(o[s]=Ap(o[s])),!c)}if(b.isFormData(t)&&b.isFunction(t.entries)){const n={};return b.forEachEntry(t,(r,o)=>{e(_p(r),o,n,0)}),n}return null}function kp(t,e,n){if(b.isString(t))try{return(e||JSON.parse)(t),b.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const xr={transitional:zi,adapter:["xhr","http"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,i=b.isObject(e);if(i&&b.isHTMLForm(e)&&(e=new FormData(e)),b.isFormData(e))return o&&o?JSON.stringify(qi(e)):e;if(b.isArrayBuffer(e)||b.isBuffer(e)||b.isStream(e)||b.isFile(e)||b.isBlob(e))return e;if(b.isArrayBufferView(e))return e.buffer;if(b.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let c;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Cp(e,this.formSerializer).toString();if((c=b.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Cn(c?{"files[]":e}:e,l&&new l,this.formSerializer)}}return i||o?(n.setContentType("application/json",!1),kp(e)):e}],transformResponse:[function(e){const n=this.transitional||xr.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(e&&b.isString(e)&&(r&&!this.responseType||o)){const s=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e)}catch(c){if(s)throw c.name==="SyntaxError"?ne.from(c,ne.ERR_BAD_RESPONSE,this,null,this.response):c}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:We.classes.FormData,Blob:We.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};b.forEach(["delete","get","head","post","put","patch"],t=>{xr.headers[t]={}});const Ir=xr,xp=b.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ip=t=>{const e={};let n,r,o;return t&&t.split(`
156
+ `).forEach(function(s){o=s.indexOf(":"),n=s.substring(0,o).trim().toLowerCase(),r=s.substring(o+1).trim(),!(!n||e[n]&&xp[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},Gi=Symbol("internals");function Xt(t){return t&&String(t).trim().toLowerCase()}function _n(t){return t===!1||t==null?t:b.isArray(t)?t.map(_n):String(t)}function Pp(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const Tp=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Pr(t,e,n,r,o){if(b.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!b.isString(e)){if(b.isString(r))return e.indexOf(r)!==-1;if(b.isRegExp(r))return r.test(e)}}function Op(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function Lp(t,e){const n=b.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,i,s){return this[r].call(this,e,o,i,s)},configurable:!0})})}class An{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function i(c,l,d){const f=Xt(l);if(!f)throw new Error("header name must be a non-empty string");const p=b.findKey(o,f);(!p||o[p]===void 0||d===!0||d===void 0&&o[p]!==!1)&&(o[p||l]=_n(c))}const s=(c,l)=>b.forEach(c,(d,f)=>i(d,f,l));return b.isPlainObject(e)||e instanceof this.constructor?s(e,n):b.isString(e)&&(e=e.trim())&&!Tp(e)?s(Ip(e),n):e!=null&&i(n,e,r),this}get(e,n){if(e=Xt(e),e){const r=b.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return Pp(o);if(b.isFunction(n))return n.call(this,o,r);if(b.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=Xt(e),e){const r=b.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Pr(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function i(s){if(s=Xt(s),s){const c=b.findKey(r,s);c&&(!n||Pr(r,r[c],c,n))&&(delete r[c],o=!0)}}return b.isArray(e)?e.forEach(i):i(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const i=n[r];(!e||Pr(this,this[i],i,e,!0))&&(delete this[i],o=!0)}return o}normalize(e){const n=this,r={};return b.forEach(this,(o,i)=>{const s=b.findKey(r,i);if(s){n[s]=_n(o),delete n[i];return}const c=e?Op(i):String(i).trim();c!==i&&delete n[i],n[c]=_n(o),r[c]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return b.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&b.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
157
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const r=(this[Gi]=this[Gi]={accessors:{}}).accessors,o=this.prototype;function i(s){const c=Xt(s);r[c]||(Lp(o,s),r[c]=!0)}return b.isArray(e)?e.forEach(i):i(e),this}}An.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),b.reduceDescriptors(An.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}}),b.freezeMethods(An);const Je=An;function Tr(t,e){const n=this||Ir,r=e||n,o=Je.from(r.headers);let i=r.data;return b.forEach(t,function(c){i=c.call(n,i,o.normalize(),e?e.status:void 0)}),o.normalize(),i}function Ji(t){return!!(t&&t.__CANCEL__)}function Zt(t,e,n){ne.call(this,t??"canceled",ne.ERR_CANCELED,e,n),this.name="CanceledError"}b.inherits(Zt,ne,{__CANCEL__:!0});function Bp(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new ne("Request failed with status code "+n.status,[ne.ERR_BAD_REQUEST,ne.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const Fp=We.hasStandardBrowserEnv?{write(t,e,n,r,o,i){const s=[t+"="+encodeURIComponent(e)];b.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),b.isString(r)&&s.push("path="+r),b.isString(o)&&s.push("domain="+o),i===!0&&s.push("secure"),document.cookie=s.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Rp(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function $p(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function Yi(t,e){return t&&!Rp(e)?$p(t,e):e}const Np=We.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(i){let s=i;return e&&(n.setAttribute("href",s),s=n.href),n.setAttribute("href",s),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(s){const c=b.isString(s)?o(s):s;return c.protocol===r.protocol&&c.host===r.host}}():function(){return function(){return!0}}();function Dp(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function Mp(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,i=0,s;return e=e!==void 0?e:1e3,function(l){const d=Date.now(),f=r[i];s||(s=d),n[o]=l,r[o]=d;let p=i,v=0;for(;p!==o;)v+=n[p++],p=p%t;if(o=(o+1)%t,o===i&&(i=(i+1)%t),d-s<e)return;const w=f&&d-f;return w?Math.round(v*1e3/w):void 0}}function Xi(t,e){let n=0;const r=Mp(50,250);return o=>{const i=o.loaded,s=o.lengthComputable?o.total:void 0,c=i-n,l=r(c),d=i<=s;n=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:c,rate:l||void 0,estimated:l&&s&&d?(s-i)/l:void 0,event:o};f[e?"download":"upload"]=!0,t(f)}}const Or={http:gp,xhr:typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(n,r){let o=t.data;const i=Je.from(t.headers).normalize();let{responseType:s,withXSRFToken:c}=t,l;function d(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}let f;if(b.isFormData(o)){if(We.hasStandardBrowserEnv||We.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((f=i.getContentType())!==!1){const[x,...C]=f?f.split(";").map($=>$.trim()).filter(Boolean):[];i.setContentType([x||"multipart/form-data",...C].join("; "))}}let p=new XMLHttpRequest;if(t.auth){const x=t.auth.username||"",C=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(x+":"+C))}const v=Yi(t.baseURL,t.url);p.open(t.method.toUpperCase(),Vi(v,t.params,t.paramsSerializer),!0),p.timeout=t.timeout;function w(){if(!p)return;const x=Je.from("getAllResponseHeaders"in p&&p.getAllResponseHeaders()),$={data:!s||s==="text"||s==="json"?p.responseText:p.response,status:p.status,statusText:p.statusText,headers:x,config:t,request:p};Bp(function(V){n(V),d()},function(V){r(V),d()},$),p=null}if("onloadend"in p?p.onloadend=w:p.onreadystatechange=function(){!p||p.readyState!==4||p.status===0&&!(p.responseURL&&p.responseURL.indexOf("file:")===0)||setTimeout(w)},p.onabort=function(){p&&(r(new ne("Request aborted",ne.ECONNABORTED,t,p)),p=null)},p.onerror=function(){r(new ne("Network Error",ne.ERR_NETWORK,t,p)),p=null},p.ontimeout=function(){let C=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const $=t.transitional||zi;t.timeoutErrorMessage&&(C=t.timeoutErrorMessage),r(new ne(C,$.clarifyTimeoutError?ne.ETIMEDOUT:ne.ECONNABORTED,t,p)),p=null},We.hasStandardBrowserEnv&&(c&&b.isFunction(c)&&(c=c(t)),c||c!==!1&&Np(v))){const x=t.xsrfHeaderName&&t.xsrfCookieName&&Fp.read(t.xsrfCookieName);x&&i.set(t.xsrfHeaderName,x)}o===void 0&&i.setContentType(null),"setRequestHeader"in p&&b.forEach(i.toJSON(),function(C,$){p.setRequestHeader($,C)}),b.isUndefined(t.withCredentials)||(p.withCredentials=!!t.withCredentials),s&&s!=="json"&&(p.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&p.addEventListener("progress",Xi(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&p.upload&&p.upload.addEventListener("progress",Xi(t.onUploadProgress)),(t.cancelToken||t.signal)&&(l=x=>{p&&(r(!x||x.type?new Zt(null,t,p):x),p.abort(),p=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l)));const _=Dp(v);if(_&&We.protocols.indexOf(_)===-1){r(new ne("Unsupported protocol "+_+":",ne.ERR_BAD_REQUEST,t));return}p.send(o||null)})}};b.forEach(Or,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Zi=t=>`- ${t}`,Up=t=>b.isFunction(t)||t===null||t===!1,Qi={getAdapter:t=>{t=b.isArray(t)?t:[t];const{length:e}=t;let n,r;const o={};for(let i=0;i<e;i++){n=t[i];let s;if(r=n,!Up(n)&&(r=Or[(s=String(n)).toLowerCase()],r===void 0))throw new ne(`Unknown adapter '${s}'`);if(r)break;o[s||"#"+i]=r}if(!r){const i=Object.entries(o).map(([c,l])=>`adapter ${c} `+(l===!1?"is not supported by the environment":"is not available in the build"));let s=e?i.length>1?`since :
158
158
  `+i.map(Zi).join(`
159
- `):" "+Zi(i[0]):"as no adapter specified";throw new ne("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Or};function Lr(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Zt(null,t)}function es(t){return Lr(t),t.headers=Je.from(t.headers),t.data=Tr.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Qi.getAdapter(t.adapter||Ir.adapter)(t).then(function(r){return Lr(t),r.data=Tr.call(t,t.transformResponse,r),r.headers=Je.from(r.headers),r},function(r){return Ji(r)||(Lr(t),r&&r.response&&(r.response.data=Tr.call(t,t.transformResponse,r.response),r.response.headers=Je.from(r.response.headers))),Promise.reject(r)})}const ts=t=>t instanceof Je?t.toJSON():t;function Et(t,e){e=e||{};const n={};function r(d,f,p){return b.isPlainObject(d)&&b.isPlainObject(f)?b.merge.call({caseless:p},d,f):b.isPlainObject(f)?b.merge({},f):b.isArray(f)?f.slice():f}function o(d,f,p){if(b.isUndefined(f)){if(!b.isUndefined(d))return r(void 0,d,p)}else return r(d,f,p)}function i(d,f){if(!b.isUndefined(f))return r(void 0,f)}function s(d,f){if(b.isUndefined(f)){if(!b.isUndefined(d))return r(void 0,d)}else return r(void 0,f)}function c(d,f,p){if(p in e)return r(d,f);if(p in t)return r(void 0,d)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:(d,f)=>o(ts(d),ts(f),!0)};return b.forEach(Object.keys(Object.assign({},t,e)),function(f){const p=l[f]||o,v=p(t[f],e[f],f);b.isUndefined(v)&&p!==c||(n[f]=v)}),n}const ns="1.6.5",Br={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Br[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const rs={};Br.transitional=function(e,n,r){function o(i,s){return"[Axios v"+ns+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,c)=>{if(e===!1)throw new ne(o(s," has been removed"+(n?" in "+n:"")),ne.ERR_DEPRECATED);return n&&!rs[s]&&(rs[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,s,c):!0}};function Up(t,e,n){if(typeof t!="object")throw new ne("options must be an object",ne.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],s=e[i];if(s){const c=t[i],l=c===void 0||s(c,i,t);if(l!==!0)throw new ne("option "+i+" must be "+l,ne.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ne("Unknown option "+i,ne.ERR_BAD_OPTION)}}const Fr={assertOptions:Up,validators:Br},nt=Fr.validators;class kn{constructor(e){this.defaults=e,this.interceptors={request:new Ki,response:new Ki}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Et(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Fr.assertOptions(r,{silentJSONParsing:nt.transitional(nt.boolean),forcedJSONParsing:nt.transitional(nt.boolean),clarifyTimeoutError:nt.transitional(nt.boolean)},!1),o!=null&&(b.isFunction(o)?n.paramsSerializer={serialize:o}:Fr.assertOptions(o,{encode:nt.function,serialize:nt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&b.merge(i.common,i[n.method]);i&&b.forEach(["delete","get","head","post","put","patch","common"],_=>{delete i[_]}),n.headers=Je.concat(s,i);const c=[];let l=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(l=l&&x.synchronous,c.unshift(x.fulfilled,x.rejected))});const d=[];this.interceptors.response.forEach(function(x){d.push(x.fulfilled,x.rejected)});let f,p=0,v;if(!l){const _=[es.bind(this),void 0];for(_.unshift.apply(_,c),_.push.apply(_,d),v=_.length,f=Promise.resolve(n);p<v;)f=f.then(_[p++],_[p++]);return f}v=c.length;let w=n;for(p=0;p<v;){const _=c[p++],x=c[p++];try{w=_(w)}catch(C){x.call(this,C);break}}try{f=es.call(this,w)}catch(_){return Promise.reject(_)}for(p=0,v=d.length;p<v;)f=f.then(d[p++],d[p++]);return f}getUri(e){e=Et(this.defaults,e);const n=Yi(e.baseURL,e.url);return Vi(n,e.params,e.paramsSerializer)}}b.forEach(["delete","get","head","options"],function(e){kn.prototype[e]=function(n,r){return this.request(Et(r||{},{method:e,url:n,data:(r||{}).data}))}}),b.forEach(["post","put","patch"],function(e){function n(r){return function(i,s,c){return this.request(Et(c||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}kn.prototype[e]=n(),kn.prototype[e+"Form"]=n(!0)});const xn=kn;class Rr{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(c=>{r.subscribe(c),i=c}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,c){r.reason||(r.reason=new Zt(i,s,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Rr(function(o){e=o}),cancel:e}}}const Hp=Rr;function jp(t){return function(n){return t.apply(null,n)}}function Vp(t){return b.isObject(t)&&t.isAxiosError===!0}const $r={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($r).forEach(([t,e])=>{$r[e]=t});const Kp=$r;function os(t){const e=new xn(t),n=xi(xn.prototype.request,e);return b.extend(n,xn.prototype,e,{allOwnKeys:!0}),b.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return os(Et(t,o))},n}const ue=os(Ir);ue.Axios=xn,ue.CanceledError=Zt,ue.CancelToken=Hp,ue.isCancel=Ji,ue.VERSION=ns,ue.toFormData=Cn,ue.AxiosError=ne,ue.Cancel=ue.CanceledError,ue.all=function(e){return Promise.all(e)},ue.spread=jp,ue.isAxiosError=Vp,ue.mergeConfig=Et,ue.AxiosHeaders=Je,ue.formToJSON=t=>qi(b.isHTMLForm(t)?new FormData(t):t),ue.getAdapter=Qi.getAdapter,ue.HttpStatusCode=Kp,ue.default=ue;class is{constructor(e,n){Me(this,"keycloak");Me(this,"axios");Me(this,"fileName","silent-login.html");this.keycloak=e,this.axios=ue.create(),this.axios.defaults.baseURL=n,this.axios.defaults.headers.common["content-type"]="application/json",this.axios.defaults.timeout=1e3*60*5,this.axios.interceptors.request.use(async r=>{await this.SilentLogin();const o=this.keycloak.token;return r.headers.Authorization=`Bearer ${o}`,r})}ParseAppResult(e){try{const n=typeof e.hasSuccess=="boolean",r=typeof e.hasError=="boolean",o=typeof e.httpStatusCode=="number",i=Array.isArray(e.errors);return n&&r&&o&&i?e:null}catch{return null}}HandleThen(e){const n=new Er,r=this.ParseAppResult(e.data);return r===null?(n.value=e.data,n):r.hasError?(r.errors.forEach(o=>n.WithError(o)),n.httpStatusCode=r.httpStatusCode,n):(n.value=e.data.value,n)}HandleCatch(e){var o;const n=new Er,r=this.ParseAppResult((o=e.response)==null?void 0:o.data);return r===null?n.WithError(e.message):(n.WithErrors(r.errors),n.httpStatusCode=r.httpStatusCode),n}async SilentLogin(){return new Promise(async e=>{if(!this.isTokenExpired){e(!0);return}const n=this.GenerateIframe(),r=o=>{if(document.body.removeChild(n),window.removeEventListener("message",r),o.origin!==location.origin){e(!1);return}const i=o.data.action,s=o.data.code,c=o.data.state,l=o.data.error;if(i!=="silent-login-iframe-result"||l==="login_required"||!s){e(!1);return}const d=new XMLHttpRequest;d.open("POST",this.tokenExchangeUrl,!0),d.setRequestHeader("Content-type","application/x-www-form-urlencoded"),d.onreadystatechange=()=>{if(d.readyState===4){if(d.status===200){const f=JSON.parse(d.responseText);this.keycloak.setToken(f.access_token,null,f.id_token,new Date().getTime()),e(!0);return}e(!1)}},d.send(this.TokenExchangeParams(s,c))};window.addEventListener("message",r)}).then(e=>(e||(this.keycloak.clearToken(),this.keycloak.login()),e))}GetCodeVerifierFromState(e){const n=`kc-callback-${e}`,r=localStorage.getItem(n);if(r)return localStorage.removeItem(n),JSON.parse(r).pkceCodeVerifier}TokenExchangeParams(e,n){let r=`code=${e}&grant_type=authorization_code`;return r+=`&client_id=${encodeURIComponent(this.keycloak.clientId)}`,r+=`&redirect_uri=${this.silentLoginRedirectUrl}`,r+=`&code_verifier=${this.GetCodeVerifierFromState(n)}`,r}GenerateIframe(){const e=document.createElement("iframe");return e.src=this.keycloak.createLoginUrl({prompt:"none",redirectUri:this.silentLoginRedirectUrl})??"",document.body.appendChild(e),e}get silentLoginRedirectUrl(){return`${location.origin}/${this.fileName}`}get tokenExchangeUrl(){return`${this.keycloak.authServerUrl}/realms/${this.keycloak.realm}/protocol/openid-connect/token`}get isTokenExpired(){const e=this.keycloak.tokenParsed,n=e?e.exp:null;return!e||!n?!0:n-Math.ceil(new Date().getTime()/1e3)+(this.keycloak.timeSkew??0)<10}}const zp=(t,e)=>new is(t,e);ir.SetInitialTheme(),ee.AppResult=Er,ee.AxiosClient=is,ee.SfButton=zr,ee.SfContent=Cu,ee.SfDrawer=Kr,ee.SfIcon=Qe,ee.SfLayout=bu,ee.SfMessage=Ou,ee.SfNavMenuLink=Eu,ee.SfPanelMenu=yf,ee.SfTabNavigation=Pu,ee.SfTooltip=Ln,ee.UseAlertService=Qc,ee.UseAuthService=Rf,ee.UseAxiosClient=zp,ee.UseConfirmService=Yo,ee.UseNavMenuService=Tn,Object.defineProperty(ee,Symbol.toStringTag,{value:"Module"})});
159
+ `):" "+Zi(i[0]):"as no adapter specified";throw new ne("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return r},adapters:Or};function Lr(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Zt(null,t)}function es(t){return Lr(t),t.headers=Je.from(t.headers),t.data=Tr.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),Qi.getAdapter(t.adapter||Ir.adapter)(t).then(function(r){return Lr(t),r.data=Tr.call(t,t.transformResponse,r),r.headers=Je.from(r.headers),r},function(r){return Ji(r)||(Lr(t),r&&r.response&&(r.response.data=Tr.call(t,t.transformResponse,r.response),r.response.headers=Je.from(r.response.headers))),Promise.reject(r)})}const ts=t=>t instanceof Je?t.toJSON():t;function Et(t,e){e=e||{};const n={};function r(d,f,p){return b.isPlainObject(d)&&b.isPlainObject(f)?b.merge.call({caseless:p},d,f):b.isPlainObject(f)?b.merge({},f):b.isArray(f)?f.slice():f}function o(d,f,p){if(b.isUndefined(f)){if(!b.isUndefined(d))return r(void 0,d,p)}else return r(d,f,p)}function i(d,f){if(!b.isUndefined(f))return r(void 0,f)}function s(d,f){if(b.isUndefined(f)){if(!b.isUndefined(d))return r(void 0,d)}else return r(void 0,f)}function c(d,f,p){if(p in e)return r(d,f);if(p in t)return r(void 0,d)}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:c,headers:(d,f)=>o(ts(d),ts(f),!0)};return b.forEach(Object.keys(Object.assign({},t,e)),function(f){const p=l[f]||o,v=p(t[f],e[f],f);b.isUndefined(v)&&p!==c||(n[f]=v)}),n}const ns="1.6.5",Br={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Br[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const rs={};Br.transitional=function(e,n,r){function o(i,s){return"[Axios v"+ns+"] Transitional option '"+i+"'"+s+(r?". "+r:"")}return(i,s,c)=>{if(e===!1)throw new ne(o(s," has been removed"+(n?" in "+n:"")),ne.ERR_DEPRECATED);return n&&!rs[s]&&(rs[s]=!0,console.warn(o(s," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(i,s,c):!0}};function Hp(t,e,n){if(typeof t!="object")throw new ne("options must be an object",ne.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const i=r[o],s=e[i];if(s){const c=t[i],l=c===void 0||s(c,i,t);if(l!==!0)throw new ne("option "+i+" must be "+l,ne.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ne("Unknown option "+i,ne.ERR_BAD_OPTION)}}const Fr={assertOptions:Hp,validators:Br},nt=Fr.validators;class kn{constructor(e){this.defaults=e,this.interceptors={request:new Ki,response:new Ki}}request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Et(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:i}=n;r!==void 0&&Fr.assertOptions(r,{silentJSONParsing:nt.transitional(nt.boolean),forcedJSONParsing:nt.transitional(nt.boolean),clarifyTimeoutError:nt.transitional(nt.boolean)},!1),o!=null&&(b.isFunction(o)?n.paramsSerializer={serialize:o}:Fr.assertOptions(o,{encode:nt.function,serialize:nt.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let s=i&&b.merge(i.common,i[n.method]);i&&b.forEach(["delete","get","head","post","put","patch","common"],_=>{delete i[_]}),n.headers=Je.concat(s,i);const c=[];let l=!0;this.interceptors.request.forEach(function(x){typeof x.runWhen=="function"&&x.runWhen(n)===!1||(l=l&&x.synchronous,c.unshift(x.fulfilled,x.rejected))});const d=[];this.interceptors.response.forEach(function(x){d.push(x.fulfilled,x.rejected)});let f,p=0,v;if(!l){const _=[es.bind(this),void 0];for(_.unshift.apply(_,c),_.push.apply(_,d),v=_.length,f=Promise.resolve(n);p<v;)f=f.then(_[p++],_[p++]);return f}v=c.length;let w=n;for(p=0;p<v;){const _=c[p++],x=c[p++];try{w=_(w)}catch(C){x.call(this,C);break}}try{f=es.call(this,w)}catch(_){return Promise.reject(_)}for(p=0,v=d.length;p<v;)f=f.then(d[p++],d[p++]);return f}getUri(e){e=Et(this.defaults,e);const n=Yi(e.baseURL,e.url);return Vi(n,e.params,e.paramsSerializer)}}b.forEach(["delete","get","head","options"],function(e){kn.prototype[e]=function(n,r){return this.request(Et(r||{},{method:e,url:n,data:(r||{}).data}))}}),b.forEach(["post","put","patch"],function(e){function n(r){return function(i,s,c){return this.request(Et(c||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}kn.prototype[e]=n(),kn.prototype[e+"Form"]=n(!0)});const xn=kn;class Rr{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const r=this;this.promise.then(o=>{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](o);r._listeners=null}),this.promise.then=o=>{let i;const s=new Promise(c=>{r.subscribe(c),i=c}).then(o);return s.cancel=function(){r.unsubscribe(i)},s},e(function(i,s,c){r.reason||(r.reason=new Zt(i,s,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}static source(){let e;return{token:new Rr(function(o){e=o}),cancel:e}}}const jp=Rr;function Vp(t){return function(n){return t.apply(null,n)}}function Kp(t){return b.isObject(t)&&t.isAxiosError===!0}const $r={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($r).forEach(([t,e])=>{$r[e]=t});const zp=$r;function os(t){const e=new xn(t),n=xi(xn.prototype.request,e);return b.extend(n,xn.prototype,e,{allOwnKeys:!0}),b.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return os(Et(t,o))},n}const ue=os(Ir);ue.Axios=xn,ue.CanceledError=Zt,ue.CancelToken=jp,ue.isCancel=Ji,ue.VERSION=ns,ue.toFormData=Cn,ue.AxiosError=ne,ue.Cancel=ue.CanceledError,ue.all=function(e){return Promise.all(e)},ue.spread=Vp,ue.isAxiosError=Kp,ue.mergeConfig=Et,ue.AxiosHeaders=Je,ue.formToJSON=t=>qi(b.isHTMLForm(t)?new FormData(t):t),ue.getAdapter=Qi.getAdapter,ue.HttpStatusCode=zp,ue.default=ue;class is{constructor(e,n){Me(this,"keycloak");Me(this,"axios");Me(this,"fileName","silent-login.html");this.keycloak=e,this.axios=ue.create(),this.axios.defaults.baseURL=n,this.axios.defaults.headers.common["content-type"]="application/json",this.axios.defaults.timeout=1e3*60*5,this.axios.interceptors.request.use(async r=>{await this.SilentLogin();const o=this.keycloak.token;return r.headers.Authorization=`Bearer ${o}`,r})}ParseAppResult(e){try{const n=typeof e.hasSuccess=="boolean",r=typeof e.hasError=="boolean",o=typeof e.httpStatusCode=="number",i=Array.isArray(e.errors);return n&&r&&o&&i?e:null}catch{return null}}HandleThen(e){const n=new Er,r=this.ParseAppResult(e.data);return r===null?(n.value=e.data,n):r.hasError?(r.errors.forEach(o=>n.WithError(o)),n.httpStatusCode=r.httpStatusCode,n):(n.value=e.data.value,n)}HandleCatch(e){var o;const n=new Er,r=this.ParseAppResult((o=e.response)==null?void 0:o.data);return r===null?n.WithError(e.message):(n.WithErrors(r.errors),n.httpStatusCode=r.httpStatusCode),n}async SilentLogin(){return new Promise(async e=>{if(!this.isTokenExpired){e(!0);return}const n=this.GenerateIframe(),r=o=>{if(document.body.removeChild(n),window.removeEventListener("message",r),o.origin!==location.origin){e(!1);return}const i=o.data.action,s=o.data.code,c=o.data.state,l=o.data.error;if(i!=="silent-login-iframe-result"||l==="login_required"||!s){e(!1);return}const d=new XMLHttpRequest;d.open("POST",this.tokenExchangeUrl,!0),d.setRequestHeader("Content-type","application/x-www-form-urlencoded"),d.onreadystatechange=()=>{if(d.readyState===4){if(d.status===200){const f=JSON.parse(d.responseText);this.keycloak.setToken(f.access_token,null,f.id_token,new Date().getTime()),e(!0);return}e(!1)}},d.send(this.TokenExchangeParams(s,c))};window.addEventListener("message",r)}).then(e=>(e||(this.keycloak.clearToken(),this.keycloak.login()),e))}GetCodeVerifierFromState(e){const n=`kc-callback-${e}`,r=localStorage.getItem(n);if(r)return localStorage.removeItem(n),JSON.parse(r).pkceCodeVerifier}TokenExchangeParams(e,n){let r=`code=${e}&grant_type=authorization_code`;return r+=`&client_id=${encodeURIComponent(this.keycloak.clientId)}`,r+=`&redirect_uri=${this.silentLoginRedirectUrl}`,r+=`&code_verifier=${this.GetCodeVerifierFromState(n)}`,r}GenerateIframe(){const e=document.createElement("iframe");return e.src=this.keycloak.createLoginUrl({prompt:"none",redirectUri:this.silentLoginRedirectUrl})??"",document.body.appendChild(e),e}get silentLoginRedirectUrl(){return`${location.origin}/${this.fileName}`}get tokenExchangeUrl(){return`${this.keycloak.authServerUrl}/realms/${this.keycloak.realm}/protocol/openid-connect/token`}get isTokenExpired(){const e=this.keycloak.tokenParsed,n=e?e.exp:null;return!e||!n?!0:n-Math.ceil(new Date().getTime()/1e3)+(this.keycloak.timeSkew??0)<10}}const Wp=(t,e)=>new is(t,e);ir.SetInitialTheme(),ee.AppResult=Er,ee.AxiosClient=is,ee.SfButton=zr,ee.SfContent=Cu,ee.SfDrawer=Kr,ee.SfIcon=Qe,ee.SfLayout=bu,ee.SfMessage=Ou,ee.SfNavMenuLink=Eu,ee.SfPanelMenu=yf,ee.SfTabNavigation=Pu,ee.SfTooltip=Ln,ee.UseAlertService=Qc,ee.UseAuthService=$f,ee.UseAxiosClient=Wp,ee.UseConfirmService=Yo,ee.UseNavMenuService=Tn,Object.defineProperty(ee,Symbol.toStringTag,{value:"Module"})});
160
160
  //# sourceMappingURL=sf.prefeiturasp.vuecomponents.umd.js.map