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

695 lines
1.0 MiB
JavaScript
Raw Normal View History

2022-09-25 20:24:31 +00:00
function Yj(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 c=Object.getOwnPropertyDescriptor(i,o);c&&Object.defineProperty(e,o,c.get?c:{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 c of o)if(c.type==="childList")for(const u of c.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&i(u)}).observe(document,{childList:!0,subtree:!0});function n(o){const c={};return o.integrity&&(c.integrity=o.integrity),o.referrerpolicy&&(c.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?c.credentials="include":o.crossorigin==="anonymous"?c.credentials="omit":c.credentials="same-origin",c}function i(o){if(o.ep)return;o.ep=!0;const c=n(o);fetch(o.href,c)}})();var vc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qj(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var k={exports:{}},e5={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"),c=Symbol.for("react.fragment"),u=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),h=Symbol.for("react.provider"),v=Symbol.for("react.context"),b=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),w=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),O=Symbol.for("react.offscreen"),M=Symbol.iterator,B="@@iterator";function I(S){if(S===null||typeof S!="object")return null;var A=M&&S[M]||S[B];return typeof A=="function"?A:null}var F={current:null},z={transition:null},$={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},q={current:null},K={},le=null;function me(S){le=S}K.setExtraStackFrame=function(S){le=S},K.getCurrentStack=null,K.getStackAddendum=function(){var S="";le&&(S+=le);var A=K.getCurrentStack;return A&&(S+=A()||""),S};var se=!1,Se=!1,qe=!1,ae=!1,ue=!1,Ee={ReactCurrentDispatcher:F,ReactCurrentBatchConfig:z,ReactCurrentOwner:q};Ee.ReactDebugCurrentFrame=K,Ee.ReactCurrentActQueue=$;function de(S){{for(var A=arguments.length,V=new Array(A>1?A-1:0),G=1;G<A;G++)V[G-1]=arguments[G];xe("warn",S,V)}}function ie(S){{for(var A=arguments.length,V=new Array(A>1?A-1:0),G=1;G<A;G++)V[G-1]=arguments[G];xe("error",S,V)}}function xe(S,A,V){{var G=Ee.ReactDebugCurrentFrame,te=G.getStackAddendum();te!==""&&(A+="%s",V=V.concat([te]));var ze=V.map(function(we){return String(we)});ze.unshift("Warning: "+A),Function.prototype.apply.call(console[S],console,ze)}}var Ne={};function he(S,A){{var V=S.constructor,G=V&&(V.displayName||V.name)||"ReactClass",te=G+"."+A;if(Ne[te])return;ie("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.",A,G),Ne[te]=!0}}var Ce={isMounted:function(S){return!1},enqueueForceUpdate:function(S,A,V){he(S,"forceUpdate")},enqueueReplaceState:function(S,A,V,G){he(S,"replaceState")},enqueueSetState:function(S,A,V,G){he(S,"setState")}},Me=Object.assign,Ie={};Object.freeze(Ie);function Ye(S,A,V){this.props=S,this.context=A,this.refs=Ie,this.updater=V||Ce}Ye.prototype.isReactComponent={},Ye.prototype.setState=function(S,A){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,A,"setState")},Ye.prototype.forceUpdate=function(S){this.updater.enqueueForceUpdate(this,S,"forceUpdate")};{var at={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)."]},gt=function(S,A){Object.defineProperty(Ye.prototype,S,{get:function(){de("%s(...) is deprecated in plain JavaScript React classes. %s",A[0],A[1])}})};for(var Ht in at)at.hasOwnProperty(Ht)&&gt(Ht,at[Ht])}function Ze(){}Ze.prototype=Ye.prototype;function ct(S,A,V){this.props=S,this.context=A,this.refs=Ie,this.updater=V||Ce}var wt=ct.prototype=new Ze;wt.constructor=ct,Me(wt,Ye.prototype),wt.isPureReactComponent=!0;function zt(){var S={current:null};return Object.seal(S),S}var Ge=Array.isArray;function Wt(S){return Ge(S)}function ye(S){{var A=typeof Symbol=="function"&&Symbol.toStringTag,V=A&&S[Symbol.toStringTag]||S.constructor.name||"Object";return V}}function et(S){try{return Nt(S),!1}catch{return!0}}function Nt(S){return""+S}function lt(S){if(et(S))return ie("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",ye(S)),Nt(S)}function xn(S,A,V){var G=S.displayName;if(G)return G;var te=A.displ
2022-09-25 20:24:31 +00:00
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,te),"default"in te||ie(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,te),te.default}else throw S._result}function Ue(S){var A={_status:vr,_result:S},V={$$typeof:R,_payload:A,_init:X};{var G,te;Object.defineProperties(V,{defaultProps:{configurable:!0,get:function(){return G},set:function(ze){ie("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 te},set:function(ze){ie("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."),te=ze,Object.defineProperty(V,"propTypes",{enumerable:!0})}}})}return V}function Ke(S){S!=null&&S.$$typeof===N?ie("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof S!="function"?ie("forwardRef requires a render function but was given %s.",S===null?"null":typeof S):S.length!==0&&S.length!==2&&ie("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)&&ie("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var A={$$typeof:b,render:S};{var V;Object.defineProperty(A,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function(G){V=G,!S.name&&!S.displayName&&(S.displayName=G)}})}return A}var Ct;Ct=Symbol.for("react.module.reference");function on(S){return!!(typeof S=="string"||typeof S=="function"||S===c||S===m||ue||S===u||S===x||S===w||ae||S===O||se||Se||qe||typeof S=="object"&&S!==null&&(S.$$typeof===R||S.$$typeof===N||S.$$typeof===h||S.$$typeof===v||S.$$typeof===b||S.$$typeof===Ct||S.getModuleId!==void 0))}function Cn(S,A){on(S)||ie("memo: The first argument must be a component. Instead received: %s",S===null?"null":typeof S);var V={$$typeof:N,type:S,compare:A===void 0?null:A};{var G;Object.defineProperty(V,"displayName",{enumerable:!1,configurable:!0,get:function(){return G},set:function(te){G=te,!S.name&&!S.displayName&&(S.displayName=te)}})}return V}function nt(){var S=F.current;return S===null&&ie(`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:
2022-09-25 20:24:31 +00:00
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 qt(S){var A=nt();if(S._context!==void 0){var V=S._context;V.Consumer===S?ie("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&&ie("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return A.useContext(S)}function Vn(S){var A=nt();return A.useState(S)}function Bn(S,A,V){var G=nt();return G.useReducer(S,A,V)}function ln(S){var A=nt();return A.useRef(S)}function Ur(S,A){var V=nt();return V.useEffect(S,A)}function vi(S,A){var V=nt();return V.useInsertionEffect(S,A)}function Po(S,A){var V=nt();return V.useLayoutEffect(S,A)}function ya(S,A){var V=nt();return V.useCallback(S,A)}function oo(S,A){var V=nt();return V.useMemo(S,A)}function Nu(S,A,V){var G=nt();return G.useImperativeHandle(S,A,V)}function gi(S,A){{var V=nt();return V.useDebugValue(S,A)}}function Hs(){var S=nt();return S.useTransition()}function zi(S){var A=nt();return A.useDeferredValue(S)}function Jt(){var S=nt();return S.useId()}function Bi(S,A,V){var G=nt();return G.useSyncExternalStore(S,A,V)}var ba=0,Mo,os,Io,ss,ls,Lo,Fo;function us(){}us.__reactDisabledLog=!0;function Ws(){{if(ba===0){Mo=console.log,os=console.info,Io=console.warn,ss=console.error,ls=console.group,Lo=console.groupCollapsed,Fo=console.groupEnd;var S={configurable:!0,enumerable:!0,value:us,writable:!0};Object.defineProperties(console,{info:S,log:S,warn:S,error:S,group:S,groupCollapsed:S,groupEnd:S})}ba++}}function Gs(){{if(ba--,ba===0){var S={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Me({},S,{value:Mo}),info:Me({},S,{value:os}),warn:Me({},S,{value:Io}),error:Me({},S,{value:ss}),group:Me({},S,{value:ls}),groupCollapsed:Me({},S,{value:Lo}),groupEnd:Me({},S,{value:Fo})})}ba<0&&ie("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var yi=Ee.ReactCurrentDispatcher,Mr;function Fa(S,A,V){{if(Mr===void 0)try{throw Error()}catch(te){var G=te.stack.trim().match(/\n( *(at )?)/);Mr=G&&G[1]||""}return`
`+Mr+S}}var Sa=!1,za;{var cs=typeof WeakMap=="function"?WeakMap:Map;za=new cs}function zo(S,A){if(!S||Sa)return"";{var V=za.get(S);if(V!==void 0)return V}var G;Sa=!0;var te=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ze;ze=yi.current,yi.current=null,Ws();try{if(A){var we=function(){throw Error()};if(Object.defineProperty(we.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(we,[])}catch(Bt){G=Bt}Reflect.construct(S,[],we)}else{try{we.call()}catch(Bt){G=Bt}S.call(we.prototype)}}else{try{throw Error()}catch(Bt){G=Bt}S()}}catch(Bt){if(Bt&&G&&typeof Bt.stack=="string"){for(var Ve=Bt.stack.split(`
2022-09-25 20:24:31 +00:00
`),st=G.stack.split(`
`),St=Ve.length-1,Ot=st.length-1;St>=1&&Ot>=0&&Ve[St]!==st[Ot];)Ot--;for(;St>=1&&Ot>=0;St--,Ot--)if(Ve[St]!==st[Ot]){if(St!==1||Ot!==1)do if(St--,Ot--,Ot<0||Ve[St]!==st[Ot]){var yt=`
`+Ve[St].replace(" at new "," at ");return S.displayName&&yt.includes("<anonymous>")&&(yt=yt.replace("<anonymous>",S.displayName)),typeof S=="function"&&za.set(S,yt),yt}while(St>=1&&Ot>=0);break}}}finally{Sa=!1,yi.current=ze,Gs(),Error.prepareStackTrace=te}var jt=S?S.displayName||S.name:"",Tt=jt?Fa(jt):"";return typeof S=="function"&&za.set(S,Tt),Tt}function fs(S,A,V){return zo(S,!1)}function Ml(S){var A=S.prototype;return!!(A&&A.isReactComponent)}function xa(S,A,V){if(S==null)return"";if(typeof S=="function")return zo(S,Ml(S));if(typeof S=="string")return Fa(S);switch(S){case x:return Fa("Suspense");case w:return Fa("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case b:return fs(S.render);case N:return xa(S.type,A,V);case R:{var G=S,te=G._payload,ze=G._init;try{return xa(ze(te),A,V)}catch{}}}return""}var Bo={},Ba=Ee.ReactDebugCurrentFrame;function bi(S){if(S){var A=S._owner,V=xa(S.type,S._source,A?A.type:null);Ba.setExtraStackFrame(V)}else Ba.setExtraStackFrame(null)}function Ys(S,A,V,G,te){{var ze=Function.call.bind(an);for(var we in S)if(ze(S,we)){var Ve=void 0;try{if(typeof S[we]!="function"){var st=Error((G||"React class")+": "+V+" type `"+we+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof S[we]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw st.name="Invariant Violation",st}Ve=S[we](A,we,G,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(St){Ve=St}Ve&&!(Ve instanceof Error)&&(bi(te),ie("%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,we,typeof Ve),bi(null)),Ve instanceof Error&&!(Ve.message in Bo)&&(Bo[Ve.message]=!0,bi(te),ie("Failed %s type: %s",V,Ve.message),bi(null))}}}function un(S){if(S){var A=S._owner,V=xa(S.type,S._source,A?A.type:null);me(V)}else me(null)}var Si;Si=!1;function Uo(){if(q.current){var S=Lt(q.current.type);if(S)return`
2022-09-25 20:24:31 +00:00
Check the render method of \``+S+"`."}return""}function $t(S){if(S!==void 0){var A=S.fileName.replace(/^.*[\\\/]/,""),V=S.lineNumber;return`
Check your code at `+A+":"+V+"."}return""}function qs(S){return S!=null?$t(S.__source):""}var xr={};function Ui(S){var A=Uo();if(!A){var V=typeof S=="string"?S:S.displayName||S.name;V&&(A=`
Check the top-level render call using <`+V+">.")}return A}function Ya(S,A){if(!(!S._store||S._store.validated||S.key!=null)){S._store.validated=!0;var V=Ui(A);if(!xr[V]){xr[V]=!0;var G="";S&&S._owner&&S._owner!==q.current&&(G=" It was passed a child from "+Lt(S._owner.type)+"."),un(S),ie('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),un(null)}}}function so(S,A){if(typeof S=="object"){if(Wt(S))for(var V=0;V<S.length;V++){var G=S[V];Qt(G)&&Ya(G,A)}else if(Qt(S))S._store&&(S._store.validated=!0);else if(S){var te=I(S);if(typeof te=="function"&&te!==S.entries)for(var ze=te.call(S),we;!(we=ze.next()).done;)Qt(we.value)&&Ya(we.value,A)}}}function _r(S){{var A=S.type;if(A==null||typeof A=="string")return;var V;if(typeof A=="function")V=A.propTypes;else if(typeof A=="object"&&(A.$$typeof===b||A.$$typeof===N))V=A.propTypes;else return;if(V){var G=Lt(A);Ys(V,S.props,"prop",G,S)}else if(A.PropTypes!==void 0&&!Si){Si=!0;var te=Lt(A);ie("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",te||"Unknown")}typeof A.getDefaultProps=="function"&&!A.getDefaultProps.isReactClassApproved&&ie("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function or(S){{for(var A=Object.keys(S.props),V=0;V<A.length;V++){var G=A[V];if(G!=="children"&&G!=="key"){un(S),ie("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",G),un(null);break}}S.ref!==null&&(un(S),ie("Invalid attribute `ref` supplied to `React.Fragment`."),un(null))}}function $o(S,A,V){var G=on(S);if(!G){var te="";(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(te+=" 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=qs(A);ze?te+=ze:te+=Uo();var we;S===null?we="null":Wt(S)?we="array":S!==void 0&&S.$$typeof===i?(we="<"+(Lt(S.type)||"Unknown")+" />",te=" Did you accidentally export a JSX literal instead of a component?"):we=typeof S,ie("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",we,te)}var Ve=it.apply(this,arguments);if(Ve==null)return Ve;if(G)for(var st=2;st<arguments.length;st++)so(arguments[st],S);return S===c?or(Ve):_r(Ve),Ve}var Kr=!1;function pr(S){var A=$o.bind(null,S);return A.type=S,Kr||(Kr=!0,de("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(A,"type",{enumerable:!1,get:function(){return de("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:S}),S}}),A}function aa(S,A,V){for(var G=hn.apply(this,arguments),te=2;te<arguments.length;te++)so(arguments[te],G.type);return _r(G),G}function Eu(S,A){var V=z.transition;z.transition={};var G=z.transition;z.transition._updatedFibers=new Set;try{S()}finally{if(z.transition=V,V===null&&G._updatedFibers){var te=G._updatedFibers.size;te>10&&de("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 lo=!1,xi=null;function Ks(S){if(xi===null)try{var A=("require"+Math.random()).slice(0,7),V=e&&e[A];xi=V.call(e,"timers").setImmediate}catch{xi=function(te){lo===!1&&(lo=!0,typeof MessageChannel>"u"&&ie("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=te,ze.port2.postMessage(void 0)}}return xi(S)}var vn=0,Fn=!1;function Il(S){{var A=vn;vn++,$.current===null&&($.current=[]);var V=$.isBatchingLegacy,G;t
2022-09-25 20:24:31 +00:00
* @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(je,it){var _t=je.length;je.push(it),m(je,it,_t)}function c(je){return je.length===0?null:je[0]}function u(je){if(je.length===0)return null;var it=je[0],_t=je.pop();return _t!==it&&(je[0]=_t,h(je,_t,0)),it}function m(je,it,_t){for(var hn=_t;hn>0;){var Qt=hn-1>>>1,Tn=je[Qt];if(v(Tn,it)>0)je[Qt]=it,je[hn]=Tn,hn=Qt;else return}}function h(je,it,_t){for(var hn=_t,Qt=je.length,Tn=Qt>>>1;hn<Tn;){var Ln=(hn+1)*2-1,kr=je[Ln],Dn=Ln+1,va=je[Dn];if(v(kr,it)<0)Dn<Qt&&v(va,kr)<0?(je[hn]=va,je[Dn]=it,hn=Dn):(je[hn]=kr,je[Ln]=it,hn=Ln);else if(Dn<Qt&&v(va,it)<0)je[hn]=va,je[Dn]=it,hn=Dn;else return}}function v(je,it){var _t=je.sortIndex-it.sortIndex;return _t!==0?_t:je.id-it.id}var b=1,x=2,w=3,N=4,R=5;function O(je,it){}var M=typeof performance=="object"&&typeof performance.now=="function";if(M){var B=performance;e.unstable_now=function(){return B.now()}}else{var I=Date,F=I.now();e.unstable_now=function(){return I.now()-F}}var z=1073741823,$=-1,q=250,K=5e3,le=1e4,me=z,se=[],Se=[],qe=1,ae=null,ue=w,Ee=!1,de=!1,ie=!1,xe=typeof setTimeout=="function"?setTimeout:null,Ne=typeof clearTimeout=="function"?clearTimeout:null,he=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function Ce(je){for(var it=c(Se);it!==null;){if(it.callback===null)u(Se);else if(it.startTime<=je)u(Se),it.sortIndex=it.expirationTime,o(se,it);else return;it=c(Se)}}function Me(je){if(ie=!1,Ce(je),!de)if(c(se)!==null)de=!0,tn(Ie);else{var it=c(Se);it!==null&&kt(Me,it.startTime-je)}}function Ie(je,it){de=!1,ie&&(ie=!1,Oe()),Ee=!0;var _t=ue;try{var hn;if(!n)return Ye(je,it)}finally{ae=null,ue=_t,Ee=!1}}function Ye(je,it){var _t=it;for(Ce(_t),ae=c(se);ae!==null&&!t&&!(ae.expirationTime>_t&&(!je||$n()));){var hn=ae.callback;if(typeof hn=="function"){ae.callback=null,ue=ae.priorityLevel;var Qt=ae.expirationTime<=_t,Tn=hn(Qt);_t=e.unstable_now(),typeof Tn=="function"?ae.callback=Tn:ae===c(se)&&u(se),Ce(_t)}else u(se);ae=c(se)}if(ae!==null)return!0;var Ln=c(Se);return Ln!==null&&kt(Me,Ln.startTime-_t),!1}function at(je,it){switch(je){case b:case x:case w:case N:case R:break;default:je=w}var _t=ue;ue=je;try{return it()}finally{ue=_t}}function gt(je){var it;switch(ue){case b:case x:case w:it=w;break;default:it=ue;break}var _t=ue;ue=it;try{return je()}finally{ue=_t}}function Ht(je){var it=ue;return function(){var _t=ue;ue=it;try{return je.apply(this,arguments)}finally{ue=_t}}}function Ze(je,it,_t){var hn=e.unstable_now(),Qt;if(typeof _t=="object"&&_t!==null){var Tn=_t.delay;typeof Tn=="number"&&Tn>0?Qt=hn+Tn:Qt=hn}else Qt=hn;var Ln;switch(je){case b:Ln=$;break;case x:Ln=q;break;case R:Ln=me;break;case N:Ln=le;break;case w:default:Ln=K;break}var kr=Qt+Ln,Dn={id:qe++,callback:it,priorityLevel:je,startTime:Qt,expirationTime:kr,sortIndex:-1};return Qt>hn?(Dn.sortIndex=Qt,o(Se,Dn),c(se)===null&&Dn===c(Se)&&(ie?Oe():ie=!0,kt(Me,Qt-hn))):(Dn.sortIndex=kr,o(se,Dn),!de&&!Ee&&(de=!0,tn(Ie))),Dn}function ct(){}function wt(){!de&&!Ee&&(de=!0,tn(Ie))}function zt(){return c(se)}function Ge(je){je.callback=null}function Wt(){return ue}var ye=!1,et=null,Nt=-1,lt=i,xn=-1;function $n(){var je=e.unstable_now()-xn;return!(je<lt)}function Lt(){}function an(je){if(je<0||je>125){console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported");return}je>0?lt=Math.floor(1e3/je):lt=i}var On=function(){if(et!==null){var je=e.unstable_now();xn=je;var it=!0,_t=!0;try{_t=et(it,je)}finally{_t?gn():(ye=!1,et=null)}}else ye=!1},gn;if(typeof he=="function")gn=function(){he(On)};else if(typeof MessageChannel<"u"){var He=new MessageChannel,Je=He.port2;He.port1.onmessage=On,gn=function(){Je.postMessage(null)}}else gn=function(){xe(On,0)};function tn(je){et=je,
2022-09-25 20:24:31 +00:00
* @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=k.exports,t=XI.exports,n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,i=!1;function o(r){i=r}function c(r){if(!i){for(var a=arguments.length,s=new Array(a>1?a-1:0),f=1;f<a;f++)s[f-1]=arguments[f];m("warn",r,s)}}function u(r){if(!i){for(var a=arguments.length,s=new Array(a>1?a-1:0),f=1;f<a;f++)s[f-1]=arguments[f];m("error",r,s)}}function m(r,a,s){{var f=n.ReactDebugCurrentFrame,p=f.getStackAddendum();p!==""&&(a+="%s",s=s.concat([p]));var y=s.map(function(C){return String(C)});y.unshift("Warning: "+a),Function.prototype.apply.call(console[r],console,y)}}var h=0,v=1,b=2,x=3,w=4,N=5,R=6,O=7,M=8,B=9,I=10,F=11,z=12,$=13,q=14,K=15,le=16,me=17,se=18,Se=19,qe=21,ae=22,ue=23,Ee=24,de=25,ie=!0,xe=!1,Ne=!1,he=!1,Ce=!1,Me=!0,Ie=!1,Ye=!1,at=!0,gt=!0,Ht=!0,Ze=new Set,ct={},wt={};function zt(r,a){Ge(r,a),Ge(r+"Capture",a)}function Ge(r,a){ct[r]&&u("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",r),ct[r]=a;{var s=r.toLowerCase();wt[s]=r,r==="onDoubleClick"&&(wt.ondblclick=r)}for(var f=0;f<a.length;f++)Ze.add(a[f])}var Wt=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",ye=Object.prototype.hasOwnProperty;function et(r){{var a=typeof Symbol=="function"&&Symbol.toStringTag,s=a&&r[Symbol.toStringTag]||r.constructor.name||"Object";return s}}function Nt(r){try{return lt(r),!1}catch{return!0}}function lt(r){return""+r}function xn(r,a){if(Nt(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,et(r)),lt(r)}function $n(r){if(Nt(r))return u("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",et(r)),lt(r)}function Lt(r,a){if(Nt(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,et(r)),lt(r)}function an(r,a){if(Nt(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,et(r)),lt(r)}function On(r){if(Nt(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.",et(r)),lt(r)}function gn(r){if(Nt(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.",et(r)),lt(r)}var He=0,Je=1,tn=2,kt=3,Oe=4,Yt=5,_n=6,je=":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",it=je+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",_t=new RegExp("^["+je+"]["+it+"]*$"),hn={},Qt={};function Tn(r){return ye.call(Qt,r)?!0:ye.call(hn,r)?!1:_t.test(r)?(Qt[r]=!0,!0):(hn[r]=!0,u("Invalid attribute name: `%s`",r),!1)}function Ln(r,a,s){return a!==null?a.type===He:s?!1:r.length>2&&(r[0]==="o"||r[0]==="O")&&(r[1]==="n"||r[1]==="N")}function kr(r,a,s,f){if(s!==null&&s.type===He)return!1;switch(typeof a){case"function":case"symbol":return!0;case"boolean":{if(f)return!1;if(s!==null)return!s.acceptsBooleans;var p=r.toLowerCase().slice(0,5);return p!=="data-"&&p!=="aria-"}default:return!1}}function Dn(r,a,s,f){if(a===null||typeof a>"u"||kr(r,a,s,f))return!0;if(f)return!1;if(s!==null)switch(s.type){case kt:return!a;case Oe:return a===!1;case Yt:return isNaN(a);case _n:return isNaN(a)||a<1}return!1}function va(r){return Rn.hasOwnProperty(r)?Rn[r]:null}function jn(r,a,s,f,p,y,C){this.acceptsBooleans=a===tn||a===kt||a===Oe,this.attributeName=f,this.attributeNamespace=p,this.mustUseProperty=s,this.propertyName=r,this.type=a,this.sanitizeURL=y,this.removeEmptyString=C}var Rn={},ga=["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTM
`+yi+r}}var Fa=!1,Sa;{var za=typeof WeakMap=="function"?WeakMap:Map;Sa=new za}function cs(r,a){if(!r||Fa)return"";{var s=Sa.get(r);if(s!==void 0)return s}var f;Fa=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var y;y=Gs.current,Gs.current=null,us();try{if(a){var C=function(){throw Error()};if(Object.defineProperty(C.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(C,[])}catch(ge){f=ge}Reflect.construct(r,[],C)}else{try{C.call()}catch(ge){f=ge}r.call(C.prototype)}}else{try{throw Error()}catch(ge){f=ge}r()}}catch(ge){if(ge&&f&&typeof ge.stack=="string"){for(var T=ge.stack.split(`
2022-09-25 20:24:31 +00:00
`),D=f.stack.split(`
`),U=T.length-1,H=D.length-1;U>=1&&H>=0&&T[U]!==D[H];)H--;for(;U>=1&&H>=0;U--,H--)if(T[U]!==D[H]){if(U!==1||H!==1)do if(U--,H--,H<0||T[U]!==D[H]){var ee=`
`+T[U].replace(" at new "," at ");return r.displayName&&ee.includes("<anonymous>")&&(ee=ee.replace("<anonymous>",r.displayName)),typeof r=="function"&&Sa.set(r,ee),ee}while(U>=1&&H>=0);break}}}finally{Fa=!1,Gs.current=y,Ws(),Error.prepareStackTrace=p}var J=r?r.displayName||r.name:"",ve=J?Mr(J):"";return typeof r=="function"&&Sa.set(r,ve),ve}function zo(r,a,s){return cs(r,!0)}function fs(r,a,s){return cs(r,!1)}function Ml(r){var a=r.prototype;return!!(a&&a.isReactComponent)}function xa(r,a,s){if(r==null)return"";if(typeof r=="function")return cs(r,Ml(r));if(typeof r=="string")return Mr(r);switch(r){case qt:return Mr("Suspense");case Vn:return Mr("SuspenseList")}if(typeof r=="object")switch(r.$$typeof){case nt:return fs(r.render);case Bn:return xa(r.type,a,s);case ln:{var f=r,p=f._payload,y=f._init;try{return xa(y(p),a,s)}catch{}}}return""}function Bo(r){switch(r._debugOwner&&r._debugOwner.type,r._debugSource,r.tag){case N:return Mr(r.type);case le:return Mr("Lazy");case $:return Mr("Suspense");case Se:return Mr("SuspenseList");case h:case b:case K:return fs(r.type);case F:return fs(r.type.render);case v:return zo(r.type);default:return""}}function Ba(r){try{var a="",s=r;do a+=Bo(s),s=s.return;while(s);return a}catch(f){return`
2022-09-25 20:24:31 +00:00
Error generating stack: `+f.message+`
`+f.stack}}function bi(r,a,s){var f=r.displayName;if(f)return f;var p=a.displayName||a.name||"";return p!==""?s+"("+p+")":s}function Ys(r){return r.displayName||"Context"}function un(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 Ct:return"Profiler";case Ke:return"StrictMode";case qt:return"Suspense";case Vn:return"SuspenseList"}if(typeof r=="object")switch(r.$$typeof){case Cn:var a=r;return Ys(a)+".Consumer";case on:var s=r;return Ys(s._context)+".Provider";case nt:return bi(r,r.render,"ForwardRef");case Bn:var f=r.displayName||null;return f!==null?f:un(r.type)||"Memo";case ln:{var p=r,y=p._payload,C=p._init;try{return un(C(y))}catch{return null}}}return null}function Si(r,a,s){var f=a.displayName||a.name||"";return r.displayName||(f!==""?s+"("+f+")":s)}function Uo(r){return r.displayName||"Context"}function $t(r){var a=r.tag,s=r.type;switch(a){case Ee:return"Cache";case B:var f=s;return Uo(f)+".Consumer";case I:var p=s;return Uo(p._context)+".Provider";case se:return"DehydratedFragment";case F:return Si(s,s.render,"ForwardRef");case O:return"Fragment";case N:return s;case w:return"Portal";case x:return"Root";case R:return"Text";case le:return un(s);case M:return s===Ke?"StrictMode":"Mode";case ae:return"Offscreen";case z:return"Profiler";case qe:return"Scope";case $:return"Suspense";case Se:return"SuspenseList";case de:return"TracingMarker";case v:case h:case me:case b:case q:case K:if(typeof s=="function")return s.displayName||s.name||null;if(typeof s=="string")return s;break}return null}var qs=n.ReactDebugCurrentFrame,xr=null,Ui=!1;function Ya(){{if(xr===null)return null;var r=xr._debugOwner;if(r!==null&&typeof r<"u")return $t(r)}return null}function so(){return xr===null?"":Ba(xr)}function _r(){qs.getCurrentStack=null,xr=null,Ui=!1}function or(r){qs.getCurrentStack=r===null?null:so,xr=r,Ui=!1}function $o(){return xr}function Kr(r){Ui=r}function pr(r){return""+r}function aa(r){switch(typeof r){case"boolean":case"number":case"string":case"undefined":return r;case"object":return gn(r),r;default:return""}}var Eu={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function lo(r,a){Eu[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 xi(r){var a=r.type,s=r.nodeName;return s&&s.toLowerCase()==="input"&&(a==="checkbox"||a==="radio")}function Ks(r){return r._valueTracker}function vn(r){r._valueTracker=null}function Fn(r){var a="";return r&&(xi(r)?a=r.checked?"true":"false":a=r.value),a}function Il(r){var a=xi(r)?"checked":"value",s=Object.getOwnPropertyDescriptor(r.constructor.prototype,a);gn(r[a]);var f=""+r[a];if(!(r.hasOwnProperty(a)||typeof s>"u"||typeof s.get!="function"||typeof s.set!="function")){var p=s.get,y=s.set;Object.defineProperty(r,a,{configurable:!0,get:function(){return p.call(this)},set:function(T){gn(T),f=""+T,y.call(this,T)}}),Object.defineProperty(r,a,{enumerable:s.enumerable});var C={getValue:function(){return f},setValue:function(T){gn(T),f=""+T},stopTracking:function(){vn(r),delete r[a]}};return C}}function Ua(r){Ks(r)||(r._valueTracker=Il(r))}function W(r){if(!r)return!1;var a=Ks(r);if(!a)return!0;var s=a.getValue(),f=Fn(r);return f!==s?(a.setValue(f),!0):!1}function Q(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 pe=!
2022-09-25 20:24:31 +00:00
Check the render method of \``+r+"`.":""}var jo=["value","defaultValue"];function _u(r){{lo("select",r);for(var a=0;a<jo.length;a++){var s=jo[a];if(r[s]!=null){var f=Bt(r[s]);r.multiple&&!f?u("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",s,Ca()):!r.multiple&&f&&u("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",s,Ca())}}}}function Pn(r,a,s,f){var p=r.options;if(a){for(var y=s,C={},T=0;T<y.length;T++)C["$"+y[T]]=!0;for(var D=0;D<p.length;D++){var U=C.hasOwnProperty("$"+p[D].value);p[D].selected!==U&&(p[D].selected=U),U&&f&&(p[D].defaultSelected=!0)}}else{for(var H=pr(aa(s)),ee=null,J=0;J<p.length;J++){if(p[J].value===H){p[J].selected=!0,f&&(p[J].defaultSelected=!0);return}ee===null&&!p[J].disabled&&(ee=p[J])}ee!==null&&(ee.selected=!0)}}function wi(r,a){return Jt({},a,{value:void 0})}function ds(r,a){var s=r;_u(a),s._wrapperState={wasMultiple:!!a.multiple},a.value!==void 0&&a.defaultValue!==void 0&&!Ci&&(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"),Ci=!0)}function od(r,a){var s=r;s.multiple=!!a.multiple;var f=a.value;f!=null?Pn(s,!!a.multiple,f,!1):a.defaultValue!=null&&Pn(s,!!a.multiple,a.defaultValue,!0)}function Cv(r,a){var s=r,f=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!a.multiple;var p=a.value;p!=null?Pn(s,!!a.multiple,p,!1):f!==!!a.multiple&&(a.defaultValue!=null?Pn(s,!!a.multiple,a.defaultValue,!0):Pn(s,!!a.multiple,a.multiple?[]:"",!1))}function FC(r,a){var s=r,f=a.value;f!=null&&Pn(s,!!a.multiple,f,!1)}var lb=!1;function wv(r,a){var s=r;if(a.dangerouslySetInnerHTML!=null)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");var f=Jt({},a,{value:void 0,defaultValue:void 0,children:pr(s._wrapperState.initialValue)});return f}function Nv(r,a){var s=r;lo("textarea",a),a.value!==void 0&&a.defaultValue!==void 0&&!lb&&(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",Ya()||"A component"),lb=!0);var f=a.value;if(f==null){var p=a.children,y=a.defaultValue;if(p!=null){u("Use the `defaultValue` or `value` props instead of setting children on <textarea>.");{if(y!=null)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(Bt(p)){if(p.length>1)throw new Error("<textarea> can only have at most one child.");p=p[0]}y=p}}y==null&&(y=""),f=y}s._wrapperState={initialValue:aa(f)}}function sd(r,a){var s=r,f=aa(a.value),p=aa(a.defaultValue);if(f!=null){var y=pr(f);y!==s.value&&(s.value=y),a.defaultValue==null&&s.defaultValue!==y&&(s.defaultValue=y)}p!=null&&(s.defaultValue=pr(p))}function Tu(r,a){var s=r,f=s.textContent;f===s._wrapperState.initialValue&&f!==""&&f!==null&&(s.value=f)}function zC(r,a){sd(r,a)}var ps="http://www.w3.org/1999/xhtml",ub="http://www.w3.org/1998/Math/MathML",ld="http://www.w3.org/2000/svg";function ud(r){switch(r){case"svg":return ld;case"math":return ub;default:return ps}}function im(r,a){return r==null||r===ps?ud(a):r===ld&&a==="foreignObject"?ps:r}var BC=function(r){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(a,s,f,p){MSApp.execUnsafeLocalFunction(function(){return r(a,s,f,p)})}:r},Ac,om=BC(function(r,a){if(r.namespaceURI===ld&&!("innerHTML"in r)){Ac=Ac||document.createElement("div"),Ac.innerHTML="<svg>"+a.valueOf().toString()+"</svg>";for(var s=Ac.firstChild;r.firstChild;)r.removeChild(r.firstChild);for(;s.firstChild;)r.appendChild(s.firstChild);return}r.innerHTML=a}),Ni=1,ms=3,Hn=8,Vo=9,Ru=11,cd=function(r,a){if(a){var s=r.firstChild;if(s&&s===r.lastChild&&s.nodeType===ms){s.nodeValue=a;return}}r.textConte
2022-09-25 20:24:31 +00:00
* 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 oN(r){if(!Wt)return!1;var a="on"+r,s=a in document;if(!s){var f=document.createElement("div");f.setAttribute(a,"return;"),s=typeof f[a]=="function"}return s}function sN(){zt("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"])}function N1(r,a,s,f){bb(f);var p=rn(a,"onChange");if(p.length>0){var y=new Wd("onChange","change",null,s,f);r.push({event:y,listeners:p})}}var Kd=null,Xd=null;function lN(r){var a=r.nodeName&&r.nodeName.toLowerCase();return a==="select"||a==="input"&&r.type==="file"}function uN(r){var a=[];N1(a,Xd,r,Rv(r)),wb(cN,a)}function cN(r){Rg(r,0)}function Hu(r){var a=vt(r);if(W(a))return r}function fN(r,a){if(r==="change")return a}var wg=!1;Wt&&(wg=oN("input")&&(!document.documentMode||document.documentMode>9));function E1(r,a){Kd=r,Xd=a,Kd.attachEvent("onpropertychange",Ng)}function Wm(){!Kd||(Kd.detachEvent("onpropertychange",Ng),Kd=null,Xd=null)}function Ng(r){r.propertyName==="value"&&Hu(Xd)&&uN(r)}function _1(r,a,s){r==="focusin"?(Wm(),E1(a,s)):r==="focusout"&&Wm()}function T1(r,a){if(r==="selectionchange"||r==="keyup"||r==="keydown")return Hu(Xd)}function R1(r){var a=r.nodeName;return a&&a.toLowerCase()==="input"&&(r.type==="checkbox"||r.type==="radio")}function dN(r,a){if(r==="click")return Hu(a)}function pN(r,a){if(r==="input"||r==="change")return Hu(a)}function mN(r){var a=r._wrapperState;!a||!a.controlled||r.type!=="number"||Ve(r,"number",r.value)}function Gm(r,a,s,f,p,y,C){var T=s?vt(s):window,D,U;if(lN(T)?D=fN:w1(T)?wg?D=pN:(D=T1,U=_1):R1(T)&&(D=dN),D){var H=D(a,s);if(H){N1(r,H,f,p);return}}U&&U(a,T,s),a==="focusout"&&mN(T)}function Ym(){Ge("onMouseEnter",["mouseout","mouseover"]),Ge("onMouseLeave",["mouseout","mouseover"]),Ge("onPointerEnter",["pointerout","pointerover"]),Ge("onPointerLeave",["pointerout","pointerover"])}function hN(r,a,s,f,p,y,C){var T=a==="mouseover"||a==="pointerover",D=a==="mouseout"||a==="pointerout";if(T&&!mm(f)){var U=f.relatedTarget||f.fromElement;if(U&&(Le(U)||Ae(U)))return}if(!(!D&&!T)){var H;if(p.window===p)H=p;else{var ee=p.ownerDocument;ee?H=ee.defaultView||ee.parentWindow:H=window}var J,ve;if(D){var ge=f.relatedTarget||f.toElement;if(J=s,ve=ge?Le(ge):null,ve!==null){var _e=Iu(ve);(ve!==_e||ve.tag!==N&&ve.tag!==R)&&(ve=null)}}else J=null,ve=s;if(J!==ve){var pt=d1,Rt="onMouseLeave",xt="onMouseEnter",In="mouse";(a==="pointerout"||a==="pointerover")&&(pt=h1,Rt="onPointerLeave",xt="onPointerEnter",In="pointer");var En=J==null?H:vt(J),ce=ve==null?H:vt(ve),Te=new pt(Rt,In+"leave",J,f,p);Te.target=En,Te.relatedTarget=ce;var fe=null,We=Le(p);if(We===s){var mt=new pt(xt,In+"enter",ve,f,p);mt.target=ce,mt.relatedTarget=En,fe=mt}PN(r,Te,fe,J,ve)}}}function vN(r,a){return r===a&&(r!==0||1/r===1/a)||r!==r&&a!==a}var Ja=typeof Object.is=="function"?Object.is:vN;function lf(r,a){if(Ja(r,a))return!0;if(typeof r!="object"||r===null||typeof a!="object"||a===null)return!1;var s=Object.keys(r),f=Object.keys(a);if(s.length!==f.length)return!1;for(var p=0;p<s.length;p++){var y=s[p];if(!ye.call(a,y)||!Ja(r[y],a[y]))return!1}return!0}function A1(r){for(;r&&r.firstChild;)r=r.firstChild;return r}function gN(r){for(;r;){if(r.nextSibling)return r.nextSibling;r=r.parentNode}}function k1(r,a){for(var s=A1(r),f=0,p=0;s;){if(s.nodeType===ms){if(p=f+s.textContent.length,f<=a&&p>=a)return{node:s,offset:a-f};f=p}s=A1(gN(s))}}function yN(r){var a=r.ownerDocument,s=a&&a.defaultView||window,f=s.getSelection&&s.getSelection();if(!f||f.rangeCount===0)return null;var p=f.anchorNode,y=f.anchorOffset,C=f.focusNode,T=f.focusOffset;try{p.nodeType,C.nodeType}catch{return null}return bN(r,p,y,C,T)}function bN(r,a,s,f,p){var y=0,C=-1,T=-1,D=0,U=0,H=r,ee=null;e:for(;;){for(var J=null;H===a&&(s===0||H.nodeType===ms)&&(C=y+s),H===f&&(p===0||H.nodeType===ms)&&(T=y+p),H.nodeType===ms&&(y+=H.nodeValue.length),(J=H.firstChild)!==null;)ee=H,H=J;for(;;){if(H===r)break e;if(ee===a&&++D===s&&(C=y),ee===f&&++U===p&&(T=y),(J=H.nextSibling)!==null)break;H=ee,ee=H.parentNode}H=J}return C===-1||T===-1?null:{start:C,end:T}}function SN(r,a){var s=r.ownerDocument||document,f=
`).replace(Dg,"")}function df(r,a,s,f){var p=th(a),y=th(r);if(y!==p&&(f&&(Ti||(Ti=!0,u('Text content did not match. Server: "%s" Client: "%s"',y,p))),s&&ie))throw new Error("Text content does not match server-rendered HTML.")}function V1(r){return r.nodeType===Vo?r:r.ownerDocument}function IN(){}function nh(r){r.onclick=IN}function ca(r,a,s,f,p){for(var y in f)if(!!f.hasOwnProperty(y)){var C=f[y];if(y===Xu)C&&Object.freeze(C),re(a,C);else if(y===ff){var T=C?C[Qm]:void 0;T!=null&&om(a,T)}else if(y===Ku)if(typeof C=="string"){var D=r!=="textarea"||C!=="";D&&cd(a,C)}else typeof C=="number"&&cd(a,""+C);else y===qu||y===Yl||y===B1||(ct.hasOwnProperty(y)?C!=null&&(typeof C!="function"&&eh(y,C),y==="onScroll"&&Nn("scroll",a)):C!=null&&Fi(a,y,C,p))}}function Ri(r,a,s,f){for(var p=0;p<a.length;p+=2){var y=a[p],C=a[p+1];y===Xu?re(r,C):y===ff?om(r,C):y===Ku?cd(r,C):Fi(r,y,C,f)}}function LN(r,a,s,f){var p,y=V1(s),C,T=f;if(T===ps&&(T=ud(r)),T===ps){if(p=Xs(r,a),!p&&r!==r.toLowerCase()&&u("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",r),r==="script"){var D=y.createElement("div");D.innerHTML="<script><\/script>";var U=D.firstChild;C=D.removeChild(U)}else if(typeof a.is=="string")C=y.createElement(r,{is:a.is});else if(C=y.createElement(r),r==="select"){var H=C;a.multiple?H.multiple=!0:a.size&&(H.size=a.size)}}else C=y.createElementNS(T,r);return T===ps&&!p&&Object.prototype.toString.call(C)==="[object HTMLUnknownElement]"&&!ye.call(Og,r)&&(Og[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)),C}function FN(r,a){return V1(a).createTextNode(r)}function zN(r,a,s,f){var p=Xs(a,s);Jm(a,s);var y;switch(a){case"dialog":Nn("cancel",r),Nn("close",r),y=s;break;case"iframe":case"object":case"embed":Nn("load",r),y=s;break;case"video":case"audio":for(var C=0;C<uf.length;C++)Nn(uf[C],r);y=s;break;case"source":Nn("error",r),y=s;break;case"img":case"image":case"link":Nn("error",r),Nn("load",r),y=s;break;case"details":Nn("toggle",r),y=s;break;case"input":A(r,s),y=S(r,s),Nn("invalid",r);break;case"option":yt(r,s),y=s;break;case"select":ds(r,s),y=wi(r,s),Nn("invalid",r);break;case"textarea":Nv(r,s),y=wv(r,s),Nn("invalid",r);break;default:y=s}switch(Jn(a,y),ca(a,r,f,y,p),a){case"input":Ua(r),te(r,s,!1);break;case"textarea":Ua(r),Tu(r);break;case"option":jt(r,s);break;case"select":od(r,s);break;default:typeof y.onClick=="function"&&nh(r);break}}function H1(r,a,s,f,p){Jm(a,f);var y=null,C,T;switch(a){case"input":C=S(r,s),T=S(r,f),y=[];break;case"select":C=wi(r,s),T=wi(r,f),y=[];break;case"textarea":C=wv(r,s),T=wv(r,f),y=[];break;default:C=s,T=f,typeof C.onClick!="function"&&typeof T.onClick=="function"&&nh(r);break}Jn(a,T);var D,U,H=null;for(D in C)if(!(T.hasOwnProperty(D)||!C.hasOwnProperty(D)||C[D]==null))if(D===Xu){var ee=C[D];for(U in ee)ee.hasOwnProperty(U)&&(H||(H={}),H[U]="")}else D===ff||D===Ku||D===qu||D===Yl||D===B1||(ct.hasOwnProperty(D)?y||(y=[]):(y=y||[]).push(D,null));for(D in T){var J=T[D],ve=C?.[D];if(!(!T.hasOwnProperty(D)||J===ve||J==null&&ve==null))if(D===Xu)if(J&&Object.freeze(J),ve){for(U in ve)ve.hasOwnProperty(U)&&(!J||!J.hasOwnProperty(U))&&(H||(H={}),H[U]="");for(U in J)J.hasOwnProperty(U)&&ve[U]!==J[U]&&(H||(H={}),H[U]=J[U])}else H||(y||(y=[]),y.push(D,H)),H=J;else if(D===ff){var ge=J?J[Qm]:void 0,_e=ve?ve[Qm]:void 0;ge!=null&&_e!==ge&&(y=y||[]).push(D,ge)}else D===Ku?(typeof J=="string"||typeof J=="number")&&(y=y||[]).push(D,""+J):D===qu||D===Yl||(ct.hasOwnProperty(D)?(J!=null&&(typeof J!="function"&&eh(D,J),D==="onScroll"&&Nn("scroll",r)),!y&&ve!==J&&(y=[])):(y=y||[]).push(D,J))}return H&&(ht(H,T[Xu]),(y=y||[]).push(Xu,H)),y}function BN(r,a,s,f,p){s==="input"&&p.type==="radio"&&p.name!=null&&V(r,p);var y=Xs(s,f),C=Xs(s,p);switch(Ri(r,a,y,C),s){case"input":G(r,p);break;case"textarea":sd(r,p);break;case"select":Cv(r,p);break}}function UN(r){{var a=r.toLowerCase();return sm.hasOwnProperty(a)&&sm[a]||null}}function $N(r,a,s,f,p,y,C){var T,D;switch(T=Xs(a,s),Jm(a,s),a){case"dialog":Nn("
2022-09-25 20:24:31 +00:00
* Move code with side effects to componentDidMount, and set initial state in the constructor.
Please update the following components: %s`,C)}if(f.size>0){var T=mp(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`,T)}if(y.size>0){var D=mp(y);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`,D)}if(r.size>0){var U=mp(r);c(`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(s.size>0){var H=mp(s);c(`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(p.size>0){var ee=mp(p);c(`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`,ee)}};var lS=new Map,XO=new Set;dl.recordLegacyContextWarning=function(r,a){var s=SB(r);if(s===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(!XO.has(r.type)){var f=lS.get(s);(r.type.contextTypes!=null||r.type.childContextTypes!=null||a!==null&&typeof a.getChildContext=="function")&&(f===void 0&&(f=[],lS.set(s,f)),f.push(r))}},dl.flushLegacyContextWarning=function(){lS.forEach(function(r,a){if(r.length!==0){var s=r[0],f=new Set;r.forEach(function(y){f.add($t(y)||"Component"),XO.add(y.type)});var p=mp(f);try{or(s),u(`Legacy context API has been detected within a strict-mode tree.
2022-09-25 20:24:31 +00:00
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`,p)}finally{_r()}}})},dl.discardPendingWarnings=function(){Zg=[],Qg=[],Jg=[],e0=[],t0=[],n0=[],lS=new Map}}function pl(r,a){if(r&&r.defaultProps){var s=Jt({},a),f=r.defaultProps;for(var p in f)s[p]===void 0&&(s[p]=f[p]);return s}return a}var QE=Ha(null),JE;JE={};var uS=null,ch=null,e_=null,cS=!1;function fS(){uS=null,ch=null,e_=null,cS=!1}function ZO(){cS=!0}function QO(){cS=!1}function JO(r,a,s){ki(QE,a._currentValue,r),a._currentValue=s,a._currentRenderer!==void 0&&a._currentRenderer!==null&&a._currentRenderer!==JE&&u("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),a._currentRenderer=JE}function t_(r,a){var s=QE.current;Ea(QE,a),r._currentValue=s}function n_(r,a,s){for(var f=r;f!==null;){var p=f.alternate;if($u(f.childLanes,a)?p!==null&&!$u(p.childLanes,a)&&(p.childLanes=dn(p.childLanes,a)):(f.childLanes=dn(f.childLanes,a),p!==null&&(p.childLanes=dn(p.childLanes,a))),f===s)break;f=f.return}f!==s&&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 xB(r,a,s){CB(r,a,s)}function CB(r,a,s){var f=r.child;for(f!==null&&(f.return=r);f!==null;){var p=void 0,y=f.dependencies;if(y!==null){p=f.child;for(var C=y.firstContext;C!==null;){if(C.context===a){if(f.tag===v){var T=Md(s),D=tc(tr,T);D.tag=pS;var U=f.updateQueue;if(U!==null){var H=U.shared,ee=H.pending;ee===null?D.next=D:(D.next=ee.next,ee.next=D),H.pending=D}}f.lanes=dn(f.lanes,s);var J=f.alternate;J!==null&&(J.lanes=dn(J.lanes,s)),n_(f.return,s,r),y.lanes=dn(y.lanes,s);break}C=C.next}}else if(f.tag===I)p=f.type===r.type?null:f.child;else if(f.tag===se){var ve=f.return;if(ve===null)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");ve.lanes=dn(ve.lanes,s);var ge=ve.alternate;ge!==null&&(ge.lanes=dn(ge.lanes,s)),n_(ve,s,r),p=f.sibling}else p=f.child;if(p!==null)p.return=f;else for(p=f;p!==null;){if(p===r){p=null;break}var _e=p.sibling;if(_e!==null){_e.return=p.return,p=_e;break}p=p.return}f=p}}function fh(r,a){uS=r,ch=null,e_=null;var s=r.dependencies;if(s!==null){var f=s.firstContext;f!==null&&(Ei(s.lanes,a)&&v0(),s.firstContext=null)}}function fa(r){cS&&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(e_!==r){var s={context:r,memoizedValue:a,next:null};if(ch===null){if(uS===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().");ch=s,uS.dependencies={lanes:Fe,firstContext:s}}else ch=ch.next=s}return a}var vp=null;function r_(r){vp===null?vp=[r]:vp.push(r)}function wB(){if(vp!==null){for(var r=0;r<vp.length;r++){var a=vp[r],s=a.interleaved;if(s!==null){a.interleaved=null;var f=s.next,p=a.pending;if(p!==null){var y=p.next;p.next=f,s.next=y}a.pending=s}}vp=null}}function e4(r,a,s,f){var p=a.interleaved;return p===null?(s.next=s,r_(a)):(s.next=p.next,p.next=s),a.interleaved=s,dS(r,f)}function NB(r,a,s,f){var p=a.interleaved;p===null?(s.next=s,r_(a)):(s.next=p.next,p.next=s),a.interleaved=s}function EB(r,a,s,f){var p=a.interleaved;return p===null?(s.next=s,r_(a)):(s.next=p.next,p.next=s),a.interleaved=s,dS(r,f)}function ho(r,a){return dS(r,a)}var _B=dS;function dS(r,a){r.lanes=dn(r.lanes,a);var s=r.alternate;s!==null&&(s.lanes=dn(s.lanes,a)),s===null&&(r.flags&(jr|nl))!==Ft&&tD(r);for(var f=r,p=r.return;p!==null;)p.childLanes=dn(p.childLanes,a),s=p.alternate,s!==null?s.childLanes=dn(s.childLanes,a):(p.flags&(jr|nl))!==Ft&&tD(r),f=p,p=p.return;if(f.tag===x){var y=f.stateNode;return y}else return null}var t4=0,n4=1,pS=2,a_=3,mS=!1,i_,hS;i_=!1,hS=null
2022-09-25 20:24:31 +00:00
%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`,pt,Rt,ve!==null?`
`+ve:"",ge!==null?`
`+ge:"",_e!==null?`
`+_e:""))}}}return f&&IO(r,p,y),H}function kB(r,a){var s=a.state;typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount(),s!==a.state&&(u("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",$t(r)||"Component"),y_.enqueueReplaceState(a,a.state,null))}function d4(r,a,s,f){var p=a.state;if(typeof a.componentWillReceiveProps=="function"&&a.componentWillReceiveProps(s,f),typeof a.UNSAFE_componentWillReceiveProps=="function"&&a.UNSAFE_componentWillReceiveProps(s,f),a.state!==p){{var y=$t(r)||"Component";u_.has(y)||(u_.add(y),u("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",y))}y_.enqueueReplaceState(a,a.state,null)}}function b_(r,a,s,f){AB(r,a,s);var p=r.stateNode;p.props=s,p.state=r.memoizedState,p.refs=o4,o_(r);var y=a.contextType;if(typeof y=="object"&&y!==null)p.context=fa(y);else{var C=ih(r,a,!0);p.context=oh(r,C)}{if(p.state===s){var T=un(a)||"Component";m_.has(T)||(m_.add(T),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.",T))}r.mode&Ir&&dl.recordLegacyContextWarning(r,p),dl.recordUnsafeLifecycleWarnings(r,p)}p.state=r.memoizedState;var D=a.getDerivedStateFromProps;if(typeof D=="function"&&(g_(r,a,D,s),p.state=r.memoizedState),typeof a.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(kB(r,p),gS(r,s,p,f),p.state=r.memoizedState),typeof p.componentDidMount=="function"){var U=fn;U|=Mu,(r.mode&co)!==Dt&&(U|=Zr),r.flags|=U}}function OB(r,a,s,f){var p=r.stateNode,y=r.memoizedProps;p.props=y;var C=p.context,T=a.contextType,D=qo;if(typeof T=="object"&&T!==null)D=fa(T);else{var U=ih(r,a,!0);D=oh(r,U)}var H=a.getDerivedStateFromProps,ee=typeof H=="function"||typeof p.getSnapshotBeforeUpdate=="function";!ee&&(typeof p.UNSAFE_componentWillReceiveProps=="function"||typeof p.componentWillReceiveProps=="function")&&(y!==s||C!==D)&&d4(r,p,s,D),a4();var J=r.memoizedState,ve=p.state=J;if(gS(r,s,p,f),ve=r.memoizedState,y===s&&J===ve&&!eS()&&!yS()){if(typeof p.componentDidMount=="function"){var ge=fn;ge|=Mu,(r.mode&co)!==Dt&&(ge|=Zr),r.flags|=ge}return!1}typeof H=="function"&&(g_(r,a,H,s),ve=r.memoizedState);var _e=yS()||u4(r,a,y,s,J,ve,D);if(_e){if(!ee&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function")&&(typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount()),typeof p.componentDidMount=="function"){var pt=fn;pt|=Mu,(r.mode&co)!==Dt&&(pt|=Zr),r.flags|=pt}}else{if(typeof p.componentDidMount=="function"){var Rt=fn;Rt|=Mu,(r.mode&co)!==Dt&&(Rt|=Zr),r.flags|=Rt}r.memoizedProps=s,r.memoizedState=ve}return p.props=s,p.state=ve,p.context=D,_e}function DB(r,a,s,f,p){var y=a.stateNode;r4(r,a);var C=a.memoizedProps,T=a.type===a.elementType?C:pl(a.type,C);y.props=T;var D=a.pendingProps,U=y.context,H=s.contextType,ee=qo;if(typeof H=="object"&&H!==null)ee=fa(H);else{var J=ih(a,s,!0);ee=oh(a,J)}var ve=s.getDerivedStateFromProps,ge=typeof ve=="function"||typeof y.getSnapshotBeforeUpdate=="function";!ge&&(typeof y.UNSAFE_componentWillReceiveProps=="function"||typeof y.componentWillReceiveProps=="function")&&(C!==D||U!==ee)&&d4(a,y,f,ee),a4();var _e=a.memoizedState,pt=y.state=_e;if(gS(a,f,y,p),pt=a.memoizedState,C===D&&_e===pt&&!eS()&&!yS()&&!Ne)return typeof y.componentDidUpdate=="function"&&(C!==r.memoizedProps||_e!==r.memoizedState)&&(a.flags|=fn),typeof y.getSnapshotBeforeUpdate=="function"&&(C!==r.memoizedProps||_e!==r.memoizedState)&&(a.flags|=Du),!1;typeof ve=="function"&&(g_(a,s,ve,f),pt=a.memoizedState);var Rt=yS()||u4(a,s,T,f,_e,pt,ee)||Ne;return Rt?(!ge&&(typeof y.UNSAFE_componentWillUpdate=="function"||typeof
2022-09-25 20:24:31 +00:00
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 SS(r,a){var s=Object.prototype.toString.call(a);throw new Error("Objects are not valid as a React child (found: "+(s==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":s)+"). If you meant to render a collection of children, use an array instead.")}function xS(r){{var a=$t(r)||"Component";if(N_[a])return;N_[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 m4(r){var a=r._payload,s=r._init;return s(a)}function h4(r){function a(ce,Te){if(!!r){var fe=ce.deletions;fe===null?(ce.deletions=[Te],ce.flags|=Ou):fe.push(Te)}}function s(ce,Te){if(!r)return null;for(var fe=Te;fe!==null;)a(ce,fe),fe=fe.sibling;return null}function f(ce,Te){for(var fe=new Map,We=Te;We!==null;)We.key!==null?fe.set(We.key,We):fe.set(We.index,We),We=We.sibling;return fe}function p(ce,Te){var fe=Np(ce,Te);return fe.index=0,fe.sibling=null,fe}function y(ce,Te,fe){if(ce.index=fe,!r)return ce.flags|=_b,Te;var We=ce.alternate;if(We!==null){var mt=We.index;return mt<Te?(ce.flags|=jr,Te):mt}else return ce.flags|=jr,Te}function C(ce){return r&&ce.alternate===null&&(ce.flags|=jr),ce}function T(ce,Te,fe,We){if(Te===null||Te.tag!==R){var mt=ZT(fe,ce.mode,We);return mt.return=ce,mt}else{var ut=p(Te,fe);return ut.return=ce,ut}}function D(ce,Te,fe,We){var mt=fe.type;if(mt===Ue)return H(ce,Te,fe.props.children,We,fe.key);if(Te!==null&&(Te.elementType===mt||iD(Te,fe)||typeof mt=="object"&&mt!==null&&mt.$$typeof===ln&&m4(mt)===Te.type)){var ut=p(Te,fe.props);return ut.ref=r0(ce,Te,fe),ut.return=ce,ut._debugSource=fe._source,ut._debugOwner=fe._owner,ut}var Vt=XT(fe,ce.mode,We);return Vt.ref=r0(ce,Te,fe),Vt.return=ce,Vt}function U(ce,Te,fe,We){if(Te===null||Te.tag!==w||Te.stateNode.containerInfo!==fe.containerInfo||Te.stateNode.implementation!==fe.implementation){var mt=QT(fe,ce.mode,We);return mt.return=ce,mt}else{var ut=p(Te,fe.children||[]);return ut.return=ce,ut}}function H(ce,Te,fe,We,mt){if(Te===null||Te.tag!==O){var ut=Rf(fe,ce.mode,We,mt);return ut.return=ce,ut}else{var Vt=p(Te,fe);return Vt.return=ce,Vt}}function ee(ce,Te,fe){if(typeof Te=="string"&&Te!==""||typeof Te=="number"){var We=ZT(""+Te,ce.mode,fe);return We.return=ce,We}if(typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case La:{var mt=XT(Te,ce.mode,fe);return mt.ref=r0(ce,null,Te),mt.return=ce,mt}case X:{var ut=QT(Te,ce.mode,fe);return ut.return=ce,ut}case ln:{var Vt=Te._payload,en=Te._init;return ee(ce,en(Vt),fe)}}if(Bt(Te)||zi(Te)){var lr=Rf(Te,ce.mode,fe,null);return lr.return=ce,lr}SS(ce,Te)}return typeof Te=="function"&&xS(ce),null}function J(ce,Te,fe,We){var mt=Te!==null?Te.key:null;if(typeof fe=="string"&&fe!==""||typeof fe=="number")return mt!==null?null:T(ce,Te,""+fe,We);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case La:return fe.key===mt?D(ce,Te,fe,We):null;case X:return fe.key===mt?U(ce,Te,fe,We):null;case ln:{var ut=fe._payload,Vt=fe._init;return J(ce,Te,Vt(ut),We)}}if(Bt(fe)||zi(fe))return mt!==null?null:H(ce,Te,fe,We,null);SS(ce,fe)}return typeof fe=="function"&&xS(ce),null}function ve(ce,Te,fe,We,mt){if(typeof We=="string"&&We!==""||typeof We=="number"){var ut=ce.get(fe)||null;return T(Te,ut,""+We,mt)}if(typeof We=="object"&&We!==null){switch(We.$$typeof){case La:{var Vt=ce.get(We.key===null?fe:We.key)||null;return D(Te,Vt,We,mt)}case X:{var en=ce.get(We.key===null?fe:We.key)||null;return U(Te,en,We,mt)}case ln:var lr=We._payload,Gn=We._init;return ve(ce,Te,fe,Gn(lr),mt)}if(Bt(We)||zi(We)){var ta=ce.get(fe)||null;return H(Te,ta,We,mt,null)}SS(Te,We)}return typeof We=="function"&&xS(Te),null}function ge(ce,Te,fe){{if(typeof ce!="object"||ce===null)return Te;switch(ce.$$typeof){case La:case X:p4(ce,fe);var We=ce.key;if(typeof We!="string")break;if(Te===null){Te=new Set,Te.add(We);break}if(!Te.has(We)){Te.add(We);break}u("Encountered two children with the same key, `%s`. Keys should be unique so that components
2022-09-25 20:24:31 +00:00
`,s+=T}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,s)}}}function Oi(){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 M_(r,a){if(P_)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 s=0;s<a.length&&s<r.length;s++)if(!Ja(r[s],a[s]))return!1;return!0}function yh(r,a,s,f,p,y){gp=y,sr=a,Os=r!==null?r._debugHookTypes:null,xf=-1,P_=r!==null&&r.type!==a.type,a.memoizedState=null,a.updateQueue=null,a.lanes=Fe,r!==null&&r.memoizedState!==null?ft.current=j4:Os!==null?ft.current=$4:ft.current=U4;var C=s(f,p);if(l0){var T=0;do{if(l0=!1,u0=0,T>=UB)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");T+=1,P_=!1,Ra=null,Aa=null,a.updateQueue=null,xf=-1,ft.current=V4,C=s(f,p)}while(l0)}ft.current=zS,a._debugHookTypes=Os;var D=Ra!==null&&Ra.next!==null;if(gp=Fe,sr=null,Ra=null,Aa=null,ke=null,Os=null,xf=-1,r!==null&&(r.flags&vs)!==(a.flags&vs)&&(r.mode&wn)!==Dt&&u("Internal React error: Expected static flag was missing. Please notify the React team."),ES=!1,D)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return C}function bh(){var r=u0!==0;return u0=0,r}function x4(r,a,s){a.updateQueue=r.updateQueue,(a.mode&co)!==Dt?a.flags&=~(ym|Zr|Wo|fn):a.flags&=~(Wo|fn),r.lanes=Id(r.lanes,s)}function C4(){if(ft.current=zS,ES){for(var r=sr.memoizedState;r!==null;){var a=r.queue;a!==null&&(a.pending=null),r=r.next}ES=!1}gp=Fe,sr=null,Ra=null,Aa=null,Os=null,xf=-1,ke=null,I4=!1,l0=!1,u0=0}function Zl(){var r={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Aa===null?sr.memoizedState=Aa=r:Aa=Aa.next=r,Aa}function Ds(){var r;if(Ra===null){var a=sr.alternate;a!==null?r=a.memoizedState:r=null}else r=Ra.next;var s;if(Aa===null?s=sr.memoizedState:s=Aa.next,s!==null)Aa=s,s=Aa.next,Ra=r;else{if(r===null)throw new Error("Rendered more hooks than during the previous render.");Ra=r;var f={memoizedState:Ra.memoizedState,baseState:Ra.baseState,baseQueue:Ra.baseQueue,queue:Ra.queue,next:null};Aa===null?sr.memoizedState=Aa=f:Aa=Aa.next=f}return Aa}function w4(){return{lastEffect:null,stores:null}}function I_(r,a){return typeof a=="function"?a(r):a}function L_(r,a,s){var f=Zl(),p;s!==void 0?p=s(a):p=a,f.memoizedState=f.baseState=p;var y={pending:null,interleaved:null,lanes:Fe,dispatch:null,lastRenderedReducer:r,lastRenderedState:p};f.queue=y;var C=y.dispatch=WB.bind(null,sr,y);return[f.memoizedState,C]}function F_(r,a,s){var f=Ds(),p=f.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=r;var y=Ra,C=y.baseQueue,T=p.pending;if(T!==null){if(C!==null){var D=C.next,U=T.next;C.next=U,T.next=D}y.baseQueue!==C&&u("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),y.baseQueue=C=T,p.pending=null}if(C!==null){var H=C.next,ee=y.baseState,J=null,ve=null,ge=null,_e=H;do{var pt=_e.lane;if($u(gp,pt)){if(ge!==null){var xt={lane:Qr,action:_e.action,hasEagerState:_e.hasEagerState,eagerState:_e.eagerState,next:null};ge=ge.next=xt}if(_e.hasEagerState)ee=_e.eagerState;else{var In=_e.action;ee=r(ee,In)}}else{var Rt={lane:pt,action:_e.action,hasEagerState:_e.hasEagerState,eagerState:_e.eagerState,next:null};ge===null?(ve=ge=Rt,J=ee):ge=ge.next=Rt,sr.lanes=dn(sr.lanes,pt),R0(pt)}_e=_e.next}while(_e!==null&&_e!==H);ge===null?J=ee:ge.next=ve,Ja(ee,f.memoizedState)||v0(),f.memoizedState=ee,f.baseState=J,f.baseQueue=ge,p.lastRenderedState=ee}var En=p.interleaved;if(En!==null){var ce=En;do{var Te=ce.lane;sr.lanes=dn(sr.lanes,Te),R0(Te),ce=ce.next}while(ce!==En)}else C===null&&(p.lanes=Fe);var fe=p.dispatch;return[f.memoizedState,fe]}function z_(r,a,s){var f=Ds(),p=f.queue;if(p===null)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");p.lastRenderedReducer=r;var y=p.dispatch,C=p.pending,T=f.memoizedState;if(C!==null){p.pending=null;var D=C.next,U=D;do{var H=U.action;T=r(T,H),U=U.next}while(U!==D);Ja(T,f.memoizedState)||v0(),f.memoizedState=T,f.baseQueue===null&&(f.baseState=T),p.lastRenderedState=T}return[T,y]}function cge(r,a,s){}function fge(r,a,s){}function B_(r,a,s){var f=sr,p=Zl(),y,C=ni();if(C){if
2022-09-25 20:24:31 +00:00
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.`;else{var H=$t(r)||"Anonymous";U="React will try to recreate this component tree from scratch "+("using the error boundary you provided, "+H+".")}var ee=D+`
`+C+`
`+(""+U);console.error(ee)}catch(J){setTimeout(function(){throw J})}}var ZB=typeof WeakMap=="function"?WeakMap:Map;function K4(r,a,s){var f=tc(tr,s);f.tag=a_,f.payload={element:null};var p=a.value;return f.callback=function(){V$(p),aT(r,a)},f}function iT(r,a,s){var f=tc(tr,s);f.tag=a_;var p=r.type.getDerivedStateFromError;if(typeof p=="function"){var y=a.value;f.payload=function(){return p(y)},f.callback=function(){oD(r),aT(r,a)}}var C=r.stateNode;return C!==null&&typeof C.componentDidCatch=="function"&&(f.callback=function(){oD(r),aT(r,a),typeof p!="function"&&$$(this);var D=a.value,U=a.stack;this.componentDidCatch(D,{componentStack:U!==null?U:""}),typeof p!="function"&&(Ei(r.lanes,Gt)||u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",$t(r)||"Unknown"))}),f}function X4(r,a,s){var f=r.pingCache,p;if(f===null?(f=r.pingCache=new ZB,p=new Set,f.set(a,p)):(p=f.get(a),p===void 0&&(p=new Set,f.set(a,p))),!p.has(s)){p.add(s);var y=H$.bind(null,r,a,s);Na&&A0(r,s),a.then(y,y)}}function QB(r,a,s,f){var p=r.updateQueue;if(p===null){var y=new Set;y.add(s),r.updateQueue=y}else p.add(s)}function JB(r,a){var s=r.tag;if((r.mode&wn)===Dt&&(s===h||s===F||s===K)){var f=r.alternate;f?(r.updateQueue=f.updateQueue,r.memoizedState=f.memoizedState,r.lanes=f.lanes):(r.updateQueue=null,r.memoizedState=null)}}function Z4(r){var a=r;do{if(a.tag===$&&FB(a))return a;a=a.return}while(a!==null);return null}function Q4(r,a,s,f,p){if((r.mode&wn)===Dt){if(r===a)r.flags|=Ka;else{if(r.flags|=Un,s.flags|=Mv,s.flags&=~(rl|Sd),s.tag===v){var y=s.alternate;if(y===null)s.tag=me;else{var C=tc(tr,Gt);C.tag=pS,yf(s,C,Gt)}}s.lanes=dn(s.lanes,Gt)}return r}return r.flags|=Ka,r.lanes=p,r}function eU(r,a,s,f,p){if(s.flags|=Sd,Na&&A0(r,p),f!==null&&typeof f=="object"&&typeof f.then=="function"){var y=f;JB(s),ni()&&s.mode&wn&&jO();var C=Z4(a);if(C!==null){C.flags&=~tl,Q4(C,a,s,r,p),C.mode&wn&&X4(r,y,p),QB(C,r,y);return}else{if(!Gb(p)){X4(r,y,p),zT();return}var T=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=T}}else if(ni()&&s.mode&wn){jO();var D=Z4(a);if(D!==null){(D.flags&Ka)===Ft&&(D.flags|=tl),Q4(D,a,s,r,p),ZE(yp(f,s));return}}f=yp(f,s),P$(f);var U=a;do{switch(U.tag){case x:{var H=f;U.flags|=Ka;var ee=Md(p);U.lanes=dn(U.lanes,ee);var J=K4(U,H,ee);s_(U,J);return}case v:var ve=f,ge=U.type,_e=U.stateNode;if((U.flags&Un)===Ft&&(typeof ge.getDerivedStateFromError=="function"||_e!==null&&typeof _e.componentDidCatch=="function"&&!Z3(_e))){U.flags|=Ka;var pt=Md(p);U.lanes=dn(U.lanes,pt);var Rt=iT(U,ve,pt);s_(U,Rt);return}break}U=U.return}while(U!==null)}function tU(){return null}var m0=n.ReactCurrentOwner,vl=!1,oT,h0,sT,lT,uT,bp,cT,HS;oT={},h0={},sT={},lT={},uT={},bp=!1,cT={},HS={};function Yi(r,a,s,f){r===null?a.child=v4(a,null,s,f):a.child=dh(a,r.child,s,f)}function nU(r,a,s,f){a.child=dh(a,r.child,null,f),a.child=dh(a,null,s,f)}function J4(r,a,s,f,p){if(a.type!==a.elementType){var y=s.propTypes;y&&yr(y,f,"prop",un(s))}var C=s.render,T=a.ref,D,U;fh(a,p),Ed(a);{if(m0.current=a,Kr(!0),D=yh(r,a,C,f,T,p),U=bh(),a.mode&Ir){oa(!0);try{D=yh(r,a,C,f,T,p),U=bh()}finally{oa(!1)}}Kr(!1)}return Wc(),r!==null&&!vl?(x4(r,a,p),nc(r,a,p)):(ni()&&U&&WE(a),a.flags|=Vc,Yi(r,a,D,p),a.child)}function e3(r,a,s,f,p){if(r===null){var y=s.type;if(sj(y)&&s.compare===null&&s.defaultProps===void 0){var C=y;return C=Th(y),a.tag=K,a.type=C,pT(a,y),t3(r,a,C,f,p)}{var T=y.propTypes;T&&yr(T,f,"prop",un(y))}var D=KT(s.type,null,f,a,a.mode,p);return D.ref=a.ref,D.return=a,a.child=D,D}{var U=s.type,H=U.propTypes;H&&yr(H,f,"prop",un(U))}var ee=r.child,J=bT(r,p);if(!J){var ve=ee.memoizedProps,ge=s.compare;if(ge=ge!==null?ge:lf,ge(ve,f)&&r.ref===a.ref)return nc(r,a,p)}a.flags|=Vc;var _e=Np(ee,f);return _e.ref=a.ref,_e.return=a,a.child=_e,_e}function t3(r,a,s,f,p){if(a.type!==a.elementType){var y=a.elementType;if(y.$$typeof===ln){var C=y,T=C._payload,D
2022-09-25 20:24:31 +00:00
Check the render method of \``+f+"`.");var p=f||"",y=r._debugSource;y&&(p=y.fileName+":"+y.lineNumber),uT[p]||(uT[p]=!0,u("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",s))}if(typeof a.getDerivedStateFromProps=="function"){var C=un(a)||"Unknown";lT[C]||(u("%s: Function components do not support getDerivedStateFromProps.",C),lT[C]=!0)}if(typeof a.contextType=="object"&&a.contextType!==null){var T=un(a)||"Unknown";sT[T]||(u("%s: Function components do not support contextType.",T),sT[T]=!0)}}}var mT={dehydrated:null,treeContext:null,retryLane:Qr};function hT(r){return{baseLanes:r,cachePool:tU(),transitions:null}}function dU(r,a){var s=null;return{baseLanes:dn(r.baseLanes,a),cachePool:s,transitions:r.transitions}}function pU(r,a,s,f){if(a!==null){var p=a.memoizedState;if(p===null)return!1}return R_(r,o0)}function mU(r,a){return Id(r.childLanes,a)}function s3(r,a,s){var f=a.pendingProps;wj(a)&&(a.flags|=Un);var p=ml.current,y=!1,C=(a.flags&Un)!==Ft;if(C||pU(p,r)?(y=!0,a.flags&=~Un):(r===null||r.memoizedState!==null)&&(p=LB(p,S4)),p=mh(p),Sf(a,p),r===null){XE(a);var T=a.memoizedState;if(T!==null){var D=T.dehydrated;if(D!==null)return bU(a,D)}var U=f.children,H=f.fallback;if(y){var ee=hU(a,U,H,s),J=a.child;return J.memoizedState=hT(s),a.memoizedState=mT,ee}else return vT(a,U)}else{var ve=r.memoizedState;if(ve!==null){var ge=ve.dehydrated;if(ge!==null)return SU(r,a,C,f,ge,ve,s)}if(y){var _e=f.fallback,pt=f.children,Rt=gU(r,a,pt,_e,s),xt=a.child,In=r.child.memoizedState;return xt.memoizedState=In===null?hT(s):dU(In,s),xt.childLanes=mU(r,s),a.memoizedState=mT,Rt}else{var En=f.children,ce=vU(r,a,En,s);return a.memoizedState=null,ce}}}function vT(r,a,s){var f=r.mode,p={mode:"visible",children:a},y=gT(p,f);return y.return=r,r.child=y,y}function hU(r,a,s,f){var p=r.mode,y=r.child,C={mode:"hidden",children:a},T,D;return(p&wn)===Dt&&y!==null?(T=y,T.childLanes=Fe,T.pendingProps=C,r.mode&Wn&&(T.actualDuration=0,T.actualStartTime=-1,T.selfBaseDuration=0,T.treeBaseDuration=0),D=Rf(s,p,f,null)):(T=gT(C,p),D=Rf(s,p,f,null)),T.return=r,D.return=r,T.sibling=D,r.child=T,D}function gT(r,a,s){return lD(r,a,Fe,null)}function l3(r,a){return Np(r,a)}function vU(r,a,s,f){var p=r.child,y=p.sibling,C=l3(p,{mode:"visible",children:s});if((a.mode&wn)===Dt&&(C.lanes=f),C.return=a,C.sibling=null,y!==null){var T=a.deletions;T===null?(a.deletions=[y],a.flags|=Ou):T.push(y)}return a.child=C,C}function gU(r,a,s,f,p){var y=a.mode,C=r.child,T=C.sibling,D={mode:"hidden",children:s},U;if((y&wn)===Dt&&a.child!==C){var H=a.child;U=H,U.childLanes=Fe,U.pendingProps=D,a.mode&Wn&&(U.actualDuration=0,U.actualStartTime=-1,U.selfBaseDuration=C.selfBaseDuration,U.treeBaseDuration=C.treeBaseDuration),a.deletions=null}else U=l3(C,D),U.subtreeFlags=C.subtreeFlags&vs;var ee;return T!==null?ee=Np(T,f):(ee=Rf(f,y,p,null),ee.flags|=jr),ee.return=a,U.return=a,U.sibling=ee,a.child=U,ee}function WS(r,a,s,f){f!==null&&ZE(f),dh(a,r.child,null,s);var p=a.pendingProps,y=p.children,C=vT(a,y);return C.flags|=jr,a.memoizedState=null,C}function yU(r,a,s,f,p){var y=a.mode,C={mode:"visible",children:s},T=gT(C,y),D=Rf(f,y,p,null);return D.flags|=jr,T.return=a,D.return=a,T.sibling=D,a.child=T,(a.mode&wn)!==Dt&&dh(a,r.child,null,p),D}function bU(r,a,s){return(r.mode&wn)===Dt?(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=Gt):qg(a)?r.lanes=Fu:r.lanes=Wi,null}function SU(r,a,s,f,p,y,C){if(s)if(a.flags&tl){a.flags&=~tl;var ce=rT(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));return WS(r,a,C,ce)}else{if(a.memoizedState!==null)return a.child=r.child,a.flags|=Un,null;var Te=f.children,fe=f.fallback,We=yU(r,a,Te,fe,C),mt=a.child;return mt.memoizedState=hT(C),a.memoizedState=mT,We}else{if(lB(),(a.mode&wn)===Dt)return WS(r,a,C,null);if(qg(p)){var T,D,U;{var H=gE(p);T=H.digest,D=H.mess
2022-09-25 20:24:31 +00:00
It looks like you wrote `+D+`(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:
`+D+`(() => {
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: "+T,u("%s must not return anything besides a function, which is used for clean-up.%s",D,U)}}}y=y.next}while(y!==p)}}function $U(r,a){if((a.flags&fn)!==Ft)switch(a.tag){case z:{var s=a.stateNode.passiveEffectDuration,f=a.memoizedProps,p=f.id,y=f.onPostCommit,C=G4(),T=a.alternate===null?"mount":"update";W4()&&(T="nested-update"),typeof y=="function"&&y(p,T,s,C);var D=a.return;e:for(;D!==null;){switch(D.tag){case x:var U=D.stateNode;U.passiveEffectDuration+=s;break e;case z:var H=D.stateNode;H.passiveEffectDuration+=s;break e}D=D.return}break}}}function jU(r,a,s,f){if((s.flags&xd)!==Ft)switch(s.tag){case h:case F:case K:{if(!ii)if(s.mode&Wn)try{eu(),wf(Ta|_a,s)}finally{Jl(s)}else wf(Ta|_a,s);break}case v:{var p=s.stateNode;if(s.flags&fn&&!ii)if(a===null)if(s.type===s.elementType&&!bp&&(p.props!==s.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.",$t(s)||"instance"),p.state!==s.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.",$t(s)||"instance")),s.mode&Wn)try{eu(),p.componentDidMount()}finally{Jl(s)}else p.componentDidMount();else{var y=s.elementType===s.type?a.memoizedProps:pl(s.type,a.memoizedProps),C=a.memoizedState;if(s.type===s.elementType&&!bp&&(p.props!==s.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.",$t(s)||"instance"),p.state!==s.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.",$t(s)||"instance")),s.mode&Wn)try{eu(),p.componentDidUpdate(y,C,p.__reactInternalSnapshotBeforeUpdate)}finally{Jl(s)}else p.componentDidUpdate(y,C,p.__reactInternalSnapshotBeforeUpdate)}var T=s.updateQueue;T!==null&&(s.type===s.elementType&&!bp&&(p.props!==s.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.",$t(s)||"instance"),p.state!==s.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.",$t(s)||"instance")),i4(s,T,p));break}case x:{var D=s.updateQueue;if(D!==null){var U=null;if(s.child!==null)switch(s.child.tag){case N:U=s.child.stateNode;break;case v:U=s.child.stateNode;break}i4(s,D,U)}break}case N:{var H=s.stateNode;if(a===null&&s.flags&fn){var ee=s.type,J=s.memoizedProps;oE(H,ee,J)}break}case R:break;case w:break;case z:{{var ve=s.memoizedProps,ge=ve.onCommit,_e=ve.onRender,pt=s.stateNode.effectDuration,Rt=G4(),xt=a===null?"mount":"update";W4()&&(xt="nested-update"),typeof _e=="function"&&_e(s.memoizedProps.id,xt,s.actualDuration,s.treeBaseDuration,s.actualStartTime,Rt);{typeof ge=="function"&&ge(s.memoizedProps.id,xt,pt,Rt),B$(s);var In=s.return;e:for(;In!==null;){switch(In.tag){case x:var En=In.stateNode;En.effectDuration+=pt;break e;case z:var ce=In.stateNode;ce.effectDuration+=pt;break e}In=In.return}}}break}case $:{XU(r,s);break}case Se:case me:case qe:case ae:case ue:case de: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.")}ii||s.flags&$a&&E3(s)}function VU(r){switch(r.tag){case h:case F:case K:{if(r.mode&Wn)try{eu(),C3(r,r.return)}finally{Jl(r)}else C3(r,r.return);break}case v:{var a=r.stateNode;typeof a.componentDidMount=="function"&&LU(r,r.ret
2022-09-25 20:24:31 +00:00
Error message:
%s`,s)}function H$(r,a,s){var f=r.pingCache;f!==null&&f.delete(a);var p=Ki();Fd(r,s),J$(r),qi===r&&$u(Oa,s)&&(Da===S0||Da===KS&&ng(Oa)&&Or()-AT<z3?Cp(r,Fe):ZS=dn(ZS,s)),yo(r,p)}function J3(r,a){a===Qr&&(a=N$(r));var s=Ki(),f=ho(r,a);f!==null&&(ju(f,a,s),yo(f,s))}function W$(r){var a=r.memoizedState,s=Qr;a!==null&&(s=a.retryLane),J3(r,s)}function G$(r,a){var s=Qr,f;switch(r.tag){case $:f=r.stateNode;var p=r.memoizedState;p!==null&&(s=p.retryLane);break;case Se: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),J3(r,s)}function Y$(r){return r<120?120:r<480?480:r<1080?1080:r<1920?1920:r<3e3?3e3:r<4320?4320:S$(r/1960)*1960}function q$(){if(_0>C$)throw _0=0,PT=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.");Eh>w$&&(Eh=0,ex=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 K$(){dl.flushLegacyContextWarning(),dl.flushPendingUnsafeLifecycleWarnings()}function eD(r,a){or(r),ix(r,Zr,m$),a&&ix(r,ym,h$),ix(r,Zr,d$),a&&ix(r,ym,p$),_r()}function ix(r,a,s){for(var f=r,p=null;f!==null;){var y=f.subtreeFlags&a;f!==p&&f.child!==null&&y!==Ft?f=f.child:((f.flags&a)!==Ft&&s(f),f.sibling!==null?f=f.sibling:f=p=f.return)}}var ox=null;function tD(r){{if((Mn&li)!==ka||!(r.mode&wn))return;var a=r.tag;if(a!==b&&a!==x&&a!==v&&a!==h&&a!==F&&a!==q&&a!==K)return;var s=$t(r)||"ReactComponent";if(ox!==null){if(ox.has(s))return;ox.add(s)}else ox=new Set([s]);var f=xr;try{or(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?or(r):_r()}}}var BT;{var X$=null;BT=function(r,a,s){var f=uD(X$,a);try{return m3(r,a,s)}catch(y){if(uB()||y!==null&&typeof y=="object"&&typeof y.then=="function")throw y;if(fS(),C4(),S3(r,a),uD(a,f),a.mode&Wn&&J_(a),jc(null,m3,null,r,a,s),L()){var p=zl();typeof p=="object"&&p!==null&&p._suppressLogging&&typeof y=="object"&&y!==null&&!y._suppressLogging&&(y._suppressLogging=!0)}throw y}}}var nD=!1,UT;UT=new Set;function Z$(r){if(Ui&&!HB())switch(r.tag){case h:case F:case K:{var a=Lr&&$t(Lr)||"Unknown",s=a;if(!UT.has(s)){UT.add(s);var f=$t(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:{nD||(u("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),nD=!0);break}}}function A0(r,a){if(Na){var s=r.memoizedUpdaters;s.forEach(function(f){Mm(r,f,a)})}}var $T={};function jT(r,a){{var s=Sl.current;return s!==null?(s.push(a),$T):ji(r,a)}}function rD(r){if(r!==$T)return tw(r)}function aD(){return Sl.current!==null}function Q$(r){{if(r.mode&wn){if(!I3())return}else if(!b$()||Mn!==ka||r.tag!==h&&r.tag!==F&&r.tag!==K)return;if(Sl.current===null){var a=xr;try{or(r),u(`An update to %s inside a test was not wrapped in act(...).
2022-09-25 20:24:31 +00:00
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`,$t(r))}finally{a?or(r):_r()}}}}function J$(r){r.tag!==hf&&I3()&&Sl.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 k0(r){$3=r}var Ms=null,_h=null,ej=function(r){Ms=r};function Th(r){{if(Ms===null)return r;var a=Ms(r);return a===void 0?r:a.current}}function VT(r){return Th(r)}function HT(r){{if(Ms===null)return r;var a=Ms(r);if(a===void 0){if(r!=null&&typeof r.render=="function"){var s=Th(r.render);if(r.render!==s){var f={$$typeof:nt,render:s};return r.displayName!==void 0&&(f.displayName=r.displayName),f}}return r}return a.current}}function iD(r,a){{if(Ms===null)return!1;var s=r.elementType,f=a.type,p=!1,y=typeof f=="object"&&f!==null?f.$$typeof:null;switch(r.tag){case v:{typeof f=="function"&&(p=!0);break}case h:{(typeof f=="function"||y===ln)&&(p=!0);break}case F:{(y===nt||y===ln)&&(p=!0);break}case q:case K:{(y===Bn||y===ln)&&(p=!0);break}default:return!1}if(p){var C=Ms(s);if(C!==void 0&&C===Ms(f))return!0}return!1}}function oD(r){{if(Ms===null||typeof WeakSet!="function")return;_h===null&&(_h=new WeakSet),_h.add(r)}}var tj=function(r,a){{if(Ms===null)return;var s=a.staleFamilies,f=a.updatedFamilies;oc(),ic(function(){WT(r.current,f,s)})}},nj=function(r,a){{if(r.context!==qo)return;oc(),ic(function(){O0(a,r,null,null)})}};function WT(r,a,s){{var f=r.alternate,p=r.child,y=r.sibling,C=r.tag,T=r.type,D=null;switch(C){case h:case K:case v:D=T;break;case F:D=T.render;break}if(Ms===null)throw new Error("Expected resolveFamily to be set during hot reload.");var U=!1,H=!1;if(D!==null){var ee=Ms(D);ee!==void 0&&(s.has(ee)?H=!0:a.has(ee)&&(C===v?H=!0:U=!0))}if(_h!==null&&(_h.has(r)||f!==null&&_h.has(f))&&(H=!0),H&&(r._debugNeedsRemount=!0),H||U){var J=ho(r,Gt);J!==null&&Pa(J,r,Gt,tr)}p!==null&&!H&&WT(p,a,s),y!==null&&WT(y,a,s)}}var rj=function(r,a){{var s=new Set,f=new Set(a.map(function(p){return p.current}));return GT(r.current,f,s),s}};function GT(r,a,s){{var f=r.child,p=r.sibling,y=r.tag,C=r.type,T=null;switch(y){case h:case K:case v:T=C;break;case F:T=C.render;break}var D=!1;T!==null&&a.has(T)&&(D=!0),D?aj(r,s):f!==null&&GT(f,a,s),p!==null&&GT(p,a,s)}}function aj(r,a){{var s=ij(r,a);if(s)return;for(var f=r;;){switch(f.tag){case N:a.add(f.stateNode);return;case w:a.add(f.stateNode.containerInfo);return;case x:a.add(f.stateNode.containerInfo);return}if(f.return===null)throw new Error("Expected to reach root first.");f=f.return}}}function ij(r,a){for(var s=r,f=!1;;){if(s.tag===N)f=!0,a.add(s.stateNode);else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===r)return f;for(;s.sibling===null;){if(s.return===null||s.return===r)return f;s=s.return}s.sibling.return=s.return,s=s.sibling}return!1}var YT;{YT=!1;try{var sD=Object.preventExtensions({})}catch{YT=!0}}function oj(r,a,s,f){this.tag=r,this.key=s,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=Ft,this.subtreeFlags=Ft,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,!YT&&typeof Object.preventExtensions=="function"&&Object.preventExtensions(this)}var Ko=function(r,a,s,f){return new oj(r,a,s,f)};function qT(r){var a=r.prototype;return!!(a&&a.isReactComponent)}function sj(r){return typeof r=="function"&&!qT(r)&&r.defaultProps===void 0}function lj(r){if(typeof r=="function")return qT(r)?v:h;if(r!=null){var a=r.$$typeof;if(a===nt)return F;if(a===Bn)return q}return b}function Np(r,a){var s=r.alternate;s===null?(s=Ko(r.tag,a,r.key,r.mode),s.elementType=r.elementType,s.type=r.type,s.stateNode=r.stateNode,s._debugSource=r._debugSource,s._debugOwner=r._debugOwner,s._debugHookTypes=
2022-09-25 20:24:31 +00:00
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)+"."+D))}}}var H=Ko(C,s,a,p);return H.elementType=r,H.type=T,H.lanes=y,H._debugOwner=f,H}function XT(r,a,s){var f=null;f=r._owner;var p=r.type,y=r.key,C=r.props,T=KT(p,y,C,f,a,s);return T._debugSource=r._source,T._debugOwner=r._owner,T}function Rf(r,a,s,f){var p=Ko(O,r,f,a);return p.lanes=s,p}function fj(r,a,s,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 p=Ko(z,r,f,a|Wn);return p.elementType=Ct,p.lanes=s,p.stateNode={effectDuration:0,passiveEffectDuration:0},p}function dj(r,a,s,f){var p=Ko($,r,f,a);return p.elementType=qt,p.lanes=s,p}function pj(r,a,s,f){var p=Ko(Se,r,f,a);return p.elementType=Vn,p.lanes=s,p}function lD(r,a,s,f){var p=Ko(ae,r,f,a);p.elementType=Po,p.lanes=s;var y={isHidden:!1};return p.stateNode=y,p}function ZT(r,a,s){var f=Ko(R,r,null,a);return f.lanes=s,f}function mj(){var r=Ko(N,null,null,Dt);return r.elementType="DELETED",r}function hj(r){var a=Ko(se,null,null,Dt);return a.stateNode=r,a}function QT(r,a,s){var f=r.children!==null?r.children:[],p=Ko(w,f,r.key,a);return p.lanes=s,p.stateNode={containerInfo:r.containerInfo,pendingChildren:null,implementation:r.implementation},p}function uD(r,a){return r===null&&(r=Ko(b,null,null,Dt)),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 vj(r,a,s,f,p){this.tag=a,this.containerInfo=r,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=Ug,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=Qr,this.eventTimes=Ld(Fe),this.expirationTimes=Ld(tr),this.pendingLanes=Fe,this.suspendedLanes=Fe,this.pingedLanes=Fe,this.expiredLanes=Fe,this.mutableReadLanes=Fe,this.finishedLanes=Fe,this.entangledLanes=Fe,this.entanglements=Ld(Fe),this.identifierPrefix=f,this.onRecoverableError=p,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0;{this.memoizedUpdaters=new Set;for(var y=this.pendingUpdatersLaneMap=[],C=0;C<Zv;C++)y.push(new Set)}switch(a){case rS:this._debugRootType=s?"hydrateRoot()":"createRoot()";break;case hf:this._debugRootType=s?"hydrate()":"render()";break}}function cD(r,a,s,f,p,y,C,T,D,U){var H=new vj(r,a,s,T,D),ee=cj(a,y);H.current=ee,ee.stateNode=H;{var J={element:f,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null};ee.memoizedState=J}return o_(ee),H}var JT="18.2.0";function gj(r,a,s){var f=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;return $n(f),{$$typeof:X,key:f==null?null:""+f,children:r,containerInfo:a,implementation:s}}var eR,tR;eR=!1,tR={};function fD(r){if(!r)return qo;var a=el(r),s=eB(a);if(a.tag===v){var f=a.type;if(Kl(f))return FO(a,f,s)}return s}function yj(r,a){{var s=el(r);if(s===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 p=kb(s);if(p===null)return null;if(p.mode&Ir){var y=$t(s)||"Component";if(!tR[y]){tR[y]=!0;var C=xr;try{or(p),s.mode&Ir?u("%s is deprecated in StrictMode. %s was passed an instance of %s which is ins
2022-09-25 20:24:31 +00:00
Check the render method of %s.`,$t(xr)||"Unknown"));var D=tc(y,C);D.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),D.callback=f);var U=yf(p,D,C);return U!==null&&(Pa(U,p,C,y),vS(U,p,C)),C}function sx(r){var a=r.current;if(!a.child)return null;switch(a.child.tag){case N:return a.child.stateNode;default:return a.child.stateNode}}function bj(r){switch(r.tag){case x:{var a=r.stateNode;if(ua(a)){var s=dw(a);A$(a,s)}break}case $:{ic(function(){var p=ho(r,Gt);if(p!==null){var y=Ki();Pa(p,r,Gt,y)}});var f=Gt;nR(r,f);break}}}function mD(r,a){var s=r.memoizedState;s!==null&&s.dehydrated!==null&&(s.retryLane=sl(s.retryLane,a))}function nR(r,a){mD(r,a);var s=r.alternate;s&&mD(s,a)}function Sj(r){if(r.tag===$){var a=Zc,s=ho(r,a);if(s!==null){var f=Ki();Pa(s,r,a,f)}nR(r,a)}}function xj(r){if(r.tag===$){var a=_f(r),s=ho(r,a);if(s!==null){var f=Ki();Pa(s,r,a,f)}nR(r,a)}}function hD(r){var a=Bv(r);return a===null?null:a.stateNode}var vD=function(r){return null};function Cj(r){return vD(r)}var gD=function(r){return!1};function wj(r){return gD(r)}var yD=null,bD=null,SD=null,xD=null,CD=null,wD=null,ND=null,ED=null,_D=null;{var TD=function(r,a,s){var f=a[s],p=Bt(r)?r.slice():Jt({},r);return s+1===a.length?(Bt(p)?p.splice(f,1):delete p[f],p):(p[f]=TD(r[f],a,s+1),p)},RD=function(r,a){return TD(r,a,0)},AD=function(r,a,s,f){var p=a[f],y=Bt(r)?r.slice():Jt({},r);if(f+1===a.length){var C=s[f];y[C]=y[p],Bt(y)?y.splice(p,1):delete y[p]}else y[p]=AD(r[p],a,s,f+1);return y},kD=function(r,a,s){if(a.length!==s.length){c("copyWithRename() expects paths of the same length");return}else for(var f=0;f<s.length-1;f++)if(a[f]!==s[f]){c("copyWithRename() expects paths to be the same except for the deepest key");return}return AD(r,a,s,0)},OD=function(r,a,s,f){if(s>=a.length)return f;var p=a[s],y=Bt(r)?r.slice():Jt({},r);return y[p]=OD(r[p],a,s+1,f),y},DD=function(r,a,s){return OD(r,a,0,s)},rR=function(r,a){for(var s=r.memoizedState;s!==null&&a>0;)s=s.next,a--;return s};yD=function(r,a,s,f){var p=rR(r,a);if(p!==null){var y=DD(p.memoizedState,s,f);p.memoizedState=y,p.baseState=y,r.memoizedProps=Jt({},r.memoizedProps);var C=ho(r,Gt);C!==null&&Pa(C,r,Gt,tr)}},bD=function(r,a,s){var f=rR(r,a);if(f!==null){var p=RD(f.memoizedState,s);f.memoizedState=p,f.baseState=p,r.memoizedProps=Jt({},r.memoizedProps);var y=ho(r,Gt);y!==null&&Pa(y,r,Gt,tr)}},SD=function(r,a,s,f){var p=rR(r,a);if(p!==null){var y=kD(p.memoizedState,s,f);p.memoizedState=y,p.baseState=y,r.memoizedProps=Jt({},r.memoizedProps);var C=ho(r,Gt);C!==null&&Pa(C,r,Gt,tr)}},xD=function(r,a,s){r.pendingProps=DD(r.memoizedProps,a,s),r.alternate&&(r.alternate.pendingProps=r.pendingProps);var f=ho(r,Gt);f!==null&&Pa(f,r,Gt,tr)},CD=function(r,a){r.pendingProps=RD(r.memoizedProps,a),r.alternate&&(r.alternate.pendingProps=r.pendingProps);var s=ho(r,Gt);s!==null&&Pa(s,r,Gt,tr)},wD=function(r,a,s){r.pendingProps=kD(r.memoizedProps,a,s),r.alternate&&(r.alternate.pendingProps=r.pendingProps);var f=ho(r,Gt);f!==null&&Pa(f,r,Gt,tr)},ND=function(r){var a=ho(r,Gt);a!==null&&Pa(a,r,Gt,tr)},ED=function(r){vD=r},_D=function(r){gD=r}}function Nj(r){var a=kb(r);return a===null?null:a.stateNode}function Ej(r){return null}function _j(){return xr}function Tj(r){var a=r.findFiberByHostInstance,s=n.ReactCurrentDispatcher;return Pb({bundleType:r.bundleType,version:r.version,rendererPackageName:r.rendererPackageName,rendererConfig:r.rendererConfig,overrideHookState:yD,overrideHookStateDeletePath:bD,overrideHookStateRenamePath:SD,overrideProps:xD,overridePropsDeletePath:CD,overridePropsRenamePath:wD,setErrorHandler:ED,setSuspenseHandler:_D,scheduleUpdate:ND,currentDispatcherRef:s,findHostInstanceByFiber:Nj,findFiberByHostInstance:a||Ej,findHostInstancesForRefresh:rj,scheduleRefresh:tj,scheduleRoot:nj,setRefreshHandler:ej,getCurrentFiber:_j,reconcilerVersion:JT})}var PD=typeof reportError=="function"?reportError:function(r){console.error(r)};function aR(r){this._internalRoot=r}lx.prototype.render=aR.prototyp
2022-09-25 20:24:31 +00:00
let root = createRoot(domContainer);
root.render(<App />);`),a.unstable_strictMode===!0&&(s=!0),a.identifierPrefix!==void 0&&(p=a.identifierPrefix),a.onRecoverableError!==void 0&&(y=a.onRecoverableError),a.transitionCallbacks!==void 0&&a.transitionCallbacks);var C=dD(r,rS,null,s,f,p,y);oe(C.current,r);var T=r.nodeType===Hn?r.parentNode:r;return ep(T),new aR(C)}function lx(r){this._internalRoot=r}function Aj(r){r&&n1(r)}lx.prototype.unstable_scheduleHydration=Aj;function kj(r,a,s){if(!ux(r))throw new Error("hydrateRoot(...): Target container is not a DOM element.");MD(r),a===void 0&&u("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var f=s??null,p=s!=null&&s.hydratedSources||null,y=!1,C=!1,T="",D=PD;s!=null&&(s.unstable_strictMode===!0&&(y=!0),s.identifierPrefix!==void 0&&(T=s.identifierPrefix),s.onRecoverableError!==void 0&&(D=s.onRecoverableError));var U=pD(a,null,r,rS,f,y,C,T,D);if(oe(U.current,r),ep(r),p)for(var H=0;H<p.length;H++){var ee=p[H];zB(U,ee)}return new lx(U)}function ux(r){return!!(r&&(r.nodeType===Ni||r.nodeType===Vo||r.nodeType===Ru||!Me))}function D0(r){return!!(r&&(r.nodeType===Ni||r.nodeType===Vo||r.nodeType===Ru||r.nodeType===Hn&&r.nodeValue===" react-mount-point-unstable "))}function MD(r){r.nodeType===Ni&&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."),Ae(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 Oj=n.ReactCurrentOwner,ID;ID=function(r){if(r._reactRootContainer&&r.nodeType!==Hn){var a=hD(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 s=!!r._reactRootContainer,f=iR(r),p=!!(f&&Qe(f));p&&!s&&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===Ni&&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 iR(r){return r?r.nodeType===Vo?r.documentElement:r.firstChild:null}function LD(){}function Dj(r,a,s,f,p){if(p){if(typeof f=="function"){var y=f;f=function(){var J=sx(C);y.call(J)}}var C=pD(a,f,r,hf,null,!1,!1,"",LD);r._reactRootContainer=C,oe(C.current,r);var T=r.nodeType===Hn?r.parentNode:r;return ep(T),ic(),C}else{for(var D;D=r.lastChild;)r.removeChild(D);if(typeof f=="function"){var U=f;f=function(){var J=sx(H);U.call(J)}}var H=dD(r,hf,null,!1,!1,"",LD);r._reactRootContainer=H,oe(H.current,r);var ee=r.nodeType===Hn?r.parentNode:r;return ep(ee),ic(function(){O0(a,H,s,f)}),H}}function Pj(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 cx(r,a,s,f,p){ID(s),Pj(p===void 0?null:p,"render");var y=s._reactRootContainer,C;if(!y)C=Dj(s,a,r,p,f);else{if(C=y,typeof p=="function"){var T=p;p=function(){var D=sx(C);T.call(D)}}O0(a,C,r,p)}return sx(C)}function Mj(r){{var a=Oj.current;if(a!==null&&a.stateNode!==null){var s=a.stateNode._warnedAboutRefsInRender;s||u("%s is accessing findDOMNo
You might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq`:""),"font-weight:bold")}Qo.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oR,Qo.createPortal=Bj,Qo.createRoot=$j,Qo.findDOMNode=Mj,Qo.flushSync=Vj,Qo.hydrate=Ij,Qo.hydrateRoot=jj,Qo.render=Lj,Qo.unmountComponentAtNode=zj,Qo.unstable_batchedUpdates=LT,Qo.unstable_renderSubtreeIntoContainer=Uj,Qo.version=JT,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();(function(e){e.exports=Qo})(By);var sR=By.exports;{var fx=sR.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t5.createRoot=function(e,t){fx.usingClientEntryPoint=!0;try{return sR.createRoot(e,t)}finally{fx.usingClientEntryPoint=!1}},t5.hydrateRoot=function(e,t,n){fx.usingClientEntryPoint=!0;try{return sR.hydrateRoot(e,t,n)}finally{fx.usingClientEntryPoint=!1}}}var Sc=Boolean(globalThis?.document)?k.exports.useLayoutEffect:k.exports.useEffect,UA={exports:{}},n5={};/**
2022-09-25 20:24:31 +00:00
* @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=k.exports,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),c=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),m=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),R=Symbol.iterator,O="@@iterator";function M(X){if(X===null||typeof X!="object")return null;var Ue=R&&X[R]||X[O];return typeof Ue=="function"?Ue:null}var B=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function I(X){{for(var Ue=arguments.length,Ke=new Array(Ue>1?Ue-1:0),Ct=1;Ct<Ue;Ct++)Ke[Ct-1]=arguments[Ct];F("error",X,Ke)}}function F(X,Ue,Ke){{var Ct=B.ReactDebugCurrentFrame,on=Ct.getStackAddendum();on!==""&&(Ue+="%s",Ke=Ke.concat([on]));var Cn=Ke.map(function(nt){return String(nt)});Cn.unshift("Warning: "+Ue),Function.prototype.apply.call(console[X],console,Cn)}}var z=!1,$=!1,q=!1,K=!1,le=!1,me;me=Symbol.for("react.module.reference");function se(X){return!!(typeof X=="string"||typeof X=="function"||X===i||X===c||le||X===o||X===v||X===b||K||X===N||z||$||q||typeof X=="object"&&X!==null&&(X.$$typeof===w||X.$$typeof===x||X.$$typeof===u||X.$$typeof===m||X.$$typeof===h||X.$$typeof===me||X.getModuleId!==void 0))}function Se(X,Ue,Ke){var Ct=X.displayName;if(Ct)return Ct;var on=Ue.displayName||Ue.name||"";return on!==""?Ke+"("+on+")":Ke}function qe(X){return X.displayName||"Context"}function ae(X){if(X==null)return null;if(typeof X.tag=="number"&&I("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 c:return"Profiler";case o:return"StrictMode";case v:return"Suspense";case b:return"SuspenseList"}if(typeof X=="object")switch(X.$$typeof){case m:var Ue=X;return qe(Ue)+".Consumer";case u:var Ke=X;return qe(Ke._context)+".Provider";case h:return Se(X,X.render,"ForwardRef");case x:var Ct=X.displayName||null;return Ct!==null?Ct:ae(X.type)||"Memo";case w:{var on=X,Cn=on._payload,nt=on._init;try{return ae(nt(Cn))}catch{return null}}}return null}var ue=Object.assign,Ee=0,de,ie,xe,Ne,he,Ce,Me;function Ie(){}Ie.__reactDisabledLog=!0;function Ye(){{if(Ee===0){de=console.log,ie=console.info,xe=console.warn,Ne=console.error,he=console.group,Ce=console.groupCollapsed,Me=console.groupEnd;var X={configurable:!0,enumerable:!0,value:Ie,writable:!0};Object.defineProperties(console,{info:X,log:X,warn:X,error:X,group:X,groupCollapsed:X,groupEnd:X})}Ee++}}function at(){{if(Ee--,Ee===0){var X={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ue({},X,{value:de}),info:ue({},X,{value:ie}),warn:ue({},X,{value:xe}),error:ue({},X,{value:Ne}),group:ue({},X,{value:he}),groupCollapsed:ue({},X,{value:Ce}),groupEnd:ue({},X,{value:Me})})}Ee<0&&I("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var gt=B.ReactCurrentDispatcher,Ht;function Ze(X,Ue,Ke){{if(Ht===void 0)try{throw Error()}catch(on){var Ct=on.stack.trim().match(/\n( *(at )?)/);Ht=Ct&&Ct[1]||""}return`
`+Ht+X}}var ct=!1,wt;{var zt=typeof WeakMap=="function"?WeakMap:Map;wt=new zt}function Ge(X,Ue){if(!X||ct)return"";{var Ke=wt.get(X);if(Ke!==void 0)return Ke}var Ct;ct=!0;var on=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Cn;Cn=gt.current,gt.current=null,Ye();try{if(Ue){var nt=function(){throw Error()};if(Object.defineProperty(nt.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(nt,[])}catch(ya){Ct=ya}Reflect.construct(X,[],nt)}else{try{nt.call()}catch(ya){Ct=ya}X.call(nt.prototype)}}else{try{throw Error()}catch(ya){Ct=ya}X()}}catch(ya){if(ya&&Ct&&typeof ya.stack=="string"){for(var qt=ya.stack.split(`
2022-09-25 20:24:31 +00:00
`),Vn=Ct.stack.split(`
`),Bn=qt.length-1,ln=Vn.length-1;Bn>=1&&ln>=0&&qt[Bn]!==Vn[ln];)ln--;for(;Bn>=1&&ln>=0;Bn--,ln--)if(qt[Bn]!==Vn[ln]){if(Bn!==1||ln!==1)do if(Bn--,ln--,ln<0||qt[Bn]!==Vn[ln]){var Ur=`
`+qt[Bn].replace(" at new "," at ");return X.displayName&&Ur.includes("<anonymous>")&&(Ur=Ur.replace("<anonymous>",X.displayName)),typeof X=="function"&&wt.set(X,Ur),Ur}while(Bn>=1&&ln>=0);break}}}finally{ct=!1,gt.current=Cn,at(),Error.prepareStackTrace=on}var vi=X?X.displayName||X.name:"",Po=vi?Ze(vi):"";return typeof X=="function"&&wt.set(X,Po),Po}function Wt(X,Ue,Ke){return Ge(X,!1)}function ye(X){var Ue=X.prototype;return!!(Ue&&Ue.isReactComponent)}function et(X,Ue,Ke){if(X==null)return"";if(typeof X=="function")return Ge(X,ye(X));if(typeof X=="string")return Ze(X);switch(X){case v:return Ze("Suspense");case b:return Ze("SuspenseList")}if(typeof X=="object")switch(X.$$typeof){case h:return Wt(X.render);case x:return et(X.type,Ue,Ke);case w:{var Ct=X,on=Ct._payload,Cn=Ct._init;try{return et(Cn(on),Ue,Ke)}catch{}}}return""}var Nt=Object.prototype.hasOwnProperty,lt={},xn=B.ReactDebugCurrentFrame;function $n(X){if(X){var Ue=X._owner,Ke=et(X.type,X._source,Ue?Ue.type:null);xn.setExtraStackFrame(Ke)}else xn.setExtraStackFrame(null)}function Lt(X,Ue,Ke,Ct,on){{var Cn=Function.call.bind(Nt);for(var nt in X)if(Cn(X,nt)){var qt=void 0;try{if(typeof X[nt]!="function"){var Vn=Error((Ct||"React class")+": "+Ke+" type `"+nt+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof X[nt]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Vn.name="Invariant Violation",Vn}qt=X[nt](Ue,nt,Ct,Ke,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(Bn){qt=Bn}qt&&!(qt instanceof Error)&&($n(on),I("%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).",Ct||"React class",Ke,nt,typeof qt),$n(null)),qt instanceof Error&&!(qt.message in lt)&&(lt[qt.message]=!0,$n(on),I("Failed %s type: %s",Ke,qt.message),$n(null))}}}var an=Array.isArray;function On(X){return an(X)}function gn(X){{var Ue=typeof Symbol=="function"&&Symbol.toStringTag,Ke=Ue&&X[Symbol.toStringTag]||X.constructor.name||"Object";return Ke}}function He(X){try{return Je(X),!1}catch{return!0}}function Je(X){return""+X}function tn(X){if(He(X))return I("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",gn(X)),Je(X)}var kt=B.ReactCurrentOwner,Oe={key:!0,ref:!0,__self:!0,__source:!0},Yt,_n,je;je={};function it(X){if(Nt.call(X,"ref")){var Ue=Object.getOwnPropertyDescriptor(X,"ref").get;if(Ue&&Ue.isReactWarning)return!1}return X.ref!==void 0}function _t(X){if(Nt.call(X,"key")){var Ue=Object.getOwnPropertyDescriptor(X,"key").get;if(Ue&&Ue.isReactWarning)return!1}return X.key!==void 0}function hn(X,Ue){if(typeof X.ref=="string"&&kt.current&&Ue&&kt.current.stateNode!==Ue){var Ke=ae(kt.current.type);je[Ke]||(I('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',ae(kt.current.type),X.ref),je[Ke]=!0)}}function Qt(X,Ue){{var Ke=function(){Yt||(Yt=!0,I("%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))};Ke.isReactWarning=!0,Object.defineProperty(X,"key",{get:Ke,configurable:!0})}}function Tn(X,Ue){{var Ke=function(){_n||(_n=!0,I("%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))};Ke.isReactWarning=!0,Object.defineProperty(X,"ref",{get:Ke,configurable:
2022-09-25 20:24:31 +00:00
Check the render method of \``+X+"`."}return""}}function ko(X){{if(X!==void 0){var Ue=X.fileName.replace(/^.*[\\\/]/,""),Ke=X.lineNumber;return`
Check your code at `+Ue+":"+Ke+"."}return""}}var as={};function is(X){{var Ue=Sr();if(!Ue){var Ke=typeof X=="string"?X:X.displayName||X.name;Ke&&(Ue=`
Check the top-level render call using <`+Ke+">.")}return Ue}}function Oo(X,Ue){{if(!X._store||X._store.validated||X.key!=null)return;X._store.validated=!0;var Ke=is(Ue);if(as[Ke])return;as[Ke]=!0;var Ct="";X&&X._owner&&X._owner!==Dn.current&&(Ct=" It was passed a child from "+ae(X._owner.type)+"."),jn(X),I('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Ke,Ct),jn(null)}}function Do(X,Ue){{if(typeof X!="object")return;if(On(X))for(var Ke=0;Ke<X.length;Ke++){var Ct=X[Ke];ga(Ct)&&Oo(Ct,Ue)}else if(ga(X))X._store&&(X._store.validated=!0);else if(X){var on=M(X);if(typeof on=="function"&&on!==X.entries)for(var Cn=on.call(X),nt;!(nt=Cn.next()).done;)ga(nt.value)&&Oo(nt.value,Ue)}}}function vr(X){{var Ue=X.type;if(Ue==null||typeof Ue=="string")return;var Ke;if(typeof Ue=="function")Ke=Ue.propTypes;else if(typeof Ue=="object"&&(Ue.$$typeof===h||Ue.$$typeof===x))Ke=Ue.propTypes;else return;if(Ke){var Ct=ae(Ue);Lt(Ke,X.props,"prop",Ct,X)}else if(Ue.PropTypes!==void 0&&!Rn){Rn=!0;var on=ae(Ue);I("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",on||"Unknown")}typeof Ue.getDefaultProps=="function"&&!Ue.getDefaultProps.isReactClassApproved&&I("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Ia(X){{for(var Ue=Object.keys(X.props),Ke=0;Ke<Ue.length;Ke++){var Ct=Ue[Ke];if(Ct!=="children"&&Ct!=="key"){jn(X),I("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Ct),jn(null);break}}X.ref!==null&&(jn(X),I("Invalid attribute `ref` supplied to `React.Fragment`."),jn(null))}}function Fi(X,Ue,Ke,Ct,on,Cn){{var nt=se(X);if(!nt){var qt="";(X===void 0||typeof X=="object"&&X!==null&&Object.keys(X).length===0)&&(qt+=" 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=ko(on);Vn?qt+=Vn:qt+=Sr();var Bn;X===null?Bn="null":On(X)?Bn="array":X!==void 0&&X.$$typeof===t?(Bn="<"+(ae(X.type)||"Unknown")+" />",qt=" Did you accidentally export a JSX literal instead of a component?"):Bn=typeof X,I("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",Bn,qt)}var ln=kr(X,Ue,Ke,on,Cn);if(ln==null)return ln;if(nt){var Ur=Ue.children;if(Ur!==void 0)if(Ct)if(On(Ur)){for(var vi=0;vi<Ur.length;vi++)Do(Ur[vi],X);Object.freeze&&Object.freeze(Ur)}else I("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 Do(Ur,X)}return X===i?Ia(ln):vr(ln),ln}}var La=Fi;n5.Fragment=i,n5.jsxDEV=La})();(function(e){e.exports=n5})(UA);const hi=UA.exports.Fragment,_=UA.exports.jsxDEV;var QI="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/color-mode/dist/index.esm.js",$A=k.exports.createContext({});$A.displayName="ColorModeContext";function Q2(){const e=k.exports.useContext($A);if(e===void 0)throw new Error("useColorMode must be used within a ColorModeProvider");return e}function Yf(e,t){const{colorMode:n}=Q2();return n==="dark"?t:e}var dx={light:"chakra-ui-light",dark:"chakra-ui-dark"};function Kj(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?dx.dark:dx.light),document.body.classList.remove(i?dx.light:dx.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(),c=u=>{i(u.matches?"dark":"light")};return typeof o.addListener=="function"?o.addListener(c):o.addEventListener("change",c),()=>{typeof o.removeListener=="function"?o.removeListener(c):o.removeEventListener("change",c)}},preventTransition(){const i=document.createElemen
2022-09-25 20:24:31 +00:00
`,m=`(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`!${c?u:m}`.trim()}function nV(e={}){return _("script",{id:"chakra-script",dangerouslySetInnerHTML:{__html:tV(e)}},void 0,!1,{fileName:QI,lineNumber:244,columnNumber:26},this)}var r5={exports:{}};(function(e,t){var n=200,i="__lodash_hash_undefined__",o=800,c=16,u=9007199254740991,m="[object Arguments]",h="[object Array]",v="[object AsyncFunction]",b="[object Boolean]",x="[object Date]",w="[object Error]",N="[object Function]",R="[object GeneratorFunction]",O="[object Map]",M="[object Number]",B="[object Null]",I="[object Object]",F="[object Proxy]",z="[object RegExp]",$="[object Set]",q="[object String]",K="[object Undefined]",le="[object WeakMap]",me="[object ArrayBuffer]",se="[object DataView]",Se="[object Float32Array]",qe="[object Float64Array]",ae="[object Int8Array]",ue="[object Int16Array]",Ee="[object Int32Array]",de="[object Uint8Array]",ie="[object Uint8ClampedArray]",xe="[object Uint16Array]",Ne="[object Uint32Array]",he=/[\\^$.*+?()[\]{}|]/g,Ce=/^\[object .+?Constructor\]$/,Me=/^(?:0|[1-9]\d*)$/,Ie={};Ie[Se]=Ie[qe]=Ie[ae]=Ie[ue]=Ie[Ee]=Ie[de]=Ie[ie]=Ie[xe]=Ie[Ne]=!0,Ie[m]=Ie[h]=Ie[me]=Ie[b]=Ie[se]=Ie[x]=Ie[w]=Ie[N]=Ie[O]=Ie[M]=Ie[I]=Ie[z]=Ie[$]=Ie[q]=Ie[le]=!1;var Ye=typeof vc=="object"&&vc&&vc.Object===Object&&vc,at=typeof self=="object"&&self&&self.Object===Object&&self,gt=Ye||at||Function("return this")(),Ht=t&&!t.nodeType&&t,Ze=Ht&&!0&&e&&!e.nodeType&&e,ct=Ze&&Ze.exports===Ht,wt=ct&&Ye.process,zt=function(){try{var W=Ze&&Ze.require&&Ze.require("util").types;return W||wt&&wt.binding&&wt.binding("util")}catch{}}(),Ge=zt&&zt.isTypedArray;function Wt(W,Q,pe){switch(pe.length){case 0:return W.call(Q);case 1:return W.call(Q,pe[0]);case 2:return W.call(Q,pe[0],pe[1]);case 3:return W.call(Q,pe[0],pe[1],pe[2])}return W.apply(Q,pe)}function ye(W,Q){for(var pe=-1,ot=Array(W);++pe<W;)ot[pe]=Q(pe);return ot}function et(W){return function(Q){return W(Q)}}function Nt(W,Q){return W?.[Q]}function lt(W,Q){return function(pe){return W(Q(pe))}}var xn=Array.prototype,$n=Function.prototype,Lt=Object.prototype,an=gt["__core-js_shared__"],On=$n.toString,gn=Lt.hasOwnProperty,He=function(){var W=/[^.]+$/.exec(an&&an.keys&&an.keys.IE_PROTO||"");return W?"Symbol(src)_1."+W:""}(),Je=Lt.toString,tn=On.call(Object),kt=RegExp("^"+On.call(gn).replace(he,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Oe=ct?gt.Buffer:void 0,Yt=gt.Symbol,_n=gt.Uint8Array,je=Oe?Oe.allocUnsafe:void 0,it=lt(Object.getPrototypeOf,Object),_t=Object.create,hn=Lt.propertyIsEnumerable,Qt=xn.splice,Tn=Yt?Yt.toStringTag:void 0,Ln=function(){try{var W=za(Object,"defineProperty");return W({},"",{}),W}catch{}}(),kr=Oe?Oe.isBuffer:void 0,Dn=Math.max,va=Date.now,jn=za(gt,"Map"),Rn=za(Object,"create"),ga=function(){function W(){}return function(Q){if(!pr(Q))return{};if(_t)return _t(Q);W.prototype=Q;var pe=new W;return W.prototype=void 0,pe}}();function Sr(W){var Q=-1,pe=W==null?0:W.length;for(this.clear();++Q<pe;){var ot=W[Q];this.set(ot[0],ot[1])}}function ko(){this.__data__=Rn?Rn(null):{},this.size=0}function as(W){var Q=this.has(W)&&delete this.__data__[W];return this.size-=Q?1:0,Q}function is(W){var Q=this.__data__;if(Rn){var pe=Q[W];return pe===i?void 0:pe}return gn.call(Q,W)?Q[W]:void 0}function Oo(W){var Q=this.__data__;return Rn?Q[W]!==void 0:gn.call(Q,W)}function Do(W,Q){var pe=this.__data__;return this.size+=this.has(W)?0:1,pe[W]=Rn&&Q===void 0?i:Q,this}Sr.prototype.clear=ko,Sr.prototype.delete=as,Sr.prototype.get=is,Sr.prototype.has=Oo,Sr.prototype.set=Do;function vr(W){var Q=-1,pe=W==null?0:W.length;for(this.clear();++Q<pe;){var ot=W[Q];this.set(ot[0],ot[1])}}function Ia(){this.__data__=[],this.size=0}function Fi(W){var Q=this.__data__,pe=gi(Q,W);if(pe<0)return!1;var ot=Q.length-1;return pe==ot?Q.pop():Qt.call(Q,pe,1),--this.size,!0}function La(W){var Q=this.__data__,pe=gi(Q,W);return pe<0?void 0:Q[pe][1]}function X(W){return gi(this.__data__,W)>-1}function Ue(W,Q){var pe=this.__data__,ot=gi(pe,W);return ot<0?(++this.size,pe.push([W,Q])):pe[ot][1]=Q,this}vr.prototype.clear=Ia,vr.prototype.delete=Fi,vr.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||!c}if(this.isSpeedy){var u=bH(o);try{u.insertRule(i,u.cssRules.length)}catch(m){/:(-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+'"',m)}}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}(),Ii="-ms-",d2="-moz-",ar="-webkit-",HA="comm",WA="rule",GA="decl",CH="@import",uL="@keyframes",wH=Math.abs,tC=String.fromCharCode,NH=Object.assign;function EH(e,t){return(((t<<2^Co(e,0))<<2^Co(e,1))<<2^Co(e,2))<<2^Co(e,3)}function cL(e){return e.trim()}function _H(e,t){return(e=t.exec(e))?e[0]:e}function ur(e,t,n){return e.replace(t,n)}function c5(e,t){return e.indexOf(t)}function Co(e,t){return e.charCodeAt(t)|0}function py(e,t,n){return e.slice(t,n)}function uu(e){return e.length}function YA(e){return e.length}function mx(e,t){return t.push(e),e}function TH(e,t){return e.map(t).join("")}var nC=1,av=1,fL=0,To=0,da=0,mv="";function rC(e,t,n,i,o,c,u){return{value:e,root:t,parent:n,type:i,props:o,children:c,line:nC,column:av,length:u,return:""}}function M0(e,t){return NH(rC("",null,null,"",null,null,0),e,{length:-e.length},t)}function RH(){return da}function AH(){return da=To>0?Co(mv,--To):0,av--,da===10&&(av=1,nC--),da}function es(){return da=To<fL?Co(mv,To++):0,av++,da===10&&(av=1,nC++),da}function mu(){return Co(mv,To)}function Hx(){return To}function Uy(e,t){return py(mv,e,t)}function my(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 dL(e){return nC=av=1,fL=uu(mv=e),To=0,[]}function pL(e){return mv="",e}function Wx(e){return cL(Uy(To-1,f5(e===91?e+2:e===40?e+1:e)))}function kH(e){for(;(da=mu())&&da<33;)es();return my(e)>2||my(da)>3?"":" "}function OH(e,t){for(;--t&&es()&&!(da<48||da>102||da>57&&da<65||da>70&&da<97););return Uy(e,Hx()+(t<6&&mu()==32&&es()==32))}function f5(e){for(;es();)switch(da){case e:return To;case 34:case 39:e!==34&&e!==39&&f5(da);break;case 40:e===41&&f5(e);break;case 92:es();break}return To}function DH(e,t){for(;es()&&e+da!==47+10;)if(e+da===42+42&&mu()===47)break;return"/*"+Uy(t,To-1)+"*"+tC(e===47?e:es())}function PH(e){for(;!my(mu());)es();return Uy(e,To)}function MH(e){return pL(Gx("",null,null,null,[""],e=dL(e),0,[0],e))}function Gx(e,t,n,i,o,c,u,m,h){for(var v=0,b=0,x=u,w=0,N=0,R=0,O=1,M=1,B=1,I=0,F="",z=o,$=c,q=i,K=F;M;)switch(R=I,I=es()){case 40:if(R!=108&&K.charCodeAt(x-1)==58){c5(K+=ur(Wx(I),"&","&\f"),"&\f")!=-1&&(B=-1);break}case 34:case 39:case 91:K+=Wx(I);break;case 9:case 10:case 13:case 32:K+=kH(R);break;case 92:K+=OH(Hx()-1,7);continue;case 47:switch(mu()){case 42:case 47:mx(IH(DH(es(),Hx()),t,n),h);break;default:K+="/"}break;case 123*O:m[v++]=uu(K)*B;case 125*O:case 59:case 0:switch(I){case 0:case 125:M=0;case 59+b:N>0&&uu(K)-x&&mx(N>32?XD(K+";",i,n,x-1):XD(ur(K," ","")+";",i,n,x-2),h);break;case 59:K+=";";default:if(mx(q=KD(K,t,n,v,b,o,m,F,z=[],$=[],x),c),I===123)if(b===0)Gx(K,t,q,q,z,c,x,m,$);else switch(w){case 100:case 109:case 115:Gx(e,q,q,i&&mx(KD(e,q,q,0,0,o,m,F,o,z=[],x),$),o,$,x,m,i?z:$);break;default:Gx(K,q,q,q,[""],$,0,m,$)}}v=b=N=0,O=B=1,F=K="",x=u;break;case 58:x=1+uu(K),N=R;default:if(O<1){if(I==123)--O;else if(I==125&&O++==0&&AH()==125)continue}switch(K+=tC(I),I*O){case 38:B=b>0?1:(K+="\f",-1);break;case 44:m[v++]=(uu(K)-1)*B,B=1;break;case 64:mu()===45&&(K+=Wx(es())),w=mu(),b=x=uu(F=K+=PH(Hx())),I++;break;case 45:R===45&&uu(K)==2&&(O=0)}}return c}function KD(e,t,n,i,o,c,u,m,h,v,b){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(O){var M=O.getAttribute("data-emotion");M.indexOf(" ")!==-1&&(document.head.appendChild(O),O.setAttribute("data-s",""))})}var o=t.stylisPlugins||KH;if(/[^a-z-]/.test(n))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+n+'" was passed');var c={},u,m=[];u=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(O){for(var M=O.getAttribute("data-emotion").split(" "),B=1;B<M.length;B++)c[M[B]]=!0;m.push(O)});var h,v=[jH,VH];v.push(GH({get compat(){return R.compat}}),qH);{var b,x=[LH,function(O){O.root||(O.return?b.insert(O.return):O.value&&O.type!==HA&&b.insert(O.value+"{}"))}],w=FH(v.concat(o,x)),N=function(M){return Kh(MH(M),w)};h=function(M,B,I,F){b=I,B.map!==void 0&&(b={insert:function($){I.insert($+B.map)}}),N(M?M+"{"+B.styles+"}":B.styles),F&&(R.inserted[B.name]=!0)}}var R={key:n,sheet:new xH({key:n,container:u,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:c,registered:{},insert:h};return R.sheet.hydrate(m),R};function hy(){return hy=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},hy.apply(this,arguments)}var aC={exports:{}},cr={};/** @license React v16.13.1
2022-09-25 20:24:31 +00:00
* 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,c=e?Symbol.for("react.profiler"):60114,u=e?Symbol.for("react.provider"):60109,m=e?Symbol.for("react.context"):60110,h=e?Symbol.for("react.async_mode"):60111,v=e?Symbol.for("react.concurrent_mode"):60111,b=e?Symbol.for("react.forward_ref"):60112,x=e?Symbol.for("react.suspense"):60113,w=e?Symbol.for("react.suspense_list"):60120,N=e?Symbol.for("react.memo"):60115,R=e?Symbol.for("react.lazy"):60116,O=e?Symbol.for("react.block"):60121,M=e?Symbol.for("react.fundamental"):60117,B=e?Symbol.for("react.responder"):60118,I=e?Symbol.for("react.scope"):60119;function F(Ge){return typeof Ge=="string"||typeof Ge=="function"||Ge===i||Ge===v||Ge===c||Ge===o||Ge===x||Ge===w||typeof Ge=="object"&&Ge!==null&&(Ge.$$typeof===R||Ge.$$typeof===N||Ge.$$typeof===u||Ge.$$typeof===m||Ge.$$typeof===b||Ge.$$typeof===M||Ge.$$typeof===B||Ge.$$typeof===I||Ge.$$typeof===O)}function z(Ge){if(typeof Ge=="object"&&Ge!==null){var Wt=Ge.$$typeof;switch(Wt){case t:var ye=Ge.type;switch(ye){case h:case v:case i:case c:case o:case x:return ye;default:var et=ye&&ye.$$typeof;switch(et){case m:case b:case R:case N:case u:return et;default:return Wt}}case n:return Wt}}}var $=h,q=v,K=m,le=u,me=t,se=b,Se=i,qe=R,ae=N,ue=n,Ee=c,de=o,ie=x,xe=!1;function Ne(Ge){return xe||(xe=!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.")),he(Ge)||z(Ge)===h}function he(Ge){return z(Ge)===v}function Ce(Ge){return z(Ge)===m}function Me(Ge){return z(Ge)===u}function Ie(Ge){return typeof Ge=="object"&&Ge!==null&&Ge.$$typeof===t}function Ye(Ge){return z(Ge)===b}function at(Ge){return z(Ge)===i}function gt(Ge){return z(Ge)===R}function Ht(Ge){return z(Ge)===N}function Ze(Ge){return z(Ge)===n}function ct(Ge){return z(Ge)===c}function wt(Ge){return z(Ge)===o}function zt(Ge){return z(Ge)===x}cr.AsyncMode=$,cr.ConcurrentMode=q,cr.ContextConsumer=K,cr.ContextProvider=le,cr.Element=me,cr.ForwardRef=se,cr.Fragment=Se,cr.Lazy=qe,cr.Memo=ae,cr.Portal=ue,cr.Profiler=Ee,cr.StrictMode=de,cr.Suspense=ie,cr.isAsyncMode=Ne,cr.isConcurrentMode=he,cr.isContextConsumer=Ce,cr.isContextProvider=Me,cr.isElement=Ie,cr.isForwardRef=Ye,cr.isFragment=at,cr.isLazy=gt,cr.isMemo=Ht,cr.isPortal=Ze,cr.isProfiler=ct,cr.isStrictMode=wt,cr.isSuspense=zt,cr.isValidElementType=F,cr.typeOf=z})();(function(e){e.exports=cr})(aC);var gL=aC.exports,ZH={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},QH={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},yL={};yL[gL.ForwardRef]=ZH;yL[gL.Memo]=QH;var JH=!0;function qA(e,t,n){var i="";return n.split(" ").forEach(function(o){e[o]!==void 0?t.push(e[o]+";"):i+=o+" "}),i}var iC=function(t,n,i){var o=t.key+"-"+n.name;(i===!1||JH===!1)&&t.registered[o]===void 0&&(t.registered[o]=n.styles)},oC=function(t,n,i){iC(t,n,i);var o=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var c=n;do t.insert(n===c?"."+o:"",c,t.sheet,!0),c=c.next;while(c!==void 0)}};function eW(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 tW={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,gridColumnEn
2022-09-25 20:24:31 +00:00
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`,nW="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",rW=/[A-Z]|^ms/g,bL=/_EMO_([^_]+?)_([^]*?)_EMO_/g,KA=function(t){return t.charCodeAt(1)===45},tP=function(t){return t!=null&&typeof t!="boolean"},uR=hL(function(e){return KA(e)?e:e.replace(rW,"-$&").toLowerCase()}),p2=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(bL,function(i,o,c){return cu={name:o,styles:c,next:cu},o})}return tW[t]!==1&&!KA(t)&&typeof n=="number"&&n!==0?n+"px":n};{var aW=/(var|attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,iW=["normal","none","initial","inherit","unset"],oW=p2,sW=/^-ms-/,lW=/-(.)/g,nP={};p2=function(t,n){if(t==="content"&&(typeof n!="string"||iW.indexOf(n)===-1&&!aW.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=oW(t,n);return i!==""&&!KA(t)&&t.indexOf("-")!==-1&&nP[t]===void 0&&(nP[t]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+t.replace(sW,"ms-").replace(lW,function(o,c){return c.toUpperCase()})+"?")),i}}var SL="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function vy(e,t,n){if(n==null)return"";if(n.__emotion_styles!==void 0){if(n.toString()==="NO_COMPONENT_SELECTOR")throw new Error(SL);return n}switch(typeof n){case"boolean":return"";case"object":{if(n.anim===1)return cu={name:n.name,styles:n.styles,next:cu},n.name;if(n.styles!==void 0){var i=n.next;if(i!==void 0)for(;i!==void 0;)cu={name:i.name,styles:i.styles,next:cu},i=i.next;var o=n.styles+";";return n.map!==void 0&&(o+=n.map),o}return uW(e,t,n)}case"function":{if(e!==void 0){var c=cu,u=n(e);return cu=c,vy(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 m=[],h=n.replace(bL,function(b,x,w){var N="animation"+m.length;return m.push("const "+N+" = keyframes`"+w.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+N+"}"});m.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(m,["`"+h+"`"]).join(`
2022-09-25 20:24:31 +00:00
`)+`
You should wrap it with \`css\` like this:
`+("css`"+h+"`"))}break}if(t==null)return n;var v=t[n];return v!==void 0?v:n}function uW(e,t,n){var i="";if(Array.isArray(n))for(var o=0;o<n.length;o++)i+=vy(e,t,n[o])+";";else for(var c in n){var u=n[c];if(typeof u!="object")t!=null&&t[u]!==void 0?i+=c+"{"+t[u]+"}":tP(u)&&(i+=uR(c)+":"+p2(c,u)+";");else{if(c==="NO_COMPONENT_SELECTOR")throw new Error(SL);if(Array.isArray(u)&&typeof u[0]=="string"&&(t==null||t[u[0]]===void 0))for(var m=0;m<u.length;m++)tP(u[m])&&(i+=uR(c)+":"+p2(c,u[m])+";");else{var h=vy(e,t,u);switch(c){case"animation":case"animationName":{i+=uR(c)+":"+h+";";break}default:c==="undefined"&&console.error(nW),i+=c+"{"+h+"}"}}}}return i}var rP=/label:\s*([^\s;\n{]+)\s*(;|$)/g,xL;xL=/\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;var cu,iv=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,c="";cu=void 0;var u=t[0];u==null||u.raw===void 0?(o=!1,c+=vy(i,n,u)):(u[0]===void 0&&console.error(eP),c+=u[0]);for(var m=1;m<t.length;m++)c+=vy(i,n,t[m]),o&&(u[m]===void 0&&console.error(eP),c+=u[m]);var h;c=c.replace(xL,function(w){return h=w,""}),rP.lastIndex=0;for(var v="",b;(b=rP.exec(c))!==null;)v+="-"+b[1];var x=eW(c)+v;return{name:x,styles:c,map:h,next:cu,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)."}}},cW=function(t){return t()},CL=zD["useInsertionEffect"]?zD["useInsertionEffect"]:!1,XA=CL||cW,aP=CL||k.exports.useLayoutEffect,fW={}.hasOwnProperty,ZA=k.exports.createContext(typeof HTMLElement<"u"?XH({key:"css"}):null);ZA.displayName="EmotionCacheContext";ZA.Provider;var sC=function(t){return k.exports.forwardRef(function(n,i){var o=k.exports.useContext(ZA);return t(n,o,i)})},Jf=k.exports.createContext({});Jf.displayName="EmotionThemeContext";var dW=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 hy({},t,n)},pW=ZD(function(e){return ZD(function(t){return dW(e,t)})}),mW=function(t){var n=k.exports.useContext(Jf);return t.theme!==n&&(n=pW(n)(t.theme)),k.exports.createElement(Jf.Provider,{value:n},t.children)},iP="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",oP="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",hW=function(t){var n=t.cache,i=t.serialized,o=t.isStringTag;return iC(n,i,o),XA(function(){return oC(n,i,o)}),null},vW=sC(function(e,t,n){var i=e.css;typeof i=="string"&&t.registered[i]!==void 0&&(i=t.registered[i]);var o=e[iP],c=[i],u="";typeof e.className=="string"?u=qA(t.registered,c,e.className):e.className!=null&&(u=e.className+" ");var m=iv(c,void 0,k.exports.useContext(Jf));if(m.name.indexOf("-")===-1){var h=e[oP];h&&(m=iv([m,"label:"+h+";"]))}u+=t.key+"-"+m.name;var v={};for(var b in e)fW.call(e,b)&&b!=="css"&&b!==iP&&b!==oP&&(v[b]=e[b]);return v.ref=n,v.className=u,k.exports.createElement(k.exports.Fragment,null,k.exports.createElement(hW,{cache:t,serialized:m,isStringTag:typeof o=="string"}),k.exports.createElement(o,v))});vW.displayName="EmotionCssPropInternal";var gW={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:{
2022-09-25 20:24:31 +00:00
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`,mG=function(t){var n=t.cache,i=t.serialized,o=t.isStringTag;return iC(n,i,o),XA(function(){return oC(n,i,o)}),null},hG=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,c,u;n!==void 0&&(c=n.label,u=n.target);var m=dP(t,n,i),h=m||fP(o),v=!h("as");return function(){var b=arguments,x=i&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(c!==void 0&&x.push("label:"+c+";"),b[0]==null||b[0].raw===void 0)x.push.apply(x,b);else{b[0][0]===void 0&&console.error(pP),x.push(b[0][0]);for(var w=b.length,N=1;N<w;N++)b[0][N]===void 0&&console.error(pP),x.push(b[N],b[0][N])}var R=sC(function(O,M,B){var I=v&&O.as||o,F="",z=[],$=O;if(O.theme==null){$={};for(var q in O)$[q]=O[q];$.theme=k.exports.useContext(Jf)}typeof O.className=="string"?F=qA(M.registered,z,O.className):O.className!=null&&(F=O.className+" ");var K=iv(x.concat(z),M.registered,$);F+=M.key+"-"+K.name,u!==void 0&&(F+=" "+u);var le=v&&m===void 0?fP(I):h,me={};for(var se in O)v&&se==="as"||le(se)&&(me[se]=O[se]);return me.className=F,me.ref=B,k.exports.createElement(k.exports.Fragment,null,k.exports.createElement(mG,{cache:M,serialized:K,isStringTag:typeof I=="string"}),k.exports.createElement(I,me))});return R.displayName=c!==void 0?c:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",R.defaultProps=t.defaultProps,R.__emotion_real=R,R.__emotion_base=o,R.__emotion_styles=x,R.__emotion_forwardProp=m,Object.defineProperty(R,"toString",{value:function(){return u===void 0?"NO_COMPONENT_SELECTOR":"."+u}}),R.withComponent=function(O,M){return e(O,hy({},n,M,{shouldForwardProp:dP(R,M,!0)})).apply(void 0,x)},R}},vG=["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"],d5=hG.bind();vG.forEach(function(e){d5[e]=d5(e)});var gG=typeof Element<"u",yG=typeof Map=="function",bG=typeof Set=="function",SG=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function Yx(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(!Yx(e[i],t[i]))return!1;return!0}var c;if(yG&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(c=e.entries();!(i=c.next()).done;)if(!t.has(i.value[0]))return!1;for(c=e.entries();!(i=c.next()).done;)if(!Yx(i.value[1],t.get(i.value[0])))return!1;return!0}if(bG&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(c=e.entries();!(i=c.next()).done;)if(!t.has(i.value[0]))return!1;return!0}if(SG&&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(gG&&e instanceof Element)return!1;for(i=n;i--!==0;)if(!((o[i]==="_owner"||o[i]==="__v"||o[i]==="__o")&&e.$$typeof)&&!Yx(e[o[i]],t[o[i]]))return!1;return!0}return e!==e&&t!==t}var xG=function(t,n){try{return Yx(t,n)}cat
2022-09-25 20:24:31 +00:00
[data-motion-pop-id="${n}"] {
position: absolute !important;
width: ${c}px !important;
height: ${u}px !important;
top: ${m}px !important;
left: ${h}px !important;
}
`),()=>{document.head.removeChild(v)}},[t]),_(TZ,{isPresent:t,childRef:i,sizeRef:o,children:k.exports.cloneElement(e,{ref:i})},void 0,!1,{fileName:_Z,lineNumber:68,columnNumber:13},this)}var TM="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs";const xR=({children:e,initial:t,isPresent:n,onExitComplete:i,custom:o,presenceAffectsLayout:c,mode:u})=>{const m=pC(AZ),h=k.exports.useId(),v=k.exports.useMemo(()=>({id:h,initial:t,isPresent:n,custom:o,onExitComplete:b=>{m.set(b,!0);for(const x of m.values())if(!x)return;i&&i()},register:b=>(m.set(b,!1),()=>m.delete(b))}),c?void 0:[n]);return k.exports.useMemo(()=>{m.forEach((b,x)=>m.set(x,!1))},[n]),k.exports.useEffect(()=>{!n&&!m.size&&i&&i()},[n]),u==="popLayout"&&(e=_(RZ,{isPresent:n,children:e},void 0,!1,{fileName:TM,lineNumber:48,columnNumber:20},globalThis)),_(hv.Provider,{value:v,children:e},void 0,!1,{fileName:TM,lineNumber:50,columnNumber:13},globalThis)};function AZ(){return new Map}var CR="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs";const $h=e=>e.key||"";function kZ(e,t){e.forEach(n=>{const i=$h(n);t.set(i,n)})}function OZ(e){const t=[];return k.exports.Children.forEach(e,n=>{k.exports.isValidElement(n)&&t.push(n)}),t}const Rc=({children:e,custom:t,initial:n=!0,onExitComplete:i,exitBeforeEnter:o,presenceAffectsLayout:c=!0,mode:u="sync"})=>{o&&(u="wait",yk(!1,"Replace exitBeforeEnter with mode='wait'"));let[m]=EZ();const h=k.exports.useContext(tk).forceRender;h&&(m=h);const v=a7(),b=OZ(e);let x=b;const w=new Set,N=k.exports.useRef(x),R=k.exports.useRef(new Map).current,O=k.exports.useRef(!0);if(y2(()=>{O.current=!1,kZ(b,R),N.current=x}),uk(()=>{O.current=!0,R.clear(),w.clear()}),O.current)return _(hi,{children:x.map(F=>_(xR,{isPresent:!0,initial:n?void 0:!1,presenceAffectsLayout:c,mode:u,children:F},$h(F),!1,{fileName:CR,lineNumber:97,columnNumber:92},globalThis))},void 0,!1);x=[...x];const M=N.current.map($h),B=b.map($h),I=M.length;for(let F=0;F<I;F++){const z=M[F];B.indexOf(z)===-1&&w.add(z)}return u==="wait"&&w.size&&(x=[]),w.forEach(F=>{if(B.indexOf(F)!==-1)return;const z=R.get(F);if(!z)return;const $=M.indexOf(F),q=()=>{R.delete(F),w.delete(F);const K=N.current.findIndex(le=>le.key===F);if(N.current.splice(K,1),!w.size){if(N.current=b,v.current===!1)return;m(),i&&i()}};x.splice($,0,_(xR,{isPresent:!1,onExitComplete:q,custom:t,presenceAffectsLayout:c,mode:u,children:z},$h(z),!1,{fileName:CR,lineNumber:143,columnNumber:52},globalThis))}),x=x.map(F=>{const z=F.key;return w.has(z)?F:_(xR,{isPresent:!0,presenceAffectsLayout:c,mode:u,children:F},$h(F),!1,{fileName:CR,lineNumber:149,columnNumber:46},globalThis)}),gk!=="production"&&u==="wait"&&x.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.`),_(hi,{children:w.size?x:x.map(F=>k.exports.cloneElement(F))},void 0,!1)};var Zy="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/transition/dist/index.esm.js",Qy=(...e)=>e.filter(Boolean).join(" ");function DZ(){return!0}var PZ=e=>{const{condition:t,message:n}=e;t&&DZ()&&console.warn(n)},$p={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},F0={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 M5(e){switch(e?.direction??"right"){case"
`})}function tQ(e){xC({condition:e.isOpen&&!!e.isDisabled,message:"Cannot open a disabled accordion item"})}function Dp(e){const{isOpen:t,isDisabled:n}=Tk(),{reduceMotion:i}=Rk(),o=Jy("chakra-accordion__icon",e.className),c=CC(),u={opacity:n?.4:1,transform:t?"rotate(-180deg)":void 0,transition:i?void 0:"transform 0.2s",transformOrigin:"center",...c.icon};return _($s,{viewBox:"0 0 24 24","aria-hidden":!0,className:o,__css:u,...e,children:_("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"},void 0,!1,{fileName:L5,lineNumber:282,columnNumber:22},this)},void 0,!1,{fileName:L5,lineNumber:276,columnNumber:26},this)}Dp.displayName="AccordionIcon";var Pp=Xe(function(t,n){const{children:i,className:o}=t,{htmlProps:c,...u}=ZZ(t),h={...CC().container,overflowAnchor:"none"},v=k.exports.useMemo(()=>u,[u]);return Pe.createElement(WZ,{value:v},Pe.createElement($e.div,{ref:n,...c,className:Jy("chakra-accordion__item",o),__css:h},typeof i=="function"?i({isExpanded:!!u.isOpen,isDisabled:!!u.isDisabled}):i))});Pp.displayName="AccordionItem";var Mp=Xe(function(t,n){const{reduceMotion:i}=Rk(),{getPanelProps:o,isOpen:c}=Tk(),u=o(t,n),m=Jy("chakra-accordion__panel",t.className),h=CC();i||delete u.hidden;const v=Pe.createElement($e.div,{...u,__css:h.panel,className:m});return i?v:_(i7,{in:c,children:v},void 0,!1,{fileName:L5,lineNumber:336,columnNumber:28},this)});Mp.displayName="AccordionPanel";var u7=Xe(function({children:t,reduceMotion:n,...i},o){const c=Ro("Accordion",i),u=hr(i),{htmlProps:m,descendants:h,...v}=KZ(u),b=k.exports.useMemo(()=>({...v,reduceMotion:!!n}),[v,n]);return Pe.createElement(GZ,{value:h},Pe.createElement(XZ,{value:b},Pe.createElement(HZ,{value:c},Pe.createElement($e.div,{ref:o,...m,className:Jy("chakra-accordion",i.className),__css:c.root},t))))});u7.displayName="Accordion";var nQ=(...e)=>e.filter(Boolean).join(" "),rQ=jy({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),wC=Xe((e,t)=>{const n=ao("Spinner",e),{label:i="Loading...",thickness:o="2px",speed:c="0.45s",emptyColor:u="transparent",className:m,...h}=hr(e),v=nQ("chakra-spinner",m),b={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:u,borderLeftColor:u,animation:`${rQ} ${c} linear infinite`,...n};return Pe.createElement($e.div,{ref:t,__css:b,className:v,...h},i&&Pe.createElement($e.span,{srOnly:!0},i))});wC.displayName="Spinner";var qp="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/alert/dist/index.esm.js",NC=(...e)=>e.filter(Boolean).join(" ");function aQ(e){return _($s,{viewBox:"0 0 24 24",...e,children:_("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:qp,lineNumber:24,columnNumber:22},this)},void 0,!1,{fileName:qp,lineNumber:21,columnNumber:26},this)}function iQ(e){return _($s,{viewBox:"0 0 24 24",...e,children:_("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:qp,lineNumber:33,columnNumber:22},this)},void 0,!1,{fileName:qp,lineNumber:30,columnNumber:26},this)}function kM(e){return _($s,{viewBox:"0 0 24 24",...e,children:_("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:qp,lineNumber:42,columnNumber:22},this)},void 0,!1,{fileName:qp,lineNumber:39,columnNumber:26},this)}var[oQ,sQ]=zr({name:"AlertContext",hookName:"useAler
2022-09-25 20:24:31 +00:00
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))
Did you accidentally put curly braces around the import?`,te),"default"in te||ie(`lazy: Expected the result of a dynamic import() call. Instead received: %s
Your code should look like:
const MyComponent = lazy(() => import('./MyComponent'))`,te),te.default}else throw S._result}function Ue(S){var A={_status:vr,_result:S},V={$$typeof:R,_payload:A,_init:X};{var G,te;Object.defineProperties(V,{defaultProps:{configurable:!0,get:function(){return G},set:function(ze){ie("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 te},set:function(ze){ie("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."),te=ze,Object.defineProperty(V,"propTypes",{enumerable:!0})}}})}return V}function Ke(S){S!=null&&S.$$typeof===N?ie("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof S!="function"?ie("forwardRef requires a render function but was given %s.",S===null?"null":typeof S):S.length!==0&&S.length!==2&&ie("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)&&ie("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");var A={$$typeof:b,render:S};{var V;Object.defineProperty(A,"displayName",{enumerable:!1,configurable:!0,get:function(){return V},set:function(G){V=G,!S.name&&!S.displayName&&(S.displayName=G)}})}return A}var Ct;Ct=Symbol.for("react.module.reference");function on(S){return!!(typeof S=="string"||typeof S=="function"||S===c||S===m||ue||S===u||S===x||S===w||ae||S===O||se||Se||qe||typeof S=="object"&&S!==null&&(S.$$typeof===R||S.$$typeof===N||S.$$typeof===h||S.$$typeof===v||S.$$typeof===b||S.$$typeof===Ct||S.getModuleId!==void 0))}function Cn(S,A){on(S)||ie("memo: The first argument must be a component. Instead received: %s",S===null?"null":typeof S);var V={$$typeof:N,type:S,compare:A===void 0?null:A};{var G;Object.defineProperty(V,"displayName",{enumerable:!1,configurable:!0,get:function(){return G},set:function(te){G=te,!S.name&&!S.displayName&&(S.displayName=te)}})}return V}function nt(){var S=F.current;return S===null&&ie(`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:
2022-09-25 20:24:31 +00:00
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 qt(S){var A=nt();if(S._context!==void 0){var V=S._context;V.Consumer===S?ie("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&&ie("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return A.useContext(S)}function Vn(S){var A=nt();return A.useState(S)}function Bn(S,A,V){var G=nt();return G.useReducer(S,A,V)}function ln(S){var A=nt();return A.useRef(S)}function Ur(S,A){var V=nt();return V.useEffect(S,A)}function vi(S,A){var V=nt();return V.useInsertionEffect(S,A)}function Po(S,A){var V=nt();return V.useLayoutEffect(S,A)}function ya(S,A){var V=nt();return V.useCallback(S,A)}function oo(S,A){var V=nt();return V.useMemo(S,A)}function Nu(S,A,V){var G=nt();return G.useImperativeHandle(S,A,V)}function gi(S,A){{var V=nt();return V.useDebugValue(S,A)}}function Hs(){var S=nt();return S.useTransition()}function zi(S){var A=nt();return A.useDeferredValue(S)}function Jt(){var S=nt();return S.useId()}function Bi(S,A,V){var G=nt();return G.useSyncExternalStore(S,A,V)}var ba=0,Mo,os,Io,ss,ls,Lo,Fo;function us(){}us.__reactDisabledLog=!0;function Ws(){{if(ba===0){Mo=console.log,os=console.info,Io=console.warn,ss=console.error,ls=console.group,Lo=console.groupCollapsed,Fo=console.groupEnd;var S={configurable:!0,enumerable:!0,value:us,writable:!0};Object.defineProperties(console,{info:S,log:S,warn:S,error:S,group:S,groupCollapsed:S,groupEnd:S})}ba++}}function Gs(){{if(ba--,ba===0){var S={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Me({},S,{value:Mo}),info:Me({},S,{value:os}),warn:Me({},S,{value:Io}),error:Me({},S,{value:ss}),group:Me({},S,{value:ls}),groupCollapsed:Me({},S,{value:Lo}),groupEnd:Me({},S,{value:Fo})})}ba<0&&ie("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var yi=Ee.ReactCurrentDispatcher,Mr;function Fa(S,A,V){{if(Mr===void 0)try{throw Error()}catch(te){var G=te.stack.trim().match(/\n( *(at )?)/);Mr=G&&G[1]||""}return`
`+Mr+S}}var Sa=!1,za;{var cs=typeof WeakMap=="function"?WeakMap:Map;za=new cs}function zo(S,A){if(!S||Sa)return"";{var V=za.get(S);if(V!==void 0)return V}var G;Sa=!0;var te=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ze;ze=yi.current,yi.current=null,Ws();try{if(A){var we=function(){throw Error()};if(Object.defineProperty(we.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(we,[])}catch(Bt){G=Bt}Reflect.construct(S,[],we)}else{try{we.call()}catch(Bt){G=Bt}S.call(we.prototype)}}else{try{throw Error()}catch(Bt){G=Bt}S()}}catch(Bt){if(Bt&&G&&typeof Bt.stack=="string"){for(var Ve=Bt.stack.split(`
2022-09-25 20:24:31 +00:00
`),st=G.stack.split(`
`),St=Ve.length-1,Ot=st.length-1;St>=1&&Ot>=0&&Ve[St]!==st[Ot];)Ot--;for(;St>=1&&Ot>=0;St--,Ot--)if(Ve[St]!==st[Ot]){if(St!==1||Ot!==1)do if(St--,Ot--,Ot<0||Ve[St]!==st[Ot]){var yt=`
`+Ve[St].replace(" at new "," at ");return S.displayName&&yt.includes("<anonymous>")&&(yt=yt.replace("<anonymous>",S.displayName)),typeof S=="function"&&za.set(S,yt),yt}while(St>=1&&Ot>=0);break}}}finally{Sa=!1,yi.current=ze,Gs(),Error.prepareStackTrace=te}var jt=S?S.displayName||S.name:"",Tt=jt?Fa(jt):"";return typeof S=="function"&&za.set(S,Tt),Tt}function fs(S,A,V){return zo(S,!1)}function Ml(S){var A=S.prototype;return!!(A&&A.isReactComponent)}function xa(S,A,V){if(S==null)return"";if(typeof S=="function")return zo(S,Ml(S));if(typeof S=="string")return Fa(S);switch(S){case x:return Fa("Suspense");case w:return Fa("SuspenseList")}if(typeof S=="object")switch(S.$$typeof){case b:return fs(S.render);case N:return xa(S.type,A,V);case R:{var G=S,te=G._payload,ze=G._init;try{return xa(ze(te),A,V)}catch{}}}return""}var Bo={},Ba=Ee.ReactDebugCurrentFrame;function bi(S){if(S){var A=S._owner,V=xa(S.type,S._source,A?A.type:null);Ba.setExtraStackFrame(V)}else Ba.setExtraStackFrame(null)}function Ys(S,A,V,G,te){{var ze=Function.call.bind(an);for(var we in S)if(ze(S,we)){var Ve=void 0;try{if(typeof S[we]!="function"){var st=Error((G||"React class")+": "+V+" type `"+we+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof S[we]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw st.name="Invariant Violation",st}Ve=S[we](A,we,G,V,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(St){Ve=St}Ve&&!(Ve instanceof Error)&&(bi(te),ie("%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,we,typeof Ve),bi(null)),Ve instanceof Error&&!(Ve.message in Bo)&&(Bo[Ve.message]=!0,bi(te),ie("Failed %s type: %s",V,Ve.message),bi(null))}}}function un(S){if(S){var A=S._owner,V=xa(S.type,S._source,A?A.type:null);me(V)}else me(null)}var Si;Si=!1;function Uo(){if(q.current){var S=Lt(q.current.type);if(S)return`
2022-09-25 20:24:31 +00:00
Check the render method of \``+S+"`."}return""}function $t(S){if(S!==void 0){var A=S.fileName.replace(/^.*[\\\/]/,""),V=S.lineNumber;return`
Check your code at `+A+":"+V+"."}return""}function qs(S){return S!=null?$t(S.__source):""}var xr={};function Ui(S){var A=Uo();if(!A){var V=typeof S=="string"?S:S.displayName||S.name;V&&(A=`
Check the top-level render call using <`+V+">.")}return A}function Ya(S,A){if(!(!S._store||S._store.validated||S.key!=null)){S._store.validated=!0;var V=Ui(A);if(!xr[V]){xr[V]=!0;var G="";S&&S._owner&&S._owner!==q.current&&(G=" It was passed a child from "+Lt(S._owner.type)+"."),un(S),ie('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),un(null)}}}function so(S,A){if(typeof S=="object"){if(Wt(S))for(var V=0;V<S.length;V++){var G=S[V];Qt(G)&&Ya(G,A)}else if(Qt(S))S._store&&(S._store.validated=!0);else if(S){var te=I(S);if(typeof te=="function"&&te!==S.entries)for(var ze=te.call(S),we;!(we=ze.next()).done;)Qt(we.value)&&Ya(we.value,A)}}}function _r(S){{var A=S.type;if(A==null||typeof A=="string")return;var V;if(typeof A=="function")V=A.propTypes;else if(typeof A=="object"&&(A.$$typeof===b||A.$$typeof===N))V=A.propTypes;else return;if(V){var G=Lt(A);Ys(V,S.props,"prop",G,S)}else if(A.PropTypes!==void 0&&!Si){Si=!0;var te=Lt(A);ie("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",te||"Unknown")}typeof A.getDefaultProps=="function"&&!A.getDefaultProps.isReactClassApproved&&ie("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function or(S){{for(var A=Object.keys(S.props),V=0;V<A.length;V++){var G=A[V];if(G!=="children"&&G!=="key"){un(S),ie("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",G),un(null);break}}S.ref!==null&&(un(S),ie("Invalid attribute `ref` supplied to `React.Fragment`."),un(null))}}function $o(S,A,V){var G=on(S);if(!G){var te="";(S===void 0||typeof S=="object"&&S!==null&&Object.keys(S).length===0)&&(te+=" 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=qs(A);ze?te+=ze:te+=Uo();var we;S===null?we="null":Wt(S)?we="array":S!==void 0&&S.$$typeof===i?(we="<"+(Lt(S.type)||"Unknown")+" />",te=" Did you accidentally export a JSX literal instead of a component?"):we=typeof S,ie("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",we,te)}var Ve=it.apply(this,arguments);if(Ve==null)return Ve;if(G)for(var st=2;st<arguments.length;st++)so(arguments[st],S);return S===c?or(Ve):_r(Ve),Ve}var Kr=!1;function pr(S){var A=$o.bind(null,S);return A.type=S,Kr||(Kr=!0,de("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(A,"type",{enumerable:!1,get:function(){return de("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:S}),S}}),A}function aa(S,A,V){for(var G=hn.apply(this,arguments),te=2;te<arguments.length;te++)so(arguments[te],G.type);return _r(G),G}function Eu(S,A){var V=z.transition;z.transition={};var G=z.transition;z.transition._updatedFibers=new Set;try{S()}finally{if(z.transition=V,V===null&&G._updatedFibers){var te=G._updatedFibers.size;te>10&&de("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 lo=!1,xi=null;function Ks(S){if(xi===null)try{var A=("require"+Math.random()).slice(0,7),V=t&&t[A];xi=V.call(t,"timers").setImmediate}catch{xi=function(te){lo===!1&&(lo=!0,typeof MessageChannel>"u"&&ie("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=te,ze.port2.postMessage(void 0)}}return xi(S)}var vn=0,Fn=!1;function Il(S){{var A=vn;vn++,$.current===null&&($.current=[]);var V=$.isBatchingLegacy,G;t
2022-09-25 20:24:31 +00:00
* @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 Hf="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/button/dist/index.esm.js",EC=(...e)=>e.filter(Boolean).join(" "),DM=e=>e?"":void 0,[wQ,NQ]=zr({strict:!1,name:"ButtonGroupContext"});function F5(e){const{children:t,className:n,...i}=e,o=k.exports.isValidElement(t)?k.exports.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,c=EC("chakra-button__icon",n);return Pe.createElement($e.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...i,className:c},o)}F5.displayName="ButtonIcon";function z5(e){const{label:t,placement:n,spacing:i="0.5rem",children:o=_(wC,{color:"currentColor",width:"1em",height:"1em"},void 0,!1,{fileName:Hf,lineNumber:56,columnNumber:32},this),className:c,__css:u,...m}=e,h=EC("chakra-button__spinner",c),v=n==="start"?"marginEnd":"marginStart",b=k.exports.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[v]:t?i:0,fontSize:"1em",lineHeight:"normal",...u}),[u,t,v,i]);return Pe.createElement($e.div,{className:h,...m,__css:b},o)}z5.displayName="ButtonSpinner";function EQ(e){const[t,n]=k.exports.useState(!e);return{ref:k.exports.useCallback(c=>{!c||n(c.tagName==="BUTTON")},[]),type:t?"button":void 0}}var Dl=Xe((e,t)=>{const n=NQ(),i=ao("Button",{...n,...e}),{isDisabled:o=n?.isDisabled,isLoading:c,isActive:u,children:m,leftIcon:h,rightIcon:v,loadingText:b,iconSpacing:x="0.5rem",type:w,spinner:N,spinnerPlacement:R="start",className:O,as:M,...B}=hr(e),I=k.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:F,type:z}=EQ(M),$={rightIcon:v,leftIcon:h,iconSpacing:x,children:m};return Pe.createElement($e.button,{disabled:o||c,ref:IG(t,F),as:M,type:w??z,"data-active":DM(u),"data-loading":DM(c),__css:I,className:EC("chakra-button",O),...B},c&&R==="start"&&_(z5,{className:"chakra-button__spinner--start",label:b,placement:"start",spacing:x,children:N},void 0,!1,{fileName:Hf,lineNumber:145,columnNumber:67},globalThis),c?b||Pe.createElement($e.span,{opacity:0},_(PM,{...$},void 0,!1,{fileName:Hf,lineNumber:152,columnNumber:22},globalThis)):_(PM,{...$},void 0,!1,{fileName:Hf,lineNumber:154,columnNumber:25},globalThis),c&&R==="end"&&_(z5,{className:"chakra-button__spinner--end",label:b,placement:"end",spacing:x,children:N},void 0,!1,{fileName:Hf,lineNumber:156,columnNumber:66},globalThis))});Dl.displayName="Button";function PM(e){const{leftIcon:t,rightIcon:n,children:i,iconSpacing:o}=e;return _(hi,{children:[t&&_(F5,{marginEnd:o,children:t},void 0,!1,{fileName:Hf,lineNumber:166,columnNumber:96},this),i,n&&_(F5,{marginStart:o,children:n},void 0,!1,{fileName:Hf,lineNumber:168,columnNumber:56},this)]},void 0,!0)}var _Q=Xe(function(t,n){const{size:i,colorScheme:o,variant:c,className:u,spacing:m="0.5rem",isAttached:h,isDisabled:v,...b}=t,x=EC("chakra-button__group",u),w=k.exports.useMemo(()=>({size:i,colorScheme:o,variant:c,isDisabled:v}),[i,o,c,v]);let N={display:"inline-flex"};return h?N={...N,"> *: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}}:N={...N,"& > *:not(style) ~ *:not(style)":{marginStart:m}},Pe.createElement(wQ,{value:w},Pe.createElement($e.div,{ref:n,role:"group",__css:N,className:x,"data-attached":h?"":void 0,...b}))});_Q.displayName="ButtonGroup";var wo=Xe((e,t)=>{const{icon:n,children:i,isRound:o,"aria-label":c,...u}=e,m=n||i,h=k.exports.isValidElement(m)?k.exports.cloneElement(m,{"aria-hidden":!0,focusable:!1}):null;return _(Dl,{padding:"0",borderRadius:o?"full":void 0,ref:t,"aria-label":c,...u,children:h},void 0,!1,{fileName:Hf,lineNumber:231,columnNumber:26},globalThis)});wo.displayName="IconButton";var B5="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/form-control/dist/index.esm.js",yv=(...e)=>e.filter(Boolean).join(" "),Nx=e=>e?"":void 0,NR=e=>e?!
2022-09-25 20:24:31 +00:00
: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;
}
}
`,iJ=()=>_($y,{styles:E7},void 0,!1,{fileName:N7,lineNumber:29,columnNumber:41},globalThis),oJ=()=>_($y,{styles:`
2022-09-25 20:24:31 +00:00
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;
}
${E7}
`},void 0,!1,{fileName:N7,lineNumber:32,columnNumber:38},globalThis);function j5(e,t,n,i){const o=Li(n);return k.exports.useEffect(()=>{const c=typeof e=="function"?e():e??document;if(!(!n||!c))return c.addEventListener(t,o,i),()=>{c.removeEventListener(t,o,i)}},[t,e,i,o,n]),()=>{const c=typeof e=="function"?e():e??document;c?.removeEventListener(t,o,i)}}var sJ=Hy?k.exports.useLayoutEffect:k.exports.useEffect;function V5(e,t=[]){const n=k.exports.useRef(e);return sJ(()=>{n.current=e}),k.exports.useCallback((...i)=>{var o;return(o=n.current)==null?void 0:o.call(n,...i)},t)}function Ik(e,t,n,i){const o=V5(t);return k.exports.useEffect(()=>{const c=m2(n)??document;if(!!t)return c.addEventListener(e,o,i),()=>{c.removeEventListener(e,o,i)}},[e,n,i,o,t]),()=>{(m2(n)??document).removeEventListener(e,o,i)}}function lJ(e){const{isOpen:t,ref:n}=e,[i,o]=k.exports.useState(t),[c,u]=k.exports.useState(!1);return k.exports.useEffect(()=>{c||(o(t),u(!0))},[t,c,i]),Ik("animationend",()=>{o(t)},()=>n.current),{present:!(t?!1:!i),onComplete(){var h;const v=RW(n.current),b=new v.CustomEvent("animationend",{bubbles:!0});(h=n.current)==null||h.dispatchEvent(b)}}}function uJ(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function cJ(e,t){const n=k.exports.useId();return k.exports.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function H5(e={}){const{onClose:t,onOpen:n,isOpen:i,id:o}=e,c=V5(n),u=V5(t),[m,h]=k.exports.useState(e.defaultIsOpen||!1),[v,b]=uJ(i,m),x=cJ(o,"disclosure"),w=k.exports.useCallback(()=>{v||h(!1),u?.()},[v,u]),N=k.exports.useCallback(()=>{v||h(!0),c?.()},[v,c]),R=k.exports.useCallback(()=>{(b?w:N)()},[b,N,w]);return{isOpen:!!b,onOpen:N,onClose:w,onToggle:R,isControlled:v,getButtonProps:(O={})=>({...O,"aria-expanded":b,"aria-controls":x,onClick:$W(O.onClick,R)}),getDisclosureProps:(O={})=>({...O,hidden:!b,id:x})}}var _7=(e,t)=>{const n=k.exports.useRef(!1),i=k.exports.useRef(!1);k.exports.useEffect(()=>{if(n.current&&i.current)return e();i.current=!0},t),k.exports.useEffect(()=>(n.current=!0,()=>{n.current=!1}),[])};function fJ(e){const t=e.current;if(!t)return!1;const n=OW(t);return!n||JA(t,n)?!1:!!LW(n)}function dJ(e,t){const{shouldFocus:n,visible:i,focusRef:o}=t,c=n&&!i;_7(()=>{if(!c||fJ(e))return;const u=o?.current||e.current;u&&h2(u,{nextTick:!0})},[c,e,o])}function pJ(e,t,n,i){return Ik(oG(t),eG(n,t==="pointerdown"),e,i)}function mJ(e){const{ref:t,elements:n,enabled:i}=e,o=lG("Safari");pJ(()=>Vy(t.current),"pointerdown",u=>{if(!o||!i)return;const m=u.target,v=(n??[t]).some(b=>{const x=wL(b)?b.current:b;return JA(x,m)});!RL(m)&&v&&(u.preventDefault(),h2(m))})}var hJ={preventScroll:!0,shouldFocus:!1};function vJ(e,t=hJ){const{focusRef:n,preventScroll:i,shouldFocus:o,visible:c}=t,u=wL(e)?e.current:e,m=o&&c,h=k.exports.useCallback(()=>{if(!(!u||!m)&&!JA(u,document.activeElement))if(n?.current)h2(n.current,{preventScroll:i,nextTick:!0});else{const v=UW(u);v.length>0&&h2(v[0],{preventScroll:i,nextTick:!0})}},[m,i,u,n]);_7(()=>{h()},[h]),Ik("transitionend",h,u)}function Lk(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}var em="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/input/dist/index.esm.js",Fk=Xe(function(t,n){const{htmlSize:i,...o}=t,c=Ro("Input",o),u=hr(o),m=Ok(u),h=qr("chakra-input",t.className);return Pe.createElement($e.input,{size:i,...m,__css:c.field,ref:n,className:h})});Fk.displayName="Input";Fk.id="Input";var[gJ,T7]=zr({name:"InputGroupStylesContext",errorMessage:`useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in "<InputGroup />" `}),yJ=Xe(function(t,n){const i=Ro("Input",t),{children:o,className:c,...u}=hr(t),m=qr("chakra-input__group",c),h={},v=kk(o),b=i.field;v.forEach(w=>{!i||(b&&w.type.id==="InputLeftElement"&&(h.paddingStart=b.height??b.h),b&&w.type.id==="InputRightElement"&&(h.paddingEnd=b.height??b.h),w.type.id==="InputRightAddon"&&(h.borderEndRadius=0),w.type.id==="InputLeftAddon"&&(h.borderStartRadius=0))});const x=v.map(w=>{var N,R;const O=Lk({size:((N=w.props)==null?void
2022-09-25 20:24:31 +00:00
`,'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 b={placement:Ol(t.placement),variation:fv(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,WM(Object.assign({},b,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:u,roundOffsets:h})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,WM(Object.assign({},b,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:h})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Ree={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Tee,data:{}};var Ex={passive:!0};function Aee(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,c=o===void 0?!0:o,u=i.resize,m=u===void 0?!0:u,h=Vs(t.elements.popper),v=[].concat(t.scrollParents.reference,t.scrollParents.popper);return c&&v.forEach(function(b){b.addEventListener("scroll",n.update,Ex)}),m&&h.addEventListener("resize",n.update,Ex),function(){c&&v.forEach(function(b){b.removeEventListener("scroll",n.update,Ex)}),m&&h.removeEventListener("resize",n.update,Ex)}}const kee={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Aee,data:{}};var Oee={left:"right",right:"left",bottom:"top",top:"bottom"};function Zx(e){return e.replace(/left|right|bottom|top/g,function(t){return Oee[t]})}var Dee={start:"end",end:"start"};function GM(e){return e.replace(/start|end/g,function(t){return Dee[t]})}function Gk(e){var t=Vs(e),n=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:n,scrollTop:i}}function Yk(e){return cv(id(e)).left+Gk(e).scrollLeft}function Pee(e,t){var n=Vs(e),i=id(e),o=n.visualViewport,c=i.clientWidth,u=i.clientHeight,m=0,h=0;if(o){c=o.width,u=o.height;var v=H7();(v||!v&&t==="fixed")&&(m=o.offsetLeft,h=o.offsetTop)}return{width:c,height:u,x:m+Yk(e),y:h}}function Mee(e){var t,n=id(e),i=Gk(e),o=(t=e.ownerDocument)==null?void 0:t.body,c=Hp(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),u=Hp(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),m=-i.scrollLeft+Yk(e),h=-i.scrollTop;return Pl(o||n).direction==="rtl"&&(m+=Hp(n.clientWidth,o?o.clientWidth:0)-c),{width:c,height:u,x:m,y:h}}function qk(e){var t=Pl(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function K7(e){return["html","body","#document"].indexOf(xu(e))>=0?e.ownerDocument.body:ts(e)&&qk(e)?e:K7(kC(e))}function oy(e,t){var n;t===void 0&&(t=[]);var i=K7(e),o=i===((n=e.ownerDocument)==null?void 0:n.body),c=Vs(i),u=o?[c].concat(c.visualViewport||[],qk(i)?i:[]):i,m=t.concat(u);return o?m:m.concat(oy(kC(u)))}function q5(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Iee(e,t){var n=cv(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 YM(e,t,n){return t===j7?q5(Pee(e,n)):Kp(t)?Iee(t,n):q5(Mee(id(e)))}function Lee(e){var t=oy(kC(e)),n=["absolute","fixed"].indexOf(Pl(e).position)>=0,i=n&&ts(e)?tb(e):e;return Kp(i)?t.filter(function(o){return Kp(o)&&W7(o,i)&&xu(o)!=="body"}):[]}function Fee(e,t,n,i){var o=t==="clippingParents"?Lee(e):[].concat(t),c=[].concat(o,[n]),u=c[0],m=c.reduce(function(h,v){var b=YM(e,v,i);return h.top=Hp(b.top,h.top),h.right=O2(b.right,h.right),h.bottom=O2(b.bottom,h.bottom),h.left=Hp(b.left,h.left),h},YM(e,u,i));return m.width=m.right-m.left,m.height=m.bottom-m.top,m.x=m.left,m.y=m.top,m}function X7(e){var t=e.reference,n=e.element,i=e.placement,o=i?Ol(i):null,c=i?fv(i):null,u=t.x+t.width/2-n.width/2,m=t.y+t.height/2-n.height/2,h;switch(o){case Eo:h={x:u,y:t.y-n.height};break;case Bs:h={x:u,y:t.y+t.height};break;case Us:h={x:t.x+t.width,y:m};break;case _o:h={x:t.x-n.width,y:m};bre
2022-09-25 20:24:31 +00:00
object-assign
(c) Sindre Sorhus
@license MIT
*/var r6=Object.getOwnPropertySymbols,Bte=Object.prototype.hasOwnProperty,Ute=Object.prototype.propertyIsEnumerable;function $te(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function jte(){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(c){return t[c]});if(i.join("")!=="0123456789")return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(c){o[c]=c}),Object.keys(Object.assign({},o)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}var Vte=jte()?Object.assign:function(e,t){for(var n,i=$te(e),o,c=1;c<arguments.length;c++){n=Object(arguments[c]);for(var u in n)Bte.call(n,u)&&(i[u]=n[u]);if(r6){o=r6(n);for(var m=0;m<o.length;m++)Ute.call(n,o[m])&&(i[o[m]]=n[o[m]])}}return i},Hte="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",t8=Hte,n8=Function.call.bind(Object.prototype.hasOwnProperty),K5=function(){};{var Wte=t8,X5={},Gte=n8;K5=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}}}function r8(e,t,n,i,o){for(var c in e)if(Gte(e,c)){var u;try{if(typeof e[c]!="function"){var m=Error((i||"React class")+": "+n+" type `"+c+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[c]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw m.name="Invariant Violation",m}u=e[c](t,c,i,n,null,Wte)}catch(v){u=v}if(u&&!(u instanceof Error)&&K5((i||"React class")+": type specification of "+n+" `"+c+"` 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 X5)){X5[u.message]=!0;var h=o?o():"";K5("Failed "+n+" type: "+u.message+(h??""))}}}r8.resetWarningCache=function(){X5={}};var Yte=r8,qte=aC.exports,Kte=Vte,Ph=t8,TR=n8,a6=Yte,jh=function(){};jh=function(e){var t="Warning: "+e;typeof console<"u"&&console.error(t);try{throw new Error(t)}catch{}};function Rx(){return null}var Xte=function(e,t){var n=typeof Symbol=="function"&&Symbol.iterator,i="@@iterator";function o(ae){var ue=ae&&(n&&ae[n]||ae[i]);if(typeof ue=="function")return ue}var c="<<anonymous>>",u={array:b("array"),bigint:b("bigint"),bool:b("boolean"),func:b("function"),number:b("number"),object:b("object"),string:b("string"),symbol:b("symbol"),any:x(),arrayOf:w,element:N(),elementType:R(),instanceOf:O,node:F(),objectOf:B,oneOf:M,oneOfType:I,shape:$,exact:q};function m(ae,ue){return ae===ue?ae!==0||1/ae===1/ue:ae!==ae&&ue!==ue}function h(ae,ue){this.message=ae,this.data=ue&&typeof ue=="object"?ue:{},this.stack=""}h.prototype=Error.prototype;function v(ae){var ue={},Ee=0;function de(xe,Ne,he,Ce,Me,Ie,Ye){if(Ce=Ce||c,Ie=Ie||he,Ye!==Ph){if(t){var at=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 at.name="Invariant Violation",at}else if(typeof console<"u"){var gt=Ce+":"+he;!ue[gt]&&Ee<3&&(jh("You are manually calling a React.PropTypes validation function for the `"+Ie+"` prop on `"+Ce+"`. 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."),ue[gt]=!0,Ee++)}}return Ne[he]==null?xe?Ne[he]===null?new h("The "+Me+" `"+Ie+"` is marked as required "+("in `"+Ce+"`, but its value is `null`.")):new h("The "+Me+" `"+Ie+"` is marked as required in "+("`"+Ce+"`, but its value is `undefined`.")):null:ae(Ne,he,Ce,Me,Ie)}var ie=de.bind(null,!1);return ie.isRequired=de.bind(null,!0),ie}function b(ae){function ue(Ee,de,ie,xe,Ne,he){var Ce=Ee[de],Me=me(Ce);if(Me!==ae){var Ie=
Valid keys: `+JSON.stringify(Object.keys(ae),null," "));var at=Ye(he,Ie,ie,xe,Ne+"."+Ie,Ph);if(at)return at}return null}return v(ue)}function K(ae){switch(typeof ae){case"number":case"string":case"undefined":return!0;case"boolean":return!ae;case"object":if(Array.isArray(ae))return ae.every(K);if(ae===null||e(ae))return!0;var ue=o(ae);if(ue){var Ee=ue.call(ae),de;if(ue!==ae.entries){for(;!(de=Ee.next()).done;)if(!K(de.value))return!1}else for(;!(de=Ee.next()).done;){var ie=de.value;if(ie&&!K(ie[1]))return!1}}else return!1;return!0;default:return!1}}function le(ae,ue){return ae==="symbol"?!0:ue?ue["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&ue instanceof Symbol:!1}function me(ae){var ue=typeof ae;return Array.isArray(ae)?"array":ae instanceof RegExp?"object":le(ue,ae)?"symbol":ue}function se(ae){if(typeof ae>"u"||ae===null)return""+ae;var ue=me(ae);if(ue==="object"){if(ae instanceof Date)return"date";if(ae instanceof RegExp)return"regexp"}return ue}function Se(ae){var ue=se(ae);switch(ue){case"array":case"object":return"an "+ue;case"boolean":case"date":case"regexp":return"a "+ue;default:return ue}}function qe(ae){return!ae.constructor||!ae.constructor.name?c:ae.constructor.name}return u.checkPropTypes=a6,u.resetWarningCache=a6.resetWarningCache,u.PropTypes=u,u};{var Zte=aC.exports,Qte=!0;At.exports=Xte(Zte.isElement,Qte)}var Z5="data-focus-lock",a8="data-focus-lock-disabled",Jte="data-no-focus-lock",ene="data-autofocus-inside",tne="data-no-autofocus";function nne(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function rne(e,t){var n=k.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 i8(e,t){return rne(t||null,function(n){return e.forEach(function(i){return nne(i,n)})})}var RR={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"};At.exports.node;function o8(e){return e}function s8(e,t){t===void 0&&(t=o8);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(c){var u=t(c,i);return n.push(u),function(){n=n.filter(function(m){return m!==u})}},assignSyncMedium:function(c){for(i=!0;n.length;){var u=n;n=[],u.forEach(c)}n={push:function(m){return c(m)},filter:function(){return n}}},assignMedium:function(c){i=!0;var u=[];if(n.length){var m=n;n=[],m.forEach(c),u=n}var h=function(){var b=u;u=[],b.forEach(c)},v=function(){return Promise.resolve().then(h)};v(),n={push:function(b){u.push(b),v()},filter:function(b){return u=u.filter(b),n}}}};return o}function Xk(e,t){return t===void 0&&(t=o8),s8(e,t)}function l8(e){e===void 0&&(e={});var t=s8(null);return t.options=fu({async:!0,ssr:!1},e),t}var ane="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/use-sidecar/dist/es2015/exports.js",u8=function(e){var t=e.sideCar,n=hC(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 _(i,{...fu({},n)},void 0,!1,{fileName:ane,lineNumber:12,columnNumber:12},this)};u8.isSideCarExport=!0;function ine(e,t){return e.useMedium(t),u8}var c8=Xk({},function(e){var t=e.target,n=e.currentTarget;return{target:t,currentTarget:n}}),f8=Xk(),one=Xk(),sne=l8({async:!0}),B0="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/react-focus-lock/dist/es2015/Lock.js",lne=[],Zk=k.exports.forwardRef(function(t,n){var i,o=k.exports.useState(),c=o[0],u=o[1],m=k.exports.useRef(),h=k.exports.useRef(!1),v=k.exports.useRef(null),b=t.children,x=t.disabled,w=t.noFocusGuards,N=t.persistentFocus,R=t.crossFrame,O=t.autoFocus,M=t.allowTextSelection,B=t.group,I=t.className,F=t.whiteList,z=t.hasPositiveIndices,$=t.shards,q=$===void 0?lne:$,K=t.as,le=K===void 0?"div":K,me=t.lockProps,se=me===void 0?{}:me,Se=t.sideCar,qe=t.returnFocus,ae=t.focusOptions,ue=t.onActivation,
2022-09-25 20:24:31 +00:00
.`.concat(ire,` {
overflow: hidden `).concat(i,`;
padding-right: `).concat(m,"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(c,`px;
padding-right: `).concat(u,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(m,"px ").concat(i,`;
`),n==="padding"&&"padding-right: ".concat(m,"px ").concat(i,";")].filter(Boolean).join(""),`
}
.`).concat(Qx,` {
right: `).concat(m,"px ").concat(i,`;
}
.`).concat(Jx,` {
margin-right: `).concat(m,"px ").concat(i,`;
}
.`).concat(Qx," .").concat(Qx,` {
right: 0 `).concat(i,`;
}
.`).concat(Jx," .").concat(Jx,` {
margin-right: 0 `).concat(i,`;
}
body {
`).concat(ore,": ").concat(m,`px;
}
`)},bre=function(e){var t=e.noRelative,n=e.noImportant,i=e.gapMode,o=i===void 0?"margin":i,c=k.exports.useMemo(function(){return hre(o)},[o]);return _(gre,{styles:yre(c,!t,o,n?"":"!important")},void 0,!1,{fileName:vre,lineNumber:27,columnNumber:12},this)},nA=!1;if(typeof window<"u")try{var Ax=Object.defineProperty({},"passive",{get:function(){return nA=!0,!0}});window.addEventListener("test",Ax,Ax),window.removeEventListener("test",Ax,Ax)}catch{nA=!1}var Mh=nA?{passive:!1}:!1,Sre=function(e){return e.tagName==="TEXTAREA"},F8=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Sre(e)&&n[t]==="visible")},xre=function(e){return F8(e,"overflowY")},Cre=function(e){return F8(e,"overflowX")},f6=function(e,t){var n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var i=z8(e,n);if(i){var o=B8(e,n),c=o[1],u=o[2];if(c>u)return!0}n=n.parentNode}while(n&&n!==document.body);return!1},wre=function(e){var t=e.scrollTop,n=e.scrollHeight,i=e.clientHeight;return[t,n,i]},Nre=function(e){var t=e.scrollLeft,n=e.scrollWidth,i=e.clientWidth;return[t,n,i]},z8=function(e,t){return e==="v"?xre(t):Cre(t)},B8=function(e,t){return e==="v"?wre(t):Nre(t)},Ere=function(e,t){return e==="h"&&t==="rtl"?-1:1},_re=function(e,t,n,i,o){var c=Ere(e,window.getComputedStyle(t).direction),u=c*i,m=n.target,h=t.contains(m),v=!1,b=u>0,x=0,w=0;do{var N=B8(e,m),R=N[0],O=N[1],M=N[2],B=O-M-c*R;(R||B)&&z8(e,m)&&(x+=B,w+=R),m=m.parentNode}while(!h&&m!==document.body||h&&(t.contains(m)||t===m));return(b&&(o&&x===0||!o&&u>x)||!b&&(o&&w===0||!o&&-u>w))&&(v=!0),v},d6="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/react-remove-scroll/dist/es2015/SideEffect.js",kx=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},p6=function(e){return[e.deltaX,e.deltaY]},m6=function(e){return e&&"current"in e?e.current:e},Tre=function(e,t){return e[0]===t[0]&&e[1]===t[1]},Rre=function(e){return`
2022-09-25 20:24:31 +00:00
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
`)},Are=0,Ih=[];function kre(e){var t=k.exports.useRef([]),n=k.exports.useRef([0,0]),i=k.exports.useRef(),o=k.exports.useState(Are++)[0],c=k.exports.useState(function(){return L8()})[0],u=k.exports.useRef(e);k.exports.useEffect(function(){u.current=e},[e]),k.exports.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var O=y5([e.lockRef.current],(e.shards||[]).map(m6),!0).filter(Boolean);return O.forEach(function(M){return M.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),O.forEach(function(M){return M.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var m=k.exports.useCallback(function(O,M){if("touches"in O&&O.touches.length===2)return!u.current.allowPinchZoom;var B=kx(O),I=n.current,F="deltaX"in O?O.deltaX:I[0]-B[0],z="deltaY"in O?O.deltaY:I[1]-B[1],$,q=O.target,K=Math.abs(F)>Math.abs(z)?"h":"v";if("touches"in O&&K==="h"&&q.type==="range")return!1;var le=f6(K,q);if(!le)return!0;if(le?$=K:($=K==="v"?"h":"v",le=f6(K,q)),!le)return!1;if(!i.current&&"changedTouches"in O&&(F||z)&&(i.current=$),!$)return!0;var me=i.current||$;return _re(me,M,O,me==="h"?F:z,!0)},[]),h=k.exports.useCallback(function(O){var M=O;if(!(!Ih.length||Ih[Ih.length-1]!==c)){var B="deltaY"in M?p6(M):kx(M),I=t.current.filter(function($){return $.name===M.type&&$.target===M.target&&Tre($.delta,B)})[0];if(I&&I.should){M.cancelable&&M.preventDefault();return}if(!I){var F=(u.current.shards||[]).map(m6).filter(Boolean).filter(function($){return $.contains(M.target)}),z=F.length>0?m(M,F[0]):!u.current.noIsolation;z&&M.cancelable&&M.preventDefault()}}},[]),v=k.exports.useCallback(function(O,M,B,I){var F={name:O,delta:M,target:B,should:I};t.current.push(F),setTimeout(function(){t.current=t.current.filter(function(z){return z!==F})},1)},[]),b=k.exports.useCallback(function(O){n.current=kx(O),i.current=void 0},[]),x=k.exports.useCallback(function(O){v(O.type,p6(O),O.target,m(O,e.lockRef.current))},[]),w=k.exports.useCallback(function(O){v(O.type,kx(O),O.target,m(O,e.lockRef.current))},[]);k.exports.useEffect(function(){return Ih.push(c),e.setCallbacks({onScrollCapture:x,onWheelCapture:x,onTouchMoveCapture:w}),document.addEventListener("wheel",h,Mh),document.addEventListener("touchmove",h,Mh),document.addEventListener("touchstart",b,Mh),function(){Ih=Ih.filter(function(O){return O!==c}),document.removeEventListener("wheel",h,Mh),document.removeEventListener("touchmove",h,Mh),document.removeEventListener("touchstart",b,Mh)}},[]);var N=e.removeScrollBar,R=e.inert;return _(hi,{children:[R?_(c,{styles:Rre(o)},void 0,!1,{fileName:d6,lineNumber:144,columnNumber:17},this):null,N?_(bre,{gapMode:"margin"},void 0,!1,{fileName:d6,lineNumber:145,columnNumber:27},this):null]},void 0,!0)}const Ore=ine(I8,kre);var Dre="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/react-remove-scroll/dist/es2015/Combination.js",U8=k.exports.forwardRef(function(e,t){return _(OC,{...fu({},e,{ref:t,sideCar:Ore})},void 0,!1,{fileName:Dre,lineNumber:5,columnNumber:74},this)});U8.classNames=OC.classNames;const Pre=U8;var No="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/@chakra-ui/modal/dist/index.esm.js",nm=(...e)=>e.filter(Boolean).join(" ");function G0(...e){return function(n){e.some(i=>(i?.(n),n?.defaultPrevented))}}var Mre=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}},rA=new Mre;function Ire(e,t){k.exports.useEffect(()=>(t&&rA.add(e),()=>{rA.remove(e)}),[t,e])}function Lre(e){const{isOpen:t,onClose:n,id:i,closeOnOverlayClick:o=!0,closeOnEsc:c=!0,useInert:u=!0,onOverlayClick:m,onEsc:h}=e,v=k.exports.useRef(null),b=k.exports.useRef(null),[x,w,N]=zre(i,"chakra-modal","chakra-modal--header","chakra-modal--body");Fre(v,t&&u),Ire(v,t);const R=k.exports.useRef(null),O=k.exports.useCallback(le=>{R.current=le.target},[]),M=k.exports.useCallback(le=>{le.key==="Escap
2022-09-25 20:24:31 +00:00
45deg,
${t} 25%,
transparent 25%,
transparent 50%,
${t} 50%,
${t} 75%,
transparent 75%,
transparent
)`,backgroundSize:`${e} ${e}`}}function Tie(e){const t=sF().toHexString();return!e||Nie(e)?t:e.string&&e.colors?Aie(e.string,e.colors):e.string&&!e.colors?Rie(e.string):e.colors&&!e.string?kie(e.colors):t}function Rie(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 Aie(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 kie(e){return e[Math.floor(Math.random()*e.length)]}function Be(e,t){return n=>n.colorMode==="dark"?t:e}function cO(e){const{orientation:t,vertical:n,horizontal:i}=e;return t?t==="vertical"?n:i:{}}function Oie(e){const t=typeof e;return e!=null&&(t==="object"||t==="function")&&!Array.isArray(e)}function fF(e){return Oie(e)&&e.reference?e.reference:String(e)}var PC=(e,...t)=>t.map(fF).join(` ${e} `).replace(/calc/g,""),E6=(...e)=>`calc(${PC("+",...e)})`,_6=(...e)=>`calc(${PC("-",...e)})`,iA=(...e)=>`calc(${PC("*",...e)})`,T6=(...e)=>`calc(${PC("/",...e)})`,R6=e=>{const t=fF(e);return t!=null&&!Number.isNaN(parseFloat(t))?String(t).startsWith("-")?String(t).slice(1):`-${t}`:iA(t,-1)},gc=Object.assign(e=>({add:(...t)=>gc(E6(e,...t)),subtract:(...t)=>gc(_6(e,...t)),multiply:(...t)=>gc(iA(e,...t)),divide:(...t)=>gc(T6(e,...t)),negate:()=>gc(R6(e)),toString:()=>e.toString()}),{add:E6,subtract:_6,multiply:iA,divide:T6,negate:R6});function Die(e){return!Number.isInteger(parseFloat(e.toString()))}function Pie(e,t="-"){return e.replace(/\s+/g,t)}function dF(e){const t=Pie(e.toString());return t.includes("\\.")?e:Die(e)?t.replace(".","\\."):e}function Mie(e,t=""){return[t,dF(e)].filter(Boolean).join("-")}function Iie(e,t){return`var(${dF(e)}${t?`, ${t}`:""})`}function Lie(e,t=""){return`--${Mie(e,t)}`}function Ao(e,t){const n=Lie(e,t?.prefix);return{variable:n,reference:Iie(n,Fie(t?.fallback))}}function Fie(e){return typeof e=="string"?e:e?.reference}var{definePartsStyle:zie,defineMultiStyleConfig:Bie}=Pr(Lae.keys),Uie={borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},$ie={transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},jie={pt:"2",px:"4",pb:"5"},Vie={fontSize:"1.25em"},Hie=zie({container:Uie,button:$ie,panel:jie,icon:Vie}),Wie=Bie({baseStyle:Hie}),{definePartsStyle:ib,defineMultiStyleConfig:Gie}=Pr(Fae.keys),Ec=ad("alert-fg"),ob=ad("alert-bg"),Yie=ib({container:{bg:ob.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:Ec.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:Ec.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function fO(e){const{theme:t,colorScheme:n}=e,i=Ma(t,`${n}.100`,n),o=dv(`${n}.200`,.16)(t);return Be(i,o)(e)}var qie=ib(e=>{const{colorScheme:t}=e,n=Be(`${t}.500`,`${t}.200`)(e);return{container:{[ob.variable]:fO(e),[Ec.variable]:`colors.${n}`}}}),Kie=ib(e=>{const{colorScheme:t}=e,n=Be(`${t}.500`,`${t}.200`)(e);return{container:{[ob.variable]:fO(e),[Ec.variable]:`colors.${n}`,paddingStart:"3",borderStartWidth:"4px",borderStartColor:Ec.reference}}}),Xie=ib(e=>{const{colorScheme:t}=e,n=Be(`${t}.500`,`${t}.200`)(e);return{container:{[ob.variable]:fO(e),[Ec.variable]:`colors.${n}`,pt:"2",borderTopWidth:"4px",borderTopColor:Ec.reference}}}),Zie=ib(e=>{const{colorScheme:t}=e,n=Be(`${t}.500`,`${t}.200`)(e),i=Be("white","gray.900")(e);return{container:{[ob.variable]:`colors.${n}`,[Ec.variable]:`colors.${i}`,color:Ec.reference}}}),Qie={subtle:qie,"left-accent":Kie,"top-accent":Xie,solid:Zie},Jie=Gie({baseStyle:Yie,variants:Qie,defaultProps:{variant:"subtle",colorScheme:"blue"}}),pF={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"
2022-09-25 20:24:31 +00:00
to right,
transparent 0%,
${Ma(n,u)} 50%,
transparent 100%
)`;return{...!i&&o&&c,...i?{bgImage:m}:{bgColor:u}}},Hle={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},Wle=e=>({bg:Be("gray.100","whiteAlpha.300")(e)}),Gle=e=>({transitionProperty:"common",transitionDuration:"slow",...Vle(e)}),Yle=Y0(e=>({label:Hle,filledTrack:Gle(e),track:Wle(e)})),qle={xs:Y0({track:{h:"1"}}),sm:Y0({track:{h:"2"}}),md:Y0({track:{h:"3"}}),lg:Y0({track:{h:"4"}})},Kle=jle({sizes:qle,baseStyle:Yle,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Xle,definePartsStyle:t2}=Pr(Qae.keys),Zle=e=>{var t;const n=(t=ra(B2.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"}}}},Qle=t2(e=>{var t,n,i,o;return{label:(n=(t=B2).baseStyle)==null?void 0:n.call(t,e).label,container:(o=(i=B2).baseStyle)==null?void 0:o.call(i,e).container,control:Zle(e)}}),Jle={md:t2({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:t2({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:t2({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},eue=Xle({baseStyle:Qle,sizes:Jle,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:tue,definePartsStyle:nue}=Pr(Jae.keys),rue=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)}}},aue={width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}},iue=nue(e=>({field:rue(e),icon:aue})),Mx={paddingInlineEnd:"8"},O6,D6,P6,M6,I6,L6,F6,z6,oue={lg:{...(O6=ir.sizes)==null?void 0:O6.lg,field:{...(D6=ir.sizes)==null?void 0:D6.lg.field,...Mx}},md:{...(P6=ir.sizes)==null?void 0:P6.md,field:{...(M6=ir.sizes)==null?void 0:M6.md.field,...Mx}},sm:{...(I6=ir.sizes)==null?void 0:I6.sm,field:{...(L6=ir.sizes)==null?void 0:L6.sm.field,...Mx}},xs:{...(F6=ir.sizes)==null?void 0:F6.xs,field:{...(z6=ir.sizes)==null?void 0:z6.sm.field,...Mx},icon:{insetEnd:"1"}}},sue=tue({baseStyle:iue,sizes:oue,variants:ir.variants,defaultProps:ir.defaultProps}),lue=ad("skeleton-start-color"),uue=ad("skeleton-end-color"),cue=e=>{const t=Be("gray.100","gray.800")(e),n=Be("gray.400","gray.600")(e),{startColor:i=t,endColor:o=n,theme:c}=e,u=Ma(c,i),m=Ma(c,o);return{[lue.variable]:u,[uue.variable]:m,opacity:.7,borderRadius:"2px",borderColor:u,background:m}},fue={baseStyle:cue},due=e=>({borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",bg:Be("white","gray.700")(e)}}),pue={baseStyle:due},{defineMultiStyleConfig:mue,definePartsStyle:MC}=Pr(eie.keys),Py=ad("slider-thumb-size"),My=ad("slider-track-size"),hue=e=>{const{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...cO({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},vue=e=>({...cO({orientation:e.orientation,horizontal:{h:My.reference},vertical:{w:My.reference}}),overflow:"hidden",borderRadius:"sm",bg:Be("gray.200","whiteAlpha.200")(e),_disabled:{bg:Be("gray.300","whiteAlpha.300")(e)}}),gue=e=>{const{orientation:t}=e;return{...cO({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:Py.reference,h:Py.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"}}},yue=e=>{const{colorScheme:t}=e;return{width:"inherit",height:"inherit",bg:Be(`${t}.500`,`${t}.200`)(e)}},bue=MC(e=>({container:hue(e),track:vue(e),thumb:gue(e),filledTrack:yue(e)})),Sue=MC({container:{[Py.variable]:"sizes.4",[
2022-09-25 20:24:31 +00:00
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 ede=function(e){Kfe(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,G2([void 0],n[0].concat(this)))):new(t.bind.apply(t,G2([void 0],n.concat(this))))},t}(Array);function gA(e){return _c(e)?kF(e,function(){}):e}var tde="Invariant failed";function cI(e,t){if(!e)throw new Error(tde+": "+(t||""))}function nde(e,t,n,i){return JSON.stringify(e,rde(t,i),n)}function rde(e,t){var n=[],i=[];return t||(t=function(o,c){return n[0]===c?"[Circular ~]":"[Circular ~."+i.slice(0,n.indexOf(c)).join(".")+"]"}),function(o,c){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(c)&&(c=t.call(this,o,c))}else n.push(c);return e==null?c:e.call(this,o,c)}}function ade(e){return typeof e!="object"||e==null||Object.isFrozen(e)}function ide(e,t,n){var i=FF(e,t,n);return{detectMutations:function(){return zF(e,t,i,n)}}}function FF(e,t,n,i){t===void 0&&(t=[]),i===void 0&&(i="");var o={value:n};if(!e(n)){o.children={};for(var c in n){var u=i?i+"."+c:c;t.length&&t.indexOf(u)!==-1||(o.children[c]=FF(e,t,n[c],u))}}return o}function zF(e,t,n,i,o,c){t===void 0&&(t=[]),o===void 0&&(o=!1),c===void 0&&(c="");var u=n?n.value:void 0,m=u===i;if(o&&!m&&!Number.isNaN(i))return{wasMutated:!0,path:c};if(e(u)||e(i))return{wasMutated:!1};var h={};for(var v in n.children)h[v]=!0;for(var v in i)h[v]=!0;for(var v in h){var b=c?c+"."+v:v;if(!(t.length&&t.indexOf(b)!==-1)){var x=zF(e,t,n.children[v],i[v],m,b);if(x.wasMutated)return x}}return{wasMutated:!1}}function ode(e){e===void 0&&(e={});var t=e.isImmutable,n=t===void 0?ade:t,i=e.ignoredPaths,o=e.warnAfter,c=o===void 0?32:o,u=e.ignore;i=i||u;var m=ide.bind(null,n,i);return function(h){var v=h.getState,b=v(),x=m(b),w;return function(N){return function(R){var O=LF(c,"ImmutableStateInvariantMiddleware");O.measureTime(function(){b=v(),w=x.detectMutations(),x=m(b),cI(!w.wasMutated,"A state mutation was detected between dispatches, in the path '"+(w.path||"")+"'. This may cause incorrect behavior. (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")});var M=N(R);return O.measureTime(function(){b=v(),w=x.detectMutations(),x=m(b),w.wasMutated&&cI(!w.wasMutated,"A state mutation was detected inside a dispatch, in the path: "+(w.path||"")+". Take a look at the reducer(s) handling the action "+nde(R)+". (https://redux.js.org/style-guide/style-guide#do-not-mutate-state)")}),O.warnIfExceeded(),M}}}}function BF(e){var t=typeof e;return e==null||t==="string"||t==="boolean"||t==="number"||Array.isArray(e)||IF(e)}function yA(e,t,n,i,o){t===void 0&&(t=""),n===void 0&&(n=BF),o===void 0&&(o=[]);var c;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),m=o.length>0,h=0,v=u;h<v.length;h++){var b=v[h],x=b[0],w=b[1],N=t?t+"."+x:x;if(!(m&&o.indexOf(N)>=0)){if(!n(w))return{keyPath:N,value:w};if(typeof w=="object"&&(c=yA(w,N,n,i,o),c))return c}}return!1}function sde(e){e===void 0&&(e={});var t=e.isSerializable,n=t===void 0?BF:t,i=e.getEntries,o=e.ignoredActions,c=o===void 0?[]:o,u=e.ignoredActionPaths,m=u===void 0?["meta.arg","meta.baseQueryMeta"]:u,h=e.ignoredPaths,v=h===void 0?[]:h,b=e.warnAfter,x=b===void 0?32:b,w=e.ignoreState,N=w===void 0?!1:w,R=e.ignoreActions,O=R===void 0?!1:R;return function(M){return function(B){return function(I){var F=B(I),z=LF(x,"SerializableStateInvariantMiddleware");return!O&&!(c.length&&c.indexOf(I.type)!==-1)&&z.measureTime(function(){var $=yA(I,"",n,i,m);if($){var q=$.keyPath,K=$.value;console.error("A non-seri
Take a look at the logic that dispatched this action: `,I,`
(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)`)}}),N||(z.measureTime(function(){var $=M.getState(),q=yA($,"",n,i,v);if(q){var K=q.keyPath,le=q.value;console.error("A non-serializable value was detected in the state, in the path: `"+K+"`. Value:",le,`
Take a look at the reducer(s) handling this action type: `+I.type+`.
(See https://redux.js.org/faq/organizing-state#can-i-put-functions-promises-or-other-non-serializable-items-in-my-store-state)`)}}),z.warnIfExceeded()),F}}}}function qR(e){return typeof e=="boolean"}function lde(){return function(t){return ude(t)}}function ude(e){e===void 0&&(e={});var t=e.thunk,n=t===void 0?!0:t,i=e.immutableCheck,o=i===void 0?!0:i,c=e.serializableCheck,u=c===void 0?!0:c,m=new ede;n&&(qR(n)?m.push(sI):m.push(sI.withExtraArgument(n.extraArgument)));{if(o){var h={};qR(o)||(h=o),m.unshift(ode(h))}if(u){var v={};qR(u)||(v=u),m.push(sde(v))}}return m}var cde=!1;function fde(e){var t=lde(),n=e||{},i=n.reducer,o=i===void 0?void 0:i,c=n.middleware,u=c===void 0?t():c,m=n.devTools,h=m===void 0?!0:m,v=n.preloadedState,b=v===void 0?void 0:v,x=n.enhancers,w=x===void 0?void 0:x,N;if(typeof o=="function")N=o;else if(IF(o))N=DF(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 R=u;if(typeof R=="function"&&(R=R(t),!Array.isArray(R)))throw new Error("when using a middleware builder function, an array of middleware must be returned");if(R.some(function(F){return typeof F!="function"}))throw new Error("each middleware provided to configureStore must be a function");var O=$fe.apply(void 0,R),M=H2;h&&(M=Jfe(Ly({trace:!cde},typeof h=="object"&&h)));var B=[O];Array.isArray(w)?B=G2([O],w):typeof w=="function"&&(B=w(B));var I=M.apply(void 0,B);return SO(N,b,I)}function ro(e,t){function n(){for(var i=[],o=0;o<arguments.length;o++)i[o]=arguments[o];if(t){var c=t.apply(void 0,i);if(!c)throw new Error("prepareAction did not return an object");return Ly(Ly({type:e,payload:c.payload},"meta"in c&&{meta:c.meta}),"error"in c&&{error:c.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 UF(e){var t={},n=[],i,o={addCase:function(c,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 m=typeof c=="string"?c:c.type;if(m in t)throw new Error("addCase cannot be called with two reducers for the same action type");return t[m]=u,o},addMatcher:function(c,u){if(i)throw new Error("`builder.addMatcher` should only be called before calling `builder.addDefaultCase`");return n.push({matcher:c,reducer:u}),o},addDefaultCase:function(c){if(i)throw new Error("`builder.addDefaultCase` can only be called once");return i=c,o}};return e(o),[t,n,i]}function dde(e){return typeof e=="function"}function pde(e,t,n,i){n===void 0&&(n=[]);var o=typeof t=="function"?UF(t):[t,n,i],c=o[0],u=o[1],m=o[2],h;if(dde(e))h=function(){return gA(e())};else{var v=gA(e);h=function(){return v}}function b(x,w){x===void 0&&(x=h());var N=G2([c[w.type]],u.filter(function(R){var O=R.matcher;return O(w)}).map(function(R){var O=R.reducer;return O}));return N.filter(function(R){return!!R}).length===0&&(N=[m]),N.reduce(function(R,O){if(O)if(rd(R)){var M=R,B=O(M,w);return B===void 0?R:B}else{if(_c(R))return kF(R,function(I){return O(I,w)});var B=O(R,w);if(B===void 0){if(R===null)return R;throw Error("A case reducer on a non-draftable value must not return undefined")}return B}return R},x)}return b.getInitialState=h,b}function mde(e,t){return e+"/"+t}function xO(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:gA(e.initialState),i=e.reducers||{},o=Object.keys(i),c={},u={},m={};o.forEach(function(b){var x=i[b],w=mde(t,b),N,R;"reducer"in x?(N=x.reducer,R=x.prepare):N=x,c[b]=N,u[w]=N,m[b]=R?ro(w,R):ro(w)});function h(){var b=typeof e.extraReducers=="function"?UF(e.extraReducers):[e.extraReducers],x=b[0],w=x===void 0?{}:x,N=b[1],R=N===void 0?[]:N,O=b[2],M=O===void 0?void 0:O,B=Ly(Ly({},w),u);return
2022-09-25 20:24:31 +00:00
* @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=k.exports,t=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function n(F){{for(var z=arguments.length,$=new Array(z>1?z-1:0),q=1;q<z;q++)$[q-1]=arguments[q];i("error",F,$)}}function i(F,z,$){{var q=t.ReactDebugCurrentFrame,K=q.getStackAddendum();K!==""&&(z+="%s",$=$.concat([K]));var le=$.map(function(me){return String(me)});le.unshift("Warning: "+z),Function.prototype.apply.call(console[F],console,le)}}function o(F,z){return F===z&&(F!==0||1/F===1/z)||F!==F&&z!==z}var c=typeof Object.is=="function"?Object.is:o,u=e.useState,m=e.useEffect,h=e.useLayoutEffect,v=e.useDebugValue,b=!1,x=!1;function w(F,z,$){b||e.startTransition!==void 0&&(b=!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=z();if(!x){var K=z();c(q,K)||(n("The result of getSnapshot should be cached to avoid an infinite loop"),x=!0)}var le=u({inst:{value:q,getSnapshot:z}}),me=le[0].inst,se=le[1];return h(function(){me.value=q,me.getSnapshot=z,N(me)&&se({inst:me})},[F,q,z]),m(function(){N(me)&&se({inst:me});var Se=function(){N(me)&&se({inst:me})};return F(Se)},[F]),v(q),q}function N(F){var z=F.getSnapshot,$=F.value;try{var q=z();return!c($,q)}catch{return!0}}function R(F,z,$){return z()}var O=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",M=!O,B=M?R:w,I=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:B;jF.useSyncExternalStore=I,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)})();(function(e){e.exports=jF})($F);var VF={exports:{}},HF={};/**
2022-09-25 20:24:31 +00:00
* @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=k.exports,t=$F.exports;function n(b,x){return b===x&&(b!==0||1/b===1/x)||b!==b&&x!==x}var i=typeof Object.is=="function"?Object.is:n,o=t.useSyncExternalStore,c=e.useRef,u=e.useEffect,m=e.useMemo,h=e.useDebugValue;function v(b,x,w,N,R){var O=c(null),M;O.current===null?(M={hasValue:!1,value:null},O.current=M):M=O.current;var B=m(function(){var $=!1,q,K,le=function(qe){if(!$){$=!0,q=qe;var ae=N(qe);if(R!==void 0&&M.hasValue){var ue=M.value;if(R(ue,ae))return K=ue,ue}return K=ae,ae}var Ee=q,de=K;if(i(Ee,qe))return de;var ie=N(qe);return R!==void 0&&R(de,ie)?de:(q=qe,K=ie,ie)},me=w===void 0?null:w,se=function(){return le(x())},Se=me===null?void 0:function(){return le(me())};return[se,Se]},[x,w,N,R]),I=B[0],F=B[1],z=o(b,I,F);return u(function(){M.hasValue=!0,M.value=z},[z]),h(z),z}HF.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=HF})(VF);function hde(e){e()}let WF=hde;const vde=e=>WF=e,gde=()=>WF,Tc=Pe.createContext(null);Tc.displayName="ReactRedux";function GF(){const e=k.exports.useContext(Tc);if(!e)throw new Error("could not find react-redux context value; please ensure the component is wrapped in a <Provider>");return e}const yde=()=>{throw new Error("uSES not initialized!")};let YF=yde;const bde=e=>{YF=e},Sde=(e,t)=>e===t;function xde(e=Tc){const t=e===Tc?GF:()=>k.exports.useContext(e);return function(i,o=Sde){{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:c,subscription:u,getServerState:m}=t(),h=YF(u.addNestedSub,c.getState,m||c.getState,i,o);return k.exports.useDebugValue(h),h}}const Cde=xde();var wde={exports:{}},fr={};/**
2022-09-25 20:24:31 +00:00
* @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"),c=Symbol.for("react.provider"),u=Symbol.for("react.context"),m=Symbol.for("react.server_context"),h=Symbol.for("react.forward_ref"),v=Symbol.for("react.suspense"),b=Symbol.for("react.suspense_list"),x=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),R=!1,O=!1,M=!1,B=!1,I=!1,F;F=Symbol.for("react.module.reference");function z(ye){return!!(typeof ye=="string"||typeof ye=="function"||ye===n||ye===o||I||ye===i||ye===v||ye===b||B||ye===N||R||O||M||typeof ye=="object"&&ye!==null&&(ye.$$typeof===w||ye.$$typeof===x||ye.$$typeof===c||ye.$$typeof===u||ye.$$typeof===h||ye.$$typeof===F||ye.getModuleId!==void 0))}function $(ye){if(typeof ye=="object"&&ye!==null){var et=ye.$$typeof;switch(et){case e:var Nt=ye.type;switch(Nt){case n:case o:case i:case v:case b:return Nt;default:var lt=Nt&&Nt.$$typeof;switch(lt){case m:case u:case h:case w:case x:case c:return lt;default:return et}}case t:return et}}}var q=u,K=c,le=e,me=h,se=n,Se=w,qe=x,ae=t,ue=o,Ee=i,de=v,ie=b,xe=!1,Ne=!1;function he(ye){return xe||(xe=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ce(ye){return Ne||(Ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Me(ye){return $(ye)===u}function Ie(ye){return $(ye)===c}function Ye(ye){return typeof ye=="object"&&ye!==null&&ye.$$typeof===e}function at(ye){return $(ye)===h}function gt(ye){return $(ye)===n}function Ht(ye){return $(ye)===w}function Ze(ye){return $(ye)===x}function ct(ye){return $(ye)===t}function wt(ye){return $(ye)===o}function zt(ye){return $(ye)===i}function Ge(ye){return $(ye)===v}function Wt(ye){return $(ye)===b}fr.ContextConsumer=q,fr.ContextProvider=K,fr.Element=le,fr.ForwardRef=me,fr.Fragment=se,fr.Lazy=Se,fr.Memo=qe,fr.Portal=ae,fr.Profiler=ue,fr.StrictMode=Ee,fr.Suspense=de,fr.SuspenseList=ie,fr.isAsyncMode=he,fr.isConcurrentMode=Ce,fr.isContextConsumer=Me,fr.isContextProvider=Ie,fr.isElement=Ye,fr.isForwardRef=at,fr.isFragment=gt,fr.isLazy=Ht,fr.isMemo=Ze,fr.isPortal=ct,fr.isProfiler=wt,fr.isStrictMode=zt,fr.isSuspense=Ge,fr.isSuspenseList=Wt,fr.isValidElementType=z,fr.typeOf=$})();(function(e){e.exports=fr})(wde);function Nde(){const e=gde();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,c=n={callback:i,next:null,prev:n};return c.prev?c.prev.next=c:t=c,function(){!o||t===null||(o=!1,c.next?c.next.prev=c.prev:n=c.prev,c.prev?c.prev.next=c.next:t=c.next)}}}}const fI={notify(){},get:()=>[]};function Ede(e,t){let n,i=fI;function o(x){return h(),i.subscribe(x)}function c(){i.notify()}function u(){b.onStateChange&&b.onStateChange()}function m(){return Boolean(n)}function h(){n||(n=t?t.addNestedSub(u):e.subscribe(u),i=Nde())}function v(){n&&(n(),n=void 0,i.clear(),i=fI)}const b={addNestedSub:o,notifyNestedSubs:c,handleChangeWrapper:u,isSubscribed:m,trySubscribe:h,tryUnsubscribe:v,getListeners:()=>i};return b}const _de=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Tde=_de?k.exports.useLayoutEffect:k.exports.useEffect;var Rde="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/react-redux/es/components/Provider.js";function Ade({store:e,context:t,children:n,serverState:i}){const o=k.exports.useMemo(()=>{const m=Ede(e);return{store:e,subscription:m,getServerState:i?()=>i:void 0}},[e,i]),c=k.exports.useMemo(()=>e.getState(),[e]);return Tde(()=>{const{subscription:m}=o;return m.onStateChange=m.notifyNestedSubs,m.trySubscribe(),c!==e.getState()&&m.notifyNestedSubs(),()=>{m.tryUnsubscribe(),m.onStateChange=void 0}},[o,c]),_((t||Tc).Provider,{value:o,children:n},void 0,!1,{fileName:Rde,lineNumber:39,columnNumber:23},this)}function qF(e=Tc){const t=e===Tc?GF:()=>k.exports.useCont
2022-09-25 20:24:31 +00:00
* @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,c="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",u="Expected a function",m="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",v=500,b="__lodash_placeholder__",x=1,w=2,N=4,R=1,O=2,M=1,B=2,I=4,F=8,z=16,$=32,q=64,K=128,le=256,me=512,se=30,Se="...",qe=800,ae=16,ue=1,Ee=2,de=3,ie=1/0,xe=9007199254740991,Ne=17976931348623157e292,he=0/0,Ce=4294967295,Me=Ce-1,Ie=Ce>>>1,Ye=[["ary",K],["bind",M],["bindKey",B],["curry",F],["curryRight",z],["flip",me],["partial",$],["partialRight",q],["rearg",le]],at="[object Arguments]",gt="[object Array]",Ht="[object AsyncFunction]",Ze="[object Boolean]",ct="[object Date]",wt="[object DOMException]",zt="[object Error]",Ge="[object Function]",Wt="[object GeneratorFunction]",ye="[object Map]",et="[object Number]",Nt="[object Null]",lt="[object Object]",xn="[object Promise]",$n="[object Proxy]",Lt="[object RegExp]",an="[object Set]",On="[object String]",gn="[object Symbol]",He="[object Undefined]",Je="[object WeakMap]",tn="[object WeakSet]",kt="[object ArrayBuffer]",Oe="[object DataView]",Yt="[object Float32Array]",_n="[object Float64Array]",je="[object Int8Array]",it="[object Int16Array]",_t="[object Int32Array]",hn="[object Uint8Array]",Qt="[object Uint8ClampedArray]",Tn="[object Uint16Array]",Ln="[object Uint32Array]",kr=/\b__p \+= '';/g,Dn=/\b(__p \+=) '' \+/g,va=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jn=/&(?:amp|lt|gt|quot|#39);/g,Rn=/[&<>"']/g,ga=RegExp(jn.source),Sr=RegExp(Rn.source),ko=/<%-([\s\S]+?)%>/g,as=/<%([\s\S]+?)%>/g,is=/<%=([\s\S]+?)%>/g,Oo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Do=/^\w*$/,vr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ia=/[\\^$.*+?()[\]{}|]/g,Fi=RegExp(Ia.source),La=/^\s+/,X=/\s/,Ue=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ke=/\{\n\/\* \[wrapped with (.+)\] \*/,Ct=/,? & /,on=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Cn=/[()=,{}\[\]\/\s]/,nt=/\\(\\)?/g,qt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Vn=/\w*$/,Bn=/^[-+]0x[0-9a-f]+$/i,ln=/^0b[01]+$/i,Ur=/^\[object .+?Constructor\]$/,vi=/^0o[0-7]+$/i,Po=/^(?:0|[1-9]\d*)$/,ya=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,oo=/($^)/,Nu=/['\n\r\u2028\u2029\\]/g,gi="\\ud800-\\udfff",Hs="\\u0300-\\u036f",zi="\\ufe20-\\ufe2f",Jt="\\u20d0-\\u20ff",Bi=Hs+zi+Jt,ba="\\u2700-\\u27bf",Mo="a-z\\xdf-\\xf6\\xf8-\\xff",os="\\xac\\xb1\\xd7\\xf7",Io="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ss="\\u2000-\\u206f",ls=" \\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",Lo="A-Z\\xc0-\\xd6\\xd8-\\xde",Fo="\\ufe0e\\ufe0f",us=os+Io+ss+ls,Ws="['\u2019]",Gs="["+gi+"]",yi="["+us+"]",Mr="["+Bi+"]",Fa="\\d+",Sa="["+ba+"]",za="["+Mo+"]",cs="[^"+gi+us+Fa+ba+Mo+Lo+"]",zo="\\ud83c[\\udffb-\\udfff]",fs="(?:"+Mr+"|"+zo+")",Ml="[^"+gi+"]",xa="(?:\\ud83c[\\udde6-\\uddff]){2}",Bo="[\\ud800-\\udbff][\\udc00-\\udfff]",Ba="["+Lo+"]",bi="\\u200d",Ys="(?:"+za+"|"+cs+")",un="(?:"+Ba+"|"+cs+")",Si="(?:"+Ws+"(?:d|ll|m|re|s|t|ve))?",Uo="(?:"+Ws+"(?:D|LL|M|RE|S|T|VE))?",$t=fs+"?",qs="["+Fo+"]?",xr="(?:"+bi+"(?:"+[Ml,xa,Bo].join("|")+")"+qs+$t+")*",Ui="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ya="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",so=qs+$t+xr,_r="(?:"+[Sa,xa,Bo].join("|")+")"+so,or="(?:"+[Ml+Mr+"?",Mr,xa,Bo,Gs].join("|")+")",$o=RegExp(Ws,"g"),Kr=RegExp(Mr,"g"),pr=RegExp(zo+"(?="+zo+")|"+or+so,"g"),aa=RegExp([Ba+"?"+za+"+"+Si+"(?="+[yi,Ba,"$"].join("|")+")",un+"+"+Uo+"(?="+[yi,Ba+Ys,"$"].join("|")+")",Ba+"?"+Ys+"+"+Si,Ba+"+"+Uo,Ya,Ui,Fa,_r].join("|"),"g"),Eu=RegExp("["+bi+gi+Bi+Fo+"]"),lo=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,xi=["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"],Ks
2022-09-25 20:24:31 +00:00
/* [wrapped with `+d+`] */
`)}function og(l){return sn(l)||Wu(l)||!!(Ic&&l&&l[Ic])}function ws(l,d){var g=typeof l;return d=d??xe,!!d&&(g=="number"||g!="symbol"&&Po.test(l))&&l>-1&&l%1==0&&l<d}function ua(l,d,g){if(!wr(g))return!1;var E=typeof d;return(E=="number"?Jr(g)&&ws(d,g.length):E=="string"&&d in g)?Yo(g[d],l):!1}function Lm(l,d){if(sn(l))return!1;var g=typeof l;return g=="number"||g=="symbol"||g=="boolean"||l==null||Nn(l)?!0:Do.test(l)||!Oo.test(l)||d!=null&&l in Jn(d)}function vw(l){var d=typeof l;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?l!=="__proto__":l===null}function sg(l){var d=Fd(l),g=L[d];if(typeof g!="function"||!(d in An.prototype))return!1;if(l===g)return!0;var E=ig(g);return!!E&&l===E[0]}function lg(l){return!!vb&&vb in l}var gw=lm?Ts:Xg;function nf(l){var d=l&&l.constructor,g=typeof d=="function"&&d.prototype||Pc;return l===g}function Zb(l){return l===l&&!wr(l)}function ug(l,d){return function(g){return g==null?!1:g[l]===d&&(d!==n||l in Jn(g))}}function yw(l){var d=Gm(l,function(E){return g.size===v&&g.clear(),E}),g=d.cache;return d}function Qb(l,d){var g=l[1],E=d[1],P=g|E,j=P<(M|B|K),Y=E==K&&g==F||E==K&&g==le&&l[7].length<=d[8]||E==(K|le)&&d[7].length<=d[8]&&g==F;if(!(j||Y))return l;E&M&&(l[2]=d[2],P|=g&M?0:I);var Z=d[3];if(Z){var oe=l[3];l[3]=oe?Zc(oe,Z,d[4]):Z,l[4]=oe?Ll(l[3],b):d[4]}return Z=d[5],Z&&(oe=l[5],l[5]=oe?tg(oe,Z,d[6]):Z,l[6]=oe?Ll(l[5],b):d[6]),Z=d[7],Z&&(l[7]=Z),E&K&&(l[8]=l[8]==null?d[8]:ia(l[8],d[8])),l[9]==null&&(l[9]=d[9]),l[0]=d[0],l[1]=P,l}function bw(l){var d=[];if(l!=null)for(var g in Jn(l))d.push(g);return d}function cg(l){return pd.call(l)}function Bd(l,d,g){return d=$r(d===n?l.length-1:d,0),function(){for(var E=arguments,P=-1,j=$r(E.length-d,0),Y=be(j);++P<j;)Y[P]=E[d+P];P=-1;for(var Z=be(d+1);++P<d;)Z[P]=E[P];return Z[d]=g(Y),yt(l,this,Z)}}function ll(l,d){return d.length<2?l:Na(l,Vr(d,0,-1))}function Vl(l,d){for(var g=l.length,E=ia(d.length,g),P=sa(l);E--;){var j=d[E];l[E]=ws(j,g)?P[j]:n}return l}function Ns(l,d){if(!(d==="constructor"&&typeof l[d]=="function")&&d!="__proto__")return l[d]}var rf=e1(Qr),ul=Lc||function(l,d){return Kt.setTimeout(l,d)},Es=e1(Gt);function Jb(l,d,g){var E=d+"";return Es(l,hw(E,t1(zd(E),g)))}function e1(l){var d=0,g=0;return function(){var E=ZC(),P=ae-(E-g);if(g=E,P>0){if(++d>=qe)return arguments[0]}else d=0;return l.apply(n,arguments)}}function Fm(l,d){var g=-1,E=l.length,P=E-1;for(d=d===n?E:d;++g<d;){var j=co(g,P),Y=l[j];l[j]=l[g],l[g]=Y}return l.length=d,l}var fg=yw(function(l){var d=[];return l.charCodeAt(0)===46&&d.push(""),l.replace(vr,function(g,E,P,j){d.push(P?j.replace(nt,"$1"):E||g)}),d});function _i(l){if(typeof l=="string"||Nn(l))return l;var d=l+"";return d=="0"&&1/l==-ie?"-0":d}function Vu(l){if(l!=null){try{return um.call(l)}catch{}try{return l+""}catch{}}return""}function t1(l,d){return Tt(Ye,function(g){var E="_."+g[0];d&g[1]&&!jo(l,E)&&l.push(E)}),l.sort()}function n1(l){if(l instanceof An)return l.clone();var d=new uo(l.__wrapped__,l.__chain__);return d.__actions__=sa(l.__actions__),d.__index__=l.__index__,d.__values__=l.__values__,d}function zm(l,d,g){(g?ua(l,d,g):d===n)?d=1:d=$r(rn(d),0);var E=l==null?0:l.length;if(!E||d<1)return[];for(var P=0,j=0,Y=be(Qs(E/d));P<E;)Y[j++]=Vr(l,P,P+=d);return Y}function r1(l){for(var d=-1,g=l==null?0:l.length,E=0,P=[];++d<g;){var j=l[d];j&&(P[E++]=j)}return P}function Sw(){var l=arguments.length;if(!l)return[];for(var d=be(l-1),g=arguments[0],E=l;E--;)d[E-1]=arguments[E];return wi(sn(g)?sa(g):[g],wa(d,1))}var Ud=yn(function(l,d){return Tr(l)?Or(l,wa(d,1,Tr,!0)):[]}),$d=yn(function(l,d){var g=po(d);return Tr(g)&&(g=n),Tr(l)?Or(l,wa(d,1,Tr,!0),Pt(g,2)):[]}),af=yn(function(l,d){var g=po(d);return Tr(g)&&(g=n),Tr(l)?Or(l,wa(d,1,Tr,!0),n,g):[]});function dg(l,d,g){var E=l==null?0:l.length;return E?(d=g||d===n?1:rn(d),Vr(l,d<0?0:d,E)):[]}function a1(l,d,g){var E=l==null?0:l.length;return E?(d=g||d===n?1:rn(d),d=E-d,Vr(l,0,d<0?0:d)):[]}function xw(l,d){return l&&l.length?qc(l,Pt(d,3),!0,!0):[]}function Cw(l,d){return l&&l.length?qc(l,Pt(d,3),!0):[]}function ww(l,d,g,E){var P=l==null?0:l.length;return P?(
`;l.replace(Qe,function(Ut,bn,kn,Va,yr,ei){return kn||(kn=Va),Le+=l.slice(De,ei).replace(Nu,Ev),bn&&(Z=!0,Le+=`' +
2022-09-25 20:24:31 +00:00
__e(`+bn+`) +
'`),yr&&(oe=!0,Le+=`';
`+yr+`;
__p += '`),kn&&(Le+=`' +
((__t = (`+kn+`)) == null ? '' : __t) +
'`),De=ei+Ut.length,Ut}),Le+=`';
2022-09-25 20:24:31 +00:00
`;var Mt=er.call(d,"variable")&&d.variable;if(!Mt)Le=`with (obj) {
`+Le+`
}
`;else if(Cn.test(Mt))throw new nn(m);Le=(oe?Le.replace(kr,""):Le).replace(Dn,"$1").replace(va,"$1;"),Le="function("+(Mt||"obj")+`) {
2022-09-25 20:24:31 +00:00
`+(Mt?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(Z?", __e = _.escape":"")+(oe?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Le+`return __p
}`;var pn=Z1(function(){return Kn(j,vt+"return "+Le).apply(n,Y)});if(pn.source=Le,Hl(pn))throw pn;return pn}function nE(l){return Zn(l).toLowerCase()}function Bg(l){return Zn(l).toUpperCase()}function rE(l,d,g){if(l=Zn(l),l&&(g||d===n))return ms(l);if(!l||!(d=Za(d)))return l;var E=Ho(l),P=Ho(d),j=cd(E,P),Y=cb(E,P)+1;return xs(E,j,Y).join("")}function Ug(l,d,g){if(l=Zn(l),l&&(g||d===n))return l.slice(0,mb(l)+1);if(!l||!(d=Za(d)))return l;var E=Ho(l),P=cb(E,Ho(d))+1;return xs(E,0,P).join("")}function X1(l,d,g){if(l=Zn(l),l&&(g||d===n))return l.replace(La,"");if(!l||!(d=Za(d)))return l;var E=Ho(l),P=cd(E,Ho(d));return xs(E,P).join("")}function aE(l,d){var g=se,E=Se;if(wr(d)){var P="separator"in d?d.separator:P;g="length"in d?rn(d.length):g,E="omission"in d?Za(d.omission):E}l=Zn(l);var j=l.length;if(kc(l)){var Y=Ho(l);j=Y.length}if(g>=j)return l;var Z=g-Au(E);if(Z<1)return E;var oe=Y?xs(Y,0,Z).join(""):l.slice(0,Z);if(P===n)return oe+E;if(Y&&(Z+=oe.length-Z),Km(P)){if(l.slice(Z).search(P)){var De,Ae=oe;for(P.global||(P=Xs(P.source,Zn(Vn.exec(P))+"g")),P.lastIndex=0;De=P.exec(Ae);)var Le=De.index;oe=oe.slice(0,Le===n?Z:Le)}}else if(l.indexOf(Za(P),Z)!=Z){var Qe=oe.lastIndexOf(P);Qe>-1&&(oe=oe.slice(0,Qe))}return oe+E}function iE(l){return l=Zn(l),l&&ga.test(l)?l.replace(jn,HC):l}var oE=Jc(function(l,d,g){return l+(g?" ":"")+d.toUpperCase()}),$g=Wb("toUpperCase");function jg(l,d,g){return l=Zn(l),d=g?n:d,d===n?VC(l)?YC(l):wv(l):l.match(d)||[]}var Z1=yn(function(l,d){try{return yt(l,n,d)}catch(g){return Hl(g)?g:new nn(g)}}),sE=sl(function(l,d){return Tt(d,function(g){g=_i(g),gs(l,g,Wm(l[g],l))}),l});function lE(l){var d=l==null?0:l.length,g=Pt();return l=d?Pn(l,function(E){if(typeof E[1]!="function")throw new $i(u);return[g(E[0]),E[1]]}):[],yn(function(E){for(var P=-1;++P<d;){var j=l[P];if(yt(j[0],this,E))return yt(j[1],this,E)}})}function uE(l){return tw(ji(l,x))}function Vg(l){return function(){return l}}function cE(l,d){return l==null||l!==l?d:l}var fE=Gb(),Hg=Gb(!0);function Ai(l){return l}function Wg(l){return Fb(typeof l=="function"?l:ji(l,x))}function dE(l){return Bb(ji(l,x))}function pE(l,d){return qv(l,ji(d,x))}var mE=yn(function(l,d){return function(g){return Nd(g,l,d)}}),hE=yn(function(l,d){return function(g){return Nd(l,g,d)}});function Gg(l,d,g){var E=ca(d),P=Vi(d,E);g==null&&!(wr(d)&&(P.length||!E.length))&&(g=d,d=l,l=this,P=Vi(d,ca(d)));var j=!(wr(g)&&"chain"in g)||!!g.chain,Y=Ts(l);return Tt(P,function(Z){var oe=d[Z];l[Z]=oe,Y&&(l.prototype[Z]=function(){var De=this.__chain__;if(j||De){var Ae=l(this.__wrapped__),Le=Ae.__actions__=sa(this.__actions__);return Le.push({func:oe,args:arguments,thisArg:l}),Ae.__chain__=De,Ae}return oe.apply(l,wi([this.value()],arguments))})}),l}function vE(){return Kt._===this&&(Kt._=gb),this}function Yg(){}function Q1(l){return l=rn(l),yn(function(d){return $b(d,l)})}var qg=rg(Pn),gE=rg(Ci),yE=rg(Cv);function lp(l){return Lm(l)?ld(_i(l)):wn(l)}function up(l){return function(d){return l==null?n:Na(l,d)}}var bE=ag(),SE=ag(!0);function Kg(){return[]}function Xg(){return!1}function xE(){return{}}function CE(){return""}function wE(){return!0}function J1(l,d){if(l=rn(l),l<1||l>xe)return[];var g=Ce,E=ia(l,Ce);d=Pt(d),l-=Ce;for(var P=om(E,d);++g<l;)d(g);return P}function NE(l){return sn(l)?Pn(l,_i):Nn(l)?[l]:sa(fg(Zn(l)))}function EE(l){var d=++hb;return Zn(l)+d}var _E=Dm(function(l,d){return l+d},0),TE=ol("ceil"),RE=Dm(function(l,d){return l/d},1),AE=ol("floor");function kE(l){return l&&l.length?ys(l,Ai,jv):n}function OE(l,d){return l&&l.length?ys(l,Pt(d,2),jv):n}function DE(l){return ub(l,Ai)}function PE(l,d){return ub(l,Pt(d,2))}function ME(l){return l&&l.length?ys(l,Ai,Yv):n}function IE(l,d){return l&&l.length?ys(l,Pt(d,2),Yv):n}var LE=Dm(function(l,d){return l*d},1),FE=ol("round"),zE=Dm(function(l,d){return l-d},0);function BE(l){return l&&l.length?Ac(l,Ai):0}function mf(l,d){return l&&l.length?Ac(l,Pt(d,2)):0}return L.after=fN,L.ary=wg,L.assign=Ti,L.assignIn=ff,L.assignInWith=qu,L.assignWith=Yl,L.at=B1,L.before=E1,L.bind=Wm,L.bindAll=sE,L.bindKey=Ng,L.castArray=O1,L.chain=v1,L.chunk=z
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function sve(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function lve(e){if(Array.isArray(e))return LA(e)}function $I(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 jI(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?$I(Object(n),!0).forEach(function(i){Hz(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$I(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function Hz(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zy(e,t){return fve(e)||cve(e,t)||Wz(e,t)||uve()}function uve(){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 Wz(e,t){if(!!e){if(typeof e=="string")return LA(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 LA(e,t)}}function LA(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 cve(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,c=!1,u,m;try{for(n=n.call(e);!(o=(u=n.next()).done)&&(i.push(u.value),!(t&&i.length===t));o=!0);}catch(h){c=!0,m=h}finally{try{!o&&n.return!=null&&n.return()}finally{if(c)throw m}}return i}}function fve(e){if(Array.isArray(e))return e}var dve="file-invalid-type",pve="file-too-large",mve="file-too-small",hve="too-many-files",vve=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:dve,message:"File type must be ".concat(n)}},VI=function(t){return{code:pve,message:"File is larger than ".concat(t," ").concat(t===1?"byte":"bytes")}},HI=function(t){return{code:mve,message:"File is smaller than ".concat(t," ").concat(t===1?"byte":"bytes")}},gve={code:hve,message:"Too many files"};function Gz(e,t){var n=e.type==="application/x-moz-file"||ive(e,t);return[n,n?null:vve(t)]}function Yz(e,t,n){if(Bp(e.size))if(Bp(t)&&Bp(n)){if(e.size>n)return[!1,VI(n)];if(e.size<t)return[!1,HI(t)]}else{if(Bp(t)&&e.size<t)return[!1,HI(t)];if(Bp(n)&&e.size>n)return[!1,VI(n)]}return[!0,null]}function Bp(e){return e!=null}function yve(e){var t=e.files,n=e.accept,i=e.minSize,o=e.maxSize,c=e.multiple,u=e.maxFiles,m=e.validator;return!c&&t.length>1||c&&u>=1&&t.length>u?!1:t.every(function(h){var v=Gz(h,n),b=zy(v,1),x=b[0],w=Yz(h,i,o),N=zy(w,1),R=N[0],O=m?m(h):null;return x&&R&&!O})}function X2(e){return typeof e.isPropagationStopped=="function"?e.isPropagationStopped():typeof e.cancelBubble<"u"?e.cancelBubble:!1}function $x(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 WI(e){e.preventDefault()}function bve(e){return e.indexOf("MSIE")!==-1||e.indexOf("Trident/")!==-1}function Sve(e){return e.indexOf("Edge/")!==-1}function xve(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window.navigator.userAgent;return bve(e)||Sve(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,c=new Array(o>1?o-1:0),u=1;u<o;u++)c[u-1]=arguments[u];return t.some(function(m){return!X2(i)&&m&&m.apply(void 0,[i].concat(c)),X2(i)})}}function Cve(){return"showOpenFilePicker"in window}function wve(e){if(Bp(e)){var t=Object.entries(e).filter(function(n){var i=zy(n,2),o=i[0],c=i[1],u=!0;return qz(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(c)||!c.every(Kz))&&(console.warn('Skipped "'.concat(o,'" because an invalid file extension was provided.')),u=!1),u}).reduce(function(n,i){var o=zy(i,2),c=o[0],u=o[1];return jI(jI({},n),{},Hz({},c,u))},{});return[{accept:t}]}return e}function Nve(e){if(Bp(e))return Object.entries(e).reduce(function(t,n){var i=zy(n,2),o=i[0],c=i[1];return[].concat(UI(t),[o],UI(c))},[]).filter(function(t){return qz(t)||Kz(t)}).join(",")}function Eve(e){return e instanceof DOMException&&(e.name==="AbortError"||e.code===e.ABORT_ERR)}function _ve(e){return e instanceof DOMException&&(e.name==="SecurityError"||e.code===e.SECURITY_ERR)}function qz(e){return e==="audio/*"||e==="video/*"||e==="image/*"||e==="text/*"||/\w+\/[-+.\w]+/g.test(e)}function Kz(e){return/^.*\.[\w]+$/.test(e)}var Tve="/Users/spencer/Documents/Code/stable-diffusion/frontend/node_modules/react-dropzone/dist/es/index.js",Rve=["children"],Ave=
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Mve(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ive(e){if(Array.isArray(e))return FA(e)}function ZR(e,t){return zve(e)||Fve(e,t)||Xz(e,t)||Lve()}function Lve(){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 Xz(e,t){if(!!e){if(typeof e=="string")return FA(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 FA(e,t)}}function FA(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 Fve(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var i=[],o=!0,c=!1,u,m;try{for(n=n.call(e);!(o=(u=n.next()).done)&&(i.push(u.value),!(t&&i.length===t));o=!0);}catch(h){c=!0,m=h}finally{try{!o&&n.return!=null&&n.return()}finally{if(c)throw m}}return i}}function zve(e){if(Array.isArray(e))return e}function GI(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,i)}return n}function Fr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?GI(Object(n),!0).forEach(function(i){zA(e,i,n[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GI(Object(n)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))})}return e}function zA(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Z2(e,t){if(e==null)return{};var n=Bve(e,t),i,o;if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(e);for(o=0;o<c.length;o++)i=c[o],!(t.indexOf(i)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,i)||(n[i]=e[i]))}return n}function Bve(e,t){if(e==null)return{};var n={},i=Object.keys(e),o,c;for(c=0;c<i.length;c++)o=i[c],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}var DO=k.exports.forwardRef(function(e,t){var n=e.children,i=Z2(e,Rve),o=Qz(i),c=o.open,u=Z2(o,Ave);return k.exports.useImperativeHandle(t,function(){return{open:c}},[c]),_(k.exports.Fragment,{children:n(Fr(Fr({},u),{},{open:c}))},void 0,!1,{fileName:Tve,lineNumber:70,columnNumber:23},this)});DO.displayName="Dropzone";var Zz={disabled:!1,getFilesFromEvent:Xhe,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};DO.defaultProps=Zz;DO.propTypes={children:At.exports.func,accept:At.exports.objectOf(At.exports.arrayOf(At.exports.string)),multiple:At.exports.bool,preventDropOnDocument:At.exports.bool,noClick:At.exports.bool,noKeyboard:At.exports.bool,noDrag:At.exports.bool,noDragEventsBubbling:At.exports.bool,minSize:At.exports.number,maxSize:At.exports.number,maxFiles:At.exports.number,disabled:At.exports.bool,getFilesFromEvent:At.exports.func,onFileDialogCancel:At.exports.func,onFileDialogOpen:At.exports.func,useFsAccessApi:At.exports.bool,autoFocus:At.exports.bool,onDragEnter:At.exports.func,onDragLeave:At.exports.func,onDragOver:At.exports.func,onDrop:At.exports.func,onDropAccepted:At.exports.func,onDropRejected:At.exports.func,onError:At.exports.func,validator:At.exports.func};var BA={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function Qz(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Fr(Fr({},Zz),e),n=t.accept,i=t.disabled,o=t.getFilesFromEvent,c=t.maxSize,u=t.minSize,m=t.multiple,h=t.maxFiles,v=t.onDragEnter,b=t.onDragLeave,x=t.onDragOver,w=t.onDrop,N=t.onDropAccepted,R=t.onDropRejected,O=t.onFileDialogCancel,M=t.onFileDialogOpen,B=t.useFsAccessApi,I=t.autoFocus,F=t.preventDropOnDocument,z=t.noClick,$=t.noKeyboard,q=t.noDrag,K=t.noDragEventsBubbling,le=t.onError,me=t.validator,se=k.exports.useMemo(function(){return Nve(n)},[n]),Se=k.exports.useMemo(function(){return wve(n)},[n]),qe=k.exports.useMemo(function(){return typeof M=="function"?M:YI},[M]),ae=k.exports.useMemo(function(){return typeof O=="function"?O:YI},
`+B.message,"");o({title:"Upload failed",description:O,status:"error",isClosable:!0})},[o]);return _(Sn,{gap:2,justifyContent:"space-between",width:"100%",children:[_(KI,{fileAcceptedCallback:x,fileRejectionCallback:N,children:_(Dl,{size:"sm",fontSize:"md",fontWeight:"normal",onMouseOver:m,onMouseOut:h,leftIcon:_(LI,{},void 0,!1,{fileName:Nl,lineNumber:107,columnNumber:21},void 0),width:"100%",children:"Image"},void 0,!1,{fileName:Nl,lineNumber:101,columnNumber:9},void 0)},void 0,!1,{fileName:Nl,lineNumber:97,columnNumber:7},void 0),_(wo,{isDisabled:!n,size:"sm","aria-label":"Reset mask",onClick:c,icon:_(II,{},void 0,!1,{fileName:Nl,lineNumber:119,columnNumber:15},void 0)},void 0,!1,{fileName:Nl,lineNumber:114,columnNumber:7},void 0),_(KI,{fileAcceptedCallback:w,fileRejectionCallback:N,children:_(Dl,{isDisabled:!n,size:"sm",fontSize:"md",fontWeight:"normal",onMouseOver:v,onMouseOut:b,leftIcon:_(LI,{},void 0,!1,{fileName:Nl,lineNumber:133,columnNumber:21},void 0),width:"100%",children:"Mask"},void 0,!1,{fileName:Nl,lineNumber:126,columnNumber:9},void 0)},void 0,!1,{fileName:Nl,lineNumber:122,columnNumber:7},void 0),_(wo,{isDisabled:!i,size:"sm","aria-label":"Reset mask",onClick:u,icon:_(II,{},void 0,!1,{fileName:Nl,lineNumber:145,columnNumber:15},void 0)},void 0,!1,{fileName:Nl,lineNumber:140,columnNumber:7},void 0)]},void 0,!0,{fileName:Nl,lineNumber:96,columnNumber:5},void 0)};var H0="/Users/spencer/Documents/Code/stable-diffusion/frontend/src/features/options/InitAndMaskImage.tsx";const Vve=Br(e=>e.options,e=>({initialImagePath:e.initialImagePath,maskPath:e.maskPath}),{memoizeOptions:{resultEqualityCheck:Yr.exports.isEqual}}),Hve=()=>{const{initialImagePath:e,maskPath:t}=mr(Vve),[n,i]=k.exports.useState(!1);return _(Sn,{direction:"column",alignItems:"center",gap:2,children:[_(jve,{setShouldShowMask:i},void 0,!1,{fileName:H0,lineNumber:31,columnNumber:7},void 0),e&&_(Sn,{position:"relative",width:"100%",children:[_(Ey,{fit:"contain",src:e,rounded:"md",className:"checkerboard"},void 0,!1,{fileName:H0,lineNumber:34,columnNumber:11},void 0),n&&t&&_(Ey,{position:"absolute",top:0,left:0,fit:"contain",src:t,rounded:"md",zIndex:1},void 0,!1,{fileName:H0,lineNumber:41,columnNumber:13},void 0)]},void 0,!0,{fileName:H0,lineNumber:33,columnNumber:9},void 0)]},void 0,!0,{fileName:H0,lineNumber:30,columnNumber:5},void 0)};var jx="/Users/spencer/Documents/Code/stable-diffusion/frontend/src/features/options/ImageToImageOptions.tsx";const Wve=Br(e=>e.options,e=>({img2imgStrength:e.img2imgStrength,shouldFitToWidthHeight:e.shouldFitToWidthHeight})),Gve=()=>{const e=Ga(),{img2imgStrength:t,shouldFitToWidthHeight:n}=mr(Wve);return _(Sn,{direction:"column",gap:2,children:[_(Zf,{label:"Strength",step:.01,min:0,max:1,onChange:c=>e(uz(Number(c))),value:t},void 0,!1,{fileName:jx,lineNumber:41,columnNumber:7},void 0),_(Y2,{label:"Fit initial image to output size",isChecked:n,onChange:c=>e(cz(c.target.checked))},void 0,!1,{fileName:jx,lineNumber:49,columnNumber:7},void 0),_(Hve,{},void 0,!1,{fileName:jx,lineNumber:54,columnNumber:7},void 0)]},void 0,!0,{fileName:jx,lineNumber:40,columnNumber:5},void 0)};var Lp=(e=>(e[e.PROMPT=0]="PROMPT",e[e.GALLERY=1]="GALLERY",e[e.OUTPUT=2]="OUTPUT",e[e.SEED_AND_VARIATION=3]="SEED_AND_VARIATION",e[e.ESRGAN=4]="ESRGAN",e[e.FACE_CORRECTION=5]="FACE_CORRECTION",e[e.IMAGE_TO_IMAGE=6]="IMAGE_TO_IMAGE",e[e.SAMPLER=7]="SAMPLER",e))(Lp||{});const Yve={[0]:{text:"This field will take all prompt text, including both content and stylistic terms. CLI Commands will not work in the prompt.",href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[1]:{text:"As new invocations are generated, files from the output directory will be displayed here. Generations have additional options to configure new generations.",href:"link/to/docs/feature3.html",guideImage:"asset/path.gif"},[2]:{text:"The Height and Width of generations can be controlled here. If you experience errors, you may be generating an image too large for your system. The seamless option will more often result in repeating patterns in outputs.",href:"link/to/do
2022-09-25 20:24:31 +00:00
"header header header header"
"progressBar progressBar progressBar progressBar"
"menu prompt processButtons imageRoll"
"menu currentImage currentImage imageRoll"`,gridTemplateRows:"36px 10px 100px auto",gridTemplateColumns:"350px auto 100px 388px",gap:2,children:[_(Ff,{area:"header",pt:1,children:_(Mhe,{},void 0,!1,{fileName:fi,lineNumber:39,columnNumber:11},void 0)},void 0,!1,{fileName:fi,lineNumber:38,columnNumber:9},void 0),_(Ff,{area:"progressBar",children:_(Ahe,{},void 0,!1,{fileName:fi,lineNumber:42,columnNumber:11},void 0)},void 0,!1,{fileName:fi,lineNumber:41,columnNumber:9},void 0),_(Ff,{pl:"2",area:"menu",overflowY:"scroll",children:_(Qve,{},void 0,!1,{fileName:fi,lineNumber:45,columnNumber:11},void 0)},void 0,!1,{fileName:fi,lineNumber:44,columnNumber:9},void 0),_(Ff,{area:"prompt",children:_(ige,{},void 0,!1,{fileName:fi,lineNumber:48,columnNumber:11},void 0)},void 0,!1,{fileName:fi,lineNumber:47,columnNumber:9},void 0),_(Ff,{area:"processButtons",children:_(rge,{},void 0,!1,{fileName:fi,lineNumber:51,columnNumber:11},void 0)},void 0,!1,{fileName:fi,lineNumber:50,columnNumber:9},void 0),_(Ff,{area:"currentImage",children:_(whe,{},void 0,!1,{fileName:fi,lineNumber:54,columnNumber:11},void 0)},void 0,!1,{fileName:fi,lineNumber:53,columnNumber:9},void 0),_(Ff,{pr:"2",area:"imageRoll",overflowY:"scroll",children:_(_he,{},void 0,!1,{fileName:fi,lineNumber:57,columnNumber:11},void 0)},void 0,!1,{fileName:fi,lineNumber:56,columnNumber:9},void 0)]},void 0,!0,{fileName:fi,lineNumber:26,columnNumber:7},void 0),_(lge,{},void 0,!1,{fileName:fi,lineNumber:60,columnNumber:7},void 0)]},void 0,!0):_(Mz,{},void 0,!1,{fileName:fi,lineNumber:63,columnNumber:5},void 0)};var kp="/Users/spencer/Documents/Code/stable-diffusion/frontend/src/main.tsx";const Jz=Qde(Dz);t5.createRoot(document.getElementById("root")).render(_(Pe.StrictMode,{children:_(Ade,{store:Dz,children:_(Pz,{loading:_(Mz,{},void 0,!1,{fileName:kp,lineNumber:18,columnNumber:29},void 0),persistor:Jz,children:_(xfe,{theme:OI,children:[_(nV,{initialColorMode:OI.config.initialColorMode},void 0,!1,{fileName:kp,lineNumber:20,columnNumber:11},void 0),_(uge,{},void 0,!1,{fileName:kp,lineNumber:21,columnNumber:11},void 0)]},void 0,!0,{fileName:kp,lineNumber:19,columnNumber:9},void 0)},void 0,!1,{fileName:kp,lineNumber:18,columnNumber:7},void 0)},void 0,!1,{fileName:kp,lineNumber:17,columnNumber:5},void 0)},void 0,!1,{fileName:kp,lineNumber:16,columnNumber:3},void 0));