InvokeAI/frontend/dist/assets/index.ae92a637.js

691 lines
1.2 MiB
JavaScript
Raw Normal View History

function nq(e,t){for(var n=0;n<t.length;n++){const i=t[n];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in e)){const s=Object.getOwnPropertyDescriptor(i,o);s&&Object.defineProperty(e,o,s.get?s:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const l of s.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&i(l)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerpolicy&&(s.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?s.credentials="include":o.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function i(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();var jc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function rq(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var E={exports:{}},lE={exports:{}};/**
* @license React
* react.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e,t){(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n="18.2.0",i=Symbol.for("react.element"),o=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),p=Symbol.for("react.profiler"),m=Symbol.for("react.provider"),v=Symbol.for("react.context"),g=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),C=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),R=Symbol.for("react.offscreen"),L=Symbol.iterator,D="@@iterator";function P(S){if(S===null||typeof S!="object")return null;var O=L&&S[L]||S[D];return typeof O=="function"?O:null}var I={current:null},F={transition:null},z={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},q={current:null},Y={},Q=null;function ie(S){Q=S}Y.setExtraStackFrame=function(S){Q=S},Y.getCurrentStack=null,Y.getStackAddendum=function(){var S="";Q&&(S+=Q);var O=Y.getCurrentStack;return O&&(S+=O()||""),S};var ae=!1,me=!1,ze=!1,te=!1,ee=!1,we={ReactCurrentDispatcher:I,ReactCurrentBatchConfig:F,ReactCurrentOwner:q};we.ReactDebugCurrentFrame=Y,we.ReactCurrentActQueue=z;function ye(S){{for(var O=arguments.length,V=new Array(O>1?O-1:0),G=1;G<O;G++)V[G-1]=arguments[G];le("warn",S,V)}}function K(S){{for(var O=arguments.length,V=new Array(O>1?O-1:0),G=1;G<O;G++)V[G-1]=arguments[G];le("error",S,V)}}function le(S,O,V){{var G=we.ReactDebugCurrentFrame,se=G.getStackAddendum();se!==""&&(O+="%s",V=V.concat([se]));var Ue=V.map(function(Te){return String(Te)});Ue.unshift("Warning: "+O),Function.prototype.apply.call(console[S],console,Ue)}}var ge={};function pe(S,O){{var V=S.constructor,G=V&&(V.displayName||V.name)||"ReactClass",se=G+"."+O;if(ge[se])return;K("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",O,G),ge[se]=!0}}var Ee={isMounted:function(S){return!1},enqueueForceUpdate:function(S,O,V){pe(S,"forceUpdate")},enqueueReplaceState:function(S,O,V,G){pe(S,"replaceState")},enqueueSetState:function(S,O,V,G){pe(S,"setState")}},Oe=Object.assign,Pe={};Object.freeze(Pe);function Xe(S,O,V){this.props=S,this.context=O,this.refs=Pe,this.updater=V||Ee}Xe.prototype.isReactComponent={},Xe.prototype.setState=function(S,O){if(typeof S!="object"&&typeof S!="function"&&S!=null)throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,S,O,"setState")},Xe.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};{var et={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},at=function(S,O){Object.defineProperty(Xe.prototype,S,{get:function(){ye("%s(...) is deprecated in plain JavaScript React classes. %s",O[0],O[1])}})};for(var kt in et)et.hasOwnProperty(kt)&&at(kt,et[kt])}function He(){}He.prototype=Xe.prototype;function ot(S,O,V){this.props=S,this.context=O,this.refs=Pe,this.updater=V||Ee}var wt=ot.prototype=new He;wt.constructor=ot,Oe(wt,Xe.prototype),wt.isPureReactComponent=!0;function It(){var S={current:null};return Object.seal(S),S}var We=Array.isArray;function Vt(S){return We(S)}function Ce(S){{var O=typeof Symbol=="function"&&Symbol.toStringTag,V=O&&S[Symbol.toStringTag]||S.constructor.name||"Object";return V}}function nt(S){try{return Ct(S),!1}catch{return!0}}function Ct(S){return""+S}function rt(S){if(nt(S))return K("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ce(S)),Ct(S)}function sn(S,O,V){var G=S.displayName;if(G)return G;var se=O.displayName||
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,se),"default"in se||K(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,se),se.default}else throw S._result}function Ve(S){var O={_status:xr,_result:S},V={$$typeof:T,_payload:O,_init:X};{var G,se;Object.defineProperties(V,{defaultProps:{configurable:!0,get:function(){return G},set:function(Ue){K("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),G=Ue,Object.defineProperty(V,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return se},set:function(Ue){K("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),se=Ue,Object.defineProperty(V,"propTypes",{enumerable:!0})}}})}return V}function Qe(S){S!=null&&S.$$typeof===C?K("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof S!="function"?K("forwardRef requires a render function but was given %s.",S===null?"null":typeof S):S.length!==0&&S.length!==2&&K("forwardRef render functions accept exactly two parameters: props and ref. %s",S.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),S!=null&&(S.defaultProps!=null||S.propTypes!=null)&&K("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var O={$$typeof:g,render:S};{var V;Object.defineProperty(O,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function(G){V=G,!S.name&&!S.displayName&&(S.displayName=G)}})}return O}var _t;_t=Symbol.for("react.module.reference");function un(S){return!!(typeof S=="string"||typeof S=="function"||S===s||S===p||ee||S===l||S===b||S===w||te||S===R||ae||me||ze||typeof S=="object"&&S!==null&&(S.$$typeof===T||S.$$typeof===C||S.$$typeof===m||S.$$typeof===v||S.$$typeof===g||S.$$typeof===_t||S.getModuleId!==void 0))}function Cn(S,O){un(S)||K("memo: The first argument must be a component. Instead received: %s",S===null?"null":typeof S);var V={$$typeof:C,type:S,compare:O===void 0?null:O};{var G;Object.defineProperty(V,"displayName",{enumerable:!1,configurable:!0,get:function(){return G},set:function(se){G=se,!S.name&&!S.displayName&&(S.displayName=se)}})}return V}function st(){var S=I.current;return S===null&&K(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),S}function Kt(S){var O=st();if(S._context!==void 0){var V=S._context;V.Consumer===S?K("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):V.Provider===S&&K("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return O.useContext(S)}function Hn(S){var O=st();return O.useState(S)}function Un(S,O,V){var G=st();return G.useReducer(S,O,V)}function fn(S){var O=st();return O.useRef(S)}function Kr(S,O){var V=st();return V.useEffect(S,O)}function Aa(S,O){var V=st();return V.useInsertionEffect(S,O)}function qo(S,O){var V=st();return V.useLayoutEffect(S,O)}function ki(S,O){var V=st();return V.useCallback(S,O)}function wo(S,O){var V=st();return V.useMemo(S,O)}function Xu(S,O,V){var G=st();return G.useImperativeHandle(S,O,V)}function La(S,O){{var V=st();return V.useDebugValue(S,O)}}function cl(){var S=st();return S.useTransition()}function eo(S){var O=st();return O.useDeferredValue(S)}function tn(){var S=st();return S.useId()}function to(S,O,V){var G=st();return G.useSyncExternalStore(S,O,V)}var Ai=0,Zo,Cs,Ko,Ns,Es,Xo,Qo;function _s(){}_s.__reactDisabledLog=!0;function fl(){{if(Ai===0){Zo=console.log,Cs=console.info,Ko=console.warn,Ns=console.error,Es=console.group,Xo=console.groupCollapsed,Qo=console.groupEnd;var S={configurable:!0,enumerable:!0,value:_s,writable:!0};Object.defineProperties(console,{info:S,log:S,warn:S,error:S,group:S,groupCollapsed:S,groupEnd:S})}Ai++}}function dl(){{if(Ai--,Ai===0){var S={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Oe({},S,{value:Zo}),info:Oe({},S,{value:Cs}),warn:Oe({},S,{value:Ko}),error:Oe({},S,{value:Ns}),group:Oe({},S,{value:Es}),groupCollapsed:Oe({},S,{value:Xo}),groupEnd:Oe({},S,{value:Qo})})}Ai<0&&K("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Oa=we.ReactCurrentDispatcher,Gr;function Zi(S,O,V){{if(Gr===void 0)try{throw Error()}catch(se){var G=se.stack.trim().match(/\n( *(at )?)/);Gr=G&&G[1]||""}return`
`+Gr+S}}var Li=!1,Ki;{var Ts=typeof WeakMap=="function"?WeakMap:Map;Ki=new Ts}function Jo(S,O){if(!S||Li)return"";{var V=Ki.get(S);if(V!==void 0)return V}var G;Li=!0;var se=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ue;Ue=Oa.current,Oa.current=null,fl();try{if(O){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(jt){G=jt}Reflect.construct(S,[],Te)}else{try{Te.call()}catch(jt){G=jt}S.call(Te.prototype)}}else{try{throw Error()}catch(jt){G=jt}S()}}catch(jt){if(jt&&G&&typeof jt.stack=="string"){for(var Ye=jt.stack.split(`
`),ft=G.stack.split(`
`),Nt=Ye.length-1,$t=ft.length-1;Nt>=1&&$t>=0&&Ye[Nt]!==ft[$t];)$t--;for(;Nt>=1&&$t>=0;Nt--,$t--)if(Ye[Nt]!==ft[$t]){if(Nt!==1||$t!==1)do if(Nt--,$t--,$t<0||Ye[Nt]!==ft[$t]){var xt=`
`+Ye[Nt].replace(" at new "," at ");return S.displayName&&xt.includes("<anonymous>")&&(xt=xt.replace("<anonymous>",S.displayName)),typeof S=="function"&&Ki.set(S,xt),xt}while(Nt>=1&&$t>=0);break}}}finally{Li=!1,Oa.current=Ue,dl(),Error.prepareStackTrace=se}var Gt=S?S.displayName||S.name:"",Lt=Gt?Zi(Gt):"";return typeof S=="function"&&Ki.set(S,Lt),Lt}function Rs(S,O,V){return Jo(S,!1)}function Jl(S){var O=S.prototype;return!!(O&&O.isReactComponent)}function Oi(S,O,V){if(S==null)return"";if(typeof S=="function")return Jo(S,Jl(S));if(typeof S=="string")return Zi(S);switch(S){case b:return Zi("Suspense");case w:return Zi("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case g:return Rs(S.render);case C:return Oi(S.type,O,V);case T:{var G=S,se=G._payload,Ue=G._init;try{return Oi(Ue(se),O,V)}catch{}}}return""}var es={},Xi=we.ReactDebugCurrentFrame;function Ma(S){if(S){var O=S._owner,V=Oi(S.type,S._source,O?O.type:null);Xi.setExtraStackFrame(V)}else Xi.setExtraStackFrame(null)}function pl(S,O,V,G,se){{var Ue=Function.call.bind(ln);for(var Te in S)if(Ue(S,Te)){var Ye=void 0;try{if(typeof S[Te]!="function"){var ft=Error((G||"React class")+": "+V+" type `"+Te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof S[Te]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ft.name="Invariant Violation",ft}Ye=S[Te](O,Te,G,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Nt){Ye=Nt}Ye&&!(Ye instanceof Error)&&(Ma(se),K("%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).",G||"React class",V,Te,typeof Ye),Ma(null)),Ye instanceof Error&&!(Ye.message in es)&&(es[Ye.message]=!0,Ma(se),K("Failed %s type: %s",V,Ye.message),Ma(null))}}}function dn(S){if(S){var O=S._owner,V=Oi(S.type,S._source,O?O.type:null);ie(V)}else ie(null)}var Pa;Pa=!1;function ts(){if(q.current){var S=Tt(q.current.type);if(S)return`
Check the render method of \``+S+"`."}return""}function Wt(S){if(S!==void 0){var O=S.fileName.replace(/^.*[\\\/]/,""),V=S.lineNumber;return`
Check your code at `+O+":"+V+"."}return""}function ml(S){return S!=null?Wt(S.__source):""}var _r={};function no(S){var O=ts();if(!O){var V=typeof S=="string"?S:S.displayName||S.name;V&&(O=`
Check the top-level render call using <`+V+">.")}return O}function oa(S,O){if(!(!S._store||S._store.validated||S.key!=null)){S._store.validated=!0;var V=no(O);if(!_r[V]){_r[V]=!0;var G="";S&&S._owner&&S._owner!==q.current&&(G=" It was passed a child from "+Tt(S._owner.type)+"."),dn(S),K('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,G),dn(null)}}}function Co(S,O){if(typeof S=="object"){if(Vt(S))for(var V=0;V<S.length;V++){var G=S[V];en(G)&&oa(G,O)}else if(en(S))S._store&&(S._store.validated=!0);else if(S){var se=P(S);if(typeof se=="function"&&se!==S.entries)for(var Ue=se.call(S),Te;!(Te=Ue.next()).done;)en(Te.value)&&oa(Te.value,O)}}}function Pr(S){{var O=S.type;if(O==null||typeof O=="string")return;var V;if(typeof O=="function")V=O.propTypes;else if(typeof O=="object"&&(O.$$typeof===g||O.$$typeof===C))V=O.propTypes;else return;if(V){var G=Tt(O);pl(V,S.props,"prop",G,S)}else if(O.PropTypes!==void 0&&!Pa){Pa=!0;var se=Tt(O);K("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",se||"Unknown")}typeof O.getDefaultProps=="function"&&!O.getDefaultProps.isReactClassApproved&&K("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(S){{for(var O=Object.keys(S.props),V=0;V<O.length;V++){var G=O[V];if(G!=="children"&&G!=="key"){dn(S),K("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",G),dn(null);break}}S.ref!==null&&(dn(S),K("Invalid attribute `ref` supplied to `React.Fragment`."),dn(null))}}function ns(S,O,V){var G=un(S);if(!G){var se="";(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(se+=" 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 Ue=ml(O);Ue?se+=Ue:se+=ts();var Te;S===null?Te="null":Vt(S)?Te="array":S!==void 0&&S.$$typeof===i?(Te="<"+(Tt(S.type)||"Unknown")+" />",se=" Did you accidentally export a JSX literal instead of a component?"):Te=typeof S,K("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Te,se)}var Ye=ut.apply(this,arguments);if(Ye==null)return Ye;if(G)for(var ft=2;ft<arguments.length;ft++)Co(arguments[ft],S);return S===s?lr(Ye):Pr(Ye),Ye}var ri=!1;function br(S){var O=ns.bind(null,S);return O.type=S,ri||(ri=!0,ye("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(O,"type",{enumerable:!1,get:function(){return ye("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:S}),S}}),O}function di(S,O,V){for(var G=gn.apply(this,arguments),se=2;se<arguments.length;se++)Co(arguments[se],G.type);return Pr(G),G}function Qu(S,O){var V=F.transition;F.transition={};var G=F.transition;F.transition._updatedFibers=new Set;try{S()}finally{if(F.transition=V,V===null&&G._updatedFibers){var se=G._updatedFibers.size;se>10&&ye("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),G._updatedFibers.clear()}}}var No=!1,Ia=null;function hl(S){if(Ia===null)try{var O=("require"+Math.random()).slice(0,7),V=e&&e[O];Ia=V.call(e,"timers").setImmediate}catch{Ia=function(se){No===!1&&(No=!0,typeof MessageChannel>"u"&&K("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ue=new MessageChannel;Ue.port1.onmessage=se,Ue.port2.postMessage(void 0)}}return Ia(S)}var bn=0,zn=!1;function eu(S){{var O=bn;bn++,z.current===null&&(z.current=[]);var V=z.isBatchingLegacy,G;try{if(z
* @license React
* scheduler.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var t=!1,n=!1,i=5;function o(Ge,ut){var At=Ge.length;Ge.push(ut),p(Ge,ut,At)}function s(Ge){return Ge.length===0?null:Ge[0]}function l(Ge){if(Ge.length===0)return null;var ut=Ge[0],At=Ge.pop();return At!==ut&&(Ge[0]=At,m(Ge,At,0)),ut}function p(Ge,ut,At){for(var gn=At;gn>0;){var en=gn-1>>>1,Rn=Ge[en];if(v(Rn,ut)>0)Ge[en]=ut,Ge[gn]=Rn,gn=en;else return}}function m(Ge,ut,At){for(var gn=At,en=Ge.length,Rn=en>>>1;gn<Rn;){var Fn=(gn+1)*2-1,zr=Ge[Fn],Pn=Fn+1,Ti=Ge[Pn];if(v(zr,ut)<0)Pn<en&&v(Ti,zr)<0?(Ge[gn]=Ti,Ge[Pn]=ut,gn=Pn):(Ge[gn]=zr,Ge[Fn]=ut,gn=Fn);else if(Pn<en&&v(Ti,ut)<0)Ge[gn]=Ti,Ge[Pn]=ut,gn=Pn;else return}}function v(Ge,ut){var At=Ge.sortIndex-ut.sortIndex;return At!==0?At:Ge.id-ut.id}var g=1,b=2,w=3,C=4,T=5;function R(Ge,ut){}var L=typeof performance=="object"&&typeof performance.now=="function";if(L){var D=performance;e.unstable_now=function(){return D.now()}}else{var P=Date,I=P.now();e.unstable_now=function(){return P.now()-I}}var F=1073741823,z=-1,q=250,Y=5e3,Q=1e4,ie=F,ae=[],me=[],ze=1,te=null,ee=w,we=!1,ye=!1,K=!1,le=typeof setTimeout=="function"?setTimeout:null,ge=typeof clearTimeout=="function"?clearTimeout:null,pe=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ee(Ge){for(var ut=s(me);ut!==null;){if(ut.callback===null)l(me);else if(ut.startTime<=Ge)l(me),ut.sortIndex=ut.expirationTime,o(ae,ut);else return;ut=s(me)}}function Oe(Ge){if(K=!1,Ee(Ge),!ye)if(s(ae)!==null)ye=!0,rn(Pe);else{var ut=s(me);ut!==null&&Dt(Oe,ut.startTime-Ge)}}function Pe(Ge,ut){ye=!1,K&&(K=!1,Ie()),we=!0;var At=ee;try{var gn;if(!n)return Xe(Ge,ut)}finally{te=null,ee=At,we=!1}}function Xe(Ge,ut){var At=ut;for(Ee(At),te=s(ae);te!==null&&!t&&!(te.expirationTime>At&&(!Ge||On()));){var gn=te.callback;if(typeof gn=="function"){te.callback=null,ee=te.priorityLevel;var en=te.expirationTime<=At,Rn=gn(en);At=e.unstable_now(),typeof Rn=="function"?te.callback=Rn:te===s(ae)&&l(ae),Ee(At)}else l(ae);te=s(ae)}if(te!==null)return!0;var Fn=s(me);return Fn!==null&&Dt(Oe,Fn.startTime-At),!1}function et(Ge,ut){switch(Ge){case g:case b:case w:case C:case T:break;default:Ge=w}var At=ee;ee=Ge;try{return ut()}finally{ee=At}}function at(Ge){var ut;switch(ee){case g:case b:case w:ut=w;break;default:ut=ee;break}var At=ee;ee=ut;try{return Ge()}finally{ee=At}}function kt(Ge){var ut=ee;return function(){var At=ee;ee=ut;try{return Ge.apply(this,arguments)}finally{ee=At}}}function He(Ge,ut,At){var gn=e.unstable_now(),en;if(typeof At=="object"&&At!==null){var Rn=At.delay;typeof Rn=="number"&&Rn>0?en=gn+Rn:en=gn}else en=gn;var Fn;switch(Ge){case g:Fn=z;break;case b:Fn=q;break;case T:Fn=ie;break;case C:Fn=Q;break;case w:default:Fn=Y;break}var zr=en+Fn,Pn={id:ze++,callback:ut,priorityLevel:Ge,startTime:en,expirationTime:zr,sortIndex:-1};return en>gn?(Pn.sortIndex=en,o(me,Pn),s(ae)===null&&Pn===s(me)&&(K?Ie():K=!0,Dt(Oe,en-gn))):(Pn.sortIndex=zr,o(ae,Pn),!ye&&!we&&(ye=!0,rn(Pe))),Pn}function ot(){}function wt(){!ye&&!we&&(ye=!0,rn(Pe))}function It(){return s(ae)}function We(Ge){Ge.callback=null}function Vt(){return ee}var Ce=!1,nt=null,Ct=-1,rt=i,sn=-1;function On(){var Ge=e.unstable_now()-sn;return!(Ge<rt)}function Tt(){}function ln(Ge){if(Ge<0||Ge>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}Ge>0?rt=Math.floor(1e3/Ge):rt=i}var Mn=function(){if(nt!==null){var Ge=e.unstable_now();sn=Ge;var ut=!0,At=!0;try{At=nt(ut,Ge)}finally{At?yn():(Ce=!1,nt=null)}}else Ce=!1},yn;if(typeof pe=="function")yn=function(){pe(Mn)};else if(typeof MessageChannel<"u"){var Ze=new MessageChannel,tt=Ze.port2;Ze.port1.onmessage=Mn,yn=function(){tt.postMessage(null)}}else yn=function(){le(Mn,0)};function rn(Ge){nt=Ge,Ce||(Ce=
* @license React
* react-dom.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=E.exports,t=AD.exports,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,i=!1;function o(r){i=r}function s(r){if(!i){for(var a=arguments.length,u=new Array(a>1?a-1:0),f=1;f<a;f++)u[f-1]=arguments[f];p("warn",r,u)}}function l(r){if(!i){for(var a=arguments.length,u=new Array(a>1?a-1:0),f=1;f<a;f++)u[f-1]=arguments[f];p("error",r,u)}}function p(r,a,u){{var f=n.ReactDebugCurrentFrame,h=f.getStackAddendum();h!==""&&(a+="%s",u=u.concat([h]));var x=u.map(function(_){return String(_)});x.unshift("Warning: "+a),Function.prototype.apply.call(console[r],console,x)}}var m=0,v=1,g=2,b=3,w=4,C=5,T=6,R=7,L=8,D=9,P=10,I=11,F=12,z=13,q=14,Y=15,Q=16,ie=17,ae=18,me=19,ze=21,te=22,ee=23,we=24,ye=25,K=!0,le=!1,ge=!1,pe=!1,Ee=!1,Oe=!0,Pe=!1,Xe=!1,et=!0,at=!0,kt=!0,He=new Set,ot={},wt={};function It(r,a){We(r,a),We(r+"Capture",a)}function We(r,a){ot[r]&&l("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",r),ot[r]=a;{var u=r.toLowerCase();wt[u]=r,r==="onDoubleClick"&&(wt.ondblclick=r)}for(var f=0;f<a.length;f++)He.add(a[f])}var Vt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Ce=Object.prototype.hasOwnProperty;function nt(r){{var a=typeof Symbol=="function"&&Symbol.toStringTag,u=a&&r[Symbol.toStringTag]||r.constructor.name||"Object";return u}}function Ct(r){try{return rt(r),!1}catch{return!0}}function rt(r){return""+r}function sn(r,a){if(Ct(r))return l("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",a,nt(r)),rt(r)}function On(r){if(Ct(r))return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",nt(r)),rt(r)}function Tt(r,a){if(Ct(r))return l("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",a,nt(r)),rt(r)}function ln(r,a){if(Ct(r))return l("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",a,nt(r)),rt(r)}function Mn(r){if(Ct(r))return l("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",nt(r)),rt(r)}function yn(r){if(Ct(r))return l("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",nt(r)),rt(r)}var Ze=0,tt=1,rn=2,Dt=3,Ie=4,Zt=5,Tn=6,Ge=":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ut=Ge+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",At=new RegExp("^["+Ge+"]["+ut+"]*$"),gn={},en={};function Rn(r){return Ce.call(en,r)?!0:Ce.call(gn,r)?!1:At.test(r)?(en[r]=!0,!0):(gn[r]=!0,l("Invalid attribute name: `%s`",r),!1)}function Fn(r,a,u){return a!==null?a.type===Ze:u?!1:r.length>2&&(r[0]==="o"||r[0]==="O")&&(r[1]==="n"||r[1]==="N")}function zr(r,a,u,f){if(u!==null&&u.type===Ze)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":{if(f)return!1;if(u!==null)return!u.acceptsBooleans;var h=r.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function Pn(r,a,u,f){if(a===null||typeof a>"u"||zr(r,a,u,f))return!0;if(f)return!1;if(u!==null)switch(u.type){case Dt:return!a;case Ie:return a===!1;case Zt:return isNaN(a);case Tn:return isNaN(a)||a<1}return!1}function Ti(r){return kn.hasOwnProperty(r)?kn[r]:null}function Vn(r,a,u,f,h,x,_){this.acceptsBooleans=a===rn||a===Dt||a===Ie,this.attributeName=f,this.attributeNamespace=h,this.mustUseProperty=u,this.propertyName=r,this.type=a,this.sanitizeURL=x,this.removeEmptyString=_}var kn={},Ri=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML"
`+Oa+r}}var Zi=!1,Li;{var Ki=typeof WeakMap=="function"?WeakMap:Map;Li=new Ki}function Ts(r,a){if(!r||Zi)return"";{var u=Li.get(r);if(u!==void 0)return u}var f;Zi=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var x;x=dl.current,dl.current=null,_s();try{if(a){var _=function(){throw Error()};if(Object.defineProperty(_.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(_,[])}catch(Se){f=Se}Reflect.construct(r,[],_)}else{try{_.call()}catch(Se){f=Se}r.call(_.prototype)}}else{try{throw Error()}catch(Se){f=Se}r()}}catch(Se){if(Se&&f&&typeof Se.stack=="string"){for(var A=Se.stack.split(`
`),M=f.stack.split(`
`),U=A.length-1,H=M.length-1;U>=1&&H>=0&&A[U]!==M[H];)H--;for(;U>=1&&H>=0;U--,H--)if(A[U]!==M[H]){if(U!==1||H!==1)do if(U--,H--,H<0||A[U]!==M[H]){var oe=`
`+A[U].replace(" at new "," at ");return r.displayName&&oe.includes("<anonymous>")&&(oe=oe.replace("<anonymous>",r.displayName)),typeof r=="function"&&Li.set(r,oe),oe}while(U>=1&&H>=0);break}}}finally{Zi=!1,dl.current=x,fl(),Error.prepareStackTrace=h}var re=r?r.displayName||r.name:"",xe=re?Gr(re):"";return typeof r=="function"&&Li.set(r,xe),xe}function Jo(r,a,u){return Ts(r,!0)}function Rs(r,a,u){return Ts(r,!1)}function Jl(r){var a=r.prototype;return!!(a&&a.isReactComponent)}function Oi(r,a,u){if(r==null)return"";if(typeof r=="function")return Ts(r,Jl(r));if(typeof r=="string")return Gr(r);switch(r){case Kt:return Gr("Suspense");case Hn:return Gr("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case st:return Rs(r.render);case Un:return Oi(r.type,a,u);case fn:{var f=r,h=f._payload,x=f._init;try{return Oi(x(h),a,u)}catch{}}}return""}function es(r){switch(r._debugOwner&&r._debugOwner.type,r._debugSource,r.tag){case C:return Gr(r.type);case Q:return Gr("Lazy");case z:return Gr("Suspense");case me:return Gr("SuspenseList");case m:case g:case Y:return Rs(r.type);case I:return Rs(r.type.render);case v:return Jo(r.type);default:return""}}function Xi(r){try{var a="",u=r;do a+=es(u),u=u.return;while(u);return a}catch(f){return`
Error generating stack: `+f.message+`
`+f.stack}}function Ma(r,a,u){var f=r.displayName;if(f)return f;var h=a.displayName||a.name||"";return h!==""?u+"("+h+")":u}function pl(r){return r.displayName||"Context"}function dn(r){if(r==null)return null;if(typeof r.tag=="number"&&l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof r=="function")return r.displayName||r.name||null;if(typeof r=="string")return r;switch(r){case Ve:return"Fragment";case X:return"Portal";case _t:return"Profiler";case Qe:return"StrictMode";case Kt:return"Suspense";case Hn:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case Cn:var a=r;return pl(a)+".Consumer";case un:var u=r;return pl(u._context)+".Provider";case st:return Ma(r,r.render,"ForwardRef");case Un:var f=r.displayName||null;return f!==null?f:dn(r.type)||"Memo";case fn:{var h=r,x=h._payload,_=h._init;try{return dn(_(x))}catch{return null}}}return null}function Pa(r,a,u){var f=a.displayName||a.name||"";return r.displayName||(f!==""?u+"("+f+")":u)}function ts(r){return r.displayName||"Context"}function Wt(r){var a=r.tag,u=r.type;switch(a){case we:return"Cache";case D:var f=u;return ts(f)+".Consumer";case P:var h=u;return ts(h._context)+".Provider";case ae:return"DehydratedFragment";case I:return Pa(u,u.render,"ForwardRef");case R:return"Fragment";case C:return u;case w:return"Portal";case b:return"Root";case T:return"Text";case Q:return dn(u);case L:return u===Qe?"StrictMode":"Mode";case te:return"Offscreen";case F:return"Profiler";case ze:return"Scope";case z:return"Suspense";case me:return"SuspenseList";case ye:return"TracingMarker";case v:case m:case ie:case g:case q:case Y:if(typeof u=="function")return u.displayName||u.name||null;if(typeof u=="string")return u;break}return null}var ml=n.ReactDebugCurrentFrame,_r=null,no=!1;function oa(){{if(_r===null)return null;var r=_r._debugOwner;if(r!==null&&typeof r<"u")return Wt(r)}return null}function Co(){return _r===null?"":Xi(_r)}function Pr(){ml.getCurrentStack=null,_r=null,no=!1}function lr(r){ml.getCurrentStack=r===null?null:Co,_r=r,no=!1}function ns(){return _r}function ri(r){no=r}function br(r){return""+r}function di(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return yn(r),r;default:return""}}var Qu={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function No(r,a){Qu[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||l("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),a.onChange||a.readOnly||a.disabled||a.checked==null||l("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Ia(r){var a=r.type,u=r.nodeName;return u&&u.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function hl(r){return r._valueTracker}function bn(r){r._valueTracker=null}function zn(r){var a="";return r&&(Ia(r)?a=r.checked?"true":"false":a=r.value),a}function eu(r){var a=Ia(r)?"checked":"value",u=Object.getOwnPropertyDescriptor(r.constructor.prototype,a);yn(r[a]);var f=""+r[a];if(!(r.hasOwnProperty(a)||typeof u>"u"||typeof u.get!="function"||typeof u.set!="function")){var h=u.get,x=u.set;Object.defineProperty(r,a,{configurable:!0,get:function(){return h.call(this)},set:function(A){yn(A),f=""+A,x.call(this,A)}}),Object.defineProperty(r,a,{enumerable:u.enumerable});var _={getValue:function(){return f},setValue:function(A){yn(A),f=""+A},stopTracking:function(){bn(r),delete r[a]}};return _}}function Qi(r){hl(r)||(r._valueTracker=eu(r))}function W(r){if(!r)return!1;var a=hl(r);if(!a)return!0;var u=a.getValue(),f=zn(r);return f!==u?(a.setValue(f),!0):!1}function ne(r){if(r=r||(typeof document<"u"?document:void 0),typeof r>"u")return null;try{return r.activeElement||r.body}catch{return r.body}}var be=!
Check the render method of \``+r+"`.":""}var rs=["value","defaultValue"];function Ju(r){{No("select",r);for(var a=0;a<rs.length;a++){var u=rs[a];if(r[u]!=null){var f=jt(r[u]);r.multiple&&!f?l("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",u,Mi()):!r.multiple&&f&&l("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",u,Mi())}}}}function In(r,a,u,f){var h=r.options;if(a){for(var x=u,_={},A=0;A<x.length;A++)_["$"+x[A]]=!0;for(var M=0;M<h.length;M++){var U=_.hasOwnProperty("$"+h[M].value);h[M].selected!==U&&(h[M].selected=U),U&&f&&(h[M].defaultSelected=!0)}}else{for(var H=br(di(u)),oe=null,re=0;re<h.length;re++){if(h[re].value===H){h[re].selected=!0,f&&(h[re].defaultSelected=!0);return}oe===null&&!h[re].disabled&&(oe=h[re])}oe!==null&&(oe.selected=!0)}}function $a(r,a){return tn({},a,{value:void 0})}function ks(r,a){var u=r;Ju(a),u._wrapperState={wasMultiple:!!a.multiple},a.value!==void 0&&a.defaultValue!==void 0&&!Da&&(l("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),Da=!0)}function Pd(r,a){var u=r;u.multiple=!!a.multiple;var f=a.value;f!=null?In(u,!!a.multiple,f,!1):a.defaultValue!=null&&In(u,!!a.multiple,a.defaultValue,!0)}function p0(r,a){var u=r,f=u._wrapperState.wasMultiple;u._wrapperState.wasMultiple=!!a.multiple;var h=a.value;h!=null?In(u,!!a.multiple,h,!1):f!==!!a.multiple&&(a.defaultValue!=null?In(u,!!a.multiple,a.defaultValue,!0):In(u,!!a.multiple,a.multiple?[]:"",!1))}function x4(r,a){var u=r,f=a.value;f!=null&&In(u,!!a.multiple,f,!1)}var cy=!1;function m0(r,a){var u=r;if(a.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var f=tn({},a,{value:void 0,defaultValue:void 0,children:br(u._wrapperState.initialValue)});return f}function h0(r,a){var u=r;No("textarea",a),a.value!==void 0&&a.defaultValue!==void 0&&!cy&&(l("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",oa()||"A component"),cy=!0);var f=a.value;if(f==null){var h=a.children,x=a.defaultValue;if(h!=null){l("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(x!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(jt(h)){if(h.length>1)throw new Error("<textarea> can only have at most one child.");h=h[0]}x=h}}x==null&&(x=""),f=x}u._wrapperState={initialValue:di(f)}}function Id(r,a){var u=r,f=di(a.value),h=di(a.defaultValue);if(f!=null){var x=br(f);x!==u.value&&(u.value=x),a.defaultValue==null&&u.defaultValue!==x&&(u.defaultValue=x)}h!=null&&(u.defaultValue=br(h))}function ec(r,a){var u=r,f=u.textContent;f===u._wrapperState.initialValue&&f!==""&&f!==null&&(u.value=f)}function S4(r,a){Id(r,a)}var As="http://www.w3.org/1999/xhtml",fy="http://www.w3.org/1998/Math/MathML",Dd="http://www.w3.org/2000/svg";function $d(r){switch(r){case"svg":return Dd;case"math":return fy;default:return As}}function zm(r,a){return r==null||r===As?$d(a):r===Dd&&a==="foreignObject"?As:r}var w4=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,u,f,h){MSApp.execUnsafeLocalFunction(function(){return r(a,u,f,h)})}:r},rf,Bm=w4(function(r,a){if(r.namespaceURI===Dd&&!("innerHTML"in r)){rf=rf||document.createElement("div"),rf.innerHTML="<svg>"+a.valueOf().toString()+"</svg>";for(var u=rf.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;u.firstChild;)r.appendChild(u.firstChild);return}r.innerHTML=a}),Fa=1,Ls=3,Wn=8,is=9,tc=11,Fd=function(r,a){if(a){var u=r.firstChild;if(u&&u===r.lastChild&&u.nodeType===Ls){u.nodeValue=a;return}}r.t
* Checks if an event is supported in the current execution environment.
*
* NOTE: This will not work correctly for non-generic events such as `change`,
* `reset`, `load`, `error`, and `select`.
*
* Borrows from Modernizr.
*
* @param {string} eventNameSuffix Event name, e.g. "click".
* @return {boolean} True if the event is supported.
* @internal
* @license Modernizr 3.0.0pre (Custom Build) | MIT
*/function Vw(r){if(!Vt)return!1;var a="on"+r,u=a in document;if(!u){var f=document.createElement("div");f.setAttribute(a,"return;"),u=typeof f[a]=="function"}return u}function Hw(){It("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function _2(r,a,u,f){Sy(f);var h=on(a,"onChange");if(h.length>0){var x=new yp("onChange","change",null,u,f);r.push({event:x,listeners:h})}}var Cp=null,Np=null;function Ww(r){var a=r.nodeName&&r.nodeName.toLowerCase();return a==="select"||a==="input"&&r.type==="file"}function Gw(r){var a=[];_2(a,Np,r,y0(r)),Ey(Yw,a)}function Yw(r){y1(r,0)}function gc(r){var a=bt(r);if(W(a))return r}function qw(r,a){if(r==="change")return a}var m1=!1;Vt&&(m1=Vw("input")&&(!document.documentMode||document.documentMode>9));function T2(r,a){Cp=r,Np=a,Cp.attachEvent("onpropertychange",h1)}function Eh(){!Cp||(Cp.detachEvent("onpropertychange",h1),Cp=null,Np=null)}function h1(r){r.propertyName==="value"&&gc(Np)&&Gw(r)}function R2(r,a,u){r==="focusin"?(Eh(),T2(a,u)):r==="focusout"&&Eh()}function k2(r,a){if(r==="selectionchange"||r==="keyup"||r==="keydown")return gc(Np)}function A2(r){var a=r.nodeName;return a&&a.toLowerCase()==="input"&&(r.type==="checkbox"||r.type==="radio")}function Zw(r,a){if(r==="click")return gc(a)}function Kw(r,a){if(r==="input"||r==="change")return gc(a)}function Xw(r){var a=r._wrapperState;!a||!a.controlled||r.type!=="number"||Ye(r,"number",r.value)}function _h(r,a,u,f,h,x,_){var A=u?bt(u):window,M,U;if(Ww(A)?M=qw:E2(A)?m1?M=Kw:(M=k2,U=R2):A2(A)&&(M=Zw),M){var H=M(a,u);if(H){_2(r,H,f,h);return}}U&&U(a,A,u),a==="focusout"&&Xw(A)}function Th(){We("onMouseEnter",["mouseout","mouseover"]),We("onMouseLeave",["mouseout","mouseover"]),We("onPointerEnter",["pointerout","pointerover"]),We("onPointerLeave",["pointerout","pointerover"])}function Qw(r,a,u,f,h,x,_){var A=a==="mouseover"||a==="pointerover",M=a==="mouseout"||a==="pointerout";if(A&&!qm(f)){var U=f.relatedTarget||f.fromElement;if(U&&(Fe(U)||Le(U)))return}if(!(!M&&!A)){var H;if(h.window===h)H=h;else{var oe=h.ownerDocument;oe?H=oe.defaultView||oe.parentWindow:H=window}var re,xe;if(M){var Se=f.relatedTarget||f.toElement;if(re=u,xe=Se?Fe(Se):null,xe!==null){var Re=lc(xe);(xe!==Re||xe.tag!==C&&xe.tag!==T)&&(xe=null)}}else re=null,xe=u;if(re!==xe){var ht=m2,Ot="onMouseLeave",Et="onMouseEnter",$n="mouse";(a==="pointerout"||a==="pointerover")&&(ht=g2,Ot="onPointerLeave",Et="onPointerEnter",$n="pointer");var _n=re==null?H:bt(re),he=xe==null?H:bt(xe),ke=new ht(Ot,$n+"leave",re,f,h);ke.target=_n,ke.relatedTarget=he;var ve=null,Ke=Fe(h);if(Ke===u){var vt=new ht(Et,$n+"enter",xe,f,h);vt.target=he,vt.relatedTarget=_n,ve=vt}vC(r,ke,ve,re,xe)}}}function Jw(r,a){return r===a&&(r!==0||1/r===1/a)||r!==r&&a!==a}var da=typeof Object.is=="function"?Object.is:Jw;function Df(r,a){if(da(r,a))return!0;if(typeof r!="object"||r===null||typeof a!="object"||a===null)return!1;var u=Object.keys(r),f=Object.keys(a);if(u.length!==f.length)return!1;for(var h=0;h<u.length;h++){var x=u[h];if(!Ce.call(a,x)||!da(r[x],a[x]))return!1}return!0}function L2(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function eC(r){for(;r;){if(r.nextSibling)return r.nextSibling;r=r.parentNode}}function O2(r,a){for(var u=L2(r),f=0,h=0;u;){if(u.nodeType===Ls){if(h=f+u.textContent.length,f<=a&&h>=a)return{node:u,offset:a-f};f=h}u=L2(eC(u))}}function tC(r){var a=r.ownerDocument,u=a&&a.defaultView||window,f=u.getSelection&&u.getSelection();if(!f||f.rangeCount===0)return null;var h=f.anchorNode,x=f.anchorOffset,_=f.focusNode,A=f.focusOffset;try{h.nodeType,_.nodeType}catch{return null}return nC(r,h,x,_,A)}function nC(r,a,u,f,h){var x=0,_=-1,A=-1,M=0,U=0,H=r,oe=null;e:for(;;){for(var re=null;H===a&&(u===0||H.nodeType===Ls)&&(_=x+u),H===f&&(h===0||H.nodeType===Ls)&&(A=x+h),H.nodeType===Ls&&(x+=H.nodeValue.length),(re=H.firstChild)!==null;)oe=H,H=re;for(;;){if(H===r)break e;if(oe===a&&++M===u&&(_=x),oe===f&&++U===h&&(A=x),(re=H.nextSibling)!==null)break;H=oe,oe=H.parentNode}H=re}return _===-1||A===-1?null:{start:_,end:A}}function rC(r,a){var u=r.ownerDocument
`).replace(C1,"")}function Bf(r,a,u,f){var h=Ih(a),x=Ih(r);if(x!==h&&(f&&(Ua||(Ua=!0,l('Text content did not match. Server: "%s" Client: "%s"',x,h))),u&&K))throw new Error("Text content does not match server-rendered HTML.")}function W2(r){return r.nodeType===is?r:r.ownerDocument}function bC(){}function Dh(r){r.onclick=bC}function bi(r,a,u,f,h){for(var x in f)if(!!f.hasOwnProperty(x)){var _=f[x];if(x===Cc)_&&Object.freeze(_),fe(a,_);else if(x===zf){var A=_?_[Oh]:void 0;A!=null&&Bm(a,A)}else if(x===wc)if(typeof _=="string"){var M=r!=="textarea"||_!=="";M&&Fd(a,_)}else typeof _=="number"&&Fd(a,""+_);else x===Sc||x===du||x===U2||(ot.hasOwnProperty(x)?_!=null&&(typeof _!="function"&&Ph(x,_),x==="onScroll"&&En("scroll",a)):_!=null&&Ja(a,x,_,h))}}function ja(r,a,u,f){for(var h=0;h<a.length;h+=2){var x=a[h],_=a[h+1];x===Cc?fe(r,_):x===zf?Bm(r,_):x===wc?Fd(r,_):Ja(r,x,_,f)}}function yC(r,a,u,f){var h,x=W2(u),_,A=f;if(A===As&&(A=$d(r)),A===As){if(h=vl(r,a),!h&&r!==r.toLowerCase()&&l("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",r),r==="script"){var M=x.createElement("div");M.innerHTML="<script><\/script>";var U=M.firstChild;_=M.removeChild(U)}else if(typeof a.is=="string")_=x.createElement(r,{is:a.is});else if(_=x.createElement(r),r==="select"){var H=_;a.multiple?H.multiple=!0:a.size&&(H.size=a.size)}}else _=x.createElementNS(A,r);return A===As&&!h&&Object.prototype.toString.call(_)==="[object HTMLUnknownElement]"&&!Ce.call(w1,r)&&(w1[r]=!0,l("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",r)),_}function xC(r,a){return W2(a).createTextNode(r)}function SC(r,a,u,f){var h=vl(a,u);Mh(a,u);var x;switch(a){case"dialog":En("cancel",r),En("close",r),x=u;break;case"iframe":case"object":case"embed":En("load",r),x=u;break;case"video":case"audio":for(var _=0;_<$f.length;_++)En($f[_],r);x=u;break;case"source":En("error",r),x=u;break;case"img":case"image":case"link":En("error",r),En("load",r),x=u;break;case"details":En("toggle",r),x=u;break;case"input":O(r,u),x=S(r,u),En("invalid",r);break;case"option":xt(r,u),x=u;break;case"select":ks(r,u),x=$a(r,u),En("invalid",r);break;case"textarea":h0(r,u),x=m0(r,u),En("invalid",r);break;default:x=u}switch(tr(a,x),bi(a,r,f,x,h),a){case"input":Qi(r),se(r,u,!1);break;case"textarea":Qi(r),ec(r);break;case"option":Gt(r,u);break;case"select":Pd(r,u);break;default:typeof x.onClick=="function"&&Dh(r);break}}function G2(r,a,u,f,h){Mh(a,f);var x=null,_,A;switch(a){case"input":_=S(r,u),A=S(r,f),x=[];break;case"select":_=$a(r,u),A=$a(r,f),x=[];break;case"textarea":_=m0(r,u),A=m0(r,f),x=[];break;default:_=u,A=f,typeof _.onClick!="function"&&typeof A.onClick=="function"&&Dh(r);break}tr(a,A);var M,U,H=null;for(M in _)if(!(A.hasOwnProperty(M)||!_.hasOwnProperty(M)||_[M]==null))if(M===Cc){var oe=_[M];for(U in oe)oe.hasOwnProperty(U)&&(H||(H={}),H[U]="")}else M===zf||M===wc||M===Sc||M===du||M===U2||(ot.hasOwnProperty(M)?x||(x=[]):(x=x||[]).push(M,null));for(M in A){var re=A[M],xe=_?.[M];if(!(!A.hasOwnProperty(M)||re===xe||re==null&&xe==null))if(M===Cc)if(re&&Object.freeze(re),xe){for(U in xe)xe.hasOwnProperty(U)&&(!re||!re.hasOwnProperty(U))&&(H||(H={}),H[U]="");for(U in re)re.hasOwnProperty(U)&&xe[U]!==re[U]&&(H||(H={}),H[U]=re[U])}else H||(x||(x=[]),x.push(M,H)),H=re;else if(M===zf){var Se=re?re[Oh]:void 0,Re=xe?xe[Oh]:void 0;Se!=null&&Re!==Se&&(x=x||[]).push(M,Se)}else M===wc?(typeof re=="string"||typeof re=="number")&&(x=x||[]).push(M,""+re):M===Sc||M===du||(ot.hasOwnProperty(M)?(re!=null&&(typeof re!="function"&&Ph(M,re),M==="onScroll"&&En("scroll",r)),!x&&xe!==re&&(x=[])):(x=x||[]).push(M,re))}return H&&(gt(H,A[Cc]),(x=x||[]).push(Cc,H)),x}function wC(r,a,u,f,h){u==="input"&&h.type==="radio"&&h.name!=null&&V(r,h);var x=vl(u,f),_=vl(u,h);switch(ja(r,a,x,_),u){case"input":G(r,h);break;case"textarea":Id(r,h);break;case"select":p0(r,h);break}}function CC(r){{var a=r.toLowerCase();return Um.hasOwnProperty(a)&&Um[a]||null}}function NC(r,a,u,f,h,x,_){var A,M;switch(A=vl(a,u),Mh(a,u)
* Move code with side effects to componentDidMount, and set initial state in the constructor.
Please update the following components: %s`,_)}if(f.size>0){var A=jp(f);l(`Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
Please update the following components: %s`,A)}if(x.size>0){var M=jp(x);l(`Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
Please update the following components: %s`,M)}if(r.size>0){var U=jp(r);s(`componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move code with side effects to componentDidMount, and set initial state in the constructor.
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
Please update the following components: %s`,U)}if(u.size>0){var H=jp(u);s(`componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
Please update the following components: %s`,H)}if(h.size>0){var oe=jp(h);s(`componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.
* Move data fetching code or side effects to componentDidUpdate.
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.
Please update the following components: %s`,oe)}};var cx=new Map,IR=new Set;Ol.recordLegacyContextWarning=function(r,a){var u=kH(r);if(u===null){l("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.");return}if(!IR.has(r.type)){var f=cx.get(u);(r.type.contextTypes!=null||r.type.childContextTypes!=null||a!==null&&typeof a.getChildContext=="function")&&(f===void 0&&(f=[],cx.set(u,f)),f.push(r))}},Ol.flushLegacyContextWarning=function(){cx.forEach(function(r,a){if(r.length!==0){var u=r[0],f=new Set;r.forEach(function(x){f.add(Wt(x)||"Component"),IR.add(x.type)});var h=jp(f);try{lr(u),l(`Legacy context API has been detected within a strict-mode tree.
The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.
Please update the following components: %s
Learn more about this warning here: https://reactjs.org/link/legacy-context`,h)}finally{Pr()}}})},Ol.discardPendingWarnings=function(){j1=[],V1=[],H1=[],W1=[],G1=[],Y1=[],cx=new Map}}function Ml(r,a){if(r&&r.defaultProps){var u=tn({},a),f=r.defaultProps;for(var h in f)u[h]===void 0&&(u[h]=f[h]);return u}return a}var IN=na(null),DN;DN={};var fx=null,Hh=null,$N=null,dx=!1;function px(){fx=null,Hh=null,$N=null,dx=!1}function DR(){dx=!0}function $R(){dx=!1}function FR(r,a,u){Ha(IN,a._currentValue,r),a._currentValue=u,a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==DN&&l("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=DN}function FN(r,a){var u=IN.current;Di(IN,a),r._currentValue=u}function zN(r,a,u){for(var f=r;f!==null;){var h=f.alternate;if(mc(f.childLanes,a)?h!==null&&!mc(h.childLanes,a)&&(h.childLanes=hn(h.childLanes,a)):(f.childLanes=hn(f.childLanes,a),h!==null&&(h.childLanes=hn(h.childLanes,a))),f===u)break;f=f.return}f!==u&&l("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function AH(r,a,u){LH(r,a,u)}function LH(r,a,u){var f=r.child;for(f!==null&&(f.return=r);f!==null;){var h=void 0,x=f.dependencies;if(x!==null){h=f.child;for(var _=x.firstContext;_!==null;){if(_.context===a){if(f.tag===v){var A=lp(u),M=Rc(rr,A);M.tag=hx;var U=f.updateQueue;if(U!==null){var H=U.shared,oe=H.pending;oe===null?M.next=M:(M.next=oe.next,oe.next=M),H.pending=M}}f.lanes=hn(f.lanes,u);var re=f.alternate;re!==null&&(re.lanes=hn(re.lanes,u)),zN(f.return,u,r),x.lanes=hn(x.lanes,u);break}_=_.next}}else if(f.tag===P)h=f.type===r.type?null:f.child;else if(f.tag===ae){var xe=f.return;if(xe===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");xe.lanes=hn(xe.lanes,u);var Se=xe.alternate;Se!==null&&(Se.lanes=hn(Se.lanes,u)),zN(xe,u,r),h=f.sibling}else h=f.child;if(h!==null)h.return=f;else for(h=f;h!==null;){if(h===r){h=null;break}var Re=h.sibling;if(Re!==null){Re.return=h.return,h=Re;break}h=h.return}f=h}}function Wh(r,a){fx=r,Hh=null,$N=null;var u=r.dependencies;if(u!==null){var f=u.firstContext;f!==null&&(za(u.lanes,a)&&sg(),u.firstContext=null)}}function yi(r){dx&&l("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var a=r._currentValue;if($N!==r){var u={context:r,memoizedValue:a,next:null};if(Hh===null){if(fx===null)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");Hh=u,fx.dependencies={lanes:Be,firstContext:u}}else Hh=Hh.next=u}return a}var Hp=null;function BN(r){Hp===null?Hp=[r]:Hp.push(r)}function OH(){if(Hp!==null){for(var r=0;r<Hp.length;r++){var a=Hp[r],u=a.interleaved;if(u!==null){a.interleaved=null;var f=u.next,h=a.pending;if(h!==null){var x=h.next;h.next=f,u.next=x}a.pending=u}}Hp=null}}function zR(r,a,u,f){var h=a.interleaved;return h===null?(u.next=u,BN(a)):(u.next=h.next,h.next=u),a.interleaved=u,mx(r,f)}function MH(r,a,u,f){var h=a.interleaved;h===null?(u.next=u,BN(a)):(u.next=h.next,h.next=u),a.interleaved=u}function PH(r,a,u,f){var h=a.interleaved;return h===null?(u.next=u,BN(a)):(u.next=h.next,h.next=u),a.interleaved=u,mx(r,f)}function Ao(r,a){return mx(r,a)}var IH=mx;function mx(r,a){r.lanes=hn(r.lanes,a);var u=r.alternate;u!==null&&(u.lanes=hn(u.lanes,a)),u===null&&(r.flags&(Qr|wl))!==Ut&&BA(r);for(var f=r,h=r.return;h!==null;)h.childLanes=hn(h.childLanes,a),u=h.alternate,u!==null?u.childLanes=hn(u.childLanes,a):(h.flags&(Qr|wl))!==Ut&&BA(r),f=h,h=h.return;if(f.tag===b){var x=f.stateNode;return x}else return null}var BR=0,UR=1,hx=2,UN=3,vx=!1,jN,gx;jN=!1,gx=
%s uses %s but also contains the following legacy lifecycles:%s%s%s
The above lifecycles should be removed. Learn more about this warning here:
https://reactjs.org/link/unsafe-component-lifecycles`,ht,Ot,xe!==null?`
`+xe:"",Se!==null?`
`+Se:"",Re!==null?`
`+Re:""))}}}return f&&xR(r,h,x),H}function zH(r,a){var u=a.state;typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),u!==a.state&&(l("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Wt(r)||"Component"),t9.enqueueReplaceState(a,a.state,null))}function XR(r,a,u,f){var h=a.state;if(typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(u,f),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(u,f),a.state!==h){{var x=Wt(r)||"Component";GN.has(x)||(GN.add(x),l("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",x))}t9.enqueueReplaceState(a,a.state,null)}}function n9(r,a,u,f){FH(r,a,u);var h=r.stateNode;h.props=u,h.state=r.memoizedState,h.refs=WR,VN(r);var x=a.contextType;if(typeof x=="object"&&x!==null)h.context=yi(x);else{var _=zh(r,a,!0);h.context=Bh(r,_)}{if(h.state===u){var A=dn(a)||"Component";XN.has(A)||(XN.add(A),l("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",A))}r.mode&Yr&&Ol.recordLegacyContextWarning(r,h),Ol.recordUnsafeLifecycleWarnings(r,h)}h.state=r.memoizedState;var M=a.getDerivedStateFromProps;if(typeof M=="function"&&(e9(r,a,M,u),h.state=r.memoizedState),typeof a.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(zH(r,h),yx(r,u,h,f),h.state=r.memoizedState),typeof h.componentDidMount=="function"){var U=mn;U|=sc,(r.mode&_o)!==Ft&&(U|=ai),r.flags|=U}}function BH(r,a,u,f){var h=r.stateNode,x=r.memoizedProps;h.props=x;var _=h.context,A=a.contextType,M=us;if(typeof A=="object"&&A!==null)M=yi(A);else{var U=zh(r,a,!0);M=Bh(r,U)}var H=a.getDerivedStateFromProps,oe=typeof H=="function"||typeof h.getSnapshotBeforeUpdate=="function";!oe&&(typeof h.UNSAFE_componentWillReceiveProps=="function"||typeof h.componentWillReceiveProps=="function")&&(x!==u||_!==M)&&XR(r,h,u,M),VR();var re=r.memoizedState,xe=h.state=re;if(yx(r,u,h,f),xe=r.memoizedState,x===u&&re===xe&&!nx()&&!xx()){if(typeof h.componentDidMount=="function"){var Se=mn;Se|=sc,(r.mode&_o)!==Ft&&(Se|=ai),r.flags|=Se}return!1}typeof H=="function"&&(e9(r,a,H,u),xe=r.memoizedState);var Re=xx()||qR(r,a,x,u,re,xe,M);if(Re){if(!oe&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount()),typeof h.componentDidMount=="function"){var ht=mn;ht|=sc,(r.mode&_o)!==Ft&&(ht|=ai),r.flags|=ht}}else{if(typeof h.componentDidMount=="function"){var Ot=mn;Ot|=sc,(r.mode&_o)!==Ft&&(Ot|=ai),r.flags|=Ot}r.memoizedProps=u,r.memoizedState=xe}return h.props=u,h.state=xe,h.context=M,Re}function UH(r,a,u,f,h){var x=a.stateNode;jR(r,a);var _=a.memoizedProps,A=a.type===a.elementType?_:Ml(a.type,_);x.props=A;var M=a.pendingProps,U=x.context,H=u.contextType,oe=us;if(typeof H=="object"&&H!==null)oe=yi(H);else{var re=zh(a,u,!0);oe=Bh(a,re)}var xe=u.getDerivedStateFromProps,Se=typeof xe=="function"||typeof x.getSnapshotBeforeUpdate=="function";!Se&&(typeof x.UNSAFE_componentWillReceiveProps=="function"||typeof x.componentWillReceiveProps=="function")&&(_!==M||U!==oe)&&XR(a,x,f,oe),VR();var Re=a.memoizedState,ht=x.state=Re;if(yx(a,f,x,h),ht=a.memoizedState,_===M&&Re===ht&&!nx()&&!xx()&&!ge)return typeof x.componentDidUpdate=="function"&&(_!==r.memoizedProps||Re!==r.memoizedState)&&(a.flags|=mn),typeof x.getSnapshotBeforeUpdate=="function"&&(_!==r.memoizedProps||Re!==r.memoizedState)&&(a.flags|=ac),!1;typeof xe=="function"&&(e9(a,u,xe,f),ht=a.memoizedState);var Ot=xx()||qR(a,u,A,f,Re,ht,oe)||ge;return Ot?(!Se&&(typeof x.UNSAFE_componentWillUpdate=="function"||
1. You may be adding a ref to a function component
2. You may be adding a ref to a component that was not created inside a component's render method
3. You have multiple copies of React loaded
See https://reactjs.org/link/refs-must-have-owner for more information.`)}}return f}function wx(r,a){var u=Object.prototype.toString.call(a);throw new Error("Objects are not valid as a React child (found: "+(u==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":u)+"). If you meant to render a collection of children, use an array instead.")}function Cx(r){{var a=Wt(r)||"Component";if(s9[a])return;s9[a]=!0,l("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.")}}function JR(r){var a=r._payload,u=r._init;return u(a)}function ek(r){function a(he,ke){if(!!r){var ve=he.deletions;ve===null?(he.deletions=[ke],he.flags|=ic):ve.push(ke)}}function u(he,ke){if(!r)return null;for(var ve=ke;ve!==null;)a(he,ve),ve=ve.sibling;return null}function f(he,ke){for(var ve=new Map,Ke=ke;Ke!==null;)Ke.key!==null?ve.set(Ke.key,Ke):ve.set(Ke.index,Ke),Ke=Ke.sibling;return ve}function h(he,ke){var ve=Qp(he,ke);return ve.index=0,ve.sibling=null,ve}function x(he,ke,ve){if(he.index=ve,!r)return he.flags|=Ry,ke;var Ke=he.alternate;if(Ke!==null){var vt=Ke.index;return vt<ke?(he.flags|=Qr,ke):vt}else return he.flags|=Qr,ke}function _(he){return r&&he.alternate===null&&(he.flags|=Qr),he}function A(he,ke,ve,Ke){if(ke===null||ke.tag!==T){var vt=P6(ve,he.mode,Ke);return vt.return=he,vt}else{var dt=h(ke,ve);return dt.return=he,dt}}function M(he,ke,ve,Ke){var vt=ve.type;if(vt===Ve)return H(he,ke,ve.props.children,Ke,ve.key);if(ke!==null&&(ke.elementType===vt||HA(ke,ve)||typeof vt=="object"&&vt!==null&&vt.$$typeof===fn&&JR(vt)===ke.type)){var dt=h(ke,ve.props);return dt.ref=q1(he,ke,ve),dt.return=he,dt._debugSource=ve._source,dt._debugOwner=ve._owner,dt}var Yt=M6(ve,he.mode,Ke);return Yt.ref=q1(he,ke,ve),Yt.return=he,Yt}function U(he,ke,ve,Ke){if(ke===null||ke.tag!==w||ke.stateNode.containerInfo!==ve.containerInfo||ke.stateNode.implementation!==ve.implementation){var vt=I6(ve,he.mode,Ke);return vt.return=he,vt}else{var dt=h(ke,ve.children||[]);return dt.return=he,dt}}function H(he,ke,ve,Ke,vt){if(ke===null||ke.tag!==R){var dt=nd(ve,he.mode,Ke,vt);return dt.return=he,dt}else{var Yt=h(ke,ve);return Yt.return=he,Yt}}function oe(he,ke,ve){if(typeof ke=="string"&&ke!==""||typeof ke=="number"){var Ke=P6(""+ke,he.mode,ve);return Ke.return=he,Ke}if(typeof ke=="object"&&ke!==null){switch(ke.$$typeof){case qi:{var vt=M6(ke,he.mode,ve);return vt.ref=q1(he,null,ke),vt.return=he,vt}case X:{var dt=I6(ke,he.mode,ve);return dt.return=he,dt}case fn:{var Yt=ke._payload,nn=ke._init;return oe(he,nn(Yt),ve)}}if(jt(ke)||eo(ke)){var cr=nd(ke,he.mode,ve,null);return cr.return=he,cr}wx(he,ke)}return typeof ke=="function"&&Cx(he),null}function re(he,ke,ve,Ke){var vt=ke!==null?ke.key:null;if(typeof ve=="string"&&ve!==""||typeof ve=="number")return vt!==null?null:A(he,ke,""+ve,Ke);if(typeof ve=="object"&&ve!==null){switch(ve.$$typeof){case qi:return ve.key===vt?M(he,ke,ve,Ke):null;case X:return ve.key===vt?U(he,ke,ve,Ke):null;case fn:{var dt=ve._payload,Yt=ve._init;return re(he,ke,Yt(dt),Ke)}}if(jt(ve)||eo(ve))return vt!==null?null:H(he,ke,ve,Ke,null);wx(he,ve)}return typeof ve=="function"&&Cx(he),null}function xe(he,ke,ve,Ke,vt){if(typeof Ke=="string"&&Ke!==""||typeof Ke=="number"){var dt=he.get(ve)||null;return A(ke,dt,""+Ke,vt)}if(typeof Ke=="object"&&Ke!==null){switch(Ke.$$typeof){case qi:{var Yt=he.get(Ke.key===null?ve:Ke.key)||null;return M(ke,Yt,Ke,vt)}case X:{var nn=he.get(Ke.key===null?ve:Ke.key)||null;return U(ke,nn,Ke,vt)}case fn:var cr=Ke._payload,Yn=Ke._init;return xe(he,ke,ve,Yn(cr),vt)}if(jt(Ke)||eo(Ke)){var ui=he.get(ve)||null;return H(ke,ui,Ke,vt,null)}wx(ke,Ke)}return typeof Ke=="function"&&Cx(ke),null}function Se(he,ke,ve){{if(typeof he!="object"||he===null)return ke;switch(he.$$typeof){case qi:case X:QR(he,ve);var Ke=he.key;if(typeof Ke!="string")break;if(ke===null){ke=new Set,ke.add(Ke);break}if(!ke.has(Ke)){ke.add(Ke);break}l("Encountered two children with the same key, `%s`. Keys should be unique so that componen
`,u+=A}l(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
Previous render Next render
------------------------------------------------------
%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`,a,u)}}}function Wa(){throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`)}function g9(r,a){if(v9)return!1;if(a===null)return l("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",Me),!1;r.length!==a.length&&l(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
Previous: %s
Incoming: %s`,Me,"["+a.join(", ")+"]","["+r.join(", ")+"]");for(var u=0;u<a.length&&u<r.length;u++)if(!da(r[u],a[u]))return!1;return!0}function Qh(r,a,u,f,h,x){Wp=x,ur=a,qs=r!==null?r._debugHookTypes:null,Zf=-1,v9=r!==null&&r.type!==a.type,a.memoizedState=null,a.updateQueue=null,a.lanes=Be,r!==null&&r.memoizedState!==null?pt.current=Tk:qs!==null?pt.current=_k:pt.current=Ek;var _=u(f,h);if(J1){var A=0;do{if(J1=!1,eg=0,A>=ZH)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");A+=1,v9=!1,zi=null,Bi=null,a.updateQueue=null,Zf=-1,pt.current=Rk,_=u(f,h)}while(J1)}pt.current=Bx,a._debugHookTypes=qs;var M=zi!==null&&zi.next!==null;if(Wp=Be,ur=null,zi=null,Bi=null,Me=null,qs=null,Zf=-1,r!==null&&(r.flags&Ms)!==(a.flags&Ms)&&(r.mode&Nn)!==Ft&&l("Internal React error: Expected static flag was missing. Please notify the React team."),Tx=!1,M)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return _}function Jh(){var r=eg!==0;return eg=0,r}function ok(r,a,u){a.updateQueue=r.updateQueue,(a.mode&_o)!==Ft?a.flags&=~(Qm|ai|os|mn):a.flags&=~(os|mn),r.lanes=up(r.lanes,u)}function sk(){if(pt.current=Bx,Tx){for(var r=ur.memoizedState;r!==null;){var a=r.queue;a!==null&&(a.pending=null),r=r.next}Tx=!1}Wp=Be,ur=null,zi=null,Bi=null,qs=null,Zf=-1,Me=null,xk=!1,J1=!1,eg=0}function vu(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Bi===null?ur.memoizedState=Bi=r:Bi=Bi.next=r,Bi}function Zs(){var r;if(zi===null){var a=ur.alternate;a!==null?r=a.memoizedState:r=null}else r=zi.next;var u;if(Bi===null?u=ur.memoizedState:u=Bi.next,u!==null)Bi=u,u=Bi.next,zi=r;else{if(r===null)throw new Error("Rendered more hooks than during the previous render.");zi=r;var f={memoizedState:zi.memoizedState,baseState:zi.baseState,baseQueue:zi.baseQueue,queue:zi.queue,next:null};Bi===null?ur.memoizedState=Bi=f:Bi=Bi.next=f}return Bi}function lk(){return{lastEffect:null,stores:null}}function b9(r,a){return typeof a=="function"?a(r):a}function y9(r,a,u){var f=vu(),h;u!==void 0?h=u(a):h=a,f.memoizedState=f.baseState=h;var x={pending:null,interleaved:null,lanes:Be,dispatch:null,lastRenderedReducer:r,lastRenderedState:h};f.queue=x;var _=x.dispatch=eW.bind(null,ur,x);return[f.memoizedState,_]}function x9(r,a,u){var f=Zs(),h=f.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=r;var x=zi,_=x.baseQueue,A=h.pending;if(A!==null){if(_!==null){var M=_.next,U=A.next;_.next=U,A.next=M}x.baseQueue!==_&&l("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),x.baseQueue=_=A,h.pending=null}if(_!==null){var H=_.next,oe=x.baseState,re=null,xe=null,Se=null,Re=H;do{var ht=Re.lane;if(mc(Wp,ht)){if(Se!==null){var Et={lane:oi,action:Re.action,hasEagerState:Re.hasEagerState,eagerState:Re.eagerState,next:null};Se=Se.next=Et}if(Re.hasEagerState)oe=Re.eagerState;else{var $n=Re.action;oe=r(oe,$n)}}else{var Ot={lane:ht,action:Re.action,hasEagerState:Re.hasEagerState,eagerState:Re.eagerState,next:null};Se===null?(xe=Se=Ot,re=oe):Se=Se.next=Ot,ur.lanes=hn(ur.lanes,ht),yg(ht)}Re=Re.next}while(Re!==null&&Re!==H);Se===null?re=oe:Se.next=xe,da(oe,f.memoizedState)||sg(),f.memoizedState=oe,f.baseState=re,f.baseQueue=Se,h.lastRenderedState=oe}var _n=h.interleaved;if(_n!==null){var he=_n;do{var ke=he.lane;ur.lanes=hn(ur.lanes,ke),yg(ke),he=he.next}while(he!==_n)}else _===null&&(h.lanes=Be);var ve=h.dispatch;return[f.memoizedState,ve]}function S9(r,a,u){var f=Zs(),h=f.queue;if(h===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");h.lastRenderedReducer=r;var x=h.dispatch,_=h.pending,A=f.memoizedState;if(_!==null){h.pending=null;var M=_.next,U=M;do{var H=U.action;A=r(A,H),U=U.next}while(U!==M);da(A,f.memoizedState)||sg(),f.memoizedState=A,f.baseQueue===null&&(f.baseState=A),h.lastRenderedState=A}return[A,x]}function g4e(r,a,u){}function b4e(r,a,u){}function w9(r,a,u){var f=ur,h=vu(),x,_=ha();if(_
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var H=Wt(r)||"Anonymous";U="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+H+".")}var oe=M+`
`+_+`
`+(""+U);console.error(oe)}catch(re){setTimeout(function(){throw re})}}var oW=typeof WeakMap=="function"?WeakMap:Map;function Pk(r,a,u){var f=Rc(rr,u);f.tag=UN,f.payload={element:null};var h=a.value;return f.callback=function(){QG(h),U9(r,a)},f}function j9(r,a,u){var f=Rc(rr,u);f.tag=UN;var h=r.type.getDerivedStateFromError;if(typeof h=="function"){var x=a.value;f.payload=function(){return h(x)},f.callback=function(){WA(r),U9(r,a)}}var _=r.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(f.callback=function(){WA(r),U9(r,a),typeof h!="function"&&KG(this);var M=a.value,U=a.stack;this.componentDidCatch(M,{componentStack:U!==null?U:""}),typeof h!="function"&&(za(r.lanes,qt)||l("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Wt(r)||"Unknown"))}),f}function Ik(r,a,u){var f=r.pingCache,h;if(f===null?(f=r.pingCache=new oW,h=new Set,f.set(a,h)):(h=f.get(a),h===void 0&&(h=new Set,f.set(a,h))),!h.has(u)){h.add(u);var x=JG.bind(null,r,a,u);Ii&&xg(r,u),a.then(x,x)}}function sW(r,a,u,f){var h=r.updateQueue;if(h===null){var x=new Set;x.add(u),r.updateQueue=x}else h.add(u)}function lW(r,a){var u=r.tag;if((r.mode&Nn)===Ft&&(u===m||u===I||u===Y)){var f=r.alternate;f?(r.updateQueue=f.updateQueue,r.memoizedState=f.memoizedState,r.lanes=f.lanes):(r.updateQueue=null,r.memoizedState=null)}}function Dk(r){var a=r;do{if(a.tag===z&&GH(a))return a;a=a.return}while(a!==null);return null}function $k(r,a,u,f,h){if((r.mode&Nn)===Ft){if(r===a)r.flags|=la;else{if(r.flags|=jn,u.flags|=E0,u.flags&=~(Cl|qd),u.tag===v){var x=u.alternate;if(x===null)u.tag=ie;else{var _=Rc(rr,qt);_.tag=hx,Gf(u,_,qt)}}u.lanes=hn(u.lanes,qt)}return r}return r.flags|=la,r.lanes=h,r}function uW(r,a,u,f,h){if(u.flags|=qd,Ii&&xg(r,h),f!==null&&typeof f=="object"&&typeof f.then=="function"){var x=f;lW(u),ha()&&u.mode&Nn&&TR();var _=Dk(a);if(_!==null){_.flags&=~Sl,$k(_,a,u,r,h),_.mode&Nn&&Ik(r,x,h),sW(_,r,x);return}else{if(!qy(h)){Ik(r,x,h),S6();return}var A=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");f=A}}else if(ha()&&u.mode&Nn){TR();var M=Dk(a);if(M!==null){(M.flags&la)===Ut&&(M.flags|=Sl),$k(M,a,u,r,h),PN(Gp(f,u));return}}f=Gp(f,u),jG(f);var U=a;do{switch(U.tag){case b:{var H=f;U.flags|=la;var oe=lp(h);U.lanes=hn(U.lanes,oe);var re=Pk(U,H,oe);HN(U,re);return}case v:var xe=f,Se=U.type,Re=U.stateNode;if((U.flags&jn)===Ut&&(typeof Se.getDerivedStateFromError=="function"||Re!==null&&typeof Re.componentDidCatch=="function"&&!DA(Re))){U.flags|=la;var ht=lp(h);U.lanes=hn(U.lanes,ht);var Ot=j9(U,xe,ht);HN(U,Ot);return}break}U=U.return}while(U!==null)}function cW(){return null}var ag=n.ReactCurrentOwner,Dl=!1,V9,og,H9,W9,G9,Yp,Y9,Gx;V9={},og={},H9={},W9={},G9={},Yp=!1,Y9={},Gx={};function uo(r,a,u,f){r===null?a.child=tk(a,null,u,f):a.child=Gh(a,r.child,u,f)}function fW(r,a,u,f){a.child=Gh(a,r.child,null,f),a.child=Gh(a,null,u,f)}function Fk(r,a,u,f,h){if(a.type!==a.elementType){var x=u.propTypes;x&&wr(x,f,"prop",dn(u))}var _=u.render,A=a.ref,M,U;Wh(a,h),Jd(a);{if(ag.current=a,ri(!0),M=Qh(r,a,_,f,A,h),U=Jh(),a.mode&Yr){mi(!0);try{M=Qh(r,a,_,f,A,h),U=Jh()}finally{mi(!1)}}ri(!1)}return xf(),r!==null&&!Dl?(ok(r,a,h),kc(r,a,h)):(ha()&&U&&RN(a),a.flags|=bf,uo(r,a,M,h),a.child)}function zk(r,a,u,f,h){if(r===null){var x=u.type;if(vY(x)&&u.compare===null&&u.defaultProps===void 0){var _=x;return _=sv(x),a.tag=Y,a.type=_,K9(a,x),Bk(r,a,_,f,h)}{var A=x.propTypes;A&&wr(A,f,"prop",dn(x))}var M=O6(u.type,null,f,a,a.mode,h);return M.ref=a.ref,M.return=a,a.child=M,M}{var U=u.type,H=U.propTypes;H&&wr(H,f,"prop",dn(U))}var oe=r.child,re=n6(r,h);if(!re){var xe=oe.memoizedProps,Se=u.compare;if(Se=Se!==null?Se:Df,Se(xe,f)&&r.ref===a.ref)return kc(r,a,h)}a.flags|=bf;var Re=Qp(oe,f);return Re.ref=a.ref,Re.return=a,a.child=Re,Re}function Bk(r,a,u,f,h){if(a.type!==a.elementType){var x=a.elementType;if(x.$$typeof===fn){var _=x,A=_._pay
Check the render method of \``+f+"`.");var h=f||"",x=r._debugSource;x&&(h=x.fileName+":"+x.lineNumber),G9[h]||(G9[h]=!0,l("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",u))}if(typeof a.getDerivedStateFromProps=="function"){var _=dn(a)||"Unknown";W9[_]||(l("%s: Function components do not support getDerivedStateFromProps.",_),W9[_]=!0)}if(typeof a.contextType=="object"&&a.contextType!==null){var A=dn(a)||"Unknown";H9[A]||(l("%s: Function components do not support contextType.",A),H9[A]=!0)}}}var X9={dehydrated:null,treeContext:null,retryLane:oi};function Q9(r){return{baseLanes:r,cachePool:cW(),transitions:null}}function SW(r,a){var u=null;return{baseLanes:hn(r.baseLanes,a),cachePool:u,transitions:r.transitions}}function wW(r,a,u,f){if(a!==null){var h=a.memoizedState;if(h===null)return!1}return f9(r,X1)}function CW(r,a){return up(r.childLanes,a)}function Gk(r,a,u){var f=a.pendingProps;OY(a)&&(a.flags|=jn);var h=Pl.current,x=!1,_=(a.flags&jn)!==Ut;if(_||wW(h,r)?(x=!0,a.flags&=~jn):(r===null||r.memoizedState!==null)&&(h=WH(h,ak)),h=qh(h),qf(a,h),r===null){MN(a);var A=a.memoizedState;if(A!==null){var M=A.dehydrated;if(M!==null)return RW(a,M)}var U=f.children,H=f.fallback;if(x){var oe=NW(a,U,H,u),re=a.child;return re.memoizedState=Q9(u),a.memoizedState=X9,oe}else return J9(a,U)}else{var xe=r.memoizedState;if(xe!==null){var Se=xe.dehydrated;if(Se!==null)return kW(r,a,_,f,Se,xe,u)}if(x){var Re=f.fallback,ht=f.children,Ot=_W(r,a,ht,Re,u),Et=a.child,$n=r.child.memoizedState;return Et.memoizedState=$n===null?Q9(u):SW($n,u),Et.childLanes=CW(r,u),a.memoizedState=X9,Ot}else{var _n=f.children,he=EW(r,a,_n,u);return a.memoizedState=null,he}}}function J9(r,a,u){var f=r.mode,h={mode:"visible",children:a},x=e6(h,f);return x.return=r,r.child=x,x}function NW(r,a,u,f){var h=r.mode,x=r.child,_={mode:"hidden",children:a},A,M;return(h&Nn)===Ft&&x!==null?(A=x,A.childLanes=Be,A.pendingProps=_,r.mode&Gn&&(A.actualDuration=0,A.actualStartTime=-1,A.selfBaseDuration=0,A.treeBaseDuration=0),M=nd(u,h,f,null)):(A=e6(_,h),M=nd(u,h,f,null)),A.return=r,M.return=r,A.sibling=M,r.child=A,M}function e6(r,a,u){return YA(r,a,Be,null)}function Yk(r,a){return Qp(r,a)}function EW(r,a,u,f){var h=r.child,x=h.sibling,_=Yk(h,{mode:"visible",children:u});if((a.mode&Nn)===Ft&&(_.lanes=f),_.return=a,_.sibling=null,x!==null){var A=a.deletions;A===null?(a.deletions=[x],a.flags|=ic):A.push(x)}return a.child=_,_}function _W(r,a,u,f,h){var x=a.mode,_=r.child,A=_.sibling,M={mode:"hidden",children:u},U;if((x&Nn)===Ft&&a.child!==_){var H=a.child;U=H,U.childLanes=Be,U.pendingProps=M,a.mode&Gn&&(U.actualDuration=0,U.actualStartTime=-1,U.selfBaseDuration=_.selfBaseDuration,U.treeBaseDuration=_.treeBaseDuration),a.deletions=null}else U=Yk(_,M),U.subtreeFlags=_.subtreeFlags&Ms;var oe;return A!==null?oe=Qp(A,f):(oe=nd(f,x,h,null),oe.flags|=Qr),oe.return=a,U.return=a,U.sibling=oe,a.child=U,oe}function Yx(r,a,u,f){f!==null&&PN(f),Gh(a,r.child,null,u);var h=a.pendingProps,x=h.children,_=J9(a,x);return _.flags|=Qr,a.memoizedState=null,_}function TW(r,a,u,f,h){var x=a.mode,_={mode:"visible",children:u},A=e6(_,x),M=nd(f,x,h,null);return M.flags|=Qr,A.return=a,M.return=a,A.sibling=M,a.child=A,(a.mode&Nn)!==Ft&&Gh(a,r.child,null,h),M}function RW(r,a,u){return(r.mode&Nn)===Ft?(l("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),r.lanes=qt):z1(a)?r.lanes=cc:r.lanes=so,null}function kW(r,a,u,f,h,x,_){if(u)if(a.flags&Sl){a.flags&=~Sl;var he=B9(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Yx(r,a,_,he)}else{if(a.memoizedState!==null)return a.child=r.child,a.flags|=jn,null;var ke=f.children,ve=f.fallback,Ke=TW(r,a,ke,ve,_),vt=a.child;return vt.memoizedState=Q9(_),a.memoizedState=X9,Ke}else{if(gH(),(a.mode&Nn)===Ft)return Yx(r,a,_,null);if(z1(h)){var A,M,U;{var H=eN(h);A=H.digest,M=H.me
It looks like you wrote `+M+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
`+M+`(() => {
async function fetchData() {
// You can await here
const response = await MyAPI.getData(someId);
// ...
}
fetchData();
}, [someId]); // Or [] if effect doesn't need props or state
Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching`:U=" You returned: "+A,l("%s must not return anything besides a function, which is used for clean-up.%s",M,U)}}}x=x.next}while(x!==h)}}function KW(r,a){if((a.flags&mn)!==Ut)switch(a.tag){case F:{var u=a.stateNode.passiveEffectDuration,f=a.memoizedProps,h=f.id,x=f.onPostCommit,_=Lk(),A=a.alternate===null?"mount":"update";Ak()&&(A="nested-update"),typeof x=="function"&&x(h,A,u,_);var M=a.return;e:for(;M!==null;){switch(M.tag){case b:var U=M.stateNode;U.passiveEffectDuration+=u;break e;case F:var H=M.stateNode;H.passiveEffectDuration+=u;break e}M=M.return}break}}}function XW(r,a,u,f){if((u.flags&Zd)!==Ut)switch(u.tag){case m:case I:case Y:{if(!ba)if(u.mode&Gn)try{yu(),Xf(Fi|$i,u)}finally{bu(u)}else Xf(Fi|$i,u);break}case v:{var h=u.stateNode;if(u.flags&mn&&!ba)if(a===null)if(u.type===u.elementType&&!Yp&&(h.props!==u.memoizedProps&&l("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Wt(u)||"instance"),h.state!==u.memoizedState&&l("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Wt(u)||"instance")),u.mode&Gn)try{yu(),h.componentDidMount()}finally{bu(u)}else h.componentDidMount();else{var x=u.elementType===u.type?a.memoizedProps:Ml(u.type,a.memoizedProps),_=a.memoizedState;if(u.type===u.elementType&&!Yp&&(h.props!==u.memoizedProps&&l("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Wt(u)||"instance"),h.state!==u.memoizedState&&l("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Wt(u)||"instance")),u.mode&Gn)try{yu(),h.componentDidUpdate(x,_,h.__reactInternalSnapshotBeforeUpdate)}finally{bu(u)}else h.componentDidUpdate(x,_,h.__reactInternalSnapshotBeforeUpdate)}var A=u.updateQueue;A!==null&&(u.type===u.elementType&&!Yp&&(h.props!==u.memoizedProps&&l("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",Wt(u)||"instance"),h.state!==u.memoizedState&&l("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",Wt(u)||"instance")),HR(u,A,h));break}case b:{var M=u.updateQueue;if(M!==null){var U=null;if(u.child!==null)switch(u.child.tag){case C:U=u.child.stateNode;break;case v:U=u.child.stateNode;break}HR(u,M,U)}break}case C:{var H=u.stateNode;if(a===null&&u.flags&mn){var oe=u.type,re=u.memoizedProps;VC(H,oe,re)}break}case T:break;case w:break;case F:{{var xe=u.memoizedProps,Se=xe.onCommit,Re=xe.onRender,ht=u.stateNode.effectDuration,Ot=Lk(),Et=a===null?"mount":"update";Ak()&&(Et="nested-update"),typeof Re=="function"&&Re(u.memoizedProps.id,Et,u.actualDuration,u.treeBaseDuration,u.actualStartTime,Ot);{typeof Se=="function"&&Se(u.memoizedProps.id,Et,ht,Ot),qG(u);var $n=u.return;e:for(;$n!==null;){switch($n.tag){case b:var _n=$n.stateNode;_n.effectDuration+=ht;break e;case F:var he=$n.stateNode;he.effectDuration+=ht;break e}$n=$n.return}}}break}case z:{aG(r,u);break}case me:case ie:case ze:case te:case ee:case ye:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}ba||u.flags&Ji&&cA(u)}function QW(r){switch(r.tag){case m:case I:case Y:{if(r.mode&Gn)try{yu(),sA(r,r.return)}finally{bu(r)}else sA(r,r.return);break}case v:{var a=r.stateNode;typeof a.componentDidMount=="function"&&WW(r,r.r
Error message:
%s`,u)}function JG(r,a,u){var f=r.pingCache;f!==null&&f.delete(a);var h=fo();fp(r,u),lY(r),co===r&&mc(ji,u)&&(Vi===fg||Vi===Xx&&Y0(ji)&&Br()-d6<CA?Kp(r,Be):Jx=hn(Jx,u)),Mo(r,h)}function FA(r,a){a===oi&&(a=MG(r));var u=fo(),f=Ao(r,a);f!==null&&(hc(f,a,u),Mo(f,u))}function eY(r){var a=r.memoizedState,u=oi;a!==null&&(u=a.retryLane),FA(r,u)}function tY(r,a){var u=oi,f;switch(r.tag){case z:f=r.stateNode;var h=r.memoizedState;h!==null&&(u=h.retryLane);break;case me:f=r.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}f!==null&&f.delete(a),FA(r,u)}function nY(r){return r<120?120:r<480?480:r<1080?1080:r<1920?1920:r<3e3?3e3:r<4320?4320:kG(r/1960)*1960}function rY(){if(gg>LG)throw gg=0,v6=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");av>OG&&(av=0,n5=null,l("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}function iY(){Ol.flushLegacyContextWarning(),Ol.flushPendingUnsafeLifecycleWarnings()}function zA(r,a){lr(r),s5(r,ai,CG),a&&s5(r,Qm,NG),s5(r,ai,SG),a&&s5(r,Qm,wG),Pr()}function s5(r,a,u){for(var f=r,h=null;f!==null;){var x=f.subtreeFlags&a;f!==h&&f.child!==null&&x!==Ut?f=f.child:((f.flags&a)!==Ut&&u(f),f.sibling!==null?f=f.sibling:f=h=f.return)}}var l5=null;function BA(r){{if((Dn&Sa)!==Ui||!(r.mode&Nn))return;var a=r.tag;if(a!==g&&a!==b&&a!==v&&a!==m&&a!==I&&a!==q&&a!==Y)return;var u=Wt(r)||"ReactComponent";if(l5!==null){if(l5.has(u))return;l5.add(u)}else l5=new Set([u]);var f=_r;try{lr(r),l("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{f?lr(r):Pr()}}}var w6;{var aY=null;w6=function(r,a,u){var f=qA(aY,a);try{return Jk(r,a,u)}catch(x){if(bH()||x!==null&&typeof x=="object"&&typeof x.then=="function")throw x;if(px(),sk(),aA(r,a),qA(a,f),a.mode&Gn&&D9(a),gf(null,Jk,null,r,a,u),B()){var h=ru();typeof h=="object"&&h!==null&&h._suppressLogging&&typeof x=="object"&&x!==null&&!x._suppressLogging&&(x._suppressLogging=!0)}throw x}}}var UA=!1,C6;C6=new Set;function oY(r){if(no&&!JH())switch(r.tag){case m:case I:case Y:{var a=qr&&Wt(qr)||"Unknown",u=a;if(!C6.has(u)){C6.add(u);var f=Wt(r)||"Unknown";l("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",f,a,a)}break}case v:{UA||(l("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),UA=!0);break}}}function xg(r,a){if(Ii){var u=r.memoizedUpdaters;u.forEach(function(f){mh(r,f,a)})}}var N6={};function E6(r,a){{var u=Bl.current;return u!==null?(u.push(a),N6):io(r,a)}}function jA(r){if(r!==N6)return F4(r)}function VA(){return Bl.current!==null}function sY(r){{if(r.mode&Nn){if(!xA())return}else if(!RG()||Dn!==Ui||r.tag!==m&&r.tag!==I&&r.tag!==Y)return;if(Bl.current===null){var a=_r;try{lr(r),l(`An update to %s inside a test was not wrapped in act(...).
When testing, code that causes React state updates should be wrapped into act(...):
act(() => {
/* fire events that update state */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`,Wt(r))}finally{a?lr(r):Pr()}}}}function lY(r){r.tag!==Vf&&xA()&&Bl.current===null&&l(`A suspended resource finished loading inside a test, but the event was not wrapped in act(...).
When testing, code that resolves suspended data should be wrapped into act(...):
act(() => {
/* finish loading suspended data */
});
/* assert on the output */
This ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act`)}function Sg(r){_A=r}var Xs=null,ov=null,uY=function(r){Xs=r};function sv(r){{if(Xs===null)return r;var a=Xs(r);return a===void 0?r:a.current}}function _6(r){return sv(r)}function T6(r){{if(Xs===null)return r;var a=Xs(r);if(a===void 0){if(r!=null&&typeof r.render=="function"){var u=sv(r.render);if(r.render!==u){var f={$$typeof:st,render:u};return r.displayName!==void 0&&(f.displayName=r.displayName),f}}return r}return a.current}}function HA(r,a){{if(Xs===null)return!1;var u=r.elementType,f=a.type,h=!1,x=typeof f=="object"&&f!==null?f.$$typeof:null;switch(r.tag){case v:{typeof f=="function"&&(h=!0);break}case m:{(typeof f=="function"||x===fn)&&(h=!0);break}case I:{(x===st||x===fn)&&(h=!0);break}case q:case Y:{(x===Un||x===fn)&&(h=!0);break}default:return!1}if(h){var _=Xs(u);if(_!==void 0&&_===Xs(f))return!0}return!1}}function WA(r){{if(Xs===null||typeof WeakSet!="function")return;ov===null&&(ov=new WeakSet),ov.add(r)}}var cY=function(r,a){{if(Xs===null)return;var u=a.staleFamilies,f=a.updatedFamilies;Mc(),Oc(function(){R6(r.current,f,u)})}},fY=function(r,a){{if(r.context!==us)return;Mc(),Oc(function(){wg(a,r,null,null)})}};function R6(r,a,u){{var f=r.alternate,h=r.child,x=r.sibling,_=r.tag,A=r.type,M=null;switch(_){case m:case Y:case v:M=A;break;case I:M=A.render;break}if(Xs===null)throw new Error("Expected resolveFamily to be set during hot reload.");var U=!1,H=!1;if(M!==null){var oe=Xs(M);oe!==void 0&&(u.has(oe)?H=!0:a.has(oe)&&(_===v?H=!0:U=!0))}if(ov!==null&&(ov.has(r)||f!==null&&ov.has(f))&&(H=!0),H&&(r._debugNeedsRemount=!0),H||U){var re=Ao(r,qt);re!==null&&Hi(re,r,qt,rr)}h!==null&&!H&&R6(h,a,u),x!==null&&R6(x,a,u)}}var dY=function(r,a){{var u=new Set,f=new Set(a.map(function(h){return h.current}));return k6(r.current,f,u),u}};function k6(r,a,u){{var f=r.child,h=r.sibling,x=r.tag,_=r.type,A=null;switch(x){case m:case Y:case v:A=_;break;case I:A=_.render;break}var M=!1;A!==null&&a.has(A)&&(M=!0),M?pY(r,u):f!==null&&k6(f,a,u),h!==null&&k6(h,a,u)}}function pY(r,a){{var u=mY(r,a);if(u)return;for(var f=r;;){switch(f.tag){case C:a.add(f.stateNode);return;case w:a.add(f.stateNode.containerInfo);return;case b:a.add(f.stateNode.containerInfo);return}if(f.return===null)throw new Error("Expected to reach root first.");f=f.return}}}function mY(r,a){for(var u=r,f=!1;;){if(u.tag===C)f=!0,a.add(u.stateNode);else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===r)return f;for(;u.sibling===null;){if(u.return===null||u.return===r)return f;u=u.return}u.sibling.return=u.return,u=u.sibling}return!1}var A6;{A6=!1;try{var GA=Object.preventExtensions({})}catch{A6=!0}}function hY(r,a,u,f){this.tag=r,this.key=u,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=a,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=f,this.flags=Ut,this.subtreeFlags=Ut,this.deletions=null,this.lanes=Be,this.childLanes=Be,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,!A6&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var cs=function(r,a,u,f){return new hY(r,a,u,f)};function L6(r){var a=r.prototype;return!!(a&&a.isReactComponent)}function vY(r){return typeof r=="function"&&!L6(r)&&r.defaultProps===void 0}function gY(r){if(typeof r=="function")return L6(r)?v:m;if(r!=null){var a=r.$$typeof;if(a===st)return I;if(a===Un)return q}return g}function Qp(r,a){var u=r.alternate;u===null?(u=cs(r.tag,a,r.key,r.mode),u.elementType=r.elementType,u.type=r.type,u.stateNode=r.stateNode,u._debugSource=r._debugSource,u._debugOwner=r._debugOwner,u._debugHookTyp
Check the render method of \``+U+"`.")}throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) "+("but got: "+(r==null?r:typeof r)+"."+M))}}}var H=cs(_,u,a,h);return H.elementType=r,H.type=A,H.lanes=x,H._debugOwner=f,H}function M6(r,a,u){var f=null;f=r._owner;var h=r.type,x=r.key,_=r.props,A=O6(h,x,_,f,a,u);return A._debugSource=r._source,A._debugOwner=r._owner,A}function nd(r,a,u,f){var h=cs(R,r,f,a);return h.lanes=u,h}function xY(r,a,u,f){typeof r.id!="string"&&l('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof r.id);var h=cs(F,r,f,a|Gn);return h.elementType=_t,h.lanes=u,h.stateNode={effectDuration:0,passiveEffectDuration:0},h}function SY(r,a,u,f){var h=cs(z,r,f,a);return h.elementType=Kt,h.lanes=u,h}function wY(r,a,u,f){var h=cs(me,r,f,a);return h.elementType=Hn,h.lanes=u,h}function YA(r,a,u,f){var h=cs(te,r,f,a);h.elementType=qo,h.lanes=u;var x={isHidden:!1};return h.stateNode=x,h}function P6(r,a,u){var f=cs(T,r,null,a);return f.lanes=u,f}function CY(){var r=cs(C,null,null,Ft);return r.elementType="DELETED",r}function NY(r){var a=cs(ae,null,null,Ft);return a.stateNode=r,a}function I6(r,a,u){var f=r.children!==null?r.children:[],h=cs(w,f,r.key,a);return h.lanes=u,h.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},h}function qA(r,a){return r===null&&(r=cs(g,null,null,Ft)),r.tag=a.tag,r.key=a.key,r.elementType=a.elementType,r.type=a.type,r.stateNode=a.stateNode,r.return=a.return,r.child=a.child,r.sibling=a.sibling,r.index=a.index,r.ref=a.ref,r.pendingProps=a.pendingProps,r.memoizedProps=a.memoizedProps,r.updateQueue=a.updateQueue,r.memoizedState=a.memoizedState,r.dependencies=a.dependencies,r.mode=a.mode,r.flags=a.flags,r.subtreeFlags=a.subtreeFlags,r.deletions=a.deletions,r.lanes=a.lanes,r.childLanes=a.childLanes,r.alternate=a.alternate,r.actualDuration=a.actualDuration,r.actualStartTime=a.actualStartTime,r.selfBaseDuration=a.selfBaseDuration,r.treeBaseDuration=a.treeBaseDuration,r._debugSource=a._debugSource,r._debugOwner=a._debugOwner,r._debugNeedsRemount=a._debugNeedsRemount,r._debugHookTypes=a._debugHookTypes,r}function EY(r,a,u,f,h){this.tag=a,this.containerInfo=r,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=L1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=oi,this.eventTimes=cp(Be),this.expirationTimes=cp(rr),this.pendingLanes=Be,this.suspendedLanes=Be,this.pingedLanes=Be,this.expiredLanes=Be,this.mutableReadLanes=Be,this.finishedLanes=Be,this.entangledLanes=Be,this.entanglements=cp(Be),this.identifierPrefix=f,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var x=this.pendingUpdatersLaneMap=[],_=0;_<j0;_++)x.push(new Set)}switch(a){case ax:this._debugRootType=u?"hydrateRoot()":"createRoot()";break;case Vf:this._debugRootType=u?"hydrate()":"render()";break}}function ZA(r,a,u,f,h,x,_,A,M,U){var H=new EY(r,a,u,A,M),oe=yY(a,x);H.current=oe,oe.stateNode=H;{var re={element:f,isDehydrated:u,cache:null,transitions:null,pendingSuspenseBoundaries:null};oe.memoizedState=re}return VN(oe),H}var D6="18.2.0";function _Y(r,a,u){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return On(f),{$$typeof:X,key:f==null?null:""+f,children:r,containerInfo:a,implementation:u}}var $6,F6;$6=!1,F6={};function KA(r){if(!r)return us;var a=xl(r),u=uH(a);if(a.tag===v){var f=a.type;if(mu(f))return wR(a,f,u)}return u}function TY(r,a){{var u=xl(r);if(u===void 0){if(typeof r.render=="function")throw new Error("Unable to find node on an unmounted component.");var f=Object.keys(r).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+f)}var h=Oy(u);if(h===null)return null;if(h.mode&Yr){var x=Wt(u)||"Component";if(!F6[x]){F6[x]=!0;var _=_r;try{lr(h),u.mode&Yr?l("%s is deprecated in StrictMode. %s was passed an instance of %s which is i
Check the render method of %s.`,Wt(_r)||"Unknown"));var M=Rc(x,_);M.payload={element:r},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&l("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",f),M.callback=f);var U=Gf(h,M,_);return U!==null&&(Hi(U,h,_,x),bx(U,h,_)),_}function u5(r){var a=r.current;if(!a.child)return null;switch(a.child.tag){case C:return a.child.stateNode;default:return a.child.stateNode}}function RY(r){switch(r.tag){case b:{var a=r.stateNode;if(gi(a)){var u=Z4(a);FG(a,u)}break}case z:{Oc(function(){var h=Ao(r,qt);if(h!==null){var x=fo();Hi(h,r,qt,x)}});var f=qt;z6(r,f);break}}}function JA(r,a){var u=r.memoizedState;u!==null&&u.dehydrated!==null&&(u.retryLane=Tl(u.retryLane,a))}function z6(r,a){JA(r,a);var u=r.alternate;u&&JA(u,a)}function kY(r){if(r.tag===z){var a=_f,u=Ao(r,a);if(u!==null){var f=fo();Hi(u,r,a,f)}z6(r,a)}}function AY(r){if(r.tag===z){var a=ed(r),u=Ao(r,a);if(u!==null){var f=fo();Hi(u,r,a,f)}z6(r,a)}}function eL(r){var a=A0(r);return a===null?null:a.stateNode}var tL=function(r){return null};function LY(r){return tL(r)}var nL=function(r){return!1};function OY(r){return nL(r)}var rL=null,iL=null,aL=null,oL=null,sL=null,lL=null,uL=null,cL=null,fL=null;{var dL=function(r,a,u){var f=a[u],h=jt(r)?r.slice():tn({},r);return u+1===a.length?(jt(h)?h.splice(f,1):delete h[f],h):(h[f]=dL(r[f],a,u+1),h)},pL=function(r,a){return dL(r,a,0)},mL=function(r,a,u,f){var h=a[f],x=jt(r)?r.slice():tn({},r);if(f+1===a.length){var _=u[f];x[_]=x[h],jt(x)?x.splice(h,1):delete x[h]}else x[h]=mL(r[h],a,u,f+1);return x},hL=function(r,a,u){if(a.length!==u.length){s("copyWithRename() expects paths of the same length");return}else for(var f=0;f<u.length-1;f++)if(a[f]!==u[f]){s("copyWithRename() expects paths to be the same except for the deepest key");return}return mL(r,a,u,0)},vL=function(r,a,u,f){if(u>=a.length)return f;var h=a[u],x=jt(r)?r.slice():tn({},r);return x[h]=vL(r[h],a,u+1,f),x},gL=function(r,a,u){return vL(r,a,0,u)},B6=function(r,a){for(var u=r.memoizedState;u!==null&&a>0;)u=u.next,a--;return u};rL=function(r,a,u,f){var h=B6(r,a);if(h!==null){var x=gL(h.memoizedState,u,f);h.memoizedState=x,h.baseState=x,r.memoizedProps=tn({},r.memoizedProps);var _=Ao(r,qt);_!==null&&Hi(_,r,qt,rr)}},iL=function(r,a,u){var f=B6(r,a);if(f!==null){var h=pL(f.memoizedState,u);f.memoizedState=h,f.baseState=h,r.memoizedProps=tn({},r.memoizedProps);var x=Ao(r,qt);x!==null&&Hi(x,r,qt,rr)}},aL=function(r,a,u,f){var h=B6(r,a);if(h!==null){var x=hL(h.memoizedState,u,f);h.memoizedState=x,h.baseState=x,r.memoizedProps=tn({},r.memoizedProps);var _=Ao(r,qt);_!==null&&Hi(_,r,qt,rr)}},oL=function(r,a,u){r.pendingProps=gL(r.memoizedProps,a,u),r.alternate&&(r.alternate.pendingProps=r.pendingProps);var f=Ao(r,qt);f!==null&&Hi(f,r,qt,rr)},sL=function(r,a){r.pendingProps=pL(r.memoizedProps,a),r.alternate&&(r.alternate.pendingProps=r.pendingProps);var u=Ao(r,qt);u!==null&&Hi(u,r,qt,rr)},lL=function(r,a,u){r.pendingProps=hL(r.memoizedProps,a,u),r.alternate&&(r.alternate.pendingProps=r.pendingProps);var f=Ao(r,qt);f!==null&&Hi(f,r,qt,rr)},uL=function(r){var a=Ao(r,qt);a!==null&&Hi(a,r,qt,rr)},cL=function(r){tL=r},fL=function(r){nL=r}}function MY(r){var a=Oy(r);return a===null?null:a.stateNode}function PY(r){return null}function IY(){return _r}function DY(r){var a=r.findFiberByHostInstance,u=n.ReactCurrentDispatcher;return Iy({bundleType:r.bundleType,version:r.version,rendererPackageName:r.rendererPackageName,rendererConfig:r.rendererConfig,overrideHookState:rL,overrideHookStateDeletePath:iL,overrideHookStateRenamePath:aL,overrideProps:oL,overridePropsDeletePath:sL,overridePropsRenamePath:lL,setErrorHandler:cL,setSuspenseHandler:fL,scheduleUpdate:uL,currentDispatcherRef:u,findHostInstanceByFiber:MY,findFiberByHostInstance:a||PY,findHostInstancesForRefresh:dY,scheduleRefresh:cY,scheduleRoot:fY,setRefreshHandler:uY,getCurrentFiber:IY,reconcilerVersion:D6})}var bL=typeof reportError=="function"?reportError:function(r){console.error(r)};function U6(r){this._internalRoot=r}c5.prototype.render=U6.prototyp
let root = createRoot(domContainer);
root.render(<App />);`),a.unstable_strictMode===!0&&(u=!0),a.identifierPrefix!==void 0&&(h=a.identifierPrefix),a.onRecoverableError!==void 0&&(x=a.onRecoverableError),a.transitionCallbacks!==void 0&&a.transitionCallbacks);var _=XA(r,ax,null,u,f,h,x);de(_.current,r);var A=r.nodeType===Wn?r.parentNode:r;return Rp(A),new U6(_)}function c5(r){this._internalRoot=r}function FY(r){r&&i2(r)}c5.prototype.unstable_scheduleHydration=FY;function zY(r,a,u){if(!f5(r))throw new Error("hydrateRoot(...): Target container is not a DOM element.");yL(r),a===void 0&&l("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var f=u??null,h=u!=null&&u.hydratedSources||null,x=!1,_=!1,A="",M=bL;u!=null&&(u.unstable_strictMode===!0&&(x=!0),u.identifierPrefix!==void 0&&(A=u.identifierPrefix),u.onRecoverableError!==void 0&&(M=u.onRecoverableError));var U=QA(a,null,r,ax,f,x,_,A,M);if(de(U.current,r),Rp(r),h)for(var H=0;H<h.length;H++){var oe=h[H];YH(U,oe)}return new c5(U)}function f5(r){return!!(r&&(r.nodeType===Fa||r.nodeType===is||r.nodeType===tc||!Oe))}function Cg(r){return!!(r&&(r.nodeType===Fa||r.nodeType===is||r.nodeType===tc||r.nodeType===Wn&&r.nodeValue===" react-mount-point-unstable "))}function yL(r){r.nodeType===Fa&&r.tagName&&r.tagName.toUpperCase()==="BODY"&&l("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),Le(r)&&(r._reactRootContainer?l("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):l("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}var BY=n.ReactCurrentOwner,xL;xL=function(r){if(r._reactRootContainer&&r.nodeType!==Wn){var a=eL(r._reactRootContainer.current);a&&a.parentNode!==r&&l("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var u=!!r._reactRootContainer,f=j6(r),h=!!(f&&Je(f));h&&!u&&l("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),r.nodeType===Fa&&r.tagName&&r.tagName.toUpperCase()==="BODY"&&l("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")};function j6(r){return r?r.nodeType===is?r.documentElement:r.firstChild:null}function SL(){}function UY(r,a,u,f,h){if(h){if(typeof f=="function"){var x=f;f=function(){var re=u5(_);x.call(re)}}var _=QA(a,f,r,Vf,null,!1,!1,"",SL);r._reactRootContainer=_,de(_.current,r);var A=r.nodeType===Wn?r.parentNode:r;return Rp(A),Oc(),_}else{for(var M;M=r.lastChild;)r.removeChild(M);if(typeof f=="function"){var U=f;f=function(){var re=u5(H);U.call(re)}}var H=XA(r,Vf,null,!1,!1,"",SL);r._reactRootContainer=H,de(H.current,r);var oe=r.nodeType===Wn?r.parentNode:r;return Rp(oe),Oc(function(){wg(a,H,u,f)}),H}}function jY(r,a){r!==null&&typeof r!="function"&&l("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a,r)}function d5(r,a,u,f,h){xL(u),jY(h===void 0?null:h,"render");var x=u._reactRootContainer,_;if(!x)_=UY(u,a,r,h,f);else{if(_=x,typeof h=="function"){var A=h;h=function(){var M=u5(_);A.call(M)}}wg(a,_,r,h)}return u5(_)}function VY(r){{var a=BY.current;if(a!==null&&a.stateNode!==null){var u=a.stateNode._warnedAboutRefsInRender;u||l("%s is accessing findD
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}ms.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=V6,ms.createPortal=qY,ms.createRoot=KY,ms.findDOMNode=VY,ms.flushSync=QY,ms.hydrate=HY,ms.hydrateRoot=XY,ms.render=WY,ms.unmountComponentAtNode=YY,ms.unstable_batchedUpdates=y6,ms.unstable_renderSubtreeIntoContainer=ZY,ms.version=D6,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();(function(e){e.exports=ms})(ef);var H6=ef.exports;{var p5=H6.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;cE.createRoot=function(e,t){p5.usingClientEntryPoint=!0;try{return H6.createRoot(e,t)}finally{p5.usingClientEntryPoint=!1}},cE.hydrateRoot=function(e,t,n){p5.usingClientEntryPoint=!0;try{return H6.hydrateRoot(e,t,n)}finally{p5.usingClientEntryPoint=!1}}}var $u=Boolean(globalThis?.document)?E.exports.useLayoutEffect:E.exports.useEffect,o8={exports:{}},fE={};/**
* @license React
* react-jsx-dev-runtime.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(){var e=E.exports,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),p=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),T=Symbol.iterator,R="@@iterator";function L(X){if(X===null||typeof X!="object")return null;var Ve=T&&X[T]||X[R];return typeof Ve=="function"?Ve:null}var D=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(X){{for(var Ve=arguments.length,Qe=new Array(Ve>1?Ve-1:0),_t=1;_t<Ve;_t++)Qe[_t-1]=arguments[_t];I("error",X,Qe)}}function I(X,Ve,Qe){{var _t=D.ReactDebugCurrentFrame,un=_t.getStackAddendum();un!==""&&(Ve+="%s",Qe=Qe.concat([un]));var Cn=Qe.map(function(st){return String(st)});Cn.unshift("Warning: "+Ve),Function.prototype.apply.call(console[X],console,Cn)}}var F=!1,z=!1,q=!1,Y=!1,Q=!1,ie;ie=Symbol.for("react.module.reference");function ae(X){return!!(typeof X=="string"||typeof X=="function"||X===i||X===s||Q||X===o||X===v||X===g||Y||X===C||F||z||q||typeof X=="object"&&X!==null&&(X.$$typeof===w||X.$$typeof===b||X.$$typeof===l||X.$$typeof===p||X.$$typeof===m||X.$$typeof===ie||X.getModuleId!==void 0))}function me(X,Ve,Qe){var _t=X.displayName;if(_t)return _t;var un=Ve.displayName||Ve.name||"";return un!==""?Qe+"("+un+")":Qe}function ze(X){return X.displayName||"Context"}function te(X){if(X==null)return null;if(typeof X.tag=="number"&&P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof X=="function")return X.displayName||X.name||null;if(typeof X=="string")return X;switch(X){case i:return"Fragment";case n:return"Portal";case s:return"Profiler";case o:return"StrictMode";case v:return"Suspense";case g:return"SuspenseList"}if(typeof X=="object")switch(X.$$typeof){case p:var Ve=X;return ze(Ve)+".Consumer";case l:var Qe=X;return ze(Qe._context)+".Provider";case m:return me(X,X.render,"ForwardRef");case b:var _t=X.displayName||null;return _t!==null?_t:te(X.type)||"Memo";case w:{var un=X,Cn=un._payload,st=un._init;try{return te(st(Cn))}catch{return null}}}return null}var ee=Object.assign,we=0,ye,K,le,ge,pe,Ee,Oe;function Pe(){}Pe.__reactDisabledLog=!0;function Xe(){{if(we===0){ye=console.log,K=console.info,le=console.warn,ge=console.error,pe=console.group,Ee=console.groupCollapsed,Oe=console.groupEnd;var X={configurable:!0,enumerable:!0,value:Pe,writable:!0};Object.defineProperties(console,{info:X,log:X,warn:X,error:X,group:X,groupCollapsed:X,groupEnd:X})}we++}}function et(){{if(we--,we===0){var X={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ee({},X,{value:ye}),info:ee({},X,{value:K}),warn:ee({},X,{value:le}),error:ee({},X,{value:ge}),group:ee({},X,{value:pe}),groupCollapsed:ee({},X,{value:Ee}),groupEnd:ee({},X,{value:Oe})})}we<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var at=D.ReactCurrentDispatcher,kt;function He(X,Ve,Qe){{if(kt===void 0)try{throw Error()}catch(un){var _t=un.stack.trim().match(/\n( *(at )?)/);kt=_t&&_t[1]||""}return`
`+kt+X}}var ot=!1,wt;{var It=typeof WeakMap=="function"?WeakMap:Map;wt=new It}function We(X,Ve){if(!X||ot)return"";{var Qe=wt.get(X);if(Qe!==void 0)return Qe}var _t;ot=!0;var un=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Cn;Cn=at.current,at.current=null,Xe();try{if(Ve){var st=function(){throw Error()};if(Object.defineProperty(st.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(st,[])}catch(ki){_t=ki}Reflect.construct(X,[],st)}else{try{st.call()}catch(ki){_t=ki}X.call(st.prototype)}}else{try{throw Error()}catch(ki){_t=ki}X()}}catch(ki){if(ki&&_t&&typeof ki.stack=="string"){for(var Kt=ki.stack.split(`
`),Hn=_t.stack.split(`
`),Un=Kt.length-1,fn=Hn.length-1;Un>=1&&fn>=0&&Kt[Un]!==Hn[fn];)fn--;for(;Un>=1&&fn>=0;Un--,fn--)if(Kt[Un]!==Hn[fn]){if(Un!==1||fn!==1)do if(Un--,fn--,fn<0||Kt[Un]!==Hn[fn]){var Kr=`
`+Kt[Un].replace(" at new "," at ");return X.displayName&&Kr.includes("<anonymous>")&&(Kr=Kr.replace("<anonymous>",X.displayName)),typeof X=="function"&&wt.set(X,Kr),Kr}while(Un>=1&&fn>=0);break}}}finally{ot=!1,at.current=Cn,et(),Error.prepareStackTrace=un}var Aa=X?X.displayName||X.name:"",qo=Aa?He(Aa):"";return typeof X=="function"&&wt.set(X,qo),qo}function Vt(X,Ve,Qe){return We(X,!1)}function Ce(X){var Ve=X.prototype;return!!(Ve&&Ve.isReactComponent)}function nt(X,Ve,Qe){if(X==null)return"";if(typeof X=="function")return We(X,Ce(X));if(typeof X=="string")return He(X);switch(X){case v:return He("Suspense");case g:return He("SuspenseList")}if(typeof X=="object")switch(X.$$typeof){case m:return Vt(X.render);case b:return nt(X.type,Ve,Qe);case w:{var _t=X,un=_t._payload,Cn=_t._init;try{return nt(Cn(un),Ve,Qe)}catch{}}}return""}var Ct=Object.prototype.hasOwnProperty,rt={},sn=D.ReactDebugCurrentFrame;function On(X){if(X){var Ve=X._owner,Qe=nt(X.type,X._source,Ve?Ve.type:null);sn.setExtraStackFrame(Qe)}else sn.setExtraStackFrame(null)}function Tt(X,Ve,Qe,_t,un){{var Cn=Function.call.bind(Ct);for(var st in X)if(Cn(X,st)){var Kt=void 0;try{if(typeof X[st]!="function"){var Hn=Error((_t||"React class")+": "+Qe+" type `"+st+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof X[st]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Hn.name="Invariant Violation",Hn}Kt=X[st](Ve,st,_t,Qe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Un){Kt=Un}Kt&&!(Kt instanceof Error)&&(On(un),P("%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).",_t||"React class",Qe,st,typeof Kt),On(null)),Kt instanceof Error&&!(Kt.message in rt)&&(rt[Kt.message]=!0,On(un),P("Failed %s type: %s",Qe,Kt.message),On(null))}}}var ln=Array.isArray;function Mn(X){return ln(X)}function yn(X){{var Ve=typeof Symbol=="function"&&Symbol.toStringTag,Qe=Ve&&X[Symbol.toStringTag]||X.constructor.name||"Object";return Qe}}function Ze(X){try{return tt(X),!1}catch{return!0}}function tt(X){return""+X}function rn(X){if(Ze(X))return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",yn(X)),tt(X)}var Dt=D.ReactCurrentOwner,Ie={key:!0,ref:!0,__self:!0,__source:!0},Zt,Tn,Ge;Ge={};function ut(X){if(Ct.call(X,"ref")){var Ve=Object.getOwnPropertyDescriptor(X,"ref").get;if(Ve&&Ve.isReactWarning)return!1}return X.ref!==void 0}function At(X){if(Ct.call(X,"key")){var Ve=Object.getOwnPropertyDescriptor(X,"key").get;if(Ve&&Ve.isReactWarning)return!1}return X.key!==void 0}function gn(X,Ve){if(typeof X.ref=="string"&&Dt.current&&Ve&&Dt.current.stateNode!==Ve){var Qe=te(Dt.current.type);Ge[Qe]||(P('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',te(Dt.current.type),X.ref),Ge[Qe]=!0)}}function en(X,Ve){{var Qe=function(){Zt||(Zt=!0,P("%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)",Ve))};Qe.isReactWarning=!0,Object.defineProperty(X,"key",{get:Qe,configurable:!0})}}function Rn(X,Ve){{var Qe=function(){Tn||(Tn=!0,P("%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)",Ve))};Qe.isReactWarning=!0,Object.defineProperty(X,"ref",{get:Qe,configurable:
Check the render method of \``+X+"`."}return""}}function Wo(X){{if(X!==void 0){var Ve=X.fileName.replace(/^.*[\\\/]/,""),Qe=X.lineNumber;return`
Check your code at `+Ve+":"+Qe+"."}return""}}var Ss={};function ws(X){{var Ve=Er();if(!Ve){var Qe=typeof X=="string"?X:X.displayName||X.name;Qe&&(Ve=`
Check the top-level render call using <`+Qe+">.")}return Ve}}function Go(X,Ve){{if(!X._store||X._store.validated||X.key!=null)return;X._store.validated=!0;var Qe=ws(Ve);if(Ss[Qe])return;Ss[Qe]=!0;var _t="";X&&X._owner&&X._owner!==Pn.current&&(_t=" It was passed a child from "+te(X._owner.type)+"."),Vn(X),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Qe,_t),Vn(null)}}function Yo(X,Ve){{if(typeof X!="object")return;if(Mn(X))for(var Qe=0;Qe<X.length;Qe++){var _t=X[Qe];Ri(_t)&&Go(_t,Ve)}else if(Ri(X))X._store&&(X._store.validated=!0);else if(X){var un=L(X);if(typeof un=="function"&&un!==X.entries)for(var Cn=un.call(X),st;!(st=Cn.next()).done;)Ri(st.value)&&Go(st.value,Ve)}}}function xr(X){{var Ve=X.type;if(Ve==null||typeof Ve=="string")return;var Qe;if(typeof Ve=="function")Qe=Ve.propTypes;else if(typeof Ve=="object"&&(Ve.$$typeof===m||Ve.$$typeof===b))Qe=Ve.propTypes;else return;if(Qe){var _t=te(Ve);Tt(Qe,X.props,"prop",_t,X)}else if(Ve.PropTypes!==void 0&&!kn){kn=!0;var un=te(Ve);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",un||"Unknown")}typeof Ve.getDefaultProps=="function"&&!Ve.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Yi(X){{for(var Ve=Object.keys(X.props),Qe=0;Qe<Ve.length;Qe++){var _t=Ve[Qe];if(_t!=="children"&&_t!=="key"){Vn(X),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",_t),Vn(null);break}}X.ref!==null&&(Vn(X),P("Invalid attribute `ref` supplied to `React.Fragment`."),Vn(null))}}function Ja(X,Ve,Qe,_t,un,Cn){{var st=ae(X);if(!st){var Kt="";(X===void 0||typeof X=="object"&&X!==null&&Object.keys(X).length===0)&&(Kt+=" 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 Hn=Wo(un);Hn?Kt+=Hn:Kt+=Er();var Un;X===null?Un="null":Mn(X)?Un="array":X!==void 0&&X.$$typeof===t?(Un="<"+(te(X.type)||"Unknown")+" />",Kt=" Did you accidentally export a JSX literal instead of a component?"):Un=typeof X,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Un,Kt)}var fn=zr(X,Ve,Qe,un,Cn);if(fn==null)return fn;if(st){var Kr=Ve.children;if(Kr!==void 0)if(_t)if(Mn(Kr)){for(var Aa=0;Aa<Kr.length;Aa++)Yo(Kr[Aa],X);Object.freeze&&Object.freeze(Kr)}else P("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 Yo(Kr,X)}return X===i?Yi(fn):xr(fn),fn}}var qi=Ja;fE.Fragment=i,fE.jsxDEV=qi})();(function(e){e.exports=fE})(o8);const Gi=o8.exports.Fragment,N=o8.exports.jsxDEV;var OD="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/color-mode/dist/index.esm.js",s8=E.exports.createContext({});s8.displayName="ColorModeContext";function l8(){const e=E.exports.useContext(s8);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var m5={light:"chakra-ui-light",dark:"chakra-ui-dark"};function iq(e={}){const{preventTransition:t=!0}=e,n={setDataset:i=>{const o=t?n.preventTransition():void 0;document.documentElement.dataset.theme=i,document.documentElement.style.colorScheme=i,o?.()},setClassName(i){document.body.classList.add(i?m5.dark:m5.light),document.body.classList.remove(i?m5.light:m5.dark)},query(){return window.matchMedia("(prefers-color-scheme: dark)")},getSystemTheme(i){return n.query().matches??i==="dark"?"dark":"light"},addListener(i){const o=n.query(),s=l=>{i(l.matches?"dark":"light")};return typeof o.addListener=="function"?o.addListener(s):o.addEventListener("change",s),()=>{typeof o.removeListener=="function"?o.removeListener(s):o.removeEventListener("change",s)}},preventTransition(){const i=document.createElement("style");return i.appendChild(document.createTextNo
`,p=`(function(){try{var a=function(c){var v="(prefers-color-scheme: dark)",h=window.matchMedia(v).matches?"dark":"light",r=c==="system"?h:c,o=document.documentElement,s=document.body,l="chakra-ui-light",d="chakra-ui-dark",i=r==="dark";return s.classList.add(i?d:l),s.classList.remove(i?l:d),o.style.colorScheme=r,o.dataset.theme=r,r},n=a,m="${o}",e="${i}",t=localStorage.getItem(e);t?a(t):localStorage.setItem(e,a(m))}catch(a){}})();
`;return`!${s?l:p}`.trim()}function fq(e={}){return N("script",{id:"chakra-script",dangerouslySetInnerHTML:{__html:cq(e)}},void 0,!1,{fileName:OD,lineNumber:244,columnNumber:26},this)}var dE={exports:{}};(function(e,t){var n=200,i="__lodash_hash_undefined__",o=800,s=16,l=9007199254740991,p="[object Arguments]",m="[object Array]",v="[object AsyncFunction]",g="[object Boolean]",b="[object Date]",w="[object Error]",C="[object Function]",T="[object GeneratorFunction]",R="[object Map]",L="[object Number]",D="[object Null]",P="[object Object]",I="[object Proxy]",F="[object RegExp]",z="[object Set]",q="[object String]",Y="[object Undefined]",Q="[object WeakMap]",ie="[object ArrayBuffer]",ae="[object DataView]",me="[object Float32Array]",ze="[object Float64Array]",te="[object Int8Array]",ee="[object Int16Array]",we="[object Int32Array]",ye="[object Uint8Array]",K="[object Uint8ClampedArray]",le="[object Uint16Array]",ge="[object Uint32Array]",pe=/[\\^$.*+?()[\]{}|]/g,Ee=/^\[object .+?Constructor\]$/,Oe=/^(?:0|[1-9]\d*)$/,Pe={};Pe[me]=Pe[ze]=Pe[te]=Pe[ee]=Pe[we]=Pe[ye]=Pe[K]=Pe[le]=Pe[ge]=!0,Pe[p]=Pe[m]=Pe[ie]=Pe[g]=Pe[ae]=Pe[b]=Pe[w]=Pe[C]=Pe[R]=Pe[L]=Pe[P]=Pe[F]=Pe[z]=Pe[q]=Pe[Q]=!1;var Xe=typeof jc=="object"&&jc&&jc.Object===Object&&jc,et=typeof self=="object"&&self&&self.Object===Object&&self,at=Xe||et||Function("return this")(),kt=t&&!t.nodeType&&t,He=kt&&!0&&e&&!e.nodeType&&e,ot=He&&He.exports===kt,wt=ot&&Xe.process,It=function(){try{var W=He&&He.require&&He.require("util").types;return W||wt&&wt.binding&&wt.binding("util")}catch{}}(),We=It&&It.isTypedArray;function Vt(W,ne,be){switch(be.length){case 0:return W.call(ne);case 1:return W.call(ne,be[0]);case 2:return W.call(ne,be[0],be[1]);case 3:return W.call(ne,be[0],be[1],be[2])}return W.apply(ne,be)}function Ce(W,ne){for(var be=-1,ct=Array(W);++be<W;)ct[be]=ne(be);return ct}function nt(W){return function(ne){return W(ne)}}function Ct(W,ne){return W?.[ne]}function rt(W,ne){return function(be){return W(ne(be))}}var sn=Array.prototype,On=Function.prototype,Tt=Object.prototype,ln=at["__core-js_shared__"],Mn=On.toString,yn=Tt.hasOwnProperty,Ze=function(){var W=/[^.]+$/.exec(ln&&ln.keys&&ln.keys.IE_PROTO||"");return W?"Symbol(src)_1."+W:""}(),tt=Tt.toString,rn=Mn.call(Object),Dt=RegExp("^"+Mn.call(yn).replace(pe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ie=ot?at.Buffer:void 0,Zt=at.Symbol,Tn=at.Uint8Array,Ge=Ie?Ie.allocUnsafe:void 0,ut=rt(Object.getPrototypeOf,Object),At=Object.create,gn=Tt.propertyIsEnumerable,en=sn.splice,Rn=Zt?Zt.toStringTag:void 0,Fn=function(){try{var W=Ki(Object,"defineProperty");return W({},"",{}),W}catch{}}(),zr=Ie?Ie.isBuffer:void 0,Pn=Math.max,Ti=Date.now,Vn=Ki(at,"Map"),kn=Ki(Object,"create"),Ri=function(){function W(){}return function(ne){if(!br(ne))return{};if(At)return At(ne);W.prototype=ne;var be=new W;return W.prototype=void 0,be}}();function Er(W){var ne=-1,be=W==null?0:W.length;for(this.clear();++ne<be;){var ct=W[ne];this.set(ct[0],ct[1])}}function Wo(){this.__data__=kn?kn(null):{},this.size=0}function Ss(W){var ne=this.has(W)&&delete this.__data__[W];return this.size-=ne?1:0,ne}function ws(W){var ne=this.__data__;if(kn){var be=ne[W];return be===i?void 0:be}return yn.call(ne,W)?ne[W]:void 0}function Go(W){var ne=this.__data__;return kn?ne[W]!==void 0:yn.call(ne,W)}function Yo(W,ne){var be=this.__data__;return this.size+=this.has(W)?0:1,be[W]=kn&&ne===void 0?i:ne,this}Er.prototype.clear=Wo,Er.prototype.delete=Ss,Er.prototype.get=ws,Er.prototype.has=Go,Er.prototype.set=Yo;function xr(W){var ne=-1,be=W==null?0:W.length;for(this.clear();++ne<be;){var ct=W[ne];this.set(ct[0],ct[1])}}function Yi(){this.__data__=[],this.size=0}function Ja(W){var ne=this.__data__,be=La(ne,W);if(be<0)return!1;var ct=ne.length-1;return be==ct?ne.pop():en.call(ne,be,1),--this.size,!0}function qi(W){var ne=this.__data__,be=La(ne,W);return be<0?void 0:ne[be][1]}function X(W){return La(this.__data__,W)>-1}function Ve(W,ne){var be=this.__data__,ct=La(be,W);return ct<0?(++this.size,be.push([W,ne])):be[ct][1]=ne,this}xr.prototype.
`+i+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!s}if(this.isSpeedy){var l=kZ(o);try{l.insertRule(i,l.cssRules.length)}catch(p){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear){/.test(i)||console.error('There was a problem inserting the following rule: "'+i+'"',p)}}else o.appendChild(document.createTextNode(i));this.ctr++},t.flush=function(){this.tags.forEach(function(i){return i.parentNode&&i.parentNode.removeChild(i)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},e}(),Za="-ms-",MS="-moz-",or="-webkit-",f8="comm",d8="rule",p8="decl",OZ="@import",VD="@keyframes",MZ=Math.abs,_3=String.fromCharCode,PZ=Object.assign;function IZ(e,t){return(((t<<2^Fo(e,0))<<2^Fo(e,1))<<2^Fo(e,2))<<2^Fo(e,3)}function HD(e){return e.trim()}function DZ(e,t){return(e=t.exec(e))?e[0]:e}function fr(e,t,n){return e.replace(t,n)}function yE(e,t){return e.indexOf(t)}function Fo(e,t){return e.charCodeAt(t)|0}function ub(e,t,n){return e.slice(t,n)}function Ou(e){return e.length}function m8(e){return e.length}function v5(e,t){return t.push(e),e}function $Z(e,t){return e.map(t).join("")}var T3=1,jv=1,WD=0,Vo=0,Ni=0,e0="";function R3(e,t,n,i,o,s,l){return{value:e,root:t,parent:n,type:i,props:o,children:s,line:T3,column:jv,length:l,return:""}}function Eg(e,t){return PZ(R3("",null,null,"",null,null,0),e,{length:-e.length},t)}function FZ(){return Ni}function zZ(){return Ni=Vo>0?Fo(e0,--Vo):0,jv--,Ni===10&&(jv=1,T3--),Ni}function gs(){return Ni=Vo<WD?Fo(e0,Vo++):0,jv++,Ni===10&&(jv=1,T3++),Ni}function Fu(){return Fo(e0,Vo)}function oS(){return Vo}function Ib(e,t){return ub(e0,e,t)}function cb(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function GD(e){return T3=jv=1,WD=Ou(e0=e),Vo=0,[]}function YD(e){return e0="",e}function sS(e){return HD(Ib(Vo-1,xE(e===91?e+2:e===40?e+1:e)))}function BZ(e){for(;(Ni=Fu())&&Ni<33;)gs();return cb(e)>2||cb(Ni)>3?"":" "}function UZ(e,t){for(;--t&&gs()&&!(Ni<48||Ni>102||Ni>57&&Ni<65||Ni>70&&Ni<97););return Ib(e,oS()+(t<6&&Fu()==32&&gs()==32))}function xE(e){for(;gs();)switch(Ni){case e:return Vo;case 34:case 39:e!==34&&e!==39&&xE(Ni);break;case 40:e===41&&xE(e);break;case 92:gs();break}return Vo}function jZ(e,t){for(;gs()&&e+Ni!==47+10;)if(e+Ni===42+42&&Fu()===47)break;return"/*"+Ib(t,Vo-1)+"*"+_3(e===47?e:gs())}function VZ(e){for(;!cb(Fu());)gs();return Ib(e,Vo)}function HZ(e){return YD(lS("",null,null,null,[""],e=GD(e),0,[0],e))}function lS(e,t,n,i,o,s,l,p,m){for(var v=0,g=0,b=l,w=0,C=0,T=0,R=1,L=1,D=1,P=0,I="",F=o,z=s,q=i,Y=I;L;)switch(T=P,P=gs()){case 40:if(T!=108&&Y.charCodeAt(b-1)==58){yE(Y+=fr(sS(P),"&","&\f"),"&\f")!=-1&&(D=-1);break}case 34:case 39:case 91:Y+=sS(P);break;case 9:case 10:case 13:case 32:Y+=BZ(T);break;case 92:Y+=UZ(oS()-1,7);continue;case 47:switch(Fu()){case 42:case 47:v5(WZ(jZ(gs(),oS()),t,n),m);break;default:Y+="/"}break;case 123*R:p[v++]=Ou(Y)*D;case 125*R:case 59:case 0:switch(P){case 0:case 125:L=0;case 59+g:C>0&&Ou(Y)-b&&v5(C>32?PL(Y+";",i,n,b-1):PL(fr(Y," ","")+";",i,n,b-2),m);break;case 59:Y+=";";default:if(v5(q=ML(Y,t,n,v,g,o,p,I,F=[],z=[],b),s),P===123)if(g===0)lS(Y,t,q,q,F,s,b,p,z);else switch(w){case 100:case 109:case 115:lS(e,q,q,i&&v5(ML(e,q,q,0,0,o,p,I,o,F=[],b),z),o,z,b,p,i?F:z);break;default:lS(Y,q,q,q,[""],z,0,p,z)}}v=g=C=0,R=D=1,I=Y="",b=l;break;case 58:b=1+Ou(Y),C=T;default:if(R<1){if(P==123)--R;else if(P==125&&R++==0&&zZ()==125)continue}switch(Y+=_3(P),P*R){case 38:D=g>0?1:(Y+="\f",-1);break;case 44:p[v++]=(Ou(Y)-1)*D,D=1;break;case 64:Fu()===45&&(Y+=sS(gs())),w=Fu(),g=b=Ou(I=Y+=VZ(oS())),P++;break;case 45:T===45&&Ou(Y)==2&&(R=0)}}return s}function ML(e,t,n,i,o,s,l,p,m,v,g){f
If multiple caches share the same key they might "fight" for each other's style elements.`);if(n==="css"){var i=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(i,function(R){var L=R.getAttribute("data-emotion");L.indexOf(" ")!==-1&&(document.head.appendChild(R),R.setAttribute("data-s",""))})}var o=t.stylisPlugins||aK;if(/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var s={},l,p=[];l=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(R){for(var L=R.getAttribute("data-emotion").split(" "),D=1;D<L.length;D++)s[L[D]]=!0;p.push(R)});var m,v=[QZ,JZ];v.push(nK({get compat(){return T.compat}}),iK);{var g,b=[GZ,function(R){R.root||(R.return?g.insert(R.return):R.value&&R.type!==f8&&g.insert(R.value+"{}"))}],w=YZ(v.concat(o,b)),C=function(L){return Ov(HZ(L),w)};m=function(L,D,P,I){g=P,D.map!==void 0&&(g={insert:function(z){P.insert(z+D.map)}}),C(L?L+"{"+D.styles+"}":D.styles),I&&(T.inserted[D.name]=!0)}}var T={key:n,sheet:new LZ({key:n,container:l,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:m};return T.sheet.hydrate(p),T};function hr(){return hr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},hr.apply(this,arguments)}var k3={exports:{}},pr={};/** @license React v16.13.1
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,i=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,s=e?Symbol.for("react.profiler"):60114,l=e?Symbol.for("react.provider"):60109,p=e?Symbol.for("react.context"):60110,m=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,g=e?Symbol.for("react.forward_ref"):60112,b=e?Symbol.for("react.suspense"):60113,w=e?Symbol.for("react.suspense_list"):60120,C=e?Symbol.for("react.memo"):60115,T=e?Symbol.for("react.lazy"):60116,R=e?Symbol.for("react.block"):60121,L=e?Symbol.for("react.fundamental"):60117,D=e?Symbol.for("react.responder"):60118,P=e?Symbol.for("react.scope"):60119;function I(We){return typeof We=="string"||typeof We=="function"||We===i||We===v||We===s||We===o||We===b||We===w||typeof We=="object"&&We!==null&&(We.$$typeof===T||We.$$typeof===C||We.$$typeof===l||We.$$typeof===p||We.$$typeof===g||We.$$typeof===L||We.$$typeof===D||We.$$typeof===P||We.$$typeof===R)}function F(We){if(typeof We=="object"&&We!==null){var Vt=We.$$typeof;switch(Vt){case t:var Ce=We.type;switch(Ce){case m:case v:case i:case s:case o:case b:return Ce;default:var nt=Ce&&Ce.$$typeof;switch(nt){case p:case g:case T:case C:case l:return nt;default:return Vt}}case n:return Vt}}}var z=m,q=v,Y=p,Q=l,ie=t,ae=g,me=i,ze=T,te=C,ee=n,we=s,ye=o,K=b,le=!1;function ge(We){return le||(le=!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.")),pe(We)||F(We)===m}function pe(We){return F(We)===v}function Ee(We){return F(We)===p}function Oe(We){return F(We)===l}function Pe(We){return typeof We=="object"&&We!==null&&We.$$typeof===t}function Xe(We){return F(We)===g}function et(We){return F(We)===i}function at(We){return F(We)===T}function kt(We){return F(We)===C}function He(We){return F(We)===n}function ot(We){return F(We)===s}function wt(We){return F(We)===o}function It(We){return F(We)===b}pr.AsyncMode=z,pr.ConcurrentMode=q,pr.ContextConsumer=Y,pr.ContextProvider=Q,pr.Element=ie,pr.ForwardRef=ae,pr.Fragment=me,pr.Lazy=ze,pr.Memo=te,pr.Portal=ee,pr.Profiler=we,pr.StrictMode=ye,pr.Suspense=K,pr.isAsyncMode=ge,pr.isConcurrentMode=pe,pr.isContextConsumer=Ee,pr.isContextProvider=Oe,pr.isElement=Pe,pr.isForwardRef=Xe,pr.isFragment=et,pr.isLazy=at,pr.isMemo=kt,pr.isPortal=He,pr.isProfiler=ot,pr.isStrictMode=wt,pr.isSuspense=It,pr.isValidElementType=I,pr.typeOf=F})();(function(e){e.exports=pr})(k3);var XD=k3.exports,sK={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},lK={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},QD={};QD[XD.ForwardRef]=sK;QD[XD.Memo]=lK;var uK=!0;function h8(e,t,n){var i="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):i+=o+" "}),i}var A3=function(t,n,i){var o=t.key+"-"+n.name;(i===!1||uK===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},L3=function(t,n,i){A3(t,n,i);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var s=n;do t.insert(n===s?"."+o:"",s,t.sheet,!0),s=s.next;while(s!==void 0)}};function cK(e){for(var t=0,n,i=0,o=e.length;o>=4;++i,o-=4)n=e.charCodeAt(i)&255|(e.charCodeAt(++i)&255)<<8|(e.charCodeAt(++i)&255)<<16|(e.charCodeAt(++i)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(i+2)&255)<<16;case 2:t^=(e.charCodeAt(i+1)&255)<<8;case 1:t^=e.charCodeAt(i)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var fK={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,dK="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",pK=/[A-Z]|^ms/g,JD=/_EMO_([^_]+?)_([^]*?)_EMO_/g,v8=function(t){return t.charCodeAt(1)===45},zL=function(t){return t!=null&&typeof t!="boolean"},G6=ZD(function(e){return v8(e)?e:e.replace(pK,"-$&").toLowerCase()}),PS=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(JD,function(i,o,s){return Mu={name:o,styles:s,next:Mu},o})}return fK[t]!==1&&!v8(t)&&typeof n=="number"&&n!==0?n+"px":n};{var mK=/(var|attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,hK=["normal","none","initial","inherit","unset"],vK=PS,gK=/^-ms-/,bK=/-(.)/g,BL={};PS=function(t,n){if(t==="content"&&(typeof n!="string"||hK.indexOf(n)===-1&&!mK.test(n)&&(n.charAt(0)!==n.charAt(n.length-1)||n.charAt(0)!=='"'&&n.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+n+"\"'`");var i=vK(t,n);return i!==""&&!v8(t)&&t.indexOf("-")!==-1&&BL[t]===void 0&&(BL[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(gK,"ms-").replace(bK,function(o,s){return s.toUpperCase()})+"?")),i}}var e$="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function fb(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(e$);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return Mu={name:n.name,styles:n.styles,next:Mu},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)Mu={name:i.name,styles:i.styles,next:Mu},i=i.next;var o=n.styles+";";return n.map!==void 0&&(o+=n.map),o}return yK(e,t,n)}case"function":{if(e!==void 0){var s=Mu,l=n(e);return Mu=s,fb(e,t,l)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":{var p=[],m=n.replace(JD,function(g,b,w){var C="animation"+p.length;return p.push("const "+C+" = keyframes`"+w.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+C+"}"});p.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(p,["`"+m+"`"]).join(`
`)+`
You should wrap it with \`css\` like this:
`+("css`"+m+"`"))}break}if(t==null)return n;var v=t[n];return v!==void 0?v:n}function yK(e,t,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=fb(e,t,n[o])+";";else for(var s in n){var l=n[s];if(typeof l!="object")t!=null&&t[l]!==void 0?i+=s+"{"+t[l]+"}":zL(l)&&(i+=G6(s)+":"+PS(s,l)+";");else{if(s==="NO_COMPONENT_SELECTOR")throw new Error(e$);if(Array.isArray(l)&&typeof l[0]=="string"&&(t==null||t[l[0]]===void 0))for(var p=0;p<l.length;p++)zL(l[p])&&(i+=G6(s)+":"+PS(s,l[p])+";");else{var m=fb(e,t,l);switch(s){case"animation":case"animationName":{i+=G6(s)+":"+m+";";break}default:s==="undefined"&&console.error(dK),i+=s+"{"+m+"}"}}}}return i}var UL=/label:\s*([^\s;\n{]+)\s*(;|$)/g,t$;t$=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;var Mu,Vv=function(t,n,i){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,s="";Mu=void 0;var l=t[0];l==null||l.raw===void 0?(o=!1,s+=fb(i,n,l)):(l[0]===void 0&&console.error(FL),s+=l[0]);for(var p=1;p<t.length;p++)s+=fb(i,n,t[p]),o&&(l[p]===void 0&&console.error(FL),s+=l[p]);var m;s=s.replace(t$,function(w){return m=w,""}),UL.lastIndex=0;for(var v="",g;(g=UL.exec(s))!==null;)v+="-"+g[1];var b=cK(s)+v;return{name:b,styles:s,map:m,next:Mu,toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}}},xK=function(t){return t()},n$=uE["useInsertionEffect"]?uE["useInsertionEffect"]:!1,g8=n$||xK,jL=n$||E.exports.useLayoutEffect,SK={}.hasOwnProperty,b8=E.exports.createContext(typeof HTMLElement<"u"?oK({key:"css"}):null);b8.displayName="EmotionCacheContext";b8.Provider;var O3=function(t){return E.exports.forwardRef(function(n,i){var o=E.exports.useContext(b8);return t(n,o,i)})},Nd=E.exports.createContext({});Nd.displayName="EmotionThemeContext";var wK=function(t,n){if(typeof n=="function"){var i=n(t);if(i==null||typeof i!="object"||Array.isArray(i))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return i}if(n==null||typeof n!="object"||Array.isArray(n))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return hr({},t,n)},CK=IL(function(e){return IL(function(t){return wK(e,t)})}),NK=function(t){var n=E.exports.useContext(Nd);return t.theme!==n&&(n=CK(n)(t.theme)),E.exports.createElement(Nd.Provider,{value:n},t.children)},VL="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",HL="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",EK=function(t){var n=t.cache,i=t.serialized,o=t.isStringTag;return A3(n,i,o),g8(function(){return L3(n,i,o)}),null},_K=O3(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var o=e[VL],s=[i],l="";typeof e.className=="string"?l=h8(t.registered,s,e.className):e.className!=null&&(l=e.className+" ");var p=Vv(s,void 0,E.exports.useContext(Nd));if(p.name.indexOf("-")===-1){var m=e[HL];m&&(p=Vv([p,"label:"+m+";"]))}l+=t.key+"-"+p.name;var v={};for(var g in e)SK.call(e,g)&&g!=="css"&&g!==VL&&g!==HL&&(v[g]=e[g]);return v.ref=n,v.className=l,E.exports.createElement(E.exports.Fragment,null,E.exports.createElement(EK,{cache:t,serialized:p,isStringTag:typeof o=="string"}),E.exports.createElement(o,v))});_K.displayName="EmotionCssPropInternal";var TK={name:"@emotion/react",version:"11.10.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{
Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';".
You can read more about this here:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,NX=function(t){var n=t.cache,i=t.serialized,o=t.isStringTag;return A3(n,i,o),g8(function(){return L3(n,i,o)}),null},EX=function e(t,n){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
You may have forgotten to import it.`);var i=t.__emotion_real===t,o=i&&t.__emotion_base||t,s,l;n!==void 0&&(s=n.label,l=n.target);var p=KL(t,n,i),m=p||ZL(o),v=!m("as");return function(){var g=arguments,b=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(s!==void 0&&b.push("label:"+s+";"),g[0]==null||g[0].raw===void 0)b.push.apply(b,g);else{g[0][0]===void 0&&console.error(XL),b.push(g[0][0]);for(var w=g.length,C=1;C<w;C++)g[0][C]===void 0&&console.error(XL),b.push(g[C],g[0][C])}var T=O3(function(R,L,D){var P=v&&R.as||o,I="",F=[],z=R;if(R.theme==null){z={};for(var q in R)z[q]=R[q];z.theme=E.exports.useContext(Nd)}typeof R.className=="string"?I=h8(L.registered,F,R.className):R.className!=null&&(I=R.className+" ");var Y=Vv(b.concat(F),L.registered,z);I+=L.key+"-"+Y.name,l!==void 0&&(I+=" "+l);var Q=v&&p===void 0?ZL(P):m,ie={};for(var ae in R)v&&ae==="as"||Q(ae)&&(ie[ae]=R[ae]);return ie.className=I,ie.ref=D,E.exports.createElement(E.exports.Fragment,null,E.exports.createElement(NX,{cache:L,serialized:Y,isStringTag:typeof P=="string"}),E.exports.createElement(P,ie))});return T.displayName=s!==void 0?s:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",T.defaultProps=t.defaultProps,T.__emotion_real=T,T.__emotion_base=o,T.__emotion_styles=b,T.__emotion_forwardProp=p,Object.defineProperty(T,"toString",{value:function(){return l===void 0?"NO_COMPONENT_SELECTOR":"."+l}}),T.withComponent=function(R,L){return e(R,hr({},n,L,{shouldForwardProp:KL(T,L,!0)})).apply(void 0,b)},T}},_X=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],SE=EX.bind();_X.forEach(function(e){SE[e]=SE(e)});var TX=typeof Element<"u",RX=typeof Map=="function",kX=typeof Set=="function",AX=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function uS(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,i,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(i=n;i--!==0;)if(!uS(e[i],t[i]))return!1;return!0}var s;if(RX&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(i=s.next()).done;)if(!t.has(i.value[0]))return!1;for(s=e.entries();!(i=s.next()).done;)if(!uS(i.value[1],t.get(i.value[0])))return!1;return!0}if(kX&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(i=s.next()).done;)if(!t.has(i.value[0]))return!1;return!0}if(AX&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(i=n;i--!==0;)if(e[i]!==t[i])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[i]))return!1;if(TX&&e instanceof Element)return!1;for(i=n;i--!==0;)if(!((o[i]==="_owner"||o[i]==="__v"||o[i]==="__o")&&e.$$typeof)&&!uS(e[o[i]],t[o[i]]))return!1;return!0}return e!==e&&t!==t}var LX=function(t,n){try{return uS(t,n)}catch
[data-motion-pop-id="${n}"] {
position: absolute !important;
width: ${s}px !important;
height: ${l}px !important;
top: ${p}px !important;
left: ${m}px !important;
}
`),()=>{document.head.removeChild(v)}},[t]),N(Ine,{isPresent:t,childRef:i,sizeRef:o,children:E.exports.cloneElement(e,{ref:i})},void 0,!1,{fileName:Pne,lineNumber:68,columnNumber:13},this)}var fM="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs";const i7=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:s,mode:l})=>{const p=F3($ne),m=E.exports.useId(),v=E.exports.useMemo(()=>({id:m,initial:t,isPresent:n,custom:o,onExitComplete:g=>{p.set(g,!0);for(const b of p.values())if(!b)return;i&&i()},register:g=>(p.set(g,!1),()=>p.delete(g))}),s?void 0:[n]);return E.exports.useMemo(()=>{p.forEach((g,b)=>p.set(b,!1))},[n]),E.exports.useEffect(()=>{!n&&!p.size&&i&&i()},[n]),l==="popLayout"&&(e=N(Dne,{isPresent:n,children:e},void 0,!1,{fileName:fM,lineNumber:48,columnNumber:20},globalThis)),N(t0.Provider,{value:v,children:e},void 0,!1,{fileName:fM,lineNumber:50,columnNumber:13},globalThis)};function $ne(){return new Map}var a7="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs";const wv=e=>e.key||"";function Fne(e,t){e.forEach(n=>{const i=wv(n);t.set(i,n)})}function zne(e){const t=[];return E.exports.Children.forEach(e,n=>{E.exports.isValidElement(n)&&t.push(n)}),t}const tf=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:s=!0,mode:l="sync"})=>{o&&(l="wait",z8(!1,"Replace exitBeforeEnter with mode='wait'"));let[p]=Mne();const m=E.exports.useContext(w8).forceRender;m&&(p=m);const v=UF(),g=zne(e);let b=g;const w=new Set,C=E.exports.useRef(b),T=E.exports.useRef(new Map).current,R=E.exports.useRef(!0);if(zS(()=>{R.current=!1,Fne(g,T),C.current=b}),A8(()=>{R.current=!0,T.clear(),w.clear()}),R.current)return N(Gi,{children:b.map(I=>N(i7,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:s,mode:l,children:I},wv(I),!1,{fileName:a7,lineNumber:97,columnNumber:92},globalThis))},void 0,!1);b=[...b];const L=C.current.map(wv),D=g.map(wv),P=L.length;for(let I=0;I<P;I++){const F=L[I];D.indexOf(F)===-1&&w.add(F)}return l==="wait"&&w.size&&(b=[]),w.forEach(I=>{if(D.indexOf(I)!==-1)return;const F=T.get(I);if(!F)return;const z=L.indexOf(I),q=()=>{T.delete(I),w.delete(I);const Y=C.current.findIndex(Q=>Q.key===I);if(C.current.splice(Y,1),!w.size){if(C.current=g,v.current===!1)return;p(),i&&i()}};b.splice(z,0,N(i7,{isPresent:!1,onExitComplete:q,custom:t,presenceAffectsLayout:s,mode:l,children:F},wv(F),!1,{fileName:a7,lineNumber:143,columnNumber:52},globalThis))}),b=b.map(I=>{const F=I.key;return w.has(F)?I:N(i7,{isPresent:!0,presenceAffectsLayout:s,mode:l,children:I},wv(I),!1,{fileName:a7,lineNumber:149,columnNumber:46},globalThis)}),F8!=="production"&&l==="wait"&&b.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`),N(Gi,{children:w.size?b:b.map(I=>E.exports.cloneElement(I))},void 0,!1)};var Gb="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/transition/dist/index.esm.js",Yb=(...e)=>e.filter(Boolean).join(" ");function Bne(){return!0}var Une=e=>{const{condition:t,message:n}=e;t&&Bne()&&console.warn(n)},vm={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},Rg={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function
`})}function ure(e){G3({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function YF(e){const{isOpen:t,isDisabled:n}=q8(),{reduceMotion:i}=Z8(),o=qb("chakra-accordion__icon",e.className),s=Y3(),l={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:i?void 0:"transform 0.2s",transformOrigin:"center",...s.icon};return N(h$,{viewBox:"0 0 24 24","aria-hidden":!0,className:o,__css:l,...e,children:N("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"},void 0,!1,{fileName:WE,lineNumber:282,columnNumber:22},this)},void 0,!1,{fileName:WE,lineNumber:276,columnNumber:26},this)}YF.displayName="AccordionIcon";var qF=qe(function(t,n){const{children:i,className:o}=t,{htmlProps:s,...l}=are(t),m={...Y3().container,overflowAnchor:"none"},v=E.exports.useMemo(()=>l,[l]);return Ne.createElement(Jne,{value:v},Ne.createElement($e.div,{ref:n,...s,className:qb("chakra-accordion__item",o),__css:m},typeof i=="function"?i({isExpanded:!!l.isOpen,isDisabled:!!l.isDisabled}):i))});qF.displayName="AccordionItem";var ZF=qe(function(t,n){const{reduceMotion:i}=Z8(),{getPanelProps:o,isOpen:s}=q8(),l=o(t,n),p=qb("chakra-accordion__panel",t.className),m=Y3();i||delete l.hidden;const v=Ne.createElement($e.div,{...l,__css:m.panel,className:p});return i?v:N(jF,{in:s,children:v},void 0,!1,{fileName:WE,lineNumber:336,columnNumber:28},this)});ZF.displayName="AccordionPanel";var KF=qe(function({children:t,reduceMotion:n,...i},o){const s=So("Accordion",i),l=gr(i),{htmlProps:p,descendants:m,...v}=rre(l),g=E.exports.useMemo(()=>({...v,reduceMotion:!!n}),[v,n]);return Ne.createElement(ere,{value:m},Ne.createElement(ire,{value:g},Ne.createElement(Qne,{value:s},Ne.createElement($e.div,{ref:o,...p,className:qb("chakra-accordion",i.className),__css:s.root},t))))});KF.displayName="Accordion";var _5="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/alert/node_modules/@chakra-ui/icon/dist/index.esm.js",mM={path:N("g",{stroke:"currentColor",strokeWidth:"1.5",children:[N("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"},void 0,!1,{fileName:_5,lineNumber:14,columnNumber:22},globalThis),N("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"},void 0,!1,{fileName:_5,lineNumber:18,columnNumber:23},globalThis),N("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"},void 0,!1,{fileName:_5,lineNumber:22,columnNumber:23},globalThis)]},void 0,!0,{fileName:_5,lineNumber:11,columnNumber:25},globalThis),viewBox:"0 0 24 24"},q3=qe((e,t)=>{const{as:n,viewBox:i,color:o="currentColor",focusable:s=!1,children:l,className:p,__css:m,...v}=e,g=yr("chakra-icon",p),b={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...m},w={ref:t,focusable:s,className:g,__css:b},C=i??mM.viewBox;if(n&&typeof n!="string")return Ne.createElement($e.svg,{as:n,...w,...v});const T=l??mM.path;return Ne.createElement($e.svg,{verticalAlign:"middle",viewBox:C,...w,...v},T)});q3.displayName="Icon";var cre=(...e)=>e.filter(Boolean).join(" "),fre=$b({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Z3=qe((e,t)=>{const n=xo("Spinner",e),{label:i="Loading...",thickness:o="2px",speed:s="0.45s",emptyColor:l="transparent",className:p,...m}=gr(e),v=cre("chakra-spinner",p),g={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:l,borderLeftColor:l,animation:`${fre} ${s} linear infinite`,...n};return Ne.createElement($e.div,{ref:t,__css:g,className:v,...m},i&&Ne.createElement($e.span,{srOnly:!0},i))});Z3.displayName="Spinner";var Cm="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/alert/dist/index.esm.js",K3=(...e)=>e.filter(Boolean).join(" ");function dre(e){return N(q3,{viewBox:"0 0 24 24",...e,children:N("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,se),"default"in se||K(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,se),se.default}else throw S._result}function Ve(S){var O={_status:xr,_result:S},V={$$typeof:T,_payload:O,_init:X};{var G,se;Object.defineProperties(V,{defaultProps:{configurable:!0,get:function(){return G},set:function(Ue){K("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),G=Ue,Object.defineProperty(V,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return se},set:function(Ue){K("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),se=Ue,Object.defineProperty(V,"propTypes",{enumerable:!0})}}})}return V}function Qe(S){S!=null&&S.$$typeof===C?K("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof S!="function"?K("forwardRef requires a render function but was given %s.",S===null?"null":typeof S):S.length!==0&&S.length!==2&&K("forwardRef render functions accept exactly two parameters: props and ref. %s",S.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),S!=null&&(S.defaultProps!=null||S.propTypes!=null)&&K("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var O={$$typeof:g,render:S};{var V;Object.defineProperty(O,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function(G){V=G,!S.name&&!S.displayName&&(S.displayName=G)}})}return O}var _t;_t=Symbol.for("react.module.reference");function un(S){return!!(typeof S=="string"||typeof S=="function"||S===s||S===p||ee||S===l||S===b||S===w||te||S===R||ae||me||ze||typeof S=="object"&&S!==null&&(S.$$typeof===T||S.$$typeof===C||S.$$typeof===m||S.$$typeof===v||S.$$typeof===g||S.$$typeof===_t||S.getModuleId!==void 0))}function Cn(S,O){un(S)||K("memo: The first argument must be a component. Instead received: %s",S===null?"null":typeof S);var V={$$typeof:C,type:S,compare:O===void 0?null:O};{var G;Object.defineProperty(V,"displayName",{enumerable:!1,configurable:!0,get:function(){return G},set:function(se){G=se,!S.name&&!S.displayName&&(S.displayName=se)}})}return V}function st(){var S=I.current;return S===null&&K(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),S}function Kt(S){var O=st();if(S._context!==void 0){var V=S._context;V.Consumer===S?K("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):V.Provider===S&&K("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return O.useContext(S)}function Hn(S){var O=st();return O.useState(S)}function Un(S,O,V){var G=st();return G.useReducer(S,O,V)}function fn(S){var O=st();return O.useRef(S)}function Kr(S,O){var V=st();return V.useEffect(S,O)}function Aa(S,O){var V=st();return V.useInsertionEffect(S,O)}function qo(S,O){var V=st();return V.useLayoutEffect(S,O)}function ki(S,O){var V=st();return V.useCallback(S,O)}function wo(S,O){var V=st();return V.useMemo(S,O)}function Xu(S,O,V){var G=st();return G.useImperativeHandle(S,O,V)}function La(S,O){{var V=st();return V.useDebugValue(S,O)}}function cl(){var S=st();return S.useTransition()}function eo(S){var O=st();return O.useDeferredValue(S)}function tn(){var S=st();return S.useId()}function to(S,O,V){var G=st();return G.useSyncExternalStore(S,O,V)}var Ai=0,Zo,Cs,Ko,Ns,Es,Xo,Qo;function _s(){}_s.__reactDisabledLog=!0;function fl(){{if(Ai===0){Zo=console.log,Cs=console.info,Ko=console.warn,Ns=console.error,Es=console.group,Xo=console.groupCollapsed,Qo=console.groupEnd;var S={configurable:!0,enumerable:!0,value:_s,writable:!0};Object.defineProperties(console,{info:S,log:S,warn:S,error:S,group:S,groupCollapsed:S,groupEnd:S})}Ai++}}function dl(){{if(Ai--,Ai===0){var S={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Oe({},S,{value:Zo}),info:Oe({},S,{value:Cs}),warn:Oe({},S,{value:Ko}),error:Oe({},S,{value:Ns}),group:Oe({},S,{value:Es}),groupCollapsed:Oe({},S,{value:Xo}),groupEnd:Oe({},S,{value:Qo})})}Ai<0&&K("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Oa=we.ReactCurrentDispatcher,Gr;function Zi(S,O,V){{if(Gr===void 0)try{throw Error()}catch(se){var G=se.stack.trim().match(/\n( *(at )?)/);Gr=G&&G[1]||""}return`
`+Gr+S}}var Li=!1,Ki;{var Ts=typeof WeakMap=="function"?WeakMap:Map;Ki=new Ts}function Jo(S,O){if(!S||Li)return"";{var V=Ki.get(S);if(V!==void 0)return V}var G;Li=!0;var se=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ue;Ue=Oa.current,Oa.current=null,fl();try{if(O){var Te=function(){throw Error()};if(Object.defineProperty(Te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Te,[])}catch(jt){G=jt}Reflect.construct(S,[],Te)}else{try{Te.call()}catch(jt){G=jt}S.call(Te.prototype)}}else{try{throw Error()}catch(jt){G=jt}S()}}catch(jt){if(jt&&G&&typeof jt.stack=="string"){for(var Ye=jt.stack.split(`
`),ft=G.stack.split(`
`),Nt=Ye.length-1,$t=ft.length-1;Nt>=1&&$t>=0&&Ye[Nt]!==ft[$t];)$t--;for(;Nt>=1&&$t>=0;Nt--,$t--)if(Ye[Nt]!==ft[$t]){if(Nt!==1||$t!==1)do if(Nt--,$t--,$t<0||Ye[Nt]!==ft[$t]){var xt=`
`+Ye[Nt].replace(" at new "," at ");return S.displayName&&xt.includes("<anonymous>")&&(xt=xt.replace("<anonymous>",S.displayName)),typeof S=="function"&&Ki.set(S,xt),xt}while(Nt>=1&&$t>=0);break}}}finally{Li=!1,Oa.current=Ue,dl(),Error.prepareStackTrace=se}var Gt=S?S.displayName||S.name:"",Lt=Gt?Zi(Gt):"";return typeof S=="function"&&Ki.set(S,Lt),Lt}function Rs(S,O,V){return Jo(S,!1)}function Jl(S){var O=S.prototype;return!!(O&&O.isReactComponent)}function Oi(S,O,V){if(S==null)return"";if(typeof S=="function")return Jo(S,Jl(S));if(typeof S=="string")return Zi(S);switch(S){case b:return Zi("Suspense");case w:return Zi("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case g:return Rs(S.render);case C:return Oi(S.type,O,V);case T:{var G=S,se=G._payload,Ue=G._init;try{return Oi(Ue(se),O,V)}catch{}}}return""}var es={},Xi=we.ReactDebugCurrentFrame;function Ma(S){if(S){var O=S._owner,V=Oi(S.type,S._source,O?O.type:null);Xi.setExtraStackFrame(V)}else Xi.setExtraStackFrame(null)}function pl(S,O,V,G,se){{var Ue=Function.call.bind(ln);for(var Te in S)if(Ue(S,Te)){var Ye=void 0;try{if(typeof S[Te]!="function"){var ft=Error((G||"React class")+": "+V+" type `"+Te+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof S[Te]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ft.name="Invariant Violation",ft}Ye=S[Te](O,Te,G,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Nt){Ye=Nt}Ye&&!(Ye instanceof Error)&&(Ma(se),K("%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).",G||"React class",V,Te,typeof Ye),Ma(null)),Ye instanceof Error&&!(Ye.message in es)&&(es[Ye.message]=!0,Ma(se),K("Failed %s type: %s",V,Ye.message),Ma(null))}}}function dn(S){if(S){var O=S._owner,V=Oi(S.type,S._source,O?O.type:null);ie(V)}else ie(null)}var Pa;Pa=!1;function ts(){if(q.current){var S=Tt(q.current.type);if(S)return`
Check the render method of \``+S+"`."}return""}function Wt(S){if(S!==void 0){var O=S.fileName.replace(/^.*[\\\/]/,""),V=S.lineNumber;return`
Check your code at `+O+":"+V+"."}return""}function ml(S){return S!=null?Wt(S.__source):""}var _r={};function no(S){var O=ts();if(!O){var V=typeof S=="string"?S:S.displayName||S.name;V&&(O=`
Check the top-level render call using <`+V+">.")}return O}function oa(S,O){if(!(!S._store||S._store.validated||S.key!=null)){S._store.validated=!0;var V=no(O);if(!_r[V]){_r[V]=!0;var G="";S&&S._owner&&S._owner!==q.current&&(G=" It was passed a child from "+Tt(S._owner.type)+"."),dn(S),K('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,G),dn(null)}}}function Co(S,O){if(typeof S=="object"){if(Vt(S))for(var V=0;V<S.length;V++){var G=S[V];en(G)&&oa(G,O)}else if(en(S))S._store&&(S._store.validated=!0);else if(S){var se=P(S);if(typeof se=="function"&&se!==S.entries)for(var Ue=se.call(S),Te;!(Te=Ue.next()).done;)en(Te.value)&&oa(Te.value,O)}}}function Pr(S){{var O=S.type;if(O==null||typeof O=="string")return;var V;if(typeof O=="function")V=O.propTypes;else if(typeof O=="object"&&(O.$$typeof===g||O.$$typeof===C))V=O.propTypes;else return;if(V){var G=Tt(O);pl(V,S.props,"prop",G,S)}else if(O.PropTypes!==void 0&&!Pa){Pa=!0;var se=Tt(O);K("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",se||"Unknown")}typeof O.getDefaultProps=="function"&&!O.getDefaultProps.isReactClassApproved&&K("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function lr(S){{for(var O=Object.keys(S.props),V=0;V<O.length;V++){var G=O[V];if(G!=="children"&&G!=="key"){dn(S),K("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",G),dn(null);break}}S.ref!==null&&(dn(S),K("Invalid attribute `ref` supplied to `React.Fragment`."),dn(null))}}function ns(S,O,V){var G=un(S);if(!G){var se="";(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(se+=" 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 Ue=ml(O);Ue?se+=Ue:se+=ts();var Te;S===null?Te="null":Vt(S)?Te="array":S!==void 0&&S.$$typeof===i?(Te="<"+(Tt(S.type)||"Unknown")+" />",se=" Did you accidentally export a JSX literal instead of a component?"):Te=typeof S,K("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Te,se)}var Ye=ut.apply(this,arguments);if(Ye==null)return Ye;if(G)for(var ft=2;ft<arguments.length;ft++)Co(arguments[ft],S);return S===s?lr(Ye):Pr(Ye),Ye}var ri=!1;function br(S){var O=ns.bind(null,S);return O.type=S,ri||(ri=!0,ye("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(O,"type",{enumerable:!1,get:function(){return ye("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:S}),S}}),O}function di(S,O,V){for(var G=gn.apply(this,arguments),se=2;se<arguments.length;se++)Co(arguments[se],G.type);return Pr(G),G}function Qu(S,O){var V=F.transition;F.transition={};var G=F.transition;F.transition._updatedFibers=new Set;try{S()}finally{if(F.transition=V,V===null&&G._updatedFibers){var se=G._updatedFibers.size;se>10&&ye("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),G._updatedFibers.clear()}}}var No=!1,Ia=null;function hl(S){if(Ia===null)try{var O=("require"+Math.random()).slice(0,7),V=t&&t[O];Ia=V.call(t,"timers").setImmediate}catch{Ia=function(se){No===!1&&(No=!0,typeof MessageChannel>"u"&&K("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var Ue=new MessageChannel;Ue.port1.onmessage=se,Ue.port2.postMessage(void 0)}}return Ia(S)}var bn=0,zn=!1;function eu(S){{var O=bn;bn++,z.current===null&&(z.current=[]);var V=z.isBatchingLegacy,G;try{if(z
* @license React
* react.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*//**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var bd="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/button/dist/index.esm.js",J3=(...e)=>e.filter(Boolean).join(" "),gM=e=>e?"":void 0,[Lre,Ore]=Or({strict:!1,name:"ButtonGroupContext"});function GE(e){const{children:t,className:n,...i}=e,o=E.exports.isValidElement(t)?E.exports.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,s=J3("chakra-button__icon",n);return Ne.createElement($e.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...i,className:s},o)}GE.displayName="ButtonIcon";function YE(e){const{label:t,placement:n,spacing:i="0.5rem",children:o=N(Z3,{color:"currentColor",width:"1em",height:"1em"},void 0,!1,{fileName:bd,lineNumber:56,columnNumber:32},this),className:s,__css:l,...p}=e,m=J3("chakra-button__spinner",s),v=n==="start"?"marginEnd":"marginStart",g=E.exports.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[v]:t?i:0,fontSize:"1em",lineHeight:"normal",...l}),[l,t,v,i]);return Ne.createElement($e.div,{className:m,...p,__css:g},o)}YE.displayName="ButtonSpinner";function Mre(e){const[t,n]=E.exports.useState(!e);return{ref:E.exports.useCallback(s=>{!s||n(s.tagName==="BUTTON")},[]),type:t?"button":void 0}}var Wu=qe((e,t)=>{const n=Ore(),i=xo("Button",{...n,...e}),{isDisabled:o=n?.isDisabled,isLoading:s,isActive:l,children:p,leftIcon:m,rightIcon:v,loadingText:g,iconSpacing:b="0.5rem",type:w,spinner:C,spinnerPlacement:T="start",className:R,as:L,...D}=gr(e),P=E.exports.useMemo(()=>{const q={...i?._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...i,...!!n&&{_focus:q}}},[i,n]),{ref:I,type:F}=Mre(L),z={rightIcon:v,leftIcon:m,iconSpacing:b,children:p};return Ne.createElement($e.button,{disabled:o||s,ref:WX(t,I),as:L,type:w??F,"data-active":gM(l),"data-loading":gM(s),__css:P,className:J3("chakra-button",R),...D},s&&T==="start"&&N(YE,{className:"chakra-button__spinner--start",label:g,placement:"start",spacing:b,children:C},void 0,!1,{fileName:bd,lineNumber:145,columnNumber:67},globalThis),s?g||Ne.createElement($e.span,{opacity:0},N(bM,{...z},void 0,!1,{fileName:bd,lineNumber:152,columnNumber:22},globalThis)):N(bM,{...z},void 0,!1,{fileName:bd,lineNumber:154,columnNumber:25},globalThis),s&&T==="end"&&N(YE,{className:"chakra-button__spinner--end",label:g,placement:"end",spacing:b,children:C},void 0,!1,{fileName:bd,lineNumber:156,columnNumber:66},globalThis))});Wu.displayName="Button";function bM(e){const{leftIcon:t,rightIcon:n,children:i,iconSpacing:o}=e;return N(Gi,{children:[t&&N(GE,{marginEnd:o,children:t},void 0,!1,{fileName:bd,lineNumber:166,columnNumber:96},this),i,n&&N(GE,{marginStart:o,children:n},void 0,!1,{fileName:bd,lineNumber:168,columnNumber:56},this)]},void 0,!0)}var Pre=qe(function(t,n){const{size:i,colorScheme:o,variant:s,className:l,spacing:p="0.5rem",isAttached:m,isDisabled:v,...g}=t,b=J3("chakra-button__group",l),w=E.exports.useMemo(()=>({size:i,colorScheme:o,variant:s,isDisabled:v}),[i,o,s,v]);let C={display:"inline-flex"};return m?C={...C,"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}}:C={...C,"& > *:not(style) ~ *:not(style)":{marginStart:p}},Ne.createElement(Lre,{value:w},Ne.createElement($e.div,{ref:n,role:"group",__css:C,className:b,"data-attached":m?"":void 0,...g}))});Pre.displayName="ButtonGroup";var Ra=qe((e,t)=>{const{icon:n,children:i,isRound:o,"aria-label":s,...l}=e,p=n||i,m=E.exports.isValidElement(p)?E.exports.cloneElement(p,{"aria-hidden":!0,focusable:!1}):null;return N(Wu,{padding:"0",borderRadius:o?"full":void 0,ref:t,"aria-label":s,...l,children:m},void 0,!1,{fileName:bd,lineNumber:231,columnNumber:26},globalThis)});Ra.displayName="IconButton";var T5="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/form-control/node_modules/@chakra-ui/icon/dist/index.esm.js",yM={path:
:root {
--chakra-vh: 100vh;
}
@supports (height: -webkit-fill-available) {
:root {
--chakra-vh: -webkit-fill-available;
}
}
@supports (height: -moz-fill-available) {
:root {
--chakra-vh: -moz-fill-available;
}
}
@supports (height: 100lvh) {
:root {
--chakra-vh: 100lvh;
}
}
`,pie=()=>N(Db,{styles:mz},void 0,!1,{fileName:pz,lineNumber:29,columnNumber:41},globalThis),mie=()=>N(Db,{styles:`
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
font-family: system-ui, sans-serif;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
touch-action: manipulation;
}
body {
position: relative;
min-height: 100%;
font-feature-settings: 'kern';
}
*,
*::before,
*::after {
border-width: 0;
border-style: solid;
box-sizing: border-box;
}
main {
display: block;
}
hr {
border-top-width: 1px;
box-sizing: content-box;
height: 0;
overflow: visible;
}
pre,
code,
kbd,
samp {
font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 1em;
}
a {
background-color: transparent;
color: inherit;
text-decoration: inherit;
}
abbr[title] {
border-bottom: none;
text-decoration: underline;
-webkit-text-decoration: underline dotted;
text-decoration: underline dotted;
}
b,
strong {
font-weight: bold;
}
small {
font-size: 80%;
}
sub,
sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline;
}
sub {
bottom: -0.25em;
}
sup {
top: -0.5em;
}
img {
border-style: none;
}
button,
input,
optgroup,
select,
textarea {
font-family: inherit;
font-size: 100%;
line-height: 1.15;
margin: 0;
}
button,
input {
overflow: visible;
}
button,
select {
text-transform: none;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
border-style: none;
padding: 0;
}
fieldset {
padding: 0.35em 0.75em 0.625em;
}
legend {
box-sizing: border-box;
color: inherit;
display: table;
max-width: 100%;
padding: 0;
white-space: normal;
}
progress {
vertical-align: baseline;
}
textarea {
overflow: auto;
}
[type="checkbox"],
[type="radio"] {
box-sizing: border-box;
padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none !important;
}
input[type="number"] {
-moz-appearance: textfield;
}
[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
-webkit-appearance: none !important;
}
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
details {
display: block;
}
summary {
display: list-item;
}
template {
display: none;
}
[hidden] {
display: none !important;
}
body,
blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
margin: 0;
}
button {
background: transparent;
padding: 0;
}
fieldset {
margin: 0;
padding: 0;
}
ol,
ul {
margin: 0;
padding: 0;
}
textarea {
resize: vertical;
}
button,
[role="button"] {
cursor: pointer;
}
button::-moz-focus-inner {
border: 0 !important;
}
table {
border-collapse: collapse;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-size: inherit;
font-weight: inherit;
}
button,
input,
optgroup,
select,
textarea {
padding: 0;
line-height: inherit;
color: inherit;
}
img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
display: block;
}
img,
video {
max-width: 100%;
height: auto;
}
[data-js-focus-visible] :focus:not([data-focus-visible-added]):not([data-focus-visible-disabled]) {
outline: none;
box-shadow: none;
}
select::-ms-expand {
display: none;
}
${mz}
`},void 0,!1,{fileName:pz,lineNumber:32,columnNumber:38},globalThis);function XE(e,t,n,i){const o=Ka(n);return E.exports.useEffect(()=>{const s=typeof e=="function"?e():e??document;if(!(!n||!s))return s.addEventListener(t,o,i),()=>{s.removeEventListener(t,o,i)}},[t,e,i,o,n]),()=>{const s=typeof e=="function"?e():e??document;s?.removeEventListener(t,o,i)}}var hie=zb?E.exports.useLayoutEffect:E.exports.useEffect;function QE(e,t=[]){const n=E.exports.useRef(e);return hie(()=>{n.current=e}),E.exports.useCallback((...i)=>{var o;return(o=n.current)==null?void 0:o.call(n,...i)},t)}function tT(e,t,n,i){const o=QE(t);return E.exports.useEffect(()=>{const s=IS(n)??document;if(!!t)return s.addEventListener(e,o,i),()=>{s.removeEventListener(e,o,i)}},[e,n,i,o,t]),()=>{(IS(n)??document).removeEventListener(e,o,i)}}function vie(e){const{isOpen:t,ref:n}=e,[i,o]=E.exports.useState(t),[s,l]=E.exports.useState(!1);return E.exports.useEffect(()=>{s||(o(t),l(!0))},[t,s,i]),tT("animationend",()=>{o(t)},()=>n.current),{present:!(t?!1:!i),onComplete(){var m;const v=FK(n.current),g=new v.CustomEvent("animationend",{bubbles:!0});(m=n.current)==null||m.dispatchEvent(g)}}}function gie(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function bie(e,t){const n=E.exports.useId();return E.exports.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function QS(e={}){const{onClose:t,onOpen:n,isOpen:i,id:o}=e,s=QE(n),l=QE(t),[p,m]=E.exports.useState(e.defaultIsOpen||!1),[v,g]=gie(i,p),b=bie(o,"disclosure"),w=E.exports.useCallback(()=>{v||m(!1),l?.()},[v,l]),C=E.exports.useCallback(()=>{v||m(!0),s?.()},[v,s]),T=E.exports.useCallback(()=>{(g?w:C)()},[g,C,w]);return{isOpen:!!g,onOpen:C,onClose:w,onToggle:T,isControlled:v,getButtonProps:(R={})=>({...R,"aria-expanded":g,"aria-controls":b,onClick:XK(R.onClick,T)}),getDisclosureProps:(R={})=>({...R,hidden:!g,id:b})}}var hz=(e,t)=>{const n=E.exports.useRef(!1),i=E.exports.useRef(!1);E.exports.useEffect(()=>{if(n.current&&i.current)return e();i.current=!0},t),E.exports.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function yie(e){const t=e.current;if(!t)return!1;const n=UK(t);return!n||x8(t,n)?!1:!!GK(n)}function xie(e,t){const{shouldFocus:n,visible:i,focusRef:o}=t,s=n&&!i;hz(()=>{if(!s||yie(e))return;const l=o?.current||e.current;l&&DS(l,{nextTick:!0})},[s,e,o])}function Sie(e,t,n,i){return tT(vX(t),cX(n,t==="pointerdown"),e,i)}function wie(e){const{ref:t,elements:n,enabled:i}=e,o=bX("Safari");Sie(()=>Fb(t.current),"pointerdown",l=>{if(!o||!i)return;const p=l.target,v=(n??[t]).some(g=>{const b=r$(g)?g.current:g;return x8(b,p)});!l$(p)&&v&&(l.preventDefault(),DS(p))})}var Cie={preventScroll:!0,shouldFocus:!1};function Nie(e,t=Cie){const{focusRef:n,preventScroll:i,shouldFocus:o,visible:s}=t,l=r$(e)?e.current:e,p=o&&s,m=E.exports.useCallback(()=>{if(!(!l||!p)&&!x8(l,document.activeElement))if(n?.current)DS(n.current,{preventScroll:i,nextTick:!0});else{const v=KK(l);v.length>0&&DS(v[0],{preventScroll:i,nextTick:!0})}},[p,i,l,n]);hz(()=>{m()},[m]),tT("transitionend",m,l)}var kv="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/react/node_modules/@chakra-ui/icon/dist/index.esm.js",TM={path:N("g",{stroke:"currentColor",strokeWidth:"1.5",children:[N("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"},void 0,!1,{fileName:kv,lineNumber:14,columnNumber:22},globalThis),N("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"},void 0,!1,{fileName:kv,lineNumber:18,columnNumber:23},globalThis),N("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"},void 0,!1,{fileName:kv,lineNumber:22,columnNumber:23},globalThis)]},void 0,!0,{fileName:kv,lineNumber:11,columnNumber:25},globalThis),viewBox:"0 0 24 24"},n4=qe((e,t)=>{const{as:n,viewBox:i,color:o="currentColor",focusable:s=!1,children:l,className:p,__css:m,...v}=e,g=yr("chakra-icon",p),b={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...m},w={ref:t,focusable:s,className:
`,'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.",`
`,"We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}var g={placement:Kl(t.placement),variation:Zv(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,PM(Object.assign({},g,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:m})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,PM(Object.assign({},g,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:m})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const jae={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Uae,data:{}};var L5={passive:!0};function Vae(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,s=o===void 0?!0:o,l=i.resize,p=l===void 0?!0:l,m=ul(t.elements.popper),v=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&v.forEach(function(g){g.addEventListener("scroll",n.update,L5)}),p&&m.addEventListener("resize",n.update,L5),function(){s&&v.forEach(function(g){g.removeEventListener("scroll",n.update,L5)}),p&&m.removeEventListener("resize",n.update,L5)}}const Hae={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Vae,data:{}};var Wae={left:"right",right:"left",bottom:"top",top:"bottom"};function pS(e){return e.replace(/left|right|bottom|top/g,function(t){return Wae[t]})}var Gae={start:"end",end:"start"};function IM(e){return e.replace(/start|end/g,function(t){return Gae[t]})}function fT(e){var t=ul(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function dT(e){return qv(Od(e)).left+fT(e).scrollLeft}function Yae(e,t){var n=ul(e),i=Od(e),o=n.visualViewport,s=i.clientWidth,l=i.clientHeight,p=0,m=0;if(o){s=o.width,l=o.height;var v=Iz();(v||!v&&t==="fixed")&&(p=o.offsetLeft,m=o.offsetTop)}return{width:s,height:l,x:p+dT(e),y:m}}function qae(e){var t,n=Od(e),i=fT(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=ym(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=ym(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),p=-i.scrollLeft+dT(e),m=-i.scrollTop;return Xl(o||n).direction==="rtl"&&(p+=ym(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:l,x:p,y:m}}function pT(e){var t=Xl(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function Bz(e){return["html","body","#document"].indexOf(Gu(e))>=0?e.ownerDocument.body:bs(e)&&pT(e)?e:Bz(a4(e))}function eb(e,t){var n;t===void 0&&(t=[]);var i=Bz(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),s=ul(i),l=o?[s].concat(s.visualViewport||[],pT(i)?i:[]):i,p=t.concat(l);return o?p:p.concat(eb(a4(l)))}function n_(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Zae(e,t){var n=qv(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function DM(e,t,n){return t===Mz?n_(Yae(e,n)):Nm(t)?Zae(t,n):n_(qae(Od(e)))}function Kae(e){var t=eb(a4(e)),n=["absolute","fixed"].indexOf(Xl(e).position)>=0,i=n&&bs(e)?Kb(e):e;return Nm(i)?t.filter(function(o){return Nm(o)&&Dz(o,i)&&Gu(o)!=="body"}):[]}function Xae(e,t,n,i){var o=t==="clippingParents"?Kae(e):[].concat(t),s=[].concat(o,[n]),l=s[0],p=s.reduce(function(m,v){var g=DM(e,v,i);return m.top=ym(g.top,m.top),m.right=JS(g.right,m.right),m.bottom=JS(g.bottom,m.bottom),m.left=ym(g.left,m.left),m},DM(e,l,i));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function Uz(e){var t=e.reference,n=e.element,i=e.placement,o=i?Kl(i):null,s=i?Zv(i):null,l=t.x+t.width/2-n.width/2,p=t.y+t.height/2-n.height/2,m;switch(o){case Uo:m={x:l,y:t.y-n.height};break;case al:m={x:l,y:t.y+t.height};break;case ol:m={x:t.x+t.width,y:p};break;case jo:m={x:t.x-n.width,y:p};bre
object-assign
(c) Sindre Sorhus
@license MIT
*/var GM=Object.getOwnPropertySymbols,Xoe=Object.prototype.hasOwnProperty,Qoe=Object.prototype.propertyIsEnumerable;function Joe(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function ese(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;var i=Object.getOwnPropertyNames(t).map(function(s){return t[s]});if(i.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(s){o[s]=s}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var tse=ese()?Object.assign:function(e,t){for(var n,i=Joe(e),o,s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var l in n)Xoe.call(n,l)&&(i[l]=n[l]);if(GM){o=GM(n);for(var p=0;p<o.length;p++)Qoe.call(n,o[p])&&(i[o[p]]=n[o[p]])}}return i},nse="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",qz=nse,Zz=Function.call.bind(Object.prototype.hasOwnProperty),r_=function(){};{var rse=qz,i_={},ise=Zz;r_=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function Kz(e,t,n,i,o){for(var s in e)if(ise(e,s)){var l;try{if(typeof e[s]!="function"){var p=Error((i||"React class")+": "+n+" type `"+s+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[s]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw p.name="Invariant Violation",p}l=e[s](t,s,i,n,null,rse)}catch(v){l=v}if(l&&!(l instanceof Error)&&r_((i||"React class")+": type specification of "+n+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof l+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),l instanceof Error&&!(l.message in i_)){i_[l.message]=!0;var m=o?o():"";r_("Failed "+n+" type: "+l.message+(m??""))}}}Kz.resetWarningCache=function(){i_={}};var ase=Kz,ose=k3.exports,sse=tse,pv=qz,f7=Zz,YM=ase,Cv=function(){};Cv=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}};function P5(){return null}var lse=function(e,t){var n=typeof Symbol=="function"&&Symbol.iterator,i="@@iterator";function o(te){var ee=te&&(n&&te[n]||te[i]);if(typeof ee=="function")return ee}var s="<<anonymous>>",l={array:g("array"),bigint:g("bigint"),bool:g("boolean"),func:g("function"),number:g("number"),object:g("object"),string:g("string"),symbol:g("symbol"),any:b(),arrayOf:w,element:C(),elementType:T(),instanceOf:R,node:I(),objectOf:D,oneOf:L,oneOfType:P,shape:z,exact:q};function p(te,ee){return te===ee?te!==0||1/te===1/ee:te!==te&&ee!==ee}function m(te,ee){this.message=te,this.data=ee&&typeof ee=="object"?ee:{},this.stack=""}m.prototype=Error.prototype;function v(te){var ee={},we=0;function ye(le,ge,pe,Ee,Oe,Pe,Xe){if(Ee=Ee||s,Pe=Pe||pe,Xe!==pv){if(t){var et=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 et.name="Invariant Violation",et}else if(typeof console<"u"){var at=Ee+":"+pe;!ee[at]&&we<3&&(Cv("You are manually calling a React.PropTypes validation function for the `"+Pe+"` prop on `"+Ee+"`. 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."),ee[at]=!0,we++)}}return ge[pe]==null?le?ge[pe]===null?new m("The "+Oe+" `"+Pe+"` is marked as required "+("in `"+Ee+"`, but its value is `null`.")):new m("The "+Oe+" `"+Pe+"` is marked as required in "+("`"+Ee+"`, but its value is `undefined`.")):null:te(ge,pe,Ee,Oe,Pe)}var K=ye.bind(null,!1);return K.isRequired=ye.bind(null,!0),K}function g(te){function ee(we,ye,K,le,ge,pe){var Ee=we[ye],Oe=ie(Ee);if(Oe!==te){var Pe=ae(E
Valid keys: `+JSON.stringify(Object.keys(te),null," "));var et=Xe(pe,Pe,K,le,ge+"."+Pe,pv);if(et)return et}return null}return v(ee)}function Y(te){switch(typeof te){case"number":case"string":case"undefined":return!0;case"boolean":return!te;case"object":if(Array.isArray(te))return te.every(Y);if(te===null||e(te))return!0;var ee=o(te);if(ee){var we=ee.call(te),ye;if(ee!==te.entries){for(;!(ye=we.next()).done;)if(!Y(ye.value))return!1}else for(;!(ye=we.next()).done;){var K=ye.value;if(K&&!Y(K[1]))return!1}}else return!1;return!0;default:return!1}}function Q(te,ee){return te==="symbol"?!0:ee?ee["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ee instanceof Symbol:!1}function ie(te){var ee=typeof te;return Array.isArray(te)?"array":te instanceof RegExp?"object":Q(ee,te)?"symbol":ee}function ae(te){if(typeof te>"u"||te===null)return""+te;var ee=ie(te);if(ee==="object"){if(te instanceof Date)return"date";if(te instanceof RegExp)return"regexp"}return ee}function me(te){var ee=ae(te);switch(ee){case"array":case"object":return"an "+ee;case"boolean":case"date":case"regexp":return"a "+ee;default:return ee}}function ze(te){return!te.constructor||!te.constructor.name?s:te.constructor.name}return l.checkPropTypes=YM,l.resetWarningCache=YM.resetWarningCache,l.PropTypes=l,l};{var use=k3.exports,cse=!0;Pt.exports=lse(use.isElement,cse)}var a_="data-focus-lock",Xz="data-focus-lock-disabled",fse="data-no-focus-lock",dse="data-autofocus-inside",pse="data-no-autofocus";function mse(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function hse(e,t){var n=E.exports.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(i){var o=n.value;o!==i&&(n.value=i,n.callback(i,o))}}}})[0];return n.callback=t,n.facade}function Qz(e,t){return hse(t||null,function(n){return e.forEach(function(i){return mse(i,n)})})}var d7={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};Pt.exports.node;function Jz(e){return e}function eB(e,t){t===void 0&&(t=Jz);var n=[],i=!1,o={read:function(){if(i)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(s){var l=t(s,i);return n.push(l),function(){n=n.filter(function(p){return p!==l})}},assignSyncMedium:function(s){for(i=!0;n.length;){var l=n;n=[],l.forEach(s)}n={push:function(p){return s(p)},filter:function(){return n}}},assignMedium:function(s){i=!0;var l=[];if(n.length){var p=n;n=[],p.forEach(s),l=n}var m=function(){var g=l;l=[],g.forEach(s)},v=function(){return Promise.resolve().then(m)};v(),n={push:function(g){l.push(g),v()},filter:function(g){return l=l.filter(g),n}}}};return o}function hT(e,t){return t===void 0&&(t=Jz),eB(e,t)}function tB(e){e===void 0&&(e={});var t=eB(null);return t.options=Pu({async:!0,ssr:!1},e),t}var vse="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/use-sidecar/dist/es2015/exports.js",nB=function(e){var t=e.sideCar,n=B3(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var i=t.read();if(!i)throw new Error("Sidecar medium not found");return N(i,{...Pu({},n)},void 0,!1,{fileName:vse,lineNumber:12,columnNumber:12},this)};nB.isSideCarExport=!0;function gse(e,t){return e.useMedium(t),nB}var rB=hT({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),iB=hT(),bse=hT(),yse=tB({async:!0}),Ag="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/react-focus-lock/dist/es2015/Lock.js",xse=[],vT=E.exports.forwardRef(function(t,n){var i,o=E.exports.useState(),s=o[0],l=o[1],p=E.exports.useRef(),m=E.exports.useRef(!1),v=E.exports.useRef(null),g=t.children,b=t.disabled,w=t.noFocusGuards,C=t.persistentFocus,T=t.crossFrame,R=t.autoFocus,L=t.allowTextSelection,D=t.group,P=t.className,I=t.whiteList,F=t.hasPositiveIndices,z=t.shards,q=z===void 0?xse:z,Y=t.as,Q=Y===void 0?"div":Y,ie=t.lockProps,ae=ie===void 0?{}:ie,me=t.sideCar,ze=t.returnFocus,te=t.focusOptions,ee=t.
.`.concat(gle,` {
overflow: hidden `).concat(i,`;
padding-right: `).concat(p,"px ").concat(i,`;
}
body {
overflow: hidden `).concat(i,`;
overscroll-behavior: contain;
`).concat([t&&"position: relative ".concat(i,";"),n==="margin"&&`
padding-left: `.concat(o,`px;
padding-top: `).concat(s,`px;
padding-right: `).concat(l,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(p,"px ").concat(i,`;
`),n==="padding"&&"padding-right: ".concat(p,"px ").concat(i,";")].filter(Boolean).join(""),`
}
.`).concat(mS,` {
right: `).concat(p,"px ").concat(i,`;
}
.`).concat(hS,` {
margin-right: `).concat(p,"px ").concat(i,`;
}
.`).concat(mS," .").concat(mS,` {
right: 0 `).concat(i,`;
}
.`).concat(hS," .").concat(hS,` {
margin-right: 0 `).concat(i,`;
}
body {
`).concat(ble,": ").concat(p,`px;
}
`)},Lle=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=i===void 0?"margin":i,s=E.exports.useMemo(function(){return Tle(o)},[o]);return N(kle,{styles:Ale(s,!t,o,n?"":"!important")},void 0,!1,{fileName:Rle,lineNumber:27,columnNumber:12},this)},c_=!1;if(typeof window<"u")try{var I5=Object.defineProperty({},"passive",{get:function(){return c_=!0,!0}});window.addEventListener("test",I5,I5),window.removeEventListener("test",I5,I5)}catch{c_=!1}var mv=c_?{passive:!1}:!1,Ole=function(e){return e.tagName==="TEXTAREA"},AB=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Ole(e)&&n[t]==="visible")},Mle=function(e){return AB(e,"overflowY")},Ple=function(e){return AB(e,"overflowX")},eP=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=LB(e,n);if(i){var o=OB(e,n),s=o[1],l=o[2];if(s>l)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},Ile=function(e){var t=e.scrollTop,n=e.scrollHeight,i=e.clientHeight;return[t,n,i]},Dle=function(e){var t=e.scrollLeft,n=e.scrollWidth,i=e.clientWidth;return[t,n,i]},LB=function(e,t){return e==="v"?Mle(t):Ple(t)},OB=function(e,t){return e==="v"?Ile(t):Dle(t)},$le=function(e,t){return e==="h"&&t==="rtl"?-1:1},Fle=function(e,t,n,i,o){var s=$le(e,window.getComputedStyle(t).direction),l=s*i,p=n.target,m=t.contains(p),v=!1,g=l>0,b=0,w=0;do{var C=OB(e,p),T=C[0],R=C[1],L=C[2],D=R-L-s*T;(T||D)&&LB(e,p)&&(b+=D,w+=T),p=p.parentNode}while(!m&&p!==document.body||m&&(t.contains(p)||t===p));return(g&&(o&&b===0||!o&&l>b)||!g&&(o&&w===0||!o&&-l>w))&&(v=!0),v},tP="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/react-remove-scroll/dist/es2015/SideEffect.js",D5=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},nP=function(e){return[e.deltaX,e.deltaY]},rP=function(e){return e&&"current"in e?e.current:e},zle=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Ble=function(e){return`
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},Ule=0,hv=[];function jle(e){var t=E.exports.useRef([]),n=E.exports.useRef([0,0]),i=E.exports.useRef(),o=E.exports.useState(Ule++)[0],s=E.exports.useState(function(){return kB()})[0],l=E.exports.useRef(e);E.exports.useEffect(function(){l.current=e},[e]),E.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var R=TE([e.lockRef.current],(e.shards||[]).map(rP),!0).filter(Boolean);return R.forEach(function(L){return L.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),R.forEach(function(L){return L.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var p=E.exports.useCallback(function(R,L){if("touches"in R&&R.touches.length===2)return!l.current.allowPinchZoom;var D=D5(R),P=n.current,I="deltaX"in R?R.deltaX:P[0]-D[0],F="deltaY"in R?R.deltaY:P[1]-D[1],z,q=R.target,Y=Math.abs(I)>Math.abs(F)?"h":"v";if("touches"in R&&Y==="h"&&q.type==="range")return!1;var Q=eP(Y,q);if(!Q)return!0;if(Q?z=Y:(z=Y==="v"?"h":"v",Q=eP(Y,q)),!Q)return!1;if(!i.current&&"changedTouches"in R&&(I||F)&&(i.current=z),!z)return!0;var ie=i.current||z;return Fle(ie,L,R,ie==="h"?I:F,!0)},[]),m=E.exports.useCallback(function(R){var L=R;if(!(!hv.length||hv[hv.length-1]!==s)){var D="deltaY"in L?nP(L):D5(L),P=t.current.filter(function(z){return z.name===L.type&&z.target===L.target&&zle(z.delta,D)})[0];if(P&&P.should){L.cancelable&&L.preventDefault();return}if(!P){var I=(l.current.shards||[]).map(rP).filter(Boolean).filter(function(z){return z.contains(L.target)}),F=I.length>0?p(L,I[0]):!l.current.noIsolation;F&&L.cancelable&&L.preventDefault()}}},[]),v=E.exports.useCallback(function(R,L,D,P){var I={name:R,delta:L,target:D,should:P};t.current.push(I),setTimeout(function(){t.current=t.current.filter(function(F){return F!==I})},1)},[]),g=E.exports.useCallback(function(R){n.current=D5(R),i.current=void 0},[]),b=E.exports.useCallback(function(R){v(R.type,nP(R),R.target,p(R,e.lockRef.current))},[]),w=E.exports.useCallback(function(R){v(R.type,D5(R),R.target,p(R,e.lockRef.current))},[]);E.exports.useEffect(function(){return hv.push(s),e.setCallbacks({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:w}),document.addEventListener("wheel",m,mv),document.addEventListener("touchmove",m,mv),document.addEventListener("touchstart",g,mv),function(){hv=hv.filter(function(R){return R!==s}),document.removeEventListener("wheel",m,mv),document.removeEventListener("touchmove",m,mv),document.removeEventListener("touchstart",g,mv)}},[]);var C=e.removeScrollBar,T=e.inert;return N(Gi,{children:[T?N(s,{styles:Ble(o)},void 0,!1,{fileName:tP,lineNumber:144,columnNumber:17},this):null,C?N(Lle,{gapMode:"margin"},void 0,!1,{fileName:tP,lineNumber:145,columnNumber:27},this):null]},void 0,!0)}const Vle=gse(RB,jle);var Hle="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/react-remove-scroll/dist/es2015/Combination.js",MB=E.exports.forwardRef(function(e,t){return N(o4,{...Pu({},e,{ref:t,sideCar:Vle})},void 0,!1,{fileName:Hle,lineNumber:5,columnNumber:74},this)});MB.classNames=o4.classNames;const PB=MB;var Bo="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/@chakra-ui/modal/dist/index.esm.js",Mm=(...e)=>e.filter(Boolean).join(" ");function Bg(...e){return function(n){e.some(i=>(i?.(n),n?.defaultPrevented))}}var Wle=class{modals;constructor(){this.modals=[]}add(e){this.modals.push(e)}remove(e){this.modals=this.modals.filter(t=>t!==e)}isTopModal(e){return this.modals[this.modals.length-1]===e}},f_=new Wle;function Gle(e,t){E.exports.useEffect(()=>(t&&f_.add(e),()=>{f_.remove(e)}),[t,e])}function Yle(e){const{isOpen:t,onClose:n,id:i,closeOnOverlayClick:o=!0,closeOnEsc:s=!0,useInert:l=!0,onOverlayClick:p,onEsc:m}=e,v=E.exports.useRef(null),g=E.exports.useRef(null),[b,w,C]=Zle(i,"chakra-modal","chakra-modal--header","chakra-modal--body");qle(v,t&&l),Gle(v,t);const T=E.exports.useRef(null),R=E.exports.useCallback(Q=>{T.current=Q.target},[]),L=E.exports.useCallback(Q=>{Q.ke
45deg,
${t} 25%,
transparent 25%,
transparent 50%,
${t} 50%,
${t} 75%,
transparent 75%,
transparent
)`,backgroundSize:`${e} ${e}`}}function Ufe(e){const t=pU().toHexString();return!e||Ffe(e)?t:e.string&&e.colors?Vfe(e.string,e.colors):e.string&&!e.colors?jfe(e.string):e.colors&&!e.string?Hfe(e.colors):t}function jfe(e){let t=0;if(e.length===0)return t.toString();for(let i=0;i<e.length;i+=1)t=e.charCodeAt(i)+((t<<5)-t),t=t&t;let n="#";for(let i=0;i<3;i+=1)n+=`00${(t>>i*8&255).toString(16)}`.substr(-2);return n}function Vfe(e,t){let n=0;if(e.length===0)return t[0];for(let i=0;i<e.length;i+=1)n=e.charCodeAt(i)+((n<<5)-n),n=n&n;return n=(n%t.length+t.length)%t.length,t[n]}function Hfe(e){return e[Math.floor(Math.random()*e.length)]}function je(e,t){return n=>n.colorMode==="dark"?t:e}function IT(e){const{orientation:t,vertical:n,horizontal:i}=e;return t?t==="vertical"?n:i:{}}function Wfe(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function gU(e){return Wfe(e)&&e.reference?e.reference:String(e)}var c4=(e,...t)=>t.map(gU).join(` ${e} `).replace(/calc/g,""),xP=(...e)=>`calc(${c4("+",...e)})`,SP=(...e)=>`calc(${c4("-",...e)})`,g_=(...e)=>`calc(${c4("*",...e)})`,wP=(...e)=>`calc(${c4("/",...e)})`,CP=e=>{const t=gU(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:g_(t,-1)},Vc=Object.assign(e=>({add:(...t)=>Vc(xP(e,...t)),subtract:(...t)=>Vc(SP(e,...t)),multiply:(...t)=>Vc(g_(e,...t)),divide:(...t)=>Vc(wP(e,...t)),negate:()=>Vc(CP(e)),toString:()=>e.toString()}),{add:xP,subtract:SP,multiply:g_,divide:wP,negate:CP});function Gfe(e){return!Number.isInteger(parseFloat(e.toString()))}function Yfe(e,t="-"){return e.replace(/\s+/g,t)}function bU(e){const t=Yfe(e.toString());return t.includes("\\.")?e:Gfe(e)?t.replace(".","\\."):e}function qfe(e,t=""){return[t,bU(e)].filter(Boolean).join("-")}function Zfe(e,t){return`var(${bU(e)}${t?`, ${t}`:""})`}function Kfe(e,t=""){return`--${qfe(e,t)}`}function Ho(e,t){const n=Kfe(e,t?.prefix);return{variable:n,reference:Zfe(n,Xfe(t?.fallback))}}function Xfe(e){return typeof e=="string"?e:e?.reference}var{definePartsStyle:Qfe,defineMultiStyleConfig:Jfe}=Wr(lce.keys),ede={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},tde={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},nde={pt:"2",px:"4",pb:"5"},rde={fontSize:"1.25em"},ide=Qfe({container:ede,button:tde,panel:nde,icon:rde}),ade=Jfe({baseStyle:ide}),{definePartsStyle:ny,defineMultiStyleConfig:ode}=Wr(uce.keys),qc=Dm("alert-fg"),ry=Dm("alert-bg"),sde=ny({container:{bg:ry.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:qc.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:qc.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function DT(e){const{theme:t,colorScheme:n}=e,i=Wi(t,`${n}.100`,n),o=Xv(`${n}.200`,.16)(t);return je(i,o)(e)}var lde=ny(e=>{const{colorScheme:t}=e,n=je(`${t}.500`,`${t}.200`)(e);return{container:{[ry.variable]:DT(e),[qc.variable]:`colors.${n}`}}}),ude=ny(e=>{const{colorScheme:t}=e,n=je(`${t}.500`,`${t}.200`)(e);return{container:{[ry.variable]:DT(e),[qc.variable]:`colors.${n}`,paddingStart:"3",borderStartWidth:"4px",borderStartColor:qc.reference}}}),cde=ny(e=>{const{colorScheme:t}=e,n=je(`${t}.500`,`${t}.200`)(e);return{container:{[ry.variable]:DT(e),[qc.variable]:`colors.${n}`,pt:"2",borderTopWidth:"4px",borderTopColor:qc.reference}}}),fde=ny(e=>{const{colorScheme:t}=e,n=je(`${t}.500`,`${t}.200`)(e),i=je("white","gray.900")(e);return{container:{[ry.variable]:`colors.${n}`,[qc.variable]:`colors.${i}`,color:qc.reference}}}),dde={subtle:lde,"left-accent":ude,"top-accent":cde,solid:fde},pde=ode({baseStyle:sde,variants:dde,defaultProps:{variant:"subtle",colorScheme:"blue"}}),yU={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem"
to right,
transparent 0%,
${Wi(n,l)} 50%,
transparent 100%
)`;return{...!i&&o&&s,...i?{bgImage:p}:{bgColor:l}}},ihe={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},ahe=e=>({bg:je("gray.100","whiteAlpha.300")(e)}),ohe=e=>({transitionProperty:"common",transitionDuration:"slow",...rhe(e)}),she=Ug(e=>({label:ihe,filledTrack:ohe(e),track:ahe(e)})),lhe={xs:Ug({track:{h:"1"}}),sm:Ug({track:{h:"2"}}),md:Ug({track:{h:"3"}}),lg:Ug({track:{h:"4"}})},uhe=nhe({sizes:lhe,baseStyle:she,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:che,definePartsStyle:bS}=Wr(Nce.keys),fhe=e=>{var t;const n=(t=fi(o3.baseStyle,e))==null?void 0:t.control;return{...n,borderRadius:"full",_checked:{...n?._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},dhe=bS(e=>{var t,n,i,o;return{label:(n=(t=o3).baseStyle)==null?void 0:n.call(t,e).label,container:(o=(i=o3).baseStyle)==null?void 0:o.call(i,e).container,control:fhe(e)}}),phe={md:bS({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:bS({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:bS({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},mhe=che({baseStyle:dhe,sizes:phe,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:hhe,definePartsStyle:vhe}=Wr(Ece.keys),ghe=e=>{var t;return{...(t=sr.baseStyle)==null?void 0:t.field,bg:je("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:je("white","gray.700")(e)}}},bhe={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},yhe=vhe(e=>({field:ghe(e),icon:bhe})),j5={paddingInlineEnd:"8"},_P,TP,RP,kP,AP,LP,OP,MP,xhe={lg:{...(_P=sr.sizes)==null?void 0:_P.lg,field:{...(TP=sr.sizes)==null?void 0:TP.lg.field,...j5}},md:{...(RP=sr.sizes)==null?void 0:RP.md,field:{...(kP=sr.sizes)==null?void 0:kP.md.field,...j5}},sm:{...(AP=sr.sizes)==null?void 0:AP.sm,field:{...(LP=sr.sizes)==null?void 0:LP.sm.field,...j5}},xs:{...(OP=sr.sizes)==null?void 0:OP.xs,field:{...(MP=sr.sizes)==null?void 0:MP.sm.field,...j5},icon:{insetEnd:"1"}}},She=hhe({baseStyle:yhe,sizes:xhe,variants:sr.variants,defaultProps:sr.defaultProps}),whe=Dm("skeleton-start-color"),Che=Dm("skeleton-end-color"),Nhe=e=>{const t=je("gray.100","gray.800")(e),n=je("gray.400","gray.600")(e),{startColor:i=t,endColor:o=n,theme:s}=e,l=Wi(s,i),p=Wi(s,o);return{[whe.variable]:l,[Che.variable]:p,opacity:.7,borderRadius:"2px",borderColor:l,background:p}},Ehe={baseStyle:Nhe},_he=e=>({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",bg:je("white","gray.700")(e)}}),The={baseStyle:_he},{defineMultiStyleConfig:Rhe,definePartsStyle:f4}=Wr(_ce.keys),Tb=Dm("slider-thumb-size"),Rb=Dm("slider-track-size"),khe=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...IT({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},Ahe=e=>({...IT({orientation:e.orientation,horizontal:{h:Rb.reference},vertical:{w:Rb.reference}}),overflow:"hidden",borderRadius:"sm",bg:je("gray.200","whiteAlpha.200")(e),_disabled:{bg:je("gray.300","whiteAlpha.300")(e)}}),Lhe=e=>{const{orientation:t}=e;return{...IT({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:Tb.reference,h:Tb.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},Ohe=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",bg:je(`${t}.500`,`${t}.200`)(e)}},Mhe=f4(e=>({container:khe(e),track:Ahe(e),thumb:Lhe(e),filledTrack:Ohe(e)})),Phe=f4({container:{[Tb.variable]:"sizes.4",[
If your state or actions are very large, you may want to disable the middleware as it might cause too much of a slowdown in development mode. See https://redux-toolkit.js.org/api/getDefaultMiddleware for instructions.
It is disabled in production builds, so you don't need to worry about that.`)}}}var p1e=function(e){l1e(t,e);function t(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=e.apply(this,n)||this;return Object.setPrototypeOf(o,t.prototype),o}return Object.defineProperty(t,Symbol.species,{get:function(){return t},enumerable:!1,configurable:!0}),t.prototype.concat=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return e.prototype.concat.apply(this,n)},t.prototype.prepend=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];return n.length===1&&Array.isArray(n[0])?new(t.bind.apply(t,p3([void 0],n[0].concat(this)))):new(t.bind.apply(t,p3([void 0],n.concat(this))))},t}(Array);function k_(e){return Zc(e)?DU(e,function(){}):e}var m1e="Invariant failed";function aI(e,t){if(!e)throw new Error(m1e+": "+(t||""))}function h1e(e,t,n,i){return JSON.stringify(e,v1e(t,i),n)}function v1e(e,t){var n=[],i=[];return t||(t=function(o,s){return n[0]===s?"[Circular ~]":"[Circular ~."+i.slice(0,n.indexOf(s)).join(".")+"]"}),function(o,s){if(n.length>0){var l=n.indexOf(this);~l?n.splice(l+1):n.push(this),~l?i.splice(l,1/0,o):i.push(o),~n.indexOf(s)&&(s=t.call(this,o,s))}else n.push(s);return e==null?s:e.call(this,o,s)}}function g1e(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function b1e(e,t,n){var i=VU(e,t,n);return{detectMutations:function(){return HU(e,t,i,n)}}}function VU(e,t,n,i){t===void 0&&(t=[]),i===void 0&&(i="");var o={value:n};if(!e(n)){o.children={};for(var s in n){var l=i?i+"."+s:s;t.length&&t.indexOf(l)!==-1||(o.children[s]=VU(e,t,n[s],l))}}return o}function HU(e,t,n,i,o,s){t===void 0&&(t=[]),o===void 0&&(o=!1),s===void 0&&(s="");var l=n?n.value:void 0,p=l===i;if(o&&!p&&!Number.isNaN(i))return{wasMutated:!0,path:s};if(e(l)||e(i))return{wasMutated:!1};var m={};for(var v in n.children)m[v]=!0;for(var v in i)m[v]=!0;for(var v in m){var g=s?s+"."+v:v;if(!(t.length&&t.indexOf(g)!==-1)){var b=HU(e,t,n.children[v],i[v],p,g);if(b.wasMutated)return b}}return{wasMutated:!1}}function y1e(e){e===void 0&&(e={});var t=e.isImmutable,n=t===void 0?g1e:t,i=e.ignoredPaths,o=e.warnAfter,s=o===void 0?32:o,l=e.ignore;i=i||l;var p=b1e.bind(null,n,i);return function(m){var v=m.getState,g=v(),b=p(g),w;return function(C){return function(T){var R=jU(s,"ImmutableStateInvariantMiddleware");R.measureTime(function(){g=v(),w=b.detectMutations(),b=p(g),aI(!w.wasMutated,"A state mutation was detected between dispatches, in the path '"+(w.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var L=C(T);return R.measureTime(function(){g=v(),w=b.detectMutations(),b=p(g),w.wasMutated&&aI(!w.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(w.path||"")+". Take a look at the reducer(s) handling the action "+h1e(T)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),R.warnIfExceeded(),L}}}}function WU(e){var t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||UU(e)}function A_(e,t,n,i,o){t===void 0&&(t=""),n===void 0&&(n=WU),o===void 0&&(o=[]);var s;if(!n(e))return{keyPath:t||"<root>",value:e};if(typeof e!="object"||e===null)return!1;for(var l=i!=null?i(e):Object.entries(e),p=o.length>0,m=0,v=l;m<v.length;m++){var g=v[m],b=g[0],w=g[1],C=t?t+"."+b:b;if(!(p&&o.indexOf(C)>=0)){if(!n(w))return{keyPath:C,value:w};if(typeof w=="object"&&(s=A_(w,C,n,i,o),s))return s}}return!1}function x1e(e){e===void 0&&(e={});var t=e.isSerializable,n=t===void 0?WU:t,i=e.getEntries,o=e.ignoredActions,s=o===void 0?[]:o,l=e.ignoredActionPaths,p=l===void 0?["meta.arg","meta.baseQueryMeta"]:l,m=e.ignoredPaths,v=m===void 0?[]:m,g=e.warnAfter,b=g===void 0?32:g,w=e.ignoreState,C=w===void 0?!1:w,T=e.ignoreActions,R=T===void 0?!1:T;return function(L){return function(D){return function(P){var I=D(P),F=jU(b,"SerializableStateInvariantMiddleware");return!R&&!(s.length&&s.indexOf(P.type)!==-1)&&F.measureTime(function(){var z=A_(P,"",n,i,p);if(z){var q=z.keyPath,Y=z.value;console.error("A non-seri
Take a look at the logic that dispatched this action: `,P,`
(See https://redux.js.org/faq/actions#why-should-type-be-a-string-or-at-least-serializable-why-should-my-action-types-be-constants)`,`
(To allow non-serializable values see: https://redux-toolkit.js.org/usage/usage-guide#working-with-non-serializable-data)`)}}),C||(F.measureTime(function(){var z=L.getState(),q=A_(z,"",n,i,v);if(q){var Y=q.keyPath,Q=q.value;console.error("A non-serializable value was detected in the state, in the path: `"+Y+"`. Value:",Q,`
Take a look at the reducer(s) handling this action type: `+P.type+`.
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),F.warnIfExceeded()),I}}}}function M7(e){return typeof e=="boolean"}function S1e(){return function(t){return w1e(t)}}function w1e(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t,i=e.immutableCheck,o=i===void 0?!0:i,s=e.serializableCheck,l=s===void 0?!0:s,p=new p1e;n&&(M7(n)?p.push(nI):p.push(nI.withExtraArgument(n.extraArgument)));{if(o){var m={};M7(o)||(m=o),p.unshift(y1e(m))}if(l){var v={};M7(l)||(v=l),p.push(x1e(v))}}return p}var C1e=!1;function N1e(e){var t=S1e(),n=e||{},i=n.reducer,o=i===void 0?void 0:i,s=n.middleware,l=s===void 0?t():s,p=n.devTools,m=p===void 0?!0:p,v=n.preloadedState,g=v===void 0?void 0:v,b=n.enhancers,w=b===void 0?void 0:b,C;if(typeof o=="function")C=o;else if(UU(o))C=FU(o);else throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');var T=l;if(typeof T=="function"&&(T=T(t),!Array.isArray(T)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(T.some(function(I){return typeof I!="function"}))throw new Error("each middleware provided to configureStore must be a function");var R=e1e.apply(void 0,T),L=f3;m&&(L=d1e(Ab({trace:!C1e},typeof m=="object"&&m)));var D=[R];Array.isArray(w)?D=p3([R],w):typeof w=="function"&&(D=w(D));var P=L.apply(void 0,D);return WT(C,g,P)}function yo(e,t){function n(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(t){var s=t.apply(void 0,i);if(!s)throw new Error("prepareAction did not return an object");return Ab(Ab({type:e,payload:s.payload},"meta"in s&&{meta:s.meta}),"error"in s&&{error:s.error})}return{type:e,payload:i[0]}}return n.toString=function(){return""+e},n.type=e,n.match=function(i){return i.type===e},n}function GU(e){var t={},n=[],i,o={addCase:function(s,l){{if(n.length>0)throw new Error("`builder.addCase` should only be called before calling `builder.addMatcher`");if(i)throw new Error("`builder.addCase` should only be called before calling `builder.addDefaultCase`")}var p=typeof s=="string"?s:s.type;if(p in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[p]=l,o},addMatcher:function(s,l){if(i)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return n.push({matcher:s,reducer:l}),o},addDefaultCase:function(s){if(i)throw new Error("`builder.addDefaultCase` can only be called once");return i=s,o}};return e(o),[t,n,i]}function E1e(e){return typeof e=="function"}function _1e(e,t,n,i){n===void 0&&(n=[]);var o=typeof t=="function"?GU(t):[t,n,i],s=o[0],l=o[1],p=o[2],m;if(E1e(e))m=function(){return k_(e())};else{var v=k_(e);m=function(){return v}}function g(b,w){b===void 0&&(b=m());var C=p3([s[w.type]],l.filter(function(T){var R=T.matcher;return R(w)}).map(function(T){var R=T.reducer;return R}));return C.filter(function(T){return!!T}).length===0&&(C=[p]),C.reduce(function(T,R){if(R)if(Rd(T)){var L=T,D=R(L,w);return D===void 0?T:D}else{if(Zc(T))return DU(T,function(P){return R(P,w)});var D=R(T,w);if(D===void 0){if(T===null)return T;throw Error("A case reducer on a non-draftable value must not return undefined")}return D}return T},b)}return g.getInitialState=m,g}function T1e(e,t){return e+"/"+t}function GT(e){var t=e.name;if(!t)throw new Error("`name` is a required option for createSlice");typeof process<"u"&&e.initialState===void 0&&console.error("You must provide an `initialState` value that is not `undefined`. You may have misspelled `initialState`");var n=typeof e.initialState=="function"?e.initialState:k_(e.initialState),i=e.reducers||{},o=Object.keys(i),s={},l={},p={};o.forEach(function(g){var b=i[g],w=T1e(t,g),C,T;"reducer"in b?(C=b.reducer,T=b.prepare):C=b,s[g]=C,l[w]=C,p[g]=T?yo(w,T):yo(w)});function m(){var g=typeof e.extraReducers=="function"?GU(e.extraReducers):[e.extraReducers],b=g[0],w=b===void 0?{}:b,C=g[1],T=C===void 0?[]:C,R=g[2],L=R===void 0?void 0:R,D=Ab(Ab({},w),l);return
* @license React
* use-sync-external-store-shim.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=E.exports,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(I){{for(var F=arguments.length,z=new Array(F>1?F-1:0),q=1;q<F;q++)z[q-1]=arguments[q];i("error",I,z)}}function i(I,F,z){{var q=t.ReactDebugCurrentFrame,Y=q.getStackAddendum();Y!==""&&(F+="%s",z=z.concat([Y]));var Q=z.map(function(ie){return String(ie)});Q.unshift("Warning: "+F),Function.prototype.apply.call(console[I],console,Q)}}function o(I,F){return I===F&&(I!==0||1/I===1/F)||I!==I&&F!==F}var s=typeof Object.is=="function"?Object.is:o,l=e.useState,p=e.useEffect,m=e.useLayoutEffect,v=e.useDebugValue,g=!1,b=!1;function w(I,F,z){g||e.startTransition!==void 0&&(g=!0,n("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 q=F();if(!b){var Y=F();s(q,Y)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),b=!0)}var Q=l({inst:{value:q,getSnapshot:F}}),ie=Q[0].inst,ae=Q[1];return m(function(){ie.value=q,ie.getSnapshot=F,C(ie)&&ae({inst:ie})},[I,q,F]),p(function(){C(ie)&&ae({inst:ie});var me=function(){C(ie)&&ae({inst:ie})};return I(me)},[I]),v(q),q}function C(I){var F=I.getSnapshot,z=I.value;try{var q=F();return!s(z,q)}catch{return!0}}function T(I,F,z){return F()}var R=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",L=!R,D=L?T:w,P=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:D;qU.useSyncExternalStore=P,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();(function(e){e.exports=qU})(YU);var ZU={exports:{}},KU={};/**
* @license React
* use-sync-external-store-shim/with-selector.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(){typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=E.exports,t=YU.exports;function n(g,b){return g===b&&(g!==0||1/g===1/b)||g!==g&&b!==b}var i=typeof Object.is=="function"?Object.is:n,o=t.useSyncExternalStore,s=e.useRef,l=e.useEffect,p=e.useMemo,m=e.useDebugValue;function v(g,b,w,C,T){var R=s(null),L;R.current===null?(L={hasValue:!1,value:null},R.current=L):L=R.current;var D=p(function(){var z=!1,q,Y,Q=function(ze){if(!z){z=!0,q=ze;var te=C(ze);if(T!==void 0&&L.hasValue){var ee=L.value;if(T(ee,te))return Y=ee,ee}return Y=te,te}var we=q,ye=Y;if(i(we,ze))return ye;var K=C(ze);return T!==void 0&&T(ye,K)?ye:(q=ze,Y=K,K)},ie=w===void 0?null:w,ae=function(){return Q(b())},me=ie===null?void 0:function(){return Q(ie())};return[ae,me]},[b,w,C,T]),P=D[0],I=D[1],F=o(g,P,I);return l(function(){L.hasValue=!0,L.value=F},[F]),m(F),F}KU.useSyncExternalStoreWithSelector=v,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();(function(e){e.exports=KU})(ZU);function R1e(e){e()}let XU=R1e;const k1e=e=>XU=e,A1e=()=>XU,Kc=Ne.createContext(null);Kc.displayName="ReactRedux";function QU(){const e=E.exports.useContext(Kc);if(!e)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return e}const L1e=()=>{throw new Error("uSES not initialized!")};let JU=L1e;const O1e=e=>{JU=e},M1e=(e,t)=>e===t;function P1e(e=Kc){const t=e===Kc?QU:()=>E.exports.useContext(e);return function(i,o=M1e){{if(!i)throw new Error("You must pass a selector to useSelector");if(typeof i!="function")throw new Error("You must pass a function as a selector to useSelector");if(typeof o!="function")throw new Error("You must pass a function as an equality function to useSelector")}const{store:s,subscription:l,getServerState:p}=t(),m=JU(l.addNestedSub,s.getState,p||s.getState,i,o);return E.exports.useDebugValue(m),m}}const I1e=P1e();var D1e={exports:{}},mr={};/**
* @license React
* react-is.development.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),p=Symbol.for("react.server_context"),m=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),C=Symbol.for("react.offscreen"),T=!1,R=!1,L=!1,D=!1,P=!1,I;I=Symbol.for("react.module.reference");function F(Ce){return!!(typeof Ce=="string"||typeof Ce=="function"||Ce===n||Ce===o||P||Ce===i||Ce===v||Ce===g||D||Ce===C||T||R||L||typeof Ce=="object"&&Ce!==null&&(Ce.$$typeof===w||Ce.$$typeof===b||Ce.$$typeof===s||Ce.$$typeof===l||Ce.$$typeof===m||Ce.$$typeof===I||Ce.getModuleId!==void 0))}function z(Ce){if(typeof Ce=="object"&&Ce!==null){var nt=Ce.$$typeof;switch(nt){case e:var Ct=Ce.type;switch(Ct){case n:case o:case i:case v:case g:return Ct;default:var rt=Ct&&Ct.$$typeof;switch(rt){case p:case l:case m:case w:case b:case s:return rt;default:return nt}}case t:return nt}}}var q=l,Y=s,Q=e,ie=m,ae=n,me=w,ze=b,te=t,ee=o,we=i,ye=v,K=g,le=!1,ge=!1;function pe(Ce){return le||(le=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ee(Ce){return ge||(ge=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Oe(Ce){return z(Ce)===l}function Pe(Ce){return z(Ce)===s}function Xe(Ce){return typeof Ce=="object"&&Ce!==null&&Ce.$$typeof===e}function et(Ce){return z(Ce)===m}function at(Ce){return z(Ce)===n}function kt(Ce){return z(Ce)===w}function He(Ce){return z(Ce)===b}function ot(Ce){return z(Ce)===t}function wt(Ce){return z(Ce)===o}function It(Ce){return z(Ce)===i}function We(Ce){return z(Ce)===v}function Vt(Ce){return z(Ce)===g}mr.ContextConsumer=q,mr.ContextProvider=Y,mr.Element=Q,mr.ForwardRef=ie,mr.Fragment=ae,mr.Lazy=me,mr.Memo=ze,mr.Portal=te,mr.Profiler=ee,mr.StrictMode=we,mr.Suspense=ye,mr.SuspenseList=K,mr.isAsyncMode=pe,mr.isConcurrentMode=Ee,mr.isContextConsumer=Oe,mr.isContextProvider=Pe,mr.isElement=Xe,mr.isForwardRef=et,mr.isFragment=at,mr.isLazy=kt,mr.isMemo=He,mr.isPortal=ot,mr.isProfiler=wt,mr.isStrictMode=It,mr.isSuspense=We,mr.isSuspenseList=Vt,mr.isValidElementType=F,mr.typeOf=z})();(function(e){e.exports=mr})(D1e);function $1e(){const e=A1e();let t=null,n=null;return{clear(){t=null,n=null},notify(){e(()=>{let i=t;for(;i;)i.callback(),i=i.next})},get(){let i=[],o=t;for(;o;)i.push(o),o=o.next;return i},subscribe(i){let o=!0,s=n={callback:i,next:null,prev:n};return s.prev?s.prev.next=s:t=s,function(){!o||t===null||(o=!1,s.next?s.next.prev=s.prev:n=s.prev,s.prev?s.prev.next=s.next:t=s.next)}}}}const oI={notify(){},get:()=>[]};function F1e(e,t){let n,i=oI;function o(b){return m(),i.subscribe(b)}function s(){i.notify()}function l(){g.onStateChange&&g.onStateChange()}function p(){return Boolean(n)}function m(){n||(n=t?t.addNestedSub(l):e.subscribe(l),i=$1e())}function v(){n&&(n(),n=void 0,i.clear(),i=oI)}const g={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:l,isSubscribed:p,trySubscribe:m,tryUnsubscribe:v,getListeners:()=>i};return g}const z1e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",B1e=z1e?E.exports.useLayoutEffect:E.exports.useEffect;var U1e="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/react-redux/es/components/Provider.js";function j1e({store:e,context:t,children:n,serverState:i}){const o=E.exports.useMemo(()=>{const p=F1e(e);return{store:e,subscription:p,getServerState:i?()=>i:void 0}},[e,i]),s=E.exports.useMemo(()=>e.getState(),[e]);return B1e(()=>{const{subscription:p}=o;return p.onStateChange=p.notifyNestedSubs,p.trySubscribe(),s!==e.getState()&&p.notifyNestedSubs(),()=>{p.tryUnsubscribe(),p.onStateChange=void 0}},[o,s]),N((t||Kc).Provider,{value:o,children:n},void 0,!1,{fileName:U1e,lineNumber:39,columnNumber:23},this)}function ej(e=Kc){const t=e===Kc?QU:()=>E.exports.u
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/(function(e,t){(function(){var n,i="4.17.21",o=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",l="Expected a function",p="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",v=500,g="__lodash_placeholder__",b=1,w=2,C=4,T=1,R=2,L=1,D=2,P=4,I=8,F=16,z=32,q=64,Y=128,Q=256,ie=512,ae=30,me="...",ze=800,te=16,ee=1,we=2,ye=3,K=1/0,le=9007199254740991,ge=17976931348623157e292,pe=0/0,Ee=4294967295,Oe=Ee-1,Pe=Ee>>>1,Xe=[["ary",Y],["bind",L],["bindKey",D],["curry",I],["curryRight",F],["flip",ie],["partial",z],["partialRight",q],["rearg",Q]],et="[object Arguments]",at="[object Array]",kt="[object AsyncFunction]",He="[object Boolean]",ot="[object Date]",wt="[object DOMException]",It="[object Error]",We="[object Function]",Vt="[object GeneratorFunction]",Ce="[object Map]",nt="[object Number]",Ct="[object Null]",rt="[object Object]",sn="[object Promise]",On="[object Proxy]",Tt="[object RegExp]",ln="[object Set]",Mn="[object String]",yn="[object Symbol]",Ze="[object Undefined]",tt="[object WeakMap]",rn="[object WeakSet]",Dt="[object ArrayBuffer]",Ie="[object DataView]",Zt="[object Float32Array]",Tn="[object Float64Array]",Ge="[object Int8Array]",ut="[object Int16Array]",At="[object Int32Array]",gn="[object Uint8Array]",en="[object Uint8ClampedArray]",Rn="[object Uint16Array]",Fn="[object Uint32Array]",zr=/\b__p \+= '';/g,Pn=/\b(__p \+=) '' \+/g,Ti=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Vn=/&(?:amp|lt|gt|quot|#39);/g,kn=/[&<>"']/g,Ri=RegExp(Vn.source),Er=RegExp(kn.source),Wo=/<%-([\s\S]+?)%>/g,Ss=/<%([\s\S]+?)%>/g,ws=/<%=([\s\S]+?)%>/g,Go=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Yo=/^\w*$/,xr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Yi=/[\\^$.*+?()[\]{}|]/g,Ja=RegExp(Yi.source),qi=/^\s+/,X=/\s/,Ve=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Qe=/\{\n\/\* \[wrapped with (.+)\] \*/,_t=/,? & /,un=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Cn=/[()=,{}\[\]\/\s]/,st=/\\(\\)?/g,Kt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Hn=/\w*$/,Un=/^[-+]0x[0-9a-f]+$/i,fn=/^0b[01]+$/i,Kr=/^\[object .+?Constructor\]$/,Aa=/^0o[0-7]+$/i,qo=/^(?:0|[1-9]\d*)$/,ki=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,wo=/($^)/,Xu=/['\n\r\u2028\u2029\\]/g,La="\\ud800-\\udfff",cl="\\u0300-\\u036f",eo="\\ufe20-\\ufe2f",tn="\\u20d0-\\u20ff",to=cl+eo+tn,Ai="\\u2700-\\u27bf",Zo="a-z\\xdf-\\xf6\\xf8-\\xff",Cs="\\xac\\xb1\\xd7\\xf7",Ko="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ns="\\u2000-\\u206f",Es=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Xo="A-Z\\xc0-\\xd6\\xd8-\\xde",Qo="\\ufe0e\\ufe0f",_s=Cs+Ko+Ns+Es,fl="['\u2019]",dl="["+La+"]",Oa="["+_s+"]",Gr="["+to+"]",Zi="\\d+",Li="["+Ai+"]",Ki="["+Zo+"]",Ts="[^"+La+_s+Zi+Ai+Zo+Xo+"]",Jo="\\ud83c[\\udffb-\\udfff]",Rs="(?:"+Gr+"|"+Jo+")",Jl="[^"+La+"]",Oi="(?:\\ud83c[\\udde6-\\uddff]){2}",es="[\\ud800-\\udbff][\\udc00-\\udfff]",Xi="["+Xo+"]",Ma="\\u200d",pl="(?:"+Ki+"|"+Ts+")",dn="(?:"+Xi+"|"+Ts+")",Pa="(?:"+fl+"(?:d|ll|m|re|s|t|ve))?",ts="(?:"+fl+"(?:D|LL|M|RE|S|T|VE))?",Wt=Rs+"?",ml="["+Qo+"]?",_r="(?:"+Ma+"(?:"+[Jl,Oi,es].join("|")+")"+ml+Wt+")*",no="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",oa="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Co=ml+Wt+_r,Pr="(?:"+[Li,Oi,es].join("|")+")"+Co,lr="(?:"+[Jl+Gr+"?",Gr,Oi,es,dl].join("|")+")",ns=RegExp(fl,"g"),ri=RegExp(Gr,"g"),br=RegExp(Jo+"(?="+Jo+")|"+lr+Co,"g"),di=RegExp([Xi+"?"+Ki+"+"+Pa+"(?="+[Oa,Xi,"$"].join("|")+")",dn+"+"+ts+"(?="+[Oa,Xi+pl,"$"].join("|")+")",Xi+"?"+pl+"+"+Pa,Xi+"+"+ts,oa,no,Zi,Pr].join("|"),"g"),Qu=RegExp("["+Ma+La+to+Qo+"]"),No=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Ia=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],hl=-1
/* [wrapped with `+d+`] */
`)}function X0(c){return cn(c)||bc(c)||!!(cf&&c&&c[cf])}function Bs(c,d){var y=typeof c;return d=d??le,!!d&&(y=="number"||y!="symbol"&&qo.test(c))&&c>-1&&c%1==0&&c<d}function gi(c,d,y){if(!Rr(y))return!1;var k=typeof d;return(k=="number"?si(y)&&Bs(d,y.length):k=="string"&&d in y)?ls(y[d],c):!1}function vh(c,d){if(cn(c))return!1;var y=typeof c;return y=="number"||y=="symbol"||y=="boolean"||c==null||En(c)?!0:Yo.test(c)||!Go.test(c)||d!=null&&c in tr(d)}function J4(c){var d=typeof c;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?c!=="__proto__":c===null}function Q0(c){var d=fp(c),y=B[d];if(typeof y!="function"||!(d in An.prototype))return!1;if(c===y)return!0;var k=K0(y);return!!k&&c===k[0]}function J0(c){return!!by&&by in c}var ew=jm?Hs:U1;function Lf(c){var d=c&&c.constructor,y=typeof d=="function"&&d.prototype||lf;return c===y}function Jy(c){return c===c&&!Rr(c)}function e1(c,d){return function(y){return y==null?!1:y[c]===d&&(d!==n||c in tr(y))}}function tw(c){var d=_h(c,function(k){return y.size===v&&y.clear(),k}),y=d.cache;return d}function e2(c,d){var y=c[1],k=d[1],$=y|k,j=$<(L|D|Y),Z=k==Y&&y==I||k==Y&&y==Q&&c[7].length<=d[8]||k==(Y|Q)&&d[7].length<=d[8]&&y==I;if(!(j||Z))return c;k&L&&(c[2]=d[2],$|=y&L?0:P);var J=d[3];if(J){var de=c[3];c[3]=de?_f(de,J,d[4]):J,c[4]=de?tu(c[3],g):d[4]}return J=d[5],J&&(de=c[5],c[5]=de?G0(de,J,d[6]):J,c[6]=de?tu(c[5],g):d[6]),J=d[7],J&&(c[7]=J),k&Y&&(c[8]=c[8]==null?d[8]:pi(c[8],d[8])),c[9]==null&&(c[9]=d[9]),c[0]=d[0],c[1]=$,c}function nw(c){var d=[];if(c!=null)for(var y in tr(c))d.push(y);return d}function t1(c){return Ud.call(c)}function pp(c,d,y){return d=Xr(d===n?c.length-1:d,0),function(){for(var k=arguments,$=-1,j=Xr(k.length-d,0),Z=_e(j);++$<j;)Z[$]=k[d+$];$=-1;for(var J=_e(d+1);++$<d;)J[$]=k[$];return J[d]=y(Z),xt(c,this,J)}}function Rl(c,d){return d.length<2?c:Ii(c,Jr(d,0,-1))}function lu(c,d){for(var y=c.length,k=pi(d.length,y),$=hi(c);k--;){var j=d[k];c[k]=Bs(j,y)?$[j]:n}return c}function Us(c,d){if(!(d==="constructor"&&typeof c[d]=="function")&&d!="__proto__")return c[d]}var Of=n2(oi),kl=ff||function(c,d){return Xt.setTimeout(c,d)},js=n2(qt);function t2(c,d,y){var k=d+"";return js(c,Q4(k,r2(dp(k),y)))}function n2(c){var d=0,y=0;return function(){var k=P4(),$=te-(k-y);if(y=k,$>0){if(++d>=ze)return arguments[0]}else d=0;return c.apply(n,arguments)}}function gh(c,d){var y=-1,k=c.length,$=k-1;for(d=d===n?k:d;++y<d;){var j=_o(y,$),Z=c[j];c[j]=c[y],c[y]=Z}return c.length=d,c}var n1=tw(function(c){var d=[];return c.charCodeAt(0)===46&&d.push(""),c.replace(xr,function(y,k,$,j){d.push($?j.replace(st,"$1"):k||y)}),d});function Ba(c){if(typeof c=="string"||En(c))return c;var d=c+"";return d=="0"&&1/c==-K?"-0":d}function vc(c){if(c!=null){try{return Vm.call(c)}catch{}try{return c+""}catch{}}return""}function r2(c,d){return Lt(Xe,function(y){var k="_."+y[0];d&y[1]&&!rs(c,k)&&c.push(k)}),c.sort()}function i2(c){if(c instanceof An)return c.clone();var d=new Eo(c.__wrapped__,c.__chain__);return d.__actions__=hi(c.__actions__),d.__index__=c.__index__,d.__values__=c.__values__,d}function bh(c,d,y){(y?gi(c,d,y):d===n)?d=1:d=Xr(on(d),0);var k=c==null?0:c.length;if(!k||d<1)return[];for(var $=0,j=0,Z=_e(bl(k/d));$<k;)Z[j++]=Jr(c,$,$+=d);return Z}function a2(c){for(var d=-1,y=c==null?0:c.length,k=0,$=[];++d<y;){var j=c[d];j&&($[k++]=j)}return $}function rw(){var c=arguments.length;if(!c)return[];for(var d=_e(c-1),y=arguments[0],k=c;k--;)d[k-1]=arguments[k];return $a(cn(y)?hi(y):[y],Pi(d,1))}var mp=xn(function(c,d){return Ir(c)?Br(c,Pi(d,1,Ir,!0)):[]}),hp=xn(function(c,d){var y=Ro(d);return Ir(y)&&(y=n),Ir(c)?Br(c,Pi(d,1,Ir,!0),zt(y,2)):[]}),Mf=xn(function(c,d){var y=Ro(d);return Ir(y)&&(y=n),Ir(c)?Br(c,Pi(d,1,Ir,!0),n,y):[]});function r1(c,d,y){var k=c==null?0:c.length;return k?(d=y||d===n?1:on(d),Jr(c,d<0?0:d,k)):[]}function o2(c,d,y){var k=c==null?0:c.length;return k?(d=y||d===n?1:on(d),d=k-d,Jr(c,0,d<0?0:d)):[]}function iw(c,d){return c&&c.length?Cf(c,zt(d,3),!0,!0):[]}function aw(c,d){return c&&c.length?Cf(c,zt(d,3),!0):[]}function ow(c,d,y,k){var $=c==null?0:c.length;return $?(y&&
`;c.replace(Je,function(Ht,Sn,Ln,ta,wr,pa){return Ln||(Ln=ta),Fe+=c.slice(De,pa).replace(Xu,v0),Sn&&(J=!0,Fe+=`' +
__e(`+Sn+`) +
'`),wr&&(de=!0,Fe+=`';
`+wr+`;
__p += '`),Ln&&(Fe+=`' +
((__t = (`+Ln+`)) == null ? '' : __t) +
'`),De=pa+Ht.length,Ht}),Fe+=`';
`;var Bt=nr.call(d,"variable")&&d.variable;if(!Bt)Fe=`with (obj) {
`+Fe+`
}
`;else if(Cn.test(Bt))throw new an(p);Fe=(de?Fe.replace(zr,""):Fe).replace(Pn,"$1").replace(Ti,"$1;"),Fe="function("+(Bt||"obj")+`) {
`+(Bt?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(J?", __e = _.escape":"")+(de?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Fe+`return __p
}`;var vn=J2(function(){return Kn(j,bt+"return "+Fe).apply(n,Z)});if(vn.source=Fe,uu(vn))throw vn;return vn}function zC(c){return Jn(c).toLowerCase()}function A1(c){return Jn(c).toUpperCase()}function BC(c,d,y){if(c=Jn(c),c&&(y||d===n))return Ls(c);if(!c||!(d=ca(d)))return c;var k=as(c),$=as(d),j=Fd(k,$),Z=dy(k,$)+1;return Fs(k,j,Z).join("")}function L1(c,d,y){if(c=Jn(c),c&&(y||d===n))return c.slice(0,vy(c)+1);if(!c||!(d=ca(d)))return c;var k=as(c),$=dy(k,as(d))+1;return Fs(k,0,$).join("")}function Q2(c,d,y){if(c=Jn(c),c&&(y||d===n))return c.replace(qi,"");if(!c||!(d=ca(d)))return c;var k=as(c),$=Fd(k,as(d));return Fs(k,$).join("")}function UC(c,d){var y=ae,k=me;if(Rr(d)){var $="separator"in d?d.separator:$;y="length"in d?on(d.length):y,k="omission"in d?ca(d.omission):k}c=Jn(c);var j=c.length;if(af(c)){var Z=as(c);j=Z.length}if(y>=j)return c;var J=y-nc(k);if(J<1)return k;var de=Z?Fs(Z,0,J).join(""):c.slice(0,J);if($===n)return de+k;if(Z&&(J+=de.length-J),kh($)){if(c.slice(J).search($)){var De,Le=de;for($.global||($=vl($.source,Jn(Hn.exec($))+"g")),$.lastIndex=0;De=$.exec(Le);)var Fe=De.index;de=de.slice(0,Fe===n?J:Fe)}}else if(c.indexOf(ca($),J)!=J){var Je=de.lastIndexOf($);Je>-1&&(de=de.slice(0,Je))}return de+k}function jC(c){return c=Jn(c),c&&Ri.test(c)?c.replace(Vn,T4):c}var VC=Rf(function(c,d,y){return c+(y?" ":"")+d.toUpperCase()}),O1=Yy("toUpperCase");function M1(c,d,y){return c=Jn(c),d=y?n:d,d===n?_4(c)?A4(c):m0(c):c.match(d)||[]}var J2=xn(function(c,d){try{return xt(c,n,d)}catch(y){return uu(y)?y:new an(y)}}),HC=Tl(function(c,d){return Lt(d,function(y){y=Ba(y),Ps(c,y,Eh(c[y],c))}),c});function WC(c){var d=c==null?0:c.length,y=zt();return c=d?In(c,function(k){if(typeof k[1]!="function")throw new ro(l);return[y(k[0]),k[1]]}):[],xn(function(k){for(var $=-1;++$<d;){var j=c[$];if(xt(j[0],this,k))return xt(j[1],this,k)}})}function GC(c){return F4(io(c,b))}function P1(c){return function(){return c}}function YC(c,d){return c==null||c!==c?d:c}var qC=qy(),I1=qy(!0);function Va(c){return c}function D1(c){return zy(typeof c=="function"?c:io(c,b))}function ZC(c){return Uy(io(c,b))}function KC(c,d){return z0(c,io(d,b))}var XC=xn(function(c,d){return function(y){return Qd(y,c,d)}}),QC=xn(function(c,d){return function(y){return Qd(c,y,d)}});function $1(c,d,y){var k=bi(d),$=ao(d,k);y==null&&!(Rr(d)&&($.length||!k.length))&&(y=d,d=c,c=this,$=ao(d,bi(d)));var j=!(Rr(y)&&"chain"in y)||!!y.chain,Z=Hs(c);return Lt($,function(J){var de=d[J];c[J]=de,Z&&(c.prototype[J]=function(){var De=this.__chain__;if(j||De){var Le=c(this.__wrapped__),Fe=Le.__actions__=hi(this.__actions__);return Fe.push({func:de,args:arguments,thisArg:c}),Le.__chain__=De,Le}return de.apply(c,$a([this.value()],arguments))})}),c}function JC(){return Xt._===this&&(Xt._=yy),this}function F1(){}function ex(c){return c=on(c),xn(function(d){return Vy(d,c)})}var z1=q0(In),eN=q0(Da),tN=q0(p0);function Dp(c){return vh(c)?Dd(Ba(c)):Nn(c)}function $p(c){return function(d){return c==null?n:Ii(c,d)}}var nN=Z0(),rN=Z0(!0);function B1(){return[]}function U1(){return!1}function iN(){return{}}function aN(){return""}function oN(){return!0}function tx(c,d){if(c=on(c),c<1||c>le)return[];var y=Ee,k=pi(c,Ee);d=zt(d),c-=Ee;for(var $=Bm(k,d);++y<c;)d(y);return $}function sN(c){return cn(c)?In(c,Ba):En(c)?[c]:hi(n1(Jn(c)))}function lN(c){var d=++gy;return Jn(c)+d}var uN=dh(function(c,d){return c+d},0),cN=_l("ceil"),fN=dh(function(c,d){return c/d},1),dN=_l("floor");function pN(c){return c&&c.length?Is(c,Va,M0):n}function mN(c,d){return c&&c.length?Is(c,zt(d,2),M0):n}function hN(c){return fy(c,Va)}function vN(c,d){return fy(c,zt(d,2))}function gN(c){return c&&c.length?Is(c,Va,F0):n}function bN(c,d){return c&&c.length?Is(c,zt(d,2),F0):n}var yN=dh(function(c,d){return c*d},1),xN=_l("round"),SN=dh(function(c,d){return c-d},0);function wN(c){return c&&c.length?rf(c,Va):0}function jf(c,d){return c&&c.length?rf(c,zt(d,2)):0}return B.after=qw,B.ary=m1,B.assign=Ua,B.assignIn=zf,B.assignInWith=Sc,B.assignWith=du,B.at=U2,B.before=T2,B.bind=Eh,B.bindAll=HC,B.bindKey=h1,B.castArray=M2,B.chain=b2,B.chunk=b
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vxe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function gxe(e){if(Array.isArray(e))return V_(e)}function GI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function YI(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?GI(Object(n),!0).forEach(function(i){pV(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function pV(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Mb(e,t){return xxe(e)||yxe(e,t)||mV(e,t)||bxe()}function bxe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mV(e,t){if(!!e){if(typeof e=="string")return V_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return V_(e,t)}}function V_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function yxe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,s=!1,l,p;try{for(n=n.call(e);!(o=(l=n.next()).done)&&(i.push(l.value),!(t&&i.length===t));o=!0);}catch(m){s=!0,p=m}finally{try{!o&&n.return!=null&&n.return()}finally{if(s)throw p}}return i}}function xxe(e){if(Array.isArray(e))return e}var Sxe="file-invalid-type",wxe="file-too-large",Cxe="file-too-small",Nxe="too-many-files",Exe=function(t){t=Array.isArray(t)&&t.length===1?t[0]:t;var n=Array.isArray(t)?"one of ".concat(t.join(", ")):t;return{code:Sxe,message:"File type must be ".concat(n)}},qI=function(t){return{code:wxe,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},ZI=function(t){return{code:Cxe,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},_xe={code:Nxe,message:"Too many files"};function hV(e,t){var n=e.type==="application/x-moz-file"||mxe(e,t);return[n,n?null:Exe(t)]}function vV(e,t,n){if(mm(e.size))if(mm(t)&&mm(n)){if(e.size>n)return[!1,qI(n)];if(e.size<t)return[!1,ZI(t)]}else{if(mm(t)&&e.size<t)return[!1,ZI(t)];if(mm(n)&&e.size>n)return[!1,qI(n)]}return[!0,null]}function mm(e){return e!=null}function Txe(e){var t=e.files,n=e.accept,i=e.minSize,o=e.maxSize,s=e.multiple,l=e.maxFiles,p=e.validator;return!s&&t.length>1||s&&l>=1&&t.length>l?!1:t.every(function(m){var v=hV(m,n),g=Mb(v,1),b=g[0],w=vV(m,i,o),C=Mb(w,1),T=C[0],R=p?p(m):null;return b&&T&&!R})}function v3(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function K5(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 KI(e){e.preventDefault()}function Rxe(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function kxe(e){return e.indexOf("Edge/")!==-1}function Axe(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return Rxe(e)||kxe(e)}function Ru(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(i){for(var o=arguments.length,s=new Array(o>1?o-1:0),l=1;l<o;l++)s[l-1]=arguments[l];return t.some(function(p){return!v3(i)&&p&&p.apply(void 0,[i].concat(s)),v3(i)})}}function Lxe(){return"showOpenFilePicker"in window}function Oxe(e){if(mm(e)){var t=Object.entries(e).filter(function(n){var i=Mb(n,2),o=i[0],s=i[1],l=!0;return gV(o)||(console.warn('Skipped "'.concat(o,'" 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.')),l=!1),(!Array.isArray(s)||!s.every(bV))&&(console.warn('Skipped "'.concat(o,'" because an invalid file extension was provided.')),l=!1),l}).reduce(function(n,i){var o=Mb(i,2),s=o[0],l=o[1];return YI(YI({},n),{},pV({},s,l))},{});return[{accept:t}]}return e}function Mxe(e){if(mm(e))return Object.entries(e).reduce(function(t,n){var i=Mb(n,2),o=i[0],s=i[1];return[].concat(WI(t),[o],WI(s))},[]).filter(function(t){return gV(t)||bV(t)}).join(",")}function Pxe(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function Ixe(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function gV(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function bV(e){return/^.*\.[\w]+$/.test(e)}var Dxe="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/node_modules/react-dropzone/dist/es/index.js",$xe=["child
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Vxe(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Hxe(e){if(Array.isArray(e))return H_(e)}function tE(e,t){return Yxe(e)||Gxe(e,t)||yV(e,t)||Wxe()}function Wxe(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function yV(e,t){if(!!e){if(typeof e=="string")return H_(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H_(e,t)}}function H_(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function Gxe(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,s=!1,l,p;try{for(n=n.call(e);!(o=(l=n.next()).done)&&(i.push(l.value),!(t&&i.length===t));o=!0);}catch(m){s=!0,p=m}finally{try{!o&&n.return!=null&&n.return()}finally{if(s)throw p}}return i}}function Yxe(e){if(Array.isArray(e))return e}function XI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function Zr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?XI(Object(n),!0).forEach(function(i){W_(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function W_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function g3(e,t){if(e==null)return{};var n=qxe(e,t),i,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)i=s[o],!(t.indexOf(i)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,i)||(n[i]=e[i]))}return n}function qxe(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,s;for(s=0;s<i.length;s++)o=i[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var cR=E.exports.forwardRef(function(e,t){var n=e.children,i=g3(e,$xe),o=SV(i),s=o.open,l=g3(o,Fxe);return E.exports.useImperativeHandle(t,function(){return{open:s}},[s]),N(E.exports.Fragment,{children:n(Zr(Zr({},l),{},{open:s}))},void 0,!1,{fileName:Dxe,lineNumber:70,columnNumber:23},this)});cR.displayName="Dropzone";var xV={disabled:!1,getFilesFromEvent:axe,maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};cR.defaultProps=xV;cR.propTypes={children:Pt.exports.func,accept:Pt.exports.objectOf(Pt.exports.arrayOf(Pt.exports.string)),multiple:Pt.exports.bool,preventDropOnDocument:Pt.exports.bool,noClick:Pt.exports.bool,noKeyboard:Pt.exports.bool,noDrag:Pt.exports.bool,noDragEventsBubbling:Pt.exports.bool,minSize:Pt.exports.number,maxSize:Pt.exports.number,maxFiles:Pt.exports.number,disabled:Pt.exports.bool,getFilesFromEvent:Pt.exports.func,onFileDialogCancel:Pt.exports.func,onFileDialogOpen:Pt.exports.func,useFsAccessApi:Pt.exports.bool,autoFocus:Pt.exports.bool,onDragEnter:Pt.exports.func,onDragLeave:Pt.exports.func,onDragOver:Pt.exports.func,onDrop:Pt.exports.func,onDropAccepted:Pt.exports.func,onDropRejected:Pt.exports.func,onError:Pt.exports.func,validator:Pt.exports.func};var G_={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function SV(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Zr(Zr({},xV),e),n=t.accept,i=t.disabled,o=t.getFilesFromEvent,s=t.maxSize,l=t.minSize,p=t.multiple,m=t.maxFiles,v=t.onDragEnter,g=t.onDragLeave,b=t.onDragOver,w=t.onDrop,C=t.onDropAccepted,T=t.onDropRejected,R=t.onFileDialogCancel,L=t.onFileDialogOpen,D=t.useFsAccessApi,P=t.autoFocus,I=t.preventDropOnDocument,F=t.noClick,z=t.noKeyboard,q=t.noDrag,Y=t.noDragEventsBubbling,Q=t.onError,ie=t.validator,ae=E.exports.useMemo(function(){return Mxe(n)},[n]),me=E.exports.useMemo(function(){return Oxe(n)},[n]),ze=E.exports.useMemo(function(){return typeof L=="function"?L:QI},[L]),te=E.exports.useMemo(function(){return typeof R=="function"?R:QI},[
`+T.message,"");p({title:"Upload failed",description:w,status:"error",isClosable:!0})},[p]);return N(Kxe,{fileAcceptedCallback:v,fileRejectionCallback:g,styleClass:o,children:N(Wu,{size:"sm",fontSize:"md",fontWeight:"normal",onMouseOver:s,onMouseOut:l,leftIcon:n,width:"100%",children:t||null},void 0,!1,{fileName:eD,lineNumber:52,columnNumber:7},this)},void 0,!1,{fileName:eD,lineNumber:47,columnNumber:5},this)}var Io="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/src/features/gallery/DeleteImageModal.tsx";const Qxe=Qa(e=>e.system,e=>e.shouldConfirmOnDelete),Y_=E.exports.forwardRef(({image:e,children:t},n)=>{const{isOpen:i,onOpen:o,onClose:s}=QS(),l=wn(),p=yt(Qxe),m=E.exports.useRef(null),v=iy(),g=C=>{C.stopPropagation(),p?o():b()},b=()=>{l(tye(e)),v({title:"Image Deleted",status:"success",duration:2500,isClosable:!0}),s()};ci("del",()=>{p?o():b()},[e,p]);const w=C=>l(Ej(!C.target.checked));return N(Gi,{children:[E.exports.cloneElement(t,{onClick:g,ref:n}),N(tue,{isOpen:i,leastDestructiveRef:m,onClose:s,children:N(Eb,{children:N(nue,{children:[N(TT,{fontSize:"lg",fontWeight:"bold",children:"Delete image"},void 0,!1,{fileName:Io,lineNumber:106,columnNumber:15},void 0),N(n3,{children:N(Nr,{direction:"column",gap:5,children:[N(zo,{children:"Are you sure? You can't undo this action afterwards."},void 0,!1,{fileName:Io,lineNumber:112,columnNumber:19},void 0),N(Ld,{children:N(Nr,{alignItems:"center",children:[N(Am,{mb:0,children:"Don't ask me again"},void 0,!1,{fileName:Io,lineNumber:117,columnNumber:23},void 0),N(l4,{checked:!p,onChange:w},void 0,!1,{fileName:Io,lineNumber:118,columnNumber:23},void 0)]},void 0,!0,{fileName:Io,lineNumber:116,columnNumber:21},void 0)},void 0,!1,{fileName:Io,lineNumber:115,columnNumber:19},void 0)]},void 0,!0,{fileName:Io,lineNumber:111,columnNumber:17},void 0)},void 0,!1,{fileName:Io,lineNumber:110,columnNumber:15},void 0),N(_T,{children:[N(Wu,{ref:m,onClick:s,children:"Cancel"},void 0,!1,{fileName:Io,lineNumber:127,columnNumber:17},void 0),N(Wu,{colorScheme:"red",onClick:b,ml:3,children:"Delete"},void 0,!1,{fileName:Io,lineNumber:130,columnNumber:17},void 0)]},void 0,!0,{fileName:Io,lineNumber:126,columnNumber:15},void 0)]},void 0,!0,{fileName:Io,lineNumber:105,columnNumber:13},void 0)},void 0,!1,{fileName:Io,lineNumber:104,columnNumber:11},void 0)},void 0,!1,{fileName:Io,lineNumber:99,columnNumber:9},void 0)]},void 0,!0)});var im="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/src/features/gallery/InvokePopover.tsx";const tD=({title:e="Popup",styleClass:t,delay:n=50,popoverOptions:i,actionButton:o,children:s})=>N(AT,{trigger:"hover",closeDelay:n,children:[N(PT,{children:N(il,{children:s},void 0,!1,{fileName:im,lineNumber:31,columnNumber:9},void 0)},void 0,!1,{fileName:im,lineNumber:30,columnNumber:7},void 0),N(MT,{className:`popover-content ${t}`,children:[N(LT,{className:"popover-arrow"},void 0,!1,{fileName:im,lineNumber:34,columnNumber:9},void 0),N(VB,{className:"popover-header",children:e},void 0,!1,{fileName:im,lineNumber:35,columnNumber:9},void 0),N("div",{className:"popover-options",children:[i||null,o]},void 0,!0,{fileName:im,lineNumber:36,columnNumber:9},void 0)]},void 0,!0,{fileName:im,lineNumber:33,columnNumber:7},void 0)]},void 0,!0,{fileName:im,lineNumber:29,columnNumber:5},void 0);var xi="/Users/damian/2.current/stablediffusion/stable-diffusion/frontend/src/features/gallery/CurrentImageButtons.tsx";const Jxe=Qa(e=>e.system,e=>({isProcessing:e.isProcessing,isConnected:e.isConnected,isGFPGANAvailable:e.isGFPGANAvailable,isESRGANAvailable:e.isESRGANAvailable}),{memoizeOptions:{resultEqualityCheck:Xa.exports.isEqual}}),wV=({image:e})=>{const t=wn(),n=yt(D=>D.options.shouldShowImageDetails),i=iy(),o=yt(D=>D.gallery.intermediateImage),s=yt(D=>D.options.upscalingLevel),l=yt(D=>D.options.facetoolStrength),{isProcessing:p,isConnected:m,isGFPGANAvailable:v,isESRGANAvailable:g}=yt(Jxe),b=()=>{t(Tm(e.url)),t(Lu(1))};ci("shift+i",()=>{e?(b(),i({title:"Sent To Image To Image",status:"success",duration:2500,isClosable:!0})):i({title:"No Image Loaded",descri