vendor: 4,879 bytes, lines 1-9
1var cf=e=>{throw TypeError(e)};var xa=(e,t,n)=>t.has(e)||cf("Cannot "+n);var _=(e,t,n)=>(xa(e,t,"read from private field"),n?n.call(e):t.get(e)),ae=(e,t,n)=>t.has(e)?cf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),J=(e,t,n,r)=>(xa(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),je=(e,t,n)=>(xa(e,t,"access private method"),n);var pl=(e,t,n,r)=>({set _(i){J(e,t,i,n)},get _(){return _(e,t,r)}});function M0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}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 i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const l of o.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();var is=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var nm={exports:{}},js={},rm={exports:{}},re={};/** 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 tl=Symbol.for("react.element"),D0=Symbol.for("react.portal"),F0=Symbol.for("react.fragment"),z0=Symbol.for("react.strict_mode"),j0=Symbol.for("react.profiler"),B0=Symbol.for("react.provider"),U0=Symbol.for("react.context"),$0=Symbol.for("react.forward_ref"),V0=Symbol.for("react.suspense"),H0=Symbol.for("react.memo"),W0=Symbol.for("react.lazy"),df=Symbol.iterator;function Q0(e){return e===null||typeof e!="object"?null:(e=df&&e[df]||e["@@iterator"],typeof e=="function"?e:null)}var im={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},om=Object.assign,lm={};function $i(e,t,n){this.props=e,this.context=t,this.refs=lm,this.updater=n||im}$i.prototype.isReactComponent={};$i.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")};$i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sm(){}sm.prototype=$i.prototype;function Lc(e,t,n){this.props=e,this.context=t,this.refs=lm,this.updater=n||im}var Oc=Lc.prototype=new sm;Oc.constructor=Lc;om(Oc,$i.prototype);Oc.isPureReactComponent=!0;var ff=Array.isArray,am=Object.prototype.hasOwnProperty,_c={current:null},um={key:!0,ref:!0,__self:!0,__source:!0};function cm(e,t,n){var r,i={},o=null,l=null;if(t!=null)for(r in t.ref!==void 0&&(l=t.ref),t.key!==void 0&&(o=""+t.key),t)am.call(t,r)&&!um.hasOwnProperty(r)&&(i[r]=t[r]);var s=arguments.length-2;if(s===1)i.children=n;else if(1<s){for(var a=Array(s),u=0;u<s;u++)a[u]=arguments[u+2];i.children=a}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)i[r]===void 0&&(i[r]=s[r]);return{$$typeof:tl,type:e,key:o,ref:l,props:i,_owner:_c.current}}function Y0(e,t){return{$$typeof:tl,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Mc(e){return typeof e=="object"&&e!==null&&e.$$typeof===tl}function q0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var pf=/\/+/g;function wa(e,t){return typeof e=="object"&&e!==null&&e.key!=null?q0(""+e.key):t.toString(36)}function Ul(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var l=!1;if(e===null)l=!0;else switch(o){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case tl:case D0:l=!0}}if(l)return l=e,i=i(l),e=r===""?"."+wa(l,0):r,ff(i)?(n="",e!=null&&(n=e.replace(pf,"$&/")+"/"),Ul(i,t,n,"",function(u){return u})):i!=null&&(Mc(i)&&(i=Y0(i,n+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(pf,"$&/")+"/")+e)),t.push(i)),1;if(l=0,r=r===""?".":r+":",ff(e))for(var s=0;s<e.length;s++){o=e[s];var a=r+wa(o,s);l+=Ul(o,t,n,a,i)}else if(a=Q0(e),typeof a=="function")for(e=a.call(e),s=0;!(o=e.next()).done;
vendor: 4,159 bytes, lines 9-17
9)o=o.value,a=r+wa(o,s++),l+=Ul(o,t,n,a,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function hl(e,t,n){if(e==null)return e;var r=[],i=0;return Ul(e,r,"","",function(o){return t.call(n,o,i++)}),r}function G0(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 Ze={current:null},$l={transition:null},K0={ReactCurrentDispatcher:Ze,ReactCurrentBatchConfig:$l,ReactCurrentOwner:_c};function dm(){throw Error("act(...) is not supported in production builds of React.")}re.Children={map:hl,forEach:function(e,t,n){hl(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return hl(e,function(){t++}),t},toArray:function(e){return hl(e,function(t){return t})||[]},only:function(e){if(!Mc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};re.Component=$i;re.Fragment=F0;re.Profiler=j0;re.PureComponent=Lc;re.StrictMode=z0;re.Suspense=V0;re.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=K0;re.act=dm;re.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=om({},e.props),i=e.key,o=e.ref,l=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,l=_c.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(a in t)am.call(t,a)&&!um.hasOwnProperty(a)&&(r[a]=t[a]===void 0&&s!==void 0?s[a]:t[a])}var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){s=Array(a);for(var u=0;u<a;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:tl,type:e.type,key:i,ref:o,props:r,_owner:l}};re.createContext=function(e){return e={$$typeof:U0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:B0,_context:e},e.Consumer=e};re.createElement=cm;re.createFactory=function(e){var t=cm.bind(null,e);return t.type=e,t};re.createRef=function(){return{current:null}};re.forwardRef=function(e){return{$$typeof:$0,render:e}};re.isValidElement=Mc;re.lazy=function(e){return{$$typeof:W0,_payload:{_status:-1,_result:e},_init:G0}};re.memo=function(e,t){return{$$typeof:H0,type:e,compare:t===void 0?null:t}};re.startTransition=function(e){var t=$l.transition;$l.transition={};try{e()}finally{$l.transition=t}};re.unstable_act=dm;re.useCallback=function(e,t){return Ze.current.useCallback(e,t)};re.useContext=function(e){return Ze.current.useContext(e)};re.useDebugValue=function(){};re.useDeferredValue=function(e){return Ze.current.useDeferredValue(e)};re.useEffect=function(e,t){return Ze.current.useEffect(e,t)};re.useId=function(){return Ze.current.useId()};re.useImperativeHandle=function(e,t,n){return Ze.current.useImperativeHandle(e,t,n)};re.useInsertionEffect=function(e,t){return Ze.current.useInsertionEffect(e,t)};re.useLayoutEffect=function(e,t){return Ze.current.useLayoutEffect(e,t)};re.useMemo=function(e,t){return Ze.current.useMemo(e,t)};re.useReducer=function(e,t,n){return Ze.current.useReducer(e,t,n)};re.useRef=function(e){return Ze.current.useRef(e)};re.useState=function(e){return Ze.current.useState(e)};re.useSyncExternalStore=function(e,t,n){return Ze.current.useSyncExternalStore(e,t,n)};re.useTransition=function(){return Ze.current.useTransition()};re.version="18.3.1";rm.exports=re;var S=rm.exports;const U=zs(S),fm=M0({__proto__:null,default:U},[S]);/** 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 X0=S,Z0=Symbol.for("react.element"),J0=Symbol.for("react.fragment"),ex=Object.prototype.hasOwnProperty,tx=X0.__SECRET_INT
vendor: 8,826 bytes, lines 17-33
17ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,nx={key:!0,ref:!0,__self:!0,__source:!0};function pm(e,t,n){var r,i={},o=null,l=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(l=t.ref);for(r in t)ex.call(t,r)&&!nx.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Z0,type:e,key:o,ref:l,props:i,_owner:tx.current}}js.Fragment=J0;js.jsx=pm;js.jsxs=pm;nm.exports=js;var C=nm.exports,hm={exports:{}},kt={},mm={exports:{}},gm={};/** 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(I,M){var w=I.length;I.push(M);e:for(;0<w;){var q=w-1>>>1,Q=I[q];if(0<i(Q,M))I[q]=M,I[w]=Q,w=q;else break e}}function n(I){return I.length===0?null:I[0]}function r(I){if(I.length===0)return null;var M=I[0],w=I.pop();if(w!==M){I[0]=w;e:for(var q=0,Q=I.length,k=Q>>>1;q<k;){var G=2*(q+1)-1,de=I[G],oe=G+1,ie=I[oe];if(0>i(de,w))oe<Q&&0>i(ie,de)?(I[q]=ie,I[oe]=w,q=oe):(I[q]=de,I[G]=w,q=G);else if(oe<Q&&0>i(ie,w))I[q]=ie,I[oe]=w,q=oe;else break e}}return M}function i(I,M){var w=I.sortIndex-M.sortIndex;return w!==0?w:I.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,s=l.now();e.unstable_now=function(){return l.now()-s}}var a=[],u=[],c=1,f=null,p=3,d=!1,v=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,h=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(I){for(var M=n(u);M!==null;){if(M.callback===null)r(u);else if(M.startTime<=I)r(u),M.sortIndex=M.expirationTime,t(a,M);else break;M=n(u)}}function b(I){if(m=!1,y(I),!v)if(n(a)!==null)v=!0,W(P);else{var M=n(u);M!==null&&Y(b,M.startTime-I)}}function P(I,M){v=!1,m&&(m=!1,h(L),L=-1),d=!0;var w=p;try{for(y(M),f=n(a);f!==null&&(!(f.expirationTime>M)||I&&!D());){var q=f.callback;if(typeof q=="function"){f.callback=null,p=f.priorityLevel;var Q=q(f.expirationTime<=M);M=e.unstable_now(),typeof Q=="function"?f.callback=Q:f===n(a)&&r(a),y(M)}else r(a);f=n(a)}if(f!==null)var k=!0;else{var G=n(u);G!==null&&Y(b,G.startTime-M),k=!1}return k}finally{f=null,p=w,d=!1}}var E=!1,T=null,L=-1,R=5,A=-1;function D(){return!(e.unstable_now()-A<R)}function O(){if(T!==null){var I=e.unstable_now();A=I;var M=!0;try{M=T(!0,I)}finally{M?H():(E=!1,T=null)}}else E=!1}var H;if(typeof g=="function")H=function(){g(O)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,$=F.port2;F.port1.onmessage=O,H=function(){$.postMessage(null)}}else H=function(){x(O,0)};function W(I){T=I,E||(E=!0,H())}function Y(I,M){L=x(function(){I(e.unstable_now())},M)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(I){I.callback=null},e.unstable_continueExecution=function(){v||d||(v=!0,W(P))},e.unstable_forceFrameRate=function(I){0>I||125<I?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):R=0<I?Math.floor(1e3/I):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(a)},e.unstable_next=function(I){switch(p){case 1:case 2:case 3:var M=3;break;default:M=p}var w=p;p=M;try{return I()}finally{p=w}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(I,M){switch(I){case 1:case 2:case 3:case 4:case 5:break;default:I=3}var w=p;p=I;try{return M()}finally{p=w}},e.unstable_scheduleCallback=function(I,M,w){var q=e.unstable_now();switch(typeof w=="object"&&w!==null?(w=w.delay,w=typeof w=="number"&&0<w?q+w:q):w=q,I){case 1:var Q=-1;break;case 2:Q=250;break;case 5:Q=1073741823;break;case 4:Q=1e4;break;default:Q=5e3}return Q=w+Q,I={id:c++,callback:M,priorityLevel:I,startTime:w,expirationTime:Q,sortIndex:-1},w>q?(I.sortIndex=w,t(u,I),n(a)===null&&I===n(u)&&(m?(h(L),L=-1):m=!0,Y(b,w-q))):(I.sortIndex=Q,t(a,I),v||d||(v=!0,W(P))),I},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(I){var M=p;return function(){var w=p;p=M;try{return I.apply(this,arguments)}finally{p=w}}}})(gm);mm.exports=gm;var rx=mm.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 ix=S,St=rx;function z(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 ym=new Set,No={};function Qr(e,t){Oi(e,t),Oi(e+"Capture",t)}function Oi(e,t){for(No[e]=t,e=0;e<t.length;e++)ym.add(t[e])}var Cn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),fu=Object.prototype.hasOwnProperty,ox=/^[: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]*$/,hf={},mf={};function lx(e){return fu.call(mf,e)?!0:fu.call(hf,e)?!1:ox.test(e)?mf[e]=!0:(hf[e]=!0,!1)}function sx(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 ax(e,t,n,r){if(t===null||typeof t>"u"||sx(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 Je(e,t,n,r,i,o,l){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=l}var ze={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ze[e]=new Je(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ze[t]=new Je(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ze[e]=new Je(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ze[e]=new Je(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){ze[e]=new Je(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ze[e]=new Je(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ze[e]=new Je(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ze[e]=new Je(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ze[e]=new Je(e,5,!1,e.toLowerCase(),null,!1,!1)});var Dc=/[\-:]([a-z])/g;function Fc(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
33-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(Dc,Fc);ze[t]=new Je(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(Dc,Fc);ze[t]=new Je(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(Dc,Fc);ze[t]=new Je(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ze[e]=new Je(e,1,!1,e.toLowerCase(),null,!1,!1)});ze.xlinkHref=new Je("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ze[e]=new Je(e,1,!1,e.toLowerCase(),null,!0,!0)});function zc(e,t,n,r){var i=ze.hasOwnProperty(t)?ze[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(ax(t,n,i,r)&&(n=null),r||i===null?lx(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var In=ix.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,ml=Symbol.for("react.element"),ri=Symbol.for("react.portal"),ii=Symbol.for("react.fragment"),jc=Symbol.for("react.strict_mode"),pu=Symbol.for("react.profiler"),vm=Symbol.for("react.provider"),xm=Symbol.for("react.context"),Bc=Symbol.for("react.forward_ref"),hu=Symbol.for("react.suspense"),mu=Symbol.for("react.suspense_list"),Uc=Symbol.for("react.memo"),Vn=Symbol.for("react.lazy"),wm=Symbol.for("react.offscreen"),gf=Symbol.iterator;function Ji(e){return e===null||typeof e!="object"?null:(e=gf&&e[gf]||e["@@iterator"],typeof e=="function"?e:null)}var Ee=Object.assign,Sa;function fo(e){if(Sa===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Sa=t&&t[1]||""}return` 34`+Sa+e}var ka=!1;function Ea(e,t){if(!e||ka)return"";ka=!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 i=u.stack.split(` 35`),o=r.stack.split(` 36`),l=i.length-1,s=o.length-1;1<=l&&0<=s&&i[l]!==o[s];)s--;for(;1<=l&&0<=s;l--,s--)if(i[l]!==o[s]){if(l!==1||s!==1)do if(l--,s--,0>s||i[l]!==o[s]){var a=` 37`+i[l].replace(" at new "," at ");return e.displayName&&a.includes("<anonymous>")&&(a=a.replace("<anonymous>",e.displayName)),a}while(1<=l&&0<=s);break}}}finally{ka=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?fo(e):""}function ux(e){switch(e.tag){case 5:return fo(e.type);case 16:return fo("Lazy");case 13:return fo("Suspense");case 19:return fo("SuspenseList");case 0:case 2:case 15:return e=Ea(e.type,!1),e;case 11:return e=Ea(e.type.render,!1),e;case 1:return e=Ea(e.type,!0),e;default:return""}}function gu(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 ii:return"Fragment";case ri:return"Portal";case pu:return"Profiler";case jc:return"StrictMode";case hu:return"Suspense";case mu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case xm:return(e.displayName||"Context")+".Consumer";case vm:return(e._context.displayName||"Context")+".Provider";case Bc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Uc:return t=e.displayName||null,t!==null?t:gu(e.type)||"Memo";case Vn:t=e._payload,e=e._init;try{return gu(e(t))}catch{}}return null}function cx(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 gu(t);case 8:return t===jc?"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 cr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Sm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function dx(e){var t=Sm(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(l){r=""+l,o.call(this,l)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(l){r=""+l},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function gl(e){e._valueTracker||(e._valueTracker=dx(e))}function km(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Sm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function os(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 yu(e,t){var n=t.checked;return Ee({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function yf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=cr(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 Em(e,t){t=t.checked,t!=null&&zc(e,"checked",t,!1)}function vu(e,t){Em(e,t);var n=cr(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")?xu(e,t.type,n):t.hasOwnProperty("defaultValue")&&xu(e,t.type,cr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function vf(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 xu(e,t,n){(t!=="number"||os(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var po=Array.isArray;function mi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+cr(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function wu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(z(91));return Ee({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function xf(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(z(92));if(po(n)){if(1<n.length)throw Error(z(93));n=n[0]}t=n}t==null&&(t=""),n=t}
vendor: 11,166 bytes, line 37
37e._wrapperState={initialValue:cr(n)}}function bm(e,t){var n=cr(t.value),r=cr(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 wf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Cm(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 Su(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Cm(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var yl,Pm=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(yl=yl||document.createElement("div"),yl.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=yl.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Ao(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var go={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},fx=["Webkit","ms","Moz","O"];Object.keys(go).forEach(function(e){fx.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),go[t]=go[e]})});function Tm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||go.hasOwnProperty(e)&&go[e]?(""+t).trim():t+"px"}function Rm(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Tm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var px=Ee({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 ku(e,t){if(t){if(px[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(z(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(z(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(z(61))}if(t.style!=null&&typeof t.style!="object")throw Error(z(62))}}function Eu(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 bu=null;function $c(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Cu=null,gi=null,yi=null;function Sf(e){if(e=il(e)){if(typeof Cu!="function")throw Error(z(280));var t=e.stateNode;t&&(t=Hs(t),Cu(e.stateNode,e.type,t))}}function Nm(e){gi?yi?yi.push(e):yi=[e]:gi=e}function Am(){if(gi){var e=gi,t=yi;if(yi=gi=null,Sf(e),t)for(e=0;e<t.length;e++)Sf(t[e])}}function Im(e,t){return e(t)}function Lm(){}var ba=!1;function Om(e,t,n){if(ba)return e(t,n);ba=!0;try{return Im(e,t,n)}finally{ba=!1,(gi!==null||yi!==null)&&(Lm(),Am())}}function Io(e,t){var n=e.stateNode;if(n===null)return null;var r=Hs(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(z(231,t,typeof n));return n}var Pu=!1;if(Cn)try{var eo={};Object.defineProperty(eo,"passive",{get:function(){Pu=!0}}),window.addEventListener("test",eo,eo),window.removeEventListener("test",eo,eo)}catch{Pu=!1}function hx(e,t,n,r,i,o,l,s,a){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var yo=!1,ls=null,ss=!1,Tu=null,mx={onError:function(e){yo=!0,ls=e}};function gx(e,t,n,r,i,o,l,s,a){yo=!1,ls=null,hx.apply(mx,arguments)}function yx(e,t,n,r,i,o,l,s,a){if(gx.apply(this,arguments),yo){if(yo){var u=ls;yo=!1,ls=null}else throw Error(z(198));ss||(ss=!0,Tu=u)}}function Yr(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 _m(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 kf(e){if(Yr(e)!==e)throw Error(z(188))}function vx(e){var t=e.alternate;if(!t){if(t=Yr(e),t===null)throw Error(z(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var o=i.alternate;if(o===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return kf(i),e;if(o===r)return kf(i),t;o=o.sibling}throw Error(z(188))}if(n.return!==r.return)n=i,r=o;else{for(var l=!1,s=i.child;s;){if(s===n){l=!0,n=i,r=o;break}if(s===r){l=!0,r=i,n=o;break}s=s.sibling}if(!l){for(s=o.child;s;){if(s===n){l=!0,n=o,r=i;break}if(s===r){l=!0,r=o,n=i;break}s=s.sibling}if(!l)throw Error(z(189))}}if(n.alternate!==r)throw Error(z(190))}if(n.tag!==3)throw Error(z(188));return n.stateNode.current===n?e:t}function Mm(e){return e=vx(e),e!==null?Dm(e):null}function Dm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Dm(e);if(t!==null)return t;e=e.sibling}return null}var Fm=St.unstable_scheduleCallback,Ef=St.unstable_cancelCallback,xx=St.unstable_shouldYield,wx=St.unstable_requestPaint,Pe=St.unstable_now,Sx=St.unstable_getCurrentPriorityLevel,Vc=St.unstable_ImmediatePriority,zm=St.unstable_UserBlockingPriority,as=St.unstable_NormalPriority,kx=St.unstable_LowPriority,jm=St.unstable_IdlePriority,Bs=null,un=null;function Ex(e){if(un&&typeof un.onCommitFiberRoot=="function")try{un.onCommitFiberRoot(Bs,e,void 0,(e.current.flags&128)===128)}catch{}}var Wt=Math.clz32?Math.clz32:Px,bx=Math.log,Cx=Math.LN2;function Px(e){return e>>>=0,e===0?32:31-(bx(e)/Cx|0)|0}var vl=64,xl=4194304;function ho(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 us(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,o=e.pingedLanes,l=n&268435455;if(l!==0){var s=l&~i;s!==0?r=ho(s):(o&=l,o!==0&&(r=ho(o)))}else l=n&~i,l!==0?r=ho(l):o!==0&&(r=ho(o));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,o=t&-t,i>=o||i===16&&(o&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-Wt(t),i=1<<n,r|=e[n],t&=~i;return r}function Tx(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 Rx(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,o=e.pendingLanes;0<o;){var l=31-Wt(o),s=1<<l,a=i[l];a===-1?(!(s&n)||s&r)&&(i[l]=Tx(s,t)):a<=t&&(e.expiredLanes|=s),o&=~s}}function Ru(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Bm(){var e=vl;return vl<<=1,!(vl&4194240)&&(vl=64),e}function Ca(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function nl(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Wt(t),e[t]=n}function Nx(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 i=31-Wt(n),o=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~o}}function Hc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Wt(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ce=0;function Um(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var $m,Wc,Vm,Hm,Wm,Nu=!1,wl=[],tr=null,nr=null,rr=null,Lo=new Map,Oo=new Map,Wn=[],Ax="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 bf(e,t){switch(e){case"focusin":case"focusout":tr=null;break;case"dragenter":case"dragleave":nr=null;break;case"mouseover":case"mouseout":rr=null;break;case"pointerover":case"pointerout":Lo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Oo.delete(t.pointerId)}}function to(e,t,n,r,i,o){return e===null||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[i]},t!==null&&(t=il(t),t!==null&&Wc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function Ix(e,t,n,r,i){switch(t){case"focusin":return tr=to(tr,e,t,n,r,i),!0;case"dragenter":return nr=to(nr,e,t,n,r,i),!0;case"mouseover":return rr=to(rr,e,t,n,r,i),!0;case"pointerover":var o=i.pointerId;return Lo.set(o,to(Lo.get(o)||null,e,t,n,r,i)),!0;case"gotpointercapture":return o=i.pointerId,Oo.set(o,to(Oo.get(o)||null,e,t,n,r,i)),!0}return!1}function Qm(e){var t=Nr(e.target);if(t!==null){var n=Yr(t);if(n!==null){if(t=n.tag,t===13){if(t=_m(n),t!==null){e.blockedOn=t,Wm(e.priority,function(){Vm(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 Vl(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Au(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);bu=r,n.target.dispatchEvent(r),bu=null}else return t=il(n),t!==null&&Wc(t),e.blockedOn=n,!1;t.shift()}return!0}function Cf(e,t,n){Vl(e)&&n.delete(t)}function Lx(){Nu=!1,tr!==null&&Vl(tr)&&(tr=null),nr!==null&&Vl(nr)&&(nr=null),rr!==null&&Vl(rr)&&(rr=null),Lo.forEac
vendor: 11,841 bytes, line 37
37h(Cf),Oo.forEach(Cf)}function no(e,t){e.blockedOn===t&&(e.blockedOn=null,Nu||(Nu=!0,St.unstable_scheduleCallback(St.unstable_NormalPriority,Lx)))}function _o(e){function t(i){return no(i,e)}if(0<wl.length){no(wl[0],e);for(var n=1;n<wl.length;n++){var r=wl[n];r.blockedOn===e&&(r.blockedOn=null)}}for(tr!==null&&no(tr,e),nr!==null&&no(nr,e),rr!==null&&no(rr,e),Lo.forEach(t),Oo.forEach(t),n=0;n<Wn.length;n++)r=Wn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Wn.length&&(n=Wn[0],n.blockedOn===null);)Qm(n),n.blockedOn===null&&Wn.shift()}var vi=In.ReactCurrentBatchConfig,cs=!0;function Ox(e,t,n,r){var i=ce,o=vi.transition;vi.transition=null;try{ce=1,Qc(e,t,n,r)}finally{ce=i,vi.transition=o}}function _x(e,t,n,r){var i=ce,o=vi.transition;vi.transition=null;try{ce=4,Qc(e,t,n,r)}finally{ce=i,vi.transition=o}}function Qc(e,t,n,r){if(cs){var i=Au(e,t,n,r);if(i===null)Ma(e,t,r,ds,n),bf(e,r);else if(Ix(i,e,t,n,r))r.stopPropagation();else if(bf(e,r),t&4&&-1<Ax.indexOf(e)){for(;i!==null;){var o=il(i);if(o!==null&&$m(o),o=Au(e,t,n,r),o===null&&Ma(e,t,r,ds,n),o===i)break;i=o}i!==null&&r.stopPropagation()}else Ma(e,t,r,null,n)}}var ds=null;function Au(e,t,n,r){if(ds=null,e=$c(r),e=Nr(e),e!==null)if(t=Yr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=_m(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 ds=e,null}function Ym(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(Sx()){case Vc:return 1;case zm:return 4;case as:case kx:return 16;case jm:return 536870912;default:return 16}default:return 16}}var Zn=null,Yc=null,Hl=null;function qm(){if(Hl)return Hl;var e,t=Yc,n=t.length,r,i="value"in Zn?Zn.value:Zn.textContent,o=i.length;for(e=0;e<n&&t[e]===i[e];e++);var l=n-e;for(r=1;r<=l&&t[n-r]===i[o-r];r++);return Hl=i.slice(e,1<r?1-r:void 0)}function Wl(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 Sl(){return!0}function Pf(){return!1}function Et(e){function t(n,r,i,o,l){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=o,this.target=l,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(o):o[s]);return this.isDefaultPrevented=(o.defaultPrevented!=null?o.defaultPrevented:o.returnValue===!1)?Sl:Pf,this.isPropagationStopped=Pf,this}return Ee(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=Sl)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Sl)},persist:function(){},isPersistent:Sl}),t}var Vi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qc=Et(Vi),rl=Ee({},Vi,{view:0,detail:0}),Mx=Et(rl),Pa,Ta,ro,Us=Ee({},rl,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Gc,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!==ro&&(ro&&e.type==="mousemove"?(Pa=e.screenX-ro.screenX,Ta=e.screenY-ro.screenY):Ta=Pa=0,ro=e),Pa)},movementY:function(e){return"movementY"in e?e.movementY:Ta}}),Tf=Et(Us),Dx=Ee({},Us,{dataTransfer:0}),Fx=Et(Dx),zx=Ee({},rl,{relatedTarget:0}),Ra=Et(zx),jx=Ee({},Vi,{animationName:0,elapsedTime:0,pseudoElement:0}),Bx=Et(jx),Ux=Ee({},Vi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),$x=Et(Ux),Vx=Ee({},Vi,{data:0}),Rf=Et(Vx),Hx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Wx={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"},Qx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Yx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Qx[e])?!!t[e]:!1}function Gc(){return Yx}var qx=Ee({},rl,{key:function(e){if(e.key){var t=Hx[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Wl(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Wx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Gc,charCode:function(e){return e.type==="keypress"?Wl(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Wl(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Gx=Et(qx),Kx=Ee({},Us,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Nf=Et(Kx),Xx=Ee({},rl,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Gc}),Zx=Et(Xx),Jx=Ee({},Vi,{propertyName:0,elapsedTime:0,pseudoElement:0}),ew=Et(Jx),tw=Ee({},Us,{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}),nw=Et(tw),rw=[9,13,27,32],Kc=Cn&&"CompositionEvent"in window,vo=null;Cn&&"documentMode"in document&&(vo=document.documentMode);var iw=Cn&&"TextEvent"in window&&!vo,Gm=Cn&&(!Kc||vo&&8<vo&&11>=vo),Af=" ",If=!1;function Km(e,t){switch(e){case"keyup":return rw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var oi=!1;function ow(e,t){switch(e){case"compositionend":return Xm(t);case"keypress":return t.which!==32?null:(If=!0,Af);case"textInput":return e=t.data,e===Af&&If?null:e;default:return null}}function lw(e,t){if(oi)return e==="compositionend"||!Kc&&Km(e,t)?(e=qm(),Hl=Yc=Zn=null,oi=!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 Gm&&t.locale!=="ko"?null:t.data;default:return null}}var sw={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 Lf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!sw[e.type]:t==="textarea"}function Zm(e,t,n,r){Nm(r),t=fs(t,"onChange"),0<t.length&&(n=new qc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var xo=null,Mo=null;function aw(e){ug(e,0)}function $s(e){var t=ai(e);if(km(t))return e}function uw(e,t){if(e==="change")return t}var Jm=!1;if(Cn){var Na;if(Cn){var Aa="oninput"in document;if(!Aa){var Of=document.createElement("div");Of.setAttribute("oninput","return;"),Aa=typeof Of.oninput=="function"}Na=Aa}else Na=!1;Jm=Na&&(!document.documentMode||9<document.documentMode)}function _f(){xo&&(xo.detachEvent("onpropertychange",eg),Mo=xo=null)}function eg(e){if(e.propertyName==="value"&&$s(Mo)){var t=[];Zm(t,Mo,e,$c(e)),Om(aw,t)}}function cw(e,t,n){e==="focusin"?(_f(),xo=t,Mo=n,xo.attachEvent("onpropertychange",eg)):e==="focusout"&&_f()}function dw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return $s(Mo)}function fw(e,t){if(e==="click")return $s(t)}function pw(e,t){if(e==="input"||e==="change")return $s(t)}function hw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Yt=typeof Object.is=="function"?Object.is:hw;function Do(e,t){if(Yt(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 i=n[r];if(!fu.call(t,i)||!Yt(e[i],t[i]))return!1}return!0}function Mf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Df(e,t){var n=Mf(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=Mf(n)}}function tg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ng(){for(var e=window,t=os();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=os(e.document)}return t}function Xc(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 mw(e){var t=ng(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&tg(n.ownerDocument.documentElement,n)){if(r!==null&&Xc(n)){if(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 i=n.textContent.length,o=Math.min(r.start,i);r=r.end===void 0?o:Math.min(r.end,i),!e.extend&&o>r&&(i=r,r=o,o=i),i=Df(n,o);var l=Df(n,r);i&&l&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==l.node||e.focusOffset!==l.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(l.node,l.offset)):(t.setEnd(l.node,l.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gw=Cn&&"documentMode"in document&&11>=document.documentMode,li=null,Iu=null,wo=null,Lu=!1;function Ff(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Lu||li==null||li!==os(r)||(r=li,"selectionStart"in r&&Xc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),wo&&Do(wo,r)||(wo=r,r=fs(Iu,"onSelect"),0<r.length&&(t=new qc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=li)))}function kl(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var si={animationend:kl("Animation","AnimationEnd"),animationiteration:kl("Animation","AnimationIteration"),animationstart:kl("Animation","AnimationStart"),transitionend:kl("Transition","TransitionEnd")},Ia={},rg={};Cn&&(rg=document.createElement("div").style,"AnimationEvent"in window||(delete si.animationend.animation,delete si.animationiteration.animation,delete si.animationstart.animation),"TransitionEvent"in window||delete si.transitionend.transition);function Vs(e){if(Ia[e])return Ia[e];if(!si[e])return e;var t=si[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in rg)return Ia[e]=t[n];return e}var ig=Vs("animationend"),og=Vs("animationiteration"),lg=Vs("animationstart"),sg=Vs("transitionend"),ag=new Map,zf="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 gr(e,t){ag.set(e,t),Qr(t,[e])}for(var La=0;La<zf.length;La++){var Oa=zf[La],yw=Oa.toLowerCase(),vw=Oa[0].toUpperCase()+Oa.slice(1);gr(yw,"on"+vw)}gr(ig,"onAnimationEnd");gr(og,"onAnimationIteration");gr(lg,"onAnimationStart");gr("dblclick","onDoubleClick");gr("focusin","onFocus");gr("focusout","onBlur");gr(sg,"onTransitionEnd");Oi("onMouseEnter",["mouseout","mouseover"]);Oi("onMouseLeave",["mouseout","mouseover"]);Oi("onPointerEnter",["pointerout","pointerover"]);Oi("onPointerLeave",["pointerout","pointerover"]);Qr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Qr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Qr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Qr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Qr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Qr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var mo="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(" "),xw=new Set("cancel close invalid load scroll toggle".split(" ").concat(mo));function jf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,yx(r,t,void 0,e),e.currentTarget=null}function ug(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var l=r.length-1;0<=l;l--){var s=r[l],a=s.instance,u=s.currentTarget;if(s=s.listener,a!==o&&i.isPropagationStopped())break e;jf(i,s,u),o=a}else for(l=0;l<r.length;l++){if(s=r[l],a=s.instance,u=s.currentTarget,s=s.listener,a!==o&&i.isPropagationStopped())break e;jf(i,s,u),o=a}}}if(ss)throw e=Tu,ss=!1,Tu=null,e}function ye(e,t){var n=t[Fu];n===void 0&&(n=t[Fu]=new Set);var r=e+"__bubble";n.has(r)||(cg(t,e,2,!1),n.add(r))}function _a(e,t,n){var r=0;t&&(r|=4),cg(n,e,r,t)}var El="_reactListening"+Math.random().toString(36).slice(2);function Fo(e){if(!e[El]){e[El]=!0,ym.forEach(function(n){n!=="selectionchange"&&(xw.has(n)||_a(n,!1,e),_a(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[El]||(t[El]=!0,_a("selectionchange",!1,t))}}function cg(e,t,n,r){switch(Ym(t)){case 1:var i=Ox;break;case 4:i=_x;break;default:i=Qc}n=i.bind(null,t,n,e),i=void 0,!Pu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Ma(e,t,n,r,i){var o=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var l=r.tag;if(l===3||l===4){var s=r.stateNode.containerInfo;
vendor: 21,713 bytes, lines 37-38
37if(s===i||s.nodeType===8&&s.parentNode===i)break;if(l===4)for(l=r.return;l!==null;){var a=l.tag;if((a===3||a===4)&&(a=l.stateNode.containerInfo,a===i||a.nodeType===8&&a.parentNode===i))return;l=l.return}for(;s!==null;){if(l=Nr(s),l===null)return;if(a=l.tag,a===5||a===6){r=o=l;continue e}s=s.parentNode}}r=r.return}Om(function(){var u=o,c=$c(n),f=[];e:{var p=ag.get(e);if(p!==void 0){var d=qc,v=e;switch(e){case"keypress":if(Wl(n)===0)break e;case"keydown":case"keyup":d=Gx;break;case"focusin":v="focus",d=Ra;break;case"focusout":v="blur",d=Ra;break;case"beforeblur":case"afterblur":d=Ra;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":d=Tf;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":d=Fx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":d=Zx;break;case ig:case og:case lg:d=Bx;break;case sg:d=ew;break;case"scroll":d=Mx;break;case"wheel":d=nw;break;case"copy":case"cut":case"paste":d=$x;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":d=Nf}var m=(t&4)!==0,x=!m&&e==="scroll",h=m?p!==null?p+"Capture":null:p;m=[];for(var g=u,y;g!==null;){y=g;var b=y.stateNode;if(y.tag===5&&b!==null&&(y=b,h!==null&&(b=Io(g,h),b!=null&&m.push(zo(g,b,y)))),x)break;g=g.return}0<m.length&&(p=new d(p,v,null,n,c),f.push({event:p,listeners:m}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",d=e==="mouseout"||e==="pointerout",p&&n!==bu&&(v=n.relatedTarget||n.fromElement)&&(Nr(v)||v[Pn]))break e;if((d||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,d?(v=n.relatedTarget||n.toElement,d=u,v=v?Nr(v):null,v!==null&&(x=Yr(v),v!==x||v.tag!==5&&v.tag!==6)&&(v=null)):(d=null,v=u),d!==v)){if(m=Tf,b="onMouseLeave",h="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(m=Nf,b="onPointerLeave",h="onPointerEnter",g="pointer"),x=d==null?p:ai(d),y=v==null?p:ai(v),p=new m(b,g+"leave",d,n,c),p.target=x,p.relatedTarget=y,b=null,Nr(c)===u&&(m=new m(h,g+"enter",v,n,c),m.target=y,m.relatedTarget=x,b=m),x=b,d&&v)t:{for(m=d,h=v,g=0,y=m;y;y=ti(y))g++;for(y=0,b=h;b;b=ti(b))y++;for(;0<g-y;)m=ti(m),g--;for(;0<y-g;)h=ti(h),y--;for(;g--;){if(m===h||h!==null&&m===h.alternate)break t;m=ti(m),h=ti(h)}m=null}else m=null;d!==null&&Bf(f,p,d,m,!1),v!==null&&x!==null&&Bf(f,x,v,m,!0)}}e:{if(p=u?ai(u):window,d=p.nodeName&&p.nodeName.toLowerCase(),d==="select"||d==="input"&&p.type==="file")var P=uw;else if(Lf(p))if(Jm)P=pw;else{P=dw;var E=cw}else(d=p.nodeName)&&d.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(P=fw);if(P&&(P=P(e,u))){Zm(f,P,n,c);break e}E&&E(e,p,u),e==="focusout"&&(E=p._wrapperState)&&E.controlled&&p.type==="number"&&xu(p,"number",p.value)}switch(E=u?ai(u):window,e){case"focusin":(Lf(E)||E.contentEditable==="true")&&(li=E,Iu=u,wo=null);break;case"focusout":wo=Iu=li=null;break;case"mousedown":Lu=!0;break;case"contextmenu":case"mouseup":case"dragend":Lu=!1,Ff(f,n,c);break;case"selectionchange":if(gw)break;case"keydown":case"keyup":Ff(f,n,c)}var T;if(Kc)e:{switch(e){case"compositionstart":var L="onCompositionStart";break e;case"compositionend":L="onCompositionEnd";break e;case"compositionupdate":L="onCompositionUpdate";break e}L=void 0}else oi?Km(e,n)&&(L="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(L="onCompositionStart");L&&(Gm&&n.locale!=="ko"&&(oi||L!=="onCompositionStart"?L==="onCompositionEnd"&&oi&&(T=qm()):(Zn=c,Yc="value"in Zn?Zn.value:Zn.textContent,oi=!0)),E=fs(u,L),0<E.length&&(L=new Rf(L,e,null,n,c),f.push({event:L,listeners:E}),T?L.data=T:(T=Xm(n),T!==null&&(L.data=T)))),(T=iw?ow(e,n):lw(e,n))&&(u=fs(u,"onBeforeInput"),0<u.length&&(c=new Rf("onBeforeInput","beforeinput",null,n,c),f.push({event:c,listeners:u}),c.data=T))}ug(f,t)})}function zo(e,t,n){return{instance:e,listener:t,currentTarget:n}}function fs(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,o=i.stateNode;i.tag===5&&o!==null&&(i=o,o=Io(e,n),o!=null&&r.unshift(zo(e,o,i)),o=Io(e,t),o!=null&&r.push(zo(e,o,i))),e=e.return}return r}function ti(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Bf(e,t,n,r,i){for(var o=t._reactName,l=[];n!==null&&n!==r;){var s=n,a=s.alternate,u=s.stateNode;if(a!==null&&a===r)break;s.tag===5&&u!==null&&(s=u,i?(a=Io(n,o),a!=null&&l.unshift(zo(n,a,s))):i||(a=Io(n,o),a!=null&&l.push(zo(n,a,s)))),n=n.return}l.length!==0&&e.push({event:t,listeners:l})}var ww=/\r\n?/g,Sw=/\u0000|\uFFFD/g;function Uf(e){return(typeof e=="string"?e:""+e).replace(ww,` 38`).replace(Sw,"")}function bl(e,t,n){if(t=Uf(t),Uf(e)!==t&&n)throw Error(z(425))}function ps(){}var Ou=null,_u=null;function Mu(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 Du=typeof setTimeout=="function"?setTimeout:void 0,kw=typeof clearTimeout=="function"?clearTimeout:void 0,$f=typeof Promise=="function"?Promise:void 0,Ew=typeof queueMicrotask=="function"?queueMicrotask:typeof $f<"u"?function(e){return $f.resolve(null).then(e).catch(bw)}:Du;function bw(e){setTimeout(function(){throw e})}function Da(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),_o(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);_o(t)}function ir(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 Vf(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 Hi=Math.random().toString(36).slice(2),ln="__reactFiber$"+Hi,jo="__reactProps$"+Hi,Pn="__reactContainer$"+Hi,Fu="__reactEvents$"+Hi,Cw="__reactListeners$"+Hi,Pw="__reactHandles$"+Hi;function Nr(e){var t=e[ln];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Pn]||n[ln]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Vf(e);e!==null;){if(n=e[ln])return n;e=Vf(e)}return t}e=n,n=e.parentNode}return null}function il(e){return e=e[ln]||e[Pn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ai(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(z(33))}function Hs(e){return e[jo]||null}var zu=[],ui=-1;function yr(e){return{current:e}}function ve(e){0>ui||(e.current=zu[ui],zu[ui]=null,ui--)}function he(e,t){ui++,zu[ui]=e.current,e.current=t}var dr={},He=yr(dr),ot=yr(!1),Br=dr;function _i(e,t){var n=e.type.contextTypes;if(!n)return dr;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function lt(e){return e=e.childContextTypes,e!=null}function hs(){ve(ot),ve(He)}function Hf(e,t,n){if(He.current!==dr)throw Error(z(168));he(He,t),he(ot,n)}function dg(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(z(108,cx(e)||"Unknown",i));return Ee({},n,r)}function ms(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||dr,Br=He.current,he(He,e),he(ot,ot.current),!0}function Wf(e,t,n){var r=e.stateNode;if(!r)throw Error(z(169));n?(e=dg(e,t,Br),r.__reactInternalMemoizedMergedChildContext=e,ve(ot),ve(He),he(He,e)):ve(ot),he(ot,n)}var wn=null,Ws=!1,Fa=!1;function fg(e){wn===null?wn=[e]:wn.push(e)}function Tw(e){Ws=!0,fg(e)}function vr(){if(!Fa&&wn!==null){Fa=!0;var e=0,t=ce;try{var n=wn;for(ce=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}wn=null,Ws=!1}catch(i){throw wn!==null&&(wn=wn.slice(e+1)),Fm(Vc,vr),i}finally{ce=t,Fa=!1}}return null}var ci=[],di=0,gs=null,ys=0,Pt=[],Tt=0,Ur=null,kn=1,En="";function Cr(e,t){ci[di++]=ys,ci[di++]=gs,gs=e,ys=t}function pg(e,t,n){Pt[Tt++]=kn,Pt[Tt++]=En,Pt[Tt++]=Ur,Ur=e;var r=kn;e=En;var i=32-Wt(r)-1;r&=~(1<<i),n+=1;var o=32-Wt(t)+i;if(30<o){var l=i-i%5;o=(r&(1<<l)-1).toString(32),r>>=l,i-=l,kn=1<<32-Wt(t)+i|n<<i|r,En=o+e}else kn=1<<o|n<<i|r,En=e}function Zc(e){e.return!==null&&(Cr(e,1),pg(e,1,0))}function Jc(e){for(;e===gs;)gs=ci[--di],ci[di]=null,ys=ci[--di],ci[di]=null;for(;e===Ur;)Ur=Pt[--Tt],Pt[Tt]=null,En=Pt[--Tt],Pt[Tt]=null,kn=Pt[--Tt],Pt[Tt]=null}var xt=null,yt=null,we=!1,Ht=null;function hg(e,t){var n=Nt(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 Qf(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,xt=e,yt=ir(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,xt=e,yt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Ur!==null?{id:kn,overflow:En}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Nt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,xt=e,yt=null,!0):!1;default:return!1}}function ju(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Bu(e){if(we){var t=yt;if(t){var n=t;if(!Qf(e,t)){if(ju(e))throw Error(z(418));t=ir(n.nextSibling);var r=xt;t&&Qf(e,t)?hg(r,n):(e.flags=e.flags&-4097|2,we=!1,xt=e)}}else{if(ju(e))throw Error(z(418));e.flags=e.flags&-4097|2,we=!1,xt=e}}}function Yf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;xt=e}function Cl(e){if(e!==xt)return!1;if(!we)return Yf(e),we=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Mu(e.type,e.memoizedProps)),t&&(t=yt)){if(ju(e))throw mg(),Error(z(418));for(;t;)hg(e,t),t=ir(t.nextSibling)}if(Yf(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(z(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){yt=ir(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}yt=null}}else yt=xt?ir(e.stateNode.nextSibling):null;return!0}function mg(){for(var e=yt;e;)e=ir(e.nextSibling)}function Mi(){yt=xt=null,we=!1}function ed(e){Ht===null?Ht=[e]:Ht.push(e)}var Rw=In.ReactCurrentBatchConfig;function io(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(z(309));var r=n.stateNode}if(!r)throw Error(z(147,e));var i=r,o=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===o?t.ref:(t=function(l){var s=i.refs;l===null?delete s[o]:s[o]=l},t._stringRef=o,t)}if(typeof e!="string")throw Error(z(284));if(!n._owner)throw Error(z(290,e))}return e}function Pl(e,t){throw e=Object.prototype.toString.call(t),Error(z(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function qf(e){var t=e._init;return t(e._payload)}function gg(e){function t(h,g){if(e){var y=h.deletions;y===null?(h.deletions=[g],h.flags|=16):y.push(g)}}function n(h,g){if(!e)return null;for(;g!==null;)t(h,g),g=g.sibling;return null}function r(h,g){for(h=new Map;g!==null;)g.key!==null?h.set(g.key,g):h.set(g.index,g),g=g.sibling;return h}function i(h,g){return h=ar(h,g),h.index=0,h.sibling=null,h}function o(h,g,y){return h.index=y,e?(y=h.alternate,y!==null?(y=y.index,y<g?(h.flags|=2,g):y):(h.flags|=2,g)):(h.flags|=1048576,g)}function l(h){return e&&h.alternate===null&&(h.flags|=2),h}function s(h,g,y,b){return g===null||g.tag!==6?(g=Ha(y,h.mode,b),g.return=h,g):(g=i(g,y),g.return=h,g)}function a(h,g,y,b){var P=y.type;return P===ii?c(h,g,y.props.children,b,y.key):g!==null&&(g.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Vn&&qf(P)===g.type)?(b=i(g,y.props),b.ref=io(h,g,y),b.return=h,b):(b=Zl(y.type,y.key,y.props,null,h.mode,b),b.ref=io(h,g,y),b.return=h,b)}function u(h,g,y,b){return g===null||g.tag!==4||g.stateNode.containerInfo!==y.containerInfo||g.stateNode.implementation!==y.implementation?(g=Wa(y,h.mode,b),g.return=h,g):(g=i(g,y.children||[]),g.return=h,g)}function c(h,g,y,b,P){return g===null||g.tag!==7?(g=jr(y,h.mode,b,P),g.return=h,g):(g=i(g,y),g.return=h,g)}function f(h,g,y){if(typeof g=="string"&&g!==""||typeof g=="number")return g=Ha(""+g,h.mode,y),g.return=h,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case ml:return y=Zl(g.type,g.key,g.props,null,h.mode,y),y.ref=io(h,null,g),y.return=h,y;case ri:return g=Wa(g,h.mode,y),g.return=h,g;case Vn:var b=g._init;return f(h,b(g._payload),y)}if(po(g)||Ji(g))return g=jr(g,h.mode,y,null),g.return=h,g;Pl(h,g)}return null}function p(h,g,y,b){var P=g!==null?g.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return P!==null?null:s(h,g,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case ml:return y.key===P?a(h,g,y,b):null;case ri:return y.key===P?u(h,g,y,b):null;case Vn:return P=y._init,p(h,g,P(y._payload),b)}if(po(y)||Ji(y))return P!==null?null:c(h,g,y,b,null);Pl(h,y)}return null}function d(h,g,y,b,P){if(typeof b=="string"&&b!==""||typeof b=="number")return h=h.get(y)||null,s(g,h,""+b,P);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case ml:return h=h.get(b.key===null?y:b.key)||null,a(g,h,b,P);case ri:return h=h.get(b.key===null?y:b.key)||null,u(g,h,b,P);case Vn:var E=b._init;return d(h,g,y,E(b._payload),P)}if(po(b)||Ji(b))return h=h.get(y)||null,c(g,h,b,P,null);Pl(g,b)}return null}function v(h,g,y,b){for(var P=null,E=null,T=g,L=g=0,R=null;T!==null&&L<y.length;L++){T.index>L?(R=T,T=null):R=T.sibling;var A=p(h,T,y[L],b);if(A===null){T===null&&(T=R);break}e&&T&&A.alternate===null&&t(h,T),g=o(A,g,L),E===null?P=A:E.sibling=A,E=A,T=R}if(L===y.length)return n(h,T),we&&Cr(h,L),P;if(T===null){for(;L<y.length;L++)T=f(h,y[L],b),T!==null&&(g=o(T,g,L),E===null?P=T:E.sibling=T,E=T);return we&&Cr(h,L),P}for(T=r(h,T);L<y.length;L++)R=d(T,h,L,y[L],b),R!==null&&(e&&R.alternate!==null&&T.delete(R.key===null?L:R.key),g=o(R,g,L),E===null?P=R:E.sibling=R,E=R);return e&&T.forEach(function(D){return t(h,D)}),we&&Cr(h,L),P}function m(h,g,y,b){var P=Ji(y);if(typeof P!="function")throw Error(z(150));if(y=P.call(y),y==null)throw Error(z(151));for(var E=P=null,T=g,L=g=0,R=null,A=y.next();T!==null&&!A.done;L++,A=y.next()){T.index>L?(R=T,T=null):R=T.sibling;var D=p(h,T,A.value,b);if(D===null){T===null&&(T=R);break}e&&T&&D.alternate===null&&t(h,T),g=o(D,g,L),E===null?P=D:E.sibling=D,E=D,T=R}if(A.done)return n(h,T),we&&Cr(h,L),P;if(T===null){for(;!A.done;L++,A=y.next())A=f(h,A.value,b),A!==null&&(g=o(A,g,L),E===null?P=A:E.sibling=A,E=A);return we&&Cr(h,L),P}for(T=r(h,T);!A.done;L++,A=y.next())A=d(T,h,L,A.value,b),A!==null&&(e&&A.alternate!==null&&T.delete(A.key===null?L:A.key),g=o(A,g,L),E===null?P=A:E.sibling=A,E=A);return e&&T.forEach(function(O){return t(h,O)}),we&&Cr(h,L),P}function x(h,g,y,b){if(typeof y=="object"&&y!==null&&y.type===ii&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case ml:e:{for(var P=y.key,E=g;E!==null;){if(E.key===P){if(P=y.type,P===ii){if(E.tag===7){n(h,E.sibling),g=i(E,y.props.children),g.return=h,h=g;break e}}else if(E.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Vn&&qf(P)===E.type){n(h,E.sibling),g=i(E,y.props),g.ref=io(h,E,y),g.return=h,h=g;break e}n(h,E);break}else t(h,E);E=E.sibling}y.type===ii?(g=jr(y.props.children,h.mode,b,y.key),g.return=h,h=g):(b=Zl(y.type,y.key,y.props,null,h.mode,b),b.ref=io(h,g,y),b.return=h,h=b)}return l(h);case ri:e:{for(E=y.key;g!==null;){if(g.key===E)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){n(h,g.sibling),g=i(g,y.children||[]),g.return=h,h=g;break e}else{n(h,g);break}else t(h,g);g=g.sibling}g=Wa(y,h.mode,b),g.return=h,h=g}return l(h);case Vn:return E=y._init,x(h,g,E(y._payload),b)}if(po(y))return v(h,g,y,b);if(Ji(y))return m(h,g,y,b);Pl(h,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(n(h,g.sibling),g=i(g,y),g.return=h,h=g):(n(h,g),g=Ha(y,h.mode,b),g.return=h,h=g),l(h)):n(h,g)}return x}var Di=gg(!0),yg=gg(!1),vs=yr(null),xs=null,fi=null,td=null;function nd(){td=fi=xs=null}function rd(e){var t=vs.current;ve(vs),e._currentValue=t}function Uu(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 xi(e,t){xs=e,td=fi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(it=!0),e.firstContext=null)}function It(e){var t=e._currentValue;if(td!==e)if(e={context:e,memoizedValue:t,next:null},fi===null){if(xs===null)throw Error(z(308));fi=e,xs.dependencies={lanes:0,firstContext:e}}else fi=fi.next=e;return t}var Ar=null;function id(e){Ar===null?Ar=[e]:Ar.push(e)}function vg(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,id(t)):(n.next=i.next,i.next=n),t.interleaved=n,Tn(e,r)}function Tn(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 Hn=!1;function od(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function xg(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 bn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function or(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,le&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,Tn(e,n)}return i=r.interleaved,i===null?(t.next=t,id(r)):(t.next=i.next,i.next=t),r.interleaved=t,Tn(e,n)}function Ql(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,Hc(e,n)}}function Gf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,o=null;if(n=n.firstBaseUpdate,n!==null){do{var l={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};o===null?i=o=l:o=o.next=l,n=n.next}while(n!==null);o===null?i=o=t:o=o.next=t}else i=o=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:o,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 ws(e,t,n,r){var i=e.updateQueue;Hn=!1;var o=i.firstBaseUpdate,l=i.lastBaseUpdate,s=i.shared.pending;if(s!==null){i.shared.pending=null;var a=s,u=a.next;a.next=null,l===null?o=u:l.next=u,l=a;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==l&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=a))}if(o!==null){var f=i.baseState;l=0,c=u=a=null,s=o;do{var p=s.lane,d=s.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:d,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var v=e,m=s;switch(p=t,d=n,m.tag){case 1:if(v=m.payload,typeof v=="function"){f=v.call(d,f,p);break e}f=v;break e;case 3:v.flags=v.flags&-65537|128;case 0:if(v=m.payload,p=typeof v=="function"?v.call(d,f,p):v,p==null)break e;f=Ee({},f,p);break e;case 2:Hn=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=i.effects,p===null?i.effects=[s]:p.push(s))}else d={eventTime:d,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=d,a=f):c=c.next=d,l|=p;if(s=s.next,s===null){if(s=i.shared.pending,s===null)break;p=s,s=p.next,p.next=null,i.lastBaseUpdate=p,i.shared.pending=null}}while(!0);if(c===null&&(a=f),i.baseState=a,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do l|=i.lane,i=i.next;while(i!==t)}else o===null&&(i.shared.lanes=0);Vr|=l,e.lanes=l,e.memoizedState=f}}function Kf(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(z(191,i));i.call(r)}}}var ol={},cn=yr(ol),Bo=yr(ol),Uo=yr(ol);function Ir(e){if(e===ol)throw Error(z(174));return e}function ld(e,t){switch(he(Uo,t),he(Bo,e),he(cn,ol),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Su(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Su(t,e)}ve(cn),he(cn,t)}function Fi(){ve(cn),ve(Bo),ve(Uo)}function wg(e){Ir(Uo.current);var t=Ir(cn.current),n=Su(t,e.type);t!==n&&(he(Bo,e),he(cn,n))}function sd(e){Bo.current===e&&(ve(cn),ve(Bo))}var Se=yr(0);function Ss(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 za=[];function ad(){for(var e=0;e<za.length;e++)za[e]._workInProgressVersionPrimary=null;za.length=0}var Yl=In.ReactCurrentDispatcher,ja=In.ReactCurrentBatchConfig,$r=0,ke=null,Ie=null,_e=null,ks=!1,So=!1,$o=0,Nw=0;function Be(){throw Error(z(321))}function ud(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Yt(e[n],t[n]))return!1;return!0}function cd(e,t,n,r,i,o){if($r=o,ke=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Yl.current=e===null||e.memoizedState===null?Ow:_w,e=n(r,i),So){o=0;
vendor: 4,736 bytes, line 38
38do{if(So=!1,$o=0,25<=o)throw Error(z(301));o+=1,_e=Ie=null,t.updateQueue=null,Yl.current=Mw,e=n(r,i)}while(So)}if(Yl.current=Es,t=Ie!==null&&Ie.next!==null,$r=0,_e=Ie=ke=null,ks=!1,t)throw Error(z(300));return e}function dd(){var e=$o!==0;return $o=0,e}function en(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return _e===null?ke.memoizedState=_e=e:_e=_e.next=e,_e}function Lt(){if(Ie===null){var e=ke.alternate;e=e!==null?e.memoizedState:null}else e=Ie.next;var t=_e===null?ke.memoizedState:_e.next;if(t!==null)_e=t,Ie=e;else{if(e===null)throw Error(z(310));Ie=e,e={memoizedState:Ie.memoizedState,baseState:Ie.baseState,baseQueue:Ie.baseQueue,queue:Ie.queue,next:null},_e===null?ke.memoizedState=_e=e:_e=_e.next=e}return _e}function Vo(e,t){return typeof t=="function"?t(e):t}function Ba(e){var t=Lt(),n=t.queue;if(n===null)throw Error(z(311));n.lastRenderedReducer=e;var r=Ie,i=r.baseQueue,o=n.pending;if(o!==null){if(i!==null){var l=i.next;i.next=o.next,o.next=l}r.baseQueue=i=o,n.pending=null}if(i!==null){o=i.next,r=r.baseState;var s=l=null,a=null,u=o;do{var c=u.lane;if(($r&c)===c)a!==null&&(a=a.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};a===null?(s=a=f,l=r):a=a.next=f,ke.lanes|=c,Vr|=c}u=u.next}while(u!==null&&u!==o);a===null?l=r:a.next=s,Yt(r,t.memoizedState)||(it=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=a,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do o=i.lane,ke.lanes|=o,Vr|=o,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ua(e){var t=Lt(),n=t.queue;if(n===null)throw Error(z(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(i!==null){n.pending=null;var l=i=i.next;do o=e(o,l.action),l=l.next;while(l!==i);Yt(o,t.memoizedState)||(it=!0),t.memoizedState=o,t.baseQueue===null&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function Sg(){}function kg(e,t){var n=ke,r=Lt(),i=t(),o=!Yt(r.memoizedState,i);if(o&&(r.memoizedState=i,it=!0),r=r.queue,fd(Cg.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||_e!==null&&_e.memoizedState.tag&1){if(n.flags|=2048,Ho(9,bg.bind(null,n,r,i,t),void 0,null),Me===null)throw Error(z(349));$r&30||Eg(n,t,i)}return i}function Eg(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=ke.updateQueue,t===null?(t={lastEffect:null,stores:null},ke.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function bg(e,t,n,r){t.value=n,t.getSnapshot=r,Pg(t)&&Tg(e)}function Cg(e,t,n){return n(function(){Pg(t)&&Tg(e)})}function Pg(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Yt(e,n)}catch{return!0}}function Tg(e){var t=Tn(e,1);t!==null&&Qt(t,e,1,-1)}function Xf(e){var t=en();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Vo,lastRenderedState:e},t.queue=e,e=e.dispatch=Lw.bind(null,ke,e),[t.memoizedState,e]}function Ho(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=ke.updateQueue,t===null?(t={lastEffect:null,stores:null},ke.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 Rg(){return Lt().memoizedState}function ql(e,t,n,r){var i=en();ke.flags|=e,i.memoizedState=Ho(1|t,n,void 0,r===void 0?null:r)}function Qs(e,t,n,r){var i=Lt();r=r===void 0?null:r;var o=void 0;if(Ie!==null){var l=Ie.memoizedState;if(o=l.destroy,r!==null&&ud(r,l.deps)){i.memoizedState=Ho(t,n,o,r);return}}ke.flags|=e,i.memoizedState=Ho(1|t,n,o,r)}function Zf(e,t){return ql(8390656,8,e,t)}function fd(e,t){return Qs(2048,8,e,t)}function Ng(e,t){return Qs(4,2,e,t)}function Ag(e,t){return Qs(4,4,e,t)}function Ig(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 Lg(e,t,n){return n=n!=null?n.concat([e]):null,Qs(4,4,Ig.bind(null,t,e),n)}function pd(){}function Og(e,t){var n=Lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ud(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function _g(e,t){var n=Lt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ud(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Mg(e,t,n){return $r&21?(Yt(n,t)||(n=Bm(),ke.lanes|=n,Vr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,it=!0),e.memoizedState=n)}function Aw(e,t){var n=ce;ce=n!==0&&4>n?n:4,e(!0);var r=ja.transition;ja.transition={};try{e(!1),t()}finally{ce=n,ja.transition=r}}function Dg(){return Lt().memoizedState}function Iw(e,t,n){var r=sr(e);
vendor: 7,934 bytes, lines 38-40
38if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Fg(e))zg(t,n);else if(n=vg(e,t,n,r),n!==null){var i=Xe();Qt(n,e,r,i),jg(n,t,r)}}function Lw(e,t,n){var r=sr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Fg(e))zg(t,i);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var l=t.lastRenderedState,s=o(l,n);if(i.hasEagerState=!0,i.eagerState=s,Yt(s,l)){var a=t.interleaved;a===null?(i.next=i,id(t)):(i.next=a.next,a.next=i),t.interleaved=i;return}}catch{}finally{}n=vg(e,t,i,r),n!==null&&(i=Xe(),Qt(n,e,r,i),jg(n,t,r))}}function Fg(e){var t=e.alternate;return e===ke||t!==null&&t===ke}function zg(e,t){So=ks=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function jg(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Hc(e,n)}}var Es={readContext:It,useCallback:Be,useContext:Be,useEffect:Be,useImperativeHandle:Be,useInsertionEffect:Be,useLayoutEffect:Be,useMemo:Be,useReducer:Be,useRef:Be,useState:Be,useDebugValue:Be,useDeferredValue:Be,useTransition:Be,useMutableSource:Be,useSyncExternalStore:Be,useId:Be,unstable_isNewReconciler:!1},Ow={readContext:It,useCallback:function(e,t){return en().memoizedState=[e,t===void 0?null:t],e},useContext:It,useEffect:Zf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ql(4194308,4,Ig.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ql(4194308,4,e,t)},useInsertionEffect:function(e,t){return ql(4,2,e,t)},useMemo:function(e,t){var n=en();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=en();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=Iw.bind(null,ke,e),[r.memoizedState,e]},useRef:function(e){var t=en();return e={current:e},t.memoizedState=e},useState:Xf,useDebugValue:pd,useDeferredValue:function(e){return en().memoizedState=e},useTransition:function(){var e=Xf(!1),t=e[0];return e=Aw.bind(null,e[1]),en().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ke,i=en();if(we){if(n===void 0)throw Error(z(407));n=n()}else{if(n=t(),Me===null)throw Error(z(349));$r&30||Eg(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Zf(Cg.bind(null,r,o,e),[e]),r.flags|=2048,Ho(9,bg.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=en(),t=Me.identifierPrefix;if(we){var n=En,r=kn;n=(r&~(1<<32-Wt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=$o++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Nw++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},_w={readContext:It,useCallback:Og,useContext:It,useEffect:fd,useImperativeHandle:Lg,useInsertionEffect:Ng,useLayoutEffect:Ag,useMemo:_g,useReducer:Ba,useRef:Rg,useState:function(){return Ba(Vo)},useDebugValue:pd,useDeferredValue:function(e){var t=Lt();return Mg(t,Ie.memoizedState,e)},useTransition:function(){var e=Ba(Vo)[0],t=Lt().memoizedState;return[e,t]},useMutableSource:Sg,useSyncExternalStore:kg,useId:Dg,unstable_isNewReconciler:!1},Mw={readContext:It,useCallback:Og,useContext:It,useEffect:fd,useImperativeHandle:Lg,useInsertionEffect:Ng,useLayoutEffect:Ag,useMemo:_g,useReducer:Ua,useRef:Rg,useState:function(){return Ua(Vo)},useDebugValue:pd,useDeferredValue:function(e){var t=Lt();return Ie===null?t.memoizedState=e:Mg(t,Ie.memoizedState,e)},useTransition:function(){var e=Ua(Vo)[0],t=Lt().memoizedState;return[e,t]},useMutableSource:Sg,useSyncExternalStore:kg,useId:Dg,unstable_isNewReconciler:!1};function jt(e,t){if(e&&e.defaultProps){t=Ee({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function $u(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Ee({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Ys={isMounted:function(e){return(e=e._reactInternals)?Yr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Xe(),i=sr(e),o=bn(r,i);o.payload=t,n!=null&&(o.callback=n),t=or(e,o,i),t!==null&&(Qt(t,e,i,r),Ql(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Xe(),i=sr(e),o=bn(r,i);o.tag=1,o.payload=t,n!=null&&(o.callback=n),t=or(e,o,i),t!==null&&(Qt(t,e,i,r),Ql(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Xe(),r=sr(e),i=bn(n,r);i.tag=2,t!=null&&(i.callback=t),t=or(e,i,r),t!==null&&(Qt(t,e,r,n),Ql(t,e,r))}};function Jf(e,t,n,r,i,o,l){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,o,l):t.prototype&&t.prototype.isPureReactComponent?!Do(n,r)||!Do(i,o):!0}function Bg(e,t,n){var r=!1,i=dr,o=t.contextType;return typeof o=="object"&&o!==null?o=It(o):(i=lt(t)?Br:He.current,r=t.contextTypes,o=(r=r!=null)?_i(e,i):dr),t=new t(n,o),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Ys,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=o),t}function ep(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&&Ys.enqueueReplaceState(t,t.state,null)}function Vu(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},od(e);var o=t.contextType;typeof o=="object"&&o!==null?i.context=It(o):(o=lt(t)?Br:He.current,i.context=_i(e,o)),i.state=e.memoizedState,o=t.getDerivedStateFromProps,typeof o=="function"&&($u(e,t,o,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Ys.enqueueReplaceState(i,i.state,null),ws(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function zi(e,t){try{var n="",r=t;do n+=ux(r),r=r.return;while(r);var i=n}catch(o){i=` 39Error generating stack: `+o.message+` 40`+o.stack}return{value:e,source:t,stack:i,digest:null}}function $a(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Hu(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Dw=typeof WeakMap=="function"?WeakMap:Map;function Ug(e,t,n){n=bn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Cs||(Cs=!0,ec=r),Hu(e,t)},n}function $g(e,t,n){n=bn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Hu(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){Hu(e,t),typeof r!="function"&&(lr===null?lr=new Set([this]):lr.add(this));var l=t.stack;this.componentDidCatch(t.value,{componentStack:l!==null?l:""})}),n}function tp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Dw;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Kw.bind(null,e,t,n),t.then(e,e))}function np(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 rp(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,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=bn(-1,1),t.tag=2,or(n,t,1))),n.lanes|=1),e)}var Fw=In.ReactCurrentOwner,it=!1;function Ge(e,t,n,r){t.child=e===null?yg(t,null,n,r):Di(t,e.child,n,r)}function ip(e,t,n,r,i){n=n.render;var o=t.ref;return xi(t,i),r=cd(e,t,n,r,o,i),n=dd(),e!==null&&!it?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Rn(e,t,i)):(we&&n&&Zc(t),t.flags|=1,Ge(e,t,r,i
vendor: 9,531 bytes, line 40
40),t.child)}function op(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!Sd(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,Vg(e,t,o,r,i)):(e=Zl(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var l=o.memoizedProps;if(n=n.compare,n=n!==null?n:Do,n(l,r)&&e.ref===t.ref)return Rn(e,t,i)}return t.flags|=1,e=ar(o,r),e.ref=t.ref,e.return=t,t.child=e}function Vg(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(Do(o,r)&&e.ref===t.ref)if(it=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(it=!0);else return t.lanes=e.lanes,Rn(e,t,i)}return Wu(e,t,n,r,i)}function Hg(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},he(hi,mt),mt|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,he(hi,mt),mt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,he(hi,mt),mt|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,he(hi,mt),mt|=r;return Ge(e,t,i,n),t.child}function Wg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Wu(e,t,n,r,i){var o=lt(n)?Br:He.current;return o=_i(t,o),xi(t,i),n=cd(e,t,n,r,o,i),r=dd(),e!==null&&!it?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Rn(e,t,i)):(we&&r&&Zc(t),t.flags|=1,Ge(e,t,n,i),t.child)}function lp(e,t,n,r,i){if(lt(n)){var o=!0;ms(t)}else o=!1;if(xi(t,i),t.stateNode===null)Gl(e,t),Bg(t,n,r),Vu(t,n,r,i),r=!0;else if(e===null){var l=t.stateNode,s=t.memoizedProps;l.props=s;var a=l.context,u=n.contextType;typeof u=="object"&&u!==null?u=It(u):(u=lt(n)?Br:He.current,u=_i(t,u));var c=n.getDerivedStateFromProps,f=typeof c=="function"||typeof l.getSnapshotBeforeUpdate=="function";f||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==r||a!==u)&&ep(t,l,r,u),Hn=!1;var p=t.memoizedState;l.state=p,ws(t,r,l,i),a=t.memoizedState,s!==r||p!==a||ot.current||Hn?(typeof c=="function"&&($u(t,n,c,r),a=t.memoizedState),(s=Hn||Jf(t,n,s,r,p,a,u))?(f||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount()),typeof l.componentDidMount=="function"&&(t.flags|=4194308)):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=a),l.props=r,l.state=a,l.context=u,r=s):(typeof l.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{l=t.stateNode,xg(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:jt(t.type,s),l.props=u,f=t.pendingProps,p=l.context,a=n.contextType,typeof a=="object"&&a!==null?a=It(a):(a=lt(n)?Br:He.current,a=_i(t,a));var d=n.getDerivedStateFromProps;(c=typeof d=="function"||typeof l.getSnapshotBeforeUpdate=="function")||typeof l.UNSAFE_componentWillReceiveProps!="function"&&typeof l.componentWillReceiveProps!="function"||(s!==f||p!==a)&&ep(t,l,r,a),Hn=!1,p=t.memoizedState,l.state=p,ws(t,r,l,i);var v=t.memoizedState;s!==f||p!==v||ot.current||Hn?(typeof d=="function"&&($u(t,n,d,r),v=t.memoizedState),(u=Hn||Jf(t,n,u,r,p,v,a)||!1)?(c||typeof l.UNSAFE_componentWillUpdate!="function"&&typeof l.componentWillUpdate!="function"||(typeof l.componentWillUpdate=="function"&&l.componentWillUpdate(r,v,a),typeof l.UNSAFE_componentWillUpdate=="function"&&l.UNSAFE_componentWillUpdate(r,v,a)),typeof l.componentDidUpdate=="function"&&(t.flags|=4),typeof l.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=v),l.props=r,l.state=v,l.context=a,r=u):(typeof l.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof l.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return Qu(e,t,n,r,o,i)}function Qu(e,t,n,r,i,o){Wg(e,t);var l=(t.flags&128)!==0;if(!r&&!l)return i&&Wf(t,n,!1),Rn(e,t,o);r=t.stateNode,Fw.current=t;var s=l&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&l?(t.child=Di(t,e.child,null,o),t.child=Di(t,null,s,o)):Ge(e,t,s,o),t.memoizedState=r.state,i&&Wf(t,n,!0),t.child}function Qg(e){var t=e.stateNode;t.pendingContext?Hf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Hf(e,t.context,!1),ld(e,t.containerInfo)}function sp(e,t,n,r,i){return Mi(),ed(i),t.flags|=256,Ge(e,t,n,r),t.child}var Yu={dehydrated:null,treeContext:null,retryLane:0};function qu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Yg(e,t,n){var r=t.pendingProps,i=Se.current,o=!1,l=(t.flags&128)!==0,s;if((s=l)||(s=e!==null&&e.memoizedState===null?!1:(i&2)!==0),s?(o=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),he(Se,i&1),e===null)return Bu(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=r.children,e=r.fallback,o?(r=t.mode,o=t.child,l={mode:"hidden",children:l},!(r&1)&&o!==null?(o.childLanes=0,o.pendingProps=l):o=Ks(l,r,0,null),e=jr(e,r,n,null),o.return=t,e.return=t,o.sibling=e,t.child=o,t.child.memoizedState=qu(n),t.memoizedState=Yu,e):hd(t,l));if(i=e.memoizedState,i!==null&&(s=i.dehydrated,s!==null))return zw(e,t,l,r,s,i,n);if(o){o=r.fallback,l=t.mode,i=e.child,s=i.sibling;var a={mode:"hidden",children:r.children};return!(l&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=a,t.deletions=null):(r=ar(i,a),r.subtreeFlags=i.subtreeFlags&14680064),s!==null?o=ar(s,o):(o=jr(o,l,n,null),o.flags|=2),o.return=t,r.return=t,r.sibling=o,t.child=r,r=o,o=t.child,l=e.child.memoizedState,l=l===null?qu(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},o.memoizedState=l,o.childLanes=e.childLanes&~n,t.memoizedState=Yu,r}return o=e.child,e=o.sibling,r=ar(o,{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 hd(e,t){return t=Ks({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Tl(e,t,n,r){return r!==null&&ed(r),Di(t,e.child,null,n),e=hd(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function zw(e,t,n,r,i,o,l){if(n)return t.flags&256?(t.flags&=-257,r=$a(Error(z(422))),Tl(e,t,l,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Ks({mode:"visible",children:r.children},i,0,null),o=jr(o,i,l,null),o.flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,t.mode&1&&Di(t,e.child,null,l),t.child.memoizedState=qu(l),t.memoizedState=Yu,o);if(!(t.mode&1))return Tl(e,t,l,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var s=r.dgst;return r=s,o=Error(z(419)),r=$a(o,r,void 0),Tl(e,t,l,r)}if(s=(l&e.childLanes)!==0,it||s){if(r=Me,r!==null){switch(l&-l){case 4:i=2;break;case 16:i=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:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|l)?0:i,i!==0&&i!==o.retryLane&&(o.retryLane=i,Tn(e,i),Qt(r,e,i,-1))}return wd(),r=$a(Error(z(421))),Tl(e,t,l,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=Xw.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,yt=ir(i.nextSibling),xt=t,we=!0,Ht=null,e!==null&&(Pt[Tt++]=kn,Pt[Tt++]=En,Pt[Tt++]=Ur,kn=e.id,En=e.overflow,Ur=t),t=hd(t,r.children),t.flags|=4096,t)}function ap(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Uu(e.return,t,n)}function Va(e,t,n,r,i){var o=e.memoizedState;o===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=r,o.tail=n,o.tailMode=i)}function qg(e,t,n){var r=t.pendingProps,i=r.revealOrder,o=r.tail;if(Ge(e,t,r.children,n),r=Se.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&&ap(e,n,t);else if(e.tag===19)ap(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(he(Se,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Ss(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Va(t,!1,i,n,o);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Ss(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Va(t,!0,n,null,o);break;case"together":Va(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Gl(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Rn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Vr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(z(153));
vendor: 4,174 bytes, line 40
40if(t.child!==null){for(e=t.child,n=ar(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=ar(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function jw(e,t,n){switch(t.tag){case 3:Qg(t),Mi();break;case 5:wg(t);break;case 1:lt(t.type)&&ms(t);break;case 4:ld(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;he(vs,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(he(Se,Se.current&1),t.flags|=128,null):n&t.child.childLanes?Yg(e,t,n):(he(Se,Se.current&1),e=Rn(e,t,n),e!==null?e.sibling:null);he(Se,Se.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return qg(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),he(Se,Se.current),r)break;return null;case 22:case 23:return t.lanes=0,Hg(e,t,n)}return Rn(e,t,n)}var Gg,Gu,Kg,Xg;Gg=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}};Gu=function(){};Kg=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ir(cn.current);var o=null;switch(n){case"input":i=yu(e,i),r=yu(e,r),o=[];break;case"select":i=Ee({},i,{value:void 0}),r=Ee({},r,{value:void 0}),o=[];break;case"textarea":i=wu(e,i),r=wu(e,r),o=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ps)}ku(n,r);var l;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var s=i[u];for(l in s)s.hasOwnProperty(l)&&(n||(n={}),n[l]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(No.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var a=r[u];if(s=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&a!==s&&(a!=null||s!=null))if(u==="style")if(s){for(l in s)!s.hasOwnProperty(l)||a&&a.hasOwnProperty(l)||(n||(n={}),n[l]="");for(l in a)a.hasOwnProperty(l)&&s[l]!==a[l]&&(n||(n={}),n[l]=a[l])}else n||(o||(o=[]),o.push(u,n)),n=a;else u==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,s=s?s.__html:void 0,a!=null&&s!==a&&(o=o||[]).push(u,a)):u==="children"?typeof a!="string"&&typeof a!="number"||(o=o||[]).push(u,""+a):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(No.hasOwnProperty(u)?(a!=null&&u==="onScroll"&&ye("scroll",e),o||s===a||(o=[])):(o=o||[]).push(u,a))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}};Xg=function(e,t,n,r){n!==r&&(t.flags|=4)};function oo(e,t){if(!we)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 Ue(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Bw(e,t,n){var r=t.pendingProps;switch(Jc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ue(t),null;case 1:return lt(t.type)&&hs(),Ue(t),null;case 3:return r=t.stateNode,Fi(),ve(ot),ve(He),ad(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Cl(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ht!==null&&(rc(Ht),Ht=null))),Gu(e,t),Ue(t),null;case 5:sd(t);var i=Ir(Uo.current);if(n=t.type,e!==null&&t.stateNode!=null)Kg(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(z(166));return Ue(t),null}if(e=Ir(cn.current),Cl(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;
vendor: 29,468 bytes, line 40
40switch(r[ln]=t,r[jo]=o,e=(t.mode&1)!==0,n){case"dialog":ye("cancel",r),ye("close",r);break;case"iframe":case"object":case"embed":ye("load",r);break;case"video":case"audio":for(i=0;i<mo.length;i++)ye(mo[i],r);break;case"source":ye("error",r);break;case"img":case"image":case"link":ye("error",r),ye("load",r);break;case"details":ye("toggle",r);break;case"input":yf(r,o),ye("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},ye("invalid",r);break;case"textarea":xf(r,o),ye("invalid",r)}ku(n,o),i=null;for(var l in o)if(o.hasOwnProperty(l)){var s=o[l];l==="children"?typeof s=="string"?r.textContent!==s&&(o.suppressHydrationWarning!==!0&&bl(r.textContent,s,e),i=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(o.suppressHydrationWarning!==!0&&bl(r.textContent,s,e),i=["children",""+s]):No.hasOwnProperty(l)&&s!=null&&l==="onScroll"&&ye("scroll",r)}switch(n){case"input":gl(r),vf(r,o,!0);break;case"textarea":gl(r),wf(r);break;case"select":case"option":break;default:typeof o.onClick=="function"&&(r.onclick=ps)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{l=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Cm(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=l.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),n==="select"&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[ln]=t,e[jo]=r,Gg(e,t,!1,!1),t.stateNode=e;e:{switch(l=Eu(n,r),n){case"dialog":ye("cancel",e),ye("close",e),i=r;break;case"iframe":case"object":case"embed":ye("load",e),i=r;break;case"video":case"audio":for(i=0;i<mo.length;i++)ye(mo[i],e);i=r;break;case"source":ye("error",e),i=r;break;case"img":case"image":case"link":ye("error",e),ye("load",e),i=r;break;case"details":ye("toggle",e),i=r;break;case"input":yf(e,r),i=yu(e,r),ye("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=Ee({},r,{value:void 0}),ye("invalid",e);break;case"textarea":xf(e,r),i=wu(e,r),ye("invalid",e);break;default:i=r}ku(n,i),s=i;for(o in s)if(s.hasOwnProperty(o)){var a=s[o];o==="style"?Rm(e,a):o==="dangerouslySetInnerHTML"?(a=a?a.__html:void 0,a!=null&&Pm(e,a)):o==="children"?typeof a=="string"?(n!=="textarea"||a!=="")&&Ao(e,a):typeof a=="number"&&Ao(e,""+a):o!=="suppressContentEditableWarning"&&o!=="suppressHydrationWarning"&&o!=="autoFocus"&&(No.hasOwnProperty(o)?a!=null&&o==="onScroll"&&ye("scroll",e):a!=null&&zc(e,o,a,l))}switch(n){case"input":gl(e),vf(e,r,!1);break;case"textarea":gl(e),wf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+cr(r.value));break;case"select":e.multiple=!!r.multiple,o=r.value,o!=null?mi(e,!!r.multiple,o,!1):r.defaultValue!=null&&mi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=ps)}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 Ue(t),null;case 6:if(e&&t.stateNode!=null)Xg(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(z(166));if(n=Ir(Uo.current),Ir(cn.current),Cl(t)){if(r=t.stateNode,n=t.memoizedProps,r[ln]=t,(o=r.nodeValue!==n)&&(e=xt,e!==null))switch(e.tag){case 3:bl(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&bl(r.nodeValue,n,(e.mode&1)!==0)}o&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[ln]=t,t.stateNode=r}return Ue(t),null;case 13:if(ve(Se),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(we&&yt!==null&&t.mode&1&&!(t.flags&128))mg(),Mi(),t.flags|=98560,o=!1;else if(o=Cl(t),r!==null&&r.dehydrated!==null){if(e===null){if(!o)throw Error(z(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(z(317));o[ln]=t}else Mi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Ue(t),o=!1}else Ht!==null&&(rc(Ht),Ht=null),o=!0;if(!o)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||Se.current&1?Oe===0&&(Oe=3):wd())),t.updateQueue!==null&&(t.flags|=4),Ue(t),null);case 4:return Fi(),Gu(e,t),e===null&&Fo(t.stateNode.containerInfo),Ue(t),null;case 10:return rd(t.type._context),Ue(t),null;case 17:return lt(t.type)&&hs(),Ue(t),null;case 19:if(ve(Se),o=t.memoizedState,o===null)return Ue(t),null;if(r=(t.flags&128)!==0,l=o.rendering,l===null)if(r)oo(o,!1);else{if(Oe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(l=Ss(e),l!==null){for(t.flags|=128,oo(o,!1),r=l.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)o=n,e=r,o.flags&=14680066,l=o.alternate,l===null?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return he(Se,Se.current&1|2),t.child}e=e.sibling}o.tail!==null&&Pe()>ji&&(t.flags|=128,r=!0,oo(o,!1),t.lanes=4194304)}else{if(!r)if(e=Ss(l),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),oo(o,!0),o.tail===null&&o.tailMode==="hidden"&&!l.alternate&&!we)return Ue(t),null}else 2*Pe()-o.renderingStartTime>ji&&n!==1073741824&&(t.flags|=128,r=!0,oo(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(n=o.last,n!==null?n.sibling=l:t.child=l,o.last=l)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Pe(),t.sibling=null,n=Se.current,he(Se,r?n&1|2:n&1),t):(Ue(t),null);case 22:case 23:return xd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?mt&1073741824&&(Ue(t),t.subtreeFlags&6&&(t.flags|=8192)):Ue(t),null;case 24:return null;case 25:return null}throw Error(z(156,t.tag))}function Uw(e,t){switch(Jc(t),t.tag){case 1:return lt(t.type)&&hs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Fi(),ve(ot),ve(He),ad(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return sd(t),null;case 13:if(ve(Se),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(z(340));Mi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ve(Se),null;case 4:return Fi(),null;case 10:return rd(t.type._context),null;case 22:case 23:return xd(),null;case 24:return null;default:return null}}var Rl=!1,Ve=!1,$w=typeof WeakSet=="function"?WeakSet:Set,V=null;function pi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Ce(e,t,r)}else n.current=null}function Ku(e,t,n){try{n()}catch(r){Ce(e,t,r)}}var up=!1;function Vw(e,t){if(Ou=cs,e=ng(),Xc(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 i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch{n=null;break e}var l=0,s=-1,a=-1,u=0,c=0,f=e,p=null;t:for(;;){for(var d;f!==n||i!==0&&f.nodeType!==3||(s=l+i),f!==o||r!==0&&f.nodeType!==3||(a=l+r),f.nodeType===3&&(l+=f.nodeValue.length),(d=f.firstChild)!==null;)p=f,f=d;for(;;){if(f===e)break t;if(p===n&&++u===i&&(s=l),p===o&&++c===r&&(a=l),(d=f.nextSibling)!==null)break;f=p,p=f.parentNode}f=d}n=s===-1||a===-1?null:{start:s,end:a}}else n=null}n=n||{start:0,end:0}}else n=null;for(_u={focusedElem:e,selectionRange:n},cs=!1,V=t;V!==null;)if(t=V,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,V=e;else for(;V!==null;){t=V;try{var v=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(v!==null){var m=v.memoizedProps,x=v.memoizedState,h=t.stateNode,g=h.getSnapshotBeforeUpdate(t.elementType===t.type?m:jt(t.type,m),x);h.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(z(163))}}catch(b){Ce(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,V=e;break}V=t.return}return v=up,up=!1,v}function ko(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var o=i.destroy;i.destroy=void 0,o!==void 0&&Ku(t,n,o)}i=i.next}while(i!==r)}}function qs(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 Xu(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 Zg(e){var t=e.alternate;t!==null&&(e.alternate=null,Zg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[ln],delete t[jo],delete t[Fu],delete t[Cw],delete t[Pw])),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 Jg(e){return e.tag===5||e.tag===3||e.tag===4}function cp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Jg(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 Zu(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=ps));else if(r!==4&&(e=e.child,e!==null))for(Zu(e,t,n),e=e.sibling;e!==null;)Zu(e,t,n),e=e.sibling}function Ju(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(Ju(e,t,n),e=e.sibling;e!==null;)Ju(e,t,n),e=e.sibling}var De=null,Vt=!1;function zn(e,t,n){for(n=n.child;n!==null;)ey(e,t,n),n=n.sibling}function ey(e,t,n){if(un&&typeof un.onCommitFiberUnmount=="function")try{un.onCommitFiberUnmount(Bs,n)}catch{}switch(n.tag){case 5:Ve||pi(n,t);case 6:var r=De,i=Vt;De=null,zn(e,t,n),De=r,Vt=i,De!==null&&(Vt?(e=De,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):De.removeChild(n.stateNode));break;case 18:De!==null&&(Vt?(e=De,n=n.stateNode,e.nodeType===8?Da(e.parentNode,n):e.nodeType===1&&Da(e,n),_o(e)):Da(De,n.stateNode));break;case 4:r=De,i=Vt,De=n.stateNode.containerInfo,Vt=!0,zn(e,t,n),De=r,Vt=i;break;case 0:case 11:case 14:case 15:if(!Ve&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var o=i,l=o.destroy;o=o.tag,l!==void 0&&(o&2||o&4)&&Ku(n,t,l),i=i.next}while(i!==r)}zn(e,t,n);break;case 1:if(!Ve&&(pi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Ce(n,t,s)}zn(e,t,n);break;case 21:zn(e,t,n);break;case 22:n.mode&1?(Ve=(r=Ve)||n.memoizedState!==null,zn(e,t,n),Ve=r):zn(e,t,n);break;default:zn(e,t,n)}}function dp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new $w),t.forEach(function(r){var i=Zw.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Ft(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,l=t,s=l;e:for(;s!==null;){switch(s.tag){case 5:De=s.stateNode,Vt=!1;break e;case 3:De=s.stateNode.containerInfo,Vt=!0;break e;case 4:De=s.stateNode.containerInfo,Vt=!0;break e}s=s.return}if(De===null)throw Error(z(160));ey(o,l,i),De=null,Vt=!1;var a=i.alternate;a!==null&&(a.return=null),i.return=null}catch(u){Ce(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)ty(t,e),t=t.sibling}function ty(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ft(t,e),Jt(e),r&4){try{ko(3,e,e.return),qs(3,e)}catch(m){Ce(e,e.return,m)}try{ko(5,e,e.return)}catch(m){Ce(e,e.return,m)}}break;case 1:Ft(t,e),Jt(e),r&512&&n!==null&&pi(n,n.return);break;case 5:if(Ft(t,e),Jt(e),r&512&&n!==null&&pi(n,n.return),e.flags&32){var i=e.stateNode;try{Ao(i,"")}catch(m){Ce(e,e.return,m)}}if(r&4&&(i=e.stateNode,i!=null)){var o=e.memoizedProps,l=n!==null?n.memoizedProps:o,s=e.type,a=e.updateQueue;if(e.updateQueue=null,a!==null)try{s==="input"&&o.type==="radio"&&o.name!=null&&Em(i,o),Eu(s,l);var u=Eu(s,o);for(l=0;l<a.length;l+=2){var c=a[l],f=a[l+1];c==="style"?Rm(i,f):c==="dangerouslySetInnerHTML"?Pm(i,f):c==="children"?Ao(i,f):zc(i,c,f,u)}switch(s){case"input":vu(i,o);break;case"textarea":bm(i,o);break;case"select":var p=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var d=o.value;d!=null?mi(i,!!o.multiple,d,!1):p!==!!o.multiple&&(o.defaultValue!=null?mi(i,!!o.multiple,o.defaultValue,!0):mi(i,!!o.multiple,o.multiple?[]:"",!1))}i[jo]=o}catch(m){Ce(e,e.return,m)}}break;case 6:if(Ft(t,e),Jt(e),r&4){if(e.stateNode===null)throw Error(z(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(m){Ce(e,e.return,m)}}break;case 3:if(Ft(t,e),Jt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{_o(t.containerInfo)}catch(m){Ce(e,e.return,m)}break;case 4:Ft(t,e),Jt(e);break;case 13:Ft(t,e),Jt(e),i=e.child,i.flags&8192&&(o=i.memoizedState!==null,i.stateNode.isHidden=o,!o||i.alternate!==null&&i.alternate.memoizedState!==null||(yd=Pe())),r&4&&dp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Ve=(u=Ve)||c,Ft(t,e),Ve=u):Ft(t,e),Jt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(V=e,c=e.child;c!==null;){for(f=V=c;V!==null;){switch(p=V,d=p.child,p.tag){case 0:case 11:case 14:case 15:ko(4,p,p.return);break;case 1:pi(p,p.return);var v=p.stateNode;if(typeof v.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(m){Ce(r,n,m)}}break;case 5:pi(p,p.return);break;case 22:if(p.memoizedState!==null){pp(f);continue}}d!==null?(d.return=p,V=d):pp(f)}c=c.sibling}e:for(c=null,f=e;;){if(f.tag===5){if(c===null){c=f;try{i=f.stateNode,u?(o=i.style,typeof o.setProperty=="function"?o.setProperty("display","none","important"):o.display="none"):(s=f.stateNode,a=f.memoizedProps.style,l=a!=null&&a.hasOwnProperty("display")?a.display:null,s.style.display=Tm("display",l))}catch(m){Ce(e,e.return,m)}}}else if(f.tag===6){if(c===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(m){Ce(e,e.return,m)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;c===f&&(c=null),f=f.return}c===f&&(c=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:Ft(t,e),Jt(e),r&4&&dp(e);break;case 21:break;default:Ft(t,e),Jt(e)}}function Jt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Jg(n)){var r=n;break e}n=n.return}throw Error(z(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(Ao(i,""),r.flags&=-33);var o=cp(e);Ju(e,o,i);break;case 3:case 4:var l=r.stateNode.containerInfo,s=cp(e);Zu(e,s,l);break;default:throw Error(z(161))}}catch(a){Ce(e,e.return,a)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Hw(e,t,n){V=e,ny(e)}function ny(e,t,n){for(var r=(e.mode&1)!==0;V!==null;){var i=V,o=i.child;if(i.tag===22&&r){var l=i.memoizedState!==null||Rl;if(!l){var s=i.alternate,a=s!==null&&s.memoizedState!==null||Ve;s=Rl;var u=Ve;if(Rl=l,(Ve=a)&&!u)for(V=i;V!==null;)l=V,a=l.child,l.tag===22&&l.memoizedState!==null?hp(i):a!==null?(a.return=l,V=a):hp(i);for(;o!==null;)V=o,ny(o),o=o.sibling;V=i,Rl=s,Ve=u}fp(e)}else i.subtreeFlags&8772&&o!==null?(o.return=i,V=o):fp(e)}}function fp(e){for(;V!==null;){var t=V;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ve||qs(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ve)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:jt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;o!==null&&Kf(t,o,r);break;case 3:var l=t.updateQueue;if(l!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Kf(t,l,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var a=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break;case"img":a.src&&(n.src=a.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var f=c.dehydrated;f!==null&&_o(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(z(163))}Ve||t.flags&512&&Xu(t)}catch(p){Ce(t,t.return,p)}}if(t===e){V=null;break}if(n=t.sibling,n!==null){n.return=t.return,V=n;break}V=t.return}}function pp(e){for(;V!==null;){var t=V;if(t===e){V=null;break}var n=t.sibling;if(n!==null){n.return=t.return,V=n;break}V=t.return}}function hp(e){for(;V!==null;){var t=V;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{qs(4,t)}catch(a){Ce(t,n,a)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(a){Ce(t,i,a)}}var o=t.return;try{Xu(t)}catch(a){Ce(t,o,a)}break;case 5:var l=t.return;try{Xu(t)}catch(a){Ce(t,l,a)}}}catch(a){Ce(t,t.return,a)}if(t===e){V=null;break}var s=t.sibling;if(s!==null){s.return=t.return,V=s;break}V=t.return}}var Ww=Math.ceil,bs=In.ReactCurrentDispatcher,md=In.ReactCurrentOwner,At=In.ReactCurrentBatchConfig,le=0,Me=null,Ne=null,Fe=0,mt=0,hi=yr(0),Oe=0,Wo=null,Vr=0,Gs=0,gd=0,Eo=null,rt=null,yd=0,ji=1/0,xn=null,Cs=!1,ec=null,lr=null,Nl=!1,Jn=null,Ps=0,bo=0,tc=null,Kl=-1,Xl=0;function Xe(){return le&6?Pe():Kl!==-1?Kl:Kl=Pe()}function sr(e){return e.mode&1?le&2&&Fe!==0?Fe&-Fe:Rw.transition!==null?(Xl===0&&(Xl=Bm()),Xl):(e=ce,e!==0||(e=window.event,e=e===void 0?16:Ym(e.type)),e):1}function Qt(e,t,n,r){if(50<bo)throw bo=0,tc=null,Error(z(185));nl(e,n,r),(!(le&2)||e!==Me)&&(e===Me&&(!(le&2)&&(Gs|=n),Oe===4&&Qn(e,Fe)),st(e,r),n===1&&le===0&&!(t.mode&1)&&(ji=Pe()+500,Ws&&vr()))}function st(e,t){var n=e.callbackNode;Rx(e,t);var r=us(e,e===Me?Fe:0);if(r===0)n!==null&&Ef(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ef(n),t===1)e.tag===0?Tw(mp.bind(null,e)):fg(mp.bind(null,e)),Ew(function(){!(le&6)&&vr()}),n=null;else{switch(Um(r)){case 1:n=Vc;break;case 4:n=zm;break;case 16:n=as;break;case 536870912:n=jm;break;default:n=as}n=cy(n,ry.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ry(e,t){if(Kl=-1,Xl=0,le&6)throw Error(z(327));var n=e.callbackNode;if(wi()&&e.callbackNode!==n)return null;var r=us(e,e===Me?Fe:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ts(e,r);else{t=r;var i=le;le|=2;var o=oy();(Me!==e||Fe!==t)&&(xn=null,ji=Pe()+500,zr(e,t));do try{qw();break}catch(s){iy(e,s)}while(!0);nd(),bs.current=o,le=i,Ne!==null?t=0:(Me=null,Fe=0,t=Oe)}if(t!==0){if(t===2&&(i=Ru(e),i!==0&&(r=i,t=nc(e,i))),t===1)throw n=Wo,zr(e,0),Qn(e,r),st(e,Pe()),n;if(t===6)Qn(e,r);else{if(i=e.current.alternate,!(r&30)&&!Qw(i)&&(t=Ts(e,r),t===2&&(o=Ru(e),o!==0&&(r=o,t=nc(e,o))),t===1))throw n=Wo,zr(e,0),Qn(e,r),st(e,Pe()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(z(345));case 2:Pr(e,rt,xn);break;case 3:if(Qn(e,r),(r&130023424)===r&&(t=yd+500-Pe(),10<t)){if(us(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){Xe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Du(Pr.bind(null,e,rt,xn),t);break}Pr(e,rt,xn);break;case 4:if(Qn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var l=31-Wt(r);o=1<<l,l=t[l],l>i&&(i=l),r&=~o}if(r=i,r=Pe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ww(r/1960))-r,10<r){e.timeoutHandle=Du(Pr.bind(null,e,rt,xn),r);break}Pr(e,rt,xn);break;case 5:Pr(e,rt,xn);break;default:throw Error(z(329))}}}return st(e,Pe()),e.callbackNode===n?ry.bind(null,e):null}function nc(e,t){var n=Eo;return e.current.memoizedState.isDehydrated&&(zr(e,t).flags|=256),e=Ts(e,t),e!==2&&(t=rt,rt=n,t!==null&&rc(t)),e}function rc(e){rt===null?rt=e:rt.push.apply(rt,e)}function Qw(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 i=n[r],o=i.getSnapshot;i=i.value;try{if(!Yt(o(),i))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 Qn(e,t){for(t&=~gd,t&=~Gs,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Wt(t),r=1<<n;e[n]=-1,t&=~r}}function mp(e){if(le&6)throw Error(z(327));wi();var t=us(e,0);if(!(t&1))return st(e,Pe()),null;var n=Ts(e,t);if(e.tag!==0&&n===2){var r=Ru(e);r!==0&&(t=r,n=nc(e,r))}if(n===1)throw n=Wo,zr(e,0),Qn(e,t),st(e,Pe()),n;if(n===6)throw Error(z(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Pr(e,rt,xn),st(e,Pe()),null}function vd(e,t){var n=le;le|=1;try{return e(t)}finally{le=n,le===0&&(ji=Pe()+500,Ws&&vr())}}function Hr(e){Jn!==null&&Jn.tag===0&&!(le&6)&&wi();var t=le;le|=1;var n=At.transition,r=ce;try{if(At.transition=null,ce=1,e)return e()}finally{ce=r,At.transition=n,le=t,!(le&6)&&vr()}}function xd(){mt=hi.current,ve(hi)}function zr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,kw(n)),Ne!==null)for(n=Ne.return;n!==null;){var r=n;switch(Jc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&hs();break;case 3:Fi(),ve(ot),ve(He),ad();break;case 5:sd(r);break;case 4:Fi();break;case 13:ve(Se);break;case 19:ve(Se);break;case 10:rd(r.type._context);break;case 22:case 23:xd()}n=n.return}if(Me=e,Ne=e=ar(e.current,null),Fe=mt=t,Oe=0,Wo=null,gd=Gs=Vr=0,rt=Eo=null,Ar!==null){for(t=0;t<Ar.length;t++)if(n=Ar[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,o=n.pending;if(o!==null){var l=o.next;o.next=i,r.next=l}n.pending=r}Ar=null}return e}function iy(e,t){do{var n=Ne;try{if(nd(),Yl.current=Es,ks){for(var r=ke.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}ks=!1}if($r=0,_e=Ie=ke=null,So=!1,$o=0,md.current=null,n===null||n.return===null){Oe=1,Wo=t,Ne=null;break}e:{var o=e,l=n.return,s=n,a=t;if(t=Fe,s.flags|=32768,a!==null&&typeof a=="object"&&typeof a.then=="function"){var u=a,c=s,f=c.tag;if(!(c.mode&1)&&(f===0||f===11||f===15)){var p=c.alternate;p?(c.updateQueue=p.updateQueue,c.memoizedState=p.memoizedState,c.lanes=p.lanes):(c.updateQueue=null,c.memoizedState=null)}var d=np(l);if(d!==null){d.flags&=-257,rp(d,l,s,o,t),d.mode&1&&tp(o,u,t),t=d,a=u;var v=t.updateQueue;if(v===null){var m=new Set;m.add(a),t.updateQueue=m}else v.add(a);break e}else{if(!(t&1)){tp(o,u,t),wd();break e}a=Error(z(426))}}else if(we&&s.mode&1){var x=np(l);if(x!==null){!(x.flags&65536)&&(x.flags|=256),rp(x,l,s,o,t),ed(zi(a,s));break e}}o=a=zi(a,s),Oe!==4&&(Oe=2),Eo===null?Eo=[o]:Eo.push(o),o=l;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t;var h=Ug(o,a,t);Gf(o,h);break e;case 1:s=a;var g=o.type,y=o.stateNode;if(!(o.flags&128)&&(typeof g.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(lr===null||!lr.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t;var b=$g(o,s,t);Gf(o,b);break e}}o=o.return}while(o!==null)}sy(n)}catch(P){t=P,Ne===n&&n!==null&&(Ne=n=n.return);continue}break}while(!0)}function oy(){var e=bs.current;return bs.current=Es,e===null?Es:e}function wd(){(Oe===0||Oe===3||Oe===2)&&(Oe=4),Me===null||!(Vr&268435455)&&!(Gs&268435455)||Qn(Me,Fe)}function Ts(e,t){var n=le;le|=2;var r=oy();(Me!==e||Fe!==t)&&(xn=null,zr(e,t));do try{Yw();break}catch(i){iy(e,i)}while(!0);if(nd(),le=n,bs.current=r,Ne!==null)throw Error(z(261));return Me=null,Fe=0,Oe}function Yw(){for(;Ne!==null;)ly(Ne)}function qw(){for(;Ne!==null&&!xx();)ly(Ne)}function ly(e){var t=uy(e.alternate,e,mt);e.memoizedProps=e.pendingProps,t===null?sy(e):Ne=t,md.current=null}function sy(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Uw(n,t),n!==null){n.flags&=32767,Ne=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Oe=6,Ne=null;return}}else if(n=Bw(n,t,mt),n!==null){Ne=n;return}if(t=t.sibling,t!==null){Ne=t;return}Ne=t=e}while(t!==null);Oe===0&&(Oe=5)}function Pr(e,t,n){var r=ce,i=At.transition;try{At.transition=null,ce=1,Gw(e,t,n,r)}finally{At.transition=i,ce=r}return null}function Gw(e,t,n,r){do wi();while(Jn!==null);if(le&6)throw Error(z(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(z(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(Nx(e,o),e===Me&&(Ne=Me=null,Fe=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Nl||(Nl=!0,cy(as,function(){return wi(),null})),o=(n.flags&15990)!==0,n.subtreeFlags&15990||o){o=At.transition,At.transition=null;var l=ce;ce=1;var s=le;le|=4,md.current=null,Vw(e,n),ty(n,e),mw(_u),cs=!!Ou,_u=Ou=null,e.current=n,Hw(n),wx(),le=s,ce=l,At.transition=o}else e.current=n;if(Nl&&(Nl=!1,Jn=e,Ps=i),o=e.pendingLanes,o===0&&(lr=null),Ex(n.stateNode),st(e,Pe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Cs)throw Cs=!1,e=ec,ec=null,e;return Ps&1&&e.tag!==0&&wi(),o=e.pendingLanes,o&1?e===tc?bo++:(bo=0,tc=e):bo=0,vr(),null}function wi(){if(Jn!==null){var e=Um(Ps),t=At.transition,n=ce;try{if(At.transition=null,ce=16>e?16:e,Jn===null)var r=!1;else{if(e=Jn,Jn=null,Ps=0,le&6)throw Error(z(331));var i=le;for(le|=4,V=e.current;V!==null;){var o=V,l=o.child;if(V.flags&16){var s=o.deletions;if(s!==null){for(var a=0;a<s.length;a++){var u=s[a];for(V=u;V!==null;){var c=V;switch(c.tag){case 0:case 11:case 15:ko(8,c,o)}var f=c.child;if(f!==null)f.return=c,V=f;else for(;V!==null;){c=V;var p=c.sibling,d=c.return;if(Zg(c),c===u){V=null;break}if(p!==null){p.return=d,V=p;break}V=d}}}var v=o.alternate;if(v!==null){var m=v.child;if(m!==null){v.child=null;do{var x=m.sibling;m.sibling=null,m=x}while(m!==null)}}V=o}}if(o.subtreeFlags&2064&&l!==null)l.return=o,V=l;else e:for(;V!==null;){if(o=V,o.flags&2048)switch(o.tag){case 0:case 11:case 15:ko(9,o,o.return)}var h=o.sibling;if(h!==null){h.return=o.return,V=h;break e}V=o.return}}var g=e.current;for(V=g;V!==null;){l=V;var y=l.child;if(l.subtreeFlags&2064&&y!==null)y.return=l,V=y;else e:for(l=g;V!==null;){if(s=V,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:qs(9,s)}}catch(P){Ce(s,s.return,P)}if(s===l){V=null;break e}var b=s.sibling;if(b!==null){b.return=s.return,V=b;break e}V=s.return}}if(le=i,vr(),un&&typeof un.onPostCommitFiberRoot=="function")try{un.onPostCommitFiberRoot(Bs,e)}catch{}r=!0}return r}finally{ce=n,At.transition=t}}return!1}function gp(e,t,n){t=zi(n,t),t=Ug(e,t,1),e=or(e,t,1),t=Xe(),e!==null&&(nl(e,1,t),st(e,t))}function Ce(e,t,n){if(e.tag===3)gp(e,e,n);else for(;t!==null;){if(t.tag===3){gp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(lr===null||!lr.has(r))){e=zi(n,e),e=$g(t,e,1),t=or(t,e,1),e=Xe(),t!==null&&(nl(t,1,e),st(t,e));break}}t=t.return}}function Kw(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=Xe(),e.pingedLanes|=e.suspendedLanes&n,Me===e&&(Fe&n)===n&&(Oe===4||Oe===3&&(Fe&130023424)===Fe&&500>Pe()-yd?zr(e,0):gd|=n),st(e,t)}function ay(e,t){t===0&&(e.mode&1?(t=xl,xl<<=1,!(xl&130023424)&&(xl=4194304)):t=1);var n=Xe();e=Tn(e,t),e!==null&&(nl(e,t,n),st(e,n))}function Xw(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),ay(e,n)}function Zw(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(z(314))}r!==null&&r.delete(t),ay(e,n)}var uy;uy=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ot.current)it=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return it=!1,jw(e,t,n);it=!!(e.flags&131072)}else it=!1,we&&t.flags&1048576&&pg(t,ys,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Gl(e,t),e=t.pendingProps;var i=_i(t,He.current);xi(t,n),i=cd(null,t,r,e,i,n);var o=dd();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,lt(r)?(o=!0,ms(t)):o=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,od(t),i.updater=Ys,t.stateNode=i,i._reactInternals=t,Vu(t,r,e,n),t=Qu(null,t,r,!0,o,n)):(t.tag=0,we&&o&&Zc(t),Ge(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Gl(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=e1(r),e=jt(r,e),i){case 0:t=Wu(null,t,r,e,n);break e;case 1:t=lp(null,t,r,e,n);break e;case 11:t=ip(null,t,r,e,n);break e;case 14:t=op(null,t,r,jt(r.type,e),n);break e}throw Error(z(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:jt(r,i),Wu(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:jt(r,i),lp(e,t,r,i,n);case 3:e:{if(Qg(t),e===null)throw Error(z(387));
vendor: 4,674 bytes, line 40
40r=t.pendingProps,o=t.memoizedState,i=o.element,xg(e,t),ws(t,r,null,n);var l=t.memoizedState;if(r=l.element,o.isDehydrated)if(o={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){i=zi(Error(z(423)),t),t=sp(e,t,r,n,i);break e}else if(r!==i){i=zi(Error(z(424)),t),t=sp(e,t,r,n,i);break e}else for(yt=ir(t.stateNode.containerInfo.firstChild),xt=t,we=!0,Ht=null,n=yg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Mi(),r===i){t=Rn(e,t,n);break e}Ge(e,t,r,n)}t=t.child}return t;case 5:return wg(t),e===null&&Bu(t),r=t.type,i=t.pendingProps,o=e!==null?e.memoizedProps:null,l=i.children,Mu(r,i)?l=null:o!==null&&Mu(r,o)&&(t.flags|=32),Wg(e,t),Ge(e,t,l,n),t.child;case 6:return e===null&&Bu(t),null;case 13:return Yg(e,t,n);case 4:return ld(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Di(t,null,r,n):Ge(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:jt(r,i),ip(e,t,r,i,n);case 7:return Ge(e,t,t.pendingProps,n),t.child;case 8:return Ge(e,t,t.pendingProps.children,n),t.child;case 12:return Ge(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,l=i.value,he(vs,r._currentValue),r._currentValue=l,o!==null)if(Yt(o.value,l)){if(o.children===i.children&&!ot.current){t=Rn(e,t,n);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var s=o.dependencies;if(s!==null){l=o.child;for(var a=s.firstContext;a!==null;){if(a.context===r){if(o.tag===1){a=bn(-1,n&-n),a.tag=2;var u=o.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?a.next=a:(a.next=c.next,c.next=a),u.pending=a}}o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Uu(o.return,n,t),s.lanes|=n;break}a=a.next}}else if(o.tag===10)l=o.type===t.type?null:o.child;else if(o.tag===18){if(l=o.return,l===null)throw Error(z(341));l.lanes|=n,s=l.alternate,s!==null&&(s.lanes|=n),Uu(l,n,t),l=o.sibling}else l=o.child;if(l!==null)l.return=o;else for(l=o;l!==null;){if(l===t){l=null;break}if(o=l.sibling,o!==null){o.return=l.return,l=o;break}l=l.return}o=l}Ge(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,xi(t,n),i=It(i),r=r(i),t.flags|=1,Ge(e,t,r,n),t.child;case 14:return r=t.type,i=jt(r,t.pendingProps),i=jt(r.type,i),op(e,t,r,i,n);case 15:return Vg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:jt(r,i),Gl(e,t),t.tag=1,lt(r)?(e=!0,ms(t)):e=!1,xi(t,n),Bg(t,r,i),Vu(t,r,i,n),Qu(null,t,r,!0,e,n);case 19:return qg(e,t,n);case 22:return Hg(e,t,n)}throw Error(z(156,t.tag))};function cy(e,t){return Fm(e,t)}function Jw(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 Nt(e,t,n,r){return new Jw(e,t,n,r)}function Sd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function e1(e){if(typeof e=="function")return Sd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Bc)return 11;if(e===Uc)return 14}return 2}function ar(e,t){var n=e.alternate;return n===null?(n=Nt(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 Zl(e,t,n,r,i,o){var l=2;if(r=e,typeof e=="function")Sd(e)&&(l=1);else if(typeof e=="string")l=5;else e:switch(e){case ii:return jr(n.children,i,o,t);case jc:l=8,i|=8;break;case pu:return e=Nt(12,n,t,i|2),e.elementType=pu,e.lanes=o,e;case hu:return e=Nt(13,n,t,i),e.elementType=hu,e.lanes=o,e;case mu:return e=Nt(19,n,t,i),e.elementType=mu,e.lanes=o,e;case wm:return Ks(n,i,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case vm:l=10;break e;case xm:l=9;break e;case Bc:l=11;break e;case Uc:l=14;break e;case Vn:l=16,r=null;break e}throw Error(z(130,e==null?e:typeof e,""))}return t=Nt(l,n,t,i),t.elementType=e,t.type=r,t.lanes=o,t}function jr(e,t,n,r){return e=Nt(7,e,r,t),e.lanes=n,e}function Ks(e,t,n,r){return e=Nt(22,e,r,t),e.elementType=wm,e.lanes=n,e.stateNode={isHidden:!1},e}
vendor: 4,686 bytes, line 40
40function Ha(e,t,n){return e=Nt(6,e,null,t),e.lanes=n,e}function Wa(e,t,n){return t=Nt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function t1(e,t,n,r,i){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=Ca(0),this.expirationTimes=Ca(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ca(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function kd(e,t,n,r,i,o,l,s,a){return e=new t1(e,t,n,s,a),t===1?(t=1,o===!0&&(t|=8)):t=0,o=Nt(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},od(o),e}function n1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ri,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function dy(e){if(!e)return dr;e=e._reactInternals;e:{if(Yr(e)!==e||e.tag!==1)throw Error(z(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(lt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(z(171))}if(e.tag===1){var n=e.type;if(lt(n))return dg(e,n,t)}return t}function fy(e,t,n,r,i,o,l,s,a){return e=kd(n,r,!0,e,i,o,l,s,a),e.context=dy(null),n=e.current,r=Xe(),i=sr(n),o=bn(r,i),o.callback=t??null,or(n,o,i),e.current.lanes=i,nl(e,i,r),st(e,r),e}function Xs(e,t,n,r){var i=t.current,o=Xe(),l=sr(i);return n=dy(n),t.context===null?t.context=n:t.pendingContext=n,t=bn(o,l),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=or(i,t,l),e!==null&&(Qt(e,i,l,o),Ql(e,i,l)),l}function Rs(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 yp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ed(e,t){yp(e,t),(e=e.alternate)&&yp(e,t)}function r1(){return null}var py=typeof reportError=="function"?reportError:function(e){console.error(e)};function bd(e){this._internalRoot=e}Zs.prototype.render=bd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(z(409));Xs(e,t,null,null)};Zs.prototype.unmount=bd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Hr(function(){Xs(null,e,null,null)}),t[Pn]=null}};function Zs(e){this._internalRoot=e}Zs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Hm();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Wn.length&&t!==0&&t<Wn[n].priority;n++);Wn.splice(n,0,e),n===0&&Qm(e)}};function Cd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Js(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function vp(){}function i1(e,t,n,r,i){if(i){if(typeof r=="function"){var o=r;r=function(){var u=Rs(l);o.call(u)}}var l=fy(t,r,e,0,null,!1,!1,"",vp);return e._reactRootContainer=l,e[Pn]=l.current,Fo(e.nodeType===8?e.parentNode:e),Hr(),l}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var s=r;r=function(){var u=Rs(a);s.call(u)}}var a=kd(e,0,!1,null,null,!1,!1,"",vp);return e._reactRootContainer=a,e[Pn]=a.current,Fo(e.nodeType===8?e.parentNode:e),Hr(function(){Xs(t,a,n,r)}),a}function ea(e,t,n,r,i){var o=n._reactRootContainer;if(o){var l=o;if(typeof i=="function"){var s=i;i=function(){var a=Rs(l);s.call(a)}}Xs(t,l,e,i)}else l=i1(n,t,e,i,r);return Rs(l)}$m=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ho(t.pendingLanes);n!==0&&(Hc(t,n|1),st(t,Pe()),!(le&6)&&(ji=Pe()+500,vr()))}break;case 13:Hr(function(){var r=Tn(e,1);if(r!==null){var i=Xe();Qt(r,e,1,i)}}),Ed(e,1)}};Wc=function(e){if(e.tag===13){var t=Tn(e,134217728);if(t!==null){var n=Xe();Qt(t,e,134217728,n)}Ed(e,134217728)}};Vm=function(e){if(e.tag===13){var t=sr(e),n=Tn(e,t);if(n!==null){var r=Xe();Qt(n,e,t,r)}Ed(e,t)}};Hm=function(){return ce};Wm=function(e,t){var n=ce;try{return ce=e,t()}finally{ce=n}};Cu=function(e,t,n){switch(t){case"input":if(vu(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 i=Hs(r);
40if(!i)throw Error(z(90));km(r),vu(r,i)}}}break;case"textarea":bm(e,n);break;case"select":t=n.value,t!=null&&mi(e,!!n.multiple,t,!1)}};Im=vd;Lm=Hr;var o1={usingClientEntryPoint:!1,Events:[il,ai,Hs,Nm,Am,vd]},lo={findFiberByHostInstance:Nr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},l1={bundleType:lo.bundleType,version:lo.version,rendererPackageName:lo.rendererPackageName,rendererConfig:lo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:In.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Mm(e),e===null?null:e.stateNode},findFiberByHostInstance:lo.findFiberByHostInstance||r1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Al=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Al.isDisabled&&Al.supportsFiber)try{Bs=Al.inject(l1),un=Al}catch{}}kt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=o1;kt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Cd(t))throw Error(z(200));return n1(e,t,null,n)};kt.createRoot=function(e,t){if(!Cd(e))throw Error(z(299));var n=!1,r="",i=py;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=kd(e,1,!1,null,null,n,!1,r,i),e[Pn]=t.current,Fo(e.nodeType===8?e.parentNode:e),new bd(t)};kt.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(z(188)):(e=Object.keys(e).join(","),Error(z(268,e)));return e=Mm(t),e=e===null?null:e.stateNode,e};kt.flushSync=function(e){return Hr(e)};kt.hydrate=function(e,t,n){if(!Js(t))throw Error(z(200));return ea(null,e,t,!0,n)};kt.hydrateRoot=function(e,t,n){if(!Cd(e))throw Error(z(405));var r=n!=null&&n.hydratedSources||null,i=!1,o="",l=py;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(o=n.identifierPrefix),n.onRecoverableError!==void 0&&(l=n.onRecoverableError)),t=fy(t,null,e,1,n??null,i,!1,o,l),e[Pn]=t.current,Fo(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Zs(t)};kt.render=function(e,t,n){if(!Js(t))throw Error(z(200));return ea(null,e,t,!1,n)};kt.unmountComponentAtNode=function(e){if(!Js(e))throw Error(z(40));return e._reactRootContainer?(Hr(function(){ea(null,null,e,!1,function(){e._reactRootContainer=null,e[Pn]=null})}),!0):!1};kt.unstable_batchedUpdates=vd;kt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Js(n))throw Error(z(200));if(e==null||e._reactInternals===void 0)throw Error(z(38));return ea(e,t,n,!1,r)};kt.version="18.3.1-next-f1338f8080-20240426";function hy(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(hy)}catch(e){console.error(e)}}hy(),hm.exports=kt;var ll=hm.exports;const my=zs(ll);var gy,xp=ll;gy=xp.createRoot,xp.hydrateRoot;var ta=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(){}},na=typeof window>"u"||"Deno"in globalThis;function Bt(){}function s1(e,t){return typeof e=="function"?e(t):e}function a1(e){return typeof e=="number"&&e>=0&&e!==1/0}function u1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ic(e,t){return typeof e=="function"?e(t):e}function c1(e,t){return typeof e=="function"?e(t):e}function wp(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:o,queryKey:l,stale:s}=e;if(l){if(r){if(t.queryHash!==Pd(l,t.options))return!1}else if(!Yo(t.queryKey,l))return!1}if(n!=="all"){const a=t.isActive();if(n==="active"&&!a||n==="inactive"&&a)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||i&&i!==t.state.fetchStatus||o&&!o(t))}function Sp(e,t){const{exact:n,status:r,predicate:i,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(n){if(Qo(t.options.mutationKey)!==Qo(o))return!1}else if(!Yo(t.options.mutationKey,o))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Pd(e,t){return((t==null?void 0:t.queryKeyHashFn)||Qo)(e)}function Qo(e){return JSON.stringify(e,(t,n)=>oc(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function Yo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Yo(e[n],t[n])):!1}function yy(e,t){if(e===t)return e;const n=kp(e)&&kp(t);if(n||oc(e)&&oc(t)){const r=n?e:Object.keys(e),i=r.length,o=n?t:Object.keys(t),l=o.length,s=n?[]:{},a=new Set(r);let u=0;for(let c=0;c<l;c++){const f=n?c:o[c];(!n&&a.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(s[f]=void 0,u++):(s[f]=yy(e[f],t[f]),s[f]===e[f]&&e[f]!==void 0&&u++)}return i===l&&u===i?e:s}return t}function kp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function oc(e){if(!Ep(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ep(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ep(e){return Object.prototype.toString.call(e)==="[object Object]"}function d1(e){return new Promise(t=>{setTimeout(t,e)})}
vendor: 4,652 bytes, line 40
40function f1(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?yy(e,t):t}function p1(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function h1(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Td=Symbol();function vy(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Td?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Lr,Yn,Ci,qh,m1=(qh=class extends ta{constructor(){super();ae(this,Lr);ae(this,Yn);ae(this,Ci);J(this,Ci,t=>{if(!na&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,Yn)||this.setEventListener(_(this,Ci))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,Yn))==null||t.call(this),J(this,Yn,void 0))}setEventListener(t){var n;J(this,Ci,t),(n=_(this,Yn))==null||n.call(this),J(this,Yn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,Lr)!==t&&(J(this,Lr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,Lr)=="boolean"?_(this,Lr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Lr=new WeakMap,Yn=new WeakMap,Ci=new WeakMap,qh),xy=new m1,Pi,qn,Ti,Gh,g1=(Gh=class extends ta{constructor(){super();ae(this,Pi,!0);ae(this,qn);ae(this,Ti);J(this,Ti,t=>{if(!na&&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(){_(this,qn)||this.setEventListener(_(this,Ti))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,qn))==null||t.call(this),J(this,qn,void 0))}setEventListener(t){var n;J(this,Ti,t),(n=_(this,qn))==null||n.call(this),J(this,qn,t(this.setOnline.bind(this)))}setOnline(t){_(this,Pi)!==t&&(J(this,Pi,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,Pi)}},Pi=new WeakMap,qn=new WeakMap,Ti=new WeakMap,Gh),Ns=new g1;function y1(){let e,t;const n=new Promise((i,o)=>{e=i,t=o});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function v1(e){return Math.min(1e3*2**e,3e4)}function wy(e){return(e??"online")==="online"?Ns.isOnline():!0}var Sy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Qa(e){return e instanceof Sy}function ky(e){let t=!1,n=0,r=!1,i;const o=y1(),l=m=>{var x;r||(p(new Sy(m)),(x=e.abort)==null||x.call(e))},s=()=>{t=!0},a=()=>{t=!1},u=()=>xy.isFocused()&&(e.networkMode==="always"||Ns.isOnline())&&e.canRun(),c=()=>wy(e.networkMode)&&e.canRun(),f=m=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,m),i==null||i(),o.resolve(m))},p=m=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,m),i==null||i(),o.reject(m))},d=()=>new Promise(m=>{var x;i=h=>{(r||u())&&m(h)},(x=e.onPause)==null||x.call(e)}).then(()=>{var m;i=void 0,r||(m=e.onContinue)==null||m.call(e)}),v=()=>{if(r)return;let m;const x=n===0?e.initialPromise:void 0;try{m=x??e.fn()}catch(h){m=Promise.reject(h)}Promise.resolve(m).then(f).catch(h=>{var E;if(r)return;const g=e.retry??(na?0:3),y=e.retryDelay??v1,b=typeof y=="function"?y(n,h):y,P=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,h);if(t||!P){p(h);return}n++,(E=e.onFail)==null||E.call(e,n,h),d1(b).then(()=>u()?void 0:d()).then(()=>{t?p(h):v()})})};return{promise:o,cancel:l,continue:()=>(i==null||i(),o),cancelRetry:s,continueRetry:a,canStart:c,start:()=>(c()?v():d().then(v),o)}}var x1=e=>setTimeout(e,0);function w1(){let e=[],t=0,n=s=>{s()},r=s=>{s()},i=x1;const o=s=>{t?e.push(s):i(()=>{n(s)})},l=()=>{const s=e;e=[],s.length&&i(()=>{r(()=>{s.forEach(a=>{n(a)})})})};return{batch:s=>{let a;t++;try{a=s()}finally{t--,t||l()}return a},batchCalls:s=>(...a)=>{o(()=>{s(...a)})},schedule:o,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{i=s}}}var Ke=w1(),Or,Kh,Ey=(Kh=class{constructor(){ae(this,Or)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),a1(this.gcTime)&&J(this,Or,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(na?1/0:5*60*1e3))}clearGcTimeout(){_(this,Or)&&(clearTimeout(_(this,Or)),J(this,Or,void 0))}},Or=new WeakMap,Kh),Ri,_r,Ct,Mr,$e,Jo,Dr,Ut,vn,Xh,S1=(Xh=class extends
vendor: 2,685 bytes, line 40
40Ey{constructor(t){super();ae(this,Ut);ae(this,Ri);ae(this,_r);ae(this,Ct);ae(this,Mr);ae(this,$e);ae(this,Jo);ae(this,Dr);J(this,Dr,!1),J(this,Jo,t.defaultOptions),this.setOptions(t.options),this.observers=[],J(this,Mr,t.client),J(this,Ct,_(this,Mr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,J(this,Ri,E1(this.options)),this.state=t.state??_(this,Ri),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,$e))==null?void 0:t.promise}setOptions(t){this.options={..._(this,Jo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,Ct).remove(this)}setData(t,n){const r=f1(this.state.data,t,this.options);return je(this,Ut,vn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){je(this,Ut,vn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=_(this,$e))==null?void 0:r.promise;return(i=_(this,$e))==null||i.cancel(t),n?n.then(Bt).catch(Bt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,Ri))}isActive(){return this.observers.some(t=>c1(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Td||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>ic(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:!u1(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,$e))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,$e))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,Ct).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(_(this,$e)&&(_(this,Dr)?_(this,$e).cancel({revert:!0}):_(this,$e).cancelRetry()),this.scheduleGc()),_(this,Ct).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||je(this,Ut,vn).call(this,{type:"invalidate"})}
vendor: 14,124 bytes, line 40
40fetch(t,n){var u,c,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,$e))return _(this,$e).continueRetry(),_(this,$e).promise}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(d=>d.options.queryFn);p&&this.setOptions(p.options)}const r=new AbortController,i=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(J(this,Dr,!0),r.signal)})},o=()=>{const p=vy(this.options,n),v=(()=>{const m={client:_(this,Mr),queryKey:this.queryKey,meta:this.meta};return i(m),m})();return J(this,Dr,!1),this.options.persister?this.options.persister(p,v,this):p(v)},s=(()=>{const p={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:_(this,Mr),state:this.state,fetchFn:o};return i(p),p})();(u=this.options.behavior)==null||u.onFetch(s,this),J(this,_r,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=s.fetchOptions)==null?void 0:c.meta))&&je(this,Ut,vn).call(this,{type:"fetch",meta:(f=s.fetchOptions)==null?void 0:f.meta});const a=p=>{var d,v,m,x;Qa(p)&&p.silent||je(this,Ut,vn).call(this,{type:"error",error:p}),Qa(p)||((v=(d=_(this,Ct).config).onError)==null||v.call(d,p,this),(x=(m=_(this,Ct).config).onSettled)==null||x.call(m,this.state.data,p,this)),this.scheduleGc()};return J(this,$e,ky({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:p=>{var d,v,m,x;if(p===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(h){a(h);return}(v=(d=_(this,Ct).config).onSuccess)==null||v.call(d,p,this),(x=(m=_(this,Ct).config).onSettled)==null||x.call(m,p,this.state.error,this),this.scheduleGc()},onError:a,onFail:(p,d)=>{je(this,Ut,vn).call(this,{type:"failed",failureCount:p,error:d})},onPause:()=>{je(this,Ut,vn).call(this,{type:"pause"})},onContinue:()=>{je(this,Ut,vn).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),_(this,$e).start()}},Ri=new WeakMap,_r=new WeakMap,Ct=new WeakMap,Mr=new WeakMap,$e=new WeakMap,Jo=new WeakMap,Dr=new WeakMap,Ut=new WeakSet,vn=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,...k1(r.data,this.options),fetchMeta:t.meta??null};case"success":return J(this,_r,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 i=t.error;return Qa(i)&&i.revert&&_(this,_r)?{..._(this,_r),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ke.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),_(this,Ct).notify({query:this,type:"updated",action:t})})},Xh);function k1(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:wy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function E1(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 nn,Zh,b1=(Zh=class extends ta{constructor(t={}){super();ae(this,nn);this.config=t,J(this,nn,new Map)}build(t,n,r){const i=n.queryKey,o=n.queryHash??Pd(i,n);let l=this.get(o);return l||(l=new S1({client:t,queryKey:i,queryHash:o,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(l)),l}add(t){_(this,nn).has(t.queryHash)||(_(this,nn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,nn).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,nn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ke.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,nn).get(t)}getAll(){return[..._(this,nn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>wp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>wp(t,r)):n}notify(t){Ke.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ke.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ke.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},nn=new WeakMap,Zh),rn,qe,Fr,on,$n,Jh,C1=(Jh=class extends Ey{constructor(t){super();ae(this,on);ae(this,rn);ae(this,qe);ae(this,Fr);this.mutationId=t.mutationId,J(this,qe,t.mutationCache),J(this,rn,[]),this.state=t.state||P1(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,rn).includes(t)||(_(this,rn).push(t),this.clearGcTimeout(),_(this,qe).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){J(this,rn,_(this,rn).filter(n=>n!==t)),this.scheduleGc(),_(this,qe).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,rn).length||(this.state.status==="pending"?this.scheduleGc():_(this,qe).remove(this))}continue(){var t;return((t=_(this,Fr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var o,l,s,a,u,c,f,p,d,v,m,x,h,g,y,b,P,E,T,L;const n=()=>{je(this,on,$n).call(this,{type:"continue"})};J(this,Fr,ky({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(R,A)=>{je(this,on,$n).call(this,{type:"failed",failureCount:R,error:A})},onPause:()=>{je(this,on,$n).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,qe).canRun(this)}));const r=this.state.status==="pending",i=!_(this,Fr).canStart();try{if(r)n();else{je(this,on,$n).call(this,{type:"pending",variables:t,isPaused:i}),await((l=(o=_(this,qe).config).onMutate)==null?void 0:l.call(o,t,this));const A=await((a=(s=this.options).onMutate)==null?void 0:a.call(s,t));A!==this.state.context&&je(this,on,$n).call(this,{type:"pending",context:A,variables:t,isPaused:i})}const R=await _(this,Fr).start();return await((c=(u=_(this,qe).config).onSuccess)==null?void 0:c.call(u,R,t,this.state.context,this)),await((p=(f=this.options).onSuccess)==null?void 0:p.call(f,R,t,this.state.context)),await((v=(d=_(this,qe).config).onSettled)==null?void 0:v.call(d,R,null,this.state.variables,this.state.context,this)),await((x=(m=this.options).onSettled)==null?void 0:x.call(m,R,null,t,this.state.context)),je(this,on,$n).call(this,{type:"success",data:R}),R}catch(R){try{throw await((g=(h=_(this,qe).config).onError)==null?void 0:g.call(h,R,t,this.state.context,this)),await((b=(y=this.options).onError)==null?void 0:b.call(y,R,t,this.state.context)),await((E=(P=_(this,qe).config).onSettled)==null?void 0:E.call(P,void 0,R,this.state.variables,this.state.context,this)),await((L=(T=this.options).onSettled)==null?void 0:L.call(T,void 0,R,t,this.state.context)),R}finally{je(this,on,$n).call(this,{type:"error",error:R})}}finally{_(this,qe).runNext(this)}}},rn=new WeakMap,qe=new WeakMap,Fr=new WeakMap,on=new WeakSet,$n=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),Ke.batch(()=>{_(this,rn).forEach(r=>{r.onMutationUpdate(t)}),_(this,qe).notify({mutation:this,type:"updated",action:t})})},Jh);function P1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Sn,$t,el,em,T1=(em=class extends ta{constructor(t={}){super();ae(this,Sn);ae(this,$t);ae(this,el);this.config=t,J(this,Sn,new Set),J(this,$t,new Map),J(this,el,0)}build(t,n,r){const i=new C1({mutationCache:this,mutationId:++pl(this,el)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){_(this,Sn).add(t);const n=Il(t);if(typeof n=="string"){const r=_(this,$t).get(n);r?r.push(t):_(this,$t).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(_(this,Sn).delete(t)){const n=Il(t);if(typeof n=="string"){const r=_(this,$t).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&_(this,$t).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Il(t);if(typeof n=="string"){const r=_(this,$t).get(n),i=r==null?void 0:r.find(o=>o.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=Il(t);if(typeof n=="string"){const i=(r=_(this,$t).get(n))==null?void 0:r.find(o=>o!==t&&o.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ke.batch(()=>{_(this,Sn).forEach(t=>{this.notify({type:"removed",mutation:t})}),_(this,Sn).clear(),_(this,$t).clear()})}getAll(){return Array.from(_(this,Sn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Sp(n,r))}findAll(t={}){return this.getAll().filter(n=>Sp(t,n))}notify(t){Ke.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ke.batch(()=>Promise.all(t.map(n=>n.continue().catch(Bt))))}},Sn=new WeakMap,$t=new WeakMap,el=new WeakMap,em);function Il(e){var t;return(t=e.options.scope)==null?void 0:t.id}function bp(e){return{onFetch:(t,n)=>{var c,f,p,d,v;const r=t.options,i=(p=(f=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:f.fetchMore)==null?void 0:p.direction,o=((d=t.state.data)==null?void 0:d.pages)||[],l=((v=t.state.data)==null?void 0:v.pageParams)||[];let s={pages:[],pageParams:[]},a=0;const u=async()=>{let m=!1;const x=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},h=vy(t.options,t.fetchOptions),g=async(y,b,P)=>{if(m)return Promise.reject();if(b==null&&y.pages.length)return Promise.resolve(y);const T=(()=>{const D={client:t.client,queryKey:t.queryKey,pageParam:b,direction:P?"backward":"forward",meta:t.options.meta};return x(D),D})(),L=await h(T),{maxPages:R}=t.options,A=P?h1:p1;return{pages:A(y.pages,L,R),pageParams:A(y.pageParams,b,R)}};if(i&&o.length){const y=i==="backward",b=y?R1:Cp,P={pages:o,pageParams:l},E=b(r,P);s=await g(P,E,y)}else{const y=e??o.length;do{const b=a===0?l[0]??r.initialPageParam:Cp(r,s);if(a>0&&b==null)break;s=await g(s,b),a++}while(a<y)}return s};t.options.persister?t.fetchFn=()=>{var m,x;return(x=(m=t.options).persister)==null?void 0:x.call(m,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Cp(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 R1(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 be,Gn,Kn,Ni,Ai,Xn,Ii,Li,tm,N1=(tm=class{constructor(e={}){ae(this,be);ae(this,Gn);ae(this,Kn);ae(this,Ni);ae(this,Ai);ae(this,Xn);ae(this,Ii);ae(this,Li);J(this,be,e.queryCache||new b1),J(this,Gn,e.mutationCache||new T1),J(this,Kn,e.defaultOptions||{}),J(this,Ni,new Map),J(this,Ai,new Map),J(this,Xn,0)}mount(){pl(this,Xn)._++,_(this,Xn)===1&&(J(this,Ii,xy.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,be).onFocus())})),J(this,Li,Ns.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,be).onOnline())})))}unmount(){var e,t;pl(this,Xn)._--,_(this,Xn)===0&&((e=_(this,Ii))==null||e.call(this),J(this,Ii,void 0),(t=_(this,Li))==null||t.call(this),J(this,Li,void 0))}isFetching(e){return _(this,be).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,Gn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,be).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=_(this,be).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ic(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return _(this,be).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=_(this,be).get(r.queryHash),o=i==null?void 0:i.state.data,l=s1(t,o);if(l!==void 0)return _(this,be).build(this,r).setData(l,{...n,manual:!0})}setQueriesData(e,t,n){return Ke.batch(()=>_(this,be).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,be).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,be);Ke.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,be);return Ke.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ke.batch(()=>_(this,be).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Bt).catch(Bt)}invalidateQueries(e,t={}){return Ke.batch(()=>(_(this,be).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=Ke.batch(()=>_(this,be).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let o=i.fetch(void 0,n);return n.throwOnError||(o=o.catch(Bt)),i.state.fetchStatus==="paused"?Promise.resolve():o}));return Promise.all(r).then(Bt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,be).build(this,t);return n.isStaleByTime(ic(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Bt).catch(Bt)}fetchInfiniteQuery(e){return e.behavior=bp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Bt).catch(Bt)}ensureInfiniteQueryData(e){return e.behavior=bp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ns.isOnline()?_(this,Gn).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,be)}getMutationCache(){return _(this,Gn)}getDefaultOptions(){return _(this,Kn)}setDefaultOptions(e){J(this,Kn,e)}setQueryDefaults(e,t){_(this,Ni).set(Qo(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,Ni).values()],n={};return t.forEach(r=>{Yo(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){_(this,Ai).set(Qo(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,Ai).values()],n={};return t.forEach(r=>{Yo(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,Kn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Pd(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===Td&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,Kn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,be).clear(),_(this,Gn).clear()}},be=new WeakMap,Gn=new WeakMap,Kn=new WeakMap,Ni=new WeakMap,Ai=new WeakMap,Xn=new WeakMap,Ii=new WeakMap,Li=new WeakMap,tm),A1=S.createContext(void 0),I1=({client:e,children:t})=>(S.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),C.jsx(A1.Provider,{value:e,children:t}));/** 41 * @remix-run/router v1.23.0 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 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)}var er;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(er||(er={}));const Pp="popstate";function L1(e){e===void 0&&(e={});function t(r,i){let{pathname:o,search:l,hash:s}=r.location;return lc("",{pathname:o,search:l,hash:s},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:As(i)}return _1(t,n,null,e)}function Ae(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function by(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function O1(){return Math.random().toString(36).substr(2,8)}function Tp(e,t){return{usr:e.state,key:e.key,idx:t}}function lc(e,t,n,r){return n===void 0&&(n=null),qo({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Wi(t):t,{state:n,key:t&&t.key||r||O1()})}function As(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 Wi(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 _1(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,s=er.Pop,a=null,u=c();u==null&&(u=0,l.replaceState(qo({},l.state,{idx:u}),""));function c(){return(l.state||{idx:null}).idx}function f(){s=er.Pop;let x=c(),h=x==null?null:x-u;u=x,a&&a({action:s,location:m.location,delta:h})}function p(x,h){s=er.Push;let g=lc(m.location,x,h);u=c()+1;let y=Tp(g,u),b=m.createHref(g);try{l.pushState(y,"",b)}
vendor: 3,324 bytes, line 49
49catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;i.location.assign(b)}o&&a&&a({action:s,location:m.location,delta:1})}function d(x,h){s=er.Replace;let g=lc(m.location,x,h);u=c();let y=Tp(g,u),b=m.createHref(g);l.replaceState(y,"",b),o&&a&&a({action:s,location:m.location,delta:0})}function v(x){let h=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof x=="string"?x:As(x);return g=g.replace(/ $/,"%20"),Ae(h,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,h)}let m={get action(){return s},get location(){return e(i,l)},listen(x){if(a)throw new Error("A history only accepts one active listener");return i.addEventListener(Pp,f),a=x,()=>{i.removeEventListener(Pp,f),a=null}},createHref(x){return t(i,x)},createURL:v,encodeLocation(x){let h=v(x);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:p,replace:d,go(x){return l.go(x)}};return m}var Rp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Rp||(Rp={}));function M1(e,t,n){return n===void 0&&(n="/"),D1(e,t,n,!1)}function D1(e,t,n,r){let i=typeof t=="string"?Wi(t):t,o=Rd(i.pathname||"/",n);if(o==null)return null;let l=Cy(e);F1(l);let s=null;for(let a=0;s==null&&a<l.length;++a){let u=q1(o);s=Q1(l[a],u,r)}return s}function Cy(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(o,l,s)=>{let a={relativePath:s===void 0?o.path||"":s,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};a.relativePath.startsWith("/")&&(Ae(a.relativePath.startsWith(r),'Absolute route path "'+a.relativePath+'" nested under path '+('"'+r+'" is not valid. 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=ur([r,a.relativePath]),c=n.concat(a);o.children&&o.children.length>0&&(Ae(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Cy(o.children,t,c,u)),!(o.path==null&&!o.index)&&t.push({path:u,score:H1(u,o.index),routesMeta:c})};return e.forEach((o,l)=>{var s;if(o.path===""||!((s=o.path)!=null&&s.includes("?")))i(o,l);else for(let a of Py(o.path))i(o,l,a)}),t}function Py(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),o=n.replace(/\?$/,"");if(r.length===0)return i?[o,""]:[o];let l=Py(r.join("/")),s=[];return s.push(...l.map(a=>a===""?o:[o,a].join("/"))),i&&s.push(...l),s.map(a=>e.startsWith("/")&&a===""?"/":a)}function F1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:W1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const z1=/^:[\w-]+$/,j1=3,B1=2,U1=1,$1=10,V1=-2,Np=e=>e==="*";function H1(e,t){let n=e.split("/"),r=n.length;return n.some(Np)&&(r+=V1),t&&(r+=B1),n.filter(i=>!Np(i)).reduce((i,o)=>i+(z1.test(o)?j1:o===""?U1:$1),r)}function W1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function Q1(e,t,n){let{routesMeta:r}=e,i={},o="/",l=[];for(let s=0;s<r.length;++s){let a=r[s],u=s===r.length-1,c=o==="/"?t:t.slice(o.length)||"/",f=Ap({path:a.relativePath,caseSensitive:a.caseSensitive,end:u},c),p=a.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=Ap({path:a.relativePath,caseSensitive:a.caseSensitive,end:!1},c)),!f)return null;
vendor: 9,412 bytes, lines 49-58
49Object.assign(i,f.params),l.push({params:i,pathname:ur([o,f.pathname]),pathnameBase:Z1(ur([o,f.pathnameBase])),route:p}),f.pathnameBase!=="/"&&(o=ur([o,f.pathnameBase]))}return l}function Ap(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Y1(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],l=o.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((u,c,f)=>{let{paramName:p,isOptional:d}=c;if(p==="*"){let m=s[f]||"";l=o.slice(0,o.length-m.length).replace(/(.)\/+$/,"$1")}const v=s[f];return d&&!v?u[p]=void 0:u[p]=(v||"").replace(/%2F/g,"/"),u},{}),pathname:o,pathnameBase:l,pattern:e}}function Y1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),by(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=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(l,s,a)=>(r.push({paramName:s,isOptional:a!=null}),a?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function q1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return by(!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 Rd(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function G1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?Wi(e):e;return{pathname:n?n.startsWith("/")?n:K1(n,t):t,search:J1(r),hash:eS(i)}}function K1(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Ya(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 X1(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Ty(e,t){let n=X1(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Ry(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=Wi(e):(i=qo({},e),Ae(!i.pathname||!i.pathname.includes("?"),Ya("?","pathname","search",i)),Ae(!i.pathname||!i.pathname.includes("#"),Ya("#","pathname","hash",i)),Ae(!i.search||!i.search.includes("#"),Ya("#","search","hash",i)));let o=e===""||i.pathname==="",l=o?"/":i.pathname,s;if(l==null)s=n;else{let f=t.length-1;if(!r&&l.startsWith("..")){let p=l.split("/");for(;p[0]==="..";)p.shift(),f-=1;i.pathname=p.join("/")}s=f>=0?t[f]:"/"}let a=G1(i,s),u=l&&l!=="/"&&l.endsWith("/"),c=(o||l===".")&&n.endsWith("/");return!a.pathname.endsWith("/")&&(u||c)&&(a.pathname+="/"),a}const ur=e=>e.join("/").replace(/\/\/+/g,"/"),Z1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),J1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,eS=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function tS(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Ny=["post","put","patch","delete"];new Set(Ny);const nS=["get",...Ny];new Set(nS);/** 50 * React Router v6.30.1 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 Go(){return Go=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},Go.apply(this,arguments)}const Nd=S.createContext(null),rS=S.createContext(null),qr=S.createContext(null),ra=S.createContext(null),Gr=S.createContext({outlet:null,matches:[],isDataRoute:!1}),Ay=S.createContext(null);function iS(e,t){let{relative:n}=t===void 0?{}:t;sl()||Ae(!1);let{basename:r,navigator:i}=S.useContext(qr),{hash:o,pathname:l,search:s}=Ly(e,{relative:n}),a=l;return r!=="/"&&(a=l==="/"?r:ur([r,l])),i.createHref({pathname:a,search:s,hash:o})}function sl(){return S.useContext(ra)!=null}function Qi(){return sl()||Ae(!1),S.useContext(ra).location}function Iy(e){S.useContext(qr).static||S.useLayoutEffect(e)}function Ad(){let{isDataRoute:e}=S.useContext(Gr);return e?yS():oS()}function oS(){sl()||Ae(!1);let e=S.useContext(Nd),{basename:t,future:n,navigator:r}=S.useContext(qr),{matches:i}=S.useContext(Gr),{pathname:o}=Qi(),l=JSON.stringify(Ty(i,n.v7_relativeSplatPath)),s=S.useRef(!1);return Iy(()=>{s.current=!0}),S.useCallback(function(u,c){if(c===void 0&&(c={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let f=Ry(u,JSON.parse(l),o,c.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:ur([t,f.pathname])),(c.replace?r.replace:r.push)(f,c.state,c)},[t,r,l,o,e])}function Ly(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=S.useContext(qr),{matches:i}=S.useContext(Gr),{pathname:o}=Qi(),l=JSON.stringify(Ty(i,r.v7_relativeSplatPath));return S.useMemo(()=>Ry(e,JSON.parse(l),o,n==="path"),[e,l,o,n])}function lS(e,t){return sS(e,t)}function sS(e,t,n,r){sl()||Ae(!1);let{navigator:i}=S.useContext(qr),{matches:o}=S.useContext(Gr),l=o[o.length-1],s=l?l.params:{};l&&l.pathname;let a=l?l.pathnameBase:"/";l&&l.route;let u=Qi(),c;if(t){var f;let x=typeof t=="string"?Wi(t):t;a==="/"||(f=x.pathname)!=null&&f.startsWith(a)||Ae(!1),c=x}else c=u;let p=c.pathname||"/",d=p;if(a!=="/"){let x=a.replace(/^\//,"").split("/");d="/"+p.replace(/^\//,"").split("/").slice(x.length).join("/")}let v=M1(e,{pathname:d}),m=fS(v&&v.map(x=>Object.assign({},x,{params:Object.assign({},s,x.params),pathname:ur([a,i.encodeLocation?i.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?a:ur([a,i.encodeLocation?i.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),o,n,r);return t&&m?S.createElement(ra.Provider,{value:{location:Go({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:er.Pop}},m):m}function aS(){let e=gS(),t=tS(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},t),n?S.createElement("pre",{style:i},n):null,null)}const uS=S.createElement(aS,null);class cS extends S.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?S.createElement(Gr.Provider,{value:this.props.routeContext},S.createElement(Ay.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function dS(e){let{routeContext:t,match:n,children:r}=e,i=S.useContext(Nd);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(Gr.Provider,{value:t},r)}function fS(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var o;if(!n)return null;if(n.errors)e=n.matches;else if((o=r)!=null&&o.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let l=e,s=(i=n)==null?void 0:i.errors;if(s!=null){let c=l.findIndex(f=>f.route.id&&(s==null?void 0:s[f.route.id])!==void 0);c>=0||Ae(!1),l=l.slice(0,Math.min(l.length,c+1))}let a=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<l.length;c++){let f=l[c];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=c),f.route.id){let{loaderData:p,errors:d}=n,v=f.route.loader&&p[f.route.id]===void 0&&(!d||d[f.route.id]===void 0);if(f.route.lazy||v){a=!0,u>=0?l=l.slice(0,u+1):l=[l[0]];break}}}return l.reduceRight((c,f,p)=>{let d,v=!1,m=null,x=null;n&&(d=s&&f.route.id?s[f.route.id]:void 0,m=f.route.errorElement||uS,a&&(u<0&&p===0?(v=!0,x=null):u===p&&(v=!0,x=f.route.hydrateFallbackElement||null)));let h=t.concat(l.slice(0,p+1)),g=()=>{let y;return d?y=m:v?y=x:f.route.Component?y=S.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=c,S.createElement(dS,{match:f,routeContext:{outlet:c,matches:h,isDataRoute:n!=null},children:y})};return n&&(f.route.ErrorBoundary||f.route.errorElement||p===0)?S.createElement(cS,{location:n.location,revalidation:n.revalidation,component:m,error:d,children:g(),routeC
58ontext:{outlet:null,matches:h,isDataRoute:!0}}):g()},null)}var Oy=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Oy||{}),Is=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}(Is||{});function pS(e){let t=S.useContext(Nd);return t||Ae(!1),t}function hS(e){let t=S.useContext(rS);return t||Ae(!1),t}function mS(e){let t=S.useContext(Gr);return t||Ae(!1),t}function _y(e){let t=mS(),n=t.matches[t.matches.length-1];return n.route.id||Ae(!1),n.route.id}function gS(){var e;let t=S.useContext(Ay),n=hS(Is.UseRouteError),r=_y(Is.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function yS(){let{router:e}=pS(Oy.UseNavigateStable),t=_y(Is.UseNavigateStable),n=S.useRef(!1);return Iy(()=>{n.current=!0}),S.useCallback(function(i,o){o===void 0&&(o={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,Go({fromRouteId:t},o)))},[e,t])}function vS(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Tr(e){Ae(!1)}function xS(e){let{basename:t="/",children:n=null,location:r,navigationType:i=er.Pop,navigator:o,static:l=!1,future:s}=e;sl()&&Ae(!1);let a=t.replace(/^\/*/,"/"),u=S.useMemo(()=>({basename:a,navigator:o,static:l,future:Go({v7_relativeSplatPath:!1},s)}),[a,s,o,l]);typeof r=="string"&&(r=Wi(r));let{pathname:c="/",search:f="",hash:p="",state:d=null,key:v="default"}=r,m=S.useMemo(()=>{let x=Rd(c,a);return x==null?null:{location:{pathname:x,search:f,hash:p,state:d,key:v},navigationType:i}},[a,c,f,p,d,v,i]);return m==null?null:S.createElement(qr.Provider,{value:u},S.createElement(ra.Provider,{children:n,value:m}))}function wS(e){let{children:t,location:n}=e;return lS(sc(t),n)}new Promise(()=>{});function sc(e,t){t===void 0&&(t=[]);let n=[];return S.Children.forEach(e,(r,i)=>{if(!S.isValidElement(r))return;let o=[...t,i];if(r.type===S.Fragment){n.push.apply(n,sc(r.props.children,o));return}r.type!==Tr&&Ae(!1),!r.props.index||!r.props.children||Ae(!1);let l={id:r.props.id||o.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&&(l.children=sc(r.props.children,o)),n.push(l)}),n}/** 59 * React Router DOM v6.30.1 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 ac(){return ac=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},ac.apply(this,arguments)}function SS(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,o;for(o=0;o<r.length;o++)i=r[o],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function kS(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function ES(e,t){return e.button===0&&(!t||t==="_self")&&!kS(e)}function uc(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(i=>[n,i]):[[n,r]])},[]))}function bS(e,t){let n=uc(e);return t&&t.forEach((r,i)=>{n.has(i)||t.getAll(i).forEach(o=>{n.append(i,o)})}),n}const CS=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],PS="6";try{window.__reactRouterVersion=PS}catch{}const TS="startTransition",Ip=fm[TS];function RS(e){let{basename:t,children:n,future:r,window:i}=e,o=S.useRef();o.current==null&&(o.current=L1({window:i,v5Compat:!0}));let l=o.current,[s,a]=S.useState({action:l.action,location:l.location}),{v7_startTransition:u}=r||{},c=S.useCallback(f=>{u&&Ip?Ip(()=>a(f)):a(f)},[a,u]);return S.useLayoutEffect(()=>l.listen(c),[l,c]),S.useEffect(()=>
67vS(r),[r]),S.createElement(xS,{basename:t,children:n,location:s.location,navigationType:s.action,navigator:l,future:r})}const NS=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",AS=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,IS=S.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:o,replace:l,state:s,target:a,to:u,preventScrollReset:c,viewTransition:f}=t,p=SS(t,CS),{basename:d}=S.useContext(qr),v,m=!1;if(typeof u=="string"&&AS.test(u)&&(v=u,NS))try{let y=new URL(window.location.href),b=u.startsWith("//")?new URL(y.protocol+u):new URL(u),P=Rd(b.pathname,d);b.origin===y.origin&&P!=null?u=P+b.search+b.hash:m=!0}catch{}let x=iS(u,{relative:i}),h=LS(u,{replace:l,state:s,target:a,preventScrollReset:c,relative:i,viewTransition:f});function g(y){r&&r(y),y.defaultPrevented||h(y)}return S.createElement("a",ac({},p,{href:v||x,onClick:m||o?r:g,ref:n,target:a}))});var Lp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Lp||(Lp={}));var Op;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Op||(Op={}));function LS(e,t){let{target:n,replace:r,state:i,preventScrollReset:o,relative:l,viewTransition:s}=t===void 0?{}:t,a=Ad(),u=Qi(),c=Ly(e,{relative:l});return S.useCallback(f=>{if(ES(f,n)){f.preventDefault();let p=r!==void 0?r:As(u)===As(c);a(e,{replace:p,state:i,preventScrollReset:o,relative:l,viewTransition:s})}},[u,a,c,r,i,n,e,o,l,s])}function OS(e){let t=S.useRef(uc(e)),n=S.useRef(!1),r=Qi(),i=S.useMemo(()=>bS(r.search,n.current?null:t.current),[r.search]),o=Ad(),l=S.useCallback((s,a)=>{const u=uc(typeof s=="function"?s(i):s);n.current=!0,o("?"+u,a)},[o,i]);return[i,l]}var _p=["light","dark"],_S="(prefers-color-scheme: dark)",MS=S.createContext(void 0),DS={setTheme:e=>{},themes:[]},FS=()=>{var e;return(e=S.useContext(MS))!=null?e:DS};S.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:o,value:l,attrs:s,nonce:a})=>{let u=o==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${s.map(v=>`'${v}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=i?_p.includes(o)&&o?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${o}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(v,m=!1,x=!0)=>{let h=l?l[v]:v,g=m?v+"|| ''":`'${h}'`,y="";return i&&x&&!m&&_p.includes(v)&&(y+=`d.style.colorScheme = '${v}';`),n==="class"?m||h?y+=`c.add(${g})`:y+="null":h&&(y+=`d[s](n,${g})`),y},d=e?`!function(){${c}${p(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${_S}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${l?`var x=${JSON.stringify(l)};`:""}${p(l?"x[e]":"e",!0)}}${u?"":"else{"+p(o,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${l?`var x=${JSON.stringify(l)};`:""}${p(l?"x[e]":"e",!0)}}else{${p(o,!1,!1)};}${f}}catch(t){}}();`;return S.createElement("script",{nonce:a,dangerouslySetInnerHTML:{__html:d}})});var zS=e=>{switch(e){case"success":return US;case"info":return VS;case"warning":return $S;case"error":return HS;default:return null}},jS=Array(12).fill(0),BS=({visible:e,className:t})=>U.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},U.createElement("div",{className:"sonner-spinner"},jS.map((n,r)=>U.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),US=U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},U.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),$S=U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"
67currentColor",height:"20",width:"20"},U.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),VS=U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},U.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),HS=U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},U.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),WS=U.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},U.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),U.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),QS=()=>{let[e,t]=U.useState(document.hidden);return U.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},cc=1,YS=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:cc++,o=this.toasts.find(s=>s.id===i),l=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),o?this.toasts=this.toasts.map(s=>s.id===i?(this.publish({...s,...e,id:i,title:n}),{...s,...e,id:i,dismissible:l,title:n}):s):this.addToast({title:n,...r,dismissible:l,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
67this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,o,l=r.then(async a=>{if(o=["resolve",a],U.isValidElement(a))i=!1,this.create({id:n,type:"default",message:a});else if(GS(a)&&!a.ok){i=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${a.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${a.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){i=!1;let u=typeof t.success=="function"?await t.success(a):t.success,c=typeof t.description=="function"?await t.description(a):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async a=>{if(o=["reject",a],t.error!==void 0){i=!1;let u=typeof t.error=="function"?await t.error(a):t.error,c=typeof t.description=="function"?await t.description(a):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var a;i&&(this.dismiss(n),n=void 0),(a=t.finally)==null||a.call(t)}),s=()=>new Promise((a,u)=>l.then(()=>o[0]==="reject"?u(o[1]):a(o[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:s}:Object.assign(n,{unwrap:s})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||cc++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},nt=new YS,qS=(e,t)=>{let n=(t==null?void 0:t.id)||cc++;return nt.addToast({title:e,...t,id:n}),n},GS=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",KS=qS,XS=()=>nt.toasts,ZS=()=>nt.getActiveToasts();Object.assign(KS,{success:nt.success,info:nt.info,warning:nt.warning,error:nt.error,custom:nt.custom,message:nt.message,promise:nt.promise,dismiss:nt.dismiss,loading:nt.loading},{getHistory:XS,getToasts:ZS});function JS(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}JS(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
67left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
67:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
67--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)} 68`);function Ll(e){return e.label!==void 0}var ek=3,tk="32px",nk="16px",Mp=4e3,rk=356,ik=14,ok=20,lk=200;function zt(...e){return e.filter(Boolean).join(" ")}function sk(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var ak=e=>{var t,n,r,i,o,l,s,a,u,c,f;let{invert:p,toast:d,unstyled:v,interacting:m,setHeights:x,visibleToasts:h,heights:g,index:y,toasts:b,expanded:P,removeToast:E,defaultRichColors:T,closeButton:L,style:R,cancelButtonStyle:A,actionButtonStyle:D,className:O="",descriptionClassName:H="",duration:F,position:$,gap:W,loadingIcon:Y,expandByDefault:I,classNames:M,icons:w,closeButtonAriaLabel:q="Close toast",pauseWhenPageIsHidden:
vendor: 8,191 bytes, line 68
68Q}=e,[k,G]=U.useState(null),[de,oe]=U.useState(null),[ie,Qe]=U.useState(!1),[Ye,et]=U.useState(!1),[dt,Ln]=U.useState(!1),[Xt,Zr]=U.useState(!1),[Jr,wr]=U.useState(!1),[ei,Sr]=U.useState(0),[mn,Zi]=U.useState(0),kr=U.useRef(d.duration||F||Mp),fl=U.useRef(null),gn=U.useRef(null),ga=y===0,ya=y+1<=h,N=d.type,B=d.dismissible!==!1,X=d.className||"",ne=d.descriptionClassName||"",se=U.useMemo(()=>g.findIndex(Z=>Z.toastId===d.id)||0,[g,d.id]),ft=U.useMemo(()=>{var Z;return(Z=d.closeButton)!=null?Z:L},[d.closeButton,L]),Zt=U.useMemo(()=>d.duration||F||Mp,[d.duration,F]),pt=U.useRef(0),bt=U.useRef(0),On=U.useRef(0),Te=U.useRef(null),[_n,Ot]=$.split("-"),af=U.useMemo(()=>g.reduce((Z,fe,xe)=>xe>=se?Z:Z+fe.height,0),[g,se]),uf=QS(),O0=d.invert||p,va=N==="loading";bt.current=U.useMemo(()=>se*W+af,[se,af]),U.useEffect(()=>{kr.current=Zt},[Zt]),U.useEffect(()=>{Qe(!0)},[]),U.useEffect(()=>{let Z=gn.current;if(Z){let fe=Z.getBoundingClientRect().height;return Zi(fe),x(xe=>[{toastId:d.id,height:fe,position:d.position},...xe]),()=>x(xe=>xe.filter(_t=>_t.toastId!==d.id))}},[x,d.id]),U.useLayoutEffect(()=>{if(!ie)return;let Z=gn.current,fe=Z.style.height;Z.style.height="auto";let xe=Z.getBoundingClientRect().height;Z.style.height=fe,Zi(xe),x(_t=>_t.find(Mt=>Mt.toastId===d.id)?_t.map(Mt=>Mt.toastId===d.id?{...Mt,height:xe}:Mt):[{toastId:d.id,height:xe,position:d.position},..._t])},[ie,d.title,d.description,x,d.id]);let Mn=U.useCallback(()=>{et(!0),Sr(bt.current),x(Z=>Z.filter(fe=>fe.toastId!==d.id)),setTimeout(()=>{E(d)},lk)},[d,E,x,bt]);U.useEffect(()=>{if(d.promise&&N==="loading"||d.duration===1/0||d.type==="loading")return;let Z;return P||m||Q&&uf?(()=>{if(On.current<pt.current){let fe=new Date().getTime()-pt.current;kr.current=kr.current-fe}On.current=new Date().getTime()})():kr.current!==1/0&&(pt.current=new Date().getTime(),Z=setTimeout(()=>{var fe;(fe=d.onAutoClose)==null||fe.call(d,d),Mn()},kr.current)),()=>clearTimeout(Z)},[P,m,d,N,Q,uf,Mn]),U.useEffect(()=>{d.delete&&Mn()},[Mn,d.delete]);function _0(){var Z,fe,xe;return w!=null&&w.loading?U.createElement("div",{className:zt(M==null?void 0:M.loader,(Z=d==null?void 0:d.classNames)==null?void 0:Z.loader,"sonner-loader"),"data-visible":N==="loading"},w.loading):Y?U.createElement("div",{className:zt(M==null?void 0:M.loader,(fe=d==null?void 0:d.classNames)==null?void 0:fe.loader,"sonner-loader"),"data-visible":N==="loading"},Y):U.createElement(BS,{className:zt(M==null?void 0:M.loader,(xe=d==null?void 0:d.classNames)==null?void 0:xe.loader),visible:N==="loading"})}return U.createElement("li",{tabIndex:0,ref:gn,className:zt(O,X,M==null?void 0:M.toast,(t=d==null?void 0:d.classNames)==null?void 0:t.toast,M==null?void 0:M.default,M==null?void 0:M[N],(n=d==null?void 0:d.classNames)==null?void 0:n[N]),"data-sonner-toast":"","data-rich-colors":(r=d.richColors)!=null?r:T,"data-styled":!(d.jsx||d.unstyled||v),"data-mounted":ie,"data-promise":!!d.promise,"data-swiped":Jr,"data-removed":Ye,"data-visible":ya,"data-y-position":_n,"data-x-position":Ot,"data-index":y,"data-front":ga,"data-swiping":dt,"data-dismissible":B,"data-type":N,"data-invert":O0,"data-swipe-out":Xt,"data-swipe-direction":de,"data-expanded":!!(P||I&&ie),style:{"--index":y,"--toasts-before":y,"--z-index":b.length-y,"--offset":`${Ye?ei:bt.current}px`,"--initial-height":I?"auto":`${mn}px`,...R,...d.style},onDragEnd:()=>{Ln(!1),G(null),Te.current=null},onPointerDown:Z=>{va||!B||(fl.current=new Date,Sr(bt.current),Z.target.setPointerCapture(Z.pointerId),Z.target.tagName!=="BUTTON"&&(Ln(!0),Te.current={x:Z.clientX,y:Z.clientY}))},onPointerUp:()=>{var Z,fe,xe,_t;if(Xt||!B)return;Te.current=null;let Mt=Number(((Z=gn.current)==null?void 0:Z.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Dn=Number(((fe=gn.current)==null?void 0:fe.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Er=new Date().getTime()-((xe=fl.current)==null?void 0:xe.getTime()),Dt=k==="x"?Mt:Dn,Fn=Math.abs(Dt)/Er;if(Math.abs(Dt)>=ok||Fn>.11){Sr(bt.current),(_t=d.onDismiss)==null||_t.call(d,d),oe(k==="x"?Mt>0?"right":"left":Dn>0?"down":"up"),Mn(),Zr(!0),wr(!1);return}Ln(!1),G(null)},onPointerMove:Z=>{var fe,xe,_t,Mt;if(!Te.current||!B||((fe=window.getSelection())==null?void 0:fe.toString().length)>0)return;let Dn=Z.clientY-Te.current.y,Er=Z.clientX-Te.current.x,Dt=(xe=e.swipeDirections)!=null?xe:sk($);!k&&(Math.abs(Er)>1||Math.abs(Dn)>1)&&G(Math.abs(Er)>Math.abs(Dn)?"x":"y");let Fn={x:0,y:0};k==="y"?(Dt.includes("top")||Dt.includes("bottom"))&&(Dt.includes("top")&&Dn<0||Dt.includes("bottom")&&Dn>0)&&(Fn.y=Dn):k==="x"&&(Dt.includes("left")||Dt.includes("right"))&&(Dt.includes("left")&&Er<0||Dt.includes("right")&&Er>0)&&(Fn.x=Er),(Math.abs(Fn.x)>0||Math.abs(Fn.y)>0)&&wr(!0),(_t=gn.current)==null||_t.style.setProperty("--swipe-amount-x",`${Fn.x}px`),(Mt=gn.current)==null||Mt.style.setProperty("--swipe-amount-y",`${Fn.y}px`)}},ft&&!d.jsx?U.createElement("button",{"aria-label":q,"data-disabled":va,"data-close-button":!0,onClick:va||!B?()=>{}:()=>{var Z;Mn(),(Z=d.onDismiss)==null||Z.call(d,d)},className:zt(M==null?void 0:M.closeButton,(i=d==null?void 0:d.classNames)==null?void 0:i.closeButton)},(o=w==null?void 0:w.close)!=null?o:WS):null,d.jsx||S.isValidElement(d.title)?d.jsx?d.jsx:typeof d.title=="function"?d.title():d.title:U.createElement(U.Fragment,null,N||d.icon||d.promise?U.createElement("div",{"data-icon":"",className:zt(M==null?void 0:M.icon,(l=d==null?void 0:d.classNames)==null?void 0:l.icon)},d.promise||d.type==="loading"&&!d.icon?d.icon||_0():null,d.type!=="loading"?d.icon||(w==null?void 0:w[N])||zS(N):null):null,U.createElement("div",{"data-content":"",className:zt(M==null?void 0:M.content,(s=d==null?void 0:d.classNames)==null?void 0:s.content)},U.createElement("div",{"data-title":"",className:zt(M==null?void 0:M.title,(a=d==null?void 0:d.classNames)==null?void 0:a.title)},typeof d.title=="function"?d.title():d.title),d.description?U.createElement("div",{"data-description":"",className:zt(H,ne,M==null?void 0:M.description,(u=d==null?void 0:d.classNames)==null?void 0:u.description)},typeof d.description=="function"?d.description():d.description):null),S.isValidElement(d.cancel)?d.cancel:d.cancel&&Ll(d.cancel)?U.createElement("button",{"data-button":!0,"data-cancel":!0,style:d.cancelButtonStyle||A,onClick:Z=>{var fe,xe;Ll(d.cancel)&&B&&((xe=(fe=d.cancel).onClick)==null||xe.call(fe,Z),Mn())},className:zt(M==null?void 0:M.cancelButton,(c=d==null?void 0:d.classNames)==null?void 0:c.cancelButton)},d.cancel.label):null,S.isValidElement(d.action)?d.action:d.action&&Ll(d.action)?U.createElement("button",{"data-button":!0,"data-action":!0,style:d.actionButtonStyle||D,onClick:Z=>{var fe,xe;Ll(d.action)&&((xe=(fe=d.action).onClick)==null||xe.call(fe,Z),!Z.defaultPrevented&&Mn())},className:zt(M==null?void 0:M.actionButton,(f=d==null?void 0:d.classNames)==null?void 0:f.actionButton)},d.action.label):null))};function Dp(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function uk(e,t){let n={};return[e,t].forEach((r,i)=>{let o=i===1,l=o?"--mobile-offset":"--offset",s=o?nk:tk;function a(u){["top","right","bottom","left"].forEach(c=>{n[`${l}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?a(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${l}-${u}`]=s:n[`${l}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):a(s)}),n}var ck=S.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:o,closeButton:l,className:s,offset:a,mobileOffset:u,theme:c="light",richColors:f,duration:p,style:d,visibleToasts:v=ek,toastOptions:m,dir:x=Dp(),gap:h=ik,loadingIcon:g,icons:y,containerAriaLabel:b="Notifications",pauseWhenPageIsHidden:P}=e,[E,T]=U.useState([]),L=U.useMemo(()=>Array.from(new Set([r].concat(E.filter(Q=>Q.position).map(Q=>Q.position)))),[E,r]),[R,A]=U.useState([]),[D,O]=U.useState(!1),[H,F]=U.useState(!1),[$,W]=U.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dar
68k":"light"),Y=U.useRef(null),I=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),M=U.useRef(null),w=U.useRef(!1),q=U.useCallback(Q=>{T(k=>{var G;return(G=k.find(de=>de.id===Q.id))!=null&&G.delete||nt.dismiss(Q.id),k.filter(({id:de})=>de!==Q.id)})},[]);return U.useEffect(()=>nt.subscribe(Q=>{if(Q.dismiss){T(k=>k.map(G=>G.id===Q.id?{...G,delete:!0}:G));return}setTimeout(()=>{my.flushSync(()=>{T(k=>{let G=k.findIndex(de=>de.id===Q.id);return G!==-1?[...k.slice(0,G),{...k[G],...Q},...k.slice(G+1)]:[Q,...k]})})})}),[]),U.useEffect(()=>{if(c!=="system"){W(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?W("dark"):W("light")),typeof window>"u")return;let Q=window.matchMedia("(prefers-color-scheme: dark)");try{Q.addEventListener("change",({matches:k})=>{W(k?"dark":"light")})}catch{Q.addListener(({matches:G})=>{try{W(G?"dark":"light")}catch(de){console.error(de)}})}},[c]),U.useEffect(()=>{E.length<=1&&O(!1)},[E]),U.useEffect(()=>{let Q=k=>{var G,de;i.every(oe=>k[oe]||k.code===oe)&&(O(!0),(G=Y.current)==null||G.focus()),k.code==="Escape"&&(document.activeElement===Y.current||(de=Y.current)!=null&&de.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",Q),()=>document.removeEventListener("keydown",Q)},[i]),U.useEffect(()=>{if(Y.current)return()=>{M.current&&(M.current.focus({preventScroll:!0}),M.current=null,w.current=!1)}},[Y.current]),U.createElement("section",{ref:t,"aria-label":`${b} ${I}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},L.map((Q,k)=>{var G;let[de,oe]=Q.split("-");return E.length?U.createElement("ol",{key:Q,dir:x==="auto"?Dp():x,tabIndex:-1,ref:Y,className:s,"data-sonner-toaster":!0,"data-theme":$,"data-y-position":de,"data-lifted":D&&E.length>1&&!o,"data-x-position":oe,style:{"--front-toast-height":`${((G=R[0])==null?void 0:G.height)||0}px`,"--width":`${rk}px`,"--gap":`${h}px`,...d,...uk(a,u)},onBlur:ie=>{w.current&&!ie.currentTarget.contains(ie.relatedTarget)&&(w.current=!1,M.current&&(M.current.focus({preventScroll:!0}),M.current=null))},onFocus:ie=>{ie.target instanceof HTMLElement&&ie.target.dataset.dismissible==="false"||w.current||(w.current=!0,M.current=ie.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{H||O(!1)},onDragEnd:()=>O(!1),onPointerDown:ie=>{ie.target instanceof HTMLElement&&ie.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},E.filter(ie=>!ie.position&&k===0||ie.position===Q).map((ie,Qe)=>{var Ye,et;return U.createElement(ak,{key:ie.id,icons:y,index:Qe,toast:ie,defaultRichColors:f,duration:(Ye=m==null?void 0:m.duration)!=null?Ye:p,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:n,visibleToasts:v,closeButton:(et=m==null?void 0:m.closeButton)!=null?et:l,interacting:H,position:Q,style:m==null?void 0:m.style,unstyled:m==null?void 0:m.unstyled,classNames:m==null?void 0:m.classNames,cancelButtonStyle:m==null?void 0:m.cancelButtonStyle,actionButtonStyle:m==null?void 0:m.actionButtonStyle,removeToast:q,toasts:E.filter(dt=>dt.position==ie.position),heights:R.filter(dt=>dt.position==ie.position),setHeights:A,expandByDefault:o,gap:h,loadingIcon:g,expanded:D,pauseWhenPageIsHidden:P,swipeDirections:e.swipeDirections})})):null}))});const dk=({...e})=>{const{theme:t="system"}=FS();return C.jsx(ck,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},fk=1,pk=1e6;let qa=0;function hk(){return qa=(qa+1)%Number.MAX_SAFE_INTEGER,qa.toString()}const Ga=new Map,Fp=e=>{if(Ga.has(e))return;const t=setTimeout(()=>{Ga.delete(e),Co({type:"REMOVE_TOAST",toastId:e})},pk);Ga.set(e,t)},mk=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,fk)};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;
68return n?Fp(n):e.toasts.forEach(r=>{Fp(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)}}},Jl=[];let es={toasts:[]};function Co(e){es=mk(es,e),Jl.forEach(t=>{t(es)})}function gk({...e}){const t=hk(),n=i=>Co({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Co({type:"DISMISS_TOAST",toastId:t});return Co({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function yk(){const[e,t]=S.useState(es);return S.useEffect(()=>(Jl.push(t),()=>{const n=Jl.indexOf(t);n>-1&&Jl.splice(n,1)}),[e]),{...e,toast:gk,dismiss:n=>Co({type:"DISMISS_TOAST",toastId:n})}}function Le(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function zp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function My(...e){return t=>{let n=!1;const r=e.map(i=>{const o=zp(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():zp(e[i],null)}}}}function qt(...e){return S.useCallback(My(...e),e)}function ia(e,t=[]){let n=[];function r(o,l){const s=S.createContext(l),a=n.length;n=[...n,l];const u=f=>{var h;const{scope:p,children:d,...v}=f,m=((h=p==null?void 0:p[e])==null?void 0:h[a])||s,x=S.useMemo(()=>v,Object.values(v));return C.jsx(m.Provider,{value:x,children:d})};u.displayName=o+"Provider";function c(f,p){var m;const d=((m=p==null?void 0:p[e])==null?void 0:m[a])||s,v=S.useContext(d);if(v)return v;if(l!==void 0)return l;throw new Error(`\`${f}\` must be used within \`${o}\``)}return[u,c]}const i=()=>{const o=n.map(l=>S.createContext(l));return function(s){const a=(s==null?void 0:s[e])||o;return S.useMemo(()=>({[`__scope${e}`]:{...s,[e]:a}}),[s,a])}};return i.scopeName=e,[r,vk(i,...t)]}function vk(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const l=r.reduce((s,{useScope:a,scopeName:u})=>{const f=a(o)[`__scope${u}`];return{...s,...f}},{});return S.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}function dc(e){const t=xk(e),n=S.forwardRef((r,i)=>{const{children:o,...l}=r,s=S.Children.toArray(o),a=s.find(Sk);if(a){const u=a.props.children,c=s.map(f=>f===a?S.Children.count(u)>1?S.Children.only(null):S.isValidElement(u)?u.props.children:null:f);return C.jsx(t,{...l,ref:i,children:S.isValidElement(u)?S.cloneElement(u,void 0,c):null})}return C.jsx(t,{...l,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function xk(e){const t=S.forwardRef((n,r)=>{const{children:i,...o}=n;if(S.isValidElement(i)){const l=Ek(i),s=kk(o,i.props);return i.type!==S.Fragment&&(s.ref=r?My(r,l):l),S.cloneElement(i,s)}return S.Children.count(i)>1?S.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Dy=Symbol("radix.slottable");function wk(e){const t=({children:n})=>C.jsx(C.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Dy,t}function Sk(e){return S.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Dy}function kk(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const a=o(...s);return i(...s),a}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function Ek(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function bk(e){const t=e+"CollectionProvider",[n,r]=ia(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=m=>{const{scope:x,children:h}=m,g=U.useRef(null),y=U.useRef(new Map).current;return C.jsx(i,{scope:x,itemMap:y,collectionRef:g,children:h})};l.displayName=t;const s=e+"CollectionSlot",a=dc(s),u=U.forwardRef((m,x)=>{const{scope:h,children:g}=m,y=o(s,h),b=qt(x,y.collectionRef);return C.jsx(a,{ref:b,children:g})});u.displayName=s;const c=e+"CollectionItemSlot",f="data-radix-collection-item",p=dc(c),d=U.forwardRef((m,x)=>{const{scope:h,children:g,...y}=m,b=U.useRef(null),P=qt(x,b),E=o(c,h);return U.useEffect(()=>(E.itemMap.set(b,{ref:b,...y}),()=>void E.itemMap.delete(b))),C.jsx(p,{[f]:"",ref:P,children:g})});d.displayName=c;function v(m){const x=o(e+"CollectionConsumer",m);return U.useCallback(()=>{const g=x.collectionRef.current;if(!g)return[];const y=Array.from(g.querySelectorAll(`[${f}]`));return Array.from(x.itemMap.values()).sort((E,T)=>y.indexOf(E.ref.current)-y.indexOf(T.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:l,Slot:u,ItemSlot:d},v,r]}var Ck=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ut=Ck.reduce((e,t)=>
vendor: 8,608 bytes, line 68
68{const n=dc(`Primitive.${t}`),r=S.forwardRef((i,o)=>{const{asChild:l,...s}=i,a=l?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),C.jsx(a,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Fy(e,t){e&&ll.flushSync(()=>e.dispatchEvent(t))}function fr(e){const t=S.useRef(e);return S.useEffect(()=>{t.current=e}),S.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Pk(e,t=globalThis==null?void 0:globalThis.document){const n=fr(e);S.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Tk="DismissableLayer",fc="dismissableLayer.update",Rk="dismissableLayer.pointerDownOutside",Nk="dismissableLayer.focusOutside",jp,zy=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Id=S.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:l,onDismiss:s,...a}=e,u=S.useContext(zy),[c,f]=S.useState(null),p=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,d]=S.useState({}),v=qt(t,T=>f(T)),m=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),h=m.indexOf(x),g=c?m.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,b=g>=h,P=Ik(T=>{const L=T.target,R=[...u.branches].some(A=>A.contains(L));!b||R||(i==null||i(T),l==null||l(T),T.defaultPrevented||s==null||s())},p),E=Lk(T=>{const L=T.target;[...u.branches].some(A=>A.contains(L))||(o==null||o(T),l==null||l(T),T.defaultPrevented||s==null||s())},p);return Pk(T=>{g===u.layers.size-1&&(r==null||r(T),!T.defaultPrevented&&s&&(T.preventDefault(),s()))},p),S.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(jp=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Bp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=jp)}},[c,p,n,u]),S.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Bp())},[c,u]),S.useEffect(()=>{const T=()=>d({});return document.addEventListener(fc,T),()=>document.removeEventListener(fc,T)},[]),C.jsx(ut.div,{...a,ref:v,style:{pointerEvents:y?b?"auto":"none":void 0,...e.style},onFocusCapture:Le(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Le(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Le(e.onPointerDownCapture,P.onPointerDownCapture)})});Id.displayName=Tk;var Ak="DismissableLayerBranch",jy=S.forwardRef((e,t)=>{const n=S.useContext(zy),r=S.useRef(null),i=qt(t,r);return S.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),C.jsx(ut.div,{...e,ref:i})});jy.displayName=Ak;function Ik(e,t=globalThis==null?void 0:globalThis.document){const n=fr(e),r=S.useRef(!1),i=S.useRef(()=>{});return S.useEffect(()=>{const o=s=>{if(s.target&&!r.current){let a=function(){By(Rk,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=a,t.addEventListener("click",i.current,{once:!0})):a()}else t.removeEventListener("click",i.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",o),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function Lk(e,t=globalThis==null?void 0:globalThis.document){const n=fr(e),r=S.useRef(!1);return S.useEffect(()=>{const i=o=>{o.target&&!r.current&&By(Nk,n,{originalEvent:o},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Bp(){const e=new CustomEvent(fc);document.dispatchEvent(e)}function By(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Fy(i,o):i.dispatchEvent(o)}var Ok=Id,_k=jy,pr=globalThis!=null&&globalThis.document?S.useLayoutEffect:()=>{},Mk="Portal",Uy=S.forwardRef((e,t)=>{var s;const{container:n,...r}=e,[i,o]=S.useState(!1);pr(()=>o(!0),[]);const l=n||i&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return l?my.createPortal(C.jsx(ut.div,{...r,ref:t}),l):null});Uy.displayName=Mk;function Dk(e,t){return S.useReducer((n,r)=>t[n][r]??n,e)}var Ld=e=>{const{present:t,children:n}=e,r=Fk(t),i=typeof n=="function"?n({present:r.isPresent}):S.Children.only(n),o=qt(r.ref,zk(i));return typeof n=="function"||r.isPresent?S.cloneElement(i,{ref:o}):null};Ld.displayName="Presence";function Fk(e){const[t,n]=S.useState(),r=S.useRef(null),i=S.useRef(e),o=S.useRef("none"),l=e?"mounted":"unmounted",[s,a]=Dk(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const u=Ol(r.current);o.current=s==="mounted"?u:"none"},[s]),pr(()=>{const u=r.current,c=i.current;if(c!==e){const p=o.current,d=Ol(u);e?a("MOUNT"):d==="none"||(u==null?void 0:u.display)==="none"?a("UNMOUNT"):a(c&&p!==d?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,a]),pr(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,f=d=>{const m=Ol(r.current).includes(d.animationName);if(d.target===t&&m&&(a("ANIMATION_END"),!i.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},p=d=>{d.target===t&&(o.current=Ol(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else a("ANIMATION_END")},[t,a]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:S.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Ol(e){return(e==null?void 0:e.animationName)||"none"}function zk(e){var r,i;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=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var jk=fm[" useInsertionEffect ".trim().toString()]||pr;function Bk({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,l]=Uk({defaultProp:t,onChange:n}),s=e!==void 0,a=s?e:i;{const c=S.useRef(e!==void 0);S.useEffect(()=>{const f=c.current;f!==s&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${s?"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.`),c.current=s},[s,r])}const u=S.useCallback(c=>{var f;if(s){const p=$k(c)?c(e):c;p!==e&&((f=l.current)==null||f.call(l,p))}else o(c)},[s,e,o,l]);return[a,u]}function Uk({defaultProp:e,onChange:t}){const[n,r]=S.useState(e),i=S.useRef(n),o=S.useRef(t);return jk(()=>{o.current=t},[t]),S.useEffect(()=>{var l;i.current!==n&&((l=o.current)==null||l.call(o,n),i.current=n)},[n,i]),[n,r,o]}function $k(e){return typeof e=="function"}var Vk=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"}),Hk="VisuallyHidden",oa=S.forwardRef((e,t)=>C.jsx(ut.span,{...e,ref:t,style:{...Vk,...e.style}}));oa.displayName=Hk;var Wk=oa,Od="ToastProvider",[_d,Qk,Yk]=bk("Toast"),[$y,$N]=ia("Toast",[Yk]),[qk,la]=$y(Od),Vy=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:o=50,children:l}=e,[s,a]=S.useState(null),[u,c]=S.useState(0),f=S.useRef(!1),p=S.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Od}\`. Expected non-empty \`string\`.`),C.jsx(_d.Provider,{scope:t,children:C.jsx(qk,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:o,toastCount:u,viewport:s,onViewportChange:a,onToastAdd:S.useCallback(()=>c(d=>d+1),[]),onToastRemove:S.useCallback(()=>c(d=>d-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:p,children:l})})};Vy.displayName=Od;var Hy="ToastViewport",Gk=["F8"],pc="toast.viewportPause",hc="toast.viewportResume",Wy=S.forwardRef((e,t)=>
68{const{__scopeToast:n,hotkey:r=Gk,label:i="Notifications ({hotkey})",...o}=e,l=la(Hy,n),s=Qk(n),a=S.useRef(null),u=S.useRef(null),c=S.useRef(null),f=S.useRef(null),p=qt(t,f,l.onViewportChange),d=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),v=l.toastCount>0;S.useEffect(()=>{const x=h=>{var y;r.length!==0&&r.every(b=>h[b]||h.code===b)&&((y=f.current)==null||y.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),S.useEffect(()=>{const x=a.current,h=f.current;if(v&&x&&h){const g=()=>{if(!l.isClosePausedRef.current){const E=new CustomEvent(pc);h.dispatchEvent(E),l.isClosePausedRef.current=!0}},y=()=>{if(l.isClosePausedRef.current){const E=new CustomEvent(hc);h.dispatchEvent(E),l.isClosePausedRef.current=!1}},b=E=>{!x.contains(E.relatedTarget)&&y()},P=()=>{x.contains(document.activeElement)||y()};return x.addEventListener("focusin",g),x.addEventListener("focusout",b),x.addEventListener("pointermove",g),x.addEventListener("pointerleave",P),window.addEventListener("blur",g),window.addEventListener("focus",y),()=>{x.removeEventListener("focusin",g),x.removeEventListener("focusout",b),x.removeEventListener("pointermove",g),x.removeEventListener("pointerleave",P),window.removeEventListener("blur",g),window.removeEventListener("focus",y)}}},[v,l.isClosePausedRef]);const m=S.useCallback(({tabbingDirection:x})=>{const g=s().map(y=>{const b=y.ref.current,P=[b,...aE(b)];return x==="forwards"?P:P.reverse()});return(x==="forwards"?g.reverse():g).flat()},[s]);return S.useEffect(()=>{const x=f.current;if(x){const h=g=>{var P,E,T;const y=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!y){const L=document.activeElement,R=g.shiftKey;if(g.target===x&&R){(P=u.current)==null||P.focus();return}const O=m({tabbingDirection:R?"backwards":"forwards"}),H=O.findIndex(F=>F===L);Ka(O.slice(H+1))?g.preventDefault():R?(E=u.current)==null||E.focus():(T=c.current)==null||T.focus()}};return x.addEventListener("keydown",h),()=>x.removeEventListener("keydown",h)}},[s,m]),C.jsxs(_k,{ref:a,role:"region","aria-label":i.replace("{hotkey}",d),tabIndex:-1,style:{pointerEvents:v?void 0:"none"},children:[v&&C.jsx(mc,{ref:u,onFocusFromOutsideViewport:()=>{const x=m({tabbingDirection:"forwards"});Ka(x)}}),C.jsx(_d.Slot,{scope:n,children:C.jsx(ut.ol,{tabIndex:-1,...o,ref:p})}),v&&C.jsx(mc,{ref:c,onFocusFromOutsideViewport:()=>{const x=m({tabbingDirection:"backwards"});Ka(x)}})]})});Wy.displayName=Hy;var Qy="ToastFocusProxy",mc=S.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,o=la(Qy,n);return C.jsx(oa,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:l=>{var u;const s=l.relatedTarget;!((u=o.viewport)!=null&&u.contains(s))&&r()}})});mc.displayName=Qy;var al="Toast",Kk="toast.swipeStart",Xk="toast.swipeMove",Zk="toast.swipeCancel",Jk="toast.swipeEnd",Yy=S.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:o,...l}=e,[s,a]=Bk({prop:r,defaultProp:i??!0,onChange:o,caller:al});return C.jsx(Ld,{present:n||s,children:C.jsx(nE,{open:s,...l,ref:t,onClose:()=>a(!1),onPause:fr(e.onPause),onResume:fr(e.onResume),onSwipeStart:Le(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Le(e.onSwipeMove,u=>{const{x:c,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:Le(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:Le(e.onSwipeEnd,u=>{const{x:c,y:f}=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",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),a(!1)})})})});Yy.displayName=al;var[eE,tE]=$y(al,{onClose(){}}),nE=S.forwardRef((e,t)=>
68{const{__scopeToast:n,type:r="foreground",duration:i,open:o,onClose:l,onEscapeKeyDown:s,onPause:a,onResume:u,onSwipeStart:c,onSwipeMove:f,onSwipeCancel:p,onSwipeEnd:d,...v}=e,m=la(al,n),[x,h]=S.useState(null),g=qt(t,F=>h(F)),y=S.useRef(null),b=S.useRef(null),P=i||m.duration,E=S.useRef(0),T=S.useRef(P),L=S.useRef(0),{onToastAdd:R,onToastRemove:A}=m,D=fr(()=>{var $;(x==null?void 0:x.contains(document.activeElement))&&(($=m.viewport)==null||$.focus()),l()}),O=S.useCallback(F=>{!F||F===1/0||(window.clearTimeout(L.current),E.current=new Date().getTime(),L.current=window.setTimeout(D,F))},[D]);S.useEffect(()=>{const F=m.viewport;if(F){const $=()=>{O(T.current),u==null||u()},W=()=>{const Y=new Date().getTime()-E.current;T.current=T.current-Y,window.clearTimeout(L.current),a==null||a()};return F.addEventListener(pc,W),F.addEventListener(hc,$),()=>{F.removeEventListener(pc,W),F.removeEventListener(hc,$)}}},[m.viewport,P,a,u,O]),S.useEffect(()=>{o&&!m.isClosePausedRef.current&&O(P)},[o,P,m.isClosePausedRef,O]),S.useEffect(()=>(R(),()=>A()),[R,A]);const H=S.useMemo(()=>x?ev(x):null,[x]);return m.viewport?C.jsxs(C.Fragment,{children:[H&&C.jsx(rE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:H}),C.jsx(eE,{scope:n,onClose:D,children:ll.createPortal(C.jsx(_d.ItemSlot,{scope:n,children:C.jsx(Ok,{asChild:!0,onEscapeKeyDown:Le(s,()=>{m.isFocusedToastEscapeKeyDownRef.current||D(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:C.jsx(ut.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":m.swipeDirection,...v,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Le(e.onKeyDown,F=>{F.key==="Escape"&&(s==null||s(F.nativeEvent),F.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,D()))}),onPointerDown:Le(e.onPointerDown,F=>{F.button===0&&(y.current={x:F.clientX,y:F.clientY})}),onPointerMove:Le(e.onPointerMove,F=>{if(!y.current)return;const $=F.clientX-y.current.x,W=F.clientY-y.current.y,Y=!!b.current,I=["left","right"].includes(m.swipeDirection),M=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,w=I?M(0,$):0,q=I?0:M(0,W),Q=F.pointerType==="touch"?10:2,k={x:w,y:q},G={originalEvent:F,delta:k};Y?(b.current=k,_l(Xk,f,G,{discrete:!1})):Up(k,m.swipeDirection,Q)?(b.current=k,_l(Kk,c,G,{discrete:!1}),F.target.setPointerCapture(F.pointerId)):(Math.abs($)>Q||Math.abs(W)>Q)&&(y.current=null)}),onPointerUp:Le(e.onPointerUp,F=>{const $=b.current,W=F.target;if(W.hasPointerCapture(F.pointerId)&&W.releasePointerCapture(F.pointerId),b.current=null,y.current=null,$){const Y=F.currentTarget,I={originalEvent:F,delta:$};Up($,m.swipeDirection,m.swipeThreshold)?_l(Jk,d,I,{discrete:!0}):_l(Zk,p,I,{discrete:!0}),Y.addEventListener("click",M=>M.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),rE=e=>{const{__scopeToast:t,children:n,...r}=e,i=la(al,t),[o,l]=S.useState(!1),[s,a]=S.useState(!1);return lE(()=>l(!0)),S.useEffect(()=>{const u=window.setTimeout(()=>a(!0),1e3);return()=>window.clearTimeout(u)},[]),s?null:C.jsx(Uy,{asChild:!0,children:C.jsx(oa,{...r,children:o&&C.jsxs(C.Fragment,{children:[i.label," ",n]})})})},iE="ToastTitle",qy=S.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return C.jsx(ut.div,{...r,ref:t})});qy.displayName=iE;var oE="ToastDescription",Gy=S.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return C.jsx(ut.div,{...r,ref:t})});Gy.displayName=oE;var Ky="ToastAction",Xy=S.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?C.jsx(Jy,{altText:n,asChild:!0,children:C.jsx(Md,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Ky}\`. Expected non-empty \`string\`.`),null)});Xy.displayName=Ky;var Zy="ToastClose",Md=S.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=tE(Zy,n);return C.jsx(Jy,{asChild:!0,children:C.jsx(ut.button,{type:"button",...r,ref:t,onClick:Le(e.onClick,i.onClose)})})});Md.displayName=Zy;var Jy=S.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return C.jsx(ut.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function ev(e){const t=[];
vendor: 4,205 bytes, lines 68-93
68return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),sE(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",o=r.dataset.radixToastAnnounceExclude==="";if(!i)if(o){const l=r.dataset.radixToastAnnounceAlt;l&&t.push(l)}else t.push(...ev(r))}}),t}function _l(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?Fy(i,o):i.dispatchEvent(o)}var Up=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),o=r>i;return t==="left"||t==="right"?o&&r>n:!o&&i>n};function lE(e=()=>{}){const t=fr(e);pr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function sE(e){return e.nodeType===e.ELEMENT_NODE}function aE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ka(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var uE=Vy,tv=Wy,nv=Yy,rv=qy,iv=Gy,ov=Xy,lv=Md;function sv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=sv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function av(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=sv(e))&&(r&&(r+=" "),r+=t);return r}const $p=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Vp=av,cE=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Vp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,l=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],f=o==null?void 0:o[u];if(c===null)return null;const p=$p(c)||$p(f);return i[u][p]}),s=n&&Object.entries(n).reduce((u,c)=>{let[f,p]=c;return p===void 0||(u[f]=p),u},{}),a=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:f,className:p,...d}=c;return Object.entries(d).every(v=>{let[m,x]=v;return Array.isArray(x)?x.includes({...o,...s}[m]):{...o,...s}[m]===x})?[...u,f,p]:u},[]);return Vp(e,l,a,n==null?void 0:n.class,n==null?void 0:n.className)};/** 69 * @license lucide-react v0.462.0 - ISC 70 * 71 * This source code is licensed under the ISC license. 72 * See the LICENSE file in the root directory of this source tree. 73 */const dE=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),uv=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** 74 * @license lucide-react v0.462.0 - ISC 75 * 76 * This source code is licensed under the ISC license. 77 * See the LICENSE file in the root directory of this source tree. 78 */var fE={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"};/** 79 * @license lucide-react v0.462.0 - ISC 80 * 81 * This source code is licensed under the ISC license. 82 * See the LICENSE file in the root directory of this source tree. 83 */const pE=S.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:l,...s},a)=>S.createElement("svg",{ref:a,...fE,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:uv("lucide",i),...s},[...l.map(([u,c])=>S.createElement(u,c)),...Array.isArray(o)?o:[o]]));/** 84 * @license lucide-react v0.462.0 - ISC 85 * 86 * This source code is licensed under the ISC license. 87 * See the LICENSE file in the root directory of this source tree. 88 */const hE=(e,t)=>{const n=S.forwardRef(({className:r,...i},o)=>S.createElement(pE,{ref:o,iconNode:t,className:uv(`lucide-${dE(e)}`,r),...i}));return n.displayName=`${e}`,n};/** 89 * @license lucide-react v0.462.0 - ISC 90 * 91 * This source code is licensed under the ISC license. 92 * See the LICENSE file in the root directory of this source tree. 93 */const mE=hE("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,913 bytes, line 93
93],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Dd="-",gE=e=>{const t=vE(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const s=l.split(Dd);return s[0]===""&&s.length!==1&&s.shift(),cv(s,t)||yE(l)},getConflictingClassGroupIds:(l,s)=>{const a=n[l]||[];return s&&r[l]?[...a,...r[l]]:a}}},cv=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?cv(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(Dd);return(l=t.validators.find(({validator:s})=>s(o)))==null?void 0:l.classGroupId},Hp=/^\[(.+)\]$/,yE=e=>{if(Hp.test(e)){const t=Hp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},vE=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return wE(Object.entries(e.classGroups),n).forEach(([o,l])=>{gc(l,r,o,t)}),r},gc=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:Wp(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(xE(i)){gc(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,l])=>{gc(l,Wp(t,o),n,r)})})},Wp=(e,t)=>{let n=e;return t.split(Dd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},xE=e=>e.isThemeGetter,wE=(e,t)=>t?e.map(([n,r])=>{const i=r.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([l,s])=>[t+l,s])):o);return[n,i]}):e,SE=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,l)=>{n.set(o,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let l=n.get(o);if(l!==void 0)return l;if((l=r.get(o))!==void 0)return i(o,l),l},set(o,l){n.has(o)?n.set(o,l):i(o,l)}}},dv="!",kE=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],o=t.length,l=s=>{const a=[];let u=0,c=0,f;for(let x=0;x<s.length;x++){let h=s[x];if(u===0){if(h===i&&(r||s.slice(x,x+o)===t)){a.push(s.slice(c,x)),c=x+o;continue}if(h==="/"){f=x;continue}}h==="["?u++:h==="]"&&u--}const p=a.length===0?s:s.substring(c),d=p.startsWith(dv),v=d?p.substring(1):p,m=f&&f>c?f-c:void 0;return{modifiers:a,hasImportantModifier:d,baseClassName:v,maybePostfixModifierPosition:m}};return n?s=>n({className:s,parseClassName:l}):l},EE=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},bE=e=>({cache:SE(e.cacheSize),parseClassName:kE(e),...gE(e)}),CE=/\s+/,PE=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i}=t,o=[],l=e.trim().split(CE);let s="";for(let a=l.length-1;a>=0;a-=1){const u=l[a],{modifiers:c,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:d}=n(u);let v=!!d,m=r(v?p.substring(0,d):p);if(!m){if(!v){s=u+(s.length>0?" "+s:s);continue}if(m=r(p),!m){s=u+(s.length>0?" "+s:s);continue}v=!1}const x=EE(c).join(":"),h=f?x+dv:x,g=h+m;if(o.includes(g))continue;o.push(g);const y=i(m,v);for(let b=0;b<y.length;++b){const P=y[b];o.push(h+P)}s=u+(s.length>0?" "+s:s)}return s};function TE(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=fv(t))&&(r&&(r+=" "),r+=n);return r}const fv=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=fv(e[r]))&&(n&&(n+=" "),n+=t);return n};function RE(e,...t){let n,r,i,o=l;function l(a){const u=t.reduce((c,f)=>f(c),e());return n=bE(u),r=n.cache.get,i=n.cache.set,o=s,s(a)}function s(a){const u=r(a);if(u)return u;const c=PE(a,n);return i(a,c),c}return function(){return o(TE.apply(null,arguments))}}const ge=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},pv=/^\[(?:([a-z-]+):)?(.+)\]$/i,NE=/^\d+\/\d+$/,AE=new Set(["px","full","screen"]),IE=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,LE=/\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$/,OE=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,_E=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ME=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,yn=e=>Si(e)||AE.has(e)||NE.test(e),jn=e=>Yi(e,"length",VE),Si=e=>!!e&&!Number.isNaN(Number(e)),Xa=e=>Yi(e,"number",Si),so=e=>!!e&&Number.isInteger(Number(e)),DE=e=>e.endsWith("%")&&Si(e.slice(0,-1)),ee=e=>pv.test(e),Bn=e=>IE.test(e),FE=new Set(["length","size","percentage"]),zE=e=>Yi(e,FE,hv),jE=e=>Yi(e,"position",hv),BE=new Set(["image","url"]),UE=e=>Yi(e,BE,WE),$E=e=>Yi(e,"",HE),ao=()=>!0,Yi=(e,t,n)=>{const r=pv.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},VE=e=>LE.test(e)&&!OE.test(e),hv=()=>!1,HE=e=>_E.test(e),WE=e=>ME.test(e),QE=()=>{const e=ge("colors"),t=ge("spacing"),n=ge("blur"),r=ge("brightness"),i=ge("borderColor"),o=ge("borderRadius"),l=ge("borderSpacing"),s=ge("borderWidth"),a=ge("contrast"),u=ge("grayscale"),c=ge("hueRotate"),f=ge("invert"),p=ge("gap"),d=ge("gradientColorStops"),v=ge("gradientColorStopPositions"),m=ge("inset"),x=ge("margin"),h=ge("opacity"),g=ge("padding"),y=ge("saturate"),b=ge("scale"),P=ge("sepia"),E=ge("skew"),T=ge("space"),L=ge("translate"),R=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",ee,t],O=()=>[ee,t],H=()=>["",yn,jn],F=()=>["auto",Si,ee],$=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],Y=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],I=()=>["start","end","center","between","around","evenly","stretch"],M=()=>["","0",ee],w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>[Si,ee];return{cacheSize:500,separator:":",theme:{colors:[ao],spacing:[yn,jn],blur:["none","",Bn,ee],brightness:q(),borderColor:[e],borderRadius:["n
93one","","full",Bn,ee],borderSpacing:O(),borderWidth:H(),contrast:q(),grayscale:M(),hueRotate:q(),invert:M(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[DE,jn],inset:D(),margin:D(),opacity:q(),padding:O(),saturate:q(),scale:q(),sepia:M(),skew:q(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",ee]}],container:["container"],columns:[{columns:[Bn]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"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:[...$(),ee]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",so,ee]}],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",ee]}],grow:[{grow:M()}],shrink:[{shrink:M()}],order:[{order:["first","last","none",so,ee]}],"grid-cols":[{"grid-cols":[ao]}],"col-start-end":[{col:["auto",{span:["full",so,ee]},ee]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[ao]}],"row-start-end":[{row:["auto",{span:[so,ee]},ee]}],"row-start":[{"row-start":F()}],"row-end":[{"row-end":F()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ee]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ee]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...I()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...I(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...I(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[T]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[T]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ee,t]}],"min-w":[{"min-w":[ee,t,"min","max","fit"]}],"max-w":[{"max-w":[ee,t,"none","full","min","max","fit","prose",{screen:[Bn]},Bn]}],h:[{h:[ee,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ee,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ee,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Bn,jn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Xa]}],"font-family":[{font:[ao]}],"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",ee]}],"line-clamp":[{"line-clamp":["none",Si,Xa]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",yn,ee]}],"list-image":[{"list-image":["none",ee]}],"list-style-type":[{list:["none","disc","decimal",ee]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[h]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",yn,jn]}],"underline-offset":[{"underline-offset":["auto",yn,ee]}],"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:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ee]}],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",ee]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[h]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...$(),jE]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zE]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},UE]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[v]}
vendor: 4,885 bytes, line 93
93],"gradient-via-pos":[{via:[v]}],"gradient-to-pos":[{to:[v]}],"gradient-from":[{from:[d]}],"gradient-via":[{via:[d]}],"gradient-to":[{to:[d]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[h]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[h]}],"divide-style":[{divide:W()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[yn,ee]}],"outline-w":[{outline:[yn,jn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:H()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[h]}],"ring-offset-w":[{"ring-offset":[yn,jn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Bn,$E]}],"shadow-color":[{shadow:[ao]}],opacity:[{opacity:[h]}],"mix-blend":[{"mix-blend":[...Y(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Y()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[a]}],"drop-shadow":[{"drop-shadow":["","none",Bn,ee]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[f]}],saturate:[{saturate:[y]}],sepia:[{sepia:[P]}],"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":[c]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[h]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[l]}],"border-spacing-x":[{"border-spacing-x":[l]}],"border-spacing-y":[{"border-spacing-y":[l]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ee]}],duration:[{duration:q()}],ease:[{ease:["linear","in","out","in-out",ee]}],delay:[{delay:q()}],animate:[{animate:["none","spin","ping","pulse","bounce",ee]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[so,ee]}],"translate-x":[{"translate-x":[L]}],"translate-y":[{"translate-y":[L]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ee]}],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",ee]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}
vendor: 4,783 bytes, line 93
93],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"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",ee]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[yn,jn,Xa]}],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"]}}},YE=RE(QE);function Kr(...e){return YE(av(e))}const qE=uE,mv=S.forwardRef(({className:e,...t},n)=>C.jsx(tv,{ref:n,className:Kr("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}));mv.displayName=tv.displayName;const GE=cE("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"}}),gv=S.forwardRef(({className:e,variant:t,...n},r)=>C.jsx(nv,{ref:r,className:Kr(GE({variant:t}),e),...n}));gv.displayName=nv.displayName;const KE=S.forwardRef(({className:e,...t},n)=>C.jsx(ov,{ref:n,className:Kr("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}));
vendor: 4,188 bytes, line 93
93KE.displayName=ov.displayName;const yv=S.forwardRef(({className:e,...t},n)=>C.jsx(lv,{ref:n,className:Kr("absolute right-2 top-2 rounded-md p-1 text-foreground/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(mE,{className:"h-4 w-4"})}));yv.displayName=lv.displayName;const vv=S.forwardRef(({className:e,...t},n)=>C.jsx(rv,{ref:n,className:Kr("text-sm font-semibold",e),...t}));vv.displayName=rv.displayName;const xv=S.forwardRef(({className:e,...t},n)=>C.jsx(iv,{ref:n,className:Kr("text-sm opacity-90",e),...t}));xv.displayName=iv.displayName;function XE(){const{toasts:e}=yk();return C.jsxs(qE,{children:[e.map(function({id:t,title:n,description:r,action:i,...o}){return C.jsxs(gv,{...o,children:[C.jsxs("div",{className:"grid gap-1",children:[n&&C.jsx(vv,{children:n}),r&&C.jsx(xv,{children:r})]}),i,C.jsx(yv,{})]},t)}),C.jsx(mv,{})]})}const ZE=["top","right","bottom","left"],hr=Math.min,gt=Math.max,Ls=Math.round,Ml=Math.floor,dn=e=>({x:e,y:e}),JE={left:"right",right:"left",bottom:"top",top:"bottom"},eb={start:"end",end:"start"};function yc(e,t,n){return gt(e,hr(t,n))}function Nn(e,t){return typeof e=="function"?e(t):e}function An(e){return e.split("-")[0]}function qi(e){return e.split("-")[1]}function Fd(e){return e==="x"?"y":"x"}function zd(e){return e==="y"?"height":"width"}const tb=new Set(["top","bottom"]);function an(e){return tb.has(An(e))?"y":"x"}function jd(e){return Fd(an(e))}function nb(e,t,n){n===void 0&&(n=!1);const r=qi(e),i=jd(e),o=zd(i);let l=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[o]>t.floating[o]&&(l=Os(l)),[l,Os(l)]}function rb(e){const t=Os(e);return[vc(e),t,vc(t)]}function vc(e){return e.replace(/start|end/g,t=>eb[t])}const Qp=["left","right"],Yp=["right","left"],ib=["top","bottom"],ob=["bottom","top"];function lb(e,t,n){switch(e){case"top":case"bottom":return n?t?Yp:Qp:t?Qp:Yp;case"left":case"right":return t?ib:ob;default:return[]}}function sb(e,t,n,r){const i=qi(e);let o=lb(An(e),n==="start",r);return i&&(o=o.map(l=>l+"-"+i),t&&(o=o.concat(o.map(vc)))),o}function Os(e){return e.replace(/left|right|bottom|top/g,t=>JE[t])}function ab(e){return{top:0,right:0,bottom:0,left:0,...e}}function wv(e){return typeof e!="number"?ab(e):{top:e,right:e,bottom:e,left:e}}function _s(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function qp(e,t,n){let{reference:r,floating:i}=e;const o=an(t),l=jd(t),s=zd(l),a=An(t),u=o==="y",c=r.x+r.width/2-i.width/2,f=r.y+r.height/2-i.height/2,p=r[s]/2-i[s]/2;let d;switch(a){case"top":d={x:c,y:r.y-i.height};break;case"bottom":d={x:c,y:r.y+r.height};break;case"right":d={x:r.x+r.width,y:f};break;case"left":d={x:r.x-i.width,y:f};break;default:d={x:r.x,y:r.y}}switch(qi(t)){case"start":d[l]-=p*(n&&u?-1:1);break;case"end":d[l]+=p*(n&&u?-1:1);break}return d}const ub=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:o=[],platform:l}=n,s=o.filter(Boolean),a=await(l.isRTL==null?void 0:l.isRTL(t));let u=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:f}=qp(u,r,a),p=r,d={},v=0;for(let m=0;m<s.length;m++){const{name:x,fn:h}=s[m],{x:g,y,data:b,reset:P}=await h({x:c,y:f,initialPlacement:r,placement:p,strategy:i,middlewareData:d,rects:u,platform:l,elements:{reference:e,floating:t}});c=g??c,f=y??f,d={...d,[x]:{...d[x],...b}},P&&v<=50&&(v++,typeof P=="object"&&(P.placement&&(p=P.placement),P.rects&&(u=P.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):P.rects),{x:c,y:f}=qp(u,p,a)),m=-1)}return{x:c,y:f,placement:p,strategy:i,middlewareData:d}};async function Ko(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:l,elements:s,strategy:a}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=Nn(t,e),v=wv(d),x=s[p?f==="floating"?"reference":"floating":f],h=_s(await o.getClippingRect
vendor: 8,960 bytes, line 93
93({element:(n=await(o.isElement==null?void 0:o.isElement(x)))==null||n?x:x.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:a})),g=f==="floating"?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,y=await(o.getOffsetParent==null?void 0:o.getOffsetParent(s.floating)),b=await(o.isElement==null?void 0:o.isElement(y))?await(o.getScale==null?void 0:o.getScale(y))||{x:1,y:1}:{x:1,y:1},P=_s(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:g,offsetParent:y,strategy:a}):g);return{top:(h.top-P.top+v.top)/b.y,bottom:(P.bottom-h.bottom+v.bottom)/b.y,left:(h.left-P.left+v.left)/b.x,right:(P.right-h.right+v.right)/b.x}}const cb=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:l,elements:s,middlewareData:a}=t,{element:u,padding:c=0}=Nn(e,t)||{};if(u==null)return{};const f=wv(c),p={x:n,y:r},d=jd(i),v=zd(d),m=await l.getDimensions(u),x=d==="y",h=x?"top":"left",g=x?"bottom":"right",y=x?"clientHeight":"clientWidth",b=o.reference[v]+o.reference[d]-p[d]-o.floating[v],P=p[d]-o.reference[d],E=await(l.getOffsetParent==null?void 0:l.getOffsetParent(u));let T=E?E[y]:0;(!T||!await(l.isElement==null?void 0:l.isElement(E)))&&(T=s.floating[y]||o.floating[v]);const L=b/2-P/2,R=T/2-m[v]/2-1,A=hr(f[h],R),D=hr(f[g],R),O=A,H=T-m[v]-D,F=T/2-m[v]/2+L,$=yc(O,F,H),W=!a.arrow&&qi(i)!=null&&F!==$&&o.reference[v]/2-(F<O?A:D)-m[v]/2<0,Y=W?F<O?F-O:F-H:0;return{[d]:p[d]+Y,data:{[d]:$,centerOffset:F-$-Y,...W&&{alignmentOffset:Y}},reset:W}}}),db=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:l,initialPlacement:s,platform:a,elements:u}=t,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:m=!0,...x}=Nn(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const h=An(i),g=an(s),y=An(s)===s,b=await(a.isRTL==null?void 0:a.isRTL(u.floating)),P=p||(y||!m?[Os(s)]:rb(s)),E=v!=="none";!p&&E&&P.push(...sb(s,m,v,b));const T=[s,...P],L=await Ko(t,x),R=[];let A=((r=o.flip)==null?void 0:r.overflows)||[];if(c&&R.push(L[h]),f){const F=nb(i,l,b);R.push(L[F[0]],L[F[1]])}if(A=[...A,{placement:i,overflows:R}],!R.every(F=>F<=0)){var D,O;const F=(((D=o.flip)==null?void 0:D.index)||0)+1,$=T[F];if($&&(!(f==="alignment"?g!==an($):!1)||A.every(I=>I.overflows[0]>0&&an(I.placement)===g)))return{data:{index:F,overflows:A},reset:{placement:$}};let W=(O=A.filter(Y=>Y.overflows[0]<=0).sort((Y,I)=>Y.overflows[1]-I.overflows[1])[0])==null?void 0:O.placement;if(!W)switch(d){case"bestFit":{var H;const Y=(H=A.filter(I=>{if(E){const M=an(I.placement);return M===g||M==="y"}return!0}).map(I=>[I.placement,I.overflows.filter(M=>M>0).reduce((M,w)=>M+w,0)]).sort((I,M)=>I[1]-M[1])[0])==null?void 0:H[0];Y&&(W=Y);break}case"initialPlacement":W=s;break}if(i!==W)return{reset:{placement:W}}}return{}}}};function Gp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Kp(e){return ZE.some(t=>e[t]>=0)}const fb=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=Nn(e,t);switch(r){case"referenceHidden":{const o=await Ko(t,{...i,elementContext:"reference"}),l=Gp(o,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:Kp(l)}}}case"escaped":{const o=await Ko(t,{...i,altBoundary:!0}),l=Gp(o,n.floating);return{data:{escapedOffsets:l,escaped:Kp(l)}}}default:return{}}}}},Sv=new Set(["left","top"]);async function pb(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),l=An(n),s=qi(n),a=an(n)==="y",u=Sv.has(l)?-1:1,c=o&&a?-1:1,f=Nn(t,e);let{mainAxis:p,crossAxis:d,alignmentAxis:v}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof v=="number"&&(d=s==="end"?v*-1:v),a?{x:d*c,y:p*u}:{x:p*u,y:d*c}}const hb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:o,placement:l,middlewareData:s}=t,a=await pb(t,e);return l===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:i+a.x,y:o+a.y,data:{...a,placement:l}}}}},mb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:s={fn:x=>{let{x:h,y:g}=x;return{x:h,y:g}}},...a}=Nn(e,t),u={x:n,y:r},c=await Ko(t,a),f=an(An(i)),p=Fd(f);let d=u[p],v=u[f];if(o){const x=p==="y"?"top":"left",h=p==="y"?"bottom":"right",g=d+c[x],y=d-c[h];d=yc(g,d,y)}if(l){const x=f==="y"?"top":"left",h=f==="y"?"bottom":"right",g=v+c[x],y=v-c[h];v=yc(g,v,y)}const m=s.fn({...t,[p]:d,[f]:v});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[p]:o,[f]:l}}}}}},gb=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:s=0,mainAxis:a=!0,crossAxis:u=!0}=Nn(e,t),c={x:n,y:r},f=an(i),p=Fd(f);let d=c[p],v=c[f];const m=Nn(s,t),x=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(a){const y=p==="y"?"height":"width",b=o.reference[p]-o.floating[y]+x.mainAxis,P=o.reference[p]+o.reference[y]-x.mainAxis;d<b?d=b:d>P&&(d=P)}if(u){var h,g;const y=p==="y"?"width":"height",b=Sv.has(An(i)),P=o.reference[f]-o.floating[y]+(b&&((h=l.offset)==null?void 0:h[f])||0)+(b?0:x.crossAxis),E=o.reference[f]+o.reference[y]+(b?0:((g=l.offset)==null?void 0:g[f])||0)-(b?x.crossAxis:0);v<P?v=P:v>E&&(v=E)}return{[p]:d,[f]:v}}}},yb=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:l,elements:s}=t,{apply:a=()=>{},...u}=Nn(e,t),c=await Ko(t,u),f=An(i),p=qi(i),d=an(i)==="y",{width:v,height:m}=o.floating;let x,h;f==="top"||f==="bottom"?(x=f,h=p===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(h=f,x=p==="end"?"top":"bottom");const g=m-c.top-c.bottom,y=v-c.left-c.right,b=hr(m-c[x],g),P=hr(v-c[h],y),E=!t.middlewareData.shift;let T=b,L=P;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(L=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(T=g),E&&!p){const A=gt(c.left,0),D=gt(c.right,0),O=gt(c.top,0),H=gt(c.bottom,0);d?L=v-2*(A!==0||D!==0?A+D:gt(c.left,c.right)):T=m-2*(O!==0||H!==0?O+H:gt(c.top,c.bottom))}await a({...t,availableWidth:L,availableHeight:T});const R=await l.getDimensions(s.floating);return v!==R.width||m!==R.height?{reset:{rects:!0}}:{}}}};function sa(){return typeof window<"u"}function Gi(e){return kv(e)?(e.nodeName||"").toLowerCase():"#document"}function wt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function hn(e){var t;return(t=(kv(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function kv(e){return sa()?e instanceof Node||e instanceof wt(e).Node:!1}function Gt(e){return sa()?e instanceof Element||e instanceof wt(e).Element:!1}function fn(e){return sa()?e instanceof HTMLElement||e instanceof wt(e).HTMLElement:!1}function Xp(e){return!sa()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof wt(e).ShadowRoot}const vb=new Set(["inline","contents"]);function ul(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Kt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!vb.has(i)}const xb=new Set(["table","td","th"]);function wb(e){return xb.has(Gi(e))}const Sb=[":popover-open",":modal"];function aa(e){return Sb.some(t=>{try{return e.matches(t)}catch{return!1}})}const kb=["transform","translate","scale","rotate","perspective"],Eb=["transform","translate","scale","rotate","perspective","filter"],bb=["paint","layout","strict","content"];function Bd(e){const t=Ud(),n=Gt(e)?Kt(e):e;return kb.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)||Eb.some(r=>(n.willChange||"").includes(r))||bb.some(r=>(n.contain||"").includes(r))}function Cb(e){let t=mr(e);for(;fn(t)&&!Bi(t);){if(Bd(t))return t;if(aa(t))return null;t=mr(t)}return null}function Ud(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Pb=new Set(["html","body","#document"]);function Bi(e){return Pb.has(Gi(e))}function Kt(e){return wt(e).getComputedStyle(e)}function ua(e){return Gt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function mr(e){if(Gi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Xp(e)&&e.host||hn(e);return Xp(t)?t.host:t}function Ev(e){const t=mr(e);return Bi(t)?e.ownerDocument?e.ownerDocument.body:e.body:fn(t)&&ul(t)?t:Ev(t)}function Xo(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=Ev(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),l=wt(i);if(o){const s=xc(l);
vendor: 6,504 bytes, line 93
93return t.concat(l,l.visualViewport||[],ul(i)?i:[],s&&n?Xo(s):[])}return t.concat(i,Xo(i,[],n))}function xc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function bv(e){const t=Kt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=fn(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,s=Ls(n)!==o||Ls(r)!==l;return s&&(n=o,r=l),{width:n,height:r,$:s}}function $d(e){return Gt(e)?e:e.contextElement}function ki(e){const t=$d(e);if(!fn(t))return dn(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=bv(t);let l=(o?Ls(n.width):n.width)/r,s=(o?Ls(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const Tb=dn(0);function Cv(e){const t=wt(e);return!Ud()||!t.visualViewport?Tb:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Rb(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==wt(e)?!1:t}function Wr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=$d(e);let l=dn(1);t&&(r?Gt(r)&&(l=ki(r)):l=ki(e));const s=Rb(o,n,r)?Cv(o):dn(0);let a=(i.left+s.x)/l.x,u=(i.top+s.y)/l.y,c=i.width/l.x,f=i.height/l.y;if(o){const p=wt(o),d=r&&Gt(r)?wt(r):r;let v=p,m=xc(v);for(;m&&r&&d!==v;){const x=ki(m),h=m.getBoundingClientRect(),g=Kt(m),y=h.left+(m.clientLeft+parseFloat(g.paddingLeft))*x.x,b=h.top+(m.clientTop+parseFloat(g.paddingTop))*x.y;a*=x.x,u*=x.y,c*=x.x,f*=x.y,a+=y,u+=b,v=wt(m),m=xc(v)}}return _s({width:c,height:f,x:a,y:u})}function Vd(e,t){const n=ua(e).scrollLeft;return t?t.left+n:Wr(hn(e)).left+n}function Pv(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:Vd(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function Nb(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i==="fixed",l=hn(r),s=t?aa(t.floating):!1;if(r===l||s&&o)return n;let a={scrollLeft:0,scrollTop:0},u=dn(1);const c=dn(0),f=fn(r);if((f||!f&&!o)&&((Gi(r)!=="body"||ul(l))&&(a=ua(r)),fn(r))){const d=Wr(r);u=ki(r),c.x=d.x+r.clientLeft,c.y=d.y+r.clientTop}const p=l&&!f&&!o?Pv(l,a,!0):dn(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-a.scrollLeft*u.x+c.x+p.x,y:n.y*u.y-a.scrollTop*u.y+c.y+p.y}}function Ab(e){return Array.from(e.getClientRects())}function Ib(e){const t=hn(e),n=ua(e),r=e.ownerDocument.body,i=gt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=gt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+Vd(e);const s=-n.scrollTop;return Kt(r).direction==="rtl"&&(l+=gt(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:s}}function Lb(e,t){const n=wt(e),r=hn(e),i=n.visualViewport;let o=r.clientWidth,l=r.clientHeight,s=0,a=0;if(i){o=i.width,l=i.height;const u=Ud();(!u||u&&t==="fixed")&&(s=i.offsetLeft,a=i.offsetTop)}return{width:o,height:l,x:s,y:a}}const Ob=new Set(["absolute","fixed"]);function _b(e,t){const n=Wr(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=fn(e)?ki(e):dn(1),l=e.clientWidth*o.x,s=e.clientHeight*o.y,a=i*o.x,u=r*o.y;return{width:l,height:s,x:a,y:u}}function Zp(e,t,n){let r;if(t==="viewport")r=Lb(e,n);else if(t==="document")r=Ib(hn(e));else if(Gt(t))r=_b(t,n);else{const i=Cv(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return _s(r)}function Tv(e,t){const n=mr(e);return n===t||!Gt(n)||Bi(n)?!1:Kt(n).position==="fixed"||Tv(n,t)}function Mb(e,t){const n=t.get(e);if(n)return n;let r=Xo(e,[],!1).filter(s=>Gt(s)&&Gi(s)!=="body"),i=null;const o=Kt(e).position==="fixed";let l=o?mr(e):e;for(;Gt(l)&&!Bi(l);){const s=Kt(l),a=Bd(l);!a&&s.position==="fixed"&&(i=null),(o?!a&&!i:!a&&s.position==="static"&&!!i&&Ob.has(i.position)||ul(l)&&!a&&Tv(e,l))?r=r.filter(c=>c!==l):i=s,l=mr(l)}return t.set(e,r),r}function Db(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const l=[...n==="clippingAncestors"?aa(t)?[]:Mb(t,this._c):[].concat(n),r],s=l[0],a=l.reduce((u,c)=>{const f=Zp(t,c,i);return u.top=gt(f.top,u.top),u.right=hr(f.right,u.right),u.bottom=hr(f.bottom,u.bottom),u.left=gt(f.left,u.left),u},Zp(t,s,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function Fb(e){const{width:t,height:n}=bv(e);return{width:t,height:n}}function zb(e,t,n){const r=fn(t),i=hn(t),o=n==="fixed",l=Wr(e,!0,o,t);let s={scrollLeft:0,scrollTop:0};const a=dn(0);function u(){a.x=Vd(i)}if(r||!r&&!o)if((Gi(t)!=="body"||ul(i))&&(s=ua(t)),r){const d=Wr(t,!0,o,t);a.x=d.x+t.clientLeft,a.y=d.y+t.clientTop}else i&&u();o&&!r&&i&&u();const c=i&&!r&&!o?Pv(i,s):dn(0),f=l.left+s.scrollLeft-a.x-c.x,p=l.top+s.scrollTop-a.y-c.y;return{x:f,y:p,width:l.width,height:l.height}}function Za(e){return Kt(e).position==="static"}function Jp(e,t){if(!fn(e)||Kt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return hn(e)===n&&(n=n.ownerDocument.body),n}function Rv(e,t){const n=wt(e);if(aa(e))return n;if(!fn(e)){let i=mr(e);for(;i&&!Bi(i);){if(Gt(i)&&!Za(i))return i;i=mr(i)}return n}let r=Jp(e,t);for(;r&&wb(r)&&Za(r);)r=Jp(r,t);return r&&Bi(r)&&Za(r)&&!Bd(r)?n:r||Cb(e)||n}const jb=async function(e){const t=this.getOffsetParent||Rv,n=this.getDimensions,r=await n(e.floating);return{reference:zb(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Bb(e){return Kt(e).direction==="rtl"}const Ub={convertOffsetParentRelativeRectToViewportRelativeRect:Nb,getDocumentElement:hn,getClippingRect:Db,getOffsetParent:Rv,getElementRects:jb,getClientRects:Ab,getDimensions:Fb,getScale:ki,isElement:Gt,isRTL:Bb};function Nv(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function $b(e,t){let n=null,r;const i=hn(e);function o(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function l(s,a){s===void 0&&(s=!1),a===void 0&&(a=1),o();const u=e.getBoundingClientRect(),{left:c,top:f,width:p,height:d}=u;if(s||t(),!p||!d)return;const v=Ml(f),m=Ml(i.clientWidth-(c+p)),x=Ml(i.clientHeight-(f+d)),h=Ml(c),y={rootMargin:-v+"px "+-m+"px "+-x+"px "+-h+"px",threshold:gt(0,hr(1,a))||1};let b=!0;function P(E){const T=E[0].intersectionRatio;if(T!==a){if(!b)return l();T?l(!1,T):r=setTimeout(()=>{l(!1,1e-7)},1e3)}T===1&&!Nv(u,e.getBoundingClientRect())&&l(),b=!1}try{n=new IntersectionObserver(P,{...y,root:i.ownerDocument})}catch{n=new IntersectionObserver(P,y)}n.observe(e)}return l(!0),o}function Vb(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:a=!1}=r,u=$d(e),c=i||o?[...u?Xo(u):[],...Xo(t)]:[];
vendor: 9,191 bytes, line 93
93c.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),o&&h.addEventListener("resize",n)});const f=u&&s?$b(u,n):null;let p=-1,d=null;l&&(d=new ResizeObserver(h=>{let[g]=h;g&&g.target===u&&d&&(d.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=d)==null||y.observe(t)})),n()}),u&&!a&&d.observe(u),d.observe(t));let v,m=a?Wr(e):null;a&&x();function x(){const h=Wr(e);m&&!Nv(m,h)&&n(),m=h,v=requestAnimationFrame(x)}return n(),()=>{var h;c.forEach(g=>{i&&g.removeEventListener("scroll",n),o&&g.removeEventListener("resize",n)}),f==null||f(),(h=d)==null||h.disconnect(),d=null,a&&cancelAnimationFrame(v)}}const Hb=hb,Wb=mb,Qb=db,Yb=yb,qb=fb,eh=cb,Gb=gb,Kb=(e,t,n)=>{const r=new Map,i={platform:Ub,...n},o={...i.platform,_c:r};return ub(e,t,{...i,platform:o})};var Xb=typeof document<"u",Zb=function(){},ts=Xb?S.useLayoutEffect:Zb;function Ms(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,i;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(!Ms(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o==="_owner"&&e.$$typeof)&&!Ms(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function Av(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function th(e,t){const n=Av(e);return Math.round(t*n)/n}function Ja(e){const t=S.useRef(e);return ts(()=>{t.current=e}),t}function Jb(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:s=!0,whileElementsMounted:a,open:u}=e,[c,f]=S.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,d]=S.useState(r);Ms(p,r)||d(r);const[v,m]=S.useState(null),[x,h]=S.useState(null),g=S.useCallback(I=>{I!==E.current&&(E.current=I,m(I))},[]),y=S.useCallback(I=>{I!==T.current&&(T.current=I,h(I))},[]),b=o||v,P=l||x,E=S.useRef(null),T=S.useRef(null),L=S.useRef(c),R=a!=null,A=Ja(a),D=Ja(i),O=Ja(u),H=S.useCallback(()=>{if(!E.current||!T.current)return;const I={placement:t,strategy:n,middleware:p};D.current&&(I.platform=D.current),Kb(E.current,T.current,I).then(M=>{const w={...M,isPositioned:O.current!==!1};F.current&&!Ms(L.current,w)&&(L.current=w,ll.flushSync(()=>{f(w)}))})},[p,t,n,D,O]);ts(()=>{u===!1&&L.current.isPositioned&&(L.current.isPositioned=!1,f(I=>({...I,isPositioned:!1})))},[u]);const F=S.useRef(!1);ts(()=>(F.current=!0,()=>{F.current=!1}),[]),ts(()=>{if(b&&(E.current=b),P&&(T.current=P),b&&P){if(A.current)return A.current(b,P,H);H()}},[b,P,H,A,R]);const $=S.useMemo(()=>({reference:E,floating:T,setReference:g,setFloating:y}),[g,y]),W=S.useMemo(()=>({reference:b,floating:P}),[b,P]),Y=S.useMemo(()=>{const I={position:n,left:0,top:0};if(!W.floating)return I;const M=th(W.floating,c.x),w=th(W.floating,c.y);return s?{...I,transform:"translate("+M+"px, "+w+"px)",...Av(W.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:M,top:w}},[n,s,W.floating,c.x,c.y]);return S.useMemo(()=>({...c,update:H,refs:$,elements:W,floatingStyles:Y}),[c,H,$,W,Y])}const eC=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?eh({element:r.current,padding:i}).fn(n):{}:r?eh({element:r,padding:i}).fn(n):{}}}},tC=(e,t)=>({...Hb(e),options:[e,t]}),nC=(e,t)=>({...Wb(e),options:[e,t]}),rC=(e,t)=>({...Gb(e),options:[e,t]}),iC=(e,t)=>({...Qb(e),options:[e,t]}),oC=(e,t)=>({...Yb(e),options:[e,t]}),lC=(e,t)=>({...qb(e),options:[e,t]}),sC=(e,t)=>({...eC(e),options:[e,t]});var aC="Arrow",Iv=S.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return C.jsx(ut.svg,{...o,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:C.jsx("polygon",{points:"0,0 30,0 15,10"})})});Iv.displayName=aC;var uC=Iv;function cC(e){const[t,n]=S.useState(void 0);return pr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let l,s;if("borderBoxSize"in o){const a=o.borderBoxSize,u=Array.isArray(a)?a[0]:a;l=u.inlineSize,s=u.blockSize}else l=e.offsetWidth,s=e.offsetHeight;n({width:l,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Lv="Popper",[Ov,_v]=ia(Lv),[VN,Mv]=Ov(Lv),Dv="PopperAnchor",Fv=S.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=Mv(Dv,n),l=S.useRef(null),s=qt(t,l);return S.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||l.current)}),r?null:C.jsx(ut.div,{...i,ref:s})});Fv.displayName=Dv;var Hd="PopperContent",[dC,fC]=Ov(Hd),zv=S.forwardRef((e,t)=>{var ie,Qe,Ye,et,dt,Ln;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:o="center",alignOffset:l=0,arrowPadding:s=0,avoidCollisions:a=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:f="partial",hideWhenDetached:p=!1,updatePositionStrategy:d="optimized",onPlaced:v,...m}=e,x=Mv(Hd,n),[h,g]=S.useState(null),y=qt(t,Xt=>g(Xt)),[b,P]=S.useState(null),E=cC(b),T=(E==null?void 0:E.width)??0,L=(E==null?void 0:E.height)??0,R=r+(o!=="center"?"-"+o:""),A=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},D=Array.isArray(u)?u:[u],O=D.length>0,H={padding:A,boundary:D.filter(hC),altBoundary:O},{refs:F,floatingStyles:$,placement:W,isPositioned:Y,middlewareData:I}=Jb({strategy:"fixed",placement:R,whileElementsMounted:(...Xt)=>Vb(...Xt,{animationFrame:d==="always"}),elements:{reference:x.anchor},middleware:[tC({mainAxis:i+L,alignmentAxis:l}),a&&nC({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?rC():void 0,...H}),a&&iC({...H}),oC({...H,apply:({elements:Xt,rects:Zr,availableWidth:Jr,availableHeight:wr})=>{const{width:ei,height:Sr}=Zr.reference,mn=Xt.floating.style;mn.setProperty("--radix-popper-available-width",`${Jr}px`),mn.setProperty("--radix-popper-available-height",`${wr}px`),mn.setProperty("--radix-popper-anchor-width",`${ei}px`),mn.setProperty("--radix-popper-anchor-height",`${Sr}px`)}}),b&&sC({element:b,padding:s}),mC({arrowWidth:T,arrowHeight:L}),p&&lC({strategy:"referenceHidden",...H})]}),[M,w]=Uv(W),q=fr(v);pr(()=>{Y&&(q==null||q())},[Y,q]);const Q=(ie=I.arrow)==null?void 0:ie.x,k=(Qe=I.arrow)==null?void 0:Qe.y,G=((Ye=I.arrow)==null?void 0:Ye.centerOffset)!==0,[de,oe]=S.useState();return pr(()=>{h&&oe(window.getComputedStyle(h).zIndex)},[h]),C.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...$,transform:Y?$.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:de,"--radix-popper-transform-origin":[(et=I.transformOrigin)==null?void 0:et.x,(dt=I.transformOrigin)==null?void 0:dt.y].join(" "),...((Ln=I.hide)==null?void 0:Ln.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:C.jsx(dC,{scope:n,placedSide:M,onArrowChange:P,arrowX:Q,arrowY:k,shouldHideArrow:G,children:C.jsx(ut.div,{"data-side":M,"data-align":w,...m,ref:y,style:{...m.style,animation:Y?void 0:"none"}})})})});zv.displayName=Hd;var jv="PopperArrow",pC={top:"bottom",right:"left",bottom:"top",left:"right"},Bv=S.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=fC(jv,r),l=pC[o.placedSide];return C.jsx("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[l]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0},children:C.jsx(uC,{...i,ref:n,style:{...i.style,display:"block"}})})});Bv.displayName=jv;function hC(e){return e!==null}var mC=e=>({name:"transformOrigin",options:e,fn(t){var x,h,g;const{placement:n,rects:r,middlewareData:i}=t,l=((x=i.arrow)==null?void 0:x.centerOffset)!==0,s=l?0:e.arrowWidth,a=l?0:e.arrowHeight,[u,c]=Uv(n),f={start:"0%",center:"50%",end:"100%"}[c],p=(((h=i.arrow)==null?void 0:h.x)??0)+s/2,d=(((g=i.arrow)==null?void 0:g.y)??0)+a/2;let v="",m="";return u==="bottom"?(v=l?f:`${p}px`,m=`${-a}px`):u==="top"?(v=l?f:`${p}px`,m=`${r.floating.height+a}px`):u==="right"?(v=`${-a}px`,m=l?f:`${d}px`):u==="left"&&(v=`${r.floating.width+a}px`,m=l?f:`${d}px`),{data:{x:v,y:m}}}});function Uv(e){const[t,n="center"]=e.split("-");return[t,n]}var gC=Fv,yC=zv,vC=Bv,[ca,HN]=ia("Tooltip",[_v]),Wd=_v(),$v="TooltipProvider",xC=700,nh="tooltip.open",[wC,Vv]=ca($v),Hv=e=>{const{__scopeTooltip:t,delayDuration:n=xC,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,l=S.useRef(!0),s=S.useRef(!1),a=S.useRef(0);return S.useEffect(()=>{const u=a.current;return()=>window.clearTimeout(u)},[]),C.jsx(wC,{scope:t,isOpenDelayedRef:l,delayDuration:n,onOpen:S.useCallback(()=>{window.clearTimeout(a.current),l.current=!1},[]),onClose:S.useCallback(()=>{window.clearTimeout(a.current),a.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:S.useCallback(u=>{s.current=u}
vendor: 5,364 bytes, line 93
93,[]),disableHoverableContent:i,children:o})};Hv.displayName=$v;var Wv="Tooltip",[WN,da]=ca(Wv),wc="TooltipTrigger",SC=S.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=da(wc,n),o=Vv(wc,n),l=Wd(n),s=S.useRef(null),a=qt(t,s,i.onTriggerChange),u=S.useRef(!1),c=S.useRef(!1),f=S.useCallback(()=>u.current=!1,[]);return S.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),C.jsx(gC,{asChild:!0,...l,children:C.jsx(ut.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:a,onPointerMove:Le(e.onPointerMove,p=>{p.pointerType!=="touch"&&!c.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:Le(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:Le(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:Le(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:Le(e.onBlur,i.onClose),onClick:Le(e.onClick,i.onClose)})})});SC.displayName=wc;var kC="TooltipPortal",[QN,EC]=ca(kC,{forceMount:void 0}),Ui="TooltipContent",Qv=S.forwardRef((e,t)=>{const n=EC(Ui,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...o}=e,l=da(Ui,e.__scopeTooltip);return C.jsx(Ld,{present:r||l.open,children:l.disableHoverableContent?C.jsx(Yv,{side:i,...o,ref:t}):C.jsx(bC,{side:i,...o,ref:t})})}),bC=S.forwardRef((e,t)=>{const n=da(Ui,e.__scopeTooltip),r=Vv(Ui,e.__scopeTooltip),i=S.useRef(null),o=qt(t,i),[l,s]=S.useState(null),{trigger:a,onClose:u}=n,c=i.current,{onPointerInTransitChange:f}=r,p=S.useCallback(()=>{s(null),f(!1)},[f]),d=S.useCallback((v,m)=>{const x=v.currentTarget,h={x:v.clientX,y:v.clientY},g=NC(h,x.getBoundingClientRect()),y=AC(h,g),b=IC(m.getBoundingClientRect()),P=OC([...y,...b]);s(P),f(!0)},[f]);return S.useEffect(()=>()=>p(),[p]),S.useEffect(()=>{if(a&&c){const v=x=>d(x,c),m=x=>d(x,a);return a.addEventListener("pointerleave",v),c.addEventListener("pointerleave",m),()=>{a.removeEventListener("pointerleave",v),c.removeEventListener("pointerleave",m)}}},[a,c,d,p]),S.useEffect(()=>{if(l){const v=m=>{const x=m.target,h={x:m.clientX,y:m.clientY},g=(a==null?void 0:a.contains(x))||(c==null?void 0:c.contains(x)),y=!LC(h,l);g?p():y&&(p(),u())};return document.addEventListener("pointermove",v),()=>document.removeEventListener("pointermove",v)}},[a,c,l,u,p]),C.jsx(Yv,{...e,ref:o})}),[CC,PC]=ca(Wv,{isInside:!1}),TC=wk("TooltipContent"),Yv=S.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:o,onPointerDownOutside:l,...s}=e,a=da(Ui,n),u=Wd(n),{onClose:c}=a;return S.useEffect(()=>(document.addEventListener(nh,c),()=>document.removeEventListener(nh,c)),[c]),S.useEffect(()=>{if(a.trigger){const f=p=>{const d=p.target;d!=null&&d.contains(a.trigger)&&c()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[a.trigger,c]),C.jsx(Id,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:f=>f.preventDefault(),onDismiss:c,children:C.jsxs(yC,{"data-state":a.stateAttribute,...u,...s,ref:t,style:{...s.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(TC,{children:r}),C.jsx(CC,{scope:n,isInside:!0,children:C.jsx(Wk,{id:a.contentId,role:"tooltip",children:i||r})})]})})});Qv.displayName=Ui;var qv="TooltipArrow",RC=S.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Wd(n);return PC(qv,n).isInside?null:C.jsx(vC,{...i,...r,ref:t})});RC.displayName=qv;function NC(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function AC(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 IC(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function LC(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,l=t.length-1;o<t.length;l=o++){const s=t[o],a=t[l],u=s.x,c=s.y,f=a.x,p=a.y;c>r!=p>r&&n<(f-u)*(r-c)/(p-c)+u&&(i=!i)}return i}function OC(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),_C(t)}function _C(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const o=t[t.length-1],l=t[t.length-2];if((o.x-l.x)*(i.y-l.y)>=(o.y-l.y)*(i.x-l.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const o=n[n.length-1],l=n[n.length-2];if((o.x-l.x)*(i.y-l.y)>=(o.y-l.y)*(i.x-l.x))n.pop();else break}n.push(i)}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 MC=Hv,Gv=Qv;const DC=MC,FC=S.forwardRef(({className:e,sideOffset:t=4,...n},r)=>
93C.jsx(Gv,{ref:r,sideOffset:t,className:Kr("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}));FC.displayName=Gv.displayName;const zC=({onSelect:e})=>C.jsxs("div",{className:"text-center space-y-10 animate-fade-in",children:[C.jsxs("div",{className:"space-y-3",children:[C.jsx("h1",{className:"text-4xl md:text-5xl font-bold font-mono tracking-tight text-foreground glow-text",children:"Bernadette"}),C.jsx("p",{className:"text-muted-foreground text-sm font-mono",children:"by SocraticAI"})]}),C.jsx("div",{className:"flex gap-4 justify-center",children:["FR","EN"].map(t=>C.jsx("button",{onClick:()=>e(t),className:`px-8 py-3 terminal-border rounded-md bg-secondary text-foreground font-mono text-lg 94 hover:bg-primary hover:text-primary-foreground hover:glow-accent 95 transition-all duration-300 cursor-pointer`,children:t==="FR"?"Français":"English"},t))})]}),jC=e=>({title:e==="FR"?"Inscription":"Sign Up",changeLang:e==="FR"?"Switch to English":"Passer en français",email:"Email",langSpoken:e==="FR"?"Quelles langues parles-tu ?":"Which languages do you speak?",isFrench:e==="FR"?"Es-tu de nationalité française ?":"Are you French?",yes:e==="FR"?"Oui":"Yes",no:e==="FR"?"Non":"No",age:e==="FR"?"Ton âge ?":"Your age?",englishLevel:e==="FR"?"Ton niveau d'anglais ?":"Your English level?",englishOptions:e==="FR"?["Zéro","Ãa passe","Courant"]:["None","Good enough","Fluent"],frenchLevel:e==="FR"?"Ton niveau de français ?":"Your French level?",frenchOptions:e==="FR"?["Zéro","Ãa passe","Courant"]:["None","Good enough","Fluent"],interests:e==="FR"?"Tes centres d'intérêt ?":"Your interests?",disclaimer:e==="FR"?"Pas de compte, pas de mot de passe. On n'a même pas les moyens d'un stagiaire. Ton email sert juste à te recontacter si Bernadette t'a traumatisé.":"No account, no password. We can't even afford an intern. Your email is just in case Bernadette broke you.",certifyAge:e==="FR"?"Je certifie être majeur selon la législation de mon pays de résidence":"I confirm I am of legal age according to the laws of my country of residence",acceptTerms:e==="FR"?"J'accepte la politique de confidentialité, les conditions d'utilisation et les conditions générales":"I agree to the Privacy Policy, Terms of Use and Terms & Conditions",submit:e==="FR"?"Entrer dans l'arène":"Enter the arena"}),BC=["Gaming","Cinéma & Séries","Musique","Sport","Tech & Startups","Politique & Actu","Littérature & Philo"],UC=[{label:"18-27",value:"GenZ"},{label:"28-43",value:"Millennial"},{label:"44+",value:"GenX"}],Dl=["none","social","fluent"],$C=({lang:e,onChangeLang:t})=>{const n=jC(e),[r,i]=S.useState(""),[o,l]=S.useState([]),[s,a]=S.useState(null),[u,c]=S.useState(""),[f,p]=S.useState(""),[d,v]=S.useState(""),[m,x]=S.useState([]),[h,g]=S.useState(!1),[y,b]=S.useState(!1),[P,E]=S.useState({}),T=(R,A)=>R.includes(A)?R.filter(D=>D!==A):[...R,A],L=R=>{R.preventDefault();const A={};if((!r||!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r))&&(A.email=!0),o.length===0&&(A.langNative=!0),s===null&&(A.isFrench=!0),u||(A.ageRange=!0),f||(A.englishLevel=!0),d||(A.frenchLevel=!0),m.length===0&&(A.interests=!0),h||(A.certifyAge=!0),y||(A.acceptTerms=!0),E(A),Object.keys(A).length>0)return;try{sessionStorage.setItem("user_email",r),sessionStorage.setItem("age_verified","true")}catch{}const D=new URLSearchParams({lang:e,lang_native:o.join(","),is_french:String(s),age_range:u,english_level:f,french_level:d,interests:m.join(",")});window.location.href=`/chat?${D.toString()}`};return C.jsxs("div",{className:"w-full max-w-lg animate-fade-in",children:[C.jsxs("div",{className:"flex items-center justify-between mb-8",children:[C.jsx("h1",{className:"text-3xl md:text-4xl font-bold font-mono glow-text",children:n.title}),C.jsx("button",{onClick:t,className:"text-xs text-muted-foreground hover:text-primary font-mono transition-colors",children:n.changeLang})]}),C.jsxs("form",{onSubmit:L,className:"space-y-7",children:[C.jsx(br,{label:n.email,error:P.email,children:C.jsx("input",{type:"email",value:r,onChange:R=>i(R.target.value),className:"form-input",placeholder:"[email protected]"})}),C.jsx(br,{label:n.langSpoken,error:P.langNative,children:C.jsx("div",{className:"flex gap-4",children:["Français","English"].map(R=>C.jsx(rh,{label:R,checked:o.includes(R),onChange:()=>l(T(o,R))},R))})}),C.jsx(br,{label:n.isFrench,error:P.isFrench,children:C.jsx("div",{className:"flex gap-4",children:[!0,!1].map(R=>C.jsx(Fl,{label:R?n.yes:n.no,checked:s===R,onChange:()=>a(R)},String(R)))})}),C.jsx(br,{label:n.age,error:P.ageRange,children:C.jsx("div",{className:"flex gap-3 flex-wrap",children:UC.map(R=>C.jsx(Fl,{label:R.label,checked:u===R.value,onChange:()=>c(R.value)},R.value))})}),C.jsx(br,{label:n.englishLevel,error:P.englishLevel,children:C.jsx("div",{className:"flex flex-col gap-2",children:n.englishOptions.map((R,A)=>C.jsx(Fl,{label:R,checked:f===Dl[A],onChange:()=>p(Dl[A])},R))})}),C.jsx(br,{label:n.frenchLevel,error:P.frenchLevel,children:C.jsx("div",{className:"flex flex-col gap-2",children:n.frenchOptions.map((R,A)=>C.jsx(Fl,{label:R,checked:d===Dl[A],onChange:()=>v(Dl[A])},R))})}),C.jsx(br,{label:n.interests,error:P.interests,children:C.jsx("div",{className:"flex flex-wrap gap-2",children:BC.map(R=>C.jsx(rh,{label:R,checked:m.includes(R),onChange:()=>x(T(m,R))},R))})}),C.jsx("p",{className:"text-muted-foreground text-xs font-mono leading-relaxed terminal-border rounded-md p-4 bg-secondary/50",children:n.disclaimer}),C.jsxs("label",{className:`flex items-start gap-3 cursor-pointer group ${P.certifyAge?"text-destructive":""}`,children:[C.jsx("input",{type:"checkbox",checked:h,onChange:R=>g(R.target.checked),className:"checkbox-custom mt-0.5"}
95),C.jsx("span",{className:"text-sm text-foreground/80 group-hover:text-foreground transition-colors",children:n.certifyAge})]}),C.jsxs("label",{className:`flex items-start gap-3 cursor-pointer group ${P.acceptTerms?"text-destructive":""}`,children:[C.jsx("input",{type:"checkbox",checked:y,onChange:R=>b(R.target.checked),className:"checkbox-custom mt-0.5"}),C.jsx("span",{className:"text-sm text-foreground/80 group-hover:text-foreground transition-colors",children:n.acceptTerms})]}),C.jsx("button",{type:"submit",className:`w-full py-4 bg-primary text-primary-foreground font-mono font-bold text-lg rounded-md 96 hover:glow-accent transition-all duration-300 tracking-wide`,children:n.submit})]})]})},br=({label:e,error:t,children:n})=>C.jsxs("div",{className:"space-y-2",children:[C.jsx("label",{className:`block text-sm font-mono font-medium ${t?"text-destructive":"text-foreground/80"}`,children:e}),n]}),rh=({label:e,checked:t,onChange:n})=>C.jsx("button",{type:"button",onClick:n,className:`px-4 py-2 rounded-md text-sm font-mono transition-all duration-200 border cursor-pointer 97 ${t?"bg-primary/20 border-primary text-primary":"bg-secondary border-border text-foreground/60 hover:border-primary/50"}`,children:e}),Fl=({label:e,checked:t,onChange:n})=>C.jsx("button",{type:"button",onClick:n,className:`px-4 py-2 rounded-md text-sm font-mono transition-all duration-200 border cursor-pointer 98 ${t?"bg-primary/20 border-primary text-primary":"bg-secondary border-border text-foreground/60 hover:border-primary/50"}`,children:e}),Kv=({className:e=""})=>C.jsx("span",{className:`inline-flex items-center px-2 py-0.5 rounded-md text-[10px] font-mono font-bold tracking-widest 99 bg-primary/15 text-primary border border-primary/40 glow-accent ${e}`,children:"BETA"}),VC=()=>{const[e,t]=S.useState(null);return C.jsxs("div",{className:"min-h-screen bg-background flex flex-col relative",children:[C.jsx(Kv,{className:"fixed top-4 right-4 z-50"}),C.jsx("div",{className:"flex-1 flex items-center justify-center px-4 py-12",children:e?C.jsx($C,{lang:e,onChangeLang:()=>t(null)}):C.jsx(zC,{onSelect:t})}),C.jsx(HC,{lang:e})]})},HC=({lang:e})=>C.jsx("footer",{className:"border-t border-border py-8 px-4",children:C.jsxs("div",{className:"max-w-2xl mx-auto text-center space-y-3 text-muted-foreground text-xs font-mono",children:[C.jsx("p",{className:"text-foreground/70 font-semibold",children:"SocraticAI L.L.C-FZ"}),C.jsx("p",{children:"License: 2426019.01"}),C.jsx("p",{children:"Meydan Grandstand, 6th floor, Meydan Road, Nad Al Sheba, Dubai, U.A.E."}),C.jsx("p",{children:C.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})}),C.jsxs("div",{className:"flex justify-center gap-4 pt-2",children:[C.jsx("a",{href:"/privacy",className:"hover:text-primary transition-colors",children:"Privacy Policy"}),C.jsx("span",{children:"·"}),C.jsx("a",{href:"/terms-of-use",className:"hover:text-primary transition-colors",children:"Terms of Use"}),C.jsx("span",{children:"·"}),C.jsx("a",{href:"/terms-and-conditions",className:"hover:text-primary transition-colors",children:"Terms & Conditions"})]})]})}),WC=()=>{const[e]=OS(),t=Ad();S.useEffect(()=>{if(sessionStorage.getItem("age_verified")!=="true"){t("/",{replace:!0});return}const i=document.createElement("script");return i.type="text/javascript",i.src="https://cdn.voiceflow.com/widget-next/bundle.mjs",i.crossOrigin="anonymous",i.onload=()=>{window.voiceflow.chat.load({verify:{projectID:"68c951729fc81e45d93c9176"},userID:Date.now().toString(),url:"https://general-runtime.voiceflow.com",versionID:"production",voice:{url:"https://runtime-api.voiceflow.com"},autostart:!0,launch:{event:{type:"launch"}},variables:{lang:e.get("lang"),lang_native:e.get("lang_native"),is_french:e.get("is_french")==="true",age_range:e.get("age_range"),english_level:e.get("english_level"),french_level:e.get("french_level"),interests:e.get("interests")}}).then(()=>{window.voiceflow.chat.open(),setTimeout(()=>{window.voiceflow.chat.open()},500)})},document.body.appendChild(i),()=>{i.remove()}},[e,t]);const n=e.get("lang"),r=()=>{var i;typeof window<"u"&&((i=window.voiceflow)!=null&&i.chat)&&window.voiceflow.chat.interact({type:"text",payload:"je sais pas"})};return C.jsxs("div",{className:"min-h-screen bg-background relative",children:[C.jsx(Kv,{className:"fixed top-4 right-4 z-50"}),C.jsxs("div",{className:"hidden md:block fixed left-4 top-16 z-[2147483646] max-w-[220px]",children:[C.jsx("p",{className:"text-[10px] font-mono text-muted-foreground
99/80 leading-relaxed",children:n==="FR"?"â ï¸ ATTENTION â ï¸ Ne pas tomber dans la 4e dimension de la dialectique, où t'as l'impression de dire des trucs géniaux alors que c'est de la grosse merde.":"â ï¸ WARNING â ï¸ Mind the gap: be careful not to fall into the fourth dimension of dialectics, where you feel like you're saying something brilliant when it's actually a load of crap."}),C.jsx("p",{className:"text-[10px] font-mono text-muted-foreground/80 leading-relaxed mt-1.5",children:n==="FR"?"Tu sais ce que c'est, une action qui a perdu 90% ? C'est une action qui a perdu 80%, et ensuite 50%.":"You know what a stock that lost 90% of its value is? It's a stock that lost 80%, and then 50%."})]}),C.jsx("button",{onClick:r,className:"hidden md:block fixed left-4 top-1/2 -translate-y-1/2 z-[2147483646] px-3 py-2 bg-secondary/40 border border-border/30 rounded-md backdrop-blur-sm text-[11px] font-mono text-muted-foreground hover:text-foreground hover:bg-secondary/60 hover:border-primary/30 transition-all duration-200 cursor-pointer select-none",title:n==="FR"?"Va te faire foutre Bernadette":"Go f*ck yourself Bernadette",children:n==="FR"?"Va te faire foutre Bernadette ð":"Go f*ck yourself Bernadette ð"}),C.jsx("div",{className:"hidden md:block fixed left-4 bottom-16 z-[2147483646] max-w-[220px]",children:C.jsx("p",{className:"text-[10px] font-mono text-muted-foreground/70 leading-relaxed",children:n==="FR"?"T'as atteint l'aporie ? Jette Derrida et clique sur â© en haut à gauche pour détruire une autre illusion":"Reached aporia? Don't embarrass yourself further â click â© top left to destroy a new illusion"})}),C.jsx("div",{className:"hidden md:block fixed bottom-4 left-1/2 -translate-x-1/2 z-[2147483646] max-w-md px-4 text-center pointer-events-none",children:C.jsx("p",{className:"text-[11px] font-mono text-muted-foreground leading-relaxed",children:"Bernadette is a beta version. This is an artistic and philosophical experience, not therapy or professional advice."})}),C.jsxs("div",{className:"md:hidden fixed inset-x-0 top-0 z-[2147483647] flex flex-col items-center gap-1 px-3 pt-[max(0.5rem,env(safe-area-inset-top))] pb-2 bg-background/95 backdrop-blur-sm border-b border-border/30 pointer-events-none",children:[C.jsx("p",{className:"text-[8px] font-mono text-muted-foreground/90 leading-snug text-center max-w-[280px]",children:n==="FR"?"â ï¸ ATTENTION â ï¸ Ne pas tomber dans la 4e dimension de la dialectique, où t'as l'impression de dire des trucs géniaux alors que c'est de la grosse merde.":"â ï¸ WARNING â ï¸ Mind the gap: be careful not to fall into the fourth dimension of dialectics, where you feel like you're saying something brilliant when it's actually a load of crap."}),C.jsx("p",{className:"text-[8px] font-mono text-muted-foreground/90 leading-snug text-center max-w-[280px]",children:n==="FR"?"Tu sais ce que c'est, une action qui a perdu 90% ? C'est une action qui a perdu 80%, et ensuite 50%.":"You know what a stock that lost 90% of its value is? It's a stock that lost 80%, and then 50%."}),C.jsx("button",{onClick:r,className:"pointer-events-auto mt-1 px-2.5 py-1.5 bg-secondary/70 border border-border/40 rounded-md text-[10px] font-mono text-muted-foreground hover:text-foreground active:bg-secondary transition-all duration-200 cursor-pointer select-none",title:n==="FR"?"Va te faire foutre Bernadette":"Go f*ck yourself Bernadette",children:n==="FR"?"Va te faire foutre Bernadette ð":"Go f*ck yourself Bernadette ð"}),C.jsx("p",{className:"text-[8px] font-mono text-muted-foreground/70 leading-snug text-center max-w-[280px]",children:n==="FR"?"T'as atteint l'aporie ? Jette Derrida et clique sur â© en haut à gauche pour détruire une autre illusion":"Reached aporia? Don't embarrass yourself further â click â© top left to destroy a new illusion"}),C.jsx("p",{className:"text-[8px] font-mono text-muted-foreground/60 leading-snug text-center max-w-[280px]",children:"Bernadette is a beta version. This is an artistic and philosophical experience, not therapy or professional advice."})]})]})};function QC(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const YC=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,qC=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,GC={};function ih(e,t){return(GC.jsx?qC:YC).test(e)}const KC=/[ \t\n\f\r]/g;function XC(e){return typeof e=="object"?e.type==="text"?oh(e.value):!1:oh(e)}function oh(e){return e.replace(KC,"")===""}class cl{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}}cl.prototype.normal={};cl.prototype.property={};cl.prototype.space=void 0;function Xv(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new cl(n,r,t)}function Sc(e){return e.toLowerCase()}class ct{constructor(t,n){this.attribute=n,this.property=t}}ct.prototype.attribute="";ct.prototype.booleanish=!1;ct.prototype.boolean=!1;ct.prototype.commaOrSpaceSeparated=!1;ct.prototype.commaSeparated=!1;ct.prototype.defined=!1;ct.prototype.mustUseProperty=!1;ct.prototype.number=!1;ct.prototype.overloadedBoolean=!1;ct.prototype.property="";ct.prototype.spaceSeparated=!1;ct.prototype.space=void 0;let ZC=0;const te=Xr(),Re=Xr(),kc=Xr(),j=Xr(),pe=Xr(),Ei=Xr(),ht=Xr();function Xr(){return 2**++ZC}const Ec=Object.freeze(Object.defineProperty({__proto__:null,boolean:te,booleanish:Re,commaOrSpaceSeparated:ht,commaSeparated:Ei,number:j,overloadedBoolean:kc,spaceSeparated:pe},Symbol.toStringTag,{value:"Module"})),eu=Object.keys(Ec);class Qd extends ct{constructor(t,n,r,i){let o=-1;if(super(t,n),lh(this,"space",i),typeof r=="number")for(;++o<eu.length;){const l=eu[o];lh(this,eu[o],(r&Ec[l])===Ec[l])}}}Qd.prototype.defined=!0;function lh(e,t,n){n&&(e[t]=n)}function Ki(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new Qd(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Sc(r)]=r,n[Sc(o.attribute)]=r}return new cl(t,n,e.space)}const Zv=Ki({properties:{ariaActiveDescendant:null,ariaAtomic:Re,ariaAutoComplete:null,ariaBusy:Re,ariaChecked:Re,ariaColCount:j,ariaColIndex:j,ariaColSpan:j,ariaControl
vendor: 5,400 bytes, line 99
99s:pe,ariaCurrent:null,ariaDescribedBy:pe,ariaDetails:null,ariaDisabled:Re,ariaDropEffect:pe,ariaErrorMessage:null,ariaExpanded:Re,ariaFlowTo:pe,ariaGrabbed:Re,ariaHasPopup:null,ariaHidden:Re,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:pe,ariaLevel:j,ariaLive:null,ariaModal:Re,ariaMultiLine:Re,ariaMultiSelectable:Re,ariaOrientation:null,ariaOwns:pe,ariaPlaceholder:null,ariaPosInSet:j,ariaPressed:Re,ariaReadOnly:Re,ariaRelevant:null,ariaRequired:Re,ariaRoleDescription:pe,ariaRowCount:j,ariaRowIndex:j,ariaRowSpan:j,ariaSelected:Re,ariaSetSize:j,ariaSort:null,ariaValueMax:j,ariaValueMin:j,ariaValueNow:j,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Jv(e,t){return t in e?e[t]:t}function e0(e,t){return Jv(e,t.toLowerCase())}const JC=Ki({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Ei,acceptCharset:pe,accessKey:pe,action:null,allow:null,allowFullScreen:te,allowPaymentRequest:te,allowUserMedia:te,alt:null,as:null,async:te,autoCapitalize:null,autoComplete:pe,autoFocus:te,autoPlay:te,blocking:pe,capture:null,charSet:null,checked:te,cite:null,className:pe,cols:j,colSpan:null,content:null,contentEditable:Re,controls:te,controlsList:pe,coords:j|Ei,crossOrigin:null,data:null,dateTime:null,decoding:null,default:te,defer:te,dir:null,dirName:null,disabled:te,download:kc,draggable:Re,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:te,formTarget:null,headers:pe,height:j,hidden:kc,high:j,href:null,hrefLang:null,htmlFor:pe,httpEquiv:pe,id:null,imageSizes:null,imageSrcSet:null,inert:te,inputMode:null,integrity:null,is:null,isMap:te,itemId:null,itemProp:pe,itemRef:pe,itemScope:te,itemType:pe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:te,low:j,manifest:null,max:null,maxLength:j,media:null,method:null,min:null,minLength:j,multiple:te,muted:te,name:null,nonce:null,noModule:te,noValidate:te,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:te,optimum:j,pattern:null,ping:pe,placeholder:null,playsInline:te,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:te,referrerPolicy:null,rel:pe,required:te,reversed:te,rows:j,rowSpan:j,sandbox:pe,scope:null,scoped:te,seamless:te,selected:te,shadowRootClonable:te,shadowRootDelegatesFocus:te,shadowRootMode:null,shape:null,size:j,sizes:null,slot:null,span:j,spellCheck:Re,src:null,srcDoc:null,srcLang:null,srcSet:null,start:j,step:null,style:null,tabIndex:j,target:null,title:null,translate:null,type:null,typeMustMatch:te,useMap:null,value:Re,width:j,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:pe,axis:null,background:null,bgColor:null,border:j,borderColor:null,bottomMargin:j,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:te,declare:te,event:null,face:null,frame:null,frameBorder:null,hSpace:j,leftMargin:j,link:null,longDesc:null,lowSrc:null,marginHeight:j,marginWidth:j,noResize:te,noHref:te,noShade:te,noWrap:te,object:null,profile:null,prompt:null,rev:null,rightMargin:j,rules:null,scheme:null,scrolling:Re,standby:null,summary:null,text:null,topMargin:j,valueType:null,version:null,vAlign:null,vLink:null,vSpace:j,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:te,disableRemotePlayback:te,prefix:null,property:null,results:j,security:null,unselectable:null},space:"html",transform:e0}),eP=Ki({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRen
99dering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:ht,accentHeight:j,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:j,amplitude:j,arabicForm:null,ascent:j,attributeName:null,attributeType:null,azimuth:j,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:j,by:null,calcMode:null,capHeight:j,
99className:pe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:j,diffuseConstant:j,direction:null,display:null,dur:null,divisor:j,dominantBaseline:null,download:te,dx:null,dy:null,edgeMode:null,editable:null,elevation:j,enableBackground:null,end:null,event:null,exponent:j,externalResourcesRequired:null,fill:null,fillOpacity:j,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Ei,g2:Ei,glyphName:Ei,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:j,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:j,horizOriginX:j,horizOriginY:j,id:null,ideographic:j,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:j,k:j,k1:j,k2:j,k3:j,k4:j,kernelMatrix:ht,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:j,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:j,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:j,overlineThickness:j,paintOrder:null,panose1:null,path:null,pathLength:j,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:pe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:j,pointsAtY:j,pointsAtZ:j,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ht,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ht,rev:ht,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ht,requiredFeatures:ht,requiredFonts:ht,requiredFormats:ht,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:j,specularExponent:j,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:j,strikethroughThickness:j,string:null,stroke:null,strokeDashArray:ht,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:j,strokeOpacity:j,strokeWidth:null,style:null,surfaceScale:j,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ht,tabIndex:j,tableValues:null,target:null,targetX:j,targetY:j,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ht,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:j,underlineThickness:j,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:j,values:null,vAlphabetic:j,vMathematical:j,vectorEffect:null,vHanging:j,vIdeographic:j,version:null,vertAdvY:j,vertOriginX:j,vertOriginY:j,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:j,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Jv}),t0=Ki({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}
vendor: 4,749 bytes, lines 99-100
99,space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),n0=Ki({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:e0}),r0=Ki({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),tP={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},nP=/[A-Z]/g,sh=/-[a-z]/g,rP=/^data[-\w.:]+$/i;function iP(e,t){const n=Sc(t);let r=t,i=ct;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&rP.test(t)){if(t.charAt(4)==="-"){const o=t.slice(5).replace(sh,lP);r="data"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!sh.test(o)){let l=o.replace(nP,oP);l.charAt(0)!=="-"&&(l="-"+l),t="data"+l}}i=Qd}return new i(r,t)}function oP(e){return"-"+e.toLowerCase()}function lP(e){return e.charAt(1).toUpperCase()}const sP=Xv([Zv,JC,t0,n0,r0],"html"),Yd=Xv([Zv,eP,t0,n0,r0],"svg");function aP(e){return e.join(" ").trim()}var qd={},ah=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,uP=/\n/g,cP=/^\s*/,dP=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,fP=/^:\s*/,pP=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,hP=/^[;\s]*/,mP=/^\s+|\s+$/g,gP=` 100`,uh="/",ch="*",Rr="",yP="comment",vP="declaration";function xP(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(v){var m=v.match(uP);m&&(n+=m.length);var x=v.lastIndexOf(gP);r=~x?v.length-x:r+v.length}function o(){var v={line:n,column:r};return function(m){return m.position=new l(v),u(),m}}function l(v){this.start=v,this.end={line:n,column:r},this.source=t.source}l.prototype.content=e;function s(v){var m=new Error(t.source+":"+n+":"+r+": "+v);if(m.reason=v,m.filename=t.source,m.line=n,m.column=r,m.source=e,!t.silent)throw m}function a(v){var m=v.exec(e);if(m){var x=m[0];return i(x),e=e.slice(x.length),m}}function u(){a(cP)}function c(v){var m;for(v=v||[];m=f();)m!==!1&&v.push(m);return v}function f(){var v=o();if(!(uh!=e.charAt(0)||ch!=e.charAt(1))){for(var m=2;Rr!=e.charAt(m)&&(ch!=e.charAt(m)||uh!=e.charAt(m+1));)++m;if(m+=2,Rr===e.charAt(m-1))return s("End of comment missing");var x=e.slice(2,m-2);return r+=2,i(x),e=e.slice(m),r+=2,v({type:yP,comment:x})}}function p(){var v=o(),m=a(dP);if(m){if(f(),!a(fP))return s("property missing ':'");var x=a(pP),h=v({type:vP,property:dh(m[0].replace(ah,Rr)),value:x?dh(x[0].replace(ah,Rr)):Rr});return a(hP),h}}function d(){var v=[];c(v);for(var m;m=p();)m!==!1&&(v.push(m),c(v));return v}return u(),d()}function dh(e){return e?e.replace(mP,Rr):Rr}var wP=xP,SP=is&&is.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(qd,"__esModule",{value:!0});qd.default=EP;const kP=SP(wP);function EP(e,t){let n=null;if(!e||typeof e!="string")return n;const r=(0,kP.default)(e),i=typeof t=="function";return r.forEach(o=>{if(o.type!=="declaration")return;const{property:l,value:s}=o;i?t(l,s,o):s&&(n=n||{},n[l]=s)}),n}var fa={};Object.defineProperty(fa,"__esModule",{value:!0});fa.camelCase=void 0;var bP=/^--[a-zA-Z0-9_-]+$/,CP=/-([a-z])/g,PP=/^[^-]+$/,TP=/^-(webkit|moz|ms|o|khtml)-/,RP=/^-(ms)-/,NP=function(e){return!e||PP.test(e)||bP.test(e)},AP=function(e,t){return t.toUpperCase()},fh=function(e,t){return"".concat(t,"-")},IP=function(e,t){return t===void 0&&(t={}),NP(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(RP,fh):e=e.replace(TP,fh),e.replace(CP,AP))};fa.camelCase=IP;var LP=is&&is.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},OP=LP(qd),_P=fa;function bc(e,t){var n={};return!e||typeof e!="string"||(0,OP.default)(e,function(r,i){r&&i&&(n[(0,_P.camelCase)(r,t)]=i)}),n}bc.default=bc;var MP=bc;const DP=zs(MP),i0=o0("end"),Gd=o0("start");function o0(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function FP(e){const t=Gd(e),n=i0(e);if(t&&n)return{start:t,end:n}}function Po(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ph(e.position):"start"in e||"end"in e?ph(e):"line"in e||"column"in e?Cc(e):""}function Cc(e){return hh(e&&e.line)+":"+hh(e&&e.column)}function ph(e){return Cc(e&&e.start)+"-"+Cc(e&&e.end)}function hh(e){return e&&typeof e=="number"?e:1}
vendor: 1,921 bytes, line 100
100class We extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",o={},l=!1;if(n&&("line"in n&&"column"in n?o={place:n}:"start"in n&&"end"in n?o={place:n}:"type"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t=="string"?i=t:!o.cause&&t&&(l=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r=="string"){const a=r.indexOf(":");a===-1?o.ruleId=r:(o.source=r.slice(0,a),o.ruleId=r.slice(a+1))}if(!o.place&&o.ancestors&&o.ancestors){const a=o.ancestors[o.ancestors.length-1];a&&(o.place=a.position)}const s=o.place&&"start"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=s?s.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=s?s.line:void 0,this.name=Po(o.place)||"1:1",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack=="string"?o.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}We.prototype.file="";We.prototype.name="";We.prototype.reason="";We.prototype.message="";We.prototype.stack="";We.prototype.column=void 0;We.prototype.line=void 0;We.prototype.ancestors=void 0;We.prototype.cause=void 0;We.prototype.fatal=void 0;We.prototype.place=void 0;We.prototype.ruleId=void 0;We.prototype.source=void 0;const Kd={}.hasOwnProperty,zP=new Map,jP=/[A-Z]/g,BP=new Set(["table","tbody","thead","tfoot","tr"]),UP=new Set(["td","th"]),l0="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function $P(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=KP(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");
vendor: 6,302 bytes, line 100
100if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=GP(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Yd:sP,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=s0(i,e,void 0);return o&&typeof o!="string"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function s0(e,t,n){if(t.type==="element")return VP(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return HP(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return QP(e,t,n);if(t.type==="mdxjsEsm")return WP(e,t);if(t.type==="root")return YP(e,t,n);if(t.type==="text")return qP(e,t)}function VP(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Yd,e.schema=i),e.ancestors.push(t);const o=u0(e,t.tagName,!1),l=XP(e,t);let s=Zd(e,t);return BP.has(t.tagName)&&(s=s.filter(function(a){return typeof a=="string"?!XC(a):!0})),a0(e,l,o,t),Xd(l,s),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function HP(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Zo(e,t.position)}function WP(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Zo(e,t.position)}function QP(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Yd,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:u0(e,t.name,!0),l=ZP(e,t),s=Zd(e,t);return a0(e,l,o,t),Xd(l,s),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function YP(e,t,n){const r={};return Xd(r,Zd(e,t)),e.create(t,e.Fragment,r,n)}function qP(e,t){return t.value}function a0(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function Xd(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function GP(e,t,n){return r;function r(i,o,l,s){const u=Array.isArray(l.children)?n:t;return s?u(o,l,s):u(o,l)}}function KP(e,t){return n;function n(r,i,o,l){const s=Array.isArray(o.children),a=Gd(r);return t(i,o,l,s,{columnNumber:a?a.column-1:void 0,fileName:e,lineNumber:a?a.line:void 0},void 0)}}function XP(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&Kd.call(t.properties,i)){const o=JP(e,i,t.properties[i]);if(o){const[l,s]=o;e.tableCellAlignToStyle&&l==="align"&&typeof s=="string"&&UP.has(t.tagName)?r=s:n[l]=s}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function ZP(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const l=o.expression;l.type;const s=l.properties[0];s.type,Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else Zo(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const s=r.value.data.estree.body[0];s.type,o=e.evaluater.evaluateExpression(s.expression)}else Zo(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function Zd(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:zP;for(;++r<t.children.length;){const o=t.children[r];let l;if(e.passKeys){const a=o.type==="element"?o.tagName:o.type==="mdxJsxFlowElement"||o.type==="mdxJsxTextElement"?o.name:void 0;if(a){const u=i.get(a)||0;l=a+"-"+u,i.set(a,u+1)}}const s=s0(e,o,l);s!==void 0&&n.push(s)}return n}function JP(e,t,n){const r=iP(e.schema,t);if(!(n==null||typeof n=="number"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?QC(n):aP(n)),r.property==="style"){let i=typeof n=="object"?n:eT(e,String(n));return e.stylePropertyNameCase==="css"&&(i=tT(i)),["style",i]}return[e.elementAttributeNameCase==="react"&&r.space?tP[r.property]||r.property:r.attribute,n]}}function eT(e,t){try{return DP(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new We("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw i.file=e.filePath||void 0,i.url=l0+"#cannot-parse-style-attribute",i}}function u0(e,t,n){let r;if(!n)r={type:"Literal",value:t};else if(t.includes(".")){const i=t.split(".");let o=-1,l;for(;++o<i.length;){const s=ih(i[o])?{type:"Identifier",name:i[o]}:{type:"Literal",value:i[o]};l=l?{type:"MemberExpression",object:l,property:s,computed:!!(o&&s.type==="Literal"),optional:!1}:s}r=l}else r=ih(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(r.type==="Literal"){const i=r.value;return Kd.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Zo(e)}function Zo(e,t){const n=new We("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=l0+"#cannot-handle-mdx-estrees-without-createevaluater",n}function tT(e){const t={};let n;for(n in e)Kd.call(e,n)&&(t[nT(n)]=e[n]);return t}function nT(e){let t=e.replace(jP,rT);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function rT(e){return"-"+e.toLowerCase()}const tu={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},iT={};function oT(e,t){const n=iT,r=typeof n.includeImageAlt=="boolean"?n.includeImageAlt:!0,i=typeof n.includeHtml=="boolean"?n.includeHtml:!0;return c0(e,r,i)}function c0(e,t,n){if(lT(e)){if("value"in e)return e.type==="html"&&!n?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return mh(e.children,t,n)}return Array.isArray(e)?mh(e,t,n):""}function mh(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=c0(e[i],t,n);return r.join("")}function lT(e){return!!(e&&typeof e=="object")}const gh=document.createElement("i");function Jd(e){const t="&"+e+";";gh.innerHTML=t;const n=gh.textContent;
vendor: 10,876 bytes, line 100
100return n.charCodeAt(n.length-1)===59&&e!=="semi"||n===t?!1:n}function pn(e,t,n,r){const i=e.length;let o=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o<r.length;)l=r.slice(o,o+1e4),l.unshift(t,0),e.splice(...l),o+=1e4,t+=1e4}function Rt(e,t){return e.length>0?(pn(e,e.length,0,t),e):t}const yh={}.hasOwnProperty;function sT(e){const t={};let n=-1;for(;++n<e.length;)aT(t,e[n]);return t}function aT(e,t){let n;for(n in t){const i=(yh.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let l;if(o)for(l in o){yh.call(i,l)||(i[l]=[]);const s=o[l];uT(i[l],Array.isArray(s)?s:s?[s]:[])}}}function uT(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add==="after"?e:r).push(t[n]);pn(e,0,0,r)}function d0(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function bi(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const sn=xr(/[A-Za-z]/),vt=xr(/[\dA-Za-z]/),cT=xr(/[#-'*+\--9=?A-Z^-~]/);function Pc(e){return e!==null&&(e<32||e===127)}const Tc=xr(/\d/),dT=xr(/[\dA-Fa-f]/),fT=xr(/[!-/:-@[-`{-~]/);function K(e){return e!==null&&e<-2}function at(e){return e!==null&&(e<0||e===32)}function ue(e){return e===-2||e===-1||e===32}const pT=xr(new RegExp("\\p{P}|\\p{S}","u")),hT=xr(/\s/);function xr(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Xi(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let l="";if(o===37&&vt(e.charCodeAt(n+1))&&vt(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const s=e.charCodeAt(n+1);o<56320&&s>56319&&s<57344?(l=String.fromCharCode(o,s),i=1):l="�"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function me(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(a){return ue(a)?(e.enter(n),s(a)):t(a)}function s(a){return ue(a)&&o++<i?(e.consume(a),s):(e.exit(n),t(a))}}const mT={tokenize:gT};function gT(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(s){if(s===null){e.consume(s);return}return e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),me(e,t,"linePrefix")}function i(s){return e.enter("paragraph"),o(s)}function o(s){const a=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=a),n=a,l(s)}function l(s){if(s===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(s);return}return K(s)?(e.consume(s),e.exit("chunkText"),o):(e.consume(s),l)}}const yT={tokenize:vT},vh={tokenize:xT};function vT(e){const t=this,n=[];let r=0,i,o,l;return s;function s(y){if(r<n.length){const b=n[r];return t.containerState=b[1],e.attempt(b[0].continuation,a,u)(y)}return u(y)}function a(y){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&g();const b=t.events.length;let P=b,E;for(;P--;)if(t.events[P][0]==="exit"&&t.events[P][1].type==="chunkFlow"){E=t.events[P][1].end;break}h(r);let T=b;for(;T<t.events.length;)t.events[T][1].end={...E},T++;return pn(t.events,P+1,0,t.events.slice(b)),t.events.length=T,u(y)}return s(y)}function u(y){if(r===n.length){if(!i)return p(y);if(i.currentConstruct&&i.currentConstruct.concrete)return v(y);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(vh,c,f)(y)}function c(y){return i&&g(),h(r),p(y)}function f(y){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,v(y)}function p(y){return t.containerState={},e.attempt(vh,d,v)(y)}function d(y){return r++,n.push([t.currentConstruct,t.containerState]),p(y)}function v(y){if(y===null){i&&g(),h(0),e.consume(y);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:i,contentType:"flow",previous:o}),m(y)}function m(y){if(y===null){x(e.exit("chunkFlow"),!0),h(0),e.consume(y);return}return K(y)?(e.consume(y),x(e.exit("chunkFlow")),r=0,t.interrupt=void 0,s):(e.consume(y),m)}function x(y,b){const P=t.sliceStream(y);if(b&&P.push(null),y.previous=o,o&&(o.next=y),o=y,i.defineSkip(y.start),i.write(P),t.parser.lazy[y.start.line]){let E=i.events.length;for(;E--;)if(i.events[E][1].start.offset<l&&(!i.events[E][1].end||i.events[E][1].end.offset>l))return;const T=t.events.length;let L=T,R,A;for(;L--;)if(t.events[L][0]==="exit"&&t.events[L][1].type==="chunkFlow"){if(R){A=t.events[L][1].end;break}R=!0}for(h(r),E=T;E<t.events.length;)t.events[E][1].end={...A},E++;pn(t.events,L+1,0,t.events.slice(T)),t.events.length=E}}function h(y){let b=n.length;for(;b-- >y;){const P=n[b];t.containerState=P[1],P[0].exit.call(t,e)}n.length=y}function g(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function xT(e,t,n){return me(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function xh(e){if(e===null||at(e)||hT(e))return 1;if(pT(e))return 2}function ef(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const Rc={name:"attention",resolveAll:wT,tokenize:ST};function wT(e,t){let n=-1,r,i,o,l,s,a,u,c;for(;++n<e.length;)if(e[n][0]==="enter"&&e[n][1].type==="attentionSequence"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]==="exit"&&e[r][1].type==="attentionSequence"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;a=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const f={...e[r][1].end},p={...e[n][1].start};wh(f,-a),wh(p,a),l={type:a>1?"strongSequence":"emphasisSequence",start:f,end:{...e[r][1].end}},s={type:a>1?"strongSequence":"emphasisSequence",start:{...e[n][1].start},end:p},o={type:a>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:a>1?"strong":"emphasis",start:{...l.start},end:{...s.end}},e[r][1].end={...l.start},e[n][1].start={...s.end},u=[],e[r][1].end.offset-e[r][1].start.offset&&(u=Rt(u,[["enter",e[r][1],t],["exit",e[r][1],t]])),u=Rt(u,[["enter",i,t],["enter",l,t],["exit",l,t],["enter",o,t]]),u=Rt(u,ef(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),u=Rt(u,[["exit",o,t],["enter",s,t],["exit",s,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(c=2,u=Rt(u,[["enter",e[n][1],t],["exit",e[n][1],t]])):c=0,pn(e,r-1,n-r+3,u),n=r+u.length-c-2;break}}for(n=-1;++n<e.length;)e[n][1].type==="attentionSequence"&&(e[n][1].type="data");return e}function ST(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=xh(r);let o;return l;function l(a){return o=a,e.enter("attentionSequence"),s(a)}function s(a){if(a===o)return e.consume(a),s;const u=e.exit("attentionSequence"),c=xh(a),f=!c||c===2&&i||n.includes(a),p=!i||i===2&&c||n.includes(r);return u._open=!!(o===42?f:f&&(i||!p)),u._close=!!(o===42?p:p&&(c||!f)),t(a)}}function wh(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const kT={name:"autolink",tokenize:ET};function ET(e,t,n){let r=0;return i;function i(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),o}function o(d){return sn(d)?(e.consume(d),l):d===64?n(d):u(d)}function l(d){return d===43||d===45||d===46||vt(d)?(r=1,s(d)):u(d)}function s(d){return d===58?(e.consume(d),r=0,a):(d===43||d===45||d===46||vt(d))&&r++<32?(e.consume(d),s):(r=0,u(d))}function a(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||Pc(d)?n(d):(e.consume(d),a)}function u(d){return d===64?(e.consume(d),c):cT(d)?(e.consume(d),u):n(d)}function c(d){return vt(d)?f(d):n(d)}function f(d){return d===46?(e.consume(d),r=0,c):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):p(d)}function p(d){if((d===45||vt(d))&&r++<63){const v=d===45?p:f;return e.consume(d),v}return n(d)}}const pa={partial:!0,tokenize:bT};function bT(e,t,n){return r;function r(o){return ue(o)?me(e,i,"linePrefix")(o):i(o)}function i(o){return o===null||K(o)?t(o):n(o)}}const f0={continuation:{tokenize:PT},exit:TT,name:"blockQuote",tokenize:CT};function CT(e,t,n){const r=this;return i;function i(l){if(l===62){const s=r.containerState;return s.open||(e.enter("blockQuote",{_container:!0}),s.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(l),e.exit("blockQuoteMarker"),o}return n(l)}function o(l){return ue(l)?(e.enter("blockQuotePrefixWhitespace"),e.consume(l),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(l))}}function PT(e,t,n){const r=this;return i;function i(l){return ue(l)?me(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(l):o(l)}function o(l){return e.attempt(f0,t,n)(l)}}function TT(e){e.exit("blockQuote")}const p0={name:"characterEscape",tokenize:RT};function RT(e,t,n){return r;function r(o){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(o),e.exit("escapeMarker"),i}function i(o){return fT(o)?(e.enter("characterEscapeValue"),e.consume(o),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(o)}}const h0={name:"characterReference",tokenize:NT};function NT(e,t,n){const r=this;let i=0,o,l;return s;function s(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),a}function a(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),u):(e.enter("characterReferenceValue"),o=31,l=vt,c(f))}function u(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),o=6,l=dT,c):(e.enter("characterReferenceValue"),o=7,l=Tc,c(f))}function c(f){if(f===59&&i){const p=e.exit("characterReferenceValue");return l===vt&&!Jd(r.sliceSerialize(p))?n(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return l(f)&&i++<o?(e.consume(f),c):n(f)}}const Sh={partial:!0,tokenize:IT},kh={concrete:!0,name:"codeFenced",tokenize:AT};function AT(e,t,n){const r=this,i={partial:!0,tokenize:P};let o=0,l=0,s;return a;function a(E){return u(E)}function u(E){const T=r.events[r.events.length-1];return o=T&&T[1].type==="linePrefix"?T[2].sliceSerialize(T[1],!0).length:0,s=E,e.enter("co
100deFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(E)}function c(E){return E===s?(l++,e.consume(E),c):l<3?n(E):(e.exit("codeFencedFenceSequence"),ue(E)?me(e,f,"whitespace")(E):f(E))}function f(E){return E===null||K(E)?(e.exit("codeFencedFence"),r.interrupt?t(E):e.check(Sh,m,b)(E)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(E))}function p(E){return E===null||K(E)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(E)):ue(E)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),me(e,d,"whitespace")(E)):E===96&&E===s?n(E):(e.consume(E),p)}function d(E){return E===null||K(E)?f(E):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),v(E))}function v(E){return E===null||K(E)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(E)):E===96&&E===s?n(E):(e.consume(E),v)}function m(E){return e.attempt(i,b,x)(E)}function x(E){return e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),h}function h(E){return o>0&&ue(E)?me(e,g,"linePrefix",o+1)(E):g(E)}function g(E){return E===null||K(E)?e.check(Sh,m,b)(E):(e.enter("codeFlowValue"),y(E))}function y(E){return E===null||K(E)?(e.exit("codeFlowValue"),g(E)):(e.consume(E),y)}function b(E){return e.exit("codeFenced"),t(E)}function P(E,T,L){let R=0;return A;function A($){return E.enter("lineEnding"),E.consume($),E.exit("lineEnding"),D}function D($){return E.enter("codeFencedFence"),ue($)?me(E,O,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):O($)}function O($){return $===s?(E.enter("codeFencedFenceSequence"),H($)):L($)}function H($){return $===s?(R++,E.consume($),H):R>=l?(E.exit("codeFencedFenceSequence"),ue($)?me(E,F,"whitespace")($):F($)):L($)}function F($){return $===null||K($)?(E.exit("codeFencedFence"),T($)):L($)}}}function IT(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const nu={name:"codeIndented",tokenize:OT},LT={partial:!0,tokenize:_T};function OT(e,t,n){const r=this;return i;function i(u){return e.enter("codeIndented"),me(e,o,"linePrefix",5)(u)}function o(u){const c=r.events[r.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?l(u):n(u)}function l(u){return u===null?a(u):K(u)?e.attempt(LT,l,a)(u):(e.enter("codeFlowValue"),s(u))}function s(u){return u===null||K(u)?(e.exit("codeFlowValue"),l(u)):(e.consume(u),s)}function a(u){return e.exit("codeIndented"),t(u)}}function _T(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):K(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),i):me(e,o,"linePrefix",5)(l)}function o(l){const s=r.events[r.events.length-1];return s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(l):K(l)?i(l):n(l)}}const MT={name:"codeText",previous:FT,resolve:DT,tokenize:zT};function DT(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r<t;)if(e[r][1].type==="codeTextData"){e[n][1].type="codeTextPadding",e[t][1].type="codeTextPadding",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!=="lineEnding"&&(i=r):(r===t||e[r][1].type==="lineEnding")&&(e[i][1].type="codeTextData",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function FT(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function zT(e,t,n){let r=0,i,o;return l;function l(f){return e.enter("codeText"),e.enter("codeTextSequence"),s(f)}function s(f){return f===96?(e.consume(f),r++,s):(e.exit("codeTextSequence"),a(f))}function a(f){return f===null?n(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),a):f===96?(o=e.enter("codeTextSequence"),i=0,c(f)):K(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),a):(e.enter("codeTextData"),u(f))}function u(f){return f===null||f===32||f===96||K(f)?(e.exit("codeTextData"),a(f)):(e.consume(f),u)}function c(f){return f===96?(e.consume(f),i++,c):i===r?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(o.type="codeTextData",u(f))}}class jT{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&uo(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),uo(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),uo(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);uo(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);uo(this.left,n.reverse())}}}function uo(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function m0(e){const t={};let n=-1,r,i,o,l,s,a,u;const c=new jT(e);for(;++n<c.length;){for(;n in t;)n=t[n];if(r=c.get(n),n&&r[1].type==="chunkFlow"&&c.get(n-1)[1].type==="listItemPrefix"&&(a=r[1]._tokenizer.events,o=0,o<a.length&&a[o][1].type==="lineEndingBlank"&&(o+=2),o<a.length&&a[o][1].type==="content"))for(;++o<a.length&&a[o][1].type!=="content";)a[o][1].type==="chunkText"&&(a[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]==="enter")r[1].contentType&&(Object.assign(t,BT(c,n)),n=t[n],u=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(l=c.get(o),l[1].type==="lineEnding"||l[1].type==="lineEndingBlank")l[0]==="enter"&&(i&&(c.get(i)[1].type="lineEndingBlank"),l[1].type="lineEnding",i=o);else if(!(l[1].type==="linePrefix"||l[1].type==="listItemIndent"))break;i&&(r[1].end={...c.get(i)[1].start},s=c.slice(i,n),s.unshift(r),c.splice(i,n-i+1,s))}}return pn(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!u}function BT(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const s=l.events,a=[],u={};let c,f,p=-1,d=n,v=0,m=0;const x=[m];for(;d;){for(;e.get(++i)[1]!==d;);o.push(i),d._tokenizer||(c=r.sliceStream(d),d.next||c.push(null),f&&l.defineSki
vendor: 18,523 bytes, line 100
100p(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(c),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=n;++p<s.length;)s[p][0]==="exit"&&s[p-1][0]==="enter"&&s[p][1].type===s[p-1][1].type&&s[p][1].start.line!==s[p][1].end.line&&(m=p+1,x.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):x.pop(),p=x.length;p--;){const h=s.slice(x[p],x[p+1]),g=o.pop();a.push([g,g+h.length-1]),e.splice(g,2,h)}for(a.reverse(),p=-1;++p<a.length;)u[v+a[p][0]]=v+a[p][1],v+=a[p][1]-a[p][0]-1;return u}const UT={resolve:VT,tokenize:HT},$T={partial:!0,tokenize:WT};function VT(e){return m0(e),e}function HT(e,t){let n;return r;function r(s){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),i(s)}function i(s){return s===null?o(s):K(s)?e.check($T,l,o)(s):(e.consume(s),i)}function o(s){return e.exit("chunkContent"),e.exit("content"),t(s)}function l(s){return e.consume(s),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}}function WT(e,t,n){const r=this;return i;function i(l){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),me(e,o,"linePrefix")}function o(l){if(l===null||K(l))return n(l);const s=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&s&&s[1].type==="linePrefix"&&s[2].sliceSerialize(s[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function g0(e,t,n,r,i,o,l,s,a){const u=a||Number.POSITIVE_INFINITY;let c=0;return f;function f(h){return h===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(h),e.exit(o),p):h===null||h===32||h===41||Pc(h)?n(h):(e.enter(r),e.enter(l),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(h))}function p(h){return h===62?(e.enter(o),e.consume(h),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),d(h))}function d(h){return h===62?(e.exit("chunkString"),e.exit(s),p(h)):h===null||h===60||K(h)?n(h):(e.consume(h),h===92?v:d)}function v(h){return h===60||h===62||h===92?(e.consume(h),d):d(h)}function m(h){return!c&&(h===null||h===41||at(h))?(e.exit("chunkString"),e.exit(s),e.exit(l),e.exit(r),t(h)):c<u&&h===40?(e.consume(h),c++,m):h===41?(e.consume(h),c--,m):h===null||h===32||h===40||Pc(h)?n(h):(e.consume(h),h===92?x:m)}function x(h){return h===40||h===41||h===92?(e.consume(h),m):m(h)}}function y0(e,t,n,r,i,o){const l=this;let s=0,a;return u;function u(d){return e.enter(r),e.enter(i),e.consume(d),e.exit(i),e.enter(o),c}function c(d){return s>999||d===null||d===91||d===93&&!a||d===94&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?n(d):d===93?(e.exit(o),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):K(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||K(d)||s++>999?(e.exit("chunkString"),c(d)):(e.consume(d),a||(a=!ue(d)),d===92?p:f)}function p(d){return d===91||d===92||d===93?(e.consume(d),s++,f):f(d)}}function v0(e,t,n,r,i,o){let l;return s;function s(p){return p===34||p===39||p===40?(e.enter(r),e.enter(i),e.consume(p),e.exit(i),l=p===40?41:p,a):n(p)}function a(p){return p===l?(e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(e.enter(o),u(p))}function u(p){return p===l?(e.exit(o),a(l)):p===null?n(p):K(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),me(e,u,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===l||p===null||K(p)?(e.exit("chunkString"),u(p)):(e.consume(p),p===92?f:c)}function f(p){return p===l||p===92?(e.consume(p),c):c(p)}}function To(e,t){let n;return r;function r(i){return K(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):ue(i)?me(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const QT={name:"definition",tokenize:qT},YT={partial:!0,tokenize:GT};function qT(e,t,n){const r=this;let i;return o;function o(d){return e.enter("definition"),l(d)}function l(d){return y0.call(r,e,s,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function s(d){return i=bi(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),a):n(d)}function a(d){return at(d)?To(e,u)(d):u(d)}function u(d){return g0(e,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function c(d){return e.attempt(YT,f,f)(d)}function f(d){return ue(d)?me(e,p,"whitespace")(d):p(d)}function p(d){return d===null||K(d)?(e.exit("definition"),r.parser.defined.push(i),t(d)):n(d)}}function GT(e,t,n){return r;function r(s){return at(s)?To(e,i)(s):n(s)}function i(s){return v0(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(s)}function o(s){return ue(s)?me(e,l,"whitespace")(s):l(s)}function l(s){return s===null||K(s)?t(s):n(s)}}const KT={name:"hardBreakEscape",tokenize:XT};function XT(e,t,n){return r;function r(o){return e.enter("hardBreakEscape"),e.consume(o),i}function i(o){return K(o)?(e.exit("hardBreakEscape"),t(o)):n(o)}}const ZT={name:"headingAtx",resolve:JT,tokenize:eR};function JT(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},o={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},pn(e,r,n-r+1,[["enter",i,t],["enter",o,t],["exit",o,t],["exit",i,t]])),e}function eR(e,t,n){let r=0;return i;function i(c){return e.enter("atxHeading"),o(c)}function o(c){return e.enter("atxHeadingSequence"),l(c)}function l(c){return c===35&&r++<6?(e.consume(c),l):c===null||at(c)?(e.exit("atxHeadingSequence"),s(c)):n(c)}function s(c){return c===35?(e.enter("atxHeadingSequence"),a(c)):c===null||K(c)?(e.exit("atxHeading"),t(c)):ue(c)?me(e,s,"whitespace")(c):(e.enter("atxHeadingText"),u(c))}function a(c){return c===35?(e.consume(c),a):(e.exit("atxHeadingSequence"),s(c))}function u(c){return c===null||c===35||at(c)?(e.exit("atxHeadingText"),s(c)):(e.consume(c),u)}}const tR=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Eh=["pre","script","style","textarea"],nR={concrete:!0,name:"htmlFlow",resolveTo:oR,tokenize:lR},rR={partial:!0,tokenize:aR},iR={partial:!0,tokenize:sR};function oR(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function lR(e,t,n){const r=this;let i,o,l,s,a;return u;function u(k){return c(k)}function c(k){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(k),f}function f(k){return k===33?(e.consume(k),p):k===47?(e.consume(k),o=!0,m):k===63?(e.consume(k),i=3,r.interrupt?t:w):sn(k)?(e.consume(k),l=String.fromCharCode(k),x):n(k)}function p(k){return k===45?(e.consume(k),i=2,d):k===91?(e.consume(k),i=5,s=0,v):sn(k)?(e.consume(k),i=4,r.interrupt?t:w):n(k)}function d(k){return k===45?(e.consume(k),r.interrupt?t:w):n(k)}function v(k){const G="CDATA[";return k===G.charCodeAt(s++)?(e.consume(k),s===G.length?r.interrupt?t:O:v):n(k)}function m(k){return sn(k)?(e.consume(k),l=String.fromCharCode(k),x):n(k)}function x(k){if(k===null||k===47||k===62||at(k)){const G=k===47,de=l.toLowerCase();return!G&&!o&&Eh.includes(de)?(i=1,r.interrupt?t(k):O(k)):tR.includes(l.toLowerCase())?(i=6,G?(e.consume(k),h):r.interrupt?t(k):O(k)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(k):o?g(k):y(k))}return k===45||vt(k)?(e.consume(k),l+=String.fromCharCode(k),x):n(k)}function h(k){return k===62?(e.consume(k),r.interrupt?t:O):n(k)}function g(k){return ue(k)?(e.consume(k),g):A(k)}function y(k){return k===47?(e.consume(k),A):k===58||k===95||sn(k)?(e.consume(k),b):ue(k)?(e.consume(k),y):A(k)}function b(k){return k===45||k===46||k===58||k===95||vt(k)?(e.consume(k),b):P(k)}function P(k){return k===61?(e.consume(k),E):ue(k)?(e.consume(k),P):y(k)}function E(k){return k===null||k===60||k===61||k===62||k===96?n(k):k===34||k===39?(e.consume(k),a=k,T):ue(k)?(e.consume(k),E):L(k)}function T(k){return k===a?(e.consume(k),a=null,R):k===null||K(k)?n(k):(e.consume(k),T)}function L(k){return k===null||k===34||k===39||k===47||k===60||k===61||k===62||k===96||at(k)?P(k):(e.consume(k),L)}function R(k){return k===47||k===62||ue(k)?y(k):n(k)}function A(k){return k===62?(e.consume(k),D):n(k)}function D(k){return k===null||K(k)?O(k):ue(k)?(e.consume(k),D):n(k)}function O(k){return k===45&&i===2?(e.consume(k),W):k===60&&i===1?(e.consume(k),Y):k===62&&i===4?(e.consume(k),q):k===63&&i===3?(e.consume(k),w):k===93&&i===5?(e.consume(k),M):K(k)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(rR,Q,H)(k)):k===null||K(k)?(e.exit("htmlFlowData"),H(k)):(e.consume(k),O)}function H(k){return e.check(iR,F,Q)(k)}function F(k){return e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),$}function $(k){return k===null||K(k)?H(k):(e.enter("htmlFlowData"),O(k))}function W(k){return k===45?(e.consume(k),w):O(k)}function Y(k){return k===47?(e.consume(k),l="",I):O(k)}function I(k){if(k===62){const G=l.toLowerCase();return Eh.includes(G)?(e.consume(k),q):O(k)}return sn(k)&&l.length<8?(e.consume(k),l+=String.fromCharCode(k),I):O(k)}function M(k){return k===93?(e.consume(k),w):O(k)}function w(k){return k===62?(e.consume(k),q):k===45&&i===2?(e.consume(k),w):O(k)}function q(k){return k===null||K(k)?(e.exit("htmlFlowData"),Q(k)):(e.consume(k),q)}function Q(k){return e.exit("htmlFlow"),t(k)}}function sR(e,t,n){const r=this;return i;function i(l){return K(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),o):n(l)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function aR(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(pa,t,n)}}const uR={name:"htmlText",tokenize:cR};function cR(e,t,n){const r=this;let i,o,l;return s;function s(w){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(w),a}function a(w){return w===33?(e.consume(w),u):w===47?(e.consume(w),P):w===63?(e.consume(w),y):sn(w)?(e.consume(w),L):n(w)}function u(w){return w===45?(e.consume(w),c):w===91?(e.consume(w),o=0,v):sn(w)?(e.consume(w),g):n(w)}function c(w){return w===45?(e.consume(w),d):n(w)}function f(w){return w===null?n(w):w===45?(e.consume(w),p):K(w)?(l=f,Y(w)):(e.consume(w),f)}function p(w){return w===45?(e.consume(w),d):f(w)}function d(w){return w===62?W(w):w===45?p(w):f(w)}function v(w){const q="CDATA[";return w===q.charCodeAt(o++)?(e.consume(w),o===q.length?m:v):n(w)}function m(w){return w===null?n(w):w===93?(e.consume(w),x):K(w)?(l=m,Y(w)):(e.consume(w),m)}function x(w){return w===93?(e.consume(w),h):m(w)}function h(w){return w===62?W(w):w===93?(e.consume(w),h):m(w)}function g(w){return w===null||w===62?W(w):K(w)?(l=g,Y(w)):(e.consume(w),g)}function y(w){return w===null?n(w):w===63?(e.consume(w),b):K(w)?(l=y,Y(w)):(e.consume(w),y)}function b(w){return w===62?W(w):y(w)}function P(w){return sn(w)?(e.consume(w),E):n(w)}function E(w){return w===45||vt(w)?(e.consume(w),E):T(w)}function T(w){return K(w)?(l=T,Y(w)):ue(w)?(e.consume(w),T):W(w)}function L(w){return w===45||vt(w)?(e.consume(w),L):w===47||w===62||at(w)?R(w):n(w)}function R(w){return w===47?(e.consume(w),W):w===58||w===95||sn(w)?(e.consume(w),A):K(w)?(l=R,Y(w)):ue(w)?(e.consume(w),R):W(w)}function A(w){return w===45||w===46||w===58||w===95||vt(w)?(e.consume(w),A):D(w)}function D(w){return w===61?(e.consume(w),O):K(w)?(l=D,Y(w)):ue(w)?(e.consume(w),D):R(w)}function O(w){return w===null||w===60||w===61||w===62||w===96?n(w):w===34||w===39?(e.consume(w),i=w,H):K(w)?(l=O,Y(w)):ue(w)?(e.consume(w),O):(e.consume(w),F)}function H(w){return w===i?(e.consume(w),i=void 0,$):w===null?n(w):K(w)?(l=H,Y(w)):(e.consume(w),H)}function F(w){return w===null||w===34||w===39||w===60||w===61||w===96?n(w):w===47||w===62||at(w)?R(w):(e.consume(w),F)}function $(w){return w===47||w===62||at(w)?R(w):n(w)}function W(w){return w===62?(e.consume(w),e.exit("htmlTextData"),e.exit("htmlText"),t):n(w)}function Y(w){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(w),e.exit("lineEnding"),I}function I(w){return ue(w)?me(e,M,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(w):M(w)}function M(w){return e.enter("htmlTextData"),l(w)}}const tf={name:"labelEnd",resolveAll:hR,resolveTo:mR,tokenize:gR},dR={tokenize:yR},fR={tokenize:vR},pR={tokenize:xR};function hR(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd"){const i=r.type==="labelImage"?4:2;r.type="data",t+=i}}return e.length!==n.length&&pn(e,0,e.length,n),e}function mR(e,t){let n=e.length,r=0,i,o,l,s;for(;n--;)if(i=e[n][1],o){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[n][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(l){if(e[n][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(o=n,i.type!=="labelLink")){r=2;break}}else i.type==="labelEnd"&&(l=n);const a={type:e[o][1].type==="labelLink"?"link":"image",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[o][1].start},end:{...e[l][1].end}},c={type:"labelText",start:{...e[o+r+2][1].end},end:{...e[l-2][1].start}};return s=[["enter",a,t],["enter",u,t]],s=Rt(s,e.slice(o+1,o+r+3)),s=Rt(s,[["enter",c,t]]),s=Rt(s,ef(t.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),t)),s=Rt(s,[["exit",c,t],e[l-2],e[l-1],["exit",u,t]]),s=Rt(s,e.slice(l+1)),s=Rt(s,[["exit",a,t]]),pn(e,o,e.length,s),e}function gR(e,t,n){const r=this;let i=r.events.length,o,l;for(;i--;)if((r.events[i][1].type==="labelImage"||r.events[i][1].type==="labelLink")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return s;function s(p){return o?o._inactive?f(p):(l=r.parser.defined.includes(bi(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),a):n(p)}function a(p){return p===40?e.attempt(dR,c,l?c:f)(p):p===91?e.attempt(fR,c,l?u:f)(p):l?c(p):f(p)}function u(p){return e.attempt(pR,c,f)(p)}function c(p){return t(p)}function f(p){return o._balanced=!0,n(p)}}function yR(e,t,n){return r;function r(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),i}function i(f){return at(f)?To(e,o)(f):o(f)}function o(f){return f===41?c(f):g0(e,l,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function l(f){return at(f)?To(e,a)(f):c(f)}function s(f){return n(f)}function a(f){return f===34||f===39||f===40?v0(e,u,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function u(f){return at(f)?To(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):n(f)}}function vR(e,t,n){const r=this;return i;function i(s){return y0.call(r,e,o,l,"reference","referenceMarker","referenceString")(s)}function o(s){return r.parser.defined.includes(bi(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(s):n(s)}function l(s){return n(s)}}function xR(e,t,n){return r;function r(o){return e.enter("reference"),e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),i}function i(o){return o===93?(e.enter("referenceMarker"),e.consume(o),e.exit("referenceMarker"),e.exit("reference"),t):n(o)}}const wR={name:"labelStartImage",resolveAll:tf.resolveAll,tokenize:SR};function SR(e,t,n){const r=this;return i;function i(s){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(s),e.exit("labelImageMarker"),o}function o(s){return s===91?(e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelImage"),l):n(s)}function l(s){return s===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(s):t(s)}}const kR={name:"labelStartLink",resolveAll:tf.resolveAll,tokenize:ER};function ER(e,t,n){const r=this;return i;function i(l){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(l),e.exit("labelMarker"),e.exit("labelLink"),o}function o(l){return l===94&&"_hiddenFootnoteSupport"in r.parser.constructs?n(l):t(l)}}const ru={name:"lineEnding",tokenize:bR};function bR(e,t){return n;function n(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),me(e,t,"linePrefix")}}const ns={name:"thematicBreak",tokenize:CR};function CR(e,t,n){let r=0,i;return o;function o(u){return e.enter("thematicBreak"),l(u)}function l(u){return i=u,s(u)}function s(u){return u===i?(e.enter("thematicBreakSequence"),a(u)):r>=3&&(u===null||K(u))?(e.exit("thematicBreak"),t(u)):n(u)}function a(u){return u===i?(e.consume(u),r++,a):(e.exit("thematicBreakSequence"),ue(u)?me(e,s,"whitespace")(u):s(u))}}const tt={continuation:{tokenize:NR},exit:IR,name:"list",tokenize:RR},PR={partial:!0,tokenize:LR},TR={partial:!0,tokenize:AR};function RR(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return s;function s(d){const v=r.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(v==="listUnordered"?!r.containerState.marker||d===r.containerState.marker:Tc(d)){if(r.containerState.type||(r.containerState.type=v,e.enter(v,{_container:!0})),v==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(ns,n,u)(d):u(d);if(!r.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),a(d)}return n(d)}function a(d){return Tc(d)&&++l<10?(e.consume(d),a):(!r.interrupt||l<2)&&(r.containerState.marker?d===r.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),u(d)):n(d)}function u(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||d,e.check(pa,r.interrupt?n:c,e.attempt(PR,p,f))}
vendor: 4,727 bytes, line 100
100function c(d){return r.containerState.initialBlankLine=!0,o++,p(d)}function f(d){return ue(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),p):n(d)}function p(d){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function NR(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(pa,i,o);function i(s){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,me(e,t,"listItemIndent",r.containerState.size+1)(s)}function o(s){return r.containerState.furtherBlankLines||!ue(s)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(s)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(TR,t,l)(s))}function l(s){return r.containerState._closeFlow=!0,r.interrupt=void 0,me(e,e.attempt(tt,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s)}}function AR(e,t,n){const r=this;return me(e,i,"listItemIndent",r.containerState.size+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type==="listItemIndent"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(o):n(o)}}function IR(e){e.exit(this.containerState.type)}function LR(e,t,n){const r=this;return me(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(o){const l=r.events[r.events.length-1];return!ue(o)&&l&&l[1].type==="listItemPrefixWhitespace"?t(o):n(o)}}const bh={name:"setextUnderline",resolveTo:OR,tokenize:_R};function OR(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!o&&e[n][1].type==="definition"&&(o=n);const l={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type="setextHeadingText",o?(e.splice(i,0,["enter",l,t]),e.splice(o+1,0,["exit",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=l,e.push(["exit",l,t]),e}function _R(e,t,n){const r=this;let i;return o;function o(u){let c=r.events.length,f;for(;c--;)if(r.events[c][1].type!=="lineEnding"&&r.events[c][1].type!=="linePrefix"&&r.events[c][1].type!=="content"){f=r.events[c][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||f)?(e.enter("setextHeadingLine"),i=u,l(u)):n(u)}function l(u){return e.enter("setextHeadingLineSequence"),s(u)}function s(u){return u===i?(e.consume(u),s):(e.exit("setextHeadingLineSequence"),ue(u)?me(e,a,"lineSuffix")(u):a(u))}function a(u){return u===null||K(u)?(e.exit("setextHeadingLine"),t(u)):n(u)}}const MR={tokenize:DR};function DR(e){const t=this,n=e.attempt(pa,r,e.attempt(this.parser.constructs.flowInitial,i,me(e,e.attempt(this.parser.constructs.flow,i,e.attempt(UT,i)),"linePrefix")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter("lineEndingBlank"),e.consume(o),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const FR={resolveAll:w0()},zR=x0("string"),jR=x0("text");function x0(e){return{resolveAll:w0(e==="text"?BR:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,l,s);return l;function l(c){return u(c)?o(c):s(c)}function s(c){if(c===null){n.consume(c);return}return n.enter("data"),n.consume(c),a}function a(c){return u(c)?(n.exit("data"),o(c)):(n.consume(c),a)}function u(c){if(c===null)return!0;const f=i[c];let p=-1;if(f)for(;++p<f.length;){const d=f[p];if(!d.previous||d.previous.call(r,r.previous))return!0}return!1}}}function w0(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type==="data"&&(o=i,i++):(!n[i]||n[i][1].type!=="data")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function BR(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type==="lineEnding")&&e[n-1][1].type==="data"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,l=-1,s=0,a;for(;o--;){const u=i[o];if(typeof u=="string"){for(l=u.length;u.charCodeAt(l-1)===32;)s++,l--;if(l)break;l=-1}else if(u===-2)a=!0,s++;else if(u!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(s=0),s){const u={type:n===e.length||a||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:r.start._bufferIndex+l,_index:r.start._index+o,line:r.end.line,column:r.end.column-s,offset:r.end.offset-s},end:{...r.end}};r.end={...u.start},r.start.offset===r.end.offset?Object.assign(r,u):(e.splice(n,0,["enter",u,t],["exit",u,t]),n+=2)}n++}return e}
vendor: 4,078 bytes, lines 100-102
100const UR={42:tt,43:tt,45:tt,48:tt,49:tt,50:tt,51:tt,52:tt,53:tt,54:tt,55:tt,56:tt,57:tt,62:f0},$R={91:QT},VR={[-2]:nu,[-1]:nu,32:nu},HR={35:ZT,42:ns,45:[bh,ns],60:nR,61:bh,95:ns,96:kh,126:kh},WR={38:h0,92:p0},QR={[-5]:ru,[-4]:ru,[-3]:ru,33:wR,38:h0,42:Rc,60:[kT,uR],91:kR,92:[KT,p0],93:tf,95:Rc,96:MT},YR={null:[Rc,FR]},qR={null:[42,95]},GR={null:[]},KR=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:qR,contentInitial:$R,disable:GR,document:UR,flow:HR,flowInitial:VR,insideSpan:YR,string:WR,text:QR},Symbol.toStringTag,{value:"Module"}));function XR(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let l=[],s=[];const a={attempt:T(P),check:T(E),consume:g,enter:y,exit:b,interrupt:T(E,{interrupt:!0})},u={code:null,containerState:{},defineSkip:m,events:[],now:v,parser:e,previous:null,sliceSerialize:p,sliceStream:d,write:f};let c=t.tokenize.call(u,a);return t.resolveAll&&o.push(t),u;function f(D){return l=Rt(l,D),x(),l[l.length-1]!==null?[]:(L(t,0),u.events=ef(o,u.events,u),u.events)}function p(D,O){return JR(d(D),O)}function d(D){return ZR(l,D)}function v(){const{_bufferIndex:D,_index:O,line:H,column:F,offset:$}=r;return{_bufferIndex:D,_index:O,line:H,column:F,offset:$}}function m(D){i[D.line]=D.column,A()}function x(){let D;for(;r._index<l.length;){const O=l[r._index];if(typeof O=="string")for(D=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===D&&r._bufferIndex<O.length;)h(O.charCodeAt(r._bufferIndex));else h(O)}}function h(D){c=c(D)}function g(D){K(D)?(r.line++,r.column=1,r.offset+=D===-3?2:1,A()):D!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=D}function y(D,O){const H=O||{};return H.type=D,H.start=v(),u.events.push(["enter",H,u]),s.push(H),H}function b(D){const O=s.pop();return O.end=v(),u.events.push(["exit",O,u]),O}function P(D,O){L(D,O.from)}function E(D,O){O.restore()}function T(D,O){return H;function H(F,$,W){let Y,I,M,w;return Array.isArray(F)?Q(F):"tokenize"in F?Q([F]):q(F);function q(oe){return ie;function ie(Qe){const Ye=Qe!==null&&oe[Qe],et=Qe!==null&&oe.null,dt=[...Array.isArray(Ye)?Ye:Ye?[Ye]:[],...Array.isArray(et)?et:et?[et]:[]];return Q(dt)(Qe)}}function Q(oe){return Y=oe,I=0,oe.length===0?W:k(oe[I])}function k(oe){return ie;function ie(Qe){return w=R(),M=oe,oe.partial||(u.currentConstruct=oe),oe.name&&u.parser.constructs.disable.null.includes(oe.name)?de():oe.tokenize.call(O?Object.assign(Object.create(u),O):u,a,G,de)(Qe)}}function G(oe){return D(M,w),$}function de(oe){return w.restore(),++I<Y.length?k(Y[I]):W}}}function L(D,O){D.resolveAll&&!o.includes(D)&&o.push(D),D.resolve&&pn(u.events,O,u.events.length-O,D.resolve(u.events.slice(O),u)),D.resolveTo&&(u.events=D.resolveTo(u.events,u))}function R(){const D=v(),O=u.previous,H=u.currentConstruct,F=u.events.length,$=Array.from(s);return{from:F,restore:W};function W(){r=D,u.previous=O,u.currentConstruct=H,u.events.length=F,s=$,A()}}function A(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function ZR(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let l;if(n===i)l=[e[n].slice(r,o)];else{if(l=e.slice(n,i),r>-1){const s=l[0];typeof s=="string"?l[0]=s.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function JR(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let l;if(typeof o=="string")l=o;else switch(o){case-5:{l="\r";break}case-4:{l=` 101`;break}case-3:{l=`\r 102`;break}case-2:{l=t?" ":" ";break}case-1:{if(!t&&i)continue;l=" ";break}default:l=String.fromCharCode(o)}i=o===-2,r.push(l)}return r.join("")}function e2(e){const r={constructs:sT([KR,...(e||{}).extensions||[]]),content:i(mT),defined:[],document:i(yT),flow:i(MR),lazy:{},string:i(zR),text:i(jR)};return r;function i(o){return l;function l(s){return XR(r,o,s)}}}function t2(e){for(;!m0(e););return e}const Ch=/[\0\t\n\r]/g;function n2(){let e=1,t="",n=!0,r;return i;function i(o,l,s){const a=[];let u,c,f,p,d;
vendor: 11,119 bytes, line 102
102for(o=t+(typeof o=="string"?o.toString():new TextDecoder(l||void 0).decode(o)),f=0,t="",n&&(o.charCodeAt(0)===65279&&f++,n=void 0);f<o.length;){if(Ch.lastIndex=f,u=Ch.exec(o),p=u&&u.index!==void 0?u.index:o.length,d=o.charCodeAt(p),!u){t=o.slice(f);break}if(d===10&&f===p&&r)a.push(-3),r=void 0;else switch(r&&(a.push(-5),r=void 0),f<p&&(a.push(o.slice(f,p)),e+=p-f),d){case 0:{a.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,a.push(-2);e++<c;)a.push(-1);break}case 10:{a.push(-4),e=1;break}default:r=!0,e=1}f=p+1}return s&&(r&&a.push(-5),t&&a.push(t),a.push(null)),a}}const r2=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function i2(e){return e.replace(r2,o2)}function o2(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return d0(n.slice(o?2:1),o?16:10)}return Jd(n)||e}const S0={}.hasOwnProperty;function l2(e,t,n){return t&&typeof t=="object"&&(n=t,t=void 0),s2(n)(t2(e2(n).document().write(n2()(e,t,!0))))}function s2(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:o(mn),autolinkProtocol:R,autolinkEmail:R,atxHeading:o(Jr),blockQuote:o(et),characterEscape:R,characterReference:R,codeFenced:o(dt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(dt,l),codeText:o(Ln,l),codeTextData:R,data:R,codeFlowValue:R,definition:o(Xt),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(Zr),hardBreakEscape:o(wr),hardBreakTrailing:o(wr),htmlFlow:o(ei,l),htmlFlowData:R,htmlText:o(ei,l),htmlTextData:R,image:o(Sr),label:l,link:o(mn),listItem:o(kr),listItemValue:p,listOrdered:o(Zi,f),listUnordered:o(Zi),paragraph:o(fl),reference:k,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(Jr),strong:o(gn),thematicBreak:o(ya)},exit:{atxHeading:a(),atxHeadingSequence:P,autolink:a(),autolinkEmail:Ye,autolinkProtocol:Qe,blockQuote:a(),characterEscapeValue:A,characterReferenceMarkerHexadecimal:de,characterReferenceMarkerNumeric:de,characterReferenceValue:oe,characterReference:ie,codeFenced:a(x),codeFencedFence:m,codeFencedFenceInfo:d,codeFencedFenceMeta:v,codeFlowValue:A,codeIndented:a(h),codeText:a($),codeTextData:A,data:A,definition:a(),definitionDestinationString:b,definitionLabelString:g,definitionTitleString:y,emphasis:a(),hardBreakEscape:a(O),hardBreakTrailing:a(O),htmlFlow:a(H),htmlFlowData:A,htmlText:a(F),htmlTextData:A,image:a(Y),label:M,labelText:I,lineEnding:D,link:a(W),listItem:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:G,resourceDestinationString:w,resourceTitleString:q,resource:Q,setextHeading:a(L),setextHeadingLineSequence:T,setextHeadingText:E,strong:a(),thematicBreak:a()}};k0(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(N){let B={type:"root",children:[]};const X={stack:[B],tokenStack:[],config:t,enter:s,exit:u,buffer:l,resume:c,data:n},ne=[];let se=-1;for(;++se<N.length;)if(N[se][1].type==="listOrdered"||N[se][1].type==="listUnordered")if(N[se][0]==="enter")ne.push(se);else{const ft=ne.pop();se=i(N,ft,se)}for(se=-1;++se<N.length;){const ft=t[N[se][0]];S0.call(ft,N[se][1].type)&&ft[N[se][1].type].call(Object.assign({sliceSerialize:N[se][2].sliceSerialize},X),N[se][1])}if(X.tokenStack.length>0){const ft=X.tokenStack[X.tokenStack.length-1];(ft[1]||Ph).call(X,void 0,ft[0])}for(B.position={start:Un(N.length>0?N[0][1].start:{line:1,column:1,offset:0}),end:Un(N.length>0?N[N.length-2][1].end:{line:1,column:1,offset:0})},se=-1;++se<t.transforms.length;)B=t.transforms[se](B)||B;return B}function i(N,B,X){let ne=B-1,se=-1,ft=!1,Zt,pt,bt,On;for(;++ne<=X;){const Te=N[ne];switch(Te[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Te[0]==="enter"?se++:se--,On=void 0;break}case"lineEndingBlank":{Te[0]==="enter"&&(Zt&&!On&&!se&&!bt&&(bt=ne),On=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:On=void 0}if(!se&&Te[0]==="enter"&&Te[1].type==="listItemPrefix"||se===-1&&Te[0]==="exit"&&(Te[1].type==="listUnordered"||Te[1].type==="listOrdered")){if(Zt){let _n=ne;for(pt=void 0;_n--;){const Ot=N[_n];if(Ot[1].type==="lineEnding"||Ot[1].type==="lineEndingBlank"){if(Ot[0]==="exit")continue;pt&&(N[pt][1].type="lineEndingBlank",ft=!0),Ot[1].type="lineEnding",pt=_n}else if(!(Ot[1].type==="linePrefix"||Ot[1].type==="blockQuotePrefix"||Ot[1].type==="blockQuotePrefixWhitespace"||Ot[1].type==="blockQuoteMarker"||Ot[1].type==="listItemIndent"))break}bt&&(!pt||bt<pt)&&(Zt._spread=!0),Zt.end=Object.assign({},pt?N[pt][1].start:Te[1].end),N.splice(pt||ne,0,["exit",Zt,Te[2]]),ne++,X++}if(Te[1].type==="listItemPrefix"){const _n={type:"listItem",_spread:!1,start:Object.assign({},Te[1].start),end:void 0};Zt=_n,N.splice(ne,0,["enter",_n,Te[2]]),ne++,X++,bt=void 0,On=!0}}}return N[B][1]._spread=ft,X}function o(N,B){return X;function X(ne){s.call(this,N(ne),ne),B&&B.call(this,ne)}}function l(){this.stack.push({type:"fragment",children:[]})}function s(N,B,X){this.stack[this.stack.length-1].children.push(N),this.stack.push(N),this.tokenStack.push([B,X||void 0]),N.position={start:Un(B.start),end:void 0}}function a(N){return B;function B(X){N&&N.call(this,X),u.call(this,X)}}function u(N,B){const X=this.stack.pop(),ne=this.tokenStack.pop();if(ne)ne[0].type!==N.type&&(B?B.call(this,N,ne[0]):(ne[1]||Ph).call(this,N,ne[0]));else throw new Error("Cannot close `"+N.type+"` ("+Po({start:N.start,end:N.end})+"): itâs not open");X.position.end=Un(N.end)}function c(){return oT(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(N){if(this.data.expectingFirstListItemValue){const B=this.stack[this.stack.length-2];B.start=Number.parseInt(this.sliceSerialize(N),10),this.data.expectingFirstListItemValue=void 0}}function d(){const N=this.resume(),B=this.stack[this.stack.length-1];B.lang=N}function v(){const N=this.resume(),B=this.stack[this.stack.length-1];B.meta=N}function m(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function x(){const N=this.resume(),B=this.stack[this.stack.length-1];B.value=N.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function h(){const N=this.resume(),B=this.stack[this.stack.length-1];B.value=N.replace(/(\r?\n|\r)$/g,"")}function g(N){const B=this.resume(),X=this.stack[this.stack.length-1];X.label=B,X.identifier=bi(this.sliceSerialize(N)).toLowerCase()}function y(){const N=this.resume(),B=this.stack[this.stack.length-1];B.title=N}function b(){const N=this.resume(),B=this.stack[this.stack.length-1];B.url=N}function P(N){const B=this.stack[this.stack.length-1];if(!B.depth){const X=this.sliceSerialize(N).length;B.depth=X}}function E(){this.data.setextHeadingSlurpLineEnding=!0}function T(N){const B=this.stack[this.stack.length-1];B.depth=this.sliceSerialize(N).codePointAt(0)===61?1:2}function L(){this.data.setextHeadingSlurpLineEnding=void 0}function R(N){const X=this.stack[this.stack.length-1].children;let ne=X[X.length-1];(!ne||ne.type!=="text")&&(ne=ga(),ne.position={start:Un(N.start),end:void 0},X.push(ne)),this.stack.push(ne)}function A(N){const B=this.stack.pop();B.value+=this.sliceSerialize(N),B.position.end=Un(N.end)}function D(N){const B=this.stack[this.stack.length-1];if(this.data.atHardBreak){const X=B.children[B.children.length-1];X.position.end=Un(N.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(B.type)&&(R.call(this,N),A.call(this,N))}function O(){this.data.atHardBreak=!0}function H(){const N=this.resume(),B=this.stack[this.stack.length-1];B.value=N}function F(){const N=this.resume(),B=this.stack[this.stack.length-1];B.value=N}function $(){const N=this.resume(),B=this.stack[this.stack.length-1];B.value=N}function W(){const N=this.stack[this.stack.length-1];if(this.data.inReference){const B=this.data.referenceType||"shortcut";N.type+="Reference",N.referenceType=B,delete N.url,delete N.title}else delete N.identifier,delete N.label;this.data.referenceType=void 0}function Y(){const N=this.stack[this.stack.length-1];if(this.data.inReference){const B=this.data.referenceType||"shortcut";N.type+="Reference",N.referenceType=B,delete N.url,delete N.title}else delete N.identifier,delete N.label;this.data.referenceType=void 0}function I(N){const B=this.sliceSerialize(N),X=this.stack[this.stack.length-2];X.label=i2(B),X.identifier=bi(B).toLowerCase()}function M(){const N=this.stack[this.stack.length-1],B=this.resume(),X=this.stack[this.stack.length-1];if(this.data.inReference=!0,X.type==="link"){const ne=N.children;X.children=ne}else X.alt=B}function w(){const N=this.resume(),B=this.stack[this.stack.length-1];B.url=N}function q(){const N=this.resume(),B=this.stack[this.stack.length-1];B.title=N}function Q(){this.data.inReference=void 0}function k(){this.data.referenceType="collapsed"}function G(N){const B=this.resume(),X=this.stack[this.stack.length-1];X.label=B,X.identifier=bi(this.sliceSerialize(N)).toLowerCase(),this.data.referenceType="full"}function de(N){this.data.characterReferenceType=N.type}function oe(N){const B=this.sliceSerialize(N),X=this.data.characterReferenceType;let ne;X?(ne=d0(B,X==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):ne=Jd(B);const se=this.stack[this.stack.length-1];se.value+=ne}function ie(N){const B=this.stack.pop();B.position.end=Un(N.end)}function Qe(N){A.call(this,N);const B=this.stack[this.stack.length-1];B.url=this.sliceSerialize(N)}function Ye(N){A.call(this,N);const B=this.stack[this.stack.length-1];B.url="mailto:"+this.sliceSerialize(N)}function et(){return{type:"blockquote",children:[]}}function dt(){return{type:"code",lang:null,meta:null,value:""}}function Ln(){return{type:"inlineCode",value:""}}function Xt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Zr(){return{type:"emphasis",children:[]}}function Jr(){return{type:"heading",depth:0,children:[]}}function wr(){return{type:"break"}}function ei(){return{type:"html",value:""}}function Sr(){return{type:"image",title:null,url:"",alt:null}}function mn(){return{type:"link",title:null,url:"",children:[]}}function Zi(N){return{type:"list",ordered:N.type==="listOrdered",start:null,spread:N._spread,children:[]}}function kr(N){return{type:"listItem",spread:N._spread,checked:null,children:[]}}function fl(){return{type:"paragraph",children:[]}}function gn(){return{type:"strong",children:[]}}function ga(){return{type:"text",value:""}}function ya(){return{type:"thematicBreak"}}}function Un(e){return{line:e.line,column:e.column,offset:e.offset}}function k0(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?k0(e,r):a2(e,r)}}function a2(e,t){let n;for(n in t)if(S0.call(t,n))switch(n){case"canContainEols":{const r=t[n];r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}function Ph(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Po({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Po({start:t.start,end:t.end}
vendor: 4,516 bytes, lines 102-106
102)+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Po({start:t.start,end:t.end})+") is still open")}function u2(e){const t=this;t.parser=n;function n(r){return l2(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function c2(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function d2(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:` 103`}]}function f2(e,t){const n=t.value?t.value+` 104`:"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let o={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o}function p2(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function h2(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function m2(e,t){const n=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),i=Xi(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let l,s=e.footnoteCounts.get(r);s===void 0?(s=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=o+1,s+=1,e.footnoteCounts.set(r,s);const a={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+i,id:n+"fnref-"+i+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(l)}]};e.patch(t,a);const u={type:"element",tagName:"sup",properties:{},children:[a]};return e.patch(t,u),e.applyData(t,u)}function g2(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function y2(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function E0(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type==="text"?o.value="["+o.value:i.unshift({type:"text",value:"["});const l=i[i.length-1];return l&&l.type==="text"?l.value+=r:i.push({type:"text",value:r}),i}function v2(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return E0(e,t);const i={src:Xi(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function x2(e,t){const n={src:Xi(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function w2(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function S2(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return E0(e,t);const i={href:Xi(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function k2(e,t){const n={href:Xi(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function E2(e,t,n){const r=e.all(t),i=n?b2(n):b0(t),o={},l=[];if(typeof t.checked=="boolean"){const c=r[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},r.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const c=r[s];(i||s!==0||c.type!=="element"||c.tagName!=="p")&&l.push({type:"text",value:` 105`}),c.type==="element"&&c.tagName==="p"&&!i?l.push(...c.children):l.push(c)}const a=r[r.length-1];a&&(i||a.type!=="element"||a.tagName!=="p")&&l.push({type:"text",value:` 106`});const u={type:"element",tagName:"li",properties:o,children:l};
vendor: 3,230 bytes, line 106
106return e.patch(t,u),e.applyData(t,u)}function b2(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=b0(n[r])}return t}function b0(e){const t=e.spread;return t??e.children.length>1}function C2(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i<r.length;){const l=r[i];if(l.type==="element"&&l.tagName==="li"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}const o={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function P2(e,t){const n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function T2(e,t){const n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function R2(e,t){const n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function N2(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},s=Gd(t.children[1]),a=i0(t.children[t.children.length-1]);s&&a&&(l.position={start:s,end:a}),i.push(l)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function A2(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?"th":"td",l=n&&n.type==="table"?n.align:void 0,s=l?l.length:t.children.length;let a=-1;const u=[];for(;++a<s;){const f=t.children[a],p={},d=l?l[a]:void 0;d&&(p.align=d);let v={type:"element",tagName:o,properties:p,children:[]};f&&(v.children=e.all(f),e.patch(f,v),v=e.applyData(f,v)),u.push(v)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(u,!0)};return e.patch(t,c),e.applyData(t,c)}function I2(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const Th=9,Rh=32;function L2(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(Nh(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(Nh(t.slice(i),i>0,!1)),o.join("")}function Nh(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===Th||o===Rh;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===Th||o===Rh;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function O2(e,t){const n={type:"text",value:L2(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function _2(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const M2={blockquote:c2,break:d2,code:f2,delete:p2,emphasis:h2,footnoteReference:m2,heading:g2,html:y2,imageReference:v2,image:x2,inlineCode:w2,linkReference:S2,link:k2,listItem:E2,list:C2,paragraph:P2,root:T2,strong:R2,table:N2,tableCell:I2,tableRow:A2,text:O2,thematicBreak:_2,toml:zl,yaml:zl,definition:zl,footnoteDefinition:zl};function zl(){}const C0=-1,ha=0,Ro=1,Ds=2,nf=3,rf=4,of=5,lf=6,P0=7,T0=8,D2=typeof self=="object"?self:globalThis,Ah=(e,t)=>
vendor: 3,869 bytes, line 106
106{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw new TypeError("unable to deserialize "+e)}return new D2[e](t)},F2=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,l]=t[i];switch(o){case ha:case C0:return n(l,i);case Ro:{const s=n([],i);for(const a of l)s.push(r(a));return s}case Ds:{const s=n({},i);for(const[a,u]of l)s[r(a)]=r(u);return s}case nf:return n(new Date(l),i);case rf:{const{source:s,flags:a}=l;return n(new RegExp(s,a),i)}case of:{const s=n(new Map,i);for(const[a,u]of l)s.set(r(a),r(u));return s}case lf:{const s=n(new Set,i);for(const a of l)s.add(r(a));return s}case P0:{const{name:s,message:a}=l;return n(Ah(s,a),i)}case T0:return n(BigInt(l),i);case"BigInt":return n(Object(BigInt(l)),i);case"ArrayBuffer":return n(new Uint8Array(l).buffer,l);case"DataView":{const{buffer:s}=new Uint8Array(l);return n(new DataView(s),l)}}return n(Ah(o,l),i)};return r},Ih=e=>F2(new Map,e)(0),ni="",{toString:z2}={},{keys:j2}=Object,co=e=>{const t=typeof e;if(t!=="object"||!e)return[ha,t];const n=z2.call(e).slice(8,-1);switch(n){case"Array":return[Ro,ni];case"Object":return[Ds,ni];case"Date":return[nf,ni];case"RegExp":return[rf,ni];case"Map":return[of,ni];case"Set":return[lf,ni];case"DataView":return[Ro,n]}return n.includes("Array")?[Ro,n]:n.includes("Error")?[P0,n]:[Ds,n]},jl=([e,t])=>e===ha&&(t==="function"||t==="symbol"),B2=(e,t,n,r)=>{const i=(l,s)=>{const a=r.push(l)-1;return n.set(s,a),a},o=l=>{if(n.has(l))return n.get(l);let[s,a]=co(l);switch(s){case ha:{let c=l;switch(a){case"bigint":s=T0,c=l.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+a);c=null;break;case"undefined":return i([C0],l)}return i([s,c],l)}case Ro:{if(a){let p=l;return a==="DataView"?p=new Uint8Array(l.buffer):a==="ArrayBuffer"&&(p=new Uint8Array(l)),i([a,[...p]],l)}const c=[],f=i([s,c],l);for(const p of l)c.push(o(p));return f}case Ds:{if(a)switch(a){case"BigInt":return i([a,l.toString()],l);case"Boolean":case"Number":case"String":return i([a,l.valueOf()],l)}if(t&&"toJSON"in l)return o(l.toJSON());const c=[],f=i([s,c],l);for(const p of j2(l))(e||!jl(co(l[p])))&&c.push([o(p),o(l[p])]);return f}case nf:return i([s,l.toISOString()],l);case rf:{const{source:c,flags:f}=l;return i([s,{source:c,flags:f}],l)}case of:{const c=[],f=i([s,c],l);for(const[p,d]of l)(e||!(jl(co(p))||jl(co(d))))&&c.push([o(p),o(d)]);return f}case lf:{const c=[],f=i([s,c],l);for(const p of l)(e||!jl(co(p)))&&c.push(o(p));return f}}const{message:u}=l;return i([s,{name:a,message:u}],l)};return o},Lh=(e,{json:t,lossy:n}={})=>{const r=[];return B2(!(t||n),!!t,new Map,r)(e),r},Fs=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Ih(Lh(e,t)):structuredClone(e):(e,t)=>Ih(Lh(e,t));function U2(e,t){const n=[{type:"text",value:"â©"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function $2(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function V2(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||U2,r=e.options.footnoteBackLabel||$2,i=e.options.footnoteLabel||"Footnotes",o=e.options.footnoteLabelTagName||"h2",l=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[];let a=-1;for(;++a<e.footnoteOrder.length;){const u=e.footnoteById.get(e.footnoteOrder[a]);if(!u)continue;const c=e.all(u),f=String(u.identifier).toUpperCase(),p=Xi(f.toLowerCase());let d=0;const v=[],m=e.footnoteCounts.get(f);for(;m!==void 0&&++d<=m;){v.length>0&&v.push({type:"text",value:" "});let g=typeof n=="string"?n:n(a,d);typeof g=="string"&&(g={type:"text",value:g}),v.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(
vendor: 23,181 bytes, lines 106-212
106a,d),className:["data-footnote-backref"]},children:Array.isArray(g)?g:[g]})}const x=c[c.length-1];if(x&&x.type==="element"&&x.tagName==="p"){const g=x.children[x.children.length-1];g&&g.type==="text"?g.value+=" ":x.children.push({type:"text",value:" "}),x.children.push(...v)}else c.push(...v);const h={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(c,!0)};e.patch(u,h),s.push(h)}if(s.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Fs(l),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` 107`},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:` 108`}]}}const R0=function(e){if(e==null)return Y2;if(typeof e=="function")return ma(e);if(typeof e=="object")return Array.isArray(e)?H2(e):W2(e);if(typeof e=="string")return Q2(e);throw new Error("Expected function, string, or object as test")};function H2(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=R0(e[n]);return ma(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function W2(e){const t=e;return ma(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function Q2(e){return ma(t);function t(n){return n&&n.type===e}}function ma(e){return t;function t(n,r,i){return!!(q2(n)&&e.call(this,n,typeof r=="number"?r:void 0,i||void 0))}}function Y2(){return!0}function q2(e){return e!==null&&typeof e=="object"&&"type"in e}const N0=[],G2=!0,Oh=!1,K2="skip";function X2(e,t,n,r){let i;typeof t=="function"&&typeof n!="function"?(r=n,n=t):i=t;const o=R0(i),l=r?-1:1;s(e,void 0,[])();function s(a,u,c){const f=a&&typeof a=="object"?a:{};if(typeof f.type=="string"){const d=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(a.type+(d?"<"+d+">":""))+")"})}return p;function p(){let d=N0,v,m,x;if((!t||o(a,u,c[c.length-1]||void 0))&&(d=Z2(n(a,c)),d[0]===Oh))return d;if("children"in a&&a.children){const h=a;if(h.children&&d[0]!==K2)for(m=(r?h.children.length:-1)+l,x=c.concat(h);m>-1&&m<h.children.length;){const g=h.children[m];if(v=s(g,m,x)(),v[0]===Oh)return v;m=typeof v[1]=="number"?v[1]:m+l}}return d}}}function Z2(e){return Array.isArray(e)?e:typeof e=="number"?[G2,e]:e==null?N0:[e]}function A0(e,t,n,r){let i,o,l;typeof t=="function"&&typeof n!="function"?(o=void 0,l=t,i=n):(o=t,l=n,i=r),X2(e,o,s,i);function s(a,u){const c=u[u.length-1],f=c?c.children.indexOf(a):void 0;return l(a,f,c)}}const Nc={}.hasOwnProperty,J2={};function eN(e,t){const n=t||J2,r=new Map,i=new Map,o=new Map,l={...M2,...n.handlers},s={all:u,applyData:nN,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:l,one:a,options:n,patch:tN,wrap:iN};return A0(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=c.type==="definition"?r:i,p=String(c.identifier).toUpperCase();f.has(p)||f.set(p,c)}}),s;function a(c,f){const p=c.type,d=s.handlers[p];if(Nc.call(s.handlers,p)&&d)return d(s,c,f);if(s.options.passThrough&&s.options.passThrough.includes(p)){if("children"in c){const{children:m,...x}=c,h=Fs(x);return h.children=s.all(c),h}return Fs(c)}return(s.options.unknownHandler||rN)(s,c,f)}function u(c){const f=[];if("children"in c){const p=c.children;let d=-1;for(;++d<p.length;){const v=s.one(p[d],c);if(v){if(d&&p[d-1].type==="break"&&(!Array.isArray(v)&&v.type==="text"&&(v.value=_h(v.value)),!Array.isArray(v)&&v.type==="element")){const m=v.children[0];m&&m.type==="text"&&(m.value=_h(m.value))}Array.isArray(v)?f.push(...v):f.push(v)}}}return f}}function tN(e,t){e.position&&(t.position=FP(e))}function nN(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r=="string")if(n.type==="element")n.tagName=r;else{const l="children"in n?n.children:[n];n={type:"element",tagName:r,properties:{},children:l}}n.type==="element"&&o&&Object.assign(n.properties,Fs(o)),"children"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function rN(e,t){const n=t.data||{},r="value"in t&&!(Nc.call(n,"hProperties")||Nc.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function iN(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:` 109`});++r<e.length;)r&&n.push({type:"text",value:` 110`}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:` 111`}),n}function _h(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Mh(e,t){const n=eN(e,t),r=n.one(e,void 0),i=V2(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&o.children.push({type:"text",value:` 112`},i),o}function oN(e,t){return e&&"run"in e?async function(n,r){const i=Mh(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Mh(n,{file:r,...e||t})}}function Dh(e){if(e)throw e}var rs=Object.prototype.hasOwnProperty,I0=Object.prototype.toString,Fh=Object.defineProperty,zh=Object.getOwnPropertyDescriptor,jh=function(t){return typeof Array.isArray=="function"?Array.isArray(t):I0.call(t)==="[object Array]"},Bh=function(t){if(!t||I0.call(t)!=="[object Object]")return!1;var n=rs.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&rs.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||rs.call(t,i)},Uh=function(t,n){Fh&&n.name==="__proto__"?Fh(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},$h=function(t,n){if(n==="__proto__")if(rs.call(t,n)){if(zh)return zh(t,n).value}else return;return t[n]},lN=function e(){var t,n,r,i,o,l,s=arguments[0],a=1,u=arguments.length,c=!1;for(typeof s=="boolean"&&(c=s,s=arguments[1]||{},a=2),(s==null||typeof s!="object"&&typeof s!="function")&&(s={});a<u;++a)if(t=arguments[a],t!=null)for(n in t)r=$h(s,n),i=$h(t,n),s!==i&&(c&&i&&(Bh(i)||(o=jh(i)))?(o?(o=!1,l=r&&jh(r)?r:[]):l=r&&Bh(r)?r:{},Uh(s,{name:n,newValue:e(c,l,i)})):typeof i<"u"&&Uh(s,{name:n,newValue:i}));return s};const iu=zs(lN);function Ac(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function sN(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const l=i.pop();if(typeof l!="function")throw new TypeError("Expected function as last argument, not "+l);s(null,...i);function s(a,...u){const c=e[++o];let f=-1;if(a){l(a);return}for(;++f<i.length;)(u[f]===null||u[f]===void 0)&&(u[f]=i[f]);i=u,c?aN(c,s)(...u):l(null,...u)}}function r(i){if(typeof i!="function")throw new TypeError("Expected `middelware` to be a function, not "+i);return e.push(i),t}}function aN(e,t){let n;return r;function r(...l){const s=e.length>l.length;let a;s&&l.push(i);try{a=e.apply(this,l)}catch(u){const c=u;if(s&&n)throw c;return i(c)}s||(a&&a.then&&typeof a.then=="function"?a.then(o,i):a instanceof Error?i(a):o(a))}function i(l,...s){n||(n=!0,t(l,...s))}function o(l){i(null,l)}}const tn={basename:uN,dirname:cN,extname:dN,join:fN,sep:"/"};function uN(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');dl(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let l=-1,s=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),s>-1&&(e.codePointAt(i)===t.codePointAt(s--)?s<0&&(r=i):(s=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function cN(e){if(dl(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function dN(e){dl(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){const s=e.codePointAt(t);if(s===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),s===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function fN(...e){let t=-1,n;for(;++t<e.length;)dl(e[t]),e[t]&&(n=n===void 0?e[t]:n+"/"+e[t]);return n===void 0?".":pN(n)}function pN(e){dl(e);const t=e.codePointAt(0)===47;let n=hN(e,!t);return n.length===0&&!t&&(n="."),n.length>0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function hN(e,t){let n="",r=0,i=-1,o=0,l=-1,s,a;for(;++l<=e.length;){if(l<e.length)s=e.codePointAt(l);else{if(s===47)break;s=47}if(s===47){if(!(i===l-1||o===1))if(i!==l-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(a=n.lastIndexOf("/"),a!==n.length-1){a<0?(n="",r=0):(n=n.slice(0,a),r=n.length-1-n.lastIndexOf("/")),i=l,o=0;continue}}else if(n.length>0){n="",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else s===46&&o>-1?o++:o=-1}return n}function dl(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const mN={cwd:gN};function gN(){return"/"}function Ic(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function yN(e){if(typeof e=="string")e=new URL(e);else if(!Ic(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return vN(e)}function vN(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError("File URL path must not include encoded / characters");throw i.code="ERR_INVALID_FILE_URL_PATH",i}}return decodeURIComponent(t)}const ou=["history","path","basename","stem","extname","dirname"];class L0{constructor(t){let n;t?Ic(t)?n={path:t}:typeof t=="string"||xN(t)?n={value:t}:n=t:n={},this.cwd="cwd"in n?"":mN.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<ou.length;){const o=ou[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o==="history"?[...n[o]]:n[o])}let i;for(i in n)ou.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path=="string"?tn.basename(this.path):void 0}set basename(t){su(t,"basename"),lu(t,"basename"),this.path=tn.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?tn.dirname(this.path):void 0}set dirname(t){Vh(this.basename,"dirname"),this.path=tn.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?tn.extname(this.path):void 0}set extname(t){if(lu(t,"extname"),Vh(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=tn.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Ic(t)&&(t=yN(t)),su(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?tn.basename(this.path,this.extname):void 0}set stem(t){su(t,"stem"),lu(t,"stem"),this.path=tn.join(this.dirname||"",t+(this.extname||""))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new We(t,n,r);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function lu(e,t){if(e&&e.includes(tn.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+tn.sep+"`")}function su(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Vh(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function xN(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const wN=function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o},SN={}.hasOwnProperty;class sf extends wN{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=sN()}copy(){const t=new sf;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(iu(!0,{},this.namespace)),t}data(t,n){return typeof t=="string"?arguments.length===2?(cu("data",this.frozen),this.namespace[t]=n,this):SN.call(this.namespace,t)&&this.namespace[t]||void 0:t?(cu("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i=="function"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=Bl(t),r=this.parser||this.Parser;return au("parse",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),au("process",this.parser||this.Parser),uu("process",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,l){const s=Bl(t),a=r.parse(s);r.run(a,s,function(c,f,p){if(c||!f||!p)return u(c);const d=f,v=r.stringify(d,p);bN(v)?p.value=v:p.result=v,u(c,p)});function u(c,f){c||!f?l(c):o?o(f):n(void 0,f)}}}processSync(t){let n=!1,r;return this.freeze(),au("processSync",this.parser||this.Parser),uu("processSync",this.compiler||this.Compiler),this.process(t,i),Wh("processSync","process",n),r;function i(o,l){n=!0,Dh(o),r=l}}run(t,n,r){Hh(t),this.freeze();const i=this.transformers;return!r&&typeof n=="function"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(l,s){const a=Bl(n);i.run(t,a,u);function u(c,f,p){const d=f||t;c?s(c):l?l(d):r(void 0,d,p)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),Wh("runSync","run",r),i;function o(l,s){Dh(l),i=s,r=!0}}stringify(t,n){this.freeze();const r=Bl(n),i=this.compiler||this.Compiler;return uu("stringify",i),Hh(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(cu("use",this.frozen),t!=null)if(typeof t=="function")a(t,n);else if(typeof t=="object")Array.isArray(t)?s(t):l(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function o(u){if(typeof u=="function")a(u,[]);else if(typeof u=="object")if(Array.isArray(u)){const[c,...f]=u;a(c,f)}else l(u);else throw new TypeError("Expected usable value, not `"+u+"`")}function l(u){if(!("plugins"in u)&&!("settings"in u))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");s(u.plugins),u.settings&&(i.settings=iu(!0,i.settings,u.settings))}function s(u){let c=-1;if(u!=null)if(Array.isArray(u))for(;++c<u.length;){const f=u[c];o(f)}else throw new TypeError("Expected a list of plugins, not `"+u+"`")}function a(u,c){let f=-1,p=-1;for(;++f<r.length;)if(r[f][0]===u){p=f;break}if(p===-1)r.push([u,...c]);else if(c.length>0){let[d,...v]=c;const m=r[p][1];Ac(m)&&Ac(d)&&(d=iu(!0,m,d)),r[p]=[u,d,...v]}}}}const kN=new sf().freeze();function au(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function uu(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function cu(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Hh(e){if(!Ac(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Wh(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Bl(e){return EN(e)?e:new L0(e)}function EN(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function bN(e){return typeof e=="string"||CN(e)}function CN(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const PN="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Qh=[],Yh={allowDangerousHtml:!0},TN=/^(https?|ircs?|mailto|xmpp)$/i,RN=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function NN(e){const t=AN(e),n=IN(e);return LN(t.runSync(t.parse(n),n),e)}function AN(e){const t=e.rehypePlugins||Qh,n=e.remarkPlugins||Qh,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Yh}:Yh;return kN().use(u2).use(n).use(oN,r).use(t)}function IN(e){const t=e.children||"",n=new L0;return typeof t=="string"&&(n.value=t),n}function LN(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,l=t.skipHtml,s=t.unwrapDisallowed,a=t.urlTransform||ON;for(const c of RN)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+PN+c.id,void 0);return A0(e,u),$P(e,{Fragment:C.Fragment,components:i,ignoreInvalidStyle:!0,jsx:C.jsx,jsxs:C.jsxs,passKeys:!0,passNode:!0});function u(c,f,p){if(c.type==="raw"&&p&&typeof f=="number")return l?p.children.splice(f,1):p.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let d;for(d in tu)if(Object.hasOwn(tu,d)&&Object.hasOwn(c.properties,d)){const v=c.properties[d],m=tu[d];(m===null||m.includes(c.tagName))&&(c.properties[d]=a(String(v||""),d,c))}}if(c.type==="element"){let d=n?!n.includes(c.tagName):o?o.includes(c.tagName):!1;if(!d&&r&&typeof f=="number"&&(d=!r(c,f,p)),d&&p&&typeof f=="number")return s&&c.children?p.children.splice(f,1,...c.children):p.children.splice(f,1),f}}}function ON(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||TN.test(e.slice(0,t))?e:""}const _N=`# Privacy Policy 113 114**SocraticAI L.L.C-FZ** 115Meydan Grandstand, 6th Floor, Meydan Road, Nad Al Sheba, Dubai, U.A.E. 116Contact: [email protected] 117Last updated: May 11, 2026 118 119--- 120 121## 1. Who We Are 122 123SocraticAI L.L.C-FZ (licence no. 2426019.01) operates the Bernadette conversational AI platform accessible at socraticai.ai ("the Service"). References to "we", "us" or "our" mean SocraticAI L.L.C-FZ. 124 125--- 126 127## 2. Data We Collect 128 129When you register for the Service, we collect: 130 131- **Email address** â for account identification and contact purposes 132- **Native language(s)** â to adapt the experience 133- **French nationality** (yes/no) â to adapt cultural references 134- **Age range** (18â27 / 28â43 / 44+) â to adapt the experience 135- **English level** â to adapt media content 136- **French level** â to adapt content 137- **Interests** â to personalise content 138- **Conversation logs** â session transcripts generated during use of the Service 139 140We do not collect payment data, precise geolocation, government ID, or health data. 141 142--- 143 144## 3. Legal Basis for Processing (EU/EEA Users) 145 146For users located in the European Union or European Economic Area, we process your personal data on the following legal bases under the General Data Protection Regulation (GDPR): 147 148- **Contractual necessity** (Article 6(1)(b) GDPR): processing your email and registration data to provide the Service 149- **Legitimate interests** (Article 6(1)(f) GDPR): improving the Service and ensuring security 150- **Consent** (Article 6(1)(a) GDPR): where you have expressly consented, including to the processing of optional profile data 151 152--- 153 154## 4. How We Use Your Data 155 156We use your data to: 157 158- Provide and operate the Service 159- Personalise your experience (language, cultural references, media content) 160- Communicate with you regarding your account 161- Improve and develop the Service 162- Comply with applicable legal obligations 163 164We do not sell your personal data to third parties. We do not use your data for advertising purposes. 165 166--- 167 168## 5. Data Retention 169 170We retain your personal data for as long as your account is active, or as necessary to provide the Service. Conversation logs are retained for a maximum of 12 months. You may request deletion at any time by contacting [email protected]. 171 172--- 173 174## 6. Data Sharing 175 176We may share your data with: 177 178- **Service providers** acting as data processors (e.g. hosting, AI infrastructure) under appropriate data processing agreements 179- **Competent authorities** where required by law 180 181We do not share your data with third parties for marketing purposes. 182 183--- 184 185## 7. International Transfers 186 187SocraticAI is incorporated in Dubai, U.A.E. If you are located in the EU/EEA, your data may be transferred outside the EEA. Where such transfers occur, we implement appropriate safeguards in accordance with GDPR Chapter V, including standard contractual clauses where applicable. 188 189--- 190 191## 8. Your Rights 192 193Depending on your jurisdiction, you may have the following rights: 194 195- **Right of access** â to obtain a copy of your personal data 196- **Right to rectification** â to correct inaccurate data 197- **Right to erasure** â to request deletion of your data 198- **Right to restriction** â to limit processing in certain circumstances 199- **Right to data portability** â to receive your data in a structured format 200- **Right to object** â to processing based on legitimate interests 201- **Right to withdraw consent** â where processing is based on consent 202 203To exercise any of these rights, contact us at [email protected]. EU/EEA users also have the right to lodge a complaint with their national data protection authority. 204 205--- 206 207## 9. Minors 208 209The Service is intended for adults only. By registering, you confirm that you are of legal age in your country of residence. We do not knowingly collect data from minors. If we become aware that a minor has provided us with personal data, we will delete it promptly. 210 211--- 212
213## 10. Cookies and Tracking 214 215The Service may use session cookies strictly necessary for its operation. We do not use advertising or tracking cookies. 216 217--- 218 219## 11. Security 220 221We implement appropriate technical and organisational measures to protect your personal data against unauthorised access, loss, or disclosure. 222 223--- 224 225## 12. Changes to This Policy 226 227We may update this Privacy Policy from time to time. We will notify you of material changes by email or by prominent notice on the Service. Your continued use of the Service after notification constitutes acceptance of the updated policy. 228 229--- 230 231## 13. Governing Law 232 233This Privacy Policy is governed by the laws of the United Arab Emirates. For EU/EEA users, the GDPR applies to the extent required by law. 234 235--- 236 237*SocraticAI L.L.C-FZ â [email protected]* 238`,MN=`# Terms of Use 239 240**SocraticAI L.L.C-FZ** 241Meydan Grandstand, 6th Floor, Meydan Road, Nad Al Sheba, Dubai, U.A.E. 242Contact: [email protected] 243Last updated: May 11, 2026 244 245--- 246 247## 1. Acceptance 248 249By accessing or using the Bernadette platform at socraticai.ai ("the Service"), you agree to be bound by these Terms of Use. If you do not agree, do not use the Service. 250 251--- 252 253## 2. Nature of the Service 254 255Bernadette is an artistic, satirical, and philosophical conversational AI experience. It is designed to challenge your reasoning through Socratic dialectic. It is not therapy, coaching, medical advice, legal advice, or financial advice. It does not provide factual answers or validated information. 256 257The Service uses dark humour, sarcasm, and deliberate intellectual confrontation. By registering, you acknowledge and accept this nature. 258 259--- 260 261## 3. Eligibility 262 263You must be of legal age in your country of residence to use the Service. By registering, you confirm that you meet this requirement. 264 265--- 266 267## 4. Account 268 269You are responsible for maintaining the confidentiality of your account credentials. You agree to notify us immediately of any unauthorised use of your account at [email protected]. 270 271--- 272 273## 5. Acceptable Use 274 275You agree not to: 276 277- Use the Service for any unlawful purpose 278- Attempt to circumvent, manipulate, or jailbreak the AI system 279- Use the Service to harass, threaten, or harm any person 280- Attempt to extract, reverse-engineer, or reproduce the system prompts, architecture, or proprietary content of the Service 281- Use the Service in any way that could damage, disable, or impair it 282 283--- 284 285## 6. Intellectual Property 286 287All content, architecture, prompts, and design of the Service are the exclusive property of SocraticAI L.L.C-FZ. Nothing in these Terms grants you any right to use our intellectual property. 288 289--- 290 291## 7. Disclaimer of Warranties 292 293The Service is provided "as is" and "as available" without warranty of any kind. We do not warrant that the Service will be uninterrupted, error-free, or free of harmful components. 294 295--- 296 297## 8. Limitation of Liability 298 299To the maximum extent permitted by applicable law, SocraticAI L.L.C-FZ shall not be liable for any indirect, incidental, special, consequential, or punitive damages arising from your use of the Service. 300 301--- 302 303## 9. Modifications 304 305We reserve the right to modify or discontinue the Service at any time. We may update these Terms of Use and will notify you of material changes. Continued use of the Service constitutes acceptance. 306 307--- 308 309## 10. Governing Law and Jurisdiction 310 311These Terms of Use are governed by the laws of the United Arab Emirates. Any dispute shall be subject to the exclusive jurisdiction of the courts of Dubai, U.A.E., without prejudice to mandatory consumer protection rights applicable in your country of residence. 312 313--- 314 315*SocraticAI L.L.C-FZ â [email protected]* 316`,DN=`# Terms and Conditions 317 318**SocraticAI L.L.C-FZ** 319Meydan Grandstand, 6th Floor, Meydan Road, Nad Al Sheba, Dubai, U.A.E. 320Contact: [email protected] 321Last updated: May 11, 2026 322 323--- 324 325## 1. Parties 326 327These Terms and Conditions ("T&C") constitute a binding agreement between SocraticAI L.L.C-FZ (licence no. 2426019.01), incorporated in the Dubai U.A.E. Free Zone ("SocraticAI", "we", "us"), and any individual who registers for or uses the Bernadette Service at socraticai.ai ("User", "you"). 328 329--- 330 331## 2. Description of Service 332 333The Service provides access to Bernadette, an AI-powered Socratic dialectic conversational experience. The Service is intended for educational, artistic, and philosophical entertainment purposes only. 334 335The Service is explicitly not: 336- A mental health, therapeutic, or counselling service 337- A source of medical, legal, financial, or professional advice 338- A factual information service 339 340--- 341 342## 3. Registration and Account 343 3443.1 To access the Service, you must complete registration and provide accurate information. 345 3463.2 You must confirm that you are of legal age in your country of residence. 347 3483.3 You are solely responsible for all activity conducted through your account. 349 3503.4 We reserve the right to suspend or terminate accounts that violate these T&C. 351 352--- 353 354## 4. Service Availability 355 3564.1 We aim to maintain Service availability but do not guarantee uninterrupted access. 357 3584.2 We reserve the right to modify, suspend, or discontinue the Service at any time, with or without notice. 359 3604.3 We are not liable for any loss resulting from Service unavailability. 361 362--- 363 364## 5. User Obligations 365 3665.1 You agree to use the Service in good faith and in accordance with applicable law. 367 3685.2 You agree not to: 369- Attempt to manipulate, jailbreak, or reverse-engineer the AI system or its underlying architecture 370- Use automated tools to access the Service 371- Reproduce, distribute, or commercially exploit any content generated by or forming part of the Service 372- Use the Service to generate content that is unlawful, defamatory, or harmful 373 3745.3 Repeated attempts to circumvent the AI system's design constraints may result in account suspension. 375 376--- 377 378## 6. Intellectual Property 379 3806.1 All intellectual property rights in the Service, including but not limited to the AI architecture, system prompts, conversational design, and branding, are owned by SocraticAI L.L.C-FZ. 381 3826.2 User-generated content (your messages and inputs) remains your property. By using the Service, you grant SocraticAI a non-exclusive, royalty-free licence to process such content for the purposes of providing and improving the Service. 383 3846.3 Nothing in these T&C transfers any intellectual property rights to you. 385 386--- 387 388## 7. Data Protection 389 390Your personal data is processed in accordance with our Privacy Policy, available at socraticai.ai/privacy. For EU/EEA users, the GDPR applies to the extent required by applicable law. 391 392--- 393 394## 8. Limitation of Liability 395 3968.1 To the fullest extent permitted by law, SocraticAI's total liability to you for any claim arising out of or related to the Service shall not exceed the amount paid by you to SocraticAI in the twelve months preceding the claim. 397 3988.2 SocraticAI shall not be liable for: 399- Any indirect, consequential, special, or punitive damages 400- Loss of data, profits, or business opportunity 401- Psychological discomfort arising from the confrontational nature of the Service, which is integral to its design and accepted by the User upon registration 402 403--- 404 405## 9. Indemnification 406 407You agree to indemnify and hold harmless SocraticAI and its officers, directors, and agents from any claim, damage, or expense arising from your breach of these T&C or your use of the Service. 408 409--- 410 411## 10. Modifications to T&C 412 413We may update these T&C at any time. We will notify you by email or prominent notice on the Service. Your continued use after notification constitutes acceptance of the updated T&C. 414 415--- 416 417## 11. Termination 418 41911.1 You may terminate your account at any time by contacting [email protected]. 420 42111.2 We may terminate or suspend your account immediately for breach of these T&C, without prior notice. 422 42311.3 Upon termination, your right to use the Service ceases immediately. 424 425--- 426 427## 12. Severability 428 429If any provision of these T&C is found to be unenforceable, the remaining provisions shall continue in full force and effect. 430 431--- 432 433## 13. Entire Agreement 434 435These T&C, together with the Privacy Policy and Terms of Use, constitute the entire agreement between you and SocraticAI with respect to the Service. 436 437--- 438 439## 14. Governing Law and Dispute Resolution 440 44114.1 These T&C are governed by the laws of the United Arab Emirates. 442 44314.2 Any dispute arising out of or in connection with these T&C shall be referred to and finally resolved by the courts of Dubai, U.A.E. 444 44514.3 Nothing in this clause affects any mandatory consumer protection rights you may have under the law of your country of residence. 446 447--- 448 449*SocraticAI L.L.C-FZ â [email protected]* 450`,FN={privacy:_N,"terms-of-use":MN,"terms-and-conditions":DN},du=({doc:e})=>C.jsx("div",{className:"min-h-screen bg-background py-12 px-4",children:C.jsxs("div",{className:"max-w-3xl mx-auto",children:[C.jsx(IS,{to:"/",className:"text-xs font-mono text-muted-foreground hover:text-primary transition-colors",children:"â Home"}),C.jsx("article",{className:`mt-6 prose prose-invert max-w-none font-mono text-sm 451 prose-headings:font-mono prose-headings:text-foreground 452 prose-h1:glow-text prose-h1:text-3xl 453 prose-h2:text-xl prose-h2:text-primary
454 prose-p:text-foreground/80 455 prose-strong:text-foreground 456 prose-a:text-primary prose-a:no-underline hover:prose-a:underline 457 prose-li:text-foreground/80 458 prose-hr:border-border`,children:C.jsx(NN,{children:FN[e]})})]})}),zN=()=>{const e=Qi();return S.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),C.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:C.jsxs("div",{className:"text-center",children:[C.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),C.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),C.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},jN=new N1,BN=()=>C.jsx(I1,{client:jN,children:C.jsxs(DC,{children:[C.jsx(XE,{}),C.jsx(dk,{}),C.jsx(RS,{children:C.jsxs(wS,{children:[C.jsx(Tr,{path:"/",element:C.jsx(VC,{})}),C.jsx(Tr,{path:"/chat",element:C.jsx(WC,{})}),C.jsx(Tr,{path:"/privacy",element:C.jsx(du,{doc:"privacy"})}),C.jsx(Tr,{path:"/terms-of-use",element:C.jsx(du,{doc:"terms-of-use"})}),C.jsx(Tr,{path:"/terms-and-conditions",element:C.jsx(du,{doc:"terms-and-conditions"})}),C.jsx(Tr,{path:"*",element:C.jsx(zN,{})})]})})]})});gy(document.getElementById("root")).render(C.jsx(BN,{}));
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.