vendor: 5,134 bytes, line 1
1import{s as $t,e as af,a as iv,b as Tn,d as ai,i as sf,c as Fy,f as Tt,g as At,h as Nc,j as qn,k as pb,l as hb,m as yd,n as mb,o as gd,p as vb,q as yb,r as gb,t as wb,u as Oc,v as sv,w as xb,x as jy,y as zy,z as lf,A as uf,B as bb,C as Cb,D as so,E as By}from"./vendor-date-en1IyhsK.js";function kb(e,n){for(var r=0;r<n.length;r++){const a=n[r];if(typeof a!="string"&&!Array.isArray(a)){for(const i in a)if(i!=="default"&&!(i in e)){const l=Object.getOwnPropertyDescriptor(a,i);l&&Object.defineProperty(e,i,l.get?l:{enumerable:!0,get:()=>a[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var G3=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Uy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Dc={exports:{}},qa={},Ic={exports:{}},_e={};var lv;function Sb(){if(lv)return _e;lv=1;var e=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),d=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.iterator;function w(k){return k===null||typeof k!="object"?null:(k=g&&k[g]||k["@@iterator"],typeof k=="function"?k:null)}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,x={};function C(k,T,j){this.props=k,this.context=T,this.refs=x,this.updater=j||b}C.prototype.isReactComponent={},C.prototype.setState=function(k,T){if(typeof k!="object"&&typeof k!="function"&&k!=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,k,T,"setState")},C.prototype.forceUpdate=function(k){this.updater.enqueueForceUpdate(this,k,"forceUpdate")};function M(){}M.prototype=C.prototype;function R(k,T,j){this.props=k,this.context=T,this.refs=x,this.updater=j||b}var O=R.prototype=new M;O.constructor=R,S(O,C.prototype),O.isPureReactComponent=!0;var L=Array.isArray,$=Object.prototype.hasOwnProperty,Q={current:null},U={key:!0,ref:!0,__self:!0,__source:!0};function Y(k,T,j){var G,V={},q=null,z=null;if(T!=null)for(G in T.ref!==void 0&&(z=T.ref),T.key!==void 0&&(q=""+T.key),T)$.call(T,G)&&!U.hasOwnProperty(G)&&(V[G]=T[G]);var Z=arguments.length-2;if(Z===1)V.children=j;else if(1<Z){for(var se=Array(Z),ue=0;ue<Z;ue++)se[ue]=arguments[ue+2];V.children=se}if(k&&k.defaultProps)for(G in Z=k.defaultProps,Z)V[G]===void 0&&(V[G]=Z[G]);return{$$typeof:e,type:k,key:q,ref:z,props:V,_owner:Q.current}}function ie(k,T){return{$$typeof:e,type:k.type,key:T,ref:k.ref,props:k.props,_owner:k._owner}}function le(k){return typeof k=="object"&&k!==null&&k.$$typeof===e}function he(k){var T={"=":"=0",":":"=2"};return"$"+k.replace(/[=:]/g,function(j){return T[j]})}var ae=/\/+/g;function me(k,T){return typeof k=="object"&&k!==null&&k.key!=null?he(""+k.key):T.toString(36)}function de(k,T,j,G,V){var q=typeof k;(q==="undefined"||q==="boolean")&&(k=null);var z=!1;if(k===null)z=!0;else switch(q){case"string":case"number":z=!0;break;case"object":switch(k.$$typeof){case e:case n:z=!0}}if(z)return z=k,V=V(z),k=G===""?"."+me(z,0):G,L(V)?(j="",k!=null&&(j=k.replace(ae,"$&/")+"/"),de(V,T,j,"",function(ue){return ue})):V!=null&&(le(V)&&(V=ie(V,j+(!V.key||z&&z.key===V.key?"":(""+V.key).replace(ae,"$&/")+"/")+k)),T.push(V)),1;if(z=0,G=G===""?".":G+":",L(k))for(var Z=0;Z<k.length;Z++){q=k[Z];var se=G+me(q,Z);z+=de(q,T,j,se,V)}else if(se=w(k),typeof se=="function")for(k=se.call(k),Z=0;!(q=k.next()).done;)q=q.value,se=G+me(q,Z++),z+=de(q,T,j,se,V);else if(q==="object")throw T=String(k),Error("Objects are not valid as a React child (found: "+(T==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":T)+"). If you meant to render a collection of children, use an array instead.");return z}function pe(k,T,j){if(k==null)return k;var G=[],V=0;return de(k,G,"","",function(q){return T.call(j,q,V++)}),G}function re(k){if(k._status===-1){var T=k._result;T=T(),T.then(function(j){(k._status===0||k._status===-1)&&(k._status=1,k._result=j)},function(j){(k._status===0||k._status===-1)&&(k._status=2,k._result=j)}),k._status===-1&&(k._status=0,k._result=T)}if(k._status===1)return k._result.default;throw k._result}var X={current:null},D={transition:null},W={ReactCurrentDispatcher:X,ReactCurrentBatchConfig:D,ReactCurrentOwner:Q};function N(){throw Error("act(...) is not supported in production builds of React.")}return _e.Children={map:pe,forEach:function(k,T,j){pe(k,function(){T.apply(this,arguments)},j)},count:function(k){var T=0;return pe(k,function(){T++}),T},toArray:function(k){return pe(k,function(T){return T})||[]},only:function(k){if(!le(k))throw Error("React.Children.only expected to receive a single React element child.");return k}},_e.Component=C,_e.Fragment=r,_e.Profiler=i,_e.PureComponent=R,_e.StrictMode=a,_e.Suspense=p,_e.__SECRET_INT
vendor: 2,297 bytes, line 1
1ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=W,_e.act=N,_e.cloneElement=function(k,T,j){if(k==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+k+".");var G=S({},k.props),V=k.key,q=k.ref,z=k._owner;if(T!=null){if(T.ref!==void 0&&(q=T.ref,z=Q.current),T.key!==void 0&&(V=""+T.key),k.type&&k.type.defaultProps)var Z=k.type.defaultProps;for(se in T)$.call(T,se)&&!U.hasOwnProperty(se)&&(G[se]=T[se]===void 0&&Z!==void 0?Z[se]:T[se])}var se=arguments.length-2;if(se===1)G.children=j;else if(1<se){Z=Array(se);for(var ue=0;ue<se;ue++)Z[ue]=arguments[ue+2];G.children=Z}return{$$typeof:e,type:k.type,key:V,ref:q,props:G,_owner:z}},_e.createContext=function(k){return k={$$typeof:u,_currentValue:k,_currentValue2:k,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},k.Provider={$$typeof:l,_context:k},k.Consumer=k},_e.createElement=Y,_e.createFactory=function(k){var T=Y.bind(null,k);return T.type=k,T},_e.createRef=function(){return{current:null}},_e.forwardRef=function(k){return{$$typeof:d,render:k}},_e.isValidElement=le,_e.lazy=function(k){return{$$typeof:v,_payload:{_status:-1,_result:k},_init:re}},_e.memo=function(k,T){return{$$typeof:m,type:k,compare:T===void 0?null:T}},_e.startTransition=function(k){var T=D.transition;D.transition={};try{k()}finally{D.transition=T}},_e.unstable_act=N,_e.useCallback=function(k,T){return X.current.useCallback(k,T)},_e.useContext=function(k){return X.current.useContext(k)},_e.useDebugValue=function(){},_e.useDeferredValue=function(k){return X.current.useDeferredValue(k)},_e.useEffect=function(k,T){return X.current.useEffect(k,T)},_e.useId=function(){return X.current.useId()},_e.useImperativeHandle=function(k,T,j){return X.current.useImperativeHandle(k,T,j)},_e.useInsertionEffect=function(k,T){return X.current.useInsertionEffect(k,T)},_e.useLayoutEffect=function(k,T){return X.current.useLayoutEffect(k,T)},_e.useMemo=function(k,T){return X.current.useMemo(k,T)},_e.useReducer=function(k,T,j){return X.current.useReducer(k,T,j)},_e.useRef=function(k){return X.current.useRef(k)},_e.useState=function(k){return X.current.useState(k)},_e.useSyncExternalStore=function(k,T,j){return X.current.useSyncExternalStore(k,T,j)},_e.useTransition=function(){return X.current.useTransition()}
vendor: 4,280 bytes, line 1
1,_e.version="18.3.1",_e}var uv;function cf(){return uv||(uv=1,Ic.exports=Sb()),Ic.exports}var cv;function Eb(){if(cv)return qa;cv=1;var e=cf(),n=Symbol.for("react.element"),r=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(d,p,m){var v,g={},w=null,b=null;m!==void 0&&(w=""+m),p.key!==void 0&&(w=""+p.key),p.ref!==void 0&&(b=p.ref);for(v in p)a.call(p,v)&&!l.hasOwnProperty(v)&&(g[v]=p[v]);if(d&&d.defaultProps)for(v in p=d.defaultProps,p)g[v]===void 0&&(g[v]=p[v]);return{$$typeof:n,type:d,key:w,ref:b,props:g,_owner:i.current}}return qa.Fragment=r,qa.jsx=u,qa.jsxs=u,qa}var dv;function Pb(){return dv||(dv=1,Dc.exports=Eb()),Dc.exports}var P=Pb(),Ws={},Ac={exports:{}},Rt={},Lc={exports:{}},$c={};var fv;function Mb(){return fv||(fv=1,(function(e){function n(D,W){var N=D.length;D.push(W);e:for(;0<N;){var k=N-1>>>1,T=D[k];if(0<i(T,W))D[k]=W,D[N]=T,N=k;else break e}}function r(D){return D.length===0?null:D[0]}function a(D){if(D.length===0)return null;var W=D[0],N=D.pop();if(N!==W){D[0]=N;e:for(var k=0,T=D.length,j=T>>>1;k<j;){var G=2*(k+1)-1,V=D[G],q=G+1,z=D[q];if(0>i(V,N))q<T&&0>i(z,V)?(D[k]=z,D[q]=N,k=q):(D[k]=V,D[G]=N,k=G);else if(q<T&&0>i(z,N))D[k]=z,D[q]=N,k=q;else break e}}return W}function i(D,W){var N=D.sortIndex-W.sortIndex;return N!==0?N:D.id-W.id}if(typeof performance=="object"&&typeof performance.now=="function"){var l=performance;e.unstable_now=function(){return l.now()}}else{var u=Date,d=u.now();e.unstable_now=function(){return u.now()-d}}var p=[],m=[],v=1,g=null,w=3,b=!1,S=!1,x=!1,C=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,R=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function O(D){for(var W=r(m);W!==null;){if(W.callback===null)a(m);else if(W.startTime<=D)a(m),W.sortIndex=W.expirationTime,n(p,W);else break;W=r(m)}}function L(D){if(x=!1,O(D),!S)if(r(p)!==null)S=!0,re($);else{var W=r(m);W!==null&&X(L,W.startTime-D)}}function $(D,W){S=!1,x&&(x=!1,M(Y),Y=-1),b=!0;var N=w;try{for(O(W),g=r(p);g!==null&&(!(g.expirationTime>W)||D&&!he());){var k=g.callback;if(typeof k=="function"){g.callback=null,w=g.priorityLevel;var T=k(g.expirationTime<=W);W=e.unstable_now(),typeof T=="function"?g.callback=T:g===r(p)&&a(p),O(W)}else a(p);g=r(p)}if(g!==null)var j=!0;else{var G=r(m);G!==null&&X(L,G.startTime-W),j=!1}return j}finally{g=null,w=N,b=!1}}var Q=!1,U=null,Y=-1,ie=5,le=-1;function he(){return!(e.unstable_now()-le<ie)}function ae(){if(U!==null){var D=e.unstable_now();le=D;var W=!0;try{W=U(!0,D)}finally{W?me():(Q=!1,U=null)}}else Q=!1}var me;if(typeof R=="function")me=function(){R(ae)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,pe=de.port2;de.port1.onmessage=ae,me=function(){pe.postMessage(null)}}else me=function(){C(ae,0)};function re(D){U=D,Q||(Q=!0,me())}function X(D,W){Y=C(function(){D(e.unstable_now())},W)}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(D){D.callback=null},e.unstable_continueExecution=function(){S||b||(S=!0,re($))},e.unstable_forceFrameRate=function(D){0>D||125<D||(ie=0<D?Math.floor(1e3/D):5)},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_getFirstCallbackNode=function(){return r(p)},e.unstable_next=function(D){switch(w){case 1:case 2:case 3:var W=3;break;default:W=w}var N=w;w=W;try{return D()}finally{w=N}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(D,W){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var N=w;w=D;try{return W()}finally{w=N}},e.unstable_scheduleCallback=function(D,W,N){var k=e.unstable_now();switch(typeof N=="object"&&N!==null?(N=N.delay,N=typeof N=="number"&&0<N?k+N:k):N=k,D){case 1:var T=-1;break;case 2:T=250;break;case 5:T=1073741823;break;case 4:T=1e4;break;default:T=5e3}return T=N+T,D={id:v++,callback:W,priorityLevel:D,startTime:N,expirationTime:T,s
vendor: 4,333 bytes, line 1
1ortIndex:-1},N>k?(D.sortIndex=N,n(m,D),r(p)===null&&D===r(m)&&(x?(M(Y),Y=-1):x=!0,X(L,N-k))):(D.sortIndex=T,n(p,D),S||b||(S=!0,re($))),D},e.unstable_shouldYield=he,e.unstable_wrapCallback=function(D){var W=w;return function(){var N=w;w=W;try{return D.apply(this,arguments)}finally{w=N}}}})($c)),$c}var pv;function Rb(){return pv||(pv=1,Lc.exports=Mb()),Lc.exports}var hv;function Tb(){if(hv)return Rt;hv=1;var e=cf(),n=Rb();function r(t){for(var o="https://reactjs.org/docs/error-decoder.html?invariant="+t,s=1;s<arguments.length;s++)o+="&args[]="+encodeURIComponent(arguments[s]);return"Minified React error #"+t+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,i={};function l(t,o){u(t,o),u(t+"Capture",o)}function u(t,o){for(i[t]=o,t=0;t<o.length;t++)a.add(o[t])}var d=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,m=/^[: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]*$/,v={},g={};function w(t){return p.call(g,t)?!0:p.call(v,t)?!1:m.test(t)?g[t]=!0:(v[t]=!0,!1)}function b(t,o,s,c){if(s!==null&&s.type===0)return!1;switch(typeof o){case"function":case"symbol":return!0;case"boolean":return c?!1:s!==null?!s.acceptsBooleans:(t=t.toLowerCase().slice(0,5),t!=="data-"&&t!=="aria-");default:return!1}}function S(t,o,s,c){if(o===null||typeof o>"u"||b(t,o,s,c))return!0;if(c)return!1;if(s!==null)switch(s.type){case 3:return!o;case 4:return o===!1;case 5:return isNaN(o);case 6:return isNaN(o)||1>o}return!1}function x(t,o,s,c,h,y,E){this.acceptsBooleans=o===2||o===3||o===4,this.attributeName=c,this.attributeNamespace=h,this.mustUseProperty=s,this.propertyName=t,this.type=o,this.sanitizeURL=y,this.removeEmptyString=E}var C={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){C[t]=new x(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var o=t[0];C[o]=new x(o,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){C[t]=new x(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){C[t]=new x(t,2,!1,t,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(t){C[t]=new x(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){C[t]=new x(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){C[t]=new x(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){C[t]=new x(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){C[t]=new x(t,5,!1,t.toLowerCase(),null,!1,!1)});var M=/[\-:]([a-z])/g;function R(t){return t[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
1-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(t){var o=t.replace(M,R);C[o]=new x(o,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var o=t.replace(M,R);C[o]=new x(o,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var o=t.replace(M,R);C[o]=new x(o,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){C[t]=new x(t,1,!1,t.toLowerCase(),null,!1,!1)}),C.xlinkHref=new x("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){C[t]=new x(t,1,!1,t.toLowerCase(),null,!0,!0)});function O(t,o,s,c){var h=C.hasOwnProperty(o)?C[o]:null;(h!==null?h.type!==0:c||!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N")&&(S(o,s,h,c)&&(s=null),c||h===null?w(o)&&(s===null?t.removeAttribute(o):t.setAttribute(o,""+s)):h.mustUseProperty?t[h.propertyName]=s===null?h.type===3?!1:"":s:(o=h.attributeName,c=h.attributeNamespace,s===null?t.removeAttribute(o):(h=h.type,s=h===3||h===4&&s===!0?"":""+s,c?t.setAttributeNS(c,o,s):t.setAttribute(o,s))))}var L=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,$=Symbol.for("react.element"),Q=Symbol.for("react.portal"),U=Symbol.for("react.fragment"),Y=Symbol.for("react.strict_mode"),ie=Symbol.for("react.profiler"),le=Symbol.for("react.provider"),he=Symbol.for("react.context"),ae=Symbol.for("react.forward_ref"),me=Symbol.for("react.suspense"),de=Symbol.for("react.suspense_list"),pe=Symbol.for("react.memo"),re=Symbol.for("react.lazy"),X=Symbol.for("react.offscreen"),D=Symbol.iterator;function W(t){return t===null||typeof t!="object"?null:(t=D&&t[D]||t["@@iterator"],typeof t=="function"?t:null)}var N=Object.assign,k;function T(t){if(k===void 0)try{throw Error()}catch(s){var o=s.stack.trim().match(/\n( *(at )?)/);k=o&&o[1]||""}return` 2`+k+t}var j=!1;function G(t,o){if(!t||j)return"";j=!0;var s=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(o)if(o=function(){throw Error()},Object.defineProperty(o.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(o,[])}catch(H){var c=H}Reflect.construct(t,[],o)}else{try{o.call()}catch(H){c=H}t.call(o.prototype)}else{try{throw Error()}catch(H){c=H}t()}}catch(H){if(H&&c&&typeof H.stack=="string"){for(var h=H.stack.split(` 3`),y=c.stack.split(` 4`),E=h.length-1,_=y.length-1;1<=E&&0<=_&&h[E]!==y[_];)_--;for(;1<=E&&0<=_;E--,_--)if(h[E]!==y[_]){if(E!==1||_!==1)do if(E--,_--,0>_||h[E]!==y[_]){var I=` 5`+h[E].replace(" at new "," at ");return t.displayName&&I.includes("<anonymous>")&&(I=I.replace("<anonymous>",t.displayName)),I}while(1<=E&&0<=_);break}}}finally{j=!1,Error.prepareStackTrace=s}return(t=t?t.displayName||t.name:"")?T(t):""}function V(t){switch(t.tag){case 5:return T(t.type);case 16:return T("Lazy");case 13:return T("Suspense");case 19:return T("SuspenseList");case 0:case 2:case 15:return t=G(t.type,!1),t;case 11:return t=G(t.type.render,!1),t;case 1:return t=G(t.type,!0),t;default:return""}}function q(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case U:return"Fragment";case Q:return"Portal";case ie:return"Profiler";case Y:return"StrictMode";case me:return"Suspense";case de:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case he:return(t.displayName||"Context")+".Consumer";case le:return(t._context.displayName||"Context")+".Provider";case ae:var o=t.render;return t=t.displayName,t||(t=o.displayName||o.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case pe:return o=t.displayName||null,o!==null?o:q(t.type)||"Memo";case re:o=t._payload,t=t._init;try{return q(t(o))}catch{}}return null}function z(t){var o=t.type;switch(t.tag){case 24:return"Cache";case 9:return(o.displayName||"Context")+".Consumer";case 10:return(o._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=o.render,t=t.displayName||t.name||"",o.displayName||(t!==""?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return o;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return q(o);case 8:return o===Y?"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 o=="function")return o.displayName||o.name||null;
vendor: 38,267 bytes, lines 5-6
5if(typeof o=="string")return o}return null}function Z(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":return t;case"object":return t;default:return""}}function se(t){var o=t.type;return(t=t.nodeName)&&t.toLowerCase()==="input"&&(o==="checkbox"||o==="radio")}function ue(t){var o=se(t)?"checked":"value",s=Object.getOwnPropertyDescriptor(t.constructor.prototype,o),c=""+t[o];if(!t.hasOwnProperty(o)&&typeof s<"u"&&typeof s.get=="function"&&typeof s.set=="function"){var h=s.get,y=s.set;return Object.defineProperty(t,o,{configurable:!0,get:function(){return h.call(this)},set:function(E){c=""+E,y.call(this,E)}}),Object.defineProperty(t,o,{enumerable:s.enumerable}),{getValue:function(){return c},setValue:function(E){c=""+E},stopTracking:function(){t._valueTracker=null,delete t[o]}}}}function xe(t){t._valueTracker||(t._valueTracker=ue(t))}function ke(t){if(!t)return!1;var o=t._valueTracker;if(!o)return!0;var s=o.getValue(),c="";return t&&(c=se(t)?t.checked?"true":"false":t.value),t=c,t!==s?(o.setValue(t),!0):!1}function Ne(t){if(t=t||(typeof document<"u"?document:void 0),typeof t>"u")return null;try{return t.activeElement||t.body}catch{return t.body}}function Se(t,o){var s=o.checked;return N({},o,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??t._wrapperState.initialChecked})}function We(t,o){var s=o.defaultValue==null?"":o.defaultValue,c=o.checked!=null?o.checked:o.defaultChecked;s=Z(o.value!=null?o.value:s),t._wrapperState={initialChecked:c,initialValue:s,controlled:o.type==="checkbox"||o.type==="radio"?o.checked!=null:o.value!=null}}function ze(t,o){o=o.checked,o!=null&&O(t,"checked",o,!1)}function Ze(t,o){ze(t,o);var s=Z(o.value),c=o.type;if(s!=null)c==="number"?(s===0&&t.value===""||t.value!=s)&&(t.value=""+s):t.value!==""+s&&(t.value=""+s);else if(c==="submit"||c==="reset"){t.removeAttribute("value");return}o.hasOwnProperty("value")?Ve(t,o.type,s):o.hasOwnProperty("defaultValue")&&Ve(t,o.type,Z(o.defaultValue)),o.checked==null&&o.defaultChecked!=null&&(t.defaultChecked=!!o.defaultChecked)}function Ct(t,o,s){if(o.hasOwnProperty("value")||o.hasOwnProperty("defaultValue")){var c=o.type;if(!(c!=="submit"&&c!=="reset"||o.value!==void 0&&o.value!==null))return;o=""+t._wrapperState.initialValue,s||o===t.value||(t.value=o),t.defaultValue=o}s=t.name,s!==""&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,s!==""&&(t.name=s)}function Ve(t,o,s){(o!=="number"||Ne(t.ownerDocument)!==t)&&(s==null?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+s&&(t.defaultValue=""+s))}var qe=Array.isArray;function kn(t,o,s,c){if(t=t.options,o){o={};for(var h=0;h<s.length;h++)o["$"+s[h]]=!0;for(s=0;s<t.length;s++)h=o.hasOwnProperty("$"+t[s].value),t[s].selected!==h&&(t[s].selected=h),h&&c&&(t[s].defaultSelected=!0)}else{for(s=""+Z(s),o=null,h=0;h<t.length;h++){if(t[h].value===s){t[h].selected=!0,c&&(t[h].defaultSelected=!0);return}o!==null||t[h].disabled||(o=t[h])}o!==null&&(o.selected=!0)}}function Or(t,o){if(o.dangerouslySetInnerHTML!=null)throw Error(r(91));return N({},o,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function An(t,o){var s=o.value;if(s==null){if(s=o.children,o=o.defaultValue,s!=null){if(o!=null)throw Error(r(92));if(qe(s)){if(1<s.length)throw Error(r(93));s=s[0]}o=s}o==null&&(o=""),s=o}t._wrapperState={initialValue:Z(s)}}function Dr(t,o){var s=Z(o.value),c=Z(o.defaultValue);s!=null&&(s=""+s,s!==t.value&&(t.value=s),o.defaultValue==null&&t.defaultValue!==s&&(t.defaultValue=s)),c!=null&&(t.defaultValue=""+c)}function Ir(t){var o=t.textContent;o===t._wrapperState.initialValue&&o!==""&&o!==null&&(t.value=o)}function Ln(t){switch(t){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 Ut(t,o){return t==null||t==="http://www.w3.org/1999/xhtml"?Ln(o):t==="http://www.w3.org/2000/svg"&&o==="foreignObject"?"http://www.w3.org/1999/xhtml":t}var $n,Ht=(function(t){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(o,s,c,h){MSApp.execUnsafeLocalFunction(function(){return t(o,s,c,h)})}:t})(function(t,o){if(t.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in t)t.innerHTML=o;else{for($n=$n||document.createElement("div"),$n.innerHTML="<svg>"+o.valueOf().toString()+"</svg>",o=$n.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;o.firstChild;)t.appendChild(o.firstChild)}});function on(t,o){if(o){var s=t.firstChild;if(s&&s===t.lastChild&&s.nodeType===3){s.nodeValue=o;return}}t.textContent=o}var an={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},po=["Webkit","ms","Moz","O"];Object.keys(an).forEach(function(t){po.forEach(function(o){o=o+t.charAt(0).toUpperCase()+t.substring(1),an[o]=an[t]})});function Ar(t,o,s){return o==null||typeof o=="boolean"||o===""?"":s||typeof o!="number"||o===0||an.hasOwnProperty(t)&&an[t]?(""+o).trim():o+"px"}function Ai(t,o){t=t.style;for(var s in o)if(o.hasOwnProperty(s)){var c=s.indexOf("--")===0,h=Ar(s,o[s],c);s==="float"&&(s="cssFloat"),c?t.setProperty(s,h):t[s]=h}}var ca=N({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 Wt(t,o){if(o){if(ca[t]&&(o.children!=null||o.dangerouslySetInnerHTML!=null))throw Error(r(137,t));if(o.dangerouslySetInnerHTML!=null){if(o.children!=null)throw Error(r(60));if(typeof o.dangerouslySetInnerHTML!="object"||!("__html"in o.dangerouslySetInnerHTML))throw Error(r(61))}if(o.style!=null&&typeof o.style!="object")throw Error(r(62))}}function da(t,o){if(t.indexOf("-")===-1)return typeof o.is=="string";switch(t){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 Me=null;function Le(t){return t=t.target||t.srcElement||window,t.correspondingUseElement&&(t=t.correspondingUseElement),t.nodeType===3?t.parentNode:t}var Ae=null,st=null,lt=null;function Lr(t){if(t=Da(t)){if(typeof Ae!="function")throw Error(r(280));var o=t.stateNode;o&&(o=as(o),Ae(t.stateNode,t.type,o))}}function Li(t){st?lt?lt.push(t):lt=[t]:st=t}function Ep(){if(st){var t=st,o=lt;if(lt=st=null,Lr(t),o)for(t=0;t<o.length;t++)Lr(o[t])}}function Pp(t,o){return t(o)}function Mp(){}var Ql=!1;function Rp(t,o,s){if(Ql)return t(o,s);Ql=!0;try{return Pp(t,o,s)}finally{Ql=!1,(st!==null||lt!==null)&&(Mp(),Ep())}}function fa(t,o){var s=t.stateNode;if(s===null)return null;var c=as(s);if(c===null)return null;s=c[o];e:switch(o){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(c=!c.disabled)||(t=t.type,c=!(t==="button"||t==="input"||t==="select"||t==="textarea")),t=!c;break e;default:t=!1}if(t)return null;if(s&&typeof s!="function")throw Error(r(231,o,typeof s));return s}var Yl=!1;if(d)try{var pa={};Object.defineProperty(pa,"passive",{get:function(){Yl=!0}}),window.addEventListener("test",pa,pa),window.removeEventListener("test",pa,pa)}catch{Yl=!1}function wx(t,o,s,c,h,y,E,_,I){var H=Array.prototype.slice.call(arguments,3);try{o.apply(s,H)}catch(ee){this.onError(ee)}}var ha=!1,$i=null,Fi=!1,Xl=null,xx={onError:function(t){ha=!0,$i=t}};function bx(t,o,s,c,h,y,E,_,I){ha=!1,$i=null,wx.apply(xx,arguments)}function Cx(t,o,s,c,h,y,E,_,I){if(bx.apply(this,arguments),ha){if(ha){var H=$i;ha=!1,$i=null}else throw Error(r(198));Fi||(Fi=!0,Xl=H)}}function $r(t){var o=t,s=t;if(t.alternate)for(;o.return;)o=o.return;else{t=o;do o=t,(o.flags&4098)!==0&&(s=o.return),t=o.return;while(t)}return o.tag===3?s:null}function Tp(t){if(t.tag===13){var o=t.memoizedState;if(o===null&&(t=t.alternate,t!==null&&(o=t.memoizedState)),o!==null)return o.dehydrated}return null}function _p(t){if($r(t)!==t)throw Error(r(188))}function kx(t){var o=t.alternate;if(!o){if(o=$r(t),o===null)throw Error(r(188));return o!==t?null:t}for(var s=t,c=o;;){var h=s.return;if(h===null)break;var y=h.alternate;if(y===null){if(c=h.return,c!==null){s=c;continue}break}if(h.child===y.child){for(y=h.child;y;){if(y===s)return _p(h),t;if(y===c)return _p(h),o;y=y.sibling}throw Error(r(188))}if(s.return!==c.return)s=h,c=y;else{for(var E=!1,_=h.child;_;){if(_===s){E=!0,s=h,c=y;break}if(_===c){E=!0,c=h,s=y;break}_=_.sibling}if(!E){for(_=y.child;_;){if(_===s){E=!0,s=y,c=h;break}if(_===c){E=!0,c=y,s=h;break}_=_.sibling}if(!E)throw Error(r(189))}}if(s.alternate!==c)throw Error(r(190))}if(s.tag!==3)throw Error(r(188));return s.stateNode.current===s?t:o}function Np(t){return t=kx(t),t!==null?Op(t):null}function Op(t){if(t.tag===5||t.tag===6)return t;for(t=t.child;t!==null;){var o=Op(t);if(o!==null)return o;t=t.sibling}return null}var Dp=n.unstable_scheduleCallback,Ip=n.unstable_cancelCallback,Sx=n.unstable_shouldYield,Ex=n.unstable_requestPaint,Je=n.unstable_now,Px=n.unstable_getCurrentPriorityLevel,Zl=n.unstable_ImmediatePriority,Ap=n.unstable_UserBlockingPriority,ji=n.unstable_NormalPriority,Mx=n.unstable_LowPriority,Lp=n.unstable_IdlePriority,zi=null,Sn=null;function Rx(t){if(Sn&&typeof Sn.onCommitFiberRoot=="function")try{Sn.onCommitFiberRoot(zi,t,void 0,(t.current.flags&128)===128)}catch{}}var sn=Math.clz32?Math.clz32:Nx,Tx=Math.log,_x=Math.LN2;function Nx(t){return t>>>=0,t===0?32:31-(Tx(t)/_x|0)|0}var Bi=64,Ui=4194304;function ma(t){switch(t&-t){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 t&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return t&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function Hi(t,o){var s=t.pendingLanes;if(s===0)return 0;var c=0,h=t.suspendedLanes,y=t.pingedLanes,E=s&268435455;if(E!==0){var _=E&~h;_!==0?c=ma(_):(y&=E,y!==0&&(c=ma(y)))}else E=s&~h,E!==0?c=ma(E):y!==0&&(c=ma(y));if(c===0)return 0;if(o!==0&&o!==c&&(o&h)===0&&(h=c&-c,y=o&-o,h>=y||h===16&&(y&4194240)!==0))return o;if((c&4)!==0&&(c|=s&16),o=t.entangledLanes,o!==0)for(t=t.entanglements,o&=c;0<o;)s=31-sn(o),h=1<<s,c|=t[s],o&=~h;return c}function Ox(t,o){switch(t){case 1:case 2:case 4:return o+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 o+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 Dx(t,o){for(var s=t.suspendedLanes,c=t.pingedLanes,h=t.expirationTimes,y=t.pendingLanes;0<y;){var E=31-sn(y),_=1<<E,I=h[E];I===-1?((_&s)===0||(_&c)!==0)&&(h[E]=Ox(_,o)):I<=o&&(t.expiredLanes|=_),y&=~_}}function Jl(t){return t=t.pendingLanes&-1073741825,t!==0?t:t&1073741824?1073741824:0}function $p(){var t=Bi;return Bi<<=1,(Bi&4194240)===0&&(Bi=64),t}function eu(t){for(var o=[],s=0;31>s;s++)o.push(t);return o}function va(t,o,s){t.pendingLanes|=o,o!==536870912&&(t.suspendedLanes=0,t.pingedLanes=0),t=t.eventTimes,o=31-sn(o),t[o]=s}function Ix(t,o){var s=t.pendingLanes&~o;t.pendingLanes=o,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=o,t.mutableReadLanes&=o,t.entangledLanes&=o,o=t.entanglements;var c=t.eventTimes;for(t=t.expirationTimes;0<s;){var h=31-sn(s),y=1<<h;o[h]=0,c[h]=-1,t[h]=-1,s&=~y}}function tu(t,o){var s=t.entangledLanes|=o;for(t=t.entanglements;s;){var c=31-sn(s),h=1<<c;h&o|t[c]&o&&(t[c]|=o),s&=~h}}var $e=0;function Fp(t){return t&=-t,1<t?4<t?(t&268435455)!==0?16:536870912:4:1}var jp,nu,zp,Bp,Up,ru=!1,Wi=[],Jn=null,er=null,tr=null,ya=new Map,ga=new Map,nr=[],Ax="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Hp(t,o){switch(t){case"focusin":case"focusout":Jn=null;break;case"dragenter":case"dragleave":er=null;break;case"mouseover":case"mouseout":tr=null;break;case"pointerover":case"pointerout":ya.delete(o.pointerId);break;case"gotpointercapture":case"lostpointercapture":ga.delete(o.pointerId)}}function wa(t,o,s,c,h,y){return t===null||t.nativeEvent!==y?(t={blockedOn:o,domEventName:s,eventSystemFlags:c,nativeEvent:y,targetContainers:[h]},o!==null&&(o=Da(o),o!==null&&nu(o)),t):(t.eventSystemFlags|=c,o=t.targetContainers,h!==null&&o.indexOf(h)===-1&&o.push(h),t)}function Lx(t,o,s,c,h){switch(o){case"focusin":return Jn=wa(Jn,t,o,s,c,h),!0;case"dragenter":return er=wa(er,t,o,s,c,h),!0;case"mouseover":return tr=wa(tr,t,o,s,c,h),!0;case"pointerover":var y=h.pointerId;return ya.set(y,wa(ya.get(y)||null,t,o,s,c,h)),!0;case"gotpointercapture":return y=h.pointerId,ga.set(y,wa(ga.get(y)||null,t,o,s,c,h)),!0}return!1}function Wp(t){var o=Fr(t.target);if(o!==null){var s=$r(o);if(s!==null){if(o=s.tag,o===13){if(o=Tp(s),o!==null){t.blockedOn=o,Up(t.priority,function(){zp(s)});return}}else if(o===3&&s.stateNode.current.memoizedState.isDehydrated){t.blockedOn=s.tag===3?s.stateNode.containerInfo:null;return}}}t.blockedOn=null}function Vi(t){if(t.blockedOn!==null)return!1;for(var o=t.targetContainers;0<o.length;){var s=au(t.domEventName,t.eventSystemFlags,o[0],t.nativeEvent);if(s===null){s=t.nativeEvent;var c=new s.constructor(s.type,s);Me=c,s.target.dispatchEvent(c),Me=null}else return o=Da(s),o!==null&&nu(o),t.blockedOn=s,!1;o.shift()}return!0}function Vp(t,o,s){Vi(t)&&s.delete(o)}function $x(){ru=!1,Jn!==null&&Vi(Jn)&&(Jn=null),er!==null&&Vi(er)&&(er=null),tr!==null&&Vi(tr)&&(tr=null),ya.forEach(Vp),ga.forEach(Vp)}function xa(t,o){t.blockedOn===o&&(t.blockedOn=null,ru||(ru=!0,n.unstable_scheduleCallback(n.unstable_NormalPriority,$x)))}function ba(t){function o(h){return xa(h,t)}if(0<Wi.length){xa(Wi[0],t);for(var s=1;s<Wi.length;s++){var c=Wi[s];c.blockedOn===t&&(c.blockedOn=null)}}for(Jn!==null&&xa(Jn,t),er!==null&&xa(er,t),tr!==null&&xa(tr,t),ya.forEach(o),ga.forEach(o),s=0;s<nr.length;s++)c=nr[s],c.blockedOn===t&&(c.blockedOn=null);for(;0<nr.length&&(s=nr[0],s.blockedOn===null);)Wp(s),s.blockedOn===null&&nr.shift()}var ho=L.ReactCurrentBatchConfig,Ki=!0;function Fx(t,o,s,c){var h=$e,y=ho.transition;ho.transition=null;try{$e=1,ou(t,o,s,c)}finally{$e=h,ho.transition=y}}function jx(t,o,s,c){var h=$e,y=ho.transition;ho.transition=null;try{$e=4,ou(t,o,s,c)}finally{$e=h,ho.transition=y}}function ou(t,o,s,c){if(Ki){var h=au(t,o,s,c);if(h===null)Cu(t,o,c,Gi,s),Hp(t,c);else if(Lx(h,t,o,s,c))c.stopPropagation();else if(Hp(t,c),o&4&&-1<Ax.indexOf(t)){for(;h!==null;){var y=Da(h);if(y!==null&&jp(y),y=au(t,o,s,c),y===null&&Cu(t,o,c,Gi,s),y===h)break;h=y}h!==null&&c.stopPropagation()}else Cu(t,o,c,null,s)}}var Gi=null;function au(t,o,s,c){if(Gi=null,t=Le(c),t=Fr(t),t!==null)if(o=$r(t),o===null)t=null;else if(s=o.tag,s===13){if(t=Tp(o),t!==null)return t;t=null}else if(s===3){if(o.stateNode.current.memoizedState.isDehydrated)return o.tag===3?o.stateNode.containerInfo:null;t=null}else o!==t&&(t=null);return Gi=t,null}function Kp(t){switch(t){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(Px()){case Zl:return 1;case Ap:return 4;case ji:case Mx:return 16;case Lp:return 536870912;default:return 16}default:return 16}}var rr=null,iu=null,qi=null;function Gp(){if(qi)return qi;var t,o=iu,s=o.length,c,h="value"in rr?rr.value:rr.textContent,y=h.length;for(t=0;t<s&&o[t]===h[t];t++);var E=s-t;for(c=1;c<=E&&o[s-c]===h[y-c];c++);return qi=h.slice(t,1<c?1-c:void 0)}function Qi(t){var o=t.keyCode;return"charCode"in t?(t=t.charCode,t===0&&o===13&&(t=13)):t=o,t===10&&(t=13),32<=t||t===13?t:0}function Yi(){return!0}function qp(){return!1}function _t(t){function o(s,c,h,y,E){this._reactName=s,this._targetInst=h,this.type=c,this.nativeEvent=y,this.target=E,this.currentTarget=null;for(var _ in t)t.hasOwnProperty(_)&&(s=t[_],this[_]=s?s(y):y[_]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?Yi:qp,this.isPropagationStopped=qp,this}return N(o.prototype,{preventDefault:function(){this.defaultPrevented=!0;var s=this.nativeEvent;s&&(s.preventDefault?s.preventDefault():typeof s.returnValue!="unknown"&&(s.returnValue=!1),this.isDefaultPrevented=Yi)},stopPropagation:function(){var s=this.nativeEvent;s&&(s.stopPropagation?s.stopPropagation():typeof s.cancelBubble!="unknown"&&(s.cancelBubble=!0),this.isPropagationStopped=Yi)},persist:function(){},isPersistent:Yi}),o}var mo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},su=_t(mo),Ca=N({},mo,{view:0,detail:0}),zx=_t(Ca),lu,uu,ka,Xi=N({},Ca,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:du,button:0,buttons:0,relatedTarget:function(t){return t.relatedTarget===void 0?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==ka&&(ka&&t.type==="mousemove"?(lu=t.screenX-ka.screenX,uu=t.screenY-ka.screenY):uu=lu=0,ka=t),lu)},movementY:function(t){return"movementY"in t?t.movementY:uu}}),Qp=_t(Xi),Bx=N({},Xi,{dataTransfer:0}),Ux=_t(Bx),Hx=N({},Ca,{relatedTarget:0}),cu=_t(Hx),Wx=N({},mo,{animationName:0,elapsedTime:0,pseudoElement:0}),Vx=_t(Wx),Kx=N({},mo,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),Gx=_t(Kx),qx=N({},mo,{data:0}),Yp=_t(qx),Qx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Yx={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"},Xx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Zx(t){var o=this.nativeEvent;return o.getModifierState?o.getModifierState(t):(t=Xx[t])?!!o[t]:!1}function du(){return Zx}var Jx=N({},Ca,{key:function(t){if(t.key){var o=Qx[t.key]||t.key;if(o!=="Unidentified")return o}return t.type==="keypress"?(t=Qi(t),t===13?"Enter":String.fromCharCode(t)):t.type==="keydown"||t.type==="keyup"?Yx[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:du,charCode:function(t){return t.type==="keypress"?Qi(t):0},keyCode:function(t){return t.type==="keydown"||t.type==="keyup"?t.keyCode:0},which:function(t){return t.type==="keypress"?Qi(t):t.type==="keydown"||t.type==="keyup"?t.keyCode:0}}),e2=_t(Jx),t2=N({},Xi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xp=_t(t2),n2=N({},Ca,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:du}),r2=_t(n2),o2=N({},mo,{propertyName:0,elapsedTime:0,pseudoElement:0}),a2=_t(o2),i2=N({},Xi,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),s2=_t(i2),l2=[9,13,27,32],fu=d&&"CompositionEvent"in window,Sa=null;d&&"documentMode"in document&&(Sa=document.documentMode);var u2=d&&"TextEvent"in window&&!Sa,Zp=d&&(!fu||Sa&&8<Sa&&11>=Sa),Jp=" ",eh=!1;function th(t,o){switch(t){case"keyup":return l2.indexOf(o.keyCode)!==-1;case"keydown":return o.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function nh(t){return t=t.detail,typeof t=="object"&&"data"in t?t.data:null}var vo=!1;function c2(t,o){switch(t){case"compositionend":return nh(o);case"keypress":return o.which!==32?null:(eh=!0,Jp);case"textInput":return t=o.data,t===Jp&&eh?null:t;default:return null}}function d2(t,o){if(vo)return t==="compositionend"||!fu&&th(t,o)?(t=Gp(),qi=iu=rr=null,vo=!1,t):null;switch(t){case"paste":return null;case"keypress":if(!(o.ctrlKey||o.altKey||o.metaKey)||o.ctrlKey&&o.altKey){if(o.char&&1<o.char.length)return o.char;if(o.which)return String.fromCharCode(o.which)}return null;case"compositionend":return Zp&&o.locale!=="ko"?null:o.data;default:return null}}var f2={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 rh(t){var o=t&&t.nodeName&&t.nodeName.toLowerCase();return o==="input"?!!f2[t.type]:o==="textarea"}function oh(t,o,s,c){Li(c),o=ns(o,"onChange"),0<o.length&&(s=new su("onChange","change",null,s,c),t.push({event:s,listeners:o}))}var Ea=null,Pa=null;function p2(t){Ch(t,0)}function Zi(t){var o=bo(t);if(ke(o))return t}function h2(t,o){if(t==="change")return o}var ah=!1;if(d){var pu;if(d){var hu="oninput"in document;if(!hu){var ih=document.createElement("div");ih.setAttribute("oninput","return;"),hu=typeof ih.oninput=="function"}pu=hu}else pu=!1;ah=pu&&(!document.documentMode||9<document.documentMode)}function sh(){Ea&&(Ea.detachEvent("onpropertychange",lh),Pa=Ea=null)}function lh(t){if(t.propertyName==="value"&&Zi(Pa)){var o=[];oh(o,Pa,t,Le(t)),Rp(p2,o)}}function m2(t,o,s){t==="focusin"?(sh(),Ea=o,Pa=s,Ea.attachEvent("onpropertychange",lh)):t==="focusout"&&sh()}function v2(t){if(t==="selectionchange"||t==="keyup"||t==="keydown")return Zi(Pa)}function y2(t,o){if(t==="click")return Zi(o)}function g2(t,o){if(t==="input"||t==="change")return Zi(o)}function w2(t,o){return t===o&&(t!==0||1/t===1/o)||t!==t&&o!==o}var ln=typeof Object.is=="function"?Object.is:w2;function Ma(t,o){if(ln(t,o))return!0;if(typeof t!="object"||t===null||typeof o!="object"||o===null)return!1;var s=Object.keys(t),c=Object.keys(o);if(s.length!==c.length)return!1;for(c=0;c<s.length;c++){var h=s[c];if(!p.call(o,h)||!ln(t[h],o[h]))return!1}return!0}function uh(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function ch(t,o){var s=uh(t);t=0;for(var c;s;){if(s.nodeType===3){if(c=t+s.textContent.length,t<=o&&c>=o)return{node:s,offset:o-t};t=c}e:{for(;s;){if(s.nextSibling){s=s.nextSibling;break e}s=s.parentNode}s=void 0}s=uh(s)}}function dh(t,o){return t&&o?t===o?!0:t&&t.nodeType===3?!1:o&&o.nodeType===3?dh(t,o.parentNode):"contains"in t?t.contains(o):t.compareDocumentPosition?!!(t.compareDocumentPosition(o)&16):!1:!1}function fh(){for(var t=window,o=Ne();o instanceof t.HTMLIFrameElement;){try{var s=typeof o.contentWindow.location.href=="string"}catch{s=!1}if(s)t=o.contentWindow;else break;o=Ne(t.document)}return o}function mu(t){var o=t&&t.nodeName&&t.nodeName.toLowerCase();return o&&(o==="input"&&(t.type==="text"||t.type==="search"||t.type==="tel"||t.type==="url"||t.type==="password")||o==="textarea"||t.contentEditable==="true")}function x2(t){var o=fh(),s=t.focusedElem,c=t.selectionRange;if(o!==s&&s&&s.ownerDocument&&dh(s.ownerDocument.documentElement,s)){if(c!==null&&mu(s)){if(o=c.start,t=c.end,t===void 0&&(t=o),"selectionStart"in s)s.selectionStart=o,s.selectionEnd=Math.min(t,s.value.length);else if(t=(o=s.ownerDocument||document)&&o.defaultView||window,t.getSelection){t=t.getSelection();var h=s.textContent.length,y=Math.min(c.start,h);c=c.end===void 0?y:Math.min(c.end,h),!t.extend&&y>c&&(h=c,c=y,y=h),h=ch(s,y);var E=ch(s,c);h&&E&&(t.rangeCount!==1||t.anchorNode!==h.node||t.anchorOffset!==h.offset||t.focusNode!==E.node||t.focusOffset!==E.offset)&&(o=o.createRange(),o.setStart(h.node,h.offset),t.removeAllRanges(),y>c?(t.addRange(o),t.extend(E.node,E.offset)):(o.setEnd(E.node,E.offset),t.addRange(o)))}}for(o=[],t=s;t=t.parentNode;)t.nodeType===1&&o.push({element:t,left:t.scrollLeft,top:t.scrollTop});for(typeof s.focus=="function"&&s.focus(),s=0;s<o.length;s++)t=o[s],t.element.scrollLeft=t.left,t.element.scrollTop=t.top}}var b2=d&&"documentMode"in document&&11>=document.documentMode,yo=null,vu=null,Ra=null,yu=!1;function ph(t,o,s){var c=s.window===s?s.document:s.nodeType===9?s:s.ownerDocument;yu||yo==null||yo!==Ne(c)||(c=yo,"selectionStart"in c&&mu(c)?c={start:c.selectionStart,end:c.selectionEnd}:(c=(c.ownerDocument&&c.ownerDocument.defaultView||window).getSelection(),c={anchorNode:c.anchorNode,anchorOffset:c.anchorOffset,focusNode:c.focusNode,focusOffset:c.focusOffset}),Ra&&Ma(Ra,c)||(Ra=c,c=ns(vu,"onSelect"),0<c.length&&(o=new su("onSelect","select",null,o,s),t.push({event:o,listeners:c}),o.target=yo)))}function Ji(t,o){var s={};return s[t.toLowerCase()]=o.toLowerCase(),s["Webkit"+t]="webkit"+o,s["Moz"+t]="moz"+o,s}var go={animationend:Ji("Animation","AnimationEnd"),animationiteration:Ji("Animation","AnimationIteration"),animationstart:Ji("Animation","AnimationStart"),transitionend:Ji("Transition","TransitionEnd")},gu={},hh={};d&&(hh=document.createElement("div").style,"AnimationEvent"in window||(delete go.animationend.animation,delete go.animationiteration.animation,delete go.animationstart.animation),"TransitionEvent"in window||delete go.transitionend.transition);function es(t){if(gu[t])return gu[t];if(!go[t])return t;var o=go[t],s;for(s in o)if(o.hasOwnProperty(s)&&s in hh)return gu[t]=o[s];return t}var mh=es("animationend"),vh=es("animationiteration"),yh=es("animationstart"),gh=es("transitionend"),wh=new Map,xh="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 or(t,o){wh.set(t,o),l(o,[t])}for(var wu=0;wu<xh.length;wu++){var xu=xh[wu],C2=xu.toLowerCase(),k2=xu[0].toUpperCase()+xu.slice(1);or(C2,"on"+k2)}or(mh,"onAnimationEnd"),or(vh,"onAnimationIteration"),or(yh,"onAnimationStart"),or("dblclick","onDoubleClick"),or("focusin","onFocus"),or("focusout","onBlur"),or(gh,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ta="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(" "),S2=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ta));function bh(t,o,s){var c=t.type||"unknown-event";t.currentTarget=s,Cx(c,o,void 0,t),t.currentTarget=null}function Ch(t,o){o=(o&4)!==0;for(var s=0;s<t.length;s++){var c=t[s],h=c.event;c=c.listeners;e:{var y=void 0;if(o)for(var E=c.length-1;0<=E;E--){var _=c[E],I=_.instance,H=_.currentTarget;if(_=_.listener,I!==y&&h.isPropagationStopped())break e;bh(h,_,H),y=I}else for(E=0;E<c.length;E++){if(_=c[E],I=_.instance,H=_.currentTarget,_=_.listener,I!==y&&h.isPropagationStopped())break e;bh(h,_,H),y=I}}}if(Fi)throw t=Xl,Fi=!1,Xl=null,t}function Be(t,o){var s=o[Ru];s===void 0&&(s=o[Ru]=new Set);var c=t+"__bubble";s.has(c)||(kh(o,t,2,!1),s.add(c))}function bu(t,o,s){var c=0;o&&(c|=4),kh(s,t,c,o)}var ts="_reactListening"+Math.random().toString(36).slice(2);function _a(t){if(!t[ts]){t[ts]=!0,a.forEach(function(s){s!=="selectionchange"&&(S2.has(s)||bu(s,!1,t),bu(s,!0,t))});var o=t.nodeType===9?t:t.ownerDocument;o===null||o[ts]||(o[ts]=!0,bu("selectionchange",!1,o))}}function kh(t,o,s,c){switch(Kp(o)){case 1:var h=Fx;break;case 4:h=jx;break;default:h=ou}s=h.bind(null,o,s,t),h=void 0,!Yl||o!=="touchstart"&&o!=="touchmove"&&o!=="wheel"||(h=!0),c?h!==void 0?t.addEventListener(o,s,{capture:!0,passive:h}):t.addEventListener(o,s,!0):h!==void 0?t.addEventListener(o,s,{passive:h}):t.addEventListener(o,s,!1)}function Cu(t,o,s,c,h){var y=c;if((o&1)===0&&(o&2)===0&&c!==null)e:for(;;){if(c===null)return;var E=c.tag;if(E===3||E===4){var _=c.stateNode.containerInfo;if(_===h||_.nodeType===8&&_.parentNode===h)break;if(E===4)for(E=c.return;E!==null;){var I=E.tag;if((I===3||I===4)&&(I=E.stateNode.containerInfo,I===h||I.nodeType===8&&I.parentNode===h))return;E=E.return}for(;_!==null;){if(E=Fr(_),E===null)return;if(I=E.tag,I===5||I===6){c=y=E;continue e}_=_.parentNode}}c=c.return}Rp(function(){var H=y,ee=Le(s),te=[];e:{var J=wh.get(t);if(J!==void 0){var fe=su,ye=t;switch(t){case"keypress":if(Qi(s)===0)break e;case"keydown":case"keyup":fe=e2;break;case"focusin":ye="focus",fe=cu;break;case"focusout":ye="blur",fe=cu;break;case"beforeblur":case"afterblur":fe=cu;break;case"click":if(s.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":fe=Qp;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":fe=Ux;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":fe=r2;break;case mh:case vh:case yh:fe=Vx;break;case gh:fe=a2;break;case"scroll":fe=zx;break;case"wheel":fe=s2;break;case"copy":case"cut":case"paste":fe=Gx;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":fe=Xp}var ge=(o&4)!==0,et=!ge&&t==="scroll",F=ge?J!==null?J+"Capture":null:J;ge=[];for(var A=H,B;A!==null;){B=A;var ne=B.stateNode;if(B.tag===5&&ne!==null&&(B=ne,F!==null&&(ne=fa(A,F),ne!=null&&ge.push(Na(A,ne,B)))),et)break;A=A.return}0<ge.length&&(J=new fe(J,ye,null,s,ee),te.push({event:J,listeners:ge}))}}if((o&7)===0){e:{if(J=t==="mouseover"||t==="pointerover",fe=t==="mouseout"||t==="pointerout",J&&s!==Me&&(ye=s.relatedTarget||s.fromElement)&&(Fr(ye)||ye[Fn]))break e;if((fe||J)&&(J=ee.window===ee?ee:(J=ee.ownerDocument)?J.defaultView||J.parentWindow:window,fe?(ye=s.relatedTarget||s.toElement,fe=H,ye=ye?Fr(ye):null,ye!==null&&(et=$r(ye),ye!==et||ye.tag!==5&&ye.tag!==6)&&(ye=null)):(fe=null,ye=H),fe!==ye)){if(ge=Qp,ne="onMouseLeave",F="onMouseEnter",A="mouse",(t==="pointerout"||t==="pointerover")&&(ge=Xp,ne="onPointerLeave",F="onPointerEnter",A="pointer"),et=fe==null?J:bo(fe),B=ye==null?J:bo(ye),J=new ge(ne,A+"leave",fe,s,ee),J.target=et,J.relatedTarget=B,ne=null,Fr(ee)===H&&(ge=new ge(F,A+"enter",ye,s,ee),ge.target=B,ge.relatedTarget=et,ne=ge),et=ne,fe&&ye)t:{for(ge=fe,F=ye,A=0,B=ge;B;B=wo(B))A++;for(B=0,ne=F;ne;ne=wo(ne))B++;for(;0<A-B;)ge=wo(ge),A--;for(;0<B-A;)F=wo(F),B--;for(;A--;){if(ge===F||F!==null&&ge===F.alternate)break t;ge=wo(ge),F=wo(F)}ge=null}else ge=null;fe!==null&&Sh(te,J,fe,ge,!1),ye!==null&&et!==null&&Sh(te,et,ye,ge,!0)}}e:{if(J=H?bo(H):window,fe=J.nodeName&&J.nodeName.toLowerCase(),fe==="select"||fe==="input"&&J.type==="file")var we=h2;else if(rh(J))if(ah)we=g2;else{we=v2;var be=m2}else(fe=J.nodeName)&&fe.toLowerCase()==="input"&&(J.type==="checkbox"||J.type==="radio")&&(we=y2);if(we&&(we=we(t,H))){oh(te,we,s,ee);break e}be&&be(t,J,H),t==="focusout"&&(be=J._wrapperState)&&be.controlled&&J.type==="number"&&Ve(J,"number",J.value)}switch(be=H?bo(H):window,t){case"focusin":(rh(be)||be.contentEditable==="true")&&(yo=be,vu=H,Ra=null);break;case"focusout":Ra=vu=yo=null;break;case"mousedown":yu=!0;break;case"contextmenu":case"mouseup":case"dragend":yu=!1,ph(te,s,ee);break;case"selectionchange":if(b2)break;case"keydown":case"keyup":ph(te,s,ee)}var Ce;if(fu)e:{switch(t){case"compositionstart":var Pe="onCompositionStart";break e;case"compositionend":Pe="onCompositionEnd";break e;case"compositionupdate":Pe="onCompositionUpdate";break e}Pe=void 0}else vo?th(t,s)&&(Pe="onCompositionEnd"):t==="keydown"&&s.keyCode===229&&(Pe="onCompositionStart");Pe&&(Zp&&s.locale!=="ko"&&(vo||Pe!=="onCompositionStart"?Pe==="onCompositionEnd"&&vo&&(Ce=Gp()):(rr=ee,iu="value"in rr?rr.value:rr.textContent,vo=!0)),be=ns(H,Pe),0<be.length&&(Pe=new Yp(Pe,t,null,s,ee),te.push({event:Pe,listeners:be}),Ce?Pe.data=Ce:(Ce=nh(s),Ce!==null&&(Pe.data=Ce)))),(Ce=u2?c2(t,s):d2(t,s))&&(H=ns(H,"onBeforeInput"),0<H.length&&(ee=new Yp("onBeforeInput","beforeinput",null,s,ee),te.push({event:ee,listeners:H}),ee.data=Ce))}Ch(te,o)})}function Na(t,o,s){return{instance:t,listener:o,currentTarget:s}}function ns(t,o){for(var s=o+"Capture",c=[];t!==null;){var h=t,y=h.stateNode;h.tag===5&&y!==null&&(h=y,y=fa(t,s),y!=null&&c.unshift(Na(t,y,h)),y=fa(t,o),y!=null&&c.push(Na(t,y,h))),t=t.return}return c}function wo(t){if(t===null)return null;do t=t.return;while(t&&t.tag!==5);return t||null}function Sh(t,o,s,c,h){for(var y=o._reactName,E=[];s!==null&&s!==c;){var _=s,I=_.alternate,H=_.stateNode;if(I!==null&&I===c)break;_.tag===5&&H!==null&&(_=H,h?(I=fa(s,y),I!=null&&E.unshift(Na(s,I,_))):h||(I=fa(s,y),I!=null&&E.push(Na(s,I,_)))),s=s.return}E.length!==0&&t.push({event:o,listeners:E})}var E2=/\r\n?/g,P2=/\u0000|\uFFFD/g;function Eh(t){return(typeof t=="string"?t:""+t).replace(E2,` 6`).replace(P2,"")}function rs(t,o,s){if(o=Eh(o),Eh(t)!==o&&s)throw Error(r(425))}function os(){}var ku=null,Su=null;function Eu(t,o){return t==="textarea"||t==="noscript"||typeof o.children=="string"||typeof o.children=="number"||typeof o.dangerouslySetInnerHTML=="object"&&o.dangerouslySetInnerHTML!==null&&o.dangerouslySetInnerHTML.__html!=null}var Pu=typeof setTimeout=="function"?setTimeout:void 0,M2=typeof clearTimeout=="function"?clearTimeout:void 0,Ph=typeof Promise=="function"?Promise:void 0,R2=typeof queueMicrotask=="function"?queueMicrotask:typeof Ph<"u"?function(t){return Ph.resolve(null).then(t).catch(T2)}:Pu;function T2(t){setTimeout(function(){throw t})}function Mu(t,o){var s=o,c=0;do{var h=s.nextSibling;if(t.removeChild(s),h&&h.nodeType===8)if(s=h.data,s==="/$"){if(c===0){t.removeChild(h),ba(o);return}c--}else s!=="$"&&s!=="$?"&&s!=="$!"||c++;s=h}while(s);ba(o)}function ar(t){for(;t!=null;t=t.nextSibling){var o=t.nodeType;if(o===1||o===3)break;if(o===8){if(o=t.data,o==="$"||o==="$!"||o==="$?")break;if(o==="/$")return null}}return t}function Mh(t){t=t.previousSibling;for(var o=0;t;){if(t.nodeType===8){var s=t.data;if(s==="$"||s==="$!"||s==="$?"){if(o===0)return t;o--}else s==="/$"&&o++}t=t.previousSibling}return null}var xo=Math.random().toString(36).slice(2),En="__reactFiber$"+xo,Oa="__reactProps$"+xo,Fn="__reactContainer$"+xo,Ru="__reactEvents$"+xo,_2="__reactListeners$"+xo,N2="__reactHandles$"+xo;function Fr(t){var o=t[En];if(o)return o;for(var s=t.parentNode;s;){if(o=s[Fn]||s[En]){if(s=o.alternate,o.child!==null||s!==null&&s.child!==null)for(t=Mh(t);t!==null;){if(s=t[En])return s;t=Mh(t)}return o}t=s,s=t.parentNode}return null}function Da(t){return t=t[En]||t[Fn],!t||t.tag!==5&&t.tag!==6&&t.tag!==13&&t.tag!==3?null:t}function bo(t){if(t.tag===5||t.tag===6)return t.stateNode;throw Error(r(33))}function as(t){return t[Oa]||null}var Tu=[],Co=-1;function ir(t){return{current:t}}function Ue(t){0>Co||(t.current=Tu[Co],Tu[Co]=null,Co--)}function Fe(t,o){Co++,Tu[Co]=t.current,t.current=o}var sr={},ft=ir(sr),kt=ir(!1),jr=sr;function ko(t,o){var s=t.type.contextTypes;if(!s)return sr;var c=t.stateNode;if(c&&c.__reactInternalMemoizedUnmaskedChildContext===o)return c.__reactInternalMemoizedMaskedChildContext;var h={},y;for(y in s)h[y]=o[y];return c&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=o,t.__reactInternalMemoizedMaskedChildContext=h),h}function St(t){return t=t.childContextTypes,t!=null}function is(){Ue(kt),Ue(ft)}function Rh(t,o,s){if(ft.current!==sr)throw Error(r(168));
vendor: 4,130 bytes, line 6
6Fe(ft,o),Fe(kt,s)}function Th(t,o,s){var c=t.stateNode;if(o=o.childContextTypes,typeof c.getChildContext!="function")return s;c=c.getChildContext();for(var h in c)if(!(h in o))throw Error(r(108,z(t)||"Unknown",h));return N({},s,c)}function ss(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||sr,jr=ft.current,Fe(ft,t),Fe(kt,kt.current),!0}function _h(t,o,s){var c=t.stateNode;if(!c)throw Error(r(169));s?(t=Th(t,o,jr),c.__reactInternalMemoizedMergedChildContext=t,Ue(kt),Ue(ft),Fe(ft,t)):Ue(kt),Fe(kt,s)}var jn=null,ls=!1,_u=!1;function Nh(t){jn===null?jn=[t]:jn.push(t)}function O2(t){ls=!0,Nh(t)}function lr(){if(!_u&&jn!==null){_u=!0;var t=0,o=$e;try{var s=jn;for($e=1;t<s.length;t++){var c=s[t];do c=c(!0);while(c!==null)}jn=null,ls=!1}catch(h){throw jn!==null&&(jn=jn.slice(t+1)),Dp(Zl,lr),h}finally{$e=o,_u=!1}}return null}var So=[],Eo=0,us=null,cs=0,Vt=[],Kt=0,zr=null,zn=1,Bn="";function Br(t,o){So[Eo++]=cs,So[Eo++]=us,us=t,cs=o}function Oh(t,o,s){Vt[Kt++]=zn,Vt[Kt++]=Bn,Vt[Kt++]=zr,zr=t;var c=zn;t=Bn;var h=32-sn(c)-1;c&=~(1<<h),s+=1;var y=32-sn(o)+h;if(30<y){var E=h-h%5;y=(c&(1<<E)-1).toString(32),c>>=E,h-=E,zn=1<<32-sn(o)+h|s<<h|c,Bn=y+t}else zn=1<<y|s<<h|c,Bn=t}function Nu(t){t.return!==null&&(Br(t,1),Oh(t,1,0))}function Ou(t){for(;t===us;)us=So[--Eo],So[Eo]=null,cs=So[--Eo],So[Eo]=null;for(;t===zr;)zr=Vt[--Kt],Vt[Kt]=null,Bn=Vt[--Kt],Vt[Kt]=null,zn=Vt[--Kt],Vt[Kt]=null}var Nt=null,Ot=null,Ke=!1,un=null;function Dh(t,o){var s=Yt(5,null,null,0);s.elementType="DELETED",s.stateNode=o,s.return=t,o=t.deletions,o===null?(t.deletions=[s],t.flags|=16):o.push(s)}function Ih(t,o){switch(t.tag){case 5:var s=t.type;return o=o.nodeType!==1||s.toLowerCase()!==o.nodeName.toLowerCase()?null:o,o!==null?(t.stateNode=o,Nt=t,Ot=ar(o.firstChild),!0):!1;case 6:return o=t.pendingProps===""||o.nodeType!==3?null:o,o!==null?(t.stateNode=o,Nt=t,Ot=null,!0):!1;case 13:return o=o.nodeType!==8?null:o,o!==null?(s=zr!==null?{id:zn,overflow:Bn}:null,t.memoizedState={dehydrated:o,treeContext:s,retryLane:1073741824},s=Yt(18,null,null,0),s.stateNode=o,s.return=t,t.child=s,Nt=t,Ot=null,!0):!1;default:return!1}}function Du(t){return(t.mode&1)!==0&&(t.flags&128)===0}function Iu(t){if(Ke){var o=Ot;if(o){var s=o;if(!Ih(t,o)){if(Du(t))throw Error(r(418));o=ar(s.nextSibling);var c=Nt;o&&Ih(t,o)?Dh(c,s):(t.flags=t.flags&-4097|2,Ke=!1,Nt=t)}}else{if(Du(t))throw Error(r(418));t.flags=t.flags&-4097|2,Ke=!1,Nt=t}}}function Ah(t){for(t=t.return;t!==null&&t.tag!==5&&t.tag!==3&&t.tag!==13;)t=t.return;Nt=t}function ds(t){if(t!==Nt)return!1;if(!Ke)return Ah(t),Ke=!0,!1;var o;if((o=t.tag!==3)&&!(o=t.tag!==5)&&(o=t.type,o=o!=="head"&&o!=="body"&&!Eu(t.type,t.memoizedProps)),o&&(o=Ot)){if(Du(t))throw Lh(),Error(r(418));for(;o;)Dh(t,o),o=ar(o.nextSibling)}if(Ah(t),t.tag===13){if(t=t.memoizedState,t=t!==null?t.dehydrated:null,!t)throw Error(r(317));e:{for(t=t.nextSibling,o=0;t;){if(t.nodeType===8){var s=t.data;if(s==="/$"){if(o===0){Ot=ar(t.nextSibling);break e}o--}else s!=="$"&&s!=="$!"&&s!=="$?"||o++}t=t.nextSibling}Ot=null}}else Ot=Nt?ar(t.stateNode.nextSibling):null;return!0}function Lh(){for(var t=Ot;t;)t=ar(t.nextSibling)}function Po(){Ot=Nt=null,Ke=!1}function Au(t){un===null?un=[t]:un.push(t)}var D2=L.ReactCurrentBatchConfig;function Ia(t,o,s){if(t=s.ref,t!==null&&typeof t!="function"&&typeof t!="object"){if(s._owner){if(s=s._owner,s){if(s.tag!==1)throw Error(r(309));var c=s.stateNode}if(!c)throw Error(r(147,t));var h=c,y=""+t;return o!==null&&o.ref!==null&&typeof o.ref=="function"&&o.ref._stringRef===y?o.ref:(o=function(E){var _=h.refs;E===null?delete _[y]:_[y]=E},o._stringRef=y,o)}if(typeof t!="string")throw Error(r(284));if(!s._owner)throw Error(r(290,t))}return t}function fs(t,o){throw t=Object.prototype.toString.call(o),Error(r(31,t==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":t))}function $h(t){var o=t._init;return o(t._payload)}function Fh(t){function o(F,A){if(t){var B=F.deletions;B===null?(F.deletions=[A],F.flags|=16):B.push(A)}}function s(F,A){if(!t)return null;for(;A!==null;)o(F,A),A=A.sibling;return null}function c(F,A){for(F=new Map;A!==null;
vendor: 4,878 bytes, line 6
6)A.key!==null?F.set(A.key,A):F.set(A.index,A),A=A.sibling;return F}function h(F,A){return F=vr(F,A),F.index=0,F.sibling=null,F}function y(F,A,B){return F.index=B,t?(B=F.alternate,B!==null?(B=B.index,B<A?(F.flags|=2,A):B):(F.flags|=2,A)):(F.flags|=1048576,A)}function E(F){return t&&F.alternate===null&&(F.flags|=2),F}function _(F,A,B,ne){return A===null||A.tag!==6?(A=Ec(B,F.mode,ne),A.return=F,A):(A=h(A,B),A.return=F,A)}function I(F,A,B,ne){var we=B.type;return we===U?ee(F,A,B.props.children,ne,B.key):A!==null&&(A.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===re&&$h(we)===A.type)?(ne=h(A,B.props),ne.ref=Ia(F,A,B),ne.return=F,ne):(ne=Ls(B.type,B.key,B.props,null,F.mode,ne),ne.ref=Ia(F,A,B),ne.return=F,ne)}function H(F,A,B,ne){return A===null||A.tag!==4||A.stateNode.containerInfo!==B.containerInfo||A.stateNode.implementation!==B.implementation?(A=Pc(B,F.mode,ne),A.return=F,A):(A=h(A,B.children||[]),A.return=F,A)}function ee(F,A,B,ne,we){return A===null||A.tag!==7?(A=Qr(B,F.mode,ne,we),A.return=F,A):(A=h(A,B),A.return=F,A)}function te(F,A,B){if(typeof A=="string"&&A!==""||typeof A=="number")return A=Ec(""+A,F.mode,B),A.return=F,A;if(typeof A=="object"&&A!==null){switch(A.$$typeof){case $:return B=Ls(A.type,A.key,A.props,null,F.mode,B),B.ref=Ia(F,null,A),B.return=F,B;case Q:return A=Pc(A,F.mode,B),A.return=F,A;case re:var ne=A._init;return te(F,ne(A._payload),B)}if(qe(A)||W(A))return A=Qr(A,F.mode,B,null),A.return=F,A;fs(F,A)}return null}function J(F,A,B,ne){var we=A!==null?A.key:null;if(typeof B=="string"&&B!==""||typeof B=="number")return we!==null?null:_(F,A,""+B,ne);if(typeof B=="object"&&B!==null){switch(B.$$typeof){case $:return B.key===we?I(F,A,B,ne):null;case Q:return B.key===we?H(F,A,B,ne):null;case re:return we=B._init,J(F,A,we(B._payload),ne)}if(qe(B)||W(B))return we!==null?null:ee(F,A,B,ne,null);fs(F,B)}return null}function fe(F,A,B,ne,we){if(typeof ne=="string"&&ne!==""||typeof ne=="number")return F=F.get(B)||null,_(A,F,""+ne,we);if(typeof ne=="object"&&ne!==null){switch(ne.$$typeof){case $:return F=F.get(ne.key===null?B:ne.key)||null,I(A,F,ne,we);case Q:return F=F.get(ne.key===null?B:ne.key)||null,H(A,F,ne,we);case re:var be=ne._init;return fe(F,A,B,be(ne._payload),we)}if(qe(ne)||W(ne))return F=F.get(B)||null,ee(A,F,ne,we,null);fs(A,ne)}return null}function ye(F,A,B,ne){for(var we=null,be=null,Ce=A,Pe=A=0,it=null;Ce!==null&&Pe<B.length;Pe++){Ce.index>Pe?(it=Ce,Ce=null):it=Ce.sibling;var Ie=J(F,Ce,B[Pe],ne);if(Ie===null){Ce===null&&(Ce=it);break}t&&Ce&&Ie.alternate===null&&o(F,Ce),A=y(Ie,A,Pe),be===null?we=Ie:be.sibling=Ie,be=Ie,Ce=it}if(Pe===B.length)return s(F,Ce),Ke&&Br(F,Pe),we;if(Ce===null){for(;Pe<B.length;Pe++)Ce=te(F,B[Pe],ne),Ce!==null&&(A=y(Ce,A,Pe),be===null?we=Ce:be.sibling=Ce,be=Ce);return Ke&&Br(F,Pe),we}for(Ce=c(F,Ce);Pe<B.length;Pe++)it=fe(Ce,F,Pe,B[Pe],ne),it!==null&&(t&&it.alternate!==null&&Ce.delete(it.key===null?Pe:it.key),A=y(it,A,Pe),be===null?we=it:be.sibling=it,be=it);return t&&Ce.forEach(function(yr){return o(F,yr)}),Ke&&Br(F,Pe),we}function ge(F,A,B,ne){var we=W(B);if(typeof we!="function")throw Error(r(150));if(B=we.call(B),B==null)throw Error(r(151));for(var be=we=null,Ce=A,Pe=A=0,it=null,Ie=B.next();Ce!==null&&!Ie.done;Pe++,Ie=B.next()){Ce.index>Pe?(it=Ce,Ce=null):it=Ce.sibling;var yr=J(F,Ce,Ie.value,ne);if(yr===null){Ce===null&&(Ce=it);break}t&&Ce&&yr.alternate===null&&o(F,Ce),A=y(yr,A,Pe),be===null?we=yr:be.sibling=yr,be=yr,Ce=it}if(Ie.done)return s(F,Ce),Ke&&Br(F,Pe),we;if(Ce===null){for(;!Ie.done;Pe++,Ie=B.next())Ie=te(F,Ie.value,ne),Ie!==null&&(A=y(Ie,A,Pe),be===null?we=Ie:be.sibling=Ie,be=Ie);return Ke&&Br(F,Pe),we}for(Ce=c(F,Ce);!Ie.done;Pe++,Ie=B.next())Ie=fe(Ce,F,Pe,Ie.value,ne),Ie!==null&&(t&&Ie.alternate!==null&&Ce.delete(Ie.key===null?Pe:Ie.key),A=y(Ie,A,Pe),be===null?we=Ie:be.sibling=Ie,be=Ie);return t&&Ce.forEach(function(fb){return o(F,fb)}),Ke&&Br(F,Pe),we}function et(F,A,B,ne){if(typeof B=="object"&&B!==null&&B.type===U&&B.key===null&&(B=B.props.children),typeof B=="object"&&B!==null){switch(B.$$typeof){case $:e:{for(var we=B.key,be=A;be!==null;){if(be.key===we){if(we=B.type,we===U){if(be.tag===7){s(F,be.sibling),A=h(be,B.props.children),A.return=F,F=A;break e}}else if(be.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===re&&$h(we)===be.type){s(F,be.sibling),A=h(be,B.props),A.ref=Ia(F,be,B),A.return=F,F=A;break e}s(F,be);break}else o(F,be);be=be.sibling}B.type===U?(A=Qr(B.props.children,F.mode,ne,B.key),A.return=F,F=A):(ne=Ls(B.type,B.key,B.props,null,F.mode,ne),ne.ref=Ia(F,A,B),ne.return=F,F=ne)}return E(F);case Q:e:{for(be=B.key;A!==null;){if(A.key===be)if(A.tag===4&&A.stateNode.containerInfo===B.containerInfo&&A.stateNode.implementation===B.implementation){s(F,A.sibling),A=h(A,B.children||[]),A.return=F,F=A;break e}else{s(F,A);break}else o(F,A);A=A.sibling}A=Pc(B,F.mode,ne),A.return=F,F=A}return E(F);
vendor: 19,792 bytes, lines 6-8
6case re:return be=B._init,et(F,A,be(B._payload),ne)}if(qe(B))return ye(F,A,B,ne);if(W(B))return ge(F,A,B,ne);fs(F,B)}return typeof B=="string"&&B!==""||typeof B=="number"?(B=""+B,A!==null&&A.tag===6?(s(F,A.sibling),A=h(A,B),A.return=F,F=A):(s(F,A),A=Ec(B,F.mode,ne),A.return=F,F=A),E(F)):s(F,A)}return et}var Mo=Fh(!0),jh=Fh(!1),ps=ir(null),hs=null,Ro=null,Lu=null;function $u(){Lu=Ro=hs=null}function Fu(t){var o=ps.current;Ue(ps),t._currentValue=o}function ju(t,o,s){for(;t!==null;){var c=t.alternate;if((t.childLanes&o)!==o?(t.childLanes|=o,c!==null&&(c.childLanes|=o)):c!==null&&(c.childLanes&o)!==o&&(c.childLanes|=o),t===s)break;t=t.return}}function To(t,o){hs=t,Lu=Ro=null,t=t.dependencies,t!==null&&t.firstContext!==null&&((t.lanes&o)!==0&&(Et=!0),t.firstContext=null)}function Gt(t){var o=t._currentValue;if(Lu!==t)if(t={context:t,memoizedValue:o,next:null},Ro===null){if(hs===null)throw Error(r(308));Ro=t,hs.dependencies={lanes:0,firstContext:t}}else Ro=Ro.next=t;return o}var Ur=null;function zu(t){Ur===null?Ur=[t]:Ur.push(t)}function zh(t,o,s,c){var h=o.interleaved;return h===null?(s.next=s,zu(o)):(s.next=h.next,h.next=s),o.interleaved=s,Un(t,c)}function Un(t,o){t.lanes|=o;var s=t.alternate;for(s!==null&&(s.lanes|=o),s=t,t=t.return;t!==null;)t.childLanes|=o,s=t.alternate,s!==null&&(s.childLanes|=o),s=t,t=t.return;return s.tag===3?s.stateNode:null}var ur=!1;function Bu(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Bh(t,o){t=t.updateQueue,o.updateQueue===t&&(o.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function Hn(t,o){return{eventTime:t,lane:o,tag:0,payload:null,callback:null,next:null}}function cr(t,o,s){var c=t.updateQueue;if(c===null)return null;if(c=c.shared,(De&2)!==0){var h=c.pending;return h===null?o.next=o:(o.next=h.next,h.next=o),c.pending=o,Un(t,s)}return h=c.interleaved,h===null?(o.next=o,zu(c)):(o.next=h.next,h.next=o),c.interleaved=o,Un(t,s)}function ms(t,o,s){if(o=o.updateQueue,o!==null&&(o=o.shared,(s&4194240)!==0)){var c=o.lanes;c&=t.pendingLanes,s|=c,o.lanes=s,tu(t,s)}}function Uh(t,o){var s=t.updateQueue,c=t.alternate;if(c!==null&&(c=c.updateQueue,s===c)){var h=null,y=null;if(s=s.firstBaseUpdate,s!==null){do{var E={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};y===null?h=y=E:y=y.next=E,s=s.next}while(s!==null);y===null?h=y=o:y=y.next=o}else h=y=o;s={baseState:c.baseState,firstBaseUpdate:h,lastBaseUpdate:y,shared:c.shared,effects:c.effects},t.updateQueue=s;return}t=s.lastBaseUpdate,t===null?s.firstBaseUpdate=o:t.next=o,s.lastBaseUpdate=o}function vs(t,o,s,c){var h=t.updateQueue;ur=!1;var y=h.firstBaseUpdate,E=h.lastBaseUpdate,_=h.shared.pending;if(_!==null){h.shared.pending=null;var I=_,H=I.next;I.next=null,E===null?y=H:E.next=H,E=I;var ee=t.alternate;ee!==null&&(ee=ee.updateQueue,_=ee.lastBaseUpdate,_!==E&&(_===null?ee.firstBaseUpdate=H:_.next=H,ee.lastBaseUpdate=I))}if(y!==null){var te=h.baseState;E=0,ee=H=I=null,_=y;do{var J=_.lane,fe=_.eventTime;if((c&J)===J){ee!==null&&(ee=ee.next={eventTime:fe,lane:0,tag:_.tag,payload:_.payload,callback:_.callback,next:null});e:{var ye=t,ge=_;switch(J=o,fe=s,ge.tag){case 1:if(ye=ge.payload,typeof ye=="function"){te=ye.call(fe,te,J);break e}te=ye;break e;case 3:ye.flags=ye.flags&-65537|128;case 0:if(ye=ge.payload,J=typeof ye=="function"?ye.call(fe,te,J):ye,J==null)break e;te=N({},te,J);break e;case 2:ur=!0}}_.callback!==null&&_.lane!==0&&(t.flags|=64,J=h.effects,J===null?h.effects=[_]:J.push(_))}else fe={eventTime:fe,lane:J,tag:_.tag,payload:_.payload,callback:_.callback,next:null},ee===null?(H=ee=fe,I=te):ee=ee.next=fe,E|=J;if(_=_.next,_===null){if(_=h.shared.pending,_===null)break;J=_,_=J.next,J.next=null,h.lastBaseUpdate=J,h.shared.pending=null}}while(!0);if(ee===null&&(I=te),h.baseState=I,h.firstBaseUpdate=H,h.lastBaseUpdate=ee,o=h.shared.interleaved,o!==null){h=o;do E|=h.lane,h=h.next;while(h!==o)}else y===null&&(h.shared.lanes=0);Vr|=E,t.lanes=E,t.memoizedState=te}}function Hh(t,o,s){if(t=o.effects,o.effects=null,t!==null)for(o=0;o<t.length;o++){var c=t[o],h=c.callback;if(h!==null){if(c.callback=null,c=s,typeof h!="function")throw Error(r(191,h));h.call(c)}}}var Aa={},Pn=ir(Aa),La=ir(Aa),$a=ir(Aa);function Hr(t){if(t===Aa)throw Error(r(174));return t}function Uu(t,o){switch(Fe($a,o),Fe(La,t),Fe(Pn,Aa),t=o.nodeType,t){case 9:case 11:o=(o=o.documentElement)?o.namespaceURI:Ut(null,"");break;default:t=t===8?o.parentNode:o,o=t.namespaceURI||null,t=t.tagName,o=Ut(o,t)}Ue(Pn),Fe(Pn,o)}function _o(){Ue(Pn),Ue(La),Ue($a)}function Wh(t){Hr($a.current);var o=Hr(Pn.current),s=Ut(o,t.type);o!==s&&(Fe(La,t),Fe(Pn,s))}function Hu(t){La.current===t&&(Ue(Pn),Ue(La))}var Qe=ir(0);function ys(t){for(var o=t;o!==null;){if(o.tag===13){var s=o.memoizedState;if(s!==null&&(s=s.dehydrated,s===null||s.data==="$?"||s.data==="$!"))return o}else if(o.tag===19&&o.memoizedProps.revealOrder!==void 0){if((o.flags&128)!==0)return o}else if(o.child!==null){o.child.return=o,o=o.child;continue}if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return null;o=o.return}o.sibling.return=o.return,o=o.sibling}return null}var Wu=[];function Vu(){for(var t=0;t<Wu.length;t++)Wu[t]._workInProgressVersionPrimary=null;Wu.length=0}var gs=L.ReactCurrentDispatcher,Ku=L.ReactCurrentBatchConfig,Wr=0,Ye=null,nt=null,ot=null,ws=!1,Fa=!1,ja=0,I2=0;function pt(){throw Error(r(321))}function Gu(t,o){if(o===null)return!1;for(var s=0;s<o.length&&s<t.length;s++)if(!ln(t[s],o[s]))return!1;return!0}function qu(t,o,s,c,h,y){if(Wr=y,Ye=o,o.memoizedState=null,o.updateQueue=null,o.lanes=0,gs.current=t===null||t.memoizedState===null?F2:j2,t=s(c,h),Fa){y=0;do{if(Fa=!1,ja=0,25<=y)throw Error(r(301));y+=1,ot=nt=null,o.updateQueue=null,gs.current=z2,t=s(c,h)}while(Fa)}if(gs.current=Cs,o=nt!==null&&nt.next!==null,Wr=0,ot=nt=Ye=null,ws=!1,o)throw Error(r(300));return t}function Qu(){var t=ja!==0;return ja=0,t}function Mn(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ot===null?Ye.memoizedState=ot=t:ot=ot.next=t,ot}function qt(){if(nt===null){var t=Ye.alternate;t=t!==null?t.memoizedState:null}else t=nt.next;var o=ot===null?Ye.memoizedState:ot.next;if(o!==null)ot=o,nt=t;else{if(t===null)throw Error(r(310));nt=t,t={memoizedState:nt.memoizedState,baseState:nt.baseState,baseQueue:nt.baseQueue,queue:nt.queue,next:null},ot===null?Ye.memoizedState=ot=t:ot=ot.next=t}return ot}function za(t,o){return typeof o=="function"?o(t):o}function Yu(t){var o=qt(),s=o.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=t;var c=nt,h=c.baseQueue,y=s.pending;if(y!==null){if(h!==null){var E=h.next;h.next=y.next,y.next=E}c.baseQueue=h=y,s.pending=null}if(h!==null){y=h.next,c=c.baseState;var _=E=null,I=null,H=y;do{var ee=H.lane;if((Wr&ee)===ee)I!==null&&(I=I.next={lane:0,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null}),c=H.hasEagerState?H.eagerState:t(c,H.action);else{var te={lane:ee,action:H.action,hasEagerState:H.hasEagerState,eagerState:H.eagerState,next:null};I===null?(_=I=te,E=c):I=I.next=te,Ye.lanes|=ee,Vr|=ee}H=H.next}while(H!==null&&H!==y);I===null?E=c:I.next=_,ln(c,o.memoizedState)||(Et=!0),o.memoizedState=c,o.baseState=E,o.baseQueue=I,s.lastRenderedState=c}if(t=s.interleaved,t!==null){h=t;do y=h.lane,Ye.lanes|=y,Vr|=y,h=h.next;while(h!==t)}else h===null&&(s.lanes=0);return[o.memoizedState,s.dispatch]}function Xu(t){var o=qt(),s=o.queue;if(s===null)throw Error(r(311));s.lastRenderedReducer=t;var c=s.dispatch,h=s.pending,y=o.memoizedState;if(h!==null){s.pending=null;var E=h=h.next;do y=t(y,E.action),E=E.next;while(E!==h);ln(y,o.memoizedState)||(Et=!0),o.memoizedState=y,o.baseQueue===null&&(o.baseState=y),s.lastRenderedState=y}return[y,c]}function Vh(){}function Kh(t,o){var s=Ye,c=qt(),h=o(),y=!ln(c.memoizedState,h);if(y&&(c.memoizedState=h,Et=!0),c=c.queue,Zu(Qh.bind(null,s,c,t),[t]),c.getSnapshot!==o||y||ot!==null&&ot.memoizedState.tag&1){if(s.flags|=2048,Ba(9,qh.bind(null,s,c,h,o),void 0,null),at===null)throw Error(r(349));(Wr&30)!==0||Gh(s,o,h)}return h}function Gh(t,o,s){t.flags|=16384,t={getSnapshot:o,value:s},o=Ye.updateQueue,o===null?(o={lastEffect:null,stores:null},Ye.updateQueue=o,o.stores=[t]):(s=o.stores,s===null?o.stores=[t]:s.push(t))}function qh(t,o,s,c){o.value=s,o.getSnapshot=c,Yh(o)&&Xh(t)}function Qh(t,o,s){return s(function(){Yh(o)&&Xh(t)})}function Yh(t){var o=t.getSnapshot;t=t.value;try{var s=o();return!ln(t,s)}catch{return!0}}function Xh(t){var o=Un(t,1);o!==null&&pn(o,t,1,-1)}function Zh(t){var o=Mn();return typeof t=="function"&&(t=t()),o.memoizedState=o.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:za,lastRenderedState:t},o.queue=t,t=t.dispatch=$2.bind(null,Ye,t),[o.memoizedState,t]}function Ba(t,o,s,c){return t={tag:t,create:o,destroy:s,deps:c,next:null},o=Ye.updateQueue,o===null?(o={lastEffect:null,stores:null},Ye.updateQueue=o,o.lastEffect=t.next=t):(s=o.lastEffect,s===null?o.lastEffect=t.next=t:(c=s.next,s.next=t,t.next=c,o.lastEffect=t)),t}function Jh(){return qt().memoizedState}function xs(t,o,s,c){var h=Mn();Ye.flags|=t,h.memoizedState=Ba(1|o,s,void 0,c===void 0?null:c)}function bs(t,o,s,c){var h=qt();c=c===void 0?null:c;var y=void 0;if(nt!==null){var E=nt.memoizedState;if(y=E.destroy,c!==null&&Gu(c,E.deps)){h.memoizedState=Ba(o,s,y,c);return}}Ye.flags|=t,h.memoizedState=Ba(1|o,s,y,c)}function em(t,o){return xs(8390656,8,t,o)}function Zu(t,o){return bs(2048,8,t,o)}function tm(t,o){return bs(4,2,t,o)}function nm(t,o){return bs(4,4,t,o)}function rm(t,o){if(typeof o=="function")return t=t(),o(t),function(){o(null)};if(o!=null)return t=t(),o.current=t,function(){o.current=null}}function om(t,o,s){return s=s!=null?s.concat([t]):null,bs(4,4,rm.bind(null,o,t),s)}function Ju(){}function am(t,o){var s=qt();o=o===void 0?null:o;var c=s.memoizedState;return c!==null&&o!==null&&Gu(o,c[1])?c[0]:(s.memoizedState=[t,o],t)}function im(t,o){var s=qt();o=o===void 0?null:o;var c=s.memoizedState;return c!==null&&o!==null&&Gu(o,c[1])?c[0]:(t=t(),s.memoizedState=[t,o],t)}function sm(t,o,s){return(Wr&21)===0?(t.baseState&&(t.baseState=!1,Et=!0),t.memoizedState=s):(ln(s,o)||(s=$p(),Ye.lanes|=s,Vr|=s,t.baseState=!0),o)}function A2(t,o){var s=$e;$e=s!==0&&4>s?s:4,t(!0);var c=Ku.transition;Ku.transition={};try{t(!1),o()}finally{$e=s,Ku.transition=c}}function lm(){return qt().memoizedState}function L2(t,o,s){var c=hr(t);if(s={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null},um(t))cm(o,s);else if(s=zh(t,o,s,c),s!==null){var h=wt();pn(s,t,c,h),dm(s,o,c)}}function $2(t,o,s){var c=hr(t),h={lane:c,action:s,hasEagerState:!1,eagerState:null,next:null};if(um(t))cm(o,h);else{var y=t.alternate;if(t.lanes===0&&(y===null||y.lanes===0)&&(y=o.lastRenderedReducer,y!==null))try{var E=o.lastRenderedState,_=y(E,s);if(h.hasEagerState=!0,h.eagerState=_,ln(_,E)){var I=o.interleaved;I===null?(h.next=h,zu(o)):(h.next=I.next,I.next=h),o.interleaved=h;return}}catch{}s=zh(t,o,h,c),s!==null&&(h=wt(),pn(s,t,c,h),dm(s,o,c))}}function um(t){var o=t.alternate;return t===Ye||o!==null&&o===Ye}function cm(t,o){Fa=ws=!0;var s=t.pending;s===null?o.next=o:(o.next=s.next,s.next=o),t.pending=o}function dm(t,o,s){if((s&4194240)!==0){var c=o.lanes;c&=t.pendingLanes,s|=c,o.lanes=s,tu(t,s)}}var Cs={readContext:Gt,useCallback:pt,useContext:pt,useEffect:pt,useImperativeHandle:pt,useInsertionEffect:pt,useLayoutEffect:pt,useMemo:pt,useReducer:pt,useRef:pt,useState:pt,useDebugValue:pt,useDeferredValue:pt,useTransition:pt,useMutableSource:pt,useSyncExternalStore:pt,useId:pt,unstable_isNewReconciler:!1},F2={readContext:Gt,useCallback:function(t,o){return Mn().memoizedState=[t,o===void 0?null:o],t},useContext:Gt,useEffect:em,useImperativeHandle:function(t,o,s){return s=s!=null?s.concat([t]):null,xs(4194308,4,rm.bind(null,o,t),s)},useLayoutEffect:function(t,o){return xs(4194308,4,t,o)},useInsertionEffect:function(t,o){return xs(4,2,t,o)},useMemo:function(t,o){var s=Mn();return o=o===void 0?null:o,t=t(),s.memoizedState=[t,o],t},useReducer:function(t,o,s){var c=Mn();return o=s!==void 0?s(o):o,c.memoizedState=c.baseState=o,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:o},c.queue=t,t=t.dispatch=L2.bind(null,Ye,t),[c.memoizedState,t]},useRef:function(t){var o=Mn();return t={current:t},o.memoizedState=t},useState:Zh,useDebugValue:Ju,useDeferredValue:function(t){return Mn().memoizedState=t},useTransition:function(){var t=Zh(!1),o=t[0];return t=A2.bind(null,t[1]),Mn().memoizedState=t,[o,t]},useMutableSource:function(){},useSyncExternalStore:function(t,o,s){var c=Ye,h=Mn();if(Ke){if(s===void 0)throw Error(r(407));s=s()}else{if(s=o(),at===null)throw Error(r(349));(Wr&30)!==0||Gh(c,o,s)}h.memoizedState=s;var y={value:s,getSnapshot:o};return h.queue=y,em(Qh.bind(null,c,y,t),[t]),c.flags|=2048,Ba(9,qh.bind(null,c,y,s,o),void 0,null),s},useId:function(){var t=Mn(),o=at.identifierPrefix;if(Ke){var s=Bn,c=zn;s=(c&~(1<<32-sn(c)-1)).toString(32)+s,o=":"+o+"R"+s,s=ja++,0<s&&(o+="H"+s.toString(32)),o+=":"}else s=I2++,o=":"+o+"r"+s.toString(32)+":";return t.memoizedState=o},unstable_isNewReconciler:!1},j2={readContext:Gt,useCallback:am,useContext:Gt,useEffect:Zu,useImperativeHandle:om,useInsertionEffect:tm,useLayoutEffect:nm,useMemo:im,useReducer:Yu,useRef:Jh,useState:function(){return Yu(za)},useDebugValue:Ju,useDeferredValue:function(t){var o=qt();return sm(o,nt.memoizedState,t)},useTransition:function(){var t=Yu(za)[0],o=qt().memoizedState;return[t,o]},useMutableSource:Vh,useSyncExternalStore:Kh,useId:lm,unstable_isNewReconciler:!1},z2={readContext:Gt,useCallback:am,useContext:Gt,useEffect:Zu,useImperativeHandle:om,useInsertionEffect:tm,useLayoutEffect:nm,useMemo:im,useReducer:Xu,useRef:Jh,useState:function(){return Xu(za)},useDebugValue:Ju,useDeferredValue:function(t){var o=qt();return nt===null?o.memoizedState=t:sm(o,nt.memoizedState,t)},useTransition:function(){var t=Xu(za)[0],o=qt().memoizedState;return[t,o]},useMutableSource:Vh,useSyncExternalStore:Kh,useId:lm,unstable_isNewReconciler:!1};function cn(t,o){if(t&&t.defaultProps){o=N({},o),t=t.defaultProps;for(var s in t)o[s]===void 0&&(o[s]=t[s]);return o}return o}function ec(t,o,s,c){o=t.memoizedState,s=s(c,o),s=s==null?o:N({},o,s),t.memoizedState=s,t.lanes===0&&(t.updateQueue.baseState=s)}var ks={isMounted:function(t){return(t=t._reactInternals)?$r(t)===t:!1},enqueueSetState:function(t,o,s){t=t._reactInternals;var c=wt(),h=hr(t),y=Hn(c,h);y.payload=o,s!=null&&(y.callback=s),o=cr(t,y,h),o!==null&&(pn(o,t,h,c),ms(o,t,h))},enqueueReplaceState:function(t,o,s){t=t._reactInternals;var c=wt(),h=hr(t),y=Hn(c,h);y.tag=1,y.payload=o,s!=null&&(y.callback=s),o=cr(t,y,h),o!==null&&(pn(o,t,h,c),ms(o,t,h))},enqueueForceUpdate:function(t,o){t=t._reactInternals;var s=wt(),c=hr(t),h=Hn(s,c);h.tag=2,o!=null&&(h.callback=o),o=cr(t,h,c),o!==null&&(pn(o,t,c,s),ms(o,t,c))}};function fm(t,o,s,c,h,y,E){return t=t.stateNode,typeof t.shouldComponentUpdate=="function"?t.shouldComponentUpdate(c,y,E):o.prototype&&o.prototype.isPureReactComponent?!Ma(s,c)||!Ma(h,y):!0}function pm(t,o,s){var c=!1,h=sr,y=o.contextType;return typeof y=="object"&&y!==null?y=Gt(y):(h=St(o)?jr:ft.current,c=o.contextTypes,y=(c=c!=null)?ko(t,h):sr),o=new o(s,y),t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,o.updater=ks,t.stateNode=o,o._reactInternals=t,c&&(t=t.stateNode,t.__reactInternalMemoizedUnmaskedChildContext=h,t.__reactInternalMemoizedMaskedChildContext=y),o}function hm(t,o,s,c){t=o.state,typeof o.componentWillReceiveProps=="function"&&o.componentWillReceiveProps(s,c),typeof o.UNSAFE_componentWillReceiveProps=="function"&&o.UNSAFE_componentWillReceiveProps(s,c),o.state!==t&&ks.enqueueReplaceState(o,o.state,null)}function tc(t,o,s,c){var h=t.stateNode;h.props=s,h.state=t.memoizedState,h.refs={},Bu(t);var y=o.contextType;typeof y=="object"&&y!==null?h.context=Gt(y):(y=St(o)?jr:ft.current,h.context=ko(t,y)),h.state=t.memoizedState,y=o.getDerivedStateFromProps,typeof y=="function"&&(ec(t,o,y,s),h.state=t.memoizedState),typeof o.getDerivedStateFromProps=="function"||typeof h.getSnapshotBeforeUpdate=="function"||typeof h.UNSAFE_componentWillMount!="function"&&typeof h.componentWillMount!="function"||(o=h.state,typeof h.componentWillMount=="function"&&h.componentWillMount(),typeof h.UNSAFE_componentWillMount=="function"&&h.UNSAFE_componentWillMount(),o!==h.state&&ks.enqueueReplaceState(h,h.state,null),vs(t,s,h,c),h.state=t.memoizedState),typeof h.componentDidMount=="function"&&(t.flags|=4194308)}function No(t,o){try{var s="",c=o;do s+=V(c),c=c.return;while(c);var h=s}catch(y){h=` 7Error generating stack: `+y.message+` 8`+y.stack}return{value:t,source:o,stack:h,digest:null}}function nc(t,o,s){return{value:t,source:null,stack:s??null,digest:o??null}}function V3(t,o){}var B2=typeof WeakMap=="function"?WeakMap:Map;function mm(t,o,s){s=Hn(-1,s),s.tag=3,s.payload={element:null};var c=o.value;return s.callback=function(){_s||(_s=!0,yc=c)},s}function vm(t,o,s){s=Hn(-1,s),s.tag=3;var c=t.type.getDerivedStateFromError;if(typeof c=="function"){var h=o.value;s.payload=function(){return c(h)},s.callback=function(){}}var y=t.stateNode;return y!==null&&typeof y.componentDidCatch=="function"&&(s.callback=function(){typeof c!="function"&&(fr===null?fr=new Set([this]):fr.add(this));var E=o.stack;this.componentDidCatch(o.value,{componentStack:E!==null?E:""})}),s}function ym(t,o,s){var c=t.pingCache;if(c===null){c=t.pingCache=new B2;var h=new Set;c.set(o,h)}else h=c.get(o),h===void 0&&(h=new Set,c.set(o,h));h.has(s)||(h.add(s),t=tb.bind(null,t,o,s),o.then(t,t))}function gm(t){do{var o;if((o=t.tag===13)&&(o=t.memoizedState,o=o!==null?o.dehydrated!==null:!0),o)return t;t=t.return}while(t!==null);return null}function wm(t,o,s,c,h){return(t.mode&1)===0?(t===o?t.flags|=65536:(t.flags|=128,s.flags|=131072,s.flags&=-52805,s.tag===1&&(s.alternate===null?s.tag=17:(o=Hn(-1,1),o.tag=2,cr(s,o,1))),s.lanes|=1),t):(t.flags|=65536,t.lanes=h,t)}var U2=L.ReactCurrentOwner,Et=!1;function gt(t,o,s,c){o.child=t===null?jh(o,null,s,c):Mo(o,t.child,s,c)}function xm(t,o,s,c,h){s=s.render;var y=o.ref;return To(o,h),c=qu(t,o,s,c,y,h),s=Qu(),t!==null&&!Et?(o.updateQueue=t.updateQueue,o.flags&=-2053,t.lanes&=~h,Wn(t,o,h)):(Ke&&s&&Nu(o),o.flags|=1,gt(t,o,c,h),o.child)}function bm(t,o,s,c,h){if(t===null){var y=s.type;return typeof y=="function"&&!Sc(y)&&y.defaultProps===void 0&&s.compare===null&&s.defaultProps===void 0?(o.tag=15,o.type=y,Cm(t,o,y,c,h)):(t=Ls(s.type,null,c,o,o.mode,h),t.ref=o.ref,t.return=o,o.child=t)}if(y=t.child,(t.lanes&h)===0){var E=y.memoizedProps;if(s=s.compare,s=s!==null?s:Ma,s(E,c)&&t.ref===o.ref)return Wn(t,o,h)}return o.flags|=1,t=vr(y,c),t.ref=o.ref,t.return=o,o.child=t}function Cm(t,o,s,c,h){if(t!==null){var y=t.memoizedProps;if(Ma(y,c)&&t.ref===o.ref)if(Et=!1,o.pendingProps=c=y,(t.lanes&h)!==0)(t.flags&131072)!==0&&(Et=!0);else return o.lanes=t.lanes,Wn(t,o,h)}return rc(t,o,s,c,h)}function km(t,o,s){var c=o.pendingProps,h=c.children,y=t!==null?t.memoizedState:null;if(c.mode==="hidden")if((o.mode&1)===0)o.memoizedState={baseLanes:0,cachePool:null,transitions:null},Fe(Do,Dt),Dt|=s;else{if((s&1073741824)===0)return t=y!==null?y.baseLanes|s:s,o.lanes=o.childLanes=1073741824,o.memoizedState={baseLanes:t,cachePool:null,transitions:null},o.updateQueue=null,Fe(Do,Dt),Dt|=t,null;o.memoizedState={baseLanes:0,cachePool:null,transitions:null},c=y!==null?y.baseLanes:s,Fe(Do,Dt),Dt|=c}else y!==null?(c=y.baseLanes|s,o.memoizedState=null):c=s,Fe(Do,Dt),Dt|=c;return gt(t,o,h,s),o.child}function Sm(t,o){var s=o.ref;(t===null&&s!==null||t!==null&&t.ref!==s)&&(o.flags|=512,o.flags|=2097152)}
vendor: 5,026 bytes, line 8
8function rc(t,o,s,c,h){var y=St(s)?jr:ft.current;return y=ko(o,y),To(o,h),s=qu(t,o,s,c,y,h),c=Qu(),t!==null&&!Et?(o.updateQueue=t.updateQueue,o.flags&=-2053,t.lanes&=~h,Wn(t,o,h)):(Ke&&c&&Nu(o),o.flags|=1,gt(t,o,s,h),o.child)}function Em(t,o,s,c,h){if(St(s)){var y=!0;ss(o)}else y=!1;if(To(o,h),o.stateNode===null)Es(t,o),pm(o,s,c),tc(o,s,c,h),c=!0;else if(t===null){var E=o.stateNode,_=o.memoizedProps;E.props=_;var I=E.context,H=s.contextType;typeof H=="object"&&H!==null?H=Gt(H):(H=St(s)?jr:ft.current,H=ko(o,H));var ee=s.getDerivedStateFromProps,te=typeof ee=="function"||typeof E.getSnapshotBeforeUpdate=="function";te||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(_!==c||I!==H)&&hm(o,E,c,H),ur=!1;var J=o.memoizedState;E.state=J,vs(o,c,E,h),I=o.memoizedState,_!==c||J!==I||kt.current||ur?(typeof ee=="function"&&(ec(o,s,ee,c),I=o.memoizedState),(_=ur||fm(o,s,_,c,J,I,H))?(te||typeof E.UNSAFE_componentWillMount!="function"&&typeof E.componentWillMount!="function"||(typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount()),typeof E.componentDidMount=="function"&&(o.flags|=4194308)):(typeof E.componentDidMount=="function"&&(o.flags|=4194308),o.memoizedProps=c,o.memoizedState=I),E.props=c,E.state=I,E.context=H,c=_):(typeof E.componentDidMount=="function"&&(o.flags|=4194308),c=!1)}else{E=o.stateNode,Bh(t,o),_=o.memoizedProps,H=o.type===o.elementType?_:cn(o.type,_),E.props=H,te=o.pendingProps,J=E.context,I=s.contextType,typeof I=="object"&&I!==null?I=Gt(I):(I=St(s)?jr:ft.current,I=ko(o,I));var fe=s.getDerivedStateFromProps;(ee=typeof fe=="function"||typeof E.getSnapshotBeforeUpdate=="function")||typeof E.UNSAFE_componentWillReceiveProps!="function"&&typeof E.componentWillReceiveProps!="function"||(_!==te||J!==I)&&hm(o,E,c,I),ur=!1,J=o.memoizedState,E.state=J,vs(o,c,E,h);var ye=o.memoizedState;_!==te||J!==ye||kt.current||ur?(typeof fe=="function"&&(ec(o,s,fe,c),ye=o.memoizedState),(H=ur||fm(o,s,H,c,J,ye,I)||!1)?(ee||typeof E.UNSAFE_componentWillUpdate!="function"&&typeof E.componentWillUpdate!="function"||(typeof E.componentWillUpdate=="function"&&E.componentWillUpdate(c,ye,I),typeof E.UNSAFE_componentWillUpdate=="function"&&E.UNSAFE_componentWillUpdate(c,ye,I)),typeof E.componentDidUpdate=="function"&&(o.flags|=4),typeof E.getSnapshotBeforeUpdate=="function"&&(o.flags|=1024)):(typeof E.componentDidUpdate!="function"||_===t.memoizedProps&&J===t.memoizedState||(o.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||_===t.memoizedProps&&J===t.memoizedState||(o.flags|=1024),o.memoizedProps=c,o.memoizedState=ye),E.props=c,E.state=ye,E.context=I,c=H):(typeof E.componentDidUpdate!="function"||_===t.memoizedProps&&J===t.memoizedState||(o.flags|=4),typeof E.getSnapshotBeforeUpdate!="function"||_===t.memoizedProps&&J===t.memoizedState||(o.flags|=1024),c=!1)}return oc(t,o,s,c,y,h)}function oc(t,o,s,c,h,y){Sm(t,o);var E=(o.flags&128)!==0;if(!c&&!E)return h&&_h(o,s,!1),Wn(t,o,y);c=o.stateNode,U2.current=o;var _=E&&typeof s.getDerivedStateFromError!="function"?null:c.render();return o.flags|=1,t!==null&&E?(o.child=Mo(o,t.child,null,y),o.child=Mo(o,null,_,y)):gt(t,o,_,y),o.memoizedState=c.state,h&&_h(o,s,!0),o.child}function Pm(t){var o=t.stateNode;o.pendingContext?Rh(t,o.pendingContext,o.pendingContext!==o.context):o.context&&Rh(t,o.context,!1),Uu(t,o.containerInfo)}function Mm(t,o,s,c,h){return Po(),Au(h),o.flags|=256,gt(t,o,s,c),o.child}var ac={dehydrated:null,treeContext:null,retryLane:0};function ic(t){return{baseLanes:t,cachePool:null,transitions:null}}function Rm(t,o,s){var c=o.pendingProps,h=Qe.current,y=!1,E=(o.flags&128)!==0,_;if((_=E)||(_=t!==null&&t.memoizedState===null?!1:(h&2)!==0),_?(y=!0,o.flags&=-129):(t===null||t.memoizedState!==null)&&(h|=1),Fe(Qe,h&1),t===null)return Iu(o),t=o.memoizedState,t!==null&&(t=t.dehydrated,t!==null)?((o.mode&1)===0?o.lanes=1:t.data==="$!"?o.lanes=8:o.lanes=1073741824,null):(E=c.children,t=c.fallback,y?(c=o.mode,y=o.child,E={mode:"hidden",children:E},(c&1)===0&&y!==null?(y.childLanes=0,y.pendingProps=E):y=$s(E,c,0,null),t=Qr(t,c,s,null),y.return=o,t.return=o,y.sibling=t,o.child=y,o.child.memoizedState=ic(s),o.memoizedState=ac,t):sc(o,E));if(h=t.memoizedState,h!==null&&(_=h.dehydrated,_!==null))return H2(t,o,E,c,_,h,s);if(y){y=c.fallback,E=o.mode,h=t.child,_=h.sibling;var I={mode:"hidden",children:c.children};return(E&1)===0&&o.child!==h?(c=o.child,c.childLanes=0,c.pendingProps=I,o.deletions=null):(c=vr(h,I),c.subtreeFlags=h.subtreeFlags&14680064),_!==null?y=vr(_,y):(y=Qr(y,E,s,null),y.flags|=2),y.return=o,c.return=o,c.sibling=y,o.child=c,c=y,y=o.child,E=t.child.memoizedState,E=E===null?ic(s):{baseLanes:E.baseLanes|s,cachePool:null,transitions:E.transitions},y.memoizedState=E,y.childLanes=t.childLanes&~s,o.memoizedState=ac,c}return y=t.child,t=y.sibling,c=vr(y,{mode:"visible",children:c.children}),(o.mode&1)===0&&(c.lanes=s),c.return=o,c.sibling=null,t!==null&&(s=o.deleti
vendor: 7,646 bytes, line 8
8ons,s===null?(o.deletions=[t],o.flags|=16):s.push(t)),o.child=c,o.memoizedState=null,c}function sc(t,o){return o=$s({mode:"visible",children:o},t.mode,0,null),o.return=t,t.child=o}function Ss(t,o,s,c){return c!==null&&Au(c),Mo(o,t.child,null,s),t=sc(o,o.pendingProps.children),t.flags|=2,o.memoizedState=null,t}function H2(t,o,s,c,h,y,E){if(s)return o.flags&256?(o.flags&=-257,c=nc(Error(r(422))),Ss(t,o,E,c)):o.memoizedState!==null?(o.child=t.child,o.flags|=128,null):(y=c.fallback,h=o.mode,c=$s({mode:"visible",children:c.children},h,0,null),y=Qr(y,h,E,null),y.flags|=2,c.return=o,y.return=o,c.sibling=y,o.child=c,(o.mode&1)!==0&&Mo(o,t.child,null,E),o.child.memoizedState=ic(E),o.memoizedState=ac,y);if((o.mode&1)===0)return Ss(t,o,E,null);if(h.data==="$!"){if(c=h.nextSibling&&h.nextSibling.dataset,c)var _=c.dgst;return c=_,y=Error(r(419)),c=nc(y,c,void 0),Ss(t,o,E,c)}if(_=(E&t.childLanes)!==0,Et||_){if(c=at,c!==null){switch(E&-E){case 4:h=2;break;case 16:h=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:h=32;break;case 536870912:h=268435456;break;default:h=0}h=(h&(c.suspendedLanes|E))!==0?0:h,h!==0&&h!==y.retryLane&&(y.retryLane=h,Un(t,h),pn(c,t,h,-1))}return kc(),c=nc(Error(r(421))),Ss(t,o,E,c)}return h.data==="$?"?(o.flags|=128,o.child=t.child,o=nb.bind(null,t),h._reactRetry=o,null):(t=y.treeContext,Ot=ar(h.nextSibling),Nt=o,Ke=!0,un=null,t!==null&&(Vt[Kt++]=zn,Vt[Kt++]=Bn,Vt[Kt++]=zr,zn=t.id,Bn=t.overflow,zr=o),o=sc(o,c.children),o.flags|=4096,o)}function Tm(t,o,s){t.lanes|=o;var c=t.alternate;c!==null&&(c.lanes|=o),ju(t.return,o,s)}function lc(t,o,s,c,h){var y=t.memoizedState;y===null?t.memoizedState={isBackwards:o,rendering:null,renderingStartTime:0,last:c,tail:s,tailMode:h}:(y.isBackwards=o,y.rendering=null,y.renderingStartTime=0,y.last=c,y.tail=s,y.tailMode=h)}function _m(t,o,s){var c=o.pendingProps,h=c.revealOrder,y=c.tail;if(gt(t,o,c.children,s),c=Qe.current,(c&2)!==0)c=c&1|2,o.flags|=128;else{if(t!==null&&(t.flags&128)!==0)e:for(t=o.child;t!==null;){if(t.tag===13)t.memoizedState!==null&&Tm(t,s,o);else if(t.tag===19)Tm(t,s,o);else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===o)break e;for(;t.sibling===null;){if(t.return===null||t.return===o)break e;t=t.return}t.sibling.return=t.return,t=t.sibling}c&=1}if(Fe(Qe,c),(o.mode&1)===0)o.memoizedState=null;else switch(h){case"forwards":for(s=o.child,h=null;s!==null;)t=s.alternate,t!==null&&ys(t)===null&&(h=s),s=s.sibling;s=h,s===null?(h=o.child,o.child=null):(h=s.sibling,s.sibling=null),lc(o,!1,h,s,y);break;case"backwards":for(s=null,h=o.child,o.child=null;h!==null;){if(t=h.alternate,t!==null&&ys(t)===null){o.child=h;break}t=h.sibling,h.sibling=s,s=h,h=t}lc(o,!0,s,null,y);break;case"together":lc(o,!1,null,null,void 0);break;default:o.memoizedState=null}return o.child}function Es(t,o){(o.mode&1)===0&&t!==null&&(t.alternate=null,o.alternate=null,o.flags|=2)}function Wn(t,o,s){if(t!==null&&(o.dependencies=t.dependencies),Vr|=o.lanes,(s&o.childLanes)===0)return null;if(t!==null&&o.child!==t.child)throw Error(r(153));if(o.child!==null){for(t=o.child,s=vr(t,t.pendingProps),o.child=s,s.return=o;t.sibling!==null;)t=t.sibling,s=s.sibling=vr(t,t.pendingProps),s.return=o;s.sibling=null}return o.child}function W2(t,o,s){switch(o.tag){case 3:Pm(o),Po();break;case 5:Wh(o);break;case 1:St(o.type)&&ss(o);break;case 4:Uu(o,o.stateNode.containerInfo);break;case 10:var c=o.type._context,h=o.memoizedProps.value;Fe(ps,c._currentValue),c._currentValue=h;break;case 13:if(c=o.memoizedState,c!==null)return c.dehydrated!==null?(Fe(Qe,Qe.current&1),o.flags|=128,null):(s&o.child.childLanes)!==0?Rm(t,o,s):(Fe(Qe,Qe.current&1),t=Wn(t,o,s),t!==null?t.sibling:null);Fe(Qe,Qe.current&1);break;case 19:if(c=(s&o.childLanes)!==0,(t.flags&128)!==0){if(c)return _m(t,o,s);o.flags|=128}if(h=o.memoizedState,h!==null&&(h.rendering=null,h.tail=null,h.lastEffect=null),Fe(Qe,Qe.current),c)break;return null;case 22:case 23:return o.lanes=0,km(t,o,s)}return Wn(t,o,s)}var Nm,uc,Om,Dm;Nm=function(t,o){for(var s=o.child;s!==null;){if(s.tag===5||s.tag===6)t.appendChild(s.stateNode);else if(s.tag!==4&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===o)break;for(;s.sibling===null;){if(s.return===null||s.return===o)return;s=s.return}s.sibling.return=s.return,s=s.sibling}},uc=function(){},Om=function(t,o,s,c){var h=t.memoizedProps;if(h!==c){t=o.stateNode,Hr(Pn.current);var y=null;switch(s){case"input":h=Se(t,h),c=Se(t,c),y=[];break;case"select":h=N({},h,{value:void 0}),c=N({},c,{value:void 0}),y=[];break;case"textarea":h=Or(t,h),c=Or(t,c),y=[];break;default:typeof h.onClick!="function"&&typeof c.onClick=="function"&&(t.onclick=os)}Wt(s,c);var E;s=null;for(H in h)if(!c.hasOwnProperty(H)&&h.hasOwnProperty(H)&&h[H]!=null)if(H==="style"){var _=h[H];for(E in _)_.hasOwnProperty(E)&&(s||(s={}),s[E]="")}else H!=="dangerouslySetInnerHTML"&&H!=="children"&&H!=="suppressContentEditableWarning"&&H!=="suppressHydrationWarning"&&H!=="autoFocus"&&(i.hasOwnProperty(H)?y||(y=[]):(y=y||[]).push(H,null));for(H in c){var I=c[H];if(_=h?.[H],c.hasOwnProperty(H)&&I!==_&&(I!=null||_!=null))if(H==="style")if(_){for(E in _)!_.hasOwnProperty(E)||I&&I.hasOwnProperty(E)||(s||(s={}),s[E]="");for(E in I)I.hasOwnProperty(E)&&_[E]!==I[E]&&(s||(s={}),s[E]=I[E])}else s||(y||(y=[]),y.push(H,s)),s=I;else H==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,_=_?_.__html:void 0,I!=null&&_!==I&&(y=y||[]).push(H,I)):H==="children"?typeof I!="string"&&typeof I!="number"||(y=y||[]).push(H,""+I):H!=="suppressContentEditableWarning"&&H!=="suppressHydrationWarning"&&(i.hasOwnProperty(H)?(I!=null&&H==="onScroll"&&Be("scroll",t),y||_===I||(y=[])):(y=y||[]).push(H,I))}s&&(y=y||[]).push("style",s);var H=y;(o.updateQueue=H)&&(o.flags|=4)}},Dm=function(t,o,s,c){s!==c&&(o.flags|=4)};function Ua(t,o){if(!Ke)switch(t.tailMode){case"hidden":o=t.tail;for(var s=null;o!==null;)o.alternate!==null&&(s=o),o=o.sibling;s===null?t.tail=null:s.sibling=null;break;case"collapsed":s=t.tail;for(var c=null;s!==null;)s.alternate!==null&&(c=s),s=s.sibling;c===null?o||t.tail===null?t.tail=null:t.tail.sibling=null:c.sibling=null}}function ht(t){var o=t.alternate!==null&&t.alternate.child===t.child,s=0,c=0;if(o)for(var h=t.child;h!==null;)s|=h.lanes|h.childLanes,c|=h.subtreeFlags&14680064,c|=h.flags&14680064,h.return=t,h=h.sibling;else for(h=t.child;h!==null;)s|=h.lanes|h.childLanes,c|=h.subtreeFlags,c|=h.flags,h.return=t,h=h.sibling;return t.subtreeFlags|=c,t.childLanes=s,o}function V2(t,o,s){var c=o.pendingProps;switch(Ou(o),o.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ht(o),null;case 1:return St(o.type)&&is(),ht(o),null;case 3:return c=o.stateNode,_o(),Ue(kt),Ue(ft),Vu(),c.pendingContext&&(c.context=c.pendingContext,c.pendingContext=null),(t===null||t.child===null)&&(ds(o)?o.flags|=4:t===null||t.memoizedState.isDehydrated&&(o.flags&256)===0||(o.flags|=1024,un!==null&&(xc(un),un=null))),uc(t,o),ht(o),null;case 5:Hu(o);var h=Hr($a.current);if(s=o.type,t!==null&&o.stateNode!=null)Om(t,o,s,c,h),t.ref!==o.ref&&(o.flags|=512,o.flags|=2097152);else{if(!c){if(o.stateNode===null)throw Error(r(166));return ht(o),null}if(t=Hr(Pn.current),ds(o)){c=o.stateNode,s=o.type;var y=o.memoizedProps;switch(c[En]=o,c[Oa]=y,t=(o.mode&1)!==0,s){case"dialog":Be("cancel",c),Be("close",c);break;case"iframe":case"object":case"embed":Be("load",c);break;case"video":case"audio":for(h=0;h<Ta.length;h++)Be(Ta[h],c);break;case"source":Be("error",c);break;
vendor: 4,867 bytes, line 8
8case"img":case"image":case"link":Be("error",c),Be("load",c);break;case"details":Be("toggle",c);break;case"input":We(c,y),Be("invalid",c);break;case"select":c._wrapperState={wasMultiple:!!y.multiple},Be("invalid",c);break;case"textarea":An(c,y),Be("invalid",c)}Wt(s,y),h=null;for(var E in y)if(y.hasOwnProperty(E)){var _=y[E];E==="children"?typeof _=="string"?c.textContent!==_&&(y.suppressHydrationWarning!==!0&&rs(c.textContent,_,t),h=["children",_]):typeof _=="number"&&c.textContent!==""+_&&(y.suppressHydrationWarning!==!0&&rs(c.textContent,_,t),h=["children",""+_]):i.hasOwnProperty(E)&&_!=null&&E==="onScroll"&&Be("scroll",c)}switch(s){case"input":xe(c),Ct(c,y,!0);break;case"textarea":xe(c),Ir(c);break;case"select":case"option":break;default:typeof y.onClick=="function"&&(c.onclick=os)}c=h,o.updateQueue=c,c!==null&&(o.flags|=4)}else{E=h.nodeType===9?h:h.ownerDocument,t==="http://www.w3.org/1999/xhtml"&&(t=Ln(s)),t==="http://www.w3.org/1999/xhtml"?s==="script"?(t=E.createElement("div"),t.innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):typeof c.is=="string"?t=E.createElement(s,{is:c.is}):(t=E.createElement(s),s==="select"&&(E=t,c.multiple?E.multiple=!0:c.size&&(E.size=c.size))):t=E.createElementNS(t,s),t[En]=o,t[Oa]=c,Nm(t,o,!1,!1),o.stateNode=t;e:{switch(E=da(s,c),s){case"dialog":Be("cancel",t),Be("close",t),h=c;break;case"iframe":case"object":case"embed":Be("load",t),h=c;break;case"video":case"audio":for(h=0;h<Ta.length;h++)Be(Ta[h],t);h=c;break;case"source":Be("error",t),h=c;break;case"img":case"image":case"link":Be("error",t),Be("load",t),h=c;break;case"details":Be("toggle",t),h=c;break;case"input":We(t,c),h=Se(t,c),Be("invalid",t);break;case"option":h=c;break;case"select":t._wrapperState={wasMultiple:!!c.multiple},h=N({},c,{value:void 0}),Be("invalid",t);break;case"textarea":An(t,c),h=Or(t,c),Be("invalid",t);break;default:h=c}Wt(s,h),_=h;for(y in _)if(_.hasOwnProperty(y)){var I=_[y];y==="style"?Ai(t,I):y==="dangerouslySetInnerHTML"?(I=I?I.__html:void 0,I!=null&&Ht(t,I)):y==="children"?typeof I=="string"?(s!=="textarea"||I!=="")&&on(t,I):typeof I=="number"&&on(t,""+I):y!=="suppressContentEditableWarning"&&y!=="suppressHydrationWarning"&&y!=="autoFocus"&&(i.hasOwnProperty(y)?I!=null&&y==="onScroll"&&Be("scroll",t):I!=null&&O(t,y,I,E))}switch(s){case"input":xe(t),Ct(t,c,!1);break;case"textarea":xe(t),Ir(t);break;case"option":c.value!=null&&t.setAttribute("value",""+Z(c.value));break;case"select":t.multiple=!!c.multiple,y=c.value,y!=null?kn(t,!!c.multiple,y,!1):c.defaultValue!=null&&kn(t,!!c.multiple,c.defaultValue,!0);break;default:typeof h.onClick=="function"&&(t.onclick=os)}switch(s){case"button":case"input":case"select":case"textarea":c=!!c.autoFocus;break e;case"img":c=!0;break e;default:c=!1}}c&&(o.flags|=4)}o.ref!==null&&(o.flags|=512,o.flags|=2097152)}return ht(o),null;case 6:if(t&&o.stateNode!=null)Dm(t,o,t.memoizedProps,c);else{if(typeof c!="string"&&o.stateNode===null)throw Error(r(166));if(s=Hr($a.current),Hr(Pn.current),ds(o)){if(c=o.stateNode,s=o.memoizedProps,c[En]=o,(y=c.nodeValue!==s)&&(t=Nt,t!==null))switch(t.tag){case 3:rs(c.nodeValue,s,(t.mode&1)!==0);break;case 5:t.memoizedProps.suppressHydrationWarning!==!0&&rs(c.nodeValue,s,(t.mode&1)!==0)}y&&(o.flags|=4)}else c=(s.nodeType===9?s:s.ownerDocument).createTextNode(c),c[En]=o,o.stateNode=c}return ht(o),null;case 13:if(Ue(Qe),c=o.memoizedState,t===null||t.memoizedState!==null&&t.memoizedState.dehydrated!==null){if(Ke&&Ot!==null&&(o.mode&1)!==0&&(o.flags&128)===0)Lh(),Po(),o.flags|=98560,y=!1;else if(y=ds(o),c!==null&&c.dehydrated!==null){if(t===null){if(!y)throw Error(r(318));if(y=o.memoizedState,y=y!==null?y.dehydrated:null,!y)throw Error(r(317));y[En]=o}else Po(),(o.flags&128)===0&&(o.memoizedState=null),o.flags|=4;ht(o),y=!1}else un!==null&&(xc(un),un=null),y=!0;if(!y)return o.flags&65536?o:null}return(o.flags&128)!==0?(o.lanes=s,o):(c=c!==null,c!==(t!==null&&t.memoizedState!==null)&&c&&(o.child.flags|=8192,(o.mode&1)!==0&&(t===null||(Qe.current&1)!==0?rt===0&&(rt=3):kc())),o.updateQueue!==null&&(o.flags|=4),ht(o),null);case 4:return _o(),uc(t,o),t===null&&_a(o.stateNode.containerInfo),ht(o),null;case 10:return Fu(o.type._context),ht(o),null;case 17:return St(o.type)&&is(),ht(o),null;case 19:if(Ue(Qe),y=o.memoizedState,y===null)return ht(o),null;if(c=(o.flags&128)!==0,E=y.rendering,E===null)if(c)Ua(y,!1);else{if(rt!==0||t!==null&&(t.flags&128)!==0)for(t=o.child;t!==null;){if(E=ys(t),E!==null){for(o.flags|=128,Ua(y,!1),c=E.updateQueue,c!==null&&(o.updateQueue=c,o.flags|=4),o.subtreeFlags=0,c=s,s=o.child;s!==null;)y=s,t=c,y.flags&=14680066,E=y.alternate,E===null?(y.childLanes=0,y.lanes=t,y.child=null,y.subtreeFlags=0,y.memoizedProps=null,y.memoizedState=null,y.updateQueue=null,y.dependencies=null,y.stateNode=null):(y.childLanes=E.childLanes,y.lanes=E.lanes,y.child=E.child,y.subtreeFlags=0,y.deleti
vendor: 6,603 bytes, line 8
8ons=null,y.memoizedProps=E.memoizedProps,y.memoizedState=E.memoizedState,y.updateQueue=E.updateQueue,y.type=E.type,t=E.dependencies,y.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),s=s.sibling;return Fe(Qe,Qe.current&1|2),o.child}t=t.sibling}y.tail!==null&&Je()>Io&&(o.flags|=128,c=!0,Ua(y,!1),o.lanes=4194304)}else{if(!c)if(t=ys(E),t!==null){if(o.flags|=128,c=!0,s=t.updateQueue,s!==null&&(o.updateQueue=s,o.flags|=4),Ua(y,!0),y.tail===null&&y.tailMode==="hidden"&&!E.alternate&&!Ke)return ht(o),null}else 2*Je()-y.renderingStartTime>Io&&s!==1073741824&&(o.flags|=128,c=!0,Ua(y,!1),o.lanes=4194304);y.isBackwards?(E.sibling=o.child,o.child=E):(s=y.last,s!==null?s.sibling=E:o.child=E,y.last=E)}return y.tail!==null?(o=y.tail,y.rendering=o,y.tail=o.sibling,y.renderingStartTime=Je(),o.sibling=null,s=Qe.current,Fe(Qe,c?s&1|2:s&1),o):(ht(o),null);case 22:case 23:return Cc(),c=o.memoizedState!==null,t!==null&&t.memoizedState!==null!==c&&(o.flags|=8192),c&&(o.mode&1)!==0?(Dt&1073741824)!==0&&(ht(o),o.subtreeFlags&6&&(o.flags|=8192)):ht(o),null;case 24:return null;case 25:return null}throw Error(r(156,o.tag))}function K2(t,o){switch(Ou(o),o.tag){case 1:return St(o.type)&&is(),t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 3:return _o(),Ue(kt),Ue(ft),Vu(),t=o.flags,(t&65536)!==0&&(t&128)===0?(o.flags=t&-65537|128,o):null;case 5:return Hu(o),null;case 13:if(Ue(Qe),t=o.memoizedState,t!==null&&t.dehydrated!==null){if(o.alternate===null)throw Error(r(340));Po()}return t=o.flags,t&65536?(o.flags=t&-65537|128,o):null;case 19:return Ue(Qe),null;case 4:return _o(),null;case 10:return Fu(o.type._context),null;case 22:case 23:return Cc(),null;case 24:return null;default:return null}}var Ps=!1,mt=!1,G2=typeof WeakSet=="function"?WeakSet:Set,ve=null;function Oo(t,o){var s=t.ref;if(s!==null)if(typeof s=="function")try{s(null)}catch(c){Xe(t,o,c)}else s.current=null}function cc(t,o,s){try{s()}catch(c){Xe(t,o,c)}}var Im=!1;function q2(t,o){if(ku=Ki,t=fh(),mu(t)){if("selectionStart"in t)var s={start:t.selectionStart,end:t.selectionEnd};else e:{s=(s=t.ownerDocument)&&s.defaultView||window;var c=s.getSelection&&s.getSelection();if(c&&c.rangeCount!==0){s=c.anchorNode;var h=c.anchorOffset,y=c.focusNode;c=c.focusOffset;try{s.nodeType,y.nodeType}catch{s=null;break e}var E=0,_=-1,I=-1,H=0,ee=0,te=t,J=null;t:for(;;){for(var fe;te!==s||h!==0&&te.nodeType!==3||(_=E+h),te!==y||c!==0&&te.nodeType!==3||(I=E+c),te.nodeType===3&&(E+=te.nodeValue.length),(fe=te.firstChild)!==null;)J=te,te=fe;for(;;){if(te===t)break t;if(J===s&&++H===h&&(_=E),J===y&&++ee===c&&(I=E),(fe=te.nextSibling)!==null)break;te=J,J=te.parentNode}te=fe}s=_===-1||I===-1?null:{start:_,end:I}}else s=null}s=s||{start:0,end:0}}else s=null;for(Su={focusedElem:t,selectionRange:s},Ki=!1,ve=o;ve!==null;)if(o=ve,t=o.child,(o.subtreeFlags&1028)!==0&&t!==null)t.return=o,ve=t;else for(;ve!==null;){o=ve;try{var ye=o.alternate;if((o.flags&1024)!==0)switch(o.tag){case 0:case 11:case 15:break;case 1:if(ye!==null){var ge=ye.memoizedProps,et=ye.memoizedState,F=o.stateNode,A=F.getSnapshotBeforeUpdate(o.elementType===o.type?ge:cn(o.type,ge),et);F.__reactInternalSnapshotBeforeUpdate=A}break;case 3:var B=o.stateNode.containerInfo;B.nodeType===1?B.textContent="":B.nodeType===9&&B.documentElement&&B.removeChild(B.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(ne){Xe(o,o.return,ne)}if(t=o.sibling,t!==null){t.return=o.return,ve=t;break}ve=o.return}return ye=Im,Im=!1,ye}function Ha(t,o,s){var c=o.updateQueue;if(c=c!==null?c.lastEffect:null,c!==null){var h=c=c.next;do{if((h.tag&t)===t){var y=h.destroy;h.destroy=void 0,y!==void 0&&cc(o,s,y)}h=h.next}while(h!==c)}}function Ms(t,o){if(o=o.updateQueue,o=o!==null?o.lastEffect:null,o!==null){var s=o=o.next;do{if((s.tag&t)===t){var c=s.create;s.destroy=c()}s=s.next}while(s!==o)}}function dc(t){var o=t.ref;if(o!==null){var s=t.stateNode;t.tag,t=s,typeof o=="function"?o(t):o.current=t}}function Am(t){var o=t.alternate;o!==null&&(t.alternate=null,Am(o)),t.child=null,t.deletions=null,t.sibling=null,t.tag===5&&(o=t.stateNode,o!==null&&(delete o[En],delete o[Oa],delete o[Ru],delete o[_2],delete o[N2])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function Lm(t){return t.tag===5||t.tag===3||t.tag===4}function $m(t){e:for(;;){for(;t.sibling===null;){if(t.return===null||Lm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;t.tag!==5&&t.tag!==6&&t.tag!==18;){if(t.flags&2||t.child===null||t.tag===4)continue e;t.child.return=t,t=t.child}if(!(t.flags&2))return t.stateNode}}function fc(t,o,s){var c=t.tag;if(c===5||c===6)t=t.stateNode,o?s.nodeType===8?s.parentNode.insertBefore(t,o):s.insertBefore(t,o):(s.nodeType===8?(o=s.parentNode,o.insertBefore(t,s)):(o=s,o.appendChild(t)),s=s._reactRootContainer,s!=null||o.onclick!==null||(o.onclick=os));else if(c!==4&&(t=t.child,t!==null))for(fc(t,o,s),t=t.sibling;t!==null;)fc(t,o,s),t=t.sibling}function pc(t,o,s){var c=t.tag;if(c===5||c===6)t=t.stateNode,o?s.insertBefore(t,o):s.appendChild(t);else if(c!==4&&(t=t.child,t!==null))for(pc(t,o,s),t=t.sibling;t!==null;)pc(t,o,s),t=t.sibling}var ut=null,dn=!1;function dr(t,o,s){for(s=s.child;s!==null;)Fm(t,o,s),s=s.sibling}function Fm(t,o,s){if(Sn&&typeof Sn.onCommitFiberUnmount=="function")try{Sn.onCommitFiberUnmount(zi,s)}catch{}switch(s.tag){case 5:mt||Oo(s,o);case 6:var c=ut,h=dn;ut=null,dr(t,o,s),ut=c,dn=h,ut!==null&&(dn?(t=ut,s=s.stateNode,t.nodeType===8?t.parentNode.removeChild(s):t.removeChild(s)):ut.removeChild(s.stateNode));break;case 18:ut!==null&&(dn?(t=ut,s=s.stateNode,t.nodeType===8?Mu(t.parentNode,s):t.nodeType===1&&Mu(t,s),ba(t)):Mu(ut,s.stateNode));break;case 4:c=ut,h=dn,ut=s.stateNode.containerInfo,dn=!0,dr(t,o,s),ut=c,dn=h;break;case 0:case 11:case 14:case 15:if(!mt&&(c=s.updateQueue,c!==null&&(c=c.lastEffect,c!==null))){h=c=c.next;do{var y=h,E=y.destroy;y=y.tag,E!==void 0&&((y&2)!==0||(y&4)!==0)&&cc(s,o,E),h=h.next}while(h!==c)}dr(t,o,s);break;case 1:if(!mt&&(Oo(s,o),c=s.stateNode,typeof c.componentWillUnmount=="function"))try{c.props=s.memoizedProps,c.state=s.memoizedState,c.componentWillUnmount()}catch(_){Xe(s,o,_)}dr(t,o,s);break;case 21:dr(t,o,s);break;case 22:s.mode&1?(mt=(c=mt)||s.memoizedState!==null,dr(t,o,s),mt=c):dr(t,o,s);break;default:dr(t,o,s)}}function jm(t){var o=t.updateQueue;if(o!==null){t.updateQueue=null;var s=t.stateNode;s===null&&(s=t.stateNode=new G2),o.forEach(function(c){var h=rb.bind(null,t,c);s.has(c)||(s.add(c),c.then(h,h))})}}
vendor: 13,696 bytes, line 8
8function fn(t,o){var s=o.deletions;if(s!==null)for(var c=0;c<s.length;c++){var h=s[c];try{var y=t,E=o,_=E;e:for(;_!==null;){switch(_.tag){case 5:ut=_.stateNode,dn=!1;break e;case 3:ut=_.stateNode.containerInfo,dn=!0;break e;case 4:ut=_.stateNode.containerInfo,dn=!0;break e}_=_.return}if(ut===null)throw Error(r(160));Fm(y,E,h),ut=null,dn=!1;var I=h.alternate;I!==null&&(I.return=null),h.return=null}catch(H){Xe(h,o,H)}}if(o.subtreeFlags&12854)for(o=o.child;o!==null;)zm(o,t),o=o.sibling}function zm(t,o){var s=t.alternate,c=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(fn(o,t),Rn(t),c&4){try{Ha(3,t,t.return),Ms(3,t)}catch(ge){Xe(t,t.return,ge)}try{Ha(5,t,t.return)}catch(ge){Xe(t,t.return,ge)}}break;case 1:fn(o,t),Rn(t),c&512&&s!==null&&Oo(s,s.return);break;case 5:if(fn(o,t),Rn(t),c&512&&s!==null&&Oo(s,s.return),t.flags&32){var h=t.stateNode;try{on(h,"")}catch(ge){Xe(t,t.return,ge)}}if(c&4&&(h=t.stateNode,h!=null)){var y=t.memoizedProps,E=s!==null?s.memoizedProps:y,_=t.type,I=t.updateQueue;if(t.updateQueue=null,I!==null)try{_==="input"&&y.type==="radio"&&y.name!=null&&ze(h,y),da(_,E);var H=da(_,y);for(E=0;E<I.length;E+=2){var ee=I[E],te=I[E+1];ee==="style"?Ai(h,te):ee==="dangerouslySetInnerHTML"?Ht(h,te):ee==="children"?on(h,te):O(h,ee,te,H)}switch(_){case"input":Ze(h,y);break;case"textarea":Dr(h,y);break;case"select":var J=h._wrapperState.wasMultiple;h._wrapperState.wasMultiple=!!y.multiple;var fe=y.value;fe!=null?kn(h,!!y.multiple,fe,!1):J!==!!y.multiple&&(y.defaultValue!=null?kn(h,!!y.multiple,y.defaultValue,!0):kn(h,!!y.multiple,y.multiple?[]:"",!1))}h[Oa]=y}catch(ge){Xe(t,t.return,ge)}}break;case 6:if(fn(o,t),Rn(t),c&4){if(t.stateNode===null)throw Error(r(162));h=t.stateNode,y=t.memoizedProps;try{h.nodeValue=y}catch(ge){Xe(t,t.return,ge)}}break;case 3:if(fn(o,t),Rn(t),c&4&&s!==null&&s.memoizedState.isDehydrated)try{ba(o.containerInfo)}catch(ge){Xe(t,t.return,ge)}break;case 4:fn(o,t),Rn(t);break;case 13:fn(o,t),Rn(t),h=t.child,h.flags&8192&&(y=h.memoizedState!==null,h.stateNode.isHidden=y,!y||h.alternate!==null&&h.alternate.memoizedState!==null||(vc=Je())),c&4&&jm(t);break;case 22:if(ee=s!==null&&s.memoizedState!==null,t.mode&1?(mt=(H=mt)||ee,fn(o,t),mt=H):fn(o,t),Rn(t),c&8192){if(H=t.memoizedState!==null,(t.stateNode.isHidden=H)&&!ee&&(t.mode&1)!==0)for(ve=t,ee=t.child;ee!==null;){for(te=ve=ee;ve!==null;){switch(J=ve,fe=J.child,J.tag){case 0:case 11:case 14:case 15:Ha(4,J,J.return);break;case 1:Oo(J,J.return);var ye=J.stateNode;if(typeof ye.componentWillUnmount=="function"){c=J,s=J.return;try{o=c,ye.props=o.memoizedProps,ye.state=o.memoizedState,ye.componentWillUnmount()}catch(ge){Xe(c,s,ge)}}break;case 5:Oo(J,J.return);break;case 22:if(J.memoizedState!==null){Hm(te);continue}}fe!==null?(fe.return=J,ve=fe):Hm(te)}ee=ee.sibling}e:for(ee=null,te=t;;){if(te.tag===5){if(ee===null){ee=te;try{h=te.stateNode,H?(y=h.style,typeof y.setProperty=="function"?y.setProperty("display","none","important"):y.display="none"):(_=te.stateNode,I=te.memoizedProps.style,E=I!=null&&I.hasOwnProperty("display")?I.display:null,_.style.display=Ar("display",E))}catch(ge){Xe(t,t.return,ge)}}}else if(te.tag===6){if(ee===null)try{te.stateNode.nodeValue=H?"":te.memoizedProps}catch(ge){Xe(t,t.return,ge)}}else if((te.tag!==22&&te.tag!==23||te.memoizedState===null||te===t)&&te.child!==null){te.child.return=te,te=te.child;continue}if(te===t)break e;for(;te.sibling===null;){if(te.return===null||te.return===t)break e;ee===te&&(ee=null),te=te.return}ee===te&&(ee=null),te.sibling.return=te.return,te=te.sibling}}break;case 19:fn(o,t),Rn(t),c&4&&jm(t);break;case 21:break;default:fn(o,t),Rn(t)}}function Rn(t){var o=t.flags;if(o&2){try{e:{for(var s=t.return;s!==null;){if(Lm(s)){var c=s;break e}s=s.return}throw Error(r(160))}switch(c.tag){case 5:var h=c.stateNode;c.flags&32&&(on(h,""),c.flags&=-33);var y=$m(t);pc(t,y,h);break;case 3:case 4:var E=c.stateNode.containerInfo,_=$m(t);fc(t,_,E);break;default:throw Error(r(161))}}catch(I){Xe(t,t.return,I)}t.flags&=-3}o&4096&&(t.flags&=-4097)}function Q2(t,o,s){ve=t,Bm(t)}function Bm(t,o,s){for(var c=(t.mode&1)!==0;ve!==null;){var h=ve,y=h.child;if(h.tag===22&&c){var E=h.memoizedState!==null||Ps;if(!E){var _=h.alternate,I=_!==null&&_.memoizedState!==null||mt;_=Ps;var H=mt;if(Ps=E,(mt=I)&&!H)for(ve=h;ve!==null;)E=ve,I=E.child,E.tag===22&&E.memoizedState!==null?Wm(h):I!==null?(I.return=E,ve=I):Wm(h);for(;y!==null;)ve=y,Bm(y),y=y.sibling;ve=h,Ps=_,mt=H}Um(t)}else(h.subtreeFlags&8772)!==0&&y!==null?(y.return=h,ve=y):Um(t)}}function Um(t){for(;ve!==null;){var o=ve;if((o.flags&8772)!==0){var s=o.alternate;try{if((o.flags&8772)!==0)switch(o.tag){case 0:case 11:case 15:mt||Ms(5,o);break;case 1:var c=o.stateNode;if(o.flags&4&&!mt)if(s===null)c.componentDidMount();else{var h=o.elementType===o.type?s.memoizedProps:cn(o.type,s.memoizedProps);c.componentDidUpdate(h,s.memoizedState,c.__reactInternalSnapshotBeforeUpdate)}var y=o.updateQueue;y!==null&&Hh(o,y,c);break;case 3:var E=o.updateQueue;if(E!==null){if(s=null,o.child!==null)switch(o.child.tag){case 5:s=o.child.stateNode;break;case 1:s=o.child.stateNode}Hh(o,E,s)}break;case 5:var _=o.stateNode;if(s===null&&o.flags&4){s=_;var I=o.memoizedProps;switch(o.type){case"button":case"input":case"select":case"textarea":I.autoFocus&&s.focus();break;case"img":I.src&&(s.src=I.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(o.memoizedState===null){var H=o.alternate;if(H!==null){var ee=H.memoizedState;if(ee!==null){var te=ee.dehydrated;te!==null&&ba(te)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(r(163))}mt||o.flags&512&&dc(o)}catch(J){Xe(o,o.return,J)}}if(o===t){ve=null;break}if(s=o.sibling,s!==null){s.return=o.return,ve=s;break}ve=o.return}}function Hm(t){for(;ve!==null;){var o=ve;if(o===t){ve=null;break}var s=o.sibling;if(s!==null){s.return=o.return,ve=s;break}ve=o.return}}function Wm(t){for(;ve!==null;){var o=ve;try{switch(o.tag){case 0:case 11:case 15:var s=o.return;try{Ms(4,o)}catch(I){Xe(o,s,I)}break;case 1:var c=o.stateNode;if(typeof c.componentDidMount=="function"){var h=o.return;try{c.componentDidMount()}catch(I){Xe(o,h,I)}}var y=o.return;try{dc(o)}catch(I){Xe(o,y,I)}break;case 5:var E=o.return;try{dc(o)}catch(I){Xe(o,E,I)}}}catch(I){Xe(o,o.return,I)}if(o===t){ve=null;break}var _=o.sibling;if(_!==null){_.return=o.return,ve=_;break}ve=o.return}}var Y2=Math.ceil,Rs=L.ReactCurrentDispatcher,hc=L.ReactCurrentOwner,Qt=L.ReactCurrentBatchConfig,De=0,at=null,tt=null,ct=0,Dt=0,Do=ir(0),rt=0,Wa=null,Vr=0,Ts=0,mc=0,Va=null,Pt=null,vc=0,Io=1/0,Vn=null,_s=!1,yc=null,fr=null,Ns=!1,pr=null,Os=0,Ka=0,gc=null,Ds=-1,Is=0;function wt(){return(De&6)!==0?Je():Ds!==-1?Ds:Ds=Je()}function hr(t){return(t.mode&1)===0?1:(De&2)!==0&&ct!==0?ct&-ct:D2.transition!==null?(Is===0&&(Is=$p()),Is):(t=$e,t!==0||(t=window.event,t=t===void 0?16:Kp(t.type)),t)}function pn(t,o,s,c){if(50<Ka)throw Ka=0,gc=null,Error(r(185));va(t,s,c),((De&2)===0||t!==at)&&(t===at&&((De&2)===0&&(Ts|=s),rt===4&&mr(t,ct)),Mt(t,c),s===1&&De===0&&(o.mode&1)===0&&(Io=Je()+500,ls&&lr()))}function Mt(t,o){var s=t.callbackNode;Dx(t,o);var c=Hi(t,t===at?ct:0);if(c===0)s!==null&&Ip(s),t.callbackNode=null,t.callbackPriority=0;else if(o=c&-c,t.callbackPriority!==o){if(s!=null&&Ip(s),o===1)t.tag===0?O2(Km.bind(null,t)):Nh(Km.bind(null,t)),R2(function(){(De&6)===0&&lr()}),s=null;else{switch(Fp(c)){case 1:s=Zl;break;case 4:s=Ap;break;case 16:s=ji;break;case 536870912:s=Lp;break;default:s=ji}s=ev(s,Vm.bind(null,t))}t.callbackPriority=o,t.callbackNode=s}}function Vm(t,o){if(Ds=-1,Is=0,(De&6)!==0)throw Error(r(327));var s=t.callbackNode;if(Ao()&&t.callbackNode!==s)return null;var c=Hi(t,t===at?ct:0);if(c===0)return null;if((c&30)!==0||(c&t.expiredLanes)!==0||o)o=As(t,c);else{o=c;var h=De;De|=2;var y=qm();(at!==t||ct!==o)&&(Vn=null,Io=Je()+500,Gr(t,o));do try{J2();break}catch(_){Gm(t,_)}while(!0);$u(),Rs.current=y,De=h,tt!==null?o=0:(at=null,ct=0,o=rt)}if(o!==0){if(o===2&&(h=Jl(t),h!==0&&(c=h,o=wc(t,h))),o===1)throw s=Wa,Gr(t,0),mr(t,c),Mt(t,Je()),s;if(o===6)mr(t,c);else{if(h=t.current.alternate,(c&30)===0&&!X2(h)&&(o=As(t,c),o===2&&(y=Jl(t),y!==0&&(c=y,o=wc(t,y))),o===1))throw s=Wa,Gr(t,0),mr(t,c),Mt(t,Je()),s;switch(t.finishedWork=h,t.finishedLanes=c,o){case 0:case 1:throw Error(r(345));case 2:qr(t,Pt,Vn);break;case 3:if(mr(t,c),(c&130023424)===c&&(o=vc+500-Je(),10<o)){if(Hi(t,0)!==0)break;if(h=t.suspendedLanes,(h&c)!==c){wt(),t.pingedLanes|=t.suspendedLanes&h;break}t.timeoutHandle=Pu(qr.bind(null,t,Pt,Vn),o);break}qr(t,Pt,Vn);break;case 4:if(mr(t,c),(c&4194240)===c)break;for(o=t.eventTimes,h=-1;0<c;){var E=31-sn(c);y=1<<E,E=o[E],E>h&&(h=E),c&=~y}if(c=h,c=Je()-c,c=(120>c?120:480>c?480:1080>c?1080:1920>c?1920:3e3>c?3e3:4320>c?4320:1960*Y2(c/1960))-c,10<c){t.timeoutHandle=Pu(qr.bind(null,t,Pt,Vn),c);break}qr(t,Pt,Vn);break;case 5:qr(t,Pt,Vn);break;default:throw Error(r(329))}}}return Mt(t,Je()),t.callbackNode===s?Vm.bind(null,t):null}function wc(t,o){var s=Va;return t.current.memoizedState.isDehydrated&&(Gr(t,o).flags|=256),t=As(t,o),t!==2&&(o=Pt,Pt=s,o!==null&&xc(o)),t}function xc(t){Pt===null?Pt=t:Pt.push.apply(Pt,t)}function X2(t){for(var o=t;;){if(o.flags&16384){var s=o.updateQueue;if(s!==null&&(s=s.stores,s!==null))for(var c=0;c<s.length;c++){var h=s[c],y=h.getSnapshot;h=h.value;try{if(!ln(y(),h))return!1}catch{return!1}}}if(s=o.child,o.subtreeFlags&16384&&s!==null)s.return=o,o=s;else{if(o===t)break;for(;o.sibling===null;){if(o.return===null||o.return===t)return!0;o=o.return}o.sibling.return=o.return,o=o.sibling}}return!0}function mr(t,o){for(o&=~mc,o&=~Ts,t.suspendedLanes|=o,t.pingedLanes&=~o,t=t.expirationTimes;0<o;){var s=31-sn(o),c=1<<s;t[s]=-1,o&=~c}}function Km(t){if((De&6)!==0)throw Error(r(327));Ao();var o=Hi(t,0);if((o&1)===0)return Mt(t,Je()),null;var s=As(t,o);if(t.tag!==0&&s===2){var c=Jl(t);c!==0&&(o=c,s=wc(t,c))}if(s===1)throw s=Wa,Gr(t,0),mr(t,o),Mt(t,Je()),s;if(s===6)throw Error(r(345));return t.finishedWork=t.current.alternate,t.finishedLanes=o,qr(t,Pt,Vn),Mt(t,Je()),null}function bc(t,o){var s=De;De|=1;try{return t(o)}finally{De=s,De===0&&(Io=Je()+500,ls&&lr())}}function Kr(t){pr!==null&&pr.tag===0&&(De&6)===0&&Ao();var o=De;De|=1;var s=Qt.transition,c=$e;try{if(Qt.transition=null,$e=1,t)return t()}finally{$e=c,Qt.transition=s,De=o,(De&6)===0&&lr()}}function Cc(){Dt=Do.current,Ue(Do)}function Gr(t,o){t.finishedWork=null,t.finishedLanes=0;var s=t.timeoutHandle;if(s!==-1&&(t.timeoutHandle=-1,M2(s)),tt!==null)for(s=tt.return;s!==null;){var c=s;switch(Ou(c),c.tag){case 1:c=c.type.childContextTypes,c!=null&&is();break;case 3:_o(),Ue(kt),Ue(ft),Vu();break;case 5:Hu(c);break;case 4:_o();break;case 13:Ue(Qe);break;case 19:Ue(Qe);break;case 10:Fu(c.type._context);break;case 22:case 23:Cc()}s=s.return}if(at=t,tt=t=vr(t.current,null),ct=Dt=o,rt=0,Wa=null,mc=Ts=Vr=0,Pt=Va=null,Ur!==null){for(o=0;o<Ur.length;o++)if(s=Ur[o],c=s.interleaved,c!==null){s.interleaved=null;var h=c.next,y=s.pending;if(y!==null){var E=y.next;y.next=h,c.next=E}s.pending=c}Ur=null}return t}function Gm(t,o){do{var s=tt;try{if($u(),gs.current=Cs,ws){for(var c=Ye.memoizedState;c!==null;){var h=c.queue;h!==null&&(h.pending=null),c=c.next}ws=!1}if(Wr=0,ot=nt=Ye=null,Fa=!1,ja=0,hc.current=null,s===null||s.return===null){rt=1,Wa=o,tt=null;break}e:{var y=t,E=s.return,_=s,I=o;if(o=ct,_.flags|=32768,I!==null&&typeof I=="object"&&typeof I.then=="function"){var H=I,ee=_,te=ee.tag;if((ee.mode&1)===0&&(te===0||te===11||te===15)){var J=ee.alternate;J?(ee.updateQueue=J.updateQueue,ee.memoizedState=J.memoizedState,ee.lanes=J.lanes):(ee.updateQueue=null,ee.memoizedState=null)}var fe=gm(E);if(fe!==null){fe.flags&=-257,wm(fe,E,_,y,o),fe.mode&1&&ym(y,H,o),o=fe,I=H;var ye=o.updateQueue;if(ye===null){var ge=new Set;ge.add(I),o.updateQueue=ge}else ye.add(I);break e}else{if((o&1)===0){ym(y,H,o),kc();break e}I=Error(r(426))}}else if(Ke&&_.mode&1){var et=gm(E);if(et!==null){(et.flags&65536)===0&&(et.flags|=256),wm(et,E,_,y,o),Au(No(I,_));break e}}y=I=No(I,_),rt!==4&&(rt=2),Va===null?Va=[y]:Va.push(y),y=E;do{switch(y.tag){case 3:y.flags|=65536,o&=-o,y.lanes|=o;var F=mm(y,I,o);Uh(y,F);break e;case 1:_=I;var A=y.type,B=y.stateNode;if((y.flags&128)===0&&(typeof A.getDerivedStateFromError=="function"||B!==null&&typeof B.componentDidCatch=="function"&&(fr===null||!fr.has(B)))){y.flags|=65536,o&=-o,y.lanes|=o;var ne=vm(y,_,o);Uh(y,ne);break e}}y=y.return}while(y!==null)}Ym(s)}catch(we){o=we,tt===s&&s!==null&&(tt=s=s.return);continue}break}while(!0)}function qm(){var t=Rs.current;return Rs.current=Cs,t===null?Cs:t}function kc(){(rt===0||rt===3||rt===2)&&(rt=4),at===null||(Vr&268435455)===0&&(Ts&268435455)===0||mr(at,ct)}function As(t,o){var s=De;De|=2;var c=qm();(at!==t||ct!==o)&&(Vn=null,Gr(t,o));do try{Z2();break}catch(h){Gm(t,h)}while(!0);if($u(),De=s,Rs.current=c,tt!==null)throw Error(r(261));return at=null,ct=0,rt}function Z2(){for(;tt!==null;)Qm(tt)}function J2(){for(;tt!==null&&!Sx();)Qm(tt)}function Qm(t){var o=Jm(t.alternate,t,Dt);t.memoizedProps=t.pendingProps,o===null?Ym(t):tt=o,hc.current=null}function Ym(t){var o=t;do{var s=o.alternate;if(t=o.return,(o.flags&32768)===0){if(s=V2(s,o,Dt),s!==null){tt=s;return}}else{if(s=K2(s,o),s!==null){s.flags&=32767,tt=s;return}if(t!==null)t.flags|=32768,t.subtreeFlags=0,t.deletions=null;else{rt=6,tt=null;return}}if(o=o.sibling,o!==null){tt=o;return}tt=o=t}while(o!==null);rt===0&&(rt=5)}function qr(t,o,s){var c=$e,h=Qt.transition;try{Qt.transition=null,$e=1,eb(t,o,s,c)}finally{Qt.transition=h,$e=c}return null}function eb(t,o,s,c){do Ao();while(pr!==null);if((De&6)!==0)throw Error(r(327));s=t.finishedWork;var h=t.finishedLanes;if(s===null)return null;if(t.finishedWork=null,t.finishedLanes=0,s===t.current)throw Error(r(1
vendor: 6,216 bytes, line 8
877));t.callbackNode=null,t.callbackPriority=0;var y=s.lanes|s.childLanes;if(Ix(t,y),t===at&&(tt=at=null,ct=0),(s.subtreeFlags&2064)===0&&(s.flags&2064)===0||Ns||(Ns=!0,ev(ji,function(){return Ao(),null})),y=(s.flags&15990)!==0,(s.subtreeFlags&15990)!==0||y){y=Qt.transition,Qt.transition=null;var E=$e;$e=1;var _=De;De|=4,hc.current=null,q2(t,s),zm(s,t),x2(Su),Ki=!!ku,Su=ku=null,t.current=s,Q2(s),Ex(),De=_,$e=E,Qt.transition=y}else t.current=s;if(Ns&&(Ns=!1,pr=t,Os=h),y=t.pendingLanes,y===0&&(fr=null),Rx(s.stateNode),Mt(t,Je()),o!==null)for(c=t.onRecoverableError,s=0;s<o.length;s++)h=o[s],c(h.value,{componentStack:h.stack,digest:h.digest});if(_s)throw _s=!1,t=yc,yc=null,t;return(Os&1)!==0&&t.tag!==0&&Ao(),y=t.pendingLanes,(y&1)!==0?t===gc?Ka++:(Ka=0,gc=t):Ka=0,lr(),null}function Ao(){if(pr!==null){var t=Fp(Os),o=Qt.transition,s=$e;try{if(Qt.transition=null,$e=16>t?16:t,pr===null)var c=!1;else{if(t=pr,pr=null,Os=0,(De&6)!==0)throw Error(r(331));var h=De;for(De|=4,ve=t.current;ve!==null;){var y=ve,E=y.child;if((ve.flags&16)!==0){var _=y.deletions;if(_!==null){for(var I=0;I<_.length;I++){var H=_[I];for(ve=H;ve!==null;){var ee=ve;switch(ee.tag){case 0:case 11:case 15:Ha(8,ee,y)}var te=ee.child;if(te!==null)te.return=ee,ve=te;else for(;ve!==null;){ee=ve;var J=ee.sibling,fe=ee.return;if(Am(ee),ee===H){ve=null;break}if(J!==null){J.return=fe,ve=J;break}ve=fe}}}var ye=y.alternate;if(ye!==null){var ge=ye.child;if(ge!==null){ye.child=null;do{var et=ge.sibling;ge.sibling=null,ge=et}while(ge!==null)}}ve=y}}if((y.subtreeFlags&2064)!==0&&E!==null)E.return=y,ve=E;else e:for(;ve!==null;){if(y=ve,(y.flags&2048)!==0)switch(y.tag){case 0:case 11:case 15:Ha(9,y,y.return)}var F=y.sibling;if(F!==null){F.return=y.return,ve=F;break e}ve=y.return}}var A=t.current;for(ve=A;ve!==null;){E=ve;var B=E.child;if((E.subtreeFlags&2064)!==0&&B!==null)B.return=E,ve=B;else e:for(E=A;ve!==null;){if(_=ve,(_.flags&2048)!==0)try{switch(_.tag){case 0:case 11:case 15:Ms(9,_)}}catch(we){Xe(_,_.return,we)}if(_===E){ve=null;break e}var ne=_.sibling;if(ne!==null){ne.return=_.return,ve=ne;break e}ve=_.return}}if(De=h,lr(),Sn&&typeof Sn.onPostCommitFiberRoot=="function")try{Sn.onPostCommitFiberRoot(zi,t)}catch{}c=!0}return c}finally{$e=s,Qt.transition=o}}return!1}function Xm(t,o,s){o=No(s,o),o=mm(t,o,1),t=cr(t,o,1),o=wt(),t!==null&&(va(t,1,o),Mt(t,o))}function Xe(t,o,s){if(t.tag===3)Xm(t,t,s);else for(;o!==null;){if(o.tag===3){Xm(o,t,s);break}else if(o.tag===1){var c=o.stateNode;if(typeof o.type.getDerivedStateFromError=="function"||typeof c.componentDidCatch=="function"&&(fr===null||!fr.has(c))){t=No(s,t),t=vm(o,t,1),o=cr(o,t,1),t=wt(),o!==null&&(va(o,1,t),Mt(o,t));break}}o=o.return}}function tb(t,o,s){var c=t.pingCache;c!==null&&c.delete(o),o=wt(),t.pingedLanes|=t.suspendedLanes&s,at===t&&(ct&s)===s&&(rt===4||rt===3&&(ct&130023424)===ct&&500>Je()-vc?Gr(t,0):mc|=s),Mt(t,o)}function Zm(t,o){o===0&&((t.mode&1)===0?o=1:(o=Ui,Ui<<=1,(Ui&130023424)===0&&(Ui=4194304)));var s=wt();t=Un(t,o),t!==null&&(va(t,o,s),Mt(t,s))}function nb(t){var o=t.memoizedState,s=0;o!==null&&(s=o.retryLane),Zm(t,s)}function rb(t,o){var s=0;switch(t.tag){case 13:var c=t.stateNode,h=t.memoizedState;h!==null&&(s=h.retryLane);break;case 19:c=t.stateNode;break;default:throw Error(r(314))}c!==null&&c.delete(o),Zm(t,s)}var Jm;Jm=function(t,o,s){if(t!==null)if(t.memoizedProps!==o.pendingProps||kt.current)Et=!0;else{if((t.lanes&s)===0&&(o.flags&128)===0)return Et=!1,W2(t,o,s);Et=(t.flags&131072)!==0}else Et=!1,Ke&&(o.flags&1048576)!==0&&Oh(o,cs,o.index);switch(o.lanes=0,o.tag){case 2:var c=o.type;Es(t,o),t=o.pendingProps;var h=ko(o,ft.current);To(o,s),h=qu(null,o,c,t,h,s);var y=Qu();return o.flags|=1,typeof h=="object"&&h!==null&&typeof h.render=="function"&&h.$$typeof===void 0?(o.tag=1,o.memoizedState=null,o.updateQueue=null,St(c)?(y=!0,ss(o)):y=!1,o.memoizedState=h.state!==null&&h.state!==void 0?h.state:null,Bu(o),h.updater=ks,o.stateNode=h,h._reactInternals=o,tc(o,c,t,s),o=oc(null,o,c,!0,y,s)):(o.tag=0,Ke&&y&&Nu(o),gt(null,o,h,s),o=o.child),o;case 16:c=o.elementType;e:{switch(Es(t,o),t=o.pendingProps,h=c._init,c=h(c._payload),o.type=c,h=o.tag=ab(c),t=cn(c,t),h){case 0:o=rc(null,o,c,t,s);break e;case 1:o=Em(null,o,c,t,s);break e;case 11:o=xm(null,o,c,t,s);break e;case 14:o=bm(null,o,c,cn(c.type,t),s);break e}throw Error(r(306,c,""))}return o;case 0:return c=o.type,h=o.pendingProps,h=o.elementType===c?h:cn(c,h),rc(t,o,c,h,s);case 1:return c=o.type,h=o.pendingProps,h=o.elementType===c?h:cn(c,h),Em(t,o,c,h,s);case 3:e:{if(Pm(o),t===null)throw Error(r(387));c=o.pendingProps,y=o.memoizedState,h=y.element,Bh(t,o),vs(o,c,null,s);var E=o.memoizedState;if(c=E.element,y.isDehydrated)if(y={element:c,isDehydrated:!1,cache:E.cache,pendingSuspenseBoundaries:E.pendingSuspenseBoundaries,transitions:E.transitions},o.updateQueue.baseState=y,o.memoizedState=y,o.flags&256){h=No(Error(r(423)),o),o=Mm(t,o,c,s,h);break e}else if(c!==h){h=No(Error(r(424)),o),o=Mm(t,o,c,s,h);break e}else for(Ot=ar(o.stateNode.containerInfo.firstChild),Nt=o,Ke=!0,un=null,s=jh(o,null,c,s),o.child=s;s;)s.flags=s.flags&-3|4096,s=s.sibling;else{if(Po(),c===h){o=Wn(t,o,s);break e}gt(t,o,c,s)}o=o.child}return o;case 5:return Wh(o),t===null&&Iu(o),c=o.type,h=o.pendingProps,y=t!==null?t.memoizedProps:null,E=h.children,Eu(c,h)?E=null:y!==null&&Eu(c,y)&&(o.flags|=32),Sm(t,o),gt(t,o,E,s),o.child;case 6:return t===null&&Iu(o),null;case 13:return Rm(t,o,s);case 4:return Uu(o,o.stateNode.containerInfo),c=o.pendingProps,t===null?o.child=Mo(o,null,c,s):gt(t,o,c,s),o.child;case 11:return c=o.type,h=o.pendingProps,h=o.elementType===c?h:cn(c,h),xm(t,o,c,h,s);case 7:return gt(t,o,o.pendingProps,s),o.child;case 8:return gt(t,o,o.pendingProps.children,s),o.child;case 12:return gt(t,o,o.pendingProps.children,s),o.child;case 10:e:{if(c=o.type._context,h=o.pendingProps,y=o.memoizedProps,E=h.value,Fe(ps,c._currentValue),c._currentValue=E,y!==null)if(ln(y.value,E)){if(y.children===h.children&&!kt.current){o=Wn(t,o,s);break e}}else for(y=o.child,y!==null&&(y.return=o);y!==null;){var _=y.dependencies;if(_!==null){E=y.child;for(var I=_.firstContext;I!==null;){if(I.context===c){if(y.tag===1){I=Hn(-1,s&-s),I.tag=2;var H=y.updateQueue;if(H!==null){H=H.shared;
vendor: 4,247 bytes, line 8
8var ee=H.pending;ee===null?I.next=I:(I.next=ee.next,ee.next=I),H.pending=I}}y.lanes|=s,I=y.alternate,I!==null&&(I.lanes|=s),ju(y.return,s,o),_.lanes|=s;break}I=I.next}}else if(y.tag===10)E=y.type===o.type?null:y.child;else if(y.tag===18){if(E=y.return,E===null)throw Error(r(341));E.lanes|=s,_=E.alternate,_!==null&&(_.lanes|=s),ju(E,s,o),E=y.sibling}else E=y.child;if(E!==null)E.return=y;else for(E=y;E!==null;){if(E===o){E=null;break}if(y=E.sibling,y!==null){y.return=E.return,E=y;break}E=E.return}y=E}gt(t,o,h.children,s),o=o.child}return o;case 9:return h=o.type,c=o.pendingProps.children,To(o,s),h=Gt(h),c=c(h),o.flags|=1,gt(t,o,c,s),o.child;case 14:return c=o.type,h=cn(c,o.pendingProps),h=cn(c.type,h),bm(t,o,c,h,s);case 15:return Cm(t,o,o.type,o.pendingProps,s);case 17:return c=o.type,h=o.pendingProps,h=o.elementType===c?h:cn(c,h),Es(t,o),o.tag=1,St(c)?(t=!0,ss(o)):t=!1,To(o,s),pm(o,c,h),tc(o,c,h,s),oc(null,o,c,!0,t,s);case 19:return _m(t,o,s);case 22:return km(t,o,s)}throw Error(r(156,o.tag))};function ev(t,o){return Dp(t,o)}function ob(t,o,s,c){this.tag=t,this.key=s,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=o,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=c,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Yt(t,o,s,c){return new ob(t,o,s,c)}function Sc(t){return t=t.prototype,!(!t||!t.isReactComponent)}function ab(t){if(typeof t=="function")return Sc(t)?1:0;if(t!=null){if(t=t.$$typeof,t===ae)return 11;if(t===pe)return 14}return 2}function vr(t,o){var s=t.alternate;return s===null?(s=Yt(t.tag,o,t.key,t.mode),s.elementType=t.elementType,s.type=t.type,s.stateNode=t.stateNode,s.alternate=t,t.alternate=s):(s.pendingProps=o,s.type=t.type,s.flags=0,s.subtreeFlags=0,s.deletions=null),s.flags=t.flags&14680064,s.childLanes=t.childLanes,s.lanes=t.lanes,s.child=t.child,s.memoizedProps=t.memoizedProps,s.memoizedState=t.memoizedState,s.updateQueue=t.updateQueue,o=t.dependencies,s.dependencies=o===null?null:{lanes:o.lanes,firstContext:o.firstContext},s.sibling=t.sibling,s.index=t.index,s.ref=t.ref,s}function Ls(t,o,s,c,h,y){var E=2;if(c=t,typeof t=="function")Sc(t)&&(E=1);else if(typeof t=="string")E=5;else e:switch(t){case U:return Qr(s.children,h,y,o);case Y:E=8,h|=8;break;case ie:return t=Yt(12,s,o,h|2),t.elementType=ie,t.lanes=y,t;case me:return t=Yt(13,s,o,h),t.elementType=me,t.lanes=y,t;case de:return t=Yt(19,s,o,h),t.elementType=de,t.lanes=y,t;case X:return $s(s,h,y,o);default:if(typeof t=="object"&&t!==null)switch(t.$$typeof){case le:E=10;break e;case he:E=9;break e;case ae:E=11;break e;case pe:E=14;break e;case re:E=16,c=null;break e}throw Error(r(130,t==null?t:typeof t,""))}return o=Yt(E,s,o,h),o.elementType=t,o.type=c,o.lanes=y,o}function Qr(t,o,s,c){return t=Yt(7,t,c,o),t.lanes=s,t}function $s(t,o,s,c){return t=Yt(22,t,c,o),t.elementType=X,t.lanes=s,t.stateNode={isHidden:!1},t}function Ec(t,o,s){return t=Yt(6,t,null,o),t.lanes=s,t}function Pc(t,o,s){return o=Yt(4,t.children!==null?t.children:[],t.key,o),o.lanes=s,o.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},o}function ib(t,o,s,c,h){this.tag=o,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=eu(0),this.expirationTimes=eu(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=eu(0),this.identifierPrefix=c,this.onRecoverableError=h,this.mutableSourceEagerHydrationData=null}function Mc(t,o,s,c,h,y,E,_,I){return t=new ib(t,o,s,_,I),o===1?(o=1,y===!0&&(o|=8)):o=0,y=Yt(3,null,null,o),t.current=y,y.stateNode=t,y.memoizedState={element:c,isDehydrated:s,cache:null,transitions:null,pendingSuspenseBoundaries:null},Bu(y),t}function sb(t,o,s){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Q,key:c==null?null:""+c,children:t,containerInfo:o,implementation:s}}function tv(t){if(!t)return sr;t=t._reactInternals;
vendor: 4,386 bytes, line 8
8e:{if($r(t)!==t||t.tag!==1)throw Error(r(170));var o=t;do{switch(o.tag){case 3:o=o.stateNode.context;break e;case 1:if(St(o.type)){o=o.stateNode.__reactInternalMemoizedMergedChildContext;break e}}o=o.return}while(o!==null);throw Error(r(171))}if(t.tag===1){var s=t.type;if(St(s))return Th(t,s,o)}return o}function nv(t,o,s,c,h,y,E,_,I){return t=Mc(s,c,!0,t,h,y,E,_,I),t.context=tv(null),s=t.current,c=wt(),h=hr(s),y=Hn(c,h),y.callback=o??null,cr(s,y,h),t.current.lanes=h,va(t,h,c),Mt(t,c),t}function Fs(t,o,s,c){var h=o.current,y=wt(),E=hr(h);return s=tv(s),o.context===null?o.context=s:o.pendingContext=s,o=Hn(y,E),o.payload={element:t},c=c===void 0?null:c,c!==null&&(o.callback=c),t=cr(h,o,E),t!==null&&(pn(t,h,E,y),ms(t,h,E)),E}function js(t){return t=t.current,t.child?(t.child.tag===5,t.child.stateNode):null}function rv(t,o){if(t=t.memoizedState,t!==null&&t.dehydrated!==null){var s=t.retryLane;t.retryLane=s!==0&&s<o?s:o}}function Rc(t,o){rv(t,o),(t=t.alternate)&&rv(t,o)}function lb(){return null}var ov=typeof reportError=="function"?reportError:function(t){};function Tc(t){this._internalRoot=t}zs.prototype.render=Tc.prototype.render=function(t){var o=this._internalRoot;if(o===null)throw Error(r(409));Fs(t,o,null,null)},zs.prototype.unmount=Tc.prototype.unmount=function(){var t=this._internalRoot;if(t!==null){this._internalRoot=null;var o=t.containerInfo;Kr(function(){Fs(null,t,null,null)}),o[Fn]=null}};function zs(t){this._internalRoot=t}zs.prototype.unstable_scheduleHydration=function(t){if(t){var o=Bp();t={blockedOn:null,target:t,priority:o};for(var s=0;s<nr.length&&o!==0&&o<nr[s].priority;s++);nr.splice(s,0,t),s===0&&Wp(t)}};function _c(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}function Bs(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11&&(t.nodeType!==8||t.nodeValue!==" react-mount-point-unstable "))}function av(){}function ub(t,o,s,c,h){if(h){if(typeof c=="function"){var y=c;c=function(){var H=js(E);y.call(H)}}var E=nv(o,c,t,0,null,!1,!1,"",av);return t._reactRootContainer=E,t[Fn]=E.current,_a(t.nodeType===8?t.parentNode:t),Kr(),E}for(;h=t.lastChild;)t.removeChild(h);if(typeof c=="function"){var _=c;c=function(){var H=js(I);_.call(H)}}var I=Mc(t,0,!1,null,null,!1,!1,"",av);return t._reactRootContainer=I,t[Fn]=I.current,_a(t.nodeType===8?t.parentNode:t),Kr(function(){Fs(o,I,s,c)}),I}function Us(t,o,s,c,h){var y=s._reactRootContainer;if(y){var E=y;if(typeof h=="function"){var _=h;h=function(){var I=js(E);_.call(I)}}Fs(o,E,t,h)}else E=ub(s,o,t,h,c);return js(E)}jp=function(t){switch(t.tag){case 3:var o=t.stateNode;if(o.current.memoizedState.isDehydrated){var s=ma(o.pendingLanes);s!==0&&(tu(o,s|1),Mt(o,Je()),(De&6)===0&&(Io=Je()+500,lr()))}break;case 13:Kr(function(){var c=Un(t,1);if(c!==null){var h=wt();pn(c,t,1,h)}}),Rc(t,1)}},nu=function(t){if(t.tag===13){var o=Un(t,134217728);if(o!==null){var s=wt();pn(o,t,134217728,s)}Rc(t,134217728)}},zp=function(t){if(t.tag===13){var o=hr(t),s=Un(t,o);if(s!==null){var c=wt();pn(s,t,o,c)}Rc(t,o)}},Bp=function(){return $e},Up=function(t,o){var s=$e;try{return $e=t,o()}finally{$e=s}},Ae=function(t,o,s){switch(o){case"input":if(Ze(t,s),o=s.name,s.type==="radio"&&o!=null){for(s=t;s.parentNode;)s=s.parentNode;for(s=s.querySelectorAll("input[name="+JSON.stringify(""+o)+'][type="radio"]'),o=0;o<s.length;o++){var c=s[o];if(c!==t&&c.form===t.form){var h=as(c);if(!h)throw Error(r(90));ke(c),Ze(c,h)}}}break;case"textarea":Dr(t,s);break;case"select":o=s.value,o!=null&&kn(t,!!s.multiple,o,!1)}},Pp=bc,Mp=Kr;var cb={usingClientEntryPoint:!1,Events:[Da,bo,as,Li,Ep,bc]},Ga={findFiberByHostInstance:Fr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},db={bundleType:Ga.bundleType,version:Ga.version,rendererPackageName:Ga.rendererPackageName,rendererConfig:Ga.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:L.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return t=Np(t),t===null?null:t.stateNode},findFiberByHostInstance:Ga.findFiberByHostInstance||lb,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
vendor: 2,077 bytes, line 8
8if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Hs=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Hs.isDisabled&&Hs.supportsFiber)try{zi=Hs.inject(db),Sn=Hs}catch{}}return Rt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=cb,Rt.createPortal=function(t,o){var s=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!_c(o))throw Error(r(200));return sb(t,o,null,s)},Rt.createRoot=function(t,o){if(!_c(t))throw Error(r(299));var s=!1,c="",h=ov;return o!=null&&(o.unstable_strictMode===!0&&(s=!0),o.identifierPrefix!==void 0&&(c=o.identifierPrefix),o.onRecoverableError!==void 0&&(h=o.onRecoverableError)),o=Mc(t,1,!1,null,null,s,!1,c,h),t[Fn]=o.current,_a(t.nodeType===8?t.parentNode:t),new Tc(o)},Rt.findDOMNode=function(t){if(t==null)return null;if(t.nodeType===1)return t;var o=t._reactInternals;if(o===void 0)throw typeof t.render=="function"?Error(r(188)):(t=Object.keys(t).join(","),Error(r(268,t)));return t=Np(o),t=t===null?null:t.stateNode,t},Rt.flushSync=function(t){return Kr(t)},Rt.hydrate=function(t,o,s){if(!Bs(o))throw Error(r(200));return Us(null,t,o,!0,s)},Rt.hydrateRoot=function(t,o,s){if(!_c(t))throw Error(r(405));var c=s!=null&&s.hydratedSources||null,h=!1,y="",E=ov;if(s!=null&&(s.unstable_strictMode===!0&&(h=!0),s.identifierPrefix!==void 0&&(y=s.identifierPrefix),s.onRecoverableError!==void 0&&(E=s.onRecoverableError)),o=nv(o,null,t,1,s??null,h,!1,y,E),t[Fn]=o.current,_a(t),c)for(t=0;t<c.length;t++)s=c[t],h=s._getVersion,h=h(s._source),o.mutableSourceEagerHydrationData==null?o.mutableSourceEagerHydrationData=[s,h]:o.mutableSourceEagerHydrationData.push(s,h);return new zs(o)},Rt.render=function(t,o,s){if(!Bs(o))throw Error(r(200));return Us(null,t,o,!1,s)},Rt.unmountComponentAtNode=function(t){if(!Bs(t))throw Error(r(40));return t._reactRootContainer?(Kr(function(){Us(null,null,t,!1,function(){t._reactRootContainer=null,t[Fn]=null})}),!0):!1},Rt.unstable_batchedUpdates=bc,Rt.unstable_renderSubtreeIntoContainer=function(t,o,s,c){if(!Bs(s))throw Error(r(200));if(t==null||t._reactInternals===void 0)throw Error(r(38));return Us(t,o,s,!1,c)}
8,Rt.version="18.3.1-next-f1338f8080-20240426",Rt}var mv;function Hy(){if(mv)return Ac.exports;mv=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch{}}return e(),Ac.exports=Tb(),Ac.exports}var vv;function _b(){if(vv)return Ws;vv=1;var e=Hy();return Ws.createRoot=e.createRoot,Ws.hydrateRoot=e.hydrateRoot,Ws}var q3=_b(),f=cf();const oe=Uy(f),Wy=kb({__proto__:null,default:oe},[f]);var yv=["light","dark"],Nb="(prefers-color-scheme: dark)",Ob=f.createContext(void 0),Db={setTheme:e=>{},themes:[]},Q3=()=>{var e;return(e=f.useContext(Ob))!=null?e:Db};f.memo(({forcedTheme:e,storageKey:n,attribute:r,enableSystem:a,enableColorScheme:i,defaultTheme:l,value:u,attrs:d,nonce:p})=>{let m=l==="system",v=r==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${d.map(S=>`'${S}'`).join(",")})`};`:`var d=document.documentElement,n='${r}',s='setAttribute';`,g=i?yv.includes(l)&&l?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${l}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",w=(S,x=!1,C=!0)=>{let M=u?u[S]:S,R=x?S+"|| ''":`'${M}'`,O="";return i&&C&&!x&&yv.includes(S)&&(O+=`d.style.colorScheme = '${S}';`),r==="class"?x||M?O+=`c.add(${R})`:O+="null":M&&(O+=`d[s](n,${R})`),O},b=e?`!function(){${v}${w(e)}}()`:a?`!function(){try{${v}var e=localStorage.getItem('${n}');if('system'===e||(!e&&${m})){var t='${Nb}',m=window.matchMedia(t);if(m.media!==t||m.matches){${w("dark")}}else{${w("light")}}}else if(e){${u?`var x=${JSON.stringify(u)};`:""}${w(u?"x[e]":"e",!0)}}${m?"":"else{"+w(l,!1,!1)+"}"}${g}}catch(e){}}()`:`!function(){try{${v}var e=localStorage.getItem('${n}');if(e){${u?`var x=${JSON.stringify(u)};`:""}${w(u?"x[e]":"e",!0)}}else{${w(l,!1,!1)};}${g}}catch(t){}}();`;return f.createElement("script",{nonce:p,dangerouslySetInnerHTML:{__html:b}})});var lo=Hy();const df=Uy(lo);var Ib=e=>{switch(e){case"success":return $b;case"info":return jb;case"warning":return Fb;case"error":return zb;default:return null}},Ab=Array(12).fill(0),Lb=({visible:e})=>oe.createElement("div",{className:"sonner-loading-wrapper","data-visible":e},oe.createElement("div",{className:"sonner-spinner"},Ab.map((n,r)=>oe.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),$b=oe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},oe.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"})),Fb=oe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},oe.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"})),jb=oe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},oe.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"})),zb=oe.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},oe.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"})),Bb=()=>{let[e,n]=oe.useState(document.hidden);return oe.useEffect(()=>{let r=()=>{n(document.hidden)};return document.addEventListener("visibilitychange",r),()=>window.removeEventListener("visibilitychange",r)},[]),e},wd=1,Ub=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let n=this.subscribers.indexOf(e);this.subscribers.splice(n,1)}),this.publish=e=>
8{this.subscribers.forEach(n=>n(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var n;let{message:r,...a}=e,i=typeof e?.id=="number"||((n=e.id)==null?void 0:n.length)>0?e.id:wd++,l=this.toasts.find(d=>d.id===i),u=e.dismissible===void 0?!0:e.dismissible;return l?this.toasts=this.toasts.map(d=>d.id===i?(this.publish({...d,...e,id:i,title:r}),{...d,...e,id:i,dismissible:u,title:r}):d):this.addToast({title:r,...a,dismissible:u,id:i}),i},this.dismiss=e=>(e||this.toasts.forEach(n=>{this.subscribers.forEach(r=>r({id:n.id,dismiss:!0}))}),this.subscribers.forEach(n=>n({id:e,dismiss:!0})),e),this.message=(e,n)=>this.create({...n,message:e}),this.error=(e,n)=>this.create({...n,message:e,type:"error"}),this.success=(e,n)=>this.create({...n,type:"success",message:e}),this.info=(e,n)=>this.create({...n,type:"info",message:e}),this.warning=(e,n)=>this.create({...n,type:"warning",message:e}),this.loading=(e,n)=>this.create({...n,type:"loading",message:e}),this.promise=(e,n)=>{if(!n)return;let r;n.loading!==void 0&&(r=this.create({...n,promise:e,type:"loading",message:n.loading,description:typeof n.description!="function"?n.description:void 0}));let a=e instanceof Promise?e:e(),i=r!==void 0;return a.then(async l=>{if(Wb(l)&&!l.ok){i=!1;let u=typeof n.error=="function"?await n.error(`HTTP error! status: ${l.status}`):n.error,d=typeof n.description=="function"?await n.description(`HTTP error! status: ${l.status}`):n.description;this.create({id:r,type:"error",message:u,description:d})}else if(n.success!==void 0){i=!1;let u=typeof n.success=="function"?await n.success(l):n.success,d=typeof n.description=="function"?await n.description(l):n.description;this.create({id:r,type:"success",message:u,description:d})}}).catch(async l=>{if(n.error!==void 0){i=!1;let u=typeof n.error=="function"?await n.error(l):n.error,d=typeof n.description=="function"?await n.description(l):n.description;this.create({id:r,type:"error",message:u,description:d})}}).finally(()=>{var l;i&&(this.dismiss(r),r=void 0),(l=n.finally)==null||l.call(n)}),r},this.custom=(e,n)=>{let r=n?.id||wd++;return this.create({jsx:e(r),id:r,...n}),r},this.subscribers=[],this.toasts=[]}},It=new Ub,Hb=(e,n)=>{let r=n?.id||wd++;return It.addToast({title:e,...n,id:r}),r},Wb=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",Vb=Hb,Kb=()=>It.toasts,Y3=Object.assign(Vb,{success:It.success,info:It.info,warning:It.warning,error:It.error,custom:It.custom,message:It.message,promise:It.promise,dismiss:It.dismiss,loading:It.loading},{getHistory:Kb});function Gb(e,{insertAt:n}={}){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css",n==="top"&&r.firstChild?r.insertBefore(a,r.firstChild):r.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}Gb(`: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}:where([data-sonner-toaster][data-x-position="right"]){right:max(var(--offset),env(safe-area-inset-right))}:where([data-sonner-toaster][data-x-position="left"]){left:max(var(--offset),env(safe-area-inset-left))}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:max(var(--offset),env(safe-area-inset-top))}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:max(var(--offset),env(safe-area-inset-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;
8left: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;background:var(--gray1);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}: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:0;right:0;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}
8: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, 0px));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{0%{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;--mobile-offset: 16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);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-border: hsl(0, 0%, 20%);--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%);--error-text: hsl(358, 100%, 81%)}[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%)} 9`);function Vs(e){return e.label!==void 0}var qb=3,Qb="32px",Yb=4e3,Xb=356,Zb=14,Jb=20,eC=200;function tC(...e){return e.filter(Boolean).join(" ")}var nC=e=>{var n,r,a,i,l,u,d,p,m,v;let{invert:g,toast:w,unstyled:b,interacting:S,setHeights:x,visibleToasts:C,heights:M,index:R,toasts:O,expanded:L,removeToast:$,defaultRichColors:Q,closeButton:U,style:Y,cancelButtonStyle:ie,actionButtonStyle:le,className:he="",descriptionClassName:ae="",duration:me,position:de,gap:pe,loadingIcon:re,expandByDefault:X,classNames:D,icons:W,closeButtonAriaLabel:N="Close toast",pauseWhenPageIsHidden:k,cn:T}=e,[j,G]=oe.useState(!1),[V,q]=oe.useState(!1),[z,Z]=oe.useState(!1),[se,ue]=oe.useState(!1),[xe,ke]=oe.useState(0),[Ne,Se]=oe.useState(0),We=oe.useRef(null),ze=oe.useRef(null),Ze=R===0,Ct=R+1<=C,Ve=w.type,qe=w.dismissible!==!1,kn=w.className||"",Or=w.descriptionClassName||"",An=oe.useMemo(()=>M.findIndex(Me=>Me.toastId===w.id)||0,[M,w.id]),Dr=oe.useMemo(()=>{var Me;return(Me=w.closeButton)!=null?Me:U},[w.closeButton,U]),Ir=oe.useMemo(()=>w.duration||me||Yb,[w.duration,me]),Ln=oe.useRef(0),Ut=oe.useRef(0),$n=oe.useRef(0),Ht=oe.useRef(null),[on,an]=de.split("-"),po=oe.useMemo(()=>M.reduce((Me,Le,Ae)=>Ae>=An?Me:Me+Le.height,0),[M,An]),Ar=Bb(),Ai=w.invert||g,ca=Ve==="loading";Ut.current=oe.useMemo(()=>An*pe+po,[An,po]),oe.useEffect(()=>{G(!0)},[]),oe.useLayoutEffect(()=>{if(!j)return;let Me=ze.current,Le=Me.style.height;Me.style.height="auto";let Ae=Me.getBoundingClientRect().height;Me.style.height=Le,Se(Ae),x(st=>st.find(lt=>lt.toastId===w.id)?st.map(lt=>lt.toastId===w.id?{...lt,height:Ae}:lt):[{toastId:w.id,height:Ae,position:w.position},...st])},[j,w.title,w.description,x,w.id]);let Wt=oe.useCallback(()=>{q(!0),ke(Ut.current),x(Me=>Me.filter(Le=>Le.toastId!==w.id)),setTimeout(()=>{$(w)},eC)},[w,$,x,Ut]);oe.useEffect(()=>{if(w.promise&&Ve==="loading"||w.duration===1/0||w.type==="loading")return;let Me,Le=Ir;return L||S||k&&Ar?(()=>{if($n.current<Ln.current){let Ae=new Date().getTime()-Ln.current;Le=Le-Ae}
9$n.current=new Date().getTime()})():Le!==1/0&&(Ln.current=new Date().getTime(),Me=setTimeout(()=>{var Ae;(Ae=w.onAutoClose)==null||Ae.call(w,w),Wt()},Le)),()=>clearTimeout(Me)},[L,S,X,w,Ir,Wt,w.promise,Ve,k,Ar]),oe.useEffect(()=>{let Me=ze.current;if(Me){let Le=Me.getBoundingClientRect().height;return Se(Le),x(Ae=>[{toastId:w.id,height:Le,position:w.position},...Ae]),()=>x(Ae=>Ae.filter(st=>st.toastId!==w.id))}},[x,w.id]),oe.useEffect(()=>{w.delete&&Wt()},[Wt,w.delete]);function da(){return W!=null&&W.loading?oe.createElement("div",{className:"sonner-loader","data-visible":Ve==="loading"},W.loading):re?oe.createElement("div",{className:"sonner-loader","data-visible":Ve==="loading"},re):oe.createElement(Lb,{visible:Ve==="loading"})}return oe.createElement("li",{"aria-live":w.important?"assertive":"polite","aria-atomic":"true",role:"status",tabIndex:0,ref:ze,className:T(he,kn,D?.toast,(n=w?.classNames)==null?void 0:n.toast,D?.default,D?.[Ve],(r=w?.classNames)==null?void 0:r[Ve]),"data-sonner-toast":"","data-rich-colors":(a=w.richColors)!=null?a:Q,"data-styled":!(w.jsx||w.unstyled||b),"data-mounted":j,"data-promise":!!w.promise,"data-removed":V,"data-visible":Ct,"data-y-position":on,"data-x-position":an,"data-index":R,"data-front":Ze,"data-swiping":z,"data-dismissible":qe,"data-type":Ve,"data-invert":Ai,"data-swipe-out":se,"data-expanded":!!(L||X&&j),style:{"--index":R,"--toasts-before":R,"--z-index":O.length-R,"--offset":`${V?xe:Ut.current}px`,"--initial-height":X?"auto":`${Ne}px`,...Y,...w.style},onPointerDown:Me=>{ca||!qe||(We.current=new Date,ke(Ut.current),Me.target.setPointerCapture(Me.pointerId),Me.target.tagName!=="BUTTON"&&(Z(!0),Ht.current={x:Me.clientX,y:Me.clientY}))},onPointerUp:()=>{var Me,Le,Ae,st;if(se||!qe)return;Ht.current=null;let lt=Number(((Me=ze.current)==null?void 0:Me.style.getPropertyValue("--swipe-amount").replace("px",""))||0),Lr=new Date().getTime()-((Le=We.current)==null?void 0:Le.getTime()),Li=Math.abs(lt)/Lr;if(Math.abs(lt)>=Jb||Li>.11){ke(Ut.current),(Ae=w.onDismiss)==null||Ae.call(w,w),Wt(),ue(!0);return}(st=ze.current)==null||st.style.setProperty("--swipe-amount","0px"),Z(!1)},onPointerMove:Me=>{var Le;if(!Ht.current||!qe)return;let Ae=Me.clientY-Ht.current.y,st=Me.clientX-Ht.current.x,lt=(on==="top"?Math.min:Math.max)(0,Ae),Lr=Me.pointerType==="touch"?10:2;Math.abs(lt)>Lr?(Le=ze.current)==null||Le.style.setProperty("--swipe-amount",`${Ae}px`):Math.abs(st)>Lr&&(Ht.current=null)}},Dr&&!w.jsx?oe.createElement("button",{"aria-label":N,"data-disabled":ca,"data-close-button":!0,onClick:ca||!qe?()=>{}:()=>{var Me;Wt(),(Me=w.onDismiss)==null||Me.call(w,w)},className:T(D?.closeButton,(i=w?.classNames)==null?void 0:i.closeButton)},oe.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"},oe.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),oe.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"}))):null,w.jsx||oe.isValidElement(w.title)?w.jsx||w.title:oe.createElement(oe.Fragment,null,Ve||w.icon||w.promise?oe.createElement("div",{"data-icon":"",className:T(D?.icon,(l=w?.classNames)==null?void 0:l.icon)},w.promise||w.type==="loading"&&!w.icon?w.icon||da():null,w.type!=="loading"?w.icon||W?.[Ve]||Ib(Ve):null):null,oe.createElement("div",{"data-content":"",className:T(D?.content,(u=w?.classNames)==null?void 0:u.content)},oe.createElement("div",{"data-title":"",className:T(D?.title,(d=w?.classNames)==null?void 0:d.title)},w.title),w.description?oe.createElement("div",{"data-description":"",className:T(ae,Or,D?.description,(p=w?.classNames)==null?void 0:p.description)},w.description):null),oe.isValidElement(w.cancel)?w.cancel:w.cancel&&Vs(w.cancel)?oe.createElement("button",{"data-button":!0,"data-cancel":!0,style:w.cancelButtonStyle||ie,onClick:Me=>{var Le,Ae;Vs(w.cancel)&&qe&&((Ae=(Le=w.cancel).onClick)==null||Ae.call(Le,Me),Wt())},className:T(D?.cancelButton,(m=w?.classNames)==null?void 0:m.cancelButton)},w.cancel.label):null,oe.isValidElement(w.action)?w.action:w.action&&Vs(w.action)?oe.createElement("button",{"data-button":!0,"data-action":!0,style:w.actionButtonStyle||le,onClick:Me=>{var Le,Ae;Vs(w.action)&&(Me.defaultPrevented||((Ae=(Le=w.action).onClick)==null||Ae.call(Le,Me),Wt()))},className:T(D?.actionButton,(v=w?.classNames)==null?void 0:v.actionButton)},w.action.label):null))};
9function gv(){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}var X3=e=>{let{invert:n,position:r="bottom-right",hotkey:a=["altKey","KeyT"],expand:i,closeButton:l,className:u,offset:d,theme:p="light",richColors:m,duration:v,style:g,visibleToasts:w=qb,toastOptions:b,dir:S=gv(),gap:x=Zb,loadingIcon:C,icons:M,containerAriaLabel:R="Notifications",pauseWhenPageIsHidden:O,cn:L=tC}=e,[$,Q]=oe.useState([]),U=oe.useMemo(()=>Array.from(new Set([r].concat($.filter(k=>k.position).map(k=>k.position)))),[$,r]),[Y,ie]=oe.useState([]),[le,he]=oe.useState(!1),[ae,me]=oe.useState(!1),[de,pe]=oe.useState(p!=="system"?p:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),re=oe.useRef(null),X=a.join("+").replace(/Key/g,"").replace(/Digit/g,""),D=oe.useRef(null),W=oe.useRef(!1),N=oe.useCallback(k=>{var T;(T=$.find(j=>j.id===k.id))!=null&&T.delete||It.dismiss(k.id),Q(j=>j.filter(({id:G})=>G!==k.id))},[$]);return oe.useEffect(()=>It.subscribe(k=>{if(k.dismiss){Q(T=>T.map(j=>j.id===k.id?{...j,delete:!0}:j));return}setTimeout(()=>{df.flushSync(()=>{Q(T=>{let j=T.findIndex(G=>G.id===k.id);
vendor: 4,099 bytes, line 9
9return j!==-1?[...T.slice(0,j),{...T[j],...k},...T.slice(j+1)]:[k,...T]})})})}),[]),oe.useEffect(()=>{if(p!=="system"){pe(p);return}p==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?pe("dark"):pe("light")),typeof window<"u"&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",({matches:k})=>{pe(k?"dark":"light")})},[p]),oe.useEffect(()=>{$.length<=1&&he(!1)},[$]),oe.useEffect(()=>{let k=T=>{var j,G;a.every(V=>T[V]||T.code===V)&&(he(!0),(j=re.current)==null||j.focus()),T.code==="Escape"&&(document.activeElement===re.current||(G=re.current)!=null&&G.contains(document.activeElement))&&he(!1)};return document.addEventListener("keydown",k),()=>document.removeEventListener("keydown",k)},[a]),oe.useEffect(()=>{if(re.current)return()=>{D.current&&(D.current.focus({preventScroll:!0}),D.current=null,W.current=!1)}},[re.current]),$.length?oe.createElement("section",{"aria-label":`${R} ${X}`,tabIndex:-1},U.map((k,T)=>{var j;let[G,V]=k.split("-");return oe.createElement("ol",{key:k,dir:S==="auto"?gv():S,tabIndex:-1,ref:re,className:u,"data-sonner-toaster":!0,"data-theme":de,"data-y-position":G,"data-x-position":V,style:{"--front-toast-height":`${((j=Y[0])==null?void 0:j.height)||0}px`,"--offset":typeof d=="number"?`${d}px`:d||Qb,"--width":`${Xb}px`,"--gap":`${x}px`,...g},onBlur:q=>{W.current&&!q.currentTarget.contains(q.relatedTarget)&&(W.current=!1,D.current&&(D.current.focus({preventScroll:!0}),D.current=null))},onFocus:q=>{q.target instanceof HTMLElement&&q.target.dataset.dismissible==="false"||W.current||(W.current=!0,D.current=q.relatedTarget)},onMouseEnter:()=>he(!0),onMouseMove:()=>he(!0),onMouseLeave:()=>{ae||he(!1)},onPointerDown:q=>{q.target instanceof HTMLElement&&q.target.dataset.dismissible==="false"||me(!0)},onPointerUp:()=>me(!1)},$.filter(q=>!q.position&&T===0||q.position===k).map((q,z)=>{var Z,se;return oe.createElement(nC,{key:q.id,icons:M,index:z,toast:q,defaultRichColors:m,duration:(Z=b?.duration)!=null?Z:v,className:b?.className,descriptionClassName:b?.descriptionClassName,invert:n,visibleToasts:w,closeButton:(se=b?.closeButton)!=null?se:l,interacting:ae,position:k,style:b?.style,unstyled:b?.unstyled,classNames:b?.classNames,cancelButtonStyle:b?.cancelButtonStyle,actionButtonStyle:b?.actionButtonStyle,removeToast:N,toasts:$.filter(ue=>ue.position==q.position),heights:Y.filter(ue=>ue.position==q.position),setHeights:ie,expandByDefault:i,gap:x,loadingIcon:C,expanded:le,pauseWhenPageIsHidden:O,cn:L})}))})):null};function ce(e,n,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e?.(i),r===!1||!i.defaultPrevented)return n?.(i)}}function rC(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function xl(...e){return n=>e.forEach(r=>rC(r,n))}function Oe(...e){return f.useCallback(xl(...e),e)}function oC(e,n){const r=f.createContext(n),a=l=>{const{children:u,...d}=l,p=f.useMemo(()=>d,Object.values(d));return P.jsx(r.Provider,{value:p,children:u})};a.displayName=e+"Provider";function i(l){const u=f.useContext(r);if(u)return u;if(n!==void 0)return n;throw new Error(`\`${l}\` must be used within \`${e}\``)}return[a,i]}function On(e,n=[]){let r=[];function a(l,u){const d=f.createContext(u),p=r.length;r=[...r,u];const m=g=>{const{scope:w,children:b,...S}=g,x=w?.[e]?.[p]||d,C=f.useMemo(()=>S,Object.values(S));return P.jsx(x.Provider,{value:C,children:b})};m.displayName=l+"Provider";function v(g,w){const b=w?.[e]?.[p]||d,S=f.useContext(b);if(S)return S;if(u!==void 0)return u;throw new Error(`\`${g}\` must be used within \`${l}\``)}return[m,v]}const i=()=>{const l=r.map(u=>f.createContext(u));return function(d){const p=d?.[e]||l;return f.useMemo(()=>({[`__scope${e}`]:{...d,[e]:p}}),[d,p])}};return i.scopeName=e,[a,aC(i,...n)]}function aC(...e){const n=e[0];if(e.length===1)return n;const r=()=>{const a=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(l){const u=a.reduce((d,{useScope:p,scopeName:m})=>{const g=p(l)[`__scope${m}`];return{...d,...g}},{});return f.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return r.scopeName=n.scopeName,r}
vendor: 5,572 bytes, line 9
9var kr=f.forwardRef((e,n)=>{const{children:r,...a}=e,i=f.Children.toArray(r),l=i.find(iC);if(l){const u=l.props.children,d=i.map(p=>p===l?f.Children.count(u)>1?f.Children.only(null):f.isValidElement(u)?u.props.children:null:p);return P.jsx(xd,{...a,ref:n,children:f.isValidElement(u)?f.cloneElement(u,void 0,d):null})}return P.jsx(xd,{...a,ref:n,children:r})});kr.displayName="Slot";var xd=f.forwardRef((e,n)=>{const{children:r,...a}=e;if(f.isValidElement(r)){const i=lC(r);return f.cloneElement(r,{...sC(a,r.props),ref:n?xl(n,i):i})}return f.Children.count(r)>1?f.Children.only(null):null});xd.displayName="SlotClone";var ff=({children:e})=>P.jsx(P.Fragment,{children:e});function iC(e){return f.isValidElement(e)&&e.type===ff}function sC(e,n){const r={...n};for(const a in n){const i=e[a],l=n[a];/^on[A-Z]/.test(a)?i&&l?r[a]=(...d)=>{l(...d),i(...d)}:i&&(r[a]=i):a==="style"?r[a]={...i,...l}:a==="className"&&(r[a]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}function lC(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var uC=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],Re=uC.reduce((e,n)=>{const r=f.forwardRef((a,i)=>{const{asChild:l,...u}=a,d=l?kr:n;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),P.jsx(d,{...u,ref:i})});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});function Vy(e,n){e&&lo.flushSync(()=>e.dispatchEvent(n))}function tn(e){const n=f.useRef(e);return f.useEffect(()=>{n.current=e}),f.useMemo(()=>(...r)=>n.current?.(...r),[])}function cC(e,n=globalThis?.document){const r=tn(e);f.useEffect(()=>{const a=i=>{i.key==="Escape"&&r(i)};return n.addEventListener("keydown",a,{capture:!0}),()=>n.removeEventListener("keydown",a,{capture:!0})},[r,n])}var dC="DismissableLayer",bd="dismissableLayer.update",fC="dismissableLayer.pointerDownOutside",pC="dismissableLayer.focusOutside",wv,Ky=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),ea=f.forwardRef((e,n)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:l,onInteractOutside:u,onDismiss:d,...p}=e,m=f.useContext(Ky),[v,g]=f.useState(null),w=v?.ownerDocument??globalThis?.document,[,b]=f.useState({}),S=Oe(n,U=>g(U)),x=Array.from(m.layers),[C]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),M=x.indexOf(C),R=v?x.indexOf(v):-1,O=m.layersWithOutsidePointerEventsDisabled.size>0,L=R>=M,$=vC(U=>{const Y=U.target,ie=[...m.branches].some(le=>le.contains(Y));!L||ie||(i?.(U),u?.(U),U.defaultPrevented||d?.())},w),Q=yC(U=>{const Y=U.target;[...m.branches].some(le=>le.contains(Y))||(l?.(U),u?.(U),U.defaultPrevented||d?.())},w);return cC(U=>{R===m.layers.size-1&&(a?.(U),!U.defaultPrevented&&d&&(U.preventDefault(),d()))},w),f.useEffect(()=>{if(v)return r&&(m.layersWithOutsidePointerEventsDisabled.size===0&&(wv=w.body.style.pointerEvents,w.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(v)),m.layers.add(v),xv(),()=>{r&&m.layersWithOutsidePointerEventsDisabled.size===1&&(w.body.style.pointerEvents=wv)}},[v,w,r,m]),f.useEffect(()=>()=>{v&&(m.layers.delete(v),m.layersWithOutsidePointerEventsDisabled.delete(v),xv())},[v,m]),f.useEffect(()=>{const U=()=>b({});return document.addEventListener(bd,U),()=>document.removeEventListener(bd,U)},[]),P.jsx(Re.div,{...p,ref:S,style:{pointerEvents:O?L?"auto":"none":void 0,...e.style},onFocusCapture:ce(e.onFocusCapture,Q.onFocusCapture),onBlurCapture:ce(e.onBlurCapture,Q.onBlurCapture),onPointerDownCapture:ce(e.onPointerDownCapture,$.onPointerDownCapture)})});ea.displayName=dC;var hC="DismissableLayerBranch",mC=f.forwardRef((e,n)=>{const r=f.useContext(Ky),a=f.useRef(null),i=Oe(n,a);return f.useEffect(()=>{const l=a.current;if(l)return r.branches.add(l),()=>{r.branches.delete(l)}},[r.branches]),P.jsx(Re.div,{...e,ref:i})});mC.displayName=hC;function vC(e,n=globalThis?.document){const r=tn(e),a=f.useRef(!1),i=f.useRef(()=>{});return f.useEffect(()=>{const l=d=>{if(d.target&&!a.current){let p=function(){Gy(fC,r,m,{discrete:!0})};const m={originalEvent:d};d.pointerType==="touch"?(n.removeEventListener("click",i.current),i.current=p,n.addEventListener("click",i.current,{once:!0})):p()}else n.removeEventListener("click",i.current);a.current=!1},u=window.setTimeout(()=>{n.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(u),n.removeEventListener("pointerdown",l),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>a.current=!0}}function yC(e,n=globalThis?.document){const r=tn(e),a=f.useRef(!1);return f.useEffect(()=>{const i=l=>{l.target&&!a.current&&Gy(pC,r,{originalEvent:l},{discrete:!1})};return n.addEventListener("focusin",i),()=>n.removeEventListener("focusin",i)},[n,r]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function xv(){const e=new CustomEvent(bd);document.dispatchEvent(e)}function Gy(e,n,r,{discrete:a}){const i=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});n&&i.addEventListener(e,n,{once:!0}),a?Vy(i,l):i.dispatchEvent(l)}var yt=globalThis?.document?f.useLayoutEffect:()=>{},gC=Wy.useId||(()=>{}),wC=0;function Zt(e){const[n,r]=f.useState(gC());return yt(()=>{r(a=>a??String(wC++))},[e]),n?`radix-${n}`:""}const xC=["top","right","bottom","left"],Sr=Math.min,Lt=Math.max,ul=Math.round,Ks=Math.floor,Er=e=>({x:e,y:e}
vendor: 1,448 bytes, line 9
9),bC={left:"right",right:"left",bottom:"top",top:"bottom"},CC={start:"end",end:"start"};function Cd(e,n,r){return Lt(e,Sr(n,r))}function Qn(e,n){return typeof e=="function"?e(n):e}function Yn(e){return e.split("-")[0]}function ta(e){return e.split("-")[1]}function pf(e){return e==="x"?"y":"x"}function hf(e){return e==="y"?"height":"width"}function Pr(e){return["top","bottom"].includes(Yn(e))?"y":"x"}function mf(e){return pf(Pr(e))}function kC(e,n,r){r===void 0&&(r=!1);const a=ta(e),i=mf(e),l=hf(i);let u=i==="x"?a===(r?"end":"start")?"right":"left":a==="start"?"bottom":"top";return n.reference[l]>n.floating[l]&&(u=cl(u)),[u,cl(u)]}function SC(e){const n=cl(e);return[kd(e),n,kd(n)]}function kd(e){return e.replace(/start|end/g,n=>CC[n])}function EC(e,n,r){const a=["left","right"],i=["right","left"],l=["top","bottom"],u=["bottom","top"];switch(e){case"top":case"bottom":return r?n?i:a:n?a:i;case"left":case"right":return n?l:u;default:return[]}}function PC(e,n,r,a){const i=ta(e);let l=EC(Yn(e),r==="start",a);return i&&(l=l.map(u=>u+"-"+i),n&&(l=l.concat(l.map(kd)))),l}function cl(e){return e.replace(/left|right|bottom|top/g,n=>bC[n])}function MC(e){return{top:0,right:0,bottom:0,left:0,...e}}function qy(e){return typeof e!="number"?MC(e):{top:e,right:e,bottom:e,left:e}}function dl(e){const{x:n,y:r,width:a,height:i}=e;return{width:a,height:i,top:r,left:n,right:n+a,bottom:r+i,x:n,y:r}}function bv(e,n,r){let{reference:a,floating:i}=e;
vendor: 10,293 bytes, line 9
9const l=Pr(n),u=mf(n),d=hf(u),p=Yn(n),m=l==="y",v=a.x+a.width/2-i.width/2,g=a.y+a.height/2-i.height/2,w=a[d]/2-i[d]/2;let b;switch(p){case"top":b={x:v,y:a.y-i.height};break;case"bottom":b={x:v,y:a.y+a.height};break;case"right":b={x:a.x+a.width,y:g};break;case"left":b={x:a.x-i.width,y:g};break;default:b={x:a.x,y:a.y}}switch(ta(n)){case"start":b[u]-=w*(r&&m?-1:1);break;case"end":b[u]+=w*(r&&m?-1:1);break}return b}const RC=async(e,n,r)=>{const{placement:a="bottom",strategy:i="absolute",middleware:l=[],platform:u}=r,d=l.filter(Boolean),p=await(u.isRTL==null?void 0:u.isRTL(n));let m=await u.getElementRects({reference:e,floating:n,strategy:i}),{x:v,y:g}=bv(m,a,p),w=a,b={},S=0;for(let x=0;x<d.length;x++){const{name:C,fn:M}=d[x],{x:R,y:O,data:L,reset:$}=await M({x:v,y:g,initialPlacement:a,placement:w,strategy:i,middlewareData:b,rects:m,platform:u,elements:{reference:e,floating:n}});v=R??v,g=O??g,b={...b,[C]:{...b[C],...L}},$&&S<=50&&(S++,typeof $=="object"&&($.placement&&(w=$.placement),$.rects&&(m=$.rects===!0?await u.getElementRects({reference:e,floating:n,strategy:i}):$.rects),{x:v,y:g}=bv(m,w,p)),x=-1)}return{x:v,y:g,placement:w,strategy:i,middlewareData:b}};async function ii(e,n){var r;n===void 0&&(n={});const{x:a,y:i,platform:l,rects:u,elements:d,strategy:p}=e,{boundary:m="clippingAncestors",rootBoundary:v="viewport",elementContext:g="floating",altBoundary:w=!1,padding:b=0}=Qn(n,e),S=qy(b),C=d[w?g==="floating"?"reference":"floating":g],M=dl(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(C)))==null||r?C:C.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(d.floating)),boundary:m,rootBoundary:v,strategy:p})),R=g==="floating"?{x:a,y:i,width:u.floating.width,height:u.floating.height}:u.reference,O=await(l.getOffsetParent==null?void 0:l.getOffsetParent(d.floating)),L=await(l.isElement==null?void 0:l.isElement(O))?await(l.getScale==null?void 0:l.getScale(O))||{x:1,y:1}:{x:1,y:1},$=dl(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:d,rect:R,offsetParent:O,strategy:p}):R);return{top:(M.top-$.top+S.top)/L.y,bottom:($.bottom-M.bottom+S.bottom)/L.y,left:(M.left-$.left+S.left)/L.x,right:($.right-M.right+S.right)/L.x}}const TC=e=>({name:"arrow",options:e,async fn(n){const{x:r,y:a,placement:i,rects:l,platform:u,elements:d,middlewareData:p}=n,{element:m,padding:v=0}=Qn(e,n)||{};if(m==null)return{};const g=qy(v),w={x:r,y:a},b=mf(i),S=hf(b),x=await u.getDimensions(m),C=b==="y",M=C?"top":"left",R=C?"bottom":"right",O=C?"clientHeight":"clientWidth",L=l.reference[S]+l.reference[b]-w[b]-l.floating[S],$=w[b]-l.reference[b],Q=await(u.getOffsetParent==null?void 0:u.getOffsetParent(m));let U=Q?Q[O]:0;(!U||!await(u.isElement==null?void 0:u.isElement(Q)))&&(U=d.floating[O]||l.floating[S]);const Y=L/2-$/2,ie=U/2-x[S]/2-1,le=Sr(g[M],ie),he=Sr(g[R],ie),ae=le,me=U-x[S]-he,de=U/2-x[S]/2+Y,pe=Cd(ae,de,me),re=!p.arrow&&ta(i)!=null&&de!==pe&&l.reference[S]/2-(de<ae?le:he)-x[S]/2<0,X=re?de<ae?de-ae:de-me:0;return{[b]:w[b]+X,data:{[b]:pe,centerOffset:de-pe-X,...re&&{alignmentOffset:X}},reset:re}}}),_C=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var r,a;const{placement:i,middlewareData:l,rects:u,initialPlacement:d,platform:p,elements:m}=n,{mainAxis:v=!0,crossAxis:g=!0,fallbackPlacements:w,fallbackStrategy:b="bestFit",fallbackAxisSideDirection:S="none",flipAlignment:x=!0,...C}=Qn(e,n);if((r=l.arrow)!=null&&r.alignmentOffset)return{};const M=Yn(i),R=Pr(d),O=Yn(d)===d,L=await(p.isRTL==null?void 0:p.isRTL(m.floating)),$=w||(O||!x?[cl(d)]:SC(d)),Q=S!=="none";!w&&Q&&$.push(...PC(d,x,S,L));const U=[d,...$],Y=await ii(n,C),ie=[];let le=((a=l.flip)==null?void 0:a.overflows)||[];if(v&&ie.push(Y[M]),g){const de=kC(i,u,L);ie.push(Y[de[0]],Y[de[1]])}if(le=[...le,{placement:i,overflows:ie}],!ie.every(de=>de<=0)){var he,ae;const de=(((he=l.flip)==null?void 0:he.index)||0)+1,pe=U[de];if(pe)return{data:{index:de,overflows:le},reset:{placement:pe}};let re=(ae=le.filter(X=>X.overflows[0]<=0).sort((X,D)=>X.overflows[1]-D.overflows[1])[0])==null?void 0:ae.placement;if(!re)switch(b){case"bestFit":{var me;const X=(me=le.filter(D=>{if(Q){const W=Pr(D.placement);return W===R||W==="y"}return!0}).map(D=>[D.placement,D.overflows.filter(W=>W>0).reduce((W,N)=>W+N,0)]).sort((D,W)=>D[1]-W[1])[0])==null?void 0:me[0];X&&(re=X);break}case"initialPlacement":re=d;break}if(i!==re)return{reset:{placement:re}}}return{}}}};function Cv(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function kv(e){return xC.some(n=>e[n]>=0)}const NC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:r}=n,{strategy:a="referenceHidden",...i}=Qn(e,n);switch(a){case"referenceHidden":{const l=await ii(n,{...i,elementContext:"reference"}),u=Cv(l,r.reference);return{data:{referenceHiddenOffsets:u,referenceHidden:kv(u)}}}case"escaped":{const l=await ii(n,{...i,altBoundary:!0}),u=Cv(l,r.floating);return{data:{escapedOffsets:u,escaped:kv(u)}}}default:return{}}}}};async function OC(e,n){const{placement:r,platform:a,elements:i}=e,l=await(a.isRTL==null?void 0:a.isRTL(i.floating)),u=Yn(r),d=ta(r),p=Pr(r)==="y",m=["left","top"].includes(u)?-1:1,v=l&&p?-1:1,g=Qn(n,e);let{mainAxis:w,crossAxis:b,alignmentAxis:S}=typeof g=="number"?{mainAxis:g,crossAxis:0,alignmentAxis:null}:{mainAxis:g.mainAxis||0,crossAxis:g.crossAxis||0,alignmentAxis:g.alignmentAxis};return d&&typeof S=="number"&&(b=d==="end"?S*-1:S),p?{x:b*v,y:w*m}:{x:w*m,y:b*v}}const DC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var r,a;const{x:i,y:l,placement:u,middlewareData:d}=n,p=await OC(n,e);return u===((r=d.offset)==null?void 0:r.placement)&&(a=d.arrow)!=null&&a.alignmentOffset?{}:{x:i+p.x,y:l+p.y,data:{...p,placement:u}}}}},IC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:r,y:a,placement:i}=n,{mainAxis:l=!0,crossAxis:u=!1,limiter:d={fn:C=>{let{x:M,y:R}=C;return{x:M,y:R}}},...p}=Qn(e,n),m={x:r,y:a},v=await ii(n,p),g=Pr(Yn(i)),w=pf(g);let b=m[w],S=m[g];if(l){const C=w==="y"?"top":"left",M=w==="y"?"bottom":"right",R=b+v[C],O=b-v[M];b=Cd(R,b,O)}if(u){const C=g==="y"?"top":"left",M=g==="y"?"bottom":"right",R=S+v[C],O=S-v[M];S=Cd(R,S,O)}const x=d.fn({...n,[w]:b,[g]:S});return{...x,data:{x:x.x-r,y:x.y-a,enabled:{[w]:l,[g]:u}}}}}},AC=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:r,y:a,placement:i,rects:l,middlewareData:u}=n,{offset:d=0,mainAxis:p=!0,crossAxis:m=!0}=Qn(e,n),v={x:r,y:a},g=Pr(i),w=pf(g);let b=v[w],S=v[g];const x=Qn(d,n),C=typeof x=="number"?{mainAxis:x,crossAxis:0}:{mainAxis:0,crossAxis:0,...x};if(p){const O=w==="y"?"height":"width",L=l.reference[w]-l.floating[O]+C.mainAxis,$=l.reference[w]+l.reference[O]-C.mainAxis;b<L?b=L:b>$&&(b=$)}if(m){var M,R;const O=w==="y"?"width":"height",L=["top","left"].includes(Yn(i)),$=l.reference[g]-l.floating[O]+(L&&((M=u.offset)==null?void 0:M[g])||0)+(L?0:C.crossAxis),Q=l.reference[g]+l.reference[O]+(L?0:((R=u.offset)==null?void 0:R[g])||0)-(L?C.crossAxis:0);S<$?S=$:S>Q&&(S=Q)}return{[w]:b,[g]:S}}}},LC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var r,a;const{placement:i,rects:l,platform:u,elements:d}=n,{apply:p=()=>{},...m}=Qn(e,n),v=await ii(n,m),g=Yn(i),w=ta(i),b=Pr(i)==="y",{width:S,height:x}=l.floating;let C,M;g==="top"||g==="bottom"?(C=g,M=w===(await(u.isRTL==null?void 0:u.isRTL(d.floating))?"start":"end")?"left":"right"):(M=g,C=w==="end"?"top":"bottom");const R=x-v.top-v.bottom,O=S-v.left-v.right,L=Sr(x-v[C],R),$=Sr(S-v[M],O),Q=!n.middlewareData.shift;let U=L,Y=$;if((r=n.middlewareData.shift)!=null&&r.enabled.x&&(Y=O),(a=n.middlewareData.shift)!=null&&a.enabled.y&&(U=R),Q&&!w){const le=Lt(v.left,0),he=Lt(v.right,0),ae=Lt(v.top,0),me=Lt(v.bottom,0);b?Y=S-2*(le!==0||he!==0?le+he:Lt(v.left,v.right)):U=x-2*(ae!==0||me!==0?ae+me:Lt(v.top,v.bottom))}await p({...n,availableWidth:Y,availableHeight:U});const ie=await u.getDimensions(d.floating);return S!==ie.width||x!==ie.height?{reset:{rects:!0}}:{}}}};function bl(){return typeof window<"u"}function na(e){return Qy(e)?(e.nodeName||"").toLowerCase():"#document"}function Ft(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function Dn(e){var n;return(n=(Qy(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function Qy(e){return bl()?e instanceof Node||e instanceof Ft(e).Node:!1}function gn(e){return bl()?e instanceof Element||e instanceof Ft(e).Element:!1}function _n(e){return bl()?e instanceof HTMLElement||e instanceof Ft(e).HTMLElement:!1}function Sv(e){return!bl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ft(e).ShadowRoot}function mi(e){const{overflow:n,overflowX:r,overflowY:a,display:i}=wn(e);return/auto|scroll|overlay|hidden|clip/.test(n+a+r)&&!["inline","contents"].includes(i)}function $C(e){return["table","td","th"].includes(na(e))}function Cl(e){return[":popover-open",":modal"].some(n=>{try{return e.matches(n)}catch{return!1}})}function vf(e){const n=yf(),r=gn(e)?wn(e):e;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!n&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!n&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(a=>(r.willChange||"").includes(a))||["paint","layout","strict","content"].some(a=>(r.contain||"").includes(a))}function FC(e){let n=Mr(e);for(;_n(n)&&!Qo(n);){if(vf(n))return n;if(Cl(n))return null;n=Mr(n)}return null}function yf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Qo(e){return["html","body","#document"].includes(na(e))}function wn(e){return Ft(e).getComputedStyle(e)}function kl(e){return gn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Mr(e){if(na(e)==="html")return e;const n=e.assignedSlot||e.parentNode||Sv(e)&&e.host||Dn(e);return Sv(n)?n.host:n}function Yy(e){const n=Mr(e);return Qo(n)?e.ownerDocument?e.ownerDocument.body:e.body:_n(n)&&mi(n)?n:Yy(n)}function si(e,n,r){var a;n===void 0&&(n=[]),r===void 0&&(r=!0);const i=Yy(e),l=i===((a=e.ownerDocument)==null?void 0:a.body),u=Ft(i);if(l){const d=Sd(u);
vendor: 4,595 bytes, line 9
9return n.concat(u,u.visualViewport||[],mi(i)?i:[],d&&r?si(d):[])}return n.concat(i,si(i,[],r))}function Sd(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Xy(e){const n=wn(e);let r=parseFloat(n.width)||0,a=parseFloat(n.height)||0;const i=_n(e),l=i?e.offsetWidth:r,u=i?e.offsetHeight:a,d=ul(r)!==l||ul(a)!==u;return d&&(r=l,a=u),{width:r,height:a,$:d}}function gf(e){return gn(e)?e:e.contextElement}function Ho(e){const n=gf(e);if(!_n(n))return Er(1);const r=n.getBoundingClientRect(),{width:a,height:i,$:l}=Xy(n);let u=(l?ul(r.width):r.width)/a,d=(l?ul(r.height):r.height)/i;return(!u||!Number.isFinite(u))&&(u=1),(!d||!Number.isFinite(d))&&(d=1),{x:u,y:d}}const jC=Er(0);function Zy(e){const n=Ft(e);return!yf()||!n.visualViewport?jC:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function zC(e,n,r){return n===void 0&&(n=!1),!r||n&&r!==Ft(e)?!1:n}function Zr(e,n,r,a){n===void 0&&(n=!1),r===void 0&&(r=!1);const i=e.getBoundingClientRect(),l=gf(e);let u=Er(1);n&&(a?gn(a)&&(u=Ho(a)):u=Ho(e));const d=zC(l,r,a)?Zy(l):Er(0);let p=(i.left+d.x)/u.x,m=(i.top+d.y)/u.y,v=i.width/u.x,g=i.height/u.y;if(l){const w=Ft(l),b=a&&gn(a)?Ft(a):a;let S=w,x=Sd(S);for(;x&&a&&b!==S;){const C=Ho(x),M=x.getBoundingClientRect(),R=wn(x),O=M.left+(x.clientLeft+parseFloat(R.paddingLeft))*C.x,L=M.top+(x.clientTop+parseFloat(R.paddingTop))*C.y;p*=C.x,m*=C.y,v*=C.x,g*=C.y,p+=O,m+=L,S=Ft(x),x=Sd(S)}}return dl({width:v,height:g,x:p,y:m})}function BC(e){let{elements:n,rect:r,offsetParent:a,strategy:i}=e;const l=i==="fixed",u=Dn(a),d=n?Cl(n.floating):!1;if(a===u||d&&l)return r;let p={scrollLeft:0,scrollTop:0},m=Er(1);const v=Er(0),g=_n(a);if((g||!g&&!l)&&((na(a)!=="body"||mi(u))&&(p=kl(a)),_n(a))){const w=Zr(a);m=Ho(a),v.x=w.x+a.clientLeft,v.y=w.y+a.clientTop}return{width:r.width*m.x,height:r.height*m.y,x:r.x*m.x-p.scrollLeft*m.x+v.x,y:r.y*m.y-p.scrollTop*m.y+v.y}}function UC(e){return Array.from(e.getClientRects())}function Ed(e,n){const r=kl(e).scrollLeft;return n?n.left+r:Zr(Dn(e)).left+r}function HC(e){const n=Dn(e),r=kl(e),a=e.ownerDocument.body,i=Lt(n.scrollWidth,n.clientWidth,a.scrollWidth,a.clientWidth),l=Lt(n.scrollHeight,n.clientHeight,a.scrollHeight,a.clientHeight);let u=-r.scrollLeft+Ed(e);const d=-r.scrollTop;return wn(a).direction==="rtl"&&(u+=Lt(n.clientWidth,a.clientWidth)-i),{width:i,height:l,x:u,y:d}}function WC(e,n){const r=Ft(e),a=Dn(e),i=r.visualViewport;let l=a.clientWidth,u=a.clientHeight,d=0,p=0;if(i){l=i.width,u=i.height;const m=yf();(!m||m&&n==="fixed")&&(d=i.offsetLeft,p=i.offsetTop)}return{width:l,height:u,x:d,y:p}}function VC(e,n){const r=Zr(e,!0,n==="fixed"),a=r.top+e.clientTop,i=r.left+e.clientLeft,l=_n(e)?Ho(e):Er(1),u=e.clientWidth*l.x,d=e.clientHeight*l.y,p=i*l.x,m=a*l.y;return{width:u,height:d,x:p,y:m}}function Ev(e,n,r){let a;if(n==="viewport")a=WC(e,r);else if(n==="document")a=HC(Dn(e));else if(gn(n))a=VC(n,r);else{const i=Zy(e);a={...n,x:n.x-i.x,y:n.y-i.y}}return dl(a)}function Jy(e,n){const r=Mr(e);return r===n||!gn(r)||Qo(r)?!1:wn(r).position==="fixed"||Jy(r,n)}function KC(e,n){const r=n.get(e);if(r)return r;let a=si(e,[],!1).filter(d=>gn(d)&&na(d)!=="body"),i=null;const l=wn(e).position==="fixed";let u=l?Mr(e):e;for(;gn(u)&&!Qo(u);){const d=wn(u),p=vf(u);!p&&d.position==="fixed"&&(i=null),(l?!p&&!i:!p&&d.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||mi(u)&&!p&&Jy(e,u))?a=a.filter(v=>v!==u):i=d,u=Mr(u)}return n.set(e,a),a}function GC(e){let{element:n,boundary:r,rootBoundary:a,strategy:i}=e;const u=[...r==="clippingAncestors"?Cl(n)?[]:KC(n,this._c):[].concat(r),a],d=u[0],p=u.reduce((m,v)=>{const g=Ev(n,v,i);return m.top=Lt(g.top,m.top),m.right=Sr(g.right,m.right),m.bottom=Sr(g.bottom,m.bottom),m.left=Lt(g.left,m.left),m},Ev(n,d,i));return{width:p.right-p.left,height:p.bottom-p.top,x:p.left,y:p.top}}function qC(e){const{width:n,height:r}=Xy(e);return{width:n,height:r}}function QC(e,n,r){const a=_n(n),i=Dn(n),l=r==="fixed",u=Zr(e,!0,l,n);let d={scrollLeft:0,scrollTop:0};const p=Er(0);if(a||!a&&!l)if((na(n)!=="body"||mi(i))&&(d=kl(n)),a){const b=Zr(n,!0,l,n);p.x=b.x+n.clientLeft,p.y=b.y+n.clientTop}else i&&(p.x=Ed(i));let m=0,v=0;if(i&&!a&&!l){const b=i.getBoundingClientRect();v=b.top+d.scrollTop,m=b.left+d.scrollLeft-Ed(i,b)}const g=u.left+d.scrollLeft-p.x-m,w=u.top+d.scrollTop-p.y-v;return{x:g,y:w,width:u.width,height:u.height}}function Fc(e){return wn(e).position==="static"}function Pv(e,n){if(!_n(e)||wn(e).position==="fixed")return null;if(n)return n(e);let r=e.offsetParent;return Dn(e)===r&&(r=r.ownerDocument.body),r}function eg(e,n){const r=Ft(e);
vendor: 4,902 bytes, line 9
9if(Cl(e))return r;if(!_n(e)){let i=Mr(e);for(;i&&!Qo(i);){if(gn(i)&&!Fc(i))return i;i=Mr(i)}return r}let a=Pv(e,n);for(;a&&$C(a)&&Fc(a);)a=Pv(a,n);return a&&Qo(a)&&Fc(a)&&!vf(a)?r:a||FC(e)||r}const YC=async function(e){const n=this.getOffsetParent||eg,r=this.getDimensions,a=await r(e.floating);return{reference:QC(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:a.width,height:a.height}}};function XC(e){return wn(e).direction==="rtl"}const ZC={convertOffsetParentRelativeRectToViewportRelativeRect:BC,getDocumentElement:Dn,getClippingRect:GC,getOffsetParent:eg,getElementRects:YC,getClientRects:UC,getDimensions:qC,getScale:Ho,isElement:gn,isRTL:XC};function JC(e,n){let r=null,a;const i=Dn(e);function l(){var d;clearTimeout(a),(d=r)==null||d.disconnect(),r=null}function u(d,p){d===void 0&&(d=!1),p===void 0&&(p=1),l();const{left:m,top:v,width:g,height:w}=e.getBoundingClientRect();if(d||n(),!g||!w)return;const b=Ks(v),S=Ks(i.clientWidth-(m+g)),x=Ks(i.clientHeight-(v+w)),C=Ks(m),R={rootMargin:-b+"px "+-S+"px "+-x+"px "+-C+"px",threshold:Lt(0,Sr(1,p))||1};let O=!0;function L($){const Q=$[0].intersectionRatio;if(Q!==p){if(!O)return u();Q?u(!1,Q):a=setTimeout(()=>{u(!1,1e-7)},1e3)}O=!1}try{r=new IntersectionObserver(L,{...R,root:i.ownerDocument})}catch{r=new IntersectionObserver(L,R)}r.observe(e)}return u(!0),l}function ek(e,n,r,a){a===void 0&&(a={});const{ancestorScroll:i=!0,ancestorResize:l=!0,elementResize:u=typeof ResizeObserver=="function",layoutShift:d=typeof IntersectionObserver=="function",animationFrame:p=!1}=a,m=gf(e),v=i||l?[...m?si(m):[],...si(n)]:[];v.forEach(M=>{i&&M.addEventListener("scroll",r,{passive:!0}),l&&M.addEventListener("resize",r)});const g=m&&d?JC(m,r):null;let w=-1,b=null;u&&(b=new ResizeObserver(M=>{let[R]=M;R&&R.target===m&&b&&(b.unobserve(n),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var O;(O=b)==null||O.observe(n)})),r()}),m&&!p&&b.observe(m),b.observe(n));let S,x=p?Zr(e):null;p&&C();function C(){const M=Zr(e);x&&(M.x!==x.x||M.y!==x.y||M.width!==x.width||M.height!==x.height)&&r(),x=M,S=requestAnimationFrame(C)}return r(),()=>{var M;v.forEach(R=>{i&&R.removeEventListener("scroll",r),l&&R.removeEventListener("resize",r)}),g?.(),(M=b)==null||M.disconnect(),b=null,p&&cancelAnimationFrame(S)}}const tk=DC,nk=IC,rk=_C,ok=LC,ak=NC,Mv=TC,ik=AC,sk=(e,n,r)=>{const a=new Map,i={platform:ZC,...r},l={...i.platform,_c:a};return RC(e,n,{...i,platform:l})};var al=typeof document<"u"?f.useLayoutEffect:f.useEffect;function fl(e,n){if(e===n)return!0;if(typeof e!=typeof n)return!1;if(typeof e=="function"&&e.toString()===n.toString())return!0;let r,a,i;if(e&&n&&typeof e=="object"){if(Array.isArray(e)){if(r=e.length,r!==n.length)return!1;for(a=r;a--!==0;)if(!fl(e[a],n[a]))return!1;return!0}if(i=Object.keys(e),r=i.length,r!==Object.keys(n).length)return!1;for(a=r;a--!==0;)if(!{}.hasOwnProperty.call(n,i[a]))return!1;for(a=r;a--!==0;){const l=i[a];if(!(l==="_owner"&&e.$$typeof)&&!fl(e[l],n[l]))return!1}return!0}return e!==e&&n!==n}function tg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Rv(e,n){const r=tg(e);return Math.round(n*r)/r}function jc(e){const n=f.useRef(e);return al(()=>{n.current=e}),n}function lk(e){e===void 0&&(e={});const{placement:n="bottom",strategy:r="absolute",middleware:a=[],platform:i,elements:{reference:l,floating:u}={},transform:d=!0,whileElementsMounted:p,open:m}=e,[v,g]=f.useState({x:0,y:0,strategy:r,placement:n,middlewareData:{},isPositioned:!1}),[w,b]=f.useState(a);fl(w,a)||b(a);const[S,x]=f.useState(null),[C,M]=f.useState(null),R=f.useCallback(D=>{D!==Q.current&&(Q.current=D,x(D))},[]),O=f.useCallback(D=>{D!==U.current&&(U.current=D,M(D))},[]),L=l||S,$=u||C,Q=f.useRef(null),U=f.useRef(null),Y=f.useRef(v),ie=p!=null,le=jc(p),he=jc(i),ae=jc(m),me=f.useCallback(()=>{if(!Q.current||!U.current)return;const D={placement:n,strategy:r,middleware:w};he.current&&(D.platform=he.current),sk(Q.current,U.current,D).then(W=>{const N={...W,isPositioned:ae.current!==!1};de.current&&!fl(Y.current,N)&&(Y.current=N,lo.flushSync(()=>{g(N)}))})},[w,n,r,he,ae]);al(()=>{m===!1&&Y.current.isPositioned&&(Y.current.isPositioned=!1,g(D=>({...D,isPositioned:!1})))},[m]);const de=f.useRef(!1);al(()=>(de.current=!0,()=>{de.current=!1}),[]),al(()=>{if(L&&(Q.current=L),$&&(U.current=$),L&&$){if(le.current)return le.current(L,$,me);me()}},[L,$,me,le,ie]);const pe=f.useMemo(()=>({reference:Q,floating:U,setReference:R,setFloating:O}),[R,O]),re=f.useMemo(()=>({reference:L,floating:$}),[L,$]),X=f.useMemo(()=>{const D={position:r,left:0,top:0};if(!re.floating)return D;const W=Rv(re.floating,v.x),N=Rv(re.floating,v.y);return d?{...D,transform:"translate("+W+"px, "+N+"px)",...tg(re.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:W,top:N}},[r,d,re.floating,v.x,v.y]);return f.useMemo(()=>({...v,update:me,refs:pe,elements:re,floatingStyles:X}
vendor: 4,839 bytes, line 9
9),[v,me,pe,re,X])}const uk=e=>{function n(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:e,fn(r){const{element:a,padding:i}=typeof e=="function"?e(r):e;return a&&n(a)?a.current!=null?Mv({element:a.current,padding:i}).fn(r):{}:a?Mv({element:a,padding:i}).fn(r):{}}}},ck=(e,n)=>({...tk(e),options:[e,n]}),dk=(e,n)=>({...nk(e),options:[e,n]}),fk=(e,n)=>({...ik(e),options:[e,n]}),pk=(e,n)=>({...rk(e),options:[e,n]}),hk=(e,n)=>({...ok(e),options:[e,n]}),mk=(e,n)=>({...ak(e),options:[e,n]}),vk=(e,n)=>({...uk(e),options:[e,n]});var yk="Arrow",ng=f.forwardRef((e,n)=>{const{children:r,width:a=10,height:i=5,...l}=e;return P.jsx(Re.svg,{...l,ref:n,width:a,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?r:P.jsx("polygon",{points:"0,0 30,0 15,10"})})});ng.displayName=yk;var gk=ng;function wk(e,n=[]){let r=[];function a(l,u){const d=f.createContext(u),p=r.length;r=[...r,u];function m(g){const{scope:w,children:b,...S}=g,x=w?.[e][p]||d,C=f.useMemo(()=>S,Object.values(S));return P.jsx(x.Provider,{value:C,children:b})}function v(g,w){const b=w?.[e][p]||d,S=f.useContext(b);if(S)return S;if(u!==void 0)return u;throw new Error(`\`${g}\` must be used within \`${l}\``)}return m.displayName=l+"Provider",[m,v]}const i=()=>{const l=r.map(u=>f.createContext(u));return function(d){const p=d?.[e]||l;return f.useMemo(()=>({[`__scope${e}`]:{...d,[e]:p}}),[d,p])}};return i.scopeName=e,[a,xk(i,...n)]}function xk(...e){const n=e[0];if(e.length===1)return n;const r=()=>{const a=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(l){const u=a.reduce((d,{useScope:p,scopeName:m})=>{const g=p(l)[`__scope${m}`];return{...d,...g}},{});return f.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return r.scopeName=n.scopeName,r}function wf(e){const[n,r]=f.useState(void 0);return yt(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const a=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const l=i[0];let u,d;if("borderBoxSize"in l){const p=l.borderBoxSize,m=Array.isArray(p)?p[0]:p;u=m.inlineSize,d=m.blockSize}else u=e.offsetWidth,d=e.offsetHeight;r({width:u,height:d})});return a.observe(e,{box:"border-box"}),()=>a.unobserve(e)}else r(void 0)},[e]),n}var xf="Popper",[rg,Rr]=wk(xf),[bk,og]=rg(xf),ag=e=>{const{__scopePopper:n,children:r}=e,[a,i]=f.useState(null);return P.jsx(bk,{scope:n,anchor:a,onAnchorChange:i,children:r})};ag.displayName=xf;var ig="PopperAnchor",sg=f.forwardRef((e,n)=>{const{__scopePopper:r,virtualRef:a,...i}=e,l=og(ig,r),u=f.useRef(null),d=Oe(n,u);return f.useEffect(()=>{l.onAnchorChange(a?.current||u.current)}),a?null:P.jsx(Re.div,{...i,ref:d})});sg.displayName=ig;var bf="PopperContent",[Ck,kk]=rg(bf),lg=f.forwardRef((e,n)=>{const{__scopePopper:r,side:a="bottom",sideOffset:i=0,align:l="center",alignOffset:u=0,arrowPadding:d=0,avoidCollisions:p=!0,collisionBoundary:m=[],collisionPadding:v=0,sticky:g="partial",hideWhenDetached:w=!1,updatePositionStrategy:b="optimized",onPlaced:S,...x}=e,C=og(bf,r),[M,R]=f.useState(null),O=Oe(n,z=>R(z)),[L,$]=f.useState(null),Q=wf(L),U=Q?.width??0,Y=Q?.height??0,ie=a+(l!=="center"?"-"+l:""),le=typeof v=="number"?v:{top:0,right:0,bottom:0,left:0,...v},he=Array.isArray(m)?m:[m],ae=he.length>0,me={padding:le,boundary:he.filter(Ek),altBoundary:ae},{refs:de,floatingStyles:pe,placement:re,isPositioned:X,middlewareData:D}=lk({strategy:"fixed",placement:ie,whileElementsMounted:(...z)=>ek(...z,{animationFrame:b==="always"}),elements:{reference:C.anchor},middleware:[ck({mainAxis:i+Y,alignmentAxis:u}),p&&dk({mainAxis:!0,crossAxis:!1,limiter:g==="partial"?fk():void 0,...me}),p&&pk({...me}),hk({...me,apply:({elements:z,rects:Z,availableWidth:se,availableHeight:ue})=>{const{width:xe,height:ke}=Z.reference,Ne=z.floating.style;Ne.setProperty("--radix-popper-available-width",`${se}px`),Ne.setProperty("--radix-popper-available-height",`${ue}px`),Ne.setProperty("--radix-popper-anchor-width",`${xe}px`),Ne.setProperty("--radix-popper-anchor-height",`${ke}px`)}}),L&&vk({element:L,padding:d}),Pk({arrowWidth:U,arrowHeight:Y}),w&&mk({strategy:"referenceHidden",...me})]}),[W,N]=dg(re),k=tn(S);yt(()=>{X&&k?.()},[X,k]);const T=D.arrow?.x,j=D.arrow?.y,G=D.arrow?.centerOffset!==0,[V,q]=f.useState();return yt(()=>{M&&q(window.getComputedStyle(M).zIndex)},[M]),P.jsx("div",{ref:de.setFloating,"data-radix-popper-content-wrapper":"",style:{...pe,transform:X?pe.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:V,"--radix-popper-transform-origin":[D.transformOrigin?.x,D.transformOrigin?.y].join(" "),...D.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:P.jsx(Ck,{scope:r,placedSide:W,onArrowChange:$,arrowX:T,arrowY:j,shouldHideArrow:G,children:P.jsx(Re.div,{"data-side":W,"data-align":N,...x,ref:O,style:{...x.style,animation:X?void 0:"none"}})})})});
vendor: 8,342 bytes, line 9
9lg.displayName=bf;var ug="PopperArrow",Sk={top:"bottom",right:"left",bottom:"top",left:"right"},cg=f.forwardRef(function(n,r){const{__scopePopper:a,...i}=n,l=kk(ug,a),u=Sk[l.placedSide];return P.jsx("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[u]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:P.jsx(gk,{...i,ref:r,style:{...i.style,display:"block"}})})});cg.displayName=ug;function Ek(e){return e!==null}var Pk=e=>({name:"transformOrigin",options:e,fn(n){const{placement:r,rects:a,middlewareData:i}=n,u=i.arrow?.centerOffset!==0,d=u?0:e.arrowWidth,p=u?0:e.arrowHeight,[m,v]=dg(r),g={start:"0%",center:"50%",end:"100%"}[v],w=(i.arrow?.x??0)+d/2,b=(i.arrow?.y??0)+p/2;let S="",x="";return m==="bottom"?(S=u?g:`${w}px`,x=`${-p}px`):m==="top"?(S=u?g:`${w}px`,x=`${a.floating.height+p}px`):m==="right"?(S=`${-p}px`,x=u?g:`${b}px`):m==="left"&&(S=`${a.floating.width+p}px`,x=u?g:`${b}px`),{data:{x:S,y:x}}}});function dg(e){const[n,r="center"]=e.split("-");return[n,r]}var Sl=ag,vi=sg,El=lg,Pl=cg,Mk="Portal",yi=f.forwardRef((e,n)=>{const{container:r,...a}=e,[i,l]=f.useState(!1);yt(()=>l(!0),[]);const u=r||i&&globalThis?.document?.body;return u?df.createPortal(P.jsx(Re.div,{...a,ref:n}),u):null});yi.displayName=Mk;function Rk(e,n){return f.useReducer((r,a)=>n[r][a]??r,e)}var zt=e=>{const{present:n,children:r}=e,a=Tk(n),i=typeof r=="function"?r({present:a.isPresent}):f.Children.only(r),l=Oe(a.ref,_k(i));return typeof r=="function"||a.isPresent?f.cloneElement(i,{ref:l}):null};zt.displayName="Presence";function Tk(e){const[n,r]=f.useState(),a=f.useRef({}),i=f.useRef(e),l=f.useRef("none"),u=e?"mounted":"unmounted",[d,p]=Rk(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const m=Gs(a.current);l.current=d==="mounted"?m:"none"},[d]),yt(()=>{const m=a.current,v=i.current;if(v!==e){const w=l.current,b=Gs(m);e?p("MOUNT"):b==="none"||m?.display==="none"?p("UNMOUNT"):p(v&&w!==b?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,p]),yt(()=>{if(n){let m;const v=n.ownerDocument.defaultView??window,g=b=>{const x=Gs(a.current).includes(b.animationName);if(b.target===n&&x&&(p("ANIMATION_END"),!i.current)){const C=n.style.animationFillMode;n.style.animationFillMode="forwards",m=v.setTimeout(()=>{n.style.animationFillMode==="forwards"&&(n.style.animationFillMode=C)})}},w=b=>{b.target===n&&(l.current=Gs(a.current))};return n.addEventListener("animationstart",w),n.addEventListener("animationcancel",g),n.addEventListener("animationend",g),()=>{v.clearTimeout(m),n.removeEventListener("animationstart",w),n.removeEventListener("animationcancel",g),n.removeEventListener("animationend",g)}}else p("ANIMATION_END")},[n,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:f.useCallback(m=>{m&&(a.current=getComputedStyle(m)),r(m)},[])}}function Gs(e){return e?.animationName||"none"}function _k(e){let n=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning;return r?e.ref:(n=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=n&&"isReactWarning"in n&&n.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}function Nn({prop:e,defaultProp:n,onChange:r=()=>{}}){const[a,i]=Nk({defaultProp:n,onChange:r}),l=e!==void 0,u=l?e:a,d=tn(r),p=f.useCallback(m=>{if(l){const g=typeof m=="function"?m(e):m;g!==e&&d(g)}else i(m)},[l,e,i,d]);return[u,p]}function Nk({defaultProp:e,onChange:n}){const r=f.useState(e),[a]=r,i=f.useRef(a),l=tn(n);return f.useEffect(()=>{i.current!==a&&(l(a),i.current=a)},[a,i,l]),r}var Ok="VisuallyHidden",Cf=f.forwardRef((e,n)=>P.jsx(Re.span,{...e,ref:n,style:{position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal",...e.style}}));Cf.displayName=Ok;var Dk=Cf,[Ml]=On("Tooltip",[Rr]),Rl=Rr(),fg="TooltipProvider",Ik=700,Pd="tooltip.open",[Ak,kf]=Ml(fg),pg=e=>{const{__scopeTooltip:n,delayDuration:r=Ik,skipDelayDuration:a=300,disableHoverableContent:i=!1,children:l}=e,[u,d]=f.useState(!0),p=f.useRef(!1),m=f.useRef(0);return f.useEffect(()=>{const v=m.current;return()=>window.clearTimeout(v)},[]),P.jsx(Ak,{scope:n,isOpenDelayed:u,delayDuration:r,onOpen:f.useCallback(()=>{window.clearTimeout(m.current),d(!1)},[]),onClose:f.useCallback(()=>{window.clearTimeout(m.current),m.current=window.setTimeout(()=>d(!0),a)},[a]),isPointerInTransitRef:p,onPointerInTransitChange:f.useCallback(v=>{p.current=v},[]),disableHoverableContent:i,children:l})};pg.displayName=fg;var Tl="Tooltip",[Lk,_l]=Ml(Tl),hg=e=>{const{__scopeTooltip:n,children:r,open:a,defaultOpen:i=!1,onOpenChange:l,disableHoverableContent:u,delayDuration:d}=e,p=kf(Tl,e.__scopeTooltip),m=Rl(n),[v,g]=f.useState(null),w=Zt(),b=f.useRef(0),S=u??p.disableHoverableContent,x=d??p.delayDuration,C=f.useRef(!1),[M=!1,R]=Nn({prop:a,defaultProp:i,onChange:U=>{U?(p.onOpen(),document.dispatchEvent(new CustomEvent(Pd))):p.onClose(),l?.(U)}}),O=f.useMemo(()=>M?C.current?"delayed-open":"instant-open":"closed",[M]),L=f.useCallback(()=>{window.clearTimeout(b.current),b.current=0,C.current=!1,R(!0)},[R]),$=f.useCallback(()=>{window.clearTimeout(b.current),b.current=0,R(!1)},[R]),Q=f.useCallback(()=>{window.clearTimeout(b.current),b.current=window.setTimeout(()=>{C.current=!0,R(!0),b.current=0},x)},[x,R]);return f.useEffect(()=>()=>{b.current&&(window.clearTimeout(b.current),b.current=0)},[]),P.jsx(Sl,{...m,children:P.jsx(Lk,{scope:n,contentId:w,open:M,stateAttribute:O,trigger:v,onTriggerChange:g,onTriggerEnter:f.useCallback(()=>{p.isOpenDelayed?Q():L()},[p.isOpenDelayed,Q,L]),onTriggerLeave:f.useCallback(()=>{S?$():(window.clearTimeout(b.current),b.current=0)},[$,S]),onOpen:L,onClose:$,disableHoverableContent:S,children:r})})};hg.displayName=Tl;var Md="TooltipTrigger",mg=f.forwardRef((e,n)=>{const{__scopeTooltip:r,...a}=e,i=_l(Md,r),l=kf(Md,r),u=Rl(r),d=f.useRef(null),p=Oe(n,d,i.onTriggerChange),m=f.useRef(!1),v=f.useRef(!1),g=f.useCallback(()=>m.current=!1,[]);return f.useEffect(()=>()=>document.removeEventListener("pointerup",g),[g]),P.jsx(vi,{asChild:!0,...u,children:P.jsx(Re.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...a,ref:p,onPointerMove:ce(e.onPointerMove,w=>{w.pointerType!=="touch"&&!v.current&&!l.isPointerInTransitRef.current&&(i.onTriggerEnter(),v.current=!0)}),onPointerLeave:ce(e.onPointerLeave,()=>{i.onTriggerLeave(),v.current=!1}),onPointerDown:ce(e.onPointerDown,()=>{m.current=!0,document.addEventListener("pointerup",g,{once:!0})}),onFocus:ce(e.onFocus,()=>{m.current||i.onOpen()}),onBlur:ce(e.onBlur,i.onClose),onClick:ce(e.onClick,i.onClose)})})});mg.displayName=Md;var $k="TooltipPortal",[Z3,Fk]=Ml($k,{forceMount:void 0}),Yo="TooltipContent",vg=f.forwardRef((e,n)=>{const r=Fk(Yo,e.__scopeTooltip),{forceMount:a=r.forceMount,side:i="top",...l}=e,u=_l(Yo,e.__scopeTooltip);return P.jsx(zt,{present:a||u.open,children:u.disableHoverableContent?P.jsx(yg,{side:i,...l,ref:n}):P.jsx(jk,{side:i,...l,ref:n})})}),jk=f.forwardRef((e,n)=>{const r=_l(Yo,e.__scopeTooltip),a=kf(Yo,e.__scopeTooltip),i=f.useRef(null),l=Oe(n,i),[u,d]=f.useState(null),{trigger:p,onClose:m}=r,v=i.current,{onPointerInTransitChange:g}=a,w=f.useCallback(()=>{d(null),g(!1)},[g]),b=f.useCallback((S,x)=>{const C=S.currentTarget,M={x:S.clientX,y:S.clientY},R=Hk(M,C.getBoundingClientRect()),O=Wk(M,R),L=Vk(x.getBoundingClientRect()),$=Gk([...O,...L]);d($),g(!0)},[g]);return f.useEffect(()=>()=>w(),[w]),f.useEffect(()=>{if(p&&v){const S=C=>b(C,v),x=C=>b(C,p);return p.addEventListener("pointerleave",S),v.addEventListener("pointerleave",x),()=>{p.removeEventListener("pointerleave",S),v.removeEventListener("pointerleave",x)}}},[p,v,b,w]),f.useEffect(()=>{if(u){const S=x=>{const C=x.target,M={x:x.clientX,y:x.clientY},R=p?.contains(C)||v?.contains(C),O=!Kk(M,u);R?w():O&&(w(),m())};return document.addEventListener("pointermove",S),()=>document.removeEventListener("pointermove",S)}},[p,v,u,m,w]),P.jsx(yg,{...e,ref:l})}),[zk,Bk]=Ml(Tl,{isInside:!1}
vendor: 3,527 bytes, line 9
9),yg=f.forwardRef((e,n)=>{const{__scopeTooltip:r,children:a,"aria-label":i,onEscapeKeyDown:l,onPointerDownOutside:u,...d}=e,p=_l(Yo,r),m=Rl(r),{onClose:v}=p;return f.useEffect(()=>(document.addEventListener(Pd,v),()=>document.removeEventListener(Pd,v)),[v]),f.useEffect(()=>{if(p.trigger){const g=w=>{w.target?.contains(p.trigger)&&v()};return window.addEventListener("scroll",g,{capture:!0}),()=>window.removeEventListener("scroll",g,{capture:!0})}},[p.trigger,v]),P.jsx(ea,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:g=>g.preventDefault(),onDismiss:v,children:P.jsxs(El,{"data-state":p.stateAttribute,...m,...d,ref:n,style:{...d.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:[P.jsx(ff,{children:a}),P.jsx(zk,{scope:r,isInside:!0,children:P.jsx(Dk,{id:p.contentId,role:"tooltip",children:i||a})})]})})});vg.displayName=Yo;var gg="TooltipArrow",Uk=f.forwardRef((e,n)=>{const{__scopeTooltip:r,...a}=e,i=Rl(r);return Bk(gg,r).isInside?null:P.jsx(Pl,{...i,...a,ref:n})});Uk.displayName=gg;function Hk(e,n){const r=Math.abs(n.top-e.y),a=Math.abs(n.bottom-e.y),i=Math.abs(n.right-e.x),l=Math.abs(n.left-e.x);switch(Math.min(r,a,i,l)){case l:return"left";case i:return"right";case r:return"top";case a:return"bottom";default:throw new Error("unreachable")}}function Wk(e,n,r=5){const a=[];switch(n){case"top":a.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":a.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":a.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":a.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return a}function Vk(e){const{top:n,right:r,bottom:a,left:i}=e;return[{x:i,y:n},{x:r,y:n},{x:r,y:a},{x:i,y:a}]}function Kk(e,n){const{x:r,y:a}=e;let i=!1;for(let l=0,u=n.length-1;l<n.length;u=l++){const d=n[l].x,p=n[l].y,m=n[u].x,v=n[u].y;p>a!=v>a&&r<(m-d)*(a-p)/(v-p)+d&&(i=!i)}return i}function Gk(e){const n=e.slice();return n.sort((r,a)=>r.x<a.x?-1:r.x>a.x?1:r.y<a.y?-1:r.y>a.y?1:0),qk(n)}function qk(e){if(e.length<=1)return e.slice();const n=[];for(let a=0;a<e.length;a++){const i=e[a];for(;n.length>=2;){const l=n[n.length-1],u=n[n.length-2];if((l.x-u.x)*(i.y-u.y)>=(l.y-u.y)*(i.x-u.x))n.pop();else break}n.push(i)}n.pop();const r=[];for(let a=e.length-1;a>=0;a--){const i=e[a];for(;r.length>=2;){const l=r[r.length-1],u=r[r.length-2];if((l.x-u.x)*(i.y-u.y)>=(l.y-u.y)*(i.x-u.x))r.pop();else break}r.push(i)}return r.pop(),n.length===1&&r.length===1&&n[0].x===r[0].x&&n[0].y===r[0].y?n:n.concat(r)}var J3=pg,eN=hg,tN=mg,nN=vg;function wg(e){var n,r,a="";if(typeof e=="string"||typeof e=="number")a+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(n=0;n<i;n++)e[n]&&(r=wg(e[n]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}function Qk(){for(var e,n,r=0,a="",i=arguments.length;r<i;r++)(e=arguments[r])&&(n=wg(e))&&(a&&(a+=" "),a+=n);return a}const Sf="-",Yk=e=>{const n=Zk(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:a}=e;return{getClassGroupId:u=>{const d=u.split(Sf);return d[0]===""&&d.length!==1&&d.shift(),xg(d,n)||Xk(u)},getConflictingClassGroupIds:(u,d)=>{const p=r[u]||[];return d&&a[u]?[...p,...a[u]]:p}}}
vendor: 5,559 bytes, line 9
9,xg=(e,n)=>{if(e.length===0)return n.classGroupId;const r=e[0],a=n.nextPart.get(r),i=a?xg(e.slice(1),a):void 0;if(i)return i;if(n.validators.length===0)return;const l=e.join(Sf);return n.validators.find(({validator:u})=>u(l))?.classGroupId},Tv=/^\[(.+)\]$/,Xk=e=>{if(Tv.test(e)){const n=Tv.exec(e)[1],r=n?.substring(0,n.indexOf(":"));if(r)return"arbitrary.."+r}},Zk=e=>{const{theme:n,prefix:r}=e,a={nextPart:new Map,validators:[]};return eS(Object.entries(e.classGroups),r).forEach(([l,u])=>{Rd(u,a,l,n)}),a},Rd=(e,n,r,a)=>{e.forEach(i=>{if(typeof i=="string"){const l=i===""?n:_v(n,i);l.classGroupId=r;return}if(typeof i=="function"){if(Jk(i)){Rd(i(a),n,r,a);return}n.validators.push({validator:i,classGroupId:r});return}Object.entries(i).forEach(([l,u])=>{Rd(u,_v(n,l),r,a)})})},_v=(e,n)=>{let r=e;return n.split(Sf).forEach(a=>{r.nextPart.has(a)||r.nextPart.set(a,{nextPart:new Map,validators:[]}),r=r.nextPart.get(a)}),r},Jk=e=>e.isThemeGetter,eS=(e,n)=>n?e.map(([r,a])=>{const i=a.map(l=>typeof l=="string"?n+l:typeof l=="object"?Object.fromEntries(Object.entries(l).map(([u,d])=>[n+u,d])):l);return[r,i]}):e,tS=e=>{if(e<1)return{get:()=>{},set:()=>{}};let n=0,r=new Map,a=new Map;const i=(l,u)=>{r.set(l,u),n++,n>e&&(n=0,a=r,r=new Map)};return{get(l){let u=r.get(l);if(u!==void 0)return u;if((u=a.get(l))!==void 0)return i(l,u),u},set(l,u){r.has(l)?r.set(l,u):i(l,u)}}},bg="!",nS=e=>{const{separator:n,experimentalParseClassName:r}=e,a=n.length===1,i=n[0],l=n.length,u=d=>{const p=[];let m=0,v=0,g;for(let C=0;C<d.length;C++){let M=d[C];if(m===0){if(M===i&&(a||d.slice(C,C+l)===n)){p.push(d.slice(v,C)),v=C+l;continue}if(M==="/"){g=C;continue}}M==="["?m++:M==="]"&&m--}const w=p.length===0?d:d.substring(v),b=w.startsWith(bg),S=b?w.substring(1):w,x=g&&g>v?g-v:void 0;return{modifiers:p,hasImportantModifier:b,baseClassName:S,maybePostfixModifierPosition:x}};return r?d=>r({className:d,parseClassName:u}):u},rS=e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach(a=>{a[0]==="["?(n.push(...r.sort(),a),r=[]):r.push(a)}),n.push(...r.sort()),n},oS=e=>({cache:tS(e.cacheSize),parseClassName:nS(e),...Yk(e)}),aS=/\s+/,iS=(e,n)=>{const{parseClassName:r,getClassGroupId:a,getConflictingClassGroupIds:i}=n,l=[],u=e.trim().split(aS);let d="";for(let p=u.length-1;p>=0;p-=1){const m=u[p],{modifiers:v,hasImportantModifier:g,baseClassName:w,maybePostfixModifierPosition:b}=r(m);let S=!!b,x=a(S?w.substring(0,b):w);if(!x){if(!S){d=m+(d.length>0?" "+d:d);continue}if(x=a(w),!x){d=m+(d.length>0?" "+d:d);continue}S=!1}const C=rS(v).join(":"),M=g?C+bg:C,R=M+x;if(l.includes(R))continue;l.push(R);const O=i(x,S);for(let L=0;L<O.length;++L){const $=O[L];l.push(M+$)}d=m+(d.length>0?" "+d:d)}return d};function sS(){let e=0,n,r,a="";for(;e<arguments.length;)(n=arguments[e++])&&(r=Cg(n))&&(a&&(a+=" "),a+=r);return a}const Cg=e=>{if(typeof e=="string")return e;let n,r="";for(let a=0;a<e.length;a++)e[a]&&(n=Cg(e[a]))&&(r&&(r+=" "),r+=n);return r};function lS(e,...n){let r,a,i,l=u;function u(p){const m=n.reduce((v,g)=>g(v),e());return r=oS(m),a=r.cache.get,i=r.cache.set,l=d,d(p)}function d(p){const m=a(p);if(m)return m;const v=iS(p,r);return i(p,v),v}return function(){return l(sS.apply(null,arguments))}}const He=e=>{const n=r=>r[e]||[];return n.isThemeGetter=!0,n},kg=/^\[(?:([a-z-]+):)?(.+)\]$/i,uS=/^\d+\/\d+$/,cS=new Set(["px","full","screen"]),dS=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,fS=/\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$/,pS=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,hS=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mS=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Kn=e=>Wo(e)||cS.has(e)||uS.test(e),gr=e=>ra(e,"length",kS),Wo=e=>!!e&&!Number.isNaN(Number(e)),zc=e=>ra(e,"number",Wo),Qa=e=>!!e&&Number.isInteger(Number(e)),vS=e=>e.endsWith("%")&&Wo(e.slice(0,-1)),Te=e=>kg.test(e),wr=e=>dS.test(e),yS=new Set(["length","size","percentage"]),gS=e=>ra(e,yS,Sg),wS=e=>ra(e,"position",Sg),xS=new Set(["image","url"]),bS=e=>ra(e,xS,ES),CS=e=>ra(e,"",SS),Ya=()=>!0,ra=(e,n,r)=>{const a=kg.exec(e);return a?a[1]?typeof n=="string"?a[1]===n:n.has(a[1]):r(a[2]):!1},kS=e=>fS.test(e)&&!pS.test(e),Sg=()=>!1,SS=e=>hS.test(e),ES=e=>mS.test(e),PS=()=>{const e=He("colors"),n=He("spacing"),r=He("blur"),a=He("brightness"),i=He("borderColor"),l=He("borderRadius"),u=He("borderSpacing"),d=He("borderWidth"),p=He("contrast"),m=He("grayscale"),v=He("hueRotate"),g=He("invert"),w=He("gap"),b=He("gradientColorStops"),S=He("gradientColorStopPositions"),x=He("inset"),C=He("margin"),M=He("opacity"),R=He("padding"),O=He("saturate"),L=He("scale"),$=He("sepia"),Q=He("skew"),U=He("space"),Y=He("translate"),ie=()=>["auto","contain","none"],le=()=>["auto","hidden","clip","visible","scroll"],he=()=>["auto",Te,n],ae=()=>[Te,n],me=()=>["",Kn,gr],de=()=>["auto",Wo,Te],pe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],re=()=>["solid","dashed","dotted","double","none"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],D=()=>["start","end","center","between","around","evenly","stretch"],W=()=>["","0",Te],N=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>[Wo,Te];return{cacheSize:500,separator:":",theme:{colors:[Ya],spacing:[Kn,gr],blur:["none","",wr,Te],brightness:k(),borderColor:[e],borderRadius:["n
vendor: 5,165 bytes, line 9
9one","","full",wr,Te],borderSpacing:ae(),borderWidth:me(),contrast:k(),grayscale:W(),hueRotate:k(),invert:W(),gap:ae(),gradientColorStops:[e],gradientColorStopPositions:[vS,gr],inset:he(),margin:he(),opacity:k(),padding:ae(),saturate:k(),scale:k(),sepia:W(),skew:k(),space:ae(),translate:ae()},classGroups:{aspect:[{aspect:["auto","square","video",Te]}],container:["container"],columns:[{columns:[wr]}],"break-after":[{"break-after":N()}],"break-before":[{"break-before":N()}],"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:[...pe(),Te]}],overflow:[{overflow:le()}],"overflow-x":[{"overflow-x":le()}],"overflow-y":[{"overflow-y":le()}],overscroll:[{overscroll:ie()}],"overscroll-x":[{"overscroll-x":ie()}],"overscroll-y":[{"overscroll-y":ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[x]}],"inset-x":[{"inset-x":[x]}],"inset-y":[{"inset-y":[x]}],start:[{start:[x]}],end:[{end:[x]}],top:[{top:[x]}],right:[{right:[x]}],bottom:[{bottom:[x]}],left:[{left:[x]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Qa,Te]}],basis:[{basis:he()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",Te]}],grow:[{grow:W()}],shrink:[{shrink:W()}],order:[{order:["first","last","none",Qa,Te]}],"grid-cols":[{"grid-cols":[Ya]}],"col-start-end":[{col:["auto",{span:["full",Qa,Te]},Te]}],"col-start":[{"col-start":de()}],"col-end":[{"col-end":de()}],"grid-rows":[{"grid-rows":[Ya]}],"row-start-end":[{row:["auto",{span:[Qa,Te]},Te]}],"row-start":[{"row-start":de()}],"row-end":[{"row-end":de()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",Te]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",Te]}],gap:[{gap:[w]}],"gap-x":[{"gap-x":[w]}],"gap-y":[{"gap-y":[w]}],"justify-content":[{justify:["normal",...D()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...D(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...D(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[R]}],px:[{px:[R]}],py:[{py:[R]}],ps:[{ps:[R]}],pe:[{pe:[R]}],pt:[{pt:[R]}],pr:[{pr:[R]}],pb:[{pb:[R]}],pl:[{pl:[R]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[U]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[U]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",Te,n]}],"min-w":[{"min-w":[Te,n,"min","max","fit"]}],"max-w":[{"max-w":[Te,n,"none","full","min","max","fit","prose",{screen:[wr]},wr]}],h:[{h:[Te,n,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[Te,n,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[Te,n,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[Te,n,"auto","min","max","fit"]}],"font-size":[{text:["base",wr,gr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",zc]}],"font-family":[{font:[Ya]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",Te]}],"line-clamp":[{"line-clamp":["none",Wo,zc]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Kn,Te]}],"list-image":[{"list-image":["none",Te]}],"list-style-type":[{list:["none","disc","decimal",Te]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[M]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[M]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...re(),"w
9avy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Kn,gr]}],"underline-offset":[{"underline-offset":["auto",Kn,Te]}],"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:ae()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Te]}],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",Te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[M]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...pe(),wS]}],"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"]},bS]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[S]}],"gradient-via-pos":[{via:[S]}],"gradient-to-pos":[{to:[S]}],"gradient-from":[{from:[b]}],"gradient-via":[{via:[b]}],"gradient-to":[{to:[b]}],rounded:[{rounded:[l]}],"rounded-s":[{"rounded-s":[l]}],"rounded-e":[{"rounded-e":[l]}],"rounded-t":[{"rounded-t":[l]}],"rounded-r":[{"rounded-r":[l]}],"rounded-b":[{"rounded-b":[l]}],"rounded-l":[{"rounded-l":[l]}],"rounded-ss":[{"rounded-ss":[l]}],"rounded-se":[{"rounded-se":[l]}],"rounded-ee":[{"rounded-ee":[l]}],"rounded-es":[{"rounded-es":[l]}],"rounded-tl":[{"rounded-tl":[l]}],"rounded-tr":[{"rounded-tr":[l]}],"rounded-br":[{"rounded-br":[l]}],"rounded-bl":[{"rounded-bl":[l]}],"border-w":[{border:[d]}],"border-w-x":[{"border-x":[d]}],"border-w-y":[{"border-y":[d]}],"border-w-s":[{"border-s":[d]}],"border-w-e":[{"border-e":[d]}],"border-w-t":[{"border-t":[d]}],"border-w-r":[{"border-r":[d]}],"border-w-b":[{"border-b":[d]}],"border-w-l":[{"border-l":[d]}],"border-opacity":[{"border-opacity":[M]}],"border-style":[{border:[...re(),"hidden"]}],"divide-x":[{"divide-x":[d]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[d]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[M]}],"divide-style":[{divide:re()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...re()]}],"outline-offset":[{"outline-offset":[Kn,Te]}],"outline-w":[{outline:[Kn,gr]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:me()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[M]}],"ring-offset-w":[{"ring-offset":[Kn,gr]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",wr,CS]}],"shadow-color":[{shadow:[Ya]}],opacity:[{opacity:[M]}],"mix-blend":[{"mix-blend":[...X(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":X()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[a]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",wr,Te]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[v]}],invert:[{invert:[g]}],saturate:[{saturate:[O]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[a]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[v]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[M]}],"backdrop-saturate":[{"backdrop-saturate":[O]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[u]}],"border-spacing-x":[{"border-spacing-x":[u]}],"border-spacing-y":[{"border-spacing-y":[u]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",Te]}],duration:[{duration:k()}],ease:[{ease:["linear","in","out","in-out",Te]}],delay:[{delay:k()}],animate:[{animate:["none","spin","ping","pulse","bounce",Te]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[Qa,Te]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Te]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","
9none","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",Te]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":ae()}],"scroll-mx":[{"scroll-mx":ae()}],"scroll-my":[{"scroll-my":ae()}],"scroll-ms":[{"scroll-ms":ae()}],"scroll-me":[{"scroll-me":ae()}],"scroll-mt":[{"scroll-mt":ae()}],"scroll-mr":[{"scroll-mr":ae()}],"scroll-mb":[{"scroll-mb":ae()}],"scroll-ml":[{"scroll-ml":ae()}],"scroll-p":[{"scroll-p":ae()}],"scroll-px":[{"scroll-px":ae()}],"scroll-py":[{"scroll-py":ae()}],"scroll-ps":[{"scroll-ps":ae()}],"scroll-pe":[{"scroll-pe":ae()}],"scroll-pt":[{"scroll-pt":ae()}],"scroll-pr":[{"scroll-pr":ae()}],"scroll-pb":[{"scroll-pb":ae()}],"scroll-pl":[{"scroll-pl":ae()}],"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",Te]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Kn,gr,zc]}],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"]}}},rN=lS(PS);var gi=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(){}},Jr=typeof window>"u"||"Deno"in globalThis;function Xt(){}function MS(e,n){return typeof e=="function"?e(n):e}function Td(e){return typeof e=="number"&&e>=0&&e!==1/0}function Eg(e,n){return Math.max(e+(n||0)-Date.now(),0)}function Vo(e,n){return typeof e=="function"?e(n):e}function vn(e,n){return typeof e=="function"?e(n):e}function Nv(e,n){const{type:r="all",exact:a,fetchStatus:i,predicate:l,queryKey:u,stale:d}=e;if(u){if(a){if(n.queryHash!==Ef(u,n.options))return!1}else if(!ui(n.queryKey,u))return!1}if(r!=="all"){const p=n.isActive();if(r==="active"&&!p||r==="inactive"&&p)return!1}return!(typeof d=="boolean"&&n.isStale()!==d||i&&i!==n.state.fetchStatus||l&&!l(n))}function Ov(e,n){const{exact:r,status:a,predicate:i,mutationKey:l}=e;if(l){if(!n.options.mutationKey)return!1;if(r){if(li(n.options.mutationKey)!==li(l))return!1}else if(!ui(n.options.mutationKey,l))return!1}return!(a&&n.state.status!==a||i&&!i(n))}function Ef(e,n){return(n?.queryKeyHashFn||li)(e)}function li(e){return JSON.stringify(e,(n,r)=>Nd(r)?Object.keys(r).sort().reduce((a,i)=>(a[i]=r[i],a),{}):r)}function ui(e,n){return e===n?!0:typeof e!=typeof n?!1:e&&n&&typeof e=="object"&&typeof n=="object"?!Object.keys(n).some(r=>!ui(e[r],n[r])):!1}function Pg(e,n){if(e===n)return e;const r=Dv(e)&&Dv(n);if(r||Nd(e)&&Nd(n)){const a=r?e:Object.keys(e),i=a.length,l=r?n:Object.keys(n),u=l.length,d=r?[]:{};let p=0;for(let m=0;m<u;m++){const v=r?m:l[m];(!r&&a.includes(v)||r)&&e[v]===void 0&&n[v]===void 0?(d[v]=void 0,p++):(d[v]=Pg(e[v],n[v]),d[v]===e[v]&&e[v]!==void 0&&p++)}return i===u&&p===i?e:d}return n}function _d(e,n){if(!n||Object.keys(e).length!==Object.keys(n).length)return!1;for(const r in e)if(e[r]!==n[r])return!1;return!0}function Dv(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Nd(e){if(!Iv(e))return!1;const n=e.constructor;if(n===void 0)return!0;const r=n.prototype;return!(!Iv(r)||!r.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Iv(e){return Object.prototype.toString.call(e)==="[object Object]"}function RS(e){return new Promise(n=>{setTimeout(n,e)})}function Od(e,n,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,n):r.structuralSharing!==!1?Pg(e,n):n}function TS(e,n,r=0){const a=[...e,n];return r&&a.length>r?a.slice(1):a}function _S(e,n,r=0){const a=[n,...e];return r&&a.length>r?a.slice(0,-1):a}var Pf=Symbol();function Mg(e,n){return!e.queryFn&&n?.initialPromise?()=>n.initialPromise:!e.queryFn||e.queryFn===Pf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var NS=class extends gi{#e;#t;#r;constructor(){super(),this.#r=e=>{if(!Jr&&window.addEventListener){const n=()=>e();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()})}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();
vendor: 26,392 bytes, line 9
9this.listeners.forEach(n=>{n(e)})}isFocused(){return typeof this.#e=="boolean"?this.#e:globalThis.document?.visibilityState!=="hidden"}},Mf=new NS,OS=class extends gi{#e=!0;#t;#r;constructor(){super(),this.#r=e=>{if(!Jr&&window.addEventListener){const n=()=>e(!0),r=()=>e(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}}}onSubscribe(){this.#t||this.setEventListener(this.#r)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#r=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#e!==e&&(this.#e=e,this.listeners.forEach(r=>{r(e)}))}isOnline(){return this.#e}},pl=new OS;function Dd(){let e,n;const r=new Promise((i,l)=>{e=i,n=l});r.status="pending",r.catch(()=>{});function a(i){Object.assign(r,i),delete r.resolve,delete r.reject}return r.resolve=i=>{a({status:"fulfilled",value:i}),e(i)},r.reject=i=>{a({status:"rejected",reason:i}),n(i)},r}function DS(e){return Math.min(1e3*2**e,3e4)}function Rg(e){return(e??"online")==="online"?pl.isOnline():!0}var Tg=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Bc(e){return e instanceof Tg}function _g(e){let n=!1,r=0,a=!1,i;const l=Dd(),u=x=>{a||(w(new Tg(x)),e.abort?.())},d=()=>{n=!0},p=()=>{n=!1},m=()=>Mf.isFocused()&&(e.networkMode==="always"||pl.isOnline())&&e.canRun(),v=()=>Rg(e.networkMode)&&e.canRun(),g=x=>{a||(a=!0,e.onSuccess?.(x),i?.(),l.resolve(x))},w=x=>{a||(a=!0,e.onError?.(x),i?.(),l.reject(x))},b=()=>new Promise(x=>{i=C=>{(a||m())&&x(C)},e.onPause?.()}).then(()=>{i=void 0,a||e.onContinue?.()}),S=()=>{if(a)return;let x;const C=r===0?e.initialPromise:void 0;try{x=C??e.fn()}catch(M){x=Promise.reject(M)}Promise.resolve(x).then(g).catch(M=>{if(a)return;const R=e.retry??(Jr?0:3),O=e.retryDelay??DS,L=typeof O=="function"?O(r,M):O,$=R===!0||typeof R=="number"&&r<R||typeof R=="function"&&R(r,M);if(n||!$){w(M);return}r++,e.onFail?.(r,M),RS(L).then(()=>m()?void 0:b()).then(()=>{n?w(M):S()})})};return{promise:l,cancel:u,continue:()=>(i?.(),l),cancelRetry:d,continueRetry:p,canStart:v,start:()=>(v()?S():b().then(S),l)}}function IS(){let e=[],n=0,r=d=>{d()},a=d=>{d()},i=d=>setTimeout(d,0);const l=d=>{n?e.push(d):i(()=>{r(d)})},u=()=>{const d=e;e=[],d.length&&i(()=>{a(()=>{d.forEach(p=>{r(p)})})})};return{batch:d=>{let p;n++;try{p=d()}finally{n--,n||u()}return p},batchCalls:d=>(...p)=>{l(()=>{d(...p)})},schedule:l,setNotifyFunction:d=>{r=d},setBatchNotifyFunction:d=>{a=d},setScheduler:d=>{i=d}}}var dt=IS(),Ng=class{#e;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Td(this.gcTime)&&(this.#e=setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Jr?1/0:300*1e3))}clearGcTimeout(){this.#e&&(clearTimeout(this.#e),this.#e=void 0)}},AS=class extends Ng{#e;#t;#r;#n;#i;#a;constructor(e){super(),this.#a=!1,this.#i=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#r=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#e=LS(this.options),this.state=e.state??this.#e,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#n?.promise}setOptions(e){this.options={...this.#i,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&this.#r.remove(this)}setData(e,n){const r=Od(this.state.data,e,this.options);return this.#o({data:r,type:"success",dataUpdatedAt:n?.updatedAt,manual:n?.manual}),r}setState(e,n){this.#o({type:"setState",state:e,setStateOptions:n})}cancel(e){const n=this.#n?.promise;return this.#n?.cancel(e),n?n.then(Xt).catch(Xt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#e)}isActive(){return this.observers.some(e=>vn(e.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Pf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(e=0){return this.state.isInvalidated||this.state.data===void 0||!Eg(this.state.dataUpdatedAt,e)}onFocus(){this.observers.find(n=>n.shouldFetchOnWindowFocus())?.refetch({cancelRefetch:!1}),this.#n?.continue()}onOnline(){this.observers.find(n=>n.shouldFetchOnReconnect())?.refetch({cancelRefetch:!1}),this.#n?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(n=>n!==e),this.observers.length||(this.#n&&(this.#a?this.#n.cancel({revert:!0}):this.#n.cancelRetry()),this.scheduleGc()),this.#r.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#o({type:"invalidate"})}fetch(e,n){if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&n?.cancelRefetch)this.cancel({silent:!0});else if(this.#n)return this.#n.continueRetry(),this.#n.promise}if(e&&this.setOptions(e),!this.options.queryFn){const d=this.observers.find(p=>p.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,a=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(this.#a=!0,r.signal)})},i=()=>{const d=Mg(this.options,n),p={queryKey:this.queryKey,meta:this.meta};return a(p),this.#a=!1,this.options.persister?this.options.persister(d,p,this):d(p)},l={fetchOptions:n,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};a(l),this.options.behavior?.onFetch(l,this),this.#t=this.state,(this.state.fetchStatus==="idle"||this.state.fetchMeta!==l.fetchOptions?.meta)&&this.#o({type:"fetch",meta:l.fetchOptions?.meta});const u=d=>{Bc(d)&&d.silent||this.#o({type:"error",error:d}),Bc(d)||(this.#r.config.onError?.(d,this),this.#r.config.onSettled?.(this.state.data,d,this)),this.scheduleGc()};return this.#n=_g({initialPromise:n?.initialPromise,fn:l.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{if(d===void 0){u(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(p){u(p);return}this.#r.config.onSuccess?.(d,this),this.#r.config.onSettled?.(d,this.state.error,this),this.scheduleGc()},onError:u,onFail:(d,p)=>{this.#o({type:"failed",failureCount:d,error:p})},onPause:()=>{this.#o({type:"pause"})},onContinue:()=>{this.#o({type:"continue"})},retry:l.options.retry,retryDelay:l.options.retryDelay,networkMode:l.options.networkMode,canRun:()=>!0}),this.#n.start()}#o(e){const n=r=>{switch(e.type){case"failed":return{...r,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Og(r.data,this.options),fetchMeta:e.meta??null};case"success":return{...r,data:e.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const a=e.error;return Bc(a)&&a.revert&&this.#t?{...this.#t,fetchStatus:"idle"}:{...r,error:a,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:a,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...e.state}}};this.state=n(this.state),dt.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),this.#r.notify({query:this,type:"updated",action:e})})}};function Og(e,n){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Rg(n.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function LS(e){const n=typeof e.initialData=="function"?e.initialData():e.initialData,r=n!==void 0,a=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:n,dataUpdateCount:0,dataUpdatedAt:r?a??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var $S=class extends gi{constructor(e={}){super(),this.config=e,this.#e=new Map}#e;build(e,n,r){const a=n.queryKey,i=n.queryHash??Ef(a,n);let l=this.get(i);return l||(l=new AS({cache:this,queryKey:a,queryHash:i,options:e.defaultQueryOptions(n),state:r,defaultOptions:e.getQueryDefaults(a)}),this.add(l)),l}add(e){this.#e.has(e.queryHash)||(this.#e.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const n=this.#e.get(e.queryHash);n&&(e.destroy(),n===e&&this.#e.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){dt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#e.get(e)}getAll(){return[...this.#e.values()]}find(e){const n={exact:!0,...e};return this.getAll().find(r=>Nv(n,r))}findAll(e={}){const n=this.getAll();return Object.keys(e).length>0?n.filter(r=>Nv(e,r)):n}notify(e){dt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}onFocus(){dt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){dt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},FS=class extends Ng{#e;#t;#r;constructor(e){super(),this.mutationId=e.mutationId,this.#t=e.mutationCache,this.#e=[],this.state=e.state||jS(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#e.includes(e)||(this.#e.push(e),this.clearGcTimeout(),this.#t.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#e=this.#e.filter(n=>n!==e),this.scheduleGc(),this.#t.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#e.length||(this.state.status==="pending"?this.scheduleGc():this.#t.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){this.#r=_g({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(a,i)=>{this.#n({type:"failed",failureCount:a,error:i})},onPause:()=>{this.#n({type:"pause"})},onContinue:()=>{this.#n({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#t.canRun(this)});const n=this.state.status==="pending",r=!this.#r.canStart();try{if(!n){this.#n({type:"pending",variables:e,isPaused:r}),await this.#t.config.onMutate?.(e,this);const i=await this.options.onMutate?.(e);i!==this.state.context&&this.#n({type:"pending",context:i,variables:e,isPaused:r})}const a=await this.#r.start();return await this.#t.config.onSuccess?.(a,e,this.state.context,this),await this.options.onSuccess?.(a,e,this.state.context),await this.#t.config.onSettled?.(a,null,this.state.variables,this.state.context,this),await this.options.onSettled?.(a,null,e,this.state.context),this.#n({type:"success",data:a}),a}catch(a){try{throw await this.#t.config.onError?.(a,e,this.state.context,this),await this.options.onError?.(a,e,this.state.context),await this.#t.config.onSettled?.(void 0,a,this.state.variables,this.state.context,this),await this.options.onSettled?.(void 0,a,e,this.state.context),a}finally{this.#n({type:"error",error:a})}}finally{this.#t.runNext(this)}}#n(e){const n=r=>{switch(e.type){case"failed":return{...r,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...r,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:e.error,failureCount:r.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}};this.state=n(this.state),dt.batch(()=>{this.#e.forEach(r=>{r.onMutationUpdate(e)}),this.#t.notify({mutation:this,type:"updated",action:e})})}};function jS(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var zS=class extends gi{constructor(e={}){super(),this.config=e,this.#e=new Map,this.#t=Date.now()}#e;#t;build(e,n,r){const a=new FS({mutationCache:this,mutationId:++this.#t,options:e.defaultMutationOptions(n),state:r});return this.add(a),a}add(e){const n=qs(e),r=this.#e.get(n)??[];r.push(e),this.#e.set(n,r),this.notify({type:"added",mutation:e})}remove(e){const n=qs(e);if(this.#e.has(n)){const r=this.#e.get(n)?.filter(a=>a!==e);r&&(r.length===0?this.#e.delete(n):this.#e.set(n,r))}this.notify({type:"removed",mutation:e})}canRun(e){const n=this.#e.get(qs(e))?.find(r=>r.state.status==="pending");return!n||n===e}runNext(e){return this.#e.get(qs(e))?.find(r=>r!==e&&r.state.isPaused)?.continue()??Promise.resolve()}clear(){dt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}getAll(){return[...this.#e.values()].flat()}find(e){const n={exact:!0,...e};return this.getAll().find(r=>Ov(n,r))}findAll(e={}){return this.getAll().filter(n=>Ov(e,n))}notify(e){dt.batch(()=>{this.listeners.forEach(n=>{n(e)})})}resumePausedMutations(){const e=this.getAll().filter(n=>n.state.isPaused);return dt.batch(()=>Promise.all(e.map(n=>n.continue().catch(Xt))))}};function qs(e){return e.options.scope?.id??String(e.mutationId)}function Av(e){return{onFetch:(n,r)=>{const a=n.options,i=n.fetchOptions?.meta?.fetchMore?.direction,l=n.state.data?.pages||[],u=n.state.data?.pageParams||[];let d={pages:[],pageParams:[]},p=0;const m=async()=>{let v=!1;const g=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(n.signal.aborted?v=!0:n.signal.addEventListener("abort",()=>{v=!0}),n.signal)})},w=Mg(n.options,n.fetchOptions),b=async(S,x,C)=>{if(v)return Promise.reject();if(x==null&&S.pages.length)return Promise.resolve(S);const M={queryKey:n.queryKey,pageParam:x,direction:C?"backward":"forward",meta:n.options.meta};g(M);const R=await w(M),{maxPages:O}=n.options,L=C?_S:TS;return{pages:L(S.pages,R,O),pageParams:L(S.pageParams,x,O)}};if(i&&l.length){const S=i==="backward",x=S?BS:Lv,C={pages:l,pageParams:u},M=x(a,C);d=await b(C,M,S)}else{const S=e??l.length;do{const x=p===0?u[0]??a.initialPageParam:Lv(a,d);if(p>0&&x==null)break;d=await b(d,x),p++}while(p<S)}return d};n.options.persister?n.fetchFn=()=>n.options.persister?.(m,{queryKey:n.queryKey,meta:n.options.meta,signal:n.signal},r):n.fetchFn=m}}}function Lv(e,{pages:n,pageParams:r}){const a=n.length-1;return n.length>0?e.getNextPageParam(n[a],n,r[a],r):void 0}function BS(e,{pages:n,pageParams:r}){return n.length>0?e.getPreviousPageParam?.(n[0],n,r[0],r):void 0}var oN=class{#e;#t;#r;#n;#i;#a;#o;#s;constructor(e={}){this.#e=e.queryCache||new $S,this.#t=e.mutationCache||new zS,this.#r=e.defaultOptions||{},this.#n=new Map,this.#i=new Map,this.#a=0}mount(){this.#a++,this.#a===1&&(this.#o=Mf.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onFocus())}),this.#s=pl.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#e.onOnline())}))}unmount(){this.#a--,this.#a===0&&(this.#o?.(),this.#o=void 0,this.#s?.(),this.#s=void 0)}isFetching(e){return this.#e.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#t.findAll({...e,status:"pending"}).length}getQueryData(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state.data}ensureQueryData(e){const n=this.getQueryData(e.queryKey);if(n===void 0)return this.fetchQuery(e);{const r=this.defaultQueryOptions(e),a=this.#e.build(this,r);return e.revalidateIfStale&&a.isStaleByTime(Vo(r.staleTime,a))&&this.prefetchQuery(r),Promise.resolve(n)}}getQueriesData(e){return this.#e.findAll(e).map(({queryKey:n,state:r})=>{const a=r.data;return[n,a]})}setQueryData(e,n,r){const a=this.defaultQueryOptions({queryKey:e}),l=this.#e.get(a.queryHash)?.state.data,u=MS(n,l);if(u!==void 0)return this.#e.build(this,a).setData(u,{...r,manual:!0})}setQueriesData(e,n,r){return dt.batch(()=>this.#e.findAll(e).map(({queryKey:a})=>[a,this.setQueryData(a,n,r)]))}getQueryState(e){const n=this.defaultQueryOptions({queryKey:e});return this.#e.get(n.queryHash)?.state}removeQueries(e){const n=this.#e;dt.batch(()=>{n.findAll(e).forEach(r=>{n.remove(r)})})}resetQueries(e,n){const r=this.#e,a={type:"active",...e};return dt.batch(()=>(r.findAll(e).forEach(i=>{i.reset()}),this.refetchQueries(a,n)))}cancelQueries(e={},n={}){const r={revert:!0,...n},a=dt.batch(()=>this.#e.findAll(e).map(i=>i.cancel(r)));return Promise.all(a).then(Xt).catch(Xt)}invalidateQueries(e={},n={}){return dt.batch(()=>{if(this.#e.findAll(e).forEach(a=>{a.invalidate()}),e.refetchType==="none")return Promise.resolve();const r={...e,type:e.refetchType??e.type??"active"};return this.refetchQueries(r,n)})}refetchQueries(e={},n){const r={...n,cancelRefetch:n?.cancelRefetch??!0},a=dt.batch(()=>this.#e.findAll(e).filter(i=>!i.isDisabled()).map(i=>{let l=i.fetch(void 0,r);return r.throwOnError||(l=l.catch(Xt)),i.state.fetchStatus==="paused"?Promise.resolve():l}));return Promise.all(a).then(Xt)}fetchQuery(e){const n=this.defaultQueryOptions(e);n.retry===void 0&&(n.retry=!1);const r=this.#e.build(this,n);return r.isStaleByTime(Vo(n.staleTime,r))?r.fetch(n):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Xt).catch(Xt)}fetchInfiniteQuery(e){return e.behavior=Av(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Xt).catch(Xt)}ensureInfiniteQueryData(e){return e.behavior=Av(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return pl.isOnline()?this.#t.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#e}getMutationCache(){return this.#t}getDefaultOptions(){return this.#r}setDefaultOptions(e){this.#r=e}setQueryDefaults(e,n){this.#n.set(li(e),{queryKey:e,defaultOptions:n})}getQueryDefaults(e){const n=[...this.#n.values()];let r={};return n.forEach(a=>{ui(e,a.queryKey)&&(r={...r,...a.defaultOptions})}),r}setMutationDefaults(e,n){this.#i.set(li(e),{mutationKey:e,defaultOptions:n})}getMutationDefaults(e){const n=[...this.#i.values()];let r={};return n.forEach(a=>{ui(e,a.mutationKey)&&(r={...r,...a.defaultOptions})}),r}defaultQueryOptions(e){if(e._defaulted)return e;const n={...this.#r.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return n.queryHash||(n.queryHash=Ef(n.queryKey,n)),n.refetchOnReconnect===void 0&&(n.refetchOnReconnect=n.networkMode!=="always"),n.throwOnError===void 0&&(n.throwOnError=!!n.suspense),!n.networkMode&&n.persister&&(n.networkMode="offlineFirst"),n.enabled!==!0&&n.queryFn===Pf&&(n.enabled=!1),n}defaultMutationOptions(e){return e?._defaulted?e:{...this.#r.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#e.clear(),this.#t.clear()}},US=class extends gi{constructor(e,n){super(),this.options=n,this.#e=e,this.#s=null,this.#o=Dd(),this.options.experimental_prefetchInRender||this.#o.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}#e;#t=void 0;#r=void 0;#n=void 0;#i;#a;#o;#s;#m;#f;#p;#u;#c;#l;#h=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(this.#t.addObserver(this),$v(this.#t,this.options)?this.#d():this.updateResult(),this.#w())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Id(this.#t,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Id(this.#t,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#x(),this.#b(),this.#t.removeObserver(this)}setOptions(e,n){const r=this.options,a=this.#t;if(this.options=this.#e.defaultQueryOptions(e),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof vn(this.options.enabled,this.#t)!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#C(),this.#t.setOptions(this.options),r._defaulted&&!_d(this.options,r)&&this.#e.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#t,observer:this});const i=this.hasListeners();i&&Fv(this.#t,a,this.options,r)&&this.#d(),this.updateResult(n),i&&(this.#t!==a||vn(this.options.enabled,this.#t)!==vn(r.enabled,this.#t)||Vo(this.options.staleTime,this.#t)!==Vo(r.staleTime,this.#t))&&this.#v();const l=this.#y();i&&(this.#t!==a||vn(this.options.enabled,this.#t)!==vn(r.enabled,this.#t)||l!==this.#l)&&this.#g(l)}getOptimisticResult(e){const n=this.#e.getQueryCache().build(this.#e,e),r=this.createResult(n,e);return WS(this,r)&&(this.#n=r,this.#a=this.options,this.#i=this.#t.state),r}getCurrentResult(){return this.#n}trackResult(e,n){const r={};return Object.keys(e).forEach(a=>{Object.defineProperty(r,a,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(a),n?.(a),e[a])})}),r}trackProp(e){this.#h.add(e)}getCurrentQuery(){return this.#t}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const n=this.#e.defaultQueryOptions(e),r=this.#e.getQueryCache().build(this.#e,n);return r.fetch().then(()=>this.createResult(r,n))}fetch(e){return this.#d({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#n))}#d(e){this.#C();let n=this.#t.fetch(this.options,e);return e?.throwOnError||(n=n.catch(Xt)),n}#v(){this.#x();const e=Vo(this.options.staleTime,this.#t);if(Jr||this.#n.isStale||!Td(e))return;const r=Eg(this.#n.dataUpdatedAt,e)+1;this.#u=setTimeout(()=>{this.#n.isStale||this.updateResult()},r)}#y(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(this.#t):this.options.refetchInterval)??!1}#g(e){this.#b(),this.#l=e,!(Jr||vn(this.options.enabled,this.#t)===!1||!Td(this.#l)||this.#l===0)&&(this.#c=setInterval(()=>{(this.options.refetchIntervalInBackground||Mf.isFocused())&&this.#d()},this.#l))}#w(){this.#v(),this.#g(this.#y())}#x(){this.#u&&(clearTimeout(this.#u),this.#u=void 0)}#b(){this.#c&&(clearInterval(this.#c),this.#c=void 0)}createResult(e,n){const r=this.#t,a=this.options,i=this.#n,l=this.#i,u=this.#a,p=e!==r?e.state:this.#r,{state:m}=e;let v={...m},g=!1,w;if(n._optimisticResults){const U=this.hasListeners(),Y=!U&&$v(e,n),ie=U&&Fv(e,r,n,a);(Y||ie)&&(v={...v,...Og(m.data,e.options)}),n._optimisticResults==="isRestoring"&&(v.fetchStatus="idle")}let{error:b,errorUpdatedAt:S,status:x}=v;if(n.select&&v.data!==void 0)if(i&&v.data===l?.data&&n.select===this.#m)w=this.#f;else try{this.#m=n.select,w=n.select(v.data),w=Od(i?.data,w,n),this.#f=w,this.#s=null}catch(U){this.#s=U}else w=v.data;if(n.placeholderData!==void 0&&w===void 0&&x==="pending"){let U;if(i?.isPlaceholderData&&n.placeholderData===u?.placeholderData)U=i.data;else if(U=typeof n.placeholderData=="function"?n.placeholderData(this.#p?.state.data,this.#p):n.placeholderData,n.select&&U!==void 0)try{U=n.select(U),this.#s=null}catch(Y){this.#s=Y}U!==void 0&&(x="success",w=Od(i?.data,U,n),g=!0)}this.#s&&(b=this.#s,w=this.#f,S=Date.now(),x="error");const C=v.fetchStatus==="fetching",M=x==="pending",R=x==="error",O=M&&C,L=w!==void 0,Q={status:x,fetchStatus:v.fetchStatus,isPending:M,isSuccess:x==="success",isError:R,isInitialLoading:O,isLoading:O,data:w,dataUpdatedAt:v.dataUpdatedAt,error:b,errorUpdatedAt:S,failureCount:v.fetchFailureCount,failureReason:v.fetchFailureReason,errorUpdateCount:v.errorUpdateCount,isFetched:v.dataUpdateCount>0||v.errorUpdateCount>0,isFetchedAfterMount:v.dataUpdateCount>p.dataUpdateCount||v.errorUpdateCount>p.errorUpdateCount,isFetching:C,isRefetching:C&&!M,isLoadingError:R&&!L,isPaused:v.fetchStatus==="paused",isPlaceholderData:g,isRefetchError:R&&L,isStale:Rf(e,n),refetch:this.refetch,promise:this.#o};if(this.options.experimental_prefetchInRender){const U=le=>{Q.status==="error"?le.reject(Q.error):Q.data!==void 0&&le.resolve(Q.data)},Y=()=>{const le=this.#o=Q.promise=Dd();U(le)},ie=this.#o;switch(ie.status){case"pending":e.queryHash===r.queryHash&&U(ie);break;case"fulfilled":(Q.status==="error"||Q.data!==ie.value)&&Y();break;case"rejected":(Q.status!=="error"||Q.error!==ie.reason)&&Y();break}}return Q}updateResult(e){const n=this.#n,r=this.createResult(this.#t,this.options);if(this.#i=this.#t.state,this.#a=this.options,this.#i.data!==void 0&&(this.#p=this.#t),_d(r,n))return;this.#n=r;const a={},i=()=>{if(!n)return!0;const{notifyOnChangeProps:l}=this.options,u=typeof l=="function"?l():l;if(u==="all"||!u&&!this.#h.size)return!0;const d=new Set(u??this.#h);return this.options.throwOnError&&d.add("error"),Object.keys(this.#n).some(p=>{const m=p;return this.#n[m]!==n[m]&&d.has(m)})};e?.listeners!==!1&&i()&&(a.listeners=!0),this.#k({...a,...e})}#C(){const e=this.#e.getQueryCache().build(this.#e,this.options);if(e===this.#t)return;const n=this.#t;this.#t=e,this.#r=e.state,this.hasListeners()&&(n?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#w()}#k(e){dt.batch(()=>{e.listeners&&this.listeners.forEach(n=>{n(this.#n)}),this.#e.getQueryCache().notify({query:this.#t,type:"observerResultsUpdated"})})}};function HS(e,n){return vn(n.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&n.retryOnMount===!1)}function $v(e,n){return HS(e,n)||e.state.data!==void 0&&Id(e,n,n.refetchOnMount)}function Id(e,n,r){if(vn(n.enabled,e)!==!1){const a=typeof r=="function"?r(e):r;return a==="always"||a!==!1&&Rf(e,n)}return!1}function Fv(e,n,r,a){return(e!==n||vn(a.enabled,e)===!1)&&(!r.suspense||e.state.status!=="error")&&Rf(e,r)}function Rf(e,n){return vn(n.enabled,e)!==!1&&e.isStaleByTime(Vo(n.staleTime,e))}function WS(e,n){return!_d(e.getCurrentResult(),n)}var Dg=f.createContext(void 0),VS=e=>{const n=f.useContext(Dg);if(!n)throw new Error("No QueryClient set, use QueryClientProvider to set one");return n},aN=({client:e,children:n})=>(f.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),P.jsx(Dg.Provider,{value:e,children:n})),Ig=f.createContext(!1),KS=()=>f.useContext(Ig);Ig.Provider;function GS(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}
9var qS=f.createContext(GS()),QS=()=>f.useContext(qS);function YS(e,n){return typeof e=="function"?e(...n):!!e}function XS(){}var ZS=(e,n)=>{(e.suspense||e.throwOnError)&&(n.isReset()||(e.retryOnMount=!1))},JS=e=>{f.useEffect(()=>{e.clearReset()},[e])},eE=({result:e,errorResetBoundary:n,throwOnError:r,query:a})=>e.isError&&!n.isReset()&&!e.isFetching&&a&&YS(r,[e.error,a]),tE=e=>{e.suspense&&(e.staleTime===void 0&&(e.staleTime=1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},nE=(e,n)=>e.isLoading&&e.isFetching&&!n,rE=(e,n)=>e?.suspense&&n.isPending,jv=(e,n,r)=>n.fetchOptimistic(e).catch(()=>{r.clearReset()});function oE(e,n,r){const a=VS(),i=KS(),l=QS(),u=a.defaultQueryOptions(e);a.getDefaultOptions().queries?._experimental_beforeQuery?.(u),u._optimisticResults=i?"isRestoring":"optimistic",tE(u),ZS(u,l),JS(l);const d=!a.getQueryCache().get(u.queryHash),[p]=f.useState(()=>new n(a,u)),m=p.getOptimisticResult(u);if(f.useSyncExternalStore(f.useCallback(v=>{const g=i?()=>{}:p.subscribe(dt.batchCalls(v));return p.updateResult(),g},[p,i]),()=>p.getCurrentResult(),()=>p.getCurrentResult()),f.useEffect(()=>{p.setOptions(u,{listeners:!1})},[u,p]),rE(u,m))throw jv(u,p,l);if(eE({result:m,errorResetBoundary:l,throwOnError:u.throwOnError,query:a.getQueryCache().get(u.queryHash)}))throw m.error;return a.getDefaultOptions().queries?._experimental_afterQuery?.(u,m),u.experimental_prefetchInRender&&!Jr&&nE(m,i)&&(d?jv(u,p,l):a.getQueryCache().get(u.queryHash)?.promise)?.catch(XS).finally(()=>{p.updateResult()}),u.notifyOnChangeProps?m:p.trackResult(m)}function iN(e,n){return oE(e,US)}var Tf=/^(?:[a-z][a-z0-9+.-]*:|[\\/]{2})/i,Ag=/^[\\/]{2}/;function aE(e,n){return n+e.replace(/\\/g,"/")}var zv="popstate";function Bv(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function iE(e={}){function n(a,i){let l=i.state?.masked,{pathname:u,search:d,hash:p}=l||a.location;return Ad("",{pathname:u,search:d,hash:p},i.state&&i.state.usr||null,i.state&&i.state.key||"default",l?{pathname:a.location.pathname,search:a.location.search,hash:a.location.hash}:void 0)}function r(a,i){return typeof i=="string"?i:eo(i)}return lE(n,r,null,e)}function Ge(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function nn(e,n){if(!e)try{throw new Error(n)}catch{}}function sE(){return Math.random().toString(36).substring(2,10)}function Uv(e,n){return{usr:e.state,key:e.key,idx:n,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function Ad(e,n,r=null,a,i){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof n=="string"?oa(n):n,state:r,key:n&&n.key||a||sE(),mask:i}}function eo({pathname:e="/",search:n="",hash:r=""}){return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function oa(e){let n={};if(e){let r=e.indexOf("#");r>=0&&(n.hash=e.substring(r),e=e.substring(0,r));let a=e.indexOf("?");a>=0&&(n.search=e.substring(a),e=e.substring(0,a)),e&&(n.pathname=e)}return n}function lE(e,n,r,a={}){let{window:i=document.defaultView,v5Compat:l=!1}=a,u=i.history,d="POP",p=null,m=v();m==null&&(m=0,u.replaceState({...u.state,idx:m},""));function v(){return(u.state||{idx:null}).idx}function g(){d="POP";let C=v(),M=C==null?null:C-m;m=C,p&&p({action:d,location:x.location,delta:M})}function w(C,M){d="PUSH";let R=Bv(C)?C:Ad(x.location,C,M);m=v()+1;let O=Uv(R,m),L=x.createHref(R.mask||R);try{u.pushState(O,"",L)}catch($){if($ instanceof DOMException&&$.name==="DataCloneError")throw $;i.location.assign(L)}l&&p&&p({action:d,location:x.location,delta:1})}function b(C,M){d="REPLACE";let R=Bv(C)?C:Ad(x.location,C,M);m=v();let O=Uv(R,m),L=x.createHref(R.mask||R);u.replaceState(O,"",L),l&&p&&p({action:d,location:x.location,delta:0})}function S(C){return uE(i,C)}let x={get action(){return d},get location(){return e(i,u)},listen(C){if(p)throw new Error("A history only accepts one active listener");return i.addEventListener(zv,g),p=C,()=>{i.removeEventListener(zv,g),p=null}},createHref(C){return n(i,C)},createURL:S,encodeLocation(C){let M=S(C);return{pathname:M.pathname,search:M.search,hash:M.hash}},push:w,replace:b,go(C){return u.go(C)}};return x}function uE(e,n,r=!1){let a="http://localhost";
9e&&(a=e.location.origin!=="null"?e.location.origin:e.location.href),Ge(a,"No window.location.(origin|href) available to create URL");let i=typeof n=="string"?n:eo(n);return i=i.replace(/ $/,"%20"),!r&&Ag.test(i)&&(i=a+i),new URL(i,a)}function Lg(e,n,r="/"){return cE(e,n,r,!1)}function cE(e,n,r,a,i){let l=typeof n=="string"?oa(n):n,u=Xn(l.pathname||"/",r);if(u==null)return null;let d=dE(e),p=null,m=CE(u);for(let v=0;p==null&&v<d.length;++v)p=bE(d[v],m,a);return p}function dE(e){let n=$g(e);return fE(n),n}function $g(e,n=[],r=[],a="",i=!1){let l=(u,d,p=i,m)=>{let v={relativePath:m===void 0?u.path||"":m,caseSensitive:u.caseSensitive===!0,childrenIndex:d,route:u};if(v.relativePath.startsWith("/")){if(!v.relativePath.startsWith(a)&&p)return;Ge(v.relativePath.startsWith(a),`Absolute route path "${v.relativePath}" nested under path "${a}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),v.relativePath=v.relativePath.slice(a.length)}let g=yn([a,v.relativePath]),w=r.concat(v);u.children&&u.children.length>0&&(Ge(u.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${g}".`),$g(u.children,n,w,g,p)),!(u.path==null&&!u.index)&&n.push({path:g,score:wE(g,u.index),routesMeta:w.map((b,S)=>{let[x,C]=zg(b.relativePath,b.caseSensitive,S===w.length-1);return{...b,matcher:x,compiledParams:C}})})};return e.forEach((u,d)=>{if(u.path===""||!u.path?.includes("?"))l(u,d);else for(let p of Fg(u.path))l(u,d,!0,p)}),n}function Fg(e){let n=e.split("/");if(n.length===0)return[];let[r,...a]=n,i=r.endsWith("?"),l=r.replace(/\?$/,"");if(a.length===0)return i?[l,""]:[l];let u=Fg(a.join("/")),d=[];return d.push(...u.map(p=>p===""?l:[l,p].join("/"))),i&&d.push(...u),d.map(p=>e.startsWith("/")&&p===""?"/":p)}function fE(e){e.sort((n,r)=>n.score!==r.score?r.score-n.score:xE(n.routesMeta.map(a=>a.childrenIndex),r.routesMeta.map(a=>a.childrenIndex)))}var pE=/^:[\w-]+$/,hE=3,mE=2,vE=1,yE=10,gE=-2,Hv=e=>e==="*";function wE(e,n){let r=e.split("/"),a=r.length;return r.some(Hv)&&(a+=gE),n&&(a+=mE),r.filter(i=>!Hv(i)).reduce((i,l)=>i+(pE.test(l)?hE:l===""?vE:yE),a)}function xE(e,n){return e.length===n.length&&e.slice(0,-1).every((a,i)=>a===n[i])?e[e.length-1]-n[n.length-1]:0}function bE(e,n,r=!1){let{routesMeta:a}=e,i={},l="/",u=[];for(let d=0;d<a.length;++d){let p=a[d],m=d===a.length-1,v=l==="/"?n:n.slice(l.length)||"/",g={path:p.relativePath,caseSensitive:p.caseSensitive,end:m},w=p.matcher&&p.compiledParams?jg(g,v,p.matcher,p.compiledParams):hl(g,v),b=p.route;if(!w&&m&&r&&!a[a.length-1].route.index&&(w=hl({path:p.relativePath,caseSensitive:p.caseSensitive,end:!1},v)),!w)return null;
9Object.assign(i,w.params),u.push({params:i,pathname:yn([l,w.pathname]),pathnameBase:EE(yn([l,w.pathnameBase])),route:b}),w.pathnameBase!=="/"&&(l=yn([l,w.pathnameBase]))}return u}function hl(e,n){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[r,a]=zg(e.path,e.caseSensitive,e.end);return jg(e,n,r,a)}function jg(e,n,r,a){let i=n.match(r);if(!i)return null;let l=i[0],u=Xo(l,1),d=i.slice(1);return{params:a.reduce((m,{paramName:v,isOptional:g},w)=>{if(v==="*"){let S=d[w]||"";u=Xo(l.slice(0,l.length-S.length),1)}const b=d[w];return g&&!b?m[v]=void 0:m[v]=(b||"").replace(/%2F/g,"/"),m},{}),pathname:l,pathnameBase:u,pattern:e}}function zg(e,n=!1,r=!0){nn(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 a=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(u,d,p,m,v)=>{if(a.push({paramName:d,isOptional:p!=null}),p){let g=v.charAt(m+u.length);return g&&g!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(a.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,n?void 0:"i"),a]}function CE(e){try{return e.split("/").map(n=>decodeURIComponent(n).replace(/\//g,"%2F")).join("/")}catch(n){return nn(!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 (${n}).`),e}}function Xn(e,n){if(n==="/")return e;if(!e.toLowerCase().startsWith(n.toLowerCase()))return null;let r=n.endsWith("/")?n.length-1:n.length,a=e.charAt(r);return a&&a!=="/"?null:e.slice(r)||"/"}function kE(e,n="/"){let{pathname:r,search:a="",hash:i=""}=typeof e=="string"?oa(e):e,l;return r?(r=Bg(r),r.startsWith("/")||r.startsWith("\\")?l=Wv(r.substring(1),"/"):l=Wv(r,n)):l=n,{pathname:l,search:PE(a),hash:ME(i)}}function Wv(e,n){let r=Xo(n).split("/");return e.split("/").forEach(i=>{i===".."?r.length>1&&r.pop():i!=="."&&r.push(i)}),r.length>1?r.join("/"):"/"}function Uc(e,n,r,a){return`Cannot include a '${e}' character in a manually specified \`to.${n}\` field [${JSON.stringify(a)}]. Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function SE(e){return e.filter((n,r)=>r===0||n.route.path&&n.route.path.length>0)}function _f(e){let n=SE(e);return n.map((r,a)=>a===n.length-1?r.pathname:r.pathnameBase)}function Nl(e,n,r,a=!1){let i;typeof e=="string"?i=oa(e):(i={...e},Ge(!i.pathname||!i.pathname.includes("?"),Uc("?","pathname","search",i)),Ge(!i.pathname||!i.pathname.includes("#"),Uc("#","pathname","hash",i)),Ge(!i.search||!i.search.includes("#"),Uc("#","search","hash",i)));let l=e===""||i.pathname==="",u=l?"/":i.pathname,d;if(u==null)d=r;else{let g=n.length-1;if(!a&&u.startsWith("..")){let w=u.split("/");for(;w[0]==="..";)w.shift(),g-=1;i.pathname=w.join("/")}d=g>=0?n[g]:"/"}let p=kE(i,d),m=u&&u!=="/"&&u.endsWith("/"),v=(l||u===".")&&r.endsWith("/");return!p.pathname.endsWith("/")&&(m||v)&&(p.pathname+="/"),p}var Bg=e=>e.replace(/[\\/]{2,}/g,"/"),yn=e=>Bg(e.join("/"));function Xo(e,n=0){let r=e.length;for(;r>n&&e.charCodeAt(r-1)===47;)r--;return r===e.length?e:e.slice(0,r)}var EE=e=>Xo(e).replace(/^\/*/,"/"),PE=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,ME=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,RE=class{constructor(e,n,r,a=!1){this.status=e,this.statusText=n||"",this.internal=a,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function TE(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function _E(e){let n=e.map(r=>r.route.path).filter(Boolean);return yn(n)||"/"}var Ug=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Hg(e,n){let r=e;if(typeof r!="string"||!Tf.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let a=r,i=!1;if(Ug)try{let l=new URL(window.location.href),u=Ag.test(r)?new URL(aE(r,l.protocol)):new URL(r),d=Xn(u.pathname,n);u.origin===l.origin&&d!=null?r=d+u.search+u.hash:i=!0}catch{nn(!1,`<Link to="${r}">
9 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:a,isExternal:i,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Vv=new URL("http://localhost");function Nf(e){if(e.createURL)return e.createURL("/");try{return new URL(e.createHref("/"),Vv)}catch{return Vv}}function Hc(e,n){return e.origin===n.origin&&(e.origin!=="null"||e.protocol===n.protocol&&e.host===n.host)}function NE(e,n){if(e.startsWith("//"))return!0;let r=n.protocol.toLowerCase();return e.toLowerCase().startsWith(r)?n.host===""||e.slice(r.length).startsWith("//"):!1}function Of(e,n,r,a){let i=null;try{i=e==null?null:new URL(e,r)}catch{}let l=new URL(n,r),u=i!=null&&!Hc(i,r),d=!Hc(l,r);if(a==="reject"){if(u||d)throw new Error("External navigation is not allowed")}else if(d&&(i==null||!NE(e,i)||!Hc(i,l)))throw new Error("External navigation is not allowed")}var Wg=["POST","PUT","PATCH","DELETE"];new Set(Wg);var OE=["GET",...Wg];new Set(OE);var DE=["about:","blob:","chrome:","chrome-untrusted:","content:","data:","devtools:","file:","filesystem:","javascript:"];function IE(e){try{return DE.includes(new URL(e).protocol)}catch{return!1}}var aa=f.createContext(null);aa.displayName="DataRouter";var Ol=f.createContext(null);Ol.displayName="DataRouterState";var Vg=f.createContext(!1);function AE(){return f.useContext(Vg)}var Kg=f.createContext({isTransitioning:!1});Kg.displayName="ViewTransition";var LE=f.createContext(new Map);LE.displayName="Fetchers";var $E=f.createContext(null);$E.displayName="Await";var Bt=f.createContext(null);Bt.displayName="Navigation";var wi=f.createContext(null);wi.displayName="Location";var In=f.createContext({outlet:null,matches:[],isDataRoute:!1});In.displayName="Route";var Df=f.createContext(null);Df.displayName="RouteError";var Gg="REACT_ROUTER_ERROR",FE="REDIRECT",jE="ROUTE_ERROR_RESPONSE";function zE(e){if(e.startsWith(`${Gg}:${FE}:{`))try{let n=JSON.parse(e.slice(28));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string"&&typeof n.location=="string"&&typeof n.reloadDocument=="boolean"&&typeof n.replace=="boolean")return n}catch{}}function BE(e){if(e.startsWith(`${Gg}:${jE}:{`))try{let n=JSON.parse(e.slice(40));if(typeof n=="object"&&n&&typeof n.status=="number"&&typeof n.statusText=="string")return new RE(n.status,n.statusText,n.data)}catch{}}function UE(e,{relative:n}={}){Ge(ia(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:a}=f.useContext(Bt),{hash:i,pathname:l,search:u}=xi(e,{relative:n}),d=l;return r!=="/"&&(d=l==="/"?r:yn([r,l])),a.createHref({pathname:d,search:u,hash:i})}function ia(){return f.useContext(wi)!=null}function bn(){return Ge(ia(),"useLocation() may be used only in the context of a <Router> component."),f.useContext(wi).location}var qg="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Qg(e){f.useContext(Bt).static||f.useLayoutEffect(e)}function If(){let{isDataRoute:e}=f.useContext(In);return e?t4():HE()}function HE(){Ge(ia(),"useNavigate() may be used only in the context of a <Router> component.");let e=f.useContext(aa),{basename:n,navigator:r}=f.useContext(Bt),{matches:a}=f.useContext(In),{pathname:i}=bn(),l=JSON.stringify(_f(a)),u=f.useRef(!1);return Qg(()=>{u.current=!0}),f.useCallback((p,m={})=>{if(nn(u.current,qg),!u.current)return;if(typeof p=="number"){r.go(p);return}let v=Nl(p,JSON.parse(l),i,m.relative==="path");e==null&&n!=="/"&&(v.pathname=v.pathname==="/"?n:yn([n,v.pathname])),Of(typeof p=="string"?p:eo(p),r.createHref(v),Nf(r),"reject"),(m.replace?r.replace:r.push)(v,m.state,m)},[n,r,l,i,e])}f.createContext(null);function xi(e,{relative:n}={}){let{matches:r}=f.useContext(In),{pathname:a}=bn(),i=JSON.stringify(_f(r));return f.useMemo(()=>Nl(e,JSON.parse(i),a,n==="path"),[e,i,a,n])}function WE(e,n){return Yg(e,n)}function Yg(e,n,r){Ge(ia(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:a}=f.useContext(Bt),{matches:i}=f.useContext(In),l=i[i.length-1],u=l?l.params:{},d=l?l.pathname:"/",p=l?l.pathnameBase:"/",m=l&&l.route;{let C=m&&m.path||"";Zg(d,!m||C.endsWith("*")||C.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${C}">) 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. 10 11Please change the parent <Route path="${C}"> to <Route path="${C==="/"?"*":`${C}/*`}">.`)}let v=bn(),g;if(n){let C=typeof n=="string"?oa(n):n;Ge(p==="/"||C.pathname?.startsWith(p),`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 "${p}" but pathname "${C.pathname}" was given in the \`location\` prop.`),g=C}else g=v;let w=g.pathname||"/",b=w;if(p!=="/"){let C=p.replace(/^\//,"").split("/");b="/"+w.replace(/^\//,"").split("/").slice(C.length).join("/")}let S=r&&r.state.matches.length?r.state.matches.map(C=>Object.assign(C,{route:r.manifest[C.route.id]||C.route})):Lg(e,{pathname:b});nn(m||S!=null,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),nn(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.length-1].route.lazy!==void 0,`Matched leaf route at location "${g.pathname}${g.search}${g.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 x=QE(S&&S.map(C=>Object.assign({},C,{params:Object.assign({},u,C.params),pathname:yn([p,a.encodeLocation?a.encodeLocation(C.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathname]),pathnameBase:C.pathnameBase==="/"?p:yn([p,a.encodeLocation?a.encodeLocation(C.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:C.pathnameBase])})),i,r);return n&&x?f.createElement(wi.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...g},navigationType:"POP"}},x):x}function VE(){let e=e4(),n=TE(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:a},l={padding:"2px 4px",backgroundColor:a},u=null;return u=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:l},"ErrorBoundary")," or"," ",f.createElement("code",{style:l},"errorElement")," prop on your route.")),f.createElement(f.Fragment,null,f.createElement("h2",null,"Unexpected Application
11Error!"),f.createElement("h3",{style:{fontStyle:"italic"}},n),r?f.createElement("pre",{style:i},r):null,u)}var KE=f.createElement(VE,null),Xg=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,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){this.props.onError&&this.props.onError(e,n)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const r=BE(e.digest);r&&(e=r)}let n=e!==void 0?f.createElement(In.Provider,{value:this.props.routeContext},f.createElement(Df.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?f.createElement(GE,{error:e},n):n}};Xg.contextType=Vg;var Wc=new WeakMap;function GE({children:e,error:n}){let{basename:r,navigator:a}=f.useContext(Bt);if(typeof n=="object"&&n&&"digest"in n&&typeof n.digest=="string"){let i=zE(n.digest);if(i){let l=Wc.get(n);if(l)throw l;let u=Hg(i.location,r),d=u.absoluteURL||u.to;if(Of(i.location,d,Nf(a),"allow-explicit"),IE(d))throw new Error("Invalid redirect location");if(Ug&&!Wc.get(n))if(u.isExternal||i.reloadDocument)window.location.href=d;else{const p=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(u.to,{replace:i.replace}));throw Wc.set(n,p),p}return f.createElement("meta",{httpEquiv:"refresh",content:`0;url=${d}`})}}return e}function qE({routeContext:e,match:n,children:r}){let a=f.useContext(aa);return a&&a.static&&a.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=n.route.id),f.createElement(In.Provider,{value:e},r)}function QE(e,n=[],r){let a=r?.state;if(e==null){if(!a)return null;if(a.errors)e=a.matches;else if(n.length===0&&!a.initialized&&a.matches.length>0)e=a.matches;else return null}let i=e,l=a?.errors;if(l!=null){let v=i.findIndex(g=>g.route.id&&l?.[g.route.id]!==void 0);Ge(v>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),i=i.slice(0,Math.min(i.length,v+1))}let u=!1,d=-1;if(r&&a){u=a.renderFallback;for(let v=0;v<i.length;v++){let g=i[v];if((g.route.HydrateFallback||g.route.hydrateFallbackElement)&&(d=v),g.route.id){let{loaderData:w,errors:b}=a,S=g.route.loader&&!w.hasOwnProperty(g.route.id)&&(!b||b[g.route.id]===void 0);if(g.route.lazy||S){r.isStatic&&(u=!0),d>=0?i=i.slice(0,d+1):i=[i[0]];break}}}}let p=r?.onError,m=a&&p?(v,g)=>{p(v,{location:a.location,params:a.matches?.[0]?.params??{},pattern:_E(a.matches),errorInfo:g})}:void 0;return i.reduceRight((v,g,w)=>{let b,S=!1,x=null,C=null;a&&(b=l&&g.route.id?l[g.route.id]:void 0,x=g.route.errorElement||KE,u&&(d<0&&w===0?(Zg("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),S=!0,C=null):d===w&&(S=!0,C=g.route.hydrateFallbackElement||null)));let M=n.concat(i.slice(0,w+1)),R=()=>{let O;return b?O=x:S?O=C:g.route.Component?O=f.createElement(g.route.Component,null):g.route.element?O=g.route.element:O=v,f.createElement(qE,{match:g,routeContext:{outlet:v,matches:M,isDataRoute:a!=null},children:O})};return a&&(g.route.ErrorBoundary||g.route.errorElement||w===0)?f.createElement(Xg,{location:a.location,revalidation:a.revalidation,component:x,error:b,children:R(),routeContext:{outlet:null,matches:M,isDataRoute:!0},onError:m}):R()},null)}function Af(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function YE(e){let n=f.useContext(aa);return Ge(n,Af(e)),n}function XE(e){let n=f.useContext(Ol);return Ge(n,Af(e)),n}function ZE(e){let n=f.useContext(In);return Ge(n,Af(e)),n}function Lf(e){let n=ZE(e),r=n.matches[n.matches.length-1];return Ge(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}function JE(){return Lf("useRouteId")}function e4(){let e=f.useContext(Df),n=XE("useRouteError"),r=Lf("useRouteError");return e!==void 0?e:n.errors?.[r]}function t4(){let{router:e}=YE("useNavigate"),n=Lf("useNavigate"),r=f.useRef(!1);return Qg(()=>{r.current=!0}),f.useCallback(async(i,l={})=>{nn(r.current,qg),r.current&&(typeof i=="number"?await e.navigate(i):await e.navigate(i,{fromRouteId:n,...l}))},[e,n])}var Kv={};function Zg(e,n,r){!n&&!Kv[e]&&(Kv[e]=!0,nn(!1,r))}f.memo(n4);function n4({routes:e,manifest:n,future:r,state:a,isStatic:i,onError:l}){return Yg(e,void 0,{manifest:n,state:a,isStatic:i,onError:l})}function sN({to:e,replace:n,state:r,relative:a}){Ge(ia(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i,navigator:l}=f.useContext(Bt);nn(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:u}=f.useContext(In),{pathname:d}=bn(),p=If(),m=Nl(e,_f(u),d,a==="path");Of(typeof e=="string"?e:eo(e),l.createHref(m),Nf(l),"reject");let v=JSON.stringify(m);return f.useEffect(()=>{p(JSON.parse(v),{replace:n,state:r,relative:a})},[p,v,a,n,r]),null}function r4(e){Ge(!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 o4({basename:e="/",children:n=null,location:r,navigationType:a="POP",navigator:i,static:l=!1,useTransitions:u}){Ge(!ia(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let d=e.replace(/^\/*/,"/"),p=f.useMemo(()=>({basename:d,navigator:i,static:l,useTransitions:u,future:{}}),[d,i,l,u]);typeof r=="string"&&(r=oa(r));
11let{pathname:m="/",search:v="",hash:g="",state:w=null,key:b="default",mask:S}=r,x=f.useMemo(()=>{let C=Xn(m,d);return C==null?null:{location:{pathname:C,search:v,hash:g,state:w,key:b,mask:S},navigationType:a}},[d,m,v,g,w,b,a,S]);return nn(x!=null,`<Router basename="${d}"> is not able to match the URL "${m}${v}${g}" because it does not start with the basename, so the <Router> won't render anything.`),x==null?null:f.createElement(Bt.Provider,{value:p},f.createElement(wi.Provider,{children:n,value:x}))}function lN({children:e,location:n}){return WE(Ld(e),n)}function Ld(e,n=[]){let r=[];return f.Children.forEach(e,(a,i)=>{if(!f.isValidElement(a))return;let l=[...n,i];if(a.type===f.Fragment){r.push.apply(r,Ld(a.props.children,l));return}Ge(a.type===r4,`[${typeof a.type=="string"?a.type:a.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Ge(!a.props.index||!a.props.children,"An index route cannot have child routes.");let u={id:a.props.id||l.join("-"),caseSensitive:a.props.caseSensitive,element:a.props.element,Component:a.props.Component,index:a.props.index,path:a.props.path,middleware:a.props.middleware,loader:a.props.loader,action:a.props.action,hydrateFallbackElement:a.props.hydrateFallbackElement,HydrateFallback:a.props.HydrateFallback,errorElement:a.props.errorElement,ErrorBoundary:a.props.ErrorBoundary,hasErrorBoundary:a.props.hasErrorBoundary===!0||a.props.ErrorBoundary!=null||a.props.errorElement!=null,shouldRevalidate:a.props.shouldRevalidate,handle:a.props.handle,lazy:a.props.lazy};a.props.children&&(u.children=Ld(a.props.children,l)),r.push(u)}),r}var il="get",sl="application/x-www-form-urlencoded";function Dl(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function a4(e){return Dl(e)&&e.tagName.toLowerCase()==="button"}function i4(e){return Dl(e)&&e.tagName.toLowerCase()==="form"}function s4(e){return Dl(e)&&e.tagName.toLowerCase()==="input"}function l4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function u4(e,n){return e.button===0&&(!n||n==="_self")&&!l4(e)}function $d(e=""){return new URLSearchParams(typeof e=="string"||Array.isArray(e)||e instanceof URLSearchParams?e:Object.keys(e).reduce((n,r)=>{let a=e[r];return n.concat(Array.isArray(a)?a.map(i=>[r,i]):[[r,a]])},[]))}function c4(e,n){let r=$d(e);return n&&n.forEach((a,i)=>{r.has(i)||n.getAll(i).forEach(l=>{r.append(i,l)})}),r}var Qs=null;function d4(){if(Qs===null)try{new FormData(document.createElement("form"),0),Qs=!1}catch{Qs=!0}return Qs}var f4=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Vc(e){return e!=null&&!f4.has(e)?(nn(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${sl}"`),null):e}function p4(e,n){let r,a,i,l,u;if(i4(e)){let d=e.getAttribute("action");a=d?Xn(d,n):null,r=e.getAttribute("method")||il,i=Vc(e.getAttribute("enctype"))||sl,l=new FormData(e)}else if(a4(e)||s4(e)&&(e.type==="submit"||e.type==="image")){let d=e.form;if(d==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let p=e.getAttribute("formaction")||d.getAttribute("action");if(a=p?Xn(p,n):null,r=e.getAttribute("formmethod")||d.getAttribute("method")||il,i=Vc(e.getAttribute("formenctype"))||Vc(d.getAttribute("enctype"))||sl,l=new FormData(d,e),!d4()){let{name:m,type:v,value:g}=e;if(v==="image"){let w=m?`${m}.`:"";l.append(`${w}x`,"0"),l.append(`${w}y`,"0")}else m&&l.append(m,g)}}else{if(Dl(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=il,a=null,i=sl,u=e}return l&&i==="text/plain"&&(u=l,l=void 0),{action:a,method:r.toLowerCase(),encType:i,formData:l,body:u}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function $f(e,n){if(e===!1||e===null||typeof e>"u")throw new Error(n)}function Jg(e,n,r,a){let i=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return r?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${a}`:i.pathname=`${i.pathname}.${a}`:i.pathname==="/"?i.pathname=`_root.${a}`:n&&Xn(i.pathname,n)==="/"?i.pathname=`${Xo(n)}/_root.${a}`:i.pathname=`${Xo(i.pathname)}.${a}`,i}async function h4(e,n){if(e.id in n)return n[e.id];try{let r=await import(e.module);return n[e.id]=r,r}catch{return window.__reactRouterContext&&window.__reactRouterContext.
11isSpaMode,window.location.reload(),new Promise(()=>{})}}function m4(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 v4(e,n,r){let a=await Promise.all(e.map(async i=>{let l=n.routes[i.route.id];if(l){let u=await h4(l,r);return u.links?u.links():[]}return[]}));return x4(a.flat(1).filter(m4).filter(i=>i.rel==="stylesheet"||i.rel==="preload").map(i=>i.rel==="stylesheet"?{...i,rel:"prefetch",as:"style"}:{...i,rel:"prefetch"}))}function Gv(e,n,r,a,i,l){let u=(p,m)=>r[m]?p.route.id!==r[m].route.id:!0,d=(p,m)=>r[m].pathname!==p.pathname||r[m].route.path?.endsWith("*")&&r[m].params["*"]!==p.params["*"];return l==="assets"?n.filter((p,m)=>u(p,m)||d(p,m)):l==="data"?n.filter((p,m)=>{let v=a.routes[p.route.id];if(!v||!v.hasLoader)return!1;if(u(p,m)||d(p,m))return!0;if(p.route.shouldRevalidate){let g=p.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:p.params,defaultShouldRevalidate:!0});if(typeof g=="boolean")return g}return!0}):[]}function y4(e,n,{includeHydrateFallback:r}={}){return g4(e.map(a=>{let i=n.routes[a.route.id];if(!i)return[];let l=[i.module];return i.clientActionModule&&(l=l.concat(i.clientActionModule)),i.clientLoaderModule&&(l=l.concat(i.clientLoaderModule)),r&&i.hydrateFallbackModule&&(l=l.concat(i.hydrateFallbackModule)),i.imports&&(l=l.concat(i.imports)),l}).flat(1))}function g4(e){return[...new Set(e)]}function w4(e){let n={},r=Object.keys(e).sort();for(let a of r)n[a]=e[a];return n}function x4(e,n){let r=new Set;return new Set(n),e.reduce((a,i)=>{let l=JSON.stringify(w4(i));return r.has(l)||(r.add(l),a.push({key:l,link:i})),a},[])}function Ff(){let e=f.useContext(aa);return $f(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function b4(){let e=f.useContext(Ol);return $f(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var jf=f.createContext(void 0);jf.displayName="FrameworkContext";function Il(){let e=f.useContext(jf);return $f(e,"You must render this element inside a <HydratedRouter> element"),e}function C4(e,n){let r=f.useContext(jf),[a,i]=f.useState(!1),[l,u]=f.useState(!1),{onFocus:d,onBlur:p,onMouseEnter:m,onMouseLeave:v,onTouchStart:g}=n,w=f.useRef(null);f.useEffect(()=>{if(e==="render"&&u(!0),e==="viewport"){let x=M=>{M.forEach(R=>{u(R.isIntersecting)})},C=new IntersectionObserver(x,{threshold:.5});return w.current&&C.observe(w.current),()=>{C.disconnect()}}},[e]),f.useEffect(()=>{if(a){let x=setTimeout(()=>{u(!0)},100);return()=>{clearTimeout(x)}}},[a]);let b=()=>{i(!0)},S=()=>{i(!1),u(!1)};return r?e!=="intent"?[l,w,{}]:[l,w,{onFocus:Xa(d,b),onBlur:Xa(p,S),onMouseEnter:Xa(m,b),onMouseLeave:Xa(v,S),onTouchStart:Xa(g,b)}]:[!1,w,{}]}function Xa(e,n){return r=>{e&&e(r),r.defaultPrevented||n(r)}}function k4({page:e,...n}){let r=AE(),{nonce:a}=Il(),{router:i}=Ff(),l=f.useMemo(()=>Lg(i.routes,e,i.basename),[i.routes,e,i.basename]);return l?(n.nonce==null&&a&&(n={...n,nonce:a}),r?f.createElement(E4,{page:e,matches:l,...n}):f.createElement(P4,{page:e,matches:l,...n})):null}function S4(e){let{manifest:n,routeModules:r}=Il(),[a,i]=f.useState([]);return f.useEffect(()=>{let l=!1;return v4(e,n,r).then(u=>{l||i(u)}),()=>{l=!0}},[e,n,r]),a}function E4({page:e,matches:n,...r}){let a=bn(),{future:i}=Il(),{basename:l}=Ff(),u=f.useMemo(()=>{if(e===a.pathname+a.search+a.hash)return[];let d=Jg(e,l,i.v8_trailingSlashAwareDataRequests,"rsc"),p=!1,m=[];for(let v of n)typeof v.route.shouldRevalidate=="function"?p=!0:m.push(v.route.id);return p&&m.length>0&&d.searchParams.set("_routes",m.join(",")),[d.pathname+d.search]},[l,i.v8_trailingSlashAwareDataRequests,e,a,n]);return f.createElement(f.Fragment,null,u.map(d=>f.createElement("link",{key:d,rel:"prefetch",as:"fetch",href:d,...r})))}function P4({page:e,matches:n,...r}){let a=bn(),{future:i,manifest:l,routeModules:u}=Il(),{basename:d}=Ff(),{loaderData:p,matches:m}=b4(),v=f.useMemo(()=>Gv(e,n,m,l,a,"data"),[e,n,m,l,a]),g=f.useMemo(()=>Gv(e,n,m,l,a,"assets"),[e,n,m,l,a]),w=f.useMemo(()=>
11{if(e===a.pathname+a.search+a.hash)return[];let x=new Set,C=!1;if(n.forEach(R=>{let O=l.routes[R.route.id];!O||!O.hasLoader||(!v.some(L=>L.route.id===R.route.id)&&R.route.id in p&&u[R.route.id]?.shouldRevalidate||O.hasClientLoader?C=!0:x.add(R.route.id))}),x.size===0)return[];let M=Jg(e,d,i.v8_trailingSlashAwareDataRequests,"data");return C&&x.size>0&&M.searchParams.set("_routes",n.filter(R=>x.has(R.route.id)).map(R=>R.route.id).join(",")),[M.pathname+M.search]},[d,i.v8_trailingSlashAwareDataRequests,p,a,l,v,n,e,u]),b=f.useMemo(()=>y4(g,l),[g,l]),S=S4(g);return f.createElement(f.Fragment,null,w.map(x=>f.createElement("link",{key:x,rel:"prefetch",as:"fetch",href:x,...r})),b.map(x=>f.createElement("link",{key:x,rel:"modulepreload",href:x,...r})),S.map(({key:x,link:C})=>f.createElement("link",{key:x,nonce:r.nonce,...C,crossOrigin:C.crossOrigin??r.crossOrigin})))}function M4(...e){return n=>{e.forEach(r=>{typeof r=="function"?r(n):r!=null&&(r.current=n)})}}var R4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{R4&&(window.__reactRouterVersion="7.18.4")}catch{}function uN({basename:e,children:n,useTransitions:r,window:a}){let i=f.useRef();i.current==null&&(i.current=iE({window:a,v5Compat:!0}));let l=i.current,[u,d]=f.useState({action:l.action,location:l.location}),p=f.useCallback(m=>{r===!1?d(m):f.startTransition(()=>d(m))},[r]);return f.useLayoutEffect(()=>l.listen(p),[l,p]),f.createElement(o4,{basename:e,children:n,location:u.location,navigationType:u.action,navigator:l,useTransitions:r})}var e0=f.forwardRef(function({onClick:n,discover:r="render",prefetch:a="none",relative:i,reloadDocument:l,replace:u,mask:d,state:p,target:m,to:v,preventScrollReset:g,viewTransition:w,defaultShouldRevalidate:b,...S},x){let{basename:C,navigator:M,useTransitions:R}=f.useContext(Bt),O=typeof v=="string"&&Tf.test(v),L=Hg(v,C);v=L.to;let $=UE(v,{relative:i}),Q=bn(),U=null;if(d){let pe=Nl(d,[],Q.mask?Q.mask.pathname:"/",!0);C!=="/"&&(pe.pathname=pe.pathname==="/"?C:yn([C,pe.pathname])),U=M.createHref(pe)}let[Y,ie,le]=C4(a,S),he=O4(v,{replace:u,mask:d,state:p,target:m,preventScrollReset:g,relative:i,viewTransition:w,defaultShouldRevalidate:b,useTransitions:R});function ae(pe){n&&n(pe),pe.defaultPrevented||he(pe)}let me=!(L.isExternal||l),de=f.createElement("a",{...S,...le,href:(me?U:void 0)||L.absoluteURL||$,onClick:me?ae:n,ref:M4(x,ie),target:m,"data-discover":!O&&r==="render"?"true":void 0});return Y&&!O?f.createElement(f.Fragment,null,de,f.createElement(k4,{page:$})):de});e0.displayName="Link";var T4=f.forwardRef(function({"aria-current":n="page",caseSensitive:r=!1,className:a="",end:i=!1,style:l,to:u,viewTransition:d,children:p,...m},v){let g=xi(u,{relative:m.relative}),w=bn(),b=f.useContext(Ol),{navigator:S,basename:x}=f.useContext(Bt),C=b!=null&&$4(g)&&d===!0,M=S.encodeLocation?S.encodeLocation(g).pathname:g.pathname,R=w.pathname,O=b&&b.navigation&&b.navigation.location?b.navigation.location.pathname:null;r||(R=R.toLowerCase(),O=O?O.toLowerCase():null,M=M.toLowerCase()),O&&x&&(O=Xn(O,x)||O);const L=M!=="/"&&M.endsWith("/")?M.length-1:M.length;let $=R===M||!i&&R.startsWith(M)&&R.charAt(L)==="/",Q=O!=null&&(O===M||!i&&O.startsWith(M)&&O.charAt(M.length)==="/"),U={isActive:$,isPending:Q,isTransitioning:C},Y=$?n:void 0,ie;typeof a=="function"?ie=a(U):ie=[a,$?"active":null,Q?"pending":null,C?"transitioning":null].filter(Boolean).join(" ");let le=typeof l=="function"?l(U):l;return f.createElement(e0,{...m,"aria-current":Y,className:ie,ref:v,style:le,to:u,viewTransition:d},typeof p=="function"?p(U):p)});T4.displayName="NavLink";var _4=f.forwardRef(({discover:e="render",fetcherKey:n,navigate:r,reloadDocument:a,replace:i,state:l,method:u=il,action:d,onSubmit:p,relative:m,preventScrollReset:v,viewTransition:g,defaultShouldRevalidate:w,...b},S)=>{let{useTransitions:x}=f.useContext(Bt),C=A4(),M=L4(d,{relative:m}),R=u.toLowerCase()==="get"?"get":"post",O=typeof d=="string"&&Tf.test(d),L=$=>{if(p&&p($),$.defaultPrevented)return;$.preventDefault();let Q=$.nativeEvent.submitter,U=Q?.getAttribute("formmethod")||u,Y=()=>C(Q||$.currentTarget,{fetcherKey:n,method:U,navigate:r,replace:i,state:l,relative:m,preventScrollReset:v,viewTransition:g,defaultShouldRevalidate:w});x&&r!==!1?f.startTransition(()=>Y()):Y()};return f.createElement("form",{ref:S,method:R,action:M,onSubmit:a?p:L,...b,"data-discover":!O&&e==="render"?"true":void 0})});_4.displayName="Form";function N4(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function t0(e){let n=f.useContext(aa);return Ge(n,N4(e)),n}function O4(e,{target:n,replace:r,mask:a,state:i,preventScrollReset:l,relative:u,viewTransition:d,defaultShouldRevalidate:p,useTransitions:m}={}){let v=If(),g=bn(),w=xi(e,{relative:u});return f.useCallback(b=>{if(u4(b,n)){b.preventDefault();let S=r!==void 0?r:eo(g)===eo(w),x=()=>v(e,{replace:S,mask:a,state:i,preventScrollReset:l,relative:u,viewTransition:d,defaultShouldRevalidate:p});m?f.startTransition(()=>x()):x()}},[g,v,w,r,a,i,n,e,l,u,d,p,m])}function cN(e){nn(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let n=f.useRef($d(e)),r=f.useRef(!1),a=bn(),i=f.useMemo(()=>c4(a.search,r.current?null:n.current),[a.search]),l=If(),u=f.useCallback((d,p)=>{const m=$d(typeof d=="function"?d(new URLSearchParams(i)):d);r.current=!0,l("?"+m,p)},[l,i]);return[i,u]}var D4=0,I4=()=>`__${String(++D4)}__`;function A4(){let{router:e}=t0("useSubmit"),{basename:n}=f.useContext(Bt),r=JE(),a=e.fetch,i=e.navigate;return f.useCallback(async(l,u={})=>{let{action:d,method:p,encType:m,formData:v,body:g}=p4(l,n);if(u.navigate===!1){let w=u.fetcherKey||I4();await a(w,r,u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:v,body:g,formMethod:u.method||p,formEncType:u.encType||m,flushSync:u.flushSync})}else await i(u.action||d,{defaultShouldRevalidate:u.defaultShouldRevalidate,preventScrollReset:u.preventScrollReset,formData:v,body:g,formMethod:u.method||p,formEncType:u.encType||m,replace:u.replace,state:u.state,fromRouteId:r,flushSync:u.flushSync,viewTransition:u.viewTransition})},[a,i,n,r])}function L4(e,{relative:n}={}){let{basename:r}=f.useContext(Bt),a=f.useContext(In);Ge(a,"useFormAction must be used inside a RouteContext");let[i]=a.matches.slice(-1),l={...xi(e||".",{relative:n})},u=bn();if(e==null){l.search=u.search;let d=new URLSearchParams(l.search),p=d.getAll("index");if(p.some(v=>v==="")){d.delete("index"),p.filter(g=>g).forEach(g=>d.append("index",g));let v=d.toString();l.search=v?`?${v}`:""}}return(!e||e===".")&&i.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(l.pathname=l.pathname==="/"?r:yn([r,l.pathname])),eo(l)}function $4(e,{relative:n}={}){let r=f.useContext(Kg);Ge(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?");let{basename:a}=t0("useViewTransitionState"),i=xi(e,{relative:n});if(!r.isTransitioning)return!1;let l=Xn(r.currentLocation.pathname,a)||r.currentLocation.pathname,u=Xn(r.nextLocation.pathname,a)||r.nextLocation.pathname;return hl(i.pathname,u)!=null||hl(i.pathname,l)!=null}const F4=e=>e;let dN=F4;function n0(e){let n;return()=>(n===void 0&&(n=e()),n)}const j4=(e,n,r)=>{const a=n-e;return a===0?1:(r-e)/a},fN=e=>
vendor: 4,120 bytes, line 11
11e*1e3,pN=e=>e/1e3,z4=n0(()=>window.ScrollTimeline!==void 0);class B4{constructor(n){this.stop=()=>this.runAll("stop"),this.animations=n.filter(Boolean)}get finished(){return Promise.all(this.animations.map(n=>"finished"in n?n.finished:n))}getAll(n){return this.animations[0][n]}setAll(n,r){for(let a=0;a<this.animations.length;a++)this.animations[a][n]=r}attachTimeline(n,r){const a=this.animations.map(i=>{if(z4()&&i.attachTimeline)return i.attachTimeline(n);if(typeof r=="function")return r(i)});return()=>{a.forEach((i,l)=>{i&&i(),this.animations[l].stop()})}}get time(){return this.getAll("time")}set time(n){this.setAll("time",n)}get speed(){return this.getAll("speed")}set speed(n){this.setAll("speed",n)}get startTime(){return this.getAll("startTime")}get duration(){let n=0;for(let r=0;r<this.animations.length;r++)n=Math.max(n,this.animations[r].duration);return n}runAll(n){this.animations.forEach(r=>r[n]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class hN extends B4{then(n,r){return Promise.all(this.animations).then(n).catch(r)}}function mN(e,n){return e?e[n]||e.default||e:void 0}const qv=2e4;function vN(e){let n=0;const r=50;let a=e.next(n);for(;!a.done&&n<qv;)n+=r,a=e.next(n);return n>=qv?1/0:n}function yN(e){return typeof e=="function"}function gN(e,n){e.timeline=n,e.onfinish=null}const r0=e=>Array.isArray(e)&&typeof e[0]=="number",U4={linearEasing:void 0};function H4(e,n){const r=n0(e);return()=>{var a;return(a=U4[n])!==null&&a!==void 0?a:r()}}const Fd=H4(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),W4=(e,n,r=10)=>{let a="";const i=Math.max(Math.round(n/r),2);for(let l=0;l<i;l++)a+=e(j4(0,i-1,l))+", ";return`linear(${a.substring(0,a.length-2)})`};function V4(e){return!!(typeof e=="function"&&Fd()||!e||typeof e=="string"&&(e in jd||Fd())||r0(e)||Array.isArray(e)&&e.every(V4))}const Ja=([e,n,r,a])=>`cubic-bezier(${e}, ${n}, ${r}, ${a})`,jd={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ja([0,.65,.55,1]),circOut:Ja([.55,0,1,.45]),backIn:Ja([.31,.01,.66,-.59]),backOut:Ja([.33,1.53,.69,.99])};function K4(e,n){if(e)return typeof e=="function"&&Fd()?W4(e,n):r0(e)?Ja(e):Array.isArray(e)?e.map(r=>K4(r,n)||jd.easeOut):jd[e]}const hn={x:!1,y:!1};function o0(){return hn.x||hn.y}function G4(e,n,r){var a;if(e instanceof EventTarget)return[e];if(typeof e=="string"){let i=document;const l=(a=void 0)!==null&&a!==void 0?a:i.querySelectorAll(e);return l?Array.from(l):[]}return Array.from(e)}function a0(e,n){const r=G4(e),a=new AbortController,i={passive:!0,...n,signal:a.signal};return[r,i,()=>a.abort()]}function Qv(e){return!(e.pointerType==="touch"||o0())}function wN(e,n,r={}){const[a,i,l]=a0(e,r),u=d=>{if(!Qv(d))return;const{target:p}=d,m=n(p,d);if(typeof m!="function"||!p)return;const v=g=>{Qv(g)&&(m(g),p.removeEventListener("pointerleave",v))};p.addEventListener("pointerleave",v,i)};return a.forEach(d=>{d.addEventListener("pointerenter",u,i)}),l}function Yv(e,n){const r=`${n}PointerCapture`;if(e.target instanceof Element&&r in e.target&&e.pointerId!==void 0)try{e.target[r](e.pointerId)}catch{}}const i0=(e,n)=>n?e===n?!0:i0(e,n.parentElement):!1,q4=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Q4=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Y4(e){return Q4.has(e.tagName)||e.tabIndex!==-1}const ei=new WeakSet;function Xv(e){return n=>{n.key==="Enter"&&e(n)}}function Kc(e,n){e.dispatchEvent(new PointerEvent("pointer"+n,{isPrimary:!0,bubbles:!0}))}const X4=(e,n)=>{const r=e.currentTarget;if(!r)return;const a=Xv(()=>{if(ei.has(r))return;Kc(r,"down");const i=Xv(()=>{Kc(r,"up")}),l=()=>Kc(r,"cancel");r.addEventListener("keyup",i,n),r.addEventListener("blur",l,n)});r.addEventListener("keydown",a,n),r.addEventListener("blur",()=>r.removeEventListener("keydown",a),n)};function Zv(e){return q4(e)&&!o0()}function xN(e,n,r={}){const[a,i,l]=a0(e,r),u=d=>{const p=d.currentTarget;
11if(!p||!Zv(d)||ei.has(p))return;ei.add(p),Yv(d,"set");const m=n(p,d),v=(b,S)=>{p.removeEventListener("pointerup",g),p.removeEventListener("pointercancel",w),Yv(b,"release"),!(!Zv(b)||!ei.has(p))&&(ei.delete(p),typeof m=="function"&&m(b,{success:S}))},g=b=>{(b.isTrusted?Z4(b,p instanceof Element?p.getBoundingClientRect():{left:0,top:0,right:window.innerWidth,bottom:window.innerHeight}):!1)?v(b,!1):v(b,!(p instanceof Element)||i0(p,b.target))},w=b=>{v(b,!1)};p.addEventListener("pointerup",g,i),p.addEventListener("pointercancel",w,i),p.addEventListener("lostpointercapture",w,i)};return a.forEach(d=>{d=r.useGlobalTarget?window:d;let p=!1;d instanceof HTMLElement&&(p=!0,!Y4(d)&&d.getAttribute("tabindex")===null&&(d.tabIndex=0)),d.addEventListener("pointerdown",u,i),p&&d.addEventListener("focus",m=>X4(m,i),i)}),l}function Z4(e,n){return e.clientX<n.left||e.clientX>n.right||e.clientY<n.top||e.clientY>n.bottom}function bN(e){return e==="x"||e==="y"?hn[e]?null:(hn[e]=!0,()=>{hn[e]=!1}):hn.x||hn.y?null:(hn.x=hn.y=!0,()=>{hn.x=hn.y=!1})}var vt=function(){return vt=Object.assign||function(n){for(var r,a=1,i=arguments.length;a<i;a++){r=arguments[a];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(n[l]=r[l])}return n},vt.apply(this,arguments)};function zf(e,n){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(e);i<a.length;i++)n.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(r[a[i]]=e[a[i]]);return r}function CN(e,n,r,a){function i(l){return l instanceof r?l:new r(function(u){u(l)})}return new(r||(r=Promise))(function(l,u){function d(v){try{m(a.next(v))}catch(g){u(g)}}function p(v){try{m(a.throw(v))}catch(g){u(g)}}function m(v){v.done?l(v.value):i(v.value).then(d,p)}m((a=a.apply(e,n||[])).next())})}function s0(e,n,r){if(r||arguments.length===2)for(var a=0,i=n.length,l;a<i;a++)(l||!(a in n))&&(l||(l=Array.prototype.slice.call(n,0,a)),l[a]=n[a]);return e.concat(l||Array.prototype.slice.call(n))}var ci=class extends Error{constructor(e,n){super(e),this.name="IcebergError",this.status=n.status,this.icebergType=n.icebergType,this.icebergCode=n.icebergCode,this.details=n.details,this.isCommitStateUnknown=n.icebergType==="CommitStateUnknownException"||[500,502,504].includes(n.status)&&n.icebergType?.includes("CommitState")===!0}isNotFound(){return this.status===404}isConflict(){return this.status===409}isAuthenticationTimeout(){return this.status===419}};function J4(e,n,r){const a=new URL(n,e);if(r)for(const[i,l]of Object.entries(r))l!==void 0&&a.searchParams.set(i,l);return a.toString()}async function eP(e){return!e||e.type==="none"?{}:e.type==="bearer"?{Authorization:`Bearer ${e.token}`}:e.type==="header"?{[e.name]:e.value}:e.type==="custom"?await e.getHeaders():{}}function tP(e){const n=e.fetchImpl??globalThis.fetch;return{async request({method:r,path:a,query:i,body:l,headers:u}){const d=J4(e.baseUrl,a,i),p=await eP(e.auth),m=await n(d,{method:r,headers:{...l?{"Content-Type":"application/json"}:{},...p,...u},body:l?JSON.stringify(l):void 0}),v=await m.text(),g=(m.headers.get("content-type")||"").includes("application/json"),w=g&&v?JSON.parse(v):v;if(!m.ok){const b=g?w:void 0,S=b?.error;throw new ci(S?.message??`Request failed with status ${m.status}`,{status:m.status,icebergType:S?.type,icebergCode:S?.code,details:b})}return{status:m.status,headers:m.headers,data:w}}}}function Ys(e){return e.join("�")}var nP=class{constructor(e,n=""){this.client=e,this.prefix=n}async listNamespaces(e){const n=e?{parent:Ys(e.namespace)}:void 0;return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces`,query:n})).data.namespaces.map(a=>({namespace:a}))}async createNamespace(e,n){const r={namespace:e.namespace,properties:n?.properties};return(await this.client.request({method:"POST",path:`${this.prefix}/namespaces`,body:r})).data}async dropNamespace(e){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Ys(e.namespace)}`})}async loadNamespaceMetadata(e){return{properties:(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Ys(e.namespace)}`})).data.properties}}async namespaceExists(e){try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Ys(e.namespace)}`}),!0}catch(n){if(n instanceof ci&&n.status===404)return!1;throw n}}
11async createNamespaceIfNotExists(e,n){try{return await this.createNamespace(e,n)}catch(r){if(r instanceof ci&&r.status===409)return;throw r}}};function Lo(e){return e.join("�")}var rP=class{constructor(e,n="",r){this.client=e,this.prefix=n,this.accessDelegation=r}async listTables(e){return(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Lo(e.namespace)}/tables`})).data.identifiers}async createTable(e,n){const r={};return this.accessDelegation&&(r["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Lo(e.namespace)}/tables`,body:n,headers:r})).data.metadata}async updateTable(e,n){const r=await this.client.request({method:"POST",path:`${this.prefix}/namespaces/${Lo(e.namespace)}/tables/${e.name}`,body:n});return{"metadata-location":r.data["metadata-location"],metadata:r.data.metadata}}async dropTable(e,n){await this.client.request({method:"DELETE",path:`${this.prefix}/namespaces/${Lo(e.namespace)}/tables/${e.name}`,query:{purgeRequested:String(n?.purge??!1)}})}async loadTable(e){const n={};return this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation),(await this.client.request({method:"GET",path:`${this.prefix}/namespaces/${Lo(e.namespace)}/tables/${e.name}`,headers:n})).data.metadata}async tableExists(e){const n={};this.accessDelegation&&(n["X-Iceberg-Access-Delegation"]=this.accessDelegation);try{return await this.client.request({method:"HEAD",path:`${this.prefix}/namespaces/${Lo(e.namespace)}/tables/${e.name}`,headers:n}),!0}catch(r){if(r instanceof ci&&r.status===404)return!1;throw r}}async createTableIfNotExists(e,n){try{return await this.createTable(e,n)}catch(r){if(r instanceof ci&&r.status===409)return await this.loadTable({namespace:e.namespace,name:n.name});throw r}}},kN=class{constructor(e){let n="v1";e.catalogName&&(n+=`/${e.catalogName}`);const r=e.baseUrl.endsWith("/")?e.baseUrl:`${e.baseUrl}/`;this.client=tP({baseUrl:r,auth:e.auth,fetchImpl:e.fetch}),this.accessDelegation=e.accessDelegation?.join(","),this.namespaceOps=new nP(this.client,n),this.tableOps=new rP(this.client,n,this.accessDelegation)}async listNamespaces(e){return this.namespaceOps.listNamespaces(e)}async createNamespace(e,n){return this.namespaceOps.createNamespace(e,n)}async dropNamespace(e){await this.namespaceOps.dropNamespace(e)}async loadNamespaceMetadata(e){return this.namespaceOps.loadNamespaceMetadata(e)}async listTables(e){return this.tableOps.listTables(e)}async createTable(e,n){return this.tableOps.createTable(e,n)}async updateTable(e,n){return this.tableOps.updateTable(e,n)}async dropTable(e,n){await this.tableOps.dropTable(e,n)}async loadTable(e){return this.tableOps.loadTable(e)}async namespaceExists(e){return this.namespaceOps.namespaceExists(e)}async tableExists(e){return this.tableOps.tableExists(e)}async createNamespaceIfNotExists(e,n){return this.namespaceOps.createNamespaceIfNotExists(e,n)}async createTableIfNotExists(e,n){return this.tableOps.createTableIfNotExists(e,n)}},Bf={};(function e(n,r,a,i){var l=!!(n.Worker&&n.Blob&&n.Promise&&n.OffscreenCanvas&&n.OffscreenCanvasRenderingContext2D&&n.HTMLCanvasElement&&n.HTMLCanvasElement.prototype.transferControlToOffscreen&&n.URL&&n.URL.createObjectURL),u=typeof Path2D=="function"&&typeof DOMMatrix=="function",d=(function(){if(!n.OffscreenCanvas)return!1;var N=new OffscreenCanvas(1,1),k=N.getContext("2d");k.fillRect(0,0,1,1);var T=N.transferToImageBitmap();try{k.createPattern(T,"no-repeat")}catch{return!1}return!0})();function p(){}function m(N){var k=r.exports.Promise,T=k!==void 0?k:n.Promise;return typeof T=="function"?new T(N):(N(p,p),null)}var v=(function(N,k){return{transform:function(T){if(N)return T;if(k.has(T))return k.get(T);var j=new OffscreenCanvas(T.width,T.height),G=j.getContext("2d");return G.drawImage(T,0,0),k.set(T,j),j},clear:function(){k.clear()}}})(d,new Map),g=(function(){var N=Math.floor(16.666666666666668),k,T,j={},G=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(k=function(V){var q=Math.random();return j[q]=requestAnimationFrame(function z(Z){G===Z||G+N-1<Z?(G=Z,delete j[q],V()):j[q]=requestAnimationFrame(z)}),q},T=function(V){j[V]&&cancelAnimationFrame(j[V])}):(k=function(V){return setTimeout(V,N)},T=function(V){return clearTimeout(V)}),{frame:k,cancel:T}})(),w=(function(){var N,k,T={};function j(G){function V(q,z){G.postMessage({options:q||{},callback:z})}G.init=function(z){var Z=z.transferControlToOffscreen();G.postMessage({canvas:Z},[Z])},G.fire=function(z,Z,se){if(k)return V(z,null),k;var ue=Math.random().toString(36).slice(2);return k=m(function(xe){function ke(Ne){Ne.data.callback===ue&&(delete T[ue],G.removeEventListener("message",ke),k=null,v.clear(),se(),xe())}G.addEventListener("message",ke),V(z,ue),T[ue]=ke.bind(null,{data:{callback:ue}})}),k},G.reset=function(){G.postMessage({reset:!0});for(var z in T)T[z](),delete T[z]}}return function(){if(N)return N;if(!a&&l){var G=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI && CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join(` 12`);try{N=new Worker(URL.createObjectURL(new Blob([G])))}catch{return null}j(N)}return N}})(),b={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function S(N,k){return k?k(N):N}function x(N){return N!=null}function C(N,k,T){return S(N&&x(N[k])?N[k]:b[k],T)}function M(N){return N<0?0:Math.floor(N)}function R(N,k){return Math.floor(Math.random()*(k-N))+N}function O(N){return parseInt(N,16)}function L(N){return N.map($)}function $(N){var k=String(N).replace(/[^0-9a-f]/gi,"");return k.length<6&&(k=k[0]+k[0]+k[1]+k[1]+k[2]+k[2]),{r:O(k.substring(0,2)),g:O(k.substring(2,4)),b:O(k.substring(4,6))}}function Q(N){var k=C(N,"origin",Object);return k.x=C(k,"x",Number),k.y=C(k,"y",Number),k}function U(N){N.width=document.documentElement.clientWidth,N.height=document.documentElement.clientHeight}function Y(N){var k=N.getBoundingClientRect();N.width=k.width,N.height=k.height}function ie(N){var k=document.createElement("canvas");return k.style.position="fixed",k.style.top="0px",k.style.left="0px",k.style.pointerEvents="none",k.style.zIndex=N,k}function le(N,k,T,j,G,V,q,z,Z){N.save(),N.translate(k,T),N.rotate(V),N.scale(j,G),N.arc(0,0,1,q,z,Z),N.restore(
vendor: 5,178 bytes, line 12
12)}function he(N){var k=N.angle*(Math.PI/180),T=N.spread*(Math.PI/180);return{x:N.x,y:N.y,wobble:Math.random()*10,wobbleSpeed:Math.min(.11,Math.random()*.1+.05),velocity:N.startVelocity*.5+Math.random()*N.startVelocity,angle2D:-k+(.5*T-Math.random()*T),tiltAngle:(Math.random()*(.75-.25)+.25)*Math.PI,color:N.color,shape:N.shape,tick:0,totalTicks:N.ticks,decay:N.decay,drift:N.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:N.gravity*3,ovalScalar:.6,scalar:N.scalar,flat:N.flat}}function ae(N,k){k.x+=Math.cos(k.angle2D)*k.velocity+k.drift,k.y+=Math.sin(k.angle2D)*k.velocity+k.gravity,k.velocity*=k.decay,k.flat?(k.wobble=0,k.wobbleX=k.x+10*k.scalar,k.wobbleY=k.y+10*k.scalar,k.tiltSin=0,k.tiltCos=0,k.random=1):(k.wobble+=k.wobbleSpeed,k.wobbleX=k.x+10*k.scalar*Math.cos(k.wobble),k.wobbleY=k.y+10*k.scalar*Math.sin(k.wobble),k.tiltAngle+=.1,k.tiltSin=Math.sin(k.tiltAngle),k.tiltCos=Math.cos(k.tiltAngle),k.random=Math.random()+2);var T=k.tick++/k.totalTicks,j=k.x+k.random*k.tiltCos,G=k.y+k.random*k.tiltSin,V=k.wobbleX+k.random*k.tiltCos,q=k.wobbleY+k.random*k.tiltSin;if(N.fillStyle="rgba("+k.color.r+", "+k.color.g+", "+k.color.b+", "+(1-T)+")",N.beginPath(),u&&k.shape.type==="path"&&typeof k.shape.path=="string"&&Array.isArray(k.shape.matrix))N.fill(X(k.shape.path,k.shape.matrix,k.x,k.y,Math.abs(V-j)*.1,Math.abs(q-G)*.1,Math.PI/10*k.wobble));else if(k.shape.type==="bitmap"){var z=Math.PI/10*k.wobble,Z=Math.abs(V-j)*.1,se=Math.abs(q-G)*.1,ue=k.shape.bitmap.width*k.scalar,xe=k.shape.bitmap.height*k.scalar,ke=new DOMMatrix([Math.cos(z)*Z,Math.sin(z)*Z,-Math.sin(z)*se,Math.cos(z)*se,k.x,k.y]);ke.multiplySelf(new DOMMatrix(k.shape.matrix));var Ne=N.createPattern(v.transform(k.shape.bitmap),"no-repeat");Ne.setTransform(ke),N.globalAlpha=1-T,N.fillStyle=Ne,N.fillRect(k.x-ue/2,k.y-xe/2,ue,xe),N.globalAlpha=1}else if(k.shape==="circle")N.ellipse?N.ellipse(k.x,k.y,Math.abs(V-j)*k.ovalScalar,Math.abs(q-G)*k.ovalScalar,Math.PI/10*k.wobble,0,2*Math.PI):le(N,k.x,k.y,Math.abs(V-j)*k.ovalScalar,Math.abs(q-G)*k.ovalScalar,Math.PI/10*k.wobble,0,2*Math.PI);else if(k.shape==="star")for(var Se=Math.PI/2*3,We=4*k.scalar,ze=8*k.scalar,Ze=k.x,Ct=k.y,Ve=5,qe=Math.PI/Ve;Ve--;)Ze=k.x+Math.cos(Se)*ze,Ct=k.y+Math.sin(Se)*ze,N.lineTo(Ze,Ct),Se+=qe,Ze=k.x+Math.cos(Se)*We,Ct=k.y+Math.sin(Se)*We,N.lineTo(Ze,Ct),Se+=qe;else N.moveTo(Math.floor(k.x),Math.floor(k.y)),N.lineTo(Math.floor(k.wobbleX),Math.floor(G)),N.lineTo(Math.floor(V),Math.floor(q)),N.lineTo(Math.floor(j),Math.floor(k.wobbleY));return N.closePath(),N.fill(),k.tick<k.totalTicks}function me(N,k,T,j,G){var V=k.slice(),q=N.getContext("2d"),z,Z,se=m(function(ue){function xe(){z=Z=null,q.clearRect(0,0,j.width,j.height),v.clear(),G(),ue()}function ke(){a&&!(j.width===i.width&&j.height===i.height)&&(j.width=N.width=i.width,j.height=N.height=i.height),!j.width&&!j.height&&(T(N),j.width=N.width,j.height=N.height),q.clearRect(0,0,j.width,j.height),V=V.filter(function(Ne){return ae(q,Ne)}),V.length?z=g.frame(ke):xe()}z=g.frame(ke),Z=xe});return{addFettis:function(ue){return V=V.concat(ue),se},canvas:N,promise:se,reset:function(){z&&g.cancel(z),Z&&Z()}}}function de(N,k){var T=!N,j=!!C(k||{},"resize"),G=!1,V=C(k,"disableForReducedMotion",Boolean),q=l&&!!C(k||{},"useWorker"),z=q?w():null,Z=T?U:Y,se=N&&z?!!N.__confetti_initialized:!1,ue=typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion)").matches,xe;function ke(Se,We,ze){for(var Ze=C(Se,"particleCount",M),Ct=C(Se,"angle",Number),Ve=C(Se,"spread",Number),qe=C(Se,"startVelocity",Number),kn=C(Se,"decay",Number),Or=C(Se,"gravity",Number),An=C(Se,"drift",Number),Dr=C(Se,"colors",L),Ir=C(Se,"ticks",Number),Ln=C(Se,"shapes"),Ut=C(Se,"scalar"),$n=!!C(Se,"flat"),Ht=Q(Se),on=Ze,an=[],po=N.width*Ht.x,Ar=N.height*Ht.y;on--;)an.push(he({x:po,y:Ar,angle:Ct,spread:Ve,startVelocity:qe,color:Dr[on%Dr.length],shape:Ln[R(0,Ln.length)],ticks:Ir,decay:kn,gravity:Or,drift:An,scalar:Ut,flat:$n}));return xe?xe.addFettis(an):(xe=me(N,an,Z,We,ze),xe.promise)}function Ne(Se){var We=V||C(Se,"disableForReducedMotion",Boolean),ze=C(Se,"zIndex",Number);if(We&&ue)return m(function(qe){qe()});T&&xe?N=xe.canvas:T&&!N&&(N=ie(ze),document.body.appendChild(N)),j&&!se&&Z(N);var Ze={width:N.width,height:N.height};z&&!se&&z.init(N),se=!0,z&&(N.__confetti_initialized=!0);function Ct(){if(z){var qe={getBoundingClientRect:function(){if(!T)return N.getBoundingClientRect()}};Z(qe),z.postMessage({resize:{width:qe.width,height:qe.height}});return}Ze.width=Ze.height=null}function Ve(){xe=null,j&&(G=!1,n.removeEventListener("resize",Ct)),T&&N&&(document.body.contains(N)&&document.body.removeChild(N),N=null,se=!1)}return j&&!G&&(G=!0,n.addEventListener("resize",Ct,!1)),z?z.fire(Se,Ze,Ve):ke(Se,Ze,Ve)}return Ne.reset=function(){z&&z.reset(),xe&&xe.reset()},Ne}var pe;function re(){return pe||(pe=de(null,{useWorker:!0,resize:!0})),pe}function X(N,k,T,j,G,V,q){var z=new Path2D(N),Z=new Path2D;Z.addPath(z,new DOMMatrix(k));var se=new Path2D;return se.addPath(Z,new DOMMatrix([Math.cos(q)*G,Math.sin(q)*G,-Math.sin(q)*V,Math.cos(q)*V,T,j])),se}function D(N){if(!u)throw new Error("path confetti are not supported in this browser");var k,T;
12typeof N=="string"?k=N:(k=N.path,T=N.matrix);var j=new Path2D(k),G=document.createElement("canvas"),V=G.getContext("2d");if(!T){for(var q=1e3,z=q,Z=q,se=0,ue=0,xe,ke,Ne=0;Ne<q;Ne+=2)for(var Se=0;Se<q;Se+=2)V.isPointInPath(j,Ne,Se,"nonzero")&&(z=Math.min(z,Ne),Z=Math.min(Z,Se),se=Math.max(se,Ne),ue=Math.max(ue,Se));xe=se-z,ke=ue-Z;var We=10,ze=Math.min(We/xe,We/ke);T=[ze,0,0,ze,-Math.round(xe/2+z)*ze,-Math.round(ke/2+Z)*ze]}return{type:"path",path:k,matrix:T}}function W(N){var k,T=1,j="#000000",G='"Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", "EmojiOne Color", "Android Emoji", "Twemoji Mozilla", "system emoji", sans-serif';typeof N=="string"?k=N:(k=N.text,T="scalar"in N?N.scalar:T,G="fontFamily"in N?N.fontFamily:G,j="color"in N?N.color:j);var V=10*T,q=""+V+"px "+G,z=new OffscreenCanvas(V,V),Z=z.getContext("2d");Z.font=q;var se=Z.measureText(k),ue=Math.ceil(se.actualBoundingBoxRight+se.actualBoundingBoxLeft),xe=Math.ceil(se.actualBoundingBoxAscent+se.actualBoundingBoxDescent),ke=2,Ne=se.actualBoundingBoxLeft+ke,Se=se.actualBoundingBoxAscent+ke;ue+=ke+ke,xe+=ke+ke,z=new OffscreenCanvas(ue,xe),Z=z.getContext("2d"),Z.font=q,Z.fillStyle=j,Z.fillText(k,Ne,Se);var We=1/T;return{type:"bitmap",bitmap:z.transferToImageBitmap(),matrix:[We,0,0,We,-ue*We/2,-xe*We/2]}}r.exports=function(){return re().apply(this,arguments)},r.exports.reset=function(){re().reset()},r.exports.create=de,r.exports.shapeFromPath=D,r.exports.shapeFromText=W})((function(){return typeof window<"u"?window:typeof self<"u"?self:this||{}})(),Bf,!1);const SN=Bf.exports;Bf.exports.create;const oP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l0=(...e)=>e.filter((n,r,a)=>!!n&&n.trim()!==""&&a.indexOf(n)===r).join(" ").trim();var aP={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"};const iP=f.forwardRef(({color:e="currentColor",size:n=24,strokeWidth:r=2,absoluteStrokeWidth:a,className:i="",children:l,iconNode:u,...d},p)=>f.createElement("svg",{ref:p,...aP,width:n,height:n,stroke:e,strokeWidth:a?Number(r)*24/Number(n):r,className:l0("lucide",i),...d},[...u.map(([m,v])=>f.createElement(m,v)),...Array.isArray(l)?l:[l]]));const K=(e,n)=>{const r=f.forwardRef(({className:a,...i},l)=>f.createElement(iP,{ref:l,iconNode:n,className:l0(`lucide-${oP(e)}`,a),...i}));return r.displayName=`${e}`,r};const EN=K("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);const PN=K("AlignJustify",[["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 18h18",key:"1h113x"}],["path",{d:"M3 6h18",key:"d0wm0j"}]]);const MN=K("AlignLeft",[["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M17 18H3",key:"1amg6g"}],["path",{d:"M21 6H3",key:"1jwq7v"}]]);const RN=K("AppWindow",[["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}],["path",{d:"M10 4v4",key:"pp8u80"}],["path",{d:"M2 8h20",key:"d11cs7"}],["path",{d:"M6 4v4",key:"1svtjw"}]]);const TN=K("Archive",[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]]);const _N=K("ArrowDownRight",[["path",{d:"m7 7 10 10",key:"1fmybs"}],["path",{d:"M17 7v10H7",key:"6fjiku"}]]);const NN=K("ArrowDown",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]);const ON=K("ArrowLeftRight",[["path",{d:"M8 3 4 7l4 4",key:"9rb6wj"}],["path",{d:"M4 7h16",key:"6tx8e3"}],["path",{d:"m16 21 4-4-4-4",key:"siv7j2"}],["path",{d:"M20 17H4",key:"h6l3hr"}]]);const DN=K("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);const IN=K("ArrowRightLeft",[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]]);const AN=K("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);const LN=K("ArrowUp",[["path",{d:"m5 12 7-7 7 7",key:"hav0vg"}],["path",{d:"M12 19V5",key:"x0mq9r"}]]);const $N=K("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);const FN=K("BadgeCheck",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const jN=K("Badge",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}]]);const zN=K("BookmarkPlus",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}],["line",{x1:"12",x2:"12",y1:"7",y2:"13",key:"1cppfj"}],["line",{x1:"15",x2:"9",y1:"10",y2:"10",key:"1gty7f"}]]);const BN=K("Bookmark",[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}]]);const UN=K("Bot",[["path",{d:"M12 8V4H8",key:"hb8ula"}],["rect",{width:"16",height:"12",x:"4",y:"8",rx:"2",key:"enze0r"}],["path",{d:"M2 14h2",key:"vft8re"}],["path",{d:"M20 14h2",key:"4cs60a"}],["path",{d:"M15 13v2",key:"1xurst"}],["path",{d:"M9 13v2",key:"rq6x2g"}]]);const HN=K("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);const WN=K("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);const VN=K("CalendarCheck",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]]);
12const KN=K("CalendarClock",[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]);const GN=K("CalendarDays",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);const qN=K("CalendarPlus",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"3spt84"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M19 16v6",key:"tddt3s"}]]);const QN=K("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);const YN=K("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);const XN=K("ChartLine",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]]);const ZN=K("ChartNoAxesColumnIncreasing",[["line",{x1:"12",x2:"12",y1:"20",y2:"10",key:"1vz5eb"}],["line",{x1:"18",x2:"18",y1:"20",y2:"4",key:"cun8e5"}
12],["line",{x1:"6",x2:"6",y1:"20",y2:"16",key:"hq0ia6"}]]);const JN=K("ChartNoAxesColumn",[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]]);const eO=K("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);const tO=K("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);const nO=K("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);const rO=K("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);const oO=K("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);const aO=K("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]);const iO=K("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const sO=K("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const lO=K("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const uO=K("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const cO=K("CirclePlus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);const dO=K("CircleSlash",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"9",x2:"15",y1:"15",y2:"9",key:"1dfufj"}]]);const fO=K("Circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);const pO=K("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);const hO=K("Coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);const mO=K("CornerDownRight",[["polyline",{points:"15 10 20 15 15 20",key:"1q7qjw"}],["path",{d:"M4 4v7a4 4 0 0 0 4 4h12",key:"z08zvw"}]]);const vO=K("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);const yO=K("Crosshair",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12",key:"l9bcsi"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12",key:"13hhkx"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2",key:"10w3f3"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18",key:"15g9kq"}]]);const gO=K("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);const wO=K("Eraser",[["path",{d:"m7 21-4.3-4.3c-1-1-1-2.5 0-3.4l9.6-9.6c1-1 2.5-1 3.4 0l5.6 5.6c1 1 1 2.5 0 3.4L13 21",key:"182aya"}],["path",{d:"M22 21H7",key:"t4ddhn"}],["path",{d:"m5 11 9 9",key:"1mo9qw"}]]);const xO=K("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);const bO=K("EyeOff",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);const CO=K("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const kO=K("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);const SO=K("Filter",[["polygon",{points:"22 3 2 3 10 12.46 10 19 14 21 14 12.46 22 3",key:"1yg77f"}]]);const EO=K("Flag",[["path",{d:"M4 15s1-1 4-1 5 2 8 2 4-1 4-1V3s-1 1-4 1-5-2-8-2-4 1-4 1z",key:"i9b6wo"}],["line",{x1:"4",x2:"4",y1:"22",y2:"15",key:"1cm3nv"}]]);const PO=K("Flame",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);const MO=K("Folder",[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}
12]]);const RO=K("Gauge",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);const TO=K("Gift",[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]]);const _O=K("Grid2x2",[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 12h18",key:"1i2n21"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}]]);const NO=K("Grid3x3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]]);const OO=K("Hand",[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]]);const DO=K("Hash",[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]]);const IO=K("Hourglass",[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]]);const AO=K("Inbox",[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]]);const LO=K("Infinity",[["path",{d:"M12 12c-2-2.67-4-4-6-4a4 4 0 1 0 0 8c2 0 4-1.33 6-4Zm0 0c2 2.67 4 4 6 4a4 4 0 0 0 0-8c-2 0-4 1.33-6 4Z",key:"1z0uae"}]]);const $O=K("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);const FO=K("KeyRound",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);const jO=K("Keyboard",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);const zO=K("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);const BO=K("LayoutGrid",[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]]);const UO=K("LayoutPanelTop",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}]]);const HO=K("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);const WO=K("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);const VO=K("ListChecks",[["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}]]);const KO=K("ListTree",[["path",{d:"M21 12h-8",key:"1bmf0i"}],["path",{d:"M21 6H8",key:"1pqkrb"}],["path",{d:"M21 18h-8",key:"1tm79t"}],["path",{d:"M3 6v4c0 1.1.9 2 2 2h3",key:"1ywdgy"}],["path",{d:"M3 10v6c0 1.1.9 2 2 2h3",key:"2wc746"}]]);
12const GO=K("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);const qO=K("Loader",[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]]);const QO=K("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);const YO=K("LogIn",[["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}],["polyline",{points:"10 17 15 12 10 7",key:"1ail0h"}],["line",{x1:"15",x2:"3",y1:"12",y2:"12",key:"v6grx8"}]]);const XO=K("LogOut",[["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}],["polyline",{points:"16 17 21 12 16 7",key:"1gabdz"}],["line",{x1:"21",x2:"9",y1:"12",y2:"12",key:"1uyos4"}]]);const ZO=K("MailCheck",[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]]);const JO=K("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);const eD=K("MapPin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);const tD=K("Map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]]);const nD=K("Maximize2",[["polyline",{points:"15 3 21 3 21 9",key:"mznyad"}],["polyline",{points:"9 21 3 21 3 15",key:"1avn1i"}],["line",{x1:"21",x2:"14",y1:"3",y2:"10",key:"ota7mn"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);const rD=K("MessageSquarePlus",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}],["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M9 10h6",key:"9gxzsh"}]]);const oD=K("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);const aD=K("Minimize2",[["polyline",{points:"4 14 10 14 10 20",key:"11kfnr"}],["polyline",{points:"20 10 14 10 14 4",key:"rlmsce"}],["line",{x1:"14",x2:"21",y1:"10",y2:"3",key:"o5lafz"}],["line",{x1:"3",x2:"10",y1:"21",y2:"14",key:"1atl0r"}]]);const iD=K("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);const sD=K("Moon",[["path",{d:"M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z",key:"a7tn18"}]]);const lD=K("MousePointerClick",[["path",{d:"M14 4.1 12 6",key:"ita8i4"}],["path",{d:"m5.1 8-2.9-.8",key:"1go3kf"}],["path",{d:"m6 12-1.9 2",key:"mnht97"}],["path",{d:"M7.2 2.2 8 5.1",key:"1cfko1"}],["path",{d:"M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z",key:"s0h3yz"}]]);const uD=K("Newspaper",[["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-2 2Zm0 0a2 2 0 0 1-2-2v-9c0-1.1.9-2 2-2h2",key:"7pis2x"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M10 6h8v4h-8V6Z",key:"smlsk5"}]]);const cD=K("OctagonAlert",[["path",{d:"M12 16h.01",key:"1drbdi"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z",key:"1fd625"}]]);const dD=K("PanelTopOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m15 14-3 3-3-3",key:"g215vf"}]]);const fD=K("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"}]]);const pD=K("Pencil",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]]);const hD=K("Play",[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]]);const mD=K("Plug",[["path",{d:"M12 22v-5",key:"1ega77"}
12],["path",{d:"M9 8V2",key:"14iosj"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M18 8v5a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V8Z",key:"osxo6l"}]]);const vD=K("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);const yD=K("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]);const gD=K("Repeat",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]);const wD=K("Reply",[["polyline",{points:"9 17 4 12 9 7",key:"hvgpf2"}],["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}]]);const xD=K("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);const bD=K("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);const CD=K("Rows3",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]]);const kD=K("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);const SD=K("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);const ED=K("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);const PD=K("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);const MD=K("ShoppingBag",[["path",{d:"M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z",key:"hou9p0"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}]]);const RD=K("SkipForward",[["polygon",{points:"5 4 15 12 5 20 5 4",key:"16p6eg"}],["line",{x1:"19",x2:"19",y1:"5",y2:"19",key:"futhcm"}]]);const TD=K("SlidersHorizontal",[["line",{x1:"21",x2:"14",y1:"4",y2:"4",key:"obuewd"}],["line",{x1:"10",x2:"3",y1:"4",y2:"4",key:"1q6298"}],["line",{x1:"21",x2:"12",y1:"12",y2:"12",key:"1iu8h1"}],["line",{x1:"8",x2:"3",y1:"12",y2:"12",key:"ntss68"}],["line",{x1:"21",x2:"16",y1:"20",y2:"20",key:"14d8ph"}],["line",{x1:"12",x2:"3",y1:"20",y2:"20",key:"m0wm8r"}],["line",{x1:"14",x2:"14",y1:"2",y2:"6",key:"14e1ph"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"16",x2:"16",y1:"18",y2:"22",key:"1lctlv"}]]);const _D=K("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);const ND=K("SquareCheckBig",[["path",{d:"M21 10.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.5",key:"1uzm8b"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);const OD=K("Square",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]]);const DD=K("Star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);const ID=K("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);const AD=K("Sunrise",[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]]);
12const LD=K("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]]);const $D=K("Tags",[["path",{d:"m15 5 6.3 6.3a2.4 2.4 0 0 1 0 3.4L17 19",key:"1cbfv1"}],["path",{d:"M9.586 5.586A2 2 0 0 0 8.172 5H3a1 1 0 0 0-1 1v5.172a2 2 0 0 0 .586 1.414L8.29 18.29a2.426 2.426 0 0 0 3.42 0l3.58-3.58a2.426 2.426 0 0 0 0-3.42z",key:"135mg7"}],["circle",{cx:"6.5",cy:"9.5",r:".5",fill:"currentColor",key:"5pm5xn"}]]);const FD=K("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);const jD=K("TimerOff",[["path",{d:"M10 2h4",key:"n1abiw"}],["path",{d:"M4.6 11a8 8 0 0 0 1.7 8.7 8 8 0 0 0 8.7 1.7",key:"10he05"}],["path",{d:"M7.4 7.4a8 8 0 0 1 10.3 1 8 8 0 0 1 .9 10.2",key:"15f7sh"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M12 12v-2",key:"fwoke6"}]]);const zD=K("Timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]);const BD=K("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);const UD=K("TrendingDown",[["polyline",{points:"22 17 13.5 8.5 8.5 13.5 2 7",key:"1r2t7k"}],["polyline",{points:"16 17 22 17 22 11",key:"11uiuu"}]]);const HD=K("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);const WD=K("Trophy",[["path",{d:"M6 9H4.5a2.5 2.5 0 0 1 0-5H6",key:"17hqa7"}],["path",{d:"M18 9h1.5a2.5 2.5 0 0 0 0-5H18",key:"lmptdp"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M10 14.66V17c0 .55-.47.98-.97 1.21C7.85 18.75 7 20.24 7 22",key:"1nw9bq"}],["path",{d:"M14 14.66V17c0 .55.47.98.97 1.21C16.15 18.75 17 20.24 17 22",key:"1np0yb"}],["path",{d:"M18 2H6v7a6 6 0 0 0 12 0V2Z",key:"u46fv3"}]]);const VD=K("Undo2",[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]]);const KD=K("UserPlus",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]]);const GD=K("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);const qD=K("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"}]]);const QD=K("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"}]]);const YD=K("WandSparkles",[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]]);const XD=K("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}
12],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);const ZD=K("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Jv=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,ey=Qk,JD=(e,n)=>r=>{var a;if(n?.variants==null)return ey(e,r?.class,r?.className);const{variants:i,defaultVariants:l}=n,u=Object.keys(i).map(m=>{const v=r?.[m],g=l?.[m];if(v===null)return null;const w=Jv(v)||Jv(g);return i[m][w]}),d=r&&Object.entries(r).reduce((m,v)=>{let[g,w]=v;return w===void 0||(m[g]=w),m},{}),p=n==null||(a=n.compoundVariants)===null||a===void 0?void 0:a.reduce((m,v)=>{let{class:g,className:w,...b}=v;return Object.entries(b).every(S=>{let[x,C]=S;return Array.isArray(C)?C.includes({...l,...d}[x]):{...l,...d}[x]===C})?[...m,g,w]:m},[]);return ey(e,u,p,r?.class,r?.className)},ty=e=>{let n;const r=new Set,a=(m,v)=>{const g=typeof m=="function"?m(n):m;if(!Object.is(g,n)){const w=n;n=v??(typeof g!="object"||g===null)?g:Object.assign({},n,g),r.forEach(b=>b(n,w))}},i=()=>n,d={setState:a,getState:i,getInitialState:()=>p,subscribe:m=>(r.add(m),()=>r.delete(m))},p=n=e(a,i,d);return d},sP=e=>e?ty(e):ty,lP=e=>e;function uP(e,n=lP){const r=oe.useSyncExternalStore(e.subscribe,()=>n(e.getState()),()=>n(e.getInitialState()));return oe.useDebugValue(r),r}const ny=e=>{const n=sP(e),r=a=>uP(n,a);return Object.assign(r,n),r},eI=e=>e?ny(e):ny;function cP(e,n){let r;try{r=e()}catch{return}return{getItem:i=>{var l;const u=p=>p===null?null:JSON.parse(p,void 0),d=(l=r.getItem(i))!=null?l:null;return d instanceof Promise?d.then(u):u(d)},setItem:(i,l)=>r.setItem(i,JSON.stringify(l,void 0)),removeItem:i=>r.removeItem(i)}}const zd=e=>n=>{try{const r=e(n);return r instanceof Promise?r:{then(a){return zd(a)(r)},catch(a){return this}}}catch(r){return{then(a){return this},catch(a){return zd(a)(r)}}}},dP=(e,n)=>(r,a,i)=>{let l={storage:cP(()=>localStorage),partialize:x=>x,version:0,merge:(x,C)=>({...C,...x}),...n},u=!1;const d=new Set,p=new Set;let m=l.storage;if(!m)return e((...x)=>{r(...x)},a,i);const v=()=>{const x=l.partialize({...a()});return m.setItem(l.name,{state:x,version:l.version})},g=i.setState;i.setState=(x,C)=>{g(x,C),v()};const w=e((...x)=>{r(...x),v()},a,i);i.getInitialState=()=>w;let b;const S=()=>{var x,C;if(!m)return;u=!1,d.forEach(R=>{var O;return R((O=a())!=null?O:w)});const M=((C=l.onRehydrateStorage)==null?void 0:C.call(l,(x=a())!=null?x:w))||void 0;return zd(m.getItem.bind(m))(l.name).then(R=>{if(R)if(typeof R.version=="number"&&R.version!==l.version){if(l.migrate){const O=l.migrate(R.state,R.version);return O instanceof Promise?O.then(L=>[!0,L]):[!0,O]}}else return[!1,R.state];return[!1,void 0]}).then(R=>{var O;const[L,$]=R;if(b=l.merge($,(O=a())!=null?O:w),r(b,!0),L)return v()}).then(()=>{M?.(b,void 0),b=a(),u=!0,p.forEach(R=>R(b))}).catch(R=>{M?.(void 0,R)})};return i.persist={setOptions:x=>{l={...l,...x},x.storage&&(m=x.storage)},clearStorage:()=>{m?.removeItem(l.name)},getOptions:()=>l,rehydrate:()=>S(),hasHydrated:()=>u,onHydrate:x=>(d.add(x),()=>{d.delete(x)}),onFinishHydration:x=>(p.add(x),()=>{p.delete(x)})},l.skipHydration||S(),b||w},tI=dP;var Gc="focusScope.autoFocusOnMount",qc="focusScope.autoFocusOnUnmount",ry={bubbles:!1,cancelable:!0},fP="FocusScope",bi=f.forwardRef((e,n)=>{const{loop:r=!1,trapped:a=!1,onMountAutoFocus:i,onUnmountAutoFocus:l,...u}=e,[d,p]=f.useState(null),m=tn(i),v=tn(l),g=f.useRef(null),w=Oe(n,x=>p(x)),b=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(a){let x=function(O){if(b.paused||!d)return;const L=O.target;d.contains(L)?g.current=L:xr(g.current,{select:!0})},C=function(O){if(b.paused||!d)return;const L=O.relatedTarget;L!==null&&(d.contains(L)||xr(g.current,{select:!0}))},M=function(O){if(document.activeElement===document.body)for(const $ of O)$.removedNodes.length>0&&xr(d)};document.addEventListener("focusin",x),document.addEventListener("focusout",C);const R=new MutationObserver(M);return d&&R.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",C),R.disconnect()}}},[a,d,b.paused]),f.useEffect(()=>{if(d){ay.add(b);const x=document.activeElement;if(!d.contains(x)){const M=new CustomEvent(Gc,ry);d.addEventListener(Gc,m),d.dispatchEvent(M),M.defaultPrevented||(pP(gP(u0(d)),{select:!0}),document.activeElement===x&&xr(d))}return()=>{d.removeEventListener(Gc,m),setTimeout(()=>{const M=new CustomEvent(qc,ry);d.addEventListener(qc,v),d.dispatchEvent(M),M.defaultPrevented||xr(x??document.body,{select:!0}),d.removeEventListener(qc,v),ay.remove(b)},0)}}},[d,m,v,b]);const S=f.useCallback(x=>{if(!r&&!a||b.paused)return;const C=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,M=document.activeElement;
vendor: 2,743 bytes, line 12
12if(C&&M){const R=x.currentTarget,[O,L]=hP(R);O&&L?!x.shiftKey&&M===L?(x.preventDefault(),r&&xr(O,{select:!0})):x.shiftKey&&M===O&&(x.preventDefault(),r&&xr(L,{select:!0})):M===R&&x.preventDefault()}},[r,a,b.paused]);return P.jsx(Re.div,{tabIndex:-1,...u,ref:w,onKeyDown:S})});bi.displayName=fP;function pP(e,{select:n=!1}={}){const r=document.activeElement;for(const a of e)if(xr(a,{select:n}),document.activeElement!==r)return}function hP(e){const n=u0(e),r=oy(n,e),a=oy(n.reverse(),e);return[r,a]}function u0(e){const n=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const i=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||i?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)n.push(r.currentNode);return n}function oy(e,n){for(const r of e)if(!mP(r,{upTo:n}))return r}function mP(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function vP(e){return e instanceof HTMLInputElement&&"select"in e}function xr(e,{select:n=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&vP(e)&&n&&e.select()}}var ay=yP();function yP(){let e=[];return{add(n){const r=e[0];n!==r&&r?.pause(),e=iy(e,n),e.unshift(n)},remove(n){e=iy(e,n),e[0]?.resume()}}}function iy(e,n){const r=[...e],a=r.indexOf(n);return a!==-1&&r.splice(a,1),r}function gP(e){return e.filter(n=>n.tagName!=="A")}var Qc=0;function Al(){f.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??sy()),document.body.insertAdjacentElement("beforeend",e[1]??sy()),Qc++,()=>{Qc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Qc--}},[])}function sy(){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 ri="right-scroll-bar-position",oi="width-before-scroll-bar",wP="with-scroll-bars-hidden",xP="--removed-body-scroll-bar-size";function Yc(e,n){return typeof e=="function"?e(n):e&&(e.current=n),e}function bP(e,n){var r=f.useState(function(){return{value:e,callback:n,facade:{get current(){return r.value},set current(a){var i=r.value;i!==a&&(r.value=a,r.callback(a,i))}}}})[0];return r.callback=n,r.facade}var CP=typeof window<"u"?f.useLayoutEffect:f.useEffect,ly=new WeakMap;function c0(e,n){var r=bP(null,function(a){return e.forEach(function(i){return Yc(i,a)})});return CP(function(){var a=ly.get(r);if(a){var i=new Set(a),l=new Set(e),u=r.current;
vendor: 4,155 bytes, lines 12-27
12i.forEach(function(d){l.has(d)||Yc(d,null)}),l.forEach(function(d){i.has(d)||Yc(d,u)})}ly.set(r,e)},[e]),r}function kP(e){return e}function SP(e,n){n===void 0&&(n=kP);var r=[],a=!1,i={read:function(){if(a)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(l){var u=n(l,a);return r.push(u),function(){r=r.filter(function(d){return d!==u})}},assignSyncMedium:function(l){for(a=!0;r.length;){var u=r;r=[],u.forEach(l)}r={push:function(d){return l(d)},filter:function(){return r}}},assignMedium:function(l){a=!0;var u=[];if(r.length){var d=r;r=[],d.forEach(l),u=r}var p=function(){var v=u;u=[],v.forEach(l)},m=function(){return Promise.resolve().then(p)};m(),r={push:function(v){u.push(v),m()},filter:function(v){return u=u.filter(v),r}}}};return i}function d0(e){e===void 0&&(e={});var n=SP(null);return n.options=vt({async:!0,ssr:!1},e),n}var f0=function(e){var n=e.sideCar,r=zf(e,["sideCar"]);if(!n)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var a=n.read();if(!a)throw new Error("Sidecar medium not found");return f.createElement(a,vt({},r))};f0.isSideCarExport=!0;function p0(e,n){return e.useMedium(n),f0}var h0=d0(),Xc=function(){},Ll=f.forwardRef(function(e,n){var r=f.useRef(null),a=f.useState({onScrollCapture:Xc,onWheelCapture:Xc,onTouchMoveCapture:Xc}),i=a[0],l=a[1],u=e.forwardProps,d=e.children,p=e.className,m=e.removeScrollBar,v=e.enabled,g=e.shards,w=e.sideCar,b=e.noIsolation,S=e.inert,x=e.allowPinchZoom,C=e.as,M=C===void 0?"div":C,R=e.gapMode,O=zf(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=w,$=c0([r,n]),Q=vt(vt({},O),i);return f.createElement(f.Fragment,null,v&&f.createElement(L,{sideCar:h0,removeScrollBar:m,shards:g,noIsolation:b,inert:S,setCallbacks:l,allowPinchZoom:!!x,lockRef:r,gapMode:R}),u?f.cloneElement(f.Children.only(d),vt(vt({},Q),{ref:$})):f.createElement(M,vt({},Q,{className:p,ref:$}),d))});Ll.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ll.classNames={fullWidth:oi,zeroRight:ri};var EP=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function PP(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var n=EP();return n&&e.setAttribute("nonce",n),e}function MP(e,n){e.styleSheet?e.styleSheet.cssText=n:e.appendChild(document.createTextNode(n))}function RP(e){var n=document.head||document.getElementsByTagName("head")[0];n.appendChild(e)}var TP=function(){var e=0,n=null;return{add:function(r){e==0&&(n=PP())&&(MP(n,r),RP(n)),e++},remove:function(){e--,!e&&n&&(n.parentNode&&n.parentNode.removeChild(n),n=null)}}},_P=function(){var e=TP();return function(n,r){f.useEffect(function(){return e.add(n),function(){e.remove()}},[n&&r])}},Uf=function(){var e=_P(),n=function(r){var a=r.styles,i=r.dynamic;return e(a,i),null};return n},NP={left:0,top:0,right:0,gap:0},Zc=function(e){return parseInt(e||"",10)||0},OP=function(e){var n=window.getComputedStyle(document.body),r=n[e==="padding"?"paddingLeft":"marginLeft"],a=n[e==="padding"?"paddingTop":"marginTop"],i=n[e==="padding"?"paddingRight":"marginRight"];return[Zc(r),Zc(a),Zc(i)]},DP=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return NP;var n=OP(e),r=document.documentElement.clientWidth,a=window.innerWidth;return{left:n[0],top:n[1],right:n[2],gap:Math.max(0,a-r+n[2]-n[0])}},IP=Uf(),Ko="data-scroll-locked",AP=function(e,n,r,a){var i=e.left,l=e.top,u=e.right,d=e.gap;return r===void 0&&(r="margin"),` 13 .`.concat(wP,` { 14 overflow: hidden `).concat(a,`; 15 padding-right: `).concat(d,"px ").concat(a,`; 16 } 17 body[`).concat(Ko,`] { 18 overflow: hidden `).concat(a,`; 19 overscroll-behavior: contain; 20 `).concat([n&&"position: relative ".concat(a,";"),r==="margin"&&` 21 padding-left: `.concat(i,`px; 22 padding-top: `).concat(l,`px; 23 padding-right: `).concat(u,`px; 24 margin-left:0; 25 margin-top:0; 26 margin-right: `).concat(d,"px ").concat(a,`; 27 `),r==="padding"&&"padding-right: ".concat(d,"px ").concat(a,";
27")].filter(Boolean).join(""),` 28 } 29 30 .`).concat(ri,` { 31 right: `).concat(d,"px ").concat(a,`; 32 } 33 34 .`).concat(oi,` { 35 margin-right: `).concat(d,"px ").concat(a,`; 36 } 37 38 .`).concat(ri," .").concat(ri,` { 39 right: 0 `).concat(a,`; 40 } 41 42 .`).concat(oi," .").concat(oi,` { 43 margin-right: 0 `).concat(a,`; 44 } 45 46 body[`).concat(Ko,`] { 47 `).concat(xP,": ").concat(d,`px; 48 } 49`)},uy=function(){var e=parseInt(document.body.getAttribute(Ko)||"0",10);return isFinite(e)?e:0},LP=function(){f.useEffect(function(){return document.body.setAttribute(Ko,(uy()+1).toString()),function(){var e=uy()-1;e<=0?document.body.removeAttribute(Ko):document.body.setAttribute(Ko,e.toString())}},[])},m0=function(e){var n=e.noRelative,r=e.noImportant,a=e.gapMode,i=a===void 0?"margin":a;LP();var l=f.useMemo(function(){return DP(i)},[i]);return f.createElement(IP,{styles:AP(l,!n,i,r?"":"!important")})},Bd=!1;if(typeof window<"u")try{var Xs=Object.defineProperty({},"passive",{get:function(){return Bd=!0,!0}});window.addEventListener("test",Xs,Xs),window.removeEventListener("test",Xs,Xs)}catch{Bd=!1}var $o=Bd?{passive:!1}:!1,$P=function(e){return e.tagName==="TEXTAREA"},v0=function(e,n){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return r[n]!=="hidden"&&!(r.overflowY===r.overflowX&&!$P(e)&&r[n]==="visible")},FP=function(e){return v0(e,"overflowY")},jP=function(e){return v0(e,"overflowX")},cy=function(e,n){var r=n.ownerDocument,a=n;do{typeof ShadowRoot<"u"&&a instanceof ShadowRoot&&(a=a.host);var i=y0(e,a);if(i){var l=g0(e,a),u=l[1],d=l[2];if(u>d)return!0}a=a.parentNode}while(a&&a!==r.body);return!1},zP=function(e){var n=e.scrollTop,r=e.scrollHeight,a=e.clientHeight;return[n,r,a]},BP=function(e){var n=e.scrollLeft,r=e.scrollWidth,a=e.clientWidth;return[n,r,a]},y0=function(e,n){return e==="v"?FP(n):jP(n)},g0=function(e,n){return e==="v"?zP(n):BP(n)},UP=function(e,n){return e==="h"&&n==="rtl"?-1:1},HP=function(e,n,r,a,i){var l=UP(e,window.getComputedStyle(n).direction),u=l*a,d=r.target,p=n.contains(d),m=!1,v=u>0,g=0,w=0;do{var b=g0(e,d),S=b[0],x=b[1],C=b[2],M=x-C-l*S;(S||M)&&y0(e,d)&&(g+=M,w+=S),d instanceof ShadowRoot?d=d.host:d=d.parentNode}while(!p&&d!==document.body||p&&(n.contains(d)||n===d));return(v&&Math.abs(g)<1||!v&&Math.abs(w)<1)&&(m=!0),m},Zs=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},dy=function(e){return[e.deltaX,e.deltaY]},fy=function(e){return e&&"current"in e?e.current:e},WP=function(e,n){return e[0]===n[0]&&e[1]===n[1]},VP=function(e){return` 50 .block-interactivity-`.concat(e,` {pointer-events: none;} 51 .allow-interactivity-`).concat(e,` {pointer-events: all;} 52`)},KP=0,Fo=[];function GP(e){var n=f.useRef([]),r=f.useRef([0,0]),a=f.useRef(),i=f.useState(KP++)[0],l=f.useState(Uf)[0],u=f.useRef(e);f.useEffect(function(){u.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var x=s0([e.lockRef.current],(e.shards||[]).map(fy),!0).filter(Boolean);return x.forEach(function(C){return C.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),x.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var d=f.useCallback(function(x,C){if("touches"in x&&x.touches.length===2||x.type==="wheel"&&x.ctrlKey)return!u.current.allowPinchZoom;var M=Zs(x),R=r.current,O="deltaX"in x?x.deltaX:R[0]-M[0],L="deltaY"in x?x.deltaY:R[1]-M[1],$,Q=x.target,U=Math.abs(O)>Math.abs(L)?"h":"v";if("touches"in x&&U==="h"&&Q.type==="range")return!1;var Y=cy(U,Q);if(!Y)return!0;if(Y?$=U:($=U==="v"?"h":"v",Y=cy(U,Q)),!Y)return!1;if(!a.current&&"changedTouches"in x&&(O||L)&&(a.current=$),!$)return!0;var ie=a.current||$;return HP(ie,C,x,ie==="h"?O:L)},[]),p=f.useCallback(function(x){var C=x;if(!(!Fo.length||Fo[Fo.length-1]!==l)){var M="deltaY"in C?dy(C):Zs(C),R=n.current.filter(function($){return $.name===C.type&&($.target===C.target||C.target===$.shadowParent)&&WP($.delta,M)})[0];if(R&&R.should){C.cancelable&&C.preventDefault();return}
vendor: 4,101 bytes, line 52
52if(!R){var O=(u.current.shards||[]).map(fy).filter(Boolean).filter(function($){return $.contains(C.target)}),L=O.length>0?d(C,O[0]):!u.current.noIsolation;L&&C.cancelable&&C.preventDefault()}}},[]),m=f.useCallback(function(x,C,M,R){var O={name:x,delta:C,target:M,should:R,shadowParent:qP(M)};n.current.push(O),setTimeout(function(){n.current=n.current.filter(function(L){return L!==O})},1)},[]),v=f.useCallback(function(x){r.current=Zs(x),a.current=void 0},[]),g=f.useCallback(function(x){m(x.type,dy(x),x.target,d(x,e.lockRef.current))},[]),w=f.useCallback(function(x){m(x.type,Zs(x),x.target,d(x,e.lockRef.current))},[]);f.useEffect(function(){return Fo.push(l),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:w}),document.addEventListener("wheel",p,$o),document.addEventListener("touchmove",p,$o),document.addEventListener("touchstart",v,$o),function(){Fo=Fo.filter(function(x){return x!==l}),document.removeEventListener("wheel",p,$o),document.removeEventListener("touchmove",p,$o),document.removeEventListener("touchstart",v,$o)}},[]);var b=e.removeScrollBar,S=e.inert;return f.createElement(f.Fragment,null,S?f.createElement(l,{styles:VP(i)}):null,b?f.createElement(m0,{gapMode:e.gapMode}):null)}function qP(e){for(var n=null;e!==null;)e instanceof ShadowRoot&&(n=e.host,e=e.host),e=e.parentNode;return n}const QP=p0(h0,GP);var Ci=f.forwardRef(function(e,n){return f.createElement(Ll,vt({},e,{ref:n,sideCar:QP}))});Ci.classNames=Ll.classNames;var YP=function(e){if(typeof document>"u")return null;var n=Array.isArray(e)?e[0]:e;return n.ownerDocument.body},jo=new WeakMap,Js=new WeakMap,el={},Jc=0,w0=function(e){return e&&(e.host||w0(e.parentNode))},XP=function(e,n){return n.map(function(r){if(e.contains(r))return r;var a=w0(r);return a&&e.contains(a)?a:null}).filter(function(r){return!!r})},ZP=function(e,n,r,a){var i=XP(n,Array.isArray(e)?e:[e]);el[r]||(el[r]=new WeakMap);var l=el[r],u=[],d=new Set,p=new Set(i),m=function(g){!g||d.has(g)||(d.add(g),m(g.parentNode))};i.forEach(m);var v=function(g){!g||p.has(g)||Array.prototype.forEach.call(g.children,function(w){if(d.has(w))v(w);else try{var b=w.getAttribute(a),S=b!==null&&b!=="false",x=(jo.get(w)||0)+1,C=(l.get(w)||0)+1;jo.set(w,x),l.set(w,C),u.push(w),x===1&&S&&Js.set(w,!0),C===1&&w.setAttribute(r,"true"),S||w.setAttribute(a,"true")}catch{}})};return v(n),d.clear(),Jc++,function(){u.forEach(function(g){var w=jo.get(g)-1,b=l.get(g)-1;jo.set(g,w),l.set(g,b),w||(Js.has(g)||g.removeAttribute(a),Js.delete(g)),b||g.removeAttribute(r)}),Jc--,Jc||(jo=new WeakMap,jo=new WeakMap,Js=new WeakMap,el={})}},ki=function(e,n,r){r===void 0&&(r="data-aria-hidden");var a=Array.from(Array.isArray(e)?e:[e]),i=YP(e);return i?(a.push.apply(a,Array.from(i.querySelectorAll("[aria-live]"))),ZP(a,i,r,"aria-hidden")):function(){return null}},Hf="Dialog",[x0,b0]=On(Hf),[JP,Cn]=x0(Hf),C0=e=>{const{__scopeDialog:n,children:r,open:a,defaultOpen:i,onOpenChange:l,modal:u=!0}=e,d=f.useRef(null),p=f.useRef(null),[m=!1,v]=Nn({prop:a,defaultProp:i,onChange:l});return P.jsx(JP,{scope:n,triggerRef:d,contentRef:p,contentId:Zt(),titleId:Zt(),descriptionId:Zt(),open:m,onOpenChange:v,onOpenToggle:f.useCallback(()=>v(g=>!g),[v]),modal:u,children:r})};C0.displayName=Hf;var k0="DialogTrigger",S0=f.forwardRef((e,n)=>{const{__scopeDialog:r,...a}=e,i=Cn(k0,r),l=Oe(n,i.triggerRef);return P.jsx(Re.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":Kf(i.open),...a,ref:l,onClick:ce(e.onClick,i.onOpenToggle)})});S0.displayName=k0;var Wf="DialogPortal",[eM,E0]=x0(Wf,{forceMount:void 0}),P0=e=>{const{__scopeDialog:n,forceMount:r,children:a,container:i}=e,l=Cn(Wf,n);return P.jsx(eM,{scope:n,forceMount:r,children:f.Children.map(a,u=>P.jsx(zt,{present:r||l.open,children:P.jsx(yi,{asChild:!0,container:i,children:u})}))})};P0.displayName=Wf;var ml="DialogOverlay",M0=f.forwardRef((e,n)=>{const r=E0(ml,e.__scopeDialog),{forceMount:a=r.forceMount,...i}=e,l=Cn(ml,e.__scopeDialog);return l.modal?P.jsx(zt,{present:a||l.open,children:P.jsx(tM,{...i,ref:n})}):null});M0.displayName=ml;
vendor: 4,153 bytes, lines 52-56
52var tM=f.forwardRef((e,n)=>{const{__scopeDialog:r,...a}=e,i=Cn(ml,r);return P.jsx(Ci,{as:kr,allowPinchZoom:!0,shards:[i.contentRef],children:P.jsx(Re.div,{"data-state":Kf(i.open),...a,ref:n,style:{pointerEvents:"auto",...a.style}})})}),to="DialogContent",R0=f.forwardRef((e,n)=>{const r=E0(to,e.__scopeDialog),{forceMount:a=r.forceMount,...i}=e,l=Cn(to,e.__scopeDialog);return P.jsx(zt,{present:a||l.open,children:l.modal?P.jsx(nM,{...i,ref:n}):P.jsx(rM,{...i,ref:n})})});R0.displayName=to;var nM=f.forwardRef((e,n)=>{const r=Cn(to,e.__scopeDialog),a=f.useRef(null),i=Oe(n,r.contentRef,a);return f.useEffect(()=>{const l=a.current;if(l)return ki(l)},[]),P.jsx(T0,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,l=>{l.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,l=>{const u=l.detail.originalEvent,d=u.button===0&&u.ctrlKey===!0;(u.button===2||d)&&l.preventDefault()}),onFocusOutside:ce(e.onFocusOutside,l=>l.preventDefault())})}),rM=f.forwardRef((e,n)=>{const r=Cn(to,e.__scopeDialog),a=f.useRef(!1),i=f.useRef(!1);return P.jsx(T0,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{e.onCloseAutoFocus?.(l),l.defaultPrevented||(a.current||r.triggerRef.current?.focus(),l.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:l=>{e.onInteractOutside?.(l),l.defaultPrevented||(a.current=!0,l.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const u=l.target;r.triggerRef.current?.contains(u)&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&i.current&&l.preventDefault()}})}),T0=f.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:l,...u}=e,d=Cn(to,r),p=f.useRef(null),m=Oe(n,p);return Al(),P.jsxs(P.Fragment,{children:[P.jsx(bi,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:i,onUnmountAutoFocus:l,children:P.jsx(ea,{role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":Kf(d.open),...u,ref:m,onDismiss:()=>d.onOpenChange(!1)})}),P.jsxs(P.Fragment,{children:[P.jsx(aM,{titleId:d.titleId}),P.jsx(sM,{contentRef:p,descriptionId:d.descriptionId})]})]})}),Vf="DialogTitle",_0=f.forwardRef((e,n)=>{const{__scopeDialog:r,...a}=e,i=Cn(Vf,r);return P.jsx(Re.h2,{id:i.titleId,...a,ref:n})});_0.displayName=Vf;var N0="DialogDescription",O0=f.forwardRef((e,n)=>{const{__scopeDialog:r,...a}=e,i=Cn(N0,r);return P.jsx(Re.p,{id:i.descriptionId,...a,ref:n})});O0.displayName=N0;var D0="DialogClose",I0=f.forwardRef((e,n)=>{const{__scopeDialog:r,...a}=e,i=Cn(D0,r);return P.jsx(Re.button,{type:"button",...a,ref:n,onClick:ce(e.onClick,()=>i.onOpenChange(!1))})});I0.displayName=D0;function Kf(e){return e?"open":"closed"}var A0="DialogTitleWarning",[oM,L0]=oC(A0,{contentName:to,titleName:Vf,docsSlug:"dialog"}),aM=({titleId:e})=>{const n=L0(A0),r=`\`${n.contentName}\` requires a \`${n.titleName}\` for the component to be accessible for screen reader users. 53 54If you want to hide the \`${n.titleName}\`, you can wrap it with our VisuallyHidden component. 55 56For more information, see https://radix-ui.com/primitives/docs/components/${n.docsSlug}`;return f.useEffect(()=>{if(e){const a=document.getElementById(e)}},[r,e]),null},iM="DialogDescriptionWarning",sM=({contentRef:e,descriptionId:n})=>{const a=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${L0(iM).contentName}}.`;return f.useEffect(()=>{const i=e.current?.getAttribute("aria-describedby");if(n&&i){const l=document.getElementById(n)}},[a,e,n]),null},lM=C0,uM=S0,cM=P0,dM=M0,fM=R0,pM=_0,hM=O0,$0=I0,Gf="Popover",[F0]=On(Gf,[Rr]),Si=Rr(),[mM,Tr]=F0(Gf),j0=e=>{const{__scopePopover:n,children:r,open:a,defaultOpen:i,onOpenChange:l,modal:u=!1}=e,d=Si(n),p=f.useRef(null),[m,v]=f.useState(!1),[g=!1,w]=Nn({prop:a,defaultProp:i,onChange:l});return P.jsx(Sl,{...d,children:P.jsx(mM,{scope:n,contentId:Zt(),triggerRef:p,open:g,onOpenChange:w,onOpenToggle:f.useCallback(()=>w(b=>!b),[w]),hasCustomAnchor:m,onCustomAnchorAdd:f.useCallback(()=>v(!0),[]),onCustomAnchorRemove:f.useCallback(()=>v(!1),[]),modal:u,children:r})})};j0.displayName=Gf;
vendor: 9,041 bytes, line 56
56var z0="PopoverAnchor",B0=f.forwardRef((e,n)=>{const{__scopePopover:r,...a}=e,i=Tr(z0,r),l=Si(r),{onCustomAnchorAdd:u,onCustomAnchorRemove:d}=i;return f.useEffect(()=>(u(),()=>d()),[u,d]),P.jsx(vi,{...l,...a,ref:n})});B0.displayName=z0;var U0="PopoverTrigger",H0=f.forwardRef((e,n)=>{const{__scopePopover:r,...a}=e,i=Tr(U0,r),l=Si(r),u=Oe(n,i.triggerRef),d=P.jsx(Re.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.contentId,"data-state":q0(i.open),...a,ref:u,onClick:ce(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?d:P.jsx(vi,{asChild:!0,...l,children:d})});H0.displayName=U0;var qf="PopoverPortal",[vM,yM]=F0(qf,{forceMount:void 0}),W0=e=>{const{__scopePopover:n,forceMount:r,children:a,container:i}=e,l=Tr(qf,n);return P.jsx(vM,{scope:n,forceMount:r,children:P.jsx(zt,{present:r||l.open,children:P.jsx(yi,{asChild:!0,container:i,children:a})})})};W0.displayName=qf;var Zo="PopoverContent",V0=f.forwardRef((e,n)=>{const r=yM(Zo,e.__scopePopover),{forceMount:a=r.forceMount,...i}=e,l=Tr(Zo,e.__scopePopover);return P.jsx(zt,{present:a||l.open,children:l.modal?P.jsx(gM,{...i,ref:n}):P.jsx(wM,{...i,ref:n})})});V0.displayName=Zo;var gM=f.forwardRef((e,n)=>{const r=Tr(Zo,e.__scopePopover),a=f.useRef(null),i=Oe(n,a),l=f.useRef(!1);return f.useEffect(()=>{const u=a.current;if(u)return ki(u)},[]),P.jsx(Ci,{as:kr,allowPinchZoom:!0,children:P.jsx(K0,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:ce(e.onCloseAutoFocus,u=>{u.preventDefault(),l.current||r.triggerRef.current?.focus()}),onPointerDownOutside:ce(e.onPointerDownOutside,u=>{const d=u.detail.originalEvent,p=d.button===0&&d.ctrlKey===!0,m=d.button===2||p;l.current=m},{checkForDefaultPrevented:!1}),onFocusOutside:ce(e.onFocusOutside,u=>u.preventDefault(),{checkForDefaultPrevented:!1})})})}),wM=f.forwardRef((e,n)=>{const r=Tr(Zo,e.__scopePopover),a=f.useRef(!1),i=f.useRef(!1);return P.jsx(K0,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{e.onCloseAutoFocus?.(l),l.defaultPrevented||(a.current||r.triggerRef.current?.focus(),l.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:l=>{e.onInteractOutside?.(l),l.defaultPrevented||(a.current=!0,l.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const u=l.target;r.triggerRef.current?.contains(u)&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&i.current&&l.preventDefault()}})}),K0=f.forwardRef((e,n)=>{const{__scopePopover:r,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:l,disableOutsidePointerEvents:u,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:v,...g}=e,w=Tr(Zo,r),b=Si(r);return Al(),P.jsx(bi,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:i,onUnmountAutoFocus:l,children:P.jsx(ea,{asChild:!0,disableOutsidePointerEvents:u,onInteractOutside:v,onEscapeKeyDown:d,onPointerDownOutside:p,onFocusOutside:m,onDismiss:()=>w.onOpenChange(!1),children:P.jsx(El,{"data-state":q0(w.open),role:"dialog",id:w.contentId,...b,...g,ref:n,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),G0="PopoverClose",xM=f.forwardRef((e,n)=>{const{__scopePopover:r,...a}=e,i=Tr(G0,r);return P.jsx(Re.button,{type:"button",...a,ref:n,onClick:ce(e.onClick,()=>i.onOpenChange(!1))})});xM.displayName=G0;var bM="PopoverArrow",CM=f.forwardRef((e,n)=>{const{__scopePopover:r,...a}=e,i=Si(r);return P.jsx(Pl,{...i,...a,ref:n})});CM.displayName=bM;function q0(e){return e?"open":"closed"}var nI=j0,rI=B0,oI=H0,aI=W0,iI=V0;function Qf(e){const n=f.useRef({value:e,previous:e});return f.useMemo(()=>(n.current.value!==e&&(n.current.previous=n.current.value,n.current.value=e),n.current.previous),[e])}var Yf="Switch",[kM]=On(Yf),[SM,EM]=kM(Yf),Q0=f.forwardRef((e,n)=>{const{__scopeSwitch:r,name:a,checked:i,defaultChecked:l,required:u,disabled:d,value:p="on",onCheckedChange:m,form:v,...g}=e,[w,b]=f.useState(null),S=Oe(n,O=>b(O)),x=f.useRef(!1),C=w?v||!!w.closest("form"):!0,[M=!1,R]=Nn({prop:i,defaultProp:l,onChange:m});return P.jsxs(SM,{scope:r,checked:M,disabled:d,children:[P.jsx(Re.button,{type:"button",role:"switch","aria-checked":M,"aria-required":u,"data-state":Z0(M),"data-disabled":d?"":void 0,disabled:d,value:p,...g,ref:S,onClick:ce(e.onClick,O=>{R(L=>!L),C&&(x.current=O.isPropagationStopped(),x.current||O.stopPropagation())})}),C&&P.jsx(PM,{control:w,bubbles:!x.current,name:a,value:p,checked:M,required:u,disabled:d,form:v,style:{transform:"translateX(-100%)"}})]})});Q0.displayName=Yf;var Y0="SwitchThumb",X0=f.forwardRef((e,n)=>{const{__scopeSwitch:r,...a}=e,i=EM(Y0,r);return P.jsx(Re.span,{"data-state":Z0(i.checked),"data-disabled":i.disabled?"":void 0,...a,ref:n})});X0.displayName=Y0;var PM=e=>{const{control:n,checked:r,bubbles:a=!0,...i}=e,l=f.useRef(null),u=Qf(r),d=wf(n);return f.useEffect(()=>{const p=l.current,m=window.HTMLInputElement.prototype,g=Object.getOwnPropertyDescriptor(m,"checked").set;if(u!==r&&g){const w=new Event("click",{bubbles:a});g.call(p,r),p.dispatchEvent(w)}},[u,r,a]),P.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:r,...i,tabIndex:-1,ref:l,style:{...e.style,...d,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function Z0(e){return e?"checked":"unchecked"}var sI=Q0,lI=X0,MM="Label",J0=f.forwardRef((e,n)=>P.jsx(Re.label,{...e,ref:n,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));J0.displayName=MM;var uI=J0;function RM(e,n=[]){let r=[];function a(l,u){const d=f.createContext(u),p=r.length;r=[...r,u];function m(g){const{scope:w,children:b,...S}=g,x=w?.[e][p]||d,C=f.useMemo(()=>S,Object.values(S));return P.jsx(x.Provider,{value:C,children:b})}function v(g,w){const b=w?.[e][p]||d,S=f.useContext(b);if(S)return S;if(u!==void 0)return u;throw new Error(`\`${g}\` must be used within \`${l}\``)}return m.displayName=l+"Provider",[m,v]}const i=()=>{const l=r.map(u=>f.createContext(u));return function(d){const p=d?.[e]||l;return f.useMemo(()=>({[`__scope${e}`]:{...d,[e]:p}}),[d,p])}};return i.scopeName=e,[a,TM(i,...n)]}function TM(...e){const n=e[0];if(e.length===1)return n;const r=()=>{const a=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(l){const u=a.reduce((d,{useScope:p,scopeName:m})=>{const g=p(l)[`__scope${m}`];return{...d,...g}},{});return f.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return r.scopeName=n.scopeName,r}function Xf(e){const n=e+"CollectionProvider",[r,a]=RM(n),[i,l]=r(n,{collectionRef:{current:null},itemMap:new Map}),u=b=>{const{scope:S,children:x}=b,C=oe.useRef(null),M=oe.useRef(new Map).current;return P.jsx(i,{scope:S,itemMap:M,collectionRef:C,children:x})};u.displayName=n;const d=e+"CollectionSlot",p=oe.forwardRef((b,S)=>{const{scope:x,children:C}=b,M=l(d,x),R=Oe(S,M.collectionRef);return P.jsx(kr,{ref:R,children:C})});p.displayName=d;const m=e+"CollectionItemSlot",v="data-radix-collection-item",g=oe.forwardRef((b,S)=>{const{scope:x,children:C,...M}=b,R=oe.useRef(null),O=Oe(S,R),L=l(m,x);return oe.useEffect(()=>(L.itemMap.set(R,{ref:R,...M}),()=>{L.itemMap.delete(R)})),P.jsx(kr,{[v]:"",ref:O,children:C})});g.displayName=m;function w(b){const S=l(e+"CollectionConsumer",b);return oe.useCallback(()=>{const C=S.collectionRef.current;if(!C)return[];const M=Array.from(C.querySelectorAll(`[${v}]`));return Array.from(S.itemMap.values()).sort((L,$)=>M.indexOf(L.ref.current)-M.indexOf($.ref.current))},[S.collectionRef,S.itemMap])}return[{Provider:u,Slot:p,ItemSlot:g},w,a]}var _M=f.createContext(void 0);function Zf(e){const n=f.useContext(_M);return e||n||"ltr"}function NM(e,n=[]){let r=[];function a(l,u){const d=f.createContext(u),p=r.length;r=[...r,u];function m(g){const{scope:w,children:b,...S}=g,x=w?.[e][p]||d,C=f.useMemo(()=>S,Object.values(S));return P.jsx(x.Provider,{value:C,children:b})}function v(g,w){const b=w?.[e][p]||d,S=f.useContext(b);if(S)return S;if(u!==void 0)return u;throw new Error(`\`${g}\` must be used within \`${l}\``)}return m.displayName=l+"Provider",[m,v]}const i=()=>{const l=r.map(u=>f.createContext(u));return function(d){const p=d?.[e]||l;return f.useMemo(()=>({[`__scope${e}`]:{...d,[e]:p}}),[d,p])}};return i.scopeName=e,[a,OM(i,...n)]}function OM(...e){const n=e[0];if(e.length===1)return n;const r=()=>{const a=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(l){const u=a.reduce((d,{useScope:p,scopeName:m})=>{const g=p(l)[`__scope${m}`];return{...d,...g}},{});return f.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return r.scopeName=n.scopeName,r}var ed="rovingFocusGroup.onEntryFocus",DM={bubbles:!1,cancelable:!0},$l="RovingFocusGroup",[Ud,e1,IM]=Xf($l),[AM,t1]=NM($l,[IM]),[LM,$M]=AM($l),n1=f.forwardRef((e,n
vendor: 4,211 bytes, line 56
56)=>P.jsx(Ud.Provider,{scope:e.__scopeRovingFocusGroup,children:P.jsx(Ud.Slot,{scope:e.__scopeRovingFocusGroup,children:P.jsx(FM,{...e,ref:n})})}));n1.displayName=$l;var FM=f.forwardRef((e,n)=>{const{__scopeRovingFocusGroup:r,orientation:a,loop:i=!1,dir:l,currentTabStopId:u,defaultCurrentTabStopId:d,onCurrentTabStopIdChange:p,onEntryFocus:m,preventScrollOnEntryFocus:v=!1,...g}=e,w=f.useRef(null),b=Oe(n,w),S=Zf(l),[x=null,C]=Nn({prop:u,defaultProp:d,onChange:p}),[M,R]=f.useState(!1),O=tn(m),L=e1(r),$=f.useRef(!1),[Q,U]=f.useState(0);return f.useEffect(()=>{const Y=w.current;if(Y)return Y.addEventListener(ed,O),()=>Y.removeEventListener(ed,O)},[O]),P.jsx(LM,{scope:r,orientation:a,dir:S,loop:i,currentTabStopId:x,onItemFocus:f.useCallback(Y=>C(Y),[C]),onItemShiftTab:f.useCallback(()=>R(!0),[]),onFocusableItemAdd:f.useCallback(()=>U(Y=>Y+1),[]),onFocusableItemRemove:f.useCallback(()=>U(Y=>Y-1),[]),children:P.jsx(Re.div,{tabIndex:M||Q===0?-1:0,"data-orientation":a,...g,ref:b,style:{outline:"none",...e.style},onMouseDown:ce(e.onMouseDown,()=>{$.current=!0}),onFocus:ce(e.onFocus,Y=>{const ie=!$.current;if(Y.target===Y.currentTarget&&ie&&!M){const le=new CustomEvent(ed,DM);if(Y.currentTarget.dispatchEvent(le),!le.defaultPrevented){const he=L().filter(re=>re.focusable),ae=he.find(re=>re.active),me=he.find(re=>re.id===x),pe=[ae,me,...he].filter(Boolean).map(re=>re.ref.current);a1(pe,v)}}$.current=!1}),onBlur:ce(e.onBlur,()=>R(!1))})})}),r1="RovingFocusGroupItem",o1=f.forwardRef((e,n)=>{const{__scopeRovingFocusGroup:r,focusable:a=!0,active:i=!1,tabStopId:l,...u}=e,d=Zt(),p=l||d,m=$M(r1,r),v=m.currentTabStopId===p,g=e1(r),{onFocusableItemAdd:w,onFocusableItemRemove:b}=m;return f.useEffect(()=>{if(a)return w(),()=>b()},[a,w,b]),P.jsx(Ud.ItemSlot,{scope:r,id:p,focusable:a,active:i,children:P.jsx(Re.span,{tabIndex:v?0:-1,"data-orientation":m.orientation,...u,ref:n,onMouseDown:ce(e.onMouseDown,S=>{a?m.onItemFocus(p):S.preventDefault()}),onFocus:ce(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:ce(e.onKeyDown,S=>{if(S.key==="Tab"&&S.shiftKey){m.onItemShiftTab();return}if(S.target!==S.currentTarget)return;const x=BM(S,m.orientation,m.dir);if(x!==void 0){if(S.metaKey||S.ctrlKey||S.altKey||S.shiftKey)return;S.preventDefault();let M=g().filter(R=>R.focusable).map(R=>R.ref.current);if(x==="last")M.reverse();else if(x==="prev"||x==="next"){x==="prev"&&M.reverse();const R=M.indexOf(S.currentTarget);M=m.loop?UM(M,R+1):M.slice(R+1)}setTimeout(()=>a1(M))}})})})});o1.displayName=r1;var jM={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function zM(e,n){return n!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function BM(e,n,r){const a=zM(e.key,r);if(!(n==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(n==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return jM[a]}function a1(e,n=!1){const r=document.activeElement;for(const a of e)if(a===r||(a.focus({preventScroll:n}),document.activeElement!==r))return}function UM(e,n){return e.map((r,a)=>e[(n+a)%e.length])}var HM=n1,WM=o1,Hd=["Enter"," "],VM=["ArrowDown","PageUp","Home"],i1=["ArrowUp","PageDown","End"],KM=[...VM,...i1],GM={ltr:[...Hd,"ArrowRight"],rtl:[...Hd,"ArrowLeft"]},qM={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Ei="Menu",[di,QM,YM]=Xf(Ei),[uo,s1]=On(Ei,[YM,Rr,t1]),Fl=Rr(),l1=t1(),[XM,co]=uo(Ei),[ZM,Pi]=uo(Ei),u1=e=>{const{__scopeMenu:n,open:r=!1,children:a,dir:i,onOpenChange:l,modal:u=!0}=e,d=Fl(n),[p,m]=f.useState(null),v=f.useRef(!1),g=tn(l),w=Zf(i);return f.useEffect(()=>{const b=()=>{v.current=!0,document.addEventListener("pointerdown",S,{capture:!0,once:!0}),document.addEventListener("pointermove",S,{capture:!0,once:!0})},S=()=>v.current=!1;return document.addEventListener("keydown",b,{capture:!0}),()=>{document.removeEventListener("keydown",b,{capture:!0}),document.removeEventListener("pointerdown",S,{capture:!0}),document.removeEventListener("pointermove",S,{capture:!0})}},[]),P.jsx(Sl,{...d,children:P.jsx(XM,{scope:n,open:r,onOpenChange:g,content:p,onContentChange:m,children:P.jsx(ZM,{scope:n,onClose:f.useCallback(()=>g(!1),[g]),isUsingKeyboardRef:v,dir:w,modal:u,children:a})})})};u1.displayName=Ei;
vendor: 13,404 bytes, line 56
56var JM="MenuAnchor",Jf=f.forwardRef((e,n)=>{const{__scopeMenu:r,...a}=e,i=Fl(r);return P.jsx(vi,{...i,...a,ref:n})});Jf.displayName=JM;var ep="MenuPortal",[eR,c1]=uo(ep,{forceMount:void 0}),d1=e=>{const{__scopeMenu:n,forceMount:r,children:a,container:i}=e,l=co(ep,n);return P.jsx(eR,{scope:n,forceMount:r,children:P.jsx(zt,{present:r||l.open,children:P.jsx(yi,{asChild:!0,container:i,children:a})})})};d1.displayName=ep;var Jt="MenuContent",[tR,tp]=uo(Jt),f1=f.forwardRef((e,n)=>{const r=c1(Jt,e.__scopeMenu),{forceMount:a=r.forceMount,...i}=e,l=co(Jt,e.__scopeMenu),u=Pi(Jt,e.__scopeMenu);return P.jsx(di.Provider,{scope:e.__scopeMenu,children:P.jsx(zt,{present:a||l.open,children:P.jsx(di.Slot,{scope:e.__scopeMenu,children:u.modal?P.jsx(nR,{...i,ref:n}):P.jsx(rR,{...i,ref:n})})})})}),nR=f.forwardRef((e,n)=>{const r=co(Jt,e.__scopeMenu),a=f.useRef(null),i=Oe(n,a);return f.useEffect(()=>{const l=a.current;if(l)return ki(l)},[]),P.jsx(np,{...e,ref:i,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:ce(e.onFocusOutside,l=>l.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),rR=f.forwardRef((e,n)=>{const r=co(Jt,e.__scopeMenu);return P.jsx(np,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),np=f.forwardRef((e,n)=>{const{__scopeMenu:r,loop:a=!1,trapFocus:i,onOpenAutoFocus:l,onCloseAutoFocus:u,disableOutsidePointerEvents:d,onEntryFocus:p,onEscapeKeyDown:m,onPointerDownOutside:v,onFocusOutside:g,onInteractOutside:w,onDismiss:b,disableOutsideScroll:S,...x}=e,C=co(Jt,r),M=Pi(Jt,r),R=Fl(r),O=l1(r),L=QM(r),[$,Q]=f.useState(null),U=f.useRef(null),Y=Oe(n,U,C.onContentChange),ie=f.useRef(0),le=f.useRef(""),he=f.useRef(0),ae=f.useRef(null),me=f.useRef("right"),de=f.useRef(0),pe=S?Ci:f.Fragment,re=S?{as:kr,allowPinchZoom:!0}:void 0,X=W=>{const N=le.current+W,k=L().filter(z=>!z.disabled),T=document.activeElement,j=k.find(z=>z.ref.current===T)?.textValue,G=k.map(z=>z.textValue),V=mR(G,N,j),q=k.find(z=>z.textValue===V)?.ref.current;(function z(Z){le.current=Z,window.clearTimeout(ie.current),Z!==""&&(ie.current=window.setTimeout(()=>z(""),1e3))})(N),q&&setTimeout(()=>q.focus())};f.useEffect(()=>()=>window.clearTimeout(ie.current),[]),Al();const D=f.useCallback(W=>me.current===ae.current?.side&&yR(W,ae.current?.area),[]);return P.jsx(tR,{scope:r,searchRef:le,onItemEnter:f.useCallback(W=>{D(W)&&W.preventDefault()},[D]),onItemLeave:f.useCallback(W=>{D(W)||(U.current?.focus(),Q(null))},[D]),onTriggerLeave:f.useCallback(W=>{D(W)&&W.preventDefault()},[D]),pointerGraceTimerRef:he,onPointerGraceIntentChange:f.useCallback(W=>{ae.current=W},[]),children:P.jsx(pe,{...re,children:P.jsx(bi,{asChild:!0,trapped:i,onMountAutoFocus:ce(l,W=>{W.preventDefault(),U.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:u,children:P.jsx(ea,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:m,onPointerDownOutside:v,onFocusOutside:g,onInteractOutside:w,onDismiss:b,children:P.jsx(HM,{asChild:!0,...O,dir:M.dir,orientation:"vertical",loop:a,currentTabStopId:$,onCurrentTabStopIdChange:Q,onEntryFocus:ce(p,W=>{M.isUsingKeyboardRef.current||W.preventDefault()}),preventScrollOnEntryFocus:!0,children:P.jsx(El,{role:"menu","aria-orientation":"vertical","data-state":R1(C.open),"data-radix-menu-content":"",dir:M.dir,...R,...x,ref:Y,style:{outline:"none",...x.style},onKeyDown:ce(x.onKeyDown,W=>{const k=W.target.closest("[data-radix-menu-content]")===W.currentTarget,T=W.ctrlKey||W.altKey||W.metaKey,j=W.key.length===1;k&&(W.key==="Tab"&&W.preventDefault(),!T&&j&&X(W.key));const G=U.current;if(W.target!==G||!KM.includes(W.key))return;W.preventDefault();const q=L().filter(z=>!z.disabled).map(z=>z.ref.current);i1.includes(W.key)&&q.reverse(),pR(q)}),onBlur:ce(e.onBlur,W=>{W.currentTarget.contains(W.target)||(window.clearTimeout(ie.current),le.current="")}),onPointerMove:ce(e.onPointerMove,fi(W=>{const N=W.target,k=de.current!==W.clientX;if(W.currentTarget.contains(N)&&k){const T=W.clientX>de.current?"right":"left";me.current=T,de.current=W.clientX}}))})})})})})})});f1.displayName=Jt;var oR="MenuGroup",rp=f.forwardRef((e,n)=>{const{__scopeMenu:r,...a}=e;return P.jsx(Re.div,{role:"group",...a,ref:n})});rp.displayName=oR;var aR="MenuLabel",p1=f.forwardRef((e,n)=>{const{__scopeMenu:r,...a}=e;return P.jsx(Re.div,{...a,ref:n})});p1.displayName=aR;var vl="MenuItem",py="menu.itemSelect",jl=f.forwardRef((e,n)=>{const{disabled:r=!1,onSelect:a,...i}=e,l=f.useRef(null),u=Pi(vl,e.__scopeMenu),d=tp(vl,e.__scopeMenu),p=Oe(n,l),m=f.useRef(!1),v=()=>{const g=l.current;if(!r&&g){const w=new CustomEvent(py,{bubbles:!0,cancelable:!0});g.addEventListener(py,b=>a?.(b),{once:!0}),Vy(g,w),w.defaultPrevented?m.current=!1:u.onClose()}};return P.jsx(h1,{...i,ref:p,disabled:r,onClick:ce(e.onClick,v),onPointerDown:g=>{e.onPointerDown?.(g),m.current=!0},onPointerUp:ce(e.onPointerUp,g=>{m.current||g.currentTarget?.click()}),onKeyDown:ce(e.onKeyDown,g=>{const w=d.searchRef.current!=="";r||w&&g.key===" "||Hd.includes(g.key)&&(g.currentTarget.click(),g.preventDefault())})})});jl.displayName=vl;var h1=f.forwardRef((e,n)=>{const{__scopeMenu:r,disabled:a=!1,textValue:i,...l}=e,u=tp(vl,r),d=l1(r),p=f.useRef(null),m=Oe(n,p),[v,g]=f.useState(!1),[w,b]=f.useState("");return f.useEffect(()=>{const S=p.current;S&&b((S.textContent??"").trim())},[l.children]),P.jsx(di.ItemSlot,{scope:r,disabled:a,textValue:i??w,children:P.jsx(WM,{asChild:!0,...d,focusable:!a,children:P.jsx(Re.div,{role:"menuitem","data-highlighted":v?"":void 0,"aria-disabled":a||void 0,"data-disabled":a?"":void 0,...l,ref:m,onPointerMove:ce(e.onPointerMove,fi(S=>{a?u.onItemLeave(S):(u.onItemEnter(S),S.defaultPrevented||S.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:ce(e.onPointerLeave,fi(S=>u.onItemLeave(S))),onFocus:ce(e.onFocus,()=>g(!0)),onBlur:ce(e.onBlur,()=>g(!1))})})})}),iR="MenuCheckboxItem",m1=f.forwardRef((e,n)=>{const{checked:r=!1,onCheckedChange:a,...i}=e;return P.jsx(x1,{scope:e.__scopeMenu,checked:r,children:P.jsx(jl,{role:"menuitemcheckbox","aria-checked":yl(r)?"mixed":r,...i,ref:n,"data-state":ap(r),onSelect:ce(i.onSelect,()=>a?.(yl(r)?!0:!r),{checkForDefaultPrevented:!1})})})});m1.displayName=iR;var v1="MenuRadioGroup",[sR,lR]=uo(v1,{value:void 0,onValueChange:()=>{}}),y1=f.forwardRef((e,n)=>{const{value:r,onValueChange:a,...i}=e,l=tn(a);return P.jsx(sR,{scope:e.__scopeMenu,value:r,onValueChange:l,children:P.jsx(rp,{...i,ref:n})})});y1.displayName=v1;var g1="MenuRadioItem",w1=f.forwardRef((e,n)=>{const{value:r,...a}=e,i=lR(g1,e.__scopeMenu),l=r===i.value;return P.jsx(x1,{scope:e.__scopeMenu,checked:l,children:P.jsx(jl,{role:"menuitemradio","aria-checked":l,...a,ref:n,"data-state":ap(l),onSelect:ce(a.onSelect,()=>i.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});w1.displayName=g1;var op="MenuItemIndicator",[x1,uR]=uo(op,{checked:!1}),b1=f.forwardRef((e,n)=>{const{__scopeMenu:r,forceMount:a,...i}=e,l=uR(op,r);return P.jsx(zt,{present:a||yl(l.checked)||l.checked===!0,children:P.jsx(Re.span,{...i,ref:n,"data-state":ap(l.checked)})})});b1.displayName=op;var cR="MenuSeparator",C1=f.forwardRef((e,n)=>{const{__scopeMenu:r,...a}=e;return P.jsx(Re.div,{role:"separator","aria-orientation":"horizontal",...a,ref:n})});C1.displayName=cR;var dR="MenuArrow",k1=f.forwardRef((e,n)=>{const{__scopeMenu:r,...a}=e,i=Fl(r);return P.jsx(Pl,{...i,...a,ref:n})});k1.displayName=dR;var fR="MenuSub",[cI,S1]=uo(fR),ti="MenuSubTrigger",E1=f.forwardRef((e,n)=>{const r=co(ti,e.__scopeMenu),a=Pi(ti,e.__scopeMenu),i=S1(ti,e.__scopeMenu),l=tp(ti,e.__scopeMenu),u=f.useRef(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:p}=l,m={__scopeMenu:e.__scopeMenu},v=f.useCallback(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return f.useEffect(()=>v,[v]),f.useEffect(()=>{const g=d.current;return()=>{window.clearTimeout(g),p(null)}},[d,p]),P.jsx(Jf,{asChild:!0,...m,children:P.jsx(h1,{id:i.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":i.contentId,"data-state":R1(r.open),...e,ref:xl(n,i.onTriggerChange),onClick:g=>{e.onClick?.(g),!(e.disabled||g.defaultPrevented)&&(g.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:ce(e.onPointerMove,fi(g=>{l.onItemEnter(g),!g.defaultPrevented&&!e.disabled&&!r.open&&!u.current&&(l.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{r.onOpenChange(!0),v()},100))})),onPointerLeave:ce(e.onPointerLeave,fi(g=>{v();const w=r.content?.getBoundingClientRect();if(w){const b=r.content?.dataset.side,S=b==="right",x=S?-5:5,C=w[S?"left":"right"],M=w[S?"right":"left"];l.onPointerGraceIntentChange({area:[{x:g.clientX+x,y:g.clientY},{x:C,y:w.top},{x:M,y:w.top},{x:M,y:w.bottom},{x:C,y:w.bottom}],side:b}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(g),g.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:ce(e.onKeyDown,g=>{const w=l.searchRef.current!=="";e.disabled||w&&g.key===" "||GM[a.dir].includes(g.key)&&(r.onOpenChange(!0),r.content?.focus(),g.preventDefault())})})})});E1.displayName=ti;var P1="MenuSubContent",M1=f.forwardRef((e,n)=>{const r=c1(Jt,e.__scopeMenu),{forceMount:a=r.forceMount,...i}=e,l=co(Jt,e.__scopeMenu),u=Pi(Jt,e.__scopeMenu),d=S1(P1,e.__scopeMenu),p=f.useRef(null),m=Oe(n,p);return P.jsx(di.Provider,{scope:e.__scopeMenu,children:P.jsx(zt,{present:a||l.open,children:P.jsx(di.Slot,{scope:e.__scopeMenu,children:P.jsx(np,{id:d.contentId,"aria-labelledby":d.triggerId,...i,ref:m,align:"start",side:u.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:v=>{u.isUsingKeyboardRef.current&&p.current?.focus(),v.preventDefault()},onCloseAutoFocus:v=>v.preventDefault(),onFocusOutside:ce(e.onFocusOutside,v=>{v.target!==d.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:ce(e.onEscapeKeyDown,v=>{u.onClose(),v.preventDefault()}),onKeyDown:ce(e.onKeyDown,v=>{const g=v.currentTarget.contains(v.target),w=qM[u.dir].includes(v.key);g&&w&&(l.onOpenChange(!1),d.trigger?.focus(),v.preventDefault())})})})})})});M1.displayName=P1;function R1(e){return e?"open":"closed"}function yl(e){return e==="indeterminate"}function ap(e){return yl(e)?"indeterminate":e?"checked":"unchecked"}function pR(e){const n=document.activeElement;for(const r of e)if(r===n||(r.focus(),document.activeElement!==n))return}function hR(e,n){return e.map((r,a)=>e[(n+a)%e.length])}function mR(e,n,r){const i=n.length>1&&Array.from(n).every(m=>m===n[0])?n[0]:n,l=r?e.indexOf(r):-1;let u=hR(e,Math.max(l,0));i.length===1&&(u=u.filter(m=>m!==r));const p=u.find(m=>m.toLowerCase().startsWith(i.toLowerCase()));return p!==r?p:void 0}function vR(e,n){const{x:r,y:a}=e;let i=!1;for(let l=0,u=n.length-1;l<n.length;u=l++){const d=n[l].x,p=n[l].y,m=n[u].x,v=n[u].y;p>a!=v>a&&r<(m-d)*(a-p)/(v-p)+d&&(i=!i)}return i}function yR(e,n){if(!n)return!1;const r={x:e.clientX,y:e.clientY};return vR(r,n)}function fi(e){return n=>n.pointerType==="mouse"?e(n):void 0}var gR=u1,wR=Jf,xR=d1,bR=f1,CR=rp,kR=p1,SR=jl,ER=m1,PR=y1,MR=w1,RR=b1,TR=C1,_R=k1,NR=E1,OR=M1,ip="DropdownMenu",[DR]=On(ip,[s1]),bt=s1(),[IR,T1]=DR(ip),_1=e=>{const{__scopeDropdownMenu:n,children:r,dir:a,open:i,defaultOpen:l,onOpenChange:u,modal:d=!0}=e,p=bt(n),m=f.useRef(null),[v=!1,g]=Nn({prop:i,defaultProp:l,onChange:u});return P.jsx(IR,{scope:n,triggerId:Zt(),triggerRef:m,contentId:Zt(),open:v,onOpenChange:g,onOpenToggle:f.useCallback(()=>g(w=>!w),[g]),modal:d,children:P.jsx(gR,{...p,open:v,onOpenChange:g,dir:a,modal:d,children:r})})};_1.displayName=ip;var N1="DropdownMenuTrigger",O1=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,disabled:a=!1,...i}=e,l=T1(N1,r),u=bt(r);return P.jsx(wR,{asChild:!0,...u,children:P.jsx(Re.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":a?"":void 0,disabled:a,...i,ref:xl(n,l.triggerRef),onPointerDown:ce(e.onPointerDown,d=>{!a&&d.button===0&&d.ctrlKey===!1&&(l.onOpenToggle(),l.open||d.preventDefault())}),onKeyDown:ce(e.onKeyDown,d=>{a||(["Enter"," "].includes(d.key)&&l.onOpenToggle(),d.key==="ArrowDown"&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(d.key)&&d.preventDefault())})})})});O1.displayName=N1;var AR="DropdownMenuPortal",D1=e=>{const{__scopeDropdownMenu:n,...r}=e,a=bt(n);return P.jsx(xR,{...a,...r})};D1.displayName=AR;var I1="DropdownMenuContent",A1=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=T1(I1,r),l=bt(r),u=f.useRef(!1);return P.jsx(bR,{id:i.contentId,"aria-labelledby":i.triggerId,...l,...a,ref:n,onCloseAutoFocus:ce(e.onCloseAutoFocus,d=>{u.current||i.triggerRef.current?.focus(),u.current=!1,d.preventDefault()}),onInteractOutside:ce(e.onInteractOutside,d=>{const p=d.detail.originalEvent,m=p.button===0&&p.ctrlKey===!0,v=p.button===2||m;(!i.modal||v)&&(u.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});A1.displayName=I1;
vendor: 2,492 bytes, line 56
56var LR="DropdownMenuGroup",$R=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(CR,{...i,...a,ref:n})});$R.displayName=LR;var FR="DropdownMenuLabel",L1=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(kR,{...i,...a,ref:n})});L1.displayName=FR;var jR="DropdownMenuItem",$1=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(SR,{...i,...a,ref:n})});$1.displayName=jR;var zR="DropdownMenuCheckboxItem",F1=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(ER,{...i,...a,ref:n})});F1.displayName=zR;var BR="DropdownMenuRadioGroup",UR=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(PR,{...i,...a,ref:n})});UR.displayName=BR;var HR="DropdownMenuRadioItem",j1=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(MR,{...i,...a,ref:n})});j1.displayName=HR;var WR="DropdownMenuItemIndicator",z1=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(RR,{...i,...a,ref:n})});z1.displayName=WR;var VR="DropdownMenuSeparator",B1=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(TR,{...i,...a,ref:n})});B1.displayName=VR;var KR="DropdownMenuArrow",GR=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(_R,{...i,...a,ref:n})});GR.displayName=KR;var qR="DropdownMenuSubTrigger",U1=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(NR,{...i,...a,ref:n})});U1.displayName=qR;var QR="DropdownMenuSubContent",H1=f.forwardRef((e,n)=>{const{__scopeDropdownMenu:r,...a}=e,i=bt(r);return P.jsx(OR,{...i,...a,ref:n,style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});H1.displayName=QR;var dI=_1,fI=O1,pI=D1,hI=A1,mI=L1,vI=$1,yI=F1,gI=j1,wI=z1,xI=B1,bI=U1,CI=H1,hy=1,YR=.9,XR=.8,ZR=.17,td=.1,nd=.999,JR=.9999,eT=.99,tT=/[\\\/_+.#"@\[\(\{&]/,nT=/[\\\/_+.#"@\[\(\{&]/g,rT=/[\s-]/,W1=/[\s-]/g;function Wd(e,n,r,a,i,l,u){if(l===n.length)return i===e.length?hy:eT;var d=`${i},${l}`;if(u[d]!==void 0)return u[d];for(var p=a.charAt(l),m=r.indexOf(p,i),v=0,g,w,b,S;m>=0;
56)g=Wd(e,n,r,a,m+1,l+1,u),g>v&&(m===i?g*=hy:tT.test(e.charAt(m-1))?(g*=XR,b=e.slice(i,m-1).match(nT),b&&i>0&&(g*=Math.pow(nd,b.length))):rT.test(e.charAt(m-1))?(g*=YR,S=e.slice(i,m-1).match(W1),S&&i>0&&(g*=Math.pow(nd,S.length))):(g*=ZR,i>0&&(g*=Math.pow(nd,m-i))),e.charAt(m)!==n.charAt(l)&&(g*=JR)),(g<td&&r.charAt(m-1)===a.charAt(l+1)||a.charAt(l+1)===a.charAt(l)&&r.charAt(m-1)!==a.charAt(l))&&(w=Wd(e,n,r,a,m+1,l+2,u),w*td>g&&(g=w*td)),g>v&&(v=g),m=r.indexOf(p,m+1);return u[d]=v,v}function my(e){return e.toLowerCase().replace(W1," ")}function oT(e,n,r){return e=r&&r.length>0?`${e+" "+r.join(" ")}`:e,Wd(e,n,my(e),my(n),0,0,{})}function xt(){return xt=Object.assign?Object.assign.bind():function(e){for(var n=1;n<arguments.length;n++){var r=arguments[n];for(var a in r)({}).hasOwnProperty.call(r,a)&&(e[a]=r[a])}return e},xt.apply(null,arguments)}function Go(e,n,{checkForDefaultPrevented:r=!0}={}){return function(i){if(e?.(i),r===!1||!i.defaultPrevented)return n?.(i)}}function aT(e,n){typeof e=="function"?e(n):e!=null&&(e.current=n)}function V1(...e){return n=>e.forEach(r=>aT(r,n))}function Mi(...e){return f.useCallback(V1(...e),e)}function iT(e,n){const r=f.createContext(n);function a(l){const{children:u,...d}=l,p=f.useMemo(()=>d,Object.values(d));return f.createElement(r.Provider,{value:p},u)}function i(l){const u=f.useContext(r);if(u)return u;if(n!==void 0)return n;throw new Error(`\`${l}\` must be used within \`${e}\``)}return a.displayName=e+"Provider",[a,i]}function sT(e,n=[]){let r=[];function a(l,u){const d=f.createContext(u),p=r.length;r=[...r,u];function m(g){const{scope:w,children:b,...S}=g,x=w?.[e][p]||d,C=f.useMemo(()=>S,Object.values(S));return f.createElement(x.Provider,{value:C},b)}function v(g,w){const b=w?.[e][p]||d,S=f.useContext(b);if(S)return S;if(u!==void 0)return u;throw new Error(`\`${g}\` must be used within \`${l}\``)}return m.displayName=l+"Provider",[m,v]}const i=()=>{const l=r.map(u=>f.createContext(u));return function(d){const p=d?.[e]||l;return f.useMemo(()=>({[`__scope${e}`]:{...d,[e]:p}}),[d,p])}};return i.scopeName=e,[a,lT(i,...n)]}function lT(...e){const n=e[0];if(e.length===1)return n;const r=()=>{const a=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(l){const u=a.reduce((d,{useScope:p,scopeName:m})=>{const g=p(l)[`__scope${m}`];return{...d,...g}},{});return f.useMemo(()=>({[`__scope${n.scopeName}`]:u}),[u])}};return r.scopeName=n.scopeName,r}const Vd=globalThis?.document?f.useLayoutEffect:()=>{},uT=Wy.useId||(()=>{});let cT=0;function rd(e){const[n,r]=f.useState(uT());return Vd(()=>{r(a=>a??String(cT++))},[e]),e||(n?`radix-${n}`:"")}function no(e){const n=f.useRef(e);return f.useEffect(()=>{n.current=e}),f.useMemo(()=>(...r)=>{var a;return(a=n.current)===null||a===void 0?void 0:a.call(n,...r)},[])}function dT({prop:e,defaultProp:n,onChange:r=()=>{}}){const[a,i]=fT({defaultProp:n,onChange:r}),l=e!==void 0,u=l?e:a,d=no(r),p=f.useCallback(m=>{if(l){const g=typeof m=="function"?m(e):m;g!==e&&d(g)}else i(m)},[l,e,i,d]);return[u,p]}function fT({defaultProp:e,onChange:n}){const r=f.useState(e),[a]=r,i=f.useRef(a),l=no(n);return f.useEffect(()=>{i.current!==a&&(l(a),i.current=a)},[a,i,l]),r}const sp=f.forwardRef((e,n)=>{const{children:r,...a}=e,i=f.Children.toArray(r),l=i.find(hT);if(l){const u=l.props.children,d=i.map(p=>p===l?f.Children.count(u)>1?f.Children.only(null):f.isValidElement(u)?u.props.children:null:p);return f.createElement(Kd,xt({},a,{ref:n}),f.isValidElement(u)?f.cloneElement(u,void 0,d):null)}return f.createElement(Kd,xt({},a,{ref:n}),r)});sp.displayName="Slot";const Kd=f.forwardRef((e,n)=>{const{children:r,...a}=e;return f.isValidElement(r)?f.cloneElement(r,{...mT(a,r.props),ref:n?V1(n,r.ref):r.ref}):f.Children.count(r)>1?f.Children.only(null):null});Kd.displayName="SlotClone";const pT=({children:e})=>f.createElement(f.Fragment,null,e);function hT(e){return f.isValidElement(e)&&e.type===pT}function mT(e,n){const r={...n};for(const a in n){const i=e[a],l=n[a];/^on[A-Z]/.test(a)?i&&l?r[a]=(...d)=>{l(...d),i(...d)}:i&&(r[a]=i):a==="style"?r[a]={...i,...l}
vendor: 5,410 bytes, line 56
56:a==="className"&&(r[a]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}const vT=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],rn=vT.reduce((e,n)=>{const r=f.forwardRef((a,i)=>{const{asChild:l,...u}=a,d=l?sp:n;return f.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),f.createElement(d,xt({},u,{ref:i}))});return r.displayName=`Primitive.${n}`,{...e,[n]:r}},{});function yT(e,n){e&&lo.flushSync(()=>e.dispatchEvent(n))}function gT(e,n=globalThis?.document){const r=no(e);f.useEffect(()=>{const a=i=>{i.key==="Escape"&&r(i)};return n.addEventListener("keydown",a),()=>n.removeEventListener("keydown",a)},[r,n])}const Gd="dismissableLayer.update",wT="dismissableLayer.pointerDownOutside",xT="dismissableLayer.focusOutside";let vy;const bT=f.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),CT=f.forwardRef((e,n)=>{var r;const{disableOutsidePointerEvents:a=!1,onEscapeKeyDown:i,onPointerDownOutside:l,onFocusOutside:u,onInteractOutside:d,onDismiss:p,...m}=e,v=f.useContext(bT),[g,w]=f.useState(null),b=(r=g?.ownerDocument)!==null&&r!==void 0?r:globalThis?.document,[,S]=f.useState({}),x=Mi(n,Y=>w(Y)),C=Array.from(v.layers),[M]=[...v.layersWithOutsidePointerEventsDisabled].slice(-1),R=C.indexOf(M),O=g?C.indexOf(g):-1,L=v.layersWithOutsidePointerEventsDisabled.size>0,$=O>=R,Q=kT(Y=>{const ie=Y.target,le=[...v.branches].some(he=>he.contains(ie));!$||le||(l?.(Y),d?.(Y),Y.defaultPrevented||p?.())},b),U=ST(Y=>{const ie=Y.target;[...v.branches].some(he=>he.contains(ie))||(u?.(Y),d?.(Y),Y.defaultPrevented||p?.())},b);return gT(Y=>{O===v.layers.size-1&&(i?.(Y),!Y.defaultPrevented&&p&&(Y.preventDefault(),p()))},b),f.useEffect(()=>{if(g)return a&&(v.layersWithOutsidePointerEventsDisabled.size===0&&(vy=b.body.style.pointerEvents,b.body.style.pointerEvents="none"),v.layersWithOutsidePointerEventsDisabled.add(g)),v.layers.add(g),yy(),()=>{a&&v.layersWithOutsidePointerEventsDisabled.size===1&&(b.body.style.pointerEvents=vy)}},[g,b,a,v]),f.useEffect(()=>()=>{g&&(v.layers.delete(g),v.layersWithOutsidePointerEventsDisabled.delete(g),yy())},[g,v]),f.useEffect(()=>{const Y=()=>S({});return document.addEventListener(Gd,Y),()=>document.removeEventListener(Gd,Y)},[]),f.createElement(rn.div,xt({},m,{ref:x,style:{pointerEvents:L?$?"auto":"none":void 0,...e.style},onFocusCapture:Go(e.onFocusCapture,U.onFocusCapture),onBlurCapture:Go(e.onBlurCapture,U.onBlurCapture),onPointerDownCapture:Go(e.onPointerDownCapture,Q.onPointerDownCapture)}))});function kT(e,n=globalThis?.document){const r=no(e),a=f.useRef(!1),i=f.useRef(()=>{});return f.useEffect(()=>{const l=d=>{if(d.target&&!a.current){let m=function(){K1(wT,r,p,{discrete:!0})};const p={originalEvent:d};d.pointerType==="touch"?(n.removeEventListener("click",i.current),i.current=m,n.addEventListener("click",i.current,{once:!0})):m()}else n.removeEventListener("click",i.current);a.current=!1},u=window.setTimeout(()=>{n.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(u),n.removeEventListener("pointerdown",l),n.removeEventListener("click",i.current)}},[n,r]),{onPointerDownCapture:()=>a.current=!0}}function ST(e,n=globalThis?.document){const r=no(e),a=f.useRef(!1);return f.useEffect(()=>{const i=l=>{l.target&&!a.current&&K1(xT,r,{originalEvent:l},{discrete:!1})};return n.addEventListener("focusin",i),()=>n.removeEventListener("focusin",i)},[n,r]),{onFocusCapture:()=>a.current=!0,onBlurCapture:()=>a.current=!1}}function yy(){const e=new CustomEvent(Gd);document.dispatchEvent(e)}function K1(e,n,r,{discrete:a}){const i=r.originalEvent.target,l=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});n&&i.addEventListener(e,n,{once:!0}),a?yT(i,l):i.dispatchEvent(l)}const od="focusScope.autoFocusOnMount",ad="focusScope.autoFocusOnUnmount",gy={bubbles:!1,cancelable:!0},ET=f.forwardRef((e,n)=>{const{loop:r=!1,trapped:a=!1,onMountAutoFocus:i,onUnmountAutoFocus:l,...u}=e,[d,p]=f.useState(null),m=no(i),v=no(l),g=f.useRef(null),w=Mi(n,x=>p(x)),b=f.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;f.useEffect(()=>{if(a){let x=function(O){if(b.paused||!d)return;const L=O.target;d.contains(L)?g.current=L:br(g.current,{select:!0})},C=function(O){if(b.paused||!d)return;const L=O.relatedTarget;L!==null&&(d.contains(L)||br(g.current,{select:!0}))},M=function(O){if(document.activeElement===document.body)for(const $ of O)$.removedNodes.length>0&&br(d)};document.addEventListener("focusin",x),document.addEventListener("focusout",C);const R=new MutationObserver(M);return d&&R.observe(d,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",x),document.removeEventListener("focusout",C),R.disconnect()}}},[a,d,b.paused]),f.useEffect(()=>{if(d){xy.add(b);const x=document.activeElement;if(!d.contains(x)){const M=new CustomEvent(od,gy);d.addEventListener(od,m),d.dispatchEvent(M),M.defaultPrevented||(PT(NT(G1(d)),{select:!0}),document.activeElement===x&&br(d))}return()=>{d.removeEventListener(od,m),setTimeout(()=>{const M=new CustomEvent(ad,gy);d.addEventListener(ad,v),d.dispatchEvent(M),M.defaultPrevented||br(x??document.body,{select:!0}),d.removeEventListener(ad,v),xy.remove(b)},0)}}},[d,m,v,b]);const S=f.useCallback(x=>{if(!r&&!a||b.paused)return;const C=x.key==="Tab"&&!x.altKey&&!x.ctrlKey&&!x.metaKey,M=document.activeElement;if(C&&M){const R=x.currentTarget,[O,L]=MT(R);
56O&&L?!x.shiftKey&&M===L?(x.preventDefault(),r&&br(O,{select:!0})):x.shiftKey&&M===O&&(x.preventDefault(),r&&br(L,{select:!0})):M===R&&x.preventDefault()}},[r,a,b.paused]);return f.createElement(rn.div,xt({tabIndex:-1},u,{ref:w,onKeyDown:S}))});function PT(e,{select:n=!1}={}){const r=document.activeElement;for(const a of e)if(br(a,{select:n}),document.activeElement!==r)return}function MT(e){const n=G1(e),r=wy(n,e),a=wy(n.reverse(),e);return[r,a]}function G1(e){const n=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:a=>{const i=a.tagName==="INPUT"&&a.type==="hidden";return a.disabled||a.hidden||i?NodeFilter.FILTER_SKIP:a.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)n.push(r.currentNode);return n}function wy(e,n){for(const r of e)if(!RT(r,{upTo:n}))return r}function RT(e,{upTo:n}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(n!==void 0&&e===n)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function TT(e){return e instanceof HTMLInputElement&&"select"in e}function br(e,{select:n=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&TT(e)&&n&&e.select()}}const xy=_T();function _T(){let e=[];return{add(n){const r=e[0];n!==r&&r?.pause(),e=by(e,n),e.unshift(n)},remove(n){var r;e=by(e,n),(r=e[0])===null||r===void 0||r.resume()}}}function by(e,n){const r=[...e],a=r.indexOf(n);return a!==-1&&r.splice(a,1),r}function NT(e){return e.filter(n=>n.tagName!=="A")}const OT=f.forwardRef((e,n)=>{var r;const{container:a=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...i}=e;return a?df.createPortal(f.createElement(rn.div,xt({},i,{ref:n})),a):null});function DT(e,n){return f.useReducer((r,a)=>{const i=n[r][a];return i??r},e)}const zl=e=>{const{present:n,children:r}=e,a=IT(n),i=typeof r=="function"?r({present:a.isPresent}):f.Children.only(r),l=Mi(a.ref,i.ref);return typeof r=="function"||a.isPresent?f.cloneElement(i,{ref:l}):null};zl.displayName="Presence";function IT(e){const[n,r]=f.useState(),a=f.useRef({}),i=f.useRef(e),l=f.useRef("none"),u=e?"mounted":"unmounted",[d,p]=DT(u,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return f.useEffect(()=>{const m=tl(a.current);l.current=d==="mounted"?m:"none"},[d]),Vd(()=>{const m=a.current,v=i.current;if(v!==e){const w=l.current,b=tl(m);e?p("MOUNT"):b==="none"||m?.display==="none"?p("UNMOUNT"):p(v&&w!==b?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,p]),Vd(()=>{if(n){const m=g=>{const b=tl(a.current).includes(g.animationName);g.target===n&&b&&lo.flushSync(()=>p("ANIMATION_END"))},v=g=>{g.target===n&&(l.current=tl(a.current))};return n.addEventListener("animationstart",v),n.addEventListener("animationcancel",m),n.addEventListener("animationend",m),()=>{n.removeEventListener("animationstart",v),n.removeEventListener("animationcancel",m),n.removeEventListener("animationend",m)}}else p("ANIMATION_END")},[n,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:f.useCallback(m=>{m&&(a.current=getComputedStyle(m)),r(m)},[])}}function tl(e){return e?.animationName||"none"}let id=0;function AT(){f.useEffect(()=>{var e,n;const r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:Cy()),document.body.insertAdjacentElement("beforeend",(n=r[1])!==null&&n!==void 0?n:Cy()),id++,()=>{id===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(a=>a.remove()),id--}},[])}function Cy(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}var q1=d0(),sd=function(){},Bl=f.forwardRef(function(e,n){var r=f.useRef(null),a=f.useState({onScrollCapture:sd,onWheelCapture:sd,onTouchMoveCapture:sd}),i=a[0],l=a[1],u=e.forwardProps,d=e.children,p=e.className,m=e.removeScrollBar,v=e.enabled,g=e.shards,w=e.sideCar,b=e.noIsolation,S=e.inert,x=e.allowPinchZoom,C=e.as,M=C===void 0?"div":C,R=zf(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),O=w,L=c0([r,n]),$=vt(vt({},R),i);return f.createElement(f.Fragment,null,v&&f.createElement(O,{sideCar:q1,removeScrollBar:m,shards:g,noIsolation:b,inert:S,setCallbacks:l,allowPinchZoom:!!x,lockRef:r}),u?f.cloneElement(f.Children.only(d),vt(vt({},$),{ref:L})):f.createElement(M,vt({},$,{className:p,ref:L}),d))});Bl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Bl.classNames={fullWidth:oi,zeroRight:ri};var qd=!1;if(typeof window<"u")try{var nl=Object.defineProperty({},"passive",{get:function(){return qd=!0,!0}});window.addEventListener("test",nl,nl),window.removeEventListener("test",nl,nl)}catch{qd=!1}var zo=qd?{passive:!1}:!1,LT=function(e){return e.tagName==="TEXTAREA"},Q1=function(e,n){var r=window.getComputedStyle(e);return r[n]!=="hidden"&&!(r.overflowY===r.overflowX&&!LT(e)&&r[n]==="visible")},$T=function(e){return Q1(e,"overflowY")},FT=function(e){return Q1(e,"overflowX")},ky=function(e,n){var r=n;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var a=Y1(e,r);if(a){var i=X1(e,r),l=i[1],u=i[2];if(l>u)return!0}r=r.parentNode}while(r&&r!==document.body);return!1}
vendor: 4,461 bytes, lines 56-59
56,jT=function(e){var n=e.scrollTop,r=e.scrollHeight,a=e.clientHeight;return[n,r,a]},zT=function(e){var n=e.scrollLeft,r=e.scrollWidth,a=e.clientWidth;return[n,r,a]},Y1=function(e,n){return e==="v"?$T(n):FT(n)},X1=function(e,n){return e==="v"?jT(n):zT(n)},BT=function(e,n){return e==="h"&&n==="rtl"?-1:1},UT=function(e,n,r,a,i){var l=BT(e,window.getComputedStyle(n).direction),u=l*a,d=r.target,p=n.contains(d),m=!1,v=u>0,g=0,w=0;do{var b=X1(e,d),S=b[0],x=b[1],C=b[2],M=x-C-l*S;(S||M)&&Y1(e,d)&&(g+=M,w+=S),d=d.parentNode}while(!p&&d!==document.body||p&&(n.contains(d)||n===d));return(v&&g===0||!v&&w===0)&&(m=!0),m},rl=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Sy=function(e){return[e.deltaX,e.deltaY]},Ey=function(e){return e&&"current"in e?e.current:e},HT=function(e,n){return e[0]===n[0]&&e[1]===n[1]},WT=function(e){return` 57 .block-interactivity-`.concat(e,` {pointer-events: none;} 58 .allow-interactivity-`).concat(e,` {pointer-events: all;} 59`)},VT=0,Bo=[];function KT(e){var n=f.useRef([]),r=f.useRef([0,0]),a=f.useRef(),i=f.useState(VT++)[0],l=f.useState(function(){return Uf()})[0],u=f.useRef(e);f.useEffect(function(){u.current=e},[e]),f.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(i));var x=s0([e.lockRef.current],(e.shards||[]).map(Ey),!0).filter(Boolean);return x.forEach(function(C){return C.classList.add("allow-interactivity-".concat(i))}),function(){document.body.classList.remove("block-interactivity-".concat(i)),x.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var d=f.useCallback(function(x,C){if("touches"in x&&x.touches.length===2)return!u.current.allowPinchZoom;var M=rl(x),R=r.current,O="deltaX"in x?x.deltaX:R[0]-M[0],L="deltaY"in x?x.deltaY:R[1]-M[1],$,Q=x.target,U=Math.abs(O)>Math.abs(L)?"h":"v";if("touches"in x&&U==="h"&&Q.type==="range")return!1;var Y=ky(U,Q);if(!Y)return!0;if(Y?$=U:($=U==="v"?"h":"v",Y=ky(U,Q)),!Y)return!1;if(!a.current&&"changedTouches"in x&&(O||L)&&(a.current=$),!$)return!0;var ie=a.current||$;return UT(ie,C,x,ie==="h"?O:L)},[]),p=f.useCallback(function(x){var C=x;if(!(!Bo.length||Bo[Bo.length-1]!==l)){var M="deltaY"in C?Sy(C):rl(C),R=n.current.filter(function($){return $.name===C.type&&$.target===C.target&&HT($.delta,M)})[0];if(R&&R.should){C.cancelable&&C.preventDefault();return}if(!R){var O=(u.current.shards||[]).map(Ey).filter(Boolean).filter(function($){return $.contains(C.target)}),L=O.length>0?d(C,O[0]):!u.current.noIsolation;L&&C.cancelable&&C.preventDefault()}}},[]),m=f.useCallback(function(x,C,M,R){var O={name:x,delta:C,target:M,should:R};n.current.push(O),setTimeout(function(){n.current=n.current.filter(function(L){return L!==O})},1)},[]),v=f.useCallback(function(x){r.current=rl(x),a.current=void 0},[]),g=f.useCallback(function(x){m(x.type,Sy(x),x.target,d(x,e.lockRef.current))},[]),w=f.useCallback(function(x){m(x.type,rl(x),x.target,d(x,e.lockRef.current))},[]);f.useEffect(function(){return Bo.push(l),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:w}),document.addEventListener("wheel",p,zo),document.addEventListener("touchmove",p,zo),document.addEventListener("touchstart",v,zo),function(){Bo=Bo.filter(function(x){return x!==l}),document.removeEventListener("wheel",p,zo),document.removeEventListener("touchmove",p,zo),document.removeEventListener("touchstart",v,zo)}},[]);var b=e.removeScrollBar,S=e.inert;return f.createElement(f.Fragment,null,S?f.createElement(l,{styles:WT(i)}):null,b?f.createElement(m0,{gapMode:"margin"}):null)}const GT=p0(q1,KT);var Z1=f.forwardRef(function(e,n){return f.createElement(Bl,vt({},e,{ref:n,sideCar:GT}))});Z1.classNames=Bl.classNames;const J1="Dialog",[ew]=sT(J1),[qT,fo]=ew(J1),QT=e=>{const{__scopeDialog:n,children:r,open:a,defaultOpen:i,onOpenChange:l,modal:u=!0}=e,d=f.useRef(null),p=f.useRef(null),[m=!1,v]=dT({prop:a,defaultProp:i,onChange:l});return f.createElement(qT,{scope:n,triggerRef:d,contentRef:p,contentId:rd(),titleId:rd(),descriptionId:rd(),open:m,onOpenChange:v,onOpenToggle:f.useCallback(()=>v(g=>!g),[v]),modal:u},r)},tw="DialogPortal",[YT,nw]=ew(tw,{forceMount:void 0}),XT=e=>{const{__scopeDialog:n,forceMount:r,children:a,container:i}=e,l=fo(tw,n);return f.createElement(YT,{scope:n,forceMount:r},f.Children.map(a,u=>f.createElement(zl,{present:r||l.open},f.createElement(OT,{asChild:!0,container:i},u))))}
59,Qd="DialogOverlay",ZT=f.forwardRef((e,n)=>{const r=nw(Qd,e.__scopeDialog),{forceMount:a=r.forceMount,...i}=e,l=fo(Qd,e.__scopeDialog);return l.modal?f.createElement(zl,{present:a||l.open},f.createElement(JT,xt({},i,{ref:n}))):null}),JT=f.forwardRef((e,n)=>{const{__scopeDialog:r,...a}=e,i=fo(Qd,r);return f.createElement(Z1,{as:sp,allowPinchZoom:!0,shards:[i.contentRef]},f.createElement(rn.div,xt({"data-state":ow(i.open)},a,{ref:n,style:{pointerEvents:"auto",...a.style}})))}),Jo="DialogContent",e_=f.forwardRef((e,n)=>{const r=nw(Jo,e.__scopeDialog),{forceMount:a=r.forceMount,...i}=e,l=fo(Jo,e.__scopeDialog);return f.createElement(zl,{present:a||l.open},l.modal?f.createElement(t_,xt({},i,{ref:n})):f.createElement(n_,xt({},i,{ref:n})))}),t_=f.forwardRef((e,n)=>{const r=fo(Jo,e.__scopeDialog),a=f.useRef(null),i=Mi(n,r.contentRef,a);return f.useEffect(()=>{const l=a.current;if(l)return ki(l)},[]),f.createElement(rw,xt({},e,{ref:i,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Go(e.onCloseAutoFocus,l=>{var u;l.preventDefault(),(u=r.triggerRef.current)===null||u===void 0||u.focus()}),onPointerDownOutside:Go(e.onPointerDownOutside,l=>{const u=l.detail.originalEvent,d=u.button===0&&u.ctrlKey===!0;(u.button===2||d)&&l.preventDefault()}),onFocusOutside:Go(e.onFocusOutside,l=>l.preventDefault())}))}),n_=f.forwardRef((e,n)=>{const r=fo(Jo,e.__scopeDialog),a=f.useRef(!1),i=f.useRef(!1);return f.createElement(rw,xt({},e,{ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{var u;if((u=e.onCloseAutoFocus)===null||u===void 0||u.call(e,l),!l.defaultPrevented){var d;a.current||(d=r.triggerRef.current)===null||d===void 0||d.focus(),l.preventDefault()}a.current=!1,i.current=!1},onInteractOutside:l=>{var u,d;(u=e.onInteractOutside)===null||u===void 0||u.call(e,l),l.defaultPrevented||(a.current=!0,l.detail.originalEvent.type==="pointerdown"&&(i.current=!0));const p=l.target;!((d=r.triggerRef.current)===null||d===void 0)&&d.contains(p)&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&i.current&&l.preventDefault()}}))}),rw=f.forwardRef((e,n)=>{const{__scopeDialog:r,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:l,...u}=e,d=fo(Jo,r),p=f.useRef(null),m=Mi(n,p);return AT(),f.createElement(f.Fragment,null,f.createElement(ET,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:i,onUnmountAutoFocus:l},f.createElement(CT,xt({role:"dialog",id:d.contentId,"aria-describedby":d.descriptionId,"aria-labelledby":d.titleId,"data-state":ow(d.open)},u,{ref:m,onDismiss:()=>d.onOpenChange(!1)}))),!1)}),r_="DialogTitle";function ow(e){return e?"open":"closed"}const o_="DialogTitleWarning";iT(o_,{contentName:Jo,titleName:r_,docsSlug:"dialog"});const a_=QT,i_=XT,s_=ZT,l_=e_;var Za='[cmdk-group=""]',ld='[cmdk-group-items=""]',u_='[cmdk-group-heading=""]',lp='[cmdk-item=""]',Py=`${lp}:not([aria-disabled="true"])`,Yd="cmdk-item-select",Yr="data-value",c_=(e,n,r)=>oT(e,n,r),aw=f.createContext(void 0),Ri=()=>f.useContext(aw),iw=f.createContext(void 0),up=()=>f.useContext(iw),sw=f.createContext(void 0),lw=f.forwardRef((e,n)=>{let r=Uo(()=>{var T,j;return{search:"",value:(j=(T=e.value)!=null?T:e.defaultValue)!=null?j:"",filtered:{count:0,items:new Map,groups:new Set}}}),a=Uo(()=>new Set),i=Uo(()=>new Map),l=Uo(()=>new Map),u=Uo(()=>new Set),d=uw(e),{label:p,children:m,value:v,onValueChange:g,filter:w,shouldFilter:b,loop:S,disablePointerSelection:x=!1,vimBindings:C=!0,...M}=e,R=f.useId(),O=f.useId(),L=f.useId(),$=f.useRef(null),Q=b_();ro(()=>{if(v!==void 0){let T=v.trim();r.current.value=T,U.emit()}},[v]),ro(()=>{Q(6,me)},[]);let U=f.useMemo(()=>({subscribe:T=>(u.current.add(T),()=>u.current.delete(T)),snapshot:()=>r.current,setState:(T,j,G)=>{var V,q,z;if(!Object.is(r.current[T],j)){if(r.current[T]=j,T==="search")ae(),le(),Q(1,he);else if(T==="value"&&(G||Q(5,me),((V=d.current)==null?void 0:V.value)!==void 0)){let Z=j??"";(z=(q=d.current).onValueChange)==null||z.call(q,Z);return}U.emit()}},emit:()=>{u.current.forEach(T=>T())}}),[]),Y=f.useMemo(()=>({value:(T,j,G)=>{var V;j!==((V=l.current.get(T))==null?void 0:V.value)&&(l.current.set(T,{value:j,keywords:G}),r.current.filtered.items.set(T,ie(j,G)),Q(2,()=>{le(),U.emit()}))},item:(T,j)=>(a.current.add(T),j&&(i.current.has(j)?i.current.get(j).add(T):i.current.set(j,new Set([T]))),Q(3,()=>{ae(),le(),r.current.value||he(),U.emit()}),()=>{l.current.delete(T),a.current.delete(T),r.current.filtered.items.delete(T);let G=de();Q(4,()=>{ae(),G?.getAttribute("id")===T&&he(),U.emit()})}),group:T=>(i.current.has(T)||i.current.set(T,new Set),()=>{l.current.delete(T),i.current.delete(T)}),filter:()=>d.current.shouldFilter,label:p||e["aria-label"],disablePointerSelection:x,listId:R,inputId:L,labelId:O,listInnerRef:$}),[]);function ie(T,j){var G,V;let q=(V=(G=d.current)==null?void 0:G.filter)!=null?V:c_;return T?q(T,r.current.search,j):0}function le(){if(!r.current.search||d.current.shouldFilter===!1)return;let T=r.current.filtered.items,j=[];r.current.filtered.groups.forEach(V=>{let q=i.current.get(V),z=0;q.forEach(Z=>{let se=T.get(Z);z=Math.max(se,z)}),j.push([V,z])});let G=$.current;pe().sort((V,q)=>{var z,Z;let se=V.getAttribute("id"),ue=q.getAttribute("id");return((z=T.get(ue))!=null?z:0)-((Z=T.get(se))!=null?Z:0)}
vendor: 8,498 bytes, line 59
59).forEach(V=>{let q=V.closest(ld);q?q.appendChild(V.parentElement===q?V:V.closest(`${ld} > *`)):G.appendChild(V.parentElement===G?V:V.closest(`${ld} > *`))}),j.sort((V,q)=>q[1]-V[1]).forEach(V=>{let q=$.current.querySelector(`${Za}[${Yr}="${encodeURIComponent(V[0])}"]`);q?.parentElement.appendChild(q)})}function he(){let T=pe().find(G=>G.getAttribute("aria-disabled")!=="true"),j=T?.getAttribute(Yr);U.setState("value",j||void 0)}function ae(){var T,j,G,V;if(!r.current.search||d.current.shouldFilter===!1){r.current.filtered.count=a.current.size;return}r.current.filtered.groups=new Set;let q=0;for(let z of a.current){let Z=(j=(T=l.current.get(z))==null?void 0:T.value)!=null?j:"",se=(V=(G=l.current.get(z))==null?void 0:G.keywords)!=null?V:[],ue=ie(Z,se);r.current.filtered.items.set(z,ue),ue>0&&q++}for(let[z,Z]of i.current)for(let se of Z)if(r.current.filtered.items.get(se)>0){r.current.filtered.groups.add(z);break}r.current.filtered.count=q}function me(){var T,j,G;let V=de();V&&(((T=V.parentElement)==null?void 0:T.firstChild)===V&&((G=(j=V.closest(Za))==null?void 0:j.querySelector(u_))==null||G.scrollIntoView({block:"nearest"})),V.scrollIntoView({block:"nearest"}))}function de(){var T;return(T=$.current)==null?void 0:T.querySelector(`${lp}[aria-selected="true"]`)}function pe(){var T;return Array.from((T=$.current)==null?void 0:T.querySelectorAll(Py))}function re(T){let j=pe()[T];j&&U.setState("value",j.getAttribute(Yr))}function X(T){var j;let G=de(),V=pe(),q=V.findIndex(Z=>Z===G),z=V[q+T];(j=d.current)!=null&&j.loop&&(z=q+T<0?V[V.length-1]:q+T===V.length?V[0]:V[q+T]),z&&U.setState("value",z.getAttribute(Yr))}function D(T){let j=de(),G=j?.closest(Za),V;for(;G&&!V;)G=T>0?w_(G,Za):x_(G,Za),V=G?.querySelector(Py);V?U.setState("value",V.getAttribute(Yr)):X(T)}let W=()=>re(pe().length-1),N=T=>{T.preventDefault(),T.metaKey?W():T.altKey?D(1):X(1)},k=T=>{T.preventDefault(),T.metaKey?re(0):T.altKey?D(-1):X(-1)};return f.createElement(rn.div,{ref:n,tabIndex:-1,...M,"cmdk-root":"",onKeyDown:T=>{var j;if((j=M.onKeyDown)==null||j.call(M,T),!T.defaultPrevented)switch(T.key){case"n":case"j":{C&&T.ctrlKey&&N(T);break}case"ArrowDown":{N(T);break}case"p":case"k":{C&&T.ctrlKey&&k(T);break}case"ArrowUp":{k(T);break}case"Home":{T.preventDefault(),re(0);break}case"End":{T.preventDefault(),W();break}case"Enter":if(!T.nativeEvent.isComposing&&T.keyCode!==229){T.preventDefault();let G=de();if(G){let V=new Event(Yd);G.dispatchEvent(V)}}}}},f.createElement("label",{"cmdk-label":"",htmlFor:Y.inputId,id:Y.labelId,style:k_},p),Ul(e,T=>f.createElement(iw.Provider,{value:U},f.createElement(aw.Provider,{value:Y},T))))}),d_=f.forwardRef((e,n)=>{var r,a;let i=f.useId(),l=f.useRef(null),u=f.useContext(sw),d=Ri(),p=uw(e),m=(a=(r=p.current)==null?void 0:r.forceMount)!=null?a:u?.forceMount;ro(()=>{if(!m)return d.item(i,u?.id)},[m]);let v=cw(i,l,[e.value,e.children,l],e.keywords),g=up(),w=oo(Q=>Q.value&&Q.value===v.current),b=oo(Q=>m||d.filter()===!1?!0:Q.search?Q.filtered.items.get(i)>0:!0);f.useEffect(()=>{let Q=l.current;if(!(!Q||e.disabled))return Q.addEventListener(Yd,S),()=>Q.removeEventListener(Yd,S)},[b,e.onSelect,e.disabled]);function S(){var Q,U;x(),(U=(Q=p.current).onSelect)==null||U.call(Q,v.current)}function x(){g.setState("value",v.current,!0)}if(!b)return null;let{disabled:C,value:M,onSelect:R,forceMount:O,keywords:L,...$}=e;return f.createElement(rn.div,{ref:pi([l,n]),...$,id:i,"cmdk-item":"",role:"option","aria-disabled":!!C,"aria-selected":!!w,"data-disabled":!!C,"data-selected":!!w,onPointerMove:C||d.disablePointerSelection?void 0:x,onClick:C?void 0:S},e.children)}),f_=f.forwardRef((e,n)=>{let{heading:r,children:a,forceMount:i,...l}=e,u=f.useId(),d=f.useRef(null),p=f.useRef(null),m=f.useId(),v=Ri(),g=oo(b=>i||v.filter()===!1?!0:b.search?b.filtered.groups.has(u):!0);ro(()=>v.group(u),[]),cw(u,d,[e.value,e.heading,p]);let w=f.useMemo(()=>({id:u,forceMount:i}),[i]);return f.createElement(rn.div,{ref:pi([d,n]),...l,"cmdk-group":"",role:"presentation",hidden:g?void 0:!0},r&&f.createElement("div",{ref:p,"cmdk-group-heading":"","aria-hidden":!0,id:m},r),Ul(e,b=>f.createElement("div",{"cmdk-group-items":"",role:"group","aria-labelledby":r?m:void 0},f.createElement(sw.Provider,{value:w},b))))}),p_=f.forwardRef((e,n)=>{let{alwaysRender:r,...a}=e,i=f.useRef(null),l=oo(u=>!u.search);return!r&&!l?null:f.createElement(rn.div,{ref:pi([i,n]),...a,"cmdk-separator":"",role:"separator"})}),h_=f.forwardRef((e,n)=>{let{onValueChange:r,...a}=e,i=e.value!=null,l=up(),u=oo(v=>v.search),d=oo(v=>v.value),p=Ri(),m=f.useMemo(()=>{var v;let g=(v=p.listInnerRef.current)==null?void 0:v.querySelector(`${lp}[${Yr}="${encodeURIComponent(d)}"]`);return g?.getAttribute("id")},[]);return f.useEffect(()=>{e.value!=null&&l.setState("search",e.value)},[e.value]),f.createElement(rn.input,{ref:n,...a,"cmdk-input":"",autoComplete:"off",autoCorrect:"off",spellCheck:!1,"aria-autocomplete":"list",role:"combobox","aria-expanded":!0,"aria-controls":p.listId,"aria-labelledby":p.labelId,"aria-activedescendant":m,id:p.inputId,type:"text",value:i?e.value:u,onChange:v=>{i||l.setState("search",v.target.value),r?.(v.target.value)}})}),m_=f.forwardRef((e,n)=>{let{children:r,label:a="Suggestions",...i}=e,l=f.useRef(null),u=f.useRef(null),d=Ri();return f.useEffect(()=>{if(u.current&&l.current){let p=u.current,m=l.current,v,g=new ResizeObserver(()=>{v=requestAnimationFrame(()=>{let w=p.offsetHeight;m.style.setProperty("--cmdk-list-height",w.toFixed(1)+"px")})});return g.observe(p),()=>{cancelAnimationFrame(v),g.unobserve(p)}}},[]),f.createElement(rn.div,{ref:pi([l,n]),...i,"cmdk-list":"",role:"listbox","aria-label":a,id:d.listId},Ul(e,p=>f.createElement("div",{ref:pi([u,d.listInnerRef]),"cmdk-list-sizer":""},p)))}),v_=f.forwardRef((e,n)=>{let{open:r,onOpenChange:a,overlayClassName:i,contentClassName:l,container:u,...d}=e;return f.createElement(a_,{open:r,onOpenChange:a},f.createElement(i_,{container:u},f.createElement(s_,{"cmdk-overlay":"",className:i}),f.createElement(l_,{"aria-label":e.label,"cmdk-dialog":"",className:l},f.createElement(lw,{ref:n,...d}))))}),y_=f.forwardRef((e,n)=>oo(r=>r.filtered.count===0)?f.createElement(rn.div,{ref:n,...e,"cmdk-empty":"",role:"presentation"}):null),g_=f.forwardRef((e,n)=>{let{progress:r,children:a,label:i="Loading...",...l}=e;return f.createElement(rn.div,{ref:n,...l,"cmdk-loading":"",role:"progressbar","aria-valuenow":r,"aria-valuemin":0,"aria-valuemax":100,"aria-label":i},Ul(e,u=>f.createElement("div",{"aria-hidden":!0},u)))}),kI=Object.assign(lw,{List:m_,Item:d_,Input:h_,Group:f_,Separator:p_,Dialog:v_,Empty:y_,Loading:g_});function w_(e,n){let r=e.nextElementSibling;for(;r;){if(r.matches(n))return r;r=r.nextElementSibling}}function x_(e,n){let r=e.previousElementSibling;for(;r;){if(r.matches(n))return r;r=r.previousElementSibling}}function uw(e){let n=f.useRef(e);return ro(()=>{n.current=e}),n}var ro=typeof window>"u"?f.useEffect:f.useLayoutEffect;function Uo(e){let n=f.useRef();return n.current===void 0&&(n.current=e()),n}function pi(e){return n=>{e.forEach(r=>{typeof r=="function"?r(n):r!=null&&(r.current=n)})}}function oo(e){let n=up(),r=()=>e(n.snapshot());return f.useSyncExternalStore(n.subscribe,r,r)}function cw(e,n,r,a=[]){let i=f.useRef(),l=Ri();return ro(()=>{var u;let d=(()=>{var m;for(let v of r){if(typeof v=="string")return v.trim();if(typeof v=="object"&&"current"in v)return v.current?(m=v.current.textContent)==null?void 0:m.trim():i.current}})(),p=a.map(m=>m.trim());l.value(e,d,p),(u=n.current)==null||u.setAttribute(Yr,d),i.current=d}),i}var b_=()=>{let[e,n]=f.useState(),r=Uo(()=>new Map);return ro(()=>{r.current.forEach(a=>a()),r.current=new Map},[e]),(a,i)=>{r.current.set(a,i),n({})}};function C_(e){let n=e.type;return typeof n=="function"?n(e.props):"render"in n?n.render(e.props):e}function Ul({asChild:e,children:n},r){return e&&f.isValidElement(n)?f.cloneElement(C_(n),{ref:n.ref},r(n.props.children)):r(n)}var k_={position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},cp="Collapsible",[S_]=On(cp),[E_,dp]=S_(cp),dw=f.forwardRef((e,n)=>{const{__scopeCollapsible:r,open:a,defaultOpen:i,disabled:l,onOpenChange:u,...d}=e,[p=!1,m]=Nn({prop:a,defaultProp:i,onChange:u});return P.jsx(E_,{scope:r,disabled:l,contentId:Zt(),open:p,onOpenToggle:f.useCallback(()=>m(v=>!v),[m]),children:P.jsx(Re.div,{"data-state":pp(p),"data-disabled":l?"":void 0,...d,ref:n})})});dw.displayName=cp;
59var fw="CollapsibleTrigger",P_=f.forwardRef((e,n)=>{const{__scopeCollapsible:r,...a}=e,i=dp(fw,r);return P.jsx(Re.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":pp(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...a,ref:n,onClick:ce(e.onClick,i.onOpenToggle)})});P_.displayName=fw;var fp="CollapsibleContent",M_=f.forwardRef((e,n)=>{const{forceMount:r,...a}=e,i=dp(fp,e.__scopeCollapsible);return P.jsx(zt,{present:r||i.open,children:({present:l})=>P.jsx(R_,{...a,ref:n,present:l})})});M_.displayName=fp;var R_=f.forwardRef((e,n)=>{const{__scopeCollapsible:r,present:a,children:i,...l}=e,u=dp(fp,r),[d,p]=f.useState(a),m=f.useRef(null),v=Oe(n,m),g=f.useRef(0),w=g.current,b=f.useRef(0),S=b.current,x=u.open||d,C=f.useRef(x),M=f.useRef();return f.useEffect(()=>{const R=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(R)},[]),yt(()=>{const R=m.current;if(R){M.current=M.current||{transitionDuration:R.style.transitionDuration,animationName:R.style.animationName},R.style.transitionDuration="0s",R.style.animationName="none";const O=R.getBoundingClientRect();g.current=O.height,b.current=O.width,C.current||(R.style.transitionDuration=M.current.transitionDuration,R.style.animationName=M.current.animationName),p(a)}},[u.open,a]),P.jsx(Re.div,{"data-state":pp(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!x,...l,ref:v,style:{"--radix-collapsible-content-height":w?`${w}px`:void 0,"--radix-collapsible-content-width":S?`${S}px`:void 0,...e.style},children:x&&i})});function pp(e){return e?"open":"closed"}var SI=dw,Ee=function(){return Ee=Object.assign||function(n){for(var r,a=1,i=arguments.length;a<i;a++){r=arguments[a];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(n[l]=r[l])}return n},Ee.apply(this,arguments)};function T_(e,n){var r={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&n.indexOf(a)<0&&(r[a]=e[a]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,a=Object.getOwnPropertySymbols(e);i<a.length;i++)n.indexOf(a[i])<0&&Object.prototype.propertyIsEnumerable.call(e,a[i])&&(r[a[i]]=e[a[i]]);return r}function pw(e,n,r){for(var a=0,i=n.length,l;a<i;a++)(l||!(a in n))&&(l||(l=Array.prototype.slice.call(n,0,a)),l[a]=n[a]);return e.concat(l||Array.prototype.slice.call(n))}function Ti(e){return e.mode==="multiple"}function _i(e){return e.mode==="range"}function Hl(e){return e.mode==="single"}var __={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function N_(e,n){return so(e,"LLLL y",n)}function O_(e,n){return so(e,"d",n)}function D_(e,n){return so(e,"LLLL",n)}function I_(e){return"".concat(e)}function A_(e,n){return so(e,"cccccc",n)}function L_(e,n){return so(e,"yyyy",n)}var $_=Object.freeze({__proto__:null,formatCaption:N_,formatDay:O_,formatMonthCaption:D_,formatWeekNumber:I_,formatWeekdayName:A_,formatYearCaption:L_}),F_=function(e,n,r){return so(e,"do MMMM (EEEE)",r)},j_=function(){return"Month: "},z_=function(){return"Go to next month"},B_=function(){return"Go to previous month"},U_=function(e,n){return so(e,"cccc",n)},H_=function(e){return"Week n. ".concat(e)},W_=function(){return"Year: "},V_=Object.freeze({__proto__:null,labelDay:F_,labelMonthDropdown:j_,labelNext:z_,labelPrevious:B_,labelWeekNumber:H_,labelWeekday:U_,labelYearDropdown:W_});function K_(){var e="buttons",n=__,r=pb,a={},i={},l=1,u={},d=new Date;return{captionLayout:e,classNames:n,formatters:$_,labels:V_,locale:r,modifiersClassNames:a,modifiers:i,numberOfMonths:l,styles:u,today:d,mode:"default"}}function G_(e){var n=e.fromYear,r=e.toYear,a=e.fromMonth,i=e.toMonth,l=e.fromDate,u=e.toDate;return a?l=$t(a):n&&(l=new Date(n,0,1)),i?u=af(i):r&&(u=new Date(r,11,31)),{fromDate:l?iv(l):void 0,toDate:u?iv(u):void 0}}var hw=f.createContext(void 0);function q_(e){var n,r=e.initialProps,a=K_(),i=G_(r),l=i.fromDate,u=i.toDate,d=(n=r.captionLayout)!==null&&n!==void 0?n:a.captionLayout;d!=="buttons"&&(!l||!u)&&(d="buttons");var p;(Hl(r)||Ti(r)||_i(r))&&(p=r.onSelect);var m=Ee(Ee(Ee({},a),r),{captionLayout:d,classNames:Ee(Ee({},a.classNames),r.classNames),components:Ee({},r.components),formatters:Ee(Ee({},a.formatters),r.formatters),fromDate:l,labels:Ee(Ee({},a.labels),r.labels),mode:r.mode||a.mode,modifiers:Ee(Ee({},a.modifiers),r.modifiers),modifiersClassNames:Ee(Ee({},a.modifiersClassNames),r.modifiersClassNames),onSelect:p,styles:Ee(Ee({},a.styles),r.styles),toDate:u});return P.jsx(hw.Provider,{value:m,children:e.children})}function je(){var e=f.useContext(hw);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function mw(e){var n=je(),r=n.locale,a=n.classNames,i=n.styles,l=n.formatters.formatCaption;return P.jsx("div",{className:a.caption_label,style:i.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:l(e.displayMonth,{locale:r})})}function Q_(e){return P.jsx("svg",Ee({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:P.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.7
5978175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function vw(e){var n,r,a=e.onChange,i=e.value,l=e.children,u=e.caption,d=e.className,p=e.style,m=je(),v=(r=(n=m.components)===null||n===void 0?void 0:n.IconDropdown)!==null&&r!==void 0?r:Q_;return P.jsxs("div",{className:d,style:p,children:[P.jsx("span",{className:m.classNames.vhidden,children:e["aria-label"]}),P.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:m.classNames.dropdown,style:m.styles.dropdown,value:i,onChange:a,children:l}),P.jsxs("div",{className:m.classNames.caption_label,style:m.styles.caption_label,"aria-hidden":"true",children:[u,P.jsx(v,{className:m.classNames.dropdown_icon,style:m.styles.dropdown_icon})]})]})}function Y_(e){var n,r=je(),a=r.fromDate,i=r.toDate,l=r.styles,u=r.locale,d=r.formatters.formatMonthCaption,p=r.classNames,m=r.components,v=r.labels.labelMonthDropdown;if(!a)return P.jsx(P.Fragment,{});if(!i)return P.jsx(P.Fragment,{});var g=[];if(wb(a,i))for(var w=$t(a),b=a.getMonth();b<=i.getMonth();b++)g.push(Oc(w,b));else for(var w=$t(new Date),b=0;b<=11;b++)g.push(Oc(w,b));var S=function(C){var M=Number(C.target.value),R=Oc($t(e.displayMonth),M);e.onChange(R)},x=(n=m?.Dropdown)!==null&&n!==void 0?n:vw;return P.jsx(x,{name:"months","aria-label":v(),className:p.dropdown_month,style:l.dropdown_month,onChange:S,value:e.displayMonth.getMonth(),caption:d(e.displayMonth,{locale:u}),children:g.map(function(C){return P.jsx("option",{value:C.getMonth(),children:d(C,{locale:u})},C.getMonth())})})}function X_(e){var n,r=e.displayMonth,a=je(),i=a.fromDate,l=a.toDate,u=a.locale,d=a.styles,p=a.classNames,m=a.components,v=a.formatters.formatYearCaption,g=a.labels.labelYearDropdown,w=[];if(!i)return P.jsx(P.Fragment,{});if(!l)return P.jsx(P.Fragment,{});for(var b=i.getFullYear(),S=l.getFullYear(),x=b;x<=S;x++)w.push(sv(xb(new Date),x));var C=function(R){var O=sv($t(r),Number(R.target.value));e.onChange(O)},M=(n=m?.Dropdown)!==null&&n!==void 0?n:vw;return P.jsx(M,{name:"years","aria-label":g(),className:p.dropdown_year,style:d.dropdown_year,onChange:C,value:r.getFullYear(),caption:v(r,{locale:u}),children:w.map(function(R){return P.jsx("option",{value:R.getFullYear(),children:v(R,{locale:u})},R.getFullYear())})})}function Z_(e,n){var r=f.useState(e),a=r[0],i=r[1],l=n===void 0?a:n;return[l,i]}function J_(e){var n=e.month,r=e.defaultMonth,a=e.today,i=n||r||a||new Date,l=e.toDate,u=e.fromDate,d=e.numberOfMonths,p=d===void 0?1:d;if(l&&ai(l,i)<0){var m=-1*(p-1);i=Tn(l,m)}return u&&ai(i,u)<0&&(i=u),$t(i)}function e5(){var e=je(),n=J_(e),r=Z_(n,e.month),a=r[0],i=r[1],l=function(u){var d;if(!e.disableNavigation){var p=$t(u);i(p),(d=e.onMonthChange)===null||d===void 0||d.call(e,p)}};return[a,l]}function t5(e,n){for(var r=n.reverseMonths,a=n.numberOfMonths,i=$t(e),l=$t(Tn(i,a)),u=ai(l,i),d=[],p=0;p<u;p++){var m=Tn(i,p);d.push(m)}return r&&(d=d.reverse()),d}function n5(e,n){if(!n.disableNavigation){var r=n.toDate,a=n.pagedNavigation,i=n.numberOfMonths,l=i===void 0?1:i,u=a?l:1,d=$t(e);if(!r)return Tn(d,u);var p=ai(r,e);if(!(p<l))return Tn(d,u)}}function r5(e,n){if(!n.disableNavigation){var r=n.fromDate,a=n.pagedNavigation,i=n.numberOfMonths,l=i===void 0?1:i,u=a?l:1,d=$t(e);if(!r)return Tn(d,-u);var p=ai(d,r);if(!(p<=0))return Tn(d,-u)}}var yw=f.createContext(void 0);function o5(e){var n=je(),r=e5(),a=r[0],i=r[1],l=t5(a,n),u=n5(a,n),d=r5(a,n),p=function(g){return l.some(function(w){return sf(g,w)})},m=function(g,w){p(g)||(w&&Fy(g,w)?i(Tn(g,1+n.numberOfMonths*-1)):i(g))},v={currentMonth:a,displayMonths:l,goToMonth:i,goToDate:m,previousMonth:d,nextMonth:u,isDateDisplayed:p};return P.jsx(yw.Provider,{value:v,children:e.children})}function Ni(){var e=f.useContext(yw);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function My(e){var n,r=je(),a=r.classNames,i=r.styles,l=r.components,u=Ni().goToMonth,d=function(v){u(Tn(v,e.displayIndex?-e.dis
vendor: 5,596 bytes, line 59
59playIndex:0))},p=(n=l?.CaptionLabel)!==null&&n!==void 0?n:mw,m=P.jsx(p,{id:e.id,displayMonth:e.displayMonth});return P.jsxs("div",{className:a.caption_dropdowns,style:i.caption_dropdowns,children:[P.jsx("div",{className:a.vhidden,children:m}),P.jsx(Y_,{onChange:d,displayMonth:e.displayMonth}),P.jsx(X_,{onChange:d,displayMonth:e.displayMonth})]})}function a5(e){return P.jsx("svg",Ee({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:P.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function i5(e){return P.jsx("svg",Ee({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:P.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var gl=f.forwardRef(function(e,n){var r=je(),a=r.classNames,i=r.styles,l=[a.button_reset,a.button];e.className&&l.push(e.className);var u=l.join(" "),d=Ee(Ee({},i.button_reset),i.button);return e.style&&Object.assign(d,e.style),P.jsx("button",Ee({},e,{ref:n,type:"button",className:u,style:d}))});function s5(e){var n,r,a=je(),i=a.dir,l=a.locale,u=a.classNames,d=a.styles,p=a.labels,m=p.labelPrevious,v=p.labelNext,g=a.components;if(!e.nextMonth&&!e.previousMonth)return P.jsx(P.Fragment,{});var w=m(e.previousMonth,{locale:l}),b=[u.nav_button,u.nav_button_previous].join(" "),S=v(e.nextMonth,{locale:l}),x=[u.nav_button,u.nav_button_next].join(" "),C=(n=g?.IconRight)!==null&&n!==void 0?n:i5,M=(r=g?.IconLeft)!==null&&r!==void 0?r:a5;return P.jsxs("div",{className:u.nav,style:d.nav,children:[!e.hidePrevious&&P.jsx(gl,{name:"previous-month","aria-label":w,className:b,style:d.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:i==="rtl"?P.jsx(C,{className:u.nav_icon,style:d.nav_icon}):P.jsx(M,{className:u.nav_icon,style:d.nav_icon})}),!e.hideNext&&P.jsx(gl,{name:"next-month","aria-label":S,className:x,style:d.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:i==="rtl"?P.jsx(M,{className:u.nav_icon,style:d.nav_icon}):P.jsx(C,{className:u.nav_icon,style:d.nav_icon})})]})}function Ry(e){var n=je().numberOfMonths,r=Ni(),a=r.previousMonth,i=r.nextMonth,l=r.goToMonth,u=r.displayMonths,d=u.findIndex(function(S){return sf(e.displayMonth,S)}),p=d===0,m=d===u.length-1,v=n>1&&(p||!m),g=n>1&&(m||!p),w=function(){a&&l(a)},b=function(){i&&l(i)};return P.jsx(s5,{displayMonth:e.displayMonth,hideNext:v,hidePrevious:g,nextMonth:i,previousMonth:a,onPreviousClick:w,onNextClick:b})}function l5(e){var n,r=je(),a=r.classNames,i=r.disableNavigation,l=r.styles,u=r.captionLayout,d=r.components,p=(n=d?.CaptionLabel)!==null&&n!==void 0?n:mw,m;return i?m=P.jsx(p,{id:e.id,displayMonth:e.displayMonth}):u==="dropdown"?m=P.jsx(My,{displayMonth:e.displayMonth,id:e.id}):u==="dropdown-buttons"?m=P.jsxs(P.Fragment,{children:[P.jsx(My,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),P.jsx(Ry,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):m=P.jsxs(P.Fragment,{children:[P.jsx(p,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),P.jsx(Ry,{displayMonth:e.displayMonth,id:e.id})]}),P.jsx("div",{className:a.caption,style:l.caption,children:m})}function u5(e){var n=je(),r=n.footer,a=n.styles,i=n.classNames.tfoot;return r?P.jsx("tfoot",{className:i,style:a.tfoot,children:P.jsx("tr",{children:P.jsx("td",{colSpan:8,children:r})})}):P.jsx(P.Fragment,{})}function c5(e,n,r){for(var a=r?lf(new Date):uf(new Date,{locale:e,weekStartsOn:n}),i=[],l=0;l<7;l++){var u=At(a,l);i.push(u)}return i}function d5(){var e=je(),n=e.classNames,r=e.styles,a=e.showWeekNumber,i=e.locale,l=e.weekStartsOn,u=e.ISOWeek,d=e.formatters.formatWeekdayName,p=e.labels.labelWeekday,m=c5(i,l,u);return P.jsxs("tr",{style:r.head_row,className:n.head_row,children:[a&&P.jsx("td",{style:r.head_cell,className:n.head_cell}),m.map(function(v,g){return P.jsx("th",{scope:"col",className:n.head_cell,style:r.head_cell,"aria-label":p(v,{locale:i}),children:d(v,{locale:i})},g)})]})}function f5(){var e,n=je(),r=n.classNames,a=n.styles,i=n.components,l=(e=i?.HeadRow)!==null&&e!==void 0?e:d5;return P.jsx("thead",{style:a.head,className:r.head,children:P.jsx(l,{})})}function p5(e){var n=je(),r=n.locale,a=n.formatters.formatDay;return P.jsx(P.Fragment,{children:a(e.date,{locale:r})})}var hp=f.createContext(void 0);function h5(e){if(!Ti(e.initialProps)){var n={selected:void 0,modifiers:{disabled:[]}};return P.jsx(hp.Provider,{value:n,children:e.children})}return P.jsx(m5,{initialProps:e.initialProps,children:e.children})}function m5(e){var n=e.initialProps,r=e.children,a=n.selected,i=n.min,l=n.max,u=function(m,v,g){var w,b;
59(w=n.onDayClick)===null||w===void 0||w.call(n,m,v,g);var S=!!(v.selected&&i&&a?.length===i);if(!S){var x=!!(!v.selected&&l&&a?.length===l);if(!x){var C=a?pw([],a):[];if(v.selected){var M=C.findIndex(function(R){return Tt(m,R)});C.splice(M,1)}else C.push(m);(b=n.onSelect)===null||b===void 0||b.call(n,C,m,v,g)}}},d={disabled:[]};a&&d.disabled.push(function(m){var v=l&&a.length>l-1,g=a.some(function(w){return Tt(w,m)});return!!(v&&!g)});var p={selected:a,onDayClick:u,modifiers:d};return P.jsx(hp.Provider,{value:p,children:r})}function mp(){var e=f.useContext(hp);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function v5(e,n){var r=n||{},a=r.from,i=r.to;return a&&i?Tt(i,e)&&Tt(a,e)?void 0:Tt(i,e)?{from:i,to:void 0}:Tt(a,e)?void 0:gd(a,e)?{from:e,to:i}:{from:a,to:e}:i?gd(e,i)?{from:i,to:e}:{from:e,to:i}:a?Fy(e,a)?{from:e,to:a}:{from:a,to:e}:{from:e,to:void 0}}var vp=f.createContext(void 0);function y5(e){if(!_i(e.initialProps)){var n={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return P.jsx(vp.Provider,{value:n,children:e.children})}return P.jsx(g5,{initialProps:e.initialProps,children:e.children})}function g5(e){var n=e.initialProps,r=e.children,a=n.selected,i=a||{},l=i.from,u=i.to,d=n.min,p=n.max,m=function(b,S,x){var C,M;(C=n.onDayClick)===null||C===void 0||C.call(n,b,S,x);var R=v5(b,a);(M=n.onSelect)===null||M===void 0||M.call(n,R,b,S,x)},v={range_start:[],range_end:[],range_middle:[],disabled:[]};if(l?(v.range_start=[l],u?(v.range_end=[u],Tt(l,u)||(v.range_middle=[{after:l,before:u}])):v.range_end=[l]):u&&(v.range_start=[u],v.range_end=[u]),d&&(l&&!u&&v.disabled.push({after:Nc(l,d-1),before:At(l,d-1)}),l&&u&&v.disabled.push({after:l,before:At(l,d-1)}),!l&&u&&v.disabled.push({after:Nc(u,d-1),before:At(u,d-1)})),p){if(l&&!u&&(v.disabled.push({before:At(l,-p+1)}),v.disabled.push({after:At(l,p-1)})),l&&u){var g=qn(u,l)+1,w=p-g;v.disabled.push({before:Nc(l,w)}),v.disabled.push({after:At(u,w)})}!l&&u&&(v.disabled.push({before:At(u,-p+1)}),v.disabled.push({after:At(u,p-1)}))}return P.jsx(vp.Provider,{value:{selected:a,onDayClick:m,modifiers:v},children:r})}function yp(){var e=f.useContext(vp);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function ll(e){return Array.isArray(e)?pw([],e):e!==void 0?[e]:[]}function w5(e){var n={};return Object.entries(e).forEach(function(r){var a=r[0],i=r[1];n[a]=ll(i)}),n}var xn;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(xn||(xn={}));var x5=xn.Selected,Gn=xn.Disabled,b5=xn.Hidden,C5=xn.Today,ud=xn.RangeEnd,cd=xn.RangeMiddle,dd=xn.RangeStart,k5=xn.Outside;function S5(e,n,r){var a,i=(a={},a[x5]=ll(e.selected),a[Gn]=ll(e.disabled),a[b5]=ll(e.hidden),a[C5]=[e.today],a[ud]=[],a[cd]=[],a[dd]=[],a[k5]=[],a);return e.fromDate&&i[Gn].push({before:e.fromDate}),e.toDate&&i[Gn].push({after:e.toDate}),Ti(e)?i[Gn]=i[Gn].concat(n.modifiers[Gn]):_i(e)&&(i[Gn]=i[Gn].concat(r.modifiers[Gn]),i[dd]=r.modifiers[dd],i[cd]=r.modifiers[cd],i[ud]=r.modifiers[ud]),i}var gw=f.createContext(void 0);function E5(e){var n=je(),r=mp(),a=yp(),i=S5(n,r,a),l=w5(n.modifiers),u=Ee(Ee({},i),l);return P.jsx(gw.Provider,{value:u,children:e.children})}function ww(){var e=f.useContext(gw);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function P5(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function M5(e){return!!(e&&typeof e=="object"&&"from"in e)}function R5(e){return!!(e&&typeof e=="object"&&"after"in e)}function T5(e){return!!(e&&typeof e=="object"&&"before"in e)}function _5(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function N5(e,n){var r,a=n.from,i=n.to;if(a&&i){var l=qn(i,a)<0;l&&(r=[i,a],a=r[0],i=r[1]);var u=qn(e,a)>=0&&qn(i,e)>=0;return u}return i?Tt(i,e):a?Tt(a,e):!1}function O5(e){return By(e)}function D5(e){return Array.isArray(e)&&e.every(By)}function I5(e,n){return n.some(function(r){if(typeof r=="boolean")return r;if(O5(r))return Tt(e,r);if(D5(r))return r.includes(e);if(M5(r))return N5(e,r);if(_5(r))return r.dayOfWeek.includes(e.getDay());if(P5(r)){var a=qn(r.before,e),i=qn(r.after,e),l=a>0,u=i<0,d=gd(r.before,r.after);return d?u&&l:l||u}return R5(r)?qn(e,r.after)>0:T5(r)?qn(r.before,e)>0:typeof r=="function"?r(e):!1})}function gp(e,n,r){var a=Object.keys(n).reduce(function(l,u){var d=n[u];return I5(e,d)&&l.push(u),l},[]),i={};return a.forEach(function(l){return i[l]=!0}),r&&!sf(e,r)&&(i.outside=!0),i}function A5(e,n){for(var r=$t(e[0]),a=af(e[e.length-1]),i,l,u=r;u<=a;){var d=gp(u,n),p=!d.disabled&&!d.hidden;if(!p){u=At(u,1);continue}if(d.selected)return u;d.today&&!l&&(l=u),i||(i=u),u=At(u,1)}return l||i}var L5=365;function xw(e,n){var r=n.moveBy,a=n.direction,i=n.context,l=n.modifiers,u=n.retry,d=u===void 0?{count:0,lastFocused:e}:u,p=i.weekStartsOn,m=i.fromDate,v=i.toDate,g=i.locale,w={day:At,week:yd,month:Tn,year:vb,startOfWeek:function(C){return i.ISOWeek?lf(C):uf(C,{locale:g,weekStartsOn:p})},endOfWeek:function(C){return i.ISOWeek?jy(C):zy(C,{locale:g,weekStartsOn:p})}},b=w[r](e,a==="after"?1:-1);a==="before"&&m?b=yb([m,b]):a==="after"&&v&&(b=gb([v,b]));var S=!0;if(l){var x=gp(b,l);S=!x.disabled&&!x.hidden}return S?b:d.count>L5?d.lastFocused:xw(b,{moveBy:r,direction:a,context:i,modifiers:l,retry:Ee(Ee({},d),{count:d.count+1})})}var bw=f.createContext(void 0);function $5(e){var n=Ni(),r=ww(),a=f.useState(),i=a[0],l=a[1],u=f.useState(),d=u[0],p=u[1],m=A5(n.displayMonths,r),v=i??(d&&n.isDateDisplayed(d))?d:m,g=function(){p(i),l(void 0)},w=function(C){l(C)},b=je(),S=function(C,M){if(i){var R=xw(i,{moveBy:C,direction:M,context:b,modifiers:r});Tt(i,R)||(n.goToDate(R,i),w(R))}},x={focusedDay:i,focusTarget:v,blur:g,focus:w,focusDayAfter:function(){return S("day","after")},focusDayBefore:function(){return S("day","before")},focusWeekAfter:function(){return S("week","after")},focusWeekBefore:function(){return S("week","before")},focusMonthBefore:function(){return S("month","before")},focusMonthAfter:function(){return S("month","after")},focusYearBefore:function(){return S("year","before")},focusYearAfter:function(){return S("year","after")},focusStartOfWeek:function(){return S("startOfWeek","before")},focusEndOfWeek:function(){return S("endOfWeek","after")}};return P.jsx(bw.Provider,{value:x,children:e.children})}function wp(){var e=f.useContext(bw);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function F5(e,n){var r=ww(),a=gp(e,r,n);return a}var xp=f.createContext(void 0);function j5(e){if(!Hl(e.initialProps)){var n={selected:void 0};return P.jsx(xp.Provider,{value:n,children:e.children})}return P.jsx(z5,{initialProps:e.initialProps,children:e.children})}function z5(e){var n=e.initialProps,r=e.children,a=function(l,u,d){var p,m,v;
59if((p=n.onDayClick)===null||p===void 0||p.call(n,l,u,d),u.selected&&!n.required){(m=n.onSelect)===null||m===void 0||m.call(n,void 0,l,u,d);return}(v=n.onSelect)===null||v===void 0||v.call(n,l,l,u,d)},i={selected:n.selected,onDayClick:a};return P.jsx(xp.Provider,{value:i,children:r})}function Cw(){var e=f.useContext(xp);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function B5(e,n){var r=je(),a=Cw(),i=mp(),l=yp(),u=wp(),d=u.focusDayAfter,p=u.focusDayBefore,m=u.focusWeekAfter,v=u.focusWeekBefore,g=u.blur,w=u.focus,b=u.focusMonthBefore,S=u.focusMonthAfter,x=u.focusYearBefore,C=u.focusYearAfter,M=u.focusStartOfWeek,R=u.focusEndOfWeek,O=function(X){var D,W,N,k;Hl(r)?(D=a.onDayClick)===null||D===void 0||D.call(a,e,n,X):Ti(r)?(W=i.onDayClick)===null||W===void 0||W.call(i,e,n,X):_i(r)?(N=l.onDayClick)===null||N===void 0||N.call(l,e,n,X):(k=r.onDayClick)===null||k===void 0||k.call(r,e,n,X)},L=function(X){var D;w(e),(D=r.onDayFocus)===null||D===void 0||D.call(r,e,n,X)},$=function(X){var D;g(),(D=r.onDayBlur)===null||D===void 0||D.call(r,e,n,X)},Q=function(X){var D;(D=r.onDayMouseEnter)===null||D===void 0||D.call(r,e,n,X)},U=function(X){var D;(D=r.onDayMouseLeave)===null||D===void 0||D.call(r,e,n,X)},Y=function(X){var D;(D=r.onDayPointerEnter)===null||D===void 0||D.call(r,e,n,X)},ie=function(X){var D;(D=r.onDayPointerLeave)===null||D===void 0||D.call(r,e,n,X)},le=function(X){var D;(D=r.onDayTouchCancel)===null||D===void 0||D.call(r,e,n,X)},he=function(X){var D;(D=r.onDayTouchEnd)===null||D===void 0||D.call(r,e,n,X)},ae=function(X){var D;(D=r.onDayTouchMove)===null||D===void 0||D.call(r,e,n,X)},me=function(X){var D;(D=r.onDayTouchStart)===null||D===void 0||D.call(r,e,n,X)},de=function(X){var D;(D=r.onDayKeyUp)===null||D===void 0||D.call(r,e,n,X)},pe=function(X){var D;switch(X.key){case"ArrowLeft":X.preventDefault(),X.stopPropagation(),r.dir==="rtl"?d():p();break;case"ArrowRight":X.preventDefault(),X.stopPropagation(),r.dir==="rtl"?p():d();break;case"ArrowDown":X.preventDefault(),X.stopPropagation(),m();break;case"ArrowUp":X.preventDefault(),X.stopPropagation(),v();break;case"PageUp":X.preventDefault(),X.stopPropagation(),X.shiftKey?x():b();break;case"PageDown":X.preventDefault(),X.stopPropagation(),X.shiftKey?C():S();break;case"Home":X.preventDefault(),X.stopPropagation(),M();break;case"End":X.preventDefault(),X.stopPropagation(),R();break}(D=r.onDayKeyDown)===null||D===void 0||D.call(r,e,n,X)},re={onClick:O,onFocus:L,onBlur:$,onKeyDown:pe,onKeyUp:de,onMouseEnter:Q,onMouseLeave:U,onPointerEnter:Y,onPointerLeave:ie,onTouchCancel:le,onTouchEnd:he,onTouchMove:ae,onTouchStart:me};return re}function U5(){var e=je(),n=Cw(),r=mp(),a=yp(),i=Hl(e)?n.selected:Ti(e)?r.selected:_i(e)?a.selected:void 0;return i}function H5(e){return Object.values(xn).includes(e)}function W5(e,n){var r=[e.classNames.day];return Object.keys(n).forEach(function(a){var i=e.modifiersClassNames[a];if(i)r.push(i);else if(H5(a)){var l=e.classNames["day_".concat(a)];l&&r.push(l)}}),r}function V5(e,n){var r=Ee({},e.styles.day);return Object.keys(n).forEach(function(a){var i;r=Ee(Ee({},r),(i=e.modifiersStyles)===null||i===void 0?void 0:i[a])}),r}function K5(e,n,r){var a,i,l,u=je(),d=wp(),p=F5(e,n),m=B5(e,p),v=U5(),g=!!(u.onDayClick||u.mode!=="default");f.useEffect(function(){var Q;p.outside||d.focusedDay&&g&&Tt(d.focusedDay,e)&&((Q=r.current)===null||Q===void 0||Q.focus())},[d.focusedDay,e,r,g,p.outside]);var w=W5(u,p).join(" "),b=V5(u,p),S=!!(p.outside&&!u.showOutsideDays||p.hidden),x=(l=(i=u.components)===null||i===void 0?void 0:i.DayContent)!==null&&l!==void 0?l:p5,C=P.jsx(x,{date:e,displayMonth:n,activeModifiers:p}),M={style:b,className:w,children:C,role:"gridcell"},R=d.focusTarget&&Tt(d.focusTarget,e)&&!p.outside,O=d.focusedDay&&Tt(d.focusedDay,e),L=Ee(Ee(Ee({},M),(a={disabled:p.disabled,role:"gridcell"},a["aria-selected"]=p.selected,a.tabIndex=O||R?0:-1,a)),m),$={isButton:g,isHidden:S,activeModifiers:p,selectedDays:v,buttonProps:L,divProps:M};return $}function G5(e){var n=f.useRef(null),r=K5(e.date,e.displayMonth,n);return r.isHidden?P.jsx("div",{role:"gridcell"}):r.isButton?P.jsx(gl,Ee({name:"day",ref:n},r.buttonProps)):P.jsx("div",Ee({},r.divProps))}function q5(e){var n=e.number,r=e.dates,a=je(),i=a.onWeekNumberClick,l=a.styles,u=a.classNames,d=a.locale,p=a.labels.labelWeekNumber,m=a.formatters.formatWeekNumber,v=m(Number(n),{locale:d});if(!i)return P.jsx("span",{className:u.weeknumber,style:l.weeknumber,children:v});var g=p(Number(n),{locale:d}),w=function(b){i(n,r,b)};return P.jsx(gl,{name:"week-number","aria-label":g,className:u.weeknumber,style:l.weeknumber,onClick:w,children:v})}function Q5(e){var n,r,a=je(),i=a.styles,l=a.classNames,u=a.showWeekNumber,d=a.components,p=(n=d?.Day)!==null&&n!==void 0?n:G5,m=(r=d?.WeekNumber)!==null&&r!==void 0?r:q5,v;return u&&(v=P.jsx("td",{className:l.cell,style:i.cell,children:P.jsx(m,{number:e.weekNumber,dates:e.dates})})),P.jsxs("tr",{className:l.row,style:i.row,children:[v,e.dates.map(function(g){return P.jsx("td",{className:l.cell,style:i.cell,role:"presentation",children:P.jsx(p,{displayMonth:e.displayMonth,date:g})},mb(g))})]})}function Ty(e,n,r){for(var a=r?.ISOWeek?jy(n):zy(n,r),i=r?.ISOWeek?lf(e):uf(e,r),l=qn(a,i),u=[],d=0;d<=l;d++)u.push(At(i,d));var p=u.reduce(function(m,v){var g=r?.ISOWeek?bb(v):Cb(v,r),w=m.find(function(b){return b.weekNumber===g});return w?(w.dates.push(v),m):(m.push({weekNumber:g,dates:[v]}),m)},[]);return p}function Y5(e,n){var r=Ty($t(e),af(e),n);if(n?.useFixedWeeks){var a=hb(e,n);if(a<6){var i=r[r.length-1],l=i.dates[i.dates.length-1],u=yd(l,6-a),d=Ty(yd(l,1),u,n);r.push.apply(r,d)}}return r}function X5(e){var n,r,a,i=je(),l=i.locale,u=i.classNames,d=i.styles,p=i.hideHead,m=i.fixedWeeks,v=i.components,g=i.weekStartsOn,w=i.firstWeekContainsDate,b=i.ISOWeek,S=Y5(e.displayMonth,{useFixedWeeks:!!m,ISOWeek:b,locale:l,weekStartsOn:g,firstWeekContainsDate:w}),x=(n=v?.Head)!==null&&n!==void 0?n:f5,C=(r=v?.Row)!==null&&r!==void 0?r:Q5,M=(a=v?.Footer)!==null&&a!==void 0?a:u5;return P.jsxs("table",{id:e.id,className:u.table,style:d.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!p&&P.jsx(x,{}),P.jsx("tbody",{className:u.tbody,style:d.tbody,children:S.map(function(R){return P.jsx(C,{displayMonth:e.displayMonth,dates:R.dates,weekNumber:R.weekNumber},R.weekNumber)})}),P.jsx(M,{displayMonth:e.displayMonth})]})}function Z5(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var J5=Z5()?f.useLayoutEffect:f.useEffect,fd=!1,e3=0;function _y(){return"react-day-picker-".concat(++e3)}function t3(e){var n,r=e??(fd?_y():null),a=f.useState(r),i=a[0],l=a[1];return J5(function(){i===null&&l(_y())},[]),f.useEffect(function(){fd===!1&&(fd=!0)},[]),(n=e??i)!==null&&n!==void 0?n:void 0}function n3(e){var n,r,a=je(),i=a.dir,l=a.classNames,u=a.styles,d=a.components,p=Ni().displayMonths,m=t3(a.id?"".concat(a.id,"-").concat(e.displayIndex):void 0),v=a.id?"".concat(a.id,"-grid-").concat(e.displayIndex):void 0,g=[l.month],w=u.month,b=e.dis
59playIndex===0,S=e.displayIndex===p.length-1,x=!b&&!S;i==="rtl"&&(n=[b,S],S=n[0],b=n[1]),b&&(g.push(l.caption_start),w=Ee(Ee({},w),u.caption_start)),S&&(g.push(l.caption_end),w=Ee(Ee({},w),u.caption_end)),x&&(g.push(l.caption_between),w=Ee(Ee({},w),u.caption_between));var C=(r=d?.Caption)!==null&&r!==void 0?r:l5;return P.jsxs("div",{className:g.join(" "),style:w,children:[P.jsx(C,{id:m,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),P.jsx(X5,{id:v,"aria-labelledby":m,displayMonth:e.displayMonth})]},e.displayIndex)}function r3(e){var n=je(),r=n.classNames,a=n.styles;return P.jsx("div",{className:r.months,style:a.months,children:e.children})}function o3(e){var n,r,a=e.initialProps,i=je(),l=wp(),u=Ni(),d=f.useState(!1),p=d[0],m=d[1];f.useEffect(function(){i.initialFocus&&l.focusTarget&&(p||(l.focus(l.focusTarget),m(!0)))},[i.initialFocus,p,l.focus,l.focusTarget,l]);var v=[i.classNames.root,i.className];i.numberOfMonths>1&&v.push(i.classNames.multiple_months),i.showWeekNumber&&v.push(i.classNames.with_weeknumber);var g=Ee(Ee({},i.styles.root),i.style),w=Object.keys(a).filter(function(S){return S.startsWith("data-")}).reduce(function(S,x){var C;return Ee(Ee({},S),(C={},C[x]=a[x],C))},{}),b=(r=(n=a.components)===null||n===void 0?void 0:n.Months)!==null&&r!==void 0?r:r3;return P.jsx("div",Ee({className:v.join(" "),style:g,dir:i.dir,id:i.id,nonce:a.nonce,title:a.title,lang:a.lang},w,{children:P.jsx(b,{children:u.displayMonths.map(function(S,x){return P.jsx(n3,{displayIndex:x,displayMonth:S},x)})})}))}function a3(e){var n=e.children,r=T_(e,["children"]);return P.jsx(q_,{initialProps:r,children:P.jsx(o5,{children:P.jsx(j5,{initialProps:r,children:P.jsx(h5,{initialProps:r,children:P.jsx(y5,{initialProps:r,children:P.jsx(E5,{children:P.jsx($5,{children:n})})})})})})})}function EI(e){return P.jsx(a3,Ee({},e,{children:P.jsx(o3,{initialProps:e})}))}function Ny(e,[n,r]){return Math.min(r,Math.max(n,e))}var i3=[" ","Enter","ArrowUp","ArrowDown"],s3=[" ","Enter"],Oi="Select",[Wl,Vl,l3]=Xf(Oi),[sa]=On(Oi,[l3,Rr]),Kl=Rr(),[u3,_r]=sa(Oi),[c3,d3]=sa(Oi),kw=e=>{const{__scopeSelect:n,children:r,open:a,defaultOpen:i,onOpenChange:l,value:u,defaultValue:d,onValueChange:p,dir:m,name:v,autoComplete:g,disabled:w,required:b,form:S}=e,x=Kl(n),[C,M]=f.useState(null),[R,O]=f.useState(null),[L,$]=f.useState(!1),Q=Zf(m),[U=!1,Y]=Nn({prop:a,defaultProp:i,onChange:l}),[ie,le]=Nn({prop:u,defaultProp:d,onChange:p}),he=f.useRef(null),ae=C?S||!!C.closest("form"):!0,[me,de]=f.useState(new Set),pe=Array.from(me).map(re=>re.props.value).join(";");return P.jsx(Sl,{...x,children:P.jsxs(u3,{required:b,scope:n,trigger:C,onTriggerChange:M,valueNode:R,onValueNodeChange:O,valueNodeHasChildren:L,onValueNodeHasChildrenChange:$,contentId:Zt(),value:ie,onValueChange:le,open:U,onOpenChange:Y,dir:Q,triggerPointerDownPosRef:he,disabled:w,children:[P.jsx(Wl.Provider,{scope:n,children:P.jsx(c3,{scope:e.__scopeSelect,onNativeOptionAdd:f.useCallback(re=>{de(X=>new Set(X).add(re))},[]),onNativeOptionRemove:f.useCallback(re=>{de(X=>{const D=new Set(X);return D.delete(re),D})},[]),children:r})}),ae?P.jsxs(qw,{"aria-hidden":!0,required:b,tabIndex:-1,name:v,autoComplete:g,value:ie,onChange:re=>le(re.target.value),disabled:w,form:S,children:[ie===void 0?P.jsx("option",{value:""}):null,Array.from(me)]},pe):null]})})};kw.displayName=Oi;var Sw="SelectTrigger",Ew=f.forwardRef((e,n)=>{const{__scopeSelect:r,disabled:a=!1,...i}=e,l=Kl(r),u=_r(Sw,r),d=u.disabled||a,p=Oe(n,u.onTriggerChange),m=Vl(r),v=f.useRef("touch"),[g,w,b]=Qw(x=>{const C=m().filter(O=>!O.disabled),M=C.find(O=>O.value===u.value),R=Yw(C,x,M);R!==void 0&&u.onValueChange(R.value)}),S=x=>{d||(u.onOpenChange(!0),b()),x&&(u.triggerPointerDownPosRef.current={x:Math.round(x.pageX),y:Math.round(x.pageY)})};return P.jsx(vi,{asChild:!0,...l,children:P.jsx(Re.button,{type:"button",role:"combobox","aria-controls":u.contentId,"aria-expanded":u.open,"aria-required":u.required,"aria-autocomplete":"none",dir:u.dir,"data-state":u.open?"open":"closed",disabled:d,"data-disabled":d?"":void 0,"data-placeholder":Gw(u.value)?"":void 0,...i,ref:p,onClick:ce(i.onClick,x=>
vendor: 5,145 bytes, line 59
59{x.currentTarget.focus(),v.current!=="mouse"&&S(x)}),onPointerDown:ce(i.onPointerDown,x=>{v.current=x.pointerType;const C=x.target;C.hasPointerCapture(x.pointerId)&&C.releasePointerCapture(x.pointerId),x.button===0&&x.ctrlKey===!1&&x.pointerType==="mouse"&&(S(x),x.preventDefault())}),onKeyDown:ce(i.onKeyDown,x=>{const C=g.current!=="";!(x.ctrlKey||x.altKey||x.metaKey)&&x.key.length===1&&w(x.key),!(C&&x.key===" ")&&i3.includes(x.key)&&(S(),x.preventDefault())})})})});Ew.displayName=Sw;var Pw="SelectValue",Mw=f.forwardRef((e,n)=>{const{__scopeSelect:r,className:a,style:i,children:l,placeholder:u="",...d}=e,p=_r(Pw,r),{onValueNodeHasChildrenChange:m}=p,v=l!==void 0,g=Oe(n,p.onValueNodeChange);return yt(()=>{m(v)},[m,v]),P.jsx(Re.span,{...d,ref:g,style:{pointerEvents:"none"},children:Gw(p.value)?P.jsx(P.Fragment,{children:u}):l})});Mw.displayName=Pw;var f3="SelectIcon",Rw=f.forwardRef((e,n)=>{const{__scopeSelect:r,children:a,...i}=e;return P.jsx(Re.span,{"aria-hidden":!0,...i,ref:n,children:a||"â¼"})});Rw.displayName=f3;var p3="SelectPortal",Tw=e=>P.jsx(yi,{asChild:!0,...e});Tw.displayName=p3;var ao="SelectContent",_w=f.forwardRef((e,n)=>{const r=_r(ao,e.__scopeSelect),[a,i]=f.useState();if(yt(()=>{i(new DocumentFragment)},[]),!r.open){const l=a;return l?lo.createPortal(P.jsx(Nw,{scope:e.__scopeSelect,children:P.jsx(Wl.Slot,{scope:e.__scopeSelect,children:P.jsx("div",{children:e.children})})}),l):null}return P.jsx(Ow,{...e,ref:n})});_w.displayName=ao;var mn=10,[Nw,Nr]=sa(ao),h3="SelectContentImpl",Ow=f.forwardRef((e,n)=>{const{__scopeSelect:r,position:a="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:l,onPointerDownOutside:u,side:d,sideOffset:p,align:m,alignOffset:v,arrowPadding:g,collisionBoundary:w,collisionPadding:b,sticky:S,hideWhenDetached:x,avoidCollisions:C,...M}=e,R=_r(ao,r),[O,L]=f.useState(null),[$,Q]=f.useState(null),U=Oe(n,z=>L(z)),[Y,ie]=f.useState(null),[le,he]=f.useState(null),ae=Vl(r),[me,de]=f.useState(!1),pe=f.useRef(!1);f.useEffect(()=>{if(O)return ki(O)},[O]),Al();const re=f.useCallback(z=>{const[Z,...se]=ae().map(ke=>ke.ref.current),[ue]=se.slice(-1),xe=document.activeElement;for(const ke of z)if(ke===xe||(ke?.scrollIntoView({block:"nearest"}),ke===Z&&$&&($.scrollTop=0),ke===ue&&$&&($.scrollTop=$.scrollHeight),ke?.focus(),document.activeElement!==xe))return},[ae,$]),X=f.useCallback(()=>re([Y,O]),[re,Y,O]);f.useEffect(()=>{me&&X()},[me,X]);const{onOpenChange:D,triggerPointerDownPosRef:W}=R;f.useEffect(()=>{if(O){let z={x:0,y:0};const Z=ue=>{z={x:Math.abs(Math.round(ue.pageX)-(W.current?.x??0)),y:Math.abs(Math.round(ue.pageY)-(W.current?.y??0))}},se=ue=>{z.x<=10&&z.y<=10?ue.preventDefault():O.contains(ue.target)||D(!1),document.removeEventListener("pointermove",Z),W.current=null};return W.current!==null&&(document.addEventListener("pointermove",Z),document.addEventListener("pointerup",se,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",Z),document.removeEventListener("pointerup",se,{capture:!0})}}},[O,D,W]),f.useEffect(()=>{const z=()=>D(!1);return window.addEventListener("blur",z),window.addEventListener("resize",z),()=>{window.removeEventListener("blur",z),window.removeEventListener("resize",z)}},[D]);const[N,k]=Qw(z=>{const Z=ae().filter(xe=>!xe.disabled),se=Z.find(xe=>xe.ref.current===document.activeElement),ue=Yw(Z,z,se);ue&&setTimeout(()=>ue.ref.current.focus())}),T=f.useCallback((z,Z,se)=>{const ue=!pe.current&&!se;(R.value!==void 0&&R.value===Z||ue)&&(ie(z),ue&&(pe.current=!0))},[R.value]),j=f.useCallback(()=>O?.focus(),[O]),G=f.useCallback((z,Z,se)=>{const ue=!pe.current&&!se;(R.value!==void 0&&R.value===Z||ue)&&he(z)},[R.value]),V=a==="popper"?Xd:Dw,q=V===Xd?{side:d,sideOffset:p,align:m,alignOffset:v,arrowPadding:g,collisionBoundary:w,collisionPadding:b,sticky:S,hideWhenDetached:x,avoidCollisions:C}:{};return P.jsx(Nw,{scope:r,content:O,viewport:$,onViewportChange:Q,itemRefCallback:T,selectedItem:Y,onItemLeave:j,itemTextRefCallback:G,focusSelectedItem:X,selectedItemText:le,position:a,isPositioned:me,searchRef:N,children:P.jsx(Ci,{as:kr,allowPinchZoom:!0,children:P.jsx(bi,{asChild:!0,trapped:R.open,onMountAutoFocus:z=>{z.preventDefault()},onUnmountAutoFocus:ce(i,z=>{R.trigger?.focus({preventScroll:!0}),z.preventDefault()}),children:P.jsx(ea,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:z=>z.preventDefault(),onDismiss:()=>R.onOpenChange(!1),children:P.jsx(V,{role:"listbox",id:R.contentId,"data-state":R.open?"open":"closed",dir:R.dir,onContextMenu:z=>z.preventDefault(),...M,...q,onPlaced:()=>de(!0),ref:U,style:{display:"flex",flexDirection:"column",outline:"none",...M.style},onKeyDown:ce(M.onKeyDown,z=>{const Z=z.ctrlKey||z.altKey||z.metaKey;if(z.key==="Tab"&&z.preventDefault(),!Z&&z.key.length===1&&k(z.key),["ArrowUp","ArrowDown","Home","End"].includes(z.key)){let ue=ae().filter(xe=>!xe.disabled).map(xe=>xe.ref.current);if(["ArrowUp","End"].includes(z.key)&&(ue=ue.slice().reverse()),["ArrowUp","ArrowDown"].includes(z.key)){const xe=z.target,ke=ue.indexOf(xe);ue=ue.slice(ke+1)}setTimeout(()=>re(ue)),z.preventDefault()}})})})})})})});Ow.displayName=h3;
vendor: 11,374 bytes, line 59
59var m3="SelectItemAlignedPosition",Dw=f.forwardRef((e,n)=>{const{__scopeSelect:r,onPlaced:a,...i}=e,l=_r(ao,r),u=Nr(ao,r),[d,p]=f.useState(null),[m,v]=f.useState(null),g=Oe(n,U=>v(U)),w=Vl(r),b=f.useRef(!1),S=f.useRef(!0),{viewport:x,selectedItem:C,selectedItemText:M,focusSelectedItem:R}=u,O=f.useCallback(()=>{if(l.trigger&&l.valueNode&&d&&m&&x&&C&&M){const U=l.trigger.getBoundingClientRect(),Y=m.getBoundingClientRect(),ie=l.valueNode.getBoundingClientRect(),le=M.getBoundingClientRect();if(l.dir!=="rtl"){const xe=le.left-Y.left,ke=ie.left-xe,Ne=U.left-ke,Se=U.width+Ne,We=Math.max(Se,Y.width),ze=window.innerWidth-mn,Ze=Ny(ke,[mn,Math.max(mn,ze-We)]);d.style.minWidth=Se+"px",d.style.left=Ze+"px"}else{const xe=Y.right-le.right,ke=window.innerWidth-ie.right-xe,Ne=window.innerWidth-U.right-ke,Se=U.width+Ne,We=Math.max(Se,Y.width),ze=window.innerWidth-mn,Ze=Ny(ke,[mn,Math.max(mn,ze-We)]);d.style.minWidth=Se+"px",d.style.right=Ze+"px"}const he=w(),ae=window.innerHeight-mn*2,me=x.scrollHeight,de=window.getComputedStyle(m),pe=parseInt(de.borderTopWidth,10),re=parseInt(de.paddingTop,10),X=parseInt(de.borderBottomWidth,10),D=parseInt(de.paddingBottom,10),W=pe+re+me+D+X,N=Math.min(C.offsetHeight*5,W),k=window.getComputedStyle(x),T=parseInt(k.paddingTop,10),j=parseInt(k.paddingBottom,10),G=U.top+U.height/2-mn,V=ae-G,q=C.offsetHeight/2,z=C.offsetTop+q,Z=pe+re+z,se=W-Z;if(Z<=G){const xe=he.length>0&&C===he[he.length-1].ref.current;d.style.bottom="0px";const ke=m.clientHeight-x.offsetTop-x.offsetHeight,Ne=Math.max(V,q+(xe?j:0)+ke+X),Se=Z+Ne;d.style.height=Se+"px"}else{const xe=he.length>0&&C===he[0].ref.current;d.style.top="0px";const Ne=Math.max(G,pe+x.offsetTop+(xe?T:0)+q)+se;d.style.height=Ne+"px",x.scrollTop=Z-G+x.offsetTop}d.style.margin=`${mn}px 0`,d.style.minHeight=N+"px",d.style.maxHeight=ae+"px",a?.(),requestAnimationFrame(()=>b.current=!0)}},[w,l.trigger,l.valueNode,d,m,x,C,M,l.dir,a]);yt(()=>O(),[O]);const[L,$]=f.useState();yt(()=>{m&&$(window.getComputedStyle(m).zIndex)},[m]);const Q=f.useCallback(U=>{U&&S.current===!0&&(O(),R?.(),S.current=!1)},[O,R]);return P.jsx(y3,{scope:r,contentWrapper:d,shouldExpandOnScrollRef:b,onScrollButtonChange:Q,children:P.jsx("div",{ref:p,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:L},children:P.jsx(Re.div,{...i,ref:g,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});Dw.displayName=m3;var v3="SelectPopperPosition",Xd=f.forwardRef((e,n)=>{const{__scopeSelect:r,align:a="start",collisionPadding:i=mn,...l}=e,u=Kl(r);return P.jsx(El,{...u,...l,ref:n,align:a,collisionPadding:i,style:{boxSizing:"border-box",...l.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Xd.displayName=v3;var[y3,bp]=sa(ao,{}),Zd="SelectViewport",Iw=f.forwardRef((e,n)=>{const{__scopeSelect:r,nonce:a,...i}=e,l=Nr(Zd,r),u=bp(Zd,r),d=Oe(n,l.onViewportChange),p=f.useRef(0);return P.jsxs(P.Fragment,{children:[P.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),P.jsx(Wl.Slot,{scope:r,children:P.jsx(Re.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:d,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:ce(i.onScroll,m=>{const v=m.currentTarget,{contentWrapper:g,shouldExpandOnScrollRef:w}=u;if(w?.current&&g){const b=Math.abs(p.current-v.scrollTop);if(b>0){const S=window.innerHeight-mn*2,x=parseFloat(g.style.minHeight),C=parseFloat(g.style.height),M=Math.max(x,C);if(M<S){const R=M+b,O=Math.min(S,R),L=R-O;g.style.height=O+"px",g.style.bottom==="0px"&&(v.scrollTop=L>0?L:0,g.style.justifyContent="flex-end")}}}p.current=v.scrollTop})})})]})});Iw.displayName=Zd;var Aw="SelectGroup",[g3,w3]=sa(Aw),x3=f.forwardRef((e,n)=>{const{__scopeSelect:r,...a}=e,i=Zt();return P.jsx(g3,{scope:r,id:i,children:P.jsx(Re.div,{role:"group","aria-labelledby":i,...a,ref:n})})});x3.displayName=Aw;var Lw="SelectLabel",$w=f.forwardRef((e,n)=>{const{__scopeSelect:r,...a}=e,i=w3(Lw,r);return P.jsx(Re.div,{id:i.id,...a,ref:n})});$w.displayName=Lw;var wl="SelectItem",[b3,Fw]=sa(wl),jw=f.forwardRef((e,n)=>{const{__scopeSelect:r,value:a,disabled:i=!1,textValue:l,...u}=e,d=_r(wl,r),p=Nr(wl,r),m=d.value===a,[v,g]=f.useState(l??""),[w,b]=f.useState(!1),S=Oe(n,R=>p.itemRefCallback?.(R,a,i)),x=Zt(),C=f.useRef("touch"),M=()=>{i||(d.onValueChange(a),d.onOpenChange(!1))};if(a==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return P.jsx(b3,{scope:r,value:a,disabled:i,textId:x,isSelected:m,onItemTextChange:f.useCallback(R=>{g(O=>O||(R?.textContent??"").trim())},[]),children:P.jsx(Wl.ItemSlot,{scope:r,value:a,disabled:i,textValue:v,children:P.jsx(Re.div,{role:"option","aria-labelledby":x,"data-highlighted":w?"":void 0,"aria-selected":m&&w,"data-state":m?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...u,ref:S,onFocus:ce(u.onFocus,()=>b(!0)),onBlur:ce(u.onBlur,()=>b(!1)),onClick:ce(u.onClick,()=>{C.current!=="mouse"&&M()}),onPointerUp:ce(u.onPointerUp,()=>{C.current==="mouse"&&M()}),onPointerDown:ce(u.onPointerDown,R=>{C.current=R.pointerType}),onPointerMove:ce(u.onPointerMove,R=>{C.current=R.pointerType,i?p.onItemLeave?.():C.current==="mouse"&&R.currentTarget.focus({preventScroll:!0})}),onPointerLeave:ce(u.onPointerLeave,R=>{R.currentTarget===document.activeElement&&p.onItemLeave?.()}),onKeyDown:ce(u.onKeyDown,R=>{p.searchRef?.current!==""&&R.key===" "||(s3.includes(R.key)&&M(),R.key===" "&&R.preventDefault())})})})})});jw.displayName=wl;var ni="SelectItemText",zw=f.forwardRef((e,n)=>{const{__scopeSelect:r,className:a,style:i,...l}=e,u=_r(ni,r),d=Nr(ni,r),p=Fw(ni,r),m=d3(ni,r),[v,g]=f.useState(null),w=Oe(n,M=>g(M),p.onItemTextChange,M=>d.itemTextRefCallback?.(M,p.value,p.disabled)),b=v?.textContent,S=f.useMemo(()=>P.jsx("option",{value:p.value,disabled:p.disabled,children:b},p.value),[p.disabled,p.value,b]),{onNativeOptionAdd:x,onNativeOptionRemove:C}=m;return yt(()=>(x(S),()=>C(S)),[x,C,S]),P.jsxs(P.Fragment,{children:[P.jsx(Re.span,{id:p.textId,...l,ref:w}),p.isSelected&&u.valueNode&&!u.valueNodeHasChildren?lo.createPortal(l.children,u.valueNode):null]})});zw.displayName=ni;var Bw="SelectItemIndicator",Uw=f.forwardRef((e,n)=>{const{__scopeSelect:r,...a}=e;return Fw(Bw,r).isSelected?P.jsx(Re.span,{"aria-hidden":!0,...a,ref:n}):null});Uw.displayName=Bw;var Jd="SelectScrollUpButton",Hw=f.forwardRef((e,n)=>{const r=Nr(Jd,e.__scopeSelect),a=bp(Jd,e.__scopeSelect),[i,l]=f.useState(!1),u=Oe(n,a.onScrollButtonChange);return yt(()=>{if(r.viewport&&r.isPositioned){let d=function(){const m=p.scrollTop>0;l(m)};const p=r.viewport;return d(),p.addEventListener("scroll",d),()=>p.removeEventListener("scroll",d)}},[r.viewport,r.isPositioned]),i?P.jsx(Vw,{...e,ref:u,onAutoScroll:()=>{const{viewport:d,selectedItem:p}=r;d&&p&&(d.scrollTop=d.scrollTop-p.offsetHeight)}}):null});Hw.displayName=Jd;var ef="SelectScrollDownButton",Ww=f.forwardRef((e,n)=>{const r=Nr(ef,e.__scopeSelect),a=bp(ef,e.__scopeSelect),[i,l]=f.useState(!1),u=Oe(n,a.onScrollButtonChange);return yt(()=>{if(r.viewport&&r.isPositioned){let d=function(){const m=p.scrollHeight-p.clientHeight,v=Math.ceil(p.scrollTop)<m;l(v)};const p=r.viewport;return d(),p.addEventListener("scroll",d),()=>p.removeEventListener("scroll",d)}},[r.viewport,r.isPositioned]),i?P.jsx(Vw,{...e,ref:u,onAutoScroll:()=>{const{viewport:d,selectedItem:p}=r;d&&p&&(d.scrollTop=d.scrollTop+p.offsetHeight)}}):null});Ww.displayName=ef;var Vw=f.forwardRef((e,n)=>{const{__scopeSelect:r,onAutoScroll:a,...i}=e,l=Nr("SelectScrollButton",r),u=f.useRef(null),d=Vl(r),p=f.useCallback(()=>{u.current!==null&&(window.clearInterval(u.current),u.current=null)},[]);return f.useEffect(()=>()=>p(),[p]),yt(()=>{d().find(v=>v.ref.current===document.activeElement)?.ref.current?.scrollIntoView({block:"nearest"})},[d]),P.jsx(Re.div,{"aria-hidden":!0,...i,ref:n,style:{flexShrink:0,...i.style},onPointerDown:ce(i.onPointerDown,()=>{u.current===null&&(u.current=window.setInterval(a,50))}),onPointerMove:ce(i.onPointerMove,()=>{l.onItemLeave?.(),u.current===null&&(u.current=window.setInterval(a,50))}),onPointerLeave:ce(i.onPointerLeave,()=>{p()})})}),C3="SelectSeparator",Kw=f.forwardRef((e,n)=>{const{__scopeSelect:r,...a}=e;return P.jsx(Re.div,{"aria-hidden":!0,...a,ref:n})});Kw.displayName=C3;var tf="SelectArrow",k3=f.forwardRef((e,n)=>{const{__scopeSelect:r,...a}=e,i=Kl(r),l=_r(tf,r),u=Nr(tf,r);return l.open&&u.position==="popper"?P.jsx(Pl,{...i,...a,ref:n}):null});k3.displayName=tf;function Gw(e){return e===""||e===void 0}var qw=f.forwardRef((e,n)=>{const{value:r,...a}=e,i=f.useRef(null),l=Oe(n,i),u=Qf(r);return f.useEffect(()=>{const d=i.current,p=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(p,"value").set;if(u!==r&&v){const g=new Event("change",{bubbles:!0});v.call(d,r),d.dispatchEvent(g)}},[u,r]),P.jsx(Cf,{asChild:!0,children:P.jsx("select",{...a,ref:l,defaultValue:r})})});qw.displayName="BubbleSelect";function Qw(e){const n=tn(e),r=f.useRef(""),a=f.useRef(0),i=f.useCallback(u=>{const d=r.current+u;n(d),(function p(m){r.current=m,window.clearTimeout(a.current),m!==""&&(a.current=window.setTimeout(()=>p(""),1e3))})(d)},[n]),l=f.useCallback(()=>{r.current="",window.clearTimeout(a.current)},[]);return f.useEffect(()=>()=>window.clearTimeout(a.current),[]),[r,i,l]}function Yw(e,n,r){const i=n.length>1&&Array.from(n).every(m=>m===n[0])?n[0]:n,l=r?e.indexOf(r):-1;let u=S3(e,Math.max(l,0));i.length===1&&(u=u.filter(m=>m!==r));const p=u.find(m=>m.textValue.toLowerCase().startsWith(i.toLowerCase()));return p!==r?p:void 0}function S3(e,n){return e.map((r,a)=>e[(n+a)%e.length])}var PI=kw,MI=Ew,RI=Mw,TI=Rw,_I=Tw,NI=_w,OI=Iw,DI=$w,II=jw,AI=zw,LI=Uw,$I=Hw,FI=Ww,jI=Kw,Cp="Checkbox",[E3]=On(Cp),[P3,M3]=E3(Cp),Xw=f.forwardRef((e,n)=>{const{__scopeCheckbox:r,name:a,checked:i,defaultChecked:l,required:u,disabled:d,value:p="on",onCheckedChange:m,form:v,...g}=e,[w,b]=f.useState(null),S=Oe(n,L=>b(L)),x=f.useRef(!1),C=w?v||!!w.closest("form"):!0,[M=!1,R]=Nn({prop:i,defaultProp:l,onChange:m}),O=f.useRef(M);return f.useEffect(()=>{const L=w?.form;if(L){const $=()=>R(O.current);return L.addEventListener("reset",$),()=>L.removeEventListener("reset",$)}},[w,R]),P.jsxs(P3,{scope:r,state:M,disabled:d,children:[P.jsx(Re.button,{type:"button",role:"checkbox","aria-checked":Cr(M)?"mixed":M,"aria-required":u,"data-state":ex(M),"data-disabled":d?"":void 0,disabled:d,value:p,...g,ref:S,onKeyDown:ce(e.onKeyDown,L=>{L.key==="Enter"&&L.preventDefault()}),onClick:ce(e.onClick,L=>{R($=>Cr($)?!0:!$),C&&(x.current=L.isPropagationStopped(),x.current||L.stopPropagation())})}),C&&P.jsx(R3,{control:w,bubbles:!x.current,name:a,value:p,checked:M,required:u,disabled:d,form:v,style:{transform:"translateX(-100%)"},defaultChecked:Cr(l)?!1:l})]})});Xw.displayName=Cp;
59var Zw="CheckboxIndicator",Jw=f.forwardRef((e,n)=>{const{__scopeCheckbox:r,forceMount:a,...i}=e,l=M3(Zw,r);return P.jsx(zt,{present:a||Cr(l.state)||l.state===!0,children:P.jsx(Re.span,{"data-state":ex(l.state),"data-disabled":l.disabled?"":void 0,...i,ref:n,style:{pointerEvents:"none",...e.style}})})});Jw.displayName=Zw;var R3=e=>{const{control:n,checked:r,bubbles:a=!0,defaultChecked:i,...l}=e,u=f.useRef(null),d=Qf(r),p=wf(n);f.useEffect(()=>{const v=u.current,g=window.HTMLInputElement.prototype,b=Object.getOwnPropertyDescriptor(g,"checked").set;if(d!==r&&b){const S=new Event("click",{bubbles:a});v.indeterminate=Cr(r),b.call(v,Cr(r)?!1:r),v.dispatchEvent(S)}},[d,r,a]);const m=f.useRef(Cr(r)?!1:r);return P.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:i??m.current,...l,tabIndex:-1,ref:u,style:{...e.style,...p,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function Cr(e){return e==="indeterminate"}function ex(e){return Cr(e)?"indeterminate":e?"checked":"unchecked"}var zI=Xw,BI=Jw,tx="AlertDialog",[T3]=On(tx,[b0]),Zn=b0(),nx=e=>{const{__scopeAlertDialog:n,...r}=e,a=Zn(n);return P.jsx(lM,{...a,...r,modal:!0})};nx.displayName=tx;var _3="AlertDialogTrigger",N3=f.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...a}=e,i=Zn(r);return P.jsx(uM,{...i,...a,ref:n})});N3.displayName=_3;var O3="AlertDialogPortal",rx=e=>{const{__scopeAlertDialog:n,...r}=e,a=Zn(n);return P.jsx(cM,{...a,...r})};rx.displayName=O3;var D3="AlertDialogOverlay",ox=f.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...a}=e,i=Zn(r);return P.jsx(dM,{...i,...a,ref:n})});ox.displayName=D3;var qo="AlertDialogContent",[I3,A3]=T3(qo),ax=f.forwardRef((e,n)=>{const{__scopeAlertDialog:r,children:a,...i}=e,l=Zn(r),u=f.useRef(null),d=Oe(n,u),p=f.useRef(null);return P.jsx(oM,{contentName:qo,titleName:ix,docsSlug:"alert-dialog",children:P.jsx(I3,{scope:r,cancelRef:p,children:P.jsxs(fM,{role:"alertdialog",...l,...i,ref:d,onOpenAutoFocus:ce(i.onOpenAutoFocus,m=>{m.preventDefault(),p.current?.focus({preventScroll:!0})}),onPointerDownOutside:m=>m.preventDefault(),onInteractOutside:m=>m.preventDefault(),children:[P.jsx(ff,{children:a}),P.jsx($3,{contentRef:u})]})})})});ax.displayName=qo;var ix="AlertDialogTitle",sx=f.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...a}=e,i=Zn(r);return P.jsx(pM,{...i,...a,ref:n})});sx.displayName=ix;var lx="AlertDialogDescription",ux=f.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...a}=e,i=Zn(r);return P.jsx(hM,{...i,...a,ref:n})});ux.displayName=lx;var L3="AlertDialogAction",cx=f.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...a}=e,i=Zn(r);return P.jsx($0,{...i,...a,ref:n})});cx.displayName=L3;var dx="AlertDialogCancel",fx=f.forwardRef((e,n)=>{const{__scopeAlertDialog:r,...a}=e,{cancelRef:i}=A3(dx,r),l=Zn(r),u=Oe(n,i);return P.jsx($0,{...l,...a,ref:u})});fx.displayName=dx;var $3=({contentRef:e})=>{const n=`\`${qo}\` requires a description for the component to be accessible for screen reader users. 60 61You can add a description to the \`${qo}\` by passing a \`${lx}\` component as a child, which also benefits sighted users by adding visible context to the dialog. 62 63Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${qo}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component. 64 65For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;return f.useEffect(()=>{const r=document.getElementById(e.current?.getAttribute("aria-describedby"))},[n,e]),null},UI=nx,HI=rx,WI=ox,VI=ax,KI=cx,GI=fx,qI=sx,QI=ux;let px=-1;const la=()=>px,ua=e=>{addEventListener("pageshow",n=>{n.persisted&&(px=n.timeStamp,e(n))},!0)},jt=(e,n,r,a)=>{let i,l;return u=>{n.value>=0&&(u||a)&&(l=n.value-(i??0),(l||i===void 0)&&(i=n.value,n.delta=l,n.rating=((d,p)=>d>p[1]?"poor":d>p[0]?"needs-improvement":"good")(n.value,r),e(n)))}},kp=e=>{requestAnimationFrame(()=>requestAnimationFrame(e))},Sp=()=>{const e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},Di=()=>Sp()?.activationStart??0;let Xr=-1;const hx=new Set,Oy=()=>document.visibilityState!=="hidden"||document.prerendering?1/0:0,nf=e=>{if(document.visibilityState==="hidden"){if(e.type==="visibilitychange")for(const n of hx)n();isFinite(Xr)||(Xr=e.type==="visibilitychange"?e.timeStamp:0,removeEventListener("prerenderingchange",nf,!0))}},hi=(e=!1)=>
vendor: 8,785 bytes, line 65
65{if(e&&(Xr=1/0),Xr<0){const n=Di();Xr=(document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find(a=>a.name==="hidden"&&a.startTime>=n)?.startTime)??Oy(),addEventListener("visibilitychange",nf,!0),addEventListener("prerenderingchange",nf,!0),ua(()=>{setTimeout(()=>{Xr=Oy()})})}return{get firstHiddenTime(){return Xr},onHidden(n){hx.add(n)}}},en=(e,n=-1,r,a=0,i,l,u)=>{const d=Sp(),p=d?.navigationId||0;let m="navigate";return r?m=r:la()>=0?m="back-forward-cache":d&&(document.prerendering||Di()>0?m="prerender":document.wasDiscarded?m="restore":d.type&&(m=d.type.replace(/_/g,"-"))),{name:e,value:n,rating:"good",delta:0,entries:[],id:`v6-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:m,navigationId:a||p,navigationInteractionId:i,navigationURL:l||d?.name,navigationStartTime:u||0}},Dy=new WeakMap;function Gl(e,n){let r=Dy.get(n);return r||(r=new WeakMap,Dy.set(n,r)),r.get(e)||r.set(e,new n),r.get(e)}class F3{t;i=0;o=[];h(n){if(n.hadRecentInput)return;const r=this.o[0],a=this.o.at(-1);this.i&&r&&a&&n.startTime-a.startTime<1e3&&n.startTime-r.startTime<5e3?(this.i+=n.value,this.o.push(n)):(this.i=n.value,this.o=[n]),this.t?.(n)}}const io=(e,n,r={})=>{try{const a=e.filter(i=>PerformanceObserver.supportedEntryTypes.includes(i));if(a.length>0){const i=new PerformanceObserver(l=>{queueMicrotask(()=>{const u=l.getEntries();a.length>1&&u.sort((d,p)=>d.startTime+d.duration-(p.startTime+p.duration)),n(u)})});for(const l of a)i.observe({type:l,buffered:!0,...r});return i}}catch{}},Ii=e=>globalThis.PerformanceObserver?.supportedEntryTypes.includes("soft-navigation")&&typeof globalThis.PerformanceSoftNavigation?.prototype?.getLargestInteractionContentfulPaint=="function"&&e&&e.reportSoftNavs,mx=(e,n)=>{if(e.set(n.navigationId,n),e.size>2){const r=e.keys().next().value;r!==void 0&&e.delete(r)}},vx=e=>{let n=!1;return()=>{n||(e(),n=!0)}};class j3{l}const ql=e=>{document.prerendering?addEventListener("prerenderingchange",e,!0):e()},pd=[1800,3e3],z3=(e,n={})=>{const r=Ii(n);ql(()=>{const a=Gl(n,j3),i=hi();let l,u=en("FCP");const d=io(["paint"],p=>{for(const m of p)m.name==="first-contentful-paint"&&(d.disconnect(),m.startTime<i.firstHiddenTime&&(u.value=Math.max(m.startTime-Di(),0),u.entries.push(m),u.navigationId=m.navigationId||u.navigationId,l(!0)))});d&&(l=jt(e,u,pd,n.reportAllChanges),ua(p=>{u=en("FCP",-1,"back-forward-cache",u.navigationId,u.navigationInteractionId,u.navigationURL,la()),l=jt(e,u,pd,n.reportAllChanges),kp(()=>{u.value=performance.now()-p.timeStamp,l(!0)})})),r&&io(["soft-navigation"],p=>{p.forEach(m=>{a.l&&m.navigationId&&mx(a.l,m);const v=Math.max((m.presentationTime||m.paintTime||0)-m.startTime,0);u=en("FCP",v,"soft-navigation",m.navigationId,m.interactionId,m.name,m.startTime),l=jt(e,u,pd,n.reportAllChanges),l(!0)})},n)})},Iy=[.1,.25],YI=(e,n={})=>{const r=hi();z3(vx(()=>{let a,i=en("CLS",0);const l=Gl(n,F3),u=(w,b,S,x,C)=>{i=en("CLS",0,w,b,S,x,C),l.i=0,a=jt(e,i,Iy,n.reportAllChanges)},d=(w=!1)=>{l.i>i.value&&(i.value=l.i,i.entries=l.o),a(w)},p=w=>{d(!0),u("soft-navigation",w.navigationId,w.interactionId,w.name,w.startTime)},m=w=>{for(const b of w)b.entryType!=="soft-navigation"?l.h(b):p(b);d()},v=["layout-shift"];Ii(n)&&v.push("soft-navigation");const g=io(v,m);g&&(a=jt(e,i,Iy,n.reportAllChanges),r.onHidden(()=>{m(g.takeRecords()),a(!0)}),ua(()=>{u("back-forward-cache",i.navigationId,i.navigationInteractionId,i.navigationURL,la()),kp(a)}),setTimeout(a))}))};let yx=0,hd=1/0,ol=0;const B3=e=>{for(const n of e)n.interactionId&&(hd=Math.min(hd,n.interactionId),ol=Math.max(ol,n.interactionId),yx=ol?(ol-hd)/7+1:0)};let rf;const Ay=()=>rf?yx:performance.interactionCount??0,U3=()=>{"interactionCount"in performance||rf||(rf=io(["event"],B3,{durationThreshold:0}))};let Ly=0;class H3{u=[];v=new Map;m;p;T(){Ly=Ay(),this.u.length=0,this.v.clear()}M(n){const r=Ay()-Ly,a=Math.min(this.u.length-1,Math.floor(r/50));return!r||a!==-1||n!=="soft-navigation"&&n!=="back-forward-cache"?this.u[a]:{_:8,id:-1,entries:[]}}h(n){if(this.m?.(n),!n.interactionId&&n.entryType!=="first-input")return;const r=this.u.at(-1);let a=this.v.get(n.interactionId);if(a||this.u.length<10||n.duration>r._){if(a?n.duration>a._?(a.entries=[n],a._=n.duration):n.duration===a._&&n.startTime===a.entries[0].startTime&&a.entries.push(n):(a={id:n.interactionId,entries:[n],_:n.duration},this.v.set(a.id,a),this.u.push(a)),this.u.sort((i,l)=>l._-i._),this.u.length>10){const i=this.u.splice(10);for(const l of i)this.v.delete(l.id)}this.p?.(a)}}}const gx=e=>{const n="requestIdleCallback"in globalThis?1e3:0,r=globalThis.requestIdleCallback||setTimeout,a=globalThis.cancelIdleCallback||clearTimeout;if(document.visibilityState==="hidden")e();else{const i=vx(e);let l=-1;const u=()=>{a(l),i()};addEventListener("visibilitychange",u,{once:!0,capture:!0}),l=r(()=>{removeEventListener("visibilitychange",u,{capture:!0}),i()},{timeout:n})}},$y=[200,500],XI=(e,n={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const r=hi();ql(()=>{U3();let a,i=en("INP");const l=Gl(n,H3),u=(w,b,S,x,C)=>{l.T(),i=en("INP",-1,w,b,S,x,C),a=jt(e,i,$y,n.reportAllChanges)},d=()=>{const w=l.M(i.navigationType);w&&w._!==i.value&&(i.value=w._,i.entries=w.entries,a())},p=w=>{d(),a(!0),u("soft-navigation",w.navigationId,w.interactionId,w.name,w.startTime)},m=(w,b=!1)=>{gx(()=>{for(const S of w)S.entryType!=="soft-navigation"?l.h(S):p(S);d(),b&&a(!0)})},v=["event","first-input"];Ii(n)&&v.push("soft-navigation");const g=io(v,m,{...n,durationThreshold:n.durationThreshold??40});a=jt(e,i,$y,n.reportAllChanges),g&&(r.onHidden(()=>{m(g.takeRecords(),!0)}),ua(()=>{u("back-forward-cache",i.navigationId,i.navigationInteractionId,i.navigationURL,la())}))})};class W3{m;l;h(n){this.m?.(n)}}const md=[2500,4e3],ZI=(e,n={})=>{let r=!1;const a=Ii(n);ql(()=>{let i,l=hi(),u=en("LCP");const d=Gl(n,W3),p=(b,S,x,C,M)=>{u=en("LCP",-1,b,S,x,C,M),i=jt(e,u,md,n.reportAllChanges),r=!1,b==="soft-navigation"&&(l=hi(!0))},m=b=>{d.l&&b.navigationId&&mx(d.l,b),r||i(!0),p("soft-navigation",b.navigationId,b.interactionId,b.name,b.startTime);const S=b.getLargestInteractionContentfulPaint?.();S&&v([S])},v=b=>{n.reportAllChanges||a||(b=b.slice(-1));for(const S of b){if(!S)continue;if(S.entryType==="soft-navigation"){m(S);continue}let x=0,C=[],M=S.startTime;if(S.entryType==="largest-contentful-paint")x=Math.max(S.startTime-Di(),0),d.h(S),C=[S];else if(S.entryType==="interaction-contentful-paint"){const R=S;if(!u.navigationId||"interactionId"in R&&R.interactionId!=u.navigationInteractionId)continue;M=R.largestContentfulPaint?.renderTime||0,x=Math.max(M-S.startTime,0),R.largestContentfulPaint&&(d.h(R.largestContentfulPaint),C=[R.largestContentfulPaint])}M<l.firstHiddenTime&&(u.value=x,u.entries=C,i())}},g=["largest-contentful-paint"];a&&g.push("interaction-contentful-paint","soft-navigation");const w=io(g,v);if(w){i=jt(e,u,md,n.reportAllChanges);const b=["keydown","click","visibilitychange"],S=x=>{if(x.isTrusted&&!r){const C=u.id;gx(()=>{if(!r){if(!a){w.disconnect();for(const M of b)removeEventListener(M,S,{capture:!0})}C===u.id&&(r=!0,i(!0))}})}};for(const x of b)addEventListener(x,S,{capture:!0});ua(x=>{p("back-forward-cache",u.navigationId,u.navigationInteractionId,u.navigationURL,la()),i=jt(e,u,md,n.reportAllChanges),kp(()=>{u.value=performance.now()-x.timeStamp,r=!0,i(!0)})})}})},vd=[800,1800],of=e=>{document.prerendering?ql(()=>of(e)):document.readyState!=="complete"?addEventListener("load",()=>of(e),!0):setTimeout(e)},JI=(e,n={})=>{const r=Ii(n);let a=en("TTFB"),i=jt(e,a,vd,n.reportAllChanges);of(()=>{const l=Sp();if(l){const u=l.responseStart;a.value=Math.max(u-Di(),0),a.entries=[l],i(!0),ua(()=>{a=en("TTFB",0,"back-forward-cache",a.navigationId,a.navigationInteractionId,a.navigationURL,la()),i=jt(e,a,vd,n.reportAllChanges),i(!0)}),r&&io(["soft-navigation"],d=>{d.forEach(p=>{p.navigationId&&(a=en("TTFB",0,"soft-navigation",p.navigationId,p.interactionId,p.name,p.startTime),a.entries=[p],i=jt(e,a,vd,n.reportAllChanges),i(!0))})},n)}})};export{yD as $,G3 as A,Uy as B,Qk as C,Q3 as D,rN as E,nN as F,hN as G,eN as H,kN as I,tN as J,Y3 as K,VS as L,If as M,iN as N,WD as O,J3 as P,PO as Q,oe as R,SN as S,X3 as T,JD as U,kr as V,eI as W,tI as X,GO as Y,HD as Z,CN as _,Pb as a,OD as a$,dM as a0,cM as a1,fM as a2,$0 as a3,XD as a4,pM as a5,hM as a6,lM as a7,uM as a8,dO as a9,tO as aA,pO as aB,AN as aC,lo as aD,nI as aE,rI as aF,oI as aG,SO as aH,DD as aI,aI as aJ,iI as aK,TD as aL,cO as aM,zN as aN,BN as aO,LN as aP,NN as aQ,pD as aR,BD as aS,lO as aT,rD as aU,WO as aV,KN as aW,GN as aX,iO as aY,qN as aZ,mO as a_,QN as aa,MO as ab,LD as ac,EO as ad,KO as ae,sI as af,lI as ag,uI as ah,bI as ai,rO as aj,CI as ak,pI as al,hI as am,vI as an,y
65I as ao,wI as ap,eO as aq,gI as ar,fO as as,mI as at,xI as au,dI as av,fI as aw,kI as ax,kD as ay,WN as az,zf as b,VI as b$,SI as b0,P_ as b1,M_ as b2,MN as b3,VO as b4,TN as b5,HN as b6,GD as b7,FD as b8,ZD as b9,jI as bA,DO as bB,zI as bC,BI as bD,_O as bE,$O as bF,JO as bG,PD as bH,uO as bI,FO as bJ,ID as bK,sD as bL,$D as bM,zO as bN,XO as bO,ED as bP,BO as bQ,PN as bR,$N as bS,NO as bT,jN as bU,zD as bV,AD as bW,ZN as bX,UI as bY,HI as bZ,WI as b_,_D as ba,vD as bb,OO as bc,wD as bd,yO as be,gO as bf,aD as bg,nD as bh,jO as bi,AO as bj,EI as bk,nO as bl,PI as bm,RI as bn,MI as bo,TI as bp,_I as bq,NI as br,OI as bs,II as bt,LI as bu,AI as bv,$I as bw,oO as bx,FI as by,DI as bz,f as c,ZO as c$,qI as c0,QI as c1,GI as c2,KI as c3,gD as c4,ON as c5,CD as c6,oD as c7,oN as c8,aN as c9,uD as cA,UD as cB,cD as cC,UO as cD,dD as cE,IO as cF,FN as cG,vO as cH,RD as cI,tD as cJ,YN as cK,jD as cL,VD as cM,IN as cN,mD as cO,lD as cP,HO as cQ,YO as cR,RN as cS,eD as cT,_N as cU,xO as cV,TO as cW,Re as cX,LO as cY,VN as cZ,sO as c_,uN as ca,lN as cb,r4 as cc,sN as cd,ZI as ce,XI as cf,YI as cg,z3 as ch,JI as ci,q3 as cj,wO as ck,bD as cl,qO as cm,JN as cn,XN as co,EN as cp,DN as cq,QO as cr,cN as cs,bO as ct,CO as cu,YD as cv,RO as cw,KD as cx,MD as cy,UN as cz,vN as d,On as d0,Zt as d1,Zf as d2,Nn as d3,tn as d4,yt as d5,ND as d6,aO as d7,Oe as d8,zt as d9,ce as da,Ny as db,SD as dc,qD as dd,QD as de,iD as df,fD as dg,hD as dh,hO as di,kO as dj,Xf as dk,wf as dl,Qf as dm,xD as dn,qv as e,r0 as f,W4 as g,dN as h,yN as i,P as j,K4 as k,n0 as l,pN as m,F4 as n,Fd as o,j4 as p,gN as q,cf as r,fN as s,V4 as t,mN as u,q4 as v,Yv as w,bN as x,wN as y,xN as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.