You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
114 KiB
JavaScript
11 lines
114 KiB
JavaScript
2 months ago
|
var x="top",H="bottom",j="right",P="left",xe="auto",Ut=[x,H,j,P],wt="start",Mt="end",or="clippingParents",$n="viewport",$t="popper",ar="reference",gn=Ut.reduce(function(e,t){return e.concat([t+"-"+wt,t+"-"+Mt])},[]),In=[].concat(Ut,[xe]).reduce(function(e,t){return e.concat([t,t+"-"+wt,t+"-"+Mt])},[]),cr="beforeRead",lr="read",ur="afterRead",fr="beforeMain",dr="main",hr="afterMain",pr="beforeWrite",mr="write",_r="afterWrite",gr=[cr,lr,ur,fr,dr,hr,pr,mr,_r];function tt(e){return e?(e.nodeName||"").toLowerCase():null}function U(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Ot(e){var t=U(e).Element;return e instanceof t||e instanceof Element}function W(e){var t=U(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function xn(e){if(typeof ShadowRoot>"u")return!1;var t=U(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Mi(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var s=t.styles[n]||{},r=t.attributes[n]||{},i=t.elements[n];!W(i)||!tt(i)||(Object.assign(i.style,s),Object.keys(r).forEach(function(o){var a=r[o];a===!1?i.removeAttribute(o):i.setAttribute(o,a===!0?"":a)}))})}function ki(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(s){var r=t.elements[s],i=t.attributes[s]||{},o=Object.keys(t.styles.hasOwnProperty(s)?t.styles[s]:n[s]),a=o.reduce(function(l,u){return l[u]="",l},{});!W(r)||!tt(r)||(Object.assign(r.style,a),Object.keys(i).forEach(function(l){r.removeAttribute(l)}))})}}const Pn={name:"applyStyles",enabled:!0,phase:"write",fn:Mi,effect:ki,requires:["computeStyles"]};function Q(e){return e.split("-")[0]}var At=Math.max,Ne=Math.min,kt=Math.round;function En(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function Er(){return!/^((?!chrome|android).)*safari/i.test(En())}function Vt(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var s=e.getBoundingClientRect(),r=1,i=1;t&&W(e)&&(r=e.offsetWidth>0&&kt(s.width)/e.offsetWidth||1,i=e.offsetHeight>0&&kt(s.height)/e.offsetHeight||1);var o=Ot(e)?U(e):window,a=o.visualViewport,l=!Er()&&n,u=(s.left+(l&&a?a.offsetLeft:0))/r,c=(s.top+(l&&a?a.offsetTop:0))/i,h=s.width/r,E=s.height/i;return{width:h,height:E,top:c,right:u+h,bottom:c+E,left:u,x:u,y:c}}function Mn(e){var t=Vt(e),n=e.offsetWidth,s=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-s)<=1&&(s=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:s}}function br(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&xn(n)){var s=t;do{if(s&&e.isSameNode(s))return!0;s=s.parentNode||s.host}while(s)}return!1}function st(e){return U(e).getComputedStyle(e)}function Vi(e){return["table","td","th"].indexOf(tt(e))>=0}function ft(e){return((Ot(e)?e.ownerDocument:e.document)||window.document).documentElement}function Pe(e){return tt(e)==="html"?e:e.assignedSlot||e.parentNode||(xn(e)?e.host:null)||ft(e)}function us(e){return!W(e)||st(e).position==="fixed"?null:e.offsetParent}function Fi(e){var t=/firefox/i.test(En()),n=/Trident/i.test(En());if(n&&W(e)){var s=st(e);if(s.position==="fixed")return null}var r=Pe(e);for(xn(r)&&(r=r.host);W(r)&&["html","body"].indexOf(tt(r))<0;){var i=st(r);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return r;r=r.parentNode}return null}function re(e){for(var t=U(e),n=us(e);n&&Vi(n)&&st(n).position==="static";)n=us(n);return n&&(tt(n)==="html"||tt(n)==="body"&&st(n).position==="static")?t:n||Fi(e)||t}function kn(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function te(e,t,n){return At(e,Ne(t,n))}function Bi(e,t,n){v
|
||
|
* Bootstrap v5.3.3 (https://getbootstrap.com/)
|
||
|
* Copyright 2011-2024 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
||
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||
|
*/const ot=new Map,Je={set(e,t,n){ot.has(e)||ot.set(e,new Map);const s=ot.get(e);if(!s.has(t)&&s.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(s.keys())[0]}.`);return}s.set(t,n)},get(e,t){return ot.has(e)&&ot.get(e).get(t)||null},remove(e,t){if(!ot.has(e))return;const n=ot.get(e);n.delete(t),n.size===0&&ot.delete(e)}},To=1e6,wo=1e3,vn="transitionend",Rr=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,n)=>`#${CSS.escape(n)}`)),e),Oo=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),So=e=>{do e+=Math.floor(Math.random()*To);while(document.getElementById(e));return e},Co=e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const s=Number.parseFloat(t),r=Number.parseFloat(n);return!s&&!r?0:(t=t.split(",")[0],n=n.split(",")[0],(Number.parseFloat(t)+Number.parseFloat(n))*wo)},$r=e=>{e.dispatchEvent(new Event(vn))},et=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),ct=e=>et(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(Rr(e)):null,Wt=e=>{if(!et(e)||e.getClientRects().length===0)return!1;const t=getComputedStyle(e).getPropertyValue("visibility")==="visible",n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const s=e.closest("summary");if(s&&s.parentNode!==n||s===null)return!1}return t},lt=e=>!e||e.nodeType!==Node.ELEMENT_NODE||e.classList.contains("disabled")?!0:typeof e.disabled<"u"?e.disabled:e.hasAttribute("disabled")&&e.getAttribute("disabled")!=="false",Ir=e=>{if(!document.documentElement.attachShadow)return null;if(typeof e.getRootNode=="function"){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?Ir(e.parentNode):null},De=()=>{},ie=e=>{e.offsetHeight},xr=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Qe=[],No=e=>{document.readyState==="loading"?(Qe.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of Qe)t()}),Qe.push(e)):e()},K=()=>document.documentElement.dir==="rtl",Y=e=>{No(()=>{const t=xr();if(t){const n=e.NAME,s=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=s,e.jQueryInterface)}})},M=(e,t=[],n=e)=>typeof e=="function"?e(...t):n,Pr=(e,t,n=!0)=>{if(!n){M(e);return}const r=Co(t)+5;let i=!1;const o=({target:a})=>{a===t&&(i=!0,t.removeEventListener(vn,o),M(e))};t.addEventListener(vn,o),setTimeout(()=>{i||$r(t)},r)},Kn=(e,t,n,s)=>{const r=e.length;let i=e.indexOf(t);return i===-1?!n&&s?e[r-1]:e[0]:(i+=n?1:-1,s&&(i=(i+r)%r),e[Math.max(0,Math.min(i,r-1))])},Do=/[^.]*(?=\..*)\.|.*/,Lo=/\..*/,Ro=/::\d+$/,Ze={};let Es=1;const Mr={mouseenter:"mouseover",mouseleave:"mouseout"},$o=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function kr(e,t){return t&&`${t}::${Es++}`||e.uidEvent||Es++}function Vr(e){const t=kr(e);return e.uidEvent=t,Ze[t]=Ze[t]||{},Ze[t]}function Io(e,t){return function n(s){return qn(s,{delegateTarget:e}),n.oneOff&&d.off(e,s.type,t),t.apply(e,[s])}}function xo(e,t,n){return function s(r){const i=e.querySelectorAll(t);for(let{target:o}=r;o&&o!==this;o=o.parentNode)for(const a of i)if(a===o)return qn(r,{delegateTarget:o}),s.oneOff&&d.off(e,r.type,t,n),n.apply(o,[r])}}function Fr(e,t,n=null){return Object.values(e).find(s=>s.callable===t&&s.delegationSelector===n)}function Br(e,t,n){const s=typeof t=="string",r=s?n:t||n;let i=Hr(e);return $o.has(i)||(i=e),[s,r,i]}function bs(e,t,n,s,r){if(typeof t!="string"||!e)return;let[i,
|
||
|
`).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||t[n]&&Ff[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Js=Symbol("internals");function Zt(e){return e&&String(e).trim().toLowerCase()}function Ce(e){return e===!1||e==null?e:f.isArray(e)?e.map(Ce):String(e)}function Hf(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const jf=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function pn(e,t,n,s,r){if(f.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!f.isString(t)){if(f.isString(s))return t.indexOf(s)!==-1;if(f.isRegExp(s))return s.test(t)}}function Uf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function Wf(e,t){const n=f.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,i,o){return this[s].call(this,t,r,i,o)},configurable:!0})})}class V{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,l,u){const c=Zt(l);if(!c)throw new Error("header name must be a non-empty string");const h=f.findKey(r,c);(!h||r[h]===void 0||u===!0||u===void 0&&r[h]!==!1)&&(r[h||l]=Ce(a))}const o=(a,l)=>f.forEach(a,(u,c)=>i(u,c,l));if(f.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(f.isString(t)&&(t=t.trim())&&!jf(t))o(Bf(t),n);else if(f.isHeaders(t))for(const[a,l]of t.entries())i(l,a,s);else t!=null&&i(n,t,s);return this}get(t,n){if(t=Zt(t),t){const s=f.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return Hf(r);if(f.isFunction(n))return n.call(this,r,s);if(f.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Zt(t),t){const s=f.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||pn(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=Zt(o),o){const a=f.findKey(s,o);a&&(!n||pn(s,s[a],a,n))&&(delete s[a],r=!0)}}return f.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!t||pn(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,s={};return f.forEach(this,(r,i)=>{const o=f.findKey(s,i);if(o){n[o]=Ce(r),delete n[i];return}const a=t?Uf(i):String(i).trim();a!==i&&delete n[i],n[a]=Ce(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return f.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&f.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
|
||
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[Js]=this[Js]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Zt(o);s[a]||(Wf(r,o),s[a]=!0)}return f.isArray(t)?t.forEach(i):i(t),this}}V.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);f.reduceDescriptors(V.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});f.freezeMethods(V);function mn(e,t){const n=this||ue,s=t||n,r=V.from(s.headers);let i=s.data;return f.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function yi(e){return!!(e&&e.__CANCEL__)}function zt(e,t,n){T.call(this,e??"canceled",T.ERR_CANCELED,t,n),this.name="CanceledError"}f.inherits(zt,T,{__CANCEL__:!0});function Ai(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new T("Request failed with status code "+n.status,[T.ERR_BAD_REQUEST,T.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function Kf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function qf(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),c=s[i];o||(o=u),n[r]=l,s[r]=u;let h=i,E=0;for(;h!==r;)E+=n[h++],h=h%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),u-o<t)return;const g=c&&u-c;return g?Math.round(E*1e3/g):void 0}}function Yf(e,t){let n=0,s=1e3/t,r,i;const o=(u,c=Date.now())=>{n=c,r=null,i&&(clearTimeout(i),i=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),h=c-n;h>=s?o(u,c):(r=u,i||(i=setTimeout(()=>{i=null,o(r)},s-h)))},()=>r&&o(r)]}const $e=(e,t,n=3)=>{let s=0;const r=qf(50,250);return Yf(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,l=o-s,u=r(l),c=o<=a;s=o;const h={loaded:o,total:a,progress:a?o/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-o)/u:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(h)},n)},Qs=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Zs=e=>(...t)=>f.asap(()=>e(...t)),zf=k.hasStandardBrowserEnv?function(){const t=k.navigator&&/(msie|trident)/i.test(k.navigator.userAgent),n=document.createElement("a");let s;function r(i){let o=i;return t&&(n.setAttribute("href",o),o=n.href),n.setAttribute("href",o),{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 s=r(window.location.href),function(o){const a=f.isString(o)?r(o):o;return a.protocol===s.protocol&&a.host===s.host}}():function(){return function(){return!0}}(),Gf=k.hasStandardBrowserEnv?{write(e,t,n,s,r,i){const o=[e+"="+encodeURIComponent(t)];f.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),f.isString(s)&&o.push("path="+s),f.isString(r)&&o.push("domain="+r),i===!0&&o.push("secure"),document.cookie=o.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 Xf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Jf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ti(e,t){return e&&!Xf(t)?Jf(e,t):t}const tr=e=>e instanceof V?{...e}:e;function St(e,t){t=t||{};const n={};function s(u,c,h){return f.isPlainObject(u)&&f.isPlainObject(c)?f.merge.call({caseless:h},u,c):f.isPlainObject(c)?f.merge({},c):f.isArray(c)?c.slice():c}function r(u,c,h){if(f.isUndefined(c)){if(!f.isUndefined(u))return s(void 0,u,h)}else return s(u,c,h)}function i(u,c){if(!f.isUndefined(c))return s(void 0,c)}function o(u,c){if(f.isUndefined(c)){if(!f.isUndefined(u))return s(void 0,u)}else return s(void 0,c)}function a(u,c,h){if(h in t)return s(u,c);if(h in e)return s(void 0,u)}const l={url:i,m
|
||
|
`+i.map(sr).join(`
|
||
|
`):" "+sr(i[0]):"as no adapter specified";throw new T("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:Dn};function _n(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new zt(null,e)}function rr(e){return _n(e),e.headers=V.from(e.headers),e.data=mn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ci.getAdapter(e.adapter||ue.adapter)(e).then(function(s){return _n(e),s.data=mn.call(e,e.transformResponse,s),s.headers=V.from(s.headers),s},function(s){return yi(s)||(_n(e),s&&s.response&&(s.response.data=mn.call(e,e.transformResponse,s.response),s.response.headers=V.from(s.response.headers))),Promise.reject(s)})}const Ni="1.7.6",Zn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Zn[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const ir={};Zn.transitional=function(t,n,s){function r(i,o){return"[Axios v"+Ni+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(t===!1)throw new T(r(o," has been removed"+(n?" in "+n:"")),T.ERR_DEPRECATED);return n&&!ir[o]&&(ir[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};function cd(e,t,n){if(typeof e!="object")throw new T("options must be an object",T.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const i=s[r],o=t[i];if(o){const a=e[i],l=a===void 0||o(a,i,e);if(l!==!0)throw new T("option "+i+" must be "+l,T.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new T("Unknown option "+i,T.ERR_BAD_OPTION)}}const Ln={assertOptions:cd,validators:Zn},at=Ln.validators;class Tt{constructor(t){this.defaults=t,this.interceptors={request:new Xs,response:new Xs}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r;Error.captureStackTrace?Error.captureStackTrace(r={}):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?i&&!String(s.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(s.stack+=`
|
||
|
`+i):s.stack=i}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=St(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&Ln.assertOptions(s,{silentJSONParsing:at.transitional(at.boolean),forcedJSONParsing:at.transitional(at.boolean),clarifyTimeoutError:at.transitional(at.boolean)},!1),r!=null&&(f.isFunction(r)?n.paramsSerializer={serialize:r}:Ln.assertOptions(r,{encode:at.function,serialize:at.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&f.merge(i.common,i[n.method]);i&&f.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=V.concat(o,i);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let c,h=0,E;if(!l){const m=[rr.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,u),E=m.length,c=Promise.resolve(n);h<E;)c=c.then(m[h++],m[h++]);return c}E=a.length;let g=n;for(h=0;h<E;){const m=a[h++],_=a[h++];try{g=m(g)}catch(p){_.call(this,p);break}}try{c=rr.call(this,g)}catch(m){return Promise.reject(m)}for(h=0,E=u.length;h<E;)c=c.then(u[h++],u[h++]);return c}getUri(t){t=St(this.defaults,t);const n=Ti(t.baseURL,t.url);return Ei(n,t.params,t.paramsSerializer)}}f.forEach(["delete","get","head","options"],function(t){Tt.prototype[t]=function(n,s){return this.request(St(s||{},{method:t,url:n,data:(s||{}).data}))}});f.forEach(["post","put","patch"],function(t){function n(s){return function(i,o,a){return this.request(St(a||{},{method:t,headers:s?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Tt.prototype[t]=n(),Tt.prototype[t+"Form"]=n(!0)});class ts{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(i){n=i});const s=this;this.promise.then(r=>{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,a){s.reason||(s.reason=new zt(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new ts(function(r){t=r}),cancel:t}}}function ld(e){return function(n){return e.apply(null,n)}}function ud(e){return f.isObject(e)&&e.isAxiosError===!0}const Rn={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,NetworkAuthenticationRequ
|