diff --git a/src/UI/dist/assets/app.js b/src/UI/dist/assets/app.js index 3b4d2ab04..942169e41 100644 --- a/src/UI/dist/assets/app.js +++ b/src/UI/dist/assets/app.js @@ -1,9 +1,9 @@ -(()=>{function Aa(e,t){return function(){return e.apply(t,arguments)}}const{toString:Qc}=Object.prototype,{getPrototypeOf:Do}=Object,ur=(e=>t=>{const n=Qc.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ct=e=>(e=e.toLowerCase(),t=>ur(t)===e),fr=e=>t=>typeof t===e,{isArray:$n}=Array,ui=fr("undefined");function Zc(e){return e!==null&&!ui(e)&&e.constructor!==null&&!ui(e.constructor)&&ze(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Ca=ct("ArrayBuffer");function eu(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ca(e.buffer),t}const tu=fr("string"),ze=fr("function"),xa=fr("number"),dr=e=>e!==null&&typeof e=="object",nu=e=>e===!0||e===!1,Fi=e=>{if(ur(e)!=="object")return!1;const t=Do(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},iu=ct("Date"),ru=ct("File"),ou=ct("Blob"),su=ct("FileList"),au=e=>dr(e)&&ze(e.pipe),lu=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||ze(e.append)&&((t=ur(e))==="formdata"||t==="object"&&ze(e.toString)&&e.toString()==="[object FormData]"))},cu=ct("URLSearchParams"),[uu,fu,du,hu]=["ReadableStream","Request","Response","Headers"].map(ct),pu=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let i,r;if(typeof e!="object"&&(e=[e]),$n(e))for(i=0,r=e.length;i0;)if(r=n[i],t===r.toLowerCase())return r;return null}const Zt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Pa=e=>!ui(e)&&e!==Zt;function Jr(){const{caseless:e}=Pa(this)&&this||{},t={},n=(i,r)=>{const o=e&&Ia(t,r)||r;Fi(t[o])&&Fi(i)?t[o]=Jr(t[o],i):Fi(i)?t[o]=Jr({},i):$n(i)?t[o]=i.slice():t[o]=i};for(let i=0,r=arguments.length;i(pi(t,(r,o)=>{n&&ze(r)?e[o]=Aa(r,n):e[o]=r},{allOwnKeys:i}),e),gu=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),vu=(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},yu=(e,t,n,i)=>{let r,o,a;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],(!i||i(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=n!==!1&&Do(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},bu=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return i!==-1&&i===n},_u=e=>{if(!e)return null;if($n(e))return e;let t=e.length;if(!xa(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Eu=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Do(Uint8Array)),wu=(e,t)=>{const i=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=i.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Su=(e,t)=>{let n;const i=[];for(;(n=e.exec(t))!==null;)i.push(n);return i},Ou=ct("HTMLFormElement"),Tu=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,i,r){return i.toUpperCase()+r}),_s=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Au=ct("RegExp"),La=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};pi(n,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(i[o]=a||r)}),Object.defineProperties(e,i)},Cu=e=>{La(e,(t,n)=>{if(ze(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const i=e[n];if(ze(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xu=(e,t)=>{const n={},i=r=>{r.forEach(o=>{n[o]=!0})};return $n(e)?i(e):i(String(e).split(t)),n},Iu=()=>{},Pu=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Pr="abcdefghijklmnopqrstuvwxyz",Es="0123456789",Da={DIGIT:Es,ALPHA:Pr,ALPHA_DIGIT:Pr+Pr.toUpperCase()+Es},Lu=(e=16,t=Da.ALPHA_DIGIT)=>{let n="";const{length:i}=t;for(;e--;)n+=t[Math.random()*i|0];return n};function Du(e){return!!(e&&ze(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ru=e=>{const t=new Array(10),n=(i,r)=>{if(dr(i)){if(t.indexOf(i)>=0)return;if(!("toJSON"in i)){t[r]=i;const o=$n(i)?[]:{};return pi(i,(a,s)=>{const l=n(a,r+1);!ui(l)&&(o[s]=l)}),t[r]=void 0,o}}return i};return n(e,0)},Mu=ct("AsyncFunction"),Nu=e=>e&&(dr(e)||ze(e))&&ze(e.then)&&ze(e.catch),Ra=((e,t)=>e?setImmediate:t?((n,i)=>(Zt.addEventListener("message",({source:r,data:o})=>{r===Zt&&o===n&&i.length&&i.shift()()},!1),r=>{i.push(r),Zt.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",ze(Zt.postMessage)),$u=typeof queueMicrotask<"u"?queueMicrotask.bind(Zt):typeof process<"u"&&process.nextTick||Ra,L={isArray:$n,isArrayBuffer:Ca,isBuffer:Zc,isFormData:lu,isArrayBufferView:eu,isString:tu,isNumber:xa,isBoolean:nu,isObject:dr,isPlainObject:Fi,isReadableStream:uu,isRequest:fu,isResponse:du,isHeaders:hu,isUndefined:ui,isDate:iu,isFile:ru,isBlob:ou,isRegExp:Au,isFunction:ze,isStream:au,isURLSearchParams:cu,isTypedArray:Eu,isFileList:su,forEach:pi,merge:Jr,extend:mu,trim:pu,stripBOM:gu,inherits:vu,toFlatObject:yu,kindOf:ur,kindOfTest:ct,endsWith:bu,toArray:_u,forEachEntry:wu,matchAll:Su,isHTMLForm:Ou,hasOwnProperty:_s,hasOwnProp:_s,reduceDescriptors:La,freezeMethods:Cu,toObjectSet:xu,toCamelCase:Tu,noop:Iu,toFiniteNumber:Pu,findKey:Ia,global:Zt,isContextDefined:Pa,ALPHABET:Da,generateString:Lu,isSpecCompliantForm:Du,toJSONObject:Ru,isAsyncFn:Mu,isThenable:Nu,setImmediate:Ra,asap:$u};function se(e,t,n,i,r){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),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r,this.status=r.status?r.status:null)}L.inherits(se,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:L.toJSONObject(this.config),code:this.code,status:this.status}}});const Ma=se.prototype,Na={};["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=>{Na[e]={value:e}});Object.defineProperties(se,Na);Object.defineProperty(Ma,"isAxiosError",{value:!0});se.from=(e,t,n,i,r,o)=>{const a=Object.create(Ma);return L.toFlatObject(e,a,function(l){return l!==Error.prototype},s=>s!=="isAxiosError"),se.call(a,e.message,t,n,i,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const ju=null;function Qr(e){return L.isPlainObject(e)||L.isArray(e)}function $a(e){return L.endsWith(e,"[]")?e.slice(0,-2):e}function ws(e,t,n){return e?e.concat(t).map(function(r,o){return r=$a(r),!n&&o?"["+r+"]":r}).join(n?".":""):t}function Fu(e){return L.isArray(e)&&!e.some(Qr)}const ku=L.toFlatObject(L,{},null,function(t){return/^is[A-Z]/.test(t)});function hr(e,t,n){if(!L.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=L.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,y){return!L.isUndefined(y[v])});const i=n.metaTokens,r=n.visitor||u,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&L.isSpecCompliantForm(t);if(!L.isFunction(r))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(L.isDate(g))return g.toISOString();if(!l&&L.isBlob(g))throw new se("Blob is not supported. Use a Buffer instead.");return L.isArrayBuffer(g)||L.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,v,y){let S=g;if(g&&!y&&typeof g=="object"){if(L.endsWith(v,"{}"))v=i?v:v.slice(0,-2),g=JSON.stringify(g);else if(L.isArray(g)&&Fu(g)||(L.isFileList(g)||L.endsWith(v,"[]"))&&(S=L.toArray(g)))return v=$a(v),S.forEach(function(C,_){!(L.isUndefined(C)||C===null)&&t.append(a===!0?ws([v],_,o):a===null?v:v+"[]",c(C))}),!1}return Qr(g)?!0:(t.append(ws(y,v,o),c(g)),!1)}const f=[],d=Object.assign(ku,{defaultVisitor:u,convertValue:c,isVisitable:Qr});function p(g,v){if(!L.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));f.push(g),L.forEach(g,function(S,w){(!(L.isUndefined(S)||S===null)&&r.call(t,S,L.isString(w)?w.trim():w,v,d))===!0&&p(S,v?v.concat(w):[w])}),f.pop()}}if(!L.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Ss(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function Ro(e,t){this._pairs=[],e&&hr(e,this,t)}const ja=Ro.prototype;ja.append=function(t,n){this._pairs.push([t,n])};ja.toString=function(t){const n=t?function(i){return t.call(this,i,Ss)}:Ss;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function Bu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Fa(e,t,n){if(!t)return e;const i=n&&n.encode||Bu;L.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let o;if(r?o=r(t,n):o=L.isURLSearchParams(t)?t.toString():new Ro(t,n).toString(i),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Os{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){L.forEach(this.handlers,function(i){i!==null&&t(i)})}}const ka={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hu=typeof URLSearchParams<"u"?URLSearchParams:Ro,Uu=typeof FormData<"u"?FormData:null,qu=typeof Blob<"u"?Blob:null,Vu={isBrowser:!0,classes:{URLSearchParams:Hu,FormData:Uu,Blob:qu},protocols:["http","https","file","blob","url","data"]},Mo=typeof window<"u"&&typeof document<"u",Zr=typeof navigator=="object"&&navigator||void 0,Wu=Mo&&(!Zr||["ReactNative","NativeScript","NS"].indexOf(Zr.product)<0),Ku=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Yu=Mo&&window.location.href||"http://localhost",zu=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Mo,hasStandardBrowserEnv:Wu,hasStandardBrowserWebWorkerEnv:Ku,navigator:Zr,origin:Yu},Symbol.toStringTag,{value:"Module"})),Ne={...zu,...Vu};function Gu(e,t){return hr(e,new Ne.classes.URLSearchParams,Object.assign({visitor:function(n,i,r,o){return Ne.isNode&&L.isBuffer(n)?(this.append(i,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Xu(e){return L.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Ju(e){const t={},n=Object.keys(e);let i;const r=n.length;let o;for(i=0;i=n.length;return a=!a&&L.isArray(r)?r.length:a,l?(L.hasOwnProp(r,a)?r[a]=[r[a],i]:r[a]=i,!s):((!r[a]||!L.isObject(r[a]))&&(r[a]=[]),t(n,i,r[a],o)&&L.isArray(r[a])&&(r[a]=Ju(r[a])),!s)}if(L.isFormData(e)&&L.isFunction(e.entries)){const n={};return L.forEachEntry(e,(i,r)=>{t(Xu(i),r,n,0)}),n}return null}function Qu(e,t,n){if(L.isString(e))try{return(t||JSON.parse)(e),L.trim(e)}catch(i){if(i.name!=="SyntaxError")throw i}return(0,JSON.stringify)(e)}const mi={transitional:ka,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const i=n.getContentType()||"",r=i.indexOf("application/json")>-1,o=L.isObject(t);if(o&&L.isHTMLForm(t)&&(t=new FormData(t)),L.isFormData(t))return r?JSON.stringify(Ba(t)):t;if(L.isArrayBuffer(t)||L.isBuffer(t)||L.isStream(t)||L.isFile(t)||L.isBlob(t)||L.isReadableStream(t))return t;if(L.isArrayBufferView(t))return t.buffer;if(L.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Gu(t,this.formSerializer).toString();if((s=L.isFileList(t))||i.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return hr(s?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||r?(n.setContentType("application/json",!1),Qu(t)):t}],transformResponse:[function(t){const n=this.transitional||mi.transitional,i=n&&n.forcedJSONParsing,r=this.responseType==="json";if(L.isResponse(t)||L.isReadableStream(t))return t;if(t&&L.isString(t)&&(i&&!this.responseType||r)){const a=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?se.from(s,se.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ne.classes.FormData,Blob:Ne.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};L.forEach(["delete","get","head","post","put","patch"],e=>{mi.headers[e]={}});const Zu=L.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"]),ef=e=>{const t={};let n,i,r;return e&&e.split(` -`).forEach(function(a){r=a.indexOf(":"),n=a.substring(0,r).trim().toLowerCase(),i=a.substring(r+1).trim(),!(!n||t[n]&&Zu[n])&&(n==="set-cookie"?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t},Ts=Symbol("internals");function Vn(e){return e&&String(e).trim().toLowerCase()}function ki(e){return e===!1||e==null?e:L.isArray(e)?e.map(ki):String(e)}function tf(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}const nf=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Lr(e,t,n,i,r){if(L.isFunction(i))return i.call(this,t,n);if(r&&(t=n),!!L.isString(t)){if(L.isString(i))return t.indexOf(i)!==-1;if(L.isRegExp(i))return i.test(t)}}function rf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,i)=>n.toUpperCase()+i)}function of(e,t){const n=L.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{value:function(r,o,a){return this[i].call(this,t,r,o,a)},configurable:!0})})}let qe=class{constructor(t){t&&this.set(t)}set(t,n,i){const r=this;function o(s,l,c){const u=Vn(l);if(!u)throw new Error("header name must be a non-empty string");const f=L.findKey(r,u);(!f||r[f]===void 0||c===!0||c===void 0&&r[f]!==!1)&&(r[f||l]=ki(s))}const a=(s,l)=>L.forEach(s,(c,u)=>o(c,u,l));if(L.isPlainObject(t)||t instanceof this.constructor)a(t,n);else if(L.isString(t)&&(t=t.trim())&&!nf(t))a(ef(t),n);else if(L.isHeaders(t))for(const[s,l]of t.entries())o(l,s,i);else t!=null&&o(n,t,i);return this}get(t,n){if(t=Vn(t),t){const i=L.findKey(this,t);if(i){const r=this[i];if(!n)return r;if(n===!0)return tf(r);if(L.isFunction(n))return n.call(this,r,i);if(L.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Vn(t),t){const i=L.findKey(this,t);return!!(i&&this[i]!==void 0&&(!n||Lr(this,this[i],i,n)))}return!1}delete(t,n){const i=this;let r=!1;function o(a){if(a=Vn(a),a){const s=L.findKey(i,a);s&&(!n||Lr(i,i[s],s,n))&&(delete i[s],r=!0)}}return L.isArray(t)?t.forEach(o):o(t),r}clear(t){const n=Object.keys(this);let i=n.length,r=!1;for(;i--;){const o=n[i];(!t||Lr(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const n=this,i={};return L.forEach(this,(r,o)=>{const a=L.findKey(i,o);if(a){n[a]=ki(r),delete n[o];return}const s=t?rf(o):String(o).trim();s!==o&&delete n[o],n[s]=ki(r),i[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return L.forEach(this,(i,r)=>{i!=null&&i!==!1&&(n[r]=t&&L.isArray(i)?i.join(", "):i)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const i=new this(t);return n.forEach(r=>i.set(r)),i}static accessor(t){const i=(this[Ts]=this[Ts]={accessors:{}}).accessors,r=this.prototype;function o(a){const s=Vn(a);i[s]||(of(r,a),i[s]=!0)}return L.isArray(t)?t.forEach(o):o(t),this}};qe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);L.reduceDescriptors(qe.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(i){this[n]=i}}});L.freezeMethods(qe);function Dr(e,t){const n=this||mi,i=t||n,r=qe.from(i.headers);let o=i.data;return L.forEach(e,function(s){o=s.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Ha(e){return!!(e&&e.__CANCEL__)}function jn(e,t,n){se.call(this,e??"canceled",se.ERR_CANCELED,t,n),this.name="CanceledError"}L.inherits(jn,se,{__CANCEL__:!0});function Ua(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.status)?e(n):t(new se("Request failed with status code "+n.status,[se.ERR_BAD_REQUEST,se.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function sf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function af(e,t){e=e||10;const n=new Array(e),i=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=i[o];a||(a=c),n[r]=l,i[r]=c;let f=o,d=0;for(;f!==r;)d+=n[f++],f=f%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),c-a{n=u,r=null,o&&(clearTimeout(o),o=null),e.apply(null,c)};return[(...c)=>{const u=Date.now(),f=u-n;f>=i?a(c,u):(r=c,o||(o=setTimeout(()=>{o=null,a(r)},i-f)))},()=>r&&a(r)]}const Gi=(e,t,n=3)=>{let i=0;const r=af(50,250);return lf(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,l=a-i,c=r(l),u=a<=s;i=a;const f={loaded:a,total:s,progress:s?a/s:void 0,bytes:l,rate:c||void 0,estimated:c&&s&&u?(s-a)/c:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(f)},n)},As=(e,t)=>{const n=e!=null;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},Cs=e=>(...t)=>L.asap(()=>e(...t)),cf=Ne.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ne.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ne.origin),Ne.navigator&&/(msie|trident)/i.test(Ne.navigator.userAgent)):()=>!0,uf=Ne.hasStandardBrowserEnv?{write(e,t,n,i,r,o){const a=[e+"="+encodeURIComponent(t)];L.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),L.isString(i)&&a.push("path="+i),L.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.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 ff(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function df(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function qa(e,t){return e&&!ff(t)?df(e,t):t}const xs=e=>e instanceof qe?{...e}:e;function ln(e,t){t=t||{};const n={};function i(c,u,f,d){return L.isPlainObject(c)&&L.isPlainObject(u)?L.merge.call({caseless:d},c,u):L.isPlainObject(u)?L.merge({},u):L.isArray(u)?u.slice():u}function r(c,u,f,d){if(L.isUndefined(u)){if(!L.isUndefined(c))return i(void 0,c,f,d)}else return i(c,u,f,d)}function o(c,u){if(!L.isUndefined(u))return i(void 0,u)}function a(c,u){if(L.isUndefined(u)){if(!L.isUndefined(c))return i(void 0,c)}else return i(void 0,u)}function s(c,u,f){if(f in t)return i(c,u);if(f in e)return i(void 0,c)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(c,u,f)=>r(xs(c),xs(u),f,!0)};return L.forEach(Object.keys(Object.assign({},e,t)),function(u){const f=l[u]||r,d=f(e[u],t[u],u);L.isUndefined(d)&&f!==s||(n[u]=d)}),n}const Va=e=>{const t=ln({},e);let{data:n,withXSRFToken:i,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=qe.from(a),t.url=Fa(qa(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(L.isFormData(n)){if(Ne.hasStandardBrowserEnv||Ne.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((l=a.getContentType())!==!1){const[c,...u]=l?l.split(";").map(f=>f.trim()).filter(Boolean):[];a.setContentType([c||"multipart/form-data",...u].join("; "))}}if(Ne.hasStandardBrowserEnv&&(i&&L.isFunction(i)&&(i=i(t)),i||i!==!1&&cf(t.url))){const c=r&&o&&uf.read(o);c&&a.set(r,c)}return t},hf=typeof XMLHttpRequest<"u",pf=hf&&function(e){return new Promise(function(n,i){const r=Va(e);let o=r.data;const a=qe.from(r.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:c}=r,u,f,d,p,g;function v(){p&&p(),g&&g(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let y=new XMLHttpRequest;y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout;function S(){if(!y)return;const C=qe.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),U={data:!s||s==="text"||s==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:C,config:e,request:y};Ua(function(Y){n(Y),v()},function(Y){i(Y),v()},U),y=null}"onloadend"in y?y.onloadend=S:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(S)},y.onabort=function(){y&&(i(new se("Request aborted",se.ECONNABORTED,e,y)),y=null)},y.onerror=function(){i(new se("Network Error",se.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let _=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const U=r.transitional||ka;r.timeoutErrorMessage&&(_=r.timeoutErrorMessage),i(new se(_,U.clarifyTimeoutError?se.ETIMEDOUT:se.ECONNABORTED,e,y)),y=null},o===void 0&&a.setContentType(null),"setRequestHeader"in y&&L.forEach(a.toJSON(),function(_,U){y.setRequestHeader(U,_)}),L.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),s&&s!=="json"&&(y.responseType=r.responseType),c&&([d,g]=Gi(c,!0),y.addEventListener("progress",d)),l&&y.upload&&([f,p]=Gi(l),y.upload.addEventListener("progress",f),y.upload.addEventListener("loadend",p)),(r.cancelToken||r.signal)&&(u=C=>{y&&(i(!C||C.type?new jn(null,e,y):C),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const w=sf(r.url);if(w&&Ne.protocols.indexOf(w)===-1){i(new se("Unsupported protocol "+w+":",se.ERR_BAD_REQUEST,e));return}y.send(o||null)})},mf=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let i=new AbortController,r;const o=function(c){if(!r){r=!0,s();const u=c instanceof Error?c:this.reason;i.abort(u instanceof se?u:new jn(u instanceof Error?u.message:u))}};let a=t&&setTimeout(()=>{a=null,o(new se(`timeout ${t} of ms exceeded`,se.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(c=>{c.unsubscribe?c.unsubscribe(o):c.removeEventListener("abort",o)}),e=null)};e.forEach(c=>c.addEventListener("abort",o));const{signal:l}=i;return l.unsubscribe=()=>L.asap(s),l}},gf=function*(e,t){let n=e.byteLength;if(n{const r=vf(e,t);let o=0,a,s=l=>{a||(a=!0,i&&i(l))};return new ReadableStream({async pull(l){try{const{done:c,value:u}=await r.next();if(c){s(),l.close();return}let f=u.byteLength;if(n){let d=o+=f;n(d)}l.enqueue(new Uint8Array(u))}catch(c){throw s(c),c}},cancel(l){return s(l),r.return()}},{highWaterMark:2})},pr=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Wa=pr&&typeof ReadableStream=="function",bf=pr&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ka=(e,...t)=>{try{return!!e(...t)}catch{return!1}},_f=Wa&&Ka(()=>{let e=!1;const t=new Request(Ne.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ps=64*1024,eo=Wa&&Ka(()=>L.isReadableStream(new Response("").body)),Xi={stream:eo&&(e=>e.body)};pr&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Xi[t]&&(Xi[t]=L.isFunction(e[t])?n=>n[t]():(n,i)=>{throw new se(`Response type '${t}' is not supported`,se.ERR_NOT_SUPPORT,i)})})})(new Response);const Ef=async e=>{if(e==null)return 0;if(L.isBlob(e))return e.size;if(L.isSpecCompliantForm(e))return(await new Request(Ne.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(L.isArrayBufferView(e)||L.isArrayBuffer(e))return e.byteLength;if(L.isURLSearchParams(e)&&(e=e+""),L.isString(e))return(await bf(e)).byteLength},wf=async(e,t)=>{const n=L.toFiniteNumber(e.getContentLength());return n??Ef(t)},Sf=pr&&(async e=>{let{url:t,method:n,data:i,signal:r,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:c,headers:u,withCredentials:f="same-origin",fetchOptions:d}=Va(e);c=c?(c+"").toLowerCase():"text";let p=mf([r,o&&o.toAbortSignal()],a),g;const v=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let y;try{if(l&&_f&&n!=="get"&&n!=="head"&&(y=await wf(u,i))!==0){let U=new Request(t,{method:"POST",body:i,duplex:"half"}),N;if(L.isFormData(i)&&(N=U.headers.get("content-type"))&&u.setContentType(N),U.body){const[Y,x]=As(y,Gi(Cs(l)));i=Is(U.body,Ps,Y,x)}}L.isString(f)||(f=f?"include":"omit");const S="credentials"in Request.prototype;g=new Request(t,{...d,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:i,duplex:"half",credentials:S?f:void 0});let w=await fetch(g);const C=eo&&(c==="stream"||c==="response");if(eo&&(s||C&&v)){const U={};["status","statusText","headers"].forEach(D=>{U[D]=w[D]});const N=L.toFiniteNumber(w.headers.get("content-length")),[Y,x]=s&&As(N,Gi(Cs(s),!0))||[];w=new Response(Is(w.body,Ps,Y,()=>{x&&x(),v&&v()}),U)}c=c||"text";let _=await Xi[L.findKey(Xi,c)||"text"](w,e);return!C&&v&&v(),await new Promise((U,N)=>{Ua(U,N,{data:_,headers:qe.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:g})})}catch(S){throw v&&v(),S&&S.name==="TypeError"&&/fetch/i.test(S.message)?Object.assign(new se("Network Error",se.ERR_NETWORK,e,g),{cause:S.cause||S}):se.from(S,S&&S.code,e,g)}}),to={http:ju,xhr:pf,fetch:Sf};L.forEach(to,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ls=e=>`- ${e}`,Of=e=>L.isFunction(e)||e===null||e===!1,Ya={getAdapter:e=>{e=L.isArray(e)?e:[e];const{length:t}=e;let n,i;const r={};for(let o=0;o`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since : -`+o.map(Ls).join(` -`):" "+Ls(o[0]):"as no adapter specified";throw new se("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return i},adapters:to};function Rr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new jn(null,e)}function Ds(e){return Rr(e),e.headers=qe.from(e.headers),e.data=Dr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ya.getAdapter(e.adapter||mi.adapter)(e).then(function(i){return Rr(e),i.data=Dr.call(e,e.transformResponse,i),i.headers=qe.from(i.headers),i},function(i){return Ha(i)||(Rr(e),i&&i.response&&(i.response.data=Dr.call(e,e.transformResponse,i.response),i.response.headers=qe.from(i.response.headers))),Promise.reject(i)})}const za="1.7.9",mr={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{mr[e]=function(i){return typeof i===e||"a"+(t<1?"n ":" ")+e}});const Rs={};mr.transitional=function(t,n,i){function r(o,a){return"[Axios v"+za+"] Transitional option '"+o+"'"+a+(i?". "+i:"")}return(o,a,s)=>{if(t===!1)throw new se(r(a," has been removed"+(n?" in "+n:"")),se.ERR_DEPRECATED);return n&&!Rs[a]&&(Rs[a]=!0,console.warn(r(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,s):!0}};mr.spelling=function(t){return(n,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function Tf(e,t,n){if(typeof e!="object")throw new se("options must be an object",se.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let r=i.length;for(;r-- >0;){const o=i[r],a=t[o];if(a){const s=e[o],l=s===void 0||a(s,o,e);if(l!==!0)throw new se("option "+o+" must be "+l,se.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new se("Unknown option "+o,se.ERR_BAD_OPTION)}}const Bi={assertOptions:Tf,validators:mr},dt=Bi.validators;let tn=class{constructor(t){this.defaults=t,this.interceptors={request:new Os,response:new Os}}async request(t,n){try{return await this._request(t,n)}catch(i){if(i instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{i.stack?o&&!String(i.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(i.stack+=` -`+o):i.stack=o}catch{}}throw i}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ln(this.defaults,n);const{transitional:i,paramsSerializer:r,headers:o}=n;i!==void 0&&Bi.assertOptions(i,{silentJSONParsing:dt.transitional(dt.boolean),forcedJSONParsing:dt.transitional(dt.boolean),clarifyTimeoutError:dt.transitional(dt.boolean)},!1),r!=null&&(L.isFunction(r)?n.paramsSerializer={serialize:r}:Bi.assertOptions(r,{encode:dt.function,serialize:dt.function},!0)),Bi.assertOptions(n,{baseUrl:dt.spelling("baseURL"),withXsrfToken:dt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&L.merge(o.common,o[n.method]);o&&L.forEach(["delete","get","head","post","put","patch","common"],g=>{delete o[g]}),n.headers=qe.concat(a,o);const s=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,s.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,f=0,d;if(!l){const g=[Ds.bind(this),void 0];for(g.unshift.apply(g,s),g.push.apply(g,c),d=g.length,u=Promise.resolve(n);f{if(!i._listeners)return;let o=i._listeners.length;for(;o-- >0;)i._listeners[o](r);i._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(s=>{i.subscribe(s),o=s}).then(r);return a.cancel=function(){i.unsubscribe(o)},a},t(function(o,a,s){i.reason||(i.reason=new jn(o,a,s),n(i.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 n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=i=>{t.abort(i)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Ga(function(r){t=r}),cancel:t}}};function Cf(e){return function(n){return e.apply(null,n)}}function xf(e){return L.isObject(e)&&e.isAxiosError===!0}const no={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(no).forEach(([e,t])=>{no[t]=e});function Xa(e){const t=new tn(e),n=Aa(tn.prototype.request,t);return L.extend(n,tn.prototype,t,{allOwnKeys:!0}),L.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Xa(ln(e,r))},n}const Te=Xa(mi);Te.Axios=tn;Te.CanceledError=jn;Te.CancelToken=Af;Te.isCancel=Ha;Te.VERSION=za;Te.toFormData=hr;Te.AxiosError=se;Te.Cancel=Te.CanceledError;Te.all=function(t){return Promise.all(t)};Te.spread=Cf;Te.isAxiosError=xf;Te.mergeConfig=ln;Te.AxiosHeaders=qe;Te.formToJSON=e=>Ba(L.isHTMLForm(e)?new FormData(e):e);Te.getAdapter=Ya.getAdapter;Te.HttpStatusCode=no;Te.default=Te;const{Axios:Dg,AxiosError:Rg,CanceledError:Mg,isCancel:Ng,CancelToken:$g,VERSION:jg,all:Fg,Cancel:kg,isAxiosError:Bg,spread:Hg,toFormData:Ug,AxiosHeaders:qg,HttpStatusCode:Vg,formToJSON:Ja,getAdapter:Wg,mergeConfig:Kg}=Te;window.axios=Te;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"),e&&e.querySelector(":scope > .layout-menu-mobile")&&e.classList.add("layout-wrapper--mobilebar")});var io=!1,ro=!1,nn=[],oo=-1;function If(e){Pf(e)}function Pf(e){nn.includes(e)||nn.push(e),Lf()}function Qa(e){let t=nn.indexOf(e);t!==-1&&t>oo&&nn.splice(t,1)}function Lf(){!ro&&!io&&(io=!0,queueMicrotask(Df))}function Df(){io=!1,ro=!0;for(let e=0;ee.effect(t,{scheduler:n=>{so?If(n):n()}}),Za=e.raw}function Ms(e){kn=e}function Nf(e){let t=()=>{};return[i=>{let r=kn(i);return e._x_effects||(e._x_effects=new Set,e._x_runEffects=()=>{e._x_effects.forEach(o=>o())}),e._x_effects.add(r),t=()=>{r!==void 0&&(e._x_effects.delete(r),gi(r))},r},()=>{t()}]}function Zn(e,t,n={}){e.dispatchEvent(new CustomEvent(t,{detail:n,bubbles:!0,composed:!0,cancelable:!0}))}function Ft(e,t){if(typeof ShadowRoot=="function"&&e instanceof ShadowRoot){Array.from(e.children).forEach(r=>Ft(r,t));return}let n=!1;if(t(e,()=>n=!0),n)return;let i=e.firstElementChild;for(;i;)Ft(i,t),i=i.nextElementSibling}function Ot(e,...t){console.warn(`Alpine Warning: ${e}`,...t)}var Ns=!1;function $f(){Ns&&Ot("Alpine has already been initialized on this page. Calling Alpine.start() more than once can cause problems."),Ns=!0,document.body||Ot("Unable to initialize. Trying to load Alpine before `` is available. Did you forget to add `defer` in Alpine's `