@opengis/admin 0.1.0 → 0.1.1

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,4 +1,4 @@
1
- (function(s,oe){typeof exports=="object"&&typeof module<"u"?module.exports=oe(require("vue")):typeof define=="function"&&define.amd?define(["vue"],oe):(s=typeof globalThis<"u"?globalThis:s||self,s.settings=oe(s.Vue))})(this,function(s){"use strict";function oe(e,t){return function(){return e.apply(t,arguments)}}const{toString:Kn}=Object.prototype,{getPrototypeOf:De}=Object,xe=(e=>t=>{const n=Kn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),z=e=>(e=e.toLowerCase(),t=>xe(t)===e),ke=e=>t=>typeof t===e,{isArray:se}=Array,fe=ke("undefined");function Wn(e){return e!==null&&!fe(e)&&e.constructor!==null&&!fe(e.constructor)&&H(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const gt=z("ArrayBuffer");function Gn(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&gt(e.buffer),t}const Jn=ke("string"),H=ke("function"),bt=ke("number"),Ce=e=>e!==null&&typeof e=="object",Zn=e=>e===!0||e===!1,Ne=e=>{if(xe(e)!=="object")return!1;const t=De(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Qn=z("Date"),Xn=z("File"),Yn=z("Blob"),er=z("FileList"),tr=e=>Ce(e)&&H(e.pipe),nr=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||H(e.append)&&((t=xe(e))==="formdata"||t==="object"&&H(e.toString)&&e.toString()==="[object FormData]"))},rr=z("URLSearchParams"),[or,sr,ar,ir]=["ReadableStream","Request","Response","Headers"].map(z),lr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pe(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),se(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let l;for(r=0;r<i;r++)l=a[r],t.call(null,e[l],l,e)}}function yt(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Y=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,wt=e=>!fe(e)&&e!==Y;function Ie(){const{caseless:e}=wt(this)&&this||{},t={},n=(r,o)=>{const a=e&&yt(t,o)||o;Ne(t[a])&&Ne(r)?t[a]=Ie(t[a],r):Ne(r)?t[a]=Ie({},r):se(r)?t[a]=r.slice():t[a]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&pe(arguments[r],n);return t}const cr=(e,t,n,{allOwnKeys:r}={})=>(pe(t,(o,a)=>{n&&H(o)?e[a]=oe(o,n):e[a]=o},{allOwnKeys:r}),e),ur=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dr=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},fr=(e,t,n,r)=>{let o,a,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&De(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pr=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},hr=e=>{if(!e)return null;if(se(e))return e;let t=e.length;if(!bt(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},mr=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&De(Uint8Array)),gr=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},br=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},yr=z("HTMLFormElement"),wr=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Et=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Er=z("RegExp"),_t=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};pe(n,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(r[a]=i||o)}),Object.defineProperties(e,r)},_r=e=>{_t(e,(t,n)=>{if(H(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(H(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xr=(e,t)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return se(e)?r(e):r(String(e).split(t)),n},kr=()=>{},Cr=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Me="abcdefghijklmnopqrstuvwxyz",xt="0123456789",kt={DIGIT:xt,ALPHA:Me,ALPHA_DIGIT:Me+Me.toUpperCase()+xt},Nr=(e=16,t=kt.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Sr(e){return!!(e&&H(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Rr=e=>{const t=new Array(10),n=(r,o)=>{if(Ce(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const a=se(r)?[]:{};return pe(r,(i,l)=>{const u=n(i,o+1);!fe(u)&&(a[l]=u)}),t[o]=void 0,a}}return r};return n(e,0)},vr=z("AsyncFunction"),Vr=e=>e&&(Ce(e)||H(e))&&H(e.then)&&H(e.catch),Ct=((e,t)=>e?setImmediate:t?((n,r)=>(Y.addEventListener("message",({source:o,data:a})=>{o===Y&&a===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Y.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",H(Y.postMessage)),$r=typeof queueMicrotask<"u"?queueMicrotask.bind(Y):typeof process<"u"&&process.nextTick||Ct,h={isArray:se,isArrayBuffer:gt,isBuffer:Wn,isFormData:nr,isArrayBufferView:Gn,isString:Jn,isNumber:bt,isBoolean:Zn,isObject:Ce,isPlainObject:Ne,isReadableStream:or,isRequest:sr,isResponse:ar,isHeaders:ir,isUndefined:fe,isDate:Qn,isFile:Xn,isBlob:Yn,isRegExp:Er,isFunction:H,isStream:tr,isURLSearchParams:rr,isTypedArray:mr,isFileList:er,forEach:pe,merge:Ie,extend:cr,trim:lr,stripBOM:ur,inherits:dr,toFlatObject:fr,kindOf:xe,kindOfTest:z,endsWith:pr,toArray:hr,forEachEntry:gr,matchAll:br,isHTMLForm:yr,hasOwnProperty:Et,hasOwnProp:Et,reduceDescriptors:_t,freezeMethods:_r,toObjectSet:xr,toCamelCase:wr,noop:kr,toFiniteNumber:Cr,findKey:yt,global:Y,isContextDefined:wt,ALPHABET:kt,generateString:Nr,isSpecCompliantForm:Sr,toJSONObject:Rr,isAsyncFn:vr,isThenable:Vr,setImmediate:Ct,asap:$r};function R(e,t,n,r,o){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),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}h.inherits(R,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:h.toJSONObject(this.config),code:this.code,status:this.status}}});const Nt=R.prototype,St={};["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=>{St[e]={value:e}}),Object.defineProperties(R,St),Object.defineProperty(Nt,"isAxiosError",{value:!0}),R.from=(e,t,n,r,o,a)=>{const i=Object.create(Nt);return h.toFlatObject(e,i,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),R.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const Or=null;function Le(e){return h.isPlainObject(e)||h.isArray(e)}function Rt(e){return h.endsWith(e,"[]")?e.slice(0,-2):e}function vt(e,t,n){return e?e.concat(t).map(function(o,a){return o=Rt(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function Tr(e){return h.isArray(e)&&!e.some(Le)}const Pr=h.toFlatObject(h,{},null,function(t){return/^is[A-Z]/.test(t)});function Se(e,t,n){if(!h.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=h.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,w){return!h.isUndefined(w[y])});const r=n.metaTokens,o=n.visitor||c,a=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&h.isSpecCompliantForm(t);if(!h.isFunction(o))throw new TypeError("visitor must be a function");function f(b){if(b===null)return"";if(h.isDate(b))return b.toISOString();if(!u&&h.isBlob(b))throw new R("Blob is not supported. Use a Buffer instead.");return h.isArrayBuffer(b)||h.isTypedArray(b)?u&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function c(b,y,w){let N=b;if(b&&!w&&typeof b=="object"){if(h.endsWith(y,"{}"))y=r?y:y.slice(0,-2),b=JSON.stringify(b);else if(h.isArray(b)&&Tr(b)||(h.isFileList(b)||h.endsWith(y,"[]"))&&(N=h.toArray(b)))return y=Rt(y),N.forEach(function(k,D){!(h.isUndefined(k)||k===null)&&t.append(i===!0?vt([y],D,a):i===null?y:y+"[]",f(k))}),!1}return Le(b)?!0:(t.append(vt(w,y,a),f(b)),!1)}const d=[],p=Object.assign(Pr,{defaultVisitor:c,convertValue:f,isVisitable:Le});function m(b,y){if(!h.isUndefined(b)){if(d.indexOf(b)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(b),h.forEach(b,function(N,x){(!(h.isUndefined(N)||N===null)&&o.call(t,N,h.isString(x)?x.trim():x,y,p))===!0&&m(N,y?y.concat(x):[x])}),d.pop()}}if(!h.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Vt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function je(e,t){this._pairs=[],e&&Se(e,this,t)}const $t=je.prototype;$t.append=function(t,n){this._pairs.push([t,n])},$t.toString=function(t){const n=t?function(r){return t.call(this,r,Vt)}:Vt;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Ar(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ot(e,t,n){if(!t)return e;const r=n&&n.encode||Ar,o=n&&n.serialize;let a;if(o?a=o(t,n):a=h.isURLSearchParams(t)?t.toString():new je(t,n).toString(r),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Tt{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){h.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Pt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Br={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:je,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Fe=typeof window<"u"&&typeof document<"u",Ue=typeof navigator=="object"&&navigator||void 0,Dr=Fe&&(!Ue||["ReactNative","NativeScript","NS"].indexOf(Ue.product)<0),Ir=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Mr=Fe&&window.location.href||"http://localhost",F={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Fe,hasStandardBrowserEnv:Dr,hasStandardBrowserWebWorkerEnv:Ir,navigator:Ue,origin:Mr},Symbol.toStringTag,{value:"Module"})),...Br};function Lr(e,t){return Se(e,new F.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,a){return F.isNode&&h.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function jr(e){return h.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Fr(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}function At(e){function t(n,r,o,a){let i=n[a++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),u=a>=n.length;return i=!i&&h.isArray(o)?o.length:i,u?(h.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!l):((!o[i]||!h.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],a)&&h.isArray(o[i])&&(o[i]=Fr(o[i])),!l)}if(h.isFormData(e)&&h.isFunction(e.entries)){const n={};return h.forEachEntry(e,(r,o)=>{t(jr(r),o,n,0)}),n}return null}function Ur(e,t,n){if(h.isString(e))try{return(t||JSON.parse)(e),h.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const he={transitional:Pt,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=h.isObject(t);if(a&&h.isHTMLForm(t)&&(t=new FormData(t)),h.isFormData(t))return o?JSON.stringify(At(t)):t;if(h.isArrayBuffer(t)||h.isBuffer(t)||h.isStream(t)||h.isFile(t)||h.isBlob(t)||h.isReadableStream(t))return t;if(h.isArrayBufferView(t))return t.buffer;if(h.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Lr(t,this.formSerializer).toString();if((l=h.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Se(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),Ur(t)):t}],transformResponse:[function(t){const n=this.transitional||he.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(h.isResponse(t)||h.isReadableStream(t))return t;if(t&&h.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?R.from(l,R.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch"],e=>{he.headers[e]={}});const Hr=h.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"]),qr=e=>{const t={};let n,r,o;return e&&e.split(`
1
+ (function(s,oe){typeof exports=="object"&&typeof module<"u"?module.exports=oe(require("vue")):typeof define=="function"&&define.amd?define(["vue"],oe):(s=typeof globalThis<"u"?globalThis:s||self,s.admin=oe(s.Vue))})(this,function(s){"use strict";function oe(e,t){return function(){return e.apply(t,arguments)}}const{toString:Kn}=Object.prototype,{getPrototypeOf:De}=Object,xe=(e=>t=>{const n=Kn.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),z=e=>(e=e.toLowerCase(),t=>xe(t)===e),ke=e=>t=>typeof t===e,{isArray:se}=Array,fe=ke("undefined");function Wn(e){return e!==null&&!fe(e)&&e.constructor!==null&&!fe(e.constructor)&&H(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const gt=z("ArrayBuffer");function Gn(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&gt(e.buffer),t}const Jn=ke("string"),H=ke("function"),bt=ke("number"),Ce=e=>e!==null&&typeof e=="object",Zn=e=>e===!0||e===!1,Ne=e=>{if(xe(e)!=="object")return!1;const t=De(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Qn=z("Date"),Xn=z("File"),Yn=z("Blob"),er=z("FileList"),tr=e=>Ce(e)&&H(e.pipe),nr=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||H(e.append)&&((t=xe(e))==="formdata"||t==="object"&&H(e.toString)&&e.toString()==="[object FormData]"))},rr=z("URLSearchParams"),[or,sr,ar,ir]=["ReadableStream","Request","Response","Headers"].map(z),lr=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function pe(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),se(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),i=a.length;let l;for(r=0;r<i;r++)l=a[r],t.call(null,e[l],l,e)}}function yt(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const Y=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,wt=e=>!fe(e)&&e!==Y;function Ie(){const{caseless:e}=wt(this)&&this||{},t={},n=(r,o)=>{const a=e&&yt(t,o)||o;Ne(t[a])&&Ne(r)?t[a]=Ie(t[a],r):Ne(r)?t[a]=Ie({},r):se(r)?t[a]=r.slice():t[a]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&pe(arguments[r],n);return t}const cr=(e,t,n,{allOwnKeys:r}={})=>(pe(t,(o,a)=>{n&&H(o)?e[a]=oe(o,n):e[a]=o},{allOwnKeys:r}),e),ur=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),dr=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},fr=(e,t,n,r)=>{let o,a,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!r||r(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=n!==!1&&De(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},pr=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},hr=e=>{if(!e)return null;if(se(e))return e;let t=e.length;if(!bt(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},mr=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&De(Uint8Array)),gr=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},br=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},yr=z("HTMLFormElement"),wr=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Et=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Er=z("RegExp"),_t=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};pe(n,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(r[a]=i||o)}),Object.defineProperties(e,r)},_r=e=>{_t(e,(t,n)=>{if(H(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(H(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},xr=(e,t)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return se(e)?r(e):r(String(e).split(t)),n},kr=()=>{},Cr=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Me="abcdefghijklmnopqrstuvwxyz",xt="0123456789",kt={DIGIT:xt,ALPHA:Me,ALPHA_DIGIT:Me+Me.toUpperCase()+xt},Nr=(e=16,t=kt.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Sr(e){return!!(e&&H(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Rr=e=>{const t=new Array(10),n=(r,o)=>{if(Ce(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const a=se(r)?[]:{};return pe(r,(i,l)=>{const u=n(i,o+1);!fe(u)&&(a[l]=u)}),t[o]=void 0,a}}return r};return n(e,0)},vr=z("AsyncFunction"),Vr=e=>e&&(Ce(e)||H(e))&&H(e.then)&&H(e.catch),Ct=((e,t)=>e?setImmediate:t?((n,r)=>(Y.addEventListener("message",({source:o,data:a})=>{o===Y&&a===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Y.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",H(Y.postMessage)),$r=typeof queueMicrotask<"u"?queueMicrotask.bind(Y):typeof process<"u"&&process.nextTick||Ct,h={isArray:se,isArrayBuffer:gt,isBuffer:Wn,isFormData:nr,isArrayBufferView:Gn,isString:Jn,isNumber:bt,isBoolean:Zn,isObject:Ce,isPlainObject:Ne,isReadableStream:or,isRequest:sr,isResponse:ar,isHeaders:ir,isUndefined:fe,isDate:Qn,isFile:Xn,isBlob:Yn,isRegExp:Er,isFunction:H,isStream:tr,isURLSearchParams:rr,isTypedArray:mr,isFileList:er,forEach:pe,merge:Ie,extend:cr,trim:lr,stripBOM:ur,inherits:dr,toFlatObject:fr,kindOf:xe,kindOfTest:z,endsWith:pr,toArray:hr,forEachEntry:gr,matchAll:br,isHTMLForm:yr,hasOwnProperty:Et,hasOwnProp:Et,reduceDescriptors:_t,freezeMethods:_r,toObjectSet:xr,toCamelCase:wr,noop:kr,toFiniteNumber:Cr,findKey:yt,global:Y,isContextDefined:wt,ALPHABET:kt,generateString:Nr,isSpecCompliantForm:Sr,toJSONObject:Rr,isAsyncFn:vr,isThenable:Vr,setImmediate:Ct,asap:$r};function R(e,t,n,r,o){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),r&&(this.request=r),o&&(this.response=o,this.status=o.status?o.status:null)}h.inherits(R,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:h.toJSONObject(this.config),code:this.code,status:this.status}}});const Nt=R.prototype,St={};["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=>{St[e]={value:e}}),Object.defineProperties(R,St),Object.defineProperty(Nt,"isAxiosError",{value:!0}),R.from=(e,t,n,r,o,a)=>{const i=Object.create(Nt);return h.toFlatObject(e,i,function(u){return u!==Error.prototype},l=>l!=="isAxiosError"),R.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const Or=null;function Le(e){return h.isPlainObject(e)||h.isArray(e)}function Rt(e){return h.endsWith(e,"[]")?e.slice(0,-2):e}function vt(e,t,n){return e?e.concat(t).map(function(o,a){return o=Rt(o),!n&&a?"["+o+"]":o}).join(n?".":""):t}function Tr(e){return h.isArray(e)&&!e.some(Le)}const Pr=h.toFlatObject(h,{},null,function(t){return/^is[A-Z]/.test(t)});function Se(e,t,n){if(!h.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=h.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,w){return!h.isUndefined(w[y])});const r=n.metaTokens,o=n.visitor||c,a=n.dots,i=n.indexes,u=(n.Blob||typeof Blob<"u"&&Blob)&&h.isSpecCompliantForm(t);if(!h.isFunction(o))throw new TypeError("visitor must be a function");function f(b){if(b===null)return"";if(h.isDate(b))return b.toISOString();if(!u&&h.isBlob(b))throw new R("Blob is not supported. Use a Buffer instead.");return h.isArrayBuffer(b)||h.isTypedArray(b)?u&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function c(b,y,w){let N=b;if(b&&!w&&typeof b=="object"){if(h.endsWith(y,"{}"))y=r?y:y.slice(0,-2),b=JSON.stringify(b);else if(h.isArray(b)&&Tr(b)||(h.isFileList(b)||h.endsWith(y,"[]"))&&(N=h.toArray(b)))return y=Rt(y),N.forEach(function(k,D){!(h.isUndefined(k)||k===null)&&t.append(i===!0?vt([y],D,a):i===null?y:y+"[]",f(k))}),!1}return Le(b)?!0:(t.append(vt(w,y,a),f(b)),!1)}const d=[],p=Object.assign(Pr,{defaultVisitor:c,convertValue:f,isVisitable:Le});function m(b,y){if(!h.isUndefined(b)){if(d.indexOf(b)!==-1)throw Error("Circular reference detected in "+y.join("."));d.push(b),h.forEach(b,function(N,x){(!(h.isUndefined(N)||N===null)&&o.call(t,N,h.isString(x)?x.trim():x,y,p))===!0&&m(N,y?y.concat(x):[x])}),d.pop()}}if(!h.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Vt(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function je(e,t){this._pairs=[],e&&Se(e,this,t)}const $t=je.prototype;$t.append=function(t,n){this._pairs.push([t,n])},$t.toString=function(t){const n=t?function(r){return t.call(this,r,Vt)}:Vt;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Ar(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ot(e,t,n){if(!t)return e;const r=n&&n.encode||Ar,o=n&&n.serialize;let a;if(o?a=o(t,n):a=h.isURLSearchParams(t)?t.toString():new je(t,n).toString(r),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Tt{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){h.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Pt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Br={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:je,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Fe=typeof window<"u"&&typeof document<"u",Ue=typeof navigator=="object"&&navigator||void 0,Dr=Fe&&(!Ue||["ReactNative","NativeScript","NS"].indexOf(Ue.product)<0),Ir=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Mr=Fe&&window.location.href||"http://localhost",F={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Fe,hasStandardBrowserEnv:Dr,hasStandardBrowserWebWorkerEnv:Ir,navigator:Ue,origin:Mr},Symbol.toStringTag,{value:"Module"})),...Br};function Lr(e,t){return Se(e,new F.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,a){return F.isNode&&h.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function jr(e){return h.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Fr(e){const t={},n=Object.keys(e);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],t[a]=e[a];return t}function At(e){function t(n,r,o,a){let i=n[a++];if(i==="__proto__")return!0;const l=Number.isFinite(+i),u=a>=n.length;return i=!i&&h.isArray(o)?o.length:i,u?(h.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!l):((!o[i]||!h.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],a)&&h.isArray(o[i])&&(o[i]=Fr(o[i])),!l)}if(h.isFormData(e)&&h.isFunction(e.entries)){const n={};return h.forEachEntry(e,(r,o)=>{t(jr(r),o,n,0)}),n}return null}function Ur(e,t,n){if(h.isString(e))try{return(t||JSON.parse)(e),h.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const he={transitional:Pt,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=h.isObject(t);if(a&&h.isHTMLForm(t)&&(t=new FormData(t)),h.isFormData(t))return o?JSON.stringify(At(t)):t;if(h.isArrayBuffer(t)||h.isBuffer(t)||h.isStream(t)||h.isFile(t)||h.isBlob(t)||h.isReadableStream(t))return t;if(h.isArrayBufferView(t))return t.buffer;if(h.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Lr(t,this.formSerializer).toString();if((l=h.isFileList(t))||r.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Se(l?{"files[]":t}:t,u&&new u,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),Ur(t)):t}],transformResponse:[function(t){const n=this.transitional||he.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(h.isResponse(t)||h.isReadableStream(t))return t;if(t&&h.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?R.from(l,R.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:F.classes.FormData,Blob:F.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch"],e=>{he.headers[e]={}});const Hr=h.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"]),qr=e=>{const t={};let n,r,o;return e&&e.split(`
2
2
  `).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Hr[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Bt=Symbol("internals");function me(e){return e&&String(e).trim().toLowerCase()}function Re(e){return e===!1||e==null?e:h.isArray(e)?e.map(Re):String(e)}function zr(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const Kr=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function He(e,t,n,r,o){if(h.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!h.isString(t)){if(h.isString(r))return t.indexOf(r)!==-1;if(h.isRegExp(r))return r.test(t)}}function Wr(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function Gr(e,t){const n=h.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,a,i){return this[r].call(this,t,o,a,i)},configurable:!0})})}class U{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function a(l,u,f){const c=me(u);if(!c)throw new Error("header name must be a non-empty string");const d=h.findKey(o,c);(!d||o[d]===void 0||f===!0||f===void 0&&o[d]!==!1)&&(o[d||u]=Re(l))}const i=(l,u)=>h.forEach(l,(f,c)=>a(f,c,u));if(h.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(h.isString(t)&&(t=t.trim())&&!Kr(t))i(qr(t),n);else if(h.isHeaders(t))for(const[l,u]of t.entries())a(u,l,r);else t!=null&&a(n,t,r);return this}get(t,n){if(t=me(t),t){const r=h.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return zr(o);if(h.isFunction(n))return n.call(this,o,r);if(h.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=me(t),t){const r=h.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||He(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function a(i){if(i=me(i),i){const l=h.findKey(r,i);l&&(!n||He(r,r[l],l,n))&&(delete r[l],o=!0)}}return h.isArray(t)?t.forEach(a):a(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!t||He(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const n=this,r={};return h.forEach(this,(o,a)=>{const i=h.findKey(r,a);if(i){n[i]=Re(o),delete n[a];return}const l=t?Wr(a):String(a).trim();l!==a&&delete n[a],n[l]=Re(o),r[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return h.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&h.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
3
3
  `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Bt]=this[Bt]={accessors:{}}).accessors,o=this.prototype;function a(i){const l=me(i);r[l]||(Gr(o,i),r[l]=!0)}return h.isArray(t)?t.forEach(a):a(t),this}}U.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),h.reduceDescriptors(U.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}}),h.freezeMethods(U);function qe(e,t){const n=this||he,r=t||n,o=U.from(r.headers);let a=r.data;return h.forEach(e,function(l){a=l.call(n,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function Dt(e){return!!(e&&e.__CANCEL__)}function ae(e,t,n){R.call(this,e??"canceled",R.ERR_CANCELED,t,n),this.name="CanceledError"}h.inherits(ae,R,{__CANCEL__:!0});function It(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new R("Request failed with status code "+n.status,[R.ERR_BAD_REQUEST,R.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Jr(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Zr(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(u){const f=Date.now(),c=r[a];i||(i=f),n[o]=u,r[o]=f;let d=a,p=0;for(;d!==o;)p+=n[d++],d=d%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),f-i<t)return;const m=c&&f-c;return m?Math.round(p*1e3/m):void 0}}function Qr(e,t){let n=0,r=1e3/t,o,a;const i=(f,c=Date.now())=>{n=c,o=null,a&&(clearTimeout(a),a=null),e.apply(null,f)};return[(...f)=>{const c=Date.now(),d=c-n;d>=r?i(f,c):(o=f,a||(a=setTimeout(()=>{a=null,i(o)},r-d)))},()=>o&&i(o)]}const ve=(e,t,n=3)=>{let r=0;const o=Zr(50,250);return Qr(a=>{const i=a.loaded,l=a.lengthComputable?a.total:void 0,u=i-r,f=o(u),c=i<=l;r=i;const d={loaded:i,total:l,progress:l?i/l:void 0,bytes:u,rate:f||void 0,estimated:f&&l&&c?(l-i)/f:void 0,event:a,lengthComputable:l!=null,[t?"download":"upload"]:!0};e(d)},n)},Mt=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Lt=e=>(...t)=>h.asap(()=>e(...t)),Xr=F.hasStandardBrowserEnv?function(){const t=F.navigator&&/(msie|trident)/i.test(F.navigator.userAgent),n=document.createElement("a");let r;function o(a){let i=a;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const l=h.isString(i)?o(i):i;return l.protocol===r.protocol&&l.host===r.host}}():function(){return function(){return!0}}(),Yr=F.hasStandardBrowserEnv?{write(e,t,n,r,o,a){const i=[e+"="+encodeURIComponent(t)];h.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),h.isString(r)&&i.push("path="+r),h.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function eo(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function to(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function jt(e,t){return e&&!eo(t)?to(e,t):t}const Ft=e=>e instanceof U?{...e}:e;function ee(e,t){t=t||{};const n={};function r(f,c,d){return h.isPlainObject(f)&&h.isPlainObject(c)?h.merge.call({caseless:d},f,c):h.isPlainObject(c)?h.merge({},c):h.isArray(c)?c.slice():c}function o(f,c,d){if(h.isUndefined(c)){if(!h.isUndefined(f))return r(void 0,f,d)}else return r(f,c,d)}function a(f,c){if(!h.isUndefined(c))return r(void 0,c)}function i(f,c){if(h.isUndefined(c)){if(!h.isUndefined(f))return r(void 0,f)}else return r(void 0,c)}function l(f,c,d){if(d in t)return r(f,c);if(d in e)return r(void 0,f)}const u={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(f,c)=>o(Ft(f),Ft(c),!0)};return h.forEach(Object.keys(Object.assign({},e,t)),function(c){const d=u[c]||o,p=d(e[c],t[c],c);h.isUndefined(p)&&d!==l||(n[c]=p)}),n}const Ut=e=>{const t=ee({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:l}=t;t.headers=i=U.from(i),t.url=Ot(jt(t.baseURL,t.url),e.params,e.paramsSerializer),l&&i.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):"")));let u;if(h.isFormData(n)){if(F.hasStandardBrowserEnv||F.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((u=i.getContentType())!==!1){const[f,...c]=u?u.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([f||"multipart/form-data",...c].join("; "))}}if(F.hasStandardBrowserEnv&&(r&&h.isFunction(r)&&(r=r(t)),r||r!==!1&&Xr(t.url))){const f=o&&a&&Yr.read(a);f&&i.set(o,f)}return t},no=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(n,r){const o=Ut(e);let a=o.data;const i=U.from(o.headers).normalize();let{responseType:l,onUploadProgress:u,onDownloadProgress:f}=o,c,d,p,m,b;function y(){m&&m(),b&&b(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let w=new XMLHttpRequest;w.open(o.method.toUpperCase(),o.url,!0),w.timeout=o.timeout;function N(){if(!w)return;const k=U.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),S={data:!l||l==="text"||l==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:k,config:e,request:w};It(function(P){n(P),y()},function(P){r(P),y()},S),w=null}"onloadend"in w?w.onloadend=N:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(N)},w.onabort=function(){w&&(r(new R("Request aborted",R.ECONNABORTED,e,w)),w=null)},w.onerror=function(){r(new R("Network Error",R.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let D=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const S=o.transitional||Pt;o.timeoutErrorMessage&&(D=o.timeoutErrorMessage),r(new R(D,S.clarifyTimeoutError?R.ETIMEDOUT:R.ECONNABORTED,e,w)),w=null},a===void 0&&i.setContentType(null),"setRequestHeader"in w&&h.forEach(i.toJSON(),function(D,S){w.setRequestHeader(S,D)}),h.isUndefined(o.withCredentials)||(w.withCredentials=!!o.withCredentials),l&&l!=="json"&&(w.responseType=o.responseType),f&&([p,b]=ve(f,!0),w.addEventListener("progress",p)),u&&w.upload&&([d,m]=ve(u),w.upload.addEventListener("progress",d),w.upload.addEventListener("loadend",m)),(o.cancelToken||o.signal)&&(c=k=>{w&&(r(!k||k.type?new ae(null,e,w):k),w.abort(),w=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const x=Jr(o.url);if(x&&F.protocols.indexOf(x)===-1){r(new R("Unsupported protocol "+x+":",R.ERR_BAD_REQUEST,e));return}w.send(a||null)})},ro=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const a=function(f){if(!o){o=!0,l();const c=f instanceof Error?f:this.reason;r.abort(c instanceof R?c:new ae(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,a(new R(`timeout ${t} of ms exceeded`,R.ETIMEDOUT))},t);const l=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(a):f.removeEventListener("abort",a)}),e=null)};e.forEach(f=>f.addEventListener("abort",a));const{signal:u}=r;return u.unsubscribe=()=>h.asap(l),u}},oo=function*(e,t){let n=e.byteLength;if(!t||n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},so=async function*(e,t){for await(const n of ao(e))yield*oo(n,t)},ao=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},Ht=(e,t,n,r)=>{const o=so(e,t);let a=0,i,l=u=>{i||(i=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:f,value:c}=await o.next();if(f){l(),u.close();return}let d=c.byteLength;if(n){let p=a+=d;n(p)}u.enqueue(new Uint8Array(c))}catch(f){throw l(f),f}},cancel(u){return l(u),o.return()}},{highWaterMark:2})},Ve=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",qt=Ve&&typeof ReadableStream=="function",io=Ve&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),zt=(e,...t)=>{try{return!!e(...t)}catch{return!1}},lo=qt&&zt(()=>{let e=!1;const t=new Request(F.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Kt=64*1024,ze=qt&&zt(()=>h.isReadableStream(new Response("").body)),$e={stream:ze&&(e=>e.body)};Ve&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!$e[t]&&($e[t]=h.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new R(`Response type '${t}' is not supported`,R.ERR_NOT_SUPPORT,r)})})})(new Response);const co=async e=>{if(e==null)return 0;if(h.isBlob(e))return e.size;if(h.isSpecCompliantForm(e))return(await new Request(F.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(h.isArrayBufferView(e)||h.isArrayBuffer(e))return e.byteLength;if(h.isURLSearchParams(e)&&(e=e+""),h.isString(e))return(await io(e)).byteLength},uo=async(e,t)=>{const n=h.toFiniteNumber(e.getContentLength());return n??co(t)},Ke={http:Or,xhr:no,fetch:Ve&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:a,timeout:i,onDownloadProgress:l,onUploadProgress:u,responseType:f,headers:c,withCredentials:d="same-origin",fetchOptions:p}=Ut(e);f=f?(f+"").toLowerCase():"text";let m=ro([o,a&&a.toAbortSignal()],i),b;const y=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let w;try{if(u&&lo&&n!=="get"&&n!=="head"&&(w=await uo(c,r))!==0){let S=new Request(t,{method:"POST",body:r,duplex:"half"}),I;if(h.isFormData(r)&&(I=S.headers.get("content-type"))&&c.setContentType(I),S.body){const[P,ne]=Mt(w,ve(Lt(u)));r=Ht(S.body,Kt,P,ne)}}h.isString(d)||(d=d?"include":"omit");const N="credentials"in Request.prototype;b=new Request(t,{...p,signal:m,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:N?d:void 0});let x=await fetch(b);const k=ze&&(f==="stream"||f==="response");if(ze&&(l||k&&y)){const S={};["status","statusText","headers"].forEach(ue=>{S[ue]=x[ue]});const I=h.toFiniteNumber(x.headers.get("content-length")),[P,ne]=l&&Mt(I,ve(Lt(l),!0))||[];x=new Response(Ht(x.body,Kt,P,()=>{ne&&ne(),y&&y()}),S)}f=f||"text";let D=await $e[h.findKey($e,f)||"text"](x,e);return!k&&y&&y(),await new Promise((S,I)=>{It(S,I,{data:D,headers:U.from(x.headers),status:x.status,statusText:x.statusText,config:e,request:b})})}catch(N){throw y&&y(),N&&N.name==="TypeError"&&/fetch/i.test(N.message)?Object.assign(new R("Network Error",R.ERR_NETWORK,e,b),{cause:N.cause||N}):R.from(N,N&&N.code,e,b)}})};h.forEach(Ke,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Wt=e=>`- ${e}`,fo=e=>h.isFunction(e)||e===null||e===!1,Gt={getAdapter:e=>{e=h.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let a=0;a<t;a++){n=e[a];let i;if(r=n,!fo(n)&&(r=Ke[(i=String(n)).toLowerCase()],r===void 0))throw new R(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+a]=r}if(!r){const a=Object.entries(o).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since :
4
4
  `+a.map(Wt).join(`
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@opengis/admin",
3
- "version": "0.1.0",
4
- "description": "This project was bootstrapped with Fastify-CLI.",
5
- "main": "plugin.js",
3
+ "version": "0.1.1",
4
+ "description": "This project Softpro Admin",
5
+ "main": "dist/admin.js",
6
6
  "type": "module",
7
7
  "directories": {
8
8
  "test": "test"
File without changes