pangea-lib 4.0.114 → 4.0.116
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.
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +1 -1
- package/package.json +1 -1
package/dist/main.cjs.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...a){const r=new this(t);return a.forEach(n=>r.set(n)),r}static accessor(t){const r=(this[Of]=this[Of]={accessors:{}}).accessors,n=this.prototype;function c(i){const s=_a(i);r[s]||(NE(n,i),r[s]=!0)}return _1.isArray(t)?t.forEach(c):c(t),this}}oi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);_1.reduceDescriptors(oi.prototype,({value:e},t)=>{let a=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[a]=r}}});_1.freezeMethods(oi);const o4=oi;function z5(e,t){const a=this||mo,r=t||a,n=o4.from(r.headers);let c=r.data;return _1.forEach(e,function(s){c=s.call(a,c,n.normalize(),t?t.status:void 0)}),n.normalize(),c}function ev(e){return!!(e&&e.__CANCEL__)}function pa(e,t,a){t2.call(this,e??"canceled",t2.ERR_CANCELED,t,a),this.name="CanceledError"}_1.inherits(pa,t2,{__CANCEL__:!0});function tv(e,t,a){const r=a.config.validateStatus;!a.status||!r||r(a.status)?e(a):t(new t2("Request failed with status code "+a.status,[t2.ERR_BAD_REQUEST,t2.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}function DE(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function OE(e,t){e=e||10;const a=new Array(e),r=new Array(e);let n=0,c=0,i;return t=t!==void 0?t:1e3,function(l){const f=Date.now(),u=r[c];i||(i=f),a[n]=l,r[n]=f;let d=c,h=0;for(;d!==n;)h+=a[d++],d=d%e;if(n=(n+1)%e,n===c&&(c=(c+1)%e),f-i<t)return;const m=u&&f-u;return m?Math.round(h*1e3/m):void 0}}function PE(e,t){let a=0,r=1e3/t,n,c;const i=(f,u=Date.now())=>{a=u,n=null,c&&(clearTimeout(c),c=null),e.apply(null,f)};return[(...f)=>{const u=Date.now(),d=u-a;d>=r?i(f,u):(n=f,c||(c=setTimeout(()=>{c=null,i(n)},r-d)))},()=>n&&i(n)]}const uc=(e,t,a=3)=>{let r=0;const n=OE(50,250);return PE(c=>{const i=c.loaded,s=c.lengthComputable?c.total:void 0,l=i-r,f=n(l),u=i<=s;r=i;const d={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:f||void 0,estimated:f&&s&&u?(s-i)/f:void 0,event:c,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(d)},a)},Pf=(e,t)=>{const a=e!=null;return[r=>t[0]({lengthComputable:a,total:e,loaded:r}),t[1]]},Bf=e=>(...t)=>_1.asap(()=>e(...t)),BE=Ke.hasStandardBrowserEnv?((e,t)=>a=>(a=new URL(a,Ke.origin),e.protocol===a.protocol&&e.host===a.host&&(t||e.port===a.port)))(new URL(Ke.origin),Ke.navigator&&/(msie|trident)/i.test(Ke.navigator.userAgent)):()=>!0,FE=Ke.hasStandardBrowserEnv?{write(e,t,a,r,n,c){const i=[e+"="+encodeURIComponent(t)];_1.isNumber(a)&&i.push("expires="+new Date(a).toGMTString()),_1.isString(r)&&i.push("path="+r),_1.isString(n)&&i.push("domain="+n),c===!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 RE(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function IE(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function av(e,t){return e&&!RE(t)?IE(e,t):t}const Ff=e=>e instanceof o4?{...e}:e;function Q0(e,t){t=t||{};const a={};function r(f,u,d,h){return _1.isPlainObject(f)&&_1.isPlainObject(u)?_1.merge.call({caseless:h},f,u):_1.isPlainObject(u)?_1.merge({},u):_1.isArray(u)?u.slice():u}function n(f,u,d,h){if(_1.isUndefined(u)){if(!_1.isUndefined(f))return r(void 0,f,d,h)}else return r(f,u,d,h)}function c(f,u){if(!_1.isUndefined(u))return r(void 0,u)}function i(f,u){if(_1.isUndefined(u)){if(!_1.isUndefined(f))return r(void 0,f)}else return r(void 0,u)}function s(f,u,d){if(d in t)return r(f,u);if(d in e)return r(void 0,f)}const l={url:c,method:c,data:c,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:s,headers:(f,u,d)=>n(Ff(f),Ff(u),d,!0)};return _1.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=l[u]||n,h=d(e[u],t[u],u);_1.isUndefined(h)&&d!==s||(a[u]=h)}),a}const rv=e=>{const t=Q0({},e);let{data:a,withXSRFToken:r,xsrfHeaderName:n,xsrfCookieName:c,headers:i,auth:s}=t;t.headers=i=o4.from(i),t.url=Zp(av(t.baseURL,t.url),e.params,e.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let l;if(_1.isFormData(a)){if(Ke.hasStandardBrowserEnv||Ke.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[f,...u]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([f||"multipart/form-data",...u].join("; "))}}if(Ke.hasStandardBrowserEnv&&(r&&_1.isFunction(r)&&(r=r(t)),r||r!==!1&&BE(t.url))){const f=n&&c&&FE.read(c);f&&i.set(n,f)}return t},$E=typeof XMLHttpRequest<"u",UE=$E&&function(e){return new Promise(function(a,r){const n=rv(e);let c=n.data;const i=o4.from(n.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:f}=n,u,d,h,m,v;function p(){m&&m(),v&&v(),n.cancelToken&&n.cancelToken.unsubscribe(u),n.signal&&n.signal.removeEventListener("abort",u)}let g=new XMLHttpRequest;g.open(n.method.toUpperCase(),n.url,!0),g.timeout=n.timeout;function y(){if(!g)return;const C=o4.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),M={data:!s||s==="text"||s==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:C,config:e,request:g};tv(function(z){a(z),p()},function(z){r(z),p()},M),g=null}"onloadend"in g?g.onloadend=y:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(y)},g.onabort=function(){g&&(r(new t2("Request aborted",t2.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new t2("Network Error",t2.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let b=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const M=n.transitional||Qp;n.timeoutErrorMessage&&(b=n.timeoutErrorMessage),r(new t2(b,M.clarifyTimeoutError?t2.ETIMEDOUT:t2.ECONNABORTED,e,g)),g=null},c===void 0&&i.setContentType(null),"setRequestHeader"in g&&_1.forEach(i.toJSON(),function(b,M){g.setRequestHeader(M,b)}),_1.isUndefined(n.withCredentials)||(g.withCredentials=!!n.withCredentials),s&&s!=="json"&&(g.responseType=n.responseType),f&&([h,v]=uc(f,!0),g.addEventListener("progress",h)),l&&g.upload&&([d,m]=uc(l),g.upload.addEventListener("progress",d),g.upload.addEventListener("loadend",m)),(n.cancelToken||n.signal)&&(u=C=>{g&&(r(!C||C.type?new pa(null,e,g):C),g.abort(),g=null)},n.cancelToken&&n.cancelToken.subscribe(u),n.signal&&(n.signal.aborted?u():n.signal.addEventListener("abort",u)));const x=DE(n.url);if(x&&Ke.protocols.indexOf(x)===-1){r(new t2("Unsupported protocol "+x+":",t2.ERR_BAD_REQUEST,e));return}g.send(c||null)})},WE=(e,t)=>{const{length:a}=e=e?e.filter(Boolean):[];if(t||a){let r=new AbortController,n;const c=function(f){if(!n){n=!0,s();const u=f instanceof Error?f:this.reason;r.abort(u instanceof t2?u:new pa(u instanceof Error?u.message:u))}};let i=t&&setTimeout(()=>{i=null,c(new t2(`timeout ${t} of ms exceeded`,t2.ETIMEDOUT))},t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(c):f.removeEventListener("abort",c)}),e=null)};e.forEach(f=>f.addEventListener("abort",c));const{signal:l}=r;return l.unsubscribe=()=>_1.asap(s),l}},qE=WE,jE=function*(e,t){let a=e.byteLength;if(!t||a<t){yield e;return}let r=0,n;for(;r<a;)n=r+t,yield e.slice(r,n),r=n},YE=async function*(e,t){for await(const a of GE(e))yield*jE(a,t)},GE=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:a,value:r}=await t.read();if(a)break;yield r}}finally{await t.cancel()}},Rf=(e,t,a,r)=>{const n=YE(e,t);let c=0,i,s=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:f,value:u}=await n.next();if(f){s(),l.close();return}let d=u.byteLength;if(a){let h=c+=d;a(h)}l.enqueue(new Uint8Array(u))}catch(f){throw s(f),f}},cancel(l){return s(l),n.return()}},{highWaterMark:2})},li=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",nv=li&&typeof ReadableStream=="function",XE=li&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),cv=(e,...t)=>{try{return!!e(...t)}catch{return!1}},KE=nv&&cv(()=>{let e=!1;const t=new Request(Ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),If=64*1024,Os=nv&&cv(()=>_1.isReadableStream(new Response("").body)),dc={stream:Os&&(e=>e.body)};li&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!dc[t]&&(dc[t]=_1.isFunction(e[t])?a=>a[t]():(a,r)=>{throw new t2(`Response type '${t}' is not supported`,t2.ERR_NOT_SUPPORT,r)})})})(new Response);const ZE=async e=>{if(e==null)return 0;if(_1.isBlob(e))return e.size;if(_1.isSpecCompliantForm(e))return(await new Request(Ke.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(_1.isArrayBufferView(e)||_1.isArrayBuffer(e))return e.byteLength;if(_1.isURLSearchParams(e)&&(e=e+""),_1.isString(e))return(await XE(e)).byteLength},QE=async(e,t)=>{const a=_1.toFiniteNumber(e.getContentLength());return a??ZE(t)},JE=li&&(async e=>{let{url:t,method:a,data:r,signal:n,cancelToken:c,timeout:i,onDownloadProgress:s,onUploadProgress:l,responseType:f,headers:u,withCredentials:d="same-origin",fetchOptions:h}=rv(e);f=f?(f+"").toLowerCase():"text";let m=qE([n,c&&c.toAbortSignal()],i),v;const p=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let g;try{if(l&&KE&&a!=="get"&&a!=="head"&&(g=await QE(u,r))!==0){let M=new Request(t,{method:"POST",body:r,duplex:"half"}),w;if(_1.isFormData(r)&&(w=M.headers.get("content-type"))&&u.setContentType(w),M.body){const[z,_]=Pf(g,uc(Bf(l)));r=Rf(M.body,If,z,_)}}_1.isString(d)||(d=d?"include":"omit");const y="credentials"in Request.prototype;v=new Request(t,{...h,signal:m,method:a.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:y?d:void 0});let x=await fetch(v);const C=Os&&(f==="stream"||f==="response");if(Os&&(s||C&&p)){const M={};["status","statusText","headers"].forEach(S=>{M[S]=x[S]});const w=_1.toFiniteNumber(x.headers.get("content-length")),[z,_]=s&&Pf(w,uc(Bf(s),!0))||[];x=new Response(Rf(x.body,If,z,()=>{_&&_(),p&&p()}),M)}f=f||"text";let b=await dc[_1.findKey(dc,f)||"text"](x,e);return!C&&p&&p(),await new Promise((M,w)=>{tv(M,w,{data:b,headers:o4.from(x.headers),status:x.status,statusText:x.statusText,config:e,request:v})})}catch(y){throw p&&p(),y&&y.name==="TypeError"&&/fetch/i.test(y.message)?Object.assign(new t2("Network Error",t2.ERR_NETWORK,e,v),{cause:y.cause||y}):t2.from(y,y&&y.code,e,v)}}),Ps={http:dE,xhr:UE,fetch:JE};_1.forEach(Ps,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const $f=e=>`- ${e}`,eN=e=>_1.isFunction(e)||e===null||e===!1,iv={getAdapter:e=>{e=_1.isArray(e)?e:[e];const{length:t}=e;let a,r;const n={};for(let c=0;c<t;c++){a=e[c];let i;if(r=a,!eN(a)&&(r=Ps[(i=String(a)).toLowerCase()],r===void 0))throw new t2(`Unknown adapter '${i}'`);if(r)break;n[i||"#"+c]=r}if(!r){const c=Object.entries(n).map(([s,l])=>`adapter ${s} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?c.length>1?`since :
|
|
9
9
|
`+c.map($f).join(`
|
|
10
10
|
`):" "+$f(c[0]):"as no adapter specified";throw new t2("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Ps};function w5(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pa(null,e)}function Uf(e){return w5(e),e.headers=o4.from(e.headers),e.data=z5.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),iv.getAdapter(e.adapter||mo.adapter)(e).then(function(r){return w5(e),r.data=z5.call(e,e.transformResponse,r),r.headers=o4.from(r.headers),r},function(r){return ev(r)||(w5(e),r&&r.response&&(r.response.data=z5.call(e,e.transformResponse,r.response),r.response.headers=o4.from(r.response.headers))),Promise.reject(r)})}const sv="1.7.8",fi={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{fi[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Wf={};fi.transitional=function(t,a,r){function n(c,i){return"[Axios v"+sv+"] Transitional option '"+c+"'"+i+(r?". "+r:"")}return(c,i,s)=>{if(t===!1)throw new t2(n(i," has been removed"+(a?" in "+a:"")),t2.ERR_DEPRECATED);return a&&!Wf[i]&&(Wf[i]=!0,console.warn(n(i," has been deprecated since v"+a+" and will be removed in the near future"))),t?t(c,i,s):!0}};fi.spelling=function(t){return(a,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function tN(e,t,a){if(typeof e!="object")throw new t2("options must be an object",t2.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let n=r.length;for(;n-- >0;){const c=r[n],i=t[c];if(i){const s=e[c],l=s===void 0||i(s,c,e);if(l!==!0)throw new t2("option "+c+" must be "+l,t2.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new t2("Unknown option "+c,t2.ERR_BAD_OPTION)}}const $8={assertOptions:tN,validators:fi},w4=$8.validators;class hc{constructor(t){this.defaults=t,this.interceptors={request:new Df,response:new Df}}async request(t,a){try{return await this._request(t,a)}catch(r){if(r instanceof Error){let n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;const c=n.stack?n.stack.replace(/^.+\n/,""):"";try{r.stack?c&&!String(r.stack).endsWith(c.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
11
|
-
`+c):r.stack=c}catch{}}throw r}}_request(t,a){typeof t=="string"?(a=a||{},a.url=t):a=t||{},a=Q0(this.defaults,a);const{transitional:r,paramsSerializer:n,headers:c}=a;r!==void 0&&$8.assertOptions(r,{silentJSONParsing:w4.transitional(w4.boolean),forcedJSONParsing:w4.transitional(w4.boolean),clarifyTimeoutError:w4.transitional(w4.boolean)},!1),n!=null&&(_1.isFunction(n)?a.paramsSerializer={serialize:n}:$8.assertOptions(n,{encode:w4.function,serialize:w4.function},!0)),$8.assertOptions(a,{baseUrl:w4.spelling("baseURL"),withXsrfToken:w4.spelling("withXSRFToken")},!0),a.method=(a.method||this.defaults.method||"get").toLowerCase();let i=c&&_1.merge(c.common,c[a.method]);c&&_1.forEach(["delete","get","head","post","put","patch","common"],v=>{delete c[v]}),a.headers=o4.concat(i,c);const s=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(a)===!1||(l=l&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const f=[];this.interceptors.response.forEach(function(p){f.push(p.fulfilled,p.rejected)});let u,d=0,h;if(!l){const v=[Uf.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,f),h=v.length,u=Promise.resolve(a);d<h;)u=u.then(v[d++],v[d++]);return u}h=s.length;let m=a;for(d=0;d<h;){const v=s[d++],p=s[d++];try{m=v(m)}catch(g){p.call(this,g);break}}try{u=Uf.call(this,m)}catch(v){return Promise.reject(v)}for(d=0,h=f.length;d<h;)u=u.then(f[d++],f[d++]);return u}getUri(t){t=Q0(this.defaults,t);const a=av(t.baseURL,t.url);return Zp(a,t.params,t.paramsSerializer)}}_1.forEach(["delete","get","head","options"],function(t){hc.prototype[t]=function(a,r){return this.request(Q0(r||{},{method:t,url:a,data:(r||{}).data}))}});_1.forEach(["post","put","patch"],function(t){function a(r){return function(c,i,s){return this.request(Q0(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:c,data:i}))}}hc.prototype[t]=a(),hc.prototype[t+"Form"]=a(!0)});const U8=hc;class po{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let a;this.promise=new Promise(function(c){a=c});const r=this;this.promise.then(n=>{if(!r._listeners)return;let c=r._listeners.length;for(;c-- >0;)r._listeners[c](n);r._listeners=null}),this.promise.then=n=>{let c;const i=new Promise(s=>{r.subscribe(s),c=s}).then(n);return i.cancel=function(){r.unsubscribe(c)},i},t(function(c,i,s){r.reason||(r.reason=new pa(c,i,s),a(r.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 a=this._listeners.indexOf(t);a!==-1&&this._listeners.splice(a,1)}toAbortSignal(){const t=new AbortController,a=r=>{t.abort(r)};return this.subscribe(a),t.signal.unsubscribe=()=>this.unsubscribe(a),t.signal}static source(){let t;return{token:new po(function(n){t=n}),cancel:t}}}const aN=po;function rN(e){return function(a){return e.apply(null,a)}}function nN(e){return _1.isObject(e)&&e.isAxiosError===!0}const Bs={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(Bs).forEach(([e,t])=>{Bs[t]=e});const cN=Bs;function ov(e){const t=new U8(e),a=Fp(U8.prototype.request,t);return _1.extend(a,U8.prototype,t,{allOwnKeys:!0}),_1.extend(a,t,null,{allOwnKeys:!0}),a.create=function(n){return ov(Q0(e,n))},a}const _e=ov(mo);_e.Axios=U8;_e.CanceledError=pa;_e.CancelToken=aN;_e.isCancel=ev;_e.VERSION=sv;_e.toFormData=si;_e.AxiosError=t2;_e.Cancel=_e.CanceledError;_e.all=function(t){return Promise.all(t)};_e.spread=rN;_e.isAxiosError=nN;_e.mergeConfig=Q0;_e.AxiosHeaders=o4;_e.formToJSON=e=>Jp(_1.isHTMLForm(e)?new FormData(e):e);_e.getAdapter=iv.getAdapter;_e.HttpStatusCode=cN;_e.default=_e;const E6=_e;class iN{static UploadFile(t,a){return E6.put(t,a,{headers:{"Content-Type":a.type,"x-amz-acl":"public-read"}})}}/*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */const{entries:lv,setPrototypeOf:qf,isFrozen:sN,getPrototypeOf:oN,getOwnPropertyDescriptor:lN}=Object;let{freeze:d3,seal:I3,create:fv}=Object,{apply:Fs,construct:Rs}=typeof Reflect<"u"&&Reflect;d3||(d3=function(t){return t});I3||(I3=function(t){return t});Fs||(Fs=function(t,a,r){return t.apply(a,r)});Rs||(Rs=function(t,a){return new t(...a)});const Zn=H3(Array.prototype.forEach),jf=H3(Array.prototype.pop),ka=H3(Array.prototype.push),W8=H3(String.prototype.toLowerCase),_5=H3(String.prototype.toString),Yf=H3(String.prototype.match),Ha=H3(String.prototype.replace),fN=H3(String.prototype.indexOf),uN=H3(String.prototype.trim),K3=H3(Object.prototype.hasOwnProperty),i3=H3(RegExp.prototype.test),Va=dN(TypeError);function H3(e){return function(t){for(var a=arguments.length,r=new Array(a>1?a-1:0),n=1;n<a;n++)r[n-1]=arguments[n];return Fs(e,t,r)}}function dN(e){return function(){for(var t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return Rs(e,a)}}function s2(e,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:W8;qf&&qf(e,null);let r=t.length;for(;r--;){let n=t[r];if(typeof n=="string"){const c=a(n);c!==n&&(sN(t)||(t[r]=c),n=c)}e[n]=!0}return e}function hN(e){for(let t=0;t<e.length;t++)K3(e,t)||(e[t]=null);return e}function S0(e){const t=fv(null);for(const[a,r]of lv(e))K3(e,a)&&(Array.isArray(r)?t[a]=hN(r):r&&typeof r=="object"&&r.constructor===Object?t[a]=S0(r):t[a]=r);return t}function La(e,t){for(;e!==null;){const r=lN(e,t);if(r){if(r.get)return H3(r.get);if(typeof r.value=="function")return H3(r.value)}e=oN(e)}function a(){return null}return a}const Gf=d3(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),k5=d3(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),H5=d3(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),mN=d3(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),V5=d3(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),pN=d3(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Xf=d3(["#text"]),Kf=d3(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),L5=d3(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Zf=d3(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Qn=d3(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),vN=I3(/\{\{[\w\W]*|[\w\W]*\}\}/gm),gN=I3(/<%[\w\W]*|[\w\W]*%>/gm),yN=I3(/\$\{[\w\W]*}/gm),xN=I3(/^data-[\-\w.\u00B7-\uFFFF]+$/),bN=I3(/^aria-[\-\w]+$/),uv=I3(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),CN=I3(/^(?:\w+script|data):/i),MN=I3(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),dv=I3(/^html$/i),zN=I3(/^[a-z][.\w]*(-[.\w]+)+$/i);var Qf=Object.freeze({__proto__:null,ARIA_ATTR:bN,ATTR_WHITESPACE:MN,CUSTOM_ELEMENT:zN,DATA_ATTR:xN,DOCTYPE_NAME:dv,ERB_EXPR:gN,IS_ALLOWED_URI:uv,IS_SCRIPT_OR_DATA:CN,MUSTACHE_EXPR:vN,TMPLIT_EXPR:yN});const Sa={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},wN=function(){return typeof window>"u"?null:window},_N=function(t,a){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const n="data-tt-policy-suffix";a&&a.hasAttribute(n)&&(r=a.getAttribute(n));const c="dompurify"+(r?"#"+r:"");try{return t.createPolicy(c,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+c+" could not be created."),null}},Jf=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function hv(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wN();const t=U=>hv(U);if(t.version="3.2.3",t.removed=[],!e||!e.document||e.document.nodeType!==Sa.document)return t.isSupported=!1,t;let{document:a}=e;const r=a,n=r.currentScript,{DocumentFragment:c,HTMLTemplateElement:i,Node:s,Element:l,NodeFilter:f,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:m}=e,v=l.prototype,p=La(v,"cloneNode"),g=La(v,"remove"),y=La(v,"nextSibling"),x=La(v,"childNodes"),C=La(v,"parentNode");if(typeof i=="function"){const U=a.createElement("template");U.content&&U.content.ownerDocument&&(a=U.content.ownerDocument)}let b,M="";const{implementation:w,createNodeIterator:z,createDocumentFragment:_,getElementsByTagName:S}=a,{importNode:L}=r;let H=Jf();t.isSupported=typeof lv=="function"&&typeof C=="function"&&w&&w.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:k,ERB_EXPR:E,TMPLIT_EXPR:Y,DATA_ATTR:P,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:F,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:q}=Qf;let{IS_ALLOWED_URI:G}=Qf,N=null;const A=s2({},[...Gf,...k5,...H5,...V5,...Xf]);let V=null;const W=s2({},[...Kf,...L5,...Zf,...Qn]);let j=Object.seal(fv(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),T=null,I=null,a1=!0,n1=!0,t1=!1,d1=!0,R=!1,p1=!0,z1=!1,h1=!1,l1=!1,f1=!1,u1=!1,g1=!1,k1=!0,b1=!1;const H1="user-content-";let R1=!0,$1=!1,W1={},K1=null;const d2=s2({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let G1=null;const Y2=s2({},["audio","video","img","source","image","track"]);let O1=null;const c2=s2({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),G2="http://www.w3.org/1998/Math/MathML",m2="http://www.w3.org/2000/svg",A2="http://www.w3.org/1999/xhtml";let Fe=A2,y1=!1,m1=null;const S1=s2({},[G2,m2,A2],_5);let T1=s2({},["mi","mo","mn","ms","mtext"]),Q1=s2({},["annotation-xml"]);const J2=s2({},["title","style","font","a","script"]);let ke=null;const m3=["application/xhtml+xml","text/html"],j3="text/html";let H2=null,be=null;const K4=a.createElement("form"),Z4=function(B){return B instanceof RegExp||B instanceof Function},Q4=function(){let B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(be&&be===B)){if((!B||typeof B!="object")&&(B={}),B=S0(B),ke=m3.indexOf(B.PARSER_MEDIA_TYPE)===-1?j3:B.PARSER_MEDIA_TYPE,H2=ke==="application/xhtml+xml"?_5:W8,N=K3(B,"ALLOWED_TAGS")?s2({},B.ALLOWED_TAGS,H2):A,V=K3(B,"ALLOWED_ATTR")?s2({},B.ALLOWED_ATTR,H2):W,m1=K3(B,"ALLOWED_NAMESPACES")?s2({},B.ALLOWED_NAMESPACES,_5):S1,O1=K3(B,"ADD_URI_SAFE_ATTR")?s2(S0(c2),B.ADD_URI_SAFE_ATTR,H2):c2,G1=K3(B,"ADD_DATA_URI_TAGS")?s2(S0(Y2),B.ADD_DATA_URI_TAGS,H2):Y2,K1=K3(B,"FORBID_CONTENTS")?s2({},B.FORBID_CONTENTS,H2):d2,T=K3(B,"FORBID_TAGS")?s2({},B.FORBID_TAGS,H2):{},I=K3(B,"FORBID_ATTR")?s2({},B.FORBID_ATTR,H2):{},W1=K3(B,"USE_PROFILES")?B.USE_PROFILES:!1,a1=B.ALLOW_ARIA_ATTR!==!1,n1=B.ALLOW_DATA_ATTR!==!1,t1=B.ALLOW_UNKNOWN_PROTOCOLS||!1,d1=B.ALLOW_SELF_CLOSE_IN_ATTR!==!1,R=B.SAFE_FOR_TEMPLATES||!1,p1=B.SAFE_FOR_XML!==!1,z1=B.WHOLE_DOCUMENT||!1,f1=B.RETURN_DOM||!1,u1=B.RETURN_DOM_FRAGMENT||!1,g1=B.RETURN_TRUSTED_TYPE||!1,l1=B.FORCE_BODY||!1,k1=B.SANITIZE_DOM!==!1,b1=B.SANITIZE_NAMED_PROPS||!1,R1=B.KEEP_CONTENT!==!1,$1=B.IN_PLACE||!1,G=B.ALLOWED_URI_REGEXP||uv,Fe=B.NAMESPACE||A2,T1=B.MATHML_TEXT_INTEGRATION_POINTS||T1,Q1=B.HTML_INTEGRATION_POINTS||Q1,j=B.CUSTOM_ELEMENT_HANDLING||{},B.CUSTOM_ELEMENT_HANDLING&&Z4(B.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(j.tagNameCheck=B.CUSTOM_ELEMENT_HANDLING.tagNameCheck),B.CUSTOM_ELEMENT_HANDLING&&Z4(B.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(j.attributeNameCheck=B.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),B.CUSTOM_ELEMENT_HANDLING&&typeof B.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(j.allowCustomizedBuiltInElements=B.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),R&&(n1=!1),u1&&(f1=!0),W1&&(N=s2({},Xf),V=[],W1.html===!0&&(s2(N,Gf),s2(V,Kf)),W1.svg===!0&&(s2(N,k5),s2(V,L5),s2(V,Qn)),W1.svgFilters===!0&&(s2(N,H5),s2(V,L5),s2(V,Qn)),W1.mathMl===!0&&(s2(N,V5),s2(V,Zf),s2(V,Qn))),B.ADD_TAGS&&(N===A&&(N=S0(N)),s2(N,B.ADD_TAGS,H2)),B.ADD_ATTR&&(V===W&&(V=S0(V)),s2(V,B.ADD_ATTR,H2)),B.ADD_URI_SAFE_ATTR&&s2(O1,B.ADD_URI_SAFE_ATTR,H2),B.FORBID_CONTENTS&&(K1===d2&&(K1=S0(K1)),s2(K1,B.FORBID_CONTENTS,H2)),R1&&(N["#text"]=!0),z1&&s2(N,["html","head","body"]),N.table&&(s2(N,["tbody"]),delete T.tbody),B.TRUSTED_TYPES_POLICY){if(typeof B.TRUSTED_TYPES_POLICY.createHTML!="function")throw Va('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof B.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Va('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=B.TRUSTED_TYPES_POLICY,M=b.createHTML("")}else b===void 0&&(b=_N(m,n)),b!==null&&typeof M=="string"&&(M=b.createHTML(""));d3&&d3(B),be=B}},M0=s2({},[...k5,...H5,...mN]),z0=s2({},[...V5,...pN]),E3=function(B){let K=C(B);(!K||!K.tagName)&&(K={namespaceURI:Fe,tagName:"template"});const Q=W8(B.tagName),o1=W8(K.tagName);return m1[B.namespaceURI]?B.namespaceURI===m2?K.namespaceURI===A2?Q==="svg":K.namespaceURI===G2?Q==="svg"&&(o1==="annotation-xml"||T1[o1]):!!M0[Q]:B.namespaceURI===G2?K.namespaceURI===A2?Q==="math":K.namespaceURI===m2?Q==="math"&&Q1[o1]:!!z0[Q]:B.namespaceURI===A2?K.namespaceURI===m2&&!Q1[o1]||K.namespaceURI===G2&&!T1[o1]?!1:!z0[Q]&&(J2[Q]||!M0[Q]):!!(ke==="application/xhtml+xml"&&m1[B.namespaceURI]):!1},Ue=function(B){ka(t.removed,{element:B});try{C(B).removeChild(B)}catch{g(B)}},J4=function(B,K){try{ka(t.removed,{attribute:K.getAttributeNode(B),from:K})}catch{ka(t.removed,{attribute:null,from:K})}if(K.removeAttribute(B),B==="is")if(f1||u1)try{Ue(K)}catch{}else try{K.setAttribute(B,"")}catch{}},Tt=function(B){let K=null,Q=null;if(l1)B="<remove></remove>"+B;else{const x1=Yf(B,/^[\r\n\t ]+/);Q=x1&&x1[0]}ke==="application/xhtml+xml"&&Fe===A2&&(B='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+B+"</body></html>");const o1=b?b.createHTML(B):B;if(Fe===A2)try{K=new h().parseFromString(o1,ke)}catch{}if(!K||!K.documentElement){K=w.createDocument(Fe,"template",null);try{K.documentElement.innerHTML=y1?M:o1}catch{}}const s1=K.body||K.documentElement;return B&&Q&&s1.insertBefore(a.createTextNode(Q),s1.childNodes[0]||null),Fe===A2?S.call(K,z1?"html":"body")[0]:z1?K.documentElement:s1},X=function(B){return z.call(B.ownerDocument||B,B,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},r1=function(B){return B instanceof d&&(typeof B.nodeName!="string"||typeof B.textContent!="string"||typeof B.removeChild!="function"||!(B.attributes instanceof u)||typeof B.removeAttribute!="function"||typeof B.setAttribute!="function"||typeof B.namespaceURI!="string"||typeof B.insertBefore!="function"||typeof B.hasChildNodes!="function")},J=function(B){return typeof s=="function"&&B instanceof s};function e1(U,B,K){Zn(U,Q=>{Q.call(t,B,K,be)})}const c1=function(B){let K=null;if(e1(H.beforeSanitizeElements,B,null),r1(B))return Ue(B),!0;const Q=H2(B.nodeName);if(e1(H.uponSanitizeElement,B,{tagName:Q,allowedTags:N}),B.hasChildNodes()&&!J(B.firstElementChild)&&i3(/<[/\w]/g,B.innerHTML)&&i3(/<[/\w]/g,B.textContent)||B.nodeType===Sa.progressingInstruction||p1&&B.nodeType===Sa.comment&&i3(/<[/\w]/g,B.data))return Ue(B),!0;if(!N[Q]||T[Q]){if(!T[Q]&&C1(Q)&&(j.tagNameCheck instanceof RegExp&&i3(j.tagNameCheck,Q)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Q)))return!1;if(R1&&!K1[Q]){const o1=C(B)||B.parentNode,s1=x(B)||B.childNodes;if(s1&&o1){const x1=s1.length;for(let V1=x1-1;V1>=0;--V1){const L1=p(s1[V1],!0);L1.__removalCount=(B.__removalCount||0)+1,o1.insertBefore(L1,y(B))}}}return Ue(B),!0}return B instanceof l&&!E3(B)||(Q==="noscript"||Q==="noembed"||Q==="noframes")&&i3(/<\/no(script|embed|frames)/i,B.innerHTML)?(Ue(B),!0):(R&&B.nodeType===Sa.text&&(K=B.textContent,Zn([k,E,Y],o1=>{K=Ha(K,o1," ")}),B.textContent!==K&&(ka(t.removed,{element:B.cloneNode()}),B.textContent=K)),e1(H.afterSanitizeElements,B,null),!1)},i1=function(B,K,Q){if(k1&&(K==="id"||K==="name")&&(Q in a||Q in K4))return!1;if(!(n1&&!I[K]&&i3(P,K))){if(!(a1&&i3(O,K))){if(!V[K]||I[K]){if(!(C1(B)&&(j.tagNameCheck instanceof RegExp&&i3(j.tagNameCheck,B)||j.tagNameCheck instanceof Function&&j.tagNameCheck(B))&&(j.attributeNameCheck instanceof RegExp&&i3(j.attributeNameCheck,K)||j.attributeNameCheck instanceof Function&&j.attributeNameCheck(K))||K==="is"&&j.allowCustomizedBuiltInElements&&(j.tagNameCheck instanceof RegExp&&i3(j.tagNameCheck,Q)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Q))))return!1}else if(!O1[K]){if(!i3(G,Ha(Q,Z,""))){if(!((K==="src"||K==="xlink:href"||K==="href")&&B!=="script"&&fN(Q,"data:")===0&&G1[B])){if(!(t1&&!i3(F,Ha(Q,Z,"")))){if(Q)return!1}}}}}}return!0},C1=function(B){return B!=="annotation-xml"&&Yf(B,q)},M1=function(B){e1(H.beforeSanitizeAttributes,B,null);const{attributes:K}=B;if(!K||r1(B))return;const Q={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:V,forceKeepAttr:void 0};let o1=K.length;for(;o1--;){const s1=K[o1],{name:x1,namespaceURI:V1,value:L1}=s1,w1=H2(x1);let N1=x1==="value"?L1:uN(L1);if(Q.attrName=w1,Q.attrValue=N1,Q.keepAttr=!0,Q.forceKeepAttr=void 0,e1(H.uponSanitizeAttribute,B,Q),N1=Q.attrValue,b1&&(w1==="id"||w1==="name")&&(J4(x1,B),N1=H1+N1),p1&&i3(/((--!?|])>)|<\/(style|title)/i,N1)){J4(x1,B);continue}if(Q.forceKeepAttr||(J4(x1,B),!Q.keepAttr))continue;if(!d1&&i3(/\/>/i,N1)){J4(x1,B);continue}R&&Zn([k,E,Y],J1=>{N1=Ha(N1,J1," ")});const I1=H2(B.nodeName);if(i1(I1,w1,N1)){if(b&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!V1)switch(m.getAttributeType(I1,w1)){case"TrustedHTML":{N1=b.createHTML(N1);break}case"TrustedScriptURL":{N1=b.createScriptURL(N1);break}}try{V1?B.setAttributeNS(V1,x1,N1):B.setAttribute(x1,N1),r1(B)?Ue(B):jf(t.removed)}catch{}}}e1(H.afterSanitizeAttributes,B,null)},D=function U(B){let K=null;const Q=X(B);for(e1(H.beforeSanitizeShadowDOM,B,null);K=Q.nextNode();)e1(H.uponSanitizeShadowNode,K,null),c1(K),M1(K),K.content instanceof c&&U(K.content);e1(H.afterSanitizeShadowDOM,B,null)};return t.sanitize=function(U){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},K=null,Q=null,o1=null,s1=null;if(y1=!U,y1&&(U="<!-->"),typeof U!="string"&&!J(U))if(typeof U.toString=="function"){if(U=U.toString(),typeof U!="string")throw Va("dirty is not a string, aborting")}else throw Va("toString is not a function");if(!t.isSupported)return U;if(h1||Q4(B),t.removed=[],typeof U=="string"&&($1=!1),$1){if(U.nodeName){const L1=H2(U.nodeName);if(!N[L1]||T[L1])throw Va("root node is forbidden and cannot be sanitized in-place")}}else if(U instanceof s)K=Tt("<!---->"),Q=K.ownerDocument.importNode(U,!0),Q.nodeType===Sa.element&&Q.nodeName==="BODY"||Q.nodeName==="HTML"?K=Q:K.appendChild(Q);else{if(!f1&&!R&&!z1&&U.indexOf("<")===-1)return b&&g1?b.createHTML(U):U;if(K=Tt(U),!K)return f1?null:g1?M:""}K&&l1&&Ue(K.firstChild);const x1=X($1?U:K);for(;o1=x1.nextNode();)c1(o1),M1(o1),o1.content instanceof c&&D(o1.content);if($1)return U;if(f1){if(u1)for(s1=_.call(K.ownerDocument);K.firstChild;)s1.appendChild(K.firstChild);else s1=K;return(V.shadowroot||V.shadowrootmode)&&(s1=L.call(r,s1,!0)),s1}let V1=z1?K.outerHTML:K.innerHTML;return z1&&N["!doctype"]&&K.ownerDocument&&K.ownerDocument.doctype&&K.ownerDocument.doctype.name&&i3(dv,K.ownerDocument.doctype.name)&&(V1="<!DOCTYPE "+K.ownerDocument.doctype.name+`>
|
|
11
|
+
`+c):r.stack=c}catch{}}throw r}}_request(t,a){typeof t=="string"?(a=a||{},a.url=t):a=t||{},a=Q0(this.defaults,a);const{transitional:r,paramsSerializer:n,headers:c}=a;r!==void 0&&$8.assertOptions(r,{silentJSONParsing:w4.transitional(w4.boolean),forcedJSONParsing:w4.transitional(w4.boolean),clarifyTimeoutError:w4.transitional(w4.boolean)},!1),n!=null&&(_1.isFunction(n)?a.paramsSerializer={serialize:n}:$8.assertOptions(n,{encode:w4.function,serialize:w4.function},!0)),$8.assertOptions(a,{baseUrl:w4.spelling("baseURL"),withXsrfToken:w4.spelling("withXSRFToken")},!0),a.method=(a.method||this.defaults.method||"get").toLowerCase();let i=c&&_1.merge(c.common,c[a.method]);c&&_1.forEach(["delete","get","head","post","put","patch","common"],v=>{delete c[v]}),a.headers=o4.concat(i,c);const s=[];let l=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(a)===!1||(l=l&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});const f=[];this.interceptors.response.forEach(function(p){f.push(p.fulfilled,p.rejected)});let u,d=0,h;if(!l){const v=[Uf.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,f),h=v.length,u=Promise.resolve(a);d<h;)u=u.then(v[d++],v[d++]);return u}h=s.length;let m=a;for(d=0;d<h;){const v=s[d++],p=s[d++];try{m=v(m)}catch(g){p.call(this,g);break}}try{u=Uf.call(this,m)}catch(v){return Promise.reject(v)}for(d=0,h=f.length;d<h;)u=u.then(f[d++],f[d++]);return u}getUri(t){t=Q0(this.defaults,t);const a=av(t.baseURL,t.url);return Zp(a,t.params,t.paramsSerializer)}}_1.forEach(["delete","get","head","options"],function(t){hc.prototype[t]=function(a,r){return this.request(Q0(r||{},{method:t,url:a,data:(r||{}).data}))}});_1.forEach(["post","put","patch"],function(t){function a(r){return function(c,i,s){return this.request(Q0(s||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:c,data:i}))}}hc.prototype[t]=a(),hc.prototype[t+"Form"]=a(!0)});const U8=hc;class po{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let a;this.promise=new Promise(function(c){a=c});const r=this;this.promise.then(n=>{if(!r._listeners)return;let c=r._listeners.length;for(;c-- >0;)r._listeners[c](n);r._listeners=null}),this.promise.then=n=>{let c;const i=new Promise(s=>{r.subscribe(s),c=s}).then(n);return i.cancel=function(){r.unsubscribe(c)},i},t(function(c,i,s){r.reason||(r.reason=new pa(c,i,s),a(r.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 a=this._listeners.indexOf(t);a!==-1&&this._listeners.splice(a,1)}toAbortSignal(){const t=new AbortController,a=r=>{t.abort(r)};return this.subscribe(a),t.signal.unsubscribe=()=>this.unsubscribe(a),t.signal}static source(){let t;return{token:new po(function(n){t=n}),cancel:t}}}const aN=po;function rN(e){return function(a){return e.apply(null,a)}}function nN(e){return _1.isObject(e)&&e.isAxiosError===!0}const Bs={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(Bs).forEach(([e,t])=>{Bs[t]=e});const cN=Bs;function ov(e){const t=new U8(e),a=Fp(U8.prototype.request,t);return _1.extend(a,U8.prototype,t,{allOwnKeys:!0}),_1.extend(a,t,null,{allOwnKeys:!0}),a.create=function(n){return ov(Q0(e,n))},a}const _e=ov(mo);_e.Axios=U8;_e.CanceledError=pa;_e.CancelToken=aN;_e.isCancel=ev;_e.VERSION=sv;_e.toFormData=si;_e.AxiosError=t2;_e.Cancel=_e.CanceledError;_e.all=function(t){return Promise.all(t)};_e.spread=rN;_e.isAxiosError=nN;_e.mergeConfig=Q0;_e.AxiosHeaders=o4;_e.formToJSON=e=>Jp(_1.isHTMLForm(e)?new FormData(e):e);_e.getAdapter=iv.getAdapter;_e.HttpStatusCode=cN;_e.default=_e;const E6=_e;class iN{static UploadFile(t,a){return E6.put(t,a,{headers:{"Content-Type":a.type,"x-amz-acl":"private"}})}}/*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */const{entries:lv,setPrototypeOf:qf,isFrozen:sN,getPrototypeOf:oN,getOwnPropertyDescriptor:lN}=Object;let{freeze:d3,seal:I3,create:fv}=Object,{apply:Fs,construct:Rs}=typeof Reflect<"u"&&Reflect;d3||(d3=function(t){return t});I3||(I3=function(t){return t});Fs||(Fs=function(t,a,r){return t.apply(a,r)});Rs||(Rs=function(t,a){return new t(...a)});const Zn=H3(Array.prototype.forEach),jf=H3(Array.prototype.pop),ka=H3(Array.prototype.push),W8=H3(String.prototype.toLowerCase),_5=H3(String.prototype.toString),Yf=H3(String.prototype.match),Ha=H3(String.prototype.replace),fN=H3(String.prototype.indexOf),uN=H3(String.prototype.trim),K3=H3(Object.prototype.hasOwnProperty),i3=H3(RegExp.prototype.test),Va=dN(TypeError);function H3(e){return function(t){for(var a=arguments.length,r=new Array(a>1?a-1:0),n=1;n<a;n++)r[n-1]=arguments[n];return Fs(e,t,r)}}function dN(e){return function(){for(var t=arguments.length,a=new Array(t),r=0;r<t;r++)a[r]=arguments[r];return Rs(e,a)}}function s2(e,t){let a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:W8;qf&&qf(e,null);let r=t.length;for(;r--;){let n=t[r];if(typeof n=="string"){const c=a(n);c!==n&&(sN(t)||(t[r]=c),n=c)}e[n]=!0}return e}function hN(e){for(let t=0;t<e.length;t++)K3(e,t)||(e[t]=null);return e}function S0(e){const t=fv(null);for(const[a,r]of lv(e))K3(e,a)&&(Array.isArray(r)?t[a]=hN(r):r&&typeof r=="object"&&r.constructor===Object?t[a]=S0(r):t[a]=r);return t}function La(e,t){for(;e!==null;){const r=lN(e,t);if(r){if(r.get)return H3(r.get);if(typeof r.value=="function")return H3(r.value)}e=oN(e)}function a(){return null}return a}const Gf=d3(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),k5=d3(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),H5=d3(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),mN=d3(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),V5=d3(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),pN=d3(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Xf=d3(["#text"]),Kf=d3(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),L5=d3(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Zf=d3(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Qn=d3(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),vN=I3(/\{\{[\w\W]*|[\w\W]*\}\}/gm),gN=I3(/<%[\w\W]*|[\w\W]*%>/gm),yN=I3(/\$\{[\w\W]*}/gm),xN=I3(/^data-[\-\w.\u00B7-\uFFFF]+$/),bN=I3(/^aria-[\-\w]+$/),uv=I3(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),CN=I3(/^(?:\w+script|data):/i),MN=I3(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),dv=I3(/^html$/i),zN=I3(/^[a-z][.\w]*(-[.\w]+)+$/i);var Qf=Object.freeze({__proto__:null,ARIA_ATTR:bN,ATTR_WHITESPACE:MN,CUSTOM_ELEMENT:zN,DATA_ATTR:xN,DOCTYPE_NAME:dv,ERB_EXPR:gN,IS_ALLOWED_URI:uv,IS_SCRIPT_OR_DATA:CN,MUSTACHE_EXPR:vN,TMPLIT_EXPR:yN});const Sa={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},wN=function(){return typeof window>"u"?null:window},_N=function(t,a){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let r=null;const n="data-tt-policy-suffix";a&&a.hasAttribute(n)&&(r=a.getAttribute(n));const c="dompurify"+(r?"#"+r:"");try{return t.createPolicy(c,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+c+" could not be created."),null}},Jf=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function hv(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wN();const t=U=>hv(U);if(t.version="3.2.3",t.removed=[],!e||!e.document||e.document.nodeType!==Sa.document)return t.isSupported=!1,t;let{document:a}=e;const r=a,n=r.currentScript,{DocumentFragment:c,HTMLTemplateElement:i,Node:s,Element:l,NodeFilter:f,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:m}=e,v=l.prototype,p=La(v,"cloneNode"),g=La(v,"remove"),y=La(v,"nextSibling"),x=La(v,"childNodes"),C=La(v,"parentNode");if(typeof i=="function"){const U=a.createElement("template");U.content&&U.content.ownerDocument&&(a=U.content.ownerDocument)}let b,M="";const{implementation:w,createNodeIterator:z,createDocumentFragment:_,getElementsByTagName:S}=a,{importNode:L}=r;let H=Jf();t.isSupported=typeof lv=="function"&&typeof C=="function"&&w&&w.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:k,ERB_EXPR:E,TMPLIT_EXPR:Y,DATA_ATTR:P,ARIA_ATTR:O,IS_SCRIPT_OR_DATA:F,ATTR_WHITESPACE:Z,CUSTOM_ELEMENT:q}=Qf;let{IS_ALLOWED_URI:G}=Qf,N=null;const A=s2({},[...Gf,...k5,...H5,...V5,...Xf]);let V=null;const W=s2({},[...Kf,...L5,...Zf,...Qn]);let j=Object.seal(fv(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),T=null,I=null,a1=!0,n1=!0,t1=!1,d1=!0,R=!1,p1=!0,z1=!1,h1=!1,l1=!1,f1=!1,u1=!1,g1=!1,k1=!0,b1=!1;const H1="user-content-";let R1=!0,$1=!1,W1={},K1=null;const d2=s2({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let G1=null;const Y2=s2({},["audio","video","img","source","image","track"]);let O1=null;const c2=s2({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),G2="http://www.w3.org/1998/Math/MathML",m2="http://www.w3.org/2000/svg",A2="http://www.w3.org/1999/xhtml";let Fe=A2,y1=!1,m1=null;const S1=s2({},[G2,m2,A2],_5);let T1=s2({},["mi","mo","mn","ms","mtext"]),Q1=s2({},["annotation-xml"]);const J2=s2({},["title","style","font","a","script"]);let ke=null;const m3=["application/xhtml+xml","text/html"],j3="text/html";let H2=null,be=null;const K4=a.createElement("form"),Z4=function(B){return B instanceof RegExp||B instanceof Function},Q4=function(){let B=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(be&&be===B)){if((!B||typeof B!="object")&&(B={}),B=S0(B),ke=m3.indexOf(B.PARSER_MEDIA_TYPE)===-1?j3:B.PARSER_MEDIA_TYPE,H2=ke==="application/xhtml+xml"?_5:W8,N=K3(B,"ALLOWED_TAGS")?s2({},B.ALLOWED_TAGS,H2):A,V=K3(B,"ALLOWED_ATTR")?s2({},B.ALLOWED_ATTR,H2):W,m1=K3(B,"ALLOWED_NAMESPACES")?s2({},B.ALLOWED_NAMESPACES,_5):S1,O1=K3(B,"ADD_URI_SAFE_ATTR")?s2(S0(c2),B.ADD_URI_SAFE_ATTR,H2):c2,G1=K3(B,"ADD_DATA_URI_TAGS")?s2(S0(Y2),B.ADD_DATA_URI_TAGS,H2):Y2,K1=K3(B,"FORBID_CONTENTS")?s2({},B.FORBID_CONTENTS,H2):d2,T=K3(B,"FORBID_TAGS")?s2({},B.FORBID_TAGS,H2):{},I=K3(B,"FORBID_ATTR")?s2({},B.FORBID_ATTR,H2):{},W1=K3(B,"USE_PROFILES")?B.USE_PROFILES:!1,a1=B.ALLOW_ARIA_ATTR!==!1,n1=B.ALLOW_DATA_ATTR!==!1,t1=B.ALLOW_UNKNOWN_PROTOCOLS||!1,d1=B.ALLOW_SELF_CLOSE_IN_ATTR!==!1,R=B.SAFE_FOR_TEMPLATES||!1,p1=B.SAFE_FOR_XML!==!1,z1=B.WHOLE_DOCUMENT||!1,f1=B.RETURN_DOM||!1,u1=B.RETURN_DOM_FRAGMENT||!1,g1=B.RETURN_TRUSTED_TYPE||!1,l1=B.FORCE_BODY||!1,k1=B.SANITIZE_DOM!==!1,b1=B.SANITIZE_NAMED_PROPS||!1,R1=B.KEEP_CONTENT!==!1,$1=B.IN_PLACE||!1,G=B.ALLOWED_URI_REGEXP||uv,Fe=B.NAMESPACE||A2,T1=B.MATHML_TEXT_INTEGRATION_POINTS||T1,Q1=B.HTML_INTEGRATION_POINTS||Q1,j=B.CUSTOM_ELEMENT_HANDLING||{},B.CUSTOM_ELEMENT_HANDLING&&Z4(B.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(j.tagNameCheck=B.CUSTOM_ELEMENT_HANDLING.tagNameCheck),B.CUSTOM_ELEMENT_HANDLING&&Z4(B.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(j.attributeNameCheck=B.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),B.CUSTOM_ELEMENT_HANDLING&&typeof B.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(j.allowCustomizedBuiltInElements=B.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),R&&(n1=!1),u1&&(f1=!0),W1&&(N=s2({},Xf),V=[],W1.html===!0&&(s2(N,Gf),s2(V,Kf)),W1.svg===!0&&(s2(N,k5),s2(V,L5),s2(V,Qn)),W1.svgFilters===!0&&(s2(N,H5),s2(V,L5),s2(V,Qn)),W1.mathMl===!0&&(s2(N,V5),s2(V,Zf),s2(V,Qn))),B.ADD_TAGS&&(N===A&&(N=S0(N)),s2(N,B.ADD_TAGS,H2)),B.ADD_ATTR&&(V===W&&(V=S0(V)),s2(V,B.ADD_ATTR,H2)),B.ADD_URI_SAFE_ATTR&&s2(O1,B.ADD_URI_SAFE_ATTR,H2),B.FORBID_CONTENTS&&(K1===d2&&(K1=S0(K1)),s2(K1,B.FORBID_CONTENTS,H2)),R1&&(N["#text"]=!0),z1&&s2(N,["html","head","body"]),N.table&&(s2(N,["tbody"]),delete T.tbody),B.TRUSTED_TYPES_POLICY){if(typeof B.TRUSTED_TYPES_POLICY.createHTML!="function")throw Va('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof B.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Va('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=B.TRUSTED_TYPES_POLICY,M=b.createHTML("")}else b===void 0&&(b=_N(m,n)),b!==null&&typeof M=="string"&&(M=b.createHTML(""));d3&&d3(B),be=B}},M0=s2({},[...k5,...H5,...mN]),z0=s2({},[...V5,...pN]),E3=function(B){let K=C(B);(!K||!K.tagName)&&(K={namespaceURI:Fe,tagName:"template"});const Q=W8(B.tagName),o1=W8(K.tagName);return m1[B.namespaceURI]?B.namespaceURI===m2?K.namespaceURI===A2?Q==="svg":K.namespaceURI===G2?Q==="svg"&&(o1==="annotation-xml"||T1[o1]):!!M0[Q]:B.namespaceURI===G2?K.namespaceURI===A2?Q==="math":K.namespaceURI===m2?Q==="math"&&Q1[o1]:!!z0[Q]:B.namespaceURI===A2?K.namespaceURI===m2&&!Q1[o1]||K.namespaceURI===G2&&!T1[o1]?!1:!z0[Q]&&(J2[Q]||!M0[Q]):!!(ke==="application/xhtml+xml"&&m1[B.namespaceURI]):!1},Ue=function(B){ka(t.removed,{element:B});try{C(B).removeChild(B)}catch{g(B)}},J4=function(B,K){try{ka(t.removed,{attribute:K.getAttributeNode(B),from:K})}catch{ka(t.removed,{attribute:null,from:K})}if(K.removeAttribute(B),B==="is")if(f1||u1)try{Ue(K)}catch{}else try{K.setAttribute(B,"")}catch{}},Tt=function(B){let K=null,Q=null;if(l1)B="<remove></remove>"+B;else{const x1=Yf(B,/^[\r\n\t ]+/);Q=x1&&x1[0]}ke==="application/xhtml+xml"&&Fe===A2&&(B='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+B+"</body></html>");const o1=b?b.createHTML(B):B;if(Fe===A2)try{K=new h().parseFromString(o1,ke)}catch{}if(!K||!K.documentElement){K=w.createDocument(Fe,"template",null);try{K.documentElement.innerHTML=y1?M:o1}catch{}}const s1=K.body||K.documentElement;return B&&Q&&s1.insertBefore(a.createTextNode(Q),s1.childNodes[0]||null),Fe===A2?S.call(K,z1?"html":"body")[0]:z1?K.documentElement:s1},X=function(B){return z.call(B.ownerDocument||B,B,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},r1=function(B){return B instanceof d&&(typeof B.nodeName!="string"||typeof B.textContent!="string"||typeof B.removeChild!="function"||!(B.attributes instanceof u)||typeof B.removeAttribute!="function"||typeof B.setAttribute!="function"||typeof B.namespaceURI!="string"||typeof B.insertBefore!="function"||typeof B.hasChildNodes!="function")},J=function(B){return typeof s=="function"&&B instanceof s};function e1(U,B,K){Zn(U,Q=>{Q.call(t,B,K,be)})}const c1=function(B){let K=null;if(e1(H.beforeSanitizeElements,B,null),r1(B))return Ue(B),!0;const Q=H2(B.nodeName);if(e1(H.uponSanitizeElement,B,{tagName:Q,allowedTags:N}),B.hasChildNodes()&&!J(B.firstElementChild)&&i3(/<[/\w]/g,B.innerHTML)&&i3(/<[/\w]/g,B.textContent)||B.nodeType===Sa.progressingInstruction||p1&&B.nodeType===Sa.comment&&i3(/<[/\w]/g,B.data))return Ue(B),!0;if(!N[Q]||T[Q]){if(!T[Q]&&C1(Q)&&(j.tagNameCheck instanceof RegExp&&i3(j.tagNameCheck,Q)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Q)))return!1;if(R1&&!K1[Q]){const o1=C(B)||B.parentNode,s1=x(B)||B.childNodes;if(s1&&o1){const x1=s1.length;for(let V1=x1-1;V1>=0;--V1){const L1=p(s1[V1],!0);L1.__removalCount=(B.__removalCount||0)+1,o1.insertBefore(L1,y(B))}}}return Ue(B),!0}return B instanceof l&&!E3(B)||(Q==="noscript"||Q==="noembed"||Q==="noframes")&&i3(/<\/no(script|embed|frames)/i,B.innerHTML)?(Ue(B),!0):(R&&B.nodeType===Sa.text&&(K=B.textContent,Zn([k,E,Y],o1=>{K=Ha(K,o1," ")}),B.textContent!==K&&(ka(t.removed,{element:B.cloneNode()}),B.textContent=K)),e1(H.afterSanitizeElements,B,null),!1)},i1=function(B,K,Q){if(k1&&(K==="id"||K==="name")&&(Q in a||Q in K4))return!1;if(!(n1&&!I[K]&&i3(P,K))){if(!(a1&&i3(O,K))){if(!V[K]||I[K]){if(!(C1(B)&&(j.tagNameCheck instanceof RegExp&&i3(j.tagNameCheck,B)||j.tagNameCheck instanceof Function&&j.tagNameCheck(B))&&(j.attributeNameCheck instanceof RegExp&&i3(j.attributeNameCheck,K)||j.attributeNameCheck instanceof Function&&j.attributeNameCheck(K))||K==="is"&&j.allowCustomizedBuiltInElements&&(j.tagNameCheck instanceof RegExp&&i3(j.tagNameCheck,Q)||j.tagNameCheck instanceof Function&&j.tagNameCheck(Q))))return!1}else if(!O1[K]){if(!i3(G,Ha(Q,Z,""))){if(!((K==="src"||K==="xlink:href"||K==="href")&&B!=="script"&&fN(Q,"data:")===0&&G1[B])){if(!(t1&&!i3(F,Ha(Q,Z,"")))){if(Q)return!1}}}}}}return!0},C1=function(B){return B!=="annotation-xml"&&Yf(B,q)},M1=function(B){e1(H.beforeSanitizeAttributes,B,null);const{attributes:K}=B;if(!K||r1(B))return;const Q={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:V,forceKeepAttr:void 0};let o1=K.length;for(;o1--;){const s1=K[o1],{name:x1,namespaceURI:V1,value:L1}=s1,w1=H2(x1);let N1=x1==="value"?L1:uN(L1);if(Q.attrName=w1,Q.attrValue=N1,Q.keepAttr=!0,Q.forceKeepAttr=void 0,e1(H.uponSanitizeAttribute,B,Q),N1=Q.attrValue,b1&&(w1==="id"||w1==="name")&&(J4(x1,B),N1=H1+N1),p1&&i3(/((--!?|])>)|<\/(style|title)/i,N1)){J4(x1,B);continue}if(Q.forceKeepAttr||(J4(x1,B),!Q.keepAttr))continue;if(!d1&&i3(/\/>/i,N1)){J4(x1,B);continue}R&&Zn([k,E,Y],J1=>{N1=Ha(N1,J1," ")});const I1=H2(B.nodeName);if(i1(I1,w1,N1)){if(b&&typeof m=="object"&&typeof m.getAttributeType=="function"&&!V1)switch(m.getAttributeType(I1,w1)){case"TrustedHTML":{N1=b.createHTML(N1);break}case"TrustedScriptURL":{N1=b.createScriptURL(N1);break}}try{V1?B.setAttributeNS(V1,x1,N1):B.setAttribute(x1,N1),r1(B)?Ue(B):jf(t.removed)}catch{}}}e1(H.afterSanitizeAttributes,B,null)},D=function U(B){let K=null;const Q=X(B);for(e1(H.beforeSanitizeShadowDOM,B,null);K=Q.nextNode();)e1(H.uponSanitizeShadowNode,K,null),c1(K),M1(K),K.content instanceof c&&U(K.content);e1(H.afterSanitizeShadowDOM,B,null)};return t.sanitize=function(U){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},K=null,Q=null,o1=null,s1=null;if(y1=!U,y1&&(U="<!-->"),typeof U!="string"&&!J(U))if(typeof U.toString=="function"){if(U=U.toString(),typeof U!="string")throw Va("dirty is not a string, aborting")}else throw Va("toString is not a function");if(!t.isSupported)return U;if(h1||Q4(B),t.removed=[],typeof U=="string"&&($1=!1),$1){if(U.nodeName){const L1=H2(U.nodeName);if(!N[L1]||T[L1])throw Va("root node is forbidden and cannot be sanitized in-place")}}else if(U instanceof s)K=Tt("<!---->"),Q=K.ownerDocument.importNode(U,!0),Q.nodeType===Sa.element&&Q.nodeName==="BODY"||Q.nodeName==="HTML"?K=Q:K.appendChild(Q);else{if(!f1&&!R&&!z1&&U.indexOf("<")===-1)return b&&g1?b.createHTML(U):U;if(K=Tt(U),!K)return f1?null:g1?M:""}K&&l1&&Ue(K.firstChild);const x1=X($1?U:K);for(;o1=x1.nextNode();)c1(o1),M1(o1),o1.content instanceof c&&D(o1.content);if($1)return U;if(f1){if(u1)for(s1=_.call(K.ownerDocument);K.firstChild;)s1.appendChild(K.firstChild);else s1=K;return(V.shadowroot||V.shadowrootmode)&&(s1=L.call(r,s1,!0)),s1}let V1=z1?K.outerHTML:K.innerHTML;return z1&&N["!doctype"]&&K.ownerDocument&&K.ownerDocument.doctype&&K.ownerDocument.doctype.name&&i3(dv,K.ownerDocument.doctype.name)&&(V1="<!DOCTYPE "+K.ownerDocument.doctype.name+`>
|
|
12
12
|
`+V1),R&&Zn([k,E,Y],L1=>{V1=Ha(V1,L1," ")}),b&&g1?b.createHTML(V1):V1},t.setConfig=function(){let U=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Q4(U),h1=!0},t.clearConfig=function(){be=null,h1=!1},t.isValidAttribute=function(U,B,K){be||Q4({});const Q=H2(U),o1=H2(B);return i1(Q,o1,K)},t.addHook=function(U,B){typeof B=="function"&&ka(H[U],B)},t.removeHook=function(U){return jf(H[U])},t.removeHooks=function(U){H[U]=[]},t.removeAllHooks=function(){H=Jf()},t}var mv=hv();function kN(e){return mv.sanitize(e)}function pv(e){return mv.sanitize(e,{ALLOWED_TAGS:[]})}function Is(e,t){const a=m4().language;let r=e.toLocaleString(a,{maximumFractionDigits:t==null?void 0:t.maxDecimals});return r==="-0"&&(r="0"),t!=null&&t.prefix&&(r=`${t.prefix} ${r}`),t!=null&&t.suffix&&(r=`${r} ${t.suffix}`),r}//! moment.js
|
|
13
13
|
//! version : 2.30.1
|
|
14
14
|
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
package/dist/main.es.js
CHANGED
|
@@ -3193,7 +3193,7 @@ Ze.default = Ze;
|
|
|
3193
3193
|
const ha = Ze;
|
|
3194
3194
|
class WG1 {
|
|
3195
3195
|
static UploadFile(t, a) {
|
|
3196
|
-
return ha.put(t, a, { headers: { "Content-Type": a.type, "x-amz-acl": "
|
|
3196
|
+
return ha.put(t, a, { headers: { "Content-Type": a.type, "x-amz-acl": "private" } });
|
|
3197
3197
|
}
|
|
3198
3198
|
}
|
|
3199
3199
|
/*! @license DOMPurify 3.2.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.3/LICENSE */
|