easydiffusion/ui/frontend/dist/index.js

84 lines
232 KiB
JavaScript
Raw Normal View History

2022-09-18 21:21:39 +02:00
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerpolicy&&(o.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?o.credentials="include":i.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function ac(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var N={exports:{}},A={};/**
2022-09-14 16:48:46 +02:00
* @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.
2022-09-18 21:21:39 +02:00
*/var Ir=Symbol.for("react.element"),bd=Symbol.for("react.portal"),eh=Symbol.for("react.fragment"),th=Symbol.for("react.strict_mode"),nh=Symbol.for("react.profiler"),rh=Symbol.for("react.provider"),ih=Symbol.for("react.context"),oh=Symbol.for("react.forward_ref"),lh=Symbol.for("react.suspense"),sh=Symbol.for("react.memo"),uh=Symbol.for("react.lazy"),gu=Symbol.iterator;function ah(e){return e===null||typeof e!="object"?null:(e=gu&&e[gu]||e["@@iterator"],typeof e=="function"?e:null)}var cc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},fc=Object.assign,dc={};function Fn(e,t,n){this.props=e,this.context=t,this.refs=dc,this.updater=n||cc}Fn.prototype.isReactComponent={};Fn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Fn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function hc(){}hc.prototype=Fn.prototype;function us(e,t,n){this.props=e,this.context=t,this.refs=dc,this.updater=n||cc}var as=us.prototype=new hc;as.constructor=us;fc(as,Fn.prototype);as.isPureReactComponent=!0;var Su=Array.isArray,pc=Object.prototype.hasOwnProperty,cs={current:null},vc={key:!0,ref:!0,__self:!0,__source:!0};function mc(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)pc.call(t,r)&&!vc.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var u=Array(s),a=0;a<s;a++)u[a]=arguments[a+2];i.children=u}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:Ir,type:e,key:o,ref:l,props:i,_owner:cs.current}}function ch(e,t){return{$$typeof:Ir,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function fs(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ir}function fh(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var wu=/\/+/g;function Co(e,t){return typeof e=="object"&&e!==null&&e.key!=null?fh(""+e.key):t.toString(36)}function ri(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case Ir:case bd:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+Co(l,0):r,Su(i)?(n="",e!=null&&(n=e.replace(wu,"$&/")+"/"),ri(i,t,n,"",function(a){return a})):i!=null&&(fs(i)&&(i=ch(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(wu,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",Su(e))for(var s=0;s<e.length;s++){o=e[s];var u=r+Co(o,s);l+=ri(o,t,n,u,i)}else if(u=ah(e),typeof u=="function")for(e=u.call(e),s=0;!(o=e.next()).done;)o=o.value,u=r+Co(o,s++),l+=ri(o,t,n,u,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function Ur(e,t,n){if(e==null)return e;var r=[],i=0;return ri(e,r,"","",function(o){return t.call(n,o,i++)}),r}function dh(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var me={current:null},ii={transition:null},hh={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:ii,ReactCurrentOwner:cs};A.Children={map:Ur,forEach:function(e,t,n){Ur(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ur(e,function(){t++}),t},toArray:function(e){return Ur(e,function(t){return t})||[]},only:function(e){if(!fs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};A.Component=Fn;A.Fragment=eh;A.Profiler=nh;A.Pure
2022-09-14 16:48:46 +02:00
* @license React
* scheduler.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.
2022-09-18 21:21:39 +02:00
*/(function(e){function t(I,F){var L=I.length;I.push(F);e:for(;0<L;){var Y=L-1>>>1,te=I[Y];if(0<i(te,F))I[Y]=F,I[L]=te,L=Y;else break e}}function n(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var F=I[0],L=I.pop();if(L!==F){I[0]=L;e:for(var Y=0,te=I.length,Ar=te>>>1;Y<Ar;){var zt=2*(Y+1)-1,ko=I[zt],Ut=zt+1,zr=I[Ut];if(0>i(ko,L))Ut<te&&0>i(zr,ko)?(I[Y]=zr,I[Ut]=L,Y=Ut):(I[Y]=ko,I[zt]=L,Y=zt);else if(Ut<te&&0>i(zr,L))I[Y]=zr,I[Ut]=L,Y=Ut;else break e}}return F}function i(I,F){var L=I.sortIndex-F.sortIndex;return L!==0?L:I.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var u=[],a=[],c=1,f=null,d=3,m=!1,y=!1,S=!1,C=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function h(I){for(var F=n(a);F!==null;){if(F.callback===null)r(a);else if(F.startTime<=I)r(a),F.sortIndex=F.expirationTime,t(u,F);else break;F=n(a)}}function g(I){if(S=!1,h(I),!y)if(n(u)!==null)y=!0,wo(x);else{var F=n(a);F!==null&&_o(g,F.startTime-I)}}function x(I,F){y=!1,S&&(S=!1,v(_),_=-1),m=!0;var L=d;try{for(h(F),f=n(u);f!==null&&(!(f.expirationTime>F)||I&&!$());){var Y=f.callback;if(typeof Y=="function"){f.callback=null,d=f.priorityLevel;var te=Y(f.expirationTime<=F);F=e.unstable_now(),typeof te=="function"?f.callback=te:f===n(u)&&r(u),h(F)}else r(u);f=n(u)}if(f!==null)var Ar=!0;else{var zt=n(a);zt!==null&&_o(g,zt.startTime-F),Ar=!1}return Ar}finally{f=null,d=L,m=!1}}var E=!1,k=null,_=-1,M=5,T=-1;function $(){return!(e.unstable_now()-T<M)}function Ce(){if(k!==null){var I=e.unstable_now();T=I;var F=!0;try{F=k(!0,I)}finally{F?$e():(E=!1,k=null)}}else E=!1}var $e;if(typeof p=="function")$e=function(){p(Ce)};else if(typeof MessageChannel<"u"){var At=new MessageChannel,yu=At.port2;At.port1.onmessage=Ce,$e=function(){yu.postMessage(null)}}else $e=function(){C(Ce,0)};function wo(I){k=I,E||(E=!0,$e())}function _o(I,F){_=C(function(){I(e.unstable_now())},F)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){y||m||(y=!0,wo(x))},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(I){switch(d){case 1:case 2:case 3:var F=3;break;default:F=d}var L=d;d=F;try{return I()}finally{d=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(I,F){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var L=d;d=I;try{return F()}finally{d=L}},e.unstable_scheduleCallback=function(I,F,L){var Y=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?Y+L:Y):L=Y,I){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=L+te,I={id:c++,callback:F,priorityLevel:I,startTime:L,expirationTime:te,sortIndex:-1},L>Y?(I.sortIndex=L,t(a,I),n(u)===null&&I===n(a)&&(S?(v(_),_=-1):S=!0,_o(g,L-Y))):(I.sortIndex=te,t(u,I),y||m||(y=!0,wo(x))),I},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(I){var F=d;return function(){var L=d;d=F;try{return I.apply(this,arguments)}finally{d=L}}}})(wc);(function(e){e.exports=wc})(Sc);/**
2022-09-14 16:48:46 +02:00
* @license React
* react-dom.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.
2022-09-18 21:21:39 +02:00
*/var _c=N.exports,Oe=Sc.exports;function P(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var kc=new Set,ur={};function bt(e,t){kn(e,t),kn(e+"Capture",t)}function kn(e,t){for(ur[e]=t,e=0;e<t.length;e++)kc.add(t[e])}var ut=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),nl=Object.prototype.hasOwnProperty,ph=/^[: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][: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\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,_u={},ku={};function vh(e){return nl.call(ku,e)?!0:nl.call(_u,e)?!1:ph.test(e)?ku[e]=!0:(_u[e]=!0,!1)}function mh(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function yh(e,t,n,r){if(t===null||typeof t>"u"||mh(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ye(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var ae={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ae[e]=new ye(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ae[t]=new ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ae[e]=new ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ae[e]=new ye(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ae[e]=new ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ae[e]=new ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ae[e]=new ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ae[e]=new ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ae[e]=new ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var ds=/[\-:]([a-z])/g;function hs(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-ad
2022-09-17 18:38:19 +02:00
`+Eo+e}var xo=!1;function Po(e,t){if(!e||xo)return"";xo=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(a){var r=a}Reflect.construct(e,[],t)}else{try{t.call()}catch(a){r=a}e.call(t.prototype)}else{try{throw Error()}catch(a){r=a}e()}}catch(a){if(a&&r&&typeof a.stack=="string"){for(var i=a.stack.split(`
2022-09-17 00:35:48 +02:00
`),o=r.stack.split(`
`),l=i.length-1,s=o.length-1;1<=l&&0<=s&&i[l]!==o[s];)s--;for(;1<=l&&0<=s;l--,s--)if(i[l]!==o[s]){if(l!==1||s!==1)do if(l--,s--,0>s||i[l]!==o[s]){var u=`
2022-09-18 21:21:39 +02:00
`+i[l].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=l&&0<=s);break}}}finally{xo=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wn(e):""}function gh(e){switch(e.tag){case 5:return Wn(e.type);case 16:return Wn("Lazy");case 13:return Wn("Suspense");case 19:return Wn("SuspenseList");case 0:case 2:case 15:return e=Po(e.type,!1),e;case 11:return e=Po(e.type.render,!1),e;case 1:return e=Po(e.type,!0),e;default:return""}}function ll(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case on:return"Fragment";case rn:return"Portal";case rl:return"Profiler";case vs:return"StrictMode";case il:return"Suspense";case ol:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ec:return(e.displayName||"Context")+".Consumer";case Cc:return(e._context.displayName||"Context")+".Provider";case ms:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ys:return t=e.displayName||null,t!==null?t:ll(e.type)||"Memo";case vt:t=e._payload,e=e._init;try{return ll(e(t))}catch{}}return null}function Sh(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return ll(t);case 8:return t===vs?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function It(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Pc(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function wh(e){var t=Pc(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function $r(e){e._valueTracker||(e._valueTracker=wh(e))}function Oc(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Pc(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function yi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function sl(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n!=null?n:e._wrapperState.initialChecked})}function Eu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=It(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Rc(e,t){t=t.checked,t!=null&&ps(e,"checked",t,!1)}function ul(e,t){Rc(e,t);var n=It(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?al(e,t.type,n):t.hasOwnProperty("defaultValue")&&al(e,t.type,It(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function xu(e,t,n){if(t.hasOwnPropert
`).replace(Ip,"")}function Gr(e,t,n){if(t=Gu(t),Gu(e)!==t&&n)throw Error(P(425))}function xi(){}var Cl=null,El=null;function xl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Pl=typeof setTimeout=="function"?setTimeout:void 0,Mp=typeof clearTimeout=="function"?clearTimeout:void 0,Yu=typeof Promise=="function"?Promise:void 0,Tp=typeof queueMicrotask=="function"?queueMicrotask:typeof Yu<"u"?function(e){return Yu.resolve(null).then(e).catch(Dp)}:Pl;function Dp(e){setTimeout(function(){throw e})}function jo(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),hr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);hr(t)}function xt(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Xu(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var An=Math.random().toString(36).slice(2),Je="__reactFiber$"+An,gr="__reactProps$"+An,at="__reactContainer$"+An,Ol="__reactEvents$"+An,Fp="__reactListeners$"+An,Lp="__reactHandles$"+An;function Qt(e){var t=e[Je];if(t)return t;for(var n=e.parentNode;n;){if(t=n[at]||n[Je]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Xu(e);e!==null;){if(n=e[Je])return n;e=Xu(e)}return t}e=n,n=e.parentNode}return null}function Dr(e){return e=e[Je]||e[at],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function an(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(P(33))}function to(e){return e[gr]||null}var Rl=[],cn=-1;function Dt(e){return{current:e}}function q(e){0>cn||(e.current=Rl[cn],Rl[cn]=null,cn--)}function Q(e,t){cn++,Rl[cn]=e.current,e.current=t}var Mt={},he=Dt(Mt),we=Dt(!1),Wt=Mt;function Cn(e,t){var n=e.type.contextTypes;if(!n)return Mt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function _e(e){return e=e.childContextTypes,e!=null}function Pi(){q(we),q(he)}function Ju(e,t,n){if(he.current!==Mt)throw Error(P(168));Q(he,t),Q(we,n)}function yf(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(P(108,Sh(e)||"Unknown",i));return W({},n,r)}function Oi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mt,Wt=he.current,Q(he,e),Q(we,we.current),!0}function Zu(e,t,n){var r=e.stateNode;if(!r)throw Error(P(169));n?(e=yf(e,t,Wt),r.__reactInternalMemoizedMergedChildContext=e,q(we),q(he),Q(he,e)):q(we),Q(we,n)}var rt=null,no=!1,$o=!1;function gf(e){rt===null?rt=[e]:rt.push(e)}function Ap(e){no=!0,gf(e)}function Ft(){if(!$o&&rt!==null){$o=!0;var e=0,t=j;try{var n=rt;for(j=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}rt=null,no=!1}catch(i){throw rt!==null&&(rt=rt.slice(e+1)),Bc(Ss,Ft),i}finally{j=t,$o=!1}}return null}var fn=[],dn=0,Ri=null,Ni=0,Te=[],De=0,Gt=null,ot=1,lt="";function jt(e,t){fn[dn++]=Ni,fn[dn++]=Ri,Ri=e,Ni=t}function Sf(e,t,n){Te[De++]=ot,Te[De++]=lt,Te[De++]=Gt,Gt=e;var r=ot;e=lt;var i=32-He(r)-1;r&=~(1<<i),n+=1;var o=32-He(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,ot=1<<32-He(t)+i|n<<i|r,lt=o+e}else ot=1<<o|n<<i|r,lt=e}function Rs(e){e.return!==null&&(jt(e,1),Sf(e,1,0))}function Ns(e){for(;e===Ri;)Ri=fn[--dn],fn[dn]=null,Ni=fn[--dn],fn[dn]=null;for(;e===Gt;)Gt=Te[--De],Te[De]=null,lt=Te[--De],Te[De]=null,ot=Te[--De],Te[De]=null}var Pe=null,xe=null,V=!1,Ve=null;function wf(e,t){var n=Le(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.del
2022-09-17 00:35:48 +02:00
Error generating stack: `+o.message+`
2022-09-18 21:21:39 +02:00
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function Ho(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function Fl(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Hp=typeof WeakMap=="function"?WeakMap:Map;function Gf(e,t,n){n=st(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zi||(zi=!0,Vl=r),Fl(e,t)},n}function Yf(e,t,n){n=st(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Fl(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Fl(e,t),typeof r!="function"&&(Ot===null?Ot=new Set([this]):Ot.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function ua(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Hp;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=ov.bind(null,e,t,n),t.then(e,e))}function aa(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function ca(e,t,n,r,i){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=st(-1,1),t.tag=2,Pt(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=i,e)}var Kp=ht.ReactCurrentOwner,Se=!1;function pe(e,t,n,r){t.child=e===null?Of(t,null,n,r):xn(t,e.child,n,r)}function fa(e,t,n,r,i){n=n.render;var o=t.ref;return wn(t,i),r=$s(e,t,n,r,o,i),n=Qs(),e!==null&&!Se?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ft(e,t,i)):(V&&n&&Rs(t),t.flags|=1,pe(e,t,r,i),t.child)}function da(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Js(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Xf(e,t,o,r,i)):(e=pi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,(e.lanes&i)===0){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:vr,n(l,r)&&e.ref===t.ref)return ft(e,t,i)}return t.flags|=1,e=Nt(o,r),e.ref=t.ref,e.return=t,t.child=e}function Xf(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(vr(o,r)&&e.ref===t.ref)if(Se=!1,t.pendingProps=r=o,(e.lanes&i)!==0)(e.flags&131072)!==0&&(Se=!0);else return t.lanes=e.lanes,ft(e,t,i)}return Ll(e,t,n,r,i)}function Jf(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q(vn,Ee),Ee|=n;else{if((n&1073741824)===0)return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Q(vn,Ee),Ee|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,Q(vn,Ee),Ee|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,Q(vn,Ee),Ee|=r;return pe(e,t,i,n),t.child}function Zf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ll(e,t,n,r,i){var o=_e(n)?Wt:he.current;return o=Cn(t,o),wn(t,i),n=$s(e,t,n,r,o,i),r=Qs(),e!==null&&!Se?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ft(e,t,i)):(V&&r&&Rs(t),t.flags|=1,pe(e,t,n,i),t.child)}function ha(e,t,n,r,i){if(_e(n)){var o=!0;Oi(t)}else o=!1;if(wn(t,i),t.stateNode===null)fi(e,t),xf(t,n,r),Dl(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var u=l.context,a=n.contextType;typeof a=="object"&&a!==null?a=ze(a):(a=_e(n)?Wt:he.current,a=Cn(t,a));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||u!==a)&&ia(t,l,r,a),mt=!1;var d=t.memoizedState;l.state=d,Ti(t,r,l,i),u=t.memoizedState,s!==r||d!==u||we.current||mt?(typeof c=="function"&&(Tl(t,n,c,r),u=t.memoizedState),(s=mt||ra(t,n,s,r,d,u,a))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillM
2022-09-14 16:48:46 +02:00
* @license React
* use-sync-external-store-shim.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.
2022-09-18 21:21:39 +02:00
*/var Nn=N.exports;function mv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var yv=typeof Object.is=="function"?Object.is:mv,gv=Nn.useState,Sv=Nn.useEffect,wv=Nn.useLayoutEffect,_v=Nn.useDebugValue;function kv(e,t){var n=t(),r=gv({inst:{value:n,getSnapshot:t}}),i=r[0].inst,o=r[1];return wv(function(){i.value=n,i.getSnapshot=t,Yo(i)&&o({inst:i})},[e,n,t]),Sv(function(){return Yo(i)&&o({inst:i}),e(function(){Yo(i)&&o({inst:i})})},[e]),_v(n),n}function Yo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!yv(e,n)}catch{return!0}}function Cv(e,t){return t()}var Ev=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Cv:kv;_d.useSyncExternalStore=Nn.useSyncExternalStore!==void 0?Nn.useSyncExternalStore:Ev;(function(e){e.exports=_d})(nu);var ho={exports:{}},po={};/**
2022-09-14 16:48:46 +02:00
* @license React
* react-jsx-runtime.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.
2022-09-18 21:21:39 +02:00
*/var xv=N.exports,Pv=Symbol.for("react.element"),Ov=Symbol.for("react.fragment"),Rv=Object.prototype.hasOwnProperty,Nv=xv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Iv={key:!0,ref:!0,__self:!0,__source:!0};function kd(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)Rv.call(t,r)&&!Iv.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Pv,type:e,key:o,ref:l,props:i,_owner:Nv.current}}po.Fragment=Ov;po.jsx=kd;po.jsxs=kd;(function(e){e.exports=po})(ho);const tn=ho.exports.Fragment,w=ho.exports.jsx,O=ho.exports.jsxs;/**
2022-09-14 16:48:46 +02:00
* react-query
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2022-09-18 21:21:39 +02:00
*/class Lr{constructor(){this.listeners=[],this.subscribe=this.subscribe.bind(this)}subscribe(t){return this.listeners.push(t),this.onSubscribe(),()=>{this.listeners=this.listeners.filter(n=>n!==t),this.onUnsubscribe()}}hasListeners(){return this.listeners.length>0}onSubscribe(){}onUnsubscribe(){}}const xr=typeof window>"u";function Me(){}function Mv(e,t){return typeof e=="function"?e(t):e}function Gl(e){return typeof e=="number"&&e>=0&&e!==1/0}function Cd(e,t){return Math.max(e+(t||0)-Date.now(),0)}function vi(e,t,n){return vo(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function yt(e,t,n){return vo(e)?[{...t,queryKey:e},n]:[e||{},t]}function Oa(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:l,stale:s}=e;if(vo(l)){if(r){if(t.queryHash!==ru(l,t.options))return!1}else if(!Qi(t.queryKey,l))return!1}if(n!=="all"){const u=t.isActive();if(n==="active"&&!u||n==="inactive"&&u)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||typeof i<"u"&&i!==t.state.fetchStatus||o&&!o(t))}function Ra(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:o}=e;if(vo(o)){if(!t.options.mutationKey)return!1;if(n){if(Vt(t.options.mutationKey)!==Vt(o))return!1}else if(!Qi(t.options.mutationKey,o))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function ru(e,t){return((t==null?void 0:t.queryKeyHashFn)||Vt)(e)}function Vt(e){return JSON.stringify(e,(t,n)=>Yl(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Qi(e,t){return Ed(e,t)}function Ed(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!Ed(e[n],t[n])):!1}function xd(e,t){if(e===t)return e;const n=Ia(e)&&Ia(t);if(n||Yl(e)&&Yl(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),o=i.length,l=n?[]:{};let s=0;for(let u=0;u<o;u++){const a=n?u:i[u];l[a]=xd(e[a],t[a]),l[a]===e[a]&&s++}return r===o&&s===r?e:l}return t}function Na(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Ia(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Yl(e){if(!Ma(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!Ma(n)||!n.hasOwnProperty("isPrototypeOf"))}function Ma(e){return Object.prototype.toString.call(e)==="[object Object]"}function vo(e){return Array.isArray(e)}function Pd(e){return new Promise(t=>{setTimeout(t,e)})}function Ta(e){Pd(0).then(e)}function Tv(){if(typeof AbortController=="function")return new AbortController}function Xl(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?xd(e,t):t}class Dv extends Lr{constructor(){super(),this.setup=t=>{if(!xr&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),()=>{window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(this),this.cleanup=t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()})}setFocused(t){this.focused=t,t&&this.onFocus()}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){return typeof this.focused=="boolean"?this.focused:typeof document>"u"?!0:[void 0,"visible","prerender"].includes(document.visibilityState)}}const Bi=new Dv;class Fv extends Lr{constructor(){super(),this.setup=t=>{if(!xr&&window.addEventListener){const n=()=>t();return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){if(!this.hasListeners()){var t;(t=this.cleanup)==null||t.call(this),this.cleanup=void 0}}setEventListener(t){var n;this.setup=t,(n=this.cleanup)==null||n.call(
2022-09-14 16:48:46 +02:00
* react-query-devtools-noop
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2022-09-18 21:21:39 +02:00
*/function tm(){return null}function Fe(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw Error("[Immer] minified error nr: "+e+(n.length?" "+n.map(function(i){return"'"+i+"'"}).join(","):"")+". Find the full error at: https://bit.ly/3cXEKWf")}function In(e){return!!e&&!!e[U]}function dt(e){return!!e&&(function(t){if(!t||typeof t!="object")return!1;var n=Object.getPrototypeOf(t);if(n===null)return!0;var r=Object.hasOwnProperty.call(n,"constructor")&&n.constructor;return r===Object||typeof r=="function"&&Function.toString.call(r)===fm}(e)||Array.isArray(e)||!!e[qa]||!!e.constructor[qa]||su(e)||uu(e))}function Mn(e,t,n){n===void 0&&(n=!1),zn(e)===0?(n?Object.keys:hu)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function zn(e){var t=e[U];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:su(e)?2:uu(e)?3:0}function Zl(e,t){return zn(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function nm(e,t){return zn(e)===2?e.get(t):e[t]}function Dd(e,t,n){var r=zn(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function rm(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function su(e){return am&&e instanceof Map}function uu(e){return cm&&e instanceof Set}function ne(e){return e.o||e.t}function au(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=dm(e);delete t[U];for(var n=hu(t),r=0;r<n.length;r++){var i=n[r],o=t[i];o.writable===!1&&(o.writable=!0,o.configurable=!0),(o.get||o.set)&&(t[i]={configurable:!0,writable:!0,enumerable:o.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function cu(e,t){return t===void 0&&(t=!1),fu(e)||In(e)||!dt(e)||(zn(e)>1&&(e.set=e.add=e.clear=e.delete=im),Object.freeze(e),t&&Mn(e,function(n,r){return cu(r,!0)},!0)),e}function im(){Fe(2)}function fu(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function tt(e){var t=es[e];return t||Fe(18,e),t}function om(e,t){es[e]||(es[e]=t)}function Vi(){return Or}function Xo(e,t){t&&(tt("Patches"),e.u=[],e.s=[],e.v=t)}function Hi(e){bl(e),e.p.forEach(lm),e.p=null}function bl(e){e===Or&&(Or=e.l)}function za(e){return Or={p:[],l:Or,h:e,m:!0,_:0}}function lm(e){var t=e[U];t.i===0||t.i===1?t.j():t.O=!0}function Jo(e,t){t._=t.p.length;var n=t.p[0],r=e!==void 0&&e!==n;return t.h.g||tt("ES5").S(t,e,r),r?(n[U].P&&(Hi(t),Fe(4)),dt(e)&&(e=Ki(t,e),t.l||Wi(t,e)),t.u&&tt("Patches").M(n[U].t,e,t.u,t.s)):e=Ki(t,n,[]),Hi(t),t.u&&t.v(t.u,t.s),e!==Fd?e:void 0}function Ki(e,t,n){if(fu(t))return t;var r=t[U];if(!r)return Mn(t,function(o,l){return Ua(e,r,t,o,l,n)},!0),t;if(r.A!==e)return t;if(!r.P)return Wi(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=r.i===4||r.i===5?r.o=au(r.k):r.o;Mn(r.i===3?new Set(i):i,function(o,l){return Ua(e,r,i,o,l,n)}),Wi(e,i,!1),n&&e.u&&tt("Patches").R(r,n,e.u,e.s)}return r.o}function Ua(e,t,n,r,i,o){if(In(i)){var l=Ki(e,i,o&&t&&t.i!==3&&!Zl(t.D,r)?o.concat(r):void 0);if(Dd(n,r,l),!In(l))return;e.m=!1}if(dt(i)&&!fu(i)){if(!e.h.F&&e._<1)return;Ki(e,i),t&&t.A.l||Wi(e,i)}}function Wi(e,t,n){n===void 0&&(n=!1),e.h.F&&e.m&&cu(t,n)}function Zo(e,t){var n=e[U];return(n?ne(n):e)[t]}function ja(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function it(e){e.P||(e.P=!0,e.l&&it(e.l))}function bo(e){e.o||(e.o=au(e.t))}function Pr(e,t,n){var r=su(t)?tt("MapSet").N(t,n):uu(t)?tt("MapSet").T(t,n):e.g?function(i,o){var l=Array.isArray(i),s={i:l?1:0,A:o?o.A:Vi(),P:!1,I:!1,D:{},l:o,t:i,k:null,o:null,j:null,C:!1},u=s,a=ts;l&&(u=[s],a=Jn);var c=Proxy.revocable(u,a),f=c.revoke,d=c.proxy;return s.k=d,s.j=f,d}(t,n):tt("ES5").J(t,n);return(n?n.A:Vi()).p.push(r),r}function sm(e){return In(e)||Fe(22,e),function t(n){if(!dt(n))return n;var r,i=n[U],o=zn(n);if(i){if(!i.P&&(i.i<4||!tt("ES5").K(i)))return i.t;i.I=!0,r=$a(n,o),i.I=!1}else r=$a(n,o);return Mn(r,function(l,s){i&&nm(i.t,l)===s||Dd(r,l,t(s))}),o===3?new Set(r):r}(e)}function $a(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return au(e)}function um(){function e(s,u){fun
2022-09-15 22:36:08 +02:00
* react-location
*
* Copyright (c) TanStack
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
2022-09-18 21:21:39 +02:00
*/function We(){return We=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},We.apply(this,arguments)}function is(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function ym(e,t){var n,r,i,o="";for(n in e)if((i=e[n])!==void 0)if(Array.isArray(i))for(r=0;r<i.length;r++)o&&(o+="&"),o+=encodeURIComponent(n)+"="+encodeURIComponent(i[r]);else o&&(o+="&"),o+=encodeURIComponent(n)+"="+encodeURIComponent(i);return(t||"")+o}function Wa(e){if(!e)return"";var t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0?+t:t}function gm(e){for(var t,n,r={},i=e.split("&");t=i.shift();)t=t.split("="),n=t.shift(),r[n]!==void 0?r[n]=[].concat(r[n],Wa(t.shift())):r[n]=Wa(t.shift());return r}const Sm=["children","location","__experimental__snapshot"],wm=["location","__experimental__snapshot"],_m=["basepath","routes"],Ad=N.exports.createContext(null),zd=N.exports.createContext(null),Ud=N.exports.createContext(null),jd=Boolean(typeof window<"u"&&window.document&&window.document.createElement),os=jd?N.exports.useLayoutEffect:N.exports.useEffect,km=()=>jd?vm():mm();class pu{constructor(){this.listeners=[]}subscribe(t){return this.listeners.push(t),()=>{this.listeners=this.listeners.filter(n=>n!==t)}}notify(){this.listeners.forEach(t=>t())}}class Cm extends pu{constructor(t){var n,r;super(),this.isTransitioning=!1,this.history=(t==null?void 0:t.history)||km(),this.stringifySearch=(n=t==null?void 0:t.stringifySearch)!=null?n:Am,this.parseSearch=(r=t==null?void 0:t.parseSearch)!=null?r:Lm,this.current=this.parseLocation(this.history.location),this.destroy=this.history.listen(i=>{this.current=this.parseLocation(i.location,this.current),this.notify()})}buildNext(t,n){var r,i,o,l;t===void 0&&(t="/"),n===void 0&&(n={});const s=We({},this.current,n.from),u=Fm(t,s.pathname,""+((r=n.to)!=null?r:".")),a=(i=n.__searchFilters)!=null&&i.length?n.__searchFilters.reduce((y,S)=>S(y),s.search):s.search,c=n.search===!0?a:n.search?(o=Xa(n.search,a))!=null?o:{}:(l=n.__searchFilters)!=null&&l.length?a:{},f=ls(s.search,c),d=this.stringifySearch(f);let m=n.hash===!0?s.hash:Xa(n.hash,s.hash);return m=m?"#"+m:"",{pathname:u,search:f,searchStr:d,hash:m,href:""+u+d+m,key:n.key}}navigate(t,n){this.current=t,this.navigateTimeout&&clearTimeout(this.navigateTimeout);let r="replace";return n||(r="push"),this.parseLocation(this.history.location).href===this.current.href&&!this.current.key&&(r="replace"),r==="replace"?this.history.replace({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr}):this.history.push({pathname:this.current.pathname,hash:this.current.hash,search:this.current.searchStr})}parseLocation(t,n){var r;const i=this.parseSearch(t.search);return{pathname:t.pathname,searchStr:t.search,search:ls(n==null?void 0:n.search,i),hash:(r=t.hash.split("#").reverse()[0])!=null?r:"",href:""+t.pathname+t.search+t.hash,key:t.key}}}function $d(e){return w(zd.Provider,{...e})}function Em(e){let{children:t,location:n,__experimental__snapshot:r}=e,i=is(e,Sm);const o=N.exports.useRef(null);o.current||(o.current=new Pm({location:n,__experimental__snapshot:r,routes:i.routes}));const l=o.current,[s,u]=N.exports.useReducer(()=>({}),{});return l.update(i),os(()=>l.subscribe(()=>{u()}),[]),os(()=>l.updateLocation(n.current).unsubscribe,[n.current.key]),N.exports.createElement(Ad.Provider,{value:{location:n}},N.exports.createElement(Ud.Provider,{value:{router:l}},w(xm,{}),w($d,{value:[l.rootMatch,...l.state.matches],children:t!=null?t:w(Kd,{})})))}function xm(){const e=vu(),t=Hd(),n=Nm();return os(()=>{t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})},[]),null}class Pm extends pu{constructor(t){var n;let{location:r,__experimental__snapshot:i}=t,o=is(t,wm);super(),this.routesById={},this.update=s=>{let{basepath:u,routes:a}=s,c=is(s,_m);Object.assign(this,c),this.basepath=yo("/"+(u!=null?u:"")),this.rout
2022-09-14 16:48:46 +02:00
* @license React
* use-sync-external-store-shim/with-selector.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.
2022-09-18 21:21:39 +02:00
*/var go=N.exports,bm=nu.exports;function ey(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var ty=typeof Object.is=="function"?Object.is:ey,ny=bm.useSyncExternalStore,ry=go.useRef,iy=go.useEffect,oy=go.useMemo,ly=go.useDebugValue;Jd.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var o=ry(null);if(o.current===null){var l={hasValue:!1,value:null};o.current=l}else l=o.current;o=oy(function(){function u(m){if(!a){if(a=!0,c=m,m=r(m),i!==void 0&&l.hasValue){var y=l.value;if(i(y,m))return f=y}return f=m}if(y=f,ty(c,m))return y;var S=r(m);return i!==void 0&&i(y,S)?y:(c=m,f=S)}var a=!1,c,f,d=n===void 0?null:n;return[function(){return u(t())},d===null?void 0:function(){return u(d())}]},[t,n,r,i]);var s=ny(e,o[0],o[1]);return iy(function(){l.hasValue=!0,l.value=s},[s]),ly(s),s};(function(e){e.exports=Jd})(Xd);const sy=ac(Xd.exports),{useSyncExternalStoreWithSelector:uy}=sy;function ay(e,t=e.getState,n){const r=uy(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return N.exports.useDebugValue(r),r}const tc=e=>{const t=typeof e=="function"?Zm(e):e,n=(r,i)=>ay(t,r,i);return Object.assign(n,t),n},cy=e=>e?tc(e):tc;var mu=cy;const fy=(e,t={})=>(n,r,i)=>{const{enabled:o,anonymousActionType:l,...s}=t;let u;try{u=(o!=null?o:({BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production")&&window.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return({BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&o&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,i);const a=u.connect(s);let c=!0;i.setState=(m,y,S)=>{const C=n(m,y);return c&&a.send(S===void 0?{type:l||"anonymous"}:typeof S=="string"?{type:S}:S,r()),C};const f=(...m)=>{const y=c;c=!1,n(...m),c=y},d=e(i.setState,r,i);if(a.init(d),i.dispatchFromDevtools&&typeof i.dispatch=="function"){let m=!1;const y=i.dispatch;i.dispatch=(...S)=>{({BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&S[0].type==="__setState"&&!m&&(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),m=!0),y(...S)}}return a.subscribe(m=>{var y;switch(m.type){case"ACTION":if(typeof m.payload!="string"){console.error("[zustand devtools middleware] Unsupported action format");return}return el(m.payload,S=>{if(S.type==="__setState"){f(S.state);return}!i.dispatchFromDevtools||typeof i.dispatch=="function"&&i.dispatch(S)});case"DISPATCH":switch(m.payload.type){case"RESET":return f(d),a.init(i.getState());case"COMMIT":return a.init(i.getState());case"ROLLBACK":return el(m.state,S=>{f(S),a.init(i.getState())});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return el(m.state,S=>{f(S)});case"IMPORT_STATE":{const{nextLiftedState:S}=m.payload,C=(y=S.computedStates.slice(-1)[0])==null?void 0:y.state;if(!C)return;f(C),a.send(null,S);return}case"PAUSE_RECORDING":return c=!c}return}}),d},dy=fy,el=(e,t)=>{let n;try{n=JSON.parse(e)}catch(r){console.error("[zustand devtools middleware] Could not parse the received json",r)}n!==void 0&&t(n)},Xi=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return Xi(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return Xi(r)(n)}}}},hy=(e,t)=>(n,r,i)=>{let o={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:C=>C,version:0,merge:(C,v)=>({...v,...C}),...t},l=!1;const s=new Set,u=new Set;let a;try{a=o.getStorage()}catch{}if(!a)return e((...C)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...C)},r,i);const c=Xi(o.serialize),f=()=>{const C=o.partialize({...r()});let v;const p=c({state:C,version:o.version}).then(h=>a.setItem(o.name,h)).catch(h=>{v=h});if(v)throw v;return p},d=i.setState;i.setState=(C,v)=>{d(C,v),f()};const m=e((...C)=>{n(...C),f()},r,i);let y;const S=()=>{var C;if(!a)return;l=!1,s.forEach(p=>p(r()));const v=((C=o.onRehydrateStorage)==null?void 0:C.call(o,r()))||void 0;return Xi(a.getItem.bind(a))(o.name).then(p=>{if(p)return o.deseria