mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
691 lines
1.2 MiB
JavaScript
691 lines
1.2 MiB
JavaScript
|
function iY(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 u of s.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).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 Dc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function aY(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var E={exports:{}},$7={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"),u=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"),C=Symbol.for("react.suspense_list"),w=Symbol.for("react.memo"),T=Symbol.for("react.lazy"),A=Symbol.for("react.offscreen"),k=Symbol.iterator,I="@@iterator";function D(S){if(S===null||typeof S!="object")return null;var L=k&&S[k]||S[I];return typeof L=="function"?L:null}var P={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 L=Y.getCurrentStack;return L&&(S+=L()||""),S};var ae=!1,pe=!1,$e=!1,te=!1,ee=!1,be={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:F,ReactCurrentOwner:q};be.ReactDebugCurrentFrame=Y,be.ReactCurrentActQueue=z;function Ce(S){{for(var L=arguments.length,V=new Array(L>1?L-1:0),G=1;G<L;G++)V[G-1]=arguments[G];le("warn",S,V)}}function K(S){{for(var L=arguments.length,V=new Array(L>1?L-1:0),G=1;G<L;G++)V[G-1]=arguments[G];le("error",S,V)}}function le(S,L,V){{var G=be.ReactDebugCurrentFrame,se=G.getStackAddendum();se!==""&&(L+="%s",V=V.concat([se]));var ze=V.map(function(Ee){return String(Ee)});ze.unshift("Warning: "+L),Function.prototype.apply.call(console[S],console,ze)}}var ve={};function de(S,L){{var V=S.constructor,G=V&&(V.displayName||V.name)||"ReactClass",se=G+"."+L;if(ve[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.",L,G),ve[se]=!0}}var we={isMounted:function(S){return!1},enqueueForceUpdate:function(S,L,V){de(S,"forceUpdate")},enqueueReplaceState:function(S,L,V,G){de(S,"replaceState")},enqueueSetState:function(S,L,V,G){de(S,"setState")}},Le=Object.assign,Me={};Object.freeze(Me);function Ze(S,L,V){this.props=S,this.context=L,this.refs=Me,this.updater=V||we}Ze.prototype.isReactComponent={},Ze.prototype.setState=function(S,L){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,L,"setState")},Ze.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};{var Je={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)."]},it=function(S,L){Object.defineProperty(Ze.prototype,S,{get:function(){Ce("%s(...) is deprecated in plain JavaScript React classes. %s",L[0],L[1])}})};for(var Rt in Je)Je.hasOwnProperty(Rt)&&it(Rt,Je[Rt])}function Ve(){}Ve.prototype=Ze.prototype;function at(S,L,V){this.props=S,this.context=L,this.refs=Me,this.updater=V||we}var St=at.prototype=new Ve;St.constructor=at,Le(St,Ze.prototype),St.isPureReactComponent=!0;function Dt(){var S={current:null};return Object.seal(S),S}var He=Array.isArray;function jt(S){return He(S)}function Se(S){{var L=typeof Symbol=="function"&&Symbol.toStringTag,V=L&&S[Symbol.toStringTag]||S.constructor.name||"Object";return V}}function tt(S){try{return Ct(S),!1}catch{return!0}}function Ct(S){return""+S}function nt(S){if(tt(S))return K("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Se(S)),Ct(S)}function on(S,L,V){var G=S.displayName;if(G)return G;var se=L.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 Ue(S){var L={_status:hr,_result:S},V={$$typeof:T,_payload:L,_init:X};{var G,se;Object.defineProperties(V,{defaultProps:{configurable:!0,get:function(){return G},set:function(ze){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=ze,Object.defineProperty(V,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return se},set:function(ze){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=ze,Object.defineProperty(V,"propTypes",{enumerable:!0})}}})}return V}function Xe(S){S!=null&&S.$$typeof===w?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 L={$$typeof:g,render:S};{var V;Object.defineProperty(L,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function(G){V=G,!S.name&&!S.displayName&&(S.displayName=G)}})}return L}var Et;Et=Symbol.for("react.module.reference");function ln(S){return!!(typeof S=="string"||typeof S=="function"||S===s||S===p||ee||S===u||S===b||S===C||te||S===A||ae||pe||$e||typeof S=="object"&&S!==null&&(S.$$typeof===T||S.$$typeof===w||S.$$typeof===m||S.$$typeof===v||S.$$typeof===g||S.$$typeof===Et||S.getModuleId!==void 0))}function Cn(S,L){ln(S)||K("memo: The first argument must be a component. Instead received: %s",S===null?"null":typeof S);var V={$$typeof:w,type:S,compare:L===void 0?null:L};{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 ot(){var S=P.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 Zt(S){var L=ot();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 L.useContext(S)}function Vn(S){var L=ot();return L.useState(S)}function Bn(S,L,V){var G=ot();return G.useReducer(S,L,V)}function cn(S){var L=ot();return L.useRef(S)}function Wr(S,L){var V=ot();return V.useEffect(S,L)}function Ea(S,L){var V=ot();return V.useInsertionEffect(S,L)}function Vo(S,L){var V=ot();return V.useLayoutEffect(S,L)}function Ei(S,L){var V=ot();return V.useCallback(S,L)}function go(S,L){var V=ot();return V.useMemo(S,L)}function Hu(S,L,V){var G=ot();return G.useImperativeHandle(S,L,V)}function _a(S,L){{var V=ot();return V.useDebugValue(S,L)}}function al(){var S=ot();return S.useTransition()}function Za(S){var L=ot();return L.useDeferredValue(S)}function en(){var S=ot();return S.useId()}function Ka(S,L,V){var G=ot();return G.useSyncExternalStore(S,L,V)}var _i=0,Ho,ys,Wo,xs,Ss,Go,Yo;function Cs(){}Cs.__reactDisabledLog=!0;function ol(){{if(_i===0){Ho=console.log,ys=console.info,Wo=console.warn,xs=console.error,Ss=console.group,Go=console.groupCollapsed,Yo=console.groupEnd;var S={configurable:!0,enumerable:!0,value:Cs,writable:!0};Object.defineProperties(console,{info:S,log:S,warn:S,error:S,group:S,groupCollapsed:S,groupEnd:S})}_i++}}function sl(){{if(_i--,_i===0){var S={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Le({},S,{value:Ho}),info:Le({},S,{value:ys}),warn:Le({},S,{value:Wo}),error:Le({},S,{value:xs}),group:Le({},S,{value:Ss}),groupCollapsed:Le({},S,{value:Go}),groupEnd:Le({},S,{value:Yo})})}_i<0&&K("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ta=be.ReactCurrentDispatcher,Br;function Wi(S,L,V){{if(Br===void 0)try{throw Error()}catch(se){var G=se.stack.trim().match(/\n( *(at )?)/);Br=G&&G[1]||""}return`
|
||
|
`+Br+S}}var Ti=!1,Gi;{var ws=typeof WeakMap=="function"?WeakMap:Map;Gi=new ws}function qo(S,L){if(!S||Ti)return"";{var V=Gi.get(S);if(V!==void 0)return V}var G;Ti=!0;var se=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ze;ze=Ta.current,Ta.current=null,ol();try{if(L){var Ee=function(){throw Error()};if(Object.defineProperty(Ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ee,[])}catch(Ut){G=Ut}Reflect.construct(S,[],Ee)}else{try{Ee.call()}catch(Ut){G=Ut}S.call(Ee.prototype)}}else{try{throw Error()}catch(Ut){G=Ut}S()}}catch(Ut){if(Ut&&G&&typeof Ut.stack=="string"){for(var Ge=Ut.stack.split(`
|
||
|
`),ct=G.stack.split(`
|
||
|
`),wt=Ge.length-1,It=ct.length-1;wt>=1&&It>=0&&Ge[wt]!==ct[It];)It--;for(;wt>=1&&It>=0;wt--,It--)if(Ge[wt]!==ct[It]){if(wt!==1||It!==1)do if(wt--,It--,It<0||Ge[wt]!==ct[It]){var yt=`
|
||
|
`+Ge[wt].replace(" at new "," at ");return S.displayName&&yt.includes("<anonymous>")&&(yt=yt.replace("<anonymous>",S.displayName)),typeof S=="function"&&Gi.set(S,yt),yt}while(wt>=1&&It>=0);break}}}finally{Ti=!1,Ta.current=ze,sl(),Error.prepareStackTrace=se}var Wt=S?S.displayName||S.name:"",Ot=Wt?Wi(Wt):"";return typeof S=="function"&&Gi.set(S,Ot),Ot}function Ns(S,L,V){return qo(S,!1)}function Yl(S){var L=S.prototype;return!!(L&&L.isReactComponent)}function Ri(S,L,V){if(S==null)return"";if(typeof S=="function")return qo(S,Yl(S));if(typeof S=="string")return Wi(S);switch(S){case b:return Wi("Suspense");case C:return Wi("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case g:return Ns(S.render);case w:return Ri(S.type,L,V);case T:{var G=S,se=G._payload,ze=G._init;try{return Ri(ze(se),L,V)}catch{}}}return""}var Zo={},Yi=be.ReactDebugCurrentFrame;function Ra(S){if(S){var L=S._owner,V=Ri(S.type,S._source,L?L.type:null);Yi.setExtraStackFrame(V)}else Yi.setExtraStackFrame(null)}function ll(S,L,V,G,se){{var ze=Function.call.bind(sn);for(var Ee in S)if(ze(S,Ee)){var Ge=void 0;try{if(typeof S[Ee]!="function"){var ct=Error((G||"React class")+": "+V+" type `"+Ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof S[Ee]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ct.name="Invariant Violation",ct}Ge=S[Ee](L,Ee,G,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(wt){Ge=wt}Ge&&!(Ge instanceof Error)&&(Ra(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,Ee,typeof Ge),Ra(null)),Ge instanceof Error&&!(Ge.message in Zo)&&(Zo[Ge.message]=!0,Ra(se),K("Failed %s type: %s",V,Ge.message),Ra(null))}}}function fn(S){if(S){var L=S._owner,V=Ri(S.type,S._source,L?L.type:null);ie(V)}else ie(null)}var Aa;Aa=!1;function Ko(){if(q.current){var S=_t(q.current.type);if(S)return`
|
||
|
|
||
|
Check the render method of \``+S+"`."}return""}function Ht(S){if(S!==void 0){var L=S.fileName.replace(/^.*[\\\/]/,""),V=S.lineNumber;return`
|
||
|
|
||
|
Check your code at `+L+":"+V+"."}return""}function ul(S){return S!=null?Ht(S.__source):""}var Sr={};function Xa(S){var L=Ko();if(!L){var V=typeof S=="string"?S:S.displayName||S.name;V&&(L=`
|
||
|
|
||
|
Check the top-level render call using <`+V+">.")}return L}function na(S,L){if(!(!S._store||S._store.validated||S.key!=null)){S._store.validated=!0;var V=Xa(L);if(!Sr[V]){Sr[V]=!0;var G="";S&&S._owner&&S._owner!==q.current&&(G=" It was passed a child from "+_t(S._owner.type)+"."),fn(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),fn(null)}}}function bo(S,L){if(typeof S=="object"){if(jt(S))for(var V=0;V<S.length;V++){var G=S[V];Jt(G)&&na(G,L)}else if(Jt(S))S._store&&(S._store.validated=!0);else if(S){var se=D(S);if(typeof se=="function"&&se!==S.entries)for(var ze=se.call(S),Ee;!(Ee=ze.next()).done;)Jt(Ee.value)&&na(Ee.value,L)}}}function Or(S){{var L=S.type;if(L==null||typeof L=="string")return;var V;if(typeof L=="function")V=L.propTypes;else if(typeof L=="object"&&(L.$$typeof===g||L.$$typeof===w))V=L.propTypes;else return;if(V){var G=_t(L);ll(V,S.props,"prop",G,S)}else if(L.PropTypes!==void 0&&!Aa){Aa=!0;var se=_t(L);K("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",se||"Unknown")}typeof L.getDefaultProps=="function"&&!L.getDefaultProps.isReactClassApproved&&K("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ar(S){{for(var L=Object.keys(S.props),V=0;V<L.length;V++){var G=L[V];if(G!=="children"&&G!=="key"){fn(S),K("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",G),fn(null);break}}S.ref!==null&&(fn(S),K("Invalid attribute `ref` supplied to `React.Fragment`."),fn(null))}}function Xo(S,L,V){var G=ln(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 ze=ul(L);ze?se+=ze:se+=Ko();var Ee;S===null?Ee="null":jt(S)?Ee="array":S!==void 0&&S.$$typeof===i?(Ee="<"+(_t(S.type)||"Unknown")+" />",se=" Did you accidentally export a JSX literal instead of a component?"):Ee=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",Ee,se)}var Ge=lt.apply(this,arguments);if(Ge==null)return Ge;if(G)for(var ct=2;ct<arguments.length;ct++)bo(arguments[ct],S);return S===s?ar(Ge):Or(Ge),Ge}var Jr=!1;function mr(S){var L=Xo.bind(null,S);return L.type=S,Jr||(Jr=!0,Ce("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(L,"type",{enumerable:!1,get:function(){return Ce("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:S}),S}}),L}function li(S,L,V){for(var G=vn.apply(this,arguments),se=2;se<arguments.length;se++)bo(arguments[se],G.type);return Or(G),G}function Wu(S,L){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&&Ce("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 yo=!1,Oa=null;function cl(S){if(Oa===null)try{var L=("require"+Math.random()).slice(0,7),V=e&&e[L];Oa=V.call(e,"timers").setImmediate}catch{Oa=function(se){yo===!1&&(yo=!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 ze=new MessageChannel;ze.port1.onmessage=se,ze.port2.postMessage(void 0)}}return Oa(S)}var gn=0,Fn=!1;function ql(S){{var L=gn;gn++,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(We,lt){var At=We.length;We.push(lt),p(We,lt,At)}function s(We){return We.length===0?null:We[0]}function u(We){if(We.length===0)return null;var lt=We[0],At=We.pop();return At!==lt&&(We[0]=At,m(We,At,0)),lt}function p(We,lt,At){for(var vn=At;vn>0;){var Jt=vn-1>>>1,Tn=We[Jt];if(v(Tn,lt)>0)We[Jt]=lt,We[vn]=Tn,vn=Jt;else return}}function m(We,lt,At){for(var vn=At,Jt=We.length,Tn=Jt>>>1;vn<Tn;){var $n=(vn+1)*2-1,Dr=We[$n],Mn=$n+1,wi=We[Mn];if(v(Dr,lt)<0)Mn<Jt&&v(wi,Dr)<0?(We[vn]=wi,We[Mn]=lt,vn=Mn):(We[vn]=Dr,We[$n]=lt,vn=$n);else if(Mn<Jt&&v(wi,lt)<0)We[vn]=wi,We[Mn]=lt,vn=Mn;else return}}function v(We,lt){var At=We.sortIndex-lt.sortIndex;return At!==0?At:We.id-lt.id}var g=1,b=2,C=3,w=4,T=5;function A(We,lt){}var k=typeof performance=="object"&&typeof performance.now=="function";if(k){var I=performance;e.unstable_now=function(){return I.now()}}else{var D=Date,P=D.now();e.unstable_now=function(){return D.now()-P}}var F=1073741823,z=-1,q=250,Y=5e3,Q=1e4,ie=F,ae=[],pe=[],$e=1,te=null,ee=C,be=!1,Ce=!1,K=!1,le=typeof setTimeout=="function"?setTimeout:null,ve=typeof clearTimeout=="function"?clearTimeout:null,de=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function we(We){for(var lt=s(pe);lt!==null;){if(lt.callback===null)u(pe);else if(lt.startTime<=We)u(pe),lt.sortIndex=lt.expirationTime,o(ae,lt);else return;lt=s(pe)}}function Le(We){if(K=!1,we(We),!Ce)if(s(ae)!==null)Ce=!0,nn(Me);else{var lt=s(pe);lt!==null&&Pt(Le,lt.startTime-We)}}function Me(We,lt){Ce=!1,K&&(K=!1,De()),be=!0;var At=ee;try{var vn;if(!n)return Ze(We,lt)}finally{te=null,ee=At,be=!1}}function Ze(We,lt){var At=lt;for(we(At),te=s(ae);te!==null&&!t&&!(te.expirationTime>At&&(!We||Ln()));){var vn=te.callback;if(typeof vn=="function"){te.callback=null,ee=te.priorityLevel;var Jt=te.expirationTime<=At,Tn=vn(Jt);At=e.unstable_now(),typeof Tn=="function"?te.callback=Tn:te===s(ae)&&u(ae),we(At)}else u(ae);te=s(ae)}if(te!==null)return!0;var $n=s(pe);return $n!==null&&Pt(Le,$n.startTime-At),!1}function Je(We,lt){switch(We){case g:case b:case C:case w:case T:break;default:We=C}var At=ee;ee=We;try{return lt()}finally{ee=At}}function it(We){var lt;switch(ee){case g:case b:case C:lt=C;break;default:lt=ee;break}var At=ee;ee=lt;try{return We()}finally{ee=At}}function Rt(We){var lt=ee;return function(){var At=ee;ee=lt;try{return We.apply(this,arguments)}finally{ee=At}}}function Ve(We,lt,At){var vn=e.unstable_now(),Jt;if(typeof At=="object"&&At!==null){var Tn=At.delay;typeof Tn=="number"&&Tn>0?Jt=vn+Tn:Jt=vn}else Jt=vn;var $n;switch(We){case g:$n=z;break;case b:$n=q;break;case T:$n=ie;break;case w:$n=Q;break;case C:default:$n=Y;break}var Dr=Jt+$n,Mn={id:$e++,callback:lt,priorityLevel:We,startTime:Jt,expirationTime:Dr,sortIndex:-1};return Jt>vn?(Mn.sortIndex=Jt,o(pe,Mn),s(ae)===null&&Mn===s(pe)&&(K?De():K=!0,Pt(Le,Jt-vn))):(Mn.sortIndex=Dr,o(ae,Mn),!Ce&&!be&&(Ce=!0,nn(Me))),Mn}function at(){}function St(){!Ce&&!be&&(Ce=!0,nn(Me))}function Dt(){return s(ae)}function He(We){We.callback=null}function jt(){return ee}var Se=!1,tt=null,Ct=-1,nt=i,on=-1;function Ln(){var We=e.unstable_now()-on;return!(We<nt)}function _t(){}function sn(We){if(We<0||We>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}We>0?nt=Math.floor(1e3/We):nt=i}var kn=function(){if(tt!==null){var We=e.unstable_now();on=We;var lt=!0,At=!0;try{At=tt(lt,We)}finally{At?bn():(Se=!1,tt=null)}}else Se=!1},bn;if(typeof de=="function")bn=function(){de(kn)};else if(typeof MessageChannel<"u"){var Ye=new MessageChannel,et=Ye.port2;Ye.port1.onmessage=kn,bn=function(){et.postMessage(null)}}else bn=function(){le(kn,0)};function nn(We){tt=We,Se||(Se=
|
||
|
* @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=YP.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,l=new Array(a>1?a-1:0),f=1;f<a;f++)l[f-1]=arguments[f];p("warn",r,l)}}function u(r){if(!i){for(var a=arguments.length,l=new Array(a>1?a-1:0),f=1;f<a;f++)l[f-1]=arguments[f];p("error",r,l)}}function p(r,a,l){{var f=n.ReactDebugCurrentFrame,h=f.getStackAddendum();h!==""&&(a+="%s",l=l.concat([h]));var x=l.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,C=4,w=5,T=6,A=7,k=8,I=9,D=10,P=11,F=12,z=13,q=14,Y=15,Q=16,ie=17,ae=18,pe=19,$e=21,te=22,ee=23,be=24,Ce=25,K=!0,le=!1,ve=!1,de=!1,we=!1,Le=!0,Me=!1,Ze=!1,Je=!0,it=!0,Rt=!0,Ve=new Set,at={},St={};function Dt(r,a){He(r,a),He(r+"Capture",a)}function He(r,a){at[r]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",r),at[r]=a;{var l=r.toLowerCase();St[l]=r,r==="onDoubleClick"&&(St.ondblclick=r)}for(var f=0;f<a.length;f++)Ve.add(a[f])}var jt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Se=Object.prototype.hasOwnProperty;function tt(r){{var a=typeof Symbol=="function"&&Symbol.toStringTag,l=a&&r[Symbol.toStringTag]||r.constructor.name||"Object";return l}}function Ct(r){try{return nt(r),!1}catch{return!0}}function nt(r){return""+r}function on(r,a){if(Ct(r))return u("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",a,tt(r)),nt(r)}function Ln(r){if(Ct(r))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",tt(r)),nt(r)}function _t(r,a){if(Ct(r))return u("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",a,tt(r)),nt(r)}function sn(r,a){if(Ct(r))return u("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",a,tt(r)),nt(r)}function kn(r){if(Ct(r))return u("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",tt(r)),nt(r)}function bn(r){if(Ct(r))return u("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.",tt(r)),nt(r)}var Ye=0,et=1,nn=2,Pt=3,De=4,qt=5,_n=6,We=":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",lt=We+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",At=new RegExp("^["+We+"]["+lt+"]*$"),vn={},Jt={};function Tn(r){return Se.call(Jt,r)?!0:Se.call(vn,r)?!1:At.test(r)?(Jt[r]=!0,!0):(vn[r]=!0,u("Invalid attribute name: `%s`",r),!1)}function $n(r,a,l){return a!==null?a.type===Ye:l?!1:r.length>2&&(r[0]==="o"||r[0]==="O")&&(r[1]==="n"||r[1]==="N")}function Dr(r,a,l,f){if(l!==null&&l.type===Ye)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":{if(f)return!1;if(l!==null)return!l.acceptsBooleans;var h=r.toLowerCase().slice(0,5);return h!=="data-"&&h!=="aria-"}default:return!1}}function Mn(r,a,l,f){if(a===null||typeof a>"u"||Dr(r,a,l,f))return!0;if(f)return!1;if(l!==null)switch(l.type){case Pt:return!a;case De:return a===!1;case qt:return isNaN(a);case _n:return isNaN(a)||a<1}return!1}function wi(r){return Rn.hasOwnProperty(r)?Rn[r]:null}function jn(r,a,l,f,h,x,_){this.acceptsBooleans=a===nn||a===Pt||a===De,this.attributeName=f,this.attributeNamespace=h,this.mustUseProperty=l,this.propertyName=r,this.type=a,this.sanitizeURL=x,this.removeEmptyString=_}var Rn={},Ni=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML"
|
||
|
`+Ta+r}}var Wi=!1,Ti;{var Gi=typeof WeakMap=="function"?WeakMap:Map;Ti=new Gi}function ws(r,a){if(!r||Wi)return"";{var l=Ti.get(r);if(l!==void 0)return l}var f;Wi=!0;var h=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var x;x=sl.current,sl.current=null,Cs();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(xe){f=xe}Reflect.construct(r,[],_)}else{try{_.call()}catch(xe){f=xe}r.call(_.prototype)}}else{try{throw Error()}catch(xe){f=xe}r()}}catch(xe){if(xe&&f&&typeof xe.stack=="string"){for(var O=xe.stack.split(`
|
||
|
`),M=f.stack.split(`
|
||
|
`),U=O.length-1,H=M.length-1;U>=1&&H>=0&&O[U]!==M[H];)H--;for(;U>=1&&H>=0;U--,H--)if(O[U]!==M[H]){if(U!==1||H!==1)do if(U--,H--,H<0||O[U]!==M[H]){var oe=`
|
||
|
`+O[U].replace(" at new "," at ");return r.displayName&&oe.includes("<anonymous>")&&(oe=oe.replace("<anonymous>",r.displayName)),typeof r=="function"&&Ti.set(r,oe),oe}while(U>=1&&H>=0);break}}}finally{Wi=!1,sl.current=x,ol(),Error.prepareStackTrace=h}var re=r?r.displayName||r.name:"",ye=re?Br(re):"";return typeof r=="function"&&Ti.set(r,ye),ye}function qo(r,a,l){return ws(r,!0)}function Ns(r,a,l){return ws(r,!1)}function Yl(r){var a=r.prototype;return!!(a&&a.isReactComponent)}function Ri(r,a,l){if(r==null)return"";if(typeof r=="function")return ws(r,Yl(r));if(typeof r=="string")return Br(r);switch(r){case Zt:return Br("Suspense");case Vn:return Br("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case ot:return Ns(r.render);case Bn:return Ri(r.type,a,l);case cn:{var f=r,h=f._payload,x=f._init;try{return Ri(x(h),a,l)}catch{}}}return""}function Zo(r){switch(r._debugOwner&&r._debugOwner.type,r._debugSource,r.tag){case w:return Br(r.type);case Q:return Br("Lazy");case z:return Br("Suspense");case pe:return Br("SuspenseList");case m:case g:case Y:return Ns(r.type);case P:return Ns(r.type.render);case v:return qo(r.type);default:return""}}function Yi(r){try{var a="",l=r;do a+=Zo(l),l=l.return;while(l);return a}catch(f){return`
|
||
|
Error generating stack: `+f.message+`
|
||
|
`+f.stack}}function Ra(r,a,l){var f=r.displayName;if(f)return f;var h=a.displayName||a.name||"";return h!==""?l+"("+h+")":l}function ll(r){return r.displayName||"Context"}function fn(r){if(r==null)return null;if(typeof r.tag=="number"&&u("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 Ue:return"Fragment";case X:return"Portal";case Et:return"Profiler";case Xe:return"StrictMode";case Zt:return"Suspense";case Vn:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case Cn:var a=r;return ll(a)+".Consumer";case ln:var l=r;return ll(l._context)+".Provider";case ot:return Ra(r,r.render,"ForwardRef");case Bn:var f=r.displayName||null;return f!==null?f:fn(r.type)||"Memo";case cn:{var h=r,x=h._payload,_=h._init;try{return fn(_(x))}catch{return null}}}return null}function Aa(r,a,l){var f=a.displayName||a.name||"";return r.displayName||(f!==""?l+"("+f+")":l)}function Ko(r){return r.displayName||"Context"}function Ht(r){var a=r.tag,l=r.type;switch(a){case be:return"Cache";case I:var f=l;return Ko(f)+".Consumer";case D:var h=l;return Ko(h._context)+".Provider";case ae:return"DehydratedFragment";case P:return Aa(l,l.render,"ForwardRef");case A:return"Fragment";case w:return l;case C:return"Portal";case b:return"Root";case T:return"Text";case Q:return fn(l);case k:return l===Xe?"StrictMode":"Mode";case te:return"Offscreen";case F:return"Profiler";case $e:return"Scope";case z:return"Suspense";case pe:return"SuspenseList";case Ce:return"TracingMarker";case v:case m:case ie:case g:case q:case Y:if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;break}return null}var ul=n.ReactDebugCurrentFrame,Sr=null,Xa=!1;function na(){{if(Sr===null)return null;var r=Sr._debugOwner;if(r!==null&&typeof r<"u")return Ht(r)}return null}function bo(){return Sr===null?"":Yi(Sr)}function Or(){ul.getCurrentStack=null,Sr=null,Xa=!1}function ar(r){ul.getCurrentStack=r===null?null:bo,Sr=r,Xa=!1}function Xo(){return Sr}function Jr(r){Xa=r}function mr(r){return""+r}function li(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return bn(r),r;default:return""}}var Wu={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function yo(r,a){Wu[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||u("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||u("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 Oa(r){var a=r.type,l=r.nodeName;return l&&l.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function cl(r){return r._valueTracker}function gn(r){r._valueTracker=null}function Fn(r){var a="";return r&&(Oa(r)?a=r.checked?"true":"false":a=r.value),a}function ql(r){var a=Oa(r)?"checked":"value",l=Object.getOwnPropertyDescriptor(r.constructor.prototype,a);bn(r[a]);var f=""+r[a];if(!(r.hasOwnProperty(a)||typeof l>"u"||typeof l.get!="function"||typeof l.set!="function")){var h=l.get,x=l.set;Object.defineProperty(r,a,{configurable:!0,get:function(){return h.call(this)},set:function(O){bn(O),f=""+O,x.call(this,O)}}),Object.defineProperty(r,a,{enumerable:l.enumerable});var _={getValue:function(){return f},setValue:function(O){bn(O),f=""+O},stopTracking:function(){gn(r),delete r[a]}};return _}}function qi(r){cl(r)||(r._valueTracker=ql(r))}function W(r){if(!r)return!1;var a=cl(r);if(!a)return!0;var l=a.getValue(),f=Fn(r);return f!==l?(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 ge=!
|
||
|
|
||
|
Check the render method of \``+r+"`.":""}var Qo=["value","defaultValue"];function Gu(r){{yo("select",r);for(var a=0;a<Qo.length;a++){var l=Qo[a];if(r[l]!=null){var f=Ut(r[l]);r.multiple&&!f?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",l,Ai()):!r.multiple&&f&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",l,Ai())}}}}function Dn(r,a,l,f){var h=r.options;if(a){for(var x=l,_={},O=0;O<x.length;O++)_["$"+x[O]]=!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=mr(li(l)),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 ka(r,a){return en({},a,{value:void 0})}function Es(r,a){var l=r;Gu(a),l._wrapperState={wasMultiple:!!a.multiple},a.value!==void 0&&a.defaultValue!==void 0&&!La&&(u("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"),La=!0)}function _d(r,a){var l=r;l.multiple=!!a.multiple;var f=a.value;f!=null?Dn(l,!!a.multiple,f,!1):a.defaultValue!=null&&Dn(l,!!a.multiple,a.defaultValue,!0)}function i0(r,a){var l=r,f=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!a.multiple;var h=a.value;h!=null?Dn(l,!!a.multiple,h,!1):f!==!!a.multiple&&(a.defaultValue!=null?Dn(l,!!a.multiple,a.defaultValue,!0):Dn(l,!!a.multiple,a.multiple?[]:"",!1))}function Z3(r,a){var l=r,f=a.value;f!=null&&Dn(l,!!a.multiple,f,!1)}var Qb=!1;function a0(r,a){var l=r;if(a.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var f=en({},a,{value:void 0,defaultValue:void 0,children:mr(l._wrapperState.initialValue)});return f}function o0(r,a){var l=r;yo("textarea",a),a.value!==void 0&&a.defaultValue!==void 0&&!Qb&&(u("%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",na()||"A component"),Qb=!0);var f=a.value;if(f==null){var h=a.children,x=a.defaultValue;if(h!=null){u("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(Ut(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}l._wrapperState={initialValue:li(f)}}function Td(r,a){var l=r,f=li(a.value),h=li(a.defaultValue);if(f!=null){var x=mr(f);x!==l.value&&(l.value=x),a.defaultValue==null&&l.defaultValue!==x&&(l.defaultValue=x)}h!=null&&(l.defaultValue=mr(h))}function Yu(r,a){var l=r,f=l.textContent;f===l._wrapperState.initialValue&&f!==""&&f!==null&&(l.value=f)}function K3(r,a){Td(r,a)}var _s="http://www.w3.org/1999/xhtml",Jb="http://www.w3.org/1998/Math/MathML",Rd="http://www.w3.org/2000/svg";function Ad(r){switch(r){case"svg":return Rd;case"math":return Jb;default:return _s}}function Om(r,a){return r==null||r===_s?Ad(a):r===Rd&&a==="foreignObject"?_s:r}var X3=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,l,f,h){MSApp.execUnsafeLocalFunction(function(){return r(a,l,f,h)})}:r},qc,Lm=X3(function(r,a){if(r.namespaceURI===Rd&&!("innerHTML"in r)){qc=qc||document.createElement("div"),qc.innerHTML="<svg>"+a.valueOf().toString()+"</svg>";for(var l=qc.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;l.firstChild;)r.appendChild(l.firstChild);return}r.innerHTML=a}),Ma=1,Ts=3,Hn=8,Jo=9,qu=11,Od=function(r,a){if(a){var l=r.firstChild;if(l&&l===r.lastChild&&l.nodeType===Ts){l.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 bC(r){if(!jt)return!1;var a="on"+r,l=a in document;if(!l){var f=document.createElement("div");f.setAttribute(a,"return;"),l=typeof f[a]=="function"}return l}function yC(){Dt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function m2(r,a,l,f){uy(f);var h=an(a,"onChange");if(h.length>0){var x=new fp("onChange","change",null,l,f);r.push({event:x,listeners:h})}}var hp=null,vp=null;function xC(r){var a=r.nodeName&&r.nodeName.toLowerCase();return a==="select"||a==="input"&&r.type==="file"}function SC(r){var a=[];m2(a,vp,r,c0(r)),py(CC,a)}function CC(r){c1(r,0)}function cc(r){var a=gt(r);if(W(a))return r}function wC(r,a){if(r==="change")return a}var a1=!1;jt&&(a1=bC("input")&&(!document.documentMode||document.documentMode>9));function h2(r,a){hp=r,vp=a,hp.attachEvent("onpropertychange",o1)}function vh(){!hp||(hp.detachEvent("onpropertychange",o1),hp=null,vp=null)}function o1(r){r.propertyName==="value"&&cc(vp)&&SC(r)}function v2(r,a,l){r==="focusin"?(vh(),h2(a,l)):r==="focusout"&&vh()}function g2(r,a){if(r==="selectionchange"||r==="keyup"||r==="keydown")return cc(vp)}function b2(r){var a=r.nodeName;return a&&a.toLowerCase()==="input"&&(r.type==="checkbox"||r.type==="radio")}function NC(r,a){if(r==="click")return cc(a)}function EC(r,a){if(r==="input"||r==="change")return cc(a)}function _C(r){var a=r._wrapperState;!a||!a.controlled||r.type!=="number"||Ge(r,"number",r.value)}function gh(r,a,l,f,h,x,_){var O=l?gt(l):window,M,U;if(xC(O)?M=wC:p2(O)?a1?M=EC:(M=g2,U=v2):b2(O)&&(M=NC),M){var H=M(a,l);if(H){m2(r,H,f,h);return}}U&&U(a,O,l),a==="focusout"&&_C(O)}function bh(){He("onMouseEnter",["mouseout","mouseover"]),He("onMouseLeave",["mouseout","mouseover"]),He("onPointerEnter",["pointerout","pointerover"]),He("onPointerLeave",["pointerout","pointerover"])}function TC(r,a,l,f,h,x,_){var O=a==="mouseover"||a==="pointerover",M=a==="mouseout"||a==="pointerout";if(O&&!zm(f)){var U=f.relatedTarget||f.fromElement;if(U&&(Ie(U)||Oe(U)))return}if(!(!M&&!O)){var H;if(h.window===h)H=h;else{var oe=h.ownerDocument;oe?H=oe.defaultView||oe.parentWindow:H=window}var re,ye;if(M){var xe=f.relatedTarget||f.toElement;if(re=l,ye=xe?Ie(xe):null,ye!==null){var Te=tc(ye);(ye!==Te||ye.tag!==w&&ye.tag!==T)&&(ye=null)}}else re=null,ye=l;if(re!==ye){var mt=n2,Lt="onMouseLeave",Nt="onMouseEnter",In="mouse";(a==="pointerout"||a==="pointerover")&&(mt=a2,Lt="onPointerLeave",Nt="onPointerEnter",In="pointer");var En=re==null?H:gt(re),me=ye==null?H:gt(ye),Re=new mt(Lt,In+"leave",re,f,h);Re.target=En,Re.relatedTarget=me;var he=null,qe=Ie(h);if(qe===l){var ht=new mt(Nt,In+"enter",ye,f,h);ht.target=me,ht.relatedTarget=En,he=ht}WC(r,Re,he,re,ye)}}}function RC(r,a){return r===a&&(r!==0||1/r===1/a)||r!==r&&a!==a}var la=typeof Object.is=="function"?Object.is:RC;function Tf(r,a){if(la(r,a))return!0;if(typeof r!="object"||r===null||typeof a!="object"||a===null)return!1;var l=Object.keys(r),f=Object.keys(a);if(l.length!==f.length)return!1;for(var h=0;h<l.length;h++){var x=l[h];if(!Se.call(a,x)||!la(r[x],a[x]))return!1}return!0}function y2(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function AC(r){for(;r;){if(r.nextSibling)return r.nextSibling;r=r.parentNode}}function x2(r,a){for(var l=y2(r),f=0,h=0;l;){if(l.nodeType===Ts){if(h=f+l.textContent.length,f<=a&&h>=a)return{node:l,offset:a-f};f=h}l=y2(AC(l))}}function OC(r){var a=r.ownerDocument,l=a&&a.defaultView||window,f=l.getSelection&&l.getSelection();if(!f||f.rangeCount===0)return null;var h=f.anchorNode,x=f.anchorOffset,_=f.focusNode,O=f.focusOffset;try{h.nodeType,_.nodeType}catch{return null}return LC(r,h,x,_,O)}function LC(r,a,l,f,h){var x=0,_=-1,O=-1,M=0,U=0,H=r,oe=null;e:for(;;){for(var re=null;H===a&&(l===0||H.nodeType===Ts)&&(_=x+l),H===f&&(h===0||H.nodeType===Ts)&&(O=x+h),H.nodeType===Ts&&(x+=H.nodeValue.length),(re=H.firstChild)!==null;)oe=H,H=re;for(;;){if(H===r)break e;if(oe===a&&++M===l&&(_=x),oe===f&&++U===h&&(O=x),(re=H.nextSibling)!==null)break;H=oe,oe=H.parentNode}H=re}return _===-1||O===-1?null:{start:_,end:O}}function kC(r,a){var l=r.ownerDocument
|
||
|
`).replace(m1,"")}function Lf(r,a,l,f){var h=_h(a),x=_h(r);if(x!==h&&(f&&(Ia||(Ia=!0,u('Text content did not match. Server: "%s" Client: "%s"',x,h))),l&&K))throw new Error("Text content does not match server-rendered HTML.")}function M2(r){return r.nodeType===Jo?r:r.ownerDocument}function YC(){}function Th(r){r.onclick=YC}function mi(r,a,l,f,h){for(var x in f)if(!!f.hasOwnProperty(x)){var _=f[x];if(x===vc)_&&Object.freeze(_),ce(a,_);else if(x===Of){var O=_?_[wh]:void 0;O!=null&&Lm(a,O)}else if(x===hc)if(typeof _=="string"){var M=r!=="textarea"||_!=="";M&&Od(a,_)}else typeof _=="number"&&Od(a,""+_);else x===mc||x===ou||x===A2||(at.hasOwnProperty(x)?_!=null&&(typeof _!="function"&&Eh(x,_),x==="onScroll"&&Nn("scroll",a)):_!=null&&qa(a,x,_,h))}}function $a(r,a,l,f){for(var h=0;h<a.length;h+=2){var x=a[h],_=a[h+1];x===vc?ce(r,_):x===Of?Lm(r,_):x===hc?Od(r,_):qa(r,x,_,f)}}function qC(r,a,l,f){var h,x=M2(l),_,O=f;if(O===_s&&(O=Ad(r)),O===_s){if(h=fl(r,a),!h&&r!==r.toLowerCase()&&u("<%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(O,r);return O===_s&&!h&&Object.prototype.toString.call(_)==="[object HTMLUnknownElement]"&&!Se.call(p1,r)&&(p1[r]=!0,u("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 ZC(r,a){return M2(a).createTextNode(r)}function KC(r,a,l,f){var h=fl(a,l);Nh(a,l);var x;switch(a){case"dialog":Nn("cancel",r),Nn("close",r),x=l;break;case"iframe":case"object":case"embed":Nn("load",r),x=l;break;case"video":case"audio":for(var _=0;_<Rf.length;_++)Nn(Rf[_],r);x=l;break;case"source":Nn("error",r),x=l;break;case"img":case"image":case"link":Nn("error",r),Nn("load",r),x=l;break;case"details":Nn("toggle",r),x=l;break;case"input":L(r,l),x=S(r,l),Nn("invalid",r);break;case"option":yt(r,l),x=l;break;case"select":Es(r,l),x=ka(r,l),Nn("invalid",r);break;case"textarea":o0(r,l),x=a0(r,l),Nn("invalid",r);break;default:x=l}switch(Jn(a,x),mi(a,r,f,x,h),a){case"input":qi(r),se(r,l,!1);break;case"textarea":qi(r),Yu(r);break;case"option":Wt(r,l);break;case"select":_d(r,l);break;default:typeof x.onClick=="function"&&Th(r);break}}function D2(r,a,l,f,h){Nh(a,f);var x=null,_,O;switch(a){case"input":_=S(r,l),O=S(r,f),x=[];break;case"select":_=ka(r,l),O=ka(r,f),x=[];break;case"textarea":_=a0(r,l),O=a0(r,f),x=[];break;default:_=l,O=f,typeof _.onClick!="function"&&typeof O.onClick=="function"&&Th(r);break}Jn(a,O);var M,U,H=null;for(M in _)if(!(O.hasOwnProperty(M)||!_.hasOwnProperty(M)||_[M]==null))if(M===vc){var oe=_[M];for(U in oe)oe.hasOwnProperty(U)&&(H||(H={}),H[U]="")}else M===Of||M===hc||M===mc||M===ou||M===A2||(at.hasOwnProperty(M)?x||(x=[]):(x=x||[]).push(M,null));for(M in O){var re=O[M],ye=_?.[M];if(!(!O.hasOwnProperty(M)||re===ye||re==null&&ye==null))if(M===vc)if(re&&Object.freeze(re),ye){for(U in ye)ye.hasOwnProperty(U)&&(!re||!re.hasOwnProperty(U))&&(H||(H={}),H[U]="");for(U in re)re.hasOwnProperty(U)&&ye[U]!==re[U]&&(H||(H={}),H[U]=re[U])}else H||(x||(x=[]),x.push(M,H)),H=re;else if(M===Of){var xe=re?re[wh]:void 0,Te=ye?ye[wh]:void 0;xe!=null&&Te!==xe&&(x=x||[]).push(M,xe)}else M===hc?(typeof re=="string"||typeof re=="number")&&(x=x||[]).push(M,""+re):M===mc||M===ou||(at.hasOwnProperty(M)?(re!=null&&(typeof re!="function"&&Eh(M,re),M==="onScroll"&&Nn("scroll",r)),!x&&ye!==re&&(x=[])):(x=x||[]).push(M,re))}return H&&(vt(H,O[vc]),(x=x||[]).push(vc,H)),x}function XC(r,a,l,f,h){l==="input"&&h.type==="radio"&&h.name!=null&&V(r,h);var x=fl(l,f),_=fl(l,h);switch($a(r,a,x,_),l){case"input":G(r,h);break;case"textarea":Td(r,h);break;case"select":i0(r,h);break}}function QC(r){{var a=r.toLowerCase();return km.hasOwnProperty(a)&&km[a]||null}}function JC(r,a,l,f,h,x,_){var O,M;switch(O=fl(a,l),Nh(a,l)
|
||
|
|
||
|
* 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 O=Dp(f);u(`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`,O)}if(x.size>0){var M=Dp(x);u(`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=Dp(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(l.size>0){var H=Dp(l);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=Dp(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 Q2=new Map,uR=new Set;Tl.recordLegacyContextWarning=function(r,a){var l=LV(r);if(l===null){u("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(!uR.has(r.type)){var f=Q2.get(l);(r.type.contextTypes!=null||r.type.childContextTypes!=null||a!==null&&typeof a.getChildContext=="function")&&(f===void 0&&(f=[],Q2.set(l,f)),f.push(r))}},Tl.flushLegacyContextWarning=function(){Q2.forEach(function(r,a){if(r.length!==0){var l=r[0],f=new Set;r.forEach(function(x){f.add(Ht(x)||"Component"),uR.add(x.type)});var h=Dp(f);try{ar(l),u(`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{Or()}}})},Tl.discardPendingWarnings=function(){M1=[],D1=[],P1=[],I1=[],$1=[],F1=[],Q2=new Map}}function Rl(r,a){if(r&&r.defaultProps){var l=en({},a),f=r.defaultProps;for(var h in f)l[h]===void 0&&(l[h]=f[h]);return l}return a}var cN=Qi(null),fN;fN={};var J2=null,Ph=null,dN=null,ex=!1;function tx(){J2=null,Ph=null,dN=null,ex=!1}function cR(){ex=!0}function fR(){ex=!1}function dR(r,a,l){za(cN,a._currentValue,r),a._currentValue=l,a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==fN&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=fN}function pN(r,a){var l=cN.current;ki(cN,a),r._currentValue=l}function mN(r,a,l){for(var f=r;f!==null;){var h=f.alternate;if(sc(f.childLanes,a)?h!==null&&!sc(h.childLanes,a)&&(h.childLanes=mn(h.childLanes,a)):(f.childLanes=mn(f.childLanes,a),h!==null&&(h.childLanes=mn(h.childLanes,a))),f===l)break;f=f.return}f!==l&&u("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 kV(r,a,l){MV(r,a,l)}function MV(r,a,l){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 O=ep(l),M=Sc(tr,O);M.tag=rx;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=mn(f.lanes,l);var re=f.alternate;re!==null&&(re.lanes=mn(re.lanes,l)),mN(f.return,l,r),x.lanes=mn(x.lanes,l);break}_=_.next}}else if(f.tag===D)h=f.type===r.type?null:f.child;else if(f.tag===ae){var ye=f.return;if(ye===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ye.lanes=mn(ye.lanes,l);var xe=ye.alternate;xe!==null&&(xe.lanes=mn(xe.lanes,l)),mN(ye,l,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 Te=h.sibling;if(Te!==null){Te.return=h.return,h=Te;break}h=h.return}f=h}}function Ih(r,a){J2=r,Ph=null,dN=null;var l=r.dependencies;if(l!==null){var f=l.firstContext;f!==null&&(Da(l.lanes,a)&&Q1(),l.firstContext=null)}}function hi(r){ex&&u("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(dN!==r){var l={context:r,memoizedValue:a,next:null};if(Ph===null){if(J2===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().");Ph=l,J2.dependencies={lanes:Fe,firstContext:l}}else Ph=Ph.next=l}return a}var Ip=null;function hN(r){Ip===null?Ip=[r]:Ip.push(r)}function DV(){if(Ip!==null){for(var r=0;r<Ip.length;r++){var a=Ip[r],l=a.interleaved;if(l!==null){a.interleaved=null;var f=l.next,h=a.pending;if(h!==null){var x=h.next;h.next=f,l.next=x}a.pending=l}}Ip=null}}function pR(r,a,l,f){var h=a.interleaved;return h===null?(l.next=l,hN(a)):(l.next=h.next,h.next=l),a.interleaved=l,nx(r,f)}function PV(r,a,l,f){var h=a.interleaved;h===null?(l.next=l,hN(a)):(l.next=h.next,h.next=l),a.interleaved=l}function IV(r,a,l,f){var h=a.interleaved;return h===null?(l.next=l,hN(a)):(l.next=h.next,h.next=l),a.interleaved=l,nx(r,f)}function Eo(r,a){return nx(r,a)}var $V=nx;function nx(r,a){r.lanes=mn(r.lanes,a);var l=r.alternate;l!==null&&(l.lanes=mn(l.lanes,a)),l===null&&(r.flags&(Yr|gl))!==Bt&&mO(r);for(var f=r,h=r.return;h!==null;)h.childLanes=mn(h.childLanes,a),l=h.alternate,l!==null?l.childLanes=mn(l.childLanes,a):(h.flags&(Yr|gl))!==Bt&&mO(r),f=h,h=h.return;if(f.tag===b){var x=f.stateNode;return x}else return null}var mR=0,hR=1,rx=2,vN=3,ix=!1,gN,ax;gN=!1,ax=
|
||
|
|
||
|
%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`,mt,Lt,ye!==null?`
|
||
|
`+ye:"",xe!==null?`
|
||
|
`+xe:"",Te!==null?`
|
||
|
`+Te:""))}}}return f&&qT(r,h,x),H}function UV(r,a){var l=a.state;typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),l!==a.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",Ht(r)||"Component"),ON.enqueueReplaceState(a,a.state,null))}function ER(r,a,l,f){var h=a.state;if(typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(l,f),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(l,f),a.state!==h){{var x=Ht(r)||"Component";SN.has(x)||(SN.add(x),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",x))}ON.enqueueReplaceState(a,a.state,null)}}function LN(r,a,l,f){BV(r,a,l);var h=r.stateNode;h.props=l,h.state=r.memoizedState,h.refs=yR,bN(r);var x=a.contextType;if(typeof x=="object"&&x!==null)h.context=hi(x);else{var _=Oh(r,a,!0);h.context=Lh(r,_)}{if(h.state===l){var O=fn(a)||"Component";_N.has(O)||(_N.add(O),u("%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.",O))}r.mode&Ur&&Tl.recordLegacyContextWarning(r,h),Tl.recordUnsafeLifecycleWarnings(r,h)}h.state=r.memoizedState;var M=a.getDerivedStateFromProps;if(typeof M=="function"&&(AN(r,a,M,l),h.state=r.memoizedState),typeof a.getDerivedStateFromProps!="function"&&typeof h.getSnapshotBeforeUpdate!="function"&&(typeof h.UNSAFE_componentWillMount=="function"||typeof h.componentWillMount=="function")&&(UV(r,h),sx(r,l,h,f),h.state=r.memoizedState),typeof h.componentDidMount=="function"){var U=pn;U|=ec,(r.mode&So)!==$t&&(U|=ti),r.flags|=U}}function jV(r,a,l,f){var h=r.stateNode,x=r.memoizedProps;h.props=x;var _=h.context,O=a.contextType,M=is;if(typeof O=="object"&&O!==null)M=hi(O);else{var U=Oh(r,a,!0);M=Lh(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!==l||_!==M)&&ER(r,h,l,M),gR();var re=r.memoizedState,ye=h.state=re;if(sx(r,l,h,f),ye=r.memoizedState,x===l&&re===ye&&!H2()&&!lx()){if(typeof h.componentDidMount=="function"){var xe=pn;xe|=ec,(r.mode&So)!==$t&&(xe|=ti),r.flags|=xe}return!1}typeof H=="function"&&(AN(r,a,H,l),ye=r.memoizedState);var Te=lx()||CR(r,a,x,l,re,ye,M);if(Te){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 mt=pn;mt|=ec,(r.mode&So)!==$t&&(mt|=ti),r.flags|=mt}}else{if(typeof h.componentDidMount=="function"){var Lt=pn;Lt|=ec,(r.mode&So)!==$t&&(Lt|=ti),r.flags|=Lt}r.memoizedProps=l,r.memoizedState=ye}return h.props=l,h.state=ye,h.context=M,Te}function VV(r,a,l,f,h){var x=a.stateNode;vR(r,a);var _=a.memoizedProps,O=a.type===a.elementType?_:Rl(a.type,_);x.props=O;var M=a.pendingProps,U=x.context,H=l.contextType,oe=is;if(typeof H=="object"&&H!==null)oe=hi(H);else{var re=Oh(a,l,!0);oe=Lh(a,re)}var ye=l.getDerivedStateFromProps,xe=typeof ye=="function"||typeof x.getSnapshotBeforeUpdate=="function";!xe&&(typeof x.UNSAFE_componentWillReceiveProps=="function"||typeof x.componentWillReceiveProps=="function")&&(_!==M||U!==oe)&&ER(a,x,f,oe),gR();var Te=a.memoizedState,mt=x.state=Te;if(sx(a,f,x,h),mt=a.memoizedState,_===M&&Te===mt&&!H2()&&!lx()&&!ve)return typeof x.componentDidUpdate=="function"&&(_!==r.memoizedProps||Te!==r.memoizedState)&&(a.flags|=pn),typeof x.getSnapshotBeforeUpdate=="function"&&(_!==r.memoizedProps||Te!==r.memoizedState)&&(a.flags|=Qu),!1;typeof ye=="function"&&(AN(a,l,ye,f),mt=a.memoizedState);var Lt=lx()||CR(a,l,O,f,Te,mt,oe)||ve;return Lt?(!xe&&(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 cx(r,a){var l=Object.prototype.toString.call(a);throw new Error("Objects are not valid as a React child (found: "+(l==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":l)+"). If you meant to render a collection of children, use an array instead.")}function fx(r){{var a=Ht(r)||"Component";if(IN[a])return;IN[a]=!0,u("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 TR(r){var a=r._payload,l=r._init;return l(a)}function RR(r){function a(me,Re){if(!!r){var he=me.deletions;he===null?(me.deletions=[Re],me.flags|=Xu):he.push(Re)}}function l(me,Re){if(!r)return null;for(var he=Re;he!==null;)a(me,he),he=he.sibling;return null}function f(me,Re){for(var he=new Map,qe=Re;qe!==null;)qe.key!==null?he.set(qe.key,qe):he.set(qe.index,qe),qe=qe.sibling;return he}function h(me,Re){var he=Hp(me,Re);return he.index=0,he.sibling=null,he}function x(me,Re,he){if(me.index=he,!r)return me.flags|=vy,Re;var qe=me.alternate;if(qe!==null){var ht=qe.index;return ht<Re?(me.flags|=Yr,Re):ht}else return me.flags|=Yr,Re}function _(me){return r&&me.alternate===null&&(me.flags|=Yr),me}function O(me,Re,he,qe){if(Re===null||Re.tag!==T){var ht=u6(he,me.mode,qe);return ht.return=me,ht}else{var ft=h(Re,he);return ft.return=me,ft}}function M(me,Re,he,qe){var ht=he.type;if(ht===Ue)return H(me,Re,he.props.children,qe,he.key);if(Re!==null&&(Re.elementType===ht||bO(Re,he)||typeof ht=="object"&&ht!==null&&ht.$$typeof===cn&&TR(ht)===Re.type)){var ft=h(Re,he.props);return ft.ref=z1(me,Re,he),ft.return=me,ft._debugSource=he._source,ft._debugOwner=he._owner,ft}var Gt=l6(he,me.mode,qe);return Gt.ref=z1(me,Re,he),Gt.return=me,Gt}function U(me,Re,he,qe){if(Re===null||Re.tag!==C||Re.stateNode.containerInfo!==he.containerInfo||Re.stateNode.implementation!==he.implementation){var ht=c6(he,me.mode,qe);return ht.return=me,ht}else{var ft=h(Re,he.children||[]);return ft.return=me,ft}}function H(me,Re,he,qe,ht){if(Re===null||Re.tag!==A){var ft=Yf(he,me.mode,qe,ht);return ft.return=me,ft}else{var Gt=h(Re,he);return Gt.return=me,Gt}}function oe(me,Re,he){if(typeof Re=="string"&&Re!==""||typeof Re=="number"){var qe=u6(""+Re,me.mode,he);return qe.return=me,qe}if(typeof Re=="object"&&Re!==null){switch(Re.$$typeof){case Hi:{var ht=l6(Re,me.mode,he);return ht.ref=z1(me,null,Re),ht.return=me,ht}case X:{var ft=c6(Re,me.mode,he);return ft.return=me,ft}case cn:{var Gt=Re._payload,tn=Re._init;return oe(me,tn(Gt),he)}}if(Ut(Re)||Za(Re)){var sr=Yf(Re,me.mode,he,null);return sr.return=me,sr}cx(me,Re)}return typeof Re=="function"&&fx(me),null}function re(me,Re,he,qe){var ht=Re!==null?Re.key:null;if(typeof he=="string"&&he!==""||typeof he=="number")return ht!==null?null:O(me,Re,""+he,qe);if(typeof he=="object"&&he!==null){switch(he.$$typeof){case Hi:return he.key===ht?M(me,Re,he,qe):null;case X:return he.key===ht?U(me,Re,he,qe):null;case cn:{var ft=he._payload,Gt=he._init;return re(me,Re,Gt(ft),qe)}}if(Ut(he)||Za(he))return ht!==null?null:H(me,Re,he,qe,null);cx(me,he)}return typeof he=="function"&&fx(me),null}function ye(me,Re,he,qe,ht){if(typeof qe=="string"&&qe!==""||typeof qe=="number"){var ft=me.get(he)||null;return O(Re,ft,""+qe,ht)}if(typeof qe=="object"&&qe!==null){switch(qe.$$typeof){case Hi:{var Gt=me.get(qe.key===null?he:qe.key)||null;return M(Re,Gt,qe,ht)}case X:{var tn=me.get(qe.key===null?he:qe.key)||null;return U(Re,tn,qe,ht)}case cn:var sr=qe._payload,Gn=qe._init;return ye(me,Re,he,Gn(sr),ht)}if(Ut(qe)||Za(qe)){var ai=me.get(he)||null;return H(Re,ai,qe,ht,null)}cx(Re,qe)}return typeof qe=="function"&&fx(Re),null}function xe(me,Re,he){{if(typeof me!="object"||me===null)return Re;switch(me.$$typeof){case Hi:case X:_R(me,he);var qe=me.key;if(typeof qe!="string")break;if(Re===null){Re=new Set,Re.add(qe);break}if(!Re.has(qe)){Re.add(qe);break}u("Encountered two children with the same key, `%s`. Keys should be unique so that componen
|
||
|
`,l+=O}u(`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,l)}}}function Ba(){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 GN(r,a){if(WN)return!1;if(a===null)return u("%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.",ke),!1;r.length!==a.length&&u(`The final argument passed to %s changed size between renders. The order and size of this array must remain constant.
|
||
|
|
||
|
Previous: %s
|
||
|
Incoming: %s`,ke,"["+a.join(", ")+"]","["+r.join(", ")+"]");for(var l=0;l<a.length&&l<r.length;l++)if(!la(r[l],a[l]))return!1;return!0}function Vh(r,a,l,f,h,x){$p=x,or=a,Hs=r!==null?r._debugHookTypes:null,Bf=-1,WN=r!==null&&r.type!==a.type,a.memoizedState=null,a.updateQueue=null,a.lanes=Fe,r!==null&&r.memoizedState!==null?dt.current=tA:Hs!==null?dt.current=eA:dt.current=JR;var _=l(f,h);if(H1){var O=0;do{if(H1=!1,W1=0,O>=XV)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");O+=1,WN=!1,Pi=null,Ii=null,a.updateQueue=null,Bf=-1,dt.current=nA,_=l(f,h)}while(H1)}dt.current=Rx,a._debugHookTypes=Hs;var M=Pi!==null&&Pi.next!==null;if($p=Fe,or=null,Pi=null,Ii=null,ke=null,Hs=null,Bf=-1,r!==null&&(r.flags&As)!==(a.flags&As)&&(r.mode&wn)!==$t&&u("Internal React error: Expected static flag was missing. Please notify the React team."),hx=!1,M)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return _}function Hh(){var r=W1!==0;return W1=0,r}function DR(r,a,l){a.updateQueue=r.updateQueue,(a.mode&So)!==$t?a.flags&=~(Vm|ti|ts|pn):a.flags&=~(ts|pn),r.lanes=tp(r.lanes,l)}function PR(){if(dt.current=Rx,hx){for(var r=or.memoizedState;r!==null;){var a=r.queue;a!==null&&(a.pending=null),r=r.next}hx=!1}$p=Fe,or=null,Pi=null,Ii=null,Hs=null,Bf=-1,ke=null,qR=!1,H1=!1,W1=0}function cu(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ii===null?or.memoizedState=Ii=r:Ii=Ii.next=r,Ii}function Ws(){var r;if(Pi===null){var a=or.alternate;a!==null?r=a.memoizedState:r=null}else r=Pi.next;var l;if(Ii===null?l=or.memoizedState:l=Ii.next,l!==null)Ii=l,l=Ii.next,Pi=r;else{if(r===null)throw new Error("Rendered more hooks than during the previous render.");Pi=r;var f={memoizedState:Pi.memoizedState,baseState:Pi.baseState,baseQueue:Pi.baseQueue,queue:Pi.queue,next:null};Ii===null?or.memoizedState=Ii=f:Ii=Ii.next=f}return Ii}function IR(){return{lastEffect:null,stores:null}}function YN(r,a){return typeof a=="function"?a(r):a}function qN(r,a,l){var f=cu(),h;l!==void 0?h=l(a):h=a,f.memoizedState=f.baseState=h;var x={pending:null,interleaved:null,lanes:Fe,dispatch:null,lastRenderedReducer:r,lastRenderedState:h};f.queue=x;var _=x.dispatch=nH.bind(null,or,x);return[f.memoizedState,_]}function ZN(r,a,l){var f=Ws(),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=Pi,_=x.baseQueue,O=h.pending;if(O!==null){if(_!==null){var M=_.next,U=O.next;_.next=U,O.next=M}x.baseQueue!==_&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),x.baseQueue=_=O,h.pending=null}if(_!==null){var H=_.next,oe=x.baseState,re=null,ye=null,xe=null,Te=H;do{var mt=Te.lane;if(sc($p,mt)){if(xe!==null){var Nt={lane:ni,action:Te.action,hasEagerState:Te.hasEagerState,eagerState:Te.eagerState,next:null};xe=xe.next=Nt}if(Te.hasEagerState)oe=Te.eagerState;else{var In=Te.action;oe=r(oe,In)}}else{var Lt={lane:mt,action:Te.action,hasEagerState:Te.hasEagerState,eagerState:Te.eagerState,next:null};xe===null?(ye=xe=Lt,re=oe):xe=xe.next=Lt,or.lanes=mn(or.lanes,mt),cg(mt)}Te=Te.next}while(Te!==null&&Te!==H);xe===null?re=oe:xe.next=ye,la(oe,f.memoizedState)||Q1(),f.memoizedState=oe,f.baseState=re,f.baseQueue=xe,h.lastRenderedState=oe}var En=h.interleaved;if(En!==null){var me=En;do{var Re=me.lane;or.lanes=mn(or.lanes,Re),cg(Re),me=me.next}while(me!==En)}else _===null&&(h.lanes=Fe);var he=h.dispatch;return[f.memoizedState,he]}function KN(r,a,l){var f=Ws(),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,O=f.memoizedState;if(_!==null){h.pending=null;var M=_.next,U=M;do{var H=U.action;O=r(O,H),U=U.next}while(U!==M);la(O,f.memoizedState)||Q1(),f.memoizedState=O,f.baseQueue===null&&(f.baseState=O),h.lastRenderedState=O}return[O,x]}function LSe(r,a,l){}function kSe(r,a,l){}function XN(r,a,l){var f=or,h=cu(),x,_=fa();if(_
|
||
|
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var H=Ht(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 lH=typeof WeakMap=="function"?WeakMap:Map;function lA(r,a,l){var f=Sc(tr,l);f.tag=vN,f.payload={element:null};var h=a.value;return f.callback=function(){eG(h),v9(r,a)},f}function g9(r,a,l){var f=Sc(tr,l);f.tag=vN;var h=r.type.getDerivedStateFromError;if(typeof h=="function"){var x=a.value;f.payload=function(){return h(x)},f.callback=function(){yO(r),v9(r,a)}}var _=r.stateNode;return _!==null&&typeof _.componentDidCatch=="function"&&(f.callback=function(){yO(r),v9(r,a),typeof h!="function"&&QW(this);var M=a.value,U=a.stack;this.componentDidCatch(M,{componentStack:U!==null?U:""}),typeof h!="function"&&(Da(r.lanes,Yt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",Ht(r)||"Unknown"))}),f}function uA(r,a,l){var f=r.pingCache,h;if(f===null?(f=r.pingCache=new lH,h=new Set,f.set(a,h)):(h=f.get(a),h===void 0&&(h=new Set,f.set(a,h))),!h.has(l)){h.add(l);var x=tG.bind(null,r,a,l);Li&&fg(r,l),a.then(x,x)}}function uH(r,a,l,f){var h=r.updateQueue;if(h===null){var x=new Set;x.add(l),r.updateQueue=x}else h.add(l)}function cH(r,a){var l=r.tag;if((r.mode&wn)===$t&&(l===m||l===P||l===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 cA(r){var a=r;do{if(a.tag===z&&qV(a))return a;a=a.return}while(a!==null);return null}function fA(r,a,l,f,h){if((r.mode&wn)===$t){if(r===a)r.flags|=ia;else{if(r.flags|=Un,l.flags|=v0,l.flags&=~(bl|Bd),l.tag===v){var x=l.alternate;if(x===null)l.tag=ie;else{var _=Sc(tr,Yt);_.tag=rx,$f(l,_,Yt)}}l.lanes=mn(l.lanes,Yt)}return r}return r.flags|=ia,r.lanes=h,r}function fH(r,a,l,f,h){if(l.flags|=Bd,Li&&fg(r,h),f!==null&&typeof f=="object"&&typeof f.then=="function"){var x=f;cH(l),fa()&&l.mode&wn&&tR();var _=cA(a);if(_!==null){_.flags&=~vl,fA(_,a,l,r,h),_.mode&wn&&uA(r,x,h),uH(_,r,x);return}else{if(!Iy(h)){uA(r,x,h),K9();return}var O=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=O}}else if(fa()&&l.mode&wn){tR();var M=cA(a);if(M!==null){(M.flags&ia)===Bt&&(M.flags|=vl),fA(M,a,l,r,h),uN(Fp(f,l));return}}f=Fp(f,l),HW(f);var U=a;do{switch(U.tag){case b:{var H=f;U.flags|=ia;var oe=ep(h);U.lanes=mn(U.lanes,oe);var re=lA(U,H,oe);yN(U,re);return}case v:var ye=f,xe=U.type,Te=U.stateNode;if((U.flags&Un)===Bt&&(typeof xe.getDerivedStateFromError=="function"||Te!==null&&typeof Te.componentDidCatch=="function"&&!cO(Te))){U.flags|=ia;var mt=ep(h);U.lanes=mn(U.lanes,mt);var Lt=g9(U,ye,mt);yN(U,Lt);return}break}U=U.return}while(U!==null)}function dH(){return null}var K1=n.ReactCurrentOwner,Ll=!1,b9,X1,y9,x9,S9,zp,C9,Dx;b9={},X1={},y9={},x9={},S9={},zp=!1,C9={},Dx={};function io(r,a,l,f){r===null?a.child=AR(a,null,l,f):a.child=$h(a,r.child,l,f)}function pH(r,a,l,f){a.child=$h(a,r.child,null,f),a.child=$h(a,null,l,f)}function dA(r,a,l,f,h){if(a.type!==a.elementType){var x=l.propTypes;x&&gr(x,f,"prop",fn(l))}var _=l.render,O=a.ref,M,U;Ih(a,h),Wd(a);{if(K1.current=a,Jr(!0),M=Vh(r,a,_,f,O,h),U=Hh(),a.mode&Ur){ci(!0);try{M=Vh(r,a,_,f,O,h),U=Hh()}finally{ci(!1)}}Jr(!1)}return ff(),r!==null&&!Ll?(DR(r,a,h),Cc(r,a,h)):(fa()&&U&&rN(a),a.flags|=uf,io(r,a,M,h),a.child)}function pA(r,a,l,f,h){if(r===null){var x=l.type;if(bG(x)&&l.compare===null&&l.defaultProps===void 0){var _=x;return _=Qh(x),a.tag=Y,a.type=_,E9(a,x),mA(r,a,_,f,h)}{var O=x.propTypes;O&&gr(O,f,"prop",fn(x))}var M=s6(l.type,null,f,a,a.mode,h);return M.ref=a.ref,M.return=a,a.child=M,M}{var U=l.type,H=U.propTypes;H&&gr(H,f,"prop",fn(U))}var oe=r.child,re=L9(r,h);if(!re){var ye=oe.memoizedProps,xe=l.compare;if(xe=xe!==null?xe:Tf,xe(ye,f)&&r.ref===a.ref)return Cc(r,a,h)}a.flags|=uf;var Te=Hp(oe,f);return Te.ref=a.ref,Te.return=a,a.child=Te,Te}function mA(r,a,l,f,h){if(a.type!==a.elementType){var x=a.elementType;if(x.$$typeof===cn){var _=x,O=_._pay
|
||
|
|
||
|
Check the render method of \``+f+"`.");var h=f||"",x=r._debugSource;x&&(h=x.fileName+":"+x.lineNumber),S9[h]||(S9[h]=!0,u("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",l))}if(typeof a.getDerivedStateFromProps=="function"){var _=fn(a)||"Unknown";x9[_]||(u("%s: Function components do not support getDerivedStateFromProps.",_),x9[_]=!0)}if(typeof a.contextType=="object"&&a.contextType!==null){var O=fn(a)||"Unknown";y9[O]||(u("%s: Function components do not support contextType.",O),y9[O]=!0)}}}var _9={dehydrated:null,treeContext:null,retryLane:ni};function T9(r){return{baseLanes:r,cachePool:dH(),transitions:null}}function wH(r,a){var l=null;return{baseLanes:mn(r.baseLanes,a),cachePool:l,transitions:r.transitions}}function NH(r,a,l,f){if(a!==null){var h=a.memoizedState;if(h===null)return!1}return BN(r,j1)}function EH(r,a){return tp(r.childLanes,a)}function xA(r,a,l){var f=a.pendingProps;DG(a)&&(a.flags|=Un);var h=Al.current,x=!1,_=(a.flags&Un)!==Bt;if(_||NH(h,r)?(x=!0,a.flags&=~Un):(r===null||r.memoizedState!==null)&&(h=YV(h,MR)),h=zh(h),zf(a,h),r===null){lN(a);var O=a.memoizedState;if(O!==null){var M=O.dehydrated;if(M!==null)return OH(a,M)}var U=f.children,H=f.fallback;if(x){var oe=_H(a,U,H,l),re=a.child;return re.memoizedState=T9(l),a.memoizedState=_9,oe}else return R9(a,U)}else{var ye=r.memoizedState;if(ye!==null){var xe=ye.dehydrated;if(xe!==null)return LH(r,a,_,f,xe,ye,l)}if(x){var Te=f.fallback,mt=f.children,Lt=RH(r,a,mt,Te,l),Nt=a.child,In=r.child.memoizedState;return Nt.memoizedState=In===null?T9(l):wH(In,l),Nt.childLanes=EH(r,l),a.memoizedState=_9,Lt}else{var En=f.children,me=TH(r,a,En,l);return a.memoizedState=null,me}}}function R9(r,a,l){var f=r.mode,h={mode:"visible",children:a},x=A9(h,f);return x.return=r,r.child=x,x}function _H(r,a,l,f){var h=r.mode,x=r.child,_={mode:"hidden",children:a},O,M;return(h&wn)===$t&&x!==null?(O=x,O.childLanes=Fe,O.pendingProps=_,r.mode&Wn&&(O.actualDuration=0,O.actualStartTime=-1,O.selfBaseDuration=0,O.treeBaseDuration=0),M=Yf(l,h,f,null)):(O=A9(_,h),M=Yf(l,h,f,null)),O.return=r,M.return=r,O.sibling=M,r.child=O,M}function A9(r,a,l){return SO(r,a,Fe,null)}function SA(r,a){return Hp(r,a)}function TH(r,a,l,f){var h=r.child,x=h.sibling,_=SA(h,{mode:"visible",children:l});if((a.mode&wn)===$t&&(_.lanes=f),_.return=a,_.sibling=null,x!==null){var O=a.deletions;O===null?(a.deletions=[x],a.flags|=Xu):O.push(x)}return a.child=_,_}function RH(r,a,l,f,h){var x=a.mode,_=r.child,O=_.sibling,M={mode:"hidden",children:l},U;if((x&wn)===$t&&a.child!==_){var H=a.child;U=H,U.childLanes=Fe,U.pendingProps=M,a.mode&Wn&&(U.actualDuration=0,U.actualStartTime=-1,U.selfBaseDuration=_.selfBaseDuration,U.treeBaseDuration=_.treeBaseDuration),a.deletions=null}else U=SA(_,M),U.subtreeFlags=_.subtreeFlags&As;var oe;return O!==null?oe=Hp(O,f):(oe=Yf(f,x,h,null),oe.flags|=Yr),oe.return=a,U.return=a,U.sibling=oe,a.child=U,oe}function Px(r,a,l,f){f!==null&&uN(f),$h(a,r.child,null,l);var h=a.pendingProps,x=h.children,_=R9(a,x);return _.flags|=Yr,a.memoizedState=null,_}function AH(r,a,l,f,h){var x=a.mode,_={mode:"visible",children:l},O=A9(_,x),M=Yf(f,x,h,null);return M.flags|=Yr,O.return=a,M.return=a,O.sibling=M,a.child=O,(a.mode&wn)!==$t&&$h(a,r.child,null,h),M}function OH(r,a,l){return(r.mode&wn)===$t?(u("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=Yt):O1(a)?r.lanes=rc:r.lanes=no,null}function LH(r,a,l,f,h,x,_){if(l)if(a.flags&vl){a.flags&=~vl;var me=h9(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return Px(r,a,_,me)}else{if(a.memoizedState!==null)return a.child=r.child,a.flags|=Un,null;var Re=f.children,he=f.fallback,qe=AH(r,a,Re,he,_),ht=a.child;return ht.memoizedState=T9(_),a.memoizedState=_9,qe}else{if(yV(),(a.mode&wn)===$t)return Px(r,a,_,null);if(O1(h)){var O,M,U;{var H=Aw(h);O=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: "+O,u("%s must not return anything besides a function, which is used for clean-up.%s",M,U)}}}x=x.next}while(x!==h)}}function QH(r,a){if((a.flags&pn)!==Bt)switch(a.tag){case F:{var l=a.stateNode.passiveEffectDuration,f=a.memoizedProps,h=f.id,x=f.onPostCommit,_=aA(),O=a.alternate===null?"mount":"update";iA()&&(O="nested-update"),typeof x=="function"&&x(h,O,l,_);var M=a.return;e:for(;M!==null;){switch(M.tag){case b:var U=M.stateNode;U.passiveEffectDuration+=l;break e;case F:var H=M.stateNode;H.passiveEffectDuration+=l;break e}M=M.return}break}}}function JH(r,a,l,f){if((l.flags&Ud)!==Bt)switch(l.tag){case m:case P:case Y:{if(!ma)if(l.mode&Wn)try{pu(),jf(Di|Mi,l)}finally{du(l)}else jf(Di|Mi,l);break}case v:{var h=l.stateNode;if(l.flags&pn&&!ma)if(a===null)if(l.type===l.elementType&&!zp&&(h.props!==l.memoizedProps&&u("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.",Ht(l)||"instance"),h.state!==l.memoizedState&&u("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.",Ht(l)||"instance")),l.mode&Wn)try{pu(),h.componentDidMount()}finally{du(l)}else h.componentDidMount();else{var x=l.elementType===l.type?a.memoizedProps:Rl(l.type,a.memoizedProps),_=a.memoizedState;if(l.type===l.elementType&&!zp&&(h.props!==l.memoizedProps&&u("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.",Ht(l)||"instance"),h.state!==l.memoizedState&&u("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.",Ht(l)||"instance")),l.mode&Wn)try{pu(),h.componentDidUpdate(x,_,h.__reactInternalSnapshotBeforeUpdate)}finally{du(l)}else h.componentDidUpdate(x,_,h.__reactInternalSnapshotBeforeUpdate)}var O=l.updateQueue;O!==null&&(l.type===l.elementType&&!zp&&(h.props!==l.memoizedProps&&u("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.",Ht(l)||"instance"),h.state!==l.memoizedState&&u("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.",Ht(l)||"instance")),bR(l,O,h));break}case b:{var M=l.updateQueue;if(M!==null){var U=null;if(l.child!==null)switch(l.child.tag){case w:U=l.child.stateNode;break;case v:U=l.child.stateNode;break}bR(l,M,U)}break}case w:{var H=l.stateNode;if(a===null&&l.flags&pn){var oe=l.type,re=l.memoizedProps;bw(H,oe,re)}break}case T:break;case C:break;case F:{{var ye=l.memoizedProps,xe=ye.onCommit,Te=ye.onRender,mt=l.stateNode.effectDuration,Lt=aA(),Nt=a===null?"mount":"update";iA()&&(Nt="nested-update"),typeof Te=="function"&&Te(l.memoizedProps.id,Nt,l.actualDuration,l.treeBaseDuration,l.actualStartTime,Lt);{typeof xe=="function"&&xe(l.memoizedProps.id,Nt,mt,Lt),KW(l);var In=l.return;e:for(;In!==null;){switch(In.tag){case b:var En=In.stateNode;En.effectDuration+=mt;break e;case F:var me=In.stateNode;me.effectDuration+=mt;break e}In=In.return}}}break}case z:{sW(r,l);break}case pe:case ie:case $e:case te:case ee:case Ce: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.")}ma||l.flags&Zi&&FA(l)}function eW(r){switch(r.tag){case m:case P:case Y:{if(r.mode&Wn)try{pu(),PA(r,r.return)}finally{du(r)}else PA(r,r.return);break}case v:{var a=r.stateNode;typeof a.componentDidMount=="function"&&YH(r,r.r
|
||
|
|
||
|
Error message:
|
||
|
|
||
|
%s`,l)}function tG(r,a,l){var f=r.pingCache;f!==null&&f.delete(a);var h=oo();rp(r,l),cG(r),ao===r&&sc(Fi,l)&&(zi===ng||zi===zx&&F0(Fi)&&Pr()-U9<XA?jp(r,Fe):Ux=mn(Ux,l)),Ro(r,h)}function dO(r,a){a===ni&&(a=PW(r));var l=oo(),f=Eo(r,a);f!==null&&(lc(f,a,l),Ro(f,l))}function nG(r){var a=r.memoizedState,l=ni;a!==null&&(l=a.retryLane),dO(r,l)}function rG(r,a){var l=ni,f;switch(r.tag){case z:f=r.stateNode;var h=r.memoizedState;h!==null&&(l=h.retryLane);break;case pe: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),dO(r,l)}function iG(r){return r<120?120:r<480?480:r<1080?1080:r<1920?1920:r<3e3?3e3:r<4320?4320:LW(r/1960)*1960}function aG(){if(lg>MW)throw lg=0,W9=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.");Kh>DW&&(Kh=0,Hx=null,u("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 oG(){Tl.flushLegacyContextWarning(),Tl.flushPendingUnsafeLifecycleWarnings()}function pO(r,a){ar(r),Zx(r,ti,EW),a&&Zx(r,Vm,_W),Zx(r,ti,wW),a&&Zx(r,Vm,NW),Or()}function Zx(r,a,l){for(var f=r,h=null;f!==null;){var x=f.subtreeFlags&a;f!==h&&f.child!==null&&x!==Bt?f=f.child:((f.flags&a)!==Bt&&l(f),f.sibling!==null?f=f.sibling:f=h=f.return)}}var Kx=null;function mO(r){{if((Pn&ga)!==$i||!(r.mode&wn))return;var a=r.tag;if(a!==g&&a!==b&&a!==v&&a!==m&&a!==P&&a!==q&&a!==Y)return;var l=Ht(r)||"ReactComponent";if(Kx!==null){if(Kx.has(l))return;Kx.add(l)}else Kx=new Set([l]);var f=Sr;try{ar(r),u("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?ar(r):Or()}}}var X9;{var sG=null;X9=function(r,a,l){var f=CO(sG,a);try{return TA(r,a,l)}catch(x){if(xV()||x!==null&&typeof x=="object"&&typeof x.then=="function")throw x;if(tx(),PR(),MA(r,a),CO(a,f),a.mode&Wn&&f9(a),lf(null,TA,null,r,a,l),B()){var h=Xl();typeof h=="object"&&h!==null&&h._suppressLogging&&typeof x=="object"&&x!==null&&!x._suppressLogging&&(x._suppressLogging=!0)}throw x}}}var hO=!1,Q9;Q9=new Set;function lG(r){if(Xa&&!tH())switch(r.tag){case m:case P:case Y:{var a=jr&&Ht(jr)||"Unknown",l=a;if(!Q9.has(l)){Q9.add(l);var f=Ht(r)||"Unknown";u("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:{hO||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),hO=!0);break}}}function fg(r,a){if(Li){var l=r.memoizedUpdaters;l.forEach(function(f){ah(r,f,a)})}}var J9={};function e6(r,a){{var l=Pl.current;return l!==null?(l.push(a),J9):Ja(r,a)}}function vO(r){if(r!==J9)return p4(r)}function gO(){return Pl.current!==null}function uG(r){{if(r.mode&wn){if(!qA())return}else if(!OW()||Pn!==$i||r.tag!==m&&r.tag!==P&&r.tag!==Y)return;if(Pl.current===null){var a=Sr;try{ar(r),u(`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`,Ht(r))}finally{a?ar(r):Or()}}}}function cG(r){r.tag!==Df&&qA()&&Pl.current===null&&u(`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 dg(r){eO=r}var Ys=null,Xh=null,fG=function(r){Ys=r};function Qh(r){{if(Ys===null)return r;var a=Ys(r);return a===void 0?r:a.current}}function t6(r){return Qh(r)}function n6(r){{if(Ys===null)return r;var a=Ys(r);if(a===void 0){if(r!=null&&typeof r.render=="function"){var l=Qh(r.render);if(r.render!==l){var f={$$typeof:ot,render:l};return r.displayName!==void 0&&(f.displayName=r.displayName),f}}return r}return a.current}}function bO(r,a){{if(Ys===null)return!1;var l=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===cn)&&(h=!0);break}case P:{(x===ot||x===cn)&&(h=!0);break}case q:case Y:{(x===Bn||x===cn)&&(h=!0);break}default:return!1}if(h){var _=Ys(l);if(_!==void 0&&_===Ys(f))return!0}return!1}}function yO(r){{if(Ys===null||typeof WeakSet!="function")return;Xh===null&&(Xh=new WeakSet),Xh.add(r)}}var dG=function(r,a){{if(Ys===null)return;var l=a.staleFamilies,f=a.updatedFamilies;_c(),Ec(function(){r6(r.current,f,l)})}},pG=function(r,a){{if(r.context!==is)return;_c(),Ec(function(){pg(a,r,null,null)})}};function r6(r,a,l){{var f=r.alternate,h=r.child,x=r.sibling,_=r.tag,O=r.type,M=null;switch(_){case m:case Y:case v:M=O;break;case P:M=O.render;break}if(Ys===null)throw new Error("Expected resolveFamily to be set during hot reload.");var U=!1,H=!1;if(M!==null){var oe=Ys(M);oe!==void 0&&(l.has(oe)?H=!0:a.has(oe)&&(_===v?H=!0:U=!0))}if(Xh!==null&&(Xh.has(r)||f!==null&&Xh.has(f))&&(H=!0),H&&(r._debugNeedsRemount=!0),H||U){var re=Eo(r,Yt);re!==null&&Bi(re,r,Yt,tr)}h!==null&&!H&&r6(h,a,l),x!==null&&r6(x,a,l)}}var mG=function(r,a){{var l=new Set,f=new Set(a.map(function(h){return h.current}));return i6(r.current,f,l),l}};function i6(r,a,l){{var f=r.child,h=r.sibling,x=r.tag,_=r.type,O=null;switch(x){case m:case Y:case v:O=_;break;case P:O=_.render;break}var M=!1;O!==null&&a.has(O)&&(M=!0),M?hG(r,l):f!==null&&i6(f,a,l),h!==null&&i6(h,a,l)}}function hG(r,a){{var l=vG(r,a);if(l)return;for(var f=r;;){switch(f.tag){case w:a.add(f.stateNode);return;case C: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 vG(r,a){for(var l=r,f=!1;;){if(l.tag===w)f=!0,a.add(l.stateNode);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===r)return f;for(;l.sibling===null;){if(l.return===null||l.return===r)return f;l=l.return}l.sibling.return=l.return,l=l.sibling}return!1}var a6;{a6=!1;try{var xO=Object.preventExtensions({})}catch{a6=!0}}function gG(r,a,l,f){this.tag=r,this.key=l,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=Bt,this.subtreeFlags=Bt,this.deletions=null,this.lanes=Fe,this.childLanes=Fe,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 as=function(r,a,l,f){return new gG(r,a,l,f)};function o6(r){var a=r.prototype;return!!(a&&a.isReactComponent)}function bG(r){return typeof r=="function"&&!o6(r)&&r.defaultProps===void 0}function yG(r){if(typeof r=="function")return o6(r)?v:m;if(r!=null){var a=r.$$typeof;if(a===ot)return P;if(a===Bn)return q}return g}function Hp(r,a){var l=r.alternate;l===null?(l=as(r.tag,a,r.key,r.mode),l.elementType=r.elementType,l.type=r.type,l.stateNode=r.stateNode,l._debugSource=r._debugSource,l._debugOwner=r._debugOwner,l._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=as(_,l,a,h);return H.elementType=r,H.type=O,H.lanes=x,H._debugOwner=f,H}function l6(r,a,l){var f=null;f=r._owner;var h=r.type,x=r.key,_=r.props,O=s6(h,x,_,f,a,l);return O._debugSource=r._source,O._debugOwner=r._owner,O}function Yf(r,a,l,f){var h=as(A,r,f,a);return h.lanes=l,h}function CG(r,a,l,f){typeof r.id!="string"&&u('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof r.id);var h=as(F,r,f,a|Wn);return h.elementType=Et,h.lanes=l,h.stateNode={effectDuration:0,passiveEffectDuration:0},h}function wG(r,a,l,f){var h=as(z,r,f,a);return h.elementType=Zt,h.lanes=l,h}function NG(r,a,l,f){var h=as(pe,r,f,a);return h.elementType=Vn,h.lanes=l,h}function SO(r,a,l,f){var h=as(te,r,f,a);h.elementType=Vo,h.lanes=l;var x={isHidden:!1};return h.stateNode=x,h}function u6(r,a,l){var f=as(T,r,null,a);return f.lanes=l,f}function EG(){var r=as(w,null,null,$t);return r.elementType="DELETED",r}function _G(r){var a=as(ae,null,null,$t);return a.stateNode=r,a}function c6(r,a,l){var f=r.children!==null?r.children:[],h=as(C,f,r.key,a);return h.lanes=l,h.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},h}function CO(r,a){return r===null&&(r=as(g,null,null,$t)),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 TG(r,a,l,f,h){this.tag=a,this.containerInfo=r,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=C1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=ni,this.eventTimes=np(Fe),this.expirationTimes=np(tr),this.pendingLanes=Fe,this.suspendedLanes=Fe,this.pingedLanes=Fe,this.expiredLanes=Fe,this.mutableReadLanes=Fe,this.finishedLanes=Fe,this.entangledLanes=Fe,this.entanglements=np(Fe),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;_<M0;_++)x.push(new Set)}switch(a){case Y2:this._debugRootType=l?"hydrateRoot()":"createRoot()";break;case Df:this._debugRootType=l?"hydrate()":"render()";break}}function wO(r,a,l,f,h,x,_,O,M,U){var H=new TG(r,a,l,O,M),oe=SG(a,x);H.current=oe,oe.stateNode=H;{var re={element:f,isDehydrated:l,cache:null,transitions:null,pendingSuspenseBoundaries:null};oe.memoizedState=re}return bN(oe),H}var f6="18.2.0";function RG(r,a,l){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return Ln(f),{$$typeof:X,key:f==null?null:""+f,children:r,containerInfo:a,implementation:l}}var d6,p6;d6=!1,p6={};function NO(r){if(!r)return is;var a=hl(r),l=fV(a);if(a.tag===v){var f=a.type;if(lu(f))return KT(a,f,l)}return l}function AG(r,a){{var l=hl(r);if(l===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=xy(l);if(h===null)return null;if(h.mode&Ur){var x=Ht(l)||"Component";if(!p6[x]){p6[x]=!0;var _=Sr;try{ar(h),l.mode&Ur?u("%s is deprecated in StrictMode. %s was passed an instance of %s which is i
|
||
|
|
||
|
Check the render method of %s.`,Ht(Sr)||"Unknown"));var M=Sc(x,_);M.payload={element:r},f=f===void 0?null:f,f!==null&&(typeof f!="function"&&u("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",f),M.callback=f);var U=$f(h,M,_);return U!==null&&(Bi(U,h,_,x),ox(U,h,_)),_}function Xx(r){var a=r.current;if(!a.child)return null;switch(a.child.tag){case w:return a.child.stateNode;default:return a.child.stateNode}}function OG(r){switch(r.tag){case b:{var a=r.stateNode;if(pi(a)){var l=N4(a);BW(a,l)}break}case z:{Ec(function(){var h=Eo(r,Yt);if(h!==null){var x=oo();Bi(h,r,Yt,x)}});var f=Yt;m6(r,f);break}}}function TO(r,a){var l=r.memoizedState;l!==null&&l.dehydrated!==null&&(l.retryLane=Cl(l.retryLane,a))}function m6(r,a){TO(r,a);var l=r.alternate;l&&TO(l,a)}function LG(r){if(r.tag===z){var a=gf,l=Eo(r,a);if(l!==null){var f=oo();Bi(l,r,a,f)}m6(r,a)}}function kG(r){if(r.tag===z){var a=Wf(r),l=Eo(r,a);if(l!==null){var f=oo();Bi(l,r,a,f)}m6(r,a)}}function RO(r){var a=S0(r);return a===null?null:a.stateNode}var AO=function(r){return null};function MG(r){return AO(r)}var OO=function(r){return!1};function DG(r){return OO(r)}var LO=null,kO=null,MO=null,DO=null,PO=null,IO=null,$O=null,FO=null,zO=null;{var BO=function(r,a,l){var f=a[l],h=Ut(r)?r.slice():en({},r);return l+1===a.length?(Ut(h)?h.splice(f,1):delete h[f],h):(h[f]=BO(r[f],a,l+1),h)},UO=function(r,a){return BO(r,a,0)},jO=function(r,a,l,f){var h=a[f],x=Ut(r)?r.slice():en({},r);if(f+1===a.length){var _=l[f];x[_]=x[h],Ut(x)?x.splice(h,1):delete x[h]}else x[h]=jO(r[h],a,l,f+1);return x},VO=function(r,a,l){if(a.length!==l.length){s("copyWithRename() expects paths of the same length");return}else for(var f=0;f<l.length-1;f++)if(a[f]!==l[f]){s("copyWithRename() expects paths to be the same except for the deepest key");return}return jO(r,a,l,0)},HO=function(r,a,l,f){if(l>=a.length)return f;var h=a[l],x=Ut(r)?r.slice():en({},r);return x[h]=HO(r[h],a,l+1,f),x},WO=function(r,a,l){return HO(r,a,0,l)},h6=function(r,a){for(var l=r.memoizedState;l!==null&&a>0;)l=l.next,a--;return l};LO=function(r,a,l,f){var h=h6(r,a);if(h!==null){var x=WO(h.memoizedState,l,f);h.memoizedState=x,h.baseState=x,r.memoizedProps=en({},r.memoizedProps);var _=Eo(r,Yt);_!==null&&Bi(_,r,Yt,tr)}},kO=function(r,a,l){var f=h6(r,a);if(f!==null){var h=UO(f.memoizedState,l);f.memoizedState=h,f.baseState=h,r.memoizedProps=en({},r.memoizedProps);var x=Eo(r,Yt);x!==null&&Bi(x,r,Yt,tr)}},MO=function(r,a,l,f){var h=h6(r,a);if(h!==null){var x=VO(h.memoizedState,l,f);h.memoizedState=x,h.baseState=x,r.memoizedProps=en({},r.memoizedProps);var _=Eo(r,Yt);_!==null&&Bi(_,r,Yt,tr)}},DO=function(r,a,l){r.pendingProps=WO(r.memoizedProps,a,l),r.alternate&&(r.alternate.pendingProps=r.pendingProps);var f=Eo(r,Yt);f!==null&&Bi(f,r,Yt,tr)},PO=function(r,a){r.pendingProps=UO(r.memoizedProps,a),r.alternate&&(r.alternate.pendingProps=r.pendingProps);var l=Eo(r,Yt);l!==null&&Bi(l,r,Yt,tr)},IO=function(r,a,l){r.pendingProps=VO(r.memoizedProps,a,l),r.alternate&&(r.alternate.pendingProps=r.pendingProps);var f=Eo(r,Yt);f!==null&&Bi(f,r,Yt,tr)},$O=function(r){var a=Eo(r,Yt);a!==null&&Bi(a,r,Yt,tr)},FO=function(r){AO=r},zO=function(r){OO=r}}function PG(r){var a=xy(r);return a===null?null:a.stateNode}function IG(r){return null}function $G(){return Sr}function FG(r){var a=r.findFiberByHostInstance,l=n.ReactCurrentDispatcher;return wy({bundleType:r.bundleType,version:r.version,rendererPackageName:r.rendererPackageName,rendererConfig:r.rendererConfig,overrideHookState:LO,overrideHookStateDeletePath:kO,overrideHookStateRenamePath:MO,overrideProps:DO,overridePropsDeletePath:PO,overridePropsRenamePath:IO,setErrorHandler:FO,setSuspenseHandler:zO,scheduleUpdate:$O,currentDispatcherRef:l,findHostInstanceByFiber:PG,findFiberByHostInstance:a||IG,findHostInstancesForRefresh:mG,scheduleRefresh:dG,scheduleRoot:pG,setRefreshHandler:fG,getCurrentFiber:$G,reconcilerVersion:f6})}var GO=typeof reportError=="function"?reportError:function(r){console.error(r)};function v6(r){this._internalRoot=r}Qx.prototype.render=v6.prototyp
|
||
|
|
||
|
let root = createRoot(domContainer);
|
||
|
root.render(<App />);`),a.unstable_strictMode===!0&&(l=!0),a.identifierPrefix!==void 0&&(h=a.identifierPrefix),a.onRecoverableError!==void 0&&(x=a.onRecoverableError),a.transitionCallbacks!==void 0&&a.transitionCallbacks);var _=EO(r,Y2,null,l,f,h,x);fe(_.current,r);var O=r.nodeType===Hn?r.parentNode:r;return xp(O),new v6(_)}function Qx(r){this._internalRoot=r}function BG(r){r&&Gy(r)}Qx.prototype.unstable_scheduleHydration=BG;function UG(r,a,l){if(!Jx(r))throw new Error("hydrateRoot(...): Target container is not a DOM element.");YO(r),a===void 0&&u("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var f=l??null,h=l!=null&&l.hydratedSources||null,x=!1,_=!1,O="",M=GO;l!=null&&(l.unstable_strictMode===!0&&(x=!0),l.identifierPrefix!==void 0&&(O=l.identifierPrefix),l.onRecoverableError!==void 0&&(M=l.onRecoverableError));var U=_O(a,null,r,Y2,f,x,_,O,M);if(fe(U.current,r),xp(r),h)for(var H=0;H<h.length;H++){var oe=h[H];ZV(U,oe)}return new Qx(U)}function Jx(r){return!!(r&&(r.nodeType===Ma||r.nodeType===Jo||r.nodeType===qu||!Le))}function mg(r){return!!(r&&(r.nodeType===Ma||r.nodeType===Jo||r.nodeType===qu||r.nodeType===Hn&&r.nodeValue===" react-mount-point-unstable "))}function YO(r){r.nodeType===Ma&&r.tagName&&r.tagName.toUpperCase()==="BODY"&&u("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."),Oe(r)&&(r._reactRootContainer?u("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):u("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 jG=n.ReactCurrentOwner,qO;qO=function(r){if(r._reactRootContainer&&r.nodeType!==Hn){var a=RO(r._reactRootContainer.current);a&&a.parentNode!==r&&u("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 l=!!r._reactRootContainer,f=g6(r),h=!!(f&&Qe(f));h&&!l&&u("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===Ma&&r.tagName&&r.tagName.toUpperCase()==="BODY"&&u("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 g6(r){return r?r.nodeType===Jo?r.documentElement:r.firstChild:null}function ZO(){}function VG(r,a,l,f,h){if(h){if(typeof f=="function"){var x=f;f=function(){var re=Xx(_);x.call(re)}}var _=_O(a,f,r,Df,null,!1,!1,"",ZO);r._reactRootContainer=_,fe(_.current,r);var O=r.nodeType===Hn?r.parentNode:r;return xp(O),Ec(),_}else{for(var M;M=r.lastChild;)r.removeChild(M);if(typeof f=="function"){var U=f;f=function(){var re=Xx(H);U.call(re)}}var H=EO(r,Df,null,!1,!1,"",ZO);r._reactRootContainer=H,fe(H.current,r);var oe=r.nodeType===Hn?r.parentNode:r;return xp(oe),Ec(function(){pg(a,H,l,f)}),H}}function HG(r,a){r!==null&&typeof r!="function"&&u("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",a,r)}function e5(r,a,l,f,h){qO(l),HG(h===void 0?null:h,"render");var x=l._reactRootContainer,_;if(!x)_=VG(l,a,r,h,f);else{if(_=x,typeof h=="function"){var O=h;h=function(){var M=Xx(_);O.call(M)}}pg(a,_,r,h)}return Xx(_)}function WG(r){{var a=jG.current;if(a!==null&&a.stateNode!==null){var l=a.stateNode._warnedAboutRefsInRender;l||u("%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")}us.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=b6,us.createPortal=KG,us.createRoot=QG,us.findDOMNode=WG,us.flushSync=eY,us.hydrate=GG,us.hydrateRoot=JG,us.render=YG,us.unmountComponentAtNode=ZG,us.unstable_batchedUpdates=q9,us.unstable_renderSubtreeIntoContainer=XG,us.version=f6,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();(function(e){e.exports=us})(Wc);var y6=Wc.exports;{var t5=y6.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;z7.createRoot=function(e,t){t5.usingClientEntryPoint=!0;try{return y6.createRoot(e,t)}finally{t5.usingClientEntryPoint=!1}},z7.hydrateRoot=function(e,t,n){t5.usingClientEntryPoint=!0;try{return y6.hydrateRoot(e,t,n)}finally{t5.usingClientEntryPoint=!1}}}var Ou=Boolean(globalThis?.document)?E.exports.useLayoutEffect:E.exports.useEffect,P8={exports:{}},B7={};/**
|
||
|
* @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"),u=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"),C=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),T=Symbol.iterator,A="@@iterator";function k(X){if(X===null||typeof X!="object")return null;var Ue=T&&X[T]||X[A];return typeof Ue=="function"?Ue:null}var I=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function D(X){{for(var Ue=arguments.length,Xe=new Array(Ue>1?Ue-1:0),Et=1;Et<Ue;Et++)Xe[Et-1]=arguments[Et];P("error",X,Xe)}}function P(X,Ue,Xe){{var Et=I.ReactDebugCurrentFrame,ln=Et.getStackAddendum();ln!==""&&(Ue+="%s",Xe=Xe.concat([ln]));var Cn=Xe.map(function(ot){return String(ot)});Cn.unshift("Warning: "+Ue),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===w||F||z||q||typeof X=="object"&&X!==null&&(X.$$typeof===C||X.$$typeof===b||X.$$typeof===u||X.$$typeof===p||X.$$typeof===m||X.$$typeof===ie||X.getModuleId!==void 0))}function pe(X,Ue,Xe){var Et=X.displayName;if(Et)return Et;var ln=Ue.displayName||Ue.name||"";return ln!==""?Xe+"("+ln+")":Xe}function $e(X){return X.displayName||"Context"}function te(X){if(X==null)return null;if(typeof X.tag=="number"&&D("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 Ue=X;return $e(Ue)+".Consumer";case u:var Xe=X;return $e(Xe._context)+".Provider";case m:return pe(X,X.render,"ForwardRef");case b:var Et=X.displayName||null;return Et!==null?Et:te(X.type)||"Memo";case C:{var ln=X,Cn=ln._payload,ot=ln._init;try{return te(ot(Cn))}catch{return null}}}return null}var ee=Object.assign,be=0,Ce,K,le,ve,de,we,Le;function Me(){}Me.__reactDisabledLog=!0;function Ze(){{if(be===0){Ce=console.log,K=console.info,le=console.warn,ve=console.error,de=console.group,we=console.groupCollapsed,Le=console.groupEnd;var X={configurable:!0,enumerable:!0,value:Me,writable:!0};Object.defineProperties(console,{info:X,log:X,warn:X,error:X,group:X,groupCollapsed:X,groupEnd:X})}be++}}function Je(){{if(be--,be===0){var X={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ee({},X,{value:Ce}),info:ee({},X,{value:K}),warn:ee({},X,{value:le}),error:ee({},X,{value:ve}),group:ee({},X,{value:de}),groupCollapsed:ee({},X,{value:we}),groupEnd:ee({},X,{value:Le})})}be<0&&D("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var it=I.ReactCurrentDispatcher,Rt;function Ve(X,Ue,Xe){{if(Rt===void 0)try{throw Error()}catch(ln){var Et=ln.stack.trim().match(/\n( *(at )?)/);Rt=Et&&Et[1]||""}return`
|
||
|
`+Rt+X}}var at=!1,St;{var Dt=typeof WeakMap=="function"?WeakMap:Map;St=new Dt}function He(X,Ue){if(!X||at)return"";{var Xe=St.get(X);if(Xe!==void 0)return Xe}var Et;at=!0;var ln=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Cn;Cn=it.current,it.current=null,Ze();try{if(Ue){var ot=function(){throw Error()};if(Object.defineProperty(ot.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(ot,[])}catch(Ei){Et=Ei}Reflect.construct(X,[],ot)}else{try{ot.call()}catch(Ei){Et=Ei}X.call(ot.prototype)}}else{try{throw Error()}catch(Ei){Et=Ei}X()}}catch(Ei){if(Ei&&Et&&typeof Ei.stack=="string"){for(var Zt=Ei.stack.split(`
|
||
|
`),Vn=Et.stack.split(`
|
||
|
`),Bn=Zt.length-1,cn=Vn.length-1;Bn>=1&&cn>=0&&Zt[Bn]!==Vn[cn];)cn--;for(;Bn>=1&&cn>=0;Bn--,cn--)if(Zt[Bn]!==Vn[cn]){if(Bn!==1||cn!==1)do if(Bn--,cn--,cn<0||Zt[Bn]!==Vn[cn]){var Wr=`
|
||
|
`+Zt[Bn].replace(" at new "," at ");return X.displayName&&Wr.includes("<anonymous>")&&(Wr=Wr.replace("<anonymous>",X.displayName)),typeof X=="function"&&St.set(X,Wr),Wr}while(Bn>=1&&cn>=0);break}}}finally{at=!1,it.current=Cn,Je(),Error.prepareStackTrace=ln}var Ea=X?X.displayName||X.name:"",Vo=Ea?Ve(Ea):"";return typeof X=="function"&&St.set(X,Vo),Vo}function jt(X,Ue,Xe){return He(X,!1)}function Se(X){var Ue=X.prototype;return!!(Ue&&Ue.isReactComponent)}function tt(X,Ue,Xe){if(X==null)return"";if(typeof X=="function")return He(X,Se(X));if(typeof X=="string")return Ve(X);switch(X){case v:return Ve("Suspense");case g:return Ve("SuspenseList")}if(typeof X=="object")switch(X.$$typeof){case m:return jt(X.render);case b:return tt(X.type,Ue,Xe);case C:{var Et=X,ln=Et._payload,Cn=Et._init;try{return tt(Cn(ln),Ue,Xe)}catch{}}}return""}var Ct=Object.prototype.hasOwnProperty,nt={},on=I.ReactDebugCurrentFrame;function Ln(X){if(X){var Ue=X._owner,Xe=tt(X.type,X._source,Ue?Ue.type:null);on.setExtraStackFrame(Xe)}else on.setExtraStackFrame(null)}function _t(X,Ue,Xe,Et,ln){{var Cn=Function.call.bind(Ct);for(var ot in X)if(Cn(X,ot)){var Zt=void 0;try{if(typeof X[ot]!="function"){var Vn=Error((Et||"React class")+": "+Xe+" type `"+ot+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof X[ot]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Vn.name="Invariant Violation",Vn}Zt=X[ot](Ue,ot,Et,Xe,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Bn){Zt=Bn}Zt&&!(Zt instanceof Error)&&(Ln(ln),D("%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).",Et||"React class",Xe,ot,typeof Zt),Ln(null)),Zt instanceof Error&&!(Zt.message in nt)&&(nt[Zt.message]=!0,Ln(ln),D("Failed %s type: %s",Xe,Zt.message),Ln(null))}}}var sn=Array.isArray;function kn(X){return sn(X)}function bn(X){{var Ue=typeof Symbol=="function"&&Symbol.toStringTag,Xe=Ue&&X[Symbol.toStringTag]||X.constructor.name||"Object";return Xe}}function Ye(X){try{return et(X),!1}catch{return!0}}function et(X){return""+X}function nn(X){if(Ye(X))return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",bn(X)),et(X)}var Pt=I.ReactCurrentOwner,De={key:!0,ref:!0,__self:!0,__source:!0},qt,_n,We;We={};function lt(X){if(Ct.call(X,"ref")){var Ue=Object.getOwnPropertyDescriptor(X,"ref").get;if(Ue&&Ue.isReactWarning)return!1}return X.ref!==void 0}function At(X){if(Ct.call(X,"key")){var Ue=Object.getOwnPropertyDescriptor(X,"key").get;if(Ue&&Ue.isReactWarning)return!1}return X.key!==void 0}function vn(X,Ue){if(typeof X.ref=="string"&&Pt.current&&Ue&&Pt.current.stateNode!==Ue){var Xe=te(Pt.current.type);We[Xe]||(D('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(Pt.current.type),X.ref),We[Xe]=!0)}}function Jt(X,Ue){{var Xe=function(){qt||(qt=!0,D("%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)",Ue))};Xe.isReactWarning=!0,Object.defineProperty(X,"key",{get:Xe,configurable:!0})}}function Tn(X,Ue){{var Xe=function(){_n||(_n=!0,D("%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)",Ue))};Xe.isReactWarning=!0,Object.defineProperty(X,"ref",{get:Xe,configurable:
|
||
|
|
||
|
Check the render method of \``+X+"`."}return""}}function Bo(X){{if(X!==void 0){var Ue=X.fileName.replace(/^.*[\\\/]/,""),Xe=X.lineNumber;return`
|
||
|
|
||
|
Check your code at `+Ue+":"+Xe+"."}return""}}var gs={};function bs(X){{var Ue=xr();if(!Ue){var Xe=typeof X=="string"?X:X.displayName||X.name;Xe&&(Ue=`
|
||
|
|
||
|
Check the top-level render call using <`+Xe+">.")}return Ue}}function Uo(X,Ue){{if(!X._store||X._store.validated||X.key!=null)return;X._store.validated=!0;var Xe=bs(Ue);if(gs[Xe])return;gs[Xe]=!0;var Et="";X&&X._owner&&X._owner!==Mn.current&&(Et=" It was passed a child from "+te(X._owner.type)+"."),jn(X),D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Xe,Et),jn(null)}}function jo(X,Ue){{if(typeof X!="object")return;if(kn(X))for(var Xe=0;Xe<X.length;Xe++){var Et=X[Xe];Ni(Et)&&Uo(Et,Ue)}else if(Ni(X))X._store&&(X._store.validated=!0);else if(X){var ln=k(X);if(typeof ln=="function"&&ln!==X.entries)for(var Cn=ln.call(X),ot;!(ot=Cn.next()).done;)Ni(ot.value)&&Uo(ot.value,Ue)}}}function hr(X){{var Ue=X.type;if(Ue==null||typeof Ue=="string")return;var Xe;if(typeof Ue=="function")Xe=Ue.propTypes;else if(typeof Ue=="object"&&(Ue.$$typeof===m||Ue.$$typeof===b))Xe=Ue.propTypes;else return;if(Xe){var Et=te(Ue);_t(Xe,X.props,"prop",Et,X)}else if(Ue.PropTypes!==void 0&&!Rn){Rn=!0;var ln=te(Ue);D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ln||"Unknown")}typeof Ue.getDefaultProps=="function"&&!Ue.getDefaultProps.isReactClassApproved&&D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Vi(X){{for(var Ue=Object.keys(X.props),Xe=0;Xe<Ue.length;Xe++){var Et=Ue[Xe];if(Et!=="children"&&Et!=="key"){jn(X),D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Et),jn(null);break}}X.ref!==null&&(jn(X),D("Invalid attribute `ref` supplied to `React.Fragment`."),jn(null))}}function qa(X,Ue,Xe,Et,ln,Cn){{var ot=ae(X);if(!ot){var Zt="";(X===void 0||typeof X=="object"&&X!==null&&Object.keys(X).length===0)&&(Zt+=" 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 Vn=Bo(ln);Vn?Zt+=Vn:Zt+=xr();var Bn;X===null?Bn="null":kn(X)?Bn="array":X!==void 0&&X.$$typeof===t?(Bn="<"+(te(X.type)||"Unknown")+" />",Zt=" Did you accidentally export a JSX literal instead of a component?"):Bn=typeof X,D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Bn,Zt)}var cn=Dr(X,Ue,Xe,ln,Cn);if(cn==null)return cn;if(ot){var Wr=Ue.children;if(Wr!==void 0)if(Et)if(kn(Wr)){for(var Ea=0;Ea<Wr.length;Ea++)jo(Wr[Ea],X);Object.freeze&&Object.freeze(Wr)}else D("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 jo(Wr,X)}return X===i?Vi(cn):hr(cn),cn}}var Hi=qa;B7.Fragment=i,B7.jsxDEV=Hi})();(function(e){e.exports=B7})(P8);const ji=P8.exports.Fragment,N=P8.exports.jsxDEV;var ZP="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/color-mode/dist/index.esm.js",I8=E.exports.createContext({});I8.displayName="ColorModeContext";function $8(){const e=E.exports.useContext(I8);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}var n5={light:"chakra-ui-light",dark:"chakra-ui-dark"};function oY(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?n5.dark:n5.light),document.body.classList.remove(i?n5.light:n5.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=u=>{i(u.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.createTextNode("*{-web
|
||
|
`,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?u:p}`.trim()}function pY(e={}){return N("script",{id:"chakra-script",dangerouslySetInnerHTML:{__html:dY(e)}},void 0,!1,{fileName:ZP,lineNumber:244,columnNumber:26},this)}var U7={exports:{}};(function(e,t){var n=200,i="__lodash_hash_undefined__",o=800,s=16,u=9007199254740991,p="[object Arguments]",m="[object Array]",v="[object AsyncFunction]",g="[object Boolean]",b="[object Date]",C="[object Error]",w="[object Function]",T="[object GeneratorFunction]",A="[object Map]",k="[object Number]",I="[object Null]",D="[object Object]",P="[object Proxy]",F="[object RegExp]",z="[object Set]",q="[object String]",Y="[object Undefined]",Q="[object WeakMap]",ie="[object ArrayBuffer]",ae="[object DataView]",pe="[object Float32Array]",$e="[object Float64Array]",te="[object Int8Array]",ee="[object Int16Array]",be="[object Int32Array]",Ce="[object Uint8Array]",K="[object Uint8ClampedArray]",le="[object Uint16Array]",ve="[object Uint32Array]",de=/[\\^$.*+?()[\]{}|]/g,we=/^\[object .+?Constructor\]$/,Le=/^(?:0|[1-9]\d*)$/,Me={};Me[pe]=Me[$e]=Me[te]=Me[ee]=Me[be]=Me[Ce]=Me[K]=Me[le]=Me[ve]=!0,Me[p]=Me[m]=Me[ie]=Me[g]=Me[ae]=Me[b]=Me[C]=Me[w]=Me[A]=Me[k]=Me[D]=Me[F]=Me[z]=Me[q]=Me[Q]=!1;var Ze=typeof Dc=="object"&&Dc&&Dc.Object===Object&&Dc,Je=typeof self=="object"&&self&&self.Object===Object&&self,it=Ze||Je||Function("return this")(),Rt=t&&!t.nodeType&&t,Ve=Rt&&!0&&e&&!e.nodeType&&e,at=Ve&&Ve.exports===Rt,St=at&&Ze.process,Dt=function(){try{var W=Ve&&Ve.require&&Ve.require("util").types;return W||St&&St.binding&&St.binding("util")}catch{}}(),He=Dt&&Dt.isTypedArray;function jt(W,ne,ge){switch(ge.length){case 0:return W.call(ne);case 1:return W.call(ne,ge[0]);case 2:return W.call(ne,ge[0],ge[1]);case 3:return W.call(ne,ge[0],ge[1],ge[2])}return W.apply(ne,ge)}function Se(W,ne){for(var ge=-1,ut=Array(W);++ge<W;)ut[ge]=ne(ge);return ut}function tt(W){return function(ne){return W(ne)}}function Ct(W,ne){return W?.[ne]}function nt(W,ne){return function(ge){return W(ne(ge))}}var on=Array.prototype,Ln=Function.prototype,_t=Object.prototype,sn=it["__core-js_shared__"],kn=Ln.toString,bn=_t.hasOwnProperty,Ye=function(){var W=/[^.]+$/.exec(sn&&sn.keys&&sn.keys.IE_PROTO||"");return W?"Symbol(src)_1."+W:""}(),et=_t.toString,nn=kn.call(Object),Pt=RegExp("^"+kn.call(bn).replace(de,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),De=at?it.Buffer:void 0,qt=it.Symbol,_n=it.Uint8Array,We=De?De.allocUnsafe:void 0,lt=nt(Object.getPrototypeOf,Object),At=Object.create,vn=_t.propertyIsEnumerable,Jt=on.splice,Tn=qt?qt.toStringTag:void 0,$n=function(){try{var W=Gi(Object,"defineProperty");return W({},"",{}),W}catch{}}(),Dr=De?De.isBuffer:void 0,Mn=Math.max,wi=Date.now,jn=Gi(it,"Map"),Rn=Gi(Object,"create"),Ni=function(){function W(){}return function(ne){if(!mr(ne))return{};if(At)return At(ne);W.prototype=ne;var ge=new W;return W.prototype=void 0,ge}}();function xr(W){var ne=-1,ge=W==null?0:W.length;for(this.clear();++ne<ge;){var ut=W[ne];this.set(ut[0],ut[1])}}function Bo(){this.__data__=Rn?Rn(null):{},this.size=0}function gs(W){var ne=this.has(W)&&delete this.__data__[W];return this.size-=ne?1:0,ne}function bs(W){var ne=this.__data__;if(Rn){var ge=ne[W];return ge===i?void 0:ge}return bn.call(ne,W)?ne[W]:void 0}function Uo(W){var ne=this.__data__;return Rn?ne[W]!==void 0:bn.call(ne,W)}function jo(W,ne){var ge=this.__data__;return this.size+=this.has(W)?0:1,ge[W]=Rn&&ne===void 0?i:ne,this}xr.prototype.clear=Bo,xr.prototype.delete=gs,xr.prototype.get=bs,xr.prototype.has=Uo,xr.prototype.set=jo;function hr(W){var ne=-1,ge=W==null?0:W.length;for(this.clear();++ne<ge;){var ut=W[ne];this.set(ut[0],ut[1])}}function Vi(){this.__data__=[],this.size=0}function qa(W){var ne=this.__data__,ge=_a(ne,W);if(ge<0)return!1;var ut=ne.length-1;return ge==ut?ne.pop():Jt.call(ne,ge,1),--this.size,!0}function Hi(W){var ne=this.__data__,ge=_a(ne,W);return ge<0?void 0:ne[ge][1]}function X(W){return _a(this.__data__,W)>-1}function Ue(W,ne){var ge=this.__data__,ut=_a(ge,W);return ut<0?(++this.size,ge.push([W,ne])):ge[ut][1]=ne,this}hr.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 u=Oq(o);try{u.insertRule(i,u.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}(),Ha="-ms-",dS="-moz-",rr="-webkit-",B8="comm",U8="rule",j8="decl",Mq="@import",oI="@keyframes",Dq=Math.abs,i3=String.fromCharCode,Pq=Object.assign;function Iq(e,t){return(((t<<2^Mo(e,0))<<2^Mo(e,1))<<2^Mo(e,2))<<2^Mo(e,3)}function sI(e){return e.trim()}function $q(e,t){return(e=t.exec(e))?e[0]:e}function lr(e,t,n){return e.replace(t,n)}function q7(e,t){return e.indexOf(t)}function Mo(e,t){return e.charCodeAt(t)|0}function Qg(e,t,n){return e.slice(t,n)}function Eu(e){return e.length}function V8(e){return e.length}function i5(e,t){return t.push(e),e}function Fq(e,t){return e.map(t).join("")}var a3=1,Mv=1,lI=0,Fo=0,xi=0,Wv="";function o3(e,t,n,i,o,s,u){return{value:e,root:t,parent:n,type:i,props:o,children:s,line:a3,column:Mv,length:u,return:""}}function vg(e,t){return Pq(o3("",null,null,"",null,null,0),e,{length:-e.length},t)}function zq(){return xi}function Bq(){return xi=Fo>0?Mo(Wv,--Fo):0,Mv--,xi===10&&(Mv=1,a3--),xi}function ds(){return xi=Fo<lI?Mo(Wv,Fo++):0,Mv++,xi===10&&(Mv=1,a3++),xi}function Lu(){return Mo(Wv,Fo)}function B5(){return Fo}function wb(e,t){return Qg(Wv,e,t)}function Jg(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 uI(e){return a3=Mv=1,lI=Eu(Wv=e),Fo=0,[]}function cI(e){return Wv="",e}function U5(e){return sI(wb(Fo-1,Z7(e===91?e+2:e===40?e+1:e)))}function Uq(e){for(;(xi=Lu())&&xi<33;)ds();return Jg(e)>2||Jg(xi)>3?"":" "}function jq(e,t){for(;--t&&ds()&&!(xi<48||xi>102||xi>57&&xi<65||xi>70&&xi<97););return wb(e,B5()+(t<6&&Lu()==32&&ds()==32))}function Z7(e){for(;ds();)switch(xi){case e:return Fo;case 34:case 39:e!==34&&e!==39&&Z7(xi);break;case 40:e===41&&Z7(e);break;case 92:ds();break}return Fo}function Vq(e,t){for(;ds()&&e+xi!==47+10;)if(e+xi===42+42&&Lu()===47)break;return"/*"+wb(t,Fo-1)+"*"+i3(e===47?e:ds())}function Hq(e){for(;!Jg(Lu());)ds();return wb(e,Fo)}function Wq(e){return cI(j5("",null,null,null,[""],e=uI(e),0,[0],e))}function j5(e,t,n,i,o,s,u,p,m){for(var v=0,g=0,b=u,C=0,w=0,T=0,A=1,k=1,I=1,D=0,P="",F=o,z=s,q=i,Y=P;k;)switch(T=D,D=ds()){case 40:if(T!=108&&Y.charCodeAt(b-1)==58){q7(Y+=lr(U5(D),"&","&\f"),"&\f")!=-1&&(I=-1);break}case 34:case 39:case 91:Y+=U5(D);break;case 9:case 10:case 13:case 32:Y+=Uq(T);break;case 92:Y+=jq(B5()-1,7);continue;case 47:switch(Lu()){case 42:case 47:i5(Gq(Vq(ds(),B5()),t,n),m);break;default:Y+="/"}break;case 123*A:p[v++]=Eu(Y)*I;case 125*A:case 59:case 0:switch(D){case 0:case 125:k=0;case 59+g:w>0&&Eu(Y)-b&&i5(w>32?lL(Y+";",i,n,b-1):lL(lr(Y," ","")+";",i,n,b-2),m);break;case 59:Y+=";";default:if(i5(q=sL(Y,t,n,v,g,o,p,P,F=[],z=[],b),s),D===123)if(g===0)j5(Y,t,q,q,F,s,b,p,z);else switch(C){case 100:case 109:case 115:j5(e,q,q,i&&i5(sL(e,q,q,0,0,o,p,P,o,F=[],b),z),o,z,b,p,i?F:z);break;default:j5(Y,q,q,q,[""],z,0,p,z)}}v=g=w=0,A=I=1,P=Y="",b=u;break;case 58:b=1+Eu(Y),w=T;default:if(A<1){if(D==123)--A;else if(D==125&&A++==0&&Bq()==125)continue}switch(Y+=i3(D),D*A){case 38:I=g>0?1:(Y+="\f",-1);break;case 44:p[v++]=(Eu(Y)-1)*I,I=1;break;case 64:Lu()===45&&(Y+=U5(ds())),C=Lu(),g=b=Eu(P=Y+=Hq(B5())),D++;break;case 45:T===45&&Eu(Y)==2&&(A=0)}}return s}function sL(e,t,n,i,o,s,u,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(A){var k=A.getAttribute("data-emotion");k.indexOf(" ")!==-1&&(document.head.appendChild(A),A.setAttribute("data-s",""))})}var o=t.stylisPlugins||oZ;if(/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var s={},u,p=[];u=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(A){for(var k=A.getAttribute("data-emotion").split(" "),I=1;I<k.length;I++)s[k[I]]=!0;p.push(A)});var m,v=[Jq,eZ];v.push(rZ({get compat(){return T.compat}}),aZ);{var g,b=[Yq,function(A){A.root||(A.return?g.insert(A.return):A.value&&A.type!==B8&&g.insert(A.value+"{}"))}],C=qq(v.concat(o,b)),w=function(k){return wv(Wq(k),C)};m=function(k,I,D,P){g=D,I.map!==void 0&&(g={insert:function(z){D.insert(z+I.map)}}),w(k?k+"{"+I.styles+"}":I.styles),P&&(T.inserted[I.name]=!0)}}var T={key:n,sheet:new kq({key:n,container:u,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 K7(){return K7=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},K7.apply(this,arguments)}var s3={exports:{}},cr={};/** @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,u=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,C=e?Symbol.for("react.suspense_list"):60120,w=e?Symbol.for("react.memo"):60115,T=e?Symbol.for("react.lazy"):60116,A=e?Symbol.for("react.block"):60121,k=e?Symbol.for("react.fundamental"):60117,I=e?Symbol.for("react.responder"):60118,D=e?Symbol.for("react.scope"):60119;function P(He){return typeof He=="string"||typeof He=="function"||He===i||He===v||He===s||He===o||He===b||He===C||typeof He=="object"&&He!==null&&(He.$$typeof===T||He.$$typeof===w||He.$$typeof===u||He.$$typeof===p||He.$$typeof===g||He.$$typeof===k||He.$$typeof===I||He.$$typeof===D||He.$$typeof===A)}function F(He){if(typeof He=="object"&&He!==null){var jt=He.$$typeof;switch(jt){case t:var Se=He.type;switch(Se){case m:case v:case i:case s:case o:case b:return Se;default:var tt=Se&&Se.$$typeof;switch(tt){case p:case g:case T:case w:case u:return tt;default:return jt}}case n:return jt}}}var z=m,q=v,Y=p,Q=u,ie=t,ae=g,pe=i,$e=T,te=w,ee=n,be=s,Ce=o,K=b,le=!1;function ve(He){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.")),de(He)||F(He)===m}function de(He){return F(He)===v}function we(He){return F(He)===p}function Le(He){return F(He)===u}function Me(He){return typeof He=="object"&&He!==null&&He.$$typeof===t}function Ze(He){return F(He)===g}function Je(He){return F(He)===i}function it(He){return F(He)===T}function Rt(He){return F(He)===w}function Ve(He){return F(He)===n}function at(He){return F(He)===s}function St(He){return F(He)===o}function Dt(He){return F(He)===b}cr.AsyncMode=z,cr.ConcurrentMode=q,cr.ContextConsumer=Y,cr.ContextProvider=Q,cr.Element=ie,cr.ForwardRef=ae,cr.Fragment=pe,cr.Lazy=$e,cr.Memo=te,cr.Portal=ee,cr.Profiler=be,cr.StrictMode=Ce,cr.Suspense=K,cr.isAsyncMode=ve,cr.isConcurrentMode=de,cr.isContextConsumer=we,cr.isContextProvider=Le,cr.isElement=Me,cr.isForwardRef=Ze,cr.isFragment=Je,cr.isLazy=it,cr.isMemo=Rt,cr.isPortal=Ve,cr.isProfiler=at,cr.isStrictMode=St,cr.isSuspense=Dt,cr.isValidElementType=P,cr.typeOf=F})();(function(e){e.exports=cr})(s3);var mI=s3.exports,lZ={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},uZ={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},hI={};hI[mI.ForwardRef]=lZ;hI[mI.Memo]=uZ;var cZ=!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 l3=function(t,n,i){var o=t.key+"-"+n.name;(i===!1||cZ===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},u3=function(t,n,i){l3(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 fZ(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 dZ={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`,pZ="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",mZ=/[A-Z]|^ms/g,vI=/_EMO_([^_]+?)_([^]*?)_EMO_/g,W8=function(t){return t.charCodeAt(1)===45},pL=function(t){return t!=null&&typeof t!="boolean"},S6=dI(function(e){return W8(e)?e:e.replace(mZ,"-$&").toLowerCase()}),pS=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(vI,function(i,o,s){return _u={name:o,styles:s,next:_u},o})}return dZ[t]!==1&&!W8(t)&&typeof n=="number"&&n!==0?n+"px":n};{var hZ=/(var|attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,vZ=["normal","none","initial","inherit","unset"],gZ=pS,bZ=/^-ms-/,yZ=/-(.)/g,mL={};pS=function(t,n){if(t==="content"&&(typeof n!="string"||vZ.indexOf(n)===-1&&!hZ.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=gZ(t,n);return i!==""&&!W8(t)&&t.indexOf("-")!==-1&&mL[t]===void 0&&(mL[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(bZ,"ms-").replace(yZ,function(o,s){return s.toUpperCase()})+"?")),i}}var gI="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function eb(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(gI);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return _u={name:n.name,styles:n.styles,next:_u},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)_u={name:i.name,styles:i.styles,next:_u},i=i.next;var o=n.styles+";";return n.map!==void 0&&(o+=n.map),o}return xZ(e,t,n)}case"function":{if(e!==void 0){var s=_u,u=n(e);return _u=s,eb(e,t,u)}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(vI,function(g,b,C){var w="animation"+p.length;return p.push("const "+w+" = keyframes`"+C.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+w+"}"});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 xZ(e,t,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=eb(e,t,n[o])+";";else for(var s in n){var u=n[s];if(typeof u!="object")t!=null&&t[u]!==void 0?i+=s+"{"+t[u]+"}":pL(u)&&(i+=S6(s)+":"+pS(s,u)+";");else{if(s==="NO_COMPONENT_SELECTOR")throw new Error(gI);if(Array.isArray(u)&&typeof u[0]=="string"&&(t==null||t[u[0]]===void 0))for(var p=0;p<u.length;p++)pL(u[p])&&(i+=S6(s)+":"+pS(s,u[p])+";");else{var m=eb(e,t,u);switch(s){case"animation":case"animationName":{i+=S6(s)+":"+m+";";break}default:s==="undefined"&&console.error(pZ),i+=s+"{"+m+"}"}}}}return i}var hL=/label:\s*([^\s;\n{]+)\s*(;|$)/g,bI;bI=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;var _u,Dv=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="";_u=void 0;var u=t[0];u==null||u.raw===void 0?(o=!1,s+=eb(i,n,u)):(u[0]===void 0&&console.error(dL),s+=u[0]);for(var p=1;p<t.length;p++)s+=eb(i,n,t[p]),o&&(u[p]===void 0&&console.error(dL),s+=u[p]);var m;s=s.replace(bI,function(C){return m=C,""}),hL.lastIndex=0;for(var v="",g;(g=hL.exec(s))!==null;)v+="-"+g[1];var b=fZ(s)+v;return{name:b,styles:s,map:m,next:_u,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)."}}},SZ=function(t){return t()},yI=F7["useInsertionEffect"]?F7["useInsertionEffect"]:!1,G8=yI||SZ,vL=yI||E.exports.useLayoutEffect,CZ={}.hasOwnProperty,Y8=E.exports.createContext(typeof HTMLElement<"u"?sZ({key:"css"}):null);Y8.displayName="EmotionCacheContext";Y8.Provider;var c3=function(t){return E.exports.forwardRef(function(n,i){var o=E.exports.useContext(Y8);return t(n,o,i)})},hd=E.exports.createContext({});hd.displayName="EmotionThemeContext";var wZ=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 K7({},t,n)},NZ=uL(function(e){return uL(function(t){return wZ(e,t)})}),EZ=function(t){var n=E.exports.useContext(hd);return t.theme!==n&&(n=NZ(n)(t.theme)),E.exports.createElement(hd.Provider,{value:n},t.children)},gL="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",bL="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",_Z=function(t){var n=t.cache,i=t.serialized,o=t.isStringTag;return l3(n,i,o),G8(function(){return u3(n,i,o)}),null},TZ=c3(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var o=e[gL],s=[i],u="";typeof e.className=="string"?u=H8(t.registered,s,e.className):e.className!=null&&(u=e.className+" ");var p=Dv(s,void 0,E.exports.useContext(hd));if(p.name.indexOf("-")===-1){var m=e[bL];m&&(p=Dv([p,"label:"+m+";"]))}u+=t.key+"-"+p.name;var v={};for(var g in e)CZ.call(e,g)&&g!=="css"&&g!==gL&&g!==bL&&(v[g]=e[g]);return v.ref=n,v.className=u,E.exports.createElement(E.exports.Fragment,null,E.exports.createElement(_Z,{cache:t,serialized:p,isStringTag:typeof o=="string"}),E.exports.createElement(o,v))});TZ.displayName="EmotionCssPropInternal";var RZ={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`,EK=function(t){var n=t.cache,i=t.serialized,o=t.isStringTag;return l3(n,i,o),G8(function(){return u3(n,i,o)}),null},_K=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,u;n!==void 0&&(s=n.label,u=n.target);var p=NL(t,n,i),m=p||wL(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(EL),b.push(g[0][0]);for(var C=g.length,w=1;w<C;w++)g[0][w]===void 0&&console.error(EL),b.push(g[w],g[0][w])}var T=c3(function(A,k,I){var D=v&&A.as||o,P="",F=[],z=A;if(A.theme==null){z={};for(var q in A)z[q]=A[q];z.theme=E.exports.useContext(hd)}typeof A.className=="string"?P=H8(k.registered,F,A.className):A.className!=null&&(P=A.className+" ");var Y=Dv(b.concat(F),k.registered,z);P+=k.key+"-"+Y.name,u!==void 0&&(P+=" "+u);var Q=v&&p===void 0?wL(D):m,ie={};for(var ae in A)v&&ae==="as"||Q(ae)&&(ie[ae]=A[ae]);return ie.className=P,ie.ref=I,E.exports.createElement(E.exports.Fragment,null,E.exports.createElement(EK,{cache:k,serialized:Y,isStringTag:typeof D=="string"}),E.exports.createElement(D,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 u===void 0?"NO_COMPONENT_SELECTOR":"."+u}}),T.withComponent=function(A,k){return e(A,X7({},n,k,{shouldForwardProp:NL(T,k,!0)})).apply(void 0,b)},T}},TK=["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"],Q7=_K.bind();TK.forEach(function(e){Q7[e]=Q7(e)});var RK=typeof Element<"u",AK=typeof Map=="function",OK=typeof Set=="function",LK=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function V5(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(!V5(e[i],t[i]))return!1;return!0}var s;if(AK&&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(!V5(i.value[1],t.get(i.value[0])))return!1;return!0}if(OK&&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(LK&&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(RK&&e instanceof Element)return!1;for(i=n;i--!==0;)if(!((o[i]==="_owner"||o[i]==="__v"||o[i]==="__o")&&e.$$typeof)&&!V5(e[o[i]],t[o[i]]))return!1;return!0}return e!==e&&t!==t}var kK=function(t,n){try{return V5(t,n)}catch
|
||
|
[data-motion-pop-id="${n}"] {
|
||
|
position: absolute !important;
|
||
|
width: ${s}px !important;
|
||
|
height: ${u}px !important;
|
||
|
top: ${p}px !important;
|
||
|
left: ${m}px !important;
|
||
|
}
|
||
|
`),()=>{document.head.removeChild(v)}},[t]),N(Ite,{isPresent:t,childRef:i,sizeRef:o,children:E.exports.cloneElement(e,{ref:i})},void 0,!1,{fileName:Pte,lineNumber:68,columnNumber:13},this)}var zk="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs";const M6=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:s,mode:u})=>{const p=v3(Fte),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]),u==="popLayout"&&(e=N($te,{isPresent:n,children:e},void 0,!1,{fileName:zk,lineNumber:48,columnNumber:20},globalThis)),N(Yv.Provider,{value:v,children:e},void 0,!1,{fileName:zk,lineNumber:50,columnNumber:13},globalThis)};function Fte(){return new Map}var D6="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs";const pv=e=>e.key||"";function zte(e,t){e.forEach(n=>{const i=pv(n);t.set(i,n)})}function Bte(e){const t=[];return E.exports.Children.forEach(e,n=>{E.exports.isValidElement(n)&&t.push(n)}),t}const Gc=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:s=!0,mode:u="sync"})=>{o&&(u="wait",m_(!1,"Replace exitBeforeEnter with mode='wait'"));let[p]=Dte();const m=E.exports.useContext(X8).forceRender;m&&(p=m);const v=rF(),g=Bte(e);let b=g;const C=new Set,w=E.exports.useRef(b),T=E.exports.useRef(new Map).current,A=E.exports.useRef(!0);if(bS(()=>{A.current=!1,zte(g,T),w.current=b}),a_(()=>{A.current=!0,T.clear(),C.clear()}),A.current)return N(ji,{children:b.map(P=>N(M6,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:s,mode:u,children:P},pv(P),!1,{fileName:D6,lineNumber:97,columnNumber:92},globalThis))},void 0,!1);b=[...b];const k=w.current.map(pv),I=g.map(pv),D=k.length;for(let P=0;P<D;P++){const F=k[P];I.indexOf(F)===-1&&C.add(F)}return u==="wait"&&C.size&&(b=[]),C.forEach(P=>{if(I.indexOf(P)!==-1)return;const F=T.get(P);if(!F)return;const z=k.indexOf(P),q=()=>{T.delete(P),C.delete(P);const Y=w.current.findIndex(Q=>Q.key===P);if(w.current.splice(Y,1),!C.size){if(w.current=g,v.current===!1)return;p(),i&&i()}};b.splice(z,0,N(M6,{isPresent:!1,onExitComplete:q,custom:t,presenceAffectsLayout:s,mode:u,children:F},pv(F),!1,{fileName:D6,lineNumber:143,columnNumber:52},globalThis))}),b=b.map(P=>{const F=P.key;return C.has(F)?P:N(M6,{isPresent:!0,presenceAffectsLayout:s,mode:u,children:P},pv(P),!1,{fileName:D6,lineNumber:149,columnNumber:46},globalThis)}),p_!=="production"&&u==="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(ji,{children:C.size?b:b.map(P=>E.exports.cloneElement(P))},void 0,!1)};var Db="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/transition/dist/index.esm.js",Pb=(...e)=>e.filter(Boolean).join(" ");function Ute(){return!0}var jte=e=>{const{condition:t,message:n}=e;t&&Ute()&&console.warn(n)},lm={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},yg={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 xE(e){switch(e?.direction??"ri
|
||
|
`})}function cne(e){N3({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function uF(e){const{isOpen:t,isDisabled:n}=w_(),{reduceMotion:i}=N_(),o=Ib("chakra-accordion__icon",e.className),s=E3(),u={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:i?void 0:"transform 0.2s",transformOrigin:"center",...s.icon};return N(vs,{viewBox:"0 0 24 24","aria-hidden":!0,className:o,__css:u,...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:CE,lineNumber:282,columnNumber:22},this)},void 0,!1,{fileName:CE,lineNumber:276,columnNumber:26},this)}uF.displayName="AccordionIcon";var cF=Ke(function(t,n){const{children:i,className:o}=t,{htmlProps:s,...u}=one(t),m={...E3().container,overflowAnchor:"none"},v=E.exports.useMemo(()=>u,[u]);return _e.createElement(ene,{value:v},_e.createElement(je.div,{ref:n,...s,className:Ib("chakra-accordion__item",o),__css:m},typeof i=="function"?i({isExpanded:!!u.isOpen,isDisabled:!!u.isDisabled}):i))});cF.displayName="AccordionItem";var fF=Ke(function(t,n){const{reduceMotion:i}=N_(),{getPanelProps:o,isOpen:s}=w_(),u=o(t,n),p=Ib("chakra-accordion__panel",t.className),m=E3();i||delete u.hidden;const v=_e.createElement(je.div,{...u,__css:m.panel,className:p});return i?v:N(iF,{in:s,children:v},void 0,!1,{fileName:CE,lineNumber:336,columnNumber:28},this)});fF.displayName="AccordionPanel";var dF=Ke(function({children:t,reduceMotion:n,...i},o){const s=vo("Accordion",i),u=pr(i),{htmlProps:p,descendants:m,...v}=ine(u),g=E.exports.useMemo(()=>({...v,reduceMotion:!!n}),[v,n]);return _e.createElement(tne,{value:m},_e.createElement(ane,{value:g},_e.createElement(Jte,{value:s},_e.createElement(je.div,{ref:o,...p,className:Ib("chakra-accordion",i.className),__css:s.root},t))))});dF.displayName="Accordion";var fne=(...e)=>e.filter(Boolean).join(" "),dne=Eb({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),_3=Ke((e,t)=>{const n=ho("Spinner",e),{label:i="Loading...",thickness:o="2px",speed:s="0.45s",emptyColor:u="transparent",className:p,...m}=pr(e),v=fne("chakra-spinner",p),g={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:u,borderLeftColor:u,animation:`${dne} ${s} linear infinite`,...n};return _e.createElement(je.div,{ref:t,__css:g,className:v,...m},i&&_e.createElement(je.span,{srOnly:!0},i))});_3.displayName="Spinner";var hm="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/alert/dist/index.esm.js",T3=(...e)=>e.filter(Boolean).join(" ");function pne(e){return N(vs,{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.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"},void 0,!1,{fileName:hm,lineNumber:24,columnNumber:22},this)},void 0,!1,{fileName:hm,lineNumber:21,columnNumber:26},this)}function mne(e){return N(vs,{viewBox:"0 0 24 24",...e,children:N("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"},void 0,!1,{fileName:hm,lineNumber:33,columnNumber:22},this)},void 0,!1,{fileName:hm,lineNumber:30,columnNumber:26},this)}function jk(e){return N(vs,{viewBox:"0 0 24 24",...e,children:N("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"},void 0,!1,{fileName:hm,lineNumber:42,columnNumber:22},this)},void 0,!1,{fileName:hm,lineNumber:39,columnNumber:26},this)}var[hne,vne]=Rr({name:"AlertContext",ho
|
||
|
|
||
|
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 Ue(S){var L={_status:hr,_result:S},V={$$typeof:T,_payload:L,_init:X};{var G,se;Object.defineProperties(V,{defaultProps:{configurable:!0,get:function(){return G},set:function(ze){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=ze,Object.defineProperty(V,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return se},set:function(ze){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=ze,Object.defineProperty(V,"propTypes",{enumerable:!0})}}})}return V}function Xe(S){S!=null&&S.$$typeof===w?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 L={$$typeof:g,render:S};{var V;Object.defineProperty(L,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function(G){V=G,!S.name&&!S.displayName&&(S.displayName=G)}})}return L}var Et;Et=Symbol.for("react.module.reference");function ln(S){return!!(typeof S=="string"||typeof S=="function"||S===s||S===p||ee||S===u||S===b||S===C||te||S===A||ae||pe||$e||typeof S=="object"&&S!==null&&(S.$$typeof===T||S.$$typeof===w||S.$$typeof===m||S.$$typeof===v||S.$$typeof===g||S.$$typeof===Et||S.getModuleId!==void 0))}function Cn(S,L){ln(S)||K("memo: The first argument must be a component. Instead received: %s",S===null?"null":typeof S);var V={$$typeof:w,type:S,compare:L===void 0?null:L};{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 ot(){var S=P.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 Zt(S){var L=ot();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 L.useContext(S)}function Vn(S){var L=ot();return L.useState(S)}function Bn(S,L,V){var G=ot();return G.useReducer(S,L,V)}function cn(S){var L=ot();return L.useRef(S)}function Wr(S,L){var V=ot();return V.useEffect(S,L)}function Ea(S,L){var V=ot();return V.useInsertionEffect(S,L)}function Vo(S,L){var V=ot();return V.useLayoutEffect(S,L)}function Ei(S,L){var V=ot();return V.useCallback(S,L)}function go(S,L){var V=ot();return V.useMemo(S,L)}function Hu(S,L,V){var G=ot();return G.useImperativeHandle(S,L,V)}function _a(S,L){{var V=ot();return V.useDebugValue(S,L)}}function al(){var S=ot();return S.useTransition()}function Za(S){var L=ot();return L.useDeferredValue(S)}function en(){var S=ot();return S.useId()}function Ka(S,L,V){var G=ot();return G.useSyncExternalStore(S,L,V)}var _i=0,Ho,ys,Wo,xs,Ss,Go,Yo;function Cs(){}Cs.__reactDisabledLog=!0;function ol(){{if(_i===0){Ho=console.log,ys=console.info,Wo=console.warn,xs=console.error,Ss=console.group,Go=console.groupCollapsed,Yo=console.groupEnd;var S={configurable:!0,enumerable:!0,value:Cs,writable:!0};Object.defineProperties(console,{info:S,log:S,warn:S,error:S,group:S,groupCollapsed:S,groupEnd:S})}_i++}}function sl(){{if(_i--,_i===0){var S={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Le({},S,{value:Ho}),info:Le({},S,{value:ys}),warn:Le({},S,{value:Wo}),error:Le({},S,{value:xs}),group:Le({},S,{value:Ss}),groupCollapsed:Le({},S,{value:Go}),groupEnd:Le({},S,{value:Yo})})}_i<0&&K("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var Ta=be.ReactCurrentDispatcher,Br;function Wi(S,L,V){{if(Br===void 0)try{throw Error()}catch(se){var G=se.stack.trim().match(/\n( *(at )?)/);Br=G&&G[1]||""}return`
|
||
|
`+Br+S}}var Ti=!1,Gi;{var ws=typeof WeakMap=="function"?WeakMap:Map;Gi=new ws}function qo(S,L){if(!S||Ti)return"";{var V=Gi.get(S);if(V!==void 0)return V}var G;Ti=!0;var se=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ze;ze=Ta.current,Ta.current=null,ol();try{if(L){var Ee=function(){throw Error()};if(Object.defineProperty(Ee.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Ee,[])}catch(Ut){G=Ut}Reflect.construct(S,[],Ee)}else{try{Ee.call()}catch(Ut){G=Ut}S.call(Ee.prototype)}}else{try{throw Error()}catch(Ut){G=Ut}S()}}catch(Ut){if(Ut&&G&&typeof Ut.stack=="string"){for(var Ge=Ut.stack.split(`
|
||
|
`),ct=G.stack.split(`
|
||
|
`),wt=Ge.length-1,It=ct.length-1;wt>=1&&It>=0&&Ge[wt]!==ct[It];)It--;for(;wt>=1&&It>=0;wt--,It--)if(Ge[wt]!==ct[It]){if(wt!==1||It!==1)do if(wt--,It--,It<0||Ge[wt]!==ct[It]){var yt=`
|
||
|
`+Ge[wt].replace(" at new "," at ");return S.displayName&&yt.includes("<anonymous>")&&(yt=yt.replace("<anonymous>",S.displayName)),typeof S=="function"&&Gi.set(S,yt),yt}while(wt>=1&&It>=0);break}}}finally{Ti=!1,Ta.current=ze,sl(),Error.prepareStackTrace=se}var Wt=S?S.displayName||S.name:"",Ot=Wt?Wi(Wt):"";return typeof S=="function"&&Gi.set(S,Ot),Ot}function Ns(S,L,V){return qo(S,!1)}function Yl(S){var L=S.prototype;return!!(L&&L.isReactComponent)}function Ri(S,L,V){if(S==null)return"";if(typeof S=="function")return qo(S,Yl(S));if(typeof S=="string")return Wi(S);switch(S){case b:return Wi("Suspense");case C:return Wi("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case g:return Ns(S.render);case w:return Ri(S.type,L,V);case T:{var G=S,se=G._payload,ze=G._init;try{return Ri(ze(se),L,V)}catch{}}}return""}var Zo={},Yi=be.ReactDebugCurrentFrame;function Ra(S){if(S){var L=S._owner,V=Ri(S.type,S._source,L?L.type:null);Yi.setExtraStackFrame(V)}else Yi.setExtraStackFrame(null)}function ll(S,L,V,G,se){{var ze=Function.call.bind(sn);for(var Ee in S)if(ze(S,Ee)){var Ge=void 0;try{if(typeof S[Ee]!="function"){var ct=Error((G||"React class")+": "+V+" type `"+Ee+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof S[Ee]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ct.name="Invariant Violation",ct}Ge=S[Ee](L,Ee,G,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(wt){Ge=wt}Ge&&!(Ge instanceof Error)&&(Ra(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,Ee,typeof Ge),Ra(null)),Ge instanceof Error&&!(Ge.message in Zo)&&(Zo[Ge.message]=!0,Ra(se),K("Failed %s type: %s",V,Ge.message),Ra(null))}}}function fn(S){if(S){var L=S._owner,V=Ri(S.type,S._source,L?L.type:null);ie(V)}else ie(null)}var Aa;Aa=!1;function Ko(){if(q.current){var S=_t(q.current.type);if(S)return`
|
||
|
|
||
|
Check the render method of \``+S+"`."}return""}function Ht(S){if(S!==void 0){var L=S.fileName.replace(/^.*[\\\/]/,""),V=S.lineNumber;return`
|
||
|
|
||
|
Check your code at `+L+":"+V+"."}return""}function ul(S){return S!=null?Ht(S.__source):""}var Sr={};function Xa(S){var L=Ko();if(!L){var V=typeof S=="string"?S:S.displayName||S.name;V&&(L=`
|
||
|
|
||
|
Check the top-level render call using <`+V+">.")}return L}function na(S,L){if(!(!S._store||S._store.validated||S.key!=null)){S._store.validated=!0;var V=Xa(L);if(!Sr[V]){Sr[V]=!0;var G="";S&&S._owner&&S._owner!==q.current&&(G=" It was passed a child from "+_t(S._owner.type)+"."),fn(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),fn(null)}}}function bo(S,L){if(typeof S=="object"){if(jt(S))for(var V=0;V<S.length;V++){var G=S[V];Jt(G)&&na(G,L)}else if(Jt(S))S._store&&(S._store.validated=!0);else if(S){var se=D(S);if(typeof se=="function"&&se!==S.entries)for(var ze=se.call(S),Ee;!(Ee=ze.next()).done;)Jt(Ee.value)&&na(Ee.value,L)}}}function Or(S){{var L=S.type;if(L==null||typeof L=="string")return;var V;if(typeof L=="function")V=L.propTypes;else if(typeof L=="object"&&(L.$$typeof===g||L.$$typeof===w))V=L.propTypes;else return;if(V){var G=_t(L);ll(V,S.props,"prop",G,S)}else if(L.PropTypes!==void 0&&!Aa){Aa=!0;var se=_t(L);K("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",se||"Unknown")}typeof L.getDefaultProps=="function"&&!L.getDefaultProps.isReactClassApproved&&K("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ar(S){{for(var L=Object.keys(S.props),V=0;V<L.length;V++){var G=L[V];if(G!=="children"&&G!=="key"){fn(S),K("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",G),fn(null);break}}S.ref!==null&&(fn(S),K("Invalid attribute `ref` supplied to `React.Fragment`."),fn(null))}}function Xo(S,L,V){var G=ln(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 ze=ul(L);ze?se+=ze:se+=Ko();var Ee;S===null?Ee="null":jt(S)?Ee="array":S!==void 0&&S.$$typeof===i?(Ee="<"+(_t(S.type)||"Unknown")+" />",se=" Did you accidentally export a JSX literal instead of a component?"):Ee=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",Ee,se)}var Ge=lt.apply(this,arguments);if(Ge==null)return Ge;if(G)for(var ct=2;ct<arguments.length;ct++)bo(arguments[ct],S);return S===s?ar(Ge):Or(Ge),Ge}var Jr=!1;function mr(S){var L=Xo.bind(null,S);return L.type=S,Jr||(Jr=!0,Ce("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(L,"type",{enumerable:!1,get:function(){return Ce("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:S}),S}}),L}function li(S,L,V){for(var G=vn.apply(this,arguments),se=2;se<arguments.length;se++)bo(arguments[se],G.type);return Or(G),G}function Wu(S,L){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&&Ce("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 yo=!1,Oa=null;function cl(S){if(Oa===null)try{var L=("require"+Math.random()).slice(0,7),V=t&&t[L];Oa=V.call(t,"timers").setImmediate}catch{Oa=function(se){yo===!1&&(yo=!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 ze=new MessageChannel;ze.port1.onmessage=se,ze.port2.postMessage(void 0)}}return Oa(S)}var gn=0,Fn=!1;function ql(S){{var L=gn;gn++,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 ld="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/button/dist/index.esm.js",O3=(...e)=>e.filter(Boolean).join(" "),Hk=e=>e?"":void 0,[kne,Mne]=Rr({strict:!1,name:"ButtonGroupContext"});function wE(e){const{children:t,className:n,...i}=e,o=E.exports.isValidElement(t)?E.exports.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,s=O3("chakra-button__icon",n);return _e.createElement(je.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...i,className:s},o)}wE.displayName="ButtonIcon";function NE(e){const{label:t,placement:n,spacing:i="0.5rem",children:o=N(_3,{color:"currentColor",width:"1em",height:"1em"},void 0,!1,{fileName:ld,lineNumber:56,columnNumber:32},this),className:s,__css:u,...p}=e,m=O3("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",...u}),[u,t,v,i]);return _e.createElement(je.div,{className:m,...p,__css:g},o)}NE.displayName="ButtonSpinner";function Dne(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 Fu=Ke((e,t)=>{const n=Mne(),i=ho("Button",{...n,...e}),{isDisabled:o=n?.isDisabled,isLoading:s,isActive:u,children:p,leftIcon:m,rightIcon:v,loadingText:g,iconSpacing:b="0.5rem",type:C,spinner:w,spinnerPlacement:T="start",className:A,as:k,...I}=pr(e),D=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:P,type:F}=Dne(k),z={rightIcon:v,leftIcon:m,iconSpacing:b,children:p};return _e.createElement(je.button,{disabled:o||s,ref:GK(t,P),as:k,type:C??F,"data-active":Hk(u),"data-loading":Hk(s),__css:D,className:O3("chakra-button",A),...I},s&&T==="start"&&N(NE,{className:"chakra-button__spinner--start",label:g,placement:"start",spacing:b,children:w},void 0,!1,{fileName:ld,lineNumber:145,columnNumber:67},globalThis),s?g||_e.createElement(je.span,{opacity:0},N(Wk,{...z},void 0,!1,{fileName:ld,lineNumber:152,columnNumber:22},globalThis)):N(Wk,{...z},void 0,!1,{fileName:ld,lineNumber:154,columnNumber:25},globalThis),s&&T==="end"&&N(NE,{className:"chakra-button__spinner--end",label:g,placement:"end",spacing:b,children:w},void 0,!1,{fileName:ld,lineNumber:156,columnNumber:66},globalThis))});Fu.displayName="Button";function Wk(e){const{leftIcon:t,rightIcon:n,children:i,iconSpacing:o}=e;return N(ji,{children:[t&&N(wE,{marginEnd:o,children:t},void 0,!1,{fileName:ld,lineNumber:166,columnNumber:96},this),i,n&&N(wE,{marginStart:o,children:n},void 0,!1,{fileName:ld,lineNumber:168,columnNumber:56},this)]},void 0,!0)}var Pne=Ke(function(t,n){const{size:i,colorScheme:o,variant:s,className:u,spacing:p="0.5rem",isAttached:m,isDisabled:v,...g}=t,b=O3("chakra-button__group",u),C=E.exports.useMemo(()=>({size:i,colorScheme:o,variant:s,isDisabled:v}),[i,o,s,v]);let w={display:"inline-flex"};return m?w={...w,"> *: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}}:w={...w,"& > *:not(style) ~ *:not(style)":{marginStart:p}},_e.createElement(kne,{value:C},_e.createElement(je.div,{ref:n,role:"group",__css:w,className:b,"data-attached":m?"":void 0,...g}))});Pne.displayName="ButtonGroup";var wa=Ke((e,t)=>{const{icon:n,children:i,isRound:o,"aria-label":s,...u}=e,p=n||i,m=E.exports.isValidElement(p)?E.exports.cloneElement(p,{"aria-hidden":!0,focusable:!1}):null;return N(Fu,{padding:"0",borderRadius:o?"full":void 0,ref:t,"aria-label":s,...u,children:m},void 0,!1,{fileName:ld,lineNumber:231,columnNumber:26},globalThis)});wa.displayName="IconButton";var EE="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/form-control/dist/index.esm.js",Kv=(...e)=>e.filter(Boolean).join(" "),p5=e=>e?"":void 0,I
|
||
|
: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;
|
||
|
}
|
||
|
}
|
||
|
`,mre=()=>N(Nb,{styles:RF},void 0,!1,{fileName:TF,lineNumber:29,columnNumber:41},globalThis),hre=()=>N(Nb,{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;
|
||
|
}
|
||
|
|
||
|
${RF}
|
||
|
`},void 0,!1,{fileName:TF,lineNumber:32,columnNumber:38},globalThis);function RE(e,t,n,i){const o=Wa(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 vre=Tb?E.exports.useLayoutEffect:E.exports.useEffect;function AE(e,t=[]){const n=E.exports.useRef(e);return vre(()=>{n.current=e}),E.exports.useCallback((...i)=>{var o;return(o=n.current)==null?void 0:o.call(n,...i)},t)}function O_(e,t,n,i){const o=AE(t);return E.exports.useEffect(()=>{const s=mS(n)??document;if(!!t)return s.addEventListener(e,o,i),()=>{s.removeEventListener(e,o,i)}},[e,n,i,o,t]),()=>{(mS(n)??document).removeEventListener(e,o,i)}}function gre(e){const{isOpen:t,ref:n}=e,[i,o]=E.exports.useState(t),[s,u]=E.exports.useState(!1);return E.exports.useEffect(()=>{s||(o(t),u(!0))},[t,s,i]),O_("animationend",()=>{o(t)},()=>n.current),{present:!(t?!1:!i),onComplete(){var m;const v=zZ(n.current),g=new v.CustomEvent("animationend",{bubbles:!0});(m=n.current)==null||m.dispatchEvent(g)}}}function bre(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function yre(e,t){const n=E.exports.useId();return E.exports.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function LS(e={}){const{onClose:t,onOpen:n,isOpen:i,id:o}=e,s=AE(n),u=AE(t),[p,m]=E.exports.useState(e.defaultIsOpen||!1),[v,g]=bre(i,p),b=yre(o,"disclosure"),C=E.exports.useCallback(()=>{v||m(!1),u?.()},[v,u]),w=E.exports.useCallback(()=>{v||m(!0),s?.()},[v,s]),T=E.exports.useCallback(()=>{(g?C:w)()},[g,w,C]);return{isOpen:!!g,onOpen:w,onClose:C,onToggle:T,isControlled:v,getButtonProps:(A={})=>({...A,"aria-expanded":g,"aria-controls":b,onClick:QZ(A.onClick,T)}),getDisclosureProps:(A={})=>({...A,hidden:!g,id:b})}}var AF=(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 xre(e){const t=e.current;if(!t)return!1;const n=jZ(t);return!n||Z8(t,n)?!1:!!YZ(n)}function Sre(e,t){const{shouldFocus:n,visible:i,focusRef:o}=t,s=n&&!i;AF(()=>{if(!s||xre(e))return;const u=o?.current||e.current;u&&hS(u,{nextTick:!0})},[s,e,o])}function Cre(e,t,n,i){return O_(gK(t),fK(n,t==="pointerdown"),e,i)}function wre(e){const{ref:t,elements:n,enabled:i}=e,o=yK("Safari");Cre(()=>_b(t.current),"pointerdown",u=>{if(!o||!i)return;const p=u.target,v=(n??[t]).some(g=>{const b=xI(g)?g.current:g;return Z8(b,p)});!EI(p)&&v&&(u.preventDefault(),hS(p))})}var Nre={preventScroll:!0,shouldFocus:!1};function Ere(e,t=Nre){const{focusRef:n,preventScroll:i,shouldFocus:o,visible:s}=t,u=xI(e)?e.current:e,p=o&&s,m=E.exports.useCallback(()=>{if(!(!u||!p)&&!Z8(u,document.activeElement))if(n?.current)hS(n.current,{preventScroll:i,nextTick:!0});else{const v=XZ(u);v.length>0&&hS(v[0],{preventScroll:i,nextTick:!0})}},[p,i,u,n]);AF(()=>{m()},[m]),O_("transitionend",m,u)}function L_(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}var wm="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/input/dist/index.esm.js",k_=Ke(function(t,n){const{htmlSize:i,...o}=t,s=vo("Input",o),u=pr(o),p=__(u),m=Qr("chakra-input",t.className);return _e.createElement(je.input,{size:i,...p,__css:s.field,ref:n,className:m})});k_.displayName="Input";k_.id="Input";var[_re,OF]=Rr({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "<InputGroup />" `}),Tre=Ke(function(t,n){const i=vo("Input",t),{children:o,className:s,...u}=pr(t),p=Qr("chakra-input__group",s),m={},v=A3(o),g=i.field;v.forEach(C=>{!i||(g&&C.type.id==="InputLeftElement"&&(m.paddingStart=g.height??g.h),g&&C.type.id==="InputRightElement"&&(m.paddingEnd=g.height??g.h),C.type.id==="InputRightAddon"&&(m.borderEndRadius=0),C.type.id==="InputLeftAddon"&&(m.borderStartRadius=0))});const b=v.map(C=>{var w,T;const A=L_({size:((w=C
|
||
|
|
||
|
`,'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:Hl(t.placement),variation:Bv(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,rM(Object.assign({},g,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:m})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,rM(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 Vie={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:jie,data:{}};var m5={passive:!0};function Hie(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,s=o===void 0?!0:o,u=i.resize,p=u===void 0?!0:u,m=il(t.elements.popper),v=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&v.forEach(function(g){g.addEventListener("scroll",n.update,m5)}),p&&m.addEventListener("resize",n.update,m5),function(){s&&v.forEach(function(g){g.removeEventListener("scroll",n.update,m5)}),p&&m.removeEventListener("resize",n.update,m5)}}const Wie={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Hie,data:{}};var Gie={left:"right",right:"left",bottom:"top",top:"bottom"};function Y5(e){return e.replace(/left|right|bottom|top/g,function(t){return Gie[t]})}var Yie={start:"end",end:"start"};function iM(e){return e.replace(/start|end/g,function(t){return Yie[t]})}function B_(e){var t=il(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function U_(e){return zv(Nd(e)).left+B_(e).scrollLeft}function qie(e,t){var n=il(e),i=Nd(e),o=n.visualViewport,s=i.clientWidth,u=i.clientHeight,p=0,m=0;if(o){s=o.width,u=o.height;var v=qF();(v||!v&&t==="fixed")&&(p=o.offsetLeft,m=o.offsetTop)}return{width:s,height:u,x:p+U_(e),y:m}}function Zie(e){var t,n=Nd(e),i=B_(e),o=(t=e.ownerDocument)==null?void 0:t.body,s=fm(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),u=fm(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),p=-i.scrollLeft+U_(e),m=-i.scrollTop;return Wl(o||n).direction==="rtl"&&(p+=fm(n.clientWidth,o?o.clientWidth:0)-s),{width:s,height:u,x:p,y:m}}function j_(e){var t=Wl(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function JF(e){return["html","body","#document"].indexOf(zu(e))>=0?e.ownerDocument.body:ps(e)&&j_(e)?e:JF(P3(e))}function Hg(e,t){var n;t===void 0&&(t=[]);var i=JF(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),s=il(i),u=o?[s].concat(s.visualViewport||[],j_(i)?i:[]):i,p=t.concat(u);return o?p:p.concat(Hg(P3(u)))}function ME(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Kie(e,t){var n=zv(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 aM(e,t,n){return t===GF?ME(qie(e,n)):vm(t)?Kie(t,n):ME(Zie(Nd(e)))}function Xie(e){var t=Hg(P3(e)),n=["absolute","fixed"].indexOf(Wl(e).position)>=0,i=n&&ps(e)?Fb(e):e;return vm(i)?t.filter(function(o){return vm(o)&&ZF(o,i)&&zu(o)!=="body"}):[]}function Qie(e,t,n,i){var o=t==="clippingParents"?Xie(e):[].concat(t),s=[].concat(o,[n]),u=s[0],p=s.reduce(function(m,v){var g=aM(e,v,i);return m.top=fm(g.top,m.top),m.right=kS(g.right,m.right),m.bottom=kS(g.bottom,m.bottom),m.left=fm(g.left,m.left),m},aM(e,u,i));return p.width=p.right-p.left,p.height=p.bottom-p.top,p.x=p.left,p.y=p.top,p}function ez(e){var t=e.reference,n=e.element,i=e.placement,o=i?Hl(i):null,s=i?Bv(i):null,u=t.x+t.width/2-n.width/2,p=t.y+t.height/2-n.height/2,m;switch(o){case Io:m={x:u,y:t.y-n.height};break;case el:m={x:u,y:t.y+t.height};break;case tl:m={x:t.x+t.width,y:p};break;case $o:m={x:t.x-n.width,y:p};bre
|
||
|
object-assign
|
||
|
(c) Sindre Sorhus
|
||
|
@license MIT
|
||
|
*/var hM=Object.getOwnPropertySymbols,Qae=Object.prototype.hasOwnProperty,Jae=Object.prototype.propertyIsEnumerable;function eoe(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function toe(){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 noe=toe()?Object.assign:function(e,t){for(var n,i=eoe(e),o,s=1;s<arguments.length;s++){n=Object(arguments[s]);for(var u in n)Qae.call(n,u)&&(i[u]=n[u]);if(hM){o=hM(n);for(var p=0;p<o.length;p++)Jae.call(n,o[p])&&(i[o[p]]=n[o[p]])}}return i},roe="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",sz=roe,lz=Function.call.bind(Object.prototype.hasOwnProperty),PE=function(){};{var ioe=sz,IE={},aoe=lz;PE=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function uz(e,t,n,i,o){for(var s in e)if(aoe(e,s)){var u;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}u=e[s](t,s,i,n,null,ioe)}catch(v){u=v}if(u&&!(u instanceof Error)&&PE((i||"React class")+": type specification of "+n+" `"+s+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof u+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),u instanceof Error&&!(u.message in IE)){IE[u.message]=!0;var m=o?o():"";PE("Failed "+n+" type: "+u.message+(m??""))}}}uz.resetWarningCache=function(){IE={}};var ooe=uz,soe=s3.exports,loe=noe,iv=sz,B6=lz,vM=ooe,mv=function(){};mv=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}};function g5(){return null}var uoe=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>>",u={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:C,element:w(),elementType:T(),instanceOf:A,node:P(),objectOf:I,oneOf:k,oneOfType:D,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={},be=0;function Ce(le,ve,de,we,Le,Me,Ze){if(we=we||s,Me=Me||de,Ze!==iv){if(t){var Je=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 Je.name="Invariant Violation",Je}else if(typeof console<"u"){var it=we+":"+de;!ee[it]&&be<3&&(mv("You are manually calling a React.PropTypes validation function for the `"+Me+"` prop on `"+we+"`. 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[it]=!0,be++)}}return ve[de]==null?le?ve[de]===null?new m("The "+Le+" `"+Me+"` is marked as required "+("in `"+we+"`, but its value is `null`.")):new m("The "+Le+" `"+Me+"` is marked as required in "+("`"+we+"`, but its value is `undefined`.")):null:te(ve,de,we,Le,Me)}var K=Ce.bind(null,!1);return K.isRequired=Ce.bind(null,!0),K}function g(te){function ee(be,Ce,K,le,ve,de){var we=be[Ce],Le=ie(we);if(Le!==te){var Me=ae(w
|
||
|
Valid keys: `+JSON.stringify(Object.keys(te),null," "));var Je=Ze(de,Me,K,le,ve+"."+Me,iv);if(Je)return Je}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 be=ee.call(te),Ce;if(ee!==te.entries){for(;!(Ce=be.next()).done;)if(!Y(Ce.value))return!1}else for(;!(Ce=be.next()).done;){var K=Ce.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 pe(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 $e(te){return!te.constructor||!te.constructor.name?s:te.constructor.name}return u.checkPropTypes=vM,u.resetWarningCache=vM.resetWarningCache,u.PropTypes=u,u};{var coe=s3.exports,foe=!0;Mt.exports=uoe(coe.isElement,foe)}var $E="data-focus-lock",cz="data-focus-lock-disabled",doe="data-no-focus-lock",poe="data-autofocus-inside",moe="data-no-autofocus";function hoe(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function voe(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 fz(e,t){return voe(t||null,function(n){return e.forEach(function(i){return hoe(i,n)})})}var U6={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};Mt.exports.node;function dz(e){return e}function pz(e,t){t===void 0&&(t=dz);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 u=t(s,i);return n.push(u),function(){n=n.filter(function(p){return p!==u})}},assignSyncMedium:function(s){for(i=!0;n.length;){var u=n;n=[],u.forEach(s)}n={push:function(p){return s(p)},filter:function(){return n}}},assignMedium:function(s){i=!0;var u=[];if(n.length){var p=n;n=[],p.forEach(s),u=n}var m=function(){var g=u;u=[],g.forEach(s)},v=function(){return Promise.resolve().then(m)};v(),n={push:function(g){u.push(g),v()},filter:function(g){return u=u.filter(g),n}}}};return o}function H_(e,t){return t===void 0&&(t=dz),pz(e,t)}function mz(e){e===void 0&&(e={});var t=pz(null);return t.options=Tu({async:!0,ssr:!1},e),t}var goe="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/use-sidecar/dist/es2015/exports.js",hz=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,{...Tu({},n)},void 0,!1,{fileName:goe,lineNumber:12,columnNumber:12},this)};hz.isSideCarExport=!0;function boe(e,t){return e.useMedium(t),hz}var vz=H_({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),gz=H_(),yoe=H_(),xoe=mz({async:!0}),Sg="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/react-focus-lock/dist/es2015/Lock.js",Soe=[],W_=E.exports.forwardRef(function(t,n){var i,o=E.exports.useState(),s=o[0],u=o[1],p=E.exports.useRef(),m=E.exports.useRef(!1),v=E.exports.useRef(null),g=t.children,b=t.disabled,C=t.noFocusGuards,w=t.persistentFocus,T=t.crossFrame,A=t.autoFocus,k=t.allowTextSelection,I=t.group,D=t.className,P=t.whiteList,F=t.hasPositiveIndices,z=t.shards,q=z===void 0?Soe:z,Y=t.as,Q=Y===void 0?"div":Y,ie=t.lockProps,ae=ie===void 0?{}:ie,pe=t.sideCar,$e=t.returnFocus,te=t.focusOptions,ee=t.onActivation,be=t.on
|
||
|
.`.concat(yse,` {
|
||
|
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(u,`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(q5,` {
|
||
|
right: `).concat(p,"px ").concat(i,`;
|
||
|
}
|
||
|
|
||
|
.`).concat(Z5,` {
|
||
|
margin-right: `).concat(p,"px ").concat(i,`;
|
||
|
}
|
||
|
|
||
|
.`).concat(q5," .").concat(q5,` {
|
||
|
right: 0 `).concat(i,`;
|
||
|
}
|
||
|
|
||
|
.`).concat(Z5," .").concat(Z5,` {
|
||
|
margin-right: 0 `).concat(i,`;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
`).concat(xse,": ").concat(p,`px;
|
||
|
}
|
||
|
`)},Mse=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=i===void 0?"margin":i,s=E.exports.useMemo(function(){return Ase(o)},[o]);return N(Lse,{styles:kse(s,!t,o,n?"":"!important")},void 0,!1,{fileName:Ose,lineNumber:27,columnNumber:12},this)},jE=!1;if(typeof window<"u")try{var b5=Object.defineProperty({},"passive",{get:function(){return jE=!0,!0}});window.addEventListener("test",b5,b5),window.removeEventListener("test",b5,b5)}catch{jE=!1}var av=jE?{passive:!1}:!1,Dse=function(e){return e.tagName==="TEXTAREA"},jz=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Dse(e)&&n[t]==="visible")},Pse=function(e){return jz(e,"overflowY")},Ise=function(e){return jz(e,"overflowX")},wM=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=Vz(e,n);if(i){var o=Hz(e,n),s=o[1],u=o[2];if(s>u)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},$se=function(e){var t=e.scrollTop,n=e.scrollHeight,i=e.clientHeight;return[t,n,i]},Fse=function(e){var t=e.scrollLeft,n=e.scrollWidth,i=e.clientWidth;return[t,n,i]},Vz=function(e,t){return e==="v"?Pse(t):Ise(t)},Hz=function(e,t){return e==="v"?$se(t):Fse(t)},zse=function(e,t){return e==="h"&&t==="rtl"?-1:1},Bse=function(e,t,n,i,o){var s=zse(e,window.getComputedStyle(t).direction),u=s*i,p=n.target,m=t.contains(p),v=!1,g=u>0,b=0,C=0;do{var w=Hz(e,p),T=w[0],A=w[1],k=w[2],I=A-k-s*T;(T||I)&&Vz(e,p)&&(b+=I,C+=T),p=p.parentNode}while(!m&&p!==document.body||m&&(t.contains(p)||t===p));return(g&&(o&&b===0||!o&&u>b)||!g&&(o&&C===0||!o&&-u>C))&&(v=!0),v},NM="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/react-remove-scroll/dist/es2015/SideEffect.js",y5=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},EM=function(e){return[e.deltaX,e.deltaY]},_M=function(e){return e&&"current"in e?e.current:e},Use=function(e,t){return e[0]===t[0]&&e[1]===t[1]},jse=function(e){return`
|
||
|
.block-interactivity-`.concat(e,` {pointer-events: none;}
|
||
|
.allow-interactivity-`).concat(e,` {pointer-events: all;}
|
||
|
`)},Vse=0,ov=[];function Hse(e){var t=E.exports.useRef([]),n=E.exports.useRef([0,0]),i=E.exports.useRef(),o=E.exports.useState(Vse++)[0],s=E.exports.useState(function(){return Uz()})[0],u=E.exports.useRef(e);E.exports.useEffect(function(){u.current=e},[e]),E.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var A=iE([e.lockRef.current],(e.shards||[]).map(_M),!0).filter(Boolean);return A.forEach(function(k){return k.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),A.forEach(function(k){return k.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var p=E.exports.useCallback(function(A,k){if("touches"in A&&A.touches.length===2)return!u.current.allowPinchZoom;var I=y5(A),D=n.current,P="deltaX"in A?A.deltaX:D[0]-I[0],F="deltaY"in A?A.deltaY:D[1]-I[1],z,q=A.target,Y=Math.abs(P)>Math.abs(F)?"h":"v";if("touches"in A&&Y==="h"&&q.type==="range")return!1;var Q=wM(Y,q);if(!Q)return!0;if(Q?z=Y:(z=Y==="v"?"h":"v",Q=wM(Y,q)),!Q)return!1;if(!i.current&&"changedTouches"in A&&(P||F)&&(i.current=z),!z)return!0;var ie=i.current||z;return Bse(ie,k,A,ie==="h"?P:F,!0)},[]),m=E.exports.useCallback(function(A){var k=A;if(!(!ov.length||ov[ov.length-1]!==s)){var I="deltaY"in k?EM(k):y5(k),D=t.current.filter(function(z){return z.name===k.type&&z.target===k.target&&Use(z.delta,I)})[0];if(D&&D.should){k.cancelable&&k.preventDefault();return}if(!D){var P=(u.current.shards||[]).map(_M).filter(Boolean).filter(function(z){return z.contains(k.target)}),F=P.length>0?p(k,P[0]):!u.current.noIsolation;F&&k.cancelable&&k.preventDefault()}}},[]),v=E.exports.useCallback(function(A,k,I,D){var P={name:A,delta:k,target:I,should:D};t.current.push(P),setTimeout(function(){t.current=t.current.filter(function(F){return F!==P})},1)},[]),g=E.exports.useCallback(function(A){n.current=y5(A),i.current=void 0},[]),b=E.exports.useCallback(function(A){v(A.type,EM(A),A.target,p(A,e.lockRef.current))},[]),C=E.exports.useCallback(function(A){v(A.type,y5(A),A.target,p(A,e.lockRef.current))},[]);E.exports.useEffect(function(){return ov.push(s),e.setCallbacks({onScrollCapture:b,onWheelCapture:b,onTouchMoveCapture:C}),document.addEventListener("wheel",m,av),document.addEventListener("touchmove",m,av),document.addEventListener("touchstart",g,av),function(){ov=ov.filter(function(A){return A!==s}),document.removeEventListener("wheel",m,av),document.removeEventListener("touchmove",m,av),document.removeEventListener("touchstart",g,av)}},[]);var w=e.removeScrollBar,T=e.inert;return N(ji,{children:[T?N(s,{styles:jse(o)},void 0,!1,{fileName:NM,lineNumber:144,columnNumber:17},this):null,w?N(Mse,{gapMode:"margin"},void 0,!1,{fileName:NM,lineNumber:145,columnNumber:27},this):null]},void 0,!0)}const Wse=boe(Bz,Hse);var Gse="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/react-remove-scroll/dist/es2015/Combination.js",Wz=E.exports.forwardRef(function(e,t){return N(I3,{...Tu({},e,{ref:t,sideCar:Wse})},void 0,!1,{fileName:Gse,lineNumber:5,columnNumber:74},this)});Wz.classNames=I3.classNames;const Gz=Wz;var Po="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/modal/dist/index.esm.js",Em=(...e)=>e.filter(Boolean).join(" ");function Og(...e){return function(n){e.some(i=>(i?.(n),n?.defaultPrevented))}}var Yse=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}},VE=new Yse;function qse(e,t){E.exports.useEffect(()=>(t&&VE.add(e),()=>{VE.remove(e)}),[t,e])}function Zse(e){const{isOpen:t,onClose:n,id:i,closeOnOverlayClick:o=!0,closeOnEsc:s=!0,useInert:u=!0,onOverlayClick:p,onEsc:m}=e,v=E.exports.useRef(null),g=E.exports.useRef(null),[b,C,w]=Xse(i,"chakra-modal","chakra-modal--header","chakra-modal--body");Kse(v,t&&u),qse(v,t);const T=E.exports.useRef(null),A=E.exports.useCallback(Q=>{T.current=Q.target},[]),k=E.exports.useCallback(Q=>{Q.key==="Escape"&&(Q.sto
|
||
|
45deg,
|
||
|
${t} 25%,
|
||
|
transparent 25%,
|
||
|
transparent 50%,
|
||
|
${t} 50%,
|
||
|
${t} 75%,
|
||
|
transparent 75%,
|
||
|
transparent
|
||
|
)`,backgroundSize:`${e} ${e}`}}function tce(e){const t=hB().toHexString();return!e||Que(e)?t:e.string&&e.colors?rce(e.string,e.colors):e.string&&!e.colors?nce(e.string):e.colors&&!e.string?ice(e.colors):t}function nce(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 rce(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 ice(e){return e[Math.floor(Math.random()*e.length)]}function Be(e,t){return n=>n.colorMode==="dark"?t:e}function uT(e){const{orientation:t,vertical:n,horizontal:i}=e;return t?t==="vertical"?n:i:{}}function ace(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function yB(e){return ace(e)&&e.reference?e.reference:String(e)}var z3=(e,...t)=>t.map(yB).join(` ${e} `).replace(/calc/g,""),$M=(...e)=>`calc(${z3("+",...e)})`,FM=(...e)=>`calc(${z3("-",...e)})`,GE=(...e)=>`calc(${z3("*",...e)})`,zM=(...e)=>`calc(${z3("/",...e)})`,BM=e=>{const t=yB(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:GE(t,-1)},Pc=Object.assign(e=>({add:(...t)=>Pc($M(e,...t)),subtract:(...t)=>Pc(FM(e,...t)),multiply:(...t)=>Pc(GE(e,...t)),divide:(...t)=>Pc(zM(e,...t)),negate:()=>Pc(BM(e)),toString:()=>e.toString()}),{add:$M,subtract:FM,multiply:GE,divide:zM,negate:BM});function oce(e){return!Number.isInteger(parseFloat(e.toString()))}function sce(e,t="-"){return e.replace(/\s+/g,t)}function xB(e){const t=sce(e.toString());return t.includes("\\.")?e:oce(e)?t.replace(".","\\."):e}function lce(e,t=""){return[t,xB(e)].filter(Boolean).join("-")}function uce(e,t){return`var(${xB(e)}${t?`, ${t}`:""})`}function cce(e,t=""){return`--${lce(e,t)}`}function zo(e,t){const n=cce(e,t?.prefix);return{variable:n,reference:uce(n,fce(t?.fallback))}}function fce(e){return typeof e=="string"?e:e?.reference}var{definePartsStyle:dce,defineMultiStyleConfig:pce}=zr(cue.keys),mce={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},hce={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},vce={pt:"2",px:"4",pb:"5"},gce={fontSize:"1.25em"},bce=dce({container:mce,button:hce,panel:vce,icon:gce}),yce=pce({baseStyle:bce}),{definePartsStyle:Hb,defineMultiStyleConfig:xce}=zr(fue.keys),zc=Cd("alert-fg"),Wb=Cd("alert-bg"),Sce=Hb({container:{bg:Wb.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:zc.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:zc.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function cT(e){const{theme:t,colorScheme:n}=e,i=Ui(t,`${n}.100`,n),o=jv(`${n}.200`,.16)(t);return Be(i,o)(e)}var Cce=Hb(e=>{const{colorScheme:t}=e,n=Be(`${t}.500`,`${t}.200`)(e);return{container:{[Wb.variable]:cT(e),[zc.variable]:`colors.${n}`}}}),wce=Hb(e=>{const{colorScheme:t}=e,n=Be(`${t}.500`,`${t}.200`)(e);return{container:{[Wb.variable]:cT(e),[zc.variable]:`colors.${n}`,paddingStart:"3",borderStartWidth:"4px",borderStartColor:zc.reference}}}),Nce=Hb(e=>{const{colorScheme:t}=e,n=Be(`${t}.500`,`${t}.200`)(e);return{container:{[Wb.variable]:cT(e),[zc.variable]:`colors.${n}`,pt:"2",borderTopWidth:"4px",borderTopColor:zc.reference}}}),Ece=Hb(e=>{const{colorScheme:t}=e,n=Be(`${t}.500`,`${t}.200`)(e),i=Be("white","gray.900")(e);return{container:{[Wb.variable]:`colors.${n}`,[zc.variable]:`colors.${i}`,color:zc.reference}}}),_ce={subtle:Cce,"left-accent":wce,"top-accent":Nce,solid:Ece},Tce=xce({baseStyle:Sce,variants:_ce,defaultProps:{variant:"subtle",colorScheme:"blue"}}),SB={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%,
|
||
|
${Ui(n,u)} 50%,
|
||
|
transparent 100%
|
||
|
)`;return{...!i&&o&&s,...i?{bgImage:p}:{bgColor:u}}},bpe={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},ype=e=>({bg:Be("gray.100","whiteAlpha.300")(e)}),xpe=e=>({transitionProperty:"common",transitionDuration:"slow",...gpe(e)}),Spe=Lg(e=>({label:bpe,filledTrack:xpe(e),track:ype(e)})),Cpe={xs:Lg({track:{h:"1"}}),sm:Lg({track:{h:"2"}}),md:Lg({track:{h:"3"}}),lg:Lg({track:{h:"4"}})},wpe=vpe({sizes:Cpe,baseStyle:Spe,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Npe,definePartsStyle:X5}=zr(_ue.keys),Epe=e=>{var t;const n=(t=si(FS.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"}}}},_pe=X5(e=>{var t,n,i,o;return{label:(n=(t=FS).baseStyle)==null?void 0:n.call(t,e).label,container:(o=(i=FS).baseStyle)==null?void 0:o.call(i,e).container,control:Epe(e)}}),Tpe={md:X5({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:X5({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:X5({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},Rpe=Npe({baseStyle:_pe,sizes:Tpe,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ape,definePartsStyle:Ope}=zr(Tue.keys),Lpe=e=>{var t;return{...(t=ir.baseStyle)==null?void 0:t.field,bg:Be("white","gray.700")(e),appearance:"none",paddingBottom:"1px",lineHeight:"normal","> option, > optgroup":{bg:Be("white","gray.700")(e)}}},kpe={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},Mpe=Ope(e=>({field:Lpe(e),icon:kpe})),w5={paddingInlineEnd:"8"},VM,HM,WM,GM,YM,qM,ZM,KM,Dpe={lg:{...(VM=ir.sizes)==null?void 0:VM.lg,field:{...(HM=ir.sizes)==null?void 0:HM.lg.field,...w5}},md:{...(WM=ir.sizes)==null?void 0:WM.md,field:{...(GM=ir.sizes)==null?void 0:GM.md.field,...w5}},sm:{...(YM=ir.sizes)==null?void 0:YM.sm,field:{...(qM=ir.sizes)==null?void 0:qM.sm.field,...w5}},xs:{...(ZM=ir.sizes)==null?void 0:ZM.xs,field:{...(KM=ir.sizes)==null?void 0:KM.sm.field,...w5},icon:{insetEnd:"1"}}},Ppe=Ape({baseStyle:Mpe,sizes:Dpe,variants:ir.variants,defaultProps:ir.defaultProps}),Ipe=Cd("skeleton-start-color"),$pe=Cd("skeleton-end-color"),Fpe=e=>{const t=Be("gray.100","gray.800")(e),n=Be("gray.400","gray.600")(e),{startColor:i=t,endColor:o=n,theme:s}=e,u=Ui(s,i),p=Ui(s,o);return{[Ipe.variable]:u,[$pe.variable]:p,opacity:.7,borderRadius:"2px",borderColor:u,background:p}},zpe={baseStyle:Fpe},Bpe=e=>({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",bg:Be("white","gray.700")(e)}}),Upe={baseStyle:Bpe},{defineMultiStyleConfig:jpe,definePartsStyle:B3}=zr(Rue.keys),hb=Cd("slider-thumb-size"),vb=Cd("slider-track-size"),Vpe=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...uT({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},Hpe=e=>({...uT({orientation:e.orientation,horizontal:{h:vb.reference},vertical:{w:vb.reference}}),overflow:"hidden",borderRadius:"sm",bg:Be("gray.200","whiteAlpha.200")(e),_disabled:{bg:Be("gray.300","whiteAlpha.300")(e)}}),Wpe=e=>{const{orientation:t}=e;return{...uT({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:hb.reference,h:hb.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"}}},Gpe=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",bg:Be(`${t}.500`,`${t}.200`)(e)}},Ype=B3(e=>({container:Vpe(e),track:Hpe(e),thumb:Wpe(e),filledTrack:Gpe(e)})),qpe=B3({container:{[hb.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 Rve=function(e){wve(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,WS([void 0],n[0].concat(this)))):new(t.bind.apply(t,WS([void 0],n.concat(this))))},t}(Array);function i8(e){return Bc(e)?FB(e,function(){}):e}var Ave="Invariant failed";function CD(e,t){if(!e)throw new Error(Ave+": "+(t||""))}function Ove(e,t,n,i){return JSON.stringify(e,Lve(t,i),n)}function Lve(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 u=n.indexOf(this);~u?n.splice(u+1):n.push(this),~u?i.splice(u,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 kve(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function Mve(e,t,n){var i=WB(e,t,n);return{detectMutations:function(){return GB(e,t,i,n)}}}function WB(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 u=i?i+"."+s:s;t.length&&t.indexOf(u)!==-1||(o.children[s]=WB(e,t,n[s],u))}}return o}function GB(e,t,n,i,o,s){t===void 0&&(t=[]),o===void 0&&(o=!1),s===void 0&&(s="");var u=n?n.value:void 0,p=u===i;if(o&&!p&&!Number.isNaN(i))return{wasMutated:!0,path:s};if(e(u)||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=GB(e,t,n.children[v],i[v],p,g);if(b.wasMutated)return b}}return{wasMutated:!1}}function Dve(e){e===void 0&&(e={});var t=e.isImmutable,n=t===void 0?kve:t,i=e.ignoredPaths,o=e.warnAfter,s=o===void 0?32:o,u=e.ignore;i=i||u;var p=Mve.bind(null,n,i);return function(m){var v=m.getState,g=v(),b=p(g),C;return function(w){return function(T){var A=HB(s,"ImmutableStateInvariantMiddleware");A.measureTime(function(){g=v(),C=b.detectMutations(),b=p(g),CD(!C.wasMutated,"A state mutation was detected between dispatches, in the path '"+(C.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var k=w(T);return A.measureTime(function(){g=v(),C=b.detectMutations(),b=p(g),C.wasMutated&&CD(!C.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(C.path||"")+". Take a look at the reducer(s) handling the action "+Ove(T)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),A.warnIfExceeded(),k}}}}function YB(e){var t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||VB(e)}function a8(e,t,n,i,o){t===void 0&&(t=""),n===void 0&&(n=YB),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 u=i!=null?i(e):Object.entries(e),p=o.length>0,m=0,v=u;m<v.length;m++){var g=v[m],b=g[0],C=g[1],w=t?t+"."+b:b;if(!(p&&o.indexOf(w)>=0)){if(!n(C))return{keyPath:w,value:C};if(typeof C=="object"&&(s=a8(C,w,n,i,o),s))return s}}return!1}function Pve(e){e===void 0&&(e={});var t=e.isSerializable,n=t===void 0?YB:t,i=e.getEntries,o=e.ignoredActions,s=o===void 0?[]:o,u=e.ignoredActionPaths,p=u===void 0?["meta.arg","meta.baseQueryMeta"]:u,m=e.ignoredPaths,v=m===void 0?[]:m,g=e.warnAfter,b=g===void 0?32:g,C=e.ignoreState,w=C===void 0?!1:C,T=e.ignoreActions,A=T===void 0?!1:T;return function(k){return function(I){return function(D){var P=I(D),F=HB(b,"SerializableStateInvariantMiddleware");return!A&&!(s.length&&s.indexOf(D.type)!==-1)&&F.measureTime(function(){var z=a8(D,"",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: `,D,`
|
||
|
(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)`)}}),w||(F.measureTime(function(){var z=k.getState(),q=a8(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: `+D.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()),P}}}}function s7(e){return typeof e=="boolean"}function Ive(){return function(t){return $ve(t)}}function $ve(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,u=s===void 0?!0:s,p=new Rve;n&&(s7(n)?p.push(yD):p.push(yD.withExtraArgument(n.extraArgument)));{if(o){var m={};s7(o)||(m=o),p.unshift(Dve(m))}if(u){var v={};s7(u)||(v=u),p.push(Pve(v))}}return p}var Fve=!1;function zve(e){var t=Ive(),n=e||{},i=n.reducer,o=i===void 0?void 0:i,s=n.middleware,u=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,C=b===void 0?void 0:b,w;if(typeof o=="function")w=o;else if(VB(o))w=BB(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=u;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(P){return typeof P!="function"}))throw new Error("each middleware provided to configureStore must be a function");var A=hve.apply(void 0,T),k=VS;m&&(k=Tve(bb({trace:!Fve},typeof m=="object"&&m)));var I=[A];Array.isArray(C)?I=WS([A],C):typeof C=="function"&&(I=C(I));var D=k.apply(void 0,I);return yT(w,g,D)}function mo(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 bb(bb({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 qB(e){var t={},n=[],i,o={addCase:function(s,u){{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]=u,o},addMatcher:function(s,u){if(i)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return n.push({matcher:s,reducer:u}),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 Bve(e){return typeof e=="function"}function Uve(e,t,n,i){n===void 0&&(n=[]);var o=typeof t=="function"?qB(t):[t,n,i],s=o[0],u=o[1],p=o[2],m;if(Bve(e))m=function(){return i8(e())};else{var v=i8(e);m=function(){return v}}function g(b,C){b===void 0&&(b=m());var w=WS([s[C.type]],u.filter(function(T){var A=T.matcher;return A(C)}).map(function(T){var A=T.reducer;return A}));return w.filter(function(T){return!!T}).length===0&&(w=[p]),w.reduce(function(T,A){if(A)if(yd(T)){var k=T,I=A(k,C);return I===void 0?T:I}else{if(Bc(T))return FB(T,function(D){return A(D,C)});var I=A(T,C);if(I===void 0){if(T===null)return T;throw Error("A case reducer on a non-draftable value must not return undefined")}return I}return T},b)}return g.getInitialState=m,g}function jve(e,t){return e+"/"+t}function xT(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:i8(e.initialState),i=e.reducers||{},o=Object.keys(i),s={},u={},p={};o.forEach(function(g){var b=i[g],C=jve(t,g),w,T;"reducer"in b?(w=b.reducer,T=b.prepare):w=b,s[g]=w,u[C]=w,p[g]=T?mo(C,T):mo(C)});function m(){var g=typeof e.extraReducers=="function"?qB(e.extraReducers):[e.extraReducers],b=g[0],C=b===void 0?{}:b,w=g[1],T=w===void 0?[]:w,A=g[2],k=A===void 0?void 0:A,I=bb(bb({},C),u);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(P){{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",P,z)}}function i(P,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[P],console,Q)}}function o(P,F){return P===F&&(P!==0||1/P===1/F)||P!==P&&F!==F}var s=typeof Object.is=="function"?Object.is:o,u=e.useState,p=e.useEffect,m=e.useLayoutEffect,v=e.useDebugValue,g=!1,b=!1;function C(P,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=u({inst:{value:q,getSnapshot:F}}),ie=Q[0].inst,ae=Q[1];return m(function(){ie.value=q,ie.getSnapshot=F,w(ie)&&ae({inst:ie})},[P,q,F]),p(function(){w(ie)&&ae({inst:ie});var pe=function(){w(ie)&&ae({inst:ie})};return P(pe)},[P]),v(q),q}function w(P){var F=P.getSnapshot,z=P.value;try{var q=F();return!s(z,q)}catch{return!0}}function T(P,F,z){return F()}var A=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",k=!A,I=k?T:C,D=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:I;KB.useSyncExternalStore=D,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();(function(e){e.exports=KB})(ZB);var XB={exports:{}},QB={};/**
|
||
|
* @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=ZB.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,u=e.useEffect,p=e.useMemo,m=e.useDebugValue;function v(g,b,C,w,T){var A=s(null),k;A.current===null?(k={hasValue:!1,value:null},A.current=k):k=A.current;var I=p(function(){var z=!1,q,Y,Q=function($e){if(!z){z=!0,q=$e;var te=w($e);if(T!==void 0&&k.hasValue){var ee=k.value;if(T(ee,te))return Y=ee,ee}return Y=te,te}var be=q,Ce=Y;if(i(be,$e))return Ce;var K=w($e);return T!==void 0&&T(Ce,K)?Ce:(q=$e,Y=K,K)},ie=C===void 0?null:C,ae=function(){return Q(b())},pe=ie===null?void 0:function(){return Q(ie())};return[ae,pe]},[b,C,w,T]),D=I[0],P=I[1],F=o(g,D,P);return u(function(){k.hasValue=!0,k.value=F},[F]),m(F),F}QB.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=QB})(XB);function Vve(e){e()}let JB=Vve;const Hve=e=>JB=e,Wve=()=>JB,Uc=_e.createContext(null);Uc.displayName="ReactRedux";function eU(){const e=E.exports.useContext(Uc);if(!e)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return e}const Gve=()=>{throw new Error("uSES not initialized!")};let tU=Gve;const Yve=e=>{tU=e},qve=(e,t)=>e===t;function Zve(e=Uc){const t=e===Uc?eU:()=>E.exports.useContext(e);return function(i,o=qve){{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:u,getServerState:p}=t(),m=tU(u.addNestedSub,s.getState,p||s.getState,i,o);return E.exports.useDebugValue(m),m}}const Kve=Zve();var Xve={exports:{}},fr={};/**
|
||
|
* @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"),u=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"),C=Symbol.for("react.lazy"),w=Symbol.for("react.offscreen"),T=!1,A=!1,k=!1,I=!1,D=!1,P;P=Symbol.for("react.module.reference");function F(Se){return!!(typeof Se=="string"||typeof Se=="function"||Se===n||Se===o||D||Se===i||Se===v||Se===g||I||Se===w||T||A||k||typeof Se=="object"&&Se!==null&&(Se.$$typeof===C||Se.$$typeof===b||Se.$$typeof===s||Se.$$typeof===u||Se.$$typeof===m||Se.$$typeof===P||Se.getModuleId!==void 0))}function z(Se){if(typeof Se=="object"&&Se!==null){var tt=Se.$$typeof;switch(tt){case e:var Ct=Se.type;switch(Ct){case n:case o:case i:case v:case g:return Ct;default:var nt=Ct&&Ct.$$typeof;switch(nt){case p:case u:case m:case C:case b:case s:return nt;default:return tt}}case t:return tt}}}var q=u,Y=s,Q=e,ie=m,ae=n,pe=C,$e=b,te=t,ee=o,be=i,Ce=v,K=g,le=!1,ve=!1;function de(Se){return le||(le=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function we(Se){return ve||(ve=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Le(Se){return z(Se)===u}function Me(Se){return z(Se)===s}function Ze(Se){return typeof Se=="object"&&Se!==null&&Se.$$typeof===e}function Je(Se){return z(Se)===m}function it(Se){return z(Se)===n}function Rt(Se){return z(Se)===C}function Ve(Se){return z(Se)===b}function at(Se){return z(Se)===t}function St(Se){return z(Se)===o}function Dt(Se){return z(Se)===i}function He(Se){return z(Se)===v}function jt(Se){return z(Se)===g}fr.ContextConsumer=q,fr.ContextProvider=Y,fr.Element=Q,fr.ForwardRef=ie,fr.Fragment=ae,fr.Lazy=pe,fr.Memo=$e,fr.Portal=te,fr.Profiler=ee,fr.StrictMode=be,fr.Suspense=Ce,fr.SuspenseList=K,fr.isAsyncMode=de,fr.isConcurrentMode=we,fr.isContextConsumer=Le,fr.isContextProvider=Me,fr.isElement=Ze,fr.isForwardRef=Je,fr.isFragment=it,fr.isLazy=Rt,fr.isMemo=Ve,fr.isPortal=at,fr.isProfiler=St,fr.isStrictMode=Dt,fr.isSuspense=He,fr.isSuspenseList=jt,fr.isValidElementType=F,fr.typeOf=z})();(function(e){e.exports=fr})(Xve);function Qve(){const e=Wve();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 wD={notify(){},get:()=>[]};function Jve(e,t){let n,i=wD;function o(b){return m(),i.subscribe(b)}function s(){i.notify()}function u(){g.onStateChange&&g.onStateChange()}function p(){return Boolean(n)}function m(){n||(n=t?t.addNestedSub(u):e.subscribe(u),i=Qve())}function v(){n&&(n(),n=void 0,i.clear(),i=wD)}const g={addNestedSub:o,notifyNestedSubs:s,handleChangeWrapper:u,isSubscribed:p,trySubscribe:m,tryUnsubscribe:v,getListeners:()=>i};return g}const e0e=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",t0e=e0e?E.exports.useLayoutEffect:E.exports.useEffect;var n0e="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/react-redux/es/components/Provider.js";function r0e({store:e,context:t,children:n,serverState:i}){const o=E.exports.useMemo(()=>{const p=Jve(e);return{store:e,subscription:p,getServerState:i?()=>i:void 0}},[e,i]),s=E.exports.useMemo(()=>e.getState(),[e]);return t0e(()=>{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||Uc).Provider,{value:o,children:n},void 0,!1,{fileName:n0e,lineNumber:39,columnNumber:23},this)}function nU(e=Uc){const t=e===Uc?eU:()=>E.exports.useContext(
|
||
|
* @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.",u="Expected a function",p="Invalid `variable` option passed into `_.template`",m="__lodash_hash_undefined__",v=500,g="__lodash_placeholder__",b=1,C=2,w=4,T=1,A=2,k=1,I=2,D=4,P=8,F=16,z=32,q=64,Y=128,Q=256,ie=512,ae=30,pe="...",$e=800,te=16,ee=1,be=2,Ce=3,K=1/0,le=9007199254740991,ve=17976931348623157e292,de=0/0,we=4294967295,Le=we-1,Me=we>>>1,Ze=[["ary",Y],["bind",k],["bindKey",I],["curry",P],["curryRight",F],["flip",ie],["partial",z],["partialRight",q],["rearg",Q]],Je="[object Arguments]",it="[object Array]",Rt="[object AsyncFunction]",Ve="[object Boolean]",at="[object Date]",St="[object DOMException]",Dt="[object Error]",He="[object Function]",jt="[object GeneratorFunction]",Se="[object Map]",tt="[object Number]",Ct="[object Null]",nt="[object Object]",on="[object Promise]",Ln="[object Proxy]",_t="[object RegExp]",sn="[object Set]",kn="[object String]",bn="[object Symbol]",Ye="[object Undefined]",et="[object WeakMap]",nn="[object WeakSet]",Pt="[object ArrayBuffer]",De="[object DataView]",qt="[object Float32Array]",_n="[object Float64Array]",We="[object Int8Array]",lt="[object Int16Array]",At="[object Int32Array]",vn="[object Uint8Array]",Jt="[object Uint8ClampedArray]",Tn="[object Uint16Array]",$n="[object Uint32Array]",Dr=/\b__p \+= '';/g,Mn=/\b(__p \+=) '' \+/g,wi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jn=/&(?:amp|lt|gt|quot|#39);/g,Rn=/[&<>"']/g,Ni=RegExp(jn.source),xr=RegExp(Rn.source),Bo=/<%-([\s\S]+?)%>/g,gs=/<%([\s\S]+?)%>/g,bs=/<%=([\s\S]+?)%>/g,Uo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jo=/^\w*$/,hr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Vi=/[\\^$.*+?()[\]{}|]/g,qa=RegExp(Vi.source),Hi=/^\s+/,X=/\s/,Ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Xe=/\{\n\/\* \[wrapped with (.+)\] \*/,Et=/,? & /,ln=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Cn=/[()=,{}\[\]\/\s]/,ot=/\\(\\)?/g,Zt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Vn=/\w*$/,Bn=/^[-+]0x[0-9a-f]+$/i,cn=/^0b[01]+$/i,Wr=/^\[object .+?Constructor\]$/,Ea=/^0o[0-7]+$/i,Vo=/^(?:0|[1-9]\d*)$/,Ei=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,go=/($^)/,Hu=/['\n\r\u2028\u2029\\]/g,_a="\\ud800-\\udfff",al="\\u0300-\\u036f",Za="\\ufe20-\\ufe2f",en="\\u20d0-\\u20ff",Ka=al+Za+en,_i="\\u2700-\\u27bf",Ho="a-z\\xdf-\\xf6\\xf8-\\xff",ys="\\xac\\xb1\\xd7\\xf7",Wo="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",xs="\\u2000-\\u206f",Ss=" \\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",Go="A-Z\\xc0-\\xd6\\xd8-\\xde",Yo="\\ufe0e\\ufe0f",Cs=ys+Wo+xs+Ss,ol="['\u2019]",sl="["+_a+"]",Ta="["+Cs+"]",Br="["+Ka+"]",Wi="\\d+",Ti="["+_i+"]",Gi="["+Ho+"]",ws="[^"+_a+Cs+Wi+_i+Ho+Go+"]",qo="\\ud83c[\\udffb-\\udfff]",Ns="(?:"+Br+"|"+qo+")",Yl="[^"+_a+"]",Ri="(?:\\ud83c[\\udde6-\\uddff]){2}",Zo="[\\ud800-\\udbff][\\udc00-\\udfff]",Yi="["+Go+"]",Ra="\\u200d",ll="(?:"+Gi+"|"+ws+")",fn="(?:"+Yi+"|"+ws+")",Aa="(?:"+ol+"(?:d|ll|m|re|s|t|ve))?",Ko="(?:"+ol+"(?:D|LL|M|RE|S|T|VE))?",Ht=Ns+"?",ul="["+Yo+"]?",Sr="(?:"+Ra+"(?:"+[Yl,Ri,Zo].join("|")+")"+ul+Ht+")*",Xa="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",na="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",bo=ul+Ht+Sr,Or="(?:"+[Ti,Ri,Zo].join("|")+")"+bo,ar="(?:"+[Yl+Br+"?",Br,Ri,Zo,sl].join("|")+")",Xo=RegExp(ol,"g"),Jr=RegExp(Br,"g"),mr=RegExp(qo+"(?="+qo+")|"+ar+bo,"g"),li=RegExp([Yi+"?"+Gi+"+"+Aa+"(?="+[Ta,Yi,"$"].join("|")+")",fn+"+"+Ko+"(?="+[Ta,Yi+ll,"$"].join("|")+")",Yi+"?"+ll+"+"+Aa,Yi+"+"+Ko,na,Xa,Wi,Or].join("|"),"g"),Wu=RegExp("["+Ra+_a+Ka+Yo+"]"),yo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Oa=["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"],cl=-1
|
||
|
/* [wrapped with `+d+`] */
|
||
|
`)}function j0(c){return un(c)||fc(c)||!!(ef&&c&&c[ef])}function Is(c,d){var y=typeof c;return d=d??le,!!d&&(y=="number"||y!="symbol"&&Vo.test(c))&&c>-1&&c%1==0&&c<d}function pi(c,d,y){if(!wr(y))return!1;var R=typeof d;return(R=="number"?ri(y)&&Is(d,y.length):R=="string"&&d in y)?rs(y[d],c):!1}function sh(c,d){if(un(c))return!1;var y=typeof c;return y=="number"||y=="symbol"||y=="boolean"||c==null||Nn(c)?!0:jo.test(c)||!Uo.test(c)||d!=null&&c in Jn(d)}function R4(c){var d=typeof c;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?c!=="__proto__":c===null}function V0(c){var d=rp(c),y=B[d];if(typeof y!="function"||!(d in An.prototype))return!1;if(c===y)return!0;var R=U0(y);return!!R&&c===R[0]}function H0(c){return!!oy&&oy in c}var A4=Mm?Bs:k1;function Cf(c){var d=c&&c.constructor,y=typeof d=="function"&&d.prototype||Qc;return c===y}function Uy(c){return c===c&&!wr(c)}function W0(c,d){return function(y){return y==null?!1:y[c]===d&&(d!==n||c in Jn(y))}}function O4(c){var d=gh(c,function(R){return y.size===v&&y.clear(),R}),y=d.cache;return d}function jy(c,d){var y=c[1],R=d[1],$=y|R,j=$<(k|I|Y),Z=R==Y&&y==P||R==Y&&y==Q&&c[7].length<=d[8]||R==(Y|Q)&&d[7].length<=d[8]&&y==P;if(!(j||Z))return c;R&k&&(c[2]=d[2],$|=y&k?0:D);var J=d[3];if(J){var fe=c[3];c[3]=fe?gf(fe,J,d[4]):J,c[4]=fe?Zl(c[3],g):d[4]}return J=d[5],J&&(fe=c[5],c[5]=fe?$0(fe,J,d[6]):J,c[6]=fe?Zl(c[5],g):d[6]),J=d[7],J&&(c[7]=J),R&Y&&(c[8]=c[8]==null?d[8]:ui(c[8],d[8])),c[9]==null&&(c[9]=d[9]),c[0]=d[0],c[1]=$,c}function L4(c){var d=[];if(c!=null)for(var y in Jn(c))d.push(y);return d}function G0(c){return Md.call(c)}function ap(c,d,y){return d=Gr(d===n?c.length-1:d,0),function(){for(var R=arguments,$=-1,j=Gr(R.length-d,0),Z=Ne(j);++$<j;)Z[$]=R[d+$];$=-1;for(var J=Ne(d+1);++$<d;)J[$]=R[$];return J[d]=y(Z),yt(c,this,J)}}function wl(c,d){return d.length<2?c:Li(c,qr(d,0,-1))}function nu(c,d){for(var y=c.length,R=ui(d.length,y),$=fi(c);R--;){var j=d[R];c[R]=Is(j,y)?$[j]:n}return c}function $s(c,d){if(!(d==="constructor"&&typeof c[d]=="function")&&d!="__proto__")return c[d]}var wf=Hy(ni),Nl=tf||function(c,d){return Kt.setTimeout(c,d)},Fs=Hy(Yt);function Vy(c,d,y){var R=d+"";return Fs(c,T4(R,Wy(ip(R),y)))}function Hy(c){var d=0,y=0;return function(){var R=u4(),$=te-(R-y);if(y=R,$>0){if(++d>=$e)return arguments[0]}else d=0;return c.apply(n,arguments)}}function lh(c,d){var y=-1,R=c.length,$=R-1;for(d=d===n?R:d;++y<d;){var j=So(y,$),Z=c[j];c[j]=c[y],c[y]=Z}return c.length=d,c}var Y0=O4(function(c){var d=[];return c.charCodeAt(0)===46&&d.push(""),c.replace(hr,function(y,R,$,j){d.push($?j.replace(ot,"$1"):R||y)}),d});function Pa(c){if(typeof c=="string"||Nn(c))return c;var d=c+"";return d=="0"&&1/c==-K?"-0":d}function uc(c){if(c!=null){try{return Dm.call(c)}catch{}try{return c+""}catch{}}return""}function Wy(c,d){return Ot(Ze,function(y){var R="_."+y[0];d&y[1]&&!Qo(c,R)&&c.push(R)}),c.sort()}function Gy(c){if(c instanceof An)return c.clone();var d=new xo(c.__wrapped__,c.__chain__);return d.__actions__=fi(c.__actions__),d.__index__=c.__index__,d.__values__=c.__values__,d}function uh(c,d,y){(y?pi(c,d,y):d===n)?d=1:d=Gr(an(d),0);var R=c==null?0:c.length;if(!R||d<1)return[];for(var $=0,j=0,Z=Ne(pl(R/d));$<R;)Z[j++]=qr(c,$,$+=d);return Z}function Yy(c){for(var d=-1,y=c==null?0:c.length,R=0,$=[];++d<y;){var j=c[d];j&&($[R++]=j)}return $}function k4(){var c=arguments.length;if(!c)return[];for(var d=Ne(c-1),y=arguments[0],R=c;R--;)d[R-1]=arguments[R];return ka(un(y)?fi(y):[y],Oi(d,1))}var op=yn(function(c,d){return Lr(c)?Pr(c,Oi(d,1,Lr,!0)):[]}),sp=yn(function(c,d){var y=wo(d);return Lr(y)&&(y=n),Lr(c)?Pr(c,Oi(d,1,Lr,!0),Ft(y,2)):[]}),Nf=yn(function(c,d){var y=wo(d);return Lr(y)&&(y=n),Lr(c)?Pr(c,Oi(d,1,Lr,!0),n,y):[]});function q0(c,d,y){var R=c==null?0:c.length;return R?(d=y||d===n?1:an(d),qr(c,d<0?0:d,R)):[]}function qy(c,d,y){var R=c==null?0:c.length;return R?(d=y||d===n?1:an(d),d=R-d,qr(c,0,d<0?0:d)):[]}function M4(c,d){return c&&c.length?mf(c,Ft(d,3),!0,!0):[]}function D4(c,d){return c&&c.length?mf(c,Ft(d,3),!0):[]}function P4(c,d,y,R){var $=c==null?0:c.length;return $?(y&&
|
||
|
`;c.replace(Qe,function(Vt,xn,On,Xi,gr,ua){return On||(On=Xi),Ie+=c.slice(Pe,ua).replace(Hu,s0),xn&&(J=!0,Ie+=`' +
|
||
|
__e(`+xn+`) +
|
||
|
'`),gr&&(fe=!0,Ie+=`';
|
||
|
`+gr+`;
|
||
|
__p += '`),On&&(Ie+=`' +
|
||
|
((__t = (`+On+`)) == null ? '' : __t) +
|
||
|
'`),Pe=ua+Vt.length,Vt}),Ie+=`';
|
||
|
`;var zt=er.call(d,"variable")&&d.variable;if(!zt)Ie=`with (obj) {
|
||
|
`+Ie+`
|
||
|
}
|
||
|
`;else if(Cn.test(zt))throw new rn(p);Ie=(fe?Ie.replace(Dr,""):Ie).replace(Mn,"$1").replace(wi,"$1;"),Ie="function("+(zt||"obj")+`) {
|
||
|
`+(zt?"":`obj || (obj = {});
|
||
|
`)+"var __t, __p = ''"+(J?", __e = _.escape":"")+(fe?`, __j = Array.prototype.join;
|
||
|
function print() { __p += __j.call(arguments, '') }
|
||
|
`:`;
|
||
|
`)+Ie+`return __p
|
||
|
}`;var hn=U2(function(){return Zn(j,gt+"return "+Ie).apply(n,Z)});if(hn.source=Ie,ru(hn))throw hn;return hn}function mw(c){return Xn(c).toLowerCase()}function S1(c){return Xn(c).toUpperCase()}function hw(c,d,y){if(c=Xn(c),c&&(y||d===n))return Ts(c);if(!c||!(d=oa(d)))return c;var R=es(c),$=es(d),j=Od(R,$),Z=ey(R,$)+1;return Ds(R,j,Z).join("")}function C1(c,d,y){if(c=Xn(c),c&&(y||d===n))return c.slice(0,iy(c)+1);if(!c||!(d=oa(d)))return c;var R=es(c),$=ey(R,es(d))+1;return Ds(R,0,$).join("")}function B2(c,d,y){if(c=Xn(c),c&&(y||d===n))return c.replace(Hi,"");if(!c||!(d=oa(d)))return c;var R=es(c),$=Od(R,es(d));return Ds(R,$).join("")}function vw(c,d){var y=ae,R=pe;if(wr(d)){var $="separator"in d?d.separator:$;y="length"in d?an(d.length):y,R="omission"in d?oa(d.omission):R}c=Xn(c);var j=c.length;if(Zc(c)){var Z=es(c);j=Z.length}if(y>=j)return c;var J=y-Zu(R);if(J<1)return R;var fe=Z?Ds(Z,0,J).join(""):c.slice(0,J);if($===n)return fe+R;if(Z&&(J+=fe.length-J),xh($)){if(c.slice(J).search($)){var Pe,Oe=fe;for($.global||($=fl($.source,Xn(Vn.exec($))+"g")),$.lastIndex=0;Pe=$.exec(Oe);)var Ie=Pe.index;fe=fe.slice(0,Ie===n?J:Ie)}}else if(c.indexOf(oa($),J)!=J){var Qe=fe.lastIndexOf($);Qe>-1&&(fe=fe.slice(0,Qe))}return fe+R}function gw(c){return c=Xn(c),c&&Ni.test(c)?c.replace(jn,n4):c}var bw=yf(function(c,d,y){return c+(y?" ":"")+d.toUpperCase()}),w1=Py("toUpperCase");function N1(c,d,y){return c=Xn(c),d=y?n:d,d===n?t4(c)?a4(c):a0(c):c.match(d)||[]}var U2=yn(function(c,d){try{return yt(c,n,d)}catch(y){return ru(y)?y:new rn(y)}}),yw=Cl(function(c,d){return Ot(d,function(y){y=Pa(y),Os(c,y,vh(c[y],c))}),c});function xw(c){var d=c==null?0:c.length,y=Ft();return c=d?Dn(c,function(R){if(typeof R[1]!="function")throw new Qa(u);return[y(R[0]),R[1]]}):[],yn(function(R){for(var $=-1;++$<d;){var j=c[$];if(yt(j[0],this,R))return yt(j[1],this,R)}})}function Sw(c){return p4(Ja(c,b))}function E1(c){return function(){return c}}function Cw(c,d){return c==null||c!==c?d:c}var ww=Iy(),_1=Iy(!0);function Fa(c){return c}function T1(c){return Ty(typeof c=="function"?c:Ja(c,b))}function Nw(c){return Ay(Ja(c,b))}function Ew(c,d){return O0(c,Ja(d,b))}var _w=yn(function(c,d){return function(y){return Hd(y,c,d)}}),Tw=yn(function(c,d){return function(y){return Hd(c,y,d)}});function R1(c,d,y){var R=mi(d),$=eo(d,R);y==null&&!(wr(d)&&($.length||!R.length))&&(y=d,d=c,c=this,$=eo(d,mi(d)));var j=!(wr(y)&&"chain"in y)||!!y.chain,Z=Bs(c);return Ot($,function(J){var fe=d[J];c[J]=fe,Z&&(c.prototype[J]=function(){var Pe=this.__chain__;if(j||Pe){var Oe=c(this.__wrapped__),Ie=Oe.__actions__=fi(this.__actions__);return Ie.push({func:fe,args:arguments,thisArg:c}),Oe.__chain__=Pe,Oe}return fe.apply(c,ka([this.value()],arguments))})}),c}function Rw(){return Kt._===this&&(Kt._=sy),this}function A1(){}function j2(c){return c=an(c),yn(function(d){return Ly(d,c)})}var O1=z0(Dn),Aw=z0(La),Ow=z0(i0);function Rp(c){return sh(c)?Rd(Pa(c)):wn(c)}function Ap(c){return function(d){return c==null?n:Li(c,d)}}var Lw=B0(),kw=B0(!0);function L1(){return[]}function k1(){return!1}function Mw(){return{}}function Dw(){return""}function Pw(){return!0}function V2(c,d){if(c=an(c),c<1||c>le)return[];var y=we,R=ui(c,we);d=Ft(d),c-=we;for(var $=Lm(R,d);++y<c;)d(y);return $}function Iw(c){return un(c)?Dn(c,Pa):Nn(c)?[c]:fi(Y0(Xn(c)))}function $w(c){var d=++ay;return Xn(c)+d}var Fw=rh(function(c,d){return c+d},0),zw=Sl("ceil"),Bw=rh(function(c,d){return c/d},1),Uw=Sl("floor");function jw(c){return c&&c.length?Ls(c,Fa,N0):n}function Vw(c,d){return c&&c.length?Ls(c,Ft(d,2),N0):n}function Hw(c){return Jb(c,Fa)}function Ww(c,d){return Jb(c,Ft(d,2))}function Gw(c){return c&&c.length?Ls(c,Fa,A0):n}function Yw(c,d){return c&&c.length?Ls(c,Ft(d,2),A0):n}var qw=rh(function(c,d){return c*d},1),Zw=Sl("round"),Kw=rh(function(c,d){return c-d},0);function Xw(c){return c&&c.length?qc(c,Fa):0}function Mf(c,d){return c&&c.length?qc(c,Ft(d,2)):0}return B.after=wC,B.ary=a1,B.assign=Ia,B.assignIn=Of,B.assignInWith=mc,B.assignWith=ou,B.at=A2,B.before=h2,B.bind=vh,B.bindAll=yw,B.bindKey=o1,B.castArray=S2,B.chain=o2,B.chunk=u
|
||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Oye(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Lye(e){if(Array.isArray(e))return b8(e)}function uP(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 cP(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?uP(Object(n),!0).forEach(function(i){hj(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uP(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function hj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sb(e,t){return Dye(e)||Mye(e,t)||vj(e,t)||kye()}function kye(){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 vj(e,t){if(!!e){if(typeof e=="string")return b8(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 b8(e,t)}}function b8(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 Mye(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,s=!1,u,p;try{for(n=n.call(e);!(o=(u=n.next()).done)&&(i.push(u.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 Dye(e){if(Array.isArray(e))return e}var Pye="file-invalid-type",Iye="file-too-large",$ye="file-too-small",Fye="too-many-files",zye=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:Pye,message:"File type must be ".concat(n)}},fP=function(t){return{code:Iye,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},dP=function(t){return{code:$ye,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},Bye={code:Fye,message:"Too many files"};function gj(e,t){var n=e.type==="application/x-moz-file"||Rye(e,t);return[n,n?null:zye(t)]}function bj(e,t,n){if(om(e.size))if(om(t)&&om(n)){if(e.size>n)return[!1,fP(n)];if(e.size<t)return[!1,dP(t)]}else{if(om(t)&&e.size<t)return[!1,dP(t)];if(om(n)&&e.size>n)return[!1,fP(n)]}return[!0,null]}function om(e){return e!=null}function Uye(e){var t=e.files,n=e.accept,i=e.minSize,o=e.maxSize,s=e.multiple,u=e.maxFiles,p=e.validator;return!s&&t.length>1||s&&u>=1&&t.length>u?!1:t.every(function(m){var v=gj(m,n),g=Sb(v,1),b=g[0],C=bj(m,i,o),w=Sb(C,1),T=w[0],A=p?p(m):null;return b&&T&&!A})}function qS(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function L5(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 pP(e){e.preventDefault()}function jye(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function Vye(e){return e.indexOf("Edge/")!==-1}function Hye(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return jye(e)||Vye(e)}function Su(){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),u=1;u<o;u++)s[u-1]=arguments[u];return t.some(function(p){return!qS(i)&&p&&p.apply(void 0,[i].concat(s)),qS(i)})}}function Wye(){return"showOpenFilePicker"in window}function Gye(e){if(om(e)){var t=Object.entries(e).filter(function(n){var i=Sb(n,2),o=i[0],s=i[1],u=!0;return yj(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.')),u=!1),(!Array.isArray(s)||!s.every(xj))&&(console.warn('Skipped "'.concat(o,'" because an invalid file extension was provided.')),u=!1),u}).reduce(function(n,i){var o=Sb(i,2),s=o[0],u=o[1];return cP(cP({},n),{},hj({},s,u))},{});return[{accept:t}]}return e}function Yye(e){if(om(e))return Object.entries(e).reduce(function(t,n){var i=Sb(n,2),o=i[0],s=i[1];return[].concat(lP(t),[o],lP(s))},[]).filter(function(t){return yj(t)||xj(t)}).join(",")}function qye(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function Zye(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function yj(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function xj(e){return/^.*\.[\w]+$/.test(e)}var Kye="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/react-dropzone/dist/es/index.js",Xye=["children"],Qye=
|
||
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function r2e(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function i2e(e){if(Array.isArray(e))return y8(e)}function A7(e,t){return s2e(e)||o2e(e,t)||Sj(e,t)||a2e()}function a2e(){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 Sj(e,t){if(!!e){if(typeof e=="string")return y8(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 y8(e,t)}}function y8(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 o2e(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,s=!1,u,p;try{for(n=n.call(e);!(o=(u=n.next()).done)&&(i.push(u.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 s2e(e){if(Array.isArray(e))return e}function mP(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 Hr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mP(Object(n),!0).forEach(function(i){x8(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mP(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function x8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ZS(e,t){if(e==null)return{};var n=l2e(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 l2e(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 FT=E.exports.forwardRef(function(e,t){var n=e.children,i=ZS(e,Xye),o=wj(i),s=o.open,u=ZS(o,Qye);return E.exports.useImperativeHandle(t,function(){return{open:s}},[s]),N(E.exports.Fragment,{children:n(Hr(Hr({},u),{},{open:s}))},void 0,!1,{fileName:Kye,lineNumber:70,columnNumber:23},this)});FT.displayName="Dropzone";var Cj={disabled:!1,getFilesFromEvent:yye,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};FT.defaultProps=Cj;FT.propTypes={children:Mt.exports.func,accept:Mt.exports.objectOf(Mt.exports.arrayOf(Mt.exports.string)),multiple:Mt.exports.bool,preventDropOnDocument:Mt.exports.bool,noClick:Mt.exports.bool,noKeyboard:Mt.exports.bool,noDrag:Mt.exports.bool,noDragEventsBubbling:Mt.exports.bool,minSize:Mt.exports.number,maxSize:Mt.exports.number,maxFiles:Mt.exports.number,disabled:Mt.exports.bool,getFilesFromEvent:Mt.exports.func,onFileDialogCancel:Mt.exports.func,onFileDialogOpen:Mt.exports.func,useFsAccessApi:Mt.exports.bool,autoFocus:Mt.exports.bool,onDragEnter:Mt.exports.func,onDragLeave:Mt.exports.func,onDragOver:Mt.exports.func,onDrop:Mt.exports.func,onDropAccepted:Mt.exports.func,onDropRejected:Mt.exports.func,onError:Mt.exports.func,validator:Mt.exports.func};var S8={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function wj(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Hr(Hr({},Cj),e),n=t.accept,i=t.disabled,o=t.getFilesFromEvent,s=t.maxSize,u=t.minSize,p=t.multiple,m=t.maxFiles,v=t.onDragEnter,g=t.onDragLeave,b=t.onDragOver,C=t.onDrop,w=t.onDropAccepted,T=t.onDropRejected,A=t.onFileDialogCancel,k=t.onFileDialogOpen,I=t.useFsAccessApi,D=t.autoFocus,P=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 Yye(n)},[n]),pe=E.exports.useMemo(function(){return Gye(n)},[n]),$e=E.exports.useMemo(function(){return typeof k=="function"?k:hP},[k]),te=E.exports.useMemo(function(){return typeof A=="function"?A:hP},[
|
||
|
`+T.message,"");p({title:"Upload failed",description:C,status:"error",isClosable:!0})},[p]);return N(c2e,{fileAcceptedCallback:v,fileRejectionCallback:g,styleClass:o,children:N(Fu,{size:"sm",fontSize:"md",fontWeight:"normal",onMouseOver:s,onMouseOut:u,leftIcon:n,width:"100%",children:t||null},void 0,!1,{fileName:gP,lineNumber:52,columnNumber:7},this)},void 0,!1,{fileName:gP,lineNumber:47,columnNumber:5},this)}var Oo="/Users/spencer/Documents/Code/stable-diffusion/frontend/src/features/gallery/DeleteImageModal.tsx";const d2e=Ya(e=>e.system,e=>e.shouldConfirmOnDelete),C8=E.exports.forwardRef(({image:e,children:t},n)=>{const{isOpen:i,onOpen:o,onClose:s}=LS(),u=Sn(),p=bt(d2e),m=E.exports.useRef(null),v=Gb(),g=w=>{w.stopPropagation(),p?o():b()},b=()=>{u(hge(e)),v({title:"Image Deleted",status:"success",duration:2500,isClosable:!0}),s()};oi("del",()=>{p?o():b()},[e,p]);const C=w=>u(TU(!w.target.checked));return N(ji,{children:[E.exports.cloneElement(t,{onClick:g,ref:n}),N(rle,{isOpen:i,leastDestructiveRef:m,onClose:s,children:N(mb,{children:N(ile,{children:[N(nT,{fontSize:"lg",fontWeight:"bold",children:"Delete image"},void 0,!1,{fileName:Oo,lineNumber:106,columnNumber:15},void 0),N(PS,{children:N(yr,{direction:"column",gap:5,children:[N(Do,{children:"Are you sure? You can't undo this action afterwards."},void 0,!1,{fileName:Oo,lineNumber:112,columnNumber:19},void 0),N(wd,{children:N(yr,{alignItems:"center",children:[N(Cm,{mb:0,children:"Don't ask me again"},void 0,!1,{fileName:Oo,lineNumber:117,columnNumber:23},void 0),N(F3,{checked:!p,onChange:C},void 0,!1,{fileName:Oo,lineNumber:118,columnNumber:23},void 0)]},void 0,!0,{fileName:Oo,lineNumber:116,columnNumber:21},void 0)},void 0,!1,{fileName:Oo,lineNumber:115,columnNumber:19},void 0)]},void 0,!0,{fileName:Oo,lineNumber:111,columnNumber:17},void 0)},void 0,!1,{fileName:Oo,lineNumber:110,columnNumber:15},void 0),N(tT,{children:[N(Fu,{ref:m,onClick:s,children:"Cancel"},void 0,!1,{fileName:Oo,lineNumber:127,columnNumber:17},void 0),N(Fu,{colorScheme:"red",onClick:b,ml:3,children:"Delete"},void 0,!1,{fileName:Oo,lineNumber:130,columnNumber:17},void 0)]},void 0,!0,{fileName:Oo,lineNumber:126,columnNumber:15},void 0)]},void 0,!0,{fileName:Oo,lineNumber:105,columnNumber:13},void 0)},void 0,!1,{fileName:Oo,lineNumber:104,columnNumber:11},void 0)},void 0,!1,{fileName:Oo,lineNumber:99,columnNumber:9},void 0)]},void 0,!0)});var Kp="/Users/spencer/Documents/Code/stable-diffusion/frontend/src/features/gallery/InvokePopover.tsx";const bP=({title:e="Popup",styleClass:t,delay:n=50,popoverOptions:i,actionButton:o,children:s})=>N(iT,{trigger:"hover",closeDelay:n,children:[N(lT,{children:N(Js,{children:s},void 0,!1,{fileName:Kp,lineNumber:31,columnNumber:9},void 0)},void 0,!1,{fileName:Kp,lineNumber:30,columnNumber:7},void 0),N(sT,{className:`popover-content ${t}`,children:[N(aT,{className:"popover-arrow"},void 0,!1,{fileName:Kp,lineNumber:34,columnNumber:9},void 0),N(tB,{className:"popover-header",children:e},void 0,!1,{fileName:Kp,lineNumber:35,columnNumber:9},void 0),N("div",{className:"popover-options",children:[i||null,o]},void 0,!0,{fileName:Kp,lineNumber:36,columnNumber:9},void 0)]},void 0,!0,{fileName:Kp,lineNumber:33,columnNumber:7},void 0)]},void 0,!0,{fileName:Kp,lineNumber:29,columnNumber:5},void 0);var vi="/Users/spencer/Documents/Code/stable-diffusion/frontend/src/features/gallery/CurrentImageButtons.tsx";const p2e=Ya(e=>e.system,e=>({isProcessing:e.isProcessing,isConnected:e.isConnected,isGFPGANAvailable:e.isGFPGANAvailable,isESRGANAvailable:e.isESRGANAvailable}),{memoizeOptions:{resultEqualityCheck:Ga.exports.isEqual}}),Nj=({image:e})=>{const t=Sn(),n=bt(I=>I.options.shouldShowImageDetails),i=Gb(),o=bt(I=>I.gallery.intermediateImage),s=bt(I=>I.options.upscalingLevel),u=bt(I=>I.options.facetoolStrength),{isProcessing:p,isConnected:m,isGFPGANAvailable:v,isESRGANAvailable:g}=bt(p2e),b=()=>{t(ym(e.url)),t(Nu(1))};oi("shift+i",()=>{e?(b(),i({title:"Sent To Image To Image",status:"success",duration:2500,isClosable:!0})):i({title:"No Image Loaded",description:"No image found to send
|