easydiffusion/ui/frontend/dist/index.js

84 lines
228 KiB
JavaScript
Raw Normal View History

(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 l of i)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerpolicy&&(l.referrerPolicy=i.referrerpolicy),i.crossorigin==="use-credentials"?l.credentials="include":i.crossorigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function r(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();function lc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var T={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.
*/var Rr=Symbol.for("react.element"),Xd=Symbol.for("react.portal"),Yd=Symbol.for("react.fragment"),Jd=Symbol.for("react.strict_mode"),Zd=Symbol.for("react.profiler"),bd=Symbol.for("react.provider"),eh=Symbol.for("react.context"),th=Symbol.for("react.forward_ref"),nh=Symbol.for("react.suspense"),rh=Symbol.for("react.memo"),ih=Symbol.for("react.lazy"),mu=Symbol.iterator;function lh(e){return e===null||typeof e!="object"?null:(e=mu&&e[mu]||e["@@iterator"],typeof e=="function"?e:null)}var oc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},sc=Object.assign,uc={};function In(e,t,n){this.props=e,this.context=t,this.refs=uc,this.updater=n||oc}In.prototype.isReactComponent={};In.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")};In.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ac(){}ac.prototype=In.prototype;function ss(e,t,n){this.props=e,this.context=t,this.refs=uc,this.updater=n||oc}var us=ss.prototype=new ac;us.constructor=ss;sc(us,In.prototype);us.isPureReactComponent=!0;var yu=Array.isArray,cc=Object.prototype.hasOwnProperty,as={current:null},fc={key:!0,ref:!0,__self:!0,__source:!0};function dc(e,t,n){var r,i={},l=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(l=""+t.key),t)cc.call(t,r)&&!fc.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:Rr,type:e,key:l,ref:o,props:i,_owner:as.current}}function oh(e,t){return{$$typeof:Rr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function cs(e){return typeof e=="object"&&e!==null&&e.$$typeof===Rr}function sh(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var gu=/\/+/g;function _l(e,t){return typeof e=="object"&&e!==null&&e.key!=null?sh(""+e.key):t.toString(36)}function ni(e,t,n,r,i){var l=typeof e;(l==="undefined"||l==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(l){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case Rr:case Xd:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+_l(o,0):r,yu(i)?(n="",e!=null&&(n=e.replace(gu,"$&/")+"/"),ni(i,t,n,"",function(a){return a})):i!=null&&(cs(i)&&(i=oh(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(gu,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",yu(e))for(var s=0;s<e.length;s++){l=e[s];var u=r+_l(l,s);o+=ni(l,t,n,u,i)}else if(u=lh(e),typeof u=="function")for(e=u.call(e),s=0;!(l=e.next()).done;)l=l.value,u=r+_l(l,s++),o+=ni(l,t,n,u,i);else if(l==="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 o}function Ar(e,t,n){if(e==null)return e;var r=[],i=0;return ni(e,r,"","",function(l){return t.call(n,l,i++)}),r}function uh(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},ri={transition:null},ah={ReactCurrentDispatcher:me,ReactCurrentBatchConfig:ri,ReactCurrentOwner:as};A.Children={map:Ar,forEach:function(e,t,n){Ar(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ar(e,function(){t++}),t},toArray:function(e){return Ar(e,function(t){return t})||[]},only:function(e){if(!cs(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};A.Component=In;A.Fragment=Yd;A.Profiler=Zd;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.
*/(function(e){function t(R,F){var L=R.length;R.push(F);e:for(;0<L;){var X=L-1>>>1,te=R[X];if(0<i(te,F))R[X]=F,R[L]=te,L=X;else break e}}function n(R){return R.length===0?null:R[0]}function r(R){if(R.length===0)return null;var F=R[0],L=R.pop();if(L!==F){R[0]=L;e:for(var X=0,te=R.length,Fr=te>>>1;X<Fr;){var At=2*(X+1)-1,kl=R[At],zt=At+1,Lr=R[zt];if(0>i(kl,L))zt<te&&0>i(Lr,kl)?(R[X]=Lr,R[zt]=L,X=zt):(R[X]=kl,R[At]=L,X=At);else if(zt<te&&0>i(Lr,L))R[X]=Lr,R[zt]=L,X=zt;else break e}}return F}function i(R,F){var L=R.sortIndex-F.sortIndex;return L!==0?L:R.id-F.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var o=Date,s=o.now();e.unstable_now=function(){return o.now()-s}}var u=[],a=[],f=1,c=null,p=3,m=!1,y=!1,g=!1,_=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function d(R){for(var F=n(a);F!==null;){if(F.callback===null)r(a);else if(F.startTime<=R)r(a),F.sortIndex=F.expirationTime,t(u,F);else break;F=n(a)}}function S(R){if(g=!1,d(R),!y)if(n(u)!==null)y=!0,Sl(P);else{var F=n(a);F!==null&&wl(S,F.startTime-R)}}function P(R,F){y=!1,g&&(g=!1,v(C),C=-1),m=!0;var L=p;try{for(d(F),c=n(u);c!==null&&(!(c.expirationTime>F)||R&&!$());){var X=c.callback;if(typeof X=="function"){c.callback=null,p=c.priorityLevel;var te=X(c.expirationTime<=F);F=e.unstable_now(),typeof te=="function"?c.callback=te:c===n(u)&&r(u),d(F)}else r(u);c=n(u)}if(c!==null)var Fr=!0;else{var At=n(a);At!==null&&wl(S,At.startTime-F),Fr=!1}return Fr}finally{c=null,p=L,m=!1}}var E=!1,k=null,C=-1,I=5,M=-1;function $(){return!(e.unstable_now()-M<I)}function Ee(){if(k!==null){var R=e.unstable_now();M=R;var F=!0;try{F=k(!0,R)}finally{F?$e():(E=!1,k=null)}}else E=!1}var $e;if(typeof h=="function")$e=function(){h(Ee)};else if(typeof MessageChannel<"u"){var Lt=new MessageChannel,vu=Lt.port2;Lt.port1.onmessage=Ee,$e=function(){vu.postMessage(null)}}else $e=function(){_(Ee,0)};function Sl(R){k=R,E||(E=!0,$e())}function wl(R,F){C=_(function(){R(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(R){R.callback=null},e.unstable_continueExecution=function(){y||m||(y=!0,Sl(P))},e.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<R?Math.floor(1e3/R):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(u)},e.unstable_next=function(R){switch(p){case 1:case 2:case 3:var F=3;break;default:F=p}var L=p;p=F;try{return R()}finally{p=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(R,F){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var L=p;p=R;try{return F()}finally{p=L}},e.unstable_scheduleCallback=function(R,F,L){var X=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?X+L:X):L=X,R){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,R={id:f++,callback:F,priorityLevel:R,startTime:L,expirationTime:te,sortIndex:-1},L>X?(R.sortIndex=L,t(a,R),n(u)===null&&R===n(a)&&(g?(v(C),C=-1):g=!0,wl(S,L-X))):(R.sortIndex=te,t(u,R),y||m||(y=!0,Sl(P))),R},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(R){var F=p;return function(){var L=p;p=F;try{return R.apply(this,arguments)}finally{p=L}}}})(mc);(function(e){e.exports=mc})(vc);/**
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.
*/var yc=T.exports,Oe=vc.exports;function x(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 gc=new Set,or={};function Jt(e,t){Sn(e,t),Sn(e+"Capture",t)}function Sn(e,t){for(or[e]=t,e=0;e<t.length;e++)gc.add(t[e])}var ut=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),to=Object.prototype.hasOwnProperty,ch=/^[: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]*$/,Su={},wu={};function fh(e){return to.call(wu,e)?!0:to.call(Su,e)?!1:ch.test(e)?wu[e]=!0:(Su[e]=!0,!1)}function dh(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 hh(e,t,n,r){if(t===null||typeof t>"u"||dh(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,l,o){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=l,this.removeEmptyString=o}var ue={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ue[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];ue[t]=new ye(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ue[e]=new ye(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ue[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){ue[e]=new ye(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ue[e]=new ye(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ue[e]=new ye(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ue[e]=new ye(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ue[e]=new ye(e,5,!1,e.toLowerCase(),null,!1,!1)});var fs=/[\-:]([a-z])/g;function ds(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
`+El+e}var Cl=!1;function xl(e,t){if(!e||Cl)return"";Cl=!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-14 16:48:46 +02:00
`),l=r.stack.split(`
2022-09-15 22:36:08 +02:00
`),o=i.length-1,s=l.length-1;1<=o&&0<=s&&i[o]!==l[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==l[s]){if(o!==1||s!==1)do if(o--,s--,0>s||i[o]!==l[s]){var u=`
`+i[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}while(1<=o&&0<=s);break}}}finally{Cl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Hn(e):""}function ph(e){switch(e.tag){case 5:return Hn(e.type);case 16:return Hn("Lazy");case 13:return Hn("Suspense");case 19:return Hn("SuspenseList");case 0:case 2:case 15:return e=xl(e.type,!1),e;case 11:return e=xl(e.type.render,!1),e;case 1:return e=xl(e.type,!0),e;default:return""}}function lo(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 tn:return"Fragment";case en:return"Portal";case no:return"Profiler";case ps:return"StrictMode";case ro:return"Suspense";case io:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case wc:return(e.displayName||"Context")+".Consumer";case Sc:return(e._context.displayName||"Context")+".Provider";case vs:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ms:return t=e.displayName||null,t!==null?t:lo(e.type)||"Memo";case vt:t=e._payload,e=e._init;try{return lo(e(t))}catch{}}return null}function vh(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 lo(t);case 8:return t===ps?"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 Mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _c(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function mh(e){var t=_c(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,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,l.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ur(e){e._valueTracker||(e._valueTracker=mh(e))}function Ec(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=_c(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function mi(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 oo(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 _u(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mt(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 Cc(e,t){t=t.checked,t!=null&&hs(e,"checked",t,!1)}function so(e,t){Cc(e,t);var n=Mt(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")?uo(e,t.type,n):t.hasOwnProperty("defaultValue")&&uo(e,t.type,Mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Eu(e,t,n){if(t.hasOwnPropert
`).replace(Pp,"")}function Kr(e,t,n){if(t=Ku(t),Ku(e)!==t&&n)throw Error(x(425))}function Ci(){}var Eo=null,Co=null;function xo(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 Po=typeof setTimeout=="function"?setTimeout:void 0,Op=typeof clearTimeout=="function"?clearTimeout:void 0,Wu=typeof Promise=="function"?Promise:void 0,Rp=typeof queueMicrotask=="function"?queueMicrotask:typeof Wu<"u"?function(e){return Wu.resolve(null).then(e).catch(Np)}:Po;function Np(e){setTimeout(function(){throw e})}function Ul(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),fr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);fr(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 Gu(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 Dn=Math.random().toString(36).slice(2),Je="__reactFiber$"+Dn,mr="__reactProps$"+Dn,at="__reactContainer$"+Dn,Oo="__reactEvents$"+Dn,Mp="__reactListeners$"+Dn,Ip="__reactHandles$"+Dn;function $t(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=Gu(e);e!==null;){if(n=e[Je])return n;e=Gu(e)}return t}e=n,n=e.parentNode}return null}function Ir(e){return e=e[Je]||e[at],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function on(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(x(33))}function tl(e){return e[mr]||null}var Ro=[],sn=-1;function Dt(e){return{current:e}}function V(e){0>sn||(e.current=Ro[sn],Ro[sn]=null,sn--)}function Q(e,t){sn++,Ro[sn]=e.current,e.current=t}var It={},he=Dt(It),we=Dt(!1),Kt=It;function wn(e,t){var n=e.type.contextTypes;if(!n)return It;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},l;for(l in n)i[l]=t[l];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ke(e){return e=e.childContextTypes,e!=null}function xi(){V(we),V(he)}function Xu(e,t,n){if(he.current!==It)throw Error(x(168));Q(he,t),Q(we,n)}function hf(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(x(108,vh(e)||"Unknown",i));return W({},n,r)}function Pi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||It,Kt=he.current,Q(he,e),Q(we,we.current),!0}function Yu(e,t,n){var r=e.stateNode;if(!r)throw Error(x(169));n?(e=hf(e,t,Kt),r.__reactInternalMemoizedMergedChildContext=e,V(we),V(he),Q(he,e)):V(we),Q(we,n)}var rt=null,nl=!1,jl=!1;function pf(e){rt===null?rt=[e]:rt.push(e)}function Tp(e){nl=!0,pf(e)}function Ft(){if(!jl&&rt!==null){jl=!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,nl=!1}catch(i){throw rt!==null&&(rt=rt.slice(e+1)),Uc(gs,Ft),i}finally{j=t,jl=!1}}return null}var un=[],an=0,Oi=null,Ri=0,Te=[],De=0,Wt=null,lt=1,ot="";function Ut(e,t){un[an++]=Ri,un[an++]=Oi,Oi=e,Ri=t}function vf(e,t,n){Te[De++]=lt,Te[De++]=ot,Te[De++]=Wt,Wt=e;var r=lt;e=ot;var i=32-He(r)-1;r&=~(1<<i),n+=1;var l=32-He(t)+i;if(30<l){var o=i-i%5;l=(r&(1<<o)-1).toString(32),r>>=o,i-=o,lt=1<<32-He(t)+i|n<<i|r,ot=l+e}else lt=1<<l|n<<i|r,ot=e}function Os(e){e.return!==null&&(Ut(e,1),vf(e,1,0))}function Rs(e){for(;e===Oi;)Oi=un[--an],un[an]=null,Ri=un[--an],un[an]=null;for(;e===Wt;)Wt=Te[--De],Te[De]=null,ot=Te[--De],Te[De]=null,lt=Te[--De],Te[De]=null}var Pe=null,xe=null,q=!1,qe=null;function mf(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-14 16:48:46 +02:00
Error generating stack: `+l.message+`
`+l.stack}return{value:e,source:t,stack:i,digest:null}}function ql(e,t,n){return{value:e,source:null,stack:n!=null?n:null,digest:t!=null?t:null}}function Fo(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Qp=typeof WeakMap=="function"?WeakMap:Map;function qf(e,t,n){n=st(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ai||(Ai=!0,qo=r),Fo(e,t)},n}function Hf(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(){Fo(e,t)}}var l=e.stateNode;return l!==null&&typeof l.componentDidCatch=="function"&&(n.callback=function(){Fo(e,t),typeof r!="function"&&(Ot===null?Ot=new Set([this]):Ot.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}function oa(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Qp;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=tv.bind(null,e,t,n),t.then(e,e))}function sa(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 ua(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 Bp=ht.ReactCurrentOwner,Se=!1;function pe(e,t,n,r){t.child=e===null?Ef(t,null,n,r):_n(t,e.child,n,r)}function aa(e,t,n,r,i){n=n.render;var l=t.ref;return yn(t,i),r=js(e,t,n,r,l,i),n=$s(),e!==null&&!Se?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ft(e,t,i)):(q&&n&&Os(t),t.flags|=1,pe(e,t,r,i),t.child)}function ca(e,t,n,r,i){if(e===null){var l=n.type;return typeof l=="function"&&!Ys(l)&&l.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=l,Kf(e,t,l,r,i)):(e=hi(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(l=e.child,(e.lanes&i)===0){var o=l.memoizedProps;if(n=n.compare,n=n!==null?n:hr,n(o,r)&&e.ref===t.ref)return ft(e,t,i)}return t.flags|=1,e=Nt(l,r),e.ref=t.ref,e.return=t,t.child=e}function Kf(e,t,n,r,i){if(e!==null){var l=e.memoizedProps;if(hr(l,r)&&e.ref===t.ref)if(Se=!1,t.pendingProps=r=l,(e.lanes&i)!==0)(e.flags&131072)!==0&&(Se=!0);else return t.lanes=e.lanes,ft(e,t,i)}return Lo(e,t,n,r,i)}function Wf(e,t,n){var r=t.pendingProps,i=r.children,l=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Q(dn,Ce),Ce|=n;else{if((n&1073741824)===0)return e=l!==null?l.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Q(dn,Ce),Ce|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=l!==null?l.baseLanes:n,Q(dn,Ce),Ce|=r}else l!==null?(r=l.baseLanes|n,t.memoizedState=null):r=n,Q(dn,Ce),Ce|=r;return pe(e,t,i,n),t.child}function Gf(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Lo(e,t,n,r,i){var l=ke(n)?Kt:he.current;return l=wn(t,l),yn(t,i),n=js(e,t,n,r,l,i),r=$s(),e!==null&&!Se?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,ft(e,t,i)):(q&&r&&Os(t),t.flags|=1,pe(e,t,n,i),t.child)}function fa(e,t,n,r,i){if(ke(n)){var l=!0;Pi(t)}else l=!1;if(yn(t,i),t.stateNode===null)ci(e,t),kf(t,n,r),Do(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,s=t.memoizedProps;o.props=s;var u=o.context,a=n.contextType;typeof a=="object"&&a!==null?a=ze(a):(a=ke(n)?Kt:he.current,a=wn(t,a));var f=n.getDerivedStateFromProps,c=typeof f=="function"||typeof o.getSnapshotBeforeUpdate=="function";c||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(s!==r||u!==a)&&na(t,o,r,a),mt=!1;var p=t.memoizedState;o.state=p,Ii(t,r,o,i),u=t.memoizedState,s!==r||p!==u||we.current||mt?(typeof f=="function"&&(To(t,n,f,r),u=t.memoizedState),(s=mt||ta(t,n,s,r,p,u,a))?(c||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.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.
*/var Pn=T.exports;function dv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var hv=typeof Object.is=="function"?Object.is:dv,pv=Pn.useState,vv=Pn.useEffect,mv=Pn.useLayoutEffect,yv=Pn.useDebugValue;function gv(e,t){var n=t(),r=pv({inst:{value:n,getSnapshot:t}}),i=r[0].inst,l=r[1];return mv(function(){i.value=n,i.getSnapshot=t,Gl(i)&&l({inst:i})},[e,n,t]),vv(function(){return Gl(i)&&l({inst:i}),e(function(){Gl(i)&&l({inst:i})})},[e]),yv(n),n}function Gl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!hv(e,n)}catch{return!0}}function Sv(e,t){return t()}var wv=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?Sv:gv;yd.useSyncExternalStore=Pn.useSyncExternalStore!==void 0?Pn.useSyncExternalStore:wv;(function(e){e.exports=yd})(tu);var dl={exports:{}},hl={};/**
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.
*/var kv=T.exports,_v=Symbol.for("react.element"),Ev=Symbol.for("react.fragment"),Cv=Object.prototype.hasOwnProperty,xv=kv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Pv={key:!0,ref:!0,__self:!0,__source:!0};function gd(e,t,n){var r,i={},l=null,o=null;n!==void 0&&(l=""+n),t.key!==void 0&&(l=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Cv.call(t,r)&&!Pv.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:_v,type:e,key:l,ref:o,props:i,_owner:xv.current}}hl.Fragment=Ev;hl.jsx=gd;hl.jsxs=gd;(function(e){e.exports=hl})(dl);const Fn=dl.exports.Fragment,w=dl.exports.jsx,N=dl.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
*/class Dr{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 Er=typeof window>"u";function Ie(){}function Ov(e,t){return typeof e=="function"?e(t):e}function Go(e){return typeof e=="number"&&e>=0&&e!==1/0}function Sd(e,t){return Math.max(e+(t||0)-Date.now(),0)}function pi(e,t,n){return pl(e)?typeof t=="function"?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function yt(e,t,n){return pl(e)?[{...t,queryKey:e},n]:[e||{},t]}function xa(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:l,queryKey:o,stale:s}=e;if(pl(o)){if(r){if(t.queryHash!==nu(o,t.options))return!1}else if(!$i(t.queryKey,o))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||l&&!l(t))}function Pa(e,t){const{exact:n,fetching:r,predicate:i,mutationKey:l}=e;if(pl(l)){if(!t.options.mutationKey)return!1;if(n){if(Vt(t.options.mutationKey)!==Vt(l))return!1}else if(!$i(t.options.mutationKey,l))return!1}return!(typeof r=="boolean"&&t.state.status==="loading"!==r||i&&!i(t))}function nu(e,t){return((t==null?void 0:t.queryKeyHashFn)||Vt)(e)}function Vt(e){return JSON.stringify(e,(t,n)=>Xo(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function $i(e,t){return wd(e,t)}function wd(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!wd(e[n],t[n])):!1}function kd(e,t){if(e===t)return e;const n=Ra(e)&&Ra(t);if(n||Xo(e)&&Xo(t)){const r=n?e.length:Object.keys(e).length,i=n?t:Object.keys(t),l=i.length,o=n?[]:{};let s=0;for(let u=0;u<l;u++){const a=n?u:i[u];o[a]=kd(e[a],t[a]),o[a]===e[a]&&s++}return r===l&&s===r?e:o}return t}function Oa(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function Ra(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Xo(e){if(!Na(e))return!1;const t=e.constructor;if(typeof t>"u")return!0;const n=t.prototype;return!(!Na(n)||!n.hasOwnProperty("isPrototypeOf"))}function Na(e){return Object.prototype.toString.call(e)==="[object Object]"}function pl(e){return Array.isArray(e)}function _d(e){return new Promise(t=>{setTimeout(t,e)})}function Ma(e){_d(0).then(e)}function Rv(){if(typeof AbortController=="function")return new AbortController}function Yo(e,t,n){return n.isDataEqual!=null&&n.isDataEqual(e,t)?e:typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?kd(e,t):t}class Nv extends Dr{constructor(){super(),this.setup=t=>{if(!Er&&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 Qi=new Nv;class Mv extends Dr{constructor(){super(),this.setup=t=>{if(!Er&&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
*/function Jv(){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 On(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)===sm}(e)||Array.isArray(e)||!!e[Qa]||!!e.constructor[Qa]||lu(e)||ou(e))}function Rn(e,t,n){n===void 0&&(n=!1),Ln(e)===0?(n?Object.keys:fu)(e).forEach(function(r){n&&typeof r=="symbol"||t(r,e[r],e)}):e.forEach(function(r,i){return t(i,r,e)})}function Ln(e){var t=e[U];return t?t.i>3?t.i-4:t.i:Array.isArray(e)?1:lu(e)?2:ou(e)?3:0}function Zo(e,t){return Ln(e)===2?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Zv(e,t){return Ln(e)===2?e.get(t):e[t]}function Md(e,t,n){var r=Ln(e);r===2?e.set(t,n):r===3?(e.delete(t),e.add(n)):e[t]=n}function bv(e,t){return e===t?e!==0||1/e==1/t:e!=e&&t!=t}function lu(e){return lm&&e instanceof Map}function ou(e){return om&&e instanceof Set}function ne(e){return e.o||e.t}function su(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=um(e);delete t[U];for(var n=fu(t),r=0;r<n.length;r++){var i=n[r],l=t[i];l.writable===!1&&(l.writable=!0,l.configurable=!0),(l.get||l.set)&&(t[i]={configurable:!0,writable:!0,enumerable:l.enumerable,value:e[i]})}return Object.create(Object.getPrototypeOf(e),t)}function uu(e,t){return t===void 0&&(t=!1),au(e)||On(e)||!dt(e)||(Ln(e)>1&&(e.set=e.add=e.clear=e.delete=em),Object.freeze(e),t&&Rn(e,function(n,r){return uu(r,!0)},!0)),e}function em(){Fe(2)}function au(e){return e==null||typeof e!="object"||Object.isFrozen(e)}function tt(e){var t=es[e];return t||Fe(18,e),t}function tm(e,t){es[e]||(es[e]=t)}function qi(){return xr}function Xl(e,t){t&&(tt("Patches"),e.u=[],e.s=[],e.v=t)}function Hi(e){bo(e),e.p.forEach(nm),e.p=null}function bo(e){e===xr&&(xr=e.l)}function La(e){return xr={p:[],l:xr,h:e,m:!0,_:0}}function nm(e){var t=e[U];t.i===0||t.i===1?t.j():t.O=!0}function Yl(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!==Id?e:void 0}function Ki(e,t,n){if(au(t))return t;var r=t[U];if(!r)return Rn(t,function(l,o){return Aa(e,r,t,l,o,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=su(r.k):r.o;Rn(r.i===3?new Set(i):i,function(l,o){return Aa(e,r,i,l,o,n)}),Wi(e,i,!1),n&&e.u&&tt("Patches").R(r,n,e.u,e.s)}return r.o}function Aa(e,t,n,r,i,l){if(On(i)){var o=Ki(e,i,l&&t&&t.i!==3&&!Zo(t.D,r)?l.concat(r):void 0);if(Md(n,r,o),!On(o))return;e.m=!1}if(dt(i)&&!au(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&&uu(t,n)}function Jl(e,t){var n=e[U];return(n?ne(n):e)[t]}function za(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 Zl(e){e.o||(e.o=su(e.t))}function Cr(e,t,n){var r=lu(t)?tt("MapSet").N(t,n):ou(t)?tt("MapSet").T(t,n):e.g?function(i,l){var o=Array.isArray(i),s={i:o?1:0,A:l?l.A:qi(),P:!1,I:!1,D:{},l,t:i,k:null,o:null,j:null,C:!1},u=s,a=ts;o&&(u=[s],a=Xn);var f=Proxy.revocable(u,a),c=f.revoke,p=f.proxy;return s.k=p,s.j=c,p}(t,n):tt("ES5").J(t,n);return(n?n.A:qi()).p.push(r),r}function rm(e){return On(e)||Fe(22,e),function t(n){if(!dt(n))return n;var r,i=n[U],l=Ln(n);if(i){if(!i.P&&(i.i<4||!tt("ES5").K(i)))return i.t;i.I=!0,r=Ua(n,l),i.I=!1}else r=Ua(n,l);return Rn(r,function(o,s){i&&Zv(i.t,o)===s||Md(r,o,t(s))}),l===3?new Set(r):r}(e)}function Ua(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return su(e)}function im(){function e(s,u){funct
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
*/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,l;for(l=0;l<r.length;l++)i=r[l],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function hm(e,t){var n,r,i,l="";for(n in e)if((i=e[n])!==void 0)if(Array.isArray(i))for(r=0;r<i.length;r++)l&&(l+="&"),l+=encodeURIComponent(n)+"="+encodeURIComponent(i[r]);else l&&(l+="&"),l+=encodeURIComponent(n)+"="+encodeURIComponent(i);return(t||"")+l}function Ha(e){if(!e)return"";var t=decodeURIComponent(e);return t==="false"?!1:t==="true"?!0:+t*0===0?+t:t}function pm(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],Ha(t.shift())):r[n]=Ha(t.shift());return r}const vm=["children","location","__experimental__snapshot"],mm=["location","__experimental__snapshot"],ym=["basepath","routes"],Dd=T.exports.createContext(null),Fd=T.exports.createContext(null),Ld=T.exports.createContext(null),Ad=Boolean(typeof window<"u"&&window.document&&window.document.createElement),ls=Ad?T.exports.useLayoutEffect:T.exports.useEffect,gm=()=>Ad?fm():dm();class du{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 Sm extends du{constructor(t){var n,r;super(),this.isTransitioning=!1,this.history=(t==null?void 0:t.history)||gm(),this.stringifySearch=(n=t==null?void 0:t.stringifySearch)!=null?n:Tm,this.parseSearch=(r=t==null?void 0:t.parseSearch)!=null?r:Im,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,l,o;t===void 0&&(t="/"),n===void 0&&(n={});const s=We({},this.current,n.from),u=Mm(t,s.pathname,""+((r=n.to)!=null?r:".")),a=(i=n.__searchFilters)!=null&&i.length?n.__searchFilters.reduce((y,g)=>g(y),s.search):s.search,f=n.search===!0?a:n.search?(l=Ga(n.search,a))!=null?l:{}:(o=n.__searchFilters)!=null&&o.length?a:{},c=os(s.search,f),p=this.stringifySearch(c);let m=n.hash===!0?s.hash:Ga(n.hash,s.hash);return m=m?"#"+m:"",{pathname:u,search:c,searchStr:p,hash:m,href:""+u+p+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:os(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 zd(e){return w(Fd.Provider,{...e})}function wm(e){let{children:t,location:n,__experimental__snapshot:r}=e,i=is(e,vm);const l=T.exports.useRef(null);l.current||(l.current=new _m({location:n,__experimental__snapshot:r,routes:i.routes}));const o=l.current,[s,u]=T.exports.useReducer(()=>({}),{});return o.update(i),ls(()=>o.subscribe(()=>{u()}),[]),ls(()=>o.updateLocation(n.current).unsubscribe,[n.current.key]),T.exports.createElement(Dd.Provider,{value:{location:n}},T.exports.createElement(Ld.Provider,{value:{router:o}},w(km,{}),w(zd,{value:[o.rootMatch,...o.state.matches],children:t!=null?t:w(Vd,{})})))}function km(){const e=hu(),t=Bd(),n=xm();return ls(()=>{t({to:".",search:!0,hash:!0}).href!==e.current.href&&n({to:".",search:!0,hash:!0,fromCurrent:!0,replace:!0})},[]),null}class _m extends du{constructor(t){var n;let{location:r,__experimental__snapshot:i}=t,l=is(t,mm);super(),this.routesById={},this.update=s=>{let{basepath:u,routes:a}=s,f=is(s,ym);Object.assign(this,f),this.basepath=ml("/"+(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.
*/var yl=T.exports,Wm=tu.exports;function Gm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Xm=typeof Object.is=="function"?Object.is:Gm,Ym=Wm.useSyncExternalStore,Jm=yl.useRef,Zm=yl.useEffect,bm=yl.useMemo,ey=yl.useDebugValue;Wd.useSyncExternalStoreWithSelector=function(e,t,n,r,i){var l=Jm(null);if(l.current===null){var o={hasValue:!1,value:null};l.current=o}else o=l.current;l=bm(function(){function u(m){if(!a){if(a=!0,f=m,m=r(m),i!==void 0&&o.hasValue){var y=o.value;if(i(y,m))return c=y}return c=m}if(y=c,Xm(f,m))return y;var g=r(m);return i!==void 0&&i(y,g)?y:(f=m,c=g)}var a=!1,f,c,p=n===void 0?null:n;return[function(){return u(t())},p===null?void 0:function(){return u(p())}]},[t,n,r,i]);var s=Ym(e,l[0],l[1]);return Zm(function(){o.hasValue=!0,o.value=s},[s]),ey(s),s};(function(e){e.exports=Wd})(Kd);const ty=lc(Kd.exports),{useSyncExternalStoreWithSelector:ny}=ty;function ry(e,t=e.getState,n){const r=ny(e.subscribe,e.getState,e.getServerState||e.getState,t,n);return T.exports.useDebugValue(r),r}const ba=e=>{const t=typeof e=="function"?Km(e):e,n=(r,i)=>ry(t,r,i);return Object.assign(n,t),n},iy=e=>e?ba(e):ba;var pu=iy;const ly=(e,t={})=>(n,r,i)=>{const{enabled:l,anonymousActionType:o,...s}=t;let u;try{u=(l!=null?l:({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"&&l&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,r,i);const a=u.connect(s);let f=!0;i.setState=(m,y,g)=>{const _=n(m,y);return f&&a.send(g===void 0?{type:o||"anonymous"}:typeof g=="string"?{type:g}:g,r()),_};const c=(...m)=>{const y=f;f=!1,n(...m),f=y},p=e(i.setState,r,i);if(a.init(p),i.dispatchFromDevtools&&typeof i.dispatch=="function"){let m=!1;const y=i.dispatch;i.dispatch=(...g)=>{({BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}&&"production")!=="production"&&g[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(...g)}}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 bl(m.payload,g=>{if(g.type==="__setState"){c(g.state);return}!i.dispatchFromDevtools||typeof i.dispatch=="function"&&i.dispatch(g)});case"DISPATCH":switch(m.payload.type){case"RESET":return c(p),a.init(i.getState());case"COMMIT":return a.init(i.getState());case"ROLLBACK":return bl(m.state,g=>{c(g),a.init(i.getState())});case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return bl(m.state,g=>{c(g)});case"IMPORT_STATE":{const{nextLiftedState:g}=m.payload,_=(y=g.computedStates.slice(-1)[0])==null?void 0:y.state;if(!_)return;c(_),a.send(null,g);return}case"PAUSE_RECORDING":return f=!f}return}}),p},oy=ly,bl=(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)},Yi=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return Yi(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return Yi(r)(n)}}}},sy=(e,t)=>(n,r,i)=>{let l={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:_=>_,version:0,merge:(_,v)=>({...v,..._}),...t},o=!1;const s=new Set,u=new Set;let a;try{a=l.getStorage()}catch{}if(!a)return e((..._)=>{console.warn(`[zustand persist middleware] Unable to update item '${l.name}', the given storage is currently unavailable.`),n(..._)},r,i);const f=Yi(l.serialize),c=()=>{const _=l.partialize({...r()});let v;const h=f({state:_,version:l.version}).then(d=>a.setItem(l.name,d)).catch(d=>{v=d});if(v)throw v;return h},p=i.setState;i.setState=(_,v)=>{p(_,v),c()};const m=e((..._)=>{n(..._),c()},r,i);let y;const g=()=>{var _;if(!a)return;o=!1,s.forEach(h=>h(r()));const v=((_=l.onRehydrateStorage)==null?void 0:_.call(l,r()))||void 0;return Yi(a.getItem.bind(a))(l.name).then(h=>{if(h)return l.deseria