arpeggi-framer-components 0.0.6 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.umd.js CHANGED
@@ -1,4 +1,4 @@
1
- (function(ye,T){typeof exports=="object"&&typeof module<"u"?T(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],T):(ye=typeof globalThis<"u"?globalThis:ye||self,T(ye["react-beautiful-timeline"]={},ye.React))})(this,function(ye,T){"use strict";var ep=Object.defineProperty;var tp=(ye,T,Ge)=>T in ye?ep(ye,T,{enumerable:!0,configurable:!0,writable:!0,value:Ge}):ye[T]=Ge;var mn=(ye,T,Ge)=>tp(ye,typeof T!="symbol"?T+"":T,Ge);function Ge(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var $t={exports:{}},yt={};/**
1
+ (function(ke,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],E):(ke=typeof globalThis<"u"?globalThis:ke||self,E(ke["react-beautiful-timeline"]={},ke.React))})(this,function(ke,E){"use strict";var pp=Object.defineProperty;var up=(ke,E,tt)=>E in ke?pp(ke,E,{enumerable:!0,configurable:!0,writable:!0,value:tt}):ke[E]=tt;var hn=(ke,E,tt)=>up(ke,typeof E!="symbol"?E+"":E,tt);function tt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ut={exports:{}},Rt={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var di;function Eo(){if(di)return yt;di=1;var e=T,t=Symbol.for("react.element"),i=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(s,c,p){var l,u={},f=null,m=null;p!==void 0&&(f=""+p),c.key!==void 0&&(f=""+c.key),c.ref!==void 0&&(m=c.ref);for(l in c)n.call(c,l)&&!o.hasOwnProperty(l)&&(u[l]=c[l]);if(s&&s.defaultProps)for(l in c=s.defaultProps,c)u[l]===void 0&&(u[l]=c[l]);return{$$typeof:t,type:s,key:f,ref:m,props:u,_owner:r.current}}return yt.Fragment=i,yt.jsx=a,yt.jsxs=a,yt}var Et={};/**
9
+ */var vi;function Ca(){if(vi)return Rt;vi=1;var e=E,t=Symbol.for("react.element"),i=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(s,c,p){var l,u={},f=null,m=null;p!==void 0&&(f=""+p),c.key!==void 0&&(f=""+c.key),c.ref!==void 0&&(m=c.ref);for(l in c)n.call(c,l)&&!a.hasOwnProperty(l)&&(u[l]=c[l]);if(s&&s.defaultProps)for(l in c=s.defaultProps,c)u[l]===void 0&&(u[l]=c[l]);return{$$typeof:t,type:s,key:f,ref:m,props:u,_owner:r.current}}return Rt.Fragment=i,Rt.jsx=o,Rt.jsxs=o,Rt}var Tt={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,43 +14,43 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var ui;function wo(){return ui||(ui=1,process.env.NODE_ENV!=="production"&&function(){var e=T,t=Symbol.for("react.element"),i=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),x=Symbol.iterator,g="@@iterator";function y(d){if(d===null||typeof d!="object")return null;var w=x&&d[x]||d[g];return typeof w=="function"?w:null}var h=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function A(d){{for(var w=arguments.length,_=new Array(w>1?w-1:0),q=1;q<w;q++)_[q-1]=arguments[q];C("error",d,_)}}function C(d,w,_){{var q=h.ReactDebugCurrentFrame,re=q.getStackAddendum();re!==""&&(w+="%s",_=_.concat([re]));var pe=_.map(function(Q){return String(Q)});pe.unshift("Warning: "+w),Function.prototype.apply.call(console[d],console,pe)}}var k=!1,b=!1,D=!1,L=!1,B=!1,W;W=Symbol.for("react.module.reference");function J(d){return!!(typeof d=="string"||typeof d=="function"||d===n||d===o||B||d===r||d===p||d===l||L||d===m||k||b||D||typeof d=="object"&&d!==null&&(d.$$typeof===f||d.$$typeof===u||d.$$typeof===a||d.$$typeof===s||d.$$typeof===c||d.$$typeof===W||d.getModuleId!==void 0))}function ae(d,w,_){var q=d.displayName;if(q)return q;var re=w.displayName||w.name||"";return re!==""?_+"("+re+")":_}function fe(d){return d.displayName||"Context"}function Z(d){if(d==null)return null;if(typeof d.tag=="number"&&A("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case n:return"Fragment";case i:return"Portal";case o:return"Profiler";case r:return"StrictMode";case p:return"Suspense";case l:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case s:var w=d;return fe(w)+".Consumer";case a:var _=d;return fe(_._context)+".Provider";case c:return ae(d,d.render,"ForwardRef");case u:var q=d.displayName||null;return q!==null?q:Z(d.type)||"Memo";case f:{var re=d,pe=re._payload,Q=re._init;try{return Z(Q(pe))}catch{return null}}}return null}var V=Object.assign,ce=0,Se,Re,be,he,S,O,z;function $(){}$.__reactDisabledLog=!0;function P(){{if(ce===0){Se=console.log,Re=console.info,be=console.warn,he=console.error,S=console.group,O=console.groupCollapsed,z=console.groupEnd;var d={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}ce++}}function H(){{if(ce--,ce===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},d,{value:Se}),info:V({},d,{value:Re}),warn:V({},d,{value:be}),error:V({},d,{value:he}),group:V({},d,{value:S}),groupCollapsed:V({},d,{value:O}),groupEnd:V({},d,{value:z})})}ce<0&&A("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var I=h.ReactCurrentDispatcher,N;function Y(d,w,_){{if(N===void 0)try{throw Error()}catch(re){var q=re.stack.trim().match(/\n( *(at )?)/);N=q&&q[1]||""}return`
18
- `+N+d}}var G=!1,M;{var xe=typeof WeakMap=="function"?WeakMap:Map;M=new xe}function E(d,w){if(!d||G)return"";{var _=M.get(d);if(_!==void 0)return _}var q;G=!0;var re=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var pe;pe=I.current,I.current=null,P();try{if(w){var Q=function(){throw Error()};if(Object.defineProperty(Q.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Q,[])}catch(Ve){q=Ve}Reflect.construct(d,[],Q)}else{try{Q.call()}catch(Ve){q=Ve}d.call(Q.prototype)}}else{try{throw Error()}catch(Ve){q=Ve}d()}}catch(Ve){if(Ve&&q&&typeof Ve.stack=="string"){for(var X=Ve.stack.split(`
19
- `),je=q.stack.split(`
20
- `),Ee=X.length-1,Te=je.length-1;Ee>=1&&Te>=0&&X[Ee]!==je[Te];)Te--;for(;Ee>=1&&Te>=0;Ee--,Te--)if(X[Ee]!==je[Te]){if(Ee!==1||Te!==1)do if(Ee--,Te--,Te<0||X[Ee]!==je[Te]){var ze=`
21
- `+X[Ee].replace(" at new "," at ");return d.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",d.displayName)),typeof d=="function"&&M.set(d,ze),ze}while(Ee>=1&&Te>=0);break}}}finally{G=!1,I.current=pe,H(),Error.prepareStackTrace=re}var bt=d?d.displayName||d.name:"",yo=bt?Y(bt):"";return typeof d=="function"&&M.set(d,yo),yo}function K(d,w,_){return E(d,!1)}function de(d){var w=d.prototype;return!!(w&&w.isReactComponent)}function te(d,w,_){if(d==null)return"";if(typeof d=="function")return E(d,de(d));if(typeof d=="string")return Y(d);switch(d){case p:return Y("Suspense");case l:return Y("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case c:return K(d.render);case u:return te(d.type,w,_);case f:{var q=d,re=q._payload,pe=q._init;try{return te(pe(re),w,_)}catch{}}}return""}var Oe=Object.prototype.hasOwnProperty,Ae={},ve=h.ReactDebugCurrentFrame;function me(d){if(d){var w=d._owner,_=te(d.type,d._source,w?w.type:null);ve.setExtraStackFrame(_)}else ve.setExtraStackFrame(null)}function Ce(d,w,_,q,re){{var pe=Function.call.bind(Oe);for(var Q in d)if(pe(d,Q)){var X=void 0;try{if(typeof d[Q]!="function"){var je=Error((q||"React class")+": "+_+" type `"+Q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[Q]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw je.name="Invariant Violation",je}X=d[Q](w,Q,q,_,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ee){X=Ee}X&&!(X instanceof Error)&&(me(re),A("%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).",q||"React class",_,Q,typeof X),me(null)),X instanceof Error&&!(X.message in Ae)&&(Ae[X.message]=!0,me(re),A("Failed %s type: %s",_,X.message),me(null))}}}var xt=Array.isArray;function Ke(d){return xt(d)}function vt(d){{var w=typeof Symbol=="function"&&Symbol.toStringTag,_=w&&d[Symbol.toStringTag]||d.constructor.name||"Object";return _}}function R(d){try{return F(d),!1}catch{return!0}}function F(d){return""+d}function le(d){if(R(d))return A("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",vt(d)),F(d)}var ue=h.ReactCurrentOwner,ke={key:!0,ref:!0,__self:!0,__source:!0},Je,We,st;st={};function Ft(d){if(Oe.call(d,"ref")){var w=Object.getOwnPropertyDescriptor(d,"ref").get;if(w&&w.isReactWarning)return!1}return d.ref!==void 0}function Pt(d){if(Oe.call(d,"key")){var w=Object.getOwnPropertyDescriptor(d,"key").get;if(w&&w.isReactWarning)return!1}return d.key!==void 0}function gt(d,w){if(typeof d.ref=="string"&&ue.current&&w&&ue.current.stateNode!==w){var _=Z(ue.current.type);st[_]||(A('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',Z(ue.current.type),d.ref),st[_]=!0)}}function It(d,w){{var _=function(){Je||(Je=!0,A("%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)",w))};_.isReactWarning=!0,Object.defineProperty(d,"key",{get:_,configurable:!0})}}function Bt(d,w){{var _=function(){We||(We=!0,A("%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)",w))};_.isReactWarning=!0,Object.defineProperty(d,"ref",{get:_,configurable:!0})}}var zt=function(d,w,_,q,re,pe,Q){var X={$$typeof:t,type:d,key:w,ref:_,props:Q,_owner:pe};return X._store={},Object.defineProperty(X._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(X,"_self",{configurable:!1,enumerable:!1,writable:!1,value:q}),Object.defineProperty(X,"_source",{configurable:!1,enumerable:!1,writable:!1,value:re}),Object.freeze&&(Object.freeze(X.props),Object.freeze(X)),X};function Lt(d,w,_,q,re){{var pe,Q={},X=null,je=null;_!==void 0&&(le(_),X=""+_),Pt(w)&&(le(w.key),X=""+w.key),Ft(w)&&(je=w.ref,gt(w,re));for(pe in w)Oe.call(w,pe)&&!ke.hasOwnProperty(pe)&&(Q[pe]=w[pe]);if(d&&d.defaultProps){var Ee=d.defaultProps;for(pe in Ee)Q[pe]===void 0&&(Q[pe]=Ee[pe])}if(X||je){var Te=typeof d=="function"?d.displayName||d.name||"Unknown":d;X&&It(Q,Te),je&&Bt(Q,Te)}return zt(d,X,je,re,q,ue.current,Q)}}var Mt=h.ReactCurrentOwner,mo=h.ReactDebugCurrentFrame;function ht(d){if(d){var w=d._owner,_=te(d.type,d._source,w?w.type:null);mo.setExtraStackFrame(_)}else mo.setExtraStackFrame(null)}var li;li=!1;function pi(d){return typeof d=="object"&&d!==null&&d.$$typeof===t}function xo(){{if(Mt.current){var d=Z(Mt.current.type);if(d)return`
17
+ */var gi;function Da(){return gi||(gi=1,process.env.NODE_ENV!=="production"&&function(){var e=E,t=Symbol.for("react.element"),i=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),l=Symbol.for("react.suspense_list"),u=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),v=Symbol.iterator,g="@@iterator";function w(d){if(d===null||typeof d!="object")return null;var T=v&&d[v]||d[g];return typeof T=="function"?T:null}var x=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(d){{for(var T=arguments.length,D=new Array(T>1?T-1:0),K=1;K<T;K++)D[K-1]=arguments[K];A("error",d,D)}}function A(d,T,D){{var K=x.ReactDebugCurrentFrame,le=K.getStackAddendum();le!==""&&(T+="%s",D=D.concat([le]));var he=D.map(function(re){return String(re)});he.unshift("Warning: "+T),Function.prototype.apply.call(console[d],console,he)}}var k=!1,b=!1,j=!1,q=!1,F=!1,Y;Y=Symbol.for("react.module.reference");function H(d){return!!(typeof d=="string"||typeof d=="function"||d===n||d===a||F||d===r||d===p||d===l||q||d===m||k||b||j||typeof d=="object"&&d!==null&&(d.$$typeof===f||d.$$typeof===u||d.$$typeof===o||d.$$typeof===s||d.$$typeof===c||d.$$typeof===Y||d.getModuleId!==void 0))}function ae(d,T,D){var K=d.displayName;if(K)return K;var le=T.displayName||T.name||"";return le!==""?D+"("+le+")":D}function ve(d){return d.displayName||"Context"}function ne(d){if(d==null)return null;if(typeof d.tag=="number"&&O("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof d=="function")return d.displayName||d.name||null;if(typeof d=="string")return d;switch(d){case n:return"Fragment";case i:return"Portal";case a:return"Profiler";case r:return"StrictMode";case p:return"Suspense";case l:return"SuspenseList"}if(typeof d=="object")switch(d.$$typeof){case s:var T=d;return ve(T)+".Consumer";case o:var D=d;return ve(D._context)+".Provider";case c:return ae(d,d.render,"ForwardRef");case u:var K=d.displayName||null;return K!==null?K:ne(d.type)||"Memo";case f:{var le=d,he=le._payload,re=le._init;try{return ne(re(he))}catch{return null}}}return null}var V=Object.assign,pe=0,Ee,Se,ue,ye,R,_,B;function W(){}W.__reactDisabledLog=!0;function z(){{if(pe===0){Ee=console.log,Se=console.info,ue=console.warn,ye=console.error,R=console.group,_=console.groupCollapsed,B=console.groupEnd;var d={configurable:!0,enumerable:!0,value:W,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}pe++}}function G(){{if(pe--,pe===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:V({},d,{value:Ee}),info:V({},d,{value:Se}),warn:V({},d,{value:ue}),error:V({},d,{value:ye}),group:V({},d,{value:R}),groupCollapsed:V({},d,{value:_}),groupEnd:V({},d,{value:B})})}pe<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var L=x.ReactCurrentDispatcher,U;function J(d,T,D){{if(U===void 0)try{throw Error()}catch(le){var K=le.stack.trim().match(/\n( *(at )?)/);U=K&&K[1]||""}return`
18
+ `+U+d}}var te=!1,M;{var ge=typeof WeakMap=="function"?WeakMap:Map;M=new ge}function y(d,T){if(!d||te)return"";{var D=M.get(d);if(D!==void 0)return D}var K;te=!0;var le=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var he;he=L.current,L.current=null,z();try{if(T){var re=function(){throw Error()};if(Object.defineProperty(re.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(re,[])}catch(Je){K=Je}Reflect.construct(d,[],re)}else{try{re.call()}catch(Je){K=Je}d.call(re.prototype)}}else{try{throw Error()}catch(Je){K=Je}d()}}catch(Je){if(Je&&K&&typeof Je.stack=="string"){for(var ie=Je.stack.split(`
19
+ `),Fe=K.stack.split(`
20
+ `),Oe=ie.length-1,Ce=Fe.length-1;Oe>=1&&Ce>=0&&ie[Oe]!==Fe[Ce];)Ce--;for(;Oe>=1&&Ce>=0;Oe--,Ce--)if(ie[Oe]!==Fe[Ce]){if(Oe!==1||Ce!==1)do if(Oe--,Ce--,Ce<0||ie[Oe]!==Fe[Ce]){var Me=`
21
+ `+ie[Oe].replace(" at new "," at ");return d.displayName&&Me.includes("<anonymous>")&&(Me=Me.replace("<anonymous>",d.displayName)),typeof d=="function"&&M.set(d,Me),Me}while(Oe>=1&&Ce>=0);break}}}finally{te=!1,L.current=he,G(),Error.prepareStackTrace=le}var St=d?d.displayName||d.name:"",Aa=St?J(St):"";return typeof d=="function"&&M.set(d,Aa),Aa}function P(d,T,D){return y(d,!1)}function X(d){var T=d.prototype;return!!(T&&T.isReactComponent)}function $(d,T,D){if(d==null)return"";if(typeof d=="function")return y(d,X(d));if(typeof d=="string")return J(d);switch(d){case p:return J("Suspense");case l:return J("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case c:return P(d.render);case u:return $(d.type,T,D);case f:{var K=d,le=K._payload,he=K._init;try{return $(he(le),T,D)}catch{}}}return""}var de=Object.prototype.hasOwnProperty,Re={},Q=x.ReactDebugCurrentFrame;function ee(d){if(d){var T=d._owner,D=$(d.type,d._source,T?T.type:null);Q.setExtraStackFrame(D)}else Q.setExtraStackFrame(null)}function be(d,T,D,K,le){{var he=Function.call.bind(de);for(var re in d)if(he(d,re)){var ie=void 0;try{if(typeof d[re]!="function"){var Fe=Error((K||"React class")+": "+D+" type `"+re+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[re]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Fe.name="Invariant Violation",Fe}ie=d[re](T,re,K,D,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Oe){ie=Oe}ie&&!(ie instanceof Error)&&(ee(le),O("%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).",K||"React class",D,re,typeof ie),ee(null)),ie instanceof Error&&!(ie.message in Re)&&(Re[ie.message]=!0,ee(le),O("Failed %s type: %s",D,ie.message),ee(null))}}}var Ge=Array.isArray;function Ne(d){return Ge(d)}function Ye(d){{var T=typeof Symbol=="function"&&Symbol.toStringTag,D=T&&d[Symbol.toStringTag]||d.constructor.name||"Object";return D}}function S(d){try{return C(d),!1}catch{return!0}}function C(d){return""+d}function oe(d){if(S(d))return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ye(d)),C(d)}var me=x.ReactCurrentOwner,Te={key:!0,ref:!0,__self:!0,__source:!0},et,Ke,dt;dt={};function zt(d){if(de.call(d,"ref")){var T=Object.getOwnPropertyDescriptor(d,"ref").get;if(T&&T.isReactWarning)return!1}return d.ref!==void 0}function Lt(d){if(de.call(d,"key")){var T=Object.getOwnPropertyDescriptor(d,"key").get;if(T&&T.isReactWarning)return!1}return d.key!==void 0}function wt(d,T){if(typeof d.ref=="string"&&me.current&&T&&me.current.stateNode!==T){var D=ne(me.current.type);dt[D]||(O('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',ne(me.current.type),d.ref),dt[D]=!0)}}function Mt(d,T){{var D=function(){et||(et=!0,O("%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)",T))};D.isReactWarning=!0,Object.defineProperty(d,"key",{get:D,configurable:!0})}}function $t(d,T){{var D=function(){Ke||(Ke=!0,O("%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)",T))};D.isReactWarning=!0,Object.defineProperty(d,"ref",{get:D,configurable:!0})}}var Nt=function(d,T,D,K,le,he,re){var ie={$$typeof:t,type:d,key:T,ref:D,props:re,_owner:he};return ie._store={},Object.defineProperty(ie._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ie,"_self",{configurable:!1,enumerable:!1,writable:!1,value:K}),Object.defineProperty(ie,"_source",{configurable:!1,enumerable:!1,writable:!1,value:le}),Object.freeze&&(Object.freeze(ie.props),Object.freeze(ie)),ie};function qt(d,T,D,K,le){{var he,re={},ie=null,Fe=null;D!==void 0&&(oe(D),ie=""+D),Lt(T)&&(oe(T.key),ie=""+T.key),zt(T)&&(Fe=T.ref,wt(T,le));for(he in T)de.call(T,he)&&!Te.hasOwnProperty(he)&&(re[he]=T[he]);if(d&&d.defaultProps){var Oe=d.defaultProps;for(he in Oe)re[he]===void 0&&(re[he]=Oe[he])}if(ie||Fe){var Ce=typeof d=="function"?d.displayName||d.name||"Unknown":d;ie&&Mt(re,Ce),Fe&&$t(re,Ce)}return Nt(d,ie,Fe,le,K,me.current,re)}}var Wt=x.ReactCurrentOwner,Sa=x.ReactDebugCurrentFrame;function Et(d){if(d){var T=d._owner,D=$(d.type,d._source,T?T.type:null);Sa.setExtraStackFrame(D)}else Sa.setExtraStackFrame(null)}var mi;mi=!1;function xi(d){return typeof d=="object"&&d!==null&&d.$$typeof===t}function Ra(){{if(Wt.current){var d=ne(Wt.current.type);if(d)return`
22
22
 
23
- Check the render method of \``+d+"`."}return""}}function Hl(d){return""}var vo={};function Yl(d){{var w=xo();if(!w){var _=typeof d=="string"?d:d.displayName||d.name;_&&(w=`
23
+ Check the render method of \``+d+"`."}return""}}function np(d){return""}var Ta={};function ip(d){{var T=Ra();if(!T){var D=typeof d=="string"?d:d.displayName||d.name;D&&(T=`
24
24
 
25
- Check the top-level render call using <`+_+">.")}return w}}function go(d,w){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var _=Yl(w);if(vo[_])return;vo[_]=!0;var q="";d&&d._owner&&d._owner!==Mt.current&&(q=" It was passed a child from "+Z(d._owner.type)+"."),ht(d),A('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',_,q),ht(null)}}function ho(d,w){{if(typeof d!="object")return;if(Ke(d))for(var _=0;_<d.length;_++){var q=d[_];pi(q)&&go(q,w)}else if(pi(d))d._store&&(d._store.validated=!0);else if(d){var re=y(d);if(typeof re=="function"&&re!==d.entries)for(var pe=re.call(d),Q;!(Q=pe.next()).done;)pi(Q.value)&&go(Q.value,w)}}}function Kl(d){{var w=d.type;if(w==null||typeof w=="string")return;var _;if(typeof w=="function")_=w.propTypes;else if(typeof w=="object"&&(w.$$typeof===c||w.$$typeof===u))_=w.propTypes;else return;if(_){var q=Z(w);Ce(_,d.props,"prop",q,d)}else if(w.PropTypes!==void 0&&!li){li=!0;var re=Z(w);A("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",re||"Unknown")}typeof w.getDefaultProps=="function"&&!w.getDefaultProps.isReactClassApproved&&A("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Jl(d){{for(var w=Object.keys(d.props),_=0;_<w.length;_++){var q=w[_];if(q!=="children"&&q!=="key"){ht(d),A("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",q),ht(null);break}}d.ref!==null&&(ht(d),A("Invalid attribute `ref` supplied to `React.Fragment`."),ht(null))}}function bo(d,w,_,q,re,pe){{var Q=J(d);if(!Q){var X="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(X+=" 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 je=Hl();je?X+=je:X+=xo();var Ee;d===null?Ee="null":Ke(d)?Ee="array":d!==void 0&&d.$$typeof===t?(Ee="<"+(Z(d.type)||"Unknown")+" />",X=" Did you accidentally export a JSX literal instead of a component?"):Ee=typeof d,A("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Ee,X)}var Te=Lt(d,w,_,re,pe);if(Te==null)return Te;if(Q){var ze=w.children;if(ze!==void 0)if(q)if(Ke(ze)){for(var bt=0;bt<ze.length;bt++)ho(ze[bt],d);Object.freeze&&Object.freeze(ze)}else A("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 ho(ze,d)}return d===n?Jl(Te):Kl(Te),Te}}function Gl(d,w,_){return bo(d,w,_,!0)}function Xl(d,w,_){return bo(d,w,_,!1)}var Zl=Xl,Ql=Gl;Et.Fragment=n,Et.jsx=Zl,Et.jsxs=Ql}()),Et}var fi;function So(){return fi||(fi=1,process.env.NODE_ENV==="production"?$t.exports=Eo():$t.exports=wo()),$t.exports}var Fe=So(),oe="colors",De="sizes",j="space",Ro={gap:j,gridGap:j,columnGap:j,gridColumnGap:j,rowGap:j,gridRowGap:j,inset:j,insetBlock:j,insetBlockEnd:j,insetBlockStart:j,insetInline:j,insetInlineEnd:j,insetInlineStart:j,margin:j,marginTop:j,marginRight:j,marginBottom:j,marginLeft:j,marginBlock:j,marginBlockEnd:j,marginBlockStart:j,marginInline:j,marginInlineEnd:j,marginInlineStart:j,padding:j,paddingTop:j,paddingRight:j,paddingBottom:j,paddingLeft:j,paddingBlock:j,paddingBlockEnd:j,paddingBlockStart:j,paddingInline:j,paddingInlineEnd:j,paddingInlineStart:j,top:j,right:j,bottom:j,left:j,scrollMargin:j,scrollMarginTop:j,scrollMarginRight:j,scrollMarginBottom:j,scrollMarginLeft:j,scrollMarginX:j,scrollMarginY:j,scrollMarginBlock:j,scrollMarginBlockEnd:j,scrollMarginBlockStart:j,scrollMarginInline:j,scrollMarginInlineEnd:j,scrollMarginInlineStart:j,scrollPadding:j,scrollPaddingTop:j,scrollPaddingRight:j,scrollPaddingBottom:j,scrollPaddingLeft:j,scrollPaddingX:j,scrollPaddingY:j,scrollPaddingBlock:j,scrollPaddingBlockEnd:j,scrollPaddingBlockStart:j,scrollPaddingInline:j,scrollPaddingInlineEnd:j,scrollPaddingInlineStart:j,fontSize:"fontSizes",background:oe,backgroundColor:oe,backgroundImage:oe,borderImage:oe,border:oe,borderBlock:oe,borderBlockEnd:oe,borderBlockStart:oe,borderBottom:oe,borderBottomColor:oe,borderColor:oe,borderInline:oe,borderInlineEnd:oe,borderInlineStart:oe,borderLeft:oe,borderLeftColor:oe,borderRight:oe,borderRightColor:oe,borderTop:oe,borderTopColor:oe,caretColor:oe,color:oe,columnRuleColor:oe,fill:oe,outline:oe,outlineColor:oe,stroke:oe,textDecorationColor:oe,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:De,minBlockSize:De,maxBlockSize:De,inlineSize:De,minInlineSize:De,maxInlineSize:De,width:De,minWidth:De,maxWidth:De,height:De,minHeight:De,maxHeight:De,flexBasis:De,gridTemplateColumns:De,gridTemplateRows:De,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},To=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,ct=()=>{const e=Object.create(null);return(t,i,...n)=>{const r=(o=>JSON.stringify(o,To))(t);return r in e?e[r]:e[r]=i(t,...n)}},Xe=Symbol.for("sxs.internal"),xn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),mi=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:ko}=Object.prototype,vn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),Oo=/\s+(?![^()]*\))/,lt=e=>t=>e(...typeof t=="string"?String(t).split(Oo):[t]),xi={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:lt((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:lt((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:lt((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:lt((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:lt((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:lt((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},gn=/([\d.]+)([^]*)/,_o=(e,t)=>e.length?e.reduce((i,n)=>(i.push(...t.map(r=>r.includes("&")?r.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(r)?`:is(${n})`:n):n+" "+r)),i),[]):t,Ao=(e,t)=>e in Co&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(i,n,r,o)=>n+(r==="stretch"?`-moz-available${o};${vn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${vn(e)}:${n}fit-content`)+o):String(t),Co={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},qe=e=>e?e+"-":"",vi=(e,t,i)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(n,r,o,a,s)=>a=="$"==!!o?n:(r||a=="--"?"calc(":"")+"var(--"+(a==="$"?qe(t)+(s.includes("$")?"":qe(i))+s.replace(/\$/g,"-"):s)+")"+(r||a=="--"?"*"+(r||"")+(o||"1")+")":"")),Do=/\s*,\s*(?![^()]*\))/,jo=Object.prototype.toString,pt=(e,t,i,n,r)=>{let o,a,s;const c=(p,l,u)=>{let f,m;const x=g=>{for(f in g){const A=f.charCodeAt(0)===64,C=A&&Array.isArray(g[f])?g[f]:[g[f]];for(m of C){const k=/[A-Z]/.test(h=f)?h:h.replace(/-[^]/g,D=>D[1].toUpperCase()),b=typeof m=="object"&&m&&m.toString===jo&&(!n.utils[k]||!l.length);if(k in n.utils&&!b){const D=n.utils[k];if(D!==a){a=D,x(D(m)),a=null;continue}}else if(k in xi){const D=xi[k];if(D!==s){s=D,x(D(m)),s=null;continue}}if(A&&(y=f.slice(1)in n.media?"@media "+n.media[f.slice(1)]:f,f=y.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(D,L,B,W,J,ae)=>{const fe=gn.test(L),Z=.0625*(fe?-1:1),[V,ce]=fe?[W,L]:[L,W];return"("+(B[0]==="="?"":B[0]===">"===fe?"max-":"min-")+V+":"+(B[0]!=="="&&B.length===1?ce.replace(gn,(Se,Re,be)=>Number(Re)+Z*(B===">"?1:-1)+be):ce)+(J?") and ("+(J[0]===">"?"min-":"max-")+V+":"+(J.length===1?ae.replace(gn,(Se,Re,be)=>Number(Re)+Z*(J===">"?-1:1)+be):ae):"")+")"})),b){const D=A?u.concat(f):[...u],L=A?[...l]:_o(l,f.split(Do));o!==void 0&&r(gi(...o)),o=void 0,c(m,L,D)}else o===void 0&&(o=[[],l,u]),f=A||f.charCodeAt(0)!==36?f:`--${qe(n.prefix)}${f.slice(1).replace(/\$/g,"-")}`,m=b?m:typeof m=="number"?m&&k in Fo?String(m)+"px":String(m):vi(Ao(k,m??""),n.prefix,n.themeMap[k]),o[0].push(`${A?`${f} `:`${vn(f)}:`}${m}`)}}var y,h};x(p),o!==void 0&&r(gi(...o)),o=void 0};c(e,t,i)},gi=(e,t,i)=>`${i.map(n=>`${n}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(i.length?i.length+1:0).join("}")}`,Fo={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},hi=e=>String.fromCharCode(e+(e>25?39:97)),Ze=e=>(t=>{let i,n="";for(i=Math.abs(t);i>52;i=i/52|0)n=hi(i%52)+n;return hi(i%52)+n})(((t,i)=>{let n=i.length;for(;n;)t=33*t^i.charCodeAt(--n);return t})(5381,JSON.stringify(e))>>>0),wt=["themed","global","styled","onevar","resonevar","allvar","inline"],Po=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},Io=e=>{let t;const i=()=>{const{cssRules:r}=t.sheet;return[].map.call(r,(o,a)=>{const{cssText:s}=o;let c="";if(s.startsWith("--sxs"))return"";if(r[a-1]&&(c=r[a-1].cssText).startsWith("--sxs")){if(!o.cssRules.length)return"";for(const p in t.rules)if(t.rules[p].group===o)return`--sxs{--sxs:${[...t.rules[p].cache].join(" ")}}${s}`;return o.cssRules.length?`${c}${s}`:""}return s}).join("")},n=()=>{if(t){const{rules:s,sheet:c}=t;if(!c.deleteRule){for(;Object(Object(c.cssRules)[0]).type===3;)c.cssRules.splice(0,1);c.cssRules=[]}for(const p in s)delete s[p]}const r=Object(e).styleSheets||[];for(const s of r)if(Po(s)){for(let c=0,p=s.cssRules;p[c];++c){const l=Object(p[c]);if(l.type!==1)continue;const u=Object(p[c+1]);if(u.type!==4)continue;++c;const{cssText:f}=l;if(!f.startsWith("--sxs"))continue;const m=f.slice(14,-3).trim().split(/\s+/),x=wt[m[0]];x&&(t||(t={sheet:s,reset:n,rules:{},toString:i}),t.rules[x]={group:u,index:c,cache:new Set(m)})}if(t)break}if(!t){const s=(c,p)=>({type:p,cssRules:[],insertRule(l,u){this.cssRules.splice(u,0,s(l,{import:3,undefined:1}[(l.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return c==="@media{}"?`@media{${[].map.call(this.cssRules,l=>l.cssText).join("")}}`:c}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:n,toString:i}}const{sheet:o,rules:a}=t;for(let s=wt.length-1;s>=0;--s){const c=wt[s];if(!a[c]){const p=wt[s+1],l=a[p]?a[p].index:o.cssRules.length;o.insertRule("@media{}",l),o.insertRule(`--sxs{--sxs:${s}}`,l),a[c]={group:o.cssRules[l+1],index:l,cache:new Set([s])}}Bo(a[c])}};return n(),t},Bo=e=>{const t=e.group;let i=t.cssRules.length;e.apply=n=>{try{t.insertRule(n,i),++i}catch{}}},St=Symbol(),zo=ct(),bi=(e,t)=>zo(e,()=>(...i)=>{let n={type:null,composers:new Set};for(const r of i)if(r!=null)if(r[Xe]){n.type==null&&(n.type=r[Xe].type);for(const o of r[Xe].composers)n.composers.add(o)}else r.constructor!==Object||r.$$typeof?n.type==null&&(n.type=r):n.composers.add(Lo(r,e));return n.type==null&&(n.type="span"),n.composers.size||n.composers.add(["PJLV",{},[],[],{},[]]),Mo(e,n,t)}),Lo=({variants:e,compoundVariants:t,defaultVariants:i,...n},r)=>{const o=`${qe(r.prefix)}c-${Ze(n)}`,a=[],s=[],c=Object.create(null),p=[];for(const f in i)c[f]=String(i[f]);if(typeof e=="object"&&e)for(const f in e){l=c,u=f,ko.call(l,u)||(c[f]="undefined");const m=e[f];for(const x in m){const g={[f]:String(x)};String(x)==="undefined"&&p.push(f);const y=m[x],h=[g,y,!mi(y)];a.push(h)}}var l,u;if(typeof t=="object"&&t)for(const f of t){let{css:m,...x}=f;m=typeof m=="object"&&m||{};for(const y in x)x[y]=String(x[y]);const g=[x,m,!mi(m)];s.push(g)}return[o,n,a,s,c,p]},Mo=(e,t,i)=>{const[n,r,o,a]=$o(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(u=>{function f(){for(let m=0;m<f[St].length;m++){const[x,g]=f[St][m];u.rules[x].apply(g)}return f[St]=[],null}return f[St]=[],f.rules={},wt.forEach(m=>f.rules[m]={apply:x=>f[St].push([m,x])}),f})(i):null,c=(s||i).rules,p=`.${n}${r.length>1?`:where(.${r.slice(1).join(".")})`:""}`,l=u=>{u=typeof u=="object"&&u||No;const{css:f,...m}=u,x={};for(const h in o)if(delete m[h],h in u){let A=u[h];typeof A=="object"&&A?x[h]={"@initial":o[h],...A}:(A=String(A),x[h]=A!=="undefined"||a.has(h)?A:o[h])}else x[h]=o[h];const g=new Set([...r]);for(const[h,A,C,k]of t.composers){i.rules.styled.cache.has(h)||(i.rules.styled.cache.add(h),pt(A,[`.${h}`],[],e,L=>{c.styled.apply(L)}));const b=yi(C,x,e.media),D=yi(k,x,e.media,!0);for(const L of b)if(L!==void 0)for(const[B,W,J]of L){const ae=`${h}-${Ze(W)}-${B}`;g.add(ae);const fe=(J?i.rules.resonevar:i.rules.onevar).cache,Z=J?c.resonevar:c.onevar;fe.has(ae)||(fe.add(ae),pt(W,[`.${ae}`],[],e,V=>{Z.apply(V)}))}for(const L of D)if(L!==void 0)for(const[B,W]of L){const J=`${h}-${Ze(W)}-${B}`;g.add(J),i.rules.allvar.cache.has(J)||(i.rules.allvar.cache.add(J),pt(W,[`.${J}`],[],e,ae=>{c.allvar.apply(ae)}))}}if(typeof f=="object"&&f){const h=`${n}-i${Ze(f)}-css`;g.add(h),i.rules.inline.cache.has(h)||(i.rules.inline.cache.add(h),pt(f,[`.${h}`],[],e,A=>{c.inline.apply(A)}))}for(const h of String(u.className||"").trim().split(/\s+/))h&&g.add(h);const y=m.className=[...g].join(" ");return{type:t.type,className:y,selector:p,props:m,toString:()=>y,deferredInjector:s}};return xn(l,{className:n,selector:p,[Xe]:t,toString:()=>(i.rules.styled.cache.has(n)||l(),n)})},$o=e=>{let t="";const i=[],n={},r=[];for(const[o,,,,a,s]of e){t===""&&(t=o),i.push(o),r.push(...s);for(const c in a){const p=a[c];(n[c]===void 0||p!=="undefined"||s.includes(p))&&(n[c]=p)}}return[t,i,n,new Set(r)]},yi=(e,t,i,n)=>{const r=[];e:for(let[o,a,s]of e){if(s)continue;let c,p=0,l=!1;for(c in o){const u=o[c];let f=t[c];if(f!==u){if(typeof f!="object"||!f)continue e;{let m,x,g=0;for(const y in f){if(u===String(f[y])){if(y!=="@initial"){const h=y.slice(1);(x=x||[]).push(h in i?i[h]:y.replace(/^@media ?/,"")),l=!0}p+=g,m=!0}++g}if(x&&x.length&&(a={["@media "+x.join(", ")]:a}),!m)continue e}}}(r[p]=r[p]||[]).push([n?"cv":`${c}-${o[c]}`,a,l])}return r},No={},qo=ct(),Uo=(e,t)=>qo(e,()=>(...i)=>{const n=()=>{for(let r of i){r=typeof r=="object"&&r||{};let o=Ze(r);if(!t.rules.global.cache.has(o)){if(t.rules.global.cache.add(o),"@import"in r){let a=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(r["@import"]))s=s.includes('"')||s.includes("'")?s:`"${s}"`,t.sheet.insertRule(`@import ${s};`,a++);delete r["@import"]}pt(r,[],[],e,a=>{t.rules.global.apply(a)})}}return""};return xn(n,{toString:n})}),Wo=ct(),Vo=(e,t)=>Wo(e,()=>i=>{const n=`${qe(e.prefix)}k-${Ze(i)}`,r=()=>{if(!t.rules.global.cache.has(n)){t.rules.global.cache.add(n);const o=[];pt(i,[],[],e,s=>o.push(s));const a=`@keyframes ${n}{${o.join("")}}`;t.rules.global.apply(a)}return n};return xn(r,{get name(){return r()},toString:r})}),Ho=class{constructor(e,t,i,n){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=i==null?"":String(i),this.prefix=n==null?"":String(n)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+qe(this.prefix)+qe(this.scale)+this.token}toString(){return this.computedValue}},Yo=ct(),Ko=(e,t)=>Yo(e,()=>(i,n)=>{n=typeof i=="object"&&i||Object(n);const r=`.${i=(i=typeof i=="string"?i:"")||`${qe(e.prefix)}t-${Ze(n)}`}`,o={},a=[];for(const c in n){o[c]={};for(const p in n[c]){const l=`--${qe(e.prefix)}${c}-${p}`,u=vi(String(n[c][p]),e.prefix,c);o[c][p]=new Ho(p,u,c,e.prefix),a.push(`${l}:${u}`)}}const s=()=>{if(a.length&&!t.rules.themed.cache.has(i)){t.rules.themed.cache.add(i);const c=`${n===e.theme?":root,":""}.${i}{${a.join(";")}}`;t.rules.themed.apply(c)}return i};return{...o,get className(){return s()},selector:r,toString:s}}),Jo=ct(),Ei,Go=ct(),Xo=e=>{const t=(i=>{let n=!1;const r=Jo(i,o=>{n=!0;const a="prefix"in(o=typeof o=="object"&&o||{})?String(o.prefix):"",s=typeof o.media=="object"&&o.media||{},c=typeof o.root=="object"?o.root||null:globalThis.document||null,p=typeof o.theme=="object"&&o.theme||{},l={prefix:a,media:s,theme:p,themeMap:typeof o.themeMap=="object"&&o.themeMap||{...Ro},utils:typeof o.utils=="object"&&o.utils||{}},u=Io(c),f={css:bi(l,u),globalCss:Uo(l,u),keyframes:Vo(l,u),createTheme:Ko(l,u),reset(){u.reset(),f.theme.toString()},theme:{},sheet:u,config:l,prefix:a,getCssText:u.toString,toString:u.toString};return String(f.theme=f.createTheme(p)),f});return n||r.reset(),r})(e);return t.styled=(({config:i,sheet:n})=>Go(i,()=>{const r=bi(i,n);return(...o)=>{const a=r(...o),s=a[Xe].type,c=T.forwardRef((p,l)=>{const u=p&&p.as||s,{props:f,deferredInjector:m}=a(p);return delete f.as,f.ref=l,m?T.createElement(T.Fragment,null,T.createElement(u,f),T.createElement(m,null)):T.createElement(u,f)});return c.className=a.className,c.displayName=`Styled.${s.displayName||s.name||s}`,c.selector=a.selector,c.toString=()=>a.selector,c[Xe]=a[Xe],c}}))(t),t},Zo=()=>Ei||(Ei=Xo()),Qe=(...e)=>Zo().styled(...e);const dt=Qe("div",{});var Rt={},Nt={},et={},wi;function Si(){if(wi)return et;wi=1,Object.defineProperty(et,"__esModule",{value:!0}),et.fromHex=et.toHex=void 0;const e=n=>new Number(n).toString(16).toLowerCase(),t=n=>`0x${e(n).length===1?"0"+e(n):e(n)}`;et.toHex=t;const i=n=>new Number(n);return et.fromHex=i,et}var hn={},Ri;function Qo(){return Ri||(Ri=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createComplexNode=e.createNode=e.merge=void 0;const t=c=>({typename:c.typename,mime:c.info.mime,extension:c.info.extension}),i=(c,p)=>c&&p.length===0,n=c=>c[0],r=c=>c.slice(1,c.length),o=(c,p)=>{if(c.bytes.length===0)return p;const l=n(c.bytes),u=r(c.bytes),f=p.bytes[l];if(i(f,u)){const m=p.bytes[l];return p.bytes[l]={...m,matches:[...m.matches?m.matches:[],t(c)]},p}return p.bytes[l]?(p.bytes[l]=e.merge(e.createNode(c.typename,u,c.info),p.bytes[l]),p):(p.bytes[l]||(p.bytes[l]={...p.bytes[l],...e.createComplexNode(c.typename,u,c.info)}),p)};e.merge=o;const a=(c,p,l)=>({typename:c,bytes:p,info:l||{}});e.createNode=a;const s=(c,p,l)=>{let u={bytes:{},matches:void 0};const f=n(p),m=r(p);return p.length===0?{matches:[t({typename:c,info:l?{extension:l.extension,mime:l.mime}:{}})],bytes:{}}:(u.bytes[f]=e.createComplexNode(c,m,l),u)};e.createComplexNode=s}(hn)),hn}var Ti;function ea(){if(Ti)return Nt;Ti=1,Object.defineProperty(Nt,"__esModule",{value:!0});const e=Si(),t=Qo();let i={noOffset:null,offset:{}};const n=(r,o,a,s)=>{if(s){const c=i.offset[e.toHex(s)];if(!c)i.offset[e.toHex(s)]=t.createComplexNode(r,o.map(p=>p.toLowerCase()),a);else{const p=t.merge(t.createNode(r,o.map(l=>l.toLowerCase()),a),{...c});i.offset[e.toHex(s)]=p}}else i.noOffset===null?i.noOffset=t.createComplexNode(r,o.map(c=>c.toLowerCase()),a):i.noOffset=t.merge(t.createNode(r,o.map(c=>c.toLowerCase()),a),i.noOffset)};return n("gif",["0x47","0x49","0x46","0x38","0x37","0x61"],{mime:"image/gif",extension:"gif"}),n("gif",["0x47","0x49","0x46","0x38","0x39","0x61"],{mime:"image/gif",extension:"gif"}),n("jpg",["0xFF","0xD8","0xFF"],{mime:"image/jpeg",extension:"jpeg"}),n("webp",["0x52","0x49","0x46","0x46","?","?","?","?","0x57","0x45","0x42","0x50"],{mime:"image/webp",extension:"webp"}),n("heif",["0x66","0x74","0x79","0x70","0x6D","0x69","0x66","0x31"],{mime:"image/heif",extension:"heif"},4),n("heif",["0x66","0x74","0x79","0x70","0x68","0x65","0x69","0x63"],{mime:"image/heif",extension:"heic"},4),n("rpm",["0xed","0xab","0xee","0xdb"]),n("bin",["0x53","0x50","0x30","0x31"],{mime:"application/octet-stream",extension:"bin"}),n("pic",["0x00"]),n("pif",["0x00"]),n("sea",["0x00"]),n("ytr",["0x00"]),n("mp4",["0x66","0x74","0x79","0x70"],{mime:"video/mp4",extension:"mp4"},4),n("ttf",["0x00","0x01","0x00","0x00","0x00"],{mime:"font/ttf",extension:"ttf"}),n("otf",["0x4F","0x54","0x54","0x4F"],{mime:"font/otf",extension:"otf"}),n("eot",["0x50","0x4C"],{mime:"application/vnd.ms-fontobject",extension:"eot"}),n("woff",["0x77","0x4F","0x46","0x46"],{mime:"font/woff",extension:"woff"}),n("woff2",["0x77","0x4F","0x46","0x32"],{mime:"font/woff2",extension:"woff2"}),n("pdb",["0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00"]),n("dba",["0xBE","0xBA","0xFE","0xCA"]),n("dba2",["0x00","0x01","0x42","0x44"]),n("tda",["0x00","0x01","0x44","0x54"]),n("tda2",["0x00","0x01","0x00","0x00"]),n("ico",["0x00","0x00","0x01","0x00"],{mime:"image/x-icon",extension:"ico"}),n("3gp",["0x66","0x74","0x79","0x70","0x33","0x67"]),n("z",["0x1F","0x9D"]),n("tar.z",["0x1F","0xA0"]),n("bac",["0x42","0x41","0x43","0x4B","0x4D","0x49","0x4B","0x45","0x44","0x49","0x53","0x4B"]),n("bz2",["0x42","0x5A","0x68"],{mime:"application/x-bzip2",extension:"bz2"}),n("tif",["0x49","0x49","0x2A","0x00"],{mime:"image/tiff",extension:"tif"}),n("tiff",["0x4D","0x4D","0x00","0x2A"],{mime:"image/tiff",extension:"tiff"}),n("cr2",["0x49","0x49","0x2A","0x00","0x10","0x00","0x00","0x00","0x43","0x52"]),n("cin",["0x80","0x2A","0x5F","0xD7"]),n("cin1",["0x52","0x4E","0x43","0x01"]),n("cin2",["0x52","0x4E","0x43","0x02"]),n("dpx",["0x53","0x44","0x50","0x58"]),n("dpx2",["0x58","0x50","0x44","0x53"]),n("exr",["0x76","0x2F","0x31","0x01"]),n("bpg",["0x42","0x50","0x47","0xFB"]),n("ilbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x49","0x4C","0x42","0x4D"]),n("8svx",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x38","0x53","0x56","0x58"]),n("acbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x43","0x42","0x4D"]),n("anbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x4E","0x42","0x4D"]),n("anim",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x4E","0x49","0x4D"]),n("faxx",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x41","0x58","0x58"]),n("ftxt",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x54","0x58","0x54"]),n("smus",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x53","0x4D","0x55","0x53"]),n("cmus",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x43","0x4D","0x55","0x53"]),n("yuvn",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x59","0x55","0x56","0x4E"]),n("iff",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x41","0x4E","0x54"]),n("aiff",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x49","0x46","0x46"],{mime:"audio/x-aiff",extension:"aiff"}),n("idx",["0x49","0x4E","0x44","0x58"]),n("lz",["0x4C","0x5A","0x49","0x50"]),n("exe",["0x4D","0x5A"]),n("zip",["0x50","0x4B","0x03","0x04"],{mime:"application/zip",extension:"zip"}),n("zip",["0x50","0x4B","0x05","0x06"],{mime:"application/zip",extension:"zip"}),n("zip",["0x50","0x4B","0x07","0x08"],{mime:"application/zip",extension:"zip"}),n("jar",["0x50","0x4B","0x03","0x04"],{mime:"application/java-archive",extension:"jar"}),n("jar",["0x50","0x4B","0x05","0x06"],{mime:"application/java-archive",extension:"jar"}),n("jar",["0x50","0x4B","0x07","0x08"],{mime:"application/java-archive",extension:"jar"}),n("odt",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("odt",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("odt",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("ods",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("ods",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("ods",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("odp",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("odp",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("odp",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("docx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("docx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("docx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("xlsx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("xlsx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("xlsx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("pptx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("pptx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("pptx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("vsdx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("vsdx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("vsdx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("apk",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("apk",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("apk",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("aar",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("aar",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("aar",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("rar",["0x52","0x61","0x72","0x21","0x1A","0x07","0x00"],{mime:"application/vnd.rar",extension:"rar"}),n("rar",["0x52","0x61","0x72","0x21","0x1A","0x07","0x01","0x00"],{mime:"application/vnd.rar",extension:"rar"}),n("rar",["0x7F","0x45","0x4C","0x46"],{mime:"application/vnd.rar",extension:"rar"}),n("png",["0x89","0x50","0x4E","0x47","0x0D","0x0A","0x1A","0x0A"],{mime:"image/png",extension:"png"}),n("apng",["0x89","0x50","0x4E","0x47","0x0D","0x0A","0x1A","0x0A"],{mime:"image/apng",extension:"apng"}),n("class",["0xCA","0xFE","0xBA","0xBE"]),n("class",["0xEF","0xBB","0xBF"]),n("class",["0xFE","0xed","0xFA","0xCE"],void 0,4096),n("class",["0xFE","0xed","0xFA","0xCF"],void 0,4096),n("class",["0xCE","0xFA","0xed","0xFE"]),n("class",["0xCF","0xFA","0xed","0xFE"]),n("class",["0xFF","0xFE"]),n("class",["0xFF","0xFE"]),n("class",["0xFF","0xFE","0x00","0x00"]),n("ps",["0x25","0x21","0x50","0x53"],{mime:"application/postscript",extension:".ps"}),n("pdf",["0x25","0x50","0x44","0x46"],{mime:"application/pdf",extension:"pdf"}),n("asf",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("wma",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("wmv",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("deploymentimage",["0x24","0x53","0x44","0x49","0x30","0x30","0x30","0x31"]),n("ogv",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x80","0x74","0x68","0x65","0x6F","0x72","0x61"],{mime:"video/ogg",extension:"ogv"}),n("ogm",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x01","0x76","0x69","0x64","0x65","0x6F","0x00"],{mime:"video/ogg",extension:"ogm"}),n("oga",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x7F","0x46","0x4C","0x41","0x43"],{mime:"audio/ogg",extension:"oga"}),n("spx",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x53","0x70","0x65","0x65","0x78","0x20","0x20"],{mime:"audio/ogg",extension:"spx"}),n("ogg",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x01","0x76","0x6F","0x72","0x62","0x69","0x73"],{mime:"audio/ogg",extension:"ogg"}),n("ogx",["0x4F","0x67","0x67","0x53"],{mime:"application/ogg",extension:"ogx"}),n("psd",["0x38","0x42","0x50","0x53"],{mime:"application/x-photoshop",extension:"psd"}),n("clip",["0x43","0x53","0x46","0x43","0x48","0x55","0x4e","0x4b"]),n("wav",["0x52","0x49","0x46","0x46","?","?","?","?","0x57","0x41","0x56","0x45"],{mime:"audio/x-wav",extension:"wav"}),n("avi",["0x52","0x49","0x46","0x46","?","?","?","?","0x41","0x56","0x49","0x20"],{mime:"video/x-msvideo",extension:"avi"}),n("mp3",["0xFF","0xFB"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0xFF","0xF3"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0xFF","0xF2"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0x49","0x44","0x33"],{mime:"audio/mpeg",extension:"mp3"}),n("bmp",["0x42","0x4D"],{mime:"image/bmp",extension:"bmp"}),n("iso",["0x43","0x44","0x30","0x30","0x31"]),n("flac",["0x66","0x4C","0x61","0x43"]),n("mid",["0x4D","0x54","0x68","0x64"],{mime:"audio/midi",extension:"mid"}),n("midi",["0x4D","0x54","0x68","0x64"],{mime:"audio/midi",extension:"midi"}),n("doc",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/msword",extension:"doc"}),n("xls",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/vnd.ms-excel",extension:"xls"}),n("ppt",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/vnd.ms-powerpoint",extension:"ppt"}),n("msg",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"]),n("dex",["0x64","0x65","0x78","0x0A","0x30","0x33","0x35","0x00"]),n("vmdk",["0x4B","0x44","0x4D"]),n("crx",["0x43","0x72","0x32","0x34"]),n("fh8",["0x41","0x47","0x44","0x33"]),n("cwk",["0x05","0x07","0x00","0x00","0x42","0x4F","0x42","0x4F","0x05","0x07","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x01"]),n("cwk",["0x06","0x07","0xE1","0x00","0x42","0x4F","0x42","0x4F","0x06","0x07","0xE1","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x01"]),n("toast",["0x45","0x52","0x02","0x00","0x00","0x00"]),n("toast",["0x8B","0x45","0x52","0x02","0x00","0x00","0x00"]),n("dmg",["0x78","0x01","0x73","0x0D","0x62","0x62","0x60"]),n("xar",["0x78","0x61","0x72","0x21"]),n("dat",["0x50","0x4D","0x4F","0x43","0x43","0x4D","0x4F","0x43"]),n("nes",["0x4E","0x45","0x53","0x1A"]),n("tar",["0x75","0x73","0x74","0x61","0x72","0x00","0x30","0x30"],{mime:"application/x-tar",extension:"tar"},257),n("tar",["0x75","0x73","0x74","0x61","0x72","0x20","0x20","0x00"],{mime:"application/x-tar",extension:"tar"},257),n("tox",["0x74","0x6F","0x78","0x33"]),n("mlv",["0x4D","0x4C","0x56","0x49"]),n("windowsupdate",["0x44","0x43","0x4D","0x01","0x50","0x41","0x33","0x30"]),n("7z",["0x37","0x7A","0xBC","0xAF","0x27","0x1C"],{mime:"application/x-7z-compressed",extension:"7z"}),n("gz",["0x1F","0x8B"],{mime:"application/gzip",extension:"gz"}),n("tar.gz",["0x1F","0x8B"],{mime:"application/gzip",extension:"tar.gz"}),n("xz",["0xFD","0x37","0x7A","0x58","0x5A","0x00","0x00"],{mime:"application/gzip",extension:"xz"}),n("tar.xz",["0xFD","0x37","0x7A","0x58","0x5A","0x00","0x00"],{mime:"application/gzip",extension:"tar.xz"}),n("lz2",["0x04","0x22","0x4D","0x18"]),n("cab",["0x4D","0x53","0x43","0x46"]),n("mkv",["0x1A","0x45","0xDF","0xA3"],{mime:"video/x-matroska",extension:"mkv"}),n("mka",["0x1A","0x45","0xDF","0xA3"],{mime:"audio/x-matroska",extension:"mka"}),n("mks",["0x1A","0x45","0xDF","0xA3"],{mime:"video/x-matroska",extension:"mks"}),n("mk3d",["0x1A","0x45","0xDF","0xA3"]),n("webm",["0x1A","0x45","0xDF","0xA3"],{mime:"audio/webm",extension:"webm"}),n("dcm",["0x44","0x49","0x43","0x4D"],void 0,128),n("xml",["0x3C","0x3f","0x78","0x6d","0x6C","0x20"],{mime:"application/xml",extension:"xml"}),n("wasm",["0x00","0x61","0x73","0x6d"],{mime:"application/wasm",extension:"wasm"}),n("lep",["0xCF","0x84","0x01"]),n("swf",["0x43","0x57","0x53"],{mime:"application/x-shockwave-flash",extension:"swf"}),n("swf",["0x46","0x57","0x53"],{mime:"application/x-shockwave-flash",extension:"swf"}),n("deb",["0x21","0x3C","0x61","0x72","0x63","0x68","0x3E"]),n("rtf",["0x7B","0x5C","0x72","0x74","0x66","0x31"],{mime:"application/rtf",extension:"rtf"}),n("m2p",["0x00","0x00","0x01","0xBA"]),n("vob",["0x00","0x00","0x01","0xBA"]),n("mpg",["0x00","0x00","0x01","0xBA"],{mime:"video/mpeg",extension:"mpg"}),n("mpeg",["0x00","0x00","0x01","0xBA"],{mime:"video/mpeg",extension:"mpeg"}),n("mpeg",["0x47"],{mime:"video/mpeg",extension:"mpeg"}),n("mpeg",["0x00","0x00","0x01","0xB3"],{mime:"video/mpeg",extension:"mpeg"}),n("mov",["0x66","0x72","0x65","0x65"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x6D","0x64","0x61","0x74"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x6D","0x6F","0x6F","0x76"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x77","0x69","0x64","0x65"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x66","0x74","0x79","0x70","0x71","0x74"],{mime:"video/quicktime",extension:"mov"},4),n("hl2demo",["0x48","0x4C","0x32","0x44","0x45","0x4D","0x4F"]),n("txt",["0xEF","0xBB","0xBF"],{mime:"text/plain; charset=UTF-8",extension:"txt"}),n("txt",["0xFF","0xFE"],{mime:"text/plain; charset=UTF-16LE",extension:"txt"}),n("txt",["0xFE","0xFF"],{mime:"text/plain; charset=UTF-16BE",extension:"txt"}),n("txt",["0xFF","0xFE","0x00","0x00"],{mime:"text/plain; charset=UTF-32LE",extension:"txt"}),n("txt",["0x00","0x00","0xFE","0xFF"],{mime:"text/plain; charset=UTF-32BE",extension:"txt"}),n("SubRip",["0x31","0x0D","0x0A","0x30","0x30","0x3A"],{mime:"application/x-subrip",extension:"srt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x0A"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x0D"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x20"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x09"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x0A"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x0D"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x20"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x09"],{mime:"text/vtt",extension:"vtt"}),n("Json",["0x7B"],{mime:"application/json",extension:".json"}),n("Json",["0x5B"],{mime:"application/json",extension:".json"}),n("ELF",["0x7F","0x45","0x4C","0x46"],{mime:"application/x-executable",extension:".elf"}),n("Mach-O",["0xFE","0xED","0xFA","0xC"],{mime:"application/x-mach-binary",extension:".o"}),n("Mach-O",["0xFE","0xED","0xFA","0xCF"],{mime:"application/x-executable",extension:"elf"}),n("EML",["0x52","0x65","0x63","0x65","0x69","0x76","0x65","0x64","0x3A"],{mime:"message/rfc822",extension:".eml"}),n("SVG",["0x3c","0x73","0x76","0x67"],{mime:"image/svg+xml",extension:"svg"}),Nt.default=()=>i,Nt}var ki;function ta(){return ki||(ki=1,function(e){var t=Rt&&Rt.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.filetypeextension=e.filetypemime=e.filetypename=e.filetypeinfo=void 0;const i=t(ea()),n=Si(),r=i.default(),o=l=>{let u=r;for(const f of Object.keys(u.offset)){const m=n.fromHex(f);if(m>=l.length)continue;const g=r.offset[f],y=a(m,l,g);if(y.length>0)return y}return u.noOffset===null?[]:a(0,l,u.noOffset)};e.filetypeinfo=o;const a=(l,u,f)=>{let m=f,x=[];for(;;){const g=n.toHex(u[l]);if(m.bytes["?"]&&!m.bytes[g]?m=m.bytes["?"]:m=m.bytes[g],!m)return x;m&&m.matches&&(x=m.matches.slice(0)),l+=1}};e.default=e.filetypeinfo;const s=l=>e.filetypeinfo(l).map(u=>u.typename);e.filetypename=s;const c=l=>e.filetypeinfo(l).map(u=>u.mime?u.mime:null).filter(u=>u!==null);e.filetypemime=c;const p=l=>e.filetypeinfo(l).map(u=>u.extension?u.extension:null).filter(u=>u!==null);e.filetypeextension=p}(Rt)),Rt}var na=ta(),qt={exports:{}},Ut={exports:{}},ne={};/** @license React v16.13.1
25
+ Check the top-level render call using <`+D+">.")}return T}}function ka(d,T){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var D=ip(T);if(Ta[D])return;Ta[D]=!0;var K="";d&&d._owner&&d._owner!==Wt.current&&(K=" It was passed a child from "+ne(d._owner.type)+"."),Et(d),O('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',D,K),Et(null)}}function Oa(d,T){{if(typeof d!="object")return;if(Ne(d))for(var D=0;D<d.length;D++){var K=d[D];xi(K)&&ka(K,T)}else if(xi(d))d._store&&(d._store.validated=!0);else if(d){var le=w(d);if(typeof le=="function"&&le!==d.entries)for(var he=le.call(d),re;!(re=he.next()).done;)xi(re.value)&&ka(re.value,T)}}}function rp(d){{var T=d.type;if(T==null||typeof T=="string")return;var D;if(typeof T=="function")D=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===c||T.$$typeof===u))D=T.propTypes;else return;if(D){var K=ne(T);be(D,d.props,"prop",K,d)}else if(T.PropTypes!==void 0&&!mi){mi=!0;var le=ne(T);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",le||"Unknown")}typeof T.getDefaultProps=="function"&&!T.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ap(d){{for(var T=Object.keys(d.props),D=0;D<T.length;D++){var K=T[D];if(K!=="children"&&K!=="key"){Et(d),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",K),Et(null);break}}d.ref!==null&&(Et(d),O("Invalid attribute `ref` supplied to `React.Fragment`."),Et(null))}}function _a(d,T,D,K,le,he){{var re=H(d);if(!re){var ie="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(ie+=" 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 Fe=np();Fe?ie+=Fe:ie+=Ra();var Oe;d===null?Oe="null":Ne(d)?Oe="array":d!==void 0&&d.$$typeof===t?(Oe="<"+(ne(d.type)||"Unknown")+" />",ie=" Did you accidentally export a JSX literal instead of a component?"):Oe=typeof d,O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Oe,ie)}var Ce=qt(d,T,D,le,he);if(Ce==null)return Ce;if(re){var Me=T.children;if(Me!==void 0)if(K)if(Ne(Me)){for(var St=0;St<Me.length;St++)Oa(Me[St],d);Object.freeze&&Object.freeze(Me)}else O("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 Oa(Me,d)}return d===n?ap(Ce):rp(Ce),Ce}}function op(d,T,D){return _a(d,T,D,!0)}function sp(d,T,D){return _a(d,T,D,!1)}var cp=sp,lp=op;Tt.Fragment=n,Tt.jsx=cp,Tt.jsxs=lp}()),Tt}var hi;function ja(){return hi||(hi=1,process.env.NODE_ENV==="production"?Ut.exports=Ca():Ut.exports=Da()),Ut.exports}var Pe=ja(),fe="colors",je="sizes",I="space",Fa={gap:I,gridGap:I,columnGap:I,gridColumnGap:I,rowGap:I,gridRowGap:I,inset:I,insetBlock:I,insetBlockEnd:I,insetBlockStart:I,insetInline:I,insetInlineEnd:I,insetInlineStart:I,margin:I,marginTop:I,marginRight:I,marginBottom:I,marginLeft:I,marginBlock:I,marginBlockEnd:I,marginBlockStart:I,marginInline:I,marginInlineEnd:I,marginInlineStart:I,padding:I,paddingTop:I,paddingRight:I,paddingBottom:I,paddingLeft:I,paddingBlock:I,paddingBlockEnd:I,paddingBlockStart:I,paddingInline:I,paddingInlineEnd:I,paddingInlineStart:I,top:I,right:I,bottom:I,left:I,scrollMargin:I,scrollMarginTop:I,scrollMarginRight:I,scrollMarginBottom:I,scrollMarginLeft:I,scrollMarginX:I,scrollMarginY:I,scrollMarginBlock:I,scrollMarginBlockEnd:I,scrollMarginBlockStart:I,scrollMarginInline:I,scrollMarginInlineEnd:I,scrollMarginInlineStart:I,scrollPadding:I,scrollPaddingTop:I,scrollPaddingRight:I,scrollPaddingBottom:I,scrollPaddingLeft:I,scrollPaddingX:I,scrollPaddingY:I,scrollPaddingBlock:I,scrollPaddingBlockEnd:I,scrollPaddingBlockStart:I,scrollPaddingInline:I,scrollPaddingInlineEnd:I,scrollPaddingInlineStart:I,fontSize:"fontSizes",background:fe,backgroundColor:fe,backgroundImage:fe,borderImage:fe,border:fe,borderBlock:fe,borderBlockEnd:fe,borderBlockStart:fe,borderBottom:fe,borderBottomColor:fe,borderColor:fe,borderInline:fe,borderInlineEnd:fe,borderInlineStart:fe,borderLeft:fe,borderLeftColor:fe,borderRight:fe,borderRightColor:fe,borderTop:fe,borderTopColor:fe,caretColor:fe,color:fe,columnRuleColor:fe,fill:fe,outline:fe,outlineColor:fe,stroke:fe,textDecorationColor:fe,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:je,minBlockSize:je,maxBlockSize:je,inlineSize:je,minInlineSize:je,maxInlineSize:je,width:je,minWidth:je,maxWidth:je,height:je,minHeight:je,maxHeight:je,flexBasis:je,gridTemplateColumns:je,gridTemplateRows:je,borderWidth:"borderWidths",borderTopWidth:"borderWidths",borderRightWidth:"borderWidths",borderBottomWidth:"borderWidths",borderLeftWidth:"borderWidths",borderStyle:"borderStyles",borderTopStyle:"borderStyles",borderRightStyle:"borderStyles",borderBottomStyle:"borderStyles",borderLeftStyle:"borderStyles",borderRadius:"radii",borderTopLeftRadius:"radii",borderTopRightRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",boxShadow:"shadows",textShadow:"shadows",transition:"transitions",zIndex:"zIndices"},Pa=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,ft=()=>{const e=Object.create(null);return(t,i,...n)=>{const r=(a=>JSON.stringify(a,Pa))(t);return r in e?e[r]:e[r]=i(t,...n)}},nt=Symbol.for("sxs.internal"),yn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),yi=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:Ia}=Object.prototype,bn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),Ba=/\s+(?![^()]*\))/,mt=e=>t=>e(...typeof t=="string"?String(t).split(Ba):[t]),bi={appearance:e=>({WebkitAppearance:e,appearance:e}),backfaceVisibility:e=>({WebkitBackfaceVisibility:e,backfaceVisibility:e}),backdropFilter:e=>({WebkitBackdropFilter:e,backdropFilter:e}),backgroundClip:e=>({WebkitBackgroundClip:e,backgroundClip:e}),boxDecorationBreak:e=>({WebkitBoxDecorationBreak:e,boxDecorationBreak:e}),clipPath:e=>({WebkitClipPath:e,clipPath:e}),content:e=>({content:e.includes('"')||e.includes("'")||/^([A-Za-z]+\([^]*|[^]*-quote|inherit|initial|none|normal|revert|unset)$/.test(e)?e:`"${e}"`}),hyphens:e=>({WebkitHyphens:e,hyphens:e}),maskImage:e=>({WebkitMaskImage:e,maskImage:e}),maskSize:e=>({WebkitMaskSize:e,maskSize:e}),tabSize:e=>({MozTabSize:e,tabSize:e}),textSizeAdjust:e=>({WebkitTextSizeAdjust:e,textSizeAdjust:e}),userSelect:e=>({WebkitUserSelect:e,userSelect:e}),marginBlock:mt((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:mt((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:mt((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:mt((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:mt((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:mt((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},wn=/([\d.]+)([^]*)/,za=(e,t)=>e.length?e.reduce((i,n)=>(i.push(...t.map(r=>r.includes("&")?r.replace(/&/g,/[ +>|~]/.test(n)&&/&.*&/.test(r)?`:is(${n})`:n):n+" "+r)),i),[]):t,La=(e,t)=>e in Ma&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(i,n,r,a)=>n+(r==="stretch"?`-moz-available${a};${bn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${a};${bn(e)}:${n}fit-content`)+a):String(t),Ma={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},He=e=>e?e+"-":"",wi=(e,t,i)=>e.replace(/([+-])?((?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)?(\$|--)([$\w-]+)/g,(n,r,a,o,s)=>o=="$"==!!a?n:(r||o=="--"?"calc(":"")+"var(--"+(o==="$"?He(t)+(s.includes("$")?"":He(i))+s.replace(/\$/g,"-"):s)+")"+(r||o=="--"?"*"+(r||"")+(a||"1")+")":"")),$a=/\s*,\s*(?![^()]*\))/,Na=Object.prototype.toString,xt=(e,t,i,n,r)=>{let a,o,s;const c=(p,l,u)=>{let f,m;const v=g=>{for(f in g){const O=f.charCodeAt(0)===64,A=O&&Array.isArray(g[f])?g[f]:[g[f]];for(m of A){const k=/[A-Z]/.test(x=f)?x:x.replace(/-[^]/g,j=>j[1].toUpperCase()),b=typeof m=="object"&&m&&m.toString===Na&&(!n.utils[k]||!l.length);if(k in n.utils&&!b){const j=n.utils[k];if(j!==o){o=j,v(j(m)),o=null;continue}}else if(k in bi){const j=bi[k];if(j!==s){s=j,v(j(m)),s=null;continue}}if(O&&(w=f.slice(1)in n.media?"@media "+n.media[f.slice(1)]:f,f=w.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(j,q,F,Y,H,ae)=>{const ve=wn.test(q),ne=.0625*(ve?-1:1),[V,pe]=ve?[Y,q]:[q,Y];return"("+(F[0]==="="?"":F[0]===">"===ve?"max-":"min-")+V+":"+(F[0]!=="="&&F.length===1?pe.replace(wn,(Ee,Se,ue)=>Number(Se)+ne*(F===">"?1:-1)+ue):pe)+(H?") and ("+(H[0]===">"?"min-":"max-")+V+":"+(H.length===1?ae.replace(wn,(Ee,Se,ue)=>Number(Se)+ne*(H===">"?-1:1)+ue):ae):"")+")"})),b){const j=O?u.concat(f):[...u],q=O?[...l]:za(l,f.split($a));a!==void 0&&r(Ei(...a)),a=void 0,c(m,q,j)}else a===void 0&&(a=[[],l,u]),f=O||f.charCodeAt(0)!==36?f:`--${He(n.prefix)}${f.slice(1).replace(/\$/g,"-")}`,m=b?m:typeof m=="number"?m&&k in qa?String(m)+"px":String(m):wi(La(k,m??""),n.prefix,n.themeMap[k]),a[0].push(`${O?`${f} `:`${bn(f)}:`}${m}`)}}var w,x};v(p),a!==void 0&&r(Ei(...a)),a=void 0};c(e,t,i)},Ei=(e,t,i)=>`${i.map(n=>`${n}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(i.length?i.length+1:0).join("}")}`,qa={animationDelay:1,animationDuration:1,backgroundSize:1,blockSize:1,border:1,borderBlock:1,borderBlockEnd:1,borderBlockEndWidth:1,borderBlockStart:1,borderBlockStartWidth:1,borderBlockWidth:1,borderBottom:1,borderBottomLeftRadius:1,borderBottomRightRadius:1,borderBottomWidth:1,borderEndEndRadius:1,borderEndStartRadius:1,borderInlineEnd:1,borderInlineEndWidth:1,borderInlineStart:1,borderInlineStartWidth:1,borderInlineWidth:1,borderLeft:1,borderLeftWidth:1,borderRadius:1,borderRight:1,borderRightWidth:1,borderSpacing:1,borderStartEndRadius:1,borderStartStartRadius:1,borderTop:1,borderTopLeftRadius:1,borderTopRightRadius:1,borderTopWidth:1,borderWidth:1,bottom:1,columnGap:1,columnRule:1,columnRuleWidth:1,columnWidth:1,containIntrinsicSize:1,flexBasis:1,fontSize:1,gap:1,gridAutoColumns:1,gridAutoRows:1,gridTemplateColumns:1,gridTemplateRows:1,height:1,inlineSize:1,inset:1,insetBlock:1,insetBlockEnd:1,insetBlockStart:1,insetInline:1,insetInlineEnd:1,insetInlineStart:1,left:1,letterSpacing:1,margin:1,marginBlock:1,marginBlockEnd:1,marginBlockStart:1,marginBottom:1,marginInline:1,marginInlineEnd:1,marginInlineStart:1,marginLeft:1,marginRight:1,marginTop:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,offsetDistance:1,offsetRotate:1,outline:1,outlineOffset:1,outlineWidth:1,overflowClipMargin:1,padding:1,paddingBlock:1,paddingBlockEnd:1,paddingBlockStart:1,paddingBottom:1,paddingInline:1,paddingInlineEnd:1,paddingInlineStart:1,paddingLeft:1,paddingRight:1,paddingTop:1,perspective:1,right:1,rowGap:1,scrollMargin:1,scrollMarginBlock:1,scrollMarginBlockEnd:1,scrollMarginBlockStart:1,scrollMarginBottom:1,scrollMarginInline:1,scrollMarginInlineEnd:1,scrollMarginInlineStart:1,scrollMarginLeft:1,scrollMarginRight:1,scrollMarginTop:1,scrollPadding:1,scrollPaddingBlock:1,scrollPaddingBlockEnd:1,scrollPaddingBlockStart:1,scrollPaddingBottom:1,scrollPaddingInline:1,scrollPaddingInlineEnd:1,scrollPaddingInlineStart:1,scrollPaddingLeft:1,scrollPaddingRight:1,scrollPaddingTop:1,shapeMargin:1,textDecoration:1,textDecorationThickness:1,textIndent:1,textUnderlineOffset:1,top:1,transitionDelay:1,transitionDuration:1,verticalAlign:1,width:1,wordSpacing:1},Si=e=>String.fromCharCode(e+(e>25?39:97)),it=e=>(t=>{let i,n="";for(i=Math.abs(t);i>52;i=i/52|0)n=Si(i%52)+n;return Si(i%52)+n})(((t,i)=>{let n=i.length;for(;n;)t=33*t^i.charCodeAt(--n);return t})(5381,JSON.stringify(e))>>>0),kt=["themed","global","styled","onevar","resonevar","allvar","inline"],Wa=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},Ua=e=>{let t;const i=()=>{const{cssRules:r}=t.sheet;return[].map.call(r,(a,o)=>{const{cssText:s}=a;let c="";if(s.startsWith("--sxs"))return"";if(r[o-1]&&(c=r[o-1].cssText).startsWith("--sxs")){if(!a.cssRules.length)return"";for(const p in t.rules)if(t.rules[p].group===a)return`--sxs{--sxs:${[...t.rules[p].cache].join(" ")}}${s}`;return a.cssRules.length?`${c}${s}`:""}return s}).join("")},n=()=>{if(t){const{rules:s,sheet:c}=t;if(!c.deleteRule){for(;Object(Object(c.cssRules)[0]).type===3;)c.cssRules.splice(0,1);c.cssRules=[]}for(const p in s)delete s[p]}const r=Object(e).styleSheets||[];for(const s of r)if(Wa(s)){for(let c=0,p=s.cssRules;p[c];++c){const l=Object(p[c]);if(l.type!==1)continue;const u=Object(p[c+1]);if(u.type!==4)continue;++c;const{cssText:f}=l;if(!f.startsWith("--sxs"))continue;const m=f.slice(14,-3).trim().split(/\s+/),v=kt[m[0]];v&&(t||(t={sheet:s,reset:n,rules:{},toString:i}),t.rules[v]={group:u,index:c,cache:new Set(m)})}if(t)break}if(!t){const s=(c,p)=>({type:p,cssRules:[],insertRule(l,u){this.cssRules.splice(u,0,s(l,{import:3,undefined:1}[(l.toLowerCase().match(/^@([a-z]+)/)||[])[1]]||4))},get cssText(){return c==="@media{}"?`@media{${[].map.call(this.cssRules,l=>l.cssText).join("")}}`:c}});t={sheet:e?(e.head||e).appendChild(document.createElement("style")).sheet:s("","text/css"),rules:{},reset:n,toString:i}}const{sheet:a,rules:o}=t;for(let s=kt.length-1;s>=0;--s){const c=kt[s];if(!o[c]){const p=kt[s+1],l=o[p]?o[p].index:a.cssRules.length;a.insertRule("@media{}",l),a.insertRule(`--sxs{--sxs:${s}}`,l),o[c]={group:a.cssRules[l+1],index:l,cache:new Set([s])}}Va(o[c])}};return n(),t},Va=e=>{const t=e.group;let i=t.cssRules.length;e.apply=n=>{try{t.insertRule(n,i),++i}catch{}}},Ot=Symbol(),Ha=ft(),Ri=(e,t)=>Ha(e,()=>(...i)=>{let n={type:null,composers:new Set};for(const r of i)if(r!=null)if(r[nt]){n.type==null&&(n.type=r[nt].type);for(const a of r[nt].composers)n.composers.add(a)}else r.constructor!==Object||r.$$typeof?n.type==null&&(n.type=r):n.composers.add(Ga(r,e));return n.type==null&&(n.type="span"),n.composers.size||n.composers.add(["PJLV",{},[],[],{},[]]),Ya(e,n,t)}),Ga=({variants:e,compoundVariants:t,defaultVariants:i,...n},r)=>{const a=`${He(r.prefix)}c-${it(n)}`,o=[],s=[],c=Object.create(null),p=[];for(const f in i)c[f]=String(i[f]);if(typeof e=="object"&&e)for(const f in e){l=c,u=f,Ia.call(l,u)||(c[f]="undefined");const m=e[f];for(const v in m){const g={[f]:String(v)};String(v)==="undefined"&&p.push(f);const w=m[v],x=[g,w,!yi(w)];o.push(x)}}var l,u;if(typeof t=="object"&&t)for(const f of t){let{css:m,...v}=f;m=typeof m=="object"&&m||{};for(const w in v)v[w]=String(v[w]);const g=[v,m,!yi(m)];s.push(g)}return[a,n,o,s,c,p]},Ya=(e,t,i)=>{const[n,r,a,o]=Ka(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(u=>{function f(){for(let m=0;m<f[Ot].length;m++){const[v,g]=f[Ot][m];u.rules[v].apply(g)}return f[Ot]=[],null}return f[Ot]=[],f.rules={},kt.forEach(m=>f.rules[m]={apply:v=>f[Ot].push([m,v])}),f})(i):null,c=(s||i).rules,p=`.${n}${r.length>1?`:where(.${r.slice(1).join(".")})`:""}`,l=u=>{u=typeof u=="object"&&u||Ja;const{css:f,...m}=u,v={};for(const x in a)if(delete m[x],x in u){let O=u[x];typeof O=="object"&&O?v[x]={"@initial":a[x],...O}:(O=String(O),v[x]=O!=="undefined"||o.has(x)?O:a[x])}else v[x]=a[x];const g=new Set([...r]);for(const[x,O,A,k]of t.composers){i.rules.styled.cache.has(x)||(i.rules.styled.cache.add(x),xt(O,[`.${x}`],[],e,q=>{c.styled.apply(q)}));const b=Ti(A,v,e.media),j=Ti(k,v,e.media,!0);for(const q of b)if(q!==void 0)for(const[F,Y,H]of q){const ae=`${x}-${it(Y)}-${F}`;g.add(ae);const ve=(H?i.rules.resonevar:i.rules.onevar).cache,ne=H?c.resonevar:c.onevar;ve.has(ae)||(ve.add(ae),xt(Y,[`.${ae}`],[],e,V=>{ne.apply(V)}))}for(const q of j)if(q!==void 0)for(const[F,Y]of q){const H=`${x}-${it(Y)}-${F}`;g.add(H),i.rules.allvar.cache.has(H)||(i.rules.allvar.cache.add(H),xt(Y,[`.${H}`],[],e,ae=>{c.allvar.apply(ae)}))}}if(typeof f=="object"&&f){const x=`${n}-i${it(f)}-css`;g.add(x),i.rules.inline.cache.has(x)||(i.rules.inline.cache.add(x),xt(f,[`.${x}`],[],e,O=>{c.inline.apply(O)}))}for(const x of String(u.className||"").trim().split(/\s+/))x&&g.add(x);const w=m.className=[...g].join(" ");return{type:t.type,className:w,selector:p,props:m,toString:()=>w,deferredInjector:s}};return yn(l,{className:n,selector:p,[nt]:t,toString:()=>(i.rules.styled.cache.has(n)||l(),n)})},Ka=e=>{let t="";const i=[],n={},r=[];for(const[a,,,,o,s]of e){t===""&&(t=a),i.push(a),r.push(...s);for(const c in o){const p=o[c];(n[c]===void 0||p!=="undefined"||s.includes(p))&&(n[c]=p)}}return[t,i,n,new Set(r)]},Ti=(e,t,i,n)=>{const r=[];e:for(let[a,o,s]of e){if(s)continue;let c,p=0,l=!1;for(c in a){const u=a[c];let f=t[c];if(f!==u){if(typeof f!="object"||!f)continue e;{let m,v,g=0;for(const w in f){if(u===String(f[w])){if(w!=="@initial"){const x=w.slice(1);(v=v||[]).push(x in i?i[x]:w.replace(/^@media ?/,"")),l=!0}p+=g,m=!0}++g}if(v&&v.length&&(o={["@media "+v.join(", ")]:o}),!m)continue e}}}(r[p]=r[p]||[]).push([n?"cv":`${c}-${a[c]}`,o,l])}return r},Ja={},Xa=ft(),Za=(e,t)=>Xa(e,()=>(...i)=>{const n=()=>{for(let r of i){r=typeof r=="object"&&r||{};let a=it(r);if(!t.rules.global.cache.has(a)){if(t.rules.global.cache.add(a),"@import"in r){let o=[].indexOf.call(t.sheet.cssRules,t.rules.themed.group)-1;for(let s of[].concat(r["@import"]))s=s.includes('"')||s.includes("'")?s:`"${s}"`,t.sheet.insertRule(`@import ${s};`,o++);delete r["@import"]}xt(r,[],[],e,o=>{t.rules.global.apply(o)})}}return""};return yn(n,{toString:n})}),Qa=ft(),eo=(e,t)=>Qa(e,()=>i=>{const n=`${He(e.prefix)}k-${it(i)}`,r=()=>{if(!t.rules.global.cache.has(n)){t.rules.global.cache.add(n);const a=[];xt(i,[],[],e,s=>a.push(s));const o=`@keyframes ${n}{${a.join("")}}`;t.rules.global.apply(o)}return n};return yn(r,{get name(){return r()},toString:r})}),to=class{constructor(e,t,i,n){this.token=e==null?"":String(e),this.value=t==null?"":String(t),this.scale=i==null?"":String(i),this.prefix=n==null?"":String(n)}get computedValue(){return"var("+this.variable+")"}get variable(){return"--"+He(this.prefix)+He(this.scale)+this.token}toString(){return this.computedValue}},no=ft(),io=(e,t)=>no(e,()=>(i,n)=>{n=typeof i=="object"&&i||Object(n);const r=`.${i=(i=typeof i=="string"?i:"")||`${He(e.prefix)}t-${it(n)}`}`,a={},o=[];for(const c in n){a[c]={};for(const p in n[c]){const l=`--${He(e.prefix)}${c}-${p}`,u=wi(String(n[c][p]),e.prefix,c);a[c][p]=new to(p,u,c,e.prefix),o.push(`${l}:${u}`)}}const s=()=>{if(o.length&&!t.rules.themed.cache.has(i)){t.rules.themed.cache.add(i);const c=`${n===e.theme?":root,":""}.${i}{${o.join(";")}}`;t.rules.themed.apply(c)}return i};return{...a,get className(){return s()},selector:r,toString:s}}),ro=ft(),ki,ao=ft(),oo=e=>{const t=(i=>{let n=!1;const r=ro(i,a=>{n=!0;const o="prefix"in(a=typeof a=="object"&&a||{})?String(a.prefix):"",s=typeof a.media=="object"&&a.media||{},c=typeof a.root=="object"?a.root||null:globalThis.document||null,p=typeof a.theme=="object"&&a.theme||{},l={prefix:o,media:s,theme:p,themeMap:typeof a.themeMap=="object"&&a.themeMap||{...Fa},utils:typeof a.utils=="object"&&a.utils||{}},u=Ua(c),f={css:Ri(l,u),globalCss:Za(l,u),keyframes:eo(l,u),createTheme:io(l,u),reset(){u.reset(),f.theme.toString()},theme:{},sheet:u,config:l,prefix:o,getCssText:u.toString,toString:u.toString};return String(f.theme=f.createTheme(p)),f});return n||r.reset(),r})(e);return t.styled=(({config:i,sheet:n})=>ao(i,()=>{const r=Ri(i,n);return(...a)=>{const o=r(...a),s=o[nt].type,c=E.forwardRef((p,l)=>{const u=p&&p.as||s,{props:f,deferredInjector:m}=o(p);return delete f.as,f.ref=l,m?E.createElement(E.Fragment,null,E.createElement(u,f),E.createElement(m,null)):E.createElement(u,f)});return c.className=o.className,c.displayName=`Styled.${s.displayName||s.name||s}`,c.selector=o.selector,c.toString=()=>o.selector,c[nt]=o[nt],c}}))(t),t},so=()=>ki||(ki=oo()),Xe=(...e)=>so().styled(...e);const vt=Xe("div",{variants:{width:{full:{width:"100%"},half:{width:"50%"},fit:{width:"fit-content"}},height:{full:{height:"100%"},vh:{height:"100vh"}},minHeight:{240:{minHeight:"240px"},vh:{minHeight:"100vh"}},mb:{0:{mb:"0"},2:{mb:"2"},4:{mb:"4"},8:{mb:"8"},12:{mb:"12"},16:{mb:"16"},20:{mb:"20"},24:{mb:"24"},32:{mb:"32"},48:{mb:"48"},72:{mb:"72"},auto:{mb:"auto"}},mt:{0:{mt:"0"},2:{mt:"2"},4:{mt:"4"},8:{mt:"8"},12:{mt:"12"},16:{mt:"16"},20:{mt:"20"},24:{mt:"24"},32:{mt:"32"},48:{mt:"48"},72:{mt:"72"},auto:{mt:"auto"}},mx:{0:{mx:"0"},2:{mx:"2"},4:{mx:"4"},8:{mx:"8"},12:{mx:"12"},16:{mx:"16"},20:{mx:"20"},24:{mx:"24"},32:{mx:"32"},48:{mx:"48"},72:{mx:"72"},auto:{mx:"auto"}},my:{0:{my:"0"},2:{my:"2"},4:{my:"4"},8:{my:"8"},12:{my:"12"},16:{my:"16"},20:{my:"20"},24:{my:"24"},32:{my:"32"},48:{my:"48"},72:{my:"72"},auto:{my:"auto"}},ml:{0:{ml:"0"},2:{ml:"2"},4:{ml:"4"},8:{ml:"8"},12:{ml:"12"},16:{ml:"16"},20:{ml:"20"},24:{ml:"24"},32:{ml:"32"},48:{ml:"48"},72:{ml:"72"},auto:{ml:"auto"}},mr:{0:{mr:"0"},2:{mr:"2"},4:{mr:"4"},8:{mr:"8"},12:{mr:"12"},16:{mr:"16"},20:{mr:"20"},24:{mr:"24"},32:{mr:"32"},48:{mr:"48"},72:{mr:"72"},auto:{mr:"auto"}},pt:{0:{pt:"0"},2:{pt:"2"},4:{pt:"4"},8:{pt:"8"},12:{pt:"12"},16:{pt:"16"},20:{pt:"20"},24:{pt:"24"},32:{pt:"32"},48:{pt:"48"},72:{pt:"72"}},pb:{0:{pb:"0"},2:{pb:"2"},4:{pb:"4"},8:{pb:"8"},12:{pb:"12"},16:{pb:"16"},20:{pb:"20"},24:{pb:"24"},32:{pb:"32"},48:{pb:"48"},72:{pb:"72"}},pr:{0:{pr:"0"},2:{pr:"2"},4:{pr:"4"},8:{pr:"8"},12:{pr:"12"},16:{pr:"16"},20:{pr:"20"},24:{pr:"24"},32:{pr:"32"},48:{pr:"48"},72:{pr:"72"}},pl:{0:{pl:"0"},2:{pl:"2"},4:{pl:"4"},8:{pl:"8"},12:{pl:"12"},16:{pl:"16"},20:{pl:"20"},24:{pl:"24"},32:{pl:"32"},48:{pl:"48"},72:{pl:"72"}},px:{0:{px:"0"},2:{px:"2"},4:{px:"4"},8:{px:"8"},12:{px:"12"},16:{px:"16"},20:{px:"20"},24:{px:"24"},32:{px:"32"},48:{px:"48"},72:{px:"72"}},py:{0:{py:"0"},2:{py:"2"},4:{py:"4"},8:{py:"8"},12:{py:"12"},16:{py:"16"},20:{py:"20"},24:{py:"24"},32:{py:"32"},40:{py:"40"},48:{py:"48"},56:{py:"56"},64:{py:"64"},72:{py:"72"}},p:{0:{p:"0"},2:{p:"2"},4:{p:"4"},8:{p:"8"},12:{p:"12"},16:{p:"16"},20:{p:"20"},24:{p:"24"},32:{p:"32"},48:{p:"48"},72:{p:"72"}},m:{0:{m:"0"},2:{m:"2"},4:{m:"4"},8:{m:"8"},12:{m:"12"},16:{m:"16"},20:{m:"20"},24:{m:"24"},32:{m:"32"},48:{m:"48"},72:{m:"72"}},row:{true:{display:"flex",flexDirection:"row"}},rowReverse:{true:{display:"flex",flexDirection:"row-reverse"}},column:{true:{display:"flex",flexDirection:"column"}},columnReverse:{true:{display:"flex",flexDirection:"column-reverse"}},center:{true:{justifyContent:"center",alignItems:"center"}},wrap:{true:{flexWrap:"wrap"}},flex:{1:{flex:1},2:{flex:2},3:{flex:3},4:{flex:4},5:{flex:5},6:{flex:6},7:{flex:7},8:{flex:8}},shrink:{0:{flexShrink:0},1:{flexShrink:1}},flexGrow:{1:{flexGrow:1}},flexBasis:{0:{flexBasis:0},auto:{flexBasis:"auto"},full:{flexBasis:"100%"},50:{flexBasis:"50px"},100:{flexBasis:"100px"},150:{flexBasis:"150px"},200:{flexBasis:"200px"},250:{flexBasis:"250px"},300:{flexBasis:"300px"},350:{flexBasis:"350px"},400:{flexBasis:"400px"},450:{flexBasis:"450px"},500:{flexBasis:"500px"},550:{flexBasis:"550px"},600:{flexBasis:"600px"}},justify:{start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},center:{justifyContent:"center"},between:{justifyContent:"space-between"},around:{justifyContent:"space-around"},selfCenter:{justifySelf:"center"}},align:{start:{alignItems:"flex-start"},end:{alignItems:"flex-end"},center:{alignItems:"center"},stretch:{alignItems:"stretch"},selfCenter:{alignSelf:"center"}},justifyBetween:{true:{justifyContent:"space-between"}},justifyCenter:{true:{justifyContent:"center"}},justifyStart:{true:{justifyContent:"flex-start"}},justifyEnd:{true:{justifyContent:"flex-end"}},justifyAround:{true:{justifyContent:"space-around"}},justifySelfCenter:{true:{justifySelf:"center"}},alignCenter:{true:{alignItems:"center"}},alignStart:{true:{alignItems:"flex-start"}},alignEnd:{true:{alignItems:"flex-end"}},alignStretch:{true:{alignItems:"stretch"}},alignSelfCenter:{true:{alignSelf:"center"}},textCenter:{true:{textAlign:"center"}},textLeft:{true:{textAlign:"left"}},textRight:{true:{textAlign:"right"}},minWidth:{0:{minWidth:0}},gap:{0:{gap:"0px"},2:{gap:"2px"},4:{gap:"4px"},8:{gap:"8px"},10:{gap:"10px"},12:{gap:"12px"},16:{gap:"16px"},20:{gap:"20px"},24:{gap:"24px"},32:{gap:"32px"},40:{gap:"40px"},48:{gap:"48px"},56:{gap:"56px"}},rowGap:{0:{rowGap:"0px"},2:{rowGap:"2px"},4:{rowGap:"4px"},8:{rowGap:"8px"},10:{rowGap:"10px"},12:{rowGap:"12px"},16:{rowGap:"16px"},20:{rowGap:"20px"},24:{rowGap:"24px"},32:{rowGap:"32px"},40:{rowGap:"40px"},48:{rowGap:"48px"},56:{rowGap:"56px"}},columnGap:{0:{columnGap:"0px"},2:{columnGap:"2px"},4:{columnGap:"4px"},8:{columnGap:"8px"},10:{columnGap:"10px"},12:{columnGap:"12px"},16:{columnGap:"16px"},20:{columnGap:"20px"},24:{columnGap:"24px"},32:{columnGap:"32px"},40:{columnGap:"40px"},48:{columnGap:"48px"},56:{columnGap:"56px"}}}});var _t={},Vt={},rt={},Oi;function _i(){if(Oi)return rt;Oi=1,Object.defineProperty(rt,"__esModule",{value:!0}),rt.fromHex=rt.toHex=void 0;const e=n=>new Number(n).toString(16).toLowerCase(),t=n=>`0x${e(n).length===1?"0"+e(n):e(n)}`;rt.toHex=t;const i=n=>new Number(n);return rt.fromHex=i,rt}var En={},Ai;function co(){return Ai||(Ai=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.createComplexNode=e.createNode=e.merge=void 0;const t=c=>({typename:c.typename,mime:c.info.mime,extension:c.info.extension}),i=(c,p)=>c&&p.length===0,n=c=>c[0],r=c=>c.slice(1,c.length),a=(c,p)=>{if(c.bytes.length===0)return p;const l=n(c.bytes),u=r(c.bytes),f=p.bytes[l];if(i(f,u)){const m=p.bytes[l];return p.bytes[l]={...m,matches:[...m.matches?m.matches:[],t(c)]},p}return p.bytes[l]?(p.bytes[l]=e.merge(e.createNode(c.typename,u,c.info),p.bytes[l]),p):(p.bytes[l]||(p.bytes[l]={...p.bytes[l],...e.createComplexNode(c.typename,u,c.info)}),p)};e.merge=a;const o=(c,p,l)=>({typename:c,bytes:p,info:l||{}});e.createNode=o;const s=(c,p,l)=>{let u={bytes:{},matches:void 0};const f=n(p),m=r(p);return p.length===0?{matches:[t({typename:c,info:l?{extension:l.extension,mime:l.mime}:{}})],bytes:{}}:(u.bytes[f]=e.createComplexNode(c,m,l),u)};e.createComplexNode=s}(En)),En}var Ci;function lo(){if(Ci)return Vt;Ci=1,Object.defineProperty(Vt,"__esModule",{value:!0});const e=_i(),t=co();let i={noOffset:null,offset:{}};const n=(r,a,o,s)=>{if(s){const c=i.offset[e.toHex(s)];if(!c)i.offset[e.toHex(s)]=t.createComplexNode(r,a.map(p=>p.toLowerCase()),o);else{const p=t.merge(t.createNode(r,a.map(l=>l.toLowerCase()),o),{...c});i.offset[e.toHex(s)]=p}}else i.noOffset===null?i.noOffset=t.createComplexNode(r,a.map(c=>c.toLowerCase()),o):i.noOffset=t.merge(t.createNode(r,a.map(c=>c.toLowerCase()),o),i.noOffset)};return n("gif",["0x47","0x49","0x46","0x38","0x37","0x61"],{mime:"image/gif",extension:"gif"}),n("gif",["0x47","0x49","0x46","0x38","0x39","0x61"],{mime:"image/gif",extension:"gif"}),n("jpg",["0xFF","0xD8","0xFF"],{mime:"image/jpeg",extension:"jpeg"}),n("webp",["0x52","0x49","0x46","0x46","?","?","?","?","0x57","0x45","0x42","0x50"],{mime:"image/webp",extension:"webp"}),n("heif",["0x66","0x74","0x79","0x70","0x6D","0x69","0x66","0x31"],{mime:"image/heif",extension:"heif"},4),n("heif",["0x66","0x74","0x79","0x70","0x68","0x65","0x69","0x63"],{mime:"image/heif",extension:"heic"},4),n("rpm",["0xed","0xab","0xee","0xdb"]),n("bin",["0x53","0x50","0x30","0x31"],{mime:"application/octet-stream",extension:"bin"}),n("pic",["0x00"]),n("pif",["0x00"]),n("sea",["0x00"]),n("ytr",["0x00"]),n("mp4",["0x66","0x74","0x79","0x70"],{mime:"video/mp4",extension:"mp4"},4),n("ttf",["0x00","0x01","0x00","0x00","0x00"],{mime:"font/ttf",extension:"ttf"}),n("otf",["0x4F","0x54","0x54","0x4F"],{mime:"font/otf",extension:"otf"}),n("eot",["0x50","0x4C"],{mime:"application/vnd.ms-fontobject",extension:"eot"}),n("woff",["0x77","0x4F","0x46","0x46"],{mime:"font/woff",extension:"woff"}),n("woff2",["0x77","0x4F","0x46","0x32"],{mime:"font/woff2",extension:"woff2"}),n("pdb",["0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00"]),n("dba",["0xBE","0xBA","0xFE","0xCA"]),n("dba2",["0x00","0x01","0x42","0x44"]),n("tda",["0x00","0x01","0x44","0x54"]),n("tda2",["0x00","0x01","0x00","0x00"]),n("ico",["0x00","0x00","0x01","0x00"],{mime:"image/x-icon",extension:"ico"}),n("3gp",["0x66","0x74","0x79","0x70","0x33","0x67"]),n("z",["0x1F","0x9D"]),n("tar.z",["0x1F","0xA0"]),n("bac",["0x42","0x41","0x43","0x4B","0x4D","0x49","0x4B","0x45","0x44","0x49","0x53","0x4B"]),n("bz2",["0x42","0x5A","0x68"],{mime:"application/x-bzip2",extension:"bz2"}),n("tif",["0x49","0x49","0x2A","0x00"],{mime:"image/tiff",extension:"tif"}),n("tiff",["0x4D","0x4D","0x00","0x2A"],{mime:"image/tiff",extension:"tiff"}),n("cr2",["0x49","0x49","0x2A","0x00","0x10","0x00","0x00","0x00","0x43","0x52"]),n("cin",["0x80","0x2A","0x5F","0xD7"]),n("cin1",["0x52","0x4E","0x43","0x01"]),n("cin2",["0x52","0x4E","0x43","0x02"]),n("dpx",["0x53","0x44","0x50","0x58"]),n("dpx2",["0x58","0x50","0x44","0x53"]),n("exr",["0x76","0x2F","0x31","0x01"]),n("bpg",["0x42","0x50","0x47","0xFB"]),n("ilbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x49","0x4C","0x42","0x4D"]),n("8svx",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x38","0x53","0x56","0x58"]),n("acbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x43","0x42","0x4D"]),n("anbm",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x4E","0x42","0x4D"]),n("anim",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x4E","0x49","0x4D"]),n("faxx",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x41","0x58","0x58"]),n("ftxt",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x54","0x58","0x54"]),n("smus",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x53","0x4D","0x55","0x53"]),n("cmus",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x43","0x4D","0x55","0x53"]),n("yuvn",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x59","0x55","0x56","0x4E"]),n("iff",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x46","0x41","0x4E","0x54"]),n("aiff",["0x46","0x4F","0x52","0x4D","?","?","?","?","0x41","0x49","0x46","0x46"],{mime:"audio/x-aiff",extension:"aiff"}),n("idx",["0x49","0x4E","0x44","0x58"]),n("lz",["0x4C","0x5A","0x49","0x50"]),n("exe",["0x4D","0x5A"]),n("zip",["0x50","0x4B","0x03","0x04"],{mime:"application/zip",extension:"zip"}),n("zip",["0x50","0x4B","0x05","0x06"],{mime:"application/zip",extension:"zip"}),n("zip",["0x50","0x4B","0x07","0x08"],{mime:"application/zip",extension:"zip"}),n("jar",["0x50","0x4B","0x03","0x04"],{mime:"application/java-archive",extension:"jar"}),n("jar",["0x50","0x4B","0x05","0x06"],{mime:"application/java-archive",extension:"jar"}),n("jar",["0x50","0x4B","0x07","0x08"],{mime:"application/java-archive",extension:"jar"}),n("odt",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("odt",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("odt",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.text",extension:"odt"}),n("ods",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("ods",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("ods",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.spreadsheet",extension:"ods"}),n("odp",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("odp",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("odp",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.oasis.opendocument.presentation",extension:"odp"}),n("docx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("docx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("docx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",extension:"docx"}),n("xlsx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("xlsx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("xlsx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",extension:"xlsx"}),n("pptx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("pptx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("pptx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.openxmlformats-officedocument.presentationml.presentation",extension:"pptx"}),n("vsdx",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("vsdx",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("vsdx",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.ms-visio.drawing",extension:"vsdx"}),n("apk",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("apk",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("apk",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.android.package-archive",extension:"apk"}),n("aar",["0x50","0x4B","0x03","0x04"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("aar",["0x50","0x4B","0x05","0x06"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("aar",["0x50","0x4B","0x07","0x08"],{mime:"application/vnd.android.package-archive",extension:"aar"}),n("rar",["0x52","0x61","0x72","0x21","0x1A","0x07","0x00"],{mime:"application/vnd.rar",extension:"rar"}),n("rar",["0x52","0x61","0x72","0x21","0x1A","0x07","0x01","0x00"],{mime:"application/vnd.rar",extension:"rar"}),n("rar",["0x7F","0x45","0x4C","0x46"],{mime:"application/vnd.rar",extension:"rar"}),n("png",["0x89","0x50","0x4E","0x47","0x0D","0x0A","0x1A","0x0A"],{mime:"image/png",extension:"png"}),n("apng",["0x89","0x50","0x4E","0x47","0x0D","0x0A","0x1A","0x0A"],{mime:"image/apng",extension:"apng"}),n("class",["0xCA","0xFE","0xBA","0xBE"]),n("class",["0xEF","0xBB","0xBF"]),n("class",["0xFE","0xed","0xFA","0xCE"],void 0,4096),n("class",["0xFE","0xed","0xFA","0xCF"],void 0,4096),n("class",["0xCE","0xFA","0xed","0xFE"]),n("class",["0xCF","0xFA","0xed","0xFE"]),n("class",["0xFF","0xFE"]),n("class",["0xFF","0xFE"]),n("class",["0xFF","0xFE","0x00","0x00"]),n("ps",["0x25","0x21","0x50","0x53"],{mime:"application/postscript",extension:".ps"}),n("pdf",["0x25","0x50","0x44","0x46"],{mime:"application/pdf",extension:"pdf"}),n("asf",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("wma",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("wmv",["0x30","0x26","0xB2","0x75","0x8E","0x66","0xCF","0x11","0xA6","0xD9","0x00","0xAA","0x00","0x62","0xCE","0x6C"]),n("deploymentimage",["0x24","0x53","0x44","0x49","0x30","0x30","0x30","0x31"]),n("ogv",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x80","0x74","0x68","0x65","0x6F","0x72","0x61"],{mime:"video/ogg",extension:"ogv"}),n("ogm",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x01","0x76","0x69","0x64","0x65","0x6F","0x00"],{mime:"video/ogg",extension:"ogm"}),n("oga",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x7F","0x46","0x4C","0x41","0x43"],{mime:"audio/ogg",extension:"oga"}),n("spx",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x53","0x70","0x65","0x65","0x78","0x20","0x20"],{mime:"audio/ogg",extension:"spx"}),n("ogg",["0x4F","0x67","0x67","0x53","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","?","0x01","0x76","0x6F","0x72","0x62","0x69","0x73"],{mime:"audio/ogg",extension:"ogg"}),n("ogx",["0x4F","0x67","0x67","0x53"],{mime:"application/ogg",extension:"ogx"}),n("psd",["0x38","0x42","0x50","0x53"],{mime:"application/x-photoshop",extension:"psd"}),n("clip",["0x43","0x53","0x46","0x43","0x48","0x55","0x4e","0x4b"]),n("wav",["0x52","0x49","0x46","0x46","?","?","?","?","0x57","0x41","0x56","0x45"],{mime:"audio/x-wav",extension:"wav"}),n("avi",["0x52","0x49","0x46","0x46","?","?","?","?","0x41","0x56","0x49","0x20"],{mime:"video/x-msvideo",extension:"avi"}),n("mp3",["0xFF","0xFB"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0xFF","0xF3"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0xFF","0xF2"],{mime:"audio/mpeg",extension:"mp3"}),n("mp3",["0x49","0x44","0x33"],{mime:"audio/mpeg",extension:"mp3"}),n("bmp",["0x42","0x4D"],{mime:"image/bmp",extension:"bmp"}),n("iso",["0x43","0x44","0x30","0x30","0x31"]),n("flac",["0x66","0x4C","0x61","0x43"]),n("mid",["0x4D","0x54","0x68","0x64"],{mime:"audio/midi",extension:"mid"}),n("midi",["0x4D","0x54","0x68","0x64"],{mime:"audio/midi",extension:"midi"}),n("doc",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/msword",extension:"doc"}),n("xls",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/vnd.ms-excel",extension:"xls"}),n("ppt",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"],{mime:"application/vnd.ms-powerpoint",extension:"ppt"}),n("msg",["0xD0","0xCF","0x11","0xE0","0xA1","0xB1","0x1A","0xE1"]),n("dex",["0x64","0x65","0x78","0x0A","0x30","0x33","0x35","0x00"]),n("vmdk",["0x4B","0x44","0x4D"]),n("crx",["0x43","0x72","0x32","0x34"]),n("fh8",["0x41","0x47","0x44","0x33"]),n("cwk",["0x05","0x07","0x00","0x00","0x42","0x4F","0x42","0x4F","0x05","0x07","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x01"]),n("cwk",["0x06","0x07","0xE1","0x00","0x42","0x4F","0x42","0x4F","0x06","0x07","0xE1","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x00","0x01"]),n("toast",["0x45","0x52","0x02","0x00","0x00","0x00"]),n("toast",["0x8B","0x45","0x52","0x02","0x00","0x00","0x00"]),n("dmg",["0x78","0x01","0x73","0x0D","0x62","0x62","0x60"]),n("xar",["0x78","0x61","0x72","0x21"]),n("dat",["0x50","0x4D","0x4F","0x43","0x43","0x4D","0x4F","0x43"]),n("nes",["0x4E","0x45","0x53","0x1A"]),n("tar",["0x75","0x73","0x74","0x61","0x72","0x00","0x30","0x30"],{mime:"application/x-tar",extension:"tar"},257),n("tar",["0x75","0x73","0x74","0x61","0x72","0x20","0x20","0x00"],{mime:"application/x-tar",extension:"tar"},257),n("tox",["0x74","0x6F","0x78","0x33"]),n("mlv",["0x4D","0x4C","0x56","0x49"]),n("windowsupdate",["0x44","0x43","0x4D","0x01","0x50","0x41","0x33","0x30"]),n("7z",["0x37","0x7A","0xBC","0xAF","0x27","0x1C"],{mime:"application/x-7z-compressed",extension:"7z"}),n("gz",["0x1F","0x8B"],{mime:"application/gzip",extension:"gz"}),n("tar.gz",["0x1F","0x8B"],{mime:"application/gzip",extension:"tar.gz"}),n("xz",["0xFD","0x37","0x7A","0x58","0x5A","0x00","0x00"],{mime:"application/gzip",extension:"xz"}),n("tar.xz",["0xFD","0x37","0x7A","0x58","0x5A","0x00","0x00"],{mime:"application/gzip",extension:"tar.xz"}),n("lz2",["0x04","0x22","0x4D","0x18"]),n("cab",["0x4D","0x53","0x43","0x46"]),n("mkv",["0x1A","0x45","0xDF","0xA3"],{mime:"video/x-matroska",extension:"mkv"}),n("mka",["0x1A","0x45","0xDF","0xA3"],{mime:"audio/x-matroska",extension:"mka"}),n("mks",["0x1A","0x45","0xDF","0xA3"],{mime:"video/x-matroska",extension:"mks"}),n("mk3d",["0x1A","0x45","0xDF","0xA3"]),n("webm",["0x1A","0x45","0xDF","0xA3"],{mime:"audio/webm",extension:"webm"}),n("dcm",["0x44","0x49","0x43","0x4D"],void 0,128),n("xml",["0x3C","0x3f","0x78","0x6d","0x6C","0x20"],{mime:"application/xml",extension:"xml"}),n("wasm",["0x00","0x61","0x73","0x6d"],{mime:"application/wasm",extension:"wasm"}),n("lep",["0xCF","0x84","0x01"]),n("swf",["0x43","0x57","0x53"],{mime:"application/x-shockwave-flash",extension:"swf"}),n("swf",["0x46","0x57","0x53"],{mime:"application/x-shockwave-flash",extension:"swf"}),n("deb",["0x21","0x3C","0x61","0x72","0x63","0x68","0x3E"]),n("rtf",["0x7B","0x5C","0x72","0x74","0x66","0x31"],{mime:"application/rtf",extension:"rtf"}),n("m2p",["0x00","0x00","0x01","0xBA"]),n("vob",["0x00","0x00","0x01","0xBA"]),n("mpg",["0x00","0x00","0x01","0xBA"],{mime:"video/mpeg",extension:"mpg"}),n("mpeg",["0x00","0x00","0x01","0xBA"],{mime:"video/mpeg",extension:"mpeg"}),n("mpeg",["0x47"],{mime:"video/mpeg",extension:"mpeg"}),n("mpeg",["0x00","0x00","0x01","0xB3"],{mime:"video/mpeg",extension:"mpeg"}),n("mov",["0x66","0x72","0x65","0x65"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x6D","0x64","0x61","0x74"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x6D","0x6F","0x6F","0x76"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x77","0x69","0x64","0x65"],{mime:"video/quicktime",extension:"mov"},4),n("mov",["0x66","0x74","0x79","0x70","0x71","0x74"],{mime:"video/quicktime",extension:"mov"},4),n("hl2demo",["0x48","0x4C","0x32","0x44","0x45","0x4D","0x4F"]),n("txt",["0xEF","0xBB","0xBF"],{mime:"text/plain; charset=UTF-8",extension:"txt"}),n("txt",["0xFF","0xFE"],{mime:"text/plain; charset=UTF-16LE",extension:"txt"}),n("txt",["0xFE","0xFF"],{mime:"text/plain; charset=UTF-16BE",extension:"txt"}),n("txt",["0xFF","0xFE","0x00","0x00"],{mime:"text/plain; charset=UTF-32LE",extension:"txt"}),n("txt",["0x00","0x00","0xFE","0xFF"],{mime:"text/plain; charset=UTF-32BE",extension:"txt"}),n("SubRip",["0x31","0x0D","0x0A","0x30","0x30","0x3A"],{mime:"application/x-subrip",extension:"srt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x0A"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x0D"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x20"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0xEF","0xBB","0xBF","0x57","0x45","0x42","0x56","0x54","0x54","0x09"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x0A"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x0D"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x20"],{mime:"text/vtt",extension:"vtt"}),n("WebVTT",["0x57","0x45","0x42","0x56","0x54","0x54","0x09"],{mime:"text/vtt",extension:"vtt"}),n("Json",["0x7B"],{mime:"application/json",extension:".json"}),n("Json",["0x5B"],{mime:"application/json",extension:".json"}),n("ELF",["0x7F","0x45","0x4C","0x46"],{mime:"application/x-executable",extension:".elf"}),n("Mach-O",["0xFE","0xED","0xFA","0xC"],{mime:"application/x-mach-binary",extension:".o"}),n("Mach-O",["0xFE","0xED","0xFA","0xCF"],{mime:"application/x-executable",extension:"elf"}),n("EML",["0x52","0x65","0x63","0x65","0x69","0x76","0x65","0x64","0x3A"],{mime:"message/rfc822",extension:".eml"}),n("SVG",["0x3c","0x73","0x76","0x67"],{mime:"image/svg+xml",extension:"svg"}),Vt.default=()=>i,Vt}var Di;function po(){return Di||(Di=1,function(e){var t=_t&&_t.__importDefault||function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(e,"__esModule",{value:!0}),e.filetypeextension=e.filetypemime=e.filetypename=e.filetypeinfo=void 0;const i=t(lo()),n=_i(),r=i.default(),a=l=>{let u=r;for(const f of Object.keys(u.offset)){const m=n.fromHex(f);if(m>=l.length)continue;const g=r.offset[f],w=o(m,l,g);if(w.length>0)return w}return u.noOffset===null?[]:o(0,l,u.noOffset)};e.filetypeinfo=a;const o=(l,u,f)=>{let m=f,v=[];for(;;){const g=n.toHex(u[l]);if(m.bytes["?"]&&!m.bytes[g]?m=m.bytes["?"]:m=m.bytes[g],!m)return v;m&&m.matches&&(v=m.matches.slice(0)),l+=1}};e.default=e.filetypeinfo;const s=l=>e.filetypeinfo(l).map(u=>u.typename);e.filetypename=s;const c=l=>e.filetypeinfo(l).map(u=>u.mime?u.mime:null).filter(u=>u!==null);e.filetypemime=c;const p=l=>e.filetypeinfo(l).map(u=>u.extension?u.extension:null).filter(u=>u!==null);e.filetypeextension=p}(_t)),_t}var uo=po(),Ht={exports:{}},Gt={exports:{}},se={};/** @license React v16.13.1
26
26
  * react-is.production.min.js
27
27
  *
28
28
  * Copyright (c) Facebook, Inc. and its affiliates.
29
29
  *
30
30
  * This source code is licensed under the MIT license found in the
31
31
  * LICENSE file in the root directory of this source tree.
32
- */var Oi;function ia(){if(Oi)return ne;Oi=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function C(b){if(typeof b=="object"&&b!==null){var D=b.$$typeof;switch(D){case t:switch(b=b.type,b){case c:case p:case n:case o:case r:case u:return b;default:switch(b=b&&b.$$typeof,b){case s:case l:case x:case m:case a:return b;default:return D}}case i:return D}}}function k(b){return C(b)===p}return ne.AsyncMode=c,ne.ConcurrentMode=p,ne.ContextConsumer=s,ne.ContextProvider=a,ne.Element=t,ne.ForwardRef=l,ne.Fragment=n,ne.Lazy=x,ne.Memo=m,ne.Portal=i,ne.Profiler=o,ne.StrictMode=r,ne.Suspense=u,ne.isAsyncMode=function(b){return k(b)||C(b)===c},ne.isConcurrentMode=k,ne.isContextConsumer=function(b){return C(b)===s},ne.isContextProvider=function(b){return C(b)===a},ne.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},ne.isForwardRef=function(b){return C(b)===l},ne.isFragment=function(b){return C(b)===n},ne.isLazy=function(b){return C(b)===x},ne.isMemo=function(b){return C(b)===m},ne.isPortal=function(b){return C(b)===i},ne.isProfiler=function(b){return C(b)===o},ne.isStrictMode=function(b){return C(b)===r},ne.isSuspense=function(b){return C(b)===u},ne.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===p||b===o||b===r||b===u||b===f||typeof b=="object"&&b!==null&&(b.$$typeof===x||b.$$typeof===m||b.$$typeof===a||b.$$typeof===s||b.$$typeof===l||b.$$typeof===y||b.$$typeof===h||b.$$typeof===A||b.$$typeof===g)},ne.typeOf=C,ne}var ie={};/** @license React v16.13.1
32
+ */var ji;function fo(){if(ji)return se;ji=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function A(b){if(typeof b=="object"&&b!==null){var j=b.$$typeof;switch(j){case t:switch(b=b.type,b){case c:case p:case n:case a:case r:case u:return b;default:switch(b=b&&b.$$typeof,b){case s:case l:case v:case m:case o:return b;default:return j}}case i:return j}}}function k(b){return A(b)===p}return se.AsyncMode=c,se.ConcurrentMode=p,se.ContextConsumer=s,se.ContextProvider=o,se.Element=t,se.ForwardRef=l,se.Fragment=n,se.Lazy=v,se.Memo=m,se.Portal=i,se.Profiler=a,se.StrictMode=r,se.Suspense=u,se.isAsyncMode=function(b){return k(b)||A(b)===c},se.isConcurrentMode=k,se.isContextConsumer=function(b){return A(b)===s},se.isContextProvider=function(b){return A(b)===o},se.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===t},se.isForwardRef=function(b){return A(b)===l},se.isFragment=function(b){return A(b)===n},se.isLazy=function(b){return A(b)===v},se.isMemo=function(b){return A(b)===m},se.isPortal=function(b){return A(b)===i},se.isProfiler=function(b){return A(b)===a},se.isStrictMode=function(b){return A(b)===r},se.isSuspense=function(b){return A(b)===u},se.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===n||b===p||b===a||b===r||b===u||b===f||typeof b=="object"&&b!==null&&(b.$$typeof===v||b.$$typeof===m||b.$$typeof===o||b.$$typeof===s||b.$$typeof===l||b.$$typeof===w||b.$$typeof===x||b.$$typeof===O||b.$$typeof===g)},se.typeOf=A,se}var ce={};/** @license React v16.13.1
33
33
  * react-is.development.js
34
34
  *
35
35
  * Copyright (c) Facebook, Inc. and its affiliates.
36
36
  *
37
37
  * This source code is licensed under the MIT license found in the
38
38
  * LICENSE file in the root directory of this source tree.
39
- */var _i;function ra(){return _i||(_i=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,x=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,y=e?Symbol.for("react.fundamental"):60117,h=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function C(E){return typeof E=="string"||typeof E=="function"||E===n||E===p||E===o||E===r||E===u||E===f||typeof E=="object"&&E!==null&&(E.$$typeof===x||E.$$typeof===m||E.$$typeof===a||E.$$typeof===s||E.$$typeof===l||E.$$typeof===y||E.$$typeof===h||E.$$typeof===A||E.$$typeof===g)}function k(E){if(typeof E=="object"&&E!==null){var K=E.$$typeof;switch(K){case t:var de=E.type;switch(de){case c:case p:case n:case o:case r:case u:return de;default:var te=de&&de.$$typeof;switch(te){case s:case l:case x:case m:case a:return te;default:return K}}case i:return K}}}var b=c,D=p,L=s,B=a,W=t,J=l,ae=n,fe=x,Z=m,V=i,ce=o,Se=r,Re=u,be=!1;function he(E){return be||(be=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),S(E)||k(E)===c}function S(E){return k(E)===p}function O(E){return k(E)===s}function z(E){return k(E)===a}function $(E){return typeof E=="object"&&E!==null&&E.$$typeof===t}function P(E){return k(E)===l}function H(E){return k(E)===n}function I(E){return k(E)===x}function N(E){return k(E)===m}function Y(E){return k(E)===i}function G(E){return k(E)===o}function M(E){return k(E)===r}function xe(E){return k(E)===u}ie.AsyncMode=b,ie.ConcurrentMode=D,ie.ContextConsumer=L,ie.ContextProvider=B,ie.Element=W,ie.ForwardRef=J,ie.Fragment=ae,ie.Lazy=fe,ie.Memo=Z,ie.Portal=V,ie.Profiler=ce,ie.StrictMode=Se,ie.Suspense=Re,ie.isAsyncMode=he,ie.isConcurrentMode=S,ie.isContextConsumer=O,ie.isContextProvider=z,ie.isElement=$,ie.isForwardRef=P,ie.isFragment=H,ie.isLazy=I,ie.isMemo=N,ie.isPortal=Y,ie.isProfiler=G,ie.isStrictMode=M,ie.isSuspense=xe,ie.isValidElementType=C,ie.typeOf=k}()),ie}var Ai;function Ci(){return Ai||(Ai=1,process.env.NODE_ENV==="production"?Ut.exports=ia():Ut.exports=ra()),Ut.exports}/*
39
+ */var Fi;function mo(){return Fi||(Fi=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,i=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,r=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,c=e?Symbol.for("react.async_mode"):60111,p=e?Symbol.for("react.concurrent_mode"):60111,l=e?Symbol.for("react.forward_ref"):60112,u=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,v=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function A(y){return typeof y=="string"||typeof y=="function"||y===n||y===p||y===a||y===r||y===u||y===f||typeof y=="object"&&y!==null&&(y.$$typeof===v||y.$$typeof===m||y.$$typeof===o||y.$$typeof===s||y.$$typeof===l||y.$$typeof===w||y.$$typeof===x||y.$$typeof===O||y.$$typeof===g)}function k(y){if(typeof y=="object"&&y!==null){var P=y.$$typeof;switch(P){case t:var X=y.type;switch(X){case c:case p:case n:case a:case r:case u:return X;default:var $=X&&X.$$typeof;switch($){case s:case l:case v:case m:case o:return $;default:return P}}case i:return P}}}var b=c,j=p,q=s,F=o,Y=t,H=l,ae=n,ve=v,ne=m,V=i,pe=a,Ee=r,Se=u,ue=!1;function ye(y){return ue||(ue=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),R(y)||k(y)===c}function R(y){return k(y)===p}function _(y){return k(y)===s}function B(y){return k(y)===o}function W(y){return typeof y=="object"&&y!==null&&y.$$typeof===t}function z(y){return k(y)===l}function G(y){return k(y)===n}function L(y){return k(y)===v}function U(y){return k(y)===m}function J(y){return k(y)===i}function te(y){return k(y)===a}function M(y){return k(y)===r}function ge(y){return k(y)===u}ce.AsyncMode=b,ce.ConcurrentMode=j,ce.ContextConsumer=q,ce.ContextProvider=F,ce.Element=Y,ce.ForwardRef=H,ce.Fragment=ae,ce.Lazy=ve,ce.Memo=ne,ce.Portal=V,ce.Profiler=pe,ce.StrictMode=Ee,ce.Suspense=Se,ce.isAsyncMode=ye,ce.isConcurrentMode=R,ce.isContextConsumer=_,ce.isContextProvider=B,ce.isElement=W,ce.isForwardRef=z,ce.isFragment=G,ce.isLazy=L,ce.isMemo=U,ce.isPortal=J,ce.isProfiler=te,ce.isStrictMode=M,ce.isSuspense=ge,ce.isValidElementType=A,ce.typeOf=k}()),ce}var Pi;function Ii(){return Pi||(Pi=1,process.env.NODE_ENV==="production"?Gt.exports=fo():Gt.exports=mo()),Gt.exports}/*
40
40
  object-assign
41
41
  (c) Sindre Sorhus
42
42
  @license MIT
43
- */var bn,Di;function oa(){if(Di)return bn;Di=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function n(o){if(o==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(o)}function r(){try{if(!Object.assign)return!1;var o=new String("abc");if(o[5]="de",Object.getOwnPropertyNames(o)[0]==="5")return!1;for(var a={},s=0;s<10;s++)a["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(a).map(function(l){return a[l]});if(c.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(l){p[l]=l}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return bn=r()?Object.assign:function(o,a){for(var s,c=n(o),p,l=1;l<arguments.length;l++){s=Object(arguments[l]);for(var u in s)t.call(s,u)&&(c[u]=s[u]);if(e){p=e(s);for(var f=0;f<p.length;f++)i.call(s,p[f])&&(c[p[f]]=s[p[f]])}}return c},bn}var yn,ji;function En(){if(ji)return yn;ji=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return yn=e,yn}var wn,Fi;function Pi(){return Fi||(Fi=1,wn=Function.call.bind(Object.prototype.hasOwnProperty)),wn}var Sn,Ii;function aa(){if(Ii)return Sn;Ii=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=En(),i={},n=Pi();e=function(o){var a="Warning: "+o;typeof console<"u"&&console.error(a);try{throw new Error(a)}catch{}}}function r(o,a,s,c,p){if(process.env.NODE_ENV!=="production"){for(var l in o)if(n(o,l)){var u;try{if(typeof o[l]!="function"){var f=Error((c||"React class")+": "+s+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof o[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}u=o[l](a,l,c,s,null,t)}catch(x){u=x}if(u&&!(u instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var m=p?p():"";e("Failed "+s+" type: "+u.message+(m??""))}}}}return r.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},Sn=r,Sn}var Rn,Bi;function sa(){if(Bi)return Rn;Bi=1;var e=Ci(),t=oa(),i=En(),n=Pi(),r=aa(),o=function(){};process.env.NODE_ENV!=="production"&&(o=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function a(){return null}return Rn=function(s,c){var p=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function u(S){var O=S&&(p&&S[p]||S[l]);if(typeof O=="function")return O}var f="<<anonymous>>",m={array:h("array"),bigint:h("bigint"),bool:h("boolean"),func:h("function"),number:h("number"),object:h("object"),string:h("string"),symbol:h("symbol"),any:A(),arrayOf:C,element:k(),elementType:b(),instanceOf:D,node:J(),objectOf:B,oneOf:L,oneOfType:W,shape:fe,exact:Z};function x(S,O){return S===O?S!==0||1/S===1/O:S!==S&&O!==O}function g(S,O){this.message=S,this.data=O&&typeof O=="object"?O:{},this.stack=""}g.prototype=Error.prototype;function y(S){if(process.env.NODE_ENV!=="production")var O={},z=0;function $(H,I,N,Y,G,M,xe){if(Y=Y||f,M=M||N,xe!==i){if(c){var E=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw E.name="Invariant Violation",E}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var K=Y+":"+N;!O[K]&&z<3&&(o("You are manually calling a React.PropTypes validation function for the `"+M+"` prop on `"+Y+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),O[K]=!0,z++)}}return I[N]==null?H?I[N]===null?new g("The "+G+" `"+M+"` is marked as required "+("in `"+Y+"`, but its value is `null`.")):new g("The "+G+" `"+M+"` is marked as required in "+("`"+Y+"`, but its value is `undefined`.")):null:S(I,N,Y,G,M)}var P=$.bind(null,!1);return P.isRequired=$.bind(null,!0),P}function h(S){function O(z,$,P,H,I,N){var Y=z[$],G=Se(Y);if(G!==S){var M=Re(Y);return new g("Invalid "+H+" `"+I+"` of type "+("`"+M+"` supplied to `"+P+"`, expected ")+("`"+S+"`."),{expectedType:S})}return null}return y(O)}function A(){return y(a)}function C(S){function O(z,$,P,H,I){if(typeof S!="function")return new g("Property `"+I+"` of component `"+P+"` has invalid PropType notation inside arrayOf.");var N=z[$];if(!Array.isArray(N)){var Y=Se(N);return new g("Invalid "+H+" `"+I+"` of type "+("`"+Y+"` supplied to `"+P+"`, expected an array."))}for(var G=0;G<N.length;G++){var M=S(N,G,P,H,I+"["+G+"]",i);if(M instanceof Error)return M}return null}return y(O)}function k(){function S(O,z,$,P,H){var I=O[z];if(!s(I)){var N=Se(I);return new g("Invalid "+P+" `"+H+"` of type "+("`"+N+"` supplied to `"+$+"`, expected a single ReactElement."))}return null}return y(S)}function b(){function S(O,z,$,P,H){var I=O[z];if(!e.isValidElementType(I)){var N=Se(I);return new g("Invalid "+P+" `"+H+"` of type "+("`"+N+"` supplied to `"+$+"`, expected a single ReactElement type."))}return null}return y(S)}function D(S){function O(z,$,P,H,I){if(!(z[$]instanceof S)){var N=S.name||f,Y=he(z[$]);return new g("Invalid "+H+" `"+I+"` of type "+("`"+Y+"` supplied to `"+P+"`, expected ")+("instance of `"+N+"`."))}return null}return y(O)}function L(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&(arguments.length>1?o("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):o("Invalid argument supplied to oneOf, expected an array.")),a;function O(z,$,P,H,I){for(var N=z[$],Y=0;Y<S.length;Y++)if(x(N,S[Y]))return null;var G=JSON.stringify(S,function(xe,E){var K=Re(E);return K==="symbol"?String(E):E});return new g("Invalid "+H+" `"+I+"` of value `"+String(N)+"` "+("supplied to `"+P+"`, expected one of "+G+"."))}return y(O)}function B(S){function O(z,$,P,H,I){if(typeof S!="function")return new g("Property `"+I+"` of component `"+P+"` has invalid PropType notation inside objectOf.");var N=z[$],Y=Se(N);if(Y!=="object")return new g("Invalid "+H+" `"+I+"` of type "+("`"+Y+"` supplied to `"+P+"`, expected an object."));for(var G in N)if(n(N,G)){var M=S(N,G,P,H,I+"."+G,i);if(M instanceof Error)return M}return null}return y(O)}function W(S){if(!Array.isArray(S))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var O=0;O<S.length;O++){var z=S[O];if(typeof z!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+be(z)+" at index "+O+"."),a}function $(P,H,I,N,Y){for(var G=[],M=0;M<S.length;M++){var xe=S[M],E=xe(P,H,I,N,Y,i);if(E==null)return null;E.data&&n(E.data,"expectedType")&&G.push(E.data.expectedType)}var K=G.length>0?", expected one of type ["+G.join(", ")+"]":"";return new g("Invalid "+N+" `"+Y+"` supplied to "+("`"+I+"`"+K+"."))}return y($)}function J(){function S(O,z,$,P,H){return V(O[z])?null:new g("Invalid "+P+" `"+H+"` supplied to "+("`"+$+"`, expected a ReactNode."))}return y(S)}function ae(S,O,z,$,P){return new g((S||"React class")+": "+O+" type `"+z+"."+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+P+"`.")}function fe(S){function O(z,$,P,H,I){var N=z[$],Y=Se(N);if(Y!=="object")return new g("Invalid "+H+" `"+I+"` of type `"+Y+"` "+("supplied to `"+P+"`, expected `object`."));for(var G in S){var M=S[G];if(typeof M!="function")return ae(P,H,I,G,Re(M));var xe=M(N,G,P,H,I+"."+G,i);if(xe)return xe}return null}return y(O)}function Z(S){function O(z,$,P,H,I){var N=z[$],Y=Se(N);if(Y!=="object")return new g("Invalid "+H+" `"+I+"` of type `"+Y+"` "+("supplied to `"+P+"`, expected `object`."));var G=t({},z[$],S);for(var M in G){var xe=S[M];if(n(S,M)&&typeof xe!="function")return ae(P,H,I,M,Re(xe));if(!xe)return new g("Invalid "+H+" `"+I+"` key `"+M+"` supplied to `"+P+"`.\nBad object: "+JSON.stringify(z[$],null," ")+`
44
- Valid keys: `+JSON.stringify(Object.keys(S),null," "));var E=xe(N,M,P,H,I+"."+M,i);if(E)return E}return null}return y(O)}function V(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(V);if(S===null||s(S))return!0;var O=u(S);if(O){var z=O.call(S),$;if(O!==S.entries){for(;!($=z.next()).done;)if(!V($.value))return!1}else for(;!($=z.next()).done;){var P=$.value;if(P&&!V(P[1]))return!1}}else return!1;return!0;default:return!1}}function ce(S,O){return S==="symbol"?!0:O?O["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&O instanceof Symbol:!1}function Se(S){var O=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":ce(O,S)?"symbol":O}function Re(S){if(typeof S>"u"||S===null)return""+S;var O=Se(S);if(O==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return O}function be(S){var O=Re(S);switch(O){case"array":case"object":return"an "+O;case"boolean":case"date":case"regexp":return"a "+O;default:return O}}function he(S){return!S.constructor||!S.constructor.name?f:S.constructor.name}return m.checkPropTypes=r,m.resetWarningCache=r.resetWarningCache,m.PropTypes=m,m},Rn}var Tn,zi;function ca(){if(zi)return Tn;zi=1;var e=En();function t(){}function i(){}return i.resetWarningCache=t,Tn=function(){function n(a,s,c,p,l,u){if(u!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}n.isRequired=n;function r(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:t};return o.PropTypes=o,o},Tn}var Li;function la(){if(Li)return qt.exports;if(Li=1,process.env.NODE_ENV!=="production"){var e=Ci(),t=!0;qt.exports=sa()(e.isElement,t)}else qt.exports=ca()();return qt.exports}var pa=la();const se=Ge(pa);function tt(e,t,i,n){function r(o){return o instanceof i?o:new i(function(a){a(o)})}return new(i||(i=Promise))(function(o,a){function s(l){try{p(n.next(l))}catch(u){a(u)}}function c(l){try{p(n.throw(l))}catch(u){a(u)}}function p(l){l.done?o(l.value):r(l.value).then(s,c)}p((n=n.apply(e,t||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const da=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function ut(e,t,i){const n=ua(e),{webkitRelativePath:r}=e,o=typeof t=="string"?t:typeof r=="string"&&r.length>0?r:`./${e.name}`;return typeof n.path!="string"&&Mi(n,"path",o),Mi(n,"relativePath",o),n}function ua(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const n=t.split(".").pop().toLowerCase(),r=da.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}function Mi(e,t,i){Object.defineProperty(e,t,{value:i,writable:!1,configurable:!1,enumerable:!0})}const fa=[".DS_Store","Thumbs.db"];function ma(e){return tt(this,void 0,void 0,function*(){return Wt(e)&&xa(e.dataTransfer)?ba(e.dataTransfer,e.type):va(e)?ga(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?ha(e):[]})}function xa(e){return Wt(e)}function va(e){return Wt(e)&&Wt(e.target)}function Wt(e){return typeof e=="object"&&e!==null}function ga(e){return kn(e.target.files).map(t=>ut(t))}function ha(e){return tt(this,void 0,void 0,function*(){return(yield Promise.all(e.map(i=>i.getFile()))).map(i=>ut(i))})}function ba(e,t){return tt(this,void 0,void 0,function*(){if(e.items){const i=kn(e.items).filter(r=>r.kind==="file");if(t!=="drop")return i;const n=yield Promise.all(i.map(ya));return $i(Ni(n))}return $i(kn(e.files).map(i=>ut(i)))})}function $i(e){return e.filter(t=>fa.indexOf(t.name)===-1)}function kn(e){if(e===null)return[];const t=[];for(let i=0;i<e.length;i++){const n=e[i];t.push(n)}return t}function ya(e){if(typeof e.webkitGetAsEntry!="function")return qi(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?Ui(t):qi(e,t)}function Ni(e){return e.reduce((t,i)=>[...t,...Array.isArray(i)?Ni(i):[i]],[])}function qi(e,t){return tt(this,void 0,void 0,function*(){var i;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const o=yield e.getAsFileSystemHandle();if(o===null)throw new Error(`${e} is not a File`);if(o!==void 0){const a=yield o.getFile();return a.handle=o,ut(a)}}const n=e.getAsFile();if(!n)throw new Error(`${e} is not a File`);return ut(n,(i=t==null?void 0:t.fullPath)!==null&&i!==void 0?i:void 0)})}function Ea(e){return tt(this,void 0,void 0,function*(){return e.isDirectory?Ui(e):wa(e)})}function Ui(e){const t=e.createReader();return new Promise((i,n)=>{const r=[];function o(){t.readEntries(a=>tt(this,void 0,void 0,function*(){if(a.length){const s=Promise.all(a.map(Ea));r.push(s),o()}else try{const s=yield Promise.all(r);i(s)}catch(s){n(s)}}),a=>{n(a)})}o()})}function wa(e){return tt(this,void 0,void 0,function*(){return new Promise((t,i)=>{e.file(n=>{const r=ut(n,e.fullPath);t(r)},n=>{i(n)})})})}var Vt={},Wi;function Sa(){return Wi||(Wi=1,Vt.__esModule=!0,Vt.default=function(e,t){if(e&&t){var i=Array.isArray(t)?t:t.split(",");if(i.length===0)return!0;var n=e.name||"",r=(e.type||"").toLowerCase(),o=r.replace(/\/.*$/,"");return i.some(function(a){var s=a.trim().toLowerCase();return s.charAt(0)==="."?n.toLowerCase().endsWith(s):s.endsWith("/*")?o===s.replace(/\/.*$/,""):r===s})}return!0}),Vt}var Ra=Sa();const On=Ge(Ra);function Vi(e){return Oa(e)||ka(e)||Ji(e)||Ta()}function Ta(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
45
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ka(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Oa(e){if(Array.isArray(e))return _n(e)}function Hi(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function Yi(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?Hi(Object(i),!0).forEach(function(n){Ki(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Hi(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function Ki(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Tt(e,t){return Ca(e)||Aa(e,t)||Ji(e,t)||_a()}function _a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
46
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ji(e,t){if(e){if(typeof e=="string")return _n(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _n(e,t)}}function _n(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function Aa(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var n=[],r=!0,o=!1,a,s;try{for(i=i.call(e);!(r=(a=i.next()).done)&&(n.push(a.value),!(t&&n.length===t));r=!0);}catch(c){o=!0,s=c}finally{try{!r&&i.return!=null&&i.return()}finally{if(o)throw s}}return n}}function Ca(e){if(Array.isArray(e))return e}var Da=typeof On=="function"?On:On.default,ja="file-invalid-type",Fa="file-too-large",Pa="file-too-small",Ia="too-many-files",Ba=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=t.split(","),n=i.length>1?"one of ".concat(i.join(", ")):i[0];return{code:ja,message:"File type must be ".concat(n)}},Gi=function(t){return{code:Fa,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},Xi=function(t){return{code:Pa,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},za={code:Ia,message:"Too many files"};function Zi(e,t){var i=e.type==="application/x-moz-file"||Da(e,t);return[i,i?null:Ba(t)]}function Qi(e,t,i){if(nt(e.size))if(nt(t)&&nt(i)){if(e.size>i)return[!1,Gi(i)];if(e.size<t)return[!1,Xi(t)]}else{if(nt(t)&&e.size<t)return[!1,Xi(t)];if(nt(i)&&e.size>i)return[!1,Gi(i)]}return[!0,null]}function nt(e){return e!=null}function La(e){var t=e.files,i=e.accept,n=e.minSize,r=e.maxSize,o=e.multiple,a=e.maxFiles,s=e.validator;return!o&&t.length>1||o&&a>=1&&t.length>a?!1:t.every(function(c){var p=Zi(c,i),l=Tt(p,1),u=l[0],f=Qi(c,n,r),m=Tt(f,1),x=m[0],g=s?s(c):null;return u&&x&&!g})}function Ht(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function Yt(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function er(e){e.preventDefault()}function Ma(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function $a(e){return e.indexOf("Edge/")!==-1}function Na(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return Ma(e)||$a(e)}function Me(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(n){for(var r=arguments.length,o=new Array(r>1?r-1:0),a=1;a<r;a++)o[a-1]=arguments[a];return t.some(function(s){return!Ht(n)&&s&&s.apply(void 0,[n].concat(o)),Ht(n)})}}function qa(){return"showOpenFilePicker"in window}function Ua(e){if(nt(e)){var t=Object.entries(e).filter(function(i){var n=Tt(i,2),r=n[0],o=n[1],a=!0;return tr(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),a=!1),(!Array.isArray(o)||!o.every(nr))&&(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(i,n){var r=Tt(n,2),o=r[0],a=r[1];return Yi(Yi({},i),{},Ki({},o,a))},{});return[{description:"Files",accept:t}]}return e}function Wa(e){if(nt(e))return Object.entries(e).reduce(function(t,i){var n=Tt(i,2),r=n[0],o=n[1];return[].concat(Vi(t),[r],Vi(o))},[]).filter(function(t){return tr(t)||nr(t)}).join(",")}function Va(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function Ha(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function tr(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function nr(e){return/^.*\.[\w]+$/.test(e)}var Ya=["children"],Ka=["open"],Ja=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Ga=["refKey","onChange","onClick"];function Xa(e){return es(e)||Qa(e)||ir(e)||Za()}function Za(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
47
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Qa(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function es(e){if(Array.isArray(e))return Cn(e)}function An(e,t){return is(e)||ns(e,t)||ir(e,t)||ts()}function ts(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
48
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ir(e,t){if(e){if(typeof e=="string")return Cn(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Cn(e,t)}}function Cn(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function ns(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var n=[],r=!0,o=!1,a,s;try{for(i=i.call(e);!(r=(a=i.next()).done)&&(n.push(a.value),!(t&&n.length===t));r=!0);}catch(c){o=!0,s=c}finally{try{!r&&i.return!=null&&i.return()}finally{if(o)throw s}}return n}}function is(e){if(Array.isArray(e))return e}function rr(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function ge(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?rr(Object(i),!0).forEach(function(n){Dn(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):rr(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function Dn(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Kt(e,t){if(e==null)return{};var i=rs(e,t),n,r;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function rs(e,t){if(e==null)return{};var i={},n=Object.keys(e),r,o;for(o=0;o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}var jn=T.forwardRef(function(e,t){var i=e.children,n=Kt(e,Ya),r=ar(n),o=r.open,a=Kt(r,Ka);return T.useImperativeHandle(t,function(){return{open:o}},[o]),T.createElement(T.Fragment,null,i(ge(ge({},a),{},{open:o})))});jn.displayName="Dropzone";var or={disabled:!1,getFilesFromEvent:ma,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};jn.defaultProps=or,jn.propTypes={children:se.func,accept:se.objectOf(se.arrayOf(se.string)),multiple:se.bool,preventDropOnDocument:se.bool,noClick:se.bool,noKeyboard:se.bool,noDrag:se.bool,noDragEventsBubbling:se.bool,minSize:se.number,maxSize:se.number,maxFiles:se.number,disabled:se.bool,getFilesFromEvent:se.func,onFileDialogCancel:se.func,onFileDialogOpen:se.func,useFsAccessApi:se.bool,autoFocus:se.bool,onDragEnter:se.func,onDragLeave:se.func,onDragOver:se.func,onDrop:se.func,onDropAccepted:se.func,onDropRejected:se.func,onError:se.func,validator:se.func};var Fn={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function ar(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=ge(ge({},or),e),i=t.accept,n=t.disabled,r=t.getFilesFromEvent,o=t.maxSize,a=t.minSize,s=t.multiple,c=t.maxFiles,p=t.onDragEnter,l=t.onDragLeave,u=t.onDragOver,f=t.onDrop,m=t.onDropAccepted,x=t.onDropRejected,g=t.onFileDialogCancel,y=t.onFileDialogOpen,h=t.useFsAccessApi,A=t.autoFocus,C=t.preventDropOnDocument,k=t.noClick,b=t.noKeyboard,D=t.noDrag,L=t.noDragEventsBubbling,B=t.onError,W=t.validator,J=T.useMemo(function(){return Wa(i)},[i]),ae=T.useMemo(function(){return Ua(i)},[i]),fe=T.useMemo(function(){return typeof y=="function"?y:sr},[y]),Z=T.useMemo(function(){return typeof g=="function"?g:sr},[g]),V=T.useRef(null),ce=T.useRef(null),Se=T.useReducer(os,Fn),Re=An(Se,2),be=Re[0],he=Re[1],S=be.isFocused,O=be.isFileDialogActive,z=T.useRef(typeof window<"u"&&window.isSecureContext&&h&&qa()),$=function(){!z.current&&O&&setTimeout(function(){if(ce.current){var F=ce.current.files;F.length||(he({type:"closeDialog"}),Z())}},300)};T.useEffect(function(){return window.addEventListener("focus",$,!1),function(){window.removeEventListener("focus",$,!1)}},[ce,O,Z,z]);var P=T.useRef([]),H=function(F){V.current&&V.current.contains(F.target)||(F.preventDefault(),P.current=[])};T.useEffect(function(){return C&&(document.addEventListener("dragover",er,!1),document.addEventListener("drop",H,!1)),function(){C&&(document.removeEventListener("dragover",er),document.removeEventListener("drop",H))}},[V,C]),T.useEffect(function(){return!n&&A&&V.current&&V.current.focus(),function(){}},[V,A,n]);var I=T.useCallback(function(R){B?B(R):console.error(R)},[B]),N=T.useCallback(function(R){R.preventDefault(),R.persist(),Ce(R),P.current=[].concat(Xa(P.current),[R.target]),Yt(R)&&Promise.resolve(r(R)).then(function(F){if(!(Ht(R)&&!L)){var le=F.length,ue=le>0&&La({files:F,accept:J,minSize:a,maxSize:o,multiple:s,maxFiles:c,validator:W}),ke=le>0&&!ue;he({isDragAccept:ue,isDragReject:ke,isDragActive:!0,type:"setDraggedFiles"}),p&&p(R)}}).catch(function(F){return I(F)})},[r,p,I,L,J,a,o,s,c,W]),Y=T.useCallback(function(R){R.preventDefault(),R.persist(),Ce(R);var F=Yt(R);if(F&&R.dataTransfer)try{R.dataTransfer.dropEffect="copy"}catch{}return F&&u&&u(R),!1},[u,L]),G=T.useCallback(function(R){R.preventDefault(),R.persist(),Ce(R);var F=P.current.filter(function(ue){return V.current&&V.current.contains(ue)}),le=F.indexOf(R.target);le!==-1&&F.splice(le,1),P.current=F,!(F.length>0)&&(he({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Yt(R)&&l&&l(R))},[V,l,L]),M=T.useCallback(function(R,F){var le=[],ue=[];R.forEach(function(ke){var Je=Zi(ke,J),We=An(Je,2),st=We[0],Ft=We[1],Pt=Qi(ke,a,o),gt=An(Pt,2),It=gt[0],Bt=gt[1],zt=W?W(ke):null;if(st&&It&&!zt)le.push(ke);else{var Lt=[Ft,Bt];zt&&(Lt=Lt.concat(zt)),ue.push({file:ke,errors:Lt.filter(function(Mt){return Mt})})}}),(!s&&le.length>1||s&&c>=1&&le.length>c)&&(le.forEach(function(ke){ue.push({file:ke,errors:[za]})}),le.splice(0)),he({acceptedFiles:le,fileRejections:ue,isDragReject:ue.length>0,type:"setFiles"}),f&&f(le,ue,F),ue.length>0&&x&&x(ue,F),le.length>0&&m&&m(le,F)},[he,s,J,a,o,c,f,m,x,W]),xe=T.useCallback(function(R){R.preventDefault(),R.persist(),Ce(R),P.current=[],Yt(R)&&Promise.resolve(r(R)).then(function(F){Ht(R)&&!L||M(F,R)}).catch(function(F){return I(F)}),he({type:"reset"})},[r,M,I,L]),E=T.useCallback(function(){if(z.current){he({type:"openDialog"}),fe();var R={multiple:s,types:ae};window.showOpenFilePicker(R).then(function(F){return r(F)}).then(function(F){M(F,null),he({type:"closeDialog"})}).catch(function(F){Va(F)?(Z(F),he({type:"closeDialog"})):Ha(F)?(z.current=!1,ce.current?(ce.current.value=null,ce.current.click()):I(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):I(F)});return}ce.current&&(he({type:"openDialog"}),fe(),ce.current.value=null,ce.current.click())},[he,fe,Z,h,M,I,ae,s]),K=T.useCallback(function(R){!V.current||!V.current.isEqualNode(R.target)||(R.key===" "||R.key==="Enter"||R.keyCode===32||R.keyCode===13)&&(R.preventDefault(),E())},[V,E]),de=T.useCallback(function(){he({type:"focus"})},[]),te=T.useCallback(function(){he({type:"blur"})},[]),Oe=T.useCallback(function(){k||(Na()?setTimeout(E,0):E())},[k,E]),Ae=function(F){return n?null:F},ve=function(F){return b?null:Ae(F)},me=function(F){return D?null:Ae(F)},Ce=function(F){L&&F.stopPropagation()},xt=T.useMemo(function(){return function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=R.refKey,le=F===void 0?"ref":F,ue=R.role,ke=R.onKeyDown,Je=R.onFocus,We=R.onBlur,st=R.onClick,Ft=R.onDragEnter,Pt=R.onDragOver,gt=R.onDragLeave,It=R.onDrop,Bt=Kt(R,Ja);return ge(ge(Dn({onKeyDown:ve(Me(ke,K)),onFocus:ve(Me(Je,de)),onBlur:ve(Me(We,te)),onClick:Ae(Me(st,Oe)),onDragEnter:me(Me(Ft,N)),onDragOver:me(Me(Pt,Y)),onDragLeave:me(Me(gt,G)),onDrop:me(Me(It,xe)),role:typeof ue=="string"&&ue!==""?ue:"presentation"},le,V),!n&&!b?{tabIndex:0}:{}),Bt)}},[V,K,de,te,Oe,N,Y,G,xe,b,D,n]),Ke=T.useCallback(function(R){R.stopPropagation()},[]),vt=T.useMemo(function(){return function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},F=R.refKey,le=F===void 0?"ref":F,ue=R.onChange,ke=R.onClick,Je=Kt(R,Ga),We=Dn({accept:J,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:Ae(Me(ue,xe)),onClick:Ae(Me(ke,Ke)),tabIndex:-1},le,ce);return ge(ge({},We),Je)}},[ce,i,s,xe,n]);return ge(ge({},be),{},{isFocused:S&&!n,getRootProps:xt,getInputProps:vt,rootRef:V,inputRef:ce,open:Ae(E)})}function os(e,t){switch(t.type){case"focus":return ge(ge({},e),{},{isFocused:!0});case"blur":return ge(ge({},e),{},{isFocused:!1});case"openDialog":return ge(ge({},Fn),{},{isFileDialogActive:!0});case"closeDialog":return ge(ge({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return ge(ge({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return ge(ge({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return ge({},Fn);default:return e}}function sr(){}const as={WAV_MIME_TYPES:["audio/wav","audio/x-wav","audio/wave","audio/x-pn-wav"],MP3_MIME_TYPES:["audio/mpeg","audio/mp3","audio/x-mpeg","audio/x-mp3","audio/x-mpeg-3"],FLAC_MIME_TYPES:["audio/flac"]},ss=10*1e3,cr="[Audio.getDurationSeconds]",cs=async(e,{throwError:t}={})=>new Promise((i,n)=>{if(typeof window>"u")return n(new Error("getDurationSeconds is only usable in the browser"));const r=URL.createObjectURL(e),o=new Audio,a=()=>{o.src="",URL.revokeObjectURL(r)},s=setTimeout(()=>{a(),console.error(cr,"Timeout",e.name,e.size,e.type),i(0)},ss);o.addEventListener("loadedmetadata",()=>{const c=o.duration;clearTimeout(s),a(),i(c)},{once:!0}),o.addEventListener("error",c=>{clearTimeout(s),a(),t?(console.error(cr,"Error",e.name,e.size,e.type,c),n(e)):i(0)},{once:!0}),o.src=r}),ls=e=>{const t=new Map;return e.forEach(i=>{t.set(`${i.name}-${i.size}`,i)}),Array.from(t.values())},ps=e=>new Promise(t=>{const i=new FileReader;i.onloadend=n=>{var a;const r=new Uint8Array((a=n.target)==null?void 0:a.result),o=na.filetypemime(r);t(o)},i.readAsArrayBuffer(e)}),ds=async e=>{try{const t=await cs(e),i=e;return i.duration=t,i}catch{throw new Error(`Failed to get audio duration for ${e.name}`)}},us=e=>{for(const[t,i]of Object.entries(as)){const n=t.toLowerCase().split("_")[0];if(i.includes(e))return n}},fs=async e=>{var s;const t=await ps(e),i=((s=e==null?void 0:e.name)==null?void 0:s.split(".").pop())||"",n=t[0]||e.type,r=us(n);if(r===i||!n||!r)return e;const o=`${e.name.split(".").slice(0,-1).join(".")}.${r}`;return new File([e],o,{type:n})};class ms extends Error{constructor(){super("Max file size exceeded")}}class xs extends Error{constructor(){super("Min file size exceeded")}}class vs extends Error{constructor(){super("File duration too long")}}class gs extends Error{constructor(){super("Invalid file type")}}const hs=e=>({handleDurationError:t=>{var i;console.log("handleDurationError",t),(i=e.onError)==null||i.call(e,new vs)},handleMaxSizeError:t=>{var i;console.log("handleMaxSizeError",t),(i=e.onError)==null||i.call(e,new ms)},handleMinSizeError:t=>{var i;console.log("handleMinSizeError",t),(i=e.onError)==null||i.call(e,new xs)},handleUnknownError:t=>{var i;console.log("handleUnknownError",t),(i=e.onError)==null||i.call(e,new Error("Unknown error"))},handleInvalidTypeError:t=>{var i;console.log("handleInvalidTypeError",t),(i=e.onError)==null||i.call(e,new gs)}}),bs=e=>{const{handleDurationError:t,handleMaxSizeError:i,handleMinSizeError:n,handleUnknownError:r,handleInvalidTypeError:o}=hs(e);return{dropzone:ar({accept:{"audio/wav":[".wav"],"audio/mp3":[".mp3"],"audio/flac":[".flac"]},noClick:!0,minSize:e.minSizeBytes,maxSize:e.maxSizeBytes,onDropAccepted:async s=>{const c=await Promise.all(s.map(p=>fs(p)));try{const l=(await Promise.all(c.map(ds))).filter(x=>x.duration<=(e.maxDurationS??1/0)?!0:(t(x),!1)),u=e.files??[],f=ls([...u,...l]),m=f.slice(0,e.maxFileCount??f.length);e.onFileAccepted(m)}catch(p){r(p)}},onDropRejected:s=>{s.forEach(c=>{for(const p of c.errors)p.code==="file-too-large"&&i(c.file),p.code==="file-too-small"&&n(c.file),p.code==="file-invalid-type"&&o(c.file)})}}),...e}},lr=T.createContext({}),ys=()=>T.useContext(lr),Es=Qe(dt,{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",gap:"8px",height:"100%"}),pr=({children:e,...t})=>{const i=bs(t),{files:n,onFileAccepted:r,onDelete:o,maxFileCount:a,maxSizeBytes:s,minSizeBytes:c,maxDurationS:p,onError:l,...u}=t;return Fe.jsx(lr.Provider,{value:i,children:Fe.jsxs(Es,{...u,...i.dropzone.getRootProps(),children:[Fe.jsx("input",{...i.dropzone.getInputProps()}),e]})})},ws=Qe(dt,{width:"100%",height:"100%",display:"flex",overflow:"hidden",borderRadius:"16px",background:"#ffffff10",flexDirection:"column",alignItems:"stretch",justifyContent:"center"}),Ss=Qe(dt,{paddingTop:"32px",display:"flex",justifyContent:"center",fontFamily:"inherit",lineHeight:"1.4",fontSize:"22px",fontWeight:600,color:"#ffffff"}),Rs=Qe(dt,{flex:1,display:"flex",alignItems:"center",justifyContent:"center",padding:"32px"}),Ts=Qe(dt,{borderTop:"1px solid #ffffff10",display:"flex",alignItems:"stretch",height:"60px"}),Pn=Qe(dt,{height:"252px",width:"222px",borderRadius:"8px",border:"1px solid #ffffff10",background:"#ffffff10",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}),ks=()=>Fe.jsxs(ws,{children:[Fe.jsx(Ss,{children:Fe.jsx("span",{children:"Select a voice"})}),Fe.jsxs(Rs,{children:[Fe.jsx(Pn,{}),Fe.jsx(Pn,{}),Fe.jsx(Pn,{})]}),Fe.jsx(Ts,{children:Fe.jsx("span",{children:"Footer"})})]});function dr(e,t){return function(){return e.apply(t,arguments)}}const{toString:Os}=Object.prototype,{getPrototypeOf:In}=Object,Jt=(e=>t=>{const i=Os.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Le=e=>(e=e.toLowerCase(),t=>Jt(t)===e),Gt=e=>t=>typeof t===e,{isArray:ft}=Array,kt=Gt("undefined");function _s(e){return e!==null&&!kt(e)&&e.constructor!==null&&!kt(e.constructor)&&Be(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ur=Le("ArrayBuffer");function As(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ur(e.buffer),t}const Cs=Gt("string"),Be=Gt("function"),fr=Gt("number"),Xt=e=>e!==null&&typeof e=="object",Ds=e=>e===!0||e===!1,Zt=e=>{if(Jt(e)!=="object")return!1;const t=In(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},js=Le("Date"),Fs=Le("File"),Ps=Le("Blob"),Is=Le("FileList"),Bs=e=>Xt(e)&&Be(e.pipe),zs=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Be(e.append)&&((t=Jt(e))==="formdata"||t==="object"&&Be(e.toString)&&e.toString()==="[object FormData]"))},Ls=Le("URLSearchParams"),[Ms,$s,Ns,qs]=["ReadableStream","Request","Response","Headers"].map(Le),Us=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ot(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),ft(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const o=i?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let s;for(n=0;n<a;n++)s=o[n],t.call(null,e[s],s,e)}}function mr(e,t){t=t.toLowerCase();const i=Object.keys(e);let n=i.length,r;for(;n-- >0;)if(r=i[n],t===r.toLowerCase())return r;return null}const it=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,xr=e=>!kt(e)&&e!==it;function Bn(){const{caseless:e}=xr(this)&&this||{},t={},i=(n,r)=>{const o=e&&mr(t,r)||r;Zt(t[o])&&Zt(n)?t[o]=Bn(t[o],n):Zt(n)?t[o]=Bn({},n):ft(n)?t[o]=n.slice():t[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&Ot(arguments[n],i);return t}const Ws=(e,t,i,{allOwnKeys:n}={})=>(Ot(t,(r,o)=>{i&&Be(r)?e[o]=dr(r,i):e[o]=r},{allOwnKeys:n}),e),Vs=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Hs=(e,t,i,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},Ys=(e,t,i,n)=>{let r,o,a;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],(!n||n(a,e,t))&&!s[a]&&(t[a]=e[a],s[a]=!0);e=i!==!1&&In(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},Ks=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const n=e.indexOf(t,i);return n!==-1&&n===i},Js=e=>{if(!e)return null;if(ft(e))return e;let t=e.length;if(!fr(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Gs=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&In(Uint8Array)),Xs=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const o=r.value;t.call(e,o[0],o[1])}},Zs=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},Qs=Le("HTMLFormElement"),ec=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,r){return n.toUpperCase()+r}),vr=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),tc=Le("RegExp"),gr=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};Ot(i,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(n[o]=a||r)}),Object.defineProperties(e,n)},nc=e=>{gr(e,(t,i)=>{if(Be(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=e[i];if(Be(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},ic=(e,t)=>{const i={},n=r=>{r.forEach(o=>{i[o]=!0})};return ft(e)?n(e):n(String(e).split(t)),i},rc=()=>{},oc=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,zn="abcdefghijklmnopqrstuvwxyz",hr="0123456789",br={DIGIT:hr,ALPHA:zn,ALPHA_DIGIT:zn+zn.toUpperCase()+hr},ac=(e=16,t=br.ALPHA_DIGIT)=>{let i="";const{length:n}=t;for(;e--;)i+=t[Math.random()*n|0];return i};function sc(e){return!!(e&&Be(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const cc=e=>{const t=new Array(10),i=(n,r)=>{if(Xt(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;const o=ft(n)?[]:{};return Ot(n,(a,s)=>{const c=i(a,r+1);!kt(c)&&(o[s]=c)}),t[r]=void 0,o}}return n};return i(e,0)},lc=Le("AsyncFunction"),pc=e=>e&&(Xt(e)||Be(e))&&Be(e.then)&&Be(e.catch),yr=((e,t)=>e?setImmediate:t?((i,n)=>(it.addEventListener("message",({source:r,data:o})=>{r===it&&o===i&&n.length&&n.shift()()},!1),r=>{n.push(r),it.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Be(it.postMessage)),dc=typeof queueMicrotask<"u"?queueMicrotask.bind(it):typeof process<"u"&&process.nextTick||yr,v={isArray:ft,isArrayBuffer:ur,isBuffer:_s,isFormData:zs,isArrayBufferView:As,isString:Cs,isNumber:fr,isBoolean:Ds,isObject:Xt,isPlainObject:Zt,isReadableStream:Ms,isRequest:$s,isResponse:Ns,isHeaders:qs,isUndefined:kt,isDate:js,isFile:Fs,isBlob:Ps,isRegExp:tc,isFunction:Be,isStream:Bs,isURLSearchParams:Ls,isTypedArray:Gs,isFileList:Is,forEach:Ot,merge:Bn,extend:Ws,trim:Us,stripBOM:Vs,inherits:Hs,toFlatObject:Ys,kindOf:Jt,kindOfTest:Le,endsWith:Ks,toArray:Js,forEachEntry:Xs,matchAll:Zs,isHTMLForm:Qs,hasOwnProperty:vr,hasOwnProp:vr,reduceDescriptors:gr,freezeMethods:nc,toObjectSet:ic,toCamelCase:ec,noop:rc,toFiniteNumber:oc,findKey:mr,global:it,isContextDefined:xr,ALPHABET:br,generateString:ac,isSpecCompliantForm:sc,toJSONObject:cc,isAsyncFn:lc,isThenable:pc,setImmediate:yr,asap:dc};function U(e,t,i,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}v.inherits(U,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:v.toJSONObject(this.config),code:this.code,status:this.status}}});const Er=U.prototype,wr={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{wr[e]={value:e}}),Object.defineProperties(U,wr),Object.defineProperty(Er,"isAxiosError",{value:!0}),U.from=(e,t,i,n,r,o)=>{const a=Object.create(Er);return v.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),U.call(a,e.message,t,i,n,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const uc=null;function Ln(e){return v.isPlainObject(e)||v.isArray(e)}function Sr(e){return v.endsWith(e,"[]")?e.slice(0,-2):e}function Rr(e,t,i){return e?e.concat(t).map(function(r,o){return r=Sr(r),!i&&o?"["+r+"]":r}).join(i?".":""):t}function fc(e){return v.isArray(e)&&!e.some(Ln)}const mc=v.toFlatObject(v,{},null,function(t){return/^is[A-Z]/.test(t)});function Qt(e,t,i){if(!v.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=v.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,y){return!v.isUndefined(y[g])});const n=i.metaTokens,r=i.visitor||l,o=i.dots,a=i.indexes,c=(i.Blob||typeof Blob<"u"&&Blob)&&v.isSpecCompliantForm(t);if(!v.isFunction(r))throw new TypeError("visitor must be a function");function p(x){if(x===null)return"";if(v.isDate(x))return x.toISOString();if(!c&&v.isBlob(x))throw new U("Blob is not supported. Use a Buffer instead.");return v.isArrayBuffer(x)||v.isTypedArray(x)?c&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function l(x,g,y){let h=x;if(x&&!y&&typeof x=="object"){if(v.endsWith(g,"{}"))g=n?g:g.slice(0,-2),x=JSON.stringify(x);else if(v.isArray(x)&&fc(x)||(v.isFileList(x)||v.endsWith(g,"[]"))&&(h=v.toArray(x)))return g=Sr(g),h.forEach(function(C,k){!(v.isUndefined(C)||C===null)&&t.append(a===!0?Rr([g],k,o):a===null?g:g+"[]",p(C))}),!1}return Ln(x)?!0:(t.append(Rr(y,g,o),p(x)),!1)}const u=[],f=Object.assign(mc,{defaultVisitor:l,convertValue:p,isVisitable:Ln});function m(x,g){if(!v.isUndefined(x)){if(u.indexOf(x)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(x),v.forEach(x,function(h,A){(!(v.isUndefined(h)||h===null)&&r.call(t,h,v.isString(A)?A.trim():A,g,f))===!0&&m(h,g?g.concat(A):[A])}),u.pop()}}if(!v.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Tr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Mn(e,t){this._pairs=[],e&&Qt(e,this,t)}const kr=Mn.prototype;kr.append=function(t,i){this._pairs.push([t,i])},kr.toString=function(t){const i=t?function(n){return t.call(this,n,Tr)}:Tr;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};function xc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Or(e,t,i){if(!t)return e;const n=i&&i.encode||xc;v.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let o;if(r?o=r(t,i):o=v.isURLSearchParams(t)?t.toString():new Mn(t,i).toString(n),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class _r{constructor(){this.handlers=[]}use(t,i,n){return this.handlers.push({fulfilled:t,rejected:i,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){v.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Ar={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vc={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Mn,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},$n=typeof window<"u"&&typeof document<"u",Nn=typeof navigator=="object"&&navigator||void 0,gc=$n&&(!Nn||["ReactNative","NativeScript","NS"].indexOf(Nn.product)<0),hc=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",bc=$n&&window.location.href||"http://localhost",_e={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:$n,hasStandardBrowserEnv:gc,hasStandardBrowserWebWorkerEnv:hc,navigator:Nn,origin:bc},Symbol.toStringTag,{value:"Module"})),...vc};function yc(e,t){return Qt(e,new _e.classes.URLSearchParams,Object.assign({visitor:function(i,n,r,o){return _e.isNode&&v.isBuffer(i)?(this.append(n,i.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Ec(e){return v.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function wc(e){const t={},i=Object.keys(e);let n;const r=i.length;let o;for(n=0;n<r;n++)o=i[n],t[o]=e[o];return t}function Cr(e){function t(i,n,r,o){let a=i[o++];if(a==="__proto__")return!0;const s=Number.isFinite(+a),c=o>=i.length;return a=!a&&v.isArray(r)?r.length:a,c?(v.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!s):((!r[a]||!v.isObject(r[a]))&&(r[a]=[]),t(i,n,r[a],o)&&v.isArray(r[a])&&(r[a]=wc(r[a])),!s)}if(v.isFormData(e)&&v.isFunction(e.entries)){const i={};return v.forEachEntry(e,(n,r)=>{t(Ec(n),r,i,0)}),i}return null}function Sc(e,t,i){if(v.isString(e))try{return(t||JSON.parse)(e),v.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const _t={transitional:Ar,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,o=v.isObject(t);if(o&&v.isHTMLForm(t)&&(t=new FormData(t)),v.isFormData(t))return r?JSON.stringify(Cr(t)):t;if(v.isArrayBuffer(t)||v.isBuffer(t)||v.isStream(t)||v.isFile(t)||v.isBlob(t)||v.isReadableStream(t))return t;if(v.isArrayBufferView(t))return t.buffer;if(v.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return yc(t,this.formSerializer).toString();if((s=v.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Qt(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(i.setContentType("application/json",!1),Sc(t)):t}],transformResponse:[function(t){const i=this.transitional||_t.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(v.isResponse(t)||v.isReadableStream(t))return t;if(t&&v.isString(t)&&(n&&!this.responseType||r)){const a=!(i&&i.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(a)throw s.name==="SyntaxError"?U.from(s,U.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:_e.classes.FormData,Blob:_e.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};v.forEach(["delete","get","head","post","put","patch"],e=>{_t.headers[e]={}});const Rc=v.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"]),Tc=e=>{const t={};let i,n,r;return e&&e.split(`
49
- `).forEach(function(a){r=a.indexOf(":"),i=a.substring(0,r).trim().toLowerCase(),n=a.substring(r+1).trim(),!(!i||t[i]&&Rc[i])&&(i==="set-cookie"?t[i]?t[i].push(n):t[i]=[n]:t[i]=t[i]?t[i]+", "+n:n)}),t},Dr=Symbol("internals");function At(e){return e&&String(e).trim().toLowerCase()}function en(e){return e===!1||e==null?e:v.isArray(e)?e.map(en):String(e)}function kc(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(e);)t[n[1]]=n[2];return t}const Oc=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function qn(e,t,i,n,r){if(v.isFunction(n))return n.call(this,t,i);if(r&&(t=i),!!v.isString(t)){if(v.isString(n))return t.indexOf(n)!==-1;if(v.isRegExp(n))return n.test(t)}}function _c(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,n)=>i.toUpperCase()+n)}function Ac(e,t){const i=v.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+i,{value:function(r,o,a){return this[n].call(this,t,r,o,a)},configurable:!0})})}class Pe{constructor(t){t&&this.set(t)}set(t,i,n){const r=this;function o(s,c,p){const l=At(c);if(!l)throw new Error("header name must be a non-empty string");const u=v.findKey(r,l);(!u||r[u]===void 0||p===!0||p===void 0&&r[u]!==!1)&&(r[u||c]=en(s))}const a=(s,c)=>v.forEach(s,(p,l)=>o(p,l,c));if(v.isPlainObject(t)||t instanceof this.constructor)a(t,i);else if(v.isString(t)&&(t=t.trim())&&!Oc(t))a(Tc(t),i);else if(v.isHeaders(t))for(const[s,c]of t.entries())o(c,s,n);else t!=null&&o(i,t,n);return this}get(t,i){if(t=At(t),t){const n=v.findKey(this,t);if(n){const r=this[n];if(!i)return r;if(i===!0)return kc(r);if(v.isFunction(i))return i.call(this,r,n);if(v.isRegExp(i))return i.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=At(t),t){const n=v.findKey(this,t);return!!(n&&this[n]!==void 0&&(!i||qn(this,this[n],n,i)))}return!1}delete(t,i){const n=this;let r=!1;function o(a){if(a=At(a),a){const s=v.findKey(n,a);s&&(!i||qn(n,n[s],s,i))&&(delete n[s],r=!0)}}return v.isArray(t)?t.forEach(o):o(t),r}clear(t){const i=Object.keys(this);let n=i.length,r=!1;for(;n--;){const o=i[n];(!t||qn(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const i=this,n={};return v.forEach(this,(r,o)=>{const a=v.findKey(n,o);if(a){i[a]=en(r),delete i[o];return}const s=t?_c(o):String(o).trim();s!==o&&delete i[o],i[s]=en(r),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return v.forEach(this,(n,r)=>{n!=null&&n!==!1&&(i[r]=t&&v.isArray(n)?n.join(", "):n)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(`
50
- `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const n=new this(t);return i.forEach(r=>n.set(r)),n}static accessor(t){const n=(this[Dr]=this[Dr]={accessors:{}}).accessors,r=this.prototype;function o(a){const s=At(a);n[s]||(Ac(r,a),n[s]=!0)}return v.isArray(t)?t.forEach(o):o(t),this}}Pe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),v.reduceDescriptors(Pe.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}}),v.freezeMethods(Pe);function Un(e,t){const i=this||_t,n=t||i,r=Pe.from(n.headers);let o=n.data;return v.forEach(e,function(s){o=s.call(i,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function jr(e){return!!(e&&e.__CANCEL__)}function mt(e,t,i){U.call(this,e??"canceled",U.ERR_CANCELED,t,i),this.name="CanceledError"}v.inherits(mt,U,{__CANCEL__:!0});function Fr(e,t,i){const n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):t(new U("Request failed with status code "+i.status,[U.ERR_BAD_REQUEST,U.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function Cc(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Dc(e,t){e=e||10;const i=new Array(e),n=new Array(e);let r=0,o=0,a;return t=t!==void 0?t:1e3,function(c){const p=Date.now(),l=n[o];a||(a=p),i[r]=c,n[r]=p;let u=o,f=0;for(;u!==r;)f+=i[u++],u=u%e;if(r=(r+1)%e,r===o&&(o=(o+1)%e),p-a<t)return;const m=l&&p-l;return m?Math.round(f*1e3/m):void 0}}function jc(e,t){let i=0,n=1e3/t,r,o;const a=(p,l=Date.now())=>{i=l,r=null,o&&(clearTimeout(o),o=null),e.apply(null,p)};return[(...p)=>{const l=Date.now(),u=l-i;u>=n?a(p,l):(r=p,o||(o=setTimeout(()=>{o=null,a(r)},n-u)))},()=>r&&a(r)]}const tn=(e,t,i=3)=>{let n=0;const r=Dc(50,250);return jc(o=>{const a=o.loaded,s=o.lengthComputable?o.total:void 0,c=a-n,p=r(c),l=a<=s;n=a;const u={loaded:a,total:s,progress:s?a/s:void 0,bytes:c,rate:p||void 0,estimated:p&&s&&l?(s-a)/p:void 0,event:o,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(u)},i)},Pr=(e,t)=>{const i=e!=null;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},Ir=e=>(...t)=>v.asap(()=>e(...t)),Fc=_e.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,_e.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(_e.origin),_e.navigator&&/(msie|trident)/i.test(_e.navigator.userAgent)):()=>!0,Pc=_e.hasStandardBrowserEnv?{write(e,t,i,n,r,o){const a=[e+"="+encodeURIComponent(t)];v.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),v.isString(n)&&a.push("path="+n),v.isString(r)&&a.push("domain="+r),o===!0&&a.push("secure"),document.cookie=a.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 Ic(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Bc(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Br(e,t){return e&&!Ic(t)?Bc(e,t):t}const zr=e=>e instanceof Pe?{...e}:e;function rt(e,t){t=t||{};const i={};function n(p,l,u,f){return v.isPlainObject(p)&&v.isPlainObject(l)?v.merge.call({caseless:f},p,l):v.isPlainObject(l)?v.merge({},l):v.isArray(l)?l.slice():l}function r(p,l,u,f){if(v.isUndefined(l)){if(!v.isUndefined(p))return n(void 0,p,u,f)}else return n(p,l,u,f)}function o(p,l){if(!v.isUndefined(l))return n(void 0,l)}function a(p,l){if(v.isUndefined(l)){if(!v.isUndefined(p))return n(void 0,p)}else return n(void 0,l)}function s(p,l,u){if(u in t)return n(p,l);if(u in e)return n(void 0,p)}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(p,l,u)=>r(zr(p),zr(l),u,!0)};return v.forEach(Object.keys(Object.assign({},e,t)),function(l){const u=c[l]||r,f=u(e[l],t[l],l);v.isUndefined(f)&&u!==s||(i[l]=f)}),i}const Lr=e=>{const t=rt({},e);let{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=Pe.from(a),t.url=Or(Br(t.baseURL,t.url),e.params,e.paramsSerializer),s&&a.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(v.isFormData(i)){if(_e.hasStandardBrowserEnv||_e.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if((c=a.getContentType())!==!1){const[p,...l]=c?c.split(";").map(u=>u.trim()).filter(Boolean):[];a.setContentType([p||"multipart/form-data",...l].join("; "))}}if(_e.hasStandardBrowserEnv&&(n&&v.isFunction(n)&&(n=n(t)),n||n!==!1&&Fc(t.url))){const p=r&&o&&Pc.read(o);p&&a.set(r,p)}return t},zc=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(i,n){const r=Lr(e);let o=r.data;const a=Pe.from(r.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:p}=r,l,u,f,m,x;function g(){m&&m(),x&&x(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let y=new XMLHttpRequest;y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout;function h(){if(!y)return;const C=Pe.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),b={data:!s||s==="text"||s==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:C,config:e,request:y};Fr(function(L){i(L),g()},function(L){n(L),g()},b),y=null}"onloadend"in y?y.onloadend=h:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(h)},y.onabort=function(){y&&(n(new U("Request aborted",U.ECONNABORTED,e,y)),y=null)},y.onerror=function(){n(new U("Network Error",U.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let k=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const b=r.transitional||Ar;r.timeoutErrorMessage&&(k=r.timeoutErrorMessage),n(new U(k,b.clarifyTimeoutError?U.ETIMEDOUT:U.ECONNABORTED,e,y)),y=null},o===void 0&&a.setContentType(null),"setRequestHeader"in y&&v.forEach(a.toJSON(),function(k,b){y.setRequestHeader(b,k)}),v.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),s&&s!=="json"&&(y.responseType=r.responseType),p&&([f,x]=tn(p,!0),y.addEventListener("progress",f)),c&&y.upload&&([u,m]=tn(c),y.upload.addEventListener("progress",u),y.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(l=C=>{y&&(n(!C||C.type?new mt(null,e,y):C),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const A=Cc(r.url);if(A&&_e.protocols.indexOf(A)===-1){n(new U("Unsupported protocol "+A+":",U.ERR_BAD_REQUEST,e));return}y.send(o||null)})},Lc=(e,t)=>{const{length:i}=e=e?e.filter(Boolean):[];if(t||i){let n=new AbortController,r;const o=function(p){if(!r){r=!0,s();const l=p instanceof Error?p:this.reason;n.abort(l instanceof U?l:new mt(l instanceof Error?l.message:l))}};let a=t&&setTimeout(()=>{a=null,o(new U(`timeout ${t} of ms exceeded`,U.ETIMEDOUT))},t);const s=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(o):p.removeEventListener("abort",o)}),e=null)};e.forEach(p=>p.addEventListener("abort",o));const{signal:c}=n;return c.unsubscribe=()=>v.asap(s),c}},Mc=function*(e,t){let i=e.byteLength;if(i<t){yield e;return}let n=0,r;for(;n<i;)r=n+t,yield e.slice(n,r),n=r},$c=async function*(e,t){for await(const i of Nc(e))yield*Mc(i,t)},Nc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:i,value:n}=await t.read();if(i)break;yield n}}finally{await t.cancel()}},Mr=(e,t,i,n)=>{const r=$c(e,t);let o=0,a,s=c=>{a||(a=!0,n&&n(c))};return new ReadableStream({async pull(c){try{const{done:p,value:l}=await r.next();if(p){s(),c.close();return}let u=l.byteLength;if(i){let f=o+=u;i(f)}c.enqueue(new Uint8Array(l))}catch(p){throw s(p),p}},cancel(c){return s(c),r.return()}},{highWaterMark:2})},nn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",$r=nn&&typeof ReadableStream=="function",qc=nn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Nr=(e,...t)=>{try{return!!e(...t)}catch{return!1}},Uc=$r&&Nr(()=>{let e=!1;const t=new Request(_e.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),qr=64*1024,Wn=$r&&Nr(()=>v.isReadableStream(new Response("").body)),rn={stream:Wn&&(e=>e.body)};nn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!rn[t]&&(rn[t]=v.isFunction(e[t])?i=>i[t]():(i,n)=>{throw new U(`Response type '${t}' is not supported`,U.ERR_NOT_SUPPORT,n)})})})(new Response);const Wc=async e=>{if(e==null)return 0;if(v.isBlob(e))return e.size;if(v.isSpecCompliantForm(e))return(await new Request(_e.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(v.isArrayBufferView(e)||v.isArrayBuffer(e))return e.byteLength;if(v.isURLSearchParams(e)&&(e=e+""),v.isString(e))return(await qc(e)).byteLength},Vc=async(e,t)=>{const i=v.toFiniteNumber(e.getContentLength());return i??Wc(t)},Vn={http:uc,xhr:zc,fetch:nn&&(async e=>{let{url:t,method:i,data:n,signal:r,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:f}=Lr(e);p=p?(p+"").toLowerCase():"text";let m=Lc([r,o&&o.toAbortSignal()],a),x;const g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let y;try{if(c&&Uc&&i!=="get"&&i!=="head"&&(y=await Vc(l,n))!==0){let b=new Request(t,{method:"POST",body:n,duplex:"half"}),D;if(v.isFormData(n)&&(D=b.headers.get("content-type"))&&l.setContentType(D),b.body){const[L,B]=Pr(y,tn(Ir(c)));n=Mr(b.body,qr,L,B)}}v.isString(u)||(u=u?"include":"omit");const h="credentials"in Request.prototype;x=new Request(t,{...f,signal:m,method:i.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:h?u:void 0});let A=await fetch(x);const C=Wn&&(p==="stream"||p==="response");if(Wn&&(s||C&&g)){const b={};["status","statusText","headers"].forEach(W=>{b[W]=A[W]});const D=v.toFiniteNumber(A.headers.get("content-length")),[L,B]=s&&Pr(D,tn(Ir(s),!0))||[];A=new Response(Mr(A.body,qr,L,()=>{B&&B(),g&&g()}),b)}p=p||"text";let k=await rn[v.findKey(rn,p)||"text"](A,e);return!C&&g&&g(),await new Promise((b,D)=>{Fr(b,D,{data:k,headers:Pe.from(A.headers),status:A.status,statusText:A.statusText,config:e,request:x})})}catch(h){throw g&&g(),h&&h.name==="TypeError"&&/fetch/i.test(h.message)?Object.assign(new U("Network Error",U.ERR_NETWORK,e,x),{cause:h.cause||h}):U.from(h,h&&h.code,e,x)}})};v.forEach(Vn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ur=e=>`- ${e}`,Hc=e=>v.isFunction(e)||e===null||e===!1,Wr={getAdapter:e=>{e=v.isArray(e)?e:[e];const{length:t}=e;let i,n;const r={};for(let o=0;o<t;o++){i=e[o];let a;if(n=i,!Hc(i)&&(n=Vn[(a=String(i)).toLowerCase()],n===void 0))throw new U(`Unknown adapter '${a}'`);if(n)break;r[a||"#"+o]=n}if(!n){const o=Object.entries(r).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
51
- `+o.map(Ur).join(`
52
- `):" "+Ur(o[0]):"as no adapter specified";throw new U("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:Vn};function Hn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new mt(null,e)}function Vr(e){return Hn(e),e.headers=Pe.from(e.headers),e.data=Un.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Wr.getAdapter(e.adapter||_t.adapter)(e).then(function(n){return Hn(e),n.data=Un.call(e,e.transformResponse,n),n.headers=Pe.from(n.headers),n},function(n){return jr(n)||(Hn(e),n&&n.response&&(n.response.data=Un.call(e,e.transformResponse,n.response),n.response.headers=Pe.from(n.response.headers))),Promise.reject(n)})}const Hr="1.7.9",on={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{on[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Yr={};on.transitional=function(t,i,n){function r(o,a){return"[Axios v"+Hr+"] Transitional option '"+o+"'"+a+(n?". "+n:"")}return(o,a,s)=>{if(t===!1)throw new U(r(a," has been removed"+(i?" in "+i:"")),U.ERR_DEPRECATED);return i&&!Yr[a]&&(Yr[a]=!0,console.warn(r(a," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(o,a,s):!0}},on.spelling=function(t){return(i,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function Yc(e,t,i){if(typeof e!="object")throw new U("options must be an object",U.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let r=n.length;for(;r-- >0;){const o=n[r],a=t[o];if(a){const s=e[o],c=s===void 0||a(s,o,e);if(c!==!0)throw new U("option "+o+" must be "+c,U.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new U("Unknown option "+o,U.ERR_BAD_OPTION)}}const an={assertOptions:Yc,validators:on},$e=an.validators;class ot{constructor(t){this.defaults=t,this.interceptors={request:new _r,response:new _r}}async request(t,i){try{return await this._request(t,i)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const o=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?o&&!String(n.stack).endsWith(o.replace(/^.+\n.+\n/,""))&&(n.stack+=`
53
- `+o):n.stack=o}catch{}}throw n}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=rt(this.defaults,i);const{transitional:n,paramsSerializer:r,headers:o}=i;n!==void 0&&an.assertOptions(n,{silentJSONParsing:$e.transitional($e.boolean),forcedJSONParsing:$e.transitional($e.boolean),clarifyTimeoutError:$e.transitional($e.boolean)},!1),r!=null&&(v.isFunction(r)?i.paramsSerializer={serialize:r}:an.assertOptions(r,{encode:$e.function,serialize:$e.function},!0)),an.assertOptions(i,{baseUrl:$e.spelling("baseURL"),withXsrfToken:$e.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let a=o&&v.merge(o.common,o[i.method]);o&&v.forEach(["delete","get","head","post","put","patch","common"],x=>{delete o[x]}),i.headers=Pe.concat(a,o);const s=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(i)===!1||(c=c&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const p=[];this.interceptors.response.forEach(function(g){p.push(g.fulfilled,g.rejected)});let l,u=0,f;if(!c){const x=[Vr.bind(this),void 0];for(x.unshift.apply(x,s),x.push.apply(x,p),f=x.length,l=Promise.resolve(i);u<f;)l=l.then(x[u++],x[u++]);return l}f=s.length;let m=i;for(u=0;u<f;){const x=s[u++],g=s[u++];try{m=x(m)}catch(y){g.call(this,y);break}}try{l=Vr.call(this,m)}catch(x){return Promise.reject(x)}for(u=0,f=p.length;u<f;)l=l.then(p[u++],p[u++]);return l}getUri(t){t=rt(this.defaults,t);const i=Br(t.baseURL,t.url);return Or(i,t.params,t.paramsSerializer)}}v.forEach(["delete","get","head","options"],function(t){ot.prototype[t]=function(i,n){return this.request(rt(n||{},{method:t,url:i,data:(n||{}).data}))}}),v.forEach(["post","put","patch"],function(t){function i(n){return function(o,a,s){return this.request(rt(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}ot.prototype[t]=i(),ot.prototype[t+"Form"]=i(!0)});class Yn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(o){i=o});const n=this;this.promise.then(r=>{if(!n._listeners)return;let o=n._listeners.length;for(;o-- >0;)n._listeners[o](r);n._listeners=null}),this.promise.then=r=>{let o;const a=new Promise(s=>{n.subscribe(s),o=s}).then(r);return a.cancel=function(){n.unsubscribe(o)},a},t(function(o,a,s){n.reason||(n.reason=new mt(o,a,s),i(n.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 i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const t=new AbortController,i=n=>{t.abort(n)};return this.subscribe(i),t.signal.unsubscribe=()=>this.unsubscribe(i),t.signal}static source(){let t;return{token:new Yn(function(r){t=r}),cancel:t}}}function Kc(e){return function(i){return e.apply(null,i)}}function Jc(e){return v.isObject(e)&&e.isAxiosError===!0}const Kn={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(Kn).forEach(([e,t])=>{Kn[t]=e});function Kr(e){const t=new ot(e),i=dr(ot.prototype.request,t);return v.extend(i,ot.prototype,t,{allOwnKeys:!0}),v.extend(i,t,null,{allOwnKeys:!0}),i.create=function(r){return Kr(rt(e,r))},i}const we=Kr(_t);we.Axios=ot,we.CanceledError=mt,we.CancelToken=Yn,we.isCancel=jr,we.VERSION=Hr,we.toFormData=Qt,we.AxiosError=U,we.Cancel=we.CanceledError,we.all=function(t){return Promise.all(t)},we.spread=Kc,we.isAxiosError=Jc,we.mergeConfig=rt,we.AxiosHeaders=Pe,we.formToJSON=e=>Cr(v.isHTMLForm(e)?new FormData(e):e),we.getAdapter=Wr.getAdapter,we.HttpStatusCode=Kn,we.default=we;var sn={exports:{}},Jn={};/**
43
+ */var Sn,Bi;function xo(){if(Bi)return Sn;Bi=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function r(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var o={},s=0;s<10;s++)o["_"+String.fromCharCode(s)]=s;var c=Object.getOwnPropertyNames(o).map(function(l){return o[l]});if(c.join("")!=="0123456789")return!1;var p={};return"abcdefghijklmnopqrst".split("").forEach(function(l){p[l]=l}),Object.keys(Object.assign({},p)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return Sn=r()?Object.assign:function(a,o){for(var s,c=n(a),p,l=1;l<arguments.length;l++){s=Object(arguments[l]);for(var u in s)t.call(s,u)&&(c[u]=s[u]);if(e){p=e(s);for(var f=0;f<p.length;f++)i.call(s,p[f])&&(c[p[f]]=s[p[f]])}}return c},Sn}var Rn,zi;function Tn(){if(zi)return Rn;zi=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Rn=e,Rn}var kn,Li;function Mi(){return Li||(Li=1,kn=Function.call.bind(Object.prototype.hasOwnProperty)),kn}var On,$i;function vo(){if($i)return On;$i=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=Tn(),i={},n=Mi();e=function(a){var o="Warning: "+a;typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}}function r(a,o,s,c,p){if(process.env.NODE_ENV!=="production"){for(var l in a)if(n(a,l)){var u;try{if(typeof a[l]!="function"){var f=Error((c||"React class")+": "+s+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw f.name="Invariant Violation",f}u=a[l](o,l,c,s,null,t)}catch(v){u=v}if(u&&!(u instanceof Error)&&e((c||"React class")+": type specification of "+s+" `"+l+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in i)){i[u.message]=!0;var m=p?p():"";e("Failed "+s+" type: "+u.message+(m??""))}}}}return r.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},On=r,On}var _n,Ni;function go(){if(Ni)return _n;Ni=1;var e=Ii(),t=xo(),i=Tn(),n=Mi(),r=vo(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(s){var c="Warning: "+s;typeof console<"u"&&console.error(c);try{throw new Error(c)}catch{}});function o(){return null}return _n=function(s,c){var p=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function u(R){var _=R&&(p&&R[p]||R[l]);if(typeof _=="function")return _}var f="<<anonymous>>",m={array:x("array"),bigint:x("bigint"),bool:x("boolean"),func:x("function"),number:x("number"),object:x("object"),string:x("string"),symbol:x("symbol"),any:O(),arrayOf:A,element:k(),elementType:b(),instanceOf:j,node:H(),objectOf:F,oneOf:q,oneOfType:Y,shape:ve,exact:ne};function v(R,_){return R===_?R!==0||1/R===1/_:R!==R&&_!==_}function g(R,_){this.message=R,this.data=_&&typeof _=="object"?_:{},this.stack=""}g.prototype=Error.prototype;function w(R){if(process.env.NODE_ENV!=="production")var _={},B=0;function W(G,L,U,J,te,M,ge){if(J=J||f,M=M||U,ge!==i){if(c){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var P=J+":"+U;!_[P]&&B<3&&(a("You are manually calling a React.PropTypes validation function for the `"+M+"` prop on `"+J+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),_[P]=!0,B++)}}return L[U]==null?G?L[U]===null?new g("The "+te+" `"+M+"` is marked as required "+("in `"+J+"`, but its value is `null`.")):new g("The "+te+" `"+M+"` is marked as required in "+("`"+J+"`, but its value is `undefined`.")):null:R(L,U,J,te,M)}var z=W.bind(null,!1);return z.isRequired=W.bind(null,!0),z}function x(R){function _(B,W,z,G,L,U){var J=B[W],te=Ee(J);if(te!==R){var M=Se(J);return new g("Invalid "+G+" `"+L+"` of type "+("`"+M+"` supplied to `"+z+"`, expected ")+("`"+R+"`."),{expectedType:R})}return null}return w(_)}function O(){return w(o)}function A(R){function _(B,W,z,G,L){if(typeof R!="function")return new g("Property `"+L+"` of component `"+z+"` has invalid PropType notation inside arrayOf.");var U=B[W];if(!Array.isArray(U)){var J=Ee(U);return new g("Invalid "+G+" `"+L+"` of type "+("`"+J+"` supplied to `"+z+"`, expected an array."))}for(var te=0;te<U.length;te++){var M=R(U,te,z,G,L+"["+te+"]",i);if(M instanceof Error)return M}return null}return w(_)}function k(){function R(_,B,W,z,G){var L=_[B];if(!s(L)){var U=Ee(L);return new g("Invalid "+z+" `"+G+"` of type "+("`"+U+"` supplied to `"+W+"`, expected a single ReactElement."))}return null}return w(R)}function b(){function R(_,B,W,z,G){var L=_[B];if(!e.isValidElementType(L)){var U=Ee(L);return new g("Invalid "+z+" `"+G+"` of type "+("`"+U+"` supplied to `"+W+"`, expected a single ReactElement type."))}return null}return w(R)}function j(R){function _(B,W,z,G,L){if(!(B[W]instanceof R)){var U=R.name||f,J=ye(B[W]);return new g("Invalid "+G+" `"+L+"` of type "+("`"+J+"` supplied to `"+z+"`, expected ")+("instance of `"+U+"`."))}return null}return w(_)}function q(R){if(!Array.isArray(R))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),o;function _(B,W,z,G,L){for(var U=B[W],J=0;J<R.length;J++)if(v(U,R[J]))return null;var te=JSON.stringify(R,function(ge,y){var P=Se(y);return P==="symbol"?String(y):y});return new g("Invalid "+G+" `"+L+"` of value `"+String(U)+"` "+("supplied to `"+z+"`, expected one of "+te+"."))}return w(_)}function F(R){function _(B,W,z,G,L){if(typeof R!="function")return new g("Property `"+L+"` of component `"+z+"` has invalid PropType notation inside objectOf.");var U=B[W],J=Ee(U);if(J!=="object")return new g("Invalid "+G+" `"+L+"` of type "+("`"+J+"` supplied to `"+z+"`, expected an object."));for(var te in U)if(n(U,te)){var M=R(U,te,z,G,L+"."+te,i);if(M instanceof Error)return M}return null}return w(_)}function Y(R){if(!Array.isArray(R))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),o;for(var _=0;_<R.length;_++){var B=R[_];if(typeof B!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ue(B)+" at index "+_+"."),o}function W(z,G,L,U,J){for(var te=[],M=0;M<R.length;M++){var ge=R[M],y=ge(z,G,L,U,J,i);if(y==null)return null;y.data&&n(y.data,"expectedType")&&te.push(y.data.expectedType)}var P=te.length>0?", expected one of type ["+te.join(", ")+"]":"";return new g("Invalid "+U+" `"+J+"` supplied to "+("`"+L+"`"+P+"."))}return w(W)}function H(){function R(_,B,W,z,G){return V(_[B])?null:new g("Invalid "+z+" `"+G+"` supplied to "+("`"+W+"`, expected a ReactNode."))}return w(R)}function ae(R,_,B,W,z){return new g((R||"React class")+": "+_+" type `"+B+"."+W+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+z+"`.")}function ve(R){function _(B,W,z,G,L){var U=B[W],J=Ee(U);if(J!=="object")return new g("Invalid "+G+" `"+L+"` of type `"+J+"` "+("supplied to `"+z+"`, expected `object`."));for(var te in R){var M=R[te];if(typeof M!="function")return ae(z,G,L,te,Se(M));var ge=M(U,te,z,G,L+"."+te,i);if(ge)return ge}return null}return w(_)}function ne(R){function _(B,W,z,G,L){var U=B[W],J=Ee(U);if(J!=="object")return new g("Invalid "+G+" `"+L+"` of type `"+J+"` "+("supplied to `"+z+"`, expected `object`."));var te=t({},B[W],R);for(var M in te){var ge=R[M];if(n(R,M)&&typeof ge!="function")return ae(z,G,L,M,Se(ge));if(!ge)return new g("Invalid "+G+" `"+L+"` key `"+M+"` supplied to `"+z+"`.\nBad object: "+JSON.stringify(B[W],null," ")+`
44
+ Valid keys: `+JSON.stringify(Object.keys(R),null," "));var y=ge(U,M,z,G,L+"."+M,i);if(y)return y}return null}return w(_)}function V(R){switch(typeof R){case"number":case"string":case"undefined":return!0;case"boolean":return!R;case"object":if(Array.isArray(R))return R.every(V);if(R===null||s(R))return!0;var _=u(R);if(_){var B=_.call(R),W;if(_!==R.entries){for(;!(W=B.next()).done;)if(!V(W.value))return!1}else for(;!(W=B.next()).done;){var z=W.value;if(z&&!V(z[1]))return!1}}else return!1;return!0;default:return!1}}function pe(R,_){return R==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function Ee(R){var _=typeof R;return Array.isArray(R)?"array":R instanceof RegExp?"object":pe(_,R)?"symbol":_}function Se(R){if(typeof R>"u"||R===null)return""+R;var _=Ee(R);if(_==="object"){if(R instanceof Date)return"date";if(R instanceof RegExp)return"regexp"}return _}function ue(R){var _=Se(R);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function ye(R){return!R.constructor||!R.constructor.name?f:R.constructor.name}return m.checkPropTypes=r,m.resetWarningCache=r.resetWarningCache,m.PropTypes=m,m},_n}var An,qi;function ho(){if(qi)return An;qi=1;var e=Tn();function t(){}function i(){}return i.resetWarningCache=t,An=function(){function n(o,s,c,p,l,u){if(u!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}n.isRequired=n;function r(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:r,element:n,elementType:n,instanceOf:r,node:n,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:t};return a.PropTypes=a,a},An}var Wi;function yo(){if(Wi)return Ht.exports;if(Wi=1,process.env.NODE_ENV!=="production"){var e=Ii(),t=!0;Ht.exports=go()(e.isElement,t)}else Ht.exports=ho()();return Ht.exports}var bo=yo();const xe=tt(bo);function at(e,t,i,n){function r(a){return a instanceof i?a:new i(function(o){o(a)})}return new(i||(i=Promise))(function(a,o){function s(l){try{p(n.next(l))}catch(u){o(u)}}function c(l){try{p(n.throw(l))}catch(u){o(u)}}function p(l){l.done?a(l.value):r(l.value).then(s,c)}p((n=n.apply(e,t||[])).next())})}typeof SuppressedError=="function"&&SuppressedError;const wo=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function gt(e,t,i){const n=Eo(e),{webkitRelativePath:r}=e,a=typeof t=="string"?t:typeof r=="string"&&r.length>0?r:`./${e.name}`;return typeof n.path!="string"&&Ui(n,"path",a),Ui(n,"relativePath",a),n}function Eo(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const n=t.split(".").pop().toLowerCase(),r=wo.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}function Ui(e,t,i){Object.defineProperty(e,t,{value:i,writable:!1,configurable:!1,enumerable:!0})}const So=[".DS_Store","Thumbs.db"];function Ro(e){return at(this,void 0,void 0,function*(){return Yt(e)&&To(e.dataTransfer)?Ao(e.dataTransfer,e.type):ko(e)?Oo(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?_o(e):[]})}function To(e){return Yt(e)}function ko(e){return Yt(e)&&Yt(e.target)}function Yt(e){return typeof e=="object"&&e!==null}function Oo(e){return Cn(e.target.files).map(t=>gt(t))}function _o(e){return at(this,void 0,void 0,function*(){return(yield Promise.all(e.map(i=>i.getFile()))).map(i=>gt(i))})}function Ao(e,t){return at(this,void 0,void 0,function*(){if(e.items){const i=Cn(e.items).filter(r=>r.kind==="file");if(t!=="drop")return i;const n=yield Promise.all(i.map(Co));return Vi(Hi(n))}return Vi(Cn(e.files).map(i=>gt(i)))})}function Vi(e){return e.filter(t=>So.indexOf(t.name)===-1)}function Cn(e){if(e===null)return[];const t=[];for(let i=0;i<e.length;i++){const n=e[i];t.push(n)}return t}function Co(e){if(typeof e.webkitGetAsEntry!="function")return Gi(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?Yi(t):Gi(e,t)}function Hi(e){return e.reduce((t,i)=>[...t,...Array.isArray(i)?Hi(i):[i]],[])}function Gi(e,t){return at(this,void 0,void 0,function*(){var i;if(globalThis.isSecureContext&&typeof e.getAsFileSystemHandle=="function"){const a=yield e.getAsFileSystemHandle();if(a===null)throw new Error(`${e} is not a File`);if(a!==void 0){const o=yield a.getFile();return o.handle=a,gt(o)}}const n=e.getAsFile();if(!n)throw new Error(`${e} is not a File`);return gt(n,(i=t==null?void 0:t.fullPath)!==null&&i!==void 0?i:void 0)})}function Do(e){return at(this,void 0,void 0,function*(){return e.isDirectory?Yi(e):jo(e)})}function Yi(e){const t=e.createReader();return new Promise((i,n)=>{const r=[];function a(){t.readEntries(o=>at(this,void 0,void 0,function*(){if(o.length){const s=Promise.all(o.map(Do));r.push(s),a()}else try{const s=yield Promise.all(r);i(s)}catch(s){n(s)}}),o=>{n(o)})}a()})}function jo(e){return at(this,void 0,void 0,function*(){return new Promise((t,i)=>{e.file(n=>{const r=gt(n,e.fullPath);t(r)},n=>{i(n)})})})}var Kt={},Ki;function Fo(){return Ki||(Ki=1,Kt.__esModule=!0,Kt.default=function(e,t){if(e&&t){var i=Array.isArray(t)?t:t.split(",");if(i.length===0)return!0;var n=e.name||"",r=(e.type||"").toLowerCase(),a=r.replace(/\/.*$/,"");return i.some(function(o){var s=o.trim().toLowerCase();return s.charAt(0)==="."?n.toLowerCase().endsWith(s):s.endsWith("/*")?a===s.replace(/\/.*$/,""):r===s})}return!0}),Kt}var Po=Fo();const Dn=tt(Po);function Ji(e){return zo(e)||Bo(e)||er(e)||Io()}function Io(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
45
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Bo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zo(e){if(Array.isArray(e))return jn(e)}function Xi(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function Zi(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?Xi(Object(i),!0).forEach(function(n){Qi(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Xi(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function Qi(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function At(e,t){return $o(e)||Mo(e,t)||er(e,t)||Lo()}function Lo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
46
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function er(e,t){if(e){if(typeof e=="string")return jn(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return jn(e,t)}}function jn(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function Mo(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var n=[],r=!0,a=!1,o,s;try{for(i=i.call(e);!(r=(o=i.next()).done)&&(n.push(o.value),!(t&&n.length===t));r=!0);}catch(c){a=!0,s=c}finally{try{!r&&i.return!=null&&i.return()}finally{if(a)throw s}}return n}}function $o(e){if(Array.isArray(e))return e}var No=typeof Dn=="function"?Dn:Dn.default,qo="file-invalid-type",Wo="file-too-large",Uo="file-too-small",Vo="too-many-files",Ho=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",i=t.split(","),n=i.length>1?"one of ".concat(i.join(", ")):i[0];return{code:qo,message:"File type must be ".concat(n)}},tr=function(t){return{code:Wo,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},nr=function(t){return{code:Uo,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},Go={code:Vo,message:"Too many files"};function ir(e,t){var i=e.type==="application/x-moz-file"||No(e,t);return[i,i?null:Ho(t)]}function rr(e,t,i){if(ot(e.size))if(ot(t)&&ot(i)){if(e.size>i)return[!1,tr(i)];if(e.size<t)return[!1,nr(t)]}else{if(ot(t)&&e.size<t)return[!1,nr(t)];if(ot(i)&&e.size>i)return[!1,tr(i)]}return[!0,null]}function ot(e){return e!=null}function Yo(e){var t=e.files,i=e.accept,n=e.minSize,r=e.maxSize,a=e.multiple,o=e.maxFiles,s=e.validator;return!a&&t.length>1||a&&o>=1&&t.length>o?!1:t.every(function(c){var p=ir(c,i),l=At(p,1),u=l[0],f=rr(c,n,r),m=At(f,1),v=m[0],g=s?s(c):null;return u&&v&&!g})}function Jt(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function Xt(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(t){return t==="Files"||t==="application/x-moz-file"}):!!e.target&&!!e.target.files}function ar(e){e.preventDefault()}function Ko(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function Jo(e){return e.indexOf("Edge/")!==-1}function Xo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return Ko(e)||Jo(e)}function qe(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return function(n){for(var r=arguments.length,a=new Array(r>1?r-1:0),o=1;o<r;o++)a[o-1]=arguments[o];return t.some(function(s){return!Jt(n)&&s&&s.apply(void 0,[n].concat(a)),Jt(n)})}}function Zo(){return"showOpenFilePicker"in window}function Qo(e){if(ot(e)){var t=Object.entries(e).filter(function(i){var n=At(i,2),r=n[0],a=n[1],o=!0;return or(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),(!Array.isArray(a)||!a.every(sr))&&(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),o=!1),o}).reduce(function(i,n){var r=At(n,2),a=r[0],o=r[1];return Zi(Zi({},i),{},Qi({},a,o))},{});return[{description:"Files",accept:t}]}return e}function es(e){if(ot(e))return Object.entries(e).reduce(function(t,i){var n=At(i,2),r=n[0],a=n[1];return[].concat(Ji(t),[r],Ji(a))},[]).filter(function(t){return or(t)||sr(t)}).join(",")}function ts(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function ns(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function or(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function sr(e){return/^.*\.[\w]+$/.test(e)}var is=["children"],rs=["open"],as=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],os=["refKey","onChange","onClick"];function ss(e){return ps(e)||ls(e)||cr(e)||cs()}function cs(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
47
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ls(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ps(e){if(Array.isArray(e))return Pn(e)}function Fn(e,t){return fs(e)||ds(e,t)||cr(e,t)||us()}function us(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
48
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function cr(e,t){if(e){if(typeof e=="string")return Pn(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return Pn(e,t)}}function Pn(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,n=new Array(t);i<t;i++)n[i]=e[i];return n}function ds(e,t){var i=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(i!=null){var n=[],r=!0,a=!1,o,s;try{for(i=i.call(e);!(r=(o=i.next()).done)&&(n.push(o.value),!(t&&n.length===t));r=!0);}catch(c){a=!0,s=c}finally{try{!r&&i.return!=null&&i.return()}finally{if(a)throw s}}return n}}function fs(e){if(Array.isArray(e))return e}function lr(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function we(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?lr(Object(i),!0).forEach(function(n){In(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):lr(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function In(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function Zt(e,t){if(e==null)return{};var i=ms(e,t),n,r;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function ms(e,t){if(e==null)return{};var i={},n=Object.keys(e),r,a;for(a=0;a<n.length;a++)r=n[a],!(t.indexOf(r)>=0)&&(i[r]=e[r]);return i}var Bn=E.forwardRef(function(e,t){var i=e.children,n=Zt(e,is),r=ur(n),a=r.open,o=Zt(r,rs);return E.useImperativeHandle(t,function(){return{open:a}},[a]),E.createElement(E.Fragment,null,i(we(we({},o),{},{open:a})))});Bn.displayName="Dropzone";var pr={disabled:!1,getFilesFromEvent:Ro,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};Bn.defaultProps=pr,Bn.propTypes={children:xe.func,accept:xe.objectOf(xe.arrayOf(xe.string)),multiple:xe.bool,preventDropOnDocument:xe.bool,noClick:xe.bool,noKeyboard:xe.bool,noDrag:xe.bool,noDragEventsBubbling:xe.bool,minSize:xe.number,maxSize:xe.number,maxFiles:xe.number,disabled:xe.bool,getFilesFromEvent:xe.func,onFileDialogCancel:xe.func,onFileDialogOpen:xe.func,useFsAccessApi:xe.bool,autoFocus:xe.bool,onDragEnter:xe.func,onDragLeave:xe.func,onDragOver:xe.func,onDrop:xe.func,onDropAccepted:xe.func,onDropRejected:xe.func,onError:xe.func,validator:xe.func};var zn={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function ur(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=we(we({},pr),e),i=t.accept,n=t.disabled,r=t.getFilesFromEvent,a=t.maxSize,o=t.minSize,s=t.multiple,c=t.maxFiles,p=t.onDragEnter,l=t.onDragLeave,u=t.onDragOver,f=t.onDrop,m=t.onDropAccepted,v=t.onDropRejected,g=t.onFileDialogCancel,w=t.onFileDialogOpen,x=t.useFsAccessApi,O=t.autoFocus,A=t.preventDropOnDocument,k=t.noClick,b=t.noKeyboard,j=t.noDrag,q=t.noDragEventsBubbling,F=t.onError,Y=t.validator,H=E.useMemo(function(){return es(i)},[i]),ae=E.useMemo(function(){return Qo(i)},[i]),ve=E.useMemo(function(){return typeof w=="function"?w:dr},[w]),ne=E.useMemo(function(){return typeof g=="function"?g:dr},[g]),V=E.useRef(null),pe=E.useRef(null),Ee=E.useReducer(xs,zn),Se=Fn(Ee,2),ue=Se[0],ye=Se[1],R=ue.isFocused,_=ue.isFileDialogActive,B=E.useRef(typeof window<"u"&&window.isSecureContext&&x&&Zo()),W=function(){!B.current&&_&&setTimeout(function(){if(pe.current){var C=pe.current.files;C.length||(ye({type:"closeDialog"}),ne())}},300)};E.useEffect(function(){return window.addEventListener("focus",W,!1),function(){window.removeEventListener("focus",W,!1)}},[pe,_,ne,B]);var z=E.useRef([]),G=function(C){V.current&&V.current.contains(C.target)||(C.preventDefault(),z.current=[])};E.useEffect(function(){return A&&(document.addEventListener("dragover",ar,!1),document.addEventListener("drop",G,!1)),function(){A&&(document.removeEventListener("dragover",ar),document.removeEventListener("drop",G))}},[V,A]),E.useEffect(function(){return!n&&O&&V.current&&V.current.focus(),function(){}},[V,O,n]);var L=E.useCallback(function(S){F?F(S):console.error(S)},[F]),U=E.useCallback(function(S){S.preventDefault(),S.persist(),be(S),z.current=[].concat(ss(z.current),[S.target]),Xt(S)&&Promise.resolve(r(S)).then(function(C){if(!(Jt(S)&&!q)){var oe=C.length,me=oe>0&&Yo({files:C,accept:H,minSize:o,maxSize:a,multiple:s,maxFiles:c,validator:Y}),Te=oe>0&&!me;ye({isDragAccept:me,isDragReject:Te,isDragActive:!0,type:"setDraggedFiles"}),p&&p(S)}}).catch(function(C){return L(C)})},[r,p,L,q,H,o,a,s,c,Y]),J=E.useCallback(function(S){S.preventDefault(),S.persist(),be(S);var C=Xt(S);if(C&&S.dataTransfer)try{S.dataTransfer.dropEffect="copy"}catch{}return C&&u&&u(S),!1},[u,q]),te=E.useCallback(function(S){S.preventDefault(),S.persist(),be(S);var C=z.current.filter(function(me){return V.current&&V.current.contains(me)}),oe=C.indexOf(S.target);oe!==-1&&C.splice(oe,1),z.current=C,!(C.length>0)&&(ye({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),Xt(S)&&l&&l(S))},[V,l,q]),M=E.useCallback(function(S,C){var oe=[],me=[];S.forEach(function(Te){var et=ir(Te,H),Ke=Fn(et,2),dt=Ke[0],zt=Ke[1],Lt=rr(Te,o,a),wt=Fn(Lt,2),Mt=wt[0],$t=wt[1],Nt=Y?Y(Te):null;if(dt&&Mt&&!Nt)oe.push(Te);else{var qt=[zt,$t];Nt&&(qt=qt.concat(Nt)),me.push({file:Te,errors:qt.filter(function(Wt){return Wt})})}}),(!s&&oe.length>1||s&&c>=1&&oe.length>c)&&(oe.forEach(function(Te){me.push({file:Te,errors:[Go]})}),oe.splice(0)),ye({acceptedFiles:oe,fileRejections:me,isDragReject:me.length>0,type:"setFiles"}),f&&f(oe,me,C),me.length>0&&v&&v(me,C),oe.length>0&&m&&m(oe,C)},[ye,s,H,o,a,c,f,m,v,Y]),ge=E.useCallback(function(S){S.preventDefault(),S.persist(),be(S),z.current=[],Xt(S)&&Promise.resolve(r(S)).then(function(C){Jt(S)&&!q||M(C,S)}).catch(function(C){return L(C)}),ye({type:"reset"})},[r,M,L,q]),y=E.useCallback(function(){if(B.current){ye({type:"openDialog"}),ve();var S={multiple:s,types:ae};window.showOpenFilePicker(S).then(function(C){return r(C)}).then(function(C){M(C,null),ye({type:"closeDialog"})}).catch(function(C){ts(C)?(ne(C),ye({type:"closeDialog"})):ns(C)?(B.current=!1,pe.current?(pe.current.value=null,pe.current.click()):L(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):L(C)});return}pe.current&&(ye({type:"openDialog"}),ve(),pe.current.value=null,pe.current.click())},[ye,ve,ne,x,M,L,ae,s]),P=E.useCallback(function(S){!V.current||!V.current.isEqualNode(S.target)||(S.key===" "||S.key==="Enter"||S.keyCode===32||S.keyCode===13)&&(S.preventDefault(),y())},[V,y]),X=E.useCallback(function(){ye({type:"focus"})},[]),$=E.useCallback(function(){ye({type:"blur"})},[]),de=E.useCallback(function(){k||(Xo()?setTimeout(y,0):y())},[k,y]),Re=function(C){return n?null:C},Q=function(C){return b?null:Re(C)},ee=function(C){return j?null:Re(C)},be=function(C){q&&C.stopPropagation()},Ge=E.useMemo(function(){return function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=S.refKey,oe=C===void 0?"ref":C,me=S.role,Te=S.onKeyDown,et=S.onFocus,Ke=S.onBlur,dt=S.onClick,zt=S.onDragEnter,Lt=S.onDragOver,wt=S.onDragLeave,Mt=S.onDrop,$t=Zt(S,as);return we(we(In({onKeyDown:Q(qe(Te,P)),onFocus:Q(qe(et,X)),onBlur:Q(qe(Ke,$)),onClick:Re(qe(dt,de)),onDragEnter:ee(qe(zt,U)),onDragOver:ee(qe(Lt,J)),onDragLeave:ee(qe(wt,te)),onDrop:ee(qe(Mt,ge)),role:typeof me=="string"&&me!==""?me:"presentation"},oe,V),!n&&!b?{tabIndex:0}:{}),$t)}},[V,P,X,$,de,U,J,te,ge,b,j,n]),Ne=E.useCallback(function(S){S.stopPropagation()},[]),Ye=E.useMemo(function(){return function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},C=S.refKey,oe=C===void 0?"ref":C,me=S.onChange,Te=S.onClick,et=Zt(S,os),Ke=In({accept:H,multiple:s,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:Re(qe(me,ge)),onClick:Re(qe(Te,Ne)),tabIndex:-1},oe,pe);return we(we({},Ke),et)}},[pe,i,s,ge,n]);return we(we({},ue),{},{isFocused:R&&!n,getRootProps:Ge,getInputProps:Ye,rootRef:V,inputRef:pe,open:Re(y)})}function xs(e,t){switch(t.type){case"focus":return we(we({},e),{},{isFocused:!0});case"blur":return we(we({},e),{},{isFocused:!1});case"openDialog":return we(we({},zn),{},{isFileDialogActive:!0});case"closeDialog":return we(we({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return we(we({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return we(we({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return we({},zn);default:return e}}function dr(){}const vs={WAV_MIME_TYPES:["audio/wav","audio/x-wav","audio/wave","audio/x-pn-wav"],MP3_MIME_TYPES:["audio/mpeg","audio/mp3","audio/x-mpeg","audio/x-mp3","audio/x-mpeg-3"],FLAC_MIME_TYPES:["audio/flac"]},gs=10*1e3,fr="[Audio.getDurationSeconds]",hs=async(e,{throwError:t}={})=>new Promise((i,n)=>{if(typeof window>"u")return n(new Error("getDurationSeconds is only usable in the browser"));const r=URL.createObjectURL(e),a=new Audio,o=()=>{a.src="",URL.revokeObjectURL(r)},s=setTimeout(()=>{o(),console.error(fr,"Timeout",e.name,e.size,e.type),i(0)},gs);a.addEventListener("loadedmetadata",()=>{const c=a.duration;clearTimeout(s),o(),i(c)},{once:!0}),a.addEventListener("error",c=>{clearTimeout(s),o(),t?(console.error(fr,"Error",e.name,e.size,e.type,c),n(e)):i(0)},{once:!0}),a.src=r}),ys=e=>{const t=new Map;return e.forEach(i=>{t.set(`${i.name}-${i.size}`,i)}),Array.from(t.values())},bs=e=>new Promise(t=>{const i=new FileReader;i.onloadend=n=>{var o;const r=new Uint8Array((o=n.target)==null?void 0:o.result),a=uo.filetypemime(r);t(a)},i.readAsArrayBuffer(e)}),ws=async e=>{try{const t=await hs(e),i=e;return i.duration=t,i}catch{throw new Error(`Failed to get audio duration for ${e.name}`)}},Es=e=>{for(const[t,i]of Object.entries(vs)){const n=t.toLowerCase().split("_")[0];if(i.includes(e))return n}},Ss=async e=>{var s;const t=await bs(e),i=((s=e==null?void 0:e.name)==null?void 0:s.split(".").pop())||"",n=t[0]||e.type,r=Es(n);if(r===i||!n||!r)return e;const a=`${e.name.split(".").slice(0,-1).join(".")}.${r}`;return new File([e],a,{type:n})};class Rs extends Error{constructor(){super("Max file size exceeded")}}class Ts extends Error{constructor(){super("Min file size exceeded")}}class ks extends Error{constructor(){super("File duration too long")}}class Os extends Error{constructor(){super("Invalid file type")}}const _s=e=>({handleDurationError:t=>{var i;console.log("handleDurationError",t),(i=e.onError)==null||i.call(e,new ks)},handleMaxSizeError:t=>{var i;console.log("handleMaxSizeError",t),(i=e.onError)==null||i.call(e,new Rs)},handleMinSizeError:t=>{var i;console.log("handleMinSizeError",t),(i=e.onError)==null||i.call(e,new Ts)},handleUnknownError:t=>{var i;console.log("handleUnknownError",t),(i=e.onError)==null||i.call(e,new Error("Unknown error"))},handleInvalidTypeError:t=>{var i;console.log("handleInvalidTypeError",t),(i=e.onError)==null||i.call(e,new Os)}}),As=e=>{const{handleDurationError:t,handleMaxSizeError:i,handleMinSizeError:n,handleUnknownError:r,handleInvalidTypeError:a}=_s(e);return{dropzone:ur({accept:{"audio/wav":[".wav"],"audio/mp3":[".mp3"],"audio/flac":[".flac"]},noClick:!0,minSize:e.minSizeBytes,maxSize:e.maxSizeBytes,onDropAccepted:async s=>{const c=await Promise.all(s.map(p=>Ss(p)));try{const l=(await Promise.all(c.map(ws))).filter(v=>v.duration<=(e.maxDurationS??1/0)?!0:(t(v),!1)),u=e.files??[],f=ys([...u,...l]),m=f.slice(0,e.maxFileCount??f.length);e.onFileAccepted(m)}catch(p){r(p)}},onDropRejected:s=>{s.forEach(c=>{for(const p of c.errors)p.code==="file-too-large"&&i(c.file),p.code==="file-too-small"&&n(c.file),p.code==="file-invalid-type"&&a(c.file)})}}),...e}},mr=E.createContext({}),Cs=()=>E.useContext(mr),Ds=Xe(vt,{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",gap:"8px",height:"100%"}),xr=({children:e,...t})=>{const i=As(t),{files:n,onFileAccepted:r,onDelete:a,maxFileCount:o,maxSizeBytes:s,minSizeBytes:c,maxDurationS:p,onError:l,...u}=t;return Pe.jsx(mr.Provider,{value:i,children:Pe.jsxs(Ds,{...u,...i.dropzone.getRootProps(),children:[Pe.jsx("input",{...i.dropzone.getInputProps()}),e]})})},js=Xe(vt,{width:"100%",height:"100%",display:"flex",overflow:"hidden",borderRadius:"16px",background:"#ffffff10",flexDirection:"column",alignItems:"stretch",maxHeight:"500px",justifyContent:"center"}),Fs=Xe("div",{fontFamily:"var(--framer-blockquote-font-family, var(--framer-font-family, Inter, Inter Placeholder, sans-serif))",lineHeight:"1.4",fontSize:"22px",fontWeight:600,color:"#ffffff"}),Ps=Xe(vt,{paddingTop:"32px",display:"flex",justifyContent:"center",fontFamily:"inherit",lineHeight:"1.4",fontSize:"22px",fontWeight:600,color:"#ffffff"}),Is=Xe(vt,{flex:1,display:"flex",alignItems:"center",justifyContent:"center",padding:"32px"}),Bs=Xe(vt,{borderTop:"1px solid #ffffff10",display:"flex",alignItems:"stretch",height:"60px"}),Ln=Xe(vt,{height:"252px",width:"222px",borderRadius:"8px",border:"1px solid #ffffff10",background:"#ffffff10",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}),zs=()=>Pe.jsxs(js,{children:[Pe.jsx(Ps,{children:Pe.jsx(Fs,{children:"Select a voice"})}),Pe.jsxs(Is,{children:[Pe.jsx(Ln,{}),Pe.jsx(Ln,{}),Pe.jsx(Ln,{})]}),Pe.jsx(Bs,{children:Pe.jsx("span",{children:"Footer"})})]});function vr(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ls}=Object.prototype,{getPrototypeOf:Mn}=Object,Qt=(e=>t=>{const i=Ls.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),$e=e=>(e=e.toLowerCase(),t=>Qt(t)===e),en=e=>t=>typeof t===e,{isArray:ht}=Array,Ct=en("undefined");function Ms(e){return e!==null&&!Ct(e)&&e.constructor!==null&&!Ct(e.constructor)&&Be(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const gr=$e("ArrayBuffer");function $s(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&gr(e.buffer),t}const Ns=en("string"),Be=en("function"),hr=en("number"),tn=e=>e!==null&&typeof e=="object",qs=e=>e===!0||e===!1,nn=e=>{if(Qt(e)!=="object")return!1;const t=Mn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ws=$e("Date"),Us=$e("File"),Vs=$e("Blob"),Hs=$e("FileList"),Gs=e=>tn(e)&&Be(e.pipe),Ys=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Be(e.append)&&((t=Qt(e))==="formdata"||t==="object"&&Be(e.toString)&&e.toString()==="[object FormData]"))},Ks=$e("URLSearchParams"),[Js,Xs,Zs,Qs]=["ReadableStream","Request","Response","Headers"].map($e),ec=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Dt(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),ht(e))for(n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else{const a=i?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let s;for(n=0;n<o;n++)s=a[n],t.call(null,e[s],s,e)}}function yr(e,t){t=t.toLowerCase();const i=Object.keys(e);let n=i.length,r;for(;n-- >0;)if(r=i[n],t===r.toLowerCase())return r;return null}const st=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,br=e=>!Ct(e)&&e!==st;function $n(){const{caseless:e}=br(this)&&this||{},t={},i=(n,r)=>{const a=e&&yr(t,r)||r;nn(t[a])&&nn(n)?t[a]=$n(t[a],n):nn(n)?t[a]=$n({},n):ht(n)?t[a]=n.slice():t[a]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&Dt(arguments[n],i);return t}const tc=(e,t,i,{allOwnKeys:n}={})=>(Dt(t,(r,a)=>{i&&Be(r)?e[a]=vr(r,i):e[a]=r},{allOwnKeys:n}),e),nc=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),ic=(e,t,i,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),i&&Object.assign(e.prototype,i)},rc=(e,t,i,n)=>{let r,a,o;const s={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),a=r.length;a-- >0;)o=r[a],(!n||n(o,e,t))&&!s[o]&&(t[o]=e[o],s[o]=!0);e=i!==!1&&Mn(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},ac=(e,t,i)=>{e=String(e),(i===void 0||i>e.length)&&(i=e.length),i-=t.length;const n=e.indexOf(t,i);return n!==-1&&n===i},oc=e=>{if(!e)return null;if(ht(e))return e;let t=e.length;if(!hr(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},sc=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Mn(Uint8Array)),cc=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const a=r.value;t.call(e,a[0],a[1])}},lc=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},pc=$e("HTMLFormElement"),uc=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,r){return n.toUpperCase()+r}),wr=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),dc=$e("RegExp"),Er=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};Dt(i,(r,a)=>{let o;(o=t(r,a,e))!==!1&&(n[a]=o||r)}),Object.defineProperties(e,n)},fc=e=>{Er(e,(t,i)=>{if(Be(e)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const n=e[i];if(Be(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},mc=(e,t)=>{const i={},n=r=>{r.forEach(a=>{i[a]=!0})};return ht(e)?n(e):n(String(e).split(t)),i},xc=()=>{},vc=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Nn="abcdefghijklmnopqrstuvwxyz",Sr="0123456789",Rr={DIGIT:Sr,ALPHA:Nn,ALPHA_DIGIT:Nn+Nn.toUpperCase()+Sr},gc=(e=16,t=Rr.ALPHA_DIGIT)=>{let i="";const{length:n}=t;for(;e--;)i+=t[Math.random()*n|0];return i};function hc(e){return!!(e&&Be(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const yc=e=>{const t=new Array(10),i=(n,r)=>{if(tn(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;const a=ht(n)?[]:{};return Dt(n,(o,s)=>{const c=i(o,r+1);!Ct(c)&&(a[s]=c)}),t[r]=void 0,a}}return n};return i(e,0)},bc=$e("AsyncFunction"),wc=e=>e&&(tn(e)||Be(e))&&Be(e.then)&&Be(e.catch),Tr=((e,t)=>e?setImmediate:t?((i,n)=>(st.addEventListener("message",({source:r,data:a})=>{r===st&&a===i&&n.length&&n.shift()()},!1),r=>{n.push(r),st.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Be(st.postMessage)),Ec=typeof queueMicrotask<"u"?queueMicrotask.bind(st):typeof process<"u"&&process.nextTick||Tr,h={isArray:ht,isArrayBuffer:gr,isBuffer:Ms,isFormData:Ys,isArrayBufferView:$s,isString:Ns,isNumber:hr,isBoolean:qs,isObject:tn,isPlainObject:nn,isReadableStream:Js,isRequest:Xs,isResponse:Zs,isHeaders:Qs,isUndefined:Ct,isDate:Ws,isFile:Us,isBlob:Vs,isRegExp:dc,isFunction:Be,isStream:Gs,isURLSearchParams:Ks,isTypedArray:sc,isFileList:Hs,forEach:Dt,merge:$n,extend:tc,trim:ec,stripBOM:nc,inherits:ic,toFlatObject:rc,kindOf:Qt,kindOfTest:$e,endsWith:ac,toArray:oc,forEachEntry:cc,matchAll:lc,isHTMLForm:pc,hasOwnProperty:wr,hasOwnProp:wr,reduceDescriptors:Er,freezeMethods:fc,toObjectSet:mc,toCamelCase:uc,noop:xc,toFiniteNumber:vc,findKey:yr,global:st,isContextDefined:br,ALPHABET:Rr,generateString:gc,isSpecCompliantForm:hc,toJSONObject:yc,isAsyncFn:bc,isThenable:wc,setImmediate:Tr,asap:Ec};function Z(e,t,i,n,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),i&&(this.config=i),n&&(this.request=n),r&&(this.response=r,this.status=r.status?r.status:null)}h.inherits(Z,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:h.toJSONObject(this.config),code:this.code,status:this.status}}});const kr=Z.prototype,Or={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Or[e]={value:e}}),Object.defineProperties(Z,Or),Object.defineProperty(kr,"isAxiosError",{value:!0}),Z.from=(e,t,i,n,r,a)=>{const o=Object.create(kr);return h.toFlatObject(e,o,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),Z.call(o,e.message,t,i,n,r),o.cause=e,o.name=e.name,a&&Object.assign(o,a),o};const Sc=null;function qn(e){return h.isPlainObject(e)||h.isArray(e)}function _r(e){return h.endsWith(e,"[]")?e.slice(0,-2):e}function Ar(e,t,i){return e?e.concat(t).map(function(r,a){return r=_r(r),!i&&a?"["+r+"]":r}).join(i?".":""):t}function Rc(e){return h.isArray(e)&&!e.some(qn)}const Tc=h.toFlatObject(h,{},null,function(t){return/^is[A-Z]/.test(t)});function rn(e,t,i){if(!h.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=h.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,w){return!h.isUndefined(w[g])});const n=i.metaTokens,r=i.visitor||l,a=i.dots,o=i.indexes,c=(i.Blob||typeof Blob<"u"&&Blob)&&h.isSpecCompliantForm(t);if(!h.isFunction(r))throw new TypeError("visitor must be a function");function p(v){if(v===null)return"";if(h.isDate(v))return v.toISOString();if(!c&&h.isBlob(v))throw new Z("Blob is not supported. Use a Buffer instead.");return h.isArrayBuffer(v)||h.isTypedArray(v)?c&&typeof Blob=="function"?new Blob([v]):Buffer.from(v):v}function l(v,g,w){let x=v;if(v&&!w&&typeof v=="object"){if(h.endsWith(g,"{}"))g=n?g:g.slice(0,-2),v=JSON.stringify(v);else if(h.isArray(v)&&Rc(v)||(h.isFileList(v)||h.endsWith(g,"[]"))&&(x=h.toArray(v)))return g=_r(g),x.forEach(function(A,k){!(h.isUndefined(A)||A===null)&&t.append(o===!0?Ar([g],k,a):o===null?g:g+"[]",p(A))}),!1}return qn(v)?!0:(t.append(Ar(w,g,a),p(v)),!1)}const u=[],f=Object.assign(Tc,{defaultVisitor:l,convertValue:p,isVisitable:qn});function m(v,g){if(!h.isUndefined(v)){if(u.indexOf(v)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(v),h.forEach(v,function(x,O){(!(h.isUndefined(x)||x===null)&&r.call(t,x,h.isString(O)?O.trim():O,g,f))===!0&&m(x,g?g.concat(O):[O])}),u.pop()}}if(!h.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Cr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Wn(e,t){this._pairs=[],e&&rn(e,this,t)}const Dr=Wn.prototype;Dr.append=function(t,i){this._pairs.push([t,i])},Dr.toString=function(t){const i=t?function(n){return t.call(this,n,Cr)}:Cr;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};function kc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function jr(e,t,i){if(!t)return e;const n=i&&i.encode||kc;h.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let a;if(r?a=r(t,i):a=h.isURLSearchParams(t)?t.toString():new Wn(t,i).toString(n),a){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Fr{constructor(){this.handlers=[]}use(t,i,n){return this.handlers.push({fulfilled:t,rejected:i,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){h.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Pr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Oc={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Wn,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Un=typeof window<"u"&&typeof document<"u",Vn=typeof navigator=="object"&&navigator||void 0,_c=Un&&(!Vn||["ReactNative","NativeScript","NS"].indexOf(Vn.product)<0),Ac=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Cc=Un&&window.location.href||"http://localhost",De={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Un,hasStandardBrowserEnv:_c,hasStandardBrowserWebWorkerEnv:Ac,navigator:Vn,origin:Cc},Symbol.toStringTag,{value:"Module"})),...Oc};function Dc(e,t){return rn(e,new De.classes.URLSearchParams,Object.assign({visitor:function(i,n,r,a){return De.isNode&&h.isBuffer(i)?(this.append(n,i.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function jc(e){return h.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Fc(e){const t={},i=Object.keys(e);let n;const r=i.length;let a;for(n=0;n<r;n++)a=i[n],t[a]=e[a];return t}function Ir(e){function t(i,n,r,a){let o=i[a++];if(o==="__proto__")return!0;const s=Number.isFinite(+o),c=a>=i.length;return o=!o&&h.isArray(r)?r.length:o,c?(h.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!s):((!r[o]||!h.isObject(r[o]))&&(r[o]=[]),t(i,n,r[o],a)&&h.isArray(r[o])&&(r[o]=Fc(r[o])),!s)}if(h.isFormData(e)&&h.isFunction(e.entries)){const i={};return h.forEachEntry(e,(n,r)=>{t(jc(n),r,i,0)}),i}return null}function Pc(e,t,i){if(h.isString(e))try{return(t||JSON.parse)(e),h.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const jt={transitional:Pr,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,a=h.isObject(t);if(a&&h.isHTMLForm(t)&&(t=new FormData(t)),h.isFormData(t))return r?JSON.stringify(Ir(t)):t;if(h.isArrayBuffer(t)||h.isBuffer(t)||h.isStream(t)||h.isFile(t)||h.isBlob(t)||h.isReadableStream(t))return t;if(h.isArrayBufferView(t))return t.buffer;if(h.isURLSearchParams(t))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Dc(t,this.formSerializer).toString();if((s=h.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return rn(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return a||r?(i.setContentType("application/json",!1),Pc(t)):t}],transformResponse:[function(t){const i=this.transitional||jt.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(h.isResponse(t)||h.isReadableStream(t))return t;if(t&&h.isString(t)&&(n&&!this.responseType||r)){const o=!(i&&i.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(s){if(o)throw s.name==="SyntaxError"?Z.from(s,Z.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:De.classes.FormData,Blob:De.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};h.forEach(["delete","get","head","post","put","patch"],e=>{jt.headers[e]={}});const Ic=h.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Bc=e=>{const t={};let i,n,r;return e&&e.split(`
49
+ `).forEach(function(o){r=o.indexOf(":"),i=o.substring(0,r).trim().toLowerCase(),n=o.substring(r+1).trim(),!(!i||t[i]&&Ic[i])&&(i==="set-cookie"?t[i]?t[i].push(n):t[i]=[n]:t[i]=t[i]?t[i]+", "+n:n)}),t},Br=Symbol("internals");function Ft(e){return e&&String(e).trim().toLowerCase()}function an(e){return e===!1||e==null?e:h.isArray(e)?e.map(an):String(e)}function zc(e){const t=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=i.exec(e);)t[n[1]]=n[2];return t}const Lc=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hn(e,t,i,n,r){if(h.isFunction(n))return n.call(this,t,i);if(r&&(t=i),!!h.isString(t)){if(h.isString(n))return t.indexOf(n)!==-1;if(h.isRegExp(n))return n.test(t)}}function Mc(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,n)=>i.toUpperCase()+n)}function $c(e,t){const i=h.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+i,{value:function(r,a,o){return this[n].call(this,t,r,a,o)},configurable:!0})})}class Ie{constructor(t){t&&this.set(t)}set(t,i,n){const r=this;function a(s,c,p){const l=Ft(c);if(!l)throw new Error("header name must be a non-empty string");const u=h.findKey(r,l);(!u||r[u]===void 0||p===!0||p===void 0&&r[u]!==!1)&&(r[u||c]=an(s))}const o=(s,c)=>h.forEach(s,(p,l)=>a(p,l,c));if(h.isPlainObject(t)||t instanceof this.constructor)o(t,i);else if(h.isString(t)&&(t=t.trim())&&!Lc(t))o(Bc(t),i);else if(h.isHeaders(t))for(const[s,c]of t.entries())a(c,s,n);else t!=null&&a(i,t,n);return this}get(t,i){if(t=Ft(t),t){const n=h.findKey(this,t);if(n){const r=this[n];if(!i)return r;if(i===!0)return zc(r);if(h.isFunction(i))return i.call(this,r,n);if(h.isRegExp(i))return i.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=Ft(t),t){const n=h.findKey(this,t);return!!(n&&this[n]!==void 0&&(!i||Hn(this,this[n],n,i)))}return!1}delete(t,i){const n=this;let r=!1;function a(o){if(o=Ft(o),o){const s=h.findKey(n,o);s&&(!i||Hn(n,n[s],s,i))&&(delete n[s],r=!0)}}return h.isArray(t)?t.forEach(a):a(t),r}clear(t){const i=Object.keys(this);let n=i.length,r=!1;for(;n--;){const a=i[n];(!t||Hn(this,this[a],a,t,!0))&&(delete this[a],r=!0)}return r}normalize(t){const i=this,n={};return h.forEach(this,(r,a)=>{const o=h.findKey(n,a);if(o){i[o]=an(r),delete i[a];return}const s=t?Mc(a):String(a).trim();s!==a&&delete i[a],i[s]=an(r),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return h.forEach(this,(n,r)=>{n!=null&&n!==!1&&(i[r]=t&&h.isArray(n)?n.join(", "):n)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,i])=>t+": "+i).join(`
50
+ `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...i){const n=new this(t);return i.forEach(r=>n.set(r)),n}static accessor(t){const n=(this[Br]=this[Br]={accessors:{}}).accessors,r=this.prototype;function a(o){const s=Ft(o);n[s]||($c(r,o),n[s]=!0)}return h.isArray(t)?t.forEach(a):a(t),this}}Ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),h.reduceDescriptors(Ie.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}}),h.freezeMethods(Ie);function Gn(e,t){const i=this||jt,n=t||i,r=Ie.from(n.headers);let a=n.data;return h.forEach(e,function(s){a=s.call(i,a,r.normalize(),t?t.status:void 0)}),r.normalize(),a}function zr(e){return!!(e&&e.__CANCEL__)}function yt(e,t,i){Z.call(this,e??"canceled",Z.ERR_CANCELED,t,i),this.name="CanceledError"}h.inherits(yt,Z,{__CANCEL__:!0});function Lr(e,t,i){const n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):t(new Z("Request failed with status code "+i.status,[Z.ERR_BAD_REQUEST,Z.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function Nc(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function qc(e,t){e=e||10;const i=new Array(e),n=new Array(e);let r=0,a=0,o;return t=t!==void 0?t:1e3,function(c){const p=Date.now(),l=n[a];o||(o=p),i[r]=c,n[r]=p;let u=a,f=0;for(;u!==r;)f+=i[u++],u=u%e;if(r=(r+1)%e,r===a&&(a=(a+1)%e),p-o<t)return;const m=l&&p-l;return m?Math.round(f*1e3/m):void 0}}function Wc(e,t){let i=0,n=1e3/t,r,a;const o=(p,l=Date.now())=>{i=l,r=null,a&&(clearTimeout(a),a=null),e.apply(null,p)};return[(...p)=>{const l=Date.now(),u=l-i;u>=n?o(p,l):(r=p,a||(a=setTimeout(()=>{a=null,o(r)},n-u)))},()=>r&&o(r)]}const on=(e,t,i=3)=>{let n=0;const r=qc(50,250);return Wc(a=>{const o=a.loaded,s=a.lengthComputable?a.total:void 0,c=o-n,p=r(c),l=o<=s;n=o;const u={loaded:o,total:s,progress:s?o/s:void 0,bytes:c,rate:p||void 0,estimated:p&&s&&l?(s-o)/p:void 0,event:a,lengthComputable:s!=null,[t?"download":"upload"]:!0};e(u)},i)},Mr=(e,t)=>{const i=e!=null;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},$r=e=>(...t)=>h.asap(()=>e(...t)),Uc=De.hasStandardBrowserEnv?((e,t)=>i=>(i=new URL(i,De.origin),e.protocol===i.protocol&&e.host===i.host&&(t||e.port===i.port)))(new URL(De.origin),De.navigator&&/(msie|trident)/i.test(De.navigator.userAgent)):()=>!0,Vc=De.hasStandardBrowserEnv?{write(e,t,i,n,r,a){const o=[e+"="+encodeURIComponent(t)];h.isNumber(i)&&o.push("expires="+new Date(i).toGMTString()),h.isString(n)&&o.push("path="+n),h.isString(r)&&o.push("domain="+r),a===!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 Hc(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Gc(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Nr(e,t){return e&&!Hc(t)?Gc(e,t):t}const qr=e=>e instanceof Ie?{...e}:e;function ct(e,t){t=t||{};const i={};function n(p,l,u,f){return h.isPlainObject(p)&&h.isPlainObject(l)?h.merge.call({caseless:f},p,l):h.isPlainObject(l)?h.merge({},l):h.isArray(l)?l.slice():l}function r(p,l,u,f){if(h.isUndefined(l)){if(!h.isUndefined(p))return n(void 0,p,u,f)}else return n(p,l,u,f)}function a(p,l){if(!h.isUndefined(l))return n(void 0,l)}function o(p,l){if(h.isUndefined(l)){if(!h.isUndefined(p))return n(void 0,p)}else return n(void 0,l)}function s(p,l,u){if(u in t)return n(p,l);if(u in e)return n(void 0,p)}const c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(p,l,u)=>r(qr(p),qr(l),u,!0)};return h.forEach(Object.keys(Object.assign({},e,t)),function(l){const u=c[l]||r,f=u(e[l],t[l],l);h.isUndefined(f)&&u!==s||(i[l]=f)}),i}const Wr=e=>{const t=ct({},e);let{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:a,headers:o,auth:s}=t;t.headers=o=Ie.from(o),t.url=jr(Nr(t.baseURL,t.url),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):"")));let c;if(h.isFormData(i)){if(De.hasStandardBrowserEnv||De.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((c=o.getContentType())!==!1){const[p,...l]=c?c.split(";").map(u=>u.trim()).filter(Boolean):[];o.setContentType([p||"multipart/form-data",...l].join("; "))}}if(De.hasStandardBrowserEnv&&(n&&h.isFunction(n)&&(n=n(t)),n||n!==!1&&Uc(t.url))){const p=r&&a&&Vc.read(a);p&&o.set(r,p)}return t},Yc=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(i,n){const r=Wr(e);let a=r.data;const o=Ie.from(r.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:p}=r,l,u,f,m,v;function g(){m&&m(),v&&v(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let w=new XMLHttpRequest;w.open(r.method.toUpperCase(),r.url,!0),w.timeout=r.timeout;function x(){if(!w)return;const A=Ie.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders()),b={data:!s||s==="text"||s==="json"?w.responseText:w.response,status:w.status,statusText:w.statusText,headers:A,config:e,request:w};Lr(function(q){i(q),g()},function(q){n(q),g()},b),w=null}"onloadend"in w?w.onloadend=x:w.onreadystatechange=function(){!w||w.readyState!==4||w.status===0&&!(w.responseURL&&w.responseURL.indexOf("file:")===0)||setTimeout(x)},w.onabort=function(){w&&(n(new Z("Request aborted",Z.ECONNABORTED,e,w)),w=null)},w.onerror=function(){n(new Z("Network Error",Z.ERR_NETWORK,e,w)),w=null},w.ontimeout=function(){let k=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const b=r.transitional||Pr;r.timeoutErrorMessage&&(k=r.timeoutErrorMessage),n(new Z(k,b.clarifyTimeoutError?Z.ETIMEDOUT:Z.ECONNABORTED,e,w)),w=null},a===void 0&&o.setContentType(null),"setRequestHeader"in w&&h.forEach(o.toJSON(),function(k,b){w.setRequestHeader(b,k)}),h.isUndefined(r.withCredentials)||(w.withCredentials=!!r.withCredentials),s&&s!=="json"&&(w.responseType=r.responseType),p&&([f,v]=on(p,!0),w.addEventListener("progress",f)),c&&w.upload&&([u,m]=on(c),w.upload.addEventListener("progress",u),w.upload.addEventListener("loadend",m)),(r.cancelToken||r.signal)&&(l=A=>{w&&(n(!A||A.type?new yt(null,e,w):A),w.abort(),w=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const O=Nc(r.url);if(O&&De.protocols.indexOf(O)===-1){n(new Z("Unsupported protocol "+O+":",Z.ERR_BAD_REQUEST,e));return}w.send(a||null)})},Kc=(e,t)=>{const{length:i}=e=e?e.filter(Boolean):[];if(t||i){let n=new AbortController,r;const a=function(p){if(!r){r=!0,s();const l=p instanceof Error?p:this.reason;n.abort(l instanceof Z?l:new yt(l instanceof Error?l.message:l))}};let o=t&&setTimeout(()=>{o=null,a(new Z(`timeout ${t} of ms exceeded`,Z.ETIMEDOUT))},t);const s=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(p=>{p.unsubscribe?p.unsubscribe(a):p.removeEventListener("abort",a)}),e=null)};e.forEach(p=>p.addEventListener("abort",a));const{signal:c}=n;return c.unsubscribe=()=>h.asap(s),c}},Jc=function*(e,t){let i=e.byteLength;if(i<t){yield e;return}let n=0,r;for(;n<i;)r=n+t,yield e.slice(n,r),n=r},Xc=async function*(e,t){for await(const i of Zc(e))yield*Jc(i,t)},Zc=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:i,value:n}=await t.read();if(i)break;yield n}}finally{await t.cancel()}},Ur=(e,t,i,n)=>{const r=Xc(e,t);let a=0,o,s=c=>{o||(o=!0,n&&n(c))};return new ReadableStream({async pull(c){try{const{done:p,value:l}=await r.next();if(p){s(),c.close();return}let u=l.byteLength;if(i){let f=a+=u;i(f)}c.enqueue(new Uint8Array(l))}catch(p){throw s(p),p}},cancel(c){return s(c),r.return()}},{highWaterMark:2})},sn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Vr=sn&&typeof ReadableStream=="function",Qc=sn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Hr=(e,...t)=>{try{return!!e(...t)}catch{return!1}},el=Vr&&Hr(()=>{let e=!1;const t=new Request(De.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Gr=64*1024,Yn=Vr&&Hr(()=>h.isReadableStream(new Response("").body)),cn={stream:Yn&&(e=>e.body)};sn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!cn[t]&&(cn[t]=h.isFunction(e[t])?i=>i[t]():(i,n)=>{throw new Z(`Response type '${t}' is not supported`,Z.ERR_NOT_SUPPORT,n)})})})(new Response);const tl=async e=>{if(e==null)return 0;if(h.isBlob(e))return e.size;if(h.isSpecCompliantForm(e))return(await new Request(De.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(h.isArrayBufferView(e)||h.isArrayBuffer(e))return e.byteLength;if(h.isURLSearchParams(e)&&(e=e+""),h.isString(e))return(await Qc(e)).byteLength},nl=async(e,t)=>{const i=h.toFiniteNumber(e.getContentLength());return i??tl(t)},Kn={http:Sc,xhr:Yc,fetch:sn&&(async e=>{let{url:t,method:i,data:n,signal:r,cancelToken:a,timeout:o,onDownloadProgress:s,onUploadProgress:c,responseType:p,headers:l,withCredentials:u="same-origin",fetchOptions:f}=Wr(e);p=p?(p+"").toLowerCase():"text";let m=Kc([r,a&&a.toAbortSignal()],o),v;const g=m&&m.unsubscribe&&(()=>{m.unsubscribe()});let w;try{if(c&&el&&i!=="get"&&i!=="head"&&(w=await nl(l,n))!==0){let b=new Request(t,{method:"POST",body:n,duplex:"half"}),j;if(h.isFormData(n)&&(j=b.headers.get("content-type"))&&l.setContentType(j),b.body){const[q,F]=Mr(w,on($r(c)));n=Ur(b.body,Gr,q,F)}}h.isString(u)||(u=u?"include":"omit");const x="credentials"in Request.prototype;v=new Request(t,{...f,signal:m,method:i.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:x?u:void 0});let O=await fetch(v);const A=Yn&&(p==="stream"||p==="response");if(Yn&&(s||A&&g)){const b={};["status","statusText","headers"].forEach(Y=>{b[Y]=O[Y]});const j=h.toFiniteNumber(O.headers.get("content-length")),[q,F]=s&&Mr(j,on($r(s),!0))||[];O=new Response(Ur(O.body,Gr,q,()=>{F&&F(),g&&g()}),b)}p=p||"text";let k=await cn[h.findKey(cn,p)||"text"](O,e);return!A&&g&&g(),await new Promise((b,j)=>{Lr(b,j,{data:k,headers:Ie.from(O.headers),status:O.status,statusText:O.statusText,config:e,request:v})})}catch(x){throw g&&g(),x&&x.name==="TypeError"&&/fetch/i.test(x.message)?Object.assign(new Z("Network Error",Z.ERR_NETWORK,e,v),{cause:x.cause||x}):Z.from(x,x&&x.code,e,v)}})};h.forEach(Kn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Yr=e=>`- ${e}`,il=e=>h.isFunction(e)||e===null||e===!1,Kr={getAdapter:e=>{e=h.isArray(e)?e:[e];const{length:t}=e;let i,n;const r={};for(let a=0;a<t;a++){i=e[a];let o;if(n=i,!il(i)&&(n=Kn[(o=String(i)).toLowerCase()],n===void 0))throw new Z(`Unknown adapter '${o}'`);if(n)break;r[o||"#"+a]=n}if(!n){const a=Object.entries(r).map(([s,c])=>`adapter ${s} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?a.length>1?`since :
51
+ `+a.map(Yr).join(`
52
+ `):" "+Yr(a[0]):"as no adapter specified";throw new Z("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:Kn};function Jn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new yt(null,e)}function Jr(e){return Jn(e),e.headers=Ie.from(e.headers),e.data=Gn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Kr.getAdapter(e.adapter||jt.adapter)(e).then(function(n){return Jn(e),n.data=Gn.call(e,e.transformResponse,n),n.headers=Ie.from(n.headers),n},function(n){return zr(n)||(Jn(e),n&&n.response&&(n.response.data=Gn.call(e,e.transformResponse,n.response),n.response.headers=Ie.from(n.response.headers))),Promise.reject(n)})}const Xr="1.7.9",ln={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ln[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Zr={};ln.transitional=function(t,i,n){function r(a,o){return"[Axios v"+Xr+"] Transitional option '"+a+"'"+o+(n?". "+n:"")}return(a,o,s)=>{if(t===!1)throw new Z(r(o," has been removed"+(i?" in "+i:"")),Z.ERR_DEPRECATED);return i&&!Zr[o]&&(Zr[o]=!0,console.warn(r(o," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(a,o,s):!0}},ln.spelling=function(t){return(i,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function rl(e,t,i){if(typeof e!="object")throw new Z("options must be an object",Z.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let r=n.length;for(;r-- >0;){const a=n[r],o=t[a];if(o){const s=e[a],c=s===void 0||o(s,a,e);if(c!==!0)throw new Z("option "+a+" must be "+c,Z.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new Z("Unknown option "+a,Z.ERR_BAD_OPTION)}}const pn={assertOptions:rl,validators:ln},We=pn.validators;class lt{constructor(t){this.defaults=t,this.interceptors={request:new Fr,response:new Fr}}async request(t,i){try{return await this._request(t,i)}catch(n){if(n instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const a=r.stack?r.stack.replace(/^.+\n/,""):"";try{n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=`
53
+ `+a):n.stack=a}catch{}}throw n}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=ct(this.defaults,i);const{transitional:n,paramsSerializer:r,headers:a}=i;n!==void 0&&pn.assertOptions(n,{silentJSONParsing:We.transitional(We.boolean),forcedJSONParsing:We.transitional(We.boolean),clarifyTimeoutError:We.transitional(We.boolean)},!1),r!=null&&(h.isFunction(r)?i.paramsSerializer={serialize:r}:pn.assertOptions(r,{encode:We.function,serialize:We.function},!0)),pn.assertOptions(i,{baseUrl:We.spelling("baseURL"),withXsrfToken:We.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let o=a&&h.merge(a.common,a[i.method]);a&&h.forEach(["delete","get","head","post","put","patch","common"],v=>{delete a[v]}),i.headers=Ie.concat(o,a);const s=[];let c=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(i)===!1||(c=c&&g.synchronous,s.unshift(g.fulfilled,g.rejected))});const p=[];this.interceptors.response.forEach(function(g){p.push(g.fulfilled,g.rejected)});let l,u=0,f;if(!c){const v=[Jr.bind(this),void 0];for(v.unshift.apply(v,s),v.push.apply(v,p),f=v.length,l=Promise.resolve(i);u<f;)l=l.then(v[u++],v[u++]);return l}f=s.length;let m=i;for(u=0;u<f;){const v=s[u++],g=s[u++];try{m=v(m)}catch(w){g.call(this,w);break}}try{l=Jr.call(this,m)}catch(v){return Promise.reject(v)}for(u=0,f=p.length;u<f;)l=l.then(p[u++],p[u++]);return l}getUri(t){t=ct(this.defaults,t);const i=Nr(t.baseURL,t.url);return jr(i,t.params,t.paramsSerializer)}}h.forEach(["delete","get","head","options"],function(t){lt.prototype[t]=function(i,n){return this.request(ct(n||{},{method:t,url:i,data:(n||{}).data}))}}),h.forEach(["post","put","patch"],function(t){function i(n){return function(a,o,s){return this.request(ct(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:a,data:o}))}}lt.prototype[t]=i(),lt.prototype[t+"Form"]=i(!0)});class Xn{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let i;this.promise=new Promise(function(a){i=a});const n=this;this.promise.then(r=>{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](r);n._listeners=null}),this.promise.then=r=>{let a;const o=new Promise(s=>{n.subscribe(s),a=s}).then(r);return o.cancel=function(){n.unsubscribe(a)},o},t(function(a,o,s){n.reason||(n.reason=new yt(a,o,s),i(n.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 i=this._listeners.indexOf(t);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const t=new AbortController,i=n=>{t.abort(n)};return this.subscribe(i),t.signal.unsubscribe=()=>this.unsubscribe(i),t.signal}static source(){let t;return{token:new Xn(function(r){t=r}),cancel:t}}}function al(e){return function(i){return e.apply(null,i)}}function ol(e){return h.isObject(e)&&e.isAxiosError===!0}const Zn={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(Zn).forEach(([e,t])=>{Zn[t]=e});function Qr(e){const t=new lt(e),i=vr(lt.prototype.request,t);return h.extend(i,lt.prototype,t,{allOwnKeys:!0}),h.extend(i,t,null,{allOwnKeys:!0}),i.create=function(r){return Qr(ct(e,r))},i}const _e=Qr(jt);_e.Axios=lt,_e.CanceledError=yt,_e.CancelToken=Xn,_e.isCancel=zr,_e.VERSION=Xr,_e.toFormData=rn,_e.AxiosError=Z,_e.Cancel=_e.CanceledError,_e.all=function(t){return Promise.all(t)},_e.spread=al,_e.isAxiosError=ol,_e.mergeConfig=ct,_e.AxiosHeaders=Ie,_e.formToJSON=e=>Ir(h.isHTMLForm(e)?new FormData(e):e),_e.getAdapter=Kr.getAdapter,_e.HttpStatusCode=Zn,_e.default=_e;var un={exports:{}},Qn={};/**
54
54
  * @license React
55
55
  * use-sync-external-store-shim.production.min.js
56
56
  *
@@ -58,7 +58,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
58
58
  *
59
59
  * This source code is licensed under the MIT license found in the
60
60
  * LICENSE file in the root directory of this source tree.
61
- */var Jr;function Gc(){if(Jr)return Jn;Jr=1;var e=T;function t(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var i=typeof Object.is=="function"?Object.is:t,n=e.useState,r=e.useEffect,o=e.useLayoutEffect,a=e.useDebugValue;function s(u,f){var m=f(),x=n({inst:{value:m,getSnapshot:f}}),g=x[0].inst,y=x[1];return o(function(){g.value=m,g.getSnapshot=f,c(g)&&y({inst:g})},[u,m,f]),r(function(){return c(g)&&y({inst:g}),u(function(){c(g)&&y({inst:g})})},[u]),a(m),m}function c(u){var f=u.getSnapshot;u=u.value;try{var m=f();return!i(u,m)}catch{return!0}}function p(u,f){return f()}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:s;return Jn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:l,Jn}var Gn={};/**
61
+ */var ea;function sl(){if(ea)return Qn;ea=1;var e=E;function t(u,f){return u===f&&(u!==0||1/u===1/f)||u!==u&&f!==f}var i=typeof Object.is=="function"?Object.is:t,n=e.useState,r=e.useEffect,a=e.useLayoutEffect,o=e.useDebugValue;function s(u,f){var m=f(),v=n({inst:{value:m,getSnapshot:f}}),g=v[0].inst,w=v[1];return a(function(){g.value=m,g.getSnapshot=f,c(g)&&w({inst:g})},[u,m,f]),r(function(){return c(g)&&w({inst:g}),u(function(){c(g)&&w({inst:g})})},[u]),o(m),m}function c(u){var f=u.getSnapshot;u=u.value;try{var m=f();return!i(u,m)}catch{return!0}}function p(u,f){return f()}var l=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?p:s;return Qn.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:l,Qn}var ei={};/**
62
62
  * @license React
63
63
  * use-sync-external-store-shim.development.js
64
64
  *
@@ -66,5 +66,5 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
66
66
  *
67
67
  * This source code is licensed under the MIT license found in the
68
68
  * LICENSE file in the root directory of this source tree.
69
- */var Gr;function Xc(){return Gr||(Gr=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=T,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(C){{for(var k=arguments.length,b=new Array(k>1?k-1:0),D=1;D<k;D++)b[D-1]=arguments[D];n("error",C,b)}}function n(C,k,b){{var D=t.ReactDebugCurrentFrame,L=D.getStackAddendum();L!==""&&(k+="%s",b=b.concat([L]));var B=b.map(function(W){return String(W)});B.unshift("Warning: "+k),Function.prototype.apply.call(console[C],console,B)}}function r(C,k){return C===k&&(C!==0||1/C===1/k)||C!==C&&k!==k}var o=typeof Object.is=="function"?Object.is:r,a=e.useState,s=e.useEffect,c=e.useLayoutEffect,p=e.useDebugValue,l=!1,u=!1;function f(C,k,b){l||e.startTransition!==void 0&&(l=!0,i("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var D=k();if(!u){var L=k();o(D,L)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),u=!0)}var B=a({inst:{value:D,getSnapshot:k}}),W=B[0].inst,J=B[1];return c(function(){W.value=D,W.getSnapshot=k,m(W)&&J({inst:W})},[C,D,k]),s(function(){m(W)&&J({inst:W});var ae=function(){m(W)&&J({inst:W})};return C(ae)},[C]),p(D),D}function m(C){var k=C.getSnapshot,b=C.value;try{var D=k();return!o(b,D)}catch{return!0}}function x(C,k,b){return k()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",y=!g,h=y?x:f,A=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:h;Gn.useSyncExternalStore=A,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),Gn}var Xr;function Zc(){return Xr||(Xr=1,process.env.NODE_ENV==="production"?sn.exports=Gc():sn.exports=Xc()),sn.exports}var Qc=Zc();const He=()=>{},Ie=He(),Xn=Object,ee=e=>e===Ie,Ne=e=>typeof e=="function",Ye=(e,t)=>({...e,...t}),el=e=>Ne(e.then),cn=new WeakMap;let tl=0;const Ct=e=>{const t=typeof e,i=e&&e.constructor,n=i==Date;let r,o;if(Xn(e)===e&&!n&&i!=RegExp){if(r=cn.get(e),r)return r;if(r=++tl+"~",cn.set(e,r),i==Array){for(r="@",o=0;o<e.length;o++)r+=Ct(e[o])+",";cn.set(e,r)}if(i==Xn){r="#";const a=Xn.keys(e).sort();for(;!ee(o=a.pop());)ee(e[o])||(r+=o+":"+Ct(e[o])+",");cn.set(e,r)}}else r=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return r},Ue=new WeakMap,Zn={},ln={},Qn="undefined",pn=typeof window!=Qn,ei=typeof document!=Qn,nl=()=>pn&&typeof window.requestAnimationFrame!=Qn,Zr=(e,t)=>{const i=Ue.get(e);return[()=>!ee(t)&&e.get(t)||Zn,n=>{if(!ee(t)){const r=e.get(t);t in ln||(ln[t]=r),i[5](t,Ye(r,n),r||Zn)}},i[6],()=>!ee(t)&&t in ln?ln[t]:!ee(t)&&e.get(t)||Zn]};let ti=!0;const il=()=>ti,[ni,ii]=pn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[He,He],rl=()=>{const e=ei&&document.visibilityState;return ee(e)||e!=="hidden"},ol=e=>(ei&&document.addEventListener("visibilitychange",e),ni("focus",e),()=>{ei&&document.removeEventListener("visibilitychange",e),ii("focus",e)}),al=e=>{const t=()=>{ti=!0,e()},i=()=>{ti=!1};return ni("online",t),ni("offline",i),()=>{ii("online",t),ii("offline",i)}},sl={isOnline:il,isVisible:rl},cl={initFocus:ol,initReconnect:al},Qr=!T.useId,Dt=!pn||"Deno"in window,ll=e=>nl()?window.requestAnimationFrame(e):setTimeout(e,1),ri=Dt?T.useEffect:T.useLayoutEffect,oi=typeof navigator<"u"&&navigator.connection,eo=!Dt&&oi&&(["slow-2g","2g"].includes(oi.effectiveType)||oi.saveData),ai=e=>{if(Ne(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Ct(e):"",[e,t]};let pl=0;const si=()=>++pl,to=0,no=1,io=2;var jt={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:to,MUTATE_EVENT:io,RECONNECT_EVENT:no};async function ro(...e){const[t,i,n,r]=e,o=Ye({populateCache:!0,throwOnError:!0},typeof r=="boolean"?{revalidate:r}:r||{});let a=o.populateCache;const s=o.rollbackOnError;let c=o.optimisticData;const p=f=>typeof s=="function"?s(f):s!==!1,l=o.throwOnError;if(Ne(i)){const f=i,m=[],x=t.keys();for(const g of x)!/^\$(inf|sub)\$/.test(g)&&f(t.get(g)._k)&&m.push(g);return Promise.all(m.map(u))}return u(i);async function u(f){const[m]=ai(f);if(!m)return;const[x,g]=Zr(t,m),[y,h,A,C]=Ue.get(t),k=()=>{const Z=y[m];return(Ne(o.revalidate)?o.revalidate(x().data,f):o.revalidate!==!1)&&(delete A[m],delete C[m],Z&&Z[0])?Z[0](io).then(()=>x().data):x().data};if(e.length<3)return k();let b=n,D;const L=si();h[m]=[L,0];const B=!ee(c),W=x(),J=W.data,ae=W._c,fe=ee(ae)?J:ae;if(B&&(c=Ne(c)?c(fe,J):c,g({data:c,_c:fe})),Ne(b))try{b=b(fe)}catch(Z){D=Z}if(b&&el(b))if(b=await b.catch(Z=>{D=Z}),L!==h[m][0]){if(D)throw D;return b}else D&&B&&p(D)&&(a=!0,g({data:fe,_c:Ie}));if(a&&!D)if(Ne(a)){const Z=a(b,fe);g({data:Z,error:Ie,_c:Ie})}else g({data:b,error:Ie,_c:Ie});if(h[m][1]=si(),Promise.resolve(k()).then(()=>{g({_c:Ie})}),D){if(l)throw D;return}return b}}const oo=(e,t)=>{for(const i in e)e[i][0]&&e[i][0](t)},dl=(e,t)=>{if(!Ue.has(e)){const i=Ye(cl,t),n={},r=ro.bind(Ie,e);let o=He;const a={},s=(l,u)=>{const f=a[l]||[];return a[l]=f,f.push(u),()=>f.splice(f.indexOf(u),1)},c=(l,u,f)=>{e.set(l,u);const m=a[l];if(m)for(const x of m)x(u,f)},p=()=>{if(!Ue.has(e)&&(Ue.set(e,[n,{},{},{},r,c,s]),!Dt)){const l=i.initFocus(setTimeout.bind(Ie,oo.bind(Ie,n,to))),u=i.initReconnect(setTimeout.bind(Ie,oo.bind(Ie,n,no)));o=()=>{l&&l(),u&&u(),Ue.delete(e)}}};return p(),[e,r,p,o]}return[e,Ue.get(e)[4]]},ul=(e,t,i,n,r)=>{const o=i.errorRetryCount,a=r.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*i.errorRetryInterval;!ee(o)&&a>o||setTimeout(n,s,r)},fl=(e,t)=>Ct(e)==Ct(t),[ao,ml]=dl(new Map),xl=Ye({onLoadingSlow:He,onSuccess:He,onError:He,onErrorRetry:ul,onDiscarded:He,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:eo?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:eo?5e3:3e3,compare:fl,isPaused:()=>!1,cache:ao,mutate:ml,fallback:{}},sl),vl=(e,t)=>{const i=Ye(e,t);if(t){const{use:n,fallback:r}=e,{use:o,fallback:a}=t;n&&o&&(i.use=n.concat(o)),r&&a&&(i.fallback=Ye(r,a))}return i},gl=T.createContext({}),hl="$inf$",so=pn&&window.__SWR_DEVTOOLS_USE__,bl=so?window.__SWR_DEVTOOLS_USE__:[],yl=()=>{so&&(window.__SWR_DEVTOOLS_REACT__=T)},El=e=>Ne(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],wl=()=>Ye(xl,T.useContext(gl)),Sl=e=>(t,i,n)=>e(t,i&&((...o)=>{const[a]=ai(t),[,,,s]=Ue.get(ao);if(a.startsWith(hl))return i(...o);const c=s[a];return ee(c)?i(...o):(delete s[a],c)}),n),Rl=bl.concat(Sl),Tl=e=>function(...i){const n=wl(),[r,o,a]=El(i),s=vl(n,a);let c=e;const{use:p}=s,l=(p||[]).concat(Rl);for(let u=l.length;u--;)c=l[u](c);return c(r,o||s.fetcher||null,s)},kl=(e,t,i)=>{const n=t[e]||(t[e]=[]);return n.push(i),()=>{const r=n.indexOf(i);r>=0&&(n[r]=n[n.length-1],n.pop())}};yl();const co=T.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),ci={dedupe:!0},Ol=Tl((e,t,i)=>{const{cache:n,compare:r,suspense:o,fallbackData:a,revalidateOnMount:s,revalidateIfStale:c,refreshInterval:p,refreshWhenHidden:l,refreshWhenOffline:u,keepPreviousData:f}=i,[m,x,g,y]=Ue.get(n),[h,A]=ai(e),C=T.useRef(!1),k=T.useRef(!1),b=T.useRef(h),D=T.useRef(t),L=T.useRef(i),B=()=>L.current,W=()=>B().isVisible()&&B().isOnline(),[J,ae,fe,Z]=Zr(n,h),V=T.useRef({}).current,ce=ee(a)?i.fallback[h]:a,Se=(E,K)=>{for(const de in V){const te=de;if(te==="data"){if(!r(E[te],K[te])&&(!ee(E[te])||!r(H,K[te])))return!1}else if(K[te]!==E[te])return!1}return!0},Re=T.useMemo(()=>{const E=!h||!t?!1:ee(s)?B().isPaused()||o?!1:ee(c)?!0:c:s,K=me=>{const Ce=Ye(me);return delete Ce._k,E?{isValidating:!0,isLoading:!0,...Ce}:Ce},de=J(),te=Z(),Oe=K(de),Ae=de===te?Oe:K(te);let ve=Oe;return[()=>{const me=K(J());return Se(me,ve)?(ve.data=me.data,ve.isLoading=me.isLoading,ve.isValidating=me.isValidating,ve.error=me.error,ve):(ve=me,me)},()=>Ae]},[n,h]),be=Qc.useSyncExternalStore(T.useCallback(E=>fe(h,(K,de)=>{Se(de,K)||E()}),[n,h]),Re[0],Re[1]),he=!C.current,S=m[h]&&m[h].length>0,O=be.data,z=ee(O)?ce:O,$=be.error,P=T.useRef(z),H=f?ee(O)?P.current:O:z,I=S&&!ee($)?!1:he&&!ee(s)?s:B().isPaused()?!1:o?ee(z)?!1:c:ee(z)||c,N=!!(h&&t&&he&&I),Y=ee(be.isValidating)?N:be.isValidating,G=ee(be.isLoading)?N:be.isLoading,M=T.useCallback(async E=>{const K=D.current;if(!h||!K||k.current||B().isPaused())return!1;let de,te,Oe=!0;const Ae=E||{},ve=!g[h]||!Ae.dedupe,me=()=>Qr?!k.current&&h===b.current&&C.current:h===b.current,Ce={isValidating:!1,isLoading:!1},xt=()=>{ae(Ce)},Ke=()=>{const R=g[h];R&&R[1]===te&&delete g[h]},vt={isValidating:!0};ee(J().data)&&(vt.isLoading=!0);try{if(ve&&(ae(vt),i.loadingTimeout&&ee(J().data)&&setTimeout(()=>{Oe&&me()&&B().onLoadingSlow(h,i)},i.loadingTimeout),g[h]=[K(A),si()]),[de,te]=g[h],de=await de,ve&&setTimeout(Ke,i.dedupingInterval),!g[h]||g[h][1]!==te)return ve&&me()&&B().onDiscarded(h),!1;Ce.error=Ie;const R=x[h];if(!ee(R)&&(te<=R[0]||te<=R[1]||R[1]===0))return xt(),ve&&me()&&B().onDiscarded(h),!1;const F=J().data;Ce.data=r(F,de)?F:de,ve&&me()&&B().onSuccess(de,h,i)}catch(R){Ke();const F=B(),{shouldRetryOnError:le}=F;F.isPaused()||(Ce.error=R,ve&&me()&&(F.onError(R,h,F),(le===!0||Ne(le)&&le(R))&&(!B().revalidateOnFocus||!B().revalidateOnReconnect||W())&&F.onErrorRetry(R,h,F,ue=>{const ke=m[h];ke&&ke[0]&&ke[0](jt.ERROR_REVALIDATE_EVENT,ue)},{retryCount:(Ae.retryCount||0)+1,dedupe:!0})))}return Oe=!1,xt(),!0},[h,n]),xe=T.useCallback((...E)=>ro(n,b.current,...E),[]);if(ri(()=>{D.current=t,L.current=i,ee(O)||(P.current=O)}),ri(()=>{if(!h)return;const E=M.bind(Ie,ci);let K=0;const te=kl(h,m,(Oe,Ae={})=>{if(Oe==jt.FOCUS_EVENT){const ve=Date.now();B().revalidateOnFocus&&ve>K&&W()&&(K=ve+B().focusThrottleInterval,E())}else if(Oe==jt.RECONNECT_EVENT)B().revalidateOnReconnect&&W()&&E();else{if(Oe==jt.MUTATE_EVENT)return M();if(Oe==jt.ERROR_REVALIDATE_EVENT)return M(Ae)}});return k.current=!1,b.current=h,C.current=!0,ae({_k:A}),I&&(ee(z)||Dt?E():ll(E)),()=>{k.current=!0,te()}},[h]),ri(()=>{let E;function K(){const te=Ne(p)?p(J().data):p;te&&E!==-1&&(E=setTimeout(de,te))}function de(){!J().error&&(l||B().isVisible())&&(u||B().isOnline())?M(ci).then(K):K()}return K(),()=>{E&&(clearTimeout(E),E=-1)}},[p,l,u,h]),T.useDebugValue(H),o&&ee(z)&&h){if(!Qr&&Dt)throw new Error("Fallback data is required when using suspense in SSR.");D.current=t,L.current=i,k.current=!1;const E=y[h];if(!ee(E)){const K=xe(E);co(K)}if(ee($)){const K=M(ci);ee(H)||(K.status="fulfilled",K.value=!0),co(K)}else throw $}return{mutate:xe,get data(){return V.data=!0,H},get error(){return V.error=!0,$},get isValidating(){return V.isValidating=!0,Y},get isLoading(){return V.isLoading=!0,G}}}),_l=we.create({baseURL:"https://arpeggi.io/api/v2/"}),Al=async e=>{if(e===null)return null;const t=await _l.get(e);return console.log(t.data),t.data},Cl=e=>{const t=e>0;return Ol(t?`/ml-inference-jobs/${e}`:null,Al,{refreshInterval:1e3})},Dl=()=>{const[e,t]=T.useState(null),[i,n]=T.useState(0),[r,o]=T.useState(0),{data:a,isLoading:s}=Cl(i);return{file:e,setFile:t,mlijId:i,setMlijId:n,voiceModelId:r,setVoiceModelId:o,data:a,isLoading:s}},lo=T.createContext({}),po=()=>T.useContext(lo),jl=({children:e})=>{const t=Dl();return Fe.jsx(lo.Provider,{value:t,children:e})},Fl=1,Pl=100*1024*1024,Il=1,Bl=100,zl=({children:e})=>{const{setFile:t}=po(),i=n=>t(n[0]);return Fe.jsx(pr,{files:[],onFileAccepted:i,maxFileCount:Fl,maxSizeBytes:Pl,minSizeBytes:Il,maxDurationS:Bl,children:e})};function dn(e,t,i){for(let n=0;n<e.length;++n)t[i+n]=e.charCodeAt(n)}function un(e,t,i){e=Math.floor(e),t[i+0]=e&255,t[i+1]=e>>8&255}function at(e,t,i){e=Math.floor(e),t[i+0]=e&255,t[i+1]=e>>8&255,t[i+2]=e>>16&255,t[i+3]=e>>24&255}function Ll(e){const t=new ArrayBuffer(4);return new Float32Array(t)[0]=e,new Uint32Array(t)[0]|0}function Ml(e,t,i,n){let r=0,o=0;const a=e.length,s=e.numberOfChannels;let c,p;for(r=0;r<a;++r)for(o=0;o<s;++o)if(c=e.getChannelData(o),n===16)p=c[r]*32768,p=Math.max(-32768,Math.min(p,32767)),un(p,t,i),i+=2;else if(n===32)p=Ll(c[r]),at(p,t,i),i+=4;else{console.log("Invalid bit depth for PCM encoding.");return}}async function $l(e,t){let i=e instanceof Blob?e:new Blob(e);const n=URL.createObjectURL(i),o=await(await fetch(n)).arrayBuffer();return await new AudioContext(t).decodeAudioData(o)}async function Nl(e,t=!1){const i=e.length,n=e.numberOfChannels,r=e.sampleRate,o=t?32:16,a=o/8,s=r*n*o/8,c=n*o/8,p=i*n*a,u=44+p,f=new Uint8Array(u),m=16,x=p,g=4+(8+m)+(8+x);return dn("RIFF",f,0),at(g,f,4),dn("WAVE",f,8),dn("fmt ",f,12),at(m,f,16),un(t?3:1,f,20),un(n,f,22),at(r,f,24),at(s,f,28),un(c,f,32),at(o,f,34),dn("data",f,36),at(x,f,40),Ml(e,f,44,o),new Blob([f],{type:"audio/wave"})}async function ql(e,t=!1,i){const n=await $l(e,i);return Nl(n,t)}const Ul=128;class Wl{constructor(){mn(this,"mediaRecorder",null);mn(this,"stream",null);mn(this,"__data",null)}async checkMicrophonePermission(){var n;return!!(await((n=navigator==null?void 0:navigator.mediaDevices)==null?void 0:n.enumerateDevices())).find(r=>r.kind==="audioinput"&&!!r.label)}async startRecording(){var t;if(((t=this.mediaRecorder)==null?void 0:t.state)==="recording")return!0;try{this.stream=await navigator.mediaDevices.getUserMedia({audio:!0,video:!1}),this.mediaRecorder=new MediaRecorder(this.stream,{bitsPerSecond:Ul*1e3}),this.mediaRecorder.ondataavailable=i=>this.__data=i.data}catch(i){return console.error(i),!1}return this.mediaRecorder.start(),!0}stopRecording(){return new Promise(t=>{var i;if(((i=this.mediaRecorder)==null?void 0:i.state)!=="recording"){t(!0);return}this.mediaRecorder.stop(),this.mediaRecorder.onstop=()=>{var n;(n=this.stream)==null||n.getTracks().forEach(r=>r.stop()),this.mediaRecorder=null,this.stream=null,t(!0)}})}async getWavBlob(){return this.__data?await ql(this.__data):null}}const fn=new Wl,uo="Recording.wav",fo=1500,Vl=e=>{const[t,i]=T.useState(!1),[n,r]=T.useState(!1),[o,a]=T.useState(!1);return T.useEffect(()=>{var p;const c=async()=>{fn.checkMicrophonePermission().then(i)};return c(),(p=navigator==null?void 0:navigator.mediaDevices)==null||p.addEventListener("devicechange",c),()=>{var l;return(l=navigator==null?void 0:navigator.mediaDevices)==null?void 0:l.removeEventListener("devicechange",c)}},[]),{hasMicAccess:t,isRecording:n,hasMinTimeElapsed:o,handleClick:async()=>{if(n){if(!o)return;r(!1),a(!1),await fn.stopRecording();const p=await fn.getWavBlob();if(!p){console.log("Failed to get audio blob",p);return}const l=new File([p],uo,{type:"audio/mpeg",lastModified:Date.now()});e.onFileUpdate(l);return}const c=await fn.startRecording();r(c),setTimeout(()=>{a(!0)},fo)}}};ye.AudioFilePickerRoot=pr,ye.ConvertStep=ks,ye.FilePicker=zl,ye.GuestConvertProvider=jl,ye.MIN_RECORDING_LENGTH_MS=fo,ye.RECORDED_AUDIO_NAME=uo,ye.useAudioFilePickerContext=ys,ye.useGuestConvertContext=po,ye.useRecorder=Vl,Object.defineProperty(ye,Symbol.toStringTag,{value:"Module"})});
69
+ */var ta;function cl(){return ta||(ta=1,process.env.NODE_ENV!=="production"&&function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=E,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(A){{for(var k=arguments.length,b=new Array(k>1?k-1:0),j=1;j<k;j++)b[j-1]=arguments[j];n("error",A,b)}}function n(A,k,b){{var j=t.ReactDebugCurrentFrame,q=j.getStackAddendum();q!==""&&(k+="%s",b=b.concat([q]));var F=b.map(function(Y){return String(Y)});F.unshift("Warning: "+k),Function.prototype.apply.call(console[A],console,F)}}function r(A,k){return A===k&&(A!==0||1/A===1/k)||A!==A&&k!==k}var a=typeof Object.is=="function"?Object.is:r,o=e.useState,s=e.useEffect,c=e.useLayoutEffect,p=e.useDebugValue,l=!1,u=!1;function f(A,k,b){l||e.startTransition!==void 0&&(l=!0,i("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var j=k();if(!u){var q=k();a(j,q)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),u=!0)}var F=o({inst:{value:j,getSnapshot:k}}),Y=F[0].inst,H=F[1];return c(function(){Y.value=j,Y.getSnapshot=k,m(Y)&&H({inst:Y})},[A,j,k]),s(function(){m(Y)&&H({inst:Y});var ae=function(){m(Y)&&H({inst:Y})};return A(ae)},[A]),p(j),j}function m(A){var k=A.getSnapshot,b=A.value;try{var j=k();return!a(b,j)}catch{return!0}}function v(A,k,b){return k()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",w=!g,x=w?v:f,O=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:x;ei.useSyncExternalStore=O,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ei}var na;function ll(){return na||(na=1,process.env.NODE_ENV==="production"?un.exports=sl():un.exports=cl()),un.exports}var ia=ll();const Ze=()=>{},Ae=Ze(),ti=Object,N=e=>e===Ae,ze=e=>typeof e=="function",Le=(e,t)=>({...e,...t}),pl=e=>ze(e.then),dn=new WeakMap;let ul=0;const Pt=e=>{const t=typeof e,i=e&&e.constructor,n=i==Date;let r,a;if(ti(e)===e&&!n&&i!=RegExp){if(r=dn.get(e),r)return r;if(r=++ul+"~",dn.set(e,r),i==Array){for(r="@",a=0;a<e.length;a++)r+=Pt(e[a])+",";dn.set(e,r)}if(i==ti){r="#";const o=ti.keys(e).sort();for(;!N(a=o.pop());)N(e[a])||(r+=a+":"+Pt(e[a])+",");dn.set(e,r)}}else r=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return r},Ue=new WeakMap,ni={},fn={},ii="undefined",mn=typeof window!=ii,ri=typeof document!=ii,dl=()=>mn&&typeof window.requestAnimationFrame!=ii,ai=(e,t)=>{const i=Ue.get(e);return[()=>!N(t)&&e.get(t)||ni,n=>{if(!N(t)){const r=e.get(t);t in fn||(fn[t]=r),i[5](t,Le(r,n),r||ni)}},i[6],()=>!N(t)&&t in fn?fn[t]:!N(t)&&e.get(t)||ni]};let oi=!0;const fl=()=>oi,[si,ci]=mn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Ze,Ze],ml=()=>{const e=ri&&document.visibilityState;return N(e)||e!=="hidden"},xl=e=>(ri&&document.addEventListener("visibilitychange",e),si("focus",e),()=>{ri&&document.removeEventListener("visibilitychange",e),ci("focus",e)}),vl=e=>{const t=()=>{oi=!0,e()},i=()=>{oi=!1};return si("online",t),si("offline",i),()=>{ci("online",t),ci("offline",i)}},gl={isOnline:fl,isVisible:ml},hl={initFocus:xl,initReconnect:vl},It=!E.useId,pt=!mn||"Deno"in window,ra=e=>dl()?window.requestAnimationFrame(e):setTimeout(e,1),Qe=pt?E.useEffect:E.useLayoutEffect,li=typeof navigator<"u"&&navigator.connection,aa=!pt&&li&&(["slow-2g","2g"].includes(li.effectiveType)||li.saveData),Bt=e=>{if(ze(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Pt(e):"",[e,t]};let yl=0;const bt=()=>++yl,oa=0,sa=1,ca=2;var Ve={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:oa,MUTATE_EVENT:ca,RECONNECT_EVENT:sa};async function pi(...e){const[t,i,n,r]=e,a=Le({populateCache:!0,throwOnError:!0},typeof r=="boolean"?{revalidate:r}:r||{});let o=a.populateCache;const s=a.rollbackOnError;let c=a.optimisticData;const p=f=>typeof s=="function"?s(f):s!==!1,l=a.throwOnError;if(ze(i)){const f=i,m=[],v=t.keys();for(const g of v)!/^\$(inf|sub)\$/.test(g)&&f(t.get(g)._k)&&m.push(g);return Promise.all(m.map(u))}return u(i);async function u(f){const[m]=Bt(f);if(!m)return;const[v,g]=ai(t,m),[w,x,O,A]=Ue.get(t),k=()=>{const ne=w[m];return(ze(a.revalidate)?a.revalidate(v().data,f):a.revalidate!==!1)&&(delete O[m],delete A[m],ne&&ne[0])?ne[0](ca).then(()=>v().data):v().data};if(e.length<3)return k();let b=n,j;const q=bt();x[m]=[q,0];const F=!N(c),Y=v(),H=Y.data,ae=Y._c,ve=N(ae)?H:ae;if(F&&(c=ze(c)?c(ve,H):c,g({data:c,_c:ve})),ze(b))try{b=b(ve)}catch(ne){j=ne}if(b&&pl(b))if(b=await b.catch(ne=>{j=ne}),q!==x[m][0]){if(j)throw j;return b}else j&&F&&p(j)&&(o=!0,g({data:ve,_c:Ae}));if(o&&!j)if(ze(o)){const ne=o(b,ve);g({data:ne,error:Ae,_c:Ae})}else g({data:b,error:Ae,_c:Ae});if(x[m][1]=bt(),Promise.resolve(k()).then(()=>{g({_c:Ae})}),j){if(l)throw j;return}return b}}const la=(e,t)=>{for(const i in e)e[i][0]&&e[i][0](t)},bl=(e,t)=>{if(!Ue.has(e)){const i=Le(hl,t),n={},r=pi.bind(Ae,e);let a=Ze;const o={},s=(l,u)=>{const f=o[l]||[];return o[l]=f,f.push(u),()=>f.splice(f.indexOf(u),1)},c=(l,u,f)=>{e.set(l,u);const m=o[l];if(m)for(const v of m)v(u,f)},p=()=>{if(!Ue.has(e)&&(Ue.set(e,[n,{},{},{},r,c,s]),!pt)){const l=i.initFocus(setTimeout.bind(Ae,la.bind(Ae,n,oa))),u=i.initReconnect(setTimeout.bind(Ae,la.bind(Ae,n,sa)));a=()=>{l&&l(),u&&u(),Ue.delete(e)}}};return p(),[e,r,p,a]}return[e,Ue.get(e)[4]]},wl=(e,t,i,n,r)=>{const a=i.errorRetryCount,o=r.retryCount,s=~~((Math.random()+.5)*(1<<(o<8?o:8)))*i.errorRetryInterval;!N(a)&&o>a||setTimeout(n,s,r)},El=(e,t)=>Pt(e)==Pt(t),[pa,Sl]=bl(new Map),Rl=Le({onLoadingSlow:Ze,onSuccess:Ze,onError:Ze,onErrorRetry:wl,onDiscarded:Ze,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:aa?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:aa?5e3:3e3,compare:El,isPaused:()=>!1,cache:pa,mutate:Sl,fallback:{}},gl),Tl=(e,t)=>{const i=Le(e,t);if(t){const{use:n,fallback:r}=e,{use:a,fallback:o}=t;n&&a&&(i.use=n.concat(a)),r&&o&&(i.fallback=Le(r,o))}return i},kl=E.createContext({}),Ol="$inf$",ua=mn&&window.__SWR_DEVTOOLS_USE__,_l=ua?window.__SWR_DEVTOOLS_USE__:[],Al=()=>{ua&&(window.__SWR_DEVTOOLS_REACT__=E)},da=e=>ze(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],fa=()=>Le(Rl,E.useContext(kl)),Cl=e=>(t,i,n)=>e(t,i&&((...a)=>{const[o]=Bt(t),[,,,s]=Ue.get(pa);if(o.startsWith(Ol))return i(...a);const c=s[o];return N(c)?i(...a):(delete s[o],c)}),n),Dl=_l.concat(Cl),ma=e=>function(...i){const n=fa(),[r,a,o]=da(i),s=Tl(n,o);let c=e;const{use:p}=s,l=(p||[]).concat(Dl);for(let u=l.length;u--;)c=l[u](c);return c(r,a||s.fetcher||null,s)},xa=(e,t,i)=>{const n=t[e]||(t[e]=[]);return n.push(i),()=>{const r=n.indexOf(i);r>=0&&(n[r]=n[n.length-1],n.pop())}},jl=(e,t)=>(...i)=>{const[n,r,a]=da(i),o=(a.use||[]).concat(t);return e(n,r,{...a,use:o})};Al();const va=E.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),ui={dedupe:!0},Fl=ma((e,t,i)=>{const{cache:n,compare:r,suspense:a,fallbackData:o,revalidateOnMount:s,revalidateIfStale:c,refreshInterval:p,refreshWhenHidden:l,refreshWhenOffline:u,keepPreviousData:f}=i,[m,v,g,w]=Ue.get(n),[x,O]=Bt(e),A=E.useRef(!1),k=E.useRef(!1),b=E.useRef(x),j=E.useRef(t),q=E.useRef(i),F=()=>q.current,Y=()=>F().isVisible()&&F().isOnline(),[H,ae,ve,ne]=ai(n,x),V=E.useRef({}).current,pe=N(o)?i.fallback[x]:o,Ee=(y,P)=>{for(const X in V){const $=X;if($==="data"){if(!r(y[$],P[$])&&(!N(y[$])||!r(G,P[$])))return!1}else if(P[$]!==y[$])return!1}return!0},Se=E.useMemo(()=>{const y=!x||!t?!1:N(s)?F().isPaused()||a?!1:N(c)?!0:c:s,P=ee=>{const be=Le(ee);return delete be._k,y?{isValidating:!0,isLoading:!0,...be}:be},X=H(),$=ne(),de=P(X),Re=X===$?de:P($);let Q=de;return[()=>{const ee=P(H());return Ee(ee,Q)?(Q.data=ee.data,Q.isLoading=ee.isLoading,Q.isValidating=ee.isValidating,Q.error=ee.error,Q):(Q=ee,ee)},()=>Re]},[n,x]),ue=ia.useSyncExternalStore(E.useCallback(y=>ve(x,(P,X)=>{Ee(X,P)||y()}),[n,x]),Se[0],Se[1]),ye=!A.current,R=m[x]&&m[x].length>0,_=ue.data,B=N(_)?pe:_,W=ue.error,z=E.useRef(B),G=f?N(_)?z.current:_:B,L=R&&!N(W)?!1:ye&&!N(s)?s:F().isPaused()?!1:a?N(B)?!1:c:N(B)||c,U=!!(x&&t&&ye&&L),J=N(ue.isValidating)?U:ue.isValidating,te=N(ue.isLoading)?U:ue.isLoading,M=E.useCallback(async y=>{const P=j.current;if(!x||!P||k.current||F().isPaused())return!1;let X,$,de=!0;const Re=y||{},Q=!g[x]||!Re.dedupe,ee=()=>It?!k.current&&x===b.current&&A.current:x===b.current,be={isValidating:!1,isLoading:!1},Ge=()=>{ae(be)},Ne=()=>{const S=g[x];S&&S[1]===$&&delete g[x]},Ye={isValidating:!0};N(H().data)&&(Ye.isLoading=!0);try{if(Q&&(ae(Ye),i.loadingTimeout&&N(H().data)&&setTimeout(()=>{de&&ee()&&F().onLoadingSlow(x,i)},i.loadingTimeout),g[x]=[P(O),bt()]),[X,$]=g[x],X=await X,Q&&setTimeout(Ne,i.dedupingInterval),!g[x]||g[x][1]!==$)return Q&&ee()&&F().onDiscarded(x),!1;be.error=Ae;const S=v[x];if(!N(S)&&($<=S[0]||$<=S[1]||S[1]===0))return Ge(),Q&&ee()&&F().onDiscarded(x),!1;const C=H().data;be.data=r(C,X)?C:X,Q&&ee()&&F().onSuccess(X,x,i)}catch(S){Ne();const C=F(),{shouldRetryOnError:oe}=C;C.isPaused()||(be.error=S,Q&&ee()&&(C.onError(S,x,C),(oe===!0||ze(oe)&&oe(S))&&(!F().revalidateOnFocus||!F().revalidateOnReconnect||Y())&&C.onErrorRetry(S,x,C,me=>{const Te=m[x];Te&&Te[0]&&Te[0](Ve.ERROR_REVALIDATE_EVENT,me)},{retryCount:(Re.retryCount||0)+1,dedupe:!0})))}return de=!1,Ge(),!0},[x,n]),ge=E.useCallback((...y)=>pi(n,b.current,...y),[]);if(Qe(()=>{j.current=t,q.current=i,N(_)||(z.current=_)}),Qe(()=>{if(!x)return;const y=M.bind(Ae,ui);let P=0;const $=xa(x,m,(de,Re={})=>{if(de==Ve.FOCUS_EVENT){const Q=Date.now();F().revalidateOnFocus&&Q>P&&Y()&&(P=Q+F().focusThrottleInterval,y())}else if(de==Ve.RECONNECT_EVENT)F().revalidateOnReconnect&&Y()&&y();else{if(de==Ve.MUTATE_EVENT)return M();if(de==Ve.ERROR_REVALIDATE_EVENT)return M(Re)}});return k.current=!1,b.current=x,A.current=!0,ae({_k:O}),L&&(N(B)||pt?y():ra(y)),()=>{k.current=!0,$()}},[x]),Qe(()=>{let y;function P(){const $=ze(p)?p(H().data):p;$&&y!==-1&&(y=setTimeout(X,$))}function X(){!H().error&&(l||F().isVisible())&&(u||F().isOnline())?M(ui).then(P):P()}return P(),()=>{y&&(clearTimeout(y),y=-1)}},[p,l,u,x]),E.useDebugValue(G),a&&N(B)&&x){if(!It&&pt)throw new Error("Fallback data is required when using suspense in SSR.");j.current=t,q.current=i,k.current=!1;const y=w[x];if(!N(y)){const P=ge(y);va(P)}if(N(W)){const P=M(ui);N(G)||(P.status="fulfilled",P.value=!0),va(P)}else throw W}return{mutate:ge,get data(){return V.data=!0,G},get error(){return V.error=!0,W},get isValidating(){return V.isValidating=!0,J},get isLoading(){return V.isLoading=!0,te}}}),ga=E.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)}),di={dedupe:!0},Pl=ma((e,t,i)=>{const{cache:n,compare:r,suspense:a,fallbackData:o,revalidateOnMount:s,revalidateIfStale:c,refreshInterval:p,refreshWhenHidden:l,refreshWhenOffline:u,keepPreviousData:f}=i,[m,v,g,w]=Ue.get(n),[x,O]=Bt(e),A=E.useRef(!1),k=E.useRef(!1),b=E.useRef(x),j=E.useRef(t),q=E.useRef(i),F=()=>q.current,Y=()=>F().isVisible()&&F().isOnline(),[H,ae,ve,ne]=ai(n,x),V=E.useRef({}).current,pe=N(o)?i.fallback[x]:o,Ee=(y,P)=>{for(const X in V){const $=X;if($==="data"){if(!r(y[$],P[$])&&(!N(y[$])||!r(G,P[$])))return!1}else if(P[$]!==y[$])return!1}return!0},Se=E.useMemo(()=>{const y=!x||!t?!1:N(s)?F().isPaused()||a?!1:N(c)?!0:c:s,P=ee=>{const be=Le(ee);return delete be._k,y?{isValidating:!0,isLoading:!0,...be}:be},X=H(),$=ne(),de=P(X),Re=X===$?de:P($);let Q=de;return[()=>{const ee=P(H());return Ee(ee,Q)?(Q.data=ee.data,Q.isLoading=ee.isLoading,Q.isValidating=ee.isValidating,Q.error=ee.error,Q):(Q=ee,ee)},()=>Re]},[n,x]),ue=ia.useSyncExternalStore(E.useCallback(y=>ve(x,(P,X)=>{Ee(X,P)||y()}),[n,x]),Se[0],Se[1]),ye=!A.current,R=m[x]&&m[x].length>0,_=ue.data,B=N(_)?pe:_,W=ue.error,z=E.useRef(B),G=f?N(_)?z.current:_:B,L=R&&!N(W)?!1:ye&&!N(s)?s:F().isPaused()?!1:a?N(B)?!1:c:N(B)||c,U=!!(x&&t&&ye&&L),J=N(ue.isValidating)?U:ue.isValidating,te=N(ue.isLoading)?U:ue.isLoading,M=E.useCallback(async y=>{const P=j.current;if(!x||!P||k.current||F().isPaused())return!1;let X,$,de=!0;const Re=y||{},Q=!g[x]||!Re.dedupe,ee=()=>It?!k.current&&x===b.current&&A.current:x===b.current,be={isValidating:!1,isLoading:!1},Ge=()=>{ae(be)},Ne=()=>{const S=g[x];S&&S[1]===$&&delete g[x]},Ye={isValidating:!0};N(H().data)&&(Ye.isLoading=!0);try{if(Q&&(ae(Ye),i.loadingTimeout&&N(H().data)&&setTimeout(()=>{de&&ee()&&F().onLoadingSlow(x,i)},i.loadingTimeout),g[x]=[P(O),bt()]),[X,$]=g[x],X=await X,Q&&setTimeout(Ne,i.dedupingInterval),!g[x]||g[x][1]!==$)return Q&&ee()&&F().onDiscarded(x),!1;be.error=Ae;const S=v[x];if(!N(S)&&($<=S[0]||$<=S[1]||S[1]===0))return Ge(),Q&&ee()&&F().onDiscarded(x),!1;const C=H().data;be.data=r(C,X)?C:X,Q&&ee()&&F().onSuccess(X,x,i)}catch(S){Ne();const C=F(),{shouldRetryOnError:oe}=C;C.isPaused()||(be.error=S,Q&&ee()&&(C.onError(S,x,C),(oe===!0||ze(oe)&&oe(S))&&(!F().revalidateOnFocus||!F().revalidateOnReconnect||Y())&&C.onErrorRetry(S,x,C,me=>{const Te=m[x];Te&&Te[0]&&Te[0](Ve.ERROR_REVALIDATE_EVENT,me)},{retryCount:(Re.retryCount||0)+1,dedupe:!0})))}return de=!1,Ge(),!0},[x,n]),ge=E.useCallback((...y)=>pi(n,b.current,...y),[]);if(Qe(()=>{j.current=t,q.current=i,N(_)||(z.current=_)}),Qe(()=>{if(!x)return;const y=M.bind(Ae,di);let P=0;const $=xa(x,m,(de,Re={})=>{if(de==Ve.FOCUS_EVENT){const Q=Date.now();F().revalidateOnFocus&&Q>P&&Y()&&(P=Q+F().focusThrottleInterval,y())}else if(de==Ve.RECONNECT_EVENT)F().revalidateOnReconnect&&Y()&&y();else{if(de==Ve.MUTATE_EVENT)return M();if(de==Ve.ERROR_REVALIDATE_EVENT)return M(Re)}});return k.current=!1,b.current=x,A.current=!0,ae({_k:O}),L&&(N(B)||pt?y():ra(y)),()=>{k.current=!0,$()}},[x]),Qe(()=>{let y;function P(){const $=ze(p)?p(H().data):p;$&&y!==-1&&(y=setTimeout(X,$))}function X(){!H().error&&(l||F().isVisible())&&(u||F().isOnline())?M(di).then(P):P()}return P(),()=>{y&&(clearTimeout(y),y=-1)}},[p,l,u,x]),E.useDebugValue(G),a&&N(B)&&x){if(!It&&pt)throw new Error("Fallback data is required when using suspense in SSR.");j.current=t,q.current=i,k.current=!1;const y=w[x];if(!N(y)){const P=ge(y);ga(P)}if(N(W)){const P=M(di);N(G)||(P.status="fulfilled",P.value=!0),ga(P)}else throw W}return{mutate:ge,get data(){return V.data=!0,G},get error(){return V.error=!0,W},get isValidating(){return V.isValidating=!0,J},get isLoading(){return V.isLoading=!0,te}}}),ha=It?e=>{e()}:E.startTransition,Il=e=>{const[,t]=E.useState({}),i=E.useRef(!1),n=E.useRef(e),r=E.useRef({data:!1,error:!1,isValidating:!1}),a=E.useCallback(o=>{let s=!1;const c=n.current;for(const p in o){const l=p;c[l]!==o[l]&&(c[l]=o[l],r.current[l]&&(s=!0))}s&&!i.current&&t({})},[]);return Qe(()=>(i.current=!1,()=>{i.current=!0})),[n,r.current,a]},Bl=jl(Pl,()=>(e,t,i={})=>{const{mutate:n}=fa(),r=E.useRef(e),a=E.useRef(t),o=E.useRef(i),s=E.useRef(0),[c,p,l]=Il({data:Ae,error:Ae,isMutating:!1}),u=c.current,f=E.useCallback(async(v,g)=>{const[w,x]=Bt(r.current);if(!a.current)throw new Error("Can’t trigger the mutation: missing fetcher.");if(!w)throw new Error("Can’t trigger the mutation: missing key.");const O=Le(Le({populateCache:!1,throwOnError:!0},o.current),g),A=bt();s.current=A,l({isMutating:!0});try{const k=await n(w,a.current(x,{arg:v}),Le(O,{throwOnError:!0}));return s.current<=A&&(ha(()=>l({data:k,isMutating:!1,error:void 0})),O.onSuccess==null||O.onSuccess.call(O,k,w,O)),k}catch(k){if(s.current<=A&&(ha(()=>l({error:k,isMutating:!1})),O.onError==null||O.onError.call(O,k,w,O),O.throwOnError))throw k}},[]),m=E.useCallback(()=>{s.current=bt(),l({data:Ae,error:Ae,isMutating:!1})},[]);return Qe(()=>{r.current=e,a.current=t,o.current=i}),{trigger:f,reset:m,get data(){return p.data=!0,u.data},get error(){return p.error=!0,u.error},get isMutating(){return p.isMutating=!0,u.isMutating}}}),zl=e=>{const t=r=>typeof r=="object"&&!(r instanceof Date)&&!(r instanceof File)&&r!==null,i=(r,a,o)=>{for(const s in a){const c=a[s];t(c)?i(`${r}[${s}]`,c,o):c!==void 0&&o.append(`${r}[${s}]`,c===null?"":c)}},n=new FormData;for(const r in e){const a=e[r];a instanceof File?n.append(r,a,a.name):a!==void 0&&(t(a)?i(r,a,n):n.append(r,a===null?"":a))}return n};function xn(e,t,i){for(let n=0;n<e.length;++n)t[i+n]=e.charCodeAt(n)}function vn(e,t,i){e=Math.floor(e),t[i+0]=e&255,t[i+1]=e>>8&255}function ut(e,t,i){e=Math.floor(e),t[i+0]=e&255,t[i+1]=e>>8&255,t[i+2]=e>>16&255,t[i+3]=e>>24&255}function Ll(e){const t=new ArrayBuffer(4);return new Float32Array(t)[0]=e,new Uint32Array(t)[0]|0}function Ml(e,t,i,n){let r=0,a=0;const o=e.length,s=e.numberOfChannels;let c,p;for(r=0;r<o;++r)for(a=0;a<s;++a)if(c=e.getChannelData(a),n===16)p=c[r]*32768,p=Math.max(-32768,Math.min(p,32767)),vn(p,t,i),i+=2;else if(n===32)p=Ll(c[r]),ut(p,t,i),i+=4;else{console.log("Invalid bit depth for PCM encoding.");return}}async function $l(e,t){let i=e instanceof Blob?e:new Blob(e);const n=URL.createObjectURL(i),a=await(await fetch(n)).arrayBuffer();return await new AudioContext(t).decodeAudioData(a)}async function Nl(e,t=!1){const i=e.length,n=e.numberOfChannels,r=e.sampleRate,a=t?32:16,o=a/8,s=r*n*a/8,c=n*a/8,p=i*n*o,u=44+p,f=new Uint8Array(u),m=16,v=p,g=4+(8+m)+(8+v);return xn("RIFF",f,0),ut(g,f,4),xn("WAVE",f,8),xn("fmt ",f,12),ut(m,f,16),vn(t?3:1,f,20),vn(n,f,22),ut(r,f,24),ut(s,f,28),vn(c,f,32),ut(a,f,34),xn("data",f,36),ut(v,f,40),Ml(e,f,44,a),new Blob([f],{type:"audio/wave"})}async function ql(e,t=!1,i){const n=await $l(e,i);return Nl(n,t)}const Wl=128;class Ul{constructor(){hn(this,"mediaRecorder",null);hn(this,"stream",null);hn(this,"__data",null)}async checkMicrophonePermission(){var n;return!!(await((n=navigator==null?void 0:navigator.mediaDevices)==null?void 0:n.enumerateDevices())).find(r=>r.kind==="audioinput"&&!!r.label)}async startRecording(){var t;if(((t=this.mediaRecorder)==null?void 0:t.state)==="recording")return!0;try{this.stream=await navigator.mediaDevices.getUserMedia({audio:!0,video:!1}),this.mediaRecorder=new MediaRecorder(this.stream,{bitsPerSecond:Wl*1e3}),this.mediaRecorder.ondataavailable=i=>this.__data=i.data}catch(i){return console.error(i),!1}return this.mediaRecorder.start(),!0}stopRecording(){return new Promise(t=>{var i;if(((i=this.mediaRecorder)==null?void 0:i.state)!=="recording"){t(!0);return}this.mediaRecorder.stop(),this.mediaRecorder.onstop=()=>{var n;(n=this.stream)==null||n.getTracks().forEach(r=>r.stop()),this.mediaRecorder=null,this.stream=null,t(!0)}})}async getWavBlob(){return this.__data?await ql(this.__data):null}}const gn=new Ul,fi="Recording.wav",ya=1500,Vl=e=>{const[t,i]=E.useState(!1),[n,r]=E.useState(!1),[a,o]=E.useState(!1);return E.useEffect(()=>{var p;const c=async()=>{gn.checkMicrophonePermission().then(i)};return c(),(p=navigator==null?void 0:navigator.mediaDevices)==null||p.addEventListener("devicechange",c),()=>{var l;return(l=navigator==null?void 0:navigator.mediaDevices)==null?void 0:l.removeEventListener("devicechange",c)}},[]),{hasMicAccess:t,isRecording:n,hasMinTimeElapsed:a,handleClick:async()=>{if(n){if(!a)return;r(!1),o(!1),await gn.stopRecording();const p=await gn.getWavBlob();if(!p){console.log("Failed to get audio blob",p);return}const l=new File([p],fi,{type:"audio/mpeg",lastModified:Date.now()});e.onFileUpdate(l);return}const c=await gn.startRecording();r(c),setTimeout(()=>{o(!0)},ya)}}},ba=_e.create({baseURL:"https://arpeggi.io/api/v2/"}),Hl=async(e,{arg:t})=>(await ba.post("/ml-inference-jobs",zl({soundFile:t.file,voiceModelId:t.voiceModelId,metadata:{isRecordedAudio:t.file.name===fi}}))).data,Gl=async e=>e===null?null:(await ba.get(e)).data,Yl=e=>{const t=e>0;return Fl(t?`/ml-inference-jobs/${e}`:null,Gl,{refreshInterval:1e3})},Kl=()=>{const[e,t]=E.useState(null),[i,n]=E.useState(0),[r,a]=E.useState(0),{data:o,isLoading:s}=Yl(i),{trigger:c,isMutating:p}=Bl("/ml-inference-jobs",Hl);return{file:e,setFile:t,mlijId:i,setMlijId:n,voiceModelId:r,setVoiceModelId:a,data:o,isLoading:s,handleSelectVoice:async f=>{e&&(a(f),c({file:e,voiceModelId:f},{onSuccess:m=>{console.log("created mlij",m),n(m.id)}}))},reset:()=>{t(null),n(0),a(0)},isMutating:p}},wa=E.createContext({}),Ea=()=>E.useContext(wa),Jl=({children:e})=>{const t=Kl();return Pe.jsx(wa.Provider,{value:t,children:e})},Xl=1,Zl=100*1024*1024,Ql=1,ep=100,tp=({children:e})=>{const{setFile:t}=Ea(),i=n=>t(n[0]);return Pe.jsx(xr,{files:[],onFileAccepted:i,maxFileCount:Xl,maxSizeBytes:Zl,minSizeBytes:Ql,maxDurationS:ep,children:e})};ke.AudioFilePickerRoot=xr,ke.ConvertStep=zs,ke.FilePicker=tp,ke.GuestConvertProvider=Jl,ke.MIN_RECORDING_LENGTH_MS=ya,ke.RECORDED_AUDIO_NAME=fi,ke.useAudioFilePickerContext=Cs,ke.useGuestConvertContext=Ea,ke.useRecorder=Vl,Object.defineProperty(ke,Symbol.toStringTag,{value:"Module"})});
70
70
  //# sourceMappingURL=index.umd.js.map