vendor: 6,111 bytes, lines 1-9
1var cc=e=>{throw TypeError(e)};var Js=(e,t,n)=>t.has(e)||cc("Cannot "+n);var P=(e,t,n)=>(Js(e,t,"read from private field"),n?n.call(e):t.get(e)),G=(e,t,n)=>t.has(e)?cc("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),z=(e,t,n,r)=>(Js(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),ke=(e,t,n)=>(Js(e,t,"access private method"),n);var ci=(e,t,n,r)=>({set _(o){z(e,t,o,n)},get _(){return P(e,t,r)}});function Tg(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"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Cf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var kf={exports:{}},Es={},Ef={exports:{}},W={};/** 2 * @license React 3 * react.production.min.js 4 * 5 * Copyright (c) Facebook, Inc. and its affiliates. 6 * 7 * This source code is licensed under the MIT license found in the 8 * LICENSE file in the root directory of this source tree. 9 */var Zo=Symbol.for("react.element"),jg=Symbol.for("react.portal"),Rg=Symbol.for("react.fragment"),Og=Symbol.for("react.strict_mode"),Ag=Symbol.for("react.profiler"),Lg=Symbol.for("react.provider"),Mg=Symbol.for("react.context"),Fg=Symbol.for("react.forward_ref"),Ig=Symbol.for("react.suspense"),Dg=Symbol.for("react.memo"),zg=Symbol.for("react.lazy"),dc=Symbol.iterator;function $g(e){return e===null||typeof e!="object"?null:(e=dc&&e[dc]||e["@@iterator"],typeof e=="function"?e:null)}var bf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Pf=Object.assign,Nf={};function Wr(e,t,n){this.props=e,this.context=t,this.refs=Nf,this.updater=n||bf}Wr.prototype.isReactComponent={};Wr.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")};Wr.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function _f(){}_f.prototype=Wr.prototype;function Wa(e,t,n){this.props=e,this.context=t,this.refs=Nf,this.updater=n||bf}var Ha=Wa.prototype=new _f;Ha.constructor=Wa;Pf(Ha,Wr.prototype);Ha.isPureReactComponent=!0;var fc=Array.isArray,Tf=Object.prototype.hasOwnProperty,Ka={current:null},jf={key:!0,ref:!0,__self:!0,__source:!0};function Rf(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)Tf.call(t,r)&&!jf.hasOwnProperty(r)&&(o[r]=t[r]);var l=arguments.length-2;if(l===1)o.children=n;else if(1<l){for(var a=Array(l),u=0;u<l;u++)a[u]=arguments[u+2];o.children=a}if(e&&e.defaultProps)for(r in l=e.defaultProps,l)o[r]===void 0&&(o[r]=l[r]);return{$$typeof:Zo,type:e,key:i,ref:s,props:o,_owner:Ka.current}}function Ug(e,t){return{$$typeof:Zo,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===Zo}function Bg(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var pc=/\/+/g;function el(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Bg(""+e.key):t.toString(36)}function Oi(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Zo:case jg:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+el(s,0):r,fc(o)?(n="",e!=null&&(n=e.replace(pc,"$&/")+"/"),Oi(o,t,n,"",function(u){return u})):o!=null&&(Qa(o)&&(o=Ug(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(pc,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",fc(e))for(var l=0;l<e.length;l++){i=e[l];var a=r+el(i,l);s+=Oi(i,t,n,a,o)}else if(a=$g(e),typeof a=="function")for(e=a.call(e),l=0;!(i=e.next()).done;)i=i.value,a=r+el(i,l++),s+=Oi(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 s}function di(e,t,n){if(e==null)return e;var r=[],o=0;return Oi(e,r,"","",function(i){return t.call(n,i,o++)}),r}function Vg(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 Ae={current:null},Ai={transition:null},Wg={ReactCurrentDispatcher:Ae,ReactCurrentBatchConfig:Ai,ReactCurrentOwner:Ka};function Of(){throw Error("act(...) is not supported in production builds of React.")}W.Children={map:di,forEach:function(e,t,n){di(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return di(e,function(){t++}),t},toArray:function(e){return di(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}};W.Component=Wr;W.Fragment=Rg;W.Profiler=Ag;W.PureComponent=Wa;W.StrictMode=Og;W.Suspense=Ig;
vendor: 3,785 bytes, lines 9-25
9W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Wg;W.act=Of;W.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=Pf({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Ka.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(a in t)Tf.call(t,a)&&!jf.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&l!==void 0?l[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){l=Array(a);for(var u=0;u<a;u++)l[u]=arguments[u+2];r.children=l}return{$$typeof:Zo,type:e.type,key:o,ref:i,props:r,_owner:s}};W.createContext=function(e){return e={$$typeof:Mg,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:Lg,_context:e},e.Consumer=e};W.createElement=Rf;W.createFactory=function(e){var t=Rf.bind(null,e);return t.type=e,t};W.createRef=function(){return{current:null}};W.forwardRef=function(e){return{$$typeof:Fg,render:e}};W.isValidElement=Qa;W.lazy=function(e){return{$$typeof:zg,_payload:{_status:-1,_result:e},_init:Vg}};W.memo=function(e,t){return{$$typeof:Dg,type:e,compare:t===void 0?null:t}};W.startTransition=function(e){var t=Ai.transition;Ai.transition={};try{e()}finally{Ai.transition=t}};W.unstable_act=Of;W.useCallback=function(e,t){return Ae.current.useCallback(e,t)};W.useContext=function(e){return Ae.current.useContext(e)};W.useDebugValue=function(){};W.useDeferredValue=function(e){return Ae.current.useDeferredValue(e)};W.useEffect=function(e,t){return Ae.current.useEffect(e,t)};W.useId=function(){return Ae.current.useId()};W.useImperativeHandle=function(e,t,n){return Ae.current.useImperativeHandle(e,t,n)};W.useInsertionEffect=function(e,t){return Ae.current.useInsertionEffect(e,t)};W.useLayoutEffect=function(e,t){return Ae.current.useLayoutEffect(e,t)};W.useMemo=function(e,t){return Ae.current.useMemo(e,t)};W.useReducer=function(e,t,n){return Ae.current.useReducer(e,t,n)};W.useRef=function(e){return Ae.current.useRef(e)};W.useState=function(e){return Ae.current.useState(e)};W.useSyncExternalStore=function(e,t,n){return Ae.current.useSyncExternalStore(e,t,n)};W.useTransition=function(){return Ae.current.useTransition()};W.version="18.3.1";Ef.exports=W;var v=Ef.exports;const en=Cf(v),Af=Tg({__proto__:null,default:en},[v]);/** 10 * @license React 11 * react-jsx-runtime.production.min.js 12 * 13 * Copyright (c) Facebook, Inc. and its affiliates. 14 * 15 * This source code is licensed under the MIT license found in the 16 * LICENSE file in the root directory of this source tree. 17 */var Hg=v,Kg=Symbol.for("react.element"),Qg=Symbol.for("react.fragment"),Gg=Object.prototype.hasOwnProperty,Yg=Hg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,qg={key:!0,ref:!0,__self:!0,__source:!0};function Lf(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)Gg.call(t,r)&&!qg.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:Kg,type:e,key:i,ref:s,props:o,_owner:Yg.current}}Es.Fragment=Qg;Es.jsx=Lf;Es.jsxs=Lf;kf.exports=Es;var c=kf.exports,Mf={exports:{}},qe={},Ff={exports:{}},If={};/** 18 * @license React 19 * scheduler.production.min.js 20 * 21 * Copyright (c) Facebook, Inc. and its affiliates. 22 * 23 * This source code is licensed under the MIT license found in the 24 * LICENSE file in the root directory of this source tree. 25 */(function(e){function t(N,A){var F=N.length;N.push(A);e:for(;0<F;){var B=F-1>>>1,Z=N[B];if(0<o(Z,A))N[B]=A,N[F]=Z,F=B;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var A=N[0],F=N.pop();
vendor: 9,208 bytes, lines 25-33
25if(F!==A){N[0]=F;e:for(var B=0,Z=N.length,Ve=Z>>>1;B<Ve;){var Me=2*(B+1)-1,Mn=N[Me],it=Me+1,Lt=N[it];if(0>o(Mn,F))it<Z&&0>o(Lt,Mn)?(N[B]=Lt,N[it]=F,B=it):(N[B]=Mn,N[Me]=F,B=Me);else if(it<Z&&0>o(Lt,F))N[B]=Lt,N[it]=F,B=it;else break e}}return A}function o(N,A){var F=N.sortIndex-A.sortIndex;return F!==0?F:N.id-A.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();e.unstable_now=function(){return s.now()-l}}var a=[],u=[],f=1,d=null,h=3,x=!1,S=!1,y=!1,w=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function g(N){for(var A=n(u);A!==null;){if(A.callback===null)r(u);else if(A.startTime<=N)r(u),A.sortIndex=A.expirationTime,t(a,A);else break;A=n(u)}}function C(N){if(y=!1,g(N),!S)if(n(a)!==null)S=!0,U(k);else{var A=n(u);A!==null&&V(C,A.startTime-N)}}function k(N,A){S=!1,y&&(y=!1,m(_),_=-1),x=!0;var F=h;try{for(g(A),d=n(a);d!==null&&(!(d.expirationTime>A)||N&&!D());){var B=d.callback;if(typeof B=="function"){d.callback=null,h=d.priorityLevel;var Z=B(d.expirationTime<=A);A=e.unstable_now(),typeof Z=="function"?d.callback=Z:d===n(a)&&r(a),g(A)}else r(a);d=n(a)}if(d!==null)var Ve=!0;else{var Me=n(u);Me!==null&&V(C,Me.startTime-A),Ve=!1}return Ve}finally{d=null,h=F,x=!1}}var b=!1,E=null,_=-1,R=5,j=-1;function D(){return!(e.unstable_now()-j<R)}function I(){if(E!==null){var N=e.unstable_now();j=N;var A=!0;try{A=E(!0,N)}finally{A?H():(b=!1,E=null)}}else b=!1}var H;if(typeof p=="function")H=function(){p(I)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,K=L.port2;L.port1.onmessage=I,H=function(){K.postMessage(null)}}else H=function(){w(I,0)};function U(N){E=N,b||(b=!0,H())}function V(N,A){_=w(function(){N(e.unstable_now())},A)}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(N){N.callback=null},e.unstable_continueExecution=function(){S||x||(S=!0,U(k))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(N){switch(h){case 1:case 2:case 3:var A=3;break;default:A=h}var F=h;h=A;try{return N()}finally{h=F}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,A){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var F=h;h=N;try{return A()}finally{h=F}},e.unstable_scheduleCallback=function(N,A,F){var B=e.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?B+F:B):F=B,N){case 1:var Z=-1;break;case 2:Z=250;break;case 5:Z=1073741823;break;case 4:Z=1e4;break;default:Z=5e3}return Z=F+Z,N={id:f++,callback:A,priorityLevel:N,startTime:F,expirationTime:Z,sortIndex:-1},F>B?(N.sortIndex=F,t(u,N),n(a)===null&&N===n(u)&&(y?(m(_),_=-1):y=!0,V(C,F-B))):(N.sortIndex=Z,t(a,N),S||x||(S=!0,U(k))),N},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(N){var A=h;return function(){var F=h;h=A;try{return N.apply(this,arguments)}finally{h=F}}}})(If);Ff.exports=If;var Xg=Ff.exports;/** 26 * @license React 27 * react-dom.production.min.js 28 * 29 * Copyright (c) Facebook, Inc. and its affiliates. 30 * 31 * This source code is licensed under the MIT license found in the 32 * LICENSE file in the root directory of this source tree. 33 */var Zg=v,Ye=Xg;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 Df=new Set,No={};function rr(e,t){Mr(e,t),Mr(e+"Capture",t)}function Mr(e,t){for(No[e]=t,e=0;e<t.length;e++)Df.add(t[e])}var Wt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ml=Object.prototype.hasOwnProperty,Jg=/^[: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]*$/,hc={},mc={};function ev(e){return Ml.call(mc,e)?!0:Ml.call(hc,e)?!1:Jg.test(e)?mc[e]=!0:(hc[e]=!0,!1)}function tv(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 nv(e,t,n,r){if(t===null||typeof t>"u"||tv(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 Le(e,t,n,r,o,i,s){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=s}var Ce={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ce[e]=new Le(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 Le(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ce[e]=new Le(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ce[e]=new Le(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 Le(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ce[e]=new Le(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ce[e]=new Le(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ce[e]=new Le(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ce[e]=new Le(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 Le(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 Le(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 Le(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ce[e]=new Le(e,1,!1,e.toLowerCase(),null,!1,!1)});Ce.xlinkHref=new Le("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ce[e]=new Le(e,1,!1,e.toLowerCase(),null,!0,!0)});function qa(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")&&(nv(t,n,o,r)&&(n=null),r||o===null?ev(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))))}
vendor: 17,783 bytes, lines 33-37
33var qt=Zg.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,fi=Symbol.for("react.element"),lr=Symbol.for("react.portal"),ar=Symbol.for("react.fragment"),Xa=Symbol.for("react.strict_mode"),Fl=Symbol.for("react.profiler"),zf=Symbol.for("react.provider"),$f=Symbol.for("react.context"),Za=Symbol.for("react.forward_ref"),Il=Symbol.for("react.suspense"),Dl=Symbol.for("react.suspense_list"),Ja=Symbol.for("react.memo"),nn=Symbol.for("react.lazy"),Uf=Symbol.for("react.offscreen"),gc=Symbol.iterator;function to(e){return e===null||typeof e!="object"?null:(e=gc&&e[gc]||e["@@iterator"],typeof e=="function"?e:null)}var le=Object.assign,tl;function po(e){if(tl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);tl=t&&t[1]||""}return` 34`+tl+e}var nl=!1;function rl(e,t){if(!e||nl)return"";nl=!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()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(` 35`),i=r.stack.split(` 36`),s=o.length-1,l=i.length-1;1<=s&&0<=l&&o[s]!==i[l];)l--;for(;1<=s&&0<=l;s--,l--)if(o[s]!==i[l]){if(s!==1||l!==1)do if(s--,l--,0>l||o[s]!==i[l]){var a=` 37`+o[s].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=s&&0<=l);break}}}finally{nl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?po(e):""}function rv(e){switch(e.tag){case 5:return po(e.type);case 16:return po("Lazy");case 13:return po("Suspense");case 19:return po("SuspenseList");case 0:case 2:case 15:return e=rl(e.type,!1),e;case 11:return e=rl(e.type.render,!1),e;case 1:return e=rl(e.type,!0),e;default:return""}}function zl(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 ar:return"Fragment";case lr:return"Portal";case Fl:return"Profiler";case Xa:return"StrictMode";case Il:return"Suspense";case Dl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case $f:return(e.displayName||"Context")+".Consumer";case zf:return(e._context.displayName||"Context")+".Provider";case Za:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ja:return t=e.displayName||null,t!==null?t:zl(e.type)||"Memo";case nn:t=e._payload,e=e._init;try{return zl(e(t))}catch{}}return null}function ov(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 zl(t);case 8:return t===Xa?"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 En(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Bf(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function iv(e){var t=Bf(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(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pi(e){e._valueTracker||(e._valueTracker=iv(e))}function Vf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Bf(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Qi(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 $l(e,t){var n=t.checked;return le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function vc(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=En(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 Wf(e,t){t=t.checked,t!=null&&qa(e,"checked",t,!1)}function Ul(e,t){Wf(e,t);var n=En(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")?Bl(e,t.type,n):t.hasOwnProperty("defaultValue")&&Bl(e,t.type,En(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function yc(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 Bl(e,t,n){(t!=="number"||Qi(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var ho=Array.isArray;function xr(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=""+En(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 Vl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(T(91));return le({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xc(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));if(ho(n)){if(1<n.length)throw Error(T(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:En(n)}}function Hf(e,t){var n=En(t.value),r=En(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 wc(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Kf(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 Wl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Kf(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var hi,Qf=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(hi=hi||document.createElement("div"),hi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=hi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function _o(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var vo={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},sv=["Webkit","ms","Moz","O"];Object.keys(vo).forEach(function(e){sv.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vo[t]=vo[e]})});function Gf(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vo.hasOwnProperty(e)&&vo[e]?(""+t).trim():t+"px"}function Yf(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Gf(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var lv=le({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Hl(e,t){if(t){if(lv[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 Kl(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 Ql=null;function eu(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gl=null,wr=null,Sr=null;function Sc(e){if(e=ti(e)){if(typeof Gl!="function")throw Error(T(280));var t=e.stateNode;t&&(t=Ts(t),Gl(e.stateNode,e.type,t))}}function qf(e){wr?Sr?Sr.push(e):Sr=[e]:wr=e}function Xf(){if(wr){var e=wr,t=Sr;if(Sr=wr=null,Sc(e),t)for(e=0;e<t.length;e++)Sc(t[e])}}function Zf(e,t){return e(t)}function Jf(){}var ol=!1;function ep(e,t,n){if(ol)return e(t,n);ol=!0;try{return Zf(e,t,n)}finally{ol=!1,(wr!==null||Sr!==null)&&(Jf(),Xf())}}function To(e,t){var n=e.stateNode;if(n===null)return null;var r=Ts(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 Yl=!1;if(Wt)try{var no={};Object.defineProperty(no,"passive",{get:function(){Yl=!0}}),window.addEventListener("test",no,no),window.removeEventListener("test",no,no)}catch{Yl=!1}function av(e,t,n,r,o,i,s,l,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(f){this.onError(f)}}var yo=!1,Gi=null,Yi=!1,ql=null,uv={onError:function(e){yo=!0,Gi=e}};function cv(e,t,n,r,o,i,s,l,a){yo=!1,Gi=null,av.apply(uv,arguments)}function dv(e,t,n,r,o,i,s,l,a){if(cv.apply(this,arguments),yo){if(yo){var u=Gi;yo=!1,Gi=null}else throw Error(T(198));Yi||(Yi=!0,ql=u)}}function or(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 tp(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 Cc(e){if(or(e)!==e)throw Error(T(188))}function fv(e){var t=e.alternate;if(!t){if(t=or(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 Cc(o),e;if(i===r)return Cc(o),t;i=i.sibling}throw Error(T(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s)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 np(e){return e=fv(e),e!==null?rp(e):null}function rp(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=rp(e);if(t!==null)return t;e=e.sibling}return null}var op=Ye.unstable_scheduleCallback,kc=Ye.unstable_cancelCallback,pv=Ye.unstable_shouldYield,hv=Ye.unstable_requestPaint,fe=Ye.unstable_now,mv=Ye.unstable_getCurrentPriorityLevel,tu=Ye.unstable_ImmediatePriority,ip=Ye.unstable_UserBlockingPriority,qi=Ye.unstable_NormalPriority,gv=Ye.unstable_LowPriority,sp=Ye.unstable_IdlePriority,bs=null,Nt=null;function vv(e){if(Nt&&typeof Nt.onCommitFiberRoot=="function")try{Nt.onCommitFiberRoot(bs,e,void 0,(e.current.flags&128)===128)}catch{}}var ht=Math.clz32?Math.clz32:wv,yv=Math.log,xv=Math.LN2;function wv(e){return e>>>=0,e===0?32:31-(yv(e)/xv|0)|0}var mi=64,gi=4194304;function mo(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 Xi(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var l=s&~o;l!==0?r=mo(l):(i&=s,i!==0&&(r=mo(i)))}else s=n&~o,s!==0?r=mo(s):i!==0&&(r=mo(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-ht(t),o=1<<n,r|=e[n],t&=~o;return r}function Sv(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 Cv(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-ht(i),l=1<<s,a=o[s];a===-1?(!(l&n)||l&r)&&(o[s]=Sv(l,t)):a<=t&&(e.expiredLanes|=l),i&=~l}}function Xl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function lp(){var e=mi;return mi<<=1,!(mi&4194240)&&(mi=64),e}function il(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Jo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-ht(t),e[t]=n}function kv(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-ht(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-ht(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var X=0;function ap(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var up,ru,cp,dp,fp,Zl=!1,vi=[],mn=null,gn=null,vn=null,jo=new Map,Ro=new Map,on=[],Ev="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 Ec(e,t){switch(e){case"focusin":case"focusout":mn=null;break;case"dragenter":case"dragleave":gn=null;break;case"mouseover":case"mouseout":vn=null;break;case"pointerover":case"pointerout":jo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ro.delete(t.pointerId)}}function ro(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=ti(t),t!==null&&ru(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function bv(e,t,n,r,o){switch(t){case"focusin":return mn=ro(mn,e,t,n,r,o),!0;case"dragenter":return gn=ro(gn,e,t,n,r,o),!0;case"mouseover":return vn=ro(vn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return jo.set(i,ro(jo.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Ro.set(i,ro(Ro.get(i)||null,e,t,n,r,o)),!0}return!1}function pp(e){var t=$n(e.target);if(t!==null){var n=or(t);if(n!==null){if(t=n.tag,t===13){if(t=tp(n),t!==null){e.blockedOn=t,fp(e.priority,function(){cp(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 Li(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jl(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Ql=r,n.target.dispatchEvent(r),Ql=null}else return t=ti(n),t!==null&&ru(t),e.blockedOn=n,!1;t.shift()}return!0}
vendor: 10,715 bytes, line 37
37function bc(e,t,n){Li(e)&&n.delete(t)}function Pv(){Zl=!1,mn!==null&&Li(mn)&&(mn=null),gn!==null&&Li(gn)&&(gn=null),vn!==null&&Li(vn)&&(vn=null),jo.forEach(bc),Ro.forEach(bc)}function oo(e,t){e.blockedOn===t&&(e.blockedOn=null,Zl||(Zl=!0,Ye.unstable_scheduleCallback(Ye.unstable_NormalPriority,Pv)))}function Oo(e){function t(o){return oo(o,e)}if(0<vi.length){oo(vi[0],e);for(var n=1;n<vi.length;n++){var r=vi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(mn!==null&&oo(mn,e),gn!==null&&oo(gn,e),vn!==null&&oo(vn,e),jo.forEach(t),Ro.forEach(t),n=0;n<on.length;n++)r=on[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<on.length&&(n=on[0],n.blockedOn===null);)pp(n),n.blockedOn===null&&on.shift()}var Cr=qt.ReactCurrentBatchConfig,Zi=!0;function Nv(e,t,n,r){var o=X,i=Cr.transition;Cr.transition=null;try{X=1,ou(e,t,n,r)}finally{X=o,Cr.transition=i}}function _v(e,t,n,r){var o=X,i=Cr.transition;Cr.transition=null;try{X=4,ou(e,t,n,r)}finally{X=o,Cr.transition=i}}function ou(e,t,n,r){if(Zi){var o=Jl(e,t,n,r);if(o===null)ml(e,t,r,Ji,n),Ec(e,r);else if(bv(o,e,t,n,r))r.stopPropagation();else if(Ec(e,r),t&4&&-1<Ev.indexOf(e)){for(;o!==null;){var i=ti(o);if(i!==null&&up(i),i=Jl(e,t,n,r),i===null&&ml(e,t,r,Ji,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else ml(e,t,r,null,n)}}var Ji=null;function Jl(e,t,n,r){if(Ji=null,e=eu(r),e=$n(e),e!==null)if(t=or(e),t===null)e=null;else if(n=t.tag,n===13){if(e=tp(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 Ji=e,null}function hp(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(mv()){case tu:return 1;case ip:return 4;case qi:case gv:return 16;case sp:return 536870912;default:return 16}default:return 16}}var fn=null,iu=null,Mi=null;function mp(){if(Mi)return Mi;var e,t=iu,n=t.length,r,o="value"in fn?fn.value:fn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return Mi=o.slice(e,1<r?1-r:void 0)}function Fi(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 yi(){return!0}function Pc(){return!1}function Xe(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(n=e[l],this[l]=n?n(i):i[l]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?yi:Pc,this.isPropagationStopped=Pc,this}return le(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=yi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=yi)},persist:function(){},isPersistent:yi}),t}var Hr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},su=Xe(Hr),ei=le({},Hr,{view:0,detail:0}),Tv=Xe(ei),sl,ll,io,Ps=le({},ei,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:lu,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!==io&&(io&&e.type==="mousemove"?(sl=e.screenX-io.screenX,ll=e.screenY-io.screenY):ll=sl=0,io=e),sl)},movementY:function(e){return"movementY"in e?e.movementY:ll}}),Nc=Xe(Ps),jv=le({},Ps,{dataTransfer:0}),Rv=Xe(jv),Ov=le({},ei,{relatedTarget:0}),al=Xe(Ov),Av=le({},Hr,{animationName:0,elapsedTime:0,pseudoElement:0}),Lv=Xe(Av),Mv=le({},Hr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Fv=Xe(Mv),Iv=le({},Hr,{data:0}),_c=Xe(Iv),Dv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},zv={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"},$v={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Uv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=$v[e])?!!t[e]:!1}function lu(){return Uv}var Bv=le({},ei,{key:function(e){if(e.key){var t=Dv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Fi(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?zv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:lu,charCode:function(e){return e.type==="keypress"?Fi(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Fi(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Vv=Xe(Bv),Wv=le({},Ps,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Tc=Xe(Wv),Hv=le({},ei,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:lu}),Kv=Xe(Hv),Qv=le({},Hr,{propertyName:0,elapsedTime:0,pseudoElement:0}),Gv=Xe(Qv),Yv=le({},Ps,{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}),qv=Xe(Yv),Xv=[9,13,27,32],au=Wt&&"CompositionEvent"in window,xo=null;Wt&&"documentMode"in document&&(xo=document.documentMode);var Zv=Wt&&"TextEvent"in window&&!xo,gp=Wt&&(!au||xo&&8<xo&&11>=xo),jc=" ",Rc=!1;function vp(e,t){switch(e){case"keyup":return Xv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function yp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var ur=!1;function Jv(e,t){switch(e){case"compositionend":return yp(t);case"keypress":return t.which!==32?null:(Rc=!0,jc);case"textInput":return e=t.data,e===jc&&Rc?null:e;default:return null}}function ey(e,t){if(ur)return e==="compositionend"||!au&&vp(e,t)?(e=mp(),Mi=iu=fn=null,ur=!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 gp&&t.locale!=="ko"?null:t.data;default:return null}}var ty={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 Oc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!ty[e.type]:t==="textarea"}function xp(e,t,n,r){qf(r),t=es(t,"onChange"),0<t.length&&(n=new su("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var wo=null,Ao=null;function ny(e){jp(e,0)}function Ns(e){var t=fr(e);if(Vf(t))return e}function ry(e,t){if(e==="change")return t}var wp=!1;if(Wt){var ul;if(Wt){var cl="oninput"in document;if(!cl){var Ac=document.createElement("div");Ac.setAttribute("oninput","return;"),cl=typeof Ac.oninput=="function"}ul=cl}else ul=!1;wp=ul&&(!document.documentMode||9<document.documentMode)}function Lc(){wo&&(wo.detachEvent("onpropertychange",Sp),Ao=wo=null)}function Sp(e){if(e.propertyName==="value"&&Ns(Ao)){var t=[];xp(t,Ao,e,eu(e)),ep(ny,t)}}function oy(e,t,n){e==="focusin"?(Lc(),wo=t,Ao=n,wo.attachEvent("onpropertychange",Sp)):e==="focusout"&&Lc()}function iy(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ns(Ao)}function sy(e,t){if(e==="click")return Ns(t)}function ly(e,t){if(e==="input"||e==="change")return Ns(t)}function ay(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var gt=typeof Object.is=="function"?Object.is:ay;function Lo(e,t){if(gt(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(!Ml.call(t,o)||!gt(e[o],t[o]))return!1}return!0}function Mc(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Fc(e,t){var n=Mc(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=Mc(n)}}function Cp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Cp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function kp(){for(var e=window,t=Qi();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Qi(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 uy(e){var t=kp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Cp(n.ownerDocument.documentElement,n)){if(r!==null&&uu(n)){if
vendor: 4,319 bytes, line 37
37(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=Fc(n,i);var s=Fc(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.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 cy=Wt&&"documentMode"in document&&11>=document.documentMode,cr=null,ea=null,So=null,ta=!1;function Ic(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;ta||cr==null||cr!==Qi(r)||(r=cr,"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}),So&&Lo(So,r)||(So=r,r=es(ea,"onSelect"),0<r.length&&(t=new su("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=cr)))}function xi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var dr={animationend:xi("Animation","AnimationEnd"),animationiteration:xi("Animation","AnimationIteration"),animationstart:xi("Animation","AnimationStart"),transitionend:xi("Transition","TransitionEnd")},dl={},Ep={};Wt&&(Ep=document.createElement("div").style,"AnimationEvent"in window||(delete dr.animationend.animation,delete dr.animationiteration.animation,delete dr.animationstart.animation),"TransitionEvent"in window||delete dr.transitionend.transition);function _s(e){if(dl[e])return dl[e];if(!dr[e])return e;var t=dr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Ep)return dl[e]=t[n];return e}var bp=_s("animationend"),Pp=_s("animationiteration"),Np=_s("animationstart"),_p=_s("transitionend"),Tp=new Map,Dc="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 jn(e,t){Tp.set(e,t),rr(t,[e])}for(var fl=0;fl<Dc.length;fl++){var pl=Dc[fl],dy=pl.toLowerCase(),fy=pl[0].toUpperCase()+pl.slice(1);jn(dy,"on"+fy)}jn(bp,"onAnimationEnd");jn(Pp,"onAnimationIteration");jn(Np,"onAnimationStart");jn("dblclick","onDoubleClick");jn("focusin","onFocus");jn("focusout","onBlur");jn(_p,"onTransitionEnd");Mr("onMouseEnter",["mouseout","mouseover"]);Mr("onMouseLeave",["mouseout","mouseover"]);Mr("onPointerEnter",["pointerout","pointerover"]);Mr("onPointerLeave",["pointerout","pointerover"]);rr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));rr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));rr("onBeforeInput",["compositionend","keypress","textInput","paste"]);rr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));rr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));rr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var go="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(" "),py=new Set("cancel close invalid load scroll toggle".split(" ").concat(go));
vendor: 4,648 bytes, line 37
37function zc(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,dv(r,t,void 0,e),e.currentTarget=null}function jp(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 s=r.length-1;0<=s;s--){var l=r[s],a=l.instance,u=l.currentTarget;if(l=l.listener,a!==i&&o.isPropagationStopped())break e;zc(o,l,u),i=a}else for(s=0;s<r.length;s++){if(l=r[s],a=l.instance,u=l.currentTarget,l=l.listener,a!==i&&o.isPropagationStopped())break e;zc(o,l,u),i=a}}}if(Yi)throw e=ql,Yi=!1,ql=null,e}function te(e,t){var n=t[sa];n===void 0&&(n=t[sa]=new Set);var r=e+"__bubble";n.has(r)||(Rp(t,e,2,!1),n.add(r))}function hl(e,t,n){var r=0;t&&(r|=4),Rp(n,e,r,t)}var wi="_reactListening"+Math.random().toString(36).slice(2);function Mo(e){if(!e[wi]){e[wi]=!0,Df.forEach(function(n){n!=="selectionchange"&&(py.has(n)||hl(n,!1,e),hl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[wi]||(t[wi]=!0,hl("selectionchange",!1,t))}}function Rp(e,t,n,r){switch(hp(t)){case 1:var o=Nv;break;case 4:o=_v;break;default:o=ou}n=o.bind(null,t,n,e),o=void 0,!Yl||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 ml(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var l=r.stateNode.containerInfo;if(l===o||l.nodeType===8&&l.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var a=s.tag;if((a===3||a===4)&&(a=s.stateNode.containerInfo,a===o||a.nodeType===8&&a.parentNode===o))return;s=s.return}for(;l!==null;){if(s=$n(l),s===null)return;if(a=s.tag,a===5||a===6){r=i=s;continue e}l=l.parentNode}}r=r.return}ep(function(){var u=i,f=eu(n),d=[];e:{var h=Tp.get(e);if(h!==void 0){var x=su,S=e;switch(e){case"keypress":if(Fi(n)===0)break e;case"keydown":case"keyup":x=Vv;break;case"focusin":S="focus",x=al;break;case"focusout":S="blur",x=al;break;case"beforeblur":case"afterblur":x=al;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":x=Nc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":x=Rv;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":x=Kv;break;case bp:case Pp:case Np:x=Lv;break;case _p:x=Gv;break;case"scroll":x=Tv;break;case"wheel":x=qv;break;case"copy":case"cut":case"paste":x=Fv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":x=Tc}var y=(t&4)!==0,w=!y&&e==="scroll",m=y?h!==null?h+"Capture":null:h;y=[];for(var p=u,g;p!==null;){g=p;var C=g.stateNode;if(g.tag===5&&C!==null&&(g=C,m!==null&&(C=To(p,m),C!=null&&y.push(Fo(p,C,g)))),w)break;p=p.return}0<y.length&&(h=new x(h,S,null,n,f),d.push({event:h,listeners:y}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",x=e==="mouseout"||e==="pointerout",h&&n!==Ql&&(S=n.relatedTarget||n.fromElement)&&($n(S)||S[Ht]))break e;if((x||h)&&(h=f.window===f?f:(h=f.ownerDocument)?h.defaultView||h.parentWindow:window,x?(S=n.relatedTarget||n.toElement,x=u,S=S?$n(S):null,S!==null&&(w=or(S),S!==w||S.tag!==5&&S.tag!==6)&&(S=null)):(x=null,S=u),x!==S)){if(y=Nc,C="onMouseLeave",m="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(y=Tc,C="onPointerLeave",m="onPointerEnter",p="pointer"),w=x==null?h:fr(x),g=S==null?h:fr(S),h=new y(C,p+"leave",x,n,f),h.target=w,h.relatedTarget=g,C=null,$n(f)===u&&(y=new y(m,p+"enter",S,n,f),y.target=g,y.relatedTarget=w,C=y),w=C,x&&S)t:{for(y=x,m=S,p=0,g=y;g;g=sr(g))p++;for(g=0,C=m;C;C=sr(C))g++;for(;0<p-g;)y=sr(y),p--;for(;0<g-p;)m=sr(m),g--;for(;p--;){if(y===m||m!==null&&y===m.alternate)break t;y=sr(y),m=sr(m)}y=null}else y=null;x!==null&&$c(d,h,x,y,!1),S!==null&&w!==null&&$c(d,w,S,y,!0)}}e:{if(h=u?fr(u):window,x=h.nodeName&&h.nodeName.toLowerCase(),x==="select"||x==="input"&&h.type==="file")var k=ry;else if(Oc(h))if(wp)k=ly;else{k=iy;var b=oy}else(x=h.nodeName)&&x.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(k=sy);if(k&&(k=k(e,u))){xp(d,k,n,f);break e}b&&b(e,h,u),e==="focusout"&&(b=h._wrapperState)&&b.controlled&&h.type==="number"&&Bl(h,"number",h.value)}switch(b=u?fr(u):window,e){case"focusin":(Oc(b)||b.contentEditable==="true")&&(cr=b,ea=u,So=null);break;case"focusout":So=ea=cr=null;break;case"mousedown":ta=!0;break;case"contextmenu":case"mouseup":case"dragend":ta=!1,Ic(d,n,f);break;case"selectionchange":if(cy)break;
vendor: 4,599 bytes, lines 37-38
37case"keydown":case"keyup":Ic(d,n,f)}var E;if(au)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else ur?vp(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(gp&&n.locale!=="ko"&&(ur||_!=="onCompositionStart"?_==="onCompositionEnd"&&ur&&(E=mp()):(fn=f,iu="value"in fn?fn.value:fn.textContent,ur=!0)),b=es(u,_),0<b.length&&(_=new _c(_,e,null,n,f),d.push({event:_,listeners:b}),E?_.data=E:(E=yp(n),E!==null&&(_.data=E)))),(E=Zv?Jv(e,n):ey(e,n))&&(u=es(u,"onBeforeInput"),0<u.length&&(f=new _c("onBeforeInput","beforeinput",null,n,f),d.push({event:f,listeners:u}),f.data=E))}jp(d,t)})}function Fo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function es(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=To(e,n),i!=null&&r.unshift(Fo(e,i,o)),i=To(e,t),i!=null&&r.push(Fo(e,i,o))),e=e.return}return r}function sr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function $c(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var l=n,a=l.alternate,u=l.stateNode;if(a!==null&&a===r)break;l.tag===5&&u!==null&&(l=u,o?(a=To(n,i),a!=null&&s.unshift(Fo(n,a,l))):o||(a=To(n,i),a!=null&&s.push(Fo(n,a,l)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var hy=/\r\n?/g,my=/\u0000|\uFFFD/g;function Uc(e){return(typeof e=="string"?e:""+e).replace(hy,` 38`).replace(my,"")}function Si(e,t,n){if(t=Uc(t),Uc(e)!==t&&n)throw Error(T(425))}function ts(){}var na=null,ra=null;function oa(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 ia=typeof setTimeout=="function"?setTimeout:void 0,gy=typeof clearTimeout=="function"?clearTimeout:void 0,Bc=typeof Promise=="function"?Promise:void 0,vy=typeof queueMicrotask=="function"?queueMicrotask:typeof Bc<"u"?function(e){return Bc.resolve(null).then(e).catch(yy)}:ia;function yy(e){setTimeout(function(){throw e})}function gl(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),Oo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);Oo(t)}function yn(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 Vc(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 Kr=Math.random().toString(36).slice(2),bt="__reactFiber$"+Kr,Io="__reactProps$"+Kr,Ht="__reactContainer$"+Kr,sa="__reactEvents$"+Kr,xy="__reactListeners$"+Kr,wy="__reactHandles$"+Kr;function $n(e){var t=e[bt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ht]||n[bt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Vc(e);e!==null;){if(n=e[bt])return n;e=Vc(e)}return t}e=n,n=e.parentNode}return null}function ti(e){return e=e[bt]||e[Ht],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function fr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(T(33))}function Ts(e){return e[Io]||null}var la=[],pr=-1;function Rn(e){return{current:e}}function ne(e){0>pr||(e.current=la[pr],la[pr]=null,pr--)}function J(e,t){pr++,la[pr]=e.current,e.current=t}var bn={},_e=Rn(bn),De=Rn(!1),Xn=bn;function Fr(e,t){var n=e.type.contextTypes;if(!n)return bn;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 ze(e){return e=e.childContextTypes,e!=null}function ns(){ne(De),ne(_e)}function Wc(e,t,n){if(_e.current!==bn)throw Error(T(168));J(_e,t),J(De,n)}function Op(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,ov(e)||"Unknown",o));return le({},n,r)}function rs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||bn,Xn=_e.current,J(_e,e),J(De,De.current),!0}function Hc(e,t,n){var r=e.stateNode;if(!r)throw Error(T(169));n?(e=Op(e,t,Xn),r.__reactInternalMemoizedMergedChildContext=e,ne(De),ne(_e),J(_e,e)):ne(De),J(De,n)}var zt=null,js=!1,vl=!1;
vendor: 27,921 bytes, lines 38-40
38function Ap(e){zt===null?zt=[e]:zt.push(e)}function Sy(e){js=!0,Ap(e)}function On(){if(!vl&&zt!==null){vl=!0;var e=0,t=X;try{var n=zt;for(X=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}zt=null,js=!1}catch(o){throw zt!==null&&(zt=zt.slice(e+1)),op(tu,On),o}finally{X=t,vl=!1}}return null}var hr=[],mr=0,os=null,is=0,Je=[],et=0,Zn=null,Ut=1,Bt="";function In(e,t){hr[mr++]=is,hr[mr++]=os,os=e,is=t}function Lp(e,t,n){Je[et++]=Ut,Je[et++]=Bt,Je[et++]=Zn,Zn=e;var r=Ut;e=Bt;var o=32-ht(r)-1;r&=~(1<<o),n+=1;var i=32-ht(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Ut=1<<32-ht(t)+o|n<<o|r,Bt=i+e}else Ut=1<<i|n<<o|r,Bt=e}function cu(e){e.return!==null&&(In(e,1),Lp(e,1,0))}function du(e){for(;e===os;)os=hr[--mr],hr[mr]=null,is=hr[--mr],hr[mr]=null;for(;e===Zn;)Zn=Je[--et],Je[et]=null,Bt=Je[--et],Je[et]=null,Ut=Je[--et],Je[et]=null}var Qe=null,Ke=null,oe=!1,pt=null;function Mp(e,t){var n=tt(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 Kc(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Qe=e,Ke=yn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Qe=e,Ke=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Zn!==null?{id:Ut,overflow:Bt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=tt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Qe=e,Ke=null,!0):!1;default:return!1}}function aa(e){return(e.mode&1)!==0&&(e.flags&128)===0}function ua(e){if(oe){var t=Ke;if(t){var n=t;if(!Kc(e,t)){if(aa(e))throw Error(T(418));t=yn(n.nextSibling);var r=Qe;t&&Kc(e,t)?Mp(r,n):(e.flags=e.flags&-4097|2,oe=!1,Qe=e)}}else{if(aa(e))throw Error(T(418));e.flags=e.flags&-4097|2,oe=!1,Qe=e}}}function Qc(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Qe=e}function Ci(e){if(e!==Qe)return!1;if(!oe)return Qc(e),oe=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!oa(e.type,e.memoizedProps)),t&&(t=Ke)){if(aa(e))throw Fp(),Error(T(418));for(;t;)Mp(e,t),t=yn(t.nextSibling)}if(Qc(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){Ke=yn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ke=null}}else Ke=Qe?yn(e.stateNode.nextSibling):null;return!0}function Fp(){for(var e=Ke;e;)e=yn(e.nextSibling)}function Ir(){Ke=Qe=null,oe=!1}function fu(e){pt===null?pt=[e]:pt.push(e)}var Cy=qt.ReactCurrentBatchConfig;function so(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(s){var l=o.refs;s===null?delete l[i]:l[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(T(284));if(!n._owner)throw Error(T(290,e))}return e}function ki(e,t){throw e=Object.prototype.toString.call(t),Error(T(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Gc(e){var t=e._init;return t(e._payload)}function Ip(e){function t(m,p){if(e){var g=m.deletions;g===null?(m.deletions=[p],m.flags|=16):g.push(p)}}function n(m,p){if(!e)return null;for(;p!==null;)t(m,p),p=p.sibling;return null}function r(m,p){for(m=new Map;p!==null;)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function o(m,p){return m=Cn(m,p),m.index=0,m.sibling=null,m}function i(m,p,g){return m.index=g,e?(g=m.alternate,g!==null?(g=g.index,g<p?(m.flags|=2,p):g):(m.flags|=2,p)):(m.flags|=1048576,p)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function l(m,p,g,C){return p===null||p.tag!==6?(p=El(g,m.mode,C),p.return=m,p):(p=o(p,g),p.return=m,p)}function a(m,p,g,C){var k=g.type;return k===ar?f(m,p,g.props.children,C,g.key):p!==null&&(p.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===nn&&Gc(k)===p.type)?(C=o(p,g.props),C.ref=so(m,p,g),C.return=m,C):(C=Vi(g.type,g.key,g.props,null,m.mode,C),C.ref=so(m,p,g),C.return=m,C)}function u(m,p,g,C){return p===null||p.tag!==4||p.stateNode.containerInfo!==g.containerInfo||p.stateNode.implementation!==g.implementation?(p=bl(g,m.mode,C),p.return=m,p):(p=o(p,g.children||[]),p.return=m,p)}function f(m,p,g,C,k){return p===null||p.tag!==7?(p=qn(g,m.mode,C,k),p.return=m,p):(p=o(p,g),p.return=m,p)}function d(m,p,g){if(typeof p=="string"&&p!==""||typeof p=="number")return p=El(""+p,m.mode,g),p.return=m,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case fi:return g=Vi(p.type,p.key,p.props,null,m.mode,g),g.ref=so(m,null,p),g.return=m,g;case lr:return p=bl(p,m.mode,g),p.return=m,p;case nn:var C=p._init;return d(m,C(p._payload),g)}if(ho(p)||to(p))return p=qn(p,m.mode,g,null),p.return=m,p;ki(m,p)}return null}function h(m,p,g,C){var k=p!==null?p.key:null;if(typeof g=="string"&&g!==""||typeof g=="number")return k!==null?null:l(m,p,""+g,C);if(typeof g=="object"&&g!==null){switch(g.$$typeof){case fi:return g.key===k?a(m,p,g,C):null;case lr:return g.key===k?u(m,p,g,C):null;case nn:return k=g._init,h(m,p,k(g._payload),C)}if(ho(g)||to(g))return k!==null?null:f(m,p,g,C,null);ki(m,g)}return null}function x(m,p,g,C,k){if(typeof C=="string"&&C!==""||typeof C=="number")return m=m.get(g)||null,l(p,m,""+C,k);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case fi:return m=m.get(C.key===null?g:C.key)||null,a(p,m,C,k);case lr:return m=m.get(C.key===null?g:C.key)||null,u(p,m,C,k);case nn:var b=C._init;return x(m,p,g,b(C._payload),k)}if(ho(C)||to(C))return m=m.get(g)||null,f(p,m,C,k,null);ki(p,C)}return null}function S(m,p,g,C){for(var k=null,b=null,E=p,_=p=0,R=null;E!==null&&_<g.length;_++){E.index>_?(R=E,E=null):R=E.sibling;var j=h(m,E,g[_],C);if(j===null){E===null&&(E=R);break}e&&E&&j.alternate===null&&t(m,E),p=i(j,p,_),b===null?k=j:b.sibling=j,b=j,E=R}if(_===g.length)return n(m,E),oe&&In(m,_),k;if(E===null){for(;_<g.length;_++)E=d(m,g[_],C),E!==null&&(p=i(E,p,_),b===null?k=E:b.sibling=E,b=E);return oe&&In(m,_),k}for(E=r(m,E);_<g.length;_++)R=x(E,m,_,g[_],C),R!==null&&(e&&R.alternate!==null&&E.delete(R.key===null?_:R.key),p=i(R,p,_),b===null?k=R:b.sibling=R,b=R);return e&&E.forEach(function(D){return t(m,D)}),oe&&In(m,_),k}function y(m,p,g,C){var k=to(g);if(typeof k!="function")throw Error(T(150));if(g=k.call(g),g==null)throw Error(T(151));for(var b=k=null,E=p,_=p=0,R=null,j=g.next();E!==null&&!j.done;_++,j=g.next()){E.index>_?(R=E,E=null):R=E.sibling;var D=h(m,E,j.value,C);if(D===null){E===null&&(E=R);break}e&&E&&D.alternate===null&&t(m,E),p=i(D,p,_),b===null?k=D:b.sibling=D,b=D,E=R}if(j.done)return n(m,E),oe&&In(m,_),k;if(E===null){for(;!j.done;_++,j=g.next())j=d(m,j.value,C),j!==null&&(p=i(j,p,_),b===null?k=j:b.sibling=j,b=j);return oe&&In(m,_),k}for(E=r(m,E);!j.done;_++,j=g.next())j=x(E,m,_,j.value,C),j!==null&&(e&&j.alternate!==null&&E.delete(j.key===null?_:j.key),p=i(j,p,_),b===null?k=j:b.sibling=j,b=j);return e&&E.forEach(function(I){return t(m,I)}),oe&&In(m,_),k}function w(m,p,g,C){if(typeof g=="object"&&g!==null&&g.type===ar&&g.key===null&&(g=g.props.children),typeof g=="object"&&g!==null){switch(g.$$typeof){case fi:e:{for(var k=g.key,b=p;b!==null;){if(b.key===k){if(k=g.type,k===ar){if(b.tag===7){n(m,b.sibling),p=o(b,g.props.children),p.return=m,m=p;break e}}else if(b.elementType===k||typeof k=="object"&&k!==null&&k.$$typeof===nn&&Gc(k)===b.type){n(m,b.sibling),p=o(b,g.props),p.ref=so(m,b,g),p.return=m,m=p;break e}n(m,b);break}else t(m,b);b=b.sibling}g.type===ar?(p=qn(g.props.children,m.mode,C,g.key),p.return=m,m=p):(C=Vi(g.type,g.key,g.props,null,m.mode,C),C.ref=so(m,p,g),C.return=m,m=C)}return s(m);case lr:e:{for(b=g.key;p!==null;){if(p.key===b)if(p.tag===4&&p.stateNode.containerInfo===g.containerInfo&&p.stateNode.implementation===g.implementation){n(m,p.sibling),p=o(p,g.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=bl(g,m.mode,C),p.return=m,m=p}return s(m);case nn:return b=g._init,w(m,p,b(g._payload),C)}if(ho(g))return S(m,p,g,C);if(to(g))return y(m,p,g,C);ki(m,g)}return typeof g=="string"&&g!==""||typeof g=="number"?(g=""+g,p!==null&&p.tag===6?(n(m,p.sibling),p=o(p,g),p.return=m,m=p):(n(m,p),p=El(g,m.mode,C),p.return=m,m=p),s(m)):n(m,p)}return w}var Dr=Ip(!0),Dp=Ip(!1),ss=Rn(null),ls=null,gr=null,pu=null;function hu(){pu=gr=ls=null}function mu(e){var t=ss.current;ne(ss),e._currentValue=t}function ca(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 kr(e,t){ls=e,pu=gr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ie=!0),e.firstContext=null)}function rt(e){var t=e._currentValue;if(pu!==e)if(e={context:e,memoizedValue:t,next:null},gr===null){if(ls===null)throw Error(T(308));gr=e,ls.dependencies={lanes:0,firstContext:e}}else gr=gr.next=e;return t}var Un=null;function gu(e){Un===null?Un=[e]:Un.push(e)}function zp(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,gu(t)):(n.next=o.next,o.next=n),t.interleaved=n,Kt(e,r)}function Kt(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 rn=!1;function vu(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function $p(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 Vt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function xn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Q&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Kt(e,n)}return o=r.interleaved,o===null?(t.next=t,gu(r)):(t.next=o.next,o.next=t),r.interleaved=t,Kt(e,n)}function Ii(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 Yc(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 s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,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 as(e,t,n,r){var o=e.updateQueue;rn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var a=l,u=a.next;a.next=null,s===null?i=u:s.next=u,s=a;var f=e.alternate;f!==null&&(f=f.updateQueue,l=f.lastBaseUpdate,l!==s&&(l===null?f.firstBaseUpdate=u:l.next=u,f.lastBaseUpdate=a))}if(i!==null){var d=o.baseState;s=0,f=u=a=null,l=i;do{var h=l.lane,x=l.eventTime;if((r&h)===h){f!==null&&(f=f.next={eventTime:x,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var S=e,y=l;switch(h=t,x=n,y.tag){case 1:if(S=y.payload,typeof S=="function"){d=S.call(x,d,h);break e}d=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=y.payload,h=typeof S=="function"?S.call(x,d,h):S,h==null)break e;d=le({},d,h);break e;case 2:rn=!0}}l.callback!==null&&l.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[l]:h.push(l))}else x={eventTime:x,lane:h,tag:l.tag,payload:l.payload,callback:l.callback,next:null},f===null?(u=f=x,a=d):f=f.next=x,s|=h;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;h=l,l=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(f===null&&(a=d),o.baseState=a,o.firstBaseUpdate=u,o.lastBaseUpdate=f,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);er|=s,e.lanes=s,e.memoizedState=d}}function qc(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 ni={},_t=Rn(ni),Do=Rn(ni),zo=Rn(ni);function Bn(e){if(e===ni)throw Error(T(174));return e}function yu(e,t){switch(J(zo,t),J(Do,e),J(_t,ni),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Wl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Wl(t,e)}ne(_t),J(_t,t)}function zr(){ne(_t),ne(Do),ne(zo)}function Up(e){Bn(zo.current);var t=Bn(_t.current),n=Wl(t,e.type);t!==n&&(J(Do,e),J(_t,n))}function xu(e){Do.current===e&&(ne(_t),ne(Do))}var ie=Rn(0);function us(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 yl=[];function wu(){for(var e=0;e<yl.length;e++)yl[e]._workInProgressVersionPrimary=null;yl.length=0}var Di=qt.ReactCurrentDispatcher,xl=qt.ReactCurrentBatchConfig,Jn=0,se=null,me=null,ye=null,cs=!1,Co=!1,$o=0,ky=0;function Ee(){throw Error(T(321))}function Su(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!gt(e[n],t[n]))return!1;return!0}function Cu(e,t,n,r,o,i){if(Jn=i,se=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Di.current=e===null||e.memoizedState===null?Ny:_y,e=n(r,o),Co){i=0;do{if(Co=!1,$o=0,25<=i)throw Error(T(301));i+=1,ye=me=null,t.updateQueue=null,Di.current=Ty,e=n(r,o)}while(Co)}if(Di.current=ds,t=me!==null&&me.next!==null,Jn=0,ye=me=se=null,cs=!1,t)throw Error(T(300));return e}function ku(){var e=$o!==0;return $o=0,e}function St(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ye===null?se.memoizedState=ye=e:ye=ye.next=e,ye}function ot(){if(me===null){var e=se.alternate;e=e!==null?e.memoizedState:null}else e=me.next;var t=ye===null?se.memoizedState:ye.next;if(t!==null)ye=t,me=e;else{if(e===null)throw Error(T(310));me=e,e={memoizedState:me.memoizedState,baseState:me.baseState,baseQueue:me.baseQueue,queue:me.queue,next:null},ye===null?se.memoizedState=ye=e:ye=ye.next=e}return ye}function Uo(e,t){return typeof t=="function"?t(e):t}function wl(e){var t=ot(),n=t.queue;if(n===null)throw Error(T(311));n.lastRenderedReducer=e;var r=me,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var l=s=null,a=null,u=i;do{var f=u.lane;if((Jn&f)===f)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 d={lane:f,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(l=a=d,s=r):a=a.next=d,se.lanes|=f,er|=f}u=u.next}while(u!==null&&u!==i);a===null?s=r:a.next=l,gt(r,t.memoizedState)||(Ie=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,se.lanes|=i,er|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Sl(e){var t=ot(),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 s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);gt(i,t.memoizedState)||(Ie=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Bp(){}function Vp(e,t){var n=se,r=ot(),o=t(),i=!gt(r.memoizedState,o);if(i&&(r.memoizedState=o,Ie=!0),r=r.queue,Eu(Kp.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ye!==null&&ye.memoizedState.tag&1){if(n.flags|=2048,Bo(9,Hp.bind(null,n,r,o,t),void 0,null),xe===null)throw Error(T(349));Jn&30||Wp(n,t,o)}return o}function Wp(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=se.updateQueue,t===null?(t={lastEffect:null,stores:null},se.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Hp(e,t,n,r){t.value=n,t.getSnapshot=r,Qp(t)&&Gp(e)}function Kp(e,t,n){return n(function(){Qp(t)&&Gp(e)})}function Qp(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!gt(e,n)}catch{return!0}}function Gp(e){var t=Kt(e,1);t!==null&&mt(t,e,1,-1)}function Xc(e){var t=St();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Uo,lastRenderedState:e},t.queue=e,e=e.dispatch=Py.bind(null,se,e),[t.memoizedState,e]}function Bo(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=se.updateQueue,t===null?(t={lastEffect:null,stores:null},se.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 Yp(){return ot().memoizedState}function zi(e,t,n,r){var o=St();se.flags|=e,o.memoizedState=Bo(1|t,n,void 0,r===void 0?null:r)}function Rs(e,t,n,r){var o=ot();r=r===void 0?null:r;var i=void 0;if(me!==null){var s=me.memoizedState;if(i=s.destroy,r!==null&&Su(r,s.deps)){o.memoizedState=Bo(t,n,i,r);return}}se.flags|=e,o.memoizedState=Bo(1|t,n,i,r)}function Zc(e,t){return zi(8390656,8,e,t)}function Eu(e,t){return Rs(2048,8,e,t)}function qp(e,t){return Rs(4,2,e,t)}function Xp(e,t){return Rs(4,4,e,t)}function Zp(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 Jp(e,t,n){return n=n!=null?n.concat([e]):null,Rs(4,4,Zp.bind(null,t,e),n)}function bu(){}function eh(e,t){var n=ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Su(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function th(e,t){var n=ot();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Su(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function nh(e,t,n){return Jn&21?(gt(n,t)||(n=lp(),se.lanes|=n,er|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ie=!0),e.memoizedState=n)}function Ey(e,t){var n=X;X=n!==0&&4>n?n:4,e(!0);var r=xl.transition;xl.transition={};try{e(!1),t()}finally{X=n,xl.transition=r}}function rh(){return ot().memoizedState}function by(e,t,n){var r=Sn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},oh(e))ih(t,n);else if(n=zp(e,t,n,r),n!==null){var o=Oe();mt(n,e,r,o),sh(n,t,r)}}function Py(e,t,n){var r=Sn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(oh(e))ih(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,l=i(s,n);if(o.hasEagerState=!0,o.eagerState=l,gt(l,s)){var a=t.interleaved;a===null?(o.next=o,gu(t)):(o.next=a.next,a.next=o),t.interleaved=o;return}}catch{}finally{}n=zp(e,t,o,r),n!==null&&(o=Oe(),mt(n,e,r,o),sh(n,t,r))}}function oh(e){var t=e.alternate;return e===se||t!==null&&t===se}function ih(e,t){Co=cs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function sh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,nu(e,n)}}var ds={readContext:rt,useCallback:Ee,useContext:Ee,useEffect:Ee,useImperativeHandle:Ee,useInsertionEffect:Ee,useLayoutEffect:Ee,useMemo:Ee,useReducer:Ee,useRef:Ee,useState:Ee,useDebugValue:Ee,useDeferredValue:Ee,useTransition:Ee,useMutableSource:Ee,useSyncExternalStore:Ee,useId:Ee,unstable_isNewReconciler:!1},Ny={readContext:rt,useCallback:function(e,t){return St().memoizedState=[e,t===void 0?null:t],e},useContext:rt,useEffect:Zc,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,zi(4194308,4,Zp.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zi(4194308,4,e,t)},useInsertionEffect:function(e,t){return zi(4,2,e,t)},useMemo:function(e,t){var n=St();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=St();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=by.bind(null,se,e),[r.memoizedState,e]},useRef:function(e){var t=St();return e={current:e},t.memoizedState=e},useState:Xc,useDebugValue:bu,useDeferredValue:function(e){return St().memoizedState=e},useTransition:function(){var e=Xc(!1),t=e[0];return e=Ey.bind(null,e[1]),St().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=se,o=St();if(oe){if(n===void 0)throw Error(T(407));n=n()}else{if(n=t(),xe===null)throw Error(T(349));Jn&30||Wp(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Zc(Kp.bind(null,r,i,e),[e]),r.flags|=2048,Bo(9,Hp.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=St(),t=xe.identifierPrefix;if(oe){var n=Bt,r=Ut;n=(r&~(1<<32-ht(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=$o++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=ky++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},_y={readContext:rt,useCallback:eh,useContext:rt,useEffect:Eu,useImperativeHandle:Jp,useInsertionEffect:qp,useLayoutEffect:Xp,useMemo:th,useReducer:wl,useRef:Yp,useState:function(){return wl(Uo)},useDebugValue:bu,useDeferredValue:function(e){var t=ot();return nh(t,me.memoizedState,e)},useTransition:function(){var e=wl(Uo)[0],t=ot().memoizedState;return[e,t]},useMutableSource:Bp,useSyncExternalStore:Vp,useId:rh,unstable_isNewReconciler:!1},Ty={readContext:rt,useCallback:eh,useContext:rt,useEffect:Eu,useImperativeHandle:Jp,useInsertionEffect:qp,useLayoutEffect:Xp,useMemo:th,useReducer:Sl,useRef:Yp,useState:function(){return Sl(Uo)},useDebugValue:bu,useDeferredValue:function(e){var t=ot();return me===null?t.memoizedState=e:nh(t,me.memoizedState,e)},useTransition:function(){var e=Sl(Uo)[0],t=ot().memoizedState;return[e,t]},useMutableSource:Bp,useSyncExternalStore:Vp,useId:rh,unstable_isNewReconciler:!1};function at(e,t){if(e&&e.defaultProps){t=le({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function da(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:le({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Os={isMounted:function(e){return(e=e._reactInternals)?or(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Oe(),o=Sn(e),i=Vt(r,o);i.payload=t,n!=null&&(i.callback=n),t=xn(e,i,o),t!==null&&(mt(t,e,o,r),Ii(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Oe(),o=Sn(e),i=Vt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=xn(e,i,o),t!==null&&(mt(t,e,o,r),Ii(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Oe(),r=Sn(e),o=Vt(n,r);o.tag=2,t!=null&&(o.callback=t),t=xn(e,o,r),t!==null&&(mt(t,e,r,n),Ii(t,e,r))}};function Jc(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Lo(n,r)||!Lo(o,i):!0}function lh(e,t,n){var r=!1,o=bn,i=t.contextType;return typeof i=="object"&&i!==null?i=rt(i):(o=ze(t)?Xn:_e.current,r=t.contextTypes,i=(r=r!=null)?Fr(e,o):bn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Os,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function ed(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&&Os.enqueueReplaceState(t,t.state,null)}function fa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},vu(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=rt(i):(i=ze(t)?Xn:_e.current,o.context=Fr(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(da(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&&Os.enqueueReplaceState(o,o.state,null),as(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function $r(e,t){try{var n="",r=t;do n+=rv(r),r=r.return;while(r);var o=n}catch(i){o=` 39Error generating stack: `+i.message+` 40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Cl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function pa(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var jy=typeof WeakMap=="function"?WeakMap:Map;function ah(e,t,n){n=Vt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){ps||(ps=!0,ka=r),pa(e,t)},n}function uh(e,t,n){n=Vt(-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(){pa(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){pa(e,t),typeof r!="function"&&(wn===null?wn=new Set([this]):wn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function td(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new jy;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=Wy.bind(null,e,t,n),t.then(e,e))}function nd(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 rd(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=Vt(-1,1),t.tag=2,xn(n,t,1))),n.lanes|=1),e)}var Ry=qt.ReactCurrentOwner,Ie=!1;function je(e,t,n,r){t.child=e===null?Dp(t,null,n,r):Dr(t,e.child,n,r)}function od(e,t,n,r,o){n=n.render;var i=t.ref;return kr(t,o),r=Cu(e,t,n,r,i,o),n=ku(),e!==null&&!Ie?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Qt(e,t,o)):(oe&&n&&cu(t),t.flags|=1,je(e,t,r,o),t.child)}function id(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,ch(e,t,i,r,o)):(e=Vi(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 s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Lo,n(s,r)&&e.ref===t.ref)return Qt(e,t,o)}return t.flags|=1,e=Cn(i,r),e.ref=t.ref,e.return=t,t.child=e}function ch(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Lo(i,r)&&e.ref===t.ref)if(Ie=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Ie=!0);else return t.lanes=e.lanes,Qt(e,t,o)}return ha(e,t,n,r,o)}function dh(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},J(yr,We),We|=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,J(yr,We),We|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,J(yr,We),We|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,J(yr,We),We|=r;return je(e,t,o,n),t.child}function fh(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 6,637 bytes, line 40
40function ha(e,t,n,r,o){var i=ze(n)?Xn:_e.current;return i=Fr(t,i),kr(t,o),n=Cu(e,t,n,r,i,o),r=ku(),e!==null&&!Ie?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Qt(e,t,o)):(oe&&r&&cu(t),t.flags|=1,je(e,t,n,o),t.child)}function sd(e,t,n,r,o){if(ze(n)){var i=!0;rs(t)}else i=!1;if(kr(t,o),t.stateNode===null)$i(e,t),lh(t,n,r),fa(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,l=t.memoizedProps;s.props=l;var a=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=rt(u):(u=ze(n)?Xn:_e.current,u=Fr(t,u));var f=n.getDerivedStateFromProps,d=typeof f=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==r||a!==u)&&ed(t,s,r,u),rn=!1;var h=t.memoizedState;s.state=h,as(t,r,s,o),a=t.memoizedState,l!==r||h!==a||De.current||rn?(typeof f=="function"&&(da(t,n,f,r),a=t.memoizedState),(l=rn||Jc(t,n,l,r,h,a,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),s.props=r,s.state=a,s.context=u,r=l):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,$p(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:at(t.type,l),s.props=u,d=t.pendingProps,h=s.context,a=n.contextType,typeof a=="object"&&a!==null?a=rt(a):(a=ze(n)?Xn:_e.current,a=Fr(t,a));var x=n.getDerivedStateFromProps;(f=typeof x=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(l!==d||h!==a)&&ed(t,s,r,a),rn=!1,h=t.memoizedState,s.state=h,as(t,r,s,o);var S=t.memoizedState;l!==d||h!==S||De.current||rn?(typeof x=="function"&&(da(t,n,x,r),S=t.memoizedState),(u=rn||Jc(t,n,u,r,h,S,a)||!1)?(f||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,S,a),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,S,a)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=S),s.props=r,s.state=S,s.context=a,r=u):(typeof s.componentDidUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||l===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return ma(e,t,n,r,i,o)}function ma(e,t,n,r,o,i){fh(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Hc(t,n,!1),Qt(e,t,i);r=t.stateNode,Ry.current=t;var l=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Dr(t,e.child,null,i),t.child=Dr(t,null,l,i)):je(e,t,l,i),t.memoizedState=r.state,o&&Hc(t,n,!0),t.child}function ph(e){var t=e.stateNode;t.pendingContext?Wc(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Wc(e,t.context,!1),yu(e,t.containerInfo)}function ld(e,t,n,r,o){return Ir(),fu(o),t.flags|=256,je(e,t,n,r),t.child}var ga={dehydrated:null,treeContext:null,retryLane:0};function va(e){return{baseLanes:e,cachePool:null,transitions:null}}function hh(e,t,n){var r=t.pendingProps,o=ie.current,i=!1,s=(t.flags&128)!==0,l;if((l=s)||(l=e!==null&&e.memoizedState===null?!1:(o&2)!==0),l?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),J(ie,o&1),e===null)return ua(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):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=Ms(s,r,0,null),e=qn(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=va(n),t.memoizedState=ga,e):Pu(t,s));if(o=e.memoizedState,o!==null&&(l=o.dehydrated,l!==null))return Oy(e,t,s,r,l,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,l=o.sibling;var a={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=Cn(o,a),r.subtreeFlags=o.subtreeFlags&14680064),l!==null?i=Cn(l,i):(i=qn(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?va(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=ga,r}return i=e.child,e=i.sibling,r=Cn(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 Pu(e,t){return t=Ms({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ei(e,t,n,r){return r!==null&&fu(r),Dr(t,e.child,null,n),e=Pu(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Oy(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Cl(Error(T(422))),Ei(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=Ms({mode:"visible",children:r.children},o,0,null),i=qn(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Dr(t,e.child,null,s),t.child.memoizedState=va(s),t.memoizedState=ga,i);if(!(t.mode&1))return Ei(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var l=r.dgst;return r=l,i=Error(T(419)),r=Cl(i,r,void 0),Ei(e,t,s,r)}if(l=(s&e.childLanes)!==0,Ie||l){if(r=xe,r!==null){switch(s&-s){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|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Kt(e,o),mt(r,e,o,-1))}return Ou(),r=Cl(Error(T(421))),Ei(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Hy.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ke=yn(o.nextSibling),Qe=t,oe=!0,pt=null,e!==null&&(Je[et++]=Ut,Je[et++]=Bt,Je[et++]=Zn,Ut=e.id,Bt=e.overflow,Zn=t),t=Pu(t,r.children),t.flags|=4096,t)}
vendor: 6,985 bytes, line 40
40function ad(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),ca(e.return,t,n)}function kl(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 mh(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(je(e,t,r.children,n),r=ie.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&&ad(e,n,t);else if(e.tag===19)ad(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(J(ie,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&&us(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),kl(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&&us(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}kl(t,!0,n,null,i);break;case"together":kl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function $i(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Qt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),er|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(T(153));if(t.child!==null){for(e=t.child,n=Cn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Cn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Ay(e,t,n){switch(t.tag){case 3:ph(t),Ir();break;case 5:Up(t);break;case 1:ze(t.type)&&rs(t);break;case 4:yu(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;J(ss,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(J(ie,ie.current&1),t.flags|=128,null):n&t.child.childLanes?hh(e,t,n):(J(ie,ie.current&1),e=Qt(e,t,n),e!==null?e.sibling:null);J(ie,ie.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return mh(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),J(ie,ie.current),r)break;return null;case 22:case 23:return t.lanes=0,dh(e,t,n)}return Qt(e,t,n)}var gh,ya,vh,yh;gh=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}};ya=function(){};vh=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Bn(_t.current);var i=null;switch(n){case"input":o=$l(e,o),r=$l(e,r),i=[];break;case"select":o=le({},o,{value:void 0}),r=le({},r,{value:void 0}),i=[];break;case"textarea":o=Vl(e,o),r=Vl(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ts)}Hl(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var l=o[u];for(s in l)l.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(No.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var a=r[u];if(l=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&a!==l&&(a!=null||l!=null))if(u==="style")if(l){for(s in l)!l.hasOwnProperty(s)||a&&a.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in a)a.hasOwnProperty(s)&&l[s]!==a[s]&&(n||(n={}),n[s]=a[s])}else n||(i||(i=[]),i.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,l=l?l.__html:void 0,a!=null&&l!==a&&(i=i||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(i=i||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(No.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&te("scroll",e),i||l===a||(i=[])):(i=i||[]).push(u,a))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};yh=function(e,t,n,r){n!==r&&(t.flags|=4)};function lo(e,t){if(!oe)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 be(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 Ly(e,t,n){var r=t.pendingProps;switch(du(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return be(t),null;case 1:return ze(t.type)&&ns(),be(t),null;case 3:return r=t.stateNode,zr(),ne(De),ne(_e),wu(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ci(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,pt!==null&&(Pa(pt),pt=null))),ya(e,t),be(t),null;case 5:xu(t);var o=Bn(zo.current);if(n=t.type,e!==null&&t.stateNode!=null)vh(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 be(t),null}if(e=Bn(_t.current),Ci(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[bt]=t,r[Io]=i,e=(t.mode&1)!==0,n){case"dialog":te("cancel",r),te("close",r);break;case"iframe":case"object":case"embed":te("load",r);break;case"video":case"audio":for(o=0;o<go.length;o++)te(go[o],r);break;case"source":te("error",r);break;case"img":case"image":case"link":te("error",r),te("load",r);break;case"details":te("toggle",r);break;case"input":vc(r,i),te("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},te("invalid",r);break;case"textarea":xc(r,i),te("invalid",r)}Hl(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var l=i[s];s==="children"?typeof l=="string"?r.textContent!==l&&(i.suppressHydrationWarning!==!0&&Si(r.textContent,l,e),o=["children",l]):typeof l=="number"&&r.textContent!==""+l&&(i.suppressHydrationWarning!==!0&&Si(r.textContent,l,e),o=["children",""+l]):No.hasOwnProperty(s)&&l!=null&&s==="onScroll"&&te("scroll",r)}switch(n){case"input":pi(r),yc(r,i,!0);break;case"textarea":pi(r),wc(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=ts)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Kf(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>
40",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[bt]=t,e[Io]=r,gh(e,t,!1,!1),t.stateNode=e;e:{switch(s=Kl(n,r),n){case"dialog":te("cancel",e),te("close",e),o=r;break;case"iframe":case"object":case"embed":te("load",e),o=r;break;case"video":case"audio":for(o=0;o<go.length;o++)te(go[o],e);o=r;break;case"source":te("error",e),o=r;break;case"img":case"image":case"link":te("error",e),te("load",e),o=r;break;case"details":te("toggle",e),o=r;break;case"input":vc(e,r),o=$l(e,r),te("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=le({},r,{value:void 0}),te("invalid",e);break;case"textarea":xc(e,r),o=Vl(e,r),te("invalid",e);break;default:o=r}Hl(n,o),l=o;for(i in l)if(l.hasOwnProperty(i)){var a=l[i];i==="style"?Yf(e,a):i==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Qf(e,a)):i==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&_o(e,a):typeof a=="number"&&_o(e,""+a):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(No.hasOwnProperty(i)?a!=null&&i==="onScroll"&&te("scroll",e):a!=null&&qa(e,i,a,s))}switch(n){case"input":pi(e),yc(e,r,!1);break;case"textarea":pi(e),wc(e);break;case"option":r.value!=null&&e.setAttribute("value",""+En(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?xr(e,!!r.multiple,i,!1):r.defaultValue!=null&&xr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=ts)}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 be(t),null;case 6:if(e&&t.stateNode!=null)yh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(T(166));if(n=Bn(zo.current),Bn(_t.current),Ci(t)){if(r=t.stateNode,n=t.memoizedProps,r[bt]=t,(i=r.nodeValue!==n)&&(e=Qe,e!==null))switch(e.tag){case 3:Si(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Si(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[bt]=t,t.stateNode=r}return be(t),null;case 13:if(ne(ie),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(oe&&Ke!==null&&t.mode&1&&!(t.flags&128))Fp(),Ir(),t.flags|=98560,i=!1;else if(i=Ci(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[bt]=t}else Ir(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;be(t),i=!1}else pt!==null&&(Pa(pt),pt=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||ie.current&1?ve===0&&(ve=3):Ou())),t.updateQueue!==null&&(t.flags|=4),be(t),null);case 4:return zr(),ya(e,t),e===null&&Mo(t.stateNode.containerInfo),be(t),null;case 10:return mu(t.type._context),be(t),null;case 17:return ze(t.type)&&ns(),be(t),null;case 19:if(ne(ie),i=t.memoizedState,i===null)return be(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)lo(i,!1);else{if(ve!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=us(e),s!==null){for(t.flags|=128,lo(i,!1),r=s.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,s=i.alternate,s===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=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return J(ie,ie.current&1|2),t.child}e=e.sibling}i.tail!==null&&fe()>Ur&&(t.flags|=128,r=!0,lo(i,!1),t.lanes=4194304)}else{if(!r)if(e=us(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),lo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!oe)return be(t),null}else 2*fe()-i.renderingStartTime>Ur&&n!==1073741824&&(t.flags|=128,r=!0,lo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=fe(),t.sibling=null,n=ie.current,J(ie,r?n&1|2:n&1),t):(be(t),null);case 22:case 23:return Ru(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?We&1073741824&&(be(t),t.subtreeFlags&6&&(t.flags|=8192)):be(t),null;case 24:return null;case 25:return null}throw Error(T(156,t.tag))}function My(e,t){switch(du(t),t.tag){case 1:return ze(t.type)&&ns(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 23,099 bytes, line 40
40case 3:return zr(),ne(De),ne(_e),wu(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return xu(t),null;case 13:if(ne(ie),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(T(340));Ir()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ne(ie),null;case 4:return zr(),null;case 10:return mu(t.type._context),null;case 22:case 23:return Ru(),null;case 24:return null;default:return null}}var bi=!1,Ne=!1,Fy=typeof WeakSet=="function"?WeakSet:Set,M=null;function vr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){de(e,t,r)}else n.current=null}function xa(e,t,n){try{n()}catch(r){de(e,t,r)}}var ud=!1;function Iy(e,t){if(na=Zi,e=kp(),uu(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{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;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,l=-1,a=-1,u=0,f=0,d=e,h=null;t:for(;;){for(var x;d!==n||o!==0&&d.nodeType!==3||(l=s+o),d!==i||r!==0&&d.nodeType!==3||(a=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(x=d.firstChild)!==null;)h=d,d=x;for(;;){if(d===e)break t;if(h===n&&++u===o&&(l=s),h===i&&++f===r&&(a=s),(x=d.nextSibling)!==null)break;d=h,h=d.parentNode}d=x}n=l===-1||a===-1?null:{start:l,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(ra={focusedElem:e,selectionRange:n},Zi=!1,M=t;M!==null;)if(t=M,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,M=e;else for(;M!==null;){t=M;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var y=S.memoizedProps,w=S.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?y:at(t.type,y),w);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var g=t.stateNode.containerInfo;g.nodeType===1?g.textContent="":g.nodeType===9&&g.documentElement&&g.removeChild(g.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(T(163))}}catch(C){de(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,M=e;break}M=t.return}return S=ud,ud=!1,S}function ko(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&&xa(t,n,i)}o=o.next}while(o!==r)}}function As(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 wa(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 xh(e){var t=e.alternate;t!==null&&(e.alternate=null,xh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[bt],delete t[Io],delete t[sa],delete t[xy],delete t[wy])),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 wh(e){return e.tag===5||e.tag===3||e.tag===4}function cd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||wh(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 Sa(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=ts));else if(r!==4&&(e=e.child,e!==null))for(Sa(e,t,n),e=e.sibling;e!==null;)Sa(e,t,n),e=e.sibling}function Ca(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(Ca(e,t,n),e=e.sibling;e!==null;)Ca(e,t,n),e=e.sibling}var we=null,ft=!1;function Xt(e,t,n){for(n=n.child;n!==null;)Sh(e,t,n),n=n.sibling}function Sh(e,t,n){if(Nt&&typeof Nt.onCommitFiberUnmount=="function")try{Nt.onCommitFiberUnmount(bs,n)}catch{}switch(n.tag){case 5:Ne||vr(n,t);case 6:var r=we,o=ft;we=null,Xt(e,t,n),we=r,ft=o,we!==null&&(ft?(e=we,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):we.removeChild(n.stateNode));break;case 18:we!==null&&(ft?(e=we,n=n.stateNode,e.nodeType===8?gl(e.parentNode,n):e.nodeType===1&&gl(e,n),Oo(e)):gl(we,n.stateNode));break;case 4:r=we,o=ft,we=n.stateNode.containerInfo,ft=!0,Xt(e,t,n),we=r,ft=o;break;case 0:case 11:case 14:case 15:if(!Ne&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&xa(n,t,s),o=o.next}while(o!==r)}Xt(e,t,n);break;case 1:if(!Ne&&(vr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(l){de(n,t,l)}Xt(e,t,n);break;case 21:Xt(e,t,n);break;case 22:n.mode&1?(Ne=(r=Ne)||n.memoizedState!==null,Xt(e,t,n),Ne=r):Xt(e,t,n);break;default:Xt(e,t,n)}}function dd(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Fy),t.forEach(function(r){var o=Ky.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function lt(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,s=t,l=s;e:for(;l!==null;){switch(l.tag){case 5:we=l.stateNode,ft=!1;break e;case 3:we=l.stateNode.containerInfo,ft=!0;break e;case 4:we=l.stateNode.containerInfo,ft=!0;break e}l=l.return}if(we===null)throw Error(T(160));Sh(i,s,o),we=null,ft=!1;var a=o.alternate;a!==null&&(a.return=null),o.return=null}catch(u){de(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Ch(t,e),t=t.sibling}function Ch(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(lt(t,e),wt(e),r&4){try{ko(3,e,e.return),As(3,e)}catch(y){de(e,e.return,y)}try{ko(5,e,e.return)}catch(y){de(e,e.return,y)}}break;case 1:lt(t,e),wt(e),r&512&&n!==null&&vr(n,n.return);break;case 5:if(lt(t,e),wt(e),r&512&&n!==null&&vr(n,n.return),e.flags&32){var o=e.stateNode;try{_o(o,"")}catch(y){de(e,e.return,y)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,l=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{l==="input"&&i.type==="radio"&&i.name!=null&&Wf(o,i),Kl(l,s);var u=Kl(l,i);for(s=0;s<a.length;s+=2){var f=a[s],d=a[s+1];f==="style"?Yf(o,d):f==="dangerouslySetInnerHTML"?Qf(o,d):f==="children"?_o(o,d):qa(o,f,d,u)}switch(l){case"input":Ul(o,i);break;case"textarea":Hf(o,i);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var x=i.value;x!=null?xr(o,!!i.multiple,x,!1):h!==!!i.multiple&&(i.defaultValue!=null?xr(o,!!i.multiple,i.defaultValue,!0):xr(o,!!i.multiple,i.multiple?[]:"",!1))}o[Io]=i}catch(y){de(e,e.return,y)}}break;case 6:if(lt(t,e),wt(e),r&4){if(e.stateNode===null)throw Error(T(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(y){de(e,e.return,y)}}break;case 3:if(lt(t,e),wt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Oo(t.containerInfo)}catch(y){de(e,e.return,y)}break;case 4:lt(t,e),wt(e);break;case 13:lt(t,e),wt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Tu=fe())),r&4&&dd(e);break;case 22:if(f=n!==null&&n.memoizedState!==null,e.mode&1?(Ne=(u=Ne)||f,lt(t,e),Ne=u):lt(t,e),wt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!f&&e.mode&1)for(M=e,f=e.child;f!==null;){for(d=M=f;M!==null;){switch(h=M,x=h.child,h.tag){case 0:case 11:case 14:case 15:ko(4,h,h.return);break;case 1:vr(h,h.return);var S=h.stateNode;if(typeof S.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,S.props=t.memoizedProps,S.state=t.memoizedState,S.componentWillUnmount()}catch(y){de(r,n,y)}}break;case 5:vr(h,h.return);break;case 22:if(h.memoizedState!==null){pd(d);continue}}x!==null?(x.return=h,M=x):pd(d)}f=f.sibling}e:for(f=null,d=e;;){if(d.tag===5){if(f===null){f=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(l=d.stateNode,a=d.memoizedProps.style,s=a!=null&&a.hasOwnProperty("display")?a.display:null,l.style.display=Gf("display",s))}catch(y){de(e,e.return,y)}}}else if(d.tag===6){if(f===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(y){de(e,e.return,y)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:lt(t,e),wt(e),r&4&&dd(e);break;case 21:break;default:lt(t,e),wt(e)}}function wt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(wh(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&&(_o(o,""),r.flags&=-33);var i=cd(e);Ca(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,l=cd(e);Sa(e,l,s);break;default:throw Error(T(161))}}catch(a){de(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Dy(e,t,n){M=e,kh(e)}function kh(e,t,n){for(var r=(e.mode&1)!==0;M!==null;){var o=M,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||bi;if(!s){var l=o.alternate,a=l!==null&&l.memoizedState!==null||Ne;l=bi;var u=Ne;if(bi=s,(Ne=a)&&!u)for(M=o;M!==null;)s=M,a=s.child,s.tag===22&&s.memoizedState!==null?hd(o):a!==null?(a.return=s,M=a):hd(o);for(;i!==null;)M=i,kh(i),i=i.sibling;M=o,bi=l,Ne=u}fd(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,M=i):fd(e)}}function fd(e){for(;M!==null;){var t=M;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ne||As(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ne)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:at(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&qc(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}qc(t,s,n)}break;case 5:var l=t.stateNode;if(n===null&&t.flags&4){n=l;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 f=u.memoizedState;if(f!==null){var d=f.dehydrated;d!==null&&Oo(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(T(163))}Ne||t.flags&512&&wa(t)}catch(h){de(t,t.return,h)}}if(t===e){M=null;break}if(n=t.sibling,n!==null){n.return=t.return,M=n;break}M=t.return}}function pd(e){for(;M!==null;){var t=M;if(t===e){M=null;break}var n=t.sibling;if(n!==null){n.return=t.return,M=n;break}M=t.return}}function hd(e){for(;M!==null;){var t=M;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{As(4,t)}catch(a){de(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(a){de(t,o,a)}}var i=t.return;try{wa(t)}catch(a){de(t,i,a)}break;case 5:var s=t.return;try{wa(t)}catch(a){de(t,s,a)}}}catch(a){de(t,t.return,a)}if(t===e){M=null;break}var l=t.sibling;if(l!==null){l.return=t.return,M=l;break}M=t.return}}var zy=Math.ceil,fs=qt.ReactCurrentDispatcher,Nu=qt.ReactCurrentOwner,nt=qt.ReactCurrentBatchConfig,Q=0,xe=null,he=null,Se=0,We=0,yr=Rn(0),ve=0,Vo=null,er=0,Ls=0,_u=0,Eo=null,Fe=null,Tu=0,Ur=1/0,Dt=null,ps=!1,ka=null,wn=null,Pi=!1,pn=null,hs=0,bo=0,Ea=null,Ui=-1,Bi=0;function Oe(){return Q&6?fe():Ui!==-1?Ui:Ui=fe()}function Sn(e){return e.mode&1?Q&2&&Se!==0?Se&-Se:Cy.transition!==null?(Bi===0&&(Bi=lp()),Bi):(e=X,e!==0||(e=window.event,e=e===void 0?16:hp(e.type)),e):1}function mt(e,t,n,r){if(50<bo)throw bo=0,Ea=null,Error(T(185));Jo(e,n,r),(!(Q&2)||e!==xe)&&(e===xe&&(!(Q&2)&&(Ls|=n),ve===4&&sn(e,Se)),$e(e,r),n===1&&Q===0&&!(t.mode&1)&&(Ur=fe()+500,js&&On()))}function $e(e,t){var n=e.callbackNode;Cv(e,t);var r=Xi(e,e===xe?Se:0);if(r===0)n!==null&&kc(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&kc(n),t===1)e.tag===0?Sy(md.bind(null,e)):Ap(md.bind(null,e)),vy(function(){!(Q&6)&&On()}),n=null;else{switch(ap(r)){case 1:n=tu;break;case 4:n=ip;break;case 16:n=qi;break;case 536870912:n=sp;break;default:n=qi}n=Rh(n,Eh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Eh(e,t){if(Ui=-1,Bi=0,Q&6)throw Error(T(327));var n=e.callbackNode;if(Er()&&e.callbackNode!==n)return null;var r=Xi(e,e===xe?Se:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ms(e,r);else{t=r;var o=Q;Q|=2;var i=Ph();(xe!==e||Se!==t)&&(Dt=null,Ur=fe()+500,Yn(e,t));do try{By();break}catch(l){bh(e,l)}while(!0);hu(),fs.current=i,Q=o,he!==null?t=0:(xe=null,Se=0,t=ve)}if(t!==0){if(t===2&&(o=Xl(e),o!==0&&(r=o,t=ba(e,o))),t===1)throw n=Vo,Yn(e,0),sn(e,r),$e(e,fe()),n;if(t===6)sn(e,r);else{if(o=e.current.alternate,!(r&30)&&!$y(o)&&(t=ms(e,r),t===2&&(i=Xl(e),i!==0&&(r=i,t=ba(e,i))),t===1))throw n=Vo,Yn(e,0),sn(e,r),$e(e,fe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(T(345));case 2:Dn(e,Fe,Dt);break;case 3:if(sn(e,r),(r&130023424)===r&&(t=Tu+500-fe(),10<t)){if(Xi(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){Oe(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ia(Dn.bind(null,e,Fe,Dt),t);break}Dn(e,Fe,Dt);break;case 4:if(sn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-ht(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=fe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*zy(r/1960))-r,10<r){e.timeoutHandle=ia(Dn.bind(null,e,Fe,Dt),r);break}Dn(e,Fe,Dt);break;case 5:Dn(e,Fe,Dt);break;default:throw Error(T(329))}}}return $e(e,fe()),e.callbackNode===n?Eh.bind(null,e):null}function ba(e,t){var n=Eo;return e.current.memoizedState.isDehydrated&&(Yn(e,t).flags|=256),e=ms(e,t),e!==2&&(t=Fe,Fe=n,t!==null&&Pa(t)),e}function Pa(e){Fe===null?Fe=e:Fe.push.apply(Fe,e)}function $y(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(!gt(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 sn(e,t){for(t&=~_u,t&=~Ls,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ht(t),r=1<<n;e[n]=-1,t&=~r}}function md(e){if(Q&6)throw Error(T(327));Er();var t=Xi(e,0);if(!(t&1))return $e(e,fe()),null;var n=ms(e,t);if(e.tag!==0&&n===2){var r=Xl(e);r!==0&&(t=r,n=ba(e,r))}if(n===1)throw n=Vo,Yn(e,0),sn(e,t),$e(e,fe()),n;if(n===6)throw Error(T(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Dn(e,Fe,Dt),$e(e,fe()),null}function ju(e,t){var n=Q;Q|=1;try{return e(t)}finally{Q=n,Q===0&&(Ur=fe()+500,js&&On())}}function tr(e){pn!==null&&pn.tag===0&&!(Q&6)&&Er();var t=Q;Q|=1;var n=nt.transition,r=X;try{if(nt.transition=null,X=1,e)return e()}finally{X=r,nt.transition=n,Q=t,!(Q&6)&&On()}}function Ru(){We=yr.current,ne(yr)}function Yn(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,gy(n)),he!==null)for(n=he.return;n!==null;){var r=n;switch(du(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&ns();break;case 3:zr(),ne(De),ne(_e),wu();break;case 5:xu(r);break;case 4:zr();break;case 13:ne(ie);break;case 19:ne(ie);break;case 10:mu(r.type._context);break;case 22:case 23:Ru()}n=n.return}if(xe=e,he=e=Cn(e.current,null),Se=We=t,ve=0,Vo=null,_u=Ls=er=0,Fe=Eo=null,Un!==null){for(t=0;t<Un.length;t++)if(n=Un[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}Un=null}return e}function bh(e,t){do{var n=he;try{if(hu(),Di.current=ds,cs){for(var r=se.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}cs=!1}if(Jn=0,ye=me=se=null,Co=!1,$o=0,Nu.current=null,n===null||n.return===null){ve=1,Vo=t,he=null;break}e:{var i=e,s=n.return,l=n,a=t;if(t=Se,l.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,f=l,d=f.tag;if(!(f.mode&1)&&(d===0||d===11||d===15)){var h=f.alternate;h?(f.updateQueue=h.updateQueue,f.memoizedState=h.memoizedState,f.lanes=h.lanes):(f.updateQueue=null,f.memoizedState=null)}var x=nd(s);if(x!==null){x.flags&=-257,rd(x,s,l,i,t),x.mode&1&&td(i,u,t),t=x,a=u;var S=t.updateQueue;if(S===null){var y=new Set;y.add(a),t.updateQueue=y}else S.add(a);break e}else{if(!(t&1)){td(i,u,t),Ou();break e}a=Error(T(426))}}else if(oe&&l.mode&1){var w=nd(s);if(w!==null){!(w.flags&65536)&&(w.flags|=256),rd(w,s,l,i,t),fu($r(a,l));break e}}i=a=$r(a,l),ve!==4&&(ve=2),Eo===null?Eo=[i]:Eo.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=ah(i,a,t);Yc(i,m);break e;case 1:l=a;var p=i.type,g=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(wn===null||!wn.has(g)))){i.flags|=65536,t&=-t,i.lanes|=t;var C=uh(i,l,t);Yc(i,C);break e}}i=i.return}while(i!==null)}_h(n)}catch(k){t=k,he===n&&n!==null&&(he=n=n.return);continue}break}while(!0)}function Ph(){var e=fs.current;return fs.current=ds,e===null?ds:e}function Ou(){(ve===0||ve===3||ve===2)&&(ve=4),xe===null||!(er&268435455)&&!(Ls&268435455)||sn(xe,Se)}function ms(e,t){var n=Q;Q|=2;var r=Ph();(xe!==e||Se!==t)&&(Dt=null,Yn(e,t));do try{Uy();break}catch(o){bh(e,o)}while(!0);if(hu(),Q=n,fs.current=r,he!==null)throw Error(T(261));return xe=null,Se=0,ve}function Uy(){for(;he!==null;)Nh(he)}function By(){for(;he!==null&&!pv();)Nh(he)}function Nh(e){var t=jh(e.alternate,e,We);e.memoizedProps=e.pendingProps,t===null?_h(e):he=t,Nu.current=null}function _h(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=My(n,t),n!==null){n.flags&=32767,he=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{ve=6,he=null;return}}else if(n=Ly(n,t,We),n!==null){he=n;return}if(t=t.sibling,t!==null){he=t;return}he=t=e}while(t!==null);ve===0&&(ve=5)}function Dn(e,t,n){var r=X,o=nt.transition;try{nt.transition=null,X=1,Vy(e,t,n,r)}finally{nt.transition=o,X=r}return null}function Vy(e,t,n,r){do Er();while(pn!==null);if(Q&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(kv(e,i),e===xe&&(he=xe=null,Se=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Pi||(Pi=!0,Rh(qi,function(){return Er(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=nt.transition,nt.transition=null;var s=X;X=1;var l=Q;Q|=4,Nu.current=null,Iy(e,n),Ch(n,e),uy(ra),Zi=!!na,ra=na=null,e.current=n,Dy(n),hv(),Q=l,X=s,nt.transition=i}else e.current=n;if(Pi&&(Pi=!1,pn=e,hs=o),i=e.pendingLanes,i===0&&(wn=null),vv(n.stateNode),$e(e,fe()),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(ps)throw ps=!1,e=ka,ka=null,e;return hs&1&&e.tag!==0&&Er(),i=e.pendingLanes,i&1?e===Ea?bo++:(bo=0,Ea=e):bo=0,On(),null}function Er(){if(pn!==null){var e=ap(hs),t=nt.transition,n=X;try{if(nt.transition=null,X=16>e?16:e,pn===null)var r=!1;else{if(e=pn,pn=null,hs=0,Q&6)throw Error(T(331));var o=Q;for(Q|=4,M=e.current;M!==null;){var i=M,s=i.child;if(M.flags&16){var l=i.deletions;if(l!==null){for(var a=0;a<l.length;a++){var u=l[a];for(M=u;M!==null;){var f=M;switch(f.tag){case 0:case 11:case 15:ko(8,f,i)}var d=f.child;if(d!==null)d.return=f,M=d;else for(;M!==null;){f=M;var h=f.sibling,x=f.return;if(xh(f),f===u){M=null;break}if(h!==null){h.return=x,M=h;break}M=x}}}var S=i.alternate;if(S!==null){var y=S.child;if(y!==null){S.child=null;do{var w=y.sibling;y.sibling=null,y=w}while(y!==null)}}M=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,M=s;else e:for(;M!==null;){if(i=M,i.flags&2048)switch(i.tag){case 0:case 11:case 15:ko(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,M=m;break e}M=i.return}}var p=e.current;for(M=p;M!==null;){s=M;var g=s.child;if(s.subtreeFlags&2064&&g!==null)g.return=s,M=g;else e:for(s=p;M!==null;){if(l=M,l.flags&2048)try{switch(l.tag){case 0:case 11:case 15:As(9,l)}}catch(k){de(l,l.return,k)}if(l===s){M=null;break e}var C=l.sibling;if(C!==null){C.return=l.return,M=C;break e}M=l.return}}if(Q=o,On(),Nt&&typeof Nt.onPostCommitFiberRoot=="function")try{Nt.onPostCommitFiberRoot(bs,e)}catch{}r=!0}return r}finally{X=n,nt.transition=t}}return!1}function gd(e,t,n){t=$r(n,t),t=ah(e,t,1),e=xn(e,t,1),t=Oe(),e!==null&&(Jo(e,1,t),$e(e,t))}function de(e,t,n){if(e.tag===3)gd(e,e,n);else for(;t!==null;){if(t.tag===3){gd(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(wn===null||!wn.has(r))){e=$r(n,e),e=uh(t,e,1),t=xn(t,e,1),e=Oe(),t!==null&&(Jo(t,1,e),$e(t,e));break}}t=t.return}}function Wy(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Oe(),e.pingedLanes|=e.suspendedLanes&n,xe===e&&(Se&n)===n&&(ve===4||ve===3&&(Se&130023424)===Se&&500>fe()-Tu?Yn(e,0):_u|=n),$e(e,t)}function Th(e,t){t===0&&(e.mode&1?(t=gi,gi<<=1,!(gi&130023424)&&(gi=4194304)):t=1);var n=Oe();e=Kt(e,t),e!==null&&(Jo(e,t,n),$e(e,n))}function Hy(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Th(e,n)}function Ky(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),Th(e,n)}var jh;jh=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||De.current)Ie=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ie=!1,Ay(e,t,n);Ie=!!(e.flags&131072)}else Ie=!1,oe&&t.flags&1048576&&Lp(t,is,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;$i(e,t),e=t.pendingProps;var o=Fr(t,_e.current);kr(t,n),o=Cu(null,t,r,e,o,n);var i=ku();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,ze(r)?(i=!0,rs(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,vu(t),o.updater=Os,t.stateNode=o,o._reactInternals=t,fa(t,r,e,n),t=ma(null,t,r,!0,i,n)):(t.tag=0,oe&&i&&cu(t),je(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch($i(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Gy(r),e=at(r,e),o){case 0:t=ha(null,t,r,e,n);break e;case 1:t=sd(null,t,r,e,n);break e;case 11:t=od(null,t,r,e,n);break e;case 14:t=id(null,t,r,at(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:at(r,o),ha(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:at(r,o),sd(e,t,r,o,n);case 3:e:{if(ph(t),e===null)throw Error(T(387));
vendor: 5,688 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,$p(e,t),as(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=$r(Error(T(423)),t),t=ld(e,t,r,n,o);break e}else if(r!==o){o=$r(Error(T(424)),t),t=ld(e,t,r,n,o);break e}else for(Ke=yn(t.stateNode.containerInfo.firstChild),Qe=t,oe=!0,pt=null,n=Dp(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Ir(),r===o){t=Qt(e,t,n);break e}je(e,t,r,n)}t=t.child}return t;case 5:return Up(t),e===null&&ua(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,oa(r,o)?s=null:i!==null&&oa(r,i)&&(t.flags|=32),fh(e,t),je(e,t,s,n),t.child;case 6:return e===null&&ua(t),null;case 13:return hh(e,t,n);case 4:return yu(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Dr(t,null,r,n):je(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:at(r,o),od(e,t,r,o,n);case 7:return je(e,t,t.pendingProps,n),t.child;case 8:return je(e,t,t.pendingProps.children,n),t.child;case 12:return je(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,J(ss,r._currentValue),r._currentValue=s,i!==null)if(gt(i.value,s)){if(i.children===o.children&&!De.current){t=Qt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var l=i.dependencies;if(l!==null){s=i.child;for(var a=l.firstContext;a!==null;){if(a.context===r){if(i.tag===1){a=Vt(-1,n&-n),a.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var f=u.pending;f===null?a.next=a:(a.next=f.next,f.next=a),u.pending=a}}i.lanes|=n,a=i.alternate,a!==null&&(a.lanes|=n),ca(i.return,n,t),l.lanes|=n;break}a=a.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(T(341));s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),ca(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}je(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,kr(t,n),o=rt(o),r=r(o),t.flags|=1,je(e,t,r,n),t.child;case 14:return r=t.type,o=at(r,t.pendingProps),o=at(r.type,o),id(e,t,r,o,n);case 15:return ch(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:at(r,o),$i(e,t),t.tag=1,ze(r)?(e=!0,rs(t)):e=!1,kr(t,n),lh(t,r,o),fa(t,r,o,n),ma(null,t,r,!0,e,n);case 19:return mh(e,t,n);case 22:return dh(e,t,n)}throw Error(T(156,t.tag))};function Rh(e,t){return op(e,t)}function Qy(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 tt(e,t,n,r){return new Qy(e,t,n,r)}function Au(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Gy(e){if(typeof e=="function")return Au(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Za)return 11;if(e===Ja)return 14}return 2}function Cn(e,t){var n=e.alternate;return n===null?(n=tt(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 Vi(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Au(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case ar:return qn(n.children,o,i,t);case Xa:s=8,o|=8;break;case Fl:return e=tt(12,n,t,o|2),e.elementType=Fl,e.lanes=i,e;case Il:return e=tt(13,n,t,o),e.elementType=Il,e.lanes=i,e;case Dl:return e=tt(19,n,t,o),e.elementType=Dl,e.lanes=i,e;case Uf:return Ms(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case zf:s=10;break e;case $f:s=9;break e;case Za:s=11;break e;case Ja:s=14;break e;case nn:s=16,r=null;break e}throw Error(T(130,e==null?e:typeof e,""))}return t=tt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function qn(e,t,n,r){return e=tt(7,e,r,t),e.lanes=n,e}function Ms(e,t,n,r){return e=tt(22,e,r,t),e.elementType=Uf,e.lanes=n,e.stateNode={isHidden:!1},e}function El(e,t,n){return e=tt(6,e,null,t),e.lanes=n,e}function bl(e,t,n){return t=tt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Yy(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 Lu(e,t,n,r,o,i,s,l,a){return e=new Yy(e,t,n,l,a),t===1?(t=1,i===!0&&(t|=8)):t=0,i=tt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},vu(i),e}
vendor: 4,671 bytes, line 40
40function qy(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:lr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Oh(e){if(!e)return bn;e=e._reactInternals;e:{if(or(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(ze(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(ze(n))return Op(e,n,t)}return t}function Ah(e,t,n,r,o,i,s,l,a){return e=Lu(n,r,!0,e,o,i,s,l,a),e.context=Oh(null),n=e.current,r=Oe(),o=Sn(n),i=Vt(r,o),i.callback=t??null,xn(n,i,o),e.current.lanes=o,Jo(e,o,r),$e(e,r),e}function Fs(e,t,n,r){var o=t.current,i=Oe(),s=Sn(o);return n=Oh(n),t.context===null?t.context=n:t.pendingContext=n,t=Vt(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=xn(o,t,s),e!==null&&(mt(e,o,s,i),Ii(e,o,s)),s}function gs(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 vd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Mu(e,t){vd(e,t),(e=e.alternate)&&vd(e,t)}function Xy(){return null}var Lh=typeof reportError=="function"?reportError:function(e){console.error(e)};function Fu(e){this._internalRoot=e}Is.prototype.render=Fu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(T(409));Fs(e,t,null,null)};Is.prototype.unmount=Fu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;tr(function(){Fs(null,e,null,null)}),t[Ht]=null}};function Is(e){this._internalRoot=e}Is.prototype.unstable_scheduleHydration=function(e){if(e){var t=dp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<on.length&&t!==0&&t<on[n].priority;n++);on.splice(n,0,e),n===0&&pp(e)}};function Iu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ds(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function yd(){}function Zy(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=gs(s);i.call(u)}}var s=Ah(t,r,e,0,null,!1,!1,"",yd);return e._reactRootContainer=s,e[Ht]=s.current,Mo(e.nodeType===8?e.parentNode:e),tr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var l=r;r=function(){var u=gs(a);l.call(u)}}var a=Lu(e,0,!1,null,null,!1,!1,"",yd);return e._reactRootContainer=a,e[Ht]=a.current,Mo(e.nodeType===8?e.parentNode:e),tr(function(){Fs(t,a,n,r)}),a}function zs(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var l=o;o=function(){var a=gs(s);l.call(a)}}Fs(t,s,e,o)}else s=Zy(n,t,e,o,r);return gs(s)}up=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=mo(t.pendingLanes);n!==0&&(nu(t,n|1),$e(t,fe()),!(Q&6)&&(Ur=fe()+500,On()))}break;case 13:tr(function(){var r=Kt(e,1);if(r!==null){var o=Oe();mt(r,e,1,o)}}),Mu(e,1)}};ru=function(e){if(e.tag===13){var t=Kt(e,134217728);if(t!==null){var n=Oe();mt(t,e,134217728,n)}Mu(e,134217728)}};cp=function(e){if(e.tag===13){var t=Sn(e),n=Kt(e,t);if(n!==null){var r=Oe();mt(n,e,t,r)}Mu(e,t)}};dp=function(){return X};fp=function(e,t){var n=X;try{return X=e,t()}finally{X=n}};Gl=function(e,t,n){switch(t){case"input":if(Ul(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=Ts(r);if(!o)throw Error(T(90));Vf(r),Ul(r,o)}}}break;case"textarea":Hf(e,n);break;case"select":t=n.value,t!=null&&xr(e,!!n.multiple,t,!1)}};Zf=ju;Jf=tr;var Jy={usingClientEntryPoint:!1,Events:[ti,fr,Ts,qf,Xf,ju]},ao={findFiberByHostInstance:$n,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},e0={bundleType:ao.bundleType,version:ao.version,rendererPackageName:ao.rendererPackageName,rendererConfig:ao.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:qt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=np(e),e===null?null:e.stateNode},findFiberByHostInstance:ao.findFiberByHostInstance||Xy,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ni=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ni.isDisabled&&Ni.supportsFiber)try{bs=Ni.inject(e0),Nt=Ni}catch{}}qe.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Jy;qe.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Iu(t))throw Error(T(200));return qy(e,t,null,n)};qe.createRoot=function(e,t){if(!Iu(e))throw Error(T(299));var n=!1,r="",o=Lh;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Lu(e,1,!1,null,null,n,!1,r,o),e[Ht]=t.current,Mo(e.nodeType===8?e.parentNode:e),new Fu(t)};qe.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=np(t),e=e===null?null:e.stateNode,e};qe.flushSync=function(e){return tr(e)};qe.hydrate=function(e,t,n){if(!Ds(t))throw Error(T(200));return zs(null,e,t,!0,n)};qe.hydrateRoot=function(e,t,n){if(!Iu(e))throw Error(T(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=Lh;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=Ah(t,null,e,1,n??null,o,!1,i,s),e[Ht]=t.current,Mo(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 Is(t)};qe.render=function(e,t,n){if(!Ds(t))throw Error(T(200));return zs(null,e,t,!1,n)};qe.unmountComponentAtNode=function(e){if(!Ds(e))throw Error(T(40));return e._reactRootContainer?(tr(function(){zs(null,null,e,!1,function(){e._reactRootContainer=null,e[Ht]=null})}),!0):!1};qe.unstable_batchedUpdates=ju;qe.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ds(n))throw Error(T(200));if(e==null||e._reactInternals===void 0)throw Error(T(38));return zs(e,t,n,!1,r)};qe.version="18.3.1-next-f1338f8080-20240426";function Mh(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Mh)}catch(e){console.error(e)}}Mh(),Mf.exports=qe;var ri=Mf.exports;const t0=Cf(ri);var Fh,xd=ri;Fh=xd.createRoot,xd.hydrateRoot;var $s=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Us=typeof window>"u"||"Deno"in globalThis;function ut(){}function n0(e,t){return typeof e=="function"?e(t):e}function r0(e){return typeof e=="number"&&e>=0&&e!==1/0}function o0(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Na(e,t){return typeof e=="function"?e(t):e}function i0(e,t){return typeof e=="function"?e(t):e}function wd(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:l}=e;if(s){if(r){if(t.queryHash!==Du(s,t.options))return!1}else if(!Ho(t.queryKey,s))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof l=="boolean"&&t.isStale()!==l||o&&o!==t.state.fetchStatus||i&&!i(t))}function Sd(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Wo(t.options.mutationKey)!==Wo(i))return!1}else if(!Ho(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Du(e,t){return((t==null?void 0:t.queryKeyHashFn)||Wo)(e)}function Wo(e){return JSON.stringify(e,(t,n)=>_a(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ho(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ho(e[n],t[n])):!1}function Ih(e,t){if(e===t)return e;const n=Cd(e)&&Cd(t);if(n||_a(e)&&_a(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,l=n?[]:{},a=new Set(r);let u=0;for(let f=0;f<s;f++){const d=n?f:i[f];(!n&&a.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(l[d]=void 0,u++):(l[d]=Ih(e[d],t[d]),l[d]===e[d]&&e[d]!==void 0&&u++)}return o===s&&u===o?e:l}return t}function Cd(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function _a(e){if(!kd(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!kd(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function kd(e){return Object.prototype.toString.call(e)==="[object Object]"}function s0(e){return new Promise(t=>{setTimeout(t,e)})}function l0(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Ih(e,t):t}function a0(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function u0(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var zu=Symbol();function Dh(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===zu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Vn,ln,Nr,hf,c0=(hf=class extends $s{constructor(){super();G(this,Vn);G(this,ln);G(this,Nr);z(this,Nr,t=>{if(!Us&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){P(this,ln)||this.setEventListener(P(this,Nr))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,ln))==null||t.call(this),z(this,ln,void 0))}setEventListener(t){var n;z(this,Nr,t),(n=P(this,ln))==null||n.call(this),z(this,ln,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){P(this,Vn)!==t&&(z(this,Vn,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 4,900 bytes, line 40
40this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof P(this,Vn)=="boolean"?P(this,Vn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Vn=new WeakMap,ln=new WeakMap,Nr=new WeakMap,hf),zh=new c0,_r,an,Tr,mf,d0=(mf=class extends $s{constructor(){super();G(this,_r,!0);G(this,an);G(this,Tr);z(this,Tr,t=>{if(!Us&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){P(this,an)||this.setEventListener(P(this,Tr))}onUnsubscribe(){var t;this.hasListeners()||((t=P(this,an))==null||t.call(this),z(this,an,void 0))}setEventListener(t){var n;z(this,Tr,t),(n=P(this,an))==null||n.call(this),z(this,an,t(this.setOnline.bind(this)))}setOnline(t){P(this,_r)!==t&&(z(this,_r,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return P(this,_r)}},_r=new WeakMap,an=new WeakMap,Tr=new WeakMap,mf),vs=new d0;function f0(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function p0(e){return Math.min(1e3*2**e,3e4)}function $h(e){return(e??"online")==="online"?vs.isOnline():!0}var Uh=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Pl(e){return e instanceof Uh}function Bh(e){let t=!1,n=0,r=!1,o;const i=f0(),s=y=>{var w;r||(h(new Uh(y)),(w=e.abort)==null||w.call(e))},l=()=>{t=!0},a=()=>{t=!1},u=()=>zh.isFocused()&&(e.networkMode==="always"||vs.isOnline())&&e.canRun(),f=()=>$h(e.networkMode)&&e.canRun(),d=y=>{var w;r||(r=!0,(w=e.onSuccess)==null||w.call(e,y),o==null||o(),i.resolve(y))},h=y=>{var w;r||(r=!0,(w=e.onError)==null||w.call(e,y),o==null||o(),i.reject(y))},x=()=>new Promise(y=>{var w;o=m=>{(r||u())&&y(m)},(w=e.onPause)==null||w.call(e)}).then(()=>{var y;o=void 0,r||(y=e.onContinue)==null||y.call(e)}),S=()=>{if(r)return;let y;const w=n===0?e.initialPromise:void 0;try{y=w??e.fn()}catch(m){y=Promise.reject(m)}Promise.resolve(y).then(d).catch(m=>{var b;if(r)return;const p=e.retry??(Us?0:3),g=e.retryDelay??p0,C=typeof g=="function"?g(n,m):g,k=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,m);if(t||!k){h(m);return}n++,(b=e.onFail)==null||b.call(e,n,m),s0(C).then(()=>u()?void 0:x()).then(()=>{t?h(m):S()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:l,continueRetry:a,canStart:f,start:()=>(f()?S():x().then(S),i)}}var h0=e=>setTimeout(e,0);function m0(){let e=[],t=0,n=l=>{l()},r=l=>{l()},o=h0;const i=l=>{t?e.push(l):o(()=>{n(l)})},s=()=>{const l=e;e=[],l.length&&o(()=>{r(()=>{l.forEach(a=>{n(a)})})})};return{batch:l=>{let a;t++;try{a=l()}finally{t--,t||s()}return a},batchCalls:l=>(...a)=>{i(()=>{l(...a)})},schedule:i,setNotifyFunction:l=>{n=l},setBatchNotifyFunction:l=>{r=l},setScheduler:l=>{o=l}}}var Re=m0(),Wn,gf,Vh=(gf=class{constructor(){G(this,Wn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),r0(this.gcTime)&&z(this,Wn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Us?1/0:5*60*1e3))}clearGcTimeout(){P(this,Wn)&&(clearTimeout(P(this,Wn)),z(this,Wn,void 0))}},Wn=new WeakMap,gf),jr,Hn,Ze,Kn,Pe,qo,Qn,ct,It,vf,g0=(vf=class extends Vh{constructor(t){super();G(this,ct);G(this,jr);G(this,Hn);G(this,Ze);G(this,Kn);G(this,Pe);G(this,qo);G(this,Qn);z(this,Qn,!1),z(this,qo,t.defaultOptions),this.setOptions(t.options),this.observers=[],z(this,Kn,t.client),z(this,Ze,P(this,Kn).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,z(this,jr,y0(this.options)),this.state=t.state??P(this,jr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=P(this,Pe))==null?void 0:t.promise}setOptions(t){this.options={...P(this,qo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&P(this,Ze).remove(this)}setData(t,n){const r=l0(this.state.data,t,this.options);return ke(this,ct,It).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){ke(this,ct,It).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=P(this,Pe))==null?void 0:r.promise;return(o=P(this,Pe))==null||o.cancel(t),n?n.then(ut).catch(ut):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(P(this,jr))}isActive(){return this.observers.some(t=>i0(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===zu||this.state.dataUpdateCount+this.state.errorUpdate
vendor: 1,274 bytes, line 40
40Count===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Na(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!o0(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,Pe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=P(this,Pe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),P(this,Ze).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(P(this,Pe)&&(P(this,Qn)?P(this,Pe).cancel({revert:!0}):P(this,Pe).cancelRetry()),this.scheduleGc()),P(this,Ze).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||ke(this,ct,It).call(this,{type:"invalidate"})}
vendor: 14,108 bytes, line 40
40fetch(t,n){var u,f,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(P(this,Pe))return P(this,Pe).continueRetry(),P(this,Pe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(x=>x.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(z(this,Qn,!0),r.signal)})},i=()=>{const h=Dh(this.options,n),S=(()=>{const y={client:P(this,Kn),queryKey:this.queryKey,meta:this.meta};return o(y),y})();return z(this,Qn,!1),this.options.persister?this.options.persister(h,S,this):h(S)},l=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:P(this,Kn),state:this.state,fetchFn:i};return o(h),h})();(u=this.options.behavior)==null||u.onFetch(l,this),z(this,Hn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((f=l.fetchOptions)==null?void 0:f.meta))&&ke(this,ct,It).call(this,{type:"fetch",meta:(d=l.fetchOptions)==null?void 0:d.meta});const a=h=>{var x,S,y,w;Pl(h)&&h.silent||ke(this,ct,It).call(this,{type:"error",error:h}),Pl(h)||((S=(x=P(this,Ze).config).onError)==null||S.call(x,h,this),(w=(y=P(this,Ze).config).onSettled)==null||w.call(y,this.state.data,h,this)),this.scheduleGc()};return z(this,Pe,Bh({initialPromise:n==null?void 0:n.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var x,S,y,w;if(h===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(m){a(m);return}(S=(x=P(this,Ze).config).onSuccess)==null||S.call(x,h,this),(w=(y=P(this,Ze).config).onSettled)==null||w.call(y,h,this.state.error,this),this.scheduleGc()},onError:a,onFail:(h,x)=>{ke(this,ct,It).call(this,{type:"failed",failureCount:h,error:x})},onPause:()=>{ke(this,ct,It).call(this,{type:"pause"})},onContinue:()=>{ke(this,ct,It).call(this,{type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0})),P(this,Pe).start()}},jr=new WeakMap,Hn=new WeakMap,Ze=new WeakMap,Kn=new WeakMap,Pe=new WeakMap,qo=new WeakMap,Qn=new WeakMap,ct=new WeakSet,It=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...v0(r.data,this.options),fetchMeta:t.meta??null};case"success":return z(this,Hn,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Pl(o)&&o.revert&&P(this,Hn)?{...P(this,Hn),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Re.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),P(this,Ze).notify({query:this,type:"updated",action:t})})},vf);function v0(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:$h(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function y0(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ct,yf,x0=(yf=class extends $s{constructor(t={}){super();G(this,Ct);this.config=t,z(this,Ct,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Du(o,n);let s=this.get(i);return s||(s=new g0({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){P(this,Ct).has(t.queryHash)||(P(this,Ct).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=P(this,Ct).get(t.queryHash);n&&(t.destroy(),n===t&&P(this,Ct).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Re.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return P(this,Ct).get(t)}getAll(){return[...P(this,Ct).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>wd(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>wd(t,r)):n}notify(t){Re.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Re.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Re.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Ct=new WeakMap,yf),kt,Te,Gn,Et,tn,xf,w0=(xf=class extends Vh{constructor(t){super();G(this,Et);G(this,kt);G(this,Te);G(this,Gn);this.mutationId=t.mutationId,z(this,Te,t.mutationCache),z(this,kt,[]),this.state=t.state||S0(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){P(this,kt).includes(t)||(P(this,kt).push(t),this.clearGcTimeout(),P(this,Te).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){z(this,kt,P(this,kt).filter(n=>n!==t)),this.scheduleGc(),P(this,Te).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){P(this,kt).length||(this.state.status==="pending"?this.scheduleGc():P(this,Te).remove(this))}continue(){var t;return((t=P(this,Gn))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,l,a,u,f,d,h,x,S,y,w,m,p,g,C,k,b,E,_;const n=()=>{ke(this,Et,tn).call(this,{type:"continue"})};z(this,Gn,Bh({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,j)=>{ke(this,Et,tn).call(this,{type:"failed",failureCount:R,error:j})},onPause:()=>{ke(this,Et,tn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>P(this,Te).canRun(this)}));const r=this.state.status==="pending",o=!P(this,Gn).canStart();try{if(r)n();else{ke(this,Et,tn).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=P(this,Te).config).onMutate)==null?void 0:s.call(i,t,this));const j=await((a=(l=this.options).onMutate)==null?void 0:a.call(l,t));j!==this.state.context&&ke(this,Et,tn).call(this,{type:"pending",context:j,variables:t,isPaused:o})}const R=await P(this,Gn).start();return await((f=(u=P(this,Te).config).onSuccess)==null?void 0:f.call(u,R,t,this.state.context,this)),await((h=(d=this.options).onSuccess)==null?void 0:h.call(d,R,t,this.state.context)),await((S=(x=P(this,Te).config).onSettled)==null?void 0:S.call(x,R,null,this.state.variables,this.state.context,this)),await((w=(y=this.options).onSettled)==null?void 0:w.call(y,R,null,t,this.state.context)),ke(this,Et,tn).call(this,{type:"success",data:R}),R}catch(R){try{throw await((p=(m=P(this,Te).config).onError)==null?void 0:p.call(m,R,t,this.state.context,this)),await((C=(g=this.options).onError)==null?void 0:C.call(g,R,t,this.state.context)),await((b=(k=P(this,Te).config).onSettled)==null?void 0:b.call(k,void 0,R,this.state.variables,this.state.context,this)),await((_=(E=this.options).onSettled)==null?void 0:_.call(E,void 0,R,t,this.state.context)),R}finally{ke(this,Et,tn).call(this,{type:"error",error:R})}}finally{P(this,Te).runNext(this)}}},kt=new WeakMap,Te=new WeakMap,Gn=new WeakMap,Et=new WeakSet,tn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),Re.batch(()=>{P(this,kt).forEach(r=>{r.onMutationUpdate(t)}),P(this,Te).notify({mutation:this,type:"updated",action:t})})},xf);function S0(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var $t,dt,Xo,wf,C0=(wf=class extends $s{constructor(t={}){super();G(this,$t);G(this,dt);G(this,Xo);this.config=t,z(this,$t,new Set),z(this,dt,new Map),z(this,Xo,0)}build(t,n,r){const o=new w0({mutationCache:this,mutationId:++ci(this,Xo)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){P(this,$t).add(t);const n=_i(t);if(typeof n=="string"){const r=P(this,dt).get(n);r?r.push(t):P(this,dt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(P(this,$t).delete(t)){const n=_i(t);if(typeof n=="string"){const r=P(this,dt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&P(this,dt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=_i(t);if(typeof n=="string"){const r=P(this,dt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=_i(t);if(typeof n=="string"){const o=(r=P(this,dt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Re.batch(()=>{P(this,$t).forEach(t=>{this.notify({type:"removed",mutation:t})}),P(this,$t).clear(),P(this,dt).clear()})}getAll(){return Array.from(P(this,$t))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Sd(n,r))}findAll(t={}){return this.getAll().filter(n=>Sd(t,n))}notify(t){Re.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Re.batch(()=>Promise.all(t.map(n=>n.continue().catch(ut))))}},$t=new WeakMap,dt=new WeakMap,Xo=new WeakMap,wf);function _i(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Ed(e){return{onFetch:(t,n)=>{var f,d,h,x,S;const r=t.options,o=(h=(d=(f=t.fetchOptions)==null?void 0:f.meta)==null?void 0:d.fetchMore)==null?void 0:h.direction,i=((x=t.state.data)==null?void 0:x.pages)||[],s=((S=t.state.data)==null?void 0:S.pageParams)||[];let l={pages:[],pageParams:[]},a=0;const u=async()=>{let y=!1;const w=g=>{Object.defineProperty(g,"signal",{enumerable:!0,get:()=>(t.signal.aborted?y=!0:t.signal.addEventListener("abort",()=>{y=!0}),t.signal)})},m=Dh(t.options,t.fetchOptions),p=async(g,C,k)=>{if(y)return Promise.reject();if(C==null&&g.pages.length)return Promise.resolve(g);const E=(()=>{const D={client:t.client,queryKey:t.queryKey,pageParam:C,direction:k?"backward":"forward",meta:t.options.meta};return w(D),D})(),_=await m(E),{maxPages:R}=t.options,j=k?u0:a0;return{pages:j(g.pages,_,R),pageParams:j(g.pageParams,C,R)}};if(o&&i.length){const g=o==="backward",C=g?k0:bd,k={pages:i,pageParams:s},b=C(r,k);l=await p(k,b,g)}else{const g=e??i.length;do{const C=a===0?s[0]??r.initialPageParam:bd(r,l);if(a>0&&C==null)break;l=await p(l,C),a++}while(a<g)}return l};t.options.persister?t.fetchFn=()=>{var y,w;return(w=(y=t.options).persister)==null?void 0:w.call(y,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function bd(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function k0(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var ue,un,cn,Rr,Or,dn,Ar,Lr,Sf,E0=(Sf=class{constructor(e={}){G(this,ue);G(this,un);G(this,cn);G(this,Rr);G(this,Or);G(this,dn);G(this,Ar);G(this,Lr);z(this,ue,e.queryCache||new x0),z(this,un,e.mutationCache||new C0),z(this,cn,e.defaultOptions||{}),z(this,Rr,new Map),z(this,Or,new Map),z(this,dn,0)}mount(){ci(this,dn)._++,P(this,dn)===1&&(z(this,Ar,zh.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,ue).onFocus())})),z(this,Lr,vs.subscribe(async e=>{e&&(await this.resumePausedMutations(),P(this,ue).onOnline())})))}unmount(){var e,t;ci(this,dn)._--,P(this,dn)===0&&((e=P(this,Ar))==null||e.call(this),z(this,Ar,void 0),(t=P(this,Lr))==null||t.call(this),z(this,Lr,void 0))}isFetching(e){return P(this,ue).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return P(this,un).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,ue).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=P(this,ue).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Na(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return P(this,ue).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=P(this,ue).get(r.queryHash),i=o==null?void 0:o.state.data,s=n0(t,i);if(s!==void 0)return P(this,ue).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return Re.batch(()=>P(this,ue).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=P(this,ue).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=P(this,ue);Re.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=P(this,ue);return Re.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Re.batch(()=>P(this,ue).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(ut).catch(ut)}invalidateQueries(e,t={}){return Re.batch(()=>(P(this,ue).findAll(e).forEach(n=>
40{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Re.batch(()=>P(this,ue).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(ut)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(ut)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=P(this,ue).build(this,t);return n.isStaleByTime(Na(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(ut).catch(ut)}fetchInfiniteQuery(e){return e.behavior=Ed(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(ut).catch(ut)}ensureInfiniteQueryData(e){return e.behavior=Ed(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return vs.isOnline()?P(this,un).resumePausedMutations():Promise.resolve()}getQueryCache(){return P(this,ue)}getMutationCache(){return P(this,un)}getDefaultOptions(){return P(this,cn)}setDefaultOptions(e){z(this,cn,e)}setQueryDefaults(e,t){P(this,Rr).set(Wo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...P(this,Rr).values()],n={};return t.forEach(r=>{Ho(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){P(this,Or).set(Wo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...P(this,Or).values()],n={};return t.forEach(r=>{Ho(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...P(this,cn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Du(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===zu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...P(this,cn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){P(this,ue).clear(),P(this,un).clear()}},ue=new WeakMap,un=new WeakMap,cn=new WeakMap,Rr=new WeakMap,Or=new WeakMap,dn=new WeakMap,Ar=new WeakMap,Lr=new WeakMap,Sf),b0=v.createContext(void 0),P0=({client:e,children:t})=>(v.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),c.jsx(b0.Provider,{value:e,children:t}));/** 41 * @remix-run/router v1.23.2 42 * 43 * Copyright (c) Remix Software Inc. 44 * 45 * This source code is licensed under the MIT license found in the 46 * LICENSE.md file in the root directory of this source tree. 47 * 48 * @license MIT 49 */function Ko(){return Ko=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ko.apply(this,arguments)}var hn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(hn||(hn={}));const Pd="popstate";function N0(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:l}=r.location;return Ta("",{pathname:i,search:s,hash:l},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:ys(o)}return T0(t,n,null,e)}function pe(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function $u(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function _0(){return Math.random().toString(36).substr(2,8)}function Nd(e,t){return{usr:e.state,key:e.key,idx:t}}function Ta(e,t,n,r){return n===void 0&&(n=null),Ko({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Qr(t):t,{state:n,key:t&&t.key||r||_0()})}function ys(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Qr(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function T0(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,l=hn.Pop,a=null,u=f();u==null&&(u=0,s.replaceState(Ko({},s.state,{idx:u}),""));function f(){return(s.state||{idx:null}).idx}function d(){l=hn.Pop;let w=f(),m=w==null?null:w-u;u=w,a&&a({action:l,location:y.location,delta:m})}function h(w,m){l=hn.Push;let p=Ta(y.location,w,m);u=f()+1;let g=Nd(p,u),C=y.createHref(p);try{s.pushState(g,"",C)}catch(k){if(k instanceof DOMException&&k.name==="DataCloneError")throw k;o.location.assign(C)}i&&a&&a({action:l,location:y.location,delta:1})}function x(w,m){l=hn.Replace;let p=Ta(y.location,w,m);u=f();let g=Nd(p,u),C=y.createHref(p);s.replaceState(g,"",C),i&&a&&a({action:l,location:y.location,delta:0})}function S(w){let m=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof w=="string"?w:ys(w);return p=p.replace(/ $/,"%20"),pe(m,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,m)}let y={get action(){return l},get location(){return e(o,s)},listen(w){if(a)throw new Error("A history only accepts one active listener");return o.addEventListener(Pd,d),a=w,()=>{o.removeEventListener(Pd,d),a=null}},createHref(w){return t(o,w)},createURL:S,encodeLocation(w){let m=S(w);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:h,replace:x,go(w){return s.go(w)}};return y}var _d;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(_d||(_d={}));function j0(e,t,n){return n===void 0&&(n="/"),R0(e,t,n)}function R0(e,t,n,r){let o=typeof t=="string"?Qr(t):t,i=Uu(o.pathname||"/",n);if(i==null)return null;let s=Wh(e);O0(s);let l=null;for(let a=0;l==null&&a<s.length;++a){let u=W0(i);l=U0(s[a],u)}return l}function Wh(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,l)=>{let a={relativePath:l===void 0?i.path||"":l,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};a.relativePath.startsWith("/")&&(pe(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not val
49id. An absolute child route path ')+"must start with the combined path of all its parent routes."),a.relativePath=a.relativePath.slice(r.length));let u=kn([r,a.relativePath]),f=n.concat(a);i.children&&i.children.length>0&&(pe(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Wh(i.children,t,f,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:z0(u,i.index),routesMeta:f})};return e.forEach((i,s)=>{var l;if(i.path===""||!((l=i.path)!=null&&l.includes("?")))o(i,s);else for(let a of Hh(i.path))o(i,s,a)}),t}function Hh(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 s=Hh(r.join("/")),l=[];return l.push(...s.map(a=>a===""?i:[i,a].join("/"))),o&&l.push(...s),l.map(a=>e.startsWith("/")&&a===""?"/":a)}function O0(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:$0(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const A0=/^:[\w-]+$/,L0=3,M0=2,F0=1,I0=10,D0=-2,Td=e=>e==="*";function z0(e,t){let n=e.split("/"),r=n.length;return n.some(Td)&&(r+=D0),t&&(r+=M0),n.filter(o=>!Td(o)).reduce((o,i)=>o+(A0.test(i)?L0:i===""?F0:I0),r)}function $0(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 U0(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let l=0;l<r.length;++l){let a=r[l],u=l===r.length-1,f=i==="/"?t:t.slice(i.length)||"/",d=B0({path:a.relativePath,caseSensitive:a.caseSensitive,end:u},f),h=a.route;if(!d)return null;
vendor: 4,788 bytes, lines 49-58
49Object.assign(o,d.params),s.push({params:o,pathname:kn([i,d.pathname]),pathnameBase:Y0(kn([i,d.pathnameBase])),route:h}),d.pathnameBase!=="/"&&(i=kn([i,d.pathnameBase]))}return s}function B0(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=V0(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),l=o.slice(1);return{params:r.reduce((u,f,d)=>{let{paramName:h,isOptional:x}=f;if(h==="*"){let y=l[d]||"";s=i.slice(0,i.length-y.length).replace(/(.)\/+$/,"$1")}const S=l[d];return x&&!S?u[h]=void 0:u[h]=(S||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function V0(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),$u(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,(s,l,a)=>(r.push({paramName:l,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function W0(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return $u(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Uu(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)||"/"}const H0=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,K0=e=>H0.test(e);function Q0(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Qr(e):e,i;if(n)if(K0(n))i=n;else{if(n.includes("//")){let s=n;n=n.replace(/\/\/+/g,"/"),$u(!1,"Pathnames cannot have embedded double slashes - normalizing "+(s+" -> "+n))}n.startsWith("/")?i=jd(n.substring(1),"/"):i=jd(n,t)}else i=t;return{pathname:i,search:q0(r),hash:X0(o)}}function jd(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Nl(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 G0(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Bu(e,t){let n=G0(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Vu(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Qr(e):(o=Ko({},e),pe(!o.pathname||!o.pathname.includes("?"),Nl("?","pathname","search",o)),pe(!o.pathname||!o.pathname.includes("#"),Nl("#","pathname","hash",o)),pe(!o.search||!o.search.includes("#"),Nl("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,l;if(s==null)l=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),d-=1;o.pathname=h.join("/")}l=d>=0?t[d]:"/"}let a=Q0(o,l),u=s&&s!=="/"&&s.endsWith("/"),f=(i||s===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||f)&&(a.pathname+="/"),a}const kn=e=>e.join("/").replace(/\/\/+/g,"/"),Y0=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),q0=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,X0=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function Z0(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Kh=["post","put","patch","delete"];new Set(Kh);const J0=["get",...Kh];new Set(J0);/** 50 * React Router v6.30.3 51 * 52 * Copyright (c) Remix Software Inc. 53 * 54 * This source code is licensed under the MIT license found in the 55 * LICENSE.md file in the root directory of this source tree. 56 * 57 * @license MIT 58 */function Qo(){return Qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Qo.apply(this,arguments)}const Wu=v.createContext(null),ex=v.createContext(null),An=v.createContext(null),Bs=v.createContext(null),Ln=v.createContext({outlet:null,matches:[],isDataRoute:!1}),Qh=v.createContext(null);function tx(e,t){let{relative:n}=t===void 0?{}:t;Gr()||pe(!1);let{basename:r,navigator:o}=v.useContext(An),{hash:i,pathname:s,search:l}=Yh(e,{relative:n}),a=s;
vendor: 4,666 bytes, line 58
58return r!=="/"&&(a=s==="/"?r:kn([r,s])),o.createHref({pathname:a,search:l,hash:i})}function Gr(){return v.useContext(Bs)!=null}function Ot(){return Gr()||pe(!1),v.useContext(Bs).location}function Gh(e){v.useContext(An).static||v.useLayoutEffect(e)}function Vs(){let{isDataRoute:e}=v.useContext(Ln);return e?hx():nx()}function nx(){Gr()||pe(!1);let e=v.useContext(Wu),{basename:t,future:n,navigator:r}=v.useContext(An),{matches:o}=v.useContext(Ln),{pathname:i}=Ot(),s=JSON.stringify(Bu(o,n.v7_relativeSplatPath)),l=v.useRef(!1);return Gh(()=>{l.current=!0}),v.useCallback(function(u,f){if(f===void 0&&(f={}),!l.current)return;if(typeof u=="number"){r.go(u);return}let d=Vu(u,JSON.parse(s),i,f.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:kn([t,d.pathname])),(f.replace?r.replace:r.push)(d,f.state,f)},[t,r,s,i,e])}function Yh(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=v.useContext(An),{matches:o}=v.useContext(Ln),{pathname:i}=Ot(),s=JSON.stringify(Bu(o,r.v7_relativeSplatPath));return v.useMemo(()=>Vu(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function rx(e,t){return ox(e,t)}function ox(e,t,n,r){Gr()||pe(!1);let{navigator:o}=v.useContext(An),{matches:i}=v.useContext(Ln),s=i[i.length-1],l=s?s.params:{};s&&s.pathname;let a=s?s.pathnameBase:"/";s&&s.route;let u=Ot(),f;if(t){var d;let w=typeof t=="string"?Qr(t):t;a==="/"||(d=w.pathname)!=null&&d.startsWith(a)||pe(!1),f=w}else f=u;let h=f.pathname||"/",x=h;if(a!=="/"){let w=a.replace(/^\//,"").split("/");x="/"+h.replace(/^\//,"").split("/").slice(w.length).join("/")}let S=j0(e,{pathname:x}),y=ux(S&&S.map(w=>Object.assign({},w,{params:Object.assign({},l,w.params),pathname:kn([a,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?a:kn([a,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),i,n,r);return t&&y?v.createElement(Bs.Provider,{value:{location:Qo({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:hn.Pop}},y):y}function ix(){let e=px(),t=Z0(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),n?v.createElement("pre",{style:o},n):null,null)}const sx=v.createElement(ix,null);class lx extends v.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?v.createElement(Ln.Provider,{value:this.props.routeContext},v.createElement(Qh.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function ax(e){let{routeContext:t,match:n,children:r}=e,o=v.useContext(Wu);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),v.createElement(Ln.Provider,{value:t},r)}function ux(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,l=(o=n)==null?void 0:o.errors;if(l!=null){let f=s.findIndex(d=>d.route.id&&(l==null?void 0:l[d.route.id])!==void 0);f>=0||pe(!1),s=s.slice(0,Math.min(s.length,f+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let f=0;f<s.length;f++){let d=s[f];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=f),d.route.id){let{loaderData:h,errors:x}=n,S=d.route.loader&&h[d.route.id]===void 0&&(!x||x[d.route.id]===void 0);if(d.route.lazy||S){a=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((f,d,h)=>{let x,S=!1,y=null,w=null;n&&(x=l&&d.route.id?l[d.route.id]:void 0,y=d.route.errorElement||sx,a&&(u<0&&h===0?(mx("route-fallback"),S=!0,w=null):u===h&&(S=!0,w=d.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,h+1)),p=()=>{let g;return x?g=y:S?g=w:d.route.Component?g=v.createElement(d.route.Component,null):d.route.element?g=d.route.element:g=f,v.createElement(ax,{match:d,routeC
58ontext:{outlet:f,matches:m,isDataRoute:n!=null},children:g})};return n&&(d.route.ErrorBoundary||d.route.errorElement||h===0)?v.createElement(lx,{location:n.location,revalidation:n.revalidation,component:y,error:x,children:p(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):p()},null)}var qh=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(qh||{}),Xh=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Xh||{});function cx(e){let t=v.useContext(Wu);return t||pe(!1),t}function dx(e){let t=v.useContext(ex);return t||pe(!1),t}function fx(e){let t=v.useContext(Ln);return t||pe(!1),t}function Zh(e){let t=fx(),n=t.matches[t.matches.length-1];return n.route.id||pe(!1),n.route.id}function px(){var e;let t=v.useContext(Qh),n=dx(),r=Zh();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function hx(){let{router:e}=cx(qh.UseNavigateStable),t=Zh(Xh.UseNavigateStable),n=v.useRef(!1);return Gh(()=>{n.current=!0}),v.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,Qo({fromRouteId:t},i)))},[e,t])}const Rd={};function mx(e,t,n){Rd[e]||(Rd[e]=!0)}function gx(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function vx(e){let{to:t,replace:n,state:r,relative:o}=e;Gr()||pe(!1);let{future:i,static:s}=v.useContext(An),{matches:l}=v.useContext(Ln),{pathname:a}=Ot(),u=Vs(),f=Vu(t,Bu(l,i.v7_relativeSplatPath),a,o==="path"),d=JSON.stringify(f);return v.useEffect(()=>u(JSON.parse(d),{replace:n,state:r,relative:o}),[u,d,o,n,r]),null}function zn(e){pe(!1)}function yx(e){let{basename:t="/",children:n=null,location:r,navigationType:o=hn.Pop,navigator:i,static:s=!1,future:l}=e;Gr()&&pe(!1);let a=t.replace(/^\/*/,"/"),u=v.useMemo(()=>({basename:a,navigator:i,static:s,future:Qo({v7_relativeSplatPath:!1},l)}),[a,l,i,s]);typeof r=="string"&&(r=Qr(r));let{pathname:f="/",search:d="",hash:h="",state:x=null,key:S="default"}=r,y=v.useMemo(()=>{let w=Uu(f,a);return w==null?null:{location:{pathname:w,search:d,hash:h,state:x,key:S},navigationType:o}},[a,f,d,h,x,S,o]);return y==null?null:v.createElement(An.Provider,{value:u},v.createElement(Bs.Provider,{children:n,value:y}))}function xx(e){let{children:t,location:n}=e;return rx(ja(t),n)}new Promise(()=>{});function ja(e,t){t===void 0&&(t=[]);let n=[];return v.Children.forEach(e,(r,o)=>{if(!v.isValidElement(r))return;let i=[...t,o];if(r.type===v.Fragment){n.push.apply(n,ja(r.props.children,i));return}r.type!==zn&&pe(!1),!r.props.index||!r.props.children||pe(!1);let s={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,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=ja(r.props.children,i)),n.push(s)}),n}/** 59 * React Router DOM v6.30.3 60 * 61 * Copyright (c) Remix Software Inc. 62 * 63 * This source code is licensed under the MIT license found in the 64 * LICENSE.md file in the root directory of this source tree. 65 * 66 * @license MIT 67 */function Ra(){return Ra=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ra.apply(this,arguments)}function wx(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function Sx(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Cx(e,t){return e.button===0&&(!t||t==="_self")&&!Sx(e)}function Oa(e){return e===void 0&&(e=""),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 kx(e,t){let n=Oa(e);return t&&t.forEach((r,o)=>
67{n.has(o)||t.getAll(o).forEach(i=>{n.append(o,i)})}),n}const Ex=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],bx="6";try{window.__reactRouterVersion=bx}catch{}const Px="startTransition",Od=Af[Px];function Nx(e){let{basename:t,children:n,future:r,window:o}=e,i=v.useRef();i.current==null&&(i.current=N0({window:o,v5Compat:!0}));let s=i.current,[l,a]=v.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},f=v.useCallback(d=>{u&&Od?Od(()=>a(d)):a(d)},[a,u]);return v.useLayoutEffect(()=>s.listen(f),[s,f]),v.useEffect(()=>gx(r),[r]),v.createElement(yx,{basename:t,children:n,location:l.location,navigationType:l.action,navigator:s,future:r})}const _x=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",Tx=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,xs=v.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:l,target:a,to:u,preventScrollReset:f,viewTransition:d}=t,h=wx(t,Ex),{basename:x}=v.useContext(An),S,y=!1;if(typeof u=="string"&&Tx.test(u)&&(S=u,_x))try{let g=new URL(window.location.href),C=u.startsWith("//")?new URL(g.protocol+u):new URL(u),k=Uu(C.pathname,x);C.origin===g.origin&&k!=null?u=k+C.search+C.hash:y=!0}catch{}let w=tx(u,{relative:o}),m=jx(u,{replace:s,state:l,target:a,preventScrollReset:f,relative:o,viewTransition:d});function p(g){r&&r(g),g.defaultPrevented||m(g)}return v.createElement("a",Ra({},h,{href:S||w,onClick:y||i?r:p,ref:n,target:a}))});var Ad;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ad||(Ad={}));var Ld;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Ld||(Ld={}));function jx(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:l}=t===void 0?{}:t,a=Vs(),u=Ot(),f=Yh(e,{relative:s});return v.useCallback(d=>{if(Cx(d,n)){d.preventDefault();let h=r!==void 0?r:ys(u)===ys(f);a(e,{replace:h,state:o,preventScrollReset:i,relative:s,viewTransition:l})}},[u,a,f,r,o,n,e,i,s,l])}function Rx(e){let t=v.useRef(Oa(e)),n=v.useRef(!1),r=Ot(),o=v.useMemo(()=>kx(r.search,n.current?null:t.current),[r.search]),i=Vs(),s=v.useCallback((l,a)=>{const u=Oa(typeof l=="function"?l(o):l);n.current=!0,i("?"+u,a)},[i,o]);return[o,s]}const Ox=1,Ax=1e6;let _l=0;function Lx(){return _l=(_l+1)%Number.MAX_SAFE_INTEGER,_l.toString()}const Tl=new Map,Md=e=>{if(Tl.has(e))return;const t=setTimeout(()=>{Tl.delete(e),Po({type:"REMOVE_TOAST",toastId:e})},Ax);Tl.set(e,t)},Mx=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Ox)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?Md(n):e.toasts.forEach(r=>{Md(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},Wi=[];let Hi={toasts:[]};function Po(e){Hi=Mx(Hi,e),Wi.forEach(t=>{t(Hi)})}function Fx({...e}){const t=Lx(),n=o=>Po({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Po({type:"DISMISS_TOAST",toastId:t});return Po({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Jh(){const[e,t]=v.useState(Hi);return v.useEffect(()=>(Wi.push(t),()=>{const n=Wi.indexOf(t);n>-1&&Wi.splice(n,1)}),[e]),{...e,toast:Fx,dismiss:n=>Po({type:"DISMISS_TOAST",toastId:n})}}function ge(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function Fd(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function em(...e){return t=>{let n=!1;const r=e.map(o=>{const i=Fd(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():Fd(e[o],null)}}}}function vt(...e){return v.useCallback(em(...e),e)}function Ws(e,t=[]){let n=[];function r(i,s){const l=v.createContext(s),a=n.length;n=[...n,s];const u=d=>{var m;const{scope:h,children:x,...S}=d,y=((m=h==null?void 0:h[e])==null?void 0:m[a])||l,w=v.useMemo(()=>S,Object.values(S));return c.jsx(y.Provider,{value:w,children:x})};u.displayName=i+"Provider";function f(d,h){var y;const x=((y=h==null?void 0:h[e])==null?void 0:y[a])||l,S=v.useContext(x);if(S)return S;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,f]}const o=()=>{const i=n.map(s=>v.createContext(s));return function(l){const a=(l==null?void 0:l[e])||i;return v.useMemo(()=>({[`__scope${e}`]:{...l,[e]:a}}),[l,a])}};return o.scopeName=e,[r,Ix(o,...t)]}function Ix(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));
vendor: 8,347 bytes, line 67
67return function(i){const s=r.reduce((l,{useScope:a,scopeName:u})=>{const d=a(i)[`__scope${u}`];return{...l,...d}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Aa(e){const t=Dx(e),n=v.forwardRef((r,o)=>{const{children:i,...s}=r,l=v.Children.toArray(i),a=l.find($x);if(a){const u=a.props.children,f=l.map(d=>d===a?v.Children.count(u)>1?v.Children.only(null):v.isValidElement(u)?u.props.children:null:d);return c.jsx(t,{...s,ref:o,children:v.isValidElement(u)?v.cloneElement(u,void 0,f):null})}return c.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Dx(e){const t=v.forwardRef((n,r)=>{const{children:o,...i}=n;if(v.isValidElement(o)){const s=Bx(o),l=Ux(i,o.props);return o.type!==v.Fragment&&(l.ref=r?em(r,s):s),v.cloneElement(o,l)}return v.Children.count(o)>1?v.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var tm=Symbol("radix.slottable");function zx(e){const t=({children:n})=>c.jsx(c.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=tm,t}function $x(e){return v.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===tm}function Ux(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...l)=>{const a=i(...l);return o(...l),a}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Bx(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Vx(e){const t=e+"CollectionProvider",[n,r]=Ws(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=y=>{const{scope:w,children:m}=y,p=en.useRef(null),g=en.useRef(new Map).current;return c.jsx(o,{scope:w,itemMap:g,collectionRef:p,children:m})};s.displayName=t;const l=e+"CollectionSlot",a=Aa(l),u=en.forwardRef((y,w)=>{const{scope:m,children:p}=y,g=i(l,m),C=vt(w,g.collectionRef);return c.jsx(a,{ref:C,children:p})});u.displayName=l;const f=e+"CollectionItemSlot",d="data-radix-collection-item",h=Aa(f),x=en.forwardRef((y,w)=>{const{scope:m,children:p,...g}=y,C=en.useRef(null),k=vt(w,C),b=i(f,m);return en.useEffect(()=>(b.itemMap.set(C,{ref:C,...g}),()=>void b.itemMap.delete(C))),c.jsx(h,{[d]:"",ref:k,children:p})});x.displayName=f;function S(y){const w=i(e+"CollectionConsumer",y);return en.useCallback(()=>{const p=w.collectionRef.current;if(!p)return[];const g=Array.from(p.querySelectorAll(`[${d}]`));return Array.from(w.itemMap.values()).sort((b,E)=>g.indexOf(b.ref.current)-g.indexOf(E.ref.current))},[w.collectionRef,w.itemMap])}return[{Provider:s,Slot:u,ItemSlot:x},S,r]}var Wx=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ue=Wx.reduce((e,t)=>{const n=Aa(`Primitive.${t}`),r=v.forwardRef((o,i)=>{const{asChild:s,...l}=o,a=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(a,{...l,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function nm(e,t){e&&ri.flushSync(()=>e.dispatchEvent(t))}function Pn(e){const t=v.useRef(e);return v.useEffect(()=>{t.current=e}),v.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Hx(e,t=globalThis==null?void 0:globalThis.document){const n=Pn(e);v.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Kx="DismissableLayer",La="dismissableLayer.update",Qx="dismissableLayer.pointerDownOutside",Gx="dismissableLayer.focusOutside",Id,rm=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Hu=v.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:l,...a}=e,u=v.useContext(rm),[f,d]=v.useState(null),h=(f==null?void 0:f.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,x]=v.useState({}),S=vt(t,E=>d(E)),y=Array.from(u.layers),[w]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=y.indexOf(w),p=f?y.indexOf(f):-1,g=u.layersWithOutsidePointerEventsDisabled.size>0,C=p>=m,k=qx(E=>{const _=E.target,R=[...u.branches].some(j=>j.contains(_));!C||R||(o==null||o(E),s==null||s(E),E.defaultPrevented||l==null||l())},h),b=Xx(E=>{const _=E.target;[...u.branches].some(j=>j.contains(_))||(i==null||i(E),s==null||s(E),E.defaultPrevented||l==null||l())},h);return Hx(E=>{p===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&l&&(E.preventDefault(),l()))},h),v.useEffect(()=>{if(f)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Id=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(f)),u.layers.add(f),Dd(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=Id)}},[f,h,n,u]),v.useEffect(()=>()=>{f&&(u.layers.delete(f),u.layersWithOutsidePointerEventsDisabled.delete(f),Dd())},[f,u]),v.useEffect(()=>{const E=()=>x({});return document.addEventListener(La,E),()=>document.removeEventListener(La,E)},[]),c.jsx(Ue.div,{...a,ref:S,style:{pointerEvents:g?C?"auto":"none":void 0,...e.style},onFocusCapture:ge(e.onFocusCapture,b.onFocusCapture),onBlurCapture:ge(e.onBlurCapture,b.onBlurCapture),onPointerDownCapture:ge(e.onPointerDownCapture,k.onPointerDownCapture)})});Hu.displayName=Kx;var Yx="DismissableLayerBranch",om=v.forwardRef((e,t)=>{const n=v.useContext(rm),r=v.useRef(null),o=vt(t,r);return v.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),c.jsx(Ue.div,{...e,ref:o})});om.displayName=Yx;function qx(e,t=globalThis==null?void 0:globalThis.document){const n=Pn(e),r=v.useRef(!1),o=v.useRef(()=>{});return v.useEffect(()=>{const i=l=>{if(l.target&&!r.current){let a=function(){im(Qx,n,u,{discrete:!0})};const u={originalEvent:l};l.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=a,t.addEventListener("click",o.current,{once:!0})):a()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Xx(e,t=globalThis==null?void 0:globalThis.document){const n=Pn(e),r=v.useRef(!1);return v.useEffect(()=>{const o=i=>{i.target&&!r.current&&im(Gx,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Dd(){const e=new CustomEvent(La);document.dispatchEvent(e)}function im(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?nm(o,i):o.dispatchEvent(i)}var Zx=Hu,Jx=om,Nn=globalThis!=null&&globalThis.document?v.useLayoutEffect:()=>{},ew="Portal",sm=v.forwardRef((e,t)=>{var l;const{container:n,...r}=e,[o,i]=v.useState(!1);Nn(()=>i(!0),[]);const s=n||o&&((l=globalThis==null?void 0:globalThis.document)==null?void 0:l.body);return s?t0.createPortal(c.jsx(Ue.div,{...r,ref:t}),s):null});sm.displayName=ew;function tw(e,t){return v.useReducer((n,r)=>t[n][r]??n,e)}var Ku=e=>{const{present:t,children:n}=e,r=nw(t),o=typeof n=="function"?n({present:r.isPresent}):v.Children.only(n),i=vt(r.ref,rw(o));return typeof n=="function"||r.isPresent?v.cloneElement(o,{ref:i}):null};Ku.displayName="Presence";function nw(e){const[t,n]=v.useState(),r=v.useRef(null),o=v.useRef(e),i=v.useRef("none"),s=e?"mounted":"unmounted",[l,a]=tw(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const u=Ti(r.current);i.current=l==="mounted"?u:"none"},[l]),Nn(()=>{const u=r.current,f=o.current;if(f!==e){const h=i.current,x=Ti(u);e?a("MOUNT"):x==="none"||(u==null?void 0:u.display)==="none"?a("UNMOUNT"):a(f&&h!==x?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,a]),Nn(()=>
67{if(t){let u;const f=t.ownerDocument.defaultView??window,d=x=>{const y=Ti(r.current).includes(x.animationName);if(x.target===t&&y&&(a("ANIMATION_END"),!o.current)){const w=t.style.animationFillMode;t.style.animationFillMode="forwards",u=f.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=w)})}},h=x=>{x.target===t&&(i.current=Ti(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{f.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:v.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Ti(e){return(e==null?void 0:e.animationName)||"none"}function rw(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ow=Af[" useInsertionEffect ".trim().toString()]||Nn;function iw({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=sw({defaultProp:t,onChange:n}),l=e!==void 0,a=l?e:o;{const f=v.useRef(e!==void 0);v.useEffect(()=>{const d=f.current;d!==l&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${l?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),f.current=l},[l,r])}const u=v.useCallback(f=>{var d;if(l){const h=lw(f)?f(e):f;h!==e&&((d=s.current)==null||d.call(s,h))}else i(f)},[l,e,i,s]);return[a,u]}function sw({defaultProp:e,onChange:t}){const[n,r]=v.useState(e),o=v.useRef(n),i=v.useRef(t);return ow(()=>{i.current=t},[t]),v.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function lw(e){return typeof e=="function"}var aw=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),uw="VisuallyHidden",Hs=v.forwardRef((e,t)=>c.jsx(Ue.span,{...e,ref:t,style:{...aw,...e.style}}));Hs.displayName=uw;var cw=Hs,Qu="ToastProvider",[Gu,dw,fw]=Vx("Toast"),[lm]=Ws("Toast",[fw]),[pw,Ks]=lm(Qu),am=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[l,a]=v.useState(null),[u,f]=v.useState(0),d=v.useRef(!1),h=v.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Qu}\`. Expected non-empty \`string\`.`),c.jsx(Gu.Provider,{scope:t,children:c.jsx(pw,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:l,onViewportChange:a,onToastAdd:v.useCallback(()=>f(x=>x+1),[]),onToastRemove:v.useCallback(()=>f(x=>x-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:h,children:s})})};am.displayName=Qu;var um="ToastViewport",hw=["F8"],Ma="toast.viewportPause",Fa="toast.viewportResume",cm=v.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=hw,label:o="Notifications ({hotkey})",...i}=e,s=Ks(um,n),l=dw(n),a=v.useRef(null),u=v.useRef(null),f=v.useRef(null),d=v.useRef(null),h=vt(t,d,s.onViewportChange),x=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),S=s.toastCount>0;v.useEffect(()=>{const w=m=>{var g;r.length!==0&&r.every(C=>m[C]||m.code===C)&&((g=d.current)==null||g.focus())};return document.addEventListener("keydown",w),()=>document.removeEventListener("keydown",w)},[r]),v.useEffect(()=>{const w=a.current,m=d.current;if(S&&w&&m){const p=()=>{if(!s.isClosePausedRef.current){const b=new CustomEvent(Ma);m.dispatchEvent(b),s.isClosePausedRef.current=!0}},g=()=>{if(s.isClosePausedRef.current){const b=new CustomEvent(Fa);m.dispatchEvent(b),s.isClosePausedRef.current=!1}},C=b=>{!w.contains(b.relatedTarget)&&g()},k=()=>{w.contains(document.activeElement)||g()};return w.addEventListener("focusin",p),w.addEventListener("focusout",C),w.addEventListener("pointermove",p),w.addEventListener("pointerleave",k),window.addEventListener("blur",p),window.addEventListener("focus",g),()=>{w.removeEventListener("focusin",p),w.removeEventListener("focusout",C),w.removeEventListener("pointermove",p),w.removeEventListener("pointerleave",k),window.removeEventListener("blur",p),window.removeEventListener("focus",g)}}},[S,s.isClosePausedRef]);const y=v.useCallback(({tabbingDirection:w})=>{const p=l().map(g=>{const C=g.ref.current,k=[C,...Nw(C)];return w==="forwards"?k:k.reverse()});return(w==="forwards"?p.reverse():p).flat()},[l]);return v.useEffect(()=>{const w=d.current;if(w){const m=p=>{var k,b,E;const g=p.altKey||p.ctrlKey||p.metaKey;
67if(p.key==="Tab"&&!g){const _=document.activeElement,R=p.shiftKey;if(p.target===w&&R){(k=u.current)==null||k.focus();return}const I=y({tabbingDirection:R?"backwards":"forwards"}),H=I.findIndex(L=>L===_);jl(I.slice(H+1))?p.preventDefault():R?(b=u.current)==null||b.focus():(E=f.current)==null||E.focus()}};return w.addEventListener("keydown",m),()=>w.removeEventListener("keydown",m)}},[l,y]),c.jsxs(Jx,{ref:a,role:"region","aria-label":o.replace("{hotkey}",x),tabIndex:-1,style:{pointerEvents:S?void 0:"none"},children:[S&&c.jsx(Ia,{ref:u,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"forwards"});jl(w)}}),c.jsx(Gu.Slot,{scope:n,children:c.jsx(Ue.ol,{tabIndex:-1,...i,ref:h})}),S&&c.jsx(Ia,{ref:f,onFocusFromOutsideViewport:()=>{const w=y({tabbingDirection:"backwards"});jl(w)}})]})});cm.displayName=um;var dm="ToastFocusProxy",Ia=v.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Ks(dm,n);return c.jsx(Hs,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const l=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(l))&&r()}})});Ia.displayName=dm;var oi="Toast",mw="toast.swipeStart",gw="toast.swipeMove",vw="toast.swipeCancel",yw="toast.swipeEnd",fm=v.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[l,a]=iw({prop:r,defaultProp:o??!0,onChange:i,caller:oi});return c.jsx(Ku,{present:n||l,children:c.jsx(Sw,{open:l,...s,ref:t,onClose:()=>a(!1),onPause:Pn(e.onPause),onResume:Pn(e.onResume),onSwipeStart:ge(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ge(e.onSwipeMove,u=>{const{x:f,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:ge(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:ge(e.onSwipeEnd,u=>{const{x:f,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${f}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),a(!1)})})})});fm.displayName=oi;var[xw,ww]=lm(oi,{onClose(){}}),Sw=v.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:l,onPause:a,onResume:u,onSwipeStart:f,onSwipeMove:d,onSwipeCancel:h,onSwipeEnd:x,...S}=e,y=Ks(oi,n),[w,m]=v.useState(null),p=vt(t,L=>m(L)),g=v.useRef(null),C=v.useRef(null),k=o||y.duration,b=v.useRef(0),E=v.useRef(k),_=v.useRef(0),{onToastAdd:R,onToastRemove:j}=y,D=Pn(()=>{var K;(w==null?void 0:w.contains(document.activeElement))&&((K=y.viewport)==null||K.focus()),s()}),I=v.useCallback(L=>{!L||L===1/0||(window.clearTimeout(_.current),b.current=new Date().getTime(),_.current=window.setTimeout(D,L))},[D]);v.useEffect(()=>{const L=y.viewport;if(L){const K=()=>{I(E.current),u==null||u()},U=()=>{const V=new Date().getTime()-b.current;E.current=E.current-V,window.clearTimeout(_.current),a==null||a()};return L.addEventListener(Ma,U),L.addEventListener(Fa,K),()=>{L.removeEventListener(Ma,U),L.removeEventListener(Fa,K)}}},[y.viewport,k,a,u,I]),v.useEffect(()=>{i&&!y.isClosePausedRef.current&&I(k)},[i,k,y.isClosePausedRef,I]),v.useEffect(()=>(R(),()=>j()),[R,j]);const H=v.useMemo(()=>w?xm(w):null,[w]);return y.viewport?c.jsxs(c.Fragment,{children:[H&&c.jsx(Cw,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),c.jsx(xw,{scope:n,onClose:D,children:ri.createPortal(c.jsx(Gu.ItemSlot,{scope:n,children:c.jsx(Zx,{asChild:!0,onEscapeKeyDown:ge(l,()=>{y.isFocusedToastEscapeKeyDownRef.current||D(),y.isFocusedToastEscapeKeyDownRef.current=!1}),children:c.jsx(Ue.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":y.swipeDirection,...S,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ge(e.onKeyDown,L=>{L.key==="Escape"&&(l==null||l(L.nativeEvent),L.nativeEvent.defaultPrevented||(y.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:ge(e.onPointerDown,L=>{L.button===0&&(g.current={x:L.clientX,y:L.clientY})}),onPointerMove:ge(e.onPointerMove,L=>{if(!g.current)return;const K=L.clientX-g.current.x,U=L.clientY-g.current.y,V=!!C.current,N=["left","right"].includes(y.swipeDirection),A=["left","up"].includes(y.swipeDirection)?Math.min:Math.max,F=N?A(0,K):0,B=N?0:A(0,U),Z=L.pointerType==="touch"?10:2,Ve={x:F,y:B},Me={originalEvent:L,delta:Ve};V?(C.current=Ve,ji(gw,d,Me,{discrete:!1})):zd(Ve,y.swipeDirection,Z)?(C.current=Ve,ji(mw,f,Me,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(K)>Z||Math.abs(U)>Z)&&(g.current=null)}),onPointerUp:ge(e.onPointerUp,L=>{const K=C.current,U=L.target;if(U.hasPointerCapture(L.pointerId)&&U.releasePointerCapture(L.pointerId),C.current=null,g.current=null,K){const V=L.currentTarget,N={originalEvent:L,delta:K};zd(K,y.swipeDirection,y.swipeThreshold)?ji(yw,x,N,{discrete:!0}
67):ji(vw,h,N,{discrete:!0}),V.addEventListener("click",A=>A.preventDefault(),{once:!0})}})})})}),y.viewport)})]}):null}),Cw=e=>{const{__scopeToast:t,children:n,...r}=e,o=Ks(oi,t),[i,s]=v.useState(!1),[l,a]=v.useState(!1);return bw(()=>s(!0)),v.useEffect(()=>{const u=window.setTimeout(()=>a(!0),1e3);return()=>window.clearTimeout(u)},[]),l?null:c.jsx(sm,{asChild:!0,children:c.jsx(Hs,{...r,children:i&&c.jsxs(c.Fragment,{children:[o.label," ",n]})})})},kw="ToastTitle",pm=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(Ue.div,{...r,ref:t})});pm.displayName=kw;var Ew="ToastDescription",hm=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return c.jsx(Ue.div,{...r,ref:t})});hm.displayName=Ew;var mm="ToastAction",gm=v.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?c.jsx(ym,{altText:n,asChild:!0,children:c.jsx(Yu,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${mm}\`. Expected non-empty \`string\`.`),null)});gm.displayName=mm;var vm="ToastClose",Yu=v.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=ww(vm,n);return c.jsx(ym,{asChild:!0,children:c.jsx(Ue.button,{type:"button",...r,ref:t,onClick:ge(e.onClick,o.onClose)})})});Yu.displayName=vm;var ym=v.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return c.jsx(Ue.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function xm(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Pw(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...xm(r))}}),t}function ji(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?nm(o,i):o.dispatchEvent(i)}var zd=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function bw(e=()=>{}){const t=Pn(e);Nn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Pw(e){return e.nodeType===e.ELEMENT_NODE}function Nw(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function jl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var _w=am,wm=cm,Sm=fm,Cm=pm,km=hm,Em=gm,bm=Yu;function Pm(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=Pm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Nm(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Pm(e))&&(r&&(r+=" "),r+=t);return r}const $d=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Ud=Nm,Tw=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Ud(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const f=n==null?void 0:n[u],d=i==null?void 0:i[u];if(f===null)return null;const h=$d(f)||$d(d);return o[u][h]}),l=n&&Object.entries(n).reduce((u,f)=>{let[d,h]=f;return h===void 0||(u[d]=h),u},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,f)=>{let{class:d,className:h,...x}=f;return Object.entries(x).every(S=>{let[y,w]=S;return Array.isArray(w)?w.includes({...i,...l}[y]):{...i,...l}[y]===w})?[...u,d,h]:u},[]);return Ud(e,s,a,n==null?void 0:n.class,n==null?void 0:n.className)};/** 68 * @license lucide-react v0.462.0 - ISC 69 * 70 * This source code is licensed under the ISC license. 71 * See the LICENSE file in the root directory of this source tree. 72 */const jw=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),_m=(...e)=>
vendor: 8,717 bytes, lines 72-112
72e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 73 * @license lucide-react v0.462.0 - ISC 74 * 75 * This source code is licensed under the ISC license. 76 * See the LICENSE file in the root directory of this source tree. 77 */var Rw={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** 78 * @license lucide-react v0.462.0 - ISC 79 * 80 * This source code is licensed under the ISC license. 81 * See the LICENSE file in the root directory of this source tree. 82 */const Ow=v.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...l},a)=>v.createElement("svg",{ref:a,...Rw,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:_m("lucide",o),...l},[...s.map(([u,f])=>v.createElement(u,f)),...Array.isArray(i)?i:[i]]));/** 83 * @license lucide-react v0.462.0 - ISC 84 * 85 * This source code is licensed under the ISC license. 86 * See the LICENSE file in the root directory of this source tree. 87 */const ii=(e,t)=>{const n=v.forwardRef(({className:r,...o},i)=>v.createElement(Ow,{ref:i,iconNode:t,className:_m(`lucide-${jw(e)}`,r),...o}));return n.displayName=`${e}`,n};/** 88 * @license lucide-react v0.462.0 - ISC 89 * 90 * This source code is licensed under the ISC license. 91 * See the LICENSE file in the root directory of this source tree. 92 */const Aw=ii("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** 93 * @license lucide-react v0.462.0 - ISC 94 * 95 * This source code is licensed under the ISC license. 96 * See the LICENSE file in the root directory of this source tree. 97 */const Lw=ii("Compass",[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/** 98 * @license lucide-react v0.462.0 - ISC 99 * 100 * This source code is licensed under the ISC license. 101 * See the LICENSE file in the root directory of this source tree. 102 */const Mw=ii("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/** 103 * @license lucide-react v0.462.0 - ISC 104 * 105 * This source code is licensed under the ISC license. 106 * See the LICENSE file in the root directory of this source tree. 107 */const Fw=ii("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/** 108 * @license lucide-react v0.462.0 - ISC 109 * 110 * This source code is licensed under the ISC license. 111 * See the LICENSE file in the root directory of this source tree. 112 */const Iw=ii("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),qu="-",Dw=e=>{const t=$w(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const l=s.split(qu);return l[0]===""&&l.length!==1&&l.shift(),Tm(l,t)||zw(s)},getConflictingClassGroupIds:(s,l)=>{const a=n[s]||[];return l&&r[s]?[...a,...r[s]]:a}}},Tm=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Tm(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(qu);return(s=t.validators.find(({validator:l})=>l(i)))==null?void 0:s.classGroupId},Bd=/^\[(.+)\]$/,zw=e=>{if(Bd.test(e)){const t=Bd.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},$w=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Bw(Object.entries(e.classGroups),n).forEach(([i,s])=>{Da(s,r,i,t)}),r},Da=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Vd(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(Uw(o)){Da(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Da(s,Vd(t,i),n,r)})})},Vd=(e,t)=>{let n=e;return t.split(qu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Uw=e=>e.isThemeGetter,Bw=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,l])=>[t+s,l])):i);return[n,o]}):e,Vw=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},jm="!",Ww=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=l=>{const a=[];let u=0,f=0,d;for(let w=0;w<l.length;w++){let m=l[w];if(u===0){if(m===o&&(r||l.slice(w,w+i)===t)){a.push(l.slice(f,w)),f=w+i;continue}if(m==="/"){d=w;continue}}m==="["?u++:m==="]"&&u--}const h=a.length===0?l:l.substring(f),x=h.startsWith(jm),S=x?h.substring(1):h,y=d&&d>f?d-f:void 0;return{modifiers:a,hasImportantModifier:x,baseClassName:S,maybePostfixModifierPosition:y}};return n?l=>n({className:l,parseClassName:s}):s},Hw=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Kw=e=>({cache:Vw(e.cacheSize),parseClassName:Ww(e),...Dw(e)}),Qw=/\s+/,Gw=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(Qw);let l="";for(let a=s.length-1;a>=0;a-=1){const u=s[a],{modifiers:f,hasImportantModifier:d,baseClassName:h,maybePostfixModifierPosition:x}=n(u);let S=!!x,y=r(S?h.substring(0,x):h);if(!y){if(!S){l=u+(l.length>0?" "+l:l);continue}if(y=r(h),!y){l=u+(l.length>0?" "+l:l);continue}S=!1}const w=Hw(f).join(":"),m=d?w+jm:w,p=m+y;if(i.includes(p))continue;i.push(p);const g=o(y,S);for(let C=0;C<g.length;++C){const k=g[C];i.push(m+k)}l=u+(l.length>0?" "+l:l)}return l};function Yw(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Rm(t))&&(r&&(r+=" "),r+=n);return r}const Rm=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Rm(e[r]))&&(n&&(n+=" "),n+=t);return n};function qw(e,...t){let n,r,o,i=s;function s(a){const u=t.reduce((f,d)=>d(f),e());return n=Kw(u),r=n.cache.get,o=n.cache.set,i=l,l(a)}function l(a){const u=r(a);if(u)return u;const f=Gw(a,n);return o(a,f),f}return function(){return i(Yw.apply(null,arguments))}}const ee=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Om=/^\[(?:([a-z-]+):)?(.+)\]$/i,Xw=/^\d+\/\d+$/,Zw=new Set(["px","full","screen"]),Jw=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,e1=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,t1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,n1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,r1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ft=e=>br(e)||Zw.has(e)||Xw.test(e),Zt=e=>Yr(e,"length",d1),br=e=>!!e&&!Number.isNaN(Number(e)),Rl=e=>Yr(e,"number",br),uo=e=>!!e&&Number.isInteger(Number(e)),o1=e=>e.endsWith("%")&&br(e.slice(0,-1)),$=e=>Om.test(e),Jt=e=>Jw.test(e),i1=new Set(["length","size","percentage"]),s1=e=>Yr(e,i1,Am),l1=e=>Yr(e,"position",Am),a1=new Set(["image","url"]),u1=e=>Yr(e,a1,p1),c1=e=>Yr(e,"",f1),co=()=>!0,Yr=(e,t,n)=>{const r=Om.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},d1=e=>e1.test(e)&&!t1.test(e),Am=()=>!1,f1=e=>n1.test(e),p1=e=>r1.test(e),h1=()=>{const e=ee("colors"),t=ee("spacing"),n=ee("blur"),r=ee("brightness"),o=ee("borderColor"),i=ee("borderRadius"),s=ee("borderSpacing"),l=ee("borderWidth"),a=ee("contrast"),u=ee("grayscale"),f=ee("hueRotate"),d=ee("invert"),h=ee("gap"),x=ee("gradientColorStops"),S=ee("gradientColorStopPositions"),y=ee("inset"),w=ee("margin"),m=ee("opacity"),p=ee("padding"),g=ee("saturate"),C=ee("scale"),k=ee("sepia"),b=ee("skew"),E=ee("space"),_=ee("translate"),R=()=>["auto","contain","none"],j=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",$,t],I=()=>[$,t],H=()=>["",Ft,Zt],L=()=>["auto",br,$],K=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],A=()=>["","0",$],F=()=>["auto","avoid","all","avoid-page","page","left","right","column"],B=()=>[br,$];return{cacheSize:500,separator:":",theme:{colors:[co],spacing:[Ft,Zt],blur:["none","",Jt,$],brightness:B(),borderColor:[e],borderRadius:["n
112one","","full",Jt,$],borderSpacing:I(),borderWidth:H(),contrast:B(),grayscale:A(),hueRotate:B(),invert:A(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[o1,Zt],inset:D(),margin:D(),opacity:B(),padding:I(),saturate:B(),scale:B(),sepia:A(),skew:B(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",$]}],container:["container"],columns:[{columns:[Jt]}],"break-after":[{"break-after":F()}],"break-before":[{"break-before":F()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...K(),$]}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",uo,$]}],basis:[{basis:D()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",$]}],grow:[{grow:A()}],shrink:[{shrink:A()}],order:[{order:["first","last","none",uo,$]}],"grid-cols":[{"grid-cols":[co]}],"col-start-end":[{col:["auto",{span:["full",uo,$]},$]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[co]}],"row-start-end":[{row:["auto",{span:[uo,$]},$]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",$]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",$]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[w]}],mx:[{mx:[w]}],my:[{my:[w]}],ms:[{ms:[w]}],me:[{me:[w]}],mt:[{mt:[w]}],mr:[{mr:[w]}],mb:[{mb:[w]}],ml:[{ml:[w]}],"space-x":[{"space-x":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",$,t]}],"min-w":[{"min-w":[$,t,"min","max","fit"]}],"max-w":[{"max-w":[$,t,"none","full","min","max","fit","prose",{screen:[Jt]},Jt]}],h:[{h:[$,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[$,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[$,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[$,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Jt,Zt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Rl]}],"font-family":[{font:[co]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",$]}],"line-clamp":[{"line-clamp":["none",br,Rl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ft,$]}],"list-image":[{"list-image":["none",$]}],"list-style-type":[{list:["none","disc","decimal",$]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[m]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[m]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ft,Zt]}],"underline-offset":[{"underline-offset":["auto",Ft,$]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",$]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",$]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[m]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...K(),l1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",s1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},u1]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}
vendor: 1,642 bytes, line 112
112],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[x]}],"gradient-via":[{via:[x]}],"gradient-to":[{to:[x]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:U()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[Ft,$]}
vendor: 8,176 bytes, line 112
112],"outline-w":[{outline:[Ft,Zt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[Ft,Zt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Jt,c1]}],"shadow-color":[{shadow:[co]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",Jt,$]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[d]}],saturate:[{saturate:[g]}],sepia:[{sepia:[k]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[a]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[g]}],"backdrop-sepia":[{"backdrop-sepia":[k]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",$]}],duration:[{duration:B()}],ease:[{ease:["linear","in","out","in-out",$]}],delay:[{delay:B()}],animate:[{animate:["none","spin","ping","pulse","bounce",$]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[uo,$]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[b]}],"skew-y":[{"skew-y":[b]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",$]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",$]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",$]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ft,Zt,Rl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},m1=qw(h1);function ir(...e){return m1(Nm(e))}const g1=_w,Lm=v.forwardRef(({className:e,...t},n)=>c.jsx(wm,{ref:n,className:ir("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Lm.displayName=wm.displayName;const v1=Tw("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Mm=v.forwardRef(({className:e,variant:t,...n},r)=>c.jsx(Sm,{ref:r,className:ir(v1({variant:t}),e),...n}));Mm.displayName=Sm.displayName;const y1=v.forwardRef(({className:e,...t},n)=>c.jsx(Em,{ref:n,className:ir("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));y1.displayName=Em.displayName;const Fm=v.forwardRef(({className:e,...t},n)=>c.jsx(bm,{ref:n,className:ir("absolute right-2 top-2 rounded-md p-1 text-foreground
vendor: 11,416 bytes, line 112
112/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:c.jsx(Iw,{className:"h-4 w-4"})}));Fm.displayName=bm.displayName;const Im=v.forwardRef(({className:e,...t},n)=>c.jsx(Cm,{ref:n,className:ir("text-sm font-semibold",e),...t}));Im.displayName=Cm.displayName;const Dm=v.forwardRef(({className:e,...t},n)=>c.jsx(km,{ref:n,className:ir("text-sm opacity-90",e),...t}));Dm.displayName=km.displayName;function x1(){const{toasts:e}=Jh();return c.jsxs(g1,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return c.jsxs(Mm,{...i,children:[c.jsxs("div",{className:"grid gap-1",children:[n&&c.jsx(Im,{children:n}),r&&c.jsx(Dm,{children:r})]}),o,c.jsx(Fm,{})]},t)}),c.jsx(Lm,{})]})}const w1=["top","right","bottom","left"],_n=Math.min,He=Math.max,ws=Math.round,Ri=Math.floor,Tt=e=>({x:e,y:e}),S1={left:"right",right:"left",bottom:"top",top:"bottom"},C1={start:"end",end:"start"};function za(e,t,n){return He(e,_n(t,n))}function Gt(e,t){return typeof e=="function"?e(t):e}function Yt(e){return e.split("-")[0]}function qr(e){return e.split("-")[1]}function Xu(e){return e==="x"?"y":"x"}function Zu(e){return e==="y"?"height":"width"}const k1=new Set(["top","bottom"]);function Pt(e){return k1.has(Yt(e))?"y":"x"}function Ju(e){return Xu(Pt(e))}function E1(e,t,n){n===void 0&&(n=!1);const r=qr(e),o=Ju(e),i=Zu(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Ss(s)),[s,Ss(s)]}function b1(e){const t=Ss(e);return[$a(e),t,$a(t)]}function $a(e){return e.replace(/start|end/g,t=>C1[t])}const Wd=["left","right"],Hd=["right","left"],P1=["top","bottom"],N1=["bottom","top"];function _1(e,t,n){switch(e){case"top":case"bottom":return n?t?Hd:Wd:t?Wd:Hd;case"left":case"right":return t?P1:N1;default:return[]}}function T1(e,t,n,r){const o=qr(e);let i=_1(Yt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map($a)))),i}function Ss(e){return e.replace(/left|right|bottom|top/g,t=>S1[t])}function j1(e){return{top:0,right:0,bottom:0,left:0,...e}}function zm(e){return typeof e!="number"?j1(e):{top:e,right:e,bottom:e,left:e}}function Cs(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Kd(e,t,n){let{reference:r,floating:o}=e;const i=Pt(t),s=Ju(t),l=Zu(s),a=Yt(t),u=i==="y",f=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,h=r[l]/2-o[l]/2;let x;switch(a){case"top":x={x:f,y:r.y-o.height};break;case"bottom":x={x:f,y:r.y+r.height};break;case"right":x={x:r.x+r.width,y:d};break;case"left":x={x:r.x-o.width,y:d};break;default:x={x:r.x,y:r.y}}switch(qr(t)){case"start":x[s]-=h*(n&&u?-1:1);break;case"end":x[s]+=h*(n&&u?-1:1);break}return x}const R1=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:f,y:d}=Kd(u,r,a),h=r,x={},S=0;for(let y=0;y<l.length;y++){const{name:w,fn:m}=l[y],{x:p,y:g,data:C,reset:k}=await m({x:f,y:d,initialPlacement:r,placement:h,strategy:o,middlewareData:x,rects:u,platform:s,elements:{reference:e,floating:t}});f=p??f,d=g??d,x={...x,[w]:{...x[w],...C}},k&&S<=50&&(S++,typeof k=="object"&&(k.placement&&(h=k.placement),k.rects&&(u=k.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):k.rects),{x:f,y:d}=Kd(u,h,a)),y=-1)}return{x:f,y:d,placement:h,strategy:o,middlewareData:x}};async function Go(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:l,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:f="viewport",elementContext:d="floating",altBoundary:h=!1,padding:x=0}=Gt(t,e),S=zm(x),w=l[h?d==="floating"?"reference":"floating":d],m=Cs(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(w)))==null||n?w:w.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:u,rootBoundary:f,strategy:a})),p=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),C=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},k=Cs(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:p,offsetParent:g,strategy:a}):p);return{top:(m.top-k.top+S.top)/C.y,bottom:(k.bottom-m.bottom+S.bottom)/C.y,left:(m.left-k.left+S.left)/C.x,right:(k.right-m.right+S.right)/C.x}}const O1=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:l,middlewareData:a}=t,{element:u,padding:f=0}=Gt(e,t)||{};if(u==null)return{};const d=zm(f),h={x:n,y:r},x=Ju(o),S=Zu(x),y=await s.getDimensions(u),w=x==="y",m=w?"top":"left",p=w?"bottom":"right",g=w?"clientHeight":"clientWidth",C=i.reference[S]+i.reference[x]-h[x]-i.floating[S],k=h[x]-i.reference[x],b=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let E=b?b[g]:0;(!E||!await(s.isElement==null?void 0:s.isElement(b)))&&(E=l.floating[g]||i.floating[S]);const _=C/2-k/2,R=E/2-y[S]/2-1,j=_n(d[m],R),D=_n(d[p],R),I=j,H=E-y[S]-D,L=E/2-y[S]/2+_,K=za(I,L,H),U=!a.arrow&&qr(o)!=null&&L!==K&&i.reference[S]/2-(L<I?j:D)-y[S]/2<0,V=U?L<I?L-I:L-H:0;return{[x]:h[x]+V,data:{[x]:K,centerOffset:L-K-V,...U&&{alignmentOffset:V}},reset:U}}}),A1=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:l,platform:a,elements:u}=t,{mainAxis:f=!0,crossAxis:d=!0,fallbackPlacements:h,fallbackStrategy:x="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:y=!0,...w}=Gt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=Yt(o),p=Pt(l),g=Yt(l)===l,C=await(a.isRTL==null?void 0:a.isRTL(u.floating)),k=h||(g||!y?[Ss(l)]:b1(l)),b=S!=="none";!h&&b&&k.push(...T1(l,y,S,C));const E=[l,...k],_=await Go(t,w),R=[];let j=((r=i.flip)==null?void 0:r.overflows)||[];if(f&&R.push(_[m]),d){const L=E1(o,s,C);R.push(_[L[0]],_[L[1]])}if(j=[...j,{placement:o,overflows:R}],!R.every(L=>L<=0)){var D,I;const L=(((D=i.flip)==null?void 0:D.index)||0)+1,K=E[L];if(K&&(!(d==="alignment"?p!==Pt(K):!1)||j.every(N=>N.overflows[0]>0&&Pt(N.placement)===p)))return{data:{index:L,overflows:j},reset:{placement:K}};let U=(I=j.filter(V=>V.overflows[0]<=0).sort((V,N)=>V.overflows[1]-N.overflows[1])[0])==null?void 0:I.placement;if(!U)switch(x){case"bestFit":{var H;const V=(H=j.filter(N=>{if(b){const A=Pt(N.placement);return A===p||A==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(A=>A>0).reduce((A,F)=>A+F,0)]).sort((N,A)=>N[1]-A[1])[0])==null?void 0:H[0];V&&(U=V);break}case"initialPlacement":U=l;break}if(o!==U)return{reset:{placement:U}}}return{}}}};function Qd(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Gd(e){return w1.some(t=>e[t]>=0)}const L1=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Gt(e,t);switch(r){case"referenceHidden":{const i=await Go(t,{...o,elementContext:"reference"}),s=Qd(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Gd(s)}}}case"escaped":{const i=await Go(t,{...o,altBoundary:!0}),s=Qd(i,n.floating);return{data:{escapedOffsets:s,escaped:Gd(s)}}}default:return{}}}}},$m=new Set(["left","top"]);async function M1(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Yt(n),l=qr(n),a=Pt(n)==="y",u=$m.has(s)?-1:1,f=i&&a?-1:1,d=Gt(t,e);let{mainAxis:h,crossAxis:x,alignmentAxis:S}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return l&&typeof S=="number"&&(x=l==="end"?S*-1:S),a?{x:x*f,y:h*u}:{x:h*u,y:x*f}}const F1=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:l}=t,a=await M1(t,e);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:o+a.x,y:i+a.y,data:{...a,placement:s}}}}},I1=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:w=>{let{x:m,y:p}=w;return{x:m,y:p}}},...a}=Gt(e,t),u={x:n,y:r},f=await Go(t,a),d=Pt(Yt(o)),h=Xu(d);let x=u[h],S=u[d];if(i){const w=h==="y"?"top":"left",m=h==="y"?"bottom":"right",p=x+f[w],g=x-f[m];x=za(p,x,g)}if(s){const w=d==="y"?"top":"left",m=d==="y"?"bottom":"right",p=S+f[w],g=S-f[m];S=za(p,S,g)}const y=l.fn({...t,[h]:x,[d]:S});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[h]:i,[d]:s}}}}}},D1=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:l=0,mainAxis:a=!0,crossAxis:u=!0}=Gt(e,t),f={x:n,y:r},d=Pt(o),h=Xu(d);let x=f[h],S=f[d];const y=Gt(l,t),w=typeof y=="number"?{mainAxis:y,crossAxis:0}:{mainAxis:0,crossAxis:0,...y};if(a){const g=h==="y"?"height":"width",C=i.reference[h]-i.floating[g]+w.mainAxis,k=i.reference[h]+i.reference[g]-w.mainAxis;x<C?x=C:x>k&&(x=k)}if(u){var m,p;const g=h==="y"?"width":"height",C=$m.has(Yt(o)),k=i.reference[d]-i.floating[g]+(C&&((m=s.offset)==null?void 0:m[d])||0)+(C?0:w.crossAxis),b=i.reference[d]+i.reference[g]+(C?0:((p=s.offset)==null?void 0:p[d])||0)-(C?w.crossAxis:0);S<k?S=k:S>b&&(S=b)}return{[h]:x,[d]:S}}}},z1=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:l}=t,{apply:a=()=>{},...u}=Gt(e,t),f=await Go(t,u),d=Yt(o),h=qr(o),x=Pt(o)==="y",{width:S,height:y}=i.floating;let w,m;d==="top"||d==="bottom"?(w=d,m=h===(await(s.isRTL==null?void 0:s.isRTL(l.floating))?"start":"end")?"left":"right"):(m=d,w=h==="end"?"top":"bottom");const p=y-f.top-f.bottom,g=S-f.left-f.right,C=_n(y-f[w],p),k=_n(S-f[m],g),b=!t.middlewareData.shift;let E=C,_=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(_=g),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=p),b&&!h){const j=He(f.left,0),D=He(f.right,0),I=He(f.top,0),H=He(f.bottom,0);x?_=S-2*(j!==0||D!==0?j+D:He(f.left,f.right)):E=y-2*(I!==0||H!==0?I+H:He(f.top,f.bottom))}await a({...t,availableWidth:_,availableHeight:E});const R=await s.getDimensions(l.floating);return S!==R.width||y!==R.height?{reset:{rects:!0}}:{}}}};function Qs(){return typeof window<"u"}function Xr(e){return Um(e)?(e.nodeName||"").toLowerCase():"#document"}function Ge(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function At(e){var t;return(t=(Um(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Um(e){return Qs()?e instanceof Node||e instanceof Ge(e).Node:!1}function yt(e){return Qs()?e instanceof Element||e instanceof Ge(e).Element:!1}function Rt(e){return Qs()?e instanceof HTMLElement||e instanceof Ge(e).HTMLElement:!1}function Yd(e){return!Qs()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ge(e).ShadowRoot}const $1=new Set(["inline","contents"]);function si(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=xt(e);
vendor: 4,121 bytes, line 112
112return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!$1.has(o)}const U1=new Set(["table","td","th"]);function B1(e){return U1.has(Xr(e))}const V1=[":popover-open",":modal"];function Gs(e){return V1.some(t=>{try{return e.matches(t)}catch{return!1}})}const W1=["transform","translate","scale","rotate","perspective"],H1=["transform","translate","scale","rotate","perspective","filter"],K1=["paint","layout","strict","content"];function ec(e){const t=tc(),n=yt(e)?xt(e):e;return W1.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||H1.some(r=>(n.willChange||"").includes(r))||K1.some(r=>(n.contain||"").includes(r))}function Q1(e){let t=Tn(e);for(;Rt(t)&&!Br(t);){if(ec(t))return t;if(Gs(t))return null;t=Tn(t)}return null}function tc(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const G1=new Set(["html","body","#document"]);function Br(e){return G1.has(Xr(e))}function xt(e){return Ge(e).getComputedStyle(e)}function Ys(e){return yt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Tn(e){if(Xr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Yd(e)&&e.host||At(e);return Yd(t)?t.host:t}function Bm(e){const t=Tn(e);return Br(t)?e.ownerDocument?e.ownerDocument.body:e.body:Rt(t)&&si(t)?t:Bm(t)}function Yo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Bm(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Ge(o);if(i){const l=Ua(s);return t.concat(s,s.visualViewport||[],si(o)?o:[],l&&n?Yo(l):[])}return t.concat(o,Yo(o,[],n))}function Ua(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Vm(e){const t=xt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Rt(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,l=ws(n)!==i||ws(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function nc(e){return yt(e)?e:e.contextElement}function Pr(e){const t=nc(e);if(!Rt(t))return Tt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=Vm(t);let s=(i?ws(n.width):n.width)/r,l=(i?ws(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Y1=Tt(0);function Wm(e){const t=Ge(e);return!tc()||!t.visualViewport?Y1:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function q1(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ge(e)?!1:t}function nr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=nc(e);let s=Tt(1);t&&(r?yt(r)&&(s=Pr(r)):s=Pr(e));const l=q1(i,n,r)?Wm(i):Tt(0);let a=(o.left+l.x)/s.x,u=(o.top+l.y)/s.y,f=o.width/s.x,d=o.height/s.y;if(i){const h=Ge(i),x=r&&yt(r)?Ge(r):r;let S=h,y=Ua(S);for(;y&&r&&x!==S;){const w=Pr(y),m=y.getBoundingClientRect(),p=xt(y),g=m.left+(y.clientLeft+parseFloat(p.paddingLeft))*w.x,C=m.top+(y.clientTop+parseFloat(p.paddingTop))*w.y;a*=w.x,u*=w.y,f*=w.x,d*=w.y,a+=g,u+=C,S=Ge(y),y=Ua(S)}}return Cs({width:f,height:d,x:a,y:u})}function rc(e,t){const n=Ys(e).scrollLeft;return t?t.left+n:nr(At(e)).left+n}function Hm(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:rc(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function X1(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=At(r),l=t?Gs(t.floating):!1;if(r===s||l&&i)return n;let a={scrollLeft:0,scrollTop:0},u=Tt(1);const f=Tt(0),d=Rt(r);if((d||!d&&!i)&&((Xr(r)!=="body"||si(s))&&(a=Ys(r)),Rt(r))){const x=nr(r);u=Pr(r),f.x=x.x+r.clientLeft,f.y=x.y+r.clientTop}const h=s&&!d&&!i?Hm(s,a,!0):Tt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+f.x+h.x,y:n.y*u.y-a.scrollTop*u.y+f.y+h.y}}function Z1(e){return Array.from(e.getClientRects())}function J1(e){const t=At(e),n=Ys(e),r=e.ownerDocument.body,o=He(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=He(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+rc(e);const l=-n.scrollTop;return xt(r).direction==="rtl"&&(s+=He(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:l}}
vendor: 4,590 bytes, line 112
112function e2(e,t){const n=Ge(e),r=At(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,a=0;if(o){i=o.width,s=o.height;const u=tc();(!u||u&&t==="fixed")&&(l=o.offsetLeft,a=o.offsetTop)}return{width:i,height:s,x:l,y:a}}const t2=new Set(["absolute","fixed"]);function n2(e,t){const n=nr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Rt(e)?Pr(e):Tt(1),s=e.clientWidth*i.x,l=e.clientHeight*i.y,a=o*i.x,u=r*i.y;return{width:s,height:l,x:a,y:u}}function qd(e,t,n){let r;if(t==="viewport")r=e2(e,n);else if(t==="document")r=J1(At(e));else if(yt(t))r=n2(t,n);else{const o=Wm(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Cs(r)}function Km(e,t){const n=Tn(e);return n===t||!yt(n)||Br(n)?!1:xt(n).position==="fixed"||Km(n,t)}function r2(e,t){const n=t.get(e);if(n)return n;let r=Yo(e,[],!1).filter(l=>yt(l)&&Xr(l)!=="body"),o=null;const i=xt(e).position==="fixed";let s=i?Tn(e):e;for(;yt(s)&&!Br(s);){const l=xt(s),a=ec(s);!a&&l.position==="fixed"&&(o=null),(i?!a&&!o:!a&&l.position==="static"&&!!o&&t2.has(o.position)||si(s)&&!a&&Km(e,s))?r=r.filter(f=>f!==s):o=l,s=Tn(s)}return t.set(e,r),r}function o2(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Gs(t)?[]:r2(t,this._c):[].concat(n),r],l=s[0],a=s.reduce((u,f)=>{const d=qd(t,f,o);return u.top=He(d.top,u.top),u.right=_n(d.right,u.right),u.bottom=_n(d.bottom,u.bottom),u.left=He(d.left,u.left),u},qd(t,l,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function i2(e){const{width:t,height:n}=Vm(e);return{width:t,height:n}}function s2(e,t,n){const r=Rt(t),o=At(t),i=n==="fixed",s=nr(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const a=Tt(0);function u(){a.x=rc(o)}if(r||!r&&!i)if((Xr(t)!=="body"||si(o))&&(l=Ys(t)),r){const x=nr(t,!0,i,t);a.x=x.x+t.clientLeft,a.y=x.y+t.clientTop}else o&&u();i&&!r&&o&&u();const f=o&&!r&&!i?Hm(o,l):Tt(0),d=s.left+l.scrollLeft-a.x-f.x,h=s.top+l.scrollTop-a.y-f.y;return{x:d,y:h,width:s.width,height:s.height}}function Ol(e){return xt(e).position==="static"}function Xd(e,t){if(!Rt(e)||xt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return At(e)===n&&(n=n.ownerDocument.body),n}function Qm(e,t){const n=Ge(e);if(Gs(e))return n;if(!Rt(e)){let o=Tn(e);for(;o&&!Br(o);){if(yt(o)&&!Ol(o))return o;o=Tn(o)}return n}let r=Xd(e,t);for(;r&&B1(r)&&Ol(r);)r=Xd(r,t);return r&&Br(r)&&Ol(r)&&!ec(r)?n:r||Q1(e)||n}const l2=async function(e){const t=this.getOffsetParent||Qm,n=this.getDimensions,r=await n(e.floating);return{reference:s2(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function a2(e){return xt(e).direction==="rtl"}const u2={convertOffsetParentRelativeRectToViewportRelativeRect:X1,getDocumentElement:At,getClippingRect:o2,getOffsetParent:Qm,getElementRects:l2,getClientRects:Z1,getDimensions:i2,getScale:Pr,isElement:yt,isRTL:a2};function Gm(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function c2(e,t){let n=null,r;const o=At(e);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const u=e.getBoundingClientRect(),{left:f,top:d,width:h,height:x}=u;if(l||t(),!h||!x)return;const S=Ri(d),y=Ri(o.clientWidth-(f+h)),w=Ri(o.clientHeight-(d+x)),m=Ri(f),g={rootMargin:-S+"px "+-y+"px "+-w+"px "+-m+"px",threshold:He(0,_n(1,a))||1};let C=!0;function k(b){const E=b[0].intersectionRatio;if(E!==a){if(!C)return s();E?s(!1,E):r=setTimeout(()=>{s(!1,1e-7)},1e3)}E===1&&!Gm(u,e.getBoundingClientRect())&&s(),C=!1}try{n=new IntersectionObserver(k,{...g,root:o.ownerDocument})}catch{n=new IntersectionObserver(k,g)}n.observe(e)}return s(!0),i}function d2(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=nc(e),f=o||i?[...u?Yo(u):[],...Yo(t)]:[];f.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const d=u&&l?c2(u,n):null;let h=-1,x=null;s&&(x=new ResizeObserver(m=>{let[p]=m;p&&p.target===u&&x&&(x.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var g;(g=x)==null||g.observe(t)})),n()}),u&&!a&&x.observe(u),x.observe(t));let S,y=a?nr(e):null;a&&w();function w(){const m=nr(e);y&&!Gm(y,m)&&n(),y=m,S=requestAnimationFrame(w)}return n(),()=>{var m;f.forEach(p=>{o&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),d==null||d(),(m=x)==null||m.disconnect(),x=null,a&&cancelAnimationFrame(S)}}
vendor: 4,250 bytes, line 112
112const f2=F1,p2=I1,h2=A1,m2=z1,g2=L1,Zd=O1,v2=D1,y2=(e,t,n)=>{const r=new Map,o={platform:u2,...n},i={...o.platform,_c:r};return R1(e,t,{...o,platform:i})};var x2=typeof document<"u",w2=function(){},Ki=x2?v.useLayoutEffect:w2;function ks(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!ks(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!ks(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Ym(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Jd(e,t){const n=Ym(e);return Math.round(t*n)/n}function Al(e){const t=v.useRef(e);return Ki(()=>{t.current=e}),t}function S2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:a,open:u}=e,[f,d]=v.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,x]=v.useState(r);ks(h,r)||x(r);const[S,y]=v.useState(null),[w,m]=v.useState(null),p=v.useCallback(N=>{N!==b.current&&(b.current=N,y(N))},[]),g=v.useCallback(N=>{N!==E.current&&(E.current=N,m(N))},[]),C=i||S,k=s||w,b=v.useRef(null),E=v.useRef(null),_=v.useRef(f),R=a!=null,j=Al(a),D=Al(o),I=Al(u),H=v.useCallback(()=>{if(!b.current||!E.current)return;const N={placement:t,strategy:n,middleware:h};D.current&&(N.platform=D.current),y2(b.current,E.current,N).then(A=>{const F={...A,isPositioned:I.current!==!1};L.current&&!ks(_.current,F)&&(_.current=F,ri.flushSync(()=>{d(F)}))})},[h,t,n,D,I]);Ki(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,d(N=>({...N,isPositioned:!1})))},[u]);const L=v.useRef(!1);Ki(()=>(L.current=!0,()=>{L.current=!1}),[]),Ki(()=>{if(C&&(b.current=C),k&&(E.current=k),C&&k){if(j.current)return j.current(C,k,H);H()}},[C,k,H,j,R]);const K=v.useMemo(()=>({reference:b,floating:E,setReference:p,setFloating:g}),[p,g]),U=v.useMemo(()=>({reference:C,floating:k}),[C,k]),V=v.useMemo(()=>{const N={position:n,left:0,top:0};if(!U.floating)return N;const A=Jd(U.floating,f.x),F=Jd(U.floating,f.y);return l?{...N,transform:"translate("+A+"px, "+F+"px)",...Ym(U.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:A,top:F}},[n,l,U.floating,f.x,f.y]);return v.useMemo(()=>({...f,update:H,refs:K,elements:U,floatingStyles:V}),[f,H,K,U,V])}const C2=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Zd({element:r.current,padding:o}).fn(n):{}:r?Zd({element:r,padding:o}).fn(n):{}}}},k2=(e,t)=>({...f2(e),options:[e,t]}),E2=(e,t)=>({...p2(e),options:[e,t]}),b2=(e,t)=>({...v2(e),options:[e,t]}),P2=(e,t)=>({...h2(e),options:[e,t]}),N2=(e,t)=>({...m2(e),options:[e,t]}),_2=(e,t)=>({...g2(e),options:[e,t]}),T2=(e,t)=>({...C2(e),options:[e,t]});var j2="Arrow",qm=v.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return c.jsx(Ue.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});qm.displayName=j2;var R2=qm;function O2(e){const[t,n]=v.useState(void 0);return Nn(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,l;if("borderBoxSize"in i){const a=i.borderBoxSize,u=Array.isArray(a)?a[0]:a;s=u.inlineSize,l=u.blockSize}else s=e.offsetWidth,l=e.offsetHeight;n({width:s,height:l})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Xm="Popper",[Zm,Jm]=Ws(Xm),[bS,eg]=Zm(Xm),tg="PopperAnchor",ng=v.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=eg(tg,n),s=v.useRef(null),l=vt(t,s);return v.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:c.jsx(Ue.div,{...o,ref:l})});ng.displayName=tg;var oc="PopperContent",[A2,L2]=Zm(oc),rg=v.forwardRef((e,t)=>
vendor: 4,437 bytes, line 112
112{var Lt,li,Jr,eo,ai,O;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:l=0,avoidCollisions:a=!0,collisionBoundary:u=[],collisionPadding:f=0,sticky:d="partial",hideWhenDetached:h=!1,updatePositionStrategy:x="optimized",onPlaced:S,...y}=e,w=eg(oc,n),[m,p]=v.useState(null),g=vt(t,q=>p(q)),[C,k]=v.useState(null),b=O2(C),E=(b==null?void 0:b.width)??0,_=(b==null?void 0:b.height)??0,R=r+(i!=="center"?"-"+i:""),j=typeof f=="number"?f:{top:0,right:0,bottom:0,left:0,...f},D=Array.isArray(u)?u:[u],I=D.length>0,H={padding:j,boundary:D.filter(F2),altBoundary:I},{refs:L,floatingStyles:K,placement:U,isPositioned:V,middlewareData:N}=S2({strategy:"fixed",placement:R,whileElementsMounted:(...q)=>d2(...q,{animationFrame:x==="always"}),elements:{reference:w.anchor},middleware:[k2({mainAxis:o+_,alignmentAxis:s}),a&&E2({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?b2():void 0,...H}),a&&P2({...H}),N2({...H,apply:({elements:q,rects:re,availableWidth:ae,availableHeight:st})=>{const{width:Mt,height:_g}=re.reference,ui=q.floating.style;ui.setProperty("--radix-popper-available-width",`${ae}px`),ui.setProperty("--radix-popper-available-height",`${st}px`),ui.setProperty("--radix-popper-anchor-width",`${Mt}px`),ui.setProperty("--radix-popper-anchor-height",`${_g}px`)}}),C&&T2({element:C,padding:l}),I2({arrowWidth:E,arrowHeight:_}),h&&_2({strategy:"referenceHidden",...H})]}),[A,F]=sg(U),B=Pn(S);Nn(()=>{V&&(B==null||B())},[V,B]);const Z=(Lt=N.arrow)==null?void 0:Lt.x,Ve=(li=N.arrow)==null?void 0:li.y,Me=((Jr=N.arrow)==null?void 0:Jr.centerOffset)!==0,[Mn,it]=v.useState();return Nn(()=>{m&&it(window.getComputedStyle(m).zIndex)},[m]),c.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...K,transform:V?K.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Mn,"--radix-popper-transform-origin":[(eo=N.transformOrigin)==null?void 0:eo.x,(ai=N.transformOrigin)==null?void 0:ai.y].join(" "),...((O=N.hide)==null?void 0:O.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:c.jsx(A2,{scope:n,placedSide:A,onArrowChange:k,arrowX:Z,arrowY:Ve,shouldHideArrow:Me,children:c.jsx(Ue.div,{"data-side":A,"data-align":F,...y,ref:g,style:{...y.style,animation:V?void 0:"none"}})})})});rg.displayName=oc;var og="PopperArrow",M2={top:"bottom",right:"left",bottom:"top",left:"right"},ig=v.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=L2(og,r),s=M2[i.placedSide];return c.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:c.jsx(R2,{...o,ref:n,style:{...o.style,display:"block"}})})});ig.displayName=og;function F2(e){return e!==null}var I2=e=>({name:"transformOrigin",options:e,fn(t){var w,m,p;const{placement:n,rects:r,middlewareData:o}=t,s=((w=o.arrow)==null?void 0:w.centerOffset)!==0,l=s?0:e.arrowWidth,a=s?0:e.arrowHeight,[u,f]=sg(n),d={start:"0%",center:"50%",end:"100%"}[f],h=(((m=o.arrow)==null?void 0:m.x)??0)+l/2,x=(((p=o.arrow)==null?void 0:p.y)??0)+a/2;let S="",y="";return u==="bottom"?(S=s?d:`${h}px`,y=`${-a}px`):u==="top"?(S=s?d:`${h}px`,y=`${r.floating.height+a}px`):u==="right"?(S=`${-a}px`,y=s?d:`${x}px`):u==="left"&&(S=`${r.floating.width+a}px`,y=s?d:`${x}px`),{data:{x:S,y}}}});function sg(e){const[t,n="center"]=e.split("-");return[t,n]}var D2=ng,z2=rg,$2=ig,[qs]=Ws("Tooltip",[Jm]),ic=Jm(),lg="TooltipProvider",U2=700,ef="tooltip.open",[B2,ag]=qs(lg),ug=e=>{const{__scopeTooltip:t,delayDuration:n=U2,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=v.useRef(!0),l=v.useRef(!1),a=v.useRef(0);return v.useEffect(()=>{const u=a.current;return()=>window.clearTimeout(u)},[]),c.jsx(B2,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:v.useCallback(()=>{window.clearTimeout(a.current),s.current=!1},[]),onClose:v.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:l,onPointerInTransitChange:v.useCallback(u=>{l.current=u},[]),disableHoverableContent:o,children:i})};ug.displayName=lg;var cg="Tooltip",[PS,Xs]=qs(cg),Ba="TooltipTrigger",V2=v.forwardRef((e,t)=>
vendor: 5,226 bytes, line 112
112{const{__scopeTooltip:n,...r}=e,o=Xs(Ba,n),i=ag(Ba,n),s=ic(n),l=v.useRef(null),a=vt(t,l,o.onTriggerChange),u=v.useRef(!1),f=v.useRef(!1),d=v.useCallback(()=>u.current=!1,[]);return v.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),c.jsx(D2,{asChild:!0,...s,children:c.jsx(Ue.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:a,onPointerMove:ge(e.onPointerMove,h=>{h.pointerType!=="touch"&&!f.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),f.current=!0)}),onPointerLeave:ge(e.onPointerLeave,()=>{o.onTriggerLeave(),f.current=!1}),onPointerDown:ge(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ge(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ge(e.onBlur,o.onClose),onClick:ge(e.onClick,o.onClose)})})});V2.displayName=Ba;var W2="TooltipPortal",[NS,H2]=qs(W2,{forceMount:void 0}),Vr="TooltipContent",dg=v.forwardRef((e,t)=>{const n=H2(Vr,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Xs(Vr,e.__scopeTooltip);return c.jsx(Ku,{present:r||s.open,children:s.disableHoverableContent?c.jsx(fg,{side:o,...i,ref:t}):c.jsx(K2,{side:o,...i,ref:t})})}),K2=v.forwardRef((e,t)=>{const n=Xs(Vr,e.__scopeTooltip),r=ag(Vr,e.__scopeTooltip),o=v.useRef(null),i=vt(t,o),[s,l]=v.useState(null),{trigger:a,onClose:u}=n,f=o.current,{onPointerInTransitChange:d}=r,h=v.useCallback(()=>{l(null),d(!1)},[d]),x=v.useCallback((S,y)=>{const w=S.currentTarget,m={x:S.clientX,y:S.clientY},p=X2(m,w.getBoundingClientRect()),g=Z2(m,p),C=J2(y.getBoundingClientRect()),k=t4([...g,...C]);l(k),d(!0)},[d]);return v.useEffect(()=>()=>h(),[h]),v.useEffect(()=>{if(a&&f){const S=w=>x(w,f),y=w=>x(w,a);return a.addEventListener("pointerleave",S),f.addEventListener("pointerleave",y),()=>{a.removeEventListener("pointerleave",S),f.removeEventListener("pointerleave",y)}}},[a,f,x,h]),v.useEffect(()=>{if(s){const S=y=>{const w=y.target,m={x:y.clientX,y:y.clientY},p=(a==null?void 0:a.contains(w))||(f==null?void 0:f.contains(w)),g=!e4(m,s);p?h():g&&(h(),u())};return document.addEventListener("pointermove",S),()=>document.removeEventListener("pointermove",S)}},[a,f,s,u,h]),c.jsx(fg,{...e,ref:i})}),[Q2,G2]=qs(cg,{isInside:!1}),Y2=zx("TooltipContent"),fg=v.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...l}=e,a=Xs(Vr,n),u=ic(n),{onClose:f}=a;return v.useEffect(()=>(document.addEventListener(ef,f),()=>document.removeEventListener(ef,f)),[f]),v.useEffect(()=>{if(a.trigger){const d=h=>{const x=h.target;x!=null&&x.contains(a.trigger)&&f()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[a.trigger,f]),c.jsx(Hu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:f,children:c.jsxs(z2,{"data-state":a.stateAttribute,...u,...l,ref:t,style:{...l.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[c.jsx(Y2,{children:r}),c.jsx(Q2,{scope:n,isInside:!0,children:c.jsx(cw,{id:a.contentId,role:"tooltip",children:o||r})})]})})});dg.displayName=Vr;var pg="TooltipArrow",q2=v.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=ic(n);return G2(pg,n).isInside?null:c.jsx($2,{...o,...r,ref:t})});q2.displayName=pg;function X2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Z2(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function J2(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function e4(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const l=t[i],a=t[s],u=l.x,f=l.y,d=a.x,h=a.y;f>r!=h>r&&n<(d-u)*(r-f)/(h-f)+u&&(o=!o)}return o}function t4(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),n4(t)}function n4(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var r4=ug,hg=dg;const o4=r4,i4=v.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
112c.jsx(hg,{ref:r,sideOffset:t,className:ir("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));i4.displayName=hg.displayName;const mg=({accent:e="white",className:t=""})=>{const n=e==="blue"?"hsl(var(--brand-blue))":"hsl(0 0% 100%)",r=e==="blue"?"hsl(0 0% 100%)":"hsl(var(--navy))";return c.jsxs("svg",{viewBox:"0 0 1000 1000",xmlns:"http://www.w3.org/2000/svg",fill:"none",className:t,"aria-label":"ÐовÑег",children:[c.jsx("path",{d:"M110.571 672.882H136.075C170.335 670.217 204.024 661.652 235.238 647.568C251.226 640.335 266.263 631.77 280.537 621.873C294.812 631.96 310.039 640.525 325.836 647.568C357.241 661.652 390.74 670.217 424.999 672.882H471.06C505.32 670.217 539.008 661.652 570.223 647.568C586.211 640.335 601.247 631.77 615.522 621.873C629.797 631.96 645.023 640.525 660.821 647.568C692.226 661.652 725.724 670.217 759.984 672.882H784.917L889.6 328H110L110.571 672.882Z",fill:n}),c.jsx("path",{d:"M176.805 535.651V440.865H204.784V483.69L237.521 440.865H269.306L232.953 487.306L271.21 535.651H239.424L204.784 490.923V535.46H176.805V535.651Z",fill:r}),c.jsx("path",{d:"M355.147 523.659C350.388 528.227 344.869 531.843 338.778 534.317C332.687 536.792 326.216 537.743 319.555 537.553C313.083 537.743 306.422 536.792 300.331 534.317C294.24 531.843 288.721 528.227 283.962 523.659C279.395 519.091 275.588 513.571 273.304 507.481C270.83 501.39 269.878 494.919 270.068 488.257C269.878 481.786 270.83 475.124 273.304 469.034C275.778 462.943 279.395 457.423 283.962 452.855C288.53 448.287 294.24 444.671 300.331 442.197C306.422 439.722 313.083 438.771 319.555 438.961C326.026 438.771 332.687 439.722 338.778 442.197C344.869 444.671 350.388 448.287 355.147 452.855C359.905 457.423 363.521 462.943 365.805 469.034C368.28 475.124 369.231 481.595 369.041 488.257C369.231 494.728 368.089 501.39 365.805 507.481C363.521 513.381 359.905 518.901 355.147 523.659ZM304.328 505.006C306.422 507.1 308.706 508.623 311.37 509.765C314.035 510.907 316.89 511.478 319.745 511.478C322.6 511.478 325.455 510.907 328.12 509.765C330.784 508.623 333.068 507.1 335.162 505.006C339.349 500.438 341.443 494.348 341.252 488.257C341.443 482.166 339.349 476.076 335.162 471.508C333.068 469.414 330.784 467.892 328.12 466.75C325.455 465.608 322.6 465.037 319.745 465.037C316.89 465.037 314.035 465.608 311.37 466.75C308.706 467.892 306.422 469.414 304.328 471.508C300.141 476.076 298.047 482.166 298.237 488.257C297.857 494.348 300.141 500.438 304.328 505.006Z",fill:r}),c.jsx("path",{d:"M386.932 535.651V440.866H441.938C449.932 440.485 457.545 443.15 463.635 448.289C466.3 450.573 468.394 453.428 469.726 456.663C471.058 459.899 471.82 463.325 471.629 466.941C471.82 472.651 469.916 478.171 466.11 482.358C464.587 484.071 462.684 485.404 460.59 486.355V487.307C463.064 488.639 465.158 490.162 467.061 492.065C471.249 496.633 473.533 502.533 473.533 508.624C473.533 512.24 472.962 515.857 471.439 519.092C469.916 522.328 467.823 525.373 465.158 527.848C459.258 533.177 451.454 536.032 443.651 535.651H386.932ZM414.91 477.029H434.515C440.796 477.029 443.841 474.174 443.841 468.654C443.841 463.135 440.796 460.28 434.515 460.28H414.91V477.029ZM414.91 516.047H435.466C438.131 516.237 440.986 515.286 443.08 513.573C444.793 511.669 445.744 509.385 445.744 506.721C445.744 504.246 444.793 501.772 443.08 499.869C440.986 498.156 438.321 497.204 435.466 497.395H414.91V516.047Z",fill:r}),c.jsx("path",{d:"M545.481 535.651V504.055C543.387 505.388 541.294 506.53 539.01 507.481C533.3 509.575 527.399 510.717 521.309 510.717C516.741 510.907 512.173 510.336 507.985 508.623C503.798 506.91 499.801 504.436 496.756 501.2C490.856 494.729 487.81 485.593 487.81 473.602V440.865H515.789V469.605C515.789 471.509 515.979 473.412 516.741 475.125C517.502 476.838 518.454 478.361 519.786 479.693C521.309 481.025 523.022 481.977 524.925 482.738C526.828 483.309 528.732 483.69 530.825 483.5C534.822 483.69 538.629 482.929 542.245 481.216C543.578 480.645 544.91 479.883 545.862 478.741V440.865H573.84V535.651H545.481Z",fill:r}),c.jsx("path",{d:"M658.344 506.724H686.323C682.136 517.573 674.332 526.519 664.244 532.229C654.157 537.939 642.166 539.652 630.936 537.558C619.516 535.274 609.238 529.183 602.006 520.047C594.773 511.102 590.967 499.682 591.157 488.072C590.967 481.6 591.918 474.939 594.393 468.848C596.867 462.757 600.483 457.238 605.051 452.67C609.619 448.102 615.329 444.485 621.42 442.011C627.51 439.537 634.172 438.585 640.643 438.776C647.114 438.585 653.395 439.727 659.486 442.011C665.386 444.295 670.906 447.911 675.474 452.289C680.042 456.667 683.468 461.996 685.942 467.706C688.226 473.606 689.368 479.697 689.368 485.978C689.368 488.262 689.178 490.736 688.797 493.02L688.417 495.304H619.326C619.707 500.633 621.991 505.582 625.988 509.389C629.985 513.005 635.314 515.099 640.834 514.908C645.592 514.908 650.35 513.576 654.347 510.911C655.87 509.96 657.202 508.437 658.344 506.724ZM619.326 478.936H662.341C659.676 466.564 652.444 460.283 640.834 460.283C629.223 460.283 621.991 466.564 619.326 478.936Z",fill:r}),c.jsx("path",{d:"M706.882 535.651V440.865H775.973V466.941H734.861V535.651H706.882Z",fill:r})]})},gg=v.createContext({lang:"ru"}),Be=()=>v.useContext(gg).lang,tf=(e,t)=>Math.round(e).toString().replace(/\B(?=(\d{3})+(?!\d))/g,t),Y={nav:{cta:{ru:"ÐомоÑÑ",en:"Donate"},homeAria:{ru:"ÐовÑег â на главнÑÑ",en:"Kovcheg â home"},switcherAria:{ru:"СмениÑÑ ÑзÑк",en:"Switch language"}},hero:{title:{ru:["Ðомоги","заÑиÑиÑÑ","лÑдей","Ð¾Ñ Ð¿ÑеÑледований"],en:["Help us","protect","people","from persecution"]},titleEm:{ru:"лÑдей",en:"people"},body:{ru:c.jsxs(c.Fragment,{children:["ÐаждÑй Ð´ÐµÐ½Ñ Ð°Ð½ÑивоеннÑе ÑоÑÑиÑне ÑÑалкиваÑÑÑÑ Ñ"," ",c.jsx("strong",{className:"text-white font-bold",children:"аÑеÑÑами, повеÑÑками, ÑголовнÑми делами"})," и"," ",c.jsx("strong",{className:"text-white font-bold",children:"ÑгÑозой ÑÑÑÑмÑ"}),". Ðомоги им полÑÑиÑÑ ÑкÑÑÑеннÑÑ ÑÑидиÑеÑкÑÑ Ð¸ пÑиÑ
ологиÑеÑкÑÑ Ð¿Ð¾Ð¼Ð¾ÑÑ, помоÑÑ Ñ Ð¶Ð¸Ð»ÑÑм на пеÑвое вÑемÑ."]}),en:c.jsxs(c.Fragment,{children:["Every day, anti-war Russians face"," ",c.jsx("strong",{className:"text-white font-bold",children:"arrests, draft notices, criminal cases"})," and"," ",c.jsx("strong",{className:"text-white font-bold",children:"the threat of prison"}),". Help them get emergency legal aid, mental health support and a safe place to stay."]})},cta:{ru:"ÐомоÑÑ ÑейÑаÑ",en:"Donate now"},scroll:{ru:"ЧиÑаÑÑ Ð´Ð°Ð»ÑÑе",en:"Read more"}},ticker:{items:{ru:["ÐовеÑÑки","УголовнÑе дела","ÐлокиÑовки ÐÐÐ","ÐÑоÑÐ¾ÐºÐ¾Ð»Ñ Ð·Ð° комменÑаÑии","ТоÑаÐ
112»ÑÐ½Ð°Ñ Ñлежка","ÐапÑеÑÑ Ð½Ð° вÑезд","Ðавление на ÑоднÑÑ
","ШÑÑаÑÑ Ð·Ð° ÑоÑÑеÑи"],en:["Draft notices","Criminal cases","VPN bans","Fines for online comments","Mass surveillance","Travel bans","Pressure on families","Penalties for social posts"]}},daily:{eyebrow:{ru:"ÐаждÑй денÑ",en:"Every day"},title:{ru:c.jsxs(c.Fragment,{children:["ÐеÑÑпекÑив вÑÑ Ð¼ÐµÐ½ÑÑе",c.jsx("br",{}),"РиÑки ",c.jsx("em",{children:"вÑÑ Ð²ÑÑе"})]}),en:c.jsxs(c.Fragment,{children:["Fewer ways out.",c.jsx("br",{}),"Higher ",c.jsx("em",{children:"risks every day"})]})},items:{ru:[{n:"01",node:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"ÐапÑеÑÑ Ð½Ð° вÑезд по повеÑÑкам."})," ÐÑдей ÑазвоÑаÑиваÑÑ Ð½Ð° гÑаниÑе â без ÑÑда, по ÑпиÑкам военкомаÑов."]})},{n:"02",node:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"ÐовÑе ÑголовнÑе дела за Ñлова."})," ÐоÑÑ Ð² Instagram, ÑепоÑÑ Ð² Telegram, «лайк» â повод Ð´Ð»Ñ Ð²Ð¾Ð·Ð±ÑÐ¶Ð´ÐµÐ½Ð¸Ñ Ð´ÐµÐ»Ð°."]})},{n:"03",node:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"ÐÑоÑÐ¾ÐºÐ¾Ð»Ñ Ð·Ð° ÑÐµÐºÐ»Ð°Ð¼Ñ Ð² «запÑеÑÑннÑÑ
» ÑоÑÑеÑÑÑ
."})," ÐизнеÑ, коÑоÑÑй ÑабоÑал в Instagram, ÑепеÑÑ Ð¿Ð¾Ð´ ÑгÑозой."]})},{n:"04",node:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"ÐаÑÑовÑе блокиÑовки ÐÐÐ."})," ÐнÑÑÑÑменÑÑ Ð¾Ð±Ñ
ода ÑензÑÑÑ Ð¸ÑÑезаÑÑ Ð¾Ð´Ð¸Ð½ за дÑÑгим. ÐоÑÑÑп к инÑоÑмаÑии ÑÑжаеÑÑÑ."]})},{n:"05",node:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"ÐÑеÑледование в ÑÑеÑÑиÑ
ÑÑÑанаÑ
:"})," ÑкÑÑÑадиÑионнÑе запÑоÑÑ Ð¾Ñ Ð Ð¾ÑÑии и попÑÑки депоÑÑаÑии под надÑманнÑм пÑедлогом."]})}],en:[{n:"01",node:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"Travel bans tied to draft lists."})," People are turned back at the border â no court order, just a name on a military list."]})},{n:"02",node:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"New criminal cases over words."})," An Instagram post, a Telegram repost, even a âlikeâ can trigger a prosecution."]})},{n:"03",node:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"Penalties for ads on âbannedâ platforms."})," Businesses that built audiences on Instagram are now at risk."]})},{n:"04",node:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"VPNs blocked at scale."})," Tools for bypassing censorship are disappearing. Access to honest information keeps shrinking."]})},{n:"05",node:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"Reach into other countries:"})," Russian extradition requests and deportation attempts on trumped-up grounds."]})}]},statsEyebrow:{ru:"ÐбÑий иÑог",en:"Total impact"},statsTitle:{ru:c.jsxs(c.Fragment,{children:["РеалÑÐ½Ð°Ñ Ð¿Ð¾Ð¼Ð¾ÑÑ â",c.jsx("br",{}),"ÑеалÑнÑм лÑдÑм"]}),en:c.jsxs(c.Fragment,{children:["Real help for",c.jsx("br",{}),"real people"]})},stats:{ru:[{n:"170,000",suffix:"+",label:"ÑÑидиÑеÑкиÑ
конÑÑлÑÑаÑий Ñ 2022 года"},{n:"14,000",suffix:"+",label:"пÑиÑ
ологиÑеÑкиÑ
ÑеÑÑий"},{n:"4,500",suffix:"+",label:"Ñеловек полÑÑили ÑкÑÑÑенное жилÑÑ"}],en:[{n:"170,000",suffix:"+",label:"legal consultations since 2022"},{n:"14,000",suffix:"+",label:"therapy sessions delivered"},{n:"4,500",suffix:"+",label:"people given emergency housing"}]},monthlyEyebrow:{ru:"ÐаждÑй меÑÑÑ",en:"Every month"},monthlyIntro:{ru:"Рнам обÑаÑаÑÑÑÑ:",en:"People reach out to us:"},monthly:{ru:[{n:"400",label:"обÑаÑений в Ð±Ð¾Ñ Ð¿Ñавовой помоÑи"},{n:"130",label:"запÑоÑов на пÑиÑ
ологиÑеÑкÑÑ Ð¿Ð¾Ð¼Ð¾ÑÑ"},{n:"20",suffix:"+",label:"запÑоÑов на ÑкÑÑÑенное жилÑÑ"}],en:[{n:"400",label:"requests through our legal help bot"},{n:"130",label:"requests for mental health support"},{n:"20",suffix:"+",label:"requests for emergency housing"}]}},photo:{text:{ru:c.jsxs(c.Fragment,{children:["Ðни ÑÑалкиваÑÑÑÑ Ñ Ð´Ð°Ð²Ð»ÐµÐ½Ð¸ÐµÐ¼, огÑаниÑениÑми,",c.jsx("br",{className:"hidden md:block"}
112),"военнÑм пÑизÑвом, ÑоÑалÑной Ñлежкой,"," ",c.jsx("em",{children:"пÑеÑледованиÑми"})]}),en:c.jsxs(c.Fragment,{children:["They face pressure, restrictions,",c.jsx("br",{className:"hidden md:block"}),"forced conscription, mass surveillance and"," ",c.jsx("em",{children:"political persecution"})]})}},help:{eyebrow:{ru:"Чем Ð¿Ð¾Ð¼Ð¾Ð³Ð°ÐµÑ ÐовÑег",en:"What Kovcheg does"},title:{ru:c.jsxs(c.Fragment,{children:["ÐкÑÑÑÐµÐ½Ð½Ð°Ñ Ð¿Ð¾Ð¼Ð¾ÑÑ â ",c.jsx("em",{children:"здеÑÑ Ð¸ ÑейÑаÑ"})]}),en:c.jsxs(c.Fragment,{children:["Emergency help â ",c.jsx("em",{children:"right now"})]})},cards:{ru:[{title:"ЮÑидиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð¼Ð¾ÑÑ",text:"ЮÑидиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð¼Ð¾ÑÑ Ð² дÑÑгиÑ
ÑÑÑанаÑ
пÑи запÑоÑаÑ
из РоÑÑии, конÑÑлÑÑаÑии, помоÑÑ Ñ Ð´Ð¾ÐºÑменÑами, пиÑÑмами поддеÑжки. РабоÑаем Ñ Ñеми, кÑо под ÑгÑозой пÑÑмо ÑейÑаÑ."},{title:"ÐÑиÑ
ологиÑеÑÐºÐ°Ñ Ð¿Ð¾Ð¼Ð¾ÑÑ",text:"ÐндивидÑалÑнÑе ÑеÑÑии Ñ Ð¿ÑиÑ
ологами, гÑÑÐ¿Ð¿Ñ Ð¿Ð¾Ð´Ð´ÐµÑжки, кÑизиÑÐ½Ð°Ñ Ð¿Ð¾Ð¼Ð¾ÑÑ Ñем, кÑо оказалÑÑ Ð² изолÑÑии или под давлением Ñиловиков."},{title:"ÐкÑÑÑенное жилÑÑ",text:"ÐкÑÑÑенное ÑазмеÑение Ð´Ð»Ñ ÑеÑ
, кÑо вÑнÑжден ÑÑоÑно ÑеÑ
аÑÑ, в ÐÑÑзии, ÐÑмении, СеÑбии, ТÑÑÑии."}],en:[{title:"Legal aid",text:"Legal support abroad when Russia comes after you â consultations, paperwork, support letters for asylum cases. We work with people who are at risk right now."},{title:"Mental health support",text:"One-on-one therapy, peer support groups, and crisis help for people in isolation or under pressure from security services."},{title:"Emergency shelter",text:"Safe places to stay for people who had to leave at short notice â in Georgia, Armenia, Serbia and Turkey."}]}},stories:{eyebrow:{ru:"ÐÑÑоÑии",en:"Stories"},title:{ru:c.jsxs(c.Fragment,{children:["ÐаÑе пожеÑÑвование Ð¿Ð¾Ð¼Ð¾Ð³Ð°ÐµÑ ",c.jsx("em",{children:"конкÑеÑÐ½Ð¾Ð¼Ñ ÑеловекÑ"})," не ÑломаÑÑÑÑ Ð¸ не оказаÑÑÑÑ Ð² ÑÑкаÑ
ÑиÑÑÐµÐ¼Ñ Ð·Ð° взглÑдÑ, позиÑиÑ, комменÑаÑий"]}),en:c.jsxs(c.Fragment,{children:["Your donation helps ",c.jsx("em",{children:"a real person"})," stay safe â and out of the hands of a system that punishes opinions, posts and dissent"]})},readMore:{ru:"ЧиÑаÑÑ â",en:"Read story â"},items:{ru:[{name:"ÐÑкандеÑ",meta:"УеÑ
ал из Ðазани поÑле обÑÑка и допÑоÑов",quote:"Я повеÑил, ÑÑо ÑепеÑÑ Ñ Ð½Ð°Ñ
ожÑÑÑ Ð² безопаÑноÑÑи",text:"Ð ÑнваÑе Ñиловики воÑвалиÑÑ Ð² кваÑÑиÑÑ 27-леÑнего ÐÑкандеÑа в Ðазани, повалили на пол, били по голове и заÑÑавлÑли ÑиÑаÑÑ ÐµÐ³Ð¾ ÑÑаÑÑе комменÑаÑии в поддеÑÐ¶ÐºÑ Ð£ÐºÑаинÑ. ÐопÑаÑивали по делам об «опÑавдании ÑеÑÑоÑизма» и «ÑкÑÑÑемизме». ÐлагодаÑÑ Ð¿ÑавозаÑиÑникам он покинÑл РоÑÑÐ¸Ñ â ÑейÑÐ°Ñ Â«ÐовÑег» Ð¿Ð¾Ð¼Ð¾Ð³Ð°ÐµÑ ÐµÐ¼Ñ Ð² ÑмигÑаÑии."},{name:"СеÑгей, ÐалÑга",meta:"УеÑ
ал в ÐазаÑ
ÑÑан поÑле мобилизаÑии, ÑепеÑÑ Ð²Ð¾ ФлоÑиде",quote:"ÐÐ¾Ñ Ð¶Ð¸Ð·Ð½Ñ ÑложилаÑÑ Ñ
оÑоÑо благодаÑÑ Â«ÐовÑегÑ»",text:"20-леÑний пÑогÑаммиÑÑ Ð¸Ð· ÐалÑги ÑеÑ
ал поÑле мобилизаÑии. Ðа анÑивоеннÑе поÑÑÑ Ð² инÑÑагÑаме им заинÑеÑеÑовалиÑÑ Ñиловики â звонили, ÑгÑожали ÑодиÑелÑм. «ÐовÑег» дал ÐµÐ¼Ñ Ð¼ÐµÑÑо в коливинге в ÐазаÑ
ÑÑане. СейÑÐ°Ñ Ð¡ÐµÑгей живÑÑ Ð² СШÐ, ÑабоÑÐ°ÐµÑ Ð² ÑÑаÑÑапе и Ñам конÑÑлÑÑиÑÑÐµÑ Ð»Ñдей по пеÑеездÑ."},{name:"СеÑгей",meta:"ÐиноÑежиÑÑÑÑ, жил в ÑелÑеÑе «ÐовÑега» в ÐÑмении",quote:"ÐÑÑÑение ненÑжноÑÑи â ÑÐ°Ð¼Ð°Ñ Ð±Ð¾Ð»ÑÑÐ°Ñ Ð¿Ñоблема Ñ Ð¼Ð½Ð¾Ð³Ð¸Ñ
лÑдей",text:"ÐиноÑежиÑÑÑÑ, вÑпÑÑкник ÐÐÐÐа. ÐоÑле 24 ÑевÑÐ°Ð»Ñ ÑлеÑел в ÐÑеван, меÑÑÑ Ð¿Ñожил в ÑелÑеÑе «ÐовÑега». ÐоÑом Ñам пÑедоÑÑавил ÑÐ²Ð¾Ñ ÐºÐ²Ð°ÑÑиÑÑ ÑмигÑанÑам â Ñ Ð½ÐµÐ³Ð¾ пожило 15 Ñеловек. СейÑÐ°Ñ Ð¾ÑганизÑÐµÑ ÐºÑлÑÑÑÑнÑе ивенÑÑ Ð² ÐÑмении Ñо звÑздами, коÑоÑÑе не поддеÑжали войнÑ."}],en:[{name:"Iskander",meta:"Left Kazan after a police raid and interrogations",quote:"Now I finally feel safe",text:"In January, security officers stormed into 27-year-old Iskanderâs apartment in Kazan, threw him to the floor, hit him on the head and forced him to read out his old pro-Ukraine comments. They interrogated him over âjustification of terrorismâ and âextremismâ charges. Human rights defenders helped him leave Ru
112ssia â Kovcheg now supports him in exile."},{name:"Sergey, Kaluga",meta:"Fled to Kazakhstan during mobilization â now in Florida",quote:"My life turned out well thanks to Kovcheg",text:"A 20-year-old developer from Kaluga left Russia during mobilization. Security services took notice of his anti-war Instagram posts â they called and threatened his parents. Kovcheg gave him a spot in a co-living in Kazakhstan. Today Sergey lives in the US, works at a startup and helps others navigate relocation."},{name:"Sergey",meta:"Filmmaker, lived in Kovchegâs shelter in Armenia",quote:"Feeling useless is the biggest problem for many people",text:"A filmmaker and VGIK graduate. After February 24 he flew to Yerevan and spent a month in a Kovcheg shelter. Later he opened up his own apartment to other émigrés â 15 people stayed with him. Today he organizes cultural events in Armenia with artists who refused to back the war."}]}},ctaBanner:{title:{ru:c.jsxs(c.Fragment,{children:["Ðомоги заÑиÑиÑÑ Ð»Ñдей Ð¾Ñ ",c.jsx("em",{children:"пÑеÑледований"})]}),en:c.jsxs(c.Fragment,{children:["Help protect people from ",c.jsx("em",{children:"political persecution"})]})},cta:{ru:"ÐомоÑÑ ÑейÑаÑ",en:"Donate now"}},donate:{eyebrow:{ru:"ÐомоÑÑ",en:"Donate"},title:{ru:c.jsxs(c.Fragment,{children:["ÐаждÑй Ð´ÐµÐ½Ñ â новÑе дела",c.jsx("br",{}),"ÐаждÑй Ð²Ð·Ð½Ð¾Ñ â ",c.jsx("em",{children:"ÑеалÑÐ½Ð°Ñ Ð·Ð°ÑиÑа"})]}),en:c.jsxs(c.Fragment,{children:["New cases every day.",c.jsx("br",{}),"Every gift is ",c.jsx("em",{children:"real protection"})]})},intro:{ru:"ÐовÑег ÑÑÑеÑÑвÑÐµÑ Ð½Ð° пожеÑÑвованиÑ. ÐÑе денÑги идÑÑ Ð½Ð° помоÑÑ Ñем, кÑо под ÑгÑозой пÑÑмо ÑейÑаÑ.",en:"Kovcheg runs on donations. Every dollar goes to people who are at risk right now."},urgent:{ru:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"СейÑÐ°Ñ Ð¾Ñобенно важно:"})," волна новÑÑ
ÑголовнÑÑ
дел за комменÑаÑии и поÑÑÑ Ð² ÑоÑÑеÑÑÑ
. ÐаÑи ÑÑиÑÑÑ ÑабоÑаÑÑ Ð½Ð° пÑеделе нагÑÑзки."]}),en:c.jsxs(c.Fragment,{children:[c.jsx("strong",{className:"text-white font-bold",children:"Why it matters right now:"})," a fresh wave of criminal cases over social media comments and posts. Our lawyers are stretched thin."]})},donorsLine:{ru:c.jsxs(c.Fragment,{children:["Рмае 2026 года ",c.jsx("b",{className:"text-white",children:"592 Ñеловека"})," Ñже поддеÑживали ÐовÑег ÑегÑлÑÑно. ",c.jsx("span",{className:"text-white",children:"СÑÐ°Ð½Ñ Ð¾Ð´Ð½Ð¸Ð¼ из ниÑ
."})]}),en:c.jsxs(c.Fragment,{children:["In May 2026, ",c.jsx("b",{className:"text-white",children:"592 people"})," were already supporting Kovcheg every month. ",c.jsx("span",{className:"text-white",children:"Join them."})]})},needLine:{ru:(e,t)=>`нÑжно еÑÑ ${e} Ñеловек ($${tf(t," ")}/меÑ), ÑÑÐ¾Ð±Ñ Ð´Ð¾ÑÑиÑÑ Ñели`,en:(e,t)=>`${e} more monthly donors needed ($${tf(t,",")}/mo) to reach the goal`},goalAmount:{ru:"$6 500",en:"$6,500"},progressLine:{ru:(e,t)=>c.jsxs(c.Fragment,{children:[c.jsx("b",{className:"text-white/65",children:e})," из ",t," новÑÑ
ÑегÑлÑÑнÑÑ
доноÑов"]}),en:(e,t)=>c.jsxs(c.Fragment,{children:[c.jsx("b",{className:"text-white/65",children:e})," of ",t," new monthly donors"]})},formTitle:{ru:"ÐоддеÑжаÑÑ",en:"Support us"},monthly:{ru:"ÐжемеÑÑÑно",en:"Monthly"},once:{ru:"Разово",en:"One-time"},monthlyNote:{ru:"РегÑлÑÑÐ½Ð°Ñ Ð¿Ð¾Ð´Ð´ÐµÑжка позволÑÐµÑ Ð½Ð°Ð¼ планиÑоваÑÑ ÑабоÑÑ, а не оÑÑанавливаÑÑÑÑ Ð¿Ð¾Ñле каждой кампании â когда помоÑÑ Ð¼Ð¾Ð¶ÐµÑ Ð¿Ð¾Ð½Ð°Ð´Ð¾Ð±Ð¸ÑÑÑÑ Ð² каждÑÑ Ð¼Ð¸Ð½ÑÑÑ.",en:"Recurring support lets us plan ahead instead of starting from zero after every campaign â because someone may need help any minute."},other:{ru:"ÐÑÑгое",en:"Other"},purpose:{ru:{18:"СÑÑки ÑкÑÑÑенного жилÑÑ Ð² безвизовой ÑÑÑане",25:"ÐÑганизаÑÐ¸Ñ Ð´Ð²ÑÑ
ÑÑидиÑеÑкиÑ
конÑÑлÑÑаÑий",50:"Ðвое ÑÑÑок кÑÑÑи над головой и меÑÑо в пÑиÑ
ологиÑеÑкой гÑÑппе"},en:{18:"One night of emergency housing in a visa-free country",25:"Two legal consultations",50:"Two nights of housing and a seat in a peer support group"}},customPlaceholder:{ru:"ÐведиÑе ÑÑммÑ",en:"Enter amount"},payMethod:{ru:"СпоÑоб оплаÑÑ",en:"Payment method"},payTabs:{ru:{stripe:"ÐаÑÑа",paypal:"PayPal",crypto:"ÐÑипÑо"},en:{stripe:"Card",paypal:"PayPal",crypto:"Crypto"}},emailPlaceholder:{ru:"ÐÐ°Ñ email",en:"Your email"},submit:{ru:e=>`ÐомоÑÑ ÑейÑÐ°Ñ â $${e}`,en:e=>`Donate now â $${e}`},submitting:{ru:"ÐеÑенапÑавлÑемâ¦",en:"Redirectingâ¦"},payError:{ru:"СеÑÐ²Ð¸Ñ Ð¾Ð¿Ð»Ð°ÑÑ Ð²Ñеменно недоÑÑÑпен. ÐопÑобÑйÑе еÑÑ Ñаз ÑеÑез минÑÑÑ.",en:"Payment service is temporarily unavailable. Please try again in a moment."},rateLimitError:{ru:"СлиÑком много попÑÑок. ÐопÑобÑйÑе ÑеÑез 15 минÑÑ.",en:"Too many attempts. Please try again in 15 minutes."},amountTooLow:{ru:"ÐинималÑÐ½Ð°Ñ ÑÑмма â $1",en:"Minimum amount is $1"},amountTooHigh:{ru:"ÐакÑималÑÐ½Ð°Ñ ÑÑмма â $1 000 000. ÐÐ»Ñ ÐºÑÑпнÑÑ
пожеÑÑвований напиÑиÑе нам.",en:"Maximum amount is $1,000,000. For major gifts please email us."},paypalBtn:{ru:"ÐеÑейÑи в PayPal",en:"Continue with PayPal"},captureFailed:{ru:"ÐлаÑÑж не подÑвеÑждÑн. ÐÑли PayPal пÑиÑлал Ñек â денÑги полÑÑенÑ, повÑоÑÑÑÑ Ð½Ðµ нÑжно. ÐÑли Ð½ÐµÑ â попÑобÑйÑе еÑÑ Ñаз.",en:"The payment wasn't confirmed. If PayPal sent you a receipt the donation went through; if not, please try again."},paypalUnavailable:{ru:"ÐплаÑа ÑеÑез PayPal ÑейÑÐ°Ñ Ð½ÐµÐ´Ð¾ÑÑÑпна. ÐÑбеÑиÑе дÑÑгой ÑпоÑоб.",en:"PayPal is unavailable right now. Please choose another method."},cryptoNote:{ru:c.jsxs(c.Fragment,{children:["ÐоÑле пеÑевода напиÑиÑе на"," ",c.jsx("a",{className:"text-brand-blue-mid hover:underline",href:"mailto:[email protected]",children:"[email protected]"})]}),en:c.jsxs(c.Fragment,{children:["After sending, please email"," ",c.jsx("a",{className:"text-brand-blue-mid hover:underline",href:"mailto:[email protected]",children:"[email protected]"})]})},secure:{ru:"ð ÐезопаÑÐ½Ð°Ñ Ð¾Ð¿Ð»Ð°Ñа",en:"ð Secure payment"},cancelAny:{ru:"â ÐÑмена в лÑбой моменÑ",en:"â Cancel anytime"},legal:{ru:c.jsxs(c.Fragment,{children:["ÐÐ°Ð¶Ð¸Ð¼Ð°Ñ Â«ÐомоÑÑ», Ð²Ñ Ð¿Ð¾Ð´ÑвеÑждаеÑе добÑоволÑноÑÑÑ Ð¿Ð¾Ð¶ÐµÑÑÐ²Ð¾Ð²Ð°Ð½Ð¸Ñ Ð¸ ÑоглаÑаеÑеÑÑ Ñ"," ",c.jsx("a",{className:"text-white/40 underline hover:text-white/60",href:"https://kovcheg.live/en/agreement-en/",target:"_blank",rel:"noopener noreferrer",children:"полиÑикой пожеÑÑвований"})," ","и"," ",c.jsx("a",{className:"text-white/40 underline hover:text-white/60",href:"https://kovcheg.live/en/policy-en/",target:"_blank",rel:"noopener noreferrer",children:"полиÑикой конÑиденÑиалÑноÑÑи"}),"."]}),en:c.jsxs(c.Fragment,{children:["By clicking âDonateâ you confirm this is a voluntary gift and agree to our"," ",c.jsx("a",{className:"text-white/40 underline hover:text-white/60",href:"https://kovcheg.live/en/agreement-en/",target:"_blank",rel:"noopener noreferrer",children:"donation policy"})," ","and"," ",c.jsx("a",{className:"text-white/40 underline hover:text-white/60",href:"https://kovcheg.live/en/policy-en/",target:"_blank",rel:"noopener noreferrer",children:"privacy policy"}),"."]})},major:{ru:c.jsxs(c.Fragment,{children:["ÐÑÑпнÑе пожеÑÑвованиÑ: ",c.jsx("a",{className:"text-brand-blue-mid hover:underline",href:"mailto:[email protected]",children:"[email protected]"})]}),en:c.jsxs(c.Fragment,{children:["Major gifts: ",c.jsx("a",{className:"text-brand-blue-mid hover:underline",href:"mailto:[email protected]",children:"[email protected]"})]})},copy:{ru:"ÐопиÑоваÑÑ",en:"Copy"},copied:{ru:"СкопиÑовано â",en:"Copied â"},subscribeReports:{ru:"ÐолÑÑаÑÑ Ð¾ÑÑÑÑнÑÑ ÑаÑÑÑлкÑ",en:"Receive our reports newsletter"}},media:{eyebrow:{ru:"Ð Ð½Ð°Ñ Ð¿Ð¸ÑÑÑ",en:"As featured in"}},share:{eyebrow:{ru:"ÐоделиÑÑÑÑ",en:"Share"},title:{ru:"РаÑÑкажи о ÐовÑеге â ÑÑо Ñоже помоÑÑ",en:"Spread the word about Kovcheg â it helps too"},shareText:{ru:"Ðомоги заÑиÑиÑÑ Ð»Ñдей Ð¾Ñ Ð¿ÑеÑледований. ÐовÑег Ð¿Ð¾Ð¼Ð¾Ð³Ð°ÐµÑ Ñ ÑкÑÑÑенной ÑÑидиÑеÑкой, пÑиÑ
ологиÑеÑкой помоÑÑÑ Ð¸ жилÑÑм.",en:"Help protect people from political persecution. Kovcheg provides emergency legal aid, mental health support and shelter."},ariaShareOn:{ru:e=>`ÐоделиÑÑÑÑ Ð² ${e}`,en:e=>`Share on ${e}`}},footer:{site:{ru:"СайÑ",en:"Website"}}},s4="(max-width: 767.98px)",sc=e=>{if(typeof window>"u")return;const n=typeof window.matchMedia=="function"&&window.matchMedia(s4).matches?"donate-form":"donate",r=document.getElementById(n);if(r){e.preventDefault(),r.scrollIntoView({behavior:"smooth",block:"start"});try{window.history.replaceState(null,"",`#${n}`)}catch{}}},l4=()=>c.jsx(mg,{className:"w-[100px] h-auto"}),a4=()=>{const e=Be(),t=Vs(),{hash:n}=Ot(),r=o=>{if(o!==e){try{localStorage.setItem("lang",o)}catch{}t(`/${o}
112${n||""}`)}};return c.jsxs("nav",{className:"fixed top-0 inset-x-0 z-50 flex items-center justify-between h-[60px] px-6 md:px-14 bg-navy/90 backdrop-blur-md border-b border-white/5",children:[c.jsx(xs,{to:`/${e}`,className:"flex items-center","aria-label":Y.nav.homeAria[e],children:c.jsx(l4,{})}),c.jsxs("div",{className:"flex items-center gap-3 md:gap-5",children:[c.jsx("div",{className:"inline-flex items-center text-[11px] md:text-xs font-bold uppercase tracking-[0.15em] select-none border border-white/15 rounded-md overflow-hidden",role:"group","aria-label":Y.nav.switcherAria[e],children:["ru","en"].map(o=>c.jsx("button",{type:"button",onClick:()=>r(o),"aria-pressed":e===o,className:`px-2.5 py-1.5 transition-colors ${e===o?"bg-white text-navy":"text-white/60 hover:text-white"}`,children:o},o))}),c.jsx("a",{href:"#donate",onClick:sc,className:"bg-brand-red hover:bg-brand-red-dk text-white rounded px-5 md:px-7 py-2.5 text-xs md:text-sm font-bold uppercase tracking-[0.1em] transition-colors",children:Y.nav.cta[e]})]})]})},u4="/assets/hero-bg-DmcJIBvj.jpg",c4=()=>{const e=Be(),t=Y.hero.title[e],n=Y.hero.titleEm[e];return c.jsxs("section",{className:"relative min-h-screen flex items-end overflow-hidden px-6 md:px-14 pt-24 pb-16 md:pb-20",children:[c.jsx("div",{className:"absolute inset-0 z-0 bg-navy-deep",children:c.jsx("img",{src:u4,alt:"",width:1920,height:1280,className:"w-full h-full object-cover object-right opacity-70"})}),c.jsx("div",{className:"absolute inset-0 z-[1] bg-hero-overlay md:hidden"}),c.jsx("div",{className:"absolute inset-0 z-[1] hidden md:block",style:{background:"linear-gradient(to right, hsl(var(--navy-deep) / 0.96) 0%, hsl(var(--navy-deep) / 0.85) 35%, hsl(var(--navy-deep) / 0.45) 65%, hsl(var(--navy-deep) / 0.1) 100%)"}}),c.jsxs("div",{className:"relative z-[2] max-w-[920px] lg:max-w-[1040px]",children:[c.jsx("h1",{className:"display-h text-white text-[clamp(36px,6.2vw,88px)] mb-7 animate-up break-normal",children:t.map((r,o)=>c.jsxs("span",{children:[r===n?c.jsx("em",{children:r}):r,o<t.length-1&&c.jsx("br",{})]},o))}),c.jsx("p",{className:"text-lg md:text-xl text-white/75 leading-relaxed mb-10 max-w-[640px] animate-up-1",children:Y.hero.body[e]}),c.jsxs("a",{href:"#donate",onClick:sc,className:"inline-flex items-center gap-2.5 bg-brand-red hover:bg-brand-red-dk text-white rounded-md px-11 py-[18px] text-base font-bold uppercase tracking-[0.1em] transition-all hover:-translate-y-0.5 shadow-cta animate-up-2",children:[Y.hero.cta[e],c.jsx("svg",{viewBox:"0 0 18 18",fill:"none",className:"w-[18px] h-[18px]","aria-hidden":"true",children:c.jsx("path",{d:"M3 9h12M10 4l5 5-5 5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]}),c.jsxs("div",{className:"hidden md:flex absolute bottom-7 right-14 z-[2] items-center gap-2 text-[11px] uppercase tracking-[0.2em] text-white/30",children:[c.jsx("span",{className:"w-10 h-px bg-white/20"}),c.jsx("span",{children:Y.hero.scroll[e]})]})]})},d4=()=>{const e=Be(),t=Y.ticker.items[e],n=[...t,...t];return c.jsx("div",{className:"bg-brand-red overflow-hidden py-3.5 whitespace-nowrap",children:c.jsx("div",{className:"inline-flex animate-ticker",children:n.map((r,o)=>c.jsx("span",{className:"px-9 text-sm font-bold uppercase tracking-[0.1em] text-white inline-flex items-center gap-9 after:content-['·'] after:text-xl after:opacity-50",children:r},o))})})},f4=()=>{const e=Be(),t=Y.daily.items[e],n=Y.daily.stats[e],r=Y.daily.monthly[e];return c.jsx("section",{className:"bg-navy-soft border-t border-white/5 px-6 md:px-14 py-20 md:py-24",children:c.jsxs("div",{className:"grid md:grid-cols-2 gap-10 md:gap-14 items-start",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow mb-3.5",children:Y.daily.eyebrow[e]}),c.jsx("h2",{className:"display-h text-white text-[clamp(28px,3.5vw,48px)] mb-5",children:Y.daily.title[e]}),c.jsx("ul",{className:"mt-10 flex flex-col",children:t.map((o,i)=>c.jsxs("li",{className:`flex items-start gap-5 py-6 border-b border-white/5 ${i===0?"border-t":""}`,children:[c.jsx("span",{className:"text-[11px] font-bold tracking-[0.1em] text-brand-red min-w-[32px] pt-1",children:o.n}),c.jsx("p",{className:"text-base text-white/80 leading-relaxed",children:o.node})]},o.n))})]}),c.jsxs("div",{className:"md:pt-10",children:[c.jsx("div",{className:"eyebrow mb-3.5 text-brand-red",children:Y.daily.statsEyebrow[e]}),c.jsx("h3",{className:"display-h text-white text-[clamp(20px,2.2vw,28px)] mb-8 leading-tight",children:Y.daily.statsTitle[e]}),n.map((o,i)=>c.jsxs("div",{className:`mb-10 pb-10 ${i<n.length-1?"border-b border-white/10":"mb-0 pb-0"}`,children:[c.jsxs("span",{className:"block text-[56px] font-extrabold text-white tracking-tight leading-none",children:[c.jsx("span",{className:"text-brand-red",children:o.n}),o.suffix??""]}),c.jsx("p",{className:"text-sm text-white/45 mt-2 leading-relaxed",children:o.label})]},i)),c.jsxs("div",{className:"mt-12 pt-10 border-t border-white/10",children:[c.jsx("div",{className:"eyebrow mb-4 text-brand-red",children:Y.daily.monthlyEyebrow[e]}),c.jsx("p",{className:"text-base text-white/70 mb-6 leading-relaxed",children:Y.daily.monthlyIntro[e]}),c.jsx("div",{className:"grid grid-cols-3 gap-4",children:r.map((o,i)=>c.jsxs("div",{children:[c.jsxs("span",{className:"block text-[28px] md:text-[32px] font-extrabold text-white tracking-tight leading-none",children:[c.jsx("span",{className:"text-brand-red",children:o.n}),o.suffix??""]}),c.jsx("p",{className:"text-xs text-white/50 mt-2 leading-snug",children:o.label})]},i))})]})]})]})})},p4="/assets/community-ClUTUHl2.jpg",h4=()=>{const e=Be();return c.jsxs("section",{className:"relative overflow-hidden h-[300px] md:h-[480px]",children:[c.jsx("img",{src:p4,alt:"",width:1920,height:1080,loading:"lazy",className:"w-full h-full object-cover saturate-[0.6] brightness-[0.6]"}),c.jsx("div",{className:"absolute inset-0 bg-photo-overlay flex items-end p-7 md:p-14",children:c.jsx("p",{className:"display-h text-white text-[clamp(22px,3vw,36px)] max-w-[700px]",children:Y.photo.text[e]})})]})},m4=[c.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[c.jsx("rect",{x:"3",y:"4",width:"18",height:"17",rx:"2",stroke:"hsl(var(--brand-blue-mid))",strokeWidth:"1.8"}),c.jsx("path",{d:"M8 9h8M8 13h5",stroke:"hsl(var(--brand-blue-mid))",strokeWidth:"1.8",strokeLinecap:"round"}),c.jsx("path",{d:"M16 1v4M8 1v4",stroke:"hsl(var(--brand-blue-mid))",strokeWidth:"1.8",strokeLinecap:"round"})]}),c.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[c.jsx("circle",{cx:"12",cy:"8",r:"4",stroke:"hsl(var(--brand-blue-mid))",strokeWidth:"1.8"}),c.jsx("path",{d:"M4 20c0-4 3.6-7 8-7s8 3 8 7",stroke:"hsl(var(--brand-blue-mid))",strokeWidth:"1.8",strokeLinecap:"round"}),c.jsx("path",{d:"M18 11l2 2-2 2",stroke:"hsl(var(--brand-blue-mid))",strokeWidth:"1.5",strokeLinecap:"round"})]}),c.jsxs("svg",{width:"22",height:"22",viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",children:[c.jsx("path",{d:"M3 10.5L12 4l9 6.5V20
112a1 1 0 01-1 1H4a1 1 0 01-1-1V10.5z",stroke:"hsl(var(--brand-blue-mid))",strokeWidth:"1.8"}),c.jsx("path",{d:"M9 21V13h6v8",stroke:"hsl(var(--brand-blue-mid))",strokeWidth:"1.8",strokeLinecap:"round"})]})],g4=()=>{const e=Be(),t=Y.help.cards[e];return c.jsxs("section",{className:"bg-navy px-6 md:px-14 py-20 md:py-24",children:[c.jsx("div",{className:"eyebrow mb-3.5",children:Y.help.eyebrow[e]}),c.jsx("h2",{className:"display-h text-white text-[clamp(28px,3.5vw,48px)] mb-5",children:Y.help.title[e]}),c.jsx("div",{className:"mt-14 grid md:grid-cols-3 gap-px border border-white/5 rounded-xl overflow-hidden",children:t.map((n,r)=>c.jsxs("article",{className:"bg-white/[0.03] hover:bg-white/[0.06] transition-colors p-7 md:p-9",children:[c.jsxs("div",{className:"flex items-center gap-3 mb-3.5",children:[c.jsx("div",{className:"w-10 h-10 rounded-lg bg-brand-blue/15 flex items-center justify-center flex-shrink-0",children:m4[r]}),c.jsx("h3",{className:"text-base md:text-lg font-bold text-white uppercase tracking-wide",children:n.title})]}),c.jsx("p",{className:"text-sm text-white/50 leading-relaxed",children:n.text})]},n.title))})]})},v4="/assets/story-iskander-vSJ4pTsK.jpg",y4="/assets/story-sergey-kaluga--EVEkR-3.jpg",x4="/assets/story-sergey-eEft9Nfg.jpg",w4=[v4,y4,x4],S4=["https://t.me/ArkHelps/21856","https://t.me/ArkHelps/18749","https://t.me/ArkHelps/19748"],C4=()=>{const e=Be(),t=Y.stories.items[e];return c.jsxs("section",{className:"bg-navy px-6 md:px-14 py-20 md:py-24 border-t border-white/5",children:[c.jsx("div",{className:"eyebrow mb-3.5",children:Y.stories.eyebrow[e]}),c.jsx("h2",{className:"display-h text-white text-[clamp(26px,3vw,42px)] mb-5 max-w-[820px]",children:Y.stories.title[e]}),c.jsx("div",{className:"mt-14 grid md:grid-cols-3 gap-6 md:gap-7",children:t.map((n,r)=>c.jsxs("article",{className:"bg-white/[0.03] border border-white/5 rounded-xl overflow-hidden flex flex-col hover:bg-white/[0.05] transition-colors",children:[c.jsxs("div",{className:"relative aspect-[4/3] overflow-hidden bg-navy-deep",children:[c.jsx("img",{src:w4[r],alt:n.name,loading:"lazy",className:"w-full h-full object-cover saturate-[0.85]"}),c.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-navy/70 via-transparent to-transparent"})]}),c.jsxs("div",{className:"p-6 md:p-7 flex flex-col flex-1",children:[c.jsxs("blockquote",{className:"text-lg md:text-xl text-white font-bold leading-snug mb-4",children:["«",n.quote,"»"]}),c.jsx("p",{className:"text-sm text-white/55 leading-relaxed mb-5 flex-1",children:n.text}),c.jsxs("div",{className:"pt-4 border-t border-white/5 flex items-center justify-between gap-3",children:[c.jsxs("div",{children:[c.jsx("div",{className:"text-sm font-bold text-white",children:n.name}),c.jsx("div",{className:"text-[12px] text-white/40 mt-0.5",children:n.meta})]}),c.jsx("a",{href:S4[r],target:"_blank",rel:"noopener noreferrer",className:"text-[12px] font-bold uppercase tracking-wide text-brand-blue-mid hover:text-white transition-colors whitespace-nowrap",children:Y.stories.readMore[e]})]})]})]},n.name))})]})},k4=()=>{const e=Be();return c.jsxs("section",{className:"bg-brand-red px-6 md:px-14 py-16 md:py-20 text-center",children:[c.jsx("h2",{className:"display-h text-white text-[clamp(28px,4vw,52px)] mb-8 max-w-[900px] mx-auto leading-tight [&_em]:text-white",children:Y.ctaBanner.title[e]}),c.jsxs("a",{href:"#donate",onClick:sc,className:"inline-flex items-center gap-2.5 bg-white text-brand-red hover:bg-white/90 rounded-md px-11 py-[18px] text-base font-bold uppercase tracking-[0.1em] transition-all hover:-translate-y-0.5 shadow-cta",children:[Y.ctaBanner.cta[e],c.jsx("svg",{viewBox:"0 0 18 18",fill:"none",className:"w-[18px] h-[18px]","aria-hidden":"true",children:c.jsx("path",{d:"M3 9h12M10 4l5 5-5 5",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]})]})};class jt extends Error{constructor(t,n,r){super(t),this.code=t,this.status=n,this.details=r,this.name="ApiError"}}const E4="https://api.kovcheg.live";function vg(e){return`${E4}${e}`}async function yg(e){let t="unknown_error",n;try{const r=await e.json();t=(r==null?void 0:r.error)??t,n=r==null?void 0:r.details}catch{}return new jt(t,e.status,n)}async function Zs(e,t={}){const n=vg(e),{method:r="GET",body:o,signal:i}=t;let s;try{s=await fetch(n,{method:r,headers:o?{"content-type":"application/json"}:void 0,body:o?JSON.stringify(o):void 0,signal:i})}catch(l){throw new jt("network_error",0,l)}if(!s.ok)throw await yg(s);return s.json()}function b4(e,t){return Zs("/v1/checkout/session",{method:"POST",body:e,signal:t})}const P4="/v1/checkout/paypal-return",N4=1500;function _4(e,t){return Zs("/v1/checkout/paypal-order",{method:"POST",body:e,signal:t})}function T4(e,t){return Zs("/v1/checkout/paypal-subscription",{method:"POST",body:e,signal:t})}function xg(e){return`${vg(P4)}?token=${encodeURIComponent(e)}`}async function j4(e,t){try{return await nf(e,t)}catch(n){if(!(n instanceof jt)||n.status<500)throw n;return await new Promise(r=>setTimeout(r,N4)),nf(e,t)}}async function nf(e,t){let n;try{n=await fetch(xg(e),{redirect:"manual",headers:{accept:"application/json"},signal:t})}catch(o){throw new jt("network_error",0,o)}if(n.type==="opaqueredirect"||n.status===0)return{status:"redirected"};if(!n.ok)throw await yg(n);let r;try{r=await n.json()}catch{throw new jt("unknown_error",n.status,"capture answer is not JSON")}if((r==null?void 0:r.status)!=="captured"&&(r==null?void 0:r.status)!=="already_captured")throw new jt("unknown_error",n.status,r);return{status:r.status,order_id:r.order_id}}function R4(e){return Zs("/v1/stats/recurring-donors",{signal:e})}const wg="G-JWJKPZ1D6T",lc=typeof window<"u",Sg=(...e)=>{if(lc)try{typeof window.gtag=="function"?window.gtag(...e):Array.isArray(window.dataLayer)&&window.dataLayer.push(e)}catch{}},O4=["token","PayerID","ba_token","subscription_id","order_id"],Cg=()=>{if(lc)try{const e=new URL(window.location.href);for(const t of O4)e.searchParams.delete(t);return e.toString()}catch{return}},ce=(e,t={})=>{Sg("event",e,{page_location:Cg(),...t})},A4=(e,t)=>{Sg("event","page_view",{page_path:e,page_location:Cg()??e,page_title:t??(lc?document.title:void 0)})},kg="kovcheg.paypal.flow",ac="kovcheg.paypal.capture-token",rf=e=>{try{window.sessionStorage.setItem(kg,e)}catch{}},L4=e=>{try{return window.sessionStorage.setItem(ac,e),!0}catch{return!1}},of=()=>{try{return window.sessionStorage.getItem(ac)}catch{return null}},Va=()=>{try{window.sessionStorage.removeItem(ac)}catch{}},M4=()=>{try{const e=window.sessionStorage.getItem(kg);return e==="order"||e==="subscription"?e:null}catch{return null}},F4=()=>{const e=new URLSearchParams(window.location.search).get("error");
112if(e)return e;const t=window.location.hash.indexOf("?");return t===-1?null:new URLSearchParams(window.location.hash.slice(t+1)).get("error")},I4=()=>{try{const e=new URL(window.location.href);e.searchParams.delete("error");const t=e.hash.indexOf("?");if(t!==-1){const n=new URLSearchParams(e.hash.slice(t+1));n.delete("error");const r=n.toString();e.hash=`${e.hash.slice(0,t)}${r?`?${r}`:""}`}window.history.replaceState(window.history.state,"",`${e.pathname}${e.search}${e.hash}`)}catch{}},Eg="kovcheg.attribution.v1",D4=["utm_source","utm_medium","utm_campaign","utm_content","utm_term"],Zr=typeof window<"u",bg=()=>{if(!Zr)return null;try{const e=window.sessionStorage.getItem(Eg);return e?JSON.parse(e):null}catch{return null}},z4=e=>{if(Zr)try{window.sessionStorage.setItem(Eg,JSON.stringify(e))}catch{}},$4=()=>{if(!Zr)return;const e=new URLSearchParams(window.location.search),t={};let n=!1;for(const o of D4){const i=e.get(o);i&&(t[o]=i,n=!0)}const r=bg();(!r||n)&&z4({...t,referrer:(r==null?void 0:r.referrer)??(document.referrer||void 0),landing_path:(r==null?void 0:r.landing_path)??window.location.pathname,captured_at:new Date().toISOString()})},sf=()=>{const e=bg();return e?{utm_source:e.utm_source,utm_medium:e.utm_medium,utm_campaign:e.utm_campaign,utm_content:e.utm_content,utm_term:e.utm_term,referrer:e.referrer,landing_path:e.landing_path}:{}},U4=()=>{if(!Zr)return;const e=document.cookie.match(/(?:^|;\s*)_ga=([^;]+)/);if(!e)return;const t=e[1].split(".");if(!(t.length<4))return`${t[2]}.${t[3]}`},B4=()=>{if(!Zr)return;const e=`_ga_${wg.replace(/^G-/,"")}`,t=new RegExp(`(?:^|;\\s*)${e}=([^;]+)`),n=document.cookie.match(t);if(!n)return;const r=n[1].split(".");return r.length>=3?r[2]:void 0},Pg=(e,t=800)=>new Promise(n=>{if(!Zr||typeof window.gtag!="function"){n(void 0);return}let r=!1;const o=window.setTimeout(()=>{r||(r=!0,n(void 0))},t);try{window.gtag("get",wg,e,i=>{r||(r=!0,window.clearTimeout(o),n(typeof i=="string"?i:void 0))})}catch{r=!0,window.clearTimeout(o),n(void 0)}}),V4=async()=>await Pg("client_id")??U4(),W4=async()=>await Pg("session_id")??B4(),Fn="donation_general",fo="Kovcheg general donation",H4=[18,25,50,0],K4=1e8,Q4=[{id:"stripe",key:"stripe"},{id:"paypal",key:"paypal"},{id:"crypto",key:"crypto"}],G4=[{id:"stripe",key:"stripe"},{id:"paypal",key:"paypal"}],lf={btc:"bc1qnxmjjj23e5u6y8slhl9wss74t3wep6tke2nc60",usdt:"TDWsHaZcsifiBypNJDKNrQf7vmhZ9LtXko",eth:"0xBf178F99b8790db1BD2194D80c3a268AE4AcE804"},Y4=["https://checkout.stripe.com/","https://pay.kovcheg.live/"],af=["https://www.paypal.com/","https://www.sandbox.paypal.com/"],q4=!0,Ll=(e,t)=>{if(!e||!t.some(n=>e.startsWith(n)))throw new Error("invalid_redirect")},X4=()=>{const e=Be(),t=Y.donate,{toast:n}=Jh(),[r,o]=v.useState("monthly"),[i,s]=v.useState(18),[l,a]=v.useState(!1),[u,f]=v.useState(""),[d,h]=v.useState("stripe"),[x,S]=v.useState("btc"),[y,w]=v.useState(""),[m,p]=v.useState(!1),[g,C]=v.useState(!1),[k,b]=v.useState(0),[E,_]=v.useState(!1),[R,j]=v.useState(null),[D,I]=v.useState(q4),H=v.useRef(null),L=v.useRef(!1),K=325,U=6500,V=(R==null?void 0:R.new_active_since)??0,N=Math.max(K-V,0),A=Math.round(N*(U/K));v.useEffect(()=>{const O=new AbortController;return R4(O.signal).then(j).catch(q=>{q instanceof Error&&q.name==="AbortError"||console.warn("Failed to load recurring donor stats",q)}),()=>O.abort()},[]),v.useEffect(()=>{const O=setTimeout(()=>{b(Math.min(V/K*100,100))},500);return()=>clearTimeout(O)},[V]),v.useEffect(()=>{const O=q=>{q.persisted&&_(!1)};return window.addEventListener("pageshow",O),()=>window.removeEventListener("pageshow",O)},[]),v.useEffect(()=>{F4()==="capture_failed"&&(I4(),ce("paypal_capture_error",{reason:"capture_failed"}),n({variant:"destructive",title:t.captureFailed[e]}))},[t,e,n]),v.useEffect(()=>{const O=H.current;if(!O||L.current)return;if(typeof IntersectionObserver>"u"){L.current=!0,ce("view_item",{item_id:Fn,item_name:fo,item_category:"donation"});return}const q=new IntersectionObserver(re=>{for(const ae of re)if(ae.isIntersecting&&!L.current){L.current=!0,ce("view_item",{item_id:Fn,item_name:fo,item_category:"donation"}),q.disconnect();break}},{threshold:.4});return q.observe(O),()=>q.disconnect()},[]);const F=l?Number(u)||0:i,Z=`${F}${r==="monthly"?e==="ru"?"/меÑ":"/mo":""}`,Ve=O=>{O===0?(a(!0),ce("select_item",{item_id:Fn,item_name:fo,item_variant:"custom",donation_type:r})):(a(!1),s(O),ce("select_item",{item_id:Fn,item_name:fo,item_variant:`preset_${O}`,value:O,currency:"USD",donation_type:r}))},Me=O=>{O!==r&&(o(O),ce("select_donation_type",{donation_type:O,item_id:Fn}))},Mn=O=>{O!==d&&(h(O),ce("add_payment_info",{payment_type:O,donation_type:r,item_id:Fn}))},it=async()=>{var re;const O=lf[x];let q=!1;try{(re=navigator.clipboard)!=null&&re.writeText&&(await navigator.clipboard.writeText(O),q=!0)}catch{q=!1}if(!q)try{const ae=document.createElement("textarea");ae.value=O,ae.style.position="fixed",ae.style.opacity="0",document.body.appendChild(ae),ae.select(),document.execCommand("copy"),document.body.removeChild(ae),q=!0}catch{q=!1}p(!0),ce("crypto_address_copy",{coin:x,success:q}),setTimeout(()=>p(!1),2e3)},Lt=async(O,q)=>{const[re,ae]=await Promise.all([V4(),W4()]),st=sf(),{url:Mt}=await b4({program:"general",mode:r==="monthly"?"subscription":"payment",amount_cents:q,currency:"usd",locale:e,success_url:`${O}/${e}/thank-you`,cancel_url:`${O}/${e}#donate`,source_landing:"kovcheg.live",ga_client_id:re,ga_session_id:ae,...st});return Ll(Mt,Y4),Mt},li=async(O,q)=>{const re={program:"general",amount_cents:q,currency:"usd",success_url:`${O}/${e}/thank-you`,cancel_url:`${O}/${e}#donate`};
112if(r==="monthly"){const{url:Mt}=await T4(re);return Ll(Mt,af),rf("subscription"),Mt}const ae=sf(),{url:st}=await _4({...re,source_landing:"kovcheg.live",utm_source:ae.utm_source,utm_medium:ae.utm_medium,utm_campaign:ae.utm_campaign,utm_content:ae.utm_content,utm_term:ae.utm_term,referrer:ae.referrer});return Ll(st,af),rf("order"),st},Jr=async()=>{if(E)return;const O=Math.round(F*100);if(O<100){ce("donation_validation_error",{reason:"amount_too_low",value:F}),n({variant:"destructive",title:t.amountTooLow[e]});return}if(O>K4){ce("donation_validation_error",{reason:"amount_too_high",value:F}),n({variant:"destructive",title:t.amountTooHigh[e]});return}Va();const q="https://donate.kovcheg.live";ce("begin_checkout",{currency:"USD",value:F,donation_type:r,payment_type:d,items:[{item_id:Fn,item_name:fo,item_category:"donation",item_variant:l?"custom":`preset_${i}`,price:F,quantity:1}]});try{_(!0);const re=d==="paypal"?await li(q,O):await Lt(q,O);window.location.href=re}catch(re){_(!1);const ae=re instanceof jt&&re.code==="rate_limited",st=re instanceof jt&&re.code==="paypal_unavailable",Mt=!st&&(re instanceof Error&&re.message==="invalid_redirect"||re instanceof jt&&(re.code==="invalid_redirect"||re.code==="invalid_redirect_url"));
112ce("donation_redirect_error",{reason:ae?"rate_limited":st?"paypal_unavailable":Mt?"invalid_redirect":"api_error",donation_type:r,payment_type:d,value:F}),st&&(I(!1),h("stripe")),n({variant:"destructive",title:ae?t.rateLimitError[e]:st?t.paypalUnavailable[e]:t.payError[e]})}},eo=t.purpose[e],ai=(r==="monthly"?G4:Q4).filter(O=>O.id!=="paypal"||D);return c.jsxs("section",{id:"donate",ref:H,className:"bg-navy-soft border-t border-white/5 px-6 md:px-14 py-20 md:py-24 grid md:grid-cols-2 gap-10 md:gap-20 items-start",children:[c.jsxs("div",{children:[c.jsx("div",{className:"eyebrow mb-3.5",children:t.eyebrow[e]}),c.jsx("h2",{className:"display-h text-white text-[clamp(26px,3vw,42px)] mb-5",children:t.title[e]}),c.jsx("p",{className:"text-lg text-white/60 leading-relaxed max-w-[580px] mb-9",children:t.intro[e]}),c.jsx("div",{className:"bg-brand-red/10 border border-brand-red/25 border-l-[3px] border-l-brand-red rounded-r-lg px-4 py-3.5 mb-7 text-sm text-white/75 leading-relaxed",children:t.urgent[e]}),c.jsxs("div",{className:"mb-7",children:[c.jsx("p",{className:"text-base text-white/80 leading-relaxed mb-4",children:t.donorsLine[e]}),c.jsxs("div",{className:"flex justify-between items-end mb-2.5",children:[c.jsx("span",{className:"text-sm text-white/50",children:t.needLine[e](N,A)}),c.jsx("span",{className:"text-sm text-brand-red",children:t.goalAmount[e]})]}),c.jsx("div",{className:"h-1 bg-white/10 rounded-sm overflow-hidden mb-2.5",children:c.jsx("div",{className:"h-full bg-brand-red rounded-sm transition-[width] duration-[1600ms] ease-out",style:{width:`${k}%`}})}),c.jsx("div",{className:"text-xs text-white/30",children:t.progressLine[e](V,K)})]})]}),c.jsxs("div",{id:"donate-form",className:"bg-white/5 border border-white/10 rounded-2xl p-6 md:p-9 md:sticky md:top-[76px] scroll-mt-[76px]",children:[c.jsx("div",{className:"text-base md:text-lg font-bold text-white mb-5 uppercase tracking-wide",children:t.formTitle[e]}),c.jsx("div",{className:"flex border border-white/10 rounded-md overflow-hidden mb-5",children:["monthly","once"].map(O=>c.jsx("button",{onClick:()=>Me(O),className:`flex-1 py-2.5 text-xs md:text-sm font-bold uppercase tracking-wide transition-colors ${r===O?"bg-brand-red text-white":"bg-transparent text-white/40 hover:text-white/60"}`,children:O==="monthly"?t.monthly[e]:t.once[e]},O))}),r==="monthly"&&c.jsx("p",{className:"text-xs text-white/45 leading-relaxed mb-4 px-3 py-2.5 bg-brand-blue/10 rounded border-l-2 border-brand-blue",children:t.monthlyNote[e]}),c.jsx("div",{className:"grid grid-cols-2 gap-2 mb-3.5",children:H4.map(O=>{const q=O===0?l:!l&&i===O;return c.jsx("button",{onClick:()=>Ve(O),className:`py-3.5 px-2 border rounded-md text-base font-bold transition-all ${q?"border-brand-red bg-brand-red/10 text-white":"border-white/10 text-white/70 hover:border-brand-red hover:text-white"}`,children:O===0?t.other[e]:`$${O}`},O)})}),!l&&eo[i]&&c.jsxs("p",{className:"text-[12px] text-white/50 leading-relaxed mb-3.5 px-3 py-2 bg-white/5 rounded border-l-2 border-brand-blue-mid",children:[c.jsxs("b",{className:"text-white",children:["$",i]})," â ",eo[i]]}),l&&c.jsxs("div",{className:"relative mb-4",children:[c.jsx("span",{className:"absolute left-3.5 top-1/2 -translate-y-1/2 text-white/40",children:"$"}),c.jsx("input",{type:"number",min:1,autoFocus:!0,value:u,onChange:O=>f(O.target.value),placeholder:t.customPlaceholder[e],className:"w-full py-3 pl-7 pr-3.5 bg-white/5 border border-white/10 rounded-md text-white text-base outline-none focus:border-brand-red transition-colors"})]}),c.jsx("div",{className:"text-[10px] font-bold tracking-[0.2em] uppercase text-white/30 mb-2",children:t.payMethod[e]}),c.jsx("div",{className:"flex gap-2 mb-4 flex-wrap",children:ai.map(O=>c.jsx("button",{onClick:()=>Mn(O.id),className:`px-3.5 py-1.5 border rounded-md text-xs font-bold uppercase tracking-wide transition-colors ${d===O.id?"border-brand-red text-white bg-brand-red/10":"border-white/10 text-white/40 hover:text-white/60"}`,children:t.payTabs[e][O.key]},O.id))}),d==="stripe"&&c.jsx(c.Fragment,{children:c.jsx("button",{onClick:Jr,disabled:E,className:"w-full py-4 bg-brand-red hover:bg-brand-red-dk disabled:bg-brand-red/60 disabled:cursor-not-allowed disabled:hover:translate-y-0 text-white rounded-md text-[15px] font-bold uppercase tracking-[0.1em] transition-all hover:-translate-y-
112px mb-3",children:E?t.submitting[e]:t.submit[e](Z)})}),d==="paypal"&&D&&c.jsx("button",{onClick:Jr,disabled:E,className:"flex items-center justify-center w-full py-4 rounded-md text-sm font-bold uppercase tracking-wide text-white mb-3 transition-all hover:-translate-y-px disabled:opacity-60 disabled:cursor-not-allowed disabled:hover:translate-y-0",style:{background:"#0070ba"},children:E?t.submitting[e]:t.paypalBtn[e]}),d==="crypto"&&c.jsxs(c.Fragment,{children:[c.jsx("div",{className:"flex gap-2 mb-3",children:["btc","usdt","eth"].map(O=>c.jsx("button",{onClick:()=>{O!==x&&ce("select_crypto",{coin:O}),S(O),p(!1)},className:`px-3.5 py-1.5 border rounded-md text-xs font-bold transition-colors ${x===O?"border-white/50 text-white":"border-white/10 text-white/40"}`,children:O==="btc"?"BTC":O==="usdt"?"USDT TRC20":"ETH ERC20"},O))}),c.jsxs("div",{className:"relative",children:[c.jsx("div",{className:"w-full pr-14 pl-3.5 py-3 border border-white/10 rounded-md bg-white/5 font-mono text-[11px] text-white/50 break-all leading-relaxed min-h-[48px] flex items-center",children:lf[x]}),c.jsx("button",{onClick:it,className:`absolute right-2 top-1/2 -translate-y-1/2 rounded text-[11px] font-bold py-1.5 px-2.5 transition-colors ${m?"bg-emerald-700/60 text-white":"bg-white/10 hover:bg-white/20 text-white"}`,children:m?t.copied[e]:t.copy[e]})]}),c.jsx("p",{className:"text-[11px] text-white/30 mt-2 leading-relaxed",children:t.cryptoNote[e]}),c.jsx("input",{type:"email",value:y,onChange:O=>w(O.target.value),placeholder:t.emailPlaceholder[e],className:"w-full py-3 px-3.5 bg-white/5 border border-white/10 rounded-md text-white text-[15px] outline-none mt-3 mb-2.5 transition-colors focus:border-white/30"}),c.jsxs("button",{onClick:()=>C(O=>!O),"aria-pressed":g,className:`w-full py-3 rounded-md text-sm font-bold uppercase tracking-wide transition-all border ${g?"bg-brand-blue/20 border-brand-blue text-white":"bg-white/5 border-white/10 text-white/70 hover:text-white hover:border-white/30"}`,children:[g?"â ":"",t.subscribeReports[e]]})]}),c.jsxs("div",{className:"flex items-center justify-center gap-4 flex-wrap text-[11px] text-white/25 mt-3",children:[c.jsx("span",{children:t.secure[e]}),r==="monthly"&&c.jsx("span",{children:t.cancelAny[e]})]}),c.jsx("p",{className:"text-[11px] text-white/20 leading-relaxed text-center mt-2.5",children:t.legal[e]}),c.jsx("p",{className:"text-xs text-white/30 text-center mt-3",children:t.major[e]})]})]})},Z4=[{name:"Washington Post",mark:"W",serif:!0},{name:"Foreign Policy",mark:"FP",serif:!1},{name:"Meduza",mark:"M",serif:!1},{name:"Novaya Gazeta Europe",mark:"NG",serif:!1},{name:"Der Spiegel",mark:"SP",serif:!1}],J4=()=>{const e=Be();return c.jsxs("section",{className:"bg-navy border-t border-white/5 px-6 md:px-14 py-10 text-center",children:[c.jsx("div",{className:"text-[10px] font-bold tracking-[0.25em] uppercase text-white/20 mb-6",children:Y.media.eyebrow[e]}),c.jsx("div",{className:"flex items-center justify-center gap-6 md:gap-10 flex-wrap",children:Z4.map(t=>c.jsxs("div",{className:"flex items-center gap-2 opacity-25 hover:opacity-50 transition-opacity",children:[c.jsx("div",{className:"w-[22px] h-[22px] rounded bg-white/10 flex items-center justify-center",children:c.jsx("span",{className:`text-[11px] font-extrabold text-white ${t.serif?"font-serif":""}`,children:t.mark})}),c.jsx("span",{className:"text-sm font-bold text-white tracking-tight",children:t.name})]},t.name))})]})},eS=(e,t,n)=>{const r=encodeURIComponent(t),o=encodeURIComponent(n);switch(e){case"facebook":return`https://www.facebook.com/sharer/sharer.php?u=${r}`;case"x":return`https://twitter.com/intent/tweet?url=${r}&text=${o}`;case"telegram":return`https://t.me/share/url?url=${r}&text=${o}`}},tS=e=>{const r=window.screenX+Math.max((window.innerWidth-640)/2,0),o=window.screenY+Math.max((window.innerHeight-540)/2,0),i=`popup=yes,width=640,height=540,left=${r},top=${o},noopener,noreferrer`;window.open(e,"_blank",i)||window.location.assign(e)},uc="w-5 h-5",nS=()=>c.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:uc,fill:"currentColor",children:c.jsx("path",{d:"M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z"})}),rS=()=>c.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:uc,fill:"currentColor",children:c.jsx("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"})}),oS=()=>c.jsx("svg",{viewBox:"0 0 24 24","aria-hidden":"true",className:uc,fill:"currentColor",children:c.jsx("path",{d:"M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0a12 12 0 0 0-.056 0zm4.962 7.224c.1-.002.321.023.465.14a.506.506 0 0 1 .171.325c.016.093.036.306.02.472-.18 1.898-.9
11262 6.502-1.36 8.627-.168.9-.499 1.201-.82 1.23-.696.065-1.225-.46-1.9-.902-1.056-.693-1.653-1.124-2.678-1.8-1.185-.78-.417-1.21.258-1.91.177-.184 3.247-2.977 3.307-3.23.007-.032.014-.15-.056-.212s-.174-.041-.249-.024c-.106.024-1.793 1.14-5.061 3.345-.48.33-.913.49-1.302.48-.428-.008-1.252-.241-1.865-.44-.752-.245-1.349-.374-1.297-.789.027-.216.325-.437.893-.663 3.498-1.524 5.83-2.529 6.998-3.014 3.332-1.386 4.025-1.627 4.476-1.635z"})}),iS=()=>{const e=Be(),t=Y.share,n=typeof window<"u"?`${window.location.origin}/${e}`:`https://kovcheg.live/${e}`,r=i=>{const s=t.shareText[e];ce("share",{method:i,content_type:"landing",item_id:`kovcheg_${e}`}),tS(eS(i,n,s))},o=[{id:"facebook",label:"Facebook",Icon:nS,cls:"hover:bg-[#1877F2] hover:border-[#1877F2]"},{id:"x",label:"X",Icon:rS,cls:"hover:bg-white hover:text-navy hover:border-white"},{id:"telegram",label:"Telegram",Icon:oS,cls:"hover:bg-[#229ED9] hover:border-[#229ED9]"}];return c.jsxs("section",{"aria-labelledby":"share-heading",className:"bg-navy border-t border-white/5 px-6 md:px-14 py-10 md:py-12 text-center",children:[c.jsx("div",{className:"text-[10px] font-bold tracking-[0.25em] uppercase text-white/30 mb-2",children:t.eyebrow[e]}),c.jsx("h2",{id:"share-heading",className:"text-base md:text-lg font-bold text-white/85 mb-5",children:t.title[e]}),c.jsx("div",{className:"flex items-center justify-center gap-3 flex-wrap",children:o.map(({id:i,label:s,Icon:l,cls:a})=>c.jsx("button",{type:"button",onClick:()=>r(i),"aria-label":t.ariaShareOn[e](s),title:s,className:`inline-flex items-center justify-center w-11 h-11 rounded-md border border-white/15 text-white/80 transition-colors ${a}`,children:c.jsx(l,{})},i))})]})},sS=()=>{const e=Be(),t=[{href:"https://kovcheg.live",label:Y.footer.site[e],external:!0},{href:"https://t.me/ArkHelps",label:"Telegram",external:!0},{href:"https://instagram.com/kovcheg.live",label:"Instagram",external:!0},{href:"https://patreon.com/kovcheglive",label:"Patreon",external:!0},{href:"https://causes.benevity.org/user?destination=node/723030",label:"Benevity",external:!0},{href:"mailto:[email protected]",label:"[email protected]"}];return c.jsxs("footer",{className:"bg-navy-deep border-t border-white/5 px-6 md:px-14 py-10 flex flex-col md:flex-row items-start md:items-center justify-between gap-6 flex-wrap",children:[c.jsx("a",{href:"https://kovcheg.live",className:"inline-block","aria-label":"Kovcheg",target:"_blank",rel:"noopener noreferrer",children:c.jsx(mg,{accent:"blue",className:"w-[90px] h-auto"})}),c.jsx("nav",{className:"flex gap-6 flex-wrap",children:t.map(n=>c.jsx("a",{href:n.href,...n.external?{target:"_blank",rel:"noopener noreferrer"}:{},className:"text-[13px] text-white/30 hover:text-white/65 transition-colors",children:n.label},n.label))}),c.jsx("small",{className:"text-xs text-white/15",children:"kovcheg.live © 2025"})]})},uf=()=>c.jsxs("main",{className:"bg-navy text-white min-h-screen",children:[c.jsx(a4,{}),c.jsx(c4,{}),c.jsx(d4,{}),c.jsx(f4,{}),c.jsx(h4,{}),c.jsx(g4,{}),c.jsx(C4,{}),c.jsx(k4,{}),c.jsx(X4,{}),c.jsx(J4,{}),c.jsx(iS,{}),c.jsx(sS,{})]}),lS={ru:{eyebrow:"ÐÑибка 404",title:"ÐÑа ÑÑÑаниÑа поÑеÑÑлаÑÑ",body:c.jsx(c.Fragment,{children:"Ðозможно, ÑÑÑлка ÑÑÑаÑела или Ð¼Ñ ÑÑо-Ñо пеÑенеÑли. Ðожно веÑнÑÑÑÑÑ Ð½Ð° главнÑÑ Ð¸ поддеÑжаÑÑ ÐовÑег оÑÑÑда â лÑдÑм нÑжна помоÑÑ Ð¿ÑÑмо ÑейÑаÑ."}),home:"Ðа главнÑÑ",donate:"ÐомоÑÑ ÑейÑаÑ"},en:{eyebrow:"Error 404",title:"This page got lost",body:c.jsx(c.Fragment,{children:"The link may be stale or we moved something. You can head back to the homepage and support Kovcheg from there â people need help right now."}),home:"Back to home",donate:"Donate now"}},aS=()=>{const e=Ot(),t=Be(),n=lS[t];return v.useEffect(()=>{ce("page_not_found",{page_path:e.pathname,page_search:e.search,page_referrer:typeof document<"u"?document.referrer:""})},[e.pathname,e.search]),c.jsx("main",{className:"bg-navy text-white min-h-screen flex items-center justify-center px-6 py-20",children:c.jsxs("div",{className:"max-w-[640px] w-full text-center",children:[c.jsx("div",{className:"mx-auto mb-8 w-24 h-24 md:w-28 md:h-28 rounded-full flex items-center justify-center bg-white/5 border border-white/15",children:c.jsx(Lw,{className:"w-12 h-12 md:w-14 md:h-14 text-white/70",strokeWidth:1.5})}),c.jsx("div",{className:"text-[10px] font-bold tracking-[0.25em] uppercase text-white/30 mb-3",children:n.eyebrow}),c.jsx("h1",{className:"display-h text-white text-[clamp(28px,4.4vw,52px)] mb-6",children:n.title}),c.jsx("p",{className:"text-lg text-white/70 leading-relaxed mb-10 max-w-[520px] mx-auto",children:n.body}),c.jsxs("div",{className:"flex items-center justify-center gap-3 flex-wrap",children:[c.jsx(xs,{to:`/${t}`,className:"inline-block px-6 py-3.5 bg-white/5 hover:bg-white/10 border border-white/15 text-white rounded-md text-sm font-bold uppercase tracking-[0.1em] transition-colors",children:n.home}),c.jsx(xs,{to:`/${t}#donate`,className:"inline-block px-8 py-3.5 bg-brand-red hover:bg-brand-red-dk text-white rounded-md text-sm font-bold uppercase tracking-[0.1em] transition-all hover:-translate-y-
112px",children:n.donate})]})]})})},uS=()=>{try{const t=localStorage.getItem("lang");if(t==="ru"||t==="en")return t}catch{}return(typeof navigator<"u"&&navigator.language||"ru").toLowerCase().startsWith("ru")?"ru":"en"},cS=()=>{const e=uS();return v.useEffect(()=>{try{localStorage.setItem("lang",e)}catch{}},[e]),c.jsx(vx,{to:`/${e}`,replace:!0})},Ng="kovcheg.paypal.capture-nav",cf=["token","PayerID","ba_token","subscription_id","order_id"],df=()=>{try{const e=new URL(window.location.href);if(!cf.some(t=>e.searchParams.has(t)))return;for(const t of cf)e.searchParams.delete(t);window.history.replaceState(window.history.state,"",`${e.pathname}${e.search}${e.hash}`)}catch{}},dS=()=>{try{return window.sessionStorage.getItem(Ng)}catch{return null}},fS=e=>{try{return window.sessionStorage.setItem(Ng,e),!0}catch{return!1}},pS={success:{ru:{title:"СпаÑибо за ваÑÑ Ð¿Ð¾Ð´Ð´ÐµÑжкÑ!",body:c.jsxs(c.Fragment,{children:["ÐÑли Ð²Ñ ÑеÑиÑе измениÑÑ Ð¸Ð»Ð¸ оÑмениÑÑ Ð¿Ð¾Ð¶ÐµÑÑвование, напиÑиÑе нам:"," ",c.jsx("a",{href:"mailto:[email protected]",className:"text-brand-red hover:text-brand-red-dk underline underline-offset-4",children:"[email protected]"})]}),back:"Ðа главнÑÑ"},en:{title:"Thank you for your support!",body:c.jsxs(c.Fragment,{children:["If you'd like to change or cancel your donation, just email us:"," ",c.jsx("a",{href:"mailto:[email protected]",className:"text-brand-red hover:text-brand-red-dk underline underline-offset-4",children:"[email protected]"})]}),back:"Back to home"}},pending:{ru:{title:"ÐодÑвеÑждаем плаÑÑжâ¦",body:c.jsx(c.Fragment,{children:"Ðе закÑÑвайÑе ÑÑÑаниÑÑ â ÑÑо займÑÑ Ð¿Ð°ÑÑ ÑекÑнд."}),back:""},en:{title:"Confirming your paymentâ¦",body:c.jsx(c.Fragment,{children:"Please keep this page open â it only takes a moment."}),back:""}},captureFailed:{ru:{title:"Ðе ÑдалоÑÑ Ð¿Ð¾Ð´ÑвеÑдиÑÑ Ð¿Ð»Ð°ÑÑж",body:c.jsxs(c.Fragment,{children:["ÐÑовеÑÑÑе поÑÑÑ â еÑли PayPal пÑиÑлал подÑвеÑждение, денÑги полÑÑÐµÐ½Ñ Ð¸ повÑоÑÑÑÑ Ð¿ÐµÑевод не нÑжно. РлÑбом ÑлÑÑае напиÑиÑе нам:"," ",c.jsx("a",{href:"mailto:[email protected]",className:"text-brand-red hover:text-brand-red-dk underline underline-offset-4",children:"[email protected]"})]}),back:"Ðа главнÑÑ"},en:{title:"We couldn't confirm your payment",body:c.jsxs(c.Fragment,{children:["Please check your inbox â if PayPal sent you a receipt, the donation went through and there is no need to repeat it. Either way, do email us:"," ",c.jsx("a",{href:"mailto:[email protected]",className:"text-brand-red hover:text-brand-red-dk underline underline-offset-4",children:"[email protected]"})]}),back:"Back to home"}},error:{ru:{title:"ЧÑо-Ñо поÑло не Ñак",body:c.jsxs(c.Fragment,{children:["ÐлаÑÑж не пÑоÑÑл. ÐопÑобÑйÑе еÑÑ Ñаз или напиÑиÑе нам:"," ",c.jsx("a",{href:"mailto:[email protected]",className:"text-brand-red hover:text-brand-red-dk underline underline-offset-4",children:"[email protected]"})]}),back:"ÐеÑнÑÑÑÑÑ Ð¸ попÑобоваÑÑ Ñнова"},en:{title:"Something went wrong",body:c.jsxs(c.Fragment,{children:["Your payment didn't go through. Please try again or email us:"," ",c.jsx("a",{href:"mailto:[email protected]",className:"text-brand-red hover:text-brand-red-dk underline underline-offset-4",children:"[email protected]"})]}),back:"Back and try again"}}},ff=()=>{const e=Be(),[t,n]=Rx(),[r]=v.useState(()=>M4()==="subscription"||t.has("subscription_id")||t.has("ba_token")),[o]=v.useState(()=>{const x=t.get("order_id");if(!x)return!1;const S=of();return S===null||S===x}),[i]=v.useState(()=>r||o?null:t.get("token")??of()),[s,l]=v.useState(i?"pending":null),a=v.useRef(!1);v.useLayoutEffect(()=>{(!i||L4(i))&&df()},[i]),v.useEffect(()=>{o&&(Va(),ce("paypal_capture",{status:"confirmed_by_redirect"}))},[o]),v.useEffect(()=>{r&&ce("paypal_subscription_return",{})},[r]),v.useEffect(()=>{if(!i||a.current)return;a.current=!0;const x=()=>dS()===i?!1:(fS(i)||ce("paypal_capture_guard_unavailable",{}),window.location.replace(xg(i)),!0);j4(i).then(S=>{if(S.status==="redirected"){if(ce("paypal_capture_redirect",{status:S.status}),x())return;l("failed"),ce("paypal_capture_unverified",{status:S.status});return}l("done"),Va(),ce("paypal_capture",{status:S.status}),n(new URLSearchParams,{replace:!0}),df()}).catch(S=>
112{const y=S instanceof jt?S.code:"unknown_error";y==="network_error"&&x()||(l("failed"),ce("paypal_capture_error",{reason:y}))})},[i,n]);const u=s==="pending"?"pending":s==="failed"?"captureFailed":t.get("status")==="error"?"error":"success",f=pS[u][e],d=u==="success",h=u==="pending";return c.jsx("main",{className:"bg-navy text-white min-h-screen flex items-center justify-center px-6 py-20",children:c.jsxs("div",{className:"max-w-[640px] w-full text-center",children:[c.jsx("div",{className:`mx-auto mb-8 w-24 h-24 md:w-28 md:h-28 rounded-full flex items-center justify-center border ${d?"bg-brand-red/10 border-brand-red/30":"bg-white/5 border-white/15"}`,children:h?c.jsx(Fw,{className:"w-12 h-12 md:w-14 md:h-14 text-white/70 animate-spin",strokeWidth:1.5}):d?c.jsx(Mw,{className:"w-12 h-12 md:w-14 md:h-14 text-brand-red",fill:"currentColor",strokeWidth:1.5}):c.jsx(Aw,{className:"w-12 h-12 md:w-14 md:h-14 text-white/70",strokeWidth:1.5})}),c.jsx("h1",{className:"display-h text-white text-[clamp(28px,4.4vw,52px)] mb-6",children:f.title}),c.jsx("p",{className:"text-lg text-white/70 leading-relaxed mb-10",children:f.body}),!h&&c.jsx(xs,{to:`/${e}`,className:"inline-block px-8 py-4 bg-brand-red hover:bg-brand-red-dk text-white rounded-md text-sm font-bold uppercase tracking-[0.1em] transition-all hover:-translate-y-px",children:f.back})]})})},hS=({children:e})=>{const{pathname:t}=Ot(),n=t==="/en"||t.startsWith("/en/")?"en":"ru",r=v.useMemo(()=>({lang:n}),[n]);return c.jsx(gg.Provider,{value:r,children:e})},mS=typeof window<"u",gS=(...e)=>{if(mS)try{typeof window.fbq=="function"&&window.fbq(...e)}catch{}},vS=()=>{gS("track","PageView")},pf={"/ru":"Ðомоги заÑиÑиÑÑ Ð»Ñдей Ð¾Ñ Ð¿ÑеÑледований â ÐовÑег","/en":"Help protect people from persecution â Kovcheg","/ru/thank-you":"СпаÑибо â ÐовÑег","/en/thank-you":"Thank you â Kovcheg"},yS=e=>pf[e]?pf[e]:e.startsWith("/en")?"Kovcheg â Help protect people from persecution":"ÐовÑег â Ðомоги заÑиÑиÑÑ Ð»Ñдей Ð¾Ñ Ð¿ÑеÑледований",xS=e=>e==="/en"||e.startsWith("/en/")?"en":"ru",wS=()=>{const{pathname:e}=Ot();v.useEffect(()=>{const t=yS(e);document.title=t,document.documentElement.lang=xS(e),A4(e,t),vS()},[e])},SS=new E0,CS=()=>(wS(),null),kS=()=>c.jsx(P0,{client:SS,children:c.jsxs(o4,{children:[c.jsx(x1,{}),c.jsx(Nx,{children:c.jsxs(hS,{children:[c.jsx(CS,{}),c.jsxs(xx,{children:[c.jsx(zn,{path:"/",element:c.jsx(cS,{})}),c.jsx(zn,{path:"/ru",element:c.jsx(uf,{})}),c.jsx(zn,{path:"/en",element:c.jsx(uf,{})}),c.jsx(zn,{path:"/ru/thank-you",element:c.jsx(ff,{})}),c.jsx(zn,{path:"/en/thank-you",element:c.jsx(ff,{})}),c.jsx(zn,{path:"*",element:c.jsx(aS,{})})]})]})})]})});$4();Fh(document.getElementById("root")).render(c.jsx(kS,{}));
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.