PageSourceSearch

https://pinheiros.com.br/assets/index-DjjgxhqT.js

js pinheiros.com.br collected 2026-10-03 01:31:09 UTC 492,297 bytes, 211 lines download raw bytes

vendor: 6,062 bytes, lines 1-9
1var Mh=e=>{throw TypeError(e)};var Jl=(e,t,n)=>t.has(e)||Mh("Cannot "+n);var N=(e,t,n)=>(Jl(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?Mh("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,r)=>(Jl(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Fe=(e,t,n)=>(Jl(e,t,"access private method"),n);var Lo=(e,t,n,r)=>({set _(i){K(e,t,i,n)},get _(){return N(e,t,r)}});function mb(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in e)){const s=Object.getOwnPropertyDescriptor(r,i);s&&Object.defineProperty(e,i,s.get?s:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))r(i);new MutationObserver(i=>{for(const s of i)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&r(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const s={};return i.integrity&&(s.integrity=i.integrity),i.referrerPolicy&&(s.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?s.credentials="include":i.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(i){if(i.ep)return;i.ep=!0;const s=n(i);fetch(i.href,s)}})();function Jg(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ey={exports:{}},pl={},ty={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 yo=Symbol.for("react.element"),gb=Symbol.for("react.portal"),yb=Symbol.for("react.fragment"),vb=Symbol.for("react.strict_mode"),xb=Symbol.for("react.profiler"),wb=Symbol.for("react.provider"),bb=Symbol.for("react.context"),Sb=Symbol.for("react.forward_ref"),Cb=Symbol.for("react.suspense"),Eb=Symbol.for("react.memo"),Tb=Symbol.for("react.lazy"),Dh=Symbol.iterator;function Pb(e){return e===null||typeof e!="object"?null:(e=Dh&&e[Dh]||e["@@iterator"],typeof e=="function"?e:null)}var ny={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ry=Object.assign,iy={};function qi(e,t,n){this.props=e,this.context=t,this.refs=iy,this.updater=n||ny}qi.prototype.isReactComponent={};qi.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")};qi.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function sy(){}sy.prototype=qi.prototype;function Dd(e,t,n){this.props=e,this.context=t,this.refs=iy,this.updater=n||ny}var Ld=Dd.prototype=new sy;Ld.constructor=Dd;ry(Ld,qi.prototype);Ld.isPureReactComponent=!0;var Lh=Array.isArray,oy=Object.prototype.hasOwnProperty,Od={current:null},ay={key:!0,ref:!0,__self:!0,__source:!0};function ly(e,t,n){var r,i={},s=null,o=null;if(t!=null)for(r in t.ref!==void 0&&(o=t.ref),t.key!==void 0&&(s=""+t.key),t)oy.call(t,r)&&!ay.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:yo,type:e,key:s,ref:o,props:i,_owner:Od.current}}function kb(e,t){return{$$typeof:yo,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Id(e){return typeof e=="object"&&e!==null&&e.$$typeof===yo}function Nb(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Oh=/\/+/g;function eu(e,t){return typeof e=="object"&&e!==null&&e.key!=null?Nb(""+e.key):t.toString(36)}function aa(e,t,n,r,i){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var o=!1;if(e===null)o=!0;else switch(s){case"string":case"number":o=!0;break;case"object":switch(e.$$typeof){case yo:case gb:o=!0}}if(o)return o=e,i=i(o),e=r===""?"."+eu(o,0):r,Lh(i)?(n="",e!=null&&(n=e.replace(Oh,"$&/")+"/"),aa(i,t,n,"",function(u){return u})):i!=null&&(Id(i)&&(i=kb(i,n+(!i.key||o&&o.key===i.key?"":(""+i.key).replace(Oh,"$&/")+"/")+e)),t.push(i)),1;if(o=0,r=r===""?".":r+":",Lh(e))for(var a=0;a<e.length;a++){s=e[a];var l=r+eu(s,a);o+=aa(s,t,n,l,i)}else if(l=Pb(e),typeof l=="function")for(e=l.call(e),a=0;!(s=e.next()).done;)s=s.value,l=r+eu(s,a++),o+=aa(s,t,n,l,i);else if(s==="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 o}function Oo(e,t,n){if(e==null)return e;var r=[],i=0;return aa(e,r,"","",function(s){return t.call(n,s,i++)}),r}function Rb(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 Xe={current:null},la={transition:null},jb={ReactCurrentDispatcher:Xe,ReactCurrentBatchConfig:la,ReactCurrentOwner:Od};function uy(){throw Error("act(...) is not supported in production builds of React.")}q.Children={map:Oo,forEach:function(e,t,n){Oo(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Oo(e,function(){t++}),t},toArray:function(e){return Oo(e,function(t){return t})||[]},only:function(e){if(!Id(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};q.Component=qi;q.Fragment=yb;q.Profiler=xb;
vendor: 5,057 bytes, lines 9-25
9q.PureComponent=Dd;q.StrictMode=vb;q.Suspense=Cb;q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=jb;q.act=uy;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=ry({},e.props),i=e.key,s=e.ref,o=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,o=Od.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)oy.call(t,l)&&!ay.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:yo,type:e.type,key:i,ref:s,props:r,_owner:o}};q.createContext=function(e){return e={$$typeof:bb,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:wb,_context:e},e.Consumer=e};q.createElement=ly;q.createFactory=function(e){var t=ly.bind(null,e);return t.type=e,t};q.createRef=function(){return{current:null}};q.forwardRef=function(e){return{$$typeof:Sb,render:e}};q.isValidElement=Id;q.lazy=function(e){return{$$typeof:Tb,_payload:{_status:-1,_result:e},_init:Rb}};q.memo=function(e,t){return{$$typeof:Eb,type:e,compare:t===void 0?null:t}};q.startTransition=function(e){var t=la.transition;la.transition={};try{e()}finally{la.transition=t}};q.unstable_act=uy;q.useCallback=function(e,t){return Xe.current.useCallback(e,t)};q.useContext=function(e){return Xe.current.useContext(e)};q.useDebugValue=function(){};q.useDeferredValue=function(e){return Xe.current.useDeferredValue(e)};q.useEffect=function(e,t){return Xe.current.useEffect(e,t)};q.useId=function(){return Xe.current.useId()};q.useImperativeHandle=function(e,t,n){return Xe.current.useImperativeHandle(e,t,n)};q.useInsertionEffect=function(e,t){return Xe.current.useInsertionEffect(e,t)};q.useLayoutEffect=function(e,t){return Xe.current.useLayoutEffect(e,t)};q.useMemo=function(e,t){return Xe.current.useMemo(e,t)};q.useReducer=function(e,t,n){return Xe.current.useReducer(e,t,n)};q.useRef=function(e){return Xe.current.useRef(e)};q.useState=function(e){return Xe.current.useState(e)};q.useSyncExternalStore=function(e,t,n){return Xe.current.useSyncExternalStore(e,t,n)};q.useTransition=function(){return Xe.current.useTransition()};q.version="18.3.1";ty.exports=q;var w=ty.exports;const D=Jg(w),Fd=mb({__proto__:null,default:D},[w]);/**
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 Ab=w,Mb=Symbol.for("react.element"),Db=Symbol.for("react.fragment"),Lb=Object.prototype.hasOwnProperty,Ob=Ab.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,Ib={key:!0,ref:!0,__self:!0,__source:!0};function cy(e,t,n){var r,i={},s=null,o=null;n!==void 0&&(s=""+n),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(o=t.ref);for(r in t)Lb.call(t,r)&&!Ib.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:Mb,type:e,key:s,ref:o,props:i,_owner:Ob.current}}pl.Fragment=Db;pl.jsx=cy;pl.jsxs=cy;ey.exports=pl;var h=ey.exports,dy={exports:{}},dt={},fy={exports:{}},hy={};/**
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 W=O-1>>>1,$=k[W];if(0<i($,R))k[W]=R,k[O]=$,O=W;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 W=0,$=k.length,Y=$>>>1;W<Y;){var X=2*(W+1)-1,be=k[X],Ie=X+1,te=k[Ie];if(0>i(be,O))Ie<$&&0>i(te,be)?(k[W]=te,k[Ie]=O,W=Ie):(k[W]=be,k[X]=O,W=X);else if(Ie<$&&0>i(te,O))k[W]=te,k[Ie]=O,W=Ie;else break e}}return R}function i(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 s=performance;e.unstable_now=function(){return s.now()}}else{var o=Date,a=o.now();e.unstable_now=function(){return o.now()-a}}var l=[],u=[],c=1,d=null,f=3,p=!1,x=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,g=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(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 S(k){if(v=!1,y(k),!x)if(n(l)!==null)x=!0,z(C);else{var R=n(u);R!==null&&B(S,R.startTime-k)}}function C(k,R){x=!1,v&&(v=!1,m(T),T=-1),p=!0;var O=f;try{for(y(R),d=n(l);d!==null&&(!(d.expirationTime>R)||k&&!_());
vendor: 1,978 bytes, line 25
25){var W=d.callback;if(typeof W=="function"){d.callback=null,f=d.priorityLevel;var $=W(d.expirationTime<=R);R=e.unstable_now(),typeof $=="function"?d.callback=$:d===n(l)&&r(l),y(R)}else r(l);d=n(l)}if(d!==null)var Y=!0;else{var X=n(u);X!==null&&B(S,X.startTime-R),Y=!1}return Y}finally{d=null,f=O,p=!1}}var E=!1,P=null,T=-1,j=5,A=-1;function _(){return!(e.unstable_now()-A<j)}function I(){if(P!==null){var k=e.unstable_now();A=k;var R=!0;try{R=P(!0,k)}finally{R?U():(E=!1,P=null)}}else E=!1}var U;if(typeof g=="function")U=function(){g(I)};else if(typeof MessageChannel<"u"){var L=new MessageChannel,Q=L.port2;L.port1.onmessage=I,U=function(){Q.postMessage(null)}}else U=function(){b(I,0)};function z(k){P=k,E||(E=!0,U())}function B(k,R){T=b(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(){x||p||(x=!0,z(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 W=e.unstable_now();switch(typeof O=="object"&&O!==null?(O=O.delay,O=typeof O=="number"&&0<O?W+O:W):O=W,k){case 1:var $=-1;break;case 2:$=250;break;case 5:$=1073741823;break;case 4:$=1e4;break;default:$=5e3}
vendor: 4,614 bytes, lines 25-33
25return $=O+$,k={id:c++,callback:R,priorityLevel:k,startTime:O,expirationTime:$,sortIndex:-1},O>W?(k.sortIndex=O,t(u,k),n(l)===null&&k===n(u)&&(v?(m(T),T=-1):v=!0,B(S,O-W))):(k.sortIndex=$,t(l,k),x||p||(x=!0,z(C))),k},e.unstable_shouldYield=_,e.unstable_wrapCallback=function(k){var R=f;return function(){var O=f;f=R;try{return k.apply(this,arguments)}finally{f=O}}}})(hy);fy.exports=hy;var Fb=fy.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 Vb=w,ct=Fb;function M(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 py=new Set,Bs={};function Wr(e,t){Vi(e,t),Vi(e+"Capture",t)}function Vi(e,t){for(Bs[e]=t,e=0;e<t.length;e++)py.add(t[e])}var mn=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ju=Object.prototype.hasOwnProperty,_b=/^[: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]*$/,Ih={},Fh={};function Bb(e){return Ju.call(Fh,e)?!0:Ju.call(Ih,e)?!1:_b.test(e)?Fh[e]=!0:(Ih[e]=!0,!1)}function zb(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 $b(e,t,n,r){if(t===null||typeof t>"u"||zb(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 Ze(e,t,n,r,i,s,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=o}var Oe={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Oe[e]=new Ze(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Oe[t]=new Ze(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Oe[e]=new Ze(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Oe[e]=new Ze(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){Oe[e]=new Ze(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Oe[e]=new Ze(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Oe[e]=new Ze(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Oe[e]=new Ze(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Oe[e]=new Ze(e,5,!1,e.toLowerCase(),null,!1,!1)});var Vd=/[\-:]([a-z])/g;function _d(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(Vd,_d);Oe[t]=new Ze(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(Vd,_d);Oe[t]=new Ze(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(Vd,_d);Oe[t]=new Ze(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Oe[e]=new Ze(e,1,!1,e.toLowerCase(),null,!1,!1)});Oe.xlinkHref=new Ze("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Oe[e]=new Ze(e,1,!1,e.toLowerCase(),null,!0,!0)});function Bd(e,t,n,r){var i=Oe.hasOwnProperty(t)?Oe[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&($b(t,n,i,r)&&(n=null),r||i===null?Bb(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=n===null?i.type===3?!1:"":n:(t=i.attributeName,r=i.attributeNamespace,n===null?e.removeAttribute(t):(i=i.type,n=i===3||i===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var En=Vb.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Io=Symbol.for("react.element"),ii=Symbol.for("react.portal"),si=Symbol.for("react.fragment"),zd=Symbol.for("react.strict_mode"),ec=Symbol.for("react.profiler"),my=Symbol.for("react.provider"),gy=Symbol.for("react.context"),$d=Symbol.for("react.forward_ref"),tc=Symbol.for("react.suspense"),nc=Symbol.for("react.suspense_list"),Ud=Symbol.for("react.memo"),Fn=Symbol.for("react.lazy"),yy=Symbol.for("react.offscreen"),Vh=Symbol.iterator;function us(e){return e===null||typeof e!="object"?null:(e=Vh&&e[Vh]||e["@@iterator"],typeof e=="function"?e:null)}var ge=Object.assign,tu;function ws(e){if(tu===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);tu=t&&t[1]||""}return`
34`+tu+e}var nu=!1;function ru(e,t){if(!e||nu)return"";nu=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
35`),s=r.stack.split(`
36`),o=i.length-1,a=s.length-1;1<=o&&0<=a&&i[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(i[o]!==s[a]){if(o!==1||a!==1)do if(o--,a--,0>a||i[o]!==s[a]){var l=`
37`+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=o&&0<=a);break}}}finally{nu=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?ws(e):""}function Ub(e){switch(e.tag){case 5:return ws(e.type);case 16:return ws("Lazy");case 13:return ws("Suspense");case 19:return ws("SuspenseList");case 0:case 2:case 15:return e=ru(e.type,!1),e;case 11:return e=ru(e.type.render,!1),e;case 1:return e=ru(e.type,!0),e;default:return""}}function rc(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 si:return"Fragment";case ii:return"Portal";case ec:return"Profiler";case zd:return"StrictMode";case tc:return"Suspense";case nc:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case gy:return(e.displayName||"Context")+".Consumer";case my:return(e._context.displayName||"Context")+".Provider";case $d:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ud:return t=e.displayName||null,t!==null?t:rc(e.type)||"Memo";case Fn:t=e._payload,e=e._init;try{return rc(e(t))}catch{}}return null}function Wb(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 rc(t);case 8:return t===zd?"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 sr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function vy(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Hb(e){var t=vy(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,s=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(o){r=""+o,s.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Fo(e){e._valueTracker||(e._valueTracker=Hb(e))}function xy(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=vy(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Na(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 ic(e,t){var n=t.checked;return ge({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function _h(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=sr(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 wy(e,t){t=t.checked,t!=null&&Bd(e,"checked",t,!1)}function sc(e,t){wy(e,t);var n=sr(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")?oc(e,t.type,n):t.hasOwnProperty("defaultValue")&&oc(e,t.type,sr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Bh(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 oc(e,t,n){(t!=="number"||Na(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var bs=Array.isArray;function bi(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+sr(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function ac(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(M(91));return ge({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function zh(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(M(92));if(bs(n)){if(1<n.length)throw Error(M(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:sr(n)}}function by(e,t){var n=sr(t.value),r=sr(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 $h(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Sy(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 lc(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Sy(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Vo,Cy=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,i){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,i)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Vo=Vo||document.createElement("div"),Vo.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Vo.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function zs(e,t){if(t){var n=e.firstChild;
vendor: 10,020 bytes, line 37
37if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Ps={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},Kb=["Webkit","ms","Moz","O"];Object.keys(Ps).forEach(function(e){Kb.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Ps[t]=Ps[e]})});function Ey(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Ps.hasOwnProperty(e)&&Ps[e]?(""+t).trim():t+"px"}function Ty(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,i=Ey(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}var Gb=ge({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 uc(e,t){if(t){if(Gb[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(M(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(M(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(M(61))}if(t.style!=null&&typeof t.style!="object")throw Error(M(62))}}function cc(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 dc=null;function Wd(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var fc=null,Si=null,Ci=null;function Uh(e){if(e=wo(e)){if(typeof fc!="function")throw Error(M(280));var t=e.stateNode;t&&(t=xl(t),fc(e.stateNode,e.type,t))}}function Py(e){Si?Ci?Ci.push(e):Ci=[e]:Si=e}function ky(){if(Si){var e=Si,t=Ci;if(Ci=Si=null,Uh(e),t)for(e=0;e<t.length;e++)Uh(t[e])}}function Ny(e,t){return e(t)}function Ry(){}var iu=!1;function jy(e,t,n){if(iu)return e(t,n);iu=!0;try{return Ny(e,t,n)}finally{iu=!1,(Si!==null||Ci!==null)&&(Ry(),ky())}}function $s(e,t){var n=e.stateNode;if(n===null)return null;var r=xl(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(M(231,t,typeof n));return n}var hc=!1;if(mn)try{var cs={};Object.defineProperty(cs,"passive",{get:function(){hc=!0}}),window.addEventListener("test",cs,cs),window.removeEventListener("test",cs,cs)}catch{hc=!1}function Qb(e,t,n,r,i,s,o,a,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(c){this.onError(c)}}var ks=!1,Ra=null,ja=!1,pc=null,Yb={onError:function(e){ks=!0,Ra=e}};function qb(e,t,n,r,i,s,o,a,l){ks=!1,Ra=null,Qb.apply(Yb,arguments)}function Xb(e,t,n,r,i,s,o,a,l){if(qb.apply(this,arguments),ks){if(ks){var u=Ra;ks=!1,Ra=null}else throw Error(M(198));ja||(ja=!0,pc=u)}}function Hr(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 Ay(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(Hr(e)!==e)throw Error(M(188))}function Zb(e){var t=e.alternate;if(!t){if(t=Hr(e),t===null)throw Error(M(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(i===null)break;var s=i.alternate;if(s===null){if(r=i.return,r!==null){n=r;continue}break}if(i.child===s.child){for(s=i.child;s;){if(s===n)return Wh(i),e;if(s===r)return Wh(i),t;s=s.sibling}throw Error(M(188))}if(n.return!==r.return)n=i,r=s;else{for(var o=!1,a=i.child;a;){if(a===n){o=!0,n=i,r=s;break}if(a===r){o=!0,r=i,n=s;break}a=a.sibling}if(!o){for(a=s.child;a;){if(a===n){o=!0,n=s,r=i;break}if(a===r){o=!0,r=s,n=i;break}a=a.sibling}if(!o)throw Error(M(189))}}if(n.alternate!==r)throw Error(M(190))}if(n.tag!==3)throw Error(M(188));return n.stateNode.current===n?e:t}function My(e){return e=Zb(e),e!==null?Dy(e):null}function Dy(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Dy(e);if(t!==null)return t;e=e.sibling}return null}var Ly=ct.unstable_scheduleCallback,Hh=ct.unstable_cancelCallback,Jb=ct.unstable_shouldYield,eS=ct.unstable_requestPaint,we=ct.unstable_now,tS=ct.unstable_getCurrentPriorityLevel,Hd=ct.unstable_ImmediatePriority,Oy=ct.unstable_UserBlockingPriority,Aa=ct.unstable_NormalPriority,nS=ct.unstable_LowPriority,Iy=ct.unstable_IdlePriority,ml=null,en=null;function rS(e){if(en&&typeof en.onCommitFiberRoot=="function")try{en.onCommitFiberRoot(ml,e,void 0,(e.current.flags&128)===128)}catch{}}var _t=Math.clz32?Math.clz32:oS,iS=Math.log,sS=Math.LN2;function oS(e){return e>>>=0,e===0?32:31-(iS(e)/sS|0)|0}var _o=64,Bo=4194304;function Ss(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 Ma(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,i=e.suspendedLanes,s=e.pingedLanes,o=n&268435455;if(o!==0){var a=o&~i;a!==0?r=Ss(a):(s&=o,s!==0&&(r=Ss(s)))}else o=n&~i,o!==0?r=Ss(o):s!==0&&(r=Ss(s));if(r===0)return 0;if(t!==0&&t!==r&&!(t&i)&&(i=r&-r,s=t&-t,i>=s||i===16&&(s&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-_t(t),i=1<<n,r|=e[n],t&=~i;return r}function aS(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 lS(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var o=31-_t(s),a=1<<o,l=i[o];l===-1?(!(a&n)||a&r)&&(i[o]=aS(a,t)):l<=t&&(e.expiredLanes|=a),s&=~a}}function mc(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Fy(){var e=_o;return _o<<=1,!(_o&4194240)&&(_o=64),e}function su(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vo(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-_t(t),e[t]=n}function uS(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-_t(n),s=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~s}}function Kd(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-_t(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var ne=0;function Vy(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var _y,Gd,By,zy,$y,gc=!1,zo=[],qn=null,Xn=null,Zn=null,Us=new Map,Ws=new Map,_n=[],cS="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 Kh(e,t){switch(e){case"focusin":case"focusout":qn=null;break;case"dragenter":case"dragleave":Xn=null;break;case"mouseover":case"mouseout":Zn=null;break;case"pointerover":case"pointerout":Us.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ws.delete(t.pointerId)}}function ds(e,t,n,r,i,s){return e===null||e.nativeEvent!==s?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:s,targetContainers:[i]},t!==null&&(t=wo(t),t!==null&&Gd(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,i!==null&&t.indexOf(i)===-1&&t.push(i),e)}function dS(e,t,n,r,i){switch(t){case"focusin":return qn=ds(qn,e,t,n,r,i),!0;case"dragenter":return Xn=ds(Xn,e,t,n,r,i),!0;case"mouseover":return Zn=ds(Zn,e,t,n,r,i),!0;case"pointerover":var s=i.pointerId;return Us.set(s,ds(Us.get(s)||null,e,t,n,r,i)),!0;case"gotpointercapture":return s=i.pointerId,Ws.set(s,ds(Ws.get(s)||null,e,t,n,r,i)),!0}return!1}function Uy(e){var t=Cr(e.target);if(t!==null){var n=Hr(t);if(n!==null){if(t=n.tag,t===13){if(t=Ay(n),t!==null){e.blockedOn=t,$y(e.priority,function(){By(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 ua(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=yc(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);dc=r,n.target.dispatchEvent(r),dc=null}else return t=wo(n),t!==null&&Gd(t),e.blockedOn=n,!1;t.shift()}return!0}function Gh(e,t,n){ua(e)&&n.delete(t)}function fS(){gc=!1,qn!==null&&ua(qn)&&(qn=null),Xn!==null&&ua(Xn)&&(Xn=null),Zn!==null&&ua(Zn)&&(Zn=null),Us.forEach(Gh),Ws.forEac
vendor: 11,506 bytes, line 37
37h(Gh)}function fs(e,t){e.blockedOn===t&&(e.blockedOn=null,gc||(gc=!0,ct.unstable_scheduleCallback(ct.unstable_NormalPriority,fS)))}function Hs(e){function t(i){return fs(i,e)}if(0<zo.length){fs(zo[0],e);for(var n=1;n<zo.length;n++){var r=zo[n];r.blockedOn===e&&(r.blockedOn=null)}}for(qn!==null&&fs(qn,e),Xn!==null&&fs(Xn,e),Zn!==null&&fs(Zn,e),Us.forEach(t),Ws.forEach(t),n=0;n<_n.length;n++)r=_n[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<_n.length&&(n=_n[0],n.blockedOn===null);)Uy(n),n.blockedOn===null&&_n.shift()}var Ei=En.ReactCurrentBatchConfig,Da=!0;function hS(e,t,n,r){var i=ne,s=Ei.transition;Ei.transition=null;try{ne=1,Qd(e,t,n,r)}finally{ne=i,Ei.transition=s}}function pS(e,t,n,r){var i=ne,s=Ei.transition;Ei.transition=null;try{ne=4,Qd(e,t,n,r)}finally{ne=i,Ei.transition=s}}function Qd(e,t,n,r){if(Da){var i=yc(e,t,n,r);if(i===null)mu(e,t,r,La,n),Kh(e,r);else if(dS(i,e,t,n,r))r.stopPropagation();else if(Kh(e,r),t&4&&-1<cS.indexOf(e)){for(;i!==null;){var s=wo(i);if(s!==null&&_y(s),s=yc(e,t,n,r),s===null&&mu(e,t,r,La,n),s===i)break;i=s}i!==null&&r.stopPropagation()}else mu(e,t,r,null,n)}}var La=null;function yc(e,t,n,r){if(La=null,e=Wd(r),e=Cr(e),e!==null)if(t=Hr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Ay(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 La=e,null}function Wy(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(tS()){case Hd:return 1;case Oy:return 4;case Aa:case nS:return 16;case Iy:return 536870912;default:return 16}default:return 16}}var Kn=null,Yd=null,ca=null;function Hy(){if(ca)return ca;var e,t=Yd,n=t.length,r,i="value"in Kn?Kn.value:Kn.textContent,s=i.length;for(e=0;e<n&&t[e]===i[e];e++);var o=n-e;for(r=1;r<=o&&t[n-r]===i[s-r];r++);return ca=i.slice(e,1<r?1-r:void 0)}function da(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 $o(){return!0}function Qh(){return!1}function ft(e){function t(n,r,i,s,o){this._reactName=n,this._targetInst=i,this.type=r,this.nativeEvent=s,this.target=o,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(s):s[a]);return this.isDefaultPrevented=(s.defaultPrevented!=null?s.defaultPrevented:s.returnValue===!1)?$o:Qh,this.isPropagationStopped=Qh,this}return ge(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=$o)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=$o)},persist:function(){},isPersistent:$o}),t}var Xi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qd=ft(Xi),xo=ge({},Xi,{view:0,detail:0}),mS=ft(xo),ou,au,hs,gl=ge({},xo,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Xd,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!==hs&&(hs&&e.type==="mousemove"?(ou=e.screenX-hs.screenX,au=e.screenY-hs.screenY):au=ou=0,hs=e),ou)},movementY:function(e){return"movementY"in e?e.movementY:au}}),Yh=ft(gl),gS=ge({},gl,{dataTransfer:0}),yS=ft(gS),vS=ge({},xo,{relatedTarget:0}),lu=ft(vS),xS=ge({},Xi,{animationName:0,elapsedTime:0,pseudoElement:0}),wS=ft(xS),bS=ge({},Xi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),SS=ft(bS),CS=ge({},Xi,{data:0}),qh=ft(CS),ES={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},TS={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"},PS={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kS(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=PS[e])?!!t[e]:!1}function Xd(){return kS}var NS=ge({},xo,{key:function(e){if(e.key){var t=ES[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=da(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?TS[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Xd,charCode:function(e){return e.type==="keypress"?da(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?da(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),RS=ft(NS),jS=ge({},gl,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Xh=ft(jS),AS=ge({},xo,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Xd}),MS=ft(AS),DS=ge({},Xi,{propertyName:0,elapsedTime:0,pseudoElement:0}),LS=ft(DS),OS=ge({},gl,{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}),IS=ft(OS),FS=[9,13,27,32],Zd=mn&&"CompositionEvent"in window,Ns=null;mn&&"documentMode"in document&&(Ns=document.documentMode);var VS=mn&&"TextEvent"in window&&!Ns,Ky=mn&&(!Zd||Ns&&8<Ns&&11>=Ns),Zh=" ",Jh=!1;function Gy(e,t){switch(e){case"keyup":return FS.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Qy(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var oi=!1;function _S(e,t){switch(e){case"compositionend":return Qy(t);case"keypress":return t.which!==32?null:(Jh=!0,Zh);case"textInput":return e=t.data,e===Zh&&Jh?null:e;default:return null}}function BS(e,t){if(oi)return e==="compositionend"||!Zd&&Gy(e,t)?(e=Hy(),ca=Yd=Kn=null,oi=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Ky&&t.locale!=="ko"?null:t.data;default:return null}}var zS={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 ep(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!zS[e.type]:t==="textarea"}function Yy(e,t,n,r){Py(r),t=Oa(t,"onChange"),0<t.length&&(n=new qd("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Rs=null,Ks=null;function $S(e){ov(e,0)}function yl(e){var t=ui(e);if(xy(t))return e}function US(e,t){if(e==="change")return t}var qy=!1;if(mn){var uu;if(mn){var cu="oninput"in document;if(!cu){var tp=document.createElement("div");tp.setAttribute("oninput","return;"),cu=typeof tp.oninput=="function"}uu=cu}else uu=!1;qy=uu&&(!document.documentMode||9<document.documentMode)}function np(){Rs&&(Rs.detachEvent("onpropertychange",Xy),Ks=Rs=null)}function Xy(e){if(e.propertyName==="value"&&yl(Ks)){var t=[];Yy(t,Ks,e,Wd(e)),jy($S,t)}}function WS(e,t,n){e==="focusin"?(np(),Rs=t,Ks=n,Rs.attachEvent("onpropertychange",Xy)):e==="focusout"&&np()}function HS(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return yl(Ks)}function KS(e,t){if(e==="click")return yl(t)}function GS(e,t){if(e==="input"||e==="change")return yl(t)}function QS(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var $t=typeof Object.is=="function"?Object.is:QS;function Gs(e,t){if($t(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!Ju.call(t,i)||!$t(e[i],t[i]))return!1}return!0}function rp(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ip(e,t){var n=rp(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=rp(n)}}function Zy(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zy(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Jy(){for(var e=window,t=Na();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Na(e.document)}return t}function Jd(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 YS(e){var t=Jy(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zy(n.ownerDocument.documentElement,n)){if(r!==null&&Jd(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var i=n.textContent.length,s=Math.min(r.start,i);r=r.end===void 0?s:Math.min(r.end,i),!e.extend&&s>r&&(i=r,r=s,s=i),i=ip(n,s);var o=ip(n,r);i&&o&&(e.rangeCount!==1||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(i.node,i.offset),e.removeAllRanges(),s>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.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 qS=mn&&"documentMode"in document&&11>=document.documentMode,ai=null,vc=null,js=null,xc=!1;
vendor: 4,821 bytes, line 37
37function sp(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xc||ai==null||ai!==Na(r)||(r=ai,"selectionStart"in r&&Jd(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}),js&&Gs(js,r)||(js=r,r=Oa(vc,"onSelect"),0<r.length&&(t=new qd("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=ai)))}function Uo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var li={animationend:Uo("Animation","AnimationEnd"),animationiteration:Uo("Animation","AnimationIteration"),animationstart:Uo("Animation","AnimationStart"),transitionend:Uo("Transition","TransitionEnd")},du={},ev={};mn&&(ev=document.createElement("div").style,"AnimationEvent"in window||(delete li.animationend.animation,delete li.animationiteration.animation,delete li.animationstart.animation),"TransitionEvent"in window||delete li.transitionend.transition);function vl(e){if(du[e])return du[e];if(!li[e])return e;var t=li[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in ev)return du[e]=t[n];return e}var tv=vl("animationend"),nv=vl("animationiteration"),rv=vl("animationstart"),iv=vl("transitionend"),sv=new Map,op="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 fr(e,t){sv.set(e,t),Wr(t,[e])}for(var fu=0;fu<op.length;fu++){var hu=op[fu],XS=hu.toLowerCase(),ZS=hu[0].toUpperCase()+hu.slice(1);fr(XS,"on"+ZS)}fr(tv,"onAnimationEnd");fr(nv,"onAnimationIteration");fr(rv,"onAnimationStart");fr("dblclick","onDoubleClick");fr("focusin","onFocus");fr("focusout","onBlur");fr(iv,"onTransitionEnd");Vi("onMouseEnter",["mouseout","mouseover"]);Vi("onMouseLeave",["mouseout","mouseover"]);Vi("onPointerEnter",["pointerout","pointerover"]);Vi("onPointerLeave",["pointerout","pointerover"]);Wr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Wr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Wr("onBeforeInput",["compositionend","keypress","textInput","paste"]);Wr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Wr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Wr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Cs="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(" "),JS=new Set("cancel close invalid load scroll toggle".split(" ").concat(Cs));function ap(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Xb(r,t,void 0,e),e.currentTarget=null}function ov(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var s=void 0;if(t)for(var o=r.length-1;0<=o;o--){var a=r[o],l=a.instance,u=a.currentTarget;if(a=a.listener,l!==s&&i.isPropagationStopped())break e;ap(i,a,u),s=l}else for(o=0;o<r.length;o++){if(a=r[o],l=a.instance,u=a.currentTarget,a=a.listener,l!==s&&i.isPropagationStopped())break e;ap(i,a,u),s=l}}}if(ja)throw e=pc,ja=!1,pc=null,e}function le(e,t){var n=t[Ec];n===void 0&&(n=t[Ec]=new Set);var r=e+"__bubble";n.has(r)||(av(t,e,2,!1),n.add(r))}function pu(e,t,n){var r=0;t&&(r|=4),av(n,e,r,t)}var Wo="_reactListening"+Math.random().toString(36).slice(2);function Qs(e){if(!e[Wo]){e[Wo]=!0,py.forEach(function(n){n!=="selectionchange"&&(JS.has(n)||pu(n,!1,e),pu(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Wo]||(t[Wo]=!0,pu("selectionchange",!1,t))}}function av(e,t,n,r){switch(Wy(t)){case 1:var i=hS;break;case 4:i=pS;break;default:i=Qd}n=i.bind(null,t,n,e),i=void 0,!hc||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(i=!0),r?i!==void 0?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):i!==void 0?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function mu(e,t,n,r,i){var s=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var o=r.tag;if(o===3||o===4){var a=r.stateNode.containerInfo;
vendor: 3,743 bytes, line 37
37if(a===i||a.nodeType===8&&a.parentNode===i)break;if(o===4)for(o=r.return;o!==null;){var l=o.tag;if((l===3||l===4)&&(l=o.stateNode.containerInfo,l===i||l.nodeType===8&&l.parentNode===i))return;o=o.return}for(;a!==null;){if(o=Cr(a),o===null)return;if(l=o.tag,l===5||l===6){r=s=o;continue e}a=a.parentNode}}r=r.return}jy(function(){var u=s,c=Wd(n),d=[];e:{var f=sv.get(e);if(f!==void 0){var p=qd,x=e;switch(e){case"keypress":if(da(n)===0)break e;case"keydown":case"keyup":p=RS;break;case"focusin":x="focus",p=lu;break;case"focusout":x="blur",p=lu;break;case"beforeblur":case"afterblur":p=lu;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=Yh;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=yS;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=MS;break;case tv:case nv:case rv:p=wS;break;case iv:p=LS;break;case"scroll":p=mS;break;case"wheel":p=IS;break;case"copy":case"cut":case"paste":p=SS;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=Xh}var v=(t&4)!==0,b=!v&&e==="scroll",m=v?f!==null?f+"Capture":null:f;v=[];for(var g=u,y;g!==null;){y=g;var S=y.stateNode;if(y.tag===5&&S!==null&&(y=S,m!==null&&(S=$s(g,m),S!=null&&v.push(Ys(g,S,y)))),b)break;g=g.return}0<v.length&&(f=new p(f,x,null,n,c),d.push({event:f,listeners:v}))}}if(!(t&7)){e:{if(f=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",f&&n!==dc&&(x=n.relatedTarget||n.fromElement)&&(Cr(x)||x[gn]))break e;if((p||f)&&(f=c.window===c?c:(f=c.ownerDocument)?f.defaultView||f.parentWindow:window,p?(x=n.relatedTarget||n.toElement,p=u,x=x?Cr(x):null,x!==null&&(b=Hr(x),x!==b||x.tag!==5&&x.tag!==6)&&(x=null)):(p=null,x=u),p!==x)){if(v=Yh,S="onMouseLeave",m="onMouseEnter",g="mouse",(e==="pointerout"||e==="pointerover")&&(v=Xh,S="onPointerLeave",m="onPointerEnter",g="pointer"),b=p==null?f:ui(p),y=x==null?f:ui(x),f=new v(S,g+"leave",p,n,c),f.target=b,f.relatedTarget=y,S=null,Cr(c)===u&&(v=new v(m,g+"enter",x,n,c),v.target=y,v.relatedTarget=b,S=v),b=S,p&&x)t:{for(v=p,m=x,g=0,y=v;y;y=ti(y))g++;for(y=0,S=m;S;S=ti(S))y++;for(;0<g-y;)v=ti(v),g--;for(;0<y-g;)m=ti(m),y--;for(;g--;){if(v===m||m!==null&&v===m.alternate)break t;v=ti(v),m=ti(m)}v=null}else v=null;p!==null&&lp(d,f,p,v,!1),x!==null&&b!==null&&lp(d,b,x,v,!0)}}e:{if(f=u?ui(u):window,p=f.nodeName&&f.nodeName.toLowerCase(),p==="select"||p==="input"&&f.type==="file")var C=US;else if(ep(f))if(qy)C=GS;else{C=HS;var E=WS}else(p=f.nodeName)&&p.toLowerCase()==="input"&&(f.type==="checkbox"||f.type==="radio")&&(C=KS);if(C&&(C=C(e,u))){Yy(d,C,n,c);break e}E&&E(e,f,u),e==="focusout"&&(E=f._wrapperState)&&E.controlled&&f.type==="number"&&oc(f,"number",f.value)}switch(E=u?ui(u):window,e){case"focusin":(ep(E)||E.contentEditable==="true")&&(ai=E,vc=u,js=null);break;case"focusout":js=vc=ai=null;break;case"mousedown":xc=!0;break;case"contextmenu":case"mouseup":case"dragend":xc=!1,sp(d,n,c);break;case"selectionchange":if(qS)break;case"keydown":case"keyup":sp(d,n,c)}var P;if(Zd)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 oi?Gy(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Ky&&n.locale!=="ko"&&(oi||T!=="onCompositionStart"?T==="onCompositionEnd"&&oi&&(P=Hy()):(Kn=c,Yd="value"in Kn?Kn.value:Kn.textContent,oi=!0)),E=Oa(u,T),0<E.length&&(T=new qh(T,e,null,n,c),d.push({event:T,listeners:E}
vendor: 4,845 bytes, lines 37-38
37),P?T.data=P:(P=Qy(n),P!==null&&(T.data=P)))),(P=VS?_S(e,n):BS(e,n))&&(u=Oa(u,"onBeforeInput"),0<u.length&&(c=new qh("onBeforeInput","beforeinput",null,n,c),d.push({event:c,listeners:u}),c.data=P))}ov(d,t)})}function Ys(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Oa(e,t){for(var n=t+"Capture",r=[];e!==null;){var i=e,s=i.stateNode;i.tag===5&&s!==null&&(i=s,s=$s(e,n),s!=null&&r.unshift(Ys(e,s,i)),s=$s(e,t),s!=null&&r.push(Ys(e,s,i))),e=e.return}return r}function ti(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function lp(e,t,n,r,i){for(var s=t._reactName,o=[];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,i?(l=$s(n,s),l!=null&&o.unshift(Ys(n,l,a))):i||(l=$s(n,s),l!=null&&o.push(Ys(n,l,a)))),n=n.return}o.length!==0&&e.push({event:t,listeners:o})}var eC=/\r\n?/g,tC=/\u0000|\uFFFD/g;function up(e){return(typeof e=="string"?e:""+e).replace(eC,`
38`).replace(tC,"")}function Ho(e,t,n){if(t=up(t),up(e)!==t&&n)throw Error(M(425))}function Ia(){}var wc=null,bc=null;function Sc(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 Cc=typeof setTimeout=="function"?setTimeout:void 0,nC=typeof clearTimeout=="function"?clearTimeout:void 0,cp=typeof Promise=="function"?Promise:void 0,rC=typeof queueMicrotask=="function"?queueMicrotask:typeof cp<"u"?function(e){return cp.resolve(null).then(e).catch(iC)}:Cc;function iC(e){setTimeout(function(){throw e})}function gu(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),Hs(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);Hs(t)}function Jn(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 dp(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 Zi=Math.random().toString(36).slice(2),Xt="__reactFiber$"+Zi,qs="__reactProps$"+Zi,gn="__reactContainer$"+Zi,Ec="__reactEvents$"+Zi,sC="__reactListeners$"+Zi,oC="__reactHandles$"+Zi;function Cr(e){var t=e[Xt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[gn]||n[Xt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=dp(e);e!==null;){if(n=e[Xt])return n;e=dp(e)}return t}e=n,n=e.parentNode}return null}function wo(e){return e=e[Xt]||e[gn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function ui(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function xl(e){return e[qs]||null}var Tc=[],ci=-1;function hr(e){return{current:e}}function ue(e){0>ci||(e.current=Tc[ci],Tc[ci]=null,ci--)}function se(e,t){ci++,Tc[ci]=e.current,e.current=t}var or={},We=hr(or),nt=hr(!1),Vr=or;function _i(e,t){var n=e.type.contextTypes;if(!n)return or;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},s;for(s in n)i[s]=t[s];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function rt(e){return e=e.childContextTypes,e!=null}function Fa(){ue(nt),ue(We)}function fp(e,t,n){if(We.current!==or)throw Error(M(168));se(We,t),se(nt,n)}function lv(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(M(108,Wb(e)||"Unknown",i));return ge({},n,r)}function Va(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||or,Vr=We.current,se(We,e),se(nt,nt.current),!0}function hp(e,t,n){var r=e.stateNode;if(!r)throw Error(M(169));n?(e=lv(e,t,Vr),r.__reactInternalMemoizedMergedChildContext=e,ue(nt),ue(We),se(We,e)):ue(nt),se(nt,n)}var cn=null,wl=!1,yu=!1;function uv(e){cn===null?cn=[e]:cn.push(e)}function aC(e){wl=!0,uv(e)}function pr(){if(!yu&&cn!==null){yu=!0;var e=0,t=ne;try{var n=cn;for(ne=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}cn=null,wl=!1}catch(i){throw cn!==null&&(cn=cn.slice(e+1)),Ly(Hd,pr),i}finally{ne=t,yu=!1}}return null}var di=[],fi=0,_a=null,Ba=0,mt=[],gt=0,_r=null,fn=1,hn="";function wr(e,t){di[fi++]=Ba,di[fi++]=_a,_a=e,Ba=t}function cv(e,t,n){mt[gt++]=fn,mt[gt++]=hn,mt[gt++]=_r,_r=e;var r=fn;e=hn;var i=32-_t(r)-1;r&=~(1<<i),n+=1;var s=32-_t(t)+i;if(30<s){var o=i-i%5;s=(r&(1<<o)-1).toString(32),r>>=o,i-=o,fn=1<<32-_t(t)+i|n<<i|r,hn=s+e}else fn=1<<s|n<<i|r,hn=e}function ef(e){e.return!==null&&(wr(e,1),cv(e,1,0))}function tf(e){for(;e===_a;)_a=di[--fi],di[fi]=null,Ba=di[--fi],di[fi]=null;for(;e===_r;
vendor: 24,915 bytes, lines 38-40
38)_r=mt[--gt],mt[gt]=null,hn=mt[--gt],mt[gt]=null,fn=mt[--gt],mt[gt]=null}var lt=null,at=null,de=!1,Ft=null;function dv(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 pp(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,lt=e,at=Jn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,lt=e,at=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=_r!==null?{id:fn,overflow:hn}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=yt(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,lt=e,at=null,!0):!1;default:return!1}}function Pc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function kc(e){if(de){var t=at;if(t){var n=t;if(!pp(e,t)){if(Pc(e))throw Error(M(418));t=Jn(n.nextSibling);var r=lt;t&&pp(e,t)?dv(r,n):(e.flags=e.flags&-4097|2,de=!1,lt=e)}}else{if(Pc(e))throw Error(M(418));e.flags=e.flags&-4097|2,de=!1,lt=e}}}function mp(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;lt=e}function Ko(e){if(e!==lt)return!1;if(!de)return mp(e),de=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Sc(e.type,e.memoizedProps)),t&&(t=at)){if(Pc(e))throw fv(),Error(M(418));for(;t;)dv(e,t),t=Jn(t.nextSibling)}if(mp(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(M(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){at=Jn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}at=null}}else at=lt?Jn(e.stateNode.nextSibling):null;return!0}function fv(){for(var e=at;e;)e=Jn(e.nextSibling)}function Bi(){at=lt=null,de=!1}function nf(e){Ft===null?Ft=[e]:Ft.push(e)}var lC=En.ReactCurrentBatchConfig;function ps(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(M(309));var r=n.stateNode}if(!r)throw Error(M(147,e));var i=r,s=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===s?t.ref:(t=function(o){var a=i.refs;o===null?delete a[s]:a[s]=o},t._stringRef=s,t)}if(typeof e!="string")throw Error(M(284));if(!n._owner)throw Error(M(290,e))}return e}function Go(e,t){throw e=Object.prototype.toString.call(t),Error(M(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function gp(e){var t=e._init;return t(e._payload)}function hv(e){function t(m,g){if(e){var y=m.deletions;y===null?(m.deletions=[g],m.flags|=16):y.push(g)}}function n(m,g){if(!e)return null;for(;g!==null;)t(m,g),g=g.sibling;return null}function r(m,g){for(m=new Map;g!==null;)g.key!==null?m.set(g.key,g):m.set(g.index,g),g=g.sibling;return m}function i(m,g){return m=rr(m,g),m.index=0,m.sibling=null,m}function s(m,g,y){return m.index=y,e?(y=m.alternate,y!==null?(y=y.index,y<g?(m.flags|=2,g):y):(m.flags|=2,g)):(m.flags|=1048576,g)}function o(m){return e&&m.alternate===null&&(m.flags|=2),m}function a(m,g,y,S){return g===null||g.tag!==6?(g=Eu(y,m.mode,S),g.return=m,g):(g=i(g,y),g.return=m,g)}function l(m,g,y,S){var C=y.type;return C===si?c(m,g,y.props.children,S,y.key):g!==null&&(g.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Fn&&gp(C)===g.type)?(S=i(g,y.props),S.ref=ps(m,g,y),S.return=m,S):(S=va(y.type,y.key,y.props,null,m.mode,S),S.ref=ps(m,g,y),S.return=m,S)}function u(m,g,y,S){return g===null||g.tag!==4||g.stateNode.containerInfo!==y.containerInfo||g.stateNode.implementation!==y.implementation?(g=Tu(y,m.mode,S),g.return=m,g):(g=i(g,y.children||[]),g.return=m,g)}function c(m,g,y,S,C){return g===null||g.tag!==7?(g=Or(y,m.mode,S,C),g.return=m,g):(g=i(g,y),g.return=m,g)}function d(m,g,y){if(typeof g=="string"&&g!==""||typeof g=="number")return g=Eu(""+g,m.mode,y),g.return=m,g;if(typeof g=="object"&&g!==null){switch(g.$$typeof){case Io:return y=va(g.type,g.key,g.props,null,m.mode,y),y.ref=ps(m,null,g),y.return=m,y;case ii:return g=Tu(g,m.mode,y),g.return=m,g;case Fn:var S=g._init;return d(m,S(g._payload),y)}if(bs(g)||us(g))return g=Or(g,m.mode,y,null),g.return=m,g;Go(m,g)}return null}function f(m,g,y,S){var C=g!==null?g.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return C!==null?null:a(m,g,""+y,S);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Io:return y.key===C?l(m,g,y,S):null;case ii:return y.key===C?u(m,g,y,S):null;case Fn:return C=y._init,f(m,g,C(y._payload),S)}if(bs(y)||us(y))return C!==null?null:c(m,g,y,S,null);Go(m,y)}return null}function p(m,g,y,S,C){if(typeof S=="string"&&S!==""||typeof S=="number")return m=m.get(y)||null,a(g,m,""+S,C);if(typeof S=="object"&&S!==null){switch(S.$$typeof){case Io:return m=m.get(S.key===null?y:S.key)||null,l(g,m,S,C);case ii:return m=m.get(S.key===null?y:S.key)||null,u(g,m,S,C);case Fn:var E=S._init;return p(m,g,y,E(S._payload),C)}if(bs(S)||us(S))return m=m.get(y)||null,c(g,m,S,C,null);Go(g,S)}return null}function x(m,g,y,S){for(var C=null,E=null,P=g,T=g=0,j=null;P!==null&&T<y.length;T++){P.index>T?(j=P,P=null):j=P.sibling;var A=f(m,P,y[T],S);if(A===null){P===null&&(P=j);break}e&&P&&A.alternate===null&&t(m,P),g=s(A,g,T),E===null?C=A:E.sibling=A,E=A,P=j}if(T===y.length)return n(m,P),de&&wr(m,T),C;if(P===null){for(;T<y.length;T++)P=d(m,y[T],S),P!==null&&(g=s(P,g,T),E===null?C=P:E.sibling=P,E=P);return de&&wr(m,T),C}for(P=r(m,P);T<y.length;T++)j=p(P,m,T,y[T],S),j!==null&&(e&&j.alternate!==null&&P.delete(j.key===null?T:j.key),g=s(j,g,T),E===null?C=j:E.sibling=j,E=j);return e&&P.forEach(function(_){return t(m,_)}),de&&wr(m,T),C}function v(m,g,y,S){var C=us(y);if(typeof C!="function")throw Error(M(150));if(y=C.call(y),y==null)throw Error(M(151));for(var E=C=null,P=g,T=g=0,j=null,A=y.next();P!==null&&!A.done;T++,A=y.next()){P.index>T?(j=P,P=null):j=P.sibling;var _=f(m,P,A.value,S);if(_===null){P===null&&(P=j);break}e&&P&&_.alternate===null&&t(m,P),g=s(_,g,T),E===null?C=_:E.sibling=_,E=_,P=j}if(A.done)return n(m,P),de&&wr(m,T),C;if(P===null){for(;!A.done;T++,A=y.next())A=d(m,A.value,S),A!==null&&(g=s(A,g,T),E===null?C=A:E.sibling=A,E=A);return de&&wr(m,T),C}for(P=r(m,P);!A.done;T++,A=y.next())A=p(P,m,T,A.value,S),A!==null&&(e&&A.alternate!==null&&P.delete(A.key===null?T:A.key),g=s(A,g,T),E===null?C=A:E.sibling=A,E=A);return e&&P.forEach(function(I){return t(m,I)}),de&&wr(m,T),C}function b(m,g,y,S){if(typeof y=="object"&&y!==null&&y.type===si&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Io:e:{for(var C=y.key,E=g;E!==null;){if(E.key===C){if(C=y.type,C===si){if(E.tag===7){n(m,E.sibling),g=i(E,y.props.children),g.return=m,m=g;break e}}else if(E.elementType===C||typeof C=="object"&&C!==null&&C.$$typeof===Fn&&gp(C)===E.type){n(m,E.sibling),g=i(E,y.props),g.ref=ps(m,E,y),g.return=m,m=g;break e}n(m,E);break}else t(m,E);E=E.sibling}y.type===si?(g=Or(y.props.children,m.mode,S,y.key),g.return=m,m=g):(S=va(y.type,y.key,y.props,null,m.mode,S),S.ref=ps(m,g,y),S.return=m,m=S)}return o(m);case ii:e:{for(E=y.key;g!==null;){if(g.key===E)if(g.tag===4&&g.stateNode.containerInfo===y.containerInfo&&g.stateNode.implementation===y.implementation){n(m,g.sibling),g=i(g,y.children||[]),g.return=m,m=g;break e}else{n(m,g);break}else t(m,g);g=g.sibling}g=Tu(y,m.mode,S),g.return=m,m=g}return o(m);case Fn:return E=y._init,b(m,g,E(y._payload),S)}if(bs(y))return x(m,g,y,S);if(us(y))return v(m,g,y,S);Go(m,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,g!==null&&g.tag===6?(n(m,g.sibling),g=i(g,y),g.return=m,m=g):(n(m,g),g=Eu(y,m.mode,S),g.return=m,m=g),o(m)):n(m,g)}return b}var zi=hv(!0),pv=hv(!1),za=hr(null),$a=null,hi=null,rf=null;function sf(){rf=hi=$a=null}function of(e){var t=za.current;ue(za),e._currentValue=t}function Nc(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 Ti(e,t){$a=e,rf=hi=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(tt=!0),e.firstContext=null)}function St(e){var t=e._currentValue;if(rf!==e)if(e={context:e,memoizedValue:t,next:null},hi===null){if($a===null)throw Error(M(308));hi=e,$a.dependencies={lanes:0,firstContext:e}}else hi=hi.next=e;return t}var Er=null;function af(e){Er===null?Er=[e]:Er.push(e)}function mv(e,t,n,r){var i=t.interleaved;return i===null?(n.next=n,af(t)):(n.next=i.next,i.next=n),t.interleaved=n,yn(e,r)}function yn(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 Vn=!1;function lf(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function gv(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 pn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function er(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,Z&2){var i=r.pending;return i===null?t.next=t:(t.next=i.next,i.next=t),r.pending=t,yn(e,n)}return i=r.interleaved,i===null?(t.next=t,af(r)):(t.next=i.next,i.next=t),r.interleaved=t,yn(e,n)}function fa(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,Kd(e,n)}}function yp(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var i=null,s=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};s===null?i=s=o:s=s.next=o,n=n.next}while(n!==null);s===null?i=s=t:s=s.next=t}else i=s=t;n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:s,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 Ua(e,t,n,r){var i=e.updateQueue;Vn=!1;var s=i.firstBaseUpdate,o=i.lastBaseUpdate,a=i.shared.pending;if(a!==null){i.shared.pending=null;var l=a,u=l.next;l.next=null,o===null?s=u:o.next=u,o=l;var c=e.alternate;c!==null&&(c=c.updateQueue,a=c.lastBaseUpdate,a!==o&&(a===null?c.firstBaseUpdate=u:a.next=u,c.lastBaseUpdate=l))}if(s!==null){var d=i.baseState;o=0,c=u=l=null,a=s;do{var f=a.lane,p=a.eventTime;if((r&f)===f){c!==null&&(c=c.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,v=a;switch(f=t,p=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){d=x.call(p,d,f);break e}d=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,f=typeof x=="function"?x.call(p,d,f):x,f==null)break e;d=ge({},d,f);break e;case 2:Vn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,f=i.effects,f===null?i.effects=[a]:f.push(a))}else p={eventTime:p,lane:f,tag:a.tag,payload:a.payload,callback:a.callback,next:null},c===null?(u=c=p,l=d):c=c.next=p,o|=f;if(a=a.next,a===null){if(a=i.shared.pending,a===null)break;f=a,a=f.next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}while(!0);if(c===null&&(l=d),i.baseState=l,i.firstBaseUpdate=u,i.lastBaseUpdate=c,t=i.shared.interleaved,t!==null){i=t;do o|=i.lane,i=i.next;while(i!==t)}else s===null&&(i.shared.lanes=0);zr|=o,e.lanes=o,e.memoizedState=d}}function vp(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(i!==null){if(r.callback=null,r=n,typeof i!="function")throw Error(M(191,i));i.call(r)}}}var bo={},tn=hr(bo),Xs=hr(bo),Zs=hr(bo);function Tr(e){if(e===bo)throw Error(M(174));return e}function uf(e,t){switch(se(Zs,t),se(Xs,e),se(tn,bo),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:lc(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=lc(t,e)}ue(tn),se(tn,t)}function $i(){ue(tn),ue(Xs),ue(Zs)}function yv(e){Tr(Zs.current);var t=Tr(tn.current),n=lc(t,e.type);t!==n&&(se(Xs,e),se(tn,n))}function cf(e){Xs.current===e&&(ue(tn),ue(Xs))}var he=hr(0);function Wa(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 vu=[];function df(){for(var e=0;e<vu.length;e++)vu[e]._workInProgressVersionPrimary=null;vu.length=0}var ha=En.ReactCurrentDispatcher,xu=En.ReactCurrentBatchConfig,Br=0,me=null,ke=null,Re=null,Ha=!1,As=!1,Js=0,uC=0;function Ve(){throw Error(M(321))}function ff(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!$t(e[n],t[n]))return!1;return!0}function hf(e,t,n,r,i,s){if(Br=s,me=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ha.current=e===null||e.memoizedState===null?hC:pC,e=n(r,i),As){s=0;do{if(As=!1,Js=0,25<=s)throw Error(M(301));s+=1,Re=ke=null,t.updateQueue=null,ha.current=mC,e=n(r,i)}while(As)}if(ha.current=Ka,t=ke!==null&&ke.next!==null,Br=0,Re=ke=me=null,Ha=!1,t)throw Error(M(300));return e}function pf(){var e=Js!==0;return Js=0,e}function Kt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Re===null?me.memoizedState=Re=e:Re=Re.next=e,Re}function Ct(){if(ke===null){var e=me.alternate;e=e!==null?e.memoizedState:null}else e=ke.next;var t=Re===null?me.memoizedState:Re.next;if(t!==null)Re=t,ke=e;else{if(e===null)throw Error(M(310));ke=e,e={memoizedState:ke.memoizedState,baseState:ke.baseState,baseQueue:ke.baseQueue,queue:ke.queue,next:null},Re===null?me.memoizedState=Re=e:Re=Re.next=e}return Re}function eo(e,t){return typeof t=="function"?t(e):t}function wu(e){var t=Ct(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=ke,i=r.baseQueue,s=n.pending;if(s!==null){if(i!==null){var o=i.next;i.next=s.next,s.next=o}r.baseQueue=i=s,n.pending=null}if(i!==null){s=i.next,r=r.baseState;var a=o=null,l=null,u=s;do{var c=u.lane;if((Br&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,o=r):l=l.next=d,me.lanes|=c,zr|=c}u=u.next}while(u!==null&&u!==s);l===null?o=r:l.next=a,$t(r,t.memoizedState)||(tt=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=l,n.lastRenderedState=r}if(e=n.interleaved,e!==null){i=e;do s=i.lane,me.lanes|=s,zr|=s,i=i.next;while(i!==e)}else i===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function bu(e){var t=Ct(),n=t.queue;if(n===null)throw Error(M(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,s=t.memoizedState;if(i!==null){n.pending=null;var o=i=i.next;do s=e(s,o.action),o=o.next;while(o!==i);$t(s,t.memoizedState)||(tt=!0),t.memoizedState=s,t.baseQueue===null&&(t.baseState=s),n.lastRenderedState=s}return[s,r]}function vv(){}function xv(e,t){var n=me,r=Ct(),i=t(),s=!$t(r.memoizedState,i);if(s&&(r.memoizedState=i,tt=!0),r=r.queue,mf(Sv.bind(null,n,r,e),[e]),r.getSnapshot!==t||s||Re!==null&&Re.memoizedState.tag&1){if(n.flags|=2048,to(9,bv.bind(null,n,r,i,t),void 0,null),je===null)throw Error(M(349));Br&30||wv(n,t,i)}return i}function wv(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function bv(e,t,n,r){t.value=n,t.getSnapshot=r,Cv(t)&&Ev(e)}function Sv(e,t,n){return n(function(){Cv(t)&&Ev(e)})}function Cv(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!$t(e,n)}catch{return!0}}function Ev(e){var t=yn(e,1);t!==null&&Bt(t,e,1,-1)}function xp(e){var t=Kt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:eo,lastRenderedState:e},t.queue=e,e=e.dispatch=fC.bind(null,me,e),[t.memoizedState,e]}function to(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=me.updateQueue,t===null?(t={lastEffect:null,stores:null},me.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 Tv(){return Ct().memoizedState}function pa(e,t,n,r){var i=Kt();me.flags|=e,i.memoizedState=to(1|t,n,void 0,r===void 0?null:r)}function bl(e,t,n,r){var i=Ct();r=r===void 0?null:r;var s=void 0;if(ke!==null){var o=ke.memoizedState;if(s=o.destroy,r!==null&&ff(r,o.deps)){i.memoizedState=to(t,n,s,r);return}}me.flags|=e,i.memoizedState=to(1|t,n,s,r)}function wp(e,t){return pa(8390656,8,e,t)}function mf(e,t){return bl(2048,8,e,t)}function Pv(e,t){return bl(4,2,e,t)}function kv(e,t){return bl(4,4,e,t)}function Nv(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 Rv(e,t,n){return n=n!=null?n.concat([e]):null,bl(4,4,Nv.bind(null,t,e),n)}function gf(){}function jv(e,t){var n=Ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ff(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Av(e,t){var n=Ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ff(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Mv(e,t,n){return Br&21?($t(n,t)||(n=Fy(),me.lanes|=n,zr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,tt=!0),e.memoizedState=n)}function cC(e,t){var n=ne;ne=n!==0&&4>n?n:4,e(!0);var r=xu.transition;xu.transition={};try{e(!1),t()}finally{ne=n,xu.transition=r}}function Dv(){return Ct().memoizedState}function dC(e,t,n){var r=nr(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Lv(e))Ov(t,n);else if(n=mv(e,t,n,r),n!==null){var i=qe();Bt(n,e,r,i),Iv(n,t,r)}}function fC(e,t,n){var r=nr(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Lv(e))Ov(t,i);else{var s=e.alternate;if(e.lanes===0&&(s===null||s.lanes===0)&&(s=t.lastRenderedReducer,s!==null))try{var o=t.lastRenderedState,a=s(o,n);if(i.hasEagerState=!0,i.eagerState=a,$t(a,o)){var l=t.interleaved;l===null?(i.next=i,af(t)):(i.next=l.next,l.next=i),t.interleaved=i;return}}catch{}finally{}n=mv(e,t,i,r),n!==null&&(i=qe(),Bt(n,e,r,i),Iv(n,t,r))}}function Lv(e){var t=e.alternate;return e===me||t!==null&&t===me}function Ov(e,t){As=Ha=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Iv(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Kd(e,n)}}var Ka={readContext:St,useCallback:Ve,useContext:Ve,useEffect:Ve,useImperativeHandle:Ve,useInsertionEffect:Ve,useLayoutEffect:Ve,useMemo:Ve,useReducer:Ve,useRef:Ve,useState:Ve,useDebugValue:Ve,useDeferredValue:Ve,useTransition:Ve,useMutableSource:Ve,useSyncExternalStore:Ve,useId:Ve,unstable_isNewReconciler:!1},hC={readContext:St,useCallback:function(e,t){return Kt().memoizedState=[e,t===void 0?null:t],e},useContext:St,useEffect:wp,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,pa(4194308,4,Nv.bind(null,t,e),n)},useLayoutEffect:function(e,t){return pa(4194308,4,e,t)},useInsertionEffect:function(e,t){return pa(4,2,e,t)},useMemo:function(e,t){var n=Kt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Kt();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=dC.bind(null,me,e),[r.memoizedState,e]},useRef:function(e){var t=Kt();return e={current:e},t.memoizedState=e},useState:xp,useDebugValue:gf,useDeferredValue:function(e){return Kt().memoizedState=e},useTransition:function(){var e=xp(!1),t=e[0];return e=cC.bind(null,e[1]),Kt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=me,i=Kt();if(de){if(n===void 0)throw Error(M(407));n=n()}else{if(n=t(),je===null)throw Error(M(349));Br&30||wv(r,t,n)}i.memoizedState=n;var s={value:n,getSnapshot:t};return i.queue=s,wp(Sv.bind(null,r,s,e),[e]),r.flags|=2048,to(9,bv.bind(null,r,s,n,t),void 0,null),n},useId:function(){var e=Kt(),t=je.identifierPrefix;if(de){var n=hn,r=fn;n=(r&~(1<<32-_t(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=Js++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=uC++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},pC={readContext:St,useCallback:jv,useContext:St,useEffect:mf,useImperativeHandle:Rv,useInsertionEffect:Pv,useLayoutEffect:kv,useMemo:Av,useReducer:wu,useRef:Tv,useState:function(){return wu(eo)},useDebugValue:gf,useDeferredValue:function(e){var t=Ct();return Mv(t,ke.memoizedState,e)},useTransition:function(){var e=wu(eo)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:vv,useSyncExternalStore:xv,useId:Dv,unstable_isNewReconciler:!1},mC={readContext:St,useCallback:jv,useContext:St,useEffect:mf,useImperativeHandle:Rv,useInsertionEffect:Pv,useLayoutEffect:kv,useMemo:Av,useReducer:bu,useRef:Tv,useState:function(){return bu(eo)},useDebugValue:gf,useDeferredValue:function(e){var t=Ct();return ke===null?t.memoizedState=e:Mv(t,ke.memoizedState,e)},useTransition:function(){var e=bu(eo)[0],t=Ct().memoizedState;return[e,t]},useMutableSource:vv,useSyncExternalStore:xv,useId:Dv,unstable_isNewReconciler:!1};function Mt(e,t){if(e&&e.defaultProps){t=ge({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Rc(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:ge({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var Sl={isMounted:function(e){return(e=e._reactInternals)?Hr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=qe(),i=nr(e),s=pn(r,i);s.payload=t,n!=null&&(s.callback=n),t=er(e,s,i),t!==null&&(Bt(t,e,i,r),fa(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=qe(),i=nr(e),s=pn(r,i);s.tag=1,s.payload=t,n!=null&&(s.callback=n),t=er(e,s,i),t!==null&&(Bt(t,e,i,r),fa(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=qe(),r=nr(e),i=pn(n,r);i.tag=2,t!=null&&(i.callback=t),t=er(e,i,r),t!==null&&(Bt(t,e,r,n),fa(t,e,r))}};function bp(e,t,n,r,i,s,o){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,s,o):t.prototype&&t.prototype.isPureReactComponent?!Gs(n,r)||!Gs(i,s):!0}function Fv(e,t,n){var r=!1,i=or,s=t.contextType;return typeof s=="object"&&s!==null?s=St(s):(i=rt(t)?Vr:We.current,r=t.contextTypes,s=(r=r!=null)?_i(e,i):or),t=new t(n,s),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=Sl,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=s),t}function Sp(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&&Sl.enqueueReplaceState(t,t.state,null)}function jc(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},lf(e);var s=t.contextType;typeof s=="object"&&s!==null?i.context=St(s):(s=rt(t)?Vr:We.current,i.context=_i(e,s)),i.state=e.memoizedState,s=t.getDerivedStateFromProps,typeof s=="function"&&(Rc(e,t,s,n),i.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof i.getSnapshotBeforeUpdate=="function"||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(t=i.state,typeof i.componentWillMount=="function"&&i.componentWillMount(),typeof i.UNSAFE_componentWillMount=="function"&&i.UNSAFE_componentWillMount(),t!==i.state&&Sl.enqueueReplaceState(i,i.state,null),Ua(e,n,i,r),i.state=e.memoizedState),typeof i.componentDidMount=="function"&&(e.flags|=4194308)}function Ui(e,t){try{var n="",r=t;do n+=Ub(r),r=r.return;while(r);var i=n}catch(s){i=`
39Error generating stack: `+s.message+`
40`+s.stack}return{value:e,source:t,stack:i,digest:null}}function Su(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function Ac(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var gC=typeof WeakMap=="function"?WeakMap:Map;function Vv(e,t,n){n=pn(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Qa||(Qa=!0,zc=r),Ac(e,t)},n}function _v(e,t,n){n=pn(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){Ac(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(n.callback=function(){Ac(e,t),typeof r!="function"&&(tr===null?tr=new Set([this]):tr.add(this));var o=t.stack;this.componentDidCatch(t.value,{componentStack:o!==null?o:""})}),n}
vendor: 8,870 bytes, line 40
40function Cp(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new gC;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=jC.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,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=pn(-1,1),t.tag=2,er(n,t,1))),n.lanes|=1),e)}var yC=En.ReactCurrentOwner,tt=!1;function Ke(e,t,n,r){t.child=e===null?pv(t,null,n,r):zi(t,e.child,n,r)}function Pp(e,t,n,r,i){n=n.render;var s=t.ref;return Ti(t,i),r=hf(e,t,n,r,s,i),n=pf(),e!==null&&!tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,vn(e,t,i)):(de&&n&&ef(t),t.flags|=1,Ke(e,t,r,i),t.child)}function kp(e,t,n,r,i){if(e===null){var s=n.type;return typeof s=="function"&&!Ef(s)&&s.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=s,Bv(e,t,s,r,i)):(e=va(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&i)){var o=s.memoizedProps;if(n=n.compare,n=n!==null?n:Gs,n(o,r)&&e.ref===t.ref)return vn(e,t,i)}return t.flags|=1,e=rr(s,r),e.ref=t.ref,e.return=t,t.child=e}function Bv(e,t,n,r,i){if(e!==null){var s=e.memoizedProps;if(Gs(s,r)&&e.ref===t.ref)if(tt=!1,t.pendingProps=r=s,(e.lanes&i)!==0)e.flags&131072&&(tt=!0);else return t.lanes=e.lanes,vn(e,t,i)}return Mc(e,t,n,r,i)}function zv(e,t,n){var r=t.pendingProps,i=r.children,s=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},se(mi,st),st|=n;else{if(!(n&1073741824))return e=s!==null?s.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,se(mi,st),st|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=s!==null?s.baseLanes:n,se(mi,st),st|=r}else s!==null?(r=s.baseLanes|n,t.memoizedState=null):r=n,se(mi,st),st|=r;return Ke(e,t,i,n),t.child}function $v(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Mc(e,t,n,r,i){var s=rt(n)?Vr:We.current;return s=_i(t,s),Ti(t,i),n=hf(e,t,n,r,s,i),r=pf(),e!==null&&!tt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,vn(e,t,i)):(de&&r&&ef(t),t.flags|=1,Ke(e,t,n,i),t.child)}function Np(e,t,n,r,i){if(rt(n)){var s=!0;Va(t)}else s=!1;if(Ti(t,i),t.stateNode===null)ma(e,t),Fv(t,n,r),jc(t,n,r,i),r=!0;else if(e===null){var o=t.stateNode,a=t.memoizedProps;o.props=a;var l=o.context,u=n.contextType;typeof u=="object"&&u!==null?u=St(u):(u=rt(n)?Vr:We.current,u=_i(t,u));var c=n.getDerivedStateFromProps,d=typeof c=="function"||typeof o.getSnapshotBeforeUpdate=="function";d||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==r||l!==u)&&Sp(t,o,r,u),Vn=!1;var f=t.memoizedState;o.state=f,Ua(t,r,o,i),l=t.memoizedState,a!==r||f!==l||nt.current||Vn?(typeof c=="function"&&(Rc(t,n,c,r),l=t.memoizedState),(a=Vn||bp(t,n,a,r,f,l,u))?(d||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount()),typeof o.componentDidMount=="function"&&(t.flags|=4194308)):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=u,r=a):(typeof o.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,gv(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:Mt(t.type,a),o.props=u,d=t.pendingProps,f=o.context,l=n.contextType,typeof l=="object"&&l!==null?l=St(l):(l=rt(n)?Vr:We.current,l=_i(t,l));var p=n.getDerivedStateFromProps;(c=typeof p=="function"||typeof o.getSnapshotBeforeUpdate=="function")||typeof o.UNSAFE_componentWillReceiveProps!="function"&&typeof o.componentWillReceiveProps!="function"||(a!==d||f!==l)&&Sp(t,o,r,l),Vn=!1,f=t.memoizedState,o.state=f,Ua(t,r,o,i);var x=t.memoizedState;a!==d||f!==x||nt.current||Vn?(typeof p=="function"&&(Rc(t,n,p,r),x=t.memoizedState),(u=Vn||bp(t,n,u,r,f,x,l)||!1)?(c||typeof o.UNSAFE_componentWillUpdate!="function"&&typeof o.componentWillUpdate!="function"||(typeof o.componentWillUpdate=="function"&&o.componentWillUpdate(r,x,l),typeof o.UNSAFE_componentWillUpdate=="function"&&o.UNSAFE_componentWillUpdate(r,x,l)),typeof o.componentDidUpdate=="function"&&(t.flags|=4),typeof o.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),o.props=r,o.state=x,o.context=l,r=u):(typeof o.componentDidUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),typeof o.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Dc(e,t,n,r,s,i)}function Dc(e,t,n,r,i,s){$v(e,t);var o=(t.flags&128)!==0;if(!r&&!o)return i&&hp(t,n,!1),vn(e,t,s);r=t.stateNode,yC.current=t;var a=o&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&o?(t.child=zi(t,e.child,null,s),t.child=zi(t,null,a,s)):Ke(e,t,a,s),t.memoizedState=r.state,i&&hp(t,n,!0),t.child}function Uv(e){var t=e.stateNode;t.pendingContext?fp(e,t.pendingContext,t.pendingContext!==t.context):t.context&&fp(e,t.context,!1),uf(e,t.containerInfo)}function Rp(e,t,n,r,i){return Bi(),nf(i),t.flags|=256,Ke(e,t,n,r),t.child}var Lc={dehydrated:null,treeContext:null,retryLane:0};function Oc(e){return{baseLanes:e,cachePool:null,transitions:null}}function Wv(e,t,n){var r=t.pendingProps,i=he.current,s=!1,o=(t.flags&128)!==0,a;if((a=o)||(a=e!==null&&e.memoizedState===null?!1:(i&2)!==0),a?(s=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(i|=1),se(he,i&1),e===null)return kc(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):(o=r.children,e=r.fallback,s?(r=t.mode,s=t.child,o={mode:"hidden",children:o},!(r&1)&&s!==null?(s.childLanes=0,s.pendingProps=o):s=Tl(o,r,0,null),e=Or(e,r,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Oc(n),t.memoizedState=Lc,e):yf(t,o));if(i=e.memoizedState,i!==null&&(a=i.dehydrated,a!==null))return vC(e,t,o,r,a,i,n);if(s){s=r.fallback,o=t.mode,i=e.child,a=i.sibling;var l={mode:"hidden",children:r.children};return!(o&1)&&t.child!==i?(r=t.child,r.childLanes=0,r.pendingProps=l,t.deletions=null):(r=rr(i,l),r.subtreeFlags=i.subtreeFlags&14680064),a!==null?s=rr(a,s):(s=Or(s,o,n,null),s.flags|=2),s.return=t,r.return=t,r.sibling=s,t.child=r,r=s,s=t.child,o=e.child.memoizedState,o=o===null?Oc(n):{baseLanes:o.baseLanes|n,cachePool:null,transitions:o.transitions},s.memoizedState=o,s.childLanes=e.childLanes&~n,t.memoizedState=Lc,r}return s=e.child,e=s.sibling,r=rr(s,{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 yf(e,t){return t=Tl({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Qo(e,t,n,r){return r!==null&&nf(r),zi(t,e.child,null,n),e=yf(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function vC(e,t,n,r,i,s,o){if(n)return t.flags&256?(t.flags&=-257,r=Su(Error(M(422))),Qo(e,t,o,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(s=r.fallback,i=t.mode,r=Tl({mode:"visible",children:r.children},i,0,null),s=Or(s,i,o,null),s.flags|=2,r.return=t,s.return=t,r.sibling=s,t.child=r,t.mode&1&&zi(t,e.child,null,o),t.child.memoizedState=Oc(o),t.memoizedState=Lc,s);if(!(t.mode&1))return Qo(e,t,o,null);if(i.data==="$!"){if(r=i.nextSibling&&i.nextSibling.dataset,r)var a=r.dgst;return r=a,s=Error(M(419)),r=Su(s,r,void 0),Qo(e,t,o,r)}if(a=(o&e.childLanes)!==0,tt||a){if(r=je,r!==null){switch(o&-o){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}i=i&(r.suspendedLanes|o)?0:i,i!==0&&i!==s.retryLane&&(s.retryLane=i,yn(e,i),Bt(r,e,i,-1))}return Cf(),r=Su(Error(M(421))),Qo(e,t,o,r)}return i.data==="$?"?(t.flags|=128,t.child=e.child,t=AC.bind(null,e),i._reactRetry=t,null):(e=s.treeContext,at=Jn(i.nextSibling),lt=t,de=!0,Ft=null,e!==null&&(mt[gt++]=fn,mt[gt++]=hn,mt[gt++]=_r,fn=e.id,hn=e.overflow,_r=t),t=yf(t,r.children),t.flags|=4096,t)}
vendor: 1,383 bytes, line 40
40function jp(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Nc(e.return,t,n)}function Cu(e,t,n,r,i){var s=e.memoizedState;s===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(s.isBackwards=t,s.rendering=null,s.renderingStartTime=0,s.last=r,s.tail=n,s.tailMode=i)}function Hv(e,t,n){var r=t.pendingProps,i=r.revealOrder,s=r.tail;if(Ke(e,t,r.children,n),r=he.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&&jp(e,n,t);else if(e.tag===19)jp(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(se(he,r),!(t.mode&1))t.memoizedState=null;else switch(i){case"forwards":for(n=t.child,i=null;n!==null;)e=n.alternate,e!==null&&Wa(e)===null&&(i=n),n=n.sibling;n=i,n===null?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),Cu(t,!1,i,n,s);break;case"backwards":for(n=null,i=t.child,t.child=null;i!==null;){if(e=i.alternate,e!==null&&Wa(e)===null){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}Cu(t,!0,n,null,s);break;case"together":Cu(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function ma(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}
vendor: 4,903 bytes, line 40
40function vn(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),zr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(M(153));if(t.child!==null){for(e=t.child,n=rr(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=rr(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function xC(e,t,n){switch(t.tag){case 3:Uv(t),Bi();break;case 5:yv(t);break;case 1:rt(t.type)&&Va(t);break;case 4:uf(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;se(za,r._currentValue),r._currentValue=i;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(se(he,he.current&1),t.flags|=128,null):n&t.child.childLanes?Wv(e,t,n):(se(he,he.current&1),e=vn(e,t,n),e!==null?e.sibling:null);se(he,he.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Hv(e,t,n);t.flags|=128}if(i=t.memoizedState,i!==null&&(i.rendering=null,i.tail=null,i.lastEffect=null),se(he,he.current),r)break;return null;case 22:case 23:return t.lanes=0,zv(e,t,n)}return vn(e,t,n)}var Kv,Ic,Gv,Qv;Kv=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}};Ic=function(){};Gv=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Tr(tn.current);var s=null;switch(n){case"input":i=ic(e,i),r=ic(e,r),s=[];break;case"select":i=ge({},i,{value:void 0}),r=ge({},r,{value:void 0}),s=[];break;case"textarea":i=ac(e,i),r=ac(e,r),s=[];break;default:typeof i.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ia)}uc(n,r);var o;n=null;for(u in i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&i[u]!=null)if(u==="style"){var a=i[u];for(o in a)a.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Bs.hasOwnProperty(u)?s||(s=[]):(s=s||[]).push(u,null));for(u in r){var l=r[u];if(a=i!=null?i[u]:void 0,r.hasOwnProperty(u)&&l!==a&&(l!=null||a!=null))if(u==="style")if(a){for(o in a)!a.hasOwnProperty(o)||l&&l.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in l)l.hasOwnProperty(o)&&a[o]!==l[o]&&(n||(n={}),n[o]=l[o])}else n||(s||(s=[]),s.push(u,n)),n=l;else u==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,a=a?a.__html:void 0,l!=null&&a!==l&&(s=s||[]).push(u,l)):u==="children"?typeof l!="string"&&typeof l!="number"||(s=s||[]).push(u,""+l):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Bs.hasOwnProperty(u)?(l!=null&&u==="onScroll"&&le("scroll",e),s||a===l||(s=[])):(s=s||[]).push(u,l))}n&&(s=s||[]).push("style",n);var u=s;(t.updateQueue=u)&&(t.flags|=4)}};Qv=function(e,t,n,r){n!==r&&(t.flags|=4)};function ms(e,t){if(!de)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 i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags&14680064,r|=i.flags&14680064,i.return=e,i=i.sibling;else for(i=e.child;i!==null;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function wC(e,t,n){var r=t.pendingProps;switch(tf(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 rt(t.type)&&Fa(),_e(t),null;case 3:return r=t.stateNode,$i(),ue(nt),ue(We),df(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Ko(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,Ft!==null&&(Wc(Ft),Ft=null))),Ic(e,t),_e(t),null;case 5:cf(t);var i=Tr(Zs.current);if(n=t.type,e!==null&&t.stateNode!=null)Gv(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(M(166));return _e(t),null}if(e=Tr(tn.current),Ko(t)){r=t.stateNode,n=t.type;var s=t.memoizedProps;switch(r[Xt]=t,r[qs]=s,e=(t.mode&1)!==0,n){case"dialog":le("cancel",r),le("close",r);break;case"iframe":case"object":case"embed":le("load",r);break;case"video":case"audio":for(i=0;i<Cs.length;i++)le(Cs[i],r);break;case"source":le("error",r);break;case"img":case"image":case"link":le("error",r),le("load",r);break;case"details":le("toggle",r);break;case"input":_h(r,s),le("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!s.multiple},le("invalid",r);break;case"textarea":zh(r,s),le("invalid",r)}uc(n,s),i=null;for(var o in s)if(s.hasOwnProperty(o)){var a=s[o];
vendor: 4,410 bytes, line 40
40o==="children"?typeof a=="string"?r.textContent!==a&&(s.suppressHydrationWarning!==!0&&Ho(r.textContent,a,e),i=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(s.suppressHydrationWarning!==!0&&Ho(r.textContent,a,e),i=["children",""+a]):Bs.hasOwnProperty(o)&&a!=null&&o==="onScroll"&&le("scroll",r)}switch(n){case"input":Fo(r),Bh(r,s,!0);break;case"textarea":Fo(r),$h(r);break;case"select":case"option":break;default:typeof s.onClick=="function"&&(r.onclick=Ia)}r=i,t.updateQueue=r,r!==null&&(t.flags|=4)}else{o=i.nodeType===9?i:i.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Sy(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=o.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[Xt]=t,e[qs]=r,Kv(e,t,!1,!1),t.stateNode=e;e:{switch(o=cc(n,r),n){case"dialog":le("cancel",e),le("close",e),i=r;break;case"iframe":case"object":case"embed":le("load",e),i=r;break;case"video":case"audio":for(i=0;i<Cs.length;i++)le(Cs[i],e);i=r;break;case"source":le("error",e),i=r;break;case"img":case"image":case"link":le("error",e),le("load",e),i=r;break;case"details":le("toggle",e),i=r;break;case"input":_h(e,r),i=ic(e,r),le("invalid",e);break;case"option":i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=ge({},r,{value:void 0}),le("invalid",e);break;case"textarea":zh(e,r),i=ac(e,r),le("invalid",e);break;default:i=r}uc(n,i),a=i;for(s in a)if(a.hasOwnProperty(s)){var l=a[s];s==="style"?Ty(e,l):s==="dangerouslySetInnerHTML"?(l=l?l.__html:void 0,l!=null&&Cy(e,l)):s==="children"?typeof l=="string"?(n!=="textarea"||l!=="")&&zs(e,l):typeof l=="number"&&zs(e,""+l):s!=="suppressContentEditableWarning"&&s!=="suppressHydrationWarning"&&s!=="autoFocus"&&(Bs.hasOwnProperty(s)?l!=null&&s==="onScroll"&&le("scroll",e):l!=null&&Bd(e,s,l,o))}switch(n){case"input":Fo(e),Bh(e,r,!1);break;case"textarea":Fo(e),$h(e);break;case"option":r.value!=null&&e.setAttribute("value",""+sr(r.value));break;case"select":e.multiple=!!r.multiple,s=r.value,s!=null?bi(e,!!r.multiple,s,!1):r.defaultValue!=null&&bi(e,!!r.multiple,r.defaultValue,!0);break;default:typeof i.onClick=="function"&&(e.onclick=Ia)}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)Qv(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(M(166));if(n=Tr(Zs.current),Tr(tn.current),Ko(t)){if(r=t.stateNode,n=t.memoizedProps,r[Xt]=t,(s=r.nodeValue!==n)&&(e=lt,e!==null))switch(e.tag){case 3:Ho(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ho(r.nodeValue,n,(e.mode&1)!==0)}s&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Xt]=t,t.stateNode=r}return _e(t),null;case 13:if(ue(he),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(de&&at!==null&&t.mode&1&&!(t.flags&128))fv(),Bi(),t.flags|=98560,s=!1;else if(s=Ko(t),r!==null&&r.dehydrated!==null){if(e===null){if(!s)throw Error(M(318));if(s=t.memoizedState,s=s!==null?s.dehydrated:null,!s)throw Error(M(317));s[Xt]=t}else Bi(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;_e(t),s=!1}else Ft!==null&&(Wc(Ft),Ft=null),s=!0;if(!s)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||he.current&1?Ne===0&&(Ne=3):Cf())),t.updateQueue!==null&&(t.flags|=4),_e(t),null);case 4:return $i(),Ic(e,t),e===null&&Qs(t.stateNode.containerInfo),_e(t),null;case 10:return of(t.type._context),_e(t),null;case 17:return rt(t.type)&&Fa(),_e(t),null;case 19:if(ue(he),s=t.memoizedState,s===null)return _e(t),null;if(r=(t.flags&128)!==0,o=s.rendering,o===null)if(r)ms(s,!1);else{if(Ne!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(o=Wa(e),o!==null){for(t.flags|=128,ms(s,!1),r=o.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)s=n,e=r,s.flags&=14680066,o=s.alternate,o===null?(s.childLanes=0,s.lanes=e,s.child=null,s.subtreeFlags=0,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,
vendor: 26,657 bytes, line 40
40s.stateNode=null):(s.childLanes=o.childLanes,s.lanes=o.lanes,s.child=o.child,s.subtreeFlags=0,s.deletions=null,s.memoizedProps=o.memoizedProps,s.memoizedState=o.memoizedState,s.updateQueue=o.updateQueue,s.type=o.type,e=o.dependencies,s.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return se(he,he.current&1|2),t.child}e=e.sibling}s.tail!==null&&we()>Wi&&(t.flags|=128,r=!0,ms(s,!1),t.lanes=4194304)}else{if(!r)if(e=Wa(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),ms(s,!0),s.tail===null&&s.tailMode==="hidden"&&!o.alternate&&!de)return _e(t),null}else 2*we()-s.renderingStartTime>Wi&&n!==1073741824&&(t.flags|=128,r=!0,ms(s,!1),t.lanes=4194304);s.isBackwards?(o.sibling=t.child,t.child=o):(n=s.last,n!==null?n.sibling=o:t.child=o,s.last=o)}return s.tail!==null?(t=s.tail,s.rendering=t,s.tail=t.sibling,s.renderingStartTime=we(),t.sibling=null,n=he.current,se(he,r?n&1|2:n&1),t):(_e(t),null);case 22:case 23:return Sf(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?st&1073741824&&(_e(t),t.subtreeFlags&6&&(t.flags|=8192)):_e(t),null;case 24:return null;case 25:return null}throw Error(M(156,t.tag))}function bC(e,t){switch(tf(t),t.tag){case 1:return rt(t.type)&&Fa(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return $i(),ue(nt),ue(We),df(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return cf(t),null;case 13:if(ue(he),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(M(340));Bi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return ue(he),null;case 4:return $i(),null;case 10:return of(t.type._context),null;case 22:case 23:return Sf(),null;case 24:return null;default:return null}}var Yo=!1,ze=!1,SC=typeof WeakSet=="function"?WeakSet:Set,F=null;function pi(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){xe(e,t,r)}else n.current=null}function Fc(e,t,n){try{n()}catch(r){xe(e,t,r)}}var Ap=!1;function CC(e,t){if(wc=Da,e=Jy(),Jd(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var i=r.anchorOffset,s=r.focusNode;r=r.focusOffset;try{n.nodeType,s.nodeType}catch{n=null;break e}var o=0,a=-1,l=-1,u=0,c=0,d=e,f=null;t:for(;;){for(var p;d!==n||i!==0&&d.nodeType!==3||(a=o+i),d!==s||r!==0&&d.nodeType!==3||(l=o+r),d.nodeType===3&&(o+=d.nodeValue.length),(p=d.firstChild)!==null;)f=d,d=p;for(;;){if(d===e)break t;if(f===n&&++u===i&&(a=o),f===s&&++c===r&&(l=o),(p=d.nextSibling)!==null)break;d=f,f=d.parentNode}d=p}n=a===-1||l===-1?null:{start:a,end:l}}else n=null}n=n||{start:0,end:0}}else n=null;for(bc={focusedElem:e,selectionRange:n},Da=!1,F=t;F!==null;)if(t=F,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,F=e;else for(;F!==null;){t=F;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,b=x.memoizedState,m=t.stateNode,g=m.getSnapshotBeforeUpdate(t.elementType===t.type?v:Mt(t.type,v),b);m.__reactInternalSnapshotBeforeUpdate=g}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(M(163))}}catch(S){xe(t,t.return,S)}if(e=t.sibling,e!==null){e.return=t.return,F=e;break}F=t.return}return x=Ap,Ap=!1,x}function Ms(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var i=r=r.next;do{if((i.tag&e)===e){var s=i.destroy;i.destroy=void 0,s!==void 0&&Fc(t,n,s)}i=i.next}while(i!==r)}}function Cl(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 Vc(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 Yv(e){var t=e.alternate;t!==null&&(e.alternate=null,Yv(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Xt],delete t[qs],delete t[Ec],delete t[sC],delete t[oC])),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 qv(e){return e.tag===5||e.tag===3||e.tag===4}function Mp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||qv(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 _c(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=Ia));else if(r!==4&&(e=e.child,e!==null))for(_c(e,t,n),e=e.sibling;e!==null;)_c(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 Me=null,It=!1;function An(e,t,n){for(n=n.child;n!==null;)Xv(e,t,n),n=n.sibling}function Xv(e,t,n){if(en&&typeof en.onCommitFiberUnmount=="function")try{en.onCommitFiberUnmount(ml,n)}catch{}switch(n.tag){case 5:ze||pi(n,t);case 6:var r=Me,i=It;Me=null,An(e,t,n),Me=r,It=i,Me!==null&&(It?(e=Me,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):Me.removeChild(n.stateNode));break;case 18:Me!==null&&(It?(e=Me,n=n.stateNode,e.nodeType===8?gu(e.parentNode,n):e.nodeType===1&&gu(e,n),Hs(e)):gu(Me,n.stateNode));break;case 4:r=Me,i=It,Me=n.stateNode.containerInfo,It=!0,An(e,t,n),Me=r,It=i;break;case 0:case 11:case 14:case 15:if(!ze&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){i=r=r.next;do{var s=i,o=s.destroy;s=s.tag,o!==void 0&&(s&2||s&4)&&Fc(n,t,o),i=i.next}while(i!==r)}An(e,t,n);break;case 1:if(!ze&&(pi(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){xe(n,t,a)}An(e,t,n);break;case 21:An(e,t,n);break;case 22:n.mode&1?(ze=(r=ze)||n.memoizedState!==null,An(e,t,n),ze=r):An(e,t,n);break;default:An(e,t,n)}}function Dp(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new SC),t.forEach(function(r){var i=MC.bind(null,e,r);n.has(r)||(n.add(r),r.then(i,i))})}}function Nt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var i=n[r];try{var s=e,o=t,a=o;e:for(;a!==null;){switch(a.tag){case 5:Me=a.stateNode,It=!1;break e;case 3:Me=a.stateNode.containerInfo,It=!0;break e;case 4:Me=a.stateNode.containerInfo,It=!0;break e}a=a.return}if(Me===null)throw Error(M(160));Xv(s,o,i),Me=null,It=!1;var l=i.alternate;l!==null&&(l.return=null),i.return=null}catch(u){xe(i,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Zv(t,e),t=t.sibling}function Zv(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Nt(t,e),Ht(e),r&4){try{Ms(3,e,e.return),Cl(3,e)}catch(v){xe(e,e.return,v)}try{Ms(5,e,e.return)}catch(v){xe(e,e.return,v)}}break;case 1:Nt(t,e),Ht(e),r&512&&n!==null&&pi(n,n.return);break;case 5:if(Nt(t,e),Ht(e),r&512&&n!==null&&pi(n,n.return),e.flags&32){var i=e.stateNode;try{zs(i,"")}catch(v){xe(e,e.return,v)}}if(r&4&&(i=e.stateNode,i!=null)){var s=e.memoizedProps,o=n!==null?n.memoizedProps:s,a=e.type,l=e.updateQueue;if(e.updateQueue=null,l!==null)try{a==="input"&&s.type==="radio"&&s.name!=null&&wy(i,s),cc(a,o);var u=cc(a,s);for(o=0;o<l.length;o+=2){var c=l[o],d=l[o+1];c==="style"?Ty(i,d):c==="dangerouslySetInnerHTML"?Cy(i,d):c==="children"?zs(i,d):Bd(i,c,d,u)}switch(a){case"input":sc(i,s);break;case"textarea":by(i,s);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!s.multiple;var p=s.value;p!=null?bi(i,!!s.multiple,p,!1):f!==!!s.multiple&&(s.defaultValue!=null?bi(i,!!s.multiple,s.defaultValue,!0):bi(i,!!s.multiple,s.multiple?[]:"",!1))}i[qs]=s}catch(v){xe(e,e.return,v)}}break;case 6:if(Nt(t,e),Ht(e),r&4){if(e.stateNode===null)throw Error(M(162));i=e.stateNode,s=e.memoizedProps;try{i.nodeValue=s}catch(v){xe(e,e.return,v)}}break;case 3:if(Nt(t,e),Ht(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{Hs(t.containerInfo)}catch(v){xe(e,e.return,v)}break;case 4:Nt(t,e),Ht(e);break;case 13:Nt(t,e),Ht(e),i=e.child,i.flags&8192&&(s=i.memoizedState!==null,i.stateNode.isHidden=s,!s||i.alternate!==null&&i.alternate.memoizedState!==null||(wf=we())),r&4&&Dp(e);break;case 22:if(c=n!==null&&n.memoizedState!==null,e.mode&1?(ze=(u=ze)||c,Nt(t,e),ze=u):Nt(t,e),Ht(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!c&&e.mode&1)for(F=e,c=e.child;c!==null;){for(d=F=c;F!==null;){switch(f=F,p=f.child,f.tag){case 0:case 11:case 14:case 15:Ms(4,f,f.return);break;case 1:pi(f,f.return);var x=f.stateNode;if(typeof x.componentWillUnmount=="function"){r=f,n=f.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(v){xe(r,n,v)}}break;case 5:pi(f,f.return);break;case 22:if(f.memoizedState!==null){Op(d);continue}}p!==null?(p.return=f,F=p):Op(d)}c=c.sibling}e:for(c=null,d=e;;){if(d.tag===5){if(c===null){c=d;try{i=d.stateNode,u?(s=i.style,typeof s.setProperty=="function"?s.setProperty("display","none","important"):s.display="none"):(a=d.stateNode,l=d.memoizedProps.style,o=l!=null&&l.hasOwnProperty("display")?l.display:null,a.style.display=Ey("display",o))}catch(v){xe(e,e.return,v)}}}else if(d.tag===6){if(c===null)try{d.stateNode.nodeValue=u?"":d.memoizedProps}catch(v){xe(e,e.return,v)}}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:Nt(t,e),Ht(e),r&4&&Dp(e);break;case 21:break;default:Nt(t,e),Ht(e)}}function Ht(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(qv(n)){var r=n;break e}n=n.return}throw Error(M(160))}switch(r.tag){case 5:var i=r.stateNode;r.flags&32&&(zs(i,""),r.flags&=-33);var s=Mp(e);Bc(e,s,i);break;case 3:case 4:var o=r.stateNode.containerInfo,a=Mp(e);_c(e,a,o);break;default:throw Error(M(161))}}catch(l){xe(e,e.return,l)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function EC(e,t,n){F=e,Jv(e)}function Jv(e,t,n){for(var r=(e.mode&1)!==0;F!==null;){var i=F,s=i.child;if(i.tag===22&&r){var o=i.memoizedState!==null||Yo;if(!o){var a=i.alternate,l=a!==null&&a.memoizedState!==null||ze;a=Yo;var u=ze;if(Yo=o,(ze=l)&&!u)for(F=i;F!==null;)o=F,l=o.child,o.tag===22&&o.memoizedState!==null?Ip(i):l!==null?(l.return=o,F=l):Ip(i);for(;s!==null;)F=s,Jv(s),s=s.sibling;F=i,Yo=a,ze=u}Lp(e)}else i.subtreeFlags&8772&&s!==null?(s.return=i,F=s):Lp(e)}}function Lp(e){for(;F!==null;){var t=F;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:ze||Cl(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!ze)if(n===null)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:Mt(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var s=t.updateQueue;s!==null&&vp(t,s,r);break;case 3:var o=t.updateQueue;if(o!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}vp(t,o,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&&Hs(d)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(M(163))}ze||t.flags&512&&Vc(t)}catch(f){xe(t,t.return,f)}}if(t===e){F=null;break}if(n=t.sibling,n!==null){n.return=t.return,F=n;break}F=t.return}}function Op(e){for(;F!==null;){var t=F;if(t===e){F=null;break}var n=t.sibling;if(n!==null){n.return=t.return,F=n;break}F=t.return}}function Ip(e){for(;F!==null;){var t=F;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{Cl(4,t)}catch(l){xe(t,n,l)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var i=t.return;try{r.componentDidMount()}catch(l){xe(t,i,l)}}var s=t.return;try{Vc(t)}catch(l){xe(t,s,l)}break;case 5:var o=t.return;try{Vc(t)}catch(l){xe(t,o,l)}}}catch(l){xe(t,t.return,l)}if(t===e){F=null;break}var a=t.sibling;if(a!==null){a.return=t.return,F=a;break}F=t.return}}var TC=Math.ceil,Ga=En.ReactCurrentDispatcher,vf=En.ReactCurrentOwner,xt=En.ReactCurrentBatchConfig,Z=0,je=null,Ce=null,Le=0,st=0,mi=hr(0),Ne=0,no=null,zr=0,El=0,xf=0,Ds=null,et=null,wf=0,Wi=1/0,un=null,Qa=!1,zc=null,tr=null,qo=!1,Gn=null,Ya=0,Ls=0,$c=null,ga=-1,ya=0;function qe(){return Z&6?we():ga!==-1?ga:ga=we()}function nr(e){return e.mode&1?Z&2&&Le!==0?Le&-Le:lC.transition!==null?(ya===0&&(ya=Fy()),ya):(e=ne,e!==0||(e=window.event,e=e===void 0?16:Wy(e.type)),e):1}function Bt(e,t,n,r){if(50<Ls)throw Ls=0,$c=null,Error(M(185));vo(e,n,r),(!(Z&2)||e!==je)&&(e===je&&(!(Z&2)&&(El|=n),Ne===4&&Bn(e,Le)),it(e,r),n===1&&Z===0&&!(t.mode&1)&&(Wi=we()+500,wl&&pr()))}function it(e,t){var n=e.callbackNode;lS(e,t);var r=Ma(e,e===je?Le:0);if(r===0)n!==null&&Hh(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Hh(n),t===1)e.tag===0?aC(Fp.bind(null,e)):uv(Fp.bind(null,e)),rC(function(){!(Z&6)&&pr()}),n=null;else{switch(Vy(r)){case 1:n=Hd;break;case 4:n=Oy;break;case 16:n=Aa;break;case 536870912:n=Iy;break;default:n=Aa}n=a0(n,e0.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function e0(e,t){if(ga=-1,ya=0,Z&6)throw Error(M(327));var n=e.callbackNode;if(Pi()&&e.callbackNode!==n)return null;var r=Ma(e,e===je?Le:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=qa(e,r);else{t=r;var i=Z;Z|=2;var s=n0();(je!==e||Le!==t)&&(un=null,Wi=we()+500,Lr(e,t));do try{NC();break}catch(a){t0(e,a)}while(!0);sf(),Ga.current=s,Z=i,Ce!==null?t=0:(je=null,Le=0,t=Ne)}if(t!==0){if(t===2&&(i=mc(e),i!==0&&(r=i,t=Uc(e,i))),t===1)throw n=no,Lr(e,0),Bn(e,r),it(e,we()),n;if(t===6)Bn(e,r);else{if(i=e.current.alternate,!(r&30)&&!PC(i)&&(t=qa(e,r),t===2&&(s=mc(e),s!==0&&(r=s,t=Uc(e,s))),t===1))throw n=no,Lr(e,0),Bn(e,r),it(e,we()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(M(345));case 2:br(e,et,un);break;case 3:if(Bn(e,r),(r&130023424)===r&&(t=wf+500-we(),10<t)){if(Ma(e,0)!==0)break;if(i=e.suspendedLanes,(i&r)!==r){qe(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=Cc(br.bind(null,e,et,un),t);break}br(e,et,un);break;case 4:if(Bn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,i=-1;0<r;){var o=31-_t(r);s=1<<o,o=t[o],o>i&&(i=o),r&=~s}if(r=i,r=we()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*TC(r/1960))-r,10<r){e.timeoutHandle=Cc(br.bind(null,e,et,un),r);break}br(e,et,un);break;case 5:br(e,et,un);break;default:throw Error(M(329))}}}return it(e,we()),e.callbackNode===n?e0.bind(null,e):null}function Uc(e,t){var n=Ds;return e.current.memoizedState.isDehydrated&&(Lr(e,t).flags|=256),e=qa(e,t),e!==2&&(t=et,et=n,t!==null&&Wc(t)),e}function Wc(e){et===null?et=e:et.push.apply(et,e)}function PC(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var i=n[r],s=i.getSnapshot;i=i.value;try{if(!$t(s(),i))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Bn(e,t){for(t&=~xf,t&=~El,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-_t(t),r=1<<n;e[n]=-1,t&=~r}}function Fp(e){if(Z&6)throw Error(M(327));Pi();var t=Ma(e,0);if(!(t&1))return it(e,we()),null;var n=qa(e,t);if(e.tag!==0&&n===2){var r=mc(e);r!==0&&(t=r,n=Uc(e,r))}if(n===1)throw n=no,Lr(e,0),Bn(e,t),it(e,we()),n;if(n===6)throw Error(M(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,br(e,et,un),it(e,we()),null}function bf(e,t){var n=Z;Z|=1;try{return e(t)}finally{Z=n,Z===0&&(Wi=we()+500,wl&&pr())}}function $r(e){Gn!==null&&Gn.tag===0&&!(Z&6)&&Pi();var t=Z;Z|=1;var n=xt.transition,r=ne;try{if(xt.transition=null,ne=1,e)return e()}finally{ne=r,xt.transition=n,Z=t,!(Z&6)&&pr()}}function Sf(){st=mi.current,ue(mi)}function Lr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,nC(n)),Ce!==null)for(n=Ce.return;n!==null;){var r=n;switch(tf(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Fa();break;case 3:$i(),ue(nt),ue(We),df();break;case 5:cf(r);break;case 4:$i();break;case 13:ue(he);break;case 19:ue(he);break;case 10:of(r.type._context);break;case 22:case 23:Sf()}n=n.return}if(je=e,Ce=e=rr(e.current,null),Le=st=t,Ne=0,no=null,xf=El=zr=0,et=Ds=null,Er!==null){for(t=0;t<Er.length;t++)if(n=Er[t],r=n.interleaved,r!==null){n.interleaved=null;var i=r.next,s=n.pending;if(s!==null){var o=s.next;s.next=i,r.next=o}n.pending=r}Er=null}return e}function t0(e,t){do{var n=Ce;try{if(sf(),ha.current=Ka,Ha){for(var r=me.memoizedState;r!==null;){var i=r.queue;i!==null&&(i.pending=null),r=r.next}Ha=!1}if(Br=0,Re=ke=me=null,As=!1,Js=0,vf.current=null,n===null||n.return===null){Ne=1,no=t,Ce=null;break}e:{var s=e,o=n.return,a=n,l=t;if(t=Le,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 p=Ep(o);if(p!==null){p.flags&=-257,Tp(p,o,a,s,t),p.mode&1&&Cp(s,u,t),t=p,l=u;var x=t.updateQueue;if(x===null){var v=new Set;v.add(l),t.updateQueue=v}else x.add(l);break e}else{if(!(t&1)){Cp(s,u,t),Cf();break e}l=Error(M(426))}}else if(de&&a.mode&1){var b=Ep(o);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Tp(b,o,a,s,t),nf(Ui(l,a));break e}}s=l=Ui(l,a),Ne!==4&&(Ne=2),Ds===null?Ds=[s]:Ds.push(s),s=o;do{switch(s.tag){case 3:s.flags|=65536,t&=-t,s.lanes|=t;var m=Vv(s,l,t);yp(s,m);break e;case 1:a=l;var g=s.type,y=s.stateNode;if(!(s.flags&128)&&(typeof g.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(tr===null||!tr.has(y)))){s.flags|=65536,t&=-t,s.lanes|=t;var S=_v(s,a,t);yp(s,S);break e}}s=s.return}while(s!==null)}i0(n)}catch(C){t=C,Ce===n&&n!==null&&(Ce=n=n.return);continue}break}while(!0)}function n0(){var e=Ga.current;return Ga.current=Ka,e===null?Ka:e}function Cf(){(Ne===0||Ne===3||Ne===2)&&(Ne=4),je===null||!(zr&268435455)&&!(El&268435455)||Bn(je,Le)}function qa(e,t){var n=Z;Z|=2;var r=n0();(je!==e||Le!==t)&&(un=null,Lr(e,t));do try{kC();break}catch(i){t0(e,i)}while(!0);if(sf(),Z=n,Ga.current=r,Ce!==null)throw Error(M(261));return je=null,Le=0,Ne}function kC(){for(;Ce!==null;)r0(Ce)}function NC(){for(;Ce!==null&&!Jb();)r0(Ce)}function r0(e){var t=o0(e.alternate,e,st);e.memoizedProps=e.pendingProps,t===null?i0(e):Ce=t,vf.current=null}function i0(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=bC(n,t),n!==null){n.flags&=32767,Ce=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{Ne=6,Ce=null;return}}else if(n=wC(n,t,st),n!==null){Ce=n;return}if(t=t.sibling,t!==null){Ce=t;return}Ce=t=e}while(t!==null);Ne===0&&(Ne=5)}function br(e,t,n){var r=ne,i=xt.transition;try{xt.transition=null,ne=1,RC(e,t,n,r)}finally{xt.transition=i,ne=r}return null}function RC(e,t,n,r){do Pi();while(Gn!==null);if(Z&6)throw Error(M(327));n=e.finishedWork;var i=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(M(177));e.callbackNode=null,e.callbackPriority=0;var s=n.lanes|n.childLanes;if(uS(e,s),e===je&&(Ce=je=null,Le=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||qo||(qo=!0,a0(Aa,function(){return Pi(),null})),s=(n.flags&15990)!==0,n.subtreeFlags&15990||s){s=xt.transition,xt.transition=null;var o=ne;ne=1;var a=Z;Z|=4,vf.current=null,CC(e,n),Zv(n,e),YS(bc),Da=!!wc,bc=wc=null,e.current=n,EC(n),eS(),Z=a,ne=o,xt.transition=s}else e.current=n;if(qo&&(qo=!1,Gn=e,Ya=i),s=e.pendingLanes,s===0&&(tr=null),rS(n.stateNode),it(e,we()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)i=t[n],r(i.value,{componentStack:i.stack,digest:i.digest});if(Qa)throw Qa=!1,e=zc,zc=null,e;return Ya&1&&e.tag!==0&&Pi(),s=e.pendingLanes,s&1?e===$c?Ls++:(Ls=0,$c=e):Ls=0,pr(),null}function Pi(){if(Gn!==null){var e=Vy(Ya),t=xt.transition,n=ne;try{if(xt.transition=null,ne=16>e?16:e,Gn===null)var r=!1;else{if(e=Gn,Gn=null,Ya=0,Z&6)throw Error(M(331));var i=Z;for(Z|=4,F=e.current;F!==null;){var s=F,o=s.child;if(F.flags&16){var a=s.deletions;if(a!==null){for(var l=0;l<a.length;l++){var u=a[l];for(F=u;F!==null;){var c=F;switch(c.tag){case 0:case 11:case 15:Ms(8,c,s)}var d=c.child;if(d!==null)d.return=c,F=d;else for(;F!==null;){c=F;var f=c.sibling,p=c.return;if(Yv(c),c===u){F=null;break}if(f!==null){f.return=p,F=f;break}F=p}}}var x=s.alternate;if(x!==null){var v=x.child;if(v!==null){x.child=null;do{var b=v.sibling;v.sibling=null,v=b}while(v!==null)}}F=s}}if(s.subtreeFlags&2064&&o!==null)o.return=s,F=o;else e:for(;F!==null;){if(s=F,s.flags&2048)switch(s.tag){case 0:case 11:case 15:Ms(9,s,s.return)}var m=s.sibling;if(m!==null){m.return=s.return,F=m;break e}F=s.return}}var g=e.current;for(F=g;F!==null;){o=F;var y=o.child;if(o.subtreeFlags&2064&&y!==null)y.return=o,F=y;else e:for(o=g;F!==null;){if(a=F,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:Cl(9,a)}}catch(C){xe(a,a.return,C)}if(a===o){F=null;break e}var S=a.sibling;if(S!==null){S.return=a.return,F=S;break e}F=a.return}}if(Z=i,pr(),en&&typeof en.onPostCommitFiberRoot=="function")try{en.onPostCommitFiberRoot(ml,e)}catch{}r=!0}return r}finally{ne=n,xt.transition=t}}return!1}function Vp(e,t,n){t=Ui(n,t),t=Vv(e,t,1),e=er(e,t,1),t=qe(),e!==null&&(vo(e,1,t),it(e,t))}function xe(e,t,n){if(e.tag===3)Vp(e,e,n);else for(;t!==null;){if(t.tag===3){Vp(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(tr===null||!tr.has(r))){e=Ui(n,e),e=_v(t,e,1),t=er(t,e,1),e=qe(),t!==null&&(vo(t,1,e),it(t,e));break}}t=t.return}}function jC(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=qe(),e.pingedLanes|=e.suspendedLanes&n,je===e&&(Le&n)===n&&(Ne===4||Ne===3&&(Le&130023424)===Le&&500>we()-wf?Lr(e,0):xf|=n),it(e,t)}function s0(e,t){t===0&&(e.mode&1?(t=Bo,Bo<<=1,!(Bo&130023424)&&(Bo=4194304)):t=1);var n=qe();e=yn(e,t),e!==null&&(vo(e,t,n),it(e,n))}function AC(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),s0(e,n)}function MC(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;i!==null&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(M(314))}r!==null&&r.delete(t),s0(e,n)}var o0;o0=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||nt.current)tt=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return tt=!1,xC(e,t,n);tt=!!(e.flags&131072)}else tt=!1,de&&t.flags&1048576&&cv(t,Ba,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;ma(e,t),e=t.pendingProps;var i=_i(t,We.current);Ti(t,n),i=hf(null,t,r,e,i,n);var s=pf();return t.flags|=1,typeof i=="object"&&i!==null&&typeof i.render=="function"&&i.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,rt(r)?(s=!0,Va(t)):s=!1,t.memoizedState=i.state!==null&&i.state!==void 0?i.state:null,lf(t),i.updater=Sl,t.stateNode=i,i._reactInternals=t,jc(t,r,e,n),t=Dc(null,t,r,!0,s,n)):(t.tag=0,de&&s&&ef(t),Ke(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(ma(e,t),e=t.pendingProps,i=r._init,r=i(r._payload),t.type=r,i=t.tag=LC(r),e=Mt(r,e),i){case 0:t=Mc(null,t,r,e,n);break e;case 1:t=Np(null,t,r,e,n);break e;case 11:t=Pp(null,t,r,e,n);break e;case 14:t=kp(null,t,r,Mt(r.type,e),n);break e}throw Error(M(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),Mc(e,t,r,i,n);case 1:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),Np(e,t,r,i,n);case 3:e:{if(Uv(t),e===null)throw Error(M(387));r=t.pendingProps,s=t.memoizedState,i=s.element,gv(e,t),Ua(t,r,null,n);var o=t.memoizedState;if(r=o.element,s.isDehydrated)if(s={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=s,t.memoizedState=s,t.flags&256){i=Ui(Error(M(423)),t),t=Rp(e,t,r,n,i);break e}else if(r!==i){i=Ui(Error(M(424)),t),t=Rp(e,t,r,n,i);break e}else for(at=Jn(t.stateNode.containerInfo.firstChild),lt=t,de=!0,Ft=null,n=pv(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Bi(),r===i){t=vn(e,t,n);break e}Ke(e,t,r,n)}t=t.child}return t;case 5:return yv(t),e===null&&kc(t),r=t.type,i=t.pendingProps,s=e!==null?e.memoizedProps:null,o=i.children,Sc(r,i)?o=null:s!==null&&Sc(r,s)&&(t.flags|=32),$v(e,t),Ke(e,t,o,n),t.child;case 6:return e===null&&kc(t),null;case 13:return Wv(e,t,n);case 4:return uf(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=zi(t,null,r,n):Ke(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),Pp(e,t,r,i,n);case 7:return Ke(e,t,t.pendingProps,n),t.child;case 8:return Ke(e,t,t.pendingProps.children,n),t.child;case 12:return Ke(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,s=t.memoizedProps,o=i.value,se(za,r._currentValue),r._currentValue=o,s!==null)if($t(s.value,o)){if(s.children===i.children&&!nt.current){t=vn(e,t,n);break e}}else for(s=t.child,s!==null&&(s.return=t);s!==null;){var a=s.dependencies;if(a!==null){o=s.child;for(var l=a.firstContext;l!==null;){if(l.context===r){if(s.tag===1){l=pn(-1,n&-n),l.tag=2;var u=s.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}}s.lanes|=n,l=s.alternate,l!==null&&(l.lanes|=n),Nc(s.return,n,t),a.lanes|=n;break}l=l.next}}else if(s.tag===10)o=s.type===t.type?null:s.child;else if(s.tag===18){if(o=s.return,o===null)throw Error(M(341));o.lanes|=n,a=o.alternate,a!==null&&(a.lanes|=n),Nc(o,n,t),o=s.sibling}else o=s.child;if(o!==null)o.return=s;else for(o=s;o!==null;){if(o===t){o=null;break}if(s=o.sibling,s!==null){s.return=o.return,o=s;break}o=o.return}s=o}Ke(e,t,i.children,n),t=t.child}return t;
vendor: 8,161 bytes, line 40
40case 9:return i=t.type,r=t.pendingProps.children,Ti(t,n),i=St(i),r=r(i),t.flags|=1,Ke(e,t,r,n),t.child;case 14:return r=t.type,i=Mt(r,t.pendingProps),i=Mt(r.type,i),kp(e,t,r,i,n);case 15:return Bv(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:Mt(r,i),ma(e,t),t.tag=1,rt(r)?(e=!0,Va(t)):e=!1,Ti(t,n),Fv(t,r,i),jc(t,r,i,n),Dc(null,t,r,!0,e,n);case 19:return Hv(e,t,n);case 22:return zv(e,t,n)}throw Error(M(156,t.tag))};function a0(e,t){return Ly(e,t)}function DC(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 DC(e,t,n,r)}function Ef(e){return e=e.prototype,!(!e||!e.isReactComponent)}function LC(e){if(typeof e=="function")return Ef(e)?1:0;if(e!=null){if(e=e.$$typeof,e===$d)return 11;if(e===Ud)return 14}return 2}function rr(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 va(e,t,n,r,i,s){var o=2;if(r=e,typeof e=="function")Ef(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case si:return Or(n.children,i,s,t);case zd:o=8,i|=8;break;case ec:return e=yt(12,n,t,i|2),e.elementType=ec,e.lanes=s,e;case tc:return e=yt(13,n,t,i),e.elementType=tc,e.lanes=s,e;case nc:return e=yt(19,n,t,i),e.elementType=nc,e.lanes=s,e;case yy:return Tl(n,i,s,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case my:o=10;break e;case gy:o=9;break e;case $d:o=11;break e;case Ud:o=14;break e;case Fn:o=16,r=null;break e}throw Error(M(130,e==null?e:typeof e,""))}return t=yt(o,n,t,i),t.elementType=e,t.type=r,t.lanes=s,t}function Or(e,t,n,r){return e=yt(7,e,r,t),e.lanes=n,e}function Tl(e,t,n,r){return e=yt(22,e,r,t),e.elementType=yy,e.lanes=n,e.stateNode={isHidden:!1},e}function Eu(e,t,n){return e=yt(6,e,null,t),e.lanes=n,e}function Tu(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 OC(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=su(0),this.expirationTimes=su(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=su(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Tf(e,t,n,r,i,s,o,a,l){return e=new OC(e,t,n,a,l),t===1?(t=1,s===!0&&(t|=8)):t=0,s=yt(3,null,null,t),e.current=s,s.stateNode=e,s.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},lf(s),e}function IC(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:ii,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function l0(e){if(!e)return or;e=e._reactInternals;e:{if(Hr(e)!==e||e.tag!==1)throw Error(M(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(rt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(M(171))}if(e.tag===1){var n=e.type;if(rt(n))return lv(e,n,t)}return t}function u0(e,t,n,r,i,s,o,a,l){return e=Tf(n,r,!0,e,i,s,o,a,l),e.context=l0(null),n=e.current,r=qe(),i=nr(n),s=pn(r,i),s.callback=t??null,er(n,s,i),e.current.lanes=i,vo(e,i,r),it(e,r),e}function Pl(e,t,n,r){var i=t.current,s=qe(),o=nr(i);return n=l0(n),t.context===null?t.context=n:t.pendingContext=n,t=pn(s,o),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=er(i,t,o),e!==null&&(Bt(e,i,o,s),fa(e,i,o)),o}function Xa(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 _p(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Pf(e,t){_p(e,t),(e=e.alternate)&&_p(e,t)}function FC(){return null}var c0=typeof reportError=="function"?reportError:function(e){console.error(e)};function kf(e){this._internalRoot=e}kl.prototype.render=kf.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(M(409));Pl(e,t,null,null)};kl.prototype.unmount=kf.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;$r(function(){Pl(null,e,null,null)}),t[gn]=null}};function kl(e){this._internalRoot=e}kl.prototype.unstable_scheduleHydration=function(e){if(e){var t=zy();e={blockedOn:null,target:e,priority:t};for(var n=0;n<_n.length&&t!==0&&t<_n[n].priority;n++);_n.splice(n,0,e),n===0&&Uy(e)}};function Nf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Nl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Bp(){}function VC(e,t,n,r,i){if(i){if(typeof r=="function"){var s=r;r=function(){var u=Xa(o);s.call(u)}}var o=u0(t,r,e,0,null,!1,!1,"",Bp);return e._reactRootContainer=o,e[gn]=o.current,Qs(e.nodeType===8?e.parentNode:e),$r(),o}for(;i=e.lastChild;)e.removeChild(i);if(typeof r=="function"){var a=r;r=function(){var u=Xa(l);a.call(u)}}var l=Tf(e,0,!1,null,null,!1,!1,"",Bp);return e._reactRootContainer=l,e[gn]=l.current,Qs(e.nodeType===8?e.parentNode:e),$r(function(){Pl(t,l,n,r)}),l}function Rl(e,t,n,r,i){var s=n._reactRootContainer;if(s){var o=s;if(typeof i=="function"){var a=i;i=function(){var l=Xa(o);a.call(l)}}Pl(t,o,e,i)}else o=VC(n,t,e,i,r);return Xa(o)}_y=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Ss(t.pendingLanes);n!==0&&(Kd(t,n|1),it(t,we()),!(Z&6)&&(Wi=we()+500,pr()))}break;case 13:$r(function(){var r=yn(e,1);if(r!==null){var i=qe();Bt(r,e,1,i)}}),Pf(e,1)}};Gd=function(e){if(e.tag===13){var t=yn(e,134217728);if(t!==null){var n=qe();Bt(t,e,134217728,n)}Pf(e,134217728)}};By=function(e){if(e.tag===13){var t=nr(e),n=yn(e,t);if(n!==null){var r=qe();Bt(n,e,t,r)}Pf(e,t)}};zy=function(){return ne};$y=function(e,t){var n=ne;try{return ne=e,t()}finally{ne=n}};fc=function(e,t,n){switch(t){case"input":if(sc(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=xl(r);if(!i)throw Error(M(90));xy(r),sc(r,i)}}}break;case"textarea":by(e,n);break;case"select":t=n.value,t!=null&&bi(e,!!n.multiple,t,!1)}};Ny=bf;Ry=$r;var _C={usingClientEntryPoint:!1,Events:[wo,ui,xl,Py,ky,bf]},gs={findFiberByHostInstance:Cr,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},BC={bundleType:gs.bundleType,version:gs.version,rendererPackageName:gs.rendererPackageName,rendererConfig:gs.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:En.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=My(e),e===null?null:e.stateNode},findFiberByHostInstance:gs.findFiberByHostInstance||FC,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Xo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Xo.isDisabled&&Xo.supportsFiber)try{ml=Xo.inject(BC),en=Xo}catch{}}dt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_C;dt.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Nf(t))throw Error(M(200));return IC(e,t,null,n)};dt.createRoot=function(e,t){if(!Nf(e))throw Error(M(299));var n=!1,r="",i=c0;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Tf(e,1,!1,null,null,n,!1,r,i),e[gn]=t.current,Qs(e.nodeType===8?e.parentNode:e),new kf(t)};dt.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(M(188)):(e=Object.keys(e).join(","),Error(M(268,e)));return e=My(t),e=e===null?null:e.stateNode,e};dt.flushSync=function(e){return $r(e)};dt.hydrate=function(e,t,n){if(!Nl(t))throw Error(M(200));return Rl(null,e,t,!0,n)};dt.hydrateRoot=function(e,t,n){if(!Nf(e))throw Error(M(405));var r=n!=null&&n.hydratedSources||null,i=!1,s="",o=c0;if(n!=null&&(n.unstable_strictMode===!0&&(i=!0),n.identifierPrefix!==void 0&&(s=n.identifierPrefix),n.onRecoverableError!==void 0&&(o=n.onRecoverableError)),t=u0(t,null,e,1,n??null,i,!1,s,o),e[gn]=t.current,Qs(e),r)for(e=0;e<r.length;e++)n=r[e],i=n._getVersion,i=i(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new kl(t)};dt.render=function(e,t,n){if(!Nl(t))throw Error(M(200));return Rl(null,e,t,!1,n)};dt.unmountComponentAtNode=function(e){if(!Nl(e))throw Error(M(40));return e._reactRootContainer?($r(function(){Rl(null,null,e,!1,function(){e._reactRootContainer=null,e[gn]=null})}),!0):!1};dt.unstable_batchedUpdates=bf;dt.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Nl(n))throw Error(M(200));if(e==null||e._reactInternals===void 0)throw Error(M(38));return Rl(e,t,n,!1,r)};dt.version="18.3.1-next-f1338f8080-20240426";function d0(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(d0)}catch(e){console.error(e)}}d0(),dy.exports=dt;var So=dy.exports;const f0=Jg(So);var h0,zp=So;h0=zp.createRoot,zp.hydrateRoot;const zC=1,$C=1e6;let Pu=0;function UC(){return Pu=(Pu+1)%Number.MAX_SAFE_INTEGER,Pu.toString()}const ku=new Map,$p=e=>{if(ku.has(e))return;const t=setTimeout(()=>{ku.delete(e),Os({type:"REMOVE_TOAST",toastId:e})},$C);ku.set(e,t)},WC=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,zC)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;return n?$p(n):e.toasts.forEach(r=>{$p(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)}}},xa=[];let wa={toasts:[]};function Os(e){wa=WC(wa,e),xa.forEach(t=>{t(wa)})}function HC({...e}){const t=UC(),n=i=>Os({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>Os({type:"DISMISS_TOAST",toastId:t});return Os({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:n}}function KC(){const[e,t]=w.useState(wa);return w.useEffect(()=>(xa.push(t),()=>{const n=xa.indexOf(t);n>-1&&xa.splice(n,1)}),[e]),{...e,toast:HC,dismiss:n=>Os({type:"DISMISS_TOAST",toastId:n})}}function ie(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function Up(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function p0(...e){return t=>{let n=!1;const r=e.map(i=>{const s=Up(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Up(e[i],null)}}}}function Et(...e){return w.useCallback(p0(...e),e)}function Ji(e,t=[]){let n=[];function r(s,o){const a=w.createContext(o),l=n.length;n=[...n,o];const u=d=>{var m;const{scope:f,children:p,...x}=d,v=((m=f==null?void 0:f[e])==null?void 0:m[l])||a,b=w.useMemo(()=>x,Object.values(x));return h.jsx(v.Provider,{value:b,children:p})};u.displayName=s+"Provider";function c(d,f){var v;const p=((v=f==null?void 0:f[e])==null?void 0:v[l])||a,x=w.useContext(p);if(x)return x;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${s}\``)}return[u,c]}const i=()=>{const s=n.map(o=>w.createContext(o));return function(a){const l=(a==null?void 0:a[e])||s;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:l}}),[a,l])}};return i.scopeName=e,[r,GC(i,...t)]}function GC(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(s){const o=r.reduce((a,{useScope:l,scopeName:u})=>{const d=l(s)[`__scope${u}`];return{...a,...d}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}function Za(e){const t=YC(e),n=w.forwardRef((r,i)=>{const{children:s,...o}=r,a=w.Children.toArray(s),l=a.find(XC);if(l){const u=l.props.children,c=a.map(d=>d===l?w.Children.count(u)>1?w.Children.only(null):w.isValidElement(u)?u.props.children:null:d);return h.jsx(t,{...o,ref:i,children:w.isValidElement(u)?w.cloneElement(u,void 0,c):null})}return h.jsx(t,{...o,ref:i,children:s})});return n.displayName=`${e}.Slot`,n}var QC=Za("Slot");function YC(e){const t=w.forwardRef((n,r)=>{const{children:i,...s}=n;
vendor: 9,475 bytes, line 40
40if(w.isValidElement(i)){const o=JC(i),a=ZC(s,i.props);return i.type!==w.Fragment&&(a.ref=r?p0(r,o):o),w.cloneElement(i,a)}return w.Children.count(i)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var m0=Symbol("radix.slottable");function qC(e){const t=({children:n})=>h.jsx(h.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=m0,t}function XC(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===m0}function ZC(e,t){const n={...t};for(const r in t){const i=e[r],s=t[r];/^on[A-Z]/.test(r)?i&&s?n[r]=(...a)=>{const l=s(...a);return i(...a),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...s}:r==="className"&&(n[r]=[i,s].filter(Boolean).join(" "))}return{...e,...n}}function JC(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function g0(e){const t=e+"CollectionProvider",[n,r]=Ji(t),[i,s]=n(t,{collectionRef:{current:null},itemMap:new Map}),o=v=>{const{scope:b,children:m}=v,g=D.useRef(null),y=D.useRef(new Map).current;return h.jsx(i,{scope:b,itemMap:y,collectionRef:g,children:m})};o.displayName=t;const a=e+"CollectionSlot",l=Za(a),u=D.forwardRef((v,b)=>{const{scope:m,children:g}=v,y=s(a,m),S=Et(b,y.collectionRef);return h.jsx(l,{ref:S,children:g})});u.displayName=a;const c=e+"CollectionItemSlot",d="data-radix-collection-item",f=Za(c),p=D.forwardRef((v,b)=>{const{scope:m,children:g,...y}=v,S=D.useRef(null),C=Et(b,S),E=s(c,m);return D.useEffect(()=>(E.itemMap.set(S,{ref:S,...y}),()=>void E.itemMap.delete(S))),h.jsx(f,{[d]:"",ref:C,children:g})});p.displayName=c;function x(v){const b=s(e+"CollectionConsumer",v);return D.useCallback(()=>{const g=b.collectionRef.current;if(!g)return[];const y=Array.from(g.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((E,P)=>y.indexOf(E.ref.current)-y.indexOf(P.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:o,Slot:u,ItemSlot:p},x,r]}var eE=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Te=eE.reduce((e,t)=>{const n=Za(`Primitive.${t}`),r=w.forwardRef((i,s)=>{const{asChild:o,...a}=i,l=o?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(l,{...a,ref:s})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function y0(e,t){e&&So.flushSync(()=>e.dispatchEvent(t))}function xn(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function tE(e,t=globalThis==null?void 0:globalThis.document){const n=xn(e);w.useEffect(()=>{const r=i=>{i.key==="Escape"&&n(i)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var nE="DismissableLayer",Hc="dismissableLayer.update",rE="dismissableLayer.pointerDownOutside",iE="dismissableLayer.focusOutside",Wp,v0=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Rf=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:o,onDismiss:a,...l}=e,u=w.useContext(v0),[c,d]=w.useState(null),f=(c==null?void 0:c.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=w.useState({}),x=Et(t,P=>d(P)),v=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),m=v.indexOf(b),g=c?v.indexOf(c):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,S=g>=m,C=oE(P=>{const T=P.target,j=[...u.branches].some(A=>A.contains(T));!S||j||(i==null||i(P),o==null||o(P),P.defaultPrevented||a==null||a())},f),E=aE(P=>{const T=P.target;[...u.branches].some(A=>A.contains(T))||(s==null||s(P),o==null||o(P),P.defaultPrevented||a==null||a())},f);return tE(P=>{g===u.layers.size-1&&(r==null||r(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},f),w.useEffect(()=>{if(c)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(Wp=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(c)),u.layers.add(c),Hp(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Wp)}},[c,f,n,u]),w.useEffect(()=>()=>{c&&(u.layers.delete(c),u.layersWithOutsidePointerEventsDisabled.delete(c),Hp())},[c,u]),w.useEffect(()=>{const P=()=>p({});return document.addEventListener(Hc,P),()=>document.removeEventListener(Hc,P)},[]),h.jsx(Te.div,{...l,ref:x,style:{pointerEvents:y?S?"auto":"none":void 0,...e.style},onFocusCapture:ie(e.onFocusCapture,E.onFocusCapture),onBlurCapture:ie(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:ie(e.onPointerDownCapture,C.onPointerDownCapture)})});Rf.displayName=nE;var sE="DismissableLayerBranch",x0=w.forwardRef((e,t)=>{const n=w.useContext(v0),r=w.useRef(null),i=Et(t,r);return w.useEffect(()=>{const s=r.current;if(s)return n.branches.add(s),()=>{n.branches.delete(s)}},[n.branches]),h.jsx(Te.div,{...e,ref:i})});x0.displayName=sE;function oE(e,t=globalThis==null?void 0:globalThis.document){const n=xn(e),r=w.useRef(!1),i=w.useRef(()=>{});return w.useEffect(()=>{const s=a=>{if(a.target&&!r.current){let l=function(){w0(rE,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",i.current),i.current=l,t.addEventListener("click",i.current,{once:!0})):l()}else t.removeEventListener("click",i.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",s)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",s),t.removeEventListener("click",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function aE(e,t=globalThis==null?void 0:globalThis.document){const n=xn(e),r=w.useRef(!1);return w.useEffect(()=>{const i=s=>{s.target&&!r.current&&w0(iE,n,{originalEvent:s},{discrete:!1})};return t.addEventListener("focusin",i),()=>t.removeEventListener("focusin",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function Hp(){const e=new CustomEvent(Hc);document.dispatchEvent(e)}function w0(e,t,n,{discrete:r}){const i=n.originalEvent.target,s=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?y0(i,s):i.dispatchEvent(s)}var lE=Rf,uE=x0,wn=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},cE="Portal",b0=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[i,s]=w.useState(!1);wn(()=>s(!0),[]);const o=n||i&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?f0.createPortal(h.jsx(Te.div,{...r,ref:t}),o):null});b0.displayName=cE;function dE(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var jl=e=>{const{present:t,children:n}=e,r=fE(t),i=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),s=Et(r.ref,hE(i));return typeof n=="function"||r.isPresent?w.cloneElement(i,{ref:s}):null};jl.displayName="Presence";function fE(e){const[t,n]=w.useState(),r=w.useRef(null),i=w.useRef(e),s=w.useRef("none"),o=e?"mounted":"unmounted",[a,l]=dE(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=Zo(r.current);s.current=a==="mounted"?u:"none"},[a]),wn(()=>{const u=r.current,c=i.current;if(c!==e){const f=s.current,p=Zo(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&f!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),wn(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=p=>{const v=Zo(r.current).includes(p.animationName);if(p.target===t&&v&&(l("ANIMATION_END"),!i.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},f=p=>{p.target===t&&(s.current=Zo(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:w.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Zo(e){return(e==null?void 0:e.animationName)||"none"}function hE(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var pE=Fd[" useInsertionEffect ".trim().toString()]||wn;function jf({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,s,o]=mE({defaultProp:t,onChange:n}),a=e!==void 0,l=a?e:i;{const c=w.useRef(e!==void 0);w.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=w.useCallback(c=>{var d;if(a){const f=gE(c)?c(e):c;f!==e&&((d=o.current)==null||d.call(o,f))}else s(c)}
40,[a,e,s,o]);return[l,u]}function mE({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),i=w.useRef(n),s=w.useRef(t);return pE(()=>{s.current=t},[t]),w.useEffect(()=>{var o;i.current!==n&&((o=s.current)==null||o.call(s,n),i.current=n)},[n,i]),[n,r,s]}function gE(e){return typeof e=="function"}var yE=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"}),vE="VisuallyHidden",Al=w.forwardRef((e,t)=>h.jsx(Te.span,{...e,ref:t,style:{...yE,...e.style}}));Al.displayName=vE;var xE=Al,Af="ToastProvider",[Mf,wE,bE]=g0("Toast"),[S0,aL]=Ji("Toast",[bE]),[SE,Ml]=S0(Af),C0=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:i="right",swipeThreshold:s=50,children:o}=e,[a,l]=w.useState(null),[u,c]=w.useState(0),d=w.useRef(!1),f=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${Af}\`. Expected non-empty \`string\`.`),h.jsx(Mf.Provider,{scope:t,children:h.jsx(SE,{scope:t,label:n,duration:r,swipeDirection:i,swipeThreshold:s,toastCount:u,viewport:a,onViewportChange:l,onToastAdd:w.useCallback(()=>c(p=>p+1),[]),onToastRemove:w.useCallback(()=>c(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:d,isClosePausedRef:f,children:o})})};C0.displayName=Af;var E0="ToastViewport",CE=["F8"],Kc="toast.viewportPause",Gc="toast.viewportResume",T0=w.forwardRef((e,t)=>{const{__scopeToast:n,hotkey:r=CE,label:i="Notifications ({hotkey})",...s}=e,o=Ml(E0,n),a=wE(n),l=w.useRef(null),u=w.useRef(null),c=w.useRef(null),d=w.useRef(null),f=Et(t,d,o.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=o.toastCount>0;w.useEffect(()=>{const b=m=>{var y;r.length!==0&&r.every(S=>m[S]||m.code===S)&&((y=d.current)==null||y.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),w.useEffect(()=>{const b=l.current,m=d.current;if(x&&b&&m){const g=()=>{if(!o.isClosePausedRef.current){const E=new CustomEvent(Kc);m.dispatchEvent(E),o.isClosePausedRef.current=!0}},y=()=>{if(o.isClosePausedRef.current){const E=new CustomEvent(Gc);m.dispatchEvent(E),o.isClosePausedRef.current=!1}},S=E=>{!b.contains(E.relatedTarget)&&y()},C=()=>{b.contains(document.activeElement)||y()};return b.addEventListener("focusin",g),b.addEventListener("focusout",S),b.addEventListener("pointermove",g),b.addEventListener("pointerleave",C),window.addEventListener("blur",g),window.addEventListener("focus",y),()=>{b.removeEventListener("focusin",g),b.removeEventListener("focusout",S),b.removeEventListener("pointermove",g),b.removeEventListener("pointerleave",C),window.removeEventListener("blur",g),window.removeEventListener("focus",y)}}},[x,o.isClosePausedRef]);const v=w.useCallback(({tabbingDirection:b})=>{const g=a().map(y=>{const S=y.ref.current,C=[S,...IE(S)];return b==="forwards"?C:C.reverse()});return(b==="forwards"?g.reverse():g).flat()},[a]);return w.useEffect(()=>{const b=d.current;if(b){const m=g=>{var C,E,P;const y=g.altKey||g.ctrlKey||g.metaKey;if(g.key==="Tab"&&!y){const T=document.activeElement,j=g.shiftKey;if(g.target===b&&j){(C=u.current)==null||C.focus();return}const I=v({tabbingDirection:j?"backwards":"forwards"}),U=I.findIndex(L=>L===T);Nu(I.slice(U+1))?g.preventDefault():j?(E=u.current)==null||E.focus():(P=c.current)==null||P.focus()}};return b.addEventListener("keydown",m),()=>b.removeEventListener("keydown",m)}},[a,v]),h.jsxs(uE,{ref:l,role:"region","aria-label":i.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&h.jsx(Qc,{ref:u,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"forwards"});Nu(b)}}),h.jsx(Mf.Slot,{scope:n,children:h.jsx(Te.ol,{tabIndex:-1,...s,ref:f})}),x&&h.jsx(Qc,{ref:c,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"backwards"});Nu(b)}})]})});T0.displayName=E0;var P0="ToastFocusProxy",Qc=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...i}=e,s=Ml(P0,n);return h.jsx(Al,{"aria-hidden":!0,tabIndex:0,...i,ref:t,style:{position:"fixed"},onFocus:o=>{var u;const a=o.relatedTarget;!((u=s.viewport)!=null&&u.contains(a))&&r()}})});Qc.displayName=P0;var Co="Toast",EE="toast.swipeStart",TE="toast.swipeMove",PE="toast.swipeCancel",kE="toast.swipeEnd",k0=w.forwardRef((e,t)=>
40{const{forceMount:n,open:r,defaultOpen:i,onOpenChange:s,...o}=e,[a,l]=jf({prop:r,defaultProp:i??!0,onChange:s,caller:Co});return h.jsx(jl,{present:n||a,children:h.jsx(jE,{open:a,...o,ref:t,onClose:()=>l(!1),onPause:xn(e.onPause),onResume:xn(e.onResume),onSwipeStart:ie(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:ie(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:ie(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:ie(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)})})})});k0.displayName=Co;var[NE,RE]=S0(Co,{onClose(){}}),jE=w.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:i,open:s,onClose:o,onEscapeKeyDown:a,onPause:l,onResume:u,onSwipeStart:c,onSwipeMove:d,onSwipeCancel:f,onSwipeEnd:p,...x}=e,v=Ml(Co,n),[b,m]=w.useState(null),g=Et(t,L=>m(L)),y=w.useRef(null),S=w.useRef(null),C=i||v.duration,E=w.useRef(0),P=w.useRef(C),T=w.useRef(0),{onToastAdd:j,onToastRemove:A}=v,_=xn(()=>{var Q;(b==null?void 0:b.contains(document.activeElement))&&((Q=v.viewport)==null||Q.focus()),o()}),I=w.useCallback(L=>{!L||L===1/0||(window.clearTimeout(T.current),E.current=new Date().getTime(),T.current=window.setTimeout(_,L))},[_]);w.useEffect(()=>{const L=v.viewport;if(L){const Q=()=>{I(P.current),u==null||u()},z=()=>{const B=new Date().getTime()-E.current;P.current=P.current-B,window.clearTimeout(T.current),l==null||l()};return L.addEventListener(Kc,z),L.addEventListener(Gc,Q),()=>{L.removeEventListener(Kc,z),L.removeEventListener(Gc,Q)}}},[v.viewport,C,l,u,I]),w.useEffect(()=>{s&&!v.isClosePausedRef.current&&I(C)},[s,C,v.isClosePausedRef,I]),w.useEffect(()=>(j(),()=>A()),[j,A]);const U=w.useMemo(()=>b?L0(b):null,[b]);return v.viewport?h.jsxs(h.Fragment,{children:[U&&h.jsx(AE,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:U}),h.jsx(NE,{scope:n,onClose:_,children:So.createPortal(h.jsx(Mf.ItemSlot,{scope:n,children:h.jsx(lE,{asChild:!0,onEscapeKeyDown:ie(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||_(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:h.jsx(Te.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":s?"open":"closed","data-swipe-direction":v.swipeDirection,...x,ref:g,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:ie(e.onKeyDown,L=>{L.key==="Escape"&&(a==null||a(L.nativeEvent),L.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,_()))}),onPointerDown:ie(e.onPointerDown,L=>{L.button===0&&(y.current={x:L.clientX,y:L.clientY})}),onPointerMove:ie(e.onPointerMove,L=>{if(!y.current)return;const Q=L.clientX-y.current.x,z=L.clientY-y.current.y,B=!!S.current,k=["left","right"].includes(v.swipeDirection),R=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,O=k?R(0,Q):0,W=k?0:R(0,z),$=L.pointerType==="touch"?10:2,Y={x:O,y:W},X={originalEvent:L,delta:Y};B?(S.current=Y,Jo(TE,d,X,{discrete:!1})):Kp(Y,v.swipeDirection,$)?(S.current=Y,Jo(EE,c,X,{discrete:!1}),L.target.setPointerCapture(L.pointerId)):(Math.abs(Q)>$||Math.abs(z)>$)&&(y.current=null)}),onPointerUp:ie(e.onPointerUp,L=>{const Q=S.current,z=L.target;if(z.hasPointerCapture(L.pointerId)&&z.releasePointerCapture(L.pointerId),S.current=null,y.current=null,Q){const B=L.currentTarget,k={originalEvent:L,delta:Q};Kp(Q,v.swipeDirection,v.swipeThreshold)?Jo(kE,p,k,{discrete:!0}):Jo(PE,f,k,{discrete:!0}),B.addEventListener("click",R=>R.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),AE=e=>{const{__scopeToast:t,children:n,...r}=e,i=Ml(Co,t),[s,o]=w.useState(!1),[a,l]=w.useState(!1);return LE(()=>o(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>l(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:h.jsx(b0,{asChild:!0,children:h.jsx(Al,{...r,children:s&&h.jsxs(h.Fragment,{children:[i.label," ",n]})})})},ME="ToastTitle",N0=w.forwardRef((e,t)=>
vendor: 8,242 bytes, lines 40-105
40{const{__scopeToast:n,...r}=e;return h.jsx(Te.div,{...r,ref:t})});N0.displayName=ME;var DE="ToastDescription",R0=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return h.jsx(Te.div,{...r,ref:t})});R0.displayName=DE;var j0="ToastAction",A0=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?h.jsx(D0,{altText:n,asChild:!0,children:h.jsx(Df,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${j0}\`. Expected non-empty \`string\`.`),null)});A0.displayName=j0;var M0="ToastClose",Df=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,i=RE(M0,n);return h.jsx(D0,{asChild:!0,children:h.jsx(Te.button,{type:"button",...r,ref:t,onClick:ie(e.onClick,i.onClose)})})});Df.displayName=M0;var D0=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...i}=e;return h.jsx(Te.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...i,ref:t})});function L0(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),OE(r)){const i=r.ariaHidden||r.hidden||r.style.display==="none",s=r.dataset.radixToastAnnounceExclude==="";if(!i)if(s){const o=r.dataset.radixToastAnnounceAlt;o&&t.push(o)}else t.push(...L0(r))}}),t}function Jo(e,t,n,{discrete:r}){const i=n.originalEvent.currentTarget,s=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?y0(i,s):i.dispatchEvent(s)}var Kp=(e,t,n=0)=>{const r=Math.abs(e.x),i=Math.abs(e.y),s=r>i;return t==="left"||t==="right"?s&&r>n:!s&&i>n};function LE(e=()=>{}){const t=xn(e);wn(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function OE(e){return e.nodeType===e.ELEMENT_NODE}function IE(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Nu(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var FE=C0,O0=T0,I0=k0,F0=N0,V0=R0,_0=A0,B0=Df;function z0(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=z0(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="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=z0(e))&&(r&&(r+=" "),r+=t);return r}const Gp=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Qp=$0,Lf=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Qp(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:s}=t,o=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],d=s==null?void 0:s[u];if(c===null)return null;const f=Gp(c)||Gp(d);return i[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,...p}=c;return Object.entries(p).every(x=>{let[v,b]=x;return Array.isArray(b)?b.includes({...s,...a}[v]):{...s,...a}[v]===b})?[...u,d,f]:u},[]);return Qp(e,o,l,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const VE=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),U0=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var _E={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const BE=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:s,iconNode:o,...a},l)=>w.createElement("svg",{ref:l,..._E,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:U0("lucide",i),...a},[...o.map(([u,c])=>w.createElement(u,c)),...Array.isArray(s)?s:[s]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const ye=(e,t)=>{const n=w.forwardRef(({className:r,...i},s)=>w.createElement(BE,{ref:s,iconNode:t,className:U0(`lucide-${VE(e)}`,r),...i}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const zE=ye("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const $E=ye("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const Yc=ye("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const UE=ye("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const WE=ye("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const HE=ye("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const Dl=ye("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const KE=ye("Coffee",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const GE=ye("Droplets",[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",ke
105y:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const QE=ye("Facebook",[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const YE=ye("Instagram",[["rect",{width:"20",height:"20",x:"2",y:"2",rx:"5",ry:"5",key:"2e1cvw"}],["path",{d:"M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z",key:"9exkf1"}],["line",{x1:"17.5",x2:"17.51",y1:"6.5",y2:"6.5",key:"r4j83e"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const Yp=ye("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"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const $e=ye("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"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const qE=ye("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"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const XE=ye("Music",[["path",{d:"M9 18V5l12-2v13",key:"1jmyc2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["circle",{cx:"18",cy:"16",r:"3",key:"1hluhg"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const ZE=ye("Palette",[["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["path",{d:"M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10c.926 0 1.648-.746 1.648-1.688 0-.437-.18-.835-.437-1.125-.29-.289-.438-.652-.438-1.125a1.64 1.64 0 0 1 1.668-1.668h1.996c3.051 0 5.555-2.503 5.555-5.554C21.965 6.012 17.461 2 12 2z",key:"12rzf8"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const JE=ye("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"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const Of=ye("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"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const eT=ye("Sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const qp=ye("TreePine",[["path",{d:"m17 14 3 3.3a1 1 0 0 1-.7 1.7H4.7a1 1 0 0 1-.7-1.7L7 14h-.3a1 1 0 0 1-.7-1.7L9 9h-.2A1 1 0 0 1 8 7.3L12 3l4 4.3a1 1 0 0 1-.8 1.7H15l3 3.3a1 1 0 0 1-.7 1.7H17Z",key:"cpyugq"}],["path",{d:"M12 22v-3",key:"kmzjlo"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const Xp=ye("Utensils",[["path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2",key:"cjf0a3"}],["path",{d:"M7 2v20",key:"1473qp"}
vendor: 12,926 bytes, lines 165-175
165],["path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7",key:"j28e5"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const tT=ye("Wine",[["path",{d:"M8 22h8",key:"rmew8v"}],["path",{d:"M7 10h10",key:"1101jm"}],["path",{d:"M12 15v7",key:"t2xh3l"}],["path",{d:"M12 15a5 5 0 0 0 5-5c0-2-.5-4-2-8H9c-1.5 4-2 6-2 8a5 5 0 0 0 5 5Z",key:"10ffi3"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const W0=ye("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),If="-",nT=e=>{const t=iT(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(If);return a[0]===""&&a.length!==1&&a.shift(),H0(a,t)||rT(o)},getConflictingClassGroupIds:(o,a)=>{const l=n[o]||[];return a&&r[o]?[...l,...r[o]]:l}}},H0=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?H0(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const s=e.join(If);return(o=t.validators.find(({validator:a})=>a(s)))==null?void 0:o.classGroupId},Zp=/^\[(.+)\]$/,rT=e=>{if(Zp.test(e)){const t=Zp.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},iT=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return oT(Object.entries(e.classGroups),n).forEach(([s,o])=>{qc(o,r,s,t)}),r},qc=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const s=i===""?t:Jp(t,i);s.classGroupId=n;return}if(typeof i=="function"){if(sT(i)){qc(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([s,o])=>{qc(o,Jp(t,s),n,r)})})},Jp=(e,t)=>{let n=e;return t.split(If).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},sT=e=>e.isThemeGetter,oT=(e,t)=>t?e.map(([n,r])=>{const i=r.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([o,a])=>[t+o,a])):s);return[n,i]}):e,aT=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(s,o)=>{n.set(s,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(s){let o=n.get(s);if(o!==void 0)return o;if((o=r.get(s))!==void 0)return i(s,o),o},set(s,o){n.has(s)?n.set(s,o):i(s,o)}}},K0="!",lT=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,i=t[0],s=t.length,o=a=>{const l=[];let u=0,c=0,d;for(let b=0;b<a.length;b++){let m=a[b];if(u===0){if(m===i&&(r||a.slice(b,b+s)===t)){l.push(a.slice(c,b)),c=b+s;continue}if(m==="/"){d=b;continue}}m==="["?u++:m==="]"&&u--}const f=l.length===0?a:a.substring(c),p=f.startsWith(K0),x=p?f.substring(1):f,v=d&&d>c?d-c:void 0;return{modifiers:l,hasImportantModifier:p,baseClassName:x,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:o}):o},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:i}=t,s=[],o=e.trim().split(dT);let a="";for(let l=o.length-1;l>=0;l-=1){const u=o[l],{modifiers:c,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(u);let x=!!p,v=r(x?f.substring(0,p):f);if(!v){if(!x){a=u+(a.length>0?" "+a:a);continue}if(v=r(f),!v){a=u+(a.length>0?" "+a:a);continue}x=!1}const b=uT(c).join(":"),m=d?b+K0:b,g=m+v;if(s.includes(g))continue;s.push(g);const y=i(v,x);for(let S=0;S<y.length;++S){const C=y[S];s.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=G0(t))&&(r&&(r+=" "),r+=n);return r}const G0=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=G0(e[r]))&&(n&&(n+=" "),n+=t);return n};function pT(e,...t){let n,r,i,s=o;function o(l){const u=t.reduce((c,d)=>d(c),e());return n=cT(u),r=n.cache.get,i=n.cache.set,s=a,a(l)}function a(l){const u=r(l);if(u)return u;const c=fT(l,n);return i(l,c),c}return function(){return s(hT.apply(null,arguments))}}const ae=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Q0=/^\[(?:([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)/,bT=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,an=e=>ki(e)||gT.has(e)||mT.test(e),Mn=e=>es(e,"length",RT),ki=e=>!!e&&!Number.isNaN(Number(e)),Ru=e=>es(e,"number",ki),ys=e=>!!e&&Number.isInteger(Number(e)),ST=e=>e.endsWith("%")&&ki(e.slice(0,-1)),G=e=>Q0.test(e),Dn=e=>yT.test(e),CT=new Set(["length","size","percentage"]),ET=e=>es(e,CT,Y0),TT=e=>es(e,"position",Y0),PT=new Set(["image","url"]),kT=e=>es(e,PT,AT),NT=e=>es(e,"",jT),vs=()=>!0,es=(e,t,n)=>{const r=Q0.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),Y0=()=>!1,jT=e=>wT.test(e),AT=e=>bT.test(e),MT=()=>{const e=ae("colors"),t=ae("spacing"),n=ae("blur"),r=ae("brightness"),i=ae("borderColor"),s=ae("borderRadius"),o=ae("borderSpacing"),a=ae("borderWidth"),l=ae("contrast"),u=ae("grayscale"),c=ae("hueRotate"),d=ae("invert"),f=ae("gap"),p=ae("gradientColorStops"),x=ae("gradientColorStopPositions"),v=ae("inset"),b=ae("margin"),m=ae("opacity"),g=ae("padding"),y=ae("saturate"),S=ae("scale"),C=ae("sepia"),E=ae("skew"),P=ae("space"),T=ae("translate"),j=()=>["auto","contain","none"],A=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto",G,t],I=()=>[G,t],U=()=>["",an,Mn],L=()=>["auto",ki,G],Q=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],z=()=>["solid","dashed","dotted","double","none"],B=()=>["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",G],O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],W=()=>[ki,G];return{cacheSize:500,separator:":",theme:{colors:[vs],spacing:[an,Mn],blur:["none","",Dn,G],brightness:W(),borderColor:[e],borderRadius:["none","","full",Dn,G],borderSpacing:I(),borderWidth:U(),contrast:W(),grayscale:R(),hueRotate:W(),invert:R(),gap:I(),gradientColorStops:[e],gradientColorStopPositions:[ST,Mn],inset:_(),margin:_(),opacity:W(),padding:I(),saturate:W(),scale:W(),sepia:R(),skew:W(),space:I(),translate:I()},classGroups:{aspect:[{aspect:["auto","square","video",G]}],container:["container"],columns:[{columns:[Dn]}],"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:[...Q(),G]}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ys,G]}],basis:[{basis:_()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",G]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",ys,G]}],"grid-cols":[{"grid-cols":[vs]}],"col-start-end":[{col:["auto",{span:["full",ys,G]},G]}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":[vs]}],"row-start-end":[{row:["auto",{span:[ys,G]},G]}],"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",G]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",G]}],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:[g]}],px:[{px:[g]}],py:[{py:[g]}],ps:[{ps:[g]}],pe:[{pe:[g]}],pt:[{pt:[g]}],pr:[{pr:[g]}],pb:[{pb:[g]}],pl:[{pl:[g]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"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",G,t]}],"min-w":[{"min-w":[G,t,"min","max","fit"]}],"max-w":[{"max-w":[G,t,"none","full","min","max","fit","prose",{screen:[Dn]},Dn]}],h:[{h:[G,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[G,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[G,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Dn,Mn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ru]}],"font-family":[{font:[vs]}],"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",G]}],"line-clamp":[{"line-clamp":["none",ki,Ru]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",an,G]}],"list-image":[{"list-image":["none",G]}],"list-style-type":[{list:["none","disc","decimal",G]}],"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:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",an,Mn]}],"underline-offset":[{"underline-offset":["auto",an,G]}],"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:I()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",G]}],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",G]}],"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:[...Q(),TT]}],"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:[x]}
vendor: 5,172 bytes, line 175
175],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"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:[...z(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[m]}],"divide-style":[{divide:z()}],"border-color":[{border:[i]}],"border-color-x":[{"border-x":[i]}],"border-color-y":[{"border-y":[i]}],"border-color-s":[{"border-s":[i]}],"border-color-e":[{"border-e":[i]}],"border-color-t":[{"border-t":[i]}],"border-color-r":[{"border-r":[i]}],"border-color-b":[{"border-b":[i]}],"border-color-l":[{"border-l":[i]}],"divide-color":[{divide:[i]}],"outline-style":[{outline:["",...z()]}],"outline-offset":[{"outline-offset":[an,G]}],"outline-w":[{outline:[an,Mn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[m]}],"ring-offset-w":[{"ring-offset":[an,Mn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Dn,NT]}],"shadow-color":[{shadow:[vs]}],opacity:[{opacity:[m]}],"mix-blend":[{"mix-blend":[...B(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":B()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Dn,G]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[d]}],saturate:[{saturate:[y]}],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":[y]}],"backdrop-sepia":[{"backdrop-sepia":[C]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",G]}],duration:[{duration:W()}],ease:[{ease:["linear","in","out","in-out",G]}],delay:[{delay:W()}],animate:[{animate:["none","spin","ping","pulse","bounce",G]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[S]}],"scale-x":[{"scale-x":[S]}],"scale-y":[{"scale-y":[S]}],rotate:[{rotate:[ys,G]}],"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",G]}],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",G]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":I()}],"scroll-mx":[{"scroll-mx":I()}],"scroll-my":[{"scroll-my":I()}],"scroll-ms":[{"scroll-ms":I()}],"scroll-me":[{"scroll-me":I()}],"scroll-mt":[{"scroll-mt":I()}],"scroll-mr":[{"scroll-mr":I()}],"scroll-mb":[{"scroll-mb":I()}],"scroll-ml":[{"scroll-ml":I()}],"scroll-p":[{"scroll-p":I()}],"scroll-px":[{"scroll-px":I()}],"scroll-py":[{"scroll-py":I()}],"scroll-ps":[{"scroll-ps":I()}],"scroll-pe":[{"scroll-pe":I()}],"scroll-pt":[{"scroll-pt":I()}],"scroll-pr":[{"scroll-pr":I()}],"scroll-pb":[{"scroll-pb":I()}],"scroll-pl":[{"scroll-pl":I()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 175
175],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",G]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[an,Mn,Ru]}],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 Ae(...e){return DT($0(e))}const LT=FE,q0=w.forwardRef(({className:e,...t},n)=>h.jsx(O0,{ref:n,className:Ae("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}));q0.displayName=O0.displayName;const OT=Lf("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"}}),X0=w.forwardRef(({className:e,variant:t,...n},r)=>h.jsx(I0,{ref:r,className:Ae(OT({variant:t}),e),...n}));X0.displayName=I0.displayName;const IT=w.forwardRef(({className:e,...t},n)=>h.jsx(_0,{ref:n,className:Ae("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}));IT.displayName=_0.displayName;const Z0=w.forwardRef(({className:e,...t},n)=>h.jsx(B0,{ref:n,className:Ae("absolute right-2 top-2 rounded-md p-1 text-foreground
175/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:h.jsx(W0,{className:"h-4 w-4"})}));Z0.displayName=B0.displayName;const J0=w.forwardRef(({className:e,...t},n)=>h.jsx(F0,{ref:n,className:Ae("text-sm font-semibold",e),...t}));J0.displayName=F0.displayName;const ex=w.forwardRef(({className:e,...t},n)=>h.jsx(V0,{ref:n,className:Ae("text-sm opacity-90",e),...t}));ex.displayName=V0.displayName;function FT(){const{toasts:e}=KC();return h.jsxs(LT,{children:[e.map(function({id:t,title:n,description:r,action:i,...s}){return h.jsxs(X0,{...s,children:[h.jsxs("div",{className:"grid gap-1",children:[n&&h.jsx(J0,{children:n}),r&&h.jsx(ex,{children:r})]}),i,h.jsx(Z0,{})]},t)}),h.jsx(q0,{})]})}var em=["light","dark"],VT="(prefers-color-scheme: dark)",_T=w.createContext(void 0),BT={setTheme:e=>{},themes:[]},zT=()=>{var e;return(e=w.useContext(_T))!=null?e:BT};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:i,defaultTheme:s,value:o,attrs:a,nonce:l})=>{let u=s==="system",c=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,d=i?em.includes(s)&&s?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${s}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",f=(x,v=!1,b=!0)=>{let m=o?o[x]:x,g=v?x+"|| ''":`'${m}'`,y="";return i&&b&&!v&&em.includes(x)&&(y+=`d.style.colorScheme = '${x}';`),n==="class"?v||m?y+=`c.add(${g})`:y+="null":m&&(y+=`d[s](n,${g})`),y},p=e?`!function(){${c}${f(e)}}()`:r?`!function(){try{${c}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${VT}',m=window.matchMedia(t);if(m.media!==t||m.matches){${f("dark")}}else{${f("light")}}}else if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}${u?"":"else{"+f(s,!1,!1)+"}"}${d}}catch(e){}}()`:`!function(){try{${c}var e=localStorage.getItem('${t}');if(e){${o?`var x=${JSON.stringify(o)};`:""}${f(o?"x[e]":"e",!0)}}else{${f(s,!1,!1)};}${d}}catch(t){}}();`;return w.createElement("script",{nonce:l,dangerouslySetInnerHTML:{__html:p}})});var $T=e=>{switch(e){case"success":return HT;case"info":return GT;case"warning":return KT;case"error":return QT;default:return null}},UT=Array(12).fill(0),WT=({visible:e,className:t})=>D.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},D.createElement("div",{className:"sonner-spinner"},UT.map((n,r)=>D.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),HT=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"})),KT=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"})),GT=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"})),QT=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"})),YT=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"})),qT=()=>{let[e,t]=D.useState(document.hidden);return D.useEffect(()=>{let n=()=>{t(document.hidden)};
175return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},Xc=1,XT=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,i=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:Xc++,s=this.toasts.find(a=>a.id===i),o=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(i)&&this.dismissedToasts.delete(i),s?this.toasts=this.toasts.map(a=>a.id===i?(this.publish({...a,...e,id:i,title:n}),{...a,...e,id:i,dismissible:o,title:n}):a):this.addToast({title:n,...r,dismissible:o,id:i}),i},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
175this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),i=n!==void 0,s,o=r.then(async l=>{if(s=["resolve",l],D.isValidElement(l))i=!1,this.create({id:n,type:"default",message:l});else if(JT(l)&&!l.ok){i=!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){i=!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(s=["reject",l],t.error!==void 0){i=!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;i&&(this.dismiss(n),n=void 0),(l=t.finally)==null||l.call(t)}),a=()=>new Promise((l,u)=>o.then(()=>s[0]==="reject"?u(s[1]):l(s[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)||Xc++;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}},Je=new XT,ZT=(e,t)=>{let n=(t==null?void 0:t.id)||Xc++;return Je.addToast({title:e,...t,id:n}),n},JT=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",eP=ZT,tP=()=>Je.toasts,nP=()=>Je.getActiveToasts();Object.assign(eP,{success:Je.success,info:Je.info,warning:Je.warning,error:Je.error,custom:Je.custom,message:Je.message,promise:Je.promise,dismiss:Je.dismiss,loading:Je.loading},{getHistory:tP,getToasts:nP});function rP(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))}rP(`: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;
175left: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}
175: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%);
175--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%)}
176`);function ea(e){return e.label!==void 0}var iP=3,sP="32px",oP="16px",tm=4e3,aP=356,lP=14,uP=20,cP=200;function Rt(...e){return e.filter(Boolean).join(" ")}function dP(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var fP=e=>{var t,n,r,i,s,o,a,l,u,c,d;let{invert:f,toast:p,unstyled:x,interacting:v,setHeights:b,visibleToasts:m,heights:g,index:y,toasts:S,expanded:C,removeToast:E,defaultRichColors:P,closeButton:T,style:j,cancelButtonStyle:A,actionButtonStyle:_,className:I="",descriptionClassName:U="",duration:L,position:Q,gap:z,loadingIcon:B,expandByDefault:k,classNames:R,icons:O,closeButtonAriaLabel:W="Close toast",pauseWhenPageIsHidden:$}=e,[Y,X]=D.useState(null),[be,Ie]=D.useState(null),[te,Yr]=D.useState(!1),[Tn,gr]=D.useState(!1),[Pn,qr]=D.useState(!1),[kn,Ao]=D.useState(!1),[Yl,Mo]=D.useState(!1),[ql,as]=D.useState(0),[Xr,Ph]=D.useState(0),ls=D.useRef(p.duration||L||tm),kh=D.useRef(null),yr=D.useRef(null),ob=y===0,ab=y+1<=m,ht=p.type,Zr=p.dismissible!==!1,lb=p.className||"",ub=p.descriptionClassName||"",Do=D.useMemo(()=>g.findIndex(H=>H.toastId===p.id)||0,[g,p.id]),cb=D.useMemo(()=>{var H;return(H=p.closeButton)!=null?H:T},[p.closeButton,T]),Nh=D.useMemo(()=>p.duration||L||tm,[p.duration,L]),Xl=D.useRef(0),Jr=D.useRef(0),Rh=D.useRef(0),ei=D.useRef(null),[db,fb]=Q.split("-"),jh=D.useMemo(()=>g.reduce((H,re,ce)=>ce>=Do?H:H+re.height,0),[g,Do]),Ah=qT(),hb=p.invert||f,Zl=ht==="loading";Jr.current=D.useMemo(()=>Do*z+jh,[Do,jh]),D.useEffect(()=>{ls.current=Nh},[Nh]),D.useEffect(()=>{Yr(!0)},[]),D.useEffect(()=>{let H=yr.current;if(H){let re=H.getBoundingClientRect().height;return Ph(re),b(ce=>[{toastId:p.id,height:re,position:p.position},...ce]),()=>b(ce=>ce.filter(Tt=>Tt.toastId!==p.id))}},[b,p.id]),D.useLayoutEffect(()=>{if(!te)return;let H=yr.current,re=H.style.height;H.style.height="auto";let ce=H.getBoundingClientRect().height;H.style.height=re,Ph(ce),b(Tt=>Tt.find(Pt=>Pt.toastId===p.id)?Tt.map(Pt=>Pt.toastId===p.id?{...Pt,height:ce}:Pt):[{toastId:p.id,height:ce,position:p.position},...Tt])},[te,p.title,p.description,b,p.id]);let Nn=D.useCallback(()=>{gr(!0),as(Jr.current),b(H=>H.filter(re=>re.toastId!==p.id)),setTimeout(()=>{E(p)},cP)},[p,E,b,Jr]);D.useEffect(()=>{if(p.promise&&ht==="loading"||p.duration===1/0||p.type==="loading")return;let H;return C||v||$&&Ah?(()=>{if(Rh.current<Xl.current){let re=new Date().getTime()-Xl.current;ls.current=ls.current-re}
176Rh.current=new Date().getTime()})():ls.current!==1/0&&(Xl.current=new Date().getTime(),H=setTimeout(()=>{var re;(re=p.onAutoClose)==null||re.call(p,p),Nn()},ls.current)),()=>clearTimeout(H)},[C,v,p,ht,$,Ah,Nn]),D.useEffect(()=>{p.delete&&Nn()},[Nn,p.delete]);function pb(){var H,re,ce;return O!=null&&O.loading?D.createElement("div",{className:Rt(R==null?void 0:R.loader,(H=p==null?void 0:p.classNames)==null?void 0:H.loader,"sonner-loader"),"data-visible":ht==="loading"},O.loading):B?D.createElement("div",{className:Rt(R==null?void 0:R.loader,(re=p==null?void 0:p.classNames)==null?void 0:re.loader,"sonner-loader"),"data-visible":ht==="loading"},B):D.createElement(WT,{className:Rt(R==null?void 0:R.loader,(ce=p==null?void 0:p.classNames)==null?void 0:ce.loader),visible:ht==="loading"})}return D.createElement("li",{tabIndex:0,ref:yr,className:Rt(I,lb,R==null?void 0:R.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,R==null?void 0:R.default,R==null?void 0:R[ht],(n=p==null?void 0:p.classNames)==null?void 0:n[ht]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:P,"data-styled":!(p.jsx||p.unstyled||x),"data-mounted":te,"data-promise":!!p.promise,"data-swiped":Yl,"data-removed":Tn,"data-visible":ab,"data-y-position":db,"data-x-position":fb,"data-index":y,"data-front":ob,"data-swiping":Pn,"data-dismissible":Zr,"data-type":ht,"data-invert":hb,"data-swipe-out":kn,"data-swipe-direction":be,"data-expanded":!!(C||k&&te),style:{"--index":y,"--toasts-before":y,"--z-index":S.length-y,"--offset":`${Tn?ql:Jr.current}px`,"--initial-height":k?"auto":`${Xr}px`,...j,...p.style},onDragEnd:()=>{qr(!1),X(null),ei.current=null},onPointerDown:H=>{Zl||!Zr||(kh.current=new Date,as(Jr.current),H.target.setPointerCapture(H.pointerId),H.target.tagName!=="BUTTON"&&(qr(!0),ei.current={x:H.clientX,y:H.clientY}))},onPointerUp:()=>{var H,re,ce,Tt;if(kn||!Zr)return;ei.current=null;let Pt=Number(((H=yr.current)==null?void 0:H.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Rn=Number(((re=yr.current)==null?void 0:re.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),vr=new Date().getTime()-((ce=kh.current)==null?void 0:ce.getTime()),kt=Y==="x"?Pt:Rn,jn=Math.abs(kt)/vr;if(Math.abs(kt)>=uP||jn>.11){as(Jr.current),(Tt=p.onDismiss)==null||Tt.call(p,p),Ie(Y==="x"?Pt>0?"right":"left":Rn>0?"down":"up"),Nn(),Ao(!0),Mo(!1);return}qr(!1),X(null)},onPointerMove:H=>{var re,ce,Tt,Pt;if(!ei.current||!Zr||((re=window.getSelection())==null?void 0:re.toString().length)>0)return;let Rn=H.clientY-ei.current.y,vr=H.clientX-ei.current.x,kt=(ce=e.swipeDirections)!=null?ce:dP(Q);!Y&&(Math.abs(vr)>1||Math.abs(Rn)>1)&&X(Math.abs(vr)>Math.abs(Rn)?"x":"y");let jn={x:0,y:0};Y==="y"?(kt.includes("top")||kt.includes("bottom"))&&(kt.includes("top")&&Rn<0||kt.includes("bottom")&&Rn>0)&&(jn.y=Rn):Y==="x"&&(kt.includes("left")||kt.includes("right"))&&(kt.includes("left")&&vr<0||kt.includes("right")&&vr>0)&&(jn.x=vr),(Math.abs(jn.x)>0||Math.abs(jn.y)>0)&&Mo(!0),(Tt=yr.current)==null||Tt.style.setProperty("--swipe-amount-x",`${jn.x}px`),(Pt=yr.current)==null||Pt.style.setProperty("--swipe-amount-y",`${jn.y}px`)}},cb&&!p.jsx?D.createElement("button",{"aria-label":W,"data-disabled":Zl,"data-close-button":!0,onClick:Zl||!Zr?()=>{}:()=>{var H;Nn(),(H=p.onDismiss)==null||H.call(p,p)},className:Rt(R==null?void 0:R.closeButton,(i=p==null?void 0:p.classNames)==null?void 0:i.closeButton)},(s=O==null?void 0:O.close)!=null?s:YT):null,p.jsx||w.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:D.createElement(D.Fragment,null,ht||p.icon||p.promise?D.createElement("div",{"data-icon":"",className:Rt(R==null?void 0:R.icon,(o=p==null?void 0:p.classNames)==null?void 0:o.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||pb():null,p.type!=="loading"?p.icon||(O==null?void 0:O[ht])||$T(ht):null):null,D.createElement("div",{"data-content":"",className:Rt(R==null?void 0:R.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},D.createElement("div",{"data-title":"",className:Rt(R==null?void 0:R.title,(l=p==null?void 0:p.classNames)==null?void 0:l.title)},typeof p.title=="function"?p.title():p.title),p.description?D.createElement("div",{"data-description":"",className:Rt(U,ub,R==null?void 0:R.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),w.isValidElement(p.cancel)?p.cancel:p.cancel&&ea(p.cancel)?D.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||A,onClick:H=>{var re,ce;ea(p.cancel)&&Zr&&((ce=(re=p.cancel).onClick)==null||ce.call(re,H),Nn())},className:Rt(R==null?void 0:R.cancelButton,(c=p==null?void 0:p.classNames)==null?void 0:c.cancelButton)},p.cancel.label):null,w.isValidElement(p.action)?p.action:p.action&&ea(p.action)?D.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||_,onClick:H=>{var re,ce;ea(p.action)&&((ce=(re=p.action).onClick)==null||ce.call(re,H),!H.defaultPrevented&&Nn())},className:Rt(R==null?void 0:R.actionButton,(d=p==null?void 0:p.classNames)==null?void 0:d.actionButton)},p.action.label):null))};
vendor: 5,407 bytes, line 176
176function nm(){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 hP(e,t){let n={};return[e,t].forEach((r,i)=>{let s=i===1,o=s?"--mobile-offset":"--offset",a=s?oP:sP;function l(u){["top","right","bottom","left"].forEach(c=>{n[`${o}-${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[`${o}-${u}`]=a:n[`${o}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):l(a)}),n}var pP=w.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:i=["altKey","KeyT"],expand:s,closeButton:o,className:a,offset:l,mobileOffset:u,theme:c="light",richColors:d,duration:f,style:p,visibleToasts:x=iP,toastOptions:v,dir:b=nm(),gap:m=lP,loadingIcon:g,icons:y,containerAriaLabel:S="Notifications",pauseWhenPageIsHidden:C}=e,[E,P]=D.useState([]),T=D.useMemo(()=>Array.from(new Set([r].concat(E.filter($=>$.position).map($=>$.position)))),[E,r]),[j,A]=D.useState([]),[_,I]=D.useState(!1),[U,L]=D.useState(!1),[Q,z]=D.useState(c!=="system"?c:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),B=D.useRef(null),k=i.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=D.useRef(null),O=D.useRef(!1),W=D.useCallback($=>{P(Y=>{var X;return(X=Y.find(be=>be.id===$.id))!=null&&X.delete||Je.dismiss($.id),Y.filter(({id:be})=>be!==$.id)})},[]);return D.useEffect(()=>Je.subscribe($=>{if($.dismiss){P(Y=>Y.map(X=>X.id===$.id?{...X,delete:!0}:X));return}setTimeout(()=>{f0.flushSync(()=>{P(Y=>{let X=Y.findIndex(be=>be.id===$.id);return X!==-1?[...Y.slice(0,X),{...Y[X],...$},...Y.slice(X+1)]:[$,...Y]})})})}),[]),D.useEffect(()=>{if(c!=="system"){z(c);return}if(c==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?z("dark"):z("light")),typeof window>"u")return;let $=window.matchMedia("(prefers-color-scheme: dark)");try{$.addEventListener("change",({matches:Y})=>{z(Y?"dark":"light")})}catch{$.addListener(({matches:X})=>{try{z(X?"dark":"light")}catch(be){console.error(be)}})}},[c]),D.useEffect(()=>{E.length<=1&&I(!1)},[E]),D.useEffect(()=>{let $=Y=>{var X,be;i.every(Ie=>Y[Ie]||Y.code===Ie)&&(I(!0),(X=B.current)==null||X.focus()),Y.code==="Escape"&&(document.activeElement===B.current||(be=B.current)!=null&&be.contains(document.activeElement))&&I(!1)};return document.addEventListener("keydown",$),()=>document.removeEventListener("keydown",$)},[i]),D.useEffect(()=>{if(B.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,O.current=!1)}},[B.current]),D.createElement("section",{ref:t,"aria-label":`${S} ${k}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map(($,Y)=>{var X;let[be,Ie]=$.split("-");return E.length?D.createElement("ol",{key:$,dir:b==="auto"?nm():b,tabIndex:-1,ref:B,className:a,"data-sonner-toaster":!0,"data-theme":Q,"data-y-position":be,"data-lifted":_&&E.length>1&&!s,"data-x-position":Ie,style:{"--front-toast-height":`${((X=j[0])==null?void 0:X.height)||0}px`,"--width":`${aP}px`,"--gap":`${m}px`,...p,...hP(l,u)},onBlur:te=>{O.current&&!te.currentTarget.contains(te.relatedTarget)&&(O.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||O.current||(O.current=!0,R.current=te.relatedTarget)},onMouseEnter:()=>I(!0),onMouseMove:()=>I(!0),onMouseLeave:()=>{U||I(!1)},onDragEnd:()=>I(!1),onPointerDown:te=>{te.target instanceof HTMLElement&&te.target.dataset.dismissible==="false"||L(!0)},onPointerUp:()=>L(!1)},E.filter(te=>!te.position&&Y===0||te.position===$).map((te,Yr)=>{var Tn,gr;return D.createElement(fP,{key:te.id,icons:y,index:Yr,toast:te,defaultRichColors:d,duration:(Tn=v==null?void 0:v.duration)!=null?Tn:f,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:x,closeButton:(gr=v==null?void 0:v.closeButton)!=null?gr:o,interacting:U,position:$,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:W,toasts:E.filter(Pn=>Pn.position==te.position),heights:j.filter(Pn=>Pn.position==te.position),setHeights:A,expandByDefault:s,gap:m,loadingIcon:g,expanded:_,pauseWhenPageIsHidden:C,swipeDirections:e.swipeDirections})})):null}))});const mP=({...e})=>{const{theme:t="system"}=zT();return h.jsx(pP,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})};var gP=Fd[" useId ".trim().toString()]||(()=>{}),yP=0;function tx(e){const[t,n]=w.useState(gP());return wn(()=>{e||n(r=>r??String(yP++))},[e]),e||(t?`radix-${t}`:"")}const vP=["top","right","bottom","left"],ar=Math.min,ot=Math.max,Ja=Math.round,ta=Math.floor,lr=e=>({x:e,y:e}
vendor: 4,293 bytes, line 176
176),xP={left:"right",right:"left",bottom:"top",top:"bottom"},wP={start:"end",end:"start"};function Zc(e,t,n){return ot(e,ar(t,n))}function bn(e,t){return typeof e=="function"?e(t):e}function Sn(e){return e.split("-")[0]}function ts(e){return e.split("-")[1]}function Ff(e){return e==="x"?"y":"x"}function Vf(e){return e==="y"?"height":"width"}function ur(e){return["top","bottom"].includes(Sn(e))?"y":"x"}function _f(e){return Ff(ur(e))}function bP(e,t,n){n===void 0&&(n=!1);const r=ts(e),i=_f(e),s=Vf(i);let o=i==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(o=el(o)),[o,el(o)]}function SP(e){const t=el(e);return[Jc(e),t,Jc(t)]}function Jc(e){return e.replace(/start|end/g,t=>wP[t])}function CP(e,t,n){const r=["left","right"],i=["right","left"],s=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?i:r:t?r:i;case"left":case"right":return t?s:o;default:return[]}}function EP(e,t,n,r){const i=ts(e);let s=CP(Sn(e),n==="start",r);return i&&(s=s.map(o=>o+"-"+i),t&&(s=s.concat(s.map(Jc)))),s}function el(e){return e.replace(/left|right|bottom|top/g,t=>xP[t])}function TP(e){return{top:0,right:0,bottom:0,left:0,...e}}function nx(e){return typeof e!="number"?TP(e):{top:e,right:e,bottom:e,left:e}}function tl(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function rm(e,t,n){let{reference:r,floating:i}=e;const s=ur(t),o=_f(t),a=Vf(o),l=Sn(t),u=s==="y",c=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[a]/2-i[a]/2;let p;switch(l){case"top":p={x:c,y:r.y-i.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(ts(t)){case"start":p[o]-=f*(n&&u?-1:1);break;case"end":p[o]+=f*(n&&u?-1:1);break}return p}const PP=async(e,t,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,a=s.filter(Boolean),l=await(o.isRTL==null?void 0:o.isRTL(t));let u=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=rm(u,r,l),f=r,p={},x=0;for(let v=0;v<a.length;v++){const{name:b,fn:m}=a[v],{x:g,y,data:S,reset:C}=await m({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:p,rects:u,platform:o,elements:{reference:e,floating:t}});c=g??c,d=y??d,p={...p,[b]:{...p[b],...S}},C&&x<=50&&(x++,typeof C=="object"&&(C.placement&&(f=C.placement),C.rects&&(u=C.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):C.rects),{x:c,y:d}=rm(u,f,l)),v=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:p}};async function ro(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:s,rects:o,elements:a,strategy:l}=e,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=bn(t,e),x=nx(p),b=a[f?d==="floating"?"reference":"floating":d],m=tl(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(b)))==null||n?b:b.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(a.floating)),boundary:u,rootBoundary:c,strategy:l})),g=d==="floating"?{x:r,y:i,width:o.floating.width,height:o.floating.height}:o.reference,y=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a.floating)),S=await(s.isElement==null?void 0:s.isElement(y))?await(s.getScale==null?void 0:s.getScale(y))||{x:1,y:1}:{x:1,y:1},C=tl(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:g,offsetParent:y,strategy:l}):g);return{top:(m.top-C.top+x.top)/S.y,bottom:(C.bottom-m.bottom+x.bottom)/S.y,left:(m.left-C.left+x.left)/S.x,right:(C.right-m.right+x.right)/S.x}}const kP=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:i,rects:s,platform:o,elements:a,middlewareData:l}=t,{element:u,padding:c=0}=bn(e,t)||{};if(u==null)return{};const d=nx(c),f={x:n,y:r},p=_f(i),x=Vf(p),v=await o.getDimensions(u),b=p==="y",m=b?"top":"left",g=b?"bottom":"right",y=b?"clientHeight":"clientWidth",S=s.reference[x]+s.reference[p]-f[p]-s.floating[x],C=f[p]-s.reference[p],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(u));let P=E?E[y]:0;(!P||!await(o.isElement==null?void 0:o.isElement(E)))&&(P=a.floating[y]||s.floating[x]);
vendor: 4,631 bytes, line 176
176const T=S/2-C/2,j=P/2-v[x]/2-1,A=ar(d[m],j),_=ar(d[g],j),I=A,U=P-v[x]-_,L=P/2-v[x]/2+T,Q=Zc(I,L,U),z=!l.arrow&&ts(i)!=null&&L!==Q&&s.reference[x]/2-(L<I?A:_)-v[x]/2<0,B=z?L<I?L-I:L-U:0;return{[p]:f[p]+B,data:{[p]:Q,centerOffset:L-Q-B,...z&&{alignmentOffset:B}},reset:z}}}),NP=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:i,middlewareData:s,rects:o,initialPlacement:a,platform:l,elements:u}=t,{mainAxis:c=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:v=!0,...b}=bn(e,t);if((n=s.arrow)!=null&&n.alignmentOffset)return{};const m=Sn(i),g=ur(a),y=Sn(a)===a,S=await(l.isRTL==null?void 0:l.isRTL(u.floating)),C=f||(y||!v?[el(a)]:SP(a)),E=x!=="none";!f&&E&&C.push(...EP(a,v,x,S));const P=[a,...C],T=await ro(t,b),j=[];let A=((r=s.flip)==null?void 0:r.overflows)||[];if(c&&j.push(T[m]),d){const L=bP(i,o,S);j.push(T[L[0]],T[L[1]])}if(A=[...A,{placement:i,overflows:j}],!j.every(L=>L<=0)){var _,I;const L=(((_=s.flip)==null?void 0:_.index)||0)+1,Q=P[L];if(Q)return{data:{index:L,overflows:A},reset:{placement:Q}};let z=(I=A.filter(B=>B.overflows[0]<=0).sort((B,k)=>B.overflows[1]-k.overflows[1])[0])==null?void 0:I.placement;if(!z)switch(p){case"bestFit":{var U;const B=(U=A.filter(k=>{if(E){const R=ur(k.placement);return R===g||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:U[0];B&&(z=B);break}case"initialPlacement":z=a;break}if(i!==z)return{reset:{placement:z}}}return{}}}};function im(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function sm(e){return vP.some(t=>e[t]>=0)}const RP=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...i}=bn(e,t);switch(r){case"referenceHidden":{const s=await ro(t,{...i,elementContext:"reference"}),o=im(s,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:sm(o)}}}case"escaped":{const s=await ro(t,{...i,altBoundary:!0}),o=im(s,n.floating);return{data:{escapedOffsets:o,escaped:sm(o)}}}default:return{}}}}};async function jP(e,t){const{placement:n,platform:r,elements:i}=e,s=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Sn(n),a=ts(n),l=ur(n)==="y",u=["left","top"].includes(o)?-1:1,c=s&&l?-1:1,d=bn(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:x}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof x=="number"&&(p=a==="end"?x*-1:x),l?{x:p*c,y:f*u}:{x:f*u,y:p*c}}const AP=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:i,y:s,placement:o,middlewareData:a}=t,l=await jP(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:o}}}}},MP=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:s=!0,crossAxis:o=!1,limiter:a={fn:b=>{let{x:m,y:g}=b;return{x:m,y:g}}},...l}=bn(e,t),u={x:n,y:r},c=await ro(t,l),d=ur(Sn(i)),f=Ff(d);let p=u[f],x=u[d];if(s){const b=f==="y"?"top":"left",m=f==="y"?"bottom":"right",g=p+c[b],y=p-c[m];p=Zc(g,p,y)}if(o){const b=d==="y"?"top":"left",m=d==="y"?"bottom":"right",g=x+c[b],y=x-c[m];x=Zc(g,x,y)}const v=a.fn({...t,[f]:p,[d]:x});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[f]:s,[d]:o}}}}}},DP=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:s,middlewareData:o}=t,{offset:a=0,mainAxis:l=!0,crossAxis:u=!0}=bn(e,t),c={x:n,y:r},d=ur(i),f=Ff(d);let p=c[f],x=c[d];const v=bn(a,t),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const y=f==="y"?"height":"width",S=s.reference[f]-s.floating[y]+b.mainAxis,C=s.reference[f]+s.reference[y]-b.mainAxis;p<S?p=S:p>C&&(p=C)}if(u){var m,g;const y=f==="y"?"width":"height",S=["top","left"].includes(Sn(i)),C=s.reference[d]-s.floating[y]+(S&&((m=o.offset)==null?void 0:m[d])||0)+(S?0:b.crossAxis),E=s.reference[d]+s.reference[y]+(S?0:((g=o.offset)==null?void 0:g[d])||0)-(S?b.crossAxis:0);x<C?x=C:x>E&&(x=E)}return{[f]:p,[d]:x}}}},LP=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:i,rects:s,platform:o,elements:a}=t,{apply:l=()=>{},...u}=bn(e,t),c=await ro(t,u),d=Sn(i),f=ts(i),p=ur(i)==="y",{width:x,height:v}=s.floating;let b,m;d==="top"||d==="bottom"?(b=d,m=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=d,b=f==="end"?"top":"bottom");
vendor: 4,396 bytes, line 176
176const g=v-c.top-c.bottom,y=x-c.left-c.right,S=ar(v-c[b],g),C=ar(x-c[m],y),E=!t.middlewareData.shift;let P=S,T=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(P=g),E&&!f){const A=ot(c.left,0),_=ot(c.right,0),I=ot(c.top,0),U=ot(c.bottom,0);p?T=x-2*(A!==0||_!==0?A+_:ot(c.left,c.right)):P=v-2*(I!==0||U!==0?I+U:ot(c.top,c.bottom))}await l({...t,availableWidth:T,availableHeight:P});const j=await o.getDimensions(a.floating);return x!==j.width||v!==j.height?{reset:{rects:!0}}:{}}}};function Ll(){return typeof window<"u"}function ns(e){return rx(e)?(e.nodeName||"").toLowerCase():"#document"}function ut(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function on(e){var t;return(t=(rx(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function rx(e){return Ll()?e instanceof Node||e instanceof ut(e).Node:!1}function Ut(e){return Ll()?e instanceof Element||e instanceof ut(e).Element:!1}function rn(e){return Ll()?e instanceof HTMLElement||e instanceof ut(e).HTMLElement:!1}function om(e){return!Ll()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ut(e).ShadowRoot}function Eo(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Wt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function OP(e){return["table","td","th"].includes(ns(e))}function Ol(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Bf(e){const t=zf(),n=Ut(e)?Wt(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function IP(e){let t=cr(e);for(;rn(t)&&!Hi(t);){if(Bf(t))return t;if(Ol(t))return null;t=cr(t)}return null}function zf(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Hi(e){return["html","body","#document"].includes(ns(e))}function Wt(e){return ut(e).getComputedStyle(e)}function Il(e){return Ut(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function cr(e){if(ns(e)==="html")return e;const t=e.assignedSlot||e.parentNode||om(e)&&e.host||on(e);return om(t)?t.host:t}function ix(e){const t=cr(e);return Hi(t)?e.ownerDocument?e.ownerDocument.body:e.body:rn(t)&&Eo(t)?t:ix(t)}function io(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=ix(e),s=i===((r=e.ownerDocument)==null?void 0:r.body),o=ut(i);if(s){const a=ed(o);return t.concat(o,o.visualViewport||[],Eo(i)?i:[],a&&n?io(a):[])}return t.concat(i,io(i,[],n))}function ed(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function sx(e){const t=Wt(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=rn(e),s=i?e.offsetWidth:n,o=i?e.offsetHeight:r,a=Ja(n)!==s||Ja(r)!==o;return a&&(n=s,r=o),{width:n,height:r,$:a}}function $f(e){return Ut(e)?e:e.contextElement}function Ni(e){const t=$f(e);if(!rn(t))return lr(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:s}=sx(t);let o=(s?Ja(n.width):n.width)/r,a=(s?Ja(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const FP=lr(0);function ox(e){const t=ut(e);return!zf()||!t.visualViewport?FP:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function VP(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ut(e)?!1:t}function Ur(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),s=$f(e);let o=lr(1);t&&(r?Ut(r)&&(o=Ni(r)):o=Ni(e));const a=VP(s,n,r)?ox(s):lr(0);let l=(i.left+a.x)/o.x,u=(i.top+a.y)/o.y,c=i.width/o.x,d=i.height/o.y;if(s){const f=ut(s),p=r&&Ut(r)?ut(r):r;let x=f,v=ed(x);for(;v&&r&&p!==x;){const b=Ni(v),m=v.getBoundingClientRect(),g=Wt(v),y=m.left+(v.clientLeft+parseFloat(g.paddingLeft))*b.x,S=m.top+(v.clientTop+parseFloat(g.paddingTop))*b.y;l*=b.x,u*=b.y,c*=b.x,d*=b.y,l+=y,u+=S,x=ut(v),v=ed(x)}}return tl({width:c,height:d,x:l,y:u})}function _P(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const s=i==="fixed",o=on(r),a=t?Ol(t.floating):!1;if(r===o||a&&s)return n;let l={scrollLeft:0,scrollTop:0},u=lr(1);const c=lr(0),d=rn(r);
vendor: 4,526 bytes, line 176
176if((d||!d&&!s)&&((ns(r)!=="body"||Eo(o))&&(l=Il(r)),rn(r))){const f=Ur(r);u=Ni(r),c.x=f.x+r.clientLeft,c.y=f.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+c.x,y:n.y*u.y-l.scrollTop*u.y+c.y}}function BP(e){return Array.from(e.getClientRects())}function td(e,t){const n=Il(e).scrollLeft;return t?t.left+n:Ur(on(e)).left+n}function zP(e){const t=on(e),n=Il(e),r=e.ownerDocument.body,i=ot(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=ot(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+td(e);const a=-n.scrollTop;return Wt(r).direction==="rtl"&&(o+=ot(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:a}}function $P(e,t){const n=ut(e),r=on(e),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,a=0,l=0;if(i){s=i.width,o=i.height;const u=zf();(!u||u&&t==="fixed")&&(a=i.offsetLeft,l=i.offsetTop)}return{width:s,height:o,x:a,y:l}}function UP(e,t){const n=Ur(e,!0,t==="fixed"),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=rn(e)?Ni(e):lr(1),o=e.clientWidth*s.x,a=e.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:o,height:a,x:l,y:u}}function am(e,t,n){let r;if(t==="viewport")r=$P(e,n);else if(t==="document")r=zP(on(e));else if(Ut(t))r=UP(t,n);else{const i=ox(e);r={...t,x:t.x-i.x,y:t.y-i.y}}return tl(r)}function ax(e,t){const n=cr(e);return n===t||!Ut(n)||Hi(n)?!1:Wt(n).position==="fixed"||ax(n,t)}function WP(e,t){const n=t.get(e);if(n)return n;let r=io(e,[],!1).filter(a=>Ut(a)&&ns(a)!=="body"),i=null;const s=Wt(e).position==="fixed";let o=s?cr(e):e;for(;Ut(o)&&!Hi(o);){const a=Wt(o),l=Bf(o);!l&&a.position==="fixed"&&(i=null),(s?!l&&!i:!l&&a.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||Eo(o)&&!l&&ax(e,o))?r=r.filter(c=>c!==o):i=a,o=cr(o)}return t.set(e,r),r}function HP(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const o=[...n==="clippingAncestors"?Ol(t)?[]:WP(t,this._c):[].concat(n),r],a=o[0],l=o.reduce((u,c)=>{const d=am(t,c,i);return u.top=ot(d.top,u.top),u.right=ar(d.right,u.right),u.bottom=ar(d.bottom,u.bottom),u.left=ot(d.left,u.left),u},am(t,a,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function KP(e){const{width:t,height:n}=sx(e);return{width:t,height:n}}function GP(e,t,n){const r=rn(t),i=on(t),s=n==="fixed",o=Ur(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=lr(0);if(r||!r&&!s)if((ns(t)!=="body"||Eo(i))&&(a=Il(t)),r){const p=Ur(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&(l.x=td(i));let u=0,c=0;if(i&&!r&&!s){const p=i.getBoundingClientRect();c=p.top+a.scrollTop,u=p.left+a.scrollLeft-td(i,p)}const d=o.left+a.scrollLeft-l.x-u,f=o.top+a.scrollTop-l.y-c;return{x:d,y:f,width:o.width,height:o.height}}function ju(e){return Wt(e).position==="static"}function lm(e,t){if(!rn(e)||Wt(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return on(e)===n&&(n=n.ownerDocument.body),n}function lx(e,t){const n=ut(e);if(Ol(e))return n;if(!rn(e)){let i=cr(e);for(;i&&!Hi(i);){if(Ut(i)&&!ju(i))return i;i=cr(i)}return n}let r=lm(e,t);for(;r&&OP(r)&&ju(r);)r=lm(r,t);return r&&Hi(r)&&ju(r)&&!Bf(r)?n:r||IP(e)||n}const QP=async function(e){const t=this.getOffsetParent||lx,n=this.getDimensions,r=await n(e.floating);return{reference:GP(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function YP(e){return Wt(e).direction==="rtl"}const qP={convertOffsetParentRelativeRectToViewportRelativeRect:_P,getDocumentElement:on,getClippingRect:HP,getOffsetParent:lx,getElementRects:QP,getClientRects:BP,getDimensions:KP,getScale:Ni,isElement:Ut,isRTL:YP};function XP(e,t){let n=null,r;const i=on(e);function s(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const{left:u,top:c,width:d,height:f}=e.getBoundingClientRect();if(a||t(),!d||!f)return;const p=ta(c),x=ta(i.clientWidth-(u+d)),v=ta(i.clientHeight-(c+f)),b=ta(u),g={rootMargin:-p+"px "+-x+"px "+-v+"px "+-b+"px",threshold:ot(0,ar(1,l))||1};let y=!0;function S(C){const E=C[0].intersectionRatio;if(E!==l){if(!y)return o();E?o(!1,E):r=setTimeout(()=>{o(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(S,{...g,root:i.ownerDocument})}catch{n=new IntersectionObserver(S,g)}n.observe(e)}return o(!0),s}function ZP(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=$f(e),c=i||s?[...u?io(u):[],...io(t)]:[];
vendor: 4,166 bytes, line 176
176c.forEach(m=>{i&&m.addEventListener("scroll",n,{passive:!0}),s&&m.addEventListener("resize",n)});const d=u&&a?XP(u,n):null;let f=-1,p=null;o&&(p=new ResizeObserver(m=>{let[g]=m;g&&g.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),n()}),u&&!l&&p.observe(u),p.observe(t));let x,v=l?Ur(e):null;l&&b();function b(){const m=Ur(e);v&&(m.x!==v.x||m.y!==v.y||m.width!==v.width||m.height!==v.height)&&n(),v=m,x=requestAnimationFrame(b)}return n(),()=>{var m;c.forEach(g=>{i&&g.removeEventListener("scroll",n),s&&g.removeEventListener("resize",n)}),d==null||d(),(m=p)==null||m.disconnect(),p=null,l&&cancelAnimationFrame(x)}}const JP=AP,e2=MP,t2=NP,n2=LP,r2=RP,um=kP,i2=DP,s2=(e,t,n)=>{const r=new Map,i={platform:qP,...n},s={...i.platform,_c:r};return PP(e,t,{...i,platform:s})};var ba=typeof document<"u"?w.useLayoutEffect:w.useEffect;function nl(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!nl(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const s=i[r];if(!(s==="_owner"&&e.$$typeof)&&!nl(e[s],t[s]))return!1}return!0}return e!==e&&t!==t}function ux(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function cm(e,t){const n=ux(e);return Math.round(t*n)/n}function Au(e){const t=w.useRef(e);return ba(()=>{t.current=e}),t}function o2(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:i,elements:{reference:s,floating:o}={},transform:a=!0,whileElementsMounted:l,open:u}=e,[c,d]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=w.useState(r);nl(f,r)||p(r);const[x,v]=w.useState(null),[b,m]=w.useState(null),g=w.useCallback(k=>{k!==E.current&&(E.current=k,v(k))},[]),y=w.useCallback(k=>{k!==P.current&&(P.current=k,m(k))},[]),S=s||x,C=o||b,E=w.useRef(null),P=w.useRef(null),T=w.useRef(c),j=l!=null,A=Au(l),_=Au(i),I=Au(u),U=w.useCallback(()=>{if(!E.current||!P.current)return;const k={placement:t,strategy:n,middleware:f};_.current&&(k.platform=_.current),s2(E.current,P.current,k).then(R=>{const O={...R,isPositioned:I.current!==!1};L.current&&!nl(T.current,O)&&(T.current=O,So.flushSync(()=>{d(O)}))})},[f,t,n,_,I]);ba(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,d(k=>({...k,isPositioned:!1})))},[u]);const L=w.useRef(!1);ba(()=>(L.current=!0,()=>{L.current=!1}),[]),ba(()=>{if(S&&(E.current=S),C&&(P.current=C),S&&C){if(A.current)return A.current(S,C,U);U()}},[S,C,U,A,j]);const Q=w.useMemo(()=>({reference:E,floating:P,setReference:g,setFloating:y}),[g,y]),z=w.useMemo(()=>({reference:S,floating:C}),[S,C]),B=w.useMemo(()=>{const k={position:n,left:0,top:0};if(!z.floating)return k;const R=cm(z.floating,c.x),O=cm(z.floating,c.y);return a?{...k,transform:"translate("+R+"px, "+O+"px)",...ux(z.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:R,top:O}},[n,a,z.floating,c.x,c.y]);return w.useMemo(()=>({...c,update:U,refs:Q,elements:z,floatingStyles:B}),[c,U,Q,z,B])}const a2=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:i}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?um({element:r.current,padding:i}).fn(n):{}:r?um({element:r,padding:i}).fn(n):{}}}},l2=(e,t)=>({...JP(e),options:[e,t]}),u2=(e,t)=>({...e2(e),options:[e,t]}),c2=(e,t)=>({...i2(e),options:[e,t]}),d2=(e,t)=>({...t2(e),options:[e,t]}),f2=(e,t)=>({...n2(e),options:[e,t]}),h2=(e,t)=>({...r2(e),options:[e,t]}),p2=(e,t)=>({...a2(e),options:[e,t]});var m2="Arrow",cx=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...s}=e;return h.jsx(Te.svg,{...s,ref:t,width:r,height:i,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});cx.displayName=m2;var g2=cx;function y2(e){const[t,n]=w.useState(void 0);return wn(()=>
vendor: 4,474 bytes, line 176
176{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const s=i[0];let o,a;if("borderBoxSize"in s){const l=s.borderBoxSize,u=Array.isArray(l)?l[0]:l;o=u.inlineSize,a=u.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var dx="Popper",[fx,hx]=Ji(dx),[lL,px]=fx(dx),mx="PopperAnchor",gx=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,s=px(mx,n),o=w.useRef(null),a=Et(t,o);return w.useEffect(()=>{s.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:h.jsx(Te.div,{...i,ref:a})});gx.displayName=mx;var Uf="PopperContent",[v2,x2]=fx(Uf),yx=w.forwardRef((e,t)=>{var te,Yr,Tn,gr,Pn,qr;const{__scopePopper:n,side:r="bottom",sideOffset:i=0,align:s="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:c=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:x,...v}=e,b=px(Uf,n),[m,g]=w.useState(null),y=Et(t,kn=>g(kn)),[S,C]=w.useState(null),E=y2(S),P=(E==null?void 0:E.width)??0,T=(E==null?void 0:E.height)??0,j=r+(s!=="center"?"-"+s:""),A=typeof c=="number"?c:{top:0,right:0,bottom:0,left:0,...c},_=Array.isArray(u)?u:[u],I=_.length>0,U={padding:A,boundary:_.filter(b2),altBoundary:I},{refs:L,floatingStyles:Q,placement:z,isPositioned:B,middlewareData:k}=o2({strategy:"fixed",placement:j,whileElementsMounted:(...kn)=>ZP(...kn,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[l2({mainAxis:i+T,alignmentAxis:o}),l&&u2({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?c2():void 0,...U}),l&&d2({...U}),f2({...U,apply:({elements:kn,rects:Ao,availableWidth:Yl,availableHeight:Mo})=>{const{width:ql,height:as}=Ao.reference,Xr=kn.floating.style;Xr.setProperty("--radix-popper-available-width",`${Yl}px`),Xr.setProperty("--radix-popper-available-height",`${Mo}px`),Xr.setProperty("--radix-popper-anchor-width",`${ql}px`),Xr.setProperty("--radix-popper-anchor-height",`${as}px`)}}),S&&p2({element:S,padding:a}),S2({arrowWidth:P,arrowHeight:T}),f&&h2({strategy:"referenceHidden",...U})]}),[R,O]=wx(z),W=xn(x);wn(()=>{B&&(W==null||W())},[B,W]);const $=(te=k.arrow)==null?void 0:te.x,Y=(Yr=k.arrow)==null?void 0:Yr.y,X=((Tn=k.arrow)==null?void 0:Tn.centerOffset)!==0,[be,Ie]=w.useState();return wn(()=>{m&&Ie(window.getComputedStyle(m).zIndex)},[m]),h.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:B?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:be,"--radix-popper-transform-origin":[(gr=k.transformOrigin)==null?void 0:gr.x,(Pn=k.transformOrigin)==null?void 0:Pn.y].join(" "),...((qr=k.hide)==null?void 0:qr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:h.jsx(v2,{scope:n,placedSide:R,onArrowChange:C,arrowX:$,arrowY:Y,shouldHideArrow:X,children:h.jsx(Te.div,{"data-side":R,"data-align":O,...v,ref:y,style:{...v.style,animation:B?void 0:"none"}})})})});yx.displayName=Uf;var vx="PopperArrow",w2={top:"bottom",right:"left",bottom:"top",left:"right"},xx=w.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,s=x2(vx,r),o=w2[s.placedSide];return h.jsx("span",{ref:s.onArrowChange,style:{position:"absolute",left:s.arrowX,top:s.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[s.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[s.placedSide],visibility:s.shouldHideArrow?"hidden":void 0},children:h.jsx(g2,{...i,ref:n,style:{...i.style,display:"block"}})})});xx.displayName=vx;function b2(e){return e!==null}var S2=e=>({name:"transformOrigin",options:e,fn(t){var b,m,g;const{placement:n,rects:r,middlewareData:i}=t,o=((b=i.arrow)==null?void 0:b.centerOffset)!==0,a=o?0:e.arrowWidth,l=o?0:e.arrowHeight,[u,c]=wx(n),d={start:"0%",center:"50%",end:"100%"}[c],f=(((m=i.arrow)==null?void 0:m.x)??0)+a/2,p=(((g=i.arrow)==null?void 0:g.y)??0)+l/2;let x="",v="";return u==="bottom"?(x=o?d:`${f}px`,v=`${-l}px`):u==="top"?(x=o?d:`${f}px`,v=`${r.floating.height+l}px`):u==="right"?(x=`${-l}px`,v=o?d:`${p}px`):u==="left"&&(x=`${r.floating.width+l}px`,v=o?d:`${p}px`),{data:{x,y:v}}}});function wx(e){const[t,n="center"]=e.split("-");return[t,n]}var C2=gx,E2=yx,T2=xx,[Fl,uL]=Ji("Tooltip",[hx]),Wf=hx(),bx="TooltipProvider",P2=700,dm
vendor: 4,293 bytes, line 176
176="tooltip.open",[k2,Sx]=Fl(bx),Cx=e=>{const{__scopeTooltip:t,delayDuration:n=P2,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:s}=e,o=w.useRef(!0),a=w.useRef(!1),l=w.useRef(0);return w.useEffect(()=>{const u=l.current;return()=>window.clearTimeout(u)},[]),h.jsx(k2,{scope:t,isOpenDelayedRef:o,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(l.current),o.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(l.current),l.current=window.setTimeout(()=>o.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:w.useCallback(u=>{a.current=u},[]),disableHoverableContent:i,children:s})};Cx.displayName=bx;var Ex="Tooltip",[cL,Vl]=Fl(Ex),nd="TooltipTrigger",N2=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Vl(nd,n),s=Sx(nd,n),o=Wf(n),a=w.useRef(null),l=Et(t,a,i.onTriggerChange),u=w.useRef(!1),c=w.useRef(!1),d=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",d),[d]),h.jsx(C2,{asChild:!0,...o,children:h.jsx(Te.button,{"aria-describedby":i.open?i.contentId:void 0,"data-state":i.stateAttribute,...r,ref:l,onPointerMove:ie(e.onPointerMove,f=>{f.pointerType!=="touch"&&!c.current&&!s.isPointerInTransitRef.current&&(i.onTriggerEnter(),c.current=!0)}),onPointerLeave:ie(e.onPointerLeave,()=>{i.onTriggerLeave(),c.current=!1}),onPointerDown:ie(e.onPointerDown,()=>{i.open&&i.onClose(),u.current=!0,document.addEventListener("pointerup",d,{once:!0})}),onFocus:ie(e.onFocus,()=>{u.current||i.onOpen()}),onBlur:ie(e.onBlur,i.onClose),onClick:ie(e.onClick,i.onClose)})})});N2.displayName=nd;var R2="TooltipPortal",[dL,j2]=Fl(R2,{forceMount:void 0}),Ki="TooltipContent",Tx=w.forwardRef((e,t)=>{const n=j2(Ki,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i="top",...s}=e,o=Vl(Ki,e.__scopeTooltip);return h.jsx(jl,{present:r||o.open,children:o.disableHoverableContent?h.jsx(Px,{side:i,...s,ref:t}):h.jsx(A2,{side:i,...s,ref:t})})}),A2=w.forwardRef((e,t)=>{const n=Vl(Ki,e.__scopeTooltip),r=Sx(Ki,e.__scopeTooltip),i=w.useRef(null),s=Et(t,i),[o,a]=w.useState(null),{trigger:l,onClose:u}=n,c=i.current,{onPointerInTransitChange:d}=r,f=w.useCallback(()=>{a(null),d(!1)},[d]),p=w.useCallback((x,v)=>{const b=x.currentTarget,m={x:x.clientX,y:x.clientY},g=I2(m,b.getBoundingClientRect()),y=F2(m,g),S=V2(v.getBoundingClientRect()),C=B2([...y,...S]);a(C),d(!0)},[d]);return w.useEffect(()=>()=>f(),[f]),w.useEffect(()=>{if(l&&c){const x=b=>p(b,c),v=b=>p(b,l);return l.addEventListener("pointerleave",x),c.addEventListener("pointerleave",v),()=>{l.removeEventListener("pointerleave",x),c.removeEventListener("pointerleave",v)}}},[l,c,p,f]),w.useEffect(()=>{if(o){const x=v=>{const b=v.target,m={x:v.clientX,y:v.clientY},g=(l==null?void 0:l.contains(b))||(c==null?void 0:c.contains(b)),y=!_2(m,o);g?f():y&&(f(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[l,c,o,u,f]),h.jsx(Px,{...e,ref:s})}),[M2,D2]=Fl(Ex,{isInside:!1}),L2=qC("TooltipContent"),Px=w.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,"aria-label":i,onEscapeKeyDown:s,onPointerDownOutside:o,...a}=e,l=Vl(Ki,n),u=Wf(n),{onClose:c}=l;return w.useEffect(()=>(document.addEventListener(dm,c),()=>document.removeEventListener(dm,c)),[c]),w.useEffect(()=>{if(l.trigger){const d=f=>{const p=f.target;p!=null&&p.contains(l.trigger)&&c()};return window.addEventListener("scroll",d,{capture:!0}),()=>window.removeEventListener("scroll",d,{capture:!0})}},[l.trigger,c]),h.jsx(Rf,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:s,onPointerDownOutside:o,onFocusOutside:d=>d.preventDefault(),onDismiss:c,children:h.jsxs(E2,{"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:[h.jsx(L2,{children:r}),h.jsx(M2,{scope:n,isInside:!0,children:h.jsx(xE,{id:l.contentId,role:"tooltip",children:i||r})})]})})});Tx.displayName=Ki;var kx="TooltipArrow",O2=w.forwardRef((e,t)=>
176{const{__scopeTooltip:n,...r}=e,i=Wf(n);return D2(kx,n).isInside?null:h.jsx(T2,{...i,...r,ref:t})});O2.displayName=kx;function I2(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(n,r,i,s)){case s:return"left";case i:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function F2(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 V2(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function _2(e,t){const{x:n,y:r}=e;let i=!1;for(let s=0,o=t.length-1;s<t.length;o=s++){const a=t[s],l=t[o],u=a.x,c=a.y,d=l.x,f=l.y;c>r!=f>r&&n<(d-u)*(r-c)/(f-c)+u&&(i=!i)}return i}function B2(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),z2(t)}function z2(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const s=t[t.length-1],o=t[t.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const s=n[n.length-1],o=n[n.length-2];if((s.x-o.x)*(i.y-o.y)>=(s.y-o.y)*(i.x-o.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var $2=Cx,Nx=Tx;const U2=$2,W2=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>h.jsx(Nx,{ref:r,sideOffset:t,className:Ae("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));W2.displayName=Nx.displayName;var _l=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Bl=typeof window>"u"||"Deno"in globalThis;function Dt(){}function H2(e,t){return typeof e=="function"?e(t):e}function K2(e){return typeof e=="number"&&e>=0&&e!==1/0}function G2(e,t){return Math.max(e+(t||0)-Date.now(),0)}function rd(e,t){return typeof e=="function"?e(t):e}function Q2(e,t){return typeof e=="function"?e(t):e}function fm(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:s,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==Hf(o,t.options))return!1}else if(!oo(t.queryKey,o))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||i&&i!==t.state.fetchStatus||s&&!s(t))}function hm(e,t){const{exact:n,status:r,predicate:i,mutationKey:s}=e;if(s){if(!t.options.mutationKey)return!1;if(n){if(so(t.options.mutationKey)!==so(s))return!1}else if(!oo(t.options.mutationKey,s))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function Hf(e,t){return((t==null?void 0:t.queryKeyHashFn)||so)(e)}function so(e){return JSON.stringify(e,(t,n)=>id(n)?Object.keys(n).sort().reduce((r,i)=>(r[i]=n[i],r),{}):n)}function oo(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>oo(e[n],t[n])):!1}function Rx(e,t){if(e===t)return e;const n=pm(e)&&pm(t);if(n||id(e)&&id(t)){const r=n?e:Object.keys(e),i=r.length,s=n?t:Object.keys(t),o=s.length,a=n?[]:{},l=new Set(r);let u=0;for(let c=0;c<o;c++){const d=n?c:s[c];(!n&&l.has(d)||n)&&e[d]===void 0&&t[d]===void 0?(a[d]=void 0,u++):(a[d]=Rx(e[d],t[d]),a[d]===e[d]&&e[d]!==void 0&&u++)}return i===o&&u===i?e:a}return t}function pm(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function id(e){if(!mm(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!mm(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function mm(e){return Object.prototype.toString.call(e)==="[object Object]"}function Y2(e){return new Promise(t=>{setTimeout(t,e)})}function q2(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Rx(e,t):t}function X2(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Z2(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Kf=Symbol();function jx(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Kf?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Nr,zn,ji,Hg,J2=(Hg=class extends _l{constructor(){super();
vendor: 4,133 bytes, line 176
176J(this,Nr);J(this,zn);J(this,ji);K(this,ji,t=>{if(!Bl&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){N(this,zn)||this.setEventListener(N(this,ji))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,zn))==null||t.call(this),K(this,zn,void 0))}setEventListener(t){var n;K(this,ji,t),(n=N(this,zn))==null||n.call(this),K(this,zn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){N(this,Nr)!==t&&(K(this,Nr,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof N(this,Nr)=="boolean"?N(this,Nr):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Nr=new WeakMap,zn=new WeakMap,ji=new WeakMap,Hg),Ax=new J2,Ai,$n,Mi,Kg,ek=(Kg=class extends _l{constructor(){super();J(this,Ai,!0);J(this,$n);J(this,Mi);K(this,Mi,t=>{if(!Bl&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){N(this,$n)||this.setEventListener(N(this,Mi))}onUnsubscribe(){var t;this.hasListeners()||((t=N(this,$n))==null||t.call(this),K(this,$n,void 0))}setEventListener(t){var n;K(this,Mi,t),(n=N(this,$n))==null||n.call(this),K(this,$n,t(this.setOnline.bind(this)))}setOnline(t){N(this,Ai)!==t&&(K(this,Ai,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return N(this,Ai)}},Ai=new WeakMap,$n=new WeakMap,Mi=new WeakMap,Kg),rl=new ek;function tk(){let e,t;const n=new Promise((i,s)=>{e=i,t=s});n.status="pending",n.catch(()=>{});function r(i){Object.assign(n,i),delete n.resolve,delete n.reject}return n.resolve=i=>{r({status:"fulfilled",value:i}),e(i)},n.reject=i=>{r({status:"rejected",reason:i}),t(i)},n}function nk(e){return Math.min(1e3*2**e,3e4)}function Mx(e){return(e??"online")==="online"?rl.isOnline():!0}var Dx=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Mu(e){return e instanceof Dx}function Lx(e){let t=!1,n=0,r=!1,i;const s=tk(),o=v=>{var b;r||(f(new Dx(v)),(b=e.abort)==null||b.call(e))},a=()=>{t=!0},l=()=>{t=!1},u=()=>Ax.isFocused()&&(e.networkMode==="always"||rl.isOnline())&&e.canRun(),c=()=>Mx(e.networkMode)&&e.canRun(),d=v=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,v),i==null||i(),s.resolve(v))},f=v=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,v),i==null||i(),s.reject(v))},p=()=>new Promise(v=>{var b;i=m=>{(r||u())&&v(m)},(b=e.onPause)==null||b.call(e)}).then(()=>{var v;i=void 0,r||(v=e.onContinue)==null||v.call(e)}),x=()=>{if(r)return;let v;const b=n===0?e.initialPromise:void 0;try{v=b??e.fn()}catch(m){v=Promise.reject(m)}Promise.resolve(v).then(d).catch(m=>{var E;if(r)return;const g=e.retry??(Bl?0:3),y=e.retryDelay??nk,S=typeof y=="function"?y(n,m):y,C=g===!0||typeof g=="number"&&n<g||typeof g=="function"&&g(n,m);if(t||!C){f(m);return}n++,(E=e.onFail)==null||E.call(e,n,m),Y2(S).then(()=>u()?void 0:p()).then(()=>{t?f(m):x()})})};return{promise:s,cancel:o,continue:()=>(i==null||i(),s),cancelRetry:a,continueRetry:l,canStart:c,start:()=>(c()?x():p().then(x),s)}}var rk=e=>setTimeout(e,0);function ik(){let e=[],t=0,n=a=>{a()},r=a=>{a()},i=rk;const s=a=>{t?e.push(a):i(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&i(()=>{r(()=>{a.forEach(l=>{n(l)})})})};return{batch:a=>{let l;t++;try{l=a()}finally{t--,t||o()}return l},batchCalls:a=>(...l)=>{s(()=>{a(...l)})},schedule:s,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{i=a}}}var Ge=ik(),Rr,Gg,Ox=(Gg=class{constructor(){J(this,Rr)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),K2(this.gcTime)&&K(this,Rr,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Bl?1/0:5*60*1e3))}clearGcTimeout(){N(this,Rr)&&(clearTimeout(N(this,Rr)),K(this,Rr,void 0))}},Rr=new WeakMap,Gg),Di,jr,pt,Ar,Be,mo,Mr,Lt,ln,Qg,sk=(Qg=class extends Ox{constructor(t){super();
vendor: 2,651 bytes, line 176
176J(this,Lt);J(this,Di);J(this,jr);J(this,pt);J(this,Ar);J(this,Be);J(this,mo);J(this,Mr);K(this,Mr,!1),K(this,mo,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,Ar,t.client),K(this,pt,N(this,Ar).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Di,ak(this.options)),this.state=t.state??N(this,Di),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=N(this,Be))==null?void 0:t.promise}setOptions(t){this.options={...N(this,mo),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&N(this,pt).remove(this)}setData(t,n){const r=q2(this.state.data,t,this.options);return Fe(this,Lt,ln).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Fe(this,Lt,ln).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,i;const n=(r=N(this,Be))==null?void 0:r.promise;return(i=N(this,Be))==null||i.cancel(t),n?n.then(Dt).catch(Dt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(N(this,Di))}isActive(){return this.observers.some(t=>Q2(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Kf||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>rd(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:!G2(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Be))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=N(this,Be))==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,Be)&&(N(this,Mr)?N(this,Be).cancel({revert:!0}):N(this,Be).cancelRetry()),this.scheduleGc()),N(this,pt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Fe(this,Lt,ln).call(this,{type:"invalidate"})}
vendor: 6,518 bytes, line 176
176fetch(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,Be))return N(this,Be).continueRetry(),N(this,Be).promise}if(t&&this.setOptions(t),!this.options.queryFn){const f=this.observers.find(p=>p.options.queryFn);f&&this.setOptions(f.options)}const r=new AbortController,i=f=>{Object.defineProperty(f,"signal",{enumerable:!0,get:()=>(K(this,Mr,!0),r.signal)})},s=()=>{const f=jx(this.options,n),x=(()=>{const v={client:N(this,Ar),queryKey:this.queryKey,meta:this.meta};return i(v),v})();return K(this,Mr,!1),this.options.persister?this.options.persister(f,x,this):f(x)},a=(()=>{const f={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:N(this,Ar),state:this.state,fetchFn:s};return i(f),f})();(u=this.options.behavior)==null||u.onFetch(a,this),K(this,jr,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((c=a.fetchOptions)==null?void 0:c.meta))&&Fe(this,Lt,ln).call(this,{type:"fetch",meta:(d=a.fetchOptions)==null?void 0:d.meta});const l=f=>{var p,x,v,b;Mu(f)&&f.silent||Fe(this,Lt,ln).call(this,{type:"error",error:f}),Mu(f)||((x=(p=N(this,pt).config).onError)==null||x.call(p,f,this),(b=(v=N(this,pt).config).onSettled)==null||b.call(v,this.state.data,f,this)),this.scheduleGc()};return K(this,Be,Lx({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:f=>{var p,x,v,b;if(f===void 0){l(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(f)}catch(m){l(m);return}(x=(p=N(this,pt).config).onSuccess)==null||x.call(p,f,this),(b=(v=N(this,pt).config).onSettled)==null||b.call(v,f,this.state.error,this),this.scheduleGc()},onError:l,onFail:(f,p)=>{Fe(this,Lt,ln).call(this,{type:"failed",failureCount:f,error:p})},onPause:()=>{Fe(this,Lt,ln).call(this,{type:"pause"})},onContinue:()=>{Fe(this,Lt,ln).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),N(this,Be).start()}},Di=new WeakMap,jr=new WeakMap,pt=new WeakMap,Ar=new WeakMap,Be=new WeakMap,mo=new WeakMap,Mr=new WeakMap,Lt=new WeakSet,ln=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...ok(r.data,this.options),fetchMeta:t.meta??null};case"success":return K(this,jr,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const i=t.error;return Mu(i)&&i.revert&&N(this,jr)?{...N(this,jr),fetchStatus:"idle"}:{...r,error:i,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),Ge.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),N(this,pt).notify({query:this,type:"updated",action:t})})},Qg);function ok(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Mx(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function ak(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 Qt,Yg,lk=(Yg=class extends _l{constructor(t={}){super();J(this,Qt);this.config=t,K(this,Qt,new Map)}build(t,n,r){const i=n.queryKey,s=n.queryHash??Hf(i,n);let o=this.get(s);return o||(o=new sk({client:t,queryKey:i,queryHash:s,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(i)}),this.add(o)),o}add(t){N(this,Qt).has(t.queryHash)||(N(this,Qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=N(this,Qt).get(t.queryHash);n&&(t.destroy(),n===t&&N(this,Qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Ge.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return N(this,Qt).get(t)}getAll(){return[...N(this,Qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>fm(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>fm(t,r)):n}notify(t){Ge.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){Ge.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Ge.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Qt=new WeakMap,Yg),Yt,He,Dr,qt,Ln,qg,uk=(qg=class extends Ox{constructor(t){super();J(this,qt);J(this,Yt);J(this,He);J(this,Dr);this.mutationId=t.mutationId,K(this,He,t.mutationCache),K(this,Yt,[]),this.state=t.state||ck(),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,Yt).includes(t)||(N(this,Yt).push(t),this.clearGcTimeout(),N(this,He).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Yt,N(this,Yt).filter(n=>n!==t)),this.scheduleGc(),N(this,He).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){N(this,Yt).length||(this.state.status==="pending"?this.scheduleGc():N(this,He).remove(this))}continue(){var t;return((t=N(this,Dr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,o,a,l,u,c,d,f,p,x,v,b,m,g,y,S,C,E,P,T;const n=()=>{Fe(this,qt,Ln).call(this,{type:"continue"})};K(this,Dr,Lx({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(j,A)=>{Fe(this,qt,Ln).call(this,{type:"failed",failureCount:j,error:A})},onPause:()=>{Fe(this,qt,Ln).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>N(this,He).canRun(this)}));const r=this.state.status==="pending",i=!N(this,Dr).canStart();try{if(r)n();else{Fe(this,qt,Ln).call(this,{type:"pending",variables:t,isPaused:i}),await((o=(s=N(this,He).config).onMutate)==null?void 0:o.call(s,t,this));
176const A=await((l=(a=this.options).onMutate)==null?void 0:l.call(a,t));A!==this.state.context&&Fe(this,qt,Ln).call(this,{type:"pending",context:A,variables:t,isPaused:i})}const j=await N(this,Dr).start();return await((c=(u=N(this,He).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((x=(p=N(this,He).config).onSettled)==null?void 0:x.call(p,j,null,this.state.variables,this.state.context,this)),await((b=(v=this.options).onSettled)==null?void 0:b.call(v,j,null,t,this.state.context)),Fe(this,qt,Ln).call(this,{type:"success",data:j}),j}catch(j){try{throw await((g=(m=N(this,He).config).onError)==null?void 0:g.call(m,j,t,this.state.context,this)),await((S=(y=this.options).onError)==null?void 0:S.call(y,j,t,this.state.context)),await((E=(C=N(this,He).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{Fe(this,qt,Ln).call(this,{type:"error",error:j})}}finally{N(this,He).runNext(this)}}},Yt=new WeakMap,He=new WeakMap,Dr=new WeakMap,qt=new WeakSet,Ln=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),Ge.batch(()=>{N(this,Yt).forEach(r=>{r.onMutationUpdate(t)}),N(this,He).notify({mutation:this,type:"updated",action:t})})},qg);function ck(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var dn,Ot,go,Xg,dk=(Xg=class extends _l{constructor(t={}){super();J(this,dn);J(this,Ot);J(this,go);this.config=t,K(this,dn,new Set),K(this,Ot,new Map),K(this,go,0)}build(t,n,r){const i=new uk({mutationCache:this,mutationId:++Lo(this,go)._,options:t.defaultMutationOptions(n),state:r});return this.add(i),i}add(t){N(this,dn).add(t);const n=na(t);if(typeof n=="string"){const r=N(this,Ot).get(n);r?r.push(t):N(this,Ot).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(N(this,dn).delete(t)){const n=na(t);if(typeof n=="string"){const r=N(this,Ot).get(n);if(r)if(r.length>1){const i=r.indexOf(t);i!==-1&&r.splice(i,1)}else r[0]===t&&N(this,Ot).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=na(t);if(typeof n=="string"){const r=N(this,Ot).get(n),i=r==null?void 0:r.find(s=>s.state.status==="pending");return!i||i===t}else return!0}runNext(t){var r;const n=na(t);if(typeof n=="string"){const i=(r=N(this,Ot).get(n))==null?void 0:r.find(s=>s!==t&&s.state.isPaused);return(i==null?void 0:i.continue())??Promise.resolve()}else return Promise.resolve()}clear(){Ge.batch(()=>{N(this,dn).forEach(t=>{this.notify({type:"removed",mutation:t})}),N(this,dn).clear(),N(this,Ot).clear()})}getAll(){return Array.from(N(this,dn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>hm(n,r))}findAll(t={}){return this.getAll().filter(n=>hm(t,n))}notify(t){Ge.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return Ge.batch(()=>Promise.all(t.map(n=>n.continue().catch(Dt))))}},dn=new WeakMap,Ot=new WeakMap,go=new WeakMap,Xg);function na(e){var t;return(t=e.options.scope)==null?void 0:t.id}function gm(e){return{onFetch:(t,n)=>{var c,d,f,p,x;const r=t.options,i=(f=(d=(c=t.fetchOptions)==null?void 0:c.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,s=((p=t.state.data)==null?void 0:p.pages)||[],o=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},l=0;const u=async()=>{let v=!1;const b=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)}
176)},m=jx(t.options,t.fetchOptions),g=async(y,S,C)=>{if(v)return Promise.reject();if(S==null&&y.pages.length)return Promise.resolve(y);const P=(()=>{const _={client:t.client,queryKey:t.queryKey,pageParam:S,direction:C?"backward":"forward",meta:t.options.meta};return b(_),_})(),T=await m(P),{maxPages:j}=t.options,A=C?Z2:X2;return{pages:A(y.pages,T,j),pageParams:A(y.pageParams,S,j)}};if(i&&s.length){const y=i==="backward",S=y?fk:ym,C={pages:s,pageParams:o},E=S(r,C);a=await g(C,E,y)}else{const y=e??s.length;do{const S=l===0?o[0]??r.initialPageParam:ym(r,a);if(l>0&&S==null)break;a=await g(a,S),l++}while(l<y)}return a};t.options.persister?t.fetchFn=()=>{var v,b;return(b=(v=t.options).persister)==null?void 0:b.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function ym(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 fk(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var ve,Un,Wn,Li,Oi,Hn,Ii,Fi,Zg,hk=(Zg=class{constructor(e={}){J(this,ve);J(this,Un);J(this,Wn);J(this,Li);J(this,Oi);J(this,Hn);J(this,Ii);J(this,Fi);K(this,ve,e.queryCache||new lk),K(this,Un,e.mutationCache||new dk),K(this,Wn,e.defaultOptions||{}),K(this,Li,new Map),K(this,Oi,new Map),K(this,Hn,0)}mount(){Lo(this,Hn)._++,N(this,Hn)===1&&(K(this,Ii,Ax.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ve).onFocus())})),K(this,Fi,rl.subscribe(async e=>{e&&(await this.resumePausedMutations(),N(this,ve).onOnline())})))}unmount(){var e,t;Lo(this,Hn)._--,N(this,Hn)===0&&((e=N(this,Ii))==null||e.call(this),K(this,Ii,void 0),(t=N(this,Fi))==null||t.call(this),K(this,Fi,void 0))}isFetching(e){return N(this,ve).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return N(this,Un).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ve).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=N(this,ve).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(rd(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return N(this,ve).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=N(this,ve).get(r.queryHash),s=i==null?void 0:i.state.data,o=H2(t,s);if(o!==void 0)return N(this,ve).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return Ge.batch(()=>N(this,ve).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=N(this,ve).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=N(this,ve);Ge.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=N(this,ve);return Ge.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=Ge.batch(()=>N(this,ve).findAll(e).map(i=>i.cancel(n)));return Promise.all(r).then(Dt).catch(Dt)}invalidateQueries(e,t={}){return Ge.batch(()=>(N(this,ve).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=Ge.batch(()=>N(this,ve).findAll(e).filter(i=>!i.isDisabled()&&!i.isStatic()).map(i=>{let s=i.fetch(void 0,n);return n.throwOnError||(s=s.catch(Dt)),i.state.fetchStatus==="paused"?Promise.resolve():s}));return Promise.all(r).then(Dt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=N(this,ve).build(this,t);return n.isStaleByTime(rd(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Dt).catch(Dt)}fetchInfiniteQuery(e){return e.behavior=gm(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Dt).catch(Dt)}ensureInfiniteQueryData(e){return e.behavior=gm(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return rl.isOnline()?N(this,Un).resumePausedMutations():Promise.resolve()}getQueryCache(){return N(this,ve)}getMutationCache(){return N(this,Un)}getDefaultOptions(){return N(this,Wn)}setDefaultOptions(e){K(this,Wn,e)}setQueryDefaults(e,t){N(this,Li).set(so(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...N(this,Li).values()],n={};return t.forEach(r=>{oo(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){N(this,Oi).set(so(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...N(this,Oi).values()],n={};return t.forEach(r=>{oo(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...N(this,Wn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Hf(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===Kf&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...N(this,Wn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){N(this,ve).clear(),N(this,Un).clear()}},ve=new WeakMap,Un=new WeakMap,Wn=new WeakMap,Li=new WeakMap,Oi=new WeakMap,Hn=new WeakMap,Ii=new WeakMap,Fi=new WeakMap,Zg),pk=w.createContext(void 0),mk=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),h.jsx(pk.Provider,{value:e,children:t}));/**
177 * @remix-run/router v1.23.0
178 *
179 * Copyright (c) Remix Software Inc.
180 *
181 * This source code is licensed under the MIT license found in the
182 * LICENSE.md file in the root directory of this source tree.
183 *
184 * @license MIT
185 */function ao(){return ao=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},ao.apply(this,arguments)}var Qn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Qn||(Qn={}));const vm="popstate";function gk(e){e===void 0&&(e={});function t(r,i){let{pathname:s,search:o,hash:a}=r.location;return sd("",{pathname:s,search:o,hash:a},i.state&&i.state.usr||null,i.state&&i.state.key||"default")}function n(r,i){return typeof i=="string"?i:il(i)}return vk(t,n,null,e)}function Ee(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Ix(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function yk(){return Math.random().toString(36).substr(2,8)}function xm(e,t){return{usr:e.state,key:e.key,idx:t}}function sd(e,t,n,r){return n===void 0&&(n=null),ao({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?rs(t):t,{state:n,key:t&&t.key||r||yk()})}function il(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 rs(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 vk(e,t,n,r){r===void 0&&(r={});let{window:i=document.defaultView,v5Compat:s=!1}=r,o=i.history,a=Qn.Pop,l=null,u=c();u==null&&(u=0,o.replaceState(ao({},o.state,{idx:u}),""));function c(){return(o.state||{idx:null}).idx}function d(){a=Qn.Pop;let b=c(),m=b==null?null:b-u;u=b,l&&l({action:a,location:v.location,delta:m})}function f(b,m){a=Qn.Push;let g=sd(v.location,b,m);u=c()+1;let y=xm(g,u),S=v.createHref(g);try{o.pushState(y,"",S)}catch(C){if(C instanceof DOMException&&C.name==="DataCloneError")throw C;i.location.assign(S)}s&&l&&l({action:a,location:v.location,delta:1})}function p(b,m){a=Qn.Replace;let g=sd(v.location,b,m);u=c();let y=xm(g,u),S=v.createHref(g);o.replaceState(y,"",S),s&&l&&l({action:a,location:v.location,delta:0})}function x(b){let m=i.location.origin!=="null"?i.location.origin:i.location.href,g=typeof b=="string"?b:il(b);return g=g.replace(/ $/,"%20"),Ee(m,"No window.location.(origin|href) available to create URL for href: "+g),new URL(g,m)}let v={get action(){return a},get location(){return e(i,o)},listen(b){if(l)throw new Error("A history only accepts one active listener");return i.addEventListener(vm,d),l=b,()=>{i.removeEventListener(vm,d),l=null}},createHref(b){return t(i,b)},createURL:x,encodeLocation(b){let m=x(b);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:p,go(b){return o.go(b)}};return v}var wm;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(wm||(wm={}));function xk(e,t,n){return n===void 0&&(n="/"),wk(e,t,n,!1)}function wk(e,t,n,r){let i=typeof t=="string"?rs(t):t,s=Gf(i.pathname||"/",n);if(s==null)return null;let o=Fx(e);bk(o);let a=null;for(let l=0;a==null&&l<o.length;++l){let u=Mk(s);a=jk(o[l],u,r)}return a}function Fx(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let i=(s,o,a)=>{let l={relativePath:a===void 0?s.path||"":a,caseSensitive:s.caseSensitive===!0,childrenIndex:o,route:s};l.relativePath.startsWith("/")&&(Ee(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not val
185id. 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=ir([r,l.relativePath]),c=n.concat(l);s.children&&s.children.length>0&&(Ee(s.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Fx(s.children,t,c,u)),!(s.path==null&&!s.index)&&t.push({path:u,score:Nk(u,s.index),routesMeta:c})};return e.forEach((s,o)=>{var a;if(s.path===""||!((a=s.path)!=null&&a.includes("?")))i(s,o);else for(let l of Vx(s.path))i(s,o,l)}),t}function Vx(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith("?"),s=n.replace(/\?$/,"");if(r.length===0)return i?[s,""]:[s];let o=Vx(r.join("/")),a=[];return a.push(...o.map(l=>l===""?s:[s,l].join("/"))),i&&a.push(...o),a.map(l=>e.startsWith("/")&&l===""?"/":l)}function bk(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:Rk(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Sk=/^:[\w-]+$/,Ck=3,Ek=2,Tk=1,Pk=10,kk=-2,bm=e=>e==="*";function Nk(e,t){let n=e.split("/"),r=n.length;return n.some(bm)&&(r+=kk),t&&(r+=Ek),n.filter(i=>!bm(i)).reduce((i,s)=>i+(Sk.test(s)?Ck:s===""?Tk:Pk),r)}function Rk(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function jk(e,t,n){let{routesMeta:r}=e,i={},s="/",o=[];for(let a=0;a<r.length;++a){let l=r[a],u=a===r.length-1,c=s==="/"?t:t.slice(s.length)||"/",d=Sm({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},c),f=l.route;if(!d&&u&&n&&!r[r.length-1].route.index&&(d=Sm({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
vendor: 9,180 bytes, lines 185-194
185Object.assign(i,d.params),o.push({params:i,pathname:ir([s,d.pathname]),pathnameBase:Ik(ir([s,d.pathnameBase])),route:f}),d.pathnameBase!=="/"&&(s=ir([s,d.pathnameBase]))}return o}function Sm(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=Ak(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let s=i[0],o=s.replace(/(.)\/+$/,"$1"),a=i.slice(1);return{params:r.reduce((u,c,d)=>{let{paramName:f,isOptional:p}=c;if(f==="*"){let v=a[d]||"";o=s.slice(0,s.length-v.length).replace(/(.)\/+$/,"$1")}const x=a[d];return p&&!x?u[f]=void 0:u[f]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:s,pathnameBase:o,pattern:e}}function Ak(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Ix(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(o,a,l)=>(r.push({paramName:a,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),i+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":e!==""&&e!=="/"&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}function Mk(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ix(!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 Gf(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 Dk(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:i=""}=typeof e=="string"?rs(e):e;return{pathname:n?n.startsWith("/")?n:Lk(n,t):t,search:Fk(r),hash:Vk(i)}}function Lk(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(i=>{i===".."?n.length>1&&n.pop():i!=="."&&n.push(i)}),n.length>1?n.join("/"):"/"}function Du(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 Ok(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function _x(e,t){let n=Ok(e);return t?n.map((r,i)=>i===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Bx(e,t,n,r){r===void 0&&(r=!1);let i;typeof e=="string"?i=rs(e):(i=ao({},e),Ee(!i.pathname||!i.pathname.includes("?"),Du("?","pathname","search",i)),Ee(!i.pathname||!i.pathname.includes("#"),Du("#","pathname","hash",i)),Ee(!i.search||!i.search.includes("#"),Du("#","search","hash",i)));let s=e===""||i.pathname==="",o=s?"/":i.pathname,a;if(o==null)a=n;else{let d=t.length-1;if(!r&&o.startsWith("..")){let f=o.split("/");for(;f[0]==="..";)f.shift(),d-=1;i.pathname=f.join("/")}a=d>=0?t[d]:"/"}let l=Dk(i,a),u=o&&o!=="/"&&o.endsWith("/"),c=(s||o===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||c)&&(l.pathname+="/"),l}const ir=e=>e.join("/").replace(/\/\/+/g,"/"),Ik=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),Fk=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,Vk=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function _k(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const zx=["post","put","patch","delete"];new Set(zx);const Bk=["get",...zx];new Set(Bk);/**
186 * React Router v6.30.1
187 *
188 * Copyright (c) Remix Software Inc.
189 *
190 * This source code is licensed under the MIT license found in the
191 * LICENSE.md file in the root directory of this source tree.
192 *
193 * @license MIT
194 */function lo(){return lo=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},lo.apply(this,arguments)}const Qf=w.createContext(null),zk=w.createContext(null),Kr=w.createContext(null),zl=w.createContext(null),Gr=w.createContext({outlet:null,matches:[],isDataRoute:!1}),$x=w.createContext(null);function $k(e,t){let{relative:n}=t===void 0?{}:t;To()||Ee(!1);let{basename:r,navigator:i}=w.useContext(Kr),{hash:s,pathname:o,search:a}=Wx(e,{relative:n}),l=o;return r!=="/"&&(l=o==="/"?r:ir([r,o])),i.createHref({pathname:l,search:a,hash:s})}function To(){return w.useContext(zl)!=null}function Qr(){return To()||Ee(!1),w.useContext(zl).location}function Ux(e){w.useContext(Kr).static||w.useLayoutEffect(e)}function Uk(){let{isDataRoute:e}=w.useContext(Gr);return e?nN():Wk()}function Wk(){To()||Ee(!1);let e=w.useContext(Qf),{basename:t,future:n,navigator:r}=w.useContext(Kr),{matches:i}=w.useContext(Gr),{pathname:s}=Qr(),o=JSON.stringify(_x(i,n.v7_relativeSplatPath)),a=w.useRef(!1);return Ux(()=>{a.current=!0}),w.useCallback(function(u,c){if(c===void 0&&(c={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let d=Bx(u,JSON.parse(o),s,c.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:ir([t,d.pathname])),(c.replace?r.replace:r.push)(d,c.state,c)},[t,r,o,s,e])}function Wx(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=w.useContext(Kr),{matches:i}=w.useContext(Gr),{pathname:s}=Qr(),o=JSON.stringify(_x(i,r.v7_relativeSplatPath));return w.useMemo(()=>Bx(e,JSON.parse(o),s,n==="path"),[e,o,s,n])}function Hk(e,t){return Kk(e,t)}function Kk(e,t,n,r){To()||Ee(!1);let{navigator:i}=w.useContext(Kr),{matches:s}=w.useContext(Gr),o=s[s.length-1],a=o?o.params:{};o&&o.pathname;let l=o?o.pathnameBase:"/";o&&o.route;let u=Qr(),c;if(t){var d;let b=typeof t=="string"?rs(t):t;l==="/"||(d=b.pathname)!=null&&d.startsWith(l)||Ee(!1),c=b}else c=u;let f=c.pathname||"/",p=f;if(l!=="/"){let b=l.replace(/^\//,"").split("/");p="/"+f.replace(/^\//,"").split("/").slice(b.length).join("/")}let x=xk(e,{pathname:p}),v=Xk(x&&x.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:ir([l,i.encodeLocation?i.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?l:ir([l,i.encodeLocation?i.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),s,n,r);return t&&v?w.createElement(zl.Provider,{value:{location:lo({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:Qn.Pop}},v):v}function Gk(){let e=tN(),t=_k(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:i},n):null,null)}const Qk=w.createElement(Gk,null);class Yk extends w.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?w.createElement(Gr.Provider,{value:this.props.routeContext},w.createElement($x.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function qk(e){let{routeContext:t,match:n,children:r}=e,i=w.useContext(Qf);return i&&i.static&&i.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(Gr.Provider,{value:t},r)}function Xk(e,t,n,r){var i;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var s;if(!n)return null;if(n.errors)e=n.matches;else if((s=r)!=null&&s.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let o=e,a=(i=n)==null?void 0:i.errors;if(a!=null){let c=o.findIndex(d=>d.route.id&&(a==null?void 0:a[d.route.id])!==void 0);c>=0||Ee(!1),o=o.slice(0,Math.min(o.length,c+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let c=0;c<o.length;c++){let d=o[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(u=c),d.route.id){let{loaderData:f,errors:p}=n,x=d.route.loader&&f[d.route.id]===void 0&&(!p||p[d.route.id]===void 0);if(d.route.lazy||x){l=!0,u>=0?o=o.slice(0,u+1):o=[o[0]];break}}}return o.reduceRight((c,d,f)=>{let p,x=!1,v=null,b=null;n&&(p=a&&d.route.id?a[d.route.id]:void 0,v=d.route.errorElement||Qk,l&&(u<0&&f===0?(x=!0,b=null):u===f&&(x=!0,b=d.route.hydrateFallbackElement||null)));let m=t.concat(o.slice(0,f+1)),g=()=>{let y;return p?y=v:x?y=b:d.route.Component?y=w.createElement(d.route.Component,null):d.route.element?y=d.route.element:y=c,w.createElement(qk,{match:d,routeC
194ontext:{outlet:c,matches:m,isDataRoute:n!=null},children:y})};return n&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?w.createElement(Yk,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}var Hx=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Hx||{}),sl=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}(sl||{});function Zk(e){let t=w.useContext(Qf);return t||Ee(!1),t}function Jk(e){let t=w.useContext(zk);return t||Ee(!1),t}function eN(e){let t=w.useContext(Gr);return t||Ee(!1),t}function Kx(e){let t=eN(),n=t.matches[t.matches.length-1];return n.route.id||Ee(!1),n.route.id}function tN(){var e;let t=w.useContext($x),n=Jk(sl.UseRouteError),r=Kx(sl.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function nN(){let{router:e}=Zk(Hx.UseNavigateStable),t=Kx(sl.UseNavigateStable),n=w.useRef(!1);return Ux(()=>{n.current=!0}),w.useCallback(function(i,s){s===void 0&&(s={}),n.current&&(typeof i=="number"?e.navigate(i):e.navigate(i,lo({fromRouteId:t},s)))},[e,t])}function rN(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function ni(e){Ee(!1)}function iN(e){let{basename:t="/",children:n=null,location:r,navigationType:i=Qn.Pop,navigator:s,static:o=!1,future:a}=e;To()&&Ee(!1);let l=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:l,navigator:s,static:o,future:lo({v7_relativeSplatPath:!1},a)}),[l,a,s,o]);typeof r=="string"&&(r=rs(r));let{pathname:c="/",search:d="",hash:f="",state:p=null,key:x="default"}=r,v=w.useMemo(()=>{let b=Gf(c,l);return b==null?null:{location:{pathname:b,search:d,hash:f,state:p,key:x},navigationType:i}},[l,c,d,f,p,x,i]);return v==null?null:w.createElement(Kr.Provider,{value:u},w.createElement(zl.Provider,{children:n,value:v}))}function sN(e){let{children:t,location:n}=e;return Hk(od(t),n)}new Promise(()=>{});function od(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,i)=>{if(!w.isValidElement(r))return;let s=[...t,i];if(r.type===w.Fragment){n.push.apply(n,od(r.props.children,s));return}r.type!==ni&&Ee(!1),!r.props.index||!r.props.children||Ee(!1);let o={id:r.props.id||s.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&&(o.children=od(r.props.children,s)),n.push(o)}),n}/**
195 * React Router DOM v6.30.1
196 *
197 * Copyright (c) Remix Software Inc.
198 *
199 * This source code is licensed under the MIT license found in the
200 * LICENSE.md file in the root directory of this source tree.
201 *
202 * @license MIT
203 */function ad(){return ad=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},ad.apply(this,arguments)}function oN(e,t){if(e==null)return{};var n={},r=Object.keys(e),i,s;for(s=0;s<r.length;s++)i=r[s],!(t.indexOf(i)>=0)&&(n[i]=e[i]);return n}function aN(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function lN(e,t){return e.button===0&&(!t||t==="_self")&&!aN(e)}const uN=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],cN="6";try{window.__reactRouterVersion=cN}catch{}const dN="startTransition",Cm=Fd[dN];function fN(e){let{basename:t,children:n,future:r,window:i}=e,s=w.useRef();s.current==null&&(s.current=gk({window:i,v5Compat:!0}));let o=s.current,[a,l]=w.useState({action:o.action,location:o.location}),{v7_startTransition:u}=r||{},c=w.useCallback(d=>{u&&Cm?Cm(()=>l(d)):l(d)},[l,u]);return w.useLayoutEffect(()=>o.listen(c),[o,c]),w.useEffect(()=>rN(r),[r]),w.createElement(iN,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:o,future:r})}const hN=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",pN=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vt=w.forwardRef(function(t,n){let{onClick:r,relative:i,reloadDocument:s,replace:o,state:a,target:l,to:u,preventScrollReset:c,viewTransition:d}=t,f=oN(t,uN),{basename:p}=w.useContext(Kr),x,v=!1;if(typeof u=="string"&&pN.test(u)&&(x=u,hN))try{let y=new URL(window.location.href),S=u.startsWith("//")?new URL(y.protocol+u):new URL(u),C=Gf(S.pathname,p);S.origin===y.origin&&C!=null?u=C+S.search+S.hash:v=!0}catch{}let b=$k(u,{relative:i}),m=mN(u,{replace:o,state:a,target:l,preventScrollReset:c,relative:i,viewTransition:d});function g(y){r&&r(y),y.defaultPrevented||m(y)}return w.createElement("a",ad({},f,{href:x||b,onClick:v||s?r:g,ref:n,target:l}))});var Em;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Em||(Em={}));var Tm;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Tm||(Tm={}));function mN(e,t){let{target:n,replace:r,state:i,preventScrollReset:s,relative:o,viewTransition:a}=t===void 0?{}:t,l=Uk(),u=Qr(),c=Wx(e,{relative:o});return w.useCallback(d=>
vendor: 9,762 bytes, line 203
203{if(lN(d,n)){d.preventDefault();let f=r!==void 0?r:il(u)===il(c);l(e,{replace:f,state:i,preventScrollReset:s,relative:o,viewTransition:a})}},[u,l,c,r,i,n,e,s,o,a])}function gN(){const{pathname:e}=Qr();return w.useEffect(()=>{window.scrollTo(0,0)},[e]),null}const Yf=w.createContext({});function qf(e){const t=w.useRef(null);return t.current===null&&(t.current=e()),t.current}const Gx=typeof window<"u",Qx=Gx?w.useLayoutEffect:w.useEffect,$l=w.createContext(null);function Xf(e,t){e.indexOf(t)===-1&&e.push(t)}function ol(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const sn=(e,t,n)=>n>t?t:n<e?e:n;let Ul=()=>{},Gi=()=>{};const Cn={},Yx=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function qx(e){return typeof e=="object"&&e!==null}const Xx=e=>/^0[^.\s]+$/u.test(e);function Zx(e){let t;return()=>(t===void 0&&(t=e()),t)}const wt=e=>e,yN=(e,t)=>n=>t(e(n)),Po=(...e)=>e.reduce(yN),uo=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r};class Zf{constructor(){this.subscriptions=[]}add(t){return Xf(this.subscriptions,t),()=>ol(this.subscriptions,t)}notify(t,n,r){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,r);else for(let s=0;s<i;s++){const o=this.subscriptions[s];o&&o(t,n,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const bt=e=>e*1e3,vt=e=>e/1e3;function Jx(e,t){return t?e*(1e3/t):0}const ew=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,vN=1e-7,xN=12;function wN(e,t,n,r,i){let s,o,a=0;do o=t+(n-t)/2,s=ew(o,r,i)-e,s>0?n=o:t=o;while(Math.abs(s)>vN&&++a<xN);return o}function ko(e,t,n,r){if(e===t&&n===r)return wt;const i=s=>wN(s,0,1,e,n);return s=>s===0||s===1?s:ew(i(s),t,r)}const tw=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,nw=e=>t=>1-e(1-t),rw=ko(.33,1.53,.69,.99),Jf=nw(rw),iw=tw(Jf),sw=e=>(e*=2)<1?.5*Jf(e):.5*(2-Math.pow(2,-10*(e-1))),eh=e=>1-Math.sin(Math.acos(e)),ow=nw(eh),aw=tw(eh),bN=ko(.42,0,1,1),SN=ko(0,0,.58,1),lw=ko(.42,0,.58,1),CN=e=>Array.isArray(e)&&typeof e[0]!="number",uw=e=>Array.isArray(e)&&typeof e[0]=="number",Pm={linear:wt,easeIn:bN,easeInOut:lw,easeOut:SN,circIn:eh,circInOut:aw,circOut:ow,backIn:Jf,backInOut:iw,backOut:rw,anticipate:sw},EN=e=>typeof e=="string",km=e=>{if(uw(e)){Gi(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,r,i]=e;return ko(t,n,r,i)}else if(EN(e))return Gi(Pm[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Pm[e];return e},ra=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],Nm={value:null,addProjectionMetrics:null};function TN(e,t){let n=new Set,r=new Set,i=!1,s=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(d){o.has(d)&&(c.schedule(d),e()),l++,d(a)}const c={schedule:(d,f=!1,p=!1)=>{const v=p&&i?n:r;return f&&o.add(d),v.has(d)||v.add(d),d},cancel:d=>{r.delete(d),o.delete(d)},process:d=>{if(a=d,i){s=!0;return}i=!0,[n,r]=[r,n],n.forEach(u),t&&Nm.value&&Nm.value.frameloop[t].push(l),l=0,n.clear(),i=!1,s&&(s=!1,c.process(d))}};return c}const PN=40;function cw(e,t){let n=!1,r=!0;const i={delta:0,timestamp:0,isProcessing:!1},s=()=>n=!0,o=ra.reduce((y,S)=>(y[S]=TN(s,t?S:void 0),y),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:c,update:d,preRender:f,render:p,postRender:x}=o,v=()=>{const y=Cn.useManualTiming?i.timestamp:performance.now();n=!1,Cn.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(y-i.timestamp,PN),1)),i.timestamp=y,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),d.process(i),f.process(i),p.process(i),x.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(v))},b=()=>{n=!0,r=!0,i.isProcessing||e(v)};return{schedule:ra.reduce((y,S)=>{const C=o[S];return y[S]=(E,P=!1,T=!1)=>(n||b(),C.schedule(E,P,T)),y},{}),cancel:y=>{for(let S=0;S<ra.length;S++)o[ra[S]].cancel(y)},state:i,steps:o}}const{schedule:oe,cancel:dr,state:De,steps:Lu}=cw(typeof requestAnimationFrame<"u"?requestAnimationFrame:wt,!0);let Sa;function kN(){Sa=void 0}const Qe={now:()=>(Sa===void 0&&Qe.set(De.isProcessing||Cn.useManualTiming?De.timestamp:performance.now()),Sa),set:e=>{Sa=e,queueMicrotask(kN)}},dw=e=>t=>typeof t=="string"&&t.startsWith(e),fw=dw("--"),NN=dw("var(--"),th=e=>NN(e)?RN.test(e.split("/*")[0].trim()):!1,RN=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Rm(e){return typeof e!="string"?!1:e.split("/*")[0].includes("var(--")}const is={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},co={...is,transform:e=>sn(0,1,e)},ia={...is,default:1},Is=e=>Math.round(e*1e5)/1e5,nh=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function jN(e){return e==null}const AN=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,rh=(e,t)=>n=>!!(typeof n=="string"&&AN.test(n)&&n.startsWith(e)||t&&!jN(n)&&Object.prototype.hasOwnProperty.call(n,t)),hw=(e,t,n)=>r=>{if(typeof r!="string")return r;const[i,s,o,a]=r.match(nh);return{[e]:parseFloat(i),[t]:parseFloat(s),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},MN=e=>sn(0,255,e),Ou={...is,transform:e=>Math.round(MN(e))},Pr={test:rh("rgb","red"),parse:hw("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+Ou.transform(e)+", "+Ou.transform(t)+", "+Ou.transform(n)+", "+Is(co.transform(r))+")"};function DN(e){let t="",n="",r="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}const ld={test:rh("#"),parse:DN,transform:Pr.transform},No=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),On=No("deg"),nn=No("%"),V=No("px"),LN=No("vh"),ON=No("vw"),jm={...nn,parse:e=>nn.parse(e)/100,transform:e=>nn.transform(e*100)},gi={test:rh("hsl","hue"),parse:hw("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+nn.transform(Is(t))+", "+nn.transform(Is(n))+", "+Is(co.transform(r))+")"},Se={test:e=>Pr.test(e)||ld.test(e)||gi.test(e),parse:e=>Pr.test(e)?Pr.parse(e):gi.test(e)?gi.parse(e):ld.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Pr.transform(e):gi.transform(e),getAnimatableNone:e=>{const t=Se.parse(e);return t.alpha=0,Se.transform(t)}},IN=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function FN(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(nh))==null?void 0:t.length)||0)+(((n=e.match(IN))==null?void 0:n.length)||0)>0}const pw="number",mw="color",VN="var",_N="var(",Am="${}",BN=/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 fo(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[];let s=0;const a=t.replace(BN,l=>(Se.test(l)?(r.color.push(s),i.push(mw),n.push(Se.parse(l))):l.startsWith(_N)?(r.var.push(s),i.push(VN),n.push(l)):(r.number.push(s),i.push(pw),n.push(parseFloat(l))),++s,Am)).split(Am);return{values:n,split:a,indexes:r,types:i}}function gw(e){return fo(e).values}function yw(e){const{split:t,types:n}=fo(e),r=t.length;return i=>{let s="";for(let o=0;o<r;o++)if(s+=t[o],i[o]!==void 0){const a=n[o];a===pw?s+=Is(i[o]):a===mw?s+=Se.transform(i[o]):s+=i[o]}return s}}const zN=e=>typeof e=="number"?0:Se.test(e)?Se.getAnimatableNone(e):e;function $N(e){const t=gw(e);return yw(e)(t.map(zN))}const zt={test:FN,parse:gw,createTransformer:yw,getAnimatableNone:$N};function Iu(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 UN({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,s=0,o=0;if(!t)i=s=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,l=2*n-a;i=Iu(l,a,e+1/3),s=Iu(l,a,e),o=Iu(l,a,e-1/3)}return{red:Math.round(i*255),green:Math.round(s*255),blue:Math.round(o*255),alpha:r}}function al(e,t){return n=>n>0?t:e}const pe=(e,t,n)=>e+(t-e)*n,Fu=(e,t,n)=>{const r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},WN=[ld,Pr,gi],HN=e=>WN.find(t=>t.test(e));function Mm(e){const t=HN(e);if(Ul(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===gi&&(n=UN(n)),n}const Dm=(e,t)=>{const n=Mm(e),r=Mm(t);if(!n||!r)return al(e,t);const i={...n};return s=>(i.red=Fu(n.red,r.red,s),i.green=Fu(n.green,r.green,s),i.blue=Fu(n.blue,r.blue,s),i.alpha=pe(n.alpha,r.alpha,s),Pr.transform(i))},ud=new Set(["none","hidden"]);function KN(e,t){return ud.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function GN(e,t){return n=>pe(e,t,n)}function ih(e){return typeof e=="number"?GN:typeof e=="string"?th(e)?al:Se.test(e)?Dm:qN:Array.isArray(e)?vw:typeof e=="object"?Se.test(e)?Dm:QN:al}function vw(e,t){const n=[...e],r=n.length,i=e.map((s,o)=>ih(s)(s,t[o]));return s=>{for(let o=0;o<r;o++)n[o]=i[o](s);return n}}function QN(e,t){const n={...e,...t},r={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=ih(e[i])(e[i],t[i]));return i=>{for(const s in r)n[s]=r[s](i);return n}}function YN(e,t){const n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const s=t.types[i],o=e.indexes[s][r[s]],a=e.values[o]??0;n[i]=a,r[s]++}return n}const qN=(e,t)=>{const n=zt.createTransformer(t),r=fo(e),i=fo(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?ud.has(e)&&!i.values.length||ud.has(t)&&!r.values.length?KN(e,t):Po(vw(YN(r,i),i.values),n):(Ul(!0,`Complex values '${e}' and '${t}
203' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),al(e,t))};function xw(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?pe(e,t,n):ih(e)(e,t)}const XN=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>oe.update(t,n),stop:()=>dr(t),now:()=>De.isProcessing?De.timestamp:Qe.now()}},ww=(e,t,n=10)=>{let r="";const i=Math.max(Math.round(t/n),2);for(let s=0;s<i;s++)r+=Math.round(e(s/(i-1))*1e4)/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},ll=2e4;function sh(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t<ll;)t+=n,r=e.next(t);return t>=ll?1/0:t}function ZN(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(sh(r),ll);return{type:"keyframes",ease:s=>r.next(i*s).value/t,duration:vt(i)}}const JN=5;function bw(e,t,n){const r=Math.max(t-JN,0);return Jx(n-e(r),t-r)}const fe={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},Vu=.001;function eR({duration:e=fe.duration,bounce:t=fe.bounce,velocity:n=fe.velocity,mass:r=fe.mass}){let i,s;Ul(e<=bt(fe.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=sn(fe.minDamping,fe.maxDamping,o),e=sn(fe.minDuration,fe.maxDuration,vt(e)),o<1?(i=u=>{const c=u*o,d=c*e,f=c-n,p=cd(u,o),x=Math.exp(-d);return Vu-f/p*x},s=u=>{const d=u*o*e,f=d*n+n,p=Math.pow(o,2)*Math.pow(u,2)*e,x=Math.exp(-d),v=cd(Math.pow(u,2),o);return(-i(u)+Vu>0?-1:1)*((f-p)*x)/v}):(i=u=>{const c=Math.exp(-u*e),d=(u-n)*e+1;return-Vu+c*d},s=u=>{const c=Math.exp(-u*e),d=(n-u)*(e*e);return c*d});const a=5/e,l=nR(i,s,a);if(e=bt(e),isNaN(l))return{stiffness:fe.stiffness,damping:fe.damping,duration:e};{const u=Math.pow(l,2)*r;return{stiffness:u,damping:o*2*Math.sqrt(r*u),duration:e}}}const tR=12;function nR(e,t,n){let r=n;for(let i=1;i<tR;i++)r=r-e(r)/t(r);return r}function cd(e,t){return e*Math.sqrt(1-t*t)}const rR=["duration","bounce"],iR=["stiffness","damping","mass"];function Lm(e,t){return t.some(n=>e[n]!==void 0)}function sR(e){let t={velocity:fe.velocity,stiffness:fe.stiffness,damping:fe.damping,mass:fe.mass,isResolvedFromDuration:!1,...e};if(!Lm(e,iR)&&Lm(e,rR))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,s=2*sn(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:fe.mass,stiffness:i,damping:s}}else{const n=eR({...e,velocity:0});t={...t,...n,mass:fe.mass},t.isResolvedFromDuration=!0}return t}function ul(e=fe.visualDuration,t=fe.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:c,duration:d,velocity:f,isResolvedFromDuration:p}=sR({...n,velocity:-vt(n.velocity||0)}),x=f||0,v=u/(2*Math.sqrt(l*c)),b=o-s,m=vt(Math.sqrt(l/c)),g=Math.abs(b)<5;r||(r=g?fe.restSpeed.granular:fe.restSpeed.default),i||(i=g?fe.restDelta.granular:fe.restDelta.default);let y;if(v<1){const C=cd(m,v);y=E=>{const P=Math.exp(-v*m*E);return o-P*((x+v*m*b)/C*Math.sin(C*E)+b*Math.cos(C*E))}}else if(v===1)y=C=>o-Math.exp(-m*C)*(b+(x+m*b)*C);else{const C=m*Math.sqrt(v*v-1);y=E=>{const P=Math.exp(-v*m*E),T=Math.min(C*E,300);return o-P*((x+v*m*b)*Math.sinh(T)+C*b*Math.cosh(T))/C}}const S={calculatedDuration:p&&d||null,next:C=>{const E=y(C);if(p)a.done=C>=d;else{let P=C===0?x:0;v<1&&(P=C===0?bt(x):bw(y,C,E));const T=Math.abs(P)<=r,j=Math.abs(o-E)<=i;a.done=T&&j}return a.value=a.done?o:E,a},toString:()=>{const C=Math.min(sh(S),ll),E=ww(P=>S.next(C*P).value,C,30);return C+"ms "+E},toTransition:()=>{}};return S}ul.applyToOptions=e=>{const t=ZN(e,100,ul);return e.ease=t.ease,e.duration=bt(t.duration),e.type="keyframes",e};function dd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],f={done:!1,value:d},p=T=>a!==void 0&&T<a||l!==void 0&&T>l,x=T=>a===void 0?l:l===void 0||Math.abs(a-T)<Math.abs(l-T)?a:l;let v=n*t;const b=d+v,m=o===void 0?b:o(b);m!==b&&(v=m-d);const g=T=>-v*Math.exp(-T/r),y=T=>m+g(T),S=T=>{const j=g(T),A=y(T);f.done=Math.abs(j)<=u,f.value=f.done?m:A};let C,E;const P=T=>{p(f.value)&&(C=T,E=ul({keyframes:[f.value,x(f.value)],velocity:bw(y,T,f.value),damping:i,stiffness:s,restDelta:u,restSpeed:c}))};return P(0),{calculatedDuration:null,next:T=>{let j=!1;return!E&&C===void 0&&(j=!0,S(T),P(T)),C!==void 0&&T>=C?E.next(T-C):(!j&&S(T),f)}}}
vendor: 8,346 bytes, line 203
203function oR(e,t,n){const r=[],i=n||Cn.mix||xw,s=e.length-1;for(let o=0;o<s;o++){let a=i(e[o],e[o+1]);if(t){const l=Array.isArray(t)?t[o]||wt:t;a=Po(l,a)}r.push(a)}return r}function aR(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(Gi(s===t.length,"Both input and output ranges must be the same length","range-length"),s===1)return()=>t[0];if(s===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=oR(t,r,i),l=a.length,u=c=>{if(o&&c<e[0])return t[0];let d=0;if(l>1)for(;d<e.length-2&&!(c<e[d+1]);d++);const f=uo(e[d],e[d+1],c);return a[d](f)};return n?c=>u(sn(e[0],e[s-1],c)):u}function lR(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=uo(0,t,r);e.push(pe(n,1,i))}}function uR(e){const t=[0];return lR(t,e.length-1),t}function cR(e,t){return e.map(n=>n*t)}function dR(e,t){return e.map(()=>t||lw).splice(0,e.length-1)}function Fs({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=CN(r)?r.map(km):km(r),s={done:!1,value:t[0]},o=cR(n&&n.length===t.length?n:uR(t),e),a=aR(o,t,{ease:Array.isArray(i)?i:dR(t,i)});return{calculatedDuration:e,next:l=>(s.value=a(l),s.done=l>=e,s)}}const fR=e=>e!==null;function oh(e,{repeat:t,repeatType:n="loop"},r,i=1){const s=e.filter(fR),a=i<0||t&&n!=="loop"&&t%2===1?0:s.length-1;return!a||r===void 0?s[a]:r}const hR={decay:dd,inertia:dd,tween:Fs,keyframes:Fs,spring:ul};function Sw(e){typeof e.type=="string"&&(e.type=hR[e.type])}class ah{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const pR=e=>e/100;class lh extends ah{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var r,i;const{motionValue:n}=this.options;n&&n.updatedAt!==Qe.now()&&this.tick(Qe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(i=(r=this.options).onStop)==null||i.call(r))},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;Sw(t);const{type:n=Fs,repeat:r=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:a}=t;const l=n||Fs;l!==Fs&&typeof a[0]!="number"&&(this.mixKeyframes=Po(pR,xw(a[0],a[1])),a=[0,100]);const u=l({...t,keyframes:a});s==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=sh(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(r+1)-i,this.generator=u}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:r,totalDuration:i,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(this.startTime===null)return r.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:f,repeatDelay:p,type:x,onUpdate:v,finalKeyframe:b}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const m=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?m<0:m>i;this.currentTime=Math.max(m,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let y=this.currentTime,S=r;if(d){const T=Math.min(this.currentTime,i)/a;let j=Math.floor(T),A=T%1;!A&&T>=1&&(A=1),A===1&&j--,j=Math.min(j,d+1),!!(j%2)&&(f==="reverse"?(A=1-A,p&&(A-=p/a)):f==="mirror"&&(S=o)),y=sn(0,1,A)*a}const C=g?{done:!1,value:c[0]}:S.next(y);s&&(C.value=s(C.value));let{done:E}=C;!g&&l!==null&&(E=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return P&&x!==dd&&(C.value=oh(c,this.options,b,this.speed)),v&&v(C.value),P&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return vt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+vt(t)}get time(){return vt(this.currentTime)}set time(t){var n;t=bt(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),(n=this.driver)==null||n.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Qe.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=vt(this.currentTime))}play(){var i,s;if(this.isStopped)return;const{driver:t=XN,startTime:n}=this.options;this.driver||(this.driver=t(o=>this.tick(o))),(s=(i=this.options).onPlay)==null||s.call(i);const r=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=r):this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime||(this.startTime=n??r),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Qe.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var t,n;this.notifyFinished(),this.teardown(),this.state="finished",(n=(t=this.options).onComplete)==null||n.call(t)}cancel(){var t,n;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(n=(t=this.options).onCancel)==null||n.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){var n;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(n=this.driver)==null||n.stop(),t.observe(this)}}function mR(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const kr=e=>e*180/Math.PI,fd=e=>{const t=kr(Math.atan2(e[1],e[0]));return hd(t)},gR={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:fd,rotateZ:fd,skewX:e=>kr(Math.atan(e[1])),skewY:e=>kr(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},hd=e=>(e=e%360,e<0&&(e+=360),e),Om=fd,Im=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Fm=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),yR={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Im,scaleY:Fm,scale:e=>(Im(e)+Fm(e))/2,rotateX:e=>hd(kr(Math.atan2(e[6],e[5]))),rotateY:e=>hd(kr(Math.atan2(-e[2],e[0]))),rotateZ:Om,rotate:Om,skewX:e=>kr(Math.atan(e[4])),skewY:e=>kr(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function pd(e){return e.includes("scale")?1:0}function md(e,t){if(!e||e==="none")return pd(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let r,i;if(n)r=yR,i=n;else{const a=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=gR,i=a}if(!i)return pd(t);const s=r[t],o=i[1].split(",").map(xR);return typeof s=="function"?s(o):o[s]}const vR=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return md(n,t)};function xR(e){return parseFloat(e.trim())}const ss=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],os=new Set(ss),Vm=e=>e===is||e===V,wR=new Set(["x","y","z"]),bR=ss.filter(e=>!wR.has(e));function SR(e){const t=[];return bR.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Yn={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:(e,{transform:t})=>md(t,"x"),y:(e,{transform:t})=>md(t,"y")};Yn.translateX=Yn.x;Yn.translateY=Yn.y;const Ir=new Set;let gd=!1,yd=!1,vd=!1;function Cw(){if(yd){const e=Array.from(Ir).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const i=SR(r);i.length&&(n.set(r,i),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const i=n.get(r);
vendor: 1,610 bytes, line 203
203i&&i.forEach(([s,o])=>{var a;(a=r.getValue(s))==null||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}yd=!1,gd=!1,Ir.forEach(e=>e.complete(vd)),Ir.clear()}function Ew(){Ir.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(yd=!0)})}function CR(){vd=!0,Ew(),Cw(),vd=!1}class uh{constructor(t,n,r,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Ir.add(this),gd||(gd=!0,oe.read(Ew),oe.resolveKeyframes(Cw))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:i}=this;if(t[0]===null){const s=i==null?void 0:i.get(),o=t[t.length-1];if(s!==void 0)t[0]=s;else if(r&&n){const a=r.readValue(n,o);a!=null&&(t[0]=a)}t[0]===void 0&&(t[0]=o),i&&s===void 0&&i.set(t[0])}mR(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Ir.delete(this)}cancel(){this.state==="scheduled"&&(Ir.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const ER=e=>e.startsWith("--");function TR(e,t,n){ER(t)?e.style.setProperty(t,n):e.style[t]=n}const PR={};function Tw(e,t){const n=Zx(e);return()=>PR[t]??n()}const kR=Tw(()=>window.ScrollTimeline!==void 0,"scrollTimeline"),Pw=Tw(()=>{try{document.createElement("div").animate({opacity:0}
vendor: 5,100 bytes, line 203
203,{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Es=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,_m={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Es([0,.65,.55,1]),circOut:Es([.55,0,1,.45]),backIn:Es([.31,.01,.66,-.59]),backOut:Es([.33,1.53,.69,.99])};function kw(e,t){if(e)return typeof e=="function"?Pw()?ww(e,t):"ease-out":uw(e)?Es(e):Array.isArray(e)?e.map(n=>kw(n,t)||_m.easeOut):_m[e]}function NR(e,t,n,{delay:r=0,duration:i=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=kw(a,i);Array.isArray(d)&&(c.easing=d);const f={delay:r,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:o==="reverse"?"alternate":"normal"};return u&&(f.pseudoElement=u),e.animate(c,f)}function Nw(e){return typeof e=="function"&&"applyToOptions"in e}function RR({type:e,...t}){return Nw(e)&&Pw()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Rw extends ah{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:n,name:r,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:a,onComplete:l}=t;this.isPseudoElement=!!s,this.allowFlatten=o,this.options=t,Gi(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const u=RR(t);this.animation=NR(n,r,i,u,s),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const c=oh(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(c):TR(n,r,c),this.animation.cancel()}l==null||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var t,n;(n=(t=this.animation).finish)==null||n.call(t)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var n,r,i;const t=(n=this.options)==null?void 0:n.element;!this.isPseudoElement&&(t!=null&&t.isConnected)&&((i=(r=this.animation).commitStyles)==null||i.call(r))}get duration(){var n,r;const t=((r=(n=this.animation.effect)==null?void 0:n.getComputedTiming)==null?void 0:r.call(n).duration)||0;return vt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+vt(t)}get time(){return vt(Number(this.animation.currentTime)||0)}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=bt(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){var r;return this.allowFlatten&&((r=this.animation.effect)==null||r.updateTiming({easing:"linear"})),this.animation.onfinish=null,t&&kR()?(this.animation.timeline=t,wt):n(this)}}const jw={anticipate:sw,backInOut:iw,circInOut:aw};function jR(e){return e in jw}function AR(e){typeof e.ease=="string"&&jR(e.ease)&&(e.ease=jw[e.ease])}const _u=10;class MR extends Rw{constructor(t){AR(t),Sw(t),super(t),t.startTime!==void 0&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:r,onComplete:i,element:s,...o}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const a=new lh({...o,autoplay:!1}),l=Math.max(_u,Qe.now()-this.startTime),u=sn(0,_u,l-_u);n.setWithVelocity(a.sample(Math.max(0,l-u)).value,a.sample(l).value,u),a.stop()}}const Bm=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(zt.test(e)||e==="0")&&!e.startsWith("url("));function DR(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 LR(e,t,n,r){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const s=e[e.length-1],o=Bm(i,t),a=Bm(s,t);return Ul(o===a,`You are trying to animate ${t} from "${i}" to "${s}". "${o?s:i}" is not an animatable value.`,"value-not-animatable"),!o||!a?!1:DR(e)||(n==="spring"||Nw(n))&&r}function xd(e){e.duration=0,e.type="keyframes"}const OR=new Set(["opacity","clipPath","filter","transform"]),IR=Zx(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function FR(e){var c;const{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:s,type:o}=e;if(!(((c=t==null?void 0:t.owner)==null?void 0:c.current)instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:u}=t.owner.getProps();return IR()&&n&&OR.has(n)&&(n!=="transform"||!u)&&!l&&!r&&i!=="mirror"&&s!==0&&o!=="inertia"}const VR=40;class _R extends ah{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:
203o="loop",keyframes:a,name:l,motionValue:u,element:c,...d}){var x;super(),this.stop=()=>{var v,b;this._animation&&(this._animation.stop(),(v=this.stopTimeline)==null||v.call(this)),(b=this.keyframeResolver)==null||b.cancel()},this.createdAt=Qe.now();const f={autoplay:t,delay:n,type:r,repeat:i,repeatDelay:s,repeatType:o,name:l,motionValue:u,element:c,...d},p=(c==null?void 0:c.KeyframeResolver)||uh;this.keyframeResolver=new p(a,(v,b,m)=>this.onKeyframesResolved(v,b,f,!m),l,u,c),(x=this.keyframeResolver)==null||x.scheduleResolve()}onKeyframesResolved(t,n,r,i){var b,m;this.keyframeResolver=void 0;const{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:c}=r;this.resolvedAt=Qe.now(),LR(t,s,o,a)||((Cn.instantAnimations||!l)&&(c==null||c(oh(t,r,n))),t[0]=t[t.length-1],xd(r),r.repeat=0);const f={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>VR?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...r,keyframes:t},p=!u&&FR(f),x=(m=(b=f.motionValue)==null?void 0:b.owner)==null?void 0:m.current,v=p?new MR({...f,element:x}):new lh(f);v.finished.then(()=>{this.notifyFinished()}).catch(wt),this.pendingTimeline&&(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){var t;return this._animation||((t=this.keyframeResolver)==null||t.resume(),CR()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var t;this._animation&&this.animation.cancel(),(t=this.keyframeResolver)==null||t.cancel()}}function Aw(e,t,n,r=0,i=1){const s=Array.from(e).sort((u,c)=>u.sortNodePosition(c)).indexOf(t),o=e.size,a=(o-1)*r;return typeof n=="function"?n(s,o):i===1?s*r:a-s*r}const BR=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function zR(e){const t=BR.exec(e);if(!t)return[,];const[,n,r,i]=t;return[`--${n??r}`,i]}const $R=4;function Mw(e,t,n=1){Gi(n<=$R,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=zR(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const o=s.trim();return Yx(o)?parseFloat(o):o}return th(i)?Mw(i,t,n+1):i}const UR={type:"spring",stiffness:500,damping:25,restSpeed:10},WR=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),HR={type:"keyframes",duration:.8},KR={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},GR=(e,{keyframes:t})=>t.length>2?HR:os.has(e)?e.startsWith("scale")?WR(t[1]):UR:KR,QR=e=>e!==null;function YR(e,{repeat:t,repeatType:n="loop"},r){const i=e.filter(QR),s=t&&n!=="loop"&&t%2===1?0:i.length-1;return!s||r===void 0?i[s]:r}function Dw(e,t){if(e!=null&&e.inherit&&t){const{inherit:n,...r}=e;return{...t,...r}}return e}function ch(e,t){const n=(e==null?void 0:e[t])??(e==null?void 0:e.default)??e;return n!==e?Dw(n,e):n}function qR({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const dh=(e,t,n,r={},i,s)=>o=>{const a=ch(r,e)||{},l=a.delay||r.delay||0;let{elapsed:u=0}=r;u=u-bt(l);const 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:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:i};qR(a)||Object.assign(c,GR(e,c)),c.duration&&(c.duration=bt(c.duration)),c.repeatDelay&&(c.repeatDelay=bt(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let d=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(xd(c),c.delay===0&&(
vendor: 20,877 bytes, line 203
203d=!0)),(Cn.instantAnimations||Cn.skipAnimations||i!=null&&i.shouldSkipAnimations)&&(d=!0,xd(c),c.delay=0),c.allowFlatten=!a.type&&!a.ease,d&&!s&&t.get()!==void 0){const f=YR(c.keyframes,a);if(f!==void 0){oe.update(()=>{c.onUpdate(f),c.onComplete()});return}}return a.isSync?new lh(c):new _R(c)};function zm(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function fh(e,t,n,r){if(typeof t=="function"){const[i,s]=zm(r);t=t(n!==void 0?n:e.custom,i,s)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,s]=zm(r);t=t(n!==void 0?n:e.custom,i,s)}return t}function Ri(e,t,n){const r=e.getProps();return fh(r,t,n!==void 0?n:r.custom,e)}const Lw=new Set(["width","height","top","left","right","bottom",...ss]),$m=30,XR=e=>!isNaN(parseFloat(e));class ZR{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=r=>{var s;const i=Qe.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&((s=this.events.change)==null||s.notify(this.current),this.dependents))for(const o of this.dependents)o.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Qe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=XR(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 Zf);const r=this.events[t].add(n);return t==="change"?()=>{r(),oe.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){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}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()}dirty(){var t;(t=this.events.change)==null||t.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Qe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>$m)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,$m);return Jx(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(){var t,n;(t=this.dependents)==null||t.clear(),(n=this.events.destroy)==null||n.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Qi(e,t){return new ZR(e,t)}const wd=e=>Array.isArray(e);function JR(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Qi(n))}function ej(e){return wd(e)?e[e.length-1]||0:e}function tj(e,t){const n=Ri(e,t);let{transitionEnd:r={},transition:i={},...s}=n||{};s={...s,...r};for(const o in s){const a=ej(s[o]);JR(e,o,a)}}const Ue=e=>!!(e&&e.getVelocity);function nj(e){return!!(Ue(e)&&e.add)}function bd(e,t){const n=e.getValue("willChange");if(nj(n))return n.add(t);if(!n&&Cn.WillChange){const r=new Cn.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function hh(e){return e.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const rj="framerAppearId",Ow="data-"+hh(rj);function Iw(e){return e.props[Ow]}function ij({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Fw(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:s,transitionEnd:o,...a}=t;const l=e.getDefaultTransition();s=s?Dw(s,l):l;const u=s==null?void 0:s.reduceMotion;r&&(s=r);const c=[],d=i&&e.animationState&&e.animationState.getState()[i];for(const f in a){const p=e.getValue(f,e.latestValues[f]??null),x=a[f];if(x===void 0||d&&ij(d,f))continue;const v={delay:n,...ch(s||{},f)},b=p.get();if(b!==void 0&&!p.isAnimating&&!Array.isArray(x)&&x===b&&!v.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const S=Iw(e);if(S){const C=window.MotionHandoffAnimation(S,f,oe);C!==null&&(v.startTime=C,m=!0)}}bd(e,f);const g=u??e.shouldReduceMotion;p.start(dh(f,p,x,g&&Lw.has(f)?{type:!1}:v,e,m));const y=p.animation;y&&c.push(y)}if(o){const f=()=>oe.update(()=>{o&&tj(e,o)});c.length?Promise.all(c).then(f):f()}return c}function Sd(e,t,n={}){var l;const r=Ri(e,t,n.type==="exit"?(l=e.presenceContext)==null?void 0:l.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(Fw(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:d,staggerDirection:f}=i;return sj(e,t,u,c,d,f,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[u,c]=a==="beforeChildren"?[s,o]:[o,s];return u().then(()=>c())}else return Promise.all([s(),o(n.delay)])}function sj(e,t,n=0,r=0,i=0,s=1,o){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(Sd(l,t,{...o,delay:n+(typeof r=="function"?0:r)+Aw(e.variantChildren,l,r,i,s)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}function oj(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const i=t.map(s=>Sd(e,s,n));r=Promise.all(i)}else if(typeof t=="string")r=Sd(e,t,n);else{const i=typeof t=="function"?Ri(e,t,n.custom):t;r=Promise.all(Fw(e,i,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const aj={test:e=>e==="auto",parse:e=>e},Vw=e=>t=>t.test(e),_w=[is,V,nn,On,ON,LN,aj],Um=e=>_w.find(Vw(e));function lj(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Xx(e):!0}const uj=new Set(["brightness","contrast","saturate","opacity"]);function cj(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(nh)||[];if(!r)return e;const i=n.replace(r,"");let s=uj.has(t)?1:0;return r!==n&&(s*=100),t+"("+s+i+")"}const dj=/\b([a-z-]*)\(.*?\)/gu,Cd={...zt,getAnimatableNone:e=>{const t=e.match(dj);return t?t.map(cj).join(" "):e}},Ed={...zt,getAnimatableNone:e=>{const t=zt.parse(e);return zt.createTransformer(e)(t.map(r=>typeof r=="number"?0:typeof r=="object"?{...r,alpha:1}:r))}},Wm={...is,transform:Math.round},fj={rotate:On,rotateX:On,rotateY:On,rotateZ:On,scale:ia,scaleX:ia,scaleY:ia,scaleZ:ia,skew:On,skewX:On,skewY:On,distance:V,translateX:V,translateY:V,translateZ:V,x:V,y:V,z:V,perspective:V,transformPerspective:V,opacity:co,originX:jm,originY:jm,originZ:V},ph={borderWidth:V,borderTopWidth:V,borderRightWidth:V,borderBottomWidth:V,borderLeftWidth:V,borderRadius:V,borderTopLeftRadius:V,borderTopRightRadius:V,borderBottomRightRadius:V,borderBottomLeftRadius:V,width:V,maxWidth:V,height:V,maxHeight:V,top:V,right:V,bottom:V,left:V,inset:V,insetBlock:V,insetBlockStart:V,insetBlockEnd:V,insetInline:V,insetInlineStart:V,insetInlineEnd:V,padding:V,paddingTop:V,paddingRight:V,paddingBottom:V,paddingLeft:V,paddingBlock:V,paddingBlockStart:V,paddingBlockEnd:V,paddingInline:V,paddingInlineStart:V,paddingInlineEnd:V,margin:V,marginTop:V,marginRight:V,marginBottom:V,marginLeft:V,marginBlock:V,marginBlockStart:V,marginBlockEnd:V,marginInline:V,marginInlineStart:V,marginInlineEnd:V,fontSize:V,backgroundPositionX:V,backgroundPositionY:V,...fj,zIndex:Wm,fillOpacity:co,strokeOpacity:co,numOctaves:Wm},hj={...ph,color:Se,backgroundColor:Se,outlineColor:Se,fill:Se,stroke:Se,borderColor:Se,borderTopColor:Se,borderRightColor:Se,borderBottomColor:Se,borderLeftColor:Se,filter:Cd,WebkitFilter:Cd,mask:Ed,WebkitMask:Ed},Bw=e=>hj[e],pj=new Set([Cd,Ed]);function zw(e,t){let n=Bw(e);return pj.has(n)||(n=zt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const mj=new Set(["auto","none","0"]);function gj(e,t,n){let r=0,i;for(;r<e.length&&!i;){const s=e[r];typeof s=="string"&&!mj.has(s)&&fo(s).values.length&&(i=e[r]),r++}if(i&&n)for(const s of t)e[s]=zw(n,i)}class yj extends uh{constructor(t,n,r,i,s){super(t,n,r,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c<t.length;c++){let d=t[c];if(typeof d=="string"&&(d=d.trim(),th(d))){const f=Mw(d,n.current);f!==void 0&&(t[c]=f),c===t.length-1&&(this.finalKeyframe=d)}}if(this.resolveNoneKeyframes(),!Lw.has(r)||t.length!==2)return;const[i,s]=t,o=Um(i),a=Um(s),l=Rm(i),u=Rm(s);if(l!==u&&Yn[r]){this.needsMeasurement=!0;return}if(o!==a)if(Vm(o)&&Vm(a))for(let c=0;c<t.length;c++){const d=t[c];typeof d=="string"&&(t[c]=parseFloat(d))}else Yn[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,r=[];for(let i=0;i<t.length;i++)(t[i]===null||lj(t[i]))&&r.push(i);r.length&&gj(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=Yn[r](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(r,i).jump(i,!1)}measureEndState(){var a;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const s=r.length-1,o=r[s];r[s]=Yn[n](t.measureViewportBox(),window.getComputedStyle(t.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),(a=this.removedTransforms)!=null&&a.length&&this.removedTransforms.forEach(([l,u])=>{t.getValue(l).set(u)}),this.resolveNoneKeyframes()}}const vj=new Set(["opacity","clipPath","filter","transform"]);function $w(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e=="string"){const i=document.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(r=>r!=null)}const Uw=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function Td(e){return qx(e)&&"offsetHeight"in e}const{schedule:mh,cancel:fL}=cw(queueMicrotask,!1),At={x:!1,y:!1};function Ww(){return At.x||At.y}function xj(e){return e==="x"||e==="y"?At[e]?null:(At[e]=!0,()=>{At[e]=!1}):At.x||At.y?null:(At.x=At.y=!0,()=>{At.x=At.y=!1})}function Hw(e,t){const n=$w(e),r=new AbortController,i={passive:!0,...t,signal:r.signal};return[n,i,()=>r.abort()]}function wj(e){return!(e.pointerType==="touch"||Ww())}function bj(e,t,n={}){const[r,i,s]=Hw(e,n);return r.forEach(o=>{let a=!1,l=!1,u;const c=()=>{o.removeEventListener("pointerleave",x)},d=b=>{u&&(u(b),u=void 0),c()},f=b=>{a=!1,window.removeEventListener("pointerup",f),window.removeEventListener("pointercancel",f),l&&(l=!1,d(b))},p=()=>{a=!0,window.addEventListener("pointerup",f,i),window.addEventListener("pointercancel",f,i)},x=b=>{if(b.pointerType!=="touch"){if(a){l=!0;return}d(b)}},v=b=>{if(!wj(b))return;l=!1;const m=t(o,b);typeof m=="function"&&(u=m,o.addEventListener("pointerleave",x,i))};o.addEventListener("pointerenter",v,i),o.addEventListener("pointerdown",p,i)}),s}const Kw=(e,t)=>t?e===t?!0:Kw(e,t.parentElement):!1,gh=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Sj=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Cj(e){return Sj.has(e.tagName)||e.isContentEditable===!0}const Ej=new Set(["INPUT","SELECT","TEXTAREA"]);function Tj(e){return Ej.has(e.tagName)||e.isContentEditable===!0}const Ca=new WeakSet;function Hm(e){return t=>{t.key==="Enter"&&e(t)}}function Bu(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Pj=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Hm(()=>{if(Ca.has(n))return;Bu(n,"down");const i=Hm(()=>{Bu(n,"up")}),s=()=>Bu(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",s,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Km(e){return gh(e)&&!Ww()}const Gm=new WeakSet;function kj(e,t,n={}){const[r,i,s]=Hw(e,n),o=a=>{const l=a.currentTarget;if(!Km(a)||Gm.has(a))return;Ca.add(l),n.stopPropagation&&Gm.add(a);const u=t(l,a),c=(p,x)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),Ca.has(l)&&Ca.delete(l),Km(p)&&typeof u=="function"&&u(p,{success:x})},d=p=>{c(p,l===window||l===document||n.useGlobalTarget||Kw(l,p.target))},f=p=>{c(p,!1)};window.addEventListener("pointerup",d,i),window.addEventListener("pointercancel",f,i)};return r.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),Td(a)&&(a.addEventListener("focus",u=>Pj(u,i)),!Cj(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),s}function yh(e){return qx(e)&&"ownerSVGElement"in e}const Ea=new WeakMap;let In;const Gw=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+"Size"]:yh(r)&&"getBBox"in r?r.getBBox()[t]:r[n],Nj=Gw("inline","width","offsetWidth"),Rj=Gw("block","height","offsetHeight");function jj({target:e,borderBoxSize:t}){var n;(n=Ea.get(e))==null||n.forEach(r=>{r(e,{get width(){return Nj(e,t)},get height(){return Rj(e,t)}})})}function Aj(e){e.forEach(jj)}function Mj(){typeof ResizeObserver>"u"||(In=new ResizeObserver(Aj))}function Dj(e,t){In||Mj();const n=$w(e);return n.forEach(r=>{let i=Ea.get(r);i||(i=new Set,Ea.set(r,i)),i.add(t),In==null||In.observe(r)}),()=>{n.forEach(r=>{const i=Ea.get(r);i==null||i.delete(t),i!=null&&i.size||In==null||In.unobserve(r)})}}const Ta=new Set;let yi;function Lj(){yi=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Ta.forEach(t=>t(e))},window.addEventListener("resize",yi)}function Oj(e){return Ta.add(e),yi||Lj(),()=>{Ta.delete(e),!Ta.size&&typeof yi=="function"&&(window.removeEventListener("resize",yi),yi=void 0)}}function Qm(e,t){return typeof e=="function"?Oj(e):Dj(e,t)}function Ij(e){return yh(e)&&e.tagName==="svg"}const Fj=[..._w,Se,zt],Vj=e=>Fj.find(Vw(e)),Ym=()=>({translate:0,scale:1,origin:0,originPoint:0}),vi=()=>({x:Ym(),y:Ym()}),qm=()=>({min:0,max:0}),Pe=()=>({x:qm(),y:qm()}),_j=new WeakMap;function Wl(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function ho(e){return typeof e=="string"||Array.isArray(e)}const vh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],xh=["initial",...vh];function Hl(e){return Wl(e.animate)||xh.some(t=>ho(e[t]))}function Qw(e){return!!(Hl(e)||e.variants)}function Bj(e,t,n){for(const r in t){const i=t[r],s=n[r];if(Ue(i))e.addValue(r,i);else if(Ue(s))e.addValue(r,Qi(i,{owner:e}));else if(s!==i)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=e.getStaticValue(r);e.addValue(r,Qi(o!==void 0?o:i,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Pd={current:null},Yw={current:!1},zj=typeof window<"u";function $j(){if(Yw.current=!0,!!zj)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Pd.current=e.matches;e.addEventListener("change",t),t()}else Pd.current=!1}const Xm=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let cl={};function qw(e){cl=e}function Uj(){return cl}class Wj{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=uh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,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 p=Qe.now();this.renderScheduledAt<p&&(this.renderScheduledAt=p,oe.render(this.render,!1,!0))};const{latestValues:u,renderState:c}=a;this.latestValues=u,this.baseTarget={...u},this.initialValues=n.initial?{...u}:{},this.renderState=c,this.parent=t,this.props=n,this.presenceContext=r,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=l,this.blockInitialAnimation=!!o,this.isControllingVariants=Hl(n),this.isVariantNode=Qw(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...f}=this.scrapeMotionValuesFromProps(n,{},this);for(const p in f){const x=f[p];u[p]!==void 0&&Ue(x)&&x.set(u[p])}}mount(t){var n,r;if(this.hasBeenMounted)for(const i in this.initialValues)(n=this.values.get(i))==null||n.jump(this.initialValues[i]),this.latestValues[i]=this.initialValues[i];this.current=t,_j.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((i,s)=>this.bindToMotionValue(s,i)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(Yw.current||$j(),this.shouldReduceMotion=Pd.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,(r=this.parent)==null||r.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var t;this.projection&&this.projection.unmount(),dr(this.notifyUpdate),dr(this.render),this.valueSubscriptions.forEach(n=>n()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(t=this.parent)==null||t.removeChild(this);for(const n in this.events)this.events[n].clear();for(const n in this.features){const r=this.features[n];r&&(r.unmount(),r.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),n.accelerate&&vj.has(t)&&this.current instanceof HTMLElement){const{factory:o,keyframes:a,times:l,ease:u,duration:c}=n.accelerate,d=new Rw({element:this.current,name:t,keyframes:a,times:l,ease:u,duration:bt(c)}),f=o(d);this.valueSubscriptions.set(t,()=>{f(),d.cancel()});return}const r=os.has(t);r&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[t]=o,this.props.onUpdate&&oe.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let s;typeof window<"u"&&window.MotionCheckAppearSync&&(s=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{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 cl){const n=cl[t];if(!n)continue;const{isEnabled:r,Feature:i}=n;if(!this.features[t]&&i&&r(this.props)&&(this.features[t]=new i(this)),this.features[t]){const s=this.features[t];s.isMounted?s.update():(s.mount(),s.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Pe()}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<Xm.length;r++){const i=Xm[r];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const s="on"+i,o=t[s];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=Bj(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}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}
vendor: 4,438 bytes, line 203
203addVariantChild(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=Qi(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Yx(r)||Xx(r))?r=parseFloat(r):!Vj(r)&&zt.test(n)&&(r=zw(t,n)),this.setBaseTarget(t,Ue(r)?r.get():r)),Ue(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var s;const{initial:n}=this.props;let r;if(typeof n=="string"||typeof n=="object"){const o=fh(this.props,n,(s=this.presenceContext)==null?void 0:s.custom);o&&(r=o[t])}if(n&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ue(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Zf),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){mh.render(this.render)}}class Xw extends Wj{constructor(){super(...arguments),this.KeyframeResolver=yj}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){const r=t.style;return r?r[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;Ue(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class mr{constructor(t){this.isMounted=!1,this.node=t}update(){}}function Zw({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Hj({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Kj(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 zu(e){return e===void 0||e===1}function kd({scale:e,scaleX:t,scaleY:n}){return!zu(e)||!zu(t)||!zu(n)}function Sr(e){return kd(e)||Jw(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Jw(e){return Zm(e.x)||Zm(e.y)}function Zm(e){return e&&e!=="0%"}function dl(e,t,n){const r=e-n,i=t*r;return n+i}function Jm(e,t,n,r,i){return i!==void 0&&(e=dl(e,i,r)),dl(e,n,r)+t}function Nd(e,t=0,n=1,r,i){e.min=Jm(e.min,t,n,r,i),e.max=Jm(e.max,t,n,r,i)}function e1(e,{x:t,y:n}){Nd(e.x,t.translate,t.scale,t.originPoint),Nd(e.y,n.translate,n.scale,n.originPoint)}const eg=.999999999999,tg=1.0000000000001;function Gj(e,t,n,r=!1){const i=n.length;if(!i)return;t.x=t.y=1;let s,o;for(let a=0;a<i;a++){s=n[a],o=s.projectionDelta;const{visualElement:l}=s.options;l&&l.props.style&&l.props.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&wi(e,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,e1(e,o)),r&&Sr(s.latestValues)&&wi(e,s.latestValues))}t.x<tg&&t.x>eg&&(t.x=1),t.y<tg&&t.y>eg&&(t.y=1)}function xi(e,t){e.min=e.min+t,e.max=e.max+t}function ng(e,t,n,r,i=.5){const s=pe(e.min,e.max,i);Nd(e,t,n,s,r)}function wi(e,t){ng(e.x,t.x,t.scaleX,t.scale,t.originX),ng(e.y,t.y,t.scaleY,t.scale,t.originY)}function t1(e,t){return Zw(Kj(e.getBoundingClientRect(),t))}function Qj(e,t,n){const r=t1(e,n),{scroll:i}=t;return i&&(xi(r.x,i.offset.x),xi(r.y,i.offset.y)),r}const Yj={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},qj=ss.length;function Xj(e,t,n){let r="",i=!0;for(let s=0;s<qj;s++){const o=ss[s],a=e[o];if(a===void 0)continue;let l=!0;if(typeof a=="number")l=a===(o.startsWith("scale")?1:0);else{const u=parseFloat(a);l=o.startsWith("scale")?u===1:u===0}if(!l||n){const u=Uw(a,ph[o]);if(!l){i=!1;const c=Yj[o]||o;r+=`${c}(${u}) `}n&&(t[o]=u)}}return r=r.trim(),n?r=n(t,i?"":r):i&&(r="none"),r}
vendor: 4,240 bytes, line 203
203function wh(e,t,n){const{style:r,vars:i,transformOrigin:s}=e;let o=!1,a=!1;for(const l in t){const u=t[l];if(os.has(l)){o=!0;continue}else if(fw(l)){i[l]=u;continue}else{const c=Uw(u,ph[l]);l.startsWith("origin")?(a=!0,s[l]=c):r[l]=c}}if(t.transform||(o||n?r.transform=Xj(t,e.transform,n):r.transform&&(r.transform="none")),a){const{originX:l="50%",originY:u="50%",originZ:c=0}=s;r.transformOrigin=`${l} ${u} ${c}`}}function n1(e,{style:t,vars:n},r,i){const s=e.style;let o;for(o in t)s[o]=t[o];i==null||i.applyProjectionStyles(s,r);for(o in n)s.setProperty(o,n[o])}function rg(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const xs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(V.test(e))e=parseFloat(e);else return e;const n=rg(e,t.target.x),r=rg(e,t.target.y);return`${n}% ${r}%`}},Zj={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,i=zt.parse(e);if(i.length>5)return r;const s=zt.createTransformer(e),o=typeof i[0]!="number"?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;i[0+o]/=a,i[1+o]/=l;const u=pe(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),s(i)}},Rd={borderRadius:{...xs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:xs,borderTopRightRadius:xs,borderBottomLeftRadius:xs,borderBottomRightRadius:xs,boxShadow:Zj};function r1(e,{layout:t,layoutId:n}){return os.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Rd[e]||e==="opacity")}function bh(e,t,n){var o;const r=e.style,i=t==null?void 0:t.style,s={};if(!r)return s;for(const a in r)(Ue(r[a])||i&&Ue(i[a])||r1(a,e)||((o=n==null?void 0:n.getValue(a))==null?void 0:o.liveStyle)!==void 0)&&(s[a]=r[a]);return s}function Jj(e){return window.getComputedStyle(e)}class eA extends Xw{constructor(){super(...arguments),this.type="html",this.renderInstance=n1}readValueFromInstance(t,n){var r;if(os.has(n))return(r=this.projection)!=null&&r.isProjecting?pd(n):vR(t,n);{const i=Jj(t),s=(fw(n)?i.getPropertyValue(n):i[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return t1(t,n)}build(t,n,r){wh(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return bh(t,n,r)}}const tA={offset:"stroke-dashoffset",array:"stroke-dasharray"},nA={offset:"strokeDashoffset",array:"strokeDasharray"};function rA(e,t,n=1,r=0,i=!0){e.pathLength=1;const s=i?tA:nA;e[s.offset]=`${-r}`,e[s.array]=`${t} ${n}`}const iA=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function i1(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:s=1,pathOffset:o=0,...a},l,u,c){if(wh(e,a,u),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),f.transform&&(f.transformBox=(c==null?void 0:c.transformBox)??"fill-box",delete d.transformBox);for(const p of iA)d[p]!==void 0&&(f[p]=d[p],delete d[p]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&rA(d,i,s,o,!1)}const s1=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"]),o1=e=>typeof e=="string"&&e.toLowerCase()==="svg";function sA(e,t,n,r){n1(e,t,void 0,r);for(const i in t.attrs)e.setAttribute(s1.has(i)?i:hh(i),t.attrs[i])}function a1(e,t,n){const r=bh(e,t,n);for(const i in e)if(Ue(e[i])||Ue(t[i])){const s=ss.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;r[s]=e[i]}return r}class oA extends Xw{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Pe}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(os.has(n)){const r=Bw(n);return r&&r.default||0}return n=s1.has(n)?n:hh(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return a1(t,n,r)}build(t,n,r){i1(t,n,this.isSVGTag,r.transformTemplate,r.style)}
vendor: 20,609 bytes, line 203
203renderInstance(t,n,r,i){sA(t,n,r,i)}mount(t){this.isSVGTag=o1(t.tagName),super.mount(t)}}const aA=xh.length;function l1(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?l1(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<aA;n++){const r=xh[n],i=e.props[r];(ho(i)||i===!1)&&(t[r]=i)}return t}function u1(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}const lA=[...vh].reverse(),uA=vh.length;function cA(e){return t=>Promise.all(t.map(({animation:n,options:r})=>oj(e,n,r)))}function dA(e){let t=cA(e),n=ig(),r=!0;const i=l=>(u,c)=>{var f;const d=Ri(e,c,l==="exit"?(f=e.presenceContext)==null?void 0:f.custom:void 0);if(d){const{transition:p,transitionEnd:x,...v}=d;u={...u,...v,...x}}return u};function s(l){t=l(e)}function o(l){const{props:u}=e,c=l1(e.parent)||{},d=[],f=new Set;let p={},x=1/0;for(let b=0;b<uA;b++){const m=lA[b],g=n[m],y=u[m]!==void 0?u[m]:c[m],S=ho(y),C=m===l?g.isActive:null;C===!1&&(x=b);let E=y===c[m]&&y!==u[m]&&S;if(E&&r&&e.manuallyAnimateOnMount&&(E=!1),g.protectedKeys={...p},!g.isActive&&C===null||!y&&!g.prevProp||Wl(y)||typeof y=="boolean")continue;if(m==="exit"&&g.isActive&&C!==!0){g.prevResolvedValues&&(p={...p,...g.prevResolvedValues});continue}const P=fA(g.prevProp,y);let T=P||m===l&&g.isActive&&!E&&S||b>x&&S,j=!1;const A=Array.isArray(y)?y:[y];let _=A.reduce(i(m),{});C===!1&&(_={});const{prevResolvedValues:I={}}=g,U={...I,..._},L=B=>{T=!0,f.has(B)&&(j=!0,f.delete(B)),g.needsAnimating[B]=!0;const k=e.getValue(B);k&&(k.liveStyle=!1)};for(const B in U){const k=_[B],R=I[B];if(p.hasOwnProperty(B))continue;let O=!1;wd(k)&&wd(R)?O=!u1(k,R):O=k!==R,O?k!=null?L(B):f.add(B):k!==void 0&&f.has(B)?L(B):g.protectedKeys[B]=!0}g.prevProp=y,g.prevResolvedValues=_,g.isActive&&(p={...p,..._}),r&&e.blockInitialAnimation&&(T=!1);const Q=E&&P;T&&(!Q||j)&&d.push(...A.map(B=>{const k={type:m};if(typeof B=="string"&&r&&!Q&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,O=Ri(R,B);if(R.enteringChildren&&O){const{delayChildren:W}=O.transition||{};k.delay=Aw(R.enteringChildren,e,W)}}return{animation:B,options:k}}))}if(f.size){const b={};if(typeof u.initial!="boolean"){const m=Ri(e,Array.isArray(u.initial)?u.initial[0]:u.initial);m&&m.transition&&(b.transition=m.transition)}f.forEach(m=>{const g=e.getBaseTarget(m),y=e.getValue(m);y&&(y.liveStyle=!0),b[m]=g??null}),d.push({animation:b})}let v=!!d.length;return r&&(u.initial===!1||u.initial===u.animate)&&!e.manuallyAnimateOnMount&&(v=!1),r=!1,v?t(d):Promise.resolve()}function a(l,u){var d;if(n[l].isActive===u)return Promise.resolve();(d=e.variantChildren)==null||d.forEach(f=>{var p;return(p=f.animationState)==null?void 0:p.setActive(l,u)}),n[l].isActive=u;const c=o(l);for(const f in n)n[f].protectedKeys={};return c}return{animateChanges:o,setActive:a,setAnimateFunction:s,getState:()=>n,reset:()=>{n=ig()}}}function fA(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!u1(t,e):!1}function xr(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ig(){return{animate:xr(!0),whileInView:xr(),whileHover:xr(),whileTap:xr(),whileDrag:xr(),whileFocus:xr(),exit:xr()}}function sg(e,t){e.min=t.min,e.max=t.max}function jt(e,t){sg(e.x,t.x),sg(e.y,t.y)}function og(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}const c1=1e-4,hA=1-c1,pA=1+c1,d1=.01,mA=0-d1,gA=0+d1;function Ye(e){return e.max-e.min}function yA(e,t,n){return Math.abs(e-t)<=n}function ag(e,t,n,r=.5){e.origin=r,e.originPoint=pe(t.min,t.max,e.origin),e.scale=Ye(n)/Ye(t),e.translate=pe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=hA&&e.scale<=pA||isNaN(e.scale))&&(e.scale=1),(e.translate>=mA&&e.translate<=gA||isNaN(e.translate))&&(e.translate=0)}function Vs(e,t,n,r){ag(e.x,t.x,n.x,r?r.originX:void 0),ag(e.y,t.y,n.y,r?r.originY:void 0)}function lg(e,t,n){e.min=n.min+t.min,e.max=e.min+Ye(t)}function vA(e,t,n){lg(e.x,t.x,n.x),lg(e.y,t.y,n.y)}function ug(e,t,n){e.min=t.min-n.min,e.max=e.min+Ye(t)}function fl(e,t,n){ug(e.x,t.x,n.x),ug(e.y,t.y,n.y)}function cg(e,t,n,r,i){return e-=t,e=dl(e,1/n,r),i!==void 0&&(e=dl(e,1/i,r)),e}function xA(e,t=0,n=1,r=.5,i,s=e,o=e){if(nn.test(t)&&(t=parseFloat(t),t=pe(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=pe(s.min,s.max,r);e===s&&(a-=t),e.min=cg(e.min,t,n,a,i),e.max=cg(e.max,t,n,a,i)}function dg(e,t,[n,r,i],s,o){xA(e,t[n],t[r],t[i],t.scale,s,o)}const wA=["x","scaleX","originX"],bA=["y","scaleY","originY"];function fg(e,t,n,r){dg(e.x,t,wA,n?n.x:void 0,r?r.x:void 0),dg(e.y,t,bA,n?n.y:void 0,r?r.y:void 0)}function hg(e){return e.translate===0&&e.scale===1}function f1(e){return hg(e.x)&&hg(e.y)}function pg(e,t){return e.min===t.min&&e.max===t.max}function SA(e,t){return pg(e.x,t.x)&&pg(e.y,t.y)}function mg(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function h1(e,t){return mg(e.x,t.x)&&mg(e.y,t.y)}function gg(e){return Ye(e.x)/Ye(e.y)}function yg(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Gt(e){return[e("x"),e("y")]}function CA(e,t,n){let r="";const i=e.x.translate/t.x,s=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((i||s||o)&&(r=`translate3d(${i}px, ${s}px, ${o}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:p,skewY:x}=n;u&&(r=`perspective(${u}px) ${r}`),c&&(r+=`rotate(${c}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),x&&(r+=`skewY(${x}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 p1=["TopLeft","TopRight","BottomLeft","BottomRight"],EA=p1.length,vg=e=>typeof e=="string"?parseFloat(e):e,xg=e=>typeof e=="number"||V.test(e);function TA(e,t,n,r,i,s){i?(e.opacity=pe(0,n.opacity??1,PA(r)),e.opacityExit=pe(t.opacity??1,0,kA(r))):s&&(e.opacity=pe(t.opacity??1,n.opacity??1,r));for(let o=0;o<EA;o++){const a=`border${p1[o]}Radius`;let l=wg(t,a),u=wg(n,a);if(l===void 0&&u===void 0)continue;l||(l=0),u||(u=0),l===0||u===0||xg(l)===xg(u)?(e[a]=Math.max(pe(vg(l),vg(u),r),0),(nn.test(u)||nn.test(l))&&(e[a]+="%")):e[a]=u}(t.rotate||n.rotate)&&(e.rotate=pe(t.rotate||0,n.rotate||0,r))}function wg(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const PA=m1(0,.5,ow),kA=m1(.5,.95,wt);function m1(e,t,n){return r=>r<e?0:r>t?1:n(uo(e,t,r))}function NA(e,t,n){const r=Ue(e)?e:Qi(e);return r.start(dh("",r,t,n)),r.animation}function po(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const RA=(e,t)=>e.depth-t.depth;class jA{constructor(){this.children=[],this.isDirty=!1}add(t){Xf(this.children,t),this.isDirty=!0}remove(t){ol(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(RA),this.isDirty=!1,this.children.forEach(t)}}function AA(e,t){const n=Qe.now(),r=({timestamp:i})=>{const s=i-n;s>=t&&(dr(r),e(s-t))};return oe.setup(r,!0),()=>dr(r)}function Pa(e){return Ue(e)?e.get():e}class MA{constructor(){this.members=[]}add(t){Xf(this.members,t);for(let n=this.members.length-1;n>=0;n--){const r=this.members[n];if(r===t||r===this.lead||r===this.prevLead)continue;const i=r.instance;i&&i.isConnected===!1&&r.isPresent!==!1&&!r.snapshot&&ol(this.members,r)}t.scheduleRender()}remove(t){if(ol(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(i=>t===i);if(n===0)return!1;let r;for(let i=n;i>=0;i--){const s=this.members[i],o=s.instance;if(s.isPresent!==!1&&(!o||o.isConnected!==!1)){r=s;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();const i=r.options.layoutDependency,s=t.options.layoutDependency;if(!(i!==void 0&&s!==void 0&&i===s)){const l=r.instance;l&&l.isConnected===!1&&!r.snapshot||(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:a}=t.options;a===!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)}}const ka={hasAnimatedSinceResize:!0,hasEverUpdated:!1},$u=["","X","Y","Z"],DA=1e3;let LA=0;function Uu(e,t,n,r){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function g1(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Iw(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:s}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",oe,!(i||s))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&g1(r)}function y1({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(o={},a=t==null?void 0:t()){this.id=LA++,this.animationId=0,this.animationCommitId=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.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(FA),this.nodes.forEach(zA),this.nodes.forEach($A),this.nodes.forEach(VA)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,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 jA)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new Zf),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const l=this.eventHandlers.get(o);l&&l.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=yh(o)&&!Ij(o),this.instance=o;const{layoutId:a,layout:l,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||a)&&(this.isLayoutDirty=!0),e){let c,d=0;const f=()=>this.root.updateBlockedByResize=!1;oe.read(()=>{d=window.innerWidth}),e(o,()=>{const p=window.innerWidth;p!==d&&(d=p,this.root.updateBlockedByResize=!0,c&&c(),c=AA(f,250),ka.hasAnimatedSinceResize&&(ka.hasAnimatedSinceResize=!1,this.nodes.forEach(Cg)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||l)&&this.addEventListener("didUpdate",({delta:c,hasLayoutChanged:d,hasRelativeLayoutChanged:f,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const x=this.options.transition||u.getDefaultTransition()||GA,{onLayoutAnimationStart:v,onLayoutAnimationComplete:b}=u.getProps(),m=!this.targetLayout||!h1(this.targetLayout,p),g=!d&&f;if(this.options.layoutRoot||this.resumeFrom||g||d&&(m||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const y={...ch(x,"layout"),onPlay:v,onComplete:b};(u.shouldReduceMotion||this.options.layoutRoot)&&(y.delay=0,y.type=!1),this.startAnimation(y),this.setAnimationOrigin(c,g)}else d||Cg(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),dr(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(UA),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&g1(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(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(bg);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Sg);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(BA),this.nodes.forEach(OA),this.nodes.forEach(IA)):this.nodes.forEach(Sg),this.clearAllSnapshots();const a=Qe.now();De.delta=sn(0,1e3/60,a-De.timestamp),De.timestamp=a,De.isProcessing=!0,Lu.update.process(De),Lu.preRender.process(De),Lu.render.process(De),De.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,mh.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(_A),this.sharedNodes.forEach(WA)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,oe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){oe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ye(this.snapshot.measuredBox.x)&&!Ye(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}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 o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Pe(),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,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const l=r(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!f1(this.projectionDelta),l=this.getTransformTemplate(),u=l?l(this.latestValues,""):void 0,c=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||Sr(this.latestValues)||c)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let l=this.removeElementScroll(a);return o&&(l=this.removeTransform(l)),QA(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){var u;const{visualElement:o}=this.options;if(!o)return Pe();const a=o.measureViewportBox();if(!(((u=this.scroll)==null?void 0:u.wasRoot)||this.path.some(YA))){const{scroll:c}=this.root;c&&(xi(a.x,c.offset.x),xi(a.y,c.offset.y))}return a}removeElementScroll(o){var l;const a=Pe();if(jt(a,o),(l=this.scroll)!=null&&l.wasRoot)return a;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&&jt(a,o),xi(a.x,d.offset.x),xi(a.y,d.offset.y))}return a}applyTransform(o,a=!1){const l=Pe();jt(l,o);for(let u=0;u<this.path.length;u++){const c=this.path[u];!a&&c.options.layoutScroll&&c.scroll&&c!==c.root&&wi(l,{x:-c.scroll.offset.x,y:-c.scroll.offset.y}),Sr(c.latestValues)&&wi(l,c.latestValues)}return Sr(this.latestValues)&&wi(l,this.latestValues),l}removeTransform(o){const a=Pe();jt(a,o);for(let l=0;l<this.path.length;l++){const u=this.path[l];if(!u.instance||!Sr(u.latestValues))continue;kd(u.latestValues)&&u.updateSnapshot();const c=Pe(),d=u.measurePageBox();jt(c,d),fg(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,c)}return Sr(this.latestValues)&&fg(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.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!==De.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){var p;const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==a;if(!(o||l&&this.isSharedProjectionDirty||this.isProjectionDirty||(p=this.parent)!=null&&p.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:c,layoutId:d}=this.options;if(!this.layout||!(c||d))return;this.resolvedRelativeTargetAt=De.timestamp;const f=this.getClosestProjectingParent();f&&this.linkedParentVersion!==f.layoutVersion&&!f.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(f&&f.layout?this.createRelativeTarget(f,this.layout.layoutBox,f.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Pe(),this.targetWithTransforms=Pe()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),vA(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):jt(this.target,this.layout.layoutBox),e1(this.target,this.targetDelta)):jt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,f&&!!f.resumingFrom==!!this.resumingFrom&&!f.options.layoutScroll&&f.target&&this.animationProgress!==1?this.createRelativeTarget(f,this.target,f.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||kd(this.parent.latestValues)||Jw(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,l){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Pe(),this.relativeTargetOrigin=Pe(),fl(this.relativeTargetOrigin,a,l),jt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var x;const o=this.getLead(),a=!!this.resumingFrom||this!==o;let l=!0;if((this.isProjectionDirty||(x=this.parent)!=null&&x.isProjectionDirty)&&
vendor: 4,304 bytes, line 203
203(l=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===De.timestamp&&(l=!1),l)return;const{layout:u,layoutId:c}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||c))return;jt(this.layoutCorrected,this.layout.layoutBox);const d=this.treeScale.x,f=this.treeScale.y;Gj(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=Pe());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(og(this.prevProjectionDelta.x,this.projectionDelta.x),og(this.prevProjectionDelta.y,this.projectionDelta.y)),Vs(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==d||this.treeScale.y!==f||!yg(this.projectionDelta.x,this.prevProjectionDelta.x)||!yg(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){var a;if((a=this.options.visualElement)==null||a.scheduleRender(),o){const l=this.getStack();l&&l.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=vi(),this.projectionDelta=vi(),this.projectionDeltaWithTransform=vi()}setAnimationOrigin(o,a=!1){const l=this.snapshot,u=l?l.latestValues:{},c={...this.latestValues},d=vi();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const f=Pe(),p=l?l.source:void 0,x=this.layout?this.layout.source:void 0,v=p!==x,b=this.getStack(),m=!b||b.members.length<=1,g=!!(v&&!m&&this.options.crossfade===!0&&!this.path.some(KA));this.animationProgress=0;let y;this.mixTargetDelta=S=>{const C=S/1e3;Eg(d.x,o.x,C),Eg(d.y,o.y,C),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(fl(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),HA(this.relativeTarget,this.relativeTargetOrigin,f,C),y&&SA(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=Pe()),jt(y,this.relativeTarget)),v&&(this.animationValues=c,TA(c,u,this.latestValues,C,g,m)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){var a,l,u;this.notifyListeners("animationStart"),(a=this.currentAnimation)==null||a.stop(),(u=(l=this.resumingFrom)==null?void 0:l.currentAnimation)==null||u.stop(),this.pendingAnimation&&(dr(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=oe.update(()=>{ka.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Qi(0)),this.motionValue.jump(0,!1),this.currentAnimation=NA(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:c=>{this.mixTargetDelta(c),o.onUpdate&&o.onUpdate(c)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(DA),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&v1(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||Pe();const d=Ye(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+d;const f=Ye(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}
vendor: 5,206 bytes, line 203
203jt(a,l),wi(a,c),Vs(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new MA),this.sharedNodes.get(o).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 o=this.getStack();return o?o.lead===this:!0}getLead(){var a;const{layoutId:o}=this.options;return o?((a=this.getStack())==null?void 0:a.lead)||this:this}getPrevLead(){var a;const{layoutId:o}=this.options;return o?(a=this.getStack())==null?void 0:a.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&Uu("z",o,u,this.animationValues);for(let c=0;c<$u.length;c++)Uu(`rotate${$u[c]}`,o,u,this.animationValues),Uu(`skew${$u[c]}`,o,u,this.animationValues);o.render();for(const c in u)o.setStaticValue(c,u[c]),this.animationValues&&(this.animationValues[c]=u[c]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Pa(a==null?void 0:a.pointerEvents)||"",o.transform=l?l(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Pa(a==null?void 0:a.pointerEvents)||""),this.hasProjected&&!Sr(this.latestValues)&&(o.transform=l?l({},""):"none",this.hasProjected=!1);return}o.visibility="";const c=u.animationValues||u.latestValues;this.applyTransformsToTarget();let d=CA(this.projectionDeltaWithTransform,this.treeScale,c);l&&(d=l(c,d)),o.transform=d;const{x:f,y:p}=this.projectionDelta;o.transformOrigin=`${f.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?c.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:c.opacityExit:o.opacity=u===this?c.opacity!==void 0?c.opacity:"":c.opacityExit!==void 0?c.opacityExit:0;for(const x in Rd){if(c[x]===void 0)continue;const{correct:v,applyTo:b,isCSSVariable:m}=Rd[x],g=d==="none"?c[x]:v(c[x],u);if(b){const y=b.length;for(let S=0;S<y;S++)o[b[S]]=g}else m?this.options.visualElement.renderState.vars[x]=g:o[x]=g}this.options.layoutId&&(o.pointerEvents=u===this?Pa(a==null?void 0:a.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>{var a;return(a=o.currentAnimation)==null?void 0:a.stop()}),this.root.nodes.forEach(bg),this.root.sharedNodes.clear()}}}function OA(e){e.updateLayout()}function IA(e){var n;const t=((n=e.resumeFrom)==null?void 0:n.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:i}=e.layout,{animationType:s}=e.options,o=t.source!==e.layout.source;s==="size"?Gt(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],p=Ye(f);f.min=r[d].min,f.max=f.min+p}):v1(s,t.layoutBox,r)&&Gt(d=>{const f=o?t.measuredBox[d]:t.layoutBox[d],p=Ye(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=vi();Vs(a,r,t.layoutBox);const l=vi();o?Vs(l,e.applyTransform(i,!0),t.measuredBox):Vs(l,r,t.layoutBox);const u=!f1(a);let c=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const x=Pe();fl(x,t.layoutBox,f.layoutBox);const v=Pe();fl(v,r,p.layoutBox),h1(x,v)||(c=!0),d.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=x,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeLayoutChanged:c})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function FA(e){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 VA(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function _A(e){e.clearSnapshot()}function bg(e){e.clearMeasurements()}function Sg(e){e.isLayoutDirty=!1}function BA(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Cg(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function zA(e){e.resolveTargetDelta()}function $A(e){e.calcProjection()}
vendor: 14,305 bytes, lines 203-211
203function UA(e){e.resetSkewAndRotation()}function WA(e){e.removeLeadSnapshot()}function Eg(e,t,n){e.translate=pe(t.translate,0,n),e.scale=pe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Tg(e,t,n,r){e.min=pe(t.min,n.min,r),e.max=pe(t.max,n.max,r)}function HA(e,t,n,r){Tg(e.x,t.x,n.x,r),Tg(e.y,t.y,n.y,r)}function KA(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const GA={duration:.45,ease:[.4,0,.1,1]},Pg=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),kg=Pg("applewebkit/")&&!Pg("chrome/")?Math.round:wt;function Ng(e){e.min=kg(e.min),e.max=kg(e.max)}function QA(e){Ng(e.x),Ng(e.y)}function v1(e,t,n){return e==="position"||e==="preserve-aspect"&&!yA(gg(t),gg(n),.2)}function YA(e){var t;return e!==e.root&&((t=e.scroll)==null?void 0:t.wasRoot)}const qA=y1({attachResizeListener:(e,t)=>po(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||((e=document.body)==null?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||((t=document.body)==null?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),Wu={current:void 0},x1=y1({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Wu.current){const e=new qA({});e.mount(window),e.setOptions({layoutScroll:!0}),Wu.current=e}return Wu.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Sh=w.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function Rg(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function XA(...e){return t=>{let n=!1;const r=e.map(i=>{const s=Rg(i,t);return!n&&typeof s=="function"&&(n=!0),s});if(n)return()=>{for(let i=0;i<r.length;i++){const s=r[i];typeof s=="function"?s():Rg(e[i],null)}}}}function ZA(...e){return w.useCallback(XA(...e),e)}class JA extends w.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent&&this.props.pop!==!1){const r=n.offsetParent,i=Td(r)&&r.offsetWidth||0,s=Td(r)&&r.offsetHeight||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left,o.bottom=s-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function eM({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:s}){var f;const o=w.useId(),a=w.useRef(null),l=w.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:u}=w.useContext(Sh),c=((f=e.props)==null?void 0:f.ref)??(e==null?void 0:e.ref),d=ZA(a,c);return w.useInsertionEffect(()=>{const{width:p,height:x,top:v,left:b,right:m,bottom:g}=l.current;if(t||s===!1||!a.current||!p||!x)return;const y=n==="left"?`left: ${b}`:`right: ${m}`,S=r==="bottom"?`bottom: ${g}`:`top: ${v}`;a.current.dataset.motionPopId=o;const C=document.createElement("style");u&&(C.nonce=u);const E=i??document.head;return E.appendChild(C),C.sheet&&C.sheet.insertRule(`
204          [data-motion-pop-id="${o}"] {
205            position: absolute !important;
206            width: ${p}px !important;
207            height: ${x}px !important;
208            ${y}px !important;
209            ${S}px !important;
210          }
211        `),()=>{E.contains(C)&&E.removeChild(C)}},[t]),h.jsx(JA,{isPresent:t,childRef:a,sizeRef:l,pop:s,children:s===!1?e:w.cloneElement(e,{ref:d})})}const tM=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:i,presenceAffectsLayout:s,mode:o,anchorX:a,anchorY:l,root:u})=>{const c=qf(nM),d=w.useId();let f=!0,p=w.useMemo(()=>(f=!1,{id:d,initial:t,isPresent:n,custom:i,onExitComplete:x=>{c.set(x,!0);for(const v of c.values())if(!v)return;r&&r()},register:x=>(c.set(x,!1),()=>c.delete(x))}),[n,c,r]);return s&&f&&(p={...p}),w.useMemo(()=>{c.forEach((x,v)=>c.set(v,!1))},[n]),w.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),e=h.jsx(eM,{pop:o==="popLayout",isPresent:n,anchorX:a,anchorY:l,root:u,children:e}),h.jsx($l.Provider,{value:p,children:e})};function nM(){return new Map}function w1(e=!0){const t=w.useContext($l);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:i}=t,s=w.useId();w.useEffect(()=>{if(e)return i(s)},[e]);const o=w.useCallback(()=>e&&r&&r(s),[s,r,e]);return!n&&r?[!1,o]:[!0]}const sa=e=>e.key||"";function jg(e){const t=[];return w.Children.forEach(e,n=>{w.isValidElement(n)&&t.push(n)}),t}const rM=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:i=!0,mode:s="sync",propagate:o=!1,anchorX:a="left",anchorY:l="top",root:u})=>{const[c,d]=w1(o),f=w.useMemo(()=>jg(e),[e]),p=o&&!c?[]:f.map(sa),x=w.useRef(!0),v=w.useRef(f),b=qf(()=>new Map),m=w.useRef(new Set),[g,y]=w.useState(f),[S,C]=w.useState(f);Qx(()=>{x.current=!1,v.current=f;for(let T=0;T<S.length;T++){const j=sa(S[T]);p.includes(j)?(b.delete(j),m.current.delete(j)):b.get(j)!==!0&&b.set(j,!1)}},[S,p.length,p.join("-")]);const E=[];if(f!==g){let T=[...f];for(let j=0;j<S.length;j++){const A=S[j],_=sa(A);p.includes(_)||(T.splice(j,0,A),E.push(A))}return s==="wait"&&E.length&&(T=E),C(jg(T)),y(f),null}const{forceRender:P}=w.useContext(Yf);return h.jsx(h.Fragment,{children:S.map(T=>{const j=sa(T),A=o&&!c?!1:f===S||p.includes(j),_=()=>{if(m.current.has(j))return;if(m.current.add(j),b.has(j))b.set(j,!0);else return;let I=!0;b.forEach(U=>{U||(I=!1)}),I&&(P==null||P(),C(v.current),o&&(d==null||d()),r&&r())};return h.jsx(tM,{isPresent:A,initial:!x.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:s,root:u,onExitComplete:A?void 0:_,anchorX:a,anchorY:l,children:T},j)})})},b1=w.createContext({strict:!1}),Ag={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"]};let Mg=!1;function iM(){if(Mg)return;const e={};for(const t in Ag)e[t]={isEnabled:n=>Ag[t].some(r=>!!n[r])};qw(e),Mg=!0}function S1(){return iM(),Uj()}function sM(e){const t=S1();for(const n in e)t[n]={...t[n],...e[n]};qw(t)}const oM=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","propagate","ignoreStrict","viewport"]);function hl(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||oM.has(e)}let C1=e=>!hl(e);function aM(e){typeof e=="function"&&(C1=t=>t.startsWith("on")?!hl(t):e(t))}try{aM(require("@emotion/is-prop-valid").default)}catch{}function lM(e,t,n){const r={};for(const i in e)i==="values"&&typeof e.values=="object"||(C1(i)||n===!0&&hl(i)||!t&&!hl(i)||e.draggable&&i.startsWith("onDrag"))&&(r[i]=e[i]);return r}const Kl=w.createContext({});function uM(e,t){if(Hl(e)){const{initial:n,animate:r}=e;return{initial:n===!1||ho(n)?n:void 0,animate:ho(r)?r:void 0}}return e.inherit!==!1?t:{}}function cM(e){const{initial:t,animate:n}=uM(e,w.useContext(Kl));return w.useMemo(()=>({initial:t,animate:n}),[Dg(t),Dg(n)])}function Dg(e){return Array.isArray(e)?e.join(" "):e}const Ch=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function E1(e,t,n){for(const r in t)!Ue(t[r])&&!r1(r,n)&&(e[r]=t[r])}function dM({transformTemplate:e},t){return w.useMemo(()=>{const n=Ch();return wh(n,t,e),Object.assign({},n.vars,n.style)},[t])}function fM(e,t){const n=e.style||{},r={};return E1(r,n,e),Object.assign(r,dM(e,t)),r}function hM(e,t){const n={},r=fM(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}const T1=()=>({...Ch(),attrs:{}});function pM(e,t,n,r){const i=w.useMemo(()=>{const s=T1();return i1(s,t,o1(r),e.transformTemplate,e.style),{...s.attrs,style:{...s.style}}},[t]);if(e.style){const s={};E1(s,e.style,e),i.style={...s,...i.style}}return i}const mM=["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 Eh(e){return typeof e!="string"||e.includes("-")?!1:!!(mM.indexOf(e)>-1||/[A-Z]/u.test(e))}function gM(e,t,n,{latestValues:r},i,s=!1,o){const l=(o??Eh(e)?pM:hM)(t,r,i,e),u=lM(t,typeof e=="string",s),c=e!==w.Fragment?{...u,...l,ref:n}:{},{children:d}=t,f=w.useMemo(()=>Ue(d)?d.get():d,[d]);return w.createElement(e,{...c,children:f})}function yM({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:vM(n,r,i,e),renderState:t()}}function vM(e,t,n,r){const i={},s=r(e,{});for(const f in s)i[f]=Pa(s[f]);let{initial:o,animate:a}=e;const l=Hl(e),u=Qw(e);t&&u&&!l&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const d=c?a:o;if(d&&typeof d!="boolean"&&!Wl(d)){const f=Array.isArray(d)?d:[d];for(let p=0;p<f.length;p++){const x=fh(e,f[p]);if(x){const{transitionEnd:v,transition:b,...m}=x;for(const g in m){let y=m[g];if(Array.isArray(y)){const S=c?y.length-1:0;y=y[S]}y!==null&&(i[g]=y)}for(const g in v)i[g]=v[g]}}}return i}const P1=e=>(t,n)=>{const r=w.useContext(Kl),i=w.useContext($l),s=()=>yM(e,t,r,i);return n?s():qf(s)},xM=P1({scrapeMotionValuesFromProps:bh,createRenderState:Ch}),wM=P1({scrapeMotionValuesFromProps:a1,createRenderState:T1}),bM=Symbol.for("motionComponentSymbol");function SM(e,t,n){const r=w.useRef(n);w.useInsertionEffect(()=>{r.current=n});const i=w.useRef(null);return w.useCallback(s=>{var a;s&&((a=e.onMount)==null||a.call(e,s)),t&&(s?t.mount(s):t.unmount());const o=r.current;if(typeof o=="function")if(s){const l=o(s);typeof l=="function"&&(i.current=l)}else i.current?(i.current(),i.current=null):o(s);else o&&(o.current=s)},[t])}const k1=w.createContext({});function ri(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function CM(e,t,n,r,i,s){var y,S;const{visualElement:o}=w.useContext(Kl),a=w.useContext(b1),l=w.useContext($l),u=w.useContext(Sh),c=u.reducedMotion,d=u.skipAnimations,f=w.useRef(null),p=w.useRef(!1);r=r||a.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:c,skipAnimations:d,isSVG:s}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));const x=f.current,v=w.useContext(k1);x&&!x.projection&&i&&(x.type==="html"||x.type==="svg")&&EM(f.current,n,i,v);const b=w.useRef(!1);w.useInsertionEffect(()=>{x&&b.current&&x.update(n,l)});const m=n[Ow],g=w.useRef(!!m&&!((y=window.MotionHandoffIsComplete)!=null&&y.call(window,m))&&((S=window.MotionHasOptimisedAnimation)==null?void 0:S.call(window,m)));return Qx(()=>{p.current=!0,x&&(b.current=!0,window.MotionIsMounted=!0,x.updateFeatures(),x.scheduleRenderMicrotask(),g.current&&x.animationState&&x.animationState.animateChanges())}),w.useEffect(()=>{x&&(!g.current&&x.animationState&&x.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var C;(C=window.MotionHandoffMarkAsComplete)==null||C.call(window,m)}),g.current=!1),x.enteringChildren=void 0)}),x}function EM(e,t,n,r){const{layoutId:i,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutCrossfade:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:N1(e.parent)),e.projection.setOptions({layoutId:i,layout:s,alwaysMeasureLayout:!!o||a&&ri(a),visualElement:e,animationType:typeof s=="string"?s:"both",initialPromotionConfig:r,crossfade:c,layoutScroll:l,layoutRoot:u})}function N1(e){if(e)return e.options.allowProjection!==!1?e.projection:N1(e.parent)}function Hu(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&sM(r);const s=n?n==="svg":Eh(e),o=s?wM:xM;function a(u,c){let d;const f={...w.useContext(Sh),...u,layoutId:TM(u)},{isStatic:p}=f,x=cM(u),v=o(u,p);if(!p&&Gx){PM();const b=kM(f);d=b.MeasureLayout,x.visualElement=CM(e,v,f,i,b.ProjectionNode,s)}return h.jsxs(Kl.Provider,{value:x,children:[d&&x.visualElement?h.jsx(d,{visualElement:x.visualElement,...f}):null,gM(e,u,SM(v,x.visualElement,c),v,p,t,s)]})}a.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const l=w.forwardRef(a);return l[bM]=e,l}function TM({layoutId:e}){const t=w.useContext(Yf).id;return t&&e!==void 0?t+"-"+e:e}function PM(e,t){w.useContext(b1).strict}function kM(e){const t=S1(),{drag:n,layout:r}=t;if(!n&&!r)return{};const i={...n,...r};return{MeasureLayout:n!=null&&n.isEnabled(e)||r!=null&&r.isEnabled(e)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function NM(e,t){if(typeof Proxy>"u")return Hu;const n=new Map,r=(s,o)=>Hu(s,o,e,t),i=(s,o)=>r(s,o);return new Proxy(i,{get:(s,o)=>o==="create"?r:(n.has(o)||n.set(o,Hu(o,void 0,e,t)),n.get(o))})}const RM=(e,t)=>t.isSVG??Eh(e)?new oA(t):new eA(t,{allowProjection:e!==w.Fragment});class jM extends mr{constructor(t){super(t),t.animationState||(t.animationState=dA(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Wl(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.call(this)}}let AM=0;class MM extends mr{constructor(){super(...arguments),this.id=AM++}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 i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};
vendor: 16,607 bytes, line 211
211n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const DM={animation:{Feature:jM},exit:{Feature:MM}};function Ro(e){return{point:{x:e.pageX,y:e.pageY}}}const LM=e=>t=>gh(t)&&e(t,Ro(t));function _s(e,t,n,r){return po(e,t,LM(n),r)}const R1=({current:e})=>e?e.ownerDocument.defaultView:null,Lg=(e,t)=>Math.abs(e-t);function OM(e,t){const n=Lg(e.x,t.x),r=Lg(e.y,t.y);return Math.sqrt(n**2+r**2)}const Og=new Set(["auto","scroll"]);class j1{constructor(t,n,{transformPagePoint:r,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=Gu(this.lastMoveEventInfo,this.history),x=this.startEvent!==null,v=OM(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!x&&!v)return;const{point:b}=p,{timestamp:m}=De;this.history.push({...b,timestamp:m});const{onStart:g,onMove:y}=this.handlers;x||(g&&g(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),y&&y(this.lastMoveEvent,p)},this.handlePointerMove=(p,x)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=Ku(x,this.transformPagePoint),oe.update(this.updatePoint,!0)},this.handlePointerUp=(p,x)=>{this.end();const{onEnd:v,onSessionEnd:b,resumeAnimation:m}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=Gu(p.type==="pointercancel"?this.lastMoveEventInfo:Ku(x,this.transformPagePoint),this.history);this.startEvent&&v&&v(p,g),b&&b(p,g)},!gh(t))return;this.dragSnapToOrigin=s,this.handlers=n,this.transformPagePoint=r,this.distanceThreshold=o,this.contextWindow=i||window;const l=Ro(t),u=Ku(l,this.transformPagePoint),{point:c}=u,{timestamp:d}=De;this.history=[{...c,timestamp:d}];const{onSessionStart:f}=n;f&&f(t,Gu(u,this.history)),this.removeListeners=Po(_s(this.contextWindow,"pointermove",this.handlePointerMove),_s(this.contextWindow,"pointerup",this.handlePointerUp),_s(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let n=t.parentElement;for(;n;){const r=getComputedStyle(n);(Og.has(r.overflowX)||Og.has(r.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const n=this.scrollPositions.get(t);if(!n)return;const r=t===window,i=r?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:i.x-n.x,y:i.y-n.y};s.x===0&&s.y===0||(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,i),oe.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),dr(this.updatePoint)}}function Ku(e,t){return t?{point:t(e.point)}:e}function Ig(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Gu({point:e},t){return{point:e,delta:Ig(e,A1(t)),offset:Ig(e,IM(t)),velocity:FM(t,.1)}}function IM(e){return e[0]}function A1(e){return e[e.length-1]}function FM(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const i=A1(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>bt(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>bt(t)*2&&(r=e[1]);const s=vt(i.timestamp-r.timestamp);if(s===0)return{x:0,y:0};const o={x:(i.x-r.x)/s,y:(i.y-r.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function VM(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?pe(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?pe(n,e,r.max):Math.min(e,n)),e}function Fg(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 _M(e,{top:t,left:n,bottom:r,right:i}){return{x:Fg(e.x,n,i),y:Fg(e.y,t,r)}}function Vg(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 BM(e,t){return{x:Vg(e.x,t.x),y:Vg(e.y,t.y)}}function zM(e,t){let n=.5;const r=Ye(e),i=Ye(t);return i>r?n=uo(t.min,t.max-r,e.min):r>i&&(n=uo(e.min,e.max-i,t.min)),sn(0,1,n)}function $M(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 jd=.35;function UM(e=jd){return e===!1?e=0:e===!0&&(e=jd),{x:_g(e,"left","right"),y:_g(e,"top","bottom")}}function _g(e,t,n){return{min:Bg(e,t),max:Bg(e,n)}}function Bg(e,t){return typeof e=="number"?e:e[t]||0}const WM=new WeakMap;class HM{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=Pe(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:r}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const s=d=>{n&&this.snapToCursor(Ro(d).point),this.stopAnimation()},o=(d,f)=>{const{drag:p,dragPropagation:x,onDragStart:v}=this.getProps();if(p&&!x&&(this.openDragLock&&this.openDragLock(),this.openDragLock=xj(p),!this.openDragLock))return;this.latestPointerEvent=d,this.latestPanInfo=f,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Gt(m=>{let g=this.getAxisMotionValue(m).get()||0;if(nn.test(g)){const{projection:y}=this.visualElement;if(y&&y.layout){const S=y.layout.layoutBox[m];S&&(g=Ye(S)*(parseFloat(g)/100))}}this.originPoint[m]=g}),v&&oe.update(()=>v(d,f),!1,!0),bd(this.visualElement,"transform");const{animationState:b}=this.visualElement;b&&b.setActive("whileDrag",!0)},a=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f;const{dragPropagation:p,dragDirectionLock:x,onDirectionLock:v,onDrag:b}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:m}=f;if(x&&this.currentDirection===null){this.currentDirection=GM(m),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",f.point,m),this.updateAxis("y",f.point,m),this.visualElement.render(),b&&oe.update(()=>b(d,f),!1,!0)},l=(d,f)=>{this.latestPointerEvent=d,this.latestPanInfo=f,this.stop(d,f),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>{const{dragSnapToOrigin:d}=this.getProps();(d||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new j1(t,{onSessionStart:s,onStart:o,onMove:a,onSessionEnd:l,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:R1(this.visualElement),element:this.visualElement.current})}stop(t,n){const r=t||this.latestPointerEvent,i=n||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!r)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&oe.postRender(()=>a(r,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,n,r){const{drag:i}=this.getProps();if(!r||!oa(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=VM(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){var s;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(s=this.visualElement.projection)==null?void 0:s.layout,i=this.constraints;t&&ri(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&r?this.constraints=_M(r.layoutBox,t):this.constraints=!1,this.elastic=UM(n),i!==this.constraints&&!ri(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&Gt(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=$M(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ri(t))return!1;const r=t.current;Gi(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=Qj(r,i.root,this.visualElement.getTransformPagePoint());let o=BM(i.layout.layoutBox,s);if(n){const a=n(Hj(o));this.hasMutatedConstraints=!!a,a&&(o=Zw(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=Gt(c=>{if(!oa(c,n,this.currentDirection))return;let d=l&&l[c]||{};o&&(d={min:0,max:0});const f=i?200:1e6,p=i?40:1e7,x={type:"inertia",velocity:r?t[c]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...d};return this.startAxisValueAnimation(c,x)});return Promise.all(u).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return bd(this.visualElement,t),r.start(dh(t,r,0,n,this.visualElement,!1))}stopAnimation(){Gt(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),i=r[n];return i||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){Gt(n=>{const{drag:r}=this.getProps();if(!oa(n,r,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],l=s.get()||0;s.set(t[n]-pe(o,a,.5)+l)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!ri(n)||!r||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Gt(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=zM({min:l,max:l},this.constraints[o])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),Gt(o=>{if(!oa(o,t,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(pe(l,u,i[o]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;WM.set(this.visualElement,this);const t=this.visualElement.current,n=_s(t,"pointerdown",u=>{const{drag:c,dragListener:d=!0}=this.getProps(),f=u.target,p=f!==t&&Tj(f);c&&d&&!p&&this.start(u)});let r;const i=()=>{const{dragConstraints:u}=this.getProps();ri(u)&&u.current&&(this.constraints=this.resolveRefConstraints(),r||(r=KM(t,u.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),oe.read(i);const a=po(window,"resize",()=>this.scalePositionWithinConstraints()),l=s.addEventListener("didUpdate",({delta:u,hasLayoutChanged:c})=>{this.isDragging&&c&&(Gt(d=>{const f=this.getAxisMotionValue(d);f&&(this.originPoint[d]+=u[d].translate,f.set(f.get()+u[d].translate))}),this.visualElement.render())});return()=>{a(),n(),o(),l&&l(),r&&r()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=jd,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:a}}}function zg(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function KM(e,t,n){const r=Qm(e,zg(n)),i=Qm(t,zg(n));return()=>{r(),i()}}function oa(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function GM(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class QM extends mr{constructor(t){super(t),this.removeGroupControls=wt,this.removeListeners=wt,this.controls=new HM(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||wt}update(){const{dragControls:t}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};t!==n&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const Qu=e=>(t,n)=>{e&&oe.update(()=>e(t,n),!1,!0)};class YM extends mr{constructor(){super(...arguments),this.removePointerDownListener=wt}onPointerDown(t){this.session=new j1(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:R1(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:Qu(t),onStart:Qu(n),onMove:Qu(r),onEnd:(s,o)=>{delete this.session,i&&oe.postRender(()=>i(s,o))}}}mount(){this.removePointerDownListener=_s(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Yu=!1;class qM extends w.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:i}=this.props,{projection:s}=t;s&&(n.group&&n.group.add(s),r&&r.register&&i&&r.register(s),Yu&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),ka.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:i,isPresent:s}=this.props,{projection:o}=r;return o&&(o.isPresent=s,t.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),Yu=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||oe.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),mh.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:i}=t;Yu=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function M1(e){const[t,n]=w1(),r=w.useContext(Yf);return h.jsx(qM,{...e,layoutGroup:r,switchLayoutGroup:w.useContext(k1),isPresent:t,safeToRemove:n})}const XM={pan:{Feature:YM},drag:{Feature:QM,ProjectionNode:x1,MeasureLayout:M1}};function $g(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,s=r[i];s&&oe.postRender(()=>s(t,Ro(t)))}class ZM extends mr{mount(){const{current:t}=this.node;t&&(this.unmount=bj(t,(n,r)=>($g(this.node,r,"Start"),i=>$g(this.node,i,"End"))))}unmount(){}}class JM extends mr{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=Po(po(this.node.current,"focus",()=>this.onFocus()),po(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ug(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),s=r[i];s&&oe.postRender(()=>s(t,Ro(t)))}class eD extends mr{mount(){const{current:t}=this.node;if(!t)return;
211const{globalTapTarget:n,propagate:r}=this.node.props;this.unmount=kj(t,(i,s)=>(Ug(this.node,s,"Start"),(o,{success:a})=>Ug(this.node,o,a?"End":"Cancel")),{useGlobalTarget:n,stopPropagation:(r==null?void 0:r.tap)===!1})}unmount(){}}const Ad=new WeakMap,qu=new WeakMap,tD=e=>{const t=Ad.get(e.target);t&&t(e)},nD=e=>{e.forEach(tD)};function rD({root:e,...t}){const n=e||document;qu.has(n)||qu.set(n,{});const r=qu.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(nD,{root:e,...t})),r[i]}function iD(e,t,n){const r=rD(t);return Ad.set(e,n),r.observe(e),()=>{Ad.delete(e),r.unobserve(e)}}const sD={some:0,all:1};class oD extends mr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:i="some",once:s}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof i=="number"?i:sD[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,s&&!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 iD(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(aD(t,n))&&this.startObserver()}unmount(){}}function aD({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const lD={inView:{Feature:oD},tap:{Feature:eD},focus:{Feature:JM},hover:{Feature:ZM}},uD={layout:{ProjectionNode:x1,MeasureLayout:M1}},cD={...DM,...lD,...XM,...uD},ee=NM(cD,RM),dD=Lf("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),Yi=w.forwardRef(({className:e,variant:t,size:n,asChild:r=!1,...i},s)=>{const o=r?QC:"button";return h.jsx(o,{className:Ae(dD({variant:t,size:n,className:e})),ref:s,...i})});Yi.displayName="Button";const Wg=[{label:"Início",path:"/"},{label:"Carnaval 🎉",path:"/carnaval",highlight:!0},{label:"Bares & Restaurantes",path:"/bares-restaurantes"},{label:"Pontos Turísticos",path:"/pontos-turisticos"}];function fD(){const[e,t]=w.useState(!1),n=Qr();return h.jsxs("header",{className:"fixed top-0 left-0 right-0 z-50 bg-background/80 backdrop-blur-md border-b border-border",children:[h.jsx("div",{className:"container mx-auto px-4",children:h.jsxs("div",{className:"flex items-center justify-between h-16",children:[h.jsxs(Vt,{to:"/",className:"flex items-center gap-2 group",children:[h.jsx($e,{className:"h-6 w-6 text-primary transition-transform group-hover:scale-110"}),h.jsx("span",{className:"font-display text-xl font-bold text-foreground",children:"Pinheiros"})]}),h.jsx("nav",{className:"hidden md:flex items-center gap-1",children:Wg.map(r=>h.jsx(Vt,{to:r.path,className:`px-4 py-2 rounded-lg text-sm font-medium transition-colors ${n.pathname===r.path?"bg-primary text-primary-foreground":r.highlight?"bg-primary/10 text-primary hover:bg-primary/20":"text-muted-foreground hover:text-foreground hover:bg-muted"}`,children:r.label},r.path))}),h.jsx(Yi,{className:"hidden md:flex",variant:"outline",onClick:()=>{var r;return(r=document.getElementById("footer"))==null?void 0:r.scrollIntoView({behavior:"smooth"})},children:"Anuncie Conosco"}),h.jsx("button",{className:"md:hidden p-2",onClick:()=>t(!e),"aria-label":"Toggle menu",children:e?h.jsx(W0,{className:"h-6 w-6"}):h.jsx(qE,{className:"h-6 w-6"})})]})}),h.jsx(rM,{children:e&&h.jsx(ee.div,{initial:{opacity:0,height:0}
211,animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},className:"md:hidden bg-background border-b border-border",children:h.jsxs("nav",{className:"container mx-auto px-4 py-4 flex flex-col gap-2",children:[Wg.map(r=>h.jsx(Vt,{to:r.path,onClick:()=>t(!1),className:`px-4 py-3 rounded-lg text-sm font-medium transition-colors ${n.pathname===r.path?"bg-primary text-primary-foreground":"text-muted-foreground hover:text-foreground hover:bg-muted"}`,children:r.label},r.path)),h.jsx(Yi,{className:"mt-2",variant:"outline",onClick:()=>{var r;t(!1),(r=document.getElementById("footer"))==null||r.scrollIntoView({behavior:"smooth"})},children:"Anuncie Conosco"})]})})})]})}function hD(){return h.jsx("footer",{id:"footer",className:"bg-foreground text-background py-12",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-4 gap-8",children:[h.jsxs("div",{className:"md:col-span-2",children:[h.jsxs(Vt,{to:"/",className:"flex items-center gap-2 mb-4",children:[h.jsx($e,{className:"h-6 w-6 text-primary"}),h.jsx("span",{className:"font-display text-xl font-bold",children:"Pinheiros"})]}),h.jsx("p",{className:"text-background/70 max-w-md",children:"O guia completo do bairro de Pinheiros, São Paulo. Descubra bares, restaurantes, pontos turísticos, o melhor do Carnaval e muito mais."}),h.jsxs("div",{className:"flex gap-4 mt-6",children:[h.jsx("a",{href:"#",className:"hover:text-primary transition-colors","aria-label":"Instagram",children:h.jsx(YE,{className:"h-5 w-5"})}),h.jsx("a",{href:"#",className:"hover:text-primary transition-colors","aria-label":"Facebook",children:h.jsx(QE,{className:"h-5 w-5"})}),h.jsx("a",{href:"#",className:"hover:text-primary transition-colors","aria-label":"Email",children:h.jsx(Yp,{className:"h-5 w-5"})})]})]}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-semibold mb-4",children:"Explore"}),h.jsxs("ul",{className:"space-y-2 text-background/70",children:[h.jsx("li",{children:h.jsx(Vt,{to:"/carnaval",className:"hover:text-primary transition-colors",children:"Carnaval 2026"})}),h.jsx("li",{children:h.jsx(Vt,{to:"/bares-restaurantes",className:"hover:text-primary transition-colors",children:"Bares & Restaurantes"})}),h.jsx("li",{children:h.jsx(Vt,{to:"/pontos-turisticos",className:"hover:text-primary transition-colors",children:"Pontos Turísticos"})})]})]}),h.jsxs("div",{children:[h.jsx("h3",{className:"font-semibold mb-4",children:"Contato"}),h.jsxs("ul",{className:"space-y-3 text-background/70",children:[h.jsxs("li",{className:"flex items-center gap-2",children:[h.jsx(Yp,{className:"h-4 w-4 text-primary"}),h.jsx("a",{href:"mailto:[email protected]",className:"hover:text-primary transition-colors",children:"[email protected]"})]}),h.jsxs("li",{className:"flex items-center gap-2",children:[h.jsx(JE,{className:"h-4 w-4 text-primary"}),h.jsx("a",{href:"tel:+5512996392208",className:"hover:text-primary transition-colors",children:"(12) 99639-2208"})]})]}),h.jsx("p",{className:"text-background/50 text-sm mt-4",children:"Pinheiros, São Paulo - SP"})]})]}),h.jsx("div",{className:"border-t border-background/20 mt-8 pt-8 text-center text-background/50 text-sm",children:h.jsx("p",{children:"© 2026 Pinheiros.com.br - Guia Completo do Bairro • São Paulo"})})]})})}function Gl({children:e}){return h.jsxs("div",{className:"min-h-screen flex flex-col",children:[h.jsx(fD,{}),h.jsx("main",{className:"flex-1 pt-16",children:e}),h.jsx(hD,{})]})}const pD="/assets/hero-pinheiros-D8bo9SUq.png";function mD(){const e=()=>{var t;(t=document.getElementById("categorias"))==null||t.scrollIntoView({behavior:"smooth"})};return h.jsxs("section",{className:"relative min-h-screen flex items-center justify-center overflow-hidden",children:[h.jsx("div",{className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:`url(${pD})`},children:h.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-foreground
211/60 via-foreground/40 to-foreground/80"})}),h.jsx(ee.div,{initial:{y:-100,opacity:0},animate:{y:0,opacity:1},transition:{delay:.2},className:"absolute top-20 left-0 right-0 flex justify-center px-4",children:h.jsxs(Vt,{to:"/carnaval",className:"inline-flex items-center gap-2 bg-carnival-pink text-white px-6 py-3 rounded-full font-medium hover:bg-carnival-pink/90 transition-colors shadow-lg",children:[h.jsx("span",{children:"🎭"}),h.jsx("span",{children:"CARNAVAL 2026 - Confira a programação dos blocos!"}),h.jsx("span",{children:"→"})]})}),h.jsxs("div",{className:"relative z-10 text-center px-4 max-w-4xl mx-auto",children:[h.jsxs(ee.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{delay:.4},className:"inline-flex items-center gap-2 bg-background/20 backdrop-blur-sm text-white px-4 py-2 rounded-full mb-6",children:[h.jsx($e,{className:"h-4 w-4"}),h.jsx("span",{className:"text-sm",children:"Guia Completo do Bairro • São Paulo"})]}),h.jsx(ee.h1,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.5},className:"font-display text-6xl md:text-8xl font-bold text-white mb-6",children:"Pinheiros"}),h.jsx(ee.p,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.6},className:"text-xl md:text-2xl text-white/90 mb-8 max-w-2xl mx-auto",children:"Descubra o bairro mais vibrante e gastronômico de São Paulo. Ruas Gastronômicas, Carnaval, Bares icônicos e muito mais."}),h.jsxs(ee.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{delay:.7},className:"flex flex-col sm:flex-row gap-4 justify-center",children:[h.jsx(Yi,{size:"lg",asChild:!0,className:"bg-primary hover:bg-primary/90 text-lg px-8",children:h.jsx(Vt,{to:"/pontos-turisticos",children:"Explorar o Bairro"})}),h.jsx(Yi,{size:"lg",variant:"outline",asChild:!0,className:"bg-white/10 backdrop-blur-sm border-white/30 text-white hover:bg-white/20 text-lg px-8",children:h.jsxs(Vt,{to:"/carnaval",children:[h.jsx(Yc,{className:"mr-2 h-5 w-5"}),"Carnaval 2026"]})})]}),h.jsxs(ee.button,{initial:{opacity:0}
211,animate:{opacity:1},transition:{delay:1},onClick:e,className:"absolute bottom-8 left-1/2 -translate-x-1/2 text-white/70 hover:text-white transition-colors flex flex-col items-center gap-2",children:[h.jsx("span",{className:"text-sm",children:"Descubra mais"}),h.jsx(ee.div,{animate:{y:[0,8,0]},transition:{repeat:1/0,duration:1.5},children:h.jsx(WE,{className:"h-6 w-6"})})]})]})]})}function gD({title:e,description:t,image:n,href:r,badge:i,delay:s=0}){return h.jsx(ee.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:s,duration:.5},children:h.jsxs(Vt,{to:r,className:"group block relative overflow-hidden rounded-2xl bg-card shadow-lg hover:shadow-xl transition-all duration-300",children:[i&&h.jsx("div",{className:"absolute top-4 left-4 z-10 bg-carnival-pink text-white text-xs font-bold px-3 py-1 rounded-full",children:i}),h.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:h.jsx("img",{src:n,alt:e,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"})}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-foreground
211/80 via-transparent to-transparent"}),h.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-6 text-white",children:[h.jsx("h3",{className:"font-display text-2xl font-bold mb-2 group-hover:text-primary transition-colors",children:e}),h.jsx("p",{className:"text-white/80 text-sm line-clamp-2",children:t}),h.jsx("span",{className:"inline-block mt-3 text-primary font-medium text-sm group-hover:translate-x-2 transition-transform",children:"Ver mais →"})]})]})})}const yD="/assets/pontos-turisticos-BOoo8V77.png",vD=[{title:"Carnaval em Pinheiros 🎉",description:"Os blocos mais animados, dicas e a programação completa do Carnaval 2026. Não perca a folia!",image:"https://images.unsplash.com/photo-1551972873-b7e8754e8e26?q=80&w=2070",href:"/carnaval",badge:"CARNAVAL 2026"},{title:"Bares & Restaurantes",description:"A Rua Ferreira de Araújo e os melhores botecos, bares de drinks e restaurantes do bairro mais gastronômico de SP.",image:"https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=80&w=2074",href:"/bares-restaurantes"},{title:"Pontos Turísticos",description:"Praças históricas, galerias de arte e a proximidade com a Vila Madalena. Descubra os encantos do bairro.",image:yD,href:"/pontos-turisticos"},{title:"Ruas Gastronômicas",description:"Rua Ferreira de Araújo, Rua dos Pinheiros e mais. Os melhores endereços para comer bem.",image:"https://images.unsplash.com/photo-1466978913421-dad2ebd01d17?q=80&w=2074",href:"/bares-restaurantes"}];function xD(){return h.jsx("section",{id:"categorias",className:"py-20 bg-warm-cream",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[h.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Explore o Bairro"}),h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mt-2 mb-4",children:"O que fazer em Pinheiros"}),h.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Descubra tudo que o bairro mais charmoso e gastronômico de São Paulo tem a oferecer"})]}),h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:vD.map((e,t)=>h.jsx(gD,{...e,delay:t*.1},e.title))})]})})}const Zt=w.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ae("rounded-lg border bg-card text-card-foreground shadow-sm",e),...t}));Zt.displayName="Card";const D1=w.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ae("flex flex-col space-y-1.5 p-6",e),...t}));D1.displayName="CardHeader";const L1=w.forwardRef(({className:e,...t},n)=>h.jsx("h3",{ref:n,className:Ae("text-2xl font-semibold leading-none tracking-tight",e),...t}));L1.displayName="CardTitle";const wD=w.forwardRef(({className:e,...t},n)=>h.jsx("p",{ref:n,className:Ae("text-sm text-muted-foreground",e),...t}));wD.displayName="CardDescription";const Jt=w.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ae("p-6 pt-0",e),...t}));Jt.displayName="CardContent";const bD=w.forwardRef(({className:e,...t},n)=>h.jsx("div",{ref:n,className:Ae("flex items-center p-6 pt-0",e),...t}));bD.displayName="CardFooter";const O1="/assets/praca-benedito-calixto-E9tSWUXp.png",I1="/assets/casa-do-porco-B5hxVvhV.png",F1="/assets/bar-astor-D3-8INMB.png",SD=[{name:"Bar Astor",category:"Bar de Drinks",rating:4.8,address:"Rua Delfina, 163",hours:"18h - 02h",image:F1},{name:"A Casa do Porco",category:"Restaurante",rating:4.9,address:"Rua Araújo, 124",hours:"12h - 23h",image:I1},{name:"Praça Benedito Calixto",category:"Ponto Turístico",rating:4.7,address:"Praça Benedito Calixto",hours:"24h",image:O1}];function CD(){return h.jsx("section",{className:"py-20 bg-background",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[h.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Destaques"}),h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mt-2 mb-4",children:"Estabelecimentos em Destaque"}),h.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Os melhores lugares recomendados pela comunidade"})]}),h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:SD.map((e,t)=>h.jsx(ee.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},children:h.jsxs(Zt,{className:"overflow-hidden group cursor-pointer hover:shadow-xl transition-shadow",children:[h.jsx("div",{className:"aspect-[4/3] overflow-hidden",children:h.jsx("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"})}),h.jsxs(Jt,{className:"p-5",children:[h.jsxs("div",{className:"flex items-start justify-between mb-2",children:[h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-lg group-hover:text-primary transition-colors",children:e.name}),h.jsx("p",{className:"text-sm text-muted-foreground",children:e.category})]}),h.jsxs("div",{className:"flex items-center gap-1 bg-primary/10 text-primary px-2 py-1 rounded-full text-sm font-medium",children:[h.jsx(Of,{className:"h-3 w-3 fill-current"}),e.rating]})]}),h.jsxs("div",{className:"flex flex-col gap-1 text-sm text-muted-foreground mt-4",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx($e,{className:"h-4 w-4"}),h.jsx("span",{children:e.address})]}),h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(Dl,{className:"h-4 w-4"}),h.jsx("span",{children:e.hours})]})]})]})]})},e.name))})]})})}function ED(){return h.jsx("section",{className:"py-20 bg-secondary text-secondary-foreground overflow-hidden",children:h.jsx("div",{className:"container mx-auto px-4",children:h.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-12 items-center",children:[h.jsxs(ee.div,{initial:{opacity:0,x:-50},whileInView:{opacity:1,x:0},viewport:{once:!0},children:[h.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Vizinhança"}),h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mt-2 mb-6",children:"Pinheiros & Vila Madalena"}
211),h.jsx("p",{className:"text-secondary-foreground/80 text-lg mb-6",children:"Pinheiros faz fronteira com a famosa Vila Madalena, criando uma das regiões mais vibrantes e culturais de São Paulo. Juntos, os bairros formam o coração da boemia paulistana."}),h.jsxs("ul",{className:"space-y-3 mb-8",children:[h.jsxs("li",{className:"flex items-center gap-3",children:[h.jsx($e,{className:"h-5 w-5 text-primary"}),h.jsx("span",{children:"5 minutos a pé do Beco do Batman"})]}),h.jsxs("li",{className:"flex items-center gap-3",children:[h.jsx($e,{className:"h-5 w-5 text-primary"}),h.jsx("span",{children:"Estação Fradique Coutinho do Metrô"})]}),h.jsxs("li",{className:"flex items-center gap-3",children:[h.jsx($e,{className:"h-5 w-5 text-primary"}),h.jsx("span",{children:"Conexão direta com a Av. Paulista"})]})]}),h.jsx(Yi,{asChild:!0,size:"lg",children:h.jsxs("a",{href:"https://www.vilamadalena.com.br",target:"_blank",rel:"noopener noreferrer",children:["Explorar a região",h.jsx(zE,{className:"ml-2 h-5 w-5"})]})})]}),h.jsxs(ee.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},viewport:{once:!0},className:"relative",children:[h.jsxs("div",{className:"relative aspect-square rounded-3xl overflow-hidden shadow-2xl",children:[h.jsx("img",{src:"https://vilamadalena.com.br/assets/beco-do-batman--LwjmM30.jpg",alt:"Região de Pinheiros e Vila Madalena",className:"w-full h-full object-cover"}),h.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-foreground
211/40 to-transparent"})]}),h.jsx(ee.a,{href:"https://www.google.com/maps/place/Vila+Madalena,+São+Paulo+-+SP",target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.3},className:"absolute -bottom-6 -left-6 bg-card p-6 rounded-2xl shadow-xl max-w-xs hover:shadow-2xl hover:scale-105 transition-all cursor-pointer group",children:h.jsxs("div",{className:"flex items-center gap-4",children:[h.jsx("div",{className:"w-12 h-12 rounded-full bg-primary flex items-center justify-center group-hover:bg-primary/90 transition-colors",children:h.jsx($e,{className:"h-6 w-6 text-primary-foreground"})}),h.jsxs("div",{children:[h.jsx("p",{className:"font-bold group-hover:text-primary transition-colors",children:"Localização Privilegiada"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Zona Oeste de São Paulo →"})]})]})})]})]})})})}const TD=()=>h.jsxs(Gl,{children:[h.jsx(mD,{}),h.jsx(xD,{}),h.jsx(CD,{}),h.jsx(ED,{})]}),PD=Lf("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}});function Fr({className:e,variant:t,...n}){return h.jsx("div",{className:Ae(PD({variant:t}),e),...n})}const kD=[{name:"Bloco do Pinheiros",date:"Sábado, 14 de Fevereiro",time:"14h",location:"Rua dos Pinheiros",style:"Axé e Marchinhas",crowd:"5.000"},{name:"Bloco Ferreira de Araújo",date:"Domingo, 15 de Fevereiro",time:"15h",location:"Rua Ferreira de Araújo",style:"MPB e Samba",crowd:"3.000"},{name:"Bloco Benedito Calixto",date:"Sábado, 21 de Fevereiro",time:"13h",location:"Praça Benedito Calixto",style:"Samba e Pagode",crowd:"8.000"},{name:"Bloco da Vila",date:"Domingo, 22 de Fevereiro",time:"14h",location:"Largo da Batata",style:"Hits e Pop",crowd:"15.000"},{name:"Bloco do Baixo Augusta",date:"Segunda, 23 de Fevereiro",time:"16h",location:"Rua Augusta / Pinheiros",style:"Eletrônico",crowd:"10.000"},{name:"Bloco da Ressaca",date:"Quarta, 25 de Fevereiro",time:"14h",location:"Praça Benedito Calixto",style:"Samba Rock",crowd:"4.000"}],ND=[{icon:GE,title:"Hidrate-se",description:"Leve água e beba bastante líquido. O calor de fevereiro em SP pode ser intenso!"},{icon:eT,title:"Proteção Solar",description:"Use protetor solar, chapéu e óculos. A folia começa cedo e vai até o anoitecer."},{icon:$e,title:"Transporte Público",description:"Use metrô (estações Pinheiros e Fradique Coutinho) para evitar o trânsito."},{icon:HE,title:"Segurança",description:"Leve apenas o essencial, use pochete e fique atento aos seus pertences."}],RD=()=>h.jsxs(Gl,{children:[h.jsxs("section",{className:"relative py-32 overflow-hidden",children:[h.jsx("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1551972873-b7e8754e8e26?q=80&w=2070')"},children:h.jsx("div",{className:"absolute inset-0 bg-carnival-gradient opacity-80"})}),h.jsx("div",{className:"container mx-auto px-4 relative z-10",children:h.jsxs(ee.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},className:"text-center text-white",children:[h.jsxs(Fr,{className:"bg-white/20 text-white border-white/30 mb-4",children:[h.jsx(Yc,{className:"mr-2 h-4 w-4"}),"14 a 25 de Fevereiro de 2026"]}),h.jsx("h1",{className:"font-display text-5xl md:text-7xl font-bold mb-6",children:"Carnaval em Pinheiros 🎭"}),h.jsx("p",{className:"text-xl md:text-2xl text-white/90 max-w-2xl mx-auto",children:"A programação completa dos blocos, dicas de sobrevivência e tudo que você precisa saber para curtir o carnaval no bairro mais animado de São Paulo!"})]})})]}),h.jsx("section",{className:"py-20 bg-warm-cream",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[h.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Programação 2026"}),h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mt-2 mb-4",children:"Blocos de Rua"}),h.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Confira os principais blocos que passam por Pinheiros e região"})]}),h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:kD.map((e,t)=>h.jsx(ee.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},children:h.jsxs(Zt,{className:"h-full hover:shadow-lg transition-shadow border-2 hover:border-primary/30",children:[h.jsxs(D1,{className:"pb-3",children:[h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsxs(Fr,{variant:"secondary",className:"bg-carnival-pink/10 text-carnival-pink",children:[e.crowd," pessoas"]}),h.jsx(XE,{className:"h-5 w-5 text-muted-foreground"})]}),h.jsx(L1,{className:"text-xl mt-2",children:e.name})]}),h.jsx(Jt,{children:h.jsxs("div",{className:"space-y-3 text-sm",children:[h.jsxs("div",{className:"flex items-center gap-3 text-muted-foreground",children:[h.jsx(Yc,{className:"h-4 w-4 text-primary"}),h.jsx("span",{children:e.date})]}),h.jsxs("div",{className:"flex items-center gap-3 text-muted-foreground",children:[h.jsx(Dl,{className:"h-4 w-4 text-primary"}),h.jsxs("span",{children:["Concentração às ",e.time]})]}),h.jsxs("div",{className:"flex items-center gap-3 text-muted-foreground",children:[h.jsx($e,{className:"h-4 w-4 text-primary"}),h.jsx("span",{children:e.location})]}),h.jsx("div",{className:"pt-2",children:h.jsx(Fr,{variant:"outline",children:e.style})})]})})]})},e.name))})]})}),h.jsx("section",{className:"py-8 bg-warm-cream",children:h.jsx("div",{className:"container mx-auto px-4",children:h.jsxs(ee.a,{href:"https://www.awin1.com/cread.php?awinmid=18120&awinaffid=2104337&ued=https://pt.aliexpress.com/w/wholesale-carnaval.html",target:"_blank",rel:"noopener noreferrer",initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"block bg-carnival-gradient rounded-2xl py-8 px-6 text-center hover:scale-[1.02] transition-transform cursor-pointer shadow-lg",children:[h.jsx("h3",{className:"font-display text-2xl md:text-3xl font-bold text-white mb-2",children:"🎭 Adquira sua Fantasia de Carnaval"}),h.jsx("p",{className:"text-white/90",children:"Clique aqui e confira as melhores opções!"})]})})}),h.jsx("section",{className:"py-20 bg-background",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[h.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Guia do Folião"}),h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mt-2 mb-4",children:"Dicas de Sobrevivência"}),h.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Aproveite o carnaval com segurança e conforto"})]}),h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6",children:ND.map((e,t)=>h.jsx(ee.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},children:h.jsx(Zt,{className:"text-center h-full",children:h.jsxs(Jt,{className:"pt-6",children:[h.jsx("div",{className:"w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-4",children:h.jsx(e.icon,{className:"h-8 w-8 text-primary"})}),h.jsx("h3",{className:"font-bold text-lg mb-2",children:e.title}),h.jsx("p",{className:"text-sm text-muted-foreground",children:e.description})]})})}
vendor: 2,626 bytes, line 211
211,e.title))})]})}),h.jsx("section",{className:"py-20 bg-carnival-gradient text-white",children:h.jsx("div",{className:"container mx-auto px-4 text-center",children:h.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mb-6",children:"Pronto para a folia? 🎉"}),h.jsx("p",{className:"text-xl text-white/90 max-w-2xl mx-auto mb-8",children:"Pinheiros é um dos melhores lugares para curtir o Carnaval de São Paulo. Com blocos para todos os gostos e a melhor infraestrutura de bares e restaurantes!"})]})})})]});var jD=w.createContext(void 0);function V1(e){const t=w.useContext(jD);return e||t||"ltr"}var Xu="rovingFocusGroup.onEntryFocus",AD={bubbles:!1,cancelable:!0},jo="RovingFocusGroup",[Md,_1,MD]=g0(jo),[DD,B1]=Ji(jo,[MD]),[LD,OD]=DD(jo),z1=w.forwardRef((e,t)=>h.jsx(Md.Provider,{scope:e.__scopeRovingFocusGroup,children:h.jsx(Md.Slot,{scope:e.__scopeRovingFocusGroup,children:h.jsx(ID,{...e,ref:t})})}));z1.displayName=jo;var ID=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:s,currentTabStopId:o,defaultCurrentTabStopId:a,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:c=!1,...d}=e,f=w.useRef(null),p=Et(t,f),x=V1(s),[v,b]=jf({prop:o,defaultProp:a??null,onChange:l,caller:jo}),[m,g]=w.useState(!1),y=xn(u),S=_1(n),C=w.useRef(!1),[E,P]=w.useState(0);return w.useEffect(()=>{const T=f.current;if(T)return T.addEventListener(Xu,y),()=>T.removeEventListener(Xu,y)},[y]),h.jsx(LD,{scope:n,orientation:r,dir:x,loop:i,currentTabStopId:v,onItemFocus:w.useCallback(T=>b(T),[b]),onItemShiftTab:w.useCallback(()=>g(!0),[]),onFocusableItemAdd:w.useCallback(()=>P(T=>T+1),[]),onFocusableItemRemove:w.useCallback(()=>P(T=>T-1),[]),children:h.jsx(Te.div,{tabIndex:m||E===0?-1:0,"data-orientation":r,...d,ref:p,style:{outline:"none",...e.style},onMouseDown:ie(e.onMouseDown,()=>{C.current=!0}),onFocus:ie(e.onFocus,T=>{const j=!C.current;if(T.target===T.currentTarget&&j&&!m){const A=new CustomEvent(Xu,AD);if(T.currentTarget.dispatchEvent(A),!A.defaultPrevented){const _=S().filter(z=>z.focusable),I=_.find(z=>z.active),U=_.find(z=>z.id===v),Q=[I,U,..._].filter(Boolean).map(z=>z.ref.current);W1(Q,c)}}C.current=!1}),onBlur:ie(e.onBlur,()=>g(!1))})})}),$1="RovingFocusGroupItem",U1=w.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:s,children:o,...a}=e,l=tx(),u=s||l,c=OD($1,n),d=c.currentTabStopId===u,f=_1(n),{onFocusableItemAdd:p,onFocusableItemRemove:x,currentTabStopId:v}=c;return w.useEffect(()=>{if(r)return p(),()=>x()}
vendor: 6,019 bytes, line 211
211,[r,p,x]),h.jsx(Md.ItemSlot,{scope:n,id:u,focusable:r,active:i,children:h.jsx(Te.span,{tabIndex:d?0:-1,"data-orientation":c.orientation,...a,ref:t,onMouseDown:ie(e.onMouseDown,b=>{r?c.onItemFocus(u):b.preventDefault()}),onFocus:ie(e.onFocus,()=>c.onItemFocus(u)),onKeyDown:ie(e.onKeyDown,b=>{if(b.key==="Tab"&&b.shiftKey){c.onItemShiftTab();return}if(b.target!==b.currentTarget)return;const m=_D(b,c.orientation,c.dir);if(m!==void 0){if(b.metaKey||b.ctrlKey||b.altKey||b.shiftKey)return;b.preventDefault();let y=f().filter(S=>S.focusable).map(S=>S.ref.current);if(m==="last")y.reverse();else if(m==="prev"||m==="next"){m==="prev"&&y.reverse();const S=y.indexOf(b.currentTarget);y=c.loop?BD(y,S+1):y.slice(S+1)}setTimeout(()=>W1(y))}}),children:typeof o=="function"?o({isCurrentTabStop:d,hasTabStop:v!=null}):o})})});U1.displayName=$1;var FD={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function VD(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function _D(e,t,n){const r=VD(e.key,n);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return FD[r]}function W1(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function BD(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var zD=z1,$D=U1,Ql="Tabs",[UD,pL]=Ji(Ql,[B1]),H1=B1(),[WD,Th]=UD(Ql),K1=w.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:s,orientation:o="horizontal",dir:a,activationMode:l="automatic",...u}=e,c=V1(a),[d,f]=jf({prop:r,onChange:i,defaultProp:s??"",caller:Ql});return h.jsx(WD,{scope:n,baseId:tx(),value:d,onValueChange:f,orientation:o,dir:c,activationMode:l,children:h.jsx(Te.div,{dir:c,"data-orientation":o,...u,ref:t})})});K1.displayName=Ql;var G1="TabsList",Q1=w.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,s=Th(G1,n),o=H1(n);return h.jsx(zD,{asChild:!0,...o,orientation:s.orientation,dir:s.dir,loop:r,children:h.jsx(Te.div,{role:"tablist","aria-orientation":s.orientation,...i,ref:t})})});Q1.displayName=G1;var Y1="TabsTrigger",q1=w.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...s}=e,o=Th(Y1,n),a=H1(n),l=J1(o.baseId,r),u=eb(o.baseId,r),c=r===o.value;return h.jsx($D,{asChild:!0,...a,focusable:!i,active:c,children:h.jsx(Te.button,{type:"button",role:"tab","aria-selected":c,"aria-controls":u,"data-state":c?"active":"inactive","data-disabled":i?"":void 0,disabled:i,id:l,...s,ref:t,onMouseDown:ie(e.onMouseDown,d=>{!i&&d.button===0&&d.ctrlKey===!1?o.onValueChange(r):d.preventDefault()}),onKeyDown:ie(e.onKeyDown,d=>{[" ","Enter"].includes(d.key)&&o.onValueChange(r)}),onFocus:ie(e.onFocus,()=>{const d=o.activationMode!=="manual";!c&&!i&&d&&o.onValueChange(r)})})})});q1.displayName=Y1;var X1="TabsContent",Z1=w.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:i,children:s,...o}=e,a=Th(X1,n),l=J1(a.baseId,r),u=eb(a.baseId,r),c=r===a.value,d=w.useRef(c);return w.useEffect(()=>{const f=requestAnimationFrame(()=>d.current=!1);return()=>cancelAnimationFrame(f)},[]),h.jsx(jl,{present:i||c,children:({present:f})=>h.jsx(Te.div,{"data-state":c?"active":"inactive","data-orientation":a.orientation,role:"tabpanel","aria-labelledby":l,hidden:!f,id:u,tabIndex:0,...o,ref:t,style:{...e.style,animationDuration:d.current?"0s":void 0},children:f&&s})})});Z1.displayName=X1;function J1(e,t){return`${e}-trigger-${t}`}function eb(e,t){return`${e}-content-${t}`}var HD=K1,tb=Q1,nb=q1,rb=Z1;const KD=HD,ib=w.forwardRef(({className:e,...t},n)=>h.jsx(tb,{ref:n,className:Ae("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",e),...t}));ib.displayName=tb.displayName;const Ts=w.forwardRef(({className:e,...t},n)=>h.jsx(nb,{ref:n,className:Ae("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",e),...t}));Ts.displayName=nb.displayName;const sb=w.forwardRef(({className:e,...t},n)=>h.jsx(rb,{ref:n,className:Ae("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",e),...t}));sb.displayName=rb.displayName;const GD="/assets/bar-piraja-CHpcbLnC.png",QD=[{name:"A Casa do Porco",category:"Restaurante",type:"Carnes",rating:4.9,address:"Rua Araújo, 124",hours:"12h - 23h",price:"$$$$",description:"Considerado um dos melhores restaurantes do mundo, especializado em porco.",image:I1},{name:"Bar Astor",category:"Bar",type:"Drinks",rating:4.8,address:"Rua Delfina, 163",hours:"18h - 02h",price:"$$$",description:"Bar clássico com os melhores drinks de São Paulo desde 1968.",image:F1},{name:"Meats",category:"Restaurante",type:"Hambúrguer",rating:4.7,address:"Rua Ferreira de Araújo, 340",hours:"12h - 00h",price:"$$",description:"Hambúrgueres artesanais na famosa rua gastronômica de Pinheiros.",image:"https://images.unsplash.com/photo-1568901346375-23c9450c58cd?q=80&w=2099"},{name:"Pirajá",category:"Bar",type:"Boteco",rating:4.6,address:"Rua Ferreira de Araújo, 64",hours:"12h - 01h",price:"$$",description:"Boteco tradicional com petiscos e chopp gelado.",image:GD},{name:"Padoca do Maní",category:"Cafeteria",type:"Padaria",rating:4.8,address:"Rua Joaquim Antunes, 210",hours:"07h - 20h",price:"$$",description:"Padaria artesanal da chef Helena Rizzo com pães e doces incríveis.",image:"https://images.unsplash.com/photo-1509440159596-0249088772ff?q=80&w=2072"}],YD=[{name:"Rua Ferreira de Araújo",description:"A principal rua gastronômica de Pinheiros, com dezenas de bares e restaurantes.",highlights:["Meats","Pirajá","Consulado da Cerveja","Bar do Zé"]}
211,{name:"Rua dos Pinheiros",description:"Artéria principal do bairro com opções para todos os gostos e bolsos.",highlights:["Coffee Lab","Veloso","Bar Brahma"]},{name:"Rua Joaquim Antunes",description:"Endereço de restaurantes premiados e bistrôs sofisticados.",highlights:["Mani","Padoca do Maní","Tanit"]}],qD=()=>h.jsxs(Gl,{children:[h.jsxs("section",{className:"relative py-32 overflow-hidden",children:[h.jsx("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1514933651103-005eec06c04b?q=80&w=2074')"},children:h.jsx("div",{className:"absolute inset-0 bg-foreground/70"})}),h.jsx("div",{className:"container mx-auto px-4 relative z-10",children:h.jsxs(ee.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},className:"text-center text-white",children:[h.jsxs(Fr,{className:"bg-white/20 text-white border-white/30 mb-4",children:[h.jsx(Xp,{className:"mr-2 h-4 w-4"}),"Gastronomia de Pinheiros"]}),h.jsx("h1",{className:"font-display text-5xl md:text-7xl font-bold mb-6",children:"Bares & Restaurantes"}),h.jsx("p",{className:"text-xl md:text-2xl text-white/90 max-w-2xl mx-auto",children:"O bairro mais gastronômico de São Paulo. Da Rua Ferreira de Araújo aos restaurantes estrelados, descubra onde comer e beber bem."})]})})]}),h.jsx("section",{className:"py-20 bg-warm-cream",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[h.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Destaque"}),h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mt-2 mb-4",children:"Ruas Gastronômicas"}),h.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"As principais ruas para comer e beber bem em Pinheiros"})]}),h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:YD.map((e,t)=>h.jsx(ee.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},children:h.jsx(Zt,{className:"h-full hover:shadow-lg transition-shadow",children:h.jsxs(Jt,{className:"pt-6",children:[h.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[h.jsx("div",{className:"w-10 h-10 rounded-full bg-primary/10 flex items-center justify-center",children:h.jsx($e,{className:"h-5 w-5 text-primary"})}),h.jsx("h3",{className:"font-bold text-lg",children:e.name})]}),h.jsx("p",{className:"text-muted-foreground text-sm mb-4",children:e.description}),h.jsx("div",{className:"flex flex-wrap gap-2",children:e.highlights.map(n=>h.jsx(Fr,{variant:"secondary",className:"text-xs",children:n},n))})]})})},e.name))})]})}),h.jsx("section",{className:"py-20 bg-background",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[h.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Onde ir"}),h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mt-2 mb-4",children:"Estabelecimentos em Destaque"})]}),h.jsxs(KD,{defaultValue:"todos",className:"w-full",children:[h.jsxs(ib,{className:"flex justify-center mb-8",children:[h.jsx(Ts,{value:"todos",children:"Todos"}),h.jsxs(Ts,{value:"restaurantes",className:"flex items-center gap-2",children:[h.jsx(Xp,{className:"h-4 w-4"})," Restaurantes"]}),h.jsxs(Ts,{value:"bares",className:"flex items-center gap-2",children:[h.jsx(tT,{className:"h-4 w-4"})," Bares"]}),h.jsxs(Ts,{value:"cafes",className:"flex items-center gap-2",children:[h.jsx(KE,{className:"h-4 w-4"})," Cafés"]})]}),["todos","restaurantes","bares","cafes"].map(e=>h.jsx(sb,{value:e,children:h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:QD.filter(t=>e==="todos"?!0:e==="restaurantes"?t.category==="Restaurante":e==="bares"?t.category==="Bar":e==="cafes"?t.category==="Cafeteria":!0).map((t,n)=>h.jsx(ee.div,{initial:{opacity:0,y:30}
211,animate:{opacity:1,y:0},transition:{delay:n*.1},children:h.jsxs(Zt,{className:"overflow-hidden group cursor-pointer hover:shadow-xl transition-shadow h-full",children:[h.jsx("div",{className:"aspect-[16/10] overflow-hidden",children:h.jsx("img",{src:t.image,alt:t.name,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"})}),h.jsxs(Jt,{className:"p-5",children:[h.jsxs("div",{className:"flex items-start justify-between mb-2",children:[h.jsxs("div",{children:[h.jsx("h3",{className:"font-bold text-lg group-hover:text-primary transition-colors",children:t.name}),h.jsxs("div",{className:"flex items-center gap-2 text-sm text-muted-foreground",children:[h.jsx("span",{children:t.category}),h.jsx("span",{children:"•"}),h.jsx("span",{children:t.type}),h.jsx("span",{children:"•"}),h.jsx("span",{children:t.price})]})]}),h.jsxs("div",{className:"flex items-center gap-1 bg-primary/10 text-primary px-2 py-1 rounded-full text-sm font-medium",children:[h.jsx(Of,{className:"h-3 w-3 fill-current"}),t.rating]})]}),h.jsx("p",{className:"text-sm text-muted-foreground mb-4 line-clamp-2",children:t.description}),h.jsxs("div",{className:"flex flex-col gap-1 text-sm text-muted-foreground",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx($e,{className:"h-4 w-4"}),h.jsx("span",{children:t.address})]}),h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(Dl,{className:"h-4 w-4"}),h.jsx("span",{children:t.hours})]})]})]})]})},t.name))})},e))]})]})})]}),XD="/assets/largo-da-batata-BwtFaNns.png",ZD="/assets/instituto-tomie-ohtake-BEXrUKCc.png",JD="/assets/beco-do-batman-Es7nl8y2.png",eL="/assets/praca-panamericana-CGdAqSt3.png",tL=[{name:"Praça Benedito Calixto",category:"Praça",icon:qp,rating:4.8,description:"Praça histórica que aos sábados abriga a famosa feira de antiguidades e artesanato. Ponto de encontro cultural do bairro.",address:"Praça Benedito Calixto, s/n",hours:"24h (Feira: Sáb 9h-19h)",image:O1},{name:"Largo da Batata",category:"Praça",icon:$E,rating:4.5,description:"Espaço público revitalizado que virou ponto de encontro, eventos culturais e manifestações. Conecta Pinheiros à Vila Madalena.",address:"Largo da Batata, s/n",hours:"24h",image:XD},{name:"Instituto Tomie Ohtake",category:"Museu",icon:ZE,rating:4.9,description:"Centro cultural com exposições de arte contemporânea nacionais e internacionais. Arquitetura icônica de Ruy Ohtake.",address:"Av. Faria Lima, 201",hours:"11h - 20h (Ter-Dom)",image:ZD},{name:"Beco do Batman",category:"Atração",icon:UE,rating:4.7,description:"Na vizinha Vila Madalena, a 5 minutos a pé. Galeria a céu aberto com grafites de artistas do mundo todo.",address:"Rua Gonçalo Afonso (Vila Madalena)",hours:"24h",image:JD},{name:"Praça Panamericana",category:"Praça",icon:qp,rating:4.4,description:"Praça arborizada ideal para passeios e atividades ao ar livre. Área residencial tranquila de Pinheiros.",address:"Praça Panamericana, s/n",hours:"24h",image:eL}],Zu={title:"A 5 minutos da Vila Madalena",description:"Pinheiros faz fronteira com a famosa Vila Madalena, permitindo que você aproveite o melhor dos dois bairros. Do Beco do Batman às galerias de arte, a região é um polo cultural único em São Paulo.",highlights:["Beco do Batman - Galeria de grafite a céu aberto","Feira da Vila - Todo agosto","Bares na Rua Aspicuelta","Galerias de Arte Contemporânea"]},nL=()=>h.jsxs(Gl,{children:[h.jsxs("section",{className:"relative py-32 overflow-hidden",children:[h.jsx("div",{className:"absolute inset-0 bg-cover bg-center",style:{backgroundImage:"url('https://images.unsplash.com/photo-1584483766114-2cea6facdf57?q=80&w=2070')"},children:h.jsx("div",{className:"absolute inset-0 bg-secondary/80"})}),h.jsx("div",{className:"container mx-auto px-4 relative z-10",children:h.jsxs(ee.div,{initial:{opacity:0,y:30},animate:{opacity:1,y:0},className:"text-center text-white",children:[h.jsxs(Fr,{className:"bg-white/20 text-white border-white/30 mb-4",children:[h.jsx($e,{className:"mr-2 h-4 w-4"}),"Explore Pinheiros"]}),h.jsx("h1",{className:"font-display text-5xl md:text-7xl font-bold mb-6",children:"Pontos Turísticos"}),h.jsx("p",{className:"text-xl md:text-2xl text-white/90 max-w-2xl mx-auto",children:"Praças históricas, arquitetura icônica e a proximidade com a Vila Madalena fazem de Pinheiros um destino cultural imperdível."})]})})]}),h.jsx("section",{className:"py-20 bg-warm-cream",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[h.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"O que visitar"}),h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mt-2 mb-4",children:"Principais Atrações"}),h.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Descubra os lugares mais especiais do bairro e arredores"})]}),h.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:tL.map((e,t)=>h.jsx(ee.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:t*.1},children:h.jsxs(Zt,{className:"overflow-hidden group cursor-pointer hover:shadow-xl transition-shadow h-full",children:[h.jsxs("div",{className:"aspect-[16/10] overflow-hidden relative",children:[h.jsx("img",{src:e.image,alt:e.name,className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-110"}),h.jsx("div",{className:"absolute top-4 left-4",children:h.jsxs(Fr,{className:"bg-background/90 text-foreground",children:[h.jsx(e.icon,{className:"mr-1 h-3 w-3"}),e.category]})})]}),h.jsxs(Jt,{className:"p-5",children:[h.jsxs("div",{className:"flex items-start justify-between mb-2",children:[h.jsx("h3",{className:"font-bold text-lg group-hover:text-primary transition-colors",children:e.name}),h.jsxs("div",{className:"flex items-center gap-1 bg-primary/10 text-primary px-2 py-1 rounded-full text-sm font-medium",children:[h.jsx(Of,{className:"h-3 w-3 fill-current"}),e.rating]})]}),h.jsx("p",{className:"text-sm text-muted-foreground mb-4 line-clamp-3",children:e.description}),h.jsxs("div",{className:"flex flex-col gap-1 text-sm text-muted-foreground",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx($e,{className:"h-4 w-4 flex-shrink-0"}),h.jsx("span",{className:"truncate",children:e.address})]}),h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(Dl,{className:"h-4 w-4 flex-shrink-0"}),h.jsx("span",{children:e.hours})]})]})]})]})},e.name))})]})}),h.jsx("section",{className:"py-20 bg-secondary text-secondary-foreground",children:h.jsx("div",{className:"container mx-auto px-4",children:h.jsx("div",{className:"max-w-3xl mx-auto text-center",children:h.jsxs(ee.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0},children:[h.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Vizinhança"}),h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mt-2 mb-6",children:Zu.title}
211),h.jsx("p",{className:"text-secondary-foreground/80 text-lg mb-8",children:Zu.description}),h.jsx("ul",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 text-left",children:Zu.highlights.map(e=>h.jsxs("li",{className:"flex items-center gap-3",children:[h.jsx($e,{className:"h-5 w-5 text-primary flex-shrink-0"}),h.jsx("span",{children:e})]},e))})]})})})}),h.jsx("section",{className:"py-20 bg-background",children:h.jsxs("div",{className:"container mx-auto px-4",children:[h.jsxs(ee.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},className:"text-center mb-12",children:[h.jsx("span",{className:"text-primary font-medium text-sm uppercase tracking-wider",children:"Localização"}),h.jsx("h2",{className:"font-display text-4xl md:text-5xl font-bold mt-2 mb-4",children:"Como chegar"}),h.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:"Pinheiros é facilmente acessível por metrô (Linha 4-Amarela), ônibus e bike."})]}),h.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6",children:[h.jsx(Zt,{children:h.jsxs(Jt,{className:"pt-6 text-center",children:[h.jsx("div",{className:"w-16 h-16 rounded-full bg-amber-500/10 flex items-center justify-center mx-auto mb-4",children:h.jsx("div",{className:"w-8 h-8 rounded-full bg-amber-500"})}),h.jsx("h3",{className:"font-bold text-lg mb-2",children:"Metrô Pinheiros"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Linha 4-Amarela. Conexão com a CPTM e ônibus."})]})}),h.jsx(Zt,{children:h.jsxs(Jt,{className:"pt-6 text-center",children:[h.jsx("div",{className:"w-16 h-16 rounded-full bg-amber-500/10 flex items-center justify-center mx-auto mb-4",children:h.jsx("div",{className:"w-8 h-8 rounded-full bg-amber-500"})}),h.jsx("h3",{className:"font-bold text-lg mb-2",children:"Metrô Fradique Coutinho"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Linha 4-Amarela. Próximo à Vila Madalena e Largo da Batata."})]})}),h.jsx(Zt,{children:h.jsxs(Jt,{className:"pt-6 text-center",children:[h.jsx("div",{className:"w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center mx-auto mb-4",children:h.jsx($e,{className:"h-8 w-8 text-primary"})}),h.jsx("h3",{className:"font-bold text-lg mb-2",children:"Bike SP"}),h.jsx("p",{className:"text-sm text-muted-foreground",children:"Diversas estações de bicicleta espalhadas pelo bairro."})]})})]})]})})]}),rL=()=>{const e=Qr();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),h.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:h.jsxs("div",{className:"text-center",children:[h.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),h.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),h.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},iL=new hk,sL=()=>h.jsx(mk,{client:iL,children:h.jsxs(U2,{children:[h.jsx(FT,{}),h.jsx(mP,{}),h.jsxs(fN,{children:[h.jsx(gN,{}),h.jsxs(sN,{children:[h.jsx(ni,{path:"/",element:h.jsx(TD,{})}),h.jsx(ni,{path:"/carnaval",element:h.jsx(RD,{})}),h.jsx(ni,{path:"/bares-restaurantes",element:h.jsx(qD,{})}),h.jsx(ni,{path:"/pontos-turisticos",element:h.jsx(nL,{})}),h.jsx(ni,{path:"*",element:h.jsx(rL,{})})]})]})]})});h0(document.getElementById("root")).render(h.jsx(sL,{}));

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.