import{gasje}from"./dateFormat.a9df66b7.js";import{rasDt}from"./record.727acb18.js";import{SasIt}from"./Spinner.9807c4e4.js";import{_asLt}from"./index.6b72a0c0.js";import{easOt,xasle,fasMt,oasg,gasm,hasc,FasO,kasce,nasVe,tasp,masJ,PasH,pasFt,AasHt,Basjt,lasP}from"./vendor.961f4417.js";varet="/jm-expense-vue-ts/assets/favicon.90f8b31e.ico",tt="/jm-expense-vue-ts/assets/karol.27263ac1.png";constot="SweetAlert2:",Vt=e=>{constt=[];for(leto=0;o<e.length;o++)t.indexOf(e[o])===-1&&t.push(e[o]);returnt},_e=e=>e.charAt(0).toUpperCase()+e.slice(1),S=e=>Array.prototype.slice.call(e),A=e=>{console.warn(`${ot}${typeofe=="object"?e.join(" "):e}`)},W=e=>{console.error(`${ot}${e}`)},qe=[],qt=e=>{qe.includes(e)||(qe.push(e),A(e))},Wt=(e,t)=>{qt(`"${e}" is deprecated and will be removed in the next major release. Please use "${t}" instead.`)},pe=e=>typeofe=="function"?e():e,Ae=e=>e&&typeofe.toPromise=="function",te=e=>Ae(e)?e.toPromise():Promise.resolve(e),Ee=e=>e&&Promise.resolve(e)===e,R={title:"",titleText:"",text:"",html:"",footer:"",icon:void0,iconColor:void0,iconHtml:void0,template:void0,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:void0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void0,preDeny:void0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void0,imageWidth:void0,imageHeight:void0,imageAlt:"",timer:void0,timerProgressBar:!1,width:void0,padding:void0,background:void0,input:void0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void0,returnInputValueOnDeny:!1,validationMessage:void0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void0,progressStepsDistance:void0,willOpen:void0,didOpen:void0,didRender:void0,willClose:void0,didClose:void0,didDestroy:void0,scrollbarPadding:!0},Nt=["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"],Rt={},Ut=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],nt=e=>Object.prototype.hasOwnProperty.call(R,e),st=e=>Nt.indexOf(e)!==-1,ve=e=>Rt[e],zt=e=>{nt(e)||A(`Unknown parameter "${e}"`)},Kt=e=>{Ut.includes(e)&&A(`The parameter "${e}" is incompatible with toasts`)},Yt=e=>{ve(e)&&Wt(e,ve(e))},Zt=e=>{!e.backdrop&&e.allowOutsideClick&&A('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(consttine)zt(t),e.toast&&Kt(t),Yt(t)},Jt="swal2-",it=e=>{constt={};for(constoine)t[e[o]]=Jt+e[o];returnt},s=it(["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-o
`,Ue=(e,t)=>{e.textContent="",t.iconHtml?v(e,ze(t.iconHtml)):t.icon==="success"?v(e,Oo):t.icon==="error"?v(e,Mo):v(e,ze({question:"?",warning:"!",info:"i"}[t.icon]))},Fo=(e,t)=>{if(!!t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const o of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])We(e,o,"backgroundColor",t.iconColor);We(e,".swal2-success-ring","borderColor",t.iconColor)}},ze=e=>`<divclass="${s["icon-content"]}">${e}</div>`,Ho=(e,t)=>{consto=lt();if(!t.imageUrl)returnk(o);y(o,""),o.setAttribute("src",t.imageUrl),o.setAttribute("alt",t.imageAlt),G(o,"width",t.imageWidth),G(o,"height",t.imageHeight),o.className=s.image,x(o,t,"image")},jo=e=>{constt=document.createElement("li");returnd(t,s["progress-step"]),v(t,e),t},Vo=e=>{constt=document.createElement("li");returnd(t,s["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t},qo=(e,t)=>{consto=ct();if(!t.progressSteps||t.progressSteps.length===0)returnk(o);y(o),o.textContent="",t.currentProgressStep>=t.progressSteps.length&&A("InvalidcurrentProgressStepparameter,itshouldbelessthanprogressSteps.length(currentProgressSteplikeJSarraysstartsfrom0)"),t.progressSteps.forEach((n,i)=>{constr=jo(n);if(o.appendChild(r),i===t.currentProgressStep&&d(r,s["active-progress-step"]),i!==t.progressSteps.length-1){consth=Vo(t);o.appendChild(h)}})},Wo=(e,t)=>{consto=rt();be(o,t.title||t.titleText,"block"),t.title&&Ie(t.title,o),t.titleText&&(o.innerText=t.titleText),x(o,t,"title")},No=(e,t)=>{consto=C(),n=f();t.toast?(G(o,"width",t.width),n.style.width="100%",n.insertBefore(K(),ne())):G(n,"width",t.width),G(n,"padding",t.padding),t.color&&(n.style.color=t.color),t.background&&(n.style.background=t.background),k(he()),Ro(n,t)},Ro=(e,t)=>{e.className=`${s.popup}${E(e)?t.showClass.popup:""}`,t.toast?(d([document.documentElement,document.body],s["toast-shown"]),d(e,s.toast)):d(e,s.modal),x(e,t,"popup"),typeoft.customClass=="string"&&d(e,t.customClass),t.icon&&d(e,s[`icon-${t.icon}`])},gt=(e,t)=>{No(e,t),Po(e,t),qo(e,t),Io(e,t),Ho(e,t),Wo(e,t),Do(e,t),$o(e,t),bo(e,t),To(e,t),typeoft.didRender=="function"&&t.didRender(f())},Y=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Uo=()=>{S(document.body.children).forEach(t=>{t===C()||t.contains(C())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))})},mt=()=>{S(document.body.children).forEach(t=>{t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})},bt=["swal-title","swal-html","swal-footer"],zo=e=>{constt=typeofe.template=="string"?document.querySelector(e.template):e.template;if(!t)return{};consto=t.content;returnQo(o),Object.assign(Ko(o),Yo(o),Zo(o),Jo(o),Xo(o),Go(o,bt))},Ko=e=>{constt={};returnS(e.querySelectorAll("swal-param")).forEach(o=>{q(o,["name","value"]);constn=o.getAttribute("name"),i=o.getAttribute("value");typeofR[n]=="boolean"&&i==="false"&&(t[n]=!1),typeofR[n]=="object"&&(t[n]=JSON.parse(i))}),t},Yo=e=>{constt={};returnS(e.querySelectorAll("swal-button")).forEach(o=>{q(o,["type","color","aria-label"]);constn=o.getAttribute("type");t[`${n}ButtonText`]=o.innerHTML,t[`show${_e(n)}Button`]=!0,o.hasAttribute("color")&&(t[`${n}ButtonColor`]=o.getAttribute("color")),o.hasAttribute("aria-label")&&(t[`${n}ButtonAriaLabel`]=o.getAttribute("aria-label"))}),t},Zo=e=>{constt={},o=e.querySelector("swal-image");returno&&(q(o,["src","width","height","alt"]),o.hasAttribute("src")&&(t.imageUrl=o.getAttribute("src")),o.hasAttribute("width")&&(t.imageWidth=o.getAttribute("width")),o.hasAttribute("height")&&(t.imageHeight=o.getAttribute("height")),o.hasAttribute("alt")&&(t.imageAlt=o.getAttribute("alt"))),t},Jo=e=>{constt={},o=e.querySelector("swal-icon");returno&&(q(o,["type","color"]),o.hasAttribute("ty