PageSourceSearch

https://vivaradiostar.lovable.app/assets/index-BLZHkJvK.js

js vivaradiostar.lovable.app collected 2026-10-03 03:45:37 UTC 419,626 bytes, 231 lines download raw bytes

vendor: 6,081 bytes, lines 1-9
1var Vd=e=>{throw TypeError(e)};var sl=(e,t,n)=>t.has(e)||Vd("Cannot "+n);var _=(e,t,n)=>(sl(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?Vd("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(sl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Ae=(e,t,n)=>(sl(e,t,"access private method"),n);var Bi=(e,t,n,r)=>({set _(o){H(e,t,o,n)},get _(){return _(e,t,r)}});function H0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function ah(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var lh={exports:{}},Sa={},uh={exports:{}},G={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var Ti=Symbol.for("react.element"),K0=Symbol.for("react.portal"),Q0=Symbol.for("react.fragment"),Y0=Symbol.for("react.strict_mode"),G0=Symbol.for("react.profiler"),X0=Symbol.for("react.provider"),q0=Symbol.for("react.context"),Z0=Symbol.for("react.forward_ref"),J0=Symbol.for("react.suspense"),ew=Symbol.for("react.memo"),tw=Symbol.for("react.lazy"),Wd=Symbol.iterator;function nw(e){return e===null||typeof e!="object"?null:(e=Wd&&e[Wd]||e["@@iterator"],typeof e=="function"?e:null)}var ch={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},dh=Object.assign,fh={};function So(e,t,n){this.props=e,this.context=t,this.refs=fh,this.updater=n||ch}So.prototype.isReactComponent={};So.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")};So.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function ph(){}ph.prototype=So.prototype;function uc(e,t,n){this.props=e,this.context=t,this.refs=fh,this.updater=n||ch}var cc=uc.prototype=new ph;cc.constructor=uc;dh(cc,So.prototype);cc.isPureReactComponent=!0;var Hd=Array.isArray,hh=Object.prototype.hasOwnProperty,dc={current:null},mh={key:!0,ref:!0,__self:!0,__source:!0};function vh(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)hh.call(t,r)&&!mh.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:Ti,type:e,key:i,ref:s,props:o,_owner:dc.current}}function rw(e,t){return{$$typeof:Ti,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function fc(e){return typeof e=="object"&&e!==null&&e.$$typeof===Ti}function ow(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Kd=/\/+/g;function al(e,t){return typeof e=="object"&&e!==null&&e.key!=null?ow(""+e.key):t.toString(36)}function ws(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Ti:case K0:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+al(s,0):r,Hd(o)?(n="",e!=null&&(n=e.replace(Kd,"$&/")+"/"),ws(o,t,n,"",function(u){return u})):o!=null&&(fc(o)&&(o=rw(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(Kd,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Hd(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+al(i,a);s+=ws(i,t,n,l,o)}else if(l=nw(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+al(i,a++),s+=ws(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 s}function Vi(e,t,n){if(e==null)return e;var r=[],o=0;return ws(e,r,"","",function(i){return t.call(n,i,o++)}),r}function iw(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var ze={current:null},xs={transition:null},sw={ReactCurrentDispatcher:ze,ReactCurrentBatchConfig:xs,ReactCurrentOwner:dc};function gh(){throw Error("act(...) is not supported in production builds of React.")}G.Children={map:Vi,forEach:function(e,t,n){Vi(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Vi(e,function(){t++}),t},toArray:function(e){return Vi(e,function(t){return t})||[]},only:function(e){if(!fc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};G.Component=So;G.Fragment=Q0;G.Profiler=G0;G.PureComponent=uc;
vendor: 4,700 bytes, lines 9-25
9G.StrictMode=Y0;G.Suspense=J0;G.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=sw;G.act=gh;G.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=dh({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=dc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)hh.call(t,l)&&!mh.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Ti,type:e.type,key:o,ref:i,props:r,_owner:s}};G.createContext=function(e){return e={$$typeof:q0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:X0,_context:e},e.Consumer=e};G.createElement=vh;G.createFactory=function(e){var t=vh.bind(null,e);return t.type=e,t};G.createRef=function(){return{current:null}};G.forwardRef=function(e){return{$$typeof:Z0,render:e}};G.isValidElement=fc;G.lazy=function(e){return{$$typeof:tw,_payload:{_status:-1,_result:e},_init:iw}};G.memo=function(e,t){return{$$typeof:ew,type:e,compare:t===void 0?null:t}};G.startTransition=function(e){var t=xs.transition;xs.transition={};try{e()}finally{xs.transition=t}};G.unstable_act=gh;G.useCallback=function(e,t){return ze.current.useCallback(e,t)};G.useContext=function(e){return ze.current.useContext(e)};G.useDebugValue=function(){};G.useDeferredValue=function(e){return ze.current.useDeferredValue(e)};G.useEffect=function(e,t){return ze.current.useEffect(e,t)};G.useId=function(){return ze.current.useId()};G.useImperativeHandle=function(e,t,n){return ze.current.useImperativeHandle(e,t,n)};G.useInsertionEffect=function(e,t){return ze.current.useInsertionEffect(e,t)};G.useLayoutEffect=function(e,t){return ze.current.useLayoutEffect(e,t)};G.useMemo=function(e,t){return ze.current.useMemo(e,t)};G.useReducer=function(e,t,n){return ze.current.useReducer(e,t,n)};G.useRef=function(e){return ze.current.useRef(e)};G.useState=function(e){return ze.current.useState(e)};G.useSyncExternalStore=function(e,t,n){return ze.current.useSyncExternalStore(e,t,n)};G.useTransition=function(){return ze.current.useTransition()};G.version="18.3.1";uh.exports=G;var f=uh.exports;const D=ah(f),yh=H0({__proto__:null,default:D},[f]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var aw=f,lw=Symbol.for("react.element"),uw=Symbol.for("react.fragment"),cw=Object.prototype.hasOwnProperty,dw=aw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,fw={key:!0,ref:!0,__self:!0,__source:!0};function wh(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)cw.call(t,r)&&!fw.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:lw,type:e,key:i,ref:s,props:o,_owner:dw.current}}Sa.Fragment=uw;Sa.jsx=wh;Sa.jsxs=wh;lh.exports=Sa;var w=lh.exports,xh={exports:{}},tt={},Sh={exports:{}},bh={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(N,L){var I=N.length;N.push(L);e:for(;0<I;){var K=I-1>>>1,B=N[K];if(0<o(B,L))N[K]=L,N[I]=B,I=K;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],I=N.pop();if(I!==L){N[0]=I;e:for(var K=0,B=N.length,Y=B>>>1;K<Y;){var X=2*(K+1)-1,we=N[X],Ne=X+1,te=N[Ne];if(0>o(we,I))Ne<B&&0>o(te,we)?(N[K]=te,N[Ne]=I,K=Ne):(N[K]=we,N[X]=I,K=X);else if(Ne<B&&0>o(te,I))N[K]=te,N[Ne]=I,K=Ne;else break e}}return L}function o(N,L){var I=N.sortIndex-L.sortIndex;return I!==0?I:N.id-L.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],d=1,c=null,h=3,p=!1,S=!1,m=!1,x=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,v=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(N){for(var L=n(u);
vendor: 9,509 bytes, lines 25-34
25L!==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 b(N){if(m=!1,y(N),!S)if(n(l)!==null)S=!0,z(E);else{var L=n(u);L!==null&&U(b,L.startTime-N)}}function E(N,L){S=!1,m&&(m=!1,g(R),R=-1),p=!0;var I=h;try{for(y(L),c=n(l);c!==null&&(!(c.expirationTime>L)||N&&!k());){var K=c.callback;if(typeof K=="function"){c.callback=null,h=c.priorityLevel;var B=K(c.expirationTime<=L);L=e.unstable_now(),typeof B=="function"?c.callback=B:c===n(l)&&r(l),y(L)}else r(l);c=n(l)}if(c!==null)var Y=!0;else{var X=n(u);X!==null&&U(b,X.startTime-L),Y=!1}return Y}finally{c=null,h=I,p=!1}}var C=!1,P=null,R=-1,T=5,A=-1;function k(){return!(e.unstable_now()-A<T)}function O(){if(P!==null){var N=e.unstable_now();A=N;var L=!0;try{L=P(!0,N)}finally{L?$():(C=!1,P=null)}}else C=!1}var $;if(typeof v=="function")$=function(){v(O)};else if(typeof MessageChannel<"u"){var M=new MessageChannel,V=M.port2;M.port1.onmessage=O,$=function(){V.postMessage(null)}}else $=function(){x(O,0)};function z(N){P=N,C||(C=!0,$())}function U(N,L){R=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(){S||p||(S=!0,z(E))},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"):T=0<N?Math.floor(1e3/N):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(N){switch(h){case 1:case 2:case 3:var L=3;break;default:L=h}var I=h;h=L;try{return N()}finally{h=I}},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 I=h;h=N;try{return L()}finally{h=I}},e.unstable_scheduleCallback=function(N,L,I){var K=e.unstable_now();switch(typeof I=="object"&&I!==null?(I=I.delay,I=typeof I=="number"&&0<I?K+I:K):I=K,N){case 1:var B=-1;break;case 2:B=250;break;case 5:B=1073741823;break;case 4:B=1e4;break;default:B=5e3}return B=I+B,N={id:d++,callback:L,priorityLevel:N,startTime:I,expirationTime:B,sortIndex:-1},I>K?(N.sortIndex=I,t(u,N),n(l)===null&&N===n(u)&&(m?(g(R),R=-1):m=!0,U(b,I-K))):(N.sortIndex=B,t(l,N),S||p||(S=!0,z(E))),N},e.unstable_shouldYield=k,e.unstable_wrapCallback=function(N){var L=h;return function(){var I=h;h=L;try{return N.apply(this,arguments)}finally{h=I}}}})(bh);Sh.exports=bh;var pw=Sh.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var hw=f,et=pw;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 Eh=new Set,oi={};function Sr(e,t){uo(e,t),uo(e+"Capture",t)}function uo(e,t){for(oi[e]=t,e=0;e<t.length;e++)Eh.add(t[e])}var tn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Jl=Object.prototype.hasOwnProperty,mw=/^[: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]*$/,Qd={},Yd={};function vw(e){return Jl.call(Yd,e)?!0:Jl.call(Qd,e)?!1:mw.test(e)?Yd[e]=!0:(Qd[e]=!0,!1)}function gw(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 yw(e,t,n,r){if(t===null||typeof t>"u"||gw(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 Ue(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Te={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Te[e]=new Ue(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Te[t]=new Ue(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Te[e]=new Ue(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Te[e]=new Ue(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){Te[e]=new Ue(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Te[e]=new Ue(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Te[e]=new Ue(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Te[e]=new Ue(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Te[e]=new Ue(e,5,!1,e.toLowerCase(),null,!1,!1)});var pc=/[\-:]([a-z])/g;function hc(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(pc,hc);Te[t]=new Ue(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(pc,hc);Te[t]=new Ue(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(pc,hc);Te[t]=new Ue(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Te[e]=new Ue(e,1,!1,e.toLowerCase(),null,!1,!1)});Te.xlinkHref=new Ue("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Te[e]=new Ue(e,1,!1,e.toLowerCase(),null,!0,!0)});function mc(e,t,n,r){var o=Te.hasOwnProperty(t)?Te[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(yw(t,n,o,r)&&(n=null),r||o===null?vw(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 un=hw.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Wi=Symbol.for("react.element"),Or=Symbol.for("react.portal"),jr=Symbol.for("react.fragment"),vc=Symbol.for("react.strict_mode"),eu=Symbol.for("react.profiler"),Ch=Symbol.for("react.provider"),Ph=Symbol.for("react.context"),gc=Symbol.for("react.forward_ref"),tu=Symbol.for("react.suspense"),nu=Symbol.for("react.suspense_list"),yc=Symbol.for("react.memo"),bn=Symbol.for("react.lazy"),kh=Symbol.for("react.offscreen"),Gd=Symbol.iterator;function Oo(e){return e===null||typeof e!="object"?null:(e=Gd&&e[Gd]||e["@@iterator"],typeof e=="function"?e:null)}var me=Object.assign,ll;function Wo(e){if(ll===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);ll=t&&t[1]||""}return`
34`+ll+e}var ul=!1;function cl(e,t){if(!e||ul)return"";ul=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}
vendor: 16,752 bytes, lines 34-37
34catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),i=r.stack.split(`
36`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
37`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{ul=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Wo(e):""}function ww(e){switch(e.tag){case 5:return Wo(e.type);case 16:return Wo("Lazy");case 13:return Wo("Suspense");case 19:return Wo("SuspenseList");case 0:case 2:case 15:return e=cl(e.type,!1),e;case 11:return e=cl(e.type.render,!1),e;case 1:return e=cl(e.type,!0),e;default:return""}}function ru(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 jr:return"Fragment";case Or:return"Portal";case eu:return"Profiler";case vc:return"StrictMode";case tu:return"Suspense";case nu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ph:return(e.displayName||"Context")+".Consumer";case Ch:return(e._context.displayName||"Context")+".Provider";case gc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case yc:return t=e.displayName||null,t!==null?t:ru(e.type)||"Memo";case bn:t=e._payload,e=e._init;try{return ru(e(t))}catch{}}return null}function xw(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 ru(t);case 8:return t===vc?"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 Bn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Rh(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Sw(e){var t=Rh(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Hi(e){e._valueTracker||(e._valueTracker=Sw(e))}function Th(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Rh(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function zs(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 ou(e,t){var n=t.checked;return me({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Xd(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Bn(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 Nh(e,t){t=t.checked,t!=null&&mc(e,"checked",t,!1)}function iu(e,t){Nh(e,t);var n=Bn(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")?su(e,t.type,n):t.hasOwnProperty("defaultValue")&&su(e,t.type,Bn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function qd(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 su(e,t,n){(t!=="number"||zs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Ho=Array.isArray;function Kr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Bn(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 au(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(j(91));return me({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Zd(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(Ho(n)){if(1<n.length)throw Error(j(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Bn(n)}}function Ah(e,t){var n=Bn(t.value),r=Bn(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 Jd(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function _h(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 lu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?_h(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ki,Lh=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(Ki=Ki||document.createElement("div"),Ki.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ki.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function ii(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Yo={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},bw=["Webkit","ms","Moz","O"];Object.keys(Yo).forEach(function(e){bw.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Yo[t]=Yo[e]})});function Oh(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Yo.hasOwnProperty(e)&&Yo[e]?(""+t).trim():t+"px"}function jh(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Oh(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var Ew=me({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 uu(e,t){if(t){if(Ew[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 cu(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 du=null;function wc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fu=null,Qr=null,Yr=null;function ef(e){if(e=_i(e)){if(typeof fu!="function")throw Error(j(280));var t=e.stateNode;t&&(t=ka(t),fu(e.stateNode,e.type,t))}}function Mh(e){Qr?Yr?Yr.push(e):Yr=[e]:Qr=e}function Dh(){if(Qr){var e=Qr,t=Yr;if(Yr=Qr=null,ef(e),t)for(e=0;e<t.length;e++)ef(t[e])}}function Ih(e,t){return e(t)}function Fh(){}var dl=!1;function $h(e,t,n){if(dl)return e(t,n);dl=!0;try{return Ih(e,t,n)}finally{dl=!1,(Qr!==null||Yr!==null)&&(Fh(),Dh())}}function si(e,t){var n=e.stateNode;if(n===null)return null;var r=ka(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 pu=!1;if(tn)try{var jo={};Object.defineProperty(jo,"passive",{get:function(){pu=!0}}),window.addEventListener("test",jo,jo),window.removeEventListener("test",jo,jo)}catch{pu=!1}function Cw(e,t,n,r,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var Go=!1,Us=null,Bs=!1,hu=null,Pw={onError:function(e){Go=!0,Us=e}};function kw(e,t,n,r,o,i,s,a,l){Go=!1,Us=null,Cw.apply(Pw,arguments)}function Rw(e,t,n,r,o,i,s,a,l){if(kw.apply(this,arguments),Go){if(Go){var u=Us;Go=!1,Us=null}else throw Error(j(198));Bs||(Bs=!0,hu=u)}}function br(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 zh(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 tf(e){if(br(e)!==e)throw Error(j(188))}function Tw(e){var t=e.alternate;if(!t){if(t=br(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 tf(o),e;if(i===r)return tf(o),t;i=i.sibling}throw Error(j(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)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 Uh(e){return e=Tw(e),e!==null?Bh(e):null}function Bh(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Bh(e);if(t!==null)return t;e=e.sibling}return null}var Vh=et.unstable_scheduleCallback,nf=et.unstable_cancelCallback,Nw=et.unstable_shouldYield,Aw=et.unstable_requestPaint,ye=et.unstable_now,_w=et.unstable_getCurrentPriorityLevel,xc=et.unstable_ImmediatePriority,Wh=et.unstable_UserBlockingPriority,Vs=et.unstable_NormalPriority,Lw=et.unstable_LowPriority,Hh=et.unstable_IdlePriority,ba=null,zt=null;function Ow(e){if(zt&&typeof zt.onCommitFiberRoot=="function")try{zt.onCommitFiberRoot(ba,e,void 0,(e.current.flags&128)===128)}catch{}}var Ct=Math.clz32?Math.clz32:Dw,jw=Math.log,Mw=Math.LN2;function Dw(e){return e>>>=0,e===0?32:31-(jw(e)/Mw|0)|0}var Qi=64,Yi=4194304;function Ko(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 Ws(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=Ko(a):(i&=s,i!==0&&(r=Ko(i)))}else s=n&~o,s!==0?r=Ko(s):i!==0&&(r=Ko(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-Ct(t),o=1<<n,r|=e[n],t&=~o;return r}function Iw(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 Fw(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-Ct(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=Iw(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function mu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Kh(){var e=Qi;return Qi<<=1,!(Qi&4194240)&&(Qi=64),e}function fl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ni(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ct(t),e[t]=n}function $w(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-Ct(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Sc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Ct(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ne=0;function Qh(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var Yh,bc,Gh,Xh,qh,vu=!1,Gi=[],jn=null,Mn=null,Dn=null,ai=new Map,li=new Map,Cn=[],zw="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 rf(e,t){switch(e){case"focusin":case"focusout":jn=null;break;case"dragenter":case"dragleave":Mn=null;break;case"mouseover":case"mouseout":Dn=null;break;case"pointerover":case"pointerout":ai.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":li.delete(t.pointerId)}}function Mo(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=_i(t),t!==null&&bc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Uw(e,t,n,r,o){switch(t){case"focusin":return jn=Mo(jn,e,t,n,r,o),!0;case"dragenter":return Mn=Mo(Mn,e,t,n,r,o),!0;case"mouseover":return Dn=Mo(Dn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return ai.set(i,Mo(ai.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,li.set(i,Mo(li.get(i)||null,e,t,n,r,o)),!0}return!1}function Zh(e){var t=rr(e.target);if(t!==null){var n=br(t);if(n!==null){if(t=n.tag,t===13){if(t=zh(n),t!==null){e.blockedOn=t,qh(e.priority,function(){Gh(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 Ss(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=gu(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);du=r,n.target.dispatchEvent(r),du=null}else return t=_i(n),t!==null&&bc(t),e.blockedOn=n,!1;t.shift()}return!0}function of(e,t,n){Ss(e)&&n.delete(t)}function Bw(){vu=!1,jn!==null&&Ss(jn)&&(jn=null),Mn!==null&&Ss(Mn)&&(Mn=null),Dn!==null&&Ss(Dn)&&(Dn=null),ai.forEach(of),li.forEac
vendor: 11,826 bytes, line 37
37h(of)}function Do(e,t){e.blockedOn===t&&(e.blockedOn=null,vu||(vu=!0,et.unstable_scheduleCallback(et.unstable_NormalPriority,Bw)))}function ui(e){function t(o){return Do(o,e)}if(0<Gi.length){Do(Gi[0],e);for(var n=1;n<Gi.length;n++){var r=Gi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(jn!==null&&Do(jn,e),Mn!==null&&Do(Mn,e),Dn!==null&&Do(Dn,e),ai.forEach(t),li.forEach(t),n=0;n<Cn.length;n++)r=Cn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Cn.length&&(n=Cn[0],n.blockedOn===null);)Zh(n),n.blockedOn===null&&Cn.shift()}var Gr=un.ReactCurrentBatchConfig,Hs=!0;function Vw(e,t,n,r){var o=ne,i=Gr.transition;Gr.transition=null;try{ne=1,Ec(e,t,n,r)}finally{ne=o,Gr.transition=i}}function Ww(e,t,n,r){var o=ne,i=Gr.transition;Gr.transition=null;try{ne=4,Ec(e,t,n,r)}finally{ne=o,Gr.transition=i}}function Ec(e,t,n,r){if(Hs){var o=gu(e,t,n,r);if(o===null)bl(e,t,r,Ks,n),rf(e,r);else if(Uw(o,e,t,n,r))r.stopPropagation();else if(rf(e,r),t&4&&-1<zw.indexOf(e)){for(;o!==null;){var i=_i(o);if(i!==null&&Yh(i),i=gu(e,t,n,r),i===null&&bl(e,t,r,Ks,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else bl(e,t,r,null,n)}}var Ks=null;function gu(e,t,n,r){if(Ks=null,e=wc(r),e=rr(e),e!==null)if(t=br(e),t===null)e=null;else if(n=t.tag,n===13){if(e=zh(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 Ks=e,null}function Jh(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(_w()){case xc:return 1;case Wh:return 4;case Vs:case Lw:return 16;case Hh:return 536870912;default:return 16}default:return 16}}var Ln=null,Cc=null,bs=null;function em(){if(bs)return bs;var e,t=Cc,n=t.length,r,o="value"in Ln?Ln.value:Ln.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return bs=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 Xi(){return!0}function sf(){return!1}function nt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Xi:sf,this.isPropagationStopped=sf,this}return me(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=Xi)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Xi)},persist:function(){},isPersistent:Xi}),t}var bo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},Pc=nt(bo),Ai=me({},bo,{view:0,detail:0}),Hw=nt(Ai),pl,hl,Io,Ea=me({},Ai,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kc,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Io&&(Io&&e.type==="mousemove"?(pl=e.screenX-Io.screenX,hl=e.screenY-Io.screenY):hl=pl=0,Io=e),pl)},movementY:function(e){return"movementY"in e?e.movementY:hl}}),af=nt(Ea),Kw=me({},Ea,{dataTransfer:0}),Qw=nt(Kw),Yw=me({},Ai,{relatedTarget:0}),ml=nt(Yw),Gw=me({},bo,{animationName:0,elapsedTime:0,pseudoElement:0}),Xw=nt(Gw),qw=me({},bo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Zw=nt(qw),Jw=me({},bo,{data:0}),lf=nt(Jw),ex={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},tx={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"},nx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function rx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=nx[e])?!!t[e]:!1}function kc(){return rx}var ox=me({},Ai,{key:function(e){if(e.key){var t=ex[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"?tx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kc,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}}),ix=nt(ox),sx=me({},Ea,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),uf=nt(sx),ax=me({},Ai,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kc}),lx=nt(ax),ux=me({},bo,{propertyName:0,elapsedTime:0,pseudoElement:0}),cx=nt(ux),dx=me({},Ea,{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}),fx=nt(dx),px=[9,13,27,32],Rc=tn&&"CompositionEvent"in window,Xo=null;tn&&"documentMode"in document&&(Xo=document.documentMode);var hx=tn&&"TextEvent"in window&&!Xo,tm=tn&&(!Rc||Xo&&8<Xo&&11>=Xo),cf=" ",df=!1;function nm(e,t){switch(e){case"keyup":return px.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function rm(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Mr=!1;function mx(e,t){switch(e){case"compositionend":return rm(t);case"keypress":return t.which!==32?null:(df=!0,cf);case"textInput":return e=t.data,e===cf&&df?null:e;default:return null}}function vx(e,t){if(Mr)return e==="compositionend"||!Rc&&nm(e,t)?(e=em(),bs=Cc=Ln=null,Mr=!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 tm&&t.locale!=="ko"?null:t.data;default:return null}}var gx={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 ff(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!gx[e.type]:t==="textarea"}function om(e,t,n,r){Mh(r),t=Qs(t,"onChange"),0<t.length&&(n=new Pc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qo=null,ci=null;function yx(e){mm(e,0)}function Ca(e){var t=Fr(e);if(Th(t))return e}function wx(e,t){if(e==="change")return t}var im=!1;if(tn){var vl;if(tn){var gl="oninput"in document;if(!gl){var pf=document.createElement("div");pf.setAttribute("oninput","return;"),gl=typeof pf.oninput=="function"}vl=gl}else vl=!1;im=vl&&(!document.documentMode||9<document.documentMode)}function hf(){qo&&(qo.detachEvent("onpropertychange",sm),ci=qo=null)}function sm(e){if(e.propertyName==="value"&&Ca(ci)){var t=[];om(t,ci,e,wc(e)),$h(yx,t)}}function xx(e,t,n){e==="focusin"?(hf(),qo=t,ci=n,qo.attachEvent("onpropertychange",sm)):e==="focusout"&&hf()}function Sx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Ca(ci)}function bx(e,t){if(e==="click")return Ca(t)}function Ex(e,t){if(e==="input"||e==="change")return Ca(t)}function Cx(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var kt=typeof Object.is=="function"?Object.is:Cx;function di(e,t){if(kt(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(!Jl.call(t,o)||!kt(e[o],t[o]))return!1}return!0}function mf(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vf(e,t){var n=mf(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=mf(n)}}function am(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?am(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function lm(){for(var e=window,t=zs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=zs(e.document)}return t}function Tc(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 Px(e){var t=lm(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&am(n.ownerDocument.documentElement,n)){if(r!==null&&Tc(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=vf(n,i);var s=vf(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var kx=tn&&"documentMode"in document&&11>=document.documentMode,Dr=null,yu=null,Zo=null,wu=!1;function gf(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;wu||Dr==null||Dr!==zs(r)||(r=Dr,"selectionStart"in r&&Tc(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),Zo&&di(Zo,r)||(Zo=r,r=Qs(yu,"onSelect"),0<r.length&&(t=new Pc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Dr)))}function qi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ir={animationend:qi("Animation","AnimationEnd"),animationiteration:qi("Animation","AnimationIteration"),animationstart:qi("Animation","AnimationStart"),transitionend:qi("Transition","TransitionEnd")},yl={},um={};tn&&(um=document.createElement("div").style,"AnimationEvent"in window||(delete Ir.animationend.animation,delete Ir.animationiteration.animation,delete Ir.animationstart.animation),"TransitionEvent"in window||delete Ir.transitionend.transition);function Pa(e){if(yl[e])return yl[e];if(!Ir[e])return e;var t=Ir[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in um)return yl[e]=t[n];return e}var cm=Pa("animationend"),dm=Pa("animationiteration"),fm=Pa("animationstart"),pm=Pa("transitionend"),hm=new Map,yf="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 Qn(e,t){hm.set(e,t),Sr(t,[e])}for(var wl=0;wl<yf.length;wl++){var xl=yf[wl],Rx=xl.toLowerCase(),Tx=xl[0].toUpperCase()+xl.slice(1);Qn(Rx,"on"+Tx)}Qn(cm,"onAnimationEnd");Qn(dm,"onAnimationIteration");Qn(fm,"onAnimationStart");Qn("dblclick","onDoubleClick");Qn("focusin","onFocus");Qn("focusout","onBlur");Qn(pm,"onTransitionEnd");uo("onMouseEnter",["mouseout","mouseover"]);uo("onMouseLeave",["mouseout","mouseover"]);uo("onPointerEnter",["pointerout","pointerover"]);uo("onPointerLeave",["pointerout","pointerover"]);Sr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Sr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Sr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Sr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Sr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Sr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Qo="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(" "),Nx=new Set("cancel close invalid load scroll toggle".split(" ").concat(Qo));function wf(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Rw(r,t,void 0,e),e.currentTarget=null}function mm(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;wf(o,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;wf(o,a,u),i=l}}}if(Bs)throw e=hu,Bs=!1,hu=null,e}function ae(e,t){var n=t[Cu];n===void 0&&(n=t[Cu]=new Set);var r=e+"__bubble";n.has(r)||(vm(t,e,2,!1),n.add(r))}function Sl(e,t,n){var r=0;t&&(r|=4),vm(n,e,r,t)}var Zi="_reactListening"+Math.random().toString(36).slice(2);function fi(e){if(!e[Zi]){e[Zi]=!0,Eh.forEach(function(n){n!=="selectionchange"&&(Nx.has(n)||Sl(n,!1,e),Sl(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Zi]||(t[Zi]=!0,Sl("selectionchange",!1,t))}}function vm(e,t,n,r){switch(Jh(t)){case 1:var o=Vw;break;case 4:o=Ww;break;default:o=Ec}n=o.bind(null,t,n,e),o=void 0,!pu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function bl(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 4,719 bytes, lines 37-38
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=rr(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}$h(function(){var u=i,d=wc(n),c=[];e:{var h=hm.get(e);if(h!==void 0){var p=Pc,S=e;switch(e){case"keypress":if(Es(n)===0)break e;case"keydown":case"keyup":p=ix;break;case"focusin":S="focus",p=ml;break;case"focusout":S="blur",p=ml;break;case"beforeblur":case"afterblur":p=ml;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":p=af;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=Qw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=lx;break;case cm:case dm:case fm:p=Xw;break;case pm:p=cx;break;case"scroll":p=Hw;break;case"wheel":p=fx;break;case"copy":case"cut":case"paste":p=Zw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=uf}var m=(t&4)!==0,x=!m&&e==="scroll",g=m?h!==null?h+"Capture":null:h;m=[];for(var v=u,y;v!==null;){y=v;var b=y.stateNode;if(y.tag===5&&b!==null&&(y=b,g!==null&&(b=si(v,g),b!=null&&m.push(pi(v,b,y)))),x)break;v=v.return}0<m.length&&(h=new p(h,S,null,n,d),c.push({event:h,listeners:m}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==du&&(S=n.relatedTarget||n.fromElement)&&(rr(S)||S[nn]))break e;if((p||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,p?(S=n.relatedTarget||n.toElement,p=u,S=S?rr(S):null,S!==null&&(x=br(S),S!==x||S.tag!==5&&S.tag!==6)&&(S=null)):(p=null,S=u),p!==S)){if(m=af,b="onMouseLeave",g="onMouseEnter",v="mouse",(e==="pointerout"||e==="pointerover")&&(m=uf,b="onPointerLeave",g="onPointerEnter",v="pointer"),x=p==null?h:Fr(p),y=S==null?h:Fr(S),h=new m(b,v+"leave",p,n,d),h.target=x,h.relatedTarget=y,b=null,rr(d)===u&&(m=new m(g,v+"enter",S,n,d),m.target=y,m.relatedTarget=x,b=m),x=b,p&&S)t:{for(m=p,g=S,v=0,y=m;y;y=Nr(y))v++;for(y=0,b=g;b;b=Nr(b))y++;for(;0<v-y;)m=Nr(m),v--;for(;0<y-v;)g=Nr(g),y--;for(;v--;){if(m===g||g!==null&&m===g.alternate)break t;m=Nr(m),g=Nr(g)}m=null}else m=null;p!==null&&xf(c,h,p,m,!1),S!==null&&x!==null&&xf(c,x,S,m,!0)}}e:{if(h=u?Fr(u):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var E=wx;else if(ff(h))if(im)E=Ex;else{E=Sx;var C=xx}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(E=bx);if(E&&(E=E(e,u))){om(c,E,n,d);break e}C&&C(e,h,u),e==="focusout"&&(C=h._wrapperState)&&C.controlled&&h.type==="number"&&su(h,"number",h.value)}switch(C=u?Fr(u):window,e){case"focusin":(ff(C)||C.contentEditable==="true")&&(Dr=C,yu=u,Zo=null);break;case"focusout":Zo=yu=Dr=null;break;case"mousedown":wu=!0;break;case"contextmenu":case"mouseup":case"dragend":wu=!1,gf(c,n,d);break;case"selectionchange":if(kx)break;case"keydown":case"keyup":gf(c,n,d)}var P;if(Rc)e:{switch(e){case"compositionstart":var R="onCompositionStart";break e;case"compositionend":R="onCompositionEnd";break e;case"compositionupdate":R="onCompositionUpdate";break e}R=void 0}else Mr?nm(e,n)&&(R="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(R="onCompositionStart");R&&(tm&&n.locale!=="ko"&&(Mr||R!=="onCompositionStart"?R==="onCompositionEnd"&&Mr&&(P=em()):(Ln=d,Cc="value"in Ln?Ln.value:Ln.textContent,Mr=!0)),C=Qs(u,R),0<C.length&&(R=new lf(R,e,null,n,d),c.push({event:R,listeners:C}),P?R.data=P:(P=rm(n),P!==null&&(R.data=P)))),(P=hx?mx(e,n):vx(e,n))&&(u=Qs(u,"onBeforeInput"),0<u.length&&(d=new lf("onBeforeInput","beforeinput",null,n,d),c.push({event:d,listeners:u}),d.data=P))}mm(c,t)})}function pi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qs(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=si(e,n),i!=null&&r.unshift(pi(e,i,o)),i=si(e,t),i!=null&&r.push(pi(e,i,o))),e=e.return}return r}function Nr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function xf(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=si(n,i),l!=null&&s.unshift(pi(n,l,a))):o||(l=si(n,i),l!=null&&s.push(pi(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Ax=/\r\n?/g,_x=/\u0000|\uFFFD/g;function Sf(e){return(typeof e=="string"?e:""+e).replace(Ax,`
38`).replace(_x,"")}
vendor: 5,785 bytes, line 38
38function Ji(e,t,n){if(t=Sf(t),Sf(e)!==t&&n)throw Error(j(425))}function Ys(){}var xu=null,Su=null;function bu(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 Eu=typeof setTimeout=="function"?setTimeout:void 0,Lx=typeof clearTimeout=="function"?clearTimeout:void 0,bf=typeof Promise=="function"?Promise:void 0,Ox=typeof queueMicrotask=="function"?queueMicrotask:typeof bf<"u"?function(e){return bf.resolve(null).then(e).catch(jx)}:Eu;function jx(e){setTimeout(function(){throw e})}function El(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),ui(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);ui(t)}function In(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 Ef(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 Eo=Math.random().toString(36).slice(2),Ft="__reactFiber$"+Eo,hi="__reactProps$"+Eo,nn="__reactContainer$"+Eo,Cu="__reactEvents$"+Eo,Mx="__reactListeners$"+Eo,Dx="__reactHandles$"+Eo;function rr(e){var t=e[Ft];if(t)return t;for(var n=e.parentNode;n;){if(t=n[nn]||n[Ft]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ef(e);e!==null;){if(n=e[Ft])return n;e=Ef(e)}return t}e=n,n=e.parentNode}return null}function _i(e){return e=e[Ft]||e[nn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Fr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(j(33))}function ka(e){return e[hi]||null}var Pu=[],$r=-1;function Yn(e){return{current:e}}function le(e){0>$r||(e.current=Pu[$r],Pu[$r]=null,$r--)}function ie(e,t){$r++,Pu[$r]=e.current,e.current=t}var Vn={},Me=Yn(Vn),Ke=Yn(!1),hr=Vn;function co(e,t){var n=e.type.contextTypes;if(!n)return Vn;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 Qe(e){return e=e.childContextTypes,e!=null}function Gs(){le(Ke),le(Me)}function Cf(e,t,n){if(Me.current!==Vn)throw Error(j(168));ie(Me,t),ie(Ke,n)}function gm(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,xw(e)||"Unknown",o));return me({},n,r)}function Xs(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Vn,hr=Me.current,ie(Me,e),ie(Ke,Ke.current),!0}function Pf(e,t,n){var r=e.stateNode;if(!r)throw Error(j(169));n?(e=gm(e,t,hr),r.__reactInternalMemoizedMergedChildContext=e,le(Ke),le(Me),ie(Me,e)):le(Ke),ie(Ke,n)}var Gt=null,Ra=!1,Cl=!1;function ym(e){Gt===null?Gt=[e]:Gt.push(e)}function Ix(e){Ra=!0,ym(e)}function Gn(){if(!Cl&&Gt!==null){Cl=!0;var e=0,t=ne;try{var n=Gt;for(ne=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Gt=null,Ra=!1}catch(o){throw Gt!==null&&(Gt=Gt.slice(e+1)),Vh(xc,Gn),o}finally{ne=t,Cl=!1}}return null}var zr=[],Ur=0,qs=null,Zs=0,it=[],st=0,mr=null,qt=1,Zt="";function tr(e,t){zr[Ur++]=Zs,zr[Ur++]=qs,qs=e,Zs=t}function wm(e,t,n){it[st++]=qt,it[st++]=Zt,it[st++]=mr,mr=e;var r=qt;e=Zt;var o=32-Ct(r)-1;r&=~(1<<o),n+=1;var i=32-Ct(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,qt=1<<32-Ct(t)+o|n<<o|r,Zt=i+e}else qt=1<<i|n<<o|r,Zt=e}function Nc(e){e.return!==null&&(tr(e,1),wm(e,1,0))}function Ac(e){for(;e===qs;)qs=zr[--Ur],zr[Ur]=null,Zs=zr[--Ur],zr[Ur]=null;for(;e===mr;)mr=it[--st],it[st]=null,Zt=it[--st],it[st]=null,qt=it[--st],it[st]=null}var Ze=null,qe=null,ce=!1,Et=null;function xm(e,t){var n=at(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 kf(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,Ze=e,qe=In(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Ze=e,qe=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=mr!==null?{id:qt,overflow:Zt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=at(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,Ze=e,qe=null,!0):!1;default:return!1}}function ku(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ru(e){if(ce){var t=qe;if(t){var n=t;if(!kf(e,t)){if(ku(e))throw Error(j(418));t=In(n.nextSibling);var r=Ze;t&&kf(e,t)?xm(r,n):(e.flags=e.flags&-4097|2,ce=!1,Ze=e)}}else{if(ku(e))throw Error(j(418));e.flags=e.flags&-4097|2,ce=!1,Ze=e}}}function Rf(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Ze=e}function es(e){if(e!==Ze)return!1;if(!ce)return Rf(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!bu(e.type,e.memoizedProps)),t&&(t=qe)){if(ku(e))throw Sm(),Error(j(418));for(;t;)xm(e,t),t=In(t.nextSibling)}if(Rf(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){qe=In(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}qe=null}}else qe=Ze?In(e.stateNode.nextSibling):null;return!0}function Sm(){for(var e=qe;e;)e=In(e.nextSibling)}function fo(){qe=Ze=null,ce=!1}function _c(e){Et===null?Et=[e]:Et.push(e)}var Fx=un.ReactCurrentBatchConfig;
vendor: 11,053 bytes, line 38
38function Fo(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(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(j(284));if(!n._owner)throw Error(j(290,e))}return e}function ts(e,t){throw e=Object.prototype.toString.call(t),Error(j(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Tf(e){var t=e._init;return t(e._payload)}function bm(e){function t(g,v){if(e){var y=g.deletions;y===null?(g.deletions=[v],g.flags|=16):y.push(v)}}function n(g,v){if(!e)return null;for(;v!==null;)t(g,v),v=v.sibling;return null}function r(g,v){for(g=new Map;v!==null;)v.key!==null?g.set(v.key,v):g.set(v.index,v),v=v.sibling;return g}function o(g,v){return g=Un(g,v),g.index=0,g.sibling=null,g}function i(g,v,y){return g.index=y,e?(y=g.alternate,y!==null?(y=y.index,y<v?(g.flags|=2,v):y):(g.flags|=2,v)):(g.flags|=1048576,v)}function s(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,v,y,b){return v===null||v.tag!==6?(v=_l(y,g.mode,b),v.return=g,v):(v=o(v,y),v.return=g,v)}function l(g,v,y,b){var E=y.type;return E===jr?d(g,v,y.props.children,b,y.key):v!==null&&(v.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===bn&&Tf(E)===v.type)?(b=o(v,y.props),b.ref=Fo(g,v,y),b.return=g,b):(b=As(y.type,y.key,y.props,null,g.mode,b),b.ref=Fo(g,v,y),b.return=g,b)}function u(g,v,y,b){return v===null||v.tag!==4||v.stateNode.containerInfo!==y.containerInfo||v.stateNode.implementation!==y.implementation?(v=Ll(y,g.mode,b),v.return=g,v):(v=o(v,y.children||[]),v.return=g,v)}function d(g,v,y,b,E){return v===null||v.tag!==7?(v=pr(y,g.mode,b,E),v.return=g,v):(v=o(v,y),v.return=g,v)}function c(g,v,y){if(typeof v=="string"&&v!==""||typeof v=="number")return v=_l(""+v,g.mode,y),v.return=g,v;if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Wi:return y=As(v.type,v.key,v.props,null,g.mode,y),y.ref=Fo(g,null,v),y.return=g,y;case Or:return v=Ll(v,g.mode,y),v.return=g,v;case bn:var b=v._init;return c(g,b(v._payload),y)}if(Ho(v)||Oo(v))return v=pr(v,g.mode,y,null),v.return=g,v;ts(g,v)}return null}function h(g,v,y,b){var E=v!==null?v.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return E!==null?null:a(g,v,""+y,b);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Wi:return y.key===E?l(g,v,y,b):null;case Or:return y.key===E?u(g,v,y,b):null;case bn:return E=y._init,h(g,v,E(y._payload),b)}if(Ho(y)||Oo(y))return E!==null?null:d(g,v,y,b,null);ts(g,y)}return null}function p(g,v,y,b,E){if(typeof b=="string"&&b!==""||typeof b=="number")return g=g.get(y)||null,a(v,g,""+b,E);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Wi:return g=g.get(b.key===null?y:b.key)||null,l(v,g,b,E);case Or:return g=g.get(b.key===null?y:b.key)||null,u(v,g,b,E);case bn:var C=b._init;return p(g,v,y,C(b._payload),E)}if(Ho(b)||Oo(b))return g=g.get(y)||null,d(v,g,b,E,null);ts(v,b)}return null}function S(g,v,y,b){for(var E=null,C=null,P=v,R=v=0,T=null;P!==null&&R<y.length;R++){P.index>R?(T=P,P=null):T=P.sibling;var A=h(g,P,y[R],b);if(A===null){P===null&&(P=T);break}e&&P&&A.alternate===null&&t(g,P),v=i(A,v,R),C===null?E=A:C.sibling=A,C=A,P=T}if(R===y.length)return n(g,P),ce&&tr(g,R),E;if(P===null){for(;R<y.length;R++)P=c(g,y[R],b),P!==null&&(v=i(P,v,R),C===null?E=P:C.sibling=P,C=P);return ce&&tr(g,R),E}for(P=r(g,P);R<y.length;R++)T=p(P,g,R,y[R],b),T!==null&&(e&&T.alternate!==null&&P.delete(T.key===null?R:T.key),v=i(T,v,R),C===null?E=T:C.sibling=T,C=T);return e&&P.forEach(function(k){return t(g,k)}),ce&&tr(g,R),E}function m(g,v,y,b){var E=Oo(y);if(typeof E!="function")throw Error(j(150));if(y=E.call(y),y==null)throw Error(j(151));for(var C=E=null,P=v,R=v=0,T=null,A=y.next();P!==null&&!A.done;R++,A=y.next()){P.index>R?(T=P,P=null):T=P.sibling;var k=h(g,P,A.value,b);if(k===null){P===null&&(P=T);break}e&&P&&k.alternate===null&&t(g,P),v=i(k,v,R),C===null?E=k:C.sibling=k,C=k,P=T}if(A.done)return n(g,P),ce&&tr(g,R),E;if(P===null){for(;!A.done;R++,A=y.next())A=c(g,A.value,b),A!==null&&(v=i(A,v,R),C===null?E=A:C.sibling=A,C=A);return ce&&tr(g,R),E}for(P=r(g,P);!A.done;R++,A=y.next())A=p(P,g,R,A.value,b),A!==null&&(e&&A.alternate!==null&&P.delete(A.key===null?R:A.key),v=i(A,v,R),C===null?E=A:C.sibling=A,C=A);return e&&P.forEach(function(O){return t(g,O)}),ce&&tr(g,R),E}function x(g,v,y,b){if(typeof y=="object"&&y!==null&&y.type===jr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Wi:e:{for(var E=y.key,C=v;C!==null;){if(C.key===E){if(E=y.type,E===jr){if(C.tag===7){n(g,C.sibling),v=o(C,y.props.children),v.return=g,g=v;break e}}else if(C.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===bn&&Tf(E)===C.type){n(g,C.sibling),v=o(C,y.props),v.ref=Fo(g,C,y),v.return=g,g=v;break e}n(g,C);break}else t(g,C);C=C.sibling}y.type===jr?(v=pr(y.props.children,g.mode,b,y.key),v.return=g,g=v):(b=As(y.type,y.key,y.props,null,g.mode,b),b.ref=Fo(g,v,y),b.return=g,g=b)}return s(g);case Or:e:{for(C=y.key;v!==null;){if(v.key===C)if(v.tag===4&&v.stateNode.containerInfo===y.containerInfo&&v.stateNode.implementation===y.implementation){n(g,v.sibling),v=o(v,y.children||[]),v.return=g,g=v;break e}else{n(g,v);break}else t(g,v);v=v.sibling}v=Ll(y,g.mode,b),v.return=g,g=v}return s(g);case bn:return C=y._init,x(g,v,C(y._payload),b)}if(Ho(y))return S(g,v,y,b);if(Oo(y))return m(g,v,y,b);ts(g,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,v!==null&&v.tag===6?(n(g,v.sibling),v=o(v,y),v.return=g,g=v):(n(g,v),v=_l(y,g.mode,b),v.return=g,g=v),s(g)):n(g,v)}return x}var po=bm(!0),Em=bm(!1),Js=Yn(null),ea=null,Br=null,Lc=null;function Oc(){Lc=Br=ea=null}function jc(e){var t=Js.current;le(Js),e._currentValue=t}function Tu(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 Xr(e,t){ea=e,Lc=Br=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(He=!0),e.firstContext=null)}function ut(e){var t=e._currentValue;if(Lc!==e)if(e={context:e,memoizedValue:t,next:null},Br===null){if(ea===null)throw Error(j(308));Br=e,ea.dependencies={lanes:0,firstContext:e}}else Br=Br.next=e;return t}var or=null;function Mc(e){or===null?or=[e]:or.push(e)}function Cm(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Mc(t)):(n.next=o.next,o.next=n),t.interleaved=n,rn(e,r)}function rn(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 En=!1;function Dc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pm(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 Jt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,q&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,rn(e,n)}return o=r.interleaved,o===null?(t.next=t,Mc(r)):(t.next=o.next,o.next=t),r.interleaved=t,rn(e,n)}function Cs(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,Sc(e,n)}}function Nf(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ta(e,t,n,r){var o=e.updateQueue;En=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=l))}if(i!==null){var c=o.baseState;s=0,d=u=l=null,a=i;do{var h=a.lane,p=a.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var S=e,m=a;switch(h=t,p=n,m.tag){case 1:if(S=m.payload,typeof S=="function"){c=S.call(p,c,h);break e}c=S;break e;case 3:S.flags=S.flags&-65537|128;case 0:if(S=m.payload,h=typeof S=="function"?S.call(p,c,h):S,h==null)break e;c=me({},c,h);break e;case 2:En=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=p,l=c):d=d.next=p,s|=h;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;h=a,a=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(d===null&&(l=c),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);gr|=s,e.lanes=s,e.memoizedState=c}}function Af(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 Li={},Ut=Yn(Li),mi=Yn(Li),vi=Yn(Li);function ir(e){if(e===Li)throw Error(j(174));return e}function Ic(e,t){switch(ie(vi,t),ie(mi,e),ie(Ut,Li),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:lu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=lu(t,e)}le(Ut),ie(Ut,t)}function ho(){le(Ut),le(mi),le(vi)}function km(e){ir(vi.current);var t=ir(Ut.current),n=lu(t,e.type);t!==n&&(ie(mi,e),ie(Ut,n))}function Fc(e){mi.current===e&&(le(Ut),le(mi))}var fe=Yn(0);function na(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 Pl=[];function $c(){for(var e=0;e<Pl.length;e++)Pl[e]._workInProgressVersionPrimary=null;Pl.length=0}var Ps=un.ReactCurrentDispatcher,kl=un.ReactCurrentBatchConfig,vr=0,pe=null,Se=null,Ee=null,ra=!1,Jo=!1,gi=0,$x=0;function _e(){throw Error(j(321))}function zc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!kt(e[n],t[n]))return!1;return!0}
vendor: 4,230 bytes, line 38
38function Uc(e,t,n,r,o,i){if(vr=i,pe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ps.current=e===null||e.memoizedState===null?Vx:Wx,e=n(r,o),Jo){i=0;do{if(Jo=!1,gi=0,25<=i)throw Error(j(301));i+=1,Ee=Se=null,t.updateQueue=null,Ps.current=Hx,e=n(r,o)}while(Jo)}if(Ps.current=oa,t=Se!==null&&Se.next!==null,vr=0,Ee=Se=pe=null,ra=!1,t)throw Error(j(300));return e}function Bc(){var e=gi!==0;return gi=0,e}function jt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ee===null?pe.memoizedState=Ee=e:Ee=Ee.next=e,Ee}function ct(){if(Se===null){var e=pe.alternate;e=e!==null?e.memoizedState:null}else e=Se.next;var t=Ee===null?pe.memoizedState:Ee.next;if(t!==null)Ee=t,Se=e;else{if(e===null)throw Error(j(310));Se=e,e={memoizedState:Se.memoizedState,baseState:Se.baseState,baseQueue:Se.baseQueue,queue:Se.queue,next:null},Ee===null?pe.memoizedState=Ee=e:Ee=Ee.next=e}return Ee}function yi(e,t){return typeof t=="function"?t(e):t}function Rl(e){var t=ct(),n=t.queue;if(n===null)throw Error(j(311));n.lastRenderedReducer=e;var r=Se,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,u=i;do{var d=u.lane;if((vr&d)===d)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 c={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=c,s=r):l=l.next=c,pe.lanes|=d,gr|=d}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,kt(r,t.memoizedState)||(He=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,pe.lanes|=i,gr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Tl(e){var t=ct(),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 s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);kt(i,t.memoizedState)||(He=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Rm(){}function Tm(e,t){var n=pe,r=ct(),o=t(),i=!kt(r.memoizedState,o);if(i&&(r.memoizedState=o,He=!0),r=r.queue,Vc(_m.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Ee!==null&&Ee.memoizedState.tag&1){if(n.flags|=2048,wi(9,Am.bind(null,n,r,o,t),void 0,null),Ce===null)throw Error(j(349));vr&30||Nm(n,t,o)}return o}function Nm(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Am(e,t,n,r){t.value=n,t.getSnapshot=r,Lm(t)&&Om(e)}function _m(e,t,n){return n(function(){Lm(t)&&Om(e)})}function Lm(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!kt(e,n)}catch{return!0}}function Om(e){var t=rn(e,1);t!==null&&Pt(t,e,1,-1)}function _f(e){var t=jt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:yi,lastRenderedState:e},t.queue=e,e=e.dispatch=Bx.bind(null,pe,e),[t.memoizedState,e]}function wi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=pe.updateQueue,t===null?(t={lastEffect:null,stores:null},pe.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 jm(){return ct().memoizedState}function ks(e,t,n,r){var o=jt();pe.flags|=e,o.memoizedState=wi(1|t,n,void 0,r===void 0?null:r)}function Ta(e,t,n,r){var o=ct();r=r===void 0?null:r;var i=void 0;if(Se!==null){var s=Se.memoizedState;if(i=s.destroy,r!==null&&zc(r,s.deps)){o.memoizedState=wi(t,n,i,r);return}}pe.flags|=e,o.memoizedState=wi(1|t,n,i,r)}function Lf(e,t){return ks(8390656,8,e,t)}function Vc(e,t){return Ta(2048,8,e,t)}function Mm(e,t){return Ta(4,2,e,t)}function Dm(e,t){return Ta(4,4,e,t)}function Im(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 Fm(e,t,n){return n=n!=null?n.concat([e]):null,Ta(4,4,Im.b
vendor: 9,948 bytes, lines 38-40
38ind(null,t,e),n)}function Wc(){}function $m(e,t){var n=ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&zc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function zm(e,t){var n=ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&zc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Um(e,t,n){return vr&21?(kt(n,t)||(n=Kh(),pe.lanes|=n,gr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,He=!0),e.memoizedState=n)}function zx(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=kl.transition;kl.transition={};try{e(!1),t()}finally{ne=n,kl.transition=r}}function Bm(){return ct().memoizedState}function Ux(e,t,n){var r=zn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Vm(e))Wm(t,n);else if(n=Cm(e,t,n,r),n!==null){var o=$e();Pt(n,e,r,o),Hm(n,t,r)}}function Bx(e,t,n){var r=zn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Vm(e))Wm(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,kt(a,s)){var l=t.interleaved;l===null?(o.next=o,Mc(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Cm(e,t,o,r),n!==null&&(o=$e(),Pt(n,e,r,o),Hm(n,t,r))}}function Vm(e){var t=e.alternate;return e===pe||t!==null&&t===pe}function Wm(e,t){Jo=ra=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Hm(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Sc(e,n)}}var oa={readContext:ut,useCallback:_e,useContext:_e,useEffect:_e,useImperativeHandle:_e,useInsertionEffect:_e,useLayoutEffect:_e,useMemo:_e,useReducer:_e,useRef:_e,useState:_e,useDebugValue:_e,useDeferredValue:_e,useTransition:_e,useMutableSource:_e,useSyncExternalStore:_e,useId:_e,unstable_isNewReconciler:!1},Vx={readContext:ut,useCallback:function(e,t){return jt().memoizedState=[e,t===void 0?null:t],e},useContext:ut,useEffect:Lf,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,ks(4194308,4,Im.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ks(4194308,4,e,t)},useInsertionEffect:function(e,t){return ks(4,2,e,t)},useMemo:function(e,t){var n=jt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=jt();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=Ux.bind(null,pe,e),[r.memoizedState,e]},useRef:function(e){var t=jt();return e={current:e},t.memoizedState=e},useState:_f,useDebugValue:Wc,useDeferredValue:function(e){return jt().memoizedState=e},useTransition:function(){var e=_f(!1),t=e[0];return e=zx.bind(null,e[1]),jt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=pe,o=jt();if(ce){if(n===void 0)throw Error(j(407));n=n()}else{if(n=t(),Ce===null)throw Error(j(349));vr&30||Nm(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Lf(_m.bind(null,r,i,e),[e]),r.flags|=2048,wi(9,Am.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=jt(),t=Ce.identifierPrefix;if(ce){var n=Zt,r=qt;n=(r&~(1<<32-Ct(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=gi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=$x++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Wx={readContext:ut,useCallback:$m,useContext:ut,useEffect:Vc,useImperativeHandle:Fm,useInsertionEffect:Mm,useLayoutEffect:Dm,useMemo:zm,useReducer:Rl,useRef:jm,useState:function(){return Rl(yi)},useDebugValue:Wc,useDeferredValue:function(e){var t=ct();return Um(t,Se.memoizedState,e)},useTransition:function(){var e=Rl(yi)[0],t=ct().memoizedState;return[e,t]},useMutableSource:Rm,useSyncExternalStore:Tm,useId:Bm,unstable_isNewReconciler:!1},Hx={readContext:ut,useCallback:$m,useContext:ut,useEffect:Vc,useImperativeHandle:Fm,useInsertionEffect:Mm,useLayoutEffect:Dm,useMemo:zm,useReducer:Tl,useRef:jm,useState:function(){return Tl(yi)},useDebugValue:Wc,useDeferredValue:function(e){var t=ct();return Se===null?t.memoizedState=e:Um(t,Se.memoizedState,e)},useTransition:function(){var e=Tl(yi)[0],t=ct().memoizedState;return[e,t]},useMutableSource:Rm,useSyncExternalStore:Tm,useId:Bm,unstable_isNewReconciler:!1};function yt(e,t){if(e&&e.defaultProps){t=me({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Nu(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:me({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Na={isMounted:function(e){return(e=e._reactInternals)?br(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=$e(),o=zn(e),i=Jt(r,o);i.payload=t,n!=null&&(i.callback=n),t=Fn(e,i,o),t!==null&&(Pt(t,e,o,r),Cs(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=$e(),o=zn(e),i=Jt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Fn(e,i,o),t!==null&&(Pt(t,e,o,r),Cs(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=$e(),r=zn(e),o=Jt(n,r);o.tag=2,t!=null&&(o.callback=t),t=Fn(e,o,r),t!==null&&(Pt(t,e,r,n),Cs(t,e,r))}};function Of(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!di(n,r)||!di(o,i):!0}function Km(e,t,n){var r=!1,o=Vn,i=t.contextType;return typeof i=="object"&&i!==null?i=ut(i):(o=Qe(t)?hr:Me.current,r=t.contextTypes,i=(r=r!=null)?co(e,o):Vn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Na,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function jf(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&&Na.enqueueReplaceState(t,t.state,null)}function Au(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Dc(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=ut(i):(i=Qe(t)?hr:Me.current,o.context=co(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Nu(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&&Na.enqueueReplaceState(o,o.state,null),ta(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function mo(e,t){try{var n="",r=t;do n+=ww(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Nl(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function _u(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var Kx=typeof WeakMap=="function"?WeakMap:Map;function Qm(e,t,n){n=Jt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){sa||(sa=!0,Uu=r),_u(e,t)},n}function Ym(e,t,n){n=Jt(-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(){_u(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){_u(e,t),typeof r!="function"&&($n===null?$n=new Set([this]):$n.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Mf(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Kx;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=s1.bind(null,e,t,n),t.then(e,e))}function Df(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 If(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=Jt(-1,1),t.tag=2,Fn(n,t,1))),n.lanes|=1),e)}var Qx=un.ReactCurrentOwner,He=!1;function Ie(e,t,n,r){t.child=e===null?Em(t,null,n,r):po(t,e.child,n,r)}function Ff(e,t,n,r,o){n=n.render;var i=t.ref;return Xr(t,o),r=Uc(e,t,n,r,i,o),n=Bc(),e!==null&&!He?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,on(e,t,o)):(ce&&n&&Nc(t),t.flags|=1,Ie(e,t,r,o),t.child)}function $f(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Zc(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Gm(e,t,i,r,o)):(e=As(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:di,n(s,r)&&e.ref===t.ref)return on(e,t,o)}return t.flags|=1,e=Un(i,r),e.ref=t.ref,e.return=t,t.child=e}function Gm(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(di(i,r)&&e.ref===t.ref)if(He=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(He=!0);else return t.lanes=e.lanes,on(e,t,o)}return Lu(e,t,n,r,o)}function Xm(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},ie(Wr,Ge),Ge|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ie(Wr,Ge),Ge|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,ie(Wr,Ge),Ge|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,ie(Wr,Ge),Ge|=r;return Ie(e,t,o,n),t.child}function qm(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}
vendor: 6,557 bytes, line 40
40function Lu(e,t,n,r,o){var i=Qe(n)?hr:Me.current;return i=co(t,i),Xr(t,o),n=Uc(e,t,n,r,i,o),r=Bc(),e!==null&&!He?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,on(e,t,o)):(ce&&r&&Nc(t),t.flags|=1,Ie(e,t,n,o),t.child)}function zf(e,t,n,r,o){if(Qe(n)){var i=!0;Xs(t)}else i=!1;if(Xr(t,o),t.stateNode===null)Rs(e,t),Km(t,n,r),Au(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=ut(u):(u=Qe(n)?hr:Me.current,u=co(t,u));var d=n.getDerivedStateFromProps,c=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";c||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&jf(t,s,r,u),En=!1;var h=t.memoizedState;s.state=h,ta(t,r,s,o),l=t.memoizedState,a!==r||h!==l||Ke.current||En?(typeof d=="function"&&(Nu(t,n,d,r),l=t.memoizedState),(a=En||Of(t,n,a,r,h,l,u))?(c||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Pm(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:yt(t.type,a),s.props=u,c=t.pendingProps,h=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=ut(l):(l=Qe(n)?hr:Me.current,l=co(t,l));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==c||h!==l)&&jf(t,s,r,l),En=!1,h=t.memoizedState,s.state=h,ta(t,r,s,o);var S=t.memoizedState;a!==c||h!==S||Ke.current||En?(typeof p=="function"&&(Nu(t,n,p,r),S=t.memoizedState),(u=En||Of(t,n,u,r,h,S,l)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,S,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,S,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=S),s.props=r,s.state=S,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Ou(e,t,n,r,i,o)}function Ou(e,t,n,r,o,i){qm(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Pf(t,n,!1),on(e,t,i);r=t.stateNode,Qx.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=po(t,e.child,null,i),t.child=po(t,null,a,i)):Ie(e,t,a,i),t.memoizedState=r.state,o&&Pf(t,n,!0),t.child}function Zm(e){var t=e.stateNode;t.pendingContext?Cf(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Cf(e,t.context,!1),Ic(e,t.containerInfo)}function Uf(e,t,n,r,o){return fo(),_c(o),t.flags|=256,Ie(e,t,n,r),t.child}var ju={dehydrated:null,treeContext:null,retryLane:0};function Mu(e){return{baseLanes:e,cachePool:null,transitions:null}}function Jm(e,t,n){var r=t.pendingProps,o=fe.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),ie(fe,o&1),e===null)return Ru(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=La(s,r,0,null),e=pr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Mu(n),t.memoizedState=ju,e):Hc(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return Yx(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Un(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Un(a,i):(i=pr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Mu(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=ju,r}return i=e.child,e=i.sibling,r=Un(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 Hc(e,t){return t=La({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function ns(e,t,n,r){return r!==null&&_c(r),po(t,e.child,null,n),e=Hc(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Yx(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Nl(Error(j(422))),ns(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=La({mode:"visible",children:r.children},o,0,null),i=pr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&po(t,e.child,null,s),t.child.memoizedState=Mu(s),t.memoizedState=ju,i);if(!(t.mode&1))return ns(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(j(419)),r=Nl(i,r,void 0),ns(e,t,s,r)}if(a=(s&e.childLanes)!==0,He||a){if(r=Ce,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,rn(e,o),Pt(r,e,o,-1))}return qc(),r=Nl(Error(j(421))),ns(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=a1.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,qe=In(o.nextSibling),Ze=t,ce=!0,Et=null,e!==null&&(it[st++]=qt,it[st++
vendor: 6,367 bytes, line 40
40]=Zt,it[st++]=mr,qt=e.id,Zt=e.overflow,mr=t),t=Hc(t,r.children),t.flags|=4096,t)}function Bf(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Tu(e.return,t,n)}function Al(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 ev(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ie(e,t,r.children,n),r=fe.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&&Bf(e,n,t);else if(e.tag===19)Bf(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(ie(fe,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&&na(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Al(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&&na(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Al(t,!0,n,null,i);break;case"together":Al(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Rs(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function on(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),gr|=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=Un(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Un(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function Gx(e,t,n){switch(t.tag){case 3:Zm(t),fo();break;case 5:km(t);break;case 1:Qe(t.type)&&Xs(t);break;case 4:Ic(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;ie(Js,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(ie(fe,fe.current&1),t.flags|=128,null):n&t.child.childLanes?Jm(e,t,n):(ie(fe,fe.current&1),e=on(e,t,n),e!==null?e.sibling:null);ie(fe,fe.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return ev(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),ie(fe,fe.current),r)break;return null;case 22:case 23:return t.lanes=0,Xm(e,t,n)}return on(e,t,n)}var tv,Du,nv,rv;tv=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}};Du=function(){};nv=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ir(Ut.current);var i=null;switch(n){case"input":o=ou(e,o),r=ou(e,r),i=[];break;case"select":o=me({},o,{value:void 0}),r=me({},r,{value:void 0}),i=[];break;case"textarea":o=au(e,o),r=au(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ys)}uu(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(oi.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(oi.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&ae("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};rv=function(e,t,n,r){n!==r&&(t.flags|=4)};function $o(e,t){if(!ce)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 Le(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 Xx(e,t,n){var r=t.pendingProps;switch(Ac(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Le(t),null;case 1:return Qe(t.type)&&Gs(),Le(t),null;case 3:return r=t.stateNode,ho(),le(Ke),le(Me),$c(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(es(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Et!==null&&(Wu(Et),Et=null))),Du(e,t),Le(t),null;case 5:Fc(t);var o=ir(vi.current);if(n=t.type,e!==null&&t.stateNode!=null)nv(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 Le(t),null}if(e=ir(Ut.current),es(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Ft]=t,r[hi]=i,e=(t.mode&1)!==0,n){case"dialog":ae("cancel",r),ae("close",r);break;case"iframe":case"object":case"embed":ae("load",r);break;case"video":case"audio":for(o=0;o<Qo.length;o++)ae(Qo[o],r);break;case"source":ae("error",r);break;case"img":case"image":case"link":ae("error",r),ae("load",r);break;case"details":ae("toggle",r);break;case"input":Xd(r,i),ae("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ae("invalid",r);break;case"textarea":Zd(r,i),ae("invalid",r)}uu(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 28,864 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Ji(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Ji(r.textContent,a,e),o=["children",""+a]):oi.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&ae("scroll",r)}switch(n){case"input":Hi(r),qd(r,i,!0);break;case"textarea":Hi(r),Jd(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Ys)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=_h(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Ft]=t,e[hi]=r,tv(e,t,!1,!1),t.stateNode=e;e:{switch(s=cu(n,r),n){case"dialog":ae("cancel",e),ae("close",e),o=r;break;case"iframe":case"object":case"embed":ae("load",e),o=r;break;case"video":case"audio":for(o=0;o<Qo.length;o++)ae(Qo[o],e);o=r;break;case"source":ae("error",e),o=r;break;case"img":case"image":case"link":ae("error",e),ae("load",e),o=r;break;case"details":ae("toggle",e),o=r;break;case"input":Xd(e,r),o=ou(e,r),ae("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=me({},r,{value:void 0}),ae("invalid",e);break;case"textarea":Zd(e,r),o=au(e,r),ae("invalid",e);break;default:o=r}uu(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?jh(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Lh(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&ii(e,l):typeof l=="number"&&ii(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(oi.hasOwnProperty(i)?l!=null&&i==="onScroll"&&ae("scroll",e):l!=null&&mc(e,i,l,s))}switch(n){case"input":Hi(e),qd(e,r,!1);break;case"textarea":Hi(e),Jd(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Bn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Kr(e,!!r.multiple,i,!1):r.defaultValue!=null&&Kr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Ys)}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 Le(t),null;case 6:if(e&&t.stateNode!=null)rv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(j(166));if(n=ir(vi.current),ir(Ut.current),es(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ft]=t,(i=r.nodeValue!==n)&&(e=Ze,e!==null))switch(e.tag){case 3:Ji(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ji(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ft]=t,t.stateNode=r}return Le(t),null;case 13:if(le(fe),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&&qe!==null&&t.mode&1&&!(t.flags&128))Sm(),fo(),t.flags|=98560,i=!1;else if(i=es(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[Ft]=t}else fo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Le(t),i=!1}else Et!==null&&(Wu(Et),Et=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||fe.current&1?be===0&&(be=3):qc())),t.updateQueue!==null&&(t.flags|=4),Le(t),null);case 4:return ho(),Du(e,t),e===null&&fi(t.stateNode.containerInfo),Le(t),null;case 10:return jc(t.type._context),Le(t),null;case 17:return Qe(t.type)&&Gs(),Le(t),null;case 19:if(le(fe),i=t.memoizedState,i===null)return Le(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)$o(i,!1);else{if(be!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=na(e),s!==null){for(t.flags|=128,$o(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ie(fe,fe.current&1|2),t.child}e=e.sibling}i.tail!==null&&ye()>vo&&(t.flags|=128,r=!0,$o(i,!1),t.lanes=4194304)}else{if(!r)if(e=na(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),$o(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ce)return Le(t),null}else 2*ye()-i.renderingStartTime>vo&&n!==1073741824&&(t.flags|=128,r=!0,$o(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=ye(),t.sibling=null,n=fe.current,ie(fe,r?n&1|2:n&1),t):(Le(t),null);case 22:case 23:return Xc(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Ge&1073741824&&(Le(t),t.subtreeFlags&6&&(t.flags|=8192)):Le(t),null;case 24:return null;case 25:return null}throw Error(j(156,t.tag))}function qx(e,t){switch(Ac(t),t.tag){case 1:return Qe(t.type)&&Gs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ho(),le(Ke),le(Me),$c(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Fc(t),null;case 13:if(le(fe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(j(340));fo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return le(fe),null;case 4:return ho(),null;case 10:return jc(t.type._context),null;case 22:case 23:return Xc(),null;case 24:return null;default:return null}}var rs=!1,je=!1,Zx=typeof WeakSet=="function"?WeakSet:Set,F=null;function Vr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ge(e,t,r)}else n.current=null}function Iu(e,t,n){try{n()}catch(r){ge(e,t,r)}}var Vf=!1;function Jx(e,t){if(xu=Hs,e=lm(),Tc(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,d=0,c=e,h=null;t:for(;;){for(var p;c!==n||o!==0&&c.nodeType!==3||(a=s+o),c!==i||r!==0&&c.nodeType!==3||(l=s+r),c.nodeType===3&&(s+=c.nodeValue.length),(p=c.firstChild)!==null;)h=c,c=p;for(;;){if(c===e)break t;if(h===n&&++u===o&&(a=s),h===i&&++d===r&&(l=s),(p=c.nextSibling)!==null)break;c=h,h=c.parentNode}c=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(Su={focusedElem:e,selectionRange:n},Hs=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var S=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(S!==null){var m=S.memoizedProps,x=S.memoizedState,g=t.stateNode,v=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:yt(t.type,m),x);g.__reactInternalSnapshotBeforeUpdate=v}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(j(163))}}catch(b){ge(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return S=Vf,Vf=!1,S}function ei(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&&Iu(t,n,i)}o=o.next}while(o!==r)}}function Aa(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 Fu(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 ov(e){var t=e.alternate;t!==null&&(e.alternate=null,ov(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ft],delete t[hi],delete t[Cu],delete t[Mx],delete t[Dx])),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 iv(e){return e.tag===5||e.tag===3||e.tag===4}function Wf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||iv(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 $u(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=Ys));else if(r!==4&&(e=e.child,e!==null))for($u(e,t,n),e=e.sibling;e!==null;)$u(e,t,n),e=e.sibling}function zu(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(zu(e,t,n),e=e.sibling;e!==null;)zu(e,t,n),e=e.sibling}var Pe=null,bt=!1;function gn(e,t,n){for(n=n.child;n!==null;)sv(e,t,n),n=n.sibling}function sv(e,t,n){if(zt&&typeof zt.onCommitFiberUnmount=="function")try{zt.onCommitFiberUnmount(ba,n)}catch{}switch(n.tag){case 5:je||Vr(n,t);case 6:var r=Pe,o=bt;Pe=null,gn(e,t,n),Pe=r,bt=o,Pe!==null&&(bt?(e=Pe,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Pe.removeChild(n.stateNode));break;case 18:Pe!==null&&(bt?(e=Pe,n=n.stateNode,e.nodeType===8?El(e.parentNode,n):e.nodeType===1&&El(e,n),ui(e)):El(Pe,n.stateNode));break;case 4:r=Pe,o=bt,Pe=n.stateNode.containerInfo,bt=!0,gn(e,t,n),Pe=r,bt=o;break;case 0:case 11:case 14:case 15:if(!je&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Iu(n,t,s),o=o.next}while(o!==r)}gn(e,t,n);break;case 1:if(!je&&(Vr(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ge(n,t,a)}gn(e,t,n);break;case 21:gn(e,t,n);break;case 22:n.mode&1?(je=(r=je)||n.memoizedState!==null,gn(e,t,n),je=r):gn(e,t,n);break;default:gn(e,t,n)}}function Hf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new Zx),t.forEach(function(r){var o=l1.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function vt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Pe=a.stateNode,bt=!1;break e;case 3:Pe=a.stateNode.containerInfo,bt=!0;break e;case 4:Pe=a.stateNode.containerInfo,bt=!0;break e}a=a.return}if(Pe===null)throw Error(j(160));sv(i,s,o),Pe=null,bt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){ge(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)av(t,e),t=t.sibling}function av(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vt(t,e),Ot(e),r&4){try{ei(3,e,e.return),Aa(3,e)}catch(m){ge(e,e.return,m)}try{ei(5,e,e.return)}catch(m){ge(e,e.return,m)}}break;case 1:vt(t,e),Ot(e),r&512&&n!==null&&Vr(n,n.return);break;case 5:if(vt(t,e),Ot(e),r&512&&n!==null&&Vr(n,n.return),e.flags&32){var o=e.stateNode;try{ii(o,"")}catch(m){ge(e,e.return,m)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&Nh(o,i),cu(a,s);var u=cu(a,i);for(s=0;s<l.length;s+=2){var d=l[s],c=l[s+1];d==="style"?jh(o,c):d==="dangerouslySetInnerHTML"?Lh(o,c):d==="children"?ii(o,c):mc(o,d,c,u)}switch(a){case"input":iu(o,i);break;case"textarea":Ah(o,i);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?Kr(o,!!i.multiple,p,!1):h!==!!i.multiple&&(i.defaultValue!=null?Kr(o,!!i.multiple,i.defaultValue,!0):Kr(o,!!i.multiple,i.multiple?[]:"",!1))}o[hi]=i}catch(m){ge(e,e.return,m)}}break;case 6:if(vt(t,e),Ot(e),r&4){if(e.stateNode===null)throw Error(j(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(m){ge(e,e.return,m)}}break;case 3:if(vt(t,e),Ot(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{ui(t.containerInfo)}catch(m){ge(e,e.return,m)}break;case 4:vt(t,e),Ot(e);break;case 13:vt(t,e),Ot(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Yc=ye())),r&4&&Hf(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(je=(u=je)||d,vt(t,e),je=u):vt(t,e),Ot(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(F=e,d=e.child;d!==null;){for(c=F=d;F!==null;){switch(h=F,p=h.child,h.tag){case 0:case 11:case 14:case 15:ei(4,h,h.return);break;case 1:Vr(h,h.return);var S=h.stateNode;if(typeof S.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,S.props=t.memoizedProps,S.state=t.memoizedState,S.componentWillUnmount()}catch(m){ge(r,n,m)}}break;case 5:Vr(h,h.return);break;case 22:if(h.memoizedState!==null){Qf(c);continue}}p!==null?(p.return=h,F=p):Qf(c)}d=d.sibling}e:for(d=null,c=e;;){if(c.tag===5){if(d===null){d=c;try{o=c.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=c.stateNode,l=c.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Oh("display",s))}catch(m){ge(e,e.return,m)}}}else if(c.tag===6){if(d===null)try{c.stateNode.nodeValue=u?"":c.memoizedProps}catch(m){ge(e,e.return,m)}}else if((c.tag!==22&&c.tag!==23||c.memoizedState===null||c===e)&&c.child!==null){c.child.return=c,c=c.child;continue}if(c===e)break e;for(;c.sibling===null;){if(c.return===null||c.return===e)break e;d===c&&(d=null),c=c.return}d===c&&(d=null),c.sibling.return=c.return,c=c.sibling}}break;case 19:vt(t,e),Ot(e),r&4&&Hf(e);break;case 21:break;default:vt(t,e),Ot(e)}}function Ot(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(iv(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&&(ii(o,""),r.flags&=-33);var i=Wf(e);zu(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Wf(e);$u(e,a,s);break;default:throw Error(j(161))}}catch(l){ge(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function e1(e,t,n){F=e,lv(e)}function lv(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var o=F,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||rs;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||je;a=rs;var u=je;if(rs=s,(je=l)&&!u)for(F=o;F!==null;)s=F,l=s.child,s.tag===22&&s.memoizedState!==null?Yf(o):l!==null?(l.return=s,F=l):Yf(o);for(;i!==null;)F=i,lv(i),i=i.sibling;F=o,rs=a,je=u}Kf(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,F=i):Kf(e)}}function Kf(e){for(;F!==null;){var t=F;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:je||Aa(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!je)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&&Af(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Af(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;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 d=u.memoizedState;if(d!==null){var c=d.dehydrated;c!==null&&ui(c)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(j(163))}je||t.flags&512&&Fu(t)}catch(h){ge(t,t.return,h)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function Qf(e){for(;F!==null;){var t=F;if(t===e){F=null;break}var n=t.sibling;if(n!==null){n.return=t.return,F=n;break}F=t.return}}function Yf(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Aa(4,t)}catch(l){ge(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){ge(t,o,l)}}var i=t.return;try{Fu(t)}catch(l){ge(t,i,l)}break;case 5:var s=t.return;try{Fu(t)}catch(l){ge(t,s,l)}}}catch(l){ge(t,t.return,l)}if(t===e){F=null;break}var a=t.sibling;if(a!==null){a.return=t.return,F=a;break}F=t.return}}var t1=Math.ceil,ia=un.ReactCurrentDispatcher,Kc=un.ReactCurrentOwner,lt=un.ReactCurrentBatchConfig,q=0,Ce=null,xe=null,Re=0,Ge=0,Wr=Yn(0),be=0,xi=null,gr=0,_a=0,Qc=0,ti=null,We=null,Yc=0,vo=1/0,Yt=null,sa=!1,Uu=null,$n=null,os=!1,On=null,aa=0,ni=0,Bu=null,Ts=-1,Ns=0;function $e(){return q&6?ye():Ts!==-1?Ts:Ts=ye()}function zn(e){return e.mode&1?q&2&&Re!==0?Re&-Re:Fx.transition!==null?(Ns===0&&(Ns=Kh()),Ns):(e=ne,e!==0||(e=window.event,e=e===void 0?16:Jh(e.type)),e):1}function Pt(e,t,n,r){if(50<ni)throw ni=0,Bu=null,Error(j(185));Ni(e,n,r),(!(q&2)||e!==Ce)&&(e===Ce&&(!(q&2)&&(_a|=n),be===4&&Pn(e,Re)),Ye(e,r),n===1&&q===0&&!(t.mode&1)&&(vo=ye()+500,Ra&&Gn()))}function Ye(e,t){var n=e.callbackNode;Fw(e,t);var r=Ws(e,e===Ce?Re:0);if(r===0)n!==null&&nf(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&nf(n),t===1)e.tag===0?Ix(Gf.bind(null,e)):ym(Gf.bind(null,e)),Ox(function(){!(q&6)&&Gn()}),n=null;else{switch(Qh(r)){case 1:n=xc;break;case 4:n=Wh;break;case 16:n=Vs;break;case 536870912:n=Hh;break;default:n=Vs}n=vv(n,uv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function uv(e,t){if(Ts=-1,Ns=0,q&6)throw Error(j(327));var n=e.callbackNode;if(qr()&&e.callbackNode!==n)return null;var r=Ws(e,e===Ce?Re:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=la(e,r);else{t=r;var o=q;q|=2;var i=dv();(Ce!==e||Re!==t)&&(Yt=null,vo=ye()+500,fr(e,t));do try{o1();break}catch(a){cv(e,a)}while(!0);Oc(),ia.current=i,q=o,xe!==null?t=0:(Ce=null,Re=0,t=be)}if(t!==0){if(t===2&&(o=mu(e),o!==0&&(r=o,t=Vu(e,o))),t===1)throw n=xi,fr(e,0),Pn(e,r),Ye(e,ye()),n;if(t===6)Pn(e,r);else{if(o=e.current.alternate,!(r&30)&&!n1(o)&&(t=la(e,r),t===2&&(i=mu(e),i!==0&&(r=i,t=Vu(e,i))),t===1))throw n=xi,fr(e,0),Pn(e,r),Ye(e,ye()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(j(345));case 2:nr(e,We,Yt);break;case 3:if(Pn(e,r),(r&130023424)===r&&(t=Yc+500-ye(),10<t)){if(Ws(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){$e(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Eu(nr.bind(null,e,We,Yt),t);break}nr(e,We,Yt);break;case 4:if(Pn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-Ct(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=ye()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*t1(r/1960))-r,10<r){e.timeoutHandle=Eu(nr.bind(null,e,We,Yt),r);break}nr(e,We,Yt);break;case 5:nr(e,We,Yt);break;default:throw Error(j(329))}}}return Ye(e,ye()),e.callbackNode===n?uv.bind(null,e):null}function Vu(e,t){var n=ti;return e.current.memoizedState.isDehydrated&&(fr(e,t).flags|=256),e=la(e,t),e!==2&&(t=We,We=n,t!==null&&Wu(t)),e}function Wu(e){We===null?We=e:We.push.apply(We,e)}function n1(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(!kt(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 Pn(e,t){for(t&=~Qc,t&=~_a,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ct(t),r=1<<n;e[n]=-1,t&=~r}}function Gf(e){if(q&6)throw Error(j(327));qr();var t=Ws(e,0);if(!(t&1))return Ye(e,ye()),null;var n=la(e,t);if(e.tag!==0&&n===2){var r=mu(e);r!==0&&(t=r,n=Vu(e,r))}if(n===1)throw n=xi,fr(e,0),Pn(e,t),Ye(e,ye()),n;if(n===6)throw Error(j(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,nr(e,We,Yt),Ye(e,ye()),null}function Gc(e,t){var n=q;q|=1;try{return e(t)}finally{q=n,q===0&&(vo=ye()+500,Ra&&Gn())}}function yr(e){On!==null&&On.tag===0&&!(q&6)&&qr();var t=q;q|=1;var n=lt.transition,r=ne;try{if(lt.transition=null,ne=1,e)return e()}finally{ne=r,lt.transition=n,q=t,!(q&6)&&Gn()}}function Xc(){Ge=Wr.current,le(Wr)}function fr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Lx(n)),xe!==null)for(n=xe.return;n!==null;){var r=n;switch(Ac(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Gs();break;case 3:ho(),le(Ke),le(Me),$c();break;case 5:Fc(r);break;case 4:ho();break;case 13:le(fe);break;case 19:le(fe);break;case 10:jc(r.type._context);break;case 22:case 23:Xc()}n=n.return}if(Ce=e,xe=e=Un(e.current,null),Re=Ge=t,be=0,xi=null,Qc=_a=gr=0,We=ti=null,or!==null){for(t=0;t<or.length;t++)if(n=or[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}or=null}return e}function cv(e,t){do{var n=xe;try{if(Oc(),Ps.current=oa,ra){for(var r=pe.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}ra=!1}if(vr=0,Ee=Se=pe=null,Jo=!1,gi=0,Kc.current=null,n===null||n.return===null){be=1,xi=t,xe=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=Re,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,d=a,c=d.tag;if(!(d.mode&1)&&(c===0||c===11||c===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=Df(s);if(p!==null){p.flags&=-257,If(p,s,a,i,t),p.mode&1&&Mf(i,u,t),t=p,l=u;var S=t.updateQueue;if(S===null){var m=new Set;m.add(l),t.updateQueue=m}else S.add(l);break e}else{if(!(t&1)){Mf(i,u,t),qc();break e}l=Error(j(426))}}else if(ce&&a.mode&1){var x=Df(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),If(x,s,a,i,t),_c(mo(l,a));break e}}i=l=mo(l,a),be!==4&&(be=2),ti===null?ti=[i]:ti.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=Qm(i,l,t);Nf(i,g);break e;case 1:a=l;var v=i.type,y=i.stateNode;if(!(i.flags&128)&&(typeof v.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&($n===null||!$n.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t;var b=Ym(i,a,t);Nf(i,b);break e}}i=i.return}while(i!==null)}pv(n)}catch(E){t=E,xe===n&&n!==null&&(xe=n=n.return);continue}break}while(!0)}function dv(){var e=ia.current;return ia.current=oa,e===null?oa:e}function qc(){(be===0||be===3||be===2)&&(be=4),Ce===null||!(gr&268435455)&&!(_a&268435455)||Pn(Ce,Re)}function la(e,t){var n=q;q|=2;var r=dv();(Ce!==e||Re!==t)&&(Yt=null,fr(e,t));do try{r1();break}catch(o){cv(e,o)}while(!0);if(Oc(),q=n,ia.current=r,xe!==null)throw Error(j(261));return Ce=null,Re=0,be}function r1(){for(;xe!==null;)fv(xe)}function o1(){for(;xe!==null&&!Nw();)fv(xe)}function fv(e){var t=mv(e.alternate,e,Ge);e.memoizedProps=e.pendingProps,t===null?pv(e):xe=t,Kc.current=null}function pv(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=qx(n,t),n!==null){n.flags&=32767,xe=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{be=6,xe=null;return}}else if(n=Xx(n,t,Ge),n!==null){xe=n;return}if(t=t.sibling,t!==null){xe=t;return}xe=t=e}while(t!==null);be===0&&(be=5)}function nr(e,t,n){var r=ne,o=lt.transition;try{lt.transition=null,ne=1,i1(e,t,n,r)}finally{lt.transition=o,ne=r}return null}function i1(e,t,n,r){do qr();while(On!==null);if(q&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($w(e,i),e===Ce&&(xe=Ce=null,Re=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||os||(os=!0,vv(Vs,function(){return qr(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=lt.transition,lt.transition=null;var s=ne;ne=1;var a=q;q|=4,Kc.current=null,Jx(e,n),av(n,e),Px(Su),Hs=!!xu,Su=xu=null,e.current=n,e1(n),Aw(),q=a,ne=s,lt.transition=i}else e.current=n;if(os&&(os=!1,On=e,aa=o),i=e.pendingLanes,i===0&&($n=null),Ow(n.stateNode),Ye(e,ye()),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(sa)throw sa=!1,e=Uu,Uu=null,e;return aa&1&&e.tag!==0&&qr(),i=e.pendingLanes,i&1?e===Bu?ni++:(ni=0,Bu=e):ni=0,Gn(),null}function qr(){if(On!==null){var e=Qh(aa),t=lt.transition,n=ne;try{if(lt.transition=null,ne=16>e?16:e,On===null)var r=!1;else{if(e=On,On=null,aa=0,q&6)throw Error(j(331));var o=q;for(q|=4,F=e.current;F!==null;){var i=F,s=i.child;if(F.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(F=u;F!==null;){var d=F;switch(d.tag){case 0:case 11:case 15:ei(8,d,i)}var c=d.child;if(c!==null)c.return=d,F=c;else for(;F!==null;){d=F;var h=d.sibling,p=d.return;if(ov(d),d===u){F=null;break}if(h!==null){h.return=p,F=h;break}F=p}}}var S=i.alternate;if(S!==null){var m=S.child;if(m!==null){S.child=null;do{var x=m.sibling;m.sibling=null,m=x}while(m!==null)}}F=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,F=s;else e:for(;F!==null;){if(i=F,i.flags&2048)switch(i.tag){case 0:case 11:case 15:ei(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,F=g;break e}F=i.return}}var v=e.current;for(F=v;F!==null;){s=F;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,F=y;else e:for(s=v;F!==null;){if(a=F,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Aa(9,a)}}catch(E){ge(a,a.return,E)}if(a===s){F=null;break e}var b=a.sibling;if(b!==null){b.return=a.return,F=b;break e}F=a.return}}if(q=o,Gn(),zt&&typeof zt.onPostCommitFiberRoot=="function")try{zt.onPostCommitFiberRoot(ba,e)}catch{}r=!0}return r}finally{ne=n,lt.transition=t}}return!1}function Xf(e,t,n){t=mo(n,t),t=Qm(e,t,1),e=Fn(e,t,1),t=$e(),e!==null&&(Ni(e,1,t),Ye(e,t))}function ge(e,t,n){if(e.tag===3)Xf(e,e,n);else for(;t!==null;){if(t.tag===3){Xf(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&($n===null||!$n.has(r))){e=mo(n,e),e=Ym(t,e,1),t=Fn(t,e,1),e=$e(),t!==null&&(Ni(t,1,e),Ye(t,e));break}}t=t.return}}function s1(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=$e(),e.pingedLanes|=e.suspendedLanes&n,Ce===e&&(Re&n)===n&&(be===4||be===3&&(Re&130023424)===Re&&500>ye()-Yc?fr(e,0):Qc|=n),Ye(e,t)}function hv(e,t){t===0&&(e.mode&1?(t=Yi,Yi<<=1,!(Yi&130023424)&&(Yi=4194304)):t=1);var n=$e();e=rn(e,t),e!==null&&(Ni(e,t,n),Ye(e,n))}function a1(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),hv(e,n)}function l1(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),hv(e,n)}var mv;mv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ke.current)He=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return He=!1,Gx(e,t,n);He=!!(e.flags&131072)}else He=!1,ce&&t.flags&1048576&&wm(t,Zs,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Rs(e,t),e=t.pendingProps;var o=co(t,Me.current);Xr(t,n),o=Uc(null,t,r,e,o,n);var i=Bc();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,Qe(r)?(i=!0,Xs(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Dc(t),o.updater=Na,t.stateNode=o,o._reactInternals=t,Au(t,r,e,n),t=Ou(null,t,r,!0,i,n)):(t.tag=0,ce&&i&&Nc(t),Ie(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Rs(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=c1(r),e=yt(r,e),o){case 0:t=Lu(null,t,r,e,n);break e;case 1:t=zf(null,t,r,e,n);break e;case 11:t=Ff(null,t,r,e,n);break e;case 14:t=$f(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),Lu(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),zf(e,t,r,o,n);case 3:e:{if(Zm(t),e===null)throw Error(j(387));
vendor: 5,444 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,Pm(e,t),ta(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=mo(Error(j(423)),t),t=Uf(e,t,r,n,o);break e}else if(r!==o){o=mo(Error(j(424)),t),t=Uf(e,t,r,n,o);break e}else for(qe=In(t.stateNode.containerInfo.firstChild),Ze=t,ce=!0,Et=null,n=Em(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(fo(),r===o){t=on(e,t,n);break e}Ie(e,t,r,n)}t=t.child}return t;case 5:return km(t),e===null&&Ru(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,bu(r,o)?s=null:i!==null&&bu(r,i)&&(t.flags|=32),qm(e,t),Ie(e,t,s,n),t.child;case 6:return e===null&&Ru(t),null;case 13:return Jm(e,t,n);case 4:return Ic(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=po(t,null,r,n):Ie(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),Ff(e,t,r,o,n);case 7:return Ie(e,t,t.pendingProps,n),t.child;case 8:return Ie(e,t,t.pendingProps.children,n),t.child;case 12:return Ie(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,ie(Js,r._currentValue),r._currentValue=s,i!==null)if(kt(i.value,s)){if(i.children===o.children&&!Ke.current){t=on(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=Jt(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?l.next=l:(l.next=d.next,d.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),Tu(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(j(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),Tu(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ie(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Xr(t,n),o=ut(o),r=r(o),t.flags|=1,Ie(e,t,r,n),t.child;case 14:return r=t.type,o=yt(r,t.pendingProps),o=yt(r.type,o),$f(e,t,r,o,n);case 15:return Gm(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:yt(r,o),Rs(e,t),t.tag=1,Qe(r)?(e=!0,Xs(t)):e=!1,Xr(t,n),Km(t,r,o),Au(t,r,o,n),Ou(null,t,r,!0,e,n);case 19:return ev(e,t,n);case 22:return Xm(e,t,n)}throw Error(j(156,t.tag))};function vv(e,t){return Vh(e,t)}function u1(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function at(e,t,n,r){return new u1(e,t,n,r)}function Zc(e){return e=e.prototype,!(!e||!e.isReactComponent)}function c1(e){if(typeof e=="function")return Zc(e)?1:0;if(e!=null){if(e=e.$$typeof,e===gc)return 11;if(e===yc)return 14}return 2}function Un(e,t){var n=e.alternate;return n===null?(n=at(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 As(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Zc(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case jr:return pr(n.children,o,i,t);case vc:s=8,o|=8;break;case eu:return e=at(12,n,t,o|2),e.elementType=eu,e.lanes=i,e;case tu:return e=at(13,n,t,o),e.elementType=tu,e.lanes=i,e;case nu:return e=at(19,n,t,o),e.elementType=nu,e.lanes=i,e;case kh:return La(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ch:s=10;break e;case Ph:s=9;break e;case gc:s=11;break e;case yc:s=14;break e;case bn:s=16,r=null;break e}throw Error(j(130,e==null?e:typeof e,""))}return t=at(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function pr(e,t,n,r){return e=at(7,e,r,t),e.lanes=n,e}function La(e,t,n,r){return e=at(22,e,r,t),e.elementType=kh,e.lanes=n,e.stateNode={isHidden:!1},e}function _l(e,t,n){return e=at(6,e,null,t),e.lanes=n,e}function Ll(e,t,n){return t=at(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function d1(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=fl(0),this.expirationTimes=fl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=fl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}
vendor: 4,920 bytes, line 40
40function Jc(e,t,n,r,o,i,s,a,l){return e=new d1(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=at(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Dc(i),e}function f1(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Or,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function gv(e){if(!e)return Vn;e=e._reactInternals;e:{if(br(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(Qe(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(Qe(n))return gm(e,n,t)}return t}function yv(e,t,n,r,o,i,s,a,l){return e=Jc(n,r,!0,e,o,i,s,a,l),e.context=gv(null),n=e.current,r=$e(),o=zn(n),i=Jt(r,o),i.callback=t??null,Fn(n,i,o),e.current.lanes=o,Ni(e,o,r),Ye(e,r),e}function Oa(e,t,n,r){var o=t.current,i=$e(),s=zn(o);return n=gv(n),t.context===null?t.context=n:t.pendingContext=n,t=Jt(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Fn(o,t,s),e!==null&&(Pt(e,o,s,i),Cs(e,o,s)),s}function ua(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 qf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function ed(e,t){qf(e,t),(e=e.alternate)&&qf(e,t)}function p1(){return null}var wv=typeof reportError=="function"?reportError:function(e){console.error(e)};function td(e){this._internalRoot=e}ja.prototype.render=td.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(j(409));Oa(e,t,null,null)};ja.prototype.unmount=td.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;yr(function(){Oa(null,e,null,null)}),t[nn]=null}};function ja(e){this._internalRoot=e}ja.prototype.unstable_scheduleHydration=function(e){if(e){var t=Xh();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Cn.length&&t!==0&&t<Cn[n].priority;n++);Cn.splice(n,0,e),n===0&&Zh(e)}};function nd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ma(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Zf(){}function h1(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=ua(s);i.call(u)}}var s=yv(t,r,e,0,null,!1,!1,"",Zf);return e._reactRootContainer=s,e[nn]=s.current,fi(e.nodeType===8?e.parentNode:e),yr(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=ua(l);a.call(u)}}var l=Jc(e,0,!1,null,null,!1,!1,"",Zf);return e._reactRootContainer=l,e[nn]=l.current,fi(e.nodeType===8?e.parentNode:e),yr(function(){Oa(t,l,n,r)}),l}function Da(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=ua(s);a.call(l)}}Oa(t,s,e,o)}else s=h1(n,t,e,o,r);return ua(s)}Yh=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ko(t.pendingLanes);n!==0&&(Sc(t,n|1),Ye(t,ye()),!(q&6)&&(vo=ye()+500,Gn()))}break;case 13:yr(function(){var r=rn(e,1);if(r!==null){var o=$e();Pt(r,e,1,o)}}),ed(e,1)}};bc=function(e){if(e.tag===13){var t=rn(e,134217728);if(t!==null){var n=$e();Pt(t,e,134217728,n)}ed(e,134217728)}};Gh=function(e){if(e.tag===13){var t=zn(e),n=rn(e,t);if(n!==null){var r=$e();Pt(n,e,t,r)}ed(e,t)}};Xh=function(){return ne};qh=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}};fu=function(e,t,n){switch(t){case"input":if(iu(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=ka(r);if(!o)throw Error(j(90));Th(r),iu(r,o)}}}break;case"textarea":Ah(e,n);break;case"select":t=n.value,t!=null&&Kr(e,!!n.multiple,t,!1)}};Ih=Gc;Fh=yr;var m1={usingClientEntryPoint:!1,Events:[_i,Fr,ka,Mh,Dh,Gc]},zo={findFiberByHostInstance:rr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},v1={bundleType:zo.bundleType,version:zo.version,rendererPackageName:zo.rendererPackageName,rendererConfig:zo.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:un.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Uh(e),e===null?null:e.stateNode},findFiberByHostInstance:zo.findFiberByHostInstance||p1,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var is=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!is.isDisabled&&is.supportsFiber)try{ba=is.inject(v1),zt=is}catch{}}tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=m1;tt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!nd(t))throw Error(j(200));return f1(e,t,null,n)};tt.createRoot=function(e,t){if(!nd(e))throw Error(j(299));var n=!1,r="",o=wv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=Jc(e,1,!1,null,null,n,!1,r,o),e[nn]=t.current,fi(e.nodeType===8?e.parentNode:e),new td(t)};tt.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=Uh(t),e=e===null?null:e.stateNode,e};tt.flushSync=function(e){return yr(e)};tt.hydrate=function(e,t,n){if(!Ma(t))throw Error(j(200));return Da(null,e,t,!0,n)};tt.hydrateRoot=function(e,t,n){if(!nd(e))throw Error(j(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=wv;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=yv(t,null,e,1,n??null,o,!1,i,s),e[nn]=t.current,fi(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 ja(t)};tt.render=function(e,t,n){if(!Ma(t))throw Error(j(200));return Da(null,e,t,!1,n)};tt.unmountComponentAtNode=function(e){if(!Ma(e))throw Error(j(40));return e._reactRootContainer?(yr(function(){Da(null,null,e,!1,function(){e._reactRootContainer=null,e[nn]=null})}),!0):!1};tt.unstable_batchedUpdates=Gc;tt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ma(n))throw Error(j(200));if(e==null||e._reactInternals===void 0)throw Error(j(38));return Da(e,t,n,!1,r)};tt.version="18.3.1-next-f1338f8080-20240426";function xv(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(xv)}catch(e){console.error(e)}}xv(),xh.exports=tt;var Oi=xh.exports;const Sv=ah(Oi);var bv,Jf=Oi;bv=Jf.createRoot,Jf.hydrateRoot;const g1=1,y1=1e6;let Ol=0;function w1(){return Ol=(Ol+1)%Number.MAX_SAFE_INTEGER,Ol.toString()}const jl=new Map,ep=e=>{if(jl.has(e))return;const t=setTimeout(()=>{jl.delete(e),ri({type:"REMOVE_TOAST",toastId:e})},y1);jl.set(e,t)},x1=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,g1)};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?ep(n):e.toasts.forEach(r=>{ep(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)}}},_s=[];let Ls={toasts:[]};function ri(e){Ls=x1(Ls,e),_s.forEach(t=>{t(Ls)})}function S1({...e}){const t=w1(),n=o=>ri({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>ri({type:"DISMISS_TOAST",toastId:t});return ri({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function b1(){const[e,t]=f.useState(Ls);return f.useEffect(()=>(_s.push(t),()=>{const n=_s.indexOf(t);n>-1&&_s.splice(n,1)}),[e]),{...e,toast:S1,dismiss:n=>ri({type:"DISMISS_TOAST",toastId:n})}}function ee(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 tp(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Ev(...e){return t=>{let n=!1;const r=e.map(o=>{const i=tp(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():tp(e[o],null)}}}}function oe(...e){return f.useCallback(Ev(...e),e)}function E1(e,t){const n=f.createContext(t),r=i=>{const{children:s,...a}=i,l=f.useMemo(()=>a,Object.values(a));return w.jsx(n.Provider,{value:l,children:s})};r.displayName=e+"Provider";function o(i){const s=f.useContext(n);if(s)return s;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,o]}function Xn(e,t=[]){let n=[];function r(i,s){const a=f.createContext(s),l=n.length;n=[...n,s];const u=c=>{var g;const{scope:h,children:p,...S}=c,m=((g=h==null?void 0:h[e])==null?void 0:g[l])||a,x=f.useMemo(()=>S,Object.values(S));return w.jsx(m.Provider,{value:x,children:p})};u.displayName=i+"Provider";function d(c,h){var m;const p=((m=h==null?void 0:h[e])==null?void 0:m[l])||a,S=f.useContext(p);if(S)return S;if(s!==void 0)return s;throw new Error(`\`${c}\` must be used within \`${i}\``)}return[u,d]}const o=()=>{const i=n.map(s=>f.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return f.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,C1(o,...t)]}function C1(...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 s=r.reduce((a,{useScope:l,scopeName:u})=>{const c=l(i)[`__scope${u}`];return{...a,...c}},{});return f.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function ca(e){const t=P1(e),n=f.forwardRef((r,o)=>{const{children:i,...s}=r,a=f.Children.toArray(i),l=a.find(R1);if(l){const u=l.props.children,d=a.map(c=>c===l?f.Children.count(u)>1?f.Children.only(null):f.isValidElement(u)?u.props.children:null:c);return w.jsx(t,{...s,ref:o,children:f.isValidElement(u)?f.cloneElement(u,void 0,d):null})}return w.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function P1(e){const t=f.forwardRef((n,r)=>{const{children:o,...i}=n;
vendor: 9,978 bytes, line 40
40if(f.isValidElement(o)){const s=N1(o),a=T1(i,o.props);return o.type!==f.Fragment&&(a.ref=r?Ev(r,s):s),f.cloneElement(o,a)}return f.Children.count(o)>1?f.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Cv=Symbol("radix.slottable");function k1(e){const t=({children:n})=>w.jsx(w.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=Cv,t}function R1(e){return f.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Cv}function T1(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]=(...a)=>{const l=i(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function N1(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 Pv(e){const t=e+"CollectionProvider",[n,r]=Xn(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=m=>{const{scope:x,children:g}=m,v=D.useRef(null),y=D.useRef(new Map).current;return w.jsx(o,{scope:x,itemMap:y,collectionRef:v,children:g})};s.displayName=t;const a=e+"CollectionSlot",l=ca(a),u=D.forwardRef((m,x)=>{const{scope:g,children:v}=m,y=i(a,g),b=oe(x,y.collectionRef);return w.jsx(l,{ref:b,children:v})});u.displayName=a;const d=e+"CollectionItemSlot",c="data-radix-collection-item",h=ca(d),p=D.forwardRef((m,x)=>{const{scope:g,children:v,...y}=m,b=D.useRef(null),E=oe(x,b),C=i(d,g);return D.useEffect(()=>(C.itemMap.set(b,{ref:b,...y}),()=>void C.itemMap.delete(b))),w.jsx(h,{[c]:"",ref:E,children:v})});p.displayName=d;function S(m){const x=i(e+"CollectionConsumer",m);return D.useCallback(()=>{const v=x.collectionRef.current;if(!v)return[];const y=Array.from(v.querySelectorAll(`[${c}]`));return Array.from(x.itemMap.values()).sort((C,P)=>y.indexOf(C.ref.current)-y.indexOf(P.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:s,Slot:u,ItemSlot:p},S,r]}var A1=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Z=A1.reduce((e,t)=>{const n=ca(`Primitive.${t}`),r=f.forwardRef((o,i)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),w.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function kv(e,t){e&&Oi.flushSync(()=>e.dispatchEvent(t))}function ke(e){const t=f.useRef(e);return f.useEffect(()=>{t.current=e}),f.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function _1(e,t=globalThis==null?void 0:globalThis.document){const n=ke(e);f.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 L1="DismissableLayer",Hu="dismissableLayer.update",O1="dismissableLayer.pointerDownOutside",j1="dismissableLayer.focusOutside",np,Rv=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Ia=f.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=f.useContext(Rv),[d,c]=f.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=f.useState({}),S=oe(t,P=>c(P)),m=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=m.indexOf(x),v=d?m.indexOf(d):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,b=v>=g,E=D1(P=>{const R=P.target,T=[...u.branches].some(A=>A.contains(R));!b||T||(o==null||o(P),s==null||s(P),P.defaultPrevented||a==null||a())},h),C=I1(P=>{const R=P.target;[...u.branches].some(A=>A.contains(R))||(i==null||i(P),s==null||s(P),P.defaultPrevented||a==null||a())},h);return _1(P=>{v===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},h),f.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(np=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),rp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=np)}},[d,h,n,u]),f.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),rp())},[d,u]),f.useEffect(()=>{const P=()=>p({});return document.addEventListener(Hu,P),()=>document.removeEventListener(Hu,P)},[]),w.jsx(Z.div,{...l,ref:S,style:{pointerEvents:y?b?"auto":"none":void 0,...e.style},onFocusCapture:ee(e.onFocusCapture,C.onFocusCapture),onBlurCapture:ee(e.onBlurCapture,C.onBlurCapture),onPointerDownCapture:ee(e.onPointerDownCapture,E.onPointerDownCapture)})});Ia.displayName=L1;var M1="DismissableLayerBranch",Tv=f.forwardRef((e,t)=>{const n=f.useContext(Rv),r=f.useRef(null),o=oe(t,r);return f.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),w.jsx(Z.div,{...e,ref:o})});Tv.displayName=M1;function D1(e,t=globalThis==null?void 0:globalThis.document){const n=ke(e),r=f.useRef(!1),o=f.useRef(()=>{});return f.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){Nv(O1,n,u,{discrete:!0})};const u={originalEvent:a};a.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},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function I1(e,t=globalThis==null?void 0:globalThis.document){const n=ke(e),r=f.useRef(!1);return f.useEffect(()=>{const o=i=>{i.target&&!r.current&&Nv(j1,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 rp(){const e=new CustomEvent(Hu);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 F1=Ia,$1=Tv,Rt=globalThis!=null&&globalThis.document?f.useLayoutEffect:()=>{},z1="Portal",rd=f.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=f.useState(!1);Rt(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?Sv.createPortal(w.jsx(Z.div,{...r,ref:t}),s):null});rd.displayName=z1;function U1(e,t){return f.useReducer((n,r)=>t[n][r]??n,e)}var _t=e=>{const{present:t,children:n}=e,r=B1(t),o=typeof n=="function"?n({present:r.isPresent}):f.Children.only(n),i=oe(r.ref,V1(o));return typeof n=="function"||r.isPresent?f.cloneElement(o,{ref:i}):null};_t.displayName="Presence";function B1(e){const[t,n]=f.useState(),r=f.useRef(null),o=f.useRef(e),i=f.useRef("none"),s=e?"mounted":"unmounted",[a,l]=U1(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const u=ss(r.current);i.current=a==="mounted"?u:"none"},[a]),Rt(()=>{const u=r.current,d=o.current;if(d!==e){const h=i.current,p=ss(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),Rt(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,c=p=>{const m=ss(r.current).includes(p.animationName);if(p.target===t&&m&&(l("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},h=p=>{p.target===t&&(i.current=ss(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",c),t.addEventListener("animationend",c),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",c),t.removeEventListener("animationend",c)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:f.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function ss(e){return(e==null?void 0:e.animationName)||"none"}function V1(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 W1=yh[" useInsertionEffect ".trim().toString()]||Rt;function Fa({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=H1({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const d=f.useRef(e!==void 0);f.useEffect(()=>{const c=d.current;c!==a&&console.warn(`${r} is changing from ${c?"controlled":"uncontrolled"} to ${a?"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.`),d.current=a},[a,r])}const u=f.useCallback(d=>{var c;if(a){const h=K1(d)?d(e):d;h!==e&&((c=s.current)==null||c.call(s,h))}else i(d)},[a,e,i,s]);return[l,u]}function H1({defaultProp:e,onChange:t}){const[n,r]=f.useState(e),o=f.useRef(n),i=f.useRef(t);return W1(()=>{i.current=t},[t]),f.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function K1(e){return typeof e=="function"}var Q1=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"}),Y1="VisuallyHidden",$a=f.forwardRef((e,t)=>
40w.jsx(Z.span,{...e,ref:t,style:{...Q1,...e.style}}));$a.displayName=Y1;var G1=$a,od="ToastProvider",[id,X1,q1]=Pv("Toast"),[Av,w2]=Xn("Toast",[q1]),[Z1,za]=Av(od),_v=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=f.useState(null),[u,d]=f.useState(0),c=f.useRef(!1),h=f.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${od}\`. Expected non-empty \`string\`.`),w.jsx(id.Provider,{scope:t,children:w.jsx(Z1,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:f.useCallback(()=>d(p=>p+1),[]),onToastRemove:f.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:c,isClosePausedRef:h,children:s})})};_v.displayName=od;var Lv="ToastViewport",J1=["F8"],Ku="toast.viewportPause",Qu="toast.viewportResume",Ov=f.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=J1,label:o="Notifications ({hotkey})",...i}=e,s=za(Lv,n),a=X1(n),l=f.useRef(null),u=f.useRef(null),d=f.useRef(null),c=f.useRef(null),h=oe(t,c,s.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),S=s.toastCount>0;f.useEffect(()=>{const x=g=>{var y;r.length!==0&&r.every(b=>g[b]||g.code===b)&&((y=c.current)==null||y.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),f.useEffect(()=>{const x=l.current,g=c.current;if(S&&x&&g){const v=()=>{if(!s.isClosePausedRef.current){const C=new CustomEvent(Ku);g.dispatchEvent(C),s.isClosePausedRef.current=!0}},y=()=>{if(s.isClosePausedRef.current){const C=new CustomEvent(Qu);g.dispatchEvent(C),s.isClosePausedRef.current=!1}},b=C=>{!x.contains(C.relatedTarget)&&y()},E=()=>{x.contains(document.activeElement)||y()};return x.addEventListener("focusin",v),x.addEventListener("focusout",b),x.addEventListener("pointermove",v),x.addEventListener("pointerleave",E),window.addEventListener("blur",v),window.addEventListener("focus",y),()=>{x.removeEventListener("focusin",v),x.removeEventListener("focusout",b),x.removeEventListener("pointermove",v),x.removeEventListener("pointerleave",E),window.removeEventListener("blur",v),window.removeEventListener("focus",y)}}},[S,s.isClosePausedRef]);const m=f.useCallback(({tabbingDirection:x})=>{const v=a().map(y=>{const b=y.ref.current,E=[b,...fS(b)];return x==="forwards"?E:E.reverse()});return(x==="forwards"?v.reverse():v).flat()},[a]);return f.useEffect(()=>{const x=c.current;if(x){const g=v=>{var E,C,P;const y=v.altKey||v.ctrlKey||v.metaKey;if(v.key==="Tab"&&!y){const R=document.activeElement,T=v.shiftKey;if(v.target===x&&T){(E=u.current)==null||E.focus();return}const O=m({tabbingDirection:T?"backwards":"forwards"}),$=O.findIndex(M=>M===R);Ml(O.slice($+1))?v.preventDefault():T?(C=u.current)==null||C.focus():(P=d.current)==null||P.focus()}};return x.addEventListener("keydown",g),()=>x.removeEventListener("keydown",g)}},[a,m]),w.jsxs($1,{ref:l,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:S?void 0:"none"},children:[S&&w.jsx(Yu,{ref:u,onFocusFromOutsideViewport:()=>{const x=m({tabbingDirection:"forwards"});Ml(x)}}),w.jsx(id.Slot,{scope:n,children:w.jsx(Z.ol,{tabIndex:-1,...i,ref:h})}),S&&w.jsx(Yu,{ref:d,onFocusFromOutsideViewport:()=>{const x=m({tabbingDirection:"backwards"});Ml(x)}})]})});Ov.displayName=Lv;var jv="ToastFocusProxy",Yu=f.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=za(jv,n);return w.jsx($a,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});Yu.displayName=jv;var ji="Toast",eS="toast.swipeStart",tS="toast.swipeMove",nS="toast.swipeCancel",rS="toast.swipeEnd",Mv=f.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,l]=Fa({prop:r,defaultProp:o??!0,onChange:i,caller:ji});return w.jsx(_t,{present:n||a,children:w.jsx(sS,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:ke(e.onPause),onResume:ke(e.onResume),onSwipeStart:ee(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ee(e.onSwipeMove,u=>{const{x:d,y:c}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${c}px`)}),onSwipeCancel:ee(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:ee(e.onSwipeEnd,u=>{const{x:d,y:c}=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",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${c}px`),l(!1)})})})});Mv.displayName=ji;var[oS,iS]=Av(ji,{onClose(){}}),sS=f.forwardRef((e,t)=>
40{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:d,onSwipeMove:c,onSwipeCancel:h,onSwipeEnd:p,...S}=e,m=za(ji,n),[x,g]=f.useState(null),v=oe(t,M=>g(M)),y=f.useRef(null),b=f.useRef(null),E=o||m.duration,C=f.useRef(0),P=f.useRef(E),R=f.useRef(0),{onToastAdd:T,onToastRemove:A}=m,k=ke(()=>{var V;(x==null?void 0:x.contains(document.activeElement))&&((V=m.viewport)==null||V.focus()),s()}),O=f.useCallback(M=>{!M||M===1/0||(window.clearTimeout(R.current),C.current=new Date().getTime(),R.current=window.setTimeout(k,M))},[k]);f.useEffect(()=>{const M=m.viewport;if(M){const V=()=>{O(P.current),u==null||u()},z=()=>{const U=new Date().getTime()-C.current;P.current=P.current-U,window.clearTimeout(R.current),l==null||l()};return M.addEventListener(Ku,z),M.addEventListener(Qu,V),()=>{M.removeEventListener(Ku,z),M.removeEventListener(Qu,V)}}},[m.viewport,E,l,u,O]),f.useEffect(()=>{i&&!m.isClosePausedRef.current&&O(E)},[i,E,m.isClosePausedRef,O]),f.useEffect(()=>(T(),()=>A()),[T,A]);const $=f.useMemo(()=>x?Bv(x):null,[x]);return m.viewport?w.jsxs(w.Fragment,{children:[$&&w.jsx(aS,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:$}),w.jsx(oS,{scope:n,onClose:k,children:Oi.createPortal(w.jsx(id.ItemSlot,{scope:n,children:w.jsx(F1,{asChild:!0,onEscapeKeyDown:ee(a,()=>{m.isFocusedToastEscapeKeyDownRef.current||k(),m.isFocusedToastEscapeKeyDownRef.current=!1}),children:w.jsx(Z.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":m.swipeDirection,...S,ref:v,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ee(e.onKeyDown,M=>{M.key==="Escape"&&(a==null||a(M.nativeEvent),M.nativeEvent.defaultPrevented||(m.isFocusedToastEscapeKeyDownRef.current=!0,k()))}),onPointerDown:ee(e.onPointerDown,M=>{M.button===0&&(y.current={x:M.clientX,y:M.clientY})}),onPointerMove:ee(e.onPointerMove,M=>{if(!y.current)return;const V=M.clientX-y.current.x,z=M.clientY-y.current.y,U=!!b.current,N=["left","right"].includes(m.swipeDirection),L=["left","up"].includes(m.swipeDirection)?Math.min:Math.max,I=N?L(0,V):0,K=N?0:L(0,z),B=M.pointerType==="touch"?10:2,Y={x:I,y:K},X={originalEvent:M,delta:Y};U?(b.current=Y,as(tS,c,X,{discrete:!1})):op(Y,m.swipeDirection,B)?(b.current=Y,as(eS,d,X,{discrete:!1}),M.target.setPointerCapture(M.pointerId)):(Math.abs(V)>B||Math.abs(z)>B)&&(y.current=null)}),onPointerUp:ee(e.onPointerUp,M=>{const V=b.current,z=M.target;if(z.hasPointerCapture(M.pointerId)&&z.releasePointerCapture(M.pointerId),b.current=null,y.current=null,V){const U=M.currentTarget,N={originalEvent:M,delta:V};op(V,m.swipeDirection,m.swipeThreshold)?as(rS,p,N,{discrete:!0}):as(nS,h,N,{discrete:!0}),U.addEventListener("click",L=>L.preventDefault(),{once:!0})}})})})}),m.viewport)})]}):null}),aS=e=>{const{__scopeToast:t,children:n,...r}=e,o=za(ji,t),[i,s]=f.useState(!1),[a,l]=f.useState(!1);return cS(()=>s(!0)),f.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:w.jsx(rd,{asChild:!0,children:w.jsx($a,{...r,children:i&&w.jsxs(w.Fragment,{children:[o.label," ",n]})})})},lS="ToastTitle",Dv=f.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return w.jsx(Z.div,{...r,ref:t})});Dv.displayName=lS;var uS="ToastDescription",Iv=f.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return w.jsx(Z.div,{...r,ref:t})});Iv.displayName=uS;var Fv="ToastAction",$v=f.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?w.jsx(Uv,{altText:n,asChild:!0,children:w.jsx(sd,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${Fv}\`. Expected non-empty \`string\`.`),null)});$v.displayName=Fv;var zv="ToastClose",sd=f.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=iS(zv,n);return w.jsx(Uv,{asChild:!0,children:w.jsx(Z.button,{type:"button",...r,ref:t,onClick:ee(e.onClick,o.onClose)})})});sd.displayName=zv;var Uv=f.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return w.jsx(Z.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Bv(e){const t=[];
vendor: 4,490 bytes, lines 40-69
40return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),dS(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Bv(r))}}),t}function as(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 op=(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 cS(e=()=>{}){const t=ke(e);Rt(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function dS(e){return e.nodeType===e.ELEMENT_NODE}function fS(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 Ml(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var pS=_v,Vv=Ov,Wv=Mv,Hv=Dv,Kv=Iv,Qv=$v,Yv=sd;function Gv(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=Gv(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Xv(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Gv(e))&&(r&&(r+=" "),r+=t);return r}const ip=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,sp=Xv,hS=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return sp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const d=n==null?void 0:n[u],c=i==null?void 0:i[u];if(d===null)return null;const h=ip(d)||ip(c);return o[u][h]}),a=n&&Object.entries(n).reduce((u,d)=>{let[c,h]=d;return h===void 0||(u[c]=h),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:c,className:h,...p}=d;return Object.entries(p).every(S=>{let[m,x]=S;return Array.isArray(x)?x.includes({...i,...a}[m]):{...i,...a}[m]===x})?[...u,c,h]:u},[]);return sp(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const mS=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),qv=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var vS={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"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const gS=f.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>f.createElement("svg",{ref:l,...vS,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:qv("lucide",o),...a},[...s.map(([u,d])=>f.createElement(u,d)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const Be=(e,t)=>{const n=f.forwardRef(({className:r,...o},i)=>f.createElement(gS,{ref:i,iconNode:t,className:qv(`lucide-${mS(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const yS=Be("Airplay",[["path",{d:"M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1",key:"ns4c3b"}],["path",{d:"m12 15 5 6H7Z",key:"14qnn2"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const wS=Be("Cast",[["path",{d:"M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6",key:"3zrzxg"}],["path",{d:"M2 12a9 9 0 0 1 8 8",key:"g6cvee"}],["path",{d:"M2 16a5 5 0 0 1 4 4",key:"1y1dii"}],["line",{x1:"2",x2:"2.01",y1:"20",y2:"20",key:"xu2jvo"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const xS=Be("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const SS=Be("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const bS=Be("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const ES=Be("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const Zv=Be("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const CS=Be("Music2",[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const Jv=Be("Pause",[["rect",{x:"14",y:"4",width:"4",height:"16",rx:"1",key:"zuxfzm"}],["rect",{x:"6",y:"4",width:"4",height:"16",rx:"1",key:"1okwgv"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const eg=Be("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const PS=Be("Radio",[["path",{d:"M4.9 19.1C1 15.2 1 8.8 4.9 4.9",key:"1vaf9d"}],["path",{d:"M7.8 16.2c-2.3-2.3-2.3-6.1 0-8.5",key:"u1ii0m"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"M16.2 7.8c2.3 2.3 2.3 6.1 0 8.5",key:"1j5fej"}],["path",{d:"M19.1 4.9C23 8.8 23 15.1 19.1 19",key:"10b0cb"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const kS=Be("Volume1",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const tg=Be("Volume2",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const ng=Be("VolumeX",[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["line",{x1:"22",x2:"16",y1:"9",y2:"15",key:"1ewh16"}],["line",{x1:"16",x2:"22",y1:"9",y2:"15",key:"5ykzw1"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const rg=Be("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
vendor: 5,906 bytes, line 135
135],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),ad="-",RS=e=>{const t=NS(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(ad);return a[0]===""&&a.length!==1&&a.shift(),og(a,t)||TS(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},og=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?og(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(ad);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},ap=/^\[(.+)\]$/,TS=e=>{if(ap.test(e)){const t=ap.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},NS=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return _S(Object.entries(e.classGroups),n).forEach(([i,s])=>{Gu(s,r,i,t)}),r},Gu=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:lp(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(AS(o)){Gu(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Gu(s,lp(t,i),n,r)})})},lp=(e,t)=>{let n=e;return t.split(ad).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},AS=e=>e.isThemeGetter,_S=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,LS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},ig="!",OS=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const l=[];let u=0,d=0,c;for(let x=0;x<a.length;x++){let g=a[x];if(u===0){if(g===o&&(r||a.slice(x,x+i)===t)){l.push(a.slice(d,x)),d=x+i;continue}if(g==="/"){c=x;continue}}g==="["?u++:g==="]"&&u--}const h=l.length===0?a:a.substring(d),p=h.startsWith(ig),S=p?h.substring(1):h,m=c&&c>d?c-d:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:S,maybePostfixModifierPosition:m}};return n?a=>n({className:a,parseClassName:s}):s},jS=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},MS=e=>({cache:LS(e.cacheSize),parseClassName:OS(e),...RS(e)}),DS=/\s+/,IS=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(DS);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:d,hasImportantModifier:c,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let S=!!p,m=r(S?h.substring(0,p):h);if(!m){if(!S){a=u+(a.length>0?" "+a:a);continue}if(m=r(h),!m){a=u+(a.length>0?" "+a:a);continue}S=!1}const x=jS(d).join(":"),g=c?x+ig:x,v=g+m;if(i.includes(v))continue;i.push(v);const y=o(m,S);for(let b=0;b<y.length;++b){const E=y[b];i.push(g+E)}a=u+(a.length>0?" "+a:a)}return a};function FS(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=sg(t))&&(r&&(r+=" "),r+=n);return r}const sg=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=sg(e[r]))&&(n&&(n+=" "),n+=t);return n};function $S(e,...t){let n,r,o,i=s;function s(l){const u=t.reduce((d,c)=>c(d),e());return n=MS(u),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const d=IS(l,n);return o(l,d),d}return function(){return i(FS.apply(null,arguments))}}const se=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},ag=/^\[(?:([a-z-]+):)?(.+)\]$/i,zS=/^\d+\/\d+$/,US=new Set(["px","full","screen"]),BS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,VS=/\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$/,WS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,HS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,KS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Kt=e=>Zr(e)||US.has(e)||zS.test(e),yn=e=>Co(e,"length",eb),Zr=e=>!!e&&!Number.isNaN(Number(e)),Dl=e=>Co(e,"number",Zr),Uo=e=>!!e&&Number.isInteger(Number(e)),QS=e=>e.endsWith("%")&&Zr(e.slice(0,-1)),Q=e=>ag.test(e),wn=e=>BS.test(e),YS=new Set(["length","size","percentage"]),GS=e=>Co(e,YS,lg),XS=e=>Co(e,"position",lg),qS=new Set(["image","url"]),ZS=e=>Co(e,qS,nb),JS=e=>Co(e,"",tb),Bo=()=>!0,Co=(e,t,n)=>{const r=ag.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},eb=e=>VS.test(e)&&!WS.test(e),lg=()=>!1,tb=e=>HS.test(e),nb=e=>KS.test(e),rb=()=>{const e=se("colors"),t=se("spacing"),n=se("blur"),r=se("brightness"),o=se("borderColor"),i=se("borderRadius"),s=se("borderSpacing"),a=se("borderWidth"),l=se("contrast"),u=se("grayscale"),d=se("hueRotate"),c=se("invert"),h=se("gap"),p=se("gradientColorStops"),S=se("gradientColorStopPositions"),m=se("inset"),x=se("margin"),g=se("opacity"),v=se("padding"),y=se("saturate"),b=se("scale"),E=se("sepia"),C=se("skew"),P=se("space"),R=se("translate"),T=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],k=()=>["auto",Q,t],O=()=>[Q,t],$=()=>["",Kt,yn],M=()=>["auto",Zr,Q],V=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],U=()=>["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",Q],I=()=>["auto","avoid","all","avoid-page","page","left","right","column"],K=()=>[Zr,Q];return{cacheSize:500,separator:":",theme:{colors:[Bo],spacing:[Kt,yn],blur:["none","",wn,Q],brightness:K(),borderColor:[e],borderRadius:["n
135one","","full",wn,Q],borderSpacing:O(),borderWidth:$(),contrast:K(),grayscale:L(),hueRotate:K(),invert:L(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[QS,yn],inset:k(),margin:k(),opacity:K(),padding:O(),saturate:K(),scale:K(),sepia:L(),skew:K(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",Q]}],container:["container"],columns:[{columns:[wn]}],"break-after":[{"break-after":I()}],"break-before":[{"break-before":I()}],"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:[...V(),Q]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],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",Uo,Q]}],basis:[{basis:k()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Q]}],grow:[{grow:L()}],shrink:[{shrink:L()}],order:[{order:["first","last","none",Uo,Q]}],"grid-cols":[{"grid-cols":[Bo]}],"col-start-end":[{col:["auto",{span:["full",Uo,Q]},Q]}],"col-start":[{"col-start":M()}],"col-end":[{"col-end":M()}],"grid-rows":[{"grid-rows":[Bo]}],"row-start-end":[{row:["auto",{span:[Uo,Q]},Q]}],"row-start":[{"row-start":M()}],"row-end":[{"row-end":M()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Q]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Q]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...N()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...N(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...N(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],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":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Q,t]}],"min-w":[{"min-w":[Q,t,"min","max","fit"]}],"max-w":[{"max-w":[Q,t,"none","full","min","max","fit","prose",{screen:[wn]},wn]}],h:[{h:[Q,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Q,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Q,t,"auto","min","max","fit"]}],"font-size":[{text:["base",wn,yn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Dl]}],"font-family":[{font:[Bo]}],"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",Q]}],"line-clamp":[{"line-clamp":["none",Zr,Dl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Kt,Q]}],"list-image":[{"list-image":["none",Q]}],"list-style-type":[{list:["none","disc","decimal",Q]}],"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:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Kt,yn]}],"underline-offset":[{"underline-offset":["auto",Kt,Q]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:O()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q]}],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",Q]}],"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:[...V(),XS]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",GS]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ZS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}
vendor: 4,877 bytes, line 135
135],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],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:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...z(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:z()}],"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:["",...z()]}],"outline-offset":[{"outline-offset":[Kt,Q]}],"outline-w":[{outline:[Kt,yn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Kt,yn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",wn,JS]}],"shadow-color":[{shadow:[Bo]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...U(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":U()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",wn,Q]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[y]}],sepia:[{sepia:[E]}],"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":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[E]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Q]}],duration:[{duration:K()}],ease:[{ease:["linear","in","out","in-out",Q]}],delay:[{delay:K()}],animate:[{animate:["none","spin","ping","pulse","bounce",Q]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[Uo,Q]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Q]}],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",Q]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}
vendor: 4,941 bytes, line 135
135],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Q]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Kt,yn,Dl]}],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"]}}},ob=$S(rb);function de(...e){return ob(Xv(e))}const ib=pS,ug=f.forwardRef(({className:e,...t},n)=>w.jsx(Vv,{ref:n,className:de("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}));ug.displayName=Vv.displayName;const sb=hS("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"}}),cg=f.forwardRef(({className:e,variant:t,...n},r)=>w.jsx(Wv,{ref:r,className:de(sb({variant:t}),e),...n}));cg.displayName=Wv.displayName;const ab=f.forwardRef(({className:e,...t},n)=>w.jsx(Qv,{ref:n,className:de("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}));ab.displayName=Qv.displayName;const dg=f.forwardRef(({className:e,...t},n)=>w.jsx(Yv,{ref:n,className:de("absolute right-2 top-2 rounded-md p-1 text-foreground
135/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:w.jsx(rg,{className:"h-4 w-4"})}));dg.displayName=Yv.displayName;const fg=f.forwardRef(({className:e,...t},n)=>w.jsx(Hv,{ref:n,className:de("text-sm font-semibold",e),...t}));fg.displayName=Hv.displayName;const pg=f.forwardRef(({className:e,...t},n)=>w.jsx(Kv,{ref:n,className:de("text-sm opacity-90",e),...t}));pg.displayName=Kv.displayName;function lb(){const{toasts:e}=b1();return w.jsxs(ib,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return w.jsxs(cg,{...i,children:[w.jsxs("div",{className:"grid gap-1",children:[n&&w.jsx(fg,{children:n}),r&&w.jsx(pg,{children:r})]}),o,w.jsx(dg,{})]},t)}),w.jsx(ug,{})]})}var up=["light","dark"],ub="(prefers-color-scheme: dark)",cb=f.createContext(void 0),db={setTheme:e=>{},themes:[]},fb=()=>{var e;return(e=f.useContext(cb))!=null?e:db};f.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:l})=>{let u=i==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(S=>`'${S}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,c=o?up.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(S,m=!1,x=!0)=>{let g=s?s[S]:S,v=m?S+"|| ''":`'${g}'`,y="";return o&&x&&!m&&up.includes(S)&&(y+=`d.style.colorScheme = '${S}';`),n==="class"?m||g?y+=`c.add(${v})`:y+="null":g&&(y+=`d[s](n,${v})`),y},p=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${ub}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}${u?"":"else{"+h(i,!1,!1)+"}"}${c}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}else{${h(i,!1,!1)};}${c}}catch(t){}}();`;return f.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var pb=e=>{switch(e){case"success":return vb;case"info":return yb;case"warning":return gb;case"error":return wb;default:return null}},hb=Array(12).fill(0),mb=({visible:e,className:t})=>D.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},D.createElement("div",{className:"sonner-spinner"},hb.map((n,r)=>D.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),vb=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.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"})),gb=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},D.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"})),yb=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.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"})),wb=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.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"})),xb=D.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"},D.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),D.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),Sb=()=>{let[e,t]=D.useState(document.hidden);return D.useEffect(()=>{let n=()=>{t(document.hidden)};
135return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Xu=1,bb=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:Xu++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,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)=>
135this.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,s=r.then(async l=>{if(i=["resolve",l],D.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(Cb(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:d})}}).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,d=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>s.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Xu++;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}},Ve=new bb,Eb=(e,t)=>{let n=(t==null?void 0:t.id)||Xu++;return Ve.addToast({title:e,...t,id:n}),n},Cb=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Pb=Eb,kb=()=>Ve.toasts,Rb=()=>Ve.getActiveToasts();Object.assign(Pb,{success:Ve.success,info:Ve.info,warning:Ve.warning,error:Ve.error,custom:Ve.custom,message:Ve.message,promise:Ve.promise,dismiss:Ve.dismiss,loading:Ve.loading},{getHistory:kb,getToasts:Rb});function Tb(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))}Tb(`: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;
135left: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}
135: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%);
135--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%)}
136`);function ls(e){return e.label!==void 0}var Nb=3,Ab="32px",_b="16px",cp=4e3,Lb=356,Ob=14,jb=20,Mb=200;function gt(...e){return e.filter(Boolean).join(" ")}function Db(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var Ib=e=>{var t,n,r,o,i,s,a,l,u,d,c;let{invert:h,toast:p,unstyled:S,interacting:m,setHeights:x,visibleToasts:g,heights:v,index:y,toasts:b,expanded:E,removeToast:C,defaultRichColors:P,closeButton:R,style:T,cancelButtonStyle:A,actionButtonStyle:k,className:O="",descriptionClassName:$="",duration:M,position:V,gap:z,loadingIcon:U,expandByDefault:N,classNames:L,icons:I,closeButtonAriaLabel:K="Close toast",pauseWhenPageIsHidden:B}=e,[Y,X]=D.useState(null),[we,Ne]=D.useState(null),[te,Er]=D.use
vendor: 1,882 bytes, line 136
136State(!1),[dn,Zn]=D.useState(!1),[fn,Cr]=D.useState(!1),[pn,$i]=D.useState(!1),[nl,zi]=D.useState(!1),[rl,_o]=D.useState(0),[Pr,Id]=D.useState(0),Lo=D.useRef(p.duration||M||cp),Fd=D.useRef(null),Jn=D.useRef(null),D0=y===0,I0=y+1<=g,rt=p.type,kr=p.dismissible!==!1,F0=p.className||"",$0=p.descriptionClassName||"",Ui=D.useMemo(()=>v.findIndex(W=>W.toastId===p.id)||0,[v,p.id]),z0=D.useMemo(()=>{var W;return(W=p.closeButton)!=null?W:R},[p.closeButton,R]),$d=D.useMemo(()=>p.duration||M||cp,[p.duration,M]),ol=D.useRef(0),Rr=D.useRef(0),zd=D.useRef(0),Tr=D.useRef(null),[U0,B0]=V.split("-"),Ud=D.useMemo(()=>v.reduce((W,re,ue)=>ue>=Ui?W:W+re.height,0),[v,Ui]),Bd=Sb(),V0=p.invert||h,il=rt==="loading";Rr.current=D.useMemo(()=>Ui*z+Ud,[Ui,Ud]),D.useEffect(()=>{Lo.current=$d},[$d]),D.useEffect(()=>{Er(!0)},[]),D.useEffect(()=>{let W=Jn.current;if(W){let re=W.getBoundingClientRect().height;return Id(re),x(ue=>[{toastId:p.id,height:re,position:p.position},...ue]),()=>x(ue=>ue.filter(pt=>pt.toastId!==p.id))}},[x,p.id]),D.useLayoutEffect(()=>{if(!te)return;let W=Jn.current,re=W.style.height;W.style.height="auto";let ue=W.getBoundingClientRect().height;W.style.height=re,Id(ue),x(pt=>pt.find(ht=>ht.toastId===p.id)?pt.map(ht=>ht.toastId===p.id?{...ht,height:ue}:ht):[{toastId:p.id,height:ue,position:p.position},...pt])},[te,p.title,p.description,x,p.id]);let hn=D.useCallback(()=>{Zn(!0),_o(Rr.current),x(W=>W.filter(re=>re.toastId!==p.id)),setTimeout(()=>{C(p)},Mb)},[p,C,x,Rr]);D.useEffect(()=>{if(p.promise&&rt==="loading"||p.duration===1/0||p.type==="loading")return;let W;return E||m||B&&Bd?(()=>{if(zd.current<ol.current){let re=new Date().getTime()-ol.current;Lo.current=Lo.current-re}zd.current=new Date().getTime()})():Lo.current!==1/0&&(ol.current=new Date().getTime(),W=setTimeout(()=>{var re;(re=p.onAutoClose)==null||re.call(p,p),hn()},Lo.current)),()=>clearTimeout(W)}
136,[E,m,p,rt,B,Bd,hn]),D.useEffect(()=>{p.delete&&hn()},[hn,p.delete]);function W0(){var W,re,ue;return I!=null&&I.loading?D.createElement("div",{className:gt(L==null?void 0:L.loader,(W=p==null?void 0:p.classNames)==null?void 0:W.loader,"sonner-loader"),"data-visible":rt==="loading"},I.loading):U?D.createElement("div",{className:gt(L==null?void 0:L.loader,(re=p==null?void 0:p.classNames)==null?void 0:re.loader,"sonner-loader"),"data-visible":rt==="loading"},U):D.createElement(mb,{className:gt(L==null?void 0:L.loader,(ue=p==null?void 0:p.classNames)==null?void 0:ue.loader),visible:rt==="loading"})}return D.createElement("li",{tabIndex:0,ref:Jn,className:gt(O,F0,L==null?void 0:L.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,L==null?void 0:L.default,L==null?void 0:L[rt],(n=p==null?void 0:p.classNames)==null?void 0:n[rt]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:P,"data-styled":!(p.jsx||p.unstyled||S),"data-mounted":te,"data-promise":!!p.promise,"data-swiped":nl,"data-removed":dn,"data-visible":I0,"data-y-position":U0,"data-x-position":B0,"data-index":y,"data-front":D0,"data-swiping":fn,"data-dismissible":kr,"data-type":rt,"data-invert":V0,"data-swipe-out":pn,"data-swipe-direction":we,"data-expanded":!!(E||N&&te),style:{"--index":y,"--toasts-before":y,"--z-index":b.length-y,"--offset":`${dn?rl:Rr.current}px`,"--initial-height":N?"auto":`${Pr}px`,...T,...p.style},onDragEnd:()=>{Cr(!1),X(null),Tr.current=null},onPointerDown:W=>{il||!kr||(Fd.current=new Date,_o(Rr.current),W.target.setPointerCapture(W.pointerId),W.target.tagName!=="BUTTON"&&(Cr(!0),Tr.current={x:W.clientX,y:W.clientY}))},onPointerUp:()=>{var W,re,ue,pt;if(pn||!kr)return;Tr.current=null;let ht=Number(((W=Jn.current)==null?void 0:W.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),mn=Number(((re=Jn.current)==null?void 0:re.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),er=new Date().getTime()-((ue=Fd.current)==null?void 0:ue.getTime()),mt=Y==="x"?ht:mn,vn=Math.abs(mt)/er;if(Math.abs(mt)>=jb||vn>.11){_o(Rr.current),(pt=p.onDismiss)==null||pt.call(p,p),Ne(Y==="x"?ht>0?"right":"left":mn>0?"down":"up"),hn(),$i(!0),zi(!1);return}Cr(!1),X(null)},onPointerMove:W=>{var re,ue,pt,ht;if(!Tr.current||!kr||((re=window.getSelection())==null?void 0:re.toString().length)>0)return;let mn=W.clientY-Tr.current.y,er=W.clientX-Tr.current.x,mt=(ue=e.swipeDirections)!=null?ue:Db(V);!Y&&(Math.abs(er)>1||Math.abs(mn)>1)&&X(Math.abs(er)>Math.abs(mn)?"x":"y");let vn={x:0,y:0};Y==="y"?(mt.includes("top")||mt.includes("bottom"))&&(mt.includes("top")&&mn<0||mt.includes("bottom")&&mn>0)&&(vn.y=mn):Y==="x"&&(mt.includes("left")||mt.includes("right"))&&(mt.includes("left")&&er<0||mt.includes("right")&&er>0)&&(vn.x=er),(Math.abs(vn.x)>0||Math.abs(vn.y)>0)&&zi(!0),(pt=Jn.current)==null||pt.style.setProperty("--swipe-amount-x",`${vn.x}px`),(ht=Jn.current)==null||ht.style.setProperty("--swipe-amount-y",`${vn.y}px`)}},z0&&!p.jsx?D.createElement("button",{"aria-label":K,"data-disabled":il,"data-close-button":!0,onClick:il||!kr?()=>{}:()=>{var W;hn(),(W=p.onDismiss)==null||W.call(p,p)},className:gt(L==null?void 0:L.closeButton,(o=p==null?void 0:p.classNames)==null?void 0:o.closeButton)},(i=I==null?void 0:I.close)!=null?i:xb):null,p.jsx||f.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:D.createElement(D.Fragment,null,rt||p.icon||p.promise?D.createElement("div",{"data-icon":"",className:gt(L==null?void 0:L.icon,(s=p==null?void 0:p.classNames)==null?void 0:s.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||W0():null,p.type!=="loading"?p.icon||(I==null?void 0:I[rt])||pb(rt):null):null,D.createElement("div",{"data-content":"",className:gt(L==null?void 0:L.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},D.createElement("div",{"data-title":"",className:gt(L==null?void 0:L.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?D.createElement("div",{"data-description":"",className:gt($,$0,L==null?void 0:L.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),f.isValidElement(p.cancel)?p.cancel:p.cancel&&ls(p.cancel)?D.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||A,onClick:W=>{var re,ue;ls(p.cancel)&&kr&&((ue=(re=p.cancel).onClick)==null||ue.call(re,W),hn())},className:gt(L==null?void 0:L.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,f.isValidElement(p.action)?p.action:p.action&&ls(p.action)?D.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||k,onClick:W=>{var re,ue;ls(p.action)&&((ue=(re=p.action).onClick)==null||ue.call(re,W),!W.defaultPrevented&&hn())},className:gt(L==null?void 0:L.actionButton,(c=p==null?void 0:p.classNames)==null?void 0:c.actionButton)},p.action.label):null))};function dp(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function Fb(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",a=i?_b:Ab;function l(u){["top","right","bottom","left"].forEach(d=>{n[`${s}-${d}`]=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[`${s}-${u}`]=a:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var $b=f.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:a,offset:l,mobileOffset:u,theme:d="light",richColors:c,duration:h,style:p,visibleToasts:S=Nb,toastOptions:m,dir:x=dp(),gap:g=Ob,loadingIcon:v,icons:y,containerAriaLabel:b="Notifications",pauseWhenPageIsHidden:E}=e,[C,P]=D.useState([]),R=D.useMemo(()=>
vendor: 4,403 bytes, line 136
136Array.from(new Set([r].concat(C.filter(B=>B.position).map(B=>B.position)))),[C,r]),[T,A]=D.useState([]),[k,O]=D.useState(!1),[$,M]=D.useState(!1),[V,z]=D.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),U=D.useRef(null),N=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),L=D.useRef(null),I=D.useRef(!1),K=D.useCallback(B=>{P(Y=>{var X;return(X=Y.find(we=>we.id===B.id))!=null&&X.delete||Ve.dismiss(B.id),Y.filter(({id:we})=>we!==B.id)})},[]);return D.useEffect(()=>Ve.subscribe(B=>{if(B.dismiss){P(Y=>Y.map(X=>X.id===B.id?{...X,delete:!0}:X));return}setTimeout(()=>{Sv.flushSync(()=>{P(Y=>{let X=Y.findIndex(we=>we.id===B.id);return X!==-1?[...Y.slice(0,X),{...Y[X],...B},...Y.slice(X+1)]:[B,...Y]})})})}),[]),D.useEffect(()=>{if(d!=="system"){z(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),typeof window>"u")return;let B=window.matchMedia("(prefers-color-scheme: dark)");try{B.addEventListener("change",({matches:Y})=>{z(Y?"dark":"light")})}catch{B.addListener(({matches:X})=>{try{z(X?"dark":"light")}catch(we){console.error(we)}})}},[d]),D.useEffect(()=>{C.length<=1&&O(!1)},[C]),D.useEffect(()=>{let B=Y=>{var X,we;o.every(Ne=>Y[Ne]||Y.code===Ne)&&(O(!0),(X=U.current)==null||X.focus()),Y.code==="Escape"&&(document.activeElement===U.current||(we=U.current)!=null&&we.contains(document.activeElement))&&O(!1)};return document.addEventListener("keydown",B),()=>document.removeEventListener("keydown",B)},[o]),D.useEffect(()=>{if(U.current)return()=>{L.current&&(L.current.focus({preventScroll:!0}),L.current=null,I.current=!1)}},[U.current]),D.createElement("section",{ref:t,"aria-label":`${b} ${N}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},R.map((B,Y)=>{var X;let[we,Ne]=B.split("-");return C.length?D.createElement("ol",{key:B,dir:x==="auto"?dp():x,tabIndex:-1,ref:U,className:a,"data-sonner-toaster":!0,"data-theme":V,"data-y-position":we,"data-lifted":k&&C.length>1&&!i,"data-x-position":Ne,style:{"--front-toast-height":`${((X=T[0])==null?void 0:X.height)||0}px`,"--width":`${Lb}px`,"--gap":`${g}px`,...p,...Fb(l,u)},onBlur:te=>{I.current&&!te.currentTarget.contains(te.relatedTarget)&&(I.current=!1,L.current&&(L.current.focus({preventScroll:!0}),L.current=null))},onFocus:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||I.current||(I.current=!0,L.current=te.relatedTarget)},onMouseEnter:()=>O(!0),onMouseMove:()=>O(!0),onMouseLeave:()=>{$||O(!1)},onDragEnd:()=>O(!1),onPointerDown:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||M(!0)},onPointerUp:()=>M(!1)},C.filter(te=>!te.position&&Y===0||te.position===B).map((te,Er)=>{var dn,Zn;return D.createElement(Ib,{key:te.id,icons:y,index:Er,toast:te,defaultRichColors:c,duration:(dn=m==null?void 0:m.duration)!=null?dn:h,className:m==null?void 0:m.className,descriptionClassName:m==null?void 0:m.descriptionClassName,invert:n,visibleToasts:S,closeButton:(Zn=m==null?void 0:m.closeButton)!=null?Zn:s,interacting:$,position:B,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:K,toasts:C.filter(fn=>fn.position==te.position),heights:T.filter(fn=>fn.position==te.position),setHeights:A,expandByDefault:i,gap:g,loadingIcon:v,expanded:k,pauseWhenPageIsHidden:E,swipeDirections:e.swipeDirections})})):null}))});const zb=({...e})=>{const{theme:t="system"}=fb();return w.jsx($b,{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})};var Ub=yh[" useId ".trim().toString()]||(()=>{}),Bb=0;function Os(e){const[t,n]=f.useState(Ub());return Rt(()=>{e||n(r=>r??String(Bb++))},[e]),e||(t?`radix-${t}`:"")}const Vb=["top","right","bottom","left"],Wn=Math.min,Xe=Math.max,da=Math.round,us=Math.floor,Bt=e=>({x:e,y:e}
vendor: 10,344 bytes, line 136
136),Wb={left:"right",right:"left",bottom:"top",top:"bottom"},Hb={start:"end",end:"start"};function qu(e,t,n){return Xe(e,Wn(t,n))}function sn(e,t){return typeof e=="function"?e(t):e}function an(e){return e.split("-")[0]}function Po(e){return e.split("-")[1]}function ld(e){return e==="x"?"y":"x"}function ud(e){return e==="y"?"height":"width"}const Kb=new Set(["top","bottom"]);function $t(e){return Kb.has(an(e))?"y":"x"}function cd(e){return ld($t(e))}function Qb(e,t,n){n===void 0&&(n=!1);const r=Po(e),o=cd(e),i=ud(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=fa(s)),[s,fa(s)]}function Yb(e){const t=fa(e);return[Zu(e),t,Zu(t)]}function Zu(e){return e.replace(/start|end/g,t=>Hb[t])}const fp=["left","right"],pp=["right","left"],Gb=["top","bottom"],Xb=["bottom","top"];function qb(e,t,n){switch(e){case"top":case"bottom":return n?t?pp:fp:t?fp:pp;case"left":case"right":return t?Gb:Xb;default:return[]}}function Zb(e,t,n,r){const o=Po(e);let i=qb(an(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(Zu)))),i}function fa(e){return e.replace(/left|right|bottom|top/g,t=>Wb[t])}function Jb(e){return{top:0,right:0,bottom:0,left:0,...e}}function hg(e){return typeof e!="number"?Jb(e):{top:e,right:e,bottom:e,left:e}}function pa(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 hp(e,t,n){let{reference:r,floating:o}=e;const i=$t(t),s=cd(t),a=ud(s),l=an(t),u=i==="y",d=r.x+r.width/2-o.width/2,c=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let p;switch(l){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:c};break;case"left":p={x:r.x-o.width,y:c};break;default:p={x:r.x,y:r.y}}switch(Po(t)){case"start":p[s]-=h*(n&&u?-1:1);break;case"end":p[s]+=h*(n&&u?-1:1);break}return p}const eE=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:c}=hp(u,r,l),h=r,p={},S=0;for(let m=0;m<a.length;m++){const{name:x,fn:g}=a[m],{x:v,y,data:b,reset:E}=await g({x:d,y:c,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});d=v??d,c=y??c,p={...p,[x]:{...p[x],...b}},E&&S<=50&&(S++,typeof E=="object"&&(E.placement&&(h=E.placement),E.rects&&(u=E.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):E.rects),{x:d,y:c}=hp(u,h,l)),m=-1)}return{x:d,y:c,placement:h,strategy:o,middlewareData:p}};async function Si(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:c="floating",altBoundary:h=!1,padding:p=0}=sn(t,e),S=hg(p),x=a[h?c==="floating"?"reference":"floating":c],g=pa(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(a.floating)),boundary:u,rootBoundary:d,strategy:l})),v=c==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),b=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},E=pa(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:v,offsetParent:y,strategy:l}):v);return{top:(g.top-E.top+S.top)/b.y,bottom:(E.bottom-g.bottom+S.bottom)/b.y,left:(g.left-E.left+S.left)/b.x,right:(E.right-g.right+S.right)/b.x}}const tE=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:d=0}=sn(e,t)||{};if(u==null)return{};const c=hg(d),h={x:n,y:r},p=cd(o),S=ud(p),m=await s.getDimensions(u),x=p==="y",g=x?"top":"left",v=x?"bottom":"right",y=x?"clientHeight":"clientWidth",b=i.reference[S]+i.reference[p]-h[p]-i.floating[S],E=h[p]-i.reference[p],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let P=C?C[y]:0;(!P||!await(s.isElement==null?void 0:s.isElement(C)))&&(P=a.floating[y]||i.floating[S]);const R=b/2-E/2,T=P/2-m[S]/2-1,A=Wn(c[g],T),k=Wn(c[v],T),O=A,$=P-m[S]-k,M=P/2-m[S]/2+R,V=qu(O,M,$),z=!l.arrow&&Po(o)!=null&&M!==V&&i.reference[S]/2-(M<O?A:k)-m[S]/2<0,U=z?M<O?M-O:M-$:0;return{[p]:h[p]+U,data:{[p]:V,centerOffset:M-V-U,...z&&{alignmentOffset:U}},reset:z}}}),nE=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:d=!0,crossAxis:c=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:m=!0,...x}=sn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=an(o),v=$t(a),y=an(a)===a,b=await(l.isRTL==null?void 0:l.isRTL(u.floating)),E=h||(y||!m?[fa(a)]:Yb(a)),C=S!=="none";!h&&C&&E.push(...Zb(a,m,S,b));const P=[a,...E],R=await Si(t,x),T=[];let A=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&T.push(R[g]),c){const M=Qb(o,s,b);T.push(R[M[0]],R[M[1]])}if(A=[...A,{placement:o,overflows:T}],!T.every(M=>M<=0)){var k,O;const M=(((k=i.flip)==null?void 0:k.index)||0)+1,V=P[M];if(V&&(!(c==="alignment"?v!==$t(V):!1)||A.every(N=>N.overflows[0]>0&&$t(N.placement)===v)))return{data:{index:M,overflows:A},reset:{placement:V}};let z=(O=A.filter(U=>U.overflows[0]<=0).sort((U,N)=>U.overflows[1]-N.overflows[1])[0])==null?void 0:O.placement;if(!z)switch(p){case"bestFit":{var $;const U=($=A.filter(N=>{if(C){const L=$t(N.placement);return L===v||L==="y"}return!0}).map(N=>[N.placement,N.overflows.filter(L=>L>0).reduce((L,I)=>L+I,0)]).sort((N,L)=>N[1]-L[1])[0])==null?void 0:$[0];U&&(z=U);break}case"initialPlacement":z=a;break}if(o!==z)return{reset:{placement:z}}}return{}}}};function mp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function vp(e){return Vb.some(t=>e[t]>=0)}const rE=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=sn(e,t);switch(r){case"referenceHidden":{const i=await Si(t,{...o,elementContext:"reference"}),s=mp(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:vp(s)}}}case"escaped":{const i=await Si(t,{...o,altBoundary:!0}),s=mp(i,n.floating);return{data:{escapedOffsets:s,escaped:vp(s)}}}default:return{}}}}},mg=new Set(["left","top"]);async function oE(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=an(n),a=Po(n),l=$t(n)==="y",u=mg.has(s)?-1:1,d=i&&l?-1:1,c=sn(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:S}=typeof c=="number"?{mainAxis:c,crossAxis:0,alignmentAxis:null}:{mainAxis:c.mainAxis||0,crossAxis:c.crossAxis||0,alignmentAxis:c.alignmentAxis};return a&&typeof S=="number"&&(p=a==="end"?S*-1:S),l?{x:p*d,y:h*u}:{x:h*u,y:p*d}}const iE=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await oE(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},sE=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:x=>{let{x:g,y:v}=x;return{x:g,y:v}}},...l}=sn(e,t),u={x:n,y:r},d=await Si(t,l),c=$t(an(o)),h=ld(c);let p=u[h],S=u[c];if(i){const x=h==="y"?"top":"left",g=h==="y"?"bottom":"right",v=p+d[x],y=p-d[g];p=qu(v,p,y)}if(s){const x=c==="y"?"top":"left",g=c==="y"?"bottom":"right",v=S+d[x],y=S-d[g];S=qu(v,S,y)}const m=a.fn({...t,[h]:p,[c]:S});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[h]:i,[c]:s}}}}}},aE=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=sn(e,t),d={x:n,y:r},c=$t(o),h=ld(c);let p=d[h],S=d[c];const m=sn(a,t),x=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(l){const y=h==="y"?"height":"width",b=i.reference[h]-i.floating[y]+x.mainAxis,E=i.reference[h]+i.reference[y]-x.mainAxis;p<b?p=b:p>E&&(p=E)}if(u){var g,v;const y=h==="y"?"width":"height",b=mg.has(an(o)),E=i.reference[c]-i.floating[y]+(b&&((g=s.offset)==null?void 0:g[c])||0)+(b?0:x.crossAxis),C=i.reference[c]+i.reference[y]+(b?0:((v=s.offset)==null?void 0:v[c])||0)-(b?x.crossAxis:0);S<E?S=E:S>C&&(S=C)}return{[h]:p,[c]:S}}}},lE=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...u}=sn(e,t),d=await Si(t,u),c=an(o),h=Po(o),p=$t(o)==="y",{width:S,height:m}=i.floating;let x,g;c==="top"||c==="bottom"?(x=c,g=h===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(g=c,x=h==="end"?"top":"bottom");const v=m-d.top-d.bottom,y=S-d.left-d.right,b=Wn(m-d[x],v),E=Wn(S-d[g],y),C=!t.middlewareData.shift;let P=b,R=E;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(R=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=v),C&&!h){const A=Xe(d.left,0),k=Xe(d.right,0),O=Xe(d.top,0),$=Xe(d.bottom,0);p?R=S-2*(A!==0||k!==0?A+k:Xe(d.left,d.right)):P=m-2*(O!==0||$!==0?O+$:Xe(d.top,d.bottom))}await l({...t,availableWidth:R,availableHeight:P});const T=await s.getDimensions(a.floating);return S!==T.width||m!==T.height?{reset:{rects:!0}}:{}}}};function Ua(){return typeof window<"u"}function ko(e){return vg(e)?(e.nodeName||"").toLowerCase():"#document"}function Je(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Wt(e){var t;return(t=(vg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function vg(e){return Ua()?e instanceof Node||e instanceof Je(e).Node:!1}function Tt(e){return Ua()?e instanceof Element||e instanceof Je(e).Element:!1}function Vt(e){return Ua()?e instanceof HTMLElement||e instanceof Je(e).HTMLElement:!1}function gp(e){return!Ua()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Je(e).ShadowRoot}const uE=new Set(["inline","contents"]);function Mi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Nt(e);
vendor: 4,121 bytes, line 136
136return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!uE.has(o)}const cE=new Set(["table","td","th"]);function dE(e){return cE.has(ko(e))}const fE=[":popover-open",":modal"];function Ba(e){return fE.some(t=>{try{return e.matches(t)}catch{return!1}})}const pE=["transform","translate","scale","rotate","perspective"],hE=["transform","translate","scale","rotate","perspective","filter"],mE=["paint","layout","strict","content"];function dd(e){const t=fd(),n=Tt(e)?Nt(e):e;return pE.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||hE.some(r=>(n.willChange||"").includes(r))||mE.some(r=>(n.contain||"").includes(r))}function vE(e){let t=Hn(e);for(;Vt(t)&&!go(t);){if(dd(t))return t;if(Ba(t))return null;t=Hn(t)}return null}function fd(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const gE=new Set(["html","body","#document"]);function go(e){return gE.has(ko(e))}function Nt(e){return Je(e).getComputedStyle(e)}function Va(e){return Tt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Hn(e){if(ko(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gp(e)&&e.host||Wt(e);return gp(t)?t.host:t}function gg(e){const t=Hn(e);return go(t)?e.ownerDocument?e.ownerDocument.body:e.body:Vt(t)&&Mi(t)?t:gg(t)}function bi(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=gg(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Je(o);if(i){const a=Ju(s);return t.concat(s,s.visualViewport||[],Mi(o)?o:[],a&&n?bi(a):[])}return t.concat(o,bi(o,[],n))}function Ju(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yg(e){const t=Nt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Vt(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=da(n)!==i||da(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function pd(e){return Tt(e)?e:e.contextElement}function Jr(e){const t=pd(e);if(!Vt(t))return Bt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=yg(t);let s=(i?da(n.width):n.width)/r,a=(i?da(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const yE=Bt(0);function wg(e){const t=Je(e);return!fd()||!t.visualViewport?yE:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function wE(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Je(e)?!1:t}function wr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=pd(e);let s=Bt(1);t&&(r?Tt(r)&&(s=Jr(r)):s=Jr(e));const a=wE(i,n,r)?wg(i):Bt(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,d=o.width/s.x,c=o.height/s.y;if(i){const h=Je(i),p=r&&Tt(r)?Je(r):r;let S=h,m=Ju(S);for(;m&&r&&p!==S;){const x=Jr(m),g=m.getBoundingClientRect(),v=Nt(m),y=g.left+(m.clientLeft+parseFloat(v.paddingLeft))*x.x,b=g.top+(m.clientTop+parseFloat(v.paddingTop))*x.y;l*=x.x,u*=x.y,d*=x.x,c*=x.y,l+=y,u+=b,S=Je(m),m=Ju(S)}}return pa({width:d,height:c,x:l,y:u})}function hd(e,t){const n=Va(e).scrollLeft;return t?t.left+n:wr(Wt(e)).left+n}function xg(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:hd(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function xE(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Wt(r),a=t?Ba(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=Bt(1);const d=Bt(0),c=Vt(r);if((c||!c&&!i)&&((ko(r)!=="body"||Mi(s))&&(l=Va(r)),Vt(r))){const p=wr(r);u=Jr(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const h=s&&!c&&!i?xg(s,l,!0):Bt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-l.scrollTop*u.y+d.y+h.y}}function SE(e){return Array.from(e.getClientRects())}function bE(e){const t=Wt(e),n=Va(e),r=e.ownerDocument.body,o=Xe(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Xe(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+hd(e);const a=-n.scrollTop;return Nt(r).direction==="rtl"&&(s+=Xe(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}
vendor: 4,850 bytes, line 136
136function EE(e,t){const n=Je(e),r=Wt(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=fd();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}const CE=new Set(["absolute","fixed"]);function PE(e,t){const n=wr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Vt(e)?Jr(e):Bt(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function yp(e,t,n){let r;if(t==="viewport")r=EE(e,n);else if(t==="document")r=bE(Wt(e));else if(Tt(t))r=PE(t,n);else{const o=wg(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return pa(r)}function Sg(e,t){const n=Hn(e);return n===t||!Tt(n)||go(n)?!1:Nt(n).position==="fixed"||Sg(n,t)}function kE(e,t){const n=t.get(e);if(n)return n;let r=bi(e,[],!1).filter(a=>Tt(a)&&ko(a)!=="body"),o=null;const i=Nt(e).position==="fixed";let s=i?Hn(e):e;for(;Tt(s)&&!go(s);){const a=Nt(s),l=dd(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&CE.has(o.position)||Mi(s)&&!l&&Sg(e,s))?r=r.filter(d=>d!==s):o=a,s=Hn(s)}return t.set(e,r),r}function RE(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Ba(t)?[]:kE(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,d)=>{const c=yp(t,d,o);return u.top=Xe(c.top,u.top),u.right=Wn(c.right,u.right),u.bottom=Wn(c.bottom,u.bottom),u.left=Xe(c.left,u.left),u},yp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function TE(e){const{width:t,height:n}=yg(e);return{width:t,height:n}}function NE(e,t,n){const r=Vt(t),o=Wt(t),i=n==="fixed",s=wr(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Bt(0);function u(){l.x=hd(o)}if(r||!r&&!i)if((ko(t)!=="body"||Mi(o))&&(a=Va(t)),r){const p=wr(t,!0,i,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&u();i&&!r&&o&&u();const d=o&&!r&&!i?xg(o,a):Bt(0),c=s.left+a.scrollLeft-l.x-d.x,h=s.top+a.scrollTop-l.y-d.y;return{x:c,y:h,width:s.width,height:s.height}}function Il(e){return Nt(e).position==="static"}function wp(e,t){if(!Vt(e)||Nt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Wt(e)===n&&(n=n.ownerDocument.body),n}function bg(e,t){const n=Je(e);if(Ba(e))return n;if(!Vt(e)){let o=Hn(e);for(;o&&!go(o);){if(Tt(o)&&!Il(o))return o;o=Hn(o)}return n}let r=wp(e,t);for(;r&&dE(r)&&Il(r);)r=wp(r,t);return r&&go(r)&&Il(r)&&!dd(r)?n:r||vE(e)||n}const AE=async function(e){const t=this.getOffsetParent||bg,n=this.getDimensions,r=await n(e.floating);return{reference:NE(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function _E(e){return Nt(e).direction==="rtl"}const LE={convertOffsetParentRelativeRectToViewportRelativeRect:xE,getDocumentElement:Wt,getClippingRect:RE,getOffsetParent:bg,getElementRects:AE,getClientRects:SE,getDimensions:TE,getScale:Jr,isElement:Tt,isRTL:_E};function Eg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function OE(e,t){let n=null,r;const o=Wt(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:d,top:c,width:h,height:p}=u;if(a||t(),!h||!p)return;const S=us(c),m=us(o.clientWidth-(d+h)),x=us(o.clientHeight-(c+p)),g=us(d),y={rootMargin:-S+"px "+-m+"px "+-x+"px "+-g+"px",threshold:Xe(0,Wn(1,l))||1};let b=!0;function E(C){const P=C[0].intersectionRatio;if(P!==l){if(!b)return s();P?s(!1,P):r=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!Eg(u,e.getBoundingClientRect())&&s(),b=!1}try{n=new IntersectionObserver(E,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(E,y)}n.observe(e)}return s(!0),i}function jE(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=pd(e),d=o||i?[...u?bi(u):[],...bi(t)]:[];d.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const c=u&&a?OE(u,n):null;let h=-1,p=null;s&&(p=new ResizeObserver(g=>{let[v]=g;v&&v.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let S,m=l?wr(e):null;l&&x();function x(){const g=wr(e);m&&!Eg(m,g)&&n(),m=g,S=requestAnimationFrame(x)}return n(),()=>{var g;d.forEach(v=>{o&&v.removeEventListener("scroll",n),i&&v.removeEventListener("resize",n)}),c==null||c(),(g=p)==null||g.disconnect(),p=null,l&&cancelAnimationFrame(S)}}const ME=iE,DE=sE,IE=nE,FE=lE,$E=rE,xp=tE,zE=aE,UE=(e,t,n)=>{const r=new Map,o={platform:LE,...n},i={...o.platform,_c:r};return eE(e,t,{...o,platform:i})};var BE=typeof document<"u",VE=function(){},js=BE?f.useLayoutEffect:VE;function ha(e,t){if(e===t)return!0;
vendor: 4,131 bytes, line 136
136if(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(!ha(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)&&!ha(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function Cg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Sp(e,t){const n=Cg(e);return Math.round(t*n)/n}function Fl(e){const t=f.useRef(e);return js(()=>{t.current=e}),t}function WE(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[d,c]=f.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=f.useState(r);ha(h,r)||p(r);const[S,m]=f.useState(null),[x,g]=f.useState(null),v=f.useCallback(N=>{N!==C.current&&(C.current=N,m(N))},[]),y=f.useCallback(N=>{N!==P.current&&(P.current=N,g(N))},[]),b=i||S,E=s||x,C=f.useRef(null),P=f.useRef(null),R=f.useRef(d),T=l!=null,A=Fl(l),k=Fl(o),O=Fl(u),$=f.useCallback(()=>{if(!C.current||!P.current)return;const N={placement:t,strategy:n,middleware:h};k.current&&(N.platform=k.current),UE(C.current,P.current,N).then(L=>{const I={...L,isPositioned:O.current!==!1};M.current&&!ha(R.current,I)&&(R.current=I,Oi.flushSync(()=>{c(I)}))})},[h,t,n,k,O]);js(()=>{u===!1&&R.current.isPositioned&&(R.current.isPositioned=!1,c(N=>({...N,isPositioned:!1})))},[u]);const M=f.useRef(!1);js(()=>(M.current=!0,()=>{M.current=!1}),[]),js(()=>{if(b&&(C.current=b),E&&(P.current=E),b&&E){if(A.current)return A.current(b,E,$);$()}},[b,E,$,A,T]);const V=f.useMemo(()=>({reference:C,floating:P,setReference:v,setFloating:y}),[v,y]),z=f.useMemo(()=>({reference:b,floating:E}),[b,E]),U=f.useMemo(()=>{const N={position:n,left:0,top:0};if(!z.floating)return N;const L=Sp(z.floating,d.x),I=Sp(z.floating,d.y);return a?{...N,transform:"translate("+L+"px, "+I+"px)",...Cg(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:L,top:I}},[n,a,z.floating,d.x,d.y]);return f.useMemo(()=>({...d,update:$,refs:V,elements:z,floatingStyles:U}),[d,$,V,z,U])}const HE=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?xp({element:r.current,padding:o}).fn(n):{}:r?xp({element:r,padding:o}).fn(n):{}}}},KE=(e,t)=>({...ME(e),options:[e,t]}),QE=(e,t)=>({...DE(e),options:[e,t]}),YE=(e,t)=>({...zE(e),options:[e,t]}),GE=(e,t)=>({...IE(e),options:[e,t]}),XE=(e,t)=>({...FE(e),options:[e,t]}),qE=(e,t)=>({...$E(e),options:[e,t]}),ZE=(e,t)=>({...HE(e),options:[e,t]});var JE="Arrow",Pg=f.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return w.jsx(Z.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:w.jsx("polygon",{points:"0,0 30,0 15,10"})})});Pg.displayName=JE;var eC=Pg;function kg(e){const[t,n]=f.useState(void 0);return Rt(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Rg="Popper",[Tg,Ng]=Xn(Rg),[x2,Ag]=Tg(Rg),_g="PopperAnchor",Lg=f.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=Ag(_g,n),s=f.useRef(null),a=oe(t,s);return f.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:w.jsx(Z.div,{...o,ref:a})});Lg.displayName=_g;var md="PopperContent",[tC,nC]=Tg(md),Og=f.forwardRef((e,t)=>{var te,Er,dn,Zn,fn,Cr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l
vendor: 4,303 bytes, line 136
136=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:c="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:S,...m}=e,x=Ag(md,n),[g,v]=f.useState(null),y=oe(t,pn=>v(pn)),[b,E]=f.useState(null),C=kg(b),P=(C==null?void 0:C.width)??0,R=(C==null?void 0:C.height)??0,T=r+(i!=="center"?"-"+i:""),A=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},k=Array.isArray(u)?u:[u],O=k.length>0,$={padding:A,boundary:k.filter(oC),altBoundary:O},{refs:M,floatingStyles:V,placement:z,isPositioned:U,middlewareData:N}=WE({strategy:"fixed",placement:T,whileElementsMounted:(...pn)=>jE(...pn,{animationFrame:p==="always"}),elements:{reference:x.anchor},middleware:[KE({mainAxis:o+R,alignmentAxis:s}),l&&QE({mainAxis:!0,crossAxis:!1,limiter:c==="partial"?YE():void 0,...$}),l&&GE({...$}),XE({...$,apply:({elements:pn,rects:$i,availableWidth:nl,availableHeight:zi})=>{const{width:rl,height:_o}=$i.reference,Pr=pn.floating.style;Pr.setProperty("--radix-popper-available-width",`${nl}px`),Pr.setProperty("--radix-popper-available-height",`${zi}px`),Pr.setProperty("--radix-popper-anchor-width",`${rl}px`),Pr.setProperty("--radix-popper-anchor-height",`${_o}px`)}}),b&&ZE({element:b,padding:a}),iC({arrowWidth:P,arrowHeight:R}),h&&qE({strategy:"referenceHidden",...$})]}),[L,I]=Dg(z),K=ke(S);Rt(()=>{U&&(K==null||K())},[U,K]);const B=(te=N.arrow)==null?void 0:te.x,Y=(Er=N.arrow)==null?void 0:Er.y,X=((dn=N.arrow)==null?void 0:dn.centerOffset)!==0,[we,Ne]=f.useState();return Rt(()=>{g&&Ne(window.getComputedStyle(g).zIndex)},[g]),w.jsx("div",{ref:M.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:U?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(Zn=N.transformOrigin)==null?void 0:Zn.x,(fn=N.transformOrigin)==null?void 0:fn.y].join(" "),...((Cr=N.hide)==null?void 0:Cr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:w.jsx(tC,{scope:n,placedSide:L,onArrowChange:E,arrowX:B,arrowY:Y,shouldHideArrow:X,children:w.jsx(Z.div,{"data-side":L,"data-align":I,...m,ref:y,style:{...m.style,animation:U?void 0:"none"}})})})});Og.displayName=md;var jg="PopperArrow",rC={top:"bottom",right:"left",bottom:"top",left:"right"},Mg=f.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=nC(jg,r),s=rC[i.placedSide];return w.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:w.jsx(eC,{...o,ref:n,style:{...o.style,display:"block"}})})});Mg.displayName=jg;function oC(e){return e!==null}var iC=e=>({name:"transformOrigin",options:e,fn(t){var x,g,v;const{placement:n,rects:r,middlewareData:o}=t,s=((x=o.arrow)==null?void 0:x.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,d]=Dg(n),c={start:"0%",center:"50%",end:"100%"}[d],h=(((g=o.arrow)==null?void 0:g.x)??0)+a/2,p=(((v=o.arrow)==null?void 0:v.y)??0)+l/2;let S="",m="";return u==="bottom"?(S=s?c:`${h}px`,m=`${-l}px`):u==="top"?(S=s?c:`${h}px`,m=`${r.floating.height+l}px`):u==="right"?(S=`${-l}px`,m=s?c:`${p}px`):u==="left"&&(S=`${r.floating.width+l}px`,m=s?c:`${p}px`),{data:{x:S,y:m}}}});function Dg(e){const[t,n="center"]=e.split("-");return[t,n]}var sC=Lg,aC=Og,lC=Mg,[Wa,S2]=Xn("Tooltip",[Ng]),vd=Ng(),Ig="TooltipProvider",uC=700,bp="tooltip.open",[cC,Fg]=Wa(Ig),$g=e=>{const{__scopeTooltip:t,delayDuration:n=uC,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=f.useRef(!0),a=f.useRef(!1),l=f.useRef(0);return f.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),w.jsx(cC,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:f.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:f.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:f.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:i})};$g.displayName=Ig;var zg="Tooltip",[b2,Ha]=Wa(zg),ec="TooltipTrigger",dC=f.forwardRef((e,t)=>
vendor: 4,483 bytes, line 136
136{const{__scopeTooltip:n,...r}=e,o=Ha(ec,n),i=Fg(ec,n),s=vd(n),a=f.useRef(null),l=oe(t,a,o.onTriggerChange),u=f.useRef(!1),d=f.useRef(!1),c=f.useCallback(()=>u.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",c),[c]),w.jsx(sC,{asChild:!0,...s,children:w.jsx(Z.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:ee(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:ee(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:ee(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",c,{once:!0})}),onFocus:ee(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:ee(e.onBlur,o.onClose),onClick:ee(e.onClick,o.onClose)})})});dC.displayName=ec;var fC="TooltipPortal",[E2,pC]=Wa(fC,{forceMount:void 0}),yo="TooltipContent",Ug=f.forwardRef((e,t)=>{const n=pC(yo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Ha(yo,e.__scopeTooltip);return w.jsx(_t,{present:r||s.open,children:s.disableHoverableContent?w.jsx(Bg,{side:o,...i,ref:t}):w.jsx(hC,{side:o,...i,ref:t})})}),hC=f.forwardRef((e,t)=>{const n=Ha(yo,e.__scopeTooltip),r=Fg(yo,e.__scopeTooltip),o=f.useRef(null),i=oe(t,o),[s,a]=f.useState(null),{trigger:l,onClose:u}=n,d=o.current,{onPointerInTransitChange:c}=r,h=f.useCallback(()=>{a(null),c(!1)},[c]),p=f.useCallback((S,m)=>{const x=S.currentTarget,g={x:S.clientX,y:S.clientY},v=wC(g,x.getBoundingClientRect()),y=xC(g,v),b=SC(m.getBoundingClientRect()),E=EC([...y,...b]);a(E),c(!0)},[c]);return f.useEffect(()=>()=>h(),[h]),f.useEffect(()=>{if(l&&d){const S=x=>p(x,d),m=x=>p(x,l);return l.addEventListener("pointerleave",S),d.addEventListener("pointerleave",m),()=>{l.removeEventListener("pointerleave",S),d.removeEventListener("pointerleave",m)}}},[l,d,p,h]),f.useEffect(()=>{if(s){const S=m=>{const x=m.target,g={x:m.clientX,y:m.clientY},v=(l==null?void 0:l.contains(x))||(d==null?void 0:d.contains(x)),y=!bC(g,s);v?h():y&&(h(),u())};return document.addEventListener("pointermove",S),()=>document.removeEventListener("pointermove",S)}},[l,d,s,u,h]),w.jsx(Bg,{...e,ref:i})}),[mC,vC]=Wa(zg,{isInside:!1}),gC=k1("TooltipContent"),Bg=f.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=Ha(yo,n),u=vd(n),{onClose:d}=l;return f.useEffect(()=>(document.addEventListener(bp,d),()=>document.removeEventListener(bp,d)),[d]),f.useEffect(()=>{if(l.trigger){const c=h=>{const p=h.target;p!=null&&p.contains(l.trigger)&&d()};return window.addEventListener("scroll",c,{capture:!0}),()=>window.removeEventListener("scroll",c,{capture:!0})}},[l.trigger,d]),w.jsx(Ia,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:c=>c.preventDefault(),onDismiss:d,children:w.jsxs(aC,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.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:[w.jsx(gC,{children:r}),w.jsx(mC,{scope:n,isInside:!0,children:w.jsx(G1,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Ug.displayName=yo;var Vg="TooltipArrow",yC=f.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=vd(n);return vC(Vg,n).isInside?null:w.jsx(lC,{...o,...r,ref:t})});yC.displayName=Vg;function wC(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 xC(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 SC(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 bC(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i],l=t[s],u=a.x,d=a.y,c=l.x,h=l.y;d>r!=h>
136r&&n<(c-u)*(r-d)/(h-d)+u&&(o=!o)}return o}function EC(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),CC(t)}function CC(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var PC=$g,Wg=Ug;const kC=PC,RC=f.forwardRef(({className:e,sideOffset:t=4,...n},r)=>w.jsx(Wg,{ref:r,sideOffset:t,className:de("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}));RC.displayName=Wg.displayName;var Ka=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(){}},Qa=typeof window>"u"||"Deno"in globalThis;function wt(){}function TC(e,t){return typeof e=="function"?e(t):e}function NC(e){return typeof e=="number"&&e>=0&&e!==1/0}function AC(e,t){return Math.max(e+(t||0)-Date.now(),0)}function tc(e,t){return typeof e=="function"?e(t):e}function _C(e,t){return typeof e=="function"?e(t):e}function Ep(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==gd(s,t.options))return!1}else if(!Ci(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function Cp(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Ei(t.options.mutationKey)!==Ei(i))return!1}else if(!Ci(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function gd(e,t){return((t==null?void 0:t.queryKeyHashFn)||Ei)(e)}function Ei(e){return JSON.stringify(e,(t,n)=>nc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ci(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ci(e[n],t[n])):!1}function Hg(e,t){if(e===t)return e;const n=Pp(e)&&Pp(t);if(n||nc(e)&&nc(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{},l=new Set(r);let u=0;for(let d=0;d<s;d++){const c=n?d:i[d];(!n&&l.has(c)||n)&&e[c]===void 0&&t[c]===void 0?(a[c]=void 0,u++):(a[c]=Hg(e[c],t[c]),a[c]===e[c]&&e[c]!==void 0&&u++)}return o===s&&u===o?e:a}return t}function Pp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function nc(e){if(!kp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!kp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function kp(e){return Object.prototype.toString.call(e)==="[object Object]"}function LC(e){return new Promise(t=>{setTimeout(t,e)})}function OC(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Hg(e,t):t}function jC(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function MC(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var yd=Symbol();function Kg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===yd?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}
vendor: 4,195 bytes, line 136
136var sr,Rn,to,Jp,DC=(Jp=class extends Ka{constructor(){super();J(this,sr);J(this,Rn);J(this,to);H(this,to,t=>{if(!Qa&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){_(this,Rn)||this.setEventListener(_(this,to))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,Rn))==null||t.call(this),H(this,Rn,void 0))}setEventListener(t){var n;H(this,to,t),(n=_(this,Rn))==null||n.call(this),H(this,Rn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){_(this,sr)!==t&&(H(this,sr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof _(this,sr)=="boolean"?_(this,sr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},sr=new WeakMap,Rn=new WeakMap,to=new WeakMap,Jp),Qg=new DC,no,Tn,ro,eh,IC=(eh=class extends Ka{constructor(){super();J(this,no,!0);J(this,Tn);J(this,ro);H(this,ro,t=>{if(!Qa&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){_(this,Tn)||this.setEventListener(_(this,ro))}onUnsubscribe(){var t;this.hasListeners()||((t=_(this,Tn))==null||t.call(this),H(this,Tn,void 0))}setEventListener(t){var n;H(this,ro,t),(n=_(this,Tn))==null||n.call(this),H(this,Tn,t(this.setOnline.bind(this)))}setOnline(t){_(this,no)!==t&&(H(this,no,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return _(this,no)}},no=new WeakMap,Tn=new WeakMap,ro=new WeakMap,eh),ma=new IC;function FC(){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 $C(e){return Math.min(1e3*2**e,3e4)}function Yg(e){return(e??"online")==="online"?ma.isOnline():!0}var Gg=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function $l(e){return e instanceof Gg}function Xg(e){let t=!1,n=0,r=!1,o;const i=FC(),s=m=>{var x;r||(h(new Gg(m)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Qg.isFocused()&&(e.networkMode==="always"||ma.isOnline())&&e.canRun(),d=()=>Yg(e.networkMode)&&e.canRun(),c=m=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,m),o==null||o(),i.resolve(m))},h=m=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,m),o==null||o(),i.reject(m))},p=()=>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)}),S=()=>{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(c).catch(g=>{var C;if(r)return;const v=e.retry??(Qa?0:3),y=e.retryDelay??$C,b=typeof y=="function"?y(n,g):y,E=v===!0||typeof v=="number"&&n<v||typeof v=="function"&&v(n,g);if(t||!E){h(g);return}n++,(C=e.onFail)==null||C.call(e,n,g),LC(b).then(()=>u()?void 0:p()).then(()=>{t?h(g):S()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:l,canStart:d,start:()=>(d()?S():p().then(S),i)}}var zC=e=>setTimeout(e,0);function UC(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=zC;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var Fe=UC(),ar,th,qg=(th=class{constructor(){J(this,ar)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),NC(this.gcTime)&&H(this,ar,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Qa?1/0:5*60*1e3))}clearGcTimeout(){_(this,ar)&&(clearTimeout(_(this,ar)),H(this,ar,void 0))}},ar=new WeakMap,th),oo,lr,ot,ur,Oe,ki,cr,xt,Qt,nh,BC=(nh=class extends qg{constructor(t){super();
vendor: 2,651 bytes, line 136
136J(this,xt);J(this,oo);J(this,lr);J(this,ot);J(this,ur);J(this,Oe);J(this,ki);J(this,cr);H(this,cr,!1),H(this,ki,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,ur,t.client),H(this,ot,_(this,ur).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,oo,WC(this.options)),this.state=t.state??_(this,oo),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=_(this,Oe))==null?void 0:t.promise}setOptions(t){this.options={..._(this,ki),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&_(this,ot).remove(this)}setData(t,n){const r=OC(this.state.data,t,this.options);return Ae(this,xt,Qt).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Ae(this,xt,Qt).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=_(this,Oe))==null?void 0:r.promise;return(o=_(this,Oe))==null||o.cancel(t),n?n.then(wt).catch(wt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_(this,oo))}isActive(){return this.observers.some(t=>_C(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===yd||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>tc(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:!AC(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,Oe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=_(this,Oe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),_(this,ot).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(_(this,Oe)&&(_(this,cr)?_(this,Oe).cancel({revert:!0}):_(this,Oe).cancelRetry()),this.scheduleGc()),_(this,ot).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Ae(this,xt,Qt).call(this,{type:"invalidate"})}
vendor: 8,652 bytes, line 136
136fetch(t,n){var u,d,c;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(_(this,Oe))return _(this,Oe).continueRetry(),_(this,Oe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(H(this,cr,!0),r.signal)})},i=()=>{const h=Kg(this.options,n),S=(()=>{const m={client:_(this,ur),queryKey:this.queryKey,meta:this.meta};return o(m),m})();return H(this,cr,!1),this.options.persister?this.options.persister(h,S,this):h(S)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:_(this,ur),state:this.state,fetchFn:i};return o(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),H(this,lr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&Ae(this,xt,Qt).call(this,{type:"fetch",meta:(c=a.fetchOptions)==null?void 0:c.meta});const l=h=>{var p,S,m,x;$l(h)&&h.silent||Ae(this,xt,Qt).call(this,{type:"error",error:h}),$l(h)||((S=(p=_(this,ot).config).onError)==null||S.call(p,h,this),(x=(m=_(this,ot).config).onSettled)==null||x.call(m,this.state.data,h,this)),this.scheduleGc()};return H(this,Oe,Xg({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,S,m,x;if(h===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){l(g);return}(S=(p=_(this,ot).config).onSuccess)==null||S.call(p,h,this),(x=(m=_(this,ot).config).onSettled)==null||x.call(m,h,this.state.error,this),this.scheduleGc()},onError:l,onFail:(h,p)=>{Ae(this,xt,Qt).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{Ae(this,xt,Qt).call(this,{type:"pause"})},onContinue:()=>{Ae(this,xt,Qt).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),_(this,Oe).start()}},oo=new WeakMap,lr=new WeakMap,ot=new WeakMap,ur=new WeakMap,Oe=new WeakMap,ki=new WeakMap,cr=new WeakMap,xt=new WeakSet,Qt=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,...VC(r.data,this.options),fetchMeta:t.meta??null};case"success":return H(this,lr,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 $l(o)&&o.revert&&_(this,lr)?{..._(this,lr),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),Fe.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),_(this,ot).notify({query:this,type:"updated",action:t})})},nh);function VC(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Yg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function WC(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 Mt,rh,HC=(rh=class extends Ka{constructor(t={}){super();J(this,Mt);this.config=t,H(this,Mt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??gd(o,n);let s=this.get(i);return s||(s=new BC({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){_(this,Mt).has(t.queryHash)||(_(this,Mt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=_(this,Mt).get(t.queryHash);n&&(t.destroy(),n===t&&_(this,Mt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Fe.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _(this,Mt).get(t)}getAll(){return[..._(this,Mt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Ep(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Ep(t,r)):n}notify(t){Fe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Fe.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Fe.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Mt=new WeakMap,rh),Dt,De,dr,It,xn,oh,KC=(oh=class extends qg{constructor(t){super();J(this,It);J(this,Dt);J(this,De);J(this,dr);this.mutationId=t.mutationId,H(this,De,t.mutationCache),H(this,Dt,[]),this.state=t.state||QC(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_(this,Dt).includes(t)||(_(this,Dt).push(t),this.clearGcTimeout(),_(this,De).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Dt,_(this,Dt).filter(n=>n!==t)),this.scheduleGc(),_(this,De).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_(this,Dt).length||(this.state.status==="pending"?this.scheduleGc():_(this,De).remove(this))}continue(){var t;return((t=_(this,dr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,l,u,d,c,h,p,S,m,x,g,v,y,b,E,C,P,R;const n=()=>{Ae(this,It,xn).call(this,{type:"continue"})};H(this,dr,Xg({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(T,A)=>{Ae(this,It,xn).call(this,{type:"failed",failureCount:T,error:A})},onPause:()=>{Ae(this,It,xn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>_(this,De).canRun(this)}));const r=this.state.status==="pending",o=!_(this,dr).canStart();try{if(r)n();else{Ae(this,It,xn).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=_(this,De).config).onMutate)==null?void 0:s.call(i,t,this));const A=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));A!==this.state.context&&Ae(this,It,xn).call(this,{type:"pending",context:A,variables:t,isPaused:o})}const T=await _(this,dr).start();return await((d=(u=_(this,De).config).onSuccess)==null?void 0:d.call(u,T,t,this.state.context,this)),await((h=(c=this.options).onSuccess)==null?void 0:h.call(c,T,t,this.state.context)),await((S=(p=_(this,De).config).onSettled)==null?void 0:S.call(p,T,null,this.state.variables,this.state.context,this)),await((x=(m=this.options).onSettled)==null?void 0:x.call(m,T,null,t,this.state.context)),Ae(this,It,xn).call(this,{type:"success",data:T}),T}catch(T){try{throw await((v=(g=_(this,De).config).onError)==null?void 0:v.call(g,T,t,this.state.context,this)),await((b=(y=this.options).onError)==null?void 0:b.call(y,T,t,this.state.context)),await((C=(E=_(this,De).config).onSettled)==null?void 0:C.call(E,void 0,T,this.state.variables,this.state.context,this)),await((R=(P=this.options).onSettled)==null?void 0:R.call(P,void 0,T,t,this.state.context)),T}finally{Ae(this,It,xn).call(this,{type:"error",error:T})}}finally{_(this,De).runNext(this)}}},Dt=new WeakMap,De=new WeakMap,dr=new WeakMap,It=new WeakSet,xn=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),Fe.batch(()=>{_(this,Dt).forEach(r=>{r.onMutationUpdate(t)}),_(this,De).notify({mutation:this,type:"updated",action:t})})},oh);function QC(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}
136var Xt,St,Ri,ih,YC=(ih=class extends Ka{constructor(t={}){super();J(this,Xt);J(this,St);J(this,Ri);this.config=t,H(this,Xt,new Set),H(this,St,new Map),H(this,Ri,0)}build(t,n,r){const o=new KC({mutationCache:this,mutationId:++Bi(this,Ri)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){_(this,Xt).add(t);const n=cs(t);if(typeof n=="string"){const r=_(this,St).get(n);r?r.push(t):_(this,St).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(_(this,Xt).delete(t)){const n=cs(t);if(typeof n=="string"){const r=_(this,St).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&_(this,St).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=cs(t);if(typeof n=="string"){const r=_(this,St).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=cs(t);if(typeof n=="string"){const o=(r=_(this,St).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(){Fe.batch(()=>{_(this,Xt).forEach(t=>{this.notify({type:"removed",mutation:t})}),_(this,Xt).clear(),_(this,St).clear()})}getAll(){return Array.from(_(this,Xt))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Cp(n,r))}findAll(t={}){return this.getAll().filter(n=>Cp(t,n))}notify(t){Fe.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Fe.batch(()=>Promise.all(t.map(n=>n.continue().catch(wt))))}},Xt=new WeakMap,St=new WeakMap,Ri=new WeakMap,ih);function cs(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Rp(e){return{onFetch:(t,n)=>{var d,c,h,p,S;const r=t.options,o=(h=(c=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:c.fetchMore)==null?void 0:h.direction,i=((p=t.state.data)==null?void 0:p.pages)||[],s=((S=t.state.data)==null?void 0:S.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let m=!1;const x=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?m=!0:t.signal.addEventListener("abort",()=>{m=!0}),t.signal)})},g=Kg(t.options,t.fetchOptions),v=async(y,b,E)=>{if(m)return Promise.reject();if(b==null&&y.pages.length)return Promise.resolve(y);const P=(()=>{const k={client:t.client,queryKey:t.queryKey,pageParam:b,direction:E?"backward":"forward",meta:t.options.meta};return x(k),k})(),R=await g(P),{maxPages:T}=t.options,A=E?MC:jC;return{pages:A(y.pages,R,T),pageParams:A(y.pageParams,b,T)}};if(o&&i.length){const y=o==="backward",b=y?GC:Tp,E={pages:i,pageParams:s},C=b(r,E);a=await v(E,C,y)}else{const y=e??i.length;do{const b=l===0?s[0]??r.initialPageParam:Tp(r,a);if(l>0&&b==null)break;a=await v(a,b),l++}while(l<y)}return a};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 Tp(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 GC(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 ve,Nn,An,io,so,_n,ao,lo,sh,XC=(sh=class{constructor(e={}){J(this,ve);J(this,Nn);J(this,An);J(this,io);J(this,so);J(this,_n);J(this,ao);J(this,lo);H(this,ve,e.queryCache||new HC),H(this,Nn,e.mutationCache||new YC),H(this,An,e.defaultOptions||{}),H(this,io,new Map),H(this,so,new Map),H(this,_n,0)}mount(){Bi(this,_n)._++,_(this,_n)===1&&(H(this,ao,Qg.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,ve).onFocus())})),H(this,lo,ma.subscribe(async e=>{e&&(await this.resumePausedMutations(),_(this,ve).onOnline())})))}unmount(){var e,t;Bi(this,_n)._--,_(this,_n)===0&&((e=_(this,ao))==null||e.call(this),H(this,ao,void 0),(t=_(this,lo))==null||t.call(this),H(this,lo,void 0))}isFetching(e){return _(this,ve).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return _(this,Nn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,ve).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=_(this,ve).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(tc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return _(this,ve).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=_(this,ve).get(r.queryHash),i=o==null?void 0:o.state.data,s=TC(t,i);if(s!==void 0)return _(this,ve).build(this,r).setData(s,{...n,manual:!0})}
136setQueriesData(e,t,n){return Fe.batch(()=>_(this,ve).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=_(this,ve).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=_(this,ve);Fe.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=_(this,ve);return Fe.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Fe.batch(()=>_(this,ve).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(wt).catch(wt)}invalidateQueries(e,t={}){return Fe.batch(()=>(_(this,ve).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=Fe.batch(()=>_(this,ve).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(wt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(wt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=_(this,ve).build(this,t);return n.isStaleByTime(tc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(wt).catch(wt)}fetchInfiniteQuery(e){return e.behavior=Rp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(wt).catch(wt)}ensureInfiniteQueryData(e){return e.behavior=Rp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ma.isOnline()?_(this,Nn).resumePausedMutations():Promise.resolve()}getQueryCache(){return _(this,ve)}getMutationCache(){return _(this,Nn)}getDefaultOptions(){return _(this,An)}setDefaultOptions(e){H(this,An,e)}setQueryDefaults(e,t){_(this,io).set(Ei(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._(this,io).values()],n={};return t.forEach(r=>{Ci(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){_(this,so).set(Ei(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._(this,so).values()],n={};return t.forEach(r=>{Ci(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={..._(this,An).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=gd(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===yd&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{..._(this,An).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){_(this,ve).clear(),_(this,Nn).clear()}},ve=new WeakMap,Nn=new WeakMap,An=new WeakMap,io=new WeakMap,so=new WeakMap,_n=new WeakMap,ao=new WeakMap,lo=new WeakMap,sh),qC=f.createContext(void 0),ZC=({client:e,children:t})=>(f.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),w.jsx(qC.Provider,{value:e,children:t}));/**
137 * react-router v7.12.0
138 *
139 * Copyright (c) Remix Software Inc.
140 *
141 * This source code is licensed under the MIT license found in the
142 * LICENSE.md file in the root directory of this source tree.
143 *
144 * @license MIT
145 */var Np="popstate";function JC(e={}){function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return rc("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Pi(o)}return tP(t,n,null,e)}function he(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function At(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function eP(){return Math.random().toString(36).substring(2,10)}function Ap(e,t){return{usr:e.state,key:e.key,idx:t}}function rc(e,t,n=null,r){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?Ro(t):t,state:n,key:t&&t.key||r||eP()}}function Pi({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function Ro(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function tP(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a="POP",l=null,u=d();u==null&&(u=0,s.replaceState({...s.state,idx:u},""));function d(){return(s.state||{idx:null}).idx}function c(){a="POP";let x=d(),g=x==null?null:x-u;u=x,l&&l({action:a,location:m.location,delta:g})}function h(x,g){a="PUSH";let v=rc(m.location,x,g);u=d()+1;let y=Ap(v,u),b=m.createHref(v);try{s.pushState(y,"",b)}
145catch(E){if(E instanceof DOMException&&E.name==="DataCloneError")throw E;o.location.assign(b)}i&&l&&l({action:a,location:m.location,delta:1})}function p(x,g){a="REPLACE";let v=rc(m.location,x,g);u=d();let y=Ap(v,u),b=m.createHref(v);s.replaceState(y,"",b),i&&l&&l({action:a,location:m.location,delta:0})}function S(x){return nP(x)}let m={get action(){return a},get location(){return e(o,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Np,c),l=x,()=>{o.removeEventListener(Np,c),l=null}},createHref(x){return t(o,x)},createURL:S,encodeLocation(x){let g=S(x);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(x){return s.go(x)}};return m}function nP(e,t=!1){let n="http://localhost";typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),he(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:Pi(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Zg(e,t,n="/"){return rP(e,t,n,!1)}function rP(e,t,n,r){let o=typeof t=="string"?Ro(t):t,i=ln(o.pathname||"/",n);if(i==null)return null;let s=Jg(e);oP(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=mP(i);a=pP(s[l],u,r)}return a}function Jg(e,t=[],n=[],r="",o=!1){let i=(s,a,l=o,u)=>{let d={relativePath:u===void 0?s.path||"":u,caseSensitive:s.caseSensitive===!0,childrenIndex:a,route:s};if(d.relativePath.startsWith("/")){if(!d.relativePath.startsWith(r)&&l)return;he(d.relativePath.startsWith(r),`Absolute route path "${d.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(r.length)}let c=en([r,d.relativePath]),h=n.concat(d);s.children&&s.children.length>0&&(he(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${c}".`),Jg(s.children,t,h,c,l)),!(s.path==null&&!s.index)&&t.push({path:c,score:dP(c,s.index),routesMeta:h})};return e.forEach((s,a)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))i(s,a);else for(let u of ey(s.path))i(s,a,!0,u)}),t}function ey(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=ey(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function oP(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:fP(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var iP=/^:[\w-]+$/,sP=3,aP=2,lP=1,uP=10,cP=-2,_p=e=>e==="*";function dP(e,t){let n=e.split("/"),r=n.length;return n.some(_p)&&(r+=cP),t&&(r+=aP),n.filter(o=>!_p(o)).reduce((o,i)=>o+(iP.test(i)?sP:i===""?lP:uP),r)}function fP(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 pP(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,d=i==="/"?t:t.slice(i.length)||"/",c=va({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),h=l.route;if(!c&&u&&n&&!r[r.length-1].route.index&&(c=va({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},d)),!c)return null;
145Object.assign(o,c.params),s.push({params:o,pathname:en([i,c.pathname]),pathnameBase:wP(en([i,c.pathnameBase])),route:h}),c.pathnameBase!=="/"&&(i=en([i,c.pathnameBase]))}return s}function va(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=hP(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,{paramName:d,isOptional:c},h)=>{if(d==="*"){let S=a[h]||"";s=i.slice(0,i.length-S.length).replace(/(.)\/+$/,"$1")}const p=a[h];return c&&!p?u[d]=void 0:u[d]=(p||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function hP(e,t=!1,n=!0){At(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function mP(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return At(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function ln(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)||"/"}var ty=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,vP=e=>ty.test(e);function gP(e,t="/"){let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Ro(e):e,i;if(n)if(vP(n))i=n;else{if(n.includes("//")){let s=n;n=n.replace(/\/\/+/g,"/"),At(!1,`Pathnames cannot have embedded double slashes - normalizing ${s} -> ${n}`)}n.startsWith("/")?i=Lp(n.substring(1),"/"):i=Lp(n,t)}else i=t;return{pathname:i,search:xP(r),hash:SP(o)}}function Lp(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 zl(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 yP(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function ny(e){let t=yP(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function ry(e,t,n,r=!1){let o;typeof e=="string"?o=Ro(e):(o={...e},he(!o.pathname||!o.pathname.includes("?"),zl("?","pathname","search",o)),he(!o.pathname||!o.pathname.includes("#"),zl("#","pathname","hash",o)),he(!o.search||!o.search.includes("#"),zl("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let c=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),c-=1;o.pathname=h.join("/")}a=c>=0?t[c]:"/"}let l=gP(o,a),u=s&&s!=="/"&&s.endsWith("/"),d=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}var en=e=>e.join("/").replace(/\/\/+/g,"/"),wP=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),xP=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,SP=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,bP=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function EP(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function CP(e){return e.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var oy=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function iy(e,t){let n=e;
145if(typeof n!="string"||!ty.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,o=!1;if(oy)try{let i=new URL(window.location.href),s=n.startsWith("//")?new URL(i.protocol+n):new URL(n),a=ln(s.pathname,t);s.origin===i.origin&&a!=null?n=a+s.search+s.hash:o=!0}catch{At(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:o,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var sy=["POST","PUT","PATCH","DELETE"];new Set(sy);var PP=["GET",...sy];new Set(PP);var To=f.createContext(null);To.displayName="DataRouter";var Ya=f.createContext(null);Ya.displayName="DataRouterState";var kP=f.createContext(!1),ay=f.createContext({isTransitioning:!1});ay.displayName="ViewTransition";var RP=f.createContext(new Map);RP.displayName="Fetchers";var TP=f.createContext(null);TP.displayName="Await";var dt=f.createContext(null);dt.displayName="Navigation";var Di=f.createContext(null);Di.displayName="Location";var cn=f.createContext({outlet:null,matches:[],isDataRoute:!1});cn.displayName="Route";var wd=f.createContext(null);wd.displayName="RouteError";var ly="REACT_ROUTER_ERROR",NP="REDIRECT",AP="ROUTE_ERROR_RESPONSE";function _P(e){if(e.startsWith(`${ly}:${NP}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function LP(e){if(e.startsWith(`${ly}:${AP}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new bP(t.status,t.statusText,t.data)}catch{}}function OP(e,{relative:t}={}){he(Ii(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=f.useContext(dt),{hash:o,pathname:i,search:s}=Fi(e,{relative:t}),a=i;return n!=="/"&&(a=i==="/"?n:en([n,i])),r.createHref({pathname:a,search:s,hash:o})}function Ii(){return f.useContext(Di)!=null}function qn(){return he(Ii(),"useLocation() may be used only in the context of a <Router> component."),f.useContext(Di).location}var uy="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function cy(e){f.useContext(dt).static||f.useLayoutEffect(e)}function jP(){let{isDataRoute:e}=f.useContext(cn);return e?QP():MP()}function MP(){he(Ii(),"useNavigate() may be used only in the context of a <Router> component.");let e=f.useContext(To),{basename:t,navigator:n}=f.useContext(dt),{matches:r}=f.useContext(cn),{pathname:o}=qn(),i=JSON.stringify(ny(r)),s=f.useRef(!1);return cy(()=>{s.current=!0}),f.useCallback((l,u={})=>{if(At(s.current,uy),!s.current)return;if(typeof l=="number"){n.go(l);return}let d=ry(l,JSON.parse(i),o,u.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:en([t,d.pathname])),(u.replace?n.replace:n.push)(d,u.state,u)},[t,n,i,o,e])}f.createContext(null);function Fi(e,{relative:t}={}){let{matches:n}=f.useContext(cn),{pathname:r}=qn(),o=JSON.stringify(ny(n));return f.useMemo(()=>ry(e,JSON.parse(o),r,t==="path"),[e,o,r,t])}function DP(e,t){return dy(e,t)}function dy(e,t,n,r,o){var v;he(Ii(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=f.useContext(dt),{matches:s}=f.useContext(cn),a=s[s.length-1],l=a?a.params:{},u=a?a.pathname:"/",d=a?a.pathnameBase:"/",c=a&&a.route;{let y=c&&c.path||"";py(u,!c||y.endsWith("*")||y.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${u}" (under <Route path="${y}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
146
147Please change the parent <Route path="${y}"> to <Route path="${y==="/"?"*":`${y}/*`}">.`)}let h=qn(),p;if(t){let y=typeof t=="string"?Ro(t):t;he(d==="/"||((v=y.pathname)==null?void 0:v.startsWith(d)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${d}" but pathname "${y.pathname}" was given in the \`location\` prop.`),p=y}else p=h;let S=p.pathname||"/",m=S;if(d!=="/"){let y=d.replace(/^\//,"").split("/");m="/"+S.replace(/^\//,"").split("/").slice(y.length).join("/")}let x=Zg(e,{pathname:m});At(c||x!=null,`No routes matched location "${p.pathname}${p.search}${p.hash}" `),At(x==null||x[x.length-1].route.element!==void 0||x[x.length-1].route.Component!==void 0||x[x.length-1].route.lazy!==void 0,`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let g=UP(x&&x.map(y=>Object.assign({},y,{params:Object.assign({},l,y.params),pathname:en([d,i.encodeLocation?i.encodeLocation(y.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathname]),pathnameBase:y.pathnameBase==="/"?d:en([d,i.encodeLocation?i.encodeLocation(y.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:y.pathnameBase])})),s,n,r,o);return t&&g?f.createElement(Di.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...p},navigationType:"POP"}},g):g}function IP(){let e=KP(),t=EP(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=f.createElement(f.Fragment,null,f.createElement("p",null,"💿 Hey developer 👋"),f.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",f.createElement("code",{style:i},"ErrorBoundary")," or"," ",f.createElement("code",{style:i},"errorElement")," prop on your route.")),f.createElement(f.Fragment,null,f.createElement("h2",null,"Unexpected Application 
147Error!"),f.createElement("h3",{style:{fontStyle:"italic"}},t),n?f.createElement("pre",{style:o},n):null,s)}var FP=f.createElement(IP,null),fy=class extends f.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=LP(e.digest);n&&(e=n)}let t=e!==void 0?f.createElement(cn.Provider,{value:this.props.routeContext},f.createElement(wd.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?f.createElement($P,{error:e},t):t}};fy.contextType=kP;var Ul=new WeakMap;function $P({children:e,error:t}){let{basename:n}=f.useContext(dt);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=_P(t.digest);if(r){let o=Ul.get(t);if(o)throw o;let i=iy(r.location,n);if(oy&&!Ul.get(t))if(i.isExternal||r.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const s=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:r.replace}));throw Ul.set(t,s),s}return f.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return e}function zP({routeContext:e,match:t,children:n}){let r=f.useContext(To);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),f.createElement(cn.Provider,{value:e},n)}function UP(e,t=[],n=null,r=null,o=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,s=n==null?void 0:n.errors;if(s!=null){let d=i.findIndex(c=>c.route.id&&(s==null?void 0:s[c.route.id])!==void 0);he(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(s).join(",")}`),i=i.slice(0,Math.min(i.length,d+1))}let a=!1,l=-1;if(n)for(let d=0;d<i.length;d++){let c=i[d];if((c.route.HydrateFallback||c.route.hydrateFallbackElement)&&(l=d),c.route.id){let{loaderData:h,errors:p}=n,S=c.route.loader&&!h.hasOwnProperty(c.route.id)&&(!p||p[c.route.id]===void 0);if(c.route.lazy||S){a=!0,l>=0?i=i.slice(0,l+1):i=[i[0]];break}}}let u=n&&r?(d,c)=>{var h,p;r(d,{location:n.location,params:((p=(h=n.matches)==null?void 0:h[0])==null?void 0:p.params)??{},unstable_pattern:CP(n.matches),errorInfo:c})}:void 0;return i.reduceRight((d,c,h)=>{let p,S=!1,m=null,x=null;n&&(p=s&&c.route.id?s[c.route.id]:void 0,m=c.route.errorElement||FP,a&&(l<0&&h===0?(py("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,x=null):l===h&&(S=!0,x=c.route.hydrateFallbackElement||null)));let g=t.concat(i.slice(0,h+1)),v=()=>{let y;return p?y=m:S?y=x:c.route.Component?y=f.createElement(c.route.Component,null):c.route.element?y=c.route.element:y=d,f.createElement(zP,{match:c,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:y})};return n&&(c.route.ErrorBoundary||c.route.errorElement||h===0)?f.createElement(fy,{location:n.location,revalidation:n.revalidation,component:m,error:p,children:v(),routeContext:{outlet:null,matches:g,isDataRoute:!0},onError:u}):v()},null)}function xd(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function BP(e){let t=f.useContext(To);return he(t,xd(e)),t}function VP(e){let t=f.useContext(Ya);return he(t,xd(e)),t}function WP(e){let t=f.useContext(cn);return he(t,xd(e)),t}function Sd(e){let t=WP(e),n=t.matches[t.matches.length-1];return he(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function HP(){return Sd("useRouteId")}function KP(){var r;let e=f.useContext(wd),t=VP("useRouteError"),n=Sd("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function QP(){let{router:e}=BP("useNavigate"),t=Sd("useNavigate"),n=f.useRef(!1);return cy(()=>{n.current=!0}),f.useCallback(async(o,i={})=>{At(n.current,uy),n.current&&(typeof o=="number"?await e.navigate(o):await e.navigate(o,{fromRouteId:t,...i}))},[e,t])}var Op={};function py(e,t,n){!t&&!Op[e]&&(Op[e]=!0,At(!1,n))}f.memo(YP);function YP({routes:e,future:t,state:n,onError:r}){return dy(e,void 0,n,r,t)}function Ms(e){he(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function GP({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:o,static:i=!1,unstable_useTransitions:s}){he(!Ii(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let a=e.replace(/^\/*/,"/"),l=f.useMemo(()=>({basename:a,navigator:o,static:i,unstable_useTransitions:s,future:{}}),[a,o,i,s]);typeof n=="string"&&(n=Ro(n));
147let{pathname:u="/",search:d="",hash:c="",state:h=null,key:p="default"}=n,S=f.useMemo(()=>{let m=ln(u,a);return m==null?null:{location:{pathname:m,search:d,hash:c,state:h,key:p},navigationType:r}},[a,u,d,c,h,p,r]);return At(S!=null,`<Router basename="${a}"> is not able to match the URL "${u}${d}${c}" because it does not start with the basename, so the <Router> won't render anything.`),S==null?null:f.createElement(dt.Provider,{value:l},f.createElement(Di.Provider,{children:t,value:S}))}function XP({children:e,location:t}){return DP(oc(e),t)}function oc(e,t=[]){let n=[];return f.Children.forEach(e,(r,o)=>{if(!f.isValidElement(r))return;let i=[...t,o];if(r.type===f.Fragment){n.push.apply(n,oc(r.props.children,i));return}he(r.type===Ms,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),he(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=oc(r.props.children,i)),n.push(s)}),n}var Ds="get",Is="application/x-www-form-urlencoded";function Ga(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function qP(e){return Ga(e)&&e.tagName.toLowerCase()==="button"}function ZP(e){return Ga(e)&&e.tagName.toLowerCase()==="form"}function JP(e){return Ga(e)&&e.tagName.toLowerCase()==="input"}function ek(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function tk(e,t){return e.button===0&&(!t||t==="_self")&&!ek(e)}var ds=null;function nk(){if(ds===null)try{new FormData(document.createElement("form"),0),ds=!1}catch{ds=!0}return ds}var rk=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Bl(e){return e!=null&&!rk.has(e)?(At(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${Is}"`),null):e}function ok(e,t){let n,r,o,i,s;if(ZP(e)){let a=e.getAttribute("action");r=a?ln(a,t):null,n=e.getAttribute("method")||Ds,o=Bl(e.getAttribute("enctype"))||Is,i=new FormData(e)}else if(qP(e)||JP(e)&&(e.type==="submit"||e.type==="image")){let a=e.form;if(a==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||a.getAttribute("action");if(r=l?ln(l,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||Ds,o=Bl(e.getAttribute("formenctype"))||Bl(a.getAttribute("enctype"))||Is,i=new FormData(a,e),!nk()){let{name:u,type:d,value:c}=e;if(d==="image"){let h=u?`${u}.`:"";i.append(`${h}x`,"0"),i.append(`${h}y`,"0")}else u&&i.append(u,c)}}else{if(Ga(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=Ds,r=null,o=Is,s=e}return i&&o==="text/plain"&&(s=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function bd(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function ik(e,t,n,r){let o=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${r}`:o.pathname=`${o.pathname}.${r}`:o.pathname==="/"?o.pathname=`_root.${r}`:t&&ln(o.pathname,t)==="/"?o.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${r}`,o}async function sk(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.
147isSpaMode,window.location.reload(),new Promise(()=>{})}}function ak(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function lk(e,t,n){let r=await Promise.all(e.map(async o=>{let i=t.routes[o.route.id];if(i){let s=await sk(i,n);return s.links?s.links():[]}return[]}));return fk(r.flat(1).filter(ak).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function jp(e,t,n,r,o,i){let s=(l,u)=>n[u]?l.route.id!==n[u].route.id:!0,a=(l,u)=>{var d;return n[u].pathname!==l.pathname||((d=n[u].route.path)==null?void 0:d.endsWith("*"))&&n[u].params["*"]!==l.params["*"]};return i==="assets"?t.filter((l,u)=>s(l,u)||a(l,u)):i==="data"?t.filter((l,u)=>{var c;let d=r.routes[l.route.id];if(!d||!d.hasLoader)return!1;if(s(l,u)||a(l,u))return!0;if(l.route.shouldRevalidate){let h=l.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:((c=n[0])==null?void 0:c.params)||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof h=="boolean")return h}return!0}):[]}function uk(e,t,{includeHydrateFallback:n}={}){return ck(e.map(r=>{let o=t.routes[r.route.id];if(!o)return[];let i=[o.module];return o.clientActionModule&&(i=i.concat(o.clientActionModule)),o.clientLoaderModule&&(i=i.concat(o.clientLoaderModule)),n&&o.hydrateFallbackModule&&(i=i.concat(o.hydrateFallbackModule)),o.imports&&(i=i.concat(o.imports)),i}).flat(1))}function ck(e){return[...new Set(e)]}function dk(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function fk(e,t){let n=new Set;return new Set(t),e.reduce((r,o)=>{let i=JSON.stringify(dk(o));return n.has(i)||(n.add(i),r.push({key:i,link:o})),r},[])}function hy(){let e=f.useContext(To);return bd(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function pk(){let e=f.useContext(Ya);return bd(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var Ed=f.createContext(void 0);Ed.displayName="FrameworkContext";function my(){let e=f.useContext(Ed);return bd(e,"You must render this element inside a <HydratedRouter> element"),e}function hk(e,t){let n=f.useContext(Ed),[r,o]=f.useState(!1),[i,s]=f.useState(!1),{onFocus:a,onBlur:l,onMouseEnter:u,onMouseLeave:d,onTouchStart:c}=t,h=f.useRef(null);f.useEffect(()=>{if(e==="render"&&s(!0),e==="viewport"){let m=g=>{g.forEach(v=>{s(v.isIntersecting)})},x=new IntersectionObserver(m,{threshold:.5});return h.current&&x.observe(h.current),()=>{x.disconnect()}}},[e]),f.useEffect(()=>{if(r){let m=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(m)}}},[r]);let p=()=>{o(!0)},S=()=>{o(!1),s(!1)};return n?e!=="intent"?[i,h,{}]:[i,h,{onFocus:Vo(a,p),onBlur:Vo(l,S),onMouseEnter:Vo(u,p),onMouseLeave:Vo(d,S),onTouchStart:Vo(c,p)}]:[!1,h,{}]}function Vo(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function mk({page:e,...t}){let{router:n}=hy(),r=f.useMemo(()=>Zg(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?f.createElement(gk,{page:e,matches:r,...t}):null}function vk(e){let{manifest:t,routeModules:n}=my(),[r,o]=f.useState([]);return f.useEffect(()=>{let i=!1;return lk(e,t,n).then(s=>{i||o(s)}),()=>{i=!0}},[e,t,n]),r}function gk({page:e,matches:t,...n}){let r=qn(),{future:o,manifest:i,routeModules:s}=my(),{basename:a}=hy(),{loaderData:l,matches:u}=pk(),d=f.useMemo(()=>jp(e,t,u,i,r,"data"),[e,t,u,i,r]),c=f.useMemo(()=>jp(e,t,u,i,r,"assets"),[e,t,u,i,r]),h=f.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let m=new Set,x=!1;if(t.forEach(v=>{var b;let y=i.routes[v.route.id];!y||!y.hasLoader||(!d.some(E=>E.route.id===v.route.id)&&v.route.id in l&&((b=s[v.route.id])!=null&&b.shouldRevalidate)||y.hasClientLoader?x=!0:m.add(v.route.id))}),m.size===0)return[];let g=ik(e,a,o.unstable_trailingSlashAwareDataRequests,"data");return x&&m.size>0&&g.searchParams.set("_routes",t.filter(v=>m.has(v.route.id)).map(v=>v.route.id).join(",")),[g.pathname+g.search]},[a,o.unstable_trailingSlashAwareDataRequests,l,r,i,d,t,e,s]),p=f.useMemo(()=>uk(c,i),[c,i]),S=vk(c);return f.createElement(f.Fragment,null,h.map(m=>f.createElement("link",{key:m,rel:"prefetch",as:"fetch",href:m,...n})),p.map(m=>f.createElement("link",{key:m,rel:"modulepreload",href:m,...n})),S.map(({key:m,link:x})=>f.createElement("link",{key:m,nonce:n.nonce,...x})))}function yk(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var wk=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{wk&&(window.__reactRouterVersion="7.12.0")}catch{}function xk({basename:e,children:t,unstable_useTransitions:n,window:r}){let o=f.useRef();o.current==null&&(o.current=JC({window:r,v5Compat:!0}));let i=o.current,[s,a]=f.useState({action:i.action,location:i.location}),l=f.useCallback(u=>{n===!1?a(u):f.startTransition(()=>a(u))},[n]);return f.useLayoutEffect(()=>i.listen(l),[i,l]),f.createElement(GP,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:i,unstable_useTransitions:n})}var vy=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gy=f.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:d,viewTransition:c,unstable_defaultShouldRevalidate:h,...p},S){let{basename:m,unstable_useTransitions:x}=f.useContext(dt),g=typeof u=="string"&&vy.test(u),v=iy(u,m);u=v.to;let y=OP(u,{relative:o}),[b,E,C]=hk(r,p),P=Ck(u,{replace:s,state:a,target:l,preventScrollReset:d,relative:o,viewTransition:c,unstable_defaultShouldRevalidate:h,unstable_useTransitions:x});function R(A){t&&t(A),A.defaultPrevented||P(A)}let T=f.createElement("a",{...p,...C,href:v.absoluteURL||y,onClick:v.isExternal||i?t
147:R,ref:yk(S,E),target:l,"data-discover":!g&&n==="render"?"true":void 0});return b&&!g?f.createElement(f.Fragment,null,T,f.createElement(mk,{page:y})):T});gy.displayName="Link";var Sk=f.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:o=!1,style:i,to:s,viewTransition:a,children:l,...u},d){let c=Fi(s,{relative:u.relative}),h=qn(),p=f.useContext(Ya),{navigator:S,basename:m}=f.useContext(dt),x=p!=null&&Nk(c)&&a===!0,g=S.encodeLocation?S.encodeLocation(c).pathname:c.pathname,v=h.pathname,y=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;n||(v=v.toLowerCase(),y=y?y.toLowerCase():null,g=g.toLowerCase()),y&&m&&(y=ln(y,m)||y);const b=g!=="/"&&g.endsWith("/")?g.length-1:g.length;let E=v===g||!o&&v.startsWith(g)&&v.charAt(b)==="/",C=y!=null&&(y===g||!o&&y.startsWith(g)&&y.charAt(g.length)==="/"),P={isActive:E,isPending:C,isTransitioning:x},R=E?t:void 0,T;typeof r=="function"?T=r(P):T=[r,E?"active":null,C?"pending":null,x?"transitioning":null].filter(Boolean).join(" ");let A=typeof i=="function"?i(P):i;return f.createElement(gy,{...u,"aria-current":R,className:T,ref:d,style:A,to:s,viewTransition:a},typeof l=="function"?l(P):l)});Sk.displayName="NavLink";var bk=f.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:o,state:i,method:s=Ds,action:a,onSubmit:l,relative:u,preventScrollReset:d,viewTransition:c,unstable_defaultShouldRevalidate:h,...p},S)=>{let{unstable_useTransitions:m}=f.useContext(dt),x=Rk(),g=Tk(a,{relative:u}),v=s.toLowerCase()==="get"?"get":"post",y=typeof a=="string"&&vy.test(a),b=E=>{if(l&&l(E),E.defaultPrevented)return;E.preventDefault();let C=E.nativeEvent.submitter,P=(C==null?void 0:C.getAttribute("formmethod"))||s,R=()=>x(C||E.currentTarget,{fetcherKey:t,method:P,navigate:n,replace:o,state:i,relative:u,preventScrollReset:d,viewTransition:c,unstable_defaultShouldRevalidate:h});m&&n!==!1?f.startTransition(()=>R()):R()};return f.createElement("form",{ref:S,method:v,action:g,onSubmit:r?l:b,...p,"data-discover":!y&&e==="render"?"true":void 0})});bk.displayName="Form";function Ek(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function yy(e){let t=f.useContext(To);return he(t,Ek(e)),t}function Ck(e,{target:t,replace:n,state:r,preventScrollReset:o,relative:i,viewTransition:s,unstable_defaultShouldRevalidate:a,unstable_useTransitions:l}={}){let u=jP(),d=qn(),c=Fi(e,{relative:i});return f.useCallback(h=>{if(tk(h,t)){h.preventDefault();let p=n!==void 0?n:Pi(d)===Pi(c),S=()=>u(e,{replace:p,state:r,preventScrollReset:o,relative:i,viewTransition:s,unstable_defaultShouldRevalidate:a});l?f.startTransition(()=>S()):S()}},[d,u,c,n,r,t,e,o,i,s,a,l])}var Pk=0,kk=()=>`__${String(++Pk)}__`;function Rk(){let{router:e}=yy("useSubmit"),{basename:t}=f.useContext(dt),n=HP(),r=e.fetch,o=e.navigate;return f.useCallback(async(i,s={})=>{let{action:a,method:l,encType:u,formData:d,body:c}=ok(i,t);if(s.navigate===!1){let h=s.fetcherKey||kk();await r(h,n,s.action||a,{unstable_defaultShouldRevalidate:s.unstable_defaultShouldRevalidate,preventScrollReset:s.preventScrollReset,formData:d,body:c,formMethod:s.method||l,formEncType:s.encType||u,flushSync:s.flushSync})}else await o(s.action||a,{unstable_defaultShouldRevalidate:s.unstable_defaultShouldRevalidate,preventScrollReset:s.preventScrollReset,formData:d,body:c,formMethod:s.method||l,formEncType:s.encType||u,replace:s.replace,state:s.state,fromRouteId:n,flushSync:s.flushSync,viewTransition:s.viewTransition})},[r,o,t,n])}function Tk(e,{relative:t}={}){let{basename:n}=f.useContext(dt),r=f.useContext(cn);he(r,"useFormAction must be used inside a RouteContext");let[o]=r.matches.slice(-1),i={...Fi(e||".",{relative:t})},s=qn();if(e==null){i.search=s.search;let a=new URLSearchParams(i.search),l=a.getAll("index");if(l.some(d=>d==="")){a.delete("index"),l.filter(c=>c).forEach(c=>a.append("index",c));let d=a.toString();i.search=d?`?${d}`:""}}return(!e||e===".")&&o.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:en([n,i.pathname])),Pi(i)}function Nk(e,{relative:t}={}){let n=f.useContext(ay);he(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=yy("useViewTransitionState"),o=Fi(e,{relative:t});if(!n.isTransitioning)return!1;let i=ln(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=ln(n.nextLocation.pathname,r)||n.nextLocation.pathname;return va(o.pathname,s)!=null||va(o.pathname,i)!=null}const Ak=1,_k="a2b8b2c3-3310-4c6e-bda3-82537162029b",Lk="42904fb1-b384-4c74-8a67-4e3c200c67c5",Ok="/__l5e/assets-v1/a2b8b2c3-3310-4c6e-bda3-82537162029b/vrs-logo-new.jpg",jk="a/v1/42904fb1-b384-4c74-8a67-4e3c200c67c5/a2b8b2c3-3310-4c6e-bda3-82537162029b/vrs-logo-new.jpg",Mk="vrs-logo-new.jpg",Dk=105597,Ik="image/jpeg",Fk="2026-09-30T20:18:01Z",$k={version:Ak,asset_id:_k,project_id:Lk,url:O
vendor: 4,364 bytes, line 147
147k,r2_key:jk,original_filename:Mk,size:Dk,content_type:Ik,created_at:Fk};var Vl="focusScope.autoFocusOnMount",Wl="focusScope.autoFocusOnUnmount",Mp={bubbles:!1,cancelable:!0},zk="FocusScope",wy=f.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:i,...s}=e,[a,l]=f.useState(null),u=ke(o),d=ke(i),c=f.useRef(null),h=oe(t,m=>l(m)),p=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(r){let m=function(y){if(p.paused||!a)return;const b=y.target;a.contains(b)?c.current=b:Sn(c.current,{select:!0})},x=function(y){if(p.paused||!a)return;const b=y.relatedTarget;b!==null&&(a.contains(b)||Sn(c.current,{select:!0}))},g=function(y){if(document.activeElement===document.body)for(const E of y)E.removedNodes.length>0&&Sn(a)};document.addEventListener("focusin",m),document.addEventListener("focusout",x);const v=new MutationObserver(g);return a&&v.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",x),v.disconnect()}}},[r,a,p.paused]),f.useEffect(()=>{if(a){Ip.add(p);const m=document.activeElement;if(!a.contains(m)){const g=new CustomEvent(Vl,Mp);a.addEventListener(Vl,u),a.dispatchEvent(g),g.defaultPrevented||(Uk(Kk(xy(a)),{select:!0}),document.activeElement===m&&Sn(a))}return()=>{a.removeEventListener(Vl,u),setTimeout(()=>{const g=new CustomEvent(Wl,Mp);a.addEventListener(Wl,d),a.dispatchEvent(g),g.defaultPrevented||Sn(m??document.body,{select:!0}),a.removeEventListener(Wl,d),Ip.remove(p)},0)}}},[a,u,d,p]);const S=f.useCallback(m=>{if(!n&&!r||p.paused)return;const x=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,g=document.activeElement;if(x&&g){const v=m.currentTarget,[y,b]=Bk(v);y&&b?!m.shiftKey&&g===b?(m.preventDefault(),n&&Sn(y,{select:!0})):m.shiftKey&&g===y&&(m.preventDefault(),n&&Sn(b,{select:!0})):g===v&&m.preventDefault()}},[n,r,p.paused]);return w.jsx(Z.div,{tabIndex:-1,...s,ref:h,onKeyDown:S})});wy.displayName=zk;function Uk(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(Sn(r,{select:t}),document.activeElement!==n)return}function Bk(e){const t=xy(e),n=Dp(t,e),r=Dp(t.reverse(),e);return[n,r]}function xy(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 Dp(e,t){for(const n of e)if(!Vk(n,{upTo:t}))return n}function Vk(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Wk(e){return e instanceof HTMLInputElement&&"select"in e}function Sn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Wk(e)&&t&&e.select()}}var Ip=Hk();function Hk(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Fp(e,t),e.unshift(t)},remove(t){var n;e=Fp(e,t),(n=e[0])==null||n.resume()}}}function Fp(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Kk(e){return e.filter(t=>t.tagName!=="A")}var Hl=0;function Qk(){f.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??$p()),document.body.insertAdjacentElement("beforeend",e[1]??$p()),Hl++,()=>{Hl===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),Hl--}},[])}function $p(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var kn=function(){return kn=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},kn.apply(this,arguments)};function Yk(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}
vendor: 5,597 bytes, lines 147-162
147function Gk(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Fs="right-scroll-bar-position",$s="width-before-scroll-bar",Xk="with-scroll-bars-hidden",qk="--removed-body-scroll-bar-size";function Kl(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Zk(e,t){var n=f.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var Jk=typeof window<"u"?f.useLayoutEffect:f.useEffect,zp=new WeakMap;function eR(e,t){var n=Zk(null,function(r){return e.forEach(function(o){return Kl(o,r)})});return Jk(function(){var r=zp.get(n);if(r){var o=new Set(r),i=new Set(e),s=n.current;o.forEach(function(a){i.has(a)||Kl(a,null)}),i.forEach(function(a){o.has(a)||Kl(a,s)})}zp.set(n,e)},[e]),n}var ga=function(){return ga=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ga.apply(this,arguments)};function tR(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function nR(e){return e}function rR(e,t){t===void 0&&(t=nR);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:e},useMedium:function(i){var s=t(i,r);return n.push(s),function(){n=n.filter(function(a){return a!==s})}},assignSyncMedium:function(i){for(r=!0;n.length;){var s=n;n=[],s.forEach(i)}n={push:function(a){return i(a)},filter:function(){return n}}},assignMedium:function(i){r=!0;var s=[];if(n.length){var a=n;n=[],a.forEach(i),s=n}var l=function(){var d=s;s=[],d.forEach(i)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){s.push(d),u()},filter:function(d){return s=s.filter(d),n}}}};return o}function oR(e){e===void 0&&(e={});var t=rR(null);return t.options=ga({async:!0,ssr:!1},e),t}var Sy=function(e){var t=e.sideCar,n=tR(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=t.read();if(!r)throw new Error("Sidecar medium not found");return f.createElement(r,ga({},n))};Sy.isSideCarExport=!0;function iR(e,t){return e.useMedium(t),Sy}var by=oR(),Ql=function(){},Xa=f.forwardRef(function(e,t){var n=f.useRef(null),r=f.useState({onScrollCapture:Ql,onWheelCapture:Ql,onTouchMoveCapture:Ql}),o=r[0],i=r[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,c=e.shards,h=e.sideCar,p=e.noRelative,S=e.noIsolation,m=e.inert,x=e.allowPinchZoom,g=e.as,v=g===void 0?"div":g,y=e.gapMode,b=Yk(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),E=h,C=eR([n,t]),P=kn(kn({},b),o);return f.createElement(f.Fragment,null,d&&f.createElement(E,{sideCar:by,removeScrollBar:u,shards:c,noRelative:p,noIsolation:S,inert:m,setCallbacks:i,allowPinchZoom:!!x,lockRef:n,gapMode:y}),s?f.cloneElement(f.Children.only(a),kn(kn({},P),{ref:C})):f.createElement(v,kn({},P,{className:l,ref:C}),a))});Xa.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Xa.classNames={fullWidth:$s,zeroRight:Fs};var sR=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function aR(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=sR();return t&&e.setAttribute("nonce",t),e}function lR(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function uR(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var cR=function(){var e=0,t=null;return{add:function(n){e==0&&(t=aR())&&(lR(t,n),uR(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},dR=function(){var e=cR();return function(t,n){f.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Ey=function(){var e=dR(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},fR={left:0,top:0,right:0,gap:0},Yl=function(e){return parseInt(e||"",10)||0},pR=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Yl(n),Yl(r),Yl(o)]},hR=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return fR;var t=pR(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},mR=Ey(),eo="data-scroll-locked",vR=function(e,t,n,r){var o=e.left,i=e.top,s=e.right,a=e.gap;return n===void 0&&(n="margin"),`
148  .`.concat(Xk,` {
149   overflow: hidden `).concat(r,`;
150   padding-right: `).concat(a,"px ").concat(r,`;
151  }
152  body[`).concat(eo,`] {
153    overflow: hidden `).concat(r,`;
154    overscroll-behavior: contain;
155    `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
156    padding-left: `.concat(o,`px;
157    padding-top: `).concat(i,`px;
158    padding-right: `).concat(s,`px;
159    margin-left:0;
160    margin-top:0;
161    margin-right: `).concat(a,"px ").concat(r,`;
162    `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";
162")].filter(Boolean).join(""),`
163  }
164  
165  .`).concat(Fs,` {
166    right: `).concat(a,"px ").concat(r,`;
167  }
168  
169  .`).concat($s,` {
170    margin-right: `).concat(a,"px ").concat(r,`;
171  }
172  
173  .`).concat(Fs," .").concat(Fs,` {
174    right: 0 `).concat(r,`;
175  }
176  
177  .`).concat($s," .").concat($s,` {
178    margin-right: 0 `).concat(r,`;
179  }
180  
181  body[`).concat(eo,`] {
182    `).concat(qk,": ").concat(a,`px;
183  }
184`)},Up=function(){var e=parseInt(document.body.getAttribute(eo)||"0",10);return isFinite(e)?e:0},gR=function(){f.useEffect(function(){return document.body.setAttribute(eo,(Up()+1).toString()),function(){var e=Up()-1;e<=0?document.body.removeAttribute(eo):document.body.setAttribute(eo,e.toString())}},[])},yR=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;gR();var i=f.useMemo(function(){return hR(o)},[o]);return f.createElement(mR,{styles:vR(i,!t,o,n?"":"!important")})},ic=!1;if(typeof window<"u")try{var fs=Object.defineProperty({},"passive",{get:function(){return ic=!0,!0}});window.addEventListener("test",fs,fs),window.removeEventListener("test",fs,fs)}catch{ic=!1}var Ar=ic?{passive:!1}:!1,wR=function(e){return e.tagName==="TEXTAREA"},Cy=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!wR(e)&&n[t]==="visible")},xR=function(e){return Cy(e,"overflowY")},SR=function(e){return Cy(e,"overflowX")},Bp=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Py(e,r);if(o){var i=ky(e,r),s=i[1],a=i[2];if(s>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},bR=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ER=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Py=function(e,t){return e==="v"?xR(t):SR(t)},ky=function(e,t){return e==="v"?bR(t):ER(t)},CR=function(e,t){return e==="h"&&t==="rtl"?-1:1},PR=function(e,t,n,r,o){var i=CR(e,window.getComputedStyle(t).direction),s=i*r,a=n.target,l=t.contains(a),u=!1,d=s>0,c=0,h=0;do{if(!a)break;var p=ky(e,a),S=p[0],m=p[1],x=p[2],g=m-x-i*S;(S||g)&&Py(e,a)&&(c+=g,h+=S);var v=a.parentNode;a=v&&v.nodeType===Node.DOCUMENT_FRAGMENT_NODE?v.host:v}while(!l&&a!==document.body||l&&(t.contains(a)||t===a));return(d&&(Math.abs(c)<1||!o)||!d&&(Math.abs(h)<1||!o))&&(u=!0),u},ps=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Vp=function(e){return[e.deltaX,e.deltaY]},Wp=function(e){return e&&"current"in e?e.current:e},kR=function(e,t){return e[0]===t[0]&&e[1]===t[1]},RR=function(e){return`
185  .block-interactivity-`.concat(e,` {pointer-events: none;}
186  .allow-interactivity-`).concat(e,` {pointer-events: all;}
187`)},TR=0,_r=[];function NR(e){var t=f.useRef([]),n=f.useRef([0,0]),r=f.useRef(),o=f.useState(TR++)[0],i=f.useState(Ey)[0],s=f.useRef(e);f.useEffect(function(){s.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var m=Gk([e.lockRef.current],(e.shards||[]).map(Wp),!0).filter(Boolean);return m.forEach(function(x){return x.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),m.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var a=f.useCallback(function(m,x){if("touches"in m&&m.touches.length===2||m.type==="wheel"&&m.ctrlKey)return!s.current.allowPinchZoom;var g=ps(m),v=n.current,y="deltaX"in m?m.deltaX:v[0]-g[0],b="deltaY"in m?m.deltaY:v[1]-g[1],E,C=m.target,P=Math.abs(y)>Math.abs(b)?"h":"v";if("touches"in m&&P==="h"&&C.type==="range")return!1;var R=Bp(P,C);if(!R)return!0;if(R?E=P:(E=P==="v"?"h":"v",R=Bp(P,C)),!R)return!1;if(!r.current&&"changedTouches"in m&&(y||b)&&(r.current=E),!E)return!0;var T=r.current||E;return PR(T,x,m,T==="h"?y:b,!0)},[]),l=f.useCallback(function(m){var x=m;if(!(!_r.length||_r[_r.length-1]!==i)){var g="deltaY"in x?Vp(x):ps(x),v=t.current.filter(function(E){return E.name===x.type&&(E.target===x.target||x.target===E.shadowParent)&&kR(E.delta,g)})[0];if(v&&v.should){x.cancelable&&x.preventDefault();return}
vendor: 1,462 bytes, line 187
187if(!v){var y=(s.current.shards||[]).map(Wp).filter(Boolean).filter(function(E){return E.contains(x.target)}),b=y.length>0?a(x,y[0]):!s.current.noIsolation;b&&x.cancelable&&x.preventDefault()}}},[]),u=f.useCallback(function(m,x,g,v){var y={name:m,delta:x,target:g,should:v,shadowParent:AR(g)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(b){return b!==y})},1)},[]),d=f.useCallback(function(m){n.current=ps(m),r.current=void 0},[]),c=f.useCallback(function(m){u(m.type,Vp(m),m.target,a(m,e.lockRef.current))},[]),h=f.useCallback(function(m){u(m.type,ps(m),m.target,a(m,e.lockRef.current))},[]);f.useEffect(function(){return _r.push(i),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:h}),document.addEventListener("wheel",l,Ar),document.addEventListener("touchmove",l,Ar),document.addEventListener("touchstart",d,Ar),function(){_r=_r.filter(function(m){return m!==i}),document.removeEventListener("wheel",l,Ar),document.removeEventListener("touchmove",l,Ar),document.removeEventListener("touchstart",d,Ar)}},[]);var p=e.removeScrollBar,S=e.inert;return f.createElement(f.Fragment,null,S?f.createElement(i,{styles:RR(o)}):null,p?f.createElement(yR,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function AR(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const _R=iR(by,NR);var Ry=f.forwardRef(function(e,t){return f.createElement(Xa,kn({},e,{ref:t,sideCar:_R}
vendor: 7,572 bytes, lines 187-191
187))});Ry.classNames=Xa.classNames;var LR=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Lr=new WeakMap,hs=new WeakMap,ms={},Gl=0,Ty=function(e){return e&&(e.host||Ty(e.parentNode))},OR=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=Ty(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},jR=function(e,t,n,r){var o=OR(t,Array.isArray(e)?e:[e]);ms[n]||(ms[n]=new WeakMap);var i=ms[n],s=[],a=new Set,l=new Set(o),u=function(c){!c||a.has(c)||(a.add(c),u(c.parentNode))};o.forEach(u);var d=function(c){!c||l.has(c)||Array.prototype.forEach.call(c.children,function(h){if(a.has(h))d(h);else try{var p=h.getAttribute(r),S=p!==null&&p!=="false",m=(Lr.get(h)||0)+1,x=(i.get(h)||0)+1;Lr.set(h,m),i.set(h,x),s.push(h),m===1&&S&&hs.set(h,!0),x===1&&h.setAttribute(n,"true"),S||h.setAttribute(r,"true")}catch(g){console.error("aria-hidden: cannot operate on ",h,g)}})};return d(t),a.clear(),Gl++,function(){s.forEach(function(c){var h=Lr.get(c)-1,p=i.get(c)-1;Lr.set(c,h),i.set(c,p),h||(hs.has(c)||c.removeAttribute(r),hs.delete(c)),p||c.removeAttribute(n)}),Gl--,Gl||(Lr=new WeakMap,Lr=new WeakMap,hs=new WeakMap,ms={})}},MR=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=LR(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),jR(r,o,n,"aria-hidden")):function(){return null}},qa="Dialog",[Ny,C2]=Xn(qa),[DR,Lt]=Ny(qa),Ay=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:o,onOpenChange:i,modal:s=!0}=e,a=f.useRef(null),l=f.useRef(null),[u,d]=Fa({prop:r,defaultProp:o??!1,onChange:i,caller:qa});return w.jsx(DR,{scope:t,triggerRef:a,contentRef:l,contentId:Os(),titleId:Os(),descriptionId:Os(),open:u,onOpenChange:d,onOpenToggle:f.useCallback(()=>d(c=>!c),[d]),modal:s,children:n})};Ay.displayName=qa;var _y="DialogTrigger",IR=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Lt(_y,n),i=oe(t,o.triggerRef);return w.jsx(Z.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":kd(o.open),...r,ref:i,onClick:ee(e.onClick,o.onOpenToggle)})});IR.displayName=_y;var Cd="DialogPortal",[FR,Ly]=Ny(Cd,{forceMount:void 0}),Oy=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:o}=e,i=Lt(Cd,t);return w.jsx(FR,{scope:t,forceMount:n,children:f.Children.map(r,s=>w.jsx(_t,{present:n||i.open,children:w.jsx(rd,{asChild:!0,container:o,children:s})}))})};Oy.displayName=Cd;var ya="DialogOverlay",jy=f.forwardRef((e,t)=>{const n=Ly(ya,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Lt(ya,e.__scopeDialog);return i.modal?w.jsx(_t,{present:r||i.open,children:w.jsx(zR,{...o,ref:t})}):null});jy.displayName=ya;var $R=ca("DialogOverlay.RemoveScroll"),zR=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Lt(ya,n);return w.jsx(Ry,{as:$R,allowPinchZoom:!0,shards:[o.contentRef],children:w.jsx(Z.div,{"data-state":kd(o.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),xr="DialogContent",My=f.forwardRef((e,t)=>{const n=Ly(xr,e.__scopeDialog),{forceMount:r=n.forceMount,...o}=e,i=Lt(xr,e.__scopeDialog);return w.jsx(_t,{present:r||i.open,children:i.modal?w.jsx(UR,{...o,ref:t}):w.jsx(BR,{...o,ref:t})})});My.displayName=xr;var UR=f.forwardRef((e,t)=>{const n=Lt(xr,e.__scopeDialog),r=f.useRef(null),o=oe(t,n.contentRef,r);return f.useEffect(()=>{const i=r.current;if(i)return MR(i)},[]),w.jsx(Dy,{...e,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ee(e.onCloseAutoFocus,i=>{var s;i.preventDefault(),(s=n.triggerRef.current)==null||s.focus()}),onPointerDownOutside:ee(e.onPointerDownOutside,i=>{const s=i.detail.originalEvent,a=s.button===0&&s.ctrlKey===!0;(s.button===2||a)&&i.preventDefault()}),onFocusOutside:ee(e.onFocusOutside,i=>i.preventDefault())})}),BR=f.forwardRef((e,t)=>{const n=Lt(xr,e.__scopeDialog),r=f.useRef(!1),o=f.useRef(!1);return w.jsx(Dy,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var s,a;(s=e.onCloseAutoFocus)==null||s.call(e,i),i.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:i=>{var l,u;(l=e.onInteractOutside)==null||l.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const s=i.target;((u=n.triggerRef.current)==null?void 0:u.contains(s))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&o.current&&i.preventDefault()}})}),Dy=f.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:i,...s}=e,a=Lt(xr,n),l=f.useRef(null),u=oe(t,l);return Qk(),w.jsxs(w.Fragment,{children:[w.jsx(wy,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:i,children:w.jsx(Ia,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":kd(a.open),...s,ref:u,onDismiss:()=>a.onOpenChange(!1)})}),w.jsxs(w.Fragment,{children:[w.jsx(VR,{titleId:a.titleId}),w.jsx(HR,{contentRef:l,descriptionId:a.descriptionId})]})]})}),Pd="DialogTitle",Iy=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Lt(Pd,n);return w.jsx(Z.h2,{id:o.titleId,...r,ref:t})});Iy.displayName=Pd;var Fy="DialogDescription",$y=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Lt(Fy,n);return w.jsx(Z.p,{id:o.descriptionId,...r,ref:t})});$y.displayName=Fy;var zy="DialogClose",Uy=f.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,o=Lt(zy,n);return w.jsx(Z.button,{type:"button",...r,ref:t,onClick:ee(e.onClick,()=>o.onOpenChange(!1))})});Uy.displayName=zy;function kd(e){return e?"open":"closed"}var By="DialogTitleWarning",[P2,Vy]=E1(By,{contentName:xr,titleName:Pd,docsSlug:"dialog"}),VR=({titleId:e})=>{const t=Vy(By),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
188
189If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
190
191For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return f.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},WR="DialogDescriptionWarning",HR=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Vy(WR).contentName}}.`;return f.useEffect(()=>{var i;const o=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},KR=Ay,QR=Oy,Wy=jy,Hy=My,Ky=Iy,Qy=$y,YR=Uy;const GR=KR,XR=QR,Yy=f.forwardRef(({className:e,...t},n)=>w.jsx(Wy,{ref:n,className:de("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Yy.displayName=Wy.displayName;const Gy=f.forwardRef(({className:e,children:t,...n},r)=>w.jsxs(XR,{children:[w.jsx(Yy,{}),w.jsxs(Hy,{ref:r,className:de("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,w.jsxs(YR,{className:"absolute right-4 top-4 roun
191ded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none",children:[w.jsx(rg,{className:"h-4 w-4"}),w.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Gy.displayName=Hy.displayName;const Xy=f.forwardRef(({className:e,...t},n)=>w.jsx(Ky,{ref:n,className:de("text-lg font-semibold leading-none tracking-tight",e),...t}));Xy.displayName=Ky.displayName;const qR=f.forwardRef(({className:e,...t},n)=>w.jsx(Qy,{ref:n,className:de("text-sm text-muted-foreground",e),...t}));qR.displayName=Qy.displayName;const ZR=({isPlaying:e,coverArt:t,className:n,duration:r=0,elapsed:o=0})=>{const[i,s]=f.useState(!1),[a,l]=f.useState(!0),[u,d]=f.useState(t),[c,h]=f.useState(void 0),[p,S]=f.useState(0),[m,x]=f.useState(0),g=r>0?o/r*100:0;f.useEffect(()=>{const y=()=>{const b=document.visibilityState==="visible";console.log("VinylDisc: visibilitychange ->",b,"isPlaying ->",e),l(b)};return document.addEventListener("visibilitychange",y),()=>document.removeEventListener("visibilitychange",y)},[e]),f.useEffect(()=>{a&&(console.log("VinylDisc: Page became visible, refreshing animation key"),x(y=>y+1))},[a]),f.useEffect(()=>{if(t===u)return;h(u),d(t),S(b=>b+1);const y=setTimeout(()=>h(void 0),900);return()=>clearTimeout(y)},[t,u]);const v=y=>{const b=Math.floor(y/60),E=Math.floor(y%60);return`${b}:${E.toString().padStart(2,"0")}`};return w.jsxs(w.Fragment,{children:[w.jsxs("div",{className:de("relative",n),children:[w.jsx("div",{className:de("absolute inset-0 rounded-full bg-primary/15 blur-xl",e&&a?"animate-pulse-glow":"")}),w.jsxs("div",{className:de("relative w-64 h-64 md:w-80 md:h-80 rounded-full","bg-vinyl-dark shadow-2xl",e&&a?"animate-spin-slow":""),style:{background:`
192              radial-gradient(circle at center,
193                transparent 0%,
194                transparent 15%,
195                hsl(var(--vinyl-groove)) 15.5%,
196                hsl(var(--vinyl-dark)) 16%,
197                hsl(var(--vinyl-dark)) 18%,
198                hsl(var(--vinyl-groove)) 18.5%,
199                hsl(var(--vinyl-dark)) 19%,
200                hsl(var(--vinyl-dark)) 25%,
201                hsl(var(--vinyl-groove)) 25.5%,
202                hsl(var(--vinyl-dark)) 26%,
203                hsl(var(--vinyl-dark)) 35%,
204                hsl(var(--vinyl-groove)) 35.5%,
205                hsl(var(--vinyl-dark)) 36%,
206                hsl(var(--vinyl-dark)) 45%,
207                hsl(var(--vinyl-groove)) 45.5%,
208                hsl(var(--vinyl-dark)) 46%,
209                hsl(var(--vinyl-dark)) 55%,
210                hsl(var(--vinyl-groove)) 55.5%,
211                hsl(var(--vinyl-dark)) 56%,
212                hsl(var(--vinyl-dark)) 65%,
213                hsl(var(--vinyl-groove)) 65.5%,
214                hsl(var(--vinyl-dark)) 66%,
215                hsl(var(--vinyl-dark)) 75%,
216                hsl(var(--vinyl-groove)) 75.5%,
217                hsl(var(--vinyl-dark)) 76%,
218                hsl(var(--vinyl-dark)) 85%,
219                hsl(var(--vinyl-groove)) 85.5%,
220                hsl(var(--vinyl-dark)) 86%,
221                hsl(var(--vinyl-dark)) 100%
222              )
223            `},children:[w.jsx("div",{className:"absolute inset-0 rounded-full opacity-30 pointer-events-none",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 50%, rgba(255,255,255,0.05) 100%)"}}),w.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:w.jsxs("button",{onClick:()=>u&&s(!0),className:de("relative w-24 h-24 md:w-32 md:h-32 rounded-full overflow-hidden","border-4 border-vinyl-groove","shadow-inner",u&&"cursor-pointer hover:scale-105 transition-transform duration-200"),style:{perspective:"600px",transform:"translateZ(0)",WebkitTransform:"translateZ(0)"},disabled:!u,children:[c&&w.jsx("img",{src:c,alt:"","aria-hidden":!0,className:"absolute inset-0 w-full h-full object-cover rounded-full animate-cover-out",style:{transformOrigin:"center",backfaceVisibility:"hidden"}},`prev-${p}`),u?w.jsx("img",{src:u,alt:"Album cover",className:de("relative w-full h-full object-cover rounded-full",c&&"animate-cover-in"),style:{transformOrigin:"center",backfaceVisibility:"hidden"}},`cur-${p}`):w.jsx("div",{className:"w-full h-full bg-gradient-to-br from-primary to-secondary flex items-center justify-center rounded-full",children:w.jsx("span",{className:"text-primary-foreground font-display text-xl md:text-2xl",children:"VRS"})}
223),c&&w.jsx("span",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 -left-1/2 w-1/2 rounded-full animate-cover-shine",style:{background:"linear-gradient(90deg, transparent, hsl(0 0% 100% / 0.55), transparent)",mixBlendMode:"screen"}},`shine-${p}`)]})}),w.jsx("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-3 h-3 rounded-full bg-background"})]},m),r>0&&w.jsxs("div",{className:"absolute -bottom-16 left-1/2 -translate-x-1/2 w-full max-w-[320px] px-4",children:[w.jsx("div",{className:"relative h-1.5 bg-muted rounded-full overflow-hidden",children:w.jsx("div",{className:"absolute inset-y-0 left-0 bg-gradient-to-r from-primary to-accent rounded-full transition-all duration-1000 ease-linear",style:{width:`${Math.min(g,100)}%`}})}),w.jsxs("div",{className:"flex justify-between mt-1.5 text-xs text-muted-foreground font-['Arial']",children:[w.jsx("span",{children:v(o)}),w.jsx("span",{children:v(r)})]})]})]}),w.jsx(GR,{open:i,onOpenChange:s,children:w.jsxs(Gy,{className:"max-w-md p-0 overflow-hidden bg-transparent border-none",children:[w.jsx(Xy,{className:"sr-only",children:"Album Cover"}),t&&w.jsx("img",{src:t,alt:"Album cover",className:"w-full h-auto rounded-lg shadow-2xl"})]})})]})};/*! Capacitor: https://capacitorjs.com/ - MIT License */var wo;(function(e){e.Unimplemented="UNIMPLEMENTED",e.Unavailable="UNAVAILABLE"})(wo||(wo={}));class Xl extends Error{constructor(t,n,r){super(t),this.message=t,this.code=n,this.data=r}}const JR=e=>{var t,n;return e!=null&&e.androidBridge?"android":!((n=(t=e==null?void 0:e.webkit)===null||t===void 0?void 0:t.messageHandlers)===null||n===void 0)&&n.bridge?"ios":"web"},eT=e=>{const t=e.CapacitorCustomPlatform||null,n=e.Capacitor||{},r=n.Plugins=n.Plugins||{},o=()=>t!==null?t.name:JR(e),i=()=>o()!=="web",s=c=>{const h=u.get(c);return!!(h!=null&&h.platforms.has(o())||a(c))},a=c=>{var h;return(h=n.PluginHeaders)===null||h===void 0?void 0:h.find(p=>p.name===c)},l=c=>e.console.error(c),u=new Map,d=(c,h={})=>{const p=u.get(c);if(p)return console.warn(`Capacitor plugin "${c}" already registered. Cannot register plugins twice.`),p.proxy;const S=o(),m=a(c);let x;const g=async()=>(!x&&S in h?x=typeof h[S]=="function"?x=await h[S]():x=h[S]:t!==null&&!x&&"web"in h&&(x=typeof h.web=="function"?x=await h.web():x=h.web),x),v=(R,T)=>{var A,k;if(m){const O=m==null?void 0:m.methods.find($=>T===$.name);if(O)return O.rtype==="promise"?$=>n.nativePromise(c,T.toString(),$):($,M)=>n.nativeCallback(c,T.toString(),$,M);if(R)return(A=R[T])===null||A===void 0?void 0:A.bind(R)}else{if(R)return(k=R[T])===null||k===void 0?void 0:k.bind(R);throw new Xl(`"${c}" plugin is not implemented on ${S}`,wo.Unimplemented)}},y=R=>{let T;const A=(...k)=>{const O=g().then($=>{const M=v($,R);if(M){const V=M(...k);return T=V==null?void 0:V.remove,V}else throw new Xl(`"${c}.${R}()" is not implemented on ${S}`,wo.Unimplemented)});return R==="addListener"&&(O.remove=async()=>T()),O};return A.toString=()=>`${R.toString()}() { [capacitor code] }`,Object.defineProperty(A,"name",{value:R,writable:!1,configurable:!1}),A},b=y("addListener"),E=y("removeListener"),C=(R,T)=>{const A=b({eventName:R},T),k=async()=>{const $=await A;E({eventName:R,callbackId:$},T)},O=new Promise($=>A.then(()=>$({remove:k})));return O.remove=async()=>{console.warn("Using addListener() without 'await' is deprecated."),await k()},O},P=new Proxy({},{get(R,T){switch(T){case"$$typeof":return;case"toJSON":return()=>({});case"addListener":return m?C:b;case"removeListener":return E;default:return y(T)}}});return r[c]=P,u.set(c,{name:c,proxy:P,platforms:new Set([...Object.keys(h),...m?[S]:[]])}),P};return n.convertFileSrc||(n.convertFileSrc=c=>c),n.getPlatform=o,n.handleError=l,n.isNativePlatform=i,n.isPluginAvailable=s,n.registerPlugin=d,n.Exception=Xl,n.DEBUG=!!n.DEBUG,n.isLoggingEnabled=!!n.isLoggingEnabled,n},tT=e=>e.Capacitor=eT(e),Kn=tT(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),No=Kn.registerPlugin;class Rd{constructor(){this.listeners={},this.retainedEventArguments={},this.windowListeners={}}addListener(t,n){let r=!1;this.listeners[t]||(this.listeners[t]=[],r=!0),this.listeners[t].push(n);const i=this.windowListeners[t];i&&!i.registered&&this.addWindowListener(i),r&&this.sendRetainedArgumentsForEvent(t);const s=async()=>this.removeListener(t,n);return Promise.resolve({remove:s})}async removeAllListeners(){this.listeners={};for(const t in this.windowListeners)this.removeWindowListener(this.windowListeners[t]);this.windowListeners={}}notifyListeners(t,n,r){const o=this.listeners[t];if(!o){if(r){let i=this.retainedEventArguments[t];i||(i=[]),i.push(n),this.retainedEventArguments[t]=i}return}
223o.forEach(i=>i(n))}hasListeners(t){var n;return!!(!((n=this.listeners[t])===null||n===void 0)&&n.length)}registerWindowListener(t,n){this.windowListeners[n]={registered:!1,windowEventName:t,pluginEventName:n,handler:r=>{this.notifyListeners(n,r)}}}unimplemented(t="not implemented"){return new Kn.Exception(t,wo.Unimplemented)}unavailable(t="not available"){return new Kn.Exception(t,wo.Unavailable)}async removeListener(t,n){const r=this.listeners[t];if(!r)return;const o=r.indexOf(n);this.listeners[t].splice(o,1),this.listeners[t].length||this.removeWindowListener(this.windowListeners[t])}addWindowListener(t){window.addEventListener(t.windowEventName,t.handler),t.registered=!0}removeWindowListener(t){t&&(window.removeEventListener(t.windowEventName,t.handler),t.registered=!1)}sendRetainedArgumentsForEvent(t){const n=this.retainedEventArguments[t];n&&(delete this.retainedEventArguments[t],n.forEach(r=>{this.notifyListeners(t,r)}))}}const Hp=e=>encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),Kp=e=>e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent);class nT extends Rd{async getCookies(){const t=document.cookie,n={};return t.split(";").forEach(r=>{if(r.length<=0)return;let[o,i]=r.replace(/=/,"CAP_COOKIE").split("CAP_COOKIE");o=Kp(o).trim(),i=Kp(i).trim(),n[o]=i}),n}async setCookie(t){try{const n=Hp(t.key),r=Hp(t.value),o=`; expires=${(t.expires||"").replace("expires=","")}`,i=(t.path||"/").replace("path=",""),s=t.url!=null&&t.url.length>0?`domain=${t.url}`:"";document.cookie=`${n}=${r||""}${o}; path=${i}; ${s};`}catch(n){return Promise.reject(n)}}async deleteCookie(t){try{document.cookie=`${t.key}=; Max-Age=0`}catch(n){return Promise.reject(n)}}async clearCookies(){try{const t=document.cookie.split(";")||[];for(const n of t)document.cookie=n.replace(/^ +/,"").replace(/=.*/,`=;expires=${new Date().toUTCString()};path=/`)}catch(t){return Promise.reject(t)}}async clearAllCookies(){try{await this.clearCookies()}catch(t){return Promise.reject(t)}}}No("CapacitorCookies",{web:()=>new nT});const rT=async e=>new Promise((t,n)=>{const r=new FileReader;r.onload=()=>{const o=r.result;t(o.indexOf(",")>=0?o.split(",")[1]:o)},r.onerror=o=>n(o),r.readAsDataURL(e)}),oT=(e={})=>{const t=Object.keys(e);return Object.keys(e).map(o=>o.toLocaleLowerCase()).reduce((o,i,s)=>(o[i]=e[t[s]],o),{})},iT=(e,t=!0)=>e?Object.entries(e).reduce((r,o)=>{const[i,s]=o;let a,l;return Array.isArray(s)?(l="",s.forEach(u=>{a=t?encodeURIComponent(u):u,l+=`${i}=${a}&`}),l.slice(0,-1)):(a=t?encodeURIComponent(s):s,l=`${i}=${a}`),`${r}&${l}`},"").substr(1):null,sT=(e,t={})=>{const n=Object.assign({method:e.method||"GET",headers:e.headers},t),o=oT(e.headers)["content-type"]||"";if(typeof e.data=="string")n.body=e.data;else if(o.includes("application/x-www-form-urlencoded")){const i=new URLSearchParams;for(const[s,a]of Object.entries(e.data||{}))i.set(s,a);n.body=i.toString()}else if(o.includes("multipart/form-data")||e.data instanceof FormData){const i=new FormData;if(e.data instanceof FormData)e.data.forEach((a,l)=>{i.append(l,a)});else for(const a of Object.keys(e.data))i.append(a,e.data[a]);n.body=i;const s=new Headers(n.headers);s.delete("content-type"),n.headers=s}else(o.includes("application/json")||typeof e.data=="object")&&(n.body=JSON.stringify(e.data));return n};class aT extends Rd{async request(t){const n=sT(t,t.webFetchExtra),r=iT(t.params,t.shouldEncodeUrlParams),o=r?`${t.url}?${r}`:t.url,i=await fetch(o,n),s=i.headers.get("content-type")||"";let{responseType:a="text"}=i.ok?t:{};s.includes("application/json")&&(a="json");let l,u;switch(a){case"arraybuffer":case"blob":u=await i.blob(),l=await rT(u);break;case"json":l=await i.json();break;case"document":case"text":default:l=await i.text()}const d={};return i.headers.forEach((c,h)=>{d[h]=c}),{data:l,headers:d,status:i.status,url:i.url}}async get(t){return this.request(Object.assign(Object.assign({},t),{method:"GET"}))}async post(t){return this.request(Object.assign(Object.assign({},t),{method:"POST"}))}async put(t){return this.request(Object.assign(Object.assign({},t),{method:"PUT"}))}async patch(t){return this.request(Object.assign(Object.assign({},t),{method:"PATCH"}))}async delete(t){return this.request(Object.assign(Object.assign({},t),{method:"DELETE"}))}}No("CapacitorHttp",{web:()=>new aT});var Qp;(function(e){e.Dark="DARK",e.Light="LIGHT",e.Default="DEFAULT"})(Qp||(Qp={}));var Yp;(function(e){e.StatusBar="StatusBar",e.NavigationBar="NavigationBar"})(Yp||(Yp={}));class lT extends Rd{async setStyle(){this.unavailable("not available for web")}async setAnimation(){this.unavailable("not available for web")}async show(){this.unavailable("not available for web")}async hide(){this.unavailable("not available for web")}}No("SystemBars",{web:()=>new lT});const uT=No("CarPlayAudioPlugin"),cT=({isPlaying:e,isLoading:t,onClick:n})=>{const r=async()=>
223{if(Kn.getPlatform()==="ios")try{await uT.toggle(),n()}catch(o){console.error("Errore bridge nativo CarPlay:",o),n()}else n()};return w.jsxs("button",{onClick:r,disabled:t,className:de("relative w-16 h-16 md:w-20 md:h-20 rounded-full","bg-gradient-to-br from-primary to-primary/80","flex items-center justify-center","transition-all duration-300 ease-out","hover:scale-105 active:scale-95","focus:outline-none focus:ring-4 focus:ring-primary/50","disabled:opacity-50 disabled:cursor-not-allowed",e?"glow-red":"shadow-xl"),children:[w.jsx("div",{className:"absolute inset-1 rounded-full bg-gradient-to-br from-primary-foreground/20 to-transparent"}),t?w.jsx(Zv,{className:"w-6 h-6 md:w-8 md:h-8 text-primary-foreground animate-spin"}):e?w.jsx(Jv,{className:"w-6 h-6 md:w-8 md:h-8 text-primary-foreground relative z-10"}):w.jsx(eg,{className:"w-6 h-6 md:w-8 md:h-8 text-primary-foreground relative z-10 ml-1"})]})};function Td(e,[t,n]){return Math.min(n,Math.max(t,e))}function Hr(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}var dT=f.createContext(void 0);function qy(e){const t=f.useContext(dT);return e||t||"ltr"}function fT(e){const t=f.useRef({value:e,previous:e});return f.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var Zy=["PageUp","PageDown"],Jy=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],e0={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Ao="Slider",[sc,pT,hT]=Pv(Ao),[t0,k2]=Xn(Ao,[hT]),[mT,Za]=t0(Ao),n0=f.forwardRef((e,t)=>{const{name:n,min:r=0,max:o=100,step:i=1,orientation:s="horizontal",disabled:a=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:d,onValueChange:c=()=>{},onValueCommit:h=()=>{},inverted:p=!1,form:S,...m}=e,x=f.useRef(new Set),g=f.useRef(0),y=s==="horizontal"?vT:gT,[b=[],E]=Fa({prop:d,defaultProp:u,onChange:k=>{var $;($=[...x.current][g.current])==null||$.focus(),c(k)}}),C=f.useRef(b);function P(k){const O=bT(b,k);A(k,O)}function R(k){A(k,g.current)}function T(){const k=C.current[g.current];b[g.current]!==k&&h(b)}function A(k,O,{commit:$}={commit:!1}){const M=kT(i),V=RT(Math.round((k-r)/i)*i+r,M),z=Td(V,[r,o]);E((U=[])=>{const N=xT(U,z,O);if(PT(N,l*i)){g.current=N.indexOf(z);const L=String(N)!==String(U);return L&&$&&h(N),L?N:U}else return U})}return w.jsx(mT,{scope:e.__scopeSlider,name:n,disabled:a,min:r,max:o,valueIndexToChangeRef:g,thumbs:x.current,values:b,orientation:s,form:S,children:w.jsx(sc.Provider,{scope:e.__scopeSlider,children:w.jsx(sc.Slot,{scope:e.__scopeSlider,children:w.jsx(y,{"aria-disabled":a,"data-disabled":a?"":void 0,...m,ref:t,onPointerDown:Hr(m.onPointerDown,()=>{a||(C.current=b)}),min:r,max:o,inverted:p,onSlideStart:a?void 0:P,onSlideMove:a?void 0:R,onSlideEnd:a?void 0:T,onHomeKeyDown:()=>!a&&A(r,0,{commit:!0}),onEndKeyDown:()=>!a&&A(o,b.length-1,{commit:!0}),onStepKeyDown:({event:k,direction:O})=>{if(!a){const V=Zy.includes(k.key)||k.shiftKey&&Jy.includes(k.key)?10:1,z=g.current,U=b[z],N=i*V*O;A(U+N,z,{commit:!0})}}})})})})});n0.displayName=Ao;var[r0,o0]=t0(Ao,{startEdge:"left",endEdge:"right",size:"width",direction:1}),vT=f.forwardRef((e,t)=>{const{min:n,max:r,dir:o,inverted:i,onSlideStart:s,onSlideMove:a,onSlideEnd:l,onStepKeyDown:u,...d}=e,[c,h]=f.useState(null),p=oe(t,y=>h(y)),S=f.useRef(void 0),m=qy(o),x=m==="ltr",g=x&&!i||!x&&i;function v(y){const b=S.current||c.getBoundingClientRect(),E=[0,b.width],P=Nd(E,g?[n,r]:[r,n]);return S.current=b,P(y-b.left)}return w.jsx(r0,{scope:e.__scopeSlider,startEdge:g?"left":"right",endEdge:g?"right":"left",direction:g?1:-1,size:"width",children:w.jsx(i0,{dir:m,"data-orientation":"horizontal",...d,ref:p,style:{...d.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:y=>{const b=v(y.clientX);s==null||s(b)},onSlideMove:y=>{const b=v(y.clientX);a==null||a(b)},onSlideEnd:()=>{S.current=void 0,l==null||l()},onStepKeyDown:y=>{const E=e0[g?"from-left":"from-right"].includes(y.key);u==null||u({event:y,direction:E?-1:1})}})})}),gT=f.forwardRef((e,t)=>
223{const{min:n,max:r,inverted:o,onSlideStart:i,onSlideMove:s,onSlideEnd:a,onStepKeyDown:l,...u}=e,d=f.useRef(null),c=oe(t,d),h=f.useRef(void 0),p=!o;function S(m){const x=h.current||d.current.getBoundingClientRect(),g=[0,x.height],y=Nd(g,p?[r,n]:[n,r]);return h.current=x,y(m-x.top)}return w.jsx(r0,{scope:e.__scopeSlider,startEdge:p?"bottom":"top",endEdge:p?"top":"bottom",size:"height",direction:p?1:-1,children:w.jsx(i0,{"data-orientation":"vertical",...u,ref:c,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:m=>{const x=S(m.clientY);i==null||i(x)},onSlideMove:m=>{const x=S(m.clientY);s==null||s(x)},onSlideEnd:()=>{h.current=void 0,a==null||a()},onStepKeyDown:m=>{const g=e0[p?"from-bottom":"from-top"].includes(m.key);l==null||l({event:m,direction:g?-1:1})}})})}),i0=f.forwardRef((e,t)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:i,onHomeKeyDown:s,onEndKeyDown:a,onStepKeyDown:l,...u}=e,d=Za(Ao,n);return w.jsx(Z.span,{...u,ref:t,onKeyDown:Hr(e.onKeyDown,c=>{c.key==="Home"?(s(c),c.preventDefault()):c.key==="End"?(a(c),c.preventDefault()):Zy.concat(Jy).includes(c.key)&&(l(c),c.preventDefault())}),onPointerDown:Hr(e.onPointerDown,c=>{const h=c.target;h.setPointerCapture(c.pointerId),c.preventDefault(),d.thumbs.has(h)?h.focus():r(c)}),onPointerMove:Hr(e.onPointerMove,c=>{c.target.hasPointerCapture(c.pointerId)&&o(c)}),onPointerUp:Hr(e.onPointerUp,c=>{const h=c.target;h.hasPointerCapture(c.pointerId)&&(h.releasePointerCapture(c.pointerId),i(c))})})}),s0="SliderTrack",a0=f.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=Za(s0,n);return w.jsx(Z.span,{"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation,...r,ref:t})});a0.displayName=s0;var ac="SliderRange",l0=f.forwardRef((e,t)=>{const{__scopeSlider:n,...r}=e,o=Za(ac,n),i=o0(ac,n),s=f.useRef(null),a=oe(t,s),l=o.values.length,u=o.values.map(h=>d0(h,o.min,o.max)),d=l>1?Math.min(...u):0,c=100-Math.max(...u);return w.jsx(Z.span,{"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,...r,ref:a,style:{...e.style,[i.startEdge]:d+"%",[i.endEdge]:c+"%"}})});l0.displayName=ac;var lc="SliderThumb",u0=f.forwardRef((e,t)=>{const n=pT(e.__scopeSlider),[r,o]=f.useState(null),i=oe(t,a=>o(a)),s=f.useMemo(()=>r?n().findIndex(a=>a.ref.current===r):-1,[n,r]);return w.jsx(yT,{...e,ref:i,index:s})}),yT=f.forwardRef((e,t)=>{const{__scopeSlider:n,index:r,name:o,...i}=e,s=Za(lc,n),a=o0(lc,n),[l,u]=f.useState(null),d=oe(t,v=>u(v)),c=l?s.form||!!l.closest("form"):!0,h=kg(l),p=s.values[r],S=p===void 0?0:d0(p,s.min,s.max),m=ST(r,s.values.length),x=h==null?void 0:h[a.size],g=x?ET(x,S,a.direction):0;return f.useEffect(()=>{if(l)return s.thumbs.add(l),()=>{s.thumbs.delete(l)}},[l,s.thumbs]),w.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[a.startEdge]:`calc(${S}% + ${g}px)`},children:[w.jsx(sc.ItemSlot,{scope:e.__scopeSlider,children:w.jsx(Z.span,{role:"slider","aria-label":e["aria-label"]||m,"aria-valuemin":s.min,"aria-valuenow":p,"aria-valuemax":s.max,"aria-orientation":s.orientation,"data-orientation":s.orientation,"data-disabled":s.disabled?"":void 0,tabIndex:s.disabled?void 0:0,...i,ref:d,style:p===void 0?{display:"none"}:e.style,onFocus:Hr(e.onFocus,()=>{s.valueIndexToChangeRef.current=r})})}),c&&w.jsx(c0,{name:o??(s.name?s.name+(s.values.length>1?"[]":""):void 0),form:s.form,value:p},r)]})});u0.displayName=lc;var wT="RadioBubbleInput",c0=f.forwardRef(({__scopeSlider:e,value:t,...n},r)=>{const o=f.useRef(null),i=oe(o,r),s=fT(t);return f.useEffect(()=>{const a=o.current;if(!a)return;const l=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(s!==t&&d){const c=new Event("input",{bubbles:!0});d.call(a,t),a.dispatchEvent(c)}},[s,t]),w.jsx(Z.input,{style:{display:"none"},...n,ref:i,defaultValue:t})});c0.displayName=wT;function xT(e=[],t,n){const r=[...e];return r[n]=t,r.sort((o,i)=>o-i)}function d0(e,t,n){const i=100/(n-t)*(e-t);return Td(i,[0,100])}function ST(e,t){return t>2?`Value ${e+1} of ${t}`:t===2?["Minimum","Maximum"][e]:void 0}function bT(e,t){if(e.length===1)return 0;const n=e.map(o=>
223Math.abs(o-t)),r=Math.min(...n);return n.indexOf(r)}function ET(e,t,n){const r=e/2,i=Nd([0,50],[0,r]);return(r-i(t)*n)*n}function CT(e){return e.slice(0,-1).map((t,n)=>e[n+1]-t)}function PT(e,t){if(t>0){const n=CT(e);return Math.min(...n)>=t}return!0}function Nd(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function kT(e){return(String(e).split(".")[1]||"").length}function RT(e,t){const n=Math.pow(10,t);return Math.round(e*n)/n}var f0=n0,TT=a0,NT=l0,AT=u0;const p0=f.forwardRef(({className:e,...t},n)=>w.jsxs(f0,{ref:n,className:de("relative flex w-full touch-none select-none items-center",e),...t,children:[w.jsx(TT,{className:"relative h-2 w-full grow overflow-hidden rounded-full bg-muted",children:w.jsx(NT,{className:"absolute h-full bg-gradient-to-r from-primary to-primary/80"})}),w.jsx(AT,{className:"block h-5 w-5 rounded-full border-2 border-primary bg-background 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 shadow-lg hover:scale-110"})]}));p0.displayName=f0.displayName;const _T=({volume:e,onVolumeChange:t,onMuteToggle:n,isMuted:r})=>{const o=r||e===0?ng:e<.5?kS:tg;return w.jsxs("div",{className:"flex items-center gap-3 w-full min-w-[280px] max-w-sm",children:[w.jsx("button",{onClick:n,className:de("p-2 rounded-full transition-colors","hover:bg-muted focus:outline-none focus:ring-2 focus:ring-primary/50",r?"text-muted-foreground":"text-foreground"),children:w.jsx(o,{className:"w-5 h-5"})}),w.jsx(p0,{value:[r?0:e*100],max:100,step:1,onValueChange:i=>t(i[0]/100),className:"flex-1"}),w.jsxs("span",{className:"text-sm text-muted-foreground w-10 text-right font-medium",children:[Math.round(r?0:e*100),"%"]})]})};var Ja="Collapsible",[LT,R2]=Xn(Ja),[OT,Ad]=LT(Ja),h0=f.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:o,disabled:i,onOpenChange:s,...a}=e,[l,u]=Fa({prop:r,defaultProp:o??!1,onChange:s,caller:Ja});return w.jsx(OT,{scope:n,disabled:i,contentId:Os(),open:l,onOpenToggle:f.useCallback(()=>u(d=>!d),[u]),children:w.jsx(Z.div,{"data-state":Ld(l),"data-disabled":i?"":void 0,...a,ref:t})})});h0.displayName=Ja;var m0="CollapsibleTrigger",v0=f.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,o=Ad(m0,n);return w.jsx(Z.button,{type:"button","aria-controls":o.contentId,"aria-expanded":o.open||!1,"data-state":Ld(o.open),"data-disabled":o.disabled?"":void 0,disabled:o.disabled,...r,ref:t,onClick:ee(e.onClick,o.onOpenToggle)})});v0.displayName=m0;var _d="CollapsibleContent",g0=f.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=Ad(_d,e.__scopeCollapsible);return w.jsx(_t,{present:n||o.open,children:({present:i})=>w.jsx(jT,{...r,ref:t,present:i})})});g0.displayName=_d;var jT=f.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:o,...i}=e,s=Ad(_d,n),[a,l]=f.useState(r),u=f.useRef(null),d=oe(t,u),c=f.useRef(0),h=c.current,p=f.useRef(0),S=p.current,m=s.open||a,x=f.useRef(m),g=f.useRef(void 0);return f.useEffect(()=>{const v=requestAnimationFrame(()=>x.current=!1);return()=>cancelAnimationFrame(v)},[]),Rt(()=>{const v=u.current;if(v){g.current=g.current||{transitionDuration:v.style.transitionDuration,animationName:v.style.animationName},v.style.transitionDuration="0s",v.style.animationName="none";const y=v.getBoundingClientRect();c.current=y.height,p.current=y.width,x.current||(v.style.transitionDuration=g.current.transitionDuration,v.style.animationName=g.current.animationName),l(r)}},[s.open,r]),w.jsx(Z.div,{"data-state":Ld(s.open),"data-disabled":s.disabled?"":void 0,id:s.contentId,hidden:!m,...i,ref:d,style:{"--radix-collapsible-content-height":h?`${h}px`:void 0,"--radix-collapsible-content-width":S?`${S}px`:void 0,...e.style},children:m&&o})});function Ld(e){return e?"open":"closed"}var MT=h0;const DT=MT,IT=v0,FT=g0;function $T(e,t){return f.useReducer((n,r)=>t[n][r]??n,e)}var Od="ScrollArea",[y0,T2]=Xn(Od),[zT,ft]=y0(Od),w0=f.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r="hover",dir:o,scrollHideDelay:i=600,...s}=e,[a,l]=f.useState(null),[u,d]=f.useState(null),[c,h]=f.useState(null),[p,S]=f.useState(null),[m,x]=f.useState(null),[g,v]=f.useState(0),[y,b]=f.useState(0),[E,C]=f.useState(!1),[P,R]=f.useState(!1),T=oe(t,k=>l(k)),A=qy(o);return w.jsx(zT,{scope:n,type:r,dir:A,scrollHideDelay:i,scrollArea:a,viewport:u,onViewportChange:d,content:c,onContentChange:h,scrollbarX:p,onScrollbarXChange:S,scrollbarXEnabled:E,onScrollbarXEnabledChange:C,scrollbarY:m,onScrollbarYChange:x,scrollbarYEnabled:P,onScrollbarYEnabledChange:R,onCornerWidthChange:v,onCornerHeight
vendor: 8,828 bytes, line 223
223Change:b,children:w.jsx(Z.div,{dir:A,...s,ref:T,style:{position:"relative","--radix-scroll-area-corner-width":g+"px","--radix-scroll-area-corner-height":y+"px",...e.style}})})});w0.displayName=Od;var x0="ScrollAreaViewport",S0=f.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:o,...i}=e,s=ft(x0,n),a=f.useRef(null),l=oe(t,a,s.onViewportChange);return w.jsxs(w.Fragment,{children:[w.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),w.jsx(Z.div,{"data-radix-scroll-area-viewport":"",...i,ref:l,style:{overflowX:s.scrollbarXEnabled?"scroll":"hidden",overflowY:s.scrollbarYEnabled?"scroll":"hidden",...e.style},children:w.jsx("div",{ref:s.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});S0.displayName=x0;var Ht="ScrollAreaScrollbar",jd=f.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ft(Ht,e.__scopeScrollArea),{onScrollbarXEnabledChange:i,onScrollbarYEnabledChange:s}=o,a=e.orientation==="horizontal";return f.useEffect(()=>(a?i(!0):s(!0),()=>{a?i(!1):s(!1)}),[a,i,s]),o.type==="hover"?w.jsx(UT,{...r,ref:t,forceMount:n}):o.type==="scroll"?w.jsx(BT,{...r,ref:t,forceMount:n}):o.type==="auto"?w.jsx(b0,{...r,ref:t,forceMount:n}):o.type==="always"?w.jsx(Md,{...r,ref:t}):null});jd.displayName=Ht;var UT=f.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ft(Ht,e.__scopeScrollArea),[i,s]=f.useState(!1);return f.useEffect(()=>{const a=o.scrollArea;let l=0;if(a){const u=()=>{window.clearTimeout(l),s(!0)},d=()=>{l=window.setTimeout(()=>s(!1),o.scrollHideDelay)};return a.addEventListener("pointerenter",u),a.addEventListener("pointerleave",d),()=>{window.clearTimeout(l),a.removeEventListener("pointerenter",u),a.removeEventListener("pointerleave",d)}}},[o.scrollArea,o.scrollHideDelay]),w.jsx(_t,{present:n||i,children:w.jsx(b0,{"data-state":i?"visible":"hidden",...r,ref:t})})}),BT=f.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=ft(Ht,e.__scopeScrollArea),i=e.orientation==="horizontal",s=tl(()=>l("SCROLL_END"),100),[a,l]=$T("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return f.useEffect(()=>{if(a==="idle"){const u=window.setTimeout(()=>l("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(u)}},[a,o.scrollHideDelay,l]),f.useEffect(()=>{const u=o.viewport,d=i?"scrollLeft":"scrollTop";if(u){let c=u[d];const h=()=>{const p=u[d];c!==p&&(l("SCROLL"),s()),c=p};return u.addEventListener("scroll",h),()=>u.removeEventListener("scroll",h)}},[o.viewport,i,l,s]),w.jsx(_t,{present:n||a!=="hidden",children:w.jsx(Md,{"data-state":a==="hidden"?"hidden":"visible",...r,ref:t,onPointerEnter:ee(e.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:ee(e.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),b0=f.forwardRef((e,t)=>{const n=ft(Ht,e.__scopeScrollArea),{forceMount:r,...o}=e,[i,s]=f.useState(!1),a=e.orientation==="horizontal",l=tl(()=>{if(n.viewport){const u=n.viewport.offsetWidth<n.viewport.scrollWidth,d=n.viewport.offsetHeight<n.viewport.scrollHeight;s(a?u:d)}},10);return xo(n.viewport,l),xo(n.content,l),w.jsx(_t,{present:r||i,children:w.jsx(Md,{"data-state":i?"visible":"hidden",...o,ref:t})})}),Md=f.forwardRef((e,t)=>{const{orientation:n="vertical",...r}=e,o=ft(Ht,e.__scopeScrollArea),i=f.useRef(null),s=f.useRef(0),[a,l]=f.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=R0(a.viewport,a.content),d={...r,sizes:a,onSizesChange:l,hasThumb:u>0&&u<1,onThumbChange:h=>i.current=h,onThumbPointerUp:()=>s.current=0,onThumbPointerDown:h=>s.current=h};function c(h,p){return YT(h,s.current,a,p)}return n==="horizontal"?w.jsx(VT,{...d,ref:t,onThumbPositionChange:()=>{if(o.viewport&&i.current){const h=o.viewport.scrollLeft,p=Gp(h,a,o.dir);i.current.style.transform=`translate3d(${p}px, 0, 0)`}},onWheelScroll:h=>{o.viewport&&(o.viewport.scrollLeft=h)},onDragScroll:h=>{o.viewport&&(o.viewport.scrollLeft=c(h,o.dir))}}):n==="vertical"?w.jsx(WT,{...d,ref:t,onThumbPositionChange:()=>{if(o.viewport&&i.current){const h=o.viewport.scrollTop,p=Gp(h,a);i.current.style.transform=`translate3d(0, ${p}px, 0)`}},onWheelScroll:h=>{o.viewport&&(o.viewport.scrollTop=h)},onDragScroll:h=>{o.viewport&&(o.viewport.scrollTop=c(h))}}):null}),VT=f.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,i=ft(Ht,e.__scopeScrollArea),[s,a]=f.useState(),l=f.useRef(null),u=oe(t,l,i.onScrollbarXChange);return f.useEffect(()=>{l.current&&a(getComputedStyle(l.current))},[l]),w.jsx(C0,{"data-orientation":"horizontal",...o,ref:u,sizes:n,style:{bottom:0,left:i.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:i.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":el(n)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.x),onDragScroll:d=>e.onDragScroll(d.x),onWheelScroll:(d,c)=>{if(i.viewport){const h=i.viewport.scrollLeft+d.deltaX;e.onWheelScroll(h),N0(h,c)&&d.preventDefault()}},onResize:()=>{l.current&&i.viewport&&s&&r({content:i.viewport.scrollWidth,viewport:i.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:xa(s.paddingLeft),paddingEnd:xa(s.paddingRight)}})}})}),WT=f.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...o}=e,i=ft(Ht,e.__scopeScrollArea),[s,a]=f.useState(),l=f.useRef(null),u=oe(t,l,i.onScrollbarYChange);return f.useEffect(()=>{l.current&&a(getComputedStyle(l.current))},[l]),w.jsx(C0,{"data-orientation":"vertical",...o,ref:u,sizes:n,style:{top:0,right:i.dir==="ltr"?0:void 0,left:i.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":el(n)+"px",...e.style},onThumbPointerDown:d=>e.onThumbPointerDown(d.y),onDragScroll:d=>e.onDragScroll(d.y),onWheelScroll:(d,c)=>{if(i.viewport){const h=i.viewport.scrollTop+d.deltaY;e.onWheelScroll(h),N0(h,c)&&d.preventDefault()}},onResize:()=>{l.current&&i.viewport&&s&&r({content:i.viewport.scrollHeight,viewport:i.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:xa(s.paddingTop),paddingEnd:xa(s.paddingBottom)}})}})}),[HT,E0]=y0(Ht),C0=f.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:o,onThumbChange:i,onThumbPointerUp:s,onThumbPointerDown:a,onThumbPositionChange:l,onDragScroll:u,onWheelScroll:d,onResize:c,...h}=e,p=ft(Ht,n),[S,m]=f.useState(null),x=oe(t,T=>m(T)),g=f.useRef(null),v=f.useRef(""),y=p.viewport,b=r.content-r.viewport,E=ke(d),C=ke(l),P=tl(c,10);function R(T){if(g.current){const A=T.clientX-g.current.left,k=T.clientY-g.current.top;u({x:A,y:k})}}return f.useEffect(()=>{const T=A=>{const k=A.target;(S==null?void 0:S.contains(k))&&E(A,b)};return document.addEventListener("wheel",T,{passive:!1}),()=>document.removeEventListener("wheel",T,{passive:!1})},[y,S,b,E]),f.useEffect(C,[r,C]),xo(S,P),xo(p.content,P),w.jsx(HT,{scope:n,scrollbar:S,hasThumb:o,onThumbChange:ke(i),onThumbPointerUp:ke(s),onThumbPositionChange:C,onThumbPointerDown:ke(a),children:w.jsx(Z.div,{...h,ref:x,style:{position:"absolute",...h.style},onPointerDown:ee(e.onPointerDown,T=>{T.button===0&&(T.target.setPointerCapture(T.pointerId),g.current=S.getBoundingClientRect(),v.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",p.viewport&&(p.viewport.style.scrollBehavior="auto"),R(T))}),onPointerMove:ee(e.onPointerMove,R),onPointerUp:ee(e.onPointerUp,T=>{const A=T.target;A.hasPointerCapture(T.pointerId)&&A.releasePointerCapture(T.pointerId),document.body.style.webkitUserSelect=v.current,p.viewport&&(p.viewport.style.scrollBehavior=""),g.current=null})})})}),wa="ScrollAreaThumb",P0=f.forwardRef((e,t)=>{const{forceMount:n,...r}=e,o=E0(wa,e.__scopeScrollArea);return w.jsx(_t,{present:n||o.hasThumb,children:w.jsx(KT,{ref:t,...r})})}),KT=f.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...o}=e,i=ft(wa,n),s=E0(wa,n),{onThumbPositionChange:a}=s,l=oe(t,c=>s.onThumbChange(c)),u=f.useRef(void 0),d=tl(()=>{u.current&&(u.current(),u.current=void 0)},100);return f.useEffect(()=>{const c=i.viewport;if(c){const h=()=>{if(d(),!u.current){const p=GT(c,a);u.current=p,a()}};return a(),c.addEventListener("scroll",h),()=>c.removeEventListener("scroll",h)}},[i.viewport,d,a]),w.jsx(Z.div,{"data-state":s.hasThumb?"visible":"hidden",...o,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:ee(e.onPointerDownCapture,c=>{const p=c.target.getBoundingClientRect(),S=c.clientX-p.left,m=c.clientY-p.top;s.onThumbPointerDown({x:S,y:m})}),onPointerUp:ee(e.onPointerUp,s.onThumbPointerUp)})});P0.displayName=wa;var Dd="ScrollAreaCorner",k0=f.forwardRef((e,t)=>
vendor: 4,413 bytes, line 223
223{const n=ft(Dd,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?w.jsx(QT,{...e,ref:t}):null});k0.displayName=Dd;var QT=f.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,o=ft(Dd,n),[i,s]=f.useState(0),[a,l]=f.useState(0),u=!!(i&&a);return xo(o.scrollbarX,()=>{var c;const d=((c=o.scrollbarX)==null?void 0:c.offsetHeight)||0;o.onCornerHeightChange(d),l(d)}),xo(o.scrollbarY,()=>{var c;const d=((c=o.scrollbarY)==null?void 0:c.offsetWidth)||0;o.onCornerWidthChange(d),s(d)}),u?w.jsx(Z.div,{...r,ref:t,style:{width:i,height:a,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null});function xa(e){return e?parseInt(e,10):0}function R0(e,t){const n=e/t;return isNaN(n)?0:n}function el(e){const t=R0(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function YT(e,t,n,r="ltr"){const o=el(n),i=o/2,s=t||i,a=o-s,l=n.scrollbar.paddingStart+s,u=n.scrollbar.size-n.scrollbar.paddingEnd-a,d=n.content-n.viewport,c=r==="ltr"?[0,d]:[d*-1,0];return T0([l,u],c)(e)}function Gp(e,t,n="ltr"){const r=el(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,i=t.scrollbar.size-o,s=t.content-t.viewport,a=i-r,l=n==="ltr"?[0,s]:[s*-1,0],u=Td(e,l);return T0([0,s],[0,a])(u)}function T0(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function N0(e,t){return e>0&&e<t}var GT=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function o(){const i={left:e.scrollLeft,top:e.scrollTop},s=n.left!==i.left,a=n.top!==i.top;(s||a)&&t(),n=i,r=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(r)};function tl(e,t){const n=ke(e),r=f.useRef(0);return f.useEffect(()=>()=>window.clearTimeout(r.current),[]),f.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function xo(e,t){const n=ke(t);Rt(()=>{let r=0;if(e){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(e),()=>{window.cancelAnimationFrame(r),o.unobserve(e)}}},[e,n])}var A0=w0,XT=S0,qT=k0;const _0=f.forwardRef(({className:e,children:t,...n},r)=>w.jsxs(A0,{ref:r,className:de("relative overflow-hidden",e),...n,children:[w.jsx(XT,{className:"h-full w-full rounded-[inherit]",children:t}),w.jsx(L0,{}),w.jsx(qT,{})]}));_0.displayName=A0.displayName;const L0=f.forwardRef(({className:e,orientation:t="vertical",...n},r)=>w.jsx(jd,{ref:r,orientation:t,className:de("flex touch-none select-none transition-colors",t==="vertical"&&"h-full w-2.5 border-l border-l-transparent p-[1px]",t==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent p-[1px]",e),...n,children:w.jsx(P0,{className:"relative flex-1 rounded-full bg-border"})}));L0.displayName=jd.displayName;const ZT=e=>new Date(e*1e3).toLocaleTimeString("it-IT",{hour:"2-digit",minute:"2-digit"}),JT=({artist:e,title:t,album:n,year:r,isPlaying:o,nextArtist:i,nextTitle:s,nextCoverArt:a,songHistory:l=[]})=>{const[u,d]=f.useState(!1);return w.jsxs("div",{className:"glass-card p-4 md:p-6 w-full max-w-md",children:[w.jsxs("div",{className:"flex items-center gap-3 mb-3",children:[w.jsx("div",{className:de("w-2 h-2 rounded-full",o?"bg-accent animate-pulse":"bg-muted-foreground")}),w.jsx("span",{className:"text-xs uppercase tracking-widest text-muted-foreground font-semibold",children:o?"Now Playing":"Paused"})]}),t?w.jsxs("div",{className:"space-y-1",children:[w.jsx("h2",{className:de("font-['Arial'] text-foreground w-full",t.length>28?"text-base md:text-lg leading-tight":"text-xl md:text-2xl"),children:t}),w.jsx("p",{className:"text-muted-foreground text-base md:text-lg truncate",children:e||"Unknown Artist"}),n&&w.jsxs("p",{className:"text-muted-foreground/70 text-sm truncate",children:[w.jsx("span",{children:"Album: "}),w.jsx("span",{className:"italic",children:n})]}),r&&w.jsxs("p",{className:"text-muted-foreground/70 text-sm truncate",children:[w.jsx("span",{children:"Year: "}),w.jsx("span",{children:r})]})]}):w.jsxs("div",{className:"flex items-center gap-3 text-muted-foreground",children:[w.jsx(CS,{className:"w-5 h-5"}),w.jsx("span",{className:"text-base",children:"Waiting for stream info..."})]}),s&&w.jsxs("div",{className:"mt-4 pt-3 border-t border-border/30",children:[w.jsx("span",{className:"text-xs uppercase tracking-widest text-muted-foreground
223/70 font-semibold",children:"Next Song:"}),w.jsxs("div",{className:"flex items-center gap-3 mt-2",children:[a&&w.jsx("img",{src:a,alt:"Next song cover",className:"w-10 h-10 rounded object-cover flex-shrink-0"}),w.jsxs("div",{className:"min-w-0",children:[w.jsx("p",{className:"text-base text-foreground/90 truncate font-semibold",children:s}),i&&w.jsx("p",{className:"text-sm text-muted-foreground/80 truncate font-medium",children:i})]})]})]}),l.length>0&&w.jsxs(DT,{open:u,onOpenChange:d,className:"mt-4 pt-3 border-t border-border/30",children:[w.jsxs(IT,{className:"flex items-center justify-between w-full group",children:[w.jsxs("span",{className:"text-sm uppercase tracking-widest text-muted-foreground/80 font-semibold flex items-center gap-2",children:[w.jsx(SS,{className:"w-4 h-4"}),"Song History"]}),w.jsx(xS,{className:de("w-4 h-4 text-muted-foreground/70 transition-transform duration-200",u&&"rotate-180")})]}),w.jsx(FT,{className:"mt-2",children:w.jsx(_0,{className:"h-48 pr-2",children:w.jsx("div",{className:"space-y-2",children:l.map((c,h)=>w.jsxs("div",{className:"flex items-center gap-3 py-1.5",children:[c.coverArt&&w.jsx("img",{src:c.coverArt,alt:"Song cover",className:"w-10 h-10 rounded object-cover flex-shrink-0"}),w.jsxs("div",{className:"min-w-0 flex-1",children:[w.jsx("p",{className:"text-base text-foreground/90 truncate font-semibold",children:c.title}),w.jsx("p",{className:"text-sm text-muted-foreground/80 truncate font-medium",children:c.artist})]}),w.jsx("span",{className:"text-sm text-muted-foreground/70 flex-shrink-0",children:ZT(c.playedAt)})]},`${c.playedAt}-${h}`))})})})]})]})},e2=({isPlaying:e})=>{const[n,r]=f.useState([]);return f.useEffect(()=>{r(Array.from({length:18},()=>Math.floor(Math.random()*100)))},[]),w.jsxs("div",{style:vs.container,children:[w.jsx("div",{style:vs.meterWrapper,children:n.map((o,i)=>{const s=`${(i*.02+Math.random()*.1).toFixed(2)}s`,a=`${(.8+Math.random()*.4).toFixed(2)}s`;return w.jsx("div",{style:vs.barContainer,children:w.jsx("div",{style:{...vs.barFill,animation:e?`vrsUltraSmooth ${a} cubic-bezier(0.25, 0.1, 0.25, 1) infinite alternate`:"none",animationDelay:e?s:"0s",height:e?"100%":"12%",transition:e?"none":"height 0.8s cubic-bezier(0.23, 1, 0.32, 1)"}})},i)})}),w.jsx("style",{children:`
224        @keyframes vrsUltraSmooth {
225          0% { height: 12%; opacity: 0.5; }
226          40% { height: 85%; opacity: 0.8; }
227          60% { height: 60%; opacity: 0.7; }
228          85% { height: 100%; opacity: 1; }
229          100% { height: 30%; opacity: 0.6; }
230        }
231      `})]})},vs={container:{display:"flex",alignItems:"center",justifyContent:"center",width:"320px",margin:"15px auto",backgroundColor:"transparent",padding:"10px 0",transform:"translateZ(0)"},meterWrapper:{display:"flex",alignItems:"flex-end",justifyContent:"center",gap:"6px",width:"100%",height:"26px"},barContainer:{width:"8px",height:"100%",backgroundColor:"rgba(255, 255, 255, 0.05)",borderRadius:"1px",display:"flex",alignItems:"flex-end",overflow:"hidden"},barFill:{width:"100%",background:"linear-gradient(to top, #4ade80 0%, #facc15 65%, #f87171 100%)",borderRadius:"1px",willChange:"height"}},t2=({isAvailable:e,isCasting:t,deviceName:n,onCast:r,onStop:o})=>e?w.jsxs("div",{className:"flex flex-col items-center gap-1",children:[w.jsxs("button",{onClick:t?o:r,className:`relative p-3 rounded-full transition-all duration-300 ${t?"bg-primary/20 text-primary glow-red":"bg-muted/50 text-muted-foreground hover:text-foreground hover:bg-muted"}`,"aria-label":t?"Interrompi Cast":"Trasmetti su dispositivo",title:t?`Trasmettendo su ${n}`:"Trasmetti",children:[w.jsx(wS,{className:`w-5 h-5 ${t?"animate-pulse":""}`}),t&&w.jsx("span",{className:"absolute -top-0.5 -right-0.5 w-2.5 h-2.5 bg-primary rounded-full animate-pulse"})]}),t&&n&&w.jsx("span",{className:"text-xs text-primary/80 font-medium truncate max-w-[120px]",children:n})]}):null,n2=({isAvailable:e,isActive:t,onPress:n})=>e?w.jsxs("div",{className:"flex flex-col items-center gap-1",children:[w.jsxs("button",{onClick:n,className:`relative p-3 rounded-full transition-all duration-300 ${t?"bg-primary/20 text-primary glow-red":"bg-muted/50 text-muted-foreground hover:text-foreground hover:bg-muted"}`,"aria-label":t?"AirPlay attivo":"Trasmetti con AirPlay",title:t?"AirPlay attivo":"AirPlay",children:[w.jsx(yS,{className:`w-5 h-5 ${t?"animate-pulse":""}`}),t&&w.jsx("span",{className:"absolute -top-0.5 -right-0.5 w-2.5 h-2.5 bg-primary rounded-full animate-pulse"})]}),t&&w.jsx("span",{className:"text-xs text-primary/80 font-medium",children:"AirPlay"})]}):null,gs="https://vrs-blackbox.ddns.net/listen/vrs/radio.mp3",O0=()=>{const e=Kn.getPlatform(),t=e==="ios"||e==="android",n=f.useRef(null),r=f.useRef(null),o=f.useRef(null),i=f.useRef(null),s=f.useRef(null),[a,l]=f.useState(!1),[u,d]=f.useState(!1),[c,h]=f.useState(.7),[p,S]=f.useState(!1),[m,x]=f.useState(null),g=f.useRef(.7),v=f.useRef(!1),y=f.useRef(null),b=()=>{y.current&&(clearTimeout(y.current),y.current=null)},E=f.useCallback(k=>{"mediaSession"in navigator&&(navigator.mediaSession.playbackState=k)},[]),C=f.useCallback(()=>{const k=n.current;if(!k||!v.current)return;const O=Date.now(),$=k._lastReconnect||0;if(O-$<2e3){console.log("useAudioPlayer: Reconnect throttled...");return}k._lastReconnect=O,console.log("useAudioPlayer: Performing hard reconnect for live stream..."),d(!0),k.pause(),setTimeout(()=>{v.current&&(k.src=gs,k.load(),k.play().then(()=>{l(!0),d(!1),console.log("useAudioPlayer: Hard reconnect successful")}).catch(M=>{console.error("useAudioPlayer: Reconnect play failed:",M)}))},200)},[]);f.useEffect(()=>{const k=new Audio;k.preload="auto",k.crossOrigin="anonymous",k.setAttribute("playsinline","true"),k.setAttribute("webkit-playsinline","true"),n.current=k;const O=()=>{console.log("useAudioPlayer: Can play"),d(!1)},$=()=>{console.log("useAudioPlayer: Waiting/Buffering..."),d(!0),b(),y.current=setTimeout(()=>
231{v.current&&(console.log("useAudioPlayer: Buffering timeout reached, force reloading..."),C())},5e3)},M=()=>{console.log("useAudioPlayer: Playing started"),d(!1),l(!0),b(),E("playing")},V=()=>{console.log("useAudioPlayer: Paused event"),l(!1),E("paused")},z=()=>{console.warn("useAudioPlayer: Network stalled."),v.current&&(b(),y.current=setTimeout(()=>{C()},2e3))},U=L=>{console.error("useAudioPlayer: Audio error event:",L),v.current&&C()};k.addEventListener("canplay",O),k.addEventListener("waiting",$),k.addEventListener("playing",M),k.addEventListener("pause",V),k.addEventListener("stalled",z),k.addEventListener("error",U);const N=()=>{if(n.current){const L=!n.current.paused&&!n.current.ended&&n.current.readyState>2;console.log("useAudioPlayer: Visibility sync - shouldPlay:",v.current,"actualPlaying:",L),v.current&&!L?(console.log("useAudioPlayer: App returned to focus, audio was interrupted. Resuming..."),n.current.play().then(()=>l(!0)).catch(I=>{console.warn("Auto-resume failed, attempting hard reconnect:",I),C()})):l(L),E(L?"playing":"paused")}};return document.addEventListener("visibilitychange",N),()=>{k.removeEventListener("canplay",O),k.removeEventListener("waiting",$),k.removeEventListener("playing",M),k.removeEventListener("pause",V),k.removeEventListener("stalled",z),k.removeEventListener("error",U),document.removeEventListener("visibilitychange",N),b(),k.pause(),k.src=""}},[C,E]),f.useEffect(()=>{const k=p?0:c;n.current&&(n.current.volume=k),!t&&s.current&&r.current&&s.current.gain.setValueAtTime(k,r.current.currentTime)},[c,p,t]);const P=f.useCallback(()=>{if(!(t||!n.current))try{r.current||(r.current=new(window.AudioContext||window.webkitAudioContext)({latencyHint:"playback"}));const k=r.current;i.current||(i.current=k.createMediaElementSource(n.current)),o.current||(o.current=k.createAnalyser(),o.current.fftSize=256,o.current.smoothingTimeConstant=.8,s.current=k.createGain(),s.current.gain.value=p?0:c,i.current.connect(s.current),s.current.connect(o.current),o.current.connect(k.destination),x(o.current)),k.state==="suspended"&&k.resume()}catch(k){console.error("Web Audio non supportato o bloccato:",k)}},[t,c,p]),R=f.useCallback(async()=>{const k=n.current;if(k)if(a)console.log("useAudioPlayer: Stopping playback"),v.current=!1,k.pause(),k.src="",k.load(),l(!1),E("paused");else{console.log("useAudioPlayer: Starting playback for URL:",gs),d(!0),v.current=!0,k.src=gs,k.load(),t||P();try{console.log("useAudioPlayer: Executing audio.play()..."),await k.play(),console.log("useAudioPlayer: Play successful"),k.volume=p?0:c,E("playing")}catch(O){console.error("useAudioPlayer: Errore di riproduzione:",O),v.current=!1,d(!1),l(!1),E("none")}}},[a,t,P,c,p,E]),T=f.useCallback(k=>{h(k),g.current=k,k>0&&p&&S(!1)},[p]),A=f.useCallback(()=>S(k=>!k),[]);return f.useEffect(()=>{const k=n.current;if(k)return"mediaSession"in navigator&&(navigator.mediaSession.metadata=new MediaMetadata({title:"Viva Radio Star",artist:"Diretta Streaming",album:"VRS",artwork:[{src:"assets/icon/icon.png",sizes:"512x512",type:"image/png"}]}),navigator.mediaSession.setActionHandler("play",()=>{console.log("useAudioPlayer: CarPlay/System PLAY command received"),d(!0),v.current=!0,k.src=gs,k.load(),t||P(),k.play().then(()=>{k.volume=p?0:c,l(!0),E("playing")}).catch(O=>{console.error("useAudioPlayer: CarPlay Play failed, forcing hard reconnect:",O),C()})}),navigator.mediaSession.setActionHandler("pause",()=>{console.log("useAudioPlayer: CarPlay/System PAUSE command received"),v.current=!1,k.pause(),k.src="",k.load(),l(!1),E("paused")})),()=>{"mediaSession"in navigator&&(navigator.mediaSession.setActionHandler("play",null),navigator.mediaSession.setActionHandler("pause",null))}},[t,P,c,p,E,C]),{isPlaying:a,isLoading:u,volume:c,isMuted:p,analyser:m,audioElement:n.current,togglePlay:R,setVolume:T,toggleMute:A}},r2="https://vrs-blackbox.ddns.net/api/nowplaying/vrs",j0=e=>{const[t,n]=f.useState({artist:"",title:"",album:"",year:"",coverArt:"",duration:0,elapsed:0,playedAt:0,nextArtist:"",nextTitle:"",nextCoverArt:"",songHistory:[]}),[r,o]=f.useState(0),i=f.useRef(0),s=f.useRef(0),a=f.useCallback(async()=>{var l,u,d,c,h,p,S,m;try{const x=await fetch(r2);if(!x.ok)throw new Error("Failed to fetch");const g=await x.json(),v=(l=g.now_playing)==null?void 0:l.song,y=((u=g.now_playing)==null?void 0:u.elapsed)||0,b=((d=g.now_playing)==null?void 0:d.duration)||0,E=((c=g.now_playing)==null?void 0:c.played_at)||0;i.current=E,s.current=b;const C=(h=g.playing_next)==null?void 0:h.song,R=(g.song_history||[]).slice(0,15).map(T=>{var A,k,O;return{artist:((A=T.song)==null?void 0:A.artist)||"",title:((k=T.song)==null?void 0:k.title)||"",coverArt:((O=T.song)==null?void 0:O.art)||"",playedAt:T.played_at||0}});v&&(n({artist:v.artist||"",title:v.title||"",album:v.album||"",year:String(((p=v.custom_fields)==null?void 0:p.year)??v.year??"")||"",coverArt:v.art||((m=(S=g.now_playing)==null?void 0:S.song)==null?void 0:m.art)||"",duration:b,elapsed:y,playedAt:E,nextArtist:(C==null?void 0:C.artist)||"",nextTitle:(C==null?void 0:C.title)||"",nextCoverArt:(C==null?void 0:C.art)||"",songHistory:R}),o(y))}catch(x){console.error("Error fetching now playing:",x)}},[]);return f.useEffect(()=>{if(!e||s.current===0)return;let l=null;return(()=>{l=setInterval(()=>{if(document.visibilityState!=="visible")return;const c=Math.floor(Date.now()/1e3)-i.current;c<=s.current&&o(c)},1e3)})(),()=>{l&&clearInterval(l)}},[e,t.playedAt]),f.useEffect(()=>{a();const l=setInterval(()=>{a()},15e3),u=()=>{document.visibilityState==="visible"&&a()};return document.addEventListener("visibilitychange",u),()=>{clearInterval(l),document.removeEventListener("visibilitychange",u)}},[a]),{...t,elapsed:r}},ql=No("VRSMediaSession"),Zl=Kn.isNativePlatform()&&Kn.getPlatform()==="android",M0=({title:e,artist:t,album:n="Viva RadioStar",coverArt:r,isPlaying:o,onPlay:i,onPause:s,play:a,pause:l})=>
231{if(Kn.getPlatform()==="ios")return;const u=f.useCallback(()=>{if("mediaSession"in navigator){const p=[];r&&p.push({src:r,sizes:"96x96",type:"image/jpeg"},{src:r,sizes:"128x128",type:"image/jpeg"},{src:r,sizes:"192x192",type:"image/jpeg"},{src:r,sizes:"256x256",type:"image/jpeg"},{src:r,sizes:"384x384",type:"image/jpeg"},{src:r,sizes:"512x512",type:"image/jpeg"}),navigator.mediaSession.metadata=new MediaMetadata({title:e||"Viva RadioStar",artist:t||"In onda",album:n,artwork:p})}const d=e&&e.trim()!==""?e:"Viva RadioStar",c=t&&t.trim()!==""?t:"In onda";let h="https://vivaradiostar.it";r&&r.trim()!==""&&r.startsWith("https://")&&(h=r),Zl&&(console.log("Inviando a Android Auto:",d,c,h),ql.updateMetadata({title:d,artist:c,album:n||"Viva RadioStar",imageUrl:h,coverUrl:h,coverArt:h}).catch(p=>{console.error("Errore plugin nativo metadata:",p)}))},[e,t,n,r]);f.useEffect(()=>{"mediaSession"in navigator&&(navigator.mediaSession.playbackState=o?"playing":"paused"),Zl&&ql.updatePlaybackState({isPlaying:o}).catch(d=>{console.warn("Error updating native playback state:",d)})},[o]),f.useEffect(()=>{u()},[e,t,r,u]),f.useEffect(()=>{if(Zl){console.log("Setting up car listener...");try{const d=ql.addListener("mediaAction",c=>{console.log("Action FROM CAR received in JS:",c.action),c.action==="play"?(console.log("Triggering play from Car"),a?a():i==null||i()):c.action==="pause"&&(console.log("Triggering pause from Car"),l?l():s==null||s())});return()=>{console.log("Removing car listener"),d.remove()}}catch(d){console.warn("Impossibile registrare il listener Android Auto:",d)}}},[o,i,s,a,l]),f.useEffect(()=>{if(!("mediaSession"in navigator))return;const d=[{action:"play",handler:()=>i==null?void 0:i()},{action:"pause",handler:()=>s==null?void 0:s()}];return d.forEach(({action:c,handler:h})=>{try{navigator.mediaSession.setActionHandler(c,h)}catch{console.warn(`Media session action '${c}' not supported`)}}),()=>{d.forEach(({action:c})=>{try{navigator.mediaSession.setActionHandler(c,null)}catch{}})}},[i,s])},o2="https://vrs-blackbox.ddns.net/listen/vrs/radio.mp3",i2="https://vivaradiostar.lovable.app/cast-logo.jpg",ys=()=>window.cast,Xp=()=>window.chrome,s2=e=>{const[t,n]=f.useState(!1),[r,o]=f.useState(!1),[i,s]=f.useState(""),a=f.useRef(null);f.useEffect(()=>{var S;const c=navigator.userAgent||"";if(/wv|WebView/i.test(c)||/; wv\)/.test(c)||!!window.Capacitor||!!window.median||!!window.gonative)return;const p=()=>{var v,y;const m=(v=ys())==null?void 0:v.framework,x=(y=Xp())==null?void 0:y.cast;if(!m||!x)return;const g=m.CastContext.getInstance();g.setOptions({receiverApplicationId:x.media.DEFAULT_MEDIA_RECEIVER_APP_ID,autoJoinPolicy:x.AutoJoinPolicy.ORIGIN_SCOPED}),o(!0),g.addEventListener(m.CastContextEventType.SESSION_STATE_CHANGED,b=>{const E=g.getCurrentSession();b.sessionState===m.SessionState.SESSION_STARTED||b.sessionState===m.SessionState.SESSION_RESUMED?(a.current=E,n(!0),s((E==null?void 0:E.getCastDevice().friendlyName)||""),l(E)):b.sessionState===m.SessionState.SESSION_ENDED&&(a.current=null,n(!1),s(""))})};(S=ys())!=null&&S.framework?p():window.__onGCastApiAvailable=m=>{m&&p()}},[]);const l=f.useCallback(c=>{var x;if(!c)return;const h=(x=Xp())==null?void 0:x.cast;if(!h)return;const p=new h.media.MediaInfo(o2,"audio/mpeg");p.streamType=h.media.StreamType.LIVE;const S=new h.media.MusicTrackMediaMetadata;S.title="Viva RadioStar",S.artist="Live Stream",S.albumName="Viva RadioStar",S.images=[new h.Image(i2)],p.metadata=S;const m=new h.media.LoadRequest(p);m.autoplay=!0,c.loadMedia(m).then(()=>console.log("Cast: Media loaded successfully"),g=>console.error("Cast: Load media error",g))},[]),u=f.useCallback(()=>{var h;const c=(h=ys())==null?void 0:h.framework;c&&c.CastContext.getInstance().requestSession().catch(p=>{p!=="cancel"&&console.error("Cast: Session request error",p)})},[]),d=f.useCallback(()=>{var h;const c=(h=ys())==null?void 0:h.framework;c&&(c.CastContext.getInstance().endCurrentSession(!0),n(!1),s(""))},[]);return{isCasting:t,isAvailable:r,deviceName:i,startCasting:u,stopCasting:d}},a2=e=>{const[t,n]=f.useState(!1),[r,o]=f.useState(!1);f.useEffect(()=>{if(!e||!("webkitShowPlaybackTargetPicker"in e||"remote"in e&&"watchAvailability"in e.remote))return;if("remote"in e){const u=e.remote;u.watchAvailability(p=>{n(p)}).catch(()=>{n(!0)});const d=()=>o(!1),c=()=>o(!0),h=()=>o(!1);return u.addEventListener("connecting",d),u.addEventListener("connect",c),u.addEventListener("disconnect",h),()=>{u.cancelWatchAvailability().catch(()=>{}),u.removeEventListener("connecting",d),u.removeEventListener("connect",c),u.removeEventListener("disconnect",h)}}n(!0);const a=e,l=()=>{const u=a.webkitCurrentPlaybackTargetIsWireless;o(!!u)};return a.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",l),()=>{a.removeEventListener("webkitcurrentplaybacktargetiswirelesschanged",l)}},[e]);const i=f.useCallback(()=>
231{if(e){if("remote"in e){e.remote.prompt().catch(s=>{s.name!=="NotAllowedError"&&console.error("AirPlay prompt error:",s)});return}"webkitShowPlaybackTargetPicker"in e&&e.webkitShowPlaybackTargetPicker()}},[e]);return{isAvailable:t,isActive:r,showPicker:i}},l2=$k.url,u2=()=>{const{isPlaying:e,isLoading:t,volume:n,isMuted:r,analyser:o,audioElement:i,togglePlay:s,setVolume:a,toggleMute:l}=O0(),u=j0(e),{isCasting:d,isAvailable:c,deviceName:h,startCasting:p,stopCasting:S}=s2(),m=a2(i);return M0({title:u.title,artist:u.artist,coverArt:u.coverArt,isPlaying:e,onPlay:s,onPause:s,play:s,pause:s}),w.jsxs("div",{className:"min-h-screen flex flex-col items-center justify-start p-4 pt-20 md:pt-8 md:justify-center relative overflow-hidden",children:[w.jsx("div",{className:"absolute inset-0 -z-10 transition-opacity duration-700",style:{background:"var(--gradient-hero)",opacity:e?1:.6}}),w.jsx("div",{className:"absolute inset-0 -z-10 transition-opacity duration-700",style:{background:"var(--gradient-glow)",opacity:e?1:.4}}),w.jsx("div",{className:`absolute top-10 left-10 w-40 h-40 rounded-full bg-secondary/15 blur-xl transition-opacity duration-700 ${e?"opacity-80":"opacity-30"}`}),w.jsx("div",{className:`absolute bottom-20 right-10 w-48 h-48 rounded-full bg-primary/15 blur-xl transition-opacity duration-700 ${e?"opacity-80":"opacity-30"}`}),w.jsx("div",{className:`absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-72 h-72 rounded-full bg-primary/10 blur-2xl transition-opacity duration-700 ${e?"opacity-70":"opacity-0"}`}),w.jsxs("main",{className:"flex flex-col items-center gap-8 md:gap-10 w-full max-w-lg",children:[w.jsxs("header",{className:"flex flex-col items-center gap-4 w-full",children:[w.jsxs("div",{className:"relative flex items-center justify-center w-full",children:[w.jsxs("a",{href:"https://www.produzionidalbasso.com/project/viva-radio-star/",target:"_blank",rel:"noopener noreferrer",className:"absolute left-2 md:left-[-60px] flex flex-col items-center gap-1.5 text-muted-foreground/70 hover:text-primary transition-colors group",children:[w.jsx(ES,{className:"w-8 h-8 animate-pulse group-hover:fill-primary transition-all"}),w.jsx("span",{className:"text-sm font-bold",children:"DONATE"})]}),w.jsx("a",{href:"https://www.vivaradiostar.it",target:"_blank",rel:"noopener noreferrer",className:"flex items-center justify-center",children:w.jsx("img",{src:l2,alt:"Viva RadioStar Logo",className:"w-40 h-40 md:w-52 md:h-52 object-contain hover:scale-105 transition-transform"})}),w.jsx("a",{href:"https://www.facebook.com/share/1BxxaVKhvM/",target:"_blank",rel:"noopener noreferrer",className:"absolute right-4 md:right-[-40px] text-muted-foreground/70 hover:text-primary transition-colors",children:w.jsx(bS,{className:"w-8 h-8"})})]}),w.jsx("p",{className:"text-white/60 text-xs text-center font-medium tracking-wide",children:"Clicca il logo VRS per scoprire di più su Viva RadioStar"}),w.jsxs("div",{className:`flex flex-col items-center gap-3 text-center transition-all duration-500 ${e?"animate-neon-shift":"text-muted-foreground"}`,children:[w.jsxs("p",{className:"text-lg md:text-xl font-bold leading-tight max-w-[280px] md:max-w-md",children:["La radio che ti porta",w.jsx("br",{}),"negli anni d'oro della Musica"]}),w.jsx(PS,{className:"w-8 h-8 md:w-10 md:h-10 text-primary/80 animate-pulse"})]})]}),w.jsxs("div",{className:"relative",children:[w.jsx(ZR,{isPlaying:e,coverArt:u.coverArt,duration:u.duration,elapsed:u.elapsed}),w.jsxs("div",{className:"absolute -bottom-6 left-1/2 -translate-x-1/2 w-full max-w-[320px] px-4 flex items-center justify-between pointer-events-none",children:[w.jsx("div",{className:"pointer-events-auto -ml-2",children:w.jsx(t2,{isAvailable:c,isCasting:d,deviceName:h,onCast:p,onStop:S})}),w.jsx("div",{className:"pointer-events-auto -mr-2",children:w.jsx(n2,{isAvailable:m.isAvailable,isActive:m.isActive,onPress:m.showPicker})})]})]}),w.jsx("div",{className:"mt-4 flex items-center gap-6",children:w.jsx(cT,{isPlaying:e,isLoading:t,onClick:s})}),w.jsx(e2,{analyser:o,isPlaying:e}),w.jsx(JT,{artist:u.artist,title:u.title,album:u.album,year:u.year,isPlaying:e,nextArtist:u.nextArtist,nextTitle:u.nextTitle,nextCoverArt:u.nextCoverArt,songHistory:u.songHistory}),w.jsx("div",{className:"mb-6 flex flex-col items-center gap-3",children:w.jsx(_T,{volume:n,onVolumeChange:a,onMuteToggle:l,isMuted:r})})]}),w.jsx("footer",{className:"w-full pb-6 px-4 text-center flex flex-col items-center mt-auto",children:w.jsxs("div",{className:"text-[10px] text-muted-foreground
231/60 text-center space-y-1",children:[w.jsx("p",{children:"Nr. Licenza S.I.A.E. : 202600000005"}),w.jsx("p",{children:"Nr. Licenza SCF : 3/5/26"}),w.jsx("p",{className:"pt-1",children:"Streaming live • Powered by VRS"})]})})]})},c2="modulepreload",d2=function(e,t){return new URL(e,t).href},qp={},f2=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.allSettled(n.map(u=>{if(u=d2(u,r),u in qp)return;qp[u]=!0;const d=u.endsWith(".css"),c=d?'[rel="stylesheet"]':"";if(!!r)for(let S=s.length-1;S>=0;S--){const m=s[S];if(m.href===u&&(!d||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${u}"]${c}`))return;const p=document.createElement("link");if(p.rel=d?"stylesheet":c2,d||(p.as="script"),p.crossOrigin="",p.href=u,l&&p.setAttribute("nonce",l),document.head.appendChild(p),d)return new Promise((S,m)=>{p.addEventListener("load",S),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},Zp=No("ScreenOrientation",{web:()=>f2(()=>import("./web-rPQEk8iv.js"),[],import.meta.url).then(e=>new e.ScreenOrientationWeb)}),p2=""+new URL("vrs-logo-BH9mBq6q.jpg",import.meta.url).href,h2=()=>{const{isPlaying:e,isLoading:t,isMuted:n,togglePlay:r,toggleMute:o}=O0(),i=j0(e);return f.useEffect(()=>((async()=>{try{await Zp.lock({orientation:"landscape"})}catch(a){console.error("Could not lock orientation:",a)}})(),()=>{Zp.unlock().catch(a=>console.error("Could not unlock orientation:",a))}),[]),M0({title:i.title,artist:i.artist,coverArt:i.coverArt,isPlaying:e,onPlay:r,onPause:r,play:r,pause:r}),w.jsx("div",{className:"w-screen h-screen bg-black flex items-center justify-center overflow-hidden",style:{fontFamily:"Arial, sans-serif"},children:w.jsxs("div",{className:"relative bg-black text-white flex items-stretch",style:{width:800,height:480},children:[w.jsxs("div",{className:"w-[260px] flex flex-col items-center justify-center gap-3 border-r border-white/10 px-4",children:[w.jsxs("div",{className:"relative w-[180px] h-[180px] rounded-xl overflow-hidden bg-white/5 shadow-lg",children:[w.jsx("img",{src:p2,alt:"Viva RadioStar",className:"absolute inset-0 w-full h-full object-contain"}),i.coverArt&&w.jsx("img",{src:i.coverArt,alt:i.title||"Cover",className:"absolute inset-0 w-full h-full object-cover",onError:s=>{s.currentTarget.style.display="none"}})]}),w.jsxs("div",{className:"text-center",children:[w.jsx("div",{className:"text-[11px] uppercase tracking-[0.3em] text-red-500 font-bold",children:"On Air"}),w.jsx("div",{className:"text-xl font-black leading-tight mt-1",children:"Viva RadioStar"})]})]}),w.jsxs("div",{className:"flex-1 flex flex-col items-center justify-center px-6 gap-4 min-w-0",children:[w.jsxs("div",{className:"w-full text-center min-w-0",children:[w.jsx("div",{className:"text-4xl font-black leading-[1.1] line-clamp-2",title:i.title,children:i.title||"Live Stream"}),w.jsx("div",{className:"text-2xl font-semibold text-white/70 mt-1 line-clamp-2",title:i.artist,children:i.artist||"Viva RadioStar"})]}),w.jsx("button",{onClick:r,"aria-label":e?"Pause":"Play",className:"w-[180px] h-[180px] rounded-full bg-red-600 hover:bg-red-500 active:bg-red-700 flex items-center justify-center shadow-[0_0_40px_rgba(239,68,68,0.55)] transition-colors focus:outline-none focus:ring-4 focus:ring-red-300",children:t?w.jsx(Zv,{className:"w-24 h-24 animate-spin text-white"}):e?w.jsx(Jv,{className:"w-24 h-24 text-white",fill:"white"}):w.jsx(eg,{className:"w-24 h-24 text-white ml-2",fill:"white"})})]}),w.jsxs("div",{className:"w-[120px] flex flex-col items-center justify-center border-l border-white/10",children:[w.jsx("button",{onClick:o,"aria-label":n?"Unmute":"Mute",className:"w-[96px] h-[96px] rounded-full bg-white/10 hover:bg-white/20 active:bg-white/30 flex items-center justify-center transition-colors focus:outline-none focus:ring-4 focus:ring-white/40",children:n?w.jsx(ng,{className:"w-12 h-12 text-white"}):w.jsx(tg,{className:"w-12 h-12 text-white"})}),w.jsx("div",{className:"mt-3 text-sm font-bold uppercase tracking-widest text-white/70",children:n?"Muted":"Sound"})]})]})})},m2=()=>{const e=qn();return f.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),w.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:w.jsxs("div",{className:"text-center",children:[w.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),w.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),w.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},v2=new XC,g2=()=>w.jsx(ZC,{client:v2,children:w.jsxs(kC,{children:[w.jsx(lb,{}),w.jsx(zb,{}),w.jsx(xk,{children:w.jsxs(XP,{children:[w.jsx(Ms,{path:"/",element:w.jsx(u2,{})}),w.jsx(Ms,{path:"/carplay",element:w.jsx(h2,{})}),w.jsx(Ms,{path:"*",element:w.jsx(m2,{})})]})})]})});bv(document.getElementById("root")).render(w.jsx(g2,{}));export{Rd as W};

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.