191 lines
254 KiB
JavaScript
191 lines
254 KiB
JavaScript
(()=>{var ov=Object.create;var ol=Object.defineProperty;var av=Object.getOwnPropertyDescriptor;var lv=Object.getOwnPropertyNames;var sv=Object.getPrototypeOf,uv=Object.prototype.hasOwnProperty;var cv=e=>ol(e,"__esModule",{value:!0});var ke=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var fv=(e,t,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of lv(t))!uv.call(e,n)&&n!=="default"&&ol(e,n,{get:()=>t[n],enumerable:!(r=av(t,n))||r.enumerable});return e},ye=e=>fv(cv(ol(e!=null?ov(sv(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var kc=(e,t,r)=>new Promise((n,i)=>{var o=u=>{try{l(r.next(u))}catch(s){i(s)}},a=u=>{try{l(r.throw(u))}catch(s){i(s)}},l=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,a);l((r=r.apply(e,t)).next())});var al=ke((nw,Cc)=>{"use strict";var Pc=Object.getOwnPropertySymbols,dv=Object.prototype.hasOwnProperty,pv=Object.prototype.propertyIsEnumerable;function mv(e){if(e==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function hv(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de",Object.getOwnPropertyNames(e)[0]==="5")return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map(function(o){return t[o]});if(n.join("")!=="0123456789")return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach(function(o){i[o]=o}),Object.keys(Object.assign({},i)).join("")==="abcdefghijklmnopqrst"}catch(o){return!1}}Cc.exports=hv()?Object.assign:function(e,t){for(var r,n=mv(e),i,o=1;o<arguments.length;o++){r=Object(arguments[o]);for(var a in r)dv.call(r,a)&&(n[a]=r[a]);if(Pc){i=Pc(r);for(var l=0;l<i.length;l++)pv.call(r,i[l])&&(n[i[l]]=r[i[l]])}}return n}});var Vc=ke(te=>{"use strict";var ll=al(),qr=60103,xc=60106;te.Fragment=60107;te.StrictMode=60108;te.Profiler=60114;var bc=60109,Oc=60110,Nc=60112;te.Suspense=60113;var Tc=60115,Rc=60116;typeof Symbol=="function"&&Symbol.for&&(lt=Symbol.for,qr=lt("react.element"),xc=lt("react.portal"),te.Fragment=lt("react.fragment"),te.StrictMode=lt("react.strict_mode"),te.Profiler=lt("react.profiler"),bc=lt("react.provider"),Oc=lt("react.context"),Nc=lt("react.forward_ref"),te.Suspense=lt("react.suspense"),Tc=lt("react.memo"),Rc=lt("react.lazy"));var lt,_c=typeof Symbol=="function"&&Symbol.iterator;function vv(e){return e===null||typeof e!="object"?null:(e=_c&&e[_c]||e["@@iterator"],typeof e=="function"?e:null)}function Mn(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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 Lc={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Ac={};function Gr(e,t,r){this.props=e,this.context=t,this.refs=Ac,this.updater=r||Lc}Gr.prototype.isReactComponent={};Gr.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error(Mn(85));this.updater.enqueueSetState(this,e,t,"setState")};Gr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function jc(){}jc.prototype=Gr.prototype;function sl(e,t,r){this.props=e,this.context=t,this.refs=Ac,this.updater=r||Lc}var ul=sl.prototype=new jc;ul.constructor=sl;ll(ul,Gr.prototype);ul.isPureReactComponent=!0;var cl={current:null},Fc=Object.prototype.hasOwnProperty,Dc={key:!0,ref:!0,__self:!0,__source:!0};function zc(e,t,r){var n,i={},o=null,a=null;if(t!=null)for(n in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(o=""+t.key),t)Fc.call(t,n)&&!Dc.hasOwnProperty(n)&&(i[n]=t[n]);var l=arguments.length-2;if(l===1)i.children=r;else if(1<l){for(var u=Array(l),s=0;s<l;s++)u[s]=arguments[s+2];i.children=u}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)i[n]===void 0&&(i[n]=l[n]);return{$$typeof:qr,type:e,key:o,ref:a,props:i,_owner:cl.current}}function yv(e,t){return{$$typeof:qr,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function fl(e){return typeof e=="object"&&e!==null&&e.$$typeof===qr}function gv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var Ic=/\/+/g;function dl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?gv(""+e.key):t.toString(36)}function ao(e,t,r,n,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(o){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case qr:case xc:a=!0}}if(a)return a=e,i=i(a),e=n===""?"."+dl(a,0):n,Array.isArray(i)?(r="",e!=null&&(r=e.replace(Ic,"$&/")+"/"),ao(i,t,r,"",function(s){return s})):i!=null&&(fl(i)&&(i=yv(i,r+(!i.key||a&&a.key===i.key?"":(""+i.key).replace(Ic,"$&/")+"/")+e)),t.push(i)),1;if(a=0,n=n===""?".":n+":",Array.isArray(e))for(var l=0;l<e.length;l++){o=e[l];var u=n+dl(o,l);a+=ao(o,t,r,u,i)}else if(u=vv(e),typeof u=="function")for(e=u.call(e),l=0;!(o=e.next()).done;)o=o.value,u=n+dl(o,l++),a+=ao(o,t,r,u,i);else if(o==="object")throw t=""+e,Error(Mn(31,t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t));return a}function lo(e,t,r){if(e==null)return e;var n=[],i=0;return ao(e,n,"","",function(o){return t.call(r,o,i++)}),n}function wv(e){if(e._status===-1){var t=e._result;t=t(),e._status=0,e._result=t,t.then(function(r){e._status===0&&(r=r.default,e._status=1,e._result=r)},function(r){e._status===0&&(e._status=2,e._result=r)})}if(e._status===1)return e._result;throw e._result}var Mc={current:null};function Ut(){var e=Mc.current;if(e===null)throw Error(Mn(321));return e}var Ev={ReactCurrentDispatcher:Mc,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:cl,IsSomeRendererActing:{current:!1},assign:ll};te.Children={map:lo,forEach:function(e,t,r){lo(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return lo(e,function(){t++}),t},toArray:function(e){return lo(e,function(t){return t})||[]},only:function(e){if(!fl(e))throw Error(Mn(143));return e}};te.Component=Gr;te.PureComponent=sl;te.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ev;te.cloneElement=function(e,t,r){if(e==null)throw Error(Mn(267,e));var n=ll({},e.props),i=e.key,o=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,a=cl.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)Fc.call(t,u)&&!Dc.hasOwnProperty(u)&&(n[u]=t[u]===void 0&&l!==void 0?l[u]:t[u])}var u=arguments.length-2;if(u===1)n.children=r;else if(1<u){l=Array(u);for(var s=0;s<u;s++)l[s]=arguments[s+2];n.children=l}return{$$typeof:qr,type:e.type,key:i,ref:o,props:n,_owner:a}};te.createContext=function(e,t){return t===void 0&&(t=null),e={$$typeof:Oc,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider={$$typeof:bc,_context:e},e.Consumer=e};te.createElement=zc;te.createFactory=function(e){var t=zc.bind(null,e);return t.type=e,t};te.createRef=function(){return{current:null}};te.forwardRef=function(e){return{$$typeof:Nc,render:e}};te.isValidElement=fl;te.lazy=function(e){return{$$typeof:Rc,_payload:{_status:-1,_result:e},_init:wv}};te.memo=function(e,t){return{$$typeof:Tc,type:e,compare:t===void 0?null:t}};te.useCallback=function(e,t){return Ut().useCallback(e,t)};te.useContext=function(e,t){return Ut().useContext(e,t)};te.useDebugValue=function(){};te.useEffect=function(e,t){return Ut().useEffect(e,t)};te.useImperativeHandle=function(e,t,r){return Ut().useImperativeHandle(e,t,r)};te.useLayoutEffect=function(e,t){return Ut().useLayoutEffect(e,t)};te.useMemo=function(e,t){return Ut().useMemo(e,t)};te.useReducer=function(e,t,r){return Ut().useReducer(e,t,r)};te.useRef=function(e){return Ut().useRef(e)};te.useState=function(e){return Ut().useState(e)};te.version="17.0.2"});var Be=ke((ow,Uc)=>{"use strict";Uc.exports=Vc()});var Gc=ke(ne=>{"use strict";var Yr,Vn,so,pl;typeof performance=="object"&&typeof performance.now=="function"?($c=performance,ne.unstable_now=function(){return $c.now()}):(ml=Date,Bc=ml.now(),ne.unstable_now=function(){return ml.now()-Bc});var $c,ml,Bc;typeof window=="undefined"||typeof MessageChannel!="function"?(Qr=null,hl=null,vl=function(){if(Qr!==null)try{var e=ne.unstable_now();Qr(!0,e),Qr=null}catch(t){throw setTimeout(vl,0),t}},Yr=function(e){Qr!==null?setTimeout(Yr,0,e):(Qr=e,setTimeout(vl,0))},Vn=function(e,t){hl=setTimeout(e,t)},so=function(){clearTimeout(hl)},ne.unstable_shouldYield=function(){return!1},pl=ne.unstable_forceFrameRate=function(){}):(Hc=window.setTimeout,Wc=window.clearTimeout,typeof console!="undefined"&&(qc=window.cancelAnimationFrame,typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),typeof qc!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")),Un=!1,$n=null,uo=-1,yl=5,gl=0,ne.unstable_shouldYield=function(){return ne.unstable_now()>=gl},pl=function(){},ne.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):yl=0<e?Math.floor(1e3/e):5},wl=new MessageChannel,co=wl.port2,wl.port1.onmessage=function(){if($n!==null){var e=ne.unstable_now();gl=e+yl;try{$n(!0,e)?co.postMessage(null):(Un=!1,$n=null)}catch(t){throw co.postMessage(null),t}}else Un=!1},Yr=function(e){$n=e,Un||(Un=!0,co.postMessage(null))},Vn=function(e,t){uo=Hc(function(){e(ne.unstable_now())},t)},so=function(){Wc(uo),uo=-1});var Qr,hl,vl,Hc,Wc,qc,Un,$n,uo,yl,gl,wl,co;function El(e,t){var r=e.length;e.push(t);e:for(;;){var n=r-1>>>1,i=e[n];if(i!==void 0&&0<po(i,t))e[n]=t,e[r]=i,r=n;else break e}}function Et(e){return e=e[0],e===void 0?null:e}function fo(e){var t=e[0];if(t!==void 0){var r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,i=e.length;n<i;){var o=2*(n+1)-1,a=e[o],l=o+1,u=e[l];if(a!==void 0&&0>po(a,r))u!==void 0&&0>po(u,a)?(e[n]=u,e[l]=r,n=l):(e[n]=a,e[o]=r,n=o);else if(u!==void 0&&0>po(u,r))e[n]=u,e[l]=r,n=l;else break e}}return t}return null}function po(e,t){var r=e.sortIndex-t.sortIndex;return r!==0?r:e.id-t.id}var Ot=[],Zt=[],Sv=1,st=null,ze=3,mo=!1,Or=!1,Bn=!1;function Sl(e){for(var t=Et(Zt);t!==null;){if(t.callback===null)fo(Zt);else if(t.startTime<=e)fo(Zt),t.sortIndex=t.expirationTime,El(Ot,t);else break;t=Et(Zt)}}function kl(e){if(Bn=!1,Sl(e),!Or)if(Et(Ot)!==null)Or=!0,Yr(Pl);else{var t=Et(Zt);t!==null&&Vn(kl,t.startTime-e)}}function Pl(e,t){Or=!1,Bn&&(Bn=!1,so()),mo=!0;var r=ze;try{for(Sl(t),st=Et(Ot);st!==null&&(!(st.expirationTime>t)||e&&!ne.unstable_shouldYield());){var n=st.callback;if(typeof n=="function"){st.callback=null,ze=st.priorityLevel;var i=n(st.expirationTime<=t);t=ne.unstable_now(),typeof i=="function"?st.callback=i:st===Et(Ot)&&fo(Ot),Sl(t)}else fo(Ot);st=Et(Ot)}if(st!==null)var o=!0;else{var a=Et(Zt);a!==null&&Vn(kl,a.startTime-t),o=!1}return o}finally{st=null,ze=r,mo=!1}}var kv=pl;ne.unstable_IdlePriority=5;ne.unstable_ImmediatePriority=1;ne.unstable_LowPriority=4;ne.unstable_NormalPriority=3;ne.unstable_Profiling=null;ne.unstable_UserBlockingPriority=2;ne.unstable_cancelCallback=function(e){e.callback=null};ne.unstable_continueExecution=function(){Or||mo||(Or=!0,Yr(Pl))};ne.unstable_getCurrentPriorityLevel=function(){return ze};ne.unstable_getFirstCallbackNode=function(){return Et(Ot)};ne.unstable_next=function(e){switch(ze){case 1:case 2:case 3:var t=3;break;default:t=ze}var r=ze;ze=t;try{return e()}finally{ze=r}};ne.unstable_pauseExecution=function(){};ne.unstable_requestPaint=kv;ne.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=ze;ze=e;try{return t()}finally{ze=r}};ne.unstable_scheduleCallback=function(e,t,r){var n=ne.unstable_now();switch(typeof r=="object"&&r!==null?(r=r.delay,r=typeof r=="number"&&0<r?n+r:n):r=n,e){case 1:var i=-1;break;case 2:i=250;break;case 5:i=1073741823;break;case 4:i=1e4;break;default:i=5e3}return i=r+i,e={id:Sv++,callback:t,priorityLevel:e,startTime:r,expirationTime:i,sortIndex:-1},r>n?(e.sortIndex=r,El(Zt,e),Et(Ot)===null&&e===Et(Zt)&&(Bn?so():Bn=!0,Vn(kl,r-n))):(e.sortIndex=i,El(Ot,e),Or||mo||(Or=!0,Yr(Pl))),e};ne.unstable_wrapCallback=function(e){var t=ze;return function(){var r=ze;ze=t;try{return e.apply(this,arguments)}finally{ze=r}}}});var Qc=ke((lw,Yc)=>{"use strict";Yc.exports=Gc()});var Dp=ke(mt=>{"use strict";var ho=Be(),ge=al(),Re=Qc();function I(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);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."}if(!ho)throw Error(I(227));var Kc=new Set,Hn={};function Nr(e,t){Kr(e,t),Kr(e+"Capture",t)}function Kr(e,t){for(Hn[e]=t,e=0;e<t.length;e++)Kc.add(t[e])}var $t=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),Pv=/^[: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]*$/,Xc=Object.prototype.hasOwnProperty,Zc={},Jc={};function Cv(e){return Xc.call(Jc,e)?!0:Xc.call(Zc,e)?!1:Pv.test(e)?Jc[e]=!0:(Zc[e]=!0,!1)}function xv(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function bv(e,t,r,n){if(t===null||typeof t=="undefined"||xv(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.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 He(e,t,r,n,i,o,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=i,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var je={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){je[e]=new He(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];je[t]=new He(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){je[e]=new He(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){je[e]=new He(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){je[e]=new He(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){je[e]=new He(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){je[e]=new He(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){je[e]=new He(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){je[e]=new He(e,5,!1,e.toLowerCase(),null,!1,!1)});var Cl=/[\-:]([a-z])/g;function xl(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-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Cl,xl);je[t]=new He(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Cl,xl);je[t]=new He(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Cl,xl);je[t]=new He(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){je[e]=new He(e,1,!1,e.toLowerCase(),null,!1,!1)});je.xlinkHref=new He("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){je[e]=new He(e,1,!1,e.toLowerCase(),null,!0,!0)});function bl(e,t,r,n){var i=je.hasOwnProperty(t)?je[t]:null,o=i!==null?i.type===0:n?!1:!(!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N");o||(bv(t,r,i,n)&&(r=null),n||i===null?Cv(t)&&(r===null?e.removeAttribute(t):e.setAttribute(t,""+r)):i.mustUseProperty?e[i.propertyName]=r===null?i.type===3?!1:"":r:(t=i.attributeName,n=i.attributeNamespace,r===null?e.removeAttribute(t):(i=i.type,r=i===3||i===4&&r===!0?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}var Tr=ho.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Wn=60103,Rr=60106,Jt=60107,Ol=60108,qn=60114,Nl=60109,Tl=60110,vo=60112,Gn=60113,yo=60120,go=60115,Rl=60116,_l=60121,Ll=60128,ef=60129,Al=60130,jl=60131;typeof Symbol=="function"&&Symbol.for&&(Oe=Symbol.for,Wn=Oe("react.element"),Rr=Oe("react.portal"),Jt=Oe("react.fragment"),Ol=Oe("react.strict_mode"),qn=Oe("react.profiler"),Nl=Oe("react.provider"),Tl=Oe("react.context"),vo=Oe("react.forward_ref"),Gn=Oe("react.suspense"),yo=Oe("react.suspense_list"),go=Oe("react.memo"),Rl=Oe("react.lazy"),_l=Oe("react.block"),Oe("react.scope"),Ll=Oe("react.opaque.id"),ef=Oe("react.debug_trace_mode"),Al=Oe("react.offscreen"),jl=Oe("react.legacy_hidden"));var Oe,tf=typeof Symbol=="function"&&Symbol.iterator;function Yn(e){return e===null||typeof e!="object"?null:(e=tf&&e[tf]||e["@@iterator"],typeof e=="function"?e:null)}var Fl;function Qn(e){if(Fl===void 0)try{throw Error()}catch(r){var t=r.stack.trim().match(/\n( *(at )?)/);Fl=t&&t[1]||""}return`
|
|
`+Fl+e}var Dl=!1;function wo(e,t){if(!e||Dl)return"";Dl=!0;var r=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(u){var n=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){n=u}e.call(t.prototype)}else{try{throw Error()}catch(u){n=u}e()}}catch(u){if(u&&n&&typeof u.stack=="string"){for(var i=u.stack.split(`
|
|
`),o=n.stack.split(`
|
|
`),a=i.length-1,l=o.length-1;1<=a&&0<=l&&i[a]!==o[l];)l--;for(;1<=a&&0<=l;a--,l--)if(i[a]!==o[l]){if(a!==1||l!==1)do if(a--,l--,0>l||i[a]!==o[l])return`
|
|
`+i[a].replace(" at new "," at ");while(1<=a&&0<=l);break}}}finally{Dl=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Qn(e):""}function Ov(e){switch(e.tag){case 5:return Qn(e.type);case 16:return Qn("Lazy");case 13:return Qn("Suspense");case 19:return Qn("SuspenseList");case 0:case 2:case 15:return e=wo(e.type,!1),e;case 11:return e=wo(e.type.render,!1),e;case 22:return e=wo(e.type._render,!1),e;case 1:return e=wo(e.type,!0),e;default:return""}}function Xr(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 Jt:return"Fragment";case Rr:return"Portal";case qn:return"Profiler";case Ol:return"StrictMode";case Gn:return"Suspense";case yo:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Tl:return(e.displayName||"Context")+".Consumer";case Nl:return(e._context.displayName||"Context")+".Provider";case vo:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case go:return Xr(e.type);case _l:return Xr(e._render);case Rl:t=e._payload,e=e._init;try{return Xr(e(t))}catch(r){}}return null}function er(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function rf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Nv(e){var t=rf(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var i=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(a){n=""+a,o.call(this,a)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(a){n=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Eo(e){e._valueTracker||(e._valueTracker=Nv(e))}function nf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=rf(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function So(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function zl(e,t){var r=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function of(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=er(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function af(e,t){t=t.checked,t!=null&&bl(e,"checked",t,!1)}function Il(e,t){af(e,t);var r=er(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ml(e,t.type,r):t.hasOwnProperty("defaultValue")&&Ml(e,t.type,er(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function lf(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Ml(e,t,r){(t!=="number"||So(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}function Tv(e){var t="";return ho.Children.forEach(e,function(r){r!=null&&(t+=r)}),t}function Vl(e,t){return e=ge({children:void 0},t),(t=Tv(t.children))&&(e.children=t),e}function Zr(e,t,r,n){if(e=e.options,t){t={};for(var i=0;i<r.length;i++)t["$"+r[i]]=!0;for(r=0;r<e.length;r++)i=t.hasOwnProperty("$"+e[r].value),e[r].selected!==i&&(e[r].selected=i),i&&n&&(e[r].defaultSelected=!0)}else{for(r=""+er(r),t=null,i=0;i<e.length;i++){if(e[i].value===r){e[i].selected=!0,n&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function Ul(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(I(91));return ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function sf(e,t){var r=t.value;if(r==null){if(r=t.children,t=t.defaultValue,r!=null){if(t!=null)throw Error(I(92));if(Array.isArray(r)){if(!(1>=r.length))throw Error(I(93));r=r[0]}t=r}t==null&&(t=""),r=t}e._wrapperState={initialValue:er(r)}}function uf(e,t){var r=er(t.value),n=er(t.defaultValue);r!=null&&(r=""+r,r!==e.value&&(e.value=r),t.defaultValue==null&&e.defaultValue!==r&&(e.defaultValue=r)),n!=null&&(e.defaultValue=""+n)}function cf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}var $l={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function ff(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Bl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?ff(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var ko,df=function(e){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(t,r,n,i){MSApp.execUnsafeLocalFunction(function(){return e(t,r,n,i)})}:e}(function(e,t){if(e.namespaceURI!==$l.svg||"innerHTML"in e)e.innerHTML=t;else{for(ko=ko||document.createElement("div"),ko.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ko.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kn(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Xn={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Rv=["Webkit","ms","Moz","O"];Object.keys(Xn).forEach(function(e){Rv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Xn[t]=Xn[e]})});function pf(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Xn.hasOwnProperty(e)&&Xn[e]?(""+t).trim():t+"px"}function mf(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,i=pf(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,i):e[r]=i}}var _v=ge({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Hl(e,t){if(t){if(_v[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(I(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(I(60));if(!(typeof t.dangerouslySetInnerHTML=="object"&&"__html"in t.dangerouslySetInnerHTML))throw Error(I(61))}if(t.style!=null&&typeof t.style!="object")throw Error(I(62))}}function Wl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function ql(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gl=null,Jr=null,en=null;function hf(e){if(e=hi(e)){if(typeof Gl!="function")throw Error(I(280));var t=e.stateNode;t&&(t=Bo(t),Gl(e.stateNode,e.type,t))}}function vf(e){Jr?en?en.push(e):en=[e]:Jr=e}function yf(){if(Jr){var e=Jr,t=en;if(en=Jr=null,hf(e),t)for(e=0;e<t.length;e++)hf(t[e])}}function Yl(e,t){return e(t)}function gf(e,t,r,n,i){return e(t,r,n,i)}function Ql(){}var wf=Yl,_r=!1,Kl=!1;function Xl(){(Jr!==null||en!==null)&&(Ql(),yf())}function Lv(e,t,r){if(Kl)return e(t,r);Kl=!0;try{return wf(e,t,r)}finally{Kl=!1,Xl()}}function Zn(e,t){var r=e.stateNode;if(r===null)return null;var n=Bo(r);if(n===null)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(r&&typeof r!="function")throw Error(I(231,t,typeof r));return r}var Zl=!1;if($t)try{tn={},Object.defineProperty(tn,"passive",{get:function(){Zl=!0}}),window.addEventListener("test",tn,tn),window.removeEventListener("test",tn,tn)}catch(e){Zl=!1}var tn;function Av(e,t,r,n,i,o,a,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(r,s)}catch(m){this.onError(m)}}var Jn=!1,Po=null,Co=!1,Jl=null,jv={onError:function(e){Jn=!0,Po=e}};function Fv(e,t,r,n,i,o,a,l,u){Jn=!1,Po=null,Av.apply(jv,arguments)}function Dv(e,t,r,n,i,o,a,l,u){if(Fv.apply(this,arguments),Jn){if(Jn){var s=Po;Jn=!1,Po=null}else throw Error(I(198));Co||(Co=!0,Jl=s)}}function Lr(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&1026)!=0&&(r=t.return),e=t.return;while(e)}return t.tag===3?r:null}function Ef(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Sf(e){if(Lr(e)!==e)throw Error(I(188))}function zv(e){var t=e.alternate;if(!t){if(t=Lr(e),t===null)throw Error(I(188));return t!==e?null:e}for(var r=e,n=t;;){var i=r.return;if(i===null)break;var o=i.alternate;if(o===null){if(n=i.return,n!==null){r=n;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===r)return Sf(i),e;if(o===n)return Sf(i),t;o=o.sibling}throw Error(I(188))}if(r.return!==n.return)r=i,n=o;else{for(var a=!1,l=i.child;l;){if(l===r){a=!0,r=i,n=o;break}if(l===n){a=!0,n=i,r=o;break}l=l.sibling}if(!a){for(l=o.child;l;){if(l===r){a=!0,r=o,n=i;break}if(l===n){a=!0,n=o,r=i;break}l=l.sibling}if(!a)throw Error(I(189))}}if(r.alternate!==n)throw Error(I(190))}if(r.tag!==3)throw Error(I(188));return r.stateNode.current===r?e:t}function kf(e){if(e=zv(e),!e)return null;for(var t=e;;){if(t.tag===5||t.tag===6)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Pf(e,t){for(var r=e.alternate;t!==null;){if(t===e||t===r)return!0;t=t.return}return!1}var Cf,es,xf,bf,ts=!1,Nt=[],tr=null,rr=null,nr=null,ei=new Map,ti=new Map,ri=[],Of="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function rs(e,t,r,n,i){return{blockedOn:e,domEventName:t,eventSystemFlags:r|16,nativeEvent:i,targetContainers:[n]}}function Nf(e,t){switch(e){case"focusin":case"focusout":tr=null;break;case"dragenter":case"dragleave":rr=null;break;case"mouseover":case"mouseout":nr=null;break;case"pointerover":case"pointerout":ei.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ti.delete(t.pointerId)}}function ni(e,t,r,n,i,o){return e===null||e.nativeEvent!==o?(e=rs(t,r,n,i,o),t!==null&&(t=hi(t),t!==null&&es(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Iv(e,t,r,n,i){switch(t){case"focusin":return tr=ni(tr,e,t,r,n,i),!0;case"dragenter":return rr=ni(rr,e,t,r,n,i),!0;case"mouseover":return nr=ni(nr,e,t,r,n,i),!0;case"pointerover":var o=i.pointerId;return ei.set(o,ni(ei.get(o)||null,e,t,r,n,i)),!0;case"gotpointercapture":return o=i.pointerId,ti.set(o,ni(ti.get(o)||null,e,t,r,n,i)),!0}return!1}function Mv(e){var t=Ar(e.target);if(t!==null){var r=Lr(t);if(r!==null){if(t=r.tag,t===13){if(t=Ef(r),t!==null){e.blockedOn=t,bf(e.lanePriority,function(){Re.unstable_runWithPriority(e.priority,function(){xf(r)})});return}}else if(t===3&&r.stateNode.hydrate){e.blockedOn=r.tag===3?r.stateNode.containerInfo:null;return}}}e.blockedOn=null}function xo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var r=ss(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null)return t=hi(r),t!==null&&es(t),e.blockedOn=r,!1;t.shift()}return!0}function Tf(e,t,r){xo(e)&&r.delete(t)}function Vv(){for(ts=!1;0<Nt.length;){var e=Nt[0];if(e.blockedOn!==null){e=hi(e.blockedOn),e!==null&&Cf(e);break}for(var t=e.targetContainers;0<t.length;){var r=ss(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(r!==null){e.blockedOn=r;break}t.shift()}e.blockedOn===null&&Nt.shift()}tr!==null&&xo(tr)&&(tr=null),rr!==null&&xo(rr)&&(rr=null),nr!==null&&xo(nr)&&(nr=null),ei.forEach(Tf),ti.forEach(Tf)}function ii(e,t){e.blockedOn===t&&(e.blockedOn=null,ts||(ts=!0,Re.unstable_scheduleCallback(Re.unstable_NormalPriority,Vv)))}function Rf(e){function t(i){return ii(i,e)}if(0<Nt.length){ii(Nt[0],e);for(var r=1;r<Nt.length;r++){var n=Nt[r];n.blockedOn===e&&(n.blockedOn=null)}}for(tr!==null&&ii(tr,e),rr!==null&&ii(rr,e),nr!==null&&ii(nr,e),ei.forEach(t),ti.forEach(t),r=0;r<ri.length;r++)n=ri[r],n.blockedOn===e&&(n.blockedOn=null);for(;0<ri.length&&(r=ri[0],r.blockedOn===null);)Mv(r),r.blockedOn===null&&ri.shift()}function bo(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var rn={animationend:bo("Animation","AnimationEnd"),animationiteration:bo("Animation","AnimationIteration"),animationstart:bo("Animation","AnimationStart"),transitionend:bo("Transition","TransitionEnd")},ns={},_f={};$t&&(_f=document.createElement("div").style,"AnimationEvent"in window||(delete rn.animationend.animation,delete rn.animationiteration.animation,delete rn.animationstart.animation),"TransitionEvent"in window||delete rn.transitionend.transition);function Oo(e){if(ns[e])return ns[e];if(!rn[e])return e;var t=rn[e],r;for(r in t)if(t.hasOwnProperty(r)&&r in _f)return ns[e]=t[r];return e}var Lf=Oo("animationend"),Af=Oo("animationiteration"),jf=Oo("animationstart"),Ff=Oo("transitionend"),Df=new Map,is=new Map,Uv=["abort","abort",Lf,"animationEnd",Af,"animationIteration",jf,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Ff,"transitionEnd","waiting","waiting"];function os(e,t){for(var r=0;r<e.length;r+=2){var n=e[r],i=e[r+1];i="on"+(i[0].toUpperCase()+i.slice(1)),is.set(n,t),Df.set(n,i),Nr(i,[n])}}var $v=Re.unstable_now;$v();var pe=8;function nn(e){if((1&e)!=0)return pe=15,1;if((2&e)!=0)return pe=14,2;if((4&e)!=0)return pe=13,4;var t=24&e;return t!==0?(pe=12,t):(e&32)!=0?(pe=11,32):(t=192&e,t!==0?(pe=10,t):(e&256)!=0?(pe=9,256):(t=3584&e,t!==0?(pe=8,t):(e&4096)!=0?(pe=7,4096):(t=4186112&e,t!==0?(pe=6,t):(t=62914560&e,t!==0?(pe=5,t):e&67108864?(pe=4,67108864):(e&134217728)!=0?(pe=3,134217728):(t=805306368&e,t!==0?(pe=2,t):(1073741824&e)!=0?(pe=1,1073741824):(pe=8,e))))))}function Bv(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}function Hv(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(I(358,e))}}function oi(e,t){var r=e.pendingLanes;if(r===0)return pe=0;var n=0,i=0,o=e.expiredLanes,a=e.suspendedLanes,l=e.pingedLanes;if(o!==0)n=o,i=pe=15;else if(o=r&134217727,o!==0){var u=o&~a;u!==0?(n=nn(u),i=pe):(l&=o,l!==0&&(n=nn(l),i=pe))}else o=r&~a,o!==0?(n=nn(o),i=pe):l!==0&&(n=nn(l),i=pe);if(n===0)return 0;if(n=31-ir(n),n=r&((0>n?0:1<<n)<<1)-1,t!==0&&t!==n&&(t&a)==0){if(nn(t),i<=pe)return t;pe=i}if(t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0<t;)r=31-ir(t),i=1<<r,n|=e[r],t&=~i;return n}function zf(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function No(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return e=on(24&~t),e===0?No(10,t):e;case 10:return e=on(192&~t),e===0?No(8,t):e;case 8:return e=on(3584&~t),e===0&&(e=on(4186112&~t),e===0&&(e=512)),e;case 2:return t=on(805306368&~t),t===0&&(t=268435456),t}throw Error(I(358,e))}function on(e){return e&-e}function as(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function To(e,t,r){e.pendingLanes|=t;var n=t-1;e.suspendedLanes&=n,e.pingedLanes&=n,e=e.eventTimes,t=31-ir(t),e[t]=r}var ir=Math.clz32?Math.clz32:Gv,Wv=Math.log,qv=Math.LN2;function Gv(e){return e===0?32:31-(Wv(e)/qv|0)|0}var Yv=Re.unstable_UserBlockingPriority,Qv=Re.unstable_runWithPriority,Ro=!0;function Kv(e,t,r,n){_r||Ql();var i=ls,o=_r;_r=!0;try{gf(i,e,t,r,n)}finally{(_r=o)||Xl()}}function Xv(e,t,r,n){Qv(Yv,ls.bind(null,e,t,r,n))}function ls(e,t,r,n){if(Ro){var i;if((i=(t&4)==0)&&0<Nt.length&&-1<Of.indexOf(e))e=rs(null,e,t,r,n),Nt.push(e);else{var o=ss(e,t,r,n);if(o===null)i&&Nf(e,n);else{if(i){if(-1<Of.indexOf(e)){e=rs(o,e,t,r,n),Nt.push(e);return}if(Iv(o,e,t,r,n))return;Nf(e,n)}fd(e,t,n,null,r)}}}}function ss(e,t,r,n){var i=ql(n);if(i=Ar(i),i!==null){var o=Lr(i);if(o===null)i=null;else{var a=o.tag;if(a===13){if(i=Ef(o),i!==null)return i;i=null}else if(a===3){if(o.stateNode.hydrate)return o.tag===3?o.stateNode.containerInfo:null;i=null}else o!==i&&(i=null)}}return fd(e,t,n,i,r),null}var or=null,us=null,_o=null;function If(){if(_o)return _o;var e,t=us,r=t.length,n,i="value"in or?or.value:or.textContent,o=i.length;for(e=0;e<r&&t[e]===i[e];e++);var a=r-e;for(n=1;n<=a&&t[r-n]===i[o-n];n++);return _o=i.slice(e,1<n?1-n:void 0)}function Lo(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Ao(){return!0}function Mf(){return!1}function Je(e){function t(r,n,i,o,a){this._reactName=r,this._targetInst=i,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(r=e[l],this[l]=r?r(o):o[l]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Ao:Mf,this.isPropagationStopped=Mf,this}return ge(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var r=this.nativeEvent;r&&(r.preventDefault?r.preventDefault():typeof r.returnValue!="unknown"&&(r.returnValue=!1),this.isDefaultPrevented=Ao)},stopPropagation:function(){var r=this.nativeEvent;r&&(r.stopPropagation?r.stopPropagation():typeof r.cancelBubble!="unknown"&&(r.cancelBubble=!0),this.isPropagationStopped=Ao)},persist:function(){},isPersistent:Ao}),t}var an={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cs=Je(an),ai=ge({},an,{view:0,detail:0}),Zv=Je(ai),fs,ds,li,jo=ge({},ai,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ms,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==li&&(li&&e.type==="mousemove"?(fs=e.screenX-li.screenX,ds=e.screenY-li.screenY):ds=fs=0,li=e),fs)},movementY:function(e){return"movementY"in e?e.movementY:ds}}),Vf=Je(jo),Jv=ge({},jo,{dataTransfer:0}),ey=Je(Jv),ty=ge({},ai,{relatedTarget:0}),ps=Je(ty),ry=ge({},an,{animationName:0,elapsedTime:0,pseudoElement:0}),ny=Je(ry),iy=ge({},an,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),oy=Je(iy),ay=ge({},an,{data:0}),Uf=Je(ay),ly={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},sy={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},uy={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function cy(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=uy[e])?!!t[e]:!1}function ms(){return cy}var fy=ge({},ai,{key:function(e){if(e.key){var t=ly[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Lo(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?sy[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ms,charCode:function(e){return e.type==="keypress"?Lo(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Lo(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),dy=Je(fy),py=ge({},jo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$f=Je(py),my=ge({},ai,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ms}),hy=Je(my),vy=ge({},an,{propertyName:0,elapsedTime:0,pseudoElement:0}),yy=Je(vy),gy=ge({},jo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),wy=Je(gy),Ey=[9,13,27,32],hs=$t&&"CompositionEvent"in window,si=null;$t&&"documentMode"in document&&(si=document.documentMode);var Sy=$t&&"TextEvent"in window&&!si,Bf=$t&&(!hs||si&&8<si&&11>=si),Hf=String.fromCharCode(32),Wf=!1;function qf(e,t){switch(e){case"keyup":return Ey.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ln=!1;function ky(e,t){switch(e){case"compositionend":return Gf(t);case"keypress":return t.which!==32?null:(Wf=!0,Hf);case"textInput":return e=t.data,e===Hf&&Wf?null:e;default:return null}}function Py(e,t){if(ln)return e==="compositionend"||!hs&&qf(e,t)?(e=If(),_o=us=or=null,ln=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Bf&&t.locale!=="ko"?null:t.data;default:return null}}var Cy={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Yf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Cy[e.type]:t==="textarea"}function Qf(e,t,r,n){vf(n),t=Mo(t,"onChange"),0<t.length&&(r=new cs("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var ui=null,ci=null;function xy(e){ad(e,0)}function Fo(e){var t=dn(e);if(nf(t))return e}function by(e,t){if(e==="change")return t}var Kf=!1;$t&&($t?(zo="oninput"in document,zo||(vs=document.createElement("div"),vs.setAttribute("oninput","return;"),zo=typeof vs.oninput=="function"),Do=zo):Do=!1,Kf=Do&&(!document.documentMode||9<document.documentMode));var Do,zo,vs;function Xf(){ui&&(ui.detachEvent("onpropertychange",Zf),ci=ui=null)}function Zf(e){if(e.propertyName==="value"&&Fo(ci)){var t=[];if(Qf(t,ci,e,ql(e)),e=xy,_r)e(t);else{_r=!0;try{Yl(e,t)}finally{_r=!1,Xl()}}}}function Oy(e,t,r){e==="focusin"?(Xf(),ui=t,ci=r,ui.attachEvent("onpropertychange",Zf)):e==="focusout"&&Xf()}function Ny(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Fo(ci)}function Ty(e,t){if(e==="click")return Fo(t)}function Ry(e,t){if(e==="input"||e==="change")return Fo(t)}function _y(e,t){return e===t&&(e!==0||1/e==1/t)||e!==e&&t!==t}var ut=typeof Object.is=="function"?Object.is:_y,Ly=Object.prototype.hasOwnProperty;function fi(e,t){if(ut(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++)if(!Ly.call(t,r[n])||!ut(e[r[n]],t[r[n]]))return!1;return!0}function Jf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ed(e,t){var r=Jf(e);e=0;for(var n;r;){if(r.nodeType===3){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=Jf(r)}}function td(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?td(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rd(){for(var e=window,t=So();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch(n){r=!1}if(r)e=t.contentWindow;else break;t=So(e.document)}return t}function ys(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Ay=$t&&"documentMode"in document&&11>=document.documentMode,sn=null,gs=null,di=null,ws=!1;function nd(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;ws||sn==null||sn!==So(n)||(n=sn,"selectionStart"in n&&ys(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),di&&fi(di,n)||(di=n,n=Mo(gs,"onSelect"),0<n.length&&(t=new cs("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=sn)))}os("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0);os("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1);os(Uv,2);for(Es="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Io=0;Io<Es.length;Io++)is.set(Es[Io],0);var Es,Io;Kr("onMouseEnter",["mouseout","mouseover"]);Kr("onMouseLeave",["mouseout","mouseover"]);Kr("onPointerEnter",["pointerout","pointerover"]);Kr("onPointerLeave",["pointerout","pointerover"]);Nr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Nr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Nr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Nr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Nr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Nr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var pi="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),id=new Set("cancel close invalid load scroll toggle".split(" ").concat(pi));function od(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,Dv(n,t,void 0,e),e.currentTarget=null}function ad(e,t){t=(t&4)!=0;for(var r=0;r<e.length;r++){var n=e[r],i=n.event;n=n.listeners;e:{var o=void 0;if(t)for(var a=n.length-1;0<=a;a--){var l=n[a],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==o&&i.isPropagationStopped())break e;od(i,l,s),o=u}else for(a=0;a<n.length;a++){if(l=n[a],u=l.instance,s=l.currentTarget,l=l.listener,u!==o&&i.isPropagationStopped())break e;od(i,l,s),o=u}}}if(Co)throw e=Jl,Co=!1,Jl=null,e}function me(e,t){var r=yd(t),n=e+"__bubble";r.has(n)||(cd(t,e,2,!1),r.add(n))}var ld="_reactListening"+Math.random().toString(36).slice(2);function sd(e){e[ld]||(e[ld]=!0,Kc.forEach(function(t){id.has(t)||ud(t,!1,e,null),ud(t,!0,e,null)}))}function ud(e,t,r,n){var i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:0,o=r;if(e==="selectionchange"&&r.nodeType!==9&&(o=r.ownerDocument),n!==null&&!t&&id.has(e)){if(e!=="scroll")return;i|=2,o=n}var a=yd(o),l=e+"__"+(t?"capture":"bubble");a.has(l)||(t&&(i|=4),cd(o,e,i,t),a.add(l))}function cd(e,t,r,n){var i=is.get(t);switch(i===void 0?2:i){case 0:i=Kv;break;case 1:i=Xv;break;default:i=ls}r=i.bind(null,t,r,e),i=void 0,!Zl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),n?i!==void 0?e.addEventListener(t,r,{capture:!0,passive:i}):e.addEventListener(t,r,!0):i!==void 0?e.addEventListener(t,r,{passive:i}):e.addEventListener(t,r,!1)}function fd(e,t,r,n,i){var o=n;if((t&1)==0&&(t&2)==0&&n!==null)e:for(;;){if(n===null)return;var a=n.tag;if(a===3||a===4){var l=n.stateNode.containerInfo;if(l===i||l.nodeType===8&&l.parentNode===i)break;if(a===4)for(a=n.return;a!==null;){var u=a.tag;if((u===3||u===4)&&(u=a.stateNode.containerInfo,u===i||u.nodeType===8&&u.parentNode===i))return;a=a.return}for(;l!==null;){if(a=Ar(l),a===null)return;if(u=a.tag,u===5||u===6){n=o=a;continue e}l=l.parentNode}}n=n.return}Lv(function(){var s=o,m=ql(r),S=[];e:{var y=Df.get(e);if(y!==void 0){var x=cs,b=e;switch(e){case"keypress":if(Lo(r)===0)break e;case"keydown":case"keyup":x=dy;break;case"focusin":b="focus",x=ps;break;case"focusout":b="blur",x=ps;break;case"beforeblur":case"afterblur":x=ps;break;case"click":if(r.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":x=Vf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=ey;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=hy;break;case Lf:case Af:case jf:x=ny;break;case Ff:x=yy;break;case"scroll":x=Zv;break;case"wheel":x=wy;break;case"copy":case"cut":case"paste":x=oy;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=$f}var _=(t&4)!=0,d=!_&&e==="scroll",c=_?y!==null?y+"Capture":null:y;_=[];for(var p=s,g;p!==null;){g=p;var h=g.stateNode;if(g.tag===5&&h!==null&&(g=h,c!==null&&(h=Zn(p,c),h!=null&&_.push(mi(p,h,g)))),d)break;p=p.return}0<_.length&&(y=new x(y,b,null,r,m),S.push({event:y,listeners:_}))}}if((t&7)==0){e:{if(y=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",y&&(t&16)==0&&(b=r.relatedTarget||r.fromElement)&&(Ar(b)||b[fn]))break e;if((x||y)&&(y=m.window===m?m:(y=m.ownerDocument)?y.defaultView||y.parentWindow:window,x?(b=r.relatedTarget||r.toElement,x=s,b=b?Ar(b):null,b!==null&&(d=Lr(b),b!==d||b.tag!==5&&b.tag!==6)&&(b=null)):(x=null,b=s),x!==b)){if(_=Vf,h="onMouseLeave",c="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(_=$f,h="onPointerLeave",c="onPointerEnter",p="pointer"),d=x==null?y:dn(x),g=b==null?y:dn(b),y=new _(h,p+"leave",x,r,m),y.target=d,y.relatedTarget=g,h=null,Ar(m)===s&&(_=new _(c,p+"enter",b,r,m),_.target=g,_.relatedTarget=d,h=_),d=h,x&&b)t:{for(_=x,c=b,p=0,g=_;g;g=un(g))p++;for(g=0,h=c;h;h=un(h))g++;for(;0<p-g;)_=un(_),p--;for(;0<g-p;)c=un(c),g--;for(;p--;){if(_===c||c!==null&&_===c.alternate)break t;_=un(_),c=un(c)}_=null}else _=null;x!==null&&dd(S,y,x,_,!1),b!==null&&d!==null&&dd(S,d,b,_,!0)}}e:{if(y=s?dn(s):window,x=y.nodeName&&y.nodeName.toLowerCase(),x==="select"||x==="input"&&y.type==="file")var k=by;else if(Yf(y))if(Kf)k=Ry;else{k=Ny;var O=Oy}else(x=y.nodeName)&&x.toLowerCase()==="input"&&(y.type==="checkbox"||y.type==="radio")&&(k=Ty);if(k&&(k=k(e,s))){Qf(S,k,r,m);break e}O&&O(e,y,s),e==="focusout"&&(O=y._wrapperState)&&O.controlled&&y.type==="number"&&Ml(y,"number",y.value)}switch(O=s?dn(s):window,e){case"focusin":(Yf(O)||O.contentEditable==="true")&&(sn=O,gs=s,di=null);break;case"focusout":di=gs=sn=null;break;case"mousedown":ws=!0;break;case"contextmenu":case"mouseup":case"dragend":ws=!1,nd(S,r,m);break;case"selectionchange":if(Ay)break;case"keydown":case"keyup":nd(S,r,m)}var A;if(hs)e:{switch(e){case"compositionstart":var C="onCompositionStart";break e;case"compositionend":C="onCompositionEnd";break e;case"compositionupdate":C="onCompositionUpdate";break e}C=void 0}else ln?qf(e,r)&&(C="onCompositionEnd"):e==="keydown"&&r.keyCode===229&&(C="onCompositionStart");C&&(Bf&&r.locale!=="ko"&&(ln||C!=="onCompositionStart"?C==="onCompositionEnd"&&ln&&(A=If()):(or=m,us="value"in or?or.value:or.textContent,ln=!0)),O=Mo(s,C),0<O.length&&(C=new Uf(C,e,null,r,m),S.push({event:C,listeners:O}),A?C.data=A:(A=Gf(r),A!==null&&(C.data=A)))),(A=Sy?ky(e,r):Py(e,r))&&(s=Mo(s,"onBeforeInput"),0<s.length&&(m=new Uf("onBeforeInput","beforeinput",null,r,m),S.push({event:m,listeners:s}),m.data=A))}ad(S,t)})}function mi(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Mo(e,t){for(var r=t+"Capture",n=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Zn(e,r),o!=null&&n.unshift(mi(e,o,i)),o=Zn(e,t),o!=null&&n.push(mi(e,o,i))),e=e.return}return n}function un(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function dd(e,t,r,n,i){for(var o=t._reactName,a=[];r!==null&&r!==n;){var l=r,u=l.alternate,s=l.stateNode;if(u!==null&&u===n)break;l.tag===5&&s!==null&&(l=s,i?(u=Zn(r,o),u!=null&&a.unshift(mi(r,u,l))):i||(u=Zn(r,o),u!=null&&a.push(mi(r,u,l)))),r=r.return}a.length!==0&&e.push({event:t,listeners:a})}function Vo(){}var Ss=null,ks=null;function pd(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Ps(e,t){return e==="textarea"||e==="option"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var md=typeof setTimeout=="function"?setTimeout:void 0,jy=typeof clearTimeout=="function"?clearTimeout:void 0;function Cs(e){e.nodeType===1?e.textContent="":e.nodeType===9&&(e=e.body,e!=null&&(e.textContent=""))}function cn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break}return e}function hd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var xs=0;function Fy(e){return{$$typeof:Ll,toString:e,valueOf:e}}var Uo=Math.random().toString(36).slice(2),ar="__reactFiber$"+Uo,$o="__reactProps$"+Uo,fn="__reactContainer$"+Uo,vd="__reactEvents$"+Uo;function Ar(e){var t=e[ar];if(t)return t;for(var r=e.parentNode;r;){if(t=r[fn]||r[ar]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=hd(e);e!==null;){if(r=e[ar])return r;e=hd(e)}return t}e=r,r=e.parentNode}return null}function hi(e){return e=e[ar]||e[fn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function dn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(I(33))}function Bo(e){return e[$o]||null}function yd(e){var t=e[vd];return t===void 0&&(t=e[vd]=new Set),t}var bs=[],pn=-1;function lr(e){return{current:e}}function he(e){0>pn||(e.current=bs[pn],bs[pn]=null,pn--)}function we(e,t){pn++,bs[pn]=e.current,e.current=t}var sr={},Ie=lr(sr),Ge=lr(!1),jr=sr;function mn(e,t){var r=e.type.contextTypes;if(!r)return sr;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in r)i[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Ye(e){return e=e.childContextTypes,e!=null}function Ho(){he(Ge),he(Ie)}function gd(e,t,r){if(Ie.current!==sr)throw Error(I(168));we(Ie,t),we(Ge,r)}function wd(e,t,r){var n=e.stateNode;if(e=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var i in n)if(!(i in e))throw Error(I(108,Xr(t)||"Unknown",i));return ge({},r,n)}function Wo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||sr,jr=Ie.current,we(Ie,e),we(Ge,Ge.current),!0}function Ed(e,t,r){var n=e.stateNode;if(!n)throw Error(I(169));r?(e=wd(e,t,jr),n.__reactInternalMemoizedMergedChildContext=e,he(Ge),he(Ie),we(Ie,e)):he(Ge),we(Ge,r)}var Os=null,Fr=null,Dy=Re.unstable_runWithPriority,Ns=Re.unstable_scheduleCallback,Ts=Re.unstable_cancelCallback,zy=Re.unstable_shouldYield,Sd=Re.unstable_requestPaint,Rs=Re.unstable_now,Iy=Re.unstable_getCurrentPriorityLevel,qo=Re.unstable_ImmediatePriority,kd=Re.unstable_UserBlockingPriority,Pd=Re.unstable_NormalPriority,Cd=Re.unstable_LowPriority,xd=Re.unstable_IdlePriority,_s={},My=Sd!==void 0?Sd:function(){},Bt=null,Go=null,Ls=!1,bd=Rs(),Me=1e4>bd?Rs:function(){return Rs()-bd};function hn(){switch(Iy()){case qo:return 99;case kd:return 98;case Pd:return 97;case Cd:return 96;case xd:return 95;default:throw Error(I(332))}}function Od(e){switch(e){case 99:return qo;case 98:return kd;case 97:return Pd;case 96:return Cd;case 95:return xd;default:throw Error(I(332))}}function Dr(e,t){return e=Od(e),Dy(e,t)}function vi(e,t,r){return e=Od(e),Ns(e,t,r)}function Tt(){if(Go!==null){var e=Go;Go=null,Ts(e)}Nd()}function Nd(){if(!Ls&&Bt!==null){Ls=!0;var e=0;try{var t=Bt;Dr(99,function(){for(;e<t.length;e++){var r=t[e];do r=r(!0);while(r!==null)}}),Bt=null}catch(r){throw Bt!==null&&(Bt=Bt.slice(e+1)),Ns(qo,Tt),r}finally{Ls=!1}}}var Vy=Tr.ReactCurrentBatchConfig;function St(e,t){if(e&&e.defaultProps){t=ge({},t),e=e.defaultProps;for(var r in e)t[r]===void 0&&(t[r]=e[r]);return t}return t}var Yo=lr(null),Qo=null,vn=null,Ko=null;function As(){Ko=vn=Qo=null}function js(e){var t=Yo.current;he(Yo),e.type._context._currentValue=t}function Td(e,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)===t){if(r===null||(r.childLanes&t)===t)break;r.childLanes|=t}else e.childLanes|=t,r!==null&&(r.childLanes|=t);e=e.return}}function yn(e,t){Qo=e,Ko=vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!=0&&(kt=!0),e.firstContext=null)}function ct(e,t){if(Ko!==e&&t!==!1&&t!==0)if((typeof t!="number"||t===1073741823)&&(Ko=e,t=1073741823),t={context:e,observedBits:t,next:null},vn===null){if(Qo===null)throw Error(I(308));vn=t,Qo.dependencies={lanes:0,firstContext:t,responders:null}}else vn=vn.next=t;return e._currentValue}var ur=!1;function Fs(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function Rd(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function cr(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fr(e,t){if(e=e.updateQueue,e!==null){e=e.shared;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}}function _d(e,t){var r=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,r===n)){var i=null,o=null;if(r=r.firstBaseUpdate,r!==null){do{var a={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};o===null?i=o=a:o=o.next=a,r=r.next}while(r!==null);o===null?i=o=t:o=o.next=t}else i=o=t;r={baseState:n.baseState,firstBaseUpdate:i,lastBaseUpdate:o,shared:n.shared,effects:n.effects},e.updateQueue=r;return}e=r.lastBaseUpdate,e===null?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function yi(e,t,r,n){var i=e.updateQueue;ur=!1;var o=i.firstBaseUpdate,a=i.lastBaseUpdate,l=i.shared.pending;if(l!==null){i.shared.pending=null;var u=l,s=u.next;u.next=null,a===null?o=s:a.next=s,a=u;var m=e.alternate;if(m!==null){m=m.updateQueue;var S=m.lastBaseUpdate;S!==a&&(S===null?m.firstBaseUpdate=s:S.next=s,m.lastBaseUpdate=u)}}if(o!==null){S=i.baseState,a=0,m=s=u=null;do{l=o.lane;var y=o.eventTime;if((n&l)===l){m!==null&&(m=m.next={eventTime:y,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var x=e,b=o;switch(l=t,y=r,b.tag){case 1:if(x=b.payload,typeof x=="function"){S=x.call(y,S,l);break e}S=x;break e;case 3:x.flags=x.flags&-4097|64;case 0:if(x=b.payload,l=typeof x=="function"?x.call(y,S,l):x,l==null)break e;S=ge({},S,l);break e;case 2:ur=!0}}o.callback!==null&&(e.flags|=32,l=i.effects,l===null?i.effects=[o]:l.push(o))}else y={eventTime:y,lane:l,tag:o.tag,payload:o.payload,callback:o.callback,next:null},m===null?(s=m=y,u=S):m=m.next=y,a|=l;if(o=o.next,o===null){if(l=i.shared.pending,l===null)break;o=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}while(1);m===null&&(u=S),i.baseState=u,i.firstBaseUpdate=s,i.lastBaseUpdate=m,Ti|=a,e.lanes=a,e.memoizedState=S}}function Ld(e,t,r){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var n=e[t],i=n.callback;if(i!==null){if(n.callback=null,n=r,typeof i!="function")throw Error(I(191,i));i.call(n)}}}var Ad=new ho.Component().refs;function Xo(e,t,r,n){t=e.memoizedState,r=r(n,t),r=r==null?t:ge({},t,r),e.memoizedState=r,e.lanes===0&&(e.updateQueue.baseState=r)}var Zo={isMounted:function(e){return(e=e._reactInternals)?Lr(e)===e:!1},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=et(),i=mr(e),o=cr(n,i);o.payload=t,r!=null&&(o.callback=r),fr(e,o),hr(e,i,n)},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=et(),i=mr(e),o=cr(n,i);o.tag=1,o.payload=t,r!=null&&(o.callback=r),fr(e,o),hr(e,i,n)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=et(),n=mr(e),i=cr(r,n);i.tag=2,t!=null&&(i.callback=t),fr(e,i),hr(e,n,r)}};function jd(e,t,r,n,i,o,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,o,a):t.prototype&&t.prototype.isPureReactComponent?!fi(r,n)||!fi(i,o):!0}function Fd(e,t,r){var n=!1,i=sr,o=t.contextType;return typeof o=="object"&&o!==null?o=ct(o):(i=Ye(t)?jr:Ie.current,n=t.contextTypes,o=(n=n!=null)?mn(e,i):sr),t=new t(r,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Zo,e.stateNode=t,t._reactInternals=e,n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function Dd(e,t,r,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(r,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&Zo.enqueueReplaceState(t,t.state,null)}function Ds(e,t,r,n){var i=e.stateNode;i.props=r,i.state=e.memoizedState,i.refs=Ad,Fs(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=ct(o):(o=Ye(t)?jr:Ie.current,i.context=mn(e,o)),yi(e,r,i,n),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&(Xo(e,t,o,r),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Zo.enqueueReplaceState(i,i.state,null),yi(e,r,i,n),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4)}var Jo=Array.isArray;function gi(e,t,r){if(e=r.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(r._owner){if(r=r._owner,r){if(r.tag!==1)throw Error(I(309));var n=r.stateNode}if(!n)throw Error(I(147,e));var i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(o){var a=n.refs;a===Ad&&(a=n.refs={}),o===null?delete a[i]:a[i]=o},t._stringRef=i,t)}if(typeof e!="string")throw Error(I(284));if(!r._owner)throw Error(I(290,e))}return e}function ea(e,t){if(e.type!=="textarea")throw Error(I(31,Object.prototype.toString.call(t)==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function zd(e){function t(d,c){if(e){var p=d.lastEffect;p!==null?(p.nextEffect=c,d.lastEffect=c):d.firstEffect=d.lastEffect=c,c.nextEffect=null,c.flags=8}}function r(d,c){if(!e)return null;for(;c!==null;)t(d,c),c=c.sibling;return null}function n(d,c){for(d=new Map;c!==null;)c.key!==null?d.set(c.key,c):d.set(c.index,c),c=c.sibling;return d}function i(d,c){return d=gr(d,c),d.index=0,d.sibling=null,d}function o(d,c,p){return d.index=p,e?(p=d.alternate,p!==null?(p=p.index,p<c?(d.flags=2,c):p):(d.flags=2,c)):c}function a(d){return e&&d.alternate===null&&(d.flags=2),d}function l(d,c,p,g){return c===null||c.tag!==6?(c=gu(p,d.mode,g),c.return=d,c):(c=i(c,p),c.return=d,c)}function u(d,c,p,g){return c!==null&&c.elementType===p.type?(g=i(c,p.props),g.ref=gi(d,c,p),g.return=d,g):(g=ga(p.type,p.key,p.props,null,d.mode,g),g.ref=gi(d,c,p),g.return=d,g)}function s(d,c,p,g){return c===null||c.tag!==4||c.stateNode.containerInfo!==p.containerInfo||c.stateNode.implementation!==p.implementation?(c=wu(p,d.mode,g),c.return=d,c):(c=i(c,p.children||[]),c.return=d,c)}function m(d,c,p,g,h){return c===null||c.tag!==7?(c=xn(p,d.mode,g,h),c.return=d,c):(c=i(c,p),c.return=d,c)}function S(d,c,p){if(typeof c=="string"||typeof c=="number")return c=gu(""+c,d.mode,p),c.return=d,c;if(typeof c=="object"&&c!==null){switch(c.$$typeof){case Wn:return p=ga(c.type,c.key,c.props,null,d.mode,p),p.ref=gi(d,null,c),p.return=d,p;case Rr:return c=wu(c,d.mode,p),c.return=d,c}if(Jo(c)||Yn(c))return c=xn(c,d.mode,p,null),c.return=d,c;ea(d,c)}return null}function y(d,c,p,g){var h=c!==null?c.key:null;if(typeof p=="string"||typeof p=="number")return h!==null?null:l(d,c,""+p,g);if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Wn:return p.key===h?p.type===Jt?m(d,c,p.props.children,g,h):u(d,c,p,g):null;case Rr:return p.key===h?s(d,c,p,g):null}if(Jo(p)||Yn(p))return h!==null?null:m(d,c,p,g,null);ea(d,p)}return null}function x(d,c,p,g,h){if(typeof g=="string"||typeof g=="number")return d=d.get(p)||null,l(c,d,""+g,h);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Wn:return d=d.get(g.key===null?p:g.key)||null,g.type===Jt?m(c,d,g.props.children,h,g.key):u(c,d,g,h);case Rr:return d=d.get(g.key===null?p:g.key)||null,s(c,d,g,h)}if(Jo(g)||Yn(g))return d=d.get(p)||null,m(c,d,g,h,null);ea(c,g)}return null}function b(d,c,p,g){for(var h=null,k=null,O=c,A=c=0,C=null;O!==null&&A<p.length;A++){O.index>A?(C=O,O=null):C=O.sibling;var D=y(d,O,p[A],g);if(D===null){O===null&&(O=C);break}e&&O&&D.alternate===null&&t(d,O),c=o(D,c,A),k===null?h=D:k.sibling=D,k=D,O=C}if(A===p.length)return r(d,O),h;if(O===null){for(;A<p.length;A++)O=S(d,p[A],g),O!==null&&(c=o(O,c,A),k===null?h=O:k.sibling=O,k=O);return h}for(O=n(d,O);A<p.length;A++)C=x(O,d,A,p[A],g),C!==null&&(e&&C.alternate!==null&&O.delete(C.key===null?A:C.key),c=o(C,c,A),k===null?h=C:k.sibling=C,k=C);return e&&O.forEach(function(B){return t(d,B)}),h}function _(d,c,p,g){var h=Yn(p);if(typeof h!="function")throw Error(I(150));if(p=h.call(p),p==null)throw Error(I(151));for(var k=h=null,O=c,A=c=0,C=null,D=p.next();O!==null&&!D.done;A++,D=p.next()){O.index>A?(C=O,O=null):C=O.sibling;var B=y(d,O,D.value,g);if(B===null){O===null&&(O=C);break}e&&O&&B.alternate===null&&t(d,O),c=o(B,c,A),k===null?h=B:k.sibling=B,k=B,O=C}if(D.done)return r(d,O),h;if(O===null){for(;!D.done;A++,D=p.next())D=S(d,D.value,g),D!==null&&(c=o(D,c,A),k===null?h=D:k.sibling=D,k=D);return h}for(O=n(d,O);!D.done;A++,D=p.next())D=x(O,d,A,D.value,g),D!==null&&(e&&D.alternate!==null&&O.delete(D.key===null?A:D.key),c=o(D,c,A),k===null?h=D:k.sibling=D,k=D);return e&&O.forEach(function(ee){return t(d,ee)}),h}return function(d,c,p,g){var h=typeof p=="object"&&p!==null&&p.type===Jt&&p.key===null;h&&(p=p.props.children);var k=typeof p=="object"&&p!==null;if(k)switch(p.$$typeof){case Wn:e:{for(k=p.key,h=c;h!==null;){if(h.key===k){switch(h.tag){case 7:if(p.type===Jt){r(d,h.sibling),c=i(h,p.props.children),c.return=d,d=c;break e}break;default:if(h.elementType===p.type){r(d,h.sibling),c=i(h,p.props),c.ref=gi(d,h,p),c.return=d,d=c;break e}}r(d,h);break}else t(d,h);h=h.sibling}p.type===Jt?(c=xn(p.props.children,d.mode,g,p.key),c.return=d,d=c):(g=ga(p.type,p.key,p.props,null,d.mode,g),g.ref=gi(d,c,p),g.return=d,d=g)}return a(d);case Rr:e:{for(h=p.key;c!==null;){if(c.key===h)if(c.tag===4&&c.stateNode.containerInfo===p.containerInfo&&c.stateNode.implementation===p.implementation){r(d,c.sibling),c=i(c,p.children||[]),c.return=d,d=c;break e}else{r(d,c);break}else t(d,c);c=c.sibling}c=wu(p,d.mode,g),c.return=d,d=c}return a(d)}if(typeof p=="string"||typeof p=="number")return p=""+p,c!==null&&c.tag===6?(r(d,c.sibling),c=i(c,p),c.return=d,d=c):(r(d,c),c=gu(p,d.mode,g),c.return=d,d=c),a(d);if(Jo(p))return b(d,c,p,g);if(Yn(p))return _(d,c,p,g);if(k&&ea(d,p),typeof p=="undefined"&&!h)switch(d.tag){case 1:case 22:case 0:case 11:case 15:throw Error(I(152,Xr(d.type)||"Component"))}return r(d,c)}}var ta=zd(!0),Id=zd(!1),wi={},Rt=lr(wi),Ei=lr(wi),Si=lr(wi);function zr(e){if(e===wi)throw Error(I(174));return e}function zs(e,t){switch(we(Si,t),we(Ei,e),we(Rt,wi),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Bl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Bl(t,e)}he(Rt),we(Rt,t)}function gn(){he(Rt),he(Ei),he(Si)}function Md(e){zr(Si.current);var t=zr(Rt.current),r=Bl(t,e.type);t!==r&&(we(Ei,e),we(Rt,r))}function Is(e){Ei.current===e&&(he(Rt),he(Ei))}var Ee=lr(0);function ra(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&64)!=0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ht=null,dr=null,_t=!1;function Vd(e,t){var r=pt(5,null,null,0);r.elementType="DELETED",r.type="DELETED",r.stateNode=t,r.return=e,r.flags=8,e.lastEffect!==null?(e.lastEffect.nextEffect=r,e.lastEffect=r):e.firstEffect=e.lastEffect=r}function Ud(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,!0):!1;case 13:return!1;default:return!1}}function Ms(e){if(_t){var t=dr;if(t){var r=t;if(!Ud(e,t)){if(t=cn(r.nextSibling),!t||!Ud(e,t)){e.flags=e.flags&-1025|2,_t=!1,Ht=e;return}Vd(Ht,r)}Ht=e,dr=cn(t.firstChild)}else e.flags=e.flags&-1025|2,_t=!1,Ht=e}}function $d(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ht=e}function na(e){if(e!==Ht)return!1;if(!_t)return $d(e),_t=!0,!1;var t=e.type;if(e.tag!==5||t!=="head"&&t!=="body"&&!Ps(t,e.memoizedProps))for(t=dr;t;)Vd(e,t),t=cn(t.nextSibling);if($d(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(I(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="/$"){if(t===0){dr=cn(e.nextSibling);break e}t--}else r!=="$"&&r!=="$!"&&r!=="$?"||t++}e=e.nextSibling}dr=null}}else dr=Ht?cn(e.stateNode.nextSibling):null;return!0}function Vs(){dr=Ht=null,_t=!1}var wn=[];function Us(){for(var e=0;e<wn.length;e++)wn[e]._workInProgressVersionPrimary=null;wn.length=0}var ki=Tr.ReactCurrentDispatcher,ft=Tr.ReactCurrentBatchConfig,Pi=0,Pe=null,Ve=null,Fe=null,ia=!1,Ci=!1;function Qe(){throw Error(I(321))}function $s(e,t){if(t===null)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!ut(e[r],t[r]))return!1;return!0}function Bs(e,t,r,n,i,o){if(Pi=o,Pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ki.current=e===null||e.memoizedState===null?$y:By,e=r(n,i),Ci){o=0;do{if(Ci=!1,!(25>o))throw Error(I(301));o+=1,Fe=Ve=null,t.updateQueue=null,ki.current=Hy,e=r(n,i)}while(Ci)}if(ki.current=sa,t=Ve!==null&&Ve.next!==null,Pi=0,Fe=Ve=Pe=null,ia=!1,t)throw Error(I(300));return e}function Ir(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Fe===null?Pe.memoizedState=Fe=e:Fe=Fe.next=e,Fe}function Mr(){if(Ve===null){var e=Pe.alternate;e=e!==null?e.memoizedState:null}else e=Ve.next;var t=Fe===null?Pe.memoizedState:Fe.next;if(t!==null)Fe=t,Ve=e;else{if(e===null)throw Error(I(310));Ve=e,e={memoizedState:Ve.memoizedState,baseState:Ve.baseState,baseQueue:Ve.baseQueue,queue:Ve.queue,next:null},Fe===null?Pe.memoizedState=Fe=e:Fe=Fe.next=e}return Fe}function Lt(e,t){return typeof t=="function"?t(e):t}function xi(e){var t=Mr(),r=t.queue;if(r===null)throw Error(I(311));r.lastRenderedReducer=e;var n=Ve,i=n.baseQueue,o=r.pending;if(o!==null){if(i!==null){var a=i.next;i.next=o.next,o.next=a}n.baseQueue=i=o,r.pending=null}if(i!==null){i=i.next,n=n.baseState;var l=a=o=null,u=i;do{var s=u.lane;if((Pi&s)===s)l!==null&&(l=l.next={lane:0,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null}),n=u.eagerReducer===e?u.eagerState:e(n,u.action);else{var m={lane:s,action:u.action,eagerReducer:u.eagerReducer,eagerState:u.eagerState,next:null};l===null?(a=l=m,o=n):l=l.next=m,Pe.lanes|=s,Ti|=s}u=u.next}while(u!==null&&u!==i);l===null?o=n:l.next=a,ut(n,t.memoizedState)||(kt=!0),t.memoizedState=n,t.baseState=o,t.baseQueue=l,r.lastRenderedState=n}return[t.memoizedState,r.dispatch]}function bi(e){var t=Mr(),r=t.queue;if(r===null)throw Error(I(311));r.lastRenderedReducer=e;var n=r.dispatch,i=r.pending,o=t.memoizedState;if(i!==null){r.pending=null;var a=i=i.next;do o=e(o,a.action),a=a.next;while(a!==i);ut(o,t.memoizedState)||(kt=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),r.lastRenderedState=o}return[o,n]}function Bd(e,t,r){var n=t._getVersion;n=n(t._source);var i=t._workInProgressVersionPrimary;if(i!==null?e=i===n:(e=e.mutableReadLanes,(e=(Pi&e)===e)&&(t._workInProgressVersionPrimary=n,wn.push(t))),e)return r(t._source);throw wn.push(t),Error(I(350))}function Hd(e,t,r,n){var i=We;if(i===null)throw Error(I(349));var o=t._getVersion,a=o(t._source),l=ki.current,u=l.useState(function(){return Bd(i,t,r)}),s=u[1],m=u[0];u=Fe;var S=e.memoizedState,y=S.refs,x=y.getSnapshot,b=S.source;S=S.subscribe;var _=Pe;return e.memoizedState={refs:y,source:t,subscribe:n},l.useEffect(function(){y.getSnapshot=r,y.setSnapshot=s;var d=o(t._source);if(!ut(a,d)){d=r(t._source),ut(m,d)||(s(d),d=mr(_),i.mutableReadLanes|=d&i.pendingLanes),d=i.mutableReadLanes,i.entangledLanes|=d;for(var c=i.entanglements,p=d;0<p;){var g=31-ir(p),h=1<<g;c[g]|=d,p&=~h}}},[r,t,n]),l.useEffect(function(){return n(t._source,function(){var d=y.getSnapshot,c=y.setSnapshot;try{c(d(t._source));var p=mr(_);i.mutableReadLanes|=p&i.pendingLanes}catch(g){c(function(){throw g})}})},[t,n]),ut(x,r)&&ut(b,t)&&ut(S,n)||(e={pending:null,dispatch:null,lastRenderedReducer:Lt,lastRenderedState:m},e.dispatch=s=Gs.bind(null,Pe,e),u.queue=e,u.baseQueue=null,m=Bd(i,t,r),u.memoizedState=u.baseState=m),m}function Wd(e,t,r){var n=Mr();return Hd(n,e,t,r)}function Oi(e){var t=Ir();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e=t.queue={pending:null,dispatch:null,lastRenderedReducer:Lt,lastRenderedState:e},e=e.dispatch=Gs.bind(null,Pe,e),[t.memoizedState,e]}function oa(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},t=Pe.updateQueue,t===null?(t={lastEffect:null},Pe.updateQueue=t,t.lastEffect=e.next=e):(r=t.lastEffect,r===null?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e)),e}function qd(e){var t=Ir();return e={current:e},t.memoizedState=e}function aa(){return Mr().memoizedState}function Hs(e,t,r,n){var i=Ir();Pe.flags|=e,i.memoizedState=oa(1|t,r,void 0,n===void 0?null:n)}function Ws(e,t,r,n){var i=Mr();n=n===void 0?null:n;var o=void 0;if(Ve!==null){var a=Ve.memoizedState;if(o=a.destroy,n!==null&&$s(n,a.deps)){oa(t,r,o,n);return}}Pe.flags|=e,i.memoizedState=oa(1|t,r,o,n)}function Gd(e,t){return Hs(516,4,e,t)}function la(e,t){return Ws(516,4,e,t)}function Yd(e,t){return Ws(4,2,e,t)}function Qd(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Kd(e,t,r){return r=r!=null?r.concat([e]):null,Ws(4,2,Qd.bind(null,t,e),r)}function qs(){}function Xd(e,t){var r=Mr();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&$s(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function Zd(e,t){var r=Mr();t=t===void 0?null:t;var n=r.memoizedState;return n!==null&&t!==null&&$s(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Uy(e,t){var r=hn();Dr(98>r?98:r,function(){e(!0)}),Dr(97<r?97:r,function(){var n=ft.transition;ft.transition=1;try{e(!1),t()}finally{ft.transition=n}})}function Gs(e,t,r){var n=et(),i=mr(e),o={lane:i,action:r,eagerReducer:null,eagerState:null,next:null},a=t.pending;if(a===null?o.next=o:(o.next=a.next,a.next=o),t.pending=o,a=e.alternate,e===Pe||a!==null&&a===Pe)Ci=ia=!0;else{if(e.lanes===0&&(a===null||a.lanes===0)&&(a=t.lastRenderedReducer,a!==null))try{var l=t.lastRenderedState,u=a(l,r);if(o.eagerReducer=a,o.eagerState=u,ut(u,l))return}catch(s){}finally{}hr(e,i,n)}}var sa={readContext:ct,useCallback:Qe,useContext:Qe,useEffect:Qe,useImperativeHandle:Qe,useLayoutEffect:Qe,useMemo:Qe,useReducer:Qe,useRef:Qe,useState:Qe,useDebugValue:Qe,useDeferredValue:Qe,useTransition:Qe,useMutableSource:Qe,useOpaqueIdentifier:Qe,unstable_isNewReconciler:!1},$y={readContext:ct,useCallback:function(e,t){return Ir().memoizedState=[e,t===void 0?null:t],e},useContext:ct,useEffect:Gd,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Hs(4,2,Qd.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Hs(4,2,e,t)},useMemo:function(e,t){var r=Ir();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=Ir();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e=n.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},e=e.dispatch=Gs.bind(null,Pe,e),[n.memoizedState,e]},useRef:qd,useState:Oi,useDebugValue:qs,useDeferredValue:function(e){var t=Oi(e),r=t[0],n=t[1];return Gd(function(){var i=ft.transition;ft.transition=1;try{n(e)}finally{ft.transition=i}},[e]),r},useTransition:function(){var e=Oi(!1),t=e[0];return e=Uy.bind(null,e[1]),qd(e),[e,t]},useMutableSource:function(e,t,r){var n=Ir();return n.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:r},Hd(n,e,t,r)},useOpaqueIdentifier:function(){if(_t){var e=!1,t=Fy(function(){throw e||(e=!0,r("r:"+(xs++).toString(36))),Error(I(355))}),r=Oi(t)[1];return(Pe.mode&2)==0&&(Pe.flags|=516,oa(5,function(){r("r:"+(xs++).toString(36))},void 0,null)),t}return t="r:"+(xs++).toString(36),Oi(t),t},unstable_isNewReconciler:!1},By={readContext:ct,useCallback:Xd,useContext:ct,useEffect:la,useImperativeHandle:Kd,useLayoutEffect:Yd,useMemo:Zd,useReducer:xi,useRef:aa,useState:function(){return xi(Lt)},useDebugValue:qs,useDeferredValue:function(e){var t=xi(Lt),r=t[0],n=t[1];return la(function(){var i=ft.transition;ft.transition=1;try{n(e)}finally{ft.transition=i}},[e]),r},useTransition:function(){var e=xi(Lt)[0];return[aa().current,e]},useMutableSource:Wd,useOpaqueIdentifier:function(){return xi(Lt)[0]},unstable_isNewReconciler:!1},Hy={readContext:ct,useCallback:Xd,useContext:ct,useEffect:la,useImperativeHandle:Kd,useLayoutEffect:Yd,useMemo:Zd,useReducer:bi,useRef:aa,useState:function(){return bi(Lt)},useDebugValue:qs,useDeferredValue:function(e){var t=bi(Lt),r=t[0],n=t[1];return la(function(){var i=ft.transition;ft.transition=1;try{n(e)}finally{ft.transition=i}},[e]),r},useTransition:function(){var e=bi(Lt)[0];return[aa().current,e]},useMutableSource:Wd,useOpaqueIdentifier:function(){return bi(Lt)[0]},unstable_isNewReconciler:!1},Wy=Tr.ReactCurrentOwner,kt=!1;function Ke(e,t,r,n){t.child=e===null?Id(t,null,r,n):ta(t,e.child,r,n)}function Jd(e,t,r,n,i){r=r.render;var o=t.ref;return yn(t,i),n=Bs(e,t,r,n,o,i),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Wt(e,t,i)):(t.flags|=1,Ke(e,t,n,i),t.child)}function ep(e,t,r,n,i,o){if(e===null){var a=r.type;return typeof a=="function"&&!vu(a)&&a.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=a,tp(e,t,a,n,i,o)):(e=ga(r.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}return a=e.child,(i&o)==0&&(i=a.memoizedProps,r=r.compare,r=r!==null?r:fi,r(i,n)&&e.ref===t.ref)?Wt(e,t,o):(t.flags|=1,e=gr(a,n),e.ref=t.ref,e.return=t,t.child=e)}function tp(e,t,r,n,i,o){if(e!==null&&fi(e.memoizedProps,n)&&e.ref===t.ref)if(kt=!1,(o&i)!=0)(e.flags&16384)!=0&&(kt=!0);else return t.lanes=e.lanes,Wt(e,t,o);return Qs(e,t,r,n,o)}function Ys(e,t,r){var n=t.pendingProps,i=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden"||n.mode==="unstable-defer-without-hiding")if((t.mode&4)==0)t.memoizedState={baseLanes:0},ya(t,r);else if((r&1073741824)!=0)t.memoizedState={baseLanes:0},ya(t,o!==null?o.baseLanes:r);else return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},ya(t,e),null;else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,ya(t,n);return Ke(e,t,i,r),t.child}function rp(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=128)}function Qs(e,t,r,n,i){var o=Ye(r)?jr:Ie.current;return o=mn(t,o),yn(t,i),r=Bs(e,t,r,n,o,i),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~i,Wt(e,t,i)):(t.flags|=1,Ke(e,t,r,i),t.child)}function np(e,t,r,n,i){if(Ye(r)){var o=!0;Wo(t)}else o=!1;if(yn(t,i),t.stateNode===null)e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),Fd(t,r,n),Ds(t,r,n,i),n=!0;else if(e===null){var a=t.stateNode,l=t.memoizedProps;a.props=l;var u=a.context,s=r.contextType;typeof s=="object"&&s!==null?s=ct(s):(s=Ye(r)?jr:Ie.current,s=mn(t,s));var m=r.getDerivedStateFromProps,S=typeof m=="function"||typeof a.getSnapshotBeforeUpdate=="function";S||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==n||u!==s)&&Dd(t,a,n,s),ur=!1;var y=t.memoizedState;a.state=y,yi(t,n,a,i),u=t.memoizedState,l!==n||y!==u||Ge.current||ur?(typeof m=="function"&&(Xo(t,r,m,n),u=t.memoizedState),(l=ur||jd(t,r,l,n,y,u,s))?(S||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4)):(typeof a.componentDidMount=="function"&&(t.flags|=4),t.memoizedProps=n,t.memoizedState=u),a.props=n,a.state=u,a.context=s,n=l):(typeof a.componentDidMount=="function"&&(t.flags|=4),n=!1)}else{a=t.stateNode,Rd(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:St(t.type,l),a.props=s,S=t.pendingProps,y=a.context,u=r.contextType,typeof u=="object"&&u!==null?u=ct(u):(u=Ye(r)?jr:Ie.current,u=mn(t,u));var x=r.getDerivedStateFromProps;(m=typeof x=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(l!==S||y!==u)&&Dd(t,a,n,u),ur=!1,y=t.memoizedState,a.state=y,yi(t,n,a,i);var b=t.memoizedState;l!==S||y!==b||Ge.current||ur?(typeof x=="function"&&(Xo(t,r,x,n),b=t.memoizedState),(s=ur||jd(t,r,s,n,y,b,u))?(m||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(n,b,u),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(n,b,u)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=256)):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=256),t.memoizedProps=n,t.memoizedState=b),a.props=n,a.state=b,a.context=u,n=s):(typeof a.componentDidUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&y===e.memoizedState||(t.flags|=256),n=!1)}return Ks(e,t,r,n,o,i)}function Ks(e,t,r,n,i,o){rp(e,t);var a=(t.flags&64)!=0;if(!n&&!a)return i&&Ed(t,r,!1),Wt(e,t,o);n=t.stateNode,Wy.current=t;var l=a&&typeof r.getDerivedStateFromError!="function"?null:n.render();return t.flags|=1,e!==null&&a?(t.child=ta(t,e.child,null,o),t.child=ta(t,null,l,o)):Ke(e,t,l,o),t.memoizedState=n.state,i&&Ed(t,r,!0),t.child}function ip(e){var t=e.stateNode;t.pendingContext?gd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&gd(e,t.context,!1),zs(e,t.containerInfo)}var ua={dehydrated:null,retryLane:0};function op(e,t,r){var n=t.pendingProps,i=Ee.current,o=!1,a;return(a=(t.flags&64)!=0)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!=0),a?(o=!0,t.flags&=-65):e!==null&&e.memoizedState===null||n.fallback===void 0||n.unstable_avoidThisFallback===!0||(i|=1),we(Ee,i&1),e===null?(n.fallback!==void 0&&Ms(t),e=n.children,i=n.fallback,o?(e=ap(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=ua,e):typeof n.unstable_expectedLoadTime=="number"?(e=ap(t,e,i,r),t.child.memoizedState={baseLanes:r},t.memoizedState=ua,t.lanes=33554432,e):(r=yu({mode:"visible",children:e},t.mode,r,null),r.return=t,t.child=r)):e.memoizedState!==null?o?(n=sp(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=ua,n):(r=lp(e,t,n.children,r),t.memoizedState=null,r):o?(n=sp(e,t,n.children,n.fallback,r),o=t.child,i=e.child.memoizedState,o.memoizedState=i===null?{baseLanes:r}:{baseLanes:i.baseLanes|r},o.childLanes=e.childLanes&~r,t.memoizedState=ua,n):(r=lp(e,t,n.children,r),t.memoizedState=null,r)}function ap(e,t,r,n){var i=e.mode,o=e.child;return t={mode:"hidden",children:t},(i&2)==0&&o!==null?(o.childLanes=0,o.pendingProps=t):o=yu(t,i,0,null),r=xn(r,i,n,null),o.return=e,r.return=e,o.sibling=r,e.child=o,r}function lp(e,t,r,n){var i=e.child;return e=i.sibling,r=gr(i,{mode:"visible",children:r}),(t.mode&2)==0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=r}function sp(e,t,r,n,i){var o=t.mode,a=e.child;e=a.sibling;var l={mode:"hidden",children:r};return(o&2)==0&&t.child!==a?(r=t.child,r.childLanes=0,r.pendingProps=l,a=r.lastEffect,a!==null?(t.firstEffect=r.firstEffect,t.lastEffect=a,a.nextEffect=null):t.firstEffect=t.lastEffect=null):r=gr(a,l),e!==null?n=gr(e,n):(n=xn(n,o,i,null),n.flags|=2),n.return=t,r.return=t,r.sibling=n,t.child=r,n}function up(e,t){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Td(e.return,t)}function Xs(e,t,r,n,i,o){var a=e.memoizedState;a===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:i,lastEffect:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=i,a.lastEffect=o)}function cp(e,t,r){var n=t.pendingProps,i=n.revealOrder,o=n.tail;if(Ke(e,t,n.children,r),n=Ee.current,(n&2)!=0)n=n&1|2,t.flags|=64;else{if(e!==null&&(e.flags&64)!=0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&up(e,r);else if(e.tag===19)up(e,r);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(we(Ee,n),(t.mode&2)==0)t.memoizedState=null;else switch(i){case"forwards":for(r=t.child,i=null;r!==null;)e=r.alternate,e!==null&&ra(e)===null&&(i=r),r=r.sibling;r=i,r===null?(i=t.child,t.child=null):(i=r.sibling,r.sibling=null),Xs(t,!1,i,r,o,t.lastEffect);break;case"backwards":for(r=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&ra(e)===null){t.child=i;break}e=i.sibling,i.sibling=r,r=i,i=e}Xs(t,!0,r,null,o,t.lastEffect);break;case"together":Xs(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function Wt(e,t,r){if(e!==null&&(t.dependencies=e.dependencies),Ti|=t.lanes,(r&t.childLanes)!=0){if(e!==null&&t.child!==e.child)throw Error(I(153));if(t.child!==null){for(e=t.child,r=gr(e,e.pendingProps),t.child=r,r.return=t;e.sibling!==null;)e=e.sibling,r=r.sibling=gr(e,e.pendingProps),r.return=t;r.sibling=null}return t.child}return null}var fp,Zs,dp,pp;fp=function(e,t){for(var r=t.child;r!==null;){if(r.tag===5||r.tag===6)e.appendChild(r.stateNode);else if(r.tag!==4&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}};Zs=function(){};dp=function(e,t,r,n){var i=e.memoizedProps;if(i!==n){e=t.stateNode,zr(Rt.current);var o=null;switch(r){case"input":i=zl(e,i),n=zl(e,n),o=[];break;case"option":i=Vl(e,i),n=Vl(e,n),o=[];break;case"select":i=ge({},i,{value:void 0}),n=ge({},n,{value:void 0}),o=[];break;case"textarea":i=Ul(e,i),n=Ul(e,n),o=[];break;default:typeof i.onClick!="function"&&typeof n.onClick=="function"&&(e.onclick=Vo)}Hl(r,n);var a;r=null;for(s in i)if(!n.hasOwnProperty(s)&&i.hasOwnProperty(s)&&i[s]!=null)if(s==="style"){var l=i[s];for(a in l)l.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else s!=="dangerouslySetInnerHTML"&&s!=="children"&&s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Hn.hasOwnProperty(s)?o||(o=[]):(o=o||[]).push(s,null));for(s in n){var u=n[s];if(l=i!=null?i[s]:void 0,n.hasOwnProperty(s)&&u!==l&&(u!=null||l!=null))if(s==="style")if(l){for(a in l)!l.hasOwnProperty(a)||u&&u.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in u)u.hasOwnProperty(a)&&l[a]!==u[a]&&(r||(r={}),r[a]=u[a])}else r||(o||(o=[]),o.push(s,r)),r=u;else s==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,l=l?l.__html:void 0,u!=null&&l!==u&&(o=o||[]).push(s,u)):s==="children"?typeof u!="string"&&typeof u!="number"||(o=o||[]).push(s,""+u):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&(Hn.hasOwnProperty(s)?(u!=null&&s==="onScroll"&&me("scroll",e),o||l===u||(o=[])):typeof u=="object"&&u!==null&&u.$$typeof===Ll?u.toString():(o=o||[]).push(s,u))}r&&(o=o||[]).push("style",r);var s=o;(t.updateQueue=s)&&(t.flags|=4)}};pp=function(e,t,r,n){r!==n&&(t.flags|=4)};function Ni(e,t){if(!_t)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;r!==null;)r.alternate!==null&&(n=r),r=r.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null}}function qy(e,t,r){var n=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ye(t.type)&&Ho(),null;case 3:return gn(),he(Ge),he(Ie),Us(),n=t.stateNode,n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),(e===null||e.child===null)&&(na(t)?t.flags|=4:n.hydrate||(t.flags|=256)),Zs(t),null;case 5:Is(t);var i=zr(Si.current);if(r=t.type,e!==null&&t.stateNode!=null)dp(e,t,r,n,i),e.ref!==t.ref&&(t.flags|=128);else{if(!n){if(t.stateNode===null)throw Error(I(166));return null}if(e=zr(Rt.current),na(t)){n=t.stateNode,r=t.type;var o=t.memoizedProps;switch(n[ar]=t,n[$o]=o,r){case"dialog":me("cancel",n),me("close",n);break;case"iframe":case"object":case"embed":me("load",n);break;case"video":case"audio":for(e=0;e<pi.length;e++)me(pi[e],n);break;case"source":me("error",n);break;case"img":case"image":case"link":me("error",n),me("load",n);break;case"details":me("toggle",n);break;case"input":of(n,o),me("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!o.multiple},me("invalid",n);break;case"textarea":sf(n,o),me("invalid",n)}Hl(r,o),e=null;for(var a in o)o.hasOwnProperty(a)&&(i=o[a],a==="children"?typeof i=="string"?n.textContent!==i&&(e=["children",i]):typeof i=="number"&&n.textContent!==""+i&&(e=["children",""+i]):Hn.hasOwnProperty(a)&&i!=null&&a==="onScroll"&&me("scroll",n));switch(r){case"input":Eo(n),lf(n,o,!0);break;case"textarea":Eo(n),cf(n);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(n.onclick=Vo)}n=e,t.updateQueue=n,n!==null&&(t.flags|=4)}else{switch(a=i.nodeType===9?i:i.ownerDocument,e===$l.html&&(e=ff(r)),e===$l.html?r==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=a.createElement(r,{is:n.is}):(e=a.createElement(r),r==="select"&&(a=e,n.multiple?a.multiple=!0:n.size&&(a.size=n.size))):e=a.createElementNS(e,r),e[ar]=t,e[$o]=n,fp(e,t,!1,!1),t.stateNode=e,a=Wl(r,n),r){case"dialog":me("cancel",e),me("close",e),i=n;break;case"iframe":case"object":case"embed":me("load",e),i=n;break;case"video":case"audio":for(i=0;i<pi.length;i++)me(pi[i],e);i=n;break;case"source":me("error",e),i=n;break;case"img":case"image":case"link":me("error",e),me("load",e),i=n;break;case"details":me("toggle",e),i=n;break;case"input":of(e,n),i=zl(e,n),me("invalid",e);break;case"option":i=Vl(e,n);break;case"select":e._wrapperState={wasMultiple:!!n.multiple},i=ge({},n,{value:void 0}),me("invalid",e);break;case"textarea":sf(e,n),i=Ul(e,n),me("invalid",e);break;default:i=n}Hl(r,i);var l=i;for(o in l)if(l.hasOwnProperty(o)){var u=l[o];o==="style"?mf(e,u):o==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&df(e,u)):o==="children"?typeof u=="string"?(r!=="textarea"||u!=="")&&Kn(e,u):typeof u=="number"&&Kn(e,""+u):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(Hn.hasOwnProperty(o)?u!=null&&o==="onScroll"&&me("scroll",e):u!=null&&bl(e,o,u,a))}switch(r){case"input":Eo(e),lf(e,n,!1);break;case"textarea":Eo(e),cf(e);break;case"option":n.value!=null&&e.setAttribute("value",""+er(n.value));break;case"select":e.multiple=!!n.multiple,o=n.value,o!=null?Zr(e,!!n.multiple,o,!1):n.defaultValue!=null&&Zr(e,!!n.multiple,n.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Vo)}pd(r,n)&&(t.flags|=4)}t.ref!==null&&(t.flags|=128)}return null;case 6:if(e&&t.stateNode!=null)pp(e,t,e.memoizedProps,n);else{if(typeof n!="string"&&t.stateNode===null)throw Error(I(166));r=zr(Si.current),zr(Rt.current),na(t)?(n=t.stateNode,r=t.memoizedProps,n[ar]=t,n.nodeValue!==r&&(t.flags|=4)):(n=(r.nodeType===9?r:r.ownerDocument).createTextNode(n),n[ar]=t,t.stateNode=n)}return null;case 13:return he(Ee),n=t.memoizedState,(t.flags&64)!=0?(t.lanes=r,t):(n=n!==null,r=!1,e===null?t.memoizedProps.fallback!==void 0&&na(t):r=e.memoizedState!==null,n&&!r&&(t.mode&2)!=0&&(e===null&&t.memoizedProps.unstable_avoidThisFallback!==!0||(Ee.current&1)!=0?De===0&&(De=3):((De===0||De===3)&&(De=4),We===null||(Ti&134217727)==0&&(Sn&134217727)==0||Pn(We,Ue))),(n||r)&&(t.flags|=4),null);case 4:return gn(),Zs(t),e===null&&sd(t.stateNode.containerInfo),null;case 10:return js(t),null;case 17:return Ye(t.type)&&Ho(),null;case 19:if(he(Ee),n=t.memoizedState,n===null)return null;if(o=(t.flags&64)!=0,a=n.rendering,a===null)if(o)Ni(n,!1);else{if(De!==0||e!==null&&(e.flags&64)!=0)for(e=t.child;e!==null;){if(a=ra(e),a!==null){for(t.flags|=64,Ni(n,!1),o=a.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),n.lastEffect===null&&(t.firstEffect=null),t.lastEffect=n.lastEffect,n=r,r=t.child;r!==null;)o=r,e=n,o.flags&=2,o.nextEffect=null,o.firstEffect=null,o.lastEffect=null,a=o.alternate,a===null?(o.childLanes=0,o.lanes=e,o.child=null,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=a.childLanes,o.lanes=a.lanes,o.child=a.child,o.memoizedProps=a.memoizedProps,o.memoizedState=a.memoizedState,o.updateQueue=a.updateQueue,o.type=a.type,e=a.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return we(Ee,Ee.current&1|2),t.child}e=e.sibling}n.tail!==null&&Me()>uu&&(t.flags|=64,o=!0,Ni(n,!1),t.lanes=33554432)}else{if(!o)if(e=ra(a),e!==null){if(t.flags|=64,o=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),Ni(n,!0),n.tail===null&&n.tailMode==="hidden"&&!a.alternate&&!_t)return t=t.lastEffect=n.lastEffect,t!==null&&(t.nextEffect=null),null}else 2*Me()-n.renderingStartTime>uu&&r!==1073741824&&(t.flags|=64,o=!0,Ni(n,!1),t.lanes=33554432);n.isBackwards?(a.sibling=t.child,t.child=a):(r=n.last,r!==null?r.sibling=a:t.child=a,n.last=a)}return n.tail!==null?(r=n.tail,n.rendering=r,n.tail=r.sibling,n.lastEffect=t.lastEffect,n.renderingStartTime=Me(),r.sibling=null,t=Ee.current,we(Ee,o?t&1|2:t&1),r):null;case 23:case 24:return hu(),e!==null&&e.memoizedState!==null!=(t.memoizedState!==null)&&n.mode!=="unstable-defer-without-hiding"&&(t.flags|=4),null}throw Error(I(156,t.tag))}function Gy(e){switch(e.tag){case 1:Ye(e.type)&&Ho();var t=e.flags;return t&4096?(e.flags=t&-4097|64,e):null;case 3:if(gn(),he(Ge),he(Ie),Us(),t=e.flags,(t&64)!=0)throw Error(I(285));return e.flags=t&-4097|64,e;case 5:return Is(e),null;case 13:return he(Ee),t=e.flags,t&4096?(e.flags=t&-4097|64,e):null;case 19:return he(Ee),null;case 4:return gn(),null;case 10:return js(e),null;case 23:case 24:return hu(),null;default:return null}}function Js(e,t){try{var r="",n=t;do r+=Ov(n),n=n.return;while(n);var i=r}catch(o){i=`
|
|
Error generating stack: `+o.message+`
|
|
`+o.stack}return{value:e,source:t,stack:i}}function eu(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Yy=typeof WeakMap=="function"?WeakMap:Map;function mp(e,t,r){r=cr(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){da||(da=!0,cu=n),eu(e,t)},r}function hp(e,t,r){r=cr(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var i=t.value;r.payload=function(){return eu(e,t),n(i)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){typeof n!="function"&&(At===null?At=new Set([this]):At.add(this),eu(e,t));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),r}var Qy=typeof WeakSet=="function"?WeakSet:Set;function vp(e){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){yr(e,r)}else t.current=null}function Ky(e,t){switch(t.tag){case 0:case 11:case 15:case 22:return;case 1:if(t.flags&256&&e!==null){var r=e.memoizedProps,n=e.memoizedState;e=t.stateNode,t=e.getSnapshotBeforeUpdate(t.elementType===t.type?r:St(t.type,r),n),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:t.flags&256&&Cs(t.stateNode.containerInfo);return;case 5:case 6:case 4:case 17:return}throw Error(I(163))}function Xy(e,t,r){switch(r.tag){case 0:case 11:case 15:case 22:if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{if((e.tag&3)==3){var n=e.create;e.destroy=n()}e=e.next}while(e!==t)}if(t=r.updateQueue,t=t!==null?t.lastEffect:null,t!==null){e=t=t.next;do{var i=e;n=i.next,i=i.tag,(i&4)!=0&&(i&1)!=0&&(_p(r,e),og(r,e)),e=n}while(e!==t)}return;case 1:e=r.stateNode,r.flags&4&&(t===null?e.componentDidMount():(n=r.elementType===r.type?t.memoizedProps:St(r.type,t.memoizedProps),e.componentDidUpdate(n,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),t=r.updateQueue,t!==null&&Ld(r,t,e);return;case 3:if(t=r.updateQueue,t!==null){if(e=null,r.child!==null)switch(r.child.tag){case 5:e=r.child.stateNode;break;case 1:e=r.child.stateNode}Ld(r,t,e)}return;case 5:e=r.stateNode,t===null&&r.flags&4&&pd(r.type,r.memoizedProps)&&e.focus();return;case 6:return;case 4:return;case 12:return;case 13:r.memoizedState===null&&(r=r.alternate,r!==null&&(r=r.memoizedState,r!==null&&(r=r.dehydrated,r!==null&&Rf(r))));return;case 19:case 17:case 20:case 21:case 23:case 24:return}throw Error(I(163))}function yp(e,t){for(var r=e;;){if(r.tag===5){var n=r.stateNode;if(t)n=n.style,typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none";else{n=r.stateNode;var i=r.memoizedProps.style;i=i!=null&&i.hasOwnProperty("display")?i.display:null,n.style.display=pf("display",i)}}else if(r.tag===6)r.stateNode.nodeValue=t?"":r.memoizedProps;else if((r.tag!==23&&r.tag!==24||r.memoizedState===null||r===e)&&r.child!==null){r.child.return=r,r=r.child;continue}if(r===e)break;for(;r.sibling===null;){if(r.return===null||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}function gp(e,t){if(Fr&&typeof Fr.onCommitFiberUnmount=="function")try{Fr.onCommitFiberUnmount(Os,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(e=t.updateQueue,e!==null&&(e=e.lastEffect,e!==null)){var r=e=e.next;do{var n=r,i=n.destroy;if(n=n.tag,i!==void 0)if((n&4)!=0)_p(t,r);else{n=t;try{i()}catch(o){yr(n,o)}}r=r.next}while(r!==e)}break;case 1:if(vp(t),e=t.stateNode,typeof e.componentWillUnmount=="function")try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){yr(t,o)}break;case 5:vp(t);break;case 4:kp(e,t)}}function wp(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function Ep(e){return e.tag===5||e.tag===3||e.tag===4}function Sp(e){e:{for(var t=e.return;t!==null;){if(Ep(t))break e;t=t.return}throw Error(I(160))}var r=t;switch(t=r.stateNode,r.tag){case 5:var n=!1;break;case 3:t=t.containerInfo,n=!0;break;case 4:t=t.containerInfo,n=!0;break;default:throw Error(I(161))}r.flags&16&&(Kn(t,""),r.flags&=-17);e:t:for(r=e;;){for(;r.sibling===null;){if(r.return===null||Ep(r.return)){r=null;break e}r=r.return}for(r.sibling.return=r.return,r=r.sibling;r.tag!==5&&r.tag!==6&&r.tag!==18;){if(r.flags&2||r.child===null||r.tag===4)continue t;r.child.return=r,r=r.child}if(!(r.flags&2)){r=r.stateNode;break e}}n?tu(e,r,t):ru(e,r,t)}function tu(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Vo));else if(n!==4&&(e=e.child,e!==null))for(tu(e,t,r),e=e.sibling;e!==null;)tu(e,t,r),e=e.sibling}function ru(e,t,r){var n=e.tag,i=n===5||n===6;if(i)e=i?e.stateNode:e.stateNode.instance,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(ru(e,t,r),e=e.sibling;e!==null;)ru(e,t,r),e=e.sibling}function kp(e,t){for(var r=t,n=!1,i,o;;){if(!n){n=r.return;e:for(;;){if(n===null)throw Error(I(160));switch(i=n.stateNode,n.tag){case 5:o=!1;break e;case 3:i=i.containerInfo,o=!0;break e;case 4:i=i.containerInfo,o=!0;break e}n=n.return}n=!0}if(r.tag===5||r.tag===6){e:for(var a=e,l=r,u=l;;)if(gp(a,u),u.child!==null&&u.tag!==4)u.child.return=u,u=u.child;else{if(u===l)break e;for(;u.sibling===null;){if(u.return===null||u.return===l)break e;u=u.return}u.sibling.return=u.return,u=u.sibling}o?(a=i,l=r.stateNode,a.nodeType===8?a.parentNode.removeChild(l):a.removeChild(l)):i.removeChild(r.stateNode)}else if(r.tag===4){if(r.child!==null){i=r.stateNode.containerInfo,o=!0,r.child.return=r,r=r.child;continue}}else if(gp(e,r),r.child!==null){r.child.return=r,r=r.child;continue}if(r===t)break;for(;r.sibling===null;){if(r.return===null||r.return===t)return;r=r.return,r.tag===4&&(n=!1)}r.sibling.return=r.return,r=r.sibling}}function nu(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var n=r=r.next;do(n.tag&3)==3&&(e=n.destroy,n.destroy=void 0,e!==void 0&&e()),n=n.next;while(n!==r)}return;case 1:return;case 5:if(r=t.stateNode,r!=null){n=t.memoizedProps;var i=e!==null?e.memoizedProps:n;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,o!==null){for(r[$o]=n,e==="input"&&n.type==="radio"&&n.name!=null&&af(r,n),Wl(e,i),t=Wl(e,n),i=0;i<o.length;i+=2){var a=o[i],l=o[i+1];a==="style"?mf(r,l):a==="dangerouslySetInnerHTML"?df(r,l):a==="children"?Kn(r,l):bl(r,a,l,t)}switch(e){case"input":Il(r,n);break;case"textarea":uf(r,n);break;case"select":e=r._wrapperState.wasMultiple,r._wrapperState.wasMultiple=!!n.multiple,o=n.value,o!=null?Zr(r,!!n.multiple,o,!1):e!==!!n.multiple&&(n.defaultValue!=null?Zr(r,!!n.multiple,n.defaultValue,!0):Zr(r,!!n.multiple,n.multiple?[]:"",!1))}}}return;case 6:if(t.stateNode===null)throw Error(I(162));t.stateNode.nodeValue=t.memoizedProps;return;case 3:r=t.stateNode,r.hydrate&&(r.hydrate=!1,Rf(r.containerInfo));return;case 12:return;case 13:t.memoizedState!==null&&(su=Me(),yp(t.child,!0)),Pp(t);return;case 19:Pp(t);return;case 17:return;case 23:case 24:yp(t,t.memoizedState!==null);return}throw Error(I(163))}function Pp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new Qy),t.forEach(function(n){var i=sg.bind(null,e,n);r.has(n)||(r.add(n),n.then(i,i))})}}function Zy(e,t){return e!==null&&(e=e.memoizedState,e===null||e.dehydrated!==null)?(t=t.memoizedState,t!==null&&t.dehydrated===null):!1}var Jy=Math.ceil,ca=Tr.ReactCurrentDispatcher,iu=Tr.ReactCurrentOwner,Y=0,We=null,Ne=null,Ue=0,Vr=0,ou=lr(0),De=0,fa=null,En=0,Ti=0,Sn=0,au=0,lu=null,su=0,uu=1/0;function kn(){uu=Me()+500}var U=null,da=!1,cu=null,At=null,pr=!1,Ri=null,_i=90,fu=[],du=[],qt=null,Li=0,pu=null,pa=-1,Gt=0,ma=0,Ai=null,ha=!1;function et(){return(Y&48)!=0?Me():pa!==-1?pa:pa=Me()}function mr(e){if(e=e.mode,(e&2)==0)return 1;if((e&4)==0)return hn()===99?1:2;if(Gt===0&&(Gt=En),Vy.transition!==0){ma!==0&&(ma=lu!==null?lu.pendingLanes:0),e=Gt;var t=4186112&~ma;return t&=-t,t===0&&(e=4186112&~e,t=e&-e,t===0&&(t=8192)),t}return e=hn(),(Y&4)!=0&&e===98?e=No(12,Gt):(e=Bv(e),e=No(e,Gt)),e}function hr(e,t,r){if(50<Li)throw Li=0,pu=null,Error(I(185));if(e=va(e,t),e===null)return null;To(e,t,r),e===We&&(Sn|=t,De===4&&Pn(e,Ue));var n=hn();t===1?(Y&8)!=0&&(Y&48)==0?mu(e):(dt(e,r),Y===0&&(kn(),Tt())):((Y&4)==0||n!==98&&n!==99||(qt===null?qt=new Set([e]):qt.add(e)),dt(e,r)),lu=e}function va(e,t){e.lanes|=t;var r=e.alternate;for(r!==null&&(r.lanes|=t),r=e,e=e.return;e!==null;)e.childLanes|=t,r=e.alternate,r!==null&&(r.childLanes|=t),r=e,e=e.return;return r.tag===3?r.stateNode:null}function dt(e,t){for(var r=e.callbackNode,n=e.suspendedLanes,i=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var l=31-ir(a),u=1<<l,s=o[l];if(s===-1){if((u&n)==0||(u&i)!=0){s=t,nn(u);var m=pe;o[l]=10<=m?s+250:6<=m?s+5e3:-1}}else s<=t&&(e.expiredLanes|=u);a&=~u}if(n=oi(e,e===We?Ue:0),t=pe,n===0)r!==null&&(r!==_s&&Ts(r),e.callbackNode=null,e.callbackPriority=0);else{if(r!==null){if(e.callbackPriority===t)return;r!==_s&&Ts(r)}t===15?(r=mu.bind(null,e),Bt===null?(Bt=[r],Go=Ns(qo,Nd)):Bt.push(r),r=_s):t===14?r=vi(99,mu.bind(null,e)):(r=Hv(t),r=vi(r,Cp.bind(null,e))),e.callbackPriority=t,e.callbackNode=r}}function Cp(e){if(pa=-1,ma=Gt=0,(Y&48)!=0)throw Error(I(327));var t=e.callbackNode;if(vr()&&e.callbackNode!==t)return null;var r=oi(e,e===We?Ue:0);if(r===0)return null;var n=r,i=Y;Y|=16;var o=Np();(We!==e||Ue!==n)&&(kn(),Cn(e,n));do try{rg();break}catch(l){Op(e,l)}while(1);if(As(),ca.current=o,Y=i,Ne!==null?n=0:(We=null,Ue=0,n=De),(En&Sn)!=0)Cn(e,0);else if(n!==0){if(n===2&&(Y|=64,e.hydrate&&(e.hydrate=!1,Cs(e.containerInfo)),r=zf(e),r!==0&&(n=ji(e,r))),n===1)throw t=fa,Cn(e,0),Pn(e,r),dt(e,Me()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=r,n){case 0:case 1:throw Error(I(345));case 2:Ur(e);break;case 3:if(Pn(e,r),(r&62914560)===r&&(n=su+500-Me(),10<n)){if(oi(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){et(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=md(Ur.bind(null,e),n);break}Ur(e);break;case 4:if(Pn(e,r),(r&4186112)===r)break;for(n=e.eventTimes,i=-1;0<r;){var a=31-ir(r);o=1<<a,a=n[a],a>i&&(i=a),r&=~o}if(r=i,r=Me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Jy(r/1960))-r,10<r){e.timeoutHandle=md(Ur.bind(null,e),r);break}Ur(e);break;case 5:Ur(e);break;default:throw Error(I(329))}}return dt(e,Me()),e.callbackNode===t?Cp.bind(null,e):null}function Pn(e,t){for(t&=~au,t&=~Sn,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-ir(t),n=1<<r;e[r]=-1,t&=~n}}function mu(e){if((Y&48)!=0)throw Error(I(327));if(vr(),e===We&&(e.expiredLanes&Ue)!=0){var t=Ue,r=ji(e,t);(En&Sn)!=0&&(t=oi(e,t),r=ji(e,t))}else t=oi(e,0),r=ji(e,t);if(e.tag!==0&&r===2&&(Y|=64,e.hydrate&&(e.hydrate=!1,Cs(e.containerInfo)),t=zf(e),t!==0&&(r=ji(e,t))),r===1)throw r=fa,Cn(e,0),Pn(e,t),dt(e,Me()),r;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ur(e),dt(e,Me()),null}function eg(){if(qt!==null){var e=qt;qt=null,e.forEach(function(t){t.expiredLanes|=24&t.pendingLanes,dt(t,Me())})}Tt()}function xp(e,t){var r=Y;Y|=1;try{return e(t)}finally{Y=r,Y===0&&(kn(),Tt())}}function bp(e,t){var r=Y;Y&=-2,Y|=8;try{return e(t)}finally{Y=r,Y===0&&(kn(),Tt())}}function ya(e,t){we(ou,Vr),Vr|=t,En|=t}function hu(){Vr=ou.current,he(ou)}function Cn(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(r!==-1&&(e.timeoutHandle=-1,jy(r)),Ne!==null)for(r=Ne.return;r!==null;){var n=r;switch(n.tag){case 1:n=n.type.childContextTypes,n!=null&&Ho();break;case 3:gn(),he(Ge),he(Ie),Us();break;case 5:Is(n);break;case 4:gn();break;case 13:he(Ee);break;case 19:he(Ee);break;case 10:js(n);break;case 23:case 24:hu()}r=r.return}We=e,Ne=gr(e.current,null),Ue=Vr=En=t,De=0,fa=null,au=Sn=Ti=0}function Op(e,t){do{var r=Ne;try{if(As(),ki.current=sa,ia){for(var n=Pe.memoizedState;n!==null;){var i=n.queue;i!==null&&(i.pending=null),n=n.next}ia=!1}if(Pi=0,Fe=Ve=Pe=null,Ci=!1,iu.current=null,r===null||r.return===null){De=1,fa=t,Ne=null;break}e:{var o=e,a=r.return,l=r,u=t;if(t=Ue,l.flags|=2048,l.firstEffect=l.lastEffect=null,u!==null&&typeof u=="object"&&typeof u.then=="function"){var s=u;if((l.mode&2)==0){var m=l.alternate;m?(l.updateQueue=m.updateQueue,l.memoizedState=m.memoizedState,l.lanes=m.lanes):(l.updateQueue=null,l.memoizedState=null)}var S=(Ee.current&1)!=0,y=a;do{var x;if(x=y.tag===13){var b=y.memoizedState;if(b!==null)x=b.dehydrated!==null;else{var _=y.memoizedProps;x=_.fallback===void 0?!1:_.unstable_avoidThisFallback!==!0?!0:!S}}if(x){var d=y.updateQueue;if(d===null){var c=new Set;c.add(s),y.updateQueue=c}else d.add(s);if((y.mode&2)==0){if(y.flags|=64,l.flags|=16384,l.flags&=-2981,l.tag===1)if(l.alternate===null)l.tag=17;else{var p=cr(-1,1);p.tag=2,fr(l,p)}l.lanes|=1;break e}u=void 0,l=t;var g=o.pingCache;if(g===null?(g=o.pingCache=new Yy,u=new Set,g.set(s,u)):(u=g.get(s),u===void 0&&(u=new Set,g.set(s,u))),!u.has(l)){u.add(l);var h=lg.bind(null,o,s,l);s.then(h,h)}y.flags|=4096,y.lanes=t;break e}y=y.return}while(y!==null);u=Error((Xr(l.type)||"A React component")+` suspended while rendering, but no fallback UI was specified.
|
|
|
|
Add a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.`)}De!==5&&(De=2),u=Js(u,l),y=a;do{switch(y.tag){case 3:o=u,y.flags|=4096,t&=-t,y.lanes|=t;var k=mp(y,o,t);_d(y,k);break e;case 1:o=u;var O=y.type,A=y.stateNode;if((y.flags&64)==0&&(typeof O.getDerivedStateFromError=="function"||A!==null&&typeof A.componentDidCatch=="function"&&(At===null||!At.has(A)))){y.flags|=4096,t&=-t,y.lanes|=t;var C=hp(y,o,t);_d(y,C);break e}}y=y.return}while(y!==null)}Rp(r)}catch(D){t=D,Ne===r&&r!==null&&(Ne=r=r.return);continue}break}while(1)}function Np(){var e=ca.current;return ca.current=sa,e===null?sa:e}function ji(e,t){var r=Y;Y|=16;var n=Np();We===e&&Ue===t||Cn(e,t);do try{tg();break}catch(i){Op(e,i)}while(1);if(As(),Y=r,ca.current=n,Ne!==null)throw Error(I(261));return We=null,Ue=0,De}function tg(){for(;Ne!==null;)Tp(Ne)}function rg(){for(;Ne!==null&&!zy();)Tp(Ne)}function Tp(e){var t=Ap(e.alternate,e,Vr);e.memoizedProps=e.pendingProps,t===null?Rp(e):Ne=t,iu.current=null}function Rp(e){var t=e;do{var r=t.alternate;if(e=t.return,(t.flags&2048)==0){if(r=qy(r,t,Vr),r!==null){Ne=r;return}if(r=t,r.tag!==24&&r.tag!==23||r.memoizedState===null||(Vr&1073741824)!=0||(r.mode&4)==0){for(var n=0,i=r.child;i!==null;)n|=i.lanes|i.childLanes,i=i.sibling;r.childLanes=n}e!==null&&(e.flags&2048)==0&&(e.firstEffect===null&&(e.firstEffect=t.firstEffect),t.lastEffect!==null&&(e.lastEffect!==null&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(e.lastEffect!==null?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(r=Gy(t),r!==null){r.flags&=2047,Ne=r;return}e!==null&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(t=t.sibling,t!==null){Ne=t;return}Ne=t=e}while(t!==null);De===0&&(De=5)}function Ur(e){var t=hn();return Dr(99,ng.bind(null,e,t)),null}function ng(e,t){do vr();while(Ri!==null);if((Y&48)!=0)throw Error(I(327));var r=e.finishedWork;if(r===null)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(I(177));e.callbackNode=null;var n=r.lanes|r.childLanes,i=n,o=e.pendingLanes&~i;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=i,e.mutableReadLanes&=i,e.entangledLanes&=i,i=e.entanglements;for(var a=e.eventTimes,l=e.expirationTimes;0<o;){var u=31-ir(o),s=1<<u;i[u]=0,a[u]=-1,l[u]=-1,o&=~s}if(qt!==null&&(n&24)==0&&qt.has(e)&&qt.delete(e),e===We&&(Ne=We=null,Ue=0),1<r.flags?r.lastEffect!==null?(r.lastEffect.nextEffect=r,n=r.firstEffect):n=r:n=r.firstEffect,n!==null){if(i=Y,Y|=32,iu.current=null,Ss=Ro,a=rd(),ys(a)){if("selectionStart"in a)l={start:a.selectionStart,end:a.selectionEnd};else e:if(l=(l=a.ownerDocument)&&l.defaultView||window,(s=l.getSelection&&l.getSelection())&&s.rangeCount!==0){l=s.anchorNode,o=s.anchorOffset,u=s.focusNode,s=s.focusOffset;try{l.nodeType,u.nodeType}catch(D){l=null;break e}var m=0,S=-1,y=-1,x=0,b=0,_=a,d=null;t:for(;;){for(var c;_!==l||o!==0&&_.nodeType!==3||(S=m+o),_!==u||s!==0&&_.nodeType!==3||(y=m+s),_.nodeType===3&&(m+=_.nodeValue.length),(c=_.firstChild)!==null;)d=_,_=c;for(;;){if(_===a)break t;if(d===l&&++x===o&&(S=m),d===u&&++b===s&&(y=m),(c=_.nextSibling)!==null)break;_=d,d=_.parentNode}_=c}l=S===-1||y===-1?null:{start:S,end:y}}else l=null;l=l||{start:0,end:0}}else l=null;ks={focusedElem:a,selectionRange:l},Ro=!1,Ai=null,ha=!1,U=n;do try{ig()}catch(D){if(U===null)throw Error(I(330));yr(U,D),U=U.nextEffect}while(U!==null);Ai=null,U=n;do try{for(a=e;U!==null;){var p=U.flags;if(p&16&&Kn(U.stateNode,""),p&128){var g=U.alternate;if(g!==null){var h=g.ref;h!==null&&(typeof h=="function"?h(null):h.current=null)}}switch(p&1038){case 2:Sp(U),U.flags&=-3;break;case 6:Sp(U),U.flags&=-3,nu(U.alternate,U);break;case 1024:U.flags&=-1025;break;case 1028:U.flags&=-1025,nu(U.alternate,U);break;case 4:nu(U.alternate,U);break;case 8:l=U,kp(a,l);var k=l.alternate;wp(l),k!==null&&wp(k)}U=U.nextEffect}}catch(D){if(U===null)throw Error(I(330));yr(U,D),U=U.nextEffect}while(U!==null);if(h=ks,g=rd(),p=h.focusedElem,a=h.selectionRange,g!==p&&p&&p.ownerDocument&&td(p.ownerDocument.documentElement,p)){for(a!==null&&ys(p)&&(g=a.start,h=a.end,h===void 0&&(h=g),"selectionStart"in p?(p.selectionStart=g,p.selectionEnd=Math.min(h,p.value.length)):(h=(g=p.ownerDocument||document)&&g.defaultView||window,h.getSelection&&(h=h.getSelection(),l=p.textContent.length,k=Math.min(a.start,l),a=a.end===void 0?k:Math.min(a.end,l),!h.extend&&k>a&&(l=a,a=k,k=l),l=ed(p,k),o=ed(p,a),l&&o&&(h.rangeCount!==1||h.anchorNode!==l.node||h.anchorOffset!==l.offset||h.focusNode!==o.node||h.focusOffset!==o.offset)&&(g=g.createRange(),g.setStart(l.node,l.offset),h.removeAllRanges(),k>a?(h.addRange(g),h.extend(o.node,o.offset)):(g.setEnd(o.node,o.offset),h.addRange(g)))))),g=[],h=p;h=h.parentNode;)h.nodeType===1&&g.push({element:h,left:h.scrollLeft,top:h.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<g.length;p++)h=g[p],h.element.scrollLeft=h.left,h.element.scrollTop=h.top}Ro=!!Ss,ks=Ss=null,e.current=r,U=n;do try{for(p=e;U!==null;){var O=U.flags;if(O&36&&Xy(p,U.alternate,U),O&128){g=void 0;var A=U.ref;if(A!==null){var C=U.stateNode;switch(U.tag){case 5:g=C;break;default:g=C}typeof A=="function"?A(g):A.current=g}}U=U.nextEffect}}catch(D){if(U===null)throw Error(I(330));yr(U,D),U=U.nextEffect}while(U!==null);U=null,My(),Y=i}else e.current=r;if(pr)pr=!1,Ri=e,_i=t;else for(U=n;U!==null;)t=U.nextEffect,U.nextEffect=null,U.flags&8&&(O=U,O.sibling=null,O.stateNode=null),U=t;if(n=e.pendingLanes,n===0&&(At=null),n===1?e===pu?Li++:(Li=0,pu=e):Li=0,r=r.stateNode,Fr&&typeof Fr.onCommitFiberRoot=="function")try{Fr.onCommitFiberRoot(Os,r,void 0,(r.current.flags&64)==64)}catch(D){}if(dt(e,Me()),da)throw da=!1,e=cu,cu=null,e;return(Y&8)!=0||Tt(),null}function ig(){for(;U!==null;){var e=U.alternate;ha||Ai===null||((U.flags&8)!=0?Pf(U,Ai)&&(ha=!0):U.tag===13&&Zy(e,U)&&Pf(U,Ai)&&(ha=!0));var t=U.flags;(t&256)!=0&&Ky(e,U),(t&512)==0||pr||(pr=!0,vi(97,function(){return vr(),null})),U=U.nextEffect}}function vr(){if(_i!==90){var e=97<_i?97:_i;return _i=90,Dr(e,ag)}return!1}function og(e,t){fu.push(t,e),pr||(pr=!0,vi(97,function(){return vr(),null}))}function _p(e,t){du.push(t,e),pr||(pr=!0,vi(97,function(){return vr(),null}))}function ag(){if(Ri===null)return!1;var e=Ri;if(Ri=null,(Y&48)!=0)throw Error(I(331));var t=Y;Y|=32;var r=du;du=[];for(var n=0;n<r.length;n+=2){var i=r[n],o=r[n+1],a=i.destroy;if(i.destroy=void 0,typeof a=="function")try{a()}catch(u){if(o===null)throw Error(I(330));yr(o,u)}}for(r=fu,fu=[],n=0;n<r.length;n+=2){i=r[n],o=r[n+1];try{var l=i.create;i.destroy=l()}catch(u){if(o===null)throw Error(I(330));yr(o,u)}}for(l=e.current.firstEffect;l!==null;)e=l.nextEffect,l.nextEffect=null,l.flags&8&&(l.sibling=null,l.stateNode=null),l=e;return Y=t,Tt(),!0}function Lp(e,t,r){t=Js(r,t),t=mp(e,t,1),fr(e,t),t=et(),e=va(e,1),e!==null&&(To(e,1,t),dt(e,t))}function yr(e,t){if(e.tag===3)Lp(e,e,t);else for(var r=e.return;r!==null;){if(r.tag===3){Lp(r,e,t);break}else if(r.tag===1){var n=r.stateNode;if(typeof r.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(At===null||!At.has(n))){e=Js(t,e);var i=hp(r,e,1);if(fr(r,i),i=et(),r=va(r,1),r!==null)To(r,1,i),dt(r,i);else if(typeof n.componentDidCatch=="function"&&(At===null||!At.has(n)))try{n.componentDidCatch(t,e)}catch(o){}break}}r=r.return}}function lg(e,t,r){var n=e.pingCache;n!==null&&n.delete(t),t=et(),e.pingedLanes|=e.suspendedLanes&r,We===e&&(Ue&r)===r&&(De===4||De===3&&(Ue&62914560)===Ue&&500>Me()-su?Cn(e,0):au|=r),dt(e,t)}function sg(e,t){var r=e.stateNode;r!==null&&r.delete(t),t=0,t===0&&(t=e.mode,(t&2)==0?t=1:(t&4)==0?t=hn()===99?1:2:(Gt===0&&(Gt=En),t=on(62914560&~Gt),t===0&&(t=4194304))),r=et(),e=va(e,t),e!==null&&(To(e,t,r),dt(e,r))}var Ap;Ap=function(e,t,r){var n=t.lanes;if(e!==null)if(e.memoizedProps!==t.pendingProps||Ge.current)kt=!0;else if((r&n)!=0)kt=(e.flags&16384)!=0;else{switch(kt=!1,t.tag){case 3:ip(t),Vs();break;case 5:Md(t);break;case 1:Ye(t.type)&&Wo(t);break;case 4:zs(t,t.stateNode.containerInfo);break;case 10:n=t.memoizedProps.value;var i=t.type._context;we(Yo,i._currentValue),i._currentValue=n;break;case 13:if(t.memoizedState!==null)return(r&t.child.childLanes)!=0?op(e,t,r):(we(Ee,Ee.current&1),t=Wt(e,t,r),t!==null?t.sibling:null);we(Ee,Ee.current&1);break;case 19:if(n=(r&t.childLanes)!=0,(e.flags&64)!=0){if(n)return cp(e,t,r);t.flags|=64}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),we(Ee,Ee.current),n)break;return null;case 23:case 24:return t.lanes=0,Ys(e,t,r)}return Wt(e,t,r)}else kt=!1;switch(t.lanes=0,t.tag){case 2:if(n=t.type,e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,i=mn(t,Ie.current),yn(t,r),i=Bs(null,t,n,e,i,r),t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ye(n)){var o=!0;Wo(t)}else o=!1;t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,Fs(t);var a=n.getDerivedStateFromProps;typeof a=="function"&&Xo(t,n,a,e),i.updater=Zo,t.stateNode=i,i._reactInternals=t,Ds(t,n,e,r),t=Ks(null,t,n,!0,o,r)}else t.tag=0,Ke(null,t,i,r),t=t.child;return t;case 16:i=t.elementType;e:{switch(e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=cg(i),e=St(i,e),o){case 0:t=Qs(null,t,i,e,r);break e;case 1:t=np(null,t,i,e,r);break e;case 11:t=Jd(null,t,i,e,r);break e;case 14:t=ep(null,t,i,St(i.type,e),n,r);break e}throw Error(I(306,i,""))}return t;case 0:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:St(n,i),Qs(e,t,n,i,r);case 1:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:St(n,i),np(e,t,n,i,r);case 3:if(ip(t),n=t.updateQueue,e===null||n===null)throw Error(I(282));if(n=t.pendingProps,i=t.memoizedState,i=i!==null?i.element:null,Rd(e,t),yi(t,n,null,r),n=t.memoizedState.element,n===i)Vs(),t=Wt(e,t,r);else{if(i=t.stateNode,(o=i.hydrate)&&(dr=cn(t.stateNode.containerInfo.firstChild),Ht=t,o=_t=!0),o){if(e=i.mutableSourceEagerHydrationData,e!=null)for(i=0;i<e.length;i+=2)o=e[i],o._workInProgressVersionPrimary=e[i+1],wn.push(o);for(r=Id(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|1024,r=r.sibling}else Ke(e,t,n,r),Vs();t=t.child}return t;case 5:return Md(t),e===null&&Ms(t),n=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,a=i.children,Ps(n,i)?a=null:o!==null&&Ps(n,o)&&(t.flags|=16),rp(e,t),Ke(e,t,a,r),t.child;case 6:return e===null&&Ms(t),null;case 13:return op(e,t,r);case 4:return zs(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=ta(t,null,n,r):Ke(e,t,n,r),t.child;case 11:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:St(n,i),Jd(e,t,n,i,r);case 7:return Ke(e,t,t.pendingProps,r),t.child;case 8:return Ke(e,t,t.pendingProps.children,r),t.child;case 12:return Ke(e,t,t.pendingProps.children,r),t.child;case 10:e:{n=t.type._context,i=t.pendingProps,a=t.memoizedProps,o=i.value;var l=t.type._context;if(we(Yo,l._currentValue),l._currentValue=o,a!==null)if(l=a.value,o=ut(l,o)?0:(typeof n._calculateChangedBits=="function"?n._calculateChangedBits(l,o):1073741823)|0,o===0){if(a.children===i.children&&!Ge.current){t=Wt(e,t,r);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var u=l.dependencies;if(u!==null){a=l.child;for(var s=u.firstContext;s!==null;){if(s.context===n&&(s.observedBits&o)!=0){l.tag===1&&(s=cr(-1,r&-r),s.tag=2,fr(l,s)),l.lanes|=r,s=l.alternate,s!==null&&(s.lanes|=r),Td(l.return,r),u.lanes|=r;break}s=s.next}}else a=l.tag===10&&l.type===t.type?null:l.child;if(a!==null)a.return=l;else for(a=l;a!==null;){if(a===t){a=null;break}if(l=a.sibling,l!==null){l.return=a.return,a=l;break}a=a.return}l=a}Ke(e,t,i.children,r),t=t.child}return t;case 9:return i=t.type,o=t.pendingProps,n=o.children,yn(t,r),i=ct(i,o.unstable_observedBits),n=n(i),t.flags|=1,Ke(e,t,n,r),t.child;case 14:return i=t.type,o=St(i,t.pendingProps),o=St(i.type,o),ep(e,t,i,o,n,r);case 15:return tp(e,t,t.type,t.pendingProps,n,r);case 17:return n=t.type,i=t.pendingProps,i=t.elementType===n?i:St(n,i),e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,Ye(n)?(e=!0,Wo(t)):e=!1,yn(t,r),Fd(t,n,i),Ds(t,n,i,r),Ks(null,t,n,!0,e,r);case 19:return cp(e,t,r);case 23:return Ys(e,t,r);case 24:return Ys(e,t,r)}throw Error(I(156,t.tag))};function ug(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function pt(e,t,r,n){return new ug(e,t,r,n)}function vu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function cg(e){if(typeof e=="function")return vu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vo)return 11;if(e===go)return 14}return 2}function gr(e,t){var r=e.alternate;return r===null?(r=pt(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.nextEffect=null,r.firstEffect=null,r.lastEffect=null),r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function ga(e,t,r,n,i,o){var a=2;if(n=e,typeof e=="function")vu(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Jt:return xn(r.children,i,o,t);case ef:a=8,i|=16;break;case Ol:a=8,i|=1;break;case qn:return e=pt(12,r,t,i|8),e.elementType=qn,e.type=qn,e.lanes=o,e;case Gn:return e=pt(13,r,t,i),e.type=Gn,e.elementType=Gn,e.lanes=o,e;case yo:return e=pt(19,r,t,i),e.elementType=yo,e.lanes=o,e;case Al:return yu(r,i,o,t);case jl:return e=pt(24,r,t,i),e.elementType=jl,e.lanes=o,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Nl:a=10;break e;case Tl:a=9;break e;case vo:a=11;break e;case go:a=14;break e;case Rl:a=16,n=null;break e;case _l:a=22;break e}throw Error(I(130,e==null?e:typeof e,""))}return t=pt(a,r,t,i),t.elementType=e,t.type=n,t.lanes=o,t}function xn(e,t,r,n){return e=pt(7,e,n,t),e.lanes=r,e}function yu(e,t,r,n){return e=pt(23,e,n,t),e.elementType=Al,e.lanes=r,e}function gu(e,t,r){return e=pt(6,e,null,t),e.lanes=r,e}function wu(e,t,r){return t=pt(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function fg(e,t,r){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=r,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=as(0),this.expirationTimes=as(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=as(0),this.mutableSourceEagerHydrationData=null}function dg(e,t,r){var n=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Rr,key:n==null?null:""+n,children:e,containerInfo:t,implementation:r}}function wa(e,t,r,n){var i=t.current,o=et(),a=mr(i);e:if(r){r=r._reactInternals;t:{if(Lr(r)!==r||r.tag!==1)throw Error(I(170));var l=r;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(Ye(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(l!==null);throw Error(I(171))}if(r.tag===1){var u=r.type;if(Ye(u)){r=wd(r,u,l);break e}}r=l}else r=sr;return t.context===null?t.context=r:t.pendingContext=r,t=cr(o,a),t.payload={element:e},n=n===void 0?null:n,n!==null&&(t.callback=n),fr(i,t),hr(i,a,o),a}function Eu(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function jp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var r=e.retryLane;e.retryLane=r!==0&&r<t?r:t}}function Su(e,t){jp(e,t),(e=e.alternate)&&jp(e,t)}function pg(){return null}function ku(e,t,r){var n=r!=null&&r.hydrationOptions!=null&&r.hydrationOptions.mutableSources||null;if(r=new fg(e,t,r!=null&&r.hydrate===!0),t=pt(3,null,null,t===2?7:t===1?3:0),r.current=t,t.stateNode=r,Fs(t),e[fn]=r.current,sd(e.nodeType===8?e.parentNode:e),n)for(e=0;e<n.length;e++){t=n[e];var i=t._getVersion;i=i(t._source),r.mutableSourceEagerHydrationData==null?r.mutableSourceEagerHydrationData=[t,i]:r.mutableSourceEagerHydrationData.push(t,i)}this._internalRoot=r}ku.prototype.render=function(e){wa(e,this._internalRoot,null,null)};ku.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;wa(null,e,null,function(){t[fn]=null})};function Fi(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function mg(e,t){if(t||(t=e?e.nodeType===9?e.documentElement:e.firstChild:null,t=!(!t||t.nodeType!==1||!t.hasAttribute("data-reactroot"))),!t)for(var r;r=e.lastChild;)e.removeChild(r);return new ku(e,0,t?{hydrate:!0}:void 0)}function Ea(e,t,r,n,i){var o=r._reactRootContainer;if(o){var a=o._internalRoot;if(typeof i=="function"){var l=i;i=function(){var s=Eu(a);l.call(s)}}wa(t,a,e,i)}else{if(o=r._reactRootContainer=mg(r,n),a=o._internalRoot,typeof i=="function"){var u=i;i=function(){var s=Eu(a);u.call(s)}}bp(function(){wa(t,a,e,i)})}return Eu(a)}Cf=function(e){if(e.tag===13){var t=et();hr(e,4,t),Su(e,4)}};es=function(e){if(e.tag===13){var t=et();hr(e,67108864,t),Su(e,67108864)}};xf=function(e){if(e.tag===13){var t=et(),r=mr(e);hr(e,r,t),Su(e,r)}};bf=function(e,t){return t()};Gl=function(e,t,r){switch(t){case"input":if(Il(e,r),t=r.name,r.type==="radio"&&t!=null){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var i=Bo(n);if(!i)throw Error(I(90));nf(n),Il(n,i)}}}break;case"textarea":uf(e,r);break;case"select":t=r.value,t!=null&&Zr(e,!!r.multiple,t,!1)}};Yl=xp;gf=function(e,t,r,n,i){var o=Y;Y|=4;try{return Dr(98,e.bind(null,t,r,n,i))}finally{Y=o,Y===0&&(kn(),Tt())}};Ql=function(){(Y&49)==0&&(eg(),vr())};wf=function(e,t){var r=Y;Y|=2;try{return e(t)}finally{Y=r,Y===0&&(kn(),Tt())}};function Fp(e,t){var r=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Fi(t))throw Error(I(200));return dg(e,t,null,r)}var hg={Events:[hi,dn,Bo,vf,yf,vr,{current:!1}]},Di={findFiberByHostInstance:Ar,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},vg={bundleType:Di.bundleType,version:Di.version,rendererPackageName:Di.rendererPackageName,rendererConfig:Di.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Tr.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=kf(e),e===null?null:e.stateNode},findFiberByHostInstance:Di.findFiberByHostInstance||pg,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__!="undefined"&&(zi=__REACT_DEVTOOLS_GLOBAL_HOOK__,!zi.isDisabled&&zi.supportsFiber))try{Os=zi.inject(vg),Fr=zi}catch(e){}var zi;mt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=hg;mt.createPortal=Fp;mt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(I(188)):Error(I(268,Object.keys(e)));return e=kf(t),e=e===null?null:e.stateNode,e};mt.flushSync=function(e,t){var r=Y;if((r&48)!=0)return e(t);Y|=1;try{if(e)return Dr(99,e.bind(null,t))}finally{Y=r,Tt()}};mt.hydrate=function(e,t,r){if(!Fi(t))throw Error(I(200));return Ea(null,e,t,!0,r)};mt.render=function(e,t,r){if(!Fi(t))throw Error(I(200));return Ea(null,e,t,!1,r)};mt.unmountComponentAtNode=function(e){if(!Fi(e))throw Error(I(40));return e._reactRootContainer?(bp(function(){Ea(null,null,e,!1,function(){e._reactRootContainer=null,e[fn]=null})}),!0):!1};mt.unstable_batchedUpdates=xp;mt.unstable_createPortal=function(e,t){return Fp(e,t,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)};mt.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Fi(r))throw Error(I(200));if(e==null||e._reactInternals===void 0)throw Error(I(38));return Ea(e,t,r,!1,n)};mt.version="17.0.2"});var Mp=ke((uw,Ip)=>{"use strict";function zp(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(zp)}catch(e){console.error(e)}}zp(),Ip.exports=Dp()});var Up=ke((pw,Vp)=>{"use strict";var yg="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";Vp.exports=yg});var Wp=ke((mw,Hp)=>{"use strict";var gg=Up();function $p(){}function Bp(){}Bp.resetWarningCache=$p;Hp.exports=function(){function e(n,i,o,a,l,u){if(u!==gg){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}e.isRequired=e;function t(){return e}var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Bp,resetWarningCache:$p};return r.PropTypes=r,r}});var Sa=ke((yw,qp)=>{qp.exports=Wp()();var hw,vw});var fm=ke((Rw,cm)=>{cm.exports=Array.isArray||function(e){return Object.prototype.toString.call(e)=="[object Array]"}});var hm=ke((_w,bn)=>{var Pa=fm();bn.exports=mm;bn.exports.parse=Tu;bn.exports.compile=zg;bn.exports.tokensToFunction=dm;bn.exports.tokensToRegExp=pm;var Dg=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Tu(e,t){for(var r=[],n=0,i=0,o="",a=t&&t.delimiter||"/",l;(l=Dg.exec(e))!=null;){var u=l[0],s=l[1],m=l.index;if(o+=e.slice(i,m),i=m+u.length,s){o+=s[1];continue}var S=e[i],y=l[2],x=l[3],b=l[4],_=l[5],d=l[6],c=l[7];o&&(r.push(o),o="");var p=y!=null&&S!=null&&S!==y,g=d==="+"||d==="*",h=d==="?"||d==="*",k=l[2]||a,O=b||_;r.push({name:x||n++,prefix:y||"",delimiter:k,optional:h,repeat:g,partial:p,asterisk:!!c,pattern:O?Vg(O):c?".*":"[^"+Ca(k)+"]+?"})}return i<e.length&&(o+=e.substr(i)),o&&r.push(o),r}function zg(e,t){return dm(Tu(e,t),t)}function Ig(e){return encodeURI(e).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function Mg(e){return encodeURI(e).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function dm(e,t){for(var r=new Array(e.length),n=0;n<e.length;n++)typeof e[n]=="object"&&(r[n]=new RegExp("^(?:"+e[n].pattern+")$",_u(t)));return function(i,o){for(var a="",l=i||{},u=o||{},s=u.pretty?Ig:encodeURIComponent,m=0;m<e.length;m++){var S=e[m];if(typeof S=="string"){a+=S;continue}var y=l[S.name],x;if(y==null)if(S.optional){S.partial&&(a+=S.prefix);continue}else throw new TypeError('Expected "'+S.name+'" to be defined');if(Pa(y)){if(!S.repeat)throw new TypeError('Expected "'+S.name+'" to not repeat, but received `'+JSON.stringify(y)+"`");if(y.length===0){if(S.optional)continue;throw new TypeError('Expected "'+S.name+'" to not be empty')}for(var b=0;b<y.length;b++){if(x=s(y[b]),!r[m].test(x))throw new TypeError('Expected all "'+S.name+'" to match "'+S.pattern+'", but received `'+JSON.stringify(x)+"`");a+=(b===0?S.prefix:S.delimiter)+x}continue}if(x=S.asterisk?Mg(y):s(y),!r[m].test(x))throw new TypeError('Expected "'+S.name+'" to match "'+S.pattern+'", but received "'+x+'"');a+=S.prefix+x}return a}}function Ca(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Vg(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function Ru(e,t){return e.keys=t,e}function _u(e){return e&&e.sensitive?"":"i"}function Ug(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return Ru(e,t)}function $g(e,t,r){for(var n=[],i=0;i<e.length;i++)n.push(mm(e[i],t,r).source);var o=new RegExp("(?:"+n.join("|")+")",_u(r));return Ru(o,t)}function Bg(e,t,r){return pm(Tu(e,r),t,r)}function pm(e,t,r){Pa(t)||(r=t||r,t=[]),r=r||{};for(var n=r.strict,i=r.end!==!1,o="",a=0;a<e.length;a++){var l=e[a];if(typeof l=="string")o+=Ca(l);else{var u=Ca(l.prefix),s="(?:"+l.pattern+")";t.push(l),l.repeat&&(s+="(?:"+u+s+")*"),l.optional?l.partial?s=u+"("+s+")?":s="(?:"+u+"("+s+"))?":s=u+"("+s+")",o+=s}}var m=Ca(r.delimiter||"/"),S=o.slice(-m.length)===m;return n||(o=(S?o.slice(0,-m.length):o)+"(?:"+m+"(?=$))?"),i?o+="$":o+=n&&S?"":"(?="+m+"|$)",Ru(new RegExp("^"+o,_u(r)),t)}function mm(e,t,r){return Pa(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?Ug(e,t):Pa(e)?$g(e,t,r):Bg(e,t,r)}});var ym=ke(ae=>{"use strict";var _e=typeof Symbol=="function"&&Symbol.for,Lu=_e?Symbol.for("react.element"):60103,Au=_e?Symbol.for("react.portal"):60106,xa=_e?Symbol.for("react.fragment"):60107,ba=_e?Symbol.for("react.strict_mode"):60108,Oa=_e?Symbol.for("react.profiler"):60114,Na=_e?Symbol.for("react.provider"):60109,Ta=_e?Symbol.for("react.context"):60110,ju=_e?Symbol.for("react.async_mode"):60111,Ra=_e?Symbol.for("react.concurrent_mode"):60111,_a=_e?Symbol.for("react.forward_ref"):60112,La=_e?Symbol.for("react.suspense"):60113,Hg=_e?Symbol.for("react.suspense_list"):60120,Aa=_e?Symbol.for("react.memo"):60115,ja=_e?Symbol.for("react.lazy"):60116,Wg=_e?Symbol.for("react.block"):60121,qg=_e?Symbol.for("react.fundamental"):60117,Gg=_e?Symbol.for("react.responder"):60118,Yg=_e?Symbol.for("react.scope"):60119;function rt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Lu:switch(e=e.type,e){case ju:case Ra:case xa:case Oa:case ba:case La:return e;default:switch(e=e&&e.$$typeof,e){case Ta:case _a:case ja:case Aa:case Na:return e;default:return t}}case Au:return t}}}function vm(e){return rt(e)===Ra}ae.AsyncMode=ju;ae.ConcurrentMode=Ra;ae.ContextConsumer=Ta;ae.ContextProvider=Na;ae.Element=Lu;ae.ForwardRef=_a;ae.Fragment=xa;ae.Lazy=ja;ae.Memo=Aa;ae.Portal=Au;ae.Profiler=Oa;ae.StrictMode=ba;ae.Suspense=La;ae.isAsyncMode=function(e){return vm(e)||rt(e)===ju};ae.isConcurrentMode=vm;ae.isContextConsumer=function(e){return rt(e)===Ta};ae.isContextProvider=function(e){return rt(e)===Na};ae.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Lu};ae.isForwardRef=function(e){return rt(e)===_a};ae.isFragment=function(e){return rt(e)===xa};ae.isLazy=function(e){return rt(e)===ja};ae.isMemo=function(e){return rt(e)===Aa};ae.isPortal=function(e){return rt(e)===Au};ae.isProfiler=function(e){return rt(e)===Oa};ae.isStrictMode=function(e){return rt(e)===ba};ae.isSuspense=function(e){return rt(e)===La};ae.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===xa||e===Ra||e===Oa||e===ba||e===La||e===Hg||typeof e=="object"&&e!==null&&(e.$$typeof===ja||e.$$typeof===Aa||e.$$typeof===Na||e.$$typeof===Ta||e.$$typeof===_a||e.$$typeof===qg||e.$$typeof===Gg||e.$$typeof===Yg||e.$$typeof===Wg)};ae.typeOf=rt});var wm=ke((Aw,gm)=>{"use strict";gm.exports=ym()});var Sm=ke(le=>{"use strict";var Le=typeof Symbol=="function"&&Symbol.for,Fu=Le?Symbol.for("react.element"):60103,Du=Le?Symbol.for("react.portal"):60106,Fa=Le?Symbol.for("react.fragment"):60107,Da=Le?Symbol.for("react.strict_mode"):60108,za=Le?Symbol.for("react.profiler"):60114,Ia=Le?Symbol.for("react.provider"):60109,Ma=Le?Symbol.for("react.context"):60110,zu=Le?Symbol.for("react.async_mode"):60111,Va=Le?Symbol.for("react.concurrent_mode"):60111,Ua=Le?Symbol.for("react.forward_ref"):60112,$a=Le?Symbol.for("react.suspense"):60113,Qg=Le?Symbol.for("react.suspense_list"):60120,Ba=Le?Symbol.for("react.memo"):60115,Ha=Le?Symbol.for("react.lazy"):60116,Kg=Le?Symbol.for("react.block"):60121,Xg=Le?Symbol.for("react.fundamental"):60117,Zg=Le?Symbol.for("react.responder"):60118,Jg=Le?Symbol.for("react.scope"):60119;function it(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Fu:switch(e=e.type,e){case zu:case Va:case Fa:case za:case Da:case $a:return e;default:switch(e=e&&e.$$typeof,e){case Ma:case Ua:case Ha:case Ba:case Ia:return e;default:return t}}case Du:return t}}}function Em(e){return it(e)===Va}le.AsyncMode=zu;le.ConcurrentMode=Va;le.ContextConsumer=Ma;le.ContextProvider=Ia;le.Element=Fu;le.ForwardRef=Ua;le.Fragment=Fa;le.Lazy=Ha;le.Memo=Ba;le.Portal=Du;le.Profiler=za;le.StrictMode=Da;le.Suspense=$a;le.isAsyncMode=function(e){return Em(e)||it(e)===zu};le.isConcurrentMode=Em;le.isContextConsumer=function(e){return it(e)===Ma};le.isContextProvider=function(e){return it(e)===Ia};le.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Fu};le.isForwardRef=function(e){return it(e)===Ua};le.isFragment=function(e){return it(e)===Fa};le.isLazy=function(e){return it(e)===Ha};le.isMemo=function(e){return it(e)===Ba};le.isPortal=function(e){return it(e)===Du};le.isProfiler=function(e){return it(e)===za};le.isStrictMode=function(e){return it(e)===Da};le.isSuspense=function(e){return it(e)===$a};le.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Fa||e===Va||e===za||e===Da||e===$a||e===Qg||typeof e=="object"&&e!==null&&(e.$$typeof===Ha||e.$$typeof===Ba||e.$$typeof===Ia||e.$$typeof===Ma||e.$$typeof===Ua||e.$$typeof===Xg||e.$$typeof===Zg||e.$$typeof===Jg||e.$$typeof===Kg)};le.typeOf=it});var Pm=ke((Dw,km)=>{"use strict";km.exports=Sm()});var Vu=ke((zw,Tm)=>{"use strict";var Iu=Pm(),e0={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},t0={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r0={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Cm={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Mu={};Mu[Iu.ForwardRef]=r0;Mu[Iu.Memo]=Cm;function xm(e){return Iu.isMemo(e)?Cm:Mu[e.$$typeof]||e0}var n0=Object.defineProperty,i0=Object.getOwnPropertyNames,bm=Object.getOwnPropertySymbols,o0=Object.getOwnPropertyDescriptor,a0=Object.getPrototypeOf,Om=Object.prototype;function Nm(e,t,r){if(typeof t!="string"){if(Om){var n=a0(t);n&&n!==Om&&Nm(e,n,r)}var i=i0(t);bm&&(i=i.concat(bm(t)));for(var o=xm(e),a=xm(t),l=0;l<i.length;++l){var u=i[l];if(!t0[u]&&!(r&&r[u])&&!(a&&a[u])&&!(o&&o[u])){var s=o0(t,u);try{n0(e,u,s)}catch(m){}}}}return e}Tm.exports=Nm});var Bm=ke(fe=>{"use strict";var Ga=60103,Ya=60106,Hi=60107,Wi=60108,qi=60114,Gi=60109,Yi=60110,Qi=60112,Ki=60113,Wu=60120,Xi=60115,Zi=60116,Im=60121,Mm=60122,Vm=60117,Um=60129,$m=60131;typeof Symbol=="function"&&Symbol.for&&(Ae=Symbol.for,Ga=Ae("react.element"),Ya=Ae("react.portal"),Hi=Ae("react.fragment"),Wi=Ae("react.strict_mode"),qi=Ae("react.profiler"),Gi=Ae("react.provider"),Yi=Ae("react.context"),Qi=Ae("react.forward_ref"),Ki=Ae("react.suspense"),Wu=Ae("react.suspense_list"),Xi=Ae("react.memo"),Zi=Ae("react.lazy"),Im=Ae("react.block"),Mm=Ae("react.server.block"),Vm=Ae("react.fundamental"),Um=Ae("react.debug_trace_mode"),$m=Ae("react.legacy_hidden"));var Ae;function Pt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Ga:switch(e=e.type,e){case Hi:case qi:case Wi:case Ki:case Wu:return e;default:switch(e=e&&e.$$typeof,e){case Yi:case Qi:case Zi:case Xi:case Gi:return e;default:return t}}case Ya:return t}}}var S0=Gi,k0=Ga,P0=Qi,C0=Hi,x0=Zi,b0=Xi,O0=Ya,N0=qi,T0=Wi,R0=Ki;fe.ContextConsumer=Yi;fe.ContextProvider=S0;fe.Element=k0;fe.ForwardRef=P0;fe.Fragment=C0;fe.Lazy=x0;fe.Memo=b0;fe.Portal=O0;fe.Profiler=N0;fe.StrictMode=T0;fe.Suspense=R0;fe.isAsyncMode=function(){return!1};fe.isConcurrentMode=function(){return!1};fe.isContextConsumer=function(e){return Pt(e)===Yi};fe.isContextProvider=function(e){return Pt(e)===Gi};fe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ga};fe.isForwardRef=function(e){return Pt(e)===Qi};fe.isFragment=function(e){return Pt(e)===Hi};fe.isLazy=function(e){return Pt(e)===Zi};fe.isMemo=function(e){return Pt(e)===Xi};fe.isPortal=function(e){return Pt(e)===Ya};fe.isProfiler=function(e){return Pt(e)===qi};fe.isStrictMode=function(e){return Pt(e)===Wi};fe.isSuspense=function(e){return Pt(e)===Ki};fe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===Hi||e===qi||e===Um||e===Wi||e===Ki||e===Wu||e===$m||typeof e=="object"&&e!==null&&(e.$$typeof===Zi||e.$$typeof===Xi||e.$$typeof===Gi||e.$$typeof===Yi||e.$$typeof===Qi||e.$$typeof===Vm||e.$$typeof===Im||e[0]===Mm)};fe.typeOf=Pt});var Wm=ke((wE,Hm)=>{"use strict";Hm.exports=Bm()});var Gm=ke((EE,qm)=>{qm.exports=function(t,r,n,i){var o=n?n.call(i,t,r):void 0;if(o!==void 0)return!!o;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var a=Object.keys(t),l=Object.keys(r);if(a.length!==l.length)return!1;for(var u=Object.prototype.hasOwnProperty.bind(r),s=0;s<a.length;s++){var m=a[s];if(!u(m))return!1;var S=t[m],y=r[m];if(o=n?n.call(i,S,y,m):void 0,o===!1||o===void 0&&S!==y)return!1}return!0}});var Nh=ke((jn,Oh)=>{"use strict";var z1=function(){if(typeof self!="undefined")return self;if(typeof window!="undefined")return window;if(typeof Qt!="undefined")return Qt;throw new Error("unable to locate global object")},Qt=z1();Oh.exports=jn=Qt.fetch;Qt.fetch&&(jn.default=Qt.fetch.bind(Qt));jn.Headers=Qt.Headers;jn.Request=Qt.Request;jn.Response=Qt.Response});var nv=ye(Be()),iv=ye(Mp());var Xt=ye(Be());function Ii(e,t){return Ii=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},Ii(e,t)}function Xe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Ii(e,t)}var Te=ye(Be()),Vw=ye(Sa());function Q(){return Q=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Q.apply(this,arguments)}function ka(e){return e.charAt(0)==="/"}function Pu(e,t){for(var r=t,n=r+1,i=e.length;n<i;r+=1,n+=1)e[r]=e[n];e.pop()}function wg(e,t){t===void 0&&(t="");var r=e&&e.split("/")||[],n=t&&t.split("/")||[],i=e&&ka(e),o=t&&ka(t),a=i||o;if(e&&ka(e)?n=r:r.length&&(n.pop(),n=n.concat(r)),!n.length)return"/";var l;if(n.length){var u=n[n.length-1];l=u==="."||u===".."||u===""}else l=!1;for(var s=0,m=n.length;m>=0;m--){var S=n[m];S==="."?Pu(n,m):S===".."?(Pu(n,m),s++):s&&(Pu(n,m),s--)}if(!a)for(;s--;s)n.unshift("..");a&&n[0]!==""&&(!n[0]||!ka(n[0]))&&n.unshift("");var y=n.join("/");return l&&y.substr(-1)!=="/"&&(y+="/"),y}var Gp=wg;var Eg=!0,Yp="Invariant failed";function Sg(e,t){if(!e)throw Eg?new Error(Yp):new Error(Yp+": "+(t||""))}var jt=Sg;function Mi(e){return e.charAt(0)==="/"?e:"/"+e}function Qp(e){return e.charAt(0)==="/"?e.substr(1):e}function kg(e,t){return e.toLowerCase().indexOf(t.toLowerCase())===0&&"/?#".indexOf(e.charAt(t.length))!==-1}function Kp(e,t){return kg(e,t)?e.substr(t.length):e}function Xp(e){return e.charAt(e.length-1)==="/"?e.slice(0,-1):e}function Pg(e){var t=e||"/",r="",n="",i=t.indexOf("#");i!==-1&&(n=t.substr(i),t=t.substr(0,i));var o=t.indexOf("?");return o!==-1&&(r=t.substr(o),t=t.substr(0,o)),{pathname:t,search:r==="?"?"":r,hash:n==="#"?"":n}}function tt(e){var t=e.pathname,r=e.search,n=e.hash,i=t||"/";return r&&r!=="?"&&(i+=r.charAt(0)==="?"?r:"?"+r),n&&n!=="#"&&(i+=n.charAt(0)==="#"?n:"#"+n),i}function qe(e,t,r,n){var i;typeof e=="string"?(i=Pg(e),i.state=t):(i=Q({},e),i.pathname===void 0&&(i.pathname=""),i.search?i.search.charAt(0)!=="?"&&(i.search="?"+i.search):i.search="",i.hash?i.hash.charAt(0)!=="#"&&(i.hash="#"+i.hash):i.hash="",t!==void 0&&i.state===void 0&&(i.state=t));try{i.pathname=decodeURI(i.pathname)}catch(o){throw o instanceof URIError?new URIError('Pathname "'+i.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):o}return r&&(i.key=r),n?i.pathname?i.pathname.charAt(0)!=="/"&&(i.pathname=Gp(i.pathname,n.pathname)):i.pathname=n.pathname:i.pathname||(i.pathname="/"),i}function Cu(){var e=null;function t(a){return e=a,function(){e===a&&(e=null)}}function r(a,l,u,s){if(e!=null){var m=typeof e=="function"?e(a,l):e;typeof m=="string"?typeof u=="function"?u(m,s):s(!0):s(m!==!1)}else s(!0)}var n=[];function i(a){var l=!0;function u(){l&&a.apply(void 0,arguments)}return n.push(u),function(){l=!1,n=n.filter(function(s){return s!==u})}}function o(){for(var a=arguments.length,l=new Array(a),u=0;u<a;u++)l[u]=arguments[u];n.forEach(function(s){return s.apply(void 0,l)})}return{setPrompt:t,confirmTransitionTo:r,appendListener:i,notifyListeners:o}}var Zp=!!(typeof window!="undefined"&&window.document&&window.document.createElement);function Jp(e,t){t(window.confirm(e))}function Cg(){var e=window.navigator.userAgent;return(e.indexOf("Android 2.")!==-1||e.indexOf("Android 4.0")!==-1)&&e.indexOf("Mobile Safari")!==-1&&e.indexOf("Chrome")===-1&&e.indexOf("Windows Phone")===-1?!1:window.history&&"pushState"in window.history}function xg(){return window.navigator.userAgent.indexOf("Trident")===-1}function bg(){return window.navigator.userAgent.indexOf("Firefox")===-1}function Og(e){return e.state===void 0&&navigator.userAgent.indexOf("CriOS")===-1}var em="popstate",tm="hashchange";function rm(){try{return window.history.state||{}}catch(e){return{}}}function nm(e){e===void 0&&(e={}),Zp||jt(!1);var t=window.history,r=Cg(),n=!xg(),i=e,o=i.forceRefresh,a=o===void 0?!1:o,l=i.getUserConfirmation,u=l===void 0?Jp:l,s=i.keyLength,m=s===void 0?6:s,S=e.basename?Xp(Mi(e.basename)):"";function y(N){var L=N||{},R=L.key,f=L.state,v=window.location,P=v.pathname,T=v.search,w=v.hash,z=P+T+w;return S&&(z=Kp(z,S)),qe(z,f,R)}function x(){return Math.random().toString(36).substr(2,m)}var b=Cu();function _(N){Q(j,N),j.length=t.length,b.notifyListeners(j.location,j.action)}function d(N){Og(N)||g(y(N.state))}function c(){g(y(rm()))}var p=!1;function g(N){if(p)p=!1,_();else{var L="POP";b.confirmTransitionTo(N,L,u,function(R){R?_({action:L,location:N}):h(N)})}}function h(N){var L=j.location,R=O.indexOf(L.key);R===-1&&(R=0);var f=O.indexOf(N.key);f===-1&&(f=0);var v=R-f;v&&(p=!0,B(v))}var k=y(rm()),O=[k.key];function A(N){return S+tt(N)}function C(N,L){var R="PUSH",f=qe(N,L,x(),j.location);b.confirmTransitionTo(f,R,u,function(v){if(!!v){var P=A(f),T=f.key,w=f.state;if(r)if(t.pushState({key:T,state:w},null,P),a)window.location.href=P;else{var z=O.indexOf(j.location.key),F=O.slice(0,z+1);F.push(f.key),O=F,_({action:R,location:f})}else window.location.href=P}})}function D(N,L){var R="REPLACE",f=qe(N,L,x(),j.location);b.confirmTransitionTo(f,R,u,function(v){if(!!v){var P=A(f),T=f.key,w=f.state;if(r)if(t.replaceState({key:T,state:w},null,P),a)window.location.replace(P);else{var z=O.indexOf(j.location.key);z!==-1&&(O[z]=f.key),_({action:R,location:f})}else window.location.replace(P)}})}function B(N){t.go(N)}function ee(){B(-1)}function X(){B(1)}var ue=0;function re(N){ue+=N,ue===1&&N===1?(window.addEventListener(em,d),n&&window.addEventListener(tm,c)):ue===0&&(window.removeEventListener(em,d),n&&window.removeEventListener(tm,c))}var V=!1;function K(N){N===void 0&&(N=!1);var L=b.setPrompt(N);return V||(re(1),V=!0),function(){return V&&(V=!1,re(-1)),L()}}function se(N){var L=b.appendListener(N);return re(1),function(){re(-1),L()}}var j={length:t.length,action:"POP",location:k,createHref:A,push:C,replace:D,go:B,goBack:ee,goForward:X,block:K,listen:se};return j}var im="hashchange",Ng={hashbang:{encodePath:function(t){return t.charAt(0)==="!"?t:"!/"+Qp(t)},decodePath:function(t){return t.charAt(0)==="!"?t.substr(1):t}},noslash:{encodePath:Qp,decodePath:Mi},slash:{encodePath:Mi,decodePath:Mi}};function om(e){var t=e.indexOf("#");return t===-1?e:e.slice(0,t)}function Vi(){var e=window.location.href,t=e.indexOf("#");return t===-1?"":e.substring(t+1)}function Tg(e){window.location.hash=e}function xu(e){window.location.replace(om(window.location.href)+"#"+e)}function am(e){e===void 0&&(e={}),Zp||jt(!1);var t=window.history,r=bg(),n=e,i=n.getUserConfirmation,o=i===void 0?Jp:i,a=n.hashType,l=a===void 0?"slash":a,u=e.basename?Xp(Mi(e.basename)):"",s=Ng[l],m=s.encodePath,S=s.decodePath;function y(){var R=S(Vi());return u&&(R=Kp(R,u)),qe(R)}var x=Cu();function b(R){Q(L,R),L.length=t.length,x.notifyListeners(L.location,L.action)}var _=!1,d=null;function c(R,f){return R.pathname===f.pathname&&R.search===f.search&&R.hash===f.hash}function p(){var R=Vi(),f=m(R);if(R!==f)xu(f);else{var v=y(),P=L.location;if(!_&&c(P,v)||d===tt(v))return;d=null,g(v)}}function g(R){if(_)_=!1,b();else{var f="POP";x.confirmTransitionTo(R,f,o,function(v){v?b({action:f,location:R}):h(R)})}}function h(R){var f=L.location,v=C.lastIndexOf(tt(f));v===-1&&(v=0);var P=C.lastIndexOf(tt(R));P===-1&&(P=0);var T=v-P;T&&(_=!0,X(T))}var k=Vi(),O=m(k);k!==O&&xu(O);var A=y(),C=[tt(A)];function D(R){var f=document.querySelector("base"),v="";return f&&f.getAttribute("href")&&(v=om(window.location.href)),v+"#"+m(u+tt(R))}function B(R,f){var v="PUSH",P=qe(R,void 0,void 0,L.location);x.confirmTransitionTo(P,v,o,function(T){if(!!T){var w=tt(P),z=m(u+w),F=Vi()!==z;if(F){d=w,Tg(z);var $=C.lastIndexOf(tt(L.location)),M=C.slice(0,$+1);M.push(w),C=M,b({action:v,location:P})}else b()}})}function ee(R,f){var v="REPLACE",P=qe(R,void 0,void 0,L.location);x.confirmTransitionTo(P,v,o,function(T){if(!!T){var w=tt(P),z=m(u+w),F=Vi()!==z;F&&(d=w,xu(z));var $=C.indexOf(tt(L.location));$!==-1&&(C[$]=w),b({action:v,location:P})}})}function X(R){t.go(R)}function ue(){X(-1)}function re(){X(1)}var V=0;function K(R){V+=R,V===1&&R===1?window.addEventListener(im,p):V===0&&window.removeEventListener(im,p)}var se=!1;function j(R){R===void 0&&(R=!1);var f=x.setPrompt(R);return se||(K(1),se=!0),function(){return se&&(se=!1,K(-1)),f()}}function N(R){var f=x.appendListener(R);return K(1),function(){K(-1),f()}}var L={length:t.length,action:"POP",location:A,createHref:D,push:B,replace:ee,go:X,goBack:ue,goForward:re,block:j,listen:N};return L}function lm(e,t,r){return Math.min(Math.max(e,t),r)}function sm(e){e===void 0&&(e={});var t=e,r=t.getUserConfirmation,n=t.initialEntries,i=n===void 0?["/"]:n,o=t.initialIndex,a=o===void 0?0:o,l=t.keyLength,u=l===void 0?6:l,s=Cu();function m(C){Q(A,C),A.length=A.entries.length,s.notifyListeners(A.location,A.action)}function S(){return Math.random().toString(36).substr(2,u)}var y=lm(a,0,i.length-1),x=i.map(function(C){return typeof C=="string"?qe(C,void 0,S()):qe(C,void 0,C.key||S())}),b=tt;function _(C,D){var B="PUSH",ee=qe(C,D,S(),A.location);s.confirmTransitionTo(ee,B,r,function(X){if(!!X){var ue=A.index,re=ue+1,V=A.entries.slice(0);V.length>re?V.splice(re,V.length-re,ee):V.push(ee),m({action:B,location:ee,index:re,entries:V})}})}function d(C,D){var B="REPLACE",ee=qe(C,D,S(),A.location);s.confirmTransitionTo(ee,B,r,function(X){!X||(A.entries[A.index]=ee,m({action:B,location:ee}))})}function c(C){var D=lm(A.index+C,0,A.entries.length-1),B="POP",ee=A.entries[D];s.confirmTransitionTo(ee,B,r,function(X){X?m({action:B,location:ee,index:D}):m()})}function p(){c(-1)}function g(){c(1)}function h(C){var D=A.index+C;return D>=0&&D<A.entries.length}function k(C){return C===void 0&&(C=!1),s.setPrompt(C)}function O(C){return s.appendListener(C)}var A={length:x.length,action:"POP",location:x[y],index:y,entries:x,createHref:b,push:_,replace:d,go:c,goBack:p,goForward:g,canGo:h,block:k,listen:O};return A}var Ui=ye(Be());var bu=ye(Sa());var Ou=1073741823,um=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:{};function Rg(){var e="__global_unique_id__";return um[e]=(um[e]||0)+1}function _g(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}function Lg(e){var t=[];return{on:function(n){t.push(n)},off:function(n){t=t.filter(function(i){return i!==n})},get:function(){return e},set:function(n,i){e=n,t.forEach(function(o){return o(e,i)})}}}function Ag(e){return Array.isArray(e)?e[0]:e}function jg(e,t){var r,n,i="__create-react-context-"+Rg()+"__",o=function(l){Xe(u,l);function u(){var m;return m=l.apply(this,arguments)||this,m.emitter=Lg(m.props.value),m}var s=u.prototype;return s.getChildContext=function(){var S;return S={},S[i]=this.emitter,S},s.componentWillReceiveProps=function(S){if(this.props.value!==S.value){var y=this.props.value,x=S.value,b;_g(y,x)?b=0:(b=typeof t=="function"?t(y,x):Ou,b|=0,b!==0&&this.emitter.set(S.value,b))}},s.render=function(){return this.props.children},u}(Ui.Component);o.childContextTypes=(r={},r[i]=bu.default.object.isRequired,r);var a=function(l){Xe(u,l);function u(){var m;return m=l.apply(this,arguments)||this,m.state={value:m.getValue()},m.onUpdate=function(S,y){var x=m.observedBits|0;(x&y)!=0&&m.setState({value:m.getValue()})},m}var s=u.prototype;return s.componentWillReceiveProps=function(S){var y=S.observedBits;this.observedBits=y??Ou},s.componentDidMount=function(){this.context[i]&&this.context[i].on(this.onUpdate);var S=this.props.observedBits;this.observedBits=S??Ou},s.componentWillUnmount=function(){this.context[i]&&this.context[i].off(this.onUpdate)},s.getValue=function(){return this.context[i]?this.context[i].get():e},s.render=function(){return Ag(this.props.children)(this.state.value)},u}(Ui.Component);return a.contextTypes=(n={},n[i]=bu.default.object,n),{Provider:o,Consumer:a}}var Fg=Ui.default.createContext||jg,Nu=Fg;var Rm=ye(hm()),qw=ye(wm());function nt(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}var l0=ye(Vu()),s0=function(t){var r=Nu();return r.displayName=t,r},u0=s0("Router-History"),c0=function(t){var r=Nu();return r.displayName=t,r},$r=c0("Router"),On=function(e){Xe(t,e),t.computeRootMatch=function(i){return{path:"/",url:"/",params:{},isExact:i==="/"}};function t(n){var i;return i=e.call(this,n)||this,i.state={location:n.history.location},i._isMounted=!1,i._pendingLocation=null,n.staticContext||(i.unlisten=n.history.listen(function(o){i._isMounted?i.setState({location:o}):i._pendingLocation=o})),i}var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&this.unlisten()},r.render=function(){return Te.default.createElement($r.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},Te.default.createElement(u0.Provider,{children:this.props.children||null,value:this.props.history}))},t}(Te.default.Component),f0=function(e){Xe(t,e);function t(){for(var n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=e.call.apply(e,[this].concat(o))||this,n.history=sm(n.props),n}var r=t.prototype;return r.render=function(){return Te.default.createElement(On,{history:this.history,children:this.props.children})},t}(Te.default.Component),Qw=function(e){Xe(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.componentDidMount=function(){this.props.onMount&&this.props.onMount.call(this,this)},r.componentDidUpdate=function(i){this.props.onUpdate&&this.props.onUpdate.call(this,this,i)},r.componentWillUnmount=function(){this.props.onUnmount&&this.props.onUnmount.call(this,this)},r.render=function(){return null},t}(Te.default.Component);var _m={},d0=1e4,Lm=0;function p0(e,t){var r=""+t.end+t.strict+t.sensitive,n=_m[r]||(_m[r]={});if(n[e])return n[e];var i=[],o=(0,Rm.default)(e,i,t),a={regexp:o,keys:i};return Lm<d0&&(n[e]=a,Lm++),a}function $i(e,t){t===void 0&&(t={}),(typeof t=="string"||Array.isArray(t))&&(t={path:t});var r=t,n=r.path,i=r.exact,o=i===void 0?!1:i,a=r.strict,l=a===void 0?!1:a,u=r.sensitive,s=u===void 0?!1:u,m=[].concat(n);return m.reduce(function(S,y){if(!y&&y!=="")return null;if(S)return S;var x=p0(y,{end:o,strict:l,sensitive:s}),b=x.regexp,_=x.keys,d=b.exec(e);if(!d)return null;var c=d[0],p=d.slice(1),g=e===c;return o&&!g?null:{path:y,url:y==="/"&&c===""?"/":c,isExact:g,params:_.reduce(function(h,k,O){return h[k.name]=p[O],h},{})}},null)}var Bi=function(e){Xe(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.render=function(){var i=this;return Te.default.createElement($r.Consumer,null,function(o){o||jt(!1);var a=i.props.location||o.location,l=i.props.computedMatch?i.props.computedMatch:i.props.path?$i(a.pathname,i.props):o.match,u=Q({},o,{location:a,match:l}),s=i.props,m=s.children,S=s.component,y=s.render;return Array.isArray(m)&&m.length===0&&(m=null),Te.default.createElement($r.Provider,{value:u},u.match?m?typeof m=="function"?m(u):m:S?Te.default.createElement(S,u):y?y(u):null:typeof m=="function"?m(u):null)})},t}(Te.default.Component);function Uu(e){return e.charAt(0)==="/"?e:"/"+e}function m0(e,t){return e?Q({},t,{pathname:Uu(e)+t.pathname}):t}function h0(e,t){if(!e)return t;var r=Uu(e);return t.pathname.indexOf(r)!==0?t:Q({},t,{pathname:t.pathname.substr(r.length)})}function Am(e){return typeof e=="string"?e:tt(e)}function $u(e){return function(){jt(!1)}}function jm(){}var v0=function(e){Xe(t,e);function t(){for(var n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=e.call.apply(e,[this].concat(o))||this,n.handlePush=function(l){return n.navigateTo(l,"PUSH")},n.handleReplace=function(l){return n.navigateTo(l,"REPLACE")},n.handleListen=function(){return jm},n.handleBlock=function(){return jm},n}var r=t.prototype;return r.navigateTo=function(i,o){var a=this.props,l=a.basename,u=l===void 0?"":l,s=a.context,m=s===void 0?{}:s;m.action=o,m.location=m0(u,qe(i)),m.url=Am(m.location)},r.render=function(){var i=this.props,o=i.basename,a=o===void 0?"":o,l=i.context,u=l===void 0?{}:l,s=i.location,m=s===void 0?"/":s,S=nt(i,["basename","context","location"]),y={createHref:function(b){return Uu(a+Am(b))},action:"POP",location:h0(a,qe(m)),push:this.handlePush,replace:this.handleReplace,go:$u("go"),goBack:$u("goBack"),goForward:$u("goForward"),listen:this.handleListen,block:this.handleBlock};return Te.default.createElement(On,Q({},S,{history:y,staticContext:u}))},t}(Te.default.Component),Wa=function(e){Xe(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.render=function(){var i=this;return Te.default.createElement($r.Consumer,null,function(o){o||jt(!1);var a=i.props.location||o.location,l,u;return Te.default.Children.forEach(i.props.children,function(s){if(u==null&&Te.default.isValidElement(s)){l=s;var m=s.props.path||s.props.from;u=m?$i(a.pathname,Q({},s.props,{path:m})):o.match}}),u?Te.default.cloneElement(l,{location:a,computedMatch:u}):null})},t}(Te.default.Component);var Kw=Te.default.useContext;var ht=ye(Be());var uE=ye(Sa());var Fm=function(e){Xe(t,e);function t(){for(var n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=e.call.apply(e,[this].concat(o))||this,n.history=nm(n.props),n}var r=t.prototype;return r.render=function(){return ht.default.createElement(On,{history:this.history,children:this.props.children})},t}(ht.default.Component),mE=function(e){Xe(t,e);function t(){for(var n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return n=e.call.apply(e,[this].concat(o))||this,n.history=am(n.props),n}var r=t.prototype;return r.render=function(){return ht.default.createElement(On,{history:this.history,children:this.props.children})},t}(ht.default.Component),Bu=function(t,r){return typeof t=="function"?t(r):t},Dm=function(t,r){return typeof t=="string"?qe(t,null,null,r):t},Hu=function(t){return t},Nn=ht.default.forwardRef;typeof Nn=="undefined"&&(Nn=Hu);function y0(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}var g0=Nn(function(e,t){var r=e.innerRef,n=e.navigate,i=e.onClick,o=nt(e,["innerRef","navigate","onClick"]),a=o.target,l=Q({},o,{onClick:function(s){try{i&&i(s)}catch(m){throw s.preventDefault(),m}!s.defaultPrevented&&s.button===0&&(!a||a==="_self")&&!y0(s)&&(s.preventDefault(),n())}});return Hu!==Nn?l.ref=t||r:l.ref=r,ht.default.createElement("a",l)}),w0=Nn(function(e,t){var r=e.component,n=r===void 0?g0:r,i=e.replace,o=e.to,a=e.innerRef,l=nt(e,["component","replace","to","innerRef"]);return ht.default.createElement($r.Consumer,null,function(u){u||jt(!1);var s=u.history,m=Dm(Bu(o,u.location),u.location),S=m?s.createHref(m):"",y=Q({},l,{href:S,navigate:function(){var b=Bu(o,u.location),_=i?s.replace:s.push;_(b)}});return Hu!==Nn?y.ref=t||a:y.innerRef=a,ht.default.createElement(n,y)})});var zm=function(t){return t},qa=ht.default.forwardRef;typeof qa=="undefined"&&(qa=zm);function E0(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(function(n){return n}).join(" ")}var hE=qa(function(e,t){var r=e["aria-current"],n=r===void 0?"page":r,i=e.activeClassName,o=i===void 0?"active":i,a=e.activeStyle,l=e.className,u=e.exact,s=e.isActive,m=e.location,S=e.sensitive,y=e.strict,x=e.style,b=e.to,_=e.innerRef,d=nt(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return ht.default.createElement($r.Consumer,null,function(c){c||jt(!1);var p=m||c.location,g=Dm(Bu(b,p),p),h=g.pathname,k=h&&h.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),O=k?$i(p.pathname,{path:k,exact:u,sensitive:S,strict:y}):null,A=!!(s?s(O,p):O),C=A?E0(l,o):l,D=A?Q({},x,{},a):x,B=Q({"aria-current":A&&n||null,className:C,style:D,to:g},d);return zm!==qa?B.ref=t||_:B.innerRef=_,ht.default.createElement(w0,B)})});var E=ye(Be());var Qa=ye(Wm()),de=ye(Be()),Xm=ye(Gm());function _0(e){function t(f,v,P,T,w){for(var z=0,F=0,$=0,M=0,W,H,ie=0,Ce=0,G,J=G=W=0,Z=0,xe=0,Ze=0,oe=0,Vt=P.length,wt=Vt-1,be,q="",ce="",zn="",In="",bt;Z<Vt;){if(H=P.charCodeAt(Z),Z===wt&&F+M+$+z!==0&&(F!==0&&(H=F===47?10:47),M=$=z=0,Vt++,wt++),F+M+$+z===0){if(Z===wt&&(0<xe&&(q=q.replace(y,"")),0<q.trim().length)){switch(H){case 32:case 9:case 59:case 13:case 10:break;default:q+=P.charAt(Z)}H=59}switch(H){case 123:for(q=q.trim(),W=q.charCodeAt(0),G=1,oe=++Z;Z<Vt;){switch(H=P.charCodeAt(Z)){case 123:G++;break;case 125:G--;break;case 47:switch(H=P.charCodeAt(Z+1)){case 42:case 47:e:{for(J=Z+1;J<wt;++J)switch(P.charCodeAt(J)){case 47:if(H===42&&P.charCodeAt(J-1)===42&&Z+2!==J){Z=J+1;break e}break;case 10:if(H===47){Z=J+1;break e}}Z=J}}break;case 91:H++;case 40:H++;case 34:case 39:for(;Z++<wt&&P.charCodeAt(Z)!==H;);}if(G===0)break;Z++}switch(G=P.substring(oe,Z),W===0&&(W=(q=q.replace(S,"").trim()).charCodeAt(0)),W){case 64:switch(0<xe&&(q=q.replace(y,"")),H=q.charCodeAt(1),H){case 100:case 109:case 115:case 45:xe=v;break;default:xe=K}if(G=t(v,xe,G,H,w+1),oe=G.length,0<j&&(xe=r(K,q,Ze),bt=l(3,G,xe,v,ue,X,oe,H,w,T),q=xe.join(""),bt!==void 0&&(oe=(G=bt.trim()).length)===0&&(H=0,G="")),0<oe)switch(H){case 115:q=q.replace(O,a);case 100:case 109:case 45:G=q+"{"+G+"}";break;case 107:q=q.replace(p,"$1 $2"),G=q+"{"+G+"}",G=V===1||V===2&&o("@"+G,3)?"@-webkit-"+G+"@"+G:"@"+G;break;default:G=q+G,T===112&&(G=(ce+=G,""))}else G="";break;default:G=t(v,r(v,q,Ze),G,T,w+1)}zn+=G,G=Ze=xe=J=W=0,q="",H=P.charCodeAt(++Z);break;case 125:case 59:if(q=(0<xe?q.replace(y,""):q).trim(),1<(oe=q.length))switch(J===0&&(W=q.charCodeAt(0),W===45||96<W&&123>W)&&(oe=(q=q.replace(" ",":")).length),0<j&&(bt=l(1,q,v,f,ue,X,ce.length,T,w,T))!==void 0&&(oe=(q=bt.trim()).length)===0&&(q="\0\0"),W=q.charCodeAt(0),H=q.charCodeAt(1),W){case 0:break;case 64:if(H===105||H===99){In+=q+P.charAt(Z);break}default:q.charCodeAt(oe-1)!==58&&(ce+=i(q,W,H,q.charCodeAt(2)))}Ze=xe=J=W=0,q="",H=P.charCodeAt(++Z)}}switch(H){case 13:case 10:F===47?F=0:1+W===0&&T!==107&&0<q.length&&(xe=1,q+="\0"),0<j*L&&l(0,q,v,f,ue,X,ce.length,T,w,T),X=1,ue++;break;case 59:case 125:if(F+M+$+z===0){X++;break}default:switch(X++,be=P.charAt(Z),H){case 9:case 32:if(M+z+F===0)switch(ie){case 44:case 58:case 9:case 32:be="";break;default:H!==32&&(be=" ")}break;case 0:be="\\0";break;case 12:be="\\f";break;case 11:be="\\v";break;case 38:M+F+z===0&&(xe=Ze=1,be="\f"+be);break;case 108:if(M+F+z+re===0&&0<J)switch(Z-J){case 2:ie===112&&P.charCodeAt(Z-3)===58&&(re=ie);case 8:Ce===111&&(re=Ce)}break;case 58:M+F+z===0&&(J=Z);break;case 44:F+$+M+z===0&&(xe=1,be+="\r");break;case 34:case 39:F===0&&(M=M===H?0:M===0?H:M);break;case 91:M+F+$===0&&z++;break;case 93:M+F+$===0&&z--;break;case 41:M+F+z===0&&$--;break;case 40:if(M+F+z===0){if(W===0)switch(2*ie+3*Ce){case 533:break;default:W=1}$++}break;case 64:F+$+M+z+J+G===0&&(G=1);break;case 42:case 47:if(!(0<M+z+$))switch(F){case 0:switch(2*H+3*P.charCodeAt(Z+1)){case 235:F=47;break;case 220:oe=Z,F=42}break;case 42:H===47&&ie===42&&oe+2!==Z&&(P.charCodeAt(oe+2)===33&&(ce+=P.substring(oe,Z+1)),be="",F=0)}}F===0&&(q+=be)}Ce=ie,ie=H,Z++}if(oe=ce.length,0<oe){if(xe=v,0<j&&(bt=l(2,ce,xe,f,ue,X,oe,T,w,T),bt!==void 0&&(ce=bt).length===0))return In+ce+zn;if(ce=xe.join(",")+"{"+ce+"}",V*re!=0){switch(V!==2||o(ce,2)||(re=0),re){case 111:ce=ce.replace(h,":-moz-$1")+ce;break;case 112:ce=ce.replace(g,"::-webkit-input-$1")+ce.replace(g,"::-moz-$1")+ce.replace(g,":-ms-input-$1")+ce}re=0}}return In+ce+zn}function r(f,v,P){var T=v.trim().split(d);v=T;var w=T.length,z=f.length;switch(z){case 0:case 1:var F=0;for(f=z===0?"":f[0]+" ";F<w;++F)v[F]=n(f,v[F],P).trim();break;default:var $=F=0;for(v=[];F<w;++F)for(var M=0;M<z;++M)v[$++]=n(f[M]+" ",T[F],P).trim()}return v}function n(f,v,P){var T=v.charCodeAt(0);switch(33>T&&(T=(v=v.trim()).charCodeAt(0)),T){case 38:return v.replace(c,"$1"+f.trim());case 58:return f.trim()+v.replace(c,"$1"+f.trim());default:if(0<1*P&&0<v.indexOf("\f"))return v.replace(c,(f.charCodeAt(0)===58?"":"$1")+f.trim())}return f+v}function i(f,v,P,T){var w=f+";",z=2*v+3*P+4*T;if(z===944){f=w.indexOf(":",9)+1;var F=w.substring(f,w.length-1).trim();return F=w.substring(0,f).trim()+F+";",V===1||V===2&&o(F,1)?"-webkit-"+F+F:F}if(V===0||V===2&&!o(w,1))return w;switch(z){case 1015:return w.charCodeAt(10)===97?"-webkit-"+w+w:w;case 951:return w.charCodeAt(3)===116?"-webkit-"+w+w:w;case 963:return w.charCodeAt(5)===110?"-webkit-"+w+w:w;case 1009:if(w.charCodeAt(4)!==100)break;case 969:case 942:return"-webkit-"+w+w;case 978:return"-webkit-"+w+"-moz-"+w+w;case 1019:case 983:return"-webkit-"+w+"-moz-"+w+"-ms-"+w+w;case 883:if(w.charCodeAt(8)===45)return"-webkit-"+w+w;if(0<w.indexOf("image-set(",11))return w.replace(ee,"$1-webkit-$2")+w;break;case 932:if(w.charCodeAt(4)===45)switch(w.charCodeAt(5)){case 103:return"-webkit-box-"+w.replace("-grow","")+"-webkit-"+w+"-ms-"+w.replace("grow","positive")+w;case 115:return"-webkit-"+w+"-ms-"+w.replace("shrink","negative")+w;case 98:return"-webkit-"+w+"-ms-"+w.replace("basis","preferred-size")+w}return"-webkit-"+w+"-ms-"+w+w;case 964:return"-webkit-"+w+"-ms-flex-"+w+w;case 1023:if(w.charCodeAt(8)!==99)break;return F=w.substring(w.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),"-webkit-box-pack"+F+"-webkit-"+w+"-ms-flex-pack"+F+w;case 1005:return b.test(w)?w.replace(x,":-webkit-")+w.replace(x,":-moz-")+w:w;case 1e3:switch(F=w.substring(13).trim(),v=F.indexOf("-")+1,F.charCodeAt(0)+F.charCodeAt(v)){case 226:F=w.replace(k,"tb");break;case 232:F=w.replace(k,"tb-rl");break;case 220:F=w.replace(k,"lr");break;default:return w}return"-webkit-"+w+"-ms-"+F+w;case 1017:if(w.indexOf("sticky",9)===-1)break;case 975:switch(v=(w=f).length-10,F=(w.charCodeAt(v)===33?w.substring(0,v):w).substring(f.indexOf(":",7)+1).trim(),z=F.charCodeAt(0)+(F.charCodeAt(7)|0)){case 203:if(111>F.charCodeAt(8))break;case 115:w=w.replace(F,"-webkit-"+F)+";"+w;break;case 207:case 102:w=w.replace(F,"-webkit-"+(102<z?"inline-":"")+"box")+";"+w.replace(F,"-webkit-"+F)+";"+w.replace(F,"-ms-"+F+"box")+";"+w}return w+";";case 938:if(w.charCodeAt(5)===45)switch(w.charCodeAt(6)){case 105:return F=w.replace("-items",""),"-webkit-"+w+"-webkit-box-"+F+"-ms-flex-"+F+w;case 115:return"-webkit-"+w+"-ms-flex-item-"+w.replace(C,"")+w;default:return"-webkit-"+w+"-ms-flex-line-pack"+w.replace("align-content","").replace(C,"")+w}break;case 973:case 989:if(w.charCodeAt(3)!==45||w.charCodeAt(4)===122)break;case 931:case 953:if(B.test(f)===!0)return(F=f.substring(f.indexOf(":")+1)).charCodeAt(0)===115?i(f.replace("stretch","fill-available"),v,P,T).replace(":fill-available",":stretch"):w.replace(F,"-webkit-"+F)+w.replace(F,"-moz-"+F.replace("fill-",""))+w;break;case 962:if(w="-webkit-"+w+(w.charCodeAt(5)===102?"-ms-"+w:"")+w,P+T===211&&w.charCodeAt(13)===105&&0<w.indexOf("transform",10))return w.substring(0,w.indexOf(";",27)+1).replace(_,"$1-webkit-$2")+w}return w}function o(f,v){var P=f.indexOf(v===1?":":"{"),T=f.substring(0,v!==3?P:10);return P=f.substring(P+1,f.length-1),N(v!==2?T:T.replace(D,"$1"),P,v)}function a(f,v){var P=i(v,v.charCodeAt(0),v.charCodeAt(1),v.charCodeAt(2));return P!==v+";"?P.replace(A," or ($1)").substring(4):"("+v+")"}function l(f,v,P,T,w,z,F,$,M,W){for(var H=0,ie=v,Ce;H<j;++H)switch(Ce=se[H].call(m,f,ie,P,T,w,z,F,$,M,W)){case void 0:case!1:case!0:case null:break;default:ie=Ce}if(ie!==v)return ie}function u(f){switch(f){case void 0:case null:j=se.length=0;break;default:if(typeof f=="function")se[j++]=f;else if(typeof f=="object")for(var v=0,P=f.length;v<P;++v)u(f[v]);else L=!!f|0}return u}function s(f){return f=f.prefix,f!==void 0&&(N=null,f?typeof f!="function"?V=1:(V=2,N=f):V=0),s}function m(f,v){var P=f;if(33>P.charCodeAt(0)&&(P=P.trim()),R=P,P=[R],0<j){var T=l(-1,v,P,P,ue,X,0,0,0,0);T!==void 0&&typeof T=="string"&&(v=T)}var w=t(K,P,v,0,0);return 0<j&&(T=l(-2,w,P,P,ue,X,w.length,0,0,0),T!==void 0&&(w=T)),R="",re=0,X=ue=1,w}var S=/^\0+/g,y=/[\0\r\f]/g,x=/: */g,b=/zoo|gra/,_=/([,: ])(transform)/g,d=/,\r+?/g,c=/([\t\r\n ])*\f?&/g,p=/@(k\w+)\s*(\S*)\s*/,g=/::(place)/g,h=/:(read-only)/g,k=/[svh]\w+-[tblr]{2}/,O=/\(\s*(.*)\s*\)/g,A=/([\s\S]*?);/g,C=/-self|flex-/g,D=/[^]*?(:[rp][el]a[\w-]+)[^]*/,B=/stretch|:\s*\w+\-(?:conte|avail)/,ee=/([^-])(image-set\()/,X=1,ue=1,re=0,V=1,K=[],se=[],j=0,N=null,L=0,R="";return m.use=u,m.set=s,e!==void 0&&s(e),m}var Ym=_0;var L0={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Qm=L0;function A0(e){var t={};return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Km=A0;var j0=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,F0=Km(function(e){return j0.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),qu=F0;var Zm=ye(Vu());function Ct(){return(Ct=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}var Jm=function(e,t){for(var r=[e[0]],n=0,i=t.length;n<i;n+=1)r.push(t[n],e[n+1]);return r},Gu=function(e){return e!==null&&typeof e=="object"&&(e.toString?e.toString():Object.prototype.toString.call(e))==="[object Object]"&&!(0,Qa.typeOf)(e)},Ka=Object.freeze([]),wr=Object.freeze({});function Tn(e){return typeof e=="function"}function eh(e){return e.displayName||e.name||"Component"}function Yu(e){return e&&typeof e.styledComponentId=="string"}var Er=typeof process!="undefined"&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled";var Qu=typeof window!="undefined"&&"HTMLElement"in window,D0=Boolean(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process!="undefined"&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process!="undefined"&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""?process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY:!1);function xt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(r.length>0?" Args: "+r.join(", "):""))}var z0=function(){function e(r){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=r}var t=e.prototype;return t.indexOfGroup=function(r){for(var n=0,i=0;i<r;i++)n+=this.groupSizes[i];return n},t.insertRules=function(r,n){if(r>=this.groupSizes.length){for(var i=this.groupSizes,o=i.length,a=o;r>=a;)(a<<=1)<0&&xt(16,""+r);this.groupSizes=new Uint32Array(a),this.groupSizes.set(i),this.length=a;for(var l=o;l<a;l++)this.groupSizes[l]=0}for(var u=this.indexOfGroup(r+1),s=0,m=n.length;s<m;s++)this.tag.insertRule(u,n[s])&&(this.groupSizes[r]++,u++)},t.clearGroup=function(r){if(r<this.length){var n=this.groupSizes[r],i=this.indexOfGroup(r),o=i+n;this.groupSizes[r]=0;for(var a=i;a<o;a++)this.tag.deleteRule(i)}},t.getGroup=function(r){var n="";if(r>=this.length||this.groupSizes[r]===0)return n;for(var i=this.groupSizes[r],o=this.indexOfGroup(r),a=o+i,l=o;l<a;l++)n+=this.tag.getRule(l)+`/*!sc*/
|
|
`;return n},e}(),Xa=new Map,Za=new Map,Ku=1,Ja=function(e){if(Xa.has(e))return Xa.get(e);for(;Za.has(Ku);)Ku++;var t=Ku++;return Xa.set(e,t),Za.set(t,e),t},I0=function(e){return Za.get(e)},M0=function(e,t){Xa.set(e,t),Za.set(t,e)},V0="style["+Er+'][data-styled-version="5.3.0"]',U0=new RegExp("^"+Er+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),$0=function(e,t,r){for(var n,i=r.split(","),o=0,a=i.length;o<a;o++)(n=i[o])&&e.registerName(t,n)},B0=function(e,t){for(var r=t.innerHTML.split(`/*!sc*/
|
|
`),n=[],i=0,o=r.length;i<o;i++){var a=r[i].trim();if(a){var l=a.match(U0);if(l){var u=0|parseInt(l[1],10),s=l[2];u!==0&&(M0(s,u),$0(e,s,l[3]),e.getTag().insertRules(u,n)),n.length=0}else n.push(a)}}},Xu=function(){return typeof window!="undefined"&&window.__webpack_nonce__!==void 0?window.__webpack_nonce__:null},th=function(e){var t=document.head,r=e||t,n=document.createElement("style"),i=function(l){for(var u=l.childNodes,s=u.length;s>=0;s--){var m=u[s];if(m&&m.nodeType===1&&m.hasAttribute(Er))return m}}(r),o=i!==void 0?i.nextSibling:null;n.setAttribute(Er,"active"),n.setAttribute("data-styled-version","5.3.0");var a=Xu();return a&&n.setAttribute("nonce",a),r.insertBefore(n,o),n},H0=function(){function e(r){var n=this.element=th(r);n.appendChild(document.createTextNode("")),this.sheet=function(i){if(i.sheet)return i.sheet;for(var o=document.styleSheets,a=0,l=o.length;a<l;a++){var u=o[a];if(u.ownerNode===i)return u}xt(17)}(n),this.length=0}var t=e.prototype;return t.insertRule=function(r,n){try{return this.sheet.insertRule(n,r),this.length++,!0}catch(i){return!1}},t.deleteRule=function(r){this.sheet.deleteRule(r),this.length--},t.getRule=function(r){var n=this.sheet.cssRules[r];return n!==void 0&&typeof n.cssText=="string"?n.cssText:""},e}(),W0=function(){function e(r){var n=this.element=th(r);this.nodes=n.childNodes,this.length=0}var t=e.prototype;return t.insertRule=function(r,n){if(r<=this.length&&r>=0){var i=document.createTextNode(n),o=this.nodes[r];return this.element.insertBefore(i,o||null),this.length++,!0}return!1},t.deleteRule=function(r){this.element.removeChild(this.nodes[r]),this.length--},t.getRule=function(r){return r<this.length?this.nodes[r].textContent:""},e}(),q0=function(){function e(r){this.rules=[],this.length=0}var t=e.prototype;return t.insertRule=function(r,n){return r<=this.length&&(this.rules.splice(r,0,n),this.length++,!0)},t.deleteRule=function(r){this.rules.splice(r,1),this.length--},t.getRule=function(r){return r<this.length?this.rules[r]:""},e}(),rh=Qu,G0={isServer:!Qu,useCSSOMInjection:!D0},Ji=function(){function e(r,n,i){r===void 0&&(r=wr),n===void 0&&(n={}),this.options=Ct({},G0,{},r),this.gs=n,this.names=new Map(i),!this.options.isServer&&Qu&&rh&&(rh=!1,function(o){for(var a=document.querySelectorAll(V0),l=0,u=a.length;l<u;l++){var s=a[l];s&&s.getAttribute(Er)!=="active"&&(B0(o,s),s.parentNode&&s.parentNode.removeChild(s))}}(this))}e.registerId=function(r){return Ja(r)};var t=e.prototype;return t.reconstructWithOptions=function(r,n){return n===void 0&&(n=!0),new e(Ct({},this.options,{},r),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(r){return this.gs[r]=(this.gs[r]||0)+1},t.getTag=function(){return this.tag||(this.tag=(i=(n=this.options).isServer,o=n.useCSSOMInjection,a=n.target,r=i?new q0(a):o?new H0(a):new W0(a),new z0(r)));var r,n,i,o,a},t.hasNameForId=function(r,n){return this.names.has(r)&&this.names.get(r).has(n)},t.registerName=function(r,n){if(Ja(r),this.names.has(r))this.names.get(r).add(n);else{var i=new Set;i.add(n),this.names.set(r,i)}},t.insertRules=function(r,n,i){this.registerName(r,n),this.getTag().insertRules(Ja(r),i)},t.clearNames=function(r){this.names.has(r)&&this.names.get(r).clear()},t.clearRules=function(r){this.getTag().clearGroup(Ja(r)),this.clearNames(r)},t.clearTag=function(){this.tag=void 0},t.toString=function(){return function(r){for(var n=r.getTag(),i=n.length,o="",a=0;a<i;a++){var l=I0(a);if(l!==void 0){var u=r.names.get(l),s=n.getGroup(a);if(u!==void 0&&s.length!==0){var m=Er+".g"+a+'[id="'+l+'"]',S="";u!==void 0&&u.forEach(function(y){y.length>0&&(S+=y+",")}),o+=""+s+m+'{content:"'+S+`"}/*!sc*/
|
|
`}}}return o}(this)},e}(),Y0=/(a)(d)/gi,nh=function(e){return String.fromCharCode(e+(e>25?39:97))};function Zu(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=nh(t%52)+r;return(nh(t%52)+r).replace(Y0,"$1-$2")}var Rn=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},ih=function(e){return Rn(5381,e)};function oh(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Tn(r)&&!Yu(r))return!1}return!0}var Q0=ih("5.3.0"),K0=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=(n===void 0||n.isStatic)&&oh(t),this.componentId=r,this.baseHash=Rn(Q0,r),this.baseStyle=n,Ji.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var i=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(t,r,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(i,this.staticRulesId))o.push(this.staticRulesId);else{var a=Br(this.rules,t,r,n).join(""),l=Zu(Rn(this.baseHash,a.length)>>>0);if(!r.hasNameForId(i,l)){var u=n(a,"."+l,void 0,i);r.insertRules(i,l,u)}o.push(l),this.staticRulesId=l}else{for(var s=this.rules.length,m=Rn(this.baseHash,n.hash),S="",y=0;y<s;y++){var x=this.rules[y];if(typeof x=="string")S+=x;else if(x){var b=Br(x,t,r,n),_=Array.isArray(b)?b.join(""):b;m=Rn(m,_+y),S+=_}}if(S){var d=Zu(m>>>0);if(!r.hasNameForId(i,d)){var c=n(S,"."+d,void 0,i);r.insertRules(i,d,c)}o.push(d)}}return o.join(" ")},e}(),X0=/^\s*\/\/.*$/gm,Z0=[":","[",".","#"];function ah(e){var t,r,n,i,o=e===void 0?wr:e,a=o.options,l=a===void 0?wr:a,u=o.plugins,s=u===void 0?Ka:u,m=new Ym(l),S=[],y=function(_){function d(c){if(c)try{_(c+"}")}catch(p){}}return function(c,p,g,h,k,O,A,C,D,B){switch(c){case 1:if(D===0&&p.charCodeAt(0)===64)return _(p+";"),"";break;case 2:if(C===0)return p+"/*|*/";break;case 3:switch(C){case 102:case 112:return _(g[0]+p),"";default:return p+(B===0?"/*|*/":"")}case-2:p.split("/*|*/}").forEach(d)}}}(function(_){S.push(_)}),x=function(_,d,c){return d===0&&Z0.indexOf(c[r.length])!==-1||c.match(i)?_:"."+t};function b(_,d,c,p){p===void 0&&(p="&");var g=_.replace(X0,""),h=d&&c?c+" "+d+" { "+g+" }":g;return t=p,r=d,n=new RegExp("\\"+r+"\\b","g"),i=new RegExp("(\\"+r+"\\b){2,}"),m(c||!d?"":d,h)}return m.use([].concat(s,[function(_,d,c){_===2&&c.length&&c[0].lastIndexOf(r)>0&&(c[0]=c[0].replace(n,x))},y,function(_){if(_===-2){var d=S;return S=[],d}}])),b.hash=s.length?s.reduce(function(_,d){return d.name||xt(15),Rn(_,d.name)},5381).toString():"",b}var Ju=de.default.createContext(),_E=Ju.Consumer,ec=de.default.createContext(),J0=(ec.Consumer,new Ji),tc=ah();function lh(){return(0,de.useContext)(Ju)||J0}function e1(){return(0,de.useContext)(ec)||tc}function t1(e){var t=(0,de.useState)(e.stylisPlugins),r=t[0],n=t[1],i=lh(),o=(0,de.useMemo)(function(){var l=i;return e.sheet?l=e.sheet:e.target&&(l=l.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(l=l.reconstructWithOptions({useCSSOMInjection:!1})),l},[e.disableCSSOMInjection,e.sheet,e.target]),a=(0,de.useMemo)(function(){return ah({options:{prefix:!e.disableVendorPrefixes},plugins:r})},[e.disableVendorPrefixes,r]);return(0,de.useEffect)(function(){(0,Xm.default)(r,e.stylisPlugins)||n(e.stylisPlugins)},[e.stylisPlugins]),de.default.createElement(Ju.Provider,{value:o},de.default.createElement(ec.Provider,{value:a},e.children))}var r1=function(){function e(t,r){var n=this;this.inject=function(i,o){o===void 0&&(o=tc);var a=n.name+o.hash;i.hasNameForId(n.id,a)||i.insertRules(n.id,a,o(n.rules,a,"@keyframes"))},this.toString=function(){return xt(12,String(n.name))},this.name=t,this.id="sc-keyframes-"+t,this.rules=r}return e.prototype.getName=function(t){return t===void 0&&(t=tc),this.name+t.hash},e}(),n1=/([A-Z])/,i1=/([A-Z])/g,o1=/^ms-/,a1=function(e){return"-"+e.toLowerCase()};function sh(e){return n1.test(e)?e.replace(i1,a1).replace(o1,"-ms-"):e}var uh=function(e){return e==null||e===!1||e===""};function Br(e,t,r,n){if(Array.isArray(e)){for(var i,o=[],a=0,l=e.length;a<l;a+=1)(i=Br(e[a],t,r,n))!==""&&(Array.isArray(i)?o.push.apply(o,i):o.push(i));return o}if(uh(e))return"";if(Yu(e))return"."+e.styledComponentId;if(Tn(e)){if(typeof(s=e)!="function"||s.prototype&&s.prototype.isReactComponent||!t)return e;var u=e(t);return Br(u,t,r,n)}var s;return e instanceof r1?r?(e.inject(r,n),e.getName(n)):e:Gu(e)?function m(S,y){var x,b,_=[];for(var d in S)S.hasOwnProperty(d)&&!uh(S[d])&&(Gu(S[d])?_.push.apply(_,m(S[d],d)):Tn(S[d])?_.push(sh(d)+":",S[d],";"):_.push(sh(d)+": "+(x=d,(b=S[d])==null||typeof b=="boolean"||b===""?"":typeof b!="number"||b===0||x in Qm?String(b).trim():b+"px")+";"));return y?[y+" {"].concat(_,["}"]):_}(e):e.toString()}function _n(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return Tn(e)||Gu(e)?Br(Jm(Ka,[e].concat(r))):r.length===0&&e.length===1&&typeof e[0]=="string"?e:Br(Jm(e,r))}var LE=new Set;var l1=function(e,t,r){return r===void 0&&(r=wr),e.theme!==r.theme&&e.theme||t||r.theme},s1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,u1=/(^-|-$)/g;function rc(e){return e.replace(s1,"-").replace(u1,"")}var c1=function(e){return Zu(ih(e)>>>0)};function el(e){return typeof e=="string"&&!0}var nc=function(e){return typeof e=="function"||typeof e=="object"&&e!==null&&!Array.isArray(e)},f1=function(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"};function d1(e,t,r){var n=e[r];nc(t)&&nc(n)?ch(n,t):e[r]=t}function ch(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];for(var i=0,o=r;i<o.length;i++){var a=o[i];if(nc(a))for(var l in a)f1(l)&&d1(e,a[l],l)}return e}var tl=de.default.createContext(),AE=tl.Consumer;function ic(e){var t=(0,de.useContext)(tl),r=(0,de.useMemo)(function(){return function(n,i){if(!n)return xt(14);if(Tn(n)){var o=n(i);return o}return Array.isArray(n)||typeof n!="object"?xt(8):i?Ct({},i,{},n):n}(e.theme,t)},[e.theme,t]);return e.children?de.default.createElement(tl.Provider,{value:r},e.children):null}var oc={};function fh(e,t,r){var n=Yu(e),i=!el(e),o=t.attrs,a=o===void 0?Ka:o,l=t.componentId,u=l===void 0?function(p,g){var h=typeof p!="string"?"sc":rc(p);oc[h]=(oc[h]||0)+1;var k=h+"-"+c1("5.3.0"+h+oc[h]);return g?g+"-"+k:k}(t.displayName,t.parentComponentId):l,s=t.displayName,m=s===void 0?function(p){return el(p)?"styled."+p:"Styled("+eh(p)+")"}(e):s,S=t.displayName&&t.componentId?rc(t.displayName)+"-"+t.componentId:t.componentId||u,y=n&&e.attrs?Array.prototype.concat(e.attrs,a).filter(Boolean):a,x=t.shouldForwardProp;n&&e.shouldForwardProp&&(x=t.shouldForwardProp?function(p,g,h){return e.shouldForwardProp(p,g,h)&&t.shouldForwardProp(p,g,h)}:e.shouldForwardProp);var b,_=new K0(r,S,n?e.componentStyle:void 0),d=_.isStatic&&a.length===0,c=function(p,g){return function(h,k,O,A){var C=h.attrs,D=h.componentStyle,B=h.defaultProps,ee=h.foldedComponentIds,X=h.shouldForwardProp,ue=h.styledComponentId,re=h.target,V=function(T,w,z){T===void 0&&(T=wr);var F=Ct({},w,{theme:T}),$={};return z.forEach(function(M){var W,H,ie,Ce=M;for(W in Tn(Ce)&&(Ce=Ce(F)),Ce)F[W]=$[W]=W==="className"?(H=$[W],ie=Ce[W],H&&ie?H+" "+ie:H||ie):Ce[W]}),[F,$]}(l1(k,(0,de.useContext)(tl),B)||wr,k,C),K=V[0],se=V[1],j=function(T,w,z,F){var $=lh(),M=e1(),W=w?T.generateAndInjectStyles(wr,$,M):T.generateAndInjectStyles(z,$,M);return W}(D,A,K,void 0),N=O,L=se.$as||k.$as||se.as||k.as||re,R=el(L),f=se!==k?Ct({},k,{},se):k,v={};for(var P in f)P[0]!=="$"&&P!=="as"&&(P==="forwardedAs"?v.as=f[P]:(X?X(P,qu,L):!R||qu(P))&&(v[P]=f[P]));return k.style&&se.style!==k.style&&(v.style=Ct({},k.style,{},se.style)),v.className=Array.prototype.concat(ee,ue,j!==ue?j:null,k.className,se.className).filter(Boolean).join(" "),v.ref=N,(0,de.createElement)(L,v)}(b,p,g,d)};return c.displayName=m,(b=de.default.forwardRef(c)).attrs=y,b.componentStyle=_,b.displayName=m,b.shouldForwardProp=x,b.foldedComponentIds=n?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):Ka,b.styledComponentId=S,b.target=n?e.target:e,b.withComponent=function(p){var g=t.componentId,h=function(O,A){if(O==null)return{};var C,D,B={},ee=Object.keys(O);for(D=0;D<ee.length;D++)C=ee[D],A.indexOf(C)>=0||(B[C]=O[C]);return B}(t,["componentId"]),k=g&&g+"-"+(el(p)?p:rc(eh(p)));return fh(p,Ct({},h,{attrs:y,componentId:k}),r)},Object.defineProperty(b,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(p){this._foldedDefaultProps=n?ch({},e.defaultProps,p):p}}),b.toString=function(){return"."+b.styledComponentId},i&&(0,Zm.default)(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),b}var ac=function(e){return function t(r,n,i){if(i===void 0&&(i=wr),!(0,Qa.isValidElementType)(n))return xt(1,String(n));var o=function(){return r(n,i,_n.apply(void 0,arguments))};return o.withConfig=function(a){return t(r,n,Ct({},i,{},a))},o.attrs=function(a){return t(r,n,Ct({},i,{attrs:Array.prototype.concat(i.attrs,a).filter(Boolean)}))},o}(fh,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach(function(e){ac[e]=ac(e)});var jE=function(){function e(r,n){this.rules=r,this.componentId=n,this.isStatic=oh(r),Ji.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(r,n,i,o){var a=o(Br(this.rules,n,i,o).join(""),""),l=this.componentId+r;i.insertRules(l,l,a)},t.removeStyles=function(r,n){n.clearRules(this.componentId+r)},t.renderStyles=function(r,n,i,o){r>2&&Ji.registerId(this.componentId+r),this.removeStyles(r,i),this.createStyles(r,n,i,o)},e}();var FE=function(){function e(){var r=this;this._emitSheetCSS=function(){var n=r.instance.toString(),i=Xu();return"<style "+[i&&'nonce="'+i+'"',Er+'="true"','data-styled-version="5.3.0"'].filter(Boolean).join(" ")+">"+n+"</style>"},this.getStyleTags=function(){return r.sealed?xt(2):r._emitSheetCSS()},this.getStyleElement=function(){var n;if(r.sealed)return xt(2);var i=((n={})[Er]="",n["data-styled-version"]="5.3.0",n.dangerouslySetInnerHTML={__html:r.instance.toString()},n),o=Xu();return o&&(i.nonce=o),[de.default.createElement("style",Ct({},i,{key:"sc-0-0"}))]},this.seal=function(){r.sealed=!0},this.instance=new Ji({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(r){return this.sealed?xt(2):de.default.createElement(t1,{sheet:this.instance},r)},t.interleaveWithNodeStream=function(r){return xt(3)},e}();var ot=ac;var Se=ye(Be()),An=ye(Be());var lc={},p1=/[.[\]]+/,dh=function(t){if(t==null||!t.length)return[];if(typeof t!="string")throw new Error("toPath() expects a string");return lc[t]==null&&(lc[t]=t.split(p1).filter(Boolean)),lc[t]},ve=function(t,r){for(var n=dh(r),i=t,o=0;o<n.length;o++){var a=n[o];if(i==null||typeof i!="object"||Array.isArray(i)&&isNaN(a))return;i=i[a]}return i};function m1(e){var t=h1(e,"string");return typeof t=="symbol"?t:String(t)}function h1(e,t){if(typeof e!="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var v1=function e(t,r,n,i,o){if(r>=n.length)return i;var a=n[r];if(isNaN(a)){var l;if(t==null){var u,s=e(void 0,r+1,n,i,o);return s===void 0?void 0:(u={},u[a]=s,u)}if(Array.isArray(t))throw new Error("Cannot set a non-numeric property on an array");var m=e(t[a],r+1,n,i,o);if(m===void 0){var S=Object.keys(t).length;if(t[a]===void 0&&S===0)return;if(t[a]!==void 0&&S<=1)return!isNaN(n[r-1])&&!o?{}:void 0;var y=t[a],x=nt(t,[a].map(m1));return x}return Q({},t,(l={},l[a]=m,l))}var b=Number(a);if(t==null){var _=e(void 0,r+1,n,i,o);if(_===void 0)return;var d=[];return d[b]=_,d}if(!Array.isArray(t))throw new Error("Cannot set a numeric property on an object");var c=t[b],p=e(c,r+1,n,i,o),g=[].concat(t);if(o&&p===void 0){if(g.splice(b,1),g.length===0)return}else g[b]=p;return g},vt=function(t,r,n,i){if(i===void 0&&(i=!1),t==null)throw new Error("Cannot call setIn() with "+String(t)+" state");if(r==null)throw new Error("Cannot call setIn() with "+String(r)+" key");return v1(t,0,dh(r),n,i)},ph="FINAL_FORM/form-error",eo="FINAL_FORM/array-error";function mh(e,t){var r=e.errors,n=e.initialValues,i=e.lastSubmittedValues,o=e.submitErrors,a=e.submitFailed,l=e.submitSucceeded,u=e.submitting,s=e.values,m=t.active,S=t.blur,y=t.change,x=t.data,b=t.focus,_=t.modified,d=t.modifiedSinceLastSubmit,c=t.name,p=t.touched,g=t.validating,h=t.visited,k=ve(s,c),O=ve(r,c);O&&O[eo]&&(O=O[eo]);var A=o&&ve(o,c),C=n&&ve(n,c),D=t.isEqual(C,k),B=!!(i&&!t.isEqual(ve(i,c),k)),ee=!O&&!A;return{active:m,blur:S,change:y,data:x,dirty:!D,dirtySinceLastSubmit:B,error:O,focus:b,initial:C,invalid:!ee,length:Array.isArray(k)?k.length:void 0,modified:_,modifiedSinceLastSubmit:d,name:c,pristine:D,submitError:A,submitFailed:a,submitSucceeded:l,submitting:u,touched:p,valid:ee,value:k,visited:h,validating:g}}var sc=["active","data","dirty","dirtySinceLastSubmit","error","initial","invalid","length","modified","modifiedSinceLastSubmit","pristine","submitError","submitFailed","submitSucceeded","submitting","touched","valid","value","visited","validating"],Ft=function(t,r){if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var n=Object.keys(t),i=Object.keys(r);if(n.length!==i.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(r),a=0;a<n.length;a++){var l=n[a];if(!o(l)||t[l]!==r[l])return!1}return!0};function hh(e,t,r,n,i,o){var a=!1;return i.forEach(function(l){n[l]&&(e[l]=t[l],(!r||(~o.indexOf(l)?!Ft(t[l],r[l]):t[l]!==r[l]))&&(a=!0))}),a}var y1=["data"],g1=function(t,r,n,i){var o={blur:t.blur,change:t.change,focus:t.focus,name:t.name},a=hh(o,t,r,n,sc,y1)||!r;return a||i?o:void 0},uc=["active","dirty","dirtyFields","dirtyFieldsSinceLastSubmit","dirtySinceLastSubmit","error","errors","hasSubmitErrors","hasValidationErrors","initialValues","invalid","modified","modifiedSinceLastSubmit","pristine","submitting","submitError","submitErrors","submitFailed","submitSucceeded","touched","valid","validating","values","visited"],w1=["touched","visited"];function vh(e,t,r,n){var i={},o=hh(i,e,t,r,uc,w1)||!t;return o||n?i:void 0}var yh=function(t){var r,n;return function(){for(var i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return(!r||o.length!==r.length||o.some(function(l,u){return!Ft(r[u],l)}))&&(r=o,n=t.apply(void 0,o)),n}},cc=function(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"},gh="4.20.2";var E1=function(t,r){return t===r},Ln=function e(t){return Object.keys(t).some(function(r){var n=t[r];return n&&typeof n=="object"&&!(n instanceof Error)?e(n):typeof n!="undefined"})};function S1(e){var t=e.active,r=e.dirtySinceLastSubmit,n=e.modifiedSinceLastSubmit,i=e.error,o=e.errors,a=e.initialValues,l=e.pristine,u=e.submitting,s=e.submitFailed,m=e.submitSucceeded,S=e.submitError,y=e.submitErrors,x=e.valid,b=e.validating,_=e.values;return{active:t,dirty:!l,dirtySinceLastSubmit:r,modifiedSinceLastSubmit:n,error:i,errors:o,hasSubmitErrors:!!(S||y&&Ln(y)),hasValidationErrors:!!(i||Ln(o)),invalid:!x,initialValues:a,pristine:l,submitting:u,submitFailed:s,submitSucceeded:m,submitError:S,submitErrors:y,valid:x,validating:b>0,values:_}}function wh(e,t,r,n,i,o){var a=i(r,n,t,o);return a?(e(a),!0):!1}function Eh(e,t,r,n,i){var o=e.entries;Object.keys(o).forEach(function(a){var l=o[Number(a)];if(l){var u=l.subscription,s=l.subscriber,m=l.notified;wh(s,u,t,r,n,i||!m)&&(l.notified=!0)}})}function Sh(e){if(!e)throw new Error("No config specified");var t=e.debug,r=e.destroyOnUnregister,n=e.keepDirtyOnReinitialize,i=e.initialValues,o=e.mutators,a=e.onSubmit,l=e.validate,u=e.validateOnBlur;if(!a)throw new Error("No onSubmit function specified");var s={subscribers:{index:0,entries:{}},fieldSubscribers:{},fields:{},formState:{dirtySinceLastSubmit:!1,modifiedSinceLastSubmit:!1,errors:{},initialValues:i&&Q({},i),invalid:!1,pristine:!0,submitting:!1,submitFailed:!1,submitSucceeded:!1,resetWhileSubmitting:!1,valid:!0,validating:0,values:i?Q({},i):{}},lastFormState:void 0},m=0,S=!1,y=!1,x=!1,b=0,_={},d=function(f){return function(v){return delete _[f],v}},c=function(f,v,P){var T=ve(f.formState.values,v),w=P(T);f.formState.values=vt(f.formState.values,v,w)||{}},p=function(f,v,P){if(f.fields[v]){var T,w;f.fields=Q({},f.fields,(T={},T[P]=Q({},f.fields[v],{name:P,blur:function(){return L.blur(P)},change:function($){return L.change(P,$)},focus:function(){return L.focus(P)},lastFieldState:void 0}),T)),delete f.fields[v],f.fieldSubscribers=Q({},f.fieldSubscribers,(w={},w[P]=f.fieldSubscribers[v],w)),delete f.fieldSubscribers[v];var z=ve(f.formState.values,v);f.formState.values=vt(f.formState.values,v,void 0)||{},f.formState.values=vt(f.formState.values,P,z),delete f.lastFormState}},g=function(f){return function(){if(o){for(var v={formState:s.formState,fields:s.fields,fieldSubscribers:s.fieldSubscribers,lastFormState:s.lastFormState},P=arguments.length,T=new Array(P),w=0;w<P;w++)T[w]=arguments[w];var z=o[f](T,v,{changeValue:c,getIn:ve,renameField:p,resetFieldState:L.resetFieldState,setIn:vt,shallowEqual:Ft});return s.formState=v.formState,s.fields=v.fields,s.fieldSubscribers=v.fieldSubscribers,s.lastFormState=v.lastFormState,C(void 0,function(){D(),K()}),z}}},h=o?Object.keys(o).reduce(function(R,f){return R[f]=g(f),R},{}):{},k=function(f){var v=[];if(l){var P=l(Q({},s.formState.values));cc(P)?v.push(P.then(f)):f(P)}return v},O=function(f){return Object.keys(f.validators).reduce(function(v,P){var T=f.validators[Number(P)]();return T&&v.push(T),v},[])},A=function(f,v){var P=[],T=O(s.fields[f]);if(T.length){var w;T.forEach(function(z){var F=z(ve(s.formState.values,f),s.formState.values,z.length===0||z.length===3?mh(s.formState,s.fields[f]):void 0);if(F&&cc(F)){s.fields[f].validating=!0;var $=F.then(function(M){s.fields[f].validating=!1,v(M)});P.push($)}else w||(w=F)}),v(w)}return P},C=function(f,v){if(S){y=!0,v();return}var P=s.fields,T=s.formState,w=Q({},P),z=Object.keys(w);if(!l&&!z.some(function(Ze){return O(w[Ze]).length})){v();return}var F=!1;if(f){var $=w[f];if($){var M=$.validateFields;M&&(F=!0,z=M.length?M.concat(f):[f])}}var W={},H={},ie=[].concat(k(function(Ze){W=Ze||{}}),z.reduce(function(Ze,oe){return Ze.concat(A(oe,function(Vt){H[oe]=Vt}))},[])),Ce=ie.length>0,G=++b,J=Promise.all(ie).then(d(G));Ce&&(_[G]=J);var Z=function(){var oe=Q({},F?T.errors:{},W),Vt=function(be){z.forEach(function(q){if(P[q]){var ce=ve(W,q),zn=ve(oe,q),In=O(w[q]).length,bt=H[q];be(q,In&&bt||l&&ce||(!ce&&!F?zn:void 0))}})};Vt(function(wt,be){oe=vt(oe,wt,be)||{}}),Vt(function(wt,be){if(be&&be[eo]){var q=ve(oe,wt),ce=[].concat(q);ce[eo]=be[eo],oe=vt(oe,wt,ce)}}),Ft(T.errors,oe)||(T.errors=oe),T.error=W[ph]};if(Z(),v(),Ce){s.formState.validating++,v();var xe=function(){s.formState.validating--,v()};J.then(function(){b>G||Z()}).then(xe,xe)}},D=function(f){if(!m){var v=s.fields,P=s.fieldSubscribers,T=s.formState,w=Q({},v),z=function($){var M=w[$],W=mh(T,M),H=M.lastFieldState;M.lastFieldState=W;var ie=P[$];ie&&Eh(ie,W,H,g1,H===void 0)};f?z(f):Object.keys(w).forEach(z)}},B=function(){Object.keys(s.fields).forEach(function(f){s.fields[f].touched=!0})},ee=function(){return!!(s.formState.error||Ln(s.formState.errors))},X=function(){var f=s.fields,v=s.formState,P=s.lastFormState,T=Q({},f),w=Object.keys(T),z=!1,F=w.reduce(function(G,J){var Z=!T[J].isEqual(ve(v.values,J),ve(v.initialValues||{},J));return Z&&(z=!0,G[J]=!0),G},{}),$=w.reduce(function(G,J){var Z=v.lastSubmittedValues||{};return T[J].isEqual(ve(v.values,J),ve(Z,J))||(G[J]=!0),G},{});v.pristine=!z,v.dirtySinceLastSubmit=!!(v.lastSubmittedValues&&Object.values($).some(function(G){return G})),v.modifiedSinceLastSubmit=!!(v.lastSubmittedValues&&Object.keys(T).some(function(G){return T[G].modifiedSinceLastSubmit})),v.valid=!v.error&&!v.submitError&&!Ln(v.errors)&&!(v.submitErrors&&Ln(v.submitErrors));var M=S1(v),W=w.reduce(function(G,J){return G.modified[J]=T[J].modified,G.touched[J]=T[J].touched,G.visited[J]=T[J].visited,G},{modified:{},touched:{},visited:{}}),H=W.modified,ie=W.touched,Ce=W.visited;return M.dirtyFields=P&&Ft(P.dirtyFields,F)?P.dirtyFields:F,M.dirtyFieldsSinceLastSubmit=P&&Ft(P.dirtyFieldsSinceLastSubmit,$)?P.dirtyFieldsSinceLastSubmit:$,M.modified=P&&Ft(P.modified,H)?P.modified:H,M.touched=P&&Ft(P.touched,ie)?P.touched:ie,M.visited=P&&Ft(P.visited,Ce)?P.visited:Ce,P&&Ft(P,M)?P:M},ue=function(){return t&&!0&&t(X(),Object.keys(s.fields).reduce(function(f,v){return f[v]=s.fields[v],f},{}))},re=!1,V=!1,K=function R(){if(re)V=!0;else{if(re=!0,ue(),!m&&!(S&&x)){var f=s.lastFormState,v=X();v!==f&&(s.lastFormState=v,Eh(s.subscribers,v,f,vh))}re=!1,V&&(V=!1,R())}},se=function(){return Object.keys(s.fields).some(function(f){return s.fields[f].beforeSubmit&&s.fields[f].beforeSubmit()===!1})},j=function(){return Object.keys(s.fields).forEach(function(f){return s.fields[f].afterSubmit&&s.fields[f].afterSubmit()})},N=function(){return Object.keys(s.fields).forEach(function(f){return s.fields[f].modifiedSinceLastSubmit=!1})};C(void 0,function(){K()});var L={batch:function(f){m++,f(),m--,D(),K()},blur:function(f){var v=s.fields,P=s.formState,T=v[f];T&&(delete P.active,v[f]=Q({},T,{active:!1,touched:!0}),u?C(f,function(){D(),K()}):(D(),K()))},change:function(f,v){var P=s.fields,T=s.formState;if(ve(T.values,f)!==v){c(s,f,function(){return v});var w=P[f];w&&(P[f]=Q({},w,{modified:!0,modifiedSinceLastSubmit:!!T.lastSubmittedValues})),u?(D(),K()):C(f,function(){D(),K()})}},get destroyOnUnregister(){return!!r},set destroyOnUnregister(R){r=R},focus:function(f){var v=s.fields[f];v&&!v.active&&(s.formState.active=f,v.active=!0,v.visited=!0,D(),K())},mutators:h,getFieldState:function(f){var v=s.fields[f];return v&&v.lastFieldState},getRegisteredFields:function(){return Object.keys(s.fields)},getState:function(){return X()},initialize:function(f){var v=s.fields,P=s.formState,T=Q({},v),w=typeof f=="function"?f(P.values):f;n||(P.values=w);var z=n?Object.keys(T).reduce(function(F,$){var M=T[$],W=M.isEqual(ve(P.values,$),ve(P.initialValues||{},$));return W||(F[$]=ve(P.values,$)),F},{}):{};P.initialValues=w,P.values=w,Object.keys(z).forEach(function(F){P.values=vt(P.values,F,z[F])}),C(void 0,function(){D(),K()})},isValidationPaused:function(){return S},pauseValidation:function(f){f===void 0&&(f=!0),S=!0,x=f},registerField:function(f,v,P,T){P===void 0&&(P={}),s.fieldSubscribers[f]||(s.fieldSubscribers[f]={index:0,entries:{}});var w=s.fieldSubscribers[f].index++;s.fieldSubscribers[f].entries[w]={subscriber:yh(v),subscription:P,notified:!1},s.fields[f]||(s.fields[f]={active:!1,afterSubmit:T&&T.afterSubmit,beforeSubmit:T&&T.beforeSubmit,blur:function(){return L.blur(f)},change:function(H){return L.change(f,H)},data:T&&T.data||{},focus:function(){return L.focus(f)},isEqual:T&&T.isEqual||E1,lastFieldState:void 0,modified:!1,modifiedSinceLastSubmit:!1,name:f,touched:!1,valid:!0,validateFields:T&&T.validateFields,validators:{},validating:!1,visited:!1});var z=!1,F=T&&T.silent,$=function(){F?D(f):(K(),D())};if(T){z=!!(T.getValidator&&T.getValidator()),T.getValidator&&(s.fields[f].validators[w]=T.getValidator);var M=ve(s.formState.values,f)===void 0;T.initialValue!==void 0&&M&&(ve(s.formState.values,f)===void 0||ve(s.formState.values,f)===ve(s.formState.initialValues,f))&&(s.formState.initialValues=vt(s.formState.initialValues||{},f,T.initialValue),s.formState.values=vt(s.formState.values,f,T.initialValue),C(void 0,$)),T.defaultValue!==void 0&&T.initialValue===void 0&&ve(s.formState.initialValues,f)===void 0&&M&&(s.formState.values=vt(s.formState.values,f,T.defaultValue))}return z?C(void 0,$):$(),function(){var W=!1;s.fields[f]&&(W=!!(s.fields[f].validators[w]&&s.fields[f].validators[w]()),delete s.fields[f].validators[w]);var H=!!s.fieldSubscribers[f];H&&delete s.fieldSubscribers[f].entries[w];var ie=H&&!Object.keys(s.fieldSubscribers[f].entries).length;ie&&(delete s.fieldSubscribers[f],delete s.fields[f],W&&(s.formState.errors=vt(s.formState.errors,f,void 0)||{}),r&&(s.formState.values=vt(s.formState.values,f,void 0,!0)||{})),F||(W?C(void 0,function(){K(),D()}):ie&&K())}},reset:function(f){f===void 0&&(f=s.formState.initialValues),s.formState.submitting&&(s.formState.resetWhileSubmitting=!0),s.formState.submitFailed=!1,s.formState.submitSucceeded=!1,delete s.formState.submitError,delete s.formState.submitErrors,delete s.formState.lastSubmittedValues,L.initialize(f||{})},resetFieldState:function(f){s.fields[f]=Q({},s.fields[f],{active:!1,lastFieldState:void 0,modified:!1,touched:!1,valid:!0,validating:!1,visited:!1}),C(void 0,function(){D(),K()})},restart:function(f){f===void 0&&(f=s.formState.initialValues),L.batch(function(){for(var v in s.fields)L.resetFieldState(v),s.fields[v]=Q({},s.fields[v],{active:!1,lastFieldState:void 0,modified:!1,modifiedSinceLastSubmit:!1,touched:!1,valid:!0,validating:!1,visited:!1});L.reset(f)})},resumeValidation:function(){S=!1,x=!1,y&&C(void 0,function(){D(),K()}),y=!1},setConfig:function(f,v){switch(f){case"debug":t=v;break;case"destroyOnUnregister":r=v;break;case"initialValues":L.initialize(v);break;case"keepDirtyOnReinitialize":n=v;break;case"mutators":o=v,v?(Object.keys(h).forEach(function(P){P in v||delete h[P]}),Object.keys(v).forEach(function(P){h[P]=g(P)})):Object.keys(h).forEach(function(P){delete h[P]});break;case"onSubmit":a=v;break;case"validate":l=v,C(void 0,function(){D(),K()});break;case"validateOnBlur":u=v;break;default:throw new Error("Unrecognised option "+f)}},submit:function(){var f=s.formState;if(!f.submitting){if(delete f.submitErrors,delete f.submitError,f.lastSubmittedValues=Q({},f.values),ee()){B(),s.formState.submitFailed=!0,K(),D();return}var v=Object.keys(_);if(v.length){Promise.all(v.map(function($){return _[Number($)]})).then(L.submit,console.error);return}var P=se();if(!P){var T,w=!1,z=function(M){f.submitting=!1;var W=f.resetWhileSubmitting;return W&&(f.resetWhileSubmitting=!1),M&&Ln(M)?(f.submitFailed=!0,f.submitSucceeded=!1,f.submitErrors=M,f.submitError=M[ph],B()):(W||(f.submitFailed=!1,f.submitSucceeded=!0),j()),K(),D(),w=!0,T&&T(M),M};f.submitting=!0,f.submitFailed=!1,f.submitSucceeded=!1,f.lastSubmittedValues=Q({},f.values),N();var F=a(f.values,L,z);if(!w){if(F&&cc(F))return K(),D(),F.then(z,function($){throw z(),$});if(a.length>=3)return K(),D(),new Promise(function($){T=$});z(F)}}}},subscribe:function(f,v){if(!f)throw new Error("No callback given.");if(!v)throw new Error("No subscription provided. What values do you want to listen to?");var P=yh(f),T=s.subscribers,w=T.index++;T.entries[w]={subscriber:P,subscription:v,notified:!1};var z=X();return wh(P,v,z,z,vh,!0),function(){delete T.entries[w]}}};return L}function kh(e,t,r){var n=e.render,i=e.children,o=e.component,a=nt(e,["render","children","component"]);if(o)return Se.createElement(o,Object.assign(t,a,{children:i,render:n}));if(n)return n(i===void 0?Object.assign(t,a):Object.assign(t,a,{children:i}));if(typeof i!="function")throw new Error("Must specify either a render prop, a render function as children, or a component prop to "+r);return i(Object.assign(t,a))}function Sr(e,t,r){r===void 0&&(r=function(o,a){return o===a});var n=An.default.useRef(e);An.default.useEffect(function(){r(e,n.current)||(t(),n.current=e)})}function k1(e){var t=An.default.useRef();return t.current||(t.current=e()),t.current}var Ph=function(t,r){if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var n=Object.keys(t),i=Object.keys(r);if(n.length!==i.length)return!1;for(var o=Object.prototype.hasOwnProperty.bind(r),a=0;a<n.length;a++){var l=n[a];if(!o(l)||t[l]!==r[l])return!1}return!0},P1=function(t){return!!(t&&typeof t.stopPropagation=="function")},Ch=Se.createContext();function xh(e){var t=An.default.useRef(e);return An.default.useEffect(function(){t.current=e}),t}var C1="6.5.3",bh=function(t,r,n){n.forEach(function(i){Object.defineProperty(t,i,{get:function(){return r[i]},enumerable:!0})})},x1=function(t,r){return bh(t,r,["active","dirty","dirtyFields","dirtySinceLastSubmit","dirtyFieldsSinceLastSubmit","error","errors","hasSubmitErrors","hasValidationErrors","initialValues","invalid","modified","modifiedSinceLastSubmit","pristine","submitError","submitErrors","submitFailed","submitSucceeded","submitting","touched","valid","validating","values","visited"])},b1=function(t,r){return bh(t,r,["active","data","dirty","dirtySinceLastSubmit","error","initial","invalid","length","modified","modifiedSinceLastSubmit","pristine","submitError","submitFailed","submitSucceeded","submitting","touched","valid","validating","visited"])},O1={"final-form":gh,"react-final-form":C1},N1=uc.reduce(function(e,t){return e[t]=!0,e},{});function to(e){var t=e.debug,r=e.decorators,n=e.destroyOnUnregister,i=e.form,o=e.initialValues,a=e.initialValuesEqual,l=e.keepDirtyOnReinitialize,u=e.mutators,s=e.onSubmit,m=e.subscription,S=m===void 0?N1:m,y=e.validate,x=e.validateOnBlur,b=nt(e,["debug","decorators","destroyOnUnregister","form","initialValues","initialValuesEqual","keepDirtyOnReinitialize","mutators","onSubmit","subscription","validate","validateOnBlur"]),_={debug:t,destroyOnUnregister:n,initialValues:o,keepDirtyOnReinitialize:l,mutators:u,onSubmit:s,validate:y,validateOnBlur:x},d=k1(function(){var A=i||Sh(_);return A.pauseValidation(),A}),c=Se.useState(function(){var A={};return d.subscribe(function(C){A=C},S)(),A}),p=c[0],g=c[1],h=xh(p);Se.useEffect(function(){d.isValidationPaused()&&d.resumeValidation();var A=[d.subscribe(function(C){Ph(C,h.current)||g(C)},S)].concat(r?r.map(function(C){return C(d)}):[]);return function(){d.pauseValidation(),A.reverse().forEach(function(C){return C()})}},[r]),Sr(t,function(){d.setConfig("debug",t)}),Sr(n,function(){d.destroyOnUnregister=!!n}),Sr(l,function(){d.setConfig("keepDirtyOnReinitialize",l)}),Sr(o,function(){d.setConfig("initialValues",o)},a||Ph),Sr(u,function(){d.setConfig("mutators",u)}),Sr(s,function(){d.setConfig("onSubmit",s)}),Sr(y,function(){d.setConfig("validate",y)}),Sr(x,function(){d.setConfig("validateOnBlur",x)});var k=function(C){return C&&(typeof C.preventDefault=="function"&&C.preventDefault(),typeof C.stopPropagation=="function"&&C.stopPropagation()),d.submit()},O={form:Q({},d,{reset:function(C){P1(C)?d.reset():d.reset(C)}}),handleSubmit:k};return x1(O,p),Se.createElement(Ch.Provider,{value:d},kh(Q({},b,{__versions:O1}),O,"ReactFinalForm"))}function T1(e){var t=Se.useContext(Ch);if(!t)throw new Error((e||"useForm")+" must be used inside of a <Form> component");return t}var R1=typeof window!="undefined"&&window.navigator&&window.navigator.product&&window.navigator.product==="ReactNative",_1=function(t){var r=[];if(t)for(var n=0;n<t.length;n++){var i=t[n];i.selected&&r.push(i.value)}return r},L1=function(t,r,n,i){if(!i&&t.nativeEvent&&t.nativeEvent.text!==void 0||i&&t.nativeEvent)return t.nativeEvent.text;var o=t,a=o.target,l=a.type,u=a.value,s=a.checked;switch(l){case"checkbox":if(n!==void 0){if(s)return Array.isArray(r)?r.concat(n):[n];if(!Array.isArray(r))return r;var m=r.indexOf(n);return m<0?r:r.slice(0,m).concat(r.slice(m+1))}else return!!s;case"select-multiple":return _1(t.target.options);default:return u}},A1=sc.reduce(function(e,t){return e[t]=!0,e},{}),fc=function(t,r){return t===void 0?"":t},j1=function(t,r){return t===""?void 0:t},F1=function(t,r){return t===r};function D1(e,t){t===void 0&&(t={});var r=t,n=r.afterSubmit,i=r.allowNull,o=r.component,a=r.data,l=r.defaultValue,u=r.format,s=u===void 0?fc:u,m=r.formatOnBlur,S=r.initialValue,y=r.multiple,x=r.parse,b=x===void 0?j1:x,_=r.subscription,d=_===void 0?A1:_,c=r.type,p=r.validateFields,g=r.value,h=T1("useField"),k=xh(t),O=function(K,se){return h.registerField(e,K,d,{afterSubmit:n,beforeSubmit:function(){var N=k.current,L=N.beforeSubmit,R=N.formatOnBlur,f=N.format,v=f===void 0?fc:f;if(R){var P=h.getFieldState(e),T=P.value,w=v(T,e);w!==T&&h.change(e,w)}return L&&L()},data:a,defaultValue:l,getValidator:function(){return k.current.validate},initialValue:S,isEqual:function(N,L){return(k.current.isEqual||F1)(N,L)},silent:se,validateFields:p})},A=Se.useRef(!0),C=Se.useState(function(){var V={},K=h.destroyOnUnregister;return h.destroyOnUnregister=!1,O(function(se){V=se},!0)(),h.destroyOnUnregister=K,V}),D=C[0],B=C[1];Se.useEffect(function(){return O(function(V){A.current?A.current=!1:B(V)},!1)},[e,a,l,S]);var ee={onBlur:Se.useCallback(function(V){if(D.blur(),m){var K=h.getFieldState(D.name);D.change(s(K.value,D.name))}},[D.blur,D.name,s,m]),onChange:Se.useCallback(function(V){if(!1)var K,se,j;var N=V&&V.target?L1(V,D.value,g,R1):V;D.change(b(N,e))},[g,e,b,D.change,D.value,c]),onFocus:Se.useCallback(function(V){D.focus()},[D.focus])},X={};b1(X,D);var ue=Q({name:e,get value(){var V=D.value;return m?o==="input"&&(V=fc(V)):V=s(V,e),V===null&&!i&&(V=""),c==="checkbox"||c==="radio"?g:o==="select"&&y?V||[]:V},get checked(){var V=D.value;if(c==="checkbox")return V=s(V,e),g===void 0?!!V:!!(Array.isArray(V)&&~V.indexOf(g));if(c==="radio")return s(V,e)===g}},ee);y&&(ue.multiple=y),c!==void 0&&(ue.type=c);var re={input:ue,meta:X};return re}var Yt=Se.forwardRef(function(t,r){var n=t.afterSubmit,i=t.allowNull,o=t.beforeSubmit,a=t.children,l=t.component,u=t.data,s=t.defaultValue,m=t.format,S=t.formatOnBlur,y=t.initialValue,x=t.isEqual,b=t.multiple,_=t.name,d=t.parse,c=t.subscription,p=t.type,g=t.validate,h=t.validateFields,k=t.value,O=nt(t,["afterSubmit","allowNull","beforeSubmit","children","component","data","defaultValue","format","formatOnBlur","initialValue","isEqual","multiple","name","parse","subscription","type","validate","validateFields","value"]),A=D1(_,{afterSubmit:n,allowNull:i,beforeSubmit:o,children:a,component:l,data:u,defaultValue:s,format:m,formatOnBlur:S,initialValue:y,isEqual:x,multiple:b,parse:d,subscription:c,type:p,validate:g,validateFields:h,value:k});if(typeof a=="function")return a(Q({},A,O));if(typeof l=="string")return Se.createElement(l,Q({},A.input,{children:a,ref:r},O));if(!_)throw new Error("prop name cannot be undefined in <Field> component");return kh(Q({children:a,component:l,ref:r},O),A,"Field("+_+")")});var Th=ye(Nh());function at(e,t,r,n){function i(o){return o instanceof r?o:new r(function(a){a(o)})}return new(r||(r=Promise))(function(o,a){function l(m){try{s(n.next(m))}catch(S){a(S)}}function u(m){try{s(n.throw(m))}catch(S){a(S)}}function s(m){m.done?o(m.value):i(m.value).then(l,u)}s((n=n.apply(e,t||[])).next())})}var dc;(function(e){e.Github="github",e.Google="google"})(dc||(dc={}));var pc=()=>typeof window!="undefined",rl="message accessToken accessTokenExpiresAt user { id email firstName lastName image }",nl=class{constructor(t){if(this.graphqlQuery=r=>at(this,void 0,void 0,function*(){let o=yield(yield(pc()?window.fetch:Th.default)(this.config.authorizerURL+"/graphql",{method:"POST",body:JSON.stringify({query:r.query,variables:r.variables||{}}),headers:Object.assign({"Content-Type":"application/json"},r.headers||{}),credentials:"include"})).json();if(o.errors&&o.errors.length)throw console.error(o.errors),new Error(o.errors[0].message);return o.data}),this.getMetaData=()=>at(this,void 0,void 0,function*(){try{return(yield this.graphqlQuery({query:"query { meta { version isGoogleLoginEnabled isGithubLoginEnabled isBasicAuthenticationEnabled isEmailVerificationEnabled isFacebookLoginEnabled isTwitterLoginEnabled } }"})).meta}catch(r){throw r}}),this.getSession=r=>at(this,void 0,void 0,function*(){try{return(yield this.graphqlQuery({query:`query {token { ${rl} } }`,headers:r})).token}catch(n){throw n}}),this.signup=r=>at(this,void 0,void 0,function*(){try{return(yield this.graphqlQuery({query:`
|
|
mutation signup($data: SignUpInput!) { signup(params: $data) { ${rl}}}`,variables:{data:r}})).signup}catch(n){console.error(n)}}),this.verifyEmail=r=>at(this,void 0,void 0,function*(){try{return(yield this.graphqlQuery({query:`
|
|
mutation verifyEmail($data: VerifyEmailInput!) { verifyEmail(params: $data) { ${rl}}}`,variables:{data:r}})).verifyEmail}catch(n){console.error(n)}}),this.login=r=>at(this,void 0,void 0,function*(){try{return(yield this.graphqlQuery({query:`
|
|
mutation login($data: LoginInput!) { login(params: $data) { ${rl}}}`,variables:{data:r}})).login}catch(n){throw n}}),this.getProfile=r=>at(this,void 0,void 0,function*(){try{return(yield this.graphqlQuery({query:"query { profile { id email image firstName lastName emailVerifiedAt signupMethod } }",headers:r})).profile}catch(n){throw n}}),this.updateProfile=(r,n)=>at(this,void 0,void 0,function*(){try{return(yield this.graphqlQuery({query:"mutation updateProfile($data: UpdateProfileInput!) { updateProfile(params: $data) { message } }",headers:n,variables:{data:r}})).updateProfile}catch(i){throw i}}),this.forgotPassword=r=>at(this,void 0,void 0,function*(){try{return(yield this.graphqlQuery({query:"mutation forgotPassword($data: ForgotPasswordInput!) { forgotPassword(params: $data) { message } }",variables:{data:r}})).forgotPassword}catch(n){throw n}}),this.resetPassword=r=>at(this,void 0,void 0,function*(){try{return(yield this.graphqlQuery({query:"mutation resetPassword($data: ResetPasswordInput!) { resetPassword(params: $data) { message } }",variables:{data:r}})).resetPassword}catch(n){throw n}}),this.browserLogin=()=>at(this,void 0,void 0,function*(){try{return yield this.getSession()}catch(r){if(!pc())throw new Error("browserLogin is only supported for browsers");window.location.href=`${this.config.authorizerURL}/app?state=${btoa(JSON.stringify(this.config))}`}}),this.oauthLogin=r=>at(this,void 0,void 0,function*(){if(!Object.values(dc).includes(r))throw new Error(`only following oauth providers are supported: ${Object.values(r).toString()}`);if(!pc())throw new Error("oauthLogin is only supported for browsers");window.location.href=`${this.config.authorizerURL}/oauth_login/${r}`}),this.logout=r=>at(this,void 0,void 0,function*(){try{return(yield this.graphqlQuery({query:" mutation { logout { message } } ",headers:r})).logout}catch(n){console.error(n)}}),!t)throw new Error("Configuration is required");if(this.config=t,!t.authorizerURL.trim())throw new Error("Invalid authorizerURL");if(t.authorizerURL){let r=t.authorizerURL.trim();r[r.length-1]==="/"?this.config.authorizerURL=r.slice(0,-1):this.config.authorizerURL=r}if(!t.redirectURL)throw new Error("Invalid redirectURL")}};function Rh(e,t,r,n,i,o,a){try{var l=e[o](a),u=l.value}catch(s){r(s);return}l.done?t(u):Promise.resolve(u).then(n,i)}function ro(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(u){Rh(o,n,i,a,l,"next",u)}function l(u){Rh(o,n,i,a,l,"throw",u)}a(void 0)})}}function Fn(){return Fn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Fn.apply(this,arguments)}function _h(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,o;for(o=0;o<n.length;o++)i=n[o],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function $e(e,t){return t||(t=e.slice(0)),e.raw=t,e}function I1(e,t){return t={exports:{}},e(t,t.exports),t.exports}var Dt=I1(function(e){var t=function(r){var n=Object.prototype,i=n.hasOwnProperty,o,a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function m(j,N,L){return Object.defineProperty(j,N,{value:L,enumerable:!0,configurable:!0,writable:!0}),j[N]}try{m({},"")}catch(j){m=function(N,L,R){return N[L]=R}}function S(j,N,L,R){var f=N&&N.prototype instanceof p?N:p,v=Object.create(f.prototype),P=new V(R||[]);return v._invoke=ee(j,L,P),v}r.wrap=S;function y(j,N,L){try{return{type:"normal",arg:j.call(N,L)}}catch(R){return{type:"throw",arg:R}}}var x="suspendedStart",b="suspendedYield",_="executing",d="completed",c={};function p(){}function g(){}function h(){}var k={};m(k,l,function(){return this});var O=Object.getPrototypeOf,A=O&&O(O(K([])));A&&A!==n&&i.call(A,l)&&(k=A);var C=h.prototype=p.prototype=Object.create(k);g.prototype=h,m(C,"constructor",h),m(h,"constructor",g),g.displayName=m(h,s,"GeneratorFunction");function D(j){["next","throw","return"].forEach(function(N){m(j,N,function(L){return this._invoke(N,L)})})}r.isGeneratorFunction=function(j){var N=typeof j=="function"&&j.constructor;return N?N===g||(N.displayName||N.name)==="GeneratorFunction":!1},r.mark=function(j){return Object.setPrototypeOf?Object.setPrototypeOf(j,h):(j.__proto__=h,m(j,s,"GeneratorFunction")),j.prototype=Object.create(C),j},r.awrap=function(j){return{__await:j}};function B(j,N){function L(v,P,T,w){var z=y(j[v],j,P);if(z.type==="throw")w(z.arg);else{var F=z.arg,$=F.value;return $&&typeof $=="object"&&i.call($,"__await")?N.resolve($.__await).then(function(M){L("next",M,T,w)},function(M){L("throw",M,T,w)}):N.resolve($).then(function(M){F.value=M,T(F)},function(M){return L("throw",M,T,w)})}}var R;function f(v,P){function T(){return new N(function(w,z){L(v,P,w,z)})}return R=R?R.then(T,T):T()}this._invoke=f}D(B.prototype),m(B.prototype,u,function(){return this}),r.AsyncIterator=B,r.async=function(j,N,L,R,f){f===void 0&&(f=Promise);var v=new B(S(j,N,L,R),f);return r.isGeneratorFunction(N)?v:v.next().then(function(P){return P.done?P.value:v.next()})};function ee(j,N,L){var R=x;return function(v,P){if(R===_)throw new Error("Generator is already running");if(R===d){if(v==="throw")throw P;return se()}for(L.method=v,L.arg=P;;){var T=L.delegate;if(T){var w=X(T,L);if(w){if(w===c)continue;return w}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(R===x)throw R=d,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);R=_;var z=y(j,N,L);if(z.type==="normal"){if(R=L.done?d:b,z.arg===c)continue;return{value:z.arg,done:L.done}}else z.type==="throw"&&(R=d,L.method="throw",L.arg=z.arg)}}}function X(j,N){var L=j.iterator[N.method];if(L===o){if(N.delegate=null,N.method==="throw"){if(j.iterator.return&&(N.method="return",N.arg=o,X(j,N),N.method==="throw"))return c;N.method="throw",N.arg=new TypeError("The iterator does not provide a 'throw' method")}return c}var R=y(L,j.iterator,N.arg);if(R.type==="throw")return N.method="throw",N.arg=R.arg,N.delegate=null,c;var f=R.arg;if(!f)return N.method="throw",N.arg=new TypeError("iterator result is not an object"),N.delegate=null,c;if(f.done)N[j.resultName]=f.value,N.next=j.nextLoc,N.method!=="return"&&(N.method="next",N.arg=o);else return f;return N.delegate=null,c}D(C),m(C,s,"Generator"),m(C,l,function(){return this}),m(C,"toString",function(){return"[object Generator]"});function ue(j){var N={tryLoc:j[0]};1 in j&&(N.catchLoc=j[1]),2 in j&&(N.finallyLoc=j[2],N.afterLoc=j[3]),this.tryEntries.push(N)}function re(j){var N=j.completion||{};N.type="normal",delete N.arg,j.completion=N}function V(j){this.tryEntries=[{tryLoc:"root"}],j.forEach(ue,this),this.reset(!0)}r.keys=function(j){var N=[];for(var L in j)N.push(L);return N.reverse(),function R(){for(;N.length;){var f=N.pop();if(f in j)return R.value=f,R.done=!1,R}return R.done=!0,R}};function K(j){if(j){var N=j[l];if(N)return N.call(j);if(typeof j.next=="function")return j;if(!isNaN(j.length)){var L=-1,R=function f(){for(;++L<j.length;)if(i.call(j,L))return f.value=j[L],f.done=!1,f;return f.value=o,f.done=!0,f};return R.next=R}}return{next:se}}r.values=K;function se(){return{value:o,done:!0}}return V.prototype={constructor:V,reset:function(j){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(re),!j)for(var N in this)N.charAt(0)==="t"&&i.call(this,N)&&!isNaN(+N.slice(1))&&(this[N]=o)},stop:function(){this.done=!0;var j=this.tryEntries[0],N=j.completion;if(N.type==="throw")throw N.arg;return this.rval},dispatchException:function(j){if(this.done)throw j;var N=this;function L(w,z){return v.type="throw",v.arg=j,N.next=w,z&&(N.method="next",N.arg=o),!!z}for(var R=this.tryEntries.length-1;R>=0;--R){var f=this.tryEntries[R],v=f.completion;if(f.tryLoc==="root")return L("end");if(f.tryLoc<=this.prev){var P=i.call(f,"catchLoc"),T=i.call(f,"finallyLoc");if(P&&T){if(this.prev<f.catchLoc)return L(f.catchLoc,!0);if(this.prev<f.finallyLoc)return L(f.finallyLoc)}else if(P){if(this.prev<f.catchLoc)return L(f.catchLoc,!0)}else if(T){if(this.prev<f.finallyLoc)return L(f.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(j,N){for(var L=this.tryEntries.length-1;L>=0;--L){var R=this.tryEntries[L];if(R.tryLoc<=this.prev&&i.call(R,"finallyLoc")&&this.prev<R.finallyLoc){var f=R;break}}f&&(j==="break"||j==="continue")&&f.tryLoc<=N&&N<=f.finallyLoc&&(f=null);var v=f?f.completion:{};return v.type=j,v.arg=N,f?(this.method="next",this.next=f.finallyLoc,c):this.complete(v)},complete:function(j,N){if(j.type==="throw")throw j.arg;return j.type==="break"||j.type==="continue"?this.next=j.arg:j.type==="return"?(this.rval=this.arg=j.arg,this.method="return",this.next="end"):j.type==="normal"&&N&&(this.next=N),c},finish:function(j){for(var N=this.tryEntries.length-1;N>=0;--N){var L=this.tryEntries[N];if(L.finallyLoc===j)return this.complete(L.completion,L.afterLoc),re(L),c}},catch:function(j){for(var N=this.tryEntries.length-1;N>=0;--N){var L=this.tryEntries[N];if(L.tryLoc===j){var R=L.completion;if(R.type==="throw"){var f=R.arg;re(L)}return f}}throw new Error("illegal catch attempt")},delegateYield:function(j,N,L){return this.delegate={iterator:K(j),resultName:N,nextLoc:L},this.method==="next"&&(this.arg=o),c}},r}(e.exports);try{regeneratorRuntime=t}catch(r){typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}),zt;(function(e){e[e.Login=0]="Login",e[e.Signup=1]="Signup",e[e.ForgotPassword=2]="ForgotPassword"})(zt||(zt={}));var yt;(function(e){e[e.Primary=0]="Primary",e[e.Default=1]="Default"})(yt||(yt={}));var It;(function(e){e[e.Error=0]="Error",e[e.Success=1]="Success"})(It||(It={}));var Lh=function(t){var r=t*1e3-3e5,n=new Date,i=new Date(r).getTime()-n.getTime();return i},Ah=(0,E.createContext)({config:{authorizerURL:"",redirectURL:window.location.origin,isGoogleLoginEnabled:!1,isGithubLoginEnabled:!1,isFacebookLoginEnabled:!1,isBasicAuthenticationEnabled:!1},user:null,token:null,loading:!1,setLoading:function(){},setToken:function(){},setUser:function(){},authorizerRef:new nl({authorizerURL:"http://localhost:8080",redirectURL:window.location.origin})}),jh=function(t){var r=t.config,n=t.children,i=(0,E.useState)(null),o=i[0],a=i[1],l=(0,E.useState)(null),u=l[0],s=l[1],m=(0,E.useState)(!0),S=m[0],y=m[1],x=(0,E.useState)(Fn({},r,{isGoogleLoginEnabled:!1,isGithubLoginEnabled:!1,isFacebookLoginEnabled:!1,isBasicAuthenticationEnabled:!1})),b=x[0],_=x[1],d=null,c=(0,E.useRef)(new nl({authorizerURL:b.authorizerURL,redirectURL:window.location.origin})),p=function(){var h=ro(Dt.mark(function k(){var O,A,C;return Dt.wrap(function(B){for(;;)switch(B.prev=B.next){case 0:return B.prev=0,B.next=3,c.current.getSession();case 3:O=B.sent,O.accessToken&&O.user&&(s({accessToken:O.accessToken,accessTokenExpiresAt:O.accessTokenExpiresAt}),a(O==null?void 0:O.user),A=Lh(O.accessTokenExpiresAt),A>0&&(d&&clearInterval(d),d=setInterval(function(){p()},A))),B.next=9;break;case 7:B.prev=7,B.t0=B.catch(0);case 9:return B.next=11,c.current.getMetaData();case 11:C=B.sent,_(Fn({},b,C)),y(!1);case 14:case"end":return B.stop()}},k,null,[[0,7]])}));return function(){return h.apply(this,arguments)}}();(0,E.useEffect)(function(){return p(),function(){d&&clearInterval(d)}},[]);var g=function(k){if(s(k),k!=null&&k.accessToken){var O=Lh(k.accessTokenExpiresAt);O>0&&(d&&clearInterval(d),d=setInterval(function(){p()},O))}};return E.default.createElement(Ah.Provider,{value:{config:b,user:o,token:u,loading:S,setUser:a,setToken:g,setLoading:y,authorizerRef:c.current}},n)},Kt=function(){return(0,E.useContext)(Ah)},Fh,Dh={sm:576,md:768,lg:992},M1=Object.keys(Dh).reduce(function(e,t){return e[t]=function(r){return _n(Fh||(Fh=$e([`
|
|
@media (min-width: `,`em) {
|
|
`,`
|
|
}
|
|
`])),Dh[t]/16,_n(r))},e},{}),zh,Ih,Mh,Vh,Uh,$h,Bh,Hh,Wh,qh,Gh,Yh,Qh,Kh,Xh,Zh=ot.div(zh||(zh=$e([`
|
|
font-family: `,`;
|
|
color: `,`;
|
|
font-size: `,`;
|
|
box-sizing: border-box;
|
|
|
|
*,
|
|
*:before,
|
|
*:after {
|
|
box-sizing: inherit;
|
|
}
|
|
`])),function(e){return e.theme.fonts.fontStack},function(e){return e.theme.colors.textColor},function(e){return e.theme.fonts.mediumText}),kr=ot.span(Ih||(Ih=$e([`
|
|
color: `,`;
|
|
padding-right: 3px;
|
|
`])),function(e){return e.theme.colors.danger}),Pr=ot.div(Mh||(Mh=$e([`
|
|
color: `,`;
|
|
font-size: `,`;
|
|
`])),function(e){return e.theme.colors.danger},function(e){return e.theme.fonts.smallText}),Cr=ot.div(Vh||(Vh=$e([`
|
|
margin-bottom: 15px;
|
|
`]))),xr=ot.label(Uh||(Uh=$e([`
|
|
display: block;
|
|
margin-bottom: 3px;
|
|
`]))),br=ot.input($h||($h=$e([`
|
|
padding: 10px;
|
|
border-radius: `,`;
|
|
width: 100%;
|
|
border-color: `,`;
|
|
outline-color: `,`;
|
|
`])),function(e){return e.theme.radius.input},function(e){return e.hasError?e.theme.colors.danger:e.theme.colors.primary},function(e){return e.hasError?e.theme.colors.danger:e.theme.colors.primary}),Hr=ot.button(Bh||(Bh=$e([`
|
|
padding: 15px 10px;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background-color: `,`;
|
|
color: `,`;
|
|
border-radius: `,`;
|
|
border-color: `,`;
|
|
border: `,`;
|
|
border-style: solid;
|
|
cursor: pointer;
|
|
position: relative;
|
|
|
|
&:disabled {
|
|
cursor: not-allowed;
|
|
background-color: `,`;
|
|
}
|
|
|
|
svg {
|
|
position: absolute;
|
|
left: 10px;
|
|
}
|
|
`])),function(e){return e.appearance===yt.Primary?e.theme.colors.primary:"white"},function(e){return e.appearance===yt.Default?e.theme.colors.textColor:"white"},function(e){return e.theme.radius.button},function(e){return e.theme.colors.textColor},function(e){return e.appearance===yt.Primary?"0px":"1px"},function(e){return e.theme.colors.primaryDisabled}),il=ot.span(Hh||(Hh=$e([`
|
|
color: `,`;
|
|
cursor: pointer;
|
|
`])),function(e){return e.theme.colors.primary}),V1=ot.div(Wh||(Wh=$e([`
|
|
display: flex;
|
|
align-items: center;
|
|
text-align: center;
|
|
margin: 10px 0px;
|
|
|
|
::before {
|
|
content: '';
|
|
flex: 1;
|
|
border-bottom: 1px solid `,`;
|
|
}
|
|
|
|
::after {
|
|
content: '';
|
|
flex: 1;
|
|
border-bottom: 1px solid `,`;
|
|
}
|
|
|
|
:not(:empty)::before {
|
|
margin-right: 0.25em;
|
|
}
|
|
|
|
:not(:empty)::after {
|
|
margin-left: 0.25em;
|
|
}
|
|
`])),function(e){return e.theme.colors.gray},function(e){return e.theme.colors.gray}),mc=ot.div(qh||(qh=$e([`
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 15px;
|
|
`]))),U1=ot.div(Gh||(Gh=$e([`
|
|
padding: 10px;
|
|
color: white;
|
|
border-radius: `,`;
|
|
margin: 10px 0px;
|
|
font-size: `,`;
|
|
`,`
|
|
`,`;
|
|
`])),function(e){return e.theme.radius.card},function(e){return e.theme.fonts.smallText},function(e){return e.type===It.Error&&`
|
|
background-color: `+e.theme.colors.danger+`;
|
|
`},function(e){return e.type===It.Success&&`
|
|
background-color: `+e.theme.colors.success+`;
|
|
`}),$1=ot.div(Yh||(Yh=$e([`
|
|
display: flex;
|
|
flex-direction: `,`;
|
|
flex-wrap: `,`;
|
|
`,`;
|
|
`,`;
|
|
`,`
|
|
`])),function(e){var t=e.flexDirection,r=e.isResponsive;return r&&t!=="column"?"column":t||"row"},function(e){var t=e.wrap;return t||"wrap"},function(e){var t=e.alignItems;return t&&_n(Qh||(Qh=$e([`
|
|
align-items: `,`;
|
|
`])),t)},function(e){var t=e.justifyContent;return t&&_n(Kh||(Kh=$e([`
|
|
justify-content: `,`;
|
|
`])),t)},M1.lg(Xh||(Xh=$e([`
|
|
flex-direction: `,`
|
|
`])),function(e){var t=e.flexDirection;return t||"row"})),hc=function(t){var r=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return r.test(String(t.trim()).toLowerCase())},B1=["height","width","viewBox","children","style"],H1={userSelect:"none"},no=function(t){var r=t.height,n=t.width,i=t.viewBox,o=t.children,a=t.style,l=_h(t,B1),u=Fn({},H1,a);return E.default.createElement("svg",Object.assign({viewBox:i,width:n,height:r,style:u},l),o)};no.defaultProps={height:16,width:16};var W1=function(){return E.default.createElement(no,{width:"24",height:"24",viewBox:"0 0 291.32 291.32"},E.default.createElement("path",{d:"M145.66 0C65.219 0 0 65.219 0 145.66c0 80.45 65.219 145.66 145.66 145.66s145.66-65.21 145.66-145.66C291.319 65.219 226.1 0 145.66 0zm40.802 256.625c-.838-11.398-1.775-25.518-1.83-31.235-.364-4.388-.838-15.549-11.434-22.677 42.068-3.523 62.087-26.774 63.526-57.499 1.202-17.497-5.754-32.883-18.107-45.3.628-13.282-.401-29.023-1.256-35.941-9.486-2.731-31.608 8.949-37.79 13.947-13.037-5.062-44.945-6.837-64.336 0-13.747-9.668-29.396-15.64-37.926-13.974-7.875 17.452-2.813 33.948-1.275 35.914-10.142 9.268-24.289 20.675-20.447 44.572 6.163 35.04 30.816 53.94 70.508 58.564-8.466 1.73-9.896 8.048-10.606 10.788-26.656 10.997-34.275-6.791-37.644-11.425-11.188-13.847-21.23-9.832-21.849-9.614-.601.218-1.056 1.092-.992 1.511.564 2.986 6.655 6.018 6.955 6.263 8.257 6.154 11.316 17.27 13.2 20.438 11.844 19.473 39.374 11.398 39.638 11.562.018 1.702-.191 16.032-.355 27.184C64.245 245.992 27.311 200.2 27.311 145.66c0-65.365 52.984-118.348 118.348-118.348S264.008 80.295 264.008 145.66c0 51.008-32.318 94.332-77.546 110.965z",fill:"#2b414d"}))},q1=function(){return E.default.createElement(no,{width:"24",height:"24"},E.default.createElement("defs",null,E.default.createElement("clipPath",{id:"a"},E.default.createElement("path",{d:"M17.791 7.364H9.209v3.477h4.94c-.46 2.209-2.386 3.477-4.94 3.477A5.37 5.37 0 013.767 9 5.442 5.442 0 0112.6 4.868l2.679-2.618A9.29 9.29 0 009.209 0 9.08 9.08 0 000 9a9.08 9.08 0 009.209 9A8.586 8.586 0 0018 9a7.306 7.306 0 00-.209-1.636z",fill:"none"}))),E.default.createElement("path",{fill:"none",d:"M0 0h24v24H0z"}),E.default.createElement("path",{"data-name":"a",d:"M20.791 10.364h-8.582v3.477h4.94c-.46 2.209-2.386 3.477-4.94 3.477A5.37 5.37 0 016.767 12 5.442 5.442 0 0115.6 7.868l2.679-2.618A9.29 9.29 0 0012.209 3 9.08 9.08 0 003 12a9.08 9.08 0 009.209 9A8.586 8.586 0 0021 12a7.306 7.306 0 00-.209-1.636z",fill:"none"}),E.default.createElement("g",{"data-name":"Clipped",clipPath:"url(#a)",transform:"translate(3 3)"},E.default.createElement("path",{d:"M-.837 14.318V3.682L6.279 9z",fill:"#fbbc05"})),E.default.createElement("g",{"data-name":"Clipped"},E.default.createElement("path",{"data-name":"a",d:"M20.791 10.364h-8.582v3.477h4.94c-.46 2.209-2.386 3.477-4.94 3.477A5.37 5.37 0 016.767 12 5.442 5.442 0 0115.6 7.868l2.679-2.618A9.29 9.29 0 0012.209 3 9.08 9.08 0 003 12a9.08 9.08 0 009.209 9A8.586 8.586 0 0021 12a7.306 7.306 0 00-.209-1.636z",fill:"none"}),E.default.createElement("g",{"data-name":"Clipped",clipPath:"url(#a)",transform:"translate(3 3)"},E.default.createElement("path",{"data-name":"Path",d:"M-.837 3.682L6.279 9l2.93-2.5 10.047-1.6V-.818H-.837z",fill:"#ea4335"}))),E.default.createElement("g",{"data-name":"Clipped"},E.default.createElement("path",{"data-name":"a",d:"M20.791 10.364h-8.582v3.477h4.94c-.46 2.209-2.386 3.477-4.94 3.477A5.37 5.37 0 016.767 12 5.442 5.442 0 0115.6 7.868l2.679-2.618A9.29 9.29 0 0012.209 3 9.08 9.08 0 003 12a9.08 9.08 0 009.209 9A8.586 8.586 0 0021 12a7.306 7.306 0 00-.209-1.636z",fill:"none"}),E.default.createElement("g",{"data-name":"Clipped",clipPath:"url(#a)",transform:"translate(3 3)"},E.default.createElement("path",{"data-name":"Path",d:"M-.837 14.318l12.558-9.409 3.307.409 4.228-6.136v19.636H-.837z",fill:"#34a853"}))),E.default.createElement("g",{"data-name":"Clipped"},E.default.createElement("path",{"data-name":"a",d:"M20.791 10.364h-8.582v3.477h4.94c-.46 2.209-2.386 3.477-4.94 3.477A5.37 5.37 0 016.767 12 5.442 5.442 0 0115.6 7.868l2.679-2.618A9.29 9.29 0 0012.209 3 9.08 9.08 0 003 12a9.08 9.08 0 009.209 9A8.586 8.586 0 0021 12a7.306 7.306 0 00-.209-1.636z",fill:"none"}),E.default.createElement("g",{"data-name":"Clipped",clipPath:"url(#a)",transform:"translate(3 3)"},E.default.createElement("path",{"data-name":"Path",d:"M19.256 18.818L6.279 9 4.605 7.773l14.651-4.091z",fill:"#4285f4"}))))},G1=function(){return E.default.createElement(no,{viewBox:"0 0 50 50",width:"24px",height:"24px",fill:"#1877f2"},E.default.createElement("path",{d:"M41,4H9C6.24,4,4,6.24,4,9v32c0,2.76,2.24,5,5,5h32c2.76,0,5-2.24,5-5V9C46,6.24,43.76,4,41,4z M37,19h-2c-2.14,0-3,0.5-3,2 v3h5l-1,5h-4v15h-5V29h-4v-5h4v-3c0-4,2-7,6-7c2.9,0,4,1,4,1V19z"}))},Jh=function(){var t=Kt(),r=t.config,n=r.isGoogleLoginEnabled||r.isGithubLoginEnabled;return E.default.createElement(E.default.Fragment,null,r.isGoogleLoginEnabled&&E.default.createElement(E.default.Fragment,null,E.default.createElement(Hr,{appearance:yt.Default,onClick:function(){window.location.href=r.authorizerURL+"/oauth_login/google?redirectURL="+r.redirectURL}},E.default.createElement(q1,null),"Sign in with Google"),E.default.createElement("br",null)),r.isGithubLoginEnabled&&E.default.createElement(E.default.Fragment,null,E.default.createElement(Hr,{appearance:yt.Default,onClick:function(){window.location.href=r.authorizerURL+"/oauth_login/github?redirectURL="+r.redirectURL}},E.default.createElement(W1,null),"Sign in with Github"),E.default.createElement("br",null)),r.isFacebookLoginEnabled&&E.default.createElement(E.default.Fragment,null,E.default.createElement(Hr,{appearance:yt.Default,onClick:function(){window.location.href=r.authorizerURL+"/oauth_login/facebook?redirectURL="+r.redirectURL}},E.default.createElement(G1,null),"Sign in with Facebook"),E.default.createElement("br",null)),n&&r.isBasicAuthenticationEnabled&&E.default.createElement(V1,null,"OR"))},Y1=["height","width"],Q1=function(t){var r=t.height,n=t.width,i=_h(t,Y1);return E.default.createElement(no,Object.assign({width:n,height:r,viewBox:"0 0 17.205 16.919",style:{fill:"currentColor"}},i),E.default.createElement("g",{id:"Close_Blip","data-name":"Close Blip",transform:"translate(2.121 2.121)"},E.default.createElement("line",{id:"Line_139","data-name":"Line 139",x2:"12.963",y2:"12.677",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"3"}),E.default.createElement("line",{id:"Line_140","data-name":"Line 140",y1:"12.677",x2:"12.963",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"3"})))},vc=function(t){return t.replace("[GraphQL] ","")},K1=function(t){return t.charAt(0).toUpperCase()+t.slice(1)},Dn=function(t){var r=t.type,n=t.text,i=t.onClose;return n.trim()?E.default.createElement(U1,{type:r},E.default.createElement($1,{alignItems:"center",justifyContent:"space-between"},E.default.createElement("div",{style:{flex:1}},K1(n)),i&&E.default.createElement("span",{style:{cursor:"pointer"},onClick:i},E.default.createElement(Q1,{height:10,width:10})))):null},X1=function(t){var r=t.setView,n=(0,E.useState)(""),i=n[0],o=n[1],a=(0,E.useState)(!1),l=a[0],u=a[1],s=Kt(),m=s.setToken,S=s.setUser,y=s.config,x=s.authorizerRef,b=function(){var d=ro(Dt.mark(function c(p){var g;return Dt.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return u(!0),k.prev=1,k.next=4,x.login({email:p.email,password:p.password});case 4:g=k.sent,u(!1),o(""),S(g.user),m({accessToken:g.accessToken,accessTokenExpiresAt:g.accessTokenExpiresAt}),k.next=15;break;case 11:k.prev=11,k.t0=k.catch(1),u(!1),o(k.t0.message);case 15:case"end":return k.stop()}},c,null,[[1,11]])}));return function(p){return d.apply(this,arguments)}}(),_=function(){o("")};return E.default.createElement(E.default.Fragment,null,i&&E.default.createElement(Dn,{type:It.Error,text:i,onClose:_}),E.default.createElement(Jh,null),y.isBasicAuthenticationEnabled&&E.default.createElement(E.default.Fragment,null,E.default.createElement(to,{onSubmit:b,validate:function(c){var p={};return c.email||(p.email="Email is required"),c.email&&c.email.trim()&&!hc(c.email)&&(p.email="Please enter valid email"),c.password||(p.password="Password is required"),p}},function(d){var c=d.handleSubmit,p=d.pristine;return E.default.createElement("form",{onSubmit:c,name:"authorizer-login-form"},E.default.createElement(Cr,null,E.default.createElement(Yt,{name:"email"},function(g){var h=g.input,k=g.meta;return E.default.createElement("div",null,E.default.createElement(xr,null,E.default.createElement(kr,null,"*"),"Email"),E.default.createElement(br,Object.assign({},h,{type:"email",placeholder:"eg. foo@bar.com",hasError:Boolean(k.error&&k.touched)})),k.error&&k.touched&&E.default.createElement(Pr,null,k.error))})),E.default.createElement(Cr,null,E.default.createElement(Yt,{name:"password"},function(g){var h=g.input,k=g.meta;return E.default.createElement("div",null,E.default.createElement(xr,null,E.default.createElement(kr,null,"*"),"Password"),E.default.createElement(br,Object.assign({},h,{type:"password",placeholder:"*********",hasError:Boolean(k.error&&k.touched)})),k.error&&k.touched&&E.default.createElement(Pr,null,k.error))})),E.default.createElement("br",null),E.default.createElement(Hr,{type:"submit",disabled:p||l,appearance:yt.Primary},l?"Processing ...":"Log In"))}),E.default.createElement(mc,null,E.default.createElement(il,{onClick:function(){return r(zt.ForgotPassword)},style:{marginBottom:10}},"Forgot Password?"),E.default.createElement("div",null,"Don't have an account?"," ",E.default.createElement(il,{onClick:function(){return r(zt.Signup)}},"Sign Up")))))},ev={colors:{primary:"#3B82F6",primaryDisabled:"#60A5FA",gray:"#D1D5DB",danger:"#DC2626",success:"#10B981",textColor:"#374151"},fonts:{fontStack:"-apple-system, system-ui, sans-serif",largeText:"18px",mediumText:"14px",smallText:"12px",tinyText:"10px"},radius:{card:"5px",button:"5px",input:"5px"}},Z1=function(t){var r=t.setView,n=(0,E.useState)(""),i=n[0],o=n[1],a=(0,E.useState)(!1),l=a[0],u=a[1],s=(0,E.useState)(""),m=s[0],S=s[1],y=Kt(),x=y.authorizerRef,b=y.config,_=y.setToken,d=y.setUser,c=function(){var g=ro(Dt.mark(function h(k){var O;return Dt.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.prev=0,u(!0),C.next=4,x.signup(k);case 4:O=C.sent,u(!1),o(""),O.accessToken?(o(""),d(O.user),_({accessToken:O.accessToken,accessTokenExpiresAt:O.accessTokenExpiresAt})):S(O.message),C.next=14;break;case 10:C.prev=10,C.t0=C.catch(0),u(!1),o(vc(C.t0.message));case 14:case"end":return C.stop()}},h,null,[[0,10]])}));return function(k){return g.apply(this,arguments)}}(),p=function(){o("")};return m?E.default.createElement(Dn,{type:It.Success,text:m}):E.default.createElement(E.default.Fragment,null,i&&E.default.createElement(Dn,{type:It.Error,text:i,onClose:p}),E.default.createElement(Jh,null),b.isBasicAuthenticationEnabled&&E.default.createElement(E.default.Fragment,null,E.default.createElement(to,{onSubmit:c,validate:function(h){var k={};return h.email||(k.email="Email is required"),h.email&&h.email.trim()&&!hc(h.email)&&(k.email="Please enter valid email"),h.password||(k.password="Password is required"),h.confirmPassword||(k.password="Confirm password is required"),h.password&&h.confirmPassword&&h.confirmPassword!==h.password&&(k.confirmPassword="Password and confirm passwords don't match",k.password="Password and confirm passwords don't match"),k}},function(g){var h=g.handleSubmit,k=g.pristine;return E.default.createElement("form",{onSubmit:h,name:"authorizer-signup-form"},E.default.createElement(Cr,null,E.default.createElement(Yt,{name:"email"},function(O){var A=O.input,C=O.meta;return E.default.createElement("div",null,E.default.createElement(xr,null,E.default.createElement(kr,null,"*"),"Email"),E.default.createElement(br,Object.assign({},A,{type:"email",placeholder:"eg. foo@bar.com",hasError:Boolean(C.error&&C.touched)})),C.error&&C.touched&&E.default.createElement(Pr,null,C.error))})),E.default.createElement(Cr,null,E.default.createElement(Yt,{name:"password"},function(O){var A=O.input,C=O.meta;return E.default.createElement("div",null,E.default.createElement(xr,null,E.default.createElement(kr,null,"*"),"Password"),E.default.createElement(br,Object.assign({},A,{type:"password",placeholder:"*********",hasError:Boolean(C.error&&C.touched)})),C.error&&C.touched&&E.default.createElement(Pr,null,C.error))})),E.default.createElement(Cr,null,E.default.createElement(Yt,{name:"confirmPassword"},function(O){var A=O.input,C=O.meta;return E.default.createElement("div",null,E.default.createElement(xr,null,E.default.createElement(kr,null,"*"),"Confirm Password"),E.default.createElement(br,Object.assign({},A,{type:"password",placeholder:"*********",hasError:Boolean(C.error&&C.touched)})),C.error&&C.touched&&E.default.createElement(Pr,null,C.error))})),E.default.createElement("br",null),E.default.createElement(Hr,{type:"submit",disabled:k||l,appearance:yt.Primary},l?"Processing ...":"Sign Up"))}),E.default.createElement(mc,null,E.default.createElement("div",null,"Already have an account?"," ",E.default.createElement(il,{onClick:function(){return r(zt.Login)}},"Log In")))))},J1=function(t){var r=t.setView,n=(0,E.useState)(""),i=n[0],o=n[1],a=(0,E.useState)(!1),l=a[0],u=a[1],s=(0,E.useState)(""),m=s[0],S=s[1],y=Kt(),x=y.authorizerRef,b=function(){var d=ro(Dt.mark(function c(p){var g;return Dt.wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.prev=0,u(!0),k.next=4,x.forgotPassword({email:p.email});case 4:g=k.sent,u(!1),g.message&&(o(""),S(g.message)),k.next=13;break;case 9:k.prev=9,k.t0=k.catch(0),u(!1),k.t0.message&&o(vc(k.t0.message));case 13:case"end":return k.stop()}},c,null,[[0,9]])}));return function(p){return d.apply(this,arguments)}}(),_=function(){o("")};return m?E.default.createElement(Dn,{type:It.Success,text:m}):E.default.createElement(E.default.Fragment,null,i&&E.default.createElement(Dn,{type:It.Error,text:i,onClose:_}),E.default.createElement("p",{style:{textAlign:"center",margin:"10px 0px"}},"Please enter your email address.",E.default.createElement("br",null)," We will send you an email to reset your password."),E.default.createElement("br",null),E.default.createElement(to,{onSubmit:b,validate:function(c){var p={};return c.email||(p.email="Email is required"),c.email&&c.email.trim()&&!hc(c.email)&&(p.email="Please enter valid email"),p}},function(d){var c=d.handleSubmit,p=d.pristine;return E.default.createElement("form",{onSubmit:c,name:"authorizer-forgot-password-form"},E.default.createElement(Cr,null,E.default.createElement(Yt,{name:"email"},function(g){var h=g.input,k=g.meta;return E.default.createElement("div",null,E.default.createElement(xr,null,E.default.createElement(kr,null,"*"),"Email"),E.default.createElement(br,Object.assign({},h,{type:"email",placeholder:"eg. foo@bar.com",hasError:Boolean(k.error&&k.touched)})),k.error&&k.touched&&E.default.createElement(Pr,null,k.error))})),E.default.createElement("br",null),E.default.createElement(Hr,{type:"submit",disabled:p||l,appearance:yt.Primary},l?"Processing ...":"Send Email"))}),E.default.createElement(mc,null,E.default.createElement("div",null,"Remember your password?"," ",E.default.createElement(il,{onClick:function(){return r(zt.Login)}},"Log In"))))},ew=function(t){t===void 0&&(t=window.location.search);var r=new URLSearchParams(t),n=Object.fromEntries(r.entries());return n},tv=function(t){var r=t.onReset,n=ew(),i=n.token,o=(0,E.useState)(i?"":"Invalid token"),a=o[0],l=o[1],u=(0,E.useState)(!1),s=u[0],m=u[1],S=Kt(),y=S.authorizerRef,x=S.config,b=function(){var d=ro(Dt.mark(function c(p){return Dt.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return m(!0),h.prev=1,h.next=4,y.resetPassword(Fn({token:i},p));case 4:m(!1),l(""),r?r():(console.log({config:x,o:window.location.origin}),window.location.href=x.redirectURL||window.location.origin),h.next=13;break;case 9:h.prev=9,h.t0=h.catch(1),m(!1),l(vc(h.t0.message));case 13:case"end":return h.stop()}},c,null,[[1,9]])}));return function(p){return d.apply(this,arguments)}}(),_=function(){l("")};return E.default.createElement(ic,{theme:ev},E.default.createElement(Zh,null,a&&E.default.createElement(Dn,{type:It.Error,text:a,onClose:_}),E.default.createElement(to,{onSubmit:b,validate:function(c){var p={};return c.password||(p.password="Password is required"),c.confirmPassword||(p.password="Confirm password is required"),c.password&&c.confirmPassword&&c.confirmPassword!==c.password&&(p.confirmPassword="Password and confirm passwords don't match",p.password="Password and confirm passwords don't match"),p}},function(d){var c=d.handleSubmit,p=d.pristine;return E.default.createElement("form",{onSubmit:c,name:"authorizer-reset-password-form"},E.default.createElement(Cr,null,E.default.createElement(Yt,{name:"password"},function(g){var h=g.input,k=g.meta;return E.default.createElement("div",null,E.default.createElement(xr,null,E.default.createElement(kr,null,"*"),"Password"),E.default.createElement(br,Object.assign({},h,{type:"password",placeholder:"*********",hasError:Boolean(k.error&&k.touched)})),k.error&&k.touched&&E.default.createElement(Pr,null,k.error))})),E.default.createElement(Cr,null,E.default.createElement(Yt,{name:"confirmPassword"},function(g){var h=g.input,k=g.meta;return E.default.createElement("div",null,E.default.createElement(xr,null,E.default.createElement(kr,null,"*"),"Confirm Password"),E.default.createElement(br,Object.assign({},h,{type:"password",placeholder:"*********",hasError:Boolean(k.error&&k.touched)})),k.error&&k.touched&&E.default.createElement(Pr,null,k.error))})),E.default.createElement("br",null),E.default.createElement(Hr,{type:"submit",disabled:p||s,appearance:yt.Primary},s?"Processing ...":"Reset Password"))})))},io,tw=(io={},io[zt.Login]=X1,io[zt.Signup]=Z1,io[zt.ForgotPassword]=J1,io),rv=function(){var t=(0,E.useState)(zt.Login),r=t[0],n=t[1],i=tw[r];return E.default.createElement(ic,{theme:ev},E.default.createElement(Zh,null,E.default.createElement(i,{setView:n})))};var gt=ye(Be());var Mt=ye(Be());function yc(){let[e,t]=Mt.default.useState(!1),{user:r,setToken:n,authorizerRef:i}=Kt(),o=()=>kc(this,null,function*(){t(!0),yield i.logout(),n(null),t(!1)});return Mt.default.createElement("div",null,Mt.default.createElement("h1",null,"Hey \u{1F44B},"),Mt.default.createElement("p",null,"Thank you for joining authorizer demo app."),Mt.default.createElement("p",null,"Your email address is"," ",Mt.default.createElement("a",{href:`mailto:${r==null?void 0:r.email}`,style:{color:"#3B82F6"}},r==null?void 0:r.email)),Mt.default.createElement("br",null),e?Mt.default.createElement("h3",null,"Processing...."):Mt.default.createElement("h3",{style:{color:"#3B82F6",cursor:"pointer"},onClick:o},"Logout"))}var oo=ye(Be());function gc(){return oo.default.createElement(oo.Fragment,null,oo.default.createElement(rv,null))}var Wr=ye(Be());function wc(){return Wr.default.createElement(Wr.Fragment,null,Wr.default.createElement("h1",{style:{textAlign:"center"}},"Reset Password"),Wr.default.createElement("br",null),Wr.default.createElement(tv,null))}function Ec(){let{token:e,loading:t,config:r}=Kt();return(0,gt.useEffect)(()=>(e&&new URL(r.redirectURL||"/app").origin!==window.location.origin&&(window.location.href=r.redirectURL||"/app"),()=>{}),[e]),t?gt.default.createElement("h1",null,"Loading..."):e?gt.default.createElement(Wa,null,gt.default.createElement(Bi,{path:"/app",exact:!0},gt.default.createElement(yc,null))):gt.default.createElement(Wa,null,gt.default.createElement(Bi,{path:"/app",exact:!0},gt.default.createElement(gc,null)),gt.default.createElement(Bi,{path:"/app/reset-password"},gt.default.createElement(wc,null)))}function Sc(){let e=window.__authorizer__;return Xt.default.createElement("div",{style:{display:"flex",justifyContent:"center",flexDirection:"column"}},Xt.default.createElement("div",{style:{display:"flex",justifyContent:"center",marginTop:20,flexDirection:"column",alignItems:"center"}},Xt.default.createElement("img",{src:`${e.organizationLogo}`,alt:"logo",style:{height:60,width:60,objectFit:"cover"}}),Xt.default.createElement("h1",null,e.organizationName)),Xt.default.createElement("div",{style:{width:400,margin:"10px auto",border:"1px solid #D1D5DB",padding:"25px 20px",borderRadius:5}},Xt.default.createElement(Fm,null,Xt.default.createElement(jh,{config:{authorizerURL:e.authorizerURL,redirectURL:e.redirectURL}},Xt.default.createElement(Ec,null)))))}iv.default.render(nv.default.createElement(Sc,null),document.getElementById("root"));})();
|
|
/*
|
|
object-assign
|
|
(c) Sindre Sorhus
|
|
@license MIT
|
|
*/
|
|
/*! *****************************************************************************
|
|
Copyright (c) Microsoft Corporation.
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
purpose with or without fee is hereby granted.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
PERFORMANCE OF THIS SOFTWARE.
|
|
***************************************************************************** */
|
|
/** @license React v0.20.2
|
|
* 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.
|
|
*/
|
|
/** @license React v16.13.1
|
|
* react-is.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.
|
|
*/
|
|
/** @license React v17.0.2
|
|
* 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.
|
|
*/
|
|
/** @license React v17.0.2
|
|
* react-is.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.
|
|
*/
|
|
/** @license React v17.0.2
|
|
* 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.
|
|
*/
|
|
//# sourceMappingURL=bundle.js.map
|