PageSourceSearch

https://cozy-affiliate-glow.lovable.app/assets/index-Bwdc4-R3.js

js cozy-affiliate-glow.lovable.app collected 2026-10-03 03:26:44 UTC 463,642 bytes, 196 lines download raw bytes

vendor: 6,111 bytes, lines 1-9
1var lh=e=>{throw TypeError(e)};var Bl=(e,t,n)=>t.has(e)||lh("Cannot "+n);var N=(e,t,n)=>(Bl(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?lh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),W=(e,t,n,r)=>(Bl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Le=(e,t,n)=>(Bl(e,t,"access private method"),n);var ks=(e,t,n,r)=>({set _(o){W(e,t,o,n)},get _(){return N(e,t,r)}});function f1(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Rg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ag={exports:{}},rl={},jg={exports:{}},q={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var ds=Symbol.for("react.element"),h1=Symbol.for("react.portal"),p1=Symbol.for("react.fragment"),m1=Symbol.for("react.strict_mode"),g1=Symbol.for("react.profiler"),y1=Symbol.for("react.provider"),v1=Symbol.for("react.context"),x1=Symbol.for("react.forward_ref"),w1=Symbol.for("react.suspense"),S1=Symbol.for("react.memo"),b1=Symbol.for("react.lazy"),uh=Symbol.iterator;function C1(e){return e===null||typeof e!="object"?null:(e=uh&&e[uh]||e["@@iterator"],typeof e=="function"?e:null)}var Mg={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Dg=Object.assign,Lg={};function Wo(e,t,n){this.props=e,this.context=t,this.refs=Lg,this.updater=n||Mg}Wo.prototype.isReactComponent={};Wo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Wo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function Og(){}Og.prototype=Wo.prototype;function sd(e,t,n){this.props=e,this.context=t,this.refs=Lg,this.updater=n||Mg}var ad=sd.prototype=new Og;ad.constructor=sd;Dg(ad,Wo.prototype);ad.isPureReactComponent=!0;var ch=Array.isArray,_g=Object.prototype.hasOwnProperty,ld={current:null},Ig={key:!0,ref:!0,__self:!0,__source:!0};function Fg(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)_g.call(t,r)&&!Ig.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];o.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:ds,type:e,key:i,ref:s,props:o,_owner:ld.current}}function E1(e,t){return{$$typeof:ds,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function ud(e){return typeof e=="object"&&e!==null&&e.$$typeof===ds}function P1(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var dh=/\/+/g;function $l(e,t){return typeof e=="object"&&e!==null&&e.key!=null?P1(""+e.key):t.toString(36)}function ta(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case ds:case h1:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+$l(s,0):r,ch(o)?(n="",e!=null&&(n=e.replace(dh,"$&/")+"/"),ta(o,t,n,"",function(u){return u})):o!=null&&(ud(o)&&(o=E1(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(dh,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",ch(e))for(var a=0;a<e.length;a++){i=e[a];var l=r+$l(i,a);s+=ta(i,t,n,l,o)}else if(l=C1(e),typeof l=="function")for(e=l.call(e),a=0;!(i=e.next()).done;)i=i.value,l=r+$l(i,a++),s+=ta(i,t,n,l,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Ns(e,t,n){if(e==null)return e;var r=[],o=0;return ta(e,r,"","",function(i){return t.call(n,i,o++)}),r}function T1(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Ke={current:null},na={transition:null},k1={ReactCurrentDispatcher:Ke,ReactCurrentBatchConfig:na,ReactCurrentOwner:ld};function Vg(){throw Error("act(...) is not supported in production builds of React.")}q.Children={map:Ns,forEach:function(e,t,n){Ns(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ns(e,function(){t++}),t},toArray:function(e){return Ns(e,function(t){return t})||[]},only:function(e){if(!ud(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};q.Component=Wo;q.Fragment=p1;q.Profiler=g1;q.PureComponent=sd;q.StrictMode=m1;q.Suspense=w1;
vendor: 5,027 bytes, lines 9-25
9q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=k1;q.act=Vg;q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=Dg({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=ld.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)_g.call(t,l)&&!Ig.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:ds,type:e.type,key:o,ref:i,props:r,_owner:s}};q.createContext=function(e){return e={$$typeof:v1,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:y1,_context:e},e.Consumer=e};q.createElement=Fg;q.createFactory=function(e){var t=Fg.bind(null,e);return t.type=e,t};q.createRef=function(){return{current:null}};q.forwardRef=function(e){return{$$typeof:x1,render:e}};q.isValidElement=ud;q.lazy=function(e){return{$$typeof:b1,_payload:{_status:-1,_result:e},_init:T1}};q.memo=function(e,t){return{$$typeof:S1,type:e,compare:t===void 0?null:t}};q.startTransition=function(e){var t=na.transition;na.transition={};try{e()}finally{na.transition=t}};q.unstable_act=Vg;q.useCallback=function(e,t){return Ke.current.useCallback(e,t)};q.useContext=function(e){return Ke.current.useContext(e)};q.useDebugValue=function(){};q.useDeferredValue=function(e){return Ke.current.useDeferredValue(e)};q.useEffect=function(e,t){return Ke.current.useEffect(e,t)};q.useId=function(){return Ke.current.useId()};q.useImperativeHandle=function(e,t,n){return Ke.current.useImperativeHandle(e,t,n)};q.useInsertionEffect=function(e,t){return Ke.current.useInsertionEffect(e,t)};q.useLayoutEffect=function(e,t){return Ke.current.useLayoutEffect(e,t)};q.useMemo=function(e,t){return Ke.current.useMemo(e,t)};q.useReducer=function(e,t,n){return Ke.current.useReducer(e,t,n)};q.useRef=function(e){return Ke.current.useRef(e)};q.useState=function(e){return Ke.current.useState(e)};q.useSyncExternalStore=function(e,t,n){return Ke.current.useSyncExternalStore(e,t,n)};q.useTransition=function(){return Ke.current.useTransition()};q.version="18.3.1";jg.exports=q;var S=jg.exports;const D=Rg(S),zg=f1({__proto__:null,default:D},[S]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var N1=S,R1=Symbol.for("react.element"),A1=Symbol.for("react.fragment"),j1=Object.prototype.hasOwnProperty,M1=N1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,D1={key:!0,ref:!0,__self:!0,__source:!0};function Bg(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)j1.call(t,r)&&!D1.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:R1,type:e,key:i,ref:s,props:o,_owner:M1.current}}rl.Fragment=A1;rl.jsx=Bg;rl.jsxs=Bg;Ag.exports=rl;var y=Ag.exports,$g={exports:{}},ut={},Ug={exports:{}},Wg={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(k,R){var O=k.length;k.push(R);e:for(;0<O;){var H=O-1>>>1,z=k[H];if(0<o(z,R))k[H]=R,k[O]=z,O=H;else break e}}function n(k){return k.length===0?null:k[0]}function r(k){if(k.length===0)return null;var R=k[0],O=k.pop();if(O!==R){k[0]=O;e:for(var H=0,z=k.length,Q=z>>>1;H<Q;){var X=2*(H+1)-1,we=k[X],De=X+1,ee=k[De];if(0>o(we,O))De<z&&0>o(ee,we)?(k[H]=ee,k[De]=O,H=De):(k[H]=we,k[X]=O,H=X);else if(De<z&&0>o(ee,O))k[H]=ee,k[De]=O,H=De;else break e}}return R}function o(k,R){var O=k.sortIndex-R.sortIndex;return O!==0?O:k.id-R.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],c=1,d=null,f=3,h=!1,w=!1,g=!1,x=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,p=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function v(k){for(var R=n(u);R!==null;){if(R.callback===null)r(u);else if(R.startTime<=k)r(u),R.sortIndex=R.expirationTime,t(l,R);else break;R=n(u)}}function b(k){if(g=!1,v(k),!w)if(n(l)!==null)w=!0,$(C);else{var R=n(u);R!==null&&F(b,R.startTime-k)}}function C(k,R){w=!1,g&&(g=!1,m(T),T=-1),h=!0;var O=f;try{for(v(R),d=n(l);d!==null&&(!(d.expirationTime>R)||k&&!V());){var H=d.callback;
vendor: 1,959 bytes, line 25
25if(typeof H=="function"){d.callback=null,f=d.priorityLevel;var z=H(d.expirationTime<=R);R=e.unstable_now(),typeof z=="function"?d.callback=z:d===n(l)&&r(l),v(R)}else r(l);d=n(l)}if(d!==null)var Q=!0;else{var X=n(u);X!==null&&F(b,X.startTime-R),Q=!1}return Q}finally{d=null,f=O,h=!1}}var E=!1,P=null,T=-1,j=5,M=-1;function V(){return!(e.unstable_now()-M<j)}function _(){if(P!==null){var k=e.unstable_now();M=k;var R=!0;try{R=P(!0,k)}finally{R?G():(E=!1,P=null)}}else E=!1}var G;if(typeof p=="function")G=function(){p(_)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,Y=L.port2;L.port1.onmessage=_,G=function(){Y.postMessage(null)}}else G=function(){x(_,0)};function $(k){P=k,E||(E=!0,G())}function F(k,R){T=x(function(){k(e.unstable_now())},R)}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(k){k.callback=null},e.unstable_continueExecution=function(){w||h||(w=!0,$(C))},e.unstable_forceFrameRate=function(k){0>k||125<k?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):j=0<k?Math.floor(1e3/k):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(k){switch(f){case 1:case 2:case 3:var R=3;break;default:R=f}var O=f;f=R;try{return k()}finally{f=O}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(k,R){switch(k){case 1:case 2:case 3:case 4:case 5:break;default:k=3}var O=f;f=k;try{return R()}finally{f=O}},e.unstable_scheduleCallback=function(k,R,O){var H=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?H+O:H):O=H,k){case 1:var z=-1;break;case 2:z=250;break;case 5:z=1073741823;break;case 4:z=1e4;break;default:z=5e3}
vendor: 4,614 bytes, lines 25-33
25return z=O+z,k={id:c++,callback:R,priorityLevel:k,startTime:O,expirationTime:z,sortIndex:-1},O>H?(k.sortIndex=O,t(u,k),n(l)===null&&k===n(u)&&(g?(m(T),T=-1):g=!0,F(b,O-H))):(k.sortIndex=z,t(l,k),w||h||(w=!0,$(C))),k},e.unstable_shouldYield=V,e.unstable_wrapCallback=function(k){var R=f;return function(){var O=f;f=R;try{return k.apply(this,arguments)}finally{f=O}}}})(Wg);Ug.exports=Wg;var L1=Ug.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var O1=S,at=L1;function A(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var Hg=new Set,Oi={};function Ir(e,t){Mo(e,t),Mo(e+"Capture",t)}function Mo(e,t){for(Oi[e]=t,e=0;e<t.length;e++)Hg.add(t[e])}var dn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ou=Object.prototype.hasOwnProperty,_1=/^[: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]*$/,fh={},hh={};function I1(e){return Ou.call(hh,e)?!0:Ou.call(fh,e)?!1:_1.test(e)?hh[e]=!0:(fh[e]=!0,!1)}function F1(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function V1(e,t,n,r){if(t===null||typeof t>"u"||F1(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Ge(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Me={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Me[e]=new Ge(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Me[t]=new Ge(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Me[e]=new Ge(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Me[e]=new Ge(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Me[e]=new Ge(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Me[e]=new Ge(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Me[e]=new Ge(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Me[e]=new Ge(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Me[e]=new Ge(e,5,!1,e.toLowerCase(),null,!1,!1)});var cd=/[\-:]([a-z])/g;function dd(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(cd,dd);Me[t]=new Ge(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(cd,dd);Me[t]=new Ge(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(cd,dd);Me[t]=new Ge(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Me[e]=new Ge(e,1,!1,e.toLowerCase(),null,!1,!1)});Me.xlinkHref=new Ge("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Me[e]=new Ge(e,1,!1,e.toLowerCase(),null,!0,!0)});function fd(e,t,n,r){var o=Me.hasOwnProperty(t)?Me[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(V1(t,n,o,r)&&(n=null),r||o===null?I1(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var vn=O1.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Rs=Symbol.for("react.element"),Zr=Symbol.for("react.portal"),Jr=Symbol.for("react.fragment"),hd=Symbol.for("react.strict_mode"),_u=Symbol.for("react.profiler"),Kg=Symbol.for("react.provider"),Gg=Symbol.for("react.context"),pd=Symbol.for("react.forward_ref"),Iu=Symbol.for("react.suspense"),Fu=Symbol.for("react.suspense_list"),md=Symbol.for("react.memo"),An=Symbol.for("react.lazy"),Yg=Symbol.for("react.offscreen"),ph=Symbol.iterator;function ni(e){return e===null||typeof e!="object"?null:(e=ph&&e[ph]||e["@@iterator"],typeof e=="function"?e:null)}var pe=Object.assign,Ul;function hi(e){if(Ul===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ul=t&&t[1]||""}return`
34`+Ul+e}var Wl=!1;function Hl(e,t){if(!e||Wl)return"";Wl=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),i=r.stack.split(`
36`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var l=`
37`+o[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Wl=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?hi(e):""}function z1(e){switch(e.tag){case 5:return hi(e.type);case 16:return hi("Lazy");case 13:return hi("Suspense");case 19:return hi("SuspenseList");case 0:case 2:case 15:return e=Hl(e.type,!1),e;case 11:return e=Hl(e.type.render,!1),e;case 1:return e=Hl(e.type,!0),e;default:return""}}function Vu(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Jr:return"Fragment";case Zr:return"Portal";case _u:return"Profiler";case hd:return"StrictMode";case Iu:return"Suspense";case Fu:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Gg:return(e.displayName||"Context")+".Consumer";case Kg:return(e._context.displayName||"Context")+".Provider";case pd:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case md:return t=e.displayName||null,t!==null?t:Vu(e.type)||"Memo";case An:t=e._payload,e=e._init;try{return Vu(e(t))}catch{}}return null}function B1(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Vu(t);case 8:return t===hd?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Xn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Qg(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function $1(e){var t=Qg(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function As(e){e._valueTracker||(e._valueTracker=$1(e))}function qg(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Qg(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function xa(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function zu(e,t){var n=t.checked;return pe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function mh(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Xn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Xg(e,t){t=t.checked,t!=null&&fd(e,"checked",t,!1)}function Bu(e,t){Xg(e,t);var n=Xn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?$u(e,t.type,n):t.hasOwnProperty("defaultValue")&&$u(e,t.type,Xn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function gh(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function $u(e,t,n){(t!=="number"||xa(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var pi=Array.isArray;function go(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Xn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Uu(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(A(91));return pe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function yh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(A(92));if(pi(n)){if(1<n.length)throw Error(A(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Xn(n)}}function Zg(e,t){var n=Xn(t.value),r=Xn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function vh(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Jg(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function Wu(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Jg(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var js,ey=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(js=js||document.createElement("div"),js.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=js.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function _i(e,t){if(t){var n=e.firstChild;
vendor: 9,851 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Si={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},U1=["Webkit","ms","Moz","O"];Object.keys(Si).forEach(function(e){U1.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Si[t]=Si[e]})});function ty(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Si.hasOwnProperty(e)&&Si[e]?(""+t).trim():t+"px"}function ny(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=ty(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var W1=pe({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 Hu(e,t){if(t){if(W1[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(A(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(A(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(t.style!=null&&typeof t.style!="object")throw Error(A(62))}}function Ku(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Gu=null;function gd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Yu=null,yo=null,vo=null;function xh(e){if(e=ps(e)){if(typeof Yu!="function")throw Error(A(280));var t=e.stateNode;t&&(t=ll(t),Yu(e.stateNode,e.type,t))}}function ry(e){yo?vo?vo.push(e):vo=[e]:yo=e}function oy(){if(yo){var e=yo,t=vo;if(vo=yo=null,xh(e),t)for(e=0;e<t.length;e++)xh(t[e])}}function iy(e,t){return e(t)}function sy(){}var Kl=!1;function ay(e,t,n){if(Kl)return e(t,n);Kl=!0;try{return iy(e,t,n)}finally{Kl=!1,(yo!==null||vo!==null)&&(sy(),oy())}}function Ii(e,t){var n=e.stateNode;if(n===null)return null;var r=ll(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(A(231,t,typeof n));return n}var Qu=!1;if(dn)try{var ri={};Object.defineProperty(ri,"passive",{get:function(){Qu=!0}}),window.addEventListener("test",ri,ri),window.removeEventListener("test",ri,ri)}catch{Qu=!1}function H1(e,t,n,r,o,i,s,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var bi=!1,wa=null,Sa=!1,qu=null,K1={onError:function(e){bi=!0,wa=e}};function G1(e,t,n,r,o,i,s,a,l){bi=!1,wa=null,H1.apply(K1,arguments)}function Y1(e,t,n,r,o,i,s,a,l){if(G1.apply(this,arguments),bi){if(bi){var u=wa;bi=!1,wa=null}else throw Error(A(198));Sa||(Sa=!0,qu=u)}}function Fr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function ly(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function wh(e){if(Fr(e)!==e)throw Error(A(188))}function Q1(e){var t=e.alternate;if(!t){if(t=Fr(e),t===null)throw Error(A(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return wh(o),e;if(i===r)return wh(o),t;i=i.sibling}throw Error(A(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(A(189))}}if(n.alternate!==r)throw Error(A(190))}if(n.tag!==3)throw Error(A(188));return n.stateNode.current===n?e:t}function uy(e){return e=Q1(e),e!==null?cy(e):null}function cy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=cy(e);if(t!==null)return t;e=e.sibling}return null}var dy=at.unstable_scheduleCallback,Sh=at.unstable_cancelCallback,q1=at.unstable_shouldYield,X1=at.unstable_requestPaint,xe=at.unstable_now,Z1=at.unstable_getCurrentPriorityLevel,yd=at.unstable_ImmediatePriority,fy=at.unstable_UserBlockingPriority,ba=at.unstable_NormalPriority,J1=at.unstable_LowPriority,hy=at.unstable_IdlePriority,ol=null,Gt=null;function eS(e){if(Gt&&typeof Gt.onCommitFiberRoot=="function")try{Gt.onCommitFiberRoot(ol,e,void 0,(e.current.flags&128)===128)}catch{}}var Dt=Math.clz32?Math.clz32:rS,tS=Math.log,nS=Math.LN2;function rS(e){return e>>>=0,e===0?32:31-(tS(e)/nS|0)|0}var Ms=64,Ds=4194304;function mi(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Ca(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=mi(a):(i&=s,i!==0&&(r=mi(i)))}else s=n&~o,s!==0?r=mi(s):i!==0&&(r=mi(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-Dt(t),o=1<<n,r|=e[n],t&=~o;return r}function oS(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function iS(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-Dt(i),a=1<<s,l=o[s];l===-1?(!(a&n)||a&r)&&(o[s]=oS(a,t)):l<=t&&(e.expiredLanes|=a),i&=~a}}function Xu(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function py(){var e=Ms;return Ms<<=1,!(Ms&4194240)&&(Ms=64),e}function Gl(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function fs(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Dt(t),e[t]=n}function sS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-Dt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function vd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Dt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var ne=0;function my(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var gy,xd,yy,vy,xy,Zu=!1,Ls=[],$n=null,Un=null,Wn=null,Fi=new Map,Vi=new Map,Mn=[],aS="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 bh(e,t){switch(e){case"focusin":case"focusout":$n=null;break;case"dragenter":case"dragleave":Un=null;break;case"mouseover":case"mouseout":Wn=null;break;case"pointerover":case"pointerout":Fi.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Vi.delete(t.pointerId)}}function oi(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=ps(t),t!==null&&xd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function lS(e,t,n,r,o){switch(t){case"focusin":return $n=oi($n,e,t,n,r,o),!0;case"dragenter":return Un=oi(Un,e,t,n,r,o),!0;case"mouseover":return Wn=oi(Wn,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Fi.set(i,oi(Fi.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Vi.set(i,oi(Vi.get(i)||null,e,t,n,r,o)),!0}return!1}function wy(e){var t=yr(e.target);if(t!==null){var n=Fr(t);if(n!==null){if(t=n.tag,t===13){if(t=ly(n),t!==null){e.blockedOn=t,xy(e.priority,function(){yy(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function ra(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=Ju(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);Gu=r,n.target.dispatchEvent(r),Gu=null}else return t=ps(n),t!==null&&xd(t),e.blockedOn=n,!1;t.shift()}return!0}
vendor: 9,445 bytes, line 37
37function Ch(e,t,n){ra(e)&&n.delete(t)}function uS(){Zu=!1,$n!==null&&ra($n)&&($n=null),Un!==null&&ra(Un)&&(Un=null),Wn!==null&&ra(Wn)&&(Wn=null),Fi.forEach(Ch),Vi.forEach(Ch)}function ii(e,t){e.blockedOn===t&&(e.blockedOn=null,Zu||(Zu=!0,at.unstable_scheduleCallback(at.unstable_NormalPriority,uS)))}function zi(e){function t(o){return ii(o,e)}if(0<Ls.length){ii(Ls[0],e);for(var n=1;n<Ls.length;n++){var r=Ls[n];r.blockedOn===e&&(r.blockedOn=null)}}for($n!==null&&ii($n,e),Un!==null&&ii(Un,e),Wn!==null&&ii(Wn,e),Fi.forEach(t),Vi.forEach(t),n=0;n<Mn.length;n++)r=Mn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<Mn.length&&(n=Mn[0],n.blockedOn===null);)wy(n),n.blockedOn===null&&Mn.shift()}var xo=vn.ReactCurrentBatchConfig,Ea=!0;function cS(e,t,n,r){var o=ne,i=xo.transition;xo.transition=null;try{ne=1,wd(e,t,n,r)}finally{ne=o,xo.transition=i}}function dS(e,t,n,r){var o=ne,i=xo.transition;xo.transition=null;try{ne=4,wd(e,t,n,r)}finally{ne=o,xo.transition=i}}function wd(e,t,n,r){if(Ea){var o=Ju(e,t,n,r);if(o===null)ru(e,t,r,Pa,n),bh(e,r);else if(lS(o,e,t,n,r))r.stopPropagation();else if(bh(e,r),t&4&&-1<aS.indexOf(e)){for(;o!==null;){var i=ps(o);if(i!==null&&gy(i),i=Ju(e,t,n,r),i===null&&ru(e,t,r,Pa,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else ru(e,t,r,null,n)}}var Pa=null;function Ju(e,t,n,r){if(Pa=null,e=gd(r),e=yr(e),e!==null)if(t=Fr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=ly(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Pa=e,null}function Sy(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Z1()){case yd:return 1;case fy:return 4;case ba:case J1:return 16;case hy:return 536870912;default:return 16}default:return 16}}var Vn=null,Sd=null,oa=null;function by(){if(oa)return oa;var e,t=Sd,n=t.length,r,o="value"in Vn?Vn.value:Vn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return oa=o.slice(e,1<r?1-r:void 0)}function ia(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Os(){return!0}function Eh(){return!1}function ct(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Os:Eh,this.isPropagationStopped=Eh,this}return pe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Os)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Os)},persist:function(){},isPersistent:Os}),t}var Ho={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},bd=ct(Ho),hs=pe({},Ho,{view:0,detail:0}),fS=ct(hs),Yl,Ql,si,il=pe({},hs,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cd,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==si&&(si&&e.type==="mousemove"?(Yl=e.screenX-si.screenX,Ql=e.screenY-si.screenY):Ql=Yl=0,si=e),Yl)},movementY:function(e){return"movementY"in e?e.movementY:Ql}}),Ph=ct(il),hS=pe({},il,{dataTransfer:0}),pS=ct(hS),mS=pe({},hs,{relatedTarget:0}),ql=ct(mS),gS=pe({},Ho,{animationName:0,elapsedTime:0,pseudoElement:0}),yS=ct(gS),vS=pe({},Ho,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),xS=ct(vS),wS=pe({},Ho,{data:0}),Th=ct(wS),SS={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bS={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"},CS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function ES(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=CS[e])?!!t[e]:!1}function Cd(){return ES}var PS=pe({},hs,{key:function(e){if(e.key){var t=SS[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ia(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?bS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cd,charCode:function(e){return e.type==="keypress"?ia(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ia(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),TS=ct(PS),kS=pe({},il,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),kh=ct(kS),NS=pe({},hs,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cd}),RS=ct(NS),AS=pe({},Ho,{propertyName:0,elapsedTime:0,pseudoElement:0}),jS=ct(AS),MS=pe({},il,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),DS=ct(MS),LS=[9,13,27,32],Ed=dn&&"CompositionEvent"in window,Ci=null;dn&&"documentMode"in document&&(Ci=document.documentMode);var OS=dn&&"TextEvent"in window&&!Ci,Cy=dn&&(!Ed||Ci&&8<Ci&&11>=Ci),Nh=" ",Rh=!1;function Ey(e,t){switch(e){case"keyup":return LS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Py(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var eo=!1;function _S(e,t){switch(e){case"compositionend":return Py(t);case"keypress":return t.which!==32?null:(Rh=!0,Nh);case"textInput":return e=t.data,e===Nh&&Rh?null:e;default:return null}}function IS(e,t){if(eo)return e==="compositionend"||!Ed&&Ey(e,t)?(e=by(),oa=Sd=Vn=null,eo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Cy&&t.locale!=="ko"?null:t.data;default:return null}}var FS={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 Ah(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!FS[e.type]:t==="textarea"}function Ty(e,t,n,r){ry(r),t=Ta(t,"onChange"),0<t.length&&(n=new bd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Ei=null,Bi=null;function VS(e){Iy(e,0)}function sl(e){var t=ro(e);if(qg(t))return e}function zS(e,t){if(e==="change")return t}var ky=!1;if(dn){var Xl;if(dn){var Zl="oninput"in document;if(!Zl){var jh=document.createElement("div");jh.setAttribute("oninput","return;"),Zl=typeof jh.oninput=="function"}Xl=Zl}else Xl=!1;ky=Xl&&(!document.documentMode||9<document.documentMode)}function Mh(){Ei&&(Ei.detachEvent("onpropertychange",Ny),Bi=Ei=null)}function Ny(e){if(e.propertyName==="value"&&sl(Bi)){var t=[];Ty(t,Bi,e,gd(e)),ay(VS,t)}}function BS(e,t,n){e==="focusin"?(Mh(),Ei=t,Bi=n,Ei.attachEvent("onpropertychange",Ny)):e==="focusout"&&Mh()}function $S(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return sl(Bi)}function US(e,t){if(e==="click")return sl(t)}function WS(e,t){if(e==="input"||e==="change")return sl(t)}function HS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ot=typeof Object.is=="function"?Object.is:HS;function $i(e,t){if(Ot(e,t))return!0;
vendor: 4,808 bytes, line 37
37if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!Ou.call(t,o)||!Ot(e[o],t[o]))return!1}return!0}function Dh(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function Lh(e,t){var n=Dh(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Dh(n)}}function Ry(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Ry(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Ay(){for(var e=window,t=xa();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=xa(e.document)}return t}function Pd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function KS(e){var t=Ay(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Ry(n.ownerDocument.documentElement,n)){if(r!==null&&Pd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=Lh(n,i);var s=Lh(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var GS=dn&&"documentMode"in document&&11>=document.documentMode,to=null,ec=null,Pi=null,tc=!1;function Oh(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;tc||to==null||to!==xa(r)||(r=to,"selectionStart"in r&&Pd(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Pi&&$i(Pi,r)||(Pi=r,r=Ta(ec,"onSelect"),0<r.length&&(t=new bd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=to)))}function _s(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var no={animationend:_s("Animation","AnimationEnd"),animationiteration:_s("Animation","AnimationIteration"),animationstart:_s("Animation","AnimationStart"),transitionend:_s("Transition","TransitionEnd")},Jl={},jy={};dn&&(jy=document.createElement("div").style,"AnimationEvent"in window||(delete no.animationend.animation,delete no.animationiteration.animation,delete no.animationstart.animation),"TransitionEvent"in window||delete no.transitionend.transition);function al(e){if(Jl[e])return Jl[e];if(!no[e])return e;var t=no[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in jy)return Jl[e]=t[n];return e}var My=al("animationend"),Dy=al("animationiteration"),Ly=al("animationstart"),Oy=al("transitionend"),_y=new Map,_h="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 ir(e,t){_y.set(e,t),Ir(t,[e])}for(var eu=0;eu<_h.length;eu++){var tu=_h[eu],YS=tu.toLowerCase(),QS=tu[0].toUpperCase()+tu.slice(1);ir(YS,"on"+QS)}ir(My,"onAnimationEnd");ir(Dy,"onAnimationIteration");ir(Ly,"onAnimationStart");ir("dblclick","onDoubleClick");ir("focusin","onFocus");ir("focusout","onBlur");ir(Oy,"onTransitionEnd");Mo("onMouseEnter",["mouseout","mouseover"]);Mo("onMouseLeave",["mouseout","mouseover"]);Mo("onPointerEnter",["pointerout","pointerover"]);Mo("onPointerLeave",["pointerout","pointerover"]);Ir("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));
vendor: 4,388 bytes, line 37
37Ir("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Ir("onBeforeInput",["compositionend","keypress","textInput","paste"]);Ir("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Ir("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Ir("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var gi="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(" "),qS=new Set("cancel close invalid load scroll toggle".split(" ").concat(gi));function Ih(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Y1(r,t,void 0,e),e.currentTarget=null}function Iy(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==i&&o.isPropagationStopped())break e;Ih(o,a,u),i=l}else for(s=0;s<r.length;s++){if(a=r[s],l=a.instance,u=a.currentTarget,a=a.listener,l!==i&&o.isPropagationStopped())break e;Ih(o,a,u),i=l}}}if(Sa)throw e=qu,Sa=!1,qu=null,e}function se(e,t){var n=t[sc];n===void 0&&(n=t[sc]=new Set);var r=e+"__bubble";n.has(r)||(Fy(t,e,2,!1),n.add(r))}function nu(e,t,n){var r=0;t&&(r|=4),Fy(n,e,r,t)}var Is="_reactListening"+Math.random().toString(36).slice(2);function Ui(e){if(!e[Is]){e[Is]=!0,Hg.forEach(function(n){n!=="selectionchange"&&(qS.has(n)||nu(n,!1,e),nu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Is]||(t[Is]=!0,nu("selectionchange",!1,t))}}function Fy(e,t,n,r){switch(Sy(t)){case 1:var o=cS;break;case 4:o=dS;break;default:o=wd}n=o.bind(null,t,n,e),o=void 0,!Qu||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function ru(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var l=s.tag;if((l===3||l===4)&&(l=s.stateNode.containerInfo,l===o||l.nodeType===8&&l.parentNode===o))return;s=s.return}for(;a!==null;){if(s=yr(a),s===null)return;if(l=s.tag,l===5||l===6){r=i=s;continue e}a=a.parentNode}}r=r.return}ay(function(){var u=i,c=gd(n),d=[];e:{var f=_y.get(e);if(f!==void 0){var h=bd,w=e;switch(e){case"keypress":if(ia(n)===0)break e;case"keydown":case"keyup":h=TS;break;case"focusin":w="focus",h=ql;break;case"focusout":w="blur",h=ql;break;case"beforeblur":case"afterblur":h=ql;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=Ph;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=pS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=RS;break;case My:case Dy:case Ly:h=yS;break;case Oy:h=jS;break;case"scroll":h=fS;break;case"wheel":h=DS;break;case"copy":case"cut":case"paste":h=xS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=kh}var g=(t&4)!==0,x=!g&&e==="scroll",m=g?f!==null?f+"Capture":null:f;g=[];for(var p=u,v;p!==null;){v=p;var b=v.stateNode;if(v.tag===5&&b!==null&&(v=b,m!==null&&(b=Ii(p,m),b!=null&&g.push(Wi(p,b,v)))),x)break;p=p.return}0<g.length&&(f=new h(f,w,null,n,c),d.push({event:f,listeners:g}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",h=e==="mouseout"||e==="pointerout",f&&n!==Gu&&(w=n.relatedTarget||n.fromElement)&&(yr(w)||w[fn]))break e;if((h||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,h?(w=n.relatedTarget||n.toElement,h=u,w=w?yr(w):null,w!==null&&(x=Fr(w),w!==x||w.tag!==5&&w.tag!==6)&&(w=null)):(h=null,w=u),h!==w)){if(g=Ph,b="onMouseLeave",m="onMouseEnter",p="mouse",(e==="pointerout"||e==="pointerover")&&(g=kh,b="onPointerLeave",m="onPointerEnter",p="pointer"),x=h==null?f:ro(h),v=w==null?f:ro(w),f=new g(b,p+"leave",h,n,c
vendor: 5,464 bytes, lines 37-38
37),f.target=x,f.relatedTarget=v,b=null,yr(c)===u&&(g=new g(m,p+"enter",w,n,c),g.target=v,g.relatedTarget=x,b=g),x=b,h&&w)t:{for(g=h,m=w,p=0,v=g;v;v=Qr(v))p++;for(v=0,b=m;b;b=Qr(b))v++;for(;0<p-v;)g=Qr(g),p--;for(;0<v-p;)m=Qr(m),v--;for(;p--;){if(g===m||m!==null&&g===m.alternate)break t;g=Qr(g),m=Qr(m)}g=null}else g=null;h!==null&&Fh(d,f,h,g,!1),w!==null&&x!==null&&Fh(d,x,w,g,!0)}}e:{if(f=u?ro(u):window,h=f.nodeName&&f.nodeName.toLowerCase(),h==="select"||h==="input"&&f.type==="file")var C=zS;else if(Ah(f))if(ky)C=WS;else{C=$S;var E=BS}else(h=f.nodeName)&&h.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(C=US);if(C&&(C=C(e,u))){Ty(d,C,n,c);break e}E&&E(e,f,u),e==="focusout"&&(E=f._wrapperState)&&E.controlled&&f.type==="number"&&$u(f,"number",f.value)}switch(E=u?ro(u):window,e){case"focusin":(Ah(E)||E.contentEditable==="true")&&(to=E,ec=u,Pi=null);break;case"focusout":Pi=ec=to=null;break;case"mousedown":tc=!0;break;case"contextmenu":case"mouseup":case"dragend":tc=!1,Oh(d,n,c);break;case"selectionchange":if(GS)break;case"keydown":case"keyup":Oh(d,n,c)}var P;if(Ed)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else eo?Ey(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Cy&&n.locale!=="ko"&&(eo||T!=="onCompositionStart"?T==="onCompositionEnd"&&eo&&(P=by()):(Vn=c,Sd="value"in Vn?Vn.value:Vn.textContent,eo=!0)),E=Ta(u,T),0<E.length&&(T=new Th(T,e,null,n,c),d.push({event:T,listeners:E}),P?T.data=P:(P=Py(n),P!==null&&(T.data=P)))),(P=OS?_S(e,n):IS(e,n))&&(u=Ta(u,"onBeforeInput"),0<u.length&&(c=new Th("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=P))}Iy(d,t)})}function Wi(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Ta(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Ii(e,n),i!=null&&r.unshift(Wi(e,i,o)),i=Ii(e,t),i!=null&&r.push(Wi(e,i,o))),e=e.return}return r}function Qr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function Fh(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,l=a.alternate,u=a.stateNode;if(l!==null&&l===r)break;a.tag===5&&u!==null&&(a=u,o?(l=Ii(n,i),l!=null&&s.unshift(Wi(n,l,a))):o||(l=Ii(n,i),l!=null&&s.push(Wi(n,l,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var XS=/\r\n?/g,ZS=/\u0000|\uFFFD/g;function Vh(e){return(typeof e=="string"?e:""+e).replace(XS,`
38`).replace(ZS,"")}function Fs(e,t,n){if(t=Vh(t),Vh(e)!==t&&n)throw Error(A(425))}function ka(){}var nc=null,rc=null;function oc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var ic=typeof setTimeout=="function"?setTimeout:void 0,JS=typeof clearTimeout=="function"?clearTimeout:void 0,zh=typeof Promise=="function"?Promise:void 0,eb=typeof queueMicrotask=="function"?queueMicrotask:typeof zh<"u"?function(e){return zh.resolve(null).then(e).catch(tb)}:ic;function tb(e){setTimeout(function(){throw e})}function ou(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),zi(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);zi(t)}function Hn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Bh(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Ko=Math.random().toString(36).slice(2),Ht="__reactFiber$"+Ko,Hi="__reactProps$"+Ko,fn="__reactContainer$"+Ko,sc="__reactEvents$"+Ko,nb="__reactListeners$"+Ko,rb="__reactHandles$"+Ko;function yr(e){var t=e[Ht];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fn]||n[Ht]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Bh(e);e!==null;){if(n=e[Ht])return n;e=Bh(e)}return t}e=n,n=e.parentNode}return null}function ps(e){return e=e[Ht]||e[fn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ro(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(A(33))}function ll(e){return e[Hi]||null}var ac=[],oo=-1;function sr(e){return{current:e}}function ae(e){0>oo||(e.current=ac[oo],ac[oo]=null,oo--)}function oe(e,t){oo++,ac[oo]=e.current,e.current=t}var Zn={},Be=sr(Zn),Xe=sr(!1),jr=Zn;function Do(e,t){var n=e.type.contextTypes;if(!n)return Zn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function Ze(e){return e=e.childContextTypes,e!=null}function Na(){ae(Xe),ae(Be)}function $h(e,t,n){if(Be.current!==Zn)throw Error(A(168));oe(Be,t),oe(Xe,n)}function Vy(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(A(108,B1(e)||"Unknown",o));return pe({},n,r)}function Ra(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Zn,jr=Be.current,oe(Be,e),oe(Xe,Xe.current),!0}
vendor: 13,948 bytes, line 38
38function Uh(e,t,n){var r=e.stateNode;if(!r)throw Error(A(169));n?(e=Vy(e,t,jr),r.__reactInternalMemoizedMergedChildContext=e,ae(Xe),ae(Be),oe(Be,e)):ae(Xe),oe(Xe,n)}var rn=null,ul=!1,iu=!1;function zy(e){rn===null?rn=[e]:rn.push(e)}function ob(e){ul=!0,zy(e)}function ar(){if(!iu&&rn!==null){iu=!0;var e=0,t=ne;try{var n=rn;for(ne=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}rn=null,ul=!1}catch(o){throw rn!==null&&(rn=rn.slice(e+1)),dy(yd,ar),o}finally{ne=t,iu=!1}}return null}var io=[],so=0,Aa=null,ja=0,mt=[],gt=0,Mr=null,sn=1,an="";function hr(e,t){io[so++]=ja,io[so++]=Aa,Aa=e,ja=t}function By(e,t,n){mt[gt++]=sn,mt[gt++]=an,mt[gt++]=Mr,Mr=e;var r=sn;e=an;var o=32-Dt(r)-1;r&=~(1<<o),n+=1;var i=32-Dt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,sn=1<<32-Dt(t)+o|n<<o|r,an=i+e}else sn=1<<i|n<<o|r,an=e}function Td(e){e.return!==null&&(hr(e,1),By(e,1,0))}function kd(e){for(;e===Aa;)Aa=io[--so],io[so]=null,ja=io[--so],io[so]=null;for(;e===Mr;)Mr=mt[--gt],mt[gt]=null,an=mt[--gt],mt[gt]=null,sn=mt[--gt],mt[gt]=null}var ot=null,rt=null,ce=!1,Mt=null;function $y(e,t){var n=yt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Wh(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,ot=e,rt=Hn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,ot=e,rt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Mr!==null?{id:sn,overflow:an}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=yt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,ot=e,rt=null,!0):!1;default:return!1}}function lc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function uc(e){if(ce){var t=rt;if(t){var n=t;if(!Wh(e,t)){if(lc(e))throw Error(A(418));t=Hn(n.nextSibling);var r=ot;t&&Wh(e,t)?$y(r,n):(e.flags=e.flags&-4097|2,ce=!1,ot=e)}}else{if(lc(e))throw Error(A(418));e.flags=e.flags&-4097|2,ce=!1,ot=e}}}function Hh(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;ot=e}function Vs(e){if(e!==ot)return!1;if(!ce)return Hh(e),ce=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!oc(e.type,e.memoizedProps)),t&&(t=rt)){if(lc(e))throw Uy(),Error(A(418));for(;t;)$y(e,t),t=Hn(t.nextSibling)}if(Hh(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(A(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){rt=Hn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}rt=null}}else rt=ot?Hn(e.stateNode.nextSibling):null;return!0}function Uy(){for(var e=rt;e;)e=Hn(e.nextSibling)}function Lo(){rt=ot=null,ce=!1}function Nd(e){Mt===null?Mt=[e]:Mt.push(e)}var ib=vn.ReactCurrentBatchConfig;function ai(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(A(309));var r=n.stateNode}if(!r)throw Error(A(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(A(284));if(!n._owner)throw Error(A(290,e))}return e}function zs(e,t){throw e=Object.prototype.toString.call(t),Error(A(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Kh(e){var t=e._init;return t(e._payload)}function Wy(e){function t(m,p){if(e){var v=m.deletions;v===null?(m.deletions=[p],m.flags|=16):v.push(p)}}function n(m,p){if(!e)return null;for(;p!==null;)t(m,p),p=p.sibling;return null}function r(m,p){for(m=new Map;p!==null;)p.key!==null?m.set(p.key,p):m.set(p.index,p),p=p.sibling;return m}function o(m,p){return m=Qn(m,p),m.index=0,m.sibling=null,m}function i(m,p,v){return m.index=v,e?(v=m.alternate,v!==null?(v=v.index,v<p?(m.flags|=2,p):v):(m.flags|=2,p)):(m.flags|=1048576,p)}function s(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,p,v,b){return p===null||p.tag!==6?(p=fu(v,m.mode,b),p.return=m,p):(p=o(p,v),p.return=m,p)}function l(m,p,v,b){var C=v.type;return C===Jr?c(m,p,v.props.children,b,v.key):p!==null&&(p.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===An&&Kh(C)===p.type)?(b=o(p,v.props),b.ref=ai(m,p,v),b.return=m,b):(b=fa(v.type,v.key,v.props,null,m.mode,b),b.ref=ai(m,p,v),b.return=m,b)}function u(m,p,v,b){return p===null||p.tag!==4||p.stateNode.containerInfo!==v.containerInfo||p.stateNode.implementation!==v.implementation?(p=hu(v,m.mode,b),p.return=m,p):(p=o(p,v.children||[]),p.return=m,p)}function c(m,p,v,b,C){return p===null||p.tag!==7?(p=Rr(v,m.mode,b,C),p.return=m,p):(p=o(p,v),p.return=m,p)}function d(m,p,v){if(typeof p=="string"&&p!==""||typeof p=="number")return p=fu(""+p,m.mode,v),p.return=m,p;if(typeof p=="object"&&p!==null){switch(p.$$typeof){case Rs:return v=fa(p.type,p.key,p.props,null,m.mode,v),v.ref=ai(m,null,p),v.return=m,v;case Zr:return p=hu(p,m.mode,v),p.return=m,p;case An:var b=p._init;return d(m,b(p._payload),v)}if(pi(p)||ni(p))return p=Rr(p,m.mode,v,null),p.return=m,p;zs(m,p)}return null}function f(m,p,v,b){var C=p!==null?p.key:null;if(typeof v=="string"&&v!==""||typeof v=="number")return C!==null?null:a(m,p,""+v,b);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case Rs:return v.key===C?l(m,p,v,b):null;case Zr:return v.key===C?u(m,p,v,b):null;case An:return C=v._init,f(m,p,C(v._payload),b)}if(pi(v)||ni(v))return C!==null?null:c(m,p,v,b,null);zs(m,v)}return null}function h(m,p,v,b,C){if(typeof b=="string"&&b!==""||typeof b=="number")return m=m.get(v)||null,a(p,m,""+b,C);if(typeof b=="object"&&b!==null){switch(b.$$typeof){case Rs:return m=m.get(b.key===null?v:b.key)||null,l(p,m,b,C);case Zr:return m=m.get(b.key===null?v:b.key)||null,u(p,m,b,C);case An:var E=b._init;return h(m,p,v,E(b._payload),C)}if(pi(b)||ni(b))return m=m.get(v)||null,c(p,m,b,C,null);zs(p,b)}return null}function w(m,p,v,b){for(var C=null,E=null,P=p,T=p=0,j=null;P!==null&&T<v.length;T++){P.index>T?(j=P,P=null):j=P.sibling;var M=f(m,P,v[T],b);if(M===null){P===null&&(P=j);break}e&&P&&M.alternate===null&&t(m,P),p=i(M,p,T),E===null?C=M:E.sibling=M,E=M,P=j}if(T===v.length)return n(m,P),ce&&hr(m,T),C;if(P===null){for(;T<v.length;T++)P=d(m,v[T],b),P!==null&&(p=i(P,p,T),E===null?C=P:E.sibling=P,E=P);return ce&&hr(m,T),C}for(P=r(m,P);T<v.length;T++)j=h(P,m,T,v[T],b),j!==null&&(e&&j.alternate!==null&&P.delete(j.key===null?T:j.key),p=i(j,p,T),E===null?C=j:E.sibling=j,E=j);return e&&P.forEach(function(V){return t(m,V)}),ce&&hr(m,T),C}function g(m,p,v,b){var C=ni(v);if(typeof C!="function")throw Error(A(150));if(v=C.call(v),v==null)throw Error(A(151));for(var E=C=null,P=p,T=p=0,j=null,M=v.next();P!==null&&!M.done;T++,M=v.next()){P.index>T?(j=P,P=null):j=P.sibling;var V=f(m,P,M.value,b);if(V===null){P===null&&(P=j);break}e&&P&&V.alternate===null&&t(m,P),p=i(V,p,T),E===null?C=V:E.sibling=V,E=V,P=j}if(M.done)return n(m,P),ce&&hr(m,T),C;if(P===null){for(;!M.done;T++,M=v.next())M=d(m,M.value,b),M!==null&&(p=i(M,p,T),E===null?C=M:E.sibling=M,E=M);return ce&&hr(m,T),C}for(P=r(m,P);!M.done;T++,M=v.next())M=h(P,m,T,M.value,b),M!==null&&(e&&M.alternate!==null&&P.delete(M.key===null?T:M.key),p=i(M,p,T),E===null?C=M:E.sibling=M,E=M);return e&&P.forEach(function(_){return t(m,_)}),ce&&hr(m,T),C}function x(m,p,v,b){if(typeof v=="object"&&v!==null&&v.type===Jr&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Rs:e:{for(var C=v.key,E=p;E!==null;){if(E.key===C){if(C=v.type,C===Jr){if(E.tag===7){n(m,E.sibling),p=o(E,v.props.children),p.return=m,m=p;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===An&&Kh(C)===E.type){n(m,E.sibling),p=o(E,v.props),p.ref=ai(m,E,v),p.return=m,m=p;break e}n(m,E);break}else t(m,E);E=E.sibling}v.type===Jr?(p=Rr(v.props.children,m.mode,b,v.key),p.return=m,m=p):(b=fa(v.type,v.key,v.props,null,m.mode,b),b.ref=ai(m,p,v),b.return=m,m=b)}return s(m);case Zr:e:{for(E=v.key;p!==null;){if(p.key===E)if(p.tag===4&&p.stateNode.containerInfo===v.containerInfo&&p.stateNode.implementation===v.implementation){n(m,p.sibling),p=o(p,v.children||[]),p.return=m,m=p;break e}else{n(m,p);break}else t(m,p);p=p.sibling}p=hu(v,m.mode,b),p.return=m,m=p}return s(m);case An:return E=v._init,x(m,p,E(v._payload),b)}if(pi(v))return w(m,p,v,b);if(ni(v))return g(m,p,v,b);zs(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"?(v=""+v,p!==null&&p.tag===6?(n(m,p.sibling),p=o(p,v),p.return=m,m=p):(n(m,p),p=fu(v,m.mode,b),p.return=m,m=p),s(m)):n(m,p)}return x}var Oo=Wy(!0),Hy=Wy(!1),Ma=sr(null),Da=null,ao=null,Rd=null;function Ad(){Rd=ao=Da=null}function jd(e){var t=Ma.current;ae(Ma),e._currentValue=t}function cc(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function wo(e,t){Da=e,Rd=ao=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(qe=!0),e.firstContext=null)}function xt(e){var t=e._currentValue;if(Rd!==e)if(e={context:e,memoizedValue:t,next:null},ao===null){if(Da===null)throw Error(A(308));ao=e,Da.dependencies={lanes:0,firstContext:e}}else ao=ao.next=e;return t}var vr=null;function Md(e){vr===null?vr=[e]:vr.push(e)}function Ky(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Md(t)):(n.next=o.next,o.next=n),t.interleaved=n,hn(e,r)}function hn(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var jn=!1;function Dd(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Gy(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ln(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Kn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,hn(e,n)}return o=r.interleaved,o===null?(t.next=t,Md(r)):(t.next=o.next,o.next=t),r.interleaved=t,hn(e,n)}function sa(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vd(e,n)}}function Gh(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function La(e,t,n,r){var o=e.updateQueue;jn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var l=a,u=l.next;l.next=null,s===null?i=u:s.next=u,s=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==s&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(i!==null){var d=o.baseState;s=0,c=u=l=null,a=i;do{var f=a.lane,h=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:h,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var w=e,g=a;switch(f=t,h=n,g.tag){case 1:if(w=g.payload,typeof w=="function"){d=w.call(h,d,f);break e}d=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=g.payload,f=typeof w=="function"?w.call(h,d,f):w,f==null)break e;d=pe({},d,f);break e;case 2:jn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=o.effects,f===null?o.effects=[a]:f.push(a))}else h={eventTime:h,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=h,l=d):c=c.next=h,s|=f;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;f=a,a=f.next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}while(!0);if(c===null&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);Lr|=s,e.lanes=s,e.memoizedState=d}}function Yh(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(A(191,o));o.call(r)}}}var ms={},Yt=sr(ms),Ki=sr(ms),Gi=sr(ms);function xr(e){if(e===ms)throw Error(A(174));return e}function Ld(e,t){switch(oe(Gi,t),oe(Ki,e),oe(Yt,ms),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:Wu(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=Wu(t,e)}ae(Yt),oe(Yt,t)}function _o(){ae(Yt),ae(Ki),ae(Gi)}function Yy(e){xr(Gi.current);var t=xr(Yt.current),n=Wu(t,e.type);t!==n&&(oe(Ki,e),oe(Yt,n))}function Od(e){Ki.current===e&&(ae(Yt),ae(Ki))}var de=sr(0);function Oa(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var su=[];function _d(){for(var e=0;e<su.length;e++)su[e]._workInProgressVersionPrimary=null;su.length=0}var aa=vn.ReactCurrentDispatcher,au=vn.ReactCurrentBatchConfig,Dr=0,he=null,Ee=null,ke=null,_a=!1,Ti=!1,Yi=0,sb=0;function Oe(){throw Error(A(321))}function Id(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Ot(e[n],t[n]))return!1;return!0}
vendor: 6,747 bytes, line 38
38function Fd(e,t,n,r,o,i){if(Dr=i,he=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,aa.current=e===null||e.memoizedState===null?cb:db,e=n(r,o),Ti){i=0;do{if(Ti=!1,Yi=0,25<=i)throw Error(A(301));i+=1,ke=Ee=null,t.updateQueue=null,aa.current=fb,e=n(r,o)}while(Ti)}if(aa.current=Ia,t=Ee!==null&&Ee.next!==null,Dr=0,ke=Ee=he=null,_a=!1,t)throw Error(A(300));return e}function Vd(){var e=Yi!==0;return Yi=0,e}function Bt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return ke===null?he.memoizedState=ke=e:ke=ke.next=e,ke}function wt(){if(Ee===null){var e=he.alternate;e=e!==null?e.memoizedState:null}else e=Ee.next;var t=ke===null?he.memoizedState:ke.next;if(t!==null)ke=t,Ee=e;else{if(e===null)throw Error(A(310));Ee=e,e={memoizedState:Ee.memoizedState,baseState:Ee.baseState,baseQueue:Ee.baseQueue,queue:Ee.queue,next:null},ke===null?he.memoizedState=ke=e:ke=ke.next=e}return ke}function Qi(e,t){return typeof t=="function"?t(e):t}function lu(e){var t=wt(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var r=Ee,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,l=null,u=i;do{var c=u.lane;if((Dr&c)===c)l!==null&&(l=l.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var d={lane:c,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};l===null?(a=l=d,s=r):l=l.next=d,he.lanes|=c,Lr|=c}u=u.next}while(u!==null&&u!==i);l===null?s=r:l.next=a,Ot(r,t.memoizedState)||(qe=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,he.lanes|=i,Lr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function uu(e){var t=wt(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);Ot(i,t.memoizedState)||(qe=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Qy(){}function qy(e,t){var n=he,r=wt(),o=t(),i=!Ot(r.memoizedState,o);if(i&&(r.memoizedState=o,qe=!0),r=r.queue,zd(Jy.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||ke!==null&&ke.memoizedState.tag&1){if(n.flags|=2048,qi(9,Zy.bind(null,n,r,o,t),void 0,null),Ne===null)throw Error(A(349));Dr&30||Xy(n,t,o)}return o}function Xy(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function Zy(e,t,n,r){t.value=n,t.getSnapshot=r,ev(t)&&tv(e)}function Jy(e,t,n){return n(function(){ev(t)&&tv(e)})}function ev(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Ot(e,n)}catch{return!0}}function tv(e){var t=hn(e,1);t!==null&&Lt(t,e,1,-1)}function Qh(e){var t=Bt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Qi,lastRenderedState:e},t.queue=e,e=e.dispatch=ub.bind(null,he,e),[t.memoizedState,e]}function qi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=he.updateQueue,t===null?(t={lastEffect:null,stores:null},he.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function nv(){return wt().memoizedState}function la(e,t,n,r){var o=Bt();he.flags|=e,o.memoizedState=qi(1|t,n,void 0,r===void 0?null:r)}function cl(e,t,n,r){var o=wt();r=r===void 0?null:r;var i=void 0;if(Ee!==null){var s=Ee.memoizedState;if(i=s.destroy,r!==null&&Id(r,s.deps)){o.memoizedState=qi(t,n,i,r);return}}he.flags|=e,o.memoizedState=qi(1|t,n,i,r)}function qh(e,t){return la(8390656,8,e,t)}function zd(e,t){return cl(2048,8,e,t)}function rv(e,t){return cl(4,2,e,t)}function ov(e,t){return cl(4,4,e,t)}function iv(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function sv(e,t,n){return n=n!=null?n.concat([e]):null,cl(4,4,iv.bind(null,t,e),n)}function Bd(){}function av(e,t){var n=wt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Id(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function lv(e,t){var n=wt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Id(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function uv(e,t,n){return Dr&21?(Ot(n,t)||(n=py(),he.lanes|=n,Lr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,qe=!0),e.memoizedState=n)}function ab(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=au.transition;au.transition={};try{e(!1),t()}finally{ne=n,au.transition=r}}function cv(){return wt().memoizedState}function lb(e,t,n){var r=Yn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},dv(e))fv(t,n);else if(n=Ky(e,t,n,r),n!==null){var o=He();Lt(n,e,r,o),hv(n,t,r)}}function ub(e,t,n){var r=Yn(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(dv(e))fv(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,Ot(a,s)){var l=t.interleaved;l===null?(o.next=o,Md(t)):(o.next=l.next,l.next=o),t.interleaved=o;return}}catch{}finally{}n=Ky(e,t,o,r),n!==null&&(o=He(),Lt(n,e,r,o),hv(n,t,r))}}function dv(e){var t=e.alternate;return e===he||t!==null&&t===he}function fv(e,t){Ti=_a=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function hv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,vd(e,n)}}var Ia={readContext:xt,useCallback:Oe,useContext:Oe,useEffect:Oe,useImperativeHandle:Oe,useInsertionEffect:Oe,useLayoutEffect:Oe,useMemo:Oe,useReducer:Oe,useRef:Oe,useState:Oe,useDebugValue:Oe,useDeferredValue:Oe,useTransition:Oe,useMutableSource:Oe,useSyncExternalStore:Oe,useId:Oe,unstable_isNewReconciler:!1},cb={readContext:xt,useCallback:function(e,t){return Bt().memoizedState=[e,t===void 0?null:t],e},useContext:xt,useEffect:qh,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,la(4194308,4,iv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return la(4194308,4,e,t)},useInsertionEffect:function(e,t){return la(4,2,e,t)},useMemo:function(e,t){var n=Bt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Bt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=lb.bind(null,he,e),[r.memoizedState,e]}
vendor: 4,766 bytes, lines 38-40
38,useRef:function(e){var t=Bt();return e={current:e},t.memoizedState=e},useState:Qh,useDebugValue:Bd,useDeferredValue:function(e){return Bt().memoizedState=e},useTransition:function(){var e=Qh(!1),t=e[0];return e=ab.bind(null,e[1]),Bt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=he,o=Bt();if(ce){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),Ne===null)throw Error(A(349));Dr&30||Xy(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,qh(Jy.bind(null,r,i,e),[e]),r.flags|=2048,qi(9,Zy.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Bt(),t=Ne.identifierPrefix;if(ce){var n=an,r=sn;n=(r&~(1<<32-Dt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Yi++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=sb++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},db={readContext:xt,useCallback:av,useContext:xt,useEffect:zd,useImperativeHandle:sv,useInsertionEffect:rv,useLayoutEffect:ov,useMemo:lv,useReducer:lu,useRef:nv,useState:function(){return lu(Qi)},useDebugValue:Bd,useDeferredValue:function(e){var t=wt();return uv(t,Ee.memoizedState,e)},useTransition:function(){var e=lu(Qi)[0],t=wt().memoizedState;return[e,t]},useMutableSource:Qy,useSyncExternalStore:qy,useId:cv,unstable_isNewReconciler:!1},fb={readContext:xt,useCallback:av,useContext:xt,useEffect:zd,useImperativeHandle:sv,useInsertionEffect:rv,useLayoutEffect:ov,useMemo:lv,useReducer:uu,useRef:nv,useState:function(){return uu(Qi)},useDebugValue:Bd,useDeferredValue:function(e){var t=wt();return Ee===null?t.memoizedState=e:uv(t,Ee.memoizedState,e)},useTransition:function(){var e=uu(Qi)[0],t=wt().memoizedState;return[e,t]},useMutableSource:Qy,useSyncExternalStore:qy,useId:cv,unstable_isNewReconciler:!1};function kt(e,t){if(e&&e.defaultProps){t=pe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function dc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:pe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var dl={isMounted:function(e){return(e=e._reactInternals)?Fr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=He(),o=Yn(e),i=ln(r,o);i.payload=t,n!=null&&(i.callback=n),t=Kn(e,i,o),t!==null&&(Lt(t,e,o,r),sa(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=He(),o=Yn(e),i=ln(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Kn(e,i,o),t!==null&&(Lt(t,e,o,r),sa(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=He(),r=Yn(e),o=ln(n,r);o.tag=2,t!=null&&(o.callback=t),t=Kn(e,o,r),t!==null&&(Lt(t,e,r,n),sa(t,e,r))}};function Xh(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!$i(n,r)||!$i(o,i):!0}function pv(e,t,n){var r=!1,o=Zn,i=t.contextType;return typeof i=="object"&&i!==null?i=xt(i):(o=Ze(t)?jr:Be.current,r=t.contextTypes,i=(r=r!=null)?Do(e,o):Zn),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=dl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Zh(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&dl.enqueueReplaceState(t,t.state,null)}function fc(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Dd(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=xt(i):(i=Ze(t)?jr:Be.current,o.context=Do(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(dc(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&dl.enqueueReplaceState(o,o.state,null),La(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function Io(e,t){try{var n="",r=t;do n+=z1(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function cu(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function hc(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var hb=typeof WeakMap=="function"?WeakMap:Map;function mv(e,t,n){n=ln(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Va||(Va=!0,Cc=r),hc(e,t)},n}
vendor: 9,303 bytes, line 40
40function gv(e,t,n){n=ln(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){hc(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){hc(e,t),typeof r!="function"&&(Gn===null?Gn=new Set([this]):Gn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Jh(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new hb;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=kb.bind(null,e,t,n),t.then(e,e))}function ep(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function tp(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=ln(-1,1),t.tag=2,Kn(n,t,1))),n.lanes|=1),e)}var pb=vn.ReactCurrentOwner,qe=!1;function Ue(e,t,n,r){t.child=e===null?Hy(t,null,n,r):Oo(t,e.child,n,r)}function np(e,t,n,r,o){n=n.render;var i=t.ref;return wo(t,o),r=Fd(e,t,n,r,i,o),n=Vd(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,pn(e,t,o)):(ce&&n&&Td(t),t.flags|=1,Ue(e,t,r,o),t.child)}function rp(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!Qd(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,yv(e,t,i,r,o)):(e=fa(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:$i,n(s,r)&&e.ref===t.ref)return pn(e,t,o)}return t.flags|=1,e=Qn(i,r),e.ref=t.ref,e.return=t,t.child=e}function yv(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if($i(i,r)&&e.ref===t.ref)if(qe=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(qe=!0);else return t.lanes=e.lanes,pn(e,t,o)}return pc(e,t,n,r,o)}function vv(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},oe(uo,tt),tt|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,oe(uo,tt),tt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,oe(uo,tt),tt|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,oe(uo,tt),tt|=r;return Ue(e,t,o,n),t.child}function xv(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function pc(e,t,n,r,o){var i=Ze(n)?jr:Be.current;return i=Do(t,i),wo(t,o),n=Fd(e,t,n,r,i,o),r=Vd(),e!==null&&!qe?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,pn(e,t,o)):(ce&&r&&Td(t),t.flags|=1,Ue(e,t,n,o),t.child)}function op(e,t,n,r,o){if(Ze(n)){var i=!0;Ra(t)}else i=!1;if(wo(t,o),t.stateNode===null)ua(e,t),pv(t,n,r),fc(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=xt(u):(u=Ze(n)?jr:Be.current,u=Do(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof s.getSnapshotBeforeUpdate=="function";d||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Zh(t,s,r,u),jn=!1;var f=t.memoizedState;s.state=f,La(t,r,s,o),l=t.memoizedState,a!==r||f!==l||Xe.current||jn?(typeof c=="function"&&(dc(t,n,c,r),l=t.memoizedState),(a=jn||Xh(t,n,a,r,f,l,u))?(d||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,Gy(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:kt(t.type,a),s.props=u,d=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=xt(l):(l=Ze(n)?jr:Be.current,l=Do(t,l));var h=n.getDerivedStateFromProps;(c=typeof h=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==d||f!==l)&&Zh(t,s,r,l),jn=!1,f=t.memoizedState,s.state=f,La(t,r,s,o);var w=t.memoizedState;a!==d||f!==w||Xe.current||jn?(typeof h=="function"&&(dc(t,n,h,r),w=t.memoizedState),(u=jn||Xh(t,n,u,r,f,w,l)||!1)?(c||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,w,l),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,w,l)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=w),s.props=r,s.state=w,s.context=l,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return mc(e,t,n,r,i,o)}function mc(e,t,n,r,o,i){xv(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&Uh(t,n,!1),pn(e,t,i);r=t.stateNode,pb.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=Oo(t,e.child,null,i),t.child=Oo(t,null,a,i)):Ue(e,t,a,i),t.memoizedState=r.state,o&&Uh(t,n,!0),t.child}function wv(e){var t=e.stateNode;t.pendingContext?$h(e,t.pendingContext,t.pendingContext!==t.context):t.context&&$h(e,t.context,!1),Ld(e,t.containerInfo)}function ip(e,t,n,r,o){return Lo(),Nd(o),t.flags|=256,Ue(e,t,n,r),t.child}var gc={dehydrated:null,treeContext:null,retryLane:0};function yc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Sv(e,t,n){var r=t.pendingProps,o=de.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),oe(de,o&1),e===null)return uc(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=pl(s,r,0,null),e=Rr(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=yc(n),t.memoizedState=gc,e):$d(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return mb(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var l={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=Qn(o,l),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Qn(a,i):(i=Rr(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?yc(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=gc,r}return i=e.child,e=i.sibling,r=Qn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function $d(e,t){return t=pl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Bs(e,t,n,r){return r!==null&&Nd(r),Oo(t,e.child,null,n),e=$d(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function mb(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=cu(Error(A(422))),Bs(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=pl({mode:"visible",children:r.children},o,0,null),i=Rr(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&Oo(t,e.child,null,s),t.child.memoizedState=yc(s),t.memoizedState=gc,i);if(!(t.mode&1))return Bs(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(A(419)),r=cu(i,r,void 0),Bs(e,t,s,r)}if(a=(s&e.childLanes)!==0,qe||a){if(r=Ne,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,hn(e,o),Lt(r,e,o,-1))}return Yd(),r=cu(Error(A(421))),Bs(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=Nb.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,rt=Hn(o.nextSibling),ot=t,ce=!0,Mt=null,e!==null&&(mt[gt++]=sn,mt[gt++]=an,mt[gt++]=Mr,sn=e.id,an=e.overflow,Mr=t),t=$d(t,r.children),t.flags|=4096,t)}
vendor: 6,286 bytes, line 40
40function sp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),cc(e.return,t,n)}function du(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function bv(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Ue(e,t,r.children,n),r=de.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&sp(e,n,t);else if(e.tag===19)sp(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(oe(de,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Oa(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),du(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Oa(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}du(t,!0,n,null,i);break;case"together":du(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ua(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function pn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Lr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(A(153));if(t.child!==null){for(e=t.child,n=Qn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Qn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function gb(e,t,n){switch(t.tag){case 3:wv(t),Lo();break;case 5:Yy(t);break;case 1:Ze(t.type)&&Ra(t);break;case 4:Ld(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;oe(Ma,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(oe(de,de.current&1),t.flags|=128,null):n&t.child.childLanes?Sv(e,t,n):(oe(de,de.current&1),e=pn(e,t,n),e!==null?e.sibling:null);oe(de,de.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return bv(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),oe(de,de.current),r)break;return null;case 22:case 23:return t.lanes=0,vv(e,t,n)}return pn(e,t,n)}var Cv,vc,Ev,Pv;Cv=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};vc=function(){};Ev=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,xr(Yt.current);var i=null;switch(n){case"input":o=zu(e,o),r=zu(e,r),i=[];break;case"select":o=pe({},o,{value:void 0}),r=pe({},r,{value:void 0}),i=[];break;case"textarea":o=Uu(e,o),r=Uu(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=ka)}Hu(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Oi.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var l=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||l&&l.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in l)l.hasOwnProperty(s)&&a[s]!==l[s]&&(n||(n={}),n[s]=l[s])}else n||(i||(i=[]),i.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(i=i||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(i=i||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Oi.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&se("scroll",e),i||a===l||(i=[])):(i=i||[]).push(u,l))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Pv=function(e,t,n,r){n!==r&&(t.flags|=4)};function li(e,t){if(!ce)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function _e(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function yb(e,t,n){var r=t.pendingProps;switch(kd(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return _e(t),null;case 1:return Ze(t.type)&&Na(),_e(t),null;case 3:return r=t.stateNode,_o(),ae(Xe),ae(Be),_d(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Vs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Mt!==null&&(Tc(Mt),Mt=null))),vc(e,t),_e(t),null;case 5:Od(t);var o=xr(Gi.current);if(n=t.type,e!==null&&t.stateNode!=null)Ev(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(A(166));return _e(t),null}if(e=xr(Yt.current),Vs(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[Ht]=t,r[Hi]=i,e=(t.mode&1)!==0,n){case"dialog":se("cancel",r),se("close",r);break;case"iframe":case"object":case"embed":se("load",r);break;case"video":case"audio":for(o=0;o<gi.length;o++)se(gi[o],r);break;case"source":se("error",r);break;case"img":case"image":case"link":se("error",r),se("load",r);break;case"details":se("toggle",r);break;case"input":mh(r,i),se("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},se("invalid",r);break;case"textarea":yh(r,i),se("invalid",r)}Hu(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];
vendor: 28,864 bytes, line 40
40s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Fs(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Fs(r.textContent,a,e),o=["children",""+a]):Oi.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&se("scroll",r)}switch(n){case"input":As(r),gh(r,i,!0);break;case"textarea":As(r),vh(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=ka)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Jg(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[Ht]=t,e[Hi]=r,Cv(e,t,!1,!1),t.stateNode=e;e:{switch(s=Ku(n,r),n){case"dialog":se("cancel",e),se("close",e),o=r;break;case"iframe":case"object":case"embed":se("load",e),o=r;break;case"video":case"audio":for(o=0;o<gi.length;o++)se(gi[o],e);o=r;break;case"source":se("error",e),o=r;break;case"img":case"image":case"link":se("error",e),se("load",e),o=r;break;case"details":se("toggle",e),o=r;break;case"input":mh(e,r),o=zu(e,r),se("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=pe({},r,{value:void 0}),se("invalid",e);break;case"textarea":yh(e,r),o=Uu(e,r),se("invalid",e);break;default:o=r}Hu(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var l=a[i];i==="style"?ny(e,l):i==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&ey(e,l)):i==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&_i(e,l):typeof l=="number"&&_i(e,""+l):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Oi.hasOwnProperty(i)?l!=null&&i==="onScroll"&&se("scroll",e):l!=null&&fd(e,i,l,s))}switch(n){case"input":As(e),gh(e,r,!1);break;case"textarea":As(e),vh(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Xn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?go(e,!!r.multiple,i,!1):r.defaultValue!=null&&go(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=ka)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return _e(t),null;case 6:if(e&&t.stateNode!=null)Pv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(A(166));if(n=xr(Gi.current),xr(Yt.current),Vs(t)){if(r=t.stateNode,n=t.memoizedProps,r[Ht]=t,(i=r.nodeValue!==n)&&(e=ot,e!==null))switch(e.tag){case 3:Fs(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Fs(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Ht]=t,t.stateNode=r}return _e(t),null;case 13:if(ae(de),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(ce&&rt!==null&&t.mode&1&&!(t.flags&128))Uy(),Lo(),t.flags|=98560,i=!1;else if(i=Vs(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(A(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(A(317));i[Ht]=t}else Lo(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_e(t),i=!1}else Mt!==null&&(Tc(Mt),Mt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||de.current&1?Te===0&&(Te=3):Yd())),t.updateQueue!==null&&(t.flags|=4),_e(t),null);case 4:return _o(),vc(e,t),e===null&&Ui(t.stateNode.containerInfo),_e(t),null;case 10:return jd(t.type._context),_e(t),null;case 17:return Ze(t.type)&&Na(),_e(t),null;case 19:if(ae(de),i=t.memoizedState,i===null)return _e(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)li(i,!1);else{if(Te!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Oa(e),s!==null){for(t.flags|=128,li(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return oe(de,de.current&1|2),t.child}e=e.sibling}i.tail!==null&&xe()>Fo&&(t.flags|=128,r=!0,li(i,!1),t.lanes=4194304)}else{if(!r)if(e=Oa(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),li(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!ce)return _e(t),null}else 2*xe()-i.renderingStartTime>Fo&&n!==1073741824&&(t.flags|=128,r=!0,li(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=xe(),t.sibling=null,n=de.current,oe(de,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return Gd(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?tt&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function vb(e,t){switch(kd(t),t.tag){case 1:return Ze(t.type)&&Na(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return _o(),ae(Xe),ae(Be),_d(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Od(t),null;case 13:if(ae(de),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));Lo()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ae(de),null;case 4:return _o(),null;case 10:return jd(t.type._context),null;case 22:case 23:return Gd(),null;case 24:return null;default:return null}}var $s=!1,Ve=!1,xb=typeof WeakSet=="function"?WeakSet:Set,I=null;function lo(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ye(e,t,r)}else n.current=null}function xc(e,t,n){try{n()}catch(r){ye(e,t,r)}}var ap=!1;function wb(e,t){if(nc=Ea,e=Ay(),Pd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var h;d!==n||o!==0&&d.nodeType!==3||(a=s+o),d!==i||r!==0&&d.nodeType!==3||(l=s+r),d.nodeType===3&&(s+=d.nodeValue.length),(h=d.firstChild)!==null;)f=d,d=h;for(;;){if(d===e)break t;if(f===n&&++u===o&&(a=s),f===i&&++c===r&&(l=s),(h=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=h}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(rc={focusedElem:e,selectionRange:n},Ea=!1,I=t;I!==null;)if(t=I,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,I=e;else for(;I!==null;){t=I;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var g=w.memoizedProps,x=w.memoizedState,m=t.stateNode,p=m.getSnapshotBeforeUpdate(t.elementType===t.type?g:kt(t.type,g),x);m.__reactInternalSnapshotBeforeUpdate=p}break;case 3:var v=t.stateNode.containerInfo;v.nodeType===1?v.textContent="":v.nodeType===9&&v.documentElement&&v.removeChild(v.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(b){ye(t,t.return,b)}if(e=t.sibling,e!==null){e.return=t.return,I=e;break}I=t.return}return w=ap,ap=!1,w}function ki(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&xc(t,n,i)}o=o.next}while(o!==r)}}function fl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function wc(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Tv(e){var t=e.alternate;t!==null&&(e.alternate=null,Tv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Ht],delete t[Hi],delete t[sc],delete t[nb],delete t[rb])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function kv(e){return e.tag===5||e.tag===3||e.tag===4}function lp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||kv(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Sc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=ka));else if(r!==4&&(e=e.child,e!==null))for(Sc(e,t,n),e=e.sibling;e!==null;)Sc(e,t,n),e=e.sibling}function bc(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(bc(e,t,n),e=e.sibling;e!==null;)bc(e,t,n),e=e.sibling}var Re=null,jt=!1;function Pn(e,t,n){for(n=n.child;n!==null;)Nv(e,t,n),n=n.sibling}function Nv(e,t,n){if(Gt&&typeof Gt.onCommitFiberUnmount=="function")try{Gt.onCommitFiberUnmount(ol,n)}catch{}switch(n.tag){case 5:Ve||lo(n,t);case 6:var r=Re,o=jt;Re=null,Pn(e,t,n),Re=r,jt=o,Re!==null&&(jt?(e=Re,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Re.removeChild(n.stateNode));break;case 18:Re!==null&&(jt?(e=Re,n=n.stateNode,e.nodeType===8?ou(e.parentNode,n):e.nodeType===1&&ou(e,n),zi(e)):ou(Re,n.stateNode));break;case 4:r=Re,o=jt,Re=n.stateNode.containerInfo,jt=!0,Pn(e,t,n),Re=r,jt=o;break;case 0:case 11:case 14:case 15:if(!Ve&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&xc(n,t,s),o=o.next}while(o!==r)}Pn(e,t,n);break;case 1:if(!Ve&&(lo(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){ye(n,t,a)}Pn(e,t,n);break;case 21:Pn(e,t,n);break;case 22:n.mode&1?(Ve=(r=Ve)||n.memoizedState!==null,Pn(e,t,n),Ve=r):Pn(e,t,n);break;default:Pn(e,t,n)}}function up(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new xb),t.forEach(function(r){var o=Rb.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function Et(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:Re=a.stateNode,jt=!1;break e;case 3:Re=a.stateNode.containerInfo,jt=!0;break e;case 4:Re=a.stateNode.containerInfo,jt=!0;break e}a=a.return}if(Re===null)throw Error(A(160));Nv(i,s,o),Re=null,jt=!1;var l=o.alternate;l!==null&&(l.return=null),o.return=null}catch(u){ye(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Rv(t,e),t=t.sibling}function Rv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Et(t,e),Vt(e),r&4){try{ki(3,e,e.return),fl(3,e)}catch(g){ye(e,e.return,g)}try{ki(5,e,e.return)}catch(g){ye(e,e.return,g)}}break;case 1:Et(t,e),Vt(e),r&512&&n!==null&&lo(n,n.return);break;case 5:if(Et(t,e),Vt(e),r&512&&n!==null&&lo(n,n.return),e.flags&32){var o=e.stateNode;try{_i(o,"")}catch(g){ye(e,e.return,g)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&Xg(o,i),Ku(a,s);var u=Ku(a,i);for(s=0;s<l.length;s+=2){var c=l[s],d=l[s+1];c==="style"?ny(o,d):c==="dangerouslySetInnerHTML"?ey(o,d):c==="children"?_i(o,d):fd(o,c,d,u)}switch(a){case"input":Bu(o,i);break;case"textarea":Zg(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;h!=null?go(o,!!i.multiple,h,!1):f!==!!i.multiple&&(i.defaultValue!=null?go(o,!!i.multiple,i.defaultValue,!0):go(o,!!i.multiple,i.multiple?[]:"",!1))}o[Hi]=i}catch(g){ye(e,e.return,g)}}break;case 6:if(Et(t,e),Vt(e),r&4){if(e.stateNode===null)throw Error(A(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(g){ye(e,e.return,g)}}break;case 3:if(Et(t,e),Vt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{zi(t.containerInfo)}catch(g){ye(e,e.return,g)}break;case 4:Et(t,e),Vt(e);break;case 13:Et(t,e),Vt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(Hd=xe())),r&4&&up(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(Ve=(u=Ve)||c,Et(t,e),Ve=u):Et(t,e),Vt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(I=e,c=e.child;c!==null;){for(d=I=c;I!==null;){switch(f=I,h=f.child,f.tag){case 0:case 11:case 14:case 15:ki(4,f,f.return);break;case 1:lo(f,f.return);var w=f.stateNode;if(typeof w.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,w.props=t.memoizedProps,w.state=t.memoizedState,w.componentWillUnmount()}catch(g){ye(r,n,g)}}break;case 5:lo(f,f.return);break;case 22:if(f.memoizedState!==null){dp(d);continue}}h!==null?(h.return=f,I=h):dp(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{o=d.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=d.stateNode,l=d.memoizedProps.style,s=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=ty("display",s))}catch(g){ye(e,e.return,g)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(g){ye(e,e.return,g)}}else if((d.tag!==22&&d.tag!==23||d.memoizedState===null||d===e)&&d.child!==null){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;d.sibling===null;){if(d.return===null||d.return===e)break e;c===d&&(c=null),d=d.return}c===d&&(c=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:Et(t,e),Vt(e),r&4&&up(e);break;case 21:break;default:Et(t,e),Vt(e)}}function Vt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(kv(n)){var r=n;break e}n=n.return}throw Error(A(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(_i(o,""),r.flags&=-33);var i=lp(e);bc(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=lp(e);Sc(e,a,s);break;default:throw Error(A(161))}}catch(l){ye(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Sb(e,t,n){I=e,Av(e)}function Av(e,t,n){for(var r=(e.mode&1)!==0;I!==null;){var o=I,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||$s;if(!s){var a=o.alternate,l=a!==null&&a.memoizedState!==null||Ve;a=$s;var u=Ve;if($s=s,(Ve=l)&&!u)for(I=o;I!==null;)s=I,l=s.child,s.tag===22&&s.memoizedState!==null?fp(o):l!==null?(l.return=s,I=l):fp(o);for(;i!==null;)I=i,Av(i),i=i.sibling;I=o,$s=a,Ve=u}cp(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,I=i):cp(e)}}function cp(e){for(;I!==null;){var t=I;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Ve||fl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Ve)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:kt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Yh(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Yh(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var l=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":l.autoFocus&&n.focus();break;case"img":l.src&&(n.src=l.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var c=u.memoizedState;if(c!==null){var d=c.dehydrated;d!==null&&zi(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(A(163))}Ve||t.flags&512&&wc(t)}catch(f){ye(t,t.return,f)}}if(t===e){I=null;break}if(n=t.sibling,n!==null){n.return=t.return,I=n;break}I=t.return}}function dp(e){for(;I!==null;){var t=I;if(t===e){I=null;break}var n=t.sibling;if(n!==null){n.return=t.return,I=n;break}I=t.return}}function fp(e){for(;I!==null;){var t=I;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{fl(4,t)}catch(l){ye(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(l){ye(t,o,l)}}var i=t.return;try{wc(t)}catch(l){ye(t,i,l)}break;case 5:var s=t.return;try{wc(t)}catch(l){ye(t,s,l)}}}catch(l){ye(t,t.return,l)}if(t===e){I=null;break}var a=t.sibling;if(a!==null){a.return=t.return,I=a;break}I=t.return}}var bb=Math.ceil,Fa=vn.ReactCurrentDispatcher,Ud=vn.ReactCurrentOwner,vt=vn.ReactCurrentBatchConfig,Z=0,Ne=null,Se=null,je=0,tt=0,uo=sr(0),Te=0,Xi=null,Lr=0,hl=0,Wd=0,Ni=null,Qe=null,Hd=0,Fo=1/0,nn=null,Va=!1,Cc=null,Gn=null,Us=!1,zn=null,za=0,Ri=0,Ec=null,ca=-1,da=0;function He(){return Z&6?xe():ca!==-1?ca:ca=xe()}function Yn(e){return e.mode&1?Z&2&&je!==0?je&-je:ib.transition!==null?(da===0&&(da=py()),da):(e=ne,e!==0||(e=window.event,e=e===void 0?16:Sy(e.type)),e):1}function Lt(e,t,n,r){if(50<Ri)throw Ri=0,Ec=null,Error(A(185));fs(e,n,r),(!(Z&2)||e!==Ne)&&(e===Ne&&(!(Z&2)&&(hl|=n),Te===4&&Dn(e,je)),Je(e,r),n===1&&Z===0&&!(t.mode&1)&&(Fo=xe()+500,ul&&ar()))}function Je(e,t){var n=e.callbackNode;iS(e,t);var r=Ca(e,e===Ne?je:0);if(r===0)n!==null&&Sh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Sh(n),t===1)e.tag===0?ob(hp.bind(null,e)):zy(hp.bind(null,e)),eb(function(){!(Z&6)&&ar()}),n=null;else{switch(my(r)){case 1:n=yd;break;case 4:n=fy;break;case 16:n=ba;break;case 536870912:n=hy;break;default:n=ba}n=Fv(n,jv.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function jv(e,t){if(ca=-1,da=0,Z&6)throw Error(A(327));var n=e.callbackNode;if(So()&&e.callbackNode!==n)return null;var r=Ca(e,e===Ne?je:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Ba(e,r);else{t=r;var o=Z;Z|=2;var i=Dv();(Ne!==e||je!==t)&&(nn=null,Fo=xe()+500,Nr(e,t));do try{Pb();break}catch(a){Mv(e,a)}while(!0);Ad(),Fa.current=i,Z=o,Se!==null?t=0:(Ne=null,je=0,t=Te)}if(t!==0){if(t===2&&(o=Xu(e),o!==0&&(r=o,t=Pc(e,o))),t===1)throw n=Xi,Nr(e,0),Dn(e,r),Je(e,xe()),n;if(t===6)Dn(e,r);else{if(o=e.current.alternate,!(r&30)&&!Cb(o)&&(t=Ba(e,r),t===2&&(i=Xu(e),i!==0&&(r=i,t=Pc(e,i))),t===1))throw n=Xi,Nr(e,0),Dn(e,r),Je(e,xe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(A(345));case 2:pr(e,Qe,nn);break;case 3:if(Dn(e,r),(r&130023424)===r&&(t=Hd+500-xe(),10<t)){if(Ca(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){He(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ic(pr.bind(null,e,Qe,nn),t);break}pr(e,Qe,nn);break;case 4:if(Dn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-Dt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=xe()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*bb(r/1960))-r,10<r){e.timeoutHandle=ic(pr.bind(null,e,Qe,nn),r);break}pr(e,Qe,nn);break;case 5:pr(e,Qe,nn);break;default:throw Error(A(329))}}}return Je(e,xe()),e.callbackNode===n?jv.bind(null,e):null}function Pc(e,t){var n=Ni;return e.current.memoizedState.isDehydrated&&(Nr(e,t).flags|=256),e=Ba(e,t),e!==2&&(t=Qe,Qe=n,t!==null&&Tc(t)),e}function Tc(e){Qe===null?Qe=e:Qe.push.apply(Qe,e)}function Cb(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!Ot(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Dn(e,t){for(t&=~Wd,t&=~hl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Dt(t),r=1<<n;e[n]=-1,t&=~r}}function hp(e){if(Z&6)throw Error(A(327));So();var t=Ca(e,0);if(!(t&1))return Je(e,xe()),null;var n=Ba(e,t);if(e.tag!==0&&n===2){var r=Xu(e);r!==0&&(t=r,n=Pc(e,r))}if(n===1)throw n=Xi,Nr(e,0),Dn(e,t),Je(e,xe()),n;if(n===6)throw Error(A(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,pr(e,Qe,nn),Je(e,xe()),null}function Kd(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(Fo=xe()+500,ul&&ar())}}function Or(e){zn!==null&&zn.tag===0&&!(Z&6)&&So();var t=Z;Z|=1;var n=vt.transition,r=ne;try{if(vt.transition=null,ne=1,e)return e()}finally{ne=r,vt.transition=n,Z=t,!(Z&6)&&ar()}}function Gd(){tt=uo.current,ae(uo)}function Nr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,JS(n)),Se!==null)for(n=Se.return;n!==null;){var r=n;switch(kd(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Na();break;case 3:_o(),ae(Xe),ae(Be),_d();break;case 5:Od(r);break;case 4:_o();break;case 13:ae(de);break;case 19:ae(de);break;case 10:jd(r.type._context);break;case 22:case 23:Gd()}n=n.return}if(Ne=e,Se=e=Qn(e.current,null),je=tt=t,Te=0,Xi=null,Wd=hl=Lr=0,Qe=Ni=null,vr!==null){for(t=0;t<vr.length;t++)if(n=vr[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}vr=null}return e}function Mv(e,t){do{var n=Se;try{if(Ad(),aa.current=Ia,_a){for(var r=he.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}_a=!1}if(Dr=0,ke=Ee=he=null,Ti=!1,Yi=0,Ud.current=null,n===null||n.return===null){Te=1,Xi=t,Se=null;break}e:{var i=e,s=n.return,a=n,l=t;if(t=je,a.flags|=32768,l!==null&&typeof l=="object"&&typeof l.then=="function"){var u=l,c=a,d=c.tag;if(!(c.mode&1)&&(d===0||d===11||d===15)){var f=c.alternate;f?(c.updateQueue=f.updateQueue,c.memoizedState=f.memoizedState,c.lanes=f.lanes):(c.updateQueue=null,c.memoizedState=null)}var h=ep(s);if(h!==null){h.flags&=-257,tp(h,s,a,i,t),h.mode&1&&Jh(i,u,t),t=h,l=u;var w=t.updateQueue;if(w===null){var g=new Set;g.add(l),t.updateQueue=g}else w.add(l);break e}else{if(!(t&1)){Jh(i,u,t),Yd();break e}l=Error(A(426))}}else if(ce&&a.mode&1){var x=ep(s);if(x!==null){!(x.flags&65536)&&(x.flags|=256),tp(x,s,a,i,t),Nd(Io(l,a));break e}}i=l=Io(l,a),Te!==4&&(Te=2),Ni===null?Ni=[i]:Ni.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var m=mv(i,l,t);Gh(i,m);break e;case 1:a=l;var p=i.type,v=i.stateNode;if(!(i.flags&128)&&(typeof p.getDerivedStateFromError=="function"||v!==null&&typeof v.componentDidCatch=="function"&&(Gn===null||!Gn.has(v)))){i.flags|=65536,t&=-t,i.lanes|=t;var b=gv(i,a,t);Gh(i,b);break e}}i=i.return}while(i!==null)}Ov(n)}catch(C){t=C,Se===n&&n!==null&&(Se=n=n.return);continue}break}while(!0)}function Dv(){var e=Fa.current;return Fa.current=Ia,e===null?Ia:e}function Yd(){(Te===0||Te===3||Te===2)&&(Te=4),Ne===null||!(Lr&268435455)&&!(hl&268435455)||Dn(Ne,je)}function Ba(e,t){var n=Z;Z|=2;var r=Dv();(Ne!==e||je!==t)&&(nn=null,Nr(e,t));do try{Eb();break}catch(o){Mv(e,o)}while(!0);if(Ad(),Z=n,Fa.current=r,Se!==null)throw Error(A(261));return Ne=null,je=0,Te}function Eb(){for(;Se!==null;)Lv(Se)}function Pb(){for(;Se!==null&&!q1();)Lv(Se)}function Lv(e){var t=Iv(e.alternate,e,tt);e.memoizedProps=e.pendingProps,t===null?Ov(e):Se=t,Ud.current=null}function Ov(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=vb(n,t),n!==null){n.flags&=32767,Se=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Te=6,Se=null;return}}else if(n=yb(n,t,tt),n!==null){Se=n;return}if(t=t.sibling,t!==null){Se=t;return}Se=t=e}while(t!==null);Te===0&&(Te=5)}function pr(e,t,n){var r=ne,o=vt.transition;try{vt.transition=null,ne=1,Tb(e,t,n,r)}finally{vt.transition=o,ne=r}return null}function Tb(e,t,n,r){do So();while(zn!==null);if(Z&6)throw Error(A(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(A(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(sS(e,i),e===Ne&&(Se=Ne=null,je=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Us||(Us=!0,Fv(ba,function(){return So(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=vt.transition,vt.transition=null;var s=ne;ne=1;var a=Z;Z|=4,Ud.current=null,wb(e,n),Rv(n,e),KS(rc),Ea=!!nc,rc=nc=null,e.current=n,Sb(n),X1(),Z=a,ne=s,vt.transition=i}else e.current=n;if(Us&&(Us=!1,zn=e,za=o),i=e.pendingLanes,i===0&&(Gn=null),eS(n.stateNode),Je(e,xe()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Va)throw Va=!1,e=Cc,Cc=null,e;return za&1&&e.tag!==0&&So(),i=e.pendingLanes,i&1?e===Ec?Ri++:(Ri=0,Ec=e):Ri=0,ar(),null}function So(){if(zn!==null){var e=my(za),t=vt.transition,n=ne;try{if(vt.transition=null,ne=16>e?16:e,zn===null)var r=!1;else{if(e=zn,zn=null,za=0,Z&6)throw Error(A(331));var o=Z;for(Z|=4,I=e.current;I!==null;){var i=I,s=i.child;if(I.flags&16){var a=i.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(I=u;I!==null;){var c=I;switch(c.tag){case 0:case 11:case 15:ki(8,c,i)}var d=c.child;if(d!==null)d.return=c,I=d;else for(;I!==null;){c=I;var f=c.sibling,h=c.return;if(Tv(c),c===u){I=null;break}if(f!==null){f.return=h,I=f;break}I=h}}}var w=i.alternate;if(w!==null){var g=w.child;if(g!==null){w.child=null;do{var x=g.sibling;g.sibling=null,g=x}while(g!==null)}}I=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,I=s;else e:for(;I!==null;){if(i=I,i.flags&2048)switch(i.tag){case 0:case 11:case 15:ki(9,i,i.return)}var m=i.sibling;if(m!==null){m.return=i.return,I=m;break e}I=i.return}}var p=e.current;for(I=p;I!==null;){s=I;var v=s.child;if(s.subtreeFlags&2064&&v!==null)v.return=s,I=v;else e:for(s=p;I!==null;){if(a=I,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:fl(9,a)}}catch(C){ye(a,a.return,C)}if(a===s){I=null;break e}var b=a.sibling;if(b!==null){b.return=a.return,I=b;break e}I=a.return}}if(Z=o,ar(),Gt&&typeof Gt.onPostCommitFiberRoot=="function")try{Gt.onPostCommitFiberRoot(ol,e)}catch{}r=!0}return r}finally{ne=n,vt.transition=t}}return!1}function pp(e,t,n){t=Io(n,t),t=mv(e,t,1),e=Kn(e,t,1),t=He(),e!==null&&(fs(e,1,t),Je(e,t))}function ye(e,t,n){if(e.tag===3)pp(e,e,n);else for(;t!==null;){if(t.tag===3){pp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Gn===null||!Gn.has(r))){e=Io(n,e),e=gv(t,e,1),t=Kn(t,e,1),e=He(),t!==null&&(fs(t,1,e),Je(t,e));break}}t=t.return}}function kb(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=He(),e.pingedLanes|=e.suspendedLanes&n,Ne===e&&(je&n)===n&&(Te===4||Te===3&&(je&130023424)===je&&500>xe()-Hd?Nr(e,0):Wd|=n),Je(e,t)}function _v(e,t){t===0&&(e.mode&1?(t=Ds,Ds<<=1,!(Ds&130023424)&&(Ds=4194304)):t=1);var n=He();e=hn(e,t),e!==null&&(fs(e,t,n),Je(e,n))}function Nb(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),_v(e,n)}function Rb(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(A(314))}r!==null&&r.delete(t),_v(e,n)}var Iv;Iv=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Xe.current)qe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return qe=!1,gb(e,t,n);qe=!!(e.flags&131072)}else qe=!1,ce&&t.flags&1048576&&By(t,ja,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ua(e,t),e=t.pendingProps;var o=Do(t,Be.current);wo(t,n),o=Fd(null,t,r,e,o,n);var i=Vd();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ze(r)?(i=!0,Ra(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Dd(t),o.updater=dl,t.stateNode=o,o._reactInternals=t,fc(t,r,e,n),t=mc(null,t,r,!0,i,n)):(t.tag=0,ce&&i&&Td(t),Ue(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ua(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=jb(r),e=kt(r,e),o){case 0:t=pc(null,t,r,e,n);break e;case 1:t=op(null,t,r,e,n);break e;case 11:t=np(null,t,r,e,n);break e;case 14:t=rp(null,t,r,kt(r.type,e),n);break e}throw Error(A(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),pc(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),op(e,t,r,o,n);case 3:e:{if(wv(t),e===null)throw Error(A(387));
vendor: 6,944 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,Gy(e,t),La(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=Io(Error(A(423)),t),t=ip(e,t,r,n,o);break e}else if(r!==o){o=Io(Error(A(424)),t),t=ip(e,t,r,n,o);break e}else for(rt=Hn(t.stateNode.containerInfo.firstChild),ot=t,ce=!0,Mt=null,n=Hy(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Lo(),r===o){t=pn(e,t,n);break e}Ue(e,t,r,n)}t=t.child}return t;case 5:return Yy(t),e===null&&uc(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,oc(r,o)?s=null:i!==null&&oc(r,i)&&(t.flags|=32),xv(e,t),Ue(e,t,s,n),t.child;case 6:return e===null&&uc(t),null;case 13:return Sv(e,t,n);case 4:return Ld(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Oo(t,null,r,n):Ue(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),np(e,t,r,o,n);case 7:return Ue(e,t,t.pendingProps,n),t.child;case 8:return Ue(e,t,t.pendingProps.children,n),t.child;case 12:return Ue(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,oe(Ma,r._currentValue),r._currentValue=s,i!==null)if(Ot(i.value,s)){if(i.children===o.children&&!Xe.current){t=pn(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(i.tag===1){l=ln(-1,n&-n),l.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var c=u.pending;c===null?l.next=l:(l.next=c.next,c.next=l),u.pending=l}}i.lanes|=n,l=i.alternate,l!==null&&(l.lanes|=n),cc(i.return,n,t),a.lanes|=n;break}l=l.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(A(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),cc(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Ue(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,wo(t,n),o=xt(o),r=r(o),t.flags|=1,Ue(e,t,r,n),t.child;case 14:return r=t.type,o=kt(r,t.pendingProps),o=kt(r.type,o),rp(e,t,r,o,n);case 15:return yv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:kt(r,o),ua(e,t),t.tag=1,Ze(r)?(e=!0,Ra(t)):e=!1,wo(t,n),pv(t,r,o),fc(t,r,o,n),mc(null,t,r,!0,e,n);case 19:return bv(e,t,n);case 22:return vv(e,t,n)}throw Error(A(156,t.tag))};function Fv(e,t){return dy(e,t)}function Ab(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function yt(e,t,n,r){return new Ab(e,t,n,r)}function Qd(e){return e=e.prototype,!(!e||!e.isReactComponent)}function jb(e){if(typeof e=="function")return Qd(e)?1:0;if(e!=null){if(e=e.$$typeof,e===pd)return 11;if(e===md)return 14}return 2}function Qn(e,t){var n=e.alternate;return n===null?(n=yt(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function fa(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")Qd(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Jr:return Rr(n.children,o,i,t);case hd:s=8,o|=8;break;case _u:return e=yt(12,n,t,o|2),e.elementType=_u,e.lanes=i,e;case Iu:return e=yt(13,n,t,o),e.elementType=Iu,e.lanes=i,e;case Fu:return e=yt(19,n,t,o),e.elementType=Fu,e.lanes=i,e;case Yg:return pl(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Kg:s=10;break e;case Gg:s=9;break e;case pd:s=11;break e;case md:s=14;break e;case An:s=16,r=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=yt(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function Rr(e,t,n,r){return e=yt(7,e,r,t),e.lanes=n,e}function pl(e,t,n,r){return e=yt(22,e,r,t),e.elementType=Yg,e.lanes=n,e.stateNode={isHidden:!1},e}function fu(e,t,n){return e=yt(6,e,null,t),e.lanes=n,e}function hu(e,t,n){return t=yt(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Mb(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Gl(0),this.expirationTimes=Gl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gl(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function qd(e,t,n,r,o,i,s,a,l){return e=new Mb(e,t,n,a,l),t===1?(t=1,i===!0&&(t|=8)):t=0,i=yt(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Dd(i),e}function Db(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Zr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function Vv(e){if(!e)return Zn;e=e._reactInternals;e:{if(Fr(e)!==e||e.tag!==1)throw Error(A(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ze(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(A(171))}if(e.tag===1){var n=e.type;if(Ze(n))return Vy(e,n,t)}return t}function zv(e,t,n,r,o,i,s,a,l){return e=qd(n,r,!0,e,o,i,s,a,l),e.context=Vv(null),n=e.current,r=He(),o=Yn(n),i=ln(r,o),i.callback=t??null,Kn(n,i,o),e.current.lanes=o,fs(e,o,r),Je(e,r),e}function ml(e,t,n,r){var o=t.current,i=He(),s=Yn(o);return n=Vv(n),t.context===null?t.context=n:t.pendingContext=n,t=ln(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Kn(o,t,s),e!==null&&(Lt(e,o,s,i),sa(e,o,s)),s}function $a(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function mp(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Xd(e,t){mp(e,t),(e=e.alternate)&&mp(e,t)}
vendor: 5,752 bytes, line 40
40function Lb(){return null}var Bv=typeof reportError=="function"?reportError:function(e){console.error(e)};function Zd(e){this._internalRoot=e}gl.prototype.render=Zd.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(A(409));ml(e,t,null,null)};gl.prototype.unmount=Zd.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Or(function(){ml(null,e,null,null)}),t[fn]=null}};function gl(e){this._internalRoot=e}gl.prototype.unstable_scheduleHydration=function(e){if(e){var t=vy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Mn.length&&t!==0&&t<Mn[n].priority;n++);Mn.splice(n,0,e),n===0&&wy(e)}};function Jd(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function yl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function gp(){}function Ob(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=$a(s);i.call(u)}}var s=zv(t,r,e,0,null,!1,!1,"",gp);return e._reactRootContainer=s,e[fn]=s.current,Ui(e.nodeType===8?e.parentNode:e),Or(),s}for(;o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=$a(l);a.call(u)}}var l=qd(e,0,!1,null,null,!1,!1,"",gp);return e._reactRootContainer=l,e[fn]=l.current,Ui(e.nodeType===8?e.parentNode:e),Or(function(){ml(t,l,n,r)}),l}function vl(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var l=$a(s);a.call(l)}}ml(t,s,e,o)}else s=Ob(n,t,e,o,r);return $a(s)}gy=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=mi(t.pendingLanes);n!==0&&(vd(t,n|1),Je(t,xe()),!(Z&6)&&(Fo=xe()+500,ar()))}break;case 13:Or(function(){var r=hn(e,1);if(r!==null){var o=He();Lt(r,e,1,o)}}),Xd(e,1)}};xd=function(e){if(e.tag===13){var t=hn(e,134217728);if(t!==null){var n=He();Lt(t,e,134217728,n)}Xd(e,134217728)}};yy=function(e){if(e.tag===13){var t=Yn(e),n=hn(e,t);if(n!==null){var r=He();Lt(n,e,t,r)}Xd(e,t)}};vy=function(){return ne};xy=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}};Yu=function(e,t,n){switch(t){case"input":if(Bu(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ll(r);if(!o)throw Error(A(90));qg(r),Bu(r,o)}}}break;case"textarea":Zg(e,n);break;case"select":t=n.value,t!=null&&go(e,!!n.multiple,t,!1)}};iy=Kd;sy=Or;var _b={usingClientEntryPoint:!1,Events:[ps,ro,ll,ry,oy,Kd]},ui={findFiberByHostInstance:yr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ib={bundleType:ui.bundleType,version:ui.version,rendererPackageName:ui.rendererPackageName,rendererConfig:ui.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:vn.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=uy(e),e===null?null:e.stateNode},findFiberByHostInstance:ui.findFiberByHostInstance||Lb,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ws=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ws.isDisabled&&Ws.supportsFiber)try{ol=Ws.inject(Ib),Gt=Ws}catch{}}ut.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_b;ut.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Jd(t))throw Error(A(200));return Db(e,t,null,n)};ut.createRoot=function(e,t){if(!Jd(e))throw Error(A(299));var n=!1,r="",o=Bv;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=qd(e,1,!1,null,null,n,!1,r,o),e[fn]=t.current,Ui(e.nodeType===8?e.parentNode:e),new Zd(t)};ut.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(A(188)):(e=Object.keys(e).join(","),Error(A(268,e)));return e=uy(t),e=e===null?null:e.stateNode,e};ut.flushSync=function(e){return Or(e)};ut.hydrate=function(e,t,n){if(!yl(t))throw Error(A(200));return vl(null,e,t,!0,n)};ut.hydrateRoot=function(e,t,n){if(!Jd(e))throw Error(A(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=Bv;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=zv(t,null,e,1,n??null,o,!1,i,s),e[fn]=t.current,Ui(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new gl(t)};ut.render=function(e,t,n){if(!yl(t))throw Error(A(200));return vl(null,e,t,!1,n)};ut.unmountComponentAtNode=function(e){if(!yl(e))throw Error(A(40));return e._reactRootContainer?(Or(function(){vl(null,null,e,!1,function(){e._reactRootContainer=null,e[fn]=null})}),!0):!1};ut.unstable_batchedUpdates=Kd;ut.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!yl(n))throw Error(A(200));if(e==null||e._reactInternals===void 0)throw Error(A(38));return vl(e,t,n,!1,r)};ut.version="18.3.1-next-f1338f8080-20240426";function $v(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE($v)}catch(e){console.error(e)}}$v(),$g.exports=ut;
vendor: 18,408 bytes, line 40
40var gs=$g.exports;const Uv=Rg(gs);var Wv,yp=gs;Wv=yp.createRoot,yp.hydrateRoot;var xl=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(){}},wl=typeof window>"u"||"Deno"in globalThis;function Nt(){}function Fb(e,t){return typeof e=="function"?e(t):e}function Vb(e){return typeof e=="number"&&e>=0&&e!==1/0}function zb(e,t){return Math.max(e+(t||0)-Date.now(),0)}function kc(e,t){return typeof e=="function"?e(t):e}function Bb(e,t){return typeof e=="function"?e(t):e}function vp(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==ef(s,t.options))return!1}else if(!Ji(t.queryKey,s))return!1}if(n!=="all"){const l=t.isActive();if(n==="active"&&!l||n==="inactive"&&l)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function xp(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(Zi(t.options.mutationKey)!==Zi(i))return!1}else if(!Ji(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function ef(e,t){return((t==null?void 0:t.queryKeyHashFn)||Zi)(e)}function Zi(e){return JSON.stringify(e,(t,n)=>Nc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function Ji(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>Ji(e[n],t[n])):!1}function Hv(e,t){if(e===t)return e;const n=wp(e)&&wp(t);if(n||Nc(e)&&Nc(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<s;c++){const d=n?c:i[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=Hv(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return o===s&&u===o?e:a}return t}function wp(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function Nc(e){if(!Sp(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Sp(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Sp(e){return Object.prototype.toString.call(e)==="[object Object]"}function $b(e){return new Promise(t=>{setTimeout(t,e)})}function Ub(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Hv(e,t):t}function Wb(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Hb(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var tf=Symbol();function Kv(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===tf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var br,Ln,Eo,Sg,Kb=(Sg=class extends xl{constructor(){super();J(this,br);J(this,Ln);J(this,Eo);W(this,Eo,t=>{if(!wl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,Ln)||this.setEventListener(N(this,Eo))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,Ln))==null||t.call(this),W(this,Ln,void 0))}setEventListener(t){var n;W(this,Eo,t),(n=N(this,Ln))==null||n.call(this),W(this,Ln,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){N(this,br)!==t&&(W(this,br,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,br)=="boolean"?N(this,br):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},br=new WeakMap,Ln=new WeakMap,Eo=new WeakMap,Sg),Gv=new Kb,Po,On,To,bg,Gb=(bg=class extends xl{constructor(){super();J(this,Po,!0);J(this,On);J(this,To);W(this,To,t=>{if(!wl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){N(this,On)||this.setEventListener(N(this,To))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,On))==null||t.call(this),W(this,On,void 0))}setEventListener(t){var n;W(this,To,t),(n=N(this,On))==null||n.call(this),W(this,On,t(this.setOnline.bind(this)))}setOnline(t){N(this,Po)!==t&&(W(this,Po,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return N(this,Po)}},Po=new WeakMap,On=new WeakMap,To=new WeakMap,bg),Ua=new Gb;function Yb(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function Qb(e){return Math.min(1e3*2**e,3e4)}function Yv(e){return(e??"online")==="online"?Ua.isOnline():!0}var Qv=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function pu(e){return e instanceof Qv}function qv(e){let t=!1,n=0,r=!1,o;const i=Yb(),s=g=>{var x;r||(f(new Qv(g)),(x=e.abort)==null||x.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Gv.isFocused()&&(e.networkMode==="always"||Ua.isOnline())&&e.canRun(),c=()=>Yv(e.networkMode)&&e.canRun(),d=g=>{var x;r||(r=!0,(x=e.onSuccess)==null||x.call(e,g),o==null||o(),i.resolve(g))},f=g=>{var x;r||(r=!0,(x=e.onError)==null||x.call(e,g),o==null||o(),i.reject(g))},h=()=>new Promise(g=>{var x;o=m=>{(r||u())&&g(m)},(x=e.onPause)==null||x.call(e)}).then(()=>{var g;o=void 0,r||(g=e.onContinue)==null||g.call(e)}),w=()=>{if(r)return;let g;const x=n===0?e.initialPromise:void 0;try{g=x??e.fn()}catch(m){g=Promise.reject(m)}Promise.resolve(g).then(d).catch(m=>{var E;if(r)return;const p=e.retry??(wl?0:3),v=e.retryDelay??Qb,b=typeof v=="function"?v(n,m):v,C=p===!0||typeof p=="number"&&n<p||typeof p=="function"&&p(n,m);if(t||!C){f(m);return}n++,(E=e.onFail)==null||E.call(e,n,m),$b(b).then(()=>u()?void 0:h()).then(()=>{t?f(m):w()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?w():h().then(w),i)}}var qb=e=>setTimeout(e,0);function Xb(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=qb;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||s()}return l},batchCalls:a=>(...l)=>{i(()=>{a(...l)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var We=Xb(),Cr,Cg,Xv=(Cg=class{constructor(){J(this,Cr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Vb(this.gcTime)&&W(this,Cr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(wl?1/0:5*60*1e3))}clearGcTimeout(){N(this,Cr)&&(clearTimeout(N(this,Cr)),W(this,Cr,void 0))}},Cr=new WeakMap,Cg),ko,Er,pt,Pr,Ie,us,Tr,Rt,tn,Eg,Zb=(Eg=class extends Xv{constructor(t){super();J(this,Rt);J(this,ko);J(this,Er);J(this,pt);J(this,Pr);J(this,Ie);J(this,us);J(this,Tr);W(this,Tr,!1),W(this,us,t.defaultOptions),this.setOptions(t.options),this.observers=[],W(this,Pr,t.client),W(this,pt,N(this,Pr).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,W(this,ko,eC(this.options)),this.state=t.state??N(this,ko),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=N(this,Ie))==null?void 0:t.promise}setOptions(t){this.options={...N(this,us),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,pt).remove(this)}setData(t,n){const r=Ub(this.state.data,t,this.options);return Le(this,Rt,tn).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Le(this,Rt,tn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=N(this,Ie))==null?void 0:r.promise;return(o=N(this,Ie))==null||o.cancel(t),n?n.then(Nt).catch(Nt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(N(this,ko))}isActive(){return this.observers.some(t=>Bb(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===tf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>kc(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!zb(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Ie))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Ie))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),N(this,pt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(N(this,Ie)&&(N(this,Tr)?N(this,Ie).cancel({revert:!0}):N(this,Ie).cancelRetry()),this.scheduleGc()),N(this,pt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Le(this,Rt,tn).call(this,{type:"invalidate"})}fetch(t,n){var u,c,d;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(N(this,Ie))return N(this,Ie).continueRetry(),N(this,Ie).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(h=>h.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,o=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(W(this,Tr,!0),r.signal)})},i=()=>{const f=Kv(this.options,n),w=(()=>{const g={client:N(this,Pr),queryKey:this.queryKey,meta:this.meta};return o(g),g})();return W(this,Tr,!1),this.options.persister?this.options.persister(f,w,this):f(w)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:N(this,Pr),state:this.state,fetchFn:i};return o(f),f})();(u=this.options.behavior)==null||u.onFetch(a,this),W(this,Er,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Le(this,Rt,tn).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var h,w,g,x;pu(f)&&f.silent||Le(this,Rt,tn).call(this,{type:"error",error:f}),pu(f)||((w=(h=N(this,pt).config).onError)==null||w.call(h,f,this),(x=(g=N(this,pt).config).onSettled)==null||x.call(g,this.state.data,f,this)),this.scheduleGc()};return W(this,Ie,qv({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var h,w,g,x;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(m){l(m);return}(w=(h=N(this,pt).config).onSuccess)==null||w.call(h,f,this),(x=(g=N(this,pt).config).onSettled)==null||x.call(g,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,h)=>{Le(this,Rt,tn).call(this,{type:"failed",failureCount:f,error:h})},onPause:()=>{Le(this,Rt,tn).call(this,{type:"pause"})},onContinue:()=>{Le(this,Rt,tn).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),N(this,Ie).start()}},ko=new WeakMap,Er=new WeakMap,pt=new WeakMap,Pr=new WeakMap,Ie=new WeakMap,us=new WeakMap,Tr=new WeakMap,Rt=new WeakSet,tn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Jb(r.data,this.options),fetchMeta:t.meta??null};case"success":return W(this,Er,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return pu(o)&&o.revert&&N(this,Er)?{...N(this,Er),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),We.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),N(this,pt).notify({query:this,type:"updated",action:t})})},Eg);function Jb(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Yv(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function eC(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var $t,Pg,tC=(Pg=class extends xl{constructor(t={}){super();J(this,$t);this.config=t,W(this,$t,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??ef(o,n);let s=this.get(i);return s||(s=new Zb({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){N(this,$t).has(t.queryHash)||(N(this,$t).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,$t).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,$t).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,$t).get(t)}getAll(){return[...N(this,$t).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>vp(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>vp(t,r)):n}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){We.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},$t=new WeakMap,Pg),Ut,$e,kr,Wt,Nn,Tg,nC=(Tg=class extends Xv{constructor(t){super();J(this,Wt);J(this,Ut);J(this,$e);J(this,kr);this.mutationId=t.mutationId,W(this,$e,t.mutationCache),W(this,Ut,[]),this.state=t.state||rC(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){N(this,Ut).includes(t)||(N(this,Ut).push(t),this.clearGcTimeout(),N(this,$e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){W(this,Ut,N(this,Ut).filter(n=>n!==t)),this.scheduleGc(),N(this,$e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,Ut).length||(this.state.status==="pending"?this.scheduleGc():N(this,$e).remove(this))}continue(){var t;return((t=N(this,kr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,l,u,c,d,f,h,w,g,x,m,p,v,b,C,E,P,T;const n=()=>{Le(this,Wt,Nn).call(this,{type:"continue"})};W(this,kr,qv({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(j,M)=>{Le(this,Wt,Nn).call(this,{type:"failed",failureCount:j,error:M})},onPause:()=>{Le(this,Wt,Nn).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,$e).canRun(this)}));const r=this.state.status==="pending",o=!N(this,kr).canStart();try{if(r)n();else{Le(this,Wt,Nn).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=N(this,$e).config).onMutate)==null?void 0:s.call(i,t,this));const M=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));M!==this.state.context&&Le(this,Wt,Nn).call(this,{type:"pending",context:M,variables:t,isPaused:o})}const j=await N(this,kr).start();return await((c=(u=N(this,$e).config).onSuccess)==null?void 0:c.call(u,j,t,this.state.context,this)),await((f=(d=this.options).onSuccess)==null?void 0:f.call(d,j,t,this.state.context)),await((w=(h=N(this,$e).config).onSettled)==null?void 0:w.call(h,j,null,this.state.variables,this.state.context,this)),await((x=(g=this.options).onSettled)==null?void 0:x.call(g,j,null,t,this.state.context)),Le(this,Wt,Nn).call(this,{type:"success",data:j}),j}catch(j){try{throw await((p=(m=N(this,$e).config).onError)==null?void 0:p.call(m,j,t,this.state.context,this)),await((b=(v=this.options).onError)==null?void 0:b.call(v,j,t,this.state.context)),await((E=(C=N(this,$e).config).onSettled)==null?void 0:E.call(C,void 0,j,this.state.variables,this.state.context,this)),await((T=(P=this.options).onSettled)==null?void 0:T.call(P,void 0,j,t,this.state.context)),j}finally{Le(this,Wt,Nn).call(this,{type:"error",error:j})}}finally{N(this,$e).runNext(this)}}},Ut=new WeakMap,$e=new WeakMap,kr=new WeakMap,Wt=new WeakSet,Nn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),We.batch(()=>{N(this,Ut).forEach(r=>{r.onMutationUpdate(t)}),N(this,$e).notify({mutation:this,type:"updated",action:t})})},Tg);function rC(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var on,At,cs,kg,oC=(kg=class extends xl{constructor(t={}){super();
40J(this,on);J(this,At);J(this,cs);this.config=t,W(this,on,new Set),W(this,At,new Map),W(this,cs,0)}build(t,n,r){const o=new nC({mutationCache:this,mutationId:++ks(this,cs)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){N(this,on).add(t);const n=Hs(t);if(typeof n=="string"){const r=N(this,At).get(n);r?r.push(t):N(this,At).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(N(this,on).delete(t)){const n=Hs(t);if(typeof n=="string"){const r=N(this,At).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&N(this,At).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Hs(t);if(typeof n=="string"){const r=N(this,At).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=Hs(t);if(typeof n=="string"){const o=(r=N(this,At).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){We.batch(()=>{N(this,on).forEach(t=>{this.notify({type:"removed",mutation:t})}),N(this,on).clear(),N(this,At).clear()})}getAll(){return Array.from(N(this,on))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>xp(n,r))}findAll(t={}){return this.getAll().filter(n=>xp(t,n))}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return We.batch(()=>Promise.all(t.map(n=>n.continue().catch(Nt))))}},on=new WeakMap,At=new WeakMap,cs=new WeakMap,kg);function Hs(e){var t;return(t=e.options.scope)==null?void 0:t.id}function bp(e){return{onFetch:(t,n)=>{var c,d,f,h,w;const r=t.options,o=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,i=((h=t.state.data)==null?void 0:h.pages)||[],s=((w=t.state.data)==null?void 0:w.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let g=!1;const x=v=>{Object.defineProperty(v,"signal",{enumerable:!0,get:()=>(t.signal.aborted?g=!0:t.signal.addEventListener("abort",()=>{g=!0}),t.signal)})},m=Kv(t.options,t.fetchOptions),p=async(v,b,C)=>{if(g)return Promise.reject();if(b==null&&v.pages.length)return Promise.resolve(v);const P=(()=>{const V={client:t.client,queryKey:t.queryKey,pageParam:b,direction:C?"backward":"forward",meta:t.options.meta};return x(V),V})(),T=await m(P),{maxPages:j}=t.options,M=C?Hb:Wb;return{pages:M(v.pages,T,j),pageParams:M(v.pageParams,b,j)}};if(o&&i.length){const v=o==="backward",b=v?iC:Cp,C={pages:i,pageParams:s},E=b(r,C);a=await p(C,E,v)}else{const v=e??i.length;do{const b=l===0?s[0]??r.initialPageParam:Cp(r,a);if(l>0&&b==null)break;a=await p(a,b),l++}while(l<v)}return a};t.options.persister?t.fetchFn=()=>{var g,x;return(x=(g=t.options).persister)==null?void 0:x.call(g,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function Cp(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function iC(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var me,_n,In,No,Ro,Fn,Ao,jo,Ng,sC=(Ng=class{constructor(e={}){J(this,me);J(this,_n);J(this,In);J(this,No);J(this,Ro);J(this,Fn);J(this,Ao);J(this,jo);W(this,me,e.queryCache||new tC),W(this,_n,e.mutationCache||new oC),W(this,In,e.defaultOptions||{}),W(this,No,new Map),W(this,Ro,new Map),W(this,Fn,0)}mount(){ks(this,Fn)._++,N(this,Fn)===1&&(W(this,Ao,Gv.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,me).onFocus())})),W(this,jo,Ua.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,me).onOnline())})))}unmount(){var e,t;ks(this,Fn)._--,N(this,Fn)===0&&((e=N(this,Ao))==null||e.call(this),W(this,Ao,void 0),(t=N(this,jo))==null||t.call(this),W(this,jo,void 0))}isFetching(e){return N(this,me).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,_n).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,me).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=N(this,me).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(kc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return N(this,me).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=N(this,me).get(r.queryHash),i=o==null?void 0:o.state.data,s=Fb
vendor: 4,093 bytes, lines 40-49
40(t,i);if(s!==void 0)return N(this,me).build(this,r).setData(s,{...n,manual:!0})}setQueriesData(e,t,n){return We.batch(()=>N(this,me).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,me).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,me);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,me);return We.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=We.batch(()=>N(this,me).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(Nt).catch(Nt)}invalidateQueries(e,t={}){return We.batch(()=>(N(this,me).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=We.batch(()=>N(this,me).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(Nt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Nt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=N(this,me).build(this,t);return n.isStaleByTime(kc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Nt).catch(Nt)}fetchInfiniteQuery(e){return e.behavior=bp(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Nt).catch(Nt)}ensureInfiniteQueryData(e){return e.behavior=bp(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ua.isOnline()?N(this,_n).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,me)}getMutationCache(){return N(this,_n)}getDefaultOptions(){return N(this,In)}setDefaultOptions(e){W(this,In,e)}setQueryDefaults(e,t){N(this,No).set(Zi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,No).values()],n={};return t.forEach(r=>{Ji(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){N(this,Ro).set(Zi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,Ro).values()],n={};return t.forEach(r=>{Ji(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,In).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ef(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===tf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,In).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,me).clear(),N(this,_n).clear()}},me=new WeakMap,_n=new WeakMap,In=new WeakMap,No=new WeakMap,Ro=new WeakMap,Fn=new WeakMap,Ao=new WeakMap,jo=new WeakMap,Ng),aC=S.createContext(void 0),lC=({client:e,children:t})=>(S.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),y.jsx(aC.Provider,{value:e,children:t}));/**
41 * @remix-run/router v1.23.0
42 *
43 * Copyright (c) Remix Software Inc.
44 *
45 * This source code is licensed under the MIT license found in the
46 * LICENSE.md file in the root directory of this source tree.
47 *
48 * @license MIT
49 */function es(){return es=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},es.apply(this,arguments)}var Bn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Bn||(Bn={}));const Ep="popstate";function uC(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return Rc("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}
vendor: 4,627 bytes, line 49
49function n(r,o){return typeof o=="string"?o:Wa(o)}return dC(t,n,null,e)}function be(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Zv(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function cC(){return Math.random().toString(36).substr(2,8)}function Pp(e,t){return{usr:e.state,key:e.key,idx:t}}function Rc(e,t,n,r){return n===void 0&&(n=null),es({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Go(t):t,{state:n,key:t&&t.key||r||cC()})}function Wa(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function Go(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function dC(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=Bn.Pop,l=null,u=c();u==null&&(u=0,s.replaceState(es({},s.state,{idx:u}),""));function c(){return(s.state||{idx:null}).idx}function d(){a=Bn.Pop;let x=c(),m=x==null?null:x-u;u=x,l&&l({action:a,location:g.location,delta:m})}function f(x,m){a=Bn.Push;let p=Rc(g.location,x,m);u=c()+1;let v=Pp(p,u),b=g.createHref(p);try{s.pushState(v,"",b)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;o.location.assign(b)}i&&l&&l({action:a,location:g.location,delta:1})}function h(x,m){a=Bn.Replace;let p=Rc(g.location,x,m);u=c();let v=Pp(p,u),b=g.createHref(p);s.replaceState(v,"",b),i&&l&&l({action:a,location:g.location,delta:0})}function w(x){let m=o.location.origin!=="null"?o.location.origin:o.location.href,p=typeof x=="string"?x:Wa(x);return p=p.replace(/ $/,"%20"),be(m,"No window.location.(origin|href) available to create URL for href: "+p),new URL(p,m)}let g={get action(){return a},get location(){return e(o,s)},listen(x){if(l)throw new Error("A history only accepts one active listener");return o.addEventListener(Ep,d),l=x,()=>{o.removeEventListener(Ep,d),l=null}},createHref(x){return t(o,x)},createURL:w,encodeLocation(x){let m=w(x);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:h,go(x){return s.go(x)}};return g}var Tp;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(Tp||(Tp={}));function fC(e,t,n){return n===void 0&&(n="/"),hC(e,t,n,!1)}function hC(e,t,n,r){let o=typeof t=="string"?Go(t):t,i=nf(o.pathname||"/",n);if(i==null)return null;let s=Jv(e);pC(s);let a=null;for(let l=0;a==null&&l<s.length;++l){let u=PC(i);a=CC(s[l],u,r)}return a}function Jv(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let l={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};l.relativePath.startsWith("/")&&(be(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=qn([r,l.relativePath]),c=n.concat(l);i.children&&i.children.length>0&&(be(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Jv(i.children,t,c,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:SC(u,i.index),routesMeta:c})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let l of e0(i.path))o(i,s,l)}),t}function e0(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=e0(r.join("/")),a=[];return a.push(...s.map(l=>l===""?i:[i,l].join("/"))),o&&a.push(...s),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function pC(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:bC(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const mC=/^:[\w-]+$/,gC=3,yC=2,vC=1,xC=10,wC=-2,kp=e=>e==="*";function SC(e,t){let n=e.split("/"),r=n.length;return n.some(kp)&&(r+=wC),t&&(r+=yC),n.filter(o=>!kp(o)).reduce((o,i)=>o+(mC.test(i)?gC:i===""?vC:xC),r)}function bC(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function CC(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=Np({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Np({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 9,412 bytes, lines 49-58
49Object.assign(o,d.params),s.push({params:o,pathname:qn([i,d.pathname]),pathnameBase:RC(qn([i,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(i=qn([i,d.pathnameBase]))}return s}function Np(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=EC(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:h}=c;if(f==="*"){let g=a[d]||"";s=i.slice(0,i.length-g.length).replace(/(.)\/+$/,"$1")}const w=a[d];return h&&!w?u[f]=void 0:u[f]=(w||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function EC(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Zv(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function PC(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Zv(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function nf(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function TC(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?Go(e):e;return{pathname:n?n.startsWith("/")?n:kC(n,t):t,search:AC(r),hash:jC(o)}}function kC(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function mu(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function NC(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function t0(e,t){let n=NC(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function n0(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=Go(e):(o=es({},e),be(!o.pathname||!o.pathname.includes("?"),mu("?","pathname","search",o)),be(!o.pathname||!o.pathname.includes("#"),mu("#","pathname","hash",o)),be(!o.search||!o.search.includes("#"),mu("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let f=s.split("/");for(;f[0]==="..";)f.shift(),d-=1;o.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=TC(o,a),u=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const qn=e=>e.join("/").replace(/\/\/+/g,"/"),RC=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),AC=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,jC=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function MC(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const r0=["post","put","patch","delete"];new Set(r0);const DC=["get",...r0];new Set(DC);/**
50 * React Router v6.30.1
51 *
52 * Copyright (c) Remix Software Inc.
53 *
54 * This source code is licensed under the MIT license found in the
55 * LICENSE.md file in the root directory of this source tree.
56 *
57 * @license MIT
58 */function ts(){return ts=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ts.apply(this,arguments)}const rf=S.createContext(null),LC=S.createContext(null),Vr=S.createContext(null),Sl=S.createContext(null),zr=S.createContext({outlet:null,matches:[],isDataRoute:!1}),o0=S.createContext(null);function OC(e,t){let{relative:n}=t===void 0?{}:t;ys()||be(!1);let{basename:r,navigator:o}=S.useContext(Vr),{hash:i,pathname:s,search:a}=s0(e,{relative:n}),l=s;return r!=="/"&&(l=s==="/"?r:qn([r,s])),o.createHref({pathname:l,search:a,hash:i})}function ys(){return S.useContext(Sl)!=null}function Yo(){return ys()||be(!1),S.useContext(Sl).location}function i0(e){S.useContext(Vr).static||S.useLayoutEffect(e)}function _C(){let{isDataRoute:e}=S.useContext(zr);return e?QC():IC()}function IC(){ys()||be(!1);let e=S.useContext(rf),{basename:t,future:n,navigator:r}=S.useContext(Vr),{matches:o}=S.useContext(zr),{pathname:i}=Yo(),s=JSON.stringify(t0(o,n.v7_relativeSplatPath)),a=S.useRef(!1);return i0(()=>{a.current=!0}),S.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=n0(u,JSON.parse(s),i,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:qn([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,s,i,e])}function s0(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=S.useContext(Vr),{matches:o}=S.useContext(zr),{pathname:i}=Yo(),s=JSON.stringify(t0(o,r.v7_relativeSplatPath));return S.useMemo(()=>n0(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function FC(e,t){return VC(e,t)}function VC(e,t,n,r){ys()||be(!1);let{navigator:o}=S.useContext(Vr),{matches:i}=S.useContext(zr),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let l=s?s.pathnameBase:"/";s&&s.route;let u=Yo(),c;if(t){var d;let x=typeof t=="string"?Go(t):t;l==="/"||(d=x.pathname)!=null&&d.startsWith(l)||be(!1),c=x}else c=u;let f=c.pathname||"/",h=f;if(l!=="/"){let x=l.replace(/^\//,"").split("/");h="/"+f.replace(/^\//,"").split("/").slice(x.length).join("/")}let w=fC(e,{pathname:h}),g=WC(w&&w.map(x=>Object.assign({},x,{params:Object.assign({},a,x.params),pathname:qn([l,o.encodeLocation?o.encodeLocation(x.pathname).pathname:x.pathname]),pathnameBase:x.pathnameBase==="/"?l:qn([l,o.encodeLocation?o.encodeLocation(x.pathnameBase).pathname:x.pathnameBase])})),i,n,r);return t&&g?S.createElement(Sl.Provider,{value:{location:ts({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Bn.Pop}},g):g}function zC(){let e=YC(),t=MC(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return S.createElement(S.Fragment,null,S.createElement("h2",null,"Unexpected Application Error!"),S.createElement("h3",{style:{fontStyle:"italic"}},t),n?S.createElement("pre",{style:o},n):null,null)}const BC=S.createElement(zC,null);class $C extends S.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?S.createElement(zr.Provider,{value:this.props.routeContext},S.createElement(o0.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function UC(e){let{routeContext:t,match:n,children:r}=e,o=S.useContext(rf);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),S.createElement(zr.Provider,{value:t},r)}function WC(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let c=s.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||be(!1),s=s.slice(0,Math.min(s.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<s.length;c++){let d=s[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:h}=n,w=d.route.loader&&f[d.route.id]===void 0&&(!h||h[d.route.id]===void 0);if(d.route.lazy||w){l=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((c,d,f)=>{let h,w=!1,g=null,x=null;n&&(h=a&&d.route.id?a[d.route.id]:void 0,g=d.route.errorElement||BC,l&&(u<0&&f===0?(w=!0,x=null):u===f&&(w=!0,x=d.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,f+1)),p=()=>{let v;return h?v=g:w?v=x:d.route.Component?v=S.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=c,S.createElement(UC,{match:d,routeContext:{outlet:c,matches:m,isDataRoute:n!=null},children:v})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?S.createElement($C,{location:n.location,revalidation:n.revalidation,component:g,error:h,children:p(),routeC
58ontext:{outlet:null,matches:m,isDataRoute:!0}}):p()},null)}var a0=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(a0||{}),Ha=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ha||{});function HC(e){let t=S.useContext(rf);return t||be(!1),t}function KC(e){let t=S.useContext(LC);return t||be(!1),t}function GC(e){let t=S.useContext(zr);return t||be(!1),t}function l0(e){let t=GC(),n=t.matches[t.matches.length-1];return n.route.id||be(!1),n.route.id}function YC(){var e;let t=S.useContext(o0),n=KC(Ha.UseRouteError),r=l0(Ha.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function QC(){let{router:e}=HC(a0.UseNavigateStable),t=l0(Ha.UseNavigateStable),n=S.useRef(!1);return i0(()=>{n.current=!0}),S.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,ts({fromRouteId:t},i)))},[e,t])}function qC(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Xr(e){be(!1)}function XC(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Bn.Pop,navigator:i,static:s=!1,future:a}=e;ys()&&be(!1);let l=t.replace(/^\/*/,"/"),u=S.useMemo(()=>({basename:l,navigator:i,static:s,future:ts({v7_relativeSplatPath:!1},a)}),[l,a,i,s]);typeof r=="string"&&(r=Go(r));let{pathname:c="/",search:d="",hash:f="",state:h=null,key:w="default"}=r,g=S.useMemo(()=>{let x=nf(c,l);return x==null?null:{location:{pathname:x,search:d,hash:f,state:h,key:w},navigationType:o}},[l,c,d,f,h,w,o]);return g==null?null:S.createElement(Vr.Provider,{value:u},S.createElement(Sl.Provider,{children:n,value:g}))}function ZC(e){let{children:t,location:n}=e;return FC(Ac(t),n)}new Promise(()=>{});function Ac(e,t){t===void 0&&(t=[]);let n=[];return S.Children.forEach(e,(r,o)=>{if(!S.isValidElement(r))return;let i=[...t,o];if(r.type===S.Fragment){n.push.apply(n,Ac(r.props.children,i));return}r.type!==Xr&&be(!1),!r.props.index||!r.props.children||be(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=Ac(r.props.children,i)),n.push(s)}),n}/**
59 * React Router DOM v6.30.1
60 *
61 * Copyright (c) Remix Software Inc.
62 *
63 * This source code is licensed under the MIT license found in the
64 * LICENSE.md file in the root directory of this source tree.
65 *
66 * @license MIT
67 */function jc(){return jc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jc.apply(this,arguments)}function JC(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function eE(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function tE(e,t){return e.button===0&&(!t||t==="_self")&&!eE(e)}const nE=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],rE="6";try{window.__reactRouterVersion=rE}catch{}const oE="startTransition",Rp=zg[oE];function iE(e){let{basename:t,children:n,future:r,window:o}=e,i=S.useRef();i.current==null&&(i.current=uC({window:o,v5Compat:!0}));let s=i.current,[a,l]=S.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},c=S.useCallback(d=>{u&&Rp?Rp(()=>l(d)):l(d)},[l,u]);return S.useLayoutEffect(()=>s.listen(c),[s,c]),S.useEffect(()=>qC(r),[r]),S.createElement(XC,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const sE=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",aE=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,wr=S.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d}=t,f=JC(t,nE),{basename:h}=S.useContext(Vr),w,g=!1;if(typeof u=="string"&&aE.test(u)&&(w=u,sE))try{let v=new URL(window.location.href),b=u.startsWith("//")?new URL(v.protocol+u):new URL(u),C=nf(b.pathname,h);b.origin===v.origin&&C!=null?u=C+b.search+b.hash:g=!0}catch{}let x=OC(u,{relative:o}),m=lE(u,{replace:s,state:a,target:l,preventScrollReset:c,relative:o,viewTransition:d});function p(v){r&&r(v),v.defaultPrevented||m(v)}return S.createElement("a",jc({},f,{href:w||x,onClick:g||i?r:p,ref:n,target:l}))});var Ap;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Ap||(Ap={}));var jp;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(jp||(jp={}));function lE(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:a}=t===void 0?{}:t,l=_C(),u=Yo(),c=s0(e,{relative:s});return S.useCallback(d=>
67{if(tE(d,n)){d.preventDefault();let f=r!==void 0?r:Wa(u)===Wa(c);l(e,{replace:f,state:o,preventScrollReset:i,relative:s,viewTransition:a})}},[u,l,c,r,o,n,e,i,s,a])}var Mp=["light","dark"],uE="(prefers-color-scheme: dark)",cE=S.createContext(void 0),dE={setTheme:e=>{},themes:[]},fE=()=>{var e;return(e=S.useContext(cE))!=null?e:dE};S.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:l})=>{let u=i==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(w=>`'${w}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=o?Mp.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(w,g=!1,x=!0)=>{let m=s?s[w]:w,p=g?w+"|| ''":`'${m}'`,v="";return o&&x&&!g&&Mp.includes(w)&&(v+=`d.style.colorScheme = '${w}';`),n==="class"?g||m?v+=`c.add(${p})`:v+="null":m&&(v+=`d[s](n,${p})`),v},h=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${uE}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}${u?"":"else{"+f(i,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${f(s?"x[e]":"e",!0)}}else{${f(i,!1,!1)};}${d}}catch(t){}}();`;return S.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:h}})});var hE=e=>{switch(e){case"success":return gE;case"info":return vE;case"warning":return yE;case"error":return xE;default:return null}},pE=Array(12).fill(0),mE=({visible:e,className:t})=>D.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},D.createElement("div",{className:"sonner-spinner"},pE.map((n,r)=>D.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),gE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),yE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),vE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),xE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},D.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),wE=D.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},D.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),D.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),SE=()=>{let[e,t]=D.useState(document.hidden);return D.useEffect(()=>{let n=()=>{t(document.hidden)};return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Mc=1,bE=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>
vendor: 1,050 bytes, line 67
67{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Mc++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
67this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,s=r.then(async l=>{if(i=["resolve",l],D.isValidElement(l))o=!1,this.create({id:n,type:"default",message:l});else if(EE(l)&&!l.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${l.status}`):t.error,c=typeof t.description=="function"?await t.description(`HTTP error! status: ${l.status}`):t.description;this.create({id:n,type:"error",message:u,description:c})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(l):t.success,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"success",message:u,description:c})}}).catch(async l=>{if(i=["reject",l],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(l):t.error,c=typeof t.description=="function"?await t.description(l):t.description;this.create({id:n,type:"error",message:u,description:c})}}).finally(()=>{var l;o&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>s.then(()=>i[0]==="reject"?u(i[1]):l(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||Mc++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Ye=new bE,CE=(e,t)=>{let n=(t==null?void 0:t.id)||Mc++;return Ye.addToast({title:e,...t,id:n}),n},EE=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",PE=CE,TE=()=>Ye.toasts,kE=()=>Ye.getActiveToasts();Object.assign(PE,{success:Ye.success,info:Ye.info,warning:Ye.warning,error:Ye.error,custom:Ye.custom,message:Ye.message,promise:Ye.promise,dismiss:Ye.dismiss,loading:Ye.loading},{getHistory:TE,getToasts:kE});function NE(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}NE(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
67left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
67:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
67--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
68`);function Ks(e){return e.label!==void 0}var RE=3,AE="32px",jE="16px",Dp=4e3,ME=356,DE=14,LE=20,OE=200;function Pt(...e){return e.filter(Boolean).join(" ")}function _E(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var IE=e=>{var t,n,r,o,i,s,a,l,u,c,d;let{invert:f,toast:h,unstyled:w,interacting:g,setHeights:x,visibleToasts:m,heights:p,index:v,toasts:b,expanded:C,removeToast:E,defaultRichColors:P,closeButton:T,style:j,cancelButtonStyle:M,actionButtonStyle:V,className:_="",descriptionClassName:G="",duration:L,position:Y,gap:$,loadingIcon:F,expandByDefault:k,classNames:R,icons:O,closeButtonAriaLabel:H="Close toast",pauseWhenPageIsHidden:z}=e,[Q,X]=D.useState(null),[we,De]=D.useState(null),[ee,Ur]=D.use
68State(!1),[xn,ur]=D.useState(!1),[wn,Wr]=D.useState(!1),[Sn,Es]=D.useState(!1),[Il,Ps]=D.useState(!1),[Fl,ei]=D.useState(0),[Hr,nh]=D.useState(0),ti=D.useRef(h.duration||L||Dp),rh=D.useRef(null),cr=D.useRef(null),r1=v===0,o1=v+1<=m,dt=h.type,Kr=h.dismissible!==!1,i1=h.className||"",s1=h.descriptionClassName||"",Ts=D.useMemo(()=>p.findIndex(U=>U.toastId===h.id)||0,[p,h.id]),a1=D.useMemo(()=>{var U;return(U=h.closeButton)!=null?U:T},[h.closeButton,T]),oh=D.useMemo(()=>h.duration||L||Dp,[h.duration,L]),Vl=D.useRef(0),Gr=D.useRef(0),ih=D.useRef(0),Yr=D.useRef(null),[l1,u1]=Y.split("-"),sh=D.useMemo(()=>p.reduce((U,re,ue)=>ue>=Ts?U:U+re.height,0),[p,Ts]),ah=SE(),c1=h.invert||f,zl=dt==="loading";Gr.current=D.useMemo(()=>Ts*$+sh,[Ts,sh]),D.useEffect(()=>{ti.current=oh},[oh]),D.useEffect(()=>{Ur(!0)},[]),D.useEffect(()=>{let U=cr.current;if(U){let re=U.getBoundingClientRect().height;return nh(re),x(ue=>[{toastId:h.id,height:re,position:h.position},...ue]),()=>x(ue=>ue.filter(St=>St.toastId!==h.id))}},[x,h.id]),D.useLayoutEffect(()=>{if(!ee)return;let U=cr.current,re=U.style.height;U.style.height="auto";let ue=U.getBoundingClientRect().height;U.style.height=re,nh(ue),x(St=>St.find(bt=>bt.toastId===h.id)?St.map(bt=>bt.toastId===h.id?{...bt,height:ue}:bt):[{toastId:h.id,height:ue,position:h.position},...St])},[ee,h.title,h.description,x,h.id]);let bn=D.useCallback(()=>{ur(!0),ei(Gr.current),x(U=>U.filter(re=>re.toastId!==h.id)),setTimeout(()=>{E(h)},OE)},[h,E,x,Gr]);D.useEffect(()=>{if(h.promise&&dt==="loading"||h.duration===1/0||h.type==="loading")return;let U;return C||g||z&&ah?(()=>{if(ih.current<Vl.current){let re=new Date().getTime()-Vl.current;ti.current=ti.current-re}ih.current=new Date().getTime()})():ti.current!==1/0&&(Vl.current=new Date().getTime(),U=setTimeout(()=>{var re;(re=h.onAutoClose)==null||re.call(h,h),bn()},ti.current)),()=>clearTimeout(U)},[C,g,h,dt,z,ah,bn]),D.useEffect(()=>{h.delete&&bn()},[bn,h.delete]);function d1(){var U,re,ue;return O!=null&&O.loading?D.createElement("div",{className:Pt(R==null?void 0:R.loader,(U=h==null?void 0:h.classNames)==null?void 0:U.loader,"sonner-loader"),"data-visible":dt==="loading"},O.loading):F?D.createElement("div",{className:Pt(R==null?void 0:R.loader,(re=h==null?void 0:h.classNames)==null?void 0:re.loader,"sonner-loader"),"data-visible":dt==="loading"},F):D.createElement(mE,{className:Pt(R==null?void 0:R.loader,(ue=h==null?void 0:h.classNames)==null?void 0:ue.loader),visible:dt==="loading"})}return D.createElement("li",{tabIndex:0,ref:cr,className:Pt(_,i1,R==null?void 0:R.toast,(t=h==null?void 0:h.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[dt],(n=h==null?void 0:h.classNames)==null?void 0:n[dt]),"data-sonner-toast":"","data-rich-colors":(r=h.richColors)!=null?r:P,"data-styled":!(h.jsx||h.unstyled||w),"data-mounted":ee,"data-promise":!!h.promise,"data-swiped":Il,"data-removed":xn,"data-visible":o1,"data-y-position":l1,"data-x-position":u1,"data-index":v,"data-front":r1,"data-swiping":wn,"data-dismissible":Kr,"data-type":dt,"data-invert":c1,"data-swipe-out":Sn,"data-swipe-direction":we,"data-expanded":!!(C||k&&ee),style:{"--index":v,"--toasts-before":v,"--z-index":b.length-v,"--offset":`${xn?Fl:Gr.current}px`,"--initial-height":k?"auto":`${Hr}px`,...j,...h.style},onDragEnd:()=>{Wr(!1),X(null),Yr.current=null},onPointerDown:U=>{zl||!Kr||(rh.current=new Date,ei(Gr.current),U.target.setPointerCapture(U.pointerId),U.target.tagName!=="BUTTON"&&(Wr(!0),Yr.current={x:U.clientX,y:U.clientY}))},onPointerUp:()=>{var U,re,ue,St;if(Sn||!Kr)return;Yr.current=null;let bt=Number(((U=cr.current)==null?void 0:U.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Cn=Number(((re=cr.current)==null?void 0:re.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),dr=new Date().getTime()-((ue=rh.current)==null?void 0:ue.getTime()),Ct=Q==="x"?bt:Cn,En=Math.abs(Ct)/dr;if(Math.abs(Ct)>=LE||En>.11){ei(Gr.current),(St=h.onDismiss)==null||St.call(h,h),De(Q==="x"?bt>0?"right":"left":Cn>0?"down":"up"),bn(),Es(!0),Ps(!1);return}Wr(!1),X(null)},onPointerMove:U=>{var re,ue,St,bt;if(!Yr.current||!Kr||((re=window.getSelection())==null?void 0:re.toString().length)>0)return;let Cn=U.clientY-Yr.current.y,dr=U.clientX-Yr.current.x,Ct=(ue=e.swipeDirections)!=null?ue:_E(Y);!Q&&(Math.abs(dr)>1||Math.abs(Cn)>1)&&X(Math.abs(dr)>Math.abs(Cn)?"x":"y");let En={x:0,y:0};Q==="y"?(Ct.includes("top")||Ct.includes("bottom"))&&(Ct.includes("top")&&Cn<0||Ct.includes("bottom")&&Cn>0)&&(En.y=Cn):Q==="x"&&(Ct.includes("left")||Ct.includes("right"))&&(Ct.includes("left")&&dr<0||Ct.includes("right")&&dr>0)&&(En.x=dr),(Math.abs(En.x)>0||Math.abs(En.y)>0)&&Ps(!0),(St=cr.current)==null||St.style.setProperty("--swipe-amount-x",`${En.x}px`),(bt=cr.current)==null||bt.style.setProperty("--swipe-amount-y",`${En.y}px`)}},a1&&!h.jsx?D.createElement("button",{"aria-label":H,"data-disabled":zl,"data-close-button":!0,onClick:zl||!Kr?()=>{}:()=>{var U;bn(),(U=h.onDismiss)==null||U.call(h,h)},className:Pt(R==null?void 0:R.closeButton,(o=h==null?void 0:h.classNames)==null?void 0:o.closeButton)},(i=O==null?void 0:O.close)!=null?i:wE):null,h.jsx||S.isValidElement(h.title)?h.jsx?h.jsx:typeof h.title=="function"?h.title():h.title:D.createElement(D.Fragment,null,dt||h.icon||h.promise?D.createElement("div",{"data-icon":"",className:Pt(R==null?void 0:R.icon,(s=h==null?void 0:h.classNames)==null?void 0:s.icon)},h.promise||h.type==="loading"&&!h.icon?h.icon||d1():null,h.type!=="loading"?h.icon||(O==null?void 0:O[dt])||hE(dt):null):null,D.createElement("div",{"data-content":"",className:Pt(R==null?void 0:R.content,(a=h==null?void 0:h.classNames)==null?void 0:a.content)},D.createElement("div",{"data-title":"",className:Pt(R==null?void 0:R.title,(l=h==null?void 0:h.classNames)==null?void 0:l.title)},typeof h.title=="function"?h.title():h.title),h.description?D.createElement("div",{"data-description":"",className:Pt(G,s1,R==null?void 0:R.description,(u=h==null?void 0:h.classNames)==null?void 0:u.description)},typeof h.description=="function"?h.description():h.description):null),S.isValidElement(h.cancel)?h.cancel:h.cancel&&Ks(h.cancel)?D.createElement("button",{"data-button":!0,"data-cancel":!0,style:h.cancelButtonStyle||M,onClick:U=>{var re,ue;Ks(h.cancel)&&Kr&&((ue=(re=h.cancel).onClick)==null||ue.call(re,U),bn())},className:Pt(R==null?void 0:R.cancelButton,(c=h==null?void 0:h.classNames)==null?void 0:c.cancelButton)},h.cancel.label):null,S.isValidElement(h.action)?h.action:h.action&&Ks(h.action)?D.createElement("button",{"data-button":!0,"data-action":!0,style:h.actionButtonStyle||V,onClick:U=>{var re,ue;Ks(h.action)&&((ue=(re=h.action).onClick)==null||ue.call(re,U),!U.defaultPrevented&&bn())},className:Pt(R==null?void 0:R.actionButton,(d=h==null?void 0:h.classNames)==null?void 0:d.actionButton)},h.action.label):null))};function Lp(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function FE(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",a=i?jE:AE;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${s}-${c}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?l(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=a:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var VE=S.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:f,style:h,visibleToasts:w=RE,toastOptions:g,dir:x=Lp(),gap:m=DE,loadingIcon:p,icons:v,containerAriaLabel:b="Notifications",pauseWhenPageIsHidden:C}=e,[E,P]=D.useState([]),T=D.useMemo(()=>Array.from(new Set([r].concat(E.filter(z=>z.position).map(z=>
68z.position)))),[E,r]),[j,M]=D.useState([]),[V,_]=D.useState(!1),[G,L]=D.useState(!1),[Y,$]=D.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),F=D.useRef(null),k=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=D.useRef(null),O=D.useRef(!1),H=D.useCallback(z=>{P(Q=>{var X;return(X=Q.find(we=>we.id===z.id))!=null&&X.delete||Ye.dismiss(z.id),Q.filter(({id:we})=>we!==z.id)})},[]);return D.useEffect(()=>Ye.subscribe(z=>{if(z.dismiss){P(Q=>Q.map(X=>X.id===z.id?{...X,delete:!0}:X));return}setTimeout(()=>{Uv.flushSync(()=>{P(Q=>{let X=Q.findIndex(we=>we.id===z.id);return X!==-1?[...Q.slice(0,X),{...Q[X],...z},...Q.slice(X+1)]:[z,...Q]})})})}),[]),D.useEffect(()=>{if(c!=="system"){$(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let z=window.matchMedia("(prefers-color-scheme: dark)");try{z.addEventListener("change",({matches:Q})=>{$(Q?"dark":"light")})}catch{z.addListener(({matches:X})=>{try{$(X?"dark":"light")}catch(we){console.error(we)}})}},[c]),D.useEffect(()=>{E.length<=1&&_(!1)},[E]),D.useEffect(()=>{let z=Q=>{var X,we;o.every(De=>Q[De]||Q.code===De)&&(_(!0),(X=F.current)==null||X.focus()),Q.code==="Escape"&&(document.activeElement===F.current||(we=F.current)!=null&&we.contains(document.activeElement))&&_(!1)};return document.addEventListener("keydown",z),()=>document.removeEventListener("keydown",z)},[o]),D.useEffect(()=>{if(F.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,O.current=!1)}},[F.current]),D.createElement("section",{ref:t,"aria-label":`${b} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((z,Q)=>{var X;let[we,De]=z.split("-");return E.length?D.createElement("ol",{key:z,dir:x==="auto"?Lp():x,tabIndex:-1,ref:F,className:a,"data-sonner-toaster":!0,"data-theme":Y,"data-y-position":we,"data-lifted":V&&E.length>1&&!i,"data-x-position":De,style:{"--front-toast-height":`${((X=j[0])==null?void 0:X.height)||0}px`,"--width":`${ME}px`,"--gap":`${m}px`,...h,...FE(l,u)},onBlur:ee=>{O.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(O.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||O.current||(O.current=!0,R.current=ee.relatedTarget)},onMouseEnter:()=>_(!0),onMouseMove:()=>_(!0),onMouseLeave:()=>{G||_(!1)},onDragEnd:()=>_(!1),onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},E.filter(ee=>!ee.position&&Q===0||ee.position===z).map((ee,Ur)=>{var xn,ur;return D.createElement(IE,{key:ee.id,icons:v,index:Ur,toast:ee,defaultRichColors:d,duration:(xn=g==null?void 0:g.duration)!=null?xn:f,className:g==null?void 0:g.className,descriptionClassName:g==null?void 0:g.descriptionClassName,invert:n,visibleToasts:w,closeButton:(ur=g==null?void 0:g.closeButton)!=null?ur:s,interacting:G,position:z,style:g==null?void 0:g.style,unstyled:g==null?void 0:g.unstyled,classNames:g==null?void 0:g.classNames,cancelButtonStyle:g==null?void 0:g.cancelButtonStyle,actionButtonStyle:g==null?void 0:g.actionButtonStyle,removeToast:H,toasts:E.filter(wn=>wn.position==ee.position),heights:j.filter(wn=>wn.position==ee.position),setHeights:M,expandByDefault:i,gap:m,loadingIcon:p,expanded:V,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const zE=({...e})=>{const{theme:t="system"}=fE();return y.jsx(VE,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},BE=1,$E=1e6;let gu=0;function UE(){return gu=(gu+1)%Number.MAX_SAFE_INTEGER,gu.toString()}const yu=new Map,Op=e=>{if(yu.has(e))return;const t=setTimeout(()=>{yu.delete(e),Ai({type:"REMOVE_TOAST",toastId:e})},$E);yu.set(e,t)},WE=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,BE)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
68return n?Op(n):e.toasts.forEach(r=>{Op(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},ha=[];let pa={toasts:[]};function Ai(e){pa=WE(pa,e),ha.forEach(t=>{t(pa)})}function HE({...e}){const t=UE(),n=o=>Ai({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Ai({type:"DISMISS_TOAST",toastId:t});return Ai({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function KE(){const[e,t]=S.useState(pa);return S.useEffect(()=>(ha.push(t),()=>{const n=ha.indexOf(t);n>-1&&ha.splice(n,1)}),[e]),{...e,toast:HE,dismiss:n=>Ai({type:"DISMISS_TOAST",toastId:n})}}function Pe(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function _p(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function u0(...e){return t=>{let n=!1;const r=e.map(o=>{const i=_p(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():_p(e[o],null)}}}}function _t(...e){return S.useCallback(u0(...e),e)}function bl(e,t=[]){let n=[];function r(i,s){const a=S.createContext(s),l=n.length;n=[...n,s];const u=d=>{var m;const{scope:f,children:h,...w}=d,g=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,x=S.useMemo(()=>w,Object.values(w));return y.jsx(g.Provider,{value:x,children:h})};u.displayName=i+"Provider";function c(d,f){var g;const h=((g=f==null?void 0:f[e])==null?void 0:g[l])||a,w=S.useContext(h);if(w)return w;if(s!==void 0)return s;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[u,c]}const o=()=>{const i=n.map(s=>S.createContext(s));return function(a){const l=(a==null?void 0:a[e])||i;return S.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return o.scopeName=e,[r,GE(o,...t)]}function GE(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(i)[`__scope${u}`];return{...a,...d}},{});return S.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function Dc(e){const t=YE(e),n=S.forwardRef((r,o)=>{const{children:i,...s}=r,a=S.Children.toArray(i),l=a.find(qE);if(l){const u=l.props.children,c=a.map(d=>d===l?S.Children.count(u)>1?S.Children.only(null):S.isValidElement(u)?u.props.children:null:d);return y.jsx(t,{...s,ref:o,children:S.isValidElement(u)?S.cloneElement(u,void 0,c):null})}return y.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function YE(e){const t=S.forwardRef((n,r)=>{const{children:o,...i}=n;if(S.isValidElement(o)){const s=ZE(o),a=XE(i,o.props);return o.type!==S.Fragment&&(a.ref=r?u0(r,s):s),S.cloneElement(o,a)}return S.Children.count(o)>1?S.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var c0=Symbol("radix.slottable");function QE(e){const t=({children:n})=>y.jsx(y.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=c0,t}function qE(e){return S.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===c0}function XE(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const l=i(...a);return o(...a),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function ZE(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function JE(e){const t=e+"CollectionProvider",[n,r]=bl(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=g=>{const{scope:x,children:m}=g,p=D.useRef(null),v=D.useRef(new Map).current;return y.jsx(o,{scope:x,itemMap:v,collectionRef:p,children:m})};s.displayName=t;const a=e+"CollectionSlot",l=Dc(a),u=D.forwardRef((g,x)=>{const{scope:m,children:p}=g,v=i(a,m),b=_t(x,v.collectionRef);return y.jsx(l,{ref:b,children:p})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=Dc(c),h=D.forwardRef((g,x)=>{const{scope:m,children:p,...v}
vendor: 9,265 bytes, line 68
68=g,b=D.useRef(null),C=_t(x,b),E=i(c,m);return D.useEffect(()=>(E.itemMap.set(b,{ref:b,...v}),()=>void E.itemMap.delete(b))),y.jsx(f,{[d]:"",ref:C,children:p})});h.displayName=c;function w(g){const x=i(e+"CollectionConsumer",g);return D.useCallback(()=>{const p=x.collectionRef.current;if(!p)return[];const v=Array.from(p.querySelectorAll(`[${d}]`));return Array.from(x.itemMap.values()).sort((E,P)=>v.indexOf(E.ref.current)-v.indexOf(P.ref.current))},[x.collectionRef,x.itemMap])}return[{Provider:s,Slot:u,ItemSlot:h},w,r]}var eP=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],et=eP.reduce((e,t)=>{const n=Dc(`Primitive.${t}`),r=S.forwardRef((o,i)=>{const{asChild:s,...a}=o,l=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(l,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function d0(e,t){e&&gs.flushSync(()=>e.dispatchEvent(t))}function Jn(e){const t=S.useRef(e);return S.useEffect(()=>{t.current=e}),S.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function tP(e,t=globalThis==null?void 0:globalThis.document){const n=Jn(e);S.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var nP="DismissableLayer",Lc="dismissableLayer.update",rP="dismissableLayer.pointerDownOutside",oP="dismissableLayer.focusOutside",Ip,f0=S.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),of=S.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...l}=e,u=S.useContext(f0),[c,d]=S.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,h]=S.useState({}),w=_t(t,P=>d(P)),g=Array.from(u.layers),[x]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=g.indexOf(x),p=c?g.indexOf(c):-1,v=u.layersWithOutsidePointerEventsDisabled.size>0,b=p>=m,C=sP(P=>{const T=P.target,j=[...u.branches].some(M=>M.contains(T));!b||j||(o==null||o(P),s==null||s(P),P.defaultPrevented||a==null||a())},f),E=aP(P=>{const T=P.target;[...u.branches].some(M=>M.contains(T))||(i==null||i(P),s==null||s(P),P.defaultPrevented||a==null||a())},f);return tP(P=>{p===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},f),S.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Ip=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Fp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Ip)}},[c,f,n,u]),S.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Fp())},[c,u]),S.useEffect(()=>{const P=()=>h({});return document.addEventListener(Lc,P),()=>document.removeEventListener(Lc,P)},[]),y.jsx(et.div,{...l,ref:w,style:{pointerEvents:v?b?"auto":"none":void 0,...e.style},onFocusCapture:Pe(e.onFocusCapture,E.onFocusCapture),onBlurCapture:Pe(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:Pe(e.onPointerDownCapture,C.onPointerDownCapture)})});of.displayName=nP;var iP="DismissableLayerBranch",h0=S.forwardRef((e,t)=>{const n=S.useContext(f0),r=S.useRef(null),o=_t(t,r);return S.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),y.jsx(et.div,{...e,ref:o})});h0.displayName=iP;function sP(e,t=globalThis==null?void 0:globalThis.document){const n=Jn(e),r=S.useRef(!1),o=S.useRef(()=>{});return S.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let l=function(){p0(rP,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=l,t.addEventListener("click",o.current,{once:!0})):l()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function aP(e,t=globalThis==null?void 0:globalThis.document){const n=Jn(e),r=S.useRef(!1);return S.useEffect(()=>{const o=i=>{i.target&&!r.current&&p0(oP,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Fp(){const e=new CustomEvent(Lc);document.dispatchEvent(e)}function p0(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?d0(o,i):o.dispatchEvent(i)}var lP=of,uP=h0,er=globalThis!=null&&globalThis.document?S.useLayoutEffect:()=>{},cP="Portal",m0=S.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=S.useState(!1);er(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?Uv.createPortal(y.jsx(et.div,{...r,ref:t}),s):null});m0.displayName=cP;function dP(e,t){return S.useReducer((n,r)=>t[n][r]??n,e)}var sf=e=>{const{present:t,children:n}=e,r=fP(t),o=typeof n=="function"?n({present:r.isPresent}):S.Children.only(n),i=_t(r.ref,hP(o));return typeof n=="function"||r.isPresent?S.cloneElement(o,{ref:i}):null};sf.displayName="Presence";function fP(e){const[t,n]=S.useState(),r=S.useRef(null),o=S.useRef(e),i=S.useRef("none"),s=e?"mounted":"unmounted",[a,l]=dP(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return S.useEffect(()=>{const u=Gs(r.current);i.current=a==="mounted"?u:"none"},[a]),er(()=>{const u=r.current,c=o.current;if(c!==e){const f=i.current,h=Gs(u);e?l("MOUNT"):h==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==h?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,l]),er(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=h=>{const g=Gs(r.current).includes(h.animationName);if(h.target===t&&g&&(l("ANIMATION_END"),!o.current)){const x=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=x)})}},f=h=>{h.target===t&&(i.current=Gs(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:S.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Gs(e){return(e==null?void 0:e.animationName)||"none"}function hP(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var pP=zg[" useInsertionEffect ".trim().toString()]||er;function mP({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=gP({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:o;{const c=S.useRef(e!==void 0);S.useEffect(()=>{const d=c.current;d!==a&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=a},[a,r])}const u=S.useCallback(c=>{var d;if(a){const f=yP(c)?c(e):c;f!==e&&((d=s.current)==null||d.call(s,f))}else i(c)},[a,e,i,s]);return[l,u]}function gP({defaultProp:e,onChange:t}){const[n,r]=S.useState(e),o=S.useRef(n),i=S.useRef(t);return pP(()=>{i.current=t},[t]),S.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function yP(e){return typeof e=="function"}var vP=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),xP="VisuallyHidden",Cl=S.forwardRef((e,t)=>y.jsx(et.span,{...e,ref:t,style:{...vP,...e.style}}));Cl.displayName=xP;var wP=Cl,af="ToastProvider",[lf,SP,bP]=JE("Toast"),[g0,mM]=bl("Toast",[bP]),[CP,El]=g0(af),y0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,l]=S.useState(null),[u,c]=S.useState(0),d=S.useRef(!1),f=S.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${af}\`. Expected non-empty \`string\`.`),y.jsx(lf.Provider,{scope:t,children:y.jsx(CP,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:S.useCallback(()=>c(h=>h+1),[]),onToastRemove:S.useCallback(()=>c(h=>h-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:s})})};y0.displayName=af;var v0="ToastViewport",EP=["F8"],Oc="toast.viewportPause",_c="toast.viewportResume",x0=S.forwardRef((e,t)=>
68{const{__scopeToast:n,hotkey:r=EP,label:o="Notifications ({hotkey})",...i}=e,s=El(v0,n),a=SP(n),l=S.useRef(null),u=S.useRef(null),c=S.useRef(null),d=S.useRef(null),f=_t(t,d,s.onViewportChange),h=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=s.toastCount>0;S.useEffect(()=>{const x=m=>{var v;r.length!==0&&r.every(b=>m[b]||m.code===b)&&((v=d.current)==null||v.focus())};return document.addEventListener("keydown",x),()=>document.removeEventListener("keydown",x)},[r]),S.useEffect(()=>{const x=l.current,m=d.current;if(w&&x&&m){const p=()=>{if(!s.isClosePausedRef.current){const E=new CustomEvent(Oc);m.dispatchEvent(E),s.isClosePausedRef.current=!0}},v=()=>{if(s.isClosePausedRef.current){const E=new CustomEvent(_c);m.dispatchEvent(E),s.isClosePausedRef.current=!1}},b=E=>{!x.contains(E.relatedTarget)&&v()},C=()=>{x.contains(document.activeElement)||v()};return x.addEventListener("focusin",p),x.addEventListener("focusout",b),x.addEventListener("pointermove",p),x.addEventListener("pointerleave",C),window.addEventListener("blur",p),window.addEventListener("focus",v),()=>{x.removeEventListener("focusin",p),x.removeEventListener("focusout",b),x.removeEventListener("pointermove",p),x.removeEventListener("pointerleave",C),window.removeEventListener("blur",p),window.removeEventListener("focus",v)}}},[w,s.isClosePausedRef]);const g=S.useCallback(({tabbingDirection:x})=>{const p=a().map(v=>{const b=v.ref.current,C=[b,...IP(b)];return x==="forwards"?C:C.reverse()});return(x==="forwards"?p.reverse():p).flat()},[a]);return S.useEffect(()=>{const x=d.current;if(x){const m=p=>{var C,E,P;const v=p.altKey||p.ctrlKey||p.metaKey;if(p.key==="Tab"&&!v){const T=document.activeElement,j=p.shiftKey;if(p.target===x&&j){(C=u.current)==null||C.focus();return}const _=g({tabbingDirection:j?"backwards":"forwards"}),G=_.findIndex(L=>L===T);vu(_.slice(G+1))?p.preventDefault():j?(E=u.current)==null||E.focus():(P=c.current)==null||P.focus()}};return x.addEventListener("keydown",m),()=>x.removeEventListener("keydown",m)}},[a,g]),y.jsxs(uP,{ref:l,role:"region","aria-label":o.replace("{hotkey}",h),tabIndex:-1,style:{pointerEvents:w?void 0:"none"},children:[w&&y.jsx(Ic,{ref:u,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"forwards"});vu(x)}}),y.jsx(lf.Slot,{scope:n,children:y.jsx(et.ol,{tabIndex:-1,...i,ref:f})}),w&&y.jsx(Ic,{ref:c,onFocusFromOutsideViewport:()=>{const x=g({tabbingDirection:"backwards"});vu(x)}})]})});x0.displayName=v0;var w0="ToastFocusProxy",Ic=S.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=El(w0,n);return y.jsx(Cl,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});Ic.displayName=w0;var vs="Toast",PP="toast.swipeStart",TP="toast.swipeMove",kP="toast.swipeCancel",NP="toast.swipeEnd",S0=S.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,l]=mP({prop:r,defaultProp:o??!0,onChange:i,caller:vs});return y.jsx(sf,{present:n||a,children:y.jsx(jP,{open:a,...s,ref:t,onClose:()=>l(!1),onPause:Jn(e.onPause),onResume:Jn(e.onResume),onSwipeStart:Pe(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:Pe(e.onSwipeMove,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${d}px`)}),onSwipeCancel:Pe(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:Pe(e.onSwipeEnd,u=>{const{x:c,y:d}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${c}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${d}px`),l(!1)})})})});S0.displayName=vs;var[RP,AP]=g0(vs,{onClose(){}}),jP=S.forwardRef((e,t)=>
68{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:h,...w}=e,g=El(vs,n),[x,m]=S.useState(null),p=_t(t,L=>m(L)),v=S.useRef(null),b=S.useRef(null),C=o||g.duration,E=S.useRef(0),P=S.useRef(C),T=S.useRef(0),{onToastAdd:j,onToastRemove:M}=g,V=Jn(()=>{var Y;(x==null?void 0:x.contains(document.activeElement))&&((Y=g.viewport)==null||Y.focus()),s()}),_=S.useCallback(L=>{!L||L===1/0||(window.clearTimeout(T.current),E.current=new Date().getTime(),T.current=window.setTimeout(V,L))},[V]);S.useEffect(()=>{const L=g.viewport;if(L){const Y=()=>{_(P.current),u==null||u()},$=()=>{const F=new Date().getTime()-E.current;P.current=P.current-F,window.clearTimeout(T.current),l==null||l()};return L.addEventListener(Oc,$),L.addEventListener(_c,Y),()=>{L.removeEventListener(Oc,$),L.removeEventListener(_c,Y)}}},[g.viewport,C,l,u,_]),S.useEffect(()=>{i&&!g.isClosePausedRef.current&&_(C)},[i,C,g.isClosePausedRef,_]),S.useEffect(()=>(j(),()=>M()),[j,M]);const G=S.useMemo(()=>x?N0(x):null,[x]);return g.viewport?y.jsxs(y.Fragment,{children:[G&&y.jsx(MP,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:G}),y.jsx(RP,{scope:n,onClose:V,children:gs.createPortal(y.jsx(lf.ItemSlot,{scope:n,children:y.jsx(lP,{asChild:!0,onEscapeKeyDown:Pe(a,()=>{g.isFocusedToastEscapeKeyDownRef.current||V(),g.isFocusedToastEscapeKeyDownRef.current=!1}),children:y.jsx(et.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":g.swipeDirection,...w,ref:p,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:Pe(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,V()))}),onPointerDown:Pe(e.onPointerDown,L=>{L.button===0&&(v.current={x:L.clientX,y:L.clientY})}),onPointerMove:Pe(e.onPointerMove,L=>{if(!v.current)return;const Y=L.clientX-v.current.x,$=L.clientY-v.current.y,F=!!b.current,k=["left","right"].includes(g.swipeDirection),R=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,O=k?R(0,Y):0,H=k?0:R(0,$),z=L.pointerType==="touch"?10:2,Q={x:O,y:H},X={originalEvent:L,delta:Q};F?(b.current=Q,Ys(TP,d,X,{discrete:!1})):Vp(Q,g.swipeDirection,z)?(b.current=Q,Ys(PP,c,X,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(Y)>z||Math.abs($)>z)&&(v.current=null)}),onPointerUp:Pe(e.onPointerUp,L=>{const Y=b.current,$=L.target;if($.hasPointerCapture(L.pointerId)&&$.releasePointerCapture(L.pointerId),b.current=null,v.current=null,Y){const F=L.currentTarget,k={originalEvent:L,delta:Y};Vp(Y,g.swipeDirection,g.swipeThreshold)?Ys(NP,h,k,{discrete:!0}):Ys(kP,f,k,{discrete:!0}),F.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),g.viewport)})]}):null}),MP=e=>{const{__scopeToast:t,children:n,...r}=e,o=El(vs,t),[i,s]=S.useState(!1),[a,l]=S.useState(!1);return OP(()=>s(!0)),S.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:y.jsx(m0,{asChild:!0,children:y.jsx(Cl,{...r,children:i&&y.jsxs(y.Fragment,{children:[o.label," ",n]})})})},DP="ToastTitle",b0=S.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return y.jsx(et.div,{...r,ref:t})});b0.displayName=DP;var LP="ToastDescription",C0=S.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return y.jsx(et.div,{...r,ref:t})});C0.displayName=LP;var E0="ToastAction",P0=S.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?y.jsx(k0,{altText:n,asChild:!0,children:y.jsx(uf,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${E0}\`. Expected non-empty \`string\`.`),null)});P0.displayName=E0;var T0="ToastClose",uf=S.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=AP(T0,n);return y.jsx(k0,{asChild:!0,children:y.jsx(et.button,{type:"button",...r,ref:t,onClick:Pe(e.onClick,o.onClose)})})});uf.displayName=T0;var k0=S.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return y.jsx(et.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function N0(e){const t=[];
vendor: 9,032 bytes, lines 68-158
68return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),_P(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...N0(r))}}),t}function Ys(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?d0(o,i):o.dispatchEvent(i)}var Vp=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function OP(e=()=>{}){const t=Jn(e);er(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function _P(e){return e.nodeType===e.ELEMENT_NODE}function IP(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function vu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var FP=y0,R0=x0,A0=S0,j0=b0,M0=C0,D0=P0,L0=uf;function O0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=O0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _0(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=O0(e))&&(r&&(r+=" "),r+=t);return r}const zp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Bp=_0,VP=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Bp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const c=n==null?void 0:n[u],d=i==null?void 0:i[u];if(c===null)return null;const f=zp(c)||zp(d);return o[u][f]}),a=n&&Object.entries(n).reduce((u,c)=>{let[d,f]=c;return f===void 0||(u[d]=f),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:f,...h}=c;return Object.entries(h).every(w=>{let[g,x]=w;return Array.isArray(x)?x.includes({...i,...a}[g]):{...i,...a}[g]===x})?[...u,d,f]:u},[]);return Bp(e,s,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
69 * @license lucide-react v0.462.0 - ISC
70 *
71 * This source code is licensed under the ISC license.
72 * See the LICENSE file in the root directory of this source tree.
73 */const zP=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),I0=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
74 * @license lucide-react v0.462.0 - ISC
75 *
76 * This source code is licensed under the ISC license.
77 * See the LICENSE file in the root directory of this source tree.
78 */var BP={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
79 * @license lucide-react v0.462.0 - ISC
80 *
81 * This source code is licensed under the ISC license.
82 * See the LICENSE file in the root directory of this source tree.
83 */const $P=S.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},l)=>S.createElement("svg",{ref:l,...BP,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:I0("lucide",o),...a},[...s.map(([u,c])=>S.createElement(u,c)),...Array.isArray(i)?i:[i]]));/**
84 * @license lucide-react v0.462.0 - ISC
85 *
86 * This source code is licensed under the ISC license.
87 * See the LICENSE file in the root directory of this source tree.
88 */const Ce=(e,t)=>{const n=S.forwardRef(({className:r,...o},i)=>S.createElement($P,{ref:i,iconNode:t,className:I0(`lucide-${zP(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
89 * @license lucide-react v0.462.0 - ISC
90 *
91 * This source code is licensed under the ISC license.
92 * See the LICENSE file in the root directory of this source tree.
93 */const yi=Ce("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
94 * @license lucide-react v0.462.0 - ISC
95 *
96 * This source code is licensed under the ISC license.
97 * See the LICENSE file in the root directory of this source tree.
98 */const UP=Ce("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"}]]);/**
99 * @license lucide-react v0.462.0 - ISC
100 *
101 * This source code is licensed under the ISC license.
102 * See the LICENSE file in the root directory of this source tree.
103 */const WP=Ce("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"}]]);/**
104 * @license lucide-react v0.462.0 - ISC
105 *
106 * This source code is licensed under the ISC license.
107 * See the LICENSE file in the root directory of this source tree.
108 */const HP=Ce("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
109 * @license lucide-react v0.462.0 - ISC
110 *
111 * This source code is licensed under the ISC license.
112 * See the LICENSE file in the root directory of this source tree.
113 */const KP=Ce("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
114 * @license lucide-react v0.462.0 - ISC
115 *
116 * This source code is licensed under the ISC license.
117 * See the LICENSE file in the root directory of this source tree.
118 */const GP=Ce("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/**
119 * @license lucide-react v0.462.0 - ISC
120 *
121 * This source code is licensed under the ISC license.
122 * See the LICENSE file in the root directory of this source tree.
123 */const YP=Ce("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"}]]);/**
124 * @license lucide-react v0.462.0 - ISC
125 *
126 * This source code is licensed under the ISC license.
127 * See the LICENSE file in the root directory of this source tree.
128 */const cf=Ce("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
129 * @license lucide-react v0.462.0 - ISC
130 *
131 * This source code is licensed under the ISC license.
132 * See the LICENSE file in the root directory of this source tree.
133 */const F0=Ce("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"}]]);/**
134 * @license lucide-react v0.462.0 - ISC
135 *
136 * This source code is licensed under the ISC license.
137 * See the LICENSE file in the root directory of this source tree.
138 */const df=Ce("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"}]]);/**
139 * @license lucide-react v0.462.0 - ISC
140 *
141 * This source code is licensed under the ISC license.
142 * See the LICENSE file in the root directory of this source tree.
143 */const QP=Ce("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
144 * @license lucide-react v0.462.0 - ISC
145 *
146 * This source code is licensed under the ISC license.
147 * See the LICENSE file in the root directory of this source tree.
148 */const V0=Ce("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/**
149 * @license lucide-react v0.462.0 - ISC
150 *
151 * This source code is licensed under the ISC license.
152 * See the LICENSE file in the root directory of this source tree.
153 */const z0=Ce("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"}]]);/**
154 * @license lucide-react v0.462.0 - ISC
155 *
156 * This source code is licensed under the ISC license.
157 * See the LICENSE file in the root directory of this source tree.
158 */const qP=Ce("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",ke
vendor: 9,829 bytes, lines 158-188
158y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
159 * @license lucide-react v0.462.0 - ISC
160 *
161 * This source code is licensed under the ISC license.
162 * See the LICENSE file in the root directory of this source tree.
163 */const XP=Ce("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"}]]);/**
164 * @license lucide-react v0.462.0 - ISC
165 *
166 * This source code is licensed under the ISC license.
167 * See the LICENSE file in the root directory of this source tree.
168 */const ZP=Ce("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"}]]);/**
169 * @license lucide-react v0.462.0 - ISC
170 *
171 * This source code is licensed under the ISC license.
172 * See the LICENSE file in the root directory of this source tree.
173 */const JP=Ce("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/**
174 * @license lucide-react v0.462.0 - ISC
175 *
176 * This source code is licensed under the ISC license.
177 * See the LICENSE file in the root directory of this source tree.
178 */const eT=Ce("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"}]]);/**
179 * @license lucide-react v0.462.0 - ISC
180 *
181 * This source code is licensed under the ISC license.
182 * See the LICENSE file in the root directory of this source tree.
183 */const B0=Ce("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
184 * @license lucide-react v0.462.0 - ISC
185 *
186 * This source code is licensed under the ISC license.
187 * See the LICENSE file in the root directory of this source tree.
188 */const tT=Ce("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"}]]),ff="-",nT=e=>{const t=oT(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(ff);return a[0]===""&&a.length!==1&&a.shift(),$0(a,t)||rT(s)},getConflictingClassGroupIds:(s,a)=>{const l=n[s]||[];return a&&r[s]?[...l,...r[s]]:l}}},$0=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?$0(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(ff);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},$p=/^\[(.+)\]$/,rT=e=>{if($p.test(e)){const t=$p.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},oT=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return sT(Object.entries(e.classGroups),n).forEach(([i,s])=>{Fc(s,r,i,t)}),r},Fc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Up(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(iT(o)){Fc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{Fc(s,Up(t,i),n,r)})})},Up=(e,t)=>{let n=e;return t.split(ff).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},iT=e=>e.isThemeGetter,sT=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,aT=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},U0="!",lT=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const l=[];let u=0,c=0,d;for(let x=0;x<a.length;x++){let m=a[x];if(u===0){if(m===o&&(r||a.slice(x,x+i)===t)){l.push(a.slice(c,x)),c=x+i;continue}if(m==="/"){d=x;continue}}m==="["?u++:m==="]"&&u--}const f=l.length===0?a:a.substring(c),h=f.startsWith(U0),w=h?f.substring(1):f,g=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:w,maybePostfixModifierPosition:g}};return n?a=>n({className:a,parseClassName:s}):s},uT=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},cT=e=>({cache:aT(e.cacheSize),parseClassName:lT(e),...nT(e)}),dT=/\s+/,fT=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(dT);let a="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(u);let w=!!h,g=r(w?f.substring(0,h):f);if(!g){if(!w){a=u+(a.length>0?" "+a:a);continue}if(g=r(f),!g){a=u+(a.length>0?" "+a:a);continue}w=!1}const x=uT(c).join(":"),m=d?x+U0:x,p=m+g;if(i.includes(p))continue;i.push(p);const v=o(g,w);for(let b=0;b<v.length;++b){const C=v[b];i.push(m+C)}a=u+(a.length>0?" "+a:a)}return a};function hT(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=W0(t))&&(r&&(r+=" "),r+=n);return r}const W0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=W0(e[r]))&&(n&&(n+=" "),n+=t);return n};function pT(e,...t){let n,r,o,i=s;function s(l){const u=t.reduce((c,d)=>d(c),e());return n=cT(u),r=n.cache.get,o=n.cache.set,i=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=fT(l,n);return o(l,c),c}return function(){return i(hT.apply(null,arguments))}}const ie=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},H0=/^\[(?:([a-z-]+):)?(.+)\]$/i,mT=/^\d+\/\d+$/,gT=new Set(["px","full","screen"]),yT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,vT=/\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$/,xT=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,wT=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ST=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,en=e=>bo(e)||gT.has(e)||mT.test(e),Tn=e=>Qo(e,"length",RT),bo=e=>!!e&&!Number.isNaN(Number(e)),xu=e=>Qo(e,"number",bo),ci=e=>!!e&&Number.isInteger(Number(e)),bT=e=>e.endsWith("%")&&bo(e.slice(0,-1)),K=e=>H0.test(e),kn=e=>yT.test(e),CT=new Set(["length","size","percentage"]),ET=e=>Qo(e,CT,K0),PT=e=>Qo(e,"position",K0),TT=new Set(["image","url"]),kT=e=>Qo(e,TT,jT),NT=e=>Qo(e,"",AT),di=()=>!0,Qo=(e,t,n)=>{const r=H0.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},RT=e=>vT.test(e)&&!xT.test(e),K0=()=>!1,AT=e=>wT.test(e),jT=e=>ST.test(e),MT=()=>{const e=ie("colors"),t=ie("spacing"),n=ie("blur"),r=ie("brightness"),o=ie("borderColor"),i=ie("borderRadius"),s=ie("borderSpacing"),a=ie("borderWidth"),l=ie("contrast"),u=ie("grayscale"),c=ie("hueRotate"),d=ie("invert"),f=ie("gap"),h=ie("gradientColorStops"),w=ie("gradientColorStopPositions"),g=ie("inset"),x=ie("margin"),m=ie("opacity"),p=ie("padding"),v=ie("saturate"),b=ie("scale"),C=ie("sepia"),E=ie("skew"),P=ie("space"),T=ie("translate"),j=()=>["auto","contain","none"],M=()=>["auto","hidden","clip","visible","scroll"],V=()=>["auto",K,t],_=()=>[K,t],G=()=>["",en,Tn],L=()=>["auto",bo,K],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],k=()=>["start","end","center","between","around","evenly","stretch"],R=()=>["","0",K],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>[bo,K];return{cacheSize:500,separator:":",theme:{colors:[di],spacing:[en,Tn],blur:["none","",kn,K],brightness:H(),borderColor:[e],borderRadius:["none","","full",kn,K],borderSpacing:_(),borderWidth:G(),contrast:H(),grayscale:R(),hueRotate:H(),invert:R(),gap:_(),gradientColorStops:[e],gradientColorStopPositions:[bT,Tn],inset:V(),margin:V(),opacity:H(),padding:_(),saturate:H(),scale:H(),sepia:R(),skew:H(),space:_(),translate:_()},classGroups:{aspect:[{aspect:["auto","square","video",K]}],container:["container"],columns:[{columns:[kn]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"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:[...Y(),K]}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}
vendor: 8,975 bytes, line 188
188],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ci,K]}],basis:[{basis:V()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",K]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",ci,K]}],"grid-cols":[{"grid-cols":[di]}],"col-start-end":[{col:["auto",{span:["full",ci,K]},K]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[di]}],"row-start-end":[{row:["auto",{span:[ci,K]},K]}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",K]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",K]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...k()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...k(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...k(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[p]}],px:[{px:[p]}],py:[{py:[p]}],ps:[{ps:[p]}],pe:[{pe:[p]}],pt:[{pt:[p]}],pr:[{pr:[p]}],pb:[{pb:[p]}],pl:[{pl:[p]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",K,t]}],"min-w":[{"min-w":[K,t,"min","max","fit"]}],"max-w":[{"max-w":[K,t,"none","full","min","max","fit","prose",{screen:[kn]},kn]}],h:[{h:[K,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[K,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[K,t,"auto","min","max","fit"]}],"font-size":[{text:["base",kn,Tn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",xu]}],"font-family":[{font:[di]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",K]}],"line-clamp":[{"line-clamp":["none",bo,xu]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",en,K]}],"list-image":[{"list-image":["none",K]}],"list-style-type":[{list:["none","disc","decimal",K]}],"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:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",en,Tn]}],"underline-offset":[{"underline-offset":["auto",en,K]}],"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:_()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K]}],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",K]}],"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:[...Y(),PT]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ET]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},kT]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[m]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:$()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[en,K]}],"outline-w":[{outline:[en,Tn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:G()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[en,Tn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",kn,NT]}],"shadow-color":[{shadow:[di]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...F(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":F()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",kn,K]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[v]}],sepia:[{sepia:[C]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[m]}],"backdrop-saturate":[{"backdrop-saturate":[v]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",K]}],duration:[{duration:H()}],ease:[{ease:["linear","in","out","in-out",K]}],delay:[{delay:H()}],animate:[{animate:["none","spin","ping","pulse","bounce",K]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[b]}],"scale-x":[{"scale-x":[b]}],"scale-y":[{"scale-y":[b]}],rotate:[{rotate:[ci,K]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",K]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",
vendor: 5,587 bytes, line 188
188K]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":_()}],"scroll-mx":[{"scroll-mx":_()}],"scroll-my":[{"scroll-my":_()}],"scroll-ms":[{"scroll-ms":_()}],"scroll-me":[{"scroll-me":_()}],"scroll-mt":[{"scroll-mt":_()}],"scroll-mr":[{"scroll-mr":_()}],"scroll-mb":[{"scroll-mb":_()}],"scroll-ml":[{"scroll-ml":_()}],"scroll-p":[{"scroll-p":_()}],"scroll-px":[{"scroll-px":_()}],"scroll-py":[{"scroll-py":_()}],"scroll-ps":[{"scroll-ps":_()}],"scroll-pe":[{"scroll-pe":_()}],"scroll-pt":[{"scroll-pt":_()}],"scroll-pr":[{"scroll-pr":_()}],"scroll-pb":[{"scroll-pb":_()}],"scroll-pl":[{"scroll-pl":_()}],"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",K]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[en,Tn,xu]}],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"]}}},DT=pT(MT);function Br(...e){return DT(_0(e))}const LT=FP,G0=S.forwardRef(({className:e,...t},n)=>y.jsx(R0,{ref:n,className:Br("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));G0.displayName=R0.displayName;const OT=VP("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Y0=S.forwardRef(({className:e,variant:t,...n},r)=>y.jsx(A0,{ref:r,className:Br(OT({variant:t}),e),...n}));Y0.displayName=A0.displayName;const _T=S.forwardRef(({className:e,...t},n)=>y.jsx(D0,{ref:n,className:Br("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));_T.displayName=D0.displayName;const Q0=S.forwardRef(({className:e,...t},n)=>y.jsx(L0,{ref:n,className:Br("absolute right-2 top-2 rounded-md p-1 text-foreground
188/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:y.jsx(B0,{className:"h-4 w-4"})}));Q0.displayName=L0.displayName;const q0=S.forwardRef(({className:e,...t},n)=>y.jsx(j0,{ref:n,className:Br("text-sm font-semibold",e),...t}));q0.displayName=j0.displayName;const X0=S.forwardRef(({className:e,...t},n)=>y.jsx(M0,{ref:n,className:Br("text-sm opacity-90",e),...t}));X0.displayName=M0.displayName;function IT(){const{toasts:e}=KE();return y.jsxs(LT,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return y.jsxs(Y0,{...i,children:[y.jsxs("div",{className:"grid gap-1",children:[n&&y.jsx(q0,{children:n}),r&&y.jsx(X0,{children:r})]}),o,y.jsx(Q0,{})]},t)}),y.jsx(G0,{})]})}const FT=["top","right","bottom","left"],tr=Math.min,nt=Math.max,Ka=Math.round,Qs=Math.floor,Qt=e=>({x:e,y:e}
vendor: 11,921 bytes, line 188
188),VT={left:"right",right:"left",bottom:"top",top:"bottom"},zT={start:"end",end:"start"};function Vc(e,t,n){return nt(e,tr(t,n))}function mn(e,t){return typeof e=="function"?e(t):e}function gn(e){return e.split("-")[0]}function qo(e){return e.split("-")[1]}function hf(e){return e==="x"?"y":"x"}function pf(e){return e==="y"?"height":"width"}const BT=new Set(["top","bottom"]);function Kt(e){return BT.has(gn(e))?"y":"x"}function mf(e){return hf(Kt(e))}function $T(e,t,n){n===void 0&&(n=!1);const r=qo(e),o=mf(e),i=pf(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Ga(s)),[s,Ga(s)]}function UT(e){const t=Ga(e);return[zc(e),t,zc(t)]}function zc(e){return e.replace(/start|end/g,t=>zT[t])}const Wp=["left","right"],Hp=["right","left"],WT=["top","bottom"],HT=["bottom","top"];function KT(e,t,n){switch(e){case"top":case"bottom":return n?t?Hp:Wp:t?Wp:Hp;case"left":case"right":return t?WT:HT;default:return[]}}function GT(e,t,n,r){const o=qo(e);let i=KT(gn(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(zc)))),i}function Ga(e){return e.replace(/left|right|bottom|top/g,t=>VT[t])}function YT(e){return{top:0,right:0,bottom:0,left:0,...e}}function Z0(e){return typeof e!="number"?YT(e):{top:e,right:e,bottom:e,left:e}}function Ya(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Kp(e,t,n){let{reference:r,floating:o}=e;const i=Kt(t),s=mf(t),a=pf(s),l=gn(t),u=i==="y",c=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[a]/2-o[a]/2;let h;switch(l){case"top":h={x:c,y:r.y-o.height};break;case"bottom":h={x:c,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(qo(t)){case"start":h[s]-=f*(n&&u?-1:1);break;case"end":h[s]+=f*(n&&u?-1:1);break}return h}const QT=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:d}=Kp(u,r,l),f=r,h={},w=0;for(let g=0;g<a.length;g++){const{name:x,fn:m}=a[g],{x:p,y:v,data:b,reset:C}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:u,platform:s,elements:{reference:e,floating:t}});c=p??c,d=v??d,h={...h,[x]:{...h[x],...b}},C&&w<=50&&(w++,typeof C=="object"&&(C.placement&&(f=C.placement),C.rects&&(u=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:c,y:d}=Kp(u,f,l)),g=-1)}return{x:c,y:d,placement:f,strategy:o,middlewareData:h}};async function ns(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=mn(t,e),w=Z0(h),x=a[f?d==="floating"?"reference":"floating":d],m=Ya(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(x)))==null||n?x:x.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),p=d==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),b=await(i.isElement==null?void 0:i.isElement(v))?await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1}:{x:1,y:1},C=Ya(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:p,offsetParent:v,strategy:l}):p);return{top:(m.top-C.top+w.top)/b.y,bottom:(C.bottom-m.bottom+w.bottom)/b.y,left:(m.left-C.left+w.left)/b.x,right:(C.right-m.right+w.right)/b.x}}const qT=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=mn(e,t)||{};if(u==null)return{};const d=Z0(c),f={x:n,y:r},h=mf(o),w=pf(h),g=await s.getDimensions(u),x=h==="y",m=x?"top":"left",p=x?"bottom":"right",v=x?"clientHeight":"clientWidth",b=i.reference[w]+i.reference[h]-f[h]-i.floating[w],C=f[h]-i.reference[h],E=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let P=E?E[v]:0;(!P||!await(s.isElement==null?void 0:s.isElement(E)))&&(P=a.floating[v]||i.floating[w]);const T=b/2-C/2,j=P/2-g[w]/2-1,M=tr(d[m],j),V=tr(d[p],j),_=M,G=P-g[w]-V,L=P/2-g[w]/2+T,Y=Vc(_,L,G),$=!l.arrow&&qo(o)!=null&&L!==Y&&i.reference[w]/2-(L<_?M:V)-g[w]/2<0,F=$?L<_?L-_:L-G:0;return{[h]:f[h]+F,data:{[h]:Y,centerOffset:L-Y-F,...$&&{alignmentOffset:F}},reset:$}}}),XT=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:w="none",flipAlignment:g=!0,...x}=mn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const m=gn(o),p=Kt(a),v=gn(a)===a,b=await(l.isRTL==null?void 0:l.isRTL(u.floating)),C=f||(v||!g?[Ga(a)]:UT(a)),E=w!=="none";!f&&E&&C.push(...GT(a,g,w,b));const P=[a,...C],T=await ns(t,x),j=[];let M=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&j.push(T[m]),d){const L=$T(o,s,b);j.push(T[L[0]],T[L[1]])}if(M=[...M,{placement:o,overflows:j}],!j.every(L=>L<=0)){var V,_;const L=(((V=i.flip)==null?void 0:V.index)||0)+1,Y=P[L];if(Y&&(!(d==="alignment"?p!==Kt(Y):!1)||M.every(k=>k.overflows[0]>0&&Kt(k.placement)===p)))return{data:{index:L,overflows:M},reset:{placement:Y}};let $=(_=M.filter(F=>F.overflows[0]<=0).sort((F,k)=>F.overflows[1]-k.overflows[1])[0])==null?void 0:_.placement;if(!$)switch(h){case"bestFit":{var G;const F=(G=M.filter(k=>{if(E){const R=Kt(k.placement);return R===p||R==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(R=>R>0).reduce((R,O)=>R+O,0)]).sort((k,R)=>k[1]-R[1])[0])==null?void 0:G[0];F&&($=F);break}case"initialPlacement":$=a;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function Gp(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Yp(e){return FT.some(t=>e[t]>=0)}const ZT=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=mn(e,t);switch(r){case"referenceHidden":{const i=await ns(t,{...o,elementContext:"reference"}),s=Gp(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:Yp(s)}}}case"escaped":{const i=await ns(t,{...o,altBoundary:!0}),s=Gp(i,n.floating);return{data:{escapedOffsets:s,escaped:Yp(s)}}}default:return{}}}}},J0=new Set(["left","top"]);async function JT(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=gn(n),a=qo(n),l=Kt(n)==="y",u=J0.has(s)?-1:1,c=i&&l?-1:1,d=mn(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:w}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof w=="number"&&(h=a==="end"?w*-1:w),l?{x:h*c,y:f*u}:{x:f*u,y:h*c}}const ek=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await JT(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},tk=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:x=>{let{x:m,y:p}=x;return{x:m,y:p}}},...l}=mn(e,t),u={x:n,y:r},c=await ns(t,l),d=Kt(gn(o)),f=hf(d);let h=u[f],w=u[d];if(i){const x=f==="y"?"top":"left",m=f==="y"?"bottom":"right",p=h+c[x],v=h-c[m];h=Vc(p,h,v)}if(s){const x=d==="y"?"top":"left",m=d==="y"?"bottom":"right",p=w+c[x],v=w-c[m];w=Vc(p,w,v)}const g=a.fn({...t,[f]:h,[d]:w});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[f]:i,[d]:s}}}}}},nk=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=mn(e,t),c={x:n,y:r},d=Kt(o),f=hf(d);let h=c[f],w=c[d];const g=mn(a,t),x=typeof g=="number"?{mainAxis:g,crossAxis:0}:{mainAxis:0,crossAxis:0,...g};if(l){const v=f==="y"?"height":"width",b=i.reference[f]-i.floating[v]+x.mainAxis,C=i.reference[f]+i.reference[v]-x.mainAxis;h<b?h=b:h>C&&(h=C)}if(u){var m,p;const v=f==="y"?"width":"height",b=J0.has(gn(o)),C=i.reference[d]-i.floating[v]+(b&&((m=s.offset)==null?void 0:m[d])||0)+(b?0:x.crossAxis),E=i.reference[d]+i.reference[v]+(b?0:((p=s.offset)==null?void 0:p[d])||0)-(b?x.crossAxis:0);w<C?w=C:w>E&&(w=E)}return{[f]:h,[d]:w}}}},rk=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...u}=mn(e,t),c=await ns(t,u),d=gn(o),f=qo(o),h=Kt(o)==="y",{width:w,height:g}=i.floating;let x,m;d==="top"||d==="bottom"?(x=d,m=f===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(m=d,x=f==="end"?"top":"bottom");const p=g-c.top-c.bottom,v=w-c.left-c.right,b=tr(g-c[x],p),C=tr(w-c[m],v),E=!t.middlewareData.shift;let P=b,T=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=v),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=p),E&&!f){const M=nt(c.left,0),V=nt(c.right,0),_=nt(c.top,0),G=nt(c.bottom,0);h?T=w-2*(M!==0||V!==0?M+V:nt(c.left,c.right)):P=g-2*(_!==0||G!==0?_+G:nt(c.top,c.bottom))}await l({...t,availableWidth:T,availableHeight:P});const j=await s.getDimensions(a.floating);return w!==j.width||g!==j.height?{reset:{rects:!0}}:{}}}};function Pl(){return typeof window<"u"}function Xo(e){return ex(e)?(e.nodeName||"").toLowerCase():"#document"}function it(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Jt(e){var t;return(t=(ex(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ex(e){return Pl()?e instanceof Node||e instanceof it(e).Node:!1}function It(e){return Pl()?e instanceof Element||e instanceof it(e).Element:!1}function Zt(e){return Pl()?e instanceof HTMLElement||e instanceof it(e).HTMLElement:!1}function Qp(e){return!Pl()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof it(e).ShadowRoot}const ok=new Set(["inline","contents"]);function xs(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Ft(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!ok.has(o)}const ik=new Set(["table","td","th"]);function sk(e){return ik.has(Xo(e))}const ak=[":popover-open",":modal"];function Tl(e){return ak.some(t=>{try{return e.matches(t)}catch{return!1}})}const lk=["transform","translate","scale","rotate","perspective"],uk=["transform","translate","scale","rotate","perspective","filter"],ck=["paint","layout","strict","content"];function gf(e){const t=yf(),n=It(e)?Ft(e):e;return lk.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||uk.some(r=>(n.willChange||"").includes(r))||ck.some(r=>(n.contain||"").includes(r))}function dk(e){let t=nr(e);for(;Zt(t)&&!Vo(t);){if(gf(t))return t;if(Tl(t))return null;t=nr(t)}return null}function yf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const fk=new Set(["html","body","#document"]);function Vo(e){return fk.has(Xo(e))}function Ft(e){return it(e).getComputedStyle(e)}function kl(e){return It(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function nr(e){if(Xo(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Qp(e)&&e.host||Jt(e);return Qp(t)?t.host:t}function tx(e){const t=nr(e);return Vo(t)?e.ownerDocument?e.ownerDocument.body:e.body:Zt(t)&&xs(t)?t:tx(t)}function rs(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=tx(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=it(o);if(i){const a=Bc(s);
vendor: 6,458 bytes, line 188
188return t.concat(s,s.visualViewport||[],xs(o)?o:[],a&&n?rs(a):[])}return t.concat(o,rs(o,[],n))}function Bc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nx(e){const t=Ft(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Zt(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Ka(n)!==i||Ka(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function vf(e){return It(e)?e:e.contextElement}function Co(e){const t=vf(e);if(!Zt(t))return Qt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=nx(t);let s=(i?Ka(n.width):n.width)/r,a=(i?Ka(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const hk=Qt(0);function rx(e){const t=it(e);return!yf()||!t.visualViewport?hk:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function pk(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==it(e)?!1:t}function _r(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=vf(e);let s=Qt(1);t&&(r?It(r)&&(s=Co(r)):s=Co(e));const a=pk(i,n,r)?rx(i):Qt(0);let l=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,c=o.width/s.x,d=o.height/s.y;if(i){const f=it(i),h=r&&It(r)?it(r):r;let w=f,g=Bc(w);for(;g&&r&&h!==w;){const x=Co(g),m=g.getBoundingClientRect(),p=Ft(g),v=m.left+(g.clientLeft+parseFloat(p.paddingLeft))*x.x,b=m.top+(g.clientTop+parseFloat(p.paddingTop))*x.y;l*=x.x,u*=x.y,c*=x.x,d*=x.y,l+=v,u+=b,w=it(g),g=Bc(w)}}return Ya({width:c,height:d,x:l,y:u})}function xf(e,t){const n=kl(e).scrollLeft;return t?t.left+n:_r(Jt(e)).left+n}function ox(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:xf(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function mk(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Jt(r),a=t?Tl(t.floating):!1;if(r===s||a&&i)return n;let l={scrollLeft:0,scrollTop:0},u=Qt(1);const c=Qt(0),d=Zt(r);if((d||!d&&!i)&&((Xo(r)!=="body"||xs(s))&&(l=kl(r)),Zt(r))){const h=_r(r);u=Co(r),c.x=h.x+r.clientLeft,c.y=h.y+r.clientTop}const f=s&&!d&&!i?ox(s,l,!0):Qt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:n.y*u.y-l.scrollTop*u.y+c.y+f.y}}function gk(e){return Array.from(e.getClientRects())}function yk(e){const t=Jt(e),n=kl(e),r=e.ownerDocument.body,o=nt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=nt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+xf(e);const a=-n.scrollTop;return Ft(r).direction==="rtl"&&(s+=nt(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}function vk(e,t){const n=it(e),r=Jt(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,l=0;if(o){i=o.width,s=o.height;const u=yf();(!u||u&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:i,height:s,x:a,y:l}}const xk=new Set(["absolute","fixed"]);function wk(e,t){const n=_r(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Zt(e)?Co(e):Qt(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,l=o*i.x,u=r*i.y;return{width:s,height:a,x:l,y:u}}function qp(e,t,n){let r;if(t==="viewport")r=vk(e,n);else if(t==="document")r=yk(Jt(e));else if(It(t))r=wk(t,n);else{const o=rx(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ya(r)}function ix(e,t){const n=nr(e);return n===t||!It(n)||Vo(n)?!1:Ft(n).position==="fixed"||ix(n,t)}function Sk(e,t){const n=t.get(e);if(n)return n;let r=rs(e,[],!1).filter(a=>It(a)&&Xo(a)!=="body"),o=null;const i=Ft(e).position==="fixed";let s=i?nr(e):e;for(;It(s)&&!Vo(s);){const a=Ft(s),l=gf(s);!l&&a.position==="fixed"&&(o=null),(i?!l&&!o:!l&&a.position==="static"&&!!o&&xk.has(o.position)||xs(s)&&!l&&ix(e,s))?r=r.filter(c=>c!==s):o=a,s=nr(s)}return t.set(e,r),r}function bk(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?Tl(t)?[]:Sk(t,this._c):[].concat(n),r],a=s[0],l=s.reduce((u,c)=>{const d=qp(t,c,o);return u.top=nt(d.top,u.top),u.right=tr(d.right,u.right),u.bottom=tr(d.bottom,u.bottom),u.left=nt(d.left,u.left),u},qp(t,a,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Ck(e){const{width:t,height:n}=nx(e);return{width:t,height:n}}function Ek(e,t,n){const r=Zt(t),o=Jt(t),i=n==="fixed",s=_r(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const l=Qt(0);function u(){l.x=xf(o)}if(r||!r&&!i)if((Xo(t)!=="body"||xs(o))&&(a=kl(t)),r){const h=_r(t,!0,i,t);l.x=h.x+t.clientLeft,l.y=h.y+t.clientTop}else o&&u();i&&!r&&o&&u();const c=o&&!r&&!i?ox(o,a):Qt(0),d=s.left+a.scrollLeft-l.x-c.x,f=s.top+a.scrollTop-l.y-c.y;return{x:d,y:f,width:s.width,height:s.height}}function wu(e){return Ft(e).position==="static"}function Xp(e,t){if(!Zt(e)||Ft(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Jt(e)===n&&(n=n.ownerDocument.body),n}function sx(e,t){const n=it(e);if(Tl(e))return n;if(!Zt(e)){let o=nr(e);for(;o&&!Vo(o);){if(It(o)&&!wu(o))return o;o=nr(o)}return n}let r=Xp(e,t);for(;r&&sk(r)&&wu(r);)r=Xp(r,t);return r&&Vo(r)&&wu(r)&&!gf(r)?n:r||dk(e)||n}const Pk=async function(e){const t=this.getOffsetParent||sx,n=this.getDimensions,r=await n(e.floating);return{reference:Ek(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Tk(e){return Ft(e).direction==="rtl"}const kk={convertOffsetParentRelativeRectToViewportRelativeRect:mk,getDocumentElement:Jt,getClippingRect:bk,getOffsetParent:sx,getElementRects:Pk,getClientRects:gk,getDimensions:Ck,getScale:Co,isElement:It,isRTL:Tk};function ax(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Nk(e,t){let n=null,r;const o=Jt(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),i();const u=e.getBoundingClientRect(),{left:c,top:d,width:f,height:h}=u;if(a||t(),!f||!h)return;const w=Qs(d),g=Qs(o.clientWidth-(c+f)),x=Qs(o.clientHeight-(d+h)),m=Qs(c),v={rootMargin:-w+"px "+-g+"px "+-x+"px "+-m+"px",threshold:nt(0,tr(1,l))||1};let b=!0;function C(E){const P=E[0].intersectionRatio;if(P!==l){if(!b)return s();P?s(!1,P):r=setTimeout(()=>{s(!1,1e-7)},1e3)}P===1&&!ax(u,e.getBoundingClientRect())&&s(),b=!1}try{n=new IntersectionObserver(C,{...v,root:o.ownerDocument})}catch{n=new IntersectionObserver(C,v)}n.observe(e)}return s(!0),i}function Rk(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}
vendor: 9,300 bytes, line 188
188=r,u=vf(e),c=o||i?[...u?rs(u):[],...rs(t)]:[];c.forEach(m=>{o&&m.addEventListener("scroll",n,{passive:!0}),i&&m.addEventListener("resize",n)});const d=u&&a?Nk(u,n):null;let f=-1,h=null;s&&(h=new ResizeObserver(m=>{let[p]=m;p&&p.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var v;(v=h)==null||v.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let w,g=l?_r(e):null;l&&x();function x(){const m=_r(e);g&&!ax(g,m)&&n(),g=m,w=requestAnimationFrame(x)}return n(),()=>{var m;c.forEach(p=>{o&&p.removeEventListener("scroll",n),i&&p.removeEventListener("resize",n)}),d==null||d(),(m=h)==null||m.disconnect(),h=null,l&&cancelAnimationFrame(w)}}const Ak=ek,jk=tk,Mk=XT,Dk=rk,Lk=ZT,Zp=qT,Ok=nk,_k=(e,t,n)=>{const r=new Map,o={platform:kk,...n},i={...o.platform,_c:r};return QT(e,t,{...o,platform:i})};var Ik=typeof document<"u",Fk=function(){},ma=Ik?S.useLayoutEffect:Fk;function Qa(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Qa(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Qa(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function lx(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Jp(e,t){const n=lx(e);return Math.round(t*n)/n}function Su(e){const t=S.useRef(e);return ma(()=>{t.current=e}),t}function Vk(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=S.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,h]=S.useState(r);Qa(f,r)||h(r);const[w,g]=S.useState(null),[x,m]=S.useState(null),p=S.useCallback(k=>{k!==E.current&&(E.current=k,g(k))},[]),v=S.useCallback(k=>{k!==P.current&&(P.current=k,m(k))},[]),b=i||w,C=s||x,E=S.useRef(null),P=S.useRef(null),T=S.useRef(c),j=l!=null,M=Su(l),V=Su(o),_=Su(u),G=S.useCallback(()=>{if(!E.current||!P.current)return;const k={placement:t,strategy:n,middleware:f};V.current&&(k.platform=V.current),_k(E.current,P.current,k).then(R=>{const O={...R,isPositioned:_.current!==!1};L.current&&!Qa(T.current,O)&&(T.current=O,gs.flushSync(()=>{d(O)}))})},[f,t,n,V,_]);ma(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const L=S.useRef(!1);ma(()=>(L.current=!0,()=>{L.current=!1}),[]),ma(()=>{if(b&&(E.current=b),C&&(P.current=C),b&&C){if(M.current)return M.current(b,C,G);G()}},[b,C,G,M,j]);const Y=S.useMemo(()=>({reference:E,floating:P,setReference:p,setFloating:v}),[p,v]),$=S.useMemo(()=>({reference:b,floating:C}),[b,C]),F=S.useMemo(()=>{const k={position:n,left:0,top:0};if(!$.floating)return k;const R=Jp($.floating,c.x),O=Jp($.floating,c.y);return a?{...k,transform:"translate("+R+"px, "+O+"px)",...lx($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:O}},[n,a,$.floating,c.x,c.y]);return S.useMemo(()=>({...c,update:G,refs:Y,elements:$,floatingStyles:F}),[c,G,Y,$,F])}const zk=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?Zp({element:r.current,padding:o}).fn(n):{}:r?Zp({element:r,padding:o}).fn(n):{}}}},Bk=(e,t)=>({...Ak(e),options:[e,t]}),$k=(e,t)=>({...jk(e),options:[e,t]}),Uk=(e,t)=>({...Ok(e),options:[e,t]}),Wk=(e,t)=>({...Mk(e),options:[e,t]}),Hk=(e,t)=>({...Dk(e),options:[e,t]}),Kk=(e,t)=>({...Lk(e),options:[e,t]}),Gk=(e,t)=>({...zk(e),options:[e,t]});var Yk="Arrow",ux=S.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return y.jsx(et.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});ux.displayName=Yk;var Qk=ux;function qk(e){const[t,n]=S.useState(void 0);return er(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const l=i.borderBoxSize,u=Array.isArray(l)?l[0]:l;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var cx="Popper",[dx,fx]=bl(cx),[gM,hx]=dx(cx),px="PopperAnchor",mx=S.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=hx(px,n),s=S.useRef(null),a=_t(t,s);return S.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:y.jsx(et.div,{...o,ref:a})});mx.displayName=px;var wf="PopperContent",[Xk,Zk]=dx(wf),gx=S.forwardRef((e,t)=>{var ee,Ur,xn,ur,wn,Wr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:h="optimized",onPlaced:w,...g}=e,x=hx(wf,n),[m,p]=S.useState(null),v=_t(t,Sn=>p(Sn)),[b,C]=S.useState(null),E=qk(b),P=(E==null?void 0:E.width)??0,T=(E==null?void 0:E.height)??0,j=r+(i!=="center"?"-"+i:""),M=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},V=Array.isArray(u)?u:[u],_=V.length>0,G={padding:M,boundary:V.filter(e2),altBoundary:_},{refs:L,floatingStyles:Y,placement:$,isPositioned:F,middlewareData:k}=Vk({strategy:"fixed",placement:j,whileElementsMounted:(...Sn)=>Rk(...Sn,{animationFrame:h==="always"}),elements:{reference:x.anchor},middleware:[Bk({mainAxis:o+T,alignmentAxis:s}),l&&$k({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?Uk():void 0,...G}),l&&Wk({...G}),Hk({...G,apply:({elements:Sn,rects:Es,availableWidth:Il,availableHeight:Ps})=>{const{width:Fl,height:ei}=Es.reference,Hr=Sn.floating.style;Hr.setProperty("--radix-popper-available-width",`${Il}px`),Hr.setProperty("--radix-popper-available-height",`${Ps}px`),Hr.setProperty("--radix-popper-anchor-width",`${Fl}px`),Hr.setProperty("--radix-popper-anchor-height",`${ei}px`)}}),b&&Gk({element:b,padding:a}),t2({arrowWidth:P,arrowHeight:T}),f&&Kk({strategy:"referenceHidden",...G})]}),[R,O]=xx($),H=Jn(w);er(()=>{F&&(H==null||H())},[F,H]);const z=(ee=k.arrow)==null?void 0:ee.x,Q=(Ur=k.arrow)==null?void 0:Ur.y,X=((xn=k.arrow)==null?void 0:xn.centerOffset)!==0,[we,De]=S.useState();return er(()=>{m&&De(window.getComputedStyle(m).zIndex)},[m]),y.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:F?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:we,"--radix-popper-transform-origin":[(ur=k.transformOrigin)==null?void 0:ur.x,(wn=k.transformOrigin)==null?void 0:wn.y].join(" "),...((Wr=k.hide)==null?void 0:Wr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:y.jsx(Xk,{scope:n,placedSide:R,onArrowChange:C,arrowX:z,arrowY:Q,shouldHideArrow:X,children:y.jsx(et.div,{"data-side":R,"data-align":O,...g,ref:v,style:{...g.style,animation:F?void 0:"none"}})})})});gx.displayName=wf;var yx="PopperArrow",Jk={top:"bottom",right:"left",bottom:"top",left:"right"},vx=S.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=Zk(yx,r),s=Jk[i.placedSide];return y.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:y.jsx(Qk,{...o,ref:n,style:{...o.style,display:"block"}})})});vx.displayName=yx;function e2(e){return e!==null}var t2=e=>({name:"transformOrigin",options:e,fn(t){var x,m,p;const{placement:n,rects:r,middlewareData:o}=t,s=((x=o.arrow)==null?void 0:x.centerOffset)!==0,a=s?0:e.arrowWidth,l=s?0:e.arrowHeight,[u,c]=xx(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((m=o.arrow)==null?void 0:m.x)??0)+a/2,h=(((p=o.arrow)==null?void 0:p.y)??0)+l/2;let w="",g="";return u==="bottom"?(w=s?d:`${f}px`,g=`${-l}px`):u==="top"?(w=s?d:`${f}px`,g=`${r.floating.height+l}px`):u==="right"?(w=`${-l}px`,g=s?d:`${h}px`):u==="left"&&(w=`${r.floating.width+l}px`,g=s?d:`${h}px`),{data:{x:w,y:g}}}});function xx(e){const[t,n="center"]=e.split("-");return[t,n]}var n2=mx,r2=gx,o2=vx,[Nl,yM]=bl("Tooltip",[fx]),Sf=fx(),wx="TooltipProvider",i2=700,em="tooltip.open",[s2,Sx]=Nl(wx),bx=e=>{const{__scopeTooltip:t,delayDuration:n=i2,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=S.useRef(!0),a=S.useRef(!1),l=S.useRef(0);return S.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),y.jsx(s2,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:S.useCallback(()=>{window.clearTimeout(l.current),s.current=!1},[]),onClose:S.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:S.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:i})};bx.displayName=wx;
vendor: 5,674 bytes, line 188
188var Cx="Tooltip",[vM,Rl]=Nl(Cx),$c="TooltipTrigger",a2=S.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Rl($c,n),i=Sx($c,n),s=Sf(n),a=S.useRef(null),l=_t(t,a,o.onTriggerChange),u=S.useRef(!1),c=S.useRef(!1),d=S.useCallback(()=>u.current=!1,[]);return S.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),y.jsx(n2,{asChild:!0,...s,children:y.jsx(et.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:l,onPointerMove:Pe(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),c.current=!0)}),onPointerLeave:Pe(e.onPointerLeave,()=>{o.onTriggerLeave(),c.current=!1}),onPointerDown:Pe(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:Pe(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:Pe(e.onBlur,o.onClose),onClick:Pe(e.onClick,o.onClose)})})});a2.displayName=$c;var l2="TooltipPortal",[xM,u2]=Nl(l2,{forceMount:void 0}),zo="TooltipContent",Ex=S.forwardRef((e,t)=>{const n=u2(zo,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=Rl(zo,e.__scopeTooltip);return y.jsx(sf,{present:r||s.open,children:s.disableHoverableContent?y.jsx(Px,{side:o,...i,ref:t}):y.jsx(c2,{side:o,...i,ref:t})})}),c2=S.forwardRef((e,t)=>{const n=Rl(zo,e.__scopeTooltip),r=Sx(zo,e.__scopeTooltip),o=S.useRef(null),i=_t(t,o),[s,a]=S.useState(null),{trigger:l,onClose:u}=n,c=o.current,{onPointerInTransitChange:d}=r,f=S.useCallback(()=>{a(null),d(!1)},[d]),h=S.useCallback((w,g)=>{const x=w.currentTarget,m={x:w.clientX,y:w.clientY},p=m2(m,x.getBoundingClientRect()),v=g2(m,p),b=y2(g.getBoundingClientRect()),C=x2([...v,...b]);a(C),d(!0)},[d]);return S.useEffect(()=>()=>f(),[f]),S.useEffect(()=>{if(l&&c){const w=x=>h(x,c),g=x=>h(x,l);return l.addEventListener("pointerleave",w),c.addEventListener("pointerleave",g),()=>{l.removeEventListener("pointerleave",w),c.removeEventListener("pointerleave",g)}}},[l,c,h,f]),S.useEffect(()=>{if(s){const w=g=>{const x=g.target,m={x:g.clientX,y:g.clientY},p=(l==null?void 0:l.contains(x))||(c==null?void 0:c.contains(x)),v=!v2(m,s);p?f():v&&(f(),u())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[l,c,s,u,f]),y.jsx(Px,{...e,ref:i})}),[d2,f2]=Nl(Cx,{isInside:!1}),h2=QE("TooltipContent"),Px=S.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,l=Rl(zo,n),u=Sf(n),{onClose:c}=l;return S.useEffect(()=>(document.addEventListener(em,c),()=>document.removeEventListener(em,c)),[c]),S.useEffect(()=>{if(l.trigger){const d=f=>{const h=f.target;h!=null&&h.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),y.jsx(of,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:y.jsxs(r2,{"data-state":l.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[y.jsx(h2,{children:r}),y.jsx(d2,{scope:n,isInside:!0,children:y.jsx(wP,{id:l.contentId,role:"tooltip",children:o||r})})]})})});Ex.displayName=zo;var Tx="TooltipArrow",p2=S.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Sf(n);return f2(Tx,n).isInside?null:y.jsx(o2,{...o,...r,ref:t})});p2.displayName=Tx;function m2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function g2(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function y2(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function v2(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i],l=t[s],u=a.x,c=a.y,d=l.x,f=l.y;c>r!=f>r&&n<(d-u)*(r-c)/(f-c)+u&&(o=!o)}return o}function x2(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),w2(t)}function w2(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var S2=bx,kx=Ex;const b2=S2,C2=S.forwardRef(({className:e,sideOffset:t=4,...n},r)=>y.jsx(kx,{ref:r,sideOffset:t,className:Br("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:sli
188de-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));C2.displayName=kx.displayName;const bf=S.createContext({});function Cf(e){const t=S.useRef(null);return t.current===null&&(t.current=e()),t.current}const Al=S.createContext(null),Ef=S.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class E2 extends S.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function P2({children:e,isPresent:t}){const n=S.useId(),r=S.useRef(null),o=S.useRef({width:0,height:0,top:0,left:0}),{nonce:i}=S.useContext(Ef);return S.useInsertionEffect(()=>{const{width:s,height:a,top:l,left:u}=o.current;if(t||!r.current||!s||!a)return;r.current.dataset.motionPopId=n;const c=document.createElement("style");return i&&(c.nonce=i),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`
189          [data-motion-pop-id="${n}"] {
190            position: absolute !important;
191            width: ${s}px !important;
192            height: ${a}px !important;
193            top: ${l}px !important;
194            left: ${u}px !important;
195          }
196        `),()=>{document.head.removeChild(c)}},[t]),y.jsx(E2,{isPresent:t,childRef:r,sizeRef:o,children:S.cloneElement(e,{ref:r})})}const T2=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:o,presenceAffectsLayout:i,mode:s})=>{const a=Cf(k2),l=S.useId(),u=S.useCallback(d=>{a.set(d,!0);for(const f of a.values())if(!f)return;r&&r()},[a,r]),c=S.useMemo(()=>({id:l,initial:t,isPresent:n,custom:o,onExitComplete:u,register:d=>(a.set(d,!1),()=>a.delete(d))}),i?[Math.random(),u]:[n,u]);return S.useMemo(()=>{a.forEach((d,f)=>a.set(f,!1))},[n]),S.useEffect(()=>{!n&&!a.size&&r&&r()},[n]),s==="popLayout"&&(e=y.jsx(P2,{isPresent:n,children:e})),y.jsx(Al.Provider,{value:c,children:e})};function k2(){return new Map}function Nx(e=!0){const t=S.useContext(Al);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:o}=t,i=S.useId();S.useEffect(()=>{e&&o(i)},[e]);const s=S.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,s]:[!0]}const qs=e=>e.key||"";function tm(e){const t=[];return S.Children.forEach(e,n=>{S.isValidElement(n)&&t.push(n)}),t}const Pf=typeof window<"u",Rx=Pf?S.useLayoutEffect:S.useEffect,N2=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:o=!0,mode:i="sync",propagate:s=!1})=>{const[a,l]=Nx(s),u=S.useMemo(()=>tm(e),[e]),c=s&&!a?[]:u.map(qs),d=S.useRef(!0),f=S.useRef(u),h=Cf(()=>new Map),[w,g]=S.useState(u),[x,m]=S.useState(u);Rx(()=>{d.current=!1,f.current=u;for(let b=0;b<x.length;b++){const C=qs(x[b]);c.includes(C)?h.delete(C):h.get(C)!==!0&&h.set(C,!1)}},[x,c.length,c.join("-")]);const p=[];if(u!==w){let b=[...u];for(let C=0;C<x.length;C++){const E=x[C],P=qs(E);c.includes(P)||(b.splice(C,0,E),p.push(E))}i==="wait"&&p.length&&(b=p),m(tm(b)),g(u);return}const{forceRender:v}=S.useContext(bf);return y.jsx(y.Fragment,{children:x.map(b=>{const C=qs(b),E=s&&!a?!1:u===x||c.includes(C),P=()=>{if(h.has(C))h.set(C,!0);else return;let T=!0;h.forEach(j=>{j||(T=!1)}),T&&(v==null||v(),m(f.current),s&&(l==null||l()),r&&r())};return y.jsx(T2,{isPresent:E,initial:!d.current||n?void 0:!1,custom:E?void 0:t,presenceAffectsLayout:o,mode:i,onExitComplete:E?void 0:P,children:b},C)})})},st=e=>e;let Uc=st;function Tf(e){let t;return()=>(t===void 0&&(t=e()),t)}const Bo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},un=e=>e*1e3,cn=e=>e/1e3,R2={skipAnimations:!1,useManualTiming:!1};function A2(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(u){i.has(u)&&(l.schedule(u),e()),u(s)}const l={schedule:(u,c=!1,d=!1)=>{const h=d&&r?t:n;return c&&i.add(u),h.has(u)||h.add(u),u},cancel:u=>{n.delete(u),i.delete(u)},process:u=>{if(s=u,r){o=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,o&&(o=!1,l.process(u))}};return l}const Xs=["read","resolveKeyframes","update","preRender","render","postRender"],j2=40;function Ax(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=Xs.reduce((m,p)=>(m[p]=A2(i),m),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=s,h=()=>{const m=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(m-o.timestamp,j2),1),o.timestamp=m,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(h))},w=()=>{n=!0,r=!0,o.isProcessing||e(h)};return{schedule:Xs.reduce((m,p)=>{const v=s[p];return m[p]=(b,C=!1,E=!1)=>(n||w(),v.schedule(b,C,E)),m},{}),cancel:m=>{for(let p=0;p<Xs.length;p++)s[Xs[p]].cancel(m)},state:o,steps:s}}const{schedule:le,cancel:rr,state:Ae,steps:bu}=Ax(typeof requestAnimationFrame<"u"?requestAnimationFrame:st,!0),jx=S.createContext({strict:!1}),nm={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},$o={};for(const e in nm)$o[e]={isEnabled:t=>nm[e].some(n=>!!t[n])};function M2(e){for(const t in e)$o[t]={...$o[t],...e[t]}}const D2=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function qa(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||D2.has(e)}let Mx=e=>!qa(e);function L2(e){e&&(Mx=t=>t.startsWith("on")?!qa(t):e(t))}try{L2(require("@emotion/is-prop-valid").default)}catch{}function O2(e,t,n){const r={};for(const o in e)o==="values"&&typeof e.values=="object"||(Mx(o)||n===!0&&qa(o)||!t&&!qa(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}function _2(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,o)=>o==="create"?e:(t.has(o)||t.set(o,e(o)),t.get(o))})}const jl=S.createContext({});function os(e){return typeof e=="string"||Array.isArray(e)}function Ml(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const kf=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Nf=["initial",...kf];function Dl(e){return Ml(e.animate)||Nf.some(t=>os(e[t]))}function Dx(e){return!!(Dl(e)||e.variants)}function I2(e,t){if(Dl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||os(n)?n:void 0,animate:os(r)?r:void 0}}return e.inherit!==!1?t:{}}function F2(e){const{initial:t,animate:n}=I2(e,S.useContext(jl));return S.useMemo(()=>({initial:t,animate:n}),[rm(t),rm(n)])}function rm(e){return Array.isArray(e)?e.join(" "):e}const V2=Symbol.for("motionComponentSymbol");function co(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function z2(e,t,n){return S.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):co(n)&&(n.current=r))},[t])}const Rf=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),B2="framerAppearId",Lx="data-"+Rf(B2),{schedule:Af,cancel:wM}=Ax(queueMicrotask,!1),Ox=S.createContext({});function $2(e,t,n,r,o){var i,s;const{visualElement:a}=S.useContext(jl),l=S.useContext(jx),u=S.useContext(Al),c=S.useContext(Ef).reducedMotion,d=S.useRef(null);r=r||l.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.
vendor: 24,667 bytes, line 196
196initial===!1:!1,reducedMotionConfig:c}));const f=d.current,h=S.useContext(Ox);f&&!f.projection&&o&&(f.type==="html"||f.type==="svg")&&U2(d.current,n,o,h);const w=S.useRef(!1);S.useInsertionEffect(()=>{f&&w.current&&f.update(n,u)});const g=n[Lx],x=S.useRef(!!g&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,g))&&((s=window.MotionHasOptimisedAnimation)===null||s===void 0?void 0:s.call(window,g)));return Rx(()=>{f&&(w.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),Af.render(f.render),x.current&&f.animationState&&f.animationState.animateChanges())}),S.useEffect(()=>{f&&(!x.current&&f.animationState&&f.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var m;(m=window.MotionHandoffMarkAsComplete)===null||m===void 0||m.call(window,g)}),x.current=!1))}),f}function U2(e,t,n,r){const{layoutId:o,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:_x(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!s||a&&co(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}function _x(e){if(e)return e.options.allowProjection!==!1?e.projection:_x(e.parent)}function W2({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:o}){var i,s;e&&M2(e);function a(u,c){let d;const f={...S.useContext(Ef),...u,layoutId:H2(u)},{isStatic:h}=f,w=F2(u),g=r(u,h);if(!h&&Pf){K2();const x=G2(f);d=x.MeasureLayout,w.visualElement=$2(o,g,f,t,x.ProjectionNode)}return y.jsxs(jl.Provider,{value:w,children:[d&&w.visualElement?y.jsx(d,{visualElement:w.visualElement,...f}):null,n(o,u,z2(g,w.visualElement,c),g,h,w.visualElement)]})}a.displayName=`motion.${typeof o=="string"?o:`create(${(s=(i=o.displayName)!==null&&i!==void 0?i:o.name)!==null&&s!==void 0?s:""})`}`;const l=S.forwardRef(a);return l[V2]=o,l}function H2({layoutId:e}){const t=S.useContext(bf).id;return t&&e!==void 0?t+"-"+e:e}function K2(e,t){S.useContext(jx).strict}function G2(e){const{drag:t,layout:n}=$o;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const Y2=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function jf(e){return typeof e!="string"||e.includes("-")?!1:!!(Y2.indexOf(e)>-1||/[A-Z]/u.test(e))}function om(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function Mf(e,t,n,r){if(typeof t=="function"){const[o,i]=om(r);t=t(n!==void 0?n:e.custom,o,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[o,i]=om(r);t=t(n!==void 0?n:e.custom,o,i)}return t}const Wc=e=>Array.isArray(e),Q2=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),q2=e=>Wc(e)?e[e.length-1]||0:e,ze=e=>!!(e&&e.getVelocity);function ga(e){const t=ze(e)?e.get():e;return Q2(t)?t.toValue():t}function X2({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,o,i){const s={latestValues:Z2(r,o,i,e),renderState:t()};return n&&(s.onMount=a=>n({props:r,current:a,...s}),s.onUpdate=a=>n(a)),s}const Ix=e=>(t,n)=>{const r=S.useContext(jl),o=S.useContext(Al),i=()=>X2(e,t,r,o);return n?i():Cf(i)};function Z2(e,t,n,r){const o={},i=r(e,{});for(const f in i)o[f]=ga(i[f]);let{initial:s,animate:a}=e;const l=Dl(e),u=Dx(e);t&&u&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||s===!1;const d=c?a:s;if(d&&typeof d!="boolean"&&!Ml(d)){const f=Array.isArray(d)?d:[d];for(let h=0;h<f.length;h++){const w=Mf(e,f[h]);if(w){const{transitionEnd:g,transition:x,...m}=w;for(const p in m){let v=m[p];if(Array.isArray(v)){const b=c?v.length-1:0;v=v[b]}v!==null&&(o[p]=v)}for(const p in g)o[p]=g[p]}}}return o}const Zo=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],$r=new Set(Zo),Fx=e=>t=>typeof t=="string"&&t.startsWith(e),Vx=Fx("--"),J2=Fx("var(--"),Df=e=>J2(e)?eN.test(e.split("/*")[0].trim()):!1,eN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,zx=(e,t)=>t&&typeof e=="number"?t.transform(e):e,yn=(e,t,n)=>n>t?t:n<e?e:n,Jo={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},is={...Jo,transform:e=>yn(0,1,e)},Zs={...Jo,default:1},ws=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Rn=ws("deg"),qt=ws("%"),B=ws("px"),tN=ws("vh"),nN=ws("vw"),im={...qt,parse:e=>qt.parse(e)/100,transform:e=>qt.transform(e*100)},rN={borderWidth:B,borderTopWidth:B,borderRightWidth:B,borderBottomWidth:B,borderLeftWidth:B,borderRadius:B,radius:B,borderTopLeftRadius:B,borderTopRightRadius:B,borderBottomRightRadius:B,borderBottomLeftRadius:B,width:B,maxWidth:B,height:B,maxHeight:B,top:B,right:B,bottom:B,left:B,padding:B,paddingTop:B,paddingRight:B,paddingBottom:B,paddingLeft:B,margin:B,marginTop:B,marginRight:B,marginBottom:B,marginLeft:B,backgroundPositionX:B,backgroundPositionY:B},oN={rotate:Rn,rotateX:Rn,rotateY:Rn,rotateZ:Rn,scale:Zs,scaleX:Zs,scaleY:Zs,scaleZ:Zs,skew:Rn,skewX:Rn,skewY:Rn,distance:B,translateX:B,translateY:B,translateZ:B,x:B,y:B,z:B,perspective:B,transformPerspective:B,opacity:is,originX:im,originY:im,originZ:B},sm={...Jo,transform:Math.round},Lf={...rN,...oN,zIndex:sm,size:B,fillOpacity:is,strokeOpacity:is,numOctaves:sm},iN={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},sN=Zo.length;function aN(e,t,n){let r="",o=!0;for(let i=0;i<sN;i++){const s=Zo[i],a=e[s];if(a===void 0)continue;let l=!0;if(typeof a=="number"?l=a===(s.startsWith("scale")?1:0):l=parseFloat(a)===0,!l||n){const u=zx(a,Lf[s]);if(!l){o=!1;const c=iN[s]||s;r+=`${c}(${u}) `}n&&(t[s]=u)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}function Of(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const l in t){const u=t[l];if($r.has(l)){s=!0;continue}else if(Vx(l)){o[l]=u;continue}else{const c=zx(u,Lf[l]);l.startsWith("origin")?(a=!0,i[l]=c):r[l]=c}}if(t.transform||(s||n?r.transform=aN(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=i;r.transformOrigin=`${l} ${u} ${c}`}}const lN={offset:"stroke-dashoffset",array:"stroke-dasharray"},uN={offset:"strokeDashoffset",array:"strokeDasharray"};function cN(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?lN:uN;e[i.offset]=B.transform(-r);const s=B.transform(t),a=B.transform(n);e[i.array]=`${s} ${a}`}function am(e,t,n){return typeof e=="string"?e:B.transform(t+n*e)}function dN(e,t,n){const r=am(t,e.x,e.width),o=am(n,e.y,e.height);return`${r} ${o}`}function _f(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d){if(Of(e,u,d),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:w}=e;f.transform&&(w&&(h.transform=f.transform),delete f.transform),w&&(o!==void 0||i!==void 0||h.transform)&&(h.transformOrigin=dN(w,o!==void 0?o:.5,i!==void 0?i:.5)),t!==void 0&&(f.x=t),n!==void 0&&(f.y=n),r!==void 0&&(f.scale=r),s!==void 0&&cN(f,s,a,l,!1)}const If=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),Bx=()=>({...If(),attrs:{}}),Ff=e=>typeof e=="string"&&e.toLowerCase()==="svg";function $x(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const Ux=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Wx(e,t,n,r){$x(e,t,void 0,r);for(const o in t.attrs)e.setAttribute(Ux.has(o)?o:Rf(o),t.attrs[o])}const Xa={};function fN(e){Object.assign(Xa,e)}function Hx(e,{layout:t,layoutId:n}){return $r.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Xa[e]||e==="opacity")}function Vf(e,t,n){var r;const{style:o}=e,i={};for(const s in o)(ze(o[s])||t.style&&ze(t.style[s])||Hx(s,e)||((r=n==null?void 0:n.getValue(s))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(i[s]=o[s]);return i}function Kx(e,t,n){const r=Vf(e,t,n);for(const o in e)if(ze(e[o])||ze(t[o])){const i=Zo.indexOf(o)!==-1?"attr"+o.charAt(0).toUpperCase()+o.substring(1):o;r[i]=e[o]}return r}function hN(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const lm=["x","y","width","height","cx","cy","r"],pN={useVisualState:Ix({scrapeMotionValuesFromProps:Kx,createRenderState:Bx,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:o})=>{if(!n)return;let i=!!e.drag;if(!i){for(const a in o)if($r.has(a)){i=!0;break}}if(!i)return;let s=!t;if(t)for(let a=0;a<lm.length;a++){const l=lm[a];e[l]!==t[l]&&(s=!0)}s&&le.read(()=>{hN(n,r),le.render(()=>{_f(r,o,Ff(n.tagName),e.transformTemplate),Wx(n,r)})})}})},mN={useVisualState:Ix({scrapeMotionValuesFromProps:Vf,createRenderState:If})};function Gx(e,t,n){for(const r in t)!ze(t[r])&&!Hx(r,n)&&(e[r]=t[r])}function gN({transformTemplate:e},t){return S.useMemo(()=>{const n=If();return Of(n,t,e),Object.assign({},n.vars,n.style)},[t])}function yN(e,t){const n=e.style||{},r={};return Gx(r,n,e),Object.assign(r,gN(e,t)),r}function vN(e,t){const n={},r=yN(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function xN(e,t,n,r){const o=S.useMemo(()=>{const i=Bx();return _f(i,t,Ff(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Gx(i,e.style,e),o.style={...i,...o.style}}return o}function wN(e=!1){return(n,r,o,{latestValues:i},s)=>{const l=(jf(n)?xN:vN)(r,i,s,n),u=O2(r,typeof n=="string",e),c=n!==S.Fragment?{...u,...l,ref:o}:{},{children:d}=r,f=S.useMemo(()=>ze(d)?d.get():d,[d]);return S.createElement(n,{...c,children:f})}}function SN(e,t){return function(r,{forwardMotionProps:o}={forwardMotionProps:!1}){const s={...jf(r)?pN:mN,preloadedFeatures:e,useRender:wN(o),createVisualElement:t,Component:r};return W2(s)}}function Yx(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Ll(e,t,n){const r=e.getProps();return Mf(r,t,n!==void 0?n:r.custom,e)}const bN=Tf(()=>window.ScrollTimeline!==void 0);class CN{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r<this.animations.length;r++)this.animations[r][t]=n}attachTimeline(t,n){const r=this.animations.map(o=>{if(bN()&&o.attachTimeline)return o.attachTimeline(t);if(typeof n=="function")return n(o)});return()=>{r.forEach((o,i)=>{o&&o(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;n<this.animations.length;n++)t=Math.max(t,this.animations[n].duration);return t}runAll(t){this.animations.forEach(n=>n[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class EN extends CN{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}function zf(e,t){return e?e[t]||e.default||e:void 0}const Hc=2e4;function Qx(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<Hc;)t+=n,r=e.next(t);return t>=Hc?1/0:t}function Bf(e){return typeof e=="function"}function um(e,t){e.timeline=t,e.onfinish=null}const $f=e=>Array.isArray(e)&&typeof e[0]=="number",PN={linearEasing:void 0};function TN(e,t){const n=Tf(e);return()=>{var r;return(r=PN[t])!==null&&r!==void 0?r:n()}}const Za=TN(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),qx=(e,t,n=10)=>{let r="";const o=Math.max(Math.round(t/n),2);for(let i=0;i<o;i++)r+=e(Bo(0,o-1,i))+", ";return`linear(${r.substring(0,r.length-2)})`};function Xx(e){return!!(typeof e=="function"&&Za()||!e||typeof e=="string"&&(e in Kc||Za())||$f(e)||Array.isArray(e)&&e.every(Xx))}const vi=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Kc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:vi([0,.65,.55,1]),circOut:vi([.55,0,1,.45]),backIn:vi([.31,.01,.66,-.59]),backOut:vi([.33,1.53,.69,.99])};function Zx(e,t){if(e)return typeof e=="function"&&Za()?qx(e,t):$f(e)?vi(e):Array.isArray(e)?e.map(n=>Zx(n,t)||Kc.easeOut):Kc[e]}const Tt={x:!1,y:!1};function Jx(){return Tt.x||Tt.y}function kN(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let o=document;const i=(r=void 0)!==null&&r!==void 0?r:o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function ew(e,t){const n=kN(e),r=new AbortController,o={passive:!0,...t,signal:r.signal};return[n,o,()=>r.abort()]}function cm(e){return t=>{t.pointerType==="touch"||Jx()||e(t)}}function NN(e,t,n={}){const[r,o,i]=ew(e,n),s=cm(a=>{const{target:l}=a,u=t(a);if(typeof u!="function"||!l)return;const c=cm(d=>{u(d),l.removeEventListener("pointerleave",c)});l.addEventListener("pointerleave",c,o)});return r.forEach(a=>{a.addEventListener("pointerenter",s,o)}),i}const tw=(e,t)=>t?e===t?!0:tw(e,t.parentElement):!1,Uf=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,RN=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function AN(e){return RN.has(e.tagName)||e.tabIndex!==-1}const xi=new WeakSet;function dm(e){return t=>{t.key==="Enter"&&e(t)}}function Cu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const jN=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=dm(()=>{if(xi.has(n))return;Cu(n,"down");const o=dm(()=>{Cu(n,"up")}),i=()=>Cu(n,"cancel");n.addEventListener("keyup",o,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function fm(e){return Uf(e)&&!Jx()}function MN(e,t,n={}){const[r,o,i]=ew(e,n),s=a=>{const l=a.currentTarget;if(!fm(a)||xi.has(l))return;xi.add(l);const u=t(a),c=(h,w)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!fm(h)||!xi.has(l))&&(xi.delete(l),typeof u=="function"&&u(h,{success:w}))},d=h=>{c(h,n.useGlobalTarget||tw(l,h.target))},f=h=>{c(h,!1)};window.addEventListener("pointerup",d,o),window.addEventListener("pointercancel",f,o)};return r.forEach(a=>{!AN(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",s,o),a.addEventListener("focus",u=>jN(u,o),o)}),i}function DN(e){return e==="x"||e==="y"?Tt[e]?null:(Tt[e]=!0,()=>{Tt[e]=!1}):Tt.x||Tt.y?null:(Tt.x=Tt.y=!0,()=>{Tt.x=Tt.y=!1})}const nw=new Set(["width","height","top","left","right","bottom",...Zo]);let ya;function LN(){ya=void 0}const Xt={now:()=>(ya===void 0&&Xt.set(Ae.isProcessing||R2.useManualTiming?Ae.timestamp:performance.now()),ya),set:e=>{ya=e,queueMicrotask(LN)}};function Wf(e,t){e.indexOf(t)===-1&&e.push(t)}function Hf(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Kf{constructor(){this.subscriptions=[]}add(t){return Wf(this.subscriptions,t),()=>Hf(this.subscriptions,t)}notify(t,n,r){const o=this.subscriptions.length;if(o)if(o===1)this.subscriptions[0](t,n,r);else for(let i=0;i<o;i++){const s=this.subscriptions[i];s&&s(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function rw(e,t){return t?e*(1e3/t):0}const hm=30,ON=e=>!isNaN(parseFloat(e));class _N{constructor(t,n={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,o=!0)=>{const i=Xt.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),o&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Xt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=ON(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Kf);const r=this.events[t].add(n);return t==="change"?()=>{r(),le.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Xt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>hm)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,hm);return rw(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ss(e,t){return new _N(e,t)}function IN(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,ss(n))}function FN(e,t){const n=Ll(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const s in i){const a=q2(i[s]);IN(e,s,a)}}function VN(e){return!!(ze(e)&&e.add)}function Gc(e,t){const n=e.getValue("willChange");if(VN(n))return n.add(t)}function ow(e){return e.props[Lx]}const iw=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,zN=1e-7,BN=12;function $N(e,t,n,r,o){let i,s,a=0;do s=t+(n-t)/2,i=iw(s,r,o)-e,i>0?n=s:t=s;while(Math.abs(i)>zN&&++a<BN);return s}function Ss(e,t,n,r){if(e===t&&n===r)return st;const o=i=>$N(i,0,1,e,n);return i=>i===0||i===1?i:iw(o(i),t,r)}const sw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,aw=e=>t=>1-e(1-t),lw=Ss(.33,1.53,.69,.99),Gf=aw(lw),uw=sw(Gf),cw=e=>(e*=2)<1?.5*Gf(e):.5*(2-Math.pow(2,-10*(e-1))),Yf=e=>1-Math.sin(Math.acos(e)),dw=aw(Yf),fw=sw(Yf),hw=e=>/^0[^.\s]+$/u.test(e);function UN(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||hw(e):!0}const ji=e=>Math.round(e*1e5)/1e5,Qf=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function WN(e){return e==null}const HN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,qf=(e,t)=>n=>!!(typeof n=="string"&&HN.test(n)&&n.startsWith(e)||t&&!WN(n)&&Object.prototype.hasOwnProperty.call(n,t)),pw=(e,t,n)=>r=>{if(typeof r!="string")return r;const[o,i,s,a]=r.match(Qf);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:a!==void 0?parseFloat(a):1}},KN=e=>yn(0,255,e),Eu={...Jo,transform:e=>Math.round(KN(e))},Sr={test:qf("rgb","red"),parse:pw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Eu.transform(e)+", "+Eu.transform(t)+", "+Eu.transform(n)+", "+ji(is.transform(r))+")"};function GN(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}}const Yc={test:qf("#"),parse:GN,transform:Sr.transform},fo={test:qf("hsl","hue"),parse:pw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+qt.transform(ji(t))+", "+qt.transform(ji(n))+", "+ji(is.transform(r))+")"},Fe={test:e=>Sr.test(e)||Yc.test(e)||fo.test(e),parse:e=>Sr.test(e)?Sr.parse(e):fo.test(e)?fo.parse(e):Yc.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Sr.transform(e):fo.transform(e)},YN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function QN(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Qf))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(YN))===null||n===void 0?void 0:n.length)||0)>0}const mw="number",gw="color",qN="var",XN="var(",pm="${}",ZN=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function as(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(ZN,l=>(Fe.test(l)?(r.color.push(i),o.push(gw),n.push(Fe.parse(l))):l.startsWith(XN)?(r.var.push(i),o.push(qN),n.push(l)):(r.number.push(i),o.push(mw),n.push(parseFloat(l))),++i,pm)).split(pm);return{values:n,split:a,indexes:r,types:o}}function yw(e){return as(e).values}function vw(e){const{split:t,types:n}=as(e),r=t.length;return o=>{let i="";for(let s=0;s<r;s++)if(i+=t[s],o[s]!==void 0){const a=n[s];a===mw?i+=ji(o[s]):a===gw?i+=Fe.transform(o[s]):i+=o[s]}return i}}const JN=e=>typeof e=="number"?0:e;function eR(e){const t=yw(e);return vw(e)(t.map(JN))}const or={test:QN,parse:yw,createTransformer:vw,getAnimatableNone:eR},tR=new Set(["brightness","contrast","saturate","opacity"]);function nR(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Qf)||[];if(!r)return e;const o=n.replace(r,"");let i=tR.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const rR=/\b([a-z-]*)\(.*?\)/gu,Qc={...or,getAnimatableNone:e=>{const t=e.match(rR);return t?t.map(nR).join(" "):e}},oR={...Lf,color:Fe,backgroundColor:Fe,outlineColor:Fe,fill:Fe,stroke:Fe,borderColor:Fe,borderTopColor:Fe,borderRightColor:Fe,borderBottomColor:Fe,borderLeftColor:Fe,filter:Qc,WebkitFilter:Qc},Xf=e=>oR[e];function xw(e,t){let n=Xf(e);return n!==Qc&&(n=or),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const iR=new Set(["auto","none","0"]);function sR(e,t,n){let r=0,o;for(;r<e.length&&!o;){const i=e[r];typeof i=="string"&&!iR.has(i)&&as(i).values.length&&(o=e[r]),r++}if(o&&n)for(const i of t)e[i]=xw(n,o)}const mm=e=>e===Jo||e===B,gm=(e,t)=>parseFloat(e.split(", ")[t]),ym=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return gm(o[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?gm(i[1],e):0}},aR=new Set(["x","y","z"]),lR=Zo.filter(e=>!aR.has(e));function uR(e){const t=[];return lR.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Uo={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:ym(4,13),y:ym(5,14)};Uo.translateX=Uo.x;Uo.translateY=Uo.y;const Ar=new Set;let qc=!1,Xc=!1;function ww(){if(Xc){const e=Array.from(Ar).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const o=uR(r);o.length&&(n.set(r,o),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const o=n.get(r);o&&o.forEach(([i,s])=>{var a;(a=r.getValue(i))===null||a===void 0||a.set(s)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}
vendor: 12,413 bytes, line 196
196Xc=!1,qc=!1,Ar.forEach(e=>e.complete()),Ar.clear()}function Sw(){Ar.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Xc=!0)})}function cR(){Sw(),ww()}class Zf{constructor(t,n,r,o,i,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=o,this.element=i,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Ar.add(this),qc||(qc=!0,le.read(Sw),le.resolveKeyframes(ww))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:o}=this;for(let i=0;i<t.length;i++)if(t[i]===null)if(i===0){const s=o==null?void 0:o.get(),a=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const l=r.readValue(n,a);l!=null&&(t[0]=l)}t[0]===void 0&&(t[0]=a),o&&s===void 0&&o.set(t[0])}else t[i]=t[i-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Ar.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Ar.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const bw=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),dR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function fR(e){const t=dR.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}function Cw(e,t,n=1){const[r,o]=fR(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const s=i.trim();return bw(s)?parseFloat(s):s}return Df(o)?Cw(o,t,n+1):o}const Ew=e=>t=>t.test(e),hR={test:e=>e==="auto",parse:e=>e},Pw=[Jo,B,qt,Rn,nN,tN,hR],vm=e=>Pw.find(Ew(e));class Tw extends Zf{constructor(t,n,r,o,i){super(t,n,r,o,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let u=t[l];if(typeof u=="string"&&(u=u.trim(),Df(u))){const c=Cw(u,n.current);c!==void 0&&(t[l]=c),l===t.length-1&&(this.finalKeyframe=u)}}if(this.resolveNoneKeyframes(),!nw.has(r)||t.length!==2)return;const[o,i]=t,s=vm(o),a=vm(i);if(s!==a)if(mm(s)&&mm(a))for(let l=0;l<t.length;l++){const u=t[l];typeof u=="string"&&(t[l]=parseFloat(u))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let o=0;o<t.length;o++)UN(t[o])&&r.push(o);r.length&&sR(t,r,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:r}=this;if(!t||!t.current)return;r==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Uo[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const o=n[n.length-1];o!==void 0&&t.getValue(r,o).jump(o,!1)}measureEndState(){var t;const{element:n,name:r,unresolvedKeyframes:o}=this;if(!n||!n.current)return;const i=n.getValue(r);i&&i.jump(this.measuredOrigin,!1);const s=o.length-1,a=o[s];o[s]=Uo[r](n.measureViewportBox(),window.getComputedStyle(n.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),!((t=this.removedTransforms)===null||t===void 0)&&t.length&&this.removedTransforms.forEach(([l,u])=>{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}const xm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(or.test(e)||e==="0")&&!e.startsWith("url("));function pR(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function mR(e,t,n,r){const o=e[0];if(o===null)return!1;if(t==="display"||t==="visibility")return!0;const i=e[e.length-1],s=xm(o,t),a=xm(i,t);return!s||!a?!1:pR(e)||(n==="spring"||Bf(n))&&r}const gR=e=>e!==null;function Ol(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(gR),i=t&&n!=="loop"&&t%2===1?0:o.length-1;return!i||r===void 0?o[i]:r}const yR=40;class kw{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:o=0,repeatDelay:i=0,repeatType:s="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Xt.now(),this.options={autoplay:t,delay:n,type:r,repeat:o,repeatDelay:i,repeatType:s,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>yR?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&cR(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Xt.now(),this.hasAttemptedResolve=!0;const{name:r,type:o,velocity:i,delay:s,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!mR(t,r,o,i))if(s)this.options.duration=0;else{l&&l(Ol(t,this.options,n)),a&&a(),this.resolveFinishedPromise();return}const c=this.initPlayback(t,n);c!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const fe=(e,t,n)=>e+(t-e)*n;function Pu(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function vR({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let o=0,i=0,s=0;if(!t)o=i=s=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;o=Pu(l,a,e+1/3),i=Pu(l,a,e),s=Pu(l,a,e-1/3)}return{red:Math.round(o*255),green:Math.round(i*255),blue:Math.round(s*255),alpha:r}}function Ja(e,t){return n=>n>0?t:e}const Tu=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},xR=[Yc,Sr,fo],wR=e=>xR.find(t=>t.test(e));function wm(e){const t=wR(e);if(!t)return!1;let n=t.parse(e);return t===fo&&(n=vR(n)),n}const Sm=(e,t)=>{const n=wm(e),r=wm(t);if(!n||!r)return Ja(e,t);const o={...n};return i=>(o.red=Tu(n.red,r.red,i),o.green=Tu(n.green,r.green,i),o.blue=Tu(n.blue,r.blue,i),o.alpha=fe(n.alpha,r.alpha,i),Sr.transform(o))},SR=(e,t)=>n=>t(e(n)),bs=(...e)=>e.reduce(SR),Zc=new Set(["none","hidden"]);function bR(e,t){return Zc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function CR(e,t){return n=>fe(e,t,n)}function Jf(e){return typeof e=="number"?CR:typeof e=="string"?Df(e)?Ja:Fe.test(e)?Sm:TR:Array.isArray(e)?Nw:typeof e=="object"?Fe.test(e)?Sm:ER:Ja}function Nw(e,t){const n=[...e],r=n.length,o=e.map((i,s)=>Jf(i)(i,t[s]));return i=>{for(let s=0;s<r;s++)n[s]=o[s](i);return n}}function ER(e,t){const n={...e,...t},r={};for(const o in n)e[o]!==void 0&&t[o]!==void 0&&(r[o]=Jf(e[o])(e[o],t[o]));return o=>{for(const i in r)n[i]=r[i](o);return n}}function PR(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],a=e.indexes[s][o[s]],l=(n=e.values[a])!==null&&n!==void 0?n:0;r[i]=l,o[s]++}return r}const TR=(e,t)=>{const n=or.createTransformer(t),r=as(e),o=as(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Zc.has(e)&&!o.values.length||Zc.has(t)&&!r.values.length?bR(e,t):bs(Nw(PR(r,o),o.values),n):Ja(e,t)};function Rw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?fe(e,t,n):Jf(e)(e,t)}const kR=5;function Aw(e,t,n){const r=Math.max(t-kR,0);return rw(n-e(r),t-r)}const ge={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},ku=.001;function NR({duration:e=ge.duration,bounce:t=ge.bounce,velocity:n=ge.velocity,mass:r=ge.mass}){let o,i,s=1-t;s=yn(ge.minDamping,ge.maxDamping,s),e=yn(ge.minDuration,ge.maxDuration,cn(e)),s<1?(o=u=>{const c=u*s,d=c*e,f=c-n,h=Jc(u,s),w=Math.exp(-d);return ku-f/h*w},i=u=>{const d=u*s*e,f=d*n+n,h=Math.pow(s,2)*Math.pow(u,2)*e,w=Math.exp(-d),g=Jc(Math.pow(u,2),s);return(-o(u)+ku>0?-1:1)*((f-h)*w)/g}):(o=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-ku+c*d},i=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=AR(o,i,a);if(e=un(e),isNaN(l))return{stiffness:ge.stiffness,damping:ge.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:s*2*Math.sqrt(r*u),duration:e}}}const RR=12;function AR(e,t,n){let r=n;for(let o=1;o<RR;o++)r=r-e(r)/t(r);return r}function Jc(e,t){return e*Math.sqrt(1-t*t)}const jR=["duration","bounce"],MR=["stiffness","damping","mass"];function bm(e,t){return t.some(n=>e[n]!==void 0)}function DR(e){let t={velocity:ge.velocity,stiffness:ge.stiffness,damping:ge.damping,mass:ge.mass,isResolvedFromDuration:!1,...e};if(!bm(e,MR)&&bm(e,jR))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),o=r*r,i=2*yn(.05,1,1-(e.bounce||0))*Math.sqrt(o);t={...t,mass:ge.mass,stiffness:o,damping:i}}else{const n=NR(e);t={...t,...n,mass:ge.mass},t.isResolvedFromDuration=!0}return t}function jw(e=ge.visualDuration,t=ge.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:o}=n;const i=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:h}=DR({...n,velocity:-cn(n.velocity||0)}),w=f||0,g=u/(2*Math.sqrt(l*c)),x=s-i,m=cn(Math.sqrt(l/c)),p=Math.abs(x)<5;r||(r=p?ge.restSpeed.granular:ge.restSpeed.default),o||(o=p?ge.restDelta.granular:ge.restDelta.default);let v;if(g<1){const C=Jc(m,g);v=E=>{const P=Math.exp(-g*m*E);return s-P*((w+g*m*x)/C*Math.sin(C*E)+x*Math.cos(C*E))}}else if(g===1)v=C=>s-Math.exp(-m*C)*(x+(w+m*x)*C);else{const C=m*Math.sqrt(g*g-1);v=E=>{const P=Math.exp(-g*m*E),T=Math.min(C*E,300);return s-P*((w+g*m*x)*Math.sinh(T)+C*x*Math.cosh(T))/C}}const b={calculatedDuration:h&&d||null,next:C=>{const E=v(C);if(h)a.done=C>=d;else{let P=0;g<1&&(P=C===0?un(w):Aw(v,C,E));const T=Math.abs(P)<=r,j=Math.abs(s-E)<=o;a.done=T&&j}return a.value=a.done?s:E,a},toString:()=>{const C=Math.min(Qx(b),Hc),E=qx(P=>b.next(C*P).value,C,30);return C+"ms "+E}};return b}function Cm({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},h=T=>a!==void 0&&T<a||l!==void 0&&T>l,w=T=>a===void 0?l:l===void 0||Math.abs(a-T)<Math.abs(l-T)?a:l;let g=n*t;const x=d+g,m=s===void 0?x:s(x);m!==x&&(g=m-d);const p=T=>-g*Math.exp(-T/r),v=T=>m+p(T),b=T=>{const j=p(T),M=v(T);f.done=Math.abs(j)<=u,f.value=f.done?m:M};let C,E;const P=T=>{h(f.value)&&(C=T,E=jw({keyframes:[f.value,w(f.value)],velocity:Aw(v,T,f.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:T=>{let j=!1;return!E&&C===void 0&&(j=!0,b(T),P(T)),C!==void 0&&T>=C?E.next(T-C):(!j&&b(T),f)}}}const LR=Ss(.42,0,1,1),OR=Ss(0,0,.58,1),Mw=Ss(.42,0,.58,1),_R=e=>Array.isArray(e)&&typeof e[0]!="number",Em={linear:st,easeIn:LR,easeInOut:Mw,easeOut:OR,circIn:Yf,circInOut:fw,circOut:dw,backIn:Gf,backInOut:uw,backOut:lw,anticipate:cw},Pm=e=>{if($f(e)){Uc(e.length===4);const[t,n,r,o]=e;return Ss(t,n,r,o)}else if(typeof e=="string")return Uc(Em[e]!==void 0),Em[e];return e};function IR(e,t,n){const r=[],o=n||Rw,i=e.length-1;for(let s=0;s<i;s++){let a=o(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||st:t;a=bs(l,a)}r.push(a)}return r}function FR(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(Uc(i===t.length),i===1)return()=>t[0];if(i===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=IR(t,r,o),l=a.length,u=c=>{if(s&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=Bo(e[d],e[d+1],c);return a[d](f)};return n?c=>u(yn(e[0],e[i-1],c)):u}function VR(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=Bo(0,t,r);e.push(fe(n,1,o))}}function zR(e){const t=[0];return VR(t,e.length-1),t}function BR(e,t){return e.map(n=>n*t)}function $R(e,t){return e.map(()=>t||Mw).splice(0,e.length-1)}function el({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=_R(r)?r.map(Pm):Pm(r),i={done:!1,value:t[0]},s=BR(n&&n.length===t.length?n:zR(t),e),a=FR(s,t,{ease:Array.isArray(o)?o:$R(t,o)});return{calculatedDuration:e,next:l=>(i.value=a(l),i.done=l>=e,i)}}const UR=e=>{const t=({timestamp:n})=>e(n);return{start:()=>le.update(t,!0),stop:()=>rr(t),now:()=>Ae.isProcessing?Ae.timestamp:Xt.now()}},WR={decay:Cm,inertia:Cm,tween:el,keyframes:el,spring:jw},HR=e=>e/100;class eh extends kw{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>
vendor: 60,081 bytes, line 196
196{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:r,element:o,keyframes:i}=this.options,s=(o==null?void 0:o.KeyframeResolver)||Zf,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new s(i,a,n,r,o),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i,velocity:s=0}=this.options,a=Bf(n)?n:WR[n]||el;let l,u;a!==el&&typeof t[0]!="number"&&(l=bs(HR,Rw(t[0],t[1])),t=[0,100]);const c=a({...this.options,keyframes:t});i==="mirror"&&(u=a({...this.options,keyframes:[...t].reverse(),velocity:-s})),c.calculatedDuration===null&&(c.calculatedDuration=Qx(c));const{calculatedDuration:d}=c,f=d+o,h=f*(r+1)-o;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:d,resolvedDuration:f,totalDuration:h}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:T}=this.options;return{done:!0,value:T[T.length-1]}}const{finalKeyframe:o,generator:i,mirroredGenerator:s,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:d}=r;if(this.startTime===null)return i.next(0);const{delay:f,repeat:h,repeatType:w,repeatDelay:g,onUpdate:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-c/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const m=this.currentTime-f*(this.speed>=0?1:-1),p=this.speed>=0?m<0:m>c;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let v=this.currentTime,b=i;if(h){const T=Math.min(this.currentTime,c)/d;let j=Math.floor(T),M=T%1;!M&&T>=1&&(M=1),M===1&&j--,j=Math.min(j,h+1),!!(j%2)&&(w==="reverse"?(M=1-M,g&&(M-=g/d)):w==="mirror"&&(b=s)),v=yn(0,1,M)*d}const C=p?{done:!1,value:l[0]}:b.next(v);a&&(C.value=a(C.value));let{done:E}=C;!p&&u!==null&&(E=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return P&&o!==void 0&&(C.value=Ol(l,this.options,o)),x&&x(C.value),P&&this.finish(),C}get duration(){const{resolved:t}=this;return t?cn(t.calculatedDuration):0}get time(){return cn(this.currentTime)}set time(t){t=un(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=cn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=UR,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const o=this.driver.now();this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=o):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const KR=new Set(["opacity","clipPath","filter","transform"]);function GR(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=Zx(a,o);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:s==="reverse"?"alternate":"normal"})}const YR=Tf(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),tl=10,QR=2e4;function qR(e){return Bf(e.type)||e.type==="spring"||!Xx(e.ease)}function XR(e,t){const n=new eh({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<QR;)r=n.sample(i),o.push(r.value),i+=tl;return{times:void 0,keyframes:o,duration:i-tl,ease:"linear"}}const Dw={anticipate:cw,backInOut:uw,circInOut:fw};function ZR(e){return e in Dw}class Tm extends kw{constructor(t){super(t);const{name:n,motionValue:r,element:o,keyframes:i}=this.options;this.resolver=new Tw(i,(s,a)=>this.onKeyframesResolved(s,a),n,r,o),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:o,ease:i,type:s,motionValue:a,name:l,startTime:u}=this.options;if(!a.owner||!a.owner.current)return!1;if(typeof i=="string"&&Za()&&ZR(i)&&(i=Dw[i]),qR(this.options)){const{onComplete:d,onUpdate:f,motionValue:h,element:w,...g}=this.options,x=XR(t,g);t=x.keyframes,t.length===1&&(t[1]=t[0]),r=x.duration,o=x.times,i=x.ease,s="keyframes"}const c=GR(a.owner.current,l,t,{...this.options,duration:r,times:o,ease:i});return c.startTime=u??this.calcStartTime(),this.pendingTimeline?(um(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:d}=this.options;a.set(Ol(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:o,type:s,ease:i,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return cn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return cn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=un(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return st;const{animation:r}=n;um(r,t)}return st}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:o,type:i,ease:s,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:d,element:f,...h}=this.options,w=new eh({...h,keyframes:r,duration:o,type:i,ease:s,times:a,isGenerator:!0}),g=un(this.time);u.setWithVelocity(w.sample(g-tl).value,w.sample(g).value,tl)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:o,repeatType:i,damping:s,type:a}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=n.owner.getProps();return YR()&&r&&KR.has(r)&&!l&&!u&&!o&&i!=="mirror"&&s!==0&&a!=="inertia"}}const JR={type:"spring",stiffness:500,damping:25,restSpeed:10},eA=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),tA={type:"keyframes",duration:.8},nA={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rA=(e,{keyframes:t})=>t.length>2?tA:$r.has(e)?e.startsWith("scale")?eA(t[1]):JR:nA;function oA({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const th=(e,t,n,r={},o,i)=>s=>{const a=zf(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-un(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:o};oA(a)||(c={...c,...rA(e,c)}),c.duration&&(c.duration=un(c.duration)),c.repeatDelay&&(c.repeatDelay=un(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(d=!0)),d&&!i&&t.get()!==void 0){const f=Ol(c.keyframes,a);if(f!==void 0)return le.update(()=>{c.onUpdate(f),c.onComplete()}),new EN([])}return!i&&Tm.supports(c)?new Tm(c):new eh(c)};function iA({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Lw(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);const u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(const d in l){const f=e.getValue(d,(i=e.latestValues[d])!==null&&i!==void 0?i:null),h=l[d];if(h===void 0||c&&iA(c,d))continue;const w={delay:n,...zf(s||{},d)};let g=!1;if(window.MotionHandoffAnimation){const m=ow(e);if(m){const p=window.MotionHandoffAnimation(m,d,le);p!==null&&(w.startTime=p,g=!0)}}Gc(e,d),f.start(th(d,f,h,e.shouldReduceMotion&&nw.has(d)?{type:!1}:w,e,g));const x=f.animation;x&&u.push(x)}return a&&Promise.all(u).then(()=>{le.update(()=>{a&&FN(e,a)})}),u}function ed(e,t,n={}){var r;const o=Ll(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const s=o?()=>Promise.all(Lw(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return sA(e,t,c+u,d,f,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[u,c]=l==="beforeChildren"?[s,a]:[a,s];return u().then(()=>c())}else return Promise.all([s(),a(n.delay)])}function sA(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=o===1?(u=0)=>u*r:(u=0)=>a-u*r;return Array.from(e.variantChildren).sort(aA).forEach((u,c)=>{u.notify("AnimationStart",t),s.push(ed(u,t,{...i,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",t)))}),Promise.all(s)}function aA(e,t){return e.sortNodePosition(t)}function lA(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const o=t.map(i=>ed(e,i,n));r=Promise.all(o)}else if(typeof t=="string")r=ed(e,t,n);else{const o=typeof t=="function"?Ll(e,t,n.custom):t;r=Promise.all(Lw(e,o,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const uA=Nf.length;function Ow(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Ow(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<uA;n++){const r=Nf[n],o=e.props[r];(os(o)||o===!1)&&(t[r]=o)}return t}const cA=[...kf].reverse(),dA=kf.length;function fA(e){return t=>Promise.all(t.map(({animation:n,options:r})=>lA(e,n,r)))}function hA(e){let t=fA(e),n=km(),r=!0;const o=l=>(u,c)=>{var d;const f=Ll(e,c,l==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:h,transitionEnd:w,...g}=f;u={...u,...g,...w}}return u};function i(l){t=l(e)}function s(l){const{props:u}=e,c=Ow(e.parent)||{},d=[],f=new Set;let h={},w=1/0;for(let x=0;x<dA;x++){const m=cA[x],p=n[m],v=u[m]!==void 0?u[m]:c[m],b=os(v),C=m===l?p.isActive:null;C===!1&&(w=x);let E=v===c[m]&&v!==u[m]&&b;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),p.protectedKeys={...h},!p.isActive&&C===null||!v&&!p.prevProp||Ml(v)||typeof v=="boolean")continue;const P=pA(p.prevProp,v);let T=P||m===l&&p.isActive&&!E&&b||x>w&&b,j=!1;const M=Array.isArray(v)?v:[v];let V=M.reduce(o(m),{});C===!1&&(V={});const{prevResolvedValues:_={}}=p,G={..._,...V},L=F=>{T=!0,f.has(F)&&(j=!0,f.delete(F)),p.needsAnimating[F]=!0;const k=e.getValue(F);k&&(k.liveStyle=!1)};for(const F in G){const k=V[F],R=_[F];if(h.hasOwnProperty(F))continue;let O=!1;Wc(k)&&Wc(R)?O=!Yx(k,R):O=k!==R,O?k!=null?L(F):f.add(F):k!==void 0&&f.has(F)?L(F):p.protectedKeys[F]=!0}p.prevProp=v,p.prevResolvedValues=V,p.isActive&&(h={...h,...V}),r&&e.blockInitialAnimation&&(T=!1),T&&(!(E&&P)||j)&&d.push(...M.map(F=>({animation:F,options:{type:m}})))}if(f.size){const x={};f.forEach(m=>{const p=e.getBaseTarget(m),v=e.getValue(m);v&&(v.liveStyle=!0),x[m]=p??null}),d.push({animation:x})}let g=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(g=!1),r=!1,g?t(d):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=e.variantChildren)===null||c===void 0||c.forEach(f=>{var h;return(h=f.animationState)===null||h===void 0?void 0:h.setActive(l,u)}),n[l].isActive=u;const d=s(l);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:s,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=km(),r=!0}}}function pA(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Yx(t,e):!1}function fr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function km(){return{animate:fr(!0),whileInView:fr(),whileHover:fr(),whileTap:fr(),whileDrag:fr(),whileFocus:fr(),exit:fr()}}class lr{constructor(t){this.isMounted=!1,this.node=t}update(){}}class mA extends lr{constructor(t){super(t),t.animationState||(t.animationState=hA(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Ml(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let gA=0;class yA extends lr{constructor(){super(...arguments),this.id=gA++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const o=this.node.animationState.setActive("exit",!t);n&&!t&&o.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const vA={animation:{Feature:mA},exit:{Feature:yA}};function ls(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function Cs(e){return{point:{x:e.pageX,y:e.pageY}}}const xA=e=>t=>Uf(t)&&e(t,Cs(t));function Mi(e,t,n,r){return ls(e,t,xA(n),r)}const Nm=(e,t)=>Math.abs(e-t);function wA(e,t){const n=Nm(e.x,t.x),r=Nm(e.y,t.y);return Math.sqrt(n**2+r**2)}class _w{constructor(t,n,{transformPagePoint:r,contextWindow:o,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=Ru(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,h=wA(d.offset,{x:0,y:0})>=3;if(!f&&!h)return;const{point:w}=d,{timestamp:g}=Ae;this.history.push({...w,timestamp:g});const{onStart:x,onMove:m}=this.handlers;f||(x&&x(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),m&&m(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=Nu(f,this.transformPagePoint),le.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:h,onSessionEnd:w,resumeAnimation:g}=this.handlers;if(this.dragSnapToOrigin&&g&&g(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=Ru(d.type==="pointercancel"?this.lastMoveEventInfo:Nu(f,this.transformPagePoint),this.history);this.startEvent&&h&&h(d,x),w&&w(d,x)},!Uf(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=o||window;const s=Cs(t),a=Nu(s,this.transformPagePoint),{point:l}=a,{timestamp:u}=Ae;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(t,Ru(a,this.history)),this.removeListeners=bs(Mi(this.contextWindow,"pointermove",this.handlePointerMove),Mi(this.contextWindow,"pointerup",this.handlePointerUp),Mi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),rr(this.updatePoint)}}function Nu(e,t){return t?{point:t(e.point)}:e}function Rm(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ru({point:e},t){return{point:e,delta:Rm(e,Iw(t)),offset:Rm(e,SA(t)),velocity:bA(t,.1)}}function SA(e){return e[0]}function Iw(e){return e[e.length-1]}function bA(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Iw(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>un(t)));)n--;if(!r)return{x:0,y:0};const i=cn(o.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}const Fw=1e-4,CA=1-Fw,EA=1+Fw,Vw=.01,PA=0-Vw,TA=0+Vw;function lt(e){return e.max-e.min}function kA(e,t,n){return Math.abs(e-t)<=n}function Am(e,t,n,r=.5){e.origin=r,e.originPoint=fe(t.min,t.max,e.origin),e.scale=lt(n)/lt(t),e.translate=fe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=CA&&e.scale<=EA||isNaN(e.scale))&&(e.scale=1),(e.translate>=PA&&e.translate<=TA||isNaN(e.translate))&&(e.translate=0)}function Di(e,t,n,r){Am(e.x,t.x,n.x,r?r.originX:void 0),Am(e.y,t.y,n.y,r?r.originY:void 0)}function jm(e,t,n){e.min=n.min+t.min,e.max=e.min+lt(t)}function NA(e,t,n){jm(e.x,t.x,n.x),jm(e.y,t.y,n.y)}function Mm(e,t,n){e.min=t.min-n.min,e.max=e.min+lt(t)}function Li(e,t,n){Mm(e.x,t.x,n.x),Mm(e.y,t.y,n.y)}function RA(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?fe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?fe(n,e,r.max):Math.min(e,n)),e}function Dm(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function AA(e,{top:t,left:n,bottom:r,right:o}){return{x:Dm(e.x,n,o),y:Dm(e.y,t,r)}}function Lm(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function jA(e,t){return{x:Lm(e.x,t.x),y:Lm(e.y,t.y)}}function MA(e,t){let n=.5;const r=lt(e),o=lt(t);return o>r?n=Bo(t.min,t.max-r,e.min):r>o&&(n=Bo(e.min,e.max-o,t.min)),yn(0,1,n)}function DA(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const td=.35;function LA(e=td){return e===!1?e=0:e===!0&&(e=td),{x:Om(e,"left","right"),y:Om(e,"top","bottom")}}function Om(e,t,n){return{min:_m(e,t),max:_m(e,n)}}function _m(e,t){return typeof e=="number"?e:e[t]||0}const Im=()=>({translate:0,scale:1,origin:0,originPoint:0}),ho=()=>({x:Im(),y:Im()}),Fm=()=>({min:0,max:0}),ve=()=>({x:Fm(),y:Fm()});function ht(e){return[e("x"),e("y")]}function zw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function OA({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function _A(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Au(e){return e===void 0||e===1}function nd({scale:e,scaleX:t,scaleY:n}){return!Au(e)||!Au(t)||!Au(n)}function mr(e){return nd(e)||Bw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Bw(e){return Vm(e.x)||Vm(e.y)}function Vm(e){return e&&e!=="0%"}function nl(e,t,n){const r=e-n,o=t*r;return n+o}function zm(e,t,n,r,o){return o!==void 0&&(e=nl(e,o,r)),nl(e,n,r)+t}function rd(e,t=0,n=1,r,o){e.min=zm(e.min,t,n,r,o),e.max=zm(e.max,t,n,r,o)}function $w(e,{x:t,y:n}){rd(e.x,t.translate,t.scale,t.originPoint),rd(e.y,n.translate,n.scale,n.originPoint)}const Bm=.999999999999,$m=1.0000000000001;function IA(e,t,n,r=!1){const o=n.length;if(!o)return;t.x=t.y=1;let i,s;for(let a=0;a<o;a++){i=n[a],s=i.projectionDelta;const{visualElement:l}=i.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&mo(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,$w(e,s)),r&&mr(i.latestValues)&&mo(e,i.latestValues))}t.x<$m&&t.x>Bm&&(t.x=1),t.y<$m&&t.y>Bm&&(t.y=1)}function po(e,t){e.min=e.min+t,e.max=e.max+t}function Um(e,t,n,r,o=.5){const i=fe(e.min,e.max,o);rd(e,t,n,i,r)}function mo(e,t){Um(e.x,t.x,t.scaleX,t.scale,t.originX),Um(e.y,t.y,t.scaleY,t.scale,t.originY)}function Uw(e,t){return zw(_A(e.getBoundingClientRect(),t))}function FA(e,t,n){const r=Uw(e,n),{scroll:o}=t;return o&&(po(r.x,o.offset.x),po(r.y,o.offset.y)),r}const Ww=({current:e})=>e?e.ownerDocument.defaultView:null,VA=new WeakMap;class zA{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ve(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const o=c=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Cs(c).point)},i=(c,d)=>{const{drag:f,dragPropagation:h,onDragStart:w}=this.getProps();if(f&&!h&&(this.openDragLock&&this.openDragLock(),this.openDragLock=DN(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ht(x=>{let m=this.getAxisMotionValue(x).get()||0;if(qt.test(m)){const{projection:p}=this.visualElement;if(p&&p.layout){const v=p.layout.layoutBox[x];v&&(m=lt(v)*(parseFloat(m)/100))}}this.originPoint[x]=m}),w&&le.postRender(()=>w(c,d)),Gc(this.visualElement,"transform");const{animationState:g}=this.visualElement;g&&g.setActive("whileDrag",!0)},s=(c,d)=>{const{dragPropagation:f,dragDirectionLock:h,onDirectionLock:w,onDrag:g}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:x}=d;if(h&&this.currentDirection===null){this.currentDirection=BA(x),this.currentDirection!==null&&w&&w(this.currentDirection);return}this.updateAxis("x",d.point,x),this.updateAxis("y",d.point,x),this.visualElement.render(),g&&g(c,d)},a=(c,d)=>this.stop(c,d),l=()=>ht(c=>{var d;return this.getAnimationState(c)==="paused"&&((d=this.getAxisMotionValue(c).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new _w(t,{onSessionStart:o,onStart:i,onMove:s,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:Ww(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=n;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&le.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:o}=this.getProps();if(!r||!Js(t,o,this.currentDirection))return;const i=this.getAxisMotionValue(t);let s=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(s=RA(s,this.constraints[t],this.elastic[t])),i.set(s)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&co(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&o?this.constraints=AA(o.layoutBox,n):this.constraints=!1,this.elastic=LA(r),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&ht(s=>{this.constraints!==!1&&this.getAxisMotionValue(s)&&(this.constraints[s]=DA(o.layoutBox[s],this.constraints[s]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!co(t))return!1;const r=t.current,{projection:o}=this.visualElement;if(!o||!o.layout)return!1;const i=FA(r,o.root,this.visualElement.getTransformPagePoint());let s=jA(o.layout.layoutBox,i);if(n){const a=n(OA(s));this.hasMutatedConstraints=!!a,a&&(s=zw(a))}return s}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:o,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=ht(c=>{if(!Js(c,n,this.currentDirection))return;let d=l&&l[c]||{};s&&(d={min:0,max:0});const f=o?200:1e6,h=o?40:1e7,w={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(c,w)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return Gc(this.visualElement,t),r.start(th(t,r,0,n,this.visualElement,!1))}stopAnimation(){ht(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){ht(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),o=r[n];return o||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){ht(n=>{const{drag:r}=this.getProps();if(!Js(n,r,this.currentDirection))return;const{projection:o}=this.visualElement,i=this.getAxisMotionValue(n);if(o&&o.layout){const{min:s,max:a}=o.layout.layoutBox[n];i.set(t[n]-fe(s,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!co(n)||!r||!this.constraints)return;this.stopAnimation();const o={x:0,y:0};ht(s=>{const a=this.getAxisMotionValue(s);if(a&&this.constraints!==!1){const l=a.get();o[s]=MA({min:l,max:l},this.constraints[s])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ht(s=>{if(!Js(s,t,null))return;const a=this.getAxisMotionValue(s),{min:l,max:u}=this.constraints[s];a.set(fe(l,u,o[s]))})}addListeners(){if(!this.visualElement.current)return;VA.set(this.visualElement,this);const t=this.visualElement.current,n=Mi(t,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),r=()=>{const{dragConstraints:l}=this.getProps();co(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:o}=this.visualElement,i=o.addEventListener("measure",r);o&&!o.layout&&(o.root&&o.root.updateScroll(),o.updateLayout()),le.read(r);const s=ls(window,"resize",()=>this.scalePositionWithinConstraints()),a=o.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(ht(c=>{const d=this.getAxisMotionValue(c);d&&(this.originPoint[c]+=l[c].translate,d.set(d.get()+l[c].translate))}),this.visualElement.render())});return()=>{s(),n(),i(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:o=!1,dragConstraints:i=!1,dragElastic:s=td,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:o,dragConstraints:i,dragElastic:s,dragMomentum:a}}}function Js(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function BA(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class $A extends lr{constructor(t){super(t),this.removeGroupControls=st,this.removeListeners=st,this.controls=new zA(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||st}unmount(){this.removeGroupControls(),this.removeListeners()}}const Wm=e=>(t,n)=>{e&&le.postRender(()=>e(t,n))};class UA extends lr{constructor(){super(...arguments),this.removePointerDownListener=st}onPointerDown(t){this.session=new _w(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Ww(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:o}=this.node.getProps();return{onSessionStart:Wm(t),onStart:Wm(n),onMove:r,onEnd:(i,s)=>{delete this.session,o&&le.postRender(()=>o(i,s))}}}mount(){this.removePointerDownListener=Mi(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const va={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Hm(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const fi={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(B.test(e))e=parseFloat(e);else return e;const n=Hm(e,t.target.x),r=Hm(e,t.target.y);return`${n}% ${r}%`}},WA={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=or.parse(e);if(o.length>5)return r;const i=or.createTransformer(e),s=typeof o[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const u=fe(a,l,.5);return typeof o[2+s]=="number"&&(o[2+s]/=u),typeof o[3+s]=="number"&&(o[3+s]/=u),i(o)}};class HA extends S.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:o}=this.props,{projection:i}=t;fN(KA),i&&(n.group&&n.group.add(i),r&&r.register&&o&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),va.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:o,isPresent:i}=this.props,s=r.projection;return s&&(s.isPresent=i,o||t.layoutDependency!==n||n===void 0?s.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?s.promote():s.relegate()||le.postRender(()=>{const a=s.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Af.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:o}=t;o&&(o.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(o),r&&r.deregister&&r.deregister(o))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Hw(e){const[t,n]=Nx(),r=S.useContext(bf);return y.jsx(HA,{...e,layoutGroup:r,switchLayoutGroup:S.useContext(Ox),isPresent:t,safeToRemove:n})}const KA={borderRadius:{...fi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:fi,borderTopRightRadius:fi,borderBottomLeftRadius:fi,borderBottomRightRadius:fi,boxShadow:WA};function GA(e,t,n){const r=ze(e)?e:ss(e);return r.start(th("",r,t,n)),r.animation}function YA(e){return e instanceof SVGElement&&e.tagName!=="svg"}const QA=(e,t)=>e.depth-t.depth;class qA{constructor(){this.children=[],this.isDirty=!1}add(t){Wf(this.children,t),this.isDirty=!0}remove(t){Hf(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(QA),this.isDirty=!1,this.children.forEach(t)}}function XA(e,t){const n=Xt.now(),r=({timestamp:o})=>{const i=o-n;i>=t&&(rr(r),e(i-t))};return le.read(r,!0),()=>rr(r)}const Kw=["TopLeft","TopRight","BottomLeft","BottomRight"],ZA=Kw.length,Km=e=>typeof e=="string"?parseFloat(e):e,Gm=e=>typeof e=="number"||B.test(e);function JA(e,t,n,r,o,i){o?(e.opacity=fe(0,n.opacity!==void 0?n.opacity:1,ej(r)),e.opacityExit=fe(t.opacity!==void 0?t.opacity:1,0,tj(r))):i&&(e.opacity=fe(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let s=0;s<ZA;s++){const a=`border${Kw[s]}Radius`;let l=Ym(t,a),u=Ym(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||Gm(l)===Gm(u)?(e[a]=Math.max(fe(Km(l),Km(u),r),0),(qt.test(u)||qt.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=fe(t.rotate||0,n.rotate||0,r))}function Ym(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const ej=Gw(0,.5,dw),tj=Gw(.5,.95,st);function Gw(e,t,n){return r=>r<e?0:r>t?1:n(Bo(e,t,r))}function Qm(e,t){e.min=t.min,e.max=t.max}function ft(e,t){Qm(e.x,t.x),Qm(e.y,t.y)}function qm(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Xm(e,t,n,r,o){return e-=t,e=nl(e,1/n,r),o!==void 0&&(e=nl(e,1/o,r)),e}function nj(e,t=0,n=1,r=.5,o,i=e,s=e){if(qt.test(t)&&(t=parseFloat(t),t=fe(s.min,s.max,t/100)-s.min),typeof t!="number")return;let a=fe(i.min,i.max,r);e===i&&(a-=t),e.min=Xm(e.min,t,n,a,o),e.max=Xm(e.max,t,n,a,o)}function Zm(e,t,[n,r,o],i,s){nj(e,t[n],t[r],t[o],t.scale,i,s)}const rj=["x","scaleX","originX"],oj=["y","scaleY","originY"];function Jm(e,t,n,r){Zm(e.x,t,rj,n?n.x:void 0,r?r.x:void 0),Zm(e.y,t,oj,n?n.y:void 0,r?r.y:void 0)}function eg(e){return e.translate===0&&e.scale===1}function Yw(e){return eg(e.x)&&eg(e.y)}function tg(e,t){return e.min===t.min&&e.max===t.max}function ij(e,t){return tg(e.x,t.x)&&tg(e.y,t.y)}function ng(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Qw(e,t){return ng(e.x,t.x)&&ng(e.y,t.y)}function rg(e){return lt(e.x)/lt(e.y)}function og(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class sj{constructor(){this.members=[]}add(t){Wf(this.members,t),t.scheduleRender()}remove(t){if(Hf(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(o=>t===o);if(n===0)return!1;let r;for(let o=n;o>=0;o--){const i=this.members[o];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:o}=t.options;o===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function aj(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,s=(n==null?void 0:n.z)||0;if((o||i||s)&&(r=`translate3d(${o}px, ${i}px, ${s}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:d,rotateY:f,skewX:h,skewY:w}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),h&&(r+=`skewX(${h}deg) `),w&&(r+=`skewY(${w}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return(a!==1||l!==1)&&(r+=`scale(${a}, ${l})`),r||"none"}const gr={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},wi=typeof window<"u"&&window.MotionDebug!==void 0,ju=["","X","Y","Z"],lj={visibility:"hidden"},ig=1e3;let uj=0;function Mu(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function qw(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=ow(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:o,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",le,!(o||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&qw(r)}function Xw({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(s={},a=t==null?void 0:t()){this.id=uj++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,wi&&(gr.totalNodes=gr.resolvedTargetDeltas=gr.recalculatedProjection=0),this.nodes.forEach(fj),this.nodes.forEach(yj),this.nodes.forEach(vj),this.nodes.forEach(hj),wi&&window.MotionDebug.record(gr)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new qA)}addEventListener(s,a){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Kf),this.eventHandlers.get(s).add(a)}notifyListeners(s,...a){const l=this.eventHandlers.get(s);l&&l.notify(...a)}hasListeners(s){return this.eventHandlers.has(s)}mount(s,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=YA(s),this.instance=s;const{layoutId:l,layout:u,visualElement:c}=this.options;if(c&&!c.current&&c.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(u||l)&&(this.isLayoutDirty=!0),e){let d;const f=()=>this.root.updateBlockedByResize=!1;e(s,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=XA(f,250),va.hasAnimatedSinceResize&&(va.hasAnimatedSinceResize=!1,this.nodes.forEach(ag))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeTargetChanged:h,layout:w})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const g=this.options.transition||c.getDefaultTransition()||Cj,{onLayoutAnimationStart:x,onLayoutAnimationComplete:m}=c.getProps(),p=!this.targetLayout||!Qw(this.targetLayout,w)||h,v=!f&&h;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||v||f&&(p||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,v);const b={...zf(g,"layout"),onPlay:x,onComplete:m};(c.shouldReduceMotion||this.options.layoutRoot)&&(b.delay=0,b.type=!1),this.startAnimation(b)}else f||ag(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=w})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,rr(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(xj),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&qw(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c<this.path.length;c++){const d=this.path[c];d.shouldResetTransform=!0,d.updateScroll("snapshot"),d.options.layoutRoot&&d.willUpdate(!1)}const{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(sg);return}this.isUpdating||this.nodes.forEach(mj),this.isUpdating=!1,this.nodes.forEach(gj),this.nodes.forEach(cj),this.nodes.forEach(dj),this.clearAllSnapshots();const a=Xt.now();Ae.delta=yn(0,1e3/60,a-Ae.timestamp),Ae.timestamp=a,Ae.isProcessing=!0,bu.update.process(Ae),bu.preRender.process(Ae),bu.render.process(Ae),Ae.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Af.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(pj),this.sharedNodes.forEach(wj)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,le.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){le.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ve(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(a=!1),a){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!o)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!Yw(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;s&&(a||mr(this.latestValues)||c)&&(o(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return s&&(l=this.removeTransform(l)),Ej(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var s;const{visualElement:a}=this.options;if(!a)return ve();const l=a.measureViewportBox();if(!(((s=this.scroll)===null||s===void 0?void 0:s.wasRoot)||this.path.some(Pj))){const{scroll:c}=this.root;c&&(po(l.x,c.offset.x),po(l.y,c.offset.y))}return l}removeElementScroll(s){var a;const l=ve();if(ft(l,s),!((a=this.scroll)===null||a===void 0)&&a.wasRoot)return l;for(let u=0;u<this.path.length;u++){const c=this.path[u],{scroll:d,options:f}=c;c!==this.root&&d&&f.layoutScroll&&(d.wasRoot&&ft(l,s),po(l.x,d.offset.x),po(l.y,d.offset.y))}return l}applyTransform(s,a=!1){const l=ve();ft(l,s);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&mo(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),mr(c.latestValues)&&mo(l,c.latestValues)}return mr(this.latestValues)&&mo(l,this.latestValues),l}removeTransform(s){const a=ve();ft(a,s);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!mr(u.latestValues))continue;nd(u.latestValues)&&u.updateSnapshot();const c=ve(),d=u.measurePageBox();ft(c,d),Jm(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return mr(this.latestValues)&&Jm(a,this.latestValues),a}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Ae.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){var a;const l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);const u=!!this.resumingFrom||this!==l;if(!(s||u&&this.isSharedProjectionDirty||this.isProjectionDirty||!((a=this.parent)===null||a===void 0)&&a.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:d,layoutId:f}=this.options;if(!(!this.layout||!(d||f))){if(this.resolvedRelativeTargetAt=Ae.timestamp,!this.targetDelta&&!this.relativeTarget){const h=this.getClosestProjectingParent();h&&h.layout&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ve(),this.relativeTargetOrigin=ve(),Li(this.relativeTargetOrigin,this.layout.layoutBox,h.layout.layoutBox),ft(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=ve(),this.targetWithTransforms=ve()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),NA(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):ft(this.target,this.layout.layoutBox),$w(this.target,this.targetDelta)):ft(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const h=this.getClosestProjectingParent();h&&!!h.resumingFrom==!!this.resumingFrom&&!h.options.layoutScroll&&h.target&&this.animationProgress!==1?(this.relativeParent=h,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ve(),this.relativeTargetOrigin=ve(),Li(this.relativeTargetOrigin,this.target,h.target),ft(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}wi&&gr.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||nd(this.parent.latestValues)||Bw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var s;const a=this.getLead(),l=!!this.resumingFrom||this!==a;let u=!0;if((this.isProjectionDirty||!((s=this.parent)===null||s===void 0)&&s.isProjectionDirty)&&(u=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(u=!1),this.resolvedRelativeTargetAt===Ae.timestamp&&(u=!1),u)return;const{layout:c,layoutId:d}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(c||d))return;ft(this.layoutCorrected,this.layout.layoutBox);const f=this.treeScale.x,h=this.treeScale.y;IA(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox,a.targetWithTransforms=ve());const{target:w}=a;if(!w){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(qm(this.prevProjectionDelta.x,this.projectionDelta.x),qm(this.prevProjectionDelta.y,this.projectionDelta.y)),Di(this.projectionDelta,this.layoutCorrected,w,this.latestValues),(this.treeScale.x!==f||this.treeScale.y!==h||!og(this.projectionDelta.x,this.prevProjectionDelta.x)||!og(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",w)),wi&&gr.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){var a;if((a=this.options.visualElement)===null||a===void 0||a.scheduleRender(),s){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ho(),this.projectionDelta=ho(),this.projectionDeltaWithTransform=ho()}setAnimationOrigin(s,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=ho();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=ve(),h=l?l.source:void 0,w=this.layout?this.layout.source:void 0,g=h!==w,x=this.getStack(),m=!x||x.members.length<=1,p=!!(g&&!m&&this.options.crossfade===!0&&!this.path.some(bj));this.animationProgress=0;let v;this.mixTargetDelta=b=>{const C=b/1e3;lg(d.x,s.x,C),lg(d.y,s.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Li(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Sj(this.relativeTarget,this.relativeTargetOrigin,f,C),v&&ij(this.relativeTarget,v)&&(this.isProjectionDirty=!1),v||(v=ve()),ft(v,this.relativeTarget)),g&&(this.animationValues=c,JA(c,u,this.latestValues,C,p,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(rr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=le.update(()=>{va.hasAnimatedSinceResize=!0,this.currentAnimation=GA(0,ig,{...s,onUpdate:a=>{this.mixTargetDelta(a),s.onUpdate&&s.onUpdate(a)},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ig),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=s;if(!(!a||!l||!u)){if(this!==s&&this.layout&&u&&Zw(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||ve();const d=lt(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+d;const f=lt(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+f}ft(a,l),mo(a,c),Di(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(s,a){this.sharedNodes.has(s)||this.sharedNodes.set(s,new sj),this.sharedNodes.get(s).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){var s;const{layoutId:a}=this.options;return a?((s=this.getStack())===null||s===void 0?void 0:s.lead)||this:this}getPrevLead(){var s;const{layoutId:a}=this.options;return a?(s=this.getStack())===null||s===void 0?void 0:s.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let a=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Mu("z",s,u,this.animationValues);for(let c=0;c<ju.length;c++)Mu(`rotate${ju[c]}`,s,u,this.animationValues),Mu(`skew${ju[c]}`,s,u,this.animationValues);s.render();for(const c in u)s.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);s.scheduleRender()}getProjectionStyles(s){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return lj;const u={visibility:""},c=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,u.opacity="",u.pointerEvents=ga(s==null?void 0:s.pointerEvents)||"",u.transform=c?c(this.latestValues,""):"none",u;const d=this.getLead();if(!this.projectionDelta||!this.layout||!d.target){const g={};return this.options.layoutId&&(g.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,g.pointerEvents=ga(s==null?void 0:s.pointerEvents)||""),this.hasProjected&&!mr(this.latestValues)&&(g.transform=c?c({},""):"none",this.hasProjected=!1),g}const f=d.animationValues||d.latestValues;this.applyTransformsToTarget(),u.transform=aj(this.projectionDeltaWithTransform,this.treeScale,f),c&&(u.transform=c(f,u.transform));const{x:h,y:w}=this.projectionDelta;u.transformOrigin=`${h.origin*100}% ${w.origin*100}% 0`,d.animationValues?u.opacity=d===this?(l=(a=f.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:u.opacity=d===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(const g in Xa){if(f[g]===void 0)continue;const{correct:x,applyTo:m}=Xa[g],p=u.transform==="none"?f[g]:x(f[g],d);if(m){const v=m.length;for(let b=0;b<v;b++)u[m[b]]=p}else u[g]=p}return this.options.layoutId&&(u.pointerEvents=d===this?ga(s==null?void 0:s.pointerEvents)||"":"none"),u}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>{var a;return(a=s.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(sg),this.root.sharedNodes.clear()}}}function cj(e){e.updateLayout()}function dj(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:o}=e.layout,{animationType:i}=e.options,s=n.source!==e.layout.source;i==="size"?ht(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],h=lt(f);f.min=r[d].min,f.max=f.min+h}):Zw(i,n.layoutBox,r)&&ht(d=>{const f=s?n.measuredBox[d]:n.layoutBox[d],h=lt(r[d]);f.max=f.min+h,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+h)});const a=ho();Di(a,r,n.layoutBox);const l=ho();s?Di(l,e.applyTransform(o,!0),n.measuredBox):Di(l,r,n.layoutBox);const u=!Yw(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:h}=d;if(f&&h){const w=ve();Li(w,n.layoutBox,f.layoutBox);const g=ve();Li(g,r,h.layoutBox),Qw(w,g)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=g,e.relativeTargetOrigin=w,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function fj(e){wi&&gr.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function hj(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function pj(e){e.clearSnapshot()}function sg(e){e.clearMeasurements()}function mj(e){e.isLayoutDirty=!1}function gj(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ag(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function yj(e){e.resolveTargetDelta()}function vj(e){e.calcProjection()}function xj(e){e.resetSkewAndRotation()}function wj(e){e.removeLeadSnapshot()}function lg(e,t,n){e.translate=fe(t.translate,0,n),e.scale=fe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ug(e,t,n,r){e.min=fe(t.min,n.min,r),e.max=fe(t.max,n.max,r)}function Sj(e,t,n,r){ug(e.x,t.x,n.x,r),ug(e.y,t.y,n.y,r)}function bj(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Cj={duration:.45,ease:[.4,0,.1,1]},cg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),dg=cg("applewebkit/")&&!cg("chrome/")?Math.round:st;function fg(e){e.min=dg(e.min),e.max=dg(e.max)}function Ej(e){fg(e.x),fg(e.y)}function Zw(e,t,n){return e==="position"||e==="preserve-aspect"&&!kA(rg(t),rg(n),.2)}function Pj(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const Tj=Xw({attachResizeListener:(e,t)=>ls(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Du={current:void 0},Jw=Xw({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Du.current){const e=new Tj({});e.mount(window),e.setOptions({layoutScroll:!0}),Du.current=e}return Du.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),kj={pan:{Feature:UA},drag:{Feature:$A,ProjectionNode:Jw,MeasureLayout:Hw}};function hg(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const o="onHover"+n,i=r[o];i&&le.postRender(()=>i(t,Cs(t)))}class Nj extends lr{mount(){const{current:t}=this.node;t&&(this.unmount=NN(t,n=>(hg(this.node,n,"Start"),r=>hg(this.node,r,"End"))))}unmount(){}}class Rj extends lr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=bs(ls(this.node.current,"focus",()=>this.onFocus()),ls(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function pg(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const o="onTap"+(n==="End"?"":n),i=r[o];i&&le.postRender(()=>i(t,Cs(t)))}class Aj extends lr{mount(){const{current:t}=this.node;t&&(this.unmount=MN(t,n=>(pg(this.node,n,"Start"),(r,{success:o})=>pg(this.node,r,o?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const od=new WeakMap,Lu=new WeakMap,jj=e=>{const t=od.get(e.target);t&&t(e)},Mj=e=>{e.forEach(jj)};function Dj({root:e,...t}){const n=e||document;Lu.has(n)||Lu.set(n,{});const r=Lu.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Mj,{root:e,...t})),r[o]}function Lj(e,t,n){const r=Dj(t);return od.set(e,n),r.observe(e),()=>{od.delete(e),r.unobserve(e)}}
vendor: 4,130 bytes, line 196
196const Oj={some:0,all:1};class _j extends lr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:r,threshold:typeof o=="number"?o:Oj[o]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,i&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:d}=this.node.getProps(),f=u?c:d;f&&f(l)};return Lj(this.node.current,s,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Ij(t,n))&&this.startObserver()}unmount(){}}function Ij({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Fj={inView:{Feature:_j},tap:{Feature:Aj},focus:{Feature:Rj},hover:{Feature:Nj}},Vj={layout:{ProjectionNode:Jw,MeasureLayout:Hw}},id={current:null},e1={current:!1};function zj(){if(e1.current=!0,!!Pf)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>id.current=e.matches;e.addListener(t),t()}else id.current=!1}const Bj=[...Pw,Fe,or],$j=e=>Bj.find(Ew(e)),mg=new WeakMap;function Uj(e,t,n){for(const r in t){const o=t[r],i=n[r];if(ze(o))e.addValue(r,o);else if(ze(i))e.addValue(r,ss(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const s=e.getValue(r);s.liveStyle===!0?s.jump(o):s.hasAnimated||s.set(o)}else{const s=e.getStaticValue(r);e.addValue(r,ss(s!==void 0?s:o,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const gg=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class Wj{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:o,blockInitialAnimation:i,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Zf,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const h=Xt.now();this.renderScheduledAt<h&&(this.renderScheduledAt=h,le.render(this.render,!1,!0))};const{latestValues:l,renderState:u,onUpdate:c}=s;this.onUpdate=c,this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=o,this.options=a,this.blockInitialAnimation=!!i,this.isControllingVariants=Dl(n),this.isVariantNode=Dx(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const h in f){const w=f[h];l[h]!==void 0&&ze(w)&&w.set(l[h],!1)}}mount(t){this.current=t,mg.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,r)=>this.bindToMotionValue(r,n)),e1.current||zj(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:id.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){mg.delete(this.current),this.projection&&this.projection.unmount(),rr(this.notifyUpdate),rr(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];
vendor: 4,583 bytes, line 196
196n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=$r.has(t),o=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&le.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let s;window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{o(),i(),s&&s(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in $o){const n=$o[t];if(!n)continue;const{isEnabled:r,Feature:o}=n;if(!this.features[t]&&o&&r(this.props)&&(this.features[t]=new o(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ve()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;r<gg.length;r++){const o=gg[r];this.propEventSubscriptions[o]&&(this.propEventSubscriptions[o](),delete this.propEventSubscriptions[o]);const i="on"+o,s=t[i];s&&(this.propEventSubscriptions[o]=this.on(o,s))}this.prevMotionValues=Uj(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=ss(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(bw(o)||hw(o))?o=parseFloat(o):!$j(o)&&or.test(n)&&(o=xw(t,n)),this.setBaseTarget(t,ze(o)?o.get():o)),ze(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let o;if(typeof r=="string"||typeof r=="object"){const s=Mf(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);s&&(o=s[t])}if(r&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!ze(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Kf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class t1 extends Wj{constructor(){super(...arguments),this.KeyframeResolver=Tw}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;ze(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Hj(e){return window.getComputedStyle(e)}class Kj extends t1{constructor(){super(...arguments),this.type="html",this.renderInstance=$x}readValueFromInstance(t,n){if($r.has(n)){const r=Xf(n);return r&&r.default||0}else{const r=Hj(t),o=(Vx(n)?r.getPropertyValue(n):r[n])||0;
196return typeof o=="string"?o.trim():o}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Uw(t,n)}build(t,n,r){Of(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return Vf(t,n,r)}}class Gj extends t1{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ve}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if($r.has(n)){const r=Xf(n);return r&&r.default||0}return n=Ux.has(n)?n:Rf(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return Kx(t,n,r)}build(t,n,r){_f(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,o){Wx(t,n,r,o)}mount(t){this.isSVGTag=Ff(t.tagName),super.mount(t)}}const Yj=(e,t)=>jf(e)?new Gj(t):new Kj(t,{allowProjection:e!==S.Fragment}),Qj=SN({...vA,...Fj,...kj,...Vj},Yj),te=_2(Qj),yg=[{to:"/",label:"Home"},{to:"/about",label:"About"},{to:"/products",label:"Products"},{to:"/contact",label:"Contact"}],qj=()=>{const[e,t]=S.useState(!1),n=Yo();return y.jsxs("nav",{className:"fixed top-0 left-0 right-0 z-50 bg-background/80 backdrop-blur-lg border-b border-border",children:[y.jsxs("div",{className:"max-w-7xl mx-auto px-6 h-16 flex items-center justify-between",children:[y.jsxs(wr,{to:"/",className:"flex items-center gap-2",children:[y.jsx(cf,{className:"w-7 h-7 text-primary fill-primary"}),y.jsxs("span",{className:"font-heading font-bold text-lg text-foreground",children:["One Love ",y.jsx("span",{className:"gradient-text",children:"Affiliate"})]})]}),y.jsxs("div",{className:"hidden md:flex items-center gap-8",children:[yg.map(r=>y.jsx(wr,{to:r.to,className:`text-sm font-medium transition-colors hover:text-primary ${n.pathname===r.to?"text-primary":"text-muted-foreground"}`,children:r.label},r.to)),y.jsx("a",{href:"https://stan.store/jacquejv/p/a-simple-guide-how-to-selling-digital-products",target:"_blank",rel:"noopener noreferrer",className:"gradient-bg text-primary-foreground px-5 py-2 rounded-full text-sm font-semibold hover:opacity-90 transition-opacity",children:"Get the Guide"})]}),y.jsx("button",{className:"md:hidden text-foreground",onClick:()=>t(!e),children:e?y.jsx(B0,{className:"w-6 h-6"}):y.jsx(QP,{className:"w-6 h-6"})})]}),y.jsx(N2,{children:e&&y.jsx(te.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"md:hidden bg-background border-b border-border overflow-hidden",children:y.jsxs("div",{className:"px-6 py-4 flex flex-col gap-3",children:[yg.map(r=>y.jsx(wr,{to:r.to,onClick:()=>t(!1),className:`text-sm font-medium py-2 ${n.pathname===r.to?"text-primary":"text-muted-foreground"}`,children:r.label},r.to)),y.jsx("a",{href:"https://stan.store/jacquejv/p/a-simple-guide-how-to-selling-digital-products",target:"_blank",rel:"noopener noreferrer",onClick:()=>t(!1),className:"gradient-bg text-primary-foreground px-5 py-2 rounded-full text-sm font-semibold text-center hover:opacity-90 transition-opacity",children:"Get the Guide"})]})})})]})},Xj=()=>y.jsx("footer",{className:"bg-foreground text-primary-foreground",children:y.jsxs("div",{className:"max-w-7xl mx-auto px-6 py-16",children:[y.jsxs("div",{className:"grid md:grid-cols-4 gap-10",children:[y.jsxs("div",{children:[y.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[y.jsx(cf,{className:"w-6 h-6 text-primary fill-primary"}),y.jsx("span",{className:"font-heading font-bold text-lg",children:"One Love Affiliate"})]}),y.jsx("p",{className:"text-sm opacity-70 leading-relaxed",children:"Helping you discover the best affordable way to build generational wealth through digital products and affiliate marketing."})]}),y.jsxs("div",{children:[y.jsx("h4",{className:"font-heading font-semibold mb-4",children:"Quick Links"}),y.jsxs("div",{className:"flex flex-col gap-2 text-sm opacity-70",children:[y.jsx(wr,{to:"/",className:"hover:opacity-100 transition-opacity",children:"Home"}),y.jsx(wr,{to:"/about",className:"hover:opacity-100 transition-opacity",children:"About"}),y.jsx(wr,{to:"/products",className:"hover:opacity-100 transition-opacity",children:"Products"}),y.jsx(wr,{to:"/contact",className:"hover:opacity-100 transition-opacity",children:"Contact"})]})]}),y.jsxs("div",{children:[y.jsx("h4",{className:"font-heading font-semibold mb-4",children:"Products"}),y.jsxs("div",{className:"flex flex-col gap-2 text-sm opacity-70",children:[y.jsx("a",{href:"https://stan.store/jacquejv",target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-100 transition-opacity",children:"Digital Guides"}),y.jsx("a",{href:"https://stan.store/jacquejv",target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-100 transition-opacity",children:"Planners & Logs"}),y.jsx("a",{href:"https://stan.store/jacquejv",target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-100 transition-opacity",children:"Templates"}),y.jsx("a",{href:"https://stan.store/jacquejv",target:"_blank",rel:"noopener noreferrer",className:"hover:opacity-100 transition-opacity",children:"Visit Our Store"})]})]}),y.jsxs("div",{children:[y.jsx("h4",{className:"font-heading font-semibold mb-4",children:"Contact"}),y.jsxs("div",{className:"flex flex-col gap-3 text-sm opacity-70",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(F0,{className:"w-4 h-4"})," [email protected]"]}),y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(V0,{className:"w-4 h-4"})," (555) 123-4567"]}),y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(df,{className:"w-4 h-4"})," Brooklyn, NY 11203"]})]})]})]}),y.jsxs("div",{className:"mt-12 pt-8 border-t border-primary-foreground
196/10 text-center text-sm opacity-50",children:["© ",new Date().getFullYear()," One Love Affiliate Market. All rights reserved."]})]})}),Zj="/assets/book-mockup-yzdfYHD6.jpg",Jj="/assets/book-cover-BlOnVO-x.jpg",n1="/assets/founder-story-Cx60bhRw.jpg",_l=()=>{const[e,t]=S.useState(""),[n,r]=S.useState(!1),o=i=>{i.preventDefault(),e&&r(!0)};return y.jsx("section",{className:"gradient-bg py-20 px-6",children:y.jsxs(te.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"max-w-2xl mx-auto text-center",children:[y.jsx("h2",{className:"font-heading text-3xl md:text-4xl font-bold text-primary-foreground mb-4",children:"Join Our Community"}),y.jsx("p",{className:"text-primary-foreground/80 mb-8",children:"Get weekly tips, strategies, and exclusive affiliate marketing insights delivered to your inbox."}),n?y.jsx("p",{className:"text-primary-foreground font-semibold text-lg",children:"🎉 Thank you for subscribing!"}):y.jsxs("form",{onSubmit:o,className:"flex flex-col sm:flex-row gap-3 max-w-md mx-auto",children:[y.jsx("input",{type:"email",value:e,onChange:i=>t(i.target.value),placeholder:"Enter your email",required:!0,className:"flex-1 px-5 py-3 rounded-full bg-primary-foreground/20 text-primary-foreground placeholder:text-primary-foreground/50 border border-primary-foreground/30 focus:outline-none focus:border-primary-foreground"}),y.jsxs("button",{type:"submit",className:"px-6 py-3 rounded-full bg-primary-foreground text-primary font-semibold flex items-center justify-center gap-2 hover:opacity-90 transition-opacity",children:["Subscribe ",y.jsx(z0,{className:"w-4 h-4"})]})]})]})})},ea="https://stan.store/jacquejv/p/a-simple-guide-how-to-selling-digital-products",zt={initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6}},eM=["What Is Affiliate Marketing","Choose a Profitable Niche","Join Affiliate Programs","Create a Website or Page","Promote Affiliate Products","Create Content That Attracts Buyers","Drive Traffic to Your Links","Track Your Sales","Scale Your Affiliate Business","Beginner Tips for Success"],tM=[{icon:GP,title:"Build Passive Income",desc:"Learn how to earn commissions while you sleep — your money grows around the clock."},{icon:JP,title:"Step-by-Step Blueprint",desc:"No guesswork. Follow a clear, proven path from zero to your first affiliate sale."},{icon:eT,title:"No Products Required",desc:"You don't need to create products, handle shipping, or manage customer service."},{icon:tT,title:"Start in Minutes",desc:"Get set up fast with easy-to-follow guides, templates, and platform recommendations."},{icon:qP,title:"Trusted Strategies",desc:"Every method in this guide has been tested and refined for real-world results."},{icon:WP,title:"Scale Without Limits",desc:"From side hustle to full-time income — learn how to grow your business over time."}],nM=[{name:"Alex R.",quote:"One Love Affiliate Market was a lifesaver! Their detailed review helped me choose the right approach for my business. The information was clear and unbiased."},{name:"Maria S.",quote:"I've been looking for a reliable source for affiliate marketing recommendations. This guide delivers! The content is well-researched and genuinely helpful."},{name:"David L.",quote:"The step-by-step approach is brilliant. It really explained affiliate marketing and how to choose products. Great transparency!"}],rM=()=>y.jsxs("div",{className:"pt-16",children:[y.jsxs("section",{className:"relative min-h-[90vh] flex items-center overflow-hidden gradient-bg",children:[y.jsx("div",{className:"absolute inset-0 bg-foreground
196/10"}),y.jsxs("div",{className:"relative z-10 max-w-7xl mx-auto px-6 py-20 grid md:grid-cols-2 gap-12 items-center",children:[y.jsxs(te.div,{initial:{opacity:0,x:-40},animate:{opacity:1,x:0},transition:{duration:.8},children:[y.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-primary-foreground/20 text-primary-foreground text-sm font-semibold mb-6 border border-primary-foreground/30",children:"📘 New Guide — Only $36.99"}),y.jsxs("h1",{className:"font-heading text-4xl md:text-5xl lg:text-6xl font-extrabold text-primary-foreground leading-tight mb-6",children:["Build Generational Wealth",y.jsx("br",{}),y.jsx("span",{className:"opacity-90",children:"Selling Digital Products"})]}),y.jsx("p",{className:"text-primary-foreground/85 text-lg md:text-xl mb-4 leading-relaxed",children:"Your complete step-by-step guide to affiliate marketing — from choosing a niche to scaling a profitable online business. No experience needed."}),y.jsxs("p",{className:"text-primary-foreground/70 text-base mb-8",children:["By ",y.jsx("strong",{className:"text-primary-foreground",children:"Jacqueline Virgo"})," — Digital Marketing Coach"]}),y.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[y.jsxs("a",{href:ea,target:"_blank",rel:"noopener noreferrer",className:"px-8 py-4 rounded-full bg-primary-foreground text-primary font-heading font-bold text-lg hover:scale-105 transition-transform text-center flex items-center justify-center gap-2",children:["Get Your Copy Now ",y.jsx(yi,{className:"w-5 h-5"})]}),y.jsx("a",{href:"#whats-inside",className:"px-8 py-4 rounded-full border-2 border-primary-foreground text-primary-foreground font-heading font-semibold text-lg hover:bg-primary-foreground/10 transition-colors text-center",children:"See What's Inside"})]})]}),y.jsx(te.div,{initial:{opacity:0,x:40},animate:{opacity:1,x:0},transition:{duration:.8,delay:.2},className:"flex justify-center",children:y.jsx("img",{src:Zj,alt:"A Simple Guide How to Build Wealth Through Selling Digital Products",className:"rounded-2xl elevated-shadow max-w-sm w-full",width:400,height:300})})]})]}),y.jsx("section",{className:"py-10 gradient-soft-bg",children:y.jsx("div",{className:"max-w-7xl mx-auto px-6 grid grid-cols-2 md:grid-cols-4 gap-8",children:[{value:"10+",label:"Chapters Packed with Value"},{value:"$36.99",label:"One-Time Investment"},{value:"100%",label:"Beginner-Friendly"},{value:"24/7",label:"Instant Digital Access"}].map((e,t)=>y.jsxs(te.div,{...zt,transition:{delay:t*.1},className:"text-center",children:[y.jsx("div",{className:"font-heading text-3xl md:text-4xl font-extrabold gradient-text",children:e.value}),y.jsx("div",{className:"text-muted-foreground text-sm mt-1",children:e.label})]},t))})}),y.jsx("section",{className:"py-20 px-6",children:y.jsxs("div",{className:"max-w-7xl mx-auto",children:[y.jsxs(te.div,{...zt,className:"text-center mb-14",children:[y.jsxs("h2",{className:"font-heading text-3xl md:text-4xl font-bold text-foreground mb-4",children:["Why This Guide Will ",y.jsx("span",{className:"gradient-text",children:"Change Your Life"})]}),y.jsx("p",{className:"text-muted-foreground max-w-xl mx-auto",children:"Everything you need to launch your affiliate marketing business — distilled into one actionable ebook."})]}),y.jsx("div",{className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:tM.map((e,t)=>y.jsxs(te.div,{...zt,transition:{delay:t*.1},className:"bg-card rounded-2xl p-8 card-shadow hover:elevated-shadow transition-shadow group",children:[y.jsx("div",{className:"w-14 h-14 rounded-xl gradient-bg flex items-center justify-center mb-5 group-hover:scale-110 transition-transform",children:y.jsx(e.icon,{className:"w-7 h-7 text-primary-foreground"})}),y.jsx("h3",{className:"font-heading text-xl font-bold text-foreground mb-2",children:e.title}),y.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:e.desc})]},t))})]})}),y.jsx("section",{id:"whats-inside",className:"py-20 px-6 bg-muted",children:y.jsxs("div",{className:"max-w-7xl mx-auto grid md:grid-cols-2 gap-14 items-center",children:[y.jsx(te.div,{...zt,children:y.jsx("img",{src:Jj,alt:"Book cover preview",className:"rounded-2xl elevated-shadow w-full max-w-md mx-auto",loading:"lazy",width:400,height:520})}),y.jsxs(te.div,{...zt,transition:{delay:.2},children:[y.jsxs("h2",{className:"font-heading text-3xl md:text-4xl font-bold text-foreground mb-6",children:["What's ",y.jsx("span",{className:"gradient-text",children:"Inside the Guide"})]}),y.jsx("p",{className:"text-muted-foreground mb-8 leading-relaxed",children:"10 chapters covering every aspect of affiliate marketing — from understanding the basics to scaling your income to new heights."}),y.jsx("div",{className:"space-y-3 mb-8",children:eM.map((e,t)=>y.jsxs("div",{className:"flex items-center gap-3",children:[y.jsx(HP,{className:"w-5 h-5 text-primary flex-shrink-0"}),y.jsxs("span",{className:"text-foreground font-medium",children:["Chapter ",t+1,": ",e]})]},t))}),y.jsxs("a",{href:ea,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 gradient-bg text-primary-foreground px-8 py-4 rounded-full font-heading font-bold text-lg hover:scale-105 transition-transform",children:["Get Your Copy — $36.99 ",y.jsx(yi,{className:"w-5 h-5"})]})]})]})}),y.jsx("section",{className:"py-20 px-6",children:y.jsxs("div",{className:"max-w-7xl mx-auto grid md:grid-cols-2 gap-14 items-center",children:[y.jsxs(te.div,{...zt,transition:{delay:.1},className:"order-2 md:order-1",children:[y.jsx("span",{className:"text-primary font-semibold text-sm uppercase tracking-wide mb-2 block",children:"Meet Your Coach"}),y.jsxs("h2",{className:"font-heading text-3xl md:text-4xl font-bold text-foreground mb-6",children:["Hi, I'm ",y.jsx("span",{className:"gradient-text",children:"Jacqueline Virgo"})]}),y.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:"I truly believe that selling digital products can open the door to financial freedom. It creates the opportunity to earn income while still having the time to spend with your family and enjoy the life you've always dreamed of."}),y.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:"Founded in the heart of Brooklyn, New York, One Love Affiliated Market began as a passion project to demystify the world of Digital Marketing. I believe that everyone — from aspiring content creators to seasoned producers — deserves access to reliable information."}),y.jsx("p",{className:"text-muted-foreground leading-relaxed mb-6",children:"This booklet is more than just a guide — it's a stepping stone on your affiliate marketing journey. It's designed to give you the tools, confidence, and direction you need to start making a real difference in your life."}),y.jsxs("a",{href:ea,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 gradient-bg text-primary-foreground px-8 py-4 rounded-full font-heading font-bold hover:scale-105 transition-transform",children:["Start Your Journey ",y.jsx(yi,{className:"w-5 h-5"})]})]}),y.jsx(te.div,{...zt,className:"order-1 md:order-2",children:y.jsx("img",{src:n1,alt:"Jacqueline Virgo",className:"rounded-2xl elevated-shadow w-full object-cover max-h-[500px]",loading:"lazy",width:800,height:1e3})})]})}),y.jsx("section",{className:"py-20 px-6 bg-muted",children:y.jsxs("div",{className:"max-w-7xl mx-auto",children:[y.jsx(te.div,{...zt,className:"text-center mb-14",children:y.jsxs("h2",{className:"font-heading text-3xl md:text-4xl font-bold text-foreground mb-4",children:["What Our ",y.jsx("span",{className:"gradient-text",children:"Community Says"})]})}),y.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:nM.map((e,t)=>y.jsxs(te.div,{...zt,transition:{delay:t*.15}
196,className:"bg-card rounded-2xl p-8 card-shadow",children:[y.jsx("div",{className:"flex gap-1 mb-4",children:[...Array(5)].map((n,r)=>y.jsx(ZP,{className:"w-5 h-5 text-primary fill-primary"},r))}),y.jsxs("p",{className:"text-muted-foreground text-sm leading-relaxed mb-6 italic",children:['"',e.quote,'"']}),y.jsx("p",{className:"font-heading font-bold text-foreground",children:e.name})]},t))})]})}),y.jsx("section",{className:"py-20 px-6",children:y.jsxs(te.div,{...zt,className:"max-w-4xl mx-auto text-center",children:[y.jsxs("h2",{className:"font-heading text-3xl md:text-4xl font-bold text-foreground mb-4",children:["Ready to Build Your ",y.jsx("span",{className:"gradient-text",children:"Financial Freedom"}),"?"]}),y.jsx("p",{className:"text-muted-foreground mb-4 max-w-xl mx-auto",children:"Stop overthinking. Start earning. This guide gives you everything you need to launch your affiliate marketing business today."}),y.jsxs("p",{className:"text-foreground font-heading font-bold text-2xl mb-8",children:["Only ",y.jsx("span",{className:"gradient-text",children:"$36.99"})," — Instant Download"]}),y.jsxs("a",{href:ea,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 gradient-bg text-primary-foreground px-12 py-5 rounded-full font-heading font-bold text-xl hover:scale-105 transition-transform",children:["Get Your Copy Now ",y.jsx(yi,{className:"w-6 h-6"})]})]})}),y.jsx(_l,{})]}),oM="/assets/about-image-C1YdveZt.jpg",qr={initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6}},iM=[{icon:cf,title:"Passion",desc:"We're passionate about affiliate marketing and dedicated to helping you succeed in building long-term income."},{icon:UP,title:"Integrity",desc:"We provide honest, unbiased recommendations. Every product and partner we recommend has been thoroughly vetted."},{icon:YP,title:"Transparency",desc:"Clear, actionable guidance with no hidden agendas. We believe in empowering our community with real knowledge."}],sM=()=>y.jsxs("div",{className:"pt-16",children:[y.jsx("section",{className:"gradient-bg py-20 px-6",children:y.jsxs("div",{className:"max-w-7xl mx-auto text-center",children:[y.jsx(te.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},className:"font-heading text-4xl md:text-5xl font-extrabold text-primary-foreground mb-4",children:"About Us"}),y.jsx(te.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-primary-foreground/80 text-lg max-w-xl mx-auto",children:"Learn who we are and why we're passionate about helping you build wealth through digital marketing."})]})}),y.jsx("section",{className:"py-20 px-6",children:y.jsxs("div",{className:"max-w-7xl mx-auto grid md:grid-cols-2 gap-14 items-center",children:[y.jsx(te.div,{...qr,children:y.jsx("img",{src:n1,alt:"Jacqueline Virgo — Founder",className:"rounded-2xl elevated-shadow w-full object-cover max-h-[500px]",loading:"lazy",width:800,height:1e3})}),y.jsxs(te.div,{...qr,transition:{delay:.2},children:[y.jsxs("h2",{className:"font-heading text-3xl font-bold text-foreground mb-6",children:["Our ",y.jsx("span",{className:"gradient-text",children:"Story"})]}),y.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:"Founded in the heart of Brooklyn, New York, One Love Affiliated Market began as a passion project to demystify the world of Digital Marketing. We believe that everyone — from aspiring content creators to seasoned producers — deserves access to reliable information. Our goal is to build a community where honest reviews and genuine recommendations empower your creative process."}),y.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:"Welcome to One Love Affiliated Market! We started this journey with a simple mission — to help everyday people discover the best, most affordable ways to build generational wealth through affiliate marketing. You can sleep while your money is growing."}),y.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:"In the dynamic world of affiliate marketing, making the right choices can be challenging. We cut through the noise, offering curated selections and insightful reviews to ensure you invest in products that truly elevate your business."}),y.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"As an affiliate market, we specialize in connecting you with top-tier marketing tools and services. Our commitment is to provide clear, unbiased information so you can make informed decisions that align with your creative and professional needs."}),y.jsxs("div",{className:"flex items-center gap-2 mt-6 text-muted-foreground text-sm",children:[y.jsx(df,{className:"w-4 h-4 text-primary"}),y.jsx("span",{children:"87 East 56 Street, Brooklyn, NY 11203"})]})]})]})}),y.jsx("section",{className:"py-20 px-6 bg-muted",children:y.jsxs("div",{className:"max-w-7xl mx-auto grid md:grid-cols-2 gap-14 items-center",children:[y.jsxs(te.div,{...qr,transition:{delay:.1},children:[y.jsxs("h2",{className:"font-heading text-3xl font-bold text-foreground mb-6",children:["Meet ",y.jsx("span",{className:"gradient-text",children:"Jacqueline Virgo"})]}),y.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:`"I truly believe that selling digital products can open the door to financial freedom. It creates the opportunity to earn income while still having the time to spend with your family and enjoy the life you've always dreamed of."`}),y.jsx("p",{className:"text-muted-foreground leading-relaxed mb-4",children:`"This booklet is more than just a guide — it's a stepping stone on your affiliate marketing journey. It's designed to give you the tools, confidence, and direction you need to start making a real difference in your life."`}),y.jsx("p",{className:"text-foreground font-heading font-semibold italic",children:"— Jacqueline Virgo, Founder"})]}),y.jsx(te.div,{...qr,children:y.jsx("img",{src:oM,alt:"Our workspace",className:"rounded-2xl elevated-shadow w-full object-cover max-h-[500px]",loading:"lazy",width:800,height:1e3})})]})}),y.jsx("section",{className:"py-20 px-6",children:y.jsxs("div",{className:"max-w-7xl mx-auto",children:[y.jsxs(te.h2,{...qr,className:"font-heading text-3xl font-bold text-center text-foreground mb-14",children:["Our ",y.jsx("span",{className:"gradient-text",children:"Core Values"})]}),y.jsx("div",{className:"grid md:grid-cols-3 gap-8",children:iM.map((e,t)=>y.jsxs(te.div,{...qr,transition:{delay:t*.15}
196,className:"bg-card rounded-2xl p-8 card-shadow text-center",children:[y.jsx("div",{className:"w-16 h-16 rounded-full gradient-bg flex items-center justify-center mx-auto mb-5",children:y.jsx(e.icon,{className:"w-8 h-8 text-primary-foreground"})}),y.jsx("h3",{className:"font-heading text-xl font-bold text-foreground mb-3",children:e.title}),y.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed",children:e.desc})]},t))})]})}),y.jsx(_l,{})]}),vg="https://stan.store/jacquejv",xg={initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6}},aM=[{title:"A Simple Guide How to Selling Digital Products",desc:"Step-by-step guide to building wealth through affiliate marketing. 10 chapters packed with actionable strategies.",price:"$36.99",image:"https://assets.stanwith.me/live/msc/28629365/cyzle/olivegreenneutraldecluttersimplelivinghowtoguideebookcover.png?width=500",cta:"Get Your Life-Changing Guide"},{title:"How to Grow Your Digital Product Business",desc:"Learn proven strategies to scale your digital product business and maximize your online revenue.",price:"$27.99",image:"https://assets.stanwith.me/live/msc/28629365/me2gi/simplecard1.png?width=500",cta:"Start Growing Today"},{title:"Amazing Wedding Invitation",desc:"Beautiful and exciting digital wedding invitation. Perfect for any occasion — customize and send instantly.",price:"$36.99",image:"https://assets.stanwith.me/live/msc/28629365/qgjl2/simplecard.png?width=500",cta:"Get Your Invitation"},{title:"Digital Exercise Daily Log",desc:"Weekly, daily, or monthly exercise planner delivered right to your inbox. Stay on track with your fitness goals.",price:"$5.99",image:"https://assets.stanwith.me/live/msc/28629365/4esoi/untitleddesign2.png?width=500",cta:"Get Your Daily Log"},{title:"Prayer Log",desc:"Count your blessings one by one. A beautiful digital prayer journal delivered right to your inbox.",price:"$5.99",image:"https://assets.stanwith.me/live/msc/28629365/mb7ig/yourparagraphtext2.png?width=500",cta:"Get My Prayer Log"},{title:"Emergency Contact Log",desc:"Keep critical contacts and medical details in one safe place. Essential for every household.",price:"$9.99",image:"https://assets.stanwith.me/live/msc/28629365/zh15i/untitleddesign6.png?width=500",cta:"Get Your Safety Log"},{title:"ABC Ebook — A Fun Way for Kids to Learn",desc:"A fun way for kids to learn the alphabet. Digital ebook delivered to your inbox — print as needed.",price:"$5.99",image:"https://assets.stanwith.me/live/msc/28629365/bdch8/front.png?width=500",cta:"Start the Adventure"},{title:"Wedding Day Schedule",desc:"A simple guide to a smooth and beautiful wedding day. Plan every moment perfectly.",price:"$37.99",image:"https://assets.stanwith.me/live/msc/28629365/m56wp/yourparagraphtext2.png?width=500",cta:"Plan Your Perfect Day"}],lM=()=>y.jsxs("div",{className:"pt-16",children:[y.jsx("section",{className:"gradient-bg py-20 px-6",children:y.jsxs("div",{className:"max-w-7xl mx-auto text-center",children:[y.jsx(te.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},className:"font-heading text-4xl md:text-5xl font-extrabold text-primary-foreground mb-4",children:"Our Products"}),y.jsx(te.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-primary-foreground/80 text-lg max-w-xl mx-auto",children:"Digital products designed to help you grow, learn, and build the life you deserve."})]})}),y.jsx("section",{className:"py-20 px-6",children:y.jsx("div",{className:"max-w-7xl mx-auto grid md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8",children:aM.map((e,t)=>y.jsxs(te.div,{...xg,transition:{delay:t*.08},className:"bg-card rounded-2xl overflow-hidden card-shadow hover:elevated-shadow transition-shadow group flex flex-col",children:[y.jsx("div",{className:"aspect-[4/5] overflow-hidden bg-muted",children:y.jsx("img",{src:e.image,alt:e.title,className:"w-full h-full object-cover group-hover:scale-105 transition-transform duration-500",loading:"lazy",width:400,height:500})}),y.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[y.jsx("h3",{className:"font-heading text-lg font-bold text-foreground mb-2 leading-snug",children:e.title}),y.jsx("p",{className:"text-muted-foreground text-sm leading-relaxed mb-4 flex-1",children:e.desc}),y.jsxs("div",{className:"flex items-center justify-between mt-auto",children:[y.jsx("span",{className:"font-heading text-xl font-extrabold gradient-text",children:e.price}),y.jsxs("a",{href:vg,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-1 text-primary font-semibold text-sm hover:underline",children:[y.jsx(XP,{className:"w-4 h-4"})," Buy Now"]})]})]})]},t))})}),y.jsx("section",{className:"py-20 px-6 bg-muted",children:y.jsxs(te.div,{...xg,className:"max-w-4xl mx-auto text-center",children:[y.jsx("h2",{className:"font-heading text-3xl md:text-4xl font-bold text-foreground mb-4",children:"Browse All Products"}),y.jsx("p",{className:"text-muted-foreground mb-8 max-w-xl mx-auto",children:"Visit our full store for more digital products, guides, and resources to help you on your journey."}),y.jsxs("a",{href:vg,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 gradient-bg text-primary-foreground px-10 py-4 rounded-full font-heading font-bold text-lg hover:scale-105 transition-transform",children:["Visit Our Store ",y.jsx(yi,{className:"w-5 h-5"})]})]})}),y.jsx(_l,{})]}),wg={initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{duration:.6}},uM=[{icon:F0,label:"Email Us",value:"[email protected]"},{icon:V0,label:"Call Us",value:"(555) 123-4567"},{icon:df,label:"Location",value:"Online — Worldwide"},{icon:KP,label:"Response Time",value:"Within 24 hours"}],cM=()=>{const[e,t]=S.useState(!1),n=r=>{r.preventDefault(),t(!0)};return y.jsxs("div",{className:"pt-16",children:[y.jsx("section",{className:"gradient-bg py-20 px-6",children:y.jsxs("div",{className:"max-w-7xl mx-auto text-center",children:[y.jsx(te.h1,{initial:{opacity:0,y:30}
196,animate:{opacity:1,y:0},className:"font-heading text-4xl md:text-5xl font-extrabold text-primary-foreground mb-4",children:"Contact Us"}),y.jsx(te.p,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.2},className:"text-primary-foreground/80 text-lg max-w-xl mx-auto",children:"Have a question or ready to get started? We'd love to hear from you."})]})}),y.jsx("section",{className:"py-20 px-6",children:y.jsxs("div",{className:"max-w-7xl mx-auto grid md:grid-cols-2 gap-14",children:[y.jsxs(te.div,{...wg,children:[y.jsx("h2",{className:"font-heading text-2xl font-bold text-foreground mb-6",children:"Send Us a Message"}),e?y.jsxs("div",{className:"bg-accent rounded-2xl p-10 text-center",children:[y.jsx("div",{className:"text-4xl mb-4",children:"🎉"}),y.jsx("h3",{className:"font-heading text-xl font-bold text-foreground mb-2",children:"Message Sent!"}),y.jsx("p",{className:"text-muted-foreground",children:"We'll get back to you within 24 hours."})]}):y.jsxs("form",{onSubmit:n,className:"space-y-5",children:[y.jsxs("div",{className:"grid sm:grid-cols-2 gap-5",children:[y.jsx("input",{type:"text",placeholder:"First Name",required:!0,className:"w-full px-5 py-3 rounded-xl bg-card border border-border focus:border-primary focus:outline-none text-foreground placeholder:text-muted-foreground"}),y.jsx("input",{type:"text",placeholder:"Last Name",required:!0,className:"w-full px-5 py-3 rounded-xl bg-card border border-border focus:border-primary focus:outline-none text-foreground placeholder:text-muted-foreground"})]}),y.jsx("input",{type:"email",placeholder:"Email Address",required:!0,className:"w-full px-5 py-3 rounded-xl bg-card border border-border focus:border-primary focus:outline-none text-foreground placeholder:text-muted-foreground"}),y.jsx("input",{type:"text",placeholder:"Subject",required:!0,className:"w-full px-5 py-3 rounded-xl bg-card border border-border focus:border-primary focus:outline-none text-foreground placeholder:text-muted-foreground"}),y.jsx("textarea",{placeholder:"Your Message",rows:5,required:!0,className:"w-full px-5 py-3 rounded-xl bg-card border border-border focus:border-primary focus:outline-none text-foreground placeholder:text-muted-foreground resize-none"}),y.jsxs("button",{type:"submit",className:"gradient-bg text-primary-foreground px-8 py-3 rounded-full font-heading font-semibold flex items-center gap-2 hover:scale-105 transition-transform",children:["Send Message ",y.jsx(z0,{className:"w-4 h-4"})]})]})]}),y.jsxs(te.div,{...wg,transition:{delay:.2},children:[y.jsx("h2",{className:"font-heading text-2xl font-bold text-foreground mb-6",children:"Get in Touch"}),y.jsx("p",{className:"text-muted-foreground leading-relaxed mb-8",children:"Whether you have a question about our services, need help getting started, or want to explore partnership opportunities — our team is here to help."}),y.jsx("div",{className:"space-y-6",children:uM.map((r,o)=>y.jsxs("div",{className:"flex items-start gap-4",children:[y.jsx("div",{className:"w-12 h-12 rounded-xl gradient-bg flex items-center justify-center flex-shrink-0",children:y.jsx(r.icon,{className:"w-5 h-5 text-primary-foreground"})}),y.jsxs("div",{children:[y.jsx("div",{className:"font-heading font-semibold text-foreground",children:r.label}),y.jsx("div",{className:"text-muted-foreground text-sm",children:r.value})]})]},o))})]})]})}),y.jsx(_l,{})]})},dM=()=>{const e=Yo();return S.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),y.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:y.jsxs("div",{className:"text-center",children:[y.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),y.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),y.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},fM=new sC,hM=()=>y.jsx(lC,{client:fM,children:y.jsxs(b2,{children:[y.jsx(IT,{}),y.jsx(zE,{}),y.jsxs(iE,{children:[y.jsx(qj,{}),y.jsxs(ZC,{children:[y.jsx(Xr,{path:"/",element:y.jsx(rM,{})}),y.jsx(Xr,{path:"/about",element:y.jsx(sM,{})}),y.jsx(Xr,{path:"/products",element:y.jsx(lM,{})}),y.jsx(Xr,{path:"/contact",element:y.jsx(cM,{})}),y.jsx(Xr,{path:"*",element:y.jsx(dM,{})})]}),y.jsx(Xj,{})]})]})});Wv(document.getElementById("root")).render(y.jsx(hM,{}));

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.