vendor: 9,421 bytes, line 1
1var rv=Object.defineProperty;var ov=(e,t,n)=>t in e?rv(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var se=(e,t,n)=>ov(e,typeof t!="symbol"?t+"":t,n);function iv(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var GC=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ar(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var md={exports:{}},Qi={},vd={exports:{}},U={};var ao=Symbol.for("react.element"),lv=Symbol.for("react.portal"),sv=Symbol.for("react.fragment"),av=Symbol.for("react.strict_mode"),uv=Symbol.for("react.profiler"),cv=Symbol.for("react.provider"),fv=Symbol.for("react.context"),dv=Symbol.for("react.forward_ref"),pv=Symbol.for("react.suspense"),hv=Symbol.for("react.memo"),mv=Symbol.for("react.lazy"),lc=Symbol.iterator;function vv(e){return e===null||typeof e!="object"?null:(e=lc&&e[lc]||e["@@iterator"],typeof e=="function"?e:null)}var gd={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},yd=Object.assign,wd={};function ur(e,t,n){this.props=e,this.context=t,this.refs=wd,this.updater=n||gd}ur.prototype.isReactComponent={};ur.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};ur.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Sd(){}Sd.prototype=ur.prototype;function Ha(e,t,n){this.props=e,this.context=t,this.refs=wd,this.updater=n||gd}var Va=Ha.prototype=new Sd;Va.constructor=Ha;yd(Va,ur.prototype);Va.isPureReactComponent=!0;var sc=Array.isArray,kd=Object.prototype.hasOwnProperty,Ka={current:null},Ed={key:!0,ref:!0,__self:!0,__source:!0};function Cd(e,t,n){var r,o={},i=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(i=""+t.key),t)kd.call(t,r)&&!Ed.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var a=Array(s),u=0;u<s;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:ao,type:e,key:i,ref:l,props:o,_owner:Ka.current}}function gv(e,t){return{$$typeof:ao,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Qa(e){return typeof e=="object"&&e!==null&&e.$$typeof===ao}function yv(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var ac=/\/+/g;function Tl(e,t){return typeof e=="object"&&e!==null&&e.key!=null?yv(""+e.key):t.toString(36)}function Xo(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(i){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case ao:case lv:l=!0}}if(l)return l=e,o=o(l),e=r===""?"."+Tl(l,0):r,sc(o)?(n="",e!=null&&(n=e.replace(ac,"$&/")+"/"),Xo(o,t,n,"",function(u){return u})):o!=null&&(Qa(o)&&(o=gv(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(ac,"$&/")+"/")+e)),t.push(o)),1;if(l=0,r=r===""?".":r+":",sc(e))for(var s=0;s<e.length;s++){i=e[s];var a=r+Tl(i,s);l+=Xo(i,t,n,a,o)}else if(a=vv(e),typeof a=="function")for(e=a.call(e),s=0;!(i=e.next()).done;)i=i.value,a=r+Tl(i,s++),l+=Xo(i,t,n,a,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function ko(e,t,n){if(e==null)return e;var r=[],o=0;return Xo(e,r,"","",function(i){return t.call(n,i,o++)}),r}function wv(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Se={current:null},Jo={transition:null},Sv={ReactCurrentDispatcher:Se,ReactCurrentBatchConfig:Jo,ReactCurrentOwner:Ka};function _d(){throw Error("act(...) is not supported in production builds of React.")}U.Children={map:ko,forEach:function(e,t,n){ko(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ko(e,function(){t++}),t},toArray:function(e){return ko(e,function(t){return t})||[]},only:function(e){if(!Qa(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};U.Component=ur;U.Fragment=sv;U.Profiler=uv;U.PureComponent=Ha;U.StrictMode=av;U.Suspense=pv;U.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Sv;U.act=_d;U.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=yd({},e.props),o=e.key,i=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,l=Ka.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(a in t)kd.call(t,a)&&!Ed.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&s!==void 0?s[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){s=Array(a);for(var u=0;u<a;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:ao,type:e.type,key:o,ref:i,props:r,_owner:l}};U.createContext=function(e){return e={$$typeof:fv,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:cv,_context:e},e.Consumer=e};U.createElement=Cd;U.createFactory=function(e){var t=Cd.bind(null,e);return t.type=e,t};U.createRef=function(){return{current:null}};U.forwardRef=function(e){return{$$typeof:dv,render:e}};U.isValidElement=Qa;U.lazy=function(e){return{$$typeof:mv,_payload:{_status:-1,_result:e},_init:wv}};U.memo=function(e,t){return{$$typeof:hv,type:e,compare:t===void 0?null:t}};U.startTransition=function(e){var t=Jo.transition;Jo.transition={};try{e()}finally{Jo.transition=t}};U.unstable_act=_d;U.useCallback=function(e,t){return Se.current.useCallback(e,t)};U.useContext=function(e){return Se.current.useContext(e)};U.useDebugValue=function(){};U.useDeferredValue=function(e){return Se.current.useDeferredValue(e)};U.useEffect=function(e,t){return Se.current.useEffect(e,t)};U.useId=function(){return Se.current.useId()};U.useImperativeHandle=function(e,t,n){return Se.current.useImperativeHandle(e,t,n)};U.useInsertionEffect=function(e,t){return Se.current.useInsertionEffect(e,t)};U.useLayoutEffect=function(e,t){return Se.current.useLayoutEffect(e,t)};U.useMemo=function(e,t){return Se.current.useMemo(e,t)};U.useReducer=function(e,t,n){return Se.current.useReducer(e,t,n)};U.useRef=function(e){return Se.current.useRef(e)};U.useState=function(e){return Se.current.useState(e)};U.useSyncExternalStore=function(e,t,n){return Se.current.useSyncExternalStore(e,t,n)};U.useTransition=function(){return Se.current.useTransition()};U.version="18.3.1";vd.exports=U;var y=vd.exports;const k=ar(y),YC=iv({__proto__:null,default:k},[y]);var kv=y,Ev=Symbol.for("react.element"),Cv=Symbol.for("react.fragment"),_v=Object.prototype.hasOwnProperty,Pv=kv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Tv={key:!0,ref:!0,__self:!0,__source:!0};function Pd(e,t,n){var r,o={},i=null,l=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)_v.call(t,r)&&!Tv.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:Ev,type:e,key:i,ref:l,props:o,_owner:Pv.current}}Qi.Fragment=Cv;Qi.jsx=Pd;Qi.jsxs=Pd;md.exports=Qi;var XC=md.exports,uc={},Td={exports:{}},Ue={},Rd={exports:{}},xd={};(function(e){function t(O,M){var A=O.length;O.push(M);e:for(;0<A;){var Y=A-1>>>1,ne=O[Y];if(0<o(ne,M))O[Y]=M,O[A]=ne,A=Y;else break e}}function n(O){return O.length===0?null:O[0]}function r(O){if(O.length===0)return null;var M=O[0],A=O.pop();if(A!==M){O[0]=A;e:for(var Y=0,ne=O.length,wo=ne>>>1;Y<wo;){var en=2*(Y+1)-1,Pl=O[en],tn=en+1,So=O[tn];if(0>o(Pl,A))tn<ne&&0>o(So,Pl)?(O[Y]=So,O[tn]=A,Y=tn):(O[Y]=Pl,O[en]=A,Y=en);else if(tn<ne&&0>o(So,A))O[Y]=So,O[tn]=A,Y=tn;else break e}}return M}function o(O,M){var A=O.sortIndex-M.sortIndex;return A!==0?A:O.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],u=[],c=1,f=null,p=3,g=!1,w=!1,v=!1,S=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function m(O){for(var M=n(u);M!==null;){if(M.callback===null)r(u);else if(M.startTime<=O)r(u),M.sortIndex=M.expirationTime,t(a,M);else break;M=n(u)}}function E(O){if(v=!1,m(O),!w)if(n(a)!==null)w=!0,Cn(C);else{var M=n(u);M!==null&&ze(E,M.startTime-O)}}
vendor: 8,960 bytes, lines 1-2
1function C(O,M){w=!1,v&&(v=!1,h(R),R=-1),g=!0;var A=p;try{for(m(M),f=n(a);f!==null&&(!(f.expirationTime>M)||O&&!z());){var Y=f.callback;if(typeof Y=="function"){f.callback=null,p=f.priorityLevel;var ne=Y(f.expirationTime<=M);M=e.unstable_now(),typeof ne=="function"?f.callback=ne:f===n(a)&&r(a),m(M)}else r(a);f=n(a)}if(f!==null)var wo=!0;else{var en=n(u);en!==null&&ze(E,en.startTime-M),wo=!1}return wo}finally{f=null,p=A,g=!1}}var P=!1,_=null,R=-1,L=5,I=-1;function z(){return!(e.unstable_now()-I<L)}function ee(){if(_!==null){var O=e.unstable_now();I=O;var M=!0;try{M=_(!0,O)}finally{M?te():(P=!1,_=null)}}else P=!1}var te;if(typeof d=="function")te=function(){d(ee)};else if(typeof MessageChannel<"u"){var le=new MessageChannel,Ee=le.port2;le.port1.onmessage=ee,te=function(){Ee.postMessage(null)}}else te=function(){S(ee,0)};function Cn(O){_=O,P||(P=!0,te())}function ze(O,M){R=S(function(){O(e.unstable_now())},M)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(O){O.callback=null},e.unstable_continueExecution=function(){w||g||(w=!0,Cn(C))},e.unstable_forceFrameRate=function(O){0>O||125<O||(L=0<O?Math.floor(1e3/O):5)},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(O){switch(p){case 1:case 2:case 3:var M=3;break;default:M=p}var A=p;p=M;try{return O()}finally{p=A}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(O,M){switch(O){case 1:case 2:case 3:case 4:case 5:break;default:O=3}var A=p;p=O;try{return M()}finally{p=A}},e.unstable_scheduleCallback=function(O,M,A){var Y=e.unstable_now();switch(typeof A=="object"&&A!==null?(A=A.delay,A=typeof A=="number"&&0<A?Y+A:Y):A=Y,O){case 1:var ne=-1;break;case 2:ne=250;break;case 5:ne=1073741823;break;case 4:ne=1e4;break;default:ne=5e3}return ne=A+ne,O={id:c++,callback:M,priorityLevel:O,startTime:A,expirationTime:ne,sortIndex:-1},A>Y?(O.sortIndex=A,t(u,O),n(a)===null&&O===n(u)&&(v?(h(R),R=-1):v=!0,ze(E,A-Y))):(O.sortIndex=ne,t(a,O),w||g||(w=!0,Cn(C))),O},e.unstable_shouldYield=z,e.unstable_wrapCallback=function(O){var M=p;return function(){var A=p;p=M;try{return O.apply(this,arguments)}finally{p=A}}}})(xd);Rd.exports=xd;var Rv=Rd.exports;var xv=y,Ae=Rv;function T(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Od=new Set,Vr={};function kn(e,t){Zn(e,t),Zn(e+"Capture",t)}function Zn(e,t){for(Vr[e]=t,e=0;e<t.length;e++)Od.add(t[e])}var kt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ps=Object.prototype.hasOwnProperty,Ov=/^[: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]*$/,cc={},fc={};function Lv(e){return Ps.call(fc,e)?!0:Ps.call(cc,e)?!1:Ov.test(e)?fc[e]=!0:(cc[e]=!0,!1)}function Iv(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Mv(e,t,n,r){if(t===null||typeof t>"u"||Iv(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ke(e,t,n,r,o,i,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=l}var ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ce[e]=new ke(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ce[t]=new ke(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ce[e]=new ke(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ce[e]=new ke(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){ce[e]=new ke(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ce[e]=new ke(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ce[e]=new ke(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ce[e]=new ke(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ce[e]=new ke(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ga=/[\-:]([a-z])/g;function Ya(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(Ga,Ya);ce[t]=new ke(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(Ga,Ya);ce[t]=new ke(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(Ga,Ya);ce[t]=new ke(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ce[e]=new ke(e,1,!1,e.toLowerCase(),null,!1,!1)});ce.xlinkHref=new ke("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ce[e]=new ke(e,1,!1,e.toLowerCase(),null,!0,!0)});function Xa(e,t,n,r){var o=ce.hasOwnProperty(t)?ce[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(Mv(t,n,o,r)&&(n=null),r||o===null?Lv(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Tt=xv.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Eo=Symbol.for("react.element"),In=Symbol.for("react.portal"),Mn=Symbol.for("react.fragment"),Ja=Symbol.for("react.strict_mode"),Ts=Symbol.for("react.profiler"),Ld=Symbol.for("react.provider"),Id=Symbol.for("react.context"),qa=Symbol.for("react.forward_ref"),Rs=Symbol.for("react.suspense"),xs=Symbol.for("react.suspense_list"),Za=Symbol.for("react.memo"),It=Symbol.for("react.lazy"),Md=Symbol.for("react.offscreen"),dc=Symbol.iterator;function vr(e){return e===null||typeof e!="object"?null:(e=dc&&e[dc]||e["@@iterator"],typeof e=="function"?e:null)}var Q=Object.assign,Rl;function Rr(e){if(Rl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Rl=t&&t[1]||""}return` 2`+Rl+e}var xl=!1;function Ol(e,t){if(!e||xl)return"";xl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 5,495 bytes, lines 2-5
2catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` 3`),i=r.stack.split(` 4`),l=o.length-1,s=i.length-1;1<=l&&0<=s&&o[l]!==i[s];)s--;for(;1<=l&&0<=s;l--,s--)if(o[l]!==i[s]){if(l!==1||s!==1)do if(l--,s--,0>s||o[l]!==i[s]){var a=` 5`+o[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{xl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Rr(e):""}function Av(e){switch(e.tag){case 5:return Rr(e.type);case 16:return Rr("Lazy");case 13:return Rr("Suspense");case 19:return Rr("SuspenseList");case 0:case 2:case 15:return e=Ol(e.type,!1),e;case 11:return e=Ol(e.type.render,!1),e;case 1:return e=Ol(e.type,!0),e;default:return""}}function Os(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 Mn:return"Fragment";case In:return"Portal";case Ts:return"Profiler";case Ja:return"StrictMode";case Rs:return"Suspense";case xs:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Id:return(e.displayName||"Context")+".Consumer";case Ld:return(e._context.displayName||"Context")+".Provider";case qa:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Za:return t=e.displayName||null,t!==null?t:Os(e.type)||"Memo";case It:t=e._payload,e=e._init;try{return Os(e(t))}catch{}}return null}function Uv(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Os(t);case 8:return t===Ja?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Yt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Ad(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function jv(e){var t=Ad(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(l){r=""+l,i.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Co(e){e._valueTracker||(e._valueTracker=jv(e))}function Ud(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Ad(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function yi(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ls(e,t){var n=t.checked;return Q({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function pc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Yt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function jd(e,t){t=t.checked,t!=null&&Xa(e,"checked",t,!1)}function Is(e,t){jd(e,t);var n=Yt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ms(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ms(e,t.type,Yt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function hc(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ms(e,t,n){(t!=="number"||yi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var xr=Array.isArray;function Hn(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Yt(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function As(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return Q({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function mc(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(T(92));
vendor: 12,671 bytes, line 5
5if(xr(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Yt(n)}}function Nd(e,t){var n=Yt(t.value),r=Yt(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function vc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function zd(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 Us(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?zd(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var _o,Dd=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(_o=_o||document.createElement("div"),_o.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=_o.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Kr(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ur={animationIterationCount:!0,aspectRatio:!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},Nv=["Webkit","ms","Moz","O"];Object.keys(Ur).forEach(function(e){Nv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ur[t]=Ur[e]})});function Fd(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ur.hasOwnProperty(e)&&Ur[e]?(""+t).trim():t+"px"}function $d(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Fd(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var zv=Q({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 js(e,t){if(t){if(zv[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(T(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(T(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(T(61))}if(t.style!=null&&typeof t.style!="object")throw Error(T(62))}}function Ns(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}}var zs=null;function eu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Ds=null,Vn=null,Kn=null;function gc(e){if(e=fo(e)){if(typeof Ds!="function")throw Error(T(280));var t=e.stateNode;t&&(t=qi(t),Ds(e.stateNode,e.type,t))}}function bd(e){Vn?Kn?Kn.push(e):Kn=[e]:Vn=e}function Wd(){if(Vn){var e=Vn,t=Kn;if(Kn=Vn=null,gc(e),t)for(e=0;e<t.length;e++)gc(t[e])}}function Bd(e,t){return e(t)}function Hd(){}var Ll=!1;function Vd(e,t,n){if(Ll)return e(t,n);Ll=!0;try{return Bd(e,t,n)}finally{Ll=!1,(Vn!==null||Kn!==null)&&(Hd(),Wd())}}function Qr(e,t){var n=e.stateNode;if(n===null)return null;var r=qi(n);if(r===null)return null;n=r[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":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(T(231,t,typeof n));return n}var Fs=!1;if(kt)try{var gr={};Object.defineProperty(gr,"passive",{get:function(){Fs=!0}}),window.addEventListener("test",gr,gr),window.removeEventListener("test",gr,gr)}catch{Fs=!1}function Dv(e,t,n,r,o,i,l,s,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var jr=!1,wi=null,Si=!1,$s=null,Fv={onError:function(e){jr=!0,wi=e}};function $v(e,t,n,r,o,i,l,s,a){jr=!1,wi=null,Dv.apply(Fv,arguments)}function bv(e,t,n,r,o,i,l,s,a){if($v.apply(this,arguments),jr){if(jr){var u=wi;jr=!1,wi=null}else throw Error(T(198));Si||(Si=!0,$s=u)}}function En(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Kd(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 yc(e){if(En(e)!==e)throw Error(T(188))}function Wv(e){var t=e.alternate;if(!t){if(t=En(e),t===null)throw Error(T(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return yc(o),e;if(i===r)return yc(o),t;i=i.sibling}throw Error(T(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l)throw Error(T(189))}}if(n.alternate!==r)throw Error(T(190))}if(n.tag!==3)throw Error(T(188));return n.stateNode.current===n?e:t}function Qd(e){return e=Wv(e),e!==null?Gd(e):null}function Gd(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Gd(e);if(t!==null)return t;e=e.sibling}return null}var Yd=Ae.unstable_scheduleCallback,wc=Ae.unstable_cancelCallback,Bv=Ae.unstable_shouldYield,Hv=Ae.unstable_requestPaint,X=Ae.unstable_now,Vv=Ae.unstable_getCurrentPriorityLevel,tu=Ae.unstable_ImmediatePriority,Xd=Ae.unstable_UserBlockingPriority,ki=Ae.unstable_NormalPriority,Kv=Ae.unstable_LowPriority,Jd=Ae.unstable_IdlePriority,Gi=null,dt=null;function Qv(e){if(dt&&typeof dt.onCommitFiberRoot=="function")try{dt.onCommitFiberRoot(Gi,e,void 0,(e.current.flags&128)===128)}catch{}}var Ze=Math.clz32?Math.clz32:Xv,Gv=Math.log,Yv=Math.LN2;function Xv(e){return e>>>=0,e===0?32:31-(Gv(e)/Yv|0)|0}var Po=64,To=4194304;function Or(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ei(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~o;s!==0?r=Or(s):(i&=l,i!==0&&(r=Or(i)))}else l=n&~o,l!==0?r=Or(l):i!==0&&(r=Or(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Ze(t),o=1<<n,r|=e[n],t&=~o;return r}function Jv(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function qv(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var l=31-Ze(i),s=1<<l,a=o[l];a===-1?(!(s&n)||s&r)&&(o[l]=Jv(s,t)):a<=t&&(e.expiredLanes|=s),i&=~s}}function bs(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function qd(){var e=Po;return Po<<=1,!(Po&4194240)&&(Po=64),e}function Il(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function uo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ze(t),e[t]=n}function Zv(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Ze(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function nu(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ze(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var N=0;function Zd(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var ep,ru,tp,np,rp,Ws=!1,Ro=[],bt=null,Wt=null,Bt=null,Gr=new Map,Yr=new Map,Ut=[],eg="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 Sc(e,t){switch(e){case"focusin":case"focusout":bt=null;break;case"dragenter":case"dragleave":Wt=null;break;case"mouseover":case"mouseout":Bt=null;break;case"pointerover":case"pointerout":Gr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Yr.delete(t.pointerId)}}function yr(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=fo(t),t!==null&&ru(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function tg(e,t,n,r,o){switch(t){case"focusin":return bt=yr(bt,e,t,n,r,o),!0;case"dragenter":return Wt=yr(Wt,e,t,n,r,o),!0;case"mouseover":return Bt=yr(Bt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Gr.set(i,yr(Gr.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Yr.set(i,yr(Yr.get(i)||null,e,t,n,r,o)),!0}return!1}function op(e){var t=ln(e.target);if(t!==null){var n=En(t);if(n!==null){if(t=n.tag,t===13){if(t=Kd(n),t!==null){e.blockedOn=t,rp(e.priority,function(){tp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function qo(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Bs(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);zs=r,n.target.dispatchEvent(r),zs=null}else return t=fo(n),t!==null&&ru(t),e.blockedOn=n,!1;t.shift()}return!0}function kc(e,t,n){qo(e)&&n.delete(t)}function ng(){Ws=!1,bt!==null&&qo(bt)&&(bt=null),Wt!==null&&qo(Wt)&&(Wt=null),Bt!==null&&qo(Bt)&&(Bt=null),Gr.forEach(kc),Yr.forEach(kc)}function wr(e,t){e.blockedOn===t&&(e.blockedOn=null,Ws||(Ws=!0,Ae.unstable_scheduleCallback(Ae.unstable_NormalPriority,ng)))}function Xr(e){function t(o){return wr(o,e)}if(0<Ro.length){wr(Ro[0],e);for(var n=1;n<Ro.length;n++){var r=Ro[n];r.blockedOn===e&&(r.blockedOn=null)}}for(bt!==null&&wr(bt,e),Wt!==null&&wr(Wt,e),Bt!==null&&wr(Bt,e),Gr.forEach(t),Yr.forEach(t),n=0;n<Ut.length;n++)r=Ut[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Ut.length&&(n=Ut[0],n.blockedOn===null);)op(n),n.blockedOn===null&&Ut.shift()}var Qn=Tt.ReactCurrentBatchConfig,Ci=!0;function rg(e,t,n,r){var o=N,i=Qn.transition;Qn.transition=null;try{N=1,ou(e,t,n,r)}finally{N=o,Qn.transition=i}}function og(e,t,n,r){var o=N,i=Qn.transition;Qn.transition=null;try{N=4,ou(e,t,n,r)}finally{N=o,Qn.transition=i}}function ou(e,t,n,r){if(Ci){var o=Bs(e,t,n,r);if(o===null)bl(e,t,r,_i,n),Sc(e,r);else if(tg(o,e,t,n,r))r.stopPropagation();else if(Sc(e,r),t&4&&-1<eg.indexOf(e)){for(;o!==null;){var i=fo(o);if(i!==null&&ep(i),i=Bs(e,t,n,r),i===null&&bl(e,t,r,_i,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else bl(e,t,r,null,n)}}var _i=null;function Bs(e,t,n,r){if(_i=null,e=eu(r),e=ln(e),e!==null)if(t=En(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Kd(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return _i=e,null}
vendor: 9,114 bytes, line 5
5function ip(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Vv()){case tu:return 1;case Xd:return 4;case ki:case Kv:return 16;case Jd:return 536870912;default:return 16}default:return 16}}var Dt=null,iu=null,Zo=null;function lp(){if(Zo)return Zo;var e,t=iu,n=t.length,r,o="value"in Dt?Dt.value:Dt.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===o[i-r];r++);return Zo=o.slice(e,1<r?1-r:void 0)}function ei(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 xo(){return!0}function Ec(){return!1}function je(e){function t(n,r,o,i,l){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=l,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?xo:Ec,this.isPropagationStopped=Ec,this}return Q(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=xo)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=xo)},persist:function(){},isPersistent:xo}),t}var cr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},lu=je(cr),co=Q({},cr,{view:0,detail:0}),ig=je(co),Ml,Al,Sr,Yi=Q({},co,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:su,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!==Sr&&(Sr&&e.type==="mousemove"?(Ml=e.screenX-Sr.screenX,Al=e.screenY-Sr.screenY):Al=Ml=0,Sr=e),Ml)},movementY:function(e){return"movementY"in e?e.movementY:Al}}),Cc=je(Yi),lg=Q({},Yi,{dataTransfer:0}),sg=je(lg),ag=Q({},co,{relatedTarget:0}),Ul=je(ag),ug=Q({},cr,{animationName:0,elapsedTime:0,pseudoElement:0}),cg=je(ug),fg=Q({},cr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),dg=je(fg),pg=Q({},cr,{data:0}),_c=je(pg),hg={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mg={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"},vg={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function gg(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=vg[e])?!!t[e]:!1}function su(){return gg}var yg=Q({},co,{key:function(e){if(e.key){var t=hg[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ei(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?mg[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:su,charCode:function(e){return e.type==="keypress"?ei(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ei(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),wg=je(yg),Sg=Q({},Yi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Pc=je(Sg),kg=Q({},co,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:su}),Eg=je(kg),Cg=Q({},cr,{propertyName:0,elapsedTime:0,pseudoElement:0}),_g=je(Cg),Pg=Q({},Yi,{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}),Tg=je(Pg),Rg=[9,13,27,32],au=kt&&"CompositionEvent"in window,Nr=null;kt&&"documentMode"in document&&(Nr=document.documentMode);var xg=kt&&"TextEvent"in window&&!Nr,sp=kt&&(!au||Nr&&8<Nr&&11>=Nr),Tc=" ",Rc=!1;function ap(e,t){switch(e){case"keyup":return Rg.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function up(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var An=!1;function Og(e,t){switch(e){case"compositionend":return up(t);case"keypress":return t.which!==32?null:(Rc=!0,Tc);case"textInput":return e=t.data,e===Tc&&Rc?null:e;default:return null}}function Lg(e,t){if(An)return e==="compositionend"||!au&&ap(e,t)?(e=lp(),Zo=iu=Dt=null,An=!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 sp&&t.locale!=="ko"?null:t.data;default:return null}}var Ig={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 xc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Ig[e.type]:t==="textarea"}function cp(e,t,n,r){bd(r),t=Pi(t,"onChange"),0<t.length&&(n=new lu("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var zr=null,Jr=null;function Mg(e){kp(e,0)}function Xi(e){var t=Nn(e);if(Ud(t))return e}function Ag(e,t){if(e==="change")return t}var fp=!1;if(kt){var jl;if(kt){var Nl="oninput"in document;if(!Nl){var Oc=document.createElement("div");Oc.setAttribute("oninput","return;"),Nl=typeof Oc.oninput=="function"}jl=Nl}else jl=!1;fp=jl&&(!document.documentMode||9<document.documentMode)}function Lc(){zr&&(zr.detachEvent("onpropertychange",dp),Jr=zr=null)}function dp(e){if(e.propertyName==="value"&&Xi(Jr)){var t=[];cp(t,Jr,e,eu(e)),Vd(Mg,t)}}function Ug(e,t,n){e==="focusin"?(Lc(),zr=t,Jr=n,zr.attachEvent("onpropertychange",dp)):e==="focusout"&&Lc()}function jg(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Xi(Jr)}function Ng(e,t){if(e==="click")return Xi(t)}function zg(e,t){if(e==="input"||e==="change")return Xi(t)}function Dg(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var rt=typeof Object.is=="function"?Object.is:Dg;function qr(e,t){if(rt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Ps.call(t,o)||!rt(e[o],t[o]))return!1}return!0}function Ic(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Mc(e,t){var n=Ic(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ic(n)}}function pp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?pp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function hp(){for(var e=window,t=yi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=yi(e.document)}return t}function uu(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")}function Fg(e){var t=hp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&pp(n.ownerDocument.documentElement,n)){if(r!==null&&uu(n)){if
vendor: 4,424 bytes, line 5
5(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Mc(n,i);var l=Mc(n,r);o&&l&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var $g=kt&&"documentMode"in document&&11>=document.documentMode,Un=null,Hs=null,Dr=null,Vs=!1;function Ac(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Vs||Un==null||Un!==yi(r)||(r=Un,"selectionStart"in r&&uu(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Dr&&qr(Dr,r)||(Dr=r,r=Pi(Hs,"onSelect"),0<r.length&&(t=new lu("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Un)))}function Oo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var jn={animationend:Oo("Animation","AnimationEnd"),animationiteration:Oo("Animation","AnimationIteration"),animationstart:Oo("Animation","AnimationStart"),transitionend:Oo("Transition","TransitionEnd")},zl={},mp={};kt&&(mp=document.createElement("div").style,"AnimationEvent"in window||(delete jn.animationend.animation,delete jn.animationiteration.animation,delete jn.animationstart.animation),"TransitionEvent"in window||delete jn.transitionend.transition);function Ji(e){if(zl[e])return zl[e];if(!jn[e])return e;var t=jn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in mp)return zl[e]=t[n];return e}var vp=Ji("animationend"),gp=Ji("animationiteration"),yp=Ji("animationstart"),wp=Ji("transitionend"),Sp=new Map,Uc="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Jt(e,t){Sp.set(e,t),kn(t,[e])}for(var Dl=0;Dl<Uc.length;Dl++){var Fl=Uc[Dl],bg=Fl.toLowerCase(),Wg=Fl[0].toUpperCase()+Fl.slice(1);Jt(bg,"on"+Wg)}Jt(vp,"onAnimationEnd");Jt(gp,"onAnimationIteration");Jt(yp,"onAnimationStart");Jt("dblclick","onDoubleClick");Jt("focusin","onFocus");Jt("focusout","onBlur");Jt(wp,"onTransitionEnd");Zn("onMouseEnter",["mouseout","mouseover"]);Zn("onMouseLeave",["mouseout","mouseover"]);Zn("onPointerEnter",["pointerout","pointerover"]);Zn("onPointerLeave",["pointerout","pointerover"]);kn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));kn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));kn("onBeforeInput",["compositionend","keypress","textInput","paste"]);kn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));kn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));kn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Bg=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lr));function jc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,bv(r,t,void 0,e),e.currentTarget=null}
vendor: 5,069 bytes, line 5
5function kp(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var l=r.length-1;0<=l;l--){var s=r[l],a=s.instance,u=s.currentTarget;if(s=s.listener,a!==i&&o.isPropagationStopped())break e;jc(o,s,u),i=a}else for(l=0;l<r.length;l++){if(s=r[l],a=s.instance,u=s.currentTarget,s=s.listener,a!==i&&o.isPropagationStopped())break e;jc(o,s,u),i=a}}}if(Si)throw e=$s,Si=!1,$s=null,e}function b(e,t){var n=t[Xs];n===void 0&&(n=t[Xs]=new Set);var r=e+"__bubble";n.has(r)||(Ep(t,e,2,!1),n.add(r))}function $l(e,t,n){var r=0;t&&(r|=4),Ep(n,e,r,t)}var Lo="_reactListening"+Math.random().toString(36).slice(2);function Zr(e){if(!e[Lo]){e[Lo]=!0,Od.forEach(function(n){n!=="selectionchange"&&(Bg.has(n)||$l(n,!1,e),$l(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Lo]||(t[Lo]=!0,$l("selectionchange",!1,t))}}function Ep(e,t,n,r){switch(ip(t)){case 1:var o=rg;break;case 4:o=og;break;default:o=ou}n=o.bind(null,t,n,e),o=void 0,!Fs||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function bl(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var s=r.stateNode.containerInfo;if(s===o||s.nodeType===8&&s.parentNode===o)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;l=l.return}for(;s!==null;){if(l=ln(s),l===null)return;if(a=l.tag,a===5||a===6){r=i=l;continue e}s=s.parentNode}}r=r.return}Vd(function(){var u=i,c=eu(n),f=[];e:{var p=Sp.get(e);if(p!==void 0){var g=lu,w=e;switch(e){case"keypress":if(ei(n)===0)break e;case"keydown":case"keyup":g=wg;break;case"focusin":w="focus",g=Ul;break;case"focusout":w="blur",g=Ul;break;case"beforeblur":case"afterblur":g=Ul;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=Cc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=sg;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=Eg;break;case vp:case gp:case yp:g=cg;break;case wp:g=_g;break;case"scroll":g=ig;break;case"wheel":g=Tg;break;case"copy":case"cut":case"paste":g=dg;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=Pc}var v=(t&4)!==0,S=!v&&e==="scroll",h=v?p!==null?p+"Capture":null:p;v=[];for(var d=u,m;d!==null;){m=d;var E=m.stateNode;if(m.tag===5&&E!==null&&(m=E,h!==null&&(E=Qr(d,h),E!=null&&v.push(eo(d,E,m)))),S)break;d=d.return}0<v.length&&(p=new g(p,w,null,n,c),f.push({event:p,listeners:v}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",g=e==="mouseout"||e==="pointerout",p&&n!==zs&&(w=n.relatedTarget||n.fromElement)&&(ln(w)||w[Et]))break e;if((g||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,g?(w=n.relatedTarget||n.toElement,g=u,w=w?ln(w):null,w!==null&&(S=En(w),w!==S||w.tag!==5&&w.tag!==6)&&(w=null)):(g=null,w=u),g!==w)){if(v=Cc,E="onMouseLeave",h="onMouseEnter",d="mouse",(e==="pointerout"||e==="pointerover")&&(v=Pc,E="onPointerLeave",h="onPointerEnter",d="pointer"),S=g==null?p:Nn(g),m=w==null?p:Nn(w),p=new v(E,d+"leave",g,n,c),p.target=S,p.relatedTarget=m,E=null,ln(c)===u&&(v=new v(h,d+"enter",w,n,c),v.target=m,v.relatedTarget=S,E=v),S=E,g&&w)t:{for(v=g,h=w,d=0,m=v;m;m=_n(m))d++;for(m=0,E=h;E;E=_n(E))m++;for(;0<d-m;)v=_n(v),d--;for(;0<m-d;)h=_n(h),m--;for(;d--;){if(v===h||h!==null&&v===h.alternate)break t;v=_n(v),h=_n(h)}v=null}else v=null;g!==null&&Nc(f,p,g,v,!1),w!==null&&S!==null&&Nc(f,S,w,v,!0)}}e:{if(p=u?Nn(u):window,g=p.nodeName&&p.nodeName.toLowerCase(),g==="select"||g==="input"&&p.type==="file")var C=Ag;else if(xc(p))if(fp)C=zg;else{C=jg;var P=Ug}else(g=p.nodeName)&&g.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(C=Ng);if(C&&(C=C(e,u))){cp(f,C,n,c);break e}P&&P(e,p,u),e==="focusout"&&(P=p._wrapperState)&&P.controlled&&p.type==="number"&&Ms(p,"number",p.value)}switch(P=u?Nn(u):window,e){case"focusin":(xc(P)||P.contentEditable==="true")&&(Un=P,Hs=u,Dr=null);break;case"focusout":Dr=Hs=Un=null;break;case"mousedown":Vs=!0;break;case"contextmenu":case"mouseup":case"dragend":Vs=!1,Ac(f,n,c);break;case"selectionchange":if($g)break;case"keydown":case"keyup":Ac(f,n,c)}var _;if(au)e:{switch(e){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else An?ap(e,n)&&(R="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(sp&&n.locale!=="ko"&&(An||R!=="onCompositionStart"?R==="onCompositionEnd"&&An&&(_=lp()):(Dt=c,iu="value"in Dt?Dt.value:Dt.textContent,An=!0)),P=Pi(u,R),0<P.length&&(R=new _c(R,e,null,n,c),f.pu
vendor: 5,162 bytes, lines 5-6
5sh({event:R,listeners:P}),_?R.data=_:(_=up(n),_!==null&&(R.data=_)))),(_=xg?Og(e,n):Lg(e,n))&&(u=Pi(u,"onBeforeInput"),0<u.length&&(c=new _c("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=_))}kp(f,t)})}function eo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Pi(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Qr(e,n),i!=null&&r.unshift(eo(e,i,o)),i=Qr(e,t),i!=null&&r.push(eo(e,i,o))),e=e.return}return r}function _n(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Nc(e,t,n,r,o){for(var i=t._reactName,l=[];n!==null&&n!==r;){var s=n,a=s.alternate,u=s.stateNode;if(a!==null&&a===r)break;s.tag===5&&u!==null&&(s=u,o?(a=Qr(n,i),a!=null&&l.unshift(eo(n,a,s))):o||(a=Qr(n,i),a!=null&&l.push(eo(n,a,s)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var Hg=/\r\n?/g,Vg=/\u0000|\uFFFD/g;function zc(e){return(typeof e=="string"?e:""+e).replace(Hg,` 6`).replace(Vg,"")}function Io(e,t,n){if(t=zc(t),zc(e)!==t&&n)throw Error(T(425))}function Ti(){}var Ks=null,Qs=null;function Gs(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ys=typeof setTimeout=="function"?setTimeout:void 0,Kg=typeof clearTimeout=="function"?clearTimeout:void 0,Dc=typeof Promise=="function"?Promise:void 0,Qg=typeof queueMicrotask=="function"?queueMicrotask:typeof Dc<"u"?function(e){return Dc.resolve(null).then(e).catch(Gg)}:Ys;function Gg(e){setTimeout(function(){throw e})}function Wl(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),Xr(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Xr(t)}function Ht(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Fc(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var fr=Math.random().toString(36).slice(2),ct="__reactFiber$"+fr,to="__reactProps$"+fr,Et="__reactContainer$"+fr,Xs="__reactEvents$"+fr,Yg="__reactListeners$"+fr,Xg="__reactHandles$"+fr;function ln(e){var t=e[ct];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Et]||n[ct]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Fc(e);e!==null;){if(n=e[ct])return n;e=Fc(e)}return t}e=n,n=e.parentNode}return null}function fo(e){return e=e[ct]||e[Et],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Nn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function qi(e){return e[to]||null}var Js=[],zn=-1;function qt(e){return{current:e}}function W(e){0>zn||(e.current=Js[zn],Js[zn]=null,zn--)}function F(e,t){zn++,Js[zn]=e.current,e.current=t}var Xt={},he=qt(Xt),Pe=qt(!1),hn=Xt;function er(e,t){var n=e.type.contextTypes;if(!n)return Xt;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Te(e){return e=e.childContextTypes,e!=null}function Ri(){W(Pe),W(he)}function $c(e,t,n){if(he.current!==Xt)throw Error(T(168));F(he,t),F(Pe,n)}function Cp(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(T(108,Uv(e)||"Unknown",o));return Q({},n,r)}function xi(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Xt,hn=he.current,F(he,e),F(Pe,Pe.current),!0}function bc(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=Cp(e,t,hn),r.__reactInternalMemoizedMergedChildContext=e,W(Pe),W(he),F(he,e)):W(Pe),F(Pe,n)}var gt=null,Zi=!1,Bl=!1;function _p(e){gt===null?gt=[e]:gt.push(e)}function Jg(e){Zi=!0,_p(e)}function Zt(){if(!Bl&>!==null){Bl=!0;var e=0,t=N;try{var n=gt;for(N=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}gt=null,Zi=!1}catch(o){throw gt!==null&&(gt=gt.slice(e+1)),Yd(tu,Zt),o}finally{N=t,Bl=!1}}return null}var Dn=[],Fn=0,Oi=null,Li=0,Fe=[],$e=0,mn=null,yt=1,wt="";function rn(e,t){Dn[Fn++]=Li,Dn[Fn++]=Oi,Oi=e,Li=t}function Pp(e,t,n){Fe[$e++]=yt,Fe[$e++]=wt,Fe[$e++]=mn,mn=e;var r=yt;e=wt;var o=32-Ze(r)-1;r&=~(1<<o),n+=1;var i=32-Ze(t)+o;if(30<i){var l=o-o%5;i=(r&(1<<l)-1).toString(32),r>>=l,o-=l,yt=1<<32-Ze(t)+o|n<<o|r,wt=i+e}else yt=1<<i|n<<o|r,wt=e}function cu(e){e.return!==null&&(rn(e,1),Pp(e,1,0))}function fu(e){for(;e===Oi;)Oi=Dn[--Fn],Dn[Fn]=null,Li=Dn[--Fn],Dn[Fn]=null;for(;e===mn;)mn=Fe[--$e],Fe[$e]=null,wt=Fe[--$e],Fe[$e]=null,yt=Fe[--$e],Fe[$e]=null}var Me=null,Ie=null,B=!1,Xe=null;function Tp(e,t){var n=be(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Wc(e,t){switch(e.tag){case 5:var n=e.type;
vendor: 15,152 bytes, line 6
6return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Me=e,Ie=Ht(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Me=e,Ie=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=mn!==null?{id:yt,overflow:wt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=be(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Me=e,Ie=null,!0):!1;default:return!1}}function qs(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Zs(e){if(B){var t=Ie;if(t){var n=t;if(!Wc(e,t)){if(qs(e))throw Error(T(418));t=Ht(n.nextSibling);var r=Me;t&&Wc(e,t)?Tp(r,n):(e.flags=e.flags&-4097|2,B=!1,Me=e)}}else{if(qs(e))throw Error(T(418));e.flags=e.flags&-4097|2,B=!1,Me=e}}}function Bc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Me=e}function Mo(e){if(e!==Me)return!1;if(!B)return Bc(e),B=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Gs(e.type,e.memoizedProps)),t&&(t=Ie)){if(qs(e))throw Rp(),Error(T(418));for(;t;)Tp(e,t),t=Ht(t.nextSibling)}if(Bc(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(T(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ie=Ht(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ie=null}}else Ie=Me?Ht(e.stateNode.nextSibling):null;return!0}function Rp(){for(var e=Ie;e;)e=Ht(e.nextSibling)}function tr(){Ie=Me=null,B=!1}function du(e){Xe===null?Xe=[e]:Xe.push(e)}var qg=Tt.ReactCurrentBatchConfig;function kr(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(T(309));var r=n.stateNode}if(!r)throw Error(T(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(l){var s=o.refs;l===null?delete s[i]:s[i]=l},t._stringRef=i,t)}if(typeof e!="string")throw Error(T(284));if(!n._owner)throw Error(T(290,e))}return e}function Ao(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Hc(e){var t=e._init;return t(e._payload)}function xp(e){function t(h,d){if(e){var m=h.deletions;m===null?(h.deletions=[d],h.flags|=16):m.push(d)}}function n(h,d){if(!e)return null;for(;d!==null;)t(h,d),d=d.sibling;return null}function r(h,d){for(h=new Map;d!==null;)d.key!==null?h.set(d.key,d):h.set(d.index,d),d=d.sibling;return h}function o(h,d){return h=Gt(h,d),h.index=0,h.sibling=null,h}function i(h,d,m){return h.index=m,e?(m=h.alternate,m!==null?(m=m.index,m<d?(h.flags|=2,d):m):(h.flags|=2,d)):(h.flags|=1048576,d)}function l(h){return e&&h.alternate===null&&(h.flags|=2),h}function s(h,d,m,E){return d===null||d.tag!==6?(d=Xl(m,h.mode,E),d.return=h,d):(d=o(d,m),d.return=h,d)}function a(h,d,m,E){var C=m.type;return C===Mn?c(h,d,m.props.children,E,m.key):d!==null&&(d.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===It&&Hc(C)===d.type)?(E=o(d,m.props),E.ref=kr(h,d,m),E.return=h,E):(E=si(m.type,m.key,m.props,null,h.mode,E),E.ref=kr(h,d,m),E.return=h,E)}function u(h,d,m,E){return d===null||d.tag!==4||d.stateNode.containerInfo!==m.containerInfo||d.stateNode.implementation!==m.implementation?(d=Jl(m,h.mode,E),d.return=h,d):(d=o(d,m.children||[]),d.return=h,d)}function c(h,d,m,E,C){return d===null||d.tag!==7?(d=pn(m,h.mode,E,C),d.return=h,d):(d=o(d,m),d.return=h,d)}function f(h,d,m){if(typeof d=="string"&&d!==""||typeof d=="number")return d=Xl(""+d,h.mode,m),d.return=h,d;if(typeof d=="object"&&d!==null){switch(d.$$typeof){case Eo:return m=si(d.type,d.key,d.props,null,h.mode,m),m.ref=kr(h,null,d),m.return=h,m;case In:return d=Jl(d,h.mode,m),d.return=h,d;case It:var E=d._init;return f(h,E(d._payload),m)}if(xr(d)||vr(d))return d=pn(d,h.mode,m,null),d.return=h,d;Ao(h,d)}return null}function p(h,d,m,E){var C=d!==null?d.key:null;if(typeof m=="string"&&m!==""||typeof m=="number")return C!==null?null:s(h,d,""+m,E);if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Eo:return m.key===C?a(h,d,m,E):null;case In:return m.key===C?u(h,d,m,E):null;case It:return C=m._init,p(h,d,C(m._payload),E)}if(xr(m)||vr(m))return C!==null?null:c(h,d,m,E,null);Ao(h,m)}return null}function g(h,d,m,E,C){if(typeof E=="string"&&E!==""||typeof E=="number")return h=h.get(m)||null,s(d,h,""+E,C);if(typeof E=="object"&&E!==null){switch(E.$$typeof){case Eo:return h=h.get(E.key===null?m:E.key)||null,a(d,h,E,C);case In:return h=h.get(E.key===null?m:E.key)||null,u(d,h,E,C);case It:var P=E._init;return g(h,d,m,P(E._payload),C)}if(xr(E)||vr(E))return h=h.get(m)||null,c(d,h,E,C,null);Ao(d,E)}return null}function w(h,d,m,E){for(var C=null,P=null,_=d,R=d=0,L=null;_!==null&&R<m.length;R++){_.index>R?(L=_,_=null):L=_.sibling;var I=p(h,_,m[R],E);if(I===null){_===null&&(_=L);break}e&&_&&I.alternate===null&&t(h,_),d=i(I,d,R),P===null?C=I:P.sibling=I,P=I,_=L}if(R===m.length)return n(h,_),B&&rn(h,R),C;if(_===null){for(;R<m.length;R++)_=f(h,m[R],E),_!==null&&(d=i(_,d,R),P===null?C=_:P.sibling=_,P=_);return B&&rn(h,R),C}for(_=r(h,_);R<m.length;R++)L=g(_,h,R,m[R],E),L!==null&&(e&&L.alternate!==null&&_.delete(L.key===null?R:L.key),d=i(L,d,R),P===null?C=L:P.sibling=L,P=L);return e&&_.forEach(function(z){return t(h,z)}),B&&rn(h,R),C}function v(h,d,m,E){var C=vr(m);if(typeof C!="function")throw Error(T(150));if(m=C.call(m),m==null)throw Error(T(151));for(var P=C=null,_=d,R=d=0,L=null,I=m.next();_!==null&&!I.done;R++,I=m.next()){_.index>R?(L=_,_=null):L=_.sibling;var z=p(h,_,I.value,E);if(z===null){_===null&&(_=L);break}e&&_&&z.alternate===null&&t(h,_),d=i(z,d,R),P===null?C=z:P.sibling=z,P=z,_=L}if(I.done)return n(h,_),B&&rn(h,R),C;if(_===null){for(;!I.done;R++,I=m.next())I=f(h,I.value,E),I!==null&&(d=i(I,d,R),P===null?C=I:P.sibling=I,P=I);return B&&rn(h,R),C}for(_=r(h,_);!I.done;R++,I=m.next())I=g(_,h,R,I.value,E),I!==null&&(e&&I.alternate!==null&&_.delete(I.key===null?R:I.key),d=i(I,d,R),P===null?C=I:P.sibling=I,P=I);return e&&_.forEach(function(ee){return t(h,ee)}),B&&rn(h,R),C}function S(h,d,m,E){if(typeof m=="object"&&m!==null&&m.type===Mn&&m.key===null&&(m=m.props.children),typeof m=="object"&&m!==null){switch(m.$$typeof){case Eo:e:{for(var C=m.key,P=d;P!==null;){if(P.key===C){if(C=m.type,C===Mn){if(P.tag===7){n(h,P.sibling),d=o(P,m.props.children),d.return=h,h=d;break e}}else if(P.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===It&&Hc(C)===P.type){n(h,P.sibling),d=o(P,m.props),d.ref=kr(h,P,m),d.return=h,h=d;break e}n(h,P);break}else t(h,P);P=P.sibling}m.type===Mn?(d=pn(m.props.children,h.mode,E,m.key),d.return=h,h=d):(E=si(m.type,m.key,m.props,null,h.mode,E),E.ref=kr(h,d,m),E.return=h,h=E)}return l(h);case In:e:{for(P=m.key;d!==null;){if(d.key===P)if(d.tag===4&&d.stateNode.containerInfo===m.containerInfo&&d.stateNode.implementation===m.implementation){n(h,d.sibling),d=o(d,m.children||[]),d.return=h,h=d;break e}else{n(h,d);break}else t(h,d);d=d.sibling}d=Jl(m,h.mode,E),d.return=h,h=d}return l(h);case It:return P=m._init,S(h,d,P(m._payload),E)}if(xr(m))return w(h,d,m,E);if(vr(m))return v(h,d,m,E);Ao(h,m)}return typeof m=="string"&&m!==""||typeof m=="number"?(m=""+m,d!==null&&d.tag===6?(n(h,d.sibling),d=o(d,m),d.return=h,h=d):(n(h,d),d=Xl(m,h.mode,E),d.return=h,h=d),l(h)):n(h,d)}return S}var nr=xp(!0),Op=xp(!1),Ii=qt(null),Mi=null,$n=null,pu=null;function hu(){pu=$n=Mi=null}function mu(e){var t=Ii.current;W(Ii),e._currentValue=t}function ea(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Gn(e,t){Mi=e,pu=$n=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(_e=!0),e.firstContext=null)}function Be(e){var t=e._currentValue;if(pu!==e)if(e={context:e,memoizedValue:t,next:null},$n===null){if(Mi===null)throw Error(T(308));$n=e,Mi.dependencies={lanes:0,firstContext:e}}else $n=$n.next=e;return t}var sn=null;function vu(e){sn===null?sn=[e]:sn.push(e)}function Lp(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,vu(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ct(e,r)}function Ct(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Mt=!1;function gu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ip(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 St(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vt(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,j&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ct(e,n)}return o=r.interleaved,o===null?(t.next=t,vu(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ct(e,n)}function ti(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,nu(e,n)}}function Vc(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=l:i=i.next=l,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ai(e,t,n,r){var o=e.updateQueue;Mt=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var a=s,u=a.next;a.next=null,l===null?i=u:l.next=u,l=a;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==l&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=a))}if(i!==null){var f=o.baseState;l=0,c=u=a=null,s=i;do{var p=s.lane,g=s.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:g,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,v=s;switch(p=t,g=n,v.tag){case 1:if(w=v.payload,typeof w=="function"){f=w.call(g,f,p);break e}f=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=v.payload,p=typeof w=="function"?w.call(g,f,p):w,p==null)break e;f=Q({},f,p);break e;case 2:Mt=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else g={eventTime:g,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=g,a=f):c=c.next=g,l|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(c===null&&(a=f),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do l|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);gn|=l,e.lanes=l,e.memoizedState=f}}function Kc(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(T(191,o));o.call(r)}}}var po={},pt=qt(po),no=qt(po),ro=qt(po);function an(e){if(e===po)throw Error(T(174));return e}function yu(e,t){switch(F(ro,t),F(no,e),F(pt,po),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Us(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Us(t,e)}W(pt),F(pt,t)}function rr(){W(pt),W(no),W(ro)}function Mp(e){an(ro.current);var t=an(pt.current),n=Us(t,e.type);t!==n&&(F(no,e),F(pt,n))}function wu(e){no.current===e&&(W(pt),W(no))}var V=qt(0);function Ui(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)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 Hl=[];function Su(){for(var e=0;e<Hl.length;e++)Hl[e]._workInProgressVersionPrimary=null;Hl.length=0}var ni=Tt.ReactCurrentDispatcher,Vl=Tt.ReactCurrentBatchConfig,vn=0,K=null,q=null,re=null,ji=!1,Fr=!1,oo=0,Zg=0;function fe(){throw Error(T(321))}function ku(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!rt(e[n],t[n]))return!1;return!0}function Eu(e,t,n,r,o,i){if(vn=i,K=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ni.current=e===null||e.memoizedState===null?ry:oy,e=n(r,o),Fr){i=0;do{if(Fr=!1,oo=0,25<=i)throw Error(T(301));i+=1,re=q=null,t.updateQueue=null,ni.current=iy,e=n(r,o)}while(Fr)}if(ni.current=Ni,t=q!==null&&q.next!==null,vn=0,re=q=K=null,ji=!1,t)throw Error(T(300));return e}function Cu(){var e=oo!==0;return oo=0,e}function at(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return re===null?K.memoizedState=re=e:re=re.next=e,re}function He(){if(q===null){var e=K.alternate;e=e!==null?e.memoizedState:null}else e=q.next;var t=re===null?K.memoizedState:re.next;if(t!==null)re=t,q=e;else{if(e===null)throw Error(T(310));q=e,e={memoizedState:q.memoizedState,baseState:q.baseState,baseQueue:q.baseQueue,queue:q.queue,next:null},re===null?K.memoizedState=re=e:re=re.next=e}return re}function io(e,t){return typeof t=="function"?t(e):t}function Kl(e){var t=He(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=q,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var s=l=null,a=null,u=i;do{var c=u.lane;if((vn&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(s=a=f,l=r):a=a.next=f,K.lanes|=c,gn|=c}u=u.next}while(u!==null&&u!==i);a===null?l=r:a.next=s,rt(r,t.memoizedState)||(_e=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,K.lanes|=i,gn|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ql(e){var t=He(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var l=o=o.next;do i=e(i,l.action),l=l.next;while(l!==o);rt(i,t.memoizedState)||(_e=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ap(){}function Up(e,t){var n=K,r=He(),o=t(),i=!rt(r.memoizedState,o);if(i&&(r.memoizedState=o,_e=!0),r=r.queue,_u(zp.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||re!==null&&re.memoizedState.tag&1){if(n.flags|=2048,lo(9,Np.bind(null,n,r,o,t),void 0,null),oe===null)throw Error(T(349));vn&30||jp(n,t,o)}return o}
vendor: 4,188 bytes, line 6
6function jp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Np(e,t,n,r){t.value=n,t.getSnapshot=r,Dp(t)&&Fp(e)}function zp(e,t,n){return n(function(){Dp(t)&&Fp(e)})}function Dp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!rt(e,n)}catch{return!0}}function Fp(e){var t=Ct(e,1);t!==null&&et(t,e,1,-1)}function Qc(e){var t=at();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:io,lastRenderedState:e},t.queue=e,e=e.dispatch=ny.bind(null,K,e),[t.memoizedState,e]}function lo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=K.updateQueue,t===null?(t={lastEffect:null,stores:null},K.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function $p(){return He().memoizedState}function ri(e,t,n,r){var o=at();K.flags|=e,o.memoizedState=lo(1|t,n,void 0,r===void 0?null:r)}function el(e,t,n,r){var o=He();r=r===void 0?null:r;var i=void 0;if(q!==null){var l=q.memoizedState;if(i=l.destroy,r!==null&&ku(r,l.deps)){o.memoizedState=lo(t,n,i,r);return}}K.flags|=e,o.memoizedState=lo(1|t,n,i,r)}function Gc(e,t){return ri(8390656,8,e,t)}function _u(e,t){return el(2048,8,e,t)}function bp(e,t){return el(4,2,e,t)}function Wp(e,t){return el(4,4,e,t)}function Bp(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 Hp(e,t,n){return n=n!=null?n.concat([e]):null,el(4,4,Bp.bind(null,t,e),n)}function Pu(){}function Vp(e,t){var n=He();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ku(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Kp(e,t){var n=He();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ku(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Qp(e,t,n){return vn&21?(rt(n,t)||(n=qd(),K.lanes|=n,gn|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,_e=!0),e.memoizedState=n)}function ey(e,t){var n=N;N=n!==0&&4>n?n:4,e(!0);var r=Vl.transition;Vl.transition={};try{e(!1),t()}finally{N=n,Vl.transition=r}}function Gp(){return He().memoizedState}function ty(e,t,n){var r=Qt(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yp(e))Xp(t,n);else if(n=Lp(e,t,n,r),n!==null){var o=we();et(n,e,r,o),Jp(n,t,r)}}function ny(e,t,n){var r=Qt(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yp(e))Xp(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var l=t.lastRenderedState,s=i(l,n);if(o.hasEagerState=!0,o.eagerState=s,rt(s,l)){var a=t.interleaved;a===null?(o.next=o,vu(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=Lp(e,t,o,r),n!==null&&(o=we(),et(n,e,r,o),Jp(n,t,r))}}function Yp(e){var t=e.alternate;return e===K||t!==null&&t===K}function Xp(e,t){Fr=ji=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Jp(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,nu(e,n)}}var Ni={readContext:Be,useCallback:fe,useContext:fe,useEffect:fe,useImperativeHandle:fe,useInsertionEffect:fe,useLayoutEffect:fe,useMemo:fe,useReducer:fe,useRef:fe,useState:fe,useDebugValue:fe,useDeferredValue:fe,useTransition:fe,useMutableSource:fe,useSyncExternalStore:fe,useId:fe,unstable_isNewReconciler:!1},ry={readContext:Be,useCallback:function(e,t){return at().memoizedState=[e,t===void 0?null:t],e},useContext:Be,useEffect:Gc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ri(4194308,4,Bp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ri(4194308,4,e,t)},useInsertionEffect:function(e,t){return ri(4,2,e,t)},useMemo:function(e,t){var n=at();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=at();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ty.bind(null,K,e),[r.memoizedState,e]}
vendor: 5,060 bytes, lines 6-8
6,useRef:function(e){var t=at();return e={current:e},t.memoizedState=e},useState:Qc,useDebugValue:Pu,useDeferredValue:function(e){return at().memoizedState=e},useTransition:function(){var e=Qc(!1),t=e[0];return e=ey.bind(null,e[1]),at().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=K,o=at();if(B){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),oe===null)throw Error(T(349));vn&30||jp(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Gc(zp.bind(null,r,i,e),[e]),r.flags|=2048,lo(9,Np.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=at(),t=oe.identifierPrefix;if(B){var n=wt,r=yt;n=(r&~(1<<32-Ze(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=oo++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Zg++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oy={readContext:Be,useCallback:Vp,useContext:Be,useEffect:_u,useImperativeHandle:Hp,useInsertionEffect:bp,useLayoutEffect:Wp,useMemo:Kp,useReducer:Kl,useRef:$p,useState:function(){return Kl(io)},useDebugValue:Pu,useDeferredValue:function(e){var t=He();return Qp(t,q.memoizedState,e)},useTransition:function(){var e=Kl(io)[0],t=He().memoizedState;return[e,t]},useMutableSource:Ap,useSyncExternalStore:Up,useId:Gp,unstable_isNewReconciler:!1},iy={readContext:Be,useCallback:Vp,useContext:Be,useEffect:_u,useImperativeHandle:Hp,useInsertionEffect:bp,useLayoutEffect:Wp,useMemo:Kp,useReducer:Ql,useRef:$p,useState:function(){return Ql(io)},useDebugValue:Pu,useDeferredValue:function(e){var t=He();return q===null?t.memoizedState=e:Qp(t,q.memoizedState,e)},useTransition:function(){var e=Ql(io)[0],t=He().memoizedState;return[e,t]},useMutableSource:Ap,useSyncExternalStore:Up,useId:Gp,unstable_isNewReconciler:!1};function Ge(e,t){if(e&&e.defaultProps){t=Q({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function ta(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Q({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var tl={isMounted:function(e){return(e=e._reactInternals)?En(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=we(),o=Qt(e),i=St(r,o);i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,o),t!==null&&(et(t,e,o,r),ti(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=we(),o=Qt(e),i=St(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Vt(e,i,o),t!==null&&(et(t,e,o,r),ti(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=we(),r=Qt(e),o=St(n,r);o.tag=2,t!=null&&(o.callback=t),t=Vt(e,o,r),t!==null&&(et(t,e,r,n),ti(t,e,r))}};function Yc(e,t,n,r,o,i,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,l):t.prototype&&t.prototype.isPureReactComponent?!qr(n,r)||!qr(o,i):!0}function qp(e,t,n){var r=!1,o=Xt,i=t.contextType;return typeof i=="object"&&i!==null?i=Be(i):(o=Te(t)?hn:he.current,r=t.contextTypes,i=(r=r!=null)?er(e,o):Xt),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=tl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Xc(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&tl.enqueueReplaceState(t,t.state,null)}function na(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},gu(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Be(i):(i=Te(t)?hn:he.current,o.context=er(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(ta(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&tl.enqueueReplaceState(o,o.state,null),Ai(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function or(e,t){try{var n="",r=t;do n+=Av(r),r=r.return;while(r);var o=n}catch(i){o=` 7Error generating stack: `+i.message+` 8`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Gl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function ra(e,t){try{}catch(n){setTimeout(function(){throw n})}}var ly=typeof WeakMap=="function"?WeakMap:Map;function Zp(e,t,n){n=St(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Di||(Di=!0,pa=r),ra(e,t)},n}function eh(e,t,n){n=St(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ra(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){ra(e,t),typeof r!="function"&&(Kt===null?Kt=ne
vendor: 10,506 bytes, line 8
8w Set([this]):Kt.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function Jc(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new ly;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Sy.bind(null,e,t,n),t.then(e,e))}function qc(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Zc(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=St(-1,1),t.tag=2,Vt(n,t,1))),n.lanes|=1),e)}var sy=Tt.ReactCurrentOwner,_e=!1;function ve(e,t,n,r){t.child=e===null?Op(t,null,n,r):nr(t,e.child,n,r)}function ef(e,t,n,r,o){n=n.render;var i=t.ref;return Gn(t,o),r=Eu(e,t,n,r,i,o),n=Cu(),e!==null&&!_e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,_t(e,t,o)):(B&&n&&cu(t),t.flags|=1,ve(e,t,r,o),t.child)}function tf(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Au(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,th(e,t,i,r,o)):(e=si(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var l=i.memoizedProps;if(n=n.compare,n=n!==null?n:qr,n(l,r)&&e.ref===t.ref)return _t(e,t,o)}return t.flags|=1,e=Gt(i,r),e.ref=t.ref,e.return=t,t.child=e}function th(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(qr(i,r)&&e.ref===t.ref)if(_e=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(_e=!0);else return t.lanes=e.lanes,_t(e,t,o)}return oa(e,t,n,r,o)}function nh(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},F(Wn,Oe),Oe|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,F(Wn,Oe),Oe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,F(Wn,Oe),Oe|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,F(Wn,Oe),Oe|=r;return ve(e,t,o,n),t.child}function rh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function oa(e,t,n,r,o){var i=Te(n)?hn:he.current;return i=er(t,i),Gn(t,o),n=Eu(e,t,n,r,i,o),r=Cu(),e!==null&&!_e?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,_t(e,t,o)):(B&&r&&cu(t),t.flags|=1,ve(e,t,n,o),t.child)}function nf(e,t,n,r,o){if(Te(n)){var i=!0;xi(t)}else i=!1;if(Gn(t,o),t.stateNode===null)oi(e,t),qp(t,n,r),na(t,n,r,o),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var a=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=Be(u):(u=Te(n)?hn:he.current,u=er(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||a!==u)&&Xc(t,l,r,u),Mt=!1;var p=t.memoizedState;l.state=p,Ai(t,r,l,o),a=t.memoizedState,s!==r||p!==a||Pe.current||Mt?(typeof c=="function"&&(ta(t,n,c,r),a=t.memoizedState),(s=Mt||Yc(t,n,s,r,p,a,u))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=u,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,Ip(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Ge(t.type,s),l.props=u,f=t.pendingProps,p=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=Be(a):(a=Te(n)?hn:he.current,a=er(t,a));var g=n.getDerivedStateFromProps;(c=typeof g=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==f||p!==a)&&Xc(t,l,r,a),Mt=!1,p=t.memoizedState,l.state=p,Ai(t,r,l,o);var w=t.memoizedState;s!==f||p!==w||Pe.current||Mt?(typeof g=="function"&&(ta(t,n,g,r),w=t.memoizedState),(u=Mt||Yc(t,n,u,r,p,w,a)||!1)?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,w,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,w,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),l.props=r,l.state=w,l.context=a,r=u):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return ia(e,t,n,r,i,o)}function ia(e,t,n,r,o,i){rh(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return o&&bc(t,n,!1),_t(e,t,i);r=t.stateNode,sy.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=nr(t,e.child,null,i),t.child=nr(t,null,s,i)):ve(e,t,s,i),t.memoizedState=r.state,o&&bc(t,n,!0),t.child}function oh(e){var t=e.stateNode;t.pendingContext?$c(e,t.pendingContext,t.pendingContext!==t.context):t.context&&$c(e,t.context,!1),yu(e,t.containerInfo)}function rf(e,t,n,r,o){return tr(),du(o),t.flags|=256,ve(e,t,n,r),t.child}var la={dehydrated:null,treeContext:null,retryLane:0};function sa(e){return{baseLanes:e,cachePool:null,transitions:null}}function ih(e,t,n){var r=t.pendingProps,o=V.current,i=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),F(V,o&1),e===null)return Zs(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,i?(r=t.mode,i=t.child,l={mode:"hidden",children:l},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=l):i=ol(l,r,0,null),e=pn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=sa(n),t.memoizedState=la,e):Tu(t,l));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return ay(e,t,l,r,s,o,n);if(i){i=r.fallback,l=t.mode,o=e.child,s=o.sibling;var a={mode:"hidden",children:r.children};return!(l&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Gt(o,a),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=Gt(s,i):(i=pn(i,l,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,l=e.child.memoizedState,l=l===null?sa(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},i.memoizedState=l,i.childLanes=e.childLanes&~n,t.memoizedState=la,r}return i=e.child,e=i.sibling,r=Gt(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function Tu(e,t){return t=ol({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Uo(e,t,n,r){return r!==null&&du(r),nr(t,e.child,null,n),e=Tu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ay(e,t,n,r,o,i,l){if(n)return t.flags&256?(t.flags&=-257,r=Gl(Error(T(422))),Uo(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=ol({mode:"visible",children:r.children},o,0,null),i=pn(i,o,l,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&nr(t,e.child,null,l),t.child.memoizedState=sa(l),t.memoizedState=la,i);if(!(t.mode&1))return Uo(e,t,l,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(T(419)),r=Gl(i,r,void 0),Uo(e,t,l,r)}if(s=(l&e.childLanes)!==0,_e||s){if(r=oe,r!==null){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|l)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Ct(e,o),et(r,e,o,-1))}return Mu(),r=Gl(Error(T(421))),Uo(e,t,l,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=ky.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ie=Ht(o.nextSibling),Me=t,B=!0,Xe=null,e!==null&&(Fe[$e++]=yt,Fe[$e++]=wt,Fe[$e++]=mn,yt=e.id,wt=e.overflow,mn=t),t=Tu(t,r.children),t.flags|=4096,t)}function of(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ea(e.return,t,n)}function Yl(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function lh(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ve(e,t,r.children,n),r=V.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&of(e,n,t);else if(e.tag===19)of(e,n,t);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}r&=1}if(F(V,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Ui(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Yl(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ui(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Yl(t,!0,n,null,i);break;case"together":Yl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function oi(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function _t(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),gn|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(T(153));
vendor: 5,407 bytes, line 8
8if(t.child!==null){for(e=t.child,n=Gt(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Gt(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function uy(e,t,n){switch(t.tag){case 3:oh(t),tr();break;case 5:Mp(t);break;case 1:Te(t.type)&&xi(t);break;case 4:yu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;F(Ii,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(F(V,V.current&1),t.flags|=128,null):n&t.child.childLanes?ih(e,t,n):(F(V,V.current&1),e=_t(e,t,n),e!==null?e.sibling:null);F(V,V.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return lh(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),F(V,V.current),r)break;return null;case 22:case 23:return t.lanes=0,nh(e,t,n)}return _t(e,t,n)}var sh,aa,ah,uh;sh=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};aa=function(){};ah=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,an(pt.current);var i=null;switch(n){case"input":o=Ls(e,o),r=Ls(e,r),i=[];break;case"select":o=Q({},o,{value:void 0}),r=Q({},r,{value:void 0}),i=[];break;case"textarea":o=As(e,o),r=As(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ti)}js(n,r);var l;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var s=o[u];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Vr.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(s=o?.[u],r.hasOwnProperty(u)&&a!==s&&(a!=null||s!=null))if(u==="style")if(s){for(l in s)!s.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&s[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Vr.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&b("scroll",e),i||s===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};uh=function(e,t,n,r){n!==r&&(t.flags|=4)};function Er(e,t){if(!B)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function de(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function cy(e,t,n){var r=t.pendingProps;switch(fu(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return de(t),null;case 1:return Te(t.type)&&Ri(),de(t),null;case 3:return r=t.stateNode,rr(),W(Pe),W(he),Su(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Mo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Xe!==null&&(va(Xe),Xe=null))),aa(e,t),de(t),null;case 5:wu(t);var o=an(ro.current);if(n=t.type,e!==null&&t.stateNode!=null)ah(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(T(166));return de(t),null}if(e=an(pt.current),Mo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[ct]=t,r[to]=i,e=(t.mode&1)!==0,n){case"dialog":b("cancel",r),b("close",r);break;case"iframe":case"object":case"embed":b("load",r);break;case"video":case"audio":for(o=0;o<Lr.length;o++)b(Lr[o],r);break;case"source":b("error",r);break;case"img":case"image":case"link":b("error",r),b("load",r);break;case"details":b("toggle",r);break;case"input":pc(r,i),b("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},b("invalid",r);break;case"textarea":mc(r,i),b("invalid",r)}js(n,i),o=null;for(var l in i)if(i.hasOwnProperty(l)){var s=i[l];l==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&Io(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&Io(r.textContent,s,e),o=["children",""+s]):Vr.hasOwnProperty(l)&&s!=null&&l==="onScroll"&&b("scroll",r)}switch(n){case"input":Co(r),hc(r,i,!0);break;case"textarea":Co(r),vc(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Ti)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=zd(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>
8",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ct]=t,e[to]=r,sh(e,t,!1,!1),t.stateNode=e;e:{switch(l=Ns(n,r),n){case"dialog":b("cancel",e),b("close",e),o=r;break;case"iframe":case"object":case"embed":b("load",e),o=r;break;case"video":case"audio":for(o=0;o<Lr.length;o++)b(Lr[o],e);o=r;break;case"source":b("error",e),o=r;break;case"img":case"image":case"link":b("error",e),b("load",e),o=r;break;case"details":b("toggle",e),o=r;break;case"input":pc(e,r),o=Ls(e,r),b("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Q({},r,{value:void 0}),b("invalid",e);break;case"textarea":mc(e,r),o=As(e,r),b("invalid",e);break;default:o=r}js(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var a=s[i];i==="style"?$d(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Dd(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Kr(e,a):typeof a=="number"&&Kr(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Vr.hasOwnProperty(i)?a!=null&&i==="onScroll"&&b("scroll",e):a!=null&&Xa(e,i,a,l))}switch(n){case"input":Co(e),hc(e,r,!1);break;case"textarea":Co(e),vc(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Yt(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Hn(e,!!r.multiple,i,!1):r.defaultValue!=null&&Hn(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Ti)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return de(t),null;case 6:if(e&&t.stateNode!=null)uh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(T(166));if(n=an(ro.current),an(pt.current),Mo(t)){if(r=t.stateNode,n=t.memoizedProps,r[ct]=t,(i=r.nodeValue!==n)&&(e=Me,e!==null))switch(e.tag){case 3:Io(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Io(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[ct]=t,t.stateNode=r}return de(t),null;case 13:if(W(V),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(B&&Ie!==null&&t.mode&1&&!(t.flags&128))Rp(),tr(),t.flags|=98560,i=!1;else if(i=Mo(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(T(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(T(317));i[ct]=t}else tr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;de(t),i=!1}else Xe!==null&&(va(Xe),Xe=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||V.current&1?Z===0&&(Z=3):Mu())),t.updateQueue!==null&&(t.flags|=4),de(t),null);case 4:return rr(),aa(e,t),e===null&&Zr(t.stateNode.containerInfo),de(t),null;case 10:return mu(t.type._context),de(t),null;case 17:return Te(t.type)&&Ri(),de(t),null;case 19:if(W(V),i=t.memoizedState,i===null)return de(t),null;if(r=(t.flags&128)!==0,l=i.rendering,l===null)if(r)Er(i,!1);else{if(Z!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=Ui(e),l!==null){for(t.flags|=128,Er(i,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,l=i.alternate,l===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return F(V,V.current&1|2),t.child}e=e.sibling}i.tail!==null&&X()>ir&&(t.flags|=128,r=!0,Er(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ui(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Er(i,!0),i.tail===null&&i.tailMode==="hidden"&&!l.alternate&&!B)return de(t),null}else 2*X()-i.renderingStartTime>ir&&n!==1073741824&&(t.flags|=128,r=!0,Er(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(n=i.last,n!==null?n.sibling=l:t.child=l,i.last=l)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=X(),t.sibling=null,n=V.current,F(V,r?n&1|2:n&1),t):(de(t),null);case 22:case 23:return Iu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Oe&1073741824&&(de(t),t.subtreeFlags&6&&(t.flags|=8192)):de(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function fy(e,t){switch(fu(t),t.tag){case 1:return Te(t.type)&&Ri(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 4,910 bytes, line 8
8case 3:return rr(),W(Pe),W(he),Su(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return wu(t),null;case 13:if(W(V),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));tr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return W(V),null;case 4:return rr(),null;case 10:return mu(t.type._context),null;case 22:case 23:return Iu(),null;case 24:return null;default:return null}}var jo=!1,pe=!1,dy=typeof WeakSet=="function"?WeakSet:Set,x=null;function bn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){G(e,t,r)}else n.current=null}function ua(e,t,n){try{n()}catch(r){G(e,t,r)}}var lf=!1;function py(e,t){if(Ks=Ci,e=hp(),uu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;var l=0,s=-1,a=-1,u=0,c=0,f=e,p=null;e:for(;;){for(var g;f!==n||o!==0&&f.nodeType!==3||(s=l+o),f!==i||r!==0&&f.nodeType!==3||(a=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(g=f.firstChild)!==null;)p=f,f=g;for(;;){if(f===e)break e;if(p===n&&++u===o&&(s=l),p===i&&++c===r&&(a=l),(g=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=g}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(Qs={focusedElem:e,selectionRange:n},Ci=!1,x=t;x!==null;)if(t=x,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,x=e;else for(;x!==null;){t=x;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var v=w.memoizedProps,S=w.memoizedState,h=t.stateNode,d=h.getSnapshotBeforeUpdate(t.elementType===t.type?v:Ge(t.type,v),S);h.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var m=t.stateNode.containerInfo;m.nodeType===1?m.textContent="":m.nodeType===9&&m.documentElement&&m.removeChild(m.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(E){G(t,t.return,E)}if(e=t.sibling,e!==null){e.return=t.return,x=e;break}x=t.return}return w=lf,lf=!1,w}function $r(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&ua(t,n,i)}o=o.next}while(o!==r)}}function nl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ca(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function ch(e){var t=e.alternate;t!==null&&(e.alternate=null,ch(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ct],delete t[to],delete t[Xs],delete t[Yg],delete t[Xg])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function fh(e){return e.tag===5||e.tag===3||e.tag===4}function sf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||fh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function fa(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ti));else if(r!==4&&(e=e.child,e!==null))for(fa(e,t,n),e=e.sibling;e!==null;)fa(e,t,n),e=e.sibling}function da(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(da(e,t,n),e=e.sibling;e!==null;)da(e,t,n),e=e.sibling}var ae=null,Ye=!1;function xt(e,t,n){for(n=n.child;n!==null;)dh(e,t,n),n=n.sibling}function dh(e,t,n){if(dt&&typeof dt.onCommitFiberUnmount=="function")try{dt.onCommitFiberUnmount(Gi,n)}catch{}switch(n.tag){case 5:pe||bn(n,t);case 6:var r=ae,o=Ye;ae=null,xt(e,t,n),ae=r,Ye=o,ae!==null&&(Ye?(e=ae,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ae.removeChild(n.stateNode));break;case 18:ae!==null&&(Ye?(e=ae,n=n.stateNode,e.nodeType===8?Wl(e.parentNode,n):e.nodeType===1&&Wl(e,n),Xr(e)):Wl(ae,n.stateNode));break;case 4:r=ae,o=Ye,ae=n.stateNode.containerInfo,Ye=!0,xt(e,t,n),ae=r,Ye=o;break;case 0:case 11:case 14:case 15:if(!pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,l=i.destroy;i=i.tag,l!==void 0&&(i&2||i&4)&&ua(n,t,l),o=o.next}while(o!==r)}xt(e,t,n);break;case 1:if(!pe&&(bn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){G(n,t,s)}
vendor: 20,656 bytes, line 8
8xt(e,t,n);break;case 21:xt(e,t,n);break;case 22:n.mode&1?(pe=(r=pe)||n.memoizedState!==null,xt(e,t,n),pe=r):xt(e,t,n);break;default:xt(e,t,n)}}function af(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new dy),t.forEach(function(r){var o=Ey.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Ke(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,s=l;e:for(;s!==null;){switch(s.tag){case 5:ae=s.stateNode,Ye=!1;break e;case 3:ae=s.stateNode.containerInfo,Ye=!0;break e;case 4:ae=s.stateNode.containerInfo,Ye=!0;break e}s=s.return}if(ae===null)throw Error(T(160));dh(i,l,o),ae=null,Ye=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){G(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)ph(t,e),t=t.sibling}function ph(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ke(t,e),lt(e),r&4){try{$r(3,e,e.return),nl(3,e)}catch(v){G(e,e.return,v)}try{$r(5,e,e.return)}catch(v){G(e,e.return,v)}}break;case 1:Ke(t,e),lt(e),r&512&&n!==null&&bn(n,n.return);break;case 5:if(Ke(t,e),lt(e),r&512&&n!==null&&bn(n,n.return),e.flags&32){var o=e.stateNode;try{Kr(o,"")}catch(v){G(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,l=n!==null?n.memoizedProps:i,s=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&jd(o,i),Ns(s,l);var u=Ns(s,i);for(l=0;l<a.length;l+=2){var c=a[l],f=a[l+1];c==="style"?$d(o,f):c==="dangerouslySetInnerHTML"?Dd(o,f):c==="children"?Kr(o,f):Xa(o,c,f,u)}switch(s){case"input":Is(o,i);break;case"textarea":Nd(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var g=i.value;g!=null?Hn(o,!!i.multiple,g,!1):p!==!!i.multiple&&(i.defaultValue!=null?Hn(o,!!i.multiple,i.defaultValue,!0):Hn(o,!!i.multiple,i.multiple?[]:"",!1))}o[to]=i}catch(v){G(e,e.return,v)}}break;case 6:if(Ke(t,e),lt(e),r&4){if(e.stateNode===null)throw Error(T(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){G(e,e.return,v)}}break;case 3:if(Ke(t,e),lt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Xr(t.containerInfo)}catch(v){G(e,e.return,v)}break;case 4:Ke(t,e),lt(e);break;case 13:Ke(t,e),lt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Ou=X())),r&4&&af(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(pe=(u=pe)||c,Ke(t,e),pe=u):Ke(t,e),lt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(x=e,c=e.child;c!==null;){for(f=x=c;x!==null;){switch(p=x,g=p.child,p.tag){case 0:case 11:case 14:case 15:$r(4,p,p.return);break;case 1:bn(p,p.return);var w=p.stateNode;if(typeof w.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(v){G(r,n,v)}}break;case 5:bn(p,p.return);break;case 22:if(p.memoizedState!==null){cf(f);continue}}g!==null?(g.return=p,x=g):cf(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=f.stateNode,a=f.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,s.style.display=Fd("display",l))}catch(v){G(e,e.return,v)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){G(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Ke(t,e),lt(e),r&4&&af(e);break;case 21:break;default:Ke(t,e),lt(e)}}function lt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(fh(n)){var r=n;break e}n=n.return}throw Error(T(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Kr(o,""),r.flags&=-33);var i=sf(e);da(e,i,o);break;case 3:case 4:var l=r.stateNode.containerInfo,s=sf(e);fa(e,s,l);break;default:throw Error(T(161))}}catch(a){G(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function hy(e,t,n){x=e,hh(e)}function hh(e,t,n){for(var r=(e.mode&1)!==0;x!==null;){var o=x,i=o.child;if(o.tag===22&&r){var l=o.memoizedState!==null||jo;if(!l){var s=o.alternate,a=s!==null&&s.memoizedState!==null||pe;s=jo;var u=pe;if(jo=l,(pe=a)&&!u)for(x=o;x!==null;)l=x,a=l.child,l.tag===22&&l.memoizedState!==null?ff(o):a!==null?(a.return=l,x=a):ff(o);for(;i!==null;)x=i,hh(i),i=i.sibling;x=o,jo=s,pe=u}uf(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,x=i):uf(e)}}function uf(e){for(;x!==null;){var t=x;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:pe||nl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!pe)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Ge(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Kc(t,i,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Kc(t,l,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&Xr(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}pe||t.flags&512&&ca(t)}catch(p){G(t,t.return,p)}}if(t===e){x=null;break}if(n=t.sibling,n!==null){n.return=t.return,x=n;break}x=t.return}}function cf(e){for(;x!==null;){var t=x;if(t===e){x=null;break}var n=t.sibling;if(n!==null){n.return=t.return,x=n;break}x=t.return}}function ff(e){for(;x!==null;){var t=x;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{nl(4,t)}catch(a){G(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){G(t,o,a)}}var i=t.return;try{ca(t)}catch(a){G(t,i,a)}break;case 5:var l=t.return;try{ca(t)}catch(a){G(t,l,a)}}}catch(a){G(t,t.return,a)}if(t===e){x=null;break}var s=t.sibling;if(s!==null){s.return=t.return,x=s;break}x=t.return}}var my=Math.ceil,zi=Tt.ReactCurrentDispatcher,Ru=Tt.ReactCurrentOwner,We=Tt.ReactCurrentBatchConfig,j=0,oe=null,J=null,ue=0,Oe=0,Wn=qt(0),Z=0,so=null,gn=0,rl=0,xu=0,br=null,Ce=null,Ou=0,ir=1/0,vt=null,Di=!1,pa=null,Kt=null,No=!1,Ft=null,Fi=0,Wr=0,ha=null,ii=-1,li=0;function we(){return j&6?X():ii!==-1?ii:ii=X()}function Qt(e){return e.mode&1?j&2&&ue!==0?ue&-ue:qg.transition!==null?(li===0&&(li=qd()),li):(e=N,e!==0||(e=window.event,e=e===void 0?16:ip(e.type)),e):1}function et(e,t,n,r){if(50<Wr)throw Wr=0,ha=null,Error(T(185));uo(e,n,r),(!(j&2)||e!==oe)&&(e===oe&&(!(j&2)&&(rl|=n),Z===4&&jt(e,ue)),Re(e,r),n===1&&j===0&&!(t.mode&1)&&(ir=X()+500,Zi&&Zt()))}function Re(e,t){var n=e.callbackNode;qv(e,t);var r=Ei(e,e===oe?ue:0);if(r===0)n!==null&&wc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&wc(n),t===1)e.tag===0?Jg(df.bind(null,e)):_p(df.bind(null,e)),Qg(function(){!(j&6)&&Zt()}),n=null;else{switch(Zd(r)){case 1:n=tu;break;case 4:n=Xd;break;case 16:n=ki;break;case 536870912:n=Jd;break;default:n=ki}n=Eh(n,mh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function mh(e,t){if(ii=-1,li=0,j&6)throw Error(T(327));var n=e.callbackNode;if(Yn()&&e.callbackNode!==n)return null;var r=Ei(e,e===oe?ue:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=$i(e,r);else{t=r;var o=j;j|=2;var i=gh();(oe!==e||ue!==t)&&(vt=null,ir=X()+500,dn(e,t));do try{yy();break}catch(s){vh(e,s)}while(!0);hu(),zi.current=i,j=o,J!==null?t=0:(oe=null,ue=0,t=Z)}if(t!==0){if(t===2&&(o=bs(e),o!==0&&(r=o,t=ma(e,o))),t===1)throw n=so,dn(e,0),jt(e,r),Re(e,X()),n;if(t===6)jt(e,r);else{if(o=e.current.alternate,!(r&30)&&!vy(o)&&(t=$i(e,r),t===2&&(i=bs(e),i!==0&&(r=i,t=ma(e,i))),t===1))throw n=so,dn(e,0),jt(e,r),Re(e,X()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(T(345));case 2:on(e,Ce,vt);break;case 3:if(jt(e,r),(r&130023424)===r&&(t=Ou+500-X(),10<t)){if(Ei(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){we(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Ys(on.bind(null,e,Ce,vt),t);break}on(e,Ce,vt);break;case 4:if(jt(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-Ze(r);i=1<<l,l=t[l],l>o&&(o=l),r&=~i}if(r=o,r=X()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*my(r/1960))-r,10<r){e.timeoutHandle=Ys(on.bind(null,e,Ce,vt),r);break}on(e,Ce,vt);break;case 5:on(e,Ce,vt);break;default:throw Error(T(329))}}}return Re(e,X()),e.callbackNode===n?mh.bind(null,e):null}function ma(e,t){var n=br;return e.current.memoizedState.isDehydrated&&(dn(e,t).flags|=256),e=$i(e,t),e!==2&&(t=Ce,Ce=n,t!==null&&va(t)),e}function va(e){Ce===null?Ce=e:Ce.push.apply(Ce,e)}function vy(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!rt(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function jt(e,t){for(t&=~xu,t&=~rl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ze(t),r=1<<n;e[n]=-1,t&=~r}}function df(e){if(j&6)throw Error(T(327));Yn();var t=Ei(e,0);if(!(t&1))return Re(e,X()),null;var n=$i(e,t);if(e.tag!==0&&n===2){var r=bs(e);r!==0&&(t=r,n=ma(e,r))}if(n===1)throw n=so,dn(e,0),jt(e,t),Re(e,X()),n;if(n===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,on(e,Ce,vt),Re(e,X()),null}function Lu(e,t){var n=j;j|=1;try{return e(t)}finally{j=n,j===0&&(ir=X()+500,Zi&&Zt())}}function yn(e){Ft!==null&&Ft.tag===0&&!(j&6)&&Yn();var t=j;j|=1;var n=We.transition,r=N;try{if(We.transition=null,N=1,e)return e()}finally{N=r,We.transition=n,j=t,!(j&6)&&Zt()}}function Iu(){Oe=Wn.current,W(Wn)}function dn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Kg(n)),J!==null)for(n=J.return;n!==null;){var r=n;switch(fu(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ri();break;case 3:rr(),W(Pe),W(he),Su();break;case 5:wu(r);break;case 4:rr();break;case 13:W(V);break;case 19:W(V);break;case 10:mu(r.type._context);break;case 22:case 23:Iu()}n=n.return}if(oe=e,J=e=Gt(e.current,null),ue=Oe=t,Z=0,so=null,xu=rl=gn=0,Ce=br=null,sn!==null){for(t=0;t<sn.length;t++)if(n=sn[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var l=i.next;i.next=o,r.next=l}n.pending=r}sn=null}return e}function vh(e,t){do{var n=J;try{if(hu(),ni.current=Ni,ji){for(var r=K.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ji=!1}if(vn=0,re=q=K=null,Fr=!1,oo=0,Ru.current=null,n===null||n.return===null){Z=1,so=t,J=null;break}e:{var i=e,l=n.return,s=n,a=t;if(t=ue,s.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=s,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var g=qc(l);if(g!==null){g.flags&=-257,Zc(g,l,s,i,t),g.mode&1&&Jc(i,u,t),t=g,a=u;var w=t.updateQueue;if(w===null){var v=new Set;v.add(a),t.updateQueue=v}else w.add(a);break e}else{if(!(t&1)){Jc(i,u,t),Mu();break e}a=Error(T(426))}}else if(B&&s.mode&1){var S=qc(l);if(S!==null){!(S.flags&65536)&&(S.flags|=256),Zc(S,l,s,i,t),du(or(a,s));break e}}i=a=or(a,s),Z!==4&&(Z=2),br===null?br=[i]:br.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var h=Zp(i,a,t);Vc(i,h);break e;case 1:s=a;var d=i.type,m=i.stateNode;if(!(i.flags&128)&&(typeof d.getDerivedStateFromError=="function"||m!==null&&typeof m.componentDidCatch=="function"&&(Kt===null||!Kt.has(m)))){i.flags|=65536,t&=-t,i.lanes|=t;var E=eh(i,s,t);Vc(i,E);break e}}i=i.return}while(i!==null)}wh(n)}catch(C){t=C,J===n&&n!==null&&(J=n=n.return);continue}break}while(!0)}function gh(){var e=zi.current;return zi.current=Ni,e===null?Ni:e}function Mu(){(Z===0||Z===3||Z===2)&&(Z=4),oe===null||!(gn&268435455)&&!(rl&268435455)||jt(oe,ue)}function $i(e,t){var n=j;j|=2;var r=gh();(oe!==e||ue!==t)&&(vt=null,dn(e,t));do try{gy();break}catch(o){vh(e,o)}while(!0);if(hu(),j=n,zi.current=r,J!==null)throw Error(T(261));return oe=null,ue=0,Z}function gy(){for(;J!==null;)yh(J)}function yy(){for(;J!==null&&!Bv();)yh(J)}function yh(e){var t=kh(e.alternate,e,Oe);e.memoizedProps=e.pendingProps,t===null?wh(e):J=t,Ru.current=null}function wh(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=fy(n,t),n!==null){n.flags&=32767,J=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Z=6,J=null;return}}else if(n=cy(n,t,Oe),n!==null){J=n;return}if(t=t.sibling,t!==null){J=t;return}J=t=e}while(t!==null);Z===0&&(Z=5)}function on(e,t,n){var r=N,o=We.transition;try{We.transition=null,N=1,wy(e,t,n,r)}finally{We.transition=o,N=r}return null}function wy(e,t,n,r){do Yn();while(Ft!==null);if(j&6)throw Error(T(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(T(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(Zv(e,i),e===oe&&(J=oe=null,ue=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||No||(No=!0,Eh(ki,function(){return Yn(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=We.transition,We.transition=null;var l=N;N=1;var s=j;j|=4,Ru.current=null,py(e,n),ph(n,e),Fg(Qs),Ci=!!Ks,Qs=Ks=null,e.current=n,hy(n),Hv(),j=s,N=l,We.transition=i}else e.current=n;if(No&&(No=!1,Ft=e,Fi=o),i=e.pendingLanes,i===0&&(Kt=null),Qv(n.stateNode),Re(e,X()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Di)throw Di=!1,e=pa,pa=null,e;return Fi&1&&e.tag!==0&&Yn(),i=e.pendingLanes,i&1?e===ha?Wr++:(Wr=0,ha=e):Wr=0,Zt(),null}function Yn(){if(Ft!==null){var e=Zd(Fi),t=We.transition,n=N;try{if(We.transition=null,N=16>e?16:e,Ft===null)var r=!1;else{if(e=Ft,Ft=null,Fi=0,j&6)throw Error(T(331));var o=j;for(j|=4,x=e.current;x!==null;){var i=x,l=i.child;if(x.flags&16){var s=i.deletions;if(s!==null){for(var a=0;a<s.length;a++){var u=s[a];for(x=u;x!==null;){var c=x;switch(c.tag){case 0:case 11:case 15:$r(8,c,i)}var f=c.child;if(f!==null)f.return=c,x=f;else for(;x!==null;){c=x;var p=c.sibling,g=c.return;if(ch(c),c===u){x=null;break}if(p!==null){p.return=g,x=p;break}x=g}}}var w=i.alternate;if(w!==null){var v=w.child;if(v!==null){w.child=null;do{var S=v.sibling;v.sibling=null,v=S}while(v!==null)}}x=i}}if(i.subtreeFlags&2064&&l!==null)l.return=i,x=l;else e:for(;x!==null;){if(i=x,i.flags&2048)switch(i.tag){case 0:case 11:case 15:$r(9,i,i.return)}var h=i.sibling;if(h!==null){h.return=i.return,x=h;break e}x=i.return}}var d=e.current;for(x=d;x!==null;){l=x;var m=l.child;if(l.subtreeFlags&2064&&m!==null)m.return=l,x=m;else e:for(l=d;x!==null;){if(s=x,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:nl(9,s)}}catch(C){G(s,s.return,C)}if(s===l){x=null;break e}var E=s.sibling;if(E!==null){E.return=s.return,x=E;break e}x=s.return}}if(j=o,Zt(),dt&&typeof dt.onPostCommitFiberRoot=="function")try{dt.onPostCommitFiberRoot(Gi,e)}catch{}r=!0}return r}finally{N=n,We.transition=t}}return!1}function pf(e,t,n){t=or(n,t),t=Zp(e,t,1),e=Vt(e,t,1),t=we(),e!==null&&(uo(e,1,t),Re(e,t))}function G(e,t,n){if(e.tag===3)pf(e,e,n);else for(;t!==null;){if(t.tag===3){pf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Kt===null||!Kt.has(r))){e=or(n,e),e=eh(t,e,1),t=Vt(t,e,1),e=we(),t!==null&&(uo(t,1,e),Re(t,e));break}}t=t.return}}function Sy(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=we(),e.pingedLanes|=e.suspendedLanes&n,oe===e&&(ue&n)===n&&(Z===4||Z===3&&(ue&130023424)===ue&&500>X()-Ou?dn(e,0):xu|=n),Re(e,t)}function Sh(e,t){t===0&&(e.mode&1?(t=To,To<<=1,!(To&130023424)&&(To=4194304)):t=1);var n=we();e=Ct(e,t),e!==null&&(uo(e,t,n),Re(e,n))}function ky(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Sh(e,n)}function Ey(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(T(314))}r!==null&&r.delete(t),Sh(e,n)}var kh;kh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Pe.current)_e=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return _e=!1,uy(e,t,n);_e=!!(e.flags&131072)}else _e=!1,B&&t.flags&1048576&&Pp(t,Li,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;oi(e,t),e=t.pendingProps;var o=er(t,he.current);Gn(t,n),o=Eu(null,t,r,e,o,n);var i=Cu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Te(r)?(i=!0,xi(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,gu(t),o.updater=tl,t.stateNode=o,o._reactInternals=t,na(t,r,e,n),t=ia(null,t,r,!0,i,n)):(t.tag=0,B&&i&&cu(t),ve(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(oi(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=_y(r),e=Ge(r,e),o){case 0:t=oa(null,t,r,e,n);break e;case 1:t=nf(null,t,r,e,n);break e;case 11:t=ef(null,t,r,e,n);break e;case 14:t=tf(null,t,r,Ge(r.type,e),n);break e}throw Error(T(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ge(r,o),oa(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ge(r,o),nf(e,t,r,o,n);case 3:e:{if(oh(t),e===null)throw Error(T(387));r=t.pendingProps,i=t.memoizedState,o=i.element,Ip(e,t),Ai(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=or(Error(T(423)),t),t=rf(e,t,r,n,o);break e}else if(r!==o){o=or(Error(T(424)),t),t=rf(e,t,r,n,o);break e}else for(Ie=Ht(t.stateNode.containerInfo.firstChild),Me=t,B=!0,Xe=null,n=Op(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(tr(),r===o){t=_t(e,t,n);break e}ve(e,t,r,n)}t=t.child}return t;case 5:return Mp(t),e===null&&Zs(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,l=o.children,Gs(r,o)?l=null:i!==null&&Gs(r,i)&&(t.flags|=32),rh(e,t),ve(e,t,l,n),t.child;case 6:return e===null&&Zs(t),null;case 13:return ih(e,t,n);case 4:return yu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=nr(t,null,r,n):ve(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ge(r,o),ef(e,t,r,o,n);case 7:return ve(e,t,t.pendingProps,n),t.child;case 8:return ve(e,t,t.pendingProps.children,n),t.child;case 12:return ve(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,F(Ii,r._currentValue),r._currentValue=l,i!==null)if(rt(i.value,l)){if(i.children===o.children&&!Pe.current){t=_t(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){l=i.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=St(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),ea(i.return,n,t),s.lanes|=n;break}a=a.next}}else if(i.tag===10)l=i.type===t.type?null:i.child;else if(i.tag===18){if(l=i.return,l===null)throw Error(T(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),ea(l,n,t),l=i.sibling}else l=i.child;if(l!==null)l.return=i;else for(l=i;l!==null;){if(l===t){l=null;break}if(i=l.sibling,i!==null){i.return=l.return,l=i;break}l=l.return}i=l}ve(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Gn(t,n),o=Be(o),r=r(o),t.flags|=1,ve(e,t,r,n),t.child;case 14:return r=t.type,o=Ge(r,t.pendingProps),o=Ge(r.type,o),tf(e,t,r,o,n);case 15:return th(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Ge(r,o),oi(e,t),t.tag=1,Te(r)?(e=!0,xi(t)):e=!1,Gn(t,n),qp(t,r,o),na(t,r,o,n),ia(null,t,r,!0,e,n);case 19:return lh(e,t,n);
vendor: 10,142 bytes, line 8
8case 22:return nh(e,t,n)}throw Error(T(156,t.tag))};function Eh(e,t){return Yd(e,t)}function Cy(e,t,n,r){this.tag=e,this.key=n,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=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function be(e,t,n,r){return new Cy(e,t,n,r)}function Au(e){return e=e.prototype,!(!e||!e.isReactComponent)}function _y(e){if(typeof e=="function")return Au(e)?1:0;if(e!=null){if(e=e.$$typeof,e===qa)return 11;if(e===Za)return 14}return 2}function Gt(e,t){var n=e.alternate;return n===null?(n=be(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function si(e,t,n,r,o,i){var l=2;if(r=e,typeof e=="function")Au(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case Mn:return pn(n.children,o,i,t);case Ja:l=8,o|=8;break;case Ts:return e=be(12,n,t,o|2),e.elementType=Ts,e.lanes=i,e;case Rs:return e=be(13,n,t,o),e.elementType=Rs,e.lanes=i,e;case xs:return e=be(19,n,t,o),e.elementType=xs,e.lanes=i,e;case Md:return ol(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ld:l=10;break e;case Id:l=9;break e;case qa:l=11;break e;case Za:l=14;break e;case It:l=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=be(l,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function pn(e,t,n,r){return e=be(7,e,r,t),e.lanes=n,e}function ol(e,t,n,r){return e=be(22,e,r,t),e.elementType=Md,e.lanes=n,e.stateNode={isHidden:!1},e}function Xl(e,t,n){return e=be(6,e,null,t),e.lanes=n,e}function Jl(e,t,n){return t=be(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Py(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Il(0),this.expirationTimes=Il(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Il(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Uu(e,t,n,r,o,i,l,s,a){return e=new Py(e,t,n,s,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=be(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},gu(i),e}function Ty(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:In,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Ch(e){if(!e)return Xt;e=e._reactInternals;e:{if(En(e)!==e||e.tag!==1)throw Error(T(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Te(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(T(171))}if(e.tag===1){var n=e.type;if(Te(n))return Cp(e,n,t)}return t}function _h(e,t,n,r,o,i,l,s,a){return e=Uu(n,r,!0,e,o,i,l,s,a),e.context=Ch(null),n=e.current,r=we(),o=Qt(n),i=St(r,o),i.callback=t??null,Vt(n,i,o),e.current.lanes=o,uo(e,o,r),Re(e,r),e}function il(e,t,n,r){var o=t.current,i=we(),l=Qt(o);return n=Ch(n),t.context===null?t.context=n:t.pendingContext=n,t=St(i,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Vt(o,t,l),e!==null&&(et(e,o,l,i),ti(e,o,l)),l}function bi(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 hf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ju(e,t){hf(e,t),(e=e.alternate)&&hf(e,t)}function Ry(){return null}var Ph=typeof reportError=="function"?reportError:function(e){};function Nu(e){this._internalRoot=e}ll.prototype.render=Nu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));il(e,t,null,null)};ll.prototype.unmount=Nu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;yn(function(){il(null,e,null,null)}),t[Et]=null}};function ll(e){this._internalRoot=e}ll.prototype.unstable_scheduleHydration=function(e){if(e){var t=np();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Ut.length&&t!==0&&t<Ut[n].priority;n++);Ut.splice(n,0,e),n===0&&op(e)}};function zu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function sl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function mf(){}function xy(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=bi(l);i.call(u)}}var l=_h(t,r,e,0,null,!1,!1,"",mf);return e._reactRootContainer=l,e[Et]=l.current,Zr(e.nodeType===8?e.parentNode:e),yn(),l}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var u=bi(a);s.call(u)}}var a=Uu(e,0,!1,null,null,!1,!1,"",mf);return e._reactRootContainer=a,e[Et]=a.current,Zr(e.nodeType===8?e.parentNode:e),yn(function(){il(t,a,n,r)}),a}function al(e,t,n,r,o){var i=n._reactRootContainer;if(i){var l=i;if(typeof o=="function"){var s=o;o=function(){var a=bi(l);s.call(a)}}il(t,l,e,o)}else l=xy(n,t,e,o,r);return bi(l)}ep=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Or(t.pendingLanes);n!==0&&(nu(t,n|1),Re(t,X()),!(j&6)&&(ir=X()+500,Zt()))}break;case 13:yn(function(){var r=Ct(e,1);if(r!==null){var o=we();et(r,e,1,o)}}),ju(e,1)}};ru=function(e){if(e.tag===13){var t=Ct(e,134217728);if(t!==null){var n=we();et(t,e,134217728,n)}ju(e,134217728)}};tp=function(e){if(e.tag===13){var t=Qt(e),n=Ct(e,t);if(n!==null){var r=we();et(n,e,t,r)}ju(e,t)}};np=function(){return N};rp=function(e,t){var n=N;try{return N=e,t()}finally{N=n}};Ds=function(e,t,n){switch(t){case"input":if(Is(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=qi(r);if(!o)throw Error(T(90));Ud(r),Is(r,o)}}}break;case"textarea":Nd(e,n);break;case"select":t=n.value,t!=null&&Hn(e,!!n.multiple,t,!1)}};Bd=Lu;Hd=yn;var Oy={usingClientEntryPoint:!1,Events:[fo,Nn,qi,bd,Wd,Lu]},Cr={findFiberByHostInstance:ln,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ly={bundleType:Cr.bundleType,version:Cr.version,rendererPackageName:Cr.rendererPackageName,rendererConfig:Cr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Tt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Qd(e),e===null?null:e.stateNode},findFiberByHostInstance:Cr.findFiberByHostInstance||Ry,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var zo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zo.isDisabled&&zo.supportsFiber)try{Gi=zo.inject(Ly),dt=zo}catch{}}Ue.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Oy;Ue.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!zu(t))throw Error(T(200));return Ty(e,t,null,n)};Ue.createRoot=function(e,t){if(!zu(e))throw Error(T(299));var n=!1,r="",o=Ph;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Uu(e,1,!1,null,null,n,!1,r,o),e[Et]=t.current,Zr(e.nodeType===8?e.parentNode:e),new Nu(t)};Ue.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(T(188)):(e=Object.keys(e).join(","),Error(T(268,e)));return e=Qd(t),e=e===null?null:e.stateNode,e};Ue.flushSync=function(e){return yn(e)};Ue.hydrate=function(e,t,n){if(!sl(t))throw Error(T(200));return al(null,e,t,!0,n)};Ue.hydrateRoot=function(e,t,n){if(!zu(e))throw Error(T(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",l=Ph;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=_h(t,null,e,1,n??null,o,!1,i,l),e[Et]=t.current,Zr(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new ll(t)};Ue.render=function(e,t,n){if(!sl(t))throw Error(T(200));return al(null,e,t,!1,n)};Ue.unmountComponentAtNode=function(e){if(!sl(e))throw Error(T(40));return e._reactRootContainer?(yn(function(){al(null,null,e,!1,function(){e._reactRootContainer=null,e[Et]=null})}),!0):!1};Ue.unstable_batchedUpdates=Lu;Ue.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!sl(n))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return al(e,t,n,!1,r)};Ue.version="18.3.1-next-f1338f8080-20240426";function Th(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Th)}catch{}}Th(),Td.exports=Ue;var Du=Td.exports;const JC=ar(Du);var vf=Du;uc.createRoot=vf.createRoot,uc.hydrateRoot=vf.hydrateRoot;
8var un,Iy=(un=class extends Error{constructor(n){super(new.target.formatMessage(new.target.kind,n.message,n.code,n.docsUrl),{cause:n.cause});se(this,"clerkError",!0);se(this,"code");se(this,"longMessage");se(this,"docsUrl");se(this,"cause");Object.setPrototypeOf(this,un.prototype),this.code=n.code,this.docsUrl=n.docsUrl,this.longMessage=n.longMessage,this.cause=n.cause}get name(){return this.constructor.name}toString(){return`[${this.name}] 9Message:${this.message}`}static formatMessage(n,r,o,i){const l="Clerk:",s=new RegExp(l.replace(" ","\\s*"),"i");return r=r.replace(s,""),r=`${l} ${r.trim()} 10 11(code="${o}") 12 13`,i&&(r+=` 14 15Docs: ${i}`),r}},se(un,"kind","ClerkError"),un);const My=Object.freeze({InvalidProxyUrlErrorMessage:"The proxyUrl passed to Clerk is invalid. The expected value for proxyUrl is an absolute URL or a relative path with a leading '/'. (key={{url}})",InvalidPublishableKeyErrorMessage:"The publishableKey passed to Clerk is invalid. You can get your Publishable key at https://dashboard.clerk.com/last-active?path=api-keys. (key={{key}})",MissingPublishableKeyErrorMessage:"Missing publishableKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingSecretKeyErrorMessage:"Missing secretKey. You can get your key at https://dashboard.clerk.com/last-active?path=api-keys.",MissingClerkProvider:"{{source}} can only be used within the <ClerkProvider /> component. Learn more: https://clerk.com/docs/components/clerk-provider"});function Rh({packageName:e,customMessages:t}){let n=e;function r(i,l){if(!l)return`${n}: ${i}`;let s=i;const a=i.matchAll(/{{([a-zA-Z0-9-_]+)}}/g);for(const u of a){const c=(l[u[1]]||"").toString();s=s.replace(`{{${u[1]}}}`,c)}return`${n}: ${s}`}const o={...My,...t};return{setPackageName({packageName:i}){return typeof i=="string"&&(n=i),this},setMessages({customMessages:i}){return Object.assign(o,i||{}),this},throwInvalidPublishableKeyError(i){throw new Error(r(o.InvalidPublishableKeyErrorMessage,i))},throwInvalidProxyUrl(i){throw new Error(r(o.InvalidProxyUrlErrorMessage,i))},throwMissingPublishableKeyError(){throw new Error(r(o.MissingPublishableKeyErrorMessage))},throwMissingSecretKeyError(){throw new Error(r(o.MissingSecretKeyErrorMessage))},throwMissingClerkProviderError(i){throw new Error(r(o.MissingClerkProvider,i))},throw(i){throw new Error(r(i))}}}var cn,ga=(cn=class extends Iy{constructor(n,r){super({...r,message:n});se(this,"clerkRuntimeError",!0);Object.setPrototypeOf(this,cn.prototype)}},se(cn,"kind","ClerkRuntimeError"),cn);const Ay={strict_mfa:{afterMinutes:10,level:"multi_factor"},strict:{afterMinutes:10,level:"second_factor"},moderate:{afterMinutes:60,level:"second_factor"},lax:{afterMinutes:1440,level:"second_factor"}},Uy=new Set(["first_factor","second_factor","multi_factor"]),jy=new Set(["strict_mfa","strict","moderate","lax"]),Ny=e=>typeof e=="number"&&e>0,zy=e=>Uy.has(e),Dy=e=>jy.has(e),gf=e=>typeof e=="number"&&Number.isFinite(e)&&(e===-1||e>=0),ql=e=>e.replace(/^(org:)*/,"org:"),Fy=(e,t)=>{const{orgId:n,orgRole:r,orgPermissions:o}=t,i=e.role!==void 0,l=e.permission!==void 0;return!i&&!l?"skip":i&&typeof e.role!="string"||l&&typeof e.permission!="string"||!n||i&&(typeof r!="string"||!r||ql(r)!==ql(e.role))||l&&(!Array.isArray(o)||!o.includes(ql(e.permission)))?"fail":"pass"},yf=(e,t)=>{const{org:n,user:r}=by(e),[o,i]=t.split(":"),l=i||o;return o==="org"?n.includes(l):o==="user"?r.includes(l):[...n,...r].includes(l)},$y=(e,t)=>{const{features:n,plans:r}=t,o=e.feature!==void 0,i=e.plan!==void 0;if(!o&&!i)return"skip";if(o&&typeof e.feature!="string"||i&&typeof e.plan!="string")return"fail";if(o){if(typeof n!="string"||!n)return"fail";try{if(!yf(n,e.feature))return"fail"}catch{return"fail"}}if(i){if(typeof r!="string"||!r)return"fail";try{if(!yf(r,e.plan))return"fail"}catch{return"fail"}}return"pass"},by=e=>{const t=e?e.split(",").map(n=>n.trim()):[];return{org:t.filter(n=>n.split(":")[0].includes("o")).map(n=>n.split(":")[1]),user:t.filter(n=>n.split(":")[0].includes("u")).map(n=>n.split(":")[1])}},Wy=e=>{if(!e)return!1;const t=o=>
15typeof o=="string"?Ay[o]:o,n=typeof e=="string"&&Dy(e),r=typeof e=="object"&&zy(e.level)&&Ny(e.afterMinutes);return n||r?t.bind(null,e):!1},By=(e,{factorVerificationAge:t})=>{if(e.reverification===void 0)return"skip";if(!t||!Array.isArray(t)||t.length!==2||!gf(t[0])||!gf(t[1]))return"fail";const n=Wy(e.reverification);if(!n)return"fail";const{level:r,afterMinutes:o}=n(),[i,l]=t;if(i===-1&&l===-1)return"fail";const s=i!==-1&&o>i,a=l!==-1&&o>l;switch(r){case"first_factor":return s?"pass":"fail";case"second_factor":return l===-1?s?"pass":"fail":a?"pass":"fail";case"multi_factor":return l===-1?s?"pass":"fail":i===-1?"fail":s&&a?"pass":"fail"}},Hy=e=>e.some(t=>t==="pass")&&e.every(t=>t==="pass"||t==="skip"),Vy=e=>t=>e.userId?Hy([Fy(t,e),$y(t,e),By(t,e)]):!1,Ky=({authObject:{sessionId:e,sessionStatus:t,userId:n,actor:r,orgId:o,orgRole:i,orgSlug:l,signOut:s,getToken:a,has:u,sessionClaims:c},options:{treatPendingAsSignedOut:f=!0}})=>{if(e===void 0&&n===void 0)return{isLoaded:!1,isSignedIn:void 0,sessionId:e,sessionClaims:void 0,userId:n,actor:void 0,orgId:void 0,orgRole:void 0,orgSlug:void 0,has:void 0,signOut:s,getToken:a};if(e===null&&n===null)return{isLoaded:!0,isSignedIn:!1,sessionId:e,userId:n,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:s,getToken:a};if(f&&t==="pending")return{isLoaded:!0,isSignedIn:!1,sessionId:null,userId:null,sessionClaims:null,actor:null,orgId:null,orgRole:null,orgSlug:null,has:()=>!1,signOut:s,getToken:a};if(e&&c&&n&&o&&i)return{isLoaded:!0,isSignedIn:!0,sessionId:e,sessionClaims:c,userId:n,actor:r||null,orgId:o,orgRole:i,orgSlug:l||null,has:u,signOut:s,getToken:a};if(e&&c&&n&&!o)return{isLoaded:!0,isSignedIn:!0,sessionId:e,sessionClaims:c,userId:n,actor:r||null,orgId:null,orgRole:null,orgSlug:null,has:u,signOut:s,getToken:a}},Qy=[".lcl.dev",".stg.dev",".lclstage.dev",".stgstage.dev",".dev.lclclerk.com",".stg.lclclerk.com",".accounts.lclclerk.com","accountsstage.dev","accounts.dev"],xh=e=>typeof atob<"u"&&typeof atob=="function"?atob(e):typeof global<"u"&&global.Buffer?new global.Buffer(e,"base64").toString():e,Oh="pk_live_",Gy="pk_test_";function Lh(e){if(!e.endsWith("$"))return!1;const t=e.slice(0,-1);return t.includes("$")?!1:t.includes(".")}function wf(e,t={}){if(e=e||"",!e||!ya(e)){if(t.fatal&&!e)throw new Error("Publishable key is missing. Ensure that your publishable key is correctly configured. Double-check your environment configuration for your keys, or access them here: https://dashboard.clerk.com/last-active?path=api-keys");if(t.fatal&&!ya(e))throw new Error("Publishable key not valid.");return null}const n=e.startsWith(Oh)?"production":"development";let r;try{r=xh(e.split("_")[2])}catch{if(t.fatal)throw new Error("Publishable key not valid: Failed to decode key.");return null}if(!Lh(r)){if(t.fatal)throw new Error("Publishable key not valid: Decoded key has invalid format.");return null}let o=r.slice(0,-1);return t.proxyUrl?o=t.proxyUrl:n!=="development"&&t.domain&&t.isSatellite&&(o=`clerk.${t.domain}`),{instanceType:n,frontendApi:o}}function ya(e=""){try{if(!(e.startsWith(Oh)||e.startsWith(Gy)))return!1;const t=e.split("_");if(t.length!==3)return!1;const n=t[2];return n?Lh(xh(n)):!1}catch{return!1}}function Yy(){const e=new Map;return{isDevOrStagingUrl:t=>{if(!t)return!1;const n=typeof t=="string"?t:t.hostname;let r=e.get(n);return r===void 0&&(r=Qy.some(o=>n.endsWith(o)),e.set(n,r)),r}}}const Xy="METHOD_CALLED",Jy=.1;function Ih(e,t){return{event:Xy,eventSamplingRate:Jy,payload:{method:e,...t}}}var Mh={exports:{}},Ah={};var lr=y;function qy(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Zy=typeof Object.is=="function"?Object.is:qy,e0=lr.useState,t0=lr.useEffect,n0=lr.useLayoutEffect,r0=lr.useDebugValue;function o0(e,t){var n=t(),r=e0({inst:{value:n,getSnapshot:t}}),o=r[0].inst,i=r[1];return n0(function(){o.value=n,o.getSnapshot=t,Zl(o)&&i({inst:o})},[e,n,t]),t0(function(){return Zl(o)&&i({inst:o}),e(function(){Zl(o)&&i({inst:o})})},[e]),r0(n),n}function Zl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Zy(e,n)}catch{return!0}}function i0(e,t){return t()}var l0=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?i0:o0;Ah.useSyncExternalStore=lr.useSyncExternalStore!==void 0?lr.useSyncExternalStore:l0;Mh.exports=Ah;var qC=Mh.exports;const s0=0,a0=1,u0=2;var Sf=Object.prototype.hasOwnProperty;function wa(e,t){var n,r;if(e===t)return!0;
15if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&wa(e[r],t[r]););return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(Sf.call(e,n)&&++r&&!Sf.call(t,n)||!(n in t)||!wa(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}const Nt=new WeakMap,$t=()=>{},Le=$t(),Wi=Object,Je=e=>e===Le,zt=e=>typeof e=="function",wn=(e,t)=>({...e,...t}),c0=e=>zt(e.then),es={},Do={},Uh="undefined",ul=typeof window!=Uh,Sa=typeof document!=Uh,f0=ul&&"Deno"in window,d0=(e,t)=>{const n=Nt.get(e);return[()=>!Je(t)&&e.get(t)||es,r=>{if(!Je(t)){const o=e.get(t);t in Do||(Do[t]=o),n[5](t,wn(o,r),o||es)}},n[6],()=>!Je(t)&&t in Do?Do[t]:!Je(t)&&e.get(t)||es]};let ka=!0;const p0=()=>ka,[Ea,Ca]=ul&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[$t,$t],h0=()=>{const e=Sa&&document.visibilityState;return Je(e)||e!=="hidden"},m0=e=>(Sa&&document.addEventListener("visibilitychange",e),Ea("focus",e),()=>{Sa&&document.removeEventListener("visibilitychange",e),Ca("focus",e)}),v0=e=>{const t=()=>{ka=!0,e()},n=()=>{ka=!1};
15return Ea("online",t),Ea("offline",n),()=>{Ca("online",t),Ca("offline",n)}},g0={isOnline:p0,isVisible:h0},y0={initFocus:m0,initReconnect:v0},Fu=!ul||f0,w0=Fu?y.useEffect:y.useLayoutEffect,ts=typeof navigator<"u"&&navigator.connection,kf=!Fu&&ts&&(["slow-2g","2g"].includes(ts.effectiveType)||ts.saveData),Fo=new WeakMap,S0=e=>Wi.prototype.toString.call(e),ns=(e,t)=>e===`[object ${t}]`;let k0=0;const _a=e=>{const t=typeof e,n=S0(e),r=ns(n,"Date"),o=ns(n,"RegExp"),i=ns(n,"Object");let l,s;if(Wi(e)===e&&!r&&!o){if(l=Fo.get(e),l)return l;if(l=++k0+"~",Fo.set(e,l),Array.isArray(e)){for(l="@",s=0;s<e.length;s++)l+=_a(e[s])+",";Fo.set(e,l)}if(i){l="#";const a=Wi.keys(e).sort();for(;!Je(s=a.pop());)Je(e[s])||(l+=s+":"+_a(e[s])+",");Fo.set(e,l)}}else l=r?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return l},jh=e=>{if(zt(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?_a(e):"",[e,t]};let E0=0;const Ef=()=>++E0;async function C0(...e){const[t,n,r,o]=e,i=wn({populateCache:!0,throwOnError:!0},typeof o=="boolean"?{revalidate:o}:o||{});let l=i.populateCache;const s=i.rollbackOnError;let a=i.optimisticData;const u=p=>typeof s=="function"?s(p):s!==!1,c=i.throwOnError;if(zt(n)){const p=n,g=[],w=t.keys();for(const v of w)!/^\$(inf|sub)\$/.test(v)&&p(t.get(v)._k)&&g.push(v);return Promise.all(g.map(f))}return f(n);async function f(p){const[g]=jh(p);if(!g)return;const[w,v]=d0(t,g),[S,h,d,m]=Nt.get(t),E=()=>{const le=S[g];return(zt(i.revalidate)?i.revalidate(w().data,p):i.revalidate!==!1)&&(delete d[g],delete m[g],le&&le[0])?le[0](u0).then(()=>w().data):w().data};if(e.length<3)return E();let C=r,P,_=!1;const R=Ef();h[g]=[R,0];const L=!Je(a),I=w(),z=I.data,ee=I._c,te=Je(ee)?z:ee;if(L&&(a=zt(a)?a(te,z):a,v({data:a,_c:te})),zt(C))try{C=C(te)}catch(le){P=le,_=!0}if(C&&c0(C))if(C=await C.catch(le=>{P=le,_=!0}),R!==h[g][0]){if(_)throw P;return C}else _&&L&&u(P)&&(l=!0,v({data:te,_c:Le}));if(l&&!_)if(zt(l)){const le=l(C,te);v({data:le,error:Le,_c:Le})}else v({data:C,error:Le,_c:Le});if(h[g][1]=Ef(),Promise.resolve(E()).then(()=>{v({_c:Le})}),_){if(c)throw P;return}return C}}const Cf=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},Nh=(e,t)=>{if(!Nt.has(e)){const n=wn(y0,t),r=Object.create(null),o=C0.bind(Le,e);let i=$t;const l=Object.create(null),s=(c,f)=>{const p=l[c]||[];return l[c]=p,p.push(f),()=>p.splice(p.indexOf(f),1)},a=(c,f,p)=>{e.set(c,f);const g=l[c];if(g)for(const w of g)w(f,p)},u=()=>{if(!Nt.has(e)&&(Nt.set(e,[r,Object.create(null),Object.create(null),Object.create(null),o,a,s]),!Fu)){const c=n.initFocus(setTimeout.bind(Le,Cf.bind(Le,r,s0))),f=n.initReconnect(setTimeout.bind(Le,Cf.bind(Le,r,a0)));i=()=>{c&&c(),f&&f(),Nt.delete(e)}}};return u(),[e,o,u,i]}return[e,Nt.get(e)[4]]},_0=(e,t,n,r,o)=>{const i=n.errorRetryCount,l=o.retryCount,s=~~((Math.random()+.5)*(1<<(l<8?l:8)))*n.errorRetryInterval;!Je(i)&&l>i||setTimeout(r,s,o)},P0=wa,[$u,T0]=Nh(new Map),R0=wn({onLoadingSlow:$t,onSuccess:$t,onError:$t,onErrorRetry:_0,onDiscarded:$t,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:kf?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:kf?5e3:3e3,compare:P0,isPaused:()=>!1,cache:$u,mutate:T0,fallback:{}},g0),x0=(e,t)=>{const n=wn(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:l}=t;r&&i&&(n.use=r.concat(i)),o&&l&&(n.fallback=wn(o,l))}return n},_f=y.createContext({}),O0=e=>{const{value:t}=e,n=y.useContext(_f),r=zt(t),o=y.useMemo(()=>r?t(n):t,[r,n,t]),i=y.useMemo(()=>r?o:x0(n,o),[r,n,o]),l=o&&o.provider,s=y.useRef(Le);l&&!s.current&&(s.current=Nh(l(i.cache||$u),o));const a=s.current;return a&&(i.cache=a[0],i.mutate=a[1]),w0(()=>{if(a)return a[2]&&a[2](),a[3]},[]),y.createElement(_f.Provider,wn(e,{value:i}))},L0="$inf$",zh=ul&&window.__SWR_DEVTOOLS_USE__,I0=zh?window.__SWR_DEVTOOLS_USE__:[],M0=()=>{zh&&(window.__SWR_DEVTOOLS_REACT__=k)},A0=e=>(t,n,r)=>e(t,n&&((...i)=>{const[l]=jh(t),[,,,s]=Nt.get($u);if(l.startsWith(L0))return n(...i);const a=s[l];return Je(a)?n(...i):(delete s[l],a)}),r);I0.concat(A0);M0();const U0=Wi.defineProperty(O0,"defaultValue",{value:R0});var Pf=Object.prototype.hasOwnProperty;function Tf(e,t,n){for(n of e.keys())if(Br(n,t))return n}function Br(e,t){var n,r,o;
15if(e===t)return!0;if(e&&t&&(n=e.constructor)===t.constructor){if(n===Date)return e.getTime()===t.getTime();if(n===RegExp)return e.toString()===t.toString();if(n===Array){if((r=e.length)===t.length)for(;r--&&Br(e[r],t[r]););return r===-1}if(n===Set){if(e.size!==t.size)return!1;for(r of e)if(o=r,o&&typeof o=="object"&&(o=Tf(t,o),!o)||!t.has(o))return!1;return!0}if(n===Map){if(e.size!==t.size)return!1;for(r of e)if(o=r[0],o&&typeof o=="object"&&(o=Tf(t,o),!o)||!Br(r[1],t.get(o)))return!1;return!0}if(n===ArrayBuffer)e=new Uint8Array(e),t=new Uint8Array(t);else if(n===DataView){if((r=e.byteLength)===t.byteLength)for(;r--&&e.getInt8(r)===t.getInt8(r););return r===-1}if(ArrayBuffer.isView(e)){if((r=e.byteLength)===t.byteLength)for(;r--&&e[r]===t[r];);return r===-1}if(!n||typeof e=="object"){r=0;for(n in e)if(Pf.call(e,n)&&++r&&!Pf.call(t,n)||!(n in t)||!Br(e[n],t[n]))return!1;return Object.keys(t).length===r}}return e!==e&&t!==t}function j0(e,t){if(!e)throw typeof t=="string"?new Error(t):new Error(`${t.displayName} not found`)}const Rt=(e,t)=>{const{assertCtxFn:n=j0}={},r=k.createContext(void 0);return r.displayName=e,[r,()=>{const l=k.useContext(r);return n(l,`${e} not found`),l.value},()=>{const l=k.useContext(r);return l?l.value:{}}]};function N0({swrConfig:e,children:t}){return k.createElement(U0,{value:e},t)}const[Dh,bu]=Rt("ClerkInstanceContext"),[z0,D0]=Rt("UserContext"),[F0]=Rt("ClientContext"),[$0]=Rt("SessionContext");k.createContext({});const[b0]=Rt("CheckoutContext"),W0=({children:e,...t})=>k.createElement(b0.Provider,{value:{value:t}},e),[B0]=Rt("OrganizationContext"),H0=({children:e,organization:t,swrConfig:n})=>k.createElement(N0,{swrConfig:n},k.createElement(B0.Provider,{value:{value:{organization:t}}},e));function Wu(e){if(!k.useContext(Dh)){if(typeof e=="function"){e();return}throw new Error(`${e} can only be used within the <ClerkProvider /> component. 16 17Possible fixes: 181. Ensure that the <ClerkProvider /> is correctly wrapping your application where this component is used. 192. Check for multiple versions of the \`@clerk/shared\` package in your project. Use a tool like \`npm ls @clerk/shared\` to identify multiple versions, and update your dependencies to only rely on one. 20 21Learn more: https://clerk.com/docs/components/clerk-provider`.trim())}}const ZC=()=>(Wu("useClerk"),bu()),Rf="useUser";function e_(){Wu(Rf);const e=D0();return bu().telemetry?.record(Ih(Rf)),e===void 0?{isLoaded:!1,isSignedIn:void 0,user:void 0}:e===null?{isLoaded:!0,isSignedIn:!1,user:null}:{isLoaded:!0,isSignedIn:!0,user:e}}const xf=Br,V0=e=>{const t=y.useRef(e);return y.useEffect(()=>{t.current=e},[e]),t.current},xe=(e,t,n)=>{const r=!!n,o=y.useRef(n);y.useEffect(()=>{o.current=n},[n]),y.useEffect(()=>{if(!r||!e)return()=>{};const i=(...l)=>{o.current&&o.current(...l)};return e.on(t,i),()=>{e.off(t,i)}},[r,t,e,o])},Fh=k.createContext(null);Fh.displayName="ElementsContext";const K0=(e,t)=>{if(!e)throw new Error(`Could not find Elements context; You need to wrap the part of your app that ${t} in an <Elements> provider.`);return e},Bi=e=>e!==null&&typeof e=="object",Q0=(e,t,n)=>Bi(e)?Object.keys(e).reduce((r,o)=>{const i=!Bi(t)||!$h(e[o],t[o]);return n.includes(o)||!i?r:{...r||{},[o]:e[o]}},null):null,Of="[object Object]",$h=(e,t)=>{if(!Bi(e)||!Bi(t))return e===t;const n=Array.isArray(e);if(n!==Array.isArray(t))return!1;const r=Object.prototype.toString.call(e)===Of;if(r!==(Object.prototype.toString.call(t)===Of))return!1;if(!r&&!n)return e===t;const o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;const l={};for(let f=0;f<o.length;f+=1)l[o[f]]=!0;for(let f=0;f<i.length;f+=1)l[i[f]]=!0;const s=Object.keys(l);if(s.length!==o.length)return!1;const a=e,u=t,c=f=>$h(a[f],u[f]);return s.every(c)},Lf=e=>K0(k.useContext(Fh),e),G0=e=>e.charAt(0).toUpperCase()+e.slice(1),Y0=(e,t)=>{const n=`${G0(e)}Element`,i=t?l=>{Lf(`mounts <${n}>`);const{id:s,className:a}=l;return k.createElement("div",{id:s,className:a})}:({id:l,className:s,fallback:a,options:u={},onBlur:c,onFocus:f,onReady:p,onChange:g,onEscape:w,onClick:v,onLoadError:S,onLoaderStart:h,onNetworksChange:d,onConfirm:m,onCancel:E,onShippingAddressChange:C,onShippingRateChange:P})=>{const _=Lf(`mounts <${n}>`),R="elements"in _?_.elements:null,[L,I]=k.useState(null),z=k.useRef(null),ee=k.useRef(null),[te,le]=y.useState(!1);
21xe(L,"blur",c),xe(L,"focus",f),xe(L,"escape",w),xe(L,"click",v),xe(L,"loaderror",S),xe(L,"loaderstart",h),xe(L,"networkschange",d),xe(L,"confirm",m),xe(L,"cancel",E),xe(L,"shippingaddresschange",C),xe(L,"shippingratechange",P),xe(L,"change",g);let Ee;p&&(Ee=()=>{le(!0),p(L)}),xe(L,"ready",Ee),k.useLayoutEffect(()=>{if(z.current===null&&ee.current!==null&&R){let ze=null;R&&(ze=R.create(e,u)),z.current=ze,I(ze),ze&&ze.mount(ee.current)}},[R,u]);const Cn=V0(u);return k.useEffect(()=>{if(!z.current)return;const ze=Q0(u,Cn,["paymentRequest"]);ze&&"update"in z.current&&z.current.update(ze)},[u,Cn]),k.useLayoutEffect(()=>()=>{if(z.current&&typeof z.current.destroy=="function")try{z.current.destroy(),z.current=null}catch{}},[]),k.createElement(k.Fragment,null,!te&&a,k.createElement("div",{id:l,style:{height:te?"unset":"0px",visibility:te?"visible":"hidden"},className:s,ref:ee}))};return i.displayName=n,i.__elementType=e,i};Y0("payment",typeof window>"u");Rt("PaymentElementContext");Rt("StripeUtilsContext");var tt=Rh({packageName:"@clerk/clerk-react"});function X0(e){tt.setMessages(e).setPackageName(e)}var[J0,q0]=Rt("AuthContext"),Z0=Dh,bh=bu,ew="You've added multiple <ClerkProvider> components in your React component tree. Wrap your components in a single <ClerkProvider>.",tw=e=>`You've passed multiple children components to <${e}/>. You can only pass a single child component or text.`,nw="Invalid state. Feel free to submit a bug or reach out to support here: https://clerk.com/support",rs="Unsupported usage of isSatellite, domain or proxyUrl. The usage of isSatellite, domain or proxyUrl as function is not supported in non-browser environments.",rw="<UserProfile.Page /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",ow="<UserProfile.Link /> component needs to be a direct child of `<UserProfile />` or `<UserButton />`.",iw="<OrganizationProfile.Page /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",lw="<OrganizationProfile.Link /> component needs to be a direct child of `<OrganizationProfile />` or `<OrganizationSwitcher />`.",sw=e=>`<${e} /> can only accept <${e}.Page /> and <${e}.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.`,aw=e=>`Missing props. <${e}.Page /> component requires the following props: url, label, labelIcon, alongside with children to be rendered inside the page.`,uw=e=>`Missing props. <${e}.Link /> component requires the following props: url, label and labelIcon.`,cw="<UserButton /> can only accept <UserButton.UserProfilePage />, <UserButton.UserProfileLink /> and <UserButton.MenuItems /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",fw="<UserButton.MenuItems /> component can only accept <UserButton.Action /> and <UserButton.Link /> as its children. Any other provided component will be ignored. Additionally, please ensure that the component is rendered in a client component.",dw="<UserButton.MenuItems /> component needs to be a direct child of `<UserButton />`.",pw="<UserButton.Action /> component needs to be a direct child of `<UserButton.MenuItems />`.",hw="<UserButton.Link /> component needs to be a direct child of `<UserButton.MenuItems />`.",mw="Missing props. <UserButton.Link /> component requires the following props: href, label and labelIcon.",vw="Missing props. <UserButton.Action /> component requires the following props: label.",Wh=e=>{Wu(()=>{tt.throwMissingClerkProviderError({source:e})})},Bh=e=>new Promise(t=>{const n=r=>{["ready","degraded"].includes(r)&&(t(),e.off("status",n))};e.on("status",n,{notify:!0})}),gw=e=>async t=>(await Bh(e),e.session?e.session.getToken(t):null),yw=e=>async(...t)=>(await Bh(e),e.signOut(...t)),t_=(e={})=>{var t;Wh("useAuth");const{treatPendingAsSignedOut:n,...r}=e??{},o=r;let l=q0();l.sessionId===void 0&&l.userId===void 0&&(l=o??{});const s=bh(),a=y.useCallback(gw(s),[s]),u=y.useCallback(yw(s),[s]);return(t=s.telemetry)==null||t.record(Ih("useAuth",{treatPendingAsSignedOut:n})),ww({...l,getToken:a,signOut:u},{treatPendingAsSignedOut:n})};function ww(e,{treatPendingAsSignedOut:t=!0}={}){const{userId:n,orgId:r,orgRole:o,has:i,signOut:l,getToken:s,orgPermissions:a,factorVerificationAge:u,sessionClaims:c}=e??{},f=y.useCallback(g=>i?i(g):Vy({userId:n,orgId:r,orgRole:o,orgPermissions:a,factorVerificationAge:u,features:c?.fea||"",plans:c?.pla||""})(g),[i,n,r,o,a,u,c]),p=Ky({authObject:{...e,getToken:s,signOut:l,has:f},options:{treatPendingAsSignedOut:t}});return p||tt.throw(nw)}var D=(e,t)=>{const r=(typeof t=="string"?t:t?.component)||e.displayName||e.name||"Component";e.displayName=r;const o=typeof t=="string"?void 0:t,i=l=>{Wh(r||"withClerk");const s=bh();return!s.loaded&&!o?.renderWhileLoading?null:k.createElement(e,{...l,component:r,clerk:s})};return i.displayName=`withClerk(${r})`,i};const Sw=()=>{try{return!1}catch{}return!1},kw=()=>{try{return!1}catch{}return!1},Ew=()=>{try{return!0}catch{}return!1},If=new Set,Bu=(e,t,n)=>{const r=kw()||Ew(),o=e;If.has(o)||r||If.add(o)};D(({clerk:e,...t})=>{const{client:n,session:r}=e,o=n.signedInSessions?n.signedInSessions.length>0:n.activeSessions&&n.activeSessions.length>0;return k.useEffect(()=>{r===null&&o?e.redirectToAfterSignOut():e.redirectToSignIn(t)},[]),null},"RedirectToSignIn");D(({clerk:e,...t})=>(k.useEffect(()=>{e.redirectToSignUp(t)},[]),null),"RedirectToSignUp");D(({clerk:e,...t})=>(k.useEffect(()=>{e.redirectToTasks(t)},[]),null),"RedirectToTasks");D(({clerk:e})=>(k.useEffect(()=>{Bu("RedirectToUserProfile","Use the `redirectToUserProfile()` method instead."),e.redirectToUserProfile()},[]),null),"RedirectToUserProfile");D(({clerk:e})=>(k.useEffect(()=>{Bu("RedirectToOrganizationProfile","Use the `redirectToOrganizationProfile()` method instead."),e.redirectToOrganizationProfile()},[]),null),"RedirectToOrganizationProfile");D(({clerk:e})=>(k.useEffect(()=>{Bu("RedirectToCreateOrganization","Use the `redirectToCreateOrganization()` method instead."),e.redirectToCreateOrganization()},[]),null),"RedirectToCreateOrganization");D(({clerk:e,...t})=>(k.useEffect(()=>{e.handleRedirectCallback(t)},[]),null),"AuthenticateWithRedirectCallback");function os(e,t,n){if(typeof e=="function")return e(t);if(typeof e<"u")return e;if(typeof n<"u")return n}const ye=e=>{Sw()},Mf=(e,...t)=>{const n={...e};for(const r of t)delete n[r];return n};var cl=e=>t=>{try{return k.Children.only(e)}catch{return tt.throw(tw(t))}},fl=(e,t)=>
21(e||(e=t),typeof e=="string"&&(e=k.createElement("button",null,e)),e),dl=e=>(...t)=>{if(e&&typeof e=="function")return e(...t)};function Cw(e){return typeof e=="function"}var $o=new Map;function _w(e,t,n=1){k.useEffect(()=>{const r=$o.get(e)||0;return r==n?tt.throw(t):($o.set(e,r+1),()=>{$o.set(e,($o.get(e)||1)-1)})},[])}function Pw(e,t,n){const r=e.displayName||e.name||t||"Component",o=i=>(_w(t,n),k.createElement(e,{...i}));return o.displayName=`withMaxAllowedInstancesGuard(${r})`,o}var Hr=e=>{const[t,n]=y.useState(new Map);return e.map(r=>({id:r.id,mount:o=>n(i=>new Map(i).set(String(r.id),o)),unmount:()=>n(o=>{const i=new Map(o);return i.set(String(r.id),null),i}),portal:()=>{const o=t.get(String(r.id));return o?Du.createPortal(r.component,o):null}}))},ge=(e,t)=>!!e&&k.isValidElement(e)&&e?.type===t,Hh=(e,t)=>Qh({children:e,reorderItemsLabels:["account","security","billing","apiKeys"],LinkComponent:mo,PageComponent:ho,MenuItemsComponent:hl,componentName:"UserProfile"},t),Vh=(e,t)=>Qh({children:e,reorderItemsLabels:["general","members","billing","apiKeys"],LinkComponent:vl,PageComponent:ml,componentName:"OrganizationProfile"},t),Kh=e=>{const t=[],n=[vl,ml,hl,ho,mo];return k.Children.forEach(e,r=>{n.some(o=>ge(r,o))||t.push(r)}),t},Qh=(e,t)=>{const{children:n,LinkComponent:r,PageComponent:o,MenuItemsComponent:i,reorderItemsLabels:l,componentName:s}=e,{allowForAnyChildren:a=!1}=t||{},u=[];k.Children.forEach(n,d=>{if(!ge(d,o)&&!ge(d,r)&&!ge(d,i)){d&&!a&&ye(sw(s));return}const{props:m}=d,{children:E,label:C,url:P,labelIcon:_}=m;if(ge(d,o))if(Af(m,l))u.push({label:C});else if(is(m))u.push({label:C,labelIcon:_,children:E,url:P});else{ye(aw(s));return}if(ge(d,r))if(ls(m))u.push({label:C,labelIcon:_,url:P});else{ye(uw(s));return}});const c=[],f=[],p=[];u.forEach((d,m)=>{if(is(d)){c.push({component:d.children,id:m}),f.push({component:d.labelIcon,id:m});return}ls(d)&&p.push({component:d.labelIcon,id:m})});const g=Hr(c),w=Hr(f),v=Hr(p),S=[],h=[];return u.forEach((d,m)=>{if(Af(d,l)){S.push({label:d.label});return}if(is(d)){const{portal:E,mount:C,unmount:P}=g.find(I=>I.id===m),{portal:_,mount:R,unmount:L}=w.find(I=>I.id===m);S.push({label:d.label,url:d.url,mount:C,unmount:P,mountIcon:R,unmountIcon:L}),h.push(E),h.push(_);return}if(ls(d)){const{portal:E,mount:C,unmount:P}=v.find(_=>_.id===m);S.push({label:d.label,url:d.url,mountIcon:C,unmountIcon:P}),h.push(E);return}}),{customPages:S,customPagesPortals:h}},Af=(e,t)=>{const{children:n,label:r,url:o,labelIcon:i}=e;return!n&&!o&&!i&&t.some(l=>l===r)},is=e=>{const{children:t,label:n,url:r,labelIcon:o}=e;return!!t&&!!r&&!!o&&!!n},ls=e=>{const{children:t,label:n,url:r,labelIcon:o}=e;return!t&&!!r&&!!o&&!!n},Tw=(e,t)=>{var n;return Rw({children:e,reorderItemsLabels:["manageAccount","signOut"],MenuItemsComponent:hl,MenuActionComponent:Yh,MenuLinkComponent:Xh,UserProfileLinkComponent:mo,UserProfilePageComponent:ho,allowForAnyChildren:(n=t?.allowForAnyChildren)!=null?n:!1})},Rw=({children:e,MenuItemsComponent:t,MenuActionComponent:n,MenuLinkComponent:r,UserProfileLinkComponent:o,UserProfilePageComponent:i,reorderItemsLabels:l,allowForAnyChildren:s=!1})=>{const a=[],u=[],c=[];k.Children.forEach(e,v=>{if(!ge(v,t)&&!ge(v,o)&&!ge(v,i)){v&&!s&&ye(cw);return}if(ge(v,o)||ge(v,i))return;const{props:S}=v;k.Children.forEach(S.children,h=>{if(!ge(h,n)&&!ge(h,r)){h&&ye(fw);return}const{props:d}=h,{label:m,labelIcon:E,href:C,onClick:P,open:_}=d;if(ge(h,n))if(Uf(d,l))a.push({label:m});else if(ss(d)){const R={label:m,labelIcon:E};if(P!==void 0)a.push({...R,onClick:P});else if(_!==void 0)a.push({...R,open:_.startsWith("/")?_:`/${_}`});else{ye("Custom menu item must have either onClick or open property");return}}else{ye(vw);return}if(ge(h,r))if(as(d))a.push({label:m,labelIcon:E,href:C});else{ye(mw);return}})});const f=[],p=[];a.forEach((v,S)=>{ss(v)&&f.push({component:v.labelIcon,id:S}),as(v)&&p.push({component:v.labelIcon,id:S})});const g=Hr(f),w=Hr(p);return a.forEach((v,S)=>{if(Uf(v,l)&&u.push({label:v.label}),ss(v)){const{portal:h,mount:d,unmount:m}=g.find(C=>C.id===S),E={label:v.label,mountIcon:d,unmountIcon:m};"onClick"in v?E.onClick=v.onClick:"open"in v&&(E.open=v.open),u.push(E),c.push(h)}if(as(v)){const{portal:h,mount:d,unmount:m}=w.find(E=>E.id===S);u.push({label:v.label,href:v.href,mountIcon:d,unmountIcon:m}),c.push(h)}}
21),{customMenuItems:u,customMenuItemsPortals:c}},Uf=(e,t)=>{const{children:n,label:r,onClick:o,labelIcon:i}=e;return!n&&!o&&!i&&t.some(l=>l===r)},ss=e=>{const{label:t,labelIcon:n,onClick:r,open:o}=e;return!!n&&!!t&&(typeof r=="function"||typeof o=="string")},as=e=>{const{label:t,href:n,labelIcon:r}=e;return!!n&&!!r&&!!t},xw=e=>{const t=e?.isReady;return n=>new Promise((r,o)=>{const{root:i=document?.body,selector:l,timeout:s=0}=n;if(!i){o(new Error("No root element provided"));return}let a=i;if(l&&(a=i?.querySelector(l)),t(a,l)){r();return}const u=new MutationObserver(c=>{for(const f of c)if(!a&&l&&(a=i?.querySelector(l)),(e.childList&&f.type==="childList"||e.attributes&&f.type==="attributes")&&t(a,l)){u.disconnect(),r();return}});u.observe(i,e),s>0&&setTimeout(()=>{u.disconnect(),o(new Error(`Timeout waiting for ${l}`))},s)})},Ow=xw({childList:!0,subtree:!0,isReady:(e,t)=>{var n;return!!e?.childElementCount&&((n=e?.matches)==null?void 0:n.call(e,t))&&e.childElementCount>0}});function me(e,t){const n=y.useRef(),[r,o]=y.useState("rendering");return y.useEffect(()=>{if(!e)throw new Error("Clerk: no component name provided, unable to detect mount.");if(typeof window<"u"&&!n.current){const i=`[data-clerk-component="${e}"]`,l=t?.selector;n.current=Ow({selector:l?i+l:i}).then(()=>{o("rendered")}).catch(()=>{o("error")})}},[e,t?.selector]),r}var bo=e=>"mount"in e,jf=e=>"open"in e,Nf=e=>e?.map(({mountIcon:t,unmountIcon:n,...r})=>r),ie=class extends k.PureComponent{constructor(){super(...arguments),this.rootRef=k.createRef()}componentDidUpdate(e){var t,n,r,o;if(!bo(e)||!bo(this.props))return;const i=Mf(e.props,"customPages","customMenuItems","children"),l=Mf(this.props.props,"customPages","customMenuItems","children"),s=((t=i.customPages)==null?void 0:t.length)!==((n=l.customPages)==null?void 0:n.length),a=((r=i.customMenuItems)==null?void 0:r.length)!==((o=l.customMenuItems)==null?void 0:o.length),u=Nf(e.props.customMenuItems),c=Nf(this.props.props.customMenuItems);(!xf(i,l)||!xf(u,c)||s||a)&&this.rootRef.current&&this.props.updateProps({node:this.rootRef.current,props:this.props.props})}componentDidMount(){this.rootRef.current&&(bo(this.props)&&this.props.mount(this.rootRef.current,this.props.props),jf(this.props)&&this.props.open(this.props.props))}componentWillUnmount(){this.rootRef.current&&(bo(this.props)&&this.props.unmount(this.rootRef.current),jf(this.props)&&this.props.close())}render(){const{hideRootHtmlElement:e=!1}=this.props,t={ref:this.rootRef,...this.props.rootProps,...this.props.component&&{"data-clerk-component":this.props.component}};return k.createElement(k.Fragment,null,!e&&k.createElement("div",{...t}),this.props.children)}},pl=e=>{var t,n;return k.createElement(k.Fragment,null,(t=e?.customPagesPortals)==null?void 0:t.map((r,o)=>y.createElement(r,{key:o})),(n=e?.customMenuItemsPortals)==null?void 0:n.map((r,o)=>y.createElement(r,{key:o})))};D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountSignIn,unmount:e.unmountSignIn,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"SignIn",renderWhileLoading:!0});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountSignUp,unmount:e.unmountSignUp,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"SignUp",renderWhileLoading:!0});function ho({children:e}){return ye(rw),k.createElement(k.Fragment,null,e)}function mo({children:e}){return ye(ow),k.createElement(k.Fragment,null,e)}var Lw=D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}},{customPages:s,customPagesPortals:a}=Hh(r.children);return k.createElement(k.Fragment,null,i&&n,k.createElement(ie,{component:t,mount:e.mountUserProfile,unmount:e.unmountUserProfile,updateProps:e.__unstable__updateProps,props:{...r,customPages:s},rootProps:l},k.createElement(pl,{customPagesPortals:a})))},{component:"UserProfile",renderWhileLoading:!0});Object.assign(Lw,{Page:ho,Link:mo});var Gh=y.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),Iw=D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}},{customPages:s,customPagesPortals:a}=Hh(r.children,{allowForAnyChildren:!!r.__experimental_asProvider}),u={...r.userProfileProps,customPages:s},{customMenuItems:c,customMenuItemsPortals:f}=Tw(r.children,{allowForAnyChildren:!!r.__experimental_asProvider}),p=Kh(r.children),g={mount:e.mountUserButton,unmount:e.unmountUserButton,updateProps:e.__unstable__updateProps,props:{...r,userProfileProps:u,customMenuItems:c}},w={customPagesPortals:a,customMenuItemsPortals:f};return k.createElement(Gh.Provider,{value:g},i&&n,e.loaded&&k.createElement(ie,{component:t,...g,hideRootHtmlElement:!!r.__experimental_asProvider,rootProps:l},r.__experimental_asProvider?p:null,k.createElement(pl,{...w})))},{component:"UserButton",renderWhileLoading:!0});function hl({children:e}){return ye(dw),k.createElement(k.Fragment,null,e)}function Yh({children:e}){return ye(pw),k.createElement(k.Fragment,null,e)}function Xh({children:e}){return ye(hw),k.createElement(k.Fragment,null,e)}function Mw(e){const t=y.useContext(Gh),n={...t,props:{...t.props,...e}};return k.createElement(ie,{...n})}Object.assign(Iw,{UserProfilePage:ho,UserProfileLink:mo,MenuItems:hl,Action:Yh,Link:Xh,__experimental_Outlet:Mw});function ml({children:e}){return ye(iw),k.createElement(k.Fragment,null,e)}function vl({children:e}){return ye(lw),k.createElement(k.Fragment,null,e)}var Aw=D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}},{customPages:s,customPagesPortals:a}=Vh(r.children);return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountOrganizationProfile,unmount:e.unmountOrganizationProfile,updateProps:e.__unstable__updateProps,props:{...r,customPages:s},rootProps:l},k.createElement(pl,{customPagesPortals:a})))},{component:"OrganizationProfile",renderWhileLoading:!0});Object.assign(Aw,{Page:ml,Link:vl});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountCreateOrganization,unmount:e.unmountCreateOrganization,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"CreateOrganization",renderWhileLoading:!0});var Jh=y.createContext({mount:()=>{},unmount:()=>{},updateProps:()=>{}}),Uw=D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}},{customPages:s,customPagesPortals:a}=Vh(r.children,{allowForAnyChildren:!!r.__experimental_asProvider}),u={...r.organizationProfileProps,customPages:s},c=Kh(r.children),f={mount:e.mountOrganizationSwitcher,unmount:e.unmountOrganizationSwitcher,updateProps:e.__unstable__updateProps,props:{...r,organizationProfileProps:u},rootProps:l,component:t};return e.__experimental_prefetchOrganizationSwitcher(),k.createElement(Jh.Provider,{value:f},k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{...f,hideRootHtmlElement:!!r.__experimental_asProvider},r.__experimental_asProvider?c:null,k.createElement(pl,{customPagesPortals:a}))))},{component:"OrganizationSwitcher",renderWhileLoading:!0});function jw(e){const t=y.useContext(Jh),n={...t,props:{...t.props,...e}};return k.createElement(ie,{...n})}Object.assign(Uw,{OrganizationProfilePage:ml,OrganizationProfileLink:vl,__experimental_Outlet:jw});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountOrganizationList,unmount:e.unmountOrganizationList,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"OrganizationList",renderWhileLoading:!0});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,open:e.openGoogleOneTap,close:e.closeGoogleOneTap,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"GoogleOneTap",renderWhileLoading:!0});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountWaitlist,unmount:e.unmountWaitlist,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"Waitlist",renderWhileLoading:!0});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t,{selector:'[data-component-status="ready"]'})==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountPricingTable,unmount:e.unmountPricingTable,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"PricingTable",renderWhileLoading:!0});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountAPIKeys,unmount:e.unmountAPIKeys,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"ApiKeys",renderWhileLoading:!0});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountUserAvatar,unmount:e.unmountUserAvatar,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"UserAvatar",renderWhileLoading:!0});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountTaskChooseOrganization,unmount:e.unmountTaskChooseOrganization,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"TaskChooseOrganization",renderWhileLoading:!0});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountTaskResetPassword,unmount:e.unmountTaskResetPassword,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"TaskResetPassword",renderWhileLoading:!0});D(({clerk:e,component:t,fallback:n,...r})=>{const i=me(t)==="rendering"||!e.loaded,l={...i&&n&&{style:{display:"none"}}};return k.createElement(k.Fragment,null,i&&n,e.loaded&&k.createElement(ie,{component:t,mount:e.mountTaskSetupMFA,unmount:e.unmountTaskSetupMFA,updateProps:e.__unstable__updateProps,props:r,rootProps:l}))},{component:"TaskSetupMFA",renderWhileLoading:!0});var qh=e=>{throw TypeError(e)},Hu=(e,t,n)=>
21t.has(e)||qh("Cannot "+n),$=(e,t,n)=>(Hu(e,t,"read from private field"),n?n.call(e):t.get(e)),Ot=(e,t,n)=>t.has(e)?qh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),nn=(e,t,n,r)=>(Hu(e,t,"write to private field"),t.set(e,n),n),us=(e,t,n)=>(Hu(e,t,"access private method"),n);const Nw={initialDelay:125,maxDelayBetweenRetries:0,factor:2,shouldRetry:(e,t)=>t<5,retryImmediately:!1,jitter:!0},zw=100,Zh=async e=>new Promise(t=>setTimeout(t,e)),em=(e,t)=>t?e*(1+Math.random()):e,Dw=e=>{let t=0;const n=()=>{const r=e.initialDelay,o=e.factor;let i=r*Math.pow(o,t);return i=em(i,e.jitter),Math.min(e.maxDelayBetweenRetries||i,i)};return async()=>{await Zh(n()),t++}},Fw=async(e,t={})=>{let n=0;const{shouldRetry:r,initialDelay:o,maxDelayBetweenRetries:i,factor:l,retryImmediately:s,jitter:a,onBeforeRetry:u}={...Nw,...t},c=Dw({initialDelay:o,maxDelayBetweenRetries:i,factor:l,jitter:a});for(;;)try{return await e()}catch(f){if(n++,!r(f,n))throw f;u&&await u(n),s&&n===1?await Zh(em(zw,a)):await c()}},$w="loadScript cannot be called when document does not exist",bw="loadScript cannot be called without a src";async function Ww(e="",t){const{async:n,defer:r,beforeLoad:o,crossOrigin:i,nonce:l}=t||{};return Fw(()=>new Promise((a,u)=>{e||u(new Error(bw)),(!document||!document.body)&&u(new Error($w));const c=document.createElement("script");i&&c.setAttribute("crossorigin",i),c.async=n||!1,c.defer=r||!1,c.addEventListener("load",()=>{c.remove(),a(c)}),c.addEventListener("error",f=>{c.remove(),u(f.error??new Error(`failed to load script: ${e}`))}),c.src=e,c.nonce=l,o?.(c),document.body.appendChild(c)}),{shouldRetry:(a,u)=>u<=5})}function Bw(e){return e?Hw(e)||tm(e):!0}function Hw(e){return/^http(s)?:\/\//.test(e||"")}function tm(e){return e.startsWith("/")}function Vw(e){return e?tm(e)?new URL(e,window.location.origin).toString():e:""}function Kw(e){if(!e)return"";let t;if(e.match(/^(clerk\.)+\w*$/))t=/(clerk\.)*(?=clerk\.)/;else{if(e.match(/\.clerk.accounts/))return e;t=/^(clerk\.)*/gi}return`clerk.${e.replace(t,"")}`}const Qw=(e,t="5.128.0")=>{if(e)return e;const n=Gw(t);return n?n==="snapshot"?"5.128.0":n:Yw(t)},Gw=e=>e.trim().replace(/^v/,"").match(/-(.+?)(\.|$)/)?.[1],Yw=e=>e.trim().replace(/^v/,"").split(".")[0],nm="failed_to_load_clerk_js",Xw="failed_to_load_clerk_js_timeout",Pa="Failed to load Clerk",{isDevOrStagingUrl:Jw}=Yy(),rm=Rh({packageName:"@clerk/shared"});function qw(e){rm.setPackageName({packageName:e})}function Ta(){if(typeof window>"u"||!window.Clerk)return!1;const e=window.Clerk;return typeof e=="object"&&typeof e.load=="function"}function Zw(e){if(typeof window>"u"||!window.performance)return!1;const t=performance.getEntriesByName(e,"resource");if(t.length===0)return!1;const n=t[t.length-1];return n.transferSize===0&&n.decodedBodySize===0&&(n.responseEnd===0||n.responseEnd>0&&n.responseStart>0||"responseStatus"in n&&(n.responseStatus>=400||n.responseStatus===0))}function zf(e,t){return new Promise((n,r)=>{let o=!1;const i=(c,f)=>{clearTimeout(c),clearInterval(f)};t?.addEventListener("error",()=>{i(a,u),r(new ga(Pa,{code:nm}))});const l=()=>{o||Ta()&&(o=!0,i(a,u),n(null))},a=setTimeout(()=>{o||(o=!0,i(a,u),Ta()?n(null):r(new ga(Pa,{code:Xw})))},e);l();const u=setInterval(()=>{if(o){clearInterval(u);return}l()},100)})}const eS=async e=>{const t=e?.scriptLoadTimeout??15e3;if(Ta())return null;if(!e?.publishableKey)return rm.throwMissingPublishableKeyError(),null;const n=tS(e),r=document.querySelector("script[data-clerk-js-script]");if(r)if(Zw(n))r.remove();else try{return await zf(t,r),null}catch{r.remove()}const o=zf(t);return Ww(n,{async:!0,crossOrigin:"anonymous",nonce:e.nonce,beforeLoad:rS(e)}).catch(i=>{throw new ga(Pa+(i.message?`, ${i.message}`:""),{code:nm,cause:i})}),o},tS=e=>{const{clerkJSUrl:t,clerkJSVariant:n,clerkJSVersion:r,proxyUrl:o,domain:i,publishableKey:l}=e;if(t)return t;let s="";o&&Bw(o)?s=Vw(o).replace(/http(s)?:\/\//,""):i&&!Jw(wf(l)?.frontendApi||"")?s=Kw(i):s=wf(l)?.frontendApi||"";const a=n?`${n.replace(/\.+$/,"")}.`:"",u=Qw(r);return`https://${s}/npm/@clerk/clerk-js@${u}/dist/clerk.${a}browser.js`},nS=e=>{const t={};return e.publishableKey&&(t["data-clerk-publishable-key"]=e.publishableKey),e.proxyUrl&&(t["data-clerk-proxy-url"]=e.proxyUrl),e.domain&&(t["data-clerk-domain"]=e.domain),e.nonce&&(t.nonce=e.nonce),t},rS=e=>t=>{const n=nS(e);for(const r in n)t.setAttribute(r,n[r])},oS=(e,t,n)=>!e&&n?iS(n):lS(t),iS=e=>{const t=e.userId,n=e.user,r=e.sessionId,o=e.sessionStatus,i=e.sessionClaims;return{userId:t,user:n,sessionId:r,session:e.session,sessionStatus:o,sessionClaims:i,organization:e.organization,orgId:e.orgId,orgRole:e.orgRole,orgPermissions:e.orgPermissions,orgSlug:e.orgSlug,actor:e.actor,factorVerificationAge:e.factorVerificationAge}},lS=e=>{const t=e.user?e.user.id:e.user,n=e.user,r=e.session?e.session.id:e.session,o=e.session,i=e.session?.status,l=e.session?e.session.lastActiveToken?.jwt?.claims:null,
21s=e.session?e.session.factorVerificationAge:null,a=o?.actor,u=e.organization,c=e.organization?e.organization.id:e.organization,f=u?.slug,p=u&&n?.organizationMemberships?.find(w=>w.organization.id===c),g=p&&p.permissions;return{userId:t,user:n,sessionId:r,session:o,sessionStatus:i,sessionClaims:l,organization:u,orgId:c,orgRole:p&&p.role,orgSlug:f,orgPermissions:g,actor:a,factorVerificationAge:s}};function Hi(){return typeof window<"u"}const Df=(e,t,n,r,o)=>{const{notify:i}=o||{};let l=e.get(n);l||(l=[],e.set(n,l)),l.push(r),i&&t.has(n)&&r(t.get(n))},Ff=(e,t,n)=>(e.get(t)||[]).map(r=>r(n)),$f=(e,t,n)=>{const r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},sS=()=>{const e=new Map,t=new Map,n=new Map;return{on:(...o)=>Df(e,t,...o),prioritizedOn:(...o)=>Df(n,t,...o),emit:(o,i)=>{t.set(o,i),Ff(n,o,i),Ff(e,o,i)},off:(...o)=>$f(e,...o),prioritizedOff:(...o)=>$f(n,...o),internal:{retrieveListeners:o=>e.get(o)||[]}}},Wo={Status:"status"},aS=()=>sS();typeof window<"u"&&!window.global&&(window.global=typeof global>"u"?window:global);D(({clerk:e,children:t,...n})=>{const{appearance:r,signUpFallbackRedirectUrl:o,forceRedirectUrl:i,fallbackRedirectUrl:l,signUpForceRedirectUrl:s,mode:a,initialValues:u,withSignUp:c,oauthFlow:f,...p}=n;t=fl(t,"Sign in");const g=cl(t)("SignInButton"),w=()=>{const h={forceRedirectUrl:i,fallbackRedirectUrl:l,signUpFallbackRedirectUrl:o,signUpForceRedirectUrl:s,initialValues:u,withSignUp:c,oauthFlow:f};return a==="modal"?e.openSignIn({...h,appearance:r}):e.redirectToSignIn({...h,signInFallbackRedirectUrl:l,signInForceRedirectUrl:i})},S={...p,onClick:async h=>(g&&typeof g=="object"&&"props"in g&&await dl(g.props.onClick)(h),w())};return k.cloneElement(g,S)},{component:"SignInButton",renderWhileLoading:!0});D(({clerk:e,children:t,...n})=>{const{redirectUrl:r,...o}=n;t=fl(t,"Sign in with Metamask");const i=cl(t)("SignInWithMetamaskButton"),l=async()=>{async function u(){await e.authenticateWithMetamask({redirectUrl:r||void 0})}u()},a={...o,onClick:async u=>(await dl(i.props.onClick)(u),l())};return k.cloneElement(i,a)},{component:"SignInWithMetamask",renderWhileLoading:!0});D(({clerk:e,children:t,...n})=>{const{redirectUrl:r="/",signOutOptions:o,...i}=n;t=fl(t,"Sign out");const l=cl(t)("SignOutButton"),s=()=>e.signOut({redirectUrl:r,...o}),u={...i,onClick:async c=>(await dl(l.props.onClick)(c),s())};return k.cloneElement(l,u)},{component:"SignOutButton",renderWhileLoading:!0});D(({clerk:e,children:t,...n})=>{const{appearance:r,unsafeMetadata:o,fallbackRedirectUrl:i,forceRedirectUrl:l,signInFallbackRedirectUrl:s,signInForceRedirectUrl:a,mode:u,initialValues:c,oauthFlow:f,...p}=n;t=fl(t,"Sign up");const g=cl(t)("SignUpButton"),w=()=>{const h={fallbackRedirectUrl:i,forceRedirectUrl:l,signInFallbackRedirectUrl:s,signInForceRedirectUrl:a,initialValues:c,oauthFlow:f};return u==="modal"?e.openSignUp({...h,appearance:r,unsafeMetadata:o}):e.redirectToSignUp({...h,signUpFallbackRedirectUrl:i,signUpForceRedirectUrl:l})},S={...p,onClick:async h=>(g&&typeof g=="object"&&"props"in g&&await dl(g.props.onClick)(h),w())};return k.cloneElement(g,S)},{component:"SignUpButton",renderWhileLoading:!0});var uS=()=>({fields:{identifier:null,password:null,code:null},raw:null,global:null}),cS=()=>({fields:{firstName:null,lastName:null,emailAddress:null,phoneNumber:null,password:null,username:null,code:null,captcha:null,legalAccepted:null},raw:null,global:null}),fS=class{constructor(e){this.isomorphicClerk=e,this.signInSignalProxy=this.buildSignInProxy(),this.signUpSignalProxy=this.buildSignUpProxy()}signInSignal(){return this.signInSignalProxy}signUpSignal(){return this.signUpSignalProxy}buildSignInProxy(){const e=this.gateProperty.bind(this),t=()=>this.client.signIn.__internal_future;return{errors:uS(),fetchStatus:"idle",signIn:{status:"needs_identifier",availableStrategies:[],isTransferable:!1,get id(){return e(t,"id",void 0)},get supportedFirstFactors(){return e(t,"supportedFirstFactors",[])},get supportedSecondFactors(){return e(t,"supportedSecondFactors",[])},get secondFactorVerification(){return e(t,"secondFactorVerification",{status:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,attempts:null,message:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,__internal_toSnapshot:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")},pathRoot:"",reload:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")}})},get identifier(){return e(t,"identifier",null)}
21,get createdSessionId(){return e(t,"createdSessionId",null)},get userData(){return e(t,"userData",{})},get firstFactorVerification(){return e(t,"firstFactorVerification",{status:null,error:null,expireAt:null,externalVerificationRedirectURL:null,nonce:null,attempts:null,message:null,strategy:null,verifiedAtClient:null,verifiedFromTheSameClient:()=>!1,__internal_toSnapshot:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")},pathRoot:"",reload:()=>{throw new Error("__internal_toSnapshot called before Clerk is loaded")}})},create:this.gateMethod(t,"create"),password:this.gateMethod(t,"password"),sso:this.gateMethod(t,"sso"),finalize:this.gateMethod(t,"finalize"),emailCode:this.wrapMethods(()=>t().emailCode,["sendCode","verifyCode"]),emailLink:this.wrapStruct(()=>t().emailLink,["sendLink","waitForVerification"],["verification"],{verification:null}),resetPasswordEmailCode:this.wrapMethods(()=>t().resetPasswordEmailCode,["sendCode","verifyCode","submitPassword"]),phoneCode:this.wrapMethods(()=>t().phoneCode,["sendCode","verifyCode"]),mfa:this.wrapMethods(()=>t().mfa,["sendPhoneCode","verifyPhoneCode","verifyTOTP","verifyBackupCode"]),ticket:this.gateMethod(t,"ticket"),passkey:this.gateMethod(t,"passkey"),web3:this.gateMethod(t,"web3")}}}buildSignUpProxy(){const e=this.gateProperty.bind(this),t=this.gateMethod.bind(this),n=this.wrapMethods.bind(this),r=()=>this.client.signUp.__internal_future;return{errors:cS(),fetchStatus:"idle",signUp:{get id(){return e(r,"id",void 0)},get requiredFields(){return e(r,"requiredFields",[])},get optionalFields(){return e(r,"optionalFields",[])},get missingFields(){return e(r,"missingFields",[])},get username(){return e(r,"username",null)},get firstName(){return e(r,"firstName",null)},get lastName(){return e(r,"lastName",null)},get emailAddress(){return e(r,"emailAddress",null)},get phoneNumber(){return e(r,"phoneNumber",null)},get web3Wallet(){return e(r,"web3Wallet",null)},get hasPassword(){return e(r,"hasPassword",!1)},get unsafeMetadata(){return e(r,"unsafeMetadata",{})},get createdSessionId(){return e(r,"createdSessionId",null)},get createdUserId(){return e(r,"createdUserId",null)},get abandonAt(){return e(r,"abandonAt",null)},get legalAcceptedAt(){return e(r,"legalAcceptedAt",null)},get locale(){return e(r,"locale",null)},get status(){return e(r,"status","missing_requirements")},get unverifiedFields(){return e(r,"unverifiedFields",[])},get isTransferable(){return e(r,"isTransferable",!1)},create:t(r,"create"),update:t(r,"update"),sso:t(r,"sso"),password:t(r,"password"),ticket:t(r,"ticket"),web3:t(r,"web3"),finalize:t(r,"finalize"),verifications:n(()=>r().verifications,["sendEmailCode","verifyEmailCode","sendPhoneCode","verifyPhoneCode"])}}}__internal_effect(e){throw new Error("__internal_effect called before Clerk is loaded")}__internal_computed(e){throw new Error("__internal_computed called before Clerk is loaded")}get client(){const e=this.isomorphicClerk.client;if(!e)throw new Error("Clerk client not ready");return e}gateProperty(e,t,n){return!Hi()||!this.isomorphicClerk.loaded?n:e()[t]}gateMethod(e,t){return async(...n)=>{if(!Hi())return tt.throw(`Attempted to call a method (${t}) that is not supported on the server.`);this.isomorphicClerk.loaded||await new Promise(o=>this.isomorphicClerk.addOnLoaded(o));const r=e();return r[t].apply(r,n)}}wrapMethods(e,t){return Object.fromEntries(t.map(n=>[n,this.gateMethod(e,n)]))}wrapStruct(e,t,n,r){const o={};for(const i of t)o[i]=this.gateMethod(e,i);for(const i of n)Object.defineProperty(o,i,{get:()=>this.gateProperty(e,i,r[i]),enumerable:!0});return o}};typeof globalThis.__BUILD_DISABLE_RHC__>"u"&&(globalThis.__BUILD_DISABLE_RHC__=!1);var dS={name:"@clerk/clerk-react",version:"5.61.10",environment:"production"},ai,On,Ln,Lt,st,ui,At,Ir,ci,om=class im{constructor(t){Ot(this,Ir),this.clerkjs=null,this.preopenOneTap=null,this.preopenUserVerification=null,this.preopenEnableOrganizationsPrompt=null,this.preopenSignIn=null,this.preopenCheckout=null,this.preopenPlanDetails=null,this.preopenSubscriptionDetails=null,this.preopenSignUp=null,this.preopenUserProfile=null,this.preopenOrganizationProfile=null,this.preopenCreateOrganization=null,this.preOpenWaitlist=null,this.premountSign
21InNodes=new Map,this.premountSignUpNodes=new Map,this.premountUserAvatarNodes=new Map,this.premountUserProfileNodes=new Map,this.premountUserButtonNodes=new Map,this.premountOrganizationProfileNodes=new Map,this.premountCreateOrganizationNodes=new Map,this.premountOrganizationSwitcherNodes=new Map,this.premountOrganizationListNodes=new Map,this.premountMethodCalls=new Map,this.premountWaitlistNodes=new Map,this.premountPricingTableNodes=new Map,this.premountAPIKeysNodes=new Map,this.premountOAuthConsentNodes=new Map,this.premountTaskChooseOrganizationNodes=new Map,this.premountTaskResetPasswordNodes=new Map,this.premountTaskSetupMFANodes=new Map,this.premountAddListenerCalls=new Map,this.loadedListeners=[],Ot(this,ai,"loading"),Ot(this,On),Ot(this,Ln),Ot(this,Lt),Ot(this,st,aS()),Ot(this,ui),this.buildSignInUrl=o=>{const i=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildSignInUrl(o))||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildSignInUrl",i)},this.buildSignUpUrl=o=>{const i=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildSignUpUrl(o))||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildSignUpUrl",i)},this.buildAfterSignInUrl=(...o)=>{const i=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildAfterSignInUrl(...o))||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildAfterSignInUrl",i)},this.buildAfterSignUpUrl=(...o)=>{const i=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildAfterSignUpUrl(...o))||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildAfterSignUpUrl",i)},this.buildAfterSignOutUrl=()=>{const o=()=>{var i;return((i=this.clerkjs)==null?void 0:i.buildAfterSignOutUrl())||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildAfterSignOutUrl",o)},this.buildNewSubscriptionRedirectUrl=()=>{const o=()=>{var i;return((i=this.clerkjs)==null?void 0:i.buildNewSubscriptionRedirectUrl())||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildNewSubscriptionRedirectUrl",o)},this.buildAfterMultiSessionSingleSignOutUrl=()=>{const o=()=>{var i;return((i=this.clerkjs)==null?void 0:i.buildAfterMultiSessionSingleSignOutUrl())||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildAfterMultiSessionSingleSignOutUrl",o)},this.buildUserProfileUrl=()=>{const o=()=>{var i;return((i=this.clerkjs)==null?void 0:i.buildUserProfileUrl())||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildUserProfileUrl",o)},this.buildCreateOrganizationUrl=()=>{const o=()=>{var i;return((i=this.clerkjs)==null?void 0:i.buildCreateOrganizationUrl())||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildCreateOrganizationUrl",o)},this.buildOrganizationProfileUrl=()=>{const o=()=>{var i;return((i=this.clerkjs)==null?void 0:i.buildOrganizationProfileUrl())||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildOrganizationProfileUrl",o)},this.buildWaitlistUrl=()=>{const o=()=>{var i;return((i=this.clerkjs)==null?void 0:i.buildWaitlistUrl())||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildWaitlistUrl",o)},this.buildTasksUrl=()=>{const o=()=>{var i;return((i=this.clerkjs)==null?void 0:i.buildTasksUrl())||""};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("buildTasksUrl",o)},this.buildUrlWithAuth=o=>{const i=()=>{var l;return((l=this.clerkjs)==null?void 0:l.buildUrlWithAuth(o))||""};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("buildUrlWithAuth",i)},this.handleUnauthenticated=async()=>{const o=()=>{var i;return(i=this.clerkjs)==null?void 0:i.handleUnauthenticated()};this.clerkjs&&this.loaded?o():this.premountMethodCalls.set("handleUnauthenticated",o)},this.on=(...o)=>{var i;if((i=this.clerkjs)!=null&&i.on)return this.clerkjs.on(...o);$(this,st).on(...o)},this.off=(...o)=>{var i;if((i=this.clerkjs)!=null&&i.off)return this.clerkjs.off(...o);$(this,st).off(...o)},this.addOnLoaded=o=>{this.loadedListeners.push(o),this.loaded&&this.emitLoaded()},this.emitLoaded=()=>
21{this.loadedListeners.forEach(o=>o()),this.loadedListeners=[]},this.beforeLoad=o=>{if(!o)throw new Error("Failed to hydrate latest Clerk JS")},this.hydrateClerkJS=o=>{var i,l;if(!o)throw new Error("Failed to hydrate latest Clerk JS");return this.clerkjs=o,this.premountMethodCalls.forEach(s=>s()),this.premountAddListenerCalls.forEach((s,a)=>{s.nativeUnsubscribe=o.addListener(a)}),(i=$(this,st).internal.retrieveListeners("status"))==null||i.forEach(s=>{this.on("status",s,{notify:!0})}),(l=$(this,st).internal.retrieveListeners("queryClientStatus"))==null||l.forEach(s=>{this.on("queryClientStatus",s,{notify:!0})}),this.preopenSignIn!==null&&o.openSignIn(this.preopenSignIn),this.preopenCheckout!==null&&o.__internal_openCheckout(this.preopenCheckout),this.preopenPlanDetails!==null&&o.__internal_openPlanDetails(this.preopenPlanDetails),this.preopenSubscriptionDetails!==null&&o.__internal_openSubscriptionDetails(this.preopenSubscriptionDetails),this.preopenSignUp!==null&&o.openSignUp(this.preopenSignUp),this.preopenUserProfile!==null&&o.openUserProfile(this.preopenUserProfile),this.preopenUserVerification!==null&&o.__internal_openReverification(this.preopenUserVerification),this.preopenOneTap!==null&&o.openGoogleOneTap(this.preopenOneTap),this.preopenOrganizationProfile!==null&&o.openOrganizationProfile(this.preopenOrganizationProfile),this.preopenCreateOrganization!==null&&o.openCreateOrganization(this.preopenCreateOrganization),this.preOpenWaitlist!==null&&o.openWaitlist(this.preOpenWaitlist),this.preopenEnableOrganizationsPrompt&&o.__internal_openEnableOrganizationsPrompt(this.preopenEnableOrganizationsPrompt),this.premountSignInNodes.forEach((s,a)=>{o.mountSignIn(a,s)}),this.premountSignUpNodes.forEach((s,a)=>{o.mountSignUp(a,s)}),this.premountUserProfileNodes.forEach((s,a)=>{o.mountUserProfile(a,s)}),this.premountUserAvatarNodes.forEach((s,a)=>{o.mountUserAvatar(a,s)}),this.premountUserButtonNodes.forEach((s,a)=>{o.mountUserButton(a,s)}),this.premountOrganizationListNodes.forEach((s,a)=>{o.mountOrganizationList(a,s)}),this.premountWaitlistNodes.forEach((s,a)=>{o.mountWaitlist(a,s)}),this.premountPricingTableNodes.forEach((s,a)=>{o.mountPricingTable(a,s)}),this.premountAPIKeysNodes.forEach((s,a)=>{o.mountAPIKeys(a,s)}),this.premountOAuthConsentNodes.forEach((s,a)=>{o.__internal_mountOAuthConsent(a,s)}),this.premountTaskChooseOrganizationNodes.forEach((s,a)=>{o.mountTaskChooseOrganization(a,s)}),this.premountTaskResetPasswordNodes.forEach((s,a)=>{o.mountTaskResetPassword(a,s)}),this.premountTaskSetupMFANodes.forEach((s,a)=>{o.mountTaskSetupMFA(a,s)}),typeof this.clerkjs.status>"u"&&$(this,st).emit(Wo.Status,"ready"),this.emitLoaded(),this.clerkjs},this.__experimental_checkout=(...o)=>{var i;return(i=this.clerkjs)==null?void 0:i.__experimental_checkout(...o)},this.__unstable__updateProps=async o=>{const i=await us(this,Ir,ci).call(this);if(i&&"__unstable__updateProps"in i)return i.__unstable__updateProps(o)},this.setActive=o=>this.clerkjs?this.clerkjs.setActive(o):Promise.reject(),this.openSignIn=o=>{this.clerkjs&&this.loaded?this.clerkjs.openSignIn(o):this.preopenSignIn=o},this.closeSignIn=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignIn():this.preopenSignIn=null},this.__internal_openCheckout=o=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openCheckout(o):this.preopenCheckout=o},this.__internal_closeCheckout=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeCheckout():this.preopenCheckout=null},this.__internal_openPlanDetails=o=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openPlanDetails(o):this.preopenPlanDetails=o},this.__internal_closePlanDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closePlanDetails():this.preopenPlanDetails=null},this.__internal_openSubscriptionDetails=o=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openSubscriptionDetails(o):this.preopenSubscriptionDetails=o??null},this.__internal_closeSubscriptionDetails=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeSubscriptionDetails():this.preopenSubscriptionDetails=null},this.__internal_openReverification=o=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openReverification(o):this.preopenUserVerification=o},this.__internal_closeReverification=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeReverification():this.preopenUserVerification=null},this.__internal_openEnableOrganizationsPrompt=o=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_openEnableOrganizationsPrompt(o):this.preopenEnableOrganizationsPrompt=o},this.__internal_closeEnableOrganizationsPrompt=()=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_closeEnableOrganizationsPrompt():this.preopenEnableOrganizationsPrompt=null},this.openGoogleOneTap=o=>{this.clerkjs&&this.loaded?this.clerkjs.openGoogleOneTap(o):this.preopenOneTap=o},this.closeGoogleOneTap=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeGoogleOneTap():this.preopenOneTap=null},this.openUserProfile=o=>{this.clerkjs&&this.loaded?this.clerkjs.openUserProfile(o):this.preopenUserProfile=o},this.closeUserProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeUserProfile():this.preopenUserProfile=null},this.openOrganizationProfile=o=>{this.clerkjs&&this.loaded?this.clerkjs.openOrganizationProfile(o):this.preopenOrganizationProfile=o},this.closeOrganizationProfile=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeOrganizationProfile():this.preopenOrganizationProfile=null},this.openCreateOrganization=o=>{this.clerkjs&&this.loaded?this.clerkjs.openCreateOrganization(o):this.preopenCreateOrganization=o},this.closeCreateOrganization=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeCreateOrganization():this.preopenCreateOrganization=null},this.openWaitlist=o=>{this.clerkjs&&this.loaded?this.clerkjs.openWaitlist(o):this.preOpenWaitlist=o},this.closeWaitlist=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeWaitlist():this.preOpenWaitlist=null},this.openSignUp=o=>{this.clerkjs&&this.loaded?this.clerkjs.openSignUp(o):this.preopenSignUp=o},this.closeSignUp=()=>{this.clerkjs&&this.loaded?this.clerkjs.closeSignUp():this.preopenSignUp=null}
21,this.mountSignIn=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignIn(o,i):this.premountSignInNodes.set(o,i)},this.unmountSignIn=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignIn(o):this.premountSignInNodes.delete(o)},this.mountSignUp=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountSignUp(o,i):this.premountSignUpNodes.set(o,i)},this.unmountSignUp=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountSignUp(o):this.premountSignUpNodes.delete(o)},this.mountUserAvatar=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserAvatar(o,i):this.premountUserAvatarNodes.set(o,i)},this.unmountUserAvatar=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserAvatar(o):this.premountUserAvatarNodes.delete(o)},this.mountUserProfile=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserProfile(o,i):this.premountUserProfileNodes.set(o,i)},this.unmountUserProfile=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserProfile(o):this.premountUserProfileNodes.delete(o)},this.mountOrganizationProfile=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationProfile(o,i):this.premountOrganizationProfileNodes.set(o,i)},this.unmountOrganizationProfile=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationProfile(o):this.premountOrganizationProfileNodes.delete(o)},this.mountCreateOrganization=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountCreateOrganization(o,i):this.premountCreateOrganizationNodes.set(o,i)},this.unmountCreateOrganization=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountCreateOrganization(o):this.premountCreateOrganizationNodes.delete(o)},this.mountOrganizationSwitcher=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationSwitcher(o,i):this.premountOrganizationSwitcherNodes.set(o,i)},this.unmountOrganizationSwitcher=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationSwitcher(o):this.premountOrganizationSwitcherNodes.delete(o)},this.__experimental_prefetchOrganizationSwitcher=()=>{const o=()=>{var i;return(i=this.clerkjs)==null?void 0:i.__experimental_prefetchOrganizationSwitcher()};this.clerkjs&&this.loaded?o():this.premountMethodCalls.set("__experimental_prefetchOrganizationSwitcher",o)},this.mountOrganizationList=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountOrganizationList(o,i):this.premountOrganizationListNodes.set(o,i)},this.unmountOrganizationList=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountOrganizationList(o):this.premountOrganizationListNodes.delete(o)},this.mountUserButton=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountUserButton(o,i):this.premountUserButtonNodes.set(o,i)},this.unmountUserButton=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountUserButton(o):this.premountUserButtonNodes.delete(o)},this.mountWaitlist=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountWaitlist(o,i):this.premountWaitlistNodes.set(o,i)},this.unmountWaitlist=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountWaitlist(o):this.premountWaitlistNodes.delete(o)},this.mountPricingTable=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountPricingTable(o,i):this.premountPricingTableNodes.set(o,i)},this.unmountPricingTable=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountPricingTable(o):this.premountPricingTableNodes.delete(o)},this.mountAPIKeys=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountAPIKeys(o,i):this.premountAPIKeysNodes.set(o,i)},this.unmountAPIKeys=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountAPIKeys(o):this.premountAPIKeysNodes.delete(o)},this.__internal_mountOAuthConsent=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_mountOAuthConsent(o,i):this.premountOAuthConsentNodes.set(o,i)},this.__internal_unmountOAuthConsent=o=>{this.clerkjs&&this.loaded?this.clerkjs.__internal_unmountOAuthConsent(o):this.premountOAuthConsentNodes.delete(o)},this.mountTaskChooseOrganization=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskChooseOrganization(o,i):this.premountTaskChooseOrganizationNodes.set(o,i)},this.unmountTaskChooseOrganization=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskChooseOrganization(o):this.premountTaskChooseOrganizationNodes.delete(o)},this.mountTaskResetPassword=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskResetPassword(o,i):this.premountTaskResetPasswordNodes.set(o,i)},this.unmountTaskResetPassword=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskResetPassword(o):this.premountTaskResetPasswordNodes.delete(o)},this.mountTaskSetupMFA=(o,i)=>{this.clerkjs&&this.loaded?this.clerkjs.mountTaskSetupMFA(o,i):this.premountTaskSetupMFANodes.set(o,i)},this.unmountTaskSetupMFA=o=>{this.clerkjs&&this.loaded?this.clerkjs.unmountTaskSetupMFA(o):this.premountTaskSetupMFANodes.delete(o)},this.addListener=o=>{if(this.clerkjs)return this.clerkjs.addListener(o);{const i=()=>{var l;const s=this.premountAddListenerCalls.get(o);s&&((l=s.nativeUnsubscribe)==null||l.call(s),this.premountAddListenerCalls.delete(o))};return this.premountAddListenerCalls.set(o,{unsubscribe:i,nativeUnsubscribe:void 0}),i}},this.navigate=o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.navigate(o)};this.clerkjs&&this.loaded?i():this.premountMethodCalls.set("navigate",i)},this.redirectWithAuth=async(...o)=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectWithAuth(...o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("redirectWithAuth",i)},this.redirectToSignIn=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToSignIn(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("redirectToSignIn",i)},this.redirectToSignUp=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToSignUp(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("redirectToSignUp",i)},this.redirectToUserProfile=async()=>{const o=()=>{var i;return(i=this.clerkjs)==null?void 0:i.redirectToUserProfile()};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("redirectToUserProfile",o)},this.redirectToAfterSignUp=()=>{const o=()=>{var i;return(i=this.clerkjs)==null?void 0:i.redirectToAfterSignUp()};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("redirectToAfterSignUp",o)},this.redirectToAfterSignIn=()=>{const o=()=>{var i;return(i=this.clerkjs)==null?void 0:i.redirectToAfterSignIn()};this.clerkjs&&this.loaded?o():this.premountMethodCalls.set("redirectToAfterSignIn",o)},this.redirectToAfterSignOut=()=>{const o=()=>{var i;return(i=this.clerkjs)==null?void 0:i.redirectToAfterSignOut()};this.clerkjs&&this.loaded?o():this.premountMethodCalls.set("redirectToAfterSignOut",o)},this.redirectToOrganizationProfile=async()=>{const o=()=>{var i;return(i=this.clerkjs)==null?void 0:i.redirectToOrganizationProfile()};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("redirectToOrganizationProfile",o)},this.redirectToCreateOrganization=async()=>{const o=()=>{var i;return(i=this.clerkjs)==null?void 0:i.redirectToCreateOrganization()};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("redirectToCreateOrganization",o)},this.redirectToWaitlist=async()=>{const o=()=>{var i;return(i=this.clerkjs)==null?void 0:i.redirectToWaitlist()};if(this.clerkjs&&this.loaded)return o();this.premountMethodCalls.set("redirectToWaitlist",o)},this.redirectToTasks=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.redirectToTasks(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("redirectToTasks",i)},this.handleRedirectCallback=async o=>{var i;const l=()=>{var s;return(s=this.clerkjs)==null?void 0:s.handleRedirectCallback(o)};this.clerkjs&&this.loaded?(i=l())==null||i.catch(()=>{}):this.premountMethodCalls.set("handleRedirectCallback",l)},this.handleGoogleOneTapCallback=async(o,i)=>{var l;const s=()=>{var a;return(a=this.clerkjs)==null?void 0:a.handleGoogleOneTapCallback(o,i)};this.clerkjs&&this.loaded?(l=s())==null||l.catch(()=>{}):this.premountMethodCalls.set("handleGoogleOneTapCallback",s)},this.handleEmailLinkVerification=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.handleEmailLinkVerification(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("handleEmailLinkVerification",i)},this.authenticateWithMetamask=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.authenticateWithMetamask(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("authenticateWithMetamask",i)},this.authenticateWithCoinbaseWallet=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.authenticateWithCoinbaseWallet(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("authenticateWithCoinbaseWallet",i)},this.authenticateWithBase=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.authenticateWithBase(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("authenticateWithBase",i)},this.authenticateWithOKXWallet=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.authenticateWithOKXWallet(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("authenticateWithOKXWallet",i)},this.authenticateWithSolana=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.authenticateWithSolana(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("authenticateWithSolana",i)},this.authenticateWithWeb3=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.authenticateWithWeb3(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("authenticateWithWeb3",i)},this.authenticateWithGoogleOneTap=async o=>(await us(this,Ir,ci).call(this)).authenticateWithGoogleOneTap(o),this.__internal_loadStripeJs=async()=>(await us(this,Ir,ci).call(this)).__internal_loadStripeJs(),this.createOrganization=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.createOrganization(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("createOrganization",i)},this.getOrganization=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.getOrganization(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("getOrganization",i)},this.joinWaitlist=async o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.joinWaitlist(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("joinWaitlist",i)},this.signOut=async(...o)=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.signOut(...o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("signOut",i)},this.__internal_attemptToEnableEnvironmentSetting=o=>{const i=()=>{var l;return(l=this.clerkjs)==null?void 0:l.__internal_attemptToEnableEnvironmentSetting(o)};if(this.clerkjs&&this.loaded)return i();this.premountMethodCalls.set("__internal_attemptToEnableEnvironmentSetting",i)};const{Clerk:n=null,publishableKey:r}=t||{};nn(this,Lt,r),nn(this,Ln,t?.proxyUrl),nn(this,On,t?.domain),this.options=t,this.Clerk=n,this.mode=Hi()?"browser":"server",nn(this,ui,new fS(this)),this.options.sdkMetadata||(this.options.sdkMetadata=dS),$(this,st).emit(Wo.Status,"loading"),$(this,st).prioritizedOn(Wo.Status,o=>nn(this,ai,o)),$(this,Lt)&&this.loadClerkJS()}get publishableKey(){return $(this,Lt)}get loaded(){var t;return((t=this.clerkjs)==null?void 0:t.loaded)||!1}get status(){var t;return this.clerkjs?((t=this.clerkjs)==null?void 0:t.status)||(this.clerkjs.loaded?"ready":"loading"):$(this,ai)}static getOrCreateInstance(t){return(!Hi()||!$(this,At)||t.Clerk&&$(this,At).Clerk!==t.Clerk||$(this,At).publishableKey!==t.publishableKey)&&nn(this,At,new im(t)),$(this,At)}static clearInstance(){nn(this,At,null)}get domain(){return typeof window<"u"&&window.location?os($(this,On),new URL(window.location.href),""):typeof $(this,On)=="function"?tt.throw(rs):$(this,On)||""}get proxyUrl(){return typeof window<"u"&&window.location?os($(this,Ln),new URL(window.location.href),""):typeof $(this,Ln)=="function"?tt.throw(rs):$(this,Ln)||""}__internal_getOption(t){var n,r;return(n=this.clerkjs)!=null&&n.__internal_getOption?(r=this.clerkjs)==null?void 0:r.__internal_getOption(t):this.options[t]}get sdkMetadata(){var t;return((t=this.clerkjs)==null?void 0:t.sdkMetadata)||this.options.sdkMetadata||void 0}get instanceType(){var t;return(t=this.clerkjs)==null?void 0:t.instanceType}get frontendApi(){var t;return((t=this.clerkjs)==null?void 0:t.frontendApi)||""}get isStandardBrowser(){var t;return((t=this.clerkjs)==null?void 0:t.isStandardBrowser)||this.options.standardBrowser||!1}get __internal_queryClient(){var t;return(t=this.clerkjs)==null?void 0:t.__internal_queryClient}get isSatellite(){return typeof window<"u"&&window.location?os(this.options.isSatellite,new URL(window.location.href),!1):typeof this.options.isSatellite=="function"?tt.throw(rs):!1}async loadClerkJS(){var t;if(!(this.mode!=="browser"||this.loaded)){typeof window<"u"&&(window.__clerk_publishable_key=$(this,Lt),window.__clerk_proxy_url=this.proxyUrl,window.__clerk_domain=this.domain);try{if(this.Clerk){let n;Cw(this.Clerk)?(n=new this.Clerk($(this,Lt),{proxyUrl:this.proxyUrl,domain:this.domain}),this.beforeLoad(n),await n.load(this.options)):(n=this.Clerk,n.loaded||(this.beforeLoad(n),await n.load(this.options))),global.Clerk=n}else if(!__BUILD_DISABLE_RHC__){if(global.Clerk||await eS({...this.options,publishableKey:$(this,Lt),proxyUrl:this.proxyUrl,domain:this.domain,nonce:this.options.nonce}),!global.Clerk)throw new Error("Failed to download latest ClerkJS. Contact [email protected].");this.beforeLoad(global.Clerk),await global.Clerk.load(this.options)}return(t=global.Clerk)!=null&&t.loaded?this.hydrateClerkJS(global.Clerk):void 0}catch(n){const r=n;$(this,st).emit(Wo.Status,"error");return}}}get version(){var t;
21return(t=this.clerkjs)==null?void 0:t.version}get client(){if(this.clerkjs)return this.clerkjs.client}get session(){if(this.clerkjs)return this.clerkjs.session}get user(){if(this.clerkjs)return this.clerkjs.user}get organization(){if(this.clerkjs)return this.clerkjs.organization}get telemetry(){if(this.clerkjs)return this.clerkjs.telemetry}get __unstable__environment(){if(this.clerkjs)return this.clerkjs.__unstable__environment}get isSignedIn(){return this.clerkjs?this.clerkjs.isSignedIn:!1}get billing(){var t;return(t=this.clerkjs)==null?void 0:t.billing}get __internal_state(){return this.loaded&&this.clerkjs?this.clerkjs.__internal_state:$(this,ui)}get apiKeys(){var t;return(t=this.clerkjs)==null?void 0:t.apiKeys}__unstable__setEnvironment(...t){if(this.clerkjs&&"__unstable__setEnvironment"in this.clerkjs)this.clerkjs.__unstable__setEnvironment(t);else return}};ai=new WeakMap;On=new WeakMap;Ln=new WeakMap;Lt=new WeakMap;st=new WeakMap;ui=new WeakMap;At=new WeakMap;Ir=new WeakSet;ci=function(){return new Promise(e=>{this.addOnLoaded(()=>e(this.clerkjs))})};Ot(om,At);var bf=om;function pS(e){const{isomorphicClerkOptions:t,initialState:n,children:r}=e,{isomorphicClerk:o,clerkStatus:i}=hS(t),[l,s]=k.useState({client:o.client,session:o.session,user:o.user,organization:o.organization});k.useEffect(()=>o.addListener(ee=>s({...ee})),[]);const a=oS(o.loaded,l,n),u=k.useMemo(()=>({value:o}),[i]),c=k.useMemo(()=>({value:l.client}),[l.client]),{sessionId:f,sessionStatus:p,sessionClaims:g,session:w,userId:v,user:S,orgId:h,actor:d,organization:m,orgRole:E,orgSlug:C,orgPermissions:P,factorVerificationAge:_}=a,R=k.useMemo(()=>({value:{sessionId:f,sessionStatus:p,sessionClaims:g,userId:v,actor:d,orgId:h,orgRole:E,orgSlug:C,orgPermissions:P,factorVerificationAge:_}}),[f,p,v,d,h,E,C,_,g?.__raw]),L=k.useMemo(()=>({value:w}),[f,w]),I=k.useMemo(()=>({value:S}),[v,S]),z=k.useMemo(()=>({value:{organization:m}}),[h,m]);return k.createElement(Z0.Provider,{value:u},k.createElement(F0.Provider,{value:c},k.createElement($0.Provider,{value:L},k.createElement(H0,{...z.value},k.createElement(J0.Provider,{value:R},k.createElement(z0.Provider,{value:I},k.createElement(W0,{value:void 0},r)))))))}var hS=e=>{const t=k.useRef(bf.getOrCreateInstance(e)),[n,r]=k.useState(t.current.status);return k.useEffect(()=>{t.current.__unstable__updateProps({appearance:e.appearance})},[e.appearance]),k.useEffect(()=>{t.current.__unstable__updateProps({options:e})},[e.localization]),k.useEffect(()=>(t.current.on("status",r),()=>{t.current&&t.current.off("status",r),bf.clearInstance()}),[]),{isomorphicClerk:t.current,clerkStatus:n}};function mS(e){const{initialState:t,children:n,__internal_bypassMissingPublishableKey:r,...o}=e,{publishableKey:i="",Clerk:l}=o;return!l&&!r&&(i?i&&!ya(i)&&tt.throwInvalidPublishableKeyError({key:i}):tt.throwMissingPublishableKeyError()),k.createElement(pS,{initialState:t,isomorphicClerkOptions:o},n)}var vS=Pw(mS,"ClerkProvider",ew);vS.displayName="ClerkProvider";X0({packageName:"@clerk/clerk-react"});qw("@clerk/clerk-react");var gS=typeof Element<"u",yS=typeof Map=="function",wS=typeof Set=="function",SS=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function fi(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!fi(e[r],t[r]))return!1;return!0}var i;if(yS&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!fi(r.value[1],t.get(r.value[0])))return!1;return!0}if(wS&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(SS&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(gS&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!fi(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var kS=function(t,n){try{return fi(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return!1;throw r}};const ES=ar(kS);
21var CS=function(e,t,n,r,o,i,l,s){if(!e){var a;if(t===void 0)a=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,l,s],c=0;a=new Error(t.replace(/%s/g,function(){return u[c++]})),a.name="Invariant Violation"}throw a.framesToPop=1,a}},_S=CS;const Wf=ar(_S);var PS=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var l=Object.keys(t),s=Object.keys(n);if(l.length!==s.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(n),u=0;u<l.length;u++){var c=l[u];if(!a(c))return!1;var f=t[c],p=n[c];if(i=r?r.call(o,f,p,c):void 0,i===!1||i===void 0&&f!==p)return!1}return!0};const TS=ar(PS);var lm=(e=>(e.BASE="base",e.BODY="body",e.HEAD="head",e.HTML="html",e.LINK="link",e.META="meta",e.NOSCRIPT="noscript",e.SCRIPT="script",e.STYLE="style",e.TITLE="title",e.FRAGMENT="Symbol(react.fragment)",e))(lm||{}),cs={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Bf=Object.values(lm),Vu={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},RS=Object.entries(Vu).reduce((e,[t,n])=>(e[n]=t,e),{}),qe="data-rh",Xn={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},Jn=(e,t)=>{for(let n=e.length-1;n>=0;n-=1){const r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},xS=e=>{let t=Jn(e,"title");const n=Jn(e,Xn.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,()=>t);const r=Jn(e,Xn.DEFAULT_TITLE);return t||r||void 0},OS=e=>Jn(e,Xn.ON_CHANGE_CLIENT_STATE)||(()=>{}),fs=(e,t)=>t.filter(n=>typeof n[e]<"u").map(n=>n[e]).reduce((n,r)=>({...n,...r}),{}),LS=(e,t)=>t.filter(n=>typeof n.base<"u").map(n=>n.base).reverse().reduce((n,r)=>{if(!n.length){const o=Object.keys(r);for(let i=0;i<o.length;i+=1){const s=o[i].toLowerCase();if(e.indexOf(s)!==-1&&r[s])return n.concat(r)}}return n},[]),IS=e=>console&&typeof console.warn=="function"&&void 0,_r=(e,t,n)=>{const r={};return n.filter(o=>Array.isArray(o[e])?!0:(typeof o[e]<"u"&&IS(`Helmet: ${e} should be of type "Array". Instead found type "${typeof o[e]}"`),!1)).map(o=>o[e]).reverse().reduce((o,i)=>{const l={};i.filter(a=>{let u;const c=Object.keys(a);for(let p=0;p<c.length;p+=1){const g=c[p],w=g.toLowerCase();t.indexOf(w)!==-1&&!(u==="rel"&&a[u].toLowerCase()==="canonical")&&!(w==="rel"&&a[w].toLowerCase()==="stylesheet")&&(u=w),t.indexOf(g)!==-1&&(g==="innerHTML"||g==="cssText"||g==="itemprop")&&(u=g)}if(!u||!a[u])return!1;const f=a[u].toLowerCase();return r[u]||(r[u]={}),l[u]||(l[u]={}),r[u][f]?!1:(l[u][f]=!0,!0)}).reverse().forEach(a=>o.push(a));const s=Object.keys(l);for(let a=0;a<s.length;a+=1){const u=s[a],c={...r[u],...l[u]};r[u]=c}return o},[]).reverse()},MS=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},AS=e=>({baseTag:LS(["href"],e),bodyAttributes:fs("bodyAttributes",e),defer:Jn(e,Xn.DEFER),encode:Jn(e,Xn.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:fs("htmlAttributes",e),linkTags:_r("link",["rel","href"],e),metaTags:_r("meta",["name","charset","http-equiv","property","itemprop"],e),noscriptTags:_r("noscript",["innerHTML"],e),onChangeClientState:OS(e),scriptTags:_r("script",["src","innerHTML"],e),styleTags:_r("style",["cssText"],e),title:xS(e),titleAttributes:fs("titleAttributes",e),prioritizeSeoTags:MS(e,Xn.PRIORITIZE_SEO_TAGS)}),sm=e=>Array.isArray(e)?e.join(""):e,US=(e,t)=>{const n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},ds=(e,t)=>Array.isArray(e)?e.reduce((n,r)=>(US(r,t)?n.priority.push(r):n.default.push(r),n),{priority:[],default:[]}):{default:e,priority:[]},Hf=(e,t)=>
21({...e,[t]:void 0}),jS=["noscript","script","style"],Ra=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'"),am=e=>Object.keys(e).reduce((t,n)=>{const r=typeof e[n]<"u"?`${n}="${e[n]}"`:`${n}`;return t?`${t} ${r}`:r},""),NS=(e,t,n,r)=>{const o=am(n),i=sm(t);return o?`<${e} ${qe}="true" ${o}>${Ra(i,r)}</${e}>`:`<${e} ${qe}="true">${Ra(i,r)}</${e}>`},zS=(e,t,n=!0)=>t.reduce((r,o)=>{const i=o,l=Object.keys(i).filter(u=>!(u==="innerHTML"||u==="cssText")).reduce((u,c)=>{const f=typeof i[c]>"u"?c:`${c}="${Ra(i[c],n)}"`;return u?`${u} ${f}`:f},""),s=i.innerHTML||i.cssText||"",a=jS.indexOf(e)===-1;return`${r}<${e} ${qe}="true" ${l}${a?"/>":`>${s}</${e}>`}`},""),um=(e,t={})=>Object.keys(e).reduce((n,r)=>{const o=Vu[r];return n[o||r]=e[r],n},t),DS=(e,t,n)=>{const r={key:t,[qe]:!0},o=um(n,r);return[k.createElement("title",o,t)]},di=(e,t)=>t.map((n,r)=>{const o={key:r,[qe]:!0};return Object.keys(n).forEach(i=>{const s=Vu[i]||i;if(s==="innerHTML"||s==="cssText"){const a=n.innerHTML||n.cssText;o.dangerouslySetInnerHTML={__html:a}}else o[s]=n[i]}),k.createElement(e,o)}),De=(e,t,n=!0)=>{switch(e){case"title":return{toComponent:()=>DS(e,t.title,t.titleAttributes),toString:()=>NS(e,t.title,t.titleAttributes,n)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>um(t),toString:()=>am(t)};default:return{toComponent:()=>di(e,t),toString:()=>zS(e,t,n)}}},FS=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{const o=ds(e,cs.meta),i=ds(t,cs.link),l=ds(n,cs.script);return{priorityMethods:{toComponent:()=>[...di("meta",o.priority),...di("link",i.priority),...di("script",l.priority)],toString:()=>`${De("meta",o.priority,r)} ${De("link",i.priority,r)} ${De("script",l.priority,r)}`},metaTags:o.default,linkTags:i.default,scriptTags:l.default}},$S=e=>{const{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:o,noscriptTags:i,styleTags:l,title:s="",titleAttributes:a,prioritizeSeoTags:u}=e;let{linkTags:c,metaTags:f,scriptTags:p}=e,g={toComponent:()=>{},toString:()=>""};return u&&({priorityMethods:g,linkTags:c,metaTags:f,scriptTags:p}=FS(e)),{priority:g,base:De("base",t,r),bodyAttributes:De("bodyAttributes",n,r),htmlAttributes:De("htmlAttributes",o,r),link:De("link",c,r),meta:De("meta",f,r),noscript:De("noscript",i,r),script:De("script",p,r),style:De("style",l,r),title:De("title",{title:s,titleAttributes:a},r)}},xa=$S,Bo=[],cm=!!(typeof window<"u"&&window.document&&window.document.createElement),Oa=class{constructor(e,t){se(this,"instances",[]);se(this,"canUseDOM",cm);se(this,"context");se(this,"value",{setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?Bo:this.instances,add:e=>{(this.canUseDOM?Bo:this.instances).push(e)},remove:e=>{const t=(this.canUseDOM?Bo:this.instances).indexOf(e);(this.canUseDOM?Bo:this.instances).splice(t,1)}}});this.context=e,this.canUseDOM=t||!1,t||(e.helmet=xa({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},bS={},fm=k.createContext(bS),fn,WS=(fn=class extends y.Component{constructor(n){super(n);se(this,"helmetData");this.helmetData=new Oa(this.props.context||{},fn.canUseDOM)}render(){return k.createElement(fm.Provider,{value:this.helmetData.value},this.props.children)}},se(fn,"canUseDOM",cm),fn),Pn=(e,t)=>{const n=document.head||document.querySelector("head"),r=n.querySelectorAll(`${e}[${qe}]`),o=[].slice.call(r),i=[];let l;return t&&t.length&&t.forEach(s=>{const a=document.createElement(e);for(const u in s)if(Object.prototype.hasOwnProperty.call(s,u))if(u==="innerHTML")a.innerHTML=s.innerHTML;else if(u==="cssText")a.styleSheet?a.styleSheet.cssText=s.cssText:a.appendChild(document.createTextNode(s.cssText));else{const c=u,f=typeof s[c]>"u"?"":s[c];a.setAttribute(u,f)}a.setAttribute(qe,"true"),o.some((u,c)=>(l=c,a.isEqualNode(u)))?o.splice(l,1):i.push(a)}),o.forEach(s=>
21s.parentNode?.removeChild(s)),i.forEach(s=>n.appendChild(s)),{oldTags:o,newTags:i}},La=(e,t)=>{const n=document.getElementsByTagName(e)[0];if(!n)return;const r=n.getAttribute(qe),o=r?r.split(","):[],i=[...o],l=Object.keys(t);for(const s of l){const a=t[s]||"";n.getAttribute(s)!==a&&n.setAttribute(s,a),o.indexOf(s)===-1&&o.push(s);const u=i.indexOf(s);u!==-1&&i.splice(u,1)}for(let s=i.length-1;s>=0;s-=1)n.removeAttribute(i[s]);o.length===i.length?n.removeAttribute(qe):n.getAttribute(qe)!==l.join(",")&&n.setAttribute(qe,l.join(","))},BS=(e,t)=>{typeof e<"u"&&document.title!==e&&(document.title=sm(e)),La("title",t)},Vf=(e,t)=>{const{baseTag:n,bodyAttributes:r,htmlAttributes:o,linkTags:i,metaTags:l,noscriptTags:s,onChangeClientState:a,scriptTags:u,styleTags:c,title:f,titleAttributes:p}=e;La("body",r),La("html",o),BS(f,p);const g={baseTag:Pn("base",n),linkTags:Pn("link",i),metaTags:Pn("meta",l),noscriptTags:Pn("noscript",s),scriptTags:Pn("script",u),styleTags:Pn("style",c)},w={},v={};Object.keys(g).forEach(S=>{const{newTags:h,oldTags:d}=g[S];h.length&&(w[S]=h),d.length&&(v[S]=g[S].oldTags)}),t&&t(),a(e,w,v)},Pr=null,HS=e=>{Pr&&cancelAnimationFrame(Pr),e.defer?Pr=requestAnimationFrame(()=>{Vf(e,()=>{Pr=null})}):(Vf(e),Pr=null)},VS=HS,Kf=class extends y.Component{constructor(){super(...arguments);se(this,"rendered",!1)}shouldComponentUpdate(t){return!TS(t,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:t}=this.props.context;t.remove(this),this.emitChange()}emitChange(){const{helmetInstances:t,setHelmet:n}=this.props.context;let r=null;const o=AS(t.get().map(i=>{const l={...i.props};return delete l.context,l}));WS.canUseDOM?VS(o):xa&&(r=xa(o)),n(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:t}=this.props.context;t.add(this),this.emitChange()}render(){return this.init(),null}},_s,n_=(_s=class extends y.Component{shouldComponentUpdate(e){return!ES(Hf(this.props,"helmetData"),Hf(e,"helmetData"))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case"title":return{...t,[e.type]:r,titleAttributes:{...n}};case"body":return{...t,bodyAttributes:{...n}};case"html":return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(r=>{n={...n,[r]:e[r]}}),n}warnOnInvalidChildren(e,t){return Wf(Bf.some(n=>e.type===n),typeof e.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Bf.join(", ")} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),Wf(!t||typeof t=="string"||Array.isArray(t)&&!t.some(n=>typeof n!="string"),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return k.Children.forEach(e,r=>{if(!r||!r.props)return;const{children:o,...i}=r.props,l=Object.keys(i).reduce((a,u)=>(a[RS[u]||u]=i[u],a),{});let{type:s}=r;
21switch(typeof s=="symbol"?s=s.toString():this.warnOnInvalidChildren(r,o),s){case"Symbol(react.fragment)":t=this.mapChildrenToProps(o,t);break;case"link":case"meta":case"noscript":case"script":case"style":n=this.flattenArrayTypeChildren(r,n,l,o);break;default:t=this.mapObjectTypeChildren(r,t,l,o);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){const{children:e,...t}=this.props;let n={...t},{helmetData:r}=t;if(e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof Oa)){const o=r;r=new Oa(o.context,!0),delete n.helmetData}return r?k.createElement(Kf,{...n,context:r.value}):k.createElement(fm.Consumer,null,o=>k.createElement(Kf,{...n,context:o}))}},se(_s,"defaultProps",{defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1}),_s);var Ku=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,dm=/^[\\/]{2}/;function KS(e,t){return t+e.replace(/\\/g,"/")}var Qf="popstate";function Gf(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function QS(e={}){function t(r,o){let i=o.state?.masked,{pathname:l,search:s,hash:a}=i||r.location;return Ia("",{pathname:l,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default",i?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}function n(r,o){return typeof o=="string"?o:Sn(o)}return YS(t,n,null,e)}function H(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ve(e,t){if(!e)try{throw new Error(t)}catch{}}function GS(){return Math.random().toString(36).substring(2,10)}function Yf(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Ia(e,t,n=null,r,o){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?dr(t):t,state:n,key:t&&t.key||r||GS(),mask:o}}function Sn({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function dr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function YS(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,l=o.history,s="POP",a=null,u=c();u==null&&(u=0,l.replaceState({...l.state,idx:u},""));function c(){return(l.state||{idx:null}).idx}function f(){s="POP";let S=c(),h=S==null?null:S-u;u=S,a&&a({action:s,location:v.location,delta:h})}function p(S,h){s="PUSH";let d=Gf(S)?S:Ia(v.location,S,h);u=c()+1;let m=Yf(d,u),E=v.createHref(d.mask||d);try{l.pushState(m,"",E)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(E)}i&&a&&a({action:s,location:v.location,delta:1})}function g(S,h){s="REPLACE";let d=Gf(S)?S:Ia(v.location,S,h);u=c();let m=Yf(d,u),E=v.createHref(d.mask||d);l.replaceState(m,"",E),i&&a&&a({action:s,location:v.location,delta:0})}function w(S){return XS(o,S)}let v={get action(){return s},get location(){return e(o,l)},listen(S){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(Qf,f),a=S,()=>{o.removeEventListener(Qf,f),a=null}},createHref(S){return t(o,S)},createURL:w,encodeLocation(S){let h=w(S);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:p,replace:g,go(S){return l.go(S)}};return v}function XS(e,t,n=!1){let r="http://localhost";e&&(r=e.location.origin!=="null"?e.location.origin:e.location.href),H(r,"No window.location.(origin|href) available to create URL");let o=typeof t=="string"?t:Sn(t);return o=o.replace(/ $/,"%20"),!n&&dm.test(o)&&(o=r+o),new URL(o,r)}function pm(e,t,n="/"){return JS(e,t,n,!1)}function JS(e,t,n,r,o){let i=typeof t=="string"?dr(t):t,l=Pt(i.pathname||"/",n);if(l==null)return null;let s=qS(e),a=null,u=uk(l);for(let c=0;a==null&&c<s.length;++c)a=ak(s[c],u,r);return a}function qS(e){let t=hm(e);return ZS(t),t}function hm(e,t=[],n=[],r="",o=!1){let i=(l,s,a=o,u)=>{let c={relativePath:u===void 0?l.path||"":u,caseSensitive:l.caseSensitive===!0,childrenIndex:s,route:l};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&a)return;H(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}
21" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let f=nt([r,c.relativePath]),p=n.concat(c);l.children&&l.children.length>0&&(H(l.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${f}".`),hm(l.children,t,p,f,a)),!(l.path==null&&!l.index)&&t.push({path:f,score:lk(f,l.index),routesMeta:p.map((g,w)=>{let[v,S]=gm(g.relativePath,g.caseSensitive,w===p.length-1);return{...g,matcher:v,compiledParams:S}})})};return e.forEach((l,s)=>{if(l.path===""||!l.path?.includes("?"))i(l,s);else for(let a of mm(l.path))i(l,s,!0,a)}),t}function mm(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let l=mm(r.join("/")),s=[];return s.push(...l.map(a=>a===""?i:[i,a].join("/"))),o&&s.push(...l),s.map(a=>e.startsWith("/")&&a===""?"/":a)}function ZS(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:sk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var ek=/^:[\w-]+$/,tk=3,nk=2,rk=1,ok=10,ik=-2,Xf=e=>e==="*";function lk(e,t){let n=e.split("/"),r=n.length;return n.some(Xf)&&(r+=ik),t&&(r+=nk),n.filter(o=>!Xf(o)).reduce((o,i)=>o+(ek.test(i)?tk:i===""?rk:ok),r)}function sk(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function ak(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",l=[];for(let s=0;s<r.length;++s){let a=r[s],u=s===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",f={path:a.relativePath,caseSensitive:a.caseSensitive,end:u},p=a.matcher&&a.compiledParams?vm(f,c,a.matcher,a.compiledParams):Vi(f,c),g=a.route;if(!p&&u&&n&&!r[r.length-1].route.index&&(p=Vi({path:a.relativePath,caseSensitive:a.caseSensitive,end:!1},c)),!p)return null;
21Object.assign(o,p.params),l.push({params:o,pathname:nt([i,p.pathname]),pathnameBase:dk(nt([i,p.pathnameBase])),route:g}),p.pathnameBase!=="/"&&(i=nt([i,p.pathnameBase]))}return l}function Vi(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=gm(e.path,e.caseSensitive,e.end);return vm(e,t,n,r)}function vm(e,t,n,r){let o=t.match(n);if(!o)return null;let i=o[0],l=sr(i,1),s=o.slice(1);return{params:r.reduce((u,{paramName:c,isOptional:f},p)=>{if(c==="*"){let w=s[p]||"";l=sr(i.slice(0,i.length-w.length),1)}const g=s[p];return f&&!g?u[c]=void 0:u[c]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:l,pattern:e}}function gm(e,t=!1,n=!0){Ve(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,s,a,u,c)=>{if(r.push({paramName:s,isOptional:a!=null}),a){let f=c.charAt(u+l.length);return f&&f!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function uk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ve(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function Pt(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function ck(e,t="/"){let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?dr(e):e,i;return n?(n=ym(n),n.startsWith("/")||n.startsWith("\\")?i=Jf(n.substring(1),"/"):i=Jf(n,t)):i=t,{pathname:i,search:pk(r),hash:hk(o)}}function Jf(e,t){let n=sr(t).split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function ps(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}]. Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function fk(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Qu(e){let t=fk(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function gl(e,t,n,r=!1){let o;typeof e=="string"?o=dr(e):(o={...e},H(!o.pathname||!o.pathname.includes("?"),ps("?","pathname","search",o)),H(!o.pathname||!o.pathname.includes("#"),ps("#","pathname","hash",o)),H(!o.search||!o.search.includes("#"),ps("#","search","hash",o)));let i=e===""||o.pathname==="",l=i?"/":o.pathname,s;if(l==null)s=n;else{let f=t.length-1;if(!r&&l.startsWith("..")){let p=l.split("/");for(;p[0]==="..";)p.shift(),f-=1;o.pathname=p.join("/")}s=f>=0?t[f]:"/"}let a=ck(o,s),u=l&&l!=="/"&&l.endsWith("/"),c=(i||l===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||c)&&(a.pathname+="/"),a}var ym=e=>e.replace(/[\\/]{2,}/g,"/"),nt=e=>ym(e.join("/"));function sr(e,t=0){let n=e.length;for(;n>t&&e.charCodeAt(n-1)===47;)n--;return n===e.length?e:e.slice(0,n)}var dk=e=>sr(e).replace(/^\/*/,"/"),pk=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,hk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,mk=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function vk(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function gk(e){let t=e.map(n=>n.route.path).filter(Boolean);return nt(t)||"/"}var wm=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Sm(e,t){let n=e;
21if(typeof n!="string"||!Ku.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(wm)try{let i=new URL(window.location.href),l=dm.test(n)?new URL(KS(n,i.protocol)):new URL(n),s=Pt(l.pathname,t);l.origin===i.origin&&s!=null?n=s+l.search+l.hash:o=!0}catch{Ve(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var qf=new URL("http://localhost");function Gu(e){if(e.createURL)return e.createURL("/");try{return new URL(e.createHref("/"),qf)}catch{return qf}}function hs(e,t){return e.origin===t.origin&&(e.origin!=="null"||e.protocol===t.protocol&&e.host===t.host)}function yk(e,t){if(e.startsWith("//"))return!0;let n=t.protocol.toLowerCase();return e.toLowerCase().startsWith(n)?t.host===""||e.slice(n.length).startsWith("//"):!1}function Yu(e,t,n,r){let o=null;try{o=e==null?null:new URL(e,n)}catch{}let i=new URL(t,n),l=o!=null&&!hs(o,n),s=!hs(i,n);if(r==="reject"){if(l||s)throw new Error("External navigation is not allowed")}else if(s&&(o==null||!yk(e,o)||!hs(o,i)))throw new Error("External navigation is not allowed")}var km=["POST","PUT","PATCH","DELETE"];new Set(km);var wk=["GET",...km];new Set(wk);var Sk=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function kk(e){try{return Sk.includes(new URL(e).protocol)}catch{return!1}}var pr=y.createContext(null);pr.displayName="DataRouter";var yl=y.createContext(null);yl.displayName="DataRouterState";var Em=y.createContext(!1);function Ek(){return y.useContext(Em)}var Cm=y.createContext({isTransitioning:!1});Cm.displayName="ViewTransition";var Ck=y.createContext(new Map);Ck.displayName="Fetchers";var _k=y.createContext(null);_k.displayName="Await";var Ne=y.createContext(null);Ne.displayName="Navigation";var vo=y.createContext(null);vo.displayName="Location";var ot=y.createContext({outlet:null,matches:[],isDataRoute:!1});ot.displayName="Route";var Xu=y.createContext(null);Xu.displayName="RouteError";var _m="REACT_ROUTER_ERROR",Pk="REDIRECT",Tk="ROUTE_ERROR_RESPONSE";function Rk(e){if(e.startsWith(`${_m}:${Pk}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function xk(e){if(e.startsWith(`${_m}:${Tk}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new mk(t.status,t.statusText,t.data)}catch{}}function Ok(e,{relative:t}={}){H(hr(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=y.useContext(Ne),{hash:o,pathname:i,search:l}=go(e,{relative:t}),s=i;return n!=="/"&&(s=i==="/"?n:nt([n,i])),r.createHref({pathname:s,search:l,hash:o})}function hr(){return y.useContext(vo)!=null}function it(){return H(hr(),"useLocation() may be used only in the context of a <Router> component."),y.useContext(vo).location}var Pm="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Tm(e){y.useContext(Ne).static||y.useLayoutEffect(e)}function Ju(){let{isDataRoute:e}=y.useContext(ot);return e?Wk():Lk()}function Lk(){H(hr(),"useNavigate() may be used only in the context of a <Router> component.");let e=y.useContext(pr),{basename:t,navigator:n}=y.useContext(Ne),{matches:r}=y.useContext(ot),{pathname:o}=it(),i=JSON.stringify(Qu(r)),l=y.useRef(!1);return Tm(()=>{l.current=!0}),y.useCallback((a,u={})=>{if(Ve(l.current,Pm),!l.current)return;if(typeof a=="number"){n.go(a);return}let c=gl(a,JSON.parse(i),o,u.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:nt([t,c.pathname])),Yu(typeof a=="string"?a:Sn(a),n.createHref(c),Gu(n),"reject"),(u.replace?n.replace:n.push)(c,u.state,u)},[t,n,i,o,e])}y.createContext(null);function r_(){let{matches:e}=y.useContext(ot);return e[e.length-1]?.params??{}}function go(e,{relative:t}={}){let{matches:n}=y.useContext(ot),{pathname:r}=it(),o=JSON.stringify(Qu(n));return y.useMemo(()=>gl(e,JSON.parse(o),r,t==="path"),[e,o,r,t])}function Ik(e,t){return Rm(e,t)}function Rm(e,t,n){H(hr(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=y.useContext(Ne),{matches:o}=y.useContext(ot),i=o[o.length-1],l=i?i.params:{},s=i?i.pathname:"/",a=i?i.pathnameBase:"/",u=i&&i.route;{let S=u&&u.path||"";Om(s,!u||S.endsWith("*")||S.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${s}" (under <Route path="${S}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render. 22 23Please change the parent <Route path="${S}"> to <Route path="${S==="/"?"*":`${S}/*`}">.`)}
23let c=it(),f;if(t){let S=typeof t=="string"?dr(t):t;H(a==="/"||S.pathname?.startsWith(a),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${a}" but pathname "${S.pathname}" was given in the \`location\` prop.`),f=S}else f=c;let p=f.pathname||"/",g=p;if(a!=="/"){let S=a.replace(/^\//,"").split("/");g="/"+p.replace(/^\//,"").split("/").slice(S.length).join("/")}let w=n&&n.state.matches.length?n.state.matches.map(S=>Object.assign(S,{route:n.manifest[S.route.id]||S.route})):pm(e,{pathname:g});Ve(u||w!=null,`No routes matched location "${f.pathname}${f.search}${f.hash}" `),Ve(w==null||w[w.length-1].route.element!==void 0||w[w.length-1].route.Component!==void 0||w[w.length-1].route.lazy!==void 0,`Matched leaf route at location "${f.pathname}${f.search}${f.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let v=Nk(w&&w.map(S=>Object.assign({},S,{params:Object.assign({},l,S.params),pathname:nt([a,r.encodeLocation?r.encodeLocation(S.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?a:nt([a,r.encodeLocation?r.encodeLocation(S.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:S.pathnameBase])})),o,n);return t&&v?y.createElement(vo.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...f},navigationType:"POP"}},v):v}function Mk(){let e=bk(),t=vk(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},l=null;return l=y.createElement(y.Fragment,null,y.createElement("p",null,"ð¿ Hey developer ð"),y.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",y.createElement("code",{style:i},"ErrorBoundary")," or"," ",y.createElement("code",{style:i},"errorElement")," prop on your route.")),y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:o},n):null,l)}var Ak=y.createElement(Mk,null),xm=class extends y.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError&&this.props.onError(e,t)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=xk(e.digest);n&&(e=n)}let t=e!==void 0?y.createElement(ot.Provider,{value:this.props.routeContext},y.createElement(Xu.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?y.createElement(Uk,{error:e},t):t}};xm.contextType=Em;var ms=new WeakMap;function Uk({children:e,error:t}){let{basename:n,navigator:r}=y.useContext(Ne);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let o=Rk(t.digest);if(o){let i=ms.get(t);if(i)throw i;let l=Sm(o.location,n),s=l.absoluteURL||l.to;if(Yu(o.location,s,Gu(r),"allow-explicit"),kk(s))throw new Error("Invalid redirect location");if(wm&&!ms.get(t))if(l.isExternal||o.reloadDocument)window.location.href=s;else{const a=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(l.to,{replace:o.replace}));throw ms.set(t,a),a}return y.createElement("meta",{httpEquiv:"refresh",content:`0;url=${s}`})}}return e}function jk({routeContext:e,match:t,children:n}){let r=y.useContext(pr);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),y.createElement(ot.Provider,{value:e},n)}function Nk(e,t=[],n){let r=n?.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let o=e,i=r?.errors;if(i!=null){let c=o.findIndex(f=>f.route.id&&i?.[f.route.id]!==void 0);H(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,s=-1;if(n&&r){l=r.renderFallback;for(let c=0;c<o.length;c++){let f=o[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(s=c),f.route.id){let{loaderData:p,errors:g}
23=r,w=f.route.loader&&!p.hasOwnProperty(f.route.id)&&(!g||g[f.route.id]===void 0);if(f.route.lazy||w){n.isStatic&&(l=!0),s>=0?o=o.slice(0,s+1):o=[o[0]];break}}}}let a=n?.onError,u=r&&a?(c,f)=>{a(c,{location:r.location,params:r.matches?.[0]?.params??{},pattern:gk(r.matches),errorInfo:f})}:void 0;return o.reduceRight((c,f,p)=>{let g,w=!1,v=null,S=null;r&&(g=i&&f.route.id?i[f.route.id]:void 0,v=f.route.errorElement||Ak,l&&(s<0&&p===0?(Om("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),w=!0,S=null):s===p&&(w=!0,S=f.route.hydrateFallbackElement||null)));let h=t.concat(o.slice(0,p+1)),d=()=>{let m;return g?m=v:w?m=S:f.route.Component?m=y.createElement(f.route.Component,null):f.route.element?m=f.route.element:m=c,y.createElement(jk,{match:f,routeContext:{outlet:c,matches:h,isDataRoute:r!=null},children:m})};return r&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?y.createElement(xm,{location:r.location,revalidation:r.revalidation,component:v,error:g,children:d(),routeContext:{outlet:null,matches:h,isDataRoute:!0},onError:u}):d()},null)}function qu(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function zk(e){let t=y.useContext(pr);return H(t,qu(e)),t}function Dk(e){let t=y.useContext(yl);return H(t,qu(e)),t}function Fk(e){let t=y.useContext(ot);return H(t,qu(e)),t}function Zu(e){let t=Fk(e),n=t.matches[t.matches.length-1];return H(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function $k(){return Zu("useRouteId")}function bk(){let e=y.useContext(Xu),t=Dk("useRouteError"),n=Zu("useRouteError");return e!==void 0?e:t.errors?.[n]}function Wk(){let{router:e}=zk("useNavigate"),t=Zu("useNavigate"),n=y.useRef(!1);return Tm(()=>{n.current=!0}),y.useCallback(async(o,i={})=>{Ve(n.current,Pm),n.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:t,...i}))},[e,t])}var Zf={};function Om(e,t,n){!t&&!Zf[e]&&(Zf[e]=!0,Ve(!1,n))}y.memo(Bk);function Bk({routes:e,manifest:t,future:n,state:r,isStatic:o,onError:i}){return Rm(e,void 0,{manifest:t,state:r,isStatic:o,onError:i})}function o_({to:e,replace:t,state:n,relative:r}){H(hr(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o,navigator:i}=y.useContext(Ne);Ve(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:l}=y.useContext(ot),{pathname:s}=it(),a=Ju(),u=gl(e,Qu(l),s,r==="path");Yu(typeof e=="string"?e:Sn(e),i.createHref(u),Gu(i),"reject");let c=JSON.stringify(u);return y.useEffect(()=>{a(JSON.parse(c),{replace:t,state:n,relative:r})},[a,c,r,t,n]),null}function Hk(e){H(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function Vk({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1,useTransitions:l}){H(!hr(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),a=y.useMemo(()=>({basename:s,navigator:o,static:i,useTransitions:l,future:{}}),[s,o,i,l]);typeof n=="string"&&(n=dr(n));let{pathname:u="/",search:c="",hash:f="",state:p=null,key:g="default",mask:w}=n,v=y.useMemo(()=>{let S=Pt(u,s);return S==null?null:{location:{pathname:S,search:c,hash:f,state:p,key:g,mask:w},navigationType:r}},[s,u,c,f,p,g,r,w]);return Ve(v!=null,`<Router basename="${s}"> is not able to match the URL "${u}${c}${f}" because it does not start with the basename, so the <Router> won't render anything.`),v==null?null:y.createElement(Ne.Provider,{value:a},y.createElement(vo.Provider,{children:t,value:v}))}function i_({children:e,location:t}){return Ik(Ma(e),t)}function Ma(e,t=[]){let n=[];return y.Children.forEach(e,(r,o)=>{if(!y.isValidElement(r))return;let i=[...t,o];if(r.type===y.Fragment){n.push.apply(n,Ma(r.props.children,i));return}
23H(r.type===Hk,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),H(!r.props.index||!r.props.children,"An index route cannot have child routes.");let l={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(l.children=Ma(r.props.children,i)),n.push(l)}),n}var pi="get",hi="application/x-www-form-urlencoded";function wl(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Kk(e){return wl(e)&&e.tagName.toLowerCase()==="button"}function Qk(e){return wl(e)&&e.tagName.toLowerCase()==="form"}function Gk(e){return wl(e)&&e.tagName.toLowerCase()==="input"}function Yk(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Xk(e,t){return e.button===0&&(!t||t==="_self")&&!Yk(e)}function Aa(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((t,n)=>{let r=e[n];return t.concat(Array.isArray(r)?r.map(o=>[n,o]):[[n,r]])},[]))}function Jk(e,t){let n=Aa(e);return t&&t.forEach((r,o)=>{n.has(o)||t.getAll(o).forEach(i=>{n.append(o,i)})}),n}var Ho=null;
23function qk(){if(Ho===null)try{new FormData(document.createElement("form"),0),Ho=!1}catch{Ho=!0}return Ho}var Zk=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function vs(e){return e!=null&&!Zk.has(e)?(Ve(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${hi}"`),null):e}function eE(e,t){let n,r,o,i,l;if(Qk(e)){let s=e.getAttribute("action");r=s?Pt(s,t):null,n=e.getAttribute("method")||pi,o=vs(e.getAttribute("enctype"))||hi,i=new FormData(e)}else if(Kk(e)||Gk(e)&&(e.type==="submit"||e.type==="image")){let s=e.form;if(s==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let a=e.getAttribute("formaction")||s.getAttribute("action");if(r=a?Pt(a,t):null,n=e.getAttribute("formmethod")||s.getAttribute("method")||pi,o=vs(e.getAttribute("formenctype"))||vs(s.getAttribute("enctype"))||hi,i=new FormData(s,e),!qk()){let{name:u,type:c,value:f}=e;if(c==="image"){let p=u?`${u}.`:"";i.append(`${p}x`,"0"),i.append(`${p}y`,"0")}else u&&i.append(u,f)}}else{if(wl(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=pi,r=null,o=hi,l=e}return i&&o==="text/plain"&&(l=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:l}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function ec(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Lm(e,t,n,r){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:o.pathname==="/"?o.pathname=`_root.${r}`:t&&Pt(o.pathname,t)==="/"?o.pathname=`${sr(t)}/_root.${r}`:o.pathname=`${sr(o.pathname)}.${r}`,o}async function tE(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch{return window.location.reload(),new Promise(()=>{})}}function nE(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function rE(e,t,n){let r=await Promise.all(e.map(async o=>{let i=t.routes[o.route.id];if(i){let l=await tE(i,n);return l.links?l.links():[]}return[]}));return sE(r.flat(1).filter(nE).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function ed(e,t,n,r,o,i){let l=(a,u)=>n[u]?a.route.id!==n[u].route.id:!0,s=(a,u)=>n[u].pathname!==a.pathname||n[u].route.path?.endsWith("*")&&n[u].params["*"]!==a.params["*"];return i==="assets"?t.filter((a,u)=>l(a,u)||s(a,u)):i==="data"?t.filter((a,u)=>{let c=r.routes[a.route.id];if(!c||!c.hasLoader)return!1;if(l(a,u)||s(a,u))return!0;if(a.route.shouldRevalidate){let f=a.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:a.params,defaultShouldRevalidate:!0});if(typeof f=="boolean")return f}return!0}):[]}function oE(e,t,{includeHydrateFallback:n}={}){return iE(e.map(r=>{let o=t.routes[r.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function iE(e){return[...new Set(e)]}function lE(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function sE(e,t){let n=new Set;return new Set(t),e.reduce((r,o)=>{let i=JSON.stringify(lE(o));return n.has(i)||(n.add(i),r.push({key:i,link:o})),r},[])}function tc(){let e=y.useContext(pr);return ec(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function aE(){let e=y.useContext(yl);return ec(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var nc=y.createContext(void 0);nc.displayName="FrameworkContext";function Sl(){let e=y.useContext(nc);return ec(e,"You must render this element inside a <HydratedRouter> element"),e}function uE(e,t){let n=y.useContext(nc),[r,o]=y.useState(!1),[i,l]=y.useState(!1),{onFocus:s,onBlur:a,onMouseEnter:u,onMouseLeave:c,onTouchStart:f}=t,p=y.useRef(null);y.useEffect(()=>{if(e==="render"&&l(!0),e==="viewport"){let v=h=>{h.forEach(d=>{l(d.isIntersecting)})},S=new IntersectionObserver(v,{threshold:.5});return p.current&&S.observe(p.current),()=>{S.disconnect()}}},[e]),y.useEffect(()=>{if(r){let v=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(v)}}},[r]);let g=()=>{o(!0)},w=()=>{o(!1),l(!1)};return n?e!=="intent"?[i,p,{}]:[i,p,{onFocus:Tr(s,g),onBlur:Tr(a,w),onMouseEnter:Tr(u,g),onMouseLeave:Tr(c,w),onTouchStart:Tr(f,g)}]:[!1,p,{}]}function Tr(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function cE({page:e,...t}){let n=Ek(),{nonce:r}=Sl(),{router:o}=tc(),i=y.useMemo(()=>pm(o.routes,e,o.basename),[o.routes,e,o.basename]);return i?(t.nonce==null&&r&&(t={...t,nonce:r}),n?y.createElement(dE,{page:e,matches:i,...t}):y.createElement(pE,{page:e,matches:i,...t})):null}function fE(e){let{manifest:t,routeModules:n}=Sl(),[r,o]=y.useState([]);return y.useEffect(()=>{let i=!1;return rE(e,t,n).then(l=>{i||o(l)}),()=>{i=!0}},[e,t,n]),r}function dE({page:e,matches:t,...n}){let r=it(),{future:o}=Sl(),{basename:i}=tc(),l=y.useMemo(()=>
23{if(e===r.pathname+r.search+r.hash)return[];let s=Lm(e,i,o.v8_trailingSlashAwareDataRequests,"rsc"),a=!1,u=[];for(let c of t)typeof c.route.shouldRevalidate=="function"?a=!0:u.push(c.route.id);return a&&u.length>0&&s.searchParams.set("_routes",u.join(",")),[s.pathname+s.search]},[i,o.v8_trailingSlashAwareDataRequests,e,r,t]);return y.createElement(y.Fragment,null,l.map(s=>y.createElement("link",{key:s,rel:"prefetch",as:"fetch",href:s,...n})))}function pE({page:e,matches:t,...n}){let r=it(),{future:o,manifest:i,routeModules:l}=Sl(),{basename:s}=tc(),{loaderData:a,matches:u}=aE(),c=y.useMemo(()=>ed(e,t,u,i,r,"data"),[e,t,u,i,r]),f=y.useMemo(()=>ed(e,t,u,i,r,"assets"),[e,t,u,i,r]),p=y.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let v=new Set,S=!1;if(t.forEach(d=>{let m=i.routes[d.route.id];!m||!m.hasLoader||(!c.some(E=>E.route.id===d.route.id)&&d.route.id in a&&l[d.route.id]?.shouldRevalidate||m.hasClientLoader?S=!0:v.add(d.route.id))}),v.size===0)return[];let h=Lm(e,s,o.v8_trailingSlashAwareDataRequests,"data");return S&&v.size>0&&h.searchParams.set("_routes",t.filter(d=>v.has(d.route.id)).map(d=>d.route.id).join(",")),[h.pathname+h.search]},[s,o.v8_trailingSlashAwareDataRequests,a,r,i,c,t,e,l]),g=y.useMemo(()=>oE(f,i),[f,i]),w=fE(f);return y.createElement(y.Fragment,null,p.map(v=>y.createElement("link",{key:v,rel:"prefetch",as:"fetch",href:v,...n})),g.map(v=>y.createElement("link",{key:v,rel:"modulepreload",href:v,...n})),w.map(({key:v,link:S})=>y.createElement("link",{key:v,nonce:n.nonce,...S,crossOrigin:S.crossOrigin??n.crossOrigin})))}function hE(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var mE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{mE&&(window.__reactRouterVersion="7.18.4")}catch{}function l_({basename:e,children:t,useTransitions:n,window:r}){let o=y.useRef();o.current==null&&(o.current=QS({window:r,v5Compat:!0}));let i=o.current,[l,s]=y.useState({action:i.action,location:i.location}),a=y.useCallback(u=>{n===!1?s(u):y.startTransition(()=>s(u))},[n]);return y.useLayoutEffect(()=>i.listen(a),[i,a]),y.createElement(Vk,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:i,useTransitions:n})}var Im=y.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:l,mask:s,state:a,target:u,to:c,preventScrollReset:f,viewTransition:p,defaultShouldRevalidate:g,...w},v){let{basename:S,navigator:h,useTransitions:d}=y.useContext(Ne),m=typeof c=="string"&&Ku.test(c),E=Sm(c,S);c=E.to;let C=Ok(c,{relative:o}),P=it(),_=null;if(s){let Ee=gl(s,[],P.mask?P.mask.pathname:"/",!0);S!=="/"&&(Ee.pathname=Ee.pathname==="/"?S:nt([S,Ee.pathname])),_=h.createHref(Ee)}let[R,L,I]=uE(r,w),z=wE(c,{replace:l,mask:s,state:a,target:u,preventScrollReset:f,relative:o,viewTransition:p,defaultShouldRevalidate:g,useTransitions:d});function ee(Ee){t&&t(Ee),Ee.defaultPrevented||z(Ee)}let te=!(E.isExternal||i),le=y.createElement("a",{...w,...I,href:(te?_:void 0)||E.absoluteURL||C,onClick:te?ee:t,ref:hE(v,L),target:u,"data-discover":!m&&n==="render"?"true":void 0});return R&&!m?y.createElement(y.Fragment,null,le,y.createElement(cE,{page:C})):le});Im.displayName="Link";var vE=y.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:l,viewTransition:s,children:a,...u},c){let f=go(l,{relative:u.relative}),p=it(),g=y.useContext(yl),{navigator:w,basename:v}=y.useContext(Ne),S=g!=null&&_E(f)&&s===!0,h=w.encodeLocation?w.encodeLocation(f).pathname:f.pathname,d=p.pathname,m=g&&g.navigation&&g.navigation.location?g.navigation.location.pathname:null;n||(d=d.toLowerCase(),m=m?m.toLowerCase():null,h=h.toLowerCase()),m&&v&&(m=Pt(m,v)||m);const E=h!=="/"&&h.endsWith("/")?h.length-1:h.length;let C=d===h||!o&&d.startsWith(h)&&d.charAt(E)==="/",P=m!=null&&(m===h||!o&&m.startsWith(h)&&m.charAt(h.length)==="/"),_={isActive:C,isPending:P,isTransitioning:S},R=C?t:void 0,L;typeof r=="function"?L=r(_):L=[r,C?"active":null,P?"pending":null,S?"transitioning":null].filter(Boolean).join(" ");let I=typeof i=="function"?i(_):i;return y.createElement(Im,{...u,"aria-current":R,className:L,ref:c,style:I,to:l,viewTransition:s},typeof a=="function"?a(_):a)});vE.displayName="NavLink";var gE=y.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:i,method:l=pi,action:s,onSubmit:a,relative:u,preventScrollReset:c,viewTransition:f,defaultShouldRevalidate:p,...g},w)=>{let{useTransitions:v}=y.useContext(Ne),S=EE(),h=CE(s,{relative:u}),d=l.toLowerCase()==="get"?"get":"post",m=typeof s=="string"&&Ku.test(s),E=C=>{if(a&&a(C),C.defaultPrevented)return;C.preventDefault();let P=C.nativeEvent.submitter,_=P?.getAttribute("formmethod")||l,R=()=>S(P||C.currentTarget,{fetcherKey:t,method:_,navigate:n,replace:o,state:i,relative:u,preventScrollReset:c,viewTransition:f,defaultShouldRevalidate:p});v&&n!==!1?y.startTransition(()=>R()):R()};return y.createElement("form",{ref:w,method:d,action:h,onSubmit:r?a:E,...g,"data-discover":!m&&e==="render"?"true":void 0})});gE.displayName="Form";function yE(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function Mm(e){let t=y.useContext(pr);return H(t,yE(e)),t}function wE(e,{target:t,replace:n,mask:r,state:o,preventScrollReset:i,relative:l,viewTransition:s,defaultShouldRevalidate:a,useTransitions:u}={}){let c=Ju(),f=it(),p=go(e,{relative:l});return y.useCallback(g=>{if(Xk(g,t)){g.preventDefault();let w=n!==void 0?n:Sn(f)===Sn(p),v=()=>c(e,{replace:w,mask:r,state:o,preventScrollReset:i,relative:l,viewTransition:s,defaultShouldRevalidate:a});u?y.startTransition(()=>v()):v()}},[f,c,p,n,r,o,t,e,i,l,s,a,u])}function s_(e){Ve(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=y.useRef(Aa(e)),n=y.useRef(!1),r=it(),o=y.useMemo(()=>Jk(r.search,n.current?null:t.current),[r.search]),i=Ju(),l=y.useCallback((s,a)=>{const u=Aa(typeof s=="function"?s(new URLSearchParams(o)):s);n.current=!0,i("?"+u,a)},[i,o]);return[o,l]}var SE=0,kE=()=>`__${String(++SE)}__`;function EE(){let{router:e}=Mm("useSubmit"),{basename:t}=y.useContext(Ne),n=$k(),r=e.fetch,o=e.navigate;return y.useCallback(async(i,l={})=>{let{action:s,method:a,encType:u,formData:c,body:f}=eE(i,t);if(l.navigate===!1){let p=l.fetcherKey||kE();await r(p,n,l.action||s,{defaultShouldRevalidate:l.defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:c,body:f,formMethod:l.method||a,formEncType:l.encType||u,flushSync:l.flushSync})}else await o(l.action||s,{defaultShouldRevalidate:l.defaultShouldRevalidate,preventScrollReset:l.preventScrollReset,formData:c,body:f,formMethod:l.method||a,formEncType:l.encType||u,replace:l.replace,state:l.state,fromRouteId:n,flushSync:l.flushSync,viewTransition:l.viewTransition})},[r,o,t,n])}function CE(e,{relative:t}={}){let{basename:n}=y.useContext(Ne),r=y.useContext(ot);H(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...go(e||".",{relative:t})},l=it();if(e==null){i.search=l.search;let s=new URLSearchParams(i.search),a=s.getAll("index");if(a.some(c=>c==="")){s.delete("index"),a.filter(f=>f).forEach(f=>s.append("index",f));let c=s.toString();i.search=c?`?${c}`:""}}return(!e||e===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:nt([n,i.pathname])),Sn(i)}function _E(e,{relative:t}={}){let n=y.useContext(Cm);H(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=Mm("useViewTransitionState"),o=go(e,{relative:t});if(!n.isTransitioning)return!1;let i=Pt(n.currentLocation.pathname,r)||n.currentLocation.pathname,l=Pt(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Vi(o.pathname,l)!=null||Vi(o.pathname,i)!=null}function Am(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Am(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function PE(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Am(e))&&(r&&(r+=" "),r+=t);return r}const td=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,nd=PE,a_=(e,t)=>n=>{var r;if(t?.variants==null)return nd(e,n?.class,n?.className);const{variants:o,defaultVariants:i}=t,l=Object.keys(o).map(u=>{const c=n?.[u],f=i?.[u];if(c===null)return null;const p=td(c)||td(f);return o[u][p]}),s=n&&Object.entries(n).reduce((u,c)=>{let[f,p]=c;return p===void 0||(u[f]=p),u},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:f,className:p,...g}=c;return Object.entries(g).every(w=>{let[v,S]=w;return Array.isArray(S)?S.includes({...i,...s}[v]):{...i,...s}[v]===S})?[...u,f,p]:u},[]);return nd(e,l,a,n?.class,n?.className)};var TE=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Tn=new WeakMap,Vo=new WeakMap,Ko={},gs=0,Um=function(e){return e&&(e.host||Um(e.parentNode))},RE=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Um(n);return r&&e.contains(r)?r:null}).filter(function(n){return!!n})},xE=function(e,t,n,r){var o=RE(t,Array.isArray(e)?e:[e]);Ko[n]||(Ko[n]=new WeakMap);var i=Ko[n],l=[],s=new Set,a=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var c=function(f){!f||a.has(f)||Array.prototype.forEach.call(f.children,function(p){if(s.has(p))c(p);else try{var g=p.getAttribute(r),w=g!==null&&g!=="false",v=(Tn.get(p)||0)+1,S=(i.get(p)||0)+1;Tn.set(p,v),i.set(p,S),l.push(p),v===1&&w&&Vo.set(p,!0),S===1&&p.setAttribute(n,"true"),w||p.setAttribute(r,"true")}catch{}})};return c(t),s.clear(),gs++,function(){l.forEach(function(f){var p=Tn.get(f)-1,g=i.get(f)-1;Tn.set(f,p),i.set(f,g),p||(Vo.has(f)||f.removeAttribute(r),Vo.delete(f)),g||f.removeAttribute(n)}),gs--,gs||(Tn=new WeakMap,Tn=new WeakMap,Vo=new WeakMap,Ko={})}},u_=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=TE(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),xE(r,o,n,"aria-hidden")):function(){return null}},ft=function(){return ft=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ft.apply(this,arguments)};function jm(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function OE(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var mi="right-scroll-bar-position",vi="width-before-scroll-bar",LE="with-scroll-bars-hidden",IE="--removed-body-scroll-bar-size";function ys(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function ME(e,t){var n=y.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var AE=typeof window<"u"?y.useLayoutEffect:y.useEffect,rd=new WeakMap;function UE(e,t){var n=ME(null,function(r){return e.forEach(function(o){return ys(o,r)})});return AE(function(){var r=rd.get(n);if(r){var o=new Set(r),i=new Set(e),l=n.current;o.forEach(function(s){i.has(s)||ys(s,null)}
vendor: 4,153 bytes, lines 23-38
23),i.forEach(function(s){o.has(s)||ys(s,l)})}rd.set(n,e)},[e]),n}function jE(e){return e}function NE(e,t){t===void 0&&(t=jE);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var l=t(i,r);return n.push(l),function(){n=n.filter(function(s){return s!==l})}},assignSyncMedium:function(i){for(r=!0;n.length;){var l=n;n=[],l.forEach(i)}n={push:function(s){return i(s)},filter:function(){return n}}},assignMedium:function(i){r=!0;var l=[];if(n.length){var s=n;n=[],s.forEach(i),l=n}var a=function(){var c=l;l=[],c.forEach(i)},u=function(){return Promise.resolve().then(a)};u(),n={push:function(c){l.push(c),u()},filter:function(c){return l=l.filter(c),n}}}};return o}function zE(e){e===void 0&&(e={});var t=NE(null);return t.options=ft({async:!0,ssr:!1},e),t}var Nm=function(e){var t=e.sideCar,n=jm(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return y.createElement(r,ft({},n))};Nm.isSideCarExport=!0;function DE(e,t){return e.useMedium(t),Nm}var zm=zE(),ws=function(){},kl=y.forwardRef(function(e,t){var n=y.useRef(null),r=y.useState({onScrollCapture:ws,onWheelCapture:ws,onTouchMoveCapture:ws}),o=r[0],i=r[1],l=e.forwardProps,s=e.children,a=e.className,u=e.removeScrollBar,c=e.enabled,f=e.shards,p=e.sideCar,g=e.noRelative,w=e.noIsolation,v=e.inert,S=e.allowPinchZoom,h=e.as,d=h===void 0?"div":h,m=e.gapMode,E=jm(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),C=p,P=UE([n,t]),_=ft(ft({},E),o);return y.createElement(y.Fragment,null,c&&y.createElement(C,{sideCar:zm,removeScrollBar:u,shards:f,noRelative:g,noIsolation:w,inert:v,setCallbacks:i,allowPinchZoom:!!S,lockRef:n,gapMode:m}),l?y.cloneElement(y.Children.only(s),ft(ft({},_),{ref:P})):y.createElement(d,ft({},_,{className:a,ref:P}),s))});kl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};kl.classNames={fullWidth:vi,zeroRight:mi};var FE=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function $E(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=FE();return t&&e.setAttribute("nonce",t),e}function bE(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function WE(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var BE=function(){var e=0,t=null;return{add:function(n){e==0&&(t=$E())&&(bE(t,n),WE(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},HE=function(){var e=BE();return function(t,n){y.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Dm=function(){var e=HE(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},VE={left:0,top:0,right:0,gap:0},Ss=function(e){return parseInt(e||"",10)||0},KE=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ss(n),Ss(r),Ss(o)]},QE=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return VE;var t=KE(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},GE=Dm(),qn="data-scroll-locked",YE=function(e,t,n,r){var o=e.left,i=e.top,l=e.right,s=e.gap;return n===void 0&&(n="margin"),` 24 .`.concat(LE,` { 25 overflow: hidden `).concat(r,`; 26 padding-right: `).concat(s,"px ").concat(r,`; 27 } 28 body[`).concat(qn,`] { 29 overflow: hidden `).concat(r,`; 30 overscroll-behavior: contain; 31 `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` 32 padding-left: `.concat(o,`px; 33 padding-top: `).concat(i,`px; 34 padding-right: `).concat(l,`px; 35 margin-left:0; 36 margin-top:0; 37 margin-right: `).concat(s,"px ").concat(r,`; 38 `),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";
38")].filter(Boolean).join(""),` 39 } 40 41 .`).concat(mi,` { 42 right: `).concat(s,"px ").concat(r,`; 43 } 44 45 .`).concat(vi,` { 46 margin-right: `).concat(s,"px ").concat(r,`; 47 } 48 49 .`).concat(mi," .").concat(mi,` { 50 right: 0 `).concat(r,`; 51 } 52 53 .`).concat(vi," .").concat(vi,` { 54 margin-right: 0 `).concat(r,`; 55 } 56 57 body[`).concat(qn,`] { 58 `).concat(IE,": ").concat(s,`px; 59 } 60`)},od=function(){var e=parseInt(document.body.getAttribute(qn)||"0",10);return isFinite(e)?e:0},XE=function(){y.useEffect(function(){return document.body.setAttribute(qn,(od()+1).toString()),function(){var e=od()-1;e<=0?document.body.removeAttribute(qn):document.body.setAttribute(qn,e.toString())}},[])},JE=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;XE();var i=y.useMemo(function(){return QE(o)},[o]);return y.createElement(GE,{styles:YE(i,!t,o,n?"":"!important")})},Ua=!1;if(typeof window<"u")try{var Qo=Object.defineProperty({},"passive",{get:function(){return Ua=!0,!0}});window.addEventListener("test",Qo,Qo),window.removeEventListener("test",Qo,Qo)}catch{Ua=!1}var Rn=Ua?{passive:!1}:!1,qE=function(e){return e.tagName==="TEXTAREA"},Fm=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!qE(e)&&n[t]==="visible")},ZE=function(e){return Fm(e,"overflowY")},eC=function(e){return Fm(e,"overflowX")},id=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=$m(e,r);if(o){var i=bm(e,r),l=i[1],s=i[2];if(l>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},tC=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},nC=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},$m=function(e,t){return e==="v"?ZE(t):eC(t)},bm=function(e,t){return e==="v"?tC(t):nC(t)},rC=function(e,t){return e==="h"&&t==="rtl"?-1:1},oC=function(e,t,n,r,o){var i=rC(e,window.getComputedStyle(t).direction),l=i*r,s=n.target,a=t.contains(s),u=!1,c=l>0,f=0,p=0;do{if(!s)break;var g=bm(e,s),w=g[0],v=g[1],S=g[2],h=v-S-i*w;(w||h)&&$m(e,s)&&(f+=h,p+=w);var d=s.parentNode;s=d&&d.nodeType===Node.DOCUMENT_FRAGMENT_NODE?d.host:d}while(!a&&s!==document.body||a&&(t.contains(s)||t===s));return(c&&Math.abs(f)<1||!c&&Math.abs(p)<1)&&(u=!0),u},Go=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ld=function(e){return[e.deltaX,e.deltaY]},sd=function(e){return e&&"current"in e?e.current:e},iC=function(e,t){return e[0]===t[0]&&e[1]===t[1]},lC=function(e){return` 61 .block-interactivity-`.concat(e,` {pointer-events: none;} 62 .allow-interactivity-`).concat(e,` {pointer-events: all;} 63`)},sC=0,xn=[];function aC(e){var t=y.useRef([]),n=y.useRef([0,0]),r=y.useRef(),o=y.useState(sC++)[0],i=y.useState(Dm)[0],l=y.useRef(e);y.useEffect(function(){l.current=e},[e]),y.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var v=OE([e.lockRef.current],(e.shards||[]).map(sd),!0).filter(Boolean);return v.forEach(function(S){return S.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),v.forEach(function(S){return S.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var s=y.useCallback(function(v,S){if("touches"in v&&v.touches.length===2||v.type==="wheel"&&v.ctrlKey)return!l.current.allowPinchZoom;var h=Go(v),d=n.current,m="deltaX"in v?v.deltaX:d[0]-h[0],E="deltaY"in v?v.deltaY:d[1]-h[1],C,P=v.target,_=Math.abs(m)>Math.abs(E)?"h":"v";if("touches"in v&&_==="h"&&P.type==="range")return!1;var R=id(_,P);if(!R)return!0;if(R?C=_:(C=_==="v"?"h":"v",R=id(_,P)),!R)return!1;if(!r.current&&"changedTouches"in v&&(m||E)&&(r.current=C),!C)return!0;var L=r.current||C;return oC(L,S,v,L==="h"?m:E)},[]),a=y.useCallback(function(v){var S=v;if(!(!xn.length||xn[xn.length-1]!==i)){var h="deltaY"in S?ld(S):Go(S),d=t.current.filter(function(C){return C.name===S.type&&(C.target===S.target||S.target===C.shadowParent)&&iC(C.delta,h)})[0];if(d&&d.should){S.cancelable&&S.preventDefault();return}
63if(!d){var m=(l.current.shards||[]).map(sd).filter(Boolean).filter(function(C){return C.contains(S.target)}),E=m.length>0?s(S,m[0]):!l.current.noIsolation;E&&S.cancelable&&S.preventDefault()}}},[]),u=y.useCallback(function(v,S,h,d){var m={name:v,delta:S,target:h,should:d,shadowParent:uC(h)};t.current.push(m),setTimeout(function(){t.current=t.current.filter(function(E){return E!==m})},1)},[]),c=y.useCallback(function(v){n.current=Go(v),r.current=void 0},[]),f=y.useCallback(function(v){u(v.type,ld(v),v.target,s(v,e.lockRef.current))},[]),p=y.useCallback(function(v){u(v.type,Go(v),v.target,s(v,e.lockRef.current))},[]);y.useEffect(function(){return xn.push(i),e.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:p}),document.addEventListener("wheel",a,Rn),document.addEventListener("touchmove",a,Rn),document.addEventListener("touchstart",c,Rn),function(){xn=xn.filter(function(v){return v!==i}),document.removeEventListener("wheel",a,Rn),document.removeEventListener("touchmove",a,Rn),document.removeEventListener("touchstart",c,Rn)}},[]);var g=e.removeScrollBar,w=e.inert;return y.createElement(y.Fragment,null,w?y.createElement(i,{styles:lC(o)}):null,g?y.createElement(JE,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function uC(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const cC=DE(zm,aC);var fC=y.forwardRef(function(e,t){return y.createElement(kl,ft({},e,{ref:t,sideCar:cC}))});fC.classNames=kl.classNames;const c_=e=>e;function Wm(e){let t;return()=>(t===void 0&&(t=e()),t)}const dC=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},f_=e=>e*1e3,pC=e=>e/1e3,hC=Wm(()=>window.ScrollTimeline!==void 0);class mC{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(o=>{if(hC()&&o.attachTimeline)return o.attachTimeline(t);if(typeof n=="function")return n(o)});return()=>{r.forEach((o,i)=>{o&&o(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class d_ extends mC{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function p_(e,t){return e?e[t]||e.default||e:void 0}const ja=2e4;function vC(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<ja;)t+=n,r=e.next(t);return t>=ja?1/0:t}function h_(e,t=100,n){const r=n({...e,keyframes:[0,t]}),o=Math.min(vC(r),ja);return{type:"keyframes",ease:i=>r.next(o*i).value/t,duration:pC(o)}}function m_(e){return typeof e=="function"}function v_(e,t){e.timeline=t,e.onfinish=null}const Bm=e=>Array.isArray(e)&&typeof e[0]=="number",gC={linearEasing:void 0};function yC(e,t){const n=Wm(e);return()=>{var r;return(r=gC[t])!==null&&r!==void 0?r:n()}}const Na=yC(()=>{try{document.createElement("div").animate({opacity:0}
63,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),wC=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=e(dC(0,o-1,i))+", ";return`linear(${r.substring(0,r.length-2)})`};function SC(e){return!!(typeof e=="function"&&Na()||!e||typeof e=="string"&&(e in za||Na())||Bm(e)||Array.isArray(e)&&e.every(SC))}const Mr=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,za={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Mr([0,.65,.55,1]),circOut:Mr([.55,0,1,.45]),backIn:Mr([.31,.01,.66,-.59]),backOut:Mr([.33,1.53,.69,.99])};function kC(e,t){if(e)return typeof e=="function"&&Na()?wC(e,t):Bm(e)?Mr(e):Array.isArray(e)?e.map(n=>kC(n,t)||za.easeOut):za[e]}const Qe={x:!1,y:!1};function Hm(){return Qe.x||Qe.y}function EC(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;const i=(r=n?.[e])!==null&&r!==void 0?r:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function Vm(e,t){const n=EC(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function ad(e){return t=>{t.pointerType==="touch"||Hm()||e(t)}}function g_(e,t,n={}){const[r,o,i]=Vm(e,n),l=ad(s=>{const{target:a}=s,u=t(s);if(typeof u!="function"||!a)return;const c=ad(f=>{u(f),a.removeEventListener("pointerleave",c)});a.addEventListener("pointerleave",c,o)});return r.forEach(s=>{s.addEventListener("pointerenter",l,o)}),i}const Km=(e,t)=>t?e===t?!0:Km(e,t.parentElement):!1,CC=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,_C=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function PC(e){return _C.has(e.tagName)||e.tabIndex!==-1}const Ar=new WeakSet;function ud(e){return t=>{t.key==="Enter"&&e(t)}}function ks(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const TC=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=ud(()=>{if(Ar.has(n))return;ks(n,"down");const o=ud(()=>{ks(n,"up")}),i=()=>ks(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function cd(e){return CC(e)&&!Hm()}function y_(e,t,n={}){const[r,o,i]=Vm(e,n),l=s=>{const a=s.currentTarget;if(!cd(s)||Ar.has(a))return;Ar.add(a);const u=t(s),c=(g,w)=>{window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",p),!(!cd(g)||!Ar.has(a))&&(Ar.delete(a),typeof u=="function"&&u(g,{success:w}))},f=g=>{c(g,n.useGlobalTarget||Km(a,g.target))},p=g=>{c(g,!1)};window.addEventListener("pointerup",f,o),window.addEventListener("pointercancel",p,o)};return r.forEach(s=>{!PC(s)&&s.getAttribute("tabindex")===null&&(s.tabIndex=0),(n.useGlobalTarget?window:s).addEventListener("pointerdown",l,o),s.addEventListener("focus",u=>TC(u,o),o)}),i}function w_(e){return e==="x"||e==="y"?Qe[e]?null:(Qe[e]=!0,()=>{Qe[e]=!1}):Qe.x||Qe.y?null:(Qe.x=Qe.y=!0,()=>{Qe.x=Qe.y=!1})}const fd=e=>{let t;const n=new Set,r=(u,c)=>{const f=typeof u=="function"?u(t):u;if(!Object.is(f,t)){const p=t;t=c??(typeof f!="object"||f===null)?f:Object.assign({},t,f),n.forEach(g=>g(t,p))}},o=()=>t,s={setState:r,getState:o,getInitialState:()=>a,subscribe:u=>(n.add(u),()=>n.delete(u))},a=t=e(r,o,s);return s},RC=e=>e?fd(e):fd,xC=e=>e;function OC(e,t=xC){const n=k.useSyncExternalStore(e.subscribe,k.useCallback(()=>t(e.getState()),[e,t]),k.useCallback(()=>t(e.getInitialState()),[e,t]));return k.useDebugValue(n),n}const dd=e=>{const t=RC(e),n=r=>OC(t,r);return Object.assign(n,t),n},S_=e=>e?dd(e):dd;var LC="Invariant failed";function k_(e,t){throw new Error(LC)}var Qm={exports:{}},IC="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",MC=IC,AC=MC;function Gm(){}function Ym(){}Ym.resetWarningCache=Gm;var UC=function(){function e(r,o,i,l,s,a){if(a!==AC){var u=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 u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
63:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:Ym,resetWarningCache:Gm};return n.PropTypes=n,n};Qm.exports=UC();var jC=Qm.exports;const E_=ar(jC);var Da,Xm=-1,mr=function(e){addEventListener("pageshow",function(t){t.persisted&&(Xm=t.timeStamp,e(t))},!0)},rc=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},El=function(){var e=rc();return e&&e.activationStart||0},ht=function(e,t){var n=rc(),r="navigate";return Xm>=0?r="back-forward-cache":n&&(document.prerendering||El()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:t===void 0?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},yo=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver(function(o){Promise.resolve().then(function(){t(o.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch{}},mt=function(e,t,n,r){var o,i;return function(l){t.value>=0&&(l||r)&&((i=t.value-(o||0))||o===void 0)&&(o=t.value,t.delta=i,t.rating=function(s,a){return s>a[1]?"poor":s>a[0]?"needs-improvement":"good"}(t.value,n),e(t))}},oc=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},Cl=function(e){document.addEventListener("visibilitychange",function(){document.visibilityState==="hidden"&&e()})},ic=function(e){var t=!1;return function(){t||(e(),t=!0)}},Bn=-1,pd=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},Ki=function(e){document.visibilityState==="hidden"&&Bn>-1&&(Bn=e.type==="visibilitychange"?e.timeStamp:0,NC())},hd=function(){addEventListener("visibilitychange",Ki,!0),addEventListener("prerenderingchange",Ki,!0)},NC=function(){removeEventListener("visibilitychange",Ki,!0),removeEventListener("prerenderingchange",Ki,!0)},Jm=function(){return Bn<0&&(Bn=pd(),hd(),mr(function(){setTimeout(function(){Bn=pd(),hd()},0)})),{get firstHiddenTime(){return Bn}}},_l=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},Fa=[1800,3e3],qm=function(e,t){t=t||{},_l(function(){var n,r=Jm(),o=ht("FCP"),i=yo("paint",function(l){l.forEach(function(s){s.name==="first-contentful-paint"&&(i.disconnect(),s.startTime<r.firstHiddenTime&&(o.value=Math.max(s.startTime-El(),0),o.entries.push(s),n(!0)))})});i&&(n=mt(e,o,Fa,t.reportAllChanges),mr(function(l){o=ht("FCP"),n=mt(e,o,Fa,t.reportAllChanges),oc(function(){o.value=performance.now()-l.timeStamp,n(!0)})}))})},$a=[.1,.25],zC=function(e,t){t=t||{},qm(ic(function(){var n,r=ht("CLS",0),o=0,i=[],l=function(a){a.forEach(function(u){if(!u.hadRecentInput){var c=i[0],f=i[i.length-1];o&&u.startTime-f.startTime<1e3&&u.startTime-c.startTime<5e3?(o+=u.value,i.push(u)):(o=u.value,i=[u])}}),o>r.value&&(r.value=o,r.entries=i,n())},s=yo("layout-shift",l);s&&(n=mt(e,r,$a,t.reportAllChanges),Cl(function(){l(s.takeRecords()),n(!0)}),mr(function(){o=0,r=ht("CLS",0),n=mt(e,r,$a,t.reportAllChanges),oc(function(){return n()})}),setTimeout(n,0))}))},Zm=0,Es=1/0,Yo=0,DC=function(e){e.forEach(function(t){t.interactionId&&(Es=Math.min(Es,t.interactionId),Yo=Math.max(Yo,t.interactionId),Zm=Yo?(Yo-Es)/7+1:0)})},ev=function(){return Da?Zm:performance.interactionCount||0},FC=function(){"interactionCount"in performance||Da||(Da=yo("event",DC,{type:"event",buffered:!0,durationThreshold:0}))},ut=[],gi=new Map,tv=0,$C=function(){var e=Math.min(ut.length-1,Math.floor((ev()-tv)/50));return ut[e]},bC=[],WC=function(e){if(bC.forEach(function(o){return o(e)}),e.interactionId||e.entryType==="first-input"){var t=ut[ut.length-1],n=gi.get(e.interactionId);if(n||ut.length<10||e.duration>t.latency){if(n)e.duration>n.latency?(n.entries=[e],n.latency=e.duration):e.duration===n.latency&&e.startTime===n.entries[0].startTime&&n.entries.push(e);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};gi.set(r.id,r),ut.push(r)}ut.sort(function(o,i){return i.latency-o.latency}),ut.length>
6310&&ut.splice(10).forEach(function(o){return gi.delete(o.id)})}}},nv=function(e){var t=self.requestIdleCallback||self.setTimeout,n=-1;return e=ic(e),document.visibilityState==="hidden"?e():(n=t(e),Cl(e)),n},ba=[200,500],BC=function(e,t){"PerformanceEventTiming"in self&&"interactionId"in PerformanceEventTiming.prototype&&(t=t||{},_l(function(){var n;FC();var r,o=ht("INP"),i=function(s){nv(function(){s.forEach(WC);var a=$C();a&&a.latency!==o.value&&(o.value=a.latency,o.entries=a.entries,r())})},l=yo("event",i,{durationThreshold:(n=t.durationThreshold)!==null&&n!==void 0?n:40});r=mt(e,o,ba,t.reportAllChanges),l&&(l.observe({type:"first-input",buffered:!0}),Cl(function(){i(l.takeRecords()),r(!0)}),mr(function(){tv=ev(),ut.length=0,gi.clear(),o=ht("INP"),r=mt(e,o,ba,t.reportAllChanges)}))}))},Wa=[2500,4e3],Cs={},HC=function(e,t){t=t||{},_l(function(){var n,r=Jm(),o=ht("LCP"),i=function(a){t.reportAllChanges||(a=a.slice(-1)),a.forEach(function(u){u.startTime<r.firstHiddenTime&&(o.value=Math.max(u.startTime-El(),0),o.entr
63ies=[u],n())})},l=yo("largest-contentful-paint",i);if(l){n=mt(e,o,Wa,t.reportAllChanges);var s=ic(function(){Cs[o.id]||(i(l.takeRecords()),l.disconnect(),Cs[o.id]=!0,n(!0))});["keydown","click"].forEach(function(a){addEventListener(a,function(){return nv(s)},{once:!0,capture:!0})}),Cl(s),mr(function(a){o=ht("LCP"),n=mt(e,o,Wa,t.reportAllChanges),oc(function(){o.value=performance.now()-a.timeStamp,Cs[o.id]=!0,n(!0)})})}})},Ba=[800,1800],VC=function e(t){document.prerendering?_l(function(){return e(t)}):document.readyState!=="complete"?addEventListener("load",function(){return e(t)},!0):setTimeout(t,0)},KC=function(e,t){t=t||{};var n=ht("TTFB"),r=mt(e,n,Ba,t.reportAllChanges);VC(function(){var o=rc();o&&(n.value=Math.max(o.responseStart-El(),0),n.entries=[o],r(!0),mr(function(){n=ht("TTFB",0),(r=mt(e,n,Ba,t.reportAllChanges))(!0)}))})};const C_=Object.freeze(Object.defineProperty({__proto__:null,CLSThresholds:$a,FCPThresholds:Fa,INPThresholds:ba,LCPThresholds:Wa,TTFBThresholds:Ba,onCLS:zC,onFCP:qm,onINP:BC,onLCP:HC,onTTFB:KC},Symbol.toStringTag,{value:"Module"}));export{n_ as $,y_ as A,EC as B,h_ as C,GC as D,ar as E,PE as F,d_ as G,k_ as H,vS as I,e_ as J,t_ as K,ZC as L,it as M,Ju as N,a_ as O,E_ as P,S_ as Q,YC as R,Im as S,l_ as T,i_ as U,Hk as V,o_ as W,uc as X,WS as Y,s_ as Z,r_ as _,Du as a,C_ as a0,k as b,JC as c,fC as d,f_ as e,vC as f,ja as g,u_ as h,m_ as i,XC as j,wC as k,Bm as l,pC as m,c_ as n,kC as o,dC as p,Wm as q,y as r,qC as s,v_ as t,Na as u,SC as v,p_ as w,CC as x,w_ as y,g_ as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.