mirror of
https://github.com/cupcakearmy/formhero.git
synced 2024-12-23 00:26:23 +00:00
41 lines
142 KiB
JavaScript
41 lines
142 KiB
JavaScript
|
(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const o of l)if(o.type==="childList")for(const u of o.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&r(u)}).observe(document,{childList:!0,subtree:!0});function t(l){const o={};return l.integrity&&(o.integrity=l.integrity),l.referrerpolicy&&(o.referrerPolicy=l.referrerpolicy),l.crossorigin==="use-credentials"?o.credentials="include":l.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(l){if(l.ep)return;l.ep=!0;const o=t(l);fetch(l.href,o)}})();var Rr={},lc={get exports(){return Rr},set exports(e){Rr=e}},tl={},en={},oc={get exports(){return en},set exports(e){en=e}},L={};/**
|
||
|
* @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 Gt=Symbol.for("react.element"),uc=Symbol.for("react.portal"),ic=Symbol.for("react.fragment"),sc=Symbol.for("react.strict_mode"),ac=Symbol.for("react.profiler"),cc=Symbol.for("react.provider"),fc=Symbol.for("react.context"),dc=Symbol.for("react.forward_ref"),pc=Symbol.for("react.suspense"),mc=Symbol.for("react.memo"),hc=Symbol.for("react.lazy"),$u=Symbol.iterator;function vc(e){return e===null||typeof e!="object"?null:(e=$u&&e[$u]||e["@@iterator"],typeof e=="function"?e:null)}var Xi={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Gi=Object.assign,Zi={};function ut(e,n,t){this.props=e,this.context=n,this.refs=Zi,this.updater=t||Xi}ut.prototype.isReactComponent={};ut.prototype.setState=function(e,n){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,n,"setState")};ut.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Ji(){}Ji.prototype=ut.prototype;function Wo(e,n,t){this.props=e,this.context=n,this.refs=Zi,this.updater=t||Xi}var Qo=Wo.prototype=new Ji;Qo.constructor=Wo;Gi(Qo,ut.prototype);Qo.isPureReactComponent=!0;var Vu=Array.isArray,qi=Object.prototype.hasOwnProperty,Ko={current:null},bi={key:!0,ref:!0,__self:!0,__source:!0};function es(e,n,t){var r,l={},o=null,u=null;if(n!=null)for(r in n.ref!==void 0&&(u=n.ref),n.key!==void 0&&(o=""+n.key),n)qi.call(n,r)&&!bi.hasOwnProperty(r)&&(l[r]=n[r]);var i=arguments.length-2;if(i===1)l.children=t;else if(1<i){for(var s=Array(i),f=0;f<i;f++)s[f]=arguments[f+2];l.children=s}if(e&&e.defaultProps)for(r in i=e.defaultProps,i)l[r]===void 0&&(l[r]=i[r]);return{$$typeof:Gt,type:e,key:o,ref:u,props:l,_owner:Ko.current}}function yc(e,n){return{$$typeof:Gt,type:e.type,key:n,ref:e.ref,props:e.props,_owner:e._owner}}function Yo(e){return typeof e=="object"&&e!==null&&e.$$typeof===Gt}function gc(e){var n={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(t){return n[t]})}var Au=/\/+/g;function Cl(e,n){return typeof e=="object"&&e!==null&&e.key!=null?gc(""+e.key):n.toString(36)}function wr(e,n,t,r,l){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var u=!1;if(e===null)u=!0;else switch(o){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case Gt:case uc:u=!0}}if(u)return u=e,l=l(u),e=r===""?"."+Cl(u,0):r,Vu(l)?(t="",e!=null&&(t=e.replace(Au,"$&/")+"/"),wr(l,n,t,"",function(f){return f})):l!=null&&(Yo(l)&&(l=yc(l,t+(!l.key||u&&u.key===l.key?"":(""+l.key).replace(Au,"$&/")+"/")+e)),n.push(l)),1;if(u=0,r=r===""?".":r+":",Vu(e))for(var i=0;i<e.length;i++){o=e[i];var s=r+Cl(o,i);u+=wr(o,n,t,s,l)}else if(s=vc(e),typeof s=="function")for(e=s.call(e),i=0;!(o=e.next()).done;)o=o.value,s=r+Cl(o,i++),u+=wr(o,n,t,s,l);else if(o==="object")throw n=String(e),Error("Objects are not valid as a React child (found: "+(n==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.");return u}function tr(e,n,t){if(e==null)return e;var r=[],l=0;return wr(e,r,"","",function(o){return n.call(t,o,l++)}),r}function wc(e){if(e._status===-1){var n=e._result;n=n(),n.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=n)}if(e._status===1)return e._result.default;throw e._result}var ie={current:null},Sr={transition:null},Sc={ReactCurrentDispatcher:ie,ReactCurrentBatchConfig:Sr,ReactCurrentOwner:Ko};L.Children={map:tr,forEach:function(e,n,t){tr(e,function(){n.apply(this,arguments)},t)},count:function(e){var n=0;return tr(e,function(){n++}),n},toArray:function(e){return tr(e,function(n){return n})||[]},only:function(e){if(!Yo(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};L.Component=ut;L.Fragment=ic;L.Profiler=ac;L.Pure
|
||
|
* @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 kc=en,Ec=Symbol.for("react.element"),Cc=Symbol.for("react.fragment"),_c=Object.prototype.hasOwnProperty,xc=kc.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Pc={key:!0,ref:!0,__self:!0,__source:!0};function ns(e,n,t){var r,l={},o=null,u=null;t!==void 0&&(o=""+t),n.key!==void 0&&(o=""+n.key),n.ref!==void 0&&(u=n.ref);for(r in n)_c.call(n,r)&&!Pc.hasOwnProperty(r)&&(l[r]=n[r]);if(e&&e.defaultProps)for(r in n=e.defaultProps,n)l[r]===void 0&&(l[r]=n[r]);return{$$typeof:Ec,type:e,key:o,ref:u,props:l,_owner:xc.current}}tl.Fragment=Cc;tl.jsx=ns;tl.jsxs=ns;(function(e){e.exports=tl})(lc);const Y=Rr.jsx,qn=Rr.jsxs;function Nc(e){return e instanceof RegExp||typeof e=="function"}const zc=e=>e.currentTarget.value,rl=(e,n)=>{const t=(n==null?void 0:n.rules)??{},[r,l]=en.useState(e),[o,u]=en.useState({}),[i,s]=en.useState(!0);en.useEffect(()=>{s(!Object.values(o).reduce((w,y)=>w||y!==void 0,!1))},[o]);const f=(w,y)=>{l({...r,[w]:y})};async function h(w,y){if(typeof y=="function")return await y(w);if(y instanceof RegExp)return y.test(w);throw new Error(`Unsupported validator: ${y}`)}async function m(w,y){const O=t[w];if(!O)return;const c=Array.isArray(O)?O:[O];let a;for(const d of c){const v=Nc(d),k=v?d:d.rule,_=await h(y,k);if(_!==!0){a=v?typeof _=="string"?_:!0:d.message;break}}u({...o,[w]:a})}function p(w,y){return O=>{const c=y?y(O):zc(O);f(w,c),m(w,c)}}function S(w,y){return{[(y==null?void 0:y.getter)||"onChange"]:p(w,y==null?void 0:y.extractor),[(y==null?void 0:y.setter)||"value"]:r[w]}}return{form:r,field:S,errors:o,isValid:i,setForm:l,setErrors:u,setField:f}};var Gl={},Lc={get exports(){return Gl},set exports(e){Gl=e}},ge={},Zl={},Tc={get exports(){return Zl},set exports(e){Zl=e}},ts={};/**
|
||
|
* @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 n(C,N){var z=C.length;C.push(N);e:for(;0<z;){var B=z-1>>>1,G=C[B];if(0<l(G,N))C[B]=N,C[z]=G,z=B;else break e}}function t(C){return C.length===0?null:C[0]}function r(C){if(C.length===0)return null;var N=C[0],z=C.pop();if(z!==N){C[0]=z;e:for(var B=0,G=C.length,er=G>>>1;B<er;){var yn=2*(B+1)-1,El=C[yn],gn=yn+1,nr=C[gn];if(0>l(El,z))gn<G&&0>l(nr,El)?(C[B]=nr,C[gn]=z,B=gn):(C[B]=El,C[yn]=z,B=yn);else if(gn<G&&0>l(nr,z))C[B]=nr,C[gn]=z,B=gn;else break e}}return N}function l(C,N){var z=C.sortIndex-N.sortIndex;return z!==0?z:C.id-N.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var u=Date,i=u.now();e.unstable_now=function(){return u.now()-i}}var s=[],f=[],h=1,m=null,p=3,S=!1,w=!1,y=!1,O=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=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(C){for(var N=t(f);N!==null;){if(N.callback===null)r(f);else if(N.startTime<=C)r(f),N.sortIndex=N.expirationTime,n(s,N);else break;N=t(f)}}function v(C){if(y=!1,d(C),!w)if(t(s)!==null)w=!0,Sl(k);else{var N=t(f);N!==null&&kl(v,N.startTime-C)}}function k(C,N){w=!1,y&&(y=!1,c(P),P=-1),S=!0;var z=p;try{for(d(N),m=t(s);m!==null&&(!(m.expirationTime>N)||C&&!Pe());){var B=m.callback;if(typeof B=="function"){m.callback=null,p=m.priorityLevel;var G=B(m.expirationTime<=N);N=e.unstable_now(),typeof G=="function"?m.callback=G:m===t(s)&&r(s),d(N)}else r(s);m=t(s)}if(m!==null)var er=!0;else{var yn=t(f);yn!==null&&kl(v,yn.startTime-N),er=!1}return er}finally{m=null,p=z,S=!1}}var _=!1,x=null,P=-1,H=5,T=-1;function Pe(){return!(e.unstable_now()-T<H)}function at(){if(x!==null){var C=e.unstable_now();T=C;var N=!0;try{N=x(!0,C)}finally{N?ct():(_=!1,x=null)}}else _=!1}var ct;if(typeof a=="function")ct=function(){a(at)};else if(typeof MessageChannel<"u"){var Uu=new MessageChannel,rc=Uu.port2;Uu.port1.onmessage=at,ct=function(){rc.postMessage(null)}}else ct=function(){O(at,0)};function Sl(C){x=C,_||(_=!0,ct())}function kl(C,N){P=O(function(){C(e.unstable_now())},N)}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(C){C.callback=null},e.unstable_continueExecution=function(){w||S||(w=!0,Sl(k))},e.unstable_forceFrameRate=function(C){0>C||125<C?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):H=0<C?Math.floor(1e3/C):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return t(s)},e.unstable_next=function(C){switch(p){case 1:case 2:case 3:var N=3;break;default:N=p}var z=p;p=N;try{return C()}finally{p=z}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(C,N){switch(C){case 1:case 2:case 3:case 4:case 5:break;default:C=3}var z=p;p=C;try{return N()}finally{p=z}},e.unstable_scheduleCallback=function(C,N,z){var B=e.unstable_now();switch(typeof z=="object"&&z!==null?(z=z.delay,z=typeof z=="number"&&0<z?B+z:B):z=B,C){case 1:var G=-1;break;case 2:G=250;break;case 5:G=1073741823;break;case 4:G=1e4;break;default:G=5e3}return G=z+G,C={id:h++,callback:N,priorityLevel:C,startTime:z,expirationTime:G,sortIndex:-1},z>B?(C.sortIndex=z,n(f,C),t(s)===null&&C===t(f)&&(y?(c(P),P=-1):y=!0,kl(v,z-B))):(C.sortIndex=G,n(s,C),w||S||(w=!0,Sl(k))),C},e.unstable_shouldYield=Pe,e.unstable_wrapCallback=function(C){var N=p;return function(){var z=p;p=N;try{return C.apply(this,arguments)}finally{p=z}}}})(ts);(function(e){e.exports=ts})(Tc);/**
|
||
|
* @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 rs=en,ye=Zl;function g(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t<arguments.length;t++)n+="&args[]="+encodeURIComponent(arguments[t]);return"Minified React error #"+e+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var ls=new Set,Ot={};function Rn(e,n){bn(e,n),bn(e+"Capture",n)}function bn(e,n){for(Ot[e]=n,e=0;e<n.length;e++)ls.add(n[e])}var We=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jl=Object.prototype.hasOwnProperty,Rc=/^[: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]*$/,Hu={},Bu={};function Oc(e){return Jl.call(Bu,e)?!0:Jl.call(Hu,e)?!1:Rc.test(e)?Bu[e]=!0:(Hu[e]=!0,!1)}function Mc(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Dc(e,n,t,r){if(n===null||typeof n>"u"||Mc(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function se(e,n,t,r,l,o,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=o,this.removeEmptyString=u}var ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ee[e]=new se(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];ee[n]=new se(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ee[e]=new se(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ee[e]=new se(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){ee[e]=new se(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ee[e]=new se(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ee[e]=new se(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ee[e]=new se(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ee[e]=new se(e,5,!1,e.toLowerCase(),null,!1,!1)});var Xo=/[\-:]([a-z])/g;function Go(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-adv-y vert-origin
|
||
|
`+_l+e}var xl=!1;function Pl(e,n){if(!e||xl)return"";xl=!0;var t=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(n)if(n=function(){throw Error()},Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(n,[])}catch(f){var r=f}Reflect.construct(e,[],n)}else{try{n.call()}catch(f){r=f}e.call(n.prototype)}else{try{throw Error()}catch(f){r=f}e()}}catch(f){if(f&&r&&typeof f.stack=="string"){for(var l=f.stack.split(`
|
||
|
`),o=r.stack.split(`
|
||
|
`),u=l.length-1,i=o.length-1;1<=u&&0<=i&&l[u]!==o[i];)i--;for(;1<=u&&0<=i;u--,i--)if(l[u]!==o[i]){if(u!==1||i!==1)do if(u--,i--,0>i||l[u]!==o[i]){var s=`
|
||
|
`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=u&&0<=i);break}}}finally{xl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?wt(e):""}function Ic(e){switch(e.tag){case 5:return wt(e.type);case 16:return wt("Lazy");case 13:return wt("Suspense");case 19:return wt("SuspenseList");case 0:case 2:case 15:return e=Pl(e.type,!1),e;case 11:return e=Pl(e.type.render,!1),e;case 1:return e=Pl(e.type,!0),e;default:return""}}function no(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 In:return"Fragment";case Dn:return"Portal";case ql:return"Profiler";case Jo:return"StrictMode";case bl:return"Suspense";case eo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case us:return(e.displayName||"Context")+".Consumer";case os:return(e._context.displayName||"Context")+".Provider";case qo:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bo:return n=e.displayName||null,n!==null?n:no(e.type)||"Memo";case Ze:n=e._payload,e=e._init;try{return no(e(n))}catch{}}return null}function Fc(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return no(n);case 8:return n===Jo?"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 n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function dn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ss(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function jc(e){var n=ss(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,o=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,o.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function lr(e){e._valueTracker||(e._valueTracker=jc(e))}function as(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=ss(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Or(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 to(e,n){var t=n.checked;return V({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Qu(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=dn(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function cs(e,n){n=n.checked,n!=null&&Zo(e,"checked",n,!1)}function ro(e,n){cs(e,n);var t=dn(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?lo(e,n.type,t):n.hasOwnProperty("defaultValue")&&lo(e,n.type,dn(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Ku(e,n,t){if(n.hasOwnProperty("valu
|
||
|
`).replace(Xf,"")}function dr(e,n,t){if(n=hi(n),hi(e)!==n&&t)throw Error(g(425))}function Vr(){}var wo=null,So=null;function ko(e,n){return e==="textarea"||e==="noscript"||typeof n.children=="string"||typeof n.children=="number"||typeof n.dangerouslySetInnerHTML=="object"&&n.dangerouslySetInnerHTML!==null&&n.dangerouslySetInnerHTML.__html!=null}var Eo=typeof setTimeout=="function"?setTimeout:void 0,Gf=typeof clearTimeout=="function"?clearTimeout:void 0,vi=typeof Promise=="function"?Promise:void 0,Zf=typeof queueMicrotask=="function"?queueMicrotask:typeof vi<"u"?function(e){return vi.resolve(null).then(e).catch(Jf)}:Eo;function Jf(e){setTimeout(function(){throw e})}function $l(e,n){var t=n,r=0;do{var l=t.nextSibling;if(e.removeChild(t),l&&l.nodeType===8)if(t=l.data,t==="/$"){if(r===0){e.removeChild(l),jt(n);return}r--}else t!=="$"&&t!=="$?"&&t!=="$!"||r++;t=l}while(t);jt(n)}function un(e){for(;e!=null;e=e.nextSibling){var n=e.nodeType;if(n===1||n===3)break;if(n===8){if(n=e.data,n==="$"||n==="$!"||n==="$?")break;if(n==="/$")return null}}return e}function yi(e){e=e.previousSibling;for(var n=0;e;){if(e.nodeType===8){var t=e.data;if(t==="$"||t==="$!"||t==="$?"){if(n===0)return e;n--}else t==="/$"&&n++}e=e.previousSibling}return null}var st=Math.random().toString(36).slice(2),Fe="__reactFiber$"+st,Ht="__reactProps$"+st,Qe="__reactContainer$"+st,Co="__reactEvents$"+st,qf="__reactListeners$"+st,bf="__reactHandles$"+st;function kn(e){var n=e[Fe];if(n)return n;for(var t=e.parentNode;t;){if(n=t[Qe]||t[Fe]){if(t=n.alternate,n.child!==null||t!==null&&t.child!==null)for(e=yi(e);e!==null;){if(t=e[Fe])return t;e=yi(e)}return n}e=t,t=e.parentNode}return null}function qt(e){return e=e[Fe]||e[Qe],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function $n(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(g(33))}function sl(e){return e[Ht]||null}var _o=[],Vn=-1;function hn(e){return{current:e}}function F(e){0>Vn||(e.current=_o[Vn],_o[Vn]=null,Vn--)}function D(e,n){Vn++,_o[Vn]=e.current,e.current=n}var pn={},le=hn(pn),fe=hn(!1),Pn=pn;function et(e,n){var t=e.type.contextTypes;if(!t)return pn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},o;for(o in t)l[o]=n[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function de(e){return e=e.childContextTypes,e!=null}function Ar(){F(fe),F(le)}function gi(e,n,t){if(le.current!==pn)throw Error(g(168));D(le,n),D(fe,t)}function qs(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(g(108,Fc(e)||"Unknown",l));return V({},t,r)}function Hr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||pn,Pn=le.current,D(le,e),D(fe,fe.current),!0}function wi(e,n,t){var r=e.stateNode;if(!r)throw Error(g(169));t?(e=qs(e,n,Pn),r.__reactInternalMemoizedMergedChildContext=e,F(fe),F(le),D(le,e)):F(fe),D(fe,t)}var Ve=null,al=!1,Vl=!1;function bs(e){Ve===null?Ve=[e]:Ve.push(e)}function ed(e){al=!0,bs(e)}function vn(){if(!Vl&&Ve!==null){Vl=!0;var e=0,n=M;try{var t=Ve;for(M=1;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}Ve=null,al=!1}catch(l){throw Ve!==null&&(Ve=Ve.slice(e+1)),_s(nu,vn),l}finally{M=n,Vl=!1}}return null}var An=[],Hn=0,Br=null,Wr=0,Se=[],ke=0,Nn=null,Ae=1,He="";function wn(e,n){An[Hn++]=Wr,An[Hn++]=Br,Br=e,Wr=n}function ea(e,n,t){Se[ke++]=Ae,Se[ke++]=He,Se[ke++]=Nn,Nn=e;var r=Ae;e=He;var l=32-Re(r)-1;r&=~(1<<l),t+=1;var o=32-Re(n)+l;if(30<o){var u=l-l%5;o=(r&(1<<u)-1).toString(32),r>>=u,l-=u,Ae=1<<32-Re(n)+l|t<<l|r,He=o+e}else Ae=1<<o|t<<l|r,He=e}function cu(e){e.return!==null&&(wn(e,1),ea(e,1,0))}function fu(e){for(;e===Br;)Br=An[--Hn],An[Hn]=null,Wr=An[--Hn],An[Hn]=null;for(;e===Nn;)Nn=Se[--ke],Se[ke]=null,He=Se[--ke],Se[ke]=null,Ae=Se[--ke],Se[ke]=null}var ve=null,he=null,j=!1,Te=null;function na(e,n){var t=Ee(5,null,null,0);t.elementType="DELETED",t.stateNode=n,t.return=e,n=e.deletions,n===null?(e.del
|
||
|
Error generating stack: `+o.message+`
|
||
|
`+o.stack}return{value:e,source:n,stack:l,digest:null}}function Ql(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function To(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var ad=typeof WeakMap=="function"?WeakMap:Map;function La(e,n,t){t=Be(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){qr||(qr=!0,Vo=r),To(e,n)},t}function Ta(e,n,t){t=Be(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){To(e,n)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(t.callback=function(){To(e,n),typeof r!="function"&&(an===null?an=new Set([this]):an.add(this));var u=n.stack;this.componentDidCatch(n.value,{componentStack:u!==null?u:""})}),t}function Li(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new ad;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=Cd.bind(null,e,n,t),n.then(e,e))}function Ti(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function Ri(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=Be(-1,1),n.tag=2,sn(t,n,1))),t.lanes|=1),e)}var cd=Xe.ReactCurrentOwner,ce=!1;function oe(e,n,t,r){n.child=e===null?sa(n,null,t,r):tt(n,e.child,t,r)}function Oi(e,n,t,r,l){t=t.render;var o=n.ref;return Zn(n,l),r=Eu(e,n,t,r,o,l),t=Cu(),e!==null&&!ce?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ye(e,n,l)):(j&&t&&cu(n),n.flags|=1,oe(e,n,r,l),n.child)}function Mi(e,n,t,r,l){if(e===null){var o=t.type;return typeof o=="function"&&!Mu(o)&&o.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=o,Ra(e,n,o,r,l)):(e=Tr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(o=e.child,!(e.lanes&l)){var u=o.memoizedProps;if(t=t.compare,t=t!==null?t:$t,t(u,r)&&e.ref===n.ref)return Ye(e,n,l)}return n.flags|=1,e=fn(o,r),e.ref=n.ref,e.return=n,n.child=e}function Ra(e,n,t,r,l){if(e!==null){var o=e.memoizedProps;if($t(o,r)&&e.ref===n.ref)if(ce=!1,n.pendingProps=r=o,(e.lanes&l)!==0)e.flags&131072&&(ce=!0);else return n.lanes=e.lanes,Ye(e,n,l)}return Ro(e,n,t,r,l)}function Oa(e,n,t){var r=n.pendingProps,l=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Qn,me),me|=t;else{if(!(t&1073741824))return e=o!==null?o.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,D(Qn,me),me|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:t,D(Qn,me),me|=r}else o!==null?(r=o.baseLanes|t,n.memoizedState=null):r=t,D(Qn,me),me|=r;return oe(e,n,l,t),n.child}function Ma(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function Ro(e,n,t,r,l){var o=de(t)?Pn:le.current;return o=et(n,o),Zn(n,l),t=Eu(e,n,t,r,o,l),r=Cu(),e!==null&&!ce?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,Ye(e,n,l)):(j&&r&&cu(n),n.flags|=1,oe(e,n,t,l),n.child)}function Di(e,n,t,r,l){if(de(t)){var o=!0;Hr(n)}else o=!1;if(Zn(n,l),n.stateNode===null)Nr(e,n),ua(n,t,r),Lo(n,t,r,l),r=!0;else if(e===null){var u=n.stateNode,i=n.memoizedProps;u.props=i;var s=u.context,f=t.contextType;typeof f=="object"&&f!==null?f=_e(f):(f=de(t)?Pn:le.current,f=et(n,f));var h=t.getDerivedStateFromProps,m=typeof h=="function"||typeof u.getSnapshotBeforeUpdate=="function";m||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(i!==r||s!==f)&&xi(n,u,r,f),Je=!1;var p=n.memoizedState;u.state=p,Yr(n,r,u,l),s=n.memoizedState,i!==r||p!==s||fe.current||Je?(typeof h=="function"&&(zo(n,t,h,r),s=n.memoizedState),(i=Je||_i(n,t,i,r,p,s,f))?(m||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.compon
|