diff --git a/composer.lock b/composer.lock index 19048e25..17254ae1 100644 --- a/composer.lock +++ b/composer.lock @@ -2112,16 +2112,16 @@ }, { "name": "moonshine/moonshine", - "version": "2.17.0", + "version": "2.18.0", "source": { "type": "git", "url": "https://github.com/moonshine-software/moonshine.git", - "reference": "c98617c6c11680248a0f1ca74f986f403ee07f7b" + "reference": "455be3b0eb621135e38e04349423c0bb7a2286b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/moonshine-software/moonshine/zipball/c98617c6c11680248a0f1ca74f986f403ee07f7b", - "reference": "c98617c6c11680248a0f1ca74f986f403ee07f7b", + "url": "https://api.github.com/repos/moonshine-software/moonshine/zipball/455be3b0eb621135e38e04349423c0bb7a2286b6", + "reference": "455be3b0eb621135e38e04349423c0bb7a2286b6", "shasum": "" }, "require": { @@ -2197,7 +2197,7 @@ "type": "open_collective" } ], - "time": "2024-06-24T07:44:12+00:00" + "time": "2024-07-03T06:07:07+00:00" }, { "name": "nesbot/carbon", diff --git a/config/menu.php b/config/menu.php index e273ae09..42866798 100644 --- a/config/menu.php +++ b/config/menu.php @@ -151,6 +151,7 @@ // UI components 'UI:_divider_', ['slug' => 'components-badge', 'label' => 'Badge', 'title' => 'Badge Component'], + ['slug' => 'components-dropdown', 'label' => 'Dropdown', 'title' => 'Dropdown Component'], ['slug' => 'components-card', 'label' => 'Card', 'title' => 'Card Component'], ['slug' => 'components-carousel', 'label' => 'Carousel', 'title' => 'Carousel Component'], ['slug' => 'components-link', 'label' => 'Link', 'title' => 'Link Component'], diff --git a/public/vendor/moonshine/assets/app.js b/public/vendor/moonshine/assets/app.js index 3dd387d4..c2314cce 100644 --- a/public/vendor/moonshine/assets/app.js +++ b/public/vendor/moonshine/assets/app.js @@ -1,17 +1,17 @@ -(()=>{function pp(e,t){return function(){return e.apply(t,arguments)}}const{toString:R0}=Object.prototype,{getPrototypeOf:Yu}=Object,wa=(e=>t=>{const r=R0.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Qn=e=>(e=e.toLowerCase(),t=>wa(t)===e),Ea=e=>t=>typeof t===e,{isArray:Xi}=Array,Bo=Ea("undefined");function N0(e){return e!==null&&!Bo(e)&&e.constructor!==null&&!Bo(e.constructor)&&xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const gp=Qn("ArrayBuffer");function F0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&gp(e.buffer),t}const k0=Ea("string"),xn=Ea("function"),mp=Ea("number"),Sa=e=>e!==null&&typeof e=="object",$0=e=>e===!0||e===!1,Js=e=>{if(wa(e)!=="object")return!1;const t=Yu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},B0=Qn("Date"),W0=Qn("File"),U0=Qn("Blob"),H0=Qn("FileList"),j0=e=>Sa(e)&&xn(e.pipe),K0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xn(e.append)&&((t=wa(e))==="formdata"||t==="object"&&xn(e.toString)&&e.toString()==="[object FormData]"))},q0=Qn("URLSearchParams"),V0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function jo(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let o,s;if(typeof e!="object"&&(e=[e]),Xi(e))for(o=0,s=e.length;o0;)if(s=r[o],t===s.toLowerCase())return s;return null}const _p=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,bp=e=>!Bo(e)&&e!==_p;function vu(){const{caseless:e}=bp(this)&&this||{},t={},r=(o,s)=>{const a=e&&vp(t,s)||s;Js(t[a])&&Js(o)?t[a]=vu(t[a],o):Js(o)?t[a]=vu({},o):Xi(o)?t[a]=o.slice():t[a]=o};for(let o=0,s=arguments.length;o(jo(t,(s,a)=>{r&&xn(s)?e[a]=pp(s,r):e[a]=s},{allOwnKeys:o}),e),Y0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),G0=(e,t,r,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},X0=(e,t,r,o)=>{let s,a,c;const u={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),a=s.length;a-- >0;)c=s[a],(!o||o(c,e,t))&&!u[c]&&(t[c]=e[c],u[c]=!0);e=r!==!1&&Yu(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},J0=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const o=e.indexOf(t,r);return o!==-1&&o===r},Z0=e=>{if(!e)return null;if(Xi(e))return e;let t=e.length;if(!mp(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Q0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Yu(Uint8Array)),eS=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=o.next())&&!s.done;){const a=s.value;t.call(e,a[0],a[1])}},tS=(e,t)=>{let r;const o=[];for(;(r=e.exec(t))!==null;)o.push(r);return o},nS=Qn("HTMLFormElement"),rS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,s){return o.toUpperCase()+s}),ah=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),iS=Qn("RegExp"),yp=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),o={};jo(r,(s,a)=>{let c;(c=t(s,a,e))!==!1&&(o[a]=c||s)}),Object.defineProperties(e,o)},oS=e=>{yp(e,(t,r)=>{if(xn(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=e[r];if(xn(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},sS=(e,t)=>{const r={},o=s=>{s.forEach(a=>{r[a]=!0})};return Xi(e)?o(e):o(String(e).split(t)),r},aS=()=>{},lS=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Yl="abcdefghijklmnopqrstuvwxyz",lh="0123456789",wp={DIGIT:lh,ALPHA:Yl,ALPHA_DIGIT:Yl+Yl.toUpperCase()+lh},uS=(e=16,t=wp.ALPHA_DIGIT)=>{let r="";const{length:o}=t;for(;e--;)r+=t[Math.random()*o|0];return r};function cS(e){return!!(e&&xn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const fS=e=>{const t=new Array(10),r=(o,s)=>{if(Sa(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[s]=o;const a=Xi(o)?[]:{};return jo(o,(c,u)=>{const f=r(c,s+1);!Bo(f)&&(a[u]=f)}),t[s]=void 0,a}}return o};return r(e,0)},dS=Qn("AsyncFunction"),hS=e=>e&&(Sa(e)||xn(e))&&xn(e.then)&&xn(e.catch),J={isArray:Xi,isArrayBuffer:gp,isBuffer:N0,isFormData:K0,isArrayBufferView:F0,isString:k0,isNumber:mp,isBoolean:$0,isObject:Sa,isPlainObject:Js,isUndefined:Bo,isDate:B0,isFile:W0,isBlob:U0,isRegExp:iS,isFunction:xn,isStream:j0,isURLSearchParams:q0,isTypedArray:Q0,isFileList:H0,forEach:jo,merge:vu,extend:z0,trim:V0,stripBOM:Y0,inherits:G0,toFlatObject:X0,kindOf:wa,kindOfTest:Qn,endsWith:J0,toArray:Z0,forEachEntry:eS,matchAll:tS,isHTMLForm:nS,hasOwnProperty:ah,hasOwnProp:ah,reduceDescriptors:yp,freezeMethods:oS,toObjectSet:sS,toCamelCase:rS,noop:aS,toFiniteNumber:lS,findKey:vp,global:_p,isContextDefined:bp,ALPHABET:wp,generateString:uS,isSpecCompliantForm:cS,toJSONObject:fS,isAsyncFn:dS,isThenable:hS};function Ve(e,t,r,o,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),o&&(this.request=o),s&&(this.response=s)}J.inherits(Ve,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:J.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ep=Ve.prototype,Sp={};["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=>{Sp[e]={value:e}});Object.defineProperties(Ve,Sp);Object.defineProperty(Ep,"isAxiosError",{value:!0});Ve.from=(e,t,r,o,s,a)=>{const c=Object.create(Ep);return J.toFlatObject(e,c,function(f){return f!==Error.prototype},u=>u!=="isAxiosError"),Ve.call(c,e.message,t,r,o,s),c.cause=e,c.name=e.name,a&&Object.assign(c,a),c};const pS=null;function _u(e){return J.isPlainObject(e)||J.isArray(e)}function Ap(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function uh(e,t,r){return e?e.concat(t).map(function(s,a){return s=Ap(s),!r&&a?"["+s+"]":s}).join(r?".":""):t}function gS(e){return J.isArray(e)&&!e.some(_u)}const mS=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function Aa(e,t,r){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=J.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,C){return!J.isUndefined(C[S])});const o=r.metaTokens,s=r.visitor||p,a=r.dots,c=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(s))throw new TypeError("visitor must be a function");function h(y){if(y===null)return"";if(J.isDate(y))return y.toISOString();if(!f&&J.isBlob(y))throw new Ve("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(y)||J.isTypedArray(y)?f&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function p(y,S,C){let M=y;if(y&&!C&&typeof y=="object"){if(J.endsWith(S,"{}"))S=o?S:S.slice(0,-2),y=JSON.stringify(y);else if(J.isArray(y)&&gS(y)||(J.isFileList(y)||J.endsWith(S,"[]"))&&(M=J.toArray(y)))return S=Ap(S),M.forEach(function($,O){!(J.isUndefined($)||$===null)&&t.append(c===!0?uh([S],O,a):c===null?S:S+"[]",h($))}),!1}return _u(y)?!0:(t.append(uh(C,S,a),h(y)),!1)}const g=[],m=Object.assign(mS,{defaultVisitor:p,convertValue:h,isVisitable:_u});function b(y,S){if(!J.isUndefined(y)){if(g.indexOf(y)!==-1)throw Error("Circular reference detected in "+S.join("."));g.push(y),J.forEach(y,function(M,P){(!(J.isUndefined(M)||M===null)&&s.call(t,M,J.isString(P)?P.trim():P,S,m))===!0&&b(M,S?S.concat(P):[P])}),g.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return b(e),t}function ch(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Gu(e,t){this._pairs=[],e&&Aa(e,this,t)}const xp=Gu.prototype;xp.append=function(t,r){this._pairs.push([t,r])};xp.toString=function(t){const r=t?function(o){return t.call(this,o,ch)}:ch;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function vS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Op(e,t,r){if(!t)return e;const o=r&&r.encode||vS,s=r&&r.serialize;let a;if(s?a=s(t,r):a=J.isURLSearchParams(t)?t.toString():new Gu(t,r).toString(o),a){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class _S{constructor(){this.handlers=[]}use(t,r,o){return this.handlers.push({fulfilled:t,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){J.forEach(this.handlers,function(o){o!==null&&t(o)})}}const fh=_S,Cp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},bS=typeof URLSearchParams<"u"?URLSearchParams:Gu,yS=typeof FormData<"u"?FormData:null,wS=typeof Blob<"u"?Blob:null,ES={isBrowser:!0,classes:{URLSearchParams:bS,FormData:yS,Blob:wS},protocols:["http","https","file","blob","url","data"]},Tp=typeof window<"u"&&typeof document<"u",SS=(e=>Tp&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),AS=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",xS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tp,hasStandardBrowserEnv:SS,hasStandardBrowserWebWorkerEnv:AS},Symbol.toStringTag,{value:"Module"})),Yn={...xS,...ES};function OS(e,t){return Aa(e,new Yn.classes.URLSearchParams,Object.assign({visitor:function(r,o,s,a){return Yn.isNode&&J.isBuffer(r)?(this.append(o,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function CS(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function TS(e){const t={},r=Object.keys(e);let o;const s=r.length;let a;for(o=0;o=r.length;return c=!c&&J.isArray(s)?s.length:c,f?(J.hasOwnProp(s,c)?s[c]=[s[c],o]:s[c]=o,!u):((!s[c]||!J.isObject(s[c]))&&(s[c]=[]),t(r,o,s[c],a)&&J.isArray(s[c])&&(s[c]=TS(s[c])),!u)}if(J.isFormData(e)&&J.isFunction(e.entries)){const r={};return J.forEachEntry(e,(o,s)=>{t(CS(o),s,r,0)}),r}return null}function IS(e,t,r){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(e)}const Xu={transitional:Cp,adapter:["xhr","http"],transformRequest:[function(t,r){const o=r.getContentType()||"",s=o.indexOf("application/json")>-1,a=J.isObject(t);if(a&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return s&&s?JSON.stringify(Ip(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(a){if(o.indexOf("application/x-www-form-urlencoded")>-1)return OS(t,this.formSerializer).toString();if((u=J.isFileList(t))||o.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Aa(u?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||s?(r.setContentType("application/json",!1),IS(t)):t}],transformResponse:[function(t){const r=this.transitional||Xu.transitional,o=r&&r.forcedJSONParsing,s=this.responseType==="json";if(t&&J.isString(t)&&(o&&!this.responseType||s)){const c=!(r&&r.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(u){if(c)throw u.name==="SyntaxError"?Ve.from(u,Ve.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yn.classes.FormData,Blob:Yn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{Xu.headers[e]={}});const Ju=Xu,LS=J.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"]),PS=e=>{const t={};let r,o,s;return e&&e.split(` +(()=>{function pp(e,t){return function(){return e.apply(t,arguments)}}const{toString:R0}=Object.prototype,{getPrototypeOf:Yu}=Object,wa=(e=>t=>{const r=R0.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Qn=e=>(e=e.toLowerCase(),t=>wa(t)===e),Ea=e=>t=>typeof t===e,{isArray:Xi}=Array,Bo=Ea("undefined");function N0(e){return e!==null&&!Bo(e)&&e.constructor!==null&&!Bo(e.constructor)&&xn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const gp=Qn("ArrayBuffer");function F0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&gp(e.buffer),t}const k0=Ea("string"),xn=Ea("function"),mp=Ea("number"),Sa=e=>e!==null&&typeof e=="object",$0=e=>e===!0||e===!1,Js=e=>{if(wa(e)!=="object")return!1;const t=Yu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},B0=Qn("Date"),W0=Qn("File"),U0=Qn("Blob"),H0=Qn("FileList"),j0=e=>Sa(e)&&xn(e.pipe),K0=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xn(e.append)&&((t=wa(e))==="formdata"||t==="object"&&xn(e.toString)&&e.toString()==="[object FormData]"))},q0=Qn("URLSearchParams"),V0=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function jo(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let o,s;if(typeof e!="object"&&(e=[e]),Xi(e))for(o=0,s=e.length;o0;)if(s=r[o],t===s.toLowerCase())return s;return null}const _p=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,yp=e=>!Bo(e)&&e!==_p;function vu(){const{caseless:e}=yp(this)&&this||{},t={},r=(o,s)=>{const a=e&&vp(t,s)||s;Js(t[a])&&Js(o)?t[a]=vu(t[a],o):Js(o)?t[a]=vu({},o):Xi(o)?t[a]=o.slice():t[a]=o};for(let o=0,s=arguments.length;o(jo(t,(s,a)=>{r&&xn(s)?e[a]=pp(s,r):e[a]=s},{allOwnKeys:o}),e),Y0=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),G0=(e,t,r,o)=>{e.prototype=Object.create(t.prototype,o),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},X0=(e,t,r,o)=>{let s,a,c;const u={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),a=s.length;a-- >0;)c=s[a],(!o||o(c,e,t))&&!u[c]&&(t[c]=e[c],u[c]=!0);e=r!==!1&&Yu(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},J0=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const o=e.indexOf(t,r);return o!==-1&&o===r},Z0=e=>{if(!e)return null;if(Xi(e))return e;let t=e.length;if(!mp(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},Q0=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Yu(Uint8Array)),eS=(e,t)=>{const o=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=o.next())&&!s.done;){const a=s.value;t.call(e,a[0],a[1])}},tS=(e,t)=>{let r;const o=[];for(;(r=e.exec(t))!==null;)o.push(r);return o},nS=Qn("HTMLFormElement"),rS=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,o,s){return o.toUpperCase()+s}),ah=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),iS=Qn("RegExp"),bp=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),o={};jo(r,(s,a)=>{let c;(c=t(s,a,e))!==!1&&(o[a]=c||s)}),Object.defineProperties(e,o)},oS=e=>{bp(e,(t,r)=>{if(xn(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const o=e[r];if(xn(o)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},sS=(e,t)=>{const r={},o=s=>{s.forEach(a=>{r[a]=!0})};return Xi(e)?o(e):o(String(e).split(t)),r},aS=()=>{},lS=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Yl="abcdefghijklmnopqrstuvwxyz",lh="0123456789",wp={DIGIT:lh,ALPHA:Yl,ALPHA_DIGIT:Yl+Yl.toUpperCase()+lh},uS=(e=16,t=wp.ALPHA_DIGIT)=>{let r="";const{length:o}=t;for(;e--;)r+=t[Math.random()*o|0];return r};function cS(e){return!!(e&&xn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const fS=e=>{const t=new Array(10),r=(o,s)=>{if(Sa(o)){if(t.indexOf(o)>=0)return;if(!("toJSON"in o)){t[s]=o;const a=Xi(o)?[]:{};return jo(o,(c,u)=>{const f=r(c,s+1);!Bo(f)&&(a[u]=f)}),t[s]=void 0,a}}return o};return r(e,0)},dS=Qn("AsyncFunction"),hS=e=>e&&(Sa(e)||xn(e))&&xn(e.then)&&xn(e.catch),J={isArray:Xi,isArrayBuffer:gp,isBuffer:N0,isFormData:K0,isArrayBufferView:F0,isString:k0,isNumber:mp,isBoolean:$0,isObject:Sa,isPlainObject:Js,isUndefined:Bo,isDate:B0,isFile:W0,isBlob:U0,isRegExp:iS,isFunction:xn,isStream:j0,isURLSearchParams:q0,isTypedArray:Q0,isFileList:H0,forEach:jo,merge:vu,extend:z0,trim:V0,stripBOM:Y0,inherits:G0,toFlatObject:X0,kindOf:wa,kindOfTest:Qn,endsWith:J0,toArray:Z0,forEachEntry:eS,matchAll:tS,isHTMLForm:nS,hasOwnProperty:ah,hasOwnProp:ah,reduceDescriptors:bp,freezeMethods:oS,toObjectSet:sS,toCamelCase:rS,noop:aS,toFiniteNumber:lS,findKey:vp,global:_p,isContextDefined:yp,ALPHABET:wp,generateString:uS,isSpecCompliantForm:cS,toJSONObject:fS,isAsyncFn:dS,isThenable:hS};function Ve(e,t,r,o,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),o&&(this.request=o),s&&(this.response=s)}J.inherits(Ve,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:J.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ep=Ve.prototype,Sp={};["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=>{Sp[e]={value:e}});Object.defineProperties(Ve,Sp);Object.defineProperty(Ep,"isAxiosError",{value:!0});Ve.from=(e,t,r,o,s,a)=>{const c=Object.create(Ep);return J.toFlatObject(e,c,function(f){return f!==Error.prototype},u=>u!=="isAxiosError"),Ve.call(c,e.message,t,r,o,s),c.cause=e,c.name=e.name,a&&Object.assign(c,a),c};const pS=null;function _u(e){return J.isPlainObject(e)||J.isArray(e)}function Ap(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function uh(e,t,r){return e?e.concat(t).map(function(s,a){return s=Ap(s),!r&&a?"["+s+"]":s}).join(r?".":""):t}function gS(e){return J.isArray(e)&&!e.some(_u)}const mS=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function Aa(e,t,r){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=J.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,C){return!J.isUndefined(C[S])});const o=r.metaTokens,s=r.visitor||p,a=r.dots,c=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(s))throw new TypeError("visitor must be a function");function h(b){if(b===null)return"";if(J.isDate(b))return b.toISOString();if(!f&&J.isBlob(b))throw new Ve("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(b)||J.isTypedArray(b)?f&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function p(b,S,C){let M=b;if(b&&!C&&typeof b=="object"){if(J.endsWith(S,"{}"))S=o?S:S.slice(0,-2),b=JSON.stringify(b);else if(J.isArray(b)&&gS(b)||(J.isFileList(b)||J.endsWith(S,"[]"))&&(M=J.toArray(b)))return S=Ap(S),M.forEach(function($,O){!(J.isUndefined($)||$===null)&&t.append(c===!0?uh([S],O,a):c===null?S:S+"[]",h($))}),!1}return _u(b)?!0:(t.append(uh(C,S,a),h(b)),!1)}const g=[],m=Object.assign(mS,{defaultVisitor:p,convertValue:h,isVisitable:_u});function y(b,S){if(!J.isUndefined(b)){if(g.indexOf(b)!==-1)throw Error("Circular reference detected in "+S.join("."));g.push(b),J.forEach(b,function(M,P){(!(J.isUndefined(M)||M===null)&&s.call(t,M,J.isString(P)?P.trim():P,S,m))===!0&&y(M,S?S.concat(P):[P])}),g.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return y(e),t}function ch(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(o){return t[o]})}function Gu(e,t){this._pairs=[],e&&Aa(e,this,t)}const xp=Gu.prototype;xp.append=function(t,r){this._pairs.push([t,r])};xp.toString=function(t){const r=t?function(o){return t.call(this,o,ch)}:ch;return this._pairs.map(function(s){return r(s[0])+"="+r(s[1])},"").join("&")};function vS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Op(e,t,r){if(!t)return e;const o=r&&r.encode||vS,s=r&&r.serialize;let a;if(s?a=s(t,r):a=J.isURLSearchParams(t)?t.toString():new Gu(t,r).toString(o),a){const c=e.indexOf("#");c!==-1&&(e=e.slice(0,c)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class _S{constructor(){this.handlers=[]}use(t,r,o){return this.handlers.push({fulfilled:t,rejected:r,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){J.forEach(this.handlers,function(o){o!==null&&t(o)})}}const fh=_S,Cp={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},yS=typeof URLSearchParams<"u"?URLSearchParams:Gu,bS=typeof FormData<"u"?FormData:null,wS=typeof Blob<"u"?Blob:null,ES={isBrowser:!0,classes:{URLSearchParams:yS,FormData:bS,Blob:wS},protocols:["http","https","file","blob","url","data"]},Tp=typeof window<"u"&&typeof document<"u",SS=(e=>Tp&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),AS=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",xS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Tp,hasStandardBrowserEnv:SS,hasStandardBrowserWebWorkerEnv:AS},Symbol.toStringTag,{value:"Module"})),Yn={...xS,...ES};function OS(e,t){return Aa(e,new Yn.classes.URLSearchParams,Object.assign({visitor:function(r,o,s,a){return Yn.isNode&&J.isBuffer(r)?(this.append(o,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function CS(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function TS(e){const t={},r=Object.keys(e);let o;const s=r.length;let a;for(o=0;o=r.length;return c=!c&&J.isArray(s)?s.length:c,f?(J.hasOwnProp(s,c)?s[c]=[s[c],o]:s[c]=o,!u):((!s[c]||!J.isObject(s[c]))&&(s[c]=[]),t(r,o,s[c],a)&&J.isArray(s[c])&&(s[c]=TS(s[c])),!u)}if(J.isFormData(e)&&J.isFunction(e.entries)){const r={};return J.forEachEntry(e,(o,s)=>{t(CS(o),s,r,0)}),r}return null}function IS(e,t,r){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(o){if(o.name!=="SyntaxError")throw o}return(r||JSON.stringify)(e)}const Xu={transitional:Cp,adapter:["xhr","http"],transformRequest:[function(t,r){const o=r.getContentType()||"",s=o.indexOf("application/json")>-1,a=J.isObject(t);if(a&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return s&&s?JSON.stringify(Ip(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(a){if(o.indexOf("application/x-www-form-urlencoded")>-1)return OS(t,this.formSerializer).toString();if((u=J.isFileList(t))||o.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return Aa(u?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||s?(r.setContentType("application/json",!1),IS(t)):t}],transformResponse:[function(t){const r=this.transitional||Xu.transitional,o=r&&r.forcedJSONParsing,s=this.responseType==="json";if(t&&J.isString(t)&&(o&&!this.responseType||s)){const c=!(r&&r.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(u){if(c)throw u.name==="SyntaxError"?Ve.from(u,Ve.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Yn.classes.FormData,Blob:Yn.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{Xu.headers[e]={}});const Ju=Xu,LS=J.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"]),PS=e=>{const t={};let r,o,s;return e&&e.split(` `).forEach(function(c){s=c.indexOf(":"),r=c.substring(0,s).trim().toLowerCase(),o=c.substring(s+1).trim(),!(!r||t[r]&&LS[r])&&(r==="set-cookie"?t[r]?t[r].push(o):t[r]=[o]:t[r]=t[r]?t[r]+", "+o:o)}),t},dh=Symbol("internals");function _o(e){return e&&String(e).trim().toLowerCase()}function Zs(e){return e===!1||e==null?e:J.isArray(e)?e.map(Zs):String(e)}function DS(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=r.exec(e);)t[o[1]]=o[2];return t}const MS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Gl(e,t,r,o,s){if(J.isFunction(o))return o.call(this,t,r);if(s&&(t=r),!!J.isString(t)){if(J.isString(o))return t.indexOf(o)!==-1;if(J.isRegExp(o))return o.test(t)}}function RS(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,o)=>r.toUpperCase()+o)}function NS(e,t){const r=J.toCamelCase(" "+t);["get","set","has"].forEach(o=>{Object.defineProperty(e,o+r,{value:function(s,a,c){return this[o].call(this,t,s,a,c)},configurable:!0})})}class xa{constructor(t){t&&this.set(t)}set(t,r,o){const s=this;function a(u,f,h){const p=_o(f);if(!p)throw new Error("header name must be a non-empty string");const g=J.findKey(s,p);(!g||s[g]===void 0||h===!0||h===void 0&&s[g]!==!1)&&(s[g||f]=Zs(u))}const c=(u,f)=>J.forEach(u,(h,p)=>a(h,p,f));return J.isPlainObject(t)||t instanceof this.constructor?c(t,r):J.isString(t)&&(t=t.trim())&&!MS(t)?c(PS(t),r):t!=null&&a(r,t,o),this}get(t,r){if(t=_o(t),t){const o=J.findKey(this,t);if(o){const s=this[o];if(!r)return s;if(r===!0)return DS(s);if(J.isFunction(r))return r.call(this,s,o);if(J.isRegExp(r))return r.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=_o(t),t){const o=J.findKey(this,t);return!!(o&&this[o]!==void 0&&(!r||Gl(this,this[o],o,r)))}return!1}delete(t,r){const o=this;let s=!1;function a(c){if(c=_o(c),c){const u=J.findKey(o,c);u&&(!r||Gl(o,o[u],u,r))&&(delete o[u],s=!0)}}return J.isArray(t)?t.forEach(a):a(t),s}clear(t){const r=Object.keys(this);let o=r.length,s=!1;for(;o--;){const a=r[o];(!t||Gl(this,this[a],a,t,!0))&&(delete this[a],s=!0)}return s}normalize(t){const r=this,o={};return J.forEach(this,(s,a)=>{const c=J.findKey(o,a);if(c){r[c]=Zs(s),delete r[a];return}const u=t?RS(a):String(a).trim();u!==a&&delete r[a],r[u]=Zs(s),o[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return J.forEach(this,(o,s)=>{o!=null&&o!==!1&&(r[s]=t&&J.isArray(o)?o.join(", "):o)}),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 o=new this(t);return r.forEach(s=>o.set(s)),o}static accessor(t){const o=(this[dh]=this[dh]={accessors:{}}).accessors,s=this.prototype;function a(c){const u=_o(c);o[u]||(NS(s,c),o[u]=!0)}return J.isArray(t)?t.forEach(a):a(t),this}}xa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(xa.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[r]=o}}});J.freezeMethods(xa);const _r=xa;function Xl(e,t){const r=this||Ju,o=t||r,s=_r.from(o.headers);let a=o.data;return J.forEach(e,function(u){a=u.call(r,a,s.normalize(),t?t.status:void 0)}),s.normalize(),a}function Lp(e){return!!(e&&e.__CANCEL__)}function Ko(e,t,r){Ve.call(this,e??"canceled",Ve.ERR_CANCELED,t,r),this.name="CanceledError"}J.inherits(Ko,Ve,{__CANCEL__:!0});function FS(e,t,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?e(r):t(new Ve("Request failed with status code "+r.status,[Ve.ERR_BAD_REQUEST,Ve.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const kS=Yn.hasStandardBrowserEnv?{write(e,t,r,o,s,a){const c=[e+"="+encodeURIComponent(t)];J.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),J.isString(o)&&c.push("path="+o),J.isString(s)&&c.push("domain="+s),a===!0&&c.push("secure"),document.cookie=c.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 $S(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function BS(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Pp(e,t){return e&&!$S(t)?BS(e,t):t}const WS=Yn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let o;function s(a){let c=a;return t&&(r.setAttribute("href",c),c=r.href),r.setAttribute("href",c),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return o=s(window.location.href),function(c){const u=J.isString(c)?s(c):c;return u.protocol===o.protocol&&u.host===o.host}}():function(){return function(){return!0}}();function US(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function HS(e,t){e=e||10;const r=new Array(e),o=new Array(e);let s=0,a=0,c;return t=t!==void 0?t:1e3,function(f){const h=Date.now(),p=o[a];c||(c=h),r[s]=f,o[s]=h;let g=a,m=0;for(;g!==s;)m+=r[g++],g=g%e;if(s=(s+1)%e,s===a&&(a=(a+1)%e),h-c{const a=s.loaded,c=s.lengthComputable?s.total:void 0,u=a-r,f=o(u),h=a<=c;r=a;const p={loaded:a,total:c,progress:c?a/c:void 0,bytes:u,rate:f||void 0,estimated:f&&c&&h?(c-a)/f:void 0,event:s};p[t?"download":"upload"]=!0,e(p)}}const jS=typeof XMLHttpRequest<"u",KS=jS&&function(e){return new Promise(function(r,o){let s=e.data;const a=_r.from(e.headers).normalize();let{responseType:c,withXSRFToken:u}=e,f;function h(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let p;if(J.isFormData(s)){if(Yn.hasStandardBrowserEnv||Yn.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((p=a.getContentType())!==!1){const[S,...C]=p?p.split(";").map(M=>M.trim()).filter(Boolean):[];a.setContentType([S||"multipart/form-data",...C].join("; "))}}let g=new XMLHttpRequest;if(e.auth){const S=e.auth.username||"",C=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(S+":"+C))}const m=Pp(e.baseURL,e.url);g.open(e.method.toUpperCase(),Op(m,e.params,e.paramsSerializer),!0),g.timeout=e.timeout;function b(){if(!g)return;const S=_r.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),M={data:!c||c==="text"||c==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:S,config:e,request:g};FS(function($){r($),h()},function($){o($),h()},M),g=null}if("onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(b)},g.onabort=function(){g&&(o(new Ve("Request aborted",Ve.ECONNABORTED,e,g)),g=null)},g.onerror=function(){o(new Ve("Network Error",Ve.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let C=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const M=e.transitional||Cp;e.timeoutErrorMessage&&(C=e.timeoutErrorMessage),o(new Ve(C,M.clarifyTimeoutError?Ve.ETIMEDOUT:Ve.ECONNABORTED,e,g)),g=null},Yn.hasStandardBrowserEnv&&(u&&J.isFunction(u)&&(u=u(e)),u||u!==!1&&WS(m))){const S=e.xsrfHeaderName&&e.xsrfCookieName&&kS.read(e.xsrfCookieName);S&&a.set(e.xsrfHeaderName,S)}s===void 0&&a.setContentType(null),"setRequestHeader"in g&&J.forEach(a.toJSON(),function(C,M){g.setRequestHeader(M,C)}),J.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),c&&c!=="json"&&(g.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&g.addEventListener("progress",hh(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",hh(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=S=>{g&&(o(!S||S.type?new Ko(null,e,g):S),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const y=US(m);if(y&&Yn.protocols.indexOf(y)===-1){o(new Ve("Unsupported protocol "+y+":",Ve.ERR_BAD_REQUEST,e));return}g.send(s||null)})},bu={http:pS,xhr:KS};J.forEach(bu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ph=e=>`- ${e}`,qS=e=>J.isFunction(e)||e===null||e===!1,Dp={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let r,o;const s={};for(let a=0;a`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=t?a.length>1?`since : +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const o=new this(t);return r.forEach(s=>o.set(s)),o}static accessor(t){const o=(this[dh]=this[dh]={accessors:{}}).accessors,s=this.prototype;function a(c){const u=_o(c);o[u]||(NS(s,c),o[u]=!0)}return J.isArray(t)?t.forEach(a):a(t),this}}xa.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(xa.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(o){this[r]=o}}});J.freezeMethods(xa);const _r=xa;function Xl(e,t){const r=this||Ju,o=t||r,s=_r.from(o.headers);let a=o.data;return J.forEach(e,function(u){a=u.call(r,a,s.normalize(),t?t.status:void 0)}),s.normalize(),a}function Lp(e){return!!(e&&e.__CANCEL__)}function Ko(e,t,r){Ve.call(this,e??"canceled",Ve.ERR_CANCELED,t,r),this.name="CanceledError"}J.inherits(Ko,Ve,{__CANCEL__:!0});function FS(e,t,r){const o=r.config.validateStatus;!r.status||!o||o(r.status)?e(r):t(new Ve("Request failed with status code "+r.status,[Ve.ERR_BAD_REQUEST,Ve.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const kS=Yn.hasStandardBrowserEnv?{write(e,t,r,o,s,a){const c=[e+"="+encodeURIComponent(t)];J.isNumber(r)&&c.push("expires="+new Date(r).toGMTString()),J.isString(o)&&c.push("path="+o),J.isString(s)&&c.push("domain="+s),a===!0&&c.push("secure"),document.cookie=c.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 $S(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function BS(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function Pp(e,t){return e&&!$S(t)?BS(e,t):t}const WS=Yn.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let o;function s(a){let c=a;return t&&(r.setAttribute("href",c),c=r.href),r.setAttribute("href",c),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return o=s(window.location.href),function(c){const u=J.isString(c)?s(c):c;return u.protocol===o.protocol&&u.host===o.host}}():function(){return function(){return!0}}();function US(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function HS(e,t){e=e||10;const r=new Array(e),o=new Array(e);let s=0,a=0,c;return t=t!==void 0?t:1e3,function(f){const h=Date.now(),p=o[a];c||(c=h),r[s]=f,o[s]=h;let g=a,m=0;for(;g!==s;)m+=r[g++],g=g%e;if(s=(s+1)%e,s===a&&(a=(a+1)%e),h-c{const a=s.loaded,c=s.lengthComputable?s.total:void 0,u=a-r,f=o(u),h=a<=c;r=a;const p={loaded:a,total:c,progress:c?a/c:void 0,bytes:u,rate:f||void 0,estimated:f&&c&&h?(c-a)/f:void 0,event:s};p[t?"download":"upload"]=!0,e(p)}}const jS=typeof XMLHttpRequest<"u",KS=jS&&function(e){return new Promise(function(r,o){let s=e.data;const a=_r.from(e.headers).normalize();let{responseType:c,withXSRFToken:u}=e,f;function h(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let p;if(J.isFormData(s)){if(Yn.hasStandardBrowserEnv||Yn.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((p=a.getContentType())!==!1){const[S,...C]=p?p.split(";").map(M=>M.trim()).filter(Boolean):[];a.setContentType([S||"multipart/form-data",...C].join("; "))}}let g=new XMLHttpRequest;if(e.auth){const S=e.auth.username||"",C=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(S+":"+C))}const m=Pp(e.baseURL,e.url);g.open(e.method.toUpperCase(),Op(m,e.params,e.paramsSerializer),!0),g.timeout=e.timeout;function y(){if(!g)return;const S=_r.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),M={data:!c||c==="text"||c==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:S,config:e,request:g};FS(function($){r($),h()},function($){o($),h()},M),g=null}if("onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(y)},g.onabort=function(){g&&(o(new Ve("Request aborted",Ve.ECONNABORTED,e,g)),g=null)},g.onerror=function(){o(new Ve("Network Error",Ve.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let C=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const M=e.transitional||Cp;e.timeoutErrorMessage&&(C=e.timeoutErrorMessage),o(new Ve(C,M.clarifyTimeoutError?Ve.ETIMEDOUT:Ve.ECONNABORTED,e,g)),g=null},Yn.hasStandardBrowserEnv&&(u&&J.isFunction(u)&&(u=u(e)),u||u!==!1&&WS(m))){const S=e.xsrfHeaderName&&e.xsrfCookieName&&kS.read(e.xsrfCookieName);S&&a.set(e.xsrfHeaderName,S)}s===void 0&&a.setContentType(null),"setRequestHeader"in g&&J.forEach(a.toJSON(),function(C,M){g.setRequestHeader(M,C)}),J.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),c&&c!=="json"&&(g.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&g.addEventListener("progress",hh(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&g.upload&&g.upload.addEventListener("progress",hh(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=S=>{g&&(o(!S||S.type?new Ko(null,e,g):S),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const b=US(m);if(b&&Yn.protocols.indexOf(b)===-1){o(new Ve("Unsupported protocol "+b+":",Ve.ERR_BAD_REQUEST,e));return}g.send(s||null)})},yu={http:pS,xhr:KS};J.forEach(yu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const ph=e=>`- ${e}`,qS=e=>J.isFunction(e)||e===null||e===!1,Dp={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let r,o;const s={};for(let a=0;a`adapter ${u} `+(f===!1?"is not supported by the environment":"is not available in the build"));let c=t?a.length>1?`since : `+a.map(ph).join(` -`):" "+ph(a[0]):"as no adapter specified";throw new Ve("There is no suitable adapter to dispatch the request "+c,"ERR_NOT_SUPPORT")}return o},adapters:bu};function Jl(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ko(null,e)}function gh(e){return Jl(e),e.headers=_r.from(e.headers),e.data=Xl.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Dp.getAdapter(e.adapter||Ju.adapter)(e).then(function(o){return Jl(e),o.data=Xl.call(e,e.transformResponse,o),o.headers=_r.from(o.headers),o},function(o){return Lp(o)||(Jl(e),o&&o.response&&(o.response.data=Xl.call(e,e.transformResponse,o.response),o.response.headers=_r.from(o.response.headers))),Promise.reject(o)})}const mh=e=>e instanceof _r?e.toJSON():e;function Ui(e,t){t=t||{};const r={};function o(h,p,g){return J.isPlainObject(h)&&J.isPlainObject(p)?J.merge.call({caseless:g},h,p):J.isPlainObject(p)?J.merge({},p):J.isArray(p)?p.slice():p}function s(h,p,g){if(J.isUndefined(p)){if(!J.isUndefined(h))return o(void 0,h,g)}else return o(h,p,g)}function a(h,p){if(!J.isUndefined(p))return o(void 0,p)}function c(h,p){if(J.isUndefined(p)){if(!J.isUndefined(h))return o(void 0,h)}else return o(void 0,p)}function u(h,p,g){if(g in t)return o(h,p);if(g in e)return o(void 0,h)}const f={url:a,method:a,data:a,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:u,headers:(h,p)=>s(mh(h),mh(p),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(p){const g=f[p]||s,m=g(e[p],t[p],p);J.isUndefined(m)&&g!==u||(r[p]=m)}),r}const Mp="1.6.2",Zu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Zu[e]=function(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}});const vh={};Zu.transitional=function(t,r,o){function s(a,c){return"[Axios v"+Mp+"] Transitional option '"+a+"'"+c+(o?". "+o:"")}return(a,c,u)=>{if(t===!1)throw new Ve(s(c," has been removed"+(r?" in "+r:"")),Ve.ERR_DEPRECATED);return r&&!vh[c]&&(vh[c]=!0,console.warn(s(c," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,c,u):!0}};function VS(e,t,r){if(typeof e!="object")throw new Ve("options must be an object",Ve.ERR_BAD_OPTION_VALUE);const o=Object.keys(e);let s=o.length;for(;s-- >0;){const a=o[s],c=t[a];if(c){const u=e[a],f=u===void 0||c(u,a,e);if(f!==!0)throw new Ve("option "+a+" must be "+f,Ve.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ve("Unknown option "+a,Ve.ERR_BAD_OPTION)}}const yu={assertOptions:VS,validators:Zu},Br=yu.validators;class aa{constructor(t){this.defaults=t,this.interceptors={request:new fh,response:new fh}}request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Ui(this.defaults,r);const{transitional:o,paramsSerializer:s,headers:a}=r;o!==void 0&&yu.assertOptions(o,{silentJSONParsing:Br.transitional(Br.boolean),forcedJSONParsing:Br.transitional(Br.boolean),clarifyTimeoutError:Br.transitional(Br.boolean)},!1),s!=null&&(J.isFunction(s)?r.paramsSerializer={serialize:s}:yu.assertOptions(s,{encode:Br.function,serialize:Br.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let c=a&&J.merge(a.common,a[r.method]);a&&J.forEach(["delete","get","head","post","put","patch","common"],y=>{delete a[y]}),r.headers=_r.concat(c,a);const u=[];let f=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(r)===!1||(f=f&&S.synchronous,u.unshift(S.fulfilled,S.rejected))});const h=[];this.interceptors.response.forEach(function(S){h.push(S.fulfilled,S.rejected)});let p,g=0,m;if(!f){const y=[gh.bind(this),void 0];for(y.unshift.apply(y,u),y.push.apply(y,h),m=y.length,p=Promise.resolve(r);g{if(!o._listeners)return;let a=o._listeners.length;for(;a-- >0;)o._listeners[a](s);o._listeners=null}),this.promise.then=s=>{let a;const c=new Promise(u=>{o.subscribe(u),a=u}).then(s);return c.cancel=function(){o.unsubscribe(a)},c},t(function(a,c,u){o.reason||(o.reason=new Ko(a,c,u),r(o.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)}static source(){let t;return{token:new Qu(function(s){t=s}),cancel:t}}}const zS=Qu;function YS(e){return function(r){return e.apply(null,r)}}function GS(e){return J.isObject(e)&&e.isAxiosError===!0}const wu={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(wu).forEach(([e,t])=>{wu[t]=e});const XS=wu;function Rp(e){const t=new Qs(e),r=pp(Qs.prototype.request,t);return J.extend(r,Qs.prototype,t,{allOwnKeys:!0}),J.extend(r,t,null,{allOwnKeys:!0}),r.create=function(s){return Rp(Ui(e,s))},r}const bt=Rp(Ju);bt.Axios=Qs;bt.CanceledError=Ko;bt.CancelToken=zS;bt.isCancel=Lp;bt.VERSION=Mp;bt.toFormData=Aa;bt.AxiosError=Ve;bt.Cancel=bt.CanceledError;bt.all=function(t){return Promise.all(t)};bt.spread=YS;bt.isAxiosError=GS;bt.mergeConfig=Ui;bt.AxiosHeaders=_r;bt.formToJSON=e=>Ip(J.isHTMLForm(e)?new FormData(e):e);bt.getAdapter=Dp.getAdapter;bt.HttpStatusCode=XS;bt.default=bt;const JS=bt;window.axios=JS;window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";CSS.supports("selector(:has(*))")||document.addEventListener("DOMContentLoaded",()=>{const e=document.querySelector(".layout-wrapper");e&&e.querySelector(":scope > .layout-menu")&&e.classList.add("layout-wrapper--sidebar"),e&&e.querySelector(":scope > .layout-menu-horizontal")&&e.classList.add("layout-wrapper--top-menu")});var Eu=!1,Su=!1,di=[],Au=-1;function ZS(e){QS(e)}function QS(e){di.includes(e)||di.push(e),eA()}function Np(e){let t=di.indexOf(e);t!==-1&&t>Au&&di.splice(t,1)}function eA(){!Su&&!Eu&&(Eu=!0,queueMicrotask(tA))}function tA(){Eu=!1,Su=!0;for(let e=0;ee.effect(t,{scheduler:r=>{xu?ZS(r):r()}}),Fp=e.raw}function _h(e){Zi=e}function iA(e){let t=()=>{};return[o=>{let s=Zi(o);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(a=>a())}),e._x_effects.add(s),t=()=>{s!==void 0&&(e._x_effects.delete(s),qo(s))},s},()=>{t()}]}function To(e,t,r={}){e.dispatchEvent(new CustomEvent(t,{detail:r,bubbles:!0,composed:!0,cancelable:!0}))}function Kr(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(s=>Kr(s,t));return}let r=!1;if(t(e,()=>r=!0),r)return;let o=e.firstElementChild;for(;o;)Kr(o,t),o=o.nextElementSibling}function yr(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var bh=!1;function oA(){bh&&yr("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),bh=!0,document.body||yr("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `