import{d as defineComponent,i as inject,r as reactive,C as CompositionApi,A as App}from"./resetcss.494d822a.js";import{n as normalizeComponent,g as getUrlParam}from"./vueComponentNormalizer.e7d45796.js";import{e as entry}from"./components.js";const getLocalConfig=()=>{const configStr=localStorage.getItem("magicUiConfig");if(!configStr)return[];try{return[eval(`(${configStr})`)]}catch(t){return[]}};var axios$2={exports:{}},bind$2=function t(e,r){return function(){for(var n=new Array(arguments.length),a=0;a=0)return;s==="set-cookie"?r[s]=(r[s]?r[s]:[]).concat([n]):r[s]=r[s]?r[s]+", "+n:n}}),r},utils$8=utils$e,isURLSameOrigin$1=utils$8.isStandardBrowserEnv()?function t(){var e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),s;function n(a){var o=a;return e&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{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 s=n(window.location.href),function(o){var u=utils$8.isString(o)?n(o):o;return u.protocol===s.protocol&&u.host===s.host}}():function t(){return function(){return!0}}();function Cancel$3(t){this.message=t}Cancel$3.prototype.toString=function t(){return"Cancel"+(this.message?": "+this.message:"")};Cancel$3.prototype.__CANCEL__=!0;var Cancel_1=Cancel$3,utils$7=utils$e,settle=settle$1,cookies=cookies$1,buildURL$1=buildURL$2,buildFullPath=buildFullPath$1,parseHeaders=parseHeaders$1,isURLSameOrigin=isURLSameOrigin$1,createError=createError$2,defaults$4=defaults_1,Cancel$2=Cancel_1,xhr=function t(e){return new Promise(function(s,n){var a=e.data,o=e.headers,u=e.responseType,l;function d(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}utils$7.isFormData(a)&&delete o["Content-Type"];var i=new XMLHttpRequest;if(e.auth){var c=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.Authorization="Basic "+btoa(c+":"+h)}var f=buildFullPath(e.baseURL,e.url);i.open(e.method.toUpperCase(),buildURL$1(f,e.params,e.paramsSerializer),!0),i.timeout=e.timeout;function b(){if(!!i){var p="getAllResponseHeaders"in i?parseHeaders(i.getAllResponseHeaders()):null,v=!u||u==="text"||u==="json"?i.responseText:i.response,m={data:v,status:i.status,statusText:i.statusText,headers:p,config:e,request:i};settle(function($){s($),d()},function($){n($),d()},m),i=null}}if("onloadend"in i?i.onloadend=b:i.onreadystatechange=function(){!i||i.readyState!==4||i.status===0&&!(i.responseURL&&i.responseURL.indexOf("file:")===0)||setTimeout(b)},i.onabort=function(){!i||(n(createError("Request aborted",e,"ECONNABORTED",i)),i=null)},i.onerror=function(){n(createError("Network Error",e,null,i)),i=null},i.ontimeout=function(){var v=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",m=e.transitional||defaults$4.transitional;e.timeoutErrorMessage&&(v=e.timeoutErrorMessage),n(createError(v,e,m.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",i)),i=null},utils$7.isStandardBrowserEnv()){var y=(e.withCredentials||isURLSameOrigin(f))&&e.xsrfCookieName?cookies.read(e.xsrfCookieName):void 0;y&&(o[e.xsrfHeaderName]=y)}"setRequestHeader"in i&&utils$7.forEach(o,function(v,m){typeof a=="undefined"&&m.toLowerCase()==="content-type"?delete o[m]:i.setRequestHeader(m,v)}),utils$7.isUndefined(e.withCredentials)||(i.withCredentials=!!e.withCredentials),u&&u!=="json"&&(i.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&i.addEventListener("progress",e.onDownloadProgress),typeof e.onUploadProgress=="function"&&i.upload&&i.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(l=function(p){!i||(n(!p||p&&p.type?new Cancel$2("canceled"):p),i.abort(),i=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l))),a||(a=null),i.send(a)})},utils$6=utils$e,normalizeHeaderName=normalizeHeaderName$1,enhanceError=enhanceError$2,DEFAULT_CONTENT_TYPE={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(t,e){!utils$6.isUndefined(t)&&utils$6.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}function getDefaultAdapter(){var t;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(t=xhr),t}function stringifySafely(t,e,r){if(utils$6.isString(t))try{return(e||JSON.parse)(t),utils$6.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(r||JSON.stringify)(t)}var defaults$3={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:getDefaultAdapter(),transformRequest:[function t(e,r){return normalizeHeaderName(r,"Accept"),normalizeHeaderName(r,"Content-Type"),utils$6.isFormData(e)||utils$6.isArrayBuffer(e)||utils$6.isBuffer(e)||utils$6.isStream(e)||utils$6.isFile(e)||utils$6.isBlob(e)?e:utils$6.isArrayBufferView(e)?e.buffer:utils$6.isURLSearchParams(e)?(setContentTypeIfUnset(r,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):utils$6.isObject(e)||r&&r["Content-Type"]==="application/json"?(setContentTypeIfUnset(r,"application/json"),stringifySafely(e)):e}],transformResponse:[function t(e){var r=this.transitional||defaults$3.transitional,s=r&&r.silentJSONParsing,n=r&&r.forcedJSONParsing,a=!s&&this.responseType==="json";if(a||n&&utils$6.isString(e)&&e.length)try{return JSON.parse(e)}catch(o){if(a)throw o.name==="SyntaxError"?enhanceError(o,this,"E_JSON_PARSE"):o}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function t(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};utils$6.forEach(["delete","get","head"],function t(e){defaults$3.headers[e]={}});utils$6.forEach(["post","put","patch"],function t(e){defaults$3.headers[e]=utils$6.merge(DEFAULT_CONTENT_TYPE)});var defaults_1=defaults$3,utils$5=utils$e,defaults$2=defaults_1,transformData$1=function t(e,r,s){var n=this||defaults$2;return utils$5.forEach(s,function(o){e=o.call(n,e,r)}),e},isCancel$1=function t(e){return!!(e&&e.__CANCEL__)},utils$4=utils$e,transformData=transformData$1,isCancel=isCancel$1,defaults$1=defaults_1,Cancel$1=Cancel_1;function throwIfCancellationRequested(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Cancel$1("canceled")}var dispatchRequest$1=function t(e){throwIfCancellationRequested(e),e.headers=e.headers||{},e.data=transformData.call(e,e.data,e.headers,e.transformRequest),e.headers=utils$4.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),utils$4.forEach(["delete","get","head","post","put","patch","common"],function(n){delete e.headers[n]});var r=e.adapter||defaults$1.adapter;return r(e).then(function(n){return throwIfCancellationRequested(e),n.data=transformData.call(e,n.data,n.headers,e.transformResponse),n},function(n){return isCancel(n)||(throwIfCancellationRequested(e),n&&n.response&&(n.response.data=transformData.call(e,n.response.data,n.response.headers,e.transformResponse))),Promise.reject(n)})},utils$3=utils$e,mergeConfig$2=function t(e,r){r=r||{};var s={};function n(i,c){return utils$3.isPlainObject(i)&&utils$3.isPlainObject(c)?utils$3.merge(i,c):utils$3.isPlainObject(c)?utils$3.merge({},c):utils$3.isArray(c)?c.slice():c}function a(i){if(utils$3.isUndefined(r[i])){if(!utils$3.isUndefined(e[i]))return n(void 0,e[i])}else return n(e[i],r[i])}function o(i){if(!utils$3.isUndefined(r[i]))return n(void 0,r[i])}function u(i){if(utils$3.isUndefined(r[i])){if(!utils$3.isUndefined(e[i]))return n(void 0,e[i])}else return n(void 0,r[i])}function l(i){if(i in r)return n(e[i],r[i]);if(i in e)return n(void 0,e[i])}var d={url:o,method:o,data:o,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:l};return utils$3.forEach(Object.keys(e).concat(Object.keys(r)),function(c){var h=d[c]||a,f=h(c);utils$3.isUndefined(f)&&h!==l||(s[c]=f)}),s},data={version:"0.25.0"},VERSION=data.version,validators$1={};["object","boolean","number","function","string","symbol"].forEach(function(t,e){validators$1[t]=function(s){return typeof s===t||"a"+(e<1?"n ":" ")+t}});var deprecatedWarnings={};validators$1.transitional=function t(e,r,s){function n(a,o){return"[Axios v"+VERSION+"] Transitional option '"+a+"'"+o+(s?". "+s:"")}return function(a,o,u){if(e===!1)throw new Error(n(o," has been removed"+(r?" in "+r:"")));return r&&!deprecatedWarnings[o]&&(deprecatedWarnings[o]=!0,console.warn(n(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(a,o,u):!0}};function assertOptions(t,e,r){if(typeof t!="object")throw new TypeError("options must be an object");for(var s=Object.keys(t),n=s.length;n-- >0;){var a=s[n],o=e[a];if(o){var u=t[a],l=u===void 0||o(u,a,t);if(l!==!0)throw new TypeError("option "+a+" must be "+l);continue}if(r!==!0)throw Error("Unknown option "+a)}}var validator$1={assertOptions,validators:validators$1},utils$2=utils$e,buildURL=buildURL$2,InterceptorManager=InterceptorManager_1,dispatchRequest=dispatchRequest$1,mergeConfig$1=mergeConfig$2,validator=validator$1,validators=validator.validators;function Axios$1(t){this.defaults=t,this.interceptors={request:new InterceptorManager,response:new InterceptorManager}}Axios$1.prototype.request=function t(e,r){if(typeof e=="string"?(r=r||{},r.url=e):r=e||{},!r.url)throw new Error("Provided config url is not valid");r=mergeConfig$1(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var s=r.transitional;s!==void 0&&validator.assertOptions(s,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1);var n=[],a=!0;this.interceptors.request.forEach(function(f){typeof f.runWhen=="function"&&f.runWhen(r)===!1||(a=a&&f.synchronous,n.unshift(f.fulfilled,f.rejected))});var o=[];this.interceptors.response.forEach(function(f){o.push(f.fulfilled,f.rejected)});var u;if(!a){var l=[dispatchRequest,void 0];for(Array.prototype.unshift.apply(l,n),l=l.concat(o),u=Promise.resolve(r);l.length;)u=u.then(l.shift(),l.shift());return u}for(var d=r;n.length;){var i=n.shift(),c=n.shift();try{d=i(d)}catch(h){c(h);break}}try{u=dispatchRequest(d)}catch(h){return Promise.reject(h)}for(;o.length;)u=u.then(o.shift(),o.shift());return u};Axios$1.prototype.getUri=function t(e){if(!e.url)throw new Error("Provided config url is not valid");return e=mergeConfig$1(this.defaults,e),buildURL(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")};utils$2.forEach(["delete","get","head","options"],function t(e){Axios$1.prototype[e]=function(r,s){return this.request(mergeConfig$1(s||{},{method:e,url:r,data:(s||{}).data}))}});utils$2.forEach(["post","put","patch"],function t(e){Axios$1.prototype[e]=function(r,s,n){return this.request(mergeConfig$1(n||{},{method:e,url:r,data:s}))}});var Axios_1=Axios$1,Cancel=Cancel_1;function CancelToken(t){if(typeof t!="function")throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(n){e=n});var r=this;this.promise.then(function(s){if(!!r._listeners){var n,a=r._listeners.length;for(n=0;n{const e=entry.components[t];Vue.component(e.name,e),app.registerComponent(t,e)});Object.values(entry.plugins).forEach(t=>{Vue.use(t)});Vue.prototype.app=app;const magicApp=new Vue({provide:{app},render:t=>t(AppComponent)});magicApp.$mount("#app");