react-addsearch-ui
Version:
AddSearch UI for React
38 lines (36 loc) • 408 kB
JavaScript
(function(ht,lt){typeof exports=="object"&&typeof module<"u"?lt(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],lt):(ht=typeof globalThis<"u"?globalThis:ht||self,lt(ht["zenloop-components"]={},ht.React))})(this,function(ht,lt){"use strict";var Pl=Object.defineProperty;var Fl=(ht,lt,qt)=>lt in ht?Pl(ht,lt,{enumerable:!0,configurable:!0,writable:!0,value:qt}):ht[lt]=qt;var ze=(ht,lt,qt)=>Fl(ht,typeof lt!="symbol"?lt+"":lt,qt);function qt(t){const i=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const p in t)if(p!=="default"){const o=Object.getOwnPropertyDescriptor(t,p);Object.defineProperty(i,p,o.get?o:{enumerable:!0,get:()=>t[p]})}}return i.default=t,Object.freeze(i)}const St=qt(lt);var Ze=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qr(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Qn={exports:{}},rn={};/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Vr;function ls(){if(Vr)return rn;Vr=1;var t=lt,i=Symbol.for("react.element"),p=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,E=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,w={key:!0,ref:!0,__self:!0,__source:!0};function c(n,y,r){var e,d={},C=null,l=null;r!==void 0&&(C=""+r),y.key!==void 0&&(C=""+y.key),y.ref!==void 0&&(l=y.ref);for(e in y)o.call(y,e)&&!w.hasOwnProperty(e)&&(d[e]=y[e]);if(n&&n.defaultProps)for(e in y=n.defaultProps,y)d[e]===void 0&&(d[e]=y[e]);return{$$typeof:i,type:n,key:C,ref:l,props:d,_owner:E.current}}return rn.Fragment=p,rn.jsx=c,rn.jsxs=c,rn}var sn={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var zr;function cs(){return zr||(zr=1,process.env.NODE_ENV!=="production"&&function(){var t=lt,i=Symbol.for("react.element"),p=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),w=Symbol.for("react.profiler"),c=Symbol.for("react.provider"),n=Symbol.for("react.context"),y=Symbol.for("react.forward_ref"),r=Symbol.for("react.suspense"),e=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),C=Symbol.for("react.lazy"),l=Symbol.for("react.offscreen"),a=Symbol.iterator,s="@@iterator";function v(B){if(B===null||typeof B!="object")return null;var ae=a&&B[a]||B[s];return typeof ae=="function"?ae:null}var f=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function g(B){{for(var ae=arguments.length,he=new Array(ae>1?ae-1:0),Ee=1;Ee<ae;Ee++)he[Ee-1]=arguments[Ee];h("error",B,he)}}function h(B,ae,he){{var Ee=f.ReactDebugCurrentFrame,je=Ee.getStackAddendum();je!==""&&(ae+="%s",he=he.concat([je]));var $e=he.map(function(Ne){return String(Ne)});$e.unshift("Warning: "+ae),Function.prototype.apply.call(console[B],console,$e)}}var u=!1,_=!1,S=!1,F=!1,P=!1,T;T=Symbol.for("react.module.reference");function N(B){return!!(typeof B=="string"||typeof B=="function"||B===o||B===w||P||B===E||B===r||B===e||F||B===l||u||_||S||typeof B=="object"&&B!==null&&(B.$$typeof===C||B.$$typeof===d||B.$$typeof===c||B.$$typeof===n||B.$$typeof===y||B.$$typeof===T||B.getModuleId!==void 0))}function q(B,ae,he){var Ee=B.displayName;if(Ee)return Ee;var je=ae.displayName||ae.name||"";return je!==""?he+"("+je+")":he}function j(B){return B.displayName||"Context"}function D(B){if(B==null)return null;if(typeof B.tag=="number"&&g("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof B=="function")return B.displayName||B.name||null;if(typeof B=="string")return B;switch(B){case o:return"Fragment";case p:return"Portal";case w:return"Profiler";case E:return"StrictMode";case r:return"Suspense";case e:return"SuspenseList"}if(typeof B=="object")switch(B.$$typeof){case n:var ae=B;return j(ae)+".Consumer";case c:var he=B;return j(he._context)+".Provider";case y:return q(B,B.render,"ForwardRef");case d:var Ee=B.displayName||null;return Ee!==null?Ee:D(B.type)||"Memo";case C:{var je=B,$e=je._payload,Ne=je._init;try{return D(Ne($e))}catch{return null}}}return null}var L=Object.assign,V=0,J,oe,ne,Y,W,X,ue;function xe(){}xe.__reactDisabledLog=!0;function Ae(){{if(V===0){J=console.log,oe=console.info,ne=console.warn,Y=console.error,W=console.group,X=console.groupCollapsed,ue=console.groupEnd;var B={configurable:!0,enumerable:!0,value:xe,writable:!0};Object.defineProperties(console,{info:B,log:B,warn:B,error:B,group:B,groupCollapsed:B,groupEnd:B})}V++}}function Oe(){{if(V--,V===0){var B={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:L({},B,{value:J}),info:L({},B,{value:oe}),warn:L({},B,{value:ne}),error:L({},B,{value:Y}),group:L({},B,{value:W}),groupCollapsed:L({},B,{value:X}),groupEnd:L({},B,{value:ue})})}V<0&&g("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ce=f.ReactCurrentDispatcher,He;function Ie(B,ae,he){{if(He===void 0)try{throw Error()}catch(je){var Ee=je.stack.trim().match(/\n( *(at )?)/);He=Ee&&Ee[1]||""}return`
`+He+B}}var Ke=!1,Me;{var We=typeof WeakMap=="function"?WeakMap:Map;Me=new We}function z(B,ae){if(!B||Ke)return"";{var he=Me.get(B);if(he!==void 0)return he}var Ee;Ke=!0;var je=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var $e;$e=Ce.current,Ce.current=null,Ae();try{if(ae){var Ne=function(){throw Error()};if(Object.defineProperty(Ne.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ne,[])}catch(at){Ee=at}Reflect.construct(B,[],Ne)}else{try{Ne.call()}catch(at){Ee=at}B.call(Ne.prototype)}}else{try{throw Error()}catch(at){Ee=at}B()}}catch(at){if(at&&Ee&&typeof at.stack=="string"){for(var Le=at.stack.split(`
`),tt=Ee.stack.split(`
`),Je=Le.length-1,Ye=tt.length-1;Je>=1&&Ye>=0&&Le[Je]!==tt[Ye];)Ye--;for(;Je>=1&&Ye>=0;Je--,Ye--)if(Le[Je]!==tt[Ye]){if(Je!==1||Ye!==1)do if(Je--,Ye--,Ye<0||Le[Je]!==tt[Ye]){var ut=`
`+Le[Je].replace(" at new "," at ");return B.displayName&&ut.includes("<anonymous>")&&(ut=ut.replace("<anonymous>",B.displayName)),typeof B=="function"&&Me.set(B,ut),ut}while(Je>=1&&Ye>=0);break}}}finally{Ke=!1,Ce.current=$e,Oe(),Error.prepareStackTrace=je}var Lt=B?B.displayName||B.name:"",yt=Lt?Ie(Lt):"";return typeof B=="function"&&Me.set(B,yt),yt}function H(B,ae,he){return z(B,!1)}function se(B){var ae=B.prototype;return!!(ae&&ae.isReactComponent)}function de(B,ae,he){if(B==null)return"";if(typeof B=="function")return z(B,se(B));if(typeof B=="string")return Ie(B);switch(B){case r:return Ie("Suspense");case e:return Ie("SuspenseList")}if(typeof B=="object")switch(B.$$typeof){case y:return H(B.render);case d:return de(B.type,ae,he);case C:{var Ee=B,je=Ee._payload,$e=Ee._init;try{return de($e(je),ae,he)}catch{}}}return""}var we=Object.prototype.hasOwnProperty,Se={},Re=f.ReactDebugCurrentFrame;function me(B){if(B){var ae=B._owner,he=de(B.type,B._source,ae?ae.type:null);Re.setExtraStackFrame(he)}else Re.setExtraStackFrame(null)}function ye(B,ae,he,Ee,je){{var $e=Function.call.bind(we);for(var Ne in B)if($e(B,Ne)){var Le=void 0;try{if(typeof B[Ne]!="function"){var tt=Error((Ee||"React class")+": "+he+" type `"+Ne+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof B[Ne]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw tt.name="Invariant Violation",tt}Le=B[Ne](ae,Ne,Ee,he,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Je){Le=Je}Le&&!(Le instanceof Error)&&(me(je),g("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Ee||"React class",he,Ne,typeof Le),me(null)),Le instanceof Error&&!(Le.message in Se)&&(Se[Le.message]=!0,me(je),g("Failed %s type: %s",he,Le.message),me(null))}}}var be=Array.isArray;function Be(B){return be(B)}function Q(B){{var ae=typeof Symbol=="function"&&Symbol.toStringTag,he=ae&&B[Symbol.toStringTag]||B.constructor.name||"Object";return he}}function le(B){try{return ie(B),!1}catch{return!0}}function ie(B){return""+B}function fe(B){if(le(B))return g("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Q(B)),ie(B)}var O=f.ReactCurrentOwner,m={key:!0,ref:!0,__self:!0,__source:!0},b,I,U;U={};function K(B){if(we.call(B,"ref")){var ae=Object.getOwnPropertyDescriptor(B,"ref").get;if(ae&&ae.isReactWarning)return!1}return B.ref!==void 0}function ee(B){if(we.call(B,"key")){var ae=Object.getOwnPropertyDescriptor(B,"key").get;if(ae&&ae.isReactWarning)return!1}return B.key!==void 0}function Pe(B,ae){if(typeof B.ref=="string"&&O.current&&ae&&O.current.stateNode!==ae){var he=D(O.current.type);U[he]||(g('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',D(O.current.type),B.ref),U[he]=!0)}}function Ve(B,ae){{var he=function(){b||(b=!0,g("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ae))};he.isReactWarning=!0,Object.defineProperty(B,"key",{get:he,configurable:!0})}}function Fe(B,ae){{var he=function(){I||(I=!0,g("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",ae))};he.isReactWarning=!0,Object.defineProperty(B,"ref",{get:he,configurable:!0})}}var Ge=function(B,ae,he,Ee,je,$e,Ne){var Le={$$typeof:i,type:B,key:ae,ref:he,props:Ne,_owner:$e};return Le._store={},Object.defineProperty(Le._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Le,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Ee}),Object.defineProperty(Le,"_source",{configurable:!1,enumerable:!1,writable:!1,value:je}),Object.freeze&&(Object.freeze(Le.props),Object.freeze(Le)),Le};function ge(B,ae,he,Ee,je){{var $e,Ne={},Le=null,tt=null;he!==void 0&&(fe(he),Le=""+he),ee(ae)&&(fe(ae.key),Le=""+ae.key),K(ae)&&(tt=ae.ref,Pe(ae,je));for($e in ae)we.call(ae,$e)&&!m.hasOwnProperty($e)&&(Ne[$e]=ae[$e]);if(B&&B.defaultProps){var Je=B.defaultProps;for($e in Je)Ne[$e]===void 0&&(Ne[$e]=Je[$e])}if(Le||tt){var Ye=typeof B=="function"?B.displayName||B.name||"Unknown":B;Le&&Ve(Ne,Ye),tt&&Fe(Ne,Ye)}return Ge(B,Le,tt,je,Ee,O.current,Ne)}}var Qt=f.ReactCurrentOwner,It=f.ReactDebugCurrentFrame;function At(B){if(B){var ae=B._owner,he=de(B.type,B._source,ae?ae.type:null);It.setExtraStackFrame(he)}else It.setExtraStackFrame(null)}var Rt;Rt=!1;function Zt(B){return typeof B=="object"&&B!==null&&B.$$typeof===i}function Bt(){{if(Qt.current){var B=D(Qt.current.type);if(B)return`
Check the render method of \``+B+"`."}return""}}function Dt(B){return""}var gn={};function Vn(B){{var ae=Bt();if(!ae){var he=typeof B=="string"?B:B.displayName||B.name;he&&(ae=`
Check the top-level render call using <`+he+">.")}return ae}}function Xt(B,ae){{if(!B._store||B._store.validated||B.key!=null)return;B._store.validated=!0;var he=Vn(ae);if(gn[he])return;gn[he]=!0;var Ee="";B&&B._owner&&B._owner!==Qt.current&&(Ee=" It was passed a child from "+D(B._owner.type)+"."),At(B),g('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',he,Ee),At(null)}}function en(B,ae){{if(typeof B!="object")return;if(Be(B))for(var he=0;he<B.length;he++){var Ee=B[he];Zt(Ee)&&Xt(Ee,ae)}else if(Zt(B))B._store&&(B._store.validated=!0);else if(B){var je=v(B);if(typeof je=="function"&&je!==B.entries)for(var $e=je.call(B),Ne;!(Ne=$e.next()).done;)Zt(Ne.value)&&Xt(Ne.value,ae)}}}function Nr(B){{var ae=B.type;if(ae==null||typeof ae=="string")return;var he;if(typeof ae=="function")he=ae.propTypes;else if(typeof ae=="object"&&(ae.$$typeof===y||ae.$$typeof===d))he=ae.propTypes;else return;if(he){var Ee=D(ae);ye(he,B.props,"prop",Ee,B)}else if(ae.PropTypes!==void 0&&!Rt){Rt=!0;var je=D(ae);g("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",je||"Unknown")}typeof ae.getDefaultProps=="function"&&!ae.getDefaultProps.isReactClassApproved&&g("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Mr(B){{for(var ae=Object.keys(B.props),he=0;he<ae.length;he++){var Ee=ae[he];if(Ee!=="children"&&Ee!=="key"){At(B),g("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ee),At(null);break}}B.ref!==null&&(At(B),g("Invalid attribute `ref` supplied to `React.Fragment`."),At(null))}}var Ht={};function tn(B,ae,he,Ee,je,$e){{var Ne=N(B);if(!Ne){var Le="";(B===void 0||typeof B=="object"&&B!==null&&Object.keys(B).length===0)&&(Le+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var tt=Dt();tt?Le+=tt:Le+=Bt();var Je;B===null?Je="null":Be(B)?Je="array":B!==void 0&&B.$$typeof===i?(Je="<"+(D(B.type)||"Unknown")+" />",Le=" Did you accidentally export a JSX literal instead of a component?"):Je=typeof B,g("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Je,Le)}var Ye=ge(B,ae,he,je,$e);if(Ye==null)return Ye;if(Ne){var ut=ae.children;if(ut!==void 0)if(Ee)if(Be(ut)){for(var Lt=0;Lt<ut.length;Lt++)en(ut[Lt],B);Object.freeze&&Object.freeze(ut)}else g("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else en(ut,B)}if(we.call(ae,"key")){var yt=D(B),at=Object.keys(ae).filter(function(vn){return vn!=="key"}),nn=at.length>0?"{key: someKey, "+at.join(": ..., ")+": ...}":"{key: someKey}";if(!Ht[yt+nn]){var Kn=at.length>0?"{"+at.join(": ..., ")+": ...}":"{}";g(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,nn,yt,Kn,yt),Ht[yt+nn]=!0}}return B===o?Mr(Ye):Nr(Ye),Ye}}function Br(B,ae,he){return tn(B,ae,he,!0)}function zn(B,ae,he){return tn(B,ae,he,!1)}var yn=zn,Gn=Br;sn.Fragment=o,sn.jsx=yn,sn.jsxs=Gn}()),sn}process.env.NODE_ENV==="production"?Qn.exports=ls():Qn.exports=cs();var _e=Qn.exports,Zn={};function us(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Gr={exports:{}};/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
* @version v4.2.8+1e68dce6
*/(function(t,i){(function(p,o){t.exports=o()})(Ze,function(){function p(Q){var le=typeof Q;return Q!==null&&(le==="object"||le==="function")}function o(Q){return typeof Q=="function"}var E=void 0;Array.isArray?E=Array.isArray:E=function(Q){return Object.prototype.toString.call(Q)==="[object Array]"};var w=E,c=0,n=void 0,y=void 0,r=function(le,ie){S[c]=le,S[c+1]=ie,c+=2,c===2&&(y?y(F):T())};function e(Q){y=Q}function d(Q){r=Q}var C=typeof window<"u"?window:void 0,l=C||{},a=l.MutationObserver||l.WebKitMutationObserver,s=typeof self>"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",v=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function f(){return function(){return process.nextTick(F)}}function g(){return typeof n<"u"?function(){n(F)}:_()}function h(){var Q=0,le=new a(F),ie=document.createTextNode("");return le.observe(ie,{characterData:!0}),function(){ie.data=Q=++Q%2}}function u(){var Q=new MessageChannel;return Q.port1.onmessage=F,function(){return Q.port2.postMessage(0)}}function _(){var Q=setTimeout;return function(){return Q(F,1)}}var S=new Array(1e3);function F(){for(var Q=0;Q<c;Q+=2){var le=S[Q],ie=S[Q+1];le(ie),S[Q]=void 0,S[Q+1]=void 0}c=0}function P(){try{var Q=Function("return this")().require("vertx");return n=Q.runOnLoop||Q.runOnContext,g()}catch{return _()}}var T=void 0;s?T=f():a?T=h():v?T=u():C===void 0&&typeof us=="function"?T=P():T=_();function N(Q,le){var ie=this,fe=new this.constructor(D);fe[j]===void 0&&H(fe);var O=ie._state;if(O){var m=arguments[O-1];r(function(){return Ke(O,fe,m,ie._result)})}else He(ie,fe,Q,le);return fe}function q(Q){var le=this;if(Q&&typeof Q=="object"&&Q.constructor===le)return Q;var ie=new le(D);return xe(ie,Q),ie}var j=Math.random().toString(36).substring(2);function D(){}var L=void 0,V=1,J=2;function oe(){return new TypeError("You cannot resolve a promise with itself")}function ne(){return new TypeError("A promises callback cannot return that same promise.")}function Y(Q,le,ie,fe){try{Q.call(le,ie,fe)}catch(O){return O}}function W(Q,le,ie){r(function(fe){var O=!1,m=Y(ie,le,function(b){O||(O=!0,le!==b?xe(fe,b):Oe(fe,b))},function(b){O||(O=!0,Ce(fe,b))},"Settle: "+(fe._label||" unknown promise"));!O&&m&&(O=!0,Ce(fe,m))},Q)}function X(Q,le){le._state===V?Oe(Q,le._result):le._state===J?Ce(Q,le._result):He(le,void 0,function(ie){return xe(Q,ie)},function(ie){return Ce(Q,ie)})}function ue(Q,le,ie){le.constructor===Q.constructor&&ie===N&&le.constructor.resolve===q?X(Q,le):ie===void 0?Oe(Q,le):o(ie)?W(Q,le,ie):Oe(Q,le)}function xe(Q,le){if(Q===le)Ce(Q,oe());else if(p(le)){var ie=void 0;try{ie=le.then}catch(fe){Ce(Q,fe);return}ue(Q,le,ie)}else Oe(Q,le)}function Ae(Q){Q._onerror&&Q._onerror(Q._result),Ie(Q)}function Oe(Q,le){Q._state===L&&(Q._result=le,Q._state=V,Q._subscribers.length!==0&&r(Ie,Q))}function Ce(Q,le){Q._state===L&&(Q._state=J,Q._result=le,r(Ae,Q))}function He(Q,le,ie,fe){var O=Q._subscribers,m=O.length;Q._onerror=null,O[m]=le,O[m+V]=ie,O[m+J]=fe,m===0&&Q._state&&r(Ie,Q)}function Ie(Q){var le=Q._subscribers,ie=Q._state;if(le.length!==0){for(var fe=void 0,O=void 0,m=Q._result,b=0;b<le.length;b+=3)fe=le[b],O=le[b+ie],fe?Ke(ie,fe,O,m):O(m);Q._subscribers.length=0}}function Ke(Q,le,ie,fe){var O=o(ie),m=void 0,b=void 0,I=!0;if(O){try{m=ie(fe)}catch(U){I=!1,b=U}if(le===m){Ce(le,ne());return}}else m=fe;le._state!==L||(O&&I?xe(le,m):I===!1?Ce(le,b):Q===V?Oe(le,m):Q===J&&Ce(le,m))}function Me(Q,le){try{le(function(fe){xe(Q,fe)},function(fe){Ce(Q,fe)})}catch(ie){Ce(Q,ie)}}var We=0;function z(){return We++}function H(Q){Q[j]=We++,Q._state=void 0,Q._result=void 0,Q._subscribers=[]}function se(){return new Error("Array Methods must be provided an Array")}var de=function(){function Q(le,ie){this._instanceConstructor=le,this.promise=new le(D),this.promise[j]||H(this.promise),w(ie)?(this.length=ie.length,this._remaining=ie.length,this._result=new Array(this.length),this.length===0?Oe(this.promise,this._result):(this.length=this.length||0,this._enumerate(ie),this._remaining===0&&Oe(this.promise,this._result))):Ce(this.promise,se())}return Q.prototype._enumerate=function(ie){for(var fe=0;this._state===L&&fe<ie.length;fe++)this._eachEntry(ie[fe],fe)},Q.prototype._eachEntry=function(ie,fe){var O=this._instanceConstructor,m=O.resolve;if(m===q){var b=void 0,I=void 0,U=!1;try{b=ie.then}catch(ee){U=!0,I=ee}if(b===N&&ie._state!==L)this._settledAt(ie._state,fe,ie._result);else if(typeof b!="function")this._remaining--,this._result[fe]=ie;else if(O===be){var K=new O(D);U?Ce(K,I):ue(K,ie,b),this._willSettleAt(K,fe)}else this._willSettleAt(new O(function(ee){return ee(ie)}),fe)}else this._willSettleAt(m(ie),fe)},Q.prototype._settledAt=function(ie,fe,O){var m=this.promise;m._state===L&&(this._remaining--,ie===J?Ce(m,O):this._result[fe]=O),this._remaining===0&&Oe(m,this._result)},Q.prototype._willSettleAt=function(ie,fe){var O=this;He(ie,void 0,function(m){return O._settledAt(V,fe,m)},function(m){return O._settledAt(J,fe,m)})},Q}();function we(Q){return new de(this,Q).promise}function Se(Q){var le=this;return w(Q)?new le(function(ie,fe){for(var O=Q.length,m=0;m<O;m++)le.resolve(Q[m]).then(ie,fe)}):new le(function(ie,fe){return fe(new TypeError("You must pass an array to race."))})}function Re(Q){var le=this,ie=new le(D);return Ce(ie,Q),ie}function me(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}function ye(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}var be=function(){function Q(le){this[j]=z(),this._result=this._state=void 0,this._subscribers=[],D!==le&&(typeof le!="function"&&me(),this instanceof Q?Me(this,le):ye())}return Q.prototype.catch=function(ie){return this.then(null,ie)},Q.prototype.finally=function(ie){var fe=this,O=fe.constructor;return o(ie)?fe.then(function(m){return O.resolve(ie()).then(function(){return m})},function(m){return O.resolve(ie()).then(function(){throw m})}):fe.then(ie,ie)},Q}();be.prototype.then=N,be.all=we,be.race=Se,be.resolve=q,be.reject=Re,be._setScheduler=e,be._setAsap=d,be._asap=r;function Be(){var Q=void 0;if(typeof Ze<"u")Q=Ze;else if(typeof self<"u")Q=self;else try{Q=Function("return this")()}catch{throw new Error("polyfill failed because global object is unavailable in this environment")}var le=Q.Promise;if(le){var ie=null;try{ie=Object.prototype.toString.call(le.resolve())}catch{}if(ie==="[object Promise]"&&!le.cast)return}Q.Promise=be}return be.polyfill=Be,be.Promise=be,be})})(Gr);var Kr=Gr.exports;Kr.polyfill();var Xe={};/*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */function Wr(t,i){return function(){return t.apply(i,arguments)}}const{toString:hs}=Object.prototype,{getPrototypeOf:Xn}=Object,{iterator:Sn,toStringTag:Jr}=Symbol,En=(t=>i=>{const p=hs.call(i);return t[p]||(t[p]=p.slice(8,-1).toLowerCase())})(Object.create(null)),Et=t=>(t=t.toLowerCase(),i=>En(i)===t),kn=t=>i=>typeof i===t,{isArray:Vt}=Array,on=kn("undefined");function fs(t){return t!==null&&!on(t)&&t.constructor!==null&&!on(t.constructor)&&ct(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const Yr=Et("ArrayBuffer");function ds(t){let i;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?i=ArrayBuffer.isView(t):i=t&&t.buffer&&Yr(t.buffer),i}const ps=kn("string"),ct=kn("function"),Qr=kn("number"),_n=t=>t!==null&&typeof t=="object",ms=t=>t===!0||t===!1,Cn=t=>{if(En(t)!=="object")return!1;const i=Xn(t);return(i===null||i===Object.prototype||Object.getPrototypeOf(i)===null)&&!(Jr in t)&&!(Sn in t)},gs=Et("Date"),ys=Et("File"),vs=Et("Blob"),xs=Et("FileList"),bs=t=>_n(t)&&ct(t.pipe),ws=t=>{let i;return t&&(typeof FormData=="function"&&t instanceof FormData||ct(t.append)&&((i=En(t))==="formdata"||i==="object"&&ct(t.toString)&&t.toString()==="[object FormData]"))},Ss=Et("URLSearchParams"),[Es,ks,_s,Cs]=["ReadableStream","Request","Response","Headers"].map(Et),Os=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function an(t,i,{allOwnKeys:p=!1}={}){if(t===null||typeof t>"u")return;let o,E;if(typeof t!="object"&&(t=[t]),Vt(t))for(o=0,E=t.length;o<E;o++)i.call(null,t[o],o,t);else{const w=p?Object.getOwnPropertyNames(t):Object.keys(t),c=w.length;let n;for(o=0;o<c;o++)n=w[o],i.call(null,t[n],n,t)}}function Zr(t,i){i=i.toLowerCase();const p=Object.keys(t);let o=p.length,E;for(;o-- >0;)if(E=p[o],i===E.toLowerCase())return E;return null}const jt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Ze,Xr=t=>!on(t)&&t!==jt;function er(){const{caseless:t}=Xr(this)&&this||{},i={},p=(o,E)=>{const w=t&&Zr(i,E)||E;Cn(i[w])&&Cn(o)?i[w]=er(i[w],o):Cn(o)?i[w]=er({},o):Vt(o)?i[w]=o.slice():i[w]=o};for(let o=0,E=arguments.length;o<E;o++)arguments[o]&&an(arguments[o],p);return i}const As=(t,i,p,{allOwnKeys:o}={})=>(an(i,(E,w)=>{p&&ct(E)?t[w]=Wr(E,p):t[w]=E},{allOwnKeys:o}),t),Rs=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Ts=(t,i,p,o)=>{t.prototype=Object.create(i.prototype,o),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:i.prototype}),p&&Object.assign(t.prototype,p)},Ps=(t,i,p,o)=>{let E,w,c;const n={};if(i=i||{},t==null)return i;do{for(E=Object.getOwnPropertyNames(t),w=E.length;w-- >0;)c=E[w],(!o||o(c,t,i))&&!n[c]&&(i[c]=t[c],n[c]=!0);t=p!==!1&&Xn(t)}while(t&&(!p||p(t,i))&&t!==Object.prototype);return i},Fs=(t,i,p)=>{t=String(t),(p===void 0||p>t.length)&&(p=t.length),p-=i.length;const o=t.indexOf(i,p);return o!==-1&&o===p},Is=t=>{if(!t)return null;if(Vt(t))return t;let i=t.length;if(!Qr(i))return null;const p=new Array(i);for(;i-- >0;)p[i]=t[i];return p},Ls=(t=>i=>t&&i instanceof t)(typeof Uint8Array<"u"&&Xn(Uint8Array)),js=(t,i)=>{const o=(t&&t[Sn]).call(t);let E;for(;(E=o.next())&&!E.done;){const w=E.value;i.call(t,w[0],w[1])}},Ns=(t,i)=>{let p;const o=[];for(;(p=t.exec(i))!==null;)o.push(p);return o},Ms=Et("HTMLFormElement"),Bs=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(p,o,E){return o.toUpperCase()+E}),ei=(({hasOwnProperty:t})=>(i,p)=>t.call(i,p))(Object.prototype),Ds=Et("RegExp"),ti=(t,i)=>{const p=Object.getOwnPropertyDescriptors(t),o={};an(p,(E,w)=>{let c;(c=i(E,w,t))!==!1&&(o[w]=c||E)}),Object.defineProperties(t,o)},Hs=t=>{ti(t,(i,p)=>{if(ct(t)&&["arguments","caller","callee"].indexOf(p)!==-1)return!1;const o=t[p];if(ct(o)){if(i.enumerable=!1,"writable"in i){i.writable=!1;return}i.set||(i.set=()=>{throw Error("Can not rewrite read-only method '"+p+"'")})}})},Us=(t,i)=>{const p={},o=E=>{E.forEach(w=>{p[w]=!0})};return Vt(t)?o(t):o(String(t).split(i)),p},$s=()=>{},qs=(t,i)=>t!=null&&Number.isFinite(t=+t)?t:i;function Vs(t){return!!(t&&ct(t.append)&&t[Jr]==="FormData"&&t[Sn])}const zs=t=>{const i=new Array(10),p=(o,E)=>{if(_n(o)){if(i.indexOf(o)>=0)return;if(!("toJSON"in o)){i[E]=o;const w=Vt(o)?[]:{};return an(o,(c,n)=>{const y=p(c,E+1);!on(y)&&(w[n]=y)}),i[E]=void 0,w}}return o};return p(t,0)},Gs=Et("AsyncFunction"),Ks=t=>t&&(_n(t)||ct(t))&&ct(t.then)&&ct(t.catch),ni=((t,i)=>t?setImmediate:i?((p,o)=>(jt.addEventListener("message",({source:E,data:w})=>{E===jt&&w===p&&o.length&&o.shift()()},!1),E=>{o.push(E),jt.postMessage(p,"*")}))(`axios@${Math.random()}`,[]):p=>setTimeout(p))(typeof setImmediate=="function",ct(jt.postMessage)),Ws=typeof queueMicrotask<"u"?queueMicrotask.bind(jt):typeof process<"u"&&process.nextTick||ni;var Z={isArray:Vt,isArrayBuffer:Yr,isBuffer:fs,isFormData:ws,isArrayBufferView:ds,isString:ps,isNumber:Qr,isBoolean:ms,isObject:_n,isPlainObject:Cn,isReadableStream:Es,isRequest:ks,isResponse:_s,isHeaders:Cs,isUndefined:on,isDate:gs,isFile:ys,isBlob:vs,isRegExp:Ds,isFunction:ct,isStream:bs,isURLSearchParams:Ss,isTypedArray:Ls,isFileList:xs,forEach:an,merge:er,extend:As,trim:Os,stripBOM:Rs,inherits:Ts,toFlatObject:Ps,kindOf:En,kindOfTest:Et,endsWith:Fs,toArray:Is,forEachEntry:js,matchAll:Ns,isHTMLForm:Ms,hasOwnProperty:ei,hasOwnProp:ei,reduceDescriptors:ti,freezeMethods:Hs,toObjectSet:Us,toCamelCase:Bs,noop:$s,toFiniteNumber:qs,findKey:Zr,global:jt,isContextDefined:Xr,isSpecCompliantForm:Vs,toJSONObject:zs,isAsyncFn:Gs,isThenable:Ks,setImmediate:ni,asap:Ws,isIterable:t=>t!=null&&ct(t[Sn])};function Te(t,i,p,o,E){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",i&&(this.code=i),p&&(this.config=p),o&&(this.request=o),E&&(this.response=E,this.status=E.status?E.status:null)}Z.inherits(Te,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:Z.toJSONObject(this.config),code:this.code,status:this.status}}});const ri=Te.prototype,ii={};["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(t=>{ii[t]={value:t}}),Object.defineProperties(Te,ii),Object.defineProperty(ri,"isAxiosError",{value:!0}),Te.from=(t,i,p,o,E,w)=>{const c=Object.create(ri);return Z.toFlatObject(t,c,function(y){return y!==Error.prototype},n=>n!=="isAxiosError"),Te.call(c,t.message,i,p,o,E),c.cause=t,c.name=t.name,w&&Object.assign(c,w),c};var Js=null;function tr(t){return Z.isPlainObject(t)||Z.isArray(t)}function si(t){return Z.endsWith(t,"[]")?t.slice(0,-2):t}function oi(t,i,p){return t?t.concat(i).map(function(E,w){return E=si(E),!p&&w?"["+E+"]":E}).join(p?".":""):i}function Ys(t){return Z.isArray(t)&&!t.some(tr)}const Qs=Z.toFlatObject(Z,{},null,function(i){return/^is[A-Z]/.test(i)});function On(t,i,p){if(!Z.isObject(t))throw new TypeError("target must be an object");i=i||new FormData,p=Z.toFlatObject(p,{metaTokens:!0,dots:!1,indexes:!1},!1,function(s,v){return!Z.isUndefined(v[s])});const o=p.metaTokens,E=p.visitor||e,w=p.dots,c=p.indexes,y=(p.Blob||typeof Blob<"u"&&Blob)&&Z.isSpecCompliantForm(i);if(!Z.isFunction(E))throw new TypeError("visitor must be a function");function r(a){if(a===null)return"";if(Z.isDate(a))return a.toISOString();if(Z.isBoolean(a))return a.toString();if(!y&&Z.isBlob(a))throw new Te("Blob is not supported. Use a Buffer instead.");return Z.isArrayBuffer(a)||Z.isTypedArray(a)?y&&typeof Blob=="function"?new Blob([a]):Buffer.from(a):a}function e(a,s,v){let f=a;if(a&&!v&&typeof a=="object"){if(Z.endsWith(s,"{}"))s=o?s:s.slice(0,-2),a=JSON.stringify(a);else if(Z.isArray(a)&&Ys(a)||(Z.isFileList(a)||Z.endsWith(s,"[]"))&&(f=Z.toArray(a)))return s=si(s),f.forEach(function(h,u){!(Z.isUndefined(h)||h===null)&&i.append(c===!0?oi([s],u,w):c===null?s:s+"[]",r(h))}),!1}return tr(a)?!0:(i.append(oi(v,s,w),r(a)),!1)}const d=[],C=Object.assign(Qs,{defaultVisitor:e,convertValue:r,isVisitable:tr});function l(a,s){if(!Z.isUndefined(a)){if(d.indexOf(a)!==-1)throw Error("Circular reference detected in "+s.join("."));d.push(a),Z.forEach(a,function(f,g){(!(Z.isUndefined(f)||f===null)&&E.call(i,f,Z.isString(g)?g.trim():g,s,C))===!0&&l(f,s?s.concat(g):[g])}),d.pop()}}if(!Z.isObject(t))throw new TypeError("data must be an object");return l(t),i}function ai(t){const i={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(o){return i[o]})}function nr(t,i){this._pairs=[],t&&On(t,this,i)}const li=nr.prototype;li.append=function(i,p){this._pairs.push([i,p])},li.toString=function(i){const p=i?function(o){return i.call(this,o,ai)}:ai;return this._pairs.map(function(E){return p(E[0])+"="+p(E[1])},"").join("&")};function Zs(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ci(t,i,p){if(!i)return t;const o=p&&p.encode||Zs;Z.isFunction(p)&&(p={serialize:p});const E=p&&p.serialize;let w;if(E?w=E(i,p):w=Z.isURLSearchParams(i)?i.toString():new nr(i,p).toString(o),w){const c=t.indexOf("#");c!==-1&&(t=t.slice(0,c)),t+=(t.indexOf("?")===-1?"?":"&")+w}return t}class Xs{constructor(){this.handlers=[]}use(i,p,o){return this.handlers.push({fulfilled:i,rejected:p,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(i){this.handlers[i]&&(this.handlers[i]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(i){Z.forEach(this.handlers,function(o){o!==null&&i(o)})}}var ui=Xs,hi={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},eo=typeof URLSearchParams<"u"?URLSearchParams:nr,to=typeof FormData<"u"?FormData:null,no=typeof Blob<"u"?Blob:null,ro={isBrowser:!0,classes:{URLSearchParams:eo,FormData:to,Blob:no},protocols:["http","https","file","blob","url","data"]};const rr=typeof window<"u"&&typeof document<"u",ir=typeof navigator=="object"&&navigator||void 0,io=rr&&(!ir||["ReactNative","NativeScript","NS"].indexOf(ir.product)<0),so=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",oo=rr&&window.location.href||"http://localhost";var ao=Object.freeze({__proto__:null,hasBrowserEnv:rr,hasStandardBrowserWebWorkerEnv:so,hasStandardBrowserEnv:io,navigator:ir,origin:oo}),nt={...ao,...ro};function lo(t,i){return On(t,new nt.classes.URLSearchParams,Object.assign({visitor:function(p,o,E,w){return nt.isNode&&Z.isBuffer(p)?(this.append(o,p.toString("base64")),!1):w.defaultVisitor.apply(this,arguments)}},i))}function co(t){return Z.matchAll(/\w+|\[(\w*)]/g,t).map(i=>i[0]==="[]"?"":i[1]||i[0])}function uo(t){const i={},p=Object.keys(t);let o;const E=p.length;let w;for(o=0;o<E;o++)w=p[o],i[w]=t[w];return i}function fi(t){function i(p,o,E,w){let c=p[w++];if(c==="__proto__")return!0;const n=Number.isFinite(+c),y=w>=p.length;return c=!c&&Z.isArray(E)?E.length:c,y?(Z.hasOwnProp(E,c)?E[c]=[E[c],o]:E[c]=o,!n):((!E[c]||!Z.isObject(E[c]))&&(E[c]=[]),i(p,o,E[c],w)&&Z.isArray(E[c])&&(E[c]=uo(E[c])),!n)}if(Z.isFormData(t)&&Z.isFunction(t.entries)){const p={};return Z.forEachEntry(t,(o,E)=>{i(co(o),E,p,0)}),p}return null}function ho(t,i,p){if(Z.isString(t))try{return(i||JSON.parse)(t),Z.trim(t)}catch(o){if(o.name!=="SyntaxError")throw o}return(0,JSON.stringify)(t)}const sr={transitional:hi,adapter:["xhr","http","fetch"],transformRequest:[function(i,p){const o=p.getContentType()||"",E=o.indexOf("application/json")>-1,w=Z.isObject(i);if(w&&Z.isHTMLForm(i)&&(i=new FormData(i)),Z.isFormData(i))return E?JSON.stringify(fi(i)):i;if(Z.isArrayBuffer(i)||Z.isBuffer(i)||Z.isStream(i)||Z.isFile(i)||Z.isBlob(i)||Z.isReadableStream(i))return i;if(Z.isArrayBufferView(i))return i.buffer;if(Z.isURLSearchParams(i))return p.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),i.toString();let n;if(w){if(o.indexOf("application/x-www-form-urlencoded")>-1)return lo(i,this.formSerializer).toString();if((n=Z.isFileList(i))||o.indexOf("multipart/form-data")>-1){const y=this.env&&this.env.FormData;return On(n?{"files[]":i}:i,y&&new y,this.formSerializer)}}return w||E?(p.setContentType("application/json",!1),ho(i)):i}],transformResponse:[function(i){const p=this.transitional||sr.transitional,o=p&&p.forcedJSONParsing,E=this.responseType==="json";if(Z.isResponse(i)||Z.isReadableStream(i))return i;if(i&&Z.isString(i)&&(o&&!this.responseType||E)){const c=!(p&&p.silentJSONParsing)&&E;try{return JSON.parse(i)}catch(n){if(c)throw n.name==="SyntaxError"?Te.from(n,Te.ERR_BAD_RESPONSE,this,null,this.response):n}}return i}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:nt.classes.FormData,Blob:nt.classes.Blob},validateStatus:function(i){return i>=200&&i<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Z.forEach(["delete","get","head","post","put","patch"],t=>{sr.headers[t]={}});var or=sr;const fo=Z.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"]);var po=t=>{const i={};let p,o,E;return t&&t.split(`
`).forEach(function(c){E=c.indexOf(":"),p=c.substring(0,E).trim().toLowerCase(),o=c.substring(E+1).trim(),!(!p||i[p]&&fo[p])&&(p==="set-cookie"?i[p]?i[p].push(o):i[p]=[o]:i[p]=i[p]?i[p]+", "+o:o)}),i};const di=Symbol("internals");function ln(t){return t&&String(t).trim().toLowerCase()}function An(t){return t===!1||t==null?t:Z.isArray(t)?t.map(An):String(t)}function mo(t){const i=Object.create(null),p=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=p.exec(t);)i[o[1]]=o[2];return i}const go=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ar(t,i,p,o,E){if(Z.isFunction(o))return o.call(this,i,p);if(E&&(i=p),!!Z.isString(i)){if(Z.isString(o))return i.indexOf(o)!==-1;if(Z.isRegExp(o))return o.test(i)}}function yo(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(i,p,o)=>p.toUpperCase()+o)}function vo(t,i){const p=Z.toCamelCase(" "+i);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+p,{value:function(E,w,c){return this[o].call(this,i,E,w,c)},configurable:!0})})}class Rn{constructor(i){i&&this.set(i)}set(i,p,o){const E=this;function w(n,y,r){const e=ln(y);if(!e)throw new Error("header name must be a non-empty string");const d=Z.findKey(E,e);(!d||E[d]===void 0||r===!0||r===void 0&&E[d]!==!1)&&(E[d||y]=An(n))}const c=(n,y)=>Z.forEach(n,(r,e)=>w(r,e,y));if(Z.isPlainObject(i)||i instanceof this.constructor)c(i,p);else if(Z.isString(i)&&(i=i.trim())&&!go(i))c(po(i),p);else if(Z.isObject(i)&&Z.isIterable(i)){let n={},y,r;for(const e of i){if(!Z.isArray(e))throw TypeError("Object iterator must return a key-value pair");n[r=e[0]]=(y=n[r])?Z.isArray(y)?[...y,e[1]]:[y,e[1]]:e[1]}c(n,p)}else i!=null&&w(p,i,o);return this}get(i,p){if(i=ln(i),i){const o=Z.findKey(this,i);if(o){const E=this[o];if(!p)return E;if(p===!0)return mo(E);if(Z.isFunction(p))return p.call(this,E,o);if(Z.isRegExp(p))return p.exec(E);throw new TypeError("parser must be boolean|regexp|function")}}}has(i,p){if(i=ln(i),i){const o=Z.findKey(this,i);return!!(o&&this[o]!==void 0&&(!p||ar(this,this[o],o,p)))}return!1}delete(i,p){const o=this;let E=!1;function w(c){if(c=ln(c),c){const n=Z.findKey(o,c);n&&(!p||ar(o,o[n],n,p))&&(delete o[n],E=!0)}}return Z.isArray(i)?i.forEach(w):w(i),E}clear(i){const p=Object.keys(this);let o=p.length,E=!1;for(;o--;){const w=p[o];(!i||ar(this,this[w],w,i,!0))&&(delete this[w],E=!0)}return E}normalize(i){const p=this,o={};return Z.forEach(this,(E,w)=>{const c=Z.findKey(o,w);if(c){p[c]=An(E),delete p[w];return}const n=i?yo(w):String(w).trim();n!==w&&delete p[w],p[n]=An(E),o[n]=!0}),this}concat(...i){return this.constructor.concat(this,...i)}toJSON(i){const p=Object.create(null);return Z.forEach(this,(o,E)=>{o!=null&&o!==!1&&(p[E]=i&&Z.isArray(o)?o.join(", "):o)}),p}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([i,p])=>i+": "+p).join(`
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(i){return i instanceof this?i:new this(i)}static concat(i,...p){const o=new this(i);return p.forEach(E=>o.set(E)),o}static accessor(i){const o=(this[di]=this[di]={accessors:{}}).accessors,E=this.prototype;function w(c){const n=ln(c);o[n]||(vo(E,c),o[n]=!0)}return Z.isArray(i)?i.forEach(w):w(i),this}}Rn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Z.reduceDescriptors(Rn.prototype,({value:t},i)=>{let p=i[0].toUpperCase()+i.slice(1);return{get:()=>t,set(o){this[p]=o}}}),Z.freezeMethods(Rn);var kt=Rn;function lr(t,i){const p=this||or,o=i||p,E=kt.from(o.headers);let w=o.data;return Z.forEach(t,function(n){w=n.call(p,w,E.normalize(),i?i.status:void 0)}),E.normalize(),w}function pi(t){return!!(t&&t.__CANCEL__)}function zt(t,i,p){Te.call(this,t??"canceled",Te.ERR_CANCELED,i,p),this.name="CanceledError"}Z.inherits(zt,Te,{__CANCEL__:!0});function mi(t,i,p){const o=p.config.validateStatus;!p.status||!o||o(p.status)?t(p):i(new Te("Request failed with status code "+p.status,[Te.ERR_BAD_REQUEST,Te.ERR_BAD_RESPONSE][Math.floor(p.status/100)-4],p.config,p.request,p))}function xo(t){const i=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return i&&i[1]||""}function bo(t,i){t=t||10;const p=new Array(t),o=new Array(t);let E=0,w=0,c;return i=i!==void 0?i:1e3,function(y){const r=Date.now(),e=o[w];c||(c=r),p[E]=y,o[E]=r;let d=w,C=0;for(;d!==E;)C+=p[d++],d=d%t;if(E=(E+1)%t,E===w&&(w=(w+1)%t),r-c<i)return;const l=e&&r-e;return l?Math.round(C*1e3/l):void 0}}function wo(t,i){let p=0,o=1e3/i,E,w;const c=(r,e=Date.now())=>{p=e,E=null,w&&(clearTimeout(w),w=null),t.apply(null,r)};return[(...r)=>{const e=Date.now(),d=e-p;d>=o?c(r,e):(E=r,w||(w=setTimeout(()=>{w=null,c(E)},o-d)))},()=>E&&c(E)]}const Tn=(t,i,p=3)=>{let o=0;const E=bo(50,250);return wo(w=>{const c=w.loaded,n=w.lengthComputable?w.total:void 0,y=c-o,r=E(y),e=c<=n;o=c;const d={loaded:c,total:n,progress:n?c/n:void 0,bytes:y,rate:r||void 0,estimated:r&&n&&e?(n-c)/r:void 0,event:w,lengthComputable:n!=null,[i?"download":"upload"]:!0};t(d)},p)},gi=(t,i)=>{const p=t!=null;return[o=>i[0]({lengthComputable:p,total:t,loaded:o}),i[1]]},yi=t=>(...i)=>Z.asap(()=>t(...i));var So=nt.hasStandardBrowserEnv?((t,i)=>p=>(p=new URL(p,nt.origin),t.protocol===p.protocol&&t.host===p.host&&(i||t.port===p.port)))(new URL(nt.origin),nt.navigator&&/(msie|trident)/i.test(nt.navigator.userAgent)):()=>!0,Eo=nt.hasStandardBrowserEnv?{write(t,i,p,o,E,w){const c=[t+"="+encodeURIComponent(i)];Z.isNumber(p)&&c.push("expires="+new Date(p).toGMTString()),Z.isString(o)&&c.push("path="+o),Z.isString(E)&&c.push("domain="+E),w===!0&&c.push("secure"),document.cookie=c.join("; ")},read(t){const i=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return i?decodeURIComponent(i[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ko(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function _o(t,i){return i?t.replace(/\/?\/$/,"")+"/"+i.replace(/^\/+/,""):t}function vi(t,i,p){let o=!ko(i);return t&&(o||p==!1)?_o(t,i):i}const xi=t=>t instanceof kt?{...t}:t;function Nt(t,i){i=i||{};const p={};function o(r,e,d,C){return Z.isPlainObject(r)&&Z.isPlainObject(e)?Z.merge.call({caseless:C},r,e):Z.isPlainObject(e)?Z.merge({},e):Z.isArray(e)?e.slice():e}function E(r,e,d,C){if(Z.isUndefined(e)){if(!Z.isUndefined(r))return o(void 0,r,d,C)}else return o(r,e,d,C)}function w(r,e){if(!Z.isUndefined(e))return o(void 0,e)}function c(r,e){if(Z.isUndefined(e)){if(!Z.isUndefined(r))return o(void 0,r)}else return o(void 0,e)}function n(r,e,d){if(d in i)return o(r,e);if(d in t)return o(void 0,r)}const y={url:w,method:w,data:w,baseURL:c,transformRequest:c,transformResponse:c,paramsSerializer:c,timeout:c,timeoutMessage:c,withCredentials:c,withXSRFToken:c,adapter:c,responseType:c,xsrfCookieName:c,xsrfHeaderName:c,onUploadProgress:c,onDownloadProgress:c,decompress:c,maxContentLength:c,maxBodyLength:c,beforeRedirect:c,transport:c,httpAgent:c,httpsAgent:c,cancelToken:c,socketPath:c,responseEncoding:c,validateStatus:n,headers:(r,e,d)=>E(xi(r),xi(e),d,!0)};return Z.forEach(Object.keys(Object.assign({},t,i)),function(e){const d=y[e]||E,C=d(t[e],i[e],e);Z.isUndefined(C)&&d!==n||(p[e]=C)}),p}var bi=t=>{const i=Nt({},t);let{data:p,withXSRFToken:o,xsrfHeaderName:E,xsrfCookieName:w,headers:c,auth:n}=i;i.headers=c=kt.from(c),i.url=ci(vi(i.baseURL,i.url,i.allowAbsoluteUrls),t.params,t.paramsSerializer),n&&c.set("Authorization","Basic "+btoa((n.username||"")+":"+(n.password?unescape(encodeURIComponent(n.password)):"")));let y;if(Z.isFormData(p)){if(nt.hasStandardBrowserEnv||nt.hasStandardBrowserWebWorkerEnv)c.setContentType(void 0);else if((y=c.getContentType())!==!1){const[r,...e]=y?y.split(";").map(d=>d.trim()).filter(Boolean):[];c.setContentType([r||"multipart/form-data",...e].join("; "))}}if(nt.hasStandardBrowserEnv&&(o&&Z.isFunction(o)&&(o=o(i)),o||o!==!1&&So(i.url))){const r=E&&w&&Eo.read(w);r&&c.set(E,r)}return i},Co=typeof XMLHttpRequest<"u"&&function(t){return new Promise(function(p,o){const E=bi(t);let w=E.data;const c=kt.from(E.headers).normalize();let{responseType:n,onUploadProgress:y,onDownloadProgress:r}=E,e,d,C,l,a;function s(){l&&l(),a&&a(),E.cancelToken&&E.cancelToken.unsubscribe(e),E.signal&&E.signal.removeEventListener("abort",e)}let v=new XMLHttpRequest;v.open(E.method.toUpperCase(),E.url,!0),v.timeout=E.timeout;function f(){if(!v)return;const h=kt.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),_={data:!n||n==="text"||n==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:h,config:t,request:v};mi(function(F){p(F),s()},function(F){o(F),s()},_),v=null}"onloadend"in v?v.onloadend=f:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(f)},v.onabort=function(){v&&(o(new Te("Request aborted",Te.ECONNABORTED,t,v)),v=null)},v.onerror=function(){o(new Te("Network Error",Te.ERR_NETWORK,t,v)),v=null},v.ontimeout=function(){let u=E.timeout?"timeout of "+E.timeout+"ms exceeded":"timeout exceeded";const _=E.transitional||hi;E.timeoutErrorMessage&&(u=E.timeoutErrorMessage),o(new Te(u,_.clarifyTimeoutError?Te.ETIMEDOUT:Te.ECONNABORTED,t,v)),v=null},w===void 0&&c.setContentType(null),"setRequestHeader"in v&&Z.forEach(c.toJSON(),function(u,_){v.setRequestHeader(_,u)}),Z.isUndefined(E.withCredentials)||(v.withCredentials=!!E.withCredentials),n&&n!=="json"&&(v.responseType=E.responseType),r&&([C,a]=Tn(r,!0),v.addEventListener("progress",C)),y&&v.upload&&([d,l]=Tn(y),v.upload.addEventListener("progress",d),v.upload.addEventListener("loadend",l)),(E.cancelToken||E.signal)&&(e=h=>{v&&(o(!h||h.type?new zt(null,t,v):h),v.abort(),v=null)},E.cancelToken&&E.cancelToken.subscribe(e),E.signal&&(E.signal.aborted?e():E.signal.addEventListener("abort",e)));const g=xo(E.url);if(g&&nt.protocols.indexOf(g)===-1){o(new Te("Unsupported protocol "+g+":",Te.ERR_BAD_REQUEST,t));return}v.send(w||null)})},Oo=(t,i)=>{const{length:p}=t=t?t.filter(Boolean):[];if(i||p){let o=new AbortController,E;const w=function(r){if(!E){E=!0,n();const e=r instanceof Error?r:this.reason;o.abort(e instanceof Te?e:new zt(e instanceof Error?e.message:e))}};let c=i&&setTimeout(()=>{c=null,w(new Te(`timeout ${i} of ms exceeded`,Te.ETIMEDOUT))},i);const n=()=>{t&&(c&&clearTimeout(c),c=null,t.forEach(r=>{r.unsubscribe?r.unsubscribe(w):r.removeEventListener("abort",w)}),t=null)};t.forEach(r=>r.addEventListener("abort",w));const{signal:y}=o;return y.unsubscribe=()=>Z.asap(n),y}};const Ao=function*(t,i){let p=t.byteLength;if(p<i){yield t;return}let o=0,E;for(;o<p;)E=o+i,yield t.slice(o,E),o=E},Ro=async function*(t,i){for await(const p of To(t))yield*Ao(p,i)},To=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const i=t.getReader();try{for(;;){const{done:p,value:o}=await i.read();if(p)break;yield o}}finally{await i.cancel()}},wi=(t,i,p,o)=>{const E=Ro(t,i);let w=0,c,n=y=>{c||(c=!0,o&&o(y))};return new ReadableStream({async pull(y){try{const{done:r,value:e}=await E.next();if(r){n(),y.close();return}let d=e.byteLength;if(p){let C=w+=d;p(C)}y.enqueue(new Uint8Array(e))}catch(r){throw n(r),r}},cancel(y){return n(y),E.return()}},{highWaterMark:2})},Pn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Si=Pn&&typeof ReadableStream=="function",Po=Pn&&(typeof TextEncoder=="function"?(t=>i=>t.encode(i))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),Ei=(t,...i)=>{try{return!!t(...i)}catch{return!1}},Fo=Si&&Ei(()=>{let t=!1;const i=new Request(nt.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!i}),ki=64*1024,cr=Si&&Ei(()=>Z.isReadableStream(new Response("").body)),Fn={stream:cr&&(t=>t.body)};Pn&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(i=>{!Fn[i]&&(Fn[i]=Z.isFunction(t[i])?p=>p[i]():(p,o)=>{throw new Te(`Response type '${i}' is not supported`,Te.ERR_NOT_SUPPORT,o)})})})(new Response);const Io=async t=>{if(t==null)return 0;if(Z.isBlob(t))return t.size;if(Z.isSpecCompliantForm(t))return(await new Request(nt.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(Z.isArrayBufferView(t)||Z.isArrayBuffer(t))return t.byteLength;if(Z.isURLSearchParams(t)&&(t=t+""),Z.isString(t))return(await Po(t)).byteLength},Lo=async(t,i)=>{const p=Z.toFiniteNumber(t.getContentLength());return p??Io(i)};var jo=Pn&&(async t=>{let{url:i,method:p,data:o,signal:E,cancelToken:w,timeout:c,onDownloadProgress:n,onUploadProgress:y,responseType:r,headers:e,withCredentials:d="same-origin",fetchOptions:C}=bi(t);r=r?(r+"").toLowerCase():"text";let l=Oo([E,w&&w.toAbortSignal()],c),a;const s=l&&l.unsubscribe&&(()=>{l.unsubscribe()});let v;try{if(y&&Fo&&p!=="get"&&p!=="head"&&(v=await Lo(e,o))!==0){let _=new Request(i,{method:"POST",body:o,duplex:"half"}),S;if(Z.isFormData(o)&&(S=_.headers.get("content-type"))&&e.setContentType(S),_.body){const[F,P]=gi(v,Tn(yi(y)));o=wi(_.body,ki,F,P)}}Z.isString(d)||(d=d?"include":"omit");const f="credentials"in Request.prototype;a=new Request(i,{...C,signal:l,method:p.toUpperCase(),headers:e.normalize().toJSON(),body:o,duplex:"half",credentials:f?d:void 0});let g=await fetch(a,C);const h=cr&&(r==="stream"||r==="response");if(cr&&(n||h&&s)){const _={};["status","statusText","headers"].forEach(T=>{_[T]=g[T]});const S=Z.toFiniteNumber(g.headers.get("content-length")),[F,P]=n&&gi(S,Tn(yi(n),!0))||[];g=new Response(wi(g.body,ki,F,()=>{P&&P(),s&&s()}),_)}r=r||"text";let u=await Fn[Z.findKey(Fn,r)||"text"](g,t);return!h&&s&&s(),await new Promise((_,S)=>{mi(_,S,{data:u,headers:kt.from(g.headers),status:g.status,statusText:g.statusText,config:t,request:a})})}catch(f){throw s&&s(),f&&f.name==="TypeError"&&/Load failed|fetch/i.test(f.message)?Object.assign(new Te("Network Error",Te.ERR_NETWORK,t,a),{cause:f.cause||f}):Te.from(f,f&&f.code,t,a)}});const ur={http:Js,xh