arpeggi-framer-components 0.0.31 → 0.0.32
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +288 -271
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +17 -17
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.umd.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(me,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],w):(me=typeof globalThis<"u"?globalThis:me||self,w(me["react-beautiful-timeline"]={},me.React))})(this,function(me,w){"use strict";var Vp=Object.defineProperty;var Hp=(me,w,
|
1
|
+
(function(me,w){typeof exports=="object"&&typeof module<"u"?w(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],w):(me=typeof globalThis<"u"?globalThis:me||self,w(me["react-beautiful-timeline"]={},me.React))})(this,function(me,w){"use strict";var Vp=Object.defineProperty;var Hp=(me,w,xt)=>w in me?Vp(me,w,{enumerable:!0,configurable:!0,writable:!0,value:xt}):me[w]=xt;var En=(me,w,xt)=>Hp(me,typeof w!="symbol"?w+"":w,xt);function xt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const n=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,n.get?n:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const Vo=xt(w);var Ht=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Sn,Ei;function Ho(){if(Ei)return Sn;Ei=1;var e="Expected a function",t=NaN,i="[object Symbol]",n=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,s=parseInt,c=typeof Ht=="object"&&Ht&&Ht.Object===Object&&Ht,p=typeof self=="object"&&self&&self.Object===Object&&self,l=c||p||Function("return this")(),u=Object.prototype,f=u.toString,x=Math.max,h=Math.min,g=function(){return l.Date.now()};function E(v,C,L){var j,G,Y,ie,re,Z,W=0,le=!1,xe=!1,we=!0;if(typeof v!="function")throw new TypeError(e);C=k(C)||0,m(L)&&(le=!!L.leading,xe="maxWait"in L,Y=xe?x(k(L.maxWait)||0,C):Y,we="trailing"in L?!!L.trailing:we);function ce(P){var H=j,J=G;return j=G=void 0,W=P,ie=v.apply(J,H),ie}function he(P){return W=P,re=setTimeout(z,C),le?ce(P):ie}function T(P){var H=P-Z,J=P-W,N=C-H;return xe?h(N,Y-J):N}function _(P){var H=P-Z,J=P-W;return Z===void 0||H>=C||H<0||xe&&J>=Y}function z(){var P=g();if(_(P))return q(P);re=setTimeout(z,T(P))}function q(P){return re=void 0,we&&j?ce(P):(j=G=void 0,ie)}function $(){re!==void 0&&clearTimeout(re),W=0,j=Z=G=re=void 0}function K(){return re===void 0?ie:q(g())}function M(){var P=g(),H=_(P);if(j=arguments,G=this,Z=P,H){if(re===void 0)return he(Z);if(xe)return re=setTimeout(z,C),ce(Z)}return re===void 0&&(re=setTimeout(z,C)),ie}return M.cancel=$,M.flush=K,M}function m(v){var C=typeof v;return!!v&&(C=="object"||C=="function")}function O(v){return!!v&&typeof v=="object"}function A(v){return typeof v=="symbol"||O(v)&&f.call(v)==i}function k(v){if(typeof v=="number")return v;if(A(v))return t;if(m(v)){var C=typeof v.valueOf=="function"?v.valueOf():v;v=m(C)?C+"":C}if(typeof v!="string")return v===0?v:+v;v=v.replace(n,"");var L=o.test(v);return L||a.test(v)?s(v.slice(2),L?2:8):r.test(v)?t:+v}return Sn=E,Sn}Ho();var Go=typeof window<"u"?w.useLayoutEffect:w.useEffect,Yo=typeof window>"u";function Ko(e,{defaultValue:t=!1,initializeWithValue:i=!0}={}){const n=s=>Yo?t:window.matchMedia(s).matches,[r,o]=w.useState(()=>i?n(e):t);function a(){o(n(e))}return Go(()=>{const s=window.matchMedia(e);return a(),s.addListener?s.addListener(a):s.addEventListener("change",a),()=>{s.removeListener?s.removeListener(a):s.removeEventListener("change",a)}},[e]),r}var Gt={exports:{}},kt={};/**
|
2
2
|
* @license React
|
3
3
|
* react-jsx-runtime.production.min.js
|
4
4
|
*
|
@@ -14,15 +14,15 @@
|
|
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
|
18
|
-
`+P+d}}var J=!1,N;{var Ee=typeof WeakMap=="function"?WeakMap:Map;N=new Ee}function b(d,
|
17
|
+
*/var Ti;function Xo(){return Ti||(Ti=1,process.env.NODE_ENV!=="production"&&function(){var e=w,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"),x=Symbol.for("react.offscreen"),h=Symbol.iterator,g="@@iterator";function E(d){if(d===null||typeof d!="object")return null;var R=h&&d[h]||d[g];return typeof R=="function"?R:null}var m=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function O(d){{for(var R=arguments.length,F=new Array(R>1?R-1:0),X=1;X<R;X++)F[X-1]=arguments[X];A("error",d,F)}}function A(d,R,F){{var X=m.ReactDebugCurrentFrame,fe=X.getStackAddendum();fe!==""&&(R+="%s",F=F.concat([fe]));var Se=F.map(function(se){return String(se)});Se.unshift("Warning: "+R),Function.prototype.apply.call(console[d],console,Se)}}var k=!1,v=!1,C=!1,L=!1,j=!1,G;G=Symbol.for("react.module.reference");function Y(d){return!!(typeof d=="string"||typeof d=="function"||d===n||d===o||j||d===r||d===p||d===l||L||d===x||k||v||C||typeof d=="object"&&d!==null&&(d.$$typeof===f||d.$$typeof===u||d.$$typeof===a||d.$$typeof===s||d.$$typeof===c||d.$$typeof===G||d.getModuleId!==void 0))}function ie(d,R,F){var X=d.displayName;if(X)return X;var fe=R.displayName||R.name||"";return fe!==""?F+"("+fe+")":F}function re(d){return d.displayName||"Context"}function Z(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 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 R=d;return re(R)+".Consumer";case a:var F=d;return re(F._context)+".Provider";case c:return ie(d,d.render,"ForwardRef");case u:var X=d.displayName||null;return X!==null?X:Z(d.type)||"Memo";case f:{var fe=d,Se=fe._payload,se=fe._init;try{return Z(se(Se))}catch{return null}}}return null}var W=Object.assign,le=0,xe,we,ce,he,T,_,z;function q(){}q.__reactDisabledLog=!0;function $(){{if(le===0){xe=console.log,we=console.info,ce=console.warn,he=console.error,T=console.group,_=console.groupCollapsed,z=console.groupEnd;var d={configurable:!0,enumerable:!0,value:q,writable:!0};Object.defineProperties(console,{info:d,log:d,warn:d,error:d,group:d,groupCollapsed:d,groupEnd:d})}le++}}function K(){{if(le--,le===0){var d={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:W({},d,{value:xe}),info:W({},d,{value:we}),warn:W({},d,{value:ce}),error:W({},d,{value:he}),group:W({},d,{value:T}),groupCollapsed:W({},d,{value:_}),groupEnd:W({},d,{value:z})})}le<0&&O("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var M=m.ReactCurrentDispatcher,P;function H(d,R,F){{if(P===void 0)try{throw Error()}catch(fe){var X=fe.stack.trim().match(/\n( *(at )?)/);P=X&&X[1]||""}return`
|
18
|
+
`+P+d}}var J=!1,N;{var Ee=typeof WeakMap=="function"?WeakMap:Map;N=new Ee}function b(d,R){if(!d||J)return"";{var F=N.get(d);if(F!==void 0)return F}var X;J=!0;var fe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Se;Se=M.current,M.current=null,$();try{if(R){var se=function(){throw Error()};if(Object.defineProperty(se.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(se,[])}catch(Xe){X=Xe}Reflect.construct(d,[],se)}else{try{se.call()}catch(Xe){X=Xe}d.call(se.prototype)}}else{try{throw Error()}catch(Xe){X=Xe}d()}}catch(Xe){if(Xe&&X&&typeof Xe.stack=="string"){for(var ae=Xe.stack.split(`
|
19
19
|
`),Pe=X.stack.split(`
|
20
|
-
`),Ce=
|
21
|
-
`+
|
20
|
+
`),Ce=ae.length-1,je=Pe.length-1;Ce>=1&&je>=0&&ae[Ce]!==Pe[je];)je--;for(;Ce>=1&&je>=0;Ce--,je--)if(ae[Ce]!==Pe[je]){if(Ce!==1||je!==1)do if(Ce--,je--,je<0||ae[Ce]!==Pe[je]){var Me=`
|
21
|
+
`+ae[Ce].replace(" at new "," at ");return d.displayName&&Me.includes("<anonymous>")&&(Me=Me.replace("<anonymous>",d.displayName)),typeof d=="function"&&N.set(d,Me),Me}while(Ce>=1&&je>=0);break}}}finally{J=!1,M.current=Se,K(),Error.prepareStackTrace=fe}var Rt=d?d.displayName||d.name:"",Uo=Rt?H(Rt):"";return typeof d=="function"&&N.set(d,Uo),Uo}function I(d,R,F){return b(d,!1)}function Q(d){var R=d.prototype;return!!(R&&R.isReactComponent)}function U(d,R,F){if(d==null)return"";if(typeof d=="function")return b(d,Q(d));if(typeof d=="string")return H(d);switch(d){case p:return H("Suspense");case l:return H("SuspenseList")}if(typeof d=="object")switch(d.$$typeof){case c:return I(d.render);case u:return U(d.type,R,F);case f:{var X=d,fe=X._payload,Se=X._init;try{return U(Se(fe),R,F)}catch{}}}return""}var ve=Object.prototype.hasOwnProperty,ke={},te=m.ReactDebugCurrentFrame;function ne(d){if(d){var R=d._owner,F=U(d.type,d._source,R?R.type:null);te.setExtraStackFrame(F)}else te.setExtraStackFrame(null)}function Te(d,R,F,X,fe){{var Se=Function.call.bind(ve);for(var se in d)if(Se(d,se)){var ae=void 0;try{if(typeof d[se]!="function"){var Pe=Error((X||"React class")+": "+F+" type `"+se+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof d[se]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Pe.name="Invariant Violation",Pe}ae=d[se](R,se,X,F,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Ce){ae=Ce}ae&&!(ae instanceof Error)&&(ne(fe),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).",X||"React class",F,se,typeof ae),ne(null)),ae instanceof Error&&!(ae.message in ke)&&(ke[ae.message]=!0,ne(fe),O("Failed %s type: %s",F,ae.message),ne(null))}}}var Ye=Array.isArray;function qe(d){return Ye(d)}function Ke(d){{var R=typeof Symbol=="function"&&Symbol.toStringTag,F=R&&d[Symbol.toStringTag]||d.constructor.name||"Object";return F}}function S(d){try{return D(d),!1}catch{return!0}}function D(d){return""+d}function pe(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.",Ke(d)),D(d)}var ye=m.ReactCurrentOwner,Oe={key:!0,ref:!0,__self:!0,__source:!0},tt,Je,mt;mt={};function Mt(d){if(ve.call(d,"ref")){var R=Object.getOwnPropertyDescriptor(d,"ref").get;if(R&&R.isReactWarning)return!1}return d.ref!==void 0}function $t(d){if(ve.call(d,"key")){var R=Object.getOwnPropertyDescriptor(d,"key").get;if(R&&R.isReactWarning)return!1}return d.key!==void 0}function St(d,R){if(typeof d.ref=="string"&&ye.current&&R&&ye.current.stateNode!==R){var F=Z(ye.current.type);mt[F]||(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',Z(ye.current.type),d.ref),mt[F]=!0)}}function Nt(d,R){{var F=function(){tt||(tt=!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)",R))};F.isReactWarning=!0,Object.defineProperty(d,"key",{get:F,configurable:!0})}}function qt(d,R){{var F=function(){Je||(Je=!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)",R))};F.isReactWarning=!0,Object.defineProperty(d,"ref",{get:F,configurable:!0})}}var Wt=function(d,R,F,X,fe,Se,se){var ae={$$typeof:t,type:d,key:R,ref:F,props:se,_owner:Se};return ae._store={},Object.defineProperty(ae._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ae,"_self",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.defineProperty(ae,"_source",{configurable:!1,enumerable:!1,writable:!1,value:fe}),Object.freeze&&(Object.freeze(ae.props),Object.freeze(ae)),ae};function Ut(d,R,F,X,fe){{var Se,se={},ae=null,Pe=null;F!==void 0&&(pe(F),ae=""+F),$t(R)&&(pe(R.key),ae=""+R.key),Mt(R)&&(Pe=R.ref,St(R,fe));for(Se in R)ve.call(R,Se)&&!Oe.hasOwnProperty(Se)&&(se[Se]=R[Se]);if(d&&d.defaultProps){var Ce=d.defaultProps;for(Se in Ce)se[Se]===void 0&&(se[Se]=Ce[Se])}if(ae||Pe){var je=typeof d=="function"?d.displayName||d.name||"Unknown":d;ae&&Nt(se,je),Pe&&qt(se,je)}return Wt(d,ae,Pe,fe,X,ye.current,se)}}var Vt=m.ReactCurrentOwner,zo=m.ReactDebugCurrentFrame;function Tt(d){if(d){var R=d._owner,F=U(d.type,d._source,R?R.type:null);zo.setExtraStackFrame(F)}else zo.setExtraStackFrame(null)}var yi;yi=!1;function bi(d){return typeof d=="object"&&d!==null&&d.$$typeof===t}function Mo(){{if(Vt.current){var d=Z(Vt.current.type);if(d)return`
|
22
22
|
|
23
|
-
Check the render method of \``+d+"`."}return""}}function Lp(d){return""}var $o={};function zp(d){{var
|
23
|
+
Check the render method of \``+d+"`."}return""}}function Lp(d){return""}var $o={};function zp(d){{var R=Mo();if(!R){var F=typeof d=="string"?d:d.displayName||d.name;F&&(R=`
|
24
24
|
|
25
|
-
Check the top-level render call using <`+F+">.")}return T}}function No(d,T){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var F=zp(T);if($o[F])return;$o[F]=!0;var X="";d&&d._owner&&d._owner!==Vt.current&&(X=" It was passed a child from "+Z(d._owner.type)+"."),Rt(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.',F,X),Rt(null)}}function qo(d,T){{if(typeof d!="object")return;if(qe(d))for(var F=0;F<d.length;F++){var X=d[F];bi(X)&&No(X,T)}else if(bi(d))d._store&&(d._store.validated=!0);else if(d){var fe=E(d);if(typeof fe=="function"&&fe!==d.entries)for(var Se=fe.call(d),ae;!(ae=Se.next()).done;)bi(ae.value)&&No(ae.value,T)}}}function Mp(d){{var T=d.type;if(T==null||typeof T=="string")return;var F;if(typeof T=="function")F=T.propTypes;else if(typeof T=="object"&&(T.$$typeof===c||T.$$typeof===u))F=T.propTypes;else return;if(F){var X=Z(T);Re(F,d.props,"prop",X,d)}else if(T.PropTypes!==void 0&&!yi){yi=!0;var fe=Z(T);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",fe||"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 $p(d){{for(var T=Object.keys(d.props),F=0;F<T.length;F++){var X=T[F];if(X!=="children"&&X!=="key"){Rt(d),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",X),Rt(null);break}}d.ref!==null&&(Rt(d),O("Invalid attribute `ref` supplied to `React.Fragment`."),Rt(null))}}function Wo(d,T,F,X,fe,Se){{var ae=Y(d);if(!ae){var oe="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(oe+=" 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 Pe=Lp();Pe?oe+=Pe:oe+=Mo();var Ce;d===null?Ce="null":qe(d)?Ce="array":d!==void 0&&d.$$typeof===t?(Ce="<"+(Z(d.type)||"Unknown")+" />",oe=" Did you accidentally export a JSX literal instead of a component?"):Ce=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",Ce,oe)}var je=Ut(d,T,F,fe,Se);if(je==null)return je;if(ae){var Me=T.children;if(Me!==void 0)if(X)if(qe(Me)){for(var Tt=0;Tt<Me.length;Tt++)qo(Me[Tt],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 qo(Me,d)}return d===n?$p(je):Mp(je),je}}function Np(d,T,F){return Wo(d,T,F,!0)}function qp(d,T,F){return Wo(d,T,F,!1)}var Wp=qp,Up=Np;Ot.Fragment=n,Ot.jsx=Wp,Ot.jsxs=Up}()),Ot}var Ti;function Zo(){return Ti||(Ti=1,process.env.NODE_ENV==="production"?Gt.exports=Jo():Gt.exports=Xo()),Gt.exports}var se=Zo(),ge="colors",Fe="sizes",B="space",Qo={gap:B,gridGap:B,columnGap:B,gridColumnGap:B,rowGap:B,gridRowGap:B,inset:B,insetBlock:B,insetBlockEnd:B,insetBlockStart:B,insetInline:B,insetInlineEnd:B,insetInlineStart:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,marginBlock:B,marginBlockEnd:B,marginBlockStart:B,marginInline:B,marginInlineEnd:B,marginInlineStart:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,paddingBlock:B,paddingBlockEnd:B,paddingBlockStart:B,paddingInline:B,paddingInlineEnd:B,paddingInlineStart:B,top:B,right:B,bottom:B,left:B,scrollMargin:B,scrollMarginTop:B,scrollMarginRight:B,scrollMarginBottom:B,scrollMarginLeft:B,scrollMarginX:B,scrollMarginY:B,scrollMarginBlock:B,scrollMarginBlockEnd:B,scrollMarginBlockStart:B,scrollMarginInline:B,scrollMarginInlineEnd:B,scrollMarginInlineStart:B,scrollPadding:B,scrollPaddingTop:B,scrollPaddingRight:B,scrollPaddingBottom:B,scrollPaddingLeft:B,scrollPaddingX:B,scrollPaddingY:B,scrollPaddingBlock:B,scrollPaddingBlockEnd:B,scrollPaddingBlockStart:B,scrollPaddingInline:B,scrollPaddingInlineEnd:B,scrollPaddingInlineStart:B,fontSize:"fontSizes",background:ge,backgroundColor:ge,backgroundImage:ge,borderImage:ge,border:ge,borderBlock:ge,borderBlockEnd:ge,borderBlockStart:ge,borderBottom:ge,borderBottomColor:ge,borderColor:ge,borderInline:ge,borderInlineEnd:ge,borderInlineStart:ge,borderLeft:ge,borderLeftColor:ge,borderRight:ge,borderRightColor:ge,borderTop:ge,borderTopColor:ge,caretColor:ge,color:ge,columnRuleColor:ge,fill:ge,outline:ge,outlineColor:ge,stroke:ge,textDecorationColor:ge,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:Fe,minBlockSize:Fe,maxBlockSize:Fe,inlineSize:Fe,minInlineSize:Fe,maxInlineSize:Fe,width:Fe,minWidth:Fe,maxWidth:Fe,height:Fe,minHeight:Fe,maxHeight:Fe,flexBasis:Fe,gridTemplateColumns:Fe,gridTemplateRows:Fe,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"},ea=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,mt=()=>{const e=Object.create(null);return(t,i,...n)=>{const r=(o=>JSON.stringify(o,ea))(t);return r in e?e[r]:e[r]=i(t,...n)}},tt=Symbol.for("sxs.internal"),Rn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),ki=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:ta}=Object.prototype,Tn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),na=/\s+(?![^()]*\))/,xt=e=>t=>e(...typeof t=="string"?String(t).split(na):[t]),Oi={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:xt((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:xt((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:xt((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:xt((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:xt((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:xt((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},kn=/([\d.]+)([^]*)/,ia=(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,ra=(e,t)=>e in oa&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(i,n,r,o)=>n+(r==="stretch"?`-moz-available${o};${Tn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${Tn(e)}:${n}fit-content`)+o):String(t),oa={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},Ge=e=>e?e+"-":"",Ci=(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==="$"?Ge(t)+(s.includes("$")?"":Ge(i))+s.replace(/\$/g,"-"):s)+")"+(r||a=="--"?"*"+(r||"")+(o||"1")+")":"")),aa=/\s*,\s*(?![^()]*\))/,sa=Object.prototype.toString,vt=(e,t,i,n,r)=>{let o,a,s;const c=(p,l,u)=>{let f,x;const h=g=>{for(f in g){const O=f.charCodeAt(0)===64,A=O&&Array.isArray(g[f])?g[f]:[g[f]];for(x of A){const k=/[A-Z]/.test(m=f)?m:m.replace(/-[^]/g,C=>C[1].toUpperCase()),v=typeof x=="object"&&x&&x.toString===sa&&(!n.utils[k]||!l.length);if(k in n.utils&&!v){const C=n.utils[k];if(C!==a){a=C,h(C(x)),a=null;continue}}else if(k in Oi){const C=Oi[k];if(C!==s){s=C,h(C(x)),s=null;continue}}if(O&&(E=f.slice(1)in n.media?"@media "+n.media[f.slice(1)]:f,f=E.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(C,L,j,G,Y,ie)=>{const re=kn.test(L),Z=.0625*(re?-1:1),[W,le]=re?[G,L]:[L,G];return"("+(j[0]==="="?"":j[0]===">"===re?"max-":"min-")+W+":"+(j[0]!=="="&&j.length===1?le.replace(kn,(xe,we,ce)=>Number(we)+Z*(j===">"?1:-1)+ce):le)+(Y?") and ("+(Y[0]===">"?"min-":"max-")+W+":"+(Y.length===1?ie.replace(kn,(xe,we,ce)=>Number(we)+Z*(Y===">"?-1:1)+ce):ie):"")+")"})),v){const C=O?u.concat(f):[...u],L=O?[...l]:ia(l,f.split(aa));o!==void 0&&r(_i(...o)),o=void 0,c(x,L,C)}else o===void 0&&(o=[[],l,u]),f=O||f.charCodeAt(0)!==36?f:`--${Ge(n.prefix)}${f.slice(1).replace(/\$/g,"-")}`,x=v?x:typeof x=="number"?x&&k in ca?String(x)+"px":String(x):Ci(ra(k,x??""),n.prefix,n.themeMap[k]),o[0].push(`${O?`${f} `:`${Tn(f)}:`}${x}`)}}var E,m};h(p),o!==void 0&&r(_i(...o)),o=void 0};c(e,t,i)},_i=(e,t,i)=>`${i.map(n=>`${n}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(i.length?i.length+1:0).join("}")}`,ca={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},Ai=e=>String.fromCharCode(e+(e>25?39:97)),nt=e=>(t=>{let i,n="";for(i=Math.abs(t);i>52;i=i/52|0)n=Ai(i%52)+n;return Ai(i%52)+n})(((t,i)=>{let n=i.length;for(;n;)t=33*t^i.charCodeAt(--n);return t})(5381,JSON.stringify(e))>>>0),Ct=["themed","global","styled","onevar","resonevar","allvar","inline"],la=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},pa=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(la(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 x=f.slice(14,-3).trim().split(/\s+/),h=Ct[x[0]];h&&(t||(t={sheet:s,reset:n,rules:{},toString:i}),t.rules[h]={group:u,index:c,cache:new Set(x)})}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=Ct.length-1;s>=0;--s){const c=Ct[s];if(!a[c]){const p=Ct[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])}}ua(a[c])}};return n(),t},ua=e=>{const t=e.group;let i=t.cssRules.length;e.apply=n=>{try{t.insertRule(n,i),++i}catch{}}},_t=Symbol(),da=mt(),ji=(e,t)=>da(e,()=>(...i)=>{let n={type:null,composers:new Set};for(const r of i)if(r!=null)if(r[tt]){n.type==null&&(n.type=r[tt].type);for(const o of r[tt].composers)n.composers.add(o)}else r.constructor!==Object||r.$$typeof?n.type==null&&(n.type=r):n.composers.add(fa(r,e));return n.type==null&&(n.type="span"),n.composers.size||n.composers.add(["PJLV",{},[],[],{},[]]),ma(e,n,t)}),fa=({variants:e,compoundVariants:t,defaultVariants:i,...n},r)=>{const o=`${Ge(r.prefix)}c-${nt(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,ta.call(l,u)||(c[f]="undefined");const x=e[f];for(const h in x){const g={[f]:String(h)};String(h)==="undefined"&&p.push(f);const E=x[h],m=[g,E,!ki(E)];a.push(m)}}var l,u;if(typeof t=="object"&&t)for(const f of t){let{css:x,...h}=f;x=typeof x=="object"&&x||{};for(const E in h)h[E]=String(h[E]);const g=[h,x,!ki(x)];s.push(g)}return[o,n,a,s,c,p]},ma=(e,t,i)=>{const[n,r,o,a]=xa(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(u=>{function f(){for(let x=0;x<f[_t].length;x++){const[h,g]=f[_t][x];u.rules[h].apply(g)}return f[_t]=[],null}return f[_t]=[],f.rules={},Ct.forEach(x=>f.rules[x]={apply:h=>f[_t].push([x,h])}),f})(i):null,c=(s||i).rules,p=`.${n}${r.length>1?`:where(.${r.slice(1).join(".")})`:""}`,l=u=>{u=typeof u=="object"&&u||va;const{css:f,...x}=u,h={};for(const m in o)if(delete x[m],m in u){let O=u[m];typeof O=="object"&&O?h[m]={"@initial":o[m],...O}:(O=String(O),h[m]=O!=="undefined"||a.has(m)?O:o[m])}else h[m]=o[m];const g=new Set([...r]);for(const[m,O,A,k]of t.composers){i.rules.styled.cache.has(m)||(i.rules.styled.cache.add(m),vt(O,[`.${m}`],[],e,L=>{c.styled.apply(L)}));const v=Di(A,h,e.media),C=Di(k,h,e.media,!0);for(const L of v)if(L!==void 0)for(const[j,G,Y]of L){const ie=`${m}-${nt(G)}-${j}`;g.add(ie);const re=(Y?i.rules.resonevar:i.rules.onevar).cache,Z=Y?c.resonevar:c.onevar;re.has(ie)||(re.add(ie),vt(G,[`.${ie}`],[],e,W=>{Z.apply(W)}))}for(const L of C)if(L!==void 0)for(const[j,G]of L){const Y=`${m}-${nt(G)}-${j}`;g.add(Y),i.rules.allvar.cache.has(Y)||(i.rules.allvar.cache.add(Y),vt(G,[`.${Y}`],[],e,ie=>{c.allvar.apply(ie)}))}}if(typeof f=="object"&&f){const m=`${n}-i${nt(f)}-css`;g.add(m),i.rules.inline.cache.has(m)||(i.rules.inline.cache.add(m),vt(f,[`.${m}`],[],e,O=>{c.inline.apply(O)}))}for(const m of String(u.className||"").trim().split(/\s+/))m&&g.add(m);const E=x.className=[...g].join(" ");return{type:t.type,className:E,selector:p,props:x,toString:()=>E,deferredInjector:s}};return Rn(l,{className:n,selector:p,[tt]:t,toString:()=>(i.rules.styled.cache.has(n)||l(),n)})},xa=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)]},Di=(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 x,h,g=0;for(const E in f){if(u===String(f[E])){if(E!=="@initial"){const m=E.slice(1);(h=h||[]).push(m in i?i[m]:E.replace(/^@media ?/,"")),l=!0}p+=g,x=!0}++g}if(h&&h.length&&(a={["@media "+h.join(", ")]:a}),!x)continue e}}}(r[p]=r[p]||[]).push([n?"cv":`${c}-${o[c]}`,a,l])}return r},va={},ga=mt(),ha=(e,t)=>ga(e,()=>(...i)=>{const n=()=>{for(let r of i){r=typeof r=="object"&&r||{};let o=nt(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"]}vt(r,[],[],e,a=>{t.rules.global.apply(a)})}}return""};return Rn(n,{toString:n})}),ya=mt(),ba=(e,t)=>ya(e,()=>i=>{const n=`${Ge(e.prefix)}k-${nt(i)}`,r=()=>{if(!t.rules.global.cache.has(n)){t.rules.global.cache.add(n);const o=[];vt(i,[],[],e,s=>o.push(s));const a=`@keyframes ${n}{${o.join("")}}`;t.rules.global.apply(a)}return n};return Rn(r,{get name(){return r()},toString:r})}),wa=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"--"+Ge(this.prefix)+Ge(this.scale)+this.token}toString(){return this.computedValue}},Ea=mt(),Sa=(e,t)=>Ea(e,()=>(i,n)=>{n=typeof i=="object"&&i||Object(n);const r=`.${i=(i=typeof i=="string"?i:"")||`${Ge(e.prefix)}t-${nt(n)}`}`,o={},a=[];for(const c in n){o[c]={};for(const p in n[c]){const l=`--${Ge(e.prefix)}${c}-${p}`,u=Ci(String(n[c][p]),e.prefix,c);o[c][p]=new wa(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}}),Ra=mt(),Fi,Ta=mt(),ka=e=>{const t=(i=>{let n=!1;const r=Ra(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||{...Qo},utils:typeof o.utils=="object"&&o.utils||{}},u=pa(c),f={css:ji(l,u),globalCss:ha(l,u),keyframes:ba(l,u),createTheme:Sa(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})=>Ta(i,()=>{const r=ji(i,n);return(...o)=>{const a=r(...o),s=a[tt].type,c=w.forwardRef((p,l)=>{const u=p&&p.as||s,{props:f,deferredInjector:x}=a(p);return delete f.as,f.ref=l,x?w.createElement(w.Fragment,null,w.createElement(u,f),w.createElement(x,null)):w.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[tt]=a[tt],c}}))(t),t},Pi=()=>Fi||(Fi=ka()),Oa=(...e)=>Pi().keyframes(...e),$e=(...e)=>Pi().styled(...e);const gt=$e("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 At={},Yt={},it={},Ii;function Bi(){if(Ii)return it;Ii=1,Object.defineProperty(it,"__esModule",{value:!0}),it.fromHex=it.toHex=void 0;const e=n=>new Number(n).toString(16).toLowerCase(),t=n=>`0x${e(n).length===1?"0"+e(n):e(n)}`;it.toHex=t;const i=n=>new Number(n);return it.fromHex=i,it}var On={},Li;function Ca(){return Li||(Li=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 x=p.bytes[l];return p.bytes[l]={...x,matches:[...x.matches?x.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),x=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,x,l),u)};e.createComplexNode=s}(On)),On}var zi;function _a(){if(zi)return Yt;zi=1,Object.defineProperty(Yt,"__esModule",{value:!0});const e=Bi(),t=Ca();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"}),Yt.default=()=>i,Yt}var Mi;function Aa(){return Mi||(Mi=1,function(e){var t=At&&At.__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(_a()),n=Bi(),r=i.default(),o=l=>{let u=r;for(const f of Object.keys(u.offset)){const x=n.fromHex(f);if(x>=l.length)continue;const g=r.offset[f],E=a(x,l,g);if(E.length>0)return E}return u.noOffset===null?[]:a(0,l,u.noOffset)};e.filetypeinfo=o;const a=(l,u,f)=>{let x=f,h=[];for(;;){const g=n.toHex(u[l]);if(x.bytes["?"]&&!x.bytes[g]?x=x.bytes["?"]:x=x.bytes[g],!x)return h;x&&x.matches&&(h=x.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}(At)),At}var ja=Aa(),Kt={exports:{}},Jt={exports:{}},ue={};/** @license React v16.13.1
|
25
|
+
Check the top-level render call using <`+F+">.")}return R}}function No(d,R){{if(!d._store||d._store.validated||d.key!=null)return;d._store.validated=!0;var F=zp(R);if($o[F])return;$o[F]=!0;var X="";d&&d._owner&&d._owner!==Vt.current&&(X=" It was passed a child from "+Z(d._owner.type)+"."),Tt(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.',F,X),Tt(null)}}function qo(d,R){{if(typeof d!="object")return;if(qe(d))for(var F=0;F<d.length;F++){var X=d[F];bi(X)&&No(X,R)}else if(bi(d))d._store&&(d._store.validated=!0);else if(d){var fe=E(d);if(typeof fe=="function"&&fe!==d.entries)for(var Se=fe.call(d),se;!(se=Se.next()).done;)bi(se.value)&&No(se.value,R)}}}function Mp(d){{var R=d.type;if(R==null||typeof R=="string")return;var F;if(typeof R=="function")F=R.propTypes;else if(typeof R=="object"&&(R.$$typeof===c||R.$$typeof===u))F=R.propTypes;else return;if(F){var X=Z(R);Te(F,d.props,"prop",X,d)}else if(R.PropTypes!==void 0&&!yi){yi=!0;var fe=Z(R);O("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",fe||"Unknown")}typeof R.getDefaultProps=="function"&&!R.getDefaultProps.isReactClassApproved&&O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function $p(d){{for(var R=Object.keys(d.props),F=0;F<R.length;F++){var X=R[F];if(X!=="children"&&X!=="key"){Tt(d),O("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",X),Tt(null);break}}d.ref!==null&&(Tt(d),O("Invalid attribute `ref` supplied to `React.Fragment`."),Tt(null))}}function Wo(d,R,F,X,fe,Se){{var se=Y(d);if(!se){var ae="";(d===void 0||typeof d=="object"&&d!==null&&Object.keys(d).length===0)&&(ae+=" 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 Pe=Lp();Pe?ae+=Pe:ae+=Mo();var Ce;d===null?Ce="null":qe(d)?Ce="array":d!==void 0&&d.$$typeof===t?(Ce="<"+(Z(d.type)||"Unknown")+" />",ae=" Did you accidentally export a JSX literal instead of a component?"):Ce=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",Ce,ae)}var je=Ut(d,R,F,fe,Se);if(je==null)return je;if(se){var Me=R.children;if(Me!==void 0)if(X)if(qe(Me)){for(var Rt=0;Rt<Me.length;Rt++)qo(Me[Rt],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 qo(Me,d)}return d===n?$p(je):Mp(je),je}}function Np(d,R,F){return Wo(d,R,F,!0)}function qp(d,R,F){return Wo(d,R,F,!1)}var Wp=qp,Up=Np;Ot.Fragment=n,Ot.jsx=Wp,Ot.jsxs=Up}()),Ot}var Ri;function Zo(){return Ri||(Ri=1,process.env.NODE_ENV==="production"?Gt.exports=Jo():Gt.exports=Xo()),Gt.exports}var oe=Zo(),ge="colors",Fe="sizes",B="space",Qo={gap:B,gridGap:B,columnGap:B,gridColumnGap:B,rowGap:B,gridRowGap:B,inset:B,insetBlock:B,insetBlockEnd:B,insetBlockStart:B,insetInline:B,insetInlineEnd:B,insetInlineStart:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,marginBlock:B,marginBlockEnd:B,marginBlockStart:B,marginInline:B,marginInlineEnd:B,marginInlineStart:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,paddingBlock:B,paddingBlockEnd:B,paddingBlockStart:B,paddingInline:B,paddingInlineEnd:B,paddingInlineStart:B,top:B,right:B,bottom:B,left:B,scrollMargin:B,scrollMarginTop:B,scrollMarginRight:B,scrollMarginBottom:B,scrollMarginLeft:B,scrollMarginX:B,scrollMarginY:B,scrollMarginBlock:B,scrollMarginBlockEnd:B,scrollMarginBlockStart:B,scrollMarginInline:B,scrollMarginInlineEnd:B,scrollMarginInlineStart:B,scrollPadding:B,scrollPaddingTop:B,scrollPaddingRight:B,scrollPaddingBottom:B,scrollPaddingLeft:B,scrollPaddingX:B,scrollPaddingY:B,scrollPaddingBlock:B,scrollPaddingBlockEnd:B,scrollPaddingBlockStart:B,scrollPaddingInline:B,scrollPaddingInlineEnd:B,scrollPaddingInlineStart:B,fontSize:"fontSizes",background:ge,backgroundColor:ge,backgroundImage:ge,borderImage:ge,border:ge,borderBlock:ge,borderBlockEnd:ge,borderBlockStart:ge,borderBottom:ge,borderBottomColor:ge,borderColor:ge,borderInline:ge,borderInlineEnd:ge,borderInlineStart:ge,borderLeft:ge,borderLeftColor:ge,borderRight:ge,borderRightColor:ge,borderTop:ge,borderTopColor:ge,caretColor:ge,color:ge,columnRuleColor:ge,fill:ge,outline:ge,outlineColor:ge,stroke:ge,textDecorationColor:ge,fontFamily:"fonts",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",blockSize:Fe,minBlockSize:Fe,maxBlockSize:Fe,inlineSize:Fe,minInlineSize:Fe,maxInlineSize:Fe,width:Fe,minWidth:Fe,maxWidth:Fe,height:Fe,minHeight:Fe,maxHeight:Fe,flexBasis:Fe,gridTemplateColumns:Fe,gridTemplateRows:Fe,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"},ea=(e,t)=>typeof t=="function"?{"()":Function.prototype.toString.call(t)}:t,vt=()=>{const e=Object.create(null);return(t,i,...n)=>{const r=(o=>JSON.stringify(o,ea))(t);return r in e?e[r]:e[r]=i(t,...n)}},nt=Symbol.for("sxs.internal"),Tn=(e,t)=>Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)),ki=e=>{for(const t in e)return!0;return!1},{hasOwnProperty:ta}=Object.prototype,Rn=e=>e.includes("-")?e:e.replace(/[A-Z]/g,t=>"-"+t.toLowerCase()),na=/\s+(?![^()]*\))/,gt=e=>t=>e(...typeof t=="string"?String(t).split(na):[t]),Oi={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:gt((e,t)=>({marginBlockStart:e,marginBlockEnd:t||e})),marginInline:gt((e,t)=>({marginInlineStart:e,marginInlineEnd:t||e})),maxSize:gt((e,t)=>({maxBlockSize:e,maxInlineSize:t||e})),minSize:gt((e,t)=>({minBlockSize:e,minInlineSize:t||e})),paddingBlock:gt((e,t)=>({paddingBlockStart:e,paddingBlockEnd:t||e})),paddingInline:gt((e,t)=>({paddingInlineStart:e,paddingInlineEnd:t||e}))},kn=/([\d.]+)([^]*)/,ia=(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,ra=(e,t)=>e in oa&&typeof t=="string"?t.replace(/^((?:[^]*[^\w-])?)(fit-content|stretch)((?:[^\w-][^]*)?)$/,(i,n,r,o)=>n+(r==="stretch"?`-moz-available${o};${Rn(e)}:${n}-webkit-fill-available`:`-moz-fit-content${o};${Rn(e)}:${n}fit-content`)+o):String(t),oa={blockSize:1,height:1,inlineSize:1,maxBlockSize:1,maxHeight:1,maxInlineSize:1,maxWidth:1,minBlockSize:1,minHeight:1,minInlineSize:1,minWidth:1,width:1},Ge=e=>e?e+"-":"",Ci=(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==="$"?Ge(t)+(s.includes("$")?"":Ge(i))+s.replace(/\$/g,"-"):s)+")"+(r||a=="--"?"*"+(r||"")+(o||"1")+")":"")),aa=/\s*,\s*(?![^()]*\))/,sa=Object.prototype.toString,ht=(e,t,i,n,r)=>{let o,a,s;const c=(p,l,u)=>{let f,x;const h=g=>{for(f in g){const O=f.charCodeAt(0)===64,A=O&&Array.isArray(g[f])?g[f]:[g[f]];for(x of A){const k=/[A-Z]/.test(m=f)?m:m.replace(/-[^]/g,C=>C[1].toUpperCase()),v=typeof x=="object"&&x&&x.toString===sa&&(!n.utils[k]||!l.length);if(k in n.utils&&!v){const C=n.utils[k];if(C!==a){a=C,h(C(x)),a=null;continue}}else if(k in Oi){const C=Oi[k];if(C!==s){s=C,h(C(x)),s=null;continue}}if(O&&(E=f.slice(1)in n.media?"@media "+n.media[f.slice(1)]:f,f=E.replace(/\(\s*([\w-]+)\s*(=|<|<=|>|>=)\s*([\w-]+)\s*(?:(<|<=|>|>=)\s*([\w-]+)\s*)?\)/g,(C,L,j,G,Y,ie)=>{const re=kn.test(L),Z=.0625*(re?-1:1),[W,le]=re?[G,L]:[L,G];return"("+(j[0]==="="?"":j[0]===">"===re?"max-":"min-")+W+":"+(j[0]!=="="&&j.length===1?le.replace(kn,(xe,we,ce)=>Number(we)+Z*(j===">"?1:-1)+ce):le)+(Y?") and ("+(Y[0]===">"?"min-":"max-")+W+":"+(Y.length===1?ie.replace(kn,(xe,we,ce)=>Number(we)+Z*(Y===">"?-1:1)+ce):ie):"")+")"})),v){const C=O?u.concat(f):[...u],L=O?[...l]:ia(l,f.split(aa));o!==void 0&&r(_i(...o)),o=void 0,c(x,L,C)}else o===void 0&&(o=[[],l,u]),f=O||f.charCodeAt(0)!==36?f:`--${Ge(n.prefix)}${f.slice(1).replace(/\$/g,"-")}`,x=v?x:typeof x=="number"?x&&k in ca?String(x)+"px":String(x):Ci(ra(k,x??""),n.prefix,n.themeMap[k]),o[0].push(`${O?`${f} `:`${Rn(f)}:`}${x}`)}}var E,m};h(p),o!==void 0&&r(_i(...o)),o=void 0};c(e,t,i)},_i=(e,t,i)=>`${i.map(n=>`${n}{`).join("")}${t.length?`${t.join(",")}{`:""}${e.join(";")}${t.length?"}":""}${Array(i.length?i.length+1:0).join("}")}`,ca={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},Ai=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=Ai(i%52)+n;return Ai(i%52)+n})(((t,i)=>{let n=i.length;for(;n;)t=33*t^i.charCodeAt(--n);return t})(5381,JSON.stringify(e))>>>0),Ct=["themed","global","styled","onevar","resonevar","allvar","inline"],la=e=>{if(e.href&&!e.href.startsWith(location.origin))return!1;try{return!!e.cssRules}catch{return!1}},pa=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(la(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 x=f.slice(14,-3).trim().split(/\s+/),h=Ct[x[0]];h&&(t||(t={sheet:s,reset:n,rules:{},toString:i}),t.rules[h]={group:u,index:c,cache:new Set(x)})}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=Ct.length-1;s>=0;--s){const c=Ct[s];if(!a[c]){const p=Ct[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])}}ua(a[c])}};return n(),t},ua=e=>{const t=e.group;let i=t.cssRules.length;e.apply=n=>{try{t.insertRule(n,i),++i}catch{}}},_t=Symbol(),da=vt(),ji=(e,t)=>da(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 o of r[nt].composers)n.composers.add(o)}else r.constructor!==Object||r.$$typeof?n.type==null&&(n.type=r):n.composers.add(fa(r,e));return n.type==null&&(n.type="span"),n.composers.size||n.composers.add(["PJLV",{},[],[],{},[]]),ma(e,n,t)}),fa=({variants:e,compoundVariants:t,defaultVariants:i,...n},r)=>{const o=`${Ge(r.prefix)}c-${it(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,ta.call(l,u)||(c[f]="undefined");const x=e[f];for(const h in x){const g={[f]:String(h)};String(h)==="undefined"&&p.push(f);const E=x[h],m=[g,E,!ki(E)];a.push(m)}}var l,u;if(typeof t=="object"&&t)for(const f of t){let{css:x,...h}=f;x=typeof x=="object"&&x||{};for(const E in h)h[E]=String(h[E]);const g=[h,x,!ki(x)];s.push(g)}return[o,n,a,s,c,p]},ma=(e,t,i)=>{const[n,r,o,a]=xa(t.composers),s=typeof t.type=="function"||t.type.$$typeof?(u=>{function f(){for(let x=0;x<f[_t].length;x++){const[h,g]=f[_t][x];u.rules[h].apply(g)}return f[_t]=[],null}return f[_t]=[],f.rules={},Ct.forEach(x=>f.rules[x]={apply:h=>f[_t].push([x,h])}),f})(i):null,c=(s||i).rules,p=`.${n}${r.length>1?`:where(.${r.slice(1).join(".")})`:""}`,l=u=>{u=typeof u=="object"&&u||va;const{css:f,...x}=u,h={};for(const m in o)if(delete x[m],m in u){let O=u[m];typeof O=="object"&&O?h[m]={"@initial":o[m],...O}:(O=String(O),h[m]=O!=="undefined"||a.has(m)?O:o[m])}else h[m]=o[m];const g=new Set([...r]);for(const[m,O,A,k]of t.composers){i.rules.styled.cache.has(m)||(i.rules.styled.cache.add(m),ht(O,[`.${m}`],[],e,L=>{c.styled.apply(L)}));const v=Di(A,h,e.media),C=Di(k,h,e.media,!0);for(const L of v)if(L!==void 0)for(const[j,G,Y]of L){const ie=`${m}-${it(G)}-${j}`;g.add(ie);const re=(Y?i.rules.resonevar:i.rules.onevar).cache,Z=Y?c.resonevar:c.onevar;re.has(ie)||(re.add(ie),ht(G,[`.${ie}`],[],e,W=>{Z.apply(W)}))}for(const L of C)if(L!==void 0)for(const[j,G]of L){const Y=`${m}-${it(G)}-${j}`;g.add(Y),i.rules.allvar.cache.has(Y)||(i.rules.allvar.cache.add(Y),ht(G,[`.${Y}`],[],e,ie=>{c.allvar.apply(ie)}))}}if(typeof f=="object"&&f){const m=`${n}-i${it(f)}-css`;g.add(m),i.rules.inline.cache.has(m)||(i.rules.inline.cache.add(m),ht(f,[`.${m}`],[],e,O=>{c.inline.apply(O)}))}for(const m of String(u.className||"").trim().split(/\s+/))m&&g.add(m);const E=x.className=[...g].join(" ");return{type:t.type,className:E,selector:p,props:x,toString:()=>E,deferredInjector:s}};return Tn(l,{className:n,selector:p,[nt]:t,toString:()=>(i.rules.styled.cache.has(n)||l(),n)})},xa=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)]},Di=(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 x,h,g=0;for(const E in f){if(u===String(f[E])){if(E!=="@initial"){const m=E.slice(1);(h=h||[]).push(m in i?i[m]:E.replace(/^@media ?/,"")),l=!0}p+=g,x=!0}++g}if(h&&h.length&&(a={["@media "+h.join(", ")]:a}),!x)continue e}}}(r[p]=r[p]||[]).push([n?"cv":`${c}-${o[c]}`,a,l])}return r},va={},ga=vt(),ha=(e,t)=>ga(e,()=>(...i)=>{const n=()=>{for(let r of i){r=typeof r=="object"&&r||{};let o=it(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"]}ht(r,[],[],e,a=>{t.rules.global.apply(a)})}}return""};return Tn(n,{toString:n})}),ya=vt(),ba=(e,t)=>ya(e,()=>i=>{const n=`${Ge(e.prefix)}k-${it(i)}`,r=()=>{if(!t.rules.global.cache.has(n)){t.rules.global.cache.add(n);const o=[];ht(i,[],[],e,s=>o.push(s));const a=`@keyframes ${n}{${o.join("")}}`;t.rules.global.apply(a)}return n};return Tn(r,{get name(){return r()},toString:r})}),wa=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"--"+Ge(this.prefix)+Ge(this.scale)+this.token}toString(){return this.computedValue}},Ea=vt(),Sa=(e,t)=>Ea(e,()=>(i,n)=>{n=typeof i=="object"&&i||Object(n);const r=`.${i=(i=typeof i=="string"?i:"")||`${Ge(e.prefix)}t-${it(n)}`}`,o={},a=[];for(const c in n){o[c]={};for(const p in n[c]){const l=`--${Ge(e.prefix)}${c}-${p}`,u=Ci(String(n[c][p]),e.prefix,c);o[c][p]=new wa(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}}),Ta=vt(),Fi,Ra=vt(),ka=e=>{const t=(i=>{let n=!1;const r=Ta(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||{...Qo},utils:typeof o.utils=="object"&&o.utils||{}},u=pa(c),f={css:ji(l,u),globalCss:ha(l,u),keyframes:ba(l,u),createTheme:Sa(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})=>Ra(i,()=>{const r=ji(i,n);return(...o)=>{const a=r(...o),s=a[nt].type,c=w.forwardRef((p,l)=>{const u=p&&p.as||s,{props:f,deferredInjector:x}=a(p);return delete f.as,f.ref=l,x?w.createElement(w.Fragment,null,w.createElement(u,f),w.createElement(x,null)):w.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[nt]=a[nt],c}}))(t),t},Pi=()=>Fi||(Fi=ka()),Oa=(...e)=>Pi().keyframes(...e),$e=(...e)=>Pi().styled(...e);const rt=$e("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 At={},Yt={},ot={},Ii;function Bi(){if(Ii)return ot;Ii=1,Object.defineProperty(ot,"__esModule",{value:!0}),ot.fromHex=ot.toHex=void 0;const e=n=>new Number(n).toString(16).toLowerCase(),t=n=>`0x${e(n).length===1?"0"+e(n):e(n)}`;ot.toHex=t;const i=n=>new Number(n);return ot.fromHex=i,ot}var On={},Li;function Ca(){return Li||(Li=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 x=p.bytes[l];return p.bytes[l]={...x,matches:[...x.matches?x.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),x=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,x,l),u)};e.createComplexNode=s}(On)),On}var zi;function _a(){if(zi)return Yt;zi=1,Object.defineProperty(Yt,"__esModule",{value:!0});const e=Bi(),t=Ca();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"}),Yt.default=()=>i,Yt}var Mi;function Aa(){return Mi||(Mi=1,function(e){var t=At&&At.__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(_a()),n=Bi(),r=i.default(),o=l=>{let u=r;for(const f of Object.keys(u.offset)){const x=n.fromHex(f);if(x>=l.length)continue;const g=r.offset[f],E=a(x,l,g);if(E.length>0)return E}return u.noOffset===null?[]:a(0,l,u.noOffset)};e.filetypeinfo=o;const a=(l,u,f)=>{let x=f,h=[];for(;;){const g=n.toHex(u[l]);if(x.bytes["?"]&&!x.bytes[g]?x=x.bytes["?"]:x=x.bytes[g],!x)return h;x&&x.matches&&(h=x.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}(At)),At}var ja=Aa(),Kt={exports:{}},Jt={exports:{}},ue={};/** @license React v16.13.1
|
26
26
|
* react-is.production.min.js
|
27
27
|
*
|
28
28
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
@@ -36,21 +36,21 @@ Check the top-level render call using <`+F+">.")}return T}}function No(d,T){{if(
|
|
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 Ni;function Fa(){return Ni||(Ni=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,x=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function A(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===h||b.$$typeof===x||b.$$typeof===a||b.$$typeof===s||b.$$typeof===l||b.$$typeof===E||b.$$typeof===m||b.$$typeof===O||b.$$typeof===g)}function k(b){if(typeof b=="object"&&b!==null){var I=b.$$typeof;switch(I){case t:var Q=b.type;switch(Q){case c:case p:case n:case o:case r:case u:return Q;default:var U=Q&&Q.$$typeof;switch(U){case s:case l:case h:case x:case a:return U;default:return I}}case i:return I}}}var v=c,C=p,L=s,j=a,G=t,Y=l,ie=n,re=h,Z=x,W=i,le=o,xe=r,we=u,ce=!1;function he(b){return ce||(ce=!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.")),
|
39
|
+
*/var Ni;function Fa(){return Ni||(Ni=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,x=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,g=e?Symbol.for("react.block"):60121,E=e?Symbol.for("react.fundamental"):60117,m=e?Symbol.for("react.responder"):60118,O=e?Symbol.for("react.scope"):60119;function A(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===h||b.$$typeof===x||b.$$typeof===a||b.$$typeof===s||b.$$typeof===l||b.$$typeof===E||b.$$typeof===m||b.$$typeof===O||b.$$typeof===g)}function k(b){if(typeof b=="object"&&b!==null){var I=b.$$typeof;switch(I){case t:var Q=b.type;switch(Q){case c:case p:case n:case o:case r:case u:return Q;default:var U=Q&&Q.$$typeof;switch(U){case s:case l:case h:case x:case a:return U;default:return I}}case i:return I}}}var v=c,C=p,L=s,j=a,G=t,Y=l,ie=n,re=h,Z=x,W=i,le=o,xe=r,we=u,ce=!1;function he(b){return ce||(ce=!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.")),T(b)||k(b)===c}function T(b){return k(b)===p}function _(b){return k(b)===s}function z(b){return k(b)===a}function q(b){return typeof b=="object"&&b!==null&&b.$$typeof===t}function $(b){return k(b)===l}function K(b){return k(b)===n}function M(b){return k(b)===h}function P(b){return k(b)===x}function H(b){return k(b)===i}function J(b){return k(b)===o}function N(b){return k(b)===r}function Ee(b){return k(b)===u}de.AsyncMode=v,de.ConcurrentMode=C,de.ContextConsumer=L,de.ContextProvider=j,de.Element=G,de.ForwardRef=Y,de.Fragment=ie,de.Lazy=re,de.Memo=Z,de.Portal=W,de.Profiler=le,de.StrictMode=xe,de.Suspense=we,de.isAsyncMode=he,de.isConcurrentMode=T,de.isContextConsumer=_,de.isContextProvider=z,de.isElement=q,de.isForwardRef=$,de.isFragment=K,de.isLazy=M,de.isMemo=P,de.isPortal=H,de.isProfiler=J,de.isStrictMode=N,de.isSuspense=Ee,de.isValidElementType=A,de.typeOf=k}()),de}var qi;function Wi(){return qi||(qi=1,process.env.NODE_ENV==="production"?Jt.exports=Da():Jt.exports=Fa()),Jt.exports}/*
|
40
40
|
object-assign
|
41
41
|
(c) Sindre Sorhus
|
42
42
|
@license MIT
|
43
|
-
*/var Cn,Ui;function Pa(){if(Ui)return Cn;Ui=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 Cn=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},Cn}var _n,Vi;function An(){if(Vi)return _n;Vi=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return _n=e,_n}var jn,Hi;function Gi(){return Hi||(Hi=1,jn=Function.call.bind(Object.prototype.hasOwnProperty)),jn}var Dn,Yi;function Ia(){if(Yi)return Dn;Yi=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=An(),i={},n=Gi();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(h){u=h}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 x=p?p():"";e("Failed "+s+" type: "+u.message+(x??""))}}}}return r.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},Dn=r,Dn}var Fn,Ki;function Ba(){if(Ki)return Fn;Ki=1;var e=Wi(),t=Pa(),i=An(),n=Gi(),r=Ia(),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 Fn=function(s,c){var p=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function u(
|
44
|
-
Valid keys: `+JSON.stringify(Object.keys(R),null," "));var b=Ee(P,N,$,K,M+"."+N,i);if(b)return b}return null}return E(_)}function W(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(W);if(R===null||s(R))return!0;var _=u(R);if(_){var z=_.call(R),q;if(_!==R.entries){for(;!(q=z.next()).done;)if(!W(q.value))return!1}else for(;!(q=z.next()).done;){var $=q.value;if($&&!W($[1]))return!1}}else return!1;return!0;default:return!1}}function le(R,_){return R==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function xe(R){var _=typeof R;return Array.isArray(R)?"array":R instanceof RegExp?"object":le(_,R)?"symbol":_}function we(R){if(typeof R>"u"||R===null)return""+R;var _=xe(R);if(_==="object"){if(R instanceof Date)return"date";if(R instanceof RegExp)return"regexp"}return _}function ce(R){var _=we(R);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function he(R){return!R.constructor||!R.constructor.name?f:R.constructor.name}return x.checkPropTypes=r,x.resetWarningCache=r.resetWarningCache,x.PropTypes=x,x},Fn}var Pn,Ji;function La(){if(Ji)return Pn;Ji=1;var e=An();function t(){}function i(){}return i.resetWarningCache=t,Pn=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},Pn}var Xi;function za(){if(Xi)return Kt.exports;if(Xi=1,process.env.NODE_ENV!=="production"){var e=Wi(),t=!0;Kt.exports=Ba()(e.isElement,t)}else Kt.exports=La()();return Kt.exports}var Ma=za();const be=wi(Ma);function rt(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 $a=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 ht(e,t,i){const n=Na(e),{webkitRelativePath:r}=e,o=typeof t=="string"?t:typeof r=="string"&&r.length>0?r:`./${e.name}`;return typeof n.path!="string"&&Zi(n,"path",o),Zi(n,"relativePath",o),n}function Na(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const n=t.split(".").pop().toLowerCase(),r=$a.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}function Zi(e,t,i){Object.defineProperty(e,t,{value:i,writable:!1,configurable:!1,enumerable:!0})}const qa=[".DS_Store","Thumbs.db"];function Wa(e){return rt(this,void 0,void 0,function*(){return Xt(e)&&Ua(e.dataTransfer)?Ya(e.dataTransfer,e.type):Va(e)?Ha(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?Ga(e):[]})}function Ua(e){return Xt(e)}function Va(e){return Xt(e)&&Xt(e.target)}function Xt(e){return typeof e=="object"&&e!==null}function Ha(e){return In(e.target.files).map(t=>ht(t))}function Ga(e){return rt(this,void 0,void 0,function*(){return(yield Promise.all(e.map(i=>i.getFile()))).map(i=>ht(i))})}function Ya(e,t){return rt(this,void 0,void 0,function*(){if(e.items){const i=In(e.items).filter(r=>r.kind==="file");if(t!=="drop")return i;const n=yield Promise.all(i.map(Ka));return Qi(er(n))}return Qi(In(e.files).map(i=>ht(i)))})}function Qi(e){return e.filter(t=>qa.indexOf(t.name)===-1)}function In(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 Ka(e){if(typeof e.webkitGetAsEntry!="function")return tr(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?nr(t):tr(e,t)}function er(e){return e.reduce((t,i)=>[...t,...Array.isArray(i)?er(i):[i]],[])}function tr(e,t){return rt(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,ht(a)}}const n=e.getAsFile();if(!n)throw new Error(`${e} is not a File`);return ht(n,(i=t==null?void 0:t.fullPath)!==null&&i!==void 0?i:void 0)})}function Ja(e){return rt(this,void 0,void 0,function*(){return e.isDirectory?nr(e):Xa(e)})}function nr(e){const t=e.createReader();return new Promise((i,n)=>{const r=[];function o(){t.readEntries(a=>rt(this,void 0,void 0,function*(){if(a.length){const s=Promise.all(a.map(Ja));r.push(s),o()}else try{const s=yield Promise.all(r);i(s)}catch(s){n(s)}}),a=>{n(a)})}o()})}function Xa(e){return rt(this,void 0,void 0,function*(){return new Promise((t,i)=>{e.file(n=>{const r=ht(n,e.fullPath);t(r)},n=>{i(n)})})})}var Zt={},ir;function Za(){return ir||(ir=1,Zt.__esModule=!0,Zt.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}),Zt}var Qa=Za();const Bn=wi(Qa);function rr(e){return ns(e)||ts(e)||cr(e)||es()}function es(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
43
|
+
*/var Cn,Ui;function Pa(){if(Ui)return Cn;Ui=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 Cn=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},Cn}var _n,Vi;function An(){if(Vi)return _n;Vi=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return _n=e,_n}var jn,Hi;function Gi(){return Hi||(Hi=1,jn=Function.call.bind(Object.prototype.hasOwnProperty)),jn}var Dn,Yi;function Ia(){if(Yi)return Dn;Yi=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=An(),i={},n=Gi();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(h){u=h}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 x=p?p():"";e("Failed "+s+" type: "+u.message+(x??""))}}}}return r.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(i={})},Dn=r,Dn}var Fn,Ki;function Ba(){if(Ki)return Fn;Ki=1;var e=Wi(),t=Pa(),i=An(),n=Gi(),r=Ia(),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 Fn=function(s,c){var p=typeof Symbol=="function"&&Symbol.iterator,l="@@iterator";function u(T){var _=T&&(p&&T[p]||T[l]);if(typeof _=="function")return _}var f="<<anonymous>>",x={array:m("array"),bigint:m("bigint"),bool:m("boolean"),func:m("function"),number:m("number"),object:m("object"),string:m("string"),symbol:m("symbol"),any:O(),arrayOf:A,element:k(),elementType:v(),instanceOf:C,node:Y(),objectOf:j,oneOf:L,oneOfType:G,shape:re,exact:Z};function h(T,_){return T===_?T!==0||1/T===1/_:T!==T&&_!==_}function g(T,_){this.message=T,this.data=_&&typeof _=="object"?_:{},this.stack=""}g.prototype=Error.prototype;function E(T){if(process.env.NODE_ENV!=="production")var _={},z=0;function q(K,M,P,H,J,N,Ee){if(H=H||f,N=N||P,Ee!==i){if(c){var b=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 b.name="Invariant Violation",b}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var I=H+":"+P;!_[I]&&z<3&&(o("You are manually calling a React.PropTypes validation function for the `"+N+"` prop on `"+H+"`. 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."),_[I]=!0,z++)}}return M[P]==null?K?M[P]===null?new g("The "+J+" `"+N+"` is marked as required "+("in `"+H+"`, but its value is `null`.")):new g("The "+J+" `"+N+"` is marked as required in "+("`"+H+"`, but its value is `undefined`.")):null:T(M,P,H,J,N)}var $=q.bind(null,!1);return $.isRequired=q.bind(null,!0),$}function m(T){function _(z,q,$,K,M,P){var H=z[q],J=xe(H);if(J!==T){var N=we(H);return new g("Invalid "+K+" `"+M+"` of type "+("`"+N+"` supplied to `"+$+"`, expected ")+("`"+T+"`."),{expectedType:T})}return null}return E(_)}function O(){return E(a)}function A(T){function _(z,q,$,K,M){if(typeof T!="function")return new g("Property `"+M+"` of component `"+$+"` has invalid PropType notation inside arrayOf.");var P=z[q];if(!Array.isArray(P)){var H=xe(P);return new g("Invalid "+K+" `"+M+"` of type "+("`"+H+"` supplied to `"+$+"`, expected an array."))}for(var J=0;J<P.length;J++){var N=T(P,J,$,K,M+"["+J+"]",i);if(N instanceof Error)return N}return null}return E(_)}function k(){function T(_,z,q,$,K){var M=_[z];if(!s(M)){var P=xe(M);return new g("Invalid "+$+" `"+K+"` of type "+("`"+P+"` supplied to `"+q+"`, expected a single ReactElement."))}return null}return E(T)}function v(){function T(_,z,q,$,K){var M=_[z];if(!e.isValidElementType(M)){var P=xe(M);return new g("Invalid "+$+" `"+K+"` of type "+("`"+P+"` supplied to `"+q+"`, expected a single ReactElement type."))}return null}return E(T)}function C(T){function _(z,q,$,K,M){if(!(z[q]instanceof T)){var P=T.name||f,H=he(z[q]);return new g("Invalid "+K+" `"+M+"` of type "+("`"+H+"` supplied to `"+$+"`, expected ")+("instance of `"+P+"`."))}return null}return E(_)}function L(T){if(!Array.isArray(T))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 _(z,q,$,K,M){for(var P=z[q],H=0;H<T.length;H++)if(h(P,T[H]))return null;var J=JSON.stringify(T,function(Ee,b){var I=we(b);return I==="symbol"?String(b):b});return new g("Invalid "+K+" `"+M+"` of value `"+String(P)+"` "+("supplied to `"+$+"`, expected one of "+J+"."))}return E(_)}function j(T){function _(z,q,$,K,M){if(typeof T!="function")return new g("Property `"+M+"` of component `"+$+"` has invalid PropType notation inside objectOf.");var P=z[q],H=xe(P);if(H!=="object")return new g("Invalid "+K+" `"+M+"` of type "+("`"+H+"` supplied to `"+$+"`, expected an object."));for(var J in P)if(n(P,J)){var N=T(P,J,$,K,M+"."+J,i);if(N instanceof Error)return N}return null}return E(_)}function G(T){if(!Array.isArray(T))return process.env.NODE_ENV!=="production"&&o("Invalid argument supplied to oneOfType, expected an instance of array."),a;for(var _=0;_<T.length;_++){var z=T[_];if(typeof z!="function")return o("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+ce(z)+" at index "+_+"."),a}function q($,K,M,P,H){for(var J=[],N=0;N<T.length;N++){var Ee=T[N],b=Ee($,K,M,P,H,i);if(b==null)return null;b.data&&n(b.data,"expectedType")&&J.push(b.data.expectedType)}var I=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new g("Invalid "+P+" `"+H+"` supplied to "+("`"+M+"`"+I+"."))}return E(q)}function Y(){function T(_,z,q,$,K){return W(_[z])?null:new g("Invalid "+$+" `"+K+"` supplied to "+("`"+q+"`, expected a ReactNode."))}return E(T)}function ie(T,_,z,q,$){return new g((T||"React class")+": "+_+" type `"+z+"."+q+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+$+"`.")}function re(T){function _(z,q,$,K,M){var P=z[q],H=xe(P);if(H!=="object")return new g("Invalid "+K+" `"+M+"` of type `"+H+"` "+("supplied to `"+$+"`, expected `object`."));for(var J in T){var N=T[J];if(typeof N!="function")return ie($,K,M,J,we(N));var Ee=N(P,J,$,K,M+"."+J,i);if(Ee)return Ee}return null}return E(_)}function Z(T){function _(z,q,$,K,M){var P=z[q],H=xe(P);if(H!=="object")return new g("Invalid "+K+" `"+M+"` of type `"+H+"` "+("supplied to `"+$+"`, expected `object`."));var J=t({},z[q],T);for(var N in J){var Ee=T[N];if(n(T,N)&&typeof Ee!="function")return ie($,K,M,N,we(Ee));if(!Ee)return new g("Invalid "+K+" `"+M+"` key `"+N+"` supplied to `"+$+"`.\nBad object: "+JSON.stringify(z[q],null," ")+`
|
44
|
+
Valid keys: `+JSON.stringify(Object.keys(T),null," "));var b=Ee(P,N,$,K,M+"."+N,i);if(b)return b}return null}return E(_)}function W(T){switch(typeof T){case"number":case"string":case"undefined":return!0;case"boolean":return!T;case"object":if(Array.isArray(T))return T.every(W);if(T===null||s(T))return!0;var _=u(T);if(_){var z=_.call(T),q;if(_!==T.entries){for(;!(q=z.next()).done;)if(!W(q.value))return!1}else for(;!(q=z.next()).done;){var $=q.value;if($&&!W($[1]))return!1}}else return!1;return!0;default:return!1}}function le(T,_){return T==="symbol"?!0:_?_["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&_ instanceof Symbol:!1}function xe(T){var _=typeof T;return Array.isArray(T)?"array":T instanceof RegExp?"object":le(_,T)?"symbol":_}function we(T){if(typeof T>"u"||T===null)return""+T;var _=xe(T);if(_==="object"){if(T instanceof Date)return"date";if(T instanceof RegExp)return"regexp"}return _}function ce(T){var _=we(T);switch(_){case"array":case"object":return"an "+_;case"boolean":case"date":case"regexp":return"a "+_;default:return _}}function he(T){return!T.constructor||!T.constructor.name?f:T.constructor.name}return x.checkPropTypes=r,x.resetWarningCache=r.resetWarningCache,x.PropTypes=x,x},Fn}var Pn,Ji;function La(){if(Ji)return Pn;Ji=1;var e=An();function t(){}function i(){}return i.resetWarningCache=t,Pn=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},Pn}var Xi;function za(){if(Xi)return Kt.exports;if(Xi=1,process.env.NODE_ENV!=="production"){var e=Wi(),t=!0;Kt.exports=Ba()(e.isElement,t)}else Kt.exports=La()();return Kt.exports}var Ma=za();const be=wi(Ma);function at(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 $a=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 yt(e,t,i){const n=Na(e),{webkitRelativePath:r}=e,o=typeof t=="string"?t:typeof r=="string"&&r.length>0?r:`./${e.name}`;return typeof n.path!="string"&&Zi(n,"path",o),Zi(n,"relativePath",o),n}function Na(e){const{name:t}=e;if(t&&t.lastIndexOf(".")!==-1&&!e.type){const n=t.split(".").pop().toLowerCase(),r=$a.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}function Zi(e,t,i){Object.defineProperty(e,t,{value:i,writable:!1,configurable:!1,enumerable:!0})}const qa=[".DS_Store","Thumbs.db"];function Wa(e){return at(this,void 0,void 0,function*(){return Xt(e)&&Ua(e.dataTransfer)?Ya(e.dataTransfer,e.type):Va(e)?Ha(e):Array.isArray(e)&&e.every(t=>"getFile"in t&&typeof t.getFile=="function")?Ga(e):[]})}function Ua(e){return Xt(e)}function Va(e){return Xt(e)&&Xt(e.target)}function Xt(e){return typeof e=="object"&&e!==null}function Ha(e){return In(e.target.files).map(t=>yt(t))}function Ga(e){return at(this,void 0,void 0,function*(){return(yield Promise.all(e.map(i=>i.getFile()))).map(i=>yt(i))})}function Ya(e,t){return at(this,void 0,void 0,function*(){if(e.items){const i=In(e.items).filter(r=>r.kind==="file");if(t!=="drop")return i;const n=yield Promise.all(i.map(Ka));return Qi(er(n))}return Qi(In(e.files).map(i=>yt(i)))})}function Qi(e){return e.filter(t=>qa.indexOf(t.name)===-1)}function In(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 Ka(e){if(typeof e.webkitGetAsEntry!="function")return tr(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?nr(t):tr(e,t)}function er(e){return e.reduce((t,i)=>[...t,...Array.isArray(i)?er(i):[i]],[])}function tr(e,t){return at(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,yt(a)}}const n=e.getAsFile();if(!n)throw new Error(`${e} is not a File`);return yt(n,(i=t==null?void 0:t.fullPath)!==null&&i!==void 0?i:void 0)})}function Ja(e){return at(this,void 0,void 0,function*(){return e.isDirectory?nr(e):Xa(e)})}function nr(e){const t=e.createReader();return new Promise((i,n)=>{const r=[];function o(){t.readEntries(a=>at(this,void 0,void 0,function*(){if(a.length){const s=Promise.all(a.map(Ja));r.push(s),o()}else try{const s=yield Promise.all(r);i(s)}catch(s){n(s)}}),a=>{n(a)})}o()})}function Xa(e){return at(this,void 0,void 0,function*(){return new Promise((t,i)=>{e.file(n=>{const r=yt(n,e.fullPath);t(r)},n=>{i(n)})})})}var Zt={},ir;function Za(){return ir||(ir=1,Zt.__esModule=!0,Zt.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}),Zt}var Qa=Za();const Bn=wi(Qa);function rr(e){return ns(e)||ts(e)||cr(e)||es()}function es(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
45
45
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ts(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ns(e){if(Array.isArray(e))return Ln(e)}function or(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 ar(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?or(Object(i),!0).forEach(function(n){sr(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):or(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function sr(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function jt(e,t){return os(e)||rs(e,t)||cr(e,t)||is()}function is(){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 cr(e,t){if(e){if(typeof e=="string")return Ln(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 Ln(e,t)}}function Ln(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 rs(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 os(e){if(Array.isArray(e))return e}var as=typeof Bn=="function"?Bn:Bn.default,ss="file-invalid-type",cs="file-too-large",ls="file-too-small",ps="too-many-files",us=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:ss,message:"File type must be ".concat(n)}},lr=function(t){return{code:cs,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},pr=function(t){return{code:ls,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},ds={code:ps,message:"Too many files"};function ur(e,t){var i=e.type==="application/x-moz-file"||as(e,t);return[i,i?null:us(t)]}function dr(e,t,i){if(
|
46
|
+
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 Ln(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 Ln(e,t)}}function Ln(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 rs(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 os(e){if(Array.isArray(e))return e}var as=typeof Bn=="function"?Bn:Bn.default,ss="file-invalid-type",cs="file-too-large",ls="file-too-small",ps="too-many-files",us=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:ss,message:"File type must be ".concat(n)}},lr=function(t){return{code:cs,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},pr=function(t){return{code:ls,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},ds={code:ps,message:"Too many files"};function ur(e,t){var i=e.type==="application/x-moz-file"||as(e,t);return[i,i?null:us(t)]}function dr(e,t,i){if(st(e.size))if(st(t)&&st(i)){if(e.size>i)return[!1,lr(i)];if(e.size<t)return[!1,pr(t)]}else{if(st(t)&&e.size<t)return[!1,pr(t)];if(st(i)&&e.size>i)return[!1,lr(i)]}return[!0,null]}function st(e){return e!=null}function fs(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=ur(c,i),l=jt(p,1),u=l[0],f=dr(c,n,r),x=jt(f,1),h=x[0],g=s?s(c):null;return u&&h&&!g})}function Qt(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function en(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 fr(e){e.preventDefault()}function ms(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function xs(e){return e.indexOf("Edge/")!==-1}function vs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return ms(e)||xs(e)}function We(){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!Qt(n)&&s&&s.apply(void 0,[n].concat(o)),Qt(n)})}}function gs(){return"showOpenFilePicker"in window}function hs(e){if(st(e)){var t=Object.entries(e).filter(function(i){var n=jt(i,2),r=n[0],o=n[1],a=!0;return mr(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(xr))&&(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),a=!1),a}).reduce(function(i,n){var r=jt(n,2),o=r[0],a=r[1];return ar(ar({},i),{},sr({},o,a))},{});return[{description:"Files",accept:t}]}return e}function ys(e){if(st(e))return Object.entries(e).reduce(function(t,i){var n=jt(i,2),r=n[0],o=n[1];return[].concat(rr(t),[r],rr(o))},[]).filter(function(t){return mr(t)||xr(t)}).join(",")}function bs(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function ws(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function mr(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||e==="application/*"||/\w+\/[-+.\w]+/g.test(e)}function xr(e){return/^.*\.[\w]+$/.test(e)}var Es=["children"],Ss=["open"],Ts=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Rs=["refKey","onChange","onClick"];function ks(e){return _s(e)||Cs(e)||vr(e)||Os()}function Os(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
47
47
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Cs(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function _s(e){if(Array.isArray(e))return Mn(e)}function zn(e,t){return Ds(e)||js(e,t)||vr(e,t)||As()}function As(){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 vr(e,t){if(e){if(typeof e=="string")return Mn(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 Mn(e,t)}}function Mn(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 js(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 Ds(e){if(Array.isArray(e))return e}function gr(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 Te(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?gr(Object(i),!0).forEach(function(n){$n(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):gr(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function $n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function tn(e,t){if(e==null)return{};var i=Fs(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 Fs(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 Nn=w.forwardRef(function(e,t){var i=e.children,n=tn(e,Es),r=yr(n),o=r.open,a=tn(r,Ss);return w.useImperativeHandle(t,function(){return{open:o}},[o]),w.createElement(w.Fragment,null,i(Te(Te({},a),{},{open:o})))});Nn.displayName="Dropzone";var hr={disabled:!1,getFilesFromEvent:Wa,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};Nn.defaultProps=hr,Nn.propTypes={children:be.func,accept:be.objectOf(be.arrayOf(be.string)),multiple:be.bool,preventDropOnDocument:be.bool,noClick:be.bool,noKeyboard:be.bool,noDrag:be.bool,noDragEventsBubbling:be.bool,minSize:be.number,maxSize:be.number,maxFiles:be.number,disabled:be.bool,getFilesFromEvent:be.func,onFileDialogCancel:be.func,onFileDialogOpen:be.func,useFsAccessApi:be.bool,autoFocus:be.bool,onDragEnter:be.func,onDragLeave:be.func,onDragOver:be.func,onDrop:be.func,onDropAccepted:be.func,onDropRejected:be.func,onError:be.func,validator:be.func};var qn={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function yr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Te(Te({},hr),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,x=t.onDropAccepted,h=t.onDropRejected,g=t.onFileDialogCancel,E=t.onFileDialogOpen,m=t.useFsAccessApi,O=t.autoFocus,A=t.preventDropOnDocument,k=t.noClick,v=t.noKeyboard,C=t.noDrag,L=t.noDragEventsBubbling,j=t.onError,G=t.validator,Y=w.useMemo(function(){return ys(i)},[i]),ie=w.useMemo(function(){return hs(i)},[i]),re=w.useMemo(function(){return typeof E=="function"?E:br},[E]),Z=w.useMemo(function(){return typeof g=="function"?g:br},[g]),W=w.useRef(null),le=w.useRef(null),xe=w.useReducer(Ps,qn),we=zn(xe,2),ce=we[0],he=we[1],R=ce.isFocused,_=ce.isFileDialogActive,z=w.useRef(typeof window<"u"&&window.isSecureContext&&m&&gs()),q=function(){!z.current&&_&&setTimeout(function(){if(le.current){var D=le.current.files;D.length||(he({type:"closeDialog"}),Z())}},300)};w.useEffect(function(){return window.addEventListener("focus",q,!1),function(){window.removeEventListener("focus",q,!1)}},[le,_,Z,z]);var $=w.useRef([]),K=function(D){W.current&&W.current.contains(D.target)||(D.preventDefault(),$.current=[])};w.useEffect(function(){return A&&(document.addEventListener("dragover",fr,!1),document.addEventListener("drop",K,!1)),function(){A&&(document.removeEventListener("dragover",fr),document.removeEventListener("drop",K))}},[W,A]),w.useEffect(function(){return!n&&O&&W.current&&W.current.focus(),function(){}},[W,O,n]);var M=w.useCallback(function(S){j?j(S):console.error(S)},[j]),P=w.useCallback(function(S){S.preventDefault(),S.persist(),Re(S),$.current=[].concat(ks($.current),[S.target]),en(S)&&Promise.resolve(r(S)).then(function(D){if(!(Qt(S)&&!L)){var pe=D.length,ye=pe>0&&fs({files:D,accept:Y,minSize:a,maxSize:o,multiple:s,maxFiles:c,validator:G}),Oe=pe>0&&!ye;he({isDragAccept:ye,isDragReject:Oe,isDragActive:!0,type:"setDraggedFiles"}),p&&p(S)}}).catch(function(D){return M(D)})},[r,p,M,L,Y,a,o,s,c,G]),H=w.useCallback(function(S){S.preventDefault(),S.persist(),Re(S);var D=en(S);if(D&&S.dataTransfer)try{S.dataTransfer.dropEffect="copy"}catch{}return D&&u&&u(S),!1},[u,L]),J=w.useCallback(function(S){S.preventDefault(),S.persist(),Re(S);var D=$.current.filter(function(ye){return W.current&&W.current.contains(ye)}),pe=D.indexOf(S.target);pe!==-1&&D.splice(pe,1),$.current=D,!(D.length>0)&&(he({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),en(S)&&l&&l(S))},[W,l,L]),N=w.useCallback(function(S,D){var pe=[],ye=[];S.forEach(function(Oe){var et=ur(Oe,Y),Je=zn(et,2),dt=Je[0],Mt=Je[1],$t=dr(Oe,a,o),St=zn($t,2),Nt=St[0],qt=St[1],Wt=G?G(Oe):null;if(dt&&Nt&&!Wt)pe.push(Oe);else{var Ut=[Mt,qt];Wt&&(Ut=Ut.concat(Wt)),ye.push({file:Oe,errors:Ut.filter(function(Vt){return Vt})})}}),(!s&&pe.length>1||s&&c>=1&&pe.length>c)&&(pe.forEach(function(Oe){ye.push({file:Oe,errors:[ds]})}),pe.splice(0)),he({acceptedFiles:pe,fileRejections:ye,isDragReject:ye.length>0,type:"setFiles"}),f&&f(pe,ye,D),ye.length>0&&h&&h(ye,D),pe.length>0&&x&&x(pe,D)},[he,s,Y,a,o,c,f,x,h,G]),Ee=w.useCallback(function(S){S.preventDefault(),S.persist(),Re(S),$.current=[],en(S)&&Promise.resolve(r(S)).then(function(D){Qt(S)&&!L||N(D,S)}).catch(function(D){return M(D)}),he({type:"reset"})},[r,N,M,L]),b=w.useCallback(function(){if(z.current){he({type:"openDialog"}),re();var S={multiple:s,types:ie};window.showOpenFilePicker(S).then(function(D){return r(D)}).then(function(D){N(D,null),he({type:"closeDialog"})}).catch(function(D){bs(D)?(Z(D),he({type:"closeDialog"})):ws(D)?(z.current=!1,le.current?(le.current.value=null,le.current.click()):M(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."))):M(D)});return}le.current&&(he({type:"openDialog"}),re(),le.current.value=null,le.current.click())},[he,re,Z,m,N,M,ie,s]),I=w.useCallback(function(S){!W.current||!W.current.isEqualNode(S.target)||(S.key===" "||S.key==="Enter"||S.keyCode===32||S.keyCode===13)&&(S.preventDefault(),b())},[W,b]),Q=w.useCallback(function(){he({type:"focus"})},[]),U=w.useCallback(function(){he({type:"blur"})},[]),ve=w.useCallback(function(){k||(vs()?setTimeout(b,0):b())},[k,b]),ke=function(D){return n?null:D},te=function(D){return v?null:ke(D)},ne=function(D){return C?null:ke(D)},Re=function(D){L&&D.stopPropagation()},Ye=w.useMemo(function(){return function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=S.refKey,pe=D===void 0?"ref":D,ye=S.role,Oe=S.onKeyDown,et=S.onFocus,Je=S.onBlur,dt=S.onClick,Mt=S.onDragEnter,$t=S.onDragOver,St=S.onDragLeave,Nt=S.onDrop,qt=tn(S,Rs);return Te(Te($n({onKeyDown:te(We(Oe,I)),onFocus:te(We(et,Q)),onBlur:te(We(Je,U)),onClick:ke(We(dt,ve)),onDragEnter:ne(We(Mt,P)),onDragOver:ne(We($t,H)),onDragLeave:ne(We(St,J)),onDrop:ne(We(Nt,Ee)),role:typeof ye=="string"&&ye!==""?ye:"presentation"},pe,W),!n&&!v?{tabIndex:0}:{}),qt)}},[W,I,Q,U,ve,P,H,J,Ee,v,C,n]),qe=w.useCallback(function(S){S.stopPropagation()},[]),Ke=w.useMemo(function(){return function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=S.refKey,pe=D===void 0?"ref":D,ye=S.onChange,Oe=S.onClick,et=tn(S,Ts),Je=$n({accept:Y,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:ke(We(ye,Ee)),onClick:ke(We(Oe,qe)),tabIndex:-1},pe,le);return Te(Te({},Je),et)}},[le,i,s,Ee,n]);return Te(Te({},ce),{},{isFocused:R&&!n,getRootProps:Ye,getInputProps:Ke,rootRef:W,inputRef:le,open:ke(b)})}function Ps(e,t){switch(t.type){case"focus":return Te(Te({},e),{},{isFocused:!0});case"blur":return Te(Te({},e),{},{isFocused:!1});case"openDialog":return Te(Te({},qn),{},{isFileDialogActive:!0});case"closeDialog":return Te(Te({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Te(Te({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Te(Te({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return Te({},qn);default:return e}}function br(){}const Is={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"]},Bs=10*1e3,wr="[Audio.getDurationSeconds]",Ls=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(wr,"Timeout",e.name,e.size,e.type),i(0)},Bs);o.addEventListener("loadedmetadata",()=>{const c=o.duration;clearTimeout(s),a(),i(c)},{once:!0}),o.addEventListener("error",c=>{clearTimeout(s),a(),t?(console.error(wr,"Error",e.name,e.size,e.type,c),n(e)):i(0)},{once:!0}),o.src=r}),zs=e=>{const t=new Map;return e.forEach(i=>{t.set(`${i.name}-${i.size}`,i)}),Array.from(t.values())},Ms=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=ja.filetypemime(r);t(o)},i.readAsArrayBuffer(e)}),$s=async e=>{try{const t=await Ls(e),i=e;return i.duration=t,i}catch{throw new Error(`Failed to get audio duration for ${e.name}`)}},Ns=e=>{for(const[t,i]of Object.entries(Is)){const n=t.toLowerCase().split("_")[0];if(i.includes(e))return n}},qs=async e=>{var s;const t=await Ms(e),i=((s=e==null?void 0:e.name)==null?void 0:s.split(".").pop())||"",n=t[0]||e.type,r=Ns(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 Ws extends Error{constructor(){super("Max file size exceeded")}}class Us extends Error{constructor(){super("Min file size exceeded")}}class Er extends Error{constructor(){super("File duration too long")}}class Vs 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 Er)},handleMaxSizeError:t=>{var i;console.log("handleMaxSizeError",t),(i=e.onError)==null||i.call(e,new Ws)},handleMinSizeError:t=>{var i;console.log("handleMinSizeError",t),(i=e.onError)==null||i.call(e,new Us)},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 Vs)}}),Gs=e=>{const{handleDurationError:t,handleMaxSizeError:i,handleMinSizeError:n,handleUnknownError:r,handleInvalidTypeError:o}=Hs(e),[a,s]=w.useState(null);return{dropzone:yr({accept:{"audio/wav":[".wav"],"audio/mp3":[".mp3"],"audio/flac":[".flac"]},noClick:!0,minSize:e.minSizeBytes,maxSize:e.maxSizeBytes,onDropAccepted:async p=>{const l=await Promise.all(p.map(u=>qs(u)));try{const f=(await Promise.all(l.map($s))).filter(E=>E.duration<=(e.maxDurationS??1/0)?!0:(s(new Er),t(E),!1)),x=e.files??[],h=zs([...x,...f]),g=h.slice(0,e.maxFileCount??h.length);e.onFileAccepted(g)}catch(u){r(u)}},onDropRejected:p=>{p.forEach(l=>{for(const u of l.errors)u.code==="file-too-large"&&i(l.file),u.code==="file-too-small"&&n(l.file),u.code==="file-invalid-type"&&o(l.file)})}}),error:a,...e}},Sr=w.createContext({}),Ys=()=>w.useContext(Sr),Ks=$e(gt,{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",gap:"8px",height:"100%"}),Rr=({children:e,...t})=>{const i=Gs(t),{files:n,onFileAccepted:r,onDelete:o,maxFileCount:a,maxSizeBytes:s,minSizeBytes:c,maxDurationS:p,onError:l,...u}=t;return se.jsx(Sr.Provider,{value:i,children:se.jsxs(Ks,{...u,...i.dropzone.getRootProps(),children:[se.jsx("input",{...i.dropzone.getInputProps()}),e]})})},Js=$e(gt,{width:"100%",height:"100%",display:"flex",overflow:"hidden",borderRadius:"16px",background:"#ffffff10",flexDirection:"column",alignItems:"stretch",justifyContent:"center"}),Xs=$e(gt,{paddingTop:"32px",display:"flex",justifyContent:"center"}),Zs=$e(gt,{flex:1,gap:"16px",display:"flex",alignItems:"center",justifyContent:"center",padding:"16px"}),Qs=$e(gt,{flexWrap:"wrap",borderTop:"1px solid #ffffff10",display:"flex",alignItems:"stretch"}),ec=$e(gt,{height:"252px",width:"222px",borderRadius:"8px",border:"1px solid #ffffff10",background:"#ffffff10",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}),tc={Root:Js,Header:Xs,Content:Zs,Footer:Qs,Card:ec};function Tr(e,t){return function(){return e.apply(t,arguments)}}const{toString:nc}=Object.prototype,{getPrototypeOf:Wn}=Object,nn=(e=>t=>{const i=nc.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Ne=e=>(e=e.toLowerCase(),t=>nn(t)===e),rn=e=>t=>typeof t===e,{isArray:yt}=Array,Dt=rn("undefined");function ic(e){return e!==null&&!Dt(e)&&e.constructor!==null&&!Dt(e.constructor)&&Be(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const kr=Ne("ArrayBuffer");function rc(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&kr(e.buffer),t}const oc=rn("string"),Be=rn("function"),Or=rn("number"),on=e=>e!==null&&typeof e=="object",ac=e=>e===!0||e===!1,an=e=>{if(nn(e)!=="object")return!1;const t=Wn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sc=Ne("Date"),cc=Ne("File"),lc=Ne("Blob"),pc=Ne("FileList"),uc=e=>on(e)&&Be(e.pipe),dc=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Be(e.append)&&((t=nn(e))==="formdata"||t==="object"&&Be(e.toString)&&e.toString()==="[object FormData]"))},fc=Ne("URLSearchParams"),[mc,xc,vc,gc]=["ReadableStream","Request","Response","Headers"].map(Ne),hc=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ft(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),yt(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 Cr(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 at=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_r=e=>!Dt(e)&&e!==at;function Un(){const{caseless:e}=_r(this)&&this||{},t={},i=(n,r)=>{const o=e&&Cr(t,r)||r;an(t[o])&&an(n)?t[o]=Un(t[o],n):an(n)?t[o]=Un({},n):yt(n)?t[o]=n.slice():t[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&Ft(arguments[n],i);return t}const yc=(e,t,i,{allOwnKeys:n}={})=>(Ft(t,(r,o)=>{i&&Be(r)?e[o]=Tr(r,i):e[o]=r},{allOwnKeys:n}),e),bc=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),wc=(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)},Ec=(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&&Wn(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},Sc=(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},Rc=e=>{if(!e)return null;if(yt(e))return e;let t=e.length;if(!Or(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Tc=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Wn(Uint8Array)),kc=(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])}},Oc=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},Cc=Ne("HTMLFormElement"),_c=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,r){return n.toUpperCase()+r}),Ar=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),Ac=Ne("RegExp"),jr=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};Ft(i,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(n[o]=a||r)}),Object.defineProperties(e,n)},jc=e=>{jr(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+"'")})}})},Dc=(e,t)=>{const i={},n=r=>{r.forEach(o=>{i[o]=!0})};return yt(e)?n(e):n(String(e).split(t)),i},Fc=()=>{},Pc=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Vn="abcdefghijklmnopqrstuvwxyz",Dr="0123456789",Fr={DIGIT:Dr,ALPHA:Vn,ALPHA_DIGIT:Vn+Vn.toUpperCase()+Dr},Ic=(e=16,t=Fr.ALPHA_DIGIT)=>{let i="";const{length:n}=t;for(;e--;)i+=t[Math.random()*n|0];return i};function Bc(e){return!!(e&&Be(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Lc=e=>{const t=new Array(10),i=(n,r)=>{if(on(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;const o=yt(n)?[]:{};return Ft(n,(a,s)=>{const c=i(a,r+1);!Dt(c)&&(o[s]=c)}),t[r]=void 0,o}}return n};return i(e,0)},zc=Ne("AsyncFunction"),Mc=e=>e&&(on(e)||Be(e))&&Be(e.then)&&Be(e.catch),Pr=((e,t)=>e?setImmediate:t?((i,n)=>(at.addEventListener("message",({source:r,data:o})=>{r===at&&o===i&&n.length&&n.shift()()},!1),r=>{n.push(r),at.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Be(at.postMessage)),$c=typeof queueMicrotask<"u"?queueMicrotask.bind(at):typeof process<"u"&&process.nextTick||Pr,y={isArray:yt,isArrayBuffer:kr,isBuffer:ic,isFormData:dc,isArrayBufferView:rc,isString:oc,isNumber:Or,isBoolean:ac,isObject:on,isPlainObject:an,isReadableStream:mc,isRequest:xc,isResponse:vc,isHeaders:gc,isUndefined:Dt,isDate:sc,isFile:cc,isBlob:lc,isRegExp:Ac,isFunction:Be,isStream:uc,isURLSearchParams:fc,isTypedArray:Tc,isFileList:pc,forEach:Ft,merge:Un,extend:yc,trim:hc,stripBOM:bc,inherits:wc,toFlatObject:Ec,kindOf:nn,kindOfTest:Ne,endsWith:Sc,toArray:Rc,forEachEntry:kc,matchAll:Oc,isHTMLForm:Cc,hasOwnProperty:Ar,hasOwnProp:Ar,reduceDescriptors:jr,freezeMethods:jc,toObjectSet:Dc,toCamelCase:_c,noop:Fc,toFiniteNumber:Pc,findKey:Cr,global:at,isContextDefined:_r,ALPHABET:Fr,generateString:Ic,isSpecCompliantForm:Bc,toJSONObject:Lc,isAsyncFn:zc,isThenable:Mc,setImmediate:Pr,asap:$c};function ee(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)}y.inherits(ee,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:y.toJSONObject(this.config),code:this.code,status:this.status}}});const Ir=ee.prototype,Br={};["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=>{Br[e]={value:e}}),Object.defineProperties(ee,Br),Object.defineProperty(Ir,"isAxiosError",{value:!0}),ee.from=(e,t,i,n,r,o)=>{const a=Object.create(Ir);return y.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),ee.call(a,e.message,t,i,n,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Nc=null;function Hn(e){return y.isPlainObject(e)||y.isArray(e)}function Lr(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function zr(e,t,i){return e?e.concat(t).map(function(r,o){return r=Lr(r),!i&&o?"["+r+"]":r}).join(i?".":""):t}function qc(e){return y.isArray(e)&&!e.some(Hn)}const Wc=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function sn(e,t,i){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=y.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,E){return!y.isUndefined(E[g])});const n=i.metaTokens,r=i.visitor||l,o=i.dots,a=i.indexes,c=(i.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(r))throw new TypeError("visitor must be a function");function p(h){if(h===null)return"";if(y.isDate(h))return h.toISOString();if(!c&&y.isBlob(h))throw new ee("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(h)||y.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function l(h,g,E){let m=h;if(h&&!E&&typeof h=="object"){if(y.endsWith(g,"{}"))g=n?g:g.slice(0,-2),h=JSON.stringify(h);else if(y.isArray(h)&&qc(h)||(y.isFileList(h)||y.endsWith(g,"[]"))&&(m=y.toArray(h)))return g=Lr(g),m.forEach(function(A,k){!(y.isUndefined(A)||A===null)&&t.append(a===!0?zr([g],k,o):a===null?g:g+"[]",p(A))}),!1}return Hn(h)?!0:(t.append(zr(E,g,o),p(h)),!1)}const u=[],f=Object.assign(Wc,{defaultVisitor:l,convertValue:p,isVisitable:Hn});function x(h,g){if(!y.isUndefined(h)){if(u.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(h),y.forEach(h,function(m,O){(!(y.isUndefined(m)||m===null)&&r.call(t,m,y.isString(O)?O.trim():O,g,f))===!0&&x(m,g?g.concat(O):[O])}),u.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return x(e),t}function Mr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Gn(e,t){this._pairs=[],e&&sn(e,this,t)}const $r=Gn.prototype;$r.append=function(t,i){this._pairs.push([t,i])},$r.toString=function(t){const i=t?function(n){return t.call(this,n,Mr)}:Mr;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};function Uc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Nr(e,t,i){if(!t)return e;const n=i&&i.encode||Uc;y.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let o;if(r?o=r(t,i):o=y.isURLSearchParams(t)?t.toString():new Gn(t,i).toString(n),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class qr{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){y.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Wr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Vc={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Gn,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Yn=typeof window<"u"&&typeof document<"u",Kn=typeof navigator=="object"&&navigator||void 0,Hc=Yn&&(!Kn||["ReactNative","NativeScript","NS"].indexOf(Kn.product)<0),Gc=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Yc=Yn&&window.location.href||"http://localhost",De={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yn,hasStandardBrowserEnv:Hc,hasStandardBrowserWebWorkerEnv:Gc,navigator:Kn,origin:Yc},Symbol.toStringTag,{value:"Module"})),...Vc};function Kc(e,t){return sn(e,new De.classes.URLSearchParams,Object.assign({visitor:function(i,n,r,o){return De.isNode&&y.isBuffer(i)?(this.append(n,i.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Jc(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Xc(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 Ur(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&&y.isArray(r)?r.length:a,c?(y.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!s):((!r[a]||!y.isObject(r[a]))&&(r[a]=[]),t(i,n,r[a],o)&&y.isArray(r[a])&&(r[a]=Xc(r[a])),!s)}if(y.isFormData(e)&&y.isFunction(e.entries)){const i={};return y.forEachEntry(e,(n,r)=>{t(Jc(n),r,i,0)}),i}return null}function Zc(e,t,i){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const Pt={transitional:Wr,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,o=y.isObject(t);if(o&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return r?JSON.stringify(Ur(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.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 Kc(t,this.formSerializer).toString();if((s=y.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return sn(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(i.setContentType("application/json",!1),Zc(t)):t}],transformResponse:[function(t){const i=this.transitional||Pt.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.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"?ee.from(s,ee.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}}};y.forEach(["delete","get","head","post","put","patch"],e=>{Pt.headers[e]={}});const Qc=y.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"]),el=e=>{const t={};let i,n,r;return e&&e.split(`
|
48
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vr(e,t){if(e){if(typeof e=="string")return Mn(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 Mn(e,t)}}function Mn(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 js(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 Ds(e){if(Array.isArray(e))return e}function gr(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 Re(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?gr(Object(i),!0).forEach(function(n){$n(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):gr(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}function $n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function tn(e,t){if(e==null)return{};var i=Fs(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 Fs(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 Nn=w.forwardRef(function(e,t){var i=e.children,n=tn(e,Es),r=yr(n),o=r.open,a=tn(r,Ss);return w.useImperativeHandle(t,function(){return{open:o}},[o]),w.createElement(w.Fragment,null,i(Re(Re({},a),{},{open:o})))});Nn.displayName="Dropzone";var hr={disabled:!1,getFilesFromEvent:Wa,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};Nn.defaultProps=hr,Nn.propTypes={children:be.func,accept:be.objectOf(be.arrayOf(be.string)),multiple:be.bool,preventDropOnDocument:be.bool,noClick:be.bool,noKeyboard:be.bool,noDrag:be.bool,noDragEventsBubbling:be.bool,minSize:be.number,maxSize:be.number,maxFiles:be.number,disabled:be.bool,getFilesFromEvent:be.func,onFileDialogCancel:be.func,onFileDialogOpen:be.func,useFsAccessApi:be.bool,autoFocus:be.bool,onDragEnter:be.func,onDragLeave:be.func,onDragOver:be.func,onDrop:be.func,onDropAccepted:be.func,onDropRejected:be.func,onError:be.func,validator:be.func};var qn={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function yr(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Re(Re({},hr),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,x=t.onDropAccepted,h=t.onDropRejected,g=t.onFileDialogCancel,E=t.onFileDialogOpen,m=t.useFsAccessApi,O=t.autoFocus,A=t.preventDropOnDocument,k=t.noClick,v=t.noKeyboard,C=t.noDrag,L=t.noDragEventsBubbling,j=t.onError,G=t.validator,Y=w.useMemo(function(){return ys(i)},[i]),ie=w.useMemo(function(){return hs(i)},[i]),re=w.useMemo(function(){return typeof E=="function"?E:br},[E]),Z=w.useMemo(function(){return typeof g=="function"?g:br},[g]),W=w.useRef(null),le=w.useRef(null),xe=w.useReducer(Ps,qn),we=zn(xe,2),ce=we[0],he=we[1],T=ce.isFocused,_=ce.isFileDialogActive,z=w.useRef(typeof window<"u"&&window.isSecureContext&&m&&gs()),q=function(){!z.current&&_&&setTimeout(function(){if(le.current){var D=le.current.files;D.length||(he({type:"closeDialog"}),Z())}},300)};w.useEffect(function(){return window.addEventListener("focus",q,!1),function(){window.removeEventListener("focus",q,!1)}},[le,_,Z,z]);var $=w.useRef([]),K=function(D){W.current&&W.current.contains(D.target)||(D.preventDefault(),$.current=[])};w.useEffect(function(){return A&&(document.addEventListener("dragover",fr,!1),document.addEventListener("drop",K,!1)),function(){A&&(document.removeEventListener("dragover",fr),document.removeEventListener("drop",K))}},[W,A]),w.useEffect(function(){return!n&&O&&W.current&&W.current.focus(),function(){}},[W,O,n]);var M=w.useCallback(function(S){j?j(S):console.error(S)},[j]),P=w.useCallback(function(S){S.preventDefault(),S.persist(),Te(S),$.current=[].concat(ks($.current),[S.target]),en(S)&&Promise.resolve(r(S)).then(function(D){if(!(Qt(S)&&!L)){var pe=D.length,ye=pe>0&&fs({files:D,accept:Y,minSize:a,maxSize:o,multiple:s,maxFiles:c,validator:G}),Oe=pe>0&&!ye;he({isDragAccept:ye,isDragReject:Oe,isDragActive:!0,type:"setDraggedFiles"}),p&&p(S)}}).catch(function(D){return M(D)})},[r,p,M,L,Y,a,o,s,c,G]),H=w.useCallback(function(S){S.preventDefault(),S.persist(),Te(S);var D=en(S);if(D&&S.dataTransfer)try{S.dataTransfer.dropEffect="copy"}catch{}return D&&u&&u(S),!1},[u,L]),J=w.useCallback(function(S){S.preventDefault(),S.persist(),Te(S);var D=$.current.filter(function(ye){return W.current&&W.current.contains(ye)}),pe=D.indexOf(S.target);pe!==-1&&D.splice(pe,1),$.current=D,!(D.length>0)&&(he({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),en(S)&&l&&l(S))},[W,l,L]),N=w.useCallback(function(S,D){var pe=[],ye=[];S.forEach(function(Oe){var tt=ur(Oe,Y),Je=zn(tt,2),mt=Je[0],Mt=Je[1],$t=dr(Oe,a,o),St=zn($t,2),Nt=St[0],qt=St[1],Wt=G?G(Oe):null;if(mt&&Nt&&!Wt)pe.push(Oe);else{var Ut=[Mt,qt];Wt&&(Ut=Ut.concat(Wt)),ye.push({file:Oe,errors:Ut.filter(function(Vt){return Vt})})}}),(!s&&pe.length>1||s&&c>=1&&pe.length>c)&&(pe.forEach(function(Oe){ye.push({file:Oe,errors:[ds]})}),pe.splice(0)),he({acceptedFiles:pe,fileRejections:ye,isDragReject:ye.length>0,type:"setFiles"}),f&&f(pe,ye,D),ye.length>0&&h&&h(ye,D),pe.length>0&&x&&x(pe,D)},[he,s,Y,a,o,c,f,x,h,G]),Ee=w.useCallback(function(S){S.preventDefault(),S.persist(),Te(S),$.current=[],en(S)&&Promise.resolve(r(S)).then(function(D){Qt(S)&&!L||N(D,S)}).catch(function(D){return M(D)}),he({type:"reset"})},[r,N,M,L]),b=w.useCallback(function(){if(z.current){he({type:"openDialog"}),re();var S={multiple:s,types:ie};window.showOpenFilePicker(S).then(function(D){return r(D)}).then(function(D){N(D,null),he({type:"closeDialog"})}).catch(function(D){bs(D)?(Z(D),he({type:"closeDialog"})):ws(D)?(z.current=!1,le.current?(le.current.value=null,le.current.click()):M(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."))):M(D)});return}le.current&&(he({type:"openDialog"}),re(),le.current.value=null,le.current.click())},[he,re,Z,m,N,M,ie,s]),I=w.useCallback(function(S){!W.current||!W.current.isEqualNode(S.target)||(S.key===" "||S.key==="Enter"||S.keyCode===32||S.keyCode===13)&&(S.preventDefault(),b())},[W,b]),Q=w.useCallback(function(){he({type:"focus"})},[]),U=w.useCallback(function(){he({type:"blur"})},[]),ve=w.useCallback(function(){k||(vs()?setTimeout(b,0):b())},[k,b]),ke=function(D){return n?null:D},te=function(D){return v?null:ke(D)},ne=function(D){return C?null:ke(D)},Te=function(D){L&&D.stopPropagation()},Ye=w.useMemo(function(){return function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=S.refKey,pe=D===void 0?"ref":D,ye=S.role,Oe=S.onKeyDown,tt=S.onFocus,Je=S.onBlur,mt=S.onClick,Mt=S.onDragEnter,$t=S.onDragOver,St=S.onDragLeave,Nt=S.onDrop,qt=tn(S,Ts);return Re(Re($n({onKeyDown:te(We(Oe,I)),onFocus:te(We(tt,Q)),onBlur:te(We(Je,U)),onClick:ke(We(mt,ve)),onDragEnter:ne(We(Mt,P)),onDragOver:ne(We($t,H)),onDragLeave:ne(We(St,J)),onDrop:ne(We(Nt,Ee)),role:typeof ye=="string"&&ye!==""?ye:"presentation"},pe,W),!n&&!v?{tabIndex:0}:{}),qt)}},[W,I,Q,U,ve,P,H,J,Ee,v,C,n]),qe=w.useCallback(function(S){S.stopPropagation()},[]),Ke=w.useMemo(function(){return function(){var S=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=S.refKey,pe=D===void 0?"ref":D,ye=S.onChange,Oe=S.onClick,tt=tn(S,Rs),Je=$n({accept:Y,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:ke(We(ye,Ee)),onClick:ke(We(Oe,qe)),tabIndex:-1},pe,le);return Re(Re({},Je),tt)}},[le,i,s,Ee,n]);return Re(Re({},ce),{},{isFocused:T&&!n,getRootProps:Ye,getInputProps:Ke,rootRef:W,inputRef:le,open:ke(b)})}function Ps(e,t){switch(t.type){case"focus":return Re(Re({},e),{},{isFocused:!0});case"blur":return Re(Re({},e),{},{isFocused:!1});case"openDialog":return Re(Re({},qn),{},{isFileDialogActive:!0});case"closeDialog":return Re(Re({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Re(Re({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Re(Re({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:t.isDragReject});case"reset":return Re({},qn);default:return e}}function br(){}const Is={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"]},Bs=10*1e3,wr="[Audio.getDurationSeconds]",Ls=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(wr,"Timeout",e.name,e.size,e.type),i(0)},Bs);o.addEventListener("loadedmetadata",()=>{const c=o.duration;clearTimeout(s),a(),i(c)},{once:!0}),o.addEventListener("error",c=>{clearTimeout(s),a(),t?(console.error(wr,"Error",e.name,e.size,e.type,c),n(e)):i(0)},{once:!0}),o.src=r}),zs=e=>{const t=new Map;return e.forEach(i=>{t.set(`${i.name}-${i.size}`,i)}),Array.from(t.values())},Ms=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=ja.filetypemime(r);t(o)},i.readAsArrayBuffer(e)}),$s=async e=>{try{const t=await Ls(e),i=e;return i.duration=t,i}catch{throw new Error(`Failed to get audio duration for ${e.name}`)}},Ns=e=>{for(const[t,i]of Object.entries(Is)){const n=t.toLowerCase().split("_")[0];if(i.includes(e))return n}},qs=async e=>{var s;const t=await Ms(e),i=((s=e==null?void 0:e.name)==null?void 0:s.split(".").pop())||"",n=t[0]||e.type,r=Ns(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 Ws extends Error{constructor(){super("Max file size exceeded")}}class Us extends Error{constructor(){super("Min file size exceeded")}}class Er extends Error{constructor(){super("File duration too long")}}class Vs 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 Er)},handleMaxSizeError:t=>{var i;console.log("handleMaxSizeError",t),(i=e.onError)==null||i.call(e,new Ws)},handleMinSizeError:t=>{var i;console.log("handleMinSizeError",t),(i=e.onError)==null||i.call(e,new Us)},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 Vs)}}),Gs=e=>{const{handleDurationError:t,handleMaxSizeError:i,handleMinSizeError:n,handleUnknownError:r,handleInvalidTypeError:o}=Hs(e),[a,s]=w.useState(null);return{dropzone:yr({accept:{"audio/wav":[".wav"],"audio/mp3":[".mp3"],"audio/flac":[".flac"]},noClick:!0,minSize:e.minSizeBytes,maxSize:e.maxSizeBytes,onDropAccepted:async p=>{const l=await Promise.all(p.map(u=>qs(u)));try{const f=(await Promise.all(l.map($s))).filter(E=>E.duration<=(e.maxDurationS??1/0)?!0:(s(new Er),t(E),!1)),x=e.files??[],h=zs([...x,...f]),g=h.slice(0,e.maxFileCount??h.length);e.onFileAccepted(g)}catch(u){r(u)}},onDropRejected:p=>{p.forEach(l=>{for(const u of l.errors)u.code==="file-too-large"&&i(l.file),u.code==="file-too-small"&&n(l.file),u.code==="file-invalid-type"&&o(l.file)})}}),error:a,...e}},Sr=w.createContext({}),Ys=()=>w.useContext(Sr),Ks=$e(rt,{position:"relative",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",width:"100%",gap:"8px",height:"100%"}),Tr=({children:e,...t})=>{const i=Gs(t),{files:n,onFileAccepted:r,onDelete:o,maxFileCount:a,maxSizeBytes:s,minSizeBytes:c,maxDurationS:p,onError:l,...u}=t;return oe.jsx(Sr.Provider,{value:i,children:oe.jsxs(Ks,{...u,...i.dropzone.getRootProps(),children:[oe.jsx("input",{...i.dropzone.getInputProps()}),e]})})},Js=$e(rt,{width:"100%",height:"100%",display:"flex",overflow:"hidden",borderRadius:"16px",background:"#ffffff10",flexDirection:"column",alignItems:"stretch",justifyContent:"center"}),Xs=$e(rt,{paddingTop:"32px",display:"flex",justifyContent:"center"}),Zs=$e(rt,{flex:1,gap:"16px",display:"flex",alignItems:"center",justifyContent:"center",padding:"16px"}),Qs=$e(rt,{flexWrap:"wrap",borderTop:"1px solid #ffffff10",display:"flex",alignItems:"stretch"}),ec=$e(rt,{height:"252px",width:"222px",borderRadius:"8px",border:"1px solid #ffffff10",background:"#ffffff10",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}),tc={Root:Js,Header:Xs,Content:Zs,Footer:Qs,Card:ec};function Rr(e,t){return function(){return e.apply(t,arguments)}}const{toString:nc}=Object.prototype,{getPrototypeOf:Wn}=Object,nn=(e=>t=>{const i=nc.call(t);return e[i]||(e[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),Ne=e=>(e=e.toLowerCase(),t=>nn(t)===e),rn=e=>t=>typeof t===e,{isArray:bt}=Array,Dt=rn("undefined");function ic(e){return e!==null&&!Dt(e)&&e.constructor!==null&&!Dt(e.constructor)&&Be(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const kr=Ne("ArrayBuffer");function rc(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&kr(e.buffer),t}const oc=rn("string"),Be=rn("function"),Or=rn("number"),on=e=>e!==null&&typeof e=="object",ac=e=>e===!0||e===!1,an=e=>{if(nn(e)!=="object")return!1;const t=Wn(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sc=Ne("Date"),cc=Ne("File"),lc=Ne("Blob"),pc=Ne("FileList"),uc=e=>on(e)&&Be(e.pipe),dc=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Be(e.append)&&((t=nn(e))==="formdata"||t==="object"&&Be(e.toString)&&e.toString()==="[object FormData]"))},fc=Ne("URLSearchParams"),[mc,xc,vc,gc]=["ReadableStream","Request","Response","Headers"].map(Ne),hc=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ft(e,t,{allOwnKeys:i=!1}={}){if(e===null||typeof e>"u")return;let n,r;if(typeof e!="object"&&(e=[e]),bt(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 Cr(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 ct=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_r=e=>!Dt(e)&&e!==ct;function Un(){const{caseless:e}=_r(this)&&this||{},t={},i=(n,r)=>{const o=e&&Cr(t,r)||r;an(t[o])&&an(n)?t[o]=Un(t[o],n):an(n)?t[o]=Un({},n):bt(n)?t[o]=n.slice():t[o]=n};for(let n=0,r=arguments.length;n<r;n++)arguments[n]&&Ft(arguments[n],i);return t}const yc=(e,t,i,{allOwnKeys:n}={})=>(Ft(t,(r,o)=>{i&&Be(r)?e[o]=Rr(r,i):e[o]=r},{allOwnKeys:n}),e),bc=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),wc=(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)},Ec=(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&&Wn(e)}while(e&&(!i||i(e,t))&&e!==Object.prototype);return t},Sc=(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},Tc=e=>{if(!e)return null;if(bt(e))return e;let t=e.length;if(!Or(t))return null;const i=new Array(t);for(;t-- >0;)i[t]=e[t];return i},Rc=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Wn(Uint8Array)),kc=(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])}},Oc=(e,t)=>{let i;const n=[];for(;(i=e.exec(t))!==null;)n.push(i);return n},Cc=Ne("HTMLFormElement"),_c=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,n,r){return n.toUpperCase()+r}),Ar=(({hasOwnProperty:e})=>(t,i)=>e.call(t,i))(Object.prototype),Ac=Ne("RegExp"),jr=(e,t)=>{const i=Object.getOwnPropertyDescriptors(e),n={};Ft(i,(r,o)=>{let a;(a=t(r,o,e))!==!1&&(n[o]=a||r)}),Object.defineProperties(e,n)},jc=e=>{jr(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+"'")})}})},Dc=(e,t)=>{const i={},n=r=>{r.forEach(o=>{i[o]=!0})};return bt(e)?n(e):n(String(e).split(t)),i},Fc=()=>{},Pc=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Vn="abcdefghijklmnopqrstuvwxyz",Dr="0123456789",Fr={DIGIT:Dr,ALPHA:Vn,ALPHA_DIGIT:Vn+Vn.toUpperCase()+Dr},Ic=(e=16,t=Fr.ALPHA_DIGIT)=>{let i="";const{length:n}=t;for(;e--;)i+=t[Math.random()*n|0];return i};function Bc(e){return!!(e&&Be(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Lc=e=>{const t=new Array(10),i=(n,r)=>{if(on(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;const o=bt(n)?[]:{};return Ft(n,(a,s)=>{const c=i(a,r+1);!Dt(c)&&(o[s]=c)}),t[r]=void 0,o}}return n};return i(e,0)},zc=Ne("AsyncFunction"),Mc=e=>e&&(on(e)||Be(e))&&Be(e.then)&&Be(e.catch),Pr=((e,t)=>e?setImmediate:t?((i,n)=>(ct.addEventListener("message",({source:r,data:o})=>{r===ct&&o===i&&n.length&&n.shift()()},!1),r=>{n.push(r),ct.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",Be(ct.postMessage)),$c=typeof queueMicrotask<"u"?queueMicrotask.bind(ct):typeof process<"u"&&process.nextTick||Pr,y={isArray:bt,isArrayBuffer:kr,isBuffer:ic,isFormData:dc,isArrayBufferView:rc,isString:oc,isNumber:Or,isBoolean:ac,isObject:on,isPlainObject:an,isReadableStream:mc,isRequest:xc,isResponse:vc,isHeaders:gc,isUndefined:Dt,isDate:sc,isFile:cc,isBlob:lc,isRegExp:Ac,isFunction:Be,isStream:uc,isURLSearchParams:fc,isTypedArray:Rc,isFileList:pc,forEach:Ft,merge:Un,extend:yc,trim:hc,stripBOM:bc,inherits:wc,toFlatObject:Ec,kindOf:nn,kindOfTest:Ne,endsWith:Sc,toArray:Tc,forEachEntry:kc,matchAll:Oc,isHTMLForm:Cc,hasOwnProperty:Ar,hasOwnProp:Ar,reduceDescriptors:jr,freezeMethods:jc,toObjectSet:Dc,toCamelCase:_c,noop:Fc,toFiniteNumber:Pc,findKey:Cr,global:ct,isContextDefined:_r,ALPHABET:Fr,generateString:Ic,isSpecCompliantForm:Bc,toJSONObject:Lc,isAsyncFn:zc,isThenable:Mc,setImmediate:Pr,asap:$c};function ee(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)}y.inherits(ee,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:y.toJSONObject(this.config),code:this.code,status:this.status}}});const Ir=ee.prototype,Br={};["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=>{Br[e]={value:e}}),Object.defineProperties(ee,Br),Object.defineProperty(Ir,"isAxiosError",{value:!0}),ee.from=(e,t,i,n,r,o)=>{const a=Object.create(Ir);return y.toFlatObject(e,a,function(c){return c!==Error.prototype},s=>s!=="isAxiosError"),ee.call(a,e.message,t,i,n,r),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Nc=null;function Hn(e){return y.isPlainObject(e)||y.isArray(e)}function Lr(e){return y.endsWith(e,"[]")?e.slice(0,-2):e}function zr(e,t,i){return e?e.concat(t).map(function(r,o){return r=Lr(r),!i&&o?"["+r+"]":r}).join(i?".":""):t}function qc(e){return y.isArray(e)&&!e.some(Hn)}const Wc=y.toFlatObject(y,{},null,function(t){return/^is[A-Z]/.test(t)});function sn(e,t,i){if(!y.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,i=y.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(g,E){return!y.isUndefined(E[g])});const n=i.metaTokens,r=i.visitor||l,o=i.dots,a=i.indexes,c=(i.Blob||typeof Blob<"u"&&Blob)&&y.isSpecCompliantForm(t);if(!y.isFunction(r))throw new TypeError("visitor must be a function");function p(h){if(h===null)return"";if(y.isDate(h))return h.toISOString();if(!c&&y.isBlob(h))throw new ee("Blob is not supported. Use a Buffer instead.");return y.isArrayBuffer(h)||y.isTypedArray(h)?c&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function l(h,g,E){let m=h;if(h&&!E&&typeof h=="object"){if(y.endsWith(g,"{}"))g=n?g:g.slice(0,-2),h=JSON.stringify(h);else if(y.isArray(h)&&qc(h)||(y.isFileList(h)||y.endsWith(g,"[]"))&&(m=y.toArray(h)))return g=Lr(g),m.forEach(function(A,k){!(y.isUndefined(A)||A===null)&&t.append(a===!0?zr([g],k,o):a===null?g:g+"[]",p(A))}),!1}return Hn(h)?!0:(t.append(zr(E,g,o),p(h)),!1)}const u=[],f=Object.assign(Wc,{defaultVisitor:l,convertValue:p,isVisitable:Hn});function x(h,g){if(!y.isUndefined(h)){if(u.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));u.push(h),y.forEach(h,function(m,O){(!(y.isUndefined(m)||m===null)&&r.call(t,m,y.isString(O)?O.trim():O,g,f))===!0&&x(m,g?g.concat(O):[O])}),u.pop()}}if(!y.isObject(e))throw new TypeError("data must be an object");return x(e),t}function Mr(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Gn(e,t){this._pairs=[],e&&sn(e,this,t)}const $r=Gn.prototype;$r.append=function(t,i){this._pairs.push([t,i])},$r.toString=function(t){const i=t?function(n){return t.call(this,n,Mr)}:Mr;return this._pairs.map(function(r){return i(r[0])+"="+i(r[1])},"").join("&")};function Uc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Nr(e,t,i){if(!t)return e;const n=i&&i.encode||Uc;y.isFunction(i)&&(i={serialize:i});const r=i&&i.serialize;let o;if(r?o=r(t,i):o=y.isURLSearchParams(t)?t.toString():new Gn(t,i).toString(n),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class qr{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){y.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Wr={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Vc={isBrowser:!0,classes:{URLSearchParams:typeof URLSearchParams<"u"?URLSearchParams:Gn,FormData:typeof FormData<"u"?FormData:null,Blob:typeof Blob<"u"?Blob:null},protocols:["http","https","file","blob","url","data"]},Yn=typeof window<"u"&&typeof document<"u",Kn=typeof navigator=="object"&&navigator||void 0,Hc=Yn&&(!Kn||["ReactNative","NativeScript","NS"].indexOf(Kn.product)<0),Gc=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Yc=Yn&&window.location.href||"http://localhost",De={...Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yn,hasStandardBrowserEnv:Hc,hasStandardBrowserWebWorkerEnv:Gc,navigator:Kn,origin:Yc},Symbol.toStringTag,{value:"Module"})),...Vc};function Kc(e,t){return sn(e,new De.classes.URLSearchParams,Object.assign({visitor:function(i,n,r,o){return De.isNode&&y.isBuffer(i)?(this.append(n,i.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Jc(e){return y.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Xc(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 Ur(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&&y.isArray(r)?r.length:a,c?(y.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!s):((!r[a]||!y.isObject(r[a]))&&(r[a]=[]),t(i,n,r[a],o)&&y.isArray(r[a])&&(r[a]=Xc(r[a])),!s)}if(y.isFormData(e)&&y.isFunction(e.entries)){const i={};return y.forEachEntry(e,(n,r)=>{t(Jc(n),r,i,0)}),i}return null}function Zc(e,t,i){if(y.isString(e))try{return(t||JSON.parse)(e),y.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(0,JSON.stringify)(e)}const Pt={transitional:Wr,adapter:["xhr","http","fetch"],transformRequest:[function(t,i){const n=i.getContentType()||"",r=n.indexOf("application/json")>-1,o=y.isObject(t);if(o&&y.isHTMLForm(t)&&(t=new FormData(t)),y.isFormData(t))return r?JSON.stringify(Ur(t)):t;if(y.isArrayBuffer(t)||y.isBuffer(t)||y.isStream(t)||y.isFile(t)||y.isBlob(t)||y.isReadableStream(t))return t;if(y.isArrayBufferView(t))return t.buffer;if(y.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 Kc(t,this.formSerializer).toString();if((s=y.isFileList(t))||n.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return sn(s?{"files[]":t}:t,c&&new c,this.formSerializer)}}return o||r?(i.setContentType("application/json",!1),Zc(t)):t}],transformResponse:[function(t){const i=this.transitional||Pt.transitional,n=i&&i.forcedJSONParsing,r=this.responseType==="json";if(y.isResponse(t)||y.isReadableStream(t))return t;if(t&&y.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"?ee.from(s,ee.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}}};y.forEach(["delete","get","head","post","put","patch"],e=>{Pt.headers[e]={}});const Qc=y.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"]),el=e=>{const t={};let i,n,r;return e&&e.split(`
|
49
49
|
`).forEach(function(a){r=a.indexOf(":"),i=a.substring(0,r).trim().toLowerCase(),n=a.substring(r+1).trim(),!(!i||t[i]&&Qc[i])&&(i==="set-cookie"?t[i]?t[i].push(n):t[i]=[n]:t[i]=t[i]?t[i]+", "+n:n)}),t},Vr=Symbol("internals");function It(e){return e&&String(e).trim().toLowerCase()}function cn(e){return e===!1||e==null?e:y.isArray(e)?e.map(cn):String(e)}function tl(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 nl=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Jn(e,t,i,n,r){if(y.isFunction(n))return n.call(this,t,i);if(r&&(t=i),!!y.isString(t)){if(y.isString(n))return t.indexOf(n)!==-1;if(y.isRegExp(n))return n.test(t)}}function il(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,i,n)=>i.toUpperCase()+n)}function rl(e,t){const i=y.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 Ie{constructor(t){t&&this.set(t)}set(t,i,n){const r=this;function o(s,c,p){const l=It(c);if(!l)throw new Error("header name must be a non-empty string");const u=y.findKey(r,l);(!u||r[u]===void 0||p===!0||p===void 0&&r[u]!==!1)&&(r[u||c]=cn(s))}const a=(s,c)=>y.forEach(s,(p,l)=>o(p,l,c));if(y.isPlainObject(t)||t instanceof this.constructor)a(t,i);else if(y.isString(t)&&(t=t.trim())&&!nl(t))a(el(t),i);else if(y.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=It(t),t){const n=y.findKey(this,t);if(n){const r=this[n];if(!i)return r;if(i===!0)return tl(r);if(y.isFunction(i))return i.call(this,r,n);if(y.isRegExp(i))return i.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,i){if(t=It(t),t){const n=y.findKey(this,t);return!!(n&&this[n]!==void 0&&(!i||Jn(this,this[n],n,i)))}return!1}delete(t,i){const n=this;let r=!1;function o(a){if(a=It(a),a){const s=y.findKey(n,a);s&&(!i||Jn(n,n[s],s,i))&&(delete n[s],r=!0)}}return y.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||Jn(this,this[o],o,t,!0))&&(delete this[o],r=!0)}return r}normalize(t){const i=this,n={};return y.forEach(this,(r,o)=>{const a=y.findKey(n,o);if(a){i[a]=cn(r),delete i[o];return}const s=t?il(o):String(o).trim();s!==o&&delete i[o],i[s]=cn(r),n[s]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const i=Object.create(null);return y.forEach(this,(n,r)=>{n!=null&&n!==!1&&(i[r]=t&&y.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[Vr]=this[Vr]={accessors:{}}).accessors,r=this.prototype;function o(a){const s=It(a);n[s]||(rl(r,a),n[s]=!0)}return y.isArray(t)?t.forEach(o):o(t),this}}Ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),y.reduceDescriptors(Ie.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}}),y.freezeMethods(Ie);function Xn(e,t){const i=this||Pt,n=t||i,r=Ie.from(n.headers);let o=n.data;return y.forEach(e,function(s){o=s.call(i,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Hr(e){return!!(e&&e.__CANCEL__)}function bt(e,t,i){ee.call(this,e??"canceled",ee.ERR_CANCELED,t,i),this.name="CanceledError"}y.inherits(bt,ee,{__CANCEL__:!0});function Gr(e,t,i){const n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):t(new ee("Request failed with status code "+i.status,[ee.ERR_BAD_REQUEST,ee.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function ol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function al(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 x=l&&p-l;return x?Math.round(f*1e3/x):void 0}}function sl(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 ln=(e,t,i=3)=>{let n=0;const r=al(50,250);return sl(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)},Yr=(e,t)=>{const i=e!=null;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},Kr=e=>(...t)=>y.asap(()=>e(...t)),cl=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,ll=De.hasStandardBrowserEnv?{write(e,t,i,n,r,o){const a=[e+"="+encodeURIComponent(t)];y.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),y.isString(n)&&a.push("path="+n),y.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 pl(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ul(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Jr(e,t){return e&&!pl(t)?ul(e,t):t}const Xr=e=>e instanceof Ie?{...e}:e;function st(e,t){t=t||{};const i={};function n(p,l,u,f){return y.isPlainObject(p)&&y.isPlainObject(l)?y.merge.call({caseless:f},p,l):y.isPlainObject(l)?y.merge({},l):y.isArray(l)?l.slice():l}function r(p,l,u,f){if(y.isUndefined(l)){if(!y.isUndefined(p))return n(void 0,p,u,f)}else return n(p,l,u,f)}function o(p,l){if(!y.isUndefined(l))return n(void 0,l)}function a(p,l){if(y.isUndefined(l)){if(!y.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(Xr(p),Xr(l),u,!0)};return y.forEach(Object.keys(Object.assign({},e,t)),function(l){const u=c[l]||r,f=u(e[l],t[l],l);y.isUndefined(f)&&u!==s||(i[l]=f)}),i}const Zr=e=>{const t=st({},e);let{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=Ie.from(a),t.url=Nr(Jr(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(y.isFormData(i)){if(De.hasStandardBrowserEnv||De.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(De.hasStandardBrowserEnv&&(n&&y.isFunction(n)&&(n=n(t)),n||n!==!1&&cl(t.url))){const p=r&&o&&ll.read(o);p&&a.set(r,p)}return t},dl=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(i,n){const r=Zr(e);let o=r.data;const a=Ie.from(r.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:p}=r,l,u,f,x,h;function g(){x&&x(),h&&h(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let E=new XMLHttpRequest;E.open(r.method.toUpperCase(),r.url,!0),E.timeout=r.timeout;function m(){if(!E)return;const A=Ie.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),v={data:!s||s==="text"||s==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:A,config:e,request:E};Gr(function(L){i(L),g()},function(L){n(L),g()},v),E=null}"onloadend"in E?E.onloadend=m:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(m)},E.onabort=function(){E&&(n(new ee("Request aborted",ee.ECONNABORTED,e,E)),E=null)},E.onerror=function(){n(new ee("Network Error",ee.ERR_NETWORK,e,E)),E=null},E.ontimeout=function(){let k=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const v=r.transitional||Wr;r.timeoutErrorMessage&&(k=r.timeoutErrorMessage),n(new ee(k,v.clarifyTimeoutError?ee.ETIMEDOUT:ee.ECONNABORTED,e,E)),E=null},o===void 0&&a.setContentType(null),"setRequestHeader"in E&&y.forEach(a.toJSON(),function(k,v){E.setRequestHeader(v,k)}),y.isUndefined(r.withCredentials)||(E.withCredentials=!!r.withCredentials),s&&s!=="json"&&(E.responseType=r.responseType),p&&([f,h]=ln(p,!0),E.addEventListener("progress",f)),c&&E.upload&&([u,x]=ln(c),E.upload.addEventListener("progress",u),E.upload.addEventListener("loadend",x)),(r.cancelToken||r.signal)&&(l=A=>{E&&(n(!A||A.type?new bt(null,e,E):A),E.abort(),E=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const O=ol(r.url);if(O&&De.protocols.indexOf(O)===-1){n(new ee("Unsupported protocol "+O+":",ee.ERR_BAD_REQUEST,e));return}E.send(o||null)})},fl=(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 ee?l:new bt(l instanceof Error?l.message:l))}};let a=t&&setTimeout(()=>{a=null,o(new ee(`timeout ${t} of ms exceeded`,ee.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=()=>y.asap(s),c}},ml=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},xl=async function*(e,t){for await(const i of vl(e))yield*ml(i,t)},vl=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()}},Qr=(e,t,i,n)=>{const r=xl(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})},pn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",eo=pn&&typeof ReadableStream=="function",gl=pn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),to=(e,...t)=>{try{return!!e(...t)}catch{return!1}},hl=eo&&to(()=>{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}),no=64*1024,Zn=eo&&to(()=>y.isReadableStream(new Response("").body)),un={stream:Zn&&(e=>e.body)};pn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!un[t]&&(un[t]=y.isFunction(e[t])?i=>i[t]():(i,n)=>{throw new ee(`Response type '${t}' is not supported`,ee.ERR_NOT_SUPPORT,n)})})})(new Response);const yl=async e=>{if(e==null)return 0;if(y.isBlob(e))return e.size;if(y.isSpecCompliantForm(e))return(await new Request(De.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(y.isArrayBufferView(e)||y.isArrayBuffer(e))return e.byteLength;if(y.isURLSearchParams(e)&&(e=e+""),y.isString(e))return(await gl(e)).byteLength},bl=async(e,t)=>{const i=y.toFiniteNumber(e.getContentLength());return i??yl(t)},Qn={http:Nc,xhr:dl,fetch:pn&&(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}=Zr(e);p=p?(p+"").toLowerCase():"text";let x=fl([r,o&&o.toAbortSignal()],a),h;const g=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let E;try{if(c&&hl&&i!=="get"&&i!=="head"&&(E=await bl(l,n))!==0){let v=new Request(t,{method:"POST",body:n,duplex:"half"}),C;if(y.isFormData(n)&&(C=v.headers.get("content-type"))&&l.setContentType(C),v.body){const[L,j]=Yr(E,ln(Kr(c)));n=Qr(v.body,no,L,j)}}y.isString(u)||(u=u?"include":"omit");const m="credentials"in Request.prototype;h=new Request(t,{...f,signal:x,method:i.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:m?u:void 0});let O=await fetch(h);const A=Zn&&(p==="stream"||p==="response");if(Zn&&(s||A&&g)){const v={};["status","statusText","headers"].forEach(G=>{v[G]=O[G]});const C=y.toFiniteNumber(O.headers.get("content-length")),[L,j]=s&&Yr(C,ln(Kr(s),!0))||[];O=new Response(Qr(O.body,no,L,()=>{j&&j(),g&&g()}),v)}p=p||"text";let k=await un[y.findKey(un,p)||"text"](O,e);return!A&&g&&g(),await new Promise((v,C)=>{Gr(v,C,{data:k,headers:Ie.from(O.headers),status:O.status,statusText:O.statusText,config:e,request:h})})}catch(m){throw g&&g(),m&&m.name==="TypeError"&&/fetch/i.test(m.message)?Object.assign(new ee("Network Error",ee.ERR_NETWORK,e,h),{cause:m.cause||m}):ee.from(m,m&&m.code,e,h)}})};y.forEach(Qn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const io=e=>`- ${e}`,wl=e=>y.isFunction(e)||e===null||e===!1,ro={getAdapter:e=>{e=y.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,!wl(i)&&(n=Qn[(a=String(i)).toLowerCase()],n===void 0))throw new ee(`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 :
|
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[Vr]=this[Vr]={accessors:{}}).accessors,r=this.prototype;function o(a){const s=It(a);n[s]||(rl(r,a),n[s]=!0)}return y.isArray(t)?t.forEach(o):o(t),this}}Ie.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),y.reduceDescriptors(Ie.prototype,({value:e},t)=>{let i=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[i]=n}}}),y.freezeMethods(Ie);function Xn(e,t){const i=this||Pt,n=t||i,r=Ie.from(n.headers);let o=n.data;return y.forEach(e,function(s){o=s.call(i,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Hr(e){return!!(e&&e.__CANCEL__)}function wt(e,t,i){ee.call(this,e??"canceled",ee.ERR_CANCELED,t,i),this.name="CanceledError"}y.inherits(wt,ee,{__CANCEL__:!0});function Gr(e,t,i){const n=i.config.validateStatus;!i.status||!n||n(i.status)?e(i):t(new ee("Request failed with status code "+i.status,[ee.ERR_BAD_REQUEST,ee.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function ol(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function al(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 x=l&&p-l;return x?Math.round(f*1e3/x):void 0}}function sl(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 ln=(e,t,i=3)=>{let n=0;const r=al(50,250);return sl(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)},Yr=(e,t)=>{const i=e!=null;return[n=>t[0]({lengthComputable:i,total:e,loaded:n}),t[1]]},Kr=e=>(...t)=>y.asap(()=>e(...t)),cl=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,ll=De.hasStandardBrowserEnv?{write(e,t,i,n,r,o){const a=[e+"="+encodeURIComponent(t)];y.isNumber(i)&&a.push("expires="+new Date(i).toGMTString()),y.isString(n)&&a.push("path="+n),y.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 pl(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ul(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Jr(e,t){return e&&!pl(t)?ul(e,t):t}const Xr=e=>e instanceof Ie?{...e}:e;function lt(e,t){t=t||{};const i={};function n(p,l,u,f){return y.isPlainObject(p)&&y.isPlainObject(l)?y.merge.call({caseless:f},p,l):y.isPlainObject(l)?y.merge({},l):y.isArray(l)?l.slice():l}function r(p,l,u,f){if(y.isUndefined(l)){if(!y.isUndefined(p))return n(void 0,p,u,f)}else return n(p,l,u,f)}function o(p,l){if(!y.isUndefined(l))return n(void 0,l)}function a(p,l){if(y.isUndefined(l)){if(!y.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(Xr(p),Xr(l),u,!0)};return y.forEach(Object.keys(Object.assign({},e,t)),function(l){const u=c[l]||r,f=u(e[l],t[l],l);y.isUndefined(f)&&u!==s||(i[l]=f)}),i}const Zr=e=>{const t=lt({},e);let{data:i,withXSRFToken:n,xsrfHeaderName:r,xsrfCookieName:o,headers:a,auth:s}=t;t.headers=a=Ie.from(a),t.url=Nr(Jr(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(y.isFormData(i)){if(De.hasStandardBrowserEnv||De.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(De.hasStandardBrowserEnv&&(n&&y.isFunction(n)&&(n=n(t)),n||n!==!1&&cl(t.url))){const p=r&&o&&ll.read(o);p&&a.set(r,p)}return t},dl=typeof XMLHttpRequest<"u"&&function(e){return new Promise(function(i,n){const r=Zr(e);let o=r.data;const a=Ie.from(r.headers).normalize();let{responseType:s,onUploadProgress:c,onDownloadProgress:p}=r,l,u,f,x,h;function g(){x&&x(),h&&h(),r.cancelToken&&r.cancelToken.unsubscribe(l),r.signal&&r.signal.removeEventListener("abort",l)}let E=new XMLHttpRequest;E.open(r.method.toUpperCase(),r.url,!0),E.timeout=r.timeout;function m(){if(!E)return;const A=Ie.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),v={data:!s||s==="text"||s==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:A,config:e,request:E};Gr(function(L){i(L),g()},function(L){n(L),g()},v),E=null}"onloadend"in E?E.onloadend=m:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(m)},E.onabort=function(){E&&(n(new ee("Request aborted",ee.ECONNABORTED,e,E)),E=null)},E.onerror=function(){n(new ee("Network Error",ee.ERR_NETWORK,e,E)),E=null},E.ontimeout=function(){let k=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const v=r.transitional||Wr;r.timeoutErrorMessage&&(k=r.timeoutErrorMessage),n(new ee(k,v.clarifyTimeoutError?ee.ETIMEDOUT:ee.ECONNABORTED,e,E)),E=null},o===void 0&&a.setContentType(null),"setRequestHeader"in E&&y.forEach(a.toJSON(),function(k,v){E.setRequestHeader(v,k)}),y.isUndefined(r.withCredentials)||(E.withCredentials=!!r.withCredentials),s&&s!=="json"&&(E.responseType=r.responseType),p&&([f,h]=ln(p,!0),E.addEventListener("progress",f)),c&&E.upload&&([u,x]=ln(c),E.upload.addEventListener("progress",u),E.upload.addEventListener("loadend",x)),(r.cancelToken||r.signal)&&(l=A=>{E&&(n(!A||A.type?new wt(null,e,E):A),E.abort(),E=null)},r.cancelToken&&r.cancelToken.subscribe(l),r.signal&&(r.signal.aborted?l():r.signal.addEventListener("abort",l)));const O=ol(r.url);if(O&&De.protocols.indexOf(O)===-1){n(new ee("Unsupported protocol "+O+":",ee.ERR_BAD_REQUEST,e));return}E.send(o||null)})},fl=(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 ee?l:new wt(l instanceof Error?l.message:l))}};let a=t&&setTimeout(()=>{a=null,o(new ee(`timeout ${t} of ms exceeded`,ee.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=()=>y.asap(s),c}},ml=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},xl=async function*(e,t){for await(const i of vl(e))yield*ml(i,t)},vl=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()}},Qr=(e,t,i,n)=>{const r=xl(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})},pn=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",eo=pn&&typeof ReadableStream=="function",gl=pn&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),to=(e,...t)=>{try{return!!e(...t)}catch{return!1}},hl=eo&&to(()=>{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}),no=64*1024,Zn=eo&&to(()=>y.isReadableStream(new Response("").body)),un={stream:Zn&&(e=>e.body)};pn&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!un[t]&&(un[t]=y.isFunction(e[t])?i=>i[t]():(i,n)=>{throw new ee(`Response type '${t}' is not supported`,ee.ERR_NOT_SUPPORT,n)})})})(new Response);const yl=async e=>{if(e==null)return 0;if(y.isBlob(e))return e.size;if(y.isSpecCompliantForm(e))return(await new Request(De.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(y.isArrayBufferView(e)||y.isArrayBuffer(e))return e.byteLength;if(y.isURLSearchParams(e)&&(e=e+""),y.isString(e))return(await gl(e)).byteLength},bl=async(e,t)=>{const i=y.toFiniteNumber(e.getContentLength());return i??yl(t)},Qn={http:Nc,xhr:dl,fetch:pn&&(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}=Zr(e);p=p?(p+"").toLowerCase():"text";let x=fl([r,o&&o.toAbortSignal()],a),h;const g=x&&x.unsubscribe&&(()=>{x.unsubscribe()});let E;try{if(c&&hl&&i!=="get"&&i!=="head"&&(E=await bl(l,n))!==0){let v=new Request(t,{method:"POST",body:n,duplex:"half"}),C;if(y.isFormData(n)&&(C=v.headers.get("content-type"))&&l.setContentType(C),v.body){const[L,j]=Yr(E,ln(Kr(c)));n=Qr(v.body,no,L,j)}}y.isString(u)||(u=u?"include":"omit");const m="credentials"in Request.prototype;h=new Request(t,{...f,signal:x,method:i.toUpperCase(),headers:l.normalize().toJSON(),body:n,duplex:"half",credentials:m?u:void 0});let O=await fetch(h);const A=Zn&&(p==="stream"||p==="response");if(Zn&&(s||A&&g)){const v={};["status","statusText","headers"].forEach(G=>{v[G]=O[G]});const C=y.toFiniteNumber(O.headers.get("content-length")),[L,j]=s&&Yr(C,ln(Kr(s),!0))||[];O=new Response(Qr(O.body,no,L,()=>{j&&j(),g&&g()}),v)}p=p||"text";let k=await un[y.findKey(un,p)||"text"](O,e);return!A&&g&&g(),await new Promise((v,C)=>{Gr(v,C,{data:k,headers:Ie.from(O.headers),status:O.status,statusText:O.statusText,config:e,request:h})})}catch(m){throw g&&g(),m&&m.name==="TypeError"&&/fetch/i.test(m.message)?Object.assign(new ee("Network Error",ee.ERR_NETWORK,e,h),{cause:m.cause||m}):ee.from(m,m&&m.code,e,h)}})};y.forEach(Qn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const io=e=>`- ${e}`,wl=e=>y.isFunction(e)||e===null||e===!1,ro={getAdapter:e=>{e=y.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,!wl(i)&&(n=Qn[(a=String(i)).toLowerCase()],n===void 0))throw new ee(`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
51
|
`+o.map(io).join(`
|
52
|
-
`):" "+io(o[0]):"as no adapter specified";throw new ee("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:Qn};function ei(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new
|
53
|
-
`+o):n.stack=o}catch{}}throw n}}_request(t,i){typeof t=="string"?(i=i||{},i.url=t):i=t||{},i=
|
52
|
+
`):" "+io(o[0]):"as no adapter specified";throw new ee("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return n},adapters:Qn};function ei(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new wt(null,e)}function oo(e){return ei(e),e.headers=Ie.from(e.headers),e.data=Xn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ro.getAdapter(e.adapter||Pt.adapter)(e).then(function(n){return ei(e),n.data=Xn.call(e,e.transformResponse,n),n.headers=Ie.from(n.headers),n},function(n){return Hr(n)||(ei(e),n&&n.response&&(n.response.data=Xn.call(e,e.transformResponse,n.response),n.response.headers=Ie.from(n.response.headers))),Promise.reject(n)})}const ao="1.7.9",dn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{dn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const so={};dn.transitional=function(t,i,n){function r(o,a){return"[Axios v"+ao+"] Transitional option '"+o+"'"+a+(n?". "+n:"")}return(o,a,s)=>{if(t===!1)throw new ee(r(a," has been removed"+(i?" in "+i:"")),ee.ERR_DEPRECATED);return i&&!so[a]&&(so[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}},dn.spelling=function(t){return(i,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function El(e,t,i){if(typeof e!="object")throw new ee("options must be an object",ee.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 ee("option "+o+" must be "+c,ee.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new ee("Unknown option "+o,ee.ERR_BAD_OPTION)}}const fn={assertOptions:El,validators:dn},Ue=fn.validators;class pt{constructor(t){this.defaults=t,this.interceptors={request:new qr,response:new qr}}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=lt(this.defaults,i);const{transitional:n,paramsSerializer:r,headers:o}=i;n!==void 0&&fn.assertOptions(n,{silentJSONParsing:Ue.transitional(Ue.boolean),forcedJSONParsing:Ue.transitional(Ue.boolean),clarifyTimeoutError:Ue.transitional(Ue.boolean)},!1),r!=null&&(y.isFunction(r)?i.paramsSerializer={serialize:r}:fn.assertOptions(r,{encode:Ue.function,serialize:Ue.function},!0)),fn.assertOptions(i,{baseUrl:Ue.spelling("baseURL"),withXsrfToken:Ue.spelling("withXSRFToken")},!0),i.method=(i.method||this.defaults.method||"get").toLowerCase();let a=o&&y.merge(o.common,o[i.method]);o&&y.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),i.headers=Ie.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 h=[oo.bind(this),void 0];for(h.unshift.apply(h,s),h.push.apply(h,p),f=h.length,l=Promise.resolve(i);u<f;)l=l.then(h[u++],h[u++]);return l}f=s.length;let x=i;for(u=0;u<f;){const h=s[u++],g=s[u++];try{x=h(x)}catch(E){g.call(this,E);break}}try{l=oo.call(this,x)}catch(h){return Promise.reject(h)}for(u=0,f=p.length;u<f;)l=l.then(p[u++],p[u++]);return l}getUri(t){t=lt(this.defaults,t);const i=Jr(t.baseURL,t.url);return Nr(i,t.params,t.paramsSerializer)}}y.forEach(["delete","get","head","options"],function(t){pt.prototype[t]=function(i,n){return this.request(lt(n||{},{method:t,url:i,data:(n||{}).data}))}}),y.forEach(["post","put","patch"],function(t){function i(n){return function(o,a,s){return this.request(lt(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}pt.prototype[t]=i(),pt.prototype[t+"Form"]=i(!0)});class ti{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 wt(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 ti(function(r){t=r}),cancel:t}}}function Sl(e){return function(i){return e.apply(null,i)}}function Tl(e){return y.isObject(e)&&e.isAxiosError===!0}const ni={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(ni).forEach(([e,t])=>{ni[t]=e});function co(e){const t=new pt(e),i=Rr(pt.prototype.request,t);return y.extend(i,pt.prototype,t,{allOwnKeys:!0}),y.extend(i,t,null,{allOwnKeys:!0}),i.create=function(r){return co(lt(e,r))},i}const _e=co(Pt);_e.Axios=pt,_e.CanceledError=wt,_e.CancelToken=ti,_e.isCancel=Hr,_e.VERSION=ao,_e.toFormData=sn,_e.AxiosError=ee,_e.Cancel=_e.CanceledError,_e.all=function(t){return Promise.all(t)},_e.spread=Sl,_e.isAxiosError=Tl,_e.mergeConfig=lt,_e.AxiosHeaders=Ie,_e.formToJSON=e=>Ur(y.isHTMLForm(e)?new FormData(e):e),_e.getAdapter=ro.getAdapter,_e.HttpStatusCode=ni,_e.default=_e;var mn={exports:{}},ii={};/**
|
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 lo;function
|
61
|
+
*/var lo;function Rl(){if(lo)return ii;lo=1;var e=w;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 x=f(),h=n({inst:{value:x,getSnapshot:f}}),g=h[0].inst,E=h[1];return o(function(){g.value=x,g.getSnapshot=f,c(g)&&E({inst:g})},[u,x,f]),r(function(){return c(g)&&E({inst:g}),u(function(){c(g)&&E({inst:g})})},[u]),a(x),x}function c(u){var f=u.getSnapshot;u=u.value;try{var x=f();return!i(u,x)}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 ii.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:l,ii}var ri={};/**
|
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 po;function kl(){return po||(po=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=w,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(A){{for(var k=arguments.length,v=new Array(k>1?k-1:0),C=1;C<k;C++)v[C-1]=arguments[C];n("error",A,v)}}function n(A,k,v){{var C=t.ReactDebugCurrentFrame,L=C.getStackAddendum();L!==""&&(k+="%s",v=v.concat([L]));var j=v.map(function(G){return String(G)});j.unshift("Warning: "+k),Function.prototype.apply.call(console[A],console,j)}}function r(A,k){return A===k&&(A!==0||1/A===1/k)||A!==A&&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(A,k,v){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 C=k();if(!u){var L=k();o(C,L)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),u=!0)}var j=a({inst:{value:C,getSnapshot:k}}),G=j[0].inst,Y=j[1];return c(function(){G.value=C,G.getSnapshot=k,x(G)&&Y({inst:G})},[A,C,k]),s(function(){x(G)&&Y({inst:G});var ie=function(){x(G)&&Y({inst:G})};return A(ie)},[A]),p(C),C}function x(A){var k=A.getSnapshot,v=A.value;try{var C=k();return!o(v,C)}catch{return!0}}function h(A,k,v){return k()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",E=!g,m=E?h:f,O=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m;ri.useSyncExternalStore=O,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ri}var uo;function Ol(){return uo||(uo=1,process.env.NODE_ENV==="production"?mn.exports=Tl():mn.exports=kl()),mn.exports}var fo=Ol();const Ze=()=>{},Ae=Ze(),oi=Object,V=e=>e===Ae,Le=e=>typeof e=="function",ze=(e,t)=>({...e,...t}),Cl=e=>Le(e.then),xn=new WeakMap;let _l=0;const Bt=e=>{const t=typeof e,i=e&&e.constructor,n=i==Date;let r,o;if(oi(e)===e&&!n&&i!=RegExp){if(r=xn.get(e),r)return r;if(r=++_l+"~",xn.set(e,r),i==Array){for(r="@",o=0;o<e.length;o++)r+=Bt(e[o])+",";xn.set(e,r)}if(i==oi){r="#";const a=oi.keys(e).sort();for(;!V(o=a.pop());)V(e[o])||(r+=o+":"+Bt(e[o])+",");xn.set(e,r)}}else r=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return r},Ve=new WeakMap,ai={},vn={},si="undefined",gn=typeof window!=si,ci=typeof document!=si,Al=()=>gn&&typeof window.requestAnimationFrame!=si,li=(e,t)=>{const i=Ve.get(e);return[()=>!V(t)&&e.get(t)||ai,n=>{if(!V(t)){const r=e.get(t);t in vn||(vn[t]=r),i[5](t,ze(r,n),r||ai)}},i[6],()=>!V(t)&&t in vn?vn[t]:!V(t)&&e.get(t)||ai]};let pi=!0;const jl=()=>pi,[ui,di]=gn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Ze,Ze],Dl=()=>{const e=ci&&document.visibilityState;return V(e)||e!=="hidden"},Fl=e=>(ci&&document.addEventListener("visibilitychange",e),ui("focus",e),()=>{ci&&document.removeEventListener("visibilitychange",e),di("focus",e)}),Pl=e=>{const t=()=>{pi=!0,e()},i=()=>{pi=!1};return ui("online",t),ui("offline",i),()=>{di("online",t),di("offline",i)}},Il={isOnline:jl,isVisible:Dl},Bl={initFocus:Fl,initReconnect:Pl},Lt=!w.useId,lt=!gn||"Deno"in window,mo=e=>Al()?window.requestAnimationFrame(e):setTimeout(e,1),Qe=lt?w.useEffect:w.useLayoutEffect,fi=typeof navigator<"u"&&navigator.connection,xo=!lt&&fi&&(["slow-2g","2g"].includes(fi.effectiveType)||fi.saveData),zt=e=>{if(Le(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Bt(e):"",[e,t]};let Ll=0;const wt=()=>++Ll,vo=0,go=1,ho=2;var He={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:vo,MUTATE_EVENT:ho,RECONNECT_EVENT:go};async function mi(...e){const[t,i,n,r]=e,o=ze({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(Le(i)){const f=i,x=[],h=t.keys();for(const g of h)!/^\$(inf|sub)\$/.test(g)&&f(t.get(g)._k)&&x.push(g);return Promise.all(x.map(u))}return u(i);async function u(f){const[x]=zt(f);if(!x)return;const[h,g]=li(t,x),[E,m,O,A]=Ve.get(t),k=()=>{const Z=E[x];return(Le(o.revalidate)?o.revalidate(h().data,f):o.revalidate!==!1)&&(delete O[x],delete A[x],Z&&Z[0])?Z[0](ho).then(()=>h().data):h().data};if(e.length<3)return k();let v=n,C;const L=wt();m[x]=[L,0];const j=!V(c),G=h(),Y=G.data,ie=G._c,re=V(ie)?Y:ie;if(j&&(c=Le(c)?c(re,Y):c,g({data:c,_c:re})),Le(v))try{v=v(re)}catch(Z){C=Z}if(v&&Cl(v))if(v=await v.catch(Z=>{C=Z}),L!==m[x][0]){if(C)throw C;return v}else C&&j&&p(C)&&(a=!0,g({data:re,_c:Ae}));if(a&&!C)if(Le(a)){const Z=a(v,re);g({data:Z,error:Ae,_c:Ae})}else g({data:v,error:Ae,_c:Ae});if(m[x][1]=wt(),Promise.resolve(k()).then(()=>{g({_c:Ae})}),C){if(l)throw C;return}return v}}const yo=(e,t)=>{for(const i in e)e[i][0]&&e[i][0](t)},zl=(e,t)=>{if(!Ve.has(e)){const i=ze(Bl,t),n={},r=mi.bind(Ae,e);let o=Ze;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 x=a[l];if(x)for(const h of x)h(u,f)},p=()=>{if(!Ve.has(e)&&(Ve.set(e,[n,{},{},{},r,c,s]),!lt)){const l=i.initFocus(setTimeout.bind(Ae,yo.bind(Ae,n,vo))),u=i.initReconnect(setTimeout.bind(Ae,yo.bind(Ae,n,go)));o=()=>{l&&l(),u&&u(),Ve.delete(e)}}};return p(),[e,r,p,o]}return[e,Ve.get(e)[4]]},Ml=(e,t,i,n,r)=>{const o=i.errorRetryCount,a=r.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*i.errorRetryInterval;!V(o)&&a>o||setTimeout(n,s,r)},$l=(e,t)=>Bt(e)==Bt(t),[bo,Nl]=zl(new Map),ql=ze({onLoadingSlow:Ze,onSuccess:Ze,onError:Ze,onErrorRetry:Ml,onDiscarded:Ze,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:xo?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:xo?5e3:3e3,compare:$l,isPaused:()=>!1,cache:bo,mutate:Nl,fallback:{}},Il),Wl=(e,t)=>{const i=ze(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=ze(r,a))}return i},Ul=w.createContext({}),Vl="$inf$",wo=gn&&window.__SWR_DEVTOOLS_USE__,Hl=wo?window.__SWR_DEVTOOLS_USE__:[],Gl=()=>{wo&&(window.__SWR_DEVTOOLS_REACT__=w)},Eo=e=>Le(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],So=()=>ze(ql,w.useContext(Ul)),Yl=e=>(t,i,n)=>e(t,i&&((...o)=>{const[a]=zt(t),[,,,s]=Ve.get(bo);if(a.startsWith(Vl))return i(...o);const c=s[a];return V(c)?i(...o):(delete s[a],c)}),n),Kl=Hl.concat(Yl),Ro=e=>function(...i){const n=So(),[r,o,a]=Eo(i),s=Wl(n,a);let c=e;const{use:p}=s,l=(p||[]).concat(Kl);for(let u=l.length;u--;)c=l[u](c);return c(r,o||s.fetcher||null,s)},To=(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,o]=Eo(i),a=(o.use||[]).concat(t);return e(n,r,{...o,use:a})};Gl();const ko=w.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)}),xi={dedupe:!0},Xl=Ro((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,[x,h,g,E]=Ve.get(n),[m,O]=zt(e),A=w.useRef(!1),k=w.useRef(!1),v=w.useRef(m),C=w.useRef(t),L=w.useRef(i),j=()=>L.current,G=()=>j().isVisible()&&j().isOnline(),[Y,ie,re,Z]=li(n,m),W=w.useRef({}).current,le=V(a)?i.fallback[m]:a,xe=(b,I)=>{for(const Q in W){const U=Q;if(U==="data"){if(!r(b[U],I[U])&&(!V(b[U])||!r(K,I[U])))return!1}else if(I[U]!==b[U])return!1}return!0},we=w.useMemo(()=>{const b=!m||!t?!1:V(s)?j().isPaused()||o?!1:V(c)?!0:c:s,I=ne=>{const Re=ze(ne);return delete Re._k,b?{isValidating:!0,isLoading:!0,...Re}:Re},Q=Y(),U=Z(),ve=I(Q),ke=Q===U?ve:I(U);let te=ve;return[()=>{const ne=I(Y());return xe(ne,te)?(te.data=ne.data,te.isLoading=ne.isLoading,te.isValidating=ne.isValidating,te.error=ne.error,te):(te=ne,ne)},()=>ke]},[n,m]),ce=fo.useSyncExternalStore(w.useCallback(b=>re(m,(I,Q)=>{xe(Q,I)||b()}),[n,m]),we[0],we[1]),he=!A.current,R=x[m]&&x[m].length>0,_=ce.data,z=V(_)?le:_,q=ce.error,$=w.useRef(z),K=f?V(_)?$.current:_:z,M=R&&!V(q)?!1:he&&!V(s)?s:j().isPaused()?!1:o?V(z)?!1:c:V(z)||c,P=!!(m&&t&&he&&M),H=V(ce.isValidating)?P:ce.isValidating,J=V(ce.isLoading)?P:ce.isLoading,N=w.useCallback(async b=>{const I=C.current;if(!m||!I||k.current||j().isPaused())return!1;let Q,U,ve=!0;const ke=b||{},te=!g[m]||!ke.dedupe,ne=()=>Lt?!k.current&&m===v.current&&A.current:m===v.current,Re={isValidating:!1,isLoading:!1},Ye=()=>{ie(Re)},qe=()=>{const S=g[m];S&&S[1]===U&&delete g[m]},Ke={isValidating:!0};V(Y().data)&&(Ke.isLoading=!0);try{if(te&&(ie(Ke),i.loadingTimeout&&V(Y().data)&&setTimeout(()=>{ve&&ne()&&j().onLoadingSlow(m,i)},i.loadingTimeout),g[m]=[I(O),wt()]),[Q,U]=g[m],Q=await Q,te&&setTimeout(qe,i.dedupingInterval),!g[m]||g[m][1]!==U)return te&&ne()&&j().onDiscarded(m),!1;Re.error=Ae;const S=h[m];if(!V(S)&&(U<=S[0]||U<=S[1]||S[1]===0))return Ye(),te&&ne()&&j().onDiscarded(m),!1;const D=Y().data;Re.data=r(D,Q)?D:Q,te&&ne()&&j().onSuccess(Q,m,i)}catch(S){qe();const D=j(),{shouldRetryOnError:pe}=D;D.isPaused()||(Re.error=S,te&&ne()&&(D.onError(S,m,D),(pe===!0||Le(pe)&&pe(S))&&(!j().revalidateOnFocus||!j().revalidateOnReconnect||G())&&D.onErrorRetry(S,m,D,ye=>{const Oe=x[m];Oe&&Oe[0]&&Oe[0](He.ERROR_REVALIDATE_EVENT,ye)},{retryCount:(ke.retryCount||0)+1,dedupe:!0})))}return ve=!1,Ye(),!0},[m,n]),Ee=w.useCallback((...b)=>mi(n,v.current,...b),[]);if(Qe(()=>{C.current=t,L.current=i,V(_)||($.current=_)}),Qe(()=>{if(!m)return;const b=N.bind(Ae,xi);let I=0;const U=To(m,x,(ve,ke={})=>{if(ve==He.FOCUS_EVENT){const te=Date.now();j().revalidateOnFocus&&te>I&&G()&&(I=te+j().focusThrottleInterval,b())}else if(ve==He.RECONNECT_EVENT)j().revalidateOnReconnect&&G()&&b();else{if(ve==He.MUTATE_EVENT)return N();if(ve==He.ERROR_REVALIDATE_EVENT)return N(ke)}});return k.current=!1,v.current=m,A.current=!0,ie({_k:O}),M&&(V(z)||lt?b():mo(b)),()=>{k.current=!0,U()}},[m]),Qe(()=>{let b;function I(){const U=Le(p)?p(Y().data):p;U&&b!==-1&&(b=setTimeout(Q,U))}function Q(){!Y().error&&(l||j().isVisible())&&(u||j().isOnline())?N(xi).then(I):I()}return I(),()=>{b&&(clearTimeout(b),b=-1)}},[p,l,u,m]),w.useDebugValue(K),o&&V(z)&&m){if(!Lt&<)throw new Error("Fallback data is required when using suspense in SSR.");C.current=t,L.current=i,k.current=!1;const b=E[m];if(!V(b)){const I=Ee(b);ko(I)}if(V(q)){const I=N(xi);V(K)||(I.status="fulfilled",I.value=!0),ko(I)}else throw q}return{mutate:Ee,get data(){return W.data=!0,K},get error(){return W.error=!0,q},get isValidating(){return W.isValidating=!0,H},get isLoading(){return W.isLoading=!0,J}}}),Oo=w.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)}),vi={dedupe:!0},Zl=Ro((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,[x,h,g,E]=Ve.get(n),[m,O]=zt(e),A=w.useRef(!1),k=w.useRef(!1),v=w.useRef(m),C=w.useRef(t),L=w.useRef(i),j=()=>L.current,G=()=>j().isVisible()&&j().isOnline(),[Y,ie,re,Z]=li(n,m),W=w.useRef({}).current,le=V(a)?i.fallback[m]:a,xe=(b,I)=>{for(const Q in W){const U=Q;if(U==="data"){if(!r(b[U],I[U])&&(!V(b[U])||!r(K,I[U])))return!1}else if(I[U]!==b[U])return!1}return!0},we=w.useMemo(()=>{const b=!m||!t?!1:V(s)?j().isPaused()||o?!1:V(c)?!0:c:s,I=ne=>{const Re=ze(ne);return delete Re._k,b?{isValidating:!0,isLoading:!0,...Re}:Re},Q=Y(),U=Z(),ve=I(Q),ke=Q===U?ve:I(U);let te=ve;return[()=>{const ne=I(Y());return xe(ne,te)?(te.data=ne.data,te.isLoading=ne.isLoading,te.isValidating=ne.isValidating,te.error=ne.error,te):(te=ne,ne)},()=>ke]},[n,m]),ce=fo.useSyncExternalStore(w.useCallback(b=>re(m,(I,Q)=>{xe(Q,I)||b()}),[n,m]),we[0],we[1]),he=!A.current,R=x[m]&&x[m].length>0,_=ce.data,z=V(_)?le:_,q=ce.error,$=w.useRef(z),K=f?V(_)?$.current:_:z,M=R&&!V(q)?!1:he&&!V(s)?s:j().isPaused()?!1:o?V(z)?!1:c:V(z)||c,P=!!(m&&t&&he&&M),H=V(ce.isValidating)?P:ce.isValidating,J=V(ce.isLoading)?P:ce.isLoading,N=w.useCallback(async b=>{const I=C.current;if(!m||!I||k.current||j().isPaused())return!1;let Q,U,ve=!0;const ke=b||{},te=!g[m]||!ke.dedupe,ne=()=>Lt?!k.current&&m===v.current&&A.current:m===v.current,Re={isValidating:!1,isLoading:!1},Ye=()=>{ie(Re)},qe=()=>{const S=g[m];S&&S[1]===U&&delete g[m]},Ke={isValidating:!0};V(Y().data)&&(Ke.isLoading=!0);try{if(te&&(ie(Ke),i.loadingTimeout&&V(Y().data)&&setTimeout(()=>{ve&&ne()&&j().onLoadingSlow(m,i)},i.loadingTimeout),g[m]=[I(O),wt()]),[Q,U]=g[m],Q=await Q,te&&setTimeout(qe,i.dedupingInterval),!g[m]||g[m][1]!==U)return te&&ne()&&j().onDiscarded(m),!1;Re.error=Ae;const S=h[m];if(!V(S)&&(U<=S[0]||U<=S[1]||S[1]===0))return Ye(),te&&ne()&&j().onDiscarded(m),!1;const D=Y().data;Re.data=r(D,Q)?D:Q,te&&ne()&&j().onSuccess(Q,m,i)}catch(S){qe();const D=j(),{shouldRetryOnError:pe}=D;D.isPaused()||(Re.error=S,te&&ne()&&(D.onError(S,m,D),(pe===!0||Le(pe)&&pe(S))&&(!j().revalidateOnFocus||!j().revalidateOnReconnect||G())&&D.onErrorRetry(S,m,D,ye=>{const Oe=x[m];Oe&&Oe[0]&&Oe[0](He.ERROR_REVALIDATE_EVENT,ye)},{retryCount:(ke.retryCount||0)+1,dedupe:!0})))}return ve=!1,Ye(),!0},[m,n]),Ee=w.useCallback((...b)=>mi(n,v.current,...b),[]);if(Qe(()=>{C.current=t,L.current=i,V(_)||($.current=_)}),Qe(()=>{if(!m)return;const b=N.bind(Ae,vi);let I=0;const U=To(m,x,(ve,ke={})=>{if(ve==He.FOCUS_EVENT){const te=Date.now();j().revalidateOnFocus&&te>I&&G()&&(I=te+j().focusThrottleInterval,b())}else if(ve==He.RECONNECT_EVENT)j().revalidateOnReconnect&&G()&&b();else{if(ve==He.MUTATE_EVENT)return N();if(ve==He.ERROR_REVALIDATE_EVENT)return N(ke)}});return k.current=!1,v.current=m,A.current=!0,ie({_k:O}),M&&(V(z)||lt?b():mo(b)),()=>{k.current=!0,U()}},[m]),Qe(()=>{let b;function I(){const U=Le(p)?p(Y().data):p;U&&b!==-1&&(b=setTimeout(Q,U))}function Q(){!Y().error&&(l||j().isVisible())&&(u||j().isOnline())?N(vi).then(I):I()}return I(),()=>{b&&(clearTimeout(b),b=-1)}},[p,l,u,m]),w.useDebugValue(K),o&&V(z)&&m){if(!Lt&<)throw new Error("Fallback data is required when using suspense in SSR.");C.current=t,L.current=i,k.current=!1;const b=E[m];if(!V(b)){const I=Ee(b);Oo(I)}if(V(q)){const I=N(vi);V(K)||(I.status="fulfilled",I.value=!0),Oo(I)}else throw q}return{mutate:Ee,get data(){return W.data=!0,K},get error(){return W.error=!0,q},get isValidating(){return W.isValidating=!0,H},get isLoading(){return W.isLoading=!0,J}}}),Co=Lt?e=>{e()}:w.startTransition,Ql=e=>{const[,t]=w.useState({}),i=w.useRef(!1),n=w.useRef(e),r=w.useRef({data:!1,error:!1,isValidating:!1}),o=w.useCallback(a=>{let s=!1;const c=n.current;for(const p in a){const l=p;c[l]!==a[l]&&(c[l]=a[l],r.current[l]&&(s=!0))}s&&!i.current&&t({})},[]);return Qe(()=>(i.current=!1,()=>{i.current=!0})),[n,r.current,o]},ep=Jl(Zl,()=>(e,t,i={})=>{const{mutate:n}=So(),r=w.useRef(e),o=w.useRef(t),a=w.useRef(i),s=w.useRef(0),[c,p,l]=Ql({data:Ae,error:Ae,isMutating:!1}),u=c.current,f=w.useCallback(async(h,g)=>{const[E,m]=zt(r.current);if(!o.current)throw new Error("Can’t trigger the mutation: missing fetcher.");if(!E)throw new Error("Can’t trigger the mutation: missing key.");const O=ze(ze({populateCache:!1,throwOnError:!0},a.current),g),A=wt();s.current=A,l({isMutating:!0});try{const k=await n(E,o.current(m,{arg:h}),ze(O,{throwOnError:!0}));return s.current<=A&&(Co(()=>l({data:k,isMutating:!1,error:void 0})),O.onSuccess==null||O.onSuccess.call(O,k,E,O)),k}catch(k){if(s.current<=A&&(Co(()=>l({error:k,isMutating:!1})),O.onError==null||O.onError.call(O,k,E,O),O.throwOnError))throw k}},[]),x=w.useCallback(()=>{s.current=wt(),l({data:Ae,error:Ae,isMutating:!1})},[]);return Qe(()=>{r.current=e,o.current=t,a.current=i}),{trigger:f,reset:x,get data(){return p.data=!0,u.data},get error(){return p.error=!0,u.error},get isMutating(){return p.isMutating=!0,u.isMutating}}}),tp=e=>se.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...e,children:[se.jsx("path",{opacity:"0.15",d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8Z"}),se.jsx("path",{d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",strokeLinecap:"round"})]}),np=Oa({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),ip=$e(tp,{animation:`${np} 2s linear infinite`,variants:{size:{sm:{width:"16px",height:"16px",strokeWidth:"1px"},md:{width:"24px",height:"24px",strokeWidth:"1.5px"},lg:{width:"32px",height:"32px",strokeWidth:"2px"}}}}),rp=e=>se.jsx("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:se.jsx("path",{d:"M6.04995 2.74998C6.04995 2.44623 5.80371 2.19998 5.49995 2.19998C5.19619 2.19998 4.94995 2.44623 4.94995 2.74998V12.25C4.94995 12.5537 5.19619 12.8 5.49995 12.8C5.80371 12.8 6.04995 12.5537 6.04995 12.25V2.74998ZM10.05 2.74998C10.05 2.44623 9.80371 2.19998 9.49995 2.19998C9.19619 2.19998 8.94995 2.44623 8.94995 2.74998V12.25C8.94995 12.5537 9.19619 12.8 9.49995 12.8C9.80371 12.8 10.05 12.5537 10.05 12.25V2.74998Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}),op=({...e})=>se.jsx("svg",{width:"15",height:"15",viewBox:"0 0 24 24",xmlns:"http://www.w3.orkllg/2000/svg",fill:"currentColor",...e,children:se.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.1869 3.71487C5.42703 3.57009 5.72543 3.56159 5.9734 3.69247L20.3734 11.2925C20.6358 11.431 20.8 11.7033 20.8 12C20.8 12.2967 20.6358 12.569 20.3734 12.7075L5.9734 20.3075C5.72543 20.4384 5.42703 20.4299 5.1869 20.2851C4.94679 20.1403 4.79999 19.8803 4.79999 19.6V4.39998C4.79999 4.11959 4.94679 3.85966 5.1869 3.71487Z",fill:"currentColor"})}),ap=e=>{if(!e)return!1;const t=e.split("?")[1];if(!t)return!1;const n=new URLSearchParams(t).get("Expires");return n?new Date(n)<new Date:!1},_o=e=>e&&e.split("?")[0],sp=(e,t)=>_o(e)===_o(t),cp=()=>{const[e,t]=w.useState("paused"),i=()=>{if(typeof window>"u")return null;const p=new Audio;return p.addEventListener("play",()=>t("playing")),p},n=w.useMemo(i,[]),r=w.useRef(n);return{audioRef:r,state:e,setAudio:p=>new Promise(l=>{const u=r==null?void 0:r.current;u&&(u.setAttribute("src",p),t("loading"),u.addEventListener("loadedmetadata",()=>{t("paused"),l()},{once:!0}))}),play:()=>{var p,l;(p=r.current)==null||p.play(),(l=r.current)==null||l.addEventListener("ended",()=>t("paused"),{once:!0})},pause:()=>{var p;(p=r.current)==null||p.pause(),t("paused")},stop:()=>{var l;r.current&&((l=r.current)==null||l.pause(),r.current.currentTime=0),t("paused")}}},gi=w.createContext(null),Ao=e=>{var a;const t=w.useContext(gi),i=sp((a=t.audioRef.current)==null?void 0:a.src,e),n=t.state==="loading"&&i,r=t.state==="playing"&&i;return{...t,isMySrc:i,isLoading:n,isPlaying:r,play:async()=>{var c;const s=(c=t.audioRef.current)==null?void 0:c.src;(!i||ap(s))&&await t.setAudio(e),t.play()}}},lp=()=>w.useContext(gi),jo=({children:e})=>{const t=cp();return se.jsx(gi.Provider,{value:t,children:e})},Do=(e,t,i)=>{const n=Ao(e),r=w.useRef(!1),o=()=>{r.current||(r.current=!0),n.isPlaying?(n.pause(),i==null||i()):(n.play(),t==null||t())};return w.useEffect(()=>()=>{n.isPlaying&&n.pause()},[]),{player:n,playPause:o}},pt=({limit:e,isTrue:t,children:i})=>{const n=[];return t!==!0?null:(Vo.Children.map(i,r=>{const{isTrue:o}=(r==null?void 0:r.props)||{};o===!0&&(!e||n.length<e)&&n.push(r)}),se.jsx(se.Fragment,{children:n}))};pt.defaultProps={limit:1,isTrue:!0},pt.If=({children:e,isTrue:t})=>e;const Fo=({children:e})=>e;Fo.defaultProps={isTrue:!0},pt.Else=Fo;const pp=e=>{const t=r=>typeof r=="object"&&!(r instanceof Date)&&!(r instanceof File)&&r!==null,i=(r,o,a)=>{for(const s in o){const c=o[s];t(c)?i(`${r}[${s}]`,c,a):c!==void 0&&a.append(`${r}[${s}]`,c===null?"":c)}},n=new FormData;for(const r in e){const o=e[r];o instanceof File?n.append(r,o,o.name):o!==void 0&&(t(o)?i(r,o,n):n.append(r,o===null?"":o))}return n},up=$e("div",{"--progress":"-100%",height:"8px",width:"100%",background:"rgba(255, 255, 255, 0.1)",borderRadius:"12px",position:"relative",overflow:"hidden"}),dp=$e("div",{height:"100%",width:"100%",background:"#ffffff",transition:"transform 0.2s ease-in-out",transform:"translateX(var(--progress))",borderRadius:"12px"}),Et={Root:up,Bar:dp};function hn(e,t,i){for(let n=0;n<e.length;++n)t[i+n]=e.charCodeAt(n)}function yn(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 fp(e){const t=new ArrayBuffer(4);return new Float32Array(t)[0]=e,new Uint32Array(t)[0]|0}function mp(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)),yn(p,t,i),i+=2;else if(n===32)p=fp(c[r]),ut(p,t,i),i+=4;else{console.log("Invalid bit depth for PCM encoding.");return}}async function xp(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 vp(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),x=16,h=p,g=4+(8+x)+(8+h);return hn("RIFF",f,0),ut(g,f,4),hn("WAVE",f,8),hn("fmt ",f,12),ut(x,f,16),yn(t?3:1,f,20),yn(n,f,22),ut(r,f,24),ut(s,f,28),yn(c,f,32),ut(o,f,34),hn("data",f,36),ut(h,f,40),mp(e,f,44,o),new Blob([f],{type:"audio/wave"})}async function gp(e,t=!1,i){const n=await xp(e,i);return vp(n,t)}const hp=128;class yp{constructor(){En(this,"mediaRecorder",null);En(this,"stream",null);En(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:hp*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 gp(this.__data):null}}const bn=new yp,hi="Recording.wav",Po=1500,bp=e=>{const[t,i]=w.useState(!1),[n,r]=w.useState(!1),[o,a]=w.useState(!1);return w.useEffect(()=>{var p;const c=async()=>{bn.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 bn.stopRecording();const p=await bn.getWavBlob();if(!p){console.log("Failed to get audio blob",p);return}const l=new File([p],hi,{type:"audio/mpeg",lastModified:Date.now()});e.onFileUpdate(l);return}const c=await bn.startRecording();r(c),setTimeout(()=>{a(!0)},Po)}}},Io=_e.create({baseURL:"https://arpeggi.io/api/v2/"}),wp=async(e,{arg:t})=>(await Io.post("/ml-inference-jobs",pp({soundFile:t.file,type:"audio",voiceModelId:t.voiceModelId,metadata:{splitInstrumental:!0,isRecordedAudio:t.file.name===hi}}),{params:{type:"audio"}})).data,Ep=async e=>e===null?null:(await Io.get(e)).data,Sp=e=>{const t=e>0;return Xl(t?`/ml-inference-jobs/${e}`:null,Ep,{refreshInterval:1e3})},Rp=()=>{const[e,t]=w.useState(null),[i,n]=w.useState(0),[r,o]=w.useState(0),{data:a,isLoading:s}=Sp(i),{trigger:c,isMutating:p}=ep("/ml-inference-jobs",wp);return{file:e,setFile:t,mlijId:i,setMlijId:n,voiceModelId:r,setVoiceModelId:o,data:a,isLoading:s,handleSelectVoice:async f=>{e&&(n(0),o(f),c({file:e,voiceModelId:f},{onSuccess:x=>{console.log("created mlij",x),n(x.id)}}))},reset:()=>{t(null),n(0),o(0)},isMutating:p}},Bo=w.createContext({}),wn=()=>w.useContext(Bo),Tp=({children:e})=>{const t=Rp();return se.jsx(jo,{children:se.jsx(Bo.Provider,{value:t,children:e})})},kp=$e("button",{background:"#ffffff",borderRadius:"12px",width:"64px",height:"64px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",border:"none",outline:"none",transition:"background 0.2s ease-in-out, transform 0.2s ease-in-out",color:"#000000","& > svg":{width:"24px",height:"24px"},"&:hover":{background:"#ffffff99",transform:"scale(1.05)"},"&:active":{background:"#ffffffcc"},"&:disabled":{background:"rgba(255, 255, 255, 0.3)",transform:"none",cursor:"not-allowed"}}),Op=()=>{var o;const{data:e,isMutating:t}=wn(),i=(o=e==null?void 0:e.lossyOutputFile)==null?void 0:o.url,{player:n,playPause:r}=Do(i);return se.jsx(kp,{onClick:r,disabled:n.isLoading||!i,children:se.jsxs(pt,{children:[se.jsx(pt.If,{isTrue:n.isLoading||(e==null?void 0:e.jobStatus)==="running"||t,children:se.jsx(ip,{})}),se.jsx(pt.If,{isTrue:n.isPlaying,children:se.jsx(rp,{})}),se.jsx(pt.Else,{children:se.jsx(op,{})})]})})},Cp=30,Lo=e=>{const t=w.useRef(),i=w.useRef(null);return w.useEffect(()=>{let n=0;return t.current=setInterval(()=>{var o;n+=e;let r=Math.round(Math.atan(n)/(Math.PI/2)*100*1e3)/1e3;(o=i.current)==null||o.style.setProperty("--progress",`${-100+r}%`)},50),()=>clearInterval(t.current)},[]),i},_p=()=>{const e=Lo(.1);return se.jsx(Et.Root,{ref:e,children:se.jsx(Et.Bar,{})})},Ap=()=>se.jsx(Et.Root,{children:se.jsx(Et.Bar,{})}),jp=()=>se.jsx(Et.Root,{style:{"--progress":"0%"},children:se.jsx(Et.Bar,{})}),Dp=()=>{const{data:e}=wn();return e?e.jobStatus==="success"?se.jsx(jp,{}):se.jsx(_p,{},e==null?void 0:e.id):se.jsx(Ap,{})},Fp=1,Pp=100*1024*1024,Ip=1,Bp=({children:e})=>{const{setFile:t}=wn(),i=n=>t(n[0]);return se.jsx(Rr,{files:[],onFileAccepted:i,maxFileCount:Fp,maxSizeBytes:Pp,minSizeBytes:Ip,maxDurationS:Cp,children:e})};me.AudioFilePickerRoot=Rr,me.ConvertStep=tc,me.FilePicker=Bp,me.GuestConvertProvider=Tp,me.InferenceProgress=Dp,me.MIN_RECORDING_LENGTH_MS=Po,me.PlayButton=Op,me.PlayerProvider=jo,me.RECORDED_AUDIO_NAME=hi,me.useAudioFilePickerContext=Ys,me.useFakeProgress=Lo,me.useGuestConvertContext=wn,me.useMediaQuery=Ko,me.usePlayback=Do,me.usePlayer=Ao,me.usePlayerControls=lp,me.useRecorder=bp,Object.defineProperty(me,Symbol.toStringTag,{value:"Module"})});
|
69
|
+
*/var po;function kl(){return po||(po=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=w,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function i(A){{for(var k=arguments.length,v=new Array(k>1?k-1:0),C=1;C<k;C++)v[C-1]=arguments[C];n("error",A,v)}}function n(A,k,v){{var C=t.ReactDebugCurrentFrame,L=C.getStackAddendum();L!==""&&(k+="%s",v=v.concat([L]));var j=v.map(function(G){return String(G)});j.unshift("Warning: "+k),Function.prototype.apply.call(console[A],console,j)}}function r(A,k){return A===k&&(A!==0||1/A===1/k)||A!==A&&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(A,k,v){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 C=k();if(!u){var L=k();o(C,L)||(i("The result of getSnapshot should be cached to avoid an infinite loop"),u=!0)}var j=a({inst:{value:C,getSnapshot:k}}),G=j[0].inst,Y=j[1];return c(function(){G.value=C,G.getSnapshot=k,x(G)&&Y({inst:G})},[A,C,k]),s(function(){x(G)&&Y({inst:G});var ie=function(){x(G)&&Y({inst:G})};return A(ie)},[A]),p(C),C}function x(A){var k=A.getSnapshot,v=A.value;try{var C=k();return!o(v,C)}catch{return!0}}function h(A,k,v){return k()}var g=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",E=!g,m=E?h:f,O=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m;ri.useSyncExternalStore=O,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),ri}var uo;function Ol(){return uo||(uo=1,process.env.NODE_ENV==="production"?mn.exports=Rl():mn.exports=kl()),mn.exports}var fo=Ol();const Ze=()=>{},Ae=Ze(),oi=Object,V=e=>e===Ae,Le=e=>typeof e=="function",ze=(e,t)=>({...e,...t}),Cl=e=>Le(e.then),xn=new WeakMap;let _l=0;const Bt=e=>{const t=typeof e,i=e&&e.constructor,n=i==Date;let r,o;if(oi(e)===e&&!n&&i!=RegExp){if(r=xn.get(e),r)return r;if(r=++_l+"~",xn.set(e,r),i==Array){for(r="@",o=0;o<e.length;o++)r+=Bt(e[o])+",";xn.set(e,r)}if(i==oi){r="#";const a=oi.keys(e).sort();for(;!V(o=a.pop());)V(e[o])||(r+=o+":"+Bt(e[o])+",");xn.set(e,r)}}else r=n?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return r},Ve=new WeakMap,ai={},vn={},si="undefined",gn=typeof window!=si,ci=typeof document!=si,Al=()=>gn&&typeof window.requestAnimationFrame!=si,li=(e,t)=>{const i=Ve.get(e);return[()=>!V(t)&&e.get(t)||ai,n=>{if(!V(t)){const r=e.get(t);t in vn||(vn[t]=r),i[5](t,ze(r,n),r||ai)}},i[6],()=>!V(t)&&t in vn?vn[t]:!V(t)&&e.get(t)||ai]};let pi=!0;const jl=()=>pi,[ui,di]=gn&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Ze,Ze],Dl=()=>{const e=ci&&document.visibilityState;return V(e)||e!=="hidden"},Fl=e=>(ci&&document.addEventListener("visibilitychange",e),ui("focus",e),()=>{ci&&document.removeEventListener("visibilitychange",e),di("focus",e)}),Pl=e=>{const t=()=>{pi=!0,e()},i=()=>{pi=!1};return ui("online",t),ui("offline",i),()=>{di("online",t),di("offline",i)}},Il={isOnline:jl,isVisible:Dl},Bl={initFocus:Fl,initReconnect:Pl},Lt=!w.useId,ut=!gn||"Deno"in window,mo=e=>Al()?window.requestAnimationFrame(e):setTimeout(e,1),Qe=ut?w.useEffect:w.useLayoutEffect,fi=typeof navigator<"u"&&navigator.connection,xo=!ut&&fi&&(["slow-2g","2g"].includes(fi.effectiveType)||fi.saveData),zt=e=>{if(Le(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Bt(e):"",[e,t]};let Ll=0;const Et=()=>++Ll,vo=0,go=1,ho=2;var He={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:vo,MUTATE_EVENT:ho,RECONNECT_EVENT:go};async function mi(...e){const[t,i,n,r]=e,o=ze({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(Le(i)){const f=i,x=[],h=t.keys();for(const g of h)!/^\$(inf|sub)\$/.test(g)&&f(t.get(g)._k)&&x.push(g);return Promise.all(x.map(u))}return u(i);async function u(f){const[x]=zt(f);if(!x)return;const[h,g]=li(t,x),[E,m,O,A]=Ve.get(t),k=()=>{const Z=E[x];return(Le(o.revalidate)?o.revalidate(h().data,f):o.revalidate!==!1)&&(delete O[x],delete A[x],Z&&Z[0])?Z[0](ho).then(()=>h().data):h().data};if(e.length<3)return k();let v=n,C;const L=Et();m[x]=[L,0];const j=!V(c),G=h(),Y=G.data,ie=G._c,re=V(ie)?Y:ie;if(j&&(c=Le(c)?c(re,Y):c,g({data:c,_c:re})),Le(v))try{v=v(re)}catch(Z){C=Z}if(v&&Cl(v))if(v=await v.catch(Z=>{C=Z}),L!==m[x][0]){if(C)throw C;return v}else C&&j&&p(C)&&(a=!0,g({data:re,_c:Ae}));if(a&&!C)if(Le(a)){const Z=a(v,re);g({data:Z,error:Ae,_c:Ae})}else g({data:v,error:Ae,_c:Ae});if(m[x][1]=Et(),Promise.resolve(k()).then(()=>{g({_c:Ae})}),C){if(l)throw C;return}return v}}const yo=(e,t)=>{for(const i in e)e[i][0]&&e[i][0](t)},zl=(e,t)=>{if(!Ve.has(e)){const i=ze(Bl,t),n={},r=mi.bind(Ae,e);let o=Ze;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 x=a[l];if(x)for(const h of x)h(u,f)},p=()=>{if(!Ve.has(e)&&(Ve.set(e,[n,{},{},{},r,c,s]),!ut)){const l=i.initFocus(setTimeout.bind(Ae,yo.bind(Ae,n,vo))),u=i.initReconnect(setTimeout.bind(Ae,yo.bind(Ae,n,go)));o=()=>{l&&l(),u&&u(),Ve.delete(e)}}};return p(),[e,r,p,o]}return[e,Ve.get(e)[4]]},Ml=(e,t,i,n,r)=>{const o=i.errorRetryCount,a=r.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*i.errorRetryInterval;!V(o)&&a>o||setTimeout(n,s,r)},$l=(e,t)=>Bt(e)==Bt(t),[bo,Nl]=zl(new Map),ql=ze({onLoadingSlow:Ze,onSuccess:Ze,onError:Ze,onErrorRetry:Ml,onDiscarded:Ze,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:xo?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:xo?5e3:3e3,compare:$l,isPaused:()=>!1,cache:bo,mutate:Nl,fallback:{}},Il),Wl=(e,t)=>{const i=ze(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=ze(r,a))}return i},Ul=w.createContext({}),Vl="$inf$",wo=gn&&window.__SWR_DEVTOOLS_USE__,Hl=wo?window.__SWR_DEVTOOLS_USE__:[],Gl=()=>{wo&&(window.__SWR_DEVTOOLS_REACT__=w)},Eo=e=>Le(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],So=()=>ze(ql,w.useContext(Ul)),Yl=e=>(t,i,n)=>e(t,i&&((...o)=>{const[a]=zt(t),[,,,s]=Ve.get(bo);if(a.startsWith(Vl))return i(...o);const c=s[a];return V(c)?i(...o):(delete s[a],c)}),n),Kl=Hl.concat(Yl),To=e=>function(...i){const n=So(),[r,o,a]=Eo(i),s=Wl(n,a);let c=e;const{use:p}=s,l=(p||[]).concat(Kl);for(let u=l.length;u--;)c=l[u](c);return c(r,o||s.fetcher||null,s)},Ro=(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,o]=Eo(i),a=(o.use||[]).concat(t);return e(n,r,{...o,use:a})};Gl();const ko=w.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)}),xi={dedupe:!0},Xl=To((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,[x,h,g,E]=Ve.get(n),[m,O]=zt(e),A=w.useRef(!1),k=w.useRef(!1),v=w.useRef(m),C=w.useRef(t),L=w.useRef(i),j=()=>L.current,G=()=>j().isVisible()&&j().isOnline(),[Y,ie,re,Z]=li(n,m),W=w.useRef({}).current,le=V(a)?i.fallback[m]:a,xe=(b,I)=>{for(const Q in W){const U=Q;if(U==="data"){if(!r(b[U],I[U])&&(!V(b[U])||!r(K,I[U])))return!1}else if(I[U]!==b[U])return!1}return!0},we=w.useMemo(()=>{const b=!m||!t?!1:V(s)?j().isPaused()||o?!1:V(c)?!0:c:s,I=ne=>{const Te=ze(ne);return delete Te._k,b?{isValidating:!0,isLoading:!0,...Te}:Te},Q=Y(),U=Z(),ve=I(Q),ke=Q===U?ve:I(U);let te=ve;return[()=>{const ne=I(Y());return xe(ne,te)?(te.data=ne.data,te.isLoading=ne.isLoading,te.isValidating=ne.isValidating,te.error=ne.error,te):(te=ne,ne)},()=>ke]},[n,m]),ce=fo.useSyncExternalStore(w.useCallback(b=>re(m,(I,Q)=>{xe(Q,I)||b()}),[n,m]),we[0],we[1]),he=!A.current,T=x[m]&&x[m].length>0,_=ce.data,z=V(_)?le:_,q=ce.error,$=w.useRef(z),K=f?V(_)?$.current:_:z,M=T&&!V(q)?!1:he&&!V(s)?s:j().isPaused()?!1:o?V(z)?!1:c:V(z)||c,P=!!(m&&t&&he&&M),H=V(ce.isValidating)?P:ce.isValidating,J=V(ce.isLoading)?P:ce.isLoading,N=w.useCallback(async b=>{const I=C.current;if(!m||!I||k.current||j().isPaused())return!1;let Q,U,ve=!0;const ke=b||{},te=!g[m]||!ke.dedupe,ne=()=>Lt?!k.current&&m===v.current&&A.current:m===v.current,Te={isValidating:!1,isLoading:!1},Ye=()=>{ie(Te)},qe=()=>{const S=g[m];S&&S[1]===U&&delete g[m]},Ke={isValidating:!0};V(Y().data)&&(Ke.isLoading=!0);try{if(te&&(ie(Ke),i.loadingTimeout&&V(Y().data)&&setTimeout(()=>{ve&&ne()&&j().onLoadingSlow(m,i)},i.loadingTimeout),g[m]=[I(O),Et()]),[Q,U]=g[m],Q=await Q,te&&setTimeout(qe,i.dedupingInterval),!g[m]||g[m][1]!==U)return te&&ne()&&j().onDiscarded(m),!1;Te.error=Ae;const S=h[m];if(!V(S)&&(U<=S[0]||U<=S[1]||S[1]===0))return Ye(),te&&ne()&&j().onDiscarded(m),!1;const D=Y().data;Te.data=r(D,Q)?D:Q,te&&ne()&&j().onSuccess(Q,m,i)}catch(S){qe();const D=j(),{shouldRetryOnError:pe}=D;D.isPaused()||(Te.error=S,te&&ne()&&(D.onError(S,m,D),(pe===!0||Le(pe)&&pe(S))&&(!j().revalidateOnFocus||!j().revalidateOnReconnect||G())&&D.onErrorRetry(S,m,D,ye=>{const Oe=x[m];Oe&&Oe[0]&&Oe[0](He.ERROR_REVALIDATE_EVENT,ye)},{retryCount:(ke.retryCount||0)+1,dedupe:!0})))}return ve=!1,Ye(),!0},[m,n]),Ee=w.useCallback((...b)=>mi(n,v.current,...b),[]);if(Qe(()=>{C.current=t,L.current=i,V(_)||($.current=_)}),Qe(()=>{if(!m)return;const b=N.bind(Ae,xi);let I=0;const U=Ro(m,x,(ve,ke={})=>{if(ve==He.FOCUS_EVENT){const te=Date.now();j().revalidateOnFocus&&te>I&&G()&&(I=te+j().focusThrottleInterval,b())}else if(ve==He.RECONNECT_EVENT)j().revalidateOnReconnect&&G()&&b();else{if(ve==He.MUTATE_EVENT)return N();if(ve==He.ERROR_REVALIDATE_EVENT)return N(ke)}});return k.current=!1,v.current=m,A.current=!0,ie({_k:O}),M&&(V(z)||ut?b():mo(b)),()=>{k.current=!0,U()}},[m]),Qe(()=>{let b;function I(){const U=Le(p)?p(Y().data):p;U&&b!==-1&&(b=setTimeout(Q,U))}function Q(){!Y().error&&(l||j().isVisible())&&(u||j().isOnline())?N(xi).then(I):I()}return I(),()=>{b&&(clearTimeout(b),b=-1)}},[p,l,u,m]),w.useDebugValue(K),o&&V(z)&&m){if(!Lt&&ut)throw new Error("Fallback data is required when using suspense in SSR.");C.current=t,L.current=i,k.current=!1;const b=E[m];if(!V(b)){const I=Ee(b);ko(I)}if(V(q)){const I=N(xi);V(K)||(I.status="fulfilled",I.value=!0),ko(I)}else throw q}return{mutate:Ee,get data(){return W.data=!0,K},get error(){return W.error=!0,q},get isValidating(){return W.isValidating=!0,H},get isLoading(){return W.isLoading=!0,J}}}),Oo=w.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)}),vi={dedupe:!0},Zl=To((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,[x,h,g,E]=Ve.get(n),[m,O]=zt(e),A=w.useRef(!1),k=w.useRef(!1),v=w.useRef(m),C=w.useRef(t),L=w.useRef(i),j=()=>L.current,G=()=>j().isVisible()&&j().isOnline(),[Y,ie,re,Z]=li(n,m),W=w.useRef({}).current,le=V(a)?i.fallback[m]:a,xe=(b,I)=>{for(const Q in W){const U=Q;if(U==="data"){if(!r(b[U],I[U])&&(!V(b[U])||!r(K,I[U])))return!1}else if(I[U]!==b[U])return!1}return!0},we=w.useMemo(()=>{const b=!m||!t?!1:V(s)?j().isPaused()||o?!1:V(c)?!0:c:s,I=ne=>{const Te=ze(ne);return delete Te._k,b?{isValidating:!0,isLoading:!0,...Te}:Te},Q=Y(),U=Z(),ve=I(Q),ke=Q===U?ve:I(U);let te=ve;return[()=>{const ne=I(Y());return xe(ne,te)?(te.data=ne.data,te.isLoading=ne.isLoading,te.isValidating=ne.isValidating,te.error=ne.error,te):(te=ne,ne)},()=>ke]},[n,m]),ce=fo.useSyncExternalStore(w.useCallback(b=>re(m,(I,Q)=>{xe(Q,I)||b()}),[n,m]),we[0],we[1]),he=!A.current,T=x[m]&&x[m].length>0,_=ce.data,z=V(_)?le:_,q=ce.error,$=w.useRef(z),K=f?V(_)?$.current:_:z,M=T&&!V(q)?!1:he&&!V(s)?s:j().isPaused()?!1:o?V(z)?!1:c:V(z)||c,P=!!(m&&t&&he&&M),H=V(ce.isValidating)?P:ce.isValidating,J=V(ce.isLoading)?P:ce.isLoading,N=w.useCallback(async b=>{const I=C.current;if(!m||!I||k.current||j().isPaused())return!1;let Q,U,ve=!0;const ke=b||{},te=!g[m]||!ke.dedupe,ne=()=>Lt?!k.current&&m===v.current&&A.current:m===v.current,Te={isValidating:!1,isLoading:!1},Ye=()=>{ie(Te)},qe=()=>{const S=g[m];S&&S[1]===U&&delete g[m]},Ke={isValidating:!0};V(Y().data)&&(Ke.isLoading=!0);try{if(te&&(ie(Ke),i.loadingTimeout&&V(Y().data)&&setTimeout(()=>{ve&&ne()&&j().onLoadingSlow(m,i)},i.loadingTimeout),g[m]=[I(O),Et()]),[Q,U]=g[m],Q=await Q,te&&setTimeout(qe,i.dedupingInterval),!g[m]||g[m][1]!==U)return te&&ne()&&j().onDiscarded(m),!1;Te.error=Ae;const S=h[m];if(!V(S)&&(U<=S[0]||U<=S[1]||S[1]===0))return Ye(),te&&ne()&&j().onDiscarded(m),!1;const D=Y().data;Te.data=r(D,Q)?D:Q,te&&ne()&&j().onSuccess(Q,m,i)}catch(S){qe();const D=j(),{shouldRetryOnError:pe}=D;D.isPaused()||(Te.error=S,te&&ne()&&(D.onError(S,m,D),(pe===!0||Le(pe)&&pe(S))&&(!j().revalidateOnFocus||!j().revalidateOnReconnect||G())&&D.onErrorRetry(S,m,D,ye=>{const Oe=x[m];Oe&&Oe[0]&&Oe[0](He.ERROR_REVALIDATE_EVENT,ye)},{retryCount:(ke.retryCount||0)+1,dedupe:!0})))}return ve=!1,Ye(),!0},[m,n]),Ee=w.useCallback((...b)=>mi(n,v.current,...b),[]);if(Qe(()=>{C.current=t,L.current=i,V(_)||($.current=_)}),Qe(()=>{if(!m)return;const b=N.bind(Ae,vi);let I=0;const U=Ro(m,x,(ve,ke={})=>{if(ve==He.FOCUS_EVENT){const te=Date.now();j().revalidateOnFocus&&te>I&&G()&&(I=te+j().focusThrottleInterval,b())}else if(ve==He.RECONNECT_EVENT)j().revalidateOnReconnect&&G()&&b();else{if(ve==He.MUTATE_EVENT)return N();if(ve==He.ERROR_REVALIDATE_EVENT)return N(ke)}});return k.current=!1,v.current=m,A.current=!0,ie({_k:O}),M&&(V(z)||ut?b():mo(b)),()=>{k.current=!0,U()}},[m]),Qe(()=>{let b;function I(){const U=Le(p)?p(Y().data):p;U&&b!==-1&&(b=setTimeout(Q,U))}function Q(){!Y().error&&(l||j().isVisible())&&(u||j().isOnline())?N(vi).then(I):I()}return I(),()=>{b&&(clearTimeout(b),b=-1)}},[p,l,u,m]),w.useDebugValue(K),o&&V(z)&&m){if(!Lt&&ut)throw new Error("Fallback data is required when using suspense in SSR.");C.current=t,L.current=i,k.current=!1;const b=E[m];if(!V(b)){const I=Ee(b);Oo(I)}if(V(q)){const I=N(vi);V(K)||(I.status="fulfilled",I.value=!0),Oo(I)}else throw q}return{mutate:Ee,get data(){return W.data=!0,K},get error(){return W.error=!0,q},get isValidating(){return W.isValidating=!0,H},get isLoading(){return W.isLoading=!0,J}}}),Co=Lt?e=>{e()}:w.startTransition,Ql=e=>{const[,t]=w.useState({}),i=w.useRef(!1),n=w.useRef(e),r=w.useRef({data:!1,error:!1,isValidating:!1}),o=w.useCallback(a=>{let s=!1;const c=n.current;for(const p in a){const l=p;c[l]!==a[l]&&(c[l]=a[l],r.current[l]&&(s=!0))}s&&!i.current&&t({})},[]);return Qe(()=>(i.current=!1,()=>{i.current=!0})),[n,r.current,o]},ep=Jl(Zl,()=>(e,t,i={})=>{const{mutate:n}=So(),r=w.useRef(e),o=w.useRef(t),a=w.useRef(i),s=w.useRef(0),[c,p,l]=Ql({data:Ae,error:Ae,isMutating:!1}),u=c.current,f=w.useCallback(async(h,g)=>{const[E,m]=zt(r.current);if(!o.current)throw new Error("Can’t trigger the mutation: missing fetcher.");if(!E)throw new Error("Can’t trigger the mutation: missing key.");const O=ze(ze({populateCache:!1,throwOnError:!0},a.current),g),A=Et();s.current=A,l({isMutating:!0});try{const k=await n(E,o.current(m,{arg:h}),ze(O,{throwOnError:!0}));return s.current<=A&&(Co(()=>l({data:k,isMutating:!1,error:void 0})),O.onSuccess==null||O.onSuccess.call(O,k,E,O)),k}catch(k){if(s.current<=A&&(Co(()=>l({error:k,isMutating:!1})),O.onError==null||O.onError.call(O,k,E,O),O.throwOnError))throw k}},[]),x=w.useCallback(()=>{s.current=Et(),l({data:Ae,error:Ae,isMutating:!1})},[]);return Qe(()=>{r.current=e,o.current=t,a.current=i}),{trigger:f,reset:x,get data(){return p.data=!0,u.data},get error(){return p.error=!0,u.error},get isMutating(){return p.isMutating=!0,u.isMutating}}}),tp=e=>oe.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",...e,children:[oe.jsx("path",{opacity:"0.15",d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8Z"}),oe.jsx("path",{d:"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2",strokeLinecap:"round"})]}),np=Oa({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),ip=$e(tp,{animation:`${np} 2s linear infinite`,variants:{size:{sm:{width:"16px",height:"16px",strokeWidth:"1px"},md:{width:"24px",height:"24px",strokeWidth:"1.5px"},lg:{width:"32px",height:"32px",strokeWidth:"2px"}}}}),rp=e=>oe.jsx("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:oe.jsx("path",{d:"M6.04995 2.74998C6.04995 2.44623 5.80371 2.19998 5.49995 2.19998C5.19619 2.19998 4.94995 2.44623 4.94995 2.74998V12.25C4.94995 12.5537 5.19619 12.8 5.49995 12.8C5.80371 12.8 6.04995 12.5537 6.04995 12.25V2.74998ZM10.05 2.74998C10.05 2.44623 9.80371 2.19998 9.49995 2.19998C9.19619 2.19998 8.94995 2.44623 8.94995 2.74998V12.25C8.94995 12.5537 9.19619 12.8 9.49995 12.8C9.80371 12.8 10.05 12.5537 10.05 12.25V2.74998Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}),op=({...e})=>oe.jsx("svg",{width:"15",height:"15",viewBox:"0 0 24 24",xmlns:"http://www.w3.orkllg/2000/svg",fill:"currentColor",...e,children:oe.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.1869 3.71487C5.42703 3.57009 5.72543 3.56159 5.9734 3.69247L20.3734 11.2925C20.6358 11.431 20.8 11.7033 20.8 12C20.8 12.2967 20.6358 12.569 20.3734 12.7075L5.9734 20.3075C5.72543 20.4384 5.42703 20.4299 5.1869 20.2851C4.94679 20.1403 4.79999 19.8803 4.79999 19.6V4.39998C4.79999 4.11959 4.94679 3.85966 5.1869 3.71487Z",fill:"currentColor"})}),ap=e=>{if(!e)return!1;const t=e.split("?")[1];if(!t)return!1;const n=new URLSearchParams(t).get("Expires");return n?new Date(n)<new Date:!1},_o=e=>e&&e.split("?")[0],sp=(e,t)=>_o(e)===_o(t),cp=()=>{const[e,t]=w.useState("paused"),i=()=>{if(typeof window>"u")return null;const p=new Audio;return p.addEventListener("play",()=>t("playing")),p},n=w.useMemo(i,[]),r=w.useRef(n);return{audioRef:r,state:e,setAudio:p=>new Promise(l=>{const u=r==null?void 0:r.current;u&&(u.setAttribute("src",p),t("loading"),u.addEventListener("loadedmetadata",()=>{t("paused"),l()},{once:!0}))}),play:()=>{var p,l;(p=r.current)==null||p.play(),(l=r.current)==null||l.addEventListener("ended",()=>t("paused"),{once:!0})},pause:()=>{var p;(p=r.current)==null||p.pause(),t("paused")},stop:()=>{var l;r.current&&((l=r.current)==null||l.pause(),r.current.currentTime=0),t("paused")}}},gi=w.createContext(null),Ao=e=>{var a;const t=w.useContext(gi),i=sp((a=t.audioRef.current)==null?void 0:a.src,e),n=t.state==="loading"&&i,r=t.state==="playing"&&i;return{...t,isMySrc:i,isLoading:n,isPlaying:r,play:async()=>{var c;const s=(c=t.audioRef.current)==null?void 0:c.src;(!i||ap(s))&&await t.setAudio(e),t.play()}}},lp=()=>w.useContext(gi),jo=({children:e})=>{const t=cp();return oe.jsx(gi.Provider,{value:t,children:e})},Do=(e,t,i)=>{const n=Ao(e),r=w.useRef(!1),o=()=>{r.current||(r.current=!0),n.isPlaying?(n.pause(),i==null||i()):(n.play(),t==null||t())};return w.useEffect(()=>()=>{n.isPlaying&&n.pause()},[]),{player:n,playPause:o}},dt=({limit:e,isTrue:t,children:i})=>{const n=[];return t!==!0?null:(Vo.Children.map(i,r=>{const{isTrue:o}=(r==null?void 0:r.props)||{};o===!0&&(!e||n.length<e)&&n.push(r)}),oe.jsx(oe.Fragment,{children:n}))};dt.defaultProps={limit:1,isTrue:!0},dt.If=({children:e,isTrue:t})=>e;const Fo=({children:e})=>e;Fo.defaultProps={isTrue:!0},dt.Else=Fo;const pp=e=>{const t=r=>typeof r=="object"&&!(r instanceof Date)&&!(r instanceof File)&&r!==null,i=(r,o,a)=>{for(const s in o){const c=o[s];t(c)?i(`${r}[${s}]`,c,a):c!==void 0&&a.append(`${r}[${s}]`,c===null?"":c)}},n=new FormData;for(const r in e){const o=e[r];o instanceof File?n.append(r,o,o.name):o!==void 0&&(t(o)?i(r,o,n):n.append(r,o===null?"":o))}return n},up=$e("div",{"--progress":"-100%",height:"8px",width:"100%",background:"rgba(255, 255, 255, 0.1)",borderRadius:"12px",position:"relative",overflow:"hidden"}),dp=$e("div",{height:"100%",width:"100%",background:"#ffffff",transition:"transform 0.2s ease-in-out",transform:"translateX(var(--progress))",borderRadius:"12px"}),et={Root:up,Bar:dp};function hn(e,t,i){for(let n=0;n<e.length;++n)t[i+n]=e.charCodeAt(n)}function yn(e,t,i){e=Math.floor(e),t[i+0]=e&255,t[i+1]=e>>8&255}function ft(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 fp(e){const t=new ArrayBuffer(4);return new Float32Array(t)[0]=e,new Uint32Array(t)[0]|0}function mp(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)),yn(p,t,i),i+=2;else if(n===32)p=fp(c[r]),ft(p,t,i),i+=4;else{console.log("Invalid bit depth for PCM encoding.");return}}async function xp(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 vp(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),x=16,h=p,g=4+(8+x)+(8+h);return hn("RIFF",f,0),ft(g,f,4),hn("WAVE",f,8),hn("fmt ",f,12),ft(x,f,16),yn(t?3:1,f,20),yn(n,f,22),ft(r,f,24),ft(s,f,28),yn(c,f,32),ft(o,f,34),hn("data",f,36),ft(h,f,40),mp(e,f,44,o),new Blob([f],{type:"audio/wave"})}async function gp(e,t=!1,i){const n=await xp(e,i);return vp(n,t)}const hp=128;class yp{constructor(){En(this,"mediaRecorder",null);En(this,"stream",null);En(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:hp*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 gp(this.__data):null}}const bn=new yp,hi="Recording.wav",Po=1500,bp=e=>{const[t,i]=w.useState(!1),[n,r]=w.useState(!1),[o,a]=w.useState(!1);return w.useEffect(()=>{var p;const c=async()=>{bn.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 bn.stopRecording();const p=await bn.getWavBlob();if(!p){console.log("Failed to get audio blob",p);return}const l=new File([p],hi,{type:"audio/mpeg",lastModified:Date.now()});e.onFileUpdate(l);return}const c=await bn.startRecording();r(c),setTimeout(()=>{a(!0)},Po)}}},Io=_e.create({baseURL:"https://arpeggi.io/api/v2/"}),wp=async(e,{arg:t})=>(await Io.post("/ml-inference-jobs",pp({soundFile:t.file,type:"audio",voiceModelId:t.voiceModelId,metadata:{isRecordedAudio:t.file.name===hi}}),{params:{type:"audio"}})).data,Ep=async e=>e===null?null:(await Io.get(e)).data,Sp=e=>{const t=e>0;return Xl(t?`/ml-inference-jobs/${e}`:null,Ep,{refreshInterval:1e3})},Tp=()=>{const[e,t]=w.useState(null),[i,n]=w.useState(0),[r,o]=w.useState(0),{data:a,isLoading:s}=Sp(i),{trigger:c,isMutating:p}=ep("/ml-inference-jobs",wp);return{file:e,setFile:t,mlijId:i,setMlijId:n,voiceModelId:r,setVoiceModelId:o,data:a,isLoading:s,handleSelectVoice:async f=>{e&&(n(0),o(f),c({file:e,voiceModelId:f},{onSuccess:x=>{console.log("created mlij",x),n(x.id)}}))},reset:()=>{t(null),n(0),o(0)},isMutating:p}},Bo=w.createContext({}),wn=()=>w.useContext(Bo),Rp=({children:e})=>{const t=Tp();return oe.jsx(jo,{children:oe.jsx(Bo.Provider,{value:t,children:e})})},kp=$e("button",{background:"#ffffff",borderRadius:"12px",width:"64px",height:"64px",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",border:"none",outline:"none",transition:"background 0.2s ease-in-out, transform 0.2s ease-in-out",color:"#000000","& > svg":{width:"24px",height:"24px"},"&:hover":{background:"#ffffff99",transform:"scale(1.05)"},"&:active":{background:"#ffffffcc"},"&:disabled":{background:"rgba(255, 255, 255, 0.3)",transform:"none",cursor:"not-allowed"}}),Op=e=>{var s;const{data:t,isMutating:i}=wn(),n=(s=t==null?void 0:t.lossyOutputFile)==null?void 0:s.url,{player:r,playPause:o}=Do(n),a=w.useRef(null);return w.useEffect(()=>{if(!r.isMySrc||r.isLoading)return()=>{var l;(l=a.current)==null||l.style.setProperty("--progress","0%")};const c=r.audioRef.current,p=()=>{var u;const l=c.currentTime/c.duration;(u=a==null?void 0:a.current)==null||u.style.setProperty("--progress",`${-100+l*100}%`)};return c.addEventListener("timeupdate",p),()=>{var l;c.removeEventListener("timeupdate",p),(l=a==null?void 0:a.current)==null||l.style.setProperty("--progress","0%")}},[r.isMySrc,r.isLoading,r.audioRef]),oe.jsxs(rt,{row:!0,align:"center",flex:"1",...e,children:[oe.jsx(kp,{onClick:o,disabled:r.isLoading||!n,children:oe.jsxs(dt,{children:[oe.jsx(dt.If,{isTrue:r.isLoading||(t==null?void 0:t.jobStatus)==="running"||i,children:oe.jsx(ip,{})}),oe.jsx(dt.If,{isTrue:r.isPlaying,children:oe.jsx(rp,{})}),oe.jsx(dt.Else,{children:oe.jsx(op,{})})]})}),oe.jsx(et.Root,{ref:a,children:oe.jsx(et.Bar,{})})]})},Cp=30,Lo=e=>{const t=w.useRef(),i=w.useRef(null);return w.useEffect(()=>{let n=0;return t.current=setInterval(()=>{var o;n+=e;let r=Math.round(Math.atan(n)/(Math.PI/2)*100*1e3)/1e3;(o=i.current)==null||o.style.setProperty("--progress",`${-100+r}%`)},50),()=>clearInterval(t.current)},[]),i},_p=()=>{const e=Lo(.1);return oe.jsx(et.Root,{ref:e,children:oe.jsx(et.Bar,{})})},Ap=()=>oe.jsx(et.Root,{children:oe.jsx(et.Bar,{})}),jp=()=>oe.jsx(et.Root,{style:{"--progress":"0%"},children:oe.jsx(et.Bar,{})}),Dp=()=>{const{data:e}=wn();return e?e.jobStatus==="success"?oe.jsx(jp,{}):oe.jsx(_p,{},e==null?void 0:e.id):oe.jsx(Ap,{})},Fp=1,Pp=100*1024*1024,Ip=1,Bp=({children:e})=>{const{setFile:t}=wn(),i=n=>t(n[0]);return oe.jsx(Tr,{files:[],onFileAccepted:i,maxFileCount:Fp,maxSizeBytes:Pp,minSizeBytes:Ip,maxDurationS:Cp,children:e})};me.AudioFilePickerRoot=Tr,me.ConvertStep=tc,me.FilePicker=Bp,me.GuestConvertProvider=Rp,me.InferenceProgress=Dp,me.MIN_RECORDING_LENGTH_MS=Po,me.PlayButton=Op,me.PlayerProvider=jo,me.RECORDED_AUDIO_NAME=hi,me.useAudioFilePickerContext=Ys,me.useFakeProgress=Lo,me.useGuestConvertContext=wn,me.useMediaQuery=Ko,me.usePlayback=Do,me.usePlayer=Ao,me.usePlayerControls=lp,me.useRecorder=bp,Object.defineProperty(me,Symbol.toStringTag,{value:"Module"})});
|
70
70
|
//# sourceMappingURL=index.umd.js.map
|