PageSourceSearch

https://robertocarreras.com/assets/app-DAN-3076.js

js robertocarreras.com collected 2026-10-09 18:04:34 UTC 400,669 bytes, 125 lines download raw bytes

vendor: 6,578 bytes, lines 1-10
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/Index-DhUIE02-.js","assets/SEO-fUHUlYoR.js","assets/mic-DiRuQb-n.js","assets/graduation-cap-B7rJpsvi.js","assets/lightbulb-BxBJ8qVA.js","assets/sparkles-pwriT3eK.js","assets/arrow-right-Bv6xIwr9.js","assets/map-pin-BjIwU2We.js","assets/building-2-BHVr0ryg.js","assets/users-CGlqsdxY.js","assets/star-D_zPvgpd.js","assets/external-link-g4d8J8e0.js","assets/bot-CWdEDYn_.js","assets/index-BeLyMzay.js","assets/brain-CmI6rqTZ.js","assets/target-ChPlBS6G.js","assets/rocket-DZHMAuis.js","assets/zap-BAF2BG-7.js","assets/label-vUWnlubY.js","assets/Privacidad-CwPI0oHp.js","assets/PoliticaCookies-uCt4J0m5.js","assets/AvisoLegal-DlzelSRo.js","assets/SobreMi-cMSSMVod.js","assets/Competencias-BHecRKXf.js","assets/accordion-C1cXBKoc.js","assets/search-0Mgu4a70.js","assets/IdentidadConversacional-D3LhK593.js","assets/shield-DzplLVVl.js","assets/layers-_sqrdsed.js","assets/MarcoIdentidadConversacional-BV4PkgIT.js","assets/MarketingDigital-D4WsueCX.js","assets/InteligenciaArtificialMarketing-5B2DAYyq.js","assets/globe-DKGqeAlI.js","assets/InnovacionEmprendimiento-Ck0Z6V4X.js","assets/ConferencianteFormador-Qq-_6Cjy.js","assets/LiderazgoEquipos-DvMq5ubv.js","assets/VisibilidadIA-DiKYBDqL.js","assets/AgenciaRascacielos-ZGVt16FB.js","assets/NotFound-BEovf-v1.js"])))=>i.map(i=>d[i]);
2var Gy=Object.defineProperty;var mf=e=>{throw TypeError(e)};var Xy=(e,t,n)=>t in e?Gy(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var gf=(e,t,n)=>Xy(e,typeof t!="symbol"?t+"":t,n),Wl=(e,t,n)=>t.has(e)||mf("Cannot "+n);var A=(e,t,n)=>(Wl(e,t,"read from private field"),n?n.call(e):t.get(e)),ve=(e,t,n)=>t.has(e)?mf("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),ie=(e,t,n,r)=>(Wl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),tt=(e,t,n)=>(Wl(e,t,"access private method"),n);var Va=(e,t,n,r)=>({set _(o){ie(e,t,o,n)},get _(){return A(e,t,r)}});function $h(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function li(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Uh={exports:{}},gl={},Bh={exports:{}},ce={};/**
3 * @license React
4 * react.production.min.js
5 *
6 * Copyright (c) Facebook, Inc. and its affiliates.
7 *
8 * This source code is licensed under the MIT license found in the
9 * LICENSE file in the root directory of this source tree.
10 */var Pa=Symbol.for("react.element"),qy=Symbol.for("react.portal"),Jy=Symbol.for("react.fragment"),Zy=Symbol.for("react.strict_mode"),e0=Symbol.for("react.profiler"),t0=Symbol.for("react.provider"),n0=Symbol.for("react.context"),r0=Symbol.for("react.forward_ref"),o0=Symbol.for("react.suspense"),i0=Symbol.for("react.memo"),a0=Symbol.for("react.lazy"),vf=Symbol.iterator;function s0(e){return e===null||typeof e!="object"?null:(e=vf&&e[vf]||e["@@iterator"],typeof e=="function"?e:null)}var Vh={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Hh=Object.assign,Wh={};function ui(e,t,n){this.props=e,this.context=t,this.refs=Wh,this.updater=n||Vh}ui.prototype.isReactComponent={};ui.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")};ui.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Qh(){}Qh.prototype=ui.prototype;function Qc(e,t,n){this.props=e,this.context=t,this.refs=Wh,this.updater=n||Vh}var Kc=Qc.prototype=new Qh;Kc.constructor=Qc;Hh(Kc,ui.prototype);Kc.isPureReactComponent=!0;var yf=Array.isArray,Kh=Object.prototype.hasOwnProperty,Yc={current:null},Yh={key:!0,ref:!0,__self:!0,__source:!0};function Gh(e,t,n){var r,o={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)Kh.call(t,r)&&!Yh.hasOwnProperty(r)&&(o[r]=t[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var l=Array(s),u=0;u<s;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in s=e.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return{$$typeof:Pa,type:e,key:i,ref:a,props:o,_owner:Yc.current}}function l0(e,t){return{$$typeof:Pa,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Gc(e){return typeof e=="object"&&e!==null&&e.$$typeof===Pa}function u0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var wf=/\/+/g;function Ql(e,t){return typeof e=="object"&&e!==null&&e.key!=null?u0(""+e.key):t.toString(36)}function ms(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var a=!1;if(e===null)a=!0;else switch(i){case"string":case"number":a=!0;break;case"object":switch(e.$$typeof){case Pa:case qy:a=!0}}if(a)return a=e,o=o(a),e=r===""?"."+Ql(a,0):r,yf(o)?(n="",e!=null&&(n=e.replace(wf,"$&/")+"/"),ms(o,t,n,"",function(u){return u})):o!=null&&(Gc(o)&&(o=l0(o,n+(!o.key||a&&a.key===o.key?"":(""+o.key).replace(wf,"$&/")+"/")+e)),t.push(o)),1;if(a=0,r=r===""?".":r+":",yf(e))for(var s=0;s<e.length;s++){i=e[s];var l=r+Ql(i,s);a+=ms(i,t,n,l,o)}else if(l=s0(e),typeof l=="function")for(e=l.call(e),s=0;!(i=e.next()).done;)i=i.value,l=r+Ql(i,s++),a+=ms(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return a}
vendor: 4,871 bytes, lines 10-18
10function Ha(e,t,n){if(e==null)return e;var r=[],o=0;return ms(e,r,"","",function(i){return t.call(n,i,o++)}),r}function c0(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 pt={current:null},gs={transition:null},d0={ReactCurrentDispatcher:pt,ReactCurrentBatchConfig:gs,ReactCurrentOwner:Yc};function Xh(){throw Error("act(...) is not supported in production builds of React.")}ce.Children={map:Ha,forEach:function(e,t,n){Ha(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ha(e,function(){t++}),t},toArray:function(e){return Ha(e,function(t){return t})||[]},only:function(e){if(!Gc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};ce.Component=ui;ce.Fragment=Jy;ce.Profiler=e0;ce.PureComponent=Qc;ce.StrictMode=Zy;ce.Suspense=o0;ce.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=d0;ce.act=Xh;ce.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=Hh({},e.props),o=e.key,i=e.ref,a=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,a=Yc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var s=e.type.defaultProps;for(l in t)Kh.call(t,l)&&!Yh.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&s!==void 0?s[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){s=Array(l);for(var u=0;u<l;u++)s[u]=arguments[u+2];r.children=s}return{$$typeof:Pa,type:e.type,key:o,ref:i,props:r,_owner:a}};ce.createContext=function(e){return e={$$typeof:n0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:t0,_context:e},e.Consumer=e};ce.createElement=Gh;ce.createFactory=function(e){var t=Gh.bind(null,e);return t.type=e,t};ce.createRef=function(){return{current:null}};ce.forwardRef=function(e){return{$$typeof:r0,render:e}};ce.isValidElement=Gc;ce.lazy=function(e){return{$$typeof:a0,_payload:{_status:-1,_result:e},_init:c0}};ce.memo=function(e,t){return{$$typeof:i0,type:e,compare:t===void 0?null:t}};ce.startTransition=function(e){var t=gs.transition;gs.transition={};try{e()}finally{gs.transition=t}};ce.unstable_act=Xh;ce.useCallback=function(e,t){return pt.current.useCallback(e,t)};ce.useContext=function(e){return pt.current.useContext(e)};ce.useDebugValue=function(){};ce.useDeferredValue=function(e){return pt.current.useDeferredValue(e)};ce.useEffect=function(e,t){return pt.current.useEffect(e,t)};ce.useId=function(){return pt.current.useId()};ce.useImperativeHandle=function(e,t,n){return pt.current.useImperativeHandle(e,t,n)};ce.useInsertionEffect=function(e,t){return pt.current.useInsertionEffect(e,t)};ce.useLayoutEffect=function(e,t){return pt.current.useLayoutEffect(e,t)};ce.useMemo=function(e,t){return pt.current.useMemo(e,t)};ce.useReducer=function(e,t,n){return pt.current.useReducer(e,t,n)};ce.useRef=function(e){return pt.current.useRef(e)};ce.useState=function(e){return pt.current.useState(e)};ce.useSyncExternalStore=function(e,t,n){return pt.current.useSyncExternalStore(e,t,n)};ce.useTransition=function(){return pt.current.useTransition()};ce.version="18.3.1";Bh.exports=ce;var y=Bh.exports;const I=li(y),qh=$h({__proto__:null,default:I},[y]);/**
11 * @license React
12 * react-jsx-runtime.production.min.js
13 *
14 * Copyright (c) Facebook, Inc. and its affiliates.
15 *
16 * This source code is licensed under the MIT license found in the
17 * LICENSE file in the root directory of this source tree.
18 */var f0=y,p0=Symbol.for("react.element"),h0=Symbol.for("react.fragment"),m0=Object.prototype.hasOwnProperty,g0=f0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,v0={key:!0,ref:!0,__self:!0,__source:!0};function Jh(e,t,n){var r,o={},i=null,a=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(a=t.ref);for(r in t)m0.call(t,r)&&!v0.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:p0,type:e,key:i,ref:a,props:o,_owner:g0.current}}gl.Fragment=h0;gl.jsx=Jh;gl.jsxs=Jh;Uh.exports=gl;var T=Uh.exports,Zh={exports:{}},y0="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",w0=y0,x0=w0;function em(){}function tm(){}tm.resetWarningCache=em;var E0=function(){function e(r,o,i,a,s,l){if(l!==x0){var u=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw u.name="Invariant Violation",u}}e.isRequired=e;function t(){return e}var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
18:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:tm,resetWarningCache:em};return n.PropTypes=n,n};Zh.exports=E0();var S0=Zh.exports;const fe=li(S0);var C0=typeof Element<"u",b0=typeof Map=="function",T0=typeof Set=="function",P0=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function vs(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var n,r,o;if(Array.isArray(e)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(!vs(e[r],t[r]))return!1;return!0}var i;if(b0&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;for(i=e.entries();!(r=i.next()).done;)if(!vs(r.value[1],t.get(r.value[0])))return!1;return!0}if(T0&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(i=e.entries();!(r=i.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(P0&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(n=e.length,n!=t.length)return!1;for(r=n;r--!==0;)if(e[r]!==t[r])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if(C0&&e instanceof Element)return!1;for(r=n;r--!==0;)if(!((o[r]==="_owner"||o[r]==="__v"||o[r]==="__o")&&e.$$typeof)&&!vs(e[o[r]],t[o[r]]))return!1;return!0}return e!==e&&t!==t}var k0=function(t,n){try{return vs(t,n)}catch(r){if((r.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw r}};const R0=li(k0);var _0=function(e,t,n,r,o,i,a,s){if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}},N0=_0;const xf=li(N0);var A0=function(t,n,r,o){var i=r?r.call(o,t,n):void 0;if(i!==void 0)return!!i;if(t===n)return!0;if(typeof t!="object"||!t||typeof n!="object"||!n)return!1;var a=Object.keys(t),s=Object.keys(n);if(a.length!==s.length)return!1;for(var l=Object.prototype.hasOwnProperty.bind(n),u=0;u<a.length;u++){var c=a[u];if(!l(c))return!1;var d=t[c],p=n[c];if(i=r?r.call(o,d,p,c):void 0,i===!1||i===void 0&&d!==p)return!1}return!0};const O0=li(A0);function ze(){return ze=Object.assign||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},ze.apply(this,arguments)}function Xc(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Lu(e,t)}function Lu(e,t){return Lu=Object.setPrototypeOf||function(n,r){return n.__proto__=r,n},Lu(e,t)}function Ef(e,t){if(e==null)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)t.indexOf(n=i[r])>=0||(o[n]=e[n]);return o}var J={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},L0={rel:["amphtml","canonical","alternate"]},M0={type:["application/ld+json"]},D0={charset:"",name:["robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]},Sf=Object.keys(J).map(function(e){return J[e]}),Ms={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},I0=Object.keys(Ms).reduce(function(e,t){return e[Ms[t]]=t,e},{}),Do=function(e,t){for(var n=e.length-1;n>=0;n-=1){var r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},j0=function(e){var t=Do(e,J.TITLE),n=Do(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),n&&t)return n.replace(/%s/g,function(){return t});var r=Do(e,"defaultTitle");return t||r||void 0},F0=function(e){return Do(e,"onChangeClientState")||function(){}},Kl=function(e,t){return t.filter(function(n){return n[e]!==void 0}).map(function(n){return n[e]}).reduce(function(n,r){return ze({},n,r)},{})},z0=function(e,t){return t.filter(function(n){return n[J.BASE]!==void 0}).map(function(n){return n[J.BASE]}).reverse().reduce(function(n,r){if(!n.length)for(var o=Object.keys(r),i=0;i<o.length;i+=1){var a=o[i].toLowerCase();if(e.indexOf(a)!==-1&&r[a])return n.concat(r)}return n},[])},bi=function(e,t,n){var r={};return n.filter(function(o){return!!Array.isArray(o[e])||(o[e]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof o[e]+'"'),!1)}).map(function(o){return o[e]}).reverse().reduce(function(o,i){var a={};i.filter(function(d){for(var p,f=Object.keys(d),w=0;w<f.length;w+=1){var m=f[w],x=m.toLowerCase();t.indexOf(x)===-1||p==="rel"&&d[p].toLowerCase()==="canonical"||x==="rel"&&d[x].toLowerCase()==="stylesheet"||(p=x),t.indexOf(m)===-1||m!=="innerHTML"&&m!=="cssText"&&m!=="itemprop"||(p=m)}if(!p||!d[p])return!1;var g=d[p].toLowerCase();return r[p]||(r[p]={}),a[p]||(a[p]={}),!r[p][g]&&(a[p][g]=!0,!0)}
18).reverse().forEach(function(d){return o.push(d)});for(var s=Object.keys(a),l=0;l<s.length;l+=1){var u=s[l],c=ze({},r[u],a[u]);r[u]=c}return o},[]).reverse()},$0=function(e,t){if(Array.isArray(e)&&e.length){for(var n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},nm=function(e){return Array.isArray(e)?e.join(""):e},Yl=function(e,t){return Array.isArray(e)?e.reduce(function(n,r){return function(o,i){for(var a=Object.keys(o),s=0;s<a.length;s+=1)if(i[a[s]]&&i[a[s]].includes(o[a[s]]))return!0;return!1}(r,t)?n.priority.push(r):n.default.push(r),n},{priority:[],default:[]}):{default:e}},Cf=function(e,t){var n;return ze({},e,((n={})[t]=void 0,n))},U0=[J.NOSCRIPT,J.SCRIPT,J.STYLE],Gl=function(e,t){return t===void 0&&(t=!0),t===!1?String(e):String(e).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")},bf=function(e){return Object.keys(e).reduce(function(t,n){var r=e[n]!==void 0?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r},"")},Tf=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(n,r){return n[Ms[r]||r]=e[r],n},t)},ys=function(e,t){return t.map(function(n,r){var o,i=((o={key:r})["data-rh"]=!0,o);return Object.keys(n).forEach(function(a){var s=Ms[a]||a;s==="innerHTML"||s==="cssText"?i.dangerouslySetInnerHTML={__html:n.innerHTML||n.cssText}:i[s]=n[a]}),I.createElement(e,i)})},It=function(e,t,n){switch(e){case J.TITLE:return{toComponent:function(){return o=t.titleAttributes,(i={key:r=t.title})["data-rh"]=!0,a=Tf(o,i),[I.createElement(J.TITLE,a,r)];var r,o,i,a},toString:function(){return function(r,o,i,a){var s=bf(i),l=nm(o);return s?"<"+r+' data-rh="true" '+s+">"+Gl(l,a)+"</"+r+">":"<"+r+' data-rh="true">'+Gl(l,a)+"</"+r+">"}(e,t.title,t.titleAttributes,n)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return Tf(t)},toString:function(){return bf(t)}};default:return{toComponent:function(){return ys(e,t)},toString:function(){return function(r,o,i){return o.reduce(function(a,s){var l=Object.keys(s).filter(function(d){return!(d==="innerHTML"||d==="cssText")}).reduce(function(d,p){var f=s[p]===void 0?p:p+'="'+Gl(s[p],i)+'"';return d?d+" "+f:f},""),u=s.innerHTML||s.cssText||"",c=U0.indexOf(r)===-1;return a+"<"+r+' data-rh="true" '+l+(c?"/>":">"+u+"</"+r+">")},"")}(e,t,n)}}}},Mu=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,i=e.noscriptTags,a=e.styleTags,s=e.title,l=s===void 0?"":s,u=e.titleAttributes,c=e.linkTags,d=e.metaTags,p=e.scriptTags,f={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var w=function(m){var x=m.linkTags,g=m.scriptTags,h=m.encode,v=Yl(m.metaTags,D0),S=Yl(x,L0),P=Yl(g,M0);return{priorityMethods:{toComponent:function(){return[].concat(ys(J.META,v.priority),ys(J.LINK,S.priority),ys(J.SCRIPT,P.priority))},toString:function(){return It(J.META,v.priority,h)+" "+It(J.LINK,S.priority,h)+" "+It(J.SCRIPT,P.priority,h)}},metaTags:v.default,linkTags:S.default,scriptTags:P.default}}(e);f=w.priorityMethods,c=w.linkTags,d=w.metaTags,p=w.scriptTags}return{priority:f,base:It(J.BASE,t,r),bodyAttributes:It("bodyAttributes",n,r),htmlAttributes:It("htmlAttributes",o,r),link:It(J.LINK,c,r),meta:It(J.META,d,r),noscript:It(J.
18NOSCRIPT,i,r),script:It(J.SCRIPT,p,r),style:It(J.STYLE,a,r),title:It(J.TITLE,{title:l,titleAttributes:u},r)}},Wa=[],Du=function(e,t){var n=this;t===void 0&&(t=typeof document<"u"),this.instances=[],this.value={setHelmet:function(r){n.context.helmet=r},helmetInstances:{get:function(){return n.canUseDOM?Wa:n.instances},add:function(r){(n.canUseDOM?Wa:n.instances).push(r)},remove:function(r){var o=(n.canUseDOM?Wa:n.instances).indexOf(r);(n.canUseDOM?Wa:n.instances).splice(o,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=Mu({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},rm=I.createContext({}),B0=fe.shape({setHelmet:fe.func,helmetInstances:fe.shape({get:fe.func,add:fe.func,remove:fe.func})}),V0=typeof document<"u",So=function(e){function t(n){var r;return(r=e.call(this,n)||this).helmetData=new Du(r.props.context,t.canUseDOM),r}return Xc(t,e),t.prototype.render=function(){return I.createElement(rm.Provider,{value:this.helmetData.value},this.props.children)},t}(y.Component);So.canUseDOM=V0,So.propTypes={context:fe.shape({helmet:fe.shape()}),children:fe.node.isRequired},So.defaultProps={context:{}},So.displayName="HelmetProvider";var wo=function(e,t){var n,r=document.head||document.querySelector(J.HEAD),o=r.querySelectorAll(e+"[data-rh]"),i=[].slice.call(o),a=[];return t&&t.length&&t.forEach(function(s){var l=document.createElement(e);for(var u in s)Object.prototype.hasOwnProperty.call(s,u)&&(u==="innerHTML"?l.innerHTML=s.innerHTML:u==="cssText"?l.styleSheet?l.styleSheet.cssText=s.cssText:l.appendChild(document.createTextNode(s.cssText)):l.setAttribute(u,s[u]===void 0?"":s[u]));l.setAttribute("data-rh","true"),i.some(function(c,d){return n=d,l.isEqualNode(c)})?i.splice(n,1):a.push(l)}),i.forEach(function(s){return s.parentNode.removeChild(s)}),a.forEach(function(s){return r.appendChild(s)}),{oldTags:i,newTags:a}},Xl=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute("data-rh"),o=r?r.split(","):[],i=[].concat(o),a=Object.keys(t),s=0;s<a.length;s+=1){var l=a[s],u=t[l]||"";n.getAttribute(l)!==u&&n.setAttribute(l,u),o.indexOf(l)===-1&&o.push(l);var c=i.indexOf(l);c!==-1&&i.splice(c,1)}for(var d=i.length-1;d>=0;d-=1)n.removeAttribute(i[d]);o.length===i.length?n.removeAttribute("data-rh"):n.getAttribute("data-rh")!==a.join(",")&&n.setAttribute("data-rh",a.join(","))}},Pf=function(e,t){var n=e.baseTag,r=e.htmlAttributes,o=e.linkTags,i=e.metaTags,a=e.noscriptTags,s=e.onChangeClientState,l=e.scriptTags,u=e.styleTags,c=e.title,d=e.titleAttributes;Xl(J.BODY,e.bodyAttributes),Xl(J.HTML,r),function(m,x){m!==void 0&&document.title!==m&&(document.title=nm(m)),Xl(J.TITLE,x)}(c,d);var p={baseTag:wo(J.BASE,n),linkTags:wo(J.LINK,o),metaTags:wo(J.META,i),noscriptTags:wo(J.NOSCRIPT,a),scriptTags:wo(J.SCRIPT,l),styleTags:wo(J.STYLE,u)},f={},w={};Object.keys(p).forEach(function(m){var x=p[m],g=x.newTags,h=x.oldTags;g.length&&(f[m]=g),h.length&&(w[m]=p[m].oldTags)}),t&&t(),s(e,f,w)},Ti=null,Ds=function(e){function t(){for(var r,o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return(r=e.call.apply(e,[this].concat(i))||this).rendered=!1,r}Xc(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(r){return!O0(r,this.props)},n.componentDidUpdate=function(){this.emitChange()},n.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},n.emitChange=function(){var r,o,i=this.props.context,a=i.setHelmet,s=null,l=(r=i.helmetInstances.get().map(function(u){var c=ze({},u.props);return delete c.context,c}),{baseTag:z0(["href"],r),bodyAttributes:Kl("bodyAttributes",r),defer:Do(r,"defer"),encode:Do(r,"encodeSpecialCharacters"),htmlAttributes:Kl("htmlAttributes",r),linkTags:bi(J.LINK,["rel","href"],r),metaTags:bi(J.META,["name","charset","http-equiv","property","itemprop"],r),noscriptTags:bi(J.NOSCRIPT,["innerHTML"],r),onChangeClientState:F0(r),scriptTags:bi(J.SCRIPT,["src","innerHTML"],r),styleTags:bi(J.STYLE,["cssText"],r),title:j0(r),titleAttributes:Kl("titleAttributes",r),prioritizeSeoTags:$0(r,"prioritizeSeoTags")});So.canUseDOM?(o=l,Ti&&cancelAnimationFrame(Ti),o.defer?Ti=requestAnimationFrame(function(){Pf(o,function(){Ti=null})}):(Pf(o),Ti=null)):Mu&&(s=Mu(l)),a(s)},n.init=function(){this.rendered||(this.rendered=!0,this.props.context.helmetInstances.add(this),this.emitChange())},n.render=function(){return this.init(),null},t}(y.Component);Ds.propTypes={context:B0.isRequired},Ds.displayName="HelmetDispatcher";var H0=["children"],W0=["children"],ql=function(e){function t(){return e.apply(this,arguments)||this}Xc(t,e);var n=t.prototype;return n.shouldComponentUpdate=function(r){return!R0(Cf(this.props,"helmetData"),Cf(r,"helmetData"))},n.mapNestedChildrenToProps=function(r,o){if(!o)return null;switch(r.type){case J.SCRIPT:case J.NOSCRIPT:return{innerHTML:o};case J.STYLE:return{cssText:o};default:throw new Error("<"+r.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},n.flattenArrayTypeChildren=function(r){var o,i=r.child,a=r.arrayTypeChildren;return ze({},a,((o={})[i.type]=[].concat(a[i.type]||[],[ze({},r.newChildProps,this.mapNestedChildrenToProps(i,r.nestedChildren))]),o))},n.mapObjectTypeChildren=function(r){var o,i,a=r.child,s=r.newProps,l=r.newChildProps,u=r.nestedChildren;switch(a.type){case J.TITLE:return ze({},s,((o={})[a.type]=u,o.titleAttributes=ze({},l),o));case J.BODY:return ze({},s,{bodyAttributes:ze({},l)});case J.HTML:return ze({},s,{htmlAttributes:ze({},l)});default:return ze({},s,((i={})[a.type]=ze({},l),i))}},n.mapArrayTypeChildrenToProps=function(r,o){var i=ze({},o);return Object.keys(r).forEach(function(a){var s;i=ze({},i,((s={})[a]=r[a],s))}),i}
vendor: 10,624 bytes, lines 18-34
18,n.warnOnInvalidChildren=function(r,o){return xf(Sf.some(function(i){return r.type===i}),typeof r.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+Sf.join(", ")+" are allowed. Helmet does not support rendering <"+r.type+"> elements. Refer to our API for more information."),xf(!o||typeof o=="string"||Array.isArray(o)&&!o.some(function(i){return typeof i!="string"}),"Helmet expects a string as a child of <"+r.type+">. Did you forget to wrap your children in braces? ( <"+r.type+">{``}</"+r.type+"> ) Refer to our API for more information."),!0},n.mapChildrenToProps=function(r,o){var i=this,a={};return I.Children.forEach(r,function(s){if(s&&s.props){var l=s.props,u=l.children,c=Ef(l,H0),d=Object.keys(c).reduce(function(f,w){return f[I0[w]||w]=c[w],f},{}),p=s.type;switch(typeof p=="symbol"?p=p.toString():i.warnOnInvalidChildren(s,u),p){case J.FRAGMENT:o=i.mapChildrenToProps(u,o);break;case J.LINK:case J.META:case J.NOSCRIPT:case J.SCRIPT:case J.STYLE:a=i.flattenArrayTypeChildren({child:s,arrayTypeChildren:a,newChildProps:d,nestedChildren:u});break;default:o=i.mapObjectTypeChildren({child:s,newProps:o,newChildProps:d,nestedChildren:u})}}}),this.mapArrayTypeChildrenToProps(a,o)},n.render=function(){var r=this.props,o=r.children,i=Ef(r,W0),a=ze({},i),s=i.helmetData;return o&&(a=this.mapChildrenToProps(o,a)),!s||s instanceof Du||(s=new Du(s.context,s.instances)),s?I.createElement(Ds,ze({},a,{context:s.value,helmetData:void 0})):I.createElement(rm.Consumer,null,function(l){return I.createElement(Ds,ze({},a,{context:l}))})},t}(y.Component);ql.propTypes={base:fe.object,bodyAttributes:fe.object,children:fe.oneOfType([fe.arrayOf(fe.node),fe.node]),defaultTitle:fe.string,defer:fe.bool,encodeSpecialCharacters:fe.bool,htmlAttributes:fe.object,link:fe.arrayOf(fe.object),meta:fe.arrayOf(fe.object),noscript:fe.arrayOf(fe.object),onChangeClientState:fe.func,script:fe.arrayOf(fe.object),style:fe.arrayOf(fe.object),title:fe.string,titleAttributes:fe.object,titleTemplate:fe.string,prioritizeSeoTags:fe.bool,helmetData:fe.object},ql.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},ql.displayName="Helmet";var om={exports:{}},Ot={},im={exports:{}},am={};/**
19 * @license React
20 * scheduler.production.min.js
21 *
22 * Copyright (c) Facebook, Inc. and its affiliates.
23 *
24 * This source code is licensed under the MIT license found in the
25 * LICENSE file in the root directory of this source tree.
26 */(function(e){function t(N,L){var U=N.length;N.push(L);e:for(;0<U;){var Z=U-1>>>1,W=N[Z];if(0<o(W,L))N[Z]=L,N[U]=W,U=Z;else break e}}function n(N){return N.length===0?null:N[0]}function r(N){if(N.length===0)return null;var L=N[0],U=N.pop();if(U!==L){N[0]=U;e:for(var Z=0,W=N.length,oe=W>>>1;Z<oe;){var ae=2*(Z+1)-1,me=N[ae],Re=ae+1,ue=N[Re];if(0>o(me,U))Re<W&&0>o(ue,me)?(N[Z]=ue,N[Re]=U,Z=Re):(N[Z]=me,N[ae]=U,Z=ae);else if(Re<W&&0>o(ue,U))N[Z]=ue,N[Re]=U,Z=Re;else break e}}return L}function o(N,L){var U=N.sortIndex-L.sortIndex;return U!==0?U:N.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,s=a.now();e.unstable_now=function(){return a.now()-s}}var l=[],u=[],c=1,d=null,p=3,f=!1,w=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(N){for(var L=n(u);L!==null;){if(L.callback===null)r(u);else if(L.startTime<=N)r(u),L.sortIndex=L.expirationTime,t(l,L);else break;L=n(u)}}function S(N){if(m=!1,v(N),!w)if(n(l)!==null)w=!0,q(P);else{var L=n(u);L!==null&&ee(S,L.startTime-N)}}function P(N,L){w=!1,m&&(m=!1,g(_),_=-1),f=!0;var U=p;try{for(v(L),d=n(l);d!==null&&(!(d.expirationTime>L)||N&&!H());){var Z=d.callback;if(typeof Z=="function"){d.callback=null,p=d.priorityLevel;var W=Z(d.expirationTime<=L);L=e.unstable_now(),typeof W=="function"?d.callback=W:d===n(l)&&r(l),v(L)}else r(l);d=n(l)}if(d!==null)var oe=!0;else{var ae=n(u);ae!==null&&ee(S,ae.startTime-L),oe=!1}return oe}finally{d=null,p=U,f=!1}}var R=!1,E=null,_=-1,M=5,O=-1;function H(){return!(e.unstable_now()-O<M)}function z(){if(E!==null){var N=e.unstable_now();O=N;var L=!0;try{L=E(!0,N)}finally{L?X():(R=!1,E=null)}}else R=!1}var X;if(typeof h=="function")X=function(){h(z)};else if(typeof MessageChannel<"u"){var F=new MessageChannel,ne=F.port2;F.port1.onmessage=z,X=function(){ne.postMessage(null)}}else X=function(){x(z,0)};function q(N){E=N,R||(R=!0,X())}function ee(N,L){_=x(function(){N(e.unstable_now())},L)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(N){N.callback=null},e.unstable_continueExecution=function(){w||f||(w=!0,q(P))},e.unstable_forceFrameRate=function(N){0>N||125<N?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return p},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(N){switch(p){case 1:case 2:case 3:var L=3;break;default:L=p}var U=p;p=L;try{return N()}finally{p=U}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(N,L){switch(N){case 1:case 2:case 3:case 4:case 5:break;default:N=3}var U=p;p=N;try{return L()}finally{p=U}},e.unstable_scheduleCallback=function(N,L,U){var Z=e.unstable_now();switch(typeof U=="object"&&U!==null?(U=U.delay,U=typeof U=="number"&&0<U?Z+U:Z):U=Z,N){case 1:var W=-1;break;case 2:W=250;break;case 5:W=1073741823;break;case 4:W=1e4;break;default:W=5e3}return W=U+W,N={id:c++,callback:L,priorityLevel:N,startTime:U,expirationTime:W,sortIndex:-1},U>Z?(N.sortIndex=U,t(u,N),n(l)===null&&N===n(u)&&(m?(g(_),_=-1):m=!0,ee(S,U-Z))):(N.sortIndex=W,t(l,N),w||f||(w=!0,q(P))),N},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(N){var L=p;return function(){var U=p;p=L;try{return N.apply(this,arguments)}finally{p=U}}}})(am);im.exports=am;var Q0=im.exports;/**
27 * @license React
28 * react-dom.production.min.js
29 *
30 * Copyright (c) Facebook, Inc. and its affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */var K0=y,At=Q0;function j(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 sm=new Set,ea={};function co(e,t){Jo(e,t),Jo(e+"Capture",t)}function Jo(e,t){for(ea[e]=t,e=0;e<t.length;e++)sm.add(t[e])}var Un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Iu=Object.prototype.hasOwnProperty,Y0=/^[: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]*$/,kf={},Rf={};function G0(e){return Iu.call(Rf,e)?!0:Iu.call(kf,e)?!1:Y0.test(e)?Rf[e]=!0:(kf[e]=!0,!1)}function X0(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 q0(e,t,n,r){if(t===null||typeof t>"u"||X0(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 ht(e,t,n,r,o,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var Ze={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ze[e]=new ht(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 ht(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ze[e]=new ht(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ze[e]=new ht(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 ht(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ze[e]=new ht(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ze[e]=new ht(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ze[e]=new ht(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ze[e]=new ht(e,5,!1,e.toLowerCase(),null,!1,!1)});var qc=/[\-:]([a-z])/g;function Jc(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
34-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(qc,Jc);Ze[t]=new ht(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(qc,Jc);Ze[t]=new ht(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(qc,Jc);Ze[t]=new ht(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ze[e]=new ht(e,1,!1,e.toLowerCase(),null,!1,!1)});Ze.xlinkHref=new ht("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ze[e]=new ht(e,1,!1,e.toLowerCase(),null,!0,!0)});function Zc(e,t,n,r){var o=Ze.hasOwnProperty(t)?Ze[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(q0(t,n,o,r)&&(n=null),r||o===null?G0(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Kn=K0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Qa=Symbol.for("react.element"),Co=Symbol.for("react.portal"),bo=Symbol.for("react.fragment"),ed=Symbol.for("react.strict_mode"),ju=Symbol.for("react.profiler"),lm=Symbol.for("react.provider"),um=Symbol.for("react.context"),td=Symbol.for("react.forward_ref"),Fu=Symbol.for("react.suspense"),zu=Symbol.for("react.suspense_list"),nd=Symbol.for("react.memo"),Zn=Symbol.for("react.lazy"),cm=Symbol.for("react.offscreen"),_f=Symbol.iterator;function Pi(e){return e===null||typeof e!="object"?null:(e=_f&&e[_f]||e["@@iterator"],typeof e=="function"?e:null)}var Le=Object.assign,Jl;function zi(e){if(Jl===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Jl=t&&t[1]||""}return`
35`+Jl+e}var Zl=!1;function eu(e,t){if(!e||Zl)return"";Zl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
36`),i=r.stack.split(`
37`),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(a!==1||s!==1)do if(a--,s--,0>s||o[a]!==i[s]){var l=`
38`+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=a&&0<=s);break}}}finally{Zl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?zi(e):""}function J0(e){switch(e.tag){case 5:return zi(e.type);case 16:return zi("Lazy");case 13:return zi("Suspense");case 19:return zi("SuspenseList");case 0:case 2:case 15:return e=eu(e.type,!1),e;case 11:return e=eu(e.type.render,!1),e;case 1:return e=eu(e.type,!0),e;default:return""}}function $u(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 bo:return"Fragment";case Co:return"Portal";case ju:return"Profiler";case ed:return"StrictMode";case Fu:return"Suspense";case zu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case um:return(e.displayName||"Context")+".Consumer";case lm:return(e._context.displayName||"Context")+".Provider";case td:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case nd:return t=e.displayName||null,t!==null?t:$u(e.type)||"Memo";case Zn:t=e._payload,e=e._init;try{return $u(e(t))}catch{}}return null}function Z0(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 $u(t);case 8:return t===ed?"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 xr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function dm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ew(e){var t=dm(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Ka(e){e._valueTracker||(e._valueTracker=ew(e))}function fm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=dm(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Is(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 Uu(e,t){var n=t.checked;return Le({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Nf(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=xr(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 pm(e,t){t=t.checked,t!=null&&Zc(e,"checked",t,!1)}function Bu(e,t){pm(e,t);var n=xr(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")?Vu(e,t.type,n):t.hasOwnProperty("defaultValue")&&Vu(e,t.type,xr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Af(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 Vu(e,t,n){(t!=="number"||Is(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var $i=Array.isArray;function Io(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}
vendor: 11,713 bytes, line 38
38else{for(n=""+xr(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Hu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return Le({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Of(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(j(92));if($i(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:xr(n)}}function hm(e,t){var n=xr(t.value),r=xr(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 Lf(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function mm(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 Wu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?mm(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ya,gm=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Ya=Ya||document.createElement("div"),Ya.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ya.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ta(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Hi={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},tw=["Webkit","ms","Moz","O"];Object.keys(Hi).forEach(function(e){tw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Hi[t]=Hi[e]})});function vm(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Hi.hasOwnProperty(e)&&Hi[e]?(""+t).trim():t+"px"}function ym(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=vm(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var nw=Le({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Qu(e,t){if(t){if(nw[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(j(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(j(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(j(61))}if(t.style!=null&&typeof t.style!="object")throw Error(j(62))}}function Ku(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 Yu=null;function rd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Gu=null,jo=null,Fo=null;function Mf(e){if(e=_a(e)){if(typeof Gu!="function")throw Error(j(280));var t=e.stateNode;t&&(t=El(t),Gu(e.stateNode,e.type,t))}}function wm(e){jo?Fo?Fo.push(e):Fo=[e]:jo=e}function xm(){if(jo){var e=jo,t=Fo;if(Fo=jo=null,Mf(e),t)for(e=0;e<t.length;e++)Mf(t[e])}}function Em(e,t){return e(t)}function Sm(){}var tu=!1;function Cm(e,t,n){if(tu)return e(t,n);tu=!0;try{return Em(e,t,n)}finally{tu=!1,(jo!==null||Fo!==null)&&(Sm(),xm())}}function na(e,t){var n=e.stateNode;if(n===null)return null;var r=El(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(j(231,t,typeof n));return n}var Xu=!1;if(Un)try{var ki={};Object.defineProperty(ki,"passive",{get:function(){Xu=!0}}),window.addEventListener("test",ki,ki),window.removeEventListener("test",ki,ki)}catch{Xu=!1}function rw(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var Wi=!1,js=null,Fs=!1,qu=null,ow={onError:function(e){Wi=!0,js=e}};function iw(e,t,n,r,o,i,a,s,l){Wi=!1,js=null,rw.apply(ow,arguments)}function aw(e,t,n,r,o,i,a,s,l){if(iw.apply(this,arguments),Wi){if(Wi){var u=js;Wi=!1,js=null}else throw Error(j(198));Fs||(Fs=!0,qu=u)}}function fo(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 bm(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 Df(e){if(fo(e)!==e)throw Error(j(188))}function sw(e){var t=e.alternate;if(!t){if(t=fo(e),t===null)throw Error(j(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Df(o),e;if(i===r)return Df(o),t;i=i.sibling}throw Error(j(188))}if(n.return!==r.return)n=o,r=i;else{for(var a=!1,s=o.child;s;){if(s===n){a=!0,n=o,r=i;break}if(s===r){a=!0,r=o,n=i;break}s=s.sibling}if(!a){for(s=i.child;s;){if(s===n){a=!0,n=i,r=o;break}if(s===r){a=!0,r=i,n=o;break}s=s.sibling}if(!a)throw Error(j(189))}}if(n.alternate!==r)throw Error(j(190))}if(n.tag!==3)throw Error(j(188));return n.stateNode.current===n?e:t}function Tm(e){return e=sw(e),e!==null?Pm(e):null}function Pm(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Pm(e);if(t!==null)return t;e=e.sibling}return null}var km=At.unstable_scheduleCallback,If=At.unstable_cancelCallback,lw=At.unstable_shouldYield,uw=At.unstable_requestPaint,$e=At.unstable_now,cw=At.unstable_getCurrentPriorityLevel,od=At.unstable_ImmediatePriority,Rm=At.unstable_UserBlockingPriority,zs=At.unstable_NormalPriority,dw=At.unstable_LowPriority,_m=At.unstable_IdlePriority,vl=null,En=null;function fw(e){if(En&&typeof En.onCommitFiberRoot=="function")try{En.onCommitFiberRoot(vl,e,void 0,(e.current.flags&128)===128)}catch{}}var tn=Math.clz32?Math.clz32:mw,pw=Math.log,hw=Math.LN2;function mw(e){return e>>>=0,e===0?32:31-(pw(e)/hw|0)|0}var Ga=64,Xa=4194304;function Ui(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 $s(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var s=a&~o;s!==0?r=Ui(s):(i&=a,i!==0&&(r=Ui(i)))}else a=n&~o,a!==0?r=Ui(a):i!==0&&(r=Ui(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-tn(t),o=1<<n,r|=e[n],t&=~o;return r}function gw(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 vw(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-tn(i),s=1<<a,l=o[a];l===-1?(!(s&n)||s&r)&&(o[a]=gw(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}function Ju(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Nm(){var e=Ga;return Ga<<=1,!(Ga&4194240)&&(Ga=64),e}function nu(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ka(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-tn(t),e[t]=n}function yw(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-tn(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function id(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-tn(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var Se=0;function Am(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Om,ad,Lm,Mm,Dm,Zu=!1,qa=[],fr=null,pr=null,hr=null,ra=new Map,oa=new Map,tr=[],ww="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 jf(e,t){switch(e){case"focusin":case"focusout":fr=null;break;case"dragenter":case"dragleave":pr=null;break;case"mouseover":case"mouseout":hr=null;break;case"pointerover":case"pointerout":ra.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":oa.delete(t.pointerId)}}function Ri(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=_a(t),t!==null&&ad(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function xw(e,t,n,r,o){switch(t){case"focusin":return fr=Ri(fr,e,t,n,r,o),!0;case"dragenter":return pr=Ri(pr,e,t,n,r,o),!0;case"mouseover":return hr=Ri(hr,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ra.set(i,Ri(ra.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,oa.set(i,Ri(oa.get(i)||null,e,t,n,r,o)),!0}return!1}function Im(e){var t=Wr(e.target);if(t!==null){var n=fo(t);if(n!==null){if(t=n.tag,t===13){if(t=bm(n),t!==null){e.blockedOn=t,Dm(e.priority,function(){Lm(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 ws(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=ec(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Yu=r,n.target.dispatchEvent(r),Yu=null}else return t=_a(n),t!==null&&ad(t),e.blockedOn=n,!1;t.shift()}return!0}function Ff(e,t,n){ws(e)&&n.delete(t)}function Ew(){Zu=!1,fr!==null&&ws(fr)&&(fr=null),pr!==null&&ws(pr)&&(pr=null),hr!==null&&ws(hr)&&(hr=null),ra.forEach(Ff),oa.forEac
vendor: 11,826 bytes, line 38
38h(Ff)}function _i(e,t){e.blockedOn===t&&(e.blockedOn=null,Zu||(Zu=!0,At.unstable_scheduleCallback(At.unstable_NormalPriority,Ew)))}function ia(e){function t(o){return _i(o,e)}if(0<qa.length){_i(qa[0],e);for(var n=1;n<qa.length;n++){var r=qa[n];r.blockedOn===e&&(r.blockedOn=null)}}for(fr!==null&&_i(fr,e),pr!==null&&_i(pr,e),hr!==null&&_i(hr,e),ra.forEach(t),oa.forEach(t),n=0;n<tr.length;n++)r=tr[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<tr.length&&(n=tr[0],n.blockedOn===null);)Im(n),n.blockedOn===null&&tr.shift()}var zo=Kn.ReactCurrentBatchConfig,Us=!0;function Sw(e,t,n,r){var o=Se,i=zo.transition;zo.transition=null;try{Se=1,sd(e,t,n,r)}finally{Se=o,zo.transition=i}}function Cw(e,t,n,r){var o=Se,i=zo.transition;zo.transition=null;try{Se=4,sd(e,t,n,r)}finally{Se=o,zo.transition=i}}function sd(e,t,n,r){if(Us){var o=ec(e,t,n,r);if(o===null)fu(e,t,r,Bs,n),jf(e,r);else if(xw(o,e,t,n,r))r.stopPropagation();else if(jf(e,r),t&4&&-1<ww.indexOf(e)){for(;o!==null;){var i=_a(o);if(i!==null&&Om(i),i=ec(e,t,n,r),i===null&&fu(e,t,r,Bs,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else fu(e,t,r,null,n)}}var Bs=null;function ec(e,t,n,r){if(Bs=null,e=rd(r),e=Wr(e),e!==null)if(t=fo(e),t===null)e=null;else if(n=t.tag,n===13){if(e=bm(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 Bs=e,null}function jm(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(cw()){case od:return 1;case Rm:return 4;case zs:case dw:return 16;case _m:return 536870912;default:return 16}default:return 16}}var ur=null,ld=null,xs=null;function Fm(){if(xs)return xs;var e,t=ld,n=t.length,r,o="value"in ur?ur.value:ur.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var a=n-e;for(r=1;r<=a&&t[n-r]===o[i-r];r++);return xs=o.slice(e,1<r?1-r:void 0)}function Es(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 Ja(){return!0}function zf(){return!1}function Lt(e){function t(n,r,o,i,a){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=a,this.currentTarget=null;for(var s in e)e.hasOwnProperty(s)&&(n=e[s],this[s]=n?n(i):i[s]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Ja:zf,this.isPropagationStopped=zf,this}return Le(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Ja)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Ja)},persist:function(){},isPersistent:Ja}),t}var ci={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ud=Lt(ci),Ra=Le({},ci,{view:0,detail:0}),bw=Lt(Ra),ru,ou,Ni,yl=Le({},Ra,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:cd,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!==Ni&&(Ni&&e.type==="mousemove"?(ru=e.screenX-Ni.screenX,ou=e.screenY-Ni.screenY):ou=ru=0,Ni=e),ru)},movementY:function(e){return"movementY"in e?e.movementY:ou}}),$f=Lt(yl),Tw=Le({},yl,{dataTransfer:0}),Pw=Lt(Tw),kw=Le({},Ra,{relatedTarget:0}),iu=Lt(kw),Rw=Le({},ci,{animationName:0,elapsedTime:0,pseudoElement:0}),_w=Lt(Rw),Nw=Le({},ci,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Aw=Lt(Nw),Ow=Le({},ci,{data:0}),Uf=Lt(Ow),Lw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Mw={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"},Dw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Iw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=Dw[e])?!!t[e]:!1}function cd(){return Iw}var jw=Le({},Ra,{key:function(e){if(e.key){var t=Lw[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Es(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Mw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:cd,charCode:function(e){return e.type==="keypress"?Es(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Es(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),Fw=Lt(jw),zw=Le({},yl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Bf=Lt(zw),$w=Le({},Ra,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:cd}),Uw=Lt($w),Bw=Le({},ci,{propertyName:0,elapsedTime:0,pseudoElement:0}),Vw=Lt(Bw),Hw=Le({},yl,{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}),Ww=Lt(Hw),Qw=[9,13,27,32],dd=Un&&"CompositionEvent"in window,Qi=null;Un&&"documentMode"in document&&(Qi=document.documentMode);var Kw=Un&&"TextEvent"in window&&!Qi,zm=Un&&(!dd||Qi&&8<Qi&&11>=Qi),Vf=" ",Hf=!1;function $m(e,t){switch(e){case"keyup":return Qw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Um(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var To=!1;function Yw(e,t){switch(e){case"compositionend":return Um(t);case"keypress":return t.which!==32?null:(Hf=!0,Vf);case"textInput":return e=t.data,e===Vf&&Hf?null:e;default:return null}}function Gw(e,t){if(To)return e==="compositionend"||!dd&&$m(e,t)?(e=Fm(),xs=ld=ur=null,To=!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 zm&&t.locale!=="ko"?null:t.data;default:return null}}var Xw={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 Wf(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Xw[e.type]:t==="textarea"}function Bm(e,t,n,r){wm(r),t=Vs(t,"onChange"),0<t.length&&(n=new ud("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ki=null,aa=null;function qw(e){Zm(e,0)}function wl(e){var t=Ro(e);if(fm(t))return e}function Jw(e,t){if(e==="change")return t}var Vm=!1;if(Un){var au;if(Un){var su="oninput"in document;if(!su){var Qf=document.createElement("div");Qf.setAttribute("oninput","return;"),su=typeof Qf.oninput=="function"}au=su}else au=!1;Vm=au&&(!document.documentMode||9<document.documentMode)}function Kf(){Ki&&(Ki.detachEvent("onpropertychange",Hm),aa=Ki=null)}function Hm(e){if(e.propertyName==="value"&&wl(aa)){var t=[];Bm(t,aa,e,rd(e)),Cm(qw,t)}}function Zw(e,t,n){e==="focusin"?(Kf(),Ki=t,aa=n,Ki.attachEvent("onpropertychange",Hm)):e==="focusout"&&Kf()}function ex(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return wl(aa)}function tx(e,t){if(e==="click")return wl(t)}function nx(e,t){if(e==="input"||e==="change")return wl(t)}function rx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var rn=typeof Object.is=="function"?Object.is:rx;function sa(e,t){if(rn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Iu.call(t,o)||!rn(e[o],t[o]))return!1}return!0}function Yf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Gf(e,t){var n=Yf(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=Yf(n)}}function Wm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Wm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Qm(){for(var e=window,t=Is();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Is(e.document)}return t}function fd(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 ox(e){var t=Qm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Wm(n.ownerDocument.documentElement,n)){if(r!==null&&fd(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 o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Gf(n,i);var a=Gf(n,r);o&&a&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.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 ix=Un&&"documentMode"in document&&11>=document.documentMode,Po=null,tc=null,Yi=null,nc=!1;function Xf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;nc||Po==null||Po!==Is(r)||(r=Po,"selectionStart"in r&&fd(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 38
38sNode:r.focusNode,focusOffset:r.focusOffset}),Yi&&sa(Yi,r)||(Yi=r,r=Vs(tc,"onSelect"),0<r.length&&(t=new ud("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Po)))}function Za(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var ko={animationend:Za("Animation","AnimationEnd"),animationiteration:Za("Animation","AnimationIteration"),animationstart:Za("Animation","AnimationStart"),transitionend:Za("Transition","TransitionEnd")},lu={},Km={};Un&&(Km=document.createElement("div").style,"AnimationEvent"in window||(delete ko.animationend.animation,delete ko.animationiteration.animation,delete ko.animationstart.animation),"TransitionEvent"in window||delete ko.transitionend.transition);function xl(e){if(lu[e])return lu[e];if(!ko[e])return e;var t=ko[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Km)return lu[e]=t[n];return e}var Ym=xl("animationend"),Gm=xl("animationiteration"),Xm=xl("animationstart"),qm=xl("transitionend"),Jm=new Map,qf="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 Rr(e,t){Jm.set(e,t),co(t,[e])}for(var uu=0;uu<qf.length;uu++){var cu=qf[uu],ax=cu.toLowerCase(),sx=cu[0].toUpperCase()+cu.slice(1);Rr(ax,"on"+sx)}Rr(Ym,"onAnimationEnd");Rr(Gm,"onAnimationIteration");Rr(Xm,"onAnimationStart");Rr("dblclick","onDoubleClick");Rr("focusin","onFocus");Rr("focusout","onBlur");Rr(qm,"onTransitionEnd");Jo("onMouseEnter",["mouseout","mouseover"]);Jo("onMouseLeave",["mouseout","mouseover"]);Jo("onPointerEnter",["pointerout","pointerover"]);Jo("onPointerLeave",["pointerout","pointerover"]);co("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));co("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));co("onBeforeInput",["compositionend","keypress","textInput","paste"]);co("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));co("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));co("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Bi="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(" "),lx=new Set("cancel close invalid load scroll toggle".split(" ").concat(Bi));function Jf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,aw(r,t,void 0,e),e.currentTarget=null}function Zm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Jf(o,s,u),i=l}else for(a=0;a<r.length;a++){if(s=r[a],l=s.instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Jf(o,s,u),i=l}}}if(Fs)throw e=qu,Fs=!1,qu=null,e}function Pe(e,t){var n=t[sc];n===void 0&&(n=t[sc]=new Set);var r=e+"__bubble";n.has(r)||(eg(t,e,2,!1),n.add(r))}function du(e,t,n){var r=0;t&&(r|=4),eg(n,e,r,t)}var es="_reactListening"+Math.random().toString(36).slice(2);function la(e){if(!e[es]){e[es]=!0,sm.forEach(function(n){n!=="selectionchange"&&(lx.has(n)||du(n,!1,e),du(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[es]||(t[es]=!0,du("selectionchange",!1,t))}}function eg(e,t,n,r){switch(jm(t)){case 1:var o=Sw;break;case 4:o=Cw;break;default:o=sd}n=o.bind(null,t,n,e),o=void 0,!Xu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function fu(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var a=r.tag;if(a===3||a===4){var s=r.stateNode.containerInfo;
vendor: 35,388 bytes, lines 38-41
38if(s===o||s.nodeType===8&&s.parentNode===o)break;if(a===4)for(a=r.return;a!==null;){var l=a.tag;if((l===3||l===4)&&(l=a.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;a=a.return}for(;s!==null;){if(a=Wr(s),a===null)return;if(l=a.tag,l===5||l===6){r=i=a;continue e}s=s.parentNode}}r=r.return}Cm(function(){var u=i,c=rd(n),d=[];e:{var p=Jm.get(e);if(p!==void 0){var f=ud,w=e;switch(e){case"keypress":if(Es(n)===0)break e;case"keydown":case"keyup":f=Fw;break;case"focusin":w="focus",f=iu;break;case"focusout":w="blur",f=iu;break;case"beforeblur":case"afterblur":f=iu;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":f=$f;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":f=Pw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":f=Uw;break;case Ym:case Gm:case Xm:f=_w;break;case qm:f=Vw;break;case"scroll":f=bw;break;case"wheel":f=Ww;break;case"copy":case"cut":case"paste":f=Aw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":f=Bf}var m=(t&4)!==0,x=!m&&e==="scroll",g=m?p!==null?p+"Capture":null:p;m=[];for(var h=u,v;h!==null;){v=h;var S=v.stateNode;if(v.tag===5&&S!==null&&(v=S,g!==null&&(S=na(h,g),S!=null&&m.push(ua(h,S,v)))),x)break;h=h.return}0<m.length&&(p=new f(p,w,null,n,c),d.push({event:p,listeners:m}))}}if(!(t&7)){e:{if(p=e==="mouseover"||e==="pointerover",f=e==="mouseout"||e==="pointerout",p&&n!==Yu&&(w=n.relatedTarget||n.fromElement)&&(Wr(w)||w[Bn]))break e;if((f||p)&&(p=c.window===c?c:(p=c.ownerDocument)?p.defaultView||p.parentWindow:window,f?(w=n.relatedTarget||n.toElement,f=u,w=w?Wr(w):null,w!==null&&(x=fo(w),w!==x||w.tag!==5&&w.tag!==6)&&(w=null)):(f=null,w=u),f!==w)){if(m=$f,S="onMouseLeave",g="onMouseEnter",h="mouse",(e==="pointerout"||e==="pointerover")&&(m=Bf,S="onPointerLeave",g="onPointerEnter",h="pointer"),x=f==null?p:Ro(f),v=w==null?p:Ro(w),p=new m(S,h+"leave",f,n,c),p.target=x,p.relatedTarget=v,S=null,Wr(c)===u&&(m=new m(g,h+"enter",w,n,c),m.target=v,m.relatedTarget=x,S=m),x=S,f&&w)t:{for(m=f,g=w,h=0,v=m;v;v=xo(v))h++;for(v=0,S=g;S;S=xo(S))v++;for(;0<h-v;)m=xo(m),h--;for(;0<v-h;)g=xo(g),v--;for(;h--;){if(m===g||g!==null&&m===g.alternate)break t;m=xo(m),g=xo(g)}m=null}else m=null;f!==null&&Zf(d,p,f,m,!1),w!==null&&x!==null&&Zf(d,x,w,m,!0)}}e:{if(p=u?Ro(u):window,f=p.nodeName&&p.nodeName.toLowerCase(),f==="select"||f==="input"&&p.type==="file")var P=Jw;else if(Wf(p))if(Vm)P=nx;else{P=ex;var R=Zw}else(f=p.nodeName)&&f.toLowerCase()==="input"&&(p.type==="checkbox"||p.type==="radio")&&(P=tx);if(P&&(P=P(e,u))){Bm(d,P,n,c);break e}R&&R(e,p,u),e==="focusout"&&(R=p._wrapperState)&&R.controlled&&p.type==="number"&&Vu(p,"number",p.value)}switch(R=u?Ro(u):window,e){case"focusin":(Wf(R)||R.contentEditable==="true")&&(Po=R,tc=u,Yi=null);break;case"focusout":Yi=tc=Po=null;break;case"mousedown":nc=!0;break;case"contextmenu":case"mouseup":case"dragend":nc=!1,Xf(d,n,c);break;case"selectionchange":if(ix)break;case"keydown":case"keyup":Xf(d,n,c)}var E;if(dd)e:{switch(e){case"compositionstart":var _="onCompositionStart";break e;case"compositionend":_="onCompositionEnd";break e;case"compositionupdate":_="onCompositionUpdate";break e}_=void 0}else To?$m(e,n)&&(_="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(_="onCompositionStart");_&&(zm&&n.locale!=="ko"&&(To||_!=="onCompositionStart"?_==="onCompositionEnd"&&To&&(E=Fm()):(ur=c,ld="value"in ur?ur.value:ur.textContent,To=!0)),R=Vs(u,_),0<R.length&&(_=new Uf(_,e,null,n,c),d.push({event:_,listeners:R}),E?_.data=E:(E=Um(n),E!==null&&(_.data=E)))),(E=Kw?Yw(e,n):Gw(e,n))&&(u=Vs(u,"onBeforeInput"),0<u.length&&(c=new Uf("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=E))}Zm(d,t)})}function ua(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vs(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=na(e,n),i!=null&&r.unshift(ua(e,i,o)),i=na(e,t),i!=null&&r.push(ua(e,i,o))),e=e.return}return r}function xo(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Zf(e,t,n,r,o){for(var i=t._reactName,a=[];n!==null&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(l!==null&&l===r)break;s.tag===5&&u!==null&&(s=u,o?(l=na(n,i),l!=null&&a.unshift(ua(n,l,s))):o||(l=na(n,i),l!=null&&a.push(ua(n,l,s)))),n=n.return}a.length!==0&&e.push({event:t,listeners:a})}var ux=/\r\n?/g,cx=/\u0000|\uFFFD/g;function ep(e){return(typeof e=="string"?e:""+e).replace(ux,`
39`).replace(cx,"")}function ts(e,t,n){if(t=ep(t),ep(e)!==t&&n)throw Error(j(425))}function Hs(){}var rc=null,oc=null;function ic(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 ac=typeof setTimeout=="function"?setTimeout:void 0,dx=typeof clearTimeout=="function"?clearTimeout:void 0,tp=typeof Promise=="function"?Promise:void 0,fx=typeof queueMicrotask=="function"?queueMicrotask:typeof tp<"u"?function(e){return tp.resolve(null).then(e).catch(px)}:ac;function px(e){setTimeout(function(){throw e})}function pu(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),ia(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ia(t)}function mr(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 np(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 di=Math.random().toString(36).slice(2),xn="__reactFiber$"+di,ca="__reactProps$"+di,Bn="__reactContainer$"+di,sc="__reactEvents$"+di,hx="__reactListeners$"+di,mx="__reactHandles$"+di;function Wr(e){var t=e[xn];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Bn]||n[xn]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=np(e);e!==null;){if(n=e[xn])return n;e=np(e)}return t}e=n,n=e.parentNode}return null}function _a(e){return e=e[xn]||e[Bn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ro(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function El(e){return e[ca]||null}var lc=[],_o=-1;function _r(e){return{current:e}}function ke(e){0>_o||(e.current=lc[_o],lc[_o]=null,_o--)}function be(e,t){_o++,lc[_o]=e.current,e.current=t}var Er={},at=_r(Er),wt=_r(!1),ro=Er;function Zo(e,t){var n=e.type.contextTypes;if(!n)return Er;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function xt(e){return e=e.childContextTypes,e!=null}function Ws(){ke(wt),ke(at)}function rp(e,t,n){if(at.current!==Er)throw Error(j(168));be(at,t),be(wt,n)}function tg(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(j(108,Z0(e)||"Unknown",o));return Le({},n,r)}function Qs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Er,ro=at.current,be(at,e),be(wt,wt.current),!0}function op(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=tg(e,t,ro),r.__reactInternalMemoizedMergedChildContext=e,ke(wt),ke(at),be(at,e)):ke(wt),be(wt,n)}var Dn=null,Sl=!1,hu=!1;function ng(e){Dn===null?Dn=[e]:Dn.push(e)}function gx(e){Sl=!0,ng(e)}function Nr(){if(!hu&&Dn!==null){hu=!0;var e=0,t=Se;try{var n=Dn;for(Se=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Dn=null,Sl=!1}catch(o){throw Dn!==null&&(Dn=Dn.slice(e+1)),km(od,Nr),o}finally{Se=t,hu=!1}}return null}var No=[],Ao=0,Ks=null,Ys=0,Ft=[],zt=0,oo=null,jn=1,Fn="";function Br(e,t){No[Ao++]=Ys,No[Ao++]=Ks,Ks=e,Ys=t}function rg(e,t,n){Ft[zt++]=jn,Ft[zt++]=Fn,Ft[zt++]=oo,oo=e;var r=jn;e=Fn;var o=32-tn(r)-1;r&=~(1<<o),n+=1;var i=32-tn(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,jn=1<<32-tn(t)+o|n<<o|r,Fn=i+e}else jn=1<<i|n<<o|r,Fn=e}function pd(e){e.return!==null&&(Br(e,1),rg(e,1,0))}function hd(e){for(;e===Ks;)Ks=No[--Ao],No[Ao]=null,Ys=No[--Ao],No[Ao]=null;for(;e===oo;)oo=Ft[--zt],Ft[zt]=null,Fn=Ft[--zt],Ft[zt]=null,jn=Ft[--zt],Ft[zt]=null}var _t=null,Rt=null,Ne=!1,en=null;function og(e,t){var n=$t(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 ip(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,_t=e,Rt=mr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,_t=e,Rt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=oo!==null?{id:jn,overflow:Fn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=$t(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,_t=e,Rt=null,!0):!1;default:return!1}}function uc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function cc(e){if(Ne){var t=Rt;if(t){var n=t;if(!ip(e,t)){if(uc(e))throw Error(j(418));t=mr(n.nextSibling);var r=_t;t&&ip(e,t)?og(r,n):(e.flags=e.flags&-4097|2,Ne=!1,_t=e)}}else{if(uc(e))throw Error(j(418));e.flags=e.flags&-4097|2,Ne=!1,_t=e}}}function ap(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;_t=e}function ns(e){if(e!==_t)return!1;if(!Ne)return ap(e),Ne=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!ic(e.type,e.memoizedProps)),t&&(t=Rt)){if(uc(e))throw ig(),Error(j(418));for(;t;)og(e,t),t=mr(t.nextSibling)}if(ap(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(j(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Rt=mr(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Rt=null}}else Rt=_t?mr(e.stateNode.nextSibling):null;return!0}function ig(){for(var e=Rt;e;)e=mr(e.nextSibling)}function ei(){Rt=_t=null,Ne=!1}function md(e){en===null?en=[e]:en.push(e)}var vx=Kn.ReactCurrentBatchConfig;function Ai(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(j(309));var r=n.stateNode}if(!r)throw Error(j(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(a){var s=o.refs;a===null?delete s[i]:s[i]=a},t._stringRef=i,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function rs(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function sp(e){var t=e._init;return t(e._payload)}function ag(e){function t(g,h){if(e){var v=g.deletions;v===null?(g.deletions=[h],g.flags|=16):v.push(h)}}function n(g,h){if(!e)return null;for(;h!==null;)t(g,h),h=h.sibling;return null}function r(g,h){for(g=new Map;h!==null;)h.key!==null?g.set(h.key,h):g.set(h.index,h),h=h.sibling;return g}function o(g,h){return g=wr(g,h),g.index=0,g.sibling=null,g}function i(g,h,v){return g.index=v,e?(v=g.alternate,v!==null?(v=v.index,v<h?(g.flags|=2,h):v):(g.flags|=2,h)):(g.flags|=1048576,h)}function a(g){return e&&g.alternate===null&&(g.flags|=2),g}function s(g,h,v,S){return h===null||h.tag!==6?(h=Eu(v,g.mode,S),h.return=g,h):(h=o(h,v),h.return=g,h)}function l(g,h,v,S){var P=v.type;return P===bo?c(g,h,v.props.children,S,v.key):h!==null&&(h.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Zn&&sp(P)===h.type)?(S=o(h,v.props),S.ref=Ai(g,h,v),S.return=g,S):(S=Rs(v.type,v.key,v.props,null,g.mode,S),S.ref=Ai(g,h,v),S.return=g,S)}function u(g,h,v,S){return h===null||h.tag!==4||h.stateNode.containerInfo!==v.containerInfo||h.stateNode.implementation!==v.implementation?(h=Su(v,g.mode,S),h.return=g,h):(h=o(h,v.children||[]),h.return=g,h)}function c(g,h,v,S,P){return h===null||h.tag!==7?(h=no(v,g.mode,S,P),h.return=g,h):(h=o(h,v),h.return=g,h)}function d(g,h,v){if(typeof h=="string"&&h!==""||typeof h=="number")return h=Eu(""+h,g.mode,v),h.return=g,h;if(typeof h=="object"&&h!==null){switch(h.$$typeof){case Qa:return v=Rs(h.type,h.key,h.props,null,g.mode,v),v.ref=Ai(g,null,h),v.return=g,v;case Co:return h=Su(h,g.mode,v),h.return=g,h;case Zn:var S=h._init;return d(g,S(h._payload),v)}if($i(h)||Pi(h))return h=no(h,g.mode,v,null),h.return=g,h;rs(g,h)}return null}function p(g,h,v,S){var P=h!==null?h.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return P!==null?null:s(g,h,""+v,S);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Qa:return v.key===P?l(g,h,v,S):null;case Co:return v.key===P?u(g,h,v,S):null;case Zn:return P=v._init,p(g,h,P(v._payload),S)}if($i(v)||Pi(v))return P!==null?null:c(g,h,v,S,null);rs(g,v)}return null}function f(g,h,v,S,P){if(typeof S=="string"&&S!==""||typeof S=="number")return g=g.get(v)||null,s(h,g,""+S,P);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Qa:return g=g.get(S.key===null?v:S.key)||null,l(h,g,S,P);case Co:return g=g.get(S.key===null?v:S.key)||null,u(h,g,S,P);case Zn:var R=S._init;return f(g,h,v,R(S._payload),P)}if($i(S)||Pi(S))return g=g.get(v)||null,c(h,g,S,P,null);rs(h,S)}return null}function w(g,h,v,S){for(var P=null,R=null,E=h,_=h=0,M=null;E!==null&&_<v.length;_++){E.index>_?(M=E,E=null):M=E.sibling;var O=p(g,E,v[_],S);if(O===null){E===null&&(E=M);break}e&&E&&O.alternate===null&&t(g,E),h=i(O,h,_),R===null?P=O:R.sibling=O,R=O,E=M}if(_===v.length)return n(g,E),Ne&&Br(g,_),P;if(E===null){for(;_<v.length;_++)E=d(g,v[_],S),E!==null&&(h=i(E,h,_),R===null?P=E:R.sibling=E,R=E);return Ne&&Br(g,_),P}for(E=r(g,E);_<v.length;_++)M=f(E,g,_,v[_],S),M!==null&&(e&&M.alternate!==null&&E.delete(M.key===null?_:M.key),h=i(M,h,_),R===null?P=M:R.sibling=M,R=M);return e&&E.forEach(function(H){return t(g,H)}),Ne&&Br(g,_),P}function m(g,h,v,S){var P=Pi(v);if(typeof P!="function")throw Error(j(150));if(v=P.call(v),v==null)throw Error(j(151));for(var R=P=null,E=h,_=h=0,M=null,O=v.next();E!==null&&!O.done;_++,O=v.next()){E.index>_?(M=E,E=null):M=E.sibling;var H=p(g,E,O.value,S);if(H===null){E===null&&(E=M);break}e&&E&&H.alternate===null&&t(g,E),h=i(H,h,_),R===null?P=H:R.sibling=H,R=H,E=M}if(O.done)return n(g,E),Ne&&Br(g,_),P;if(E===null){for(;!O.done;_++,O=v.next())O=d(g,O.value,S),O!==null&&(h=i(O,h,_),R===null?P=O:R.sibling=O,R=O);return Ne&&Br(g,_),P}for(E=r(g,E);!O.done;_++,O=v.next())O=f(E,g,_,O.value,S),O!==null&&(e&&O.alternate!==null&&E.delete(O.key===null?_:O.key),h=i(O,h,_),R===null?P=O:R.sibling=O,R=O);return e&&E.forEach(function(z){return t(g,z)}),Ne&&Br(g,_),P}function x(g,h,v,S){if(typeof v=="object"&&v!==null&&v.type===bo&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Qa:e:{for(var P=v.key,R=h;R!==null;){if(R.key===P){if(P=v.type,P===bo){if(R.tag===7){n(g,R.sibling),h=o(R,v.props.children),h.return=g,g=h;break e}}else if(R.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Zn&&sp(P)===R.type){n(g,R.sibling),h=o(R,v.props),h.ref=Ai(g,R,v),h.return=g,g=h;break e}n(g,R);break}else t(g,R);R=R.sibling}v.type===bo?(h=no(v.props.children,g.mode,S,v.key),h.return=g,g=h):(S=Rs(v.type,v.key,v.props,null,g.mode,S),S.ref=Ai(g,h,v),S.return=g,g=S)}return a(g);case Co:e:{for(R=v.key;h!==null;){if(h.key===R)if(h.tag===4&&h.stateNode.containerInfo===v.containerInfo&&h.stateNode.implementation===v.implementation){n(g,h.sibling),h=o(h,v.children||[]),h.return=g,g=h;break e}else{n(g,h);break}else t(g,h);h=h.sibling}h=Su(v,g.mode,S),h.return=g,g=h}return a(g);case Zn:return R=v._init,x(g,h,R(v._payload),S)}if($i(v))return w(g,h,v,S);if(Pi(v))return m(g,h,v,S);rs(g,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,h!==null&&h.tag===6?(n(g,h.sibling),h=o(h,v),h.return=g,g=h):(n(g,h),h=Eu(v,g.mode,S),h.return=g,g=h),a(g)):n(g,h)}return x}var ti=ag(!0),sg=ag(!1),Gs=_r(null),Xs=null,Oo=null,gd=null;function vd(){gd=Oo=Xs=null}function yd(e){var t=Gs.current;ke(Gs),e._currentValue=t}function dc(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 $o(e,t){Xs=e,gd=Oo=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(yt=!0),e.firstContext=null)}function Bt(e){var t=e._currentValue;if(gd!==e)if(e={context:e,memoizedValue:t,next:null},Oo===null){if(Xs===null)throw Error(j(308));Oo=e,Xs.dependencies={lanes:0,firstContext:e}}else Oo=Oo.next=e;return t}var Qr=null;function wd(e){Qr===null?Qr=[e]:Qr.push(e)}function lg(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,wd(t)):(n.next=o.next,o.next=n),t.interleaved=n,Vn(e,r)}function Vn(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 er=!1;function xd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ug(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 zn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function gr(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,he&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Vn(e,n)}return o=r.interleaved,o===null?(t.next=t,wd(r)):(t.next=o.next,o.next=t),r.interleaved=t,Vn(e,n)}function Ss(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,id(e,n)}}function lp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function qs(e,t,n,r){var o=e.updateQueue;er=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(s!==null){o.shared.pending=null;var l=s,u=l.next;l.next=null,a===null?i=u:a.next=u,a=l;var c=e.alternate;c!==null&&(c=c.updateQueue,s=c.lastBaseUpdate,s!==a&&(s===null?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;a=0,c=u=l=null,s=i;do{var p=s.lane,f=s.eventTime;if((r&p)===p){c!==null&&(c=c.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var w=e,m=s;switch(p=t,f=n,m.tag){case 1:if(w=m.payload,typeof w=="function"){d=w.call(f,d,p);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=m.payload,p=typeof w=="function"?w.call(f,d,p):w,p==null)break e;d=Le({},d,p);break e;case 2:er=!0}}s.callback!==null&&s.lane!==0&&(e.flags|=64,p=o.effects,p===null?o.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},c===null?(u=c=f,l=d):c=c.next=f,a|=p;if(s=s.next,s===null){if(s=o.shared.pending,s===null)break;p=s,s=p.next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do a|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);ao|=a,e.lanes=a,e.memoizedState=d}}function up(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(j(191,o));o.call(r)}}}var Na={},Sn=_r(Na),da=_r(Na),fa=_r(Na);function Kr(e){if(e===Na)throw Error(j(174));return e}function Ed(e,t){switch(be(fa,t),be(da,e),be(Sn,Na),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Wu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Wu(t,e)}ke(Sn),be(Sn,t)}function ni(){ke(Sn),ke(da),ke(fa)}function cg(e){Kr(fa.current);var t=Kr(Sn.current),n=Wu(t,e.type);t!==n&&(be(da,e),be(Sn,n))}function Sd(e){da.current===e&&(ke(Sn),ke(da))}var Ae=_r(0);function Js(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 mu=[];function Cd(){for(var e=0;e<mu.length;e++)mu[e]._workInProgressVersionPrimary=null;mu.length=0}var Cs=Kn.ReactCurrentDispatcher,gu=Kn.ReactCurrentBatchConfig,io=0,Oe=null,He=null,Ye=null,Zs=!1,Gi=!1,pa=0,yx=0;function nt(){throw Error(j(321))}function bd(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!rn(e[n],t[n]))return!1;return!0}function Td(e,t,n,r,o,i){if(io=i,Oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Cs.current=e===null||e.memoizedState===null?Sx:Cx,e=n(r,o),Gi){i=0;do{if(Gi=!1,pa=0,25<=i)throw Error(j(301));i+=1,Ye=He=null,t.updateQueue=null,Cs.current=bx,e=n(r,o)}while(Gi)}if(Cs.current=el,t=He!==null&&He.next!==null,io=0,Ye=He=Oe=null,Zs=!1,t)throw Error(j(300));return e}function Pd(){var e=pa!==0;return pa=0,e}function gn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ye===null?Oe.memoizedState=Ye=e:Ye=Ye.next=e,Ye}function Vt(){if(He===null){var e=Oe.alternate;e=e!==null?e.memoizedState:null}else e=He.next;var t=Ye===null?Oe.memoizedState:Ye.next;if(t!==null)Ye=t,He=e;else{if(e===null)throw Error(j(310));He=e,e={memoizedState:He.memoizedState,baseState:He.baseState,baseQueue:He.baseQueue,queue:He.queue,next:null},Ye===null?Oe.memoizedState=Ye=e:Ye=Ye.next=e}return Ye}function ha(e,t){return typeof t=="function"?t(e):t}function vu(e){var t=Vt(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=He,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var a=o.next;o.next=i.next,i.next=a}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var s=a=null,l=null,u=i;do{var c=u.lane;if((io&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(s=l=d,a=r):l=l.next=d,Oe.lanes|=c,ao|=c}u=u.next}while(u!==null&&u!==i);l===null?a=r:l.next=s,rn(r,t.memoizedState)||(yt=!0),t.memoizedState=r,t.baseState=a,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,Oe.lanes|=i,ao|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function yu(e){var t=Vt(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var a=o=o.next;do i=e(i,a.action),a=a.next;while(a!==o);rn(i,t.memoizedState)||(yt=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function dg(){}function fg(e,t){var n=Oe,r=Vt(),o=t(),i=!rn(r.memoizedState,o);if(i&&(r.memoizedState=o,yt=!0),r=r.queue,kd(mg.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Ye!==null&&Ye.memoizedState.tag&1){if(n.flags|=2048,ma(9,hg.bind(null,n,r,o,t),void 0,null),Ge===null)throw Error(j(349));io&30||pg(n,t,o)}return o}function pg(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=Oe.updateQueue,t===null?(t={lastEffect:null,stores:null},Oe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function hg(e,t,n,r){t.value=n,t.getSnapshot=r,gg(t)&&vg(e)}function mg(e,t,n){return n(function(){gg(t)&&vg(e)})}function gg(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!rn(e,n)}catch{return!0}}function vg(e){var t=Vn(e,1);t!==null&&nn(t,e,1,-1)}function cp(e){var t=gn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ha,lastRenderedState:e},t.queue=e,e=e.dispatch=Ex.bind(null,Oe,e),[t.memoizedState,e]}function ma(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=Oe.updateQueue,t===null?(t={lastEffect:null,stores:null},Oe.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 yg(){return Vt().memoizedState}function bs(e,t,n,r){var o=gn();Oe.flags|=e,o.memoizedState=ma(1|t,n,void 0,r===void 0?null:r)}function Cl(e,t,n,r){var o=Vt();r=r===void 0?null:r;var i=void 0;if(He!==null){var a=He.memoizedState;if(i=a.destroy,r!==null&&bd(r,a.deps)){o.memoizedState=ma(t,n,i,r);return}}Oe.flags|=e,o.memoizedState=ma(1|t,n,i,r)}function dp(e,t){return bs(8390656,8,e,t)}function kd(e,t){return Cl(2048,8,e,t)}function wg(e,t){return Cl(4,2,e,t)}function xg(e,t){return Cl(4,4,e,t)}function Eg(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 Sg(e,t,n){return n=n!=null?n.concat([e]):null,Cl(4,4,Eg.bind(null,t,e),n)}function Rd(){}function Cg(e,t){var n=Vt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&bd(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function bg(e,t){var n=Vt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&bd(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Tg(e,t,n){return io&21?(rn(n,t)||(n=Nm(),Oe.lanes|=n,ao|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,yt=!0),e.memoizedState=n)}function wx(e,t){var n=Se;Se=n!==0&&4>n?n:4,e(!0);var r=gu.transition;gu.transition={};try{e(!1),t()}finally{Se=n,gu.transition=r}}function Pg(){return Vt().memoizedState}function xx(e,t,n){var r=yr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},kg(e))Rg(t,n);else if(n=lg(e,t,n,r),n!==null){var o=ft();nn(n,e,r,o),_g(n,t,r)}}function Ex(e,t,n){var r=yr(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(kg(e))Rg(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,rn(s,a)){var l=t.interleaved;l===null?(o.next=o,wd(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=lg(e,t,o,r),n!==null&&(o=ft(),nn(n,e,r,o),_g(n,t,r))}}function kg(e){var t=e.alternate;return e===Oe||t!==null&&t===Oe}function Rg(e,t){Gi=Zs=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function _g(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,id(e,n)}}var el={readContext:Bt,useCallback:nt,useContext:nt,useEffect:nt,useImperativeHandle:nt,useInsertionEffect:nt,useLayoutEffect:nt,useMemo:nt,useReducer:nt,useRef:nt,useState:nt,useDebugValue:nt,useDeferredValue:nt,useTransition:nt,useMutableSource:nt,useSyncExternalStore:nt,useId:nt,unstable_isNewReconciler:!1},Sx={readContext:Bt,useCallback:function(e,t){return gn().memoizedState=[e,t===void 0?null:t],e},useContext:Bt,useEffect:dp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,bs(4194308,4,Eg.bind(null,t,e),n)},useLayoutEffect:function(e,t){return bs(4194308,4,e,t)},useInsertionEffect:function(e,t){return bs(4,2,e,t)},useMemo:function(e,t){var n=gn();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=gn();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=xx.bind(null,Oe,e),[r.memoizedState,e]},useRef:function(e){var t=gn();return e={current:e},t.memoizedState=e},useState:cp,useDebugValue:Rd,useDeferredValue:function(e){return gn().memoizedState=e},useTransition:function(){var e=cp(!1),t=e[0];return e=wx.bind(null,e[1]),gn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Oe,o=gn();if(Ne){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),Ge===null)throw Error(j(349));io&30||pg(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,dp(mg.bind(null,r,i,e),[e]),r.flags|=2048,ma(9,hg.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=gn(),t=Ge.identifierPrefix;if(Ne){var n=Fn,r=jn;n=(r&~(1<<32-tn(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=pa++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=yx++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Cx={readContext:Bt,useCallback:Cg,useContext:Bt,useEffect:kd,useImperativeHandle:Sg,useInsertionEffect:wg,useLayoutEffect:xg,useMemo:bg,useReducer:vu,useRef:yg,useState:function(){return vu(ha)},useDebugValue:Rd,useDeferredValue:function(e){var t=Vt();return Tg(t,He.memoizedState,e)},useTransition:function(){var e=vu(ha)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:dg,useSyncExternalStore:fg,useId:Pg,unstable_isNewReconciler:!1},bx={readContext:Bt,useCallback:Cg,useContext:Bt,useEffect:kd,useImperativeHandle:Sg,useInsertionEffect:wg,useLayoutEffect:xg,useMemo:bg,useReducer:yu,useRef:yg,useState:function(){return yu(ha)},useDebugValue:Rd,useDeferredValue:function(e){var t=Vt();return He===null?t.memoizedState=e:Tg(t,He.memoizedState,e)},useTransition:function(){var e=yu(ha)[0],t=Vt().memoizedState;return[e,t]},useMutableSource:dg,useSyncExternalStore:fg,useId:Pg,unstable_isNewReconciler:!1};function Yt(e,t){if(e&&e.defaultProps){t=Le({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function fc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:Le({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var bl={isMounted:function(e){return(e=e._reactInternals)?fo(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ft(),o=yr(e),i=zn(r,o);i.payload=t,n!=null&&(i.callback=n),t=gr(e,i,o),t!==null&&(nn(t,e,o,r),Ss(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ft(),o=yr(e),i=zn(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=gr(e,i,o),t!==null&&(nn(t,e,o,r),Ss(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ft(),r=yr(e),o=zn(n,r);o.tag=2,t!=null&&(o.callback=t),t=gr(e,o,r),t!==null&&(nn(t,e,r,n),Ss(t,e,r))}};function fp(e,t,n,r,o,i,a){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,a):t.prototype&&t.prototype.isPureReactComponent?!sa(n,r)||!sa(o,i):!0}function Ng(e,t,n){var r=!1,o=Er,i=t.contextType;return typeof i=="object"&&i!==null?i=Bt(i):(o=xt(t)?ro:at.current,r=t.contextTypes,i=(r=r!=null)?Zo(e,o):Er),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=bl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function pp(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&&bl.enqueueReplaceState(t,t.state,null)}function pc(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},xd(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=Bt(i):(i=xt(t)?ro:at.current,o.context=Zo(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(fc(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&bl.enqueueReplaceState(o,o.state,null),qs(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function ri(e,t){try{var n="",r=t;do n+=J0(r),r=r.return;while(r);var o=n}catch(i){o=`
40Error generating stack: `+i.message+`
41`+i.stack}return{value:e,source:t,stack:o,digest:null}}function wu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function hc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Tx=typeof WeakMap=="function"?WeakMap:Map;function Ag(e,t,n){n=zn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){nl||(nl=!0,bc=r),hc(e,t)},n}function Og(e,t,n){n=zn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){hc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){hc(e,t),typeof r!="function"&&(vr===null?vr=new Set([this]):vr.add(this));var a=t.stack;this.componentDidCatch(t.value,{componentStack:a!==null?a:""})}),n}function hp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Tx;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=zx.bind(null,e,t,n),t.then(e,e))}function mp(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 gp(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=zn(-1,1),t.tag=2,gr(n,t,1))),n.lanes|=1),e)}var Px=Kn.ReactCurrentOwner,yt=!1;function ct(e,t,n,r){t.child=e===null?sg(t,null,n,r):ti(t,e.child,n,r)}function vp(e,t,n,r,o){n=n.render;var i=t.ref;return $o(t,o),r=Td(e,t,n,r,i,o),n=Pd(),e!==null&&!yt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hn(e,t,o)):(Ne&&n&&pd(t),t.flags|=1,ct(e,t,r,o),t.child)}function yp(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Id(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Lg(e,t,i,r,o)):(e=Rs(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var a=i.memoizedProps;if(n=n.compare,n=n!==null?n:sa,n(a,r)&&e.ref===t.ref)return Hn(e,t,o)}return t.flags|=1,e=wr(i,r),e.ref=t.ref,e.return=t,t.child=e}function Lg(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(sa(i,r)&&e.ref===t.ref)if(yt=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(yt=!0);else return t.lanes=e.lanes,Hn(e,t,o)}return mc(e,t,n,r,o)}function Mg(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},be(Mo,bt),bt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null}
vendor: 6,986 bytes, line 41
41,t.updateQueue=null,be(Mo,bt),bt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,be(Mo,bt),bt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,be(Mo,bt),bt|=r;return ct(e,t,o,n),t.child}function Dg(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function mc(e,t,n,r,o){var i=xt(n)?ro:at.current;return i=Zo(t,i),$o(t,o),n=Td(e,t,n,r,i,o),r=Pd(),e!==null&&!yt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Hn(e,t,o)):(Ne&&r&&pd(t),t.flags|=1,ct(e,t,n,o),t.child)}function wp(e,t,n,r,o){if(xt(n)){var i=!0;Qs(t)}else i=!1;if($o(t,o),t.stateNode===null)Ts(e,t),Ng(t,n,r),pc(t,n,r,o),r=!0;else if(e===null){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;typeof u=="object"&&u!==null?u=Bt(u):(u=xt(n)?ro:at.current,u=Zo(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof a.getSnapshotBeforeUpdate=="function";d||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==r||l!==u)&&pp(t,a,r,u),er=!1;var p=t.memoizedState;a.state=p,qs(t,r,a,o),l=t.memoizedState,s!==r||p!==l||wt.current||er?(typeof c=="function"&&(fc(t,n,c,r),l=t.memoizedState),(s=er||fp(t,n,s,r,p,l,u))?(d||typeof a.UNSAFE_componentWillMount!="function"&&typeof a.componentWillMount!="function"||(typeof a.componentWillMount=="function"&&a.componentWillMount(),typeof a.UNSAFE_componentWillMount=="function"&&a.UNSAFE_componentWillMount()),typeof a.componentDidMount=="function"&&(t.flags|=4194308)):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):(typeof a.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ug(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:Yt(t.type,s),a.props=u,d=t.pendingProps,p=a.context,l=n.contextType,typeof l=="object"&&l!==null?l=Bt(l):(l=xt(n)?ro:at.current,l=Zo(t,l));var f=n.getDerivedStateFromProps;(c=typeof f=="function"||typeof a.getSnapshotBeforeUpdate=="function")||typeof a.UNSAFE_componentWillReceiveProps!="function"&&typeof a.componentWillReceiveProps!="function"||(s!==d||p!==l)&&pp(t,a,r,l),er=!1,p=t.memoizedState,a.state=p,qs(t,r,a,o);var w=t.memoizedState;s!==d||p!==w||wt.current||er?(typeof f=="function"&&(fc(t,n,f,r),w=t.memoizedState),(u=er||fp(t,n,u,r,p,w,l)||!1)?(c||typeof a.UNSAFE_componentWillUpdate!="function"&&typeof a.componentWillUpdate!="function"||(typeof a.componentWillUpdate=="function"&&a.componentWillUpdate(r,w,l),typeof a.UNSAFE_componentWillUpdate=="function"&&a.UNSAFE_componentWillUpdate(r,w,l)),typeof a.componentDidUpdate=="function"&&(t.flags|=4),typeof a.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),a.props=r,a.state=w,a.context=l,r=u):(typeof a.componentDidUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof a.getSnapshotBeforeUpdate!="function"||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),r=!1)}return gc(e,t,n,r,i,o)}function gc(e,t,n,r,o,i){Dg(e,t);var a=(t.flags&128)!==0;if(!r&&!a)return o&&op(t,n,!1),Hn(e,t,i);r=t.stateNode,Px.current=t;var s=a&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&a?(t.child=ti(t,e.child,null,i),t.child=ti(t,null,s,i)):ct(e,t,s,i),t.memoizedState=r.state,o&&op(t,n,!0),t.child}function Ig(e){var t=e.stateNode;t.pendingContext?rp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&rp(e,t.context,!1),Ed(e,t.containerInfo)}function xp(e,t,n,r,o){return ei(),md(o),t.flags|=256,ct(e,t,n,r),t.child}var vc={dehydrated:null,treeContext:null,retryLane:0};function yc(e){return{baseLanes:e,cachePool:null,transitions:null}}function jg(e,t,n){var r=t.pendingProps,o=Ae.current,i=!1,a=(t.flags&128)!==0,s;if((s=a)||(s=e!==null&&e.memoizedState===null?!1:(o&2)!==0),s?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),be(Ae,o&1),e===null)return cc(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):(a=r.children,e=r.fallback,i?(r=t.mode,i=t.child,a={mode:"hidden",children:a},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=a):i=kl(a,r,0,null),e=no(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=yc(n),t.memoizedState=vc,e):_d(t,a));if(o=e.memoizedState,o!==null&&(s=o.dehydrated,s!==null))return kx(e,t,a,r,s,o,n);if(i){i=r.fallback,a=t.mode,o=e.child,s=o.sibling;var l={mode:"hidden",children:r.children};return!(a&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=wr(o,l),r.subtreeFlags=o.subtreeFlags&14680064),s!==null?i=wr(s,i):(i=no(i,a,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,a=e.child.memoizedState,a=a===null?yc(n):{baseLanes:a.baseLanes|n,cachePool:null,transitions:a.transitions},i.memoizedState=a,i.childLanes=e.childLanes&~n,t.memoizedState=vc,r}return i=e.child,e=i.sibling,r=wr(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function _d(e,t){return t=kl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function os(e,t,n,r){return r!==null&&md(r),ti(t,e.child,null,n),e=_d(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function kx(e,t,n,r,o,i,a){if(n)return t.flags&256?(t.flags&=-257,r=wu(Error(j(422))),os(e,t,a,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=kl({mode:"visible",children:r.children},o,0,null),i=no(i,o,a,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&ti(t,e.child,null,a),t.child.memoizedState=yc(a),t.memoizedState=vc,i);if(!(t.mode&1))return os(e,t,a,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var s=r.dgst;return r=s,i=Error(j(419)),r=wu(i,r,void 0),os(e,t,a,r)}if(s=(a&e.childLanes)!==0,yt||s){if(r=Ge,r!==null){switch(a&-a){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|a)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Vn(e,o),nn(r,e,o,-1))}return Dd(),r=wu(Error(j(421))),os(e,t,a,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=$x.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Rt=mr(o.nextSibling),_t=t,Ne=!0,en=null,e!==null&&(Ft[zt++]=jn,Ft[zt++]=Fn,Ft[zt++]=oo,jn=e.id,Fn=e.overflow,oo=t),t=_d(t,r.children),t.flags|=4096,t)}
vendor: 6,991 bytes, line 41
41function Ep(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),dc(e.return,t,n)}function xu(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Fg(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(ct(e,t,r.children,n),r=Ae.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&&Ep(e,n,t);else if(e.tag===19)Ep(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(be(Ae,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Js(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),xu(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Js(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}xu(t,!0,n,null,i);break;case"together":xu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ts(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Hn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),ao|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(j(153));if(t.child!==null){for(e=t.child,n=wr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=wr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Rx(e,t,n){switch(t.tag){case 3:Ig(t),ei();break;case 5:cg(t);break;case 1:xt(t.type)&&Qs(t);break;case 4:Ed(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;be(Gs,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(be(Ae,Ae.current&1),t.flags|=128,null):n&t.child.childLanes?jg(e,t,n):(be(Ae,Ae.current&1),e=Hn(e,t,n),e!==null?e.sibling:null);be(Ae,Ae.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Fg(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),be(Ae,Ae.current),r)break;return null;case 22:case 23:return t.lanes=0,Mg(e,t,n)}return Hn(e,t,n)}var zg,wc,$g,Ug;zg=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}};wc=function(){};$g=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Kr(Sn.current);var i=null;switch(n){case"input":o=Uu(e,o),r=Uu(e,r),i=[];break;case"select":o=Le({},o,{value:void 0}),r=Le({},r,{value:void 0}),i=[];break;case"textarea":o=Hu(e,o),r=Hu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Hs)}Qu(n,r);var a;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var s=o[u];for(a in s)s.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(ea.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(s=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==s&&(l!=null||s!=null))if(u==="style")if(s){for(a in s)!s.hasOwnProperty(a)||l&&l.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in l)l.hasOwnProperty(a)&&s[a]!==l[a]&&(n||(n={}),n[a]=l[a])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,s=s?s.__html:void 0,l!=null&&s!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(ea.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&Pe("scroll",e),i||s===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Ug=function(e,t,n,r){n!==r&&(t.flags|=4)};function Oi(e,t){if(!Ne)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 rt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function _x(e,t,n){var r=t.pendingProps;switch(hd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return rt(t),null;case 1:return xt(t.type)&&Ws(),rt(t),null;case 3:return r=t.stateNode,ni(),ke(wt),ke(at),Cd(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ns(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,en!==null&&(kc(en),en=null))),wc(e,t),rt(t),null;case 5:Sd(t);var o=Kr(fa.current);if(n=t.type,e!==null&&t.stateNode!=null)$g(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(j(166));return rt(t),null}if(e=Kr(Sn.current),ns(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[xn]=t,r[ca]=i,e=(t.mode&1)!==0,n){case"dialog":Pe("cancel",r),Pe("close",r);break;case"iframe":case"object":case"embed":Pe("load",r);break;case"video":case"audio":for(o=0;o<Bi.length;o++)Pe(Bi[o],r);break;case"source":Pe("error",r);break;case"img":case"image":case"link":Pe("error",r),Pe("load",r);break;case"details":Pe("toggle",r);break;case"input":Nf(r,i),Pe("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},Pe("invalid",r);break;case"textarea":Of(r,i),Pe("invalid",r)}Qu(n,i),o=null;for(var a in i)if(i.hasOwnProperty(a)){var s=i[a];a==="children"?typeof s=="string"?r.textContent!==s&&(i.suppressHydrationWarning!==!0&&ts(r.textContent,s,e),o=["children",s]):typeof s=="number"&&r.textContent!==""+s&&(i.suppressHydrationWarning!==!0&&ts(r.textContent,s,e),o=["children",""+s]):ea.hasOwnProperty(a)&&s!=null&&a==="onScroll"&&Pe("scroll",r)}switch(n){case"input":Ka(r),Af(r,i,!0);break;case"textarea":Ka(r),Lf(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Hs)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{a=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=mm(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=a.createElement("div"),e.innerHTML="<script><\/script>
41",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[xn]=t,e[ca]=r,zg(e,t,!1,!1),t.stateNode=e;e:{switch(a=Ku(n,r),n){case"dialog":Pe("cancel",e),Pe("close",e),o=r;break;case"iframe":case"object":case"embed":Pe("load",e),o=r;break;case"video":case"audio":for(o=0;o<Bi.length;o++)Pe(Bi[o],e);o=r;break;case"source":Pe("error",e),o=r;break;case"img":case"image":case"link":Pe("error",e),Pe("load",e),o=r;break;case"details":Pe("toggle",e),o=r;break;case"input":Nf(e,r),o=Uu(e,r),Pe("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=Le({},r,{value:void 0}),Pe("invalid",e);break;case"textarea":Of(e,r),o=Hu(e,r),Pe("invalid",e);break;default:o=r}Qu(n,o),s=o;for(i in s)if(s.hasOwnProperty(i)){var l=s[i];i==="style"?ym(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&gm(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ta(e,l):typeof l=="number"&&ta(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(ea.hasOwnProperty(i)?l!=null&&i==="onScroll"&&Pe("scroll",e):l!=null&&Zc(e,i,l,a))}switch(n){case"input":Ka(e),Af(e,r,!1);break;case"textarea":Ka(e),Lf(e);break;case"option":r.value!=null&&e.setAttribute("value",""+xr(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Io(e,!!r.multiple,i,!1):r.defaultValue!=null&&Io(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Hs)}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 rt(t),null;case 6:if(e&&t.stateNode!=null)Ug(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=Kr(fa.current),Kr(Sn.current),ns(t)){if(r=t.stateNode,n=t.memoizedProps,r[xn]=t,(i=r.nodeValue!==n)&&(e=_t,e!==null))switch(e.tag){case 3:ts(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&ts(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[xn]=t,t.stateNode=r}return rt(t),null;case 13:if(ke(Ae),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ne&&Rt!==null&&t.mode&1&&!(t.flags&128))ig(),ei(),t.flags|=98560,i=!1;else if(i=ns(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(j(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(j(317));i[xn]=t}else ei(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;rt(t),i=!1}else en!==null&&(kc(en),en=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||Ae.current&1?Qe===0&&(Qe=3):Dd())),t.updateQueue!==null&&(t.flags|=4),rt(t),null);case 4:return ni(),wc(e,t),e===null&&la(t.stateNode.containerInfo),rt(t),null;case 10:return yd(t.type._context),rt(t),null;case 17:return xt(t.type)&&Ws(),rt(t),null;case 19:if(ke(Ae),i=t.memoizedState,i===null)return rt(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)Oi(i,!1);else{if(Qe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=Js(e),a!==null){for(t.flags|=128,Oi(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return be(Ae,Ae.current&1|2),t.child}e=e.sibling}i.tail!==null&&$e()>oi&&(t.flags|=128,r=!0,Oi(i,!1),t.lanes=4194304)}else{if(!r)if(e=Js(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Oi(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!Ne)return rt(t),null}else 2*$e()-i.renderingStartTime>oi&&n!==1073741824&&(t.flags|=128,r=!0,Oi(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=$e(),t.sibling=null,n=Ae.current,be(Ae,r?n&1|2:n&1),t):(rt(t),null);case 22:case 23:return Md(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?bt&1073741824&&(rt(t),t.subtreeFlags&6&&(t.flags|=8192)):rt(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function Nx(e,t){switch(hd(t),t.tag){case 1:return xt(t.type)&&Ws(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;
vendor: 25,943 bytes, line 41
41case 3:return ni(),ke(wt),ke(at),Cd(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Sd(t),null;case 13:if(ke(Ae),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));ei()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ke(Ae),null;case 4:return ni(),null;case 10:return yd(t.type._context),null;case 22:case 23:return Md(),null;case 24:return null;default:return null}}var is=!1,it=!1,Ax=typeof WeakSet=="function"?WeakSet:Set,B=null;function Lo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Fe(e,t,r)}else n.current=null}function xc(e,t,n){try{n()}catch(r){Fe(e,t,r)}}var Sp=!1;function Ox(e,t){if(rc=Us,e=Qm(),fd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,s=-1,l=-1,u=0,c=0,d=e,p=null;t:for(;;){for(var f;d!==n||o!==0&&d.nodeType!==3||(s=a+o),d!==i||r!==0&&d.nodeType!==3||(l=a+r),d.nodeType===3&&(a+=d.nodeValue.length),(f=d.firstChild)!==null;)p=d,d=f;for(;;){if(d===e)break t;if(p===n&&++u===o&&(s=a),p===i&&++c===r&&(l=a),(f=d.nextSibling)!==null)break;d=p,p=d.parentNode}d=f}n=s===-1||l===-1?null:{start:s,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(oc={focusedElem:e,selectionRange:n},Us=!1,B=t;B!==null;)if(t=B,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,B=e;else for(;B!==null;){t=B;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var m=w.memoizedProps,x=w.memoizedState,g=t.stateNode,h=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:Yt(t.type,m),x);g.__reactInternalSnapshotBeforeUpdate=h}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(S){Fe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,B=e;break}B=t.return}return w=Sp,Sp=!1,w}function Xi(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&xc(t,n,i)}o=o.next}while(o!==r)}}function Tl(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 Ec(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 Bg(e){var t=e.alternate;t!==null&&(e.alternate=null,Bg(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[xn],delete t[ca],delete t[sc],delete t[hx],delete t[mx])),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 Vg(e){return e.tag===5||e.tag===3||e.tag===4}function Cp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Vg(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 Sc(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=Hs));else if(r!==4&&(e=e.child,e!==null))for(Sc(e,t,n),e=e.sibling;e!==null;)Sc(e,t,n),e=e.sibling}function Cc(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(Cc(e,t,n),e=e.sibling;e!==null;)Cc(e,t,n),e=e.sibling}var qe=null,Jt=!1;function Yn(e,t,n){for(n=n.child;n!==null;)Hg(e,t,n),n=n.sibling}function Hg(e,t,n){if(En&&typeof En.onCommitFiberUnmount=="function")try{En.onCommitFiberUnmount(vl,n)}catch{}switch(n.tag){case 5:it||Lo(n,t);case 6:var r=qe,o=Jt;qe=null,Yn(e,t,n),qe=r,Jt=o,qe!==null&&(Jt?(e=qe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):qe.removeChild(n.stateNode));break;case 18:qe!==null&&(Jt?(e=qe,n=n.stateNode,e.nodeType===8?pu(e.parentNode,n):e.nodeType===1&&pu(e,n),ia(e)):pu(qe,n.stateNode));break;case 4:r=qe,o=Jt,qe=n.stateNode.containerInfo,Jt=!0,Yn(e,t,n),qe=r,Jt=o;break;case 0:case 11:case 14:case 15:if(!it&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&xc(n,t,a),o=o.next}while(o!==r)}Yn(e,t,n);break;case 1:if(!it&&(Lo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(s){Fe(n,t,s)}Yn(e,t,n);break;case 21:Yn(e,t,n);break;case 22:n.mode&1?(it=(r=it)||n.memoizedState!==null,Yn(e,t,n),it=r):Yn(e,t,n);break;default:Yn(e,t,n)}}function bp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Ax),t.forEach(function(r){var o=Ux.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Qt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,a=t,s=a;e:for(;s!==null;){switch(s.tag){case 5:qe=s.stateNode,Jt=!1;break e;case 3:qe=s.stateNode.containerInfo,Jt=!0;break e;case 4:qe=s.stateNode.containerInfo,Jt=!0;break e}s=s.return}if(qe===null)throw Error(j(160));Hg(i,a,o),qe=null,Jt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){Fe(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Wg(t,e),t=t.sibling}function Wg(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Qt(t,e),mn(e),r&4){try{Xi(3,e,e.return),Tl(3,e)}catch(m){Fe(e,e.return,m)}try{Xi(5,e,e.return)}catch(m){Fe(e,e.return,m)}}break;case 1:Qt(t,e),mn(e),r&512&&n!==null&&Lo(n,n.return);break;case 5:if(Qt(t,e),mn(e),r&512&&n!==null&&Lo(n,n.return),e.flags&32){var o=e.stateNode;try{ta(o,"")}catch(m){Fe(e,e.return,m)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,a=n!==null?n.memoizedProps:i,s=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{s==="input"&&i.type==="radio"&&i.name!=null&&pm(o,i),Ku(s,a);var u=Ku(s,i);for(a=0;a<l.length;a+=2){var c=l[a],d=l[a+1];c==="style"?ym(o,d):c==="dangerouslySetInnerHTML"?gm(o,d):c==="children"?ta(o,d):Zc(o,c,d,u)}switch(s){case"input":Bu(o,i);break;case"textarea":hm(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var f=i.value;f!=null?Io(o,!!i.multiple,f,!1):p!==!!i.multiple&&(i.defaultValue!=null?Io(o,!!i.multiple,i.defaultValue,!0):Io(o,!!i.multiple,i.multiple?[]:"",!1))}o[ca]=i}catch(m){Fe(e,e.return,m)}}break;case 6:if(Qt(t,e),mn(e),r&4){if(e.stateNode===null)throw Error(j(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(m){Fe(e,e.return,m)}}break;case 3:if(Qt(t,e),mn(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ia(t.containerInfo)}catch(m){Fe(e,e.return,m)}break;case 4:Qt(t,e),mn(e);break;case 13:Qt(t,e),mn(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Od=$e())),r&4&&bp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(it=(u=it)||c,Qt(t,e),it=u):Qt(t,e),mn(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(B=e,c=e.child;c!==null;){for(d=B=c;B!==null;){switch(p=B,f=p.child,p.tag){case 0:case 11:case 14:case 15:Xi(4,p,p.return);break;case 1:Lo(p,p.return);var w=p.stateNode;if(typeof w.componentWillUnmount=="function"){r=p,n=p.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(m){Fe(r,n,m)}}break;case 5:Lo(p,p.return);break;case 22:if(p.memoizedState!==null){Pp(d);continue}}f!==null?(f.return=p,B=f):Pp(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(s=d.stateNode,l=d.memoizedProps.style,a=l!=null&&l.hasOwnProperty("display")?l.display:null,s.style.display=vm("display",a))}catch(m){Fe(e,e.return,m)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(m){Fe(e,e.return,m)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Qt(t,e),mn(e),r&4&&bp(e);break;case 21:break;default:Qt(t,e),mn(e)}}function mn(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Vg(n)){var r=n;break e}n=n.return}throw Error(j(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(ta(o,""),r.flags&=-33);var i=Cp(e);Cc(e,i,o);break;case 3:case 4:var a=r.stateNode.containerInfo,s=Cp(e);Sc(e,s,a);break;default:throw Error(j(161))}}catch(l){Fe(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Lx(e,t,n){B=e,Qg(e)}function Qg(e,t,n){for(var r=(e.mode&1)!==0;B!==null;){var o=B,i=o.child;if(o.tag===22&&r){var a=o.memoizedState!==null||is;if(!a){var s=o.alternate,l=s!==null&&s.memoizedState!==null||it;s=is;var u=it;if(is=a,(it=l)&&!u)for(B=o;B!==null;)a=B,l=a.child,a.tag===22&&a.memoizedState!==null?kp(o):l!==null?(l.return=a,B=l):kp(o);for(;i!==null;)B=i,Qg(i),i=i.sibling;B=o,is=s,it=u}Tp(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,B=i):Tp(e)}}function Tp(e){for(;B!==null;){var t=B;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:it||Tl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!it)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:Yt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&up(t,i,r);break;case 3:var a=t.updateQueue;if(a!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}up(t,a,n)}break;case 5:var s=t.stateNode;if(n===null&&t.flags&4){n=s;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.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 d=c.dehydrated;d!==null&&ia(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}it||t.flags&512&&Ec(t)}catch(p){Fe(t,t.return,p)}}if(t===e){B=null;break}if(n=t.sibling,n!==null){n.return=t.return,B=n;break}B=t.return}}function Pp(e){for(;B!==null;){var t=B;if(t===e){B=null;break}var n=t.sibling;if(n!==null){n.return=t.return,B=n;break}B=t.return}}function kp(e){for(;B!==null;){var t=B;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Tl(4,t)}catch(l){Fe(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){Fe(t,o,l)}}var i=t.return;try{Ec(t)}catch(l){Fe(t,i,l)}break;case 5:var a=t.return;try{Ec(t)}catch(l){Fe(t,a,l)}}}catch(l){Fe(t,t.return,l)}if(t===e){B=null;break}var s=t.sibling;if(s!==null){s.return=t.return,B=s;break}B=t.return}}var Mx=Math.ceil,tl=Kn.ReactCurrentDispatcher,Nd=Kn.ReactCurrentOwner,Ut=Kn.ReactCurrentBatchConfig,he=0,Ge=null,Ve=null,Je=0,bt=0,Mo=_r(0),Qe=0,ga=null,ao=0,Pl=0,Ad=0,qi=null,vt=null,Od=0,oi=1/0,Mn=null,nl=!1,bc=null,vr=null,as=!1,cr=null,rl=0,Ji=0,Tc=null,Ps=-1,ks=0;function ft(){return he&6?$e():Ps!==-1?Ps:Ps=$e()}function yr(e){return e.mode&1?he&2&&Je!==0?Je&-Je:vx.transition!==null?(ks===0&&(ks=Nm()),ks):(e=Se,e!==0||(e=window.event,e=e===void 0?16:jm(e.type)),e):1}function nn(e,t,n,r){if(50<Ji)throw Ji=0,Tc=null,Error(j(185));ka(e,n,r),(!(he&2)||e!==Ge)&&(e===Ge&&(!(he&2)&&(Pl|=n),Qe===4&&nr(e,Je)),Et(e,r),n===1&&he===0&&!(t.mode&1)&&(oi=$e()+500,Sl&&Nr()))}function Et(e,t){var n=e.callbackNode;vw(e,t);var r=$s(e,e===Ge?Je:0);if(r===0)n!==null&&If(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&If(n),t===1)e.tag===0?gx(Rp.bind(null,e)):ng(Rp.bind(null,e)),fx(function(){!(he&6)&&Nr()}),n=null;else{switch(Am(r)){case 1:n=od;break;case 4:n=Rm;break;case 16:n=zs;break;case 536870912:n=_m;break;default:n=zs}n=ev(n,Kg.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Kg(e,t){if(Ps=-1,ks=0,he&6)throw Error(j(327));var n=e.callbackNode;if(Uo()&&e.callbackNode!==n)return null;var r=$s(e,e===Ge?Je:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=ol(e,r);else{t=r;var o=he;he|=2;var i=Gg();(Ge!==e||Je!==t)&&(Mn=null,oi=$e()+500,to(e,t));do try{jx();break}catch(s){Yg(e,s)}while(!0);vd(),tl.current=i,he=o,Ve!==null?t=0:(Ge=null,Je=0,t=Qe)}if(t!==0){if(t===2&&(o=Ju(e),o!==0&&(r=o,t=Pc(e,o))),t===1)throw n=ga,to(e,0),nr(e,r),Et(e,$e()),n;if(t===6)nr(e,r);else{if(o=e.current.alternate,!(r&30)&&!Dx(o)&&(t=ol(e,r),t===2&&(i=Ju(e),i!==0&&(r=i,t=Pc(e,i))),t===1))throw n=ga,to(e,0),nr(e,r),Et(e,$e()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:Vr(e,vt,Mn);break;case 3:if(nr(e,r),(r&130023424)===r&&(t=Od+500-$e(),10<t)){if($s(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){ft(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ac(Vr.bind(null,e,vt,Mn),t);break}Vr(e,vt,Mn);break;case 4:if(nr(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var a=31-tn(r);i=1<<a,a=t[a],a>o&&(o=a),r&=~i}if(r=o,r=$e()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Mx(r/1960))-r,10<r){e.timeoutHandle=ac(Vr.bind(null,e,vt,Mn),r);break}Vr(e,vt,Mn);break;case 5:Vr(e,vt,Mn);break;default:throw Error(j(329))}}}return Et(e,$e()),e.callbackNode===n?Kg.bind(null,e):null}function Pc(e,t){var n=qi;return e.current.memoizedState.isDehydrated&&(to(e,t).flags|=256),e=ol(e,t),e!==2&&(t=vt,vt=n,t!==null&&kc(t)),e}function kc(e){vt===null?vt=e:vt.push.apply(vt,e)}function Dx(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!rn(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function nr(e,t){for(t&=~Ad,t&=~Pl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-tn(t),r=1<<n;e[n]=-1,t&=~r}}function Rp(e){if(he&6)throw Error(j(327));Uo();var t=$s(e,0);if(!(t&1))return Et(e,$e()),null;var n=ol(e,t);if(e.tag!==0&&n===2){var r=Ju(e);r!==0&&(t=r,n=Pc(e,r))}if(n===1)throw n=ga,to(e,0),nr(e,t),Et(e,$e()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Vr(e,vt,Mn),Et(e,$e()),null}function Ld(e,t){var n=he;he|=1;try{return e(t)}finally{he=n,he===0&&(oi=$e()+500,Sl&&Nr())}}function so(e){cr!==null&&cr.tag===0&&!(he&6)&&Uo();var t=he;he|=1;var n=Ut.transition,r=Se;try{if(Ut.transition=null,Se=1,e)return e()}finally{Se=r,Ut.transition=n,he=t,!(he&6)&&Nr()}}function Md(){bt=Mo.current,ke(Mo)}function to(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,dx(n)),Ve!==null)for(n=Ve.return;n!==null;){var r=n;switch(hd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Ws();break;case 3:ni(),ke(wt),ke(at),Cd();break;case 5:Sd(r);break;case 4:ni();break;case 13:ke(Ae);break;case 19:ke(Ae);break;case 10:yd(r.type._context);break;case 22:case 23:Md()}n=n.return}if(Ge=e,Ve=e=wr(e.current,null),Je=bt=t,Qe=0,ga=null,Ad=Pl=ao=0,vt=qi=null,Qr!==null){for(t=0;t<Qr.length;t++)if(n=Qr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var a=i.next;i.next=o,r.next=a}n.pending=r}Qr=null}return e}function Yg(e,t){do{var n=Ve;try{if(vd(),Cs.current=el,Zs){for(var r=Oe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Zs=!1}if(io=0,Ye=He=Oe=null,Gi=!1,pa=0,Nd.current=null,n===null||n.return===null){Qe=1,ga=t,Ve=null;break}e:{var i=e,a=n.return,s=n,l=t;if(t=Je,s.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=s,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===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 f=mp(a);if(f!==null){f.flags&=-257,gp(f,a,s,i,t),f.mode&1&&hp(i,u,t),t=f,l=u;var w=t.updateQueue;if(w===null){var m=new Set;m.add(l),t.updateQueue=m}else w.add(l);break e}else{if(!(t&1)){hp(i,u,t),Dd();break e}l=Error(j(426))}}else if(Ne&&s.mode&1){var x=mp(a);if(x!==null){!(x.flags&65536)&&(x.flags|=256),gp(x,a,s,i,t),md(ri(l,s));break e}}i=l=ri(l,s),Qe!==4&&(Qe=2),qi===null?qi=[i]:qi.push(i),i=a;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=Ag(i,l,t);lp(i,g);break e;case 1:s=l;var h=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof h.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(vr===null||!vr.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var S=Og(i,s,t);lp(i,S);break e}}i=i.return}while(i!==null)}qg(n)}catch(P){t=P,Ve===n&&n!==null&&(Ve=n=n.return);continue}break}while(!0)}function Gg(){var e=tl.current;return tl.current=el,e===null?el:e}function Dd(){(Qe===0||Qe===3||Qe===2)&&(Qe=4),Ge===null||!(ao&268435455)&&!(Pl&268435455)||nr(Ge,Je)}function ol(e,t){var n=he;he|=2;var r=Gg();(Ge!==e||Je!==t)&&(Mn=null,to(e,t));do try{Ix();break}catch(o){Yg(e,o)}while(!0);if(vd(),he=n,tl.current=r,Ve!==null)throw Error(j(261));return Ge=null,Je=0,Qe}function Ix(){for(;Ve!==null;)Xg(Ve)}function jx(){for(;Ve!==null&&!lw();)Xg(Ve)}function Xg(e){var t=Zg(e.alternate,e,bt);e.memoizedProps=e.pendingProps,t===null?qg(e):Ve=t,Nd.current=null}function qg(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=Nx(n,t),n!==null){n.flags&=32767,Ve=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Qe=6,Ve=null;return}}else if(n=_x(n,t,bt),n!==null){Ve=n;return}if(t=t.sibling,t!==null){Ve=t;return}Ve=t=e}while(t!==null);Qe===0&&(Qe=5)}function Vr(e,t,n){var r=Se,o=Ut.transition;try{Ut.transition=null,Se=1,Fx(e,t,n,r)}finally{Ut.transition=o,Se=r}return null}function Fx(e,t,n,r){do Uo();while(cr!==null);if(he&6)throw Error(j(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(j(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(yw(e,i),e===Ge&&(Ve=Ge=null,Je=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||as||(as=!0,ev(zs,function(){return Uo(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=Ut.transition,Ut.transition=null;var a=Se;Se=1;var s=he;he|=4,Nd.current=null,Ox(e,n),Wg(n,e),ox(oc),Us=!!rc,oc=rc=null,e.current=n,Lx(n),uw(),he=s,Se=a,Ut.transition=i}else e.current=n;if(as&&(as=!1,cr=e,rl=o),i=e.pendingLanes,i===0&&(vr=null),fw(n.stateNode),Et(e,$e()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(nl)throw nl=!1,e=bc,bc=null,e;return rl&1&&e.tag!==0&&Uo(),i=e.pendingLanes,i&1?e===Tc?Ji++:(Ji=0,Tc=e):Ji=0,Nr(),null}function Uo(){if(cr!==null){var e=Am(rl),t=Ut.transition,n=Se;try{if(Ut.transition=null,Se=16>e?16:e,cr===null)var r=!1;else{if(e=cr,cr=null,rl=0,he&6)throw Error(j(331));var o=he;for(he|=4,B=e.current;B!==null;){var i=B,a=i.child;if(B.flags&16){var s=i.deletions;if(s!==null){for(var l=0;l<s.length;l++){var u=s[l];for(B=u;B!==null;){var c=B;switch(c.tag){case 0:case 11:case 15:Xi(8,c,i)}var d=c.child;if(d!==null)d.return=c,B=d;else for(;B!==null;){c=B;var p=c.sibling,f=c.return;if(Bg(c),c===u){B=null;break}if(p!==null){p.return=f,B=p;break}B=f}}}var w=i.alternate;if(w!==null){var m=w.child;if(m!==null){w.child=null;do{var x=m.sibling;m.sibling=null,m=x}while(m!==null)}}B=i}}if(i.subtreeFlags&2064&&a!==null)a.return=i,B=a;else e:for(;B!==null;){if(i=B,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Xi(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,B=g;break e}B=i.return}}var h=e.current;for(B=h;B!==null;){a=B;var v=a.child;if(a.subtreeFlags&2064&&v!==null)v.return=a,B=v;else e:for(a=h;B!==null;){if(s=B,s.flags&2048)try{switch(s.tag){case 0:case 11:case 15:Tl(9,s)}}catch(P){Fe(s,s.return,P)}if(s===a){B=null;break e}var S=s.sibling;if(S!==null){S.return=s.return,B=S;break e}B=s.return}}if(he=o,Nr(),En&&typeof En.onPostCommitFiberRoot=="function")try{En.onPostCommitFiberRoot(vl,e)}catch{}r=!0}return r}finally{Se=n,Ut.transition=t}}return!1}function _p(e,t,n){t=ri(n,t),t=Ag(e,t,1),e=gr(e,t,1),t=ft(),e!==null&&(ka(e,1,t),Et(e,t))}function Fe(e,t,n){if(e.tag===3)_p(e,e,n);else for(;t!==null;){if(t.tag===3){_p(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(vr===null||!vr.has(r))){e=ri(n,e),e=Og(t,e,1),t=gr(t,e,1),e=ft(),t!==null&&(ka(t,1,e),Et(t,e));break}}t=t.return}}function zx(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=ft(),e.pingedLanes|=e.suspendedLanes&n,Ge===e&&(Je&n)===n&&(Qe===4||Qe===3&&(Je&130023424)===Je&&500>$e()-Od?to(e,0):Ad|=n),Et(e,t)}function Jg(e,t){t===0&&(e.mode&1?(t=Xa,Xa<<=1,!(Xa&130023424)&&(Xa=4194304)):t=1);var n=ft();e=Vn(e,t),e!==null&&(ka(e,t,n),Et(e,n))}function $x(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Jg(e,n)}function Ux(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(j(314))}r!==null&&r.delete(t),Jg(e,n)}var Zg;Zg=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||wt.current)yt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return yt=!1,Rx(e,t,n);yt=!!(e.flags&131072)}else yt=!1,Ne&&t.flags&1048576&&rg(t,Ys,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ts(e,t),e=t.pendingProps;var o=Zo(t,at.current);$o(t,n),o=Td(null,t,r,e,o,n);var i=Pd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,xt(r)?(i=!0,Qs(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,xd(t),o.updater=bl,t.stateNode=o,o._reactInternals=t,pc(t,r,e,n),t=gc(null,t,r,!0,i,n)):(t.tag=0,Ne&&i&&pd(t),ct(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ts(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=Vx(r),e=Yt(r,e),o){case 0:t=mc(null,t,r,e,n);break e;case 1:t=wp(null,t,r,e,n);break e;case 11:t=vp(null,t,r,e,n);break e;case 14:t=yp(null,t,r,Yt(r.type,e),n);break e}throw Error(j(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Yt(r,o),mc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Yt(r,o),wp(e,t,r,o,n);case 3:e:{if(Ig(t),e===null)throw Error(j(387));r=t.pendingProps,i=t.memoizedState,o=i.element,ug(e,t),qs(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=ri(Error(j(423)),t),t=xp(e,t,r,n,o);break e}else if(r!==o){o=ri(Error(j(424)),t),t=xp(e,t,r,n,o);break e}else for(Rt=mr(t.stateNode.containerInfo.firstChild),_t=t,Ne=!0,en=null,n=sg(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ei(),r===o){t=Hn(e,t,n);break e}ct(e,t,r,n)}t=t.child}return t;case 5:return cg(t),e===null&&cc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,a=o.children,ic(r,o)?a=null:i!==null&&ic(r,i)&&(t.flags|=32),Dg(e,t),ct(e,t,a,n),t.child;case 6:return e===null&&cc(t),null;case 13:return jg(e,t,n);case 4:return Ed(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=ti(t,null,r,n):ct(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Yt(r,o),vp(e,t,r,o,n);case 7:return ct(e,t,t.pendingProps,n),t.child;case 8:return ct(e,t,t.pendingProps.children,n),t.child;case 12:return ct(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,a=o.value,be(Gs,r._currentValue),r._currentValue=a,i!==null)if(rn(i.value,a)){if(i.children===o.children&&!wt.current){t=Hn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var s=i.dependencies;if(s!==null){a=i.child;for(var l=s.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=zn(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),dc(i.return,n,t),s.lanes|=n;break}l=l.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(j(341));a.lanes|=n,s=a.alternate,s!==null&&(s.lanes|=n),dc(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}ct(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,$o(t,n),o=Bt(o),r=r(o),t.flags|=1,ct(e,t,r,n),t.child;case 14:return r=t.type,o=Yt(r,t.pendingProps),o=Yt(r.type,o),yp(e,t,r,o,n);case 15:return Lg(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:Yt(r,o),Ts(e,t),t.tag=1,xt(r)?(e=!0,Qs(t)):e=!1,$o(t,n),Ng(t,r,o),pc(t,r,o,n),gc(null,t,r,!0,e,n);case 19:return Fg(e,t,n);case 22:return Mg(e,t,n)}throw Error(j(156,t.tag))};function ev(e,t){return km(e,t)}function Bx(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.t
vendor: 10,726 bytes, lines 41-50
41ype=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 $t(e,t,n,r){return new Bx(e,t,n,r)}function Id(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Vx(e){if(typeof e=="function")return Id(e)?1:0;if(e!=null){if(e=e.$$typeof,e===td)return 11;if(e===nd)return 14}return 2}function wr(e,t){var n=e.alternate;return n===null?(n=$t(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 Rs(e,t,n,r,o,i){var a=2;if(r=e,typeof e=="function")Id(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case bo:return no(n.children,o,i,t);case ed:a=8,o|=8;break;case ju:return e=$t(12,n,t,o|2),e.elementType=ju,e.lanes=i,e;case Fu:return e=$t(13,n,t,o),e.elementType=Fu,e.lanes=i,e;case zu:return e=$t(19,n,t,o),e.elementType=zu,e.lanes=i,e;case cm:return kl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case lm:a=10;break e;case um:a=9;break e;case td:a=11;break e;case nd:a=14;break e;case Zn:a=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=$t(a,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function no(e,t,n,r){return e=$t(7,e,r,t),e.lanes=n,e}function kl(e,t,n,r){return e=$t(22,e,r,t),e.elementType=cm,e.lanes=n,e.stateNode={isHidden:!1},e}function Eu(e,t,n){return e=$t(6,e,null,t),e.lanes=n,e}function Su(e,t,n){return t=$t(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Hx(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=nu(0),this.expirationTimes=nu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=nu(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function jd(e,t,n,r,o,i,a,s,l){return e=new Hx(e,t,n,s,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=$t(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},xd(i),e}function Wx(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Co,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function tv(e){if(!e)return Er;e=e._reactInternals;e:{if(fo(e)!==e||e.tag!==1)throw Error(j(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(xt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(j(171))}if(e.tag===1){var n=e.type;if(xt(n))return tg(e,n,t)}return t}function nv(e,t,n,r,o,i,a,s,l){return e=jd(n,r,!0,e,o,i,a,s,l),e.context=tv(null),n=e.current,r=ft(),o=yr(n),i=zn(r,o),i.callback=t??null,gr(n,i,o),e.current.lanes=o,ka(e,o,r),Et(e,r),e}function Rl(e,t,n,r){var o=t.current,i=ft(),a=yr(o);return n=tv(n),t.context===null?t.context=n:t.pendingContext=n,t=zn(i,a),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=gr(o,t,a),e!==null&&(nn(e,o,a,i),Ss(e,o,a)),a}function il(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 Np(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Fd(e,t){Np(e,t),(e=e.alternate)&&Np(e,t)}function Qx(){return null}var rv=typeof reportError=="function"?reportError:function(e){console.error(e)};function zd(e){this._internalRoot=e}_l.prototype.render=zd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));Rl(e,t,null,null)};_l.prototype.unmount=zd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;so(function(){Rl(null,e,null,null)}),t[Bn]=null}};function _l(e){this._internalRoot=e}_l.prototype.unstable_scheduleHydration=function(e){if(e){var t=Mm();e={blockedOn:null,target:e,priority:t};for(var n=0;n<tr.length&&t!==0&&t<tr[n].priority;n++);tr.splice(n,0,e),n===0&&Im(e)}};function $d(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Nl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ap(){}function Kx(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=il(a);i.call(u)}}var a=nv(t,r,e,0,null,!1,!1,"",Ap);return e._reactRootContainer=a,e[Bn]=a.current,la(e.nodeType===8?e.parentNode:e),so(),a}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var s=r;r=function(){var u=il(l);s.call(u)}}var l=jd(e,0,!1,null,null,!1,!1,"",Ap);return e._reactRootContainer=l,e[Bn]=l.current,la(e.nodeType===8?e.parentNode:e),so(function(){Rl(t,l,n,r)}),l}function Al(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if(typeof o=="function"){var s=o;o=function(){var l=il(a);s.call(l)}}Rl(t,a,e,o)}else a=Kx(n,t,e,o,r);return il(a)}Om=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ui(t.pendingLanes);n!==0&&(id(t,n|1),Et(t,$e()),!(he&6)&&(oi=$e()+500,Nr()))}break;case 13:so(function(){var r=Vn(e,1);if(r!==null){var o=ft();nn(r,e,1,o)}}),Fd(e,1)}};ad=function(e){if(e.tag===13){var t=Vn(e,134217728);if(t!==null){var n=ft();nn(t,e,134217728,n)}Fd(e,134217728)}};Lm=function(e){if(e.tag===13){var t=yr(e),n=Vn(e,t);if(n!==null){var r=ft();nn(n,e,t,r)}Fd(e,t)}};Mm=function(){return Se};Dm=function(e,t){var n=Se;try{return Se=e,t()}finally{Se=n}};Gu=function(e,t,n){switch(t){case"input":if(Bu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=El(r);if(!o)throw Error(j(90));fm(r),Bu(r,o)}}}break;case"textarea":hm(e,n);break;case"select":t=n.value,t!=null&&Io(e,!!n.multiple,t,!1)}};Em=Ld;Sm=so;var Yx={usingClientEntryPoint:!1,Events:[_a,Ro,El,wm,xm,Ld]},Li={findFiberByHostInstance:Wr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Gx={bundleType:Li.bundleType,version:Li.version,rendererPackageName:Li.rendererPackageName,rendererConfig:Li.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Kn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Tm(e),e===null?null:e.stateNode},findFiberByHostInstance:Li.findFiberByHostInstance||Qx,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 ss=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ss.isDisabled&&ss.supportsFiber)try{vl=ss.inject(Gx),En=ss}catch{}}Ot.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yx;Ot.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!$d(t))throw Error(j(200));return Wx(e,t,null,n)};Ot.createRoot=function(e,t){if(!$d(e))throw Error(j(299));var n=!1,r="",o=rv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=jd(e,1,!1,null,null,n,!1,r,o),e[Bn]=t.current,la(e.nodeType===8?e.parentNode:e),new zd(t)};Ot.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(j(188)):(e=Object.keys(e).join(","),Error(j(268,e)));return e=Tm(t),e=e===null?null:e.stateNode,e};Ot.flushSync=function(e){return so(e)};Ot.hydrate=function(e,t,n){if(!Nl(t))throw Error(j(200));return Al(null,e,t,!0,n)};Ot.hydrateRoot=function(e,t,n){if(!$d(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",a=rv;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(a=n.onRecoverableError)),t=nv(t,null,e,1,n??null,o,!1,i,a),e[Bn]=t.current,la(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new _l(t)};Ot.render=function(e,t,n){if(!Nl(t))throw Error(j(200));return Al(null,e,t,!1,n)};Ot.unmountComponentAtNode=function(e){if(!Nl(e))throw Error(j(40));return e._reactRootContainer?(so(function(){Al(null,null,e,!1,function(){e._reactRootContainer=null,e[Bn]=null})}),!0):!1};Ot.unstable_batchedUpdates=Ld;Ot.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Nl(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Al(e,t,n,!1,r)};Ot.version="18.3.1-next-f1338f8080-20240426";function ov(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(ov)}catch(e){console.error(e)}}ov(),om.exports=Ot;var Aa=om.exports;const Ud=li(Aa),iv=$h({__proto__:null,default:Ud},[Aa]);/**
42 * @remix-run/router v1.23.0
43 *
44 * Copyright (c) Remix Software Inc.
45 *
46 * This source code is licensed under the MIT license found in the
47 * LICENSE.md file in the root directory of this source tree.
48 *
49 * @license MIT
50 */function _e(){return _e=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},_e.apply(this,arguments)}var Be;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Be||(Be={}));const Op="popstate";function Xx(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:a,hash:s}=r.location;return va("",{pathname:i,search:a,hash:s},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}
vendor: 50,109 bytes, lines 50-60
50function n(r,o){return typeof o=="string"?o:lo(o)}return Jx(t,n,null,e)}function de(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ii(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function qx(){return Math.random().toString(36).substr(2,8)}function Lp(e,t){return{usr:e.state,key:e.key,idx:t}}function va(e,t,n,r){return n===void 0&&(n=null),_e({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ar(t):t,{state:n,key:t&&t.key||r||qx()})}function lo(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 Ar(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 Jx(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,a=o.history,s=Be.Pop,l=null,u=c();u==null&&(u=0,a.replaceState(_e({},a.state,{idx:u}),""));function c(){return(a.state||{idx:null}).idx}function d(){s=Be.Pop;let x=c(),g=x==null?null:x-u;u=x,l&&l({action:s,location:m.location,delta:g})}function p(x,g){s=Be.Push;let h=va(m.location,x,g);u=c()+1;let v=Lp(h,u),S=m.createHref(h);try{a.pushState(v,"",S)}catch(P){if(P instanceof DOMException&&P.name==="DataCloneError")throw P;o.location.assign(S)}i&&l&&l({action:s,location:m.location,delta:1})}function f(x,g){s=Be.Replace;let h=va(m.location,x,g);u=c();let v=Lp(h,u),S=m.createHref(h);a.replaceState(v,"",S),i&&l&&l({action:s,location:m.location,delta:0})}function w(x){let g=o.location.origin!=="null"?o.location.origin:o.location.href,h=typeof x=="string"?x:lo(x);return h=h.replace(/ $/,"%20"),de(g,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,g)}let m={get action(){return s},get location(){return e(o,a)},listen(x){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Op,d),l=x,()=>{o.removeEventListener(Op,d),l=null}},createHref(x){return t(o,x)},createURL:w,encodeLocation(x){let g=w(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:p,replace:f,go(x){return a.go(x)}};return m}var Ee;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Ee||(Ee={}));const Zx=new Set(["lazy","caseSensitive","path","id","index","children"]);function e1(e){return e.index===!0}function al(e,t,n,r){return n===void 0&&(n=[]),r===void 0&&(r={}),e.map((o,i)=>{let a=[...n,String(i)],s=typeof o.id=="string"?o.id:a.join("-");if(de(o.index!==!0||!o.children,"Cannot specify children on an index route"),de(!r[s],'Found a route id collision on id "'+s+`".  Route id's must be globally unique within Data Router usages`),e1(o)){let l=_e({},o,t(o),{id:s});return r[s]=l,l}else{let l=_e({},o,t(o),{id:s,children:void 0});return r[s]=l,o.children&&(l.children=al(o.children,t,a,r)),l}})}function rr(e,t,n){return n===void 0&&(n="/"),_s(e,t,n,!1)}function _s(e,t,n,r){let o=typeof t=="string"?Ar(t):t,i=fi(o.pathname||"/",n);if(i==null)return null;let a=av(e);n1(a);let s=null;for(let l=0;s==null&&l<a.length;++l){let u=p1(i);s=d1(a[l],u,r)}return s}function t1(e,t){let{route:n,pathname:r,params:o}=e;return{id:n.id,pathname:r,params:o,data:t[n.id],handle:n.handle}}function av(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,a,s)=>{let l={relativePath:s===void 0?i.path||"":s,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};l.relativePath.startsWith("/")&&(de(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=$n([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(de(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),av(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:u1(u,i.index),routesMeta:c})};return e.forEach((i,a)=>{var s;if(i.path===""||!((s=i.path)!=null&&s.includes("?")))o(i,a);else for(let l of sv(i.path))o(i,a,l)}),t}function sv(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let a=sv(r.join("/")),s=[];return s.push(...a.map(l=>l===""?i:[i,l].join("/"))),o&&s.push(...a),s.map(l=>e.startsWith("/")&&l===""?"/":l)}function n1(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:c1(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const r1=/^:[\w-]+$/,o1=3,i1=2,a1=1,s1=10,l1=-2,Mp=e=>e==="*";function u1(e,t){let n=e.split("/"),r=n.length;return n.some(Mp)&&(r+=l1),t&&(r+=i1),n.filter(o=>!Mp(o)).reduce((o,i)=>o+(r1.test(i)?o1:i===""?a1:s1),r)}function c1(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function d1(e,t,n){n===void 0&&(n=!1);let{routesMeta:r}=e,o={},i="/",a=[];for(let s=0;s<r.length;++s){let l=r[s],u=s===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=Dp({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),p=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Dp({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;Object.assign(o,d.params),a.push({params:o,pathname:$n([i,d.pathname]),pathnameBase:g1($n([i,d.pathnameBase])),route:p}),d.pathnameBase!=="/"&&(i=$n([i,d.pathnameBase]))}return a}function Dp(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=f1(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:p,isOptional:f}=c;if(p==="*"){let m=s[d]||"";a=i.slice(0,i.length-m.length).replace(/(.)\/+$/,"$1")}const w=s[d];return f&&!w?u[p]=void 0:u[p]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:a,pattern:e}}function f1(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),ii(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function p1(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return ii(!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 fi(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 h1(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ar(e):e;return{pathname:n?n.startsWith("/")?n:m1(n,t):t,search:v1(r),hash:y1(o)}}function m1(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Cu(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 lv(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Bd(e,t){let n=lv(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Vd(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Ar(e):(o=_e({},e),de(!o.pathname||!o.pathname.includes("?"),Cu("?","pathname","search",o)),de(!o.pathname||!o.pathname.includes("#"),Cu("#","pathname","hash",o)),de(!o.search||!o.search.includes("#"),Cu("#","search","hash",o)));let i=e===""||o.pathname==="",a=i?"/":o.pathname,s;if(a==null)s=n;else{let d=t.length-1;if(!r&&a.startsWith("..")){let p=a.split("/");for(;p[0]==="..";)p.shift(),d-=1;o.pathname=p.join("/")}s=d>=0?t[d]:"/"}let l=h1(o,s),u=a&&a!=="/"&&a.endsWith("/"),c=(i||a===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const $n=e=>e.join("/").replace(/\/\/+/g,"/"),g1=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),v1=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,y1=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class sl{constructor(t,n,r,o){o===void 0&&(o=!1),this.status=t,this.statusText=n||"",this.internal=o,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}}function ya(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const uv=["post","put","patch","delete"],w1=new Set(uv),x1=["get",...uv],E1=new Set(x1),S1=new Set([301,302,303,307,308]),C1=new Set([307,308]),bu={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},b1={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Mi={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Hd=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,T1=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),cv="remix-router-transitions";function P1(e){const t=e.window?e.window:typeof window<"u"?window:void 0,n=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",r=!n;de(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let o;if(e.mapRouteProperties)o=e.mapRouteProperties;else if(e.detectErrorBoundary){let C=e.detectErrorBoundary;o=b=>({hasErrorBoundary:C(b)})}else o=T1;let i={},a=al(e.routes,o,void 0,i),s,l=e.basename||"/",u=e.dataStrategy||N1,c=e.patchRoutesOnNavigation,d=_e({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),p=null,f=new Set,w=null,m=null,x=null,g=e.hydrationData!=null,h=rr(a,e.history.location,l),v=!1,S=null;if(h==null&&!c){let C=mt(404,{pathname:e.history.location.pathname}),{matches:b,route:k}=Qp(a);h=b,S={[k.id]:C}}h&&!e.hydrationData&&xe(h,a,e.history.location.pathname).active&&(h=null);let P;if(h)if(h.some(C=>C.route.lazy))P=!1;else if(!h.some(C=>C.route.loader))P=!0;else if(d.v7_partialHydration){let C=e.hydrationData?e.hydrationData.loaderData:null,b=e.hydrationData?e.hydrationData.errors:null;if(b){let k=h.findIndex(D=>b[D.route.id]!==void 0);P=h.slice(0,k+1).every(D=>!_c(D.route,C,b))}else P=h.every(k=>!_c(k.route,C,b))}else P=e.hydrationData!=null;else if(P=!1,h=[],d.v7_partialHydration){let C=xe(null,a,e.history.location.pathname);C.active&&C.matches&&(v=!0,h=C.matches)}let R,E={historyAction:e.history.action,location:e.history.location,matches:h,initialized:P,navigation:bu,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||S,fetchers:new Map,blockers:new Map},_=Be.Pop,M=!1,O,H=!1,z=new Map,X=null,F=!1,ne=!1,q=[],ee=new Set,N=new Map,L=0,U=-1,Z=new Map,W=new Set,oe=new Map,ae=new Map,me=new Set,Re=new Map,ue=new Map,Ht;function ln(){if(p=e.history.listen(C=>{let{action:b,location:k,delta:D}=C;if(Ht){Ht(),Ht=void 0;return}ii(ue.size===0||D!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs.  This can also happen if you are using createHashRouter and the user manually changes the URL.");let $=wi({currentLocation:E.location,nextLocation:k,historyAction:b});if($&&D!=null){let G=new Promise(te=>{Ht=te});e.history.go(D*-1),zr($,{state:"blocked",location:k,proceed(){zr($,{state:"proceeding",proceed:void 0,reset:void 0,location:k}),G.then(()=>e.history.go(D))},reset(){let te=new Map(E.blockers);te.set($,Mi),Me({blockers:te})}});return}return Mt(b,k)}),n){H1(t,z);let C=()=>W1(t,z);t.addEventListener("pagehide",C),X=()=>t.removeEventListener("pagehide",C)}return E.initialized||Mt(Be.Pop,E.location,{initialHydration:!0}),R}function Tn(){p&&p(),X&&X(),f.clear(),O&&O.abort(),E.fetchers.forEach((C,b)=>mo(b)),E.blockers.forEach((C,b)=>za(b))}function un(C){return f.add(C),()=>f.delete(C)}function Me(C,b){b===void 0&&(b={}),E=_e({},E,C);let k=[],D=[];d.v7_fetcherPersist&&E.fetchers.forEach(($,G)=>{$.state==="idle"&&(me.has(G)?D.push(G):k.push(G))}),me.forEach($=>{!E.fetchers.has($)&&!N.has($)&&D.push($)}),[...f].forEach($=>$(E,{deletedFetchers:D,viewTransitionOpts:b.viewTransitionOpts,flushSync:b.flushSync===!0})),d.v7_fetcherPersist?(k.forEach($=>E.fetchers.delete($)),D.forEach($=>mo($))):D.forEach($=>me.delete($))}function st(C,b,k){var D,$;let{flushSync:G}=k===void 0?{}:k,te=E.actionData!=null&&E.navigation.formMethod!=null&&Zt(E.navigation.formMethod)&&E.navigation.state==="loading"&&((D=C.state)==null?void 0:D._isRedirect)!==!0,Q;b.actionData?Object.keys(b.actionData).length>0?Q=b.actionData:Q=null:te?Q=E.actionData:Q=null;let K=b.loaderData?Hp(E.loaderData,b.loaderData,b.matches||[],b.errors):E.loaderData,V=E.blockers;V.size>0&&(V=new Map(V),V.forEach((pe,Xe)=>V.set(Xe,Mi)));let Y=M===!0||E.navigation.formMethod!=null&&Zt(E.navigation.formMethod)&&(($=C.state)==null?void 0:$._isRedirect)!==!0;s&&(a=s,s=void 0),F||_===Be.Pop||(_===Be.Push?e.history.push(C,C.state):_===Be.Replace&&e.history.replace(C,C.state));let se;if(_===Be.Pop){let pe=z.get(E.location.pathname);pe&&pe.has(C.pathname)?se={currentLocation:E.location,nextLocation:C}:z.has(C.pathname)&&(se={currentLocation:C,nextLocation:E.location})}else if(H){let pe=z.get(E.location.pathname);pe?pe.add(C.pathname):(pe=new Set([C.pathname]),z.set(E.location.pathname,pe)),se={currentLocation:E.location,nextLocation:C}}Me(_e({},b,{actionData:Q,loaderData:K,historyAction:_,location:C,initialized:!0,navigation:bu,revalidation:"idle",restoreScrollPosition:ye(C,b.matches||E.matches),preventScrollReset:Y,blockers:V}),{viewTransitionOpts:se,flushSync:G===!0}),_=Be.Pop,M=!1,H=!1,F=!1,ne=!1,q=[]}async function Mr(C,b){if(typeof C=="number"){e.history.go(C);return}let k=Rc(E.location,E.matches,l,d.v7_prependBasename,C,d.v7_relativeSplatPath,b==null?void 0:b.fromRouteId,b==null?void 0:b.relative),{path:D,submission:$,error:G}=Ip(d.v7_normalizeFormMethod,!1,k,b),te=E.location,Q=va(E.location,D,b&&b.state);Q=_e({},Q,e.history.encodeLocation(Q));let K=b&&b.replace!=null?b.replace:void 0,V=Be.Push;K===!0?V=Be.Replace:K===!1||$!=null&&Zt($.formMethod)&&$.formAction===E.location.pathname+E.location.search&&(V=Be.Replace);let Y=b&&"preventScrollReset"in b?b.preventScrollReset===!0:void 0,se=(b&&b.flushSync)===!0,pe=wi({currentLocation:te,nextLocation:Q,historyAction:V});if(pe){zr(pe,{state:"blocked",location:Q,proceed(){zr(pe,{state:"proceeding",proceed:void 0,reset:void 0,location:Q}),Mr(C,b)},reset(){let Xe=new Map(E.blockers);Xe.set(pe,Mi),Me({blockers:Xe})}});return}return await Mt(V,Q,{submission:$,pendingError:G,preventScrollReset:Y,replace:b&&b.replace,enableViewTransition:b&&b.viewTransition,flushSync:se})}function gi(){if(cn(),Me({revalidation:"loading"}),E.navigation.state!=="submitting"){if(E.navigation.state==="idle"){Mt(E.historyAction,E.location,{startUninterruptedRevalidation:!0});return}Mt(_||E.historyAction,E.navigation.location,{overrideNavigation:E.navigation,enableViewTransition:H===!0})}}async function Mt(C,b,k){O&&O.abort(),O=null,_=C,F=(k&&k.startUninterruptedRevalidation)===!0,re(E.location,E.matches),M=(k&&k.preventScrollReset)===!0,H=(k&&k.enableViewTransition)===!0;let D=s||a,$=k&&k.overrideNavigation,G=k!=null&&k.initialHydration&&E.matches&&E.matches.length>0&&!v?E.matches:rr(D,b,l),te=(k&&k.flushSync)===!0;if(G&&E.initialized&&!ne&&I1(E.location,b)&&!(k&&k.submission&&Zt(k.submission.formMethod))){st(b,{matches:G},{flushSync:te});return}let Q=xe(G,D,b.pathname);if(Q.active&&Q.matches&&(G=Q.matches),!G){let{error:Ce,notFoundMatches:we,route:De}=xi(b.pathname);st(b,{matches:we,loaderData:{},errors:{[De.id]:Ce}},{flushSync:te});return}O=new AbortController;let K=Eo(e.history,b,O.signal,k&&k.submission),V;if(k&&k.pendingError)V=[Hr(G).route.id,{type:Ee.error,error:k.pendingError}];else if(k&&k.submission&&Zt(k.submission.formMethod)){let Ce=await vi(K,b,k.submission,G,Q.active,{replace:k.replace,flushSync:te});if(Ce.shortCircuited)return;if(Ce.pendingActionResult){let[we,De]=Ce.pendingActionResult;if(Tt(De)&&ya(De.error)&&De.error.status===404){O=null,st(b,{matches:Ce.matches,loaderData:{},errors:{[we]:De.error}});return}}G=Ce.matches||G,V=Ce.pendingActionResult,$=Tu(b,k.submission),te=!1,Q.active=!1,K=Eo(e.history,K.url,K.signal)}let{shortCircuited:Y,matches:se,loaderData:pe,errors:Xe}=await Dr(K,b,G,Q.active,$,k&&k.submission,k&&k.fetcherSubmission,k&&k.replace,k&&k.initialHydration===!0,te,V);Y||(O=null,st(b,_e({matches:se||G},Wp(V),{loaderData:pe,errors:Xe})))}async function vi(C,b,k,D,$,G){G===void 0&&(G={}),cn();let te=B1(b,k);if(Me({navigation:te},{flushSync:G.flushSync===!0}),$){let V=await et(D,b.pathname,C.signal);if(V.type==="aborted")return{shortCircuited:!0};if(V.type==="error"){let Y=Hr(V.partialMatches).route.id;return{matches:V.partialMatches,pendingActionResult:[Y,{type:Ee.error,error:V.error}]}}else if(V.matches)D=V.matches;else{let{notFoundMatches:Y,error:se,route:pe}=xi(b.pathname);return{matches:Y,pendingActionResult:[pe.id,{type:Ee.error,error:se}]}}}let Q,K=Vi(D,b);if(!K.route.action&&!K.route.lazy)Q={type:Ee.error,error:mt(405,{method:C.method,pathname:b.pathname,routeId:K.route.id})};else if(Q=(await jr("action",E,C,[K],D,null))[K.route.id],C.signal.aborted)return{shortCircuited:!0};if(Yr(Q)){let V;return G&&G.replace!=null?V=G.replace:V=Up(Q.response.headers.get("Location"),new URL(C.url),l)===E.location.pathname+E.location.search,await Rn(C,Q,!0,{submission:k,replace:V}),{shortCircuited:!0}}if(dr(Q))throw mt(400,{type:"defer-action"});if(Tt(Q)){let V=Hr(D,K.route.id);return(G&&G.replace)!==!0&&(_=Be.Push),{matches:D,pendingActionResult:[V.route.id,Q]}}return{matches:D,pendingActionResult:[K.route.id,Q]}}async function Dr(C,b,k,D,$,G,te,Q,K,V,Y){let se=$||Tu(b,G),pe=G||te||Yp(se),Xe=!F&&(!d.v7_partialHydration||!K);if(D){if(Xe){let Ie=Pn(Y);Me(_e({navigation:se},Ie!==void 0?{actionData:Ie}:{}),{flushSync:V})}let ge=await et(k,b.pathname,C.signal);if(ge.type==="aborted")return{shortCircuited:!0};if(ge.type==="error"){let Ie=Hr(ge.partialMatches).route.id;return{matches:ge.partialMatches,loaderData:{},errors:{[Ie]:ge.error}}}else if(ge.matches)k=ge.matches;else{let{error:Ie,notFoundMatches:vo,route:Ci}=xi(b.pathname);return{matches:vo,loaderData:{},errors:{[Ci.id]:Ie}}}}let Ce=s||a,[we,De]=Fp(e.history,E,k,pe,b,d.v7_partialHydration&&K===!0,d.v7_skipActionErrorRevalidation,ne,q,ee,me,oe,W,Ce,l,Y);if($r(ge=>!(k&&k.some(Ie=>Ie.route.id===ge))||we&&we.some(Ie=>Ie.route.id===ge)),U=++L,we.length===0&&De.length===0){let ge=yi();return st(b,_e({matches:k,loaderData:{},errors:Y&&Tt(Y[1])?{[Y[0]]:Y[1].error}:null},Wp(Y),ge?{fetchers:new Map(E.fetchers)}:{}),{flushSync:V}),{shortCircuited:!0}}if(Xe){let ge={};if(!D){ge.navigation=se;let Ie=Pn(Y);Ie!==void 0&&(ge.actionData=Ie)}De.length>0&&(ge.fetchers=Ia(De)),Me(ge,{flushSync:V})}De.forEach(ge=>{Dt(ge.key),ge.controller&&N.set(ge.key,ge.controller)});let go=()=>De.forEach(ge=>Dt(ge.key));O&&O.signal.addEventListener("abort",go);let{loaderResults:Ei,fetcherResults:An}=await lt(E,k,we,De,C);if(C.signal.aborted)return{shortCircuited:!0};O&&O.signal.removeEventListener("abort",go),De.forEach(ge=>N.delete(ge.key));let hn=ls(Ei);if(hn)return await Rn(C,hn.result,!0,{replace:Q}),{shortCircuited:!0};if(hn=ls(An),hn)return W.add(hn.key),await Rn(C,hn.result,!0,{replace:Q}),{shortCircuited:!0};let{loaderData:Hl,errors:Si}=Vp(E,k,Ei,Y,De,An,Re);Re.forEach((ge,Ie)=>{ge.subscribe(vo=>{(vo||ge.done)&&Re.delete(Ie)})}),d.v7_partialHydration&&K&&E.errors&&(Si=_e({},E.errors,Si));let Ur=yi(),Ua=Nn(U),Ba=Ur||Ua||De.length>0;return _e({matches:k,loaderData:Hl,errors:Si},Ba?{fetchers:new Map(E.fetchers)}:{})}function Pn(C){if(C&&!Tt(C[1]))return{[C[0]]:C[1].data};if(E.actionData)return Object.keys(E.actionData).length===0?null:E.actionData}function Ia(C){return C.forEach(b=>{let k=E.fetchers.get(b.key),D=Di(void 0,k?k.data:void 0);E.fetchers.set(b.key,D)}),new Map(E.fetchers)}function Ir(C,b,k,D){if(r)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");Dt(C);let $=(D&&D.flushSync)===!0,G=s||a,te=Rc(E.location,E.matches,l,d.v7_prependBasename,k,d.v7_relativeSplatPath,b,D==null?void 0:D.relative),Q=rr(G,te,l),K=xe(Q,G,te);if(K.active&&K.matches&&(Q=K.matches),!Q){Wt(C,b,mt(404,{pathname:te}),{flushSync:$});return}let{path:V,submission:Y,error:se}=Ip(d.v7_normalizeFormMethod,!0,te,D);if(se){Wt(C,b,se,{flushSync:$});return}let pe=Vi(Q,V),Xe=(D&&D.preventScrollReset)===!0;if(Y&&Zt(Y.formMethod)){ja(C,b,V,pe,Q,K.active,$,Xe,Y);return}oe.set(C,{routeId:b,path:V}),kn(C,b,V,pe,Q,K.active,$,Xe,Y)}async function ja(C,b,k,D,$,G,te,Q,K){cn(),oe.delete(C);function V(Ue){if(!Ue.route.action&&!Ue.route.lazy){let yo=mt(405,{method:K.formMethod,pathname:k,routeId:b});return Wt(C,b,yo,{flushSync:te}),!0}return!1}if(!G&&V(D))return;let Y=E.fetchers.get(C);dn(C,V1(K,Y),{flushSync:te});let se=new AbortController,pe=Eo(e.history,k,se.signal,K);if(G){let Ue=await et($,new URL(pe.url).pathname,pe.signal,C);if(Ue.type==="aborted")return;if(Ue.type==="error"){Wt(C,b,Ue.error,{flushSync:te});return}else if(Ue.matches){if($=Ue.matches,D=Vi($,k),V(D))return}else{Wt(C,b,mt(404,{pathname:k}),{flushSync:te});return}}N.set(C,se);let Xe=L,we=(await jr("action",E,pe,[D],$,C))[D.route.id];if(pe.signal.aborted){N.get(C)===se&&N.delete(C);return}if(d.v7_fetcherPersist&&me.has(C)){if(Yr(we)||Tt(we)){dn(C,qn(void 0));return}}else{if(Yr(we))if(N.delete(C),U>Xe){dn(C,qn(void 0));return}else return W.add(C),dn(C,Di(K)),Rn(pe,we,!1,{fetcherSubmission:K,preventScrollReset:Q});if(Tt(we)){Wt(C,b,we.error);return}}if(dr(we))throw mt(400,{type:"defer-action"});let De=E.navigation.location||E.location,go=Eo(e.history,De,se.signal),Ei=s||a,An=E.navigation.state!=="idle"?rr(Ei,E.navigation.location,l):E.matches;de(An,"Didn't find any matches after fetcher action");let hn=++L;Z.set(C,hn);let Hl=Di(K,we.data);E.fetchers.set(C,Hl);let[Si,Ur]=Fp(e.history,E,An,K,De,!1,d.v7_skipActionErrorRevalidation,ne,q,ee,me,oe,W,Ei,l,[D.route.id,we]);Ur.filter(Ue=>Ue.key!==C).forEach(Ue=>{let yo=Ue.key,hf=E.fetchers.get(yo),Yy=Di(void 0,hf?hf.data:void 0);E.fetchers.set(yo,Yy),Dt(yo),Ue.controller&&N.set(yo,Ue.controller)}),Me({fetchers:new Map(E.fetchers)});let Ua=()=>Ur.forEach(Ue=>Dt(Ue.key));se.signal.addEventListener("abort",Ua);let{loaderResults:Ba,fetcherResults:ge}=await lt(E,An,Si,Ur,go);if(se.signal.aborted)return;se.signal.removeEventListener("abort",Ua),Z.delete(C),N.delete(C),Ur.forEach(Ue=>N.delete(Ue.key));let Ie=ls(Ba);if(Ie)return Rn(go,Ie.result,!1,{preventScrollReset:Q});if(Ie=ls(ge),Ie)return W.add(Ie.key),Rn(go,Ie.result,!1,{preventScrollReset:Q});let{loaderData:vo,errors:Ci}=Vp(E,An,Ba,void 0,Ur,ge,Re);if(E.fetchers.has(C)){let Ue=qn(we.data);E.fetchers.set(C,Ue)}Nn(hn),E.navigation.state==="loading"&&hn>U?(de(_,"Expected pending action"),O&&O.abort(),st(E.navigation.location,{matches:An,loaderData:vo,errors:Ci,fetchers:new Map(E.fetchers)})):(Me({errors:Ci,loaderData:Hp(E.loaderData,vo,An,Ci),fetchers:new Map(E.fetchers)}),ne=!1)}async function kn(C,b,k,D,$,G,te,Q,K){let V=E.fetchers.get(C);dn(C,Di(K,V?V.data:void 0),{flushSync:te});let Y=new AbortController,se=Eo(e.history,k,Y.signal);if(G){let we=await et($,new URL(se.url).pathname,se.signal,C);if(we.type==="aborted")return;if(we.type==="error"){Wt(C,b,we.error,{flushSync:te});return}else if(we.matches)$=we.matches,D=Vi($,k);else{Wt(C,b,mt(404,{pathname:k}),{flushSync:te});return}}N.set(C,Y);let pe=L,Ce=(await jr("loader",E,se,[D],$,C))[D.route.id];if(dr(Ce)&&(Ce=await Wd(Ce,se.signal,!0)||Ce),N.get(C)===Y&&N.delete(C),!se.signal.aborted){if(me.has(C)){dn(C,qn(void 0));return}if(Yr(Ce))if(U>pe){dn(C,qn(void 0));return}else{W.add(C),await Rn(se,Ce,!1,{preventScrollReset:Q});return}if(Tt(Ce)){Wt(C,b,Ce.error);return}de(!dr(Ce),"Unhandled fetcher deferred data"),dn(C,qn(Ce.data))}}async function Rn(C,b,k,D){let{submission:$,fetcherSubmission:G,preventScrollReset:te,replace:Q}=D===void 0?{}:D;b.response.headers.has("X-Remix-Revalidate")&&(ne=!0);let K=b.response.headers.get("Location");de(K,"Expected a Location header on the redirect Response"),K=Up(K,new URL(C.url),l);let V=va(E.location,K,{_isRedirect:!0});if(n){let we=!1;if(b.response.headers.has("X-Remix-Reload-Document"))we=!0;else if(Hd.test(K)){const De=e.history.createURL(K);we=De.origin!==t.location.origin||fi(De.pathname,l)==null}if(we){Q?t.location.replace(K):t.location.assign(K);return}}O=null;let Y=Q===!0||b.response.headers.has("X-Remix-Replace")?Be.Replace:Be.Push,{formMethod:se,formAction:pe,formEncType:Xe}=E.navigation;!$&&!G&&se&&pe&&Xe&&($=Yp(E.navigation));let Ce=$||G;if(C1.has(b.response.status)&&Ce&&Zt(Ce.formMethod))await Mt(Y,V,{submission:_e({},Ce,{formAction:K}),preventScrollReset:te||M,enableViewTransition:k?H:void 0});else{let we=Tu(V,$);await Mt(Y,V,{overrideNavigation:we,fetcherSubmission:G,preventScrollReset:te||M,enableViewTransition:k?H:void 0})}}async function jr(C,b,k,D,$,G){let te,Q={};try{te=await A1(u,C,b,k,D,$,G,i,o)}catch(K){return D.forEach(V=>{Q[V.route.id]={type:Ee.error,error:K}}),Q}for(let[K,V]of Object.entries(te))if(j1(V)){let Y=V.result;Q[K]={type:Ee.redirect,response:M1(Y,k,K,$,l,d.v7_relativeSplatPath)}}else Q[K]=await L1(V);return Q}async function lt(C,b,k,D,$){let G=C.matches,te=jr("loader",C,$,k,b,null),Q=Promise.all(D.map(async Y=>{if(Y.matches&&Y.match&&Y.controller){let pe=(await jr("loader",C,Eo(e.history,Y.path,Y.controller.signal),[Y.match],Y.matches,Y.key))[Y.match.route.id];return{[Y.key]:pe}}else return Promise.resolve({[Y.key]:{type:Ee.error,error:mt(404,{pathname:Y.path})}})})),K=await te,V=(await Q).reduce((Y,se)=>Object.assign(Y,se),{});return await Promise.all([$1(b,K,$.signal,G,C.loaderData),U1(b,V,D)]),{loaderResults:K,fetcherResults:V}}function cn(){ne=!0,q.push(...$r()),oe.forEach((C,b)=>{N.has(b)&&ee.add(b),Dt(b)})}function dn(C,b,k){k===void 0&&(k={}),E.fetchers.set(C,b),Me({fetchers:new Map(E.fetchers)},{flushSync:(k&&k.flushSync)===!0})}function Wt(C,b,k,D){D===void 0&&(D={});let $=Hr(E.matches,b);mo(C),Me({errors:{[$.route.id]:k},fetchers:new Map(E.fetchers)},{flushSync:(D&&D.flushSync)===!0})}function Fr(C){return ae.set(C,(ae.get(C)||0)+1),me.has(C)&&me.delete(C),E.fetchers.get(C)||b1}function mo(C){let b=E.fetchers.get(C);N.has(C)&&!(b&&b.state==="loading"&&Z.has(C))&&Dt(C),oe.delete(C),Z.delete(C),W.delete(C),d.v7_fetcherPersist&&me.delete(C),ee.delete(C),E.fetchers.delete(C)}function Fa(C){let b=(ae.get(C)||0)-1;b<=0?(ae.delete(C),me.add(C),d.v7_fetcherPersist||mo(C)):ae.set(C,b),Me({fetchers:new Map(E.fetchers)})}function Dt(C){let b=N.get(C);b&&(b.abort(),N.delete(C))}function _n(C){for(let b of C){let k=Fr(b),D=qn(k.data);E.fetchers.set(b,D)}}function yi(){let C=[],b=!1;for(let k of W){let D=E.fetchers.get(k);de(D,"Expected fetcher: "+k),D.state==="loading"&&(W.delete(k),C.push(k),b=!0)}return _n(C),b}function Nn(C){let b=[];for(let[k,D]of Z)if(D<C){let $=E.fetchers.get(k);de($,"Expected fetcher: "+k),$.state==="loading"&&(Dt(k),Z.delete(k),b.push(k))}return _n(b),b.length>0}function Vl(C,b){let k=E.blockers.get(C)||Mi;return ue.get(C)!==b&&ue.set(C,b),k}function za(C){E.blockers.delete(C),ue.delete(C)}function zr(C,b){let k=E.blockers.get(C)||Mi;de(k.state==="unblocked"&&b.state==="blocked"||k.state==="blocked"&&b.state==="blocked"||k.state==="blocked"&&b.state==="proceeding"||k.state==="blocked"&&b.state==="unblocked"||k.state==="proceeding"&&b.state==="unblocked","Invalid blocker state transition: "+k.state+" -> "+b.state);let D=new Map(E.blockers);D.set(C,b),Me({blockers:D})}function wi(C){let{currentLocation:b,nextLocation:k,historyAction:D}=C;if(ue.size===0)return;ue.size>1&&ii(!1,"A router only supports one blocker at a time");let $=Array.from(ue.entries()),[G,te]=$[$.length-1],Q=E.blockers.get(G);if(!(Q&&Q.state==="proceeding")&&te({currentLocation:b,nextLocation:k,historyAction:D}))return G}function xi(C){let b=mt(404,{pathname:C}),k=s||a,{matches:D,route:$}=Qp(k);return $r(),{notFoundMatches:D,route:$,error:b}}function $r(C){let b=[];return Re.forEach((k,D)=>{(!C||C(D))&&(k.cancel(),b.push(D),Re.delete(D))}),b}function fn(C,b,k){if(w=C,x=b,m=k||null,!g&&E.navigation===bu){g=!0;let D=ye(E.location,E.matches);D!=null&&Me({restoreScrollPosition:D})}return()=>{w=null,x=null,m=null}}function $a(C,b){return m&&m(C,b.map(D=>t1(D,E.loaderData)))||C.key}function re(C,b){if(w&&x){let k=$a(C,b);w[k]=x()}}function ye(C,b){if(w){let k=$a(C,b),D=w[k];if(typeof D=="number")return D}return null}function xe(C,b,k){if(c)if(C){if(Object.keys(C[0].params).length>0)return{active:!0,matches:_s(b,k,l,!0)}}else return{active:!0,matches:_s(b,k,l,!0)||[]};return{active:!1,matches:null}}async function et(C,b,k,D){if(!c)return{type:"success",matches:C};let $=C;for(;;){let G=s==null,te=s||a,Q=i;try{await c({signal:k,path:b,matches:$,fetcherKey:D,patch:(Y,se)=>{k.aborted||$p(Y,se,te,Q,o)}})}catch(Y){return{type:"error",error:Y,partialMatches:$}}finally{G&&!k.aborted&&(a=[...a])}if(k.aborted)return{type:"aborted"};let K=rr(te,b,l);if(K)return{type:"success",matches:K};let V=_s(te,b,l,!0);if(!V||$.length===V.length&&$.every((Y,se)=>Y.route.id===V[se].route.id))return{type:"success",matches:null};$=V}}function Ct(C){i={},s=al(C,o,void 0,i)}function pn(C,b){let k=s==null;$p(C,b,s||a,i,o),k&&(a=[...a],Me({}))}return R={get basename(){return l},get future(){return d},get state(){return E},get routes(){return a},get window(){return t},initialize:ln,subscribe:un,enableScrollRestoration:fn,navigate:Mr,fetch:Ir,revalidate:gi,createHref:C=>e.history.createHref(C),encodeLocation:C=>e.history.encodeLocation(C),getFetcher:Fr,deleteFetcher:Fa,dispose:Tn,getBlocker:Vl,deleteBlocker:za,patchRoutes:pn,_internalFetchControllers:N,_internalActiveDeferreds:Re,_internalSetRoutes:Ct},R}function k1(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Rc(e,t,n,r,o,i,a,s){let l,u;if(a){l=[];for(let d of t)if(l.push(d),d.route.id===a){u=d;break}}else l=t,u=t[t.length-1];let c=Vd(o||".",Bd(l,i),fi(e.pathname,n)||e.pathname,s==="path");if(o==null&&(c.search=e.search,c.hash=e.hash),(o==null||o===""||o===".")&&u){let d=Qd(c.search);if(u.route.index&&!d)c.search=c.search?c.search.replace(/^\?/,"?index&"):"?index";else if(!u.route.index&&d){let p=new URLSearchParams(c.search),f=p.getAll("index");p.delete("index"),f.filter(m=>m).forEach(m=>p.append("index",m));let w=p.toString();c.search=w?"?"+w:""}}return r&&n!=="/"&&(c.pathname=c.pathname==="/"?n:$n([n,c.pathname])),lo(c)}function Ip(e,t,n,r){if(!r||!k1(r))return{path:n};if(r.formMethod&&!z1(r.formMethod))return{path:n,error:mt(405,{method:r.formMethod})};let o=()=>({path:n,error:mt(400,{type:"invalid-body"})}),i=r.formMethod||"get",a=e?i.toUpperCase():i.toLowerCase(),s=pv(n);if(r.body!==void 0){if(r.formEncType==="text/plain"){if(!Zt(a))return o();let p=typeof r.body=="string"?r.body:r.body instanceof FormData||r.body instanceof URLSearchParams?Array.from(r.body.entries()).reduce((f,w)=>{let[m,x]=w;return""+f+m+"="+x+`
51`},""):String(r.body);return{path:n,submission:{formMethod:a,formAction:s,formEncType:r.formEncType,formData:void 0,json:void 0,text:p}}}else if(r.formEncType==="application/json"){if(!Zt(a))return o();try{let p=typeof r.body=="string"?JSON.parse(r.body):r.body;return{path:n,submission:{formMethod:a,formAction:s,formEncType:r.formEncType,formData:void 0,json:p,text:void 0}}}catch{return o()}}}de(typeof FormData=="function","FormData is not available in this environment");let l,u;if(r.formData)l=Nc(r.formData),u=r.formData;else if(r.body instanceof FormData)l=Nc(r.body),u=r.body;else if(r.body instanceof URLSearchParams)l=r.body,u=Bp(l);else if(r.body==null)l=new URLSearchParams,u=new FormData;else try{l=new URLSearchParams(r.body),u=Bp(l)}catch{return o()}let c={formMethod:a,formAction:s,formEncType:r&&r.formEncType||"application/x-www-form-urlencoded",formData:u,json:void 0,text:void 0};if(Zt(c.formMethod))return{path:n,submission:c};let d=Ar(n);return t&&d.search&&Qd(d.search)&&l.append("index",""),d.search="?"+l,{path:lo(d),submission:c}}function jp(e,t,n){n===void 0&&(n=!1);let r=e.findIndex(o=>o.route.id===t);return r>=0?e.slice(0,n?r+1:r):e}function Fp(e,t,n,r,o,i,a,s,l,u,c,d,p,f,w,m){let x=m?Tt(m[1])?m[1].error:m[1].data:void 0,g=e.createURL(t.location),h=e.createURL(o),v=n;i&&t.errors?v=jp(n,Object.keys(t.errors)[0],!0):m&&Tt(m[1])&&(v=jp(n,m[0]));let S=m?m[1].statusCode:void 0,P=a&&S&&S>=400,R=v.filter((_,M)=>{let{route:O}=_;if(O.lazy)return!0;if(O.loader==null)return!1;if(i)return _c(O,t.loaderData,t.errors);if(R1(t.loaderData,t.matches[M],_)||l.some(X=>X===_.route.id))return!0;let H=t.matches[M],z=_;return zp(_,_e({currentUrl:g,currentParams:H.params,nextUrl:h,nextParams:z.params},r,{actionResult:x,actionStatus:S,defaultShouldRevalidate:P?!1:s||g.pathname+g.search===h.pathname+h.search||g.search!==h.search||dv(H,z)}))}),E=[];return d.forEach((_,M)=>{if(i||!n.some(F=>F.route.id===_.routeId)||c.has(M))return;let O=rr(f,_.path,w);if(!O){E.push({key:M,routeId:_.routeId,path:_.path,matches:null,match:null,controller:null});return}let H=t.fetchers.get(M),z=Vi(O,_.path),X=!1;p.has(M)?X=!1:u.has(M)?(u.delete(M),X=!0):H&&H.state!=="idle"&&H.data===void 0?X=s:X=zp(z,_e({currentUrl:g,currentParams:t.matches[t.matches.length-1].params,nextUrl:h,nextParams:n[n.length-1].params},r,{actionResult:x,actionStatus:S,defaultShouldRevalidate:P?!1:s})),X&&E.push({key:M,routeId:_.routeId,path:_.path,matches:O,match:z,controller:new AbortController})}),[R,E]}function _c(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=t!=null&&t[e.id]!==void 0,o=n!=null&&n[e.id]!==void 0;return!r&&o?!1:typeof e.loader=="function"&&e.loader.hydrate===!0?!0:!r&&!o}function R1(e,t,n){let r=!t||n.route.id!==t.route.id,o=e[n.route.id]===void 0;return r||o}function dv(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function zp(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n=="boolean")return n}return t.defaultShouldRevalidate}function $p(e,t,n,r,o){var i;let a;if(e){let u=r[e];de(u,"No route found to patch children into: routeId = "+e),u.children||(u.children=[]),a=u.children}else a=n;let s=t.filter(u=>!a.some(c=>fv(u,c))),l=al(s,o,[e||"_","patch",String(((i=a)==null?void 0:i.length)||"0")],r);a.push(...l)}function fv(e,t){return"id"in e&&"id"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,r)=>{var o;return(o=t.children)==null?void 0:o.some(i=>fv(n,i))}):!1}async function _1(e,t,n){if(!e.lazy)return;let r=await e.lazy();if(!e.lazy)return;let o=n[e.id];de(o,"No route found in manifest");let i={};for(let a in r){let l=o[a]!==void 0&&a!=="hasErrorBoundary";ii(!l,'Route "'+o.id+'" has a static property "'+a+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+a+'" will be ignored.')),!l&&!Zx.has(a)&&(i[a]=r[a])}Object.assign(o,i),Object.assign(o,_e({},t(o),{lazy:void 0}))}async function N1(e){let{matches:t}=e,n=t.filter(o=>o.shouldLoad);return(await Promise.all(n.map(o=>o.resolve()))).reduce((o,i,a)=>Object.assign(o,{[n[a].route.id]:i}),{})}async function A1(e,t,n,r,o,i,a,s,l,u){let c=i.map(f=>f.route.lazy?_1(f.route,l,s):void 0),d=i.map((f,w)=>{let m=c[w],x=o.some(h=>h.route.id===f.route.id);return _e({},f,{shouldLoad:x,resolve:async h=>(h&&r.method==="GET"&&(f.route.lazy||f.route.loader)&&(x=!0),x?O1(t,r,f,m,h,u):Promise.resolve({type:Ee.data,result:void 0}))})}),p=await e({matches:d,request:r,params:i[0].params,fetcherKey:a,context:u});try{await Promise.all(c)}catch{}return p}async function O1(e,t,n,r,o,i){let a,s,l=u=>{let c,d=new Promise((w,m)=>c=m);s=()=>c(),t.signal.addEventListener("abort",s);let p=w=>typeof u!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+n.route.id+"]"))):u({request:t,params:n.params,context:i},...w!==void 0?[w]:[]),f=(async()=>{try{return{type:"data",result:await(o?o(m=>p(m)):p())}}catch(w){return{type:"error",result:w}}})();return Promise.race([f,d])};try{let u=n.route[e];if(r)if(u){let c,[d]=await Promise.all([l(u).catch(p=>{c=p}),r]);if(c!==void 0)throw c;a=d}else if(await r,u=n.route[e],u)a=await l(u);else if(e==="action"){let c=new URL(t.url),d=c.pathname+c.search;throw mt(405,{method:t.method,pathname:d,routeId:n.route.id})}else return{type:Ee.data,result:void 0};else if(u)a=await l(u);else{let c=new URL(t.url),d=c.pathname+c.search;throw mt(404,{pathname:d})}de(a.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+n.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(u){return{type:Ee.error,result:u}}finally{s&&t.signal.removeEventListener("abort",s)}return a}async function L1(e){let{result:t,type:n}=e;if(hv(t)){let d;try{let p=t.headers.get("Content-Type");p&&/\bapplication\/json\b/.test(p)?t.body==null?d=null:d=await t.json():d=await t.text()}catch(p){return{type:Ee.error,error:p}}return n===Ee.error?{type:Ee.error,error:new sl(t.status,t.statusText,d),statusCode:t.status,headers:t.headers}:{type:Ee.data,data:d,statusCode:t.status,headers:t.headers}}if(n===Ee.error){if(Kp(t)){var r,o;if(t.data instanceof Error){var i,a;return{type:Ee.error,error:t.data,statusCode:(i=t.init)==null?void 0:i.status,headers:(a=t.init)!=null&&a.headers?new Headers(t.init.headers):void 0}}return{type:Ee.error,error:new sl(((r=t.init)==null?void 0:r.status)||500,void 0,t.data),statusCode:ya(t)?t.status:void 0,headers:(o=t.init)!=null&&o.headers?new Headers(t.init.headers):void 0}}return{type:Ee.error,error:t,statusCode:ya(t)?t.status:void 0}}if(F1(t)){var s,l;return{type:Ee.deferred,deferredData:t,statusCode:(s=t.init)==null?void 0:s.status,headers:((l=t.init)==null?void 0:l.headers)&&new Headers(t.init.headers)}}if(Kp(t)){var u,c;return{type:Ee.data,data:t.data,statusCode:(u=t.init)==null?void 0:u.status,headers:(c=t.init)!=null&&c.headers?new Headers(t.init.headers):void 0}}return{type:Ee.data,data:t}}function M1(e,t,n,r,o,i){let a=e.headers.get("Location");if(de(a,"Redirects returned/thrown from loaders/actions must have a Location header"),!Hd.test(a)){let s=r.slice(0,r.findIndex(l=>l.route.id===n)+1);a=Rc(new URL(t.url),s,o,!0,a,i),e.headers.set("Location",a)}return e}function Up(e,t,n){if(Hd.test(e)){let r=e,o=r.startsWith("//")?new URL(t.protocol+r):new URL(r),i=fi(o.pathname,n)!=null;if(o.origin===t.origin&&i)return o.pathname+o.search+o.hash}return e}function Eo(e,t,n,r){let o=e.createURL(pv(t)).toString(),i={signal:n};if(r&&Zt(r.formMethod)){let{formMethod:a,formEncType:s}=r;i.method=a.toUpperCase(),s==="application/json"?(i.headers=new Headers({"Content-Type":s}),i.body=JSON.stringify(r.json)):s==="text/plain"?i.body=r.text:s==="application/x-www-form-urlencoded"&&r.formData?i.body=Nc(r.formData):i.body=r.formData}return new Request(o,i)}function Nc(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r=="string"?r:r.name);return t}function Bp(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function D1(e,t,n,r,o){let i={},a=null,s,l=!1,u={},c=n&&Tt(n[1])?n[1].error:void 0;return e.forEach(d=>{if(!(d.route.id in t))return;let p=d.route.id,f=t[p];if(de(!Yr(f),"Cannot handle redirect results in processLoaderData"),Tt(f)){let w=f.error;c!==void 0&&(w=c,c=void 0),a=a||{};{let m=Hr(e,p);a[m.route.id]==null&&(a[m.route.id]=w)}i[p]=void 0,l||(l=!0,s=ya(f.error)?f.error.status:500),f.headers&&(u[p]=f.headers)}else dr(f)?(r.set(p,f.deferredData),i[p]=f.deferredData.data,f.statusCode!=null&&f.statusCode!==200&&!l&&(s=f.statusCode),f.headers&&(u[p]=f.headers)):(i[p]=f.data,f.statusCode&&f.statusCode!==200&&!l&&(s=f.statusCode),f.headers&&(u[p]=f.headers))}),c!==void 0&&n&&(a={[n[0]]:c},i[n[0]]=void 0),{loaderData:i,errors:a,statusCode:s||200,loaderHeaders:u}}function Vp(e,t,n,r,o,i,a){let{loaderData:s,errors:l}=D1(t,n,r,a);return o.forEach(u=>{let{key:c,match:d,controller:p}=u,f=i[c];if(de(f,"Did not find corresponding fetcher result"),!(p&&p.signal.aborted))if(Tt(f)){let w=Hr(e.matches,d==null?void 0:d.route.id);l&&l[w.route.id]||(l=_e({},l,{[w.route.id]:f.error})),e.fetchers.delete(c)}else if(Yr(f))de(!1,"Unhandled fetcher revalidation redirect");else if(dr(f))de(!1,"Unhandled fetcher deferred data");else{let w=qn(f.data);e.fetchers.set(c,w)}}),{loaderData:s,errors:l}}function Hp(e,t,n,r){let o=_e({},t);for(let i of n){let a=i.route.id;if(t.hasOwnProperty(a)?t[a]!==void 0&&(o[a]=t[a]):e[a]!==void 0&&i.route.loader&&(o[a]=e[a]),r&&r.hasOwnProperty(a))break}return o}function Wp(e){return e?Tt(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function Hr(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function Qp(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function mt(e,t){let{pathname:n,routeId:r,method:o,type:i,message:a}=t===void 0?{}:t,s="Unknown Server Error",l="Unknown @remix-run/router error";return e===400?(s="Bad Request",o&&n&&r?l="You made a "+o+' request to "'+n+'" but '+('did not provide a `loader` for route "'+r+'", ')+"so there is no way to handle the request.":i==="defer-action"?l="defer() is not supported in actions":i==="invalid-body"&&(l="Unable to encode submission body")):e===403?(s="Forbidden",l='Route "'+r+'" does not match URL "'+n+'"'):e===404?(s="Not Found",l='No route matches URL "'+n+'"'):e===405&&(s="Method Not Allowed",o&&n&&r?l="You made a "+o.toUpperCase()+' request to "'+n+'" but '+('did not provide an `action` for route "'+r+'", ')+"so there is no way to handle the request.":o&&(l='Invalid request method "'+o.toUpperCase()+'"')),new sl(e||500,s,new Error(l),!0)}function ls(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,o]=t[n];if(Yr(o))return{key:r,result:o}}}function pv(e){let t=typeof e=="string"?Ar(e):e;return lo(_e({},t,{hash:""}))}function I1(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function j1(e){return hv(e.result)&&S1.has(e.result.status)}function dr(e){return e.type===Ee.deferred}function Tt(e){return e.type===Ee.error}function Yr(e){return(e&&e.type)===Ee.redirect}function Kp(e){return typeof e=="object"&&e!=null&&"type"in e&&"data"in e&&"init"in e&&e.type==="DataWithResponseInit"}function F1(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function hv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function z1(e){return E1.has(e.toLowerCase())}function Zt(e){return w1.has(e.toLowerCase())}async function $1(e,t,n,r,o){let i=Object.entries(t);for(let a=0;a<i.length;a++){let[s,l]=i[a],u=e.find(p=>(p==null?void 0:p.route.id)===s);if(!u)continue;let c=r.find(p=>p.route.id===u.route.id),d=c!=null&&!dv(c,u)&&(o&&o[u.route.id])!==void 0;dr(l)&&d&&await Wd(l,n,!1).then(p=>{p&&(t[s]=p)})}}async function U1(e,t,n){for(let r=0;r<n.length;r++){let{key:o,routeId:i,controller:a}=n[r],s=t[o];e.find(u=>(u==null?void 0:u.route.id)===i)&&dr(s)&&(de(a,"Expected an AbortController for revalidating fetcher deferred result"),await Wd(s,a.signal,!0).then(u=>{u&&(t[o]=u)}))}}async function Wd(e,t,n){if(n===void 0&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:Ee.data,data:e.deferredData.unwrappedData}}catch(o){return{type:Ee.error,error:o}}return{type:Ee.data,data:e.deferredData.data}}}function Qd(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Vi(e,t){let n=typeof t=="string"?Ar(t).search:t.search;if(e[e.length-1].route.index&&Qd(n||""))return e[e.length-1];let r=lv(e);return r[r.length-1]}function Yp(e){let{formMethod:t,formAction:n,formEncType:r,text:o,formData:i,json:a}=e;if(!(!t||!n||!r)){if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:o};if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:i,json:void 0,text:void 0};if(a!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:a,text:void 0}}}function Tu(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function B1(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function Di(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function V1(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function qn(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function H1(e,t){try{let n=e.sessionStorage.getItem(cv);if(n){let r=JSON.parse(n);for(let[o,i]of Object.entries(r||{}))i&&Array.isArray(i)&&t.set(o,new Set(i||[]))}}catch{}}function W1(e,t){if(t.size>0){let n={};for(let[r,o]of t)n[r]=[...o];try{e.sessionStorage.setItem(cv,JSON.stringify(n))}catch(r){ii(!1,"Failed to save applied view transitions in sessionStorage ("+r+").")}}}/**
52 * React Router v6.30.1
53 *
54 * Copyright (c) Remix Software Inc.
55 *
56 * This source code is licensed under the MIT license found in the
57 * LICENSE.md file in the root directory of this source tree.
58 *
59 * @license MIT
60 */function ll(){return ll=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},ll.apply(this,arguments)}const Ol=y.createContext(null),mv=y.createContext(null),po=y.createContext(null),Kd=y.createContext(null),Or=y.createContext({outlet:null,matches:[],isDataRoute:!1}),gv=y.createContext(null);function Q1(e,t){let{relative:n}=t===void 0?{}:t;Oa()||de(!1);let{basename:r,navigator:o}=y.useContext(po),{hash:i,pathname:a,search:s}=yv(e,{relative:n}),l=a;return r!=="/"&&(l=a==="/"?r:$n([r,a])),o.createHref({pathname:l,search:s,hash:i})}function Oa(){return y.useContext(Kd)!=null}function La(){return Oa()||de(!1),y.useContext(Kd).location}function vv(e){y.useContext(po).static||y.useLayoutEffect(e)}function K1(){let{isDataRoute:e}=y.useContext(Or);return e?aE():Y1()}function Y1(){Oa()||de(!1);let e=y.useContext(Ol),{basename:t,future:n,navigator:r}=y.useContext(po),{matches:o}=y.useContext(Or),{pathname:i}=La(),a=JSON.stringify(Bd(o,n.v7_relativeSplatPath)),s=y.useRef(!1);return vv(()=>{s.current=!0}),y.useCallback(function(u,c){if(c===void 0&&(c={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let d=Vd(u,JSON.parse(a),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:$n([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,a,i,e])}const G1=y.createContext(null);function X1(e){let t=y.useContext(Or).outlet;return t&&y.createElement(G1.Provider,{value:e},t)}function yv(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=y.useContext(po),{matches:o}=y.useContext(Or),{pathname:i}=La(),a=JSON.stringify(Bd(o,r.v7_relativeSplatPath));return y.useMemo(()=>Vd(e,JSON.parse(a),i,n==="path"),[e,a,i,n])}function q1(e,t,n,r){Oa()||de(!1);let{navigator:o}=y.useContext(po),{matches:i}=y.useContext(Or),a=i[i.length-1],s=a?a.params:{};a&&a.pathname;let l=a?a.pathnameBase:"/";a&&a.route;let u=La(),c;c=u;let d=c.pathname||"/",p=d;if(l!=="/"){let m=l.replace(/^\//,"").split("/");p="/"+d.replace(/^\//,"").split("/").slice(m.length).join("/")}let f=rr(e,{pathname:p});return nE(f&&f.map(m=>Object.assign({},m,{params:Object.assign({},s,m.params),pathname:$n([l,o.encodeLocation?o.encodeLocation(m.pathname).pathname:m.pathname]),pathnameBase:m.pathnameBase==="/"?l:$n([l,o.encodeLocation?o.encodeLocation(m.pathnameBase).pathname:m.pathnameBase])})),i,n,r)}function J1(){let e=Ev(),t=ya(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return y.createElement(y.Fragment,null,y.createElement("h2",null,"Unexpected Application 
60Error!"),y.createElement("h3",{style:{fontStyle:"italic"}},t),n?y.createElement("pre",{style:o},n):null,null)}const Z1=y.createElement(J1,null);class eE extends y.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?y.createElement(Or.Provider,{value:this.props.routeContext},y.createElement(gv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function tE(e){let{routeContext:t,match:n,children:r}=e,o=y.useContext(Ol);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),y.createElement(Or.Provider,{value:t},r)}function nE(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,s=(o=n)==null?void 0:o.errors;if(s!=null){let c=a.findIndex(d=>d.route.id&&(s==null?void 0:s[d.route.id])!==void 0);c>=0||de(!1),a=a.slice(0,Math.min(a.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<a.length;c++){let d=a[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:p,errors:f}=n,w=d.route.loader&&p[d.route.id]===void 0&&(!f||f[d.route.id]===void 0);if(d.route.lazy||w){l=!0,u>=0?a=a.slice(0,u+1):a=[a[0]];break}}}return a.reduceRight((c,d,p)=>{let f,w=!1,m=null,x=null;n&&(f=s&&d.route.id?s[d.route.id]:void 0,m=d.route.errorElement||Z1,l&&(u<0&&p===0?(w=!0,x=null):u===p&&(w=!0,x=d.route.hydrateFallbackElement||null)));let g=t.concat(a.slice(0,p+1)),h=()=>{let v;return f?v=m:w?v=x:d.route.Component?v=y.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,y.createElement(tE,{match:d,routeContext:{outlet:c,matches:g,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||p===0)?y.createElement(eE,{location:n.location,revalidation:n.revalidation,component:m,error:f,children:h(),routeContext:{outlet:null,matches:g,isDataRoute:!0}}):h()},null)}var wv=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(wv||{}),ul=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}(ul||{});function rE(e){let t=y.useContext(Ol);return t||de(!1),t}function oE(e){let t=y.useContext(mv);return t||de(!1),t}function iE(e){let t=y.useContext(Or);return t||de(!1),t}function xv(e){let t=iE(),n=t.matches[t.matches.length-1];return n.route.id||de(!1),n.route.id}function Ev(){var e;let t=y.useContext(gv),n=oE(ul.UseRouteError),r=xv(ul.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function aE(){let{router:e}=rE(wv.UseNavigateStable),t=xv(ul.UseNavigateStable),n=y.useRef(!1);return vv(()=>{n.current=!0}),y.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,ll({fromRouteId:t},i)))},[e,t])}function sE(e,t){e==null||e.v7_startTransition,(e==null?void 0:e.v7_relativeSplatPath)===void 0&&(!t||t.v7_relativeSplatPath),t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation)}function lE(e){return X1(e.context)}function uE(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Be.Pop,navigator:i,static:a=!1,future:s}=e;Oa()&&de(!1);let l=t.replace(/^\/*/,"/"),u=y.useMemo(()=>({basename:l,navigator:i,static:a,future:ll({v7_relativeSplatPath:!1},s)}),[l,s,i,a]);typeof r=="string"&&(r=Ar(r));let{pathname:c="/",search:d="",hash:p="",state:f=null,key:w="default"}=r,m=y.useMemo(()=>{let x=fi(c,l);return x==null?null:{location:{pathname:x,search:d,hash:p,state:f,key:w},navigationType:o}},[l,c,d,p,f,w,o]);return m==null?null:y.createElement(po.Provider,{value:u},y.createElement(Kd.Provider,{children:n,value:m}))}new Promise(()=>{});function cE(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:y.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:y.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:y.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/**
61 * React Router DOM v6.30.1
62 *
63 * Copyright (c) Remix Software Inc.
64 *
65 * This source code is licensed under the MIT license found in the
66 * LICENSE.md file in the root directory of this source tree.
67 *
68 * @license MIT
69 */function wa(){return wa=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},wa.apply(this,arguments)}function dE(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function fE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function pE(e,t){return e.button===0&&(!t||t==="_self")&&!fE(e)}const hE=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],mE="6";try{window.__reactRouterVersion=mE}catch{}function Sv(e,t){return P1({basename:t==null?void 0:t.basename,future:wa({}
vendor: 4,154 bytes, line 69
69,t==null?void 0:t.future,{v7_prependBasename:!0}),history:Xx({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||gE(),routes:e,mapRouteProperties:cE,dataStrategy:t==null?void 0:t.dataStrategy,patchRoutesOnNavigation:t==null?void 0:t.patchRoutesOnNavigation,window:t==null?void 0:t.window}).initialize()}function gE(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=wa({},t,{errors:vE(t.errors)})),t}function vE(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,o]of t)if(o&&o.__type==="RouteErrorResponse")n[r]=new sl(o.status,o.statusText,o.data,o.internal===!0);else if(o&&o.__type==="Error"){if(o.__subType){let i=window[o.__subType];if(typeof i=="function")try{let a=new i(o.message);a.stack="",n[r]=a}catch{}}if(n[r]==null){let i=new Error(o.message);i.stack="",n[r]=i}}else n[r]=o;return n}const yE=y.createContext({isTransitioning:!1}),wE=y.createContext(new Map),xE="startTransition",Gp=qh[xE],EE="flushSync",Xp=iv[EE];function SE(e){Gp?Gp(e):e()}function Ii(e){Xp?Xp(e):e()}class CE{constructor(){this.status="pending",this.promise=new Promise((t,n)=>{this.resolve=r=>{this.status==="pending"&&(this.status="resolved",t(r))},this.reject=r=>{this.status==="pending"&&(this.status="rejected",n(r))}})}}function bE(e){let{fallbackElement:t,router:n,future:r}=e,[o,i]=y.useState(n.state),[a,s]=y.useState(),[l,u]=y.useState({isTransitioning:!1}),[c,d]=y.useState(),[p,f]=y.useState(),[w,m]=y.useState(),x=y.useRef(new Map),{v7_startTransition:g}=r||{},h=y.useCallback(_=>{g?SE(_):_()},[g]),v=y.useCallback((_,M)=>{let{deletedFetchers:O,flushSync:H,viewTransitionOpts:z}=M;_.fetchers.forEach((F,ne)=>{F.data!==void 0&&x.current.set(ne,F.data)}),O.forEach(F=>x.current.delete(F));let X=n.window==null||n.window.document==null||typeof n.window.document.startViewTransition!="function";if(!z||X){H?Ii(()=>i(_)):h(()=>i(_));return}if(H){Ii(()=>{p&&(c&&c.resolve(),p.skipTransition()),u({isTransitioning:!0,flushSync:!0,currentLocation:z.currentLocation,nextLocation:z.nextLocation})});let F=n.window.document.startViewTransition(()=>{Ii(()=>i(_))});F.finished.finally(()=>{Ii(()=>{d(void 0),f(void 0),s(void 0),u({isTransitioning:!1})})}),Ii(()=>f(F));return}p?(c&&c.resolve(),p.skipTransition(),m({state:_,currentLocation:z.currentLocation,nextLocation:z.nextLocation})):(s(_),u({isTransitioning:!0,flushSync:!1,currentLocation:z.currentLocation,nextLocation:z.nextLocation}))},[n.window,p,c,x,h]);y.useLayoutEffect(()=>n.subscribe(v),[n,v]),y.useEffect(()=>{l.isTransitioning&&!l.flushSync&&d(new CE)},[l]),y.useEffect(()=>{if(c&&a&&n.window){let _=a,M=c.promise,O=n.window.document.startViewTransition(async()=>{h(()=>i(_)),await M});O.finished.finally(()=>{d(void 0),f(void 0),s(void 0),u({isTransitioning:!1})}),f(O)}},[h,a,c,n.window]),y.useEffect(()=>{c&&a&&o.location.key===a.location.key&&c.resolve()},[c,p,o.location,a]),y.useEffect(()=>{!l.isTransitioning&&w&&(s(w.state),u({isTransitioning:!0,flushSync:!1,currentLocation:w.currentLocation,nextLocation:w.nextLocation}),m(void 0))},[l.isTransitioning,w]),y.useEffect(()=>{},[]);let S=y.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:_=>n.navigate(_),push:(_,M,O)=>n.navigate(_,{state:M,preventScrollReset:O==null?void 0:O.preventScrollReset}),replace:(_,M,O)=>n.navigate(_,{replace:!0,state:M,preventScrollReset:O==null?void 0:O.preventScrollReset})}),[n]),P=n.basename||"/",R=y.useMemo(()=>({router:n,navigator:S,static:!1,basename:P}),[n,S,P]),E=y.useMemo(()=>({v7_relativeSplatPath:n.future.v7_relativeSplatPath}),[n.future.v7_relativeSplatPath]);return y.useEffect(()=>sE(r,n.future),[r,n.future]),y.createElement(y.Fragment,null,y.createElement(Ol.Provider,{value:R},y.createElement(mv.Provider,{value:o},y.createElement(wE.Provider,{value:x.current},y.createElement(yE.Provider,{value:l},y.createElement(uE,{basename:P,location:o.location,navigationType:o.historyAction,navigator:S,future:E},o.initialized||n.future.v7_partialHydration?y.createElement(TE,{routes:n.routes,future:n.future,state:o}):t))))),null)}const TE=y.memo(PE);function PE(e){let{routes:t,future:n,state:r}=e;
69return q1(t,void 0,r,n)}const kE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",RE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,kt=y.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:a,state:s,target:l,to:u,preventScrollReset:c,viewTransition:d}=t,p=dE(t,hE),{basename:f}=y.useContext(po),w,m=!1;if(typeof u=="string"&&RE.test(u)&&(w=u,kE))try{let v=new URL(window.location.href),S=u.startsWith("//")?new URL(v.protocol+u):new URL(u),P=fi(S.pathname,f);S.origin===v.origin&&P!=null?u=P+S.search+S.hash:m=!0}catch{}let x=Q1(u,{relative:o}),g=_E(u,{replace:a,state:s,target:l,preventScrollReset:c,relative:o,viewTransition:d});function h(v){r&&r(v),v.defaultPrevented||g(v)}return y.createElement("a",wa({},p,{href:w||x,onClick:m||i?r:h,ref:n,target:l}))});var qp;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(qp||(qp={}));var Jp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Jp||(Jp={}));function _E(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:a,viewTransition:s}=t===void 0?{}:t,l=K1(),u=La(),c=yv(e,{relative:a});return y.useCallback(d=>{if(pE(d,n)){d.preventDefault();let p=r!==void 0?r:lo(u)===lo(c);l(e,{replace:p,state:o,preventScrollReset:i,relative:a,viewTransition:s})}},[u,l,c,r,o,n,e,i,a,s])}const NE="modulepreload",AE=function(e){return"/"+e},Zp={},Ke=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const a=document.querySelector("meta[property=csp-nonce]"),s=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.allSettled(n.map(l=>{if(l=AE(l),l in Zp)return;Zp[l]=!0;const u=l.endsWith(".css"),c=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${c}`))return;const d=document.createElement("link");if(d.rel=u?"stylesheet":NE,u||(d.as="script"),d.crossOrigin="",d.href=l,s&&d.setAttribute("nonce",s),document.head.appendChild(d),u)return new Promise((p,f)=>{d.addEventListener("load",p),d.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(a){const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=a,window.dispatchEvent(s),!s.defaultPrevented)throw a}return o.then(a=>{for(const s of a||[])s.status==="rejected"&&i(s.reason);return t().catch(i)})},Ns={...iv},{version:Cv,render:PP,hydrate:OE}=Ns,LE=Number((Cv||"").split(".")[0])>17,ME=Number((Cv||"").split(".")[0])>18;function DE(e,t,n={}){const{useLegacyRender:r}=n;if(r||!LE)OE(e,t);else if(ME)Ke(()=>import("./client-lGcD9dgS.js").then(o=>o.c),[]).then(({default:{hydrateRoot:o}})=>{I.startTransition(()=>{o(t,e)})});else{Ns.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.usingClientEntryPoint=!0;const{hydrateRoot:o}=Ns;if(!o)throw new Error("hydrateRoot not found");I.startTransition(()=>{o(t,e),Ns.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.usingClientEntryPoint=!1})}}function IE(e){return document.readyState==="loading"?new Promise(t=>{document.addEventListener("DOMContentLoaded",()=>t(e))}):Promise.resolve(e)}function eh(e,t){return!e||!t?e||t||"":(e[e.length-1]==="/"&&(e=e.substring(0,e.length-1)),t[0]!=="/"&&(t=`/${t}`),e+t)}function jE(e,t){if(e===t)return"/";const n=FE(t);return e.startsWith(n)?e.slice(n.length-1):e}function FE(e){return e[e.length-1]!=="/"?`${e}/`:e}function th(e){return e[0]!=="/"?`/${e}`:e}function bv(e,t,n=[]){return e.map((r,o)=>{const i=[...n,String(o)],a=typeof r.id=="string"?r.id:i.join("-");if(r.id=a,zE(r))return{...r,...t(r),id:a};{const s={...r,...t(r),id:a,children:void 0};return r.children&&(s.children=bv(r.children,t,i)),s}})}function zE(e){return e.index===!0}function $E(e){try{return JSON.parse(e||"{}")}catch(t){return console.error("[SSG] On state deserialization -",t,e),{}}}function UE(e,t,n={}){const{transformState:r,rootContainer:o="#root",ssrWhenDev:i,getStyleCollector:a=null}=n,s=typeof window<"u",l=e.basename??"/",{v7_startTransition:u=!0,...c}=e.future??{};async function d(f=!1,w){const m=e.customCreateRouter??Sv,x=f?m(bv(e.routes,p),{basename:l,future:c}):void 0,g=[],h=f?()=>{}:R=>g.push(R),v=()=>Promise.all(g.map(R=>R())),S={isClient:s,routes:e.routes,router:x,routerOptions:e,onSSRAppRendered:h,triggerOnSSRAppRendered:v,initialState:{},transformState:r,routePath:w,base:l,getStyleCollector:a,routerType:"remix"};f&&(await IE(),S.initialState=(r==null?void 0:r(window.__INITIAL_STATE__||{}))||$E(window.__INITIAL_STATE__)),await(t==null?void 0:t(S));const P=S.initialState;return{...S,initialState:P}}return s&&(async()=>{var v;
69const f=typeof o=="string"?document.querySelector(o):o;if(!f){typeof $jsdom>"u"&&console.warn("[vite-react-ssg] Root container not found.");return}const w=(v=rr(e.routes,window.location,l))==null?void 0:v.filter(S=>S.route.lazy);w&&(w==null?void 0:w.length)>0&&await Promise.all(w.map(async S=>{const P=await S.route.lazy();Object.assign(S.route,{...P,lazy:void 0})}));const m=await d(!0);window.__VITE_REACT_SSG_CONTEXT__=m;const{router:x}=m,g=T.jsx(So,{children:T.jsx(bE,{router:x,future:{v7_startTransition:u}})}),h=document.querySelector("[data-server-rendered=true]")!==null;DE(g,f,n)})(),d;function p(f){if(!(document.querySelector("[data-server-rendered=true]")!==null))return f;const m=async({request:x})=>{var g;{if(!window.__VITE_REACT_SSG_STATIC_LOADER_MANIFEST__){const E=eh(l,`static-loader-data-manifest-${window.__VITE_REACT_SSG_HASH__}.json`);window.__VITE_REACT_SSG_STATIC_LOADER_MANIFEST__=await(await fetch(th(E))).json()}const{url:h}=x;let{pathname:v}=new URL(h);l!=="/"&&(v=jE(v,l));const S=window.__VITE_REACT_SSG_STATIC_LOADER_MANIFEST__,P=S==null?void 0:S[v];if(!P)return null;if(window.__VITE_REACT_SSG_STATIC_LOADER_DATA__||(window.__VITE_REACT_SSG_STATIC_LOADER_DATA__={}),!window.__VITE_REACT_SSG_STATIC_LOADER_DATA__[v]){const E=eh(l,P);window.__VITE_REACT_SSG_STATIC_LOADER_DATA__[v]=await(await fetch(th(E))).json()}return((g=window.__VITE_REACT_SSG_STATIC_LOADER_DATA__[v])==null?void 0:g[f.id])??null}};return f.loader=m,f}}const BE=1,VE=1e6;let Pu=0;function HE(){return Pu=(Pu+1)%Number.MAX_SAFE_INTEGER,Pu.toString()}const ku=new Map,nh=e=>{if(ku.has(e))return;const t=setTimeout(()=>{ku.delete(e),Zi({type:"REMOVE_TOAST",toastId:e})},VE);ku.set(e,t)},WE=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,BE)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?nh(n):e.toasts.forEach(r=>{nh(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)}}},As=[];let Os={toasts:[]};function Zi(e){Os=WE(Os,e),As.forEach(t=>{t(Os)})}function QE({...e}){const t=HE(),n=o=>Zi({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Zi({type:"DISMISS_TOAST",toastId:t});return Zi({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function KE(){const[e,t]=y.useState(Os);return y.useEffect(()=>(As.push(t),()=>{const n=As.indexOf(t);n>-1&&As.splice(n,1)}),[e]),{...e,toast:QE,dismiss:n=>Zi({type:"DISMISS_TOAST",toastId:n})}}function We(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function rh(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Tv(...e){return t=>{let n=!1;const r=e.map(o=>{const i=rh(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():rh(e[o],null)}}}}function on(...e){return y.useCallback(Tv(...e),e)}function Ll(e,t=[]){let n=[];function r(i,a){const s=y.createContext(a),l=n.length;n=[...n,a];const u=d=>{var g;const{scope:p,children:f,...w}=d,m=((g=p==null?void 0:p[e])==null?void 0:g[l])||s,x=y.useMemo(()=>w,Object.values(w));return T.jsx(m.Provider,{value:x,children:f})};u.displayName=i+"Provider";function c(d,p){var m;const f=((m=p==null?void 0:p[e])==null?void 0:m[l])||s,w=y.useContext(f);if(w)return w;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(a=>y.createContext(a));return function(s){const l=(s==null?void 0:s[e])||i;return y.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return o.scopeName=e,[r,YE(o,...t)]}function YE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...s,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:a}
vendor: 10,529 bytes, line 69
69),[a])}};return n.scopeName=t.scopeName,n}function cl(e){const t=XE(e),n=y.forwardRef((r,o)=>{const{children:i,...a}=r,s=y.Children.toArray(i),l=s.find(JE);if(l){const u=l.props.children,c=s.map(d=>d===l?y.Children.count(u)>1?y.Children.only(null):y.isValidElement(u)?u.props.children:null:d);return T.jsx(t,{...a,ref:o,children:y.isValidElement(u)?y.cloneElement(u,void 0,c):null})}return T.jsx(t,{...a,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}var GE=cl("Slot");function XE(e){const t=y.forwardRef((n,r)=>{const{children:o,...i}=n;if(y.isValidElement(o)){const a=eS(o),s=ZE(i,o.props);return o.type!==y.Fragment&&(s.ref=r?Tv(r,a):a),y.cloneElement(o,s)}return y.Children.count(o)>1?y.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Pv=Symbol("radix.slottable");function qE(e){const t=({children:n})=>T.jsx(T.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Pv,t}function JE(e){return y.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Pv}function ZE(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{const l=i(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function eS(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function tS(e){const t=e+"CollectionProvider",[n,r]=Ll(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=m=>{const{scope:x,children:g}=m,h=I.useRef(null),v=I.useRef(new Map).current;return T.jsx(o,{scope:x,itemMap:v,collectionRef:h,children:g})};a.displayName=t;const s=e+"CollectionSlot",l=cl(s),u=I.forwardRef((m,x)=>{const{scope:g,children:h}=m,v=i(s,g),S=on(x,v.collectionRef);return T.jsx(l,{ref:S,children:h})});u.displayName=s;const c=e+"CollectionItemSlot",d="data-radix-collection-item",p=cl(c),f=I.forwardRef((m,x)=>{const{scope:g,children:h,...v}=m,S=I.useRef(null),P=on(x,S),R=i(c,g);return I.useEffect(()=>(R.itemMap.set(S,{ref:S,...v}),()=>void R.itemMap.delete(S))),T.jsx(p,{[d]:"",ref:P,children:h})});f.displayName=c;function w(m){const x=i(e+"CollectionConsumer",m);return I.useCallback(()=>{const h=x.collectionRef.current;if(!h)return[];const v=Array.from(h.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((R,E)=>v.indexOf(R.ref.current)-v.indexOf(E.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:a,Slot:u,ItemSlot:f},w,r]}var nS=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],St=nS.reduce((e,t)=>{const n=cl(`Primitive.${t}`),r=y.forwardRef((o,i)=>{const{asChild:a,...s}=o,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),T.jsx(l,{...s,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function kv(e,t){e&&Aa.flushSync(()=>e.dispatchEvent(t))}function Sr(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function rS(e,t=globalThis==null?void 0:globalThis.document){const n=Sr(e);y.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var oS="DismissableLayer",Ac="dismissableLayer.update",iS="dismissableLayer.pointerDownOutside",aS="dismissableLayer.focusOutside",oh,Rv=y.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Yd=y.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:a,onDismiss:s,...l}=e,u=y.useContext(Rv),[c,d]=y.useState(null),p=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,f]=y.useState({}),w=on(t,E=>d(E)),m=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=m.indexOf(x),h=c?m.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,S=h>=g,P=lS(E=>{const _=E.target,M=[...u.branches].some(O=>O.contains(_));!S||M||(o==null||o(E),a==null||a(E),E.defaultPrevented||s==null||s())},p),R=uS(E=>{const _=E.target;[...u.branches].some(O=>O.contains(_))||(i==null||i(E),a==null||a(E),E.defaultPrevented||s==null||s())},p);return rS(E=>{h===u.layers.size-1&&(r==null||r(E),!E.defaultPrevented&&s&&(E.preventDefault(),s()))},p),y.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(oh=p.body.style.pointerEvents,p.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),ih(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(p.body.style.pointerEvents=oh)}},[c,p,n,u]),y.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),ih())},[c,u]),y.useEffect(()=>{const E=()=>f({});return document.addEventListener(Ac,E),()=>document.removeEventListener(Ac,E)},[]),T.jsx(St.div,{...l,ref:w,style:{pointerEvents:v?S?"auto":"none":void 0,...e.style},onFocusCapture:We(e.onFocusCapture,R.onFocusCapture),onBlurCapture:We(e.onBlurCapture,R.onBlurCapture),onPointerDownCapture:We(e.onPointerDownCapture,P.onPointerDownCapture)})});Yd.displayName=oS;var sS="DismissableLayerBranch",_v=y.forwardRef((e,t)=>{const n=y.useContext(Rv),r=y.useRef(null),o=on(t,r);return y.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),T.jsx(St.div,{...e,ref:o})});_v.displayName=sS;function lS(e,t=globalThis==null?void 0:globalThis.document){const n=Sr(e),r=y.useRef(!1),o=y.useRef(()=>{});return y.useEffect(()=>{const i=s=>{if(s.target&&!r.current){let l=function(){Nv(iS,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},a=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(a),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function uS(e,t=globalThis==null?void 0:globalThis.document){const n=Sr(e),r=y.useRef(!1);return y.useEffect(()=>{const o=i=>{i.target&&!r.current&&Nv(aS,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function ih(){const e=new CustomEvent(Ac);document.dispatchEvent(e)}function Nv(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?kv(o,i):o.dispatchEvent(i)}var cS=Yd,dS=_v,Cr=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},fS="Portal",Av=y.forwardRef((e,t)=>{var s;const{container:n,...r}=e,[o,i]=y.useState(!1);Cr(()=>i(!0),[]);const a=n||o&&((s=globalThis==null?void 0:globalThis.document)==null?void 0:s.body);return a?Ud.createPortal(T.jsx(St.div,{...r,ref:t}),a):null});Av.displayName=fS;function pS(e,t){return y.useReducer((n,r)=>t[n][r]??n,e)}var Gd=e=>{const{present:t,children:n}=e,r=hS(t),o=typeof n=="function"?n({present:r.isPresent}):y.Children.only(n),i=on(r.ref,mS(o));return typeof n=="function"||r.isPresent?y.cloneElement(o,{ref:i}):null};Gd.displayName="Presence";function hS(e){const[t,n]=y.useState(),r=y.useRef(null),o=y.useRef(e),i=y.useRef("none"),a=e?"mounted":"unmounted",[s,l]=pS(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return y.useEffect(()=>{const u=us(r.current);i.current=s==="mounted"?u:"none"},[s]),Cr(()=>{const u=r.current,c=o.current;if(c!==e){const p=i.current,f=us(u);e?l("MOUNT"):f==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&p!==f?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Cr(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=f=>{const m=us(r.current).includes(f.animationName);if(f.target===t&&m&&(l("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},p=f=>{f.target===t&&(i.current=us(r.current))};return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:y.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function us(e){return(e==null?void 0:e.animationName)||"none"}function mS(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var gS=qh[" useInsertionEffect ".trim().toString()]||Cr;function vS({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,a]=yS({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:o;{const c=y.useRef(e!==void 0);y.useEffect(()=>{const d=c.current;d!==s&&console.warn(`${r} is changing from ${d?"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=y.useCallback(c=>{var d;if(s){const p=wS(c)?c(e):c;p!==e&&((d=a.current)==null||d.call(a,p))}else i(c)},[s,e,i,a]);return[l,u]}function yS({defaultProp:e,onChange:t}){const[n,r]=y.useState(e),o=y.useRef(n),i=y.useRef(t);return gS(()=>{i.current=t},[t]),y.useEffect(()=>{var a;o.current!==n&&((a=i.current)==null||a.call(i,n),o.current=n)},[n,o]),[n,r,i]}function wS(e){return typeof e=="function"}var xS=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"}),ES="VisuallyHidden",Ml=y.forwardRef((e,t)=>
69T.jsx(St.span,{...e,ref:t,style:{...xS,...e.style}}));Ml.displayName=ES;var SS=Ml,Xd="ToastProvider",[qd,CS,bS]=tS("Toast"),[Ov,kP]=Ll("Toast",[bS]),[TS,Dl]=Ov(Xd),Lv=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:a}=e,[s,l]=y.useState(null),[u,c]=y.useState(0),d=y.useRef(!1),p=y.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Xd}\`. Expected non-empty \`string\`.`),T.jsx(qd.Provider,{scope:t,children:T.jsx(TS,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:s,onViewportChange:l,onToastAdd:y.useCallback(()=>c(f=>f+1),[]),onToastRemove:y.useCallback(()=>c(f=>f-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:p,children:a})})};Lv.displayName=Xd;var Mv="ToastViewport",PS=["F8"],Oc="toast.viewportPause",Lc="toast.viewportResume",Dv=y.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=PS,label:o="Notifications ({hotkey})",...i}=e,a=Dl(Mv,n),s=CS(n),l=y.useRef(null),u=y.useRef(null),c=y.useRef(null),d=y.useRef(null),p=on(t,d,a.onViewportChange),f=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=a.toastCount>0;y.useEffect(()=>{const x=g=>{var v;r.length!==0&&r.every(S=>g[S]||g.code===S)&&((v=d.current)==null||v.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),y.useEffect(()=>{const x=l.current,g=d.current;if(w&&x&&g){const h=()=>{if(!a.isClosePausedRef.current){const R=new CustomEvent(Oc);g.dispatchEvent(R),a.isClosePausedRef.current=!0}},v=()=>{if(a.isClosePausedRef.current){const R=new CustomEvent(Lc);g.dispatchEvent(R),a.isClosePausedRef.current=!1}},S=R=>{!x.contains(R.relatedTarget)&&v()},P=()=>{x.contains(document.activeElement)||v()};return x.addEventListener("focusin",h),x.addEventListener("focusout",S),x.addEventListener("pointermove",h),x.addEventListener("pointerleave",P),window.addEventListener("blur",h),window.addEventListener("focus",v),()=>{x.removeEventListener("focusin",h),x.removeEventListener("focusout",S),x.removeEventListener("pointermove",h),x.removeEventListener("pointerleave",P),window.removeEventListener("blur",h),window.removeEventListener("focus",v)}}},[w,a.isClosePausedRef]);const m=y.useCallback(({tabbingDirection:x})=>{const h=s().map(v=>{const S=v.ref.current,P=[S,...zS(S)];return x==="forwards"?P:P.reverse()});return(x==="forwards"?h.reverse():h).flat()},[s]);return y.useEffect(()=>{const x=d.current;if(x){const g=h=>{var P,R,E;const v=h.altKey||h.ctrlKey||h.metaKey;if(h.key==="Tab"&&!v){const _=document.activeElement,M=h.shiftKey;if(h.target===x&&M){(P=u.current)==null||P.focus();return}const z=m({tabbingDirection:M?"backwards":"forwards"}),X=z.findIndex(F=>F===_);Ru(z.slice(X+1))?h.preventDefault():M?(R=u.current)==null||R.focus():(E=c.current)==null||E.focus()}};return x.addEventListener("keydown",g),()=>x.removeEventListener("keydown",g)}},[s,m]),T.jsxs(dS,{ref:l,role:"region","aria-label":o.replace("{hotkey}",f),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&T.jsx(Mc,{ref:u,onFocusFromOutsideViewport:()=>{const x=m({tabbingDirection:"forwards"});Ru(x)}}),T.jsx(qd.Slot,{scope:n,children:T.jsx(St.ol,{tabIndex:-1,...i,ref:p})}),w&&T.jsx(Mc,{ref:c,onFocusFromOutsideViewport:()=>{const x=m({tabbingDirection:"backwards"});Ru(x)}})]})});Dv.displayName=Mv;var Iv="ToastFocusProxy",Mc=y.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=Dl(Iv,n);return T.jsx(Ml,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:a=>{var u;const s=a.relatedTarget;!((u=i.viewport)!=null&&u.contains(s))&&r()}})});Mc.displayName=Iv;var Ma="Toast",kS="toast.swipeStart",RS="toast.swipeMove",_S="toast.swipeCancel",NS="toast.swipeEnd",jv=y.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...a}=e,[s,l]=vS({prop:r,defaultProp:o??!0,onChange:i,caller:Ma});return T.jsx(Gd,{present:n||s,children:T.jsx(LS,{open:s,...a,ref:t,onClose:()=>l(!1),onPause:Sr(e.onPause),onResume:Sr(e.onResume),onSwipeStart:We(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:We(e.onSwipeMove,u=>{const{x:c,y:d}=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",`${d}px`)}),onSwipeCancel:We(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:We(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});
69jv.displayName=Ma;var[AS,OS]=Ov(Ma,{onClose(){}}),LS=y.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:a,onEscapeKeyDown:s,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:p,onSwipeEnd:f,...w}=e,m=Dl(Ma,n),[x,g]=y.useState(null),h=on(t,F=>g(F)),v=y.useRef(null),S=y.useRef(null),P=o||m.duration,R=y.useRef(0),E=y.useRef(P),_=y.useRef(0),{onToastAdd:M,onToastRemove:O}=m,H=Sr(()=>{var ne;(x==null?void 0:x.contains(document.activeElement))&&((ne=m.viewport)==null||ne.focus()),a()}),z=y.useCallback(F=>{!F||F===1/0||(window.clearTimeout(_.current),R.current=new Date().getTime(),_.current=window.setTimeout(H,F))},[H]);y.useEffect(()=>{const F=m.viewport;if(F){const ne=()=>{z(E.current),u==null||u()},q=()=>{const ee=new Date().getTime()-R.current;E.current=E.current-ee,window.clearTimeout(_.current),l==null||l()};return F.addEventListener(Oc,q),F.addEventListener(Lc,ne),()=>{F.removeEventListener(Oc,q),F.removeEventListener(Lc,ne)}}},[m.viewport,P,l,u,z]),y.useEffect(()=>{i&&!m.isClosePausedRef.current&&z(P)},[i,P,m.isClosePausedRef,z]),y.useEffect(()=>(M(),()=>O()),[M,O]);const X=y.useMemo(()=>x?Hv(x):null,[x]);return m.viewport?T.jsxs(T.Fragment,{children:[X&&T.jsx(MS,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:X}),T.jsx(AS,{scope:n,onClose:H,children:Aa.createPortal(T.jsx(qd.ItemSlot,{scope:n,children:T.jsx(cS,{asChild:!0,onEscapeKeyDown:We(s,()=>{m.isFocusedToastEscapeKeyDownRef.current||H(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:T.jsx(St.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":m.swipeDirection,...w,ref:h,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:We(e.onKeyDown,F=>{F.key==="Escape"&&(s==null||s(F.nativeEvent),F.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,H()))}),onPointerDown:We(e.onPointerDown,F=>{F.button===0&&(v.current={x:F.clientX,y:F.clientY})}),onPointerMove:We(e.onPointerMove,F=>{if(!v.current)return;const ne=F.clientX-v.current.x,q=F.clientY-v.current.y,ee=!!S.current,N=["left","right"].includes(m.swipeDirection),L=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,U=N?L(0,ne):0,Z=N?0:L(0,q),W=F.pointerType==="touch"?10:2,oe={x:U,y:Z},ae={originalEvent:F,delta:oe};ee?(S.current=oe,cs(RS,d,ae,{discrete:!1})):ah(oe,m.swipeDirection,W)?(S.current=oe,cs(kS,c,ae,{discrete:!1}),F.target.setPointerCapture(F.pointerId)):(Math.abs(ne)>W||Math.abs(q)>W)&&(v.current=null)}),onPointerUp:We(e.onPointerUp,F=>{const ne=S.current,q=F.target;if(q.hasPointerCapture(F.pointerId)&&q.releasePointerCapture(F.pointerId),S.current=null,v.current=null,ne){const ee=F.currentTarget,N={originalEvent:F,delta:ne};ah(ne,m.swipeDirection,m.swipeThreshold)?cs(NS,f,N,{discrete:!0}):cs(_S,p,N,{discrete:!0}),ee.addEventListener("click",L=>L.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),MS=e=>{const{__scopeToast:t,children:n,...r}=e,o=Dl(Ma,t),[i,a]=y.useState(!1),[s,l]=y.useState(!1);return jS(()=>a(!0)),y.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),s?null:T.jsx(Av,{asChild:!0,children:T.jsx(Ml,{...r,children:i&&T.jsxs(T.Fragment,{children:[o.label," ",n]})})})},DS="ToastTitle",Fv=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return T.jsx(St.div,{...r,ref:t})});Fv.displayName=DS;var IS="ToastDescription",zv=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return T.jsx(St.div,{...r,ref:t})});zv.displayName=IS;var $v="ToastAction",Uv=y.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?T.jsx(Vv,{altText:n,asChild:!0,children:T.jsx(Jd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${$v}\`. Expected non-empty \`string\`.`),null)});Uv.displayName=$v;var Bv="ToastClose",Jd=y.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=OS(Bv,n);return T.jsx(Vv,{asChild:!0,children:T.jsx(St.button,{type:"button",...r,ref:t,onClick:We(e.onClick,o.onClose)})})});Jd.displayName=Bv;var Vv=y.forwardRef((e,t)=>
vendor: 6,649 bytes, lines 69-124
69{const{__scopeToast:n,altText:r,...o}=e;return T.jsx(St.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Hv(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),FS(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const a=r.dataset.radixToastAnnounceAlt;a&&t.push(a)}else t.push(...Hv(r))}}),t}function cs(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?kv(o,i):o.dispatchEvent(i)}var ah=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function jS(e=()=>{}){const t=Sr(e);Cr(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function FS(e){return e.nodeType===e.ELEMENT_NODE}function zS(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Ru(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var $S=Lv,Wv=Dv,Qv=jv,Kv=Fv,Yv=zv,Gv=Uv,Xv=Jd;function qv(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=qv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Jv(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=qv(e))&&(r&&(r+=" "),r+=t);return r}const sh=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,lh=Jv,Zv=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return lh(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,a=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const p=sh(c)||sh(d);return o[u][p]}),s=n&&Object.entries(n).reduce((u,c)=>{let[d,p]=c;return p===void 0||(u[d]=p),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:p,...f}=c;return Object.entries(f).every(w=>{let[m,x]=w;return Array.isArray(x)?x.includes({...i,...s}[m]):{...i,...s}[m]===x})?[...u,d,p]:u},[]);return lh(e,a,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
70 * @license lucide-react v0.462.0 - ISC
71 *
72 * This source code is licensed under the ISC license.
73 * See the LICENSE file in the root directory of this source tree.
74 */const US=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ey=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
75 * @license lucide-react v0.462.0 - ISC
76 *
77 * This source code is licensed under the ISC license.
78 * See the LICENSE file in the root directory of this source tree.
79 */var BS={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"};/**
80 * @license lucide-react v0.462.0 - ISC
81 *
82 * This source code is licensed under the ISC license.
83 * See the LICENSE file in the root directory of this source tree.
84 */const VS=y.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:a,...s},l)=>y.createElement("svg",{ref:l,...BS,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:ey("lucide",o),...s},[...a.map(([u,c])=>y.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
85 * @license lucide-react v0.462.0 - ISC
86 *
87 * This source code is licensed under the ISC license.
88 * See the LICENSE file in the root directory of this source tree.
89 */const ho=(e,t)=>{const n=y.forwardRef(({className:r,...o},i)=>y.createElement(VS,{ref:i,iconNode:t,className:ey(`lucide-${US(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
90 * @license lucide-react v0.462.0 - ISC
91 *
92 * This source code is licensed under the ISC license.
93 * See the LICENSE file in the root directory of this source tree.
94 */const HS=ho("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
95 * @license lucide-react v0.462.0 - ISC
96 *
97 * This source code is licensed under the ISC license.
98 * See the LICENSE file in the root directory of this source tree.
99 */const WS=ho("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
100 * @license lucide-react v0.462.0 - ISC
101 *
102 * This source code is licensed under the ISC license.
103 * See the LICENSE file in the root directory of this source tree.
104 */const QS=ho("Linkedin",[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]]);/**
105 * @license lucide-react v0.462.0 - ISC
106 *
107 * This source code is licensed under the ISC license.
108 * See the LICENSE file in the root directory of this source tree.
109 */const KS=ho("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/**
110 * @license lucide-react v0.462.0 - ISC
111 *
112 * This source code is licensed under the ISC license.
113 * See the LICENSE file in the root directory of this source tree.
114 */const YS=ho("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
115 * @license lucide-react v0.462.0 - ISC
116 *
117 * This source code is licensed under the ISC license.
118 * See the LICENSE file in the root directory of this source tree.
119 */const GS=ho("Twitter",[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]]);/**
120 * @license lucide-react v0.462.0 - ISC
121 *
122 * This source code is licensed under the ISC license.
123 * See the LICENSE file in the root directory of this source tree.
124 */const ty=ho("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 12,260 bytes, line 124
124],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Zd="-",XS=e=>{const t=JS(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(Zd);return s[0]===""&&s.length!==1&&s.shift(),ny(s,t)||qS(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},ny=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?ny(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Zd);return(a=t.validators.find(({validator:s})=>s(i)))==null?void 0:a.classGroupId},uh=/^\[(.+)\]$/,qS=e=>{if(uh.test(e)){const t=uh.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},JS=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return eC(Object.entries(e.classGroups),n).forEach(([i,a])=>{Dc(a,r,i,t)}),r},Dc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:ch(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(ZS(o)){Dc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,a])=>{Dc(a,ch(t,i),n,r)})})},ch=(e,t)=>{let n=e;return t.split(Zd).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},ZS=e=>e.isThemeGetter,eC=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,s])=>[t+a,s])):i);return[n,o]}):e,tC=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let a=n.get(i);if(a!==void 0)return a;if((a=r.get(i))!==void 0)return o(i,a),a},set(i,a){n.has(i)?n.set(i,a):o(i,a)}}},ry="!",nC=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,a=s=>{const l=[];let u=0,c=0,d;for(let x=0;x<s.length;x++){let g=s[x];if(u===0){if(g===o&&(r||s.slice(x,x+i)===t)){l.push(s.slice(c,x)),c=x+i;continue}if(g==="/"){d=x;continue}}g==="["?u++:g==="]"&&u--}const p=l.length===0?s:s.substring(c),f=p.startsWith(ry),w=f?p.substring(1):p,m=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:f,baseClassName:w,maybePostfixModifierPosition:m}};return n?s=>n({className:s,parseClassName:a}):a},rC=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},oC=e=>({cache:tC(e.cacheSize),parseClassName:nC(e),...XS(e)}),iC=/\s+/,aC=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(iC);let s="";for(let l=a.length-1;l>=0;l-=1){const u=a[l],{modifiers:c,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=n(u);let w=!!f,m=r(w?p.substring(0,f):p);if(!m){if(!w){s=u+(s.length>0?" "+s:s);continue}if(m=r(p),!m){s=u+(s.length>0?" "+s:s);continue}w=!1}const x=rC(c).join(":"),g=d?x+ry:x,h=g+m;if(i.includes(h))continue;i.push(h);const v=o(m,w);for(let S=0;S<v.length;++S){const P=v[S];i.push(g+P)}s=u+(s.length>0?" "+s:s)}return s};function sC(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=oy(t))&&(r&&(r+=" "),r+=n);return r}const oy=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=oy(e[r]))&&(n&&(n+=" "),n+=t);return n};function lC(e,...t){let n,r,o,i=a;function a(l){const u=t.reduce((c,d)=>d(c),e());return n=oC(u),r=n.cache.get,o=n.cache.set,i=s,s(l)}function s(l){const u=r(l);if(u)return u;const c=aC(l,n);return o(l,c),c}return function(){return i(sC.apply(null,arguments))}}const Te=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},iy=/^\[(?:([a-z-]+):)?(.+)\]$/i,uC=/^\d+\/\d+$/,cC=new Set(["px","full","screen"]),dC=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fC=/\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$/,pC=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,hC=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mC=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,On=e=>Bo(e)||cC.has(e)||uC.test(e),Gn=e=>pi(e,"length",CC),Bo=e=>!!e&&!Number.isNaN(Number(e)),_u=e=>pi(e,"number",Bo),ji=e=>!!e&&Number.isInteger(Number(e)),gC=e=>e.endsWith("%")&&Bo(e.slice(0,-1)),le=e=>iy.test(e),Xn=e=>dC.test(e),vC=new Set(["length","size","percentage"]),yC=e=>pi(e,vC,ay),wC=e=>pi(e,"position",ay),xC=new Set(["image","url"]),EC=e=>pi(e,xC,TC),SC=e=>pi(e,"",bC),Fi=()=>!0,pi=(e,t,n)=>{const r=iy.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},CC=e=>fC.test(e)&&!pC.test(e),ay=()=>!1,bC=e=>hC.test(e),TC=e=>mC.test(e),PC=()=>{const e=Te("colors"),t=Te("spacing"),n=Te("blur"),r=Te("brightness"),o=Te("borderColor"),i=Te("borderRadius"),a=Te("borderSpacing"),s=Te("borderWidth"),l=Te("contrast"),u=Te("grayscale"),c=Te("hueRotate"),d=Te("invert"),p=Te("gap"),f=Te("gradientColorStops"),w=Te("gradientColorStopPositions"),m=Te("inset"),x=Te("margin"),g=Te("opacity"),h=Te("padding"),v=Te("saturate"),S=Te("scale"),P=Te("sepia"),R=Te("skew"),E=Te("space"),_=Te("translate"),M=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",le,t],z=()=>[le,t],X=()=>["",On,Gn],F=()=>["auto",Bo,le],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>["start","end","center","between","around","evenly","stretch"],L=()=>["","0",le],U=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[Bo,le];return{cacheSize:500,separator:":",theme:{colors:[Fi],spacing:[On,Gn],blur:["none","",Xn,le],brightness:Z(),borderColor:[e],borderRadius:["none","","full",Xn,le],borderSpacing:z(),borderWidth:X(),contrast:Z(),grayscale:L(),hueRotate:Z(),invert:L(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[gC,Gn],inset:H(),margin:H(),opacity:Z(),padding:z(),saturate:Z(),scale:Z(),sepia:L(),skew:Z(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",le]}],container:["container"],columns:[{columns:[Xn]}],"break-after":[{"break-after":U()}],"break-before":[{"break-before":U()}],"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:[...ne(),le]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],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",ji,le]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",le]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",ji,le]}],"grid-cols":[{"grid-cols":[Fi]}],"col-start-end":[{col:["auto",{span:["full",ji,le]},le]}],"col-start":[{"col-start":F()}],"col-end":[{"col-end":F()}],"grid-rows":[{"grid-rows":[Fi]}],"row-start-end":[{row:["auto",{span:[ji,le]},le]}],"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",le]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",le]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[h]}],px:[{px:[h]}],py:[{py:[h]}],ps:[{ps:[h]}],pe:[{pe:[h]}],pt:[{pt:[h]}],pr:[{pr:[h]}],pb:[{pb:[h]}],pl:[{pl:[h]}],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":[E]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[E]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",le,t]}],"min-w":[{"min-w":[le,t,"min","max","fit"]}],"max-w":[{"max-w":[le,t,"none","full","min","max","fit","prose",{screen:[Xn]},Xn]}],h:[{h:[le,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[le,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[le,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[le,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Xn,Gn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",_u]}],"font-family":[{font:[Fi]}],"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",le]}],"line-clamp":[{"line-clamp":["none",Bo,_u]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",On,le]}],"list-image":[{"list-image":["none",le]}],"list-style-type":[{list:["none","disc","decimal",le]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",On,Gn]}],"underline-offset":[{"underline-offset":["auto",On,le]}],"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:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",le]}],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",le]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),wC]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",yC]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},EC]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}
vendor: 5,182 bytes, line 124
124],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[f]}],"gradient-via":[{via:[f]}],"gradient-to":[{to:[f]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[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":[g]}],"border-style":[{border:[...q(),"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":[g]}],"divide-style":[{divide:q()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[On,le]}],"outline-w":[{outline:[On,Gn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[On,Gn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Xn,SC]}],"shadow-color":[{shadow:[Fi]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...ee(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":ee()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Xn,le]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[P]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[P]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",le]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",le]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",le]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[ji,le]}],"translate-x":[{"translate-x":[_]}],"translate-y":[{"translate-y":[_]}],"skew-x":[{"skew-x":[R]}],"skew-y":[{"skew-y":[R]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",le]}],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",le]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"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"]}
vendor: 4,488 bytes, line 124
124],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",le]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[On,Gn,_u]}],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"]}}},kC=lC(PC);function Lr(...e){return kC(Jv(e))}const RC=$S,sy=y.forwardRef(({className:e,...t},n)=>T.jsx(Wv,{ref:n,className:Lr("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}));sy.displayName=Wv.displayName;const _C=Zv("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"}}),ly=y.forwardRef(({className:e,variant:t,...n},r)=>T.jsx(Qv,{ref:r,className:Lr(_C({variant:t}),e),...n}));ly.displayName=Qv.displayName;const NC=y.forwardRef(({className:e,...t},n)=>T.jsx(Gv,{ref:n,className:Lr("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}));
124NC.displayName=Gv.displayName;const uy=y.forwardRef(({className:e,...t},n)=>T.jsx(Xv,{ref:n,className:Lr("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:T.jsx(ty,{className:"h-4 w-4"})}));uy.displayName=Xv.displayName;const cy=y.forwardRef(({className:e,...t},n)=>T.jsx(Kv,{ref:n,className:Lr("text-sm font-semibold",e),...t}));cy.displayName=Kv.displayName;const dy=y.forwardRef(({className:e,...t},n)=>T.jsx(Yv,{ref:n,className:Lr("text-sm opacity-90",e),...t}));dy.displayName=Yv.displayName;function AC(){const{toasts:e}=KE();return T.jsxs(RC,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return T.jsxs(ly,{...i,children:[T.jsxs("div",{className:"grid gap-1",children:[n&&T.jsx(cy,{children:n}),r&&T.jsx(dy,{children:r})]}),o,T.jsx(uy,{})]},t)}),T.jsx(sy,{})]})}var dh=["light","dark"],OC="(prefers-color-scheme: dark)",LC=y.createContext(void 0),MC={setTheme:e=>{},themes:[]},DC=()=>{var e;return(e=y.useContext(LC))!=null?e:MC};y.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:a,attrs:s,nonce:l})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${s.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?dh.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",p=(w,m=!1,x=!0)=>{let g=a?a[w]:w,h=m?w+"|| ''":`'${g}'`,v="";return o&&x&&!m&&dh.includes(w)&&(v+=`d.style.colorScheme = '${w}';`),n==="class"?m||g?v+=`c.add(${h})`:v+="null":g&&(v+=`d[s](n,${h})`),v},f=e?`!function(){${c}${p(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${OC}',m=window.matchMedia(t);if(m.media!==t||m.matches){${p("dark")}}else{${p("light")}}}else if(e){${a?`var x=${JSON.stringify(a)};`:""}${p(a?"x[e]":"e",!0)}}${u?"":"else{"+p(i,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${a?`var x=${JSON.stringify(a)};`:""}${p(a?"x[e]":"e",!0)}}else{${p(i,!1,!1)};}${d}}catch(t){}}();`;return y.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:f}})});var IC=e=>{switch(e){case"success":return zC;case"info":return UC;case"warning":return $C;case"error":return BC;default:return null}},jC=Array(12).fill(0),FC=({visible:e,className:t})=>I.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},I.createElement("div",{className:"sonner-spinner"},jC.map((n,r)=>I.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),zC=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.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"})),$C=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},I.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"})),UC=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.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"})),BC=I.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},I.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"})),VC=I.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"},I.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),I.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),HC=()=>
124{let[e,t]=I.useState(document.hidden);return I.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Ic=1,WC=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,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Ic++,i=this.toasts.find(s=>s.id===o),a=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(s=>s.id===o?(this.publish({...s,...e,id:o,title:n}),{...s,...e,id:o,dismissible:a,title:n}):s):this.addToast({title:n,...r,dismissible:a,id:o}),o},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)=>
124this.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(),o=n!==void 0,i,a=r.then(async l=>{if(i=["resolve",l],I.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(KC(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),s=()=>new Promise((l,u)=>a.then(()=>i[0]==="reject"?u(i[1]):l(i[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)||Ic++;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}},gt=new WC,QC=(e,t)=>{let n=(t==null?void 0:t.id)||Ic++;return gt.addToast({title:e,...t,id:n}),n},KC=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",YC=QC,GC=()=>gt.toasts,XC=()=>gt.getActiveToasts(),RP=Object.assign(YC,{success:gt.success,info:gt.info,warning:gt.warning,error:gt.error,custom:gt.custom,message:gt.message,promise:gt.promise,dismiss:gt.dismiss,loading:gt.loading},{getHistory:GC,getToasts:XC});function qC(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))}qC(`: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;
124left: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}
124: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%);
124--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%)}
125`);function ds(e){return e.label!==void 0}var JC=3,ZC="32px",eb="16px",fh=4e3,tb=356,nb=14,rb=20,ob=200;function Kt(...e){return e.filter(Boolean).join(" ")}function ib(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var ab=e=>{var t,n,r,o,i,a,s,l,u,c,d;let{invert:p,toast:f,unstyled:w,interacting:m,setHeights:x,visibleToasts:g,heights:h,index:v,toasts:S,expanded:P,removeToast:R,defaultRichColors:E,closeButton:_,style:M,cancelButtonStyle:O,actionButtonStyle:H,className:z="",descriptionClassName:X="",duration:F,position:ne,gap:q,loadingIcon:ee,expandByDefault:N,classNames:L,icons:U,closeButtonAriaLabel:Z="Close toast",pauseWhenPageIsHidden:W}
125=e,[oe,ae]=I.useState(null),[me,Re]=I.useState(null),[ue,Ht]=I.useState(!1),[ln,Tn]=I.useState(!1),[un,Me]=I.useState(!1),[st,Mr]=I.useState(!1),[gi,Mt]=I.useState(!1),[vi,Dr]=I.useState(0),[Pn,Ia]=I.useState(0),Ir=I.useRef(f.duration||F||fh),ja=I.useRef(null),kn=I.useRef(null),Rn=v===0,jr=v+1<=g,lt=f.type,cn=f.dismissible!==!1,dn=f.className||"",Wt=f.descriptionClassName||"",Fr=I.useMemo(()=>h.findIndex(re=>re.toastId===f.id)||0,[h,f.id]),mo=I.useMemo(()=>{var re;return(re=f.closeButton)!=null?re:_},[f.closeButton,_]),Fa=I.useMemo(()=>f.duration||F||fh,[f.duration,F]),Dt=I.useRef(0),_n=I.useRef(0),yi=I.useRef(0),Nn=I.useRef(null),[Vl,za]=ne.split("-"),zr=I.useMemo(()=>h.reduce((re,ye,xe)=>xe>=Fr?re:re+ye.height,0),[h,Fr]),wi=HC(),xi=f.invert||p,$r=lt==="loading";_n.current=I.useMemo(()=>Fr*q+zr,[Fr,zr]),I.useEffect(()=>{Ir.current=Fa},[Fa]),I.useEffect(()=>{Ht(!0)},[]),I.useEffect(()=>{let re=kn.current;if(re){let ye=re.getBoundingClientRect().height;return Ia(ye),x(xe=>[{toastId:f.id,height:ye,position:f.position},...xe]),()=>x(xe=>xe.filter(et=>et.toastId!==f.id))}},[x,f.id]),I.useLayoutEffect(()=>{if(!ue)return;let re=kn.current,ye=re.style.height;re.style.height="auto";let xe=re.getBoundingClientRect().height;re.style.height=ye,Ia(xe),x(et=>et.find(Ct=>Ct.toastId===f.id)?et.map(Ct=>Ct.toastId===f.id?{...Ct,height:xe}:Ct):[{toastId:f.id,height:xe,position:f.position},...et])},[ue,f.title,f.description,x,f.id]);let fn=I.useCallback(()=>{Tn(!0),Dr(_n.current),x(re=>re.filter(ye=>ye.toastId!==f.id)),setTimeout(()=>{R(f)},ob)},[f,R,x,_n]);I.useEffect(()=>{if(f.promise&&lt==="loading"||f.duration===1/0||f.type==="loading")return;let re;return P||m||W&&wi?(()=>{if(yi.current<Dt.current){let ye=new Date().getTime()-Dt.current;Ir.current=Ir.current-ye}yi.current=new Date().getTime()})():Ir.current!==1/0&&(Dt.current=new Date().getTime(),re=setTimeout(()=>{var ye;(ye=f.onAutoClose)==null||ye.call(f,f),fn()},Ir.current)),()=>clearTimeout(re)},[P,m,f,lt,W,wi,fn]),I.useEffect(()=>{f.delete&&fn()},[fn,f.delete]);function $a(){var re,ye,xe;return U!=null&&U.loading?I.createElement("div",{className:Kt(L==null?void 0:L.loader,(re=f==null?void 0:f.classNames)==null?void 0:re.loader,"sonner-loader"),"data-visible":lt==="loading"},U.loading):ee?I.createElement("div",{className:Kt(L==null?void 0:L.loader,(ye=f==null?void 0:f.classNames)==null?void 0:ye.loader,"sonner-loader"),"data-visible":lt==="loading"},ee):I.createElement(FC,{className:Kt(L==null?void 0:L.loader,(xe=f==null?void 0:f.classNames)==null?void 0:xe.loader),visible:lt==="loading"})}return I.createElement("li",{tabIndex:0,ref:kn,className:Kt(z,dn,L==null?void 0:L.toast,(t=f==null?void 0:f.classNames)==null?void 0:t.toast,L==null?void 0:L.default,L==null?void 0:L[lt],(n=f==null?void 0:f.classNames)==null?void 0:n[lt]),"data-sonner-toast":"","data-rich-colors":(r=f.richColors)!=null?r:E,"data-styled":!(f.jsx||f.unstyled||w),"data-mounted":ue,"data-promise":!!f.promise,"data-swiped":gi,"data-removed":ln,"data-visible":jr,"data-y-position":Vl,"data-x-position":za,"data-index":v,"data-front":Rn,"data-swiping":un,"data-dismissible":cn,"data-type":lt,"data-invert":xi,"data-swipe-out":st,"data-swipe-direction":me,"data-expanded":!!(P||N&&ue),style:{"--index":v,"--toasts-before":v,"--z-index":S.length-v,"--offset":`${ln?vi:_n.current}px`,"--initial-height":N?"auto":`${Pn}px`,...M,...f.style},onDragEnd:()=>{Me(!1),ae(null),Nn.current=null},onPointerDown:re=>{$r||!cn||(ja.current=new Date,Dr(_n.current),re.target.setPointerCapture(re.pointerId),re.target.tagName!=="BUTTON"&&(Me(!0),Nn.current={x:re.clientX,y:re.clientY}))},onPointerUp:()=>{var re,ye,xe,et;if(st||!cn)return;Nn.current=null;let Ct=Number(((re=kn.current)==null?void 0:re.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),pn=Number(((ye=kn.current)==null?void 0:ye.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),C=new Date().getTime()-((xe=ja.current)==null?void 0:xe.getTime()),b=oe==="x"?Ct:pn,k=Math.abs(b)/C;if(Math.abs(b)>=rb||k>.11){Dr(_n.current),(et=f.onDismiss)==null||et.call(f,f),Re(oe==="x"?Ct>0?"right":"left":pn>0?"down":"up"),fn(),Mr(!0),Mt(!1);return}Me(!1),ae(null)},onPointerMove:re=>{var ye,xe,et,Ct;if(!Nn.current||!cn||((ye=window.getSelection())==null?void 0:ye.toString().length)>0)return;let pn=re.clientY-Nn.current.y,C=re.clientX-Nn.current.x,b=(xe=e.swipeDirections)!=null?xe:ib(ne);!oe&&(Math.abs(C)>1||Math.abs(pn)>1)&&ae(Math.abs(C)>Math.abs(pn)?"x":"y");let k={x:0,y:0};oe==="y"?(b.includes("top")||b.includes("bottom"))&&(b.includes("top")&&pn<0||b.includes("bottom")&&pn>0)&&(k.y=pn):oe==="x"&&(b.includes("left")||b.includes("right"))&&(b.includes("left")&&C<0||b.includes("right")&&C>0)&&(k.x=C),(Math.abs(k.x)>0||Math.abs(k.y)>0)&&Mt(!0),(et=kn.current)==null||et.style.setProperty("--swipe-amount-x",`${k.x}px`),(Ct=kn.current)==null||Ct.style.setProperty("--swipe-amount-y",`${k.y}px`)}},mo&&!f.jsx?I.createElement("button",{"aria-label":Z,"data-disabled":$r,"data-close-button":!0,onClick:$r||!cn?()=>{}:()=>{var re;fn(),(re=f.onDismiss)==null||re.call(f,f)},className:Kt(L==null?void 0:L.closeButton,(o=f==null?void 0:f.classNames)==null?void 0:o.closeButton)},(i=U==null?void 0:U.close)!=null?i:VC):null,f.jsx||y.isValidElement(f.title)?f.jsx?f.jsx:typeof f.title=="function"?f.title():f.title:I.createElement(I.Fragment,null,lt||f.icon||f.promise?I.createElement("div",{"data-icon":"",className:Kt(L==null?void 0:L.icon,(a=f==null?void 0:f.classNames)==null?void 0:a.icon)},f.promise||f.type==="loading"&&!f.icon?f.icon||$a():null,f.type!=="loading"?f.icon||(U==null?void 0:U[lt])||IC(lt):null):null,I.createElement("div",{"data-content":"",className:Kt(L==null?void 0:L.content,(s=f==null?void 0:f.classNames)==null?void 0:s.content)},I.createElement("div",{"data-title":"",className:Kt(L==null?void 0:L.title,(l=f==null?void 0:f.classNames)==null?void 0:l.title)},typeof f.title=="function"?f.title():f.title),f.description?I.createElement("div",{"data-description":"",className:Kt(X,Wt,L==null?void 0:L.description,(u=f==null?void 0:f.classNames)==null?void 0:u.description)},typeof f.description=="function"?f.description():f.description):null),y.isValidElement(f.cancel)?f.cancel:f.cancel&&ds(f.cancel)?I.createElement("button",{"data-button":!0,"data-cancel":!0,style:f.cancelButtonStyle||O,onClick:re=>{var ye,xe;ds(f.cancel)&&cn&&((xe=(ye=f.cancel).onClick)==null||xe.call(ye,re),fn())},className:Kt(L==null?void 0:L.cancelButton,(c=f==null?void 0:f.classNames)==null?void 0:c.cancelButton)},f.cancel.label):null,y.isValidElement(f.action)?f.action:f.action&&ds(f.action)?I.createElement("button",{"data-button":!0,"data-action":!0,style:f.actionButtonStyle||H,onClick:re=>{var ye,xe;ds(f.action)&&((xe=(ye=f.action).onClick)==null||xe.call(ye,re),!re.defaultPrevented&&fn())},className:Kt(L==null?void 0:L.actionButton,(d=f==null?void 0:f.classNames)==null?void 0:d.actionButton)},f.action.label):null))};function ph(){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}
vendor: 5,080 bytes, line 125
125function sb(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,a=i?"--mobile-offset":"--offset",s=i?eb:ZC;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${a}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${a}-${u}`]=s:n[`${a}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(s)}),n}var lb=y.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:a,className:s,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:p,style:f,visibleToasts:w=JC,toastOptions:m,dir:x=ph(),gap:g=nb,loadingIcon:h,icons:v,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:P}=e,[R,E]=I.useState([]),_=I.useMemo(()=>Array.from(new Set([r].concat(R.filter(W=>W.position).map(W=>W.position)))),[R,r]),[M,O]=I.useState([]),[H,z]=I.useState(!1),[X,F]=I.useState(!1),[ne,q]=I.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),ee=I.useRef(null),N=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),L=I.useRef(null),U=I.useRef(!1),Z=I.useCallback(W=>{E(oe=>{var ae;return(ae=oe.find(me=>me.id===W.id))!=null&&ae.delete||gt.dismiss(W.id),oe.filter(({id:me})=>me!==W.id)})},[]);return I.useEffect(()=>gt.subscribe(W=>{if(W.dismiss){E(oe=>oe.map(ae=>ae.id===W.id?{...ae,delete:!0}:ae));return}setTimeout(()=>{Ud.flushSync(()=>{E(oe=>{let ae=oe.findIndex(me=>me.id===W.id);return ae!==-1?[...oe.slice(0,ae),{...oe[ae],...W},...oe.slice(ae+1)]:[W,...oe]})})})}),[]),I.useEffect(()=>{if(c!=="system"){q(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?q("dark"):q("light")),typeof window>"u")return;let W=window.matchMedia("(prefers-color-scheme: dark)");try{W.addEventListener("change",({matches:oe})=>{q(oe?"dark":"light")})}catch{W.addListener(({matches:ae})=>{try{q(ae?"dark":"light")}catch(me){console.error(me)}})}},[c]),I.useEffect(()=>{R.length<=1&&z(!1)},[R]),I.useEffect(()=>{let W=oe=>{var ae,me;o.every(Re=>oe[Re]||oe.code===Re)&&(z(!0),(ae=ee.current)==null||ae.focus()),oe.code==="Escape"&&(document.activeElement===ee.current||(me=ee.current)!=null&&me.contains(document.activeElement))&&z(!1)};return document.addEventListener("keydown",W),()=>document.removeEventListener("keydown",W)},[o]),I.useEffect(()=>{if(ee.current)return()=>{L.current&&(L.current.focus({preventScroll:!0}),L.current=null,U.current=!1)}},[ee.current]),I.createElement("section",{ref:t,"aria-label":`${S} ${N}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},_.map((W,oe)=>{var ae;let[me,Re]=W.split("-");return R.length?I.createElement("ol",{key:W,dir:x==="auto"?ph():x,tabIndex:-1,ref:ee,className:s,"data-sonner-toaster":!0,"data-theme":ne,"data-y-position":me,"data-lifted":H&&R.length>1&&!i,"data-x-position":Re,style:{"--front-toast-height":`${((ae=M[0])==null?void 0:ae.height)||0}px`,"--width":`${tb}px`,"--gap":`${g}px`,...f,...sb(l,u)},onBlur:ue=>{U.current&&!ue.currentTarget.contains(ue.relatedTarget)&&(U.current=!1,L.current&&(L.current.focus({preventScroll:!0}),L.current=null))},onFocus:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||U.current||(U.current=!0,L.current=ue.relatedTarget)},onMouseEnter:()=>z(!0),onMouseMove:()=>z(!0),onMouseLeave:()=>{X||z(!1)},onDragEnd:()=>z(!1),onPointerDown:ue=>{ue.target instanceof HTMLElement&&ue.target.dataset.dismissible==="false"||F(!0)},onPointerUp:()=>F(!1)},R.filter(ue=>!ue.position&&oe===0||ue.position===W).map((ue,Ht)=>{var ln,Tn;return I.createElement(ab,{key:ue.id,icons:v,index:Ht,toast:ue,defaultRichColors:d,duration:(ln=m==null?void 0:m.duration)!=null?ln:p,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:n,visibleToasts:w,closeButton:(Tn=m==null?void 0:m.closeButton)!=null?Tn:a,interacting:X,position:W,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:Z,toasts:R.filter(un=>un.position==ue.position),heights:M.filter(un=>un.position==ue.position),setHeights:O,expandByDefault:i,gap:g,loadingIcon:h,expanded:H,pauseWhenPageIsHidden:P,swipeDirections:e.swipeDirections})})):null}))});const ub=({...e})=>{const{theme:t="system"}=DC();return T.jsx(lb,{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})},cb=["top","right","bottom","left"],br=Math.min,Pt=Math.max,dl=Math.round,fs=Math.floor,Tr=e=>({x:e,y:e}
vendor: 2,282 bytes, line 125
125),db={left:"right",right:"left",bottom:"top",top:"bottom"},fb={start:"end",end:"start"};function jc(e,t,n){return Pt(e,br(t,n))}function Wn(e,t){return typeof e=="function"?e(t):e}function Qn(e){return e.split("-")[0]}function hi(e){return e.split("-")[1]}function ef(e){return e==="x"?"y":"x"}function tf(e){return e==="y"?"height":"width"}function Pr(e){return["top","bottom"].includes(Qn(e))?"y":"x"}function nf(e){return ef(Pr(e))}function pb(e,t,n){n===void 0&&(n=!1);const r=hi(e),o=nf(e),i=tf(o);let a=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=fl(a)),[a,fl(a)]}function hb(e){const t=fl(e);return[Fc(e),t,Fc(t)]}function Fc(e){return e.replace(/start|end/g,t=>fb[t])}function mb(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}function gb(e,t,n,r){const o=hi(e);let i=mb(Qn(e),n==="start",r);return o&&(i=i.map(a=>a+"-"+o),t&&(i=i.concat(i.map(Fc)))),i}function fl(e){return e.replace(/left|right|bottom|top/g,t=>db[t])}function vb(e){return{top:0,right:0,bottom:0,left:0,...e}}function fy(e){return typeof e!="number"?vb(e):{top:e,right:e,bottom:e,left:e}}function pl(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function hh(e,t,n){let{reference:r,floating:o}=e;const i=Pr(t),a=nf(t),s=tf(a),l=Qn(t),u=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2;let f;switch(l){case"top":f={x:c,y:r.y-o.height};break;case"bottom":f={x:c,y:r.y+r.height};break;case"right":f={x:r.x+r.width,y:d};break;case"left":f={x:r.x-o.width,y:d};break;default:f={x:r.x,y:r.y}}switch(hi(t)){case"start":f[a]-=p*(n&&u?-1:1);break;case"end":f[a]+=p*(n&&u?-1:1);break}return f}const yb=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(a.isRTL==null?void 0:a.isRTL(t));let u=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=hh(u,r,l),p=r,f={},w=0;for(let m=0;m<s.length;m++){const{name:x,fn:g}=s[m],{x:h,y:v,data:S,reset:P}=await g({x:c,y:d,initialPlacement:r,placement:p,strategy:o,middlewareData:f,re
vendor: 9,392 bytes, line 125
125cts:u,platform:a,elements:{reference:e,floating:t}});c=h??c,d=v??d,f={...f,[x]:{...f[x],...S}},P&&w<=50&&(w++,typeof P=="object"&&(P.placement&&(p=P.placement),P.rects&&(u=P.rects===!0?await a.getElementRects({reference:e,floating:t,strategy:o}):P.rects),{x:c,y:d}=hh(u,p,l)),m=-1)}return{x:c,y:d,placement:p,strategy:o,middlewareData:f}};async function xa(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=Wn(t,e),w=fy(f),x=s[p?d==="floating"?"reference":"floating":d],g=pl(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(x)))==null||n?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(s.floating)),boundary:u,rootBoundary:c,strategy:l})),h=d==="floating"?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(s.floating)),S=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},P=pl(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:h,offsetParent:v,strategy:l}):h);return{top:(g.top-P.top+w.top)/S.y,bottom:(P.bottom-g.bottom+w.bottom)/S.y,left:(g.left-P.left+w.left)/S.x,right:(P.right-g.right+w.right)/S.x}}const wb=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:u,padding:c=0}=Wn(e,t)||{};if(u==null)return{};const d=fy(c),p={x:n,y:r},f=nf(o),w=tf(f),m=await a.getDimensions(u),x=f==="y",g=x?"top":"left",h=x?"bottom":"right",v=x?"clientHeight":"clientWidth",S=i.reference[w]+i.reference[f]-p[f]-i.floating[w],P=p[f]-i.reference[f],R=await(a.getOffsetParent==null?void 0:a.getOffsetParent(u));let E=R?R[v]:0;(!E||!await(a.isElement==null?void 0:a.isElement(R)))&&(E=s.floating[v]||i.floating[w]);const _=S/2-P/2,M=E/2-m[w]/2-1,O=br(d[g],M),H=br(d[h],M),z=O,X=E-m[w]-H,F=E/2-m[w]/2+_,ne=jc(z,F,X),q=!l.arrow&&hi(o)!=null&&F!==ne&&i.reference[w]/2-(F<z?O:H)-m[w]/2<0,ee=q?F<z?F-z:F-X:0;return{[f]:p[f]+ee,data:{[f]:ne,centerOffset:F-ne-ee,...q&&{alignmentOffset:ee}},reset:q}}}),xb=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:m=!0,...x}=Wn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=Qn(o),h=Pr(s),v=Qn(s)===s,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),P=p||(v||!m?[fl(s)]:hb(s)),R=w!=="none";!p&&R&&P.push(...gb(s,m,w,S));const E=[s,...P],_=await xa(t,x),M=[];let O=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&M.push(_[g]),d){const F=pb(o,a,S);M.push(_[F[0]],_[F[1]])}if(O=[...O,{placement:o,overflows:M}],!M.every(F=>F<=0)){var H,z;const F=(((H=i.flip)==null?void 0:H.index)||0)+1,ne=E[F];if(ne)return{data:{index:F,overflows:O},reset:{placement:ne}};let q=(z=O.filter(ee=>ee.overflows[0]<=0).sort((ee,N)=>ee.overflows[1]-N.overflows[1])[0])==null?void 0:z.placement;if(!q)switch(f){case"bestFit":{var X;const ee=(X=O.filter(N=>{if(R){const L=Pr(N.placement);return L===h||L==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(L=>L>0).reduce((L,U)=>L+U,0)]).sort((N,L)=>N[1]-L[1])[0])==null?void 0:X[0];ee&&(q=ee);break}case"initialPlacement":q=s;break}if(o!==q)return{reset:{placement:q}}}return{}}}};function mh(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gh(e){return cb.some(t=>e[t]>=0)}const Eb=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=Wn(e,t);switch(r){case"referenceHidden":{const i=await xa(t,{...o,elementContext:"reference"}),a=mh(i,n.reference);return{data:{referenceHiddenOffsets:a,referenceHidden:gh(a)}}}case"escaped":{const i=await xa(t,{...o,altBoundary:!0}),a=mh(i,n.floating);return{data:{escapedOffsets:a,escaped:gh(a)}}}default:return{}}}}};async function Sb(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),a=Qn(n),s=hi(n),l=Pr(n)==="y",u=["left","top"].includes(a)?-1:1,c=i&&l?-1:1,d=Wn(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:w}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof w=="number"&&(f=s==="end"?w*-1:w),l?{x:f*c,y:p*u}:{x:p*u,y:f*c}}const Cb=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await Sb(t,e);return a===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},bb=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:x=>{let{x:g,y:h}=x;return{x:g,y:h}}},...l}=Wn(e,t),u={x:n,y:r},c=await xa(t,l),d=Pr(Qn(o)),p=ef(d);let f=u[p],w=u[d];if(i){const x=p==="y"?"top":"left",g=p==="y"?"bottom":"right",h=f+c[x],v=f-c[g];f=jc(h,f,v)}if(a){const x=d==="y"?"top":"left",g=d==="y"?"bottom":"right",h=w+c[x],v=w-c[g];w=jc(h,w,v)}const m=s.fn({...t,[p]:f,[d]:w});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[p]:i,[d]:a}}}}}},Tb=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:a}=t,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=Wn(e,t),c={x:n,y:r},d=Pr(o),p=ef(d);let f=c[p],w=c[d];const m=Wn(s,t),x=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const v=p==="y"?"height":"width",S=i.reference[p]-i.floating[v]+x.mainAxis,P=i.reference[p]+i.reference[v]-x.mainAxis;f<S?f=S:f>P&&(f=P)}if(u){var g,h;const v=p==="y"?"width":"height",S=["top","left"].includes(Qn(o)),P=i.reference[d]-i.floating[v]+(S&&((g=a.offset)==null?void 0:g[d])||0)+(S?0:x.crossAxis),R=i.reference[d]+i.reference[v]+(S?0:((h=a.offset)==null?void 0:h[d])||0)-(S?x.crossAxis:0);w<P?w=P:w>R&&(w=R)}return{[p]:f,[d]:w}}}},Pb=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:s}=t,{apply:l=()=>{},...u}=Wn(e,t),c=await xa(t,u),d=Qn(o),p=hi(o),f=Pr(o)==="y",{width:w,height:m}=i.floating;let x,g;d==="top"||d==="bottom"?(x=d,g=p===(await(a.isRTL==null?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(g=d,x=p==="end"?"top":"bottom");const h=m-c.top-c.bottom,v=w-c.left-c.right,S=br(m-c[x],h),P=br(w-c[g],v),R=!t.middlewareData.shift;let E=S,_=P;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(_=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(E=h),R&&!p){const O=Pt(c.left,0),H=Pt(c.right,0),z=Pt(c.top,0),X=Pt(c.bottom,0);f?_=w-2*(O!==0||H!==0?O+H:Pt(c.left,c.right)):E=m-2*(z!==0||X!==0?z+X:Pt(c.top,c.bottom))}await l({...t,availableWidth:_,availableHeight:E});const M=await a.getDimensions(s.floating);return w!==M.width||m!==M.height?{reset:{rects:!0}}:{}}}};function Il(){return typeof window<"u"}function mi(e){return py(e)?(e.nodeName||"").toLowerCase():"#document"}function Nt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function bn(e){var t;return(t=(py(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function py(e){return Il()?e instanceof Node||e instanceof Nt(e).Node:!1}function an(e){return Il()?e instanceof Element||e instanceof Nt(e).Element:!1}function Cn(e){return Il()?e instanceof HTMLElement||e instanceof Nt(e).HTMLElement:!1}function vh(e){return!Il()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Nt(e).ShadowRoot}function Da(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=sn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function kb(e){return["table","td","th"].includes(mi(e))}function jl(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function rf(e){const t=of(),n=an(e)?sn(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Rb(e){let t=kr(e);for(;Cn(t)&&!ai(t);){if(rf(t))return t;if(jl(t))return null;t=kr(t)}return null}function of(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ai(e){return["html","body","#document"].includes(mi(e))}function sn(e){return Nt(e).getComputedStyle(e)}function Fl(e){return an(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function kr(e){if(mi(e)==="html")return e;const t=e.assignedSlot||e.parentNode||vh(e)&&e.host||bn(e);return vh(t)?t.host:t}function hy(e){const t=kr(e);return ai(t)?e.ownerDocument?e.ownerDocument.body:e.body:Cn(t)&&Da(t)?t:hy(t)}function Ea(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=hy(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),a=Nt(o);if(i){const s=zc(a);
vendor: 5,525 bytes, line 125
125return t.concat(a,a.visualViewport||[],Da(o)?o:[],s&&n?Ea(s):[])}return t.concat(o,Ea(o,[],n))}function zc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function my(e){const t=sn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Cn(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=dl(n)!==i||dl(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function af(e){return an(e)?e:e.contextElement}function Vo(e){const t=af(e);if(!Cn(t))return Tr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=my(t);let a=(i?dl(n.width):n.width)/r,s=(i?dl(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const _b=Tr(0);function gy(e){const t=Nt(e);return!of()||!t.visualViewport?_b:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Nb(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Nt(e)?!1:t}function uo(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=af(e);let a=Tr(1);t&&(r?an(r)&&(a=Vo(r)):a=Vo(e));const s=Nb(i,n,r)?gy(i):Tr(0);let l=(o.left+s.x)/a.x,u=(o.top+s.y)/a.y,c=o.width/a.x,d=o.height/a.y;if(i){const p=Nt(i),f=r&&an(r)?Nt(r):r;let w=p,m=zc(w);for(;m&&r&&f!==w;){const x=Vo(m),g=m.getBoundingClientRect(),h=sn(m),v=g.left+(m.clientLeft+parseFloat(h.paddingLeft))*x.x,S=g.top+(m.clientTop+parseFloat(h.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,d*=x.y,l+=v,u+=S,w=Nt(m),m=zc(w)}}return pl({width:c,height:d,x:l,y:u})}function Ab(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",a=bn(r),s=t?jl(t.floating):!1;if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},u=Tr(1);const c=Tr(0),d=Cn(r);if((d||!d&&!i)&&((mi(r)!=="body"||Da(a))&&(l=Fl(r)),Cn(r))){const p=uo(r);u=Vo(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function Ob(e){return Array.from(e.getClientRects())}function $c(e,t){const n=Fl(e).scrollLeft;return t?t.left+n:uo(bn(e)).left+n}function Lb(e){const t=bn(e),n=Fl(e),r=e.ownerDocument.body,o=Pt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Pt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+$c(e);const s=-n.scrollTop;return sn(r).direction==="rtl"&&(a+=Pt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}function Mb(e,t){const n=Nt(e),r=bn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const u=of();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}function Db(e,t){const n=uo(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Cn(e)?Vo(e):Tr(1),a=e.clientWidth*i.x,s=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:a,height:s,x:l,y:u}}function yh(e,t,n){let r;if(t==="viewport")r=Mb(e,n);else if(t==="document")r=Lb(bn(e));else if(an(t))r=Db(t,n);else{const o=gy(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return pl(r)}function vy(e,t){const n=kr(e);return n===t||!an(n)||ai(n)?!1:sn(n).position==="fixed"||vy(n,t)}function Ib(e,t){const n=t.get(e);if(n)return n;let r=Ea(e,[],!1).filter(s=>an(s)&&mi(s)!=="body"),o=null;const i=sn(e).position==="fixed";let a=i?kr(e):e;for(;an(a)&&!ai(a);){const s=sn(a),l=rf(a);!l&&s.position==="fixed"&&(o=null),(i?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||Da(a)&&!l&&vy(e,a))?r=r.filter(c=>c!==a):o=s,a=kr(a)}return t.set(e,r),r}function jb(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a=[...n==="clippingAncestors"?jl(t)?[]:Ib(t,this._c):[].concat(n),r],s=a[0],l=a.reduce((u,c)=>{const d=yh(t,c,o);return u.top=Pt(d.top,u.top),u.right=br(d.right,u.right),u.bottom=br(d.bottom,u.bottom),u.left=Pt(d.left,u.left),u},yh(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Fb(e){const{width:t,height:n}=my(e);return{width:t,height:n}}function zb(e,t,n){const r=Cn(t),o=bn(t),i=n==="fixed",a=uo(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Tr(0);if(r||!r&&!i)if((mi(t)!=="body"||Da(o))&&(s=Fl(t)),r){const f=uo(t,!0,i,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else o&&(l.x=$c(o));let u=0,c=0;if(o&&!r&&!i){const f=o.getBoundingClientRect();c=f.top+s.scrollTop,u=f.left+s.scrollLeft-$c(o,f)}const d=a.left+s.scrollLeft-l.x-u,p=a.top+s.scrollTop-l.y-c;return{x:d,y:p,width:a.width,height:a.height}}function Nu(e){return sn(e).position==="static"}function wh(e,t){if(!Cn(e)||sn(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return bn(e)===n&&(n=n.ownerDocument.body),n}function yy(e,t){const n=Nt(e);if(jl(e))return n;if(!Cn(e)){let o=kr(e);for(;o&&!ai(o);){if(an(o)&&!Nu(o))return o;o=kr(o)}return n}let r=wh(e,t);for(;r&&kb(r)&&Nu(r);)r=wh(r,t);return r&&ai(r)&&Nu(r)&&!rf(r)?n:r||Rb(e)||n}const $b=async function(e){const t=this.getOffsetParent||yy,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 Ub(e){return sn(e).direction==="rtl"}const Bb={convertOffsetParentRelativeRectToViewportRelativeRect:Ab,getDocumentElement:bn,getClippingRect:jb,getOffsetParent:yy,getElementRects:$b,getClientRects:Ob,getDimensions:Fb,getScale:Vo,isElement:an,isRTL:Ub};function Vb(e,t){let n=null,r;const o=bn(e);function i(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function a(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),i();const{left:u,top:c,width:d,height:p}=e.getBoundingClientRect();if(s||t(),!d||!p)return;
vendor: 8,135 bytes, line 125
125const f=fs(c),w=fs(o.clientWidth-(u+d)),m=fs(o.clientHeight-(c+p)),x=fs(u),h={rootMargin:-f+"px "+-w+"px "+-m+"px "+-x+"px",threshold:Pt(0,br(1,l))||1};let v=!0;function S(P){const R=P[0].intersectionRatio;if(R!==l){if(!v)return a();R?a(!1,R):r=setTimeout(()=>{a(!1,1e-7)},1e3)}v=!1}try{n=new IntersectionObserver(S,{...h,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,h)}n.observe(e)}return a(!0),i}function Hb(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=af(e),c=o||i?[...u?Ea(u):[],...Ea(t)]:[];c.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const d=u&&s?Vb(u,n):null;let p=-1,f=null;a&&(f=new ResizeObserver(g=>{let[h]=g;h&&h.target===u&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var v;(v=f)==null||v.observe(t)})),n()}),u&&!l&&f.observe(u),f.observe(t));let w,m=l?uo(e):null;l&&x();function x(){const g=uo(e);m&&(g.x!==m.x||g.y!==m.y||g.width!==m.width||g.height!==m.height)&&n(),m=g,w=requestAnimationFrame(x)}return n(),()=>{var g;c.forEach(h=>{o&&h.removeEventListener("scroll",n),i&&h.removeEventListener("resize",n)}),d==null||d(),(g=f)==null||g.disconnect(),f=null,l&&cancelAnimationFrame(w)}}const Wb=Cb,Qb=bb,Kb=xb,Yb=Pb,Gb=Eb,xh=wb,Xb=Tb,qb=(e,t,n)=>{const r=new Map,o={platform:Bb,...n},i={...o.platform,_c:r};return yb(e,t,{...o,platform:i})};var Ls=typeof document<"u"?y.useLayoutEffect:y.useEffect;function hl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!hl(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!hl(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function wy(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Eh(e,t){const n=wy(e);return Math.round(t*n)/n}function Au(e){const t=y.useRef(e);return Ls(()=>{t.current=e}),t}function Jb(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:a}={},transform:s=!0,whileElementsMounted:l,open:u}=e,[c,d]=y.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[p,f]=y.useState(r);hl(p,r)||f(r);const[w,m]=y.useState(null),[x,g]=y.useState(null),h=y.useCallback(N=>{N!==R.current&&(R.current=N,m(N))},[]),v=y.useCallback(N=>{N!==E.current&&(E.current=N,g(N))},[]),S=i||w,P=a||x,R=y.useRef(null),E=y.useRef(null),_=y.useRef(c),M=l!=null,O=Au(l),H=Au(o),z=Au(u),X=y.useCallback(()=>{if(!R.current||!E.current)return;const N={placement:t,strategy:n,middleware:p};H.current&&(N.platform=H.current),qb(R.current,E.current,N).then(L=>{const U={...L,isPositioned:z.current!==!1};F.current&&!hl(_.current,U)&&(_.current=U,Aa.flushSync(()=>{d(U)}))})},[p,t,n,H,z]);Ls(()=>{u===!1&&_.current.isPositioned&&(_.current.isPositioned=!1,d(N=>({...N,isPositioned:!1})))},[u]);const F=y.useRef(!1);Ls(()=>(F.current=!0,()=>{F.current=!1}),[]),Ls(()=>{if(S&&(R.current=S),P&&(E.current=P),S&&P){if(O.current)return O.current(S,P,X);X()}},[S,P,X,O,M]);const ne=y.useMemo(()=>({reference:R,floating:E,setReference:h,setFloating:v}),[h,v]),q=y.useMemo(()=>({reference:S,floating:P}),[S,P]),ee=y.useMemo(()=>{const N={position:n,left:0,top:0};if(!q.floating)return N;const L=Eh(q.floating,c.x),U=Eh(q.floating,c.y);return s?{...N,transform:"translate("+L+"px, "+U+"px)",...wy(q.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:U}},[n,s,q.floating,c.x,c.y]);return y.useMemo(()=>({...c,update:X,refs:ne,elements:q,floatingStyles:ee}),[c,X,ne,q,ee])}const Zb=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?xh({element:r.current,padding:o}).fn(n):{}:r?xh({element:r,padding:o}).fn(n):{}}}},eT=(e,t)=>({...Wb(e),options:[e,t]}),tT=(e,t)=>({...Qb(e),options:[e,t]}),nT=(e,t)=>({...Xb(e),options:[e,t]}),rT=(e,t)=>({...Kb(e),options:[e,t]}),oT=(e,t)=>({...Yb(e),options:[e,t]}),iT=(e,t)=>({...Gb(e),options:[e,t]}),aT=(e,t)=>({...Zb(e),options:[e,t]});var sT="Arrow",xy=y.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return T.jsx(St.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:T.jsx("polygon",{points:"0,0 30,0 15,10"})})});xy.displayName=sT;var lT=xy;function uT(e){const[t,n]=y.useState(void 0);return Cr(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let a,s;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;a=u.inlineSize,s=u.blockSize}else a=e.offsetWidth,s=e.offsetHeight;n({width:a,height:s})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var sf="Popper",[Ey,Sy]=Ll(sf),[cT,Cy]=Ey(sf),by=e=>{const{__scopePopper:t,children:n}=e,[r,o]=y.useState(null);return T.jsx(cT,{scope:t,anchor:r,onAnchorChange:o,children:n})};by.displayName=sf;var Ty="PopperAnchor",Py=y.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Cy(Ty,n),a=y.useRef(null),s=on(t,a);return y.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||a.current)}),r?null:T.jsx(St.div,{...o,ref:s})});Py.displayName=Ty;var lf="PopperContent",[dT,fT]=Ey(lf),ky=y.forwardRef((e,t)=>{var ue,Ht,ln,Tn,un,Me;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:a=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:p=!1,updatePositionStrategy:f="optimized",onPlaced:w,...m}=e,x=Cy(lf,n),[g,h]=y.useState(null),v=on(t,st=>h(st)),[S,P]=y.useState(null),R=uT(S),E=(R==null?void 0:R.width)??0,_=(R==null?void 0:R.height)??0,M=r+(i!=="center"?"-"+i:""),O=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},H=Array.isArray(u)?u:[u],z=H.length>0,X={padding:O,boundary:H.filter(hT),altBoundary:z},{refs:F,floatingStyles:ne,placement:q,isPositioned:ee,middlewareData:N}=Jb({strategy:"fixed",placement:M,whileElementsMounted:(...st)=>Hb(...st,{animationFrame:f==="always"}),elements:{reference:x.anchor},middleware:[eT({mainAxis:o+_,alignmentAxis:a}),l&&tT({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?nT():void 0,...X}),l&&rT({...X}),oT({...X,apply:({elements:st,rects:Mr,availableWidth:gi,availableHeight:Mt})=>{const{width:vi,height:Dr}=Mr.reference,Pn=st.floating.style;Pn.setProperty("--radix-popper-available-width",`${gi}px`),Pn.setProperty("--radix-popper-available-height",`${Mt}px`),Pn.setProperty("--radix-popper-anchor-width",`${vi}px`),Pn.setProperty("--radix-popper-anchor-height",`${Dr}px`)}}),S&&aT({element:S,padding:s}),mT({arrowWidth:E,arrowHeight:_}),p&&iT({strategy:"referenceHidden",...X})]}),[L,U]=Ny(q),Z=Sr(w);Cr(()=>{ee&&(Z==null||Z())},[ee,Z]);const W=(ue=N.arrow)==null?void 0:ue.x,oe=(Ht=N.arrow)==null?void 0:Ht.y,ae=((ln=N.arrow)==null?void 0:ln.centerOffset)!==0,[me,Re]=y.useState();return Cr(()=>{g&&Re(window.getComputedStyle(g).zIndex)},[g]),T.jsx("div",{ref:F.setFloating,"data-radix-popper-content-wrapper":"",style:{...ne,transform:ee?ne.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:me,"--radix-popper-transform-origin":[(Tn=N.transformOrigin)==null?void 0:Tn.x,(un=N.transformOrigin)==null?void 0:un.y].join(" "),...((Me=N.hide)==null?void 0:Me.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:T.jsx(dT,{scope:n,placedSide:L,onArrowChange:P,arrowX:W,arrowY:oe,shouldHideArrow:ae,children:T.jsx(St.div,{"data-side":L,"data-align":U,...m,ref:v,style:{...m.style,animation:ee?void 0:"none"}})})})});ky.displayName=lf;var Ry="PopperArrow",pT={top:"bottom",right:"left",bottom:"top",left:"r
125ight"},_y=y.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=fT(Ry,r),a=pT[i.placedSide];return T.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:T.jsx(lT,{...o,ref:n,style:{...o.style,display:"block"}})})});_y.displayName=Ry;function hT(e){return e!==null}var mT=e=>({name:"transformOrigin",options:e,fn(t){var x,g,h;const{placement:n,rects:r,middlewareData:o}=t,a=((x=o.arrow)==null?void 0:x.centerOffset)!==0,s=a?0:e.arrowWidth,l=a?0:e.arrowHeight,[u,c]=Ny(n),d={start:"0%",center:"50%",end:"100%"}[c],p=(((g=o.arrow)==null?void 0:g.x)??0)+s/2,f=(((h=o.arrow)==null?void 0:h.y)??0)+l/2;let w="",m="";return u==="bottom"?(w=a?d:`${p}px`,m=`${-l}px`):u==="top"?(w=a?d:`${p}px`,m=`${r.floating.height+l}px`):u==="right"?(w=`${-l}px`,m=a?d:`${f}px`):u==="left"&&(w=`${r.floating.width+l}px`,m=a?d:`${f}px`),{data:{x:w,y:m}}}});function Ny(e){const[t,n="center"]=e.split("-");return[t,n]}var _P=by,gT=Py,vT=ky,yT=_y,[zl,NP]=Ll("Tooltip",[Sy]),uf=Sy(),Ay="TooltipProvider",wT=700,Sh="tooltip.open",[xT,Oy]=zl(Ay),Ly=e=>{const{__scopeTooltip:t,delayDuration:n=wT,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,a=y.useRef(!0),s=y.useRef(!1),l=y.useRef(0);return y.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),T.jsx(xT,{scope:t,isOpenDelayedRef:a,delayDuration:n,onOpen:y.useCallback(()=>{window.clearTimeout(l.current),a.current=!1},[]),onClose:y.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>a.current=!0,r)},[r]),isPointerInTransitRef:s,onPointerInTransitChange:y.useCallback(u=>{s.current=u},[]),disableHoverableContent:o,children:i})};Ly.displayName=Ay;var My="Tooltip",[AP,$l]=zl(My),Uc="TooltipTrigger",ET=y.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=$l(Uc,n),i=Oy(Uc,n),a=uf(n),s=y.useRef(null),l=on(t,s,o.onTriggerChange),u=y.useRef(!1),c=y.useRef(!1),d=y.useCallback(()=>u.current=!1,[]);return y.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),T.jsx(gT,{asChild:!0,...a,children:T.jsx(St.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:We(e.onPointerMove,p=>{p.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:We(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:We(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:We(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:We(e.onBlur,o.onClose),onClick:We(e.onClick,o.onClose)})})});ET.displayName=Uc;var ST="TooltipPortal",[OP,CT]=zl(ST,{forceMount:void 0}),si="TooltipContent",Dy=y.forwardRef((e,t)=>{const n=CT(si,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,a=$l(si,e.__scopeTooltip);return T.jsx(Gd,{present:r||a.open,children:a.disableHoverableContent?T.jsx(Iy,{side:o,...i,ref:t}):T.jsx(bT,{side:o,...i,ref:t})})}),bT=y.forwardRef((e,t)=>{const n=$l(si,e.__scopeTooltip),r=Oy(si,e.__scopeTooltip),o=y.useRef(null),i=on(t,o),[a,s]=y.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,p=y.useCallback(()=>{s(null),d(!1)},[d]),f=y.useCallback((w,m)=>{const x=w.currentTarget,g={x:w.clientX,y:w.clientY},h=_T(g,x.getBoundingClientRect()),v=NT(g,h),S=AT(m.getBoundingClientRect()),P=LT([...v,...S]);s(P),d(!0)},[d]);return y.useEffect(()=>()=>p(),[p]),y.useEffect(()=>{if(l&&c){const w=x=>f(x,c),m=x=>f(x,l);return l.addEventListener("pointerleave",w),c.addEventListener("pointerleave",m),()=>{l.removeEventListener("pointerleave",w),c.removeEventListener("pointerleave",m)}}},[l,c,f,p]),y.useEffect(()=>{if(a){const w=m=>{const x=m.target,g={x:m.clientX,y:m.clientY},h=(l==null?void 0:l.contains(x))||(c==null?void 0:c.contains(x)),v=!OT(g,a);h?p():v&&(p(),u())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[l,c,a,u,p]),T.jsx(Iy,{...e,ref:i})}),[TT,PT]=zl(My,{isInside:!1}),kT=qE("TooltipContent"),Iy=y.forwardRef((e,t)=>
125{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:a,...s}=e,l=$l(si,n),u=uf(n),{onClose:c}=l;return y.useEffect(()=>(document.addEventListener(Sh,c),()=>document.removeEventListener(Sh,c)),[c]),y.useEffect(()=>{if(l.trigger){const d=p=>{const f=p.target;f!=null&&f.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),T.jsx(Yd,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:a,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:T.jsxs(vT,{"data-state":l.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:[T.jsx(kT,{children:r}),T.jsx(TT,{scope:n,isInside:!0,children:T.jsx(SS,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Dy.displayName=si;var jy="TooltipArrow",RT=y.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=uf(n);return PT(jy,n).isInside?null:T.jsx(yT,{...o,...r,ref:t})});RT.displayName=jy;function _T(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function NT(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 AT(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function OT(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,a=t.length-1;i<t.length;a=i++){const s=t[i],l=t[a],u=s.x,c=s.y,d=l.x,p=l.y;c>r!=p>r&&n<(d-u)*(r-c)/(p-c)+u&&(o=!o)}return o}function LT(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),MT(t)}function MT(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],a=t[t.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],a=n[n.length-2];if((i.x-a.x)*(o.y-a.y)>=(i.y-a.y)*(o.x-a.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var DT=Ly,Fy=Dy;const IT=DT,jT=y.forwardRef(({className:e,sideOffset:t=4,...n},r)=>T.jsx(Fy,{ref:r,sideOffset:t,className:Lr("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}));jT.displayName=Fy.displayName;var Ul=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(){}},Bl=typeof window>"u"||"Deno"in globalThis;function Gt(){}function FT(e,t){return typeof e=="function"?e(t):e}function zT(e){return typeof e=="number"&&e>=0&&e!==1/0}function $T(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Bc(e,t){return typeof e=="function"?e(t):e}function UT(e,t){return typeof e=="function"?e(t):e}function Ch(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a){if(r){if(t.queryHash!==cf(a,t.options))return!1}else if(!Ca(t.queryKey,a))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof s=="boolean"&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function bh(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Sa(t.options.mutationKey)!==Sa(i))return!1}else if(!Ca(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function cf(e,t){return((t==null?void 0:t.queryKeyHashFn)||Sa)(e)}function Sa(e){return JSON.stringify(e,(t,n)=>Vc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ca(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ca(e[n],t[n])):!1}function zy(e,t){if(e===t)return e;const n=Th(e)&&Th(t);if(n||Vc(e)&&Vc(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<a;c++){const d=n?c:i[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(s[d]=void 0,u++):(s[d]=zy(e[d],t[d]),s[d]===e[d]&&e[d]!==void 0&&u++)}return o===a&&u===o?e:s}return t}function Th(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Vc(e){if(!Ph(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Ph(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Ph(e){return Object.prototype.toString.call(e)==="[object Object]"}function BT(e){return new Promise(t=>{setTimeout(t,e)})}function VT(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?zy(e,t):t}function HT(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function WT(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var df=Symbol();function $y(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===df?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Gr,or,Ho,Oh,QT=(Oh=class extends Ul{constructor(){super();ve(this,Gr);ve(this,or);ve(this,Ho);ie(this,Ho,t=>{if(!Bl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){A(this,or)||this.setEventListener(A(this,Ho))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,or))==null||t.call(this),ie(this,or,void 0))}setEventListener(t){var n;ie(this,Ho,t),(n=A(this,or))==null||n.call(this),ie(this,or,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){A(this,Gr)!==t&&(ie(this,Gr,t),this.onFocus())}onFocus(){const t=this.isFocused();
vendor: 15,216 bytes, line 125
125this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof A(this,Gr)=="boolean"?A(this,Gr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Gr=new WeakMap,or=new WeakMap,Ho=new WeakMap,Oh),Uy=new QT,Wo,ir,Qo,Lh,KT=(Lh=class extends Ul{constructor(){super();ve(this,Wo,!0);ve(this,ir);ve(this,Qo);ie(this,Qo,t=>{if(!Bl&&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(){A(this,ir)||this.setEventListener(A(this,Qo))}onUnsubscribe(){var t;this.hasListeners()||((t=A(this,ir))==null||t.call(this),ie(this,ir,void 0))}setEventListener(t){var n;ie(this,Qo,t),(n=A(this,ir))==null||n.call(this),ie(this,ir,t(this.setOnline.bind(this)))}setOnline(t){A(this,Wo)!==t&&(ie(this,Wo,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return A(this,Wo)}},Wo=new WeakMap,ir=new WeakMap,Qo=new WeakMap,Lh),ml=new KT;function YT(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function GT(e){return Math.min(1e3*2**e,3e4)}function By(e){return(e??"online")==="online"?ml.isOnline():!0}var Vy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ou(e){return e instanceof Vy}function Hy(e){let t=!1,n=0,r=!1,o;const i=YT(),a=m=>{var x;r||(p(new Vy(m)),(x=e.abort)==null||x.call(e))},s=()=>{t=!0},l=()=>{t=!1},u=()=>Uy.isFocused()&&(e.networkMode==="always"||ml.isOnline())&&e.canRun(),c=()=>By(e.networkMode)&&e.canRun(),d=m=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,m),o==null||o(),i.resolve(m))},p=m=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,m),o==null||o(),i.reject(m))},f=()=>new Promise(m=>{var x;o=g=>{(r||u())&&m(g)},(x=e.onPause)==null||x.call(e)}).then(()=>{var m;o=void 0,r||(m=e.onContinue)==null||m.call(e)}),w=()=>{if(r)return;let m;const x=n===0?e.initialPromise:void 0;try{m=x??e.fn()}catch(g){m=Promise.reject(g)}Promise.resolve(m).then(d).catch(g=>{var R;if(r)return;const h=e.retry??(Bl?0:3),v=e.retryDelay??GT,S=typeof v=="function"?v(n,g):v,P=h===!0||typeof h=="number"&&n<h||typeof h=="function"&&h(n,g);if(t||!P){p(g);return}n++,(R=e.onFail)==null||R.call(e,n,g),BT(S).then(()=>u()?void 0:f()).then(()=>{t?p(g):w()})})};return{promise:i,cancel:a,continue:()=>(o==null||o(),i),cancelRetry:s,continueRetry:l,canStart:c,start:()=>(c()?w():f().then(w),i)}}var XT=e=>setTimeout(e,0);function qT(){let e=[],t=0,n=s=>{s()},r=s=>{s()},o=XT;const i=s=>{t?e.push(s):o(()=>{n(s)})},a=()=>{const s=e;e=[],s.length&&o(()=>{r(()=>{s.forEach(l=>{n(l)})})})};return{batch:s=>{let l;t++;try{l=s()}finally{t--,t||a()}return l},batchCalls:s=>(...l)=>{i(()=>{s(...l)})},schedule:i,setNotifyFunction:s=>{n=s},setBatchNotifyFunction:s=>{r=s},setScheduler:s=>{o=s}}}var dt=qT(),Xr,Mh,Wy=(Mh=class{constructor(){ve(this,Xr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),zT(this.gcTime)&&ie(this,Xr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Bl?1/0:5*60*1e3))}clearGcTimeout(){A(this,Xr)&&(clearTimeout(A(this,Xr)),ie(this,Xr,void 0))}},Xr=new WeakMap,Mh),Ko,qr,jt,Jr,ot,ba,Zr,Xt,Ln,Dh,JT=(Dh=class extends Wy{constructor(t){super();ve(this,Xt);ve(this,Ko);ve(this,qr);ve(this,jt);ve(this,Jr);ve(this,ot);ve(this,ba);ve(this,Zr);ie(this,Zr,!1),ie(this,ba,t.defaultOptions),this.setOptions(t.options),this.observers=[],ie(this,Jr,t.client),ie(this,jt,A(this,Jr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,ie(this,Ko,eP(this.options)),this.state=t.state??A(this,Ko),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=A(this,ot))==null?void 0:t.promise}setOptions(t){this.options={...A(this,ba),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&A(this,jt).remove(this)}setData(t,n){const r=VT(this.state.data,t,this.options);return tt(this,Xt,Ln).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){tt(this,Xt,Ln).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=A(this,ot))==null?void 0:r.promise;return(o=A(this,ot))==null||o.cancel(t),n?n.then(Gt).catch(Gt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(A(this,Ko))}isActive(){return this.observers.some(t=>UT(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===df||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>Bc(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:!$T(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,ot))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=A(this,ot))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),A(this,jt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(A(this,ot)&&(A(this,Zr)?A(this,ot).cancel({revert:!0}):A(this,ot).cancelRetry()),this.scheduleGc()),A(this,jt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||tt(this,Xt,Ln).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(A(this,ot))return A(this,ot).continueRetry(),A(this,ot).promise}if(t&&this.setOptions(t),!this.options.queryFn){const p=this.observers.find(f=>f.options.queryFn);p&&this.setOptions(p.options)}const r=new AbortController,o=p=>{Object.defineProperty(p,"signal",{enumerable:!0,get:()=>(ie(this,Zr,!0),r.signal)})},i=()=>{const p=$y(this.options,n),w=(()=>{const m={client:A(this,Jr),queryKey:this.queryKey,meta:this.meta};return o(m),m})();return ie(this,Zr,!1),this.options.persister?this.options.persister(p,w,this):p(w)},s=(()=>{const p={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:A(this,Jr),state:this.state,fetchFn:i};return o(p),p})();(u=this.options.behavior)==null||u.onFetch(s,this),ie(this,qr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=s.fetchOptions)==null?void 0:c.meta))&&tt(this,Xt,Ln).call(this,{type:"fetch",meta:(d=s.fetchOptions)==null?void 0:d.meta});const l=p=>{var f,w,m,x;Ou(p)&&p.silent||tt(this,Xt,Ln).call(this,{type:"error",error:p}),Ou(p)||((w=(f=A(this,jt).config).onError)==null||w.call(f,p,this),(x=(m=A(this,jt).config).onSettled)==null||x.call(m,this.state.data,p,this)),this.scheduleGc()};return ie(this,ot,Hy({initialPromise:n==null?void 0:n.initialPromise,fn:s.fetchFn,abort:r.abort.bind(r),onSuccess:p=>{var f,w,m,x;if(p===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(p)}catch(g){l(g);return}(w=(f=A(this,jt).config).onSuccess)==null||w.call(f,p,this),(x=(m=A(this,jt).config).onSettled)==null||x.call(m,p,this.state.error,this),this.scheduleGc()},onError:l,onFail:(p,f)=>{tt(this,Xt,Ln).call(this,{type:"failed",failureCount:p,error:f})},onPause:()=>{tt(this,Xt,Ln).call(this,{type:"pause"})},onContinue:()=>{tt(this,Xt,Ln).call(this,{type:"continue"})},retry:s.options.retry,retryDelay:s.options.retryDelay,networkMode:s.options.networkMode,canRun:()=>!0})),A(this,ot).start()}},Ko=new WeakMap,qr=new WeakMap,jt=new WeakMap,Jr=new WeakMap,ot=new WeakMap,ba=new WeakMap,Zr=new WeakMap,Xt=new WeakSet,Ln=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,...ZT(r.data,this.options),fetchMeta:t.meta??null};case"success":return ie(this,qr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return Ou(o)&&o.revert&&A(this,qr)?{...A(this,qr),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),dt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),A(this,jt).notify({query:this,type:"updated",action:t})})},Dh);function ZT(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:By(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function eP(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 vn,Ih,tP=(Ih=class extends Ul{constructor(t={}){super();ve(this,vn);this.config=t,ie(this,vn,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??cf(o,n);let a=this.get(i);return a||(a=new JT({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(a)),a}add(t){A(this,vn).has(t.queryHash)||(A(this,vn).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=A(this,vn).get(t.queryHash);n&&(t.destroy(),n===t&&A(this,vn).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){dt.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return A(this,vn).get(t)}getAll(){return[...A(this,vn).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ch(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Ch(t,r)):n}notify(t){dt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){dt.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){dt.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},vn=new WeakMap,Ih),yn,ut,eo,wn,Jn,jh,nP=(jh=class extends Wy{constructor(t){super();ve(this,wn);ve(this,yn);ve(this,ut);ve(this,eo);this.mutationId=t.mutationId,ie(this,ut,t.mutationCache),ie(this,yn,[]),this.state=t.state||rP(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){A(this,yn).includes(t)||(A(this,yn).push(t),this.clearGcTimeout(),A(this,ut).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){ie(this,yn,A(this,yn).filter(n=>n!==t)),this.scheduleGc(),A(this,ut).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){A(this,yn).length||(this.state.status==="pending"?this.scheduleGc():A(this,ut).remove(this))}continue(){var t;return((t=A(this,eo))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,a,s,l,u,c,d,p,f,w,m,x,g,h,v,S,P,R,E,_;const n=()=>{tt(this,wn,Jn).call(this,{type:"continue"})};ie(this,eo,Hy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,O)=>{tt(this,wn,Jn).call(this,{type:"failed",failureCount:M,error:O})},onPause:()=>{tt(this,wn,Jn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>A(this,ut).canRun(this)}));const r=this.state.status==="pending",o=!A(this,eo).canStart();try{if(r)n();else{tt(this,wn,Jn).call(this,{type:"pending",variables:t,isPaused:o}),await((a=(i=A(this,ut).config).onMutate)==null?void 0:a.call(i,t,this));const O=await((l=(s=this.options).onMutate)==null?void 0:l.call(s,t));O!==this.state.context&&tt(this,wn,Jn).call(this,{type:"pending",context:O,variables:t,isPaused:o})}const M=await A(this,eo).start();return await((c=(u=A(this,ut).config).onSuccess)==null?void 0:c.call(u,M,t,this.state.context,this)),await((p=(d=this.options).onSuccess)==null?void 0:p.call(d,M,t,this.state.context)),await((w=(f=A(this,ut).config).onSettled)==null?void 0:w.call(f,M,null,this.state.variables,this.state.context,this)),await((x=(m=this.options).onSettled)==null?void 0:x.call(m,M,null,t,this.state.context)),tt(this,wn,Jn).call(this,{type:"success",data:M}),M}catch(M){try{throw await((h=(g=A(this,ut).config).onError)==null?void 0:h.call(g,M,t,this.state.context,this)),await((S=(v=this.options).onError)==null?void 0:S.call(v,M,t,this.state.context)),await((R=(P=A(this,ut).config).onSettled)==null?void 0:R.call(P,void 0,M,this.state.variables,this.state.context,this)),await((_=(E=this.options).onSettled)==null?void 0:_.call(E,void 0,M,t,this.state.context)),M}finally{tt(this,wn,Jn).call(this,{type:"error",error:M})}}finally{A(this,ut).runNext(this)}}},yn=new WeakMap,ut=new WeakMap,eo=new WeakMap,wn=new WeakSet,Jn=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),dt.batch(()=>{A(this,yn).forEach(r=>{r.onMutationUpdate(t)}),A(this,ut).notify({mutation:this,type:"updated",action:t})})},jh);function rP(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var In,qt,Ta,Fh,oP=(Fh=class extends Ul{constructor(t={}){super();ve(this,In);ve(this,qt);ve(this,Ta);this.config=t,ie(this,In,new Set),ie(this,qt,new Map),ie(this,Ta,0)}build(t,n,r){const o=new nP({mutationCache:this,mutationId:++Va(this,Ta)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){A(this,In).add(t);const n=ps(t);
125if(typeof n=="string"){const r=A(this,qt).get(n);r?r.push(t):A(this,qt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(A(this,In).delete(t)){const n=ps(t);if(typeof n=="string"){const r=A(this,qt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&A(this,qt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ps(t);if(typeof n=="string"){const r=A(this,qt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=ps(t);if(typeof n=="string"){const o=(r=A(this,qt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){dt.batch(()=>{A(this,In).forEach(t=>{this.notify({type:"removed",mutation:t})}),A(this,In).clear(),A(this,qt).clear()})}getAll(){return Array.from(A(this,In))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>bh(n,r))}findAll(t={}){return this.getAll().filter(n=>bh(t,n))}notify(t){dt.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return dt.batch(()=>Promise.all(t.map(n=>n.continue().catch(Gt))))}},In=new WeakMap,qt=new WeakMap,Ta=new WeakMap,Fh);function ps(e){var t;return(t=e.options.scope)==null?void 0:t.id}function kh(e){return{onFetch:(t,n)=>{var c,d,p,f,w;const r=t.options,o=(p=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:p.direction,i=((f=t.state.data)==null?void 0:f.pages)||[],a=((w=t.state.data)==null?void 0:w.pageParams)||[];let s={pages:[],pageParams:[]},l=0;const u=async()=>{let m=!1;const x=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},g=$y(t.options,t.fetchOptions),h=async(v,S,P)=>{if(m)return Promise.reject();if(S==null&&v.pages.length)return Promise.resolve(v);const E=(()=>{const H={client:t.client,queryKey:t.queryKey,pageParam:S,direction:P?"backward":"forward",meta:t.options.meta};return x(H),H})(),_=await g(E),{maxPages:M}=t.options,O=P?WT:HT;return{pages:O(v.pages,_,M),pageParams:O(v.pageParams,S,M)}};if(o&&i.length){const v=o==="backward",S=v?iP:Rh,P={pages:i,pageParams:a},R=S(r,P);s=await h(P,R,v)}else{const v=e??i.length;do{const S=l===0?a[0]??r.initialPageParam:Rh(r,s);if(l>0&&S==null)break;s=await h(s,S),l++}while(l<v)}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 Rh(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 iP(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 je,ar,sr,Yo,Go,lr,Xo,qo,zh,aP=(zh=class{constructor(e={}){ve(this,je);ve(this,ar);ve(this,sr);ve(this,Yo);ve(this,Go);ve(this,lr);ve(this,Xo);ve(this,qo);ie(this,je,e.queryCache||new tP),ie(this,ar,e.mutationCache||new oP),ie(this,sr,e.defaultOptions||{}),ie(this,Yo,new Map),ie(this,Go,new Map),ie(this,lr,0)}mount(){Va(this,lr)._++,A(this,lr)===1&&(ie(this,Xo,Uy.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,je).onFocus())})),ie(this,qo,ml.subscribe(async e=>{e&&(await this.resumePausedMutations(),A(this,je).onOnline())})))}unmount(){var e,t;Va(this,lr)._--,A(this,lr)===0&&((e=A(this,Xo))==null||e.call(this),ie(this,Xo,void 0),(t=A(this,qo))==null||t.call(this),ie(this,qo,void 0))}isFetching(e){return A(this,je).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return A(this,ar).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,je).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=A(this,je).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Bc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return A(this,je).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=A(this,je).get(r.queryHash),i=o==null?void 0:o.state.data,a=FT(t,i);if(a!==void 0)return A(this,je).build(this,r).setData(a,{...n,manual:!0})}
125setQueriesData(e,t,n){return dt.batch(()=>A(this,je).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=A(this,je).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=A(this,je);dt.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=A(this,je);return dt.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=dt.batch(()=>A(this,je).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Gt).catch(Gt)}invalidateQueries(e,t={}){return dt.batch(()=>(A(this,je).findAll(e).forEach(n=>{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=dt.batch(()=>A(this,je).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Gt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Gt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=A(this,je).build(this,t);return n.isStaleByTime(Bc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Gt).catch(Gt)}fetchInfiniteQuery(e){return e.behavior=kh(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Gt).catch(Gt)}ensureInfiniteQueryData(e){return e.behavior=kh(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ml.isOnline()?A(this,ar).resumePausedMutations():Promise.resolve()}getQueryCache(){return A(this,je)}getMutationCache(){return A(this,ar)}getDefaultOptions(){return A(this,sr)}setDefaultOptions(e){ie(this,sr,e)}setQueryDefaults(e,t){A(this,Yo).set(Sa(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...A(this,Yo).values()],n={};return t.forEach(r=>{Ca(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){A(this,Go).set(Sa(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...A(this,Go).values()],n={};return t.forEach(r=>{Ca(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...A(this,sr).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=cf(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===df&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...A(this,sr).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){A(this,je).clear(),A(this,ar).clear()}},je=new WeakMap,ar=new WeakMap,sr=new WeakMap,Yo=new WeakMap,Go=new WeakMap,lr=new WeakMap,Xo=new WeakMap,qo=new WeakMap,zh),sP=y.createContext(void 0),lP=({client:e,children:t})=>(y.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),T.jsx(sP.Provider,{value:e,children:t}));const ff="rc-consent",uP=e=>{if(typeof window>"u")return;const t="granted",n={ad_storage:t,ad_user_data:t,ad_personalization:t,analytics_storage:t};typeof window.gtag=="function"?window.gtag("consent","update",n):(window.dataLayer=window.dataLayer||[],window.dataLayer.push(["consent","update",n]))},cP=()=>{try{return localStorage.getItem(ff)}catch{return null}},_h=e=>{try{localStorage.setItem(ff,e)}catch{}},Hc="rc-open-cookie-preferences",dP=()=>{const[e,t]=y.useState(!1);y.useEffect(()=>{cP()||t(!0)},[]),y.useEffect(()=>{const o=()=>{try{localStorage.removeItem(ff)}catch{}t(!0)};return window.addEventListener(Hc,o),()=>window.removeEventListener(Hc,o)},[]);const n=y.useCallback(()=>{_h("granted"),uP(),t(!1)},[]),r=y.useCallback(()=>{_h("denied"),t(!1)},[]);return e?T.jsx("div",{role:"dialog","aria-label":"Consentimiento de cookies",className:"fixed bottom-0 left-0 right-0 z-[9998] border-t border-border bg-card shadow-[0_-4px_24px_rgba(0,0,0,0.08)] motion-safe:animate-in motion-safe:slide-in-from-bottom-4",children:T.jsxs("div",{className:"max-w-[1280px] mx-auto px-6 md:px-8 py-4 flex flex-col md:flex-row md:items-center gap-4",children:[T.jsxs("p",{className:"font-inter text-sm text-foreground leading-relaxed flex-1",children:["Uso cookies propias y de Google Analytics para entender cómo se usa la web. Puedes aceptarlas o rechazarlas."," ",T.
125jsx(kt,{to:"/politica-cookies",className:"underline hover:no-underline",children:"Política de cookies"})]}),T.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 w-full md:w-auto shrink-0",children:[T.jsx("button",{type:"button",onClick:r,className:"font-inter text-sm font-semibold px-6 py-2.5 rounded-full border border-foreground text-foreground w-full sm:w-auto focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",children:"Rechazar"}),T.jsx("button",{type:"button",onClick:n,className:"font-inter text-sm font-semibold px-6 py-2.5 rounded-full border border-foreground bg-foreground text-background w-full sm:w-auto focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",children:"Aceptar"})]})]})}):null};class Nh extends y.Component{constructor(){super(...arguments);gf(this,"state",{hasError:!1})}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(n,r){console.warn(`[SafeBoundary:${this.props.name}]`,n,r==null?void 0:r.componentStack)}render(){return this.state.hasError?this.props.fallback??null:this.props.children}}const fP=new aP,pP=({children:e})=>T.jsx(lP,{client:fP,children:T.jsxs(IT,{children:[T.jsx("a",{href:"#main-content",className:"sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-[9999] focus:px-4 focus:py-2 focus:bg-foreground focus:text-background focus:rounded-lg focus:font-semibold focus:shadow-lg",children:"Saltar al contenido principal"}),T.jsxs(Nh,{name:"toasters",children:[T.jsx(AC,{}),T.jsx(ub,{})]}),e,T.jsx(Nh,{name:"cookie-banner",children:T.jsx(dP,{})})]})}),hP=()=>T.jsx(pP,{children:T.jsx(lE,{})}),mP=Zv("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Qy=y.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...o},i)=>{const a=r?GE:"button";return T.jsx(a,{className:Lr(mP({variant:t,size:n,className:e})),ref:i,...o})});Qy.displayName="Button";const gP=()=>{const[e,t]=y.useState(!1),[n,r]=y.useState(!1),[o,i]=y.useState(""),a=La(),s=a.pathname==="/";y.useEffect(()=>{const c=()=>{t(window.scrollY>20)};return window.addEventListener("scroll",c),()=>window.removeEventListener("scroll",c)},[]),y.useEffect(()=>{if(!s)return;const c={root:null,rootMargin:"-20% 0px -60% 0px",threshold:0},d=w=>{w.forEach(m=>{m.isIntersecting&&i(m.target.id)})},p=new IntersectionObserver(d,c);return["hero","trayectoria","proyectos","docencia","speaker","contacto"].forEach(w=>{const m=document.getElementById(w);m&&p.observe(m)}),()=>p.disconnect()},[s]);const l=c=>{const d=document.getElementById(c);d&&(d.scrollIntoView({behavior:"smooth",block:"start"}),r(!1))},u=[{id:"trayectoria",label:"Trayectoria"},{id:"identidad-conversacional",label:"Identidad Conversacional",isPage:!0},{id:"competencias",label:"Competencias",isPage:!0},{id:"proyectos",label:"Proyectos"},{id:"docencia",label:"Docencia"},{id:"speaker",label:"Speaker"},{id:"contacto",label:"Contacto"}];return T.jsx("header",{role:"banner",children:T.jsxs("nav",{role:"navigation","aria-label":"Navegación principal",className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${e?"bg-background/95 backdrop-blur-md shadow-sm border-b border-ink/10":"bg-background/80 md:bg-background/60 backdrop-blur-sm md:backdrop-blur-sm"}`,children:[T.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:T.jsxs("div",{className:"flex items-center justify-between h-16",children:[T.jsxs(kt,{to:"/",onClick:()=>s&&l("hero"),className:"font-display font-bold text-lg text-ink hover:opacity-80 transition-opacity",children:["Roberto Carreras",T.jsx("span",{className:"text-brand-blue ml-0.5",children:"+"})]}),T.jsx("div",{className:"hidden md:flex items-center space-x-8",children:u.map(c=>c.isPage?T.jsxs(kt,{to:`/${c.id}`,className:`font-inter text-sm transition-colors relative group ${a.pathname===`/${c.id}`?"text-ink font-semibold":"text-ink/70 hover:text-brand-blue"}`,children:[c.label,T.jsx("span",{className:`absolute -bottom-1 left-0 h-px bg-brand-blue transition-all duration-300 ${a.pathname===`/${c.id}`?"w-full":"w-0 group-hover:w-full"}`})]},c.id):T.jsxs(kt,{to:`/#${c.id}`,onClick:()=>
125{s&&l(c.id)},className:`font-inter text-sm transition-colors relative group ${o===c.id&&s?"text-ink font-semibold":"text-ink/70 hover:text-brand-blue"}`,children:[c.label,T.jsx("span",{className:`absolute -bottom-1 left-0 h-px bg-brand-blue transition-all duration-300 ${o===c.id&&s?"w-full":"w-0 group-hover:w-full"}`})]},c.id))}),T.jsx(Qy,{variant:"ghost",size:"icon",className:"md:hidden",onClick:()=>r(!n),"aria-expanded":n,"aria-controls":"mobile-menu","aria-label":n?"Cerrar menú":"Abrir menú",children:n?T.jsx(ty,{className:"h-5 w-5","aria-hidden":"true"}):T.jsx(YS,{className:"h-5 w-5","aria-hidden":"true"})})]})}),n&&T.jsx("div",{id:"mobile-menu",role:"menu",className:"md:hidden bg-background border-t border-border",children:T.jsx("div",{className:"px-4 py-4 space-y-3",children:u.map(c=>c.isPage?T.jsx(kt,{to:`/${c.id}`,role:"menuitem",onClick:()=>r(!1),className:`block w-full text-left font-inter text-sm transition-colors py-2 ${a.pathname===`/${c.id}`?"text-ink font-semibold":"text-ink/70 hover:text-brand-blue"}`,children:c.label},c.id):T.jsx(kt,{to:`/#${c.id}`,role:"menuitem",onClick:()=>{r(!1),s&&l(c.id)},className:`block w-full text-left font-inter text-sm transition-colors py-2 ${o===c.id&&s?"text-ink font-semibold":"text-ink/70 hover:text-brand-blue"}`,children:c.label},c.id))})})]})})};function Ah(e,t={}){typeof window>"u"||(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:e,...t}))}const Wc="https://robertocarreras.com",vP=`${Wc}/#person`,pf=[{label:"LinkedIn",url:"https://www.linkedin.com/in/robertocarreras/"},{label:"X",url:"https://x.com/RobertoCarreras"},{label:"Medium",url:"https://medium.com/@roberto_carreras"},{label:"Instagram",url:"https://www.instagram.com/robertocarreras/"},{label:"Substack",url:"https://substack.com/@robertocarreras"},{label:"SlideShare",url:"https://es.slideshare.net/robertocarreras"},{label:"Dialnet",url:"https://dialnet.unirioja.es/servlet/autor?codigo=2686685"},{label:"IMDb",url:"https://www.imdb.com/name/nm6048224/"},{label:"MAIN MIND",url:"https://mainmind.es"},{label:"Agencia Rascacielos",url:"https://agenciarascacielos.com"}],yP=pf.map(e=>e.url),wP="https://mainmind.info",xP={"@type":"Person","@id":vP,name:"Roberto Carreras",alternateName:"Roberto Carreras Plaza",url:Wc,image:`${Wc}/og-image.jpg`,description:"Roberto Carreras es conferenciante y formador en inteligencia artificial aplicada al marketing y al trabajo diario, y fundador de MAIN MIND, ecosistema español de innovación con IA. Investigador doctoral en Identidad Conversacional (UCLM). Con más de 20 años en marketing e innovación, fundó Voikers, compañía pionera de IA y voz adquirida por LLYC en 2023.",jobTitle:["Conferenciante y formador en Inteligencia Artificial","Fundador de MAIN MIND","Creador del marco de Identidad Conversacional"],worksFor:{"@type":"Organization",name:"MAIN MIND",url:"https://mainmind.es"},alumniOf:[{"@type":"EducationalOrganization",name:"Stanford University"},{"@type":"EducationalOrganization",name:"IESE Business School"},{"@type":"EducationalOrganization",name:"Universidad CEU San Pablo"},{"@type":"EducationalOrganization",name:"Universidad Complutense de Madrid"}],knowsAbout:["GEO","identidad conversacional","Share of AI Surface","estrategia de marca con IA","Inteligencia Artificial","IA Conversacional","Marketing Digital","Branded Content","Voice Technology","Voice AI","Innovación","Emprendimiento","Liderazgo","Marketing Conversacional","Posicionamiento en IA","GEO Generative Engine Optimization","AEO Answer Engine Optimization","LLM Seeding","Visibilidad en Buscadores de IA","IA aplicada al trabajo","Agentes de IA","Productividad con IA","ChatGPT para empresas","Formación en Inteligencia Artificial"],award:["Cannes Lions - León de Bronce","Rose d'Or - Mejor sección TV","Premio Eficacia Oro","Parlamento Europeo - 3 PYMEs más innovadoras","Top 25 Influencers de Internet en España"],founder:[{"@type":"Organization",name:"MUWOM",description:"Music Branding Company",foundingDate:"2010"},{"@type":"Organization",name:"Voikers",description:"IA Conversacional y Voice Tech",foundingDate:"2019"}],hasCredential:{"@type":"EducationalOccupationalCredential",credentialCategory:"Doctoral Candidate",about:"Identidad Conversacional e Inteligencia Artificial"},hasOccupation:[{"@type":"Occupation",name:"Conferenciante y formador en Inteligencia Artificial",occupationLocation:{"@type":"Country",name:"Spain"}}
125,{"@type":"Occupation",name:"Fundador y Director de MAIN MIND",occupationLocation:{"@type":"City",name:"Madrid"}},{"@type":"Occupation",name:"Consultor de Marketing e IA"}],affiliation:{"@type":"Organization",name:"Universidad de Castilla-La Mancha (UCLM)"},identifier:[{"@type":"PropertyValue",propertyID:"Dialnet author ID",value:"2686685"},{"@type":"PropertyValue",propertyID:"IMDb ID",value:"nm6048224"}],memberOf:[{"@type":"Organization",name:"BCMA Spain"}],address:{"@type":"PostalAddress",addressCountry:"ES"},email:"[email protected]",nationality:{"@type":"Country",name:"España"},sameAs:yP},LP={"@context":"https://schema.org",...xP},hs=e=>{var t;return((t=pf.find(n=>n.label===e))==null?void 0:t.url)??"/"},EP=()=>{const e=[{label:"Sobre mí",href:"/sobre-mi"},{label:"Trayectoria",href:"/#trayectoria"},{label:"Identidad Conversacional",href:"/identidad-conversacional"},{label:"Competencias",href:"/competencias"},{label:"Proyectos",href:"/#proyectos"},{label:"Docencia",href:"/#docencia"},{label:"Speaker",href:"/#speaker"},{label:"Contacto",href:"/#contacto"}],t=[{label:"Marketing Digital y Contenidos",href:"/marketing-digital-estrategia-contenidos"},{label:"Inteligencia Artificial y Marketing",href:"/inteligencia-artificial-marketing"},{label:"Innovación y Emprendimiento",href:"/innovacion-emprendimiento-digital"},{label:"Conferencias y Formación",href:"/conferenciante-formador-marketing-ia"},{label:"Liderazgo y Equipos",href:"/liderazgo-equipos-creativos"},{label:"Mi posicionamiento en IA 🤖",href:"/visibilidad-ia"},{label:"Curso: Visibilidad Total IA ✨",href:"/inteligencia-artificial-marketing"}],n=[{label:"MAIN MIND",url:"https://mainmind.es"},{label:"MAIN Brands",url:"https://mainbrands.es"},{label:"MIND Brands",url:"https://mindbrands.es"},{label:"Agencia Rascacielos (Cuenca)",url:"https://agenciarascacielos.com"}],r=[{name:"LinkedIn",icon:T.jsx(QS,{className:"w-5 h-5"}),url:hs("LinkedIn")},{name:"Twitter/X",icon:T.jsx(GS,{className:"w-5 h-5"}),url:hs("X")},{name:"Instagram",icon:T.jsx(WS,{className:"w-5 h-5"}),url:hs("Instagram")},{name:"Newsletter",icon:T.jsx(KS,{className:"w-5 h-5"}),url:wP},{name:"Medium",icon:T.jsx(HS,{className:"w-5 h-5"}),url:hs("Medium")}];return T.jsx("footer",{role:"contentinfo",style:{background:"hsl(var(--ink))",color:"#FAFAF5"},className:"pt-24 pb-16",children:T.jsxs("div",{className:"max-w-[1280px] mx-auto px-6 md:px-8",children:[T.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-12 md:gap-16",children:[T.jsxs("div",{children:[T.jsx("p",{className:"uppercase mb-4",style:{fontFamily:"'Poppins', sans-serif",fontWeight:900,color:"#4D8BFF",fontSize:"16px",letterSpacing:"0.08em"},children:"Navegación"}),T.jsx("nav",{"aria-label":"Enlaces del pie de página",children:T.jsx("ul",{className:"space-y-2",children:e.map(o=>T.jsx("li",{children:T.jsx(kt,{to:o.href,className:"font-inter transition-colors duration-200 hover:text-brand-blue",style:{color:"#FAFAF5",fontSize:"15px",lineHeight:1.6},children:o.label})},o.href))})})]}),T.jsxs("div",{children:[T.jsx("p",{className:"uppercase mb-4",style:{fontFamily:"'Poppins', sans-serif",fontWeight:900,color:"#4D8BFF",fontSize:"16px",letterSpacing:"0.08em"},children:"Áreas de expertise"}),T.jsx("div",{className:"flex flex-wrap gap-2",children:t.map(o=>T.jsx(kt,{to:o.href,className:"transition-colors duration-200 hover:text-brand-blue",style:{background:"rgba(250, 250, 245, 0.08)",border:"1px solid rgba(250, 250, 245, 0.16)",color:"#FAFAF5",padding:"6px 12px",fontSize:"13px",borderRadius:"999px",lineHeight:1.4},children:o.label},o.href))})]}),T.jsxs("div",{children:[T.jsx("p",{className:"uppercase mb-4",style:{fontFamily:"'Poppins', sans-serif",fontWeight:900,color:"#4D8BFF",fontSize:"16px",letterSpacing:"0.08em"},children:"Ecosistema MAIN MIND"}),T.jsx("ul",{className:"space-y-2 mb-4",children:n.map(o=>T.jsx("li",{children:T.jsx("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",className:"font-inter transition-colors duration-200 hover:text-brand-blue",style:{color:"#FAFAF5",fontSize:"15px",lineHeight:1.6},children:o.label})},o.url))}),T.jsx("p",{className:"font-inter",style:{color:"#D4CFC0",fontSize:"14px",lineHeight:1.6},children:"Ecosistema español de innovación empresarial con IA. Cuatro divisiones: +MAIN.Brands, +MIND.Brands, +Sales.MIND y +MAIN.Academy."})]}),T.jsxs("div",{children:[T.jsx("p",{className:"uppercase mb-4",style:{fontFamily:"'Poppins', sans-serif",fontWeight:900,color:"#4D8BFF",fontSize:"16px",letterSpacing:"0.08em"},children:"Conecta"}),T.jsx("div",{className:"flex flex-wrap items-center",style:{gap:"20px"},children:r.map(o=>T.jsx("a",{href:o.url,target:"_blank",rel:"noopener noreferrer",className:"transition-colors duration-200 hover:text-brand-blue inline-flex [&_svg]:w-6 [&_svg]:h-6",style:{color:"#FAFAF5"},"aria-label":o.name,onClick:()=>{o.name==="LinkedIn"&&Ah("click_linkedin",{location:"footer"}),o.name==="Newsletter"&&Ah("click_email",{location:"footer_newsletter"})},children:o.icon},o.name))})]})]}),T.jsxs("div",{style:{marginTop:"64px"},children:[T.jsx("p",{className:"uppercase mb-4",style:{fontFamily:"'Poppins', sans-serif",fontWeight:900,color:"#4D8BFF",fontSize:"16px",letterSpacing:"0.08em"},children:"Perfiles"}),T.jsx("ul",{className:"flex flex-wrap gap-x-6 gap-y-2",children:pf.map(o=>T.jsx("li",{children:T.jsx("a",{href:o.url,target:"_blank",rel:"me noopener",className:"font-inter transition-colors duration-200 hover:text-brand-blue",style:{color:"#FAFAF5",fontSize:"15px",lineHeight:1.6},children:o.label})},o.url))})]}),T.jsxs("div",{style:{marginTop:"80px",paddingTop:"32px",borderTop:"1px solid rgba(250, 250, 245, 0.12)"},children:[T.jsx("p",{className:"font-mono",style:{color:"#D4CFC0",fontSize:"13px",letterSpacing:"0.04em",lineHeight:1.6},children:"Conectando marcas y personas desde 2002"}),T.jsx("p",{className:"font-mono",style:{color:"#D4CFC0",fontSize:"13px",letterSpacing:"0.04em",lineHeight:1.6},children:"© Roberto Carreras"}),T.jsxs("p",{className:"font-mono",style:{color:"#D4CFC0",fontSize:"13px",letterSpacing:"0.04em",lineHeight:1.6,marginTop:"8px"},children:[T.jsx(kt,{to:"/aviso-legal",className:"hover:text-brand-blue transition-colors duration-200",children:"Aviso legal"})," · ",T.jsx(kt,{to:"/privacidad",className:"hover:text-brand-blue transition-colors duration-200",children:"Política de privacidad"})," · ",T.jsx(kt,{to:"/politica-cookies",className:"hover:text-brand-blue transition-colors duration-200",children:"Política de cookies"})," · ",T.jsx("button",{type:"button",onClick:()=>window.dispatchEvent(new Event(Hc)),className:"hover:text-brand-blue transition-colors duration-200 underline-offset-2",style:{color:"inherit",font:"inherit",letterSpacing:"inherit"},children:"Preferencias de cookies"})]})]}),T.jsxs("div",{style:{marginTop:"64px"},children:[T.jsxs("a",{href:"https://mainmind.es",target:"_blank",rel:"noopener noreferrer","aria-label":"MAIN MIND (abre en nueva pestaña)",className:"inline-block transition-opacity hover:opacity-90",style:{fontFamily:"'Poppins', sans-serif",fontWeight:900,fontSize:"clamp(56px, 8vw, 96px)",letterSpacing:"-0.04em",lineHeight:1,color:"#FAFAF5"},children:[T.jsx("span",{style:{color:"hsl(var(--brand-blue))"},children:"+"}),"MAIN.MIND"]}),T.jsx("p",{className:"font-mono uppercase",style:{color:"#E0DBCB",fontSize:"12px",letterSpacing:"0.08em",marginTop:"16px"},children:"Rol: Fundador y Director"})]})]})})},SP=()=>{const e=Ev();y.useEffect(()=>{console.error("[RouteError]",e)},[e]);const t=()=>{typeof window<"u"&&window.location.reload()};return T.jsxs("div",{className:"min-h-screen bg-background text-foreground flex flex-col",children:[T.jsx(gP,{}),T.jsx("main",{className:"flex-1 flex items-center",children:T.jsxs("div",{className:"container max-w-3xl py-24",children:[T.jsx("span",{className:"eyebrow",children:"Error de carga"}),T.jsx("h1",{className:"font-display text-3xl md:text-5xl font-black text-ink-warm mb-6",children:"Esta página no se ha cargado bien"}),T.jsx("p",{className:"text-lg text-ink-soft mb-10 max-w-2xl",children:"Puede deberse a tu conexión o a un filtro de red de tu empresa que ha bloqueado parte del c
125ontenido. No es necesario que hagas nada técnico: prueba a recargar o escríbeme directamente."}),T.jsxs("div",{className:"flex flex-wrap gap-4 mb-12",children:[T.jsx("button",{type:"button",onClick:t,className:"inline-flex items-center rounded-full bg-brand-blue px-6 py-3 font-display font-semibold text-paper hover:bg-brand-blue-hover transition-colors",children:"Recargar la página"}),T.jsx(kt,{to:"/",className:"inline-flex items-center rounded-full border-2 border-navy px-6 py-3 font-display font-semibold text-navy hover:bg-navy hover:text-paper transition-colors",children:"Ir a la portada"})]}),T.jsxs("div",{className:"border-t-2 border-navy pt-8",children:[T.jsx("p",{className:"font-display font-bold text-ink-warm mb-2",children:"Contacto directo"}),T.jsxs("p",{className:"text-ink-soft mb-4",children:["Email:"," ",T.jsx("a",{href:"mailto:[email protected]",className:"text-brand-blue underline underline-offset-4 font-medium",children:"[email protected]"})]}),T.jsxs("p",{className:"text-ink-soft",children:["¿Buscabas conferencias o formación?"," ",T.jsx(kt,{to:"/conferenciante-formador-marketing-ia",className:"text-brand-blue underline underline-offset-4 font-medium",children:"Conferenciante y formador en marketing e IA"})]})]})]})}),T.jsx(EP,{})]})},CP=[{path:"/",Component:hP,errorElement:T.jsx(SP,{}),children:[{index:!0,Component:y.lazy(()=>Ke(()=>import("./Index-DhUIE02-.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18]))),entry:"src/pages/Index.tsx"},{path:"privacidad",Component:y.lazy(()=>Ke(()=>import("./Privacidad-CwPI0oHp.js"),__vite__mapDeps([19,1]))),entry:"src/pages/Privacidad.tsx"},{path:"politica-cookies",Component:y.lazy(()=>Ke(()=>import("./PoliticaCookies-uCt4J0m5.js"),__vite__mapDeps([20,1]))),entry:"src/pages/PoliticaCookies.tsx"},{path:"aviso-legal",Component:y.lazy(()=>Ke(()=>import("./AvisoLegal-DlzelSRo.js"),__vite__mapDeps([21,1]))),entry:"src/pages/AvisoLegal.tsx"},{path:"sobre-mi",Component:y.lazy(()=>Ke(()=>import("./SobreMi-cMSSMVod.js"),__vite__mapDeps([22,1,6]))),entry:"src/pages/SobreMi.tsx"},{path:"competencias",Component:y.lazy(()=>Ke(()=>import("./Competencias-BHecRKXf.js"),__vite__mapDeps([23,1,24,13,10,4,15,14,25,5]))),entry:"src/pages/Competencias.tsx"},{path:"identidad-conversacional",Component:y.lazy(()=>Ke(()=>import("./IdentidadConversacional-D3LhK593.js"),__vite__mapDeps([26,1,6,15,14,27,28]))),entry:"src/pages/IdentidadConversacional.tsx"},{path:"identidad-conversacional/marco-completo",Component:y.lazy(()=>Ke(()=>import("./MarcoIdentidadConversacional-BV4PkgIT.js"),__vite__mapDeps([29,1,11]))),entry:"src/pages/MarcoIdentidadConversacional.tsx"},{path:"marketing-digital-estrategia-contenidos",Component:y.lazy(()=>Ke(()=>import("./MarketingDigital-D4WsueCX.js"),__vite__mapDeps([30,1,6]))),entry:"src/pages/MarketingDigital.tsx"},{path:"inteligencia-artificial-marketing",Component:y.lazy(()=>Ke(()=>import("./InteligenciaArtificialMarketing-5B2DAYyq.js"),__vite__mapDeps([31,1,6,2,12,15,25,32,5,3]))),entry:"src/pages/InteligenciaArtificialMarketing.tsx"},{path:"innovacion-emprendimiento-digital",Component:y.lazy(()=>Ke(()=>import("./InnovacionEmprendimiento-Ck0Z6V4X.js"),__vite__mapDeps([33,1,6,8,16,17]))),entry:"src/pages/InnovacionEmprendimiento.tsx"},{path:"conferenciante-formador-marketing-ia",Component:y.lazy(()=>Ke(()=>import("./ConferencianteFormador-Qq-_6Cjy.js"),__vite__mapDeps([34,1,6]))),entry:"src/pages/ConferencianteFormador.tsx"},{path:"liderazgo-equipos-creativos",Component:y.lazy(()=>Ke(()=>import("./LiderazgoEquipos-DvMq5ubv.js"),__vite__mapDeps([35,1,4,27,9,6]))),entry:"src/pages/LiderazgoEquipos.tsx"},{path:"visibilidad-ia",Component:y.lazy(()=>Ke(()=>import("./VisibilidadIA-DiKYBDqL.js"),__vite__mapDeps([36,1,18,2,24,13,5,6,28,15,17,32]))),entry:"src/pages/VisibilidadIA.tsx"},{path:"agencia-rascacielos",Component:y.lazy(()=>Ke(()=>import("./AgenciaRascacielos-ZGVt16FB.js"),__vite__mapDeps([37,1,5,8,7,11,6]))),entry:"src/pages/AgenciaRascacielos.tsx"},{path:"404",Component:y.lazy(()=>Ke(()=>import("./NotFound-BEovf-v1.js"),__vite__mapDeps([38,1,6,2,3,5]))),entry:"src/pages/NotFound.tsx"},{path:"*",Component:y.lazy(()=>Ke(()=>import("./NotFound-BEovf-v1.js"),__vite__mapDeps([38,1,6,2,3,5]))),entry:"src/pages/NotFound.tsx"}]}],Ky=e=>{const t={...e},n=e.loader;typeof n=="function"&&(t.loader=async(...o)=>{try{return await n(...o)}
125catch(i){return console.warn("[router] datos de ruta no disponibles, se continúa sin ellos",i),null}});const r=e.children;return Array.isArray(r)&&(t.children=r.map(Ky)),t},bP=(e,t)=>Sv(e.map(Ky),t);UE({routes:CP,customCreateRouter:bP});export{gT as A,Qy as B,vT as C,Yd as D,I as E,EP as F,qh as G,La as H,K1 as I,kt as L,KS as M,gP as N,St as P,_P as R,Nh as S,xS as V,ql as W,ty as X,Ke as _,HS as a,tS as b,ho as c,Ll as d,vS as e,Sr as f,We as g,Gd as h,Lr as i,T as j,Sy as k,Cr as l,Aa as m,yT as n,Av as o,cl as p,RP as q,y as r,LP as s,Ah as t,on as u,vP as v,Wc as w,pf as x,xP as y,Zv as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.