@opengis/admin 0.1.21 → 0.1.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { u } from "./userMenu-CT1xO2Pt.js";
2
- import { _ as b, a as c } from "./import-file-B37H73ct.js";
2
+ import { _ as b, a as c } from "./import-file-CzCwLSil.js";
3
3
  import { resolveComponent as h, openBlock as i, createElementBlock as d, createElementVNode as a, createBlock as p, createCommentVNode as f } from "vue";
4
4
  const g = {
5
5
  data() {
@@ -1,4 +1,4 @@
1
- import { _ as b, a as w } from "./import-file-B37H73ct.js";
1
+ import { _ as b, a as w } from "./import-file-CzCwLSil.js";
2
2
  import { u as E } from "./userMenu-CT1xO2Pt.js";
3
3
  import { openBlock as a, createElementBlock as i, createStaticVNode as D, createTextVNode as $, toDisplayString as F, createCommentVNode as v, createElementVNode as l, Fragment as x, resolveComponent as c, createVNode as h, withCtx as y, createBlock as _, withModifiers as K, renderList as C, withDirectives as Z, vModelCheckbox as Q, resolveDynamicComponent as W, Transition as X, vShow as Y } from "vue";
4
4
  const ee = {}, te = {
@@ -1,4 +1,4 @@
1
- import { _ as d, a as I } from "./import-file-B37H73ct.js";
1
+ import { _ as d, a as I } from "./import-file-CzCwLSil.js";
2
2
  import { u as v } from "./userMenu-CT1xO2Pt.js";
3
3
  import { openBlock as s, createElementBlock as l, createElementVNode as t, createStaticVNode as Z, resolveComponent as u, normalizeClass as w, createTextVNode as $, toDisplayString as y, createVNode as c, Transition as E, withCtx as k, withDirectives as j, Fragment as V, renderList as H, vShow as z, createCommentVNode as B } from "vue";
4
4
  const D = {}, N = {
package/dist/admin.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as f } from "./import-file-B37H73ct.js";
1
+ import { b as f } from "./import-file-CzCwLSil.js";
2
2
  export {
3
3
  f as default
4
4
  };
@@ -1,6 +1,6 @@
1
- (function(v,Sa){typeof exports=="object"&&typeof module<"u"?module.exports=Sa(require("vue")):typeof define=="function"&&define.amd?define(["vue"],Sa):(v=typeof globalThis<"u"?globalThis:v||self,v.admin=Sa(v.Vue))})(this,function(v){"use strict";function Sa(n,t){return function(){return n.apply(t,arguments)}}const{toString:hx}=Object.prototype,{getPrototypeOf:md}=Object,yh=(n=>t=>{const o=hx.call(t);return n[o]||(n[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Rr=n=>(n=n.toLowerCase(),t=>yh(t)===n),_h=n=>t=>typeof t===n,{isArray:Ea}=Array,Nl=_h("undefined");function ux(n){return n!==null&&!Nl(n)&&n.constructor!==null&&!Nl(n.constructor)&&Jn(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const om=Rr("ArrayBuffer");function dx(n){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(n):t=n&&n.buffer&&om(n.buffer),t}const px=_h("string"),Jn=_h("function"),am=_h("number"),xh=n=>n!==null&&typeof n=="object",fx=n=>n===!0||n===!1,bh=n=>{if(yh(n)!=="object")return!1;const t=md(n);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},mx=Rr("Date"),gx=Rr("File"),yx=Rr("Blob"),_x=Rr("FileList"),xx=n=>xh(n)&&Jn(n.pipe),bx=n=>{let t;return n&&(typeof FormData=="function"&&n instanceof FormData||Jn(n.append)&&((t=yh(n))==="formdata"||t==="object"&&Jn(n.toString)&&n.toString()==="[object FormData]"))},vx=Rr("URLSearchParams"),[wx,kx,Sx,Ex]=["ReadableStream","Request","Response","Headers"].map(Rr),Tx=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Vl(n,t,{allOwnKeys:o=!1}={}){if(n===null||typeof n>"u")return;let c,d;if(typeof n!="object"&&(n=[n]),Ea(n))for(c=0,d=n.length;c<d;c++)t.call(null,n[c],c,n);else{const b=o?Object.getOwnPropertyNames(n):Object.keys(n),y=b.length;let h;for(c=0;c<y;c++)h=b[c],t.call(null,n[h],h,n)}}function lm(n,t){t=t.toLowerCase();const o=Object.keys(n);let c=o.length,d;for(;c-- >0;)if(d=o[c],t===d.toLowerCase())return d;return null}const Lo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cm=n=>!Nl(n)&&n!==Lo;function gd(){const{caseless:n}=cm(this)&&this||{},t={},o=(c,d)=>{const b=n&&lm(t,d)||d;bh(t[b])&&bh(c)?t[b]=gd(t[b],c):bh(c)?t[b]=gd({},c):Ea(c)?t[b]=c.slice():t[b]=c};for(let c=0,d=arguments.length;c<d;c++)arguments[c]&&Vl(arguments[c],o);return t}const Cx=(n,t,o,{allOwnKeys:c}={})=>(Vl(t,(d,b)=>{o&&Jn(d)?n[b]=Sa(d,o):n[b]=d},{allOwnKeys:c}),n),Mx=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),Px=(n,t,o,c)=>{n.prototype=Object.create(t.prototype,c),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:t.prototype}),o&&Object.assign(n.prototype,o)},Ix=(n,t,o,c)=>{let d,b,y;const h={};if(t=t||{},n==null)return t;do{for(d=Object.getOwnPropertyNames(n),b=d.length;b-- >0;)y=d[b],(!c||c(y,n,t))&&!h[y]&&(t[y]=n[y],h[y]=!0);n=o!==!1&&md(n)}while(n&&(!o||o(n,t))&&n!==Object.prototype);return t},Ax=(n,t,o)=>{n=String(n),(o===void 0||o>n.length)&&(o=n.length),o-=t.length;const c=n.indexOf(t,o);return c!==-1&&c===o},Dx=n=>{if(!n)return null;if(Ea(n))return n;let t=n.length;if(!am(t))return null;const o=new Array(t);for(;t-- >0;)o[t]=n[t];return o},zx=(n=>t=>n&&t instanceof n)(typeof Uint8Array<"u"&&md(Uint8Array)),Lx=(n,t)=>{const c=(n&&n[Symbol.iterator]).call(n);let d;for(;(d=c.next())&&!d.done;){const b=d.value;t.call(n,b[0],b[1])}},Rx=(n,t)=>{let o;const c=[];for(;(o=n.exec(t))!==null;)c.push(o);return c},Ox=Rr("HTMLFormElement"),Bx=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,c,d){return c.toUpperCase()+d}),hm=(({hasOwnProperty:n})=>(t,o)=>n.call(t,o))(Object.prototype),Fx=Rr("RegExp"),um=(n,t)=>{const o=Object.getOwnPropertyDescriptors(n),c={};Vl(o,(d,b)=>{let y;(y=t(d,b,n))!==!1&&(c[b]=y||d)}),Object.defineProperties(n,c)},Nx=n=>{um(n,(t,o)=>{if(Jn(n)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const c=n[o];if(Jn(c)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},Vx=(n,t)=>{const o={},c=d=>{d.forEach(b=>{o[b]=!0})};return Ea(n)?c(n):c(String(n).split(t)),o},$x=()=>{},jx=(n,t)=>n!=null&&Number.isFinite(n=+n)?n:t,yd="abcdefghijklmnopqrstuvwxyz",dm="0123456789",pm={DIGIT:dm,ALPHA:yd,ALPHA_DIGIT:yd+yd.toUpperCase()+dm},Ux=(n=16,t=pm.ALPHA_DIGIT)=>{let o="";const{length:c}=t;for(;n--;)o+=t[Math.random()*c|0];return o};function Hx(n){return!!(n&&Jn(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const qx=n=>{const t=new Array(10),o=(c,d)=>{if(xh(c)){if(t.indexOf(c)>=0)return;if(!("toJSON"in c)){t[d]=c;const b=Ea(c)?[]:{};return Vl(c,(y,h)=>{const M=o(y,d+1);!Nl(M)&&(b[h]=M)}),t[d]=void 0,b}}return c};return o(n,0)},Zx=Rr("AsyncFunction"),Wx=n=>n&&(xh(n)||Jn(n))&&Jn(n.then)&&Jn(n.catch),fm=((n,t)=>n?setImmediate:t?((o,c)=>(Lo.addEventListener("message",({source:d,data:b})=>{d===Lo&&b===o&&c.length&&c.shift()()},!1),d=>{c.push(d),Lo.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",Jn(Lo.postMessage)),Gx=typeof queueMicrotask<"u"?queueMicrotask.bind(Lo):typeof process<"u"&&process.nextTick||fm,Ee={isArray:Ea,isArrayBuffer:om,isBuffer:ux,isFormData:bx,isArrayBufferView:dx,isString:px,isNumber:am,isBoolean:fx,isObject:xh,isPlainObject:bh,isReadableStream:wx,isRequest:kx,isResponse:Sx,isHeaders:Ex,isUndefined:Nl,isDate:mx,isFile:gx,isBlob:yx,isRegExp:Fx,isFunction:Jn,isStream:xx,isURLSearchParams:vx,isTypedArray:zx,isFileList:_x,forEach:Vl,merge:gd,extend:Cx,trim:Tx,stripBOM:Mx,inherits:Px,toFlatObject:Ix,kindOf:yh,kindOfTest:Rr,endsWith:Ax,toArray:Dx,forEachEntry:Lx,matchAll:Rx,isHTMLForm:Ox,hasOwnProperty:hm,hasOwnProp:hm,reduceDescriptors:um,freezeMethods:Nx,toObjectSet:Vx,toCamelCase:Bx,noop:$x,toFiniteNumber:jx,findKey:lm,global:Lo,isContextDefined:cm,ALPHABET:pm,generateString:Ux,isSpecCompliantForm:Hx,toJSONObject:qx,isAsyncFn:Zx,isThenable:Wx,setImmediate:fm,asap:Gx};function zt(n,t,o,c,d){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",t&&(this.code=t),o&&(this.config=o),c&&(this.request=c),d&&(this.response=d,this.status=d.status?d.status:null)}Ee.inherits(zt,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:Ee.toJSONObject(this.config),code:this.code,status:this.status}}});const mm=zt.prototype,gm={};["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(n=>{gm[n]={value:n}}),Object.defineProperties(zt,gm),Object.defineProperty(mm,"isAxiosError",{value:!0}),zt.from=(n,t,o,c,d,b)=>{const y=Object.create(mm);return Ee.toFlatObject(n,y,function(M){return M!==Error.prototype},h=>h!=="isAxiosError"),zt.call(y,n.message,t,o,c,d),y.cause=n,y.name=n.name,b&&Object.assign(y,b),y};const Yx=null;function _d(n){return Ee.isPlainObject(n)||Ee.isArray(n)}function ym(n){return Ee.endsWith(n,"[]")?n.slice(0,-2):n}function _m(n,t,o){return n?n.concat(t).map(function(d,b){return d=ym(d),!o&&b?"["+d+"]":d}).join(o?".":""):t}function Xx(n){return Ee.isArray(n)&&!n.some(_d)}const Kx=Ee.toFlatObject(Ee,{},null,function(t){return/^is[A-Z]/.test(t)});function vh(n,t,o){if(!Ee.isObject(n))throw new TypeError("target must be an object");t=t||new FormData,o=Ee.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(ee,oe){return!Ee.isUndefined(oe[ee])});const c=o.metaTokens,d=o.visitor||A,b=o.dots,y=o.indexes,M=(o.Blob||typeof Blob<"u"&&Blob)&&Ee.isSpecCompliantForm(t);if(!Ee.isFunction(d))throw new TypeError("visitor must be a function");function D(G){if(G===null)return"";if(Ee.isDate(G))return G.toISOString();if(!M&&Ee.isBlob(G))throw new zt("Blob is not supported. Use a Buffer instead.");return Ee.isArrayBuffer(G)||Ee.isTypedArray(G)?M&&typeof Blob=="function"?new Blob([G]):Buffer.from(G):G}function A(G,ee,oe){let he=G;if(G&&!oe&&typeof G=="object"){if(Ee.endsWith(ee,"{}"))ee=c?ee:ee.slice(0,-2),G=JSON.stringify(G);else if(Ee.isArray(G)&&Xx(G)||(Ee.isFileList(G)||Ee.endsWith(ee,"[]"))&&(he=Ee.toArray(G)))return ee=ym(ee),he.forEach(function(_e,Ae){!(Ee.isUndefined(_e)||_e===null)&&t.append(y===!0?_m([ee],Ae,b):y===null?ee:ee+"[]",D(_e))}),!1}return _d(G)?!0:(t.append(_m(oe,ee,b),D(G)),!1)}const z=[],L=Object.assign(Kx,{defaultVisitor:A,convertValue:D,isVisitable:_d});function N(G,ee){if(!Ee.isUndefined(G)){if(z.indexOf(G)!==-1)throw Error("Circular reference detected in "+ee.join("."));z.push(G),Ee.forEach(G,function(he,xe){(!(Ee.isUndefined(he)||he===null)&&d.call(t,he,Ee.isString(xe)?xe.trim():xe,ee,L))===!0&&N(he,ee?ee.concat(xe):[xe])}),z.pop()}}if(!Ee.isObject(n))throw new TypeError("data must be an object");return N(n),t}function xm(n){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(c){return t[c]})}function xd(n,t){this._pairs=[],n&&vh(n,this,t)}const bm=xd.prototype;bm.append=function(t,o){this._pairs.push([t,o])},bm.toString=function(t){const o=t?function(c){return t.call(this,c,xm)}:xm;return this._pairs.map(function(d){return o(d[0])+"="+o(d[1])},"").join("&")};function Jx(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vm(n,t,o){if(!t)return n;const c=o&&o.encode||Jx,d=o&&o.serialize;let b;if(d?b=d(t,o):b=Ee.isURLSearchParams(t)?t.toString():new xd(t,o).toString(c),b){const y=n.indexOf("#");y!==-1&&(n=n.slice(0,y)),n+=(n.indexOf("?")===-1?"?":"&")+b}return n}class wm{constructor(){this.handlers=[]}use(t,o,c){return this.handlers.push({fulfilled:t,rejected:o,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ee.forEach(this.handlers,function(c){c!==null&&t(c)})}}const km={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qx={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:xd,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},bd=typeof window<"u"&&typeof document<"u",vd=typeof navigator=="object"&&navigator||void 0,eb=bd&&(!vd||["ReactNative","NativeScript","NS"].indexOf(vd.product)<0),tb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ib=bd&&window.location.href||"http://localhost",On={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bd,hasStandardBrowserEnv:eb,hasStandardBrowserWebWorkerEnv:tb,navigator:vd,origin:ib},Symbol.toStringTag,{value:"Module"})),...Qx};function nb(n,t){return vh(n,new On.classes.URLSearchParams,Object.assign({visitor:function(o,c,d,b){return On.isNode&&Ee.isBuffer(o)?(this.append(c,o.toString("base64")),!1):b.defaultVisitor.apply(this,arguments)}},t))}function rb(n){return Ee.matchAll(/\w+|\[(\w*)]/g,n).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sb(n){const t={},o=Object.keys(n);let c;const d=o.length;let b;for(c=0;c<d;c++)b=o[c],t[b]=n[b];return t}function Sm(n){function t(o,c,d,b){let y=o[b++];if(y==="__proto__")return!0;const h=Number.isFinite(+y),M=b>=o.length;return y=!y&&Ee.isArray(d)?d.length:y,M?(Ee.hasOwnProp(d,y)?d[y]=[d[y],c]:d[y]=c,!h):((!d[y]||!Ee.isObject(d[y]))&&(d[y]=[]),t(o,c,d[y],b)&&Ee.isArray(d[y])&&(d[y]=sb(d[y])),!h)}if(Ee.isFormData(n)&&Ee.isFunction(n.entries)){const o={};return Ee.forEachEntry(n,(c,d)=>{t(rb(c),d,o,0)}),o}return null}function ob(n,t,o){if(Ee.isString(n))try{return(t||JSON.parse)(n),Ee.trim(n)}catch(c){if(c.name!=="SyntaxError")throw c}return(o||JSON.stringify)(n)}const $l={transitional:km,adapter:["xhr","http","fetch"],transformRequest:[function(t,o){const c=o.getContentType()||"",d=c.indexOf("application/json")>-1,b=Ee.isObject(t);if(b&&Ee.isHTMLForm(t)&&(t=new FormData(t)),Ee.isFormData(t))return d?JSON.stringify(Sm(t)):t;if(Ee.isArrayBuffer(t)||Ee.isBuffer(t)||Ee.isStream(t)||Ee.isFile(t)||Ee.isBlob(t)||Ee.isReadableStream(t))return t;if(Ee.isArrayBufferView(t))return t.buffer;if(Ee.isURLSearchParams(t))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(b){if(c.indexOf("application/x-www-form-urlencoded")>-1)return nb(t,this.formSerializer).toString();if((h=Ee.isFileList(t))||c.indexOf("multipart/form-data")>-1){const M=this.env&&this.env.FormData;return vh(h?{"files[]":t}:t,M&&new M,this.formSerializer)}}return b||d?(o.setContentType("application/json",!1),ob(t)):t}],transformResponse:[function(t){const o=this.transitional||$l.transitional,c=o&&o.forcedJSONParsing,d=this.responseType==="json";if(Ee.isResponse(t)||Ee.isReadableStream(t))return t;if(t&&Ee.isString(t)&&(c&&!this.responseType||d)){const y=!(o&&o.silentJSONParsing)&&d;try{return JSON.parse(t)}catch(h){if(y)throw h.name==="SyntaxError"?zt.from(h,zt.ERR_BAD_RESPONSE,this,null,this.response):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:On.classes.FormData,Blob:On.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ee.forEach(["delete","get","head","post","put","patch"],n=>{$l.headers[n]={}});const ab=Ee.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"]),lb=n=>{const t={};let o,c,d;return n&&n.split(`
1
+ (function(v,Sa){typeof exports=="object"&&typeof module<"u"?module.exports=Sa(require("vue")):typeof define=="function"&&define.amd?define(["vue"],Sa):(v=typeof globalThis<"u"?globalThis:v||self,v.admin=Sa(v.Vue))})(this,function(v){"use strict";function Sa(n,t){return function(){return n.apply(t,arguments)}}const{toString:hx}=Object.prototype,{getPrototypeOf:md}=Object,yh=(n=>t=>{const o=hx.call(t);return n[o]||(n[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),Rr=n=>(n=n.toLowerCase(),t=>yh(t)===n),_h=n=>t=>typeof t===n,{isArray:Ea}=Array,Nl=_h("undefined");function ux(n){return n!==null&&!Nl(n)&&n.constructor!==null&&!Nl(n.constructor)&&Jn(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const om=Rr("ArrayBuffer");function dx(n){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(n):t=n&&n.buffer&&om(n.buffer),t}const px=_h("string"),Jn=_h("function"),am=_h("number"),xh=n=>n!==null&&typeof n=="object",fx=n=>n===!0||n===!1,bh=n=>{if(yh(n)!=="object")return!1;const t=md(n);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in n)&&!(Symbol.iterator in n)},mx=Rr("Date"),gx=Rr("File"),yx=Rr("Blob"),_x=Rr("FileList"),xx=n=>xh(n)&&Jn(n.pipe),bx=n=>{let t;return n&&(typeof FormData=="function"&&n instanceof FormData||Jn(n.append)&&((t=yh(n))==="formdata"||t==="object"&&Jn(n.toString)&&n.toString()==="[object FormData]"))},vx=Rr("URLSearchParams"),[wx,kx,Sx,Ex]=["ReadableStream","Request","Response","Headers"].map(Rr),Tx=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Vl(n,t,{allOwnKeys:o=!1}={}){if(n===null||typeof n>"u")return;let c,d;if(typeof n!="object"&&(n=[n]),Ea(n))for(c=0,d=n.length;c<d;c++)t.call(null,n[c],c,n);else{const b=o?Object.getOwnPropertyNames(n):Object.keys(n),y=b.length;let h;for(c=0;c<y;c++)h=b[c],t.call(null,n[h],h,n)}}function lm(n,t){t=t.toLowerCase();const o=Object.keys(n);let c=o.length,d;for(;c-- >0;)if(d=o[c],t===d.toLowerCase())return d;return null}const Lo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,cm=n=>!Nl(n)&&n!==Lo;function gd(){const{caseless:n}=cm(this)&&this||{},t={},o=(c,d)=>{const b=n&&lm(t,d)||d;bh(t[b])&&bh(c)?t[b]=gd(t[b],c):bh(c)?t[b]=gd({},c):Ea(c)?t[b]=c.slice():t[b]=c};for(let c=0,d=arguments.length;c<d;c++)arguments[c]&&Vl(arguments[c],o);return t}const Cx=(n,t,o,{allOwnKeys:c}={})=>(Vl(t,(d,b)=>{o&&Jn(d)?n[b]=Sa(d,o):n[b]=d},{allOwnKeys:c}),n),Mx=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),Px=(n,t,o,c)=>{n.prototype=Object.create(t.prototype,c),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:t.prototype}),o&&Object.assign(n.prototype,o)},Ix=(n,t,o,c)=>{let d,b,y;const h={};if(t=t||{},n==null)return t;do{for(d=Object.getOwnPropertyNames(n),b=d.length;b-- >0;)y=d[b],(!c||c(y,n,t))&&!h[y]&&(t[y]=n[y],h[y]=!0);n=o!==!1&&md(n)}while(n&&(!o||o(n,t))&&n!==Object.prototype);return t},Ax=(n,t,o)=>{n=String(n),(o===void 0||o>n.length)&&(o=n.length),o-=t.length;const c=n.indexOf(t,o);return c!==-1&&c===o},Dx=n=>{if(!n)return null;if(Ea(n))return n;let t=n.length;if(!am(t))return null;const o=new Array(t);for(;t-- >0;)o[t]=n[t];return o},zx=(n=>t=>n&&t instanceof n)(typeof Uint8Array<"u"&&md(Uint8Array)),Lx=(n,t)=>{const c=(n&&n[Symbol.iterator]).call(n);let d;for(;(d=c.next())&&!d.done;){const b=d.value;t.call(n,b[0],b[1])}},Rx=(n,t)=>{let o;const c=[];for(;(o=n.exec(t))!==null;)c.push(o);return c},Ox=Rr("HTMLFormElement"),Bx=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(o,c,d){return c.toUpperCase()+d}),hm=(({hasOwnProperty:n})=>(t,o)=>n.call(t,o))(Object.prototype),Fx=Rr("RegExp"),um=(n,t)=>{const o=Object.getOwnPropertyDescriptors(n),c={};Vl(o,(d,b)=>{let y;(y=t(d,b,n))!==!1&&(c[b]=y||d)}),Object.defineProperties(n,c)},Nx=n=>{um(n,(t,o)=>{if(Jn(n)&&["arguments","caller","callee"].indexOf(o)!==-1)return!1;const c=n[o];if(Jn(c)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+o+"'")})}})},Vx=(n,t)=>{const o={},c=d=>{d.forEach(b=>{o[b]=!0})};return Ea(n)?c(n):c(String(n).split(t)),o},$x=()=>{},jx=(n,t)=>n!=null&&Number.isFinite(n=+n)?n:t,yd="abcdefghijklmnopqrstuvwxyz",dm="0123456789",pm={DIGIT:dm,ALPHA:yd,ALPHA_DIGIT:yd+yd.toUpperCase()+dm},Ux=(n=16,t=pm.ALPHA_DIGIT)=>{let o="";const{length:c}=t;for(;n--;)o+=t[Math.random()*c|0];return o};function Hx(n){return!!(n&&Jn(n.append)&&n[Symbol.toStringTag]==="FormData"&&n[Symbol.iterator])}const qx=n=>{const t=new Array(10),o=(c,d)=>{if(xh(c)){if(t.indexOf(c)>=0)return;if(!("toJSON"in c)){t[d]=c;const b=Ea(c)?[]:{};return Vl(c,(y,h)=>{const M=o(y,d+1);!Nl(M)&&(b[h]=M)}),t[d]=void 0,b}}return c};return o(n,0)},Zx=Rr("AsyncFunction"),Wx=n=>n&&(xh(n)||Jn(n))&&Jn(n.then)&&Jn(n.catch),fm=((n,t)=>n?setImmediate:t?((o,c)=>(Lo.addEventListener("message",({source:d,data:b})=>{d===Lo&&b===o&&c.length&&c.shift()()},!1),d=>{c.push(d),Lo.postMessage(o,"*")}))(`axios@${Math.random()}`,[]):o=>setTimeout(o))(typeof setImmediate=="function",Jn(Lo.postMessage)),Gx=typeof queueMicrotask<"u"?queueMicrotask.bind(Lo):typeof process<"u"&&process.nextTick||fm,Ee={isArray:Ea,isArrayBuffer:om,isBuffer:ux,isFormData:bx,isArrayBufferView:dx,isString:px,isNumber:am,isBoolean:fx,isObject:xh,isPlainObject:bh,isReadableStream:wx,isRequest:kx,isResponse:Sx,isHeaders:Ex,isUndefined:Nl,isDate:mx,isFile:gx,isBlob:yx,isRegExp:Fx,isFunction:Jn,isStream:xx,isURLSearchParams:vx,isTypedArray:zx,isFileList:_x,forEach:Vl,merge:gd,extend:Cx,trim:Tx,stripBOM:Mx,inherits:Px,toFlatObject:Ix,kindOf:yh,kindOfTest:Rr,endsWith:Ax,toArray:Dx,forEachEntry:Lx,matchAll:Rx,isHTMLForm:Ox,hasOwnProperty:hm,hasOwnProp:hm,reduceDescriptors:um,freezeMethods:Nx,toObjectSet:Vx,toCamelCase:Bx,noop:$x,toFiniteNumber:jx,findKey:lm,global:Lo,isContextDefined:cm,ALPHABET:pm,generateString:Ux,isSpecCompliantForm:Hx,toJSONObject:qx,isAsyncFn:Zx,isThenable:Wx,setImmediate:fm,asap:Gx};function zt(n,t,o,c,d){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",t&&(this.code=t),o&&(this.config=o),c&&(this.request=c),d&&(this.response=d,this.status=d.status?d.status:null)}Ee.inherits(zt,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:Ee.toJSONObject(this.config),code:this.code,status:this.status}}});const mm=zt.prototype,gm={};["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(n=>{gm[n]={value:n}}),Object.defineProperties(zt,gm),Object.defineProperty(mm,"isAxiosError",{value:!0}),zt.from=(n,t,o,c,d,b)=>{const y=Object.create(mm);return Ee.toFlatObject(n,y,function(M){return M!==Error.prototype},h=>h!=="isAxiosError"),zt.call(y,n.message,t,o,c,d),y.cause=n,y.name=n.name,b&&Object.assign(y,b),y};const Yx=null;function _d(n){return Ee.isPlainObject(n)||Ee.isArray(n)}function ym(n){return Ee.endsWith(n,"[]")?n.slice(0,-2):n}function _m(n,t,o){return n?n.concat(t).map(function(d,b){return d=ym(d),!o&&b?"["+d+"]":d}).join(o?".":""):t}function Xx(n){return Ee.isArray(n)&&!n.some(_d)}const Kx=Ee.toFlatObject(Ee,{},null,function(t){return/^is[A-Z]/.test(t)});function vh(n,t,o){if(!Ee.isObject(n))throw new TypeError("target must be an object");t=t||new FormData,o=Ee.toFlatObject(o,{metaTokens:!0,dots:!1,indexes:!1},!1,function(ee,oe){return!Ee.isUndefined(oe[ee])});const c=o.metaTokens,d=o.visitor||A,b=o.dots,y=o.indexes,M=(o.Blob||typeof Blob<"u"&&Blob)&&Ee.isSpecCompliantForm(t);if(!Ee.isFunction(d))throw new TypeError("visitor must be a function");function D(G){if(G===null)return"";if(Ee.isDate(G))return G.toISOString();if(!M&&Ee.isBlob(G))throw new zt("Blob is not supported. Use a Buffer instead.");return Ee.isArrayBuffer(G)||Ee.isTypedArray(G)?M&&typeof Blob=="function"?new Blob([G]):Buffer.from(G):G}function A(G,ee,oe){let he=G;if(G&&!oe&&typeof G=="object"){if(Ee.endsWith(ee,"{}"))ee=c?ee:ee.slice(0,-2),G=JSON.stringify(G);else if(Ee.isArray(G)&&Xx(G)||(Ee.isFileList(G)||Ee.endsWith(ee,"[]"))&&(he=Ee.toArray(G)))return ee=ym(ee),he.forEach(function(_e,Ae){!(Ee.isUndefined(_e)||_e===null)&&t.append(y===!0?_m([ee],Ae,b):y===null?ee:ee+"[]",D(_e))}),!1}return _d(G)?!0:(t.append(_m(oe,ee,b),D(G)),!1)}const z=[],L=Object.assign(Kx,{defaultVisitor:A,convertValue:D,isVisitable:_d});function N(G,ee){if(!Ee.isUndefined(G)){if(z.indexOf(G)!==-1)throw Error("Circular reference detected in "+ee.join("."));z.push(G),Ee.forEach(G,function(he,xe){(!(Ee.isUndefined(he)||he===null)&&d.call(t,he,Ee.isString(xe)?xe.trim():xe,ee,L))===!0&&N(he,ee?ee.concat(xe):[xe])}),z.pop()}}if(!Ee.isObject(n))throw new TypeError("data must be an object");return N(n),t}function xm(n){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(c){return t[c]})}function xd(n,t){this._pairs=[],n&&vh(n,this,t)}const bm=xd.prototype;bm.append=function(t,o){this._pairs.push([t,o])},bm.toString=function(t){const o=t?function(c){return t.call(this,c,xm)}:xm;return this._pairs.map(function(d){return o(d[0])+"="+o(d[1])},"").join("&")};function Jx(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vm(n,t,o){if(!t)return n;const c=o&&o.encode||Jx,d=o&&o.serialize;let b;if(d?b=d(t,o):b=Ee.isURLSearchParams(t)?t.toString():new xd(t,o).toString(c),b){const y=n.indexOf("#");y!==-1&&(n=n.slice(0,y)),n+=(n.indexOf("?")===-1?"?":"&")+b}return n}class wm{constructor(){this.handlers=[]}use(t,o,c){return this.handlers.push({fulfilled:t,rejected:o,synchronous:c?c.synchronous:!1,runWhen:c?c.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Ee.forEach(this.handlers,function(c){c!==null&&t(c)})}}const km={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qx={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:xd,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},bd=typeof window<"u"&&typeof document<"u",vd=typeof navigator=="object"&&navigator||void 0,eb=bd&&(!vd||["ReactNative","NativeScript","NS"].indexOf(vd.product)<0),tb=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",ib=bd&&window.location.href||"http://localhost",On={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:bd,hasStandardBrowserEnv:eb,hasStandardBrowserWebWorkerEnv:tb,navigator:vd,origin:ib},Symbol.toStringTag,{value:"Module"})),...Qx};function nb(n,t){return vh(n,new On.classes.URLSearchParams,Object.assign({visitor:function(o,c,d,b){return On.isNode&&Ee.isBuffer(o)?(this.append(c,o.toString("base64")),!1):b.defaultVisitor.apply(this,arguments)}},t))}function rb(n){return Ee.matchAll(/\w+|\[(\w*)]/g,n).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sb(n){const t={},o=Object.keys(n);let c;const d=o.length;let b;for(c=0;c<d;c++)b=o[c],t[b]=n[b];return t}function Sm(n){function t(o,c,d,b){let y=o[b++];if(y==="__proto__")return!0;const h=Number.isFinite(+y),M=b>=o.length;return y=!y&&Ee.isArray(d)?d.length:y,M?(Ee.hasOwnProp(d,y)?d[y]=[d[y],c]:d[y]=c,!h):((!d[y]||!Ee.isObject(d[y]))&&(d[y]=[]),t(o,c,d[y],b)&&Ee.isArray(d[y])&&(d[y]=sb(d[y])),!h)}if(Ee.isFormData(n)&&Ee.isFunction(n.entries)){const o={};return Ee.forEachEntry(n,(c,d)=>{t(rb(c),d,o,0)}),o}return null}function ob(n,t,o){if(Ee.isString(n))try{return(t||JSON.parse)(n),Ee.trim(n)}catch(c){if(c.name!=="SyntaxError")throw c}return(0,JSON.stringify)(n)}const $l={transitional:km,adapter:["xhr","http","fetch"],transformRequest:[function(t,o){const c=o.getContentType()||"",d=c.indexOf("application/json")>-1,b=Ee.isObject(t);if(b&&Ee.isHTMLForm(t)&&(t=new FormData(t)),Ee.isFormData(t))return d?JSON.stringify(Sm(t)):t;if(Ee.isArrayBuffer(t)||Ee.isBuffer(t)||Ee.isStream(t)||Ee.isFile(t)||Ee.isBlob(t)||Ee.isReadableStream(t))return t;if(Ee.isArrayBufferView(t))return t.buffer;if(Ee.isURLSearchParams(t))return o.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let h;if(b){if(c.indexOf("application/x-www-form-urlencoded")>-1)return nb(t,this.formSerializer).toString();if((h=Ee.isFileList(t))||c.indexOf("multipart/form-data")>-1){const M=this.env&&this.env.FormData;return vh(h?{"files[]":t}:t,M&&new M,this.formSerializer)}}return b||d?(o.setContentType("application/json",!1),ob(t)):t}],transformResponse:[function(t){const o=this.transitional||$l.transitional,c=o&&o.forcedJSONParsing,d=this.responseType==="json";if(Ee.isResponse(t)||Ee.isReadableStream(t))return t;if(t&&Ee.isString(t)&&(c&&!this.responseType||d)){const y=!(o&&o.silentJSONParsing)&&d;try{return JSON.parse(t)}catch(h){if(y)throw h.name==="SyntaxError"?zt.from(h,zt.ERR_BAD_RESPONSE,this,null,this.response):h}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:On.classes.FormData,Blob:On.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Ee.forEach(["delete","get","head","post","put","patch"],n=>{$l.headers[n]={}});const ab=Ee.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"]),lb=n=>{const t={};let o,c,d;return n&&n.split(`
2
2
  `).forEach(function(y){d=y.indexOf(":"),o=y.substring(0,d).trim().toLowerCase(),c=y.substring(d+1).trim(),!(!o||t[o]&&ab[o])&&(o==="set-cookie"?t[o]?t[o].push(c):t[o]=[c]:t[o]=t[o]?t[o]+", "+c:c)}),t},Em=Symbol("internals");function jl(n){return n&&String(n).trim().toLowerCase()}function wh(n){return n===!1||n==null?n:Ee.isArray(n)?n.map(wh):String(n)}function cb(n){const t=Object.create(null),o=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let c;for(;c=o.exec(n);)t[c[1]]=c[2];return t}const hb=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function wd(n,t,o,c,d){if(Ee.isFunction(c))return c.call(this,t,o);if(d&&(t=o),!!Ee.isString(t)){if(Ee.isString(c))return t.indexOf(c)!==-1;if(Ee.isRegExp(c))return c.test(t)}}function ub(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,o,c)=>o.toUpperCase()+c)}function db(n,t){const o=Ee.toCamelCase(" "+t);["get","set","has"].forEach(c=>{Object.defineProperty(n,c+o,{value:function(d,b,y){return this[c].call(this,t,d,b,y)},configurable:!0})})}class Bn{constructor(t){t&&this.set(t)}set(t,o,c){const d=this;function b(h,M,D){const A=jl(M);if(!A)throw new Error("header name must be a non-empty string");const z=Ee.findKey(d,A);(!z||d[z]===void 0||D===!0||D===void 0&&d[z]!==!1)&&(d[z||M]=wh(h))}const y=(h,M)=>Ee.forEach(h,(D,A)=>b(D,A,M));if(Ee.isPlainObject(t)||t instanceof this.constructor)y(t,o);else if(Ee.isString(t)&&(t=t.trim())&&!hb(t))y(lb(t),o);else if(Ee.isHeaders(t))for(const[h,M]of t.entries())b(M,h,c);else t!=null&&b(o,t,c);return this}get(t,o){if(t=jl(t),t){const c=Ee.findKey(this,t);if(c){const d=this[c];if(!o)return d;if(o===!0)return cb(d);if(Ee.isFunction(o))return o.call(this,d,c);if(Ee.isRegExp(o))return o.exec(d);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,o){if(t=jl(t),t){const c=Ee.findKey(this,t);return!!(c&&this[c]!==void 0&&(!o||wd(this,this[c],c,o)))}return!1}delete(t,o){const c=this;let d=!1;function b(y){if(y=jl(y),y){const h=Ee.findKey(c,y);h&&(!o||wd(c,c[h],h,o))&&(delete c[h],d=!0)}}return Ee.isArray(t)?t.forEach(b):b(t),d}clear(t){const o=Object.keys(this);let c=o.length,d=!1;for(;c--;){const b=o[c];(!t||wd(this,this[b],b,t,!0))&&(delete this[b],d=!0)}return d}normalize(t){const o=this,c={};return Ee.forEach(this,(d,b)=>{const y=Ee.findKey(c,b);if(y){o[y]=wh(d),delete o[b];return}const h=t?ub(b):String(b).trim();h!==b&&delete o[b],o[h]=wh(d),c[h]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const o=Object.create(null);return Ee.forEach(this,(c,d)=>{c!=null&&c!==!1&&(o[d]=t&&Ee.isArray(c)?c.join(", "):c)}),o}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,o])=>t+": "+o).join(`
3
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...o){const c=new this(t);return o.forEach(d=>c.set(d)),c}static accessor(t){const c=(this[Em]=this[Em]={accessors:{}}).accessors,d=this.prototype;function b(y){const h=jl(y);c[h]||(db(d,y),c[h]=!0)}return Ee.isArray(t)?t.forEach(b):b(t),this}}Bn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ee.reduceDescriptors(Bn.prototype,({value:n},t)=>{let o=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(c){this[o]=c}}}),Ee.freezeMethods(Bn);function kd(n,t){const o=this||$l,c=t||o,d=Bn.from(c.headers);let b=c.data;return Ee.forEach(n,function(h){b=h.call(o,b,d.normalize(),t?t.status:void 0)}),d.normalize(),b}function Tm(n){return!!(n&&n.__CANCEL__)}function Ta(n,t,o){zt.call(this,n??"canceled",zt.ERR_CANCELED,t,o),this.name="CanceledError"}Ee.inherits(Ta,zt,{__CANCEL__:!0});function Cm(n,t,o){const c=o.config.validateStatus;!o.status||!c||c(o.status)?n(o):t(new zt("Request failed with status code "+o.status,[zt.ERR_BAD_REQUEST,zt.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function pb(n){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return t&&t[1]||""}function fb(n,t){n=n||10;const o=new Array(n),c=new Array(n);let d=0,b=0,y;return t=t!==void 0?t:1e3,function(M){const D=Date.now(),A=c[b];y||(y=D),o[d]=M,c[d]=D;let z=b,L=0;for(;z!==d;)L+=o[z++],z=z%n;if(d=(d+1)%n,d===b&&(b=(b+1)%n),D-y<t)return;const N=A&&D-A;return N?Math.round(L*1e3/N):void 0}}function mb(n,t){let o=0,c=1e3/t,d,b;const y=(D,A=Date.now())=>{o=A,d=null,b&&(clearTimeout(b),b=null),n.apply(null,D)};return[(...D)=>{const A=Date.now(),z=A-o;z>=c?y(D,A):(d=D,b||(b=setTimeout(()=>{b=null,y(d)},c-z)))},()=>d&&y(d)]}const kh=(n,t,o=3)=>{let c=0;const d=fb(50,250);return mb(b=>{const y=b.loaded,h=b.lengthComputable?b.total:void 0,M=y-c,D=d(M),A=y<=h;c=y;const z={loaded:y,total:h,progress:h?y/h:void 0,bytes:M,rate:D||void 0,estimated:D&&h&&A?(h-y)/D:void 0,event:b,lengthComputable:h!=null,[t?"download":"upload"]:!0};n(z)},o)},Mm=(n,t)=>{const o=n!=null;return[c=>t[0]({lengthComputable:o,total:n,loaded:c}),t[1]]},Pm=n=>(...t)=>Ee.asap(()=>n(...t)),gb=On.hasStandardBrowserEnv?function(){const t=On.navigator&&/(msie|trident)/i.test(On.navigator.userAgent),o=document.createElement("a");let c;function d(b){let y=b;return t&&(o.setAttribute("href",y),y=o.href),o.setAttribute("href",y),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return c=d(window.location.href),function(y){const h=Ee.isString(y)?d(y):y;return h.protocol===c.protocol&&h.host===c.host}}():function(){return function(){return!0}}(),yb=On.hasStandardBrowserEnv?{write(n,t,o,c,d,b){const y=[n+"="+encodeURIComponent(t)];Ee.isNumber(o)&&y.push("expires="+new Date(o).toGMTString()),Ee.isString(c)&&y.push("path="+c),Ee.isString(d)&&y.push("domain="+d),b===!0&&y.push("secure"),document.cookie=y.join("; ")},read(n){const t=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function _b(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function xb(n,t){return t?n.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):n}function Im(n,t){return n&&!_b(t)?xb(n,t):t}const Am=n=>n instanceof Bn?{...n}:n;function Ro(n,t){t=t||{};const o={};function c(D,A,z){return Ee.isPlainObject(D)&&Ee.isPlainObject(A)?Ee.merge.call({caseless:z},D,A):Ee.isPlainObject(A)?Ee.merge({},A):Ee.isArray(A)?A.slice():A}function d(D,A,z){if(Ee.isUndefined(A)){if(!Ee.isUndefined(D))return c(void 0,D,z)}else return c(D,A,z)}function b(D,A){if(!Ee.isUndefined(A))return c(void 0,A)}function y(D,A){if(Ee.isUndefined(A)){if(!Ee.isUndefined(D))return c(void 0,D)}else return c(void 0,A)}function h(D,A,z){if(z in t)return c(D,A);if(z in n)return c(void 0,D)}const M={url:b,method:b,data:b,baseURL:y,transformRequest:y,transformResponse:y,paramsSerializer:y,timeout:y,timeoutMessage:y,withCredentials:y,withXSRFToken:y,adapter:y,responseType:y,xsrfCookieName:y,xsrfHeaderName:y,onUploadProgress:y,onDownloadProgress:y,decompress:y,maxContentLength:y,maxBodyLength:y,beforeRedirect:y,transport:y,httpAgent:y,httpsAgent:y,cancelToken:y,socketPath:y,responseEncoding:y,validateStatus:h,headers:(D,A)=>d(Am(D),Am(A),!0)};return Ee.forEach(Object.keys(Object.assign({},n,t)),function(A){const z=M[A]||d,L=z(n[A],t[A],A);Ee.isUndefined(L)&&z!==h||(o[A]=L)}),o}const Dm=n=>{const t=Ro({},n);let{data:o,withXSRFToken:c,xsrfHeaderName:d,xsrfCookieName:b,headers:y,auth:h}=t;t.headers=y=Bn.from(y),t.url=vm(Im(t.baseURL,t.url),n.params,n.paramsSerializer),h&&y.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):"")));let M;if(Ee.isFormData(o)){if(On.hasStandardBrowserEnv||On.hasStandardBrowserWebWorkerEnv)y.setContentType(void 0);else if((M=y.getContentType())!==!1){const[D,...A]=M?M.split(";").map(z=>z.trim()).filter(Boolean):[];y.setContentType([D||"multipart/form-data",...A].join("; "))}}if(On.hasStandardBrowserEnv&&(c&&Ee.isFunction(c)&&(c=c(t)),c||c!==!1&&gb(t.url))){const D=d&&b&&yb.read(b);D&&y.set(d,D)}return t},bb=typeof XMLHttpRequest<"u"&&function(n){return new Promise(function(o,c){const d=Dm(n);let b=d.data;const y=Bn.from(d.headers).normalize();let{responseType:h,onUploadProgress:M,onDownloadProgress:D}=d,A,z,L,N,G;function ee(){N&&N(),G&&G(),d.cancelToken&&d.cancelToken.unsubscribe(A),d.signal&&d.signal.removeEventListener("abort",A)}let oe=new XMLHttpRequest;oe.open(d.method.toUpperCase(),d.url,!0),oe.timeout=d.timeout;function he(){if(!oe)return;const _e=Bn.from("getAllResponseHeaders"in oe&&oe.getAllResponseHeaders()),rt={data:!h||h==="text"||h==="json"?oe.responseText:oe.response,status:oe.status,statusText:oe.statusText,headers:_e,config:n,request:oe};Cm(function(Pe){o(Pe),ee()},function(Pe){c(Pe),ee()},rt),oe=null}"onloadend"in oe?oe.onloadend=he:oe.onreadystatechange=function(){!oe||oe.readyState!==4||oe.status===0&&!(oe.responseURL&&oe.responseURL.indexOf("file:")===0)||setTimeout(he)},oe.onabort=function(){oe&&(c(new zt("Request aborted",zt.ECONNABORTED,n,oe)),oe=null)},oe.onerror=function(){c(new zt("Network Error",zt.ERR_NETWORK,n,oe)),oe=null},oe.ontimeout=function(){let Ae=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded";const rt=d.transitional||km;d.timeoutErrorMessage&&(Ae=d.timeoutErrorMessage),c(new zt(Ae,rt.clarifyTimeoutError?zt.ETIMEDOUT:zt.ECONNABORTED,n,oe)),oe=null},b===void 0&&y.setContentType(null),"setRequestHeader"in oe&&Ee.forEach(y.toJSON(),function(Ae,rt){oe.setRequestHeader(rt,Ae)}),Ee.isUndefined(d.withCredentials)||(oe.withCredentials=!!d.withCredentials),h&&h!=="json"&&(oe.responseType=d.responseType),D&&([L,G]=kh(D,!0),oe.addEventListener("progress",L)),M&&oe.upload&&([z,N]=kh(M),oe.upload.addEventListener("progress",z),oe.upload.addEventListener("loadend",N)),(d.cancelToken||d.signal)&&(A=_e=>{oe&&(c(!_e||_e.type?new Ta(null,n,oe):_e),oe.abort(),oe=null)},d.cancelToken&&d.cancelToken.subscribe(A),d.signal&&(d.signal.aborted?A():d.signal.addEventListener("abort",A)));const xe=pb(d.url);if(xe&&On.protocols.indexOf(xe)===-1){c(new zt("Unsupported protocol "+xe+":",zt.ERR_BAD_REQUEST,n));return}oe.send(b||null)})},vb=(n,t)=>{const{length:o}=n=n?n.filter(Boolean):[];if(t||o){let c=new AbortController,d;const b=function(D){if(!d){d=!0,h();const A=D instanceof Error?D:this.reason;c.abort(A instanceof zt?A:new Ta(A instanceof Error?A.message:A))}};let y=t&&setTimeout(()=>{y=null,b(new zt(`timeout ${t} of ms exceeded`,zt.ETIMEDOUT))},t);const h=()=>{n&&(y&&clearTimeout(y),y=null,n.forEach(D=>{D.unsubscribe?D.unsubscribe(b):D.removeEventListener("abort",b)}),n=null)};n.forEach(D=>D.addEventListener("abort",b));const{signal:M}=c;return M.unsubscribe=()=>Ee.asap(h),M}},wb=function*(n,t){let o=n.byteLength;if(!t||o<t){yield n;return}let c=0,d;for(;c<o;)d=c+t,yield n.slice(c,d),c=d},kb=async function*(n,t){for await(const o of Sb(n))yield*wb(o,t)},Sb=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const t=n.getReader();try{for(;;){const{done:o,value:c}=await t.read();if(o)break;yield c}}finally{await t.cancel()}},zm=(n,t,o,c)=>{const d=kb(n,t);let b=0,y,h=M=>{y||(y=!0,c&&c(M))};return new ReadableStream({async pull(M){try{const{done:D,value:A}=await d.next();if(D){h(),M.close();return}let z=A.byteLength;if(o){let L=b+=z;o(L)}M.enqueue(new Uint8Array(A))}catch(D){throw h(D),D}},cancel(M){return h(M),d.return()}},{highWaterMark:2})},Sh=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Lm=Sh&&typeof ReadableStream=="function",Eb=Sh&&(typeof TextEncoder=="function"?(n=>t=>n.encode(t))(new TextEncoder):async n=>new Uint8Array(await new Response(n).arrayBuffer())),Rm=(n,...t)=>{try{return!!n(...t)}catch{return!1}},Tb=Lm&&Rm(()=>{let n=!1;const t=new Request(On.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!t}),Om=64*1024,Sd=Lm&&Rm(()=>Ee.isReadableStream(new Response("").body)),Eh={stream:Sd&&(n=>n.body)};Sh&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Eh[t]&&(Eh[t]=Ee.isFunction(n[t])?o=>o[t]():(o,c)=>{throw new zt(`Response type '${t}' is not supported`,zt.ERR_NOT_SUPPORT,c)})})})(new Response);const Cb=async n=>{if(n==null)return 0;if(Ee.isBlob(n))return n.size;if(Ee.isSpecCompliantForm(n))return(await new Request(On.origin,{method:"POST",body:n}).arrayBuffer()).byteLength;if(Ee.isArrayBufferView(n)||Ee.isArrayBuffer(n))return n.byteLength;if(Ee.isURLSearchParams(n)&&(n=n+""),Ee.isString(n))return(await Eb(n)).byteLength},Mb=async(n,t)=>{const o=Ee.toFiniteNumber(n.getContentLength());return o??Cb(t)},Ed={http:Yx,xhr:bb,fetch:Sh&&(async n=>{let{url:t,method:o,data:c,signal:d,cancelToken:b,timeout:y,onDownloadProgress:h,onUploadProgress:M,responseType:D,headers:A,withCredentials:z="same-origin",fetchOptions:L}=Dm(n);D=D?(D+"").toLowerCase():"text";let N=vb([d,b&&b.toAbortSignal()],y),G;const ee=N&&N.unsubscribe&&(()=>{N.unsubscribe()});let oe;try{if(M&&Tb&&o!=="get"&&o!=="head"&&(oe=await Mb(A,c))!==0){let rt=new Request(t,{method:"POST",body:c,duplex:"half"}),bt;if(Ee.isFormData(c)&&(bt=rt.headers.get("content-type"))&&A.setContentType(bt),rt.body){const[Pe,St]=Mm(oe,kh(Pm(M)));c=zm(rt.body,Om,Pe,St)}}Ee.isString(z)||(z=z?"include":"omit");const he="credentials"in Request.prototype;G=new Request(t,{...L,signal:N,method:o.toUpperCase(),headers:A.normalize().toJSON(),body:c,duplex:"half",credentials:he?z:void 0});let xe=await fetch(G);const _e=Sd&&(D==="stream"||D==="response");if(Sd&&(h||_e&&ee)){const rt={};["status","statusText","headers"].forEach(vt=>{rt[vt]=xe[vt]});const bt=Ee.toFiniteNumber(xe.headers.get("content-length")),[Pe,St]=h&&Mm(bt,kh(Pm(h),!0))||[];xe=new Response(zm(xe.body,Om,Pe,()=>{St&&St(),ee&&ee()}),rt)}D=D||"text";let Ae=await Eh[Ee.findKey(Eh,D)||"text"](xe,n);return!_e&&ee&&ee(),await new Promise((rt,bt)=>{Cm(rt,bt,{data:Ae,headers:Bn.from(xe.headers),status:xe.status,statusText:xe.statusText,config:n,request:G})})}catch(he){throw ee&&ee(),he&&he.name==="TypeError"&&/fetch/i.test(he.message)?Object.assign(new zt("Network Error",zt.ERR_NETWORK,n,G),{cause:he.cause||he}):zt.from(he,he&&he.code,n,G)}})};Ee.forEach(Ed,(n,t)=>{if(n){try{Object.defineProperty(n,"name",{value:t})}catch{}Object.defineProperty(n,"adapterName",{value:t})}});const Bm=n=>`- ${n}`,Pb=n=>Ee.isFunction(n)||n===null||n===!1,Fm={getAdapter:n=>{n=Ee.isArray(n)?n:[n];const{length:t}=n;let o,c;const d={};for(let b=0;b<t;b++){o=n[b];let y;if(c=o,!Pb(o)&&(c=Ed[(y=String(o)).toLowerCase()],c===void 0))throw new zt(`Unknown adapter '${y}'`);if(c)break;d[y||"#"+b]=c}if(!c){const b=Object.entries(d).map(([h,M])=>`adapter ${h} `+(M===!1?"is not supported by the environment":"is not available in the build"));let y=t?b.length>1?`since :
3
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...o){const c=new this(t);return o.forEach(d=>c.set(d)),c}static accessor(t){const c=(this[Em]=this[Em]={accessors:{}}).accessors,d=this.prototype;function b(y){const h=jl(y);c[h]||(db(d,y),c[h]=!0)}return Ee.isArray(t)?t.forEach(b):b(t),this}}Bn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Ee.reduceDescriptors(Bn.prototype,({value:n},t)=>{let o=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(c){this[o]=c}}}),Ee.freezeMethods(Bn);function kd(n,t){const o=this||$l,c=t||o,d=Bn.from(c.headers);let b=c.data;return Ee.forEach(n,function(h){b=h.call(o,b,d.normalize(),t?t.status:void 0)}),d.normalize(),b}function Tm(n){return!!(n&&n.__CANCEL__)}function Ta(n,t,o){zt.call(this,n??"canceled",zt.ERR_CANCELED,t,o),this.name="CanceledError"}Ee.inherits(Ta,zt,{__CANCEL__:!0});function Cm(n,t,o){const c=o.config.validateStatus;!o.status||!c||c(o.status)?n(o):t(new zt("Request failed with status code "+o.status,[zt.ERR_BAD_REQUEST,zt.ERR_BAD_RESPONSE][Math.floor(o.status/100)-4],o.config,o.request,o))}function pb(n){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return t&&t[1]||""}function fb(n,t){n=n||10;const o=new Array(n),c=new Array(n);let d=0,b=0,y;return t=t!==void 0?t:1e3,function(M){const D=Date.now(),A=c[b];y||(y=D),o[d]=M,c[d]=D;let z=b,L=0;for(;z!==d;)L+=o[z++],z=z%n;if(d=(d+1)%n,d===b&&(b=(b+1)%n),D-y<t)return;const N=A&&D-A;return N?Math.round(L*1e3/N):void 0}}function mb(n,t){let o=0,c=1e3/t,d,b;const y=(D,A=Date.now())=>{o=A,d=null,b&&(clearTimeout(b),b=null),n.apply(null,D)};return[(...D)=>{const A=Date.now(),z=A-o;z>=c?y(D,A):(d=D,b||(b=setTimeout(()=>{b=null,y(d)},c-z)))},()=>d&&y(d)]}const kh=(n,t,o=3)=>{let c=0;const d=fb(50,250);return mb(b=>{const y=b.loaded,h=b.lengthComputable?b.total:void 0,M=y-c,D=d(M),A=y<=h;c=y;const z={loaded:y,total:h,progress:h?y/h:void 0,bytes:M,rate:D||void 0,estimated:D&&h&&A?(h-y)/D:void 0,event:b,lengthComputable:h!=null,[t?"download":"upload"]:!0};n(z)},o)},Mm=(n,t)=>{const o=n!=null;return[c=>t[0]({lengthComputable:o,total:n,loaded:c}),t[1]]},Pm=n=>(...t)=>Ee.asap(()=>n(...t)),gb=On.hasStandardBrowserEnv?function(){const t=On.navigator&&/(msie|trident)/i.test(On.navigator.userAgent),o=document.createElement("a");let c;function d(b){let y=b;return t&&(o.setAttribute("href",y),y=o.href),o.setAttribute("href",y),{href:o.href,protocol:o.protocol?o.protocol.replace(/:$/,""):"",host:o.host,search:o.search?o.search.replace(/^\?/,""):"",hash:o.hash?o.hash.replace(/^#/,""):"",hostname:o.hostname,port:o.port,pathname:o.pathname.charAt(0)==="/"?o.pathname:"/"+o.pathname}}return c=d(window.location.href),function(y){const h=Ee.isString(y)?d(y):y;return h.protocol===c.protocol&&h.host===c.host}}():function(){return function(){return!0}}(),yb=On.hasStandardBrowserEnv?{write(n,t,o,c,d,b){const y=[n+"="+encodeURIComponent(t)];Ee.isNumber(o)&&y.push("expires="+new Date(o).toGMTString()),Ee.isString(c)&&y.push("path="+c),Ee.isString(d)&&y.push("domain="+d),b===!0&&y.push("secure"),document.cookie=y.join("; ")},read(n){const t=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(n){this.write(n,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function _b(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function xb(n,t){return t?n.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):n}function Im(n,t){return n&&!_b(t)?xb(n,t):t}const Am=n=>n instanceof Bn?{...n}:n;function Ro(n,t){t=t||{};const o={};function c(D,A,z){return Ee.isPlainObject(D)&&Ee.isPlainObject(A)?Ee.merge.call({caseless:z},D,A):Ee.isPlainObject(A)?Ee.merge({},A):Ee.isArray(A)?A.slice():A}function d(D,A,z){if(Ee.isUndefined(A)){if(!Ee.isUndefined(D))return c(void 0,D,z)}else return c(D,A,z)}function b(D,A){if(!Ee.isUndefined(A))return c(void 0,A)}function y(D,A){if(Ee.isUndefined(A)){if(!Ee.isUndefined(D))return c(void 0,D)}else return c(void 0,A)}function h(D,A,z){if(z in t)return c(D,A);if(z in n)return c(void 0,D)}const M={url:b,method:b,data:b,baseURL:y,transformRequest:y,transformResponse:y,paramsSerializer:y,timeout:y,timeoutMessage:y,withCredentials:y,withXSRFToken:y,adapter:y,responseType:y,xsrfCookieName:y,xsrfHeaderName:y,onUploadProgress:y,onDownloadProgress:y,decompress:y,maxContentLength:y,maxBodyLength:y,beforeRedirect:y,transport:y,httpAgent:y,httpsAgent:y,cancelToken:y,socketPath:y,responseEncoding:y,validateStatus:h,headers:(D,A)=>d(Am(D),Am(A),!0)};return Ee.forEach(Object.keys(Object.assign({},n,t)),function(A){const z=M[A]||d,L=z(n[A],t[A],A);Ee.isUndefined(L)&&z!==h||(o[A]=L)}),o}const Dm=n=>{const t=Ro({},n);let{data:o,withXSRFToken:c,xsrfHeaderName:d,xsrfCookieName:b,headers:y,auth:h}=t;t.headers=y=Bn.from(y),t.url=vm(Im(t.baseURL,t.url),n.params,n.paramsSerializer),h&&y.set("Authorization","Basic "+btoa((h.username||"")+":"+(h.password?unescape(encodeURIComponent(h.password)):"")));let M;if(Ee.isFormData(o)){if(On.hasStandardBrowserEnv||On.hasStandardBrowserWebWorkerEnv)y.setContentType(void 0);else if((M=y.getContentType())!==!1){const[D,...A]=M?M.split(";").map(z=>z.trim()).filter(Boolean):[];y.setContentType([D||"multipart/form-data",...A].join("; "))}}if(On.hasStandardBrowserEnv&&(c&&Ee.isFunction(c)&&(c=c(t)),c||c!==!1&&gb(t.url))){const D=d&&b&&yb.read(b);D&&y.set(d,D)}return t},bb=typeof XMLHttpRequest<"u"&&function(n){return new Promise(function(o,c){const d=Dm(n);let b=d.data;const y=Bn.from(d.headers).normalize();let{responseType:h,onUploadProgress:M,onDownloadProgress:D}=d,A,z,L,N,G;function ee(){N&&N(),G&&G(),d.cancelToken&&d.cancelToken.unsubscribe(A),d.signal&&d.signal.removeEventListener("abort",A)}let oe=new XMLHttpRequest;oe.open(d.method.toUpperCase(),d.url,!0),oe.timeout=d.timeout;function he(){if(!oe)return;const _e=Bn.from("getAllResponseHeaders"in oe&&oe.getAllResponseHeaders()),rt={data:!h||h==="text"||h==="json"?oe.responseText:oe.response,status:oe.status,statusText:oe.statusText,headers:_e,config:n,request:oe};Cm(function(Pe){o(Pe),ee()},function(Pe){c(Pe),ee()},rt),oe=null}"onloadend"in oe?oe.onloadend=he:oe.onreadystatechange=function(){!oe||oe.readyState!==4||oe.status===0&&!(oe.responseURL&&oe.responseURL.indexOf("file:")===0)||setTimeout(he)},oe.onabort=function(){oe&&(c(new zt("Request aborted",zt.ECONNABORTED,n,oe)),oe=null)},oe.onerror=function(){c(new zt("Network Error",zt.ERR_NETWORK,n,oe)),oe=null},oe.ontimeout=function(){let Ae=d.timeout?"timeout of "+d.timeout+"ms exceeded":"timeout exceeded";const rt=d.transitional||km;d.timeoutErrorMessage&&(Ae=d.timeoutErrorMessage),c(new zt(Ae,rt.clarifyTimeoutError?zt.ETIMEDOUT:zt.ECONNABORTED,n,oe)),oe=null},b===void 0&&y.setContentType(null),"setRequestHeader"in oe&&Ee.forEach(y.toJSON(),function(Ae,rt){oe.setRequestHeader(rt,Ae)}),Ee.isUndefined(d.withCredentials)||(oe.withCredentials=!!d.withCredentials),h&&h!=="json"&&(oe.responseType=d.responseType),D&&([L,G]=kh(D,!0),oe.addEventListener("progress",L)),M&&oe.upload&&([z,N]=kh(M),oe.upload.addEventListener("progress",z),oe.upload.addEventListener("loadend",N)),(d.cancelToken||d.signal)&&(A=_e=>{oe&&(c(!_e||_e.type?new Ta(null,n,oe):_e),oe.abort(),oe=null)},d.cancelToken&&d.cancelToken.subscribe(A),d.signal&&(d.signal.aborted?A():d.signal.addEventListener("abort",A)));const xe=pb(d.url);if(xe&&On.protocols.indexOf(xe)===-1){c(new zt("Unsupported protocol "+xe+":",zt.ERR_BAD_REQUEST,n));return}oe.send(b||null)})},vb=(n,t)=>{const{length:o}=n=n?n.filter(Boolean):[];if(t||o){let c=new AbortController,d;const b=function(D){if(!d){d=!0,h();const A=D instanceof Error?D:this.reason;c.abort(A instanceof zt?A:new Ta(A instanceof Error?A.message:A))}};let y=t&&setTimeout(()=>{y=null,b(new zt(`timeout ${t} of ms exceeded`,zt.ETIMEDOUT))},t);const h=()=>{n&&(y&&clearTimeout(y),y=null,n.forEach(D=>{D.unsubscribe?D.unsubscribe(b):D.removeEventListener("abort",b)}),n=null)};n.forEach(D=>D.addEventListener("abort",b));const{signal:M}=c;return M.unsubscribe=()=>Ee.asap(h),M}},wb=function*(n,t){let o=n.byteLength;if(o<t){yield n;return}let c=0,d;for(;c<o;)d=c+t,yield n.slice(c,d),c=d},kb=async function*(n,t){for await(const o of Sb(n))yield*wb(o,t)},Sb=async function*(n){if(n[Symbol.asyncIterator]){yield*n;return}const t=n.getReader();try{for(;;){const{done:o,value:c}=await t.read();if(o)break;yield c}}finally{await t.cancel()}},zm=(n,t,o,c)=>{const d=kb(n,t);let b=0,y,h=M=>{y||(y=!0,c&&c(M))};return new ReadableStream({async pull(M){try{const{done:D,value:A}=await d.next();if(D){h(),M.close();return}let z=A.byteLength;if(o){let L=b+=z;o(L)}M.enqueue(new Uint8Array(A))}catch(D){throw h(D),D}},cancel(M){return h(M),d.return()}},{highWaterMark:2})},Sh=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Lm=Sh&&typeof ReadableStream=="function",Eb=Sh&&(typeof TextEncoder=="function"?(n=>t=>n.encode(t))(new TextEncoder):async n=>new Uint8Array(await new Response(n).arrayBuffer())),Rm=(n,...t)=>{try{return!!n(...t)}catch{return!1}},Tb=Lm&&Rm(()=>{let n=!1;const t=new Request(On.origin,{body:new ReadableStream,method:"POST",get duplex(){return n=!0,"half"}}).headers.has("Content-Type");return n&&!t}),Om=64*1024,Sd=Lm&&Rm(()=>Ee.isReadableStream(new Response("").body)),Eh={stream:Sd&&(n=>n.body)};Sh&&(n=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Eh[t]&&(Eh[t]=Ee.isFunction(n[t])?o=>o[t]():(o,c)=>{throw new zt(`Response type '${t}' is not supported`,zt.ERR_NOT_SUPPORT,c)})})})(new Response);const Cb=async n=>{if(n==null)return 0;if(Ee.isBlob(n))return n.size;if(Ee.isSpecCompliantForm(n))return(await new Request(On.origin,{method:"POST",body:n}).arrayBuffer()).byteLength;if(Ee.isArrayBufferView(n)||Ee.isArrayBuffer(n))return n.byteLength;if(Ee.isURLSearchParams(n)&&(n=n+""),Ee.isString(n))return(await Eb(n)).byteLength},Mb=async(n,t)=>{const o=Ee.toFiniteNumber(n.getContentLength());return o??Cb(t)},Ed={http:Yx,xhr:bb,fetch:Sh&&(async n=>{let{url:t,method:o,data:c,signal:d,cancelToken:b,timeout:y,onDownloadProgress:h,onUploadProgress:M,responseType:D,headers:A,withCredentials:z="same-origin",fetchOptions:L}=Dm(n);D=D?(D+"").toLowerCase():"text";let N=vb([d,b&&b.toAbortSignal()],y),G;const ee=N&&N.unsubscribe&&(()=>{N.unsubscribe()});let oe;try{if(M&&Tb&&o!=="get"&&o!=="head"&&(oe=await Mb(A,c))!==0){let rt=new Request(t,{method:"POST",body:c,duplex:"half"}),bt;if(Ee.isFormData(c)&&(bt=rt.headers.get("content-type"))&&A.setContentType(bt),rt.body){const[Pe,St]=Mm(oe,kh(Pm(M)));c=zm(rt.body,Om,Pe,St)}}Ee.isString(z)||(z=z?"include":"omit");const he="credentials"in Request.prototype;G=new Request(t,{...L,signal:N,method:o.toUpperCase(),headers:A.normalize().toJSON(),body:c,duplex:"half",credentials:he?z:void 0});let xe=await fetch(G);const _e=Sd&&(D==="stream"||D==="response");if(Sd&&(h||_e&&ee)){const rt={};["status","statusText","headers"].forEach(vt=>{rt[vt]=xe[vt]});const bt=Ee.toFiniteNumber(xe.headers.get("content-length")),[Pe,St]=h&&Mm(bt,kh(Pm(h),!0))||[];xe=new Response(zm(xe.body,Om,Pe,()=>{St&&St(),ee&&ee()}),rt)}D=D||"text";let Ae=await Eh[Ee.findKey(Eh,D)||"text"](xe,n);return!_e&&ee&&ee(),await new Promise((rt,bt)=>{Cm(rt,bt,{data:Ae,headers:Bn.from(xe.headers),status:xe.status,statusText:xe.statusText,config:n,request:G})})}catch(he){throw ee&&ee(),he&&he.name==="TypeError"&&/fetch/i.test(he.message)?Object.assign(new zt("Network Error",zt.ERR_NETWORK,n,G),{cause:he.cause||he}):zt.from(he,he&&he.code,n,G)}})};Ee.forEach(Ed,(n,t)=>{if(n){try{Object.defineProperty(n,"name",{value:t})}catch{}Object.defineProperty(n,"adapterName",{value:t})}});const Bm=n=>`- ${n}`,Pb=n=>Ee.isFunction(n)||n===null||n===!1,Fm={getAdapter:n=>{n=Ee.isArray(n)?n:[n];const{length:t}=n;let o,c;const d={};for(let b=0;b<t;b++){o=n[b];let y;if(c=o,!Pb(o)&&(c=Ed[(y=String(o)).toLowerCase()],c===void 0))throw new zt(`Unknown adapter '${y}'`);if(c)break;d[y||"#"+b]=c}if(!c){const b=Object.entries(d).map(([h,M])=>`adapter ${h} `+(M===!1?"is not supported by the environment":"is not available in the build"));let y=t?b.length>1?`since :
4
4
  `+b.map(Bm).join(`
5
5
  `):" "+Bm(b[0]):"as no adapter specified";throw new zt("There is no suitable adapter to dispatch the request "+y,"ERR_NOT_SUPPORT")}return c},adapters:Ed};function Td(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new Ta(null,n)}function Nm(n){return Td(n),n.headers=Bn.from(n.headers),n.data=kd.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),Fm.getAdapter(n.adapter||$l.adapter)(n).then(function(c){return Td(n),c.data=kd.call(n,n.transformResponse,c),c.headers=Bn.from(c.headers),c},function(c){return Tm(c)||(Td(n),c&&c.response&&(c.response.data=kd.call(n,n.transformResponse,c.response),c.response.headers=Bn.from(c.response.headers))),Promise.reject(c)})}const Vm="1.7.7",Cd={};["object","boolean","number","function","string","symbol"].forEach((n,t)=>{Cd[n]=function(c){return typeof c===n||"a"+(t<1?"n ":" ")+n}});const $m={};Cd.transitional=function(t,o,c){function d(b,y){return"[Axios v"+Vm+"] Transitional option '"+b+"'"+y+(c?". "+c:"")}return(b,y,h)=>{if(t===!1)throw new zt(d(y," has been removed"+(o?" in "+o:"")),zt.ERR_DEPRECATED);return o&&!$m[y]&&($m[y]=!0,console.warn(d(y," has been deprecated since v"+o+" and will be removed in the near future"))),t?t(b,y,h):!0}};function Ib(n,t,o){if(typeof n!="object")throw new zt("options must be an object",zt.ERR_BAD_OPTION_VALUE);const c=Object.keys(n);let d=c.length;for(;d-- >0;){const b=c[d],y=t[b];if(y){const h=n[b],M=h===void 0||y(h,b,n);if(M!==!0)throw new zt("option "+b+" must be "+M,zt.ERR_BAD_OPTION_VALUE);continue}if(o!==!0)throw new zt("Unknown option "+b,zt.ERR_BAD_OPTION)}}const Md={assertOptions:Ib,validators:Cd},Hs=Md.validators;class Oo{constructor(t){this.defaults=t,this.interceptors={request:new wm,response:new wm}}async request(t,o){try{return await this._request(t,o)}catch(c){if(c instanceof Error){let d;Error.captureStackTrace?Error.captureStackTrace(d={}):d=new Error;const b=d.stack?d.stack.replace(/^.+\n/,""):"";try{c.stack?b&&!String(c.stack).endsWith(b.replace(/^.+\n.+\n/,""))&&(c.stack+=`
6
6
  `+b):c.stack=b}catch{}}throw c}}_request(t,o){typeof t=="string"?(o=o||{},o.url=t):o=t||{},o=Ro(this.defaults,o);const{transitional:c,paramsSerializer:d,headers:b}=o;c!==void 0&&Md.assertOptions(c,{silentJSONParsing:Hs.transitional(Hs.boolean),forcedJSONParsing:Hs.transitional(Hs.boolean),clarifyTimeoutError:Hs.transitional(Hs.boolean)},!1),d!=null&&(Ee.isFunction(d)?o.paramsSerializer={serialize:d}:Md.assertOptions(d,{encode:Hs.function,serialize:Hs.function},!0)),o.method=(o.method||this.defaults.method||"get").toLowerCase();let y=b&&Ee.merge(b.common,b[o.method]);b&&Ee.forEach(["delete","get","head","post","put","patch","common"],G=>{delete b[G]}),o.headers=Bn.concat(y,b);const h=[];let M=!0;this.interceptors.request.forEach(function(ee){typeof ee.runWhen=="function"&&ee.runWhen(o)===!1||(M=M&&ee.synchronous,h.unshift(ee.fulfilled,ee.rejected))});const D=[];this.interceptors.response.forEach(function(ee){D.push(ee.fulfilled,ee.rejected)});let A,z=0,L;if(!M){const G=[Nm.bind(this),void 0];for(G.unshift.apply(G,h),G.push.apply(G,D),L=G.length,A=Promise.resolve(o);z<L;)A=A.then(G[z++],G[z++]);return A}L=h.length;let N=o;for(z=0;z<L;){const G=h[z++],ee=h[z++];try{N=G(N)}catch(oe){ee.call(this,oe);break}}try{A=Nm.call(this,N)}catch(G){return Promise.reject(G)}for(z=0,L=D.length;z<L;)A=A.then(D[z++],D[z++]);return A}getUri(t){t=Ro(this.defaults,t);const o=Im(t.baseURL,t.url);return vm(o,t.params,t.paramsSerializer)}}Ee.forEach(["delete","get","head","options"],function(t){Oo.prototype[t]=function(o,c){return this.request(Ro(c||{},{method:t,url:o,data:(c||{}).data}))}}),Ee.forEach(["post","put","patch"],function(t){function o(c){return function(b,y,h){return this.request(Ro(h||{},{method:t,headers:c?{"Content-Type":"multipart/form-data"}:{},url:b,data:y}))}}Oo.prototype[t]=o(),Oo.prototype[t+"Form"]=o(!0)});class Pd{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let o;this.promise=new Promise(function(b){o=b});const c=this;this.promise.then(d=>{if(!c._listeners)return;let b=c._listeners.length;for(;b-- >0;)c._listeners[b](d);c._listeners=null}),this.promise.then=d=>{let b;const y=new Promise(h=>{c.subscribe(h),b=h}).then(d);return y.cancel=function(){c.unsubscribe(b)},y},t(function(b,y,h){c.reason||(c.reason=new Ta(b,y,h),o(c.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 o=this._listeners.indexOf(t);o!==-1&&this._listeners.splice(o,1)}toAbortSignal(){const t=new AbortController,o=c=>{t.abort(c)};return this.subscribe(o),t.signal.unsubscribe=()=>this.unsubscribe(o),t.signal}static source(){let t;return{token:new Pd(function(d){t=d}),cancel:t}}}function Ab(n){return function(o){return n.apply(null,o)}}function Db(n){return Ee.isObject(n)&&n.isAxiosError===!0}const Id={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(Id).forEach(([n,t])=>{Id[t]=n});function jm(n){const t=new Oo(n),o=Sa(Oo.prototype.request,t);return Ee.extend(o,Oo.prototype,t,{allOwnKeys:!0}),Ee.extend(o,t,null,{allOwnKeys:!0}),o.create=function(d){return jm(Ro(n,d))},o}const mt=jm($l);mt.Axios=Oo,mt.CanceledError=Ta,mt.CancelToken=Pd,mt.isCancel=Tm,mt.VERSION=Vm,mt.toFormData=vh,mt.AxiosError=zt,mt.Cancel=mt.CanceledError,mt.all=function(t){return Promise.all(t)},mt.spread=Ab,mt.isAxiosError=Db,mt.mergeConfig=Ro,mt.AxiosHeaders=Bn,mt.formToJSON=n=>Sm(Ee.isHTMLForm(n)?new FormData(n):n),mt.getAdapter=Fm.getAdapter,mt.HttpStatusCode=Id,mt.default=mt;const xt=(n,t)=>{const o=n.__vccOpts||n;for(const[c,d]of t)o[c]=d;return o},zb={};function Lb(n,t,o,c,d,b){const y=v.resolveComponent("router-view");return v.openBlock(),v.createBlock(y)}const Rb=xt(zb,[["render",Lb]]);function Ob(){return Um().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Um(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const Bb=typeof Proxy=="function",Fb="devtools-plugin:setup",Nb="plugin:settings:set";let Ca,Ad;function Vb(){var n;return Ca!==void 0||(typeof window<"u"&&window.performance?(Ca=!0,Ad=window.performance):typeof globalThis<"u"&&(!((n=globalThis.perf_hooks)===null||n===void 0)&&n.performance)?(Ca=!0,Ad=globalThis.perf_hooks.performance):Ca=!1),Ca}function $b(){return Vb()?Ad.now():Date.now()}class jb{constructor(t,o){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=o;const c={};if(t.settings)for(const y in t.settings){const h=t.settings[y];c[y]=h.defaultValue}const d=`__vue-devtools-plugin-settings__${t.id}`;let b=Object.assign({},c);try{const y=localStorage.getItem(d),h=JSON.parse(y);Object.assign(b,h)}catch{}this.fallbacks={getSettings(){return b},setSettings(y){try{localStorage.setItem(d,JSON.stringify(y))}catch{}b=y},now(){return $b()}},o&&o.on(Nb,(y,h)=>{y===this.plugin.id&&this.fallbacks.setSettings(h)}),this.proxiedOn=new Proxy({},{get:(y,h)=>this.target?this.target.on[h]:(...M)=>{this.onQueue.push({method:h,args:M})}}),this.proxiedTarget=new Proxy({},{get:(y,h)=>this.target?this.target[h]:h==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(h)?(...M)=>(this.targetQueue.push({method:h,args:M,resolve:()=>{}}),this.fallbacks[h](...M)):(...M)=>new Promise(D=>{this.targetQueue.push({method:h,args:M,resolve:D})})})}async setRealTarget(t){this.target=t;for(const o of this.onQueue)this.target.on[o.method](...o.args);for(const o of this.targetQueue)o.resolve(await this.target[o.method](...o.args))}}function Ub(n,t){const o=n,c=Um(),d=Ob(),b=Bb&&o.enableEarlyProxy;if(d&&(c.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!b))d.emit(Fb,n,t);else{const y=b?new jb(o,d):null;(c.__VUE_DEVTOOLS_PLUGINS__=c.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:o,setupFn:t,proxy:y}),y&&t(y.proxiedTarget)}}/*!
@@ -1,5 +1,5 @@
1
1
  import { u as $ } from "./userMenu-CT1xO2Pt.js";
2
- import { _ as V, a as z } from "./import-file-B37H73ct.js";
2
+ import { _ as V, a as z } from "./import-file-CzCwLSil.js";
3
3
  import { resolveComponent as N, openBlock as n, createElementBlock as c, createElementVNode as u, toDisplayString as j, createVNode as q, withCtx as B, createTextVNode as E, normalizeClass as T, Fragment as k, renderList as M, createBlock as L, resolveDynamicComponent as H, createCommentVNode as v } from "vue";
4
4
  const A = {
5
5
  data() {
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as e, openBlock as r, createBlock as t } from "vue";
2
- import { _ as c } from "./import-file-B37H73ct.js";
2
+ import { _ as c } from "./import-file-CzCwLSil.js";
3
3
  const n = {};
4
4
  function s(_, p, a, i, f, m) {
5
5
  const o = e("router-view");
@@ -1,5 +1,5 @@
1
1
  import { u as m } from "./userMenu-CT1xO2Pt.js";
2
- import { _ as b, a as n } from "./import-file-B37H73ct.js";
2
+ import { _ as b, a as n } from "./import-file-CzCwLSil.js";
3
3
  import { resolveComponent as d, openBlock as u, createElementBlock as h, createElementVNode as i, createBlock as p, createCommentVNode as f } from "vue";
4
4
  const g = {
5
5
  data() {
@@ -525,7 +525,7 @@ function D1(s, i, a) {
525
525
  if (c.name !== "SyntaxError")
526
526
  throw c;
527
527
  }
528
- return (a || JSON.stringify)(s);
528
+ return (0, JSON.stringify)(s);
529
529
  }
530
530
  const Su = {
531
531
  transitional: V_,
@@ -1108,7 +1108,7 @@ const Z_ = (s) => {
1108
1108
  }
1109
1109
  }, Y1 = function* (s, i) {
1110
1110
  let a = s.byteLength;
1111
- if (!i || a < i) {
1111
+ if (a < i) {
1112
1112
  yield s;
1113
1113
  return;
1114
1114
  }
@@ -3583,17 +3583,17 @@ function O2(s, i) {
3583
3583
  return [a, c, f];
3584
3584
  }
3585
3585
  const F2 = [
3586
- { name: "edit", path: "/edit", component: () => import("./edit-page-D5iMrlzA.js") },
3587
- { name: "add", path: "/add", component: () => import("./add-page-vX4ne6CO.js") },
3586
+ { name: "edit", path: "/edit", component: () => import("./edit-page-CQwOGMga.js") },
3587
+ { name: "add", path: "/add", component: () => import("./add-page-B0biDpqv.js") },
3588
3588
  {
3589
3589
  name: "card-view",
3590
3590
  path: "/card",
3591
- component: () => import("./card-view-UPTWBqwM.js"),
3591
+ component: () => import("./card-view-BCmJFSR_.js"),
3592
3592
  children: [{
3593
3593
  name: "table",
3594
3594
  path: ":table",
3595
- component: () => import("./card-view-UPTWBqwM.js"),
3596
- children: [{ name: "card", path: ":id", component: () => import("./card-page-B98zZW37.js") }]
3595
+ component: () => import("./card-view-BCmJFSR_.js"),
3596
+ children: [{ name: "card", path: ":id", component: () => import("./card-page-BK1iaeyq.js") }]
3597
3597
  }]
3598
3598
  }
3599
3599
  ], B2 = {}, N2 = { class: "bg-gray-200 w-full px-16 md:px-0 h-screen flex items-center justify-center" }, j2 = { class: "bg-white border border-gray-200 flex flex-col items-center justify-center px-4 md:px-8 lg:px-24 py-8 rounded-lg shadow-2xl" };
@@ -3641,13 +3641,13 @@ const $2 = /* @__PURE__ */ Fi(B2, [["render", V2]]), U2 = (s) => {
3641
3641
  {
3642
3642
  path: "/",
3643
3643
  name: "global",
3644
- component: () => import("./admin-view-_gUXThTm.js"),
3644
+ component: () => import("./admin-view-DktC47Va.js"),
3645
3645
  children: [
3646
3646
  ...i,
3647
3647
  ...s,
3648
3648
  {
3649
3649
  path: "/:catchAll(.*)",
3650
- component: () => import("./admin-interface-CLoG7ut3.js")
3650
+ component: () => import("./admin-interface-Cy2lcga3.js")
3651
3651
  }
3652
3652
  ]
3653
3653
  }
@@ -1,4 +1,4 @@
1
- {{#contentList table="admin.access" query="role_id='{{role_id}}'" order="cdate desc" sql1=1}}
1
+ {{#contentList table="admin.access" query="role_id='{{id}}'" order="cdate desc" sql1=1}}
2
2
  <table class="min-w-full divide-y divide-gray-200">
3
3
  <thead class="bg-gray-50">
4
4
  <tr>
@@ -16,9 +16,11 @@
16
16
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">
17
17
  {{route_id}}</td>
18
18
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">
19
- {{select route_id data="core.routes"}}</td>
19
+ {{!-- {{route_id}} --}}
20
+ </td>
20
21
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">
21
- {{select actions data="core.actions"}}</td>
22
+ {{actions}}
23
+ </td>
22
24
  </tr>
23
25
  {{/each}}
24
26
  </tbody>
@@ -7,6 +7,6 @@ panels:
7
7
  title: Користувачі
8
8
  col: 8
9
9
  items:
10
- - name: logs
10
+ - name: access
11
11
  title: Права до інтерфейсів
12
12
  col: 4
@@ -1,4 +1,4 @@
1
- {{#contentList table="admin.user_roles" query="user_uid='{{id}}'" order="cdate desc" limit="50" sql1=1}}
1
+ {{#contentList table="admin.user_roles" query="role_id='{{id}}'" order="cdate desc" limit="50" sql1=1}}
2
2
  <table class="min-w-full divide-y divide-gray-200">
3
3
  <thead class="bg-gray-50">
4
4
  <tr>
@@ -17,13 +17,10 @@
17
17
  <tbody class="bg-white divide-y divide-gray-200">
18
18
  {{#each rows}}
19
19
  <tr>
20
- <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">
21
- {{select user_uid data="core.user_uid"}}</td>
22
- <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">
23
- {{formatDate expiration}}</td>
20
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">{{user_uid}}</td>
21
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">{{formatDate expiration}}</td>
24
22
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">{{formatDate access_granted_time}}</td>
25
- <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">{{select name="access_granted"
26
- data="core.user_uid"}}</td>
23
+ <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">{{access_granted}}</td>
27
24
  </tr>
28
25
  {{/each}}
29
26
  </tbody>
@@ -1,4 +1,4 @@
1
- {{#contentList table="admin.access" query="user_uid='{{id}}'" order="cdate desc" limit="50" sql1=1}}
1
+ {{#contentList table="admin.access" query="route_id='{{id}}'" order="cdate desc" limit="50" sql1=1}}
2
2
  <table class="min-w-full divide-y divide-gray-200">
3
3
  <thead class="bg-gray-50">
4
4
  <tr>
@@ -16,11 +16,17 @@
16
16
  {{#each rows}}
17
17
  <tr>
18
18
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">
19
- {{select user_uid data="core.user_uid"}}</td>
19
+ {{!-- {{select user_uid data="core.user_uid"}} --}}
20
+ {{user_uid}}
21
+ </td>
20
22
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">
21
- {{select actions data="core.actions"}}</td>
23
+ {{!-- {{select actions data="core.actions"}} --}}
24
+ {{actions}}
25
+ </td>
22
26
  <td class="px-6 py-4 whitespace-nowrap text-sm text-gray-F500">
23
- {{select access_granted data="core.user_uid"}}</td>
27
+ {{!-- {{select access_granted data="core.user_uid"}} --}}
28
+ {{access_granted}}
29
+ </td>
24
30
  </tr>
25
31
  {{/each}}
26
32
  </tbody>
@@ -5,7 +5,7 @@
5
5
  "order": "cdate desc",
6
6
  "sql": [
7
7
  {
8
- "sql": "select count(user_uid) as user_count from admin.access where route_id=t.route_id",
8
+ "sql1": "select count(user_uid) as user_count from admin.access where route_id=t.route_id",
9
9
  "name": "user_count"
10
10
  },
11
11
  {
@@ -24,17 +24,19 @@
24
24
  "format": "text",
25
25
  "title": "Назва інтерфейсу українською"
26
26
  },
27
- {
28
- "name": "user_count",
29
- "format": "text",
30
- "title": "Кількість користувачів"
31
- },
32
27
  {
33
28
  "name": "roles_count",
34
29
  "format": "text",
35
30
  "title": "Кількість груп"
36
31
  }
37
32
  ],
33
+ "columns1": [
34
+ {
35
+ "name1": "user_count",
36
+ "format1": "text",
37
+ "title1": "Кількість користувачів"
38
+ }
39
+ ],
38
40
  "meta": {
39
41
  "title": "cdate",
40
42
  "search": "alias,title"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opengis/admin",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "This project Softpro Admin",
5
5
  "main": "dist/admin.js",
6
6
  "type": "module",
@@ -32,7 +32,7 @@
32
32
  "author": "Softpro",
33
33
  "license": "ISC",
34
34
  "dependencies": {
35
- "@opengis/fastify-auth": "^1.0.20",
35
+ "@opengis/fastify-auth": "^1.0.33",
36
36
  "@opengis/fastify-file": "^1.0.17",
37
37
  "@opengis/fastify-table": "^1.1.16",
38
38
  "@opengis/v3-core": "^0.1.92",
@@ -21,7 +21,7 @@ export default async function tableFilter(req) {
21
21
 
22
22
  const filters = loadTable?.filter_list || loadTable?.filters || loadTable?.filterList || [];
23
23
  filters.forEach(el => {
24
- Object.assign(el, { id: el.name });
24
+ Object.assign(el, { id: el.name || el.id, name: el.name || el.id });
25
25
  })
26
26
 
27
27
  await Promise.all(filters.filter((el) => el.data).map(async (el) => {
@@ -29,6 +29,7 @@ export default async function tableFilter(req) {
29
29
  const cls = await getTemplate(['cls', 'select'], el.data)
30
30
  const name = el.name || el.id
31
31
 
32
+
32
33
  if (!cls?.length || !Array.isArray(cls) || !loadTable.table || !name) return;
33
34
  const { dataTypeID } = columns.find((item) => item.name === name) || {};
34
35
  if (!dataTypeID) return;