@konnec/vue-eloquent
Version:
An interface for Vue and Laravel Eloquent through API
8 lines • 143 kB
JavaScript
(function(b,g){typeof exports=="object"&&typeof module<"u"?g(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],g):(b=typeof globalThis<"u"?globalThis:b||self,g(b.VueEloquent={},b.Vue))})(this,function(b,g){"use strict";var Zh=Object.defineProperty;var Qh=(b,g,me)=>g in b?Zh(b,g,{enumerable:!0,configurable:!0,writable:!0,value:me}):b[g]=me;var T=(b,g,me)=>Qh(b,typeof g!="symbol"?g+"":g,me);b.broadcast=void 0;function me(e){if(!e)throw new Error("Client is required when creating Broadcast");b.broadcast=e}var Ke=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Pe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var St,Qn;function ge(){if(Qn)return St;Qn=1;var e=Array.isArray;return St=e,St}var wt,es;function ts(){if(es)return wt;es=1;var e=typeof Ke=="object"&&Ke&&Ke.Object===Object&&Ke;return wt=e,wt}var Ot,rs;function ze(){if(rs)return Ot;rs=1;var e=ts(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return Ot=r,Ot}var At,ns;function Rt(){if(ns)return At;ns=1;var e=ze(),t=e.Symbol;return At=t,At}var Tt,ss;function Tu(){if(ss)return Tt;ss=1;var e=Rt(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,s=e?e.toStringTag:void 0;function a(i){var o=r.call(i,s),l=i[s];try{i[s]=void 0;var u=!0}catch{}var f=n.call(i);return u&&(o?i[s]=l:delete i[s]),f}return Tt=a,Tt}var Ct,as;function Cu(){if(as)return Ct;as=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return Ct=r,Ct}var Pt,is;function Ge(){if(is)return Pt;is=1;var e=Rt(),t=Tu(),r=Cu(),n="[object Null]",s="[object Undefined]",a=e?e.toStringTag:void 0;function i(o){return o==null?o===void 0?s:n:a&&a in Object(o)?t(o):r(o)}return Pt=i,Pt}var Dt,os;function We(){if(os)return Dt;os=1;function e(t){return t!=null&&typeof t=="object"}return Dt=e,Dt}var It,us;function kt(){if(us)return It;us=1;var e=Ge(),t=We(),r="[object Symbol]";function n(s){return typeof s=="symbol"||t(s)&&e(s)==r}return It=n,It}var xt,ls;function Pu(){if(ls)return xt;ls=1;var e=ge(),t=kt(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function s(a,i){if(e(a))return!1;var o=typeof a;return o=="number"||o=="symbol"||o=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||i!=null&&a in Object(i)}return xt=s,xt}var Lt,cs;function Ft(){if(cs)return Lt;cs=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return Lt=e,Lt}var Nt,ds;function fs(){if(ds)return Nt;ds=1;var e=Ge(),t=Ft(),r="[object AsyncFunction]",n="[object Function]",s="[object GeneratorFunction]",a="[object Proxy]";function i(o){if(!t(o))return!1;var l=e(o);return l==n||l==s||l==r||l==a}return Nt=i,Nt}var Ut,hs;function Du(){if(hs)return Ut;hs=1;var e=ze(),t=e["__core-js_shared__"];return Ut=t,Ut}var Bt,ps;function Iu(){if(ps)return Bt;ps=1;var e=Du(),t=function(){var n=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function r(n){return!!t&&t in n}return Bt=r,Bt}var Vt,_s;function ku(){if(_s)return Vt;_s=1;var e=Function.prototype,t=e.toString;function r(n){if(n!=null){try{return t.call(n)}catch{}try{return n+""}catch{}}return""}return Vt=r,Vt}var $t,ms;function xu(){if(ms)return $t;ms=1;var e=fs(),t=Iu(),r=Ft(),n=ku(),s=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,i=Function.prototype,o=Object.prototype,l=i.toString,u=o.hasOwnProperty,f=RegExp("^"+l.call(u).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function d(y){if(!r(y)||t(y))return!1;var _=e(y)?f:a;return _.test(n(y))}return $t=d,$t}var qt,gs;function Lu(){if(gs)return qt;gs=1;function e(t,r){return t==null?void 0:t[r]}return qt=e,qt}var Mt,Es;function jt(){if(Es)return Mt;Es=1;var e=xu(),t=Lu();function r(n,s){var a=t(n,s);return e(a)?a:void 0}return Mt=r,Mt}var Ht,ys;function Je(){if(ys)return Ht;ys=1;var e=jt(),t=e(Object,"create");return Ht=t,Ht}var Kt,vs;function Fu(){if(vs)return Kt;vs=1;var e=Je();function t(){this.__data__=e?e(null):{},this.size=0}return Kt=t,Kt}var zt,bs;function Nu(){if(bs)return zt;bs=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return zt=e,zt}var Gt,Ss;function Uu(){if(Ss)return Gt;Ss=1;var e=Je(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function s(a){var i=this.__data__;if(e){var o=i[a];return o===t?void 0:o}return n.call(i,a)?i[a]:void 0}return Gt=s,Gt}var Wt,ws;function Bu(){if(ws)return Wt;ws=1;var e=Je(),t=Object.prototype,r=t.hasOwnProperty;function n(s){var a=this.__data__;return e?a[s]!==void 0:r.call(a,s)}return Wt=n,Wt}var Jt,Os;function Vu(){if(Os)return Jt;Os=1;var e=Je(),t="__lodash_hash_undefined__";function r(n,s){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&s===void 0?t:s,this}return Jt=r,Jt}var Yt,As;function $u(){if(As)return Yt;As=1;var e=Fu(),t=Nu(),r=Uu(),n=Bu(),s=Vu();function a(i){var o=-1,l=i==null?0:i.length;for(this.clear();++o<l;){var u=i[o];this.set(u[0],u[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=s,Yt=a,Yt}var Xt,Rs;function qu(){if(Rs)return Xt;Rs=1;function e(){this.__data__=[],this.size=0}return Xt=e,Xt}var Zt,Ts;function Cs(){if(Ts)return Zt;Ts=1;function e(t,r){return t===r||t!==t&&r!==r}return Zt=e,Zt}var Qt,Ps;function Ye(){if(Ps)return Qt;Ps=1;var e=Cs();function t(r,n){for(var s=r.length;s--;)if(e(r[s][0],n))return s;return-1}return Qt=t,Qt}var er,Ds;function Mu(){if(Ds)return er;Ds=1;var e=Ye(),t=Array.prototype,r=t.splice;function n(s){var a=this.__data__,i=e(a,s);if(i<0)return!1;var o=a.length-1;return i==o?a.pop():r.call(a,i,1),--this.size,!0}return er=n,er}var tr,Is;function ju(){if(Is)return tr;Is=1;var e=Ye();function t(r){var n=this.__data__,s=e(n,r);return s<0?void 0:n[s][1]}return tr=t,tr}var rr,ks;function Hu(){if(ks)return rr;ks=1;var e=Ye();function t(r){return e(this.__data__,r)>-1}return rr=t,rr}var nr,xs;function Ku(){if(xs)return nr;xs=1;var e=Ye();function t(r,n){var s=this.__data__,a=e(s,r);return a<0?(++this.size,s.push([r,n])):s[a][1]=n,this}return nr=t,nr}var sr,Ls;function zu(){if(Ls)return sr;Ls=1;var e=qu(),t=Mu(),r=ju(),n=Hu(),s=Ku();function a(i){var o=-1,l=i==null?0:i.length;for(this.clear();++o<l;){var u=i[o];this.set(u[0],u[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=s,sr=a,sr}var ar,Fs;function Gu(){if(Fs)return ar;Fs=1;var e=jt(),t=ze(),r=e(t,"Map");return ar=r,ar}var ir,Ns;function Wu(){if(Ns)return ir;Ns=1;var e=$u(),t=zu(),r=Gu();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return ir=n,ir}var or,Us;function Ju(){if(Us)return or;Us=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return or=e,or}var ur,Bs;function Xe(){if(Bs)return ur;Bs=1;var e=Ju();function t(r,n){var s=r.__data__;return e(n)?s[typeof n=="string"?"string":"hash"]:s.map}return ur=t,ur}var lr,Vs;function Yu(){if(Vs)return lr;Vs=1;var e=Xe();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return lr=t,lr}var cr,$s;function Xu(){if($s)return cr;$s=1;var e=Xe();function t(r){return e(this,r).get(r)}return cr=t,cr}var dr,qs;function Zu(){if(qs)return dr;qs=1;var e=Xe();function t(r){return e(this,r).has(r)}return dr=t,dr}var fr,Ms;function Qu(){if(Ms)return fr;Ms=1;var e=Xe();function t(r,n){var s=e(this,r),a=s.size;return s.set(r,n),this.size+=s.size==a?0:1,this}return fr=t,fr}var hr,js;function el(){if(js)return hr;js=1;var e=Wu(),t=Yu(),r=Xu(),n=Zu(),s=Qu();function a(i){var o=-1,l=i==null?0:i.length;for(this.clear();++o<l;){var u=i[o];this.set(u[0],u[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=s,hr=a,hr}var pr,Hs;function tl(){if(Hs)return pr;Hs=1;var e=el(),t="Expected a function";function r(n,s){if(typeof n!="function"||s!=null&&typeof s!="function")throw new TypeError(t);var a=function(){var i=arguments,o=s?s.apply(this,i):i[0],l=a.cache;if(l.has(o))return l.get(o);var u=n.apply(this,i);return a.cache=l.set(o,u)||l,u};return a.cache=new(r.Cache||e),a}return r.Cache=e,pr=r,pr}var _r,Ks;function rl(){if(Ks)return _r;Ks=1;var e=tl(),t=500;function r(n){var s=e(n,function(i){return a.size===t&&a.clear(),i}),a=s.cache;return s}return _r=r,_r}var mr,zs;function nl(){if(zs)return mr;zs=1;var e=rl(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(s){var a=[];return s.charCodeAt(0)===46&&a.push(""),s.replace(t,function(i,o,l,u){a.push(l?u.replace(r,"$1"):o||i)}),a});return mr=n,mr}var gr,Gs;function sl(){if(Gs)return gr;Gs=1;function e(t,r){for(var n=-1,s=t==null?0:t.length,a=Array(s);++n<s;)a[n]=r(t[n],n,t);return a}return gr=e,gr}var Er,Ws;function al(){if(Ws)return Er;Ws=1;var e=Rt(),t=sl(),r=ge(),n=kt(),s=1/0,a=e?e.prototype:void 0,i=a?a.toString:void 0;function o(l){if(typeof l=="string")return l;if(r(l))return t(l,o)+"";if(n(l))return i?i.call(l):"";var u=l+"";return u=="0"&&1/l==-s?"-0":u}return Er=o,Er}var yr,Js;function il(){if(Js)return yr;Js=1;var e=al();function t(r){return r==null?"":e(r)}return yr=t,yr}var vr,Ys;function br(){if(Ys)return vr;Ys=1;var e=ge(),t=Pu(),r=nl(),n=il();function s(a,i){return e(a)?a:t(a,i)?[a]:r(n(a))}return vr=s,vr}var Sr,Xs;function wr(){if(Xs)return Sr;Xs=1;var e=kt(),t=1/0;function r(n){if(typeof n=="string"||e(n))return n;var s=n+"";return s=="0"&&1/n==-t?"-0":s}return Sr=r,Sr}var Or,Zs;function ol(){if(Zs)return Or;Zs=1;var e=br(),t=wr();function r(n,s){s=e(s,n);for(var a=0,i=s.length;n!=null&&a<i;)n=n[t(s[a++])];return a&&a==i?n:void 0}return Or=r,Or}var Ar,Qs;function ul(){if(Qs)return Ar;Qs=1;var e=ol();function t(r,n,s){var a=r==null?void 0:e(r,n);return a===void 0?s:a}return Ar=t,Ar}var ll=ul();const cl=Pe(ll);var Rr,ea;function dl(){if(ea)return Rr;ea=1;var e=Object.prototype,t=e.hasOwnProperty;function r(n,s){return n!=null&&t.call(n,s)}return Rr=r,Rr}var Tr,ta;function fl(){if(ta)return Tr;ta=1;var e=Ge(),t=We(),r="[object Arguments]";function n(s){return t(s)&&e(s)==r}return Tr=n,Tr}var Cr,ra;function na(){if(ra)return Cr;ra=1;var e=fl(),t=We(),r=Object.prototype,n=r.hasOwnProperty,s=r.propertyIsEnumerable,a=e(function(){return arguments}())?e:function(i){return t(i)&&n.call(i,"callee")&&!s.call(i,"callee")};return Cr=a,Cr}var Pr,sa;function Dr(){if(sa)return Pr;sa=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,s){var a=typeof n;return s=s??e,!!s&&(a=="number"||a!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<s}return Pr=r,Pr}var Ir,aa;function kr(){if(aa)return Ir;aa=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return Ir=t,Ir}var xr,ia;function hl(){if(ia)return xr;ia=1;var e=br(),t=na(),r=ge(),n=Dr(),s=kr(),a=wr();function i(o,l,u){l=e(l,o);for(var f=-1,d=l.length,y=!1;++f<d;){var _=a(l[f]);if(!(y=o!=null&&u(o,_)))break;o=o[_]}return y||++f!=d?y:(d=o==null?0:o.length,!!d&&s(d)&&n(_,d)&&(r(o)||t(o)))}return xr=i,xr}var Lr,oa;function pl(){if(oa)return Lr;oa=1;var e=dl(),t=hl();function r(n,s){return n!=null&&t(n,s,e)}return Lr=r,Lr}var _l=pl();const ml=Pe(_l);var Fr,ua;function gl(){if(ua)return Fr;ua=1;var e=jt(),t=function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}}();return Fr=t,Fr}var Nr,la;function El(){if(la)return Nr;la=1;var e=gl();function t(r,n,s){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:s,writable:!0}):r[n]=s}return Nr=t,Nr}var Ur,ca;function yl(){if(ca)return Ur;ca=1;var e=El(),t=Cs(),r=Object.prototype,n=r.hasOwnProperty;function s(a,i,o){var l=a[i];(!(n.call(a,i)&&t(l,o))||o===void 0&&!(i in a))&&e(a,i,o)}return Ur=s,Ur}var Br,da;function vl(){if(da)return Br;da=1;var e=yl(),t=br(),r=Dr(),n=Ft(),s=wr();function a(i,o,l,u){if(!n(i))return i;o=t(o,i);for(var f=-1,d=o.length,y=d-1,_=i;_!=null&&++f<d;){var c=s(o[f]),m=l;if(c==="__proto__"||c==="constructor"||c==="prototype")return i;if(f!=y){var h=_[c];m=u?u(h,c,_):void 0,m===void 0&&(m=n(h)?h:r(o[f+1])?[]:{})}e(_,c,m),_=_[c]}return i}return Br=a,Br}var Vr,fa;function bl(){if(fa)return Vr;fa=1;var e=vl();function t(r,n,s){return r==null?r:e(r,n,s)}return Vr=t,Vr}var Sl=bl();const wl=Pe(Sl),$r=(e,t)=>(t.forEach(r=>{const s=r.split(".").join(".");if(ml(e,s)){const a=cl(e,s);a&&wl(e,s,new Date(a))}}),e),ha=(e,t)=>typeof e<"u"?typeof e.length>"u"?(e=$r(e,t),e):(e.forEach(r=>{$r(r,t)}),e):e;function pa(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ol}=Object.prototype,{getPrototypeOf:qr}=Object,Ze=(e=>t=>{const r=Ol.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Q=e=>(e=e.toLowerCase(),t=>Ze(t)===e),Qe=e=>t=>typeof t===e,{isArray:Ee}=Array,De=Qe("undefined");function Al(e){return e!==null&&!De(e)&&e.constructor!==null&&!De(e.constructor)&&W(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const _a=Q("ArrayBuffer");function Rl(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&_a(e.buffer),t}const Tl=Qe("string"),W=Qe("function"),ma=Qe("number"),et=e=>e!==null&&typeof e=="object",Cl=e=>e===!0||e===!1,tt=e=>{if(Ze(e)!=="object")return!1;const t=qr(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Pl=Q("Date"),Dl=Q("File"),Il=Q("Blob"),kl=Q("FileList"),xl=e=>et(e)&&W(e.pipe),Ll=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||W(e.append)&&((t=Ze(e))==="formdata"||t==="object"&&W(e.toString)&&e.toString()==="[object FormData]"))},Fl=Q("URLSearchParams"),[Nl,Ul,Bl,Vl]=["ReadableStream","Request","Response","Headers"].map(Q),$l=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ie(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,s;if(typeof e!="object"&&(e=[e]),Ee(e))for(n=0,s=e.length;n<s;n++)t.call(null,e[n],n,e);else{const a=r?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let o;for(n=0;n<i;n++)o=a[n],t.call(null,e[o],o,e)}}function ga(e,t){t=t.toLowerCase();const r=Object.keys(e);let n=r.length,s;for(;n-- >0;)if(s=r[n],t===s.toLowerCase())return s;return null}const ce=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Ea=e=>!De(e)&&e!==ce;function Mr(){const{caseless:e}=Ea(this)&&this||{},t={},r=(n,s)=>{const a=e&&ga(t,s)||s;tt(t[a])&&tt(n)?t[a]=Mr(t[a],n):tt(n)?t[a]=Mr({},n):Ee(n)?t[a]=n.slice():t[a]=n};for(let n=0,s=arguments.length;n<s;n++)arguments[n]&&Ie(arguments[n],r);return t}const ql=(e,t,r,{allOwnKeys:n}={})=>(Ie(t,(s,a)=>{r&&W(s)?e[a]=pa(s,r):e[a]=s},{allOwnKeys:n}),e),Ml=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),jl=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Hl=(e,t,r,n)=>{let s,a,i;const o={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),a=s.length;a-- >0;)i=s[a],(!n||n(i,e,t))&&!o[i]&&(t[i]=e[i],o[i]=!0);e=r!==!1&&qr(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Kl=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},zl=e=>{if(!e)return null;if(Ee(e))return e;let t=e.length;if(!ma(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Gl=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&qr(Uint8Array)),Wl=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=n.next())&&!s.done;){const a=s.value;t.call(e,a[0],a[1])}},Jl=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Yl=Q("HTMLFormElement"),Xl=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,s){return n.toUpperCase()+s}),ya=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Zl=Q("RegExp"),va=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Ie(r,(s,a)=>{let i;(i=t(s,a,e))!==!1&&(n[a]=i||s)}),Object.defineProperties(e,n)},Ql=e=>{va(e,(t,r)=>{if(W(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(W(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},ec=(e,t)=>{const r={},n=s=>{s.forEach(a=>{r[a]=!0})};return Ee(e)?n(e):n(String(e).split(t)),r},tc=()=>{},rc=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,jr="abcdefghijklmnopqrstuvwxyz",ba="0123456789",Sa={DIGIT:ba,ALPHA:jr,ALPHA_DIGIT:jr+jr.toUpperCase()+ba},nc=(e=16,t=Sa.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function sc(e){return!!(e&&W(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const ac=e=>{const t=new Array(10),r=(n,s)=>{if(et(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[s]=n;const a=Ee(n)?[]:{};return Ie(n,(i,o)=>{const l=r(i,s+1);!De(l)&&(a[o]=l)}),t[s]=void 0,a}}return n};return r(e,0)},ic=Q("AsyncFunction"),oc=e=>e&&(et(e)||W(e))&&W(e.then)&&W(e.catch),wa=((e,t)=>e?setImmediate:t?((r,n)=>(ce.addEventListener("message",({source:s,data:a})=>{s===ce&&a===r&&n.length&&n.shift()()},!1),s=>{n.push(s),ce.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",W(ce.postMessage)),uc=typeof queueMicrotask<"u"?queueMicrotask.bind(ce):typeof process<"u"&&process.nextTick||wa,p={isArray:Ee,isArrayBuffer:_a,isBuffer:Al,isFormData:Ll,isArrayBufferView:Rl,isString:Tl,isNumber:ma,isBoolean:Cl,isObject:et,isPlainObject:tt,isReadableStream:Nl,isRequest:Ul,isResponse:Bl,isHeaders:Vl,isUndefined:De,isDate:Pl,isFile:Dl,isBlob:Il,isRegExp:Zl,isFunction:W,isStream:xl,isURLSearchParams:Fl,isTypedArray:Gl,isFileList:kl,forEach:Ie,merge:Mr,extend:ql,trim:$l,stripBOM:Ml,inherits:jl,toFlatObject:Hl,kindOf:Ze,kindOfTest:Q,endsWith:Kl,toArray:zl,forEachEntry:Wl,matchAll:Jl,isHTMLForm:Yl,hasOwnProperty:ya,hasOwnProp:ya,reduceDescriptors:va,freezeMethods:Ql,toObjectSet:ec,toCamelCase:Xl,noop:tc,toFiniteNumber:rc,findKey:ga,global:ce,isContextDefined:Ea,ALPHABET:Sa,generateString:nc,isSpecCompliantForm:sc,toJSONObject:ac,isAsyncFn:ic,isThenable:oc,setImmediate:wa,asap:uc};function A(e,t,r,n,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),s&&(this.response=s,this.status=s.status?s.status:null)}p.inherits(A,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:p.toJSONObject(this.config),code:this.code,status:this.status}}});const Oa=A.prototype,Aa={};["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(e=>{Aa[e]={value:e}}),Object.defineProperties(A,Aa),Object.defineProperty(Oa,"isAxiosError",{value:!0}),A.from=(e,t,r,n,s,a)=>{const i=Object.create(Oa);return p.toFlatObject(e,i,function(l){return l!==Error.prototype},o=>o!=="isAxiosError"),A.call(i,e.message,t,r,n,s),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const lc=null;function Hr(e){return p.isPlainObject(e)||p.isArray(e)}function Ra(e){return p.endsWith(e,"[]")?e.slice(0,-2):e}function Ta(e,t,r){return e?e.concat(t).map(function(s,a){return s=Ra(s),!r&&a?"["+s+"]":s}).join(r?".":""):t}function cc(e){return p.isArray(e)&&!e.some(Hr)}const dc=p.toFlatObject(p,{},null,function(t){return/^is[A-Z]/.test(t)});function rt(e,t,r){if(!p.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=p.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(m,h){return!p.isUndefined(h[m])});const n=r.metaTokens,s=r.visitor||f,a=r.dots,i=r.indexes,l=(r.Blob||typeof Blob<"u"&&Blob)&&p.isSpecCompliantForm(t);if(!p.isFunction(s))throw new TypeError("visitor must be a function");function u(c){if(c===null)return"";if(p.isDate(c))return c.toISOString();if(!l&&p.isBlob(c))throw new A("Blob is not supported. Use a Buffer instead.");return p.isArrayBuffer(c)||p.isTypedArray(c)?l&&typeof Blob=="function"?new Blob([c]):Buffer.from(c):c}function f(c,m,h){let E=c;if(c&&!h&&typeof c=="object"){if(p.endsWith(m,"{}"))m=n?m:m.slice(0,-2),c=JSON.stringify(c);else if(p.isArray(c)&&cc(c)||(p.isFileList(c)||p.endsWith(m,"[]"))&&(E=p.toArray(c)))return m=Ra(m),E.forEach(function(O,P){!(p.isUndefined(O)||O===null)&&t.append(i===!0?Ta([m],P,a):i===null?m:m+"[]",u(O))}),!1}return Hr(c)?!0:(t.append(Ta(h,m,a),u(c)),!1)}const d=[],y=Object.assign(dc,{defaultVisitor:f,convertValue:u,isVisitable:Hr});function _(c,m){if(!p.isUndefined(c)){if(d.indexOf(c)!==-1)throw Error("Circular reference detected in "+m.join("."));d.push(c),p.forEach(c,function(E,w){(!(p.isUndefined(E)||E===null)&&s.call(t,E,p.isString(w)?w.trim():w,m,y))===!0&&_(E,m?m.concat(w):[w])}),d.pop()}}if(!p.isObject(e))throw new TypeError("data must be an object");return _(e),t}function Ca(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Kr(e,t){this._pairs=[],e&&rt(e,this,t)}const Pa=Kr.prototype;Pa.append=function(t,r){this._pairs.push([t,r])},Pa.toString=function(t){const r=t?function(n){return t.call(this,n,Ca)}:Ca;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function fc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Da(e,t,r){if(!t)return e;const n=r&&r.encode||fc;p.isFunction(r)&&(r={serialize:r});const s=r&&r.serialize;let a;if(s?a=s(t,r):a=p.isURLSearchParams(t)?t.toString():new Kr(t,r).toString(n),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Ia{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){p.forEach(this.handlers,function(n){n!==null&&t(n)})}}const ka={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hc={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"]},zr=typeof window<"u"&&typeof document<"u",Gr=typeof navigator=="object"&&navigator||void 0,pc=zr&&(!Gr||["ReactNative","NativeScript","NS"].indexOf(Gr.product)<0),_c=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",mc=zr&&window.location.href||"http://localhost",M={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zr,hasStandardBrowserEnv:pc,hasStandardBrowserWebWorkerEnv:_c,navigator:Gr,origin:mc},Symbol.toStringTag,{value:"Module"})),...hc};function gc(e,t){return rt(e,new M.classes.URLSearchParams,Object.assign({visitor:function(r,n,s,a){return M.isNode&&p.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function Ec(e){return p.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function yc(e){const t={},r=Object.keys(e);let n;const s=r.length;let a;for(n=0;n<s;n++)a=r[n],t[a]=e[a];return t}function xa(e){function t(r,n,s,a){let i=r[a++];if(i==="__proto__")return!0;const o=Number.isFinite(+i),l=a>=r.length;return i=!i&&p.isArray(s)?s.length:i,l?(p.hasOwnProp(s,i)?s[i]=[s[i],n]:s[i]=n,!o):((!s[i]||!p.isObject(s[i]))&&(s[i]=[]),t(r,n,s[i],a)&&p.isArray(s[i])&&(s[i]=yc(s[i])),!o)}if(p.isFormData(e)&&p.isFunction(e.entries)){const r={};return p.forEachEntry(e,(n,s)=>{t(Ec(n),s,r,0)}),r}return null}function vc(e,t,r){if(p.isString(e))try{return(t||JSON.parse)(e),p.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const ke={transitional:ka,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",s=n.indexOf("application/json")>-1,a=p.isObject(t);if(a&&p.isHTMLForm(t)&&(t=new FormData(t)),p.isFormData(t))return s?JSON.stringify(xa(t)):t;if(p.isArrayBuffer(t)||p.isBuffer(t)||p.isStream(t)||p.isFile(t)||p.isBlob(t)||p.isReadableStream(t))return t;if(p.isArrayBufferView(t))return t.buffer;if(p.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return gc(t,this.formSerializer).toString();if((o=p.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return rt(o?{"files[]":t}:t,l&&new l,this.formSerializer)}}return a||s?(r.setContentType("application/json",!1),vc(t)):t}],transformResponse:[function(t){const r=this.transitional||ke.transitional,n=r&&r.forcedJSONParsing,s=this.responseType==="json";if(p.isResponse(t)||p.isReadableStream(t))return t;if(t&&p.isString(t)&&(n&&!this.responseType||s)){const i=!(r&&r.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?A.from(o,A.ERR_BAD_RESPONSE,this,null,this.response):o}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:M.classes.FormData,Blob:M.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};p.forEach(["delete","get","head","post","put","patch"],e=>{ke.headers[e]={}});const bc=p.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"]),Sc=e=>{const t={};let r,n,s;return e&&e.split(`
`).forEach(function(i){s=i.indexOf(":"),r=i.substring(0,s).trim().toLowerCase(),n=i.substring(s+1).trim(),!(!r||t[r]&&bc[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},La=Symbol("internals");function xe(e){return e&&String(e).trim().toLowerCase()}function nt(e){return e===!1||e==null?e:p.isArray(e)?e.map(nt):String(e)}function wc(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const Oc=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Wr(e,t,r,n,s){if(p.isFunction(n))return n.call(this,t,r);if(s&&(t=r),!!p.isString(t)){if(p.isString(n))return t.indexOf(n)!==-1;if(p.isRegExp(n))return n.test(t)}}function Ac(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function Rc(e,t){const r=p.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(s,a,i){return this[n].call(this,t,s,a,i)},configurable:!0})})}class z{constructor(t){t&&this.set(t)}set(t,r,n){const s=this;function a(o,l,u){const f=xe(l);if(!f)throw new Error("header name must be a non-empty string");const d=p.findKey(s,f);(!d||s[d]===void 0||u===!0||u===void 0&&s[d]!==!1)&&(s[d||l]=nt(o))}const i=(o,l)=>p.forEach(o,(u,f)=>a(u,f,l));if(p.isPlainObject(t)||t instanceof this.constructor)i(t,r);else if(p.isString(t)&&(t=t.trim())&&!Oc(t))i(Sc(t),r);else if(p.isHeaders(t))for(const[o,l]of t.entries())a(l,o,n);else t!=null&&a(r,t,n);return this}get(t,r){if(t=xe(t),t){const n=p.findKey(this,t);if(n){const s=this[n];if(!r)return s;if(r===!0)return wc(s);if(p.isFunction(r))return r.call(this,s,n);if(p.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=xe(t),t){const n=p.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Wr(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let s=!1;function a(i){if(i=xe(i),i){const o=p.findKey(n,i);o&&(!r||Wr(n,n[o],o,r))&&(delete n[o],s=!0)}}return p.isArray(t)?t.forEach(a):a(t),s}clear(t){const r=Object.keys(this);let n=r.length,s=!1;for(;n--;){const a=r[n];(!t||Wr(this,this[a],a,t,!0))&&(delete this[a],s=!0)}return s}normalize(t){const r=this,n={};return p.forEach(this,(s,a)=>{const i=p.findKey(n,a);if(i){r[i]=nt(s),delete r[a];return}const o=t?Ac(a):String(a).trim();o!==a&&delete r[a],r[o]=nt(s),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return p.forEach(this,(n,s)=>{n!=null&&n!==!1&&(r[s]=t&&p.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(s=>n.set(s)),n}static accessor(t){const n=(this[La]=this[La]={accessors:{}}).accessors,s=this.prototype;function a(i){const o=xe(i);n[o]||(Rc(s,i),n[o]=!0)}return p.isArray(t)?t.forEach(a):a(t),this}}z.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),p.reduceDescriptors(z.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}}),p.freezeMethods(z);function Jr(e,t){const r=this||ke,n=t||r,s=z.from(n.headers);let a=n.data;return p.forEach(e,function(o){a=o.call(r,a,s.normalize(),t?t.status:void 0)}),s.normalize(),a}function Fa(e){return!!(e&&e.__CANCEL__)}function ye(e,t,r){A.call(this,e??"canceled",A.ERR_CANCELED,t,r),this.name="CanceledError"}p.inherits(ye,A,{__CANCEL__:!0});function Na(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new A("Request failed with status code "+r.status,[A.ERR_BAD_REQUEST,A.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Tc(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Cc(e,t){e=e||10;const r=new Array(e),n=new Array(e);let s=0,a=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),f=n[a];i||(i=u),r[s]=l,n[s]=u;let d=a,y=0;for(;d!==s;)y+=r[d++],d=d%e;if(s=(s+1)%e,s===a&&(a=(a+1)%e),u-i<t)return;const _=f&&u-f;return _?Math.round(y*1e3/_):void 0}}function Pc(e,t){let r=0,n=1e3/t,s,a;const i=(u,f=Date.now())=>{r=f,s=null,a&&(clearTimeout(a),a=null),e.apply(null,u)};return[(...u)=>{const f=Date.now(),d=f-r;d>=n?i(u,f):(s=u,a||(a=setTimeout(()=>{a=null,i(s)},n-d)))},()=>s&&i(s)]}const st=(e,t,r=3)=>{let n=0;const s=Cc(50,250);return Pc(a=>{const i=a.loaded,o=a.lengthComputable?a.total:void 0,l=i-n,u=s(l),f=i<=o;n=i;const d={loaded:i,total:o,progress:o?i/o:void 0,bytes:l,rate:u||void 0,estimated:u&&o&&f?(o-i)/u:void 0,event:a,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(d)},r)},Ua=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Ba=e=>(...t)=>p.asap(()=>e(...t)),Dc=M.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,M.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(M.origin),M.navigator&&/(msie|trident)/i.test(M.navigator.userAgent)):()=>!0,Ic=M.hasStandardBrowserEnv?{write(e,t,r,n,s,a){const i=[e+"="+encodeURIComponent(t)];p.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),p.isString(n)&&i.push("path="+n),p.isString(s)&&i.push("domain="+s),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function kc(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function xc(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Va(e,t){return e&&!kc(t)?xc(e,t):t}const $a=e=>e instanceof z?{...e}:e;function de(e,t){t=t||{};const r={};function n(u,f,d,y){return p.isPlainObject(u)&&p.isPlainObject(f)?p.merge.call({caseless:y},u,f):p.isPlainObject(f)?p.merge({},f):p.isArray(f)?f.slice():f}function s(u,f,d,y){if(p.isUndefined(f)){if(!p.isUndefined(u))return n(void 0,u,d,y)}else return n(u,f,d,y)}function a(u,f){if(!p.isUndefined(f))return n(void 0,f)}function i(u,f){if(p.isUndefined(f)){if(!p.isUndefined(u))return n(void 0,u)}else return n(void 0,f)}function o(u,f,d){if(d in t)return n(u,f);if(d in e)return n(void 0,u)}const l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:o,headers:(u,f,d)=>s($a(u),$a(f),d,!0)};return p.forEach(Object.keys(Object.assign({},e,t)),function(f){const d=l[f]||s,y=d(e[f],t[f],f);p.isUndefined(y)&&d!==o||(r[f]=y)}),r}const qa=e=>{const t=de({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:s,xsrfCookieName:a,headers:i,auth:o}=t;t.headers=i=z.from(i),t.url=Da(Va(t.baseURL,t.url),e.params,e.paramsSerializer),o&&i.set("Authorization","Basic "+btoa((o.username||"")+":"+(o.password?unescape(encodeURIComponent(o.password)):"")));let l;if(p.isFormData(r)){if(M.hasStandardBrowserEnv||M.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[u,...f]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...f].join("; "))}}if(M.hasStandardBrowserEnv&&(n&&p.isFunction(n)&&(n=n(t)),n||n!==!1&&Dc(t.url))){const u=s&&a&&Ic.read(a);u&&i.set(s,u)}return t},Lc=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(r,n){const s=qa(e);let a=s.data;const i=z.from(s.headers).normalize();let{responseType:o,onUploadProgress:l,onDownloadProgress:u}=s,f,d,y,_,c;function m(){_&&_(),c&&c(),s.cancelToken&&s.cancelToken.unsubscribe(f),s.signal&&s.signal.removeEventListener("abort",f)}let h=new XMLHttpRequest;h.open(s.method.toUpperCase(),s.url,!0),h.timeout=s.timeout;function E(){if(!h)return;const O=z.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),F={data:!o||o==="text"||o==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:O,config:e,request:h};Na(function(G){r(G),m()},function(G){n(G),m()},F),h=null}"onloadend"in h?h.onloadend=E:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(E)},h.onabort=function(){h&&(n(new A("Request aborted",A.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new A("Network Error",A.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let P=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const F=s.transitional||ka;s.timeoutErrorMessage&&(P=s.timeoutErrorMessage),n(new A(P,F.clarifyTimeoutError?A.ETIMEDOUT:A.ECONNABORTED,e,h)),h=null},a===void 0&&i.setContentType(null),"setRequestHeader"in h&&p.forEach(i.toJSON(),function(P,F){h.setRequestHeader(F,P)}),p.isUndefined(s.withCredentials)||(h.withCredentials=!!s.withCredentials),o&&o!=="json"&&(h.responseType=s.responseType),u&&([y,c]=st(u,!0),h.addEventListener("progress",y)),l&&h.upload&&([d,_]=st(l),h.upload.addEventListener("progress",d),h.upload.addEventListener("loadend",_)),(s.cancelToken||s.signal)&&(f=O=>{h&&(n(!O||O.type?new ye(null,e,h):O),h.abort(),h=null)},s.cancelToken&&s.cancelToken.subscribe(f),s.signal&&(s.signal.aborted?f():s.signal.addEventListener("abort",f)));const w=Tc(s.url);if(w&&M.protocols.indexOf(w)===-1){n(new A("Unsupported protocol "+w+":",A.ERR_BAD_REQUEST,e));return}h.send(a||null)})},Fc=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,s;const a=function(u){if(!s){s=!0,o();const f=u instanceof Error?u:this.reason;n.abort(f instanceof A?f:new ye(f instanceof Error?f.message:f))}};let i=t&&setTimeout(()=>{i=null,a(new A(`timeout ${t} of ms exceeded`,A.ETIMEDOUT))},t);const o=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(a):u.removeEventListener("abort",a)}),e=null)};e.forEach(u=>u.addEventListener("abort",a));const{signal:l}=n;return l.unsubscribe=()=>p.asap(o),l}},Nc=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,s;for(;n<r;)s=n+t,yield e.slice(n,s),n=s},Uc=async function*(e,t){for await(const r of Bc(e))yield*Nc(r,t)},Bc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}},Ma=(e,t,r,n)=>{const s=Uc(e,t);let a=0,i,o=l=>{i||(i=!0,n&&n(l))};return new ReadableStream({async pull(l){try{const{done:u,value:f}=await s.next();if(u){o(),l.close();return}let d=f.byteLength;if(r){let y=a+=d;r(y)}l.enqueue(new Uint8Array(f))}catch(u){throw o(u),u}},cancel(l){return o(l),s.return()}},{highWaterMark:2})},at=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ja=at&&typeof ReadableStream=="function",Vc=at&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ha=(e,...t)=>{try{return!!e(...t)}catch{return!1}},$c=ja&&Ha(()=>{let e=!1;const t=new Request(M.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ka=64*1024,Yr=ja&&Ha(()=>p.isReadableStream(new Response("").body)),it={stream:Yr&&(e=>e.body)};at&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!it[t]&&(it[t]=p.isFunction(e[t])?r=>r[t]():(r,n)=>{throw new A(`Response type '${t}' is not supported`,A.ERR_NOT_SUPPORT,n)})})})(new Response);const qc=async e=>{if(e==null)return 0;if(p.isBlob(e))return e.size;if(p.isSpecCompliantForm(e))return(await new Request(M.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(p.isArrayBufferView(e)||p.isArrayBuffer(e))return e.byteLength;if(p.isURLSearchParams(e)&&(e=e+""),p.isString(e))return(await Vc(e)).byteLength},Mc=async(e,t)=>{const r=p.toFiniteNumber(e.getContentLength());return r??qc(t)},Xr={http:lc,xhr:Lc,fetch:at&&(async e=>{let{url:t,method:r,data:n,signal:s,cancelToken:a,timeout:i,onDownloadProgress:o,onUploadProgress:l,responseType:u,headers:f,withCredentials:d="same-origin",fetchOptions:y}=qa(e);u=u?(u+"").toLowerCase():"text";let _=Fc([s,a&&a.toAbortSignal()],i),c;const m=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let h;try{if(l&&$c&&r!=="get"&&r!=="head"&&(h=await Mc(f,n))!==0){let F=new Request(t,{method:"POST",body:n,duplex:"half"}),k;if(p.isFormData(n)&&(k=F.headers.get("content-type"))&&f.setContentType(k),F.body){const[G,K]=Ua(h,st(Ba(l)));n=Ma(F.body,Ka,G,K)}}p.isString(d)||(d=d?"include":"omit");const E="credentials"in Request.prototype;c=new Request(t,{...y,signal:_,method:r.toUpperCase(),headers:f.normalize().toJSON(),body:n,duplex:"half",credentials:E?d:void 0});let w=await fetch(c);const O=Yr&&(u==="stream"||u==="response");if(Yr&&(o||O&&m)){const F={};["status","statusText","headers"].forEach(X=>{F[X]=w[X]});const k=p.toFiniteNumber(w.headers.get("content-length")),[G,K]=o&&Ua(k,st(Ba(o),!0))||[];w=new Response(Ma(w.body,Ka,G,()=>{K&&K(),m&&m()}),F)}u=u||"text";let P=await it[p.findKey(it,u)||"text"](w,e);return!O&&m&&m(),await new Promise((F,k)=>{Na(F,k,{data:P,headers:z.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:c})})}catch(E){throw m&&m(),E&&E.name==="TypeError"&&/fetch/i.test(E.message)?Object.assign(new A("Network Error",A.ERR_NETWORK,e,c),{cause:E.cause||E}):A.from(E,E&&E.code,e,c)}})};p.forEach(Xr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const za=e=>`- ${e}`,jc=e=>p.isFunction(e)||e===null||e===!1,Ga={getAdapter:e=>{e=p.isArray(e)?e:[e];const{length:t}=e;let r,n;const s={};for(let a=0;a<t;a++){r=e[a];let i;if(n=r,!jc(r)&&(n=Xr[(i=String(r)).toLowerCase()],n===void 0))throw new A(`Unknown adapter '${i}'`);if(n)break;s[i||"#"+a]=n}if(!n){const a=Object.entries(s).map(([o,l])=>`adapter ${o} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since :
`+a.map(za).join(`
`):" "+za(a[0]):"as no adapter specified";throw new A("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:Xr};function Zr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ye(null,e)}function Wa(e){return Zr(e),e.headers=z.from(e.headers),e.data=Jr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ga.getAdapter(e.adapter||ke.adapter)(e).then(function(n){return Zr(e),n.data=Jr.call(e,e.transformResponse,n),n.headers=z.from(n.headers),n},function(n){return Fa(n)||(Zr(e),n&&n.response&&(n.response.data=Jr.call(e,e.transformResponse,n.response),n.response.headers=z.from(n.response.headers))),Promise.reject(n)})}const Ja="1.7.9",ot={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ot[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Ya={};ot.transitional=function(t,r,n){function s(a,i){return"[Axios v"+Ja+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,o)=>{if(t===!1)throw new A(s(i," has been removed"+(r?" in "+r:"")),A.ERR_DEPRECATED);return r&&!Ya[i]&&(Ya[i]=!0,console.warn(s(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,o):!0}},ot.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Hc(e,t,r){if(typeof e!="object")throw new A("options must be an object",A.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let s=n.length;for(;s-- >0;){const a=n[s],i=t[a];if(i){const o=e[a],l=o===void 0||i(o,a,e);if(l!==!0)throw new A("option "+a+" must be "+l,A.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new A("Unknown option "+a,A.ERR_BAD_OPTION)}}const ut={assertOptions:Hc,validators:ot},ne=ut.validators;class fe{constructor(t){this.defaults=t,this.interceptors={request:new Ia,response:new Ia}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const a=s.stack?s.stack.replace(/^.+\n/,""):"";try{n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=`
`+a):n.stack=a}catch{}}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=de(this.defaults,r);const{transitional:n,paramsSerializer:s,headers:a}=r;n!==void 0&&ut.assertOptions(n,{silentJSONParsing:ne.transitional(ne.boolean),forcedJSONParsing:ne.transitional(ne.boolean),clarifyTimeoutError:ne.transitional(ne.boolean)},!1),s!=null&&(p.isFunction(s)?r.paramsSerializer={serialize:s}:ut.assertOptions(s,{encode:ne.function,serialize:ne.function},!0)),ut.assertOptions(r,{baseUrl:ne.spelling("baseURL"),withXsrfToken:ne.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&p.merge(a.common,a[r.method]);a&&p.forEach(["delete","get","head","post","put","patch","common"],c=>{delete a[c]}),r.headers=z.concat(i,a);const o=[];let l=!0;this.interceptors.request.forEach(function(m){typeof m.runWhen=="function"&&m.runWhen(r)===!1||(l=l&&m.synchronous,o.unshift(m.fulfilled,m.rejected))});const u=[];this.interceptors.response.forEach(function(m){u.push(m.fulfilled,m.rejected)});let f,d=0,y;if(!l){const c=[Wa.bind(this),void 0];for(c.unshift.apply(c,o),c.push.apply(c,u),y=c.length,f=Promise.resolve(r);d<y;)f=f.then(c[d++],c[d++]);return f}y=o.length;let _=r;for(d=0;d<y;){const c=o[d++],m=o[d++];try{_=c(_)}catch(h){m.call(this,h);break}}try{f=Wa.call(this,_)}catch(c){return Promise.reject(c)}for(d=0,y=u.length;d<y;)f=f.then(u[d++],u[d++]);return f}getUri(t){t=de(this.defaults,t);const r=Va(t.baseURL,t.url);return Da(r,t.params,t.paramsSerializer)}}p.forEach(["delete","get","head","options"],function(t){fe.prototype[t]=function(r,n){return this.request(de(n||{},{method:t,url:r,data:(n||{}).data}))}}),p.forEach(["post","put","patch"],function(t){function r(n){return function(a,i,o){return this.request(de(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}fe.prototype[t]=r(),fe.prototype[t+"Form"]=r(!0)});class Qr{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(a){r=a});const n=this;this.promise.then(s=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](s);n._listeners=null}),this.promise.then=s=>{let a;const i=new Promise(o=>{n.subscribe(o),a=o}).then(s);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,o){n.reason||(n.reason=new ye(a,i,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new Qr(function(s){t=s}),cancel:t}}}function Kc(e){return function(r){return e.apply(null,r)}}function zc(e){return p.isObject(e)&&e.isAxiosError===!0}const en={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(en).forEach(([e,t])=>{en[t]=e});function Xa(e){const t=new fe(e),r=pa(fe.prototype.request,t);return p.extend(r,fe.prototype,t,{allOwnKeys:!0}),p.extend(r,t,null,{allOwnKeys:!0}),r.create=function(s){return Xa(de(e,s))},r}const B=Xa(ke);B.Axios=fe,B.CanceledError=ye,B.CancelToken=Qr,B.isCancel=Fa,B.VERSION=Ja,B.toFormData=rt,B.AxiosError=A,B.Cancel=B.CanceledError,B.all=function(t){return Promise.all(t)},B.spread=Kc,B.isAxiosError=zc,B.mergeConfig=de,B.AxiosHeaders=z,B.formToJSON=e=>xa(p.isHTMLForm(e)?new FormData(e):e),B.getAdapter=Ga.getAdapter,B.HttpStatusCode=en,B.default=B,b.http=void 0;let ve="api";function Gc(e){if(!e.httpClient&&!e.baseURL)throw new Error("You must provide either a httpClient or a baseURL");return e.httpClient?b.http=e.httpClient:b.http=B.create({withCredentials:!0,baseURL:e.baseURL}),e.apiPrefix&&(ve=e.apiPrefix),e.bearerToken&&(b.http.defaults.headers.common.Authorization=`Bearer ${e.bearerToken}`),b.http}var tn,Za;function Wc(){if(Za)return tn;Za=1;var e=Array.prototype,t=e.join;function r(n,s){return n==null?"":t.call(n,s)}return tn=r,tn}var Jc=Wc();const x=Pe(Jc);class lt extends Error{constructor(r,n){super(r);T(this,"name","");T(this,"error");this.message=r+" ||| "+n.message,this.error=n,this.stack=n.stack}}class N extends lt{constructor(r,n){super(r,n);T(this,"name");this.name=this.constructor.name}}var Yc=Object.create,Qa=Object.defineProperty,Xc=Object.getOwnPropertyDescriptor,rn=Object.getOwnPropertyNames,Zc=Object.getPrototypeOf,Qc=Object.prototype.hasOwnProperty,ed=(e,t)=>function(){return e&&(t=(0,e[rn(e)[0]])(e=0)),t},td=(e,t)=>function(){return t||(0,e[rn(e)[0]])((t={exports:{}}).exports,t),t.exports},rd=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of rn(t))!Qc.call(e,s)&&s!==r&&Qa(e,s,{get:()=>t[s],enumerable:!(n=Xc(t,s))||n.enumerable});return e},nd=(e,t,r)=>(r=e!=null?Yc(Zc(e)):{},rd(Qa(r,"default",{value:e,enumerable:!0}),e)),Le=ed({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.0_@types+node@22.10.1__@swc+core@1.5.29_jiti@2.0.0_p_swvvp2d4pgn6xuiiec4l4x2i7a/node_modules/tsup/assets/esm_shims.js"(){}}),sd=td({"../../node_modules/.pnpm/rfdc@1.4.1/node_modules/rfdc/index.js"(e,t){Le(),t.exports=n;function r(a){return a instanceof Buffer?Buffer.from(a):new a.constructor(a.buffer.slice(),a.byteOffset,a.length)}function n(a){if(a=a||{},a.circles)return s(a);const i=new Map;if(i.set(Date,d=>new Date(d)),i.set(Map,(d,y)=>new Map(l(Array.from(d),y))),i.set(Set,(d,y)=>new Set(l(Array.from(d),y))),a.constructorHandlers)for(const d of a.constructorHandlers)i.set(d[0],d[1]);let o=null;return a.proto?f:u;function l(d,y){const _=Object.keys(d),c=new Array(_.length);for(let m=0;m<_.length;m++){const h=_[m],E=d[h];typeof E!="object"||E===null?c[h]=E:E.constructor!==Object&&(o=i.get(E.constructor))?c[h]=o(E,y):ArrayBuffer.isView(E)?c[h]=r(E):c[h]=y(E)}return c}function u(d){if(typeof d!="object"||d===null)return d;if(Array.isArray(d))return l(d,u);if(d.constructor!==Object&&(o=i.get(d.constructor)))return o(d,u);const y={};for(const _ in d){if(Object.hasOwnProperty.call(d,_)===!1)continue;const c=d[_];typeof c!="object"||c===null?y[_]=c:c.constructor!==Object&&(o=i.get(c.constructor))?y[_]=o(c,u):ArrayBuffer.isView(c)?y[_]=r(c):y[_]=u(c)}return y}function f(d){if(typeof d!="object"||d===null)return d;if(Array.isArray(d))return l(d,f);if(d.constructor!==Object&&(o=i.get(d.constructor)))return o(d,f);const y={};for(const _ in d){const c=d[_];typeof c!="object"||c===null?y[_]=c:c.constructor!==Object&&(o=i.get(c.constructor))?y[_]=o(c,f):ArrayBuffer.isView(c)?y[_]=r(c):y[_]=f(c)}return y}}function s(a){const i=[],o=[],l=new Map;if(l.set(Date,_=>new Date(_)),l.set(Map,(_,c)=>new Map(f(Array.from(_),c))),l.set(Set,(_,c)=>new Set(f(Array.from(_),c))),a.constructorHandlers)for(const _ of a.constructorHandlers)l.set(_[0],_[1]);let u=null;return a.proto?y:d;function f(_,c){const m=Object.keys(_),h=new Array(m.length);for(let E=0;E<m.length;E++){const w=m[E],O=_[w];if(typeof O!="object"||O===null)h[w]=O;else if(O.constructor!==Object&&(u=l.get(O.constructor)))h[w]=u(O,c);else if(ArrayBuffer.isView(O))h[w]=r(O);else{const P=i.indexOf(O);P!==-1?h[w]=o[P]:h[w]=c(O)}}return h}function d(_){if(typeof _!="object"||_===null)return _;if(Array.isArray(_))return f(_,d);if(_.constructor!==Object&&(u=l.get(_.constructor)))return u(_,d);const c={};i.push(_),o.push(c);for(const m in _){if(Object.hasOwnProperty.call(_,m)===!1)continue;const h=_[m];if(typeof h!="object"||h===null)c[m]=h;else if(h.constructor!==Object&&(u=l.get(h.constructor)))c[m]=u(h,d);else if(ArrayBuffer.isView(h))c[m]=r(h);else{const E=i.indexOf(h);E!==-1?c[m]=o[E]:c[m]=d(h)}}return i.pop(),o.pop(),c}function y(_){if(typeof _!="object"||_===null)return _;if(Array.isArray(_))return f(_,y);if(_.constructor!==Object&&(u=l.get(_.constructor)))return u(_,y);const c={};i.push(_),o.push(c);for(const m in _){const h=_[m];if(typeof h!="object"||h===null)c[m]=h;else if(h.constructor!==Object&&(u=l.get(h.constructor)))c[m]=u(h,y);else if(ArrayBuffer.isView(h))c[m]=r(h);else{const E=i.indexOf(h);E!==-1?c[m]=o[E]:c[m]=y(h)}}return i.pop(),o.pop(),c}}}});Le(),Le(),Le();var ei=typeof navigator<"u",S=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof global<"u"?global:{};typeof S.chrome<"u"&&S.chrome.devtools,ei&&(S.self,S.top);var ti;typeof navigator<"u"&&((ti=navigator.userAgent)==null||ti.toLowerCase().includes("electron")),Le();var ad=nd(sd()),id=/(?:^|[-_/])(\w)/g;function od(e,t){return t?t.toUpperCase():""}function ud(e){return e&&`${e}`.replace(id,od)}function ld(e,t){let r=e.replace(/^[a-z]:/i,"").replace(/\\/g,"/");r.endsWith(`index${t}`)&&(r=r.replace(`/index${t}`,t));const n=r.lastIndexOf("/"),s=r.substring(n+1);{const a=s.lastIndexOf(t);return s.substring(0,a)}}var ri=(0,ad.default)({circles:!0});const cd={trailing:!0};function be(e,t=25,r={}){if(r={...cd,...r},!Number.isFinite(t))throw new TypeError("Expected `wait` to be a finite number");let n,s,a=[],i,o;const l=(u,f)=>(i=dd(e,u,f),i.finally(()=>{if(i=null,r.trailing&&o&&!s){const d=l(u,o);return o=null,d}}),i);return function(...u){return i?(r.trailing&&(o=u),i):new Promise(f=>{const d=!s&&r.leading;clearTimeout(s),s=setTimeout(()=>{s=null;const y=r.leading?n:l(this,u);for(const _ of a)_(y);a=[]},t),d?(n=l(this,u),f(n)):a.push(f)})}}async function dd(e,t,r){return await e.apply(t,r)}function nn(e,t={},r){for(const n in e){const s=e[n],a=r?`${r}:${n}`:n;typeof s=="object"&&s!==null?nn(s,t,a):typeof s=="function"&&(t[a]=s)}return t}const fd={run:e=>e()},hd=()=>fd,ni=typeof console.createTask<"u"?console.createTask:hd;function pd(e,t){const r=t.shift(),n=ni(r);return e.reduce((s,a)=>s.then(()=>n.run(()=>a(...t))),Promise.resolve())}function _d(e,t){const r=t.shift(),n=ni(r);return Promise.all(e.map(s=>n.run(()=>s(...t))))}function sn(e,t){for(const r of[...e])r(t)}class md{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(t,r,n={}){if(!t||typeof r!="function")return()=>{};const s=t;let a;for(;this._deprecatedHooks[t];)a=this._deprecatedHooks[t],t=a.to;if(a&&!n.allowDeprecated){let i=a.message;i||(i=`${s} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+t.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[t]=this._hooks[t]||[],this._hooks[t].push(r),()=>{r&&(this.removeHook(t,r),r=void 0)}}hookOnce(t,r){let n,s=(...a)=>(typeof n=="function"&&n(),n=void 0,s=void 0,r(...a));return n=this.hook(t,s),n}removeHook(t,r){if(this._hooks[t]){const n=this._hooks[t].indexOf(r);n!==-1&&this._hooks[t].splice(n,1),this._hooks[t].length===0&&delete this._hooks[t]}}deprecateHook(t,r){this._deprecatedHooks[t]=typeof r=="string"?{to:r}:r;const n=this._hooks[t]||[];delete this._hooks[t];for(const s of n)this.hook(t,s)}deprecateHooks(t){Object.assign(this._deprecatedHooks,t);for(const r in t)this.deprecateHook(r,t[r])}addHooks(t){const r=nn(t),n=Object.keys(r).map(s=>this.hook(s,r[s]));return()=>{for(const s of n.splice(0,n.length))s()}}removeHooks(t){const r=nn(t);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const t in this._hooks)delete this._hooks[t]}callHook(t,...r){return r.unshift(t),this.callHookWith(pd,t,...r)}callHookParallel(t,...r){return r.unshift(t),this.callHookWith(_d,t,...r)}callHookWith(t,r,...n){const s=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&sn(this._before,s);const a=t(r in this._hooks?[...this._hooks[r]]:[],n);return a instanceof Promise?a.finally(()=>{this._after&&s&&sn(this._after,s)}):(this._after&&s&&sn(this._after,s),a)}beforeEach(t){return this._before=this._before||[],this._before.push(t),()=>{if(this._before!==void 0){const r=this._before.indexOf(t);r!==-1&&this._before.splice(r,1)}}}afterEach(t){return this._after=this._after||[],this._after.push(t),()=>{if(this._after!==void 0){const r=this._after.indexOf(t);r!==-1&&this._after.splice(r,1)}}}}function si(){return new md}var gd=Object.create,ai=Object.defineProperty,Ed=Object.getOwnPropertyDescriptor,an=Object.getOwnPropertyNames,yd=Object.getPrototypeOf,vd=Object.prototype.hasOwnProperty,bd=(e,t)=>function(){return e&&(t=(0,e[an(e)[0]])(e=0)),t},ii=(e,t)=>function(){return t||(0,e[an(e)[0]])((t={exports:{}}).exports,t),t.exports},Sd=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of an(t))!vd.call(e,s)&&s!==r&&ai(e,s,{get:()=>t[s],enumerable:!(n=Ed(t,s))||n.enumerable});return e},wd=(e,t,r)=>(r=e!=null?gd(yd(e)):{},Sd(ai(r,"default",{value:e,enumerable:!0}),e)),v=bd({"../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.48.0_@types+node@22.10.1__@swc+core@1.5.29_jiti@2.0.0_p_swvvp2d4pgn6xuiiec4l4x2i7a/node_modules/tsup/assets/esm_shims.js"(){}}),Od=ii({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/lib/speakingurl.js"(e,t){v(),function(r){var n={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"Ae",Å:"A",Æ:"AE",Ç:"C",È:"E",É:"E",Ê:"E",Ë:"E",Ì:"I",Í:"I",Î:"I",Ï:"I",Ð:"D",Ñ:"N",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"Oe",Ő:"O",Ø:"O",Ù:"U",Ú:"U",Û:"U",Ü:"Ue",Ű:"U",Ý:"Y",Þ:"TH",ß:"ss",à:"a",á:"a",â:"a",ã:"a",ä:"ae",å:"a",æ:"ae",ç:"c",è:"e",é:"e",ê:"e",ë:"e",ì:"i",í:"i",î:"i",ï:"i",ð:"d",ñ:"n",ò:"o",ó:"o",ô:"o",õ:"o",ö:"oe",ő:"o",ø:"o",ù:"u",ú:"u",û:"u",ü:"ue",ű:"u",ý:"y",þ:"th",ÿ:"y","ẞ":"SS",ا:"a",أ:"a",إ:"i",آ:"aa",ؤ:"u",ئ:"e",ء:"a",ب:"b",ت:"t",ث:"th",ج:"j",ح:"h",خ:"kh",د:"d",ذ:"th",ر:"r",ز:"z",س:"s",ش:"sh",ص:"s",ض:"dh",ط:"t",ظ:"z",ع:"a",غ:"gh",ف:"f",ق:"q",ك:"k",ل:"l",م:"m",ن:"n",ه:"h",و:"w",ي:"y",ى:"a",ة:"h",ﻻ:"la",ﻷ:"laa",ﻹ:"lai",ﻵ:"laa",گ:"g",چ:"ch",پ:"p",ژ:"zh",ک:"k",ی:"y","َ":"a","ً":"an","ِ":"e","ٍ":"en","ُ":"u","ٌ":"on","ْ":"","٠":"0","١":"1","٢":"2","٣":"3","٤":"4","٥":"5","٦":"6","٧":"7","٨":"8","٩":"9","۰":"0","۱":"1","۲":"2","۳":"3","۴":"4","۵":"5","۶":"6","۷":"7","۸":"8","۹":"9",က:"k",ခ:"kh",ဂ:"g",ဃ:"ga",င:"ng",စ:"s",ဆ:"sa",ဇ:"z","စျ":"za",ည:"ny",ဋ:"t",ဌ:"ta",ဍ:"d",ဎ:"da",ဏ:"na",တ:"t",ထ:"ta",ဒ:"d",ဓ:"da",န:"n",ပ:"p",ဖ:"pa",ဗ:"b",ဘ:"ba",မ:"m",ယ:"y",ရ:"ya",လ:"l",ဝ:"w",သ:"th",ဟ:"h",ဠ:"la",အ:"a","ြ":"y","ျ":"ya","ွ":"w","ြွ":"yw","ျွ":"ywa","ှ":"h",ဧ:"e","၏":"-e",ဣ:"i",ဤ:"-i",ဉ:"u",ဦ:"-u",ဩ:"aw","သြော":"aw",ဪ:"aw","၀":"0","၁":"1","၂":"2","၃":"3","၄":"4","၅":"5","၆":"6","၇":"7","၈":"8","၉":"9","္":"","့":"","း":"",č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z",ހ:"h",ށ:"sh",ނ:"n",ރ:"r",ބ:"b",ޅ:"lh",ކ:"k",އ:"a",ވ:"v",މ:"m",ފ:"f",ދ:"dh",ތ:"th",ލ:"l",ގ:"g",ޏ:"gn",ސ:"s",ޑ:"d",ޒ:"z",ޓ:"t",ޔ:"y",ޕ:"p",ޖ:"j",ޗ:"ch",ޘ:"tt",ޙ:"hh",ޚ:"kh",ޛ:"th",ޜ:"z",ޝ:"sh",ޞ:"s",ޟ:"d",ޠ:"t",ޡ:"z",ޢ:"a",ޣ:"gh",ޤ:"q",ޥ:"w","ަ":"a","ާ":"aa","ި":"i","ީ":"ee","ު":"u","ޫ":"oo","ެ":"e","ޭ":"ey","ޮ":"o","ޯ":"oa","ް":"",ა:"a",ბ:"b",გ:"g",დ:"d",ე:"e",ვ:"v",ზ:"z",თ:"t",ი:"i",კ:"k",ლ:"l",მ:"m",ნ:"n",ო:"o",პ:"p",ჟ:"zh",რ:"r",ს:"s",ტ:"t",უ:"u",ფ:"p",ქ:"k",ღ:"gh",ყ:"q",შ:"sh",ჩ:"ch",ც:"ts",ძ:"dz",წ:"ts",ჭ:"ch",ხ:"kh",ჯ:"j",ჰ:"h",α:"a",β:"v",γ:"g",δ:"d",ε:"e",ζ:"z",η:"i",θ:"th",ι:"i",κ:"k",λ:"l",μ:"m",ν:"n",ξ:"ks",ο:"o",π:"p",ρ:"r",σ:"s",τ:"t",υ:"y",φ:"f",χ:"x",ψ:"ps",ω:"o",ά:"a",έ:"e",ί:"i",ό:"o",ύ:"y",ή:"i",ώ:"o",ς:"s",ϊ:"i",ΰ:"y",ϋ:"y",ΐ:"i",Α:"A",Β:"B",Γ:"G",Δ:"D",Ε:"E",Ζ:"Z",Η:"I",Θ:"TH",Ι:"I",Κ:"K",Λ:"L",Μ:"M",Ν:"N",Ξ:"KS",Ο:"O",Π:"P",Ρ:"R",Σ:"S",Τ:"T",Υ:"Y",Φ:"F",Χ:"X",Ψ:"PS",Ω:"O",Ά:"A",Έ:"E",Ί:"I",Ό:"O",Ύ:"Y",Ή:"I",Ώ:"O",Ϊ:"I",Ϋ:"Y",ā:"a",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",ū:"u",Ā:"A",Ē:"E",Ģ:"G",Ī:"I",Ķ:"k",Ļ:"L",Ņ:"N",Ū:"U",Ќ:"Kj",ќ:"kj",Љ:"Lj",љ:"lj",Њ:"Nj",њ:"nj",Тс:"Ts",тс:"ts",ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"E",Ł:"L",Ń:"N",Ś:"S",Ź:"Z",Ż:"Z",Є:"Ye",І:"I",Ї:"Yi",Ґ:"G",є:"ye",і:"i",ї:"yi",ґ:"g",ă:"a",Ă:"A",ș:"s",Ș:"S",ț:"t",Ț:"T",ţ:"t",Ţ:"T",а:"a",б:"b",в:"v",г:"g",д:"d",е:"e",ё:"yo",ж:"zh",з:"z",и:"i",й:"i",к:"k",л:"l",м:"m",н:"n",о:"o",п:"p",р:"r",с:"s",т:"t",у:"u",ф:"f",х:"kh",ц:"c",ч:"ch",ш:"sh",щ:"sh",ъ:"",ы:"y",ь:"",э:"e",ю:"yu",я:"ya",А:"A",Б:"B",В:"V",Г:"G",Д:"D",Е:"E",Ё:"Yo",Ж:"Zh",З:"Z",И:"I",Й:"I",К:"K",Л:"L",М:"M",Н:"N",О:"O",П:"P",Р:"R",С:"S",Т:"T",У:"U",Ф:"F",Х:"Kh",Ц:"C",Ч:"Ch",Ш:"Sh",Щ:"Sh",Ъ:"",Ы:"Y",Ь:"",Э:"E",Ю:"Yu",Я:"Ya",ђ:"dj",ј:"j",ћ:"c",џ:"dz",Ђ:"Dj",Ј:"j",Ћ:"C",Џ:"Dz",ľ:"l",ĺ:"l",ŕ:"r",Ľ:"L",Ĺ:"L",Ŕ:"R",ş:"s",Ş:"S",ı:"i",İ:"I",ğ:"g",Ğ:"G",ả:"a",Ả:"A",ẳ:"a",Ẳ:"A",ẩ:"a",Ẩ:"A",đ:"d",Đ:"D",ẹ:"e",Ẹ:"E",ẽ:"e",Ẽ:"E",ẻ:"e",Ẻ:"E",ế:"e",Ế:"E",ề:"e",Ề:"E",ệ:"e",Ệ:"E",ễ:"e",Ễ:"E",ể:"e",Ể:"E",ỏ:"o",ọ:"o",Ọ:"o",ố:"o",Ố:"O",ồ:"o",Ồ:"O",ổ:"o",Ổ:"O",ộ:"o",Ộ:"O",ỗ:"o",Ỗ:"O",ơ:"o",Ơ:"O",ớ:"o",Ớ:"O",ờ:"o",Ờ:"O",ợ:"o",Ợ:"O",ỡ:"o",Ỡ:"O",Ở:"o",ở:"o",ị:"i",Ị:"I",ĩ:"i",Ĩ:"I",ỉ:"i",Ỉ:"i",ủ:"u",Ủ:"U",ụ:"u",Ụ:"U",ũ:"u",Ũ:"U",ư:"u",Ư:"U",ứ:"u",Ứ:"U",ừ:"u",Ừ:"U",ự:"u",Ự:"U",ữ:"u",Ữ:"U",ử:"u",Ử:"ư",ỷ:"y",Ỷ:"y",ỳ:"y",Ỳ:"Y",ỵ:"y",Ỵ:"Y",ỹ:"y",Ỹ:"Y",ạ:"a",Ạ:"A",ấ:"a",Ấ:"A",ầ:"a",Ầ:"A",ậ:"a",Ậ:"A",ẫ:"a",Ẫ:"A",ắ:"a",Ắ:"A",ằ:"a",Ằ:"A",ặ:"a",Ặ:"A",ẵ:"a",Ẵ:"A","⓪":"0","①":"1","②":"2","③":"3","④":"4","⑤":"5","⑥":"6","⑦":"7","⑧":"8","⑨":"9","⑩":"10","⑪":"11","⑫":"12","⑬":"13","⑭":"14","⑮":"15","⑯":"16","⑰":"17","⑱":"18","⑲":"18","⑳":"18","⓵":"1","⓶":"2","⓷":"3","⓸":"4","⓹":"5","⓺":"6","⓻":"7","⓼":"8","⓽":"9","⓾":"10","⓿":"0","⓫":"11","⓬":"12","⓭":"13","⓮":"14","⓯":"15","⓰":"16","⓱":"17","⓲":"18","⓳":"19","⓴":"20","Ⓐ":"A","Ⓑ":"B","Ⓒ":"C","Ⓓ":"D","Ⓔ":"E","Ⓕ":"F","Ⓖ":"G","Ⓗ":"H","Ⓘ":"I","Ⓙ":"J","Ⓚ":"K","Ⓛ":"L","Ⓜ":"M","Ⓝ":"N","Ⓞ":"O","Ⓟ":"P","Ⓠ":"Q","Ⓡ":"R","Ⓢ":"S","Ⓣ":"T","Ⓤ":"U","Ⓥ":"V","Ⓦ":"W","Ⓧ":"X","Ⓨ":"Y","Ⓩ":"Z","ⓐ":"a","ⓑ":"b","ⓒ":"c","ⓓ":"d","ⓔ":"e","ⓕ":"f","ⓖ":"g","ⓗ":"h","ⓘ":"i","ⓙ":"j","ⓚ":"k","ⓛ":"l","ⓜ":"m","ⓝ":"n","ⓞ":"o","ⓟ":"p","ⓠ":"q","ⓡ":"r","ⓢ":"s","ⓣ":"t","ⓤ":"u","ⓦ":"v","ⓥ":"w","ⓧ":"x","ⓨ":"y","ⓩ":"z","“":'"',"”":'"',"‘":"'","’":"'","∂":"d",ƒ:"f","™":"(TM)","©":"(C)",œ:"oe",Œ:"OE","®":"(R)","†":"+","℠":"(SM)","…":"...","˚":"o",º:"o",ª:"a","•":"*","၊":",","။":".",$:"USD","€":"EUR","₢":"BRN","₣":"FRF","£":"GBP","₤":"ITL","₦":"NGN","₧":"ESP","₩":"KRW","₪":"ILS","₫":"VND","₭":"LAK","₮":"MNT","₯":"GRD","₱":"ARS","₲":"PYG","₳":"ARA","₴":"UAH","₵":"GHS","¢":"cent","¥":"CNY",元:"CNY",円:"YEN","﷼":"IRR","₠":"EWE","฿":"THB","₨":"INR","₹":"INR","₰":"PF","₺":"TRY","؋":"AFN","₼":"AZN",лв:"BGN","៛":"KHR","₡":"CRC","₸":"KZT",ден:"MKD",zł:"PLN","₽":"RUB","₾":"GEL"},s=["်","ް"],a={"ာ":"a","ါ":"a","ေ":"e","ဲ":"e","ိ":"i","ီ":"i","ို":"o","ု":"u","ူ":"u","ေါင်":"aung","ော":"aw","ော်":"aw","ေါ":"aw","ေါ်":"aw","်":"်","က်":"et","ိုက်":"aik","ောက်":"auk","င်":"in","ိုင်":"aing","ောင်":"aung","စ်":"it","ည်":"i","တ်":"at","ိတ်":"eik","ုတ်":"ok","ွတ်":"ut","ေတ်":"it","ဒ်":"d","ိုဒ်":"ok","ုဒ်":"ait","န်":"an","ာန်":"an","ိန်":"ein","ုန်":"on","ွန်":"un","ပ်":"at","ိပ်":"eik","ုပ်":"ok","ွပ်":"ut","န်ုပ်":"nub","မ်":"an","ိမ်":"ein","ုမ်":"on","ွမ်":"un","ယ်":"e","ိုလ်":"ol","ဉ်":"in","ံ":"an","ိံ":"ein","ုံ":"on","ައް":"ah","ަށް":"ah"},i={en:{},az:{ç:"c",ə:"e",ğ:"g",ı:"i",ö:"o",ş:"s",ü:"u",Ç:"C",Ə:"E",Ğ:"G",İ:"I",Ö:"O",Ş:"S",Ü:"U"},cs:{č:"c",ď:"d",ě:"e",ň:"n",ř:"r",š:"s",ť:"t",ů:"u",ž:"z",Č:"C",Ď:"D",Ě:"E",Ň:"N",Ř:"R",Š:"S",Ť:"T",Ů:"U",Ž:"Z"},fi:{ä:"a",Ä:"A",ö:"o",Ö:"O"},hu:{ä:"a",Ä:"A",ö:"o",Ö:"O",ü:"u",Ü:"U",ű:"u",Ű:"U"},lt:{ą:"a",č:"c",ę:"e",ė:"e",į:"i",š:"s",ų:"u",ū:"u",ž:"z",Ą:"A",Č:"C",Ę:"E",Ė:"E",Į:"I",Š:"S",Ų:"U",Ū:"U"},lv:{ā:"a",č:"c",ē:"e",ģ:"g",ī:"i",ķ:"k",ļ:"l",ņ:"n",š:"s",ū:"u",ž:"z",Ā:"A",Č:"C",Ē:"E",Ģ:"G",Ī:"i",Ķ:"k",Ļ:"L",Ņ:"N",Š:"S",Ū:"u",Ž:"Z"},pl:{ą:"a",ć:"c",ę:"e",ł:"l",ń:"n",ó:"o",ś:"s",ź:"z",ż:"z",Ą:"A",Ć:"C",Ę:"e",Ł:"L",Ń:"N",Ó:"O",Ś:"S",Ź:"Z",Ż:"Z"},sv:{ä:"a",Ä:"A",ö:"o",Ö:"O"},sk:{ä:"a",Ä:"A"},sr:{љ:"lj",њ:"nj",Љ:"Lj",Њ:"Nj",đ:"dj",Đ:"Dj"},tr:{Ü:"U",Ö:"O",ü:"u",ö:"o"}},o={ar:{"∆":"delta","∞":"la-nihaya","♥":"hob","&":"wa","|":"aw","<":"aqal-men",">":"akbar-men","∑":"majmou","¤":"omla"},az:{},ca:{"∆":"delta","∞":"infinit","♥":"amor","&":"i","|":"o","<":"menys que",">":"mes que","∑":"suma dels","¤":"moneda"},cs:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"nebo","<":"mensi nez",">":"vetsi nez","∑":"soucet","¤":"mena"},de:{"∆":"delta","∞":"unendlich","♥":"Liebe","&":"und","|":"oder","<":"kleiner als",">":"groesser als","∑":"Summe von","¤":"Waehrung"},dv:{"∆":"delta","∞":"kolunulaa","♥":"loabi","&":"aai","|":"noonee","<":"ah vure kuda",">":"ah vure bodu","∑":"jumula","¤":"faisaa"},en:{"∆":"delta","∞":"infinity","♥":"love","&":"and","|":"or","<":"less than",">":"greater than","∑":"sum","¤":"currency"},es:{"∆":"delta","∞":"infinito","♥":"amor","&":"y","|":"u","<":"menos que",">":"mas que","∑":"suma de los","¤":"moneda"},fa:{"∆":"delta","∞":"bi-nahayat","♥":"eshgh","&":"va","|":"ya","<":"kamtar-az",">":"bishtar-az","∑":"majmooe","¤":"vahed"},fi:{"∆":"delta","∞":"aarettomyys","♥":"rakkaus","&":"ja","|":"tai","<":"pienempi kuin",">":"suurempi kuin","∑":"summa","¤":"valuutta"},fr:{"∆":"delta","∞":"infiniment","♥":"Amour","&":"et","|":"ou","<":"moins que",">":"superieure a","∑":"somme des","¤":"monnaie"},ge:{"∆":"delta","∞":"usasruloba","♥":"siqvaruli","&":"da","|":"an","<":"naklebi",">":"meti","∑":"jami","¤":"valuta"},gr:{},hu:{"∆":"delta","∞":"vegtelen","♥":"szerelem","&":"es","|":"vagy","<":"kisebb mint",">":"nagyobb mint","∑":"szumma","¤":"penznem"},it:{"∆":"delta","∞":"infinito","♥":"amore","&":"e","|":"o","<":"minore di",">":"maggiore di","∑":"somma","¤":"moneta"},lt:{"∆":"delta","∞":"begalybe","♥":"meile","&":"ir","|":"ar","<":"maziau nei",">":"daugiau nei","∑":"suma","¤":"valiuta"},lv:{"∆":"delta","∞":"bezgaliba","♥":"milestiba","&":"un","|":"vai","<":"mazak neka",">":"lielaks neka","∑":"summa","¤":"valuta"},my:{"∆":"kwahkhyaet","∞":"asaonasme","♥":"akhyait","&":"nhin","|":"tho","<":"ngethaw",">":"kyithaw","∑":"paungld","¤":"ngwekye"},mk:{},nl:{"∆":"delta","∞":"oneindig","♥":"liefde","&":"en","|":"of","<":"kleiner dan",">":"groter dan","∑":"som","¤":"valuta"},pl:{"∆":"delta","∞":"nieskonczonosc","♥":"milosc","&":"i","|":"lub","<":"mniejsze niz",">":"wieksze niz","∑":"suma","¤":"waluta"},pt:{"∆":"delta","∞":"infinito","♥":"amor","&":"e","|":"ou","<":"menor que",">":"maior que","∑":"soma","¤":"moeda"},ro:{"∆":"delta","∞":"infinit","♥":"dragoste","&":"si","|":"sau","<":"mai mic ca",">":"mai mare ca","∑":"suma","¤":"valuta"},ru:{"∆":"delta","∞":"beskonechno","♥":"lubov","&":"i","|":"ili","<":"menshe",">":"bolshe","∑":"summa","¤":"valjuta"},sk:{"∆":"delta","∞":"nekonecno","♥":"laska","&":"a","|":"alebo","<":"menej ako",">":"viac ako","∑":"sucet","¤":"mena"},sr:{},tr:{"∆":"delta","∞":"sonsuzluk","♥":"ask","&":"ve","|":"veya","<":"kucuktur",">":"buyuktur","∑":"toplam","¤":"para birimi"},uk:{"∆":"delta","∞":"bezkinechnist","♥":"lubov","&":"i","|":"abo","<":"menshe",">":"bilshe","∑":"suma","¤":"valjuta"},vn:{"∆":"delta","∞":"vo cuc","♥":"yeu","&":"va","|":"hoac","<":"nho hon",">":"lon hon","∑":"tong","¤":"tien te"}},l=[";","?",":","@","&","=","+","$",",","/"].join(""),u=[";","?",":","@","&","=","+","$",","].join(""),f=[".","!","~","*","'","(",")"].join(""),d=function(h,E){var w="-",O="",P="",F=!0,k={},G,K,X,_e,C,ue,te,le,je,re,R,Ce,Z,D,H="";if(typeof h!="string")return"";if(typeof E=="string"&&(w=E),te=o.en,le=i.en,typeof E=="object"){G=E.maintainCase||!1,k=E.custom&&typeof E.custom=="object"?E.custom:k,X=+E.truncate>1&&E.truncate||!1,_e=E.uric||!1,C=E.uricNoSlash||!1,ue=E.mark||!1,F=!(E.symbols===!1||E.lang===!1),w=E.separator||w,_e&&(H+=l),C&&(H+=u),ue&&(H+=f),te=E.lang&&o[E.lang]&&F?o[E.lang]:F?o.en:{},le=E.lang&&i[E.lang]?i[E.lang]:E.lang===!1||E.lang===!0?{}:i.en,E.titleCase&&typeof E.titleCase.length=="number"&&Array.prototype.toString.call(E.titleCase)?(E.titleCase.forEach(function(V){k[V+""]=V+""}),K=!0):K=!!E.titleCase,E.custom&&typeof E.custom.length=="number"&&Array.prototype.toString.call(E.custom)&&E.custom.forEach(function(V){k[V+""]=V+""}),Object.keys(k).forEach(function(V){var He;V.length>1?He=new RegExp("\\b"+_(V)+"\\b","gi"):He=new RegExp(_(V),"gi"),h=h.replace(He,k[V])});for(R in k)H+=R}for(H+=w,H=_(H),h=h.replace(/(^\s+|\s+$)/g,""),Z=!1,D=!1,re=0,Ce=h.length;re<Ce;re++)R=h[re],c(R,k)?Z=!1:le[R]?(R=Z&&le[R].match(/[A-Za-z0-9]/)?" "+le[R]:le[R],Z=!1):R in n?(re+1<Ce&&s.indexOf(h[re+1])>=0?(P+=R,R=""):D===!0?(R=a[P]+n[R],P=""):R=Z&&n[R].match(/[A-Za-z0-9]/)?" "+n[R]:n[R],Z=!1,D=!1):R in a?(P+=R,R="",re===Ce-1&&(R=a[P]),D=!0):te[R]&&!(_e&&l.indexOf(R)!==-1)&&!(C&&u.indexOf(R)!==-1)?(R=Z||O.substr(-1).match(/[A-Za-z0-9]/)?w+te[R]:te[R],R+=h[re+1]!==void 0&&h[re+1].match(/[A-Za-z0-9]/)?w:"",Z=!0):(D===!0?(R=a[P]+R,P="",D=!1):Z&&(/[A-Za-z0-9]/.test(R)||O.substr(-1).match(/A-Za-z0-9]/))&&(R=" "+R),Z=!1),O+=R.replace(new RegExp("[^\\w\\s"+H+"_-]","g"),w);return K&&(O=O.replace(/(\w)(\S*)/g,function(V,He,Ru){var Zn=He.toUpperCase()+(Ru!==null?Ru:"");return Object.keys(k).indexOf(Zn.toLowerCase())<0?Zn:Zn.toLowerCase()})),O=O.replace(/\s+/g,w).replace(new RegExp("\\"+w+"+","g"),w).replace(new RegExp("(^\\"+w+"+|\\"+w+"+$)","g"),""),X&&O.length>X&&(je=O.charAt(X)===w,O=O.slice(0,X),je||(O=O.slice(0,O.lastIndexOf(w)))),!G&&!K&&(O=O.toLowerCase()),O},y=function(h){return function(w){return d(w,h)}},_=function(h){return h.replace(/[-\\^$*+?.()|[\]{}\/]/g,"\\$&")},c=function(m,h){for(var E in h)if(h[E]===m)return!0};if(typeof t<"u"&&t.exports)t.exports=d,t.exports.createSlug=y;else if(typeof define<"u"&&define.amd)define([],function(){return d});else try{if(r.getSlug||r.createSlug)throw"speakingurl: globals exists /(getSlug|createSlug)/";r.getSlug=d,r.createSlug=y}catch{}}(e)}}),Ad=ii({"../../node_modules/.pnpm/speakingurl@14.0.1/node_modules/speakingurl/index.js"(e,t){v(),t.exports=Od()}});v(),v(),v(),v(),v(),v(),v(),v();function Rd(e){var t;const r=e.name||e._componentTag||e.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__||e.__name;return r==="index"&&((t=e.__file)!=null&&t.endsWith("index.vue"))?"":r}function Td(e){const t=e.__file;if(t)return ud(ld(t,".vue"))}function oi(e,t){return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__=t,t}function ct(e){if(e.__VUE_DEVTOOLS_NEXT_APP_RECORD__)return e.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(e.root)return e.appContext.app.__VUE_DEVTOOLS_NEXT_APP_RECORD__}async function Cd(e){const{app:t,uid:r,instance:n}=e;try{if(n.__VUE_DEVTOOLS_NEXT_UID__)return n.__VUE_DEVTOOLS_NEXT_UID__;const s=await ct(t);if(!s)return null;const a=s.rootInstance===n;return`${s.id}:${a?"root":r}`}catch{}}function ui(e){var t,r;const n=(t=e.subTree)==null?void 0:t.type,s=ct(e);return s?((r=s==null?void 0:s.types)==null?void 0:r.Fragment)===n:!1}function dt(e){var t,r,n;const s=Rd((e==null?void 0:e.type)||{});if(s)return s;if((e==null?void 0:e.root)===e)return"Root";for(const i in(r=(t=e.parent)==null?void 0:t.type)==null?void 0:r.components)if(e.parent.type.components[i]===(e==null?void 0:e.type))return oi(e,i);for(const i in(n=e.appContext)==null?void 0:n.components)if(e.appContext.components[i]===(e==null?void 0:e.type))return oi(e,i);const a=Td((e==null?void 0:e.type)||{});return a||"Anonymous Component"}function on(e,t){return t=t||`${e.id}:root`,e.instanceMap.get(t)||e.instanceMap.get(":root")}function Pd(){const e={top:0,bottom:0,left:0,right:0,get width(){return e.right-e.left},get height(){return e.bottom-e.top}};return e}var ft;function Dd(e){return ft||(ft=document.createRange()),ft.selectNode(e),ft.getBoundingClientRect()}function Id(e){const t=Pd();if(!e.children)return t;for(let r=0,n=e.children.length;r<n;r++){const s=e.children[r];let a;if(s.component)a=he(s.component);else if(s.el){const i=s.el;i.nodeType===1||i.getBoundingClientRect?a=i.getBoundingClientRect():i.nodeType===3&&i.data.trim()&&(a=Dd(i))}a&&kd(t,a)}return t}function kd(e,t){return(!e.top||t.top<e.top)&&(e.top=t.top),(!e.bottom||t.bottom>e.bottom)&&(e.bottom=t.bottom),(!e.left||t.left<e.left)&&(e.left=t.left),(!e.right||t.right>e.right)&&(e.right=t.right),e}var li={top:0,left:0,right:0,bottom:0,width:0,height:0};function he(e){const t=e.subTree.el;return typeof window>"u"?li:ui(e)?Id(e.subTree):(t==null?void 0:t.nodeType)===1?t==null?void 0:t.getBoundingClientRect():e.subTree.component?he(e.subTree.component):li}v();function un(e){return ui(e)?xd(e.subTree):e.subTree?[e.subTree.el]:[]}function xd(e){if(!e.children)return[];const t=[];return e.children.forEach(r=>{r.component?t.push(...un(r.component)):r!=null&&r.el&&t.push(r.el)}),t}var ci="__vue-devtools-component-inspector__",di="__vue-devtools-component-inspector__card__",fi="__vue-devtools-component-inspector__name__",hi="__vue-devtools-component-inspector__indicator__",pi={display:"block",zIndex:2147483640,position:"fixed",backgroundColor:"#42b88325",border:"1px solid #42b88350",borderRadius:"5px",transition:"all 0.1s ease-in",pointerEvents:"none"},Ld={fontFamily:"Arial, Helvetica, sans-serif",padding:"5px 8px",borderRadius:"4px",textAlign:"left",position:"absolute",left:0,color:"#e9e9e9",fontSize:"14px",fontWeight:600,lineHeight:"24px",backgroundColor:"#42b883",boxShadow:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)"},Fd={display:"inline-block",fontWeight:400,fontStyle:"normal",fontSize:"12px",opacity:.7};function Se(){return document.getElementById(ci)}function Nd(){return document.getElementById(di)}function Ud(){return document.getElementById(hi)}function Bd(){return document.getElementById(fi)}function ln(e){return{left:`${Math.round(e.left*100)/100}px`,top:`${Math.round(e.top*100)/100}px`,width:`${Math.round(e.width*100)/100}px`,height:`${Math.round(e.height*100)/100}px`}}function cn(e){var t;const r=document.createElement("div");r.id=(t=e.elementId)!=null?t:ci,Object.assign(r.style,{...pi,...ln(e.bounds),...e.style});const n=document.createElement("span");n.id=di,Object.assign(n.style,{...Ld,top:e.bounds.top<35?0:"-35px"});const s=document.createElement("span");s.id=fi,s.innerHTML=`<${e.name}> `;const a=document.createElement("i");return a.id=hi,a.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`,Object.assign(a.style,Fd),n.appendChild(s),n.appendChild(a),r.appendChild(n),document.body.appendChild(r),r}function dn(e){const t=Se(),r=Nd(),n=Bd(),s=Ud();t&&(Object.assign(t.style,{...pi,...ln(e.bounds)}),Object.assign(r.style,{top:e.bounds.top<35?0:"-35px"}),n.innerHTML=`<${e.name}> `,s.innerHTML=`${Math.round(e.bounds.width*100)/100} x ${Math.round(e.bounds.height*100)/100}`)}function Vd(e){const t=he(e);if(!t.width&&!t.height)return;const r=dt(e);Se()?dn({bounds:t,name:r}):cn({bounds:t,name:r})}function _i(){const e=Se();e&&(e.style.display="none")}var fn=null;function hn(e){const t=e.target;if(t){const r=t.__vueParentComponent;if(r&&(fn=r,r.vnode.el)){const s=he(r),a=dt(r);Se()?dn({bounds:s,name:a}):cn({bounds:s,name:a})}}}function $d(e,t){var r;if(e.preventDefault(),e.stopPropagation(),fn){const n=(r=j.value)==null?void 0:r.app;Cd({app:n,uid:n.uid,instance:fn}).then(s=>{t(s)})}}var ht=null;function qd(){_i(),window.removeEventListener("mouseover",hn),window.removeEventListener("click",ht,!0),ht=null}function Md(){return window.addEventListener("mouseover",hn),new Promise(e=>{function t(r){r.preventDefault(),r.stopPropagation(),$d(r,n=>{window.removeEventListener("click",t,!0),ht=null,window.removeEventListener("mouseover",hn);const s=Se();s&&(s.style.display="none"),e(JSON.stringify({id:n}))})}ht=t,window.addEventListener("click",t,!0)})}function jd(e){const t=on(j.value,e.id);if(t){const[r]=un(t);if(typeof r.scrollIntoView=="function")r.scrollIntoView({behavior:"smooth"});else{const n=he(t),s=document.createElement("div"),a={...ln(n),position:"absolute"};Object.assign(s.style,a),document.body.appendChild(s),s.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{document.body.removeChild(s)},2e3)}setTimeout(()=>{const n=he(t);if(n.width||n.height){const s=dt(t),a=Se();a?dn({...e,name:s,bounds:n}):cn({...e,name:s,bounds:n}),setTimeout(()=>{a&&(a.style.display="none")},1500)}},1200)}}v();var mi,gi;(gi=(mi=S).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__)!=null||(mi.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__=!0);function Hd(e){let t=0;const r=setInterval(()=>{S.__VUE_INSPECTOR__&&(clearInterval(r),t+=30,e()),t>=5e3&&clearInterval(r)},30)}function Kd(){const e=S.__VUE_INSPECTOR__,t=e.openInEditor;e.openInEditor=async(...r)=>{e.disable(),t(...r)}}function zd(){return new Promise(e=>{function t(){Kd(),e(S.__VUE_INSPECTOR__)}S.__VUE_INSPECTOR__?t():Hd(()=>{t()})})}v(),v();function Gd(e){return!!(e&&e.__v_isReadonly)}function Ei(e){return Gd(e)?Ei(e.__v_raw):!!(e&&e.__v_isReactive)}function pn(e){return!!(e&&e.__v_isRef===!0)}function Fe(e){const t=e&&e.__v_raw;return t?Fe(t):e}var Wd=class{constructor(){this.refEditor=new Jd}set(e,t,r,n){const s=Array.isArray(t)?t:t.split(".");for(;s.length>1;){const o=s.shift();e instanceof Map&&(e=e.get(o)),e instanceof Set?e=Array.from(e.values())[o]:e=e[o],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}const a=s[0],i=this.refEditor.get(e)[a];n?n(e,a,r):this.refEditor.isRef(i)?this.refEditor.set(i,r):e[a]=r}get(e,t){const r=Array.isArray(t)?t:t.split(".");for(let n=0;n<r.length;n++)if(e instanceof Map?e=e.get(r[n]):e=e[r[n]],this.refEditor.isRef(e)&&(e=this.refEditor.get(e)),!e)return;return e}has(e,t,r=!1){if(typeof e>"u")return!1;const n=Array.isArray(t)?t.slice():t.split("."),s=r?2:1;for(;e&&n.length>s;){const a=n.shift();e=e[a],this.refEditor.isRef(e)&&(e=this.refEditor.get(e))}return e!=null&&Object.prototype.hasOwnProperty.call(e,n[0])}createDefaultSetCallback(e){return(t,r,n)=>{if((e.remove||e.newKey)&&(Array.isArray(t)?t.splice(r,1):Fe(t)instanceof Map?t.delete(r):Fe(t)instanceof Set?t.delete(Array.from(t.values())[r]):Reflect.deleteProperty(t,r)),!e.remove){const s=t[e.newKey||r];this.refEditor.isRef(s)?this.refEditor.set(s,n):Fe(t)instanceof Map?t.set(e.newKey||r,n):Fe(t)instanceof Set?t.add(n):t[e.newKey||r]=n}}}},Jd=class{set(e,t){if(pn(e))e.value=t;else{if(e instanceof Set&&Array.isArray(t)){e.clear(),t.forEach(s=>e.add(s));return}const r=Object.keys(t);if(e instanceof Map){const s=new Set(e.keys());r.forEach(a=>{e.set(a,Reflect.get(t,a)),s.delete(a)}),s.forEach(a=>e.delete(a));return}const n=new Set(Object.keys(e));r.forEach(s=>{Reflect.set(e,s,Reflect.get(t,s)),n.delete(s)}),n.forEach(s=>Reflect.deleteProperty(e,s))}}get(e){return pn(e)?e.value:e}isRef(e){return pn(e)||Ei(e)}};v(),v(),v();var Yd="__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS_STATE__";function Xd(){if(!ei||typeof localStorage>"u"||localStorage===null)return{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""};const e=localStorage.getItem(Yd);return e?JSON.parse(e):{recordingState:!1,mouseEventEnabled:!1,keyboardEventEnabled:!1,componentEventEnabled:!1,performanceEventEnabled:!1,selected:""}}v(),v(),v();var yi,vi;(vi=(yi=S).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS)!=null||(yi.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS=[]);var Zd=new Proxy(S.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS,{get(e,t,r){return Reflect.get(e,t,r)}});function Qd(e,t){$.timelineLayersState[t.id]=!1,Zd.push({...e,descriptorId:t.id,appRecord:ct(t.app)})}var bi,Si;(Si=(bi=S).__VUE_DEVTOOLS_KIT_INSPECTOR__)!=null||(bi.__VUE_DEVTOOLS_KIT_INSPECTOR__=[]);var _n=new Proxy(S.__VUE_DEVTOOLS_KIT_INSPECTOR__,{get(e,t,r){return Reflect.get(e,t,r)}}),wi=be(()=>{Oe.hooks.callHook("sendInspectorToClient",Oi())});function ef(e,t){var r,n;_n.push({options:e,descriptor:t,treeFilterPlaceholder:(r=e.treeFilterPlaceholder)!=null?r:"Search tree...",stateFilterPlaceholder:(n=e.stateFilterPlaceholder)!=null?n:"Search state...",treeFilter:"",selectedNodeId:"",appRecord:ct(t.app)}),wi()}function Oi(){return _n.filter(e=>e.descriptor.app===j.value.app).filter(e=>e.descriptor.id!=="components").map(e=>{var t;const r=e.descriptor,n=e.options;return{id:n.id,label:n.label,logo:r.logo,icon:`custom-ic-baseline-${(t=n==null?void 0:n.icon)==null?void 0:t.replace(/_/g,"-")}`,packageName:r.packageName,homepage:r.homepage,pluginId:r.id}})}function pt(e,t){return _n.find(r=>r.options.id===e&&(t?r.descriptor.app===t:!0))}function tf(){const e=si();e.hook("addInspector",({inspector:n,plugin:s})=>{ef(n,s.descriptor)});const t=be(async({inspectorId:n,plugin:s})=>{var a;if(!n||!((a=s==null?void 0:s.descriptor)!=null&&a.app)||$.highPerfModeEnabled)return;const i=pt(n,s.descriptor.app),o={app:s.descriptor.app,inspectorId:n,filter:(i==null?void 0:i.treeFilter)||"",rootNodes:[]};await new Promise(l=>{e.callHookWith(async u=>{await Promise.all(u.map(f=>f(o))),l()},"getInspectorTree")}),e.callHookWith(async l=>{await Promise.all(l.map(u=>u({inspectorId:n,rootNodes:o.rootNodes})))},"sendInspectorTreeToClient")},120);e.hook("sendInspectorTree",t);const r=be(async({inspectorId:n,plugin:s})=>{var a;if(!n||!((a=s==null?void 0:s.descriptor)!=null&&a.app)||$.highPerfModeEnabled)return;const i=pt(n,s.descriptor.app),o={app:s.descriptor.app,inspectorId:n,nodeId:(i==null?void 0:i.selectedNodeId)||"",state:null},l={currentTab:`custom-inspector:${n}`};o.nodeId&&await new Promise(u=>{e.callHookWith(async f=>{await Promise.all(f.map(d=>d(o,l))),u()},"getInspectorState")}),e.callHookWith(async u=>{await Promise.all(u.map(f=>f({inspectorId:n,nodeId:o.nodeId,state:o.state})))},"sendInspectorStateToClient")},120);return e.hook("sendInspectorState",r),e.hook("customInspectorSelectNode",({inspectorId:n,nodeId:s,plugin:a})=>{const i=pt(n,a.descriptor.app);i&&(i.selectedNodeId=s)}),e.hook("timelineLayerAdded",({options:n,plugin:s})=>{Qd(n,s.descriptor)}),e.hook("timelineEventAdded",({options:n,plugin:s})=>{var a;const i=["performance","component-event","keyboard","mouse"];$.highPerfModeEnabled||!((a=$.timelineLayersState)!=null&&a[s.descriptor.id])&&!i.includes(n.layerId)||e.callHookWith(async o=>{await Promise.all(o.map(l=>l(n)))},"sendTimelineEventToClient")}),e.hook("getComponentInstances",async({app:n})=>{const s=n.__VUE_DEVTOOLS_NEXT_APP_RECORD__;if(!s)return null;const a=s.id.toString();return[...s.instanceMap].filter(([o])=>o.split(":")[0]===a).map(([,o])=>o)}),e.hook("getComponentBounds",async({instance:n})=>he(n)),e.hook("getComponentName",({instance:n})=>dt(n)),e.hook("componentHighlight",({uid:n})=>{const s=j.value.instanceMap.get(n);s&&Vd(s)}),e.hook("componentUnhighlight",()=>{_i()}),e}var Ai,Ri;(Ri=(Ai=S).__VUE_DEVTOOLS_KIT_APP_RECORDS__)!=null||(Ai.__VUE_DEVTOOLS_KIT_APP_RECORDS__=[]);var Ti,Ci;(Ci=(Ti=S).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__)!=null||(Ti.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__={});var Pi,Di;(Di=(Pi=S).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__)!=null||(Pi.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__="");var Ii,ki;(ki=(Ii=S).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__)!=null||(Ii.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__=[]);var xi,Li;(Li=(xi=S).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__)!=null||(xi.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__=[]);var pe="__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";function rf(){return{connected:!1,clientConnected:!1,vitePluginDetected:!0,appRecords:[],activeAppRecordId:"",tabs:[],commands:[],highPerfModeEnabled:!0,devtoolsClientDetected:{},perfUniqueGroupId:0,timelineLayersState:Xd()}}var Fi,Ni;(Ni=(Fi=S)[pe])!=null||(Fi[pe]=rf());var nf=be(e=>{Oe.hooks.callHook("devtoolsStateUpdated",{state:e})});be((e,t)=>{Oe.hooks.callHook("devtoolsConnectedUpdated",{state:e,oldState:t})});var _t=new Proxy(S.__VUE_DEVTOOLS_KIT_APP_RECORDS__,{get(e,t,r){return t==="value"?S.__VUE_DEVTOOLS_KIT_APP_RECORDS__:S.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t]}}),j=new Proxy(S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__,{get(e,t,r){return t==="value"?S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__:t==="id"?S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__:S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t]}});function Ui(){nf({...S[pe],appRecords:_t.value,activeAppRecordId:j.id,tabs:S.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,commands:S.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__})}function sf(e){S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__=e,Ui()}function af(e){S.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__=e,Ui()}var $=new Proxy(S[pe],{get(e,t){return t==="appRecords"?_t:t==="activeAppRecordId"?j.id:t==="tabs"?S.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__:t==="commands"?S.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__:S[pe][t]},deleteProperty(e,t){return delete e[t],!0},set(e,t,r){return{...S[pe]},e[t]=r,S[pe][t]=r,!0}});function of(e={}){var t,r,n;const{file:s,host:a,baseUrl:i=window.location.origin,line:o=0,column:l=0}=e;if(s){if(a==="chrome-extension"){const u=s.replace(/\\/g,"\\\\"),f=(r=(t=window.VUE_DEVTOOLS_CONFIG)==null?void 0:t.openInEditorHost)!=null?r:"/";fetch(`${f}__open-in-editor?file=${encodeURI(s)}`).then(d=>{if(!d.ok){const y=`Opening component ${u} failed`;console.log(`%c${y}`,"color:red")}})}else if($.vitePluginDetected){const u=(n=S.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__)!=null?n:i;S.__VUE_INSPECTOR__.openInEditor(u,s,o,l)}}}v(),v(),v(),v(),v();var Bi,Vi;(Vi=(Bi=S).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__)!=null||(Bi.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__=[]);var mn=new Proxy(S.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__,{get(e,t,r){return Reflect.get(e,t,r)}});function gn(e){const t={};return Object.keys(e).forEach(r=>{t[r]=e[r].defaultValue}),t}function En(e){return`__VUE_DEVTOOLS_NEXT_PLUGIN_SETTINGS__${e}__`}function uf(e){var t,r,n;const s=(r=(t=mn.find(a=>{var i;return a[0].id===e&&!!((i=a[0])!=null&&i.settings)}))==null?void 0:t[0])!=null?r:null;return(n=s==null?void 0:s.settings)!=null?n:null}function $i(e,t){var r,n,s;const a=En(e);if(a){const i=localStorage.getItem(a);if(i)return JSON.parse(i)}if(e){const i=(n=(r=mn.find(o=>o[0].id===e))==null?void 0:r[0])!=null?n:null;return gn((s=i==null?void 0:i.settings)!=null?s:{})}return gn(t)}function lf(e,t){const r=En(e);localStorage.getItem(r)||localStorage.setItem(r,JSON.stringify(gn(t)))}function cf(e,t,r){const n=En(e),s=localStorage.getItem(n),a=JSON.parse(s||"{}"),i={...a,[t]:r};localStorage.setItem(n,JSON.stringify(i)),Oe.hooks.callHookWith(o=>{o.forEach(l=>l({pluginId:e,key:t,oldValue:a[t],newValue:r,settings:i}))},"setPluginSettings")}v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v();var qi,Mi,J=(Mi=(qi=S).__VUE_DEVTOOLS_HOOK)!=null?Mi:qi.__VUE_DEVTOOLS_HOOK=si(),df={vueAppInit(e){J.hook("app:init",e)},vueAppUnmount(e){J.hook("app:unmount",e)},vueAppConnected(e){J.hook("app:connected",e)},componentAdded(e){return J.hook("component:added",e)},componentEmit(e){return J.hook("component:emit",e)},componentUpdated(e){return J.hook("component:updated",e)},componentRemoved(e){return J.hook("component:removed",e)},setupDevtoolsPlugin(e){J.hook("devtools-plugin:setup",e)},perfStart(e){return J.hook("perf:start",e)},perfEnd(e){return J.hook("perf:end",e)}},ji={on:df,setupDevToolsPlugin(e,t){return J.callHook("devtools-plugin:setup",e,t)}},ff=class{constructor({plugin:e,ctx:t}){this.hooks=t.hooks,this.plugin=e}get on(){return{visitComponentTree:e=>{this.hooks.hook("visitComponentTree",e)},inspectComponent:e=>{this.hooks.hook("inspectComponent",e)},editComponentState:e=>{this.hooks.hook("editComponentState",e)},getInspectorTree:e=>{this.hooks.hook("getInspectorTree",e)},getInspectorState:e=>{this.hooks.hook("getInspectorState",e)},editInspectorState:e=>{this.hooks.hook("editInspectorState",e)},inspectTimelineEvent:e=>{this.hooks.hook("inspectTimelineEvent",e)},timelineCleared:e=>{this.hooks.hook("timelineCleared",e)},setPluginSettings:e=>{this.hooks.hook("setPluginSettings",e)}}}notifyComponentUpdate(e){var t;if($.highPerfModeEnabled)return;const r=Oi().find(n=>n.packageName===this.plugin.descriptor.packageName);if(r!=null&&r.id){if(e){const n=[e.appContext.app,e.uid,(t=e.parent)==null?void 0:t.uid,e];J.callHook("component:updated",...n)}else J.callHook("component:updated");this.hooks.callHook("sendInspectorState",{inspectorId:r.id,plugin:this.plugin})}}addInspector(e){this.hooks.callHook("addInspector",{inspector:e,plugin:this.plugin}),this.plugin.descriptor.settings&&lf(e.id,this.plugin.descriptor.settings)}sendInspectorTree(e){$.highPerfModeEnabled||this.hooks.callHook("sendInspectorTree",{inspectorId:e,plugin:this.plugin})}sendInspectorState(e){$.highPerfModeEnabled||this.hooks.callHook("sendInspectorState",{inspectorId:e,plugin:this.plugin})}selectInspectorNode(e,t){this.hooks.callHook("customInspectorSelectNode",{inspectorId:e,nodeId:t,plugin:this.plugin})}visitComponentTree(e){return this.hooks.callHook("visitComponentTree",e)}now(){return $.highPerfModeEnabled?0:Date.now()}addTimelineLayer(e){this.hooks.callHook("timelineLayerAdded",{options:e,plugin:this.plugin})}addTimelineEvent(e){$.highPerfModeEnabled||this.hooks.callHook("timelineEventAdded",{options:e,plugin:this.plugin})}getSettings(e){return $i(e??this.plugin.descriptor.id,this.plugin.descriptor.settings)}getComponentInstances(e){return this.hooks.callHook("getComponentInstances",{app:e})}getComponentBounds(e){return this.hooks.callHook("getComponentBounds",{instance:e})}getComponentName(e){return this.hooks.callHook("getComponentName",{instance:e})}highlightElement(e){const t=e.__VUE_DEVTOOLS_NEXT_UID__;return this.hooks.callHook("componentHighlight",{uid:t})}unhighlightElement(){return this.hooks.callHook("componentUnhighlight")}},hf=ff;v(),v(),v(),v();var pf="__vue_devtool_undefined__",_f="__vue_devtool_infinity__",mf="__vue_devtool_negative_infinity__",gf="__vue_devtool_nan__";v(),v();var Ef={[pf]:"undefined",[gf]:"NaN",[_f]:"Infinity",[mf]:"-Infinity"};Object.entries(Ef).reduce((e,[t,r])=>(e[r]=t,e),{}),v(),v(),v(),v(),v();var Hi,Ki;(Ki=(Hi=S).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__)!=null||(Hi.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__=new Set);function yf(e,t){return ji.setupDevToolsPlugin(e,t)}function vf(e,t){const[r,n]=e;if(r.app!==t)return;const s=new hf({plugin:{setupFn:n,descriptor:r},ctx:Oe});r.packageName==="vuex"&&s.on.editInspectorState(a=>{s.sendInspectorState(a.inspectorId)}),n(s)}function zi(e){S.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e)||$.highPerfModeEnabled||(S.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e),mn.forEach(t=>{vf(t,e)}))}v(),v();var Ne="__VUE_DEVTOOLS_ROUTER__",we="__VUE_DEVTOOLS_ROUTER_INFO__",Gi,Wi;(Wi=(Gi=S)[we])!=null||(Gi[we]={currentRoute:null,routes:[]});var Ji,Yi;(Yi=(Ji=S)[Ne])!=null||(Ji[Ne]={}),new Proxy(S[we],{get(e,t){return S[we][t]}}),new Proxy(S[Ne],{get(e,t){if(t==="value")return S[Ne]}});function bf(e){const t=new Map;return((e==null?void 0:e.getRoutes())||[]).filter(r=>!t.has(r.path)&&t.set(r.path,1))}function yn(e){return e.map(t=>{let{path:r,name:n,children:s,meta:a}=t;return s!=null&&s.length&&(s=yn(s)),{path:r,name:n,children:s,meta:a}})}function Sf(e){if(e){const{fullPath:t,hash:r,href:n,path:s,name:a,matched:i,params:o,query:l}=e;return{fullPath:t,hash:r,href:n,path:s,name:a,params:o,query:l,matched:yn(i)}}return e}function wf(e,t){function r(){var n;const s=(n=e.app)==null?void 0:n.config.globalProperties.$router,a=Sf(s==null?void 0:s.currentRoute.value),i=yn(bf(s)),o=console.warn;console.warn=()=>{},S[we]={currentRoute:a?ri(a):{},routes:ri(i)},S[Ne]=s,console.warn=o}r(),ji.on.componentUpdated(be(()=>{var n;((n=t.value)==null?void 0:n.app)===e.app&&(r(),!$.highPerfModeEnabled&&Oe.hooks.callHook("routerInfoUpdated",{state:S[we]}))},200))}function Of(e){return{async getInspectorTree(t){const r={...t,app:j.value.app,rootNodes:[]};return await new Promise(n=>{e.callHookWith(async s=>{await Promise.all(s.map(a=>a(r))),n()},"getInspectorTree")}),r.rootNodes},async getInspectorState(t){const r={...t,app:j.value.app,state:null},n={currentTab:`custom-inspector:${t.inspectorId}`};return await new Promise(s=>{e.callHookWith(async a=>{await Promise.all(a.map(i=>i(r,n))),s()},"getInspectorState")}),r.state},editInspectorState(t){const r=new Wd,n={...t,app:j.value.app,set:(s,a=t.path,i=t.state.value,o)=>{r.set(s,a,i,o||r.createDefaultSetCallback(t.state))}};e.callHookWith(s=>{s.forEach(a=>a(n))},"editInspectorState")},sendInspectorState(t){const r=pt(t);e.callHook("sendInspectorState",{inspectorId:t,plugin:{descriptor:r.descriptor,setupFn:()=>({})}})},inspectComponentInspector(){return Md()},cancelInspectComponentInspector(){return qd()},getComponentRenderCode(t){const r=on(j.value,t);if(r)return(r==null?void 0:r.type)instanceof Function?r.type.toString():r.render.toString()},scrollToComponent(t){return jd({id:t})},openInEditor:of,getVueInspector:zd,toggleApp(t){const r=_t.value.find(n=>n.id===t);r&&(af(t),sf(r),wf(r,j),wi(),zi(r.app))},inspectDOM(t){const r=on(j.value,t);if(r){const[n]=un(r);n&&(S.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__=n)}},updatePluginSettings(t,r,n){cf(t,r,n)},getPluginSettings(t){return{options:uf(t),values:$i(t)}}}}v();var Xi,Zi;(Zi=(Xi=S).__VUE_DEVTOOLS_ENV__)!=null||(Xi.__VUE_DEVTOOLS_ENV__={vitePluginDetected:!1});var Qi=tf(),eo,to;(to=(eo=S).__VUE_DEVTOOLS_KIT_CONTEXT__)!=null||(eo.__VUE_DEVTOOLS_KIT_CONTEXT__={hooks:Qi,get state(){return{...$,activeAppRecordId:j.id,activeAppRecord:j.value,appRecords:_t.value}},api:Of(Qi)});var Oe=S.__VUE_DEVTOOLS_KIT_CONTEXT__;v(),wd(Ad());var ro,no;(no=(ro=S).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__)!=null||(ro.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__={id:0,appIds:new Set}),v();function Af(e){$.highPerfModeEnabled=e??!$.highPerfModeEnabled,!e&&j.value&&zi(j.value.app)}v(),v(),v();function Rf(e){$.devtoolsClientDetected={...$.devtoolsClientDetected,...e};const t=Object.values($.devtoolsClientDetected).some(Boolean);Af(!t)}var so,ao;(ao=(so=S).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__)!=null||(so.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__=Rf),v(),v(),v(),v(),v(),v(),v();var Tf=class{constructor(){this.keyToValue=new Map,this.valueToKey=new Map}set(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)}getByKey(e){return this.keyToValue.get(e)}getByValue(e){return this.valueToKey.get(e)}clear(){this.keyToValue.clear(),this.valueToKey.clear()}},io=class{constructor(e){this.generateIdentifier=e,this.kv=new Tf}register(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))}clear(){this.kv.clear()}getIdentifier(e){return this.kv.getByValue(e)}getValue(e){return this.kv.getByKey(e)}},Cf=class extends io{constructor(){super(e=>e.name),this.classToAllowedProps=new Map}register(e,t){typeof t=="object"?(t.allowProps&&this.classToAllowedProps.set(e,t.allowProps),super.register(e,t.identifier)):super.register(e,t)}getAllowedProps(e){return this.classToAllowedProps.get(e)}};v(),v();function Pf(e){if("values"in Object)return Object.values(e);const t=[];for(const r in e)e.hasOwnProperty(r)&&t.push(e[r]);return t}function Df(e,t){const r=Pf(e);if("find"in r)return r.find(t);const n=r;for(let s=0;s<n.length;s++){const a=n[s];if(t(a))return a}}function Ae(e,t){Object.entries(e).forEach(([r,n])=>t(n,r))}function mt(e,t){return e.indexOf(t)!==-1}function oo(e,t){for(let r=0;r<e.length;r++){const n=e[r];if(t(n))return n}}var If=class{constructor(){this.transfomers={}}register(e){this.transfomers[e.name]=e}findApplicable(e){return Df(this.transfomers,t=>t.isApplicable(e))}findByName(e){return this.transfomers[e]}};v(),v();var kf=e=>Object.prototype.toString.call(e).slice(8,-1),uo=e=>typeof e>"u",xf=e=>e===null,Ue=e=>typeof e!="object"||e===null||e===Object.prototype?!1:Object.getPrototypeOf(e)===null?!0:Object.getPrototypeOf(e)===Object.prototype,vn=e=>Ue(e)&&Object.keys(e).length===0,ae=e=>Array.isArray(e),Lf=e=>typeof e=="string",Ff=e=>typeof e=="number"&&!isNaN(e),Nf=e=>typeof e=="boolean",Uf=e=>e instanceof RegExp,Be=e=>e instanceof Map,Ve=e=>e instanceof Set,lo=e=>kf(e)==="Symbol",Bf=e=>e instanceof Date&&!isNaN(e.valueOf()),Vf=e=>e instanceof Error,co=e=>typeof e=="number"&&isNaN(e),$f=e=>Nf(e)||xf(e)||uo(e)||Ff(e)||Lf(e)||lo(e),qf=e=>typeof e=="bigint",Mf=e=>e===1/0||e===-1/0,jf=e=>ArrayBuffer.isView(e)&&!(e instanceof DataView),Hf=e=>e instanceof URL;v();var fo=e=>e.replace(/\./g,"\\."),bn=e=>e.map(String).map(fo).join("."),$e=e=>{const t=[];let r="";for(let s=0;s<e.length;s++){let a=e.charAt(s);if(a==="\\"&&e.charAt(s+1)==="."){r+=".",s++;continue}if(a==="."){t.push(r),r="";continue}r+=a}const n=r;return t.push(n),t};v();function se(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}var ho=[se(uo,"undefined",()=>null,()=>{}),se(qf,"bigint",e=>e.toString(),e=>typeof BigInt<"u"?BigInt(e):(console.error("Please add a BigInt polyfill."),e)),se(Bf,"Date",e=>e.toISOString(),e=>new Date(e)),se(Vf,"Error",(e,t)=>{const r={name:e.name,message:e.message};return t.allowedErrorProps.forEach(n=>{r[n]=e[n]}),r},(e,t)=>{const r=new Error(e.message);return r.name=e.name,r.stack=e.stack,t.allowedErrorProps.forEach(n=>{r[n]=e[n]}),r}),se(Uf,"regexp",e=>""+e,e=>{const t=e.slice(1,e.lastIndexOf("/")),r=e.slice(e.lastIndexOf("/")+1);return new RegExp(t,r)}),se(Ve,"set",e=>[...e.values()],e=>new Set(e)),se(Be,"map",e=>[...e.entries()],e=>new Map(e)),se(e=>co(e)||Mf(e),"number",e=>co(e)?"NaN":e>0?"Infinity":"-Infinity",Number),se(e=>e===0&&1/e===-1/0,"number",()=>"-0",Number),se(Hf,"URL",e=>e.toString(),e=>new URL(e))];function gt(e,t,r,n){return{isApplicable:e,annotation:t,transform:r,untransform:n}}var po=gt((e,t)=>lo(e)?!!t.symbolRegistry.getIdentifier(e):!1,(e,t)=>["symbol",t.symbolRegistry.getIdentifier(e)],e=>e.description,(e,t,r)=>{const n=r.symbolRegistry.getValue(t[1]);if(!n)throw new Error("Trying to deserialize unknown symbol");return n}),Kf=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce((e,t)=>(e[t.name]=t,e),{}),_o=gt(jf,e=>["typed-array",e.constructor.name],e=>[...e],(e,t)=>{const r=Kf[t[1]];if(!r)throw new Error("Trying to deserialize unknown typed array");return new r(e)});function mo(e,t){return e!=null&&e.constructor?!!t.classRegistry.getIdentifier(e.constructor):!1}var go=gt(mo,(e,t)=>["class",t.classRegistry.getIdentifier(e.constructor)],(e,t)=>{const r=t.classRegistry.getAllowedProps(e.constructor);if(!r)return{...e};const n={};return r.forEach(s=>{n[s]=e[s]}),n},(e,t,r)=>{const n=r.classRegistry.getValue(t[1]);if(!n)throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(n.prototype),e)}),Eo=gt((e,t)=>!!t.customTransformerRegistry.findApplicable(e),(e,t)=>["custom",t.customTransformerRegistry.findApplicable(e).name],(e,t)=>t.customTransformerRegistry.findApplicable(e).serialize(e),(e,t,r)=>{const n=r.customTransformerRegistry.findByName(t[1]);if(!n)throw new Error("Trying to deserialize unknown custom value");return n.deserialize(e)}),zf=[go,po,Eo,_o],yo=(e,t)=>{const r=oo(zf,s=>s.isApplicable(e,t));if(r)return{value:r.transform(e,t),type:r.annotation(e,t)};const n=oo(ho,s=>s.isApplicable(e,t));if(n)return{value:n.transform(e,t),type:n.annotation}},vo={};ho.forEach(e=>{vo[e.annotation]=e});var Gf=(e,t,r)=>{if(ae(t))switch(t[0]){case"symbol":return po.untransform(e,t,r);case"class":return go.untransform(e,t,r);case"custom":return Eo.untransform(e,t,r);case"typed-array":return _o.untransform(e,t,r);default:throw new Error("Unknown transformation: "+t)}else{const n=vo[t];if(!n)throw new Error("Unknown transformation: "+t);return n.untransform(e,r)}};v();var Re=(e,t)=>{const r=e.keys();for(;t>0;)r.next(),t--;return r.next().value};function bo(e){if(mt(e,"__proto__"))throw new Error("__proto__ is not allowed as a property");if(mt(e,"prototype"))throw new Error("prototype is not allowed as a property");if(mt(e,"constructor"))throw new Error("constructor is not allowed as a property")}var Wf=(e,t)=>{bo(t);for(let r=0;r<t.length;r++){const n=t[r];if(Ve(e))e=Re(e,+n);else if(Be(e)){const s=+n,a=+t[++r]==0?"key":"value",i=Re(e,s);switch(a){case"key":e=i;break;case"value":e=e.get(i);break}}else e=e[n]}return e},Sn=(e,t,r)=>{if(bo(t),t.length===0)return r(e);let n=e;for(let a=0;a<t.length-1;a++){const i=t[a];if(ae(n)){const o=+i;n=n[o]}else if(Ue(n))n=n[i];else if(Ve(n)){const o=+i;n=Re(n,o)}else if(Be(n)){if(a===t.length-2)break;const l=+i,u=+t[++a]==0?"key":"value",f=Re(n,l);switch(u){case"key":n=f;break;case"value":n=n.get(f);break}}}const s=t[t.length-1];if(ae(n)?n[+s]=r(n[+s]):Ue(n)&&(n[s]=r(n[s])),Ve(n)){const a=Re(n,+s),i=r(a);a!==i&&(n.delete(a),n.add(i))}if(Be(n)){const a=+t[t.length-2],i=Re(n,a);switch(+s==0?"key":"value"){case"key":{const l=r(i);n.set(l,n.get(i)),l!==i&&n.delete(i);break}case"value":{n.set(i,r(n.get(i)));break}}}return e};function wn(e,t,r=[]){if(!e)return;if(!ae(e)){Ae(e,(a,i)=>wn(a,t,[...r,...$e(i)]));return}const[n,s]=e;s&&Ae(s,(a,i)=>{wn(a,t,[...r,...$e(i)])}),t(n,r)}function Jf(e,t,r){return wn(t,(n,s)=>{e=Sn(e,s,a=>Gf(a,n,r))}),e}function Yf(e,t){function r(n,s){const a=Wf(e,$e(s));n.map($e).forEach(i=>{e=Sn(e,i,()=>a)})}if(ae(t)){const[n,s]=t;n.forEach(a=>{e=Sn(e,$e(a),()=>e)}),s&&Ae(s,r)}else Ae(t,r);return e}var Xf=(e,t)=>Ue(e)||ae(e)||Be(e)||Ve(e)||mo(e,t);function Zf(e,t,r){const n=r.get(e);n?n.push(t):r.set(e,[t])}function Qf(e,t){const r={};let n;return e.forEach(s=>{if(s.length<=1)return;t||(s=s.map(o=>o.map(String)).sort((o,l)=>o.length-l.length));const[a,...i]=s;a.length===0?n=i.map(bn):r[bn(a)]=i.map(bn)}),n?vn(r)?[n]:[n,r]:vn(r)?void 0:r}var So=(e,t,r,n,s=[],a=[],i=new Map)=>{var o;const l=$f(e);if(!l){Zf(e,s,t);const c=i.get(e);if(c)return n?{transformedValue:null}:c}if(!Xf(e,r)){const c=yo(e,r),m=c?{transformedValue:c.value,annotations:[c.type]}:{transformedValue:e};return l||i.set(e,m),m}if(mt(a,e))return{transformedValue:null};const u=yo(e,r),f=(o=u==null?void 0:u.value)!=null?o:e,d=ae(f)?[]:{},y={};Ae(f,(c,m)=>{if(m==="__proto__"||m==="constructor"||m==="prototype")throw new Error(`Detected property ${m}. This is a prototype pollution risk, please remove it from your object.`);const h=So(c,t,r,n,[...s,m],[...a,e],i);d[m]=h.transformedValue,ae(h.annotations)?y[m]=h.annotations:Ue(h.annotations)&&Ae(h.annotations,(E,w)=>{y[fo(m)+"."+w]=E})});const _=vn(y)?{transformedValue:d,annotations:u?[u.type]:void 0}:{transformedValue:d,annotations:u?[u.type,y]:y};return l||i.set(e,_),_};v(),v();function wo(e){return Object.prototype.toString.call(e).slice(8,-1)}function Oo(e){return wo(e)==="Array"}function eh(e){if(wo(e)!=="Object")return!1;const t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}function th(e,t,r,n,s){const a={}.propertyIsEnumerable.call(n,t)?"enumerable":"nonenumerable";a==="enumerable"&&(e[t]=r),s&&a==="nonenumerable"&&Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})}function On(e,t={}){if(Oo(e))return e.map(s=>On(s,t));if(!eh(e))return e;const r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols(e);return[...r,...n].reduce((s,a)=>{if(Oo(t.props)&&!t.props.includes(a))return s;const i=e[a],o=On(i,t);return th(s,a,o,e,t.nonenumerable),s},{})}var I=class{constructor({dedupe:e=!1}={}){this.classRegistry=new Cf,this.symbolRegistry=new io(t=>{var r;return(r=t.description)!=null?r:""}),this.customTransformerRegistry=new If,this.allowedErrorProps=[],this.dedupe=e}serialize(e){const t=new Map,r=So(e,t,this,this.dedupe),n={json:r.transformedValue};r.annotations&&(n.meta={...n.meta,values:r.annotations});const s=Qf(t,this.dedupe);return s&&(n.meta={...n.meta,referentialEqualities:s}),n}deserialize(e){const{json:t,meta:r}=e;let n=On(t);return r!=null&&r.values&&(n=Jf(n,r.values,this)),r!=null&&r.referentialEqualities&&(n=Yf(n,r.referentialEqualities)),n}stringify(e){return JSON.stringify(this.serialize(e))}parse(e){return this.deserialize(JSON.parse(e))}registerClass(e,t){this.classRegistry.register(e,t)}registerSymbol(e,t){this.symbolRegistry.register(e,t)}registerCustom(e,t){this.customTransformerRegistry.register({name:t,...e})}allowErrorProps(...e){this.allowedErrorProps.push(...e)}};I.defaultInstance=new I,I.serialize=I.defaultInstance.serialize.bind(I.defaultInstance),I.deserialize=I.defaultInstance.deserialize.bind(I.defaultInstance),I.stringify=I.defaultInstance.stringify.bind(I.defaultInstance),I.parse=I.defaultInstance.parse.bind(I.defaultInstance),I.registerClass=I.defaultInstance.registerClass.bind(I.defaultInstance),I.registerSymbol=I.defaultInstance.registerSymbol.bind(I.defaultInstance),I.registerCustom=I.defaultInstance.registerCustom.bind(I.defaultInstance),I.allowErrorProps=I.defaultInstance.allowErrorProps.bind(I.defaultInstance),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v(),v();var Ao,Ro;(Ro=(Ao=S).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__)!=null||(Ao.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__=[]);var To,Co;(Co=(To=S).__VUE_DEVTOOLS_KIT_RPC_CLIENT__)!=null||(To.__VUE_DEVTOOLS_KIT_RPC_CLIENT__=null);var Po,Do;(Do=(Po=S).__VUE_DEVTOOLS_KIT_RPC_SERVER__)!=null||(Po.__VUE_DEVTOOLS_KIT_RPC_SERVER__=null);var Io,ko;(ko=(Io=S).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__)!=null||(Io.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__=null);var xo,Lo;(Lo=(xo=S).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__)!=null||(xo.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__=null);var Fo,No;(No=(Fo=S).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__)!=null||(Fo.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__=null),v(),v(),v(),v(),v(),v(),v();var An,Uo;function rh(){if(Uo)return An;Uo=1;function e(t,r){for(var n=-1,s=t==null?0:t.length;++n<s&&r(t[n],n,t)!==!1;);return t}return An=e,An}var Rn,Bo;function nh(){if(Bo)return Rn;Bo=1;function e(t){return function(r,n,s){for(var a=-1,i=Object(r),o=s(r),l=o.length;l--;){var u=o[t?l:++a];if(n(i[u],u,i)===!1)break}return r}}return Rn=e,Rn}var Tn,Vo;function sh(){if(Vo)return Tn;Vo=1;var e=nh(),t=e();return Tn=t,Tn}var Cn,$o;function ah(){if($o)return Cn;$o=1;function e(t,r){for(var n=-1,s=Array(t);++n<t;)s[n]=r(n);return s}return Cn=e,Cn}var qe={exports:{}},Pn,qo;function ih(){if(qo)return Pn;qo=1;function e(){return!1}return Pn=e,Pn}qe.exports;var Mo;function oh(){return Mo||(Mo=1,function(e,t){var r=ze(),n=ih(),s=t&&!t.nodeType&&t,a=s&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===s,o=i?r.Buffer:void 0,l=o?o.isBuffer:void 0,u=l||n;e.exports=u}(qe,qe.exports)),qe.exports}var Dn,jo;function uh(){if(jo)return Dn;jo=1;var e=Ge(),t=kr(),r=We(),n="[object Arguments]",s="[object Array]",a="[object Boolean]",i="[object Date]",o="[object Error]",l="[object Function]",u="[object Map]",f="[object Number]",d="[object Object]",y="[object RegExp]",_="[object Set]",c="[object String]",m="[object WeakMap]",h="[object ArrayBuffer]",E="[object DataView]",w="[object Float32Array]",O="[object Float64Array]",P="[object Int8Array]",F="[object Int16Array]",k="[object Int32Array]",G="[object Uint8Array]",K="[object Uint8ClampedArray]",X="[object Uint16Array]",_e="[object Uint32Array]",C={};C[w]=C[O]=C[P]=C[F]=C[k]=C[G]=C[K]=C[X]=C[_e]=!0,C[n]=C[s]=C[h]=C[a]=C[E]=C[i]=C[o]=C[l]=C[u]=C[f]=C[d]=C[y]=C[_]=C[c]=C[m]=!1;function ue(te){return r(te)&&t(te.length)&&!!C[e(te)]}return Dn=ue,Dn}var In,Ho;function lh(){if(Ho)return In;Ho=1;function e(t){return function(r){return t(r)}}return In=e,In}var Me={exports:{}};Me.exports;var Ko;function ch(){return Ko||(Ko=1,function(e,t){var r=ts(),n=t&&!t.nodeType&&t,s=n&&!0&&e&&!e.nodeType&&e,a=s&&s.exports===n,i=a&&r.process,o=function(){try{var l=s&&s.require&&s.require("util").types;return l||i&&i.binding&&i.binding("util")}catch{}}();e.exports=o}(Me,Me.exports)),Me.exports}var kn,zo;function dh(){if(zo)return kn;zo=1;var e=uh(),t=lh(),r=ch(),n=r&&r.isTypedArray,s=n?t(n):e;return kn=s,kn}var xn,Go;function fh(){if(Go)return xn;Go=1;var e=ah(),t=na(),r=ge(),n=oh(),s=Dr(),a=dh(),i=Object.prototype,o=i.hasOwnProperty;function l(u,f){var d=r(u),y=!d&&t(u),_=!d&&!y&&n(u),c=!d&&!y&&!_&&a(u),m=d||y||_||c,h=m?e(u.length,String):[],E=h.length;for(var w in u)(f||o.call(u,w))&&!(m&&(w=="length"||_&&(w=="offset"||w=="parent")||c&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||s(w,E)))&&h.push(w);return h}return xn=l,xn}var Ln,Wo;function hh(){if(Wo)return Ln;Wo=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,s=typeof n=="function"&&n.prototype||e;return r===s}return Ln=t,Ln}var Fn,Jo;function ph(){if(Jo)return Fn;Jo=1;function e(t,r){return function(n){return t(r(n))}}return Fn=e,Fn}var Nn,Yo;function _h(){if(Yo)return Nn;Yo=1;var e=ph(),t=e(Object.keys,Object);return Nn=t,Nn}var Un,Xo;function mh(){if(Xo)return Un;Xo=1;var e=hh(),t=_h(),r=Object.prototype,n=r.hasOwnProperty;function s(a){if(!e(a))return t(a);var i=[];for(var o in Object(a))n.call(a,o)&&o!="constructor"&&i.push(o);return i}return Un=s,Un}var Bn,Zo;function Qo(){if(Zo)return Bn;Zo=1;var e=fs(),t=kr();function r(n){return n!=null&&t(n.length)&&!e(n)}return Bn=r,Bn}var Vn,eu;function gh(){if(eu)return Vn;eu=1;var e=fh(),t=mh(),r=Qo();function n(s){return r(s)?e(s):t(s)}return Vn=n,Vn}var $n,tu;function Eh(){if(tu)return $n;tu=1;var e=sh(),t=gh();function r(n,s){return n&&e(n,s,t)}return $n=r,$n}var qn,ru;function yh(){if(ru)return qn;ru=1;var e=Qo();function t(r,n){return function(s,a){if(s==null)return s;if(!e(s))return r(s,a);for(var i=s.length,o=n?i:-1,l=Object(s);(n?o--:++o<i)&&a(l[o],o,l)!==!1;);return s}}return qn=t,qn}var Mn,nu;function vh(){if(nu)return Mn;nu=1;var e=Eh(),t=yh(),r=t(e);return Mn=r,Mn}var jn,su;function bh(){if(su)return jn;su=1;function e(t){return t}return jn=e,jn}var Hn,au;function Sh(){if(au)return Hn;au=1;var e=bh();function t(r){return typeof r=="function"?r:e}return Hn=t,Hn}var Kn,iu;function wh(){if(iu)return Kn;iu=1;var e=rh(),t=vh(),r=Sh(),n=ge();function s(a,i){var o=n(a)?e:t;return o(a,r(i))}return Kn=s,Kn}var Oh=wh();const ou=Pe(Oh);var Y=(e=>(e.CREATE="create",e.READ="read",e.UPDATE="update",e.DELETE="delete",e))(Y||{}),Et=(e=>(e.CREATED="created",e.READ="read",e.UPDATED="updated",e.DELETED="deleted",e))(Et||{});function uu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),r.push.apply(r,n)}return r}function ie(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?uu(Object(r),!0).forEach(function(n){Ah(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):uu(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Ah(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lu(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return Object.keys(e).reduce((r,n)=>(t.includes(n)||(r[n]=g.unref(e[n])),r),{})}function yt(e){return typeof e=="function"}function Rh(e){return g.isReactive(e)||g.isReadonly(e)}function cu(e,t,r){let n=e;const s=t.split(".");for(let a=0;a<s.length;a++){if(!n[s[a]])return r;n=n[s[a]]}return n}function zn(e,t,r){return g.computed(()=>e.some(n=>cu(t,n,{[r]:!1})[r]))}function du(e,t,r){return g.computed(()=>e.reduce((n,s)=>{const a=cu(t,s,{[r]:!1})[r]||[];return n.concat(a)},[]))}function fu(e,t,r,n){return e.call(n,g.unref(t),g.unref(r),n)}function hu(e){return e.$valid!==void 0?!e.$valid:!e}function Th(e,t,r,n,s,a,i){let{$lazy:o,$rewardEarly:l}=s,u=arguments.length>7&&arguments[7]!==void 0?arguments[7]:[],f=arguments.length>8?arguments[8]:void 0,d=arguments.length>9?arguments[9]:void 0,y=arguments.length>10?arguments[10]:void 0;const _=g.ref(!!n.value),c=g.ref(0);r.value=!1;const m=g.watch([t,n].concat(u,y),()=>{if(o&&!n.value||l&&!d.value&&!r.value)return;let h;try{h=fu(e,t,f,i)}catch(E){h=Promise.reject(E)}c.value++,r.value=!!c.value,_.value=!1,Promise.resolve(h).then(E=>{c.value--,r.value=!!c.value,a.value=E,_.value=hu(E)}).catch(E=>{c.value--,r.value=!!c.value,a.value=E,_.value=!0})},{immediate:!0,deep:typeof t=="object"});return{$invalid:_,$unwatch:m}}function Ch(e,t,r,n,s,a,i,o){let{$lazy:l,$rewardEarly:u}=n;const f=()=>({}),d=g.computed(()=>{if(l&&!r.value||u&&!o.value)return!1;let y=!0;try{const _=fu(e,t,i,a);s.value=_,y=hu(_)}catch(_){s.value=_}return y});return{$unwatch:f,$invalid:d}}function Ph(e,t,r,n,s,a,i,o,l,u,f){const d=g.ref(!1),y=e.$params||{},_=g.ref(null);let c,m;e.$async?{$invalid:c,$unwatch:m}=Th(e.$validator,t,d,r,n,_,s,e.$watchTargets,l,u,f):{$invalid:c,$unwatch:m}=Ch(e.$validator,t,r,n,_,s,l,u);const h=e.$message;return{$message:yt(h)?g.computed(()=>h(lu({$pending:d,$invalid:c,$params:lu(y),$model:t,$response:_,$validator:a,$propertyPath:o,$property:i}))):h||"",$params:y,$pending:d,$invalid:c,$response:_,$unwatch:m}}function Dh(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=g.unref(e),r=Object.keys(t),n={},s={},a={};let i=null;return r.forEach(o=>{const l=t[o];switch(!0){case yt(l.$validator):n[o]=l;break;case yt(l):n[o]={$validator:l};break;case o==="$validationGroups":i=l;break;case o.startsWith("$"):a[o]=l;break;default:s[o]=l}}),{rules:n,nestedValidators:s,config:a,validationGroups:i}}const Ih="__root";function kh(e,t,r,n,s,a,i,o,l){const u=Object.keys(e),f=n.get(s,e),d=g.ref(!1),y=g.ref(!1),_=g.ref(0);if(f){if(!f.$partial)return f;f.$unwatch(),d.value=f.$dirty.value}const c={$dirty:d,$path:s,$touch:()=>{d.value||(d.value=!0)},$reset:()=>{d.value&&(d.value=!1)},$commit:()=>{}};return u.length?(u.forEach(m=>{c[m]=Ph(e[m],t,c.$dirty,a,i,m,r,s,l,y,_)}),c.$externalResults=g.computed(()=>o.value?[].concat(o.value).map((m,h)=>({$propertyPath:s,$property:r,$validator:"$externalResults",$uid:`${s}-externalResult-${h}`,$message:m,$params:{},$response:null,$pending:!1})):[]),c.$invalid=g.computed(()=>{const m=u.some(h=>g.unref(c[h].$invalid));return y.value=m,!!c.$externalResults.value.length||m}),c.$pending=g.computed(()=>u.some(m=>g.unref(c[m].$pending))),c.$error=g.computed(()=>c.$dirty.value?c.$pending.value||c.$invalid.value:!1),c.$silentErrors=g.computed(()=>u.filter(m=>g.unref(c[m].$invalid)).map(m=>{const h=c[m];return g.reactive({$propertyPath:s,$property:r,$validator:m,$uid:`${s}-${m}`,$message:h.$message,$params:h.$params,$response:h.$response,$pending:h.$pending})}).concat(c.$externalResults.value)),c.$errors=g.computed(()=>c.$dirty.value?c.$silentErrors.value:[]),c.$unwatch=()=>u.forEach(m=>{c[m].$unwatch()}),c.$commit=()=>{y.value=!0,_.value=Date.now()},n.set(s,e,c),c):(f&&n.set(s,e,c),c)}function xh(e,t,r,n,s,a,i){const o=Object.keys(e);return o.length?o.reduce((l,u)=>(l[u]=Gn({validations:e[u],state:t,key:u,parentKey:r,resultsCache:n,globalConfig:s,instance:a,externalResults:i}),l),{}):{}}function Lh(e,t,r){const n=g.computed(()=>[t,r].filter(c=>c).reduce((c,m)=>c.concat(Object.values(g.unref(m))),[])),s=g.computed({get(){return e.$dirty.value||(n.value.length?n.value.every(c=>c.$dirty):!1)},set(c){e.$dirty.value=c}}),a=g.computed(()=>{const c=g.unref(e.$silentErrors)||[],m=n.value.filter(h=>(g.unref(h).$silentErrors||[]).length).reduce((h,E)=>h.concat(...E.$silentErrors),[]);return c.concat(m)}),i=g.computed(()=>{const c=g.unref(e.$errors)||[],m=n.value.filter(h=>(g.unref(h).$errors||[]).length).reduce((h,E)=>h.concat(...E.$errors),[]);return c.concat(m)}),o=g.computed(()=>n.value.some(c=>c.$invalid)||g.unref(e.$invalid)||!1),l=g.computed(()=>n.value.some(c=>g.unref(c.$pending))||g.unref(e.$pending)||!1),u=g.computed(()=>n.value.some(c=>c.$dirty)||n.value.some(c=>c.$anyDirty)||s.value),f=g.computed(()=>s.value?l.value||o.value:!1),d=()=>{e.$touch(),n.value.forEach(c=>{c.$touch()})},y=()=>{e.$commit(),n.value.forEach(c=>{c.$commit()})},_=()=>{e.$reset(),n.value.forEach(c=>{c.$reset()})};return n.value.length&&n.value.every(c=>c.$dirty)&&d(),{$dirty:s,$errors:i,$invalid:o,$anyDirty:u,$error:f,$pending:l,$touch:d,$reset:_,$silentErrors:a,$commit:y}}function Gn(e){let{validations:t,state:r,key:n,parentKey:s,childResults:a,resultsCache:i,globalConfig:o={},instance:l,externalResults:u}=e;const f=s?`${s}.${n}`:n,{rules:d,nestedValidators:y,config:_,validationGroups:c}=Dh(t),m=ie(ie({},o),_),h=n?g.computed(()=>{const D=g.unref(r);return D?g.unref(D[n]):void 0}):r,E=ie({},g.unref(u)||{}),w=g.computed(()=>{const D=g.unref(u);return n?D?g.unref(D[n]):void 0:D}),O=kh(d,h,n,i,f,m,l,w,r),P=xh(y,h,f,i,m,l,w),F={};c&&Object.entries(c).forEach(D=>{let[H,V]=D;F[H]={$invalid:zn(V,P,"$invalid"),$error:zn(V,P,"$error"),$pending:zn(V,P,"$pending"),$errors:du(V,P,"$errors"),$silentErrors:du(V,P,"$silentErrors")}});const{$dirty:k,$errors:G,$invalid:K,$anyDirty:X,$error:_e,$pending:C,$touch:ue,$reset:te,$silentErrors:le,$commit:je}=Lh(O,P,a),re=n?g.computed({get:()=>g.unref(h),set:D=>{k.value=!0;const H=g.unref(r),V=g.unref(u);V&&(V[n]=E[n]),g.isRef(H[n])?H[n].value=D:H[n]=D}}):null;n&&m.$autoDirty&&g.watch(h,()=>{k.value||ue();const D=g.unref(u);D&&(D[n]=E[n])},{flush:"sync"});async function R(){return ue(),m.$rewardEarly&&(je(),await g.nextTick()),await g.nextTick(),new Promise(D=>{if(!C.value)return D(!K.value);const H=g.watch(C,()=>{D(!K.value),H()})})}function Ce(D){return(a.value||{})[D]}function Z(){g.isRef(u)?u.value=E:Object.keys(E).length===0?Object.keys(u).forEach(D=>{delete u[D]}):Object.assign(u,E)}return g.reactive(ie(ie(ie({},O),{},{$model:re,$dirty:k,$error:_e,$errors:G,$invalid:K,$anyDirty:X,$pending:C,$touch:ue,$reset:te,$path:f||Ih,$silentErrors:le,$validate:R,$commit:je},a&&{$getResultsForChild:Ce,$clearExternalResults:Z,$validationGroups:F}),P))}class Fh{constructor(){this.storage=new Map}set(t,r,n){this.storage.set(t,{rules:r,result:n})}checkRulesValidity(t,r,n){const s=Object.keys(n),a=Object.keys(r);return a.length!==s.length||!a.every(o=>s.includes(o))?!1:a.every(o=>r[o].$params?Object.keys(r[o].$params).every(l=>g.unref(n[o].$params[l])===g.unref(r[o].$params[l])):!0)}get(t,r){const n=this.storage.get(t);if(!n)return;const{rules:s,result:a}=n,i=this.checkRulesValidity(t,r,s),o=a.$unwatch?a.$unwatch:()=>({});return i?a:{$dirty:a.$dirty,$partial:!0,$unwatch:o}}}const vt={COLLECT_ALL:!0,COLLECT_NONE:!1},pu=Symbol("vuelidate#injectChildResults"),_u=Symbol("vuelidate#removeChildResults");function Nh(e){let{$scope:t,instance:r}=e;const n={},s=g.ref([]),a=g.computed(()=>s.value.reduce((f,d)=>(f[d]=g.unref(n[d]),f),{}));function i(f,d){let{$registerAs:y,$scope:_,$stopPropagation:c}=d;c||t===vt.COLLECT_NONE||_===vt.COLLECT_NONE||t!==vt.COLLECT_ALL&&t!==_||(n[y]=f,s.value.push(y))}r.__vuelidateInjectInstances=[].concat(r.__vuelidateInjectInstances||[],i);function o(f){s.value=s.value.filter(d=>d!==f),delete n[f]}r.__vuelidateRemoveInstances=[].concat(r.__vuelidateRemoveInstances||[],o);const l=g.inject(pu,[]);g.provide(pu,r.__vuelidateInjectInstances);const u=g.inject(_u,[]);return g.provide(_u,r.__vuelidateRemoveInstances),{childResults:a,sendValidationResultsToParent:l,removeValidationResultsFromParent:u}}function mu(e){return new Proxy(e,{get(t,r){return typeof t[r]=="object"?mu(t[r]):g.computed(()=>t[r])}})}let gu=0;function Uh(e,t){var r;let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};arguments.length===1&&(n=e,e=void 0,t=void 0);let{$registerAs:s,$scope:a=vt.COLLECT_ALL,$stopPropagation:i,$externalResults:o,currentVueInstance:l}=n;const u=l||((r=g.getCurrentInstance())===null||r===void 0?void 0:r.proxy),f=u?u.$options:{};s||(gu+=1,s=`_vuelidate_${gu}`);const d=g.ref({}),y=new Fh,{childResults:_,sendValidationResultsToParent:c,removeValidationResultsFromParent:m}=u?Nh({$scope:a,instance:u}):{childResults:g.ref({})};if(!e&&f.validations){const h=f.validations;t=g.ref({}),g.onBeforeMount(()=>{t.value=u,g.watch(()=>yt(h)?h.call(t.value,new mu(t.value)):h,E=>{d.value=Gn({validations:E,state:t,childResults:_,resultsCache:y,globalConfig:n,instance:u,externalResults:o||u.vuelidateExternalResults})},{immediate:!0})}),n=f.validationsConfig||n}else{const h=g.isRef(e)||Rh(e)?e:g.reactive(e||{});g.watch(h,E=>{d.value=Gn({validations:E,state:t,childResults:_,resultsCache:y,globalConfig:n,instance:u??{},externalResults:o})},{immediate:!0})}return u&&(c.forEach(h=>h(d,{$registerAs:s,$scope:a,$stopPropagation:i})),g.onBeforeUnmount(()=>m.forEach(h=>h(s)))),g.computed(()=>ie(ie({},g.unref(d.value)),_.value))}class Bh{constructor(){T(this,"model");T(this,"v$");T(this,"$invalid",g.reactive({}));T(this,"$model",g.reactive({}));T(this,"validations",g.computed(()=>({})))}initValidations(){const t=this.model;this.v$=Uh(this.validations,{model:t}),this.set$Model(this.v$.value.model),L({title:"Validation Initialized",data:this.v$.value.model})}$validate(){return this.v$.value.$validate(),this.$invalid=this.v$.value.$invalid,U().then(),L({title:"Validation Response",data:{valid:!this.v$.value.$invalid,invalid:this.v$.value.$invalid,model:this.v$.value.model}}),!this.v$.value.$invalid}$reset(){this.v$.value.$reset(),Object.assign(this.$invalid,this.v$.value.$invalid),U().then(),L({title:"Validation Reset",data:this.v$.value.model})}set$Model(t){Object.assign(this.$model,t),U().then()}}class oe extends lt{constructor(r,n){super(r,n);T(this,"name");this.name=this.constructor.name}}const q=[];for(let e=0;e<256;++e)q.push((e+256).toString(16).slice(1));function Vh(e,t=0){return(q[e[t+0]]+q[e[t+1]]+q[e[t+2]]+q[e[t+3]]+"-"+q[e[t+4]]+q[e[t+5]]+"-"+q[e[t+6]]+q[e[t+7]]+"-"+q[e[t+8]]+q[e[t+9]]+"-"+q[e[t+10]]+q[e[t+11]]+q[e[t+12]]+q[e[t+13]]+q[e[t+14]]+q[e[t+15]]).toLowerCase()}let Wn;const $h=new Uint8Array(16);function qh(){if(!Wn){if(typeof crypto>"u"||!crypto.getRandomValues)throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");Wn=crypto.getRandomValues.bind(crypto)}return Wn($h)}const Eu={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};function yu(e,t,r){if(Eu.randomUUID&&!t&&!e)return Eu.randomUUID();e=e||{};const n=e.random||(e.rng||qh)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,Vh(n)}const Mh=e=>{console.log(e),e.forEach(t=>{})};class vu extends Bh{constructor(){super();T(this,"relations");T(this,"state",g.reactive({isLoading:!1,isSuccess:!0,isError:!1}));T(this,"uuid");T(this,"errors",[]);T(this,"isValid",!0);T(this,"isInvalid",!1);T(this,"originalModel",{});T(this,"parameters");T(this,"protected",["id","created_at","updated_at","deleted_at"]);T(this,"defaultModel",{});this.uuid=yu(),Su(this).then(),L({title:"Model Initialized",data:{uuid:this.uuid}})}static async find(r){const n=this.instance();return await n.find(r),n}static instance(){return new this}async find(r){this.setStateLoading(),typeof this.defaultModel>"u"&&Object.assign(this.defaultModel,this.model);try{this.retrieving();const n=await this.api.show(r);this.setModel(n.data),L({title:"Model Retrieved",data:{model:n.data}}),this.setOriginal(),this.setStateSuccess(),this.retrieved(n.data)}catch(n){throw this.setStateError(),this.retrievingError(n),new oe("Find",n)}}async save(r){let n,s="";this.saving();try{return!this.model.id||r===Y.CREATE?(n=await this.create(),s=Et.CREATED):(n=await this.update(),s=Et.UPDATED),this.saved(n),L({title:s,data:{model:n}}),{actioned:s,model:n}}catch(a){throw new oe("Find",a)}}async create(){try{this.creating(),this.setStateLoading();const r=await this.api.store(this.model);return this.setOriginal(),this.setModel(r.data),L({title:"Created",data:{model:r.data}}),this.setStateSuccess(),this.created(r.data),r.data}catch(r){throw this.setStateError(),new oe("Create",r)}}async update(){try{this.setStateLoading(),this.updating();const r=await this.api.update(this.model);return this.setOriginal(),this.setModel(r.data),L({title:"Updated",data:{model:r.data}}),this.setStateSuccess(),this.updated(r.data),r.data}catch(r){throw this.setStateError(),new oe("Update",r)}}async delete(){try{this.deleting(),this.setStateLoading();const r=await this.api.destroy(this.model);return this.setOriginal(),this.setModel(r.data),L({title:"Deleted",data:{model:r.data}}),this.setStateSuccess(),this.deleted(r.data),r.data}catch(r){throw this.setStateError(),new oe("Delete",r)}}async logs(){this.setStateLoading();try{const r=await this.api.logs(this.model.id);return this.setStateSuccess(),r.data}catch(r){throw this.setStateError(),new oe("Logs",r)}}fresh(){this.setModel(this.defaultModel),L({title:"Fresh Model",data:{model:this.defaultModel}})}async refresh(r){try{this.setStateLoading(),this.retrieving();const n=r||this.model.id,s=await this.api.show(n);this.setOriginal(),this.setStateSuccess(),this.factory(s.data),this.retrieved(s.data),L({title:"Refreshed",data:{model:s.data}})}catch(n){throw this.setStateError(),this.retrievingError(n),new oe("Refresh",n)}}getOriginal(){return this.originalModel}async load(r){switch(typeof r){case"string":this.model[r]=await this[r]().get();break;case"object":for(const n of r)this.model[n]=await this[n]().get();break}U().then()}async hasOne(r,n){const s=r.getResource();return await this.api.hasOne(s,n).get()}hasMany(r,n){const s=r.getResource();return{get:async()=>await this.api.hasMany(s,n).get(),show:async a=>await this.api.hasMany(s,n).show(a),create:async a=>await this.api.hasMany(s,n).store(a),update:async a=>await this.api.hasMany(s,n).update(a),delete:async a=>await this.api.hasMany(s,n).delete(a.id)}}setRulesFromServer(r){console.log(this.validations),ou(r,(n,s)=>{console.log(s,n);const a=Mh(n);console.log(a)})}getDefault(r){if(this.parameters&&r in this.parameters)return this.parameters[r]}factory(r){this.defaultModel=Object.assign({},this.model),r&&this.setModel(r),ou(this.parameters,(n,s)=>{s in this.model&&this.model[s]===void 0&&(this.model[s]=n)}),this.setOriginal()}setModel(r){Object.assign(this.model,r),U().then()}setOriginal(){Object.assign(this.originalModel,this.model),U().then()}retrieving(){}retrieved(r){}retrievingError(r){}creating(){}created(r){}updating(){}updated(r){}saving(){}saved(r){}deleting(){}deleted(r){}setStateLoading(){this.state.isLoading=!0,this.state.isSuccess=!0,this.state.isError=!1,U().then(),L({title:"Loading",data:this.state})}setStateSuccess(){this.state.isLoading=!1,this.state.isSuccess=!0,this.state.isError=!1,U().then(),L({title:"Loading success",data:this.state})}setStateError(){this.state.isLoading=!1,this.state.isSuccess=!1,this.state.isError=!0,U().then(),L({title:"Loading error",data:this.state})}}const Jn=[],bu=[],bt=[],Su=async e=>{if(!e)throw new Error("Model is not defined");const t=e instanceof vu?"model":"collection";Jn.push(e),bu.push({id:e.uuid,label:e.constructor.name+"-"+Jn.length,type:t}),bt.push({id:e.uuid,model:e,type:t}),await U()},Yn=()=>({eloquentModels:Jn,childrenNodes:bu,childrenStates:bt}),jh=(e,t)=>{if(e==="model")return Hh(t);if(e==="collection")return Kh(t)};function Hh(e){const t=bt.find(r=>r.id===e);return{model:[{key:"uuid",value:t.model.uuid},{key:"model",value:t.model.model},{key:"defaultModel",value:t.model.defaultModel},{key:"relations",value:t.model.relations}],state:[{key:"isLoading",value:t.model.state.isLoading},{key:"isSuccess",value:t.model.state.isSuccess},{key:"isError",value:t.model.state.isError}],validation:[{key:"$model",value:t.model.$model},{key:"$invalid",value:t.model.$invalid},{key:"validations",value:t.model.validations}]}}function Kh(e){const t=bt.find(r=>r.id===e);return{data:[{key:"uuid",value:t.model.uuid},{key:"data",value:t.model.data},{key:"api",value:t.model.api}],state:[{key:"isLoading",value:t.model.state.isLoading},{key:"isSuccess",value:t.model.state.isSuccess},{key:"isError",value:t.model.state.isError}],query:[{key:"filter",value:t.model.filter},{key:"relationships",value:t.model.include},{key:"attributes",value:t.model.attributes},{key:"fields",value:t.model.fieldsSelection},{key:"paging",value:t.model.paging},{key:"sorting",value:t.model.sorting}],broadcast:[{key:"isBroadcasting",value:t.model.isBroadcasting},{key:"channel",value:t.model.channel}]}}const Te="vue-eloquent",wu="vue-eloquent";let ee;function zh(e){yf({id:Te,label:"Vue Eloquent",packageName:"vue-eloquent",homepage:"https://vue-eloquent.netlify.app/",app:e},t=>{ee=t,console.log("🚀 Vue Eloquent DevTools Plugin installed"),t.addInspector({id:Te,label:"Vue Eloquent",icon:"api"}),t.addTimelineLayer({id:wu,color:16750671,label:"Vue Eloquent"}),t.on.getInspectorTree((r,n)=>{r.inspectorId===Te&&(r.rootNodes=[{id:"Models",label:"Models",children:Yn().childrenNodes.filter(s=>s.type==="model")},{id:"Collections",label:"Collections",children:Yn().childrenNodes.filter(s=>s.type==="collection")}])}),t.on.getInspectorState((r,n)=>{if(r.inspectorId===Te&&r.nodeId){const s=Yn().childrenStates.find(a=>a.id===r.nodeId);if(s===void 0){r.state={};return}r.state=jh(s.type,s.id)}})})}const U=async()=>{ee&&setTimeout(async()=>{await g.nextTick(),ee==null||ee.sendInspectorTree(Te),ee==null||ee.sendInspectorState(Te)},100)},L=({data:e,title:t="Event"})=>{ee&&ee.addTimelineEvent({layerId:wu,event:{time:ee.now(),data:e,title:t}})};class Xn{constructor(){T(this,"filter",g.reactive({}));T(this,"include",g.reactive([]));T(this,"attributes",g.reactive([]));T(this,"fieldsSelection",g.reactive([]));T(this,"paging",g.reactive({}));T(this,"sorting",g.reactive([]))}static where(t){return this.instance().where(t)}static with(t){return this.instance().with(t)}static append(t){return this.instance().append(t)}static select(t){return this.instance().select(t)}static sort(t){return this.instance().sort(t)}static paginate(t){return this.instance().paginate(t)}where(t){return Object.assign(this.filter,t),U().then(),this}with(t){return this.include=[...t],U().then(),this}append(t){return this.attributes=[...t],U().then(),this}select(t){return this.fieldsSelection=[...t],U().then(),this}sort(t){return this.sorting=[...t],U().then(),this}paginate(t){return Object.assign(this.paging,t),U().then(),this}queryString(){const t={};return this.filter&&(t.filter=this.filter),this.include.length&&(t.include=this.include.join(",")),this.fieldsSelection.length&&(t.fields=this.fieldsSelection.join(",")),this.sorting.length&&(t.sort=this.sorting.join(",")),this.attributes.length&&(t.append=this.attributes),this.paging&&(t.paginate=this.paging),t}}class Ou extends Xn{constructor(){super();T(this,"apiPrefix",ve);T(this,"dates",["created_at","updated_at","deleted_at"])}static instance(){return new this}static async get(r){return await this.instance().get(r)}static show(r){const n=this.instance(),s=x([n.apiPrefix,n.resource,r],"/");return n.retrieving(r),new Promise((a,i)=>{b.http.get(s,{transformResponse:[o=>n.transformResponse(o)]}).then(o=>{n.retrieved(o.data),a(o.data)}).catch(o=>{n.retrievingError(o),i(new N("Show",o))})})}static updateValidationRules(r){const n=this.instance(),s=x([n.apiPrefix,n.resource,r.id],"/");return new Promise((a,i)=>{b.http.patch(s,r,{headers:{"Request-Rules":!0}}).then(o=>{a(o.data)}).catch(o=>{i(o.response)})})}static update(r){const n=this.instance(),s=x([n.apiPrefix,n.resource,r.id],"/");return n.updating(r),new Promise((a,i)=>{b.http.patch(s,r,{transformResponse:[o=>n.transformResponse(o)]}).then(o=>{n.updated(o.data),a(o.data)}).catch(o=>{n.updatingError(o),i(new N("Update",o))})})}static store(r){const n=this.instance(),s=x([n.apiPrefix,n.resource],"/");return n.storing(r),new Promise((a,i)=>{b.http.post(s,r,{transformResponse:[o=>n.transformResponse(o)]}).then(o=>{n.stored(o.data),a(o.data)}).catch(o=>{n.storingError(o),i(new N("Store",o))})})}static hasOne(r,n){const s=this.instance();return{get(a){const i=x([s.apiPrefix,s.resource,n,r],"/");return s.fetching(a),new Promise((o,l)=>{b.http.get(i,{params:a,transformResponse:[u=>s.transformResponse(u)]}).then(u=>{s.fetched(u.data),o(u.data.data[0])}).catch(u=>{s.fetchingError(u),l(new N("Store",u))})})},show(a){const i=x([s.apiPrefix,s.resource,n,r,a.id],"/");return s.retrieving(a),new Promise((o,l)=>{b.http.get(i,{params:a,transformResponse:[u=>s.transformResponse(u)]}).then(u=>{s.retrieved(u.data),o(u.data)}).catch(u=>{s.retrievingError(u),l(new N("Store",u))})})},store(a){const i=x([s.apiPrefix,s.resource,n,r],"/");return s.storing(a),new Promise((o,l)=>{b.http.post(i,a,{transformResponse:[u=>s.transformResponse(u)]}).then(u=>{s.stored(u.data),o(u.data)}).catch(u=>{s.storingError(u),l(new N("Store",u))})})},update(a){const i=x([s.apiPrefix,s.resource,n,r,a.id],"/");return s.updating(a),new Promise((o,l)=>{b.http.patch(i,a,{transformResponse:[u=>s.transformResponse(u)]}).then(u=>{s.updated(u.data),o(u.data)}).catch(u=>{s.updatingError(u),l(new N("Store",u))})})},delete(a){const i=x([s.apiPrefix,s.resource,n,r,a.id],"/");return s.destroying(a),new Promise((o,l)=>{b.http.delete(i,{transformResponse:[u=>s.transformResponse(u)]}).then(u=>{s.destroyed(u.data),o(u.data)}).catch(u=>{s.destroyingError(u),l(new N("Store",u))})})}}}static hasMany(r,n){const s=this.instance();return{get(a){const i=x([s.apiPrefix,s.resource,n,r],"/");return s.fetching(a),new Promise((o,l)=>{b.http.get(i,{params:a,transformResponse:[u=>s.transformResponse(u)]}).then(u=>{s.fetched(u.data),o(u.data.data)}).catch(u=>{s.fetchingError(u),l(new N("Store",u))})})},show(a){const i=x([s.apiPrefix,s.resource,n,r,a.id],"/");return s.retrieving(a),new Promise((o,l)=>{b.http.get(i,{params:a,transformResponse:[u=>s.transformResponse(u)]}).then(u=>{s.retrieved(u.data),o(u.data)}).catch(u=>{s.retrievingError(u),l(new N("Store",u))})})},store(a){const i=x([s.apiPrefix,s.resource,n,r],"/");return s.storing(a),new Promise((o,l)=>{b.http.post(i,a,{transformResponse:[u=>s.transformResponse(u)]}).then(u=>{s.stored(u.data),o(u.data)}).catch(u=>{s.storingError(u),l(new N("Store",u))})})},update(a){const i=x([s.apiPrefix,s.resource,n,r,a.id],"/");return s.updating(a),new Promise((o,l)=>{b.http.patch(i,a,{transformResponse:[u=>s.transformResponse(u)]}).then(u=>{s.updated(u.data),o(u.data)}).catch(u=>{s.updatingError(u),l(new N("Store",u))})})},delete(a){const i=x([s.apiPrefix,s.resource,n,r,a.id],"/");return s.destroying(a),new Promise((o,l)=>{b.http.delete(i,{transformResponse:[u=>s.transformResponse(u)]}).then(u=>{s.destroyed(u.data),o(u.data)}).catch(u=>{s.destroyingError(u),l(new N("Store",u))})})}}}static delete(r){const n=this.instance(),s=x([n.apiPrefix,n.resource,r.id],"/");return n.destroying(r),new Promise((a,i)=>{b.http.delete(s,{transformResponse:[o=>n.transformResponse(o)]}).then(o=>{n.destroyed(o.data),a(o.data)}).catch(o=>{n.destroyingError(o),i(new N("Delete",o))})})}static destroy(r,n=!0){const s=typeof r=="number"?r:r.id,a=this.instance();let i=null;n||(i=r);let o="";return n?o=x([a.apiPrefix,a.resource,s],"/"):o=x([a.apiPrefix,a.resource],"/"),a.destroying(r),new Promise((l,u)=>{b.http.delete(o,{params:i,transformResponse:[f=>a.transformResponse(f)]}).then(f=>{a.destroyed(f.data),l(f.data)}).catch(f=>{a.destroyingError(f),u(new N("Destroy",f))})})}static batchStore(r){const n=this.instance(),s=x([n.apiPrefix,n.resource,"batch"],"/");return new Promise((a,i)=>{b.http.post(s,{data:r},{transformResponse:[o=>n.transformResponse(o)]}).then(o=>{a(o.data)}).catch(o=>{n.batchStoringError(o),i(new N("BatchStoring",o))})})}static batchUpdate(r){const n=this.instance(),s=x([n.apiPrefix,n.resource,"batch"],"/");return new Promise((a,i)=>{b.http.patch(s,{data:r},{transformResponse:[o=>n.transformResponse(o)]}).then(o=>{a(o.data)}).catch(o=>{n.batchUpdatingError(o),i(new N("BatchUpdate",o))})})}static batchDelete(r){const n=this.instance(),s=x([n.apiPrefix,n.resource,"batch-delete"],"/");return new Promise((a,i)=>{b.http.post(s,{data:r},{transformResponse:[o=>n.transformResponse(o)]}).then(o=>{a(o.data)}).catch(o=>{n.batchDestroyingError(o),i(new N("BatchDelete",o))})})}static batchDestroy(r){const n=this.instance(),s=x([n.apiPrefix,n.resource,"batch-destroy"],"/");return new Promise((a,i)=>{b.http.patch(s,{data:r},{transformResponse:[o=>n.transformResponse(o)]}).then(o=>{a(o.data)}).catch(o=>{n.batchDestroyingError(o),i(new N("BatchDestroy",o))})})}static logs(r){const n=this.instance();let s;typeof r=="number"?s=r:s=r.id;const a=x([n.apiPrefix,n.resource,s,"logs"],"/");return new Promise((i,o)=>{b.http.get(a,{transformResponse:[l=>n.transformResponse(l)]}).then(l=>{i(l.data)}).catch(l=>{n.fetchingLogsError(l),o(new N("Logs",l))})})}static getResource(){return this.instance().resource}get(r){const n=x([this.apiPrefix,this.resource],"/");let s;return r?s=r:s=this.queryString(),this.fetching(s),new Promise((a,i)=>{b.http.get(n,{params:s,transformResponse:[o=>this.transformResponse(o)]}).then(o=>{this.fetched(o.data),a(o.data)}).catch(o=>{this.fetchingError(o),i(new N("Get",o))})})}batchStoringError(r){}batchUpdatingError(r){}batchDestroyingError(r){}fetchingLogsError(r){}transformResponse(r){if(r===null)return null;const n=JSON.parse(r);return n.data!==null&&(n.data=ha(n.data,this.dates)),n}fetching(r){}fetchingError(r){}fetched(r){}retrieving(r){}retrievingError(r){}retrieved(r){}storing(r){}storingError(r){}stored(r){}updating(r){}updatingError(r){}updated(r){}destroying(r){}destroyingError(r){}destroyed(r){}}class Au extends lt{constructor(r,n){super(r,n);T(this,"name");this.name=this.constructor.name}}class Gh extends Xn{constructor(){super();T(this,"uuid");T(this,"state",g.reactive({isLoading:!1,isSuccess:!0,isError:!1}));T(this,"isBroadcasting",!1);T(this,"channel","");this.uuid=yu(),Su(this).then(),L({data:{uuid:this.uuid},title:"Collection Initialized"}),g.onBeforeUnmount(()=>{this.leaveChannel()})}async get(r){let n;this.setStateLoading();try{r?n=r:n=this.queryString(),L({title:"Fetching",data:{query:n}}),this.fetching(n);const s=await this.api.get(n);return this.fetched(s),this.updateDataSource(s.data),L({title:"Fetched",data:{data:s.data}}),this.setStateSuccess(),s.data}catch(s){throw this.fetchingError(s),this.setStateError(),new Au("Get",s)}}joinChannel(r){var n;r&&(this.channel=r),(n=b.broadcast)==null||n.join(this.channel).error(s=>{console.error(s)}).listen(".created",s=>{this.broadcastCreated(s)}).listen(".updated",s=>{this.broadcastUpdated(s)}).listen(".deleted",s=>{this.broadcastDeleted(s)}),this.isBroadcasting=!0,U().then(),L({title:"Broadcasting",data:{channel:this.channel}})}leaveChannel(){var r;this.isBroadcasting&&((r=b.broadcast)==null||r.leave(this.channel),this.isBroadcasting=!1),U().then(),L({title:"Leaving Broadcast Channel",data:{channel:this.channel}})}factory(r){r&&r.length&&(this.data=g.reactive([...r]))}fetching(r){}fetchingError(r){}fetched(r){}broadcastCreated(r){}broadcastUpdated(r){}broadcastDeleted(r){}setStateLoading(){this.state.isLoading=!0,this.state.isSuccess=!0,this.state.isError=!1,U().then(),L({title:"Loading",data:this.state})}setStateSuccess(){this.state.isLoading=!1,this.state.isSuccess=!0,this.state.isError=!1,U().then(),L({title:"Loading success",data:this.state})}setStateError(){this.state.isLoading=!1,this.state.isSuccess=!1,this.state.isError=!0,U().then(),L({title:"Loading error",data:this.state})}updateDataSource(r){this.data=g.reactive([...r]),U().then(),L({title:"Data Update",data:r})}}class Wh{constructor(t){T(this,"permissions",g.reactive({create:!0,read:!0,update:!0,delete:!0}));T(this,"_action",g.ref(Y.CREATE));t&&this.set(t)}get action(){return this._action.value}set action(t){this._action.value=t}set(t){typeof t.create<"u"?this.permissions.create=t.create:this.permissions.create=!1,typeof t.read<"u"?this.permissions.read=t.read:this.permissions.read=!1,typeof t.update<"u"?this.permissions.update=t.update:this.permissions.update=!1,typeof t.delete<"u"?this.permissions.delete=t.delete:this.permissions.delete=!1}can(t){return this.permissions[t]}cannot(t){return!this.permissions[t]}isReadOnly(){return this.permissions.update&&this._action.value===Y.READ}edit(){return this.updating()}creating(){return this.permissions.create?(this._action.value=Y.CREATE,!0):!1}reading(){return this.permissions.read?(this._action.value=Y.READ,!0):!1}updating(){return this.permissions.update?(this._action.value=Y.UPDATE,!0):!1}deleting(){return this.permissions.delete?(this._action.value=Y.DELETE,!0):!1}isReading(){return this._action.value===Y.READ}isUpdating(){return this._action.value===Y.UPDATE}isDeleting(){return this._action.value===Y.DELETE}isCreating(){return this._action.value===Y.CREATE}}class Jh extends Ou{constructor(){super();T(this,"resource","eloquent-api/models")}}const Yh={install(e){process.env.NODE_ENV!=="production"&&zh(e)}};class Xh{constructor(t){T(this,"urls",{login:"login",logout:"logout",forgotPassword:"users/forgot-password",resetPassword:"users/reset-password"});t!=null&&t.login&&(this.urls.login=t.login),t!=null&&t.logout&&(this.urls.logout=t.logout),t!=null&&t.forgotPassword&&(this.urls.forgotPassword=t.forgotPassword),t!=null&&t.resetPassword&&(this.urls.resetPassword=t.resetPassword)}get token(){return localStorage.getItem("sanctum_token")}set token(t){localStorage.setItem("sanctum_token",t)}login(t){return new Promise((r,n)=>{b.http.get("/api/csrf-cookie").then(()=>{const s=`${ve}/${this.urls.login}`;b.http.post(s,t).then(a=>{this.token=a.data.token,b.http.defaults.headers.common.Authorization=`Bearer ${this.token}`,this.loggedIn(a.data),r(a.data)}).catch(a=>{console.error(a),n(a)})}).catch(s=>{console.error(s),this.loginError(s),n(s)})})}loggedIn(t){}loginError(t){}isAuthenticated(){return localStorage.getItem("sanctum_token")!==null}logout(){const t=`${ve}/${this.urls.logout}`;return new Promise((r,n)=>{b.http.post(t).then(s=>{localStorage.removeItem("sanctum_token"),this.loggedOut(s.data),r(s.data)}).catch(s=>{console.error(s),this.logoutError(s),n(s)})})}loggedOut(t){}logoutError(t){}forgotPassword(t){const r=`${ve}/${this.urls.forgotPassword}`;return new Promise((n,s)=>{b.http.post(r,{email:t}).then(a=>{n(a.data)}).catch(a=>{console.error(a),s(a)})})}resetPassword(t){const r=`${ve}/${this.urls.resetPassword}`;return new Promise((n,s)=>{b.http.post(r,t).then(a=>{this.token=a.data.token,b.http.defaults.headers.common.Authorization=`Bearer ${this.token}`,this.loggedIn(a.data),n(a.data)}).catch(a=>{console.error(a),s(a)})})}}b.Action=Y,b.Actioned=Et,b.Api=Ou,b.ApiError=N,b.ApiQuery=Xn,b.Auth=Xh,b.Collection=Gh,b.CollectionError=Au,b.EloquentError=lt,b.Model=vu,b.ModelApi=Jh,b.ModelError=oe,b.Policy=Wh,b.VueEloquentPlugin=Yh,b.createBroadcast=me,b.createHttp=Gc,b.formatDates=$r,b.formatObject=ha,Object.defineProperty(b,Symbol.toStringTag,{value:"Module"})});
//# sourceMappingURL=vue-eloquent.umd.cjs.map