vendor: 5,759 bytes, lines 1-9
1function Hy(n,r){for(var s=0;s<r.length;s++){const a=r[s];if(typeof a!="string"&&!Array.isArray(a)){for(const u in a)if(u!=="default"&&!(u in n)){const f=Object.getOwnPropertyDescriptor(a,u);f&&Object.defineProperty(n,u,f.get?f:{enumerable:!0,get:()=>a[u]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const r=document.createElement("link").relList;if(r&&r.supports&&r.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))a(u);new MutationObserver(u=>{for(const f of u)if(f.type==="childList")for(const c of f.addedNodes)c.tagName==="LINK"&&c.rel==="modulepreload"&&a(c)}).observe(document,{childList:!0,subtree:!0});function s(u){const f={};return u.integrity&&(f.integrity=u.integrity),u.referrerPolicy&&(f.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?f.credentials="include":u.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function a(u){if(u.ep)return;u.ep=!0;const f=s(u);fetch(u.href,f)}})();function _h(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var Ll={exports:{}},ts={},Ol={exports:{}},xe={};/** 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 Zf;function Ky(){if(Zf)return xe;Zf=1;var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),s=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),f=Symbol.for("react.provider"),c=Symbol.for("react.context"),p=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),y=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),m=Symbol.iterator;function w(b){return b===null||typeof b!="object"?null:(b=m&&b[m]||b["@@iterator"],typeof b=="function"?b:null)}var C={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,j={};function A(b,D,K){this.props=b,this.context=D,this.refs=j,this.updater=K||C}A.prototype.isReactComponent={},A.prototype.setState=function(b,D){if(typeof b!="object"&&typeof b!="function"&&b!=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,b,D,"setState")},A.prototype.forceUpdate=function(b){this.updater.enqueueForceUpdate(this,b,"forceUpdate")};function I(){}I.prototype=A.prototype;function F(b,D,K){this.props=b,this.context=D,this.refs=j,this.updater=K||C}var B=F.prototype=new I;B.constructor=F,P(B,A.prototype),B.isPureReactComponent=!0;var X=Array.isArray,W=Object.prototype.hasOwnProperty,oe={current:null},de={key:!0,ref:!0,__self:!0,__source:!0};function V(b,D,K){var J,pe={},ae=null,ce=null;if(D!=null)for(J in D.ref!==void 0&&(ce=D.ref),D.key!==void 0&&(ae=""+D.key),D)W.call(D,J)&&!de.hasOwnProperty(J)&&(pe[J]=D[J]);var ye=arguments.length-2;if(ye===1)pe.children=K;else if(1<ye){for(var we=Array(ye),_e=0;_e<ye;_e++)we[_e]=arguments[_e+2];pe.children=we}if(b&&b.defaultProps)for(J in ye=b.defaultProps,ye)pe[J]===void 0&&(pe[J]=ye[J]);return{$$typeof:n,type:b,key:ae,ref:ce,props:pe,_owner:oe.current}}function ge(b,D){return{$$typeof:n,type:b.type,key:D,ref:b.ref,props:b.props,_owner:b._owner}}function Se(b){return typeof b=="object"&&b!==null&&b.$$typeof===n}function Ce(b){var D={"=":"=0",":":"=2"};return"$"+b.replace(/[=:]/g,function(K){return D[K]})}var Ne=/\/+/g;function Me(b,D){return typeof b=="object"&&b!==null&&b.key!=null?Ce(""+b.key):D.toString(36)}function Ve(b,D,K,J,pe){var ae=typeof b;(ae==="undefined"||ae==="boolean")&&(b=null);var ce=!1;if(b===null)ce=!0;else switch(ae){case"string":case"number":ce=!0;break;case"object":switch(b.$$typeof){case n:case r:ce=!0}}if(ce)return ce=b,pe=pe(ce),b=J===""?"."+Me(ce,0):J,X(pe)?(K="",b!=null&&(K=b.replace(Ne,"$&/")+"/"),Ve(pe,D,K,"",function(_e){return _e})):pe!=null&&(Se(pe)&&(pe=ge(pe,K+(!pe.key||ce&&ce.key===pe.key?"":(""+pe.key).replace(Ne,"$&/")+"/")+b)),D.push(pe)),1;if(ce=0,J=J===""?".":J+":",X(b))for(var ye=0;ye<b.length;ye++){ae=b[ye];var we=J+Me(ae,ye);ce+=Ve(ae,D,K,we,pe)}else if(we=w(b),typeof we=="function")for(b=we.call(b),ye=0;!(ae=b.next()).done;)ae=ae.value,we=J+Me(ae,ye++),ce+=Ve(ae,D,K,we,pe);else if(ae==="object")throw D=String(b),Error("Objects are not valid as a React child (found: "+(D==="[object Object]"?"object with keys {"+Object.keys(b).join(", ")+"}":D)+"). If you meant to render a collection of children, use an array instead.");return ce}function ke(b,D,K){if(b==null)return b;var J=[],pe=0;return Ve(b,J,"","",function(ae){return D.call(K,ae,pe++)}),J}function Z(b){if(b._status===-1){var D=b._result;D=D(),D.then(function(K){(b._status===0||b._status===-1)&&(b._status=1,b._result=K)},function(K){(b._status===0||b._status===-1)&&(b._status=2,b._result=K)}),b._status===-1&&(b._status=0,b._result=D)}if(b._status===1)return b._result.default;throw b._result}var ie={current:null},R={transition:null},G={ReactCurrentDispatcher:ie,ReactCurrentBatchConfig:R,ReactCurrentOwner:oe};function H(){throw Error("act(...) is not supported in production builds of React.")}return xe.Children={map:ke,forEach:function(b,D,K){ke(b,function(){D.apply(this,arguments)},K)},count:function(b){var D=0;return ke(b,function(){D++}),D},toArray:function(b){return ke(b,function(D){return D})||[]},only:function(b){if(!Se(b))throw Error("React.Children.only expected to receive a single React element child.");return b}},xe.Component=A,xe.Fragment=s,xe.Profiler=u,xe.PureComponent=F,xe.StrictMode=a,xe.Suspense=h,xe.__SECRET_INT
vendor: 9,222 bytes, lines 9-33
9ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=G,xe.act=H,xe.cloneElement=function(b,D,K){if(b==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+b+".");var J=P({},b.props),pe=b.key,ae=b.ref,ce=b._owner;if(D!=null){if(D.ref!==void 0&&(ae=D.ref,ce=oe.current),D.key!==void 0&&(pe=""+D.key),b.type&&b.type.defaultProps)var ye=b.type.defaultProps;for(we in D)W.call(D,we)&&!de.hasOwnProperty(we)&&(J[we]=D[we]===void 0&&ye!==void 0?ye[we]:D[we])}var we=arguments.length-2;if(we===1)J.children=K;else if(1<we){ye=Array(we);for(var _e=0;_e<we;_e++)ye[_e]=arguments[_e+2];J.children=ye}return{$$typeof:n,type:b.type,key:pe,ref:ae,props:J,_owner:ce}},xe.createContext=function(b){return b={$$typeof:c,_currentValue:b,_currentValue2:b,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},b.Provider={$$typeof:f,_context:b},b.Consumer=b},xe.createElement=V,xe.createFactory=function(b){var D=V.bind(null,b);return D.type=b,D},xe.createRef=function(){return{current:null}},xe.forwardRef=function(b){return{$$typeof:p,render:b}},xe.isValidElement=Se,xe.lazy=function(b){return{$$typeof:v,_payload:{_status:-1,_result:b},_init:Z}},xe.memo=function(b,D){return{$$typeof:y,type:b,compare:D===void 0?null:D}},xe.startTransition=function(b){var D=R.transition;R.transition={};try{b()}finally{R.transition=D}},xe.unstable_act=H,xe.useCallback=function(b,D){return ie.current.useCallback(b,D)},xe.useContext=function(b){return ie.current.useContext(b)},xe.useDebugValue=function(){},xe.useDeferredValue=function(b){return ie.current.useDeferredValue(b)},xe.useEffect=function(b,D){return ie.current.useEffect(b,D)},xe.useId=function(){return ie.current.useId()},xe.useImperativeHandle=function(b,D,K){return ie.current.useImperativeHandle(b,D,K)},xe.useInsertionEffect=function(b,D){return ie.current.useInsertionEffect(b,D)},xe.useLayoutEffect=function(b,D){return ie.current.useLayoutEffect(b,D)},xe.useMemo=function(b,D){return ie.current.useMemo(b,D)},xe.useReducer=function(b,D,K){return ie.current.useReducer(b,D,K)},xe.useRef=function(b){return ie.current.useRef(b)},xe.useState=function(b){return ie.current.useState(b)},xe.useSyncExternalStore=function(b,D,K){return ie.current.useSyncExternalStore(b,D,K)},xe.useTransition=function(){return ie.current.useTransition()},xe.version="18.3.1",xe}var Jf;function Vu(){return Jf||(Jf=1,Ol.exports=Ky()),Ol.exports}/** 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 ep;function Gy(){if(ep)return ts;ep=1;var n=Vu(),r=Symbol.for("react.element"),s=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,u=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,f={key:!0,ref:!0,__self:!0,__source:!0};function c(p,h,y){var v,m={},w=null,C=null;y!==void 0&&(w=""+y),h.key!==void 0&&(w=""+h.key),h.ref!==void 0&&(C=h.ref);for(v in h)a.call(h,v)&&!f.hasOwnProperty(v)&&(m[v]=h[v]);if(p&&p.defaultProps)for(v in h=p.defaultProps,h)m[v]===void 0&&(m[v]=h[v]);return{$$typeof:r,type:p,key:w,ref:C,props:m,_owner:u.current}}return ts.Fragment=s,ts.jsx=c,ts.jsxs=c,ts}var tp;function Yy(){return tp||(tp=1,Ll.exports=Gy()),Ll.exports}var S=Yy(),jo={},zl={exports:{}},Tt={},Fl={exports:{}},Bl={};/** 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 */var np;function Xy(){return np||(np=1,(function(n){function r(R,G){var H=R.length;R.push(G);e:for(;0<H;){var b=H-1>>>1,D=R[b];if(0<u(D,G))R[b]=G,R[H]=D,H=b;else break e}}function s(R){return R.length===0?null:R[0]}function a(R){if(R.length===0)return null;var G=R[0],H=R.pop();if(H!==G){R[0]=H;e:for(var b=0,D=R.length,K=D>>>1;b<K;){var J=2*(b+1)-1,pe=R[J],ae=J+1,ce=R[ae];if(0>u(pe,H))ae<D&&0>u(ce,pe)?(R[b]=ce,R[ae]=H,b=ae):(R[b]=pe,R[J]=H,b=J);else if(ae<D&&0>u(ce,H))R[b]=ce,R[ae]=H,b=ae;else break e}}return G}function u(R,G){var H=R.sortIndex-G.sortIndex;return H!==0?H:R.id-G.id}if(typeof performance=="object"&&typeof performance.now=="function"){var f=performance;n.unstable_now=function(){return f.now()}}else{var c=Date,p=c.now();n.unstable_now=function(){return c.now()-p}}var h=[],y=[],v=1,m=null,w=3,C=!1,P=!1,j=!1,A=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,F=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function B(R){for(var G=s(y);G!==null;){if(G.callback===null)a(y);else if(G.startTime<=R)a(y),G.sortIndex=G.expirationTime,r(h,G);else break;G=s(y)}}function X(R){if(j=!1,B(R),!P)if(s(h)!==null)P=!0,Z(W);else{var G=s(y);G!==null&&ie(X,G.startTime-R)}}function W(R,G){P=!1,j&&(j=!1,I(V),V=-1),C=!0;var H=w;try{for(B(G),m=s(h);m!==null&&(!(m.expirationTime>G)||R&&!Ce());){var b=m.callback;if(typeof b=="function"){m.callback=null,w=m.priorityLevel;var D=b(m.expirationTime<=G);G=n.unstable_now(),typeof D=="function"?m.callback=D:m===s(h)&&a(h),B(G)}else a(h);m=s(h)}if(m!==null)var K=!0;else{var J=s(y);J!==null&&ie(X,J.startTime-G),K=!1}return K}finally{m=null,w=H,C=!1}}var oe=!1,de=null,V=-1,ge=5,Se=-1;function Ce(){return!(n.unstable_now()-Se<ge)}function Ne(){if(de!==null){var R=n.unstable_now();Se=R;var G=!0;try{G=de(!0,R)}finally{G?Me():(oe=!1,de=null)}}else oe=!1}var Me;if(typeof F=="function")Me=function(){F(Ne)};else if(typeof MessageChannel<"u"){var Ve=new MessageChannel,ke=Ve.port2;Ve.port1.onmessage=Ne,Me=function(){ke.postMessage(null)}}else Me=function(){A(Ne,0)};function Z(R){de=R,oe||(oe=!0,Me())}function ie(R,G){V=A(function(){R(n.unstable_now())},G)}n.unstable_IdlePriority=5,n.unstable_ImmediatePriority=1,n.unstable_LowPriority=4,n.unstable_NormalPriority=3,n.unstable_Profiling=null,n.unstable_UserBlockingPriority=2,n.unstable_cancelCallback=function(R){R.callback=null},n.unstable_continueExecution=function(){P||C||(P=!0,Z(W))},n.unstable_forceFrameRate=function(R){0>R||125<R?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):ge=0<R?Math.floor(1e3/R):5},n.unstable_getCurrentPriorityLevel=function(){return w},n.unstable_getFirstCallbackNode=function(){return s(h)},n.unstable_next=function(R){switch(w){case 1:case 2:case 3:var G=3;break;default:G=w}var H=w;w=G;try{return R()}finally{w=H}},n.unstable_pauseExecution=function(){},n.unstable_requestPaint=function(){},n.unstable_runWithPriority=function(R,G){switch(R){case 1:case 2:case 3:case 4:case 5:break;default:R=3}var H=w;w=R;try{return G()}finally{w=H}},n.unstable_scheduleCallback=function(R,G,H){var b=n.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?b+H:b):H=b,R){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=H+D,R={id:v++,callback:G,priorityLevel:R,startTime:H,expirationTime:D,sortIndex:-1},H>b?(R.sortIndex=H,r(y,R),s(h)===null&&R===s(y)&&(j?(I(V),V=-1):j=!0,ie(X,H-b))):(R.sortIndex=D,r(h,R),P||C||(P=!0,Z(W))),R},n.unstable_shouldYield=Ce,n.unstable_wrapCallback=function(R){var G=w;return function(){var H=w;w=G;try{return R.apply(this,arguments)}finally{w=H}}}})(Bl)),Bl}var rp;function Qy(){return rp||(rp=1,Fl.exports=Xy()),Fl.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 ip;function qy(){if(ip)return Tt;ip=1;var n=Vu(),r=Qy();function s(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i]);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 a=new Set,u={};function f(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(u[e]=t,e=0;e<t.length;e++)a.add(t[e])}var p=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),h=Object.prototype.hasOwnProperty,y=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},m={};function w(e){return h.call(m,e)?!0:h.call(v,e)?!1:y.test(e)?m[e]=!0:(v[e]=!0,!1)}function C(e,t,i,o){if(i!==null&&i.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:i!==null?!i.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function P(e,t,i,o){if(t===null||typeof t>"u"||C(e,t,i,o))return!0;
vendor: 47,199 bytes, lines 33-38
33if(o)return!1;if(i!==null)switch(i.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 j(e,t,i,o,l,d,g){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=l,this.mustUseProperty=i,this.propertyName=e,this.type=t,this.sanitizeURL=d,this.removeEmptyString=g}var A={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){A[e]=new j(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];A[t]=new j(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){A[e]=new j(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){A[e]=new j(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){A[e]=new j(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){A[e]=new j(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){A[e]=new j(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){A[e]=new j(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){A[e]=new j(e,5,!1,e.toLowerCase(),null,!1,!1)});var I=/[\-:]([a-z])/g;function F(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(I,F);A[t]=new j(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(I,F);A[t]=new j(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(I,F);A[t]=new j(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){A[e]=new j(e,1,!1,e.toLowerCase(),null,!1,!1)}),A.xlinkHref=new j("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){A[e]=new j(e,1,!1,e.toLowerCase(),null,!0,!0)});function B(e,t,i,o){var l=A.hasOwnProperty(t)?A[t]:null;(l!==null?l.type!==0:o||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(P(t,i,l,o)&&(i=null),o||l===null?w(t)&&(i===null?e.removeAttribute(t):e.setAttribute(t,""+i)):l.mustUseProperty?e[l.propertyName]=i===null?l.type===3?!1:"":i:(t=l.attributeName,o=l.attributeNamespace,i===null?e.removeAttribute(t):(l=l.type,i=l===3||l===4&&i===!0?"":""+i,o?e.setAttributeNS(o,t,i):e.setAttribute(t,i))))}var X=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,W=Symbol.for("react.element"),oe=Symbol.for("react.portal"),de=Symbol.for("react.fragment"),V=Symbol.for("react.strict_mode"),ge=Symbol.for("react.profiler"),Se=Symbol.for("react.provider"),Ce=Symbol.for("react.context"),Ne=Symbol.for("react.forward_ref"),Me=Symbol.for("react.suspense"),Ve=Symbol.for("react.suspense_list"),ke=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),ie=Symbol.for("react.offscreen"),R=Symbol.iterator;function G(e){return e===null||typeof e!="object"?null:(e=R&&e[R]||e["@@iterator"],typeof e=="function"?e:null)}var H=Object.assign,b;function D(e){if(b===void 0)try{throw Error()}catch(i){var t=i.stack.trim().match(/\n( *(at )?)/);b=t&&t[1]||""}return` 34`+b+e}var K=!1;function J(e,t){if(!e||K)return"";K=!0;var i=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(M){var o=M}Reflect.construct(e,[],t)}else{try{t.call()}catch(M){o=M}e.call(t.prototype)}else{try{throw Error()}catch(M){o=M}e()}}catch(M){if(M&&o&&typeof M.stack=="string"){for(var l=M.stack.split(` 35`),d=o.stack.split(` 36`),g=l.length-1,x=d.length-1;1<=g&&0<=x&&l[g]!==d[x];)x--;for(;1<=g&&0<=x;g--,x--)if(l[g]!==d[x]){if(g!==1||x!==1)do if(g--,x--,0>x||l[g]!==d[x]){var k=` 37`+l[g].replace(" at new "," at ");return e.displayName&&k.includes("<anonymous>")&&(k=k.replace("<anonymous>",e.displayName)),k}while(1<=g&&0<=x);break}}}finally{K=!1,Error.prepareStackTrace=i}return(e=e?e.displayName||e.name:"")?D(e):""}function pe(e){switch(e.tag){case 5:return D(e.type);case 16:return D("Lazy");case 13:return D("Suspense");case 19:return D("SuspenseList");case 0:case 2:case 15:return e=J(e.type,!1),e;case 11:return e=J(e.type.render,!1),e;case 1:return e=J(e.type,!0),e;default:return""}}function ae(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 de:return"Fragment";case oe:return"Portal";case ge:return"Profiler";case V:return"StrictMode";case Me:return"Suspense";case Ve:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ce:return(e.displayName||"Context")+".Consumer";case Se:return(e._context.displayName||"Context")+".Provider";case Ne:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ke:return t=e.displayName||null,t!==null?t:ae(e.type)||"Memo";case Z:t=e._payload,e=e._init;try{return ae(e(t))}catch{}}return null}function ce(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 ae(t);case 8:return t===V?"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 ye(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function we(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _e(e){var t=we(e)?"checked":"value",i=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof i<"u"&&typeof i.get=="function"&&typeof i.set=="function"){var l=i.get,d=i.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(g){o=""+g,d.call(this,g)}}),Object.defineProperty(e,t,{enumerable:i.enumerable}),{getValue:function(){return o},setValue:function(g){o=""+g},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Jt(e){e._valueTracker||(e._valueTracker=_e(e))}function en(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var i=t.getValue(),o="";return e&&(o=we(e)?e.checked?"true":"false":e.value),e=o,e!==i?(t.setValue(e),!0):!1}function Mr(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 rr(e,t){var i=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:i??e._wrapperState.initialChecked})}function ws(e,t){var i=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;i=ye(t.value!=null?t.value:i),e._wrapperState={initialChecked:o,initialValue:i,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function mi(e,t){t=t.checked,t!=null&&B(e,"checked",t,!1)}function cn(e,t){mi(e,t);var i=ye(t.value),o=t.type;if(i!=null)o==="number"?(i===0&&e.value===""||e.value!=i)&&(e.value=""+i):e.value!==""+i&&(e.value=""+i);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Et(e,t.type,i):t.hasOwnProperty("defaultValue")&&Et(e,t.type,ye(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function gi(e,t,i){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,i||t===e.value||(e.value=t),e.defaultValue=t}i=e.name,i!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,i!==""&&(e.name=i)}function Et(e,t,i){(t!=="number"||Mr(e.ownerDocument)!==e)&&(i==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+i&&(e.defaultValue=""+i))}var ir=Array.isArray;function Cn(e,t,i,o){if(e=e.options,t){t={};for(var l=0;l<i.length;l++)t["$"+i[l]]=!0;for(i=0;i<e.length;i++)l=t.hasOwnProperty("$"+e[i].value),e[i].selected!==l&&(e[i].selected=l),l&&o&&(e[i].defaultSelected=!0)}else{for(i=""+ye(i),t=null,l=0;l<e.length;l++){if(e[l].value===i){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function it(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(s(91));return H({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function dn(e,t){var i=t.value;if(i==null){if(i=t.children,t=t.defaultValue,i!=null){if(t!=null)throw Error(s(92));if(ir(i)){if(1<i.length)throw Error(s(93));i=i[0]}t=i}t==null&&(t=""),i=t}e._wrapperState={initialValue:ye(i)}}function Ss(e,t){var i=ye(t.value),o=ye(t.defaultValue);i!=null&&(i=""+i,i!==e.value&&(e.value=i),t.defaultValue==null&&e.defaultValue!==i&&(e.defaultValue=i)),o!=null&&(e.defaultValue=""+o)}function ks(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function sr(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 yi(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?sr(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var or,Ar=(function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,i,o,l){MSApp.execUnsafeLocalFunction(function(){return e(t,i,o,l)})}:e})(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(or=or||document.createElement("div"),or.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=or.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function jt(e,t){if(t){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=t;return}}e.textContent=t}var En={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},Pn=["Webkit","ms","Moz","O"];Object.keys(En).forEach(function(e){Pn.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),En[t]=En[e]})});function bs(e,t,i){return t==null||typeof t=="boolean"||t===""?"":i||typeof t!="number"||t===0||En.hasOwnProperty(e)&&En[e]?(""+t).trim():t+"px"}function Ts(e,t){e=e.style;for(var i in t)if(t.hasOwnProperty(i)){var o=i.indexOf("--")===0,l=bs(i,t[i],o);i==="float"&&(i="cssFloat"),o?e.setProperty(i,l):e[i]=l}}var Cs=H({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 Rr(e,t){if(t){if(Cs[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(s(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(s(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(s(61))}if(t.style!=null&&typeof t.style!="object")throw Error(s(62))}}function vi(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 ar=null;function Dt(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var xi=null,Nn=null,fn=null;function wi(e){if(e=Fi(e)){if(typeof xi!="function")throw Error(s(280));var t=e.stateNode;t&&(t=Ks(t),xi(e.stateNode,e.type,t))}}function he(e){Nn?fn?fn.push(e):fn=[e]:Nn=e}function $e(){if(Nn){var e=Nn,t=fn;if(fn=Nn=null,wi(e),t)for(e=0;e<t.length;e++)wi(t[e])}}function Xe(e,t){return e(t)}function ut(){}var Mn=!1;function Ke(e,t,i){if(Mn)return e(t,i);Mn=!0;try{return Xe(e,t,i)}finally{Mn=!1,(Nn!==null||fn!==null)&&(ut(),$e())}}function et(e,t){var i=e.stateNode;if(i===null)return null;var o=Ks(i);if(o===null)return null;i=o[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":(o=!o.disabled)||(e=e.type,o=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!o;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(s(231,t,typeof i));return i}var An=!1;if(p)try{var st={};Object.defineProperty(st,"passive",{get:function(){An=!0}}),window.addEventListener("test",st,st),window.removeEventListener("test",st,st)}catch{An=!1}function Pt(e,t,i,o,l,d,g,x,k){var M=Array.prototype.slice.call(arguments,3);try{t.apply(i,M)}catch(O){this.onError(O)}}var Rn=!1,_t=null,Si=!1,na=null,Zg={onError:function(e){Rn=!0,_t=e}};function Jg(e,t,i,o,l,d,g,x,k){Rn=!1,_t=null,Pt.apply(Zg,arguments)}function e0(e,t,i,o,l,d,g,x,k){if(Jg.apply(this,arguments),Rn){if(Rn){var M=_t;Rn=!1,_t=null}else throw Error(s(198));Si||(Si=!0,na=M)}}function lr(e){var t=e,i=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,(t.flags&4098)!==0&&(i=t.return),e=t.return;while(e)}return t.tag===3?i:null}function wc(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 Sc(e){if(lr(e)!==e)throw Error(s(188))}function t0(e){var t=e.alternate;if(!t){if(t=lr(e),t===null)throw Error(s(188));return t!==e?null:e}for(var i=e,o=t;;){var l=i.return;if(l===null)break;var d=l.alternate;if(d===null){if(o=l.return,o!==null){i=o;continue}break}if(l.child===d.child){for(d=l.child;d;){if(d===i)return Sc(l),e;if(d===o)return Sc(l),t;d=d.sibling}throw Error(s(188))}if(i.return!==o.return)i=l,o=d;else{for(var g=!1,x=l.child;x;){if(x===i){g=!0,i=l,o=d;break}if(x===o){g=!0,o=l,i=d;break}x=x.sibling}if(!g){for(x=d.child;x;){if(x===i){g=!0,i=d,o=l;break}if(x===o){g=!0,o=d,i=l;break}x=x.sibling}if(!g)throw Error(s(189))}}if(i.alternate!==o)throw Error(s(190))}if(i.tag!==3)throw Error(s(188));return i.stateNode.current===i?e:t}function kc(e){return e=t0(e),e!==null?bc(e):null}function bc(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=bc(e);if(t!==null)return t;e=e.sibling}return null}var Tc=r.unstable_scheduleCallback,Cc=r.unstable_cancelCallback,n0=r.unstable_shouldYield,r0=r.unstable_requestPaint,We=r.unstable_now,i0=r.unstable_getCurrentPriorityLevel,ra=r.unstable_ImmediatePriority,Ec=r.unstable_UserBlockingPriority,Es=r.unstable_NormalPriority,s0=r.unstable_LowPriority,Pc=r.unstable_IdlePriority,Ps=null,tn=null;function o0(e){if(tn&&typeof tn.onCommitFiberRoot=="function")try{tn.onCommitFiberRoot(Ps,e,void 0,(e.current.flags&128)===128)}catch{}}var Wt=Math.clz32?Math.clz32:u0,a0=Math.log,l0=Math.LN2;function u0(e){return e>>>=0,e===0?32:31-(a0(e)/l0|0)|0}var Ns=64,Ms=4194304;function ki(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 As(e,t){var i=e.pendingLanes;if(i===0)return 0;var o=0,l=e.suspendedLanes,d=e.pingedLanes,g=i&268435455;if(g!==0){var x=g&~l;x!==0?o=ki(x):(d&=g,d!==0&&(o=ki(d)))}else g=i&~l,g!==0?o=ki(g):d!==0&&(o=ki(d));if(o===0)return 0;if(t!==0&&t!==o&&(t&l)===0&&(l=o&-o,d=t&-t,l>=d||l===16&&(d&4194240)!==0))return t;if((o&4)!==0&&(o|=i&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=o;0<t;)i=31-Wt(t),l=1<<i,o|=e[i],t&=~l;return o}function c0(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 d0(e,t){for(var i=e.suspendedLanes,o=e.pingedLanes,l=e.expirationTimes,d=e.pendingLanes;0<d;){var g=31-Wt(d),x=1<<g,k=l[g];k===-1?((x&i)===0||(x&o)!==0)&&(l[g]=c0(x,t)):k<=t&&(e.expiredLanes|=x),d&=~x}}function ia(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function Nc(){var e=Ns;return Ns<<=1,(Ns&4194240)===0&&(Ns=64),e}function sa(e){for(var t=[],i=0;31>i;i++)t.push(e);return t}function bi(e,t,i){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Wt(t),e[t]=i}function f0(e,t){var i=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 o=e.eventTimes;for(e=e.expirationTimes;0<i;){var l=31-Wt(i),d=1<<l;t[l]=0,o[l]=-1,e[l]=-1,i&=~d}}function oa(e,t){var i=e.entangledLanes|=t;for(e=e.entanglements;i;){var o=31-Wt(i),l=1<<o;l&t|e[o]&t&&(e[o]|=t),i&=~l}}var Pe=0;function Mc(e){return e&=-e,1<e?4<e?(e&268435455)!==0?16:536870912:4:1}var Ac,aa,Rc,jc,Dc,la=!1,Rs=[],jn=null,Dn=null,_n=null,Ti=new Map,Ci=new Map,In=[],p0="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 _c(e,t){switch(e){case"focusin":case"focusout":jn=null;break;case"dragenter":case"dragleave":Dn=null;break;case"mouseover":case"mouseout":_n=null;break;case"pointerover":case"pointerout":Ti.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ci.delete(t.pointerId)}}function Ei(e,t,i,o,l,d){return e===null||e.nativeEvent!==d?(e={blockedOn:t,domEventName:i,eventSystemFlags:o,nativeEvent:d,targetContainers:[l]},t!==null&&(t=Fi(t),t!==null&&aa(t)),e):(e.eventSystemFlags|=o,t=e.targetContainers,l!==null&&t.indexOf(l)===-1&&t.push(l),e)}function h0(e,t,i,o,l){switch(t){case"focusin":return jn=Ei(jn,e,t,i,o,l),!0;case"dragenter":return Dn=Ei(Dn,e,t,i,o,l),!0;case"mouseover":return _n=Ei(_n,e,t,i,o,l),!0;case"pointerover":var d=l.pointerId;return Ti.set(d,Ei(Ti.get(d)||null,e,t,i,o,l)),!0;case"gotpointercapture":return d=l.pointerId,Ci.set(d,Ei(Ci.get(d)||null,e,t,i,o,l)),!0}return!1}function Ic(e){var t=ur(e.target);if(t!==null){var i=lr(t);if(i!==null){if(t=i.tag,t===13){if(t=wc(i),t!==null){e.blockedOn=t,Dc(e.priority,function(){Rc(i)});return}}else if(t===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function js(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var i=ca(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(i===null){i=e.nativeEvent;var o=new i.constructor(i.type,i);ar=o,i.target.dispatchEvent(o),ar=null}else return t=Fi(i),t!==null&&aa(t),e.blockedOn=i,!1;t.shift()}return!0}function Vc(e,t,i){js(e)&&i.delete(t)}function m0(){la=!1,jn!==null&&js(jn)&&(jn=null),Dn!==null&&js(Dn)&&(Dn=null),_n!==null&&js(_n)&&(_n=null),Ti.forEach(Vc),Ci.forEach(Vc)}function Pi(e,t){e.blockedOn===t&&(e.blockedOn=null,la||(la=!0,r.unstable_scheduleCallback(r.unstable_NormalPriority,m0)))}function Ni(e){function t(l){return Pi(l,e)}if(0<Rs.length){Pi(Rs[0],e);for(var i=1;i<Rs.length;i++){var o=Rs[i];o.blockedOn===e&&(o.blockedOn=null)}}for(jn!==null&&Pi(jn,e),Dn!==null&&Pi(Dn,e),_n!==null&&Pi(_n,e),Ti.forEach(t),Ci.forEach(t),i=0;i<In.length;i++)o=In[i],o.blockedOn===e&&(o.blockedOn=null);for(;0<In.length&&(i=In[0],i.blockedOn===null);)Ic(i),i.blockedOn===null&&In.shift()}var jr=X.ReactCurrentBatchConfig,Ds=!0;function g0(e,t,i,o){var l=Pe,d=jr.transition;jr.transition=null;try{Pe=1,ua(e,t,i,o)}finally{Pe=l,jr.transition=d}}function y0(e,t,i,o){var l=Pe,d=jr.transition;jr.transition=null;try{Pe=4,ua(e,t,i,o)}finally{Pe=l,jr.transition=d}}function ua(e,t,i,o){if(Ds){var l=ca(e,t,i,o);if(l===null)Pa(e,t,o,_s,i),_c(e,o);else if(h0(l,e,t,i,o))o.stopPropagation();else if(_c(e,o),t&4&&-1<p0.indexOf(e)){for(;l!==null;){var d=Fi(l);if(d!==null&&Ac(d),d=ca(e,t,i,o),d===null&&Pa(e,t,o,_s,i),d===l)break;l=d}l!==null&&o.stopPropagation()}else Pa(e,t,o,null,i)}}var _s=null;function ca(e,t,i,o){if(_s=null,e=Dt(o),e=ur(e),e!==null)if(t=lr(e),t===null)e=null;else if(i=t.tag,i===13){if(e=wc(t),e!==null)return e;e=null}else if(i===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return _s=e,null}function Lc(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(i0()){case ra:return 1;case Ec:return 4;case Es:case s0:return 16;case Pc:return 536870912;default:return 16}default:return 16}}var Vn=null,da=null,Is=null;function Oc(){if(Is)return Is;var e,t=da,i=t.length,o,l="value"in Vn?Vn.value:Vn.textContent,d=l.length;for(e=0;e<i&&t[e]===l[e];e++);var g=i-e;for(o=1;o<=g&&t[i-o]===l[d-o];o++);return Is=l.slice(e,1<o?1-o:void 0)}function Vs(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 Ls(){return!0}function zc(){return!1}function Nt(e){function t(i,o,l,d,g){this._reactName=i,this._targetInst=l,this.type=o,this.nativeEvent=d,this.target=g,this.currentTarget=null;for(var x in e)e.hasOwnProperty(x)&&(i=e[x],this[x]=i?i(d):d[x]);return this.isDefaultPrevented=(d.defaultPrevented!=null?d.defaultPrevented:d.returnValue===!1)?Ls:zc,this.isPropagationStopped=zc,this}return H(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Ls)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Ls)},persist:function(){},isPersistent:Ls}),t}var Dr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},fa=Nt(Dr),Mi=H({},Dr,{view:0,detail:0}),v0=Nt(Mi),pa,ha,Ai,Os=H({},Mi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ga,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!==Ai&&(Ai&&e.type==="mousemove"?(pa=e.screenX-Ai.screenX,ha=e.screenY-Ai.screenY):ha=pa=0,Ai=e),pa)},movementY:function(e){return"movementY"in e?e.movementY:ha}}),Fc=Nt(Os),x0=H({},Os,{dataTransfer:0}),w0=Nt(x0),S0=H({},Mi,{relatedTarget:0}),ma=Nt(S0),k0=H({},Dr,{animationName:0,elapsedTime:0,pseudoElement:0}),b0=Nt(k0),T0=H({},Dr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),C0=Nt(T0),E0=H({},Dr,{data:0}),Bc=Nt(E0),P0={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},N0={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"},M0={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function A0(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=M0[e])?!!t[e]:!1}function ga(){return A0}var R0=H({},Mi,{key:function(e){if(e.key){var t=P0[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=Vs(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?N0[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ga,charCode:function(e){return e.type==="keypress"?Vs(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Vs(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),j0=Nt(R0),D0=H({},Os,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Uc=Nt(D0),_0=H({},Mi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ga}),I0=Nt(_0),V0=H({},Dr,{propertyName:0,elapsedTime:0,pseudoElement:0}),L0=Nt(V0),O0=H({},Os,{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}),z0=Nt(O0),F0=[9,13,27,32],ya=p&&"CompositionEvent"in window,Ri=null;p&&"documentMode"in document&&(Ri=document.documentMode);var B0=p&&"TextEvent"in window&&!Ri,$c=p&&(!ya||Ri&&8<Ri&&11>=Ri),Wc=" ",Hc=!1;function Kc(e,t){switch(e){case"keyup":return F0.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Gc(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var _r=!1;function U0(e,t){switch(e){case"compositionend":return Gc(t);case"keypress":return t.which!==32?null:(Hc=!0,Wc);case"textInput":return e=t.data,e===Wc&&Hc?null:e;default:return null}}function $0(e,t){if(_r)return e==="compositionend"||!ya&&Kc(e,t)?(e=Oc(),Is=da=Vn=null,_r=!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 $c&&t.locale!=="ko"?null:t.data;default:return null}}var W0={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 Yc(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!W0[e.type]:t==="textarea"}function Xc(e,t,i,o){he(o),t=$s(t,"onChange"),0<t.length&&(i=new fa("onChange","change",null,i,o),e.push({event:i,listeners:t}))}var ji=null,Di=null;function H0(e){pd(e,0)}function zs(e){var t=zr(e);if(en(t))return e}function K0(e,t){if(e==="change")return t}var Qc=!1;if(p){var va;if(p){var xa="oninput"in document;if(!xa){var qc=document.createElement("div");qc.setAttribute("oninput","return;"),xa=typeof qc.oninput=="function"}va=xa}else va=!1;Qc=va&&(!document.documentMode||9<document.documentMode)}function Zc(){ji&&(ji.detachEvent("onpropertychange",Jc),Di=ji=null)}function Jc(e){if(e.propertyName==="value"&&zs(Di)){var t=[];Xc(t,Di,e,Dt(e)),Ke(H0,t)}}function G0(e,t,i){e==="focusin"?(Zc(),ji=t,Di=i,ji.attachEvent("onpropertychange",Jc)):e==="focusout"&&Zc()}function Y0(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return zs(Di)}function X0(e,t){if(e==="click")return zs(t)}function Q0(e,t){if(e==="input"||e==="change")return zs(t)}function q0(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var Ht=typeof Object.is=="function"?Object.is:q0;function _i(e,t){if(Ht(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var i=Object.keys(e),o=Object.keys(t);if(i.length!==o.length)return!1;for(o=0;o<i.length;o++){var l=i[o];if(!h.call(t,l)||!Ht(e[l],t[l]))return!1}return!0}function ed(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function td(e,t){var i=ed(e);e=0;for(var o;i;){if(i.nodeType===3){if(o=e+i.textContent.length,e<=t&&o>=t)return{node:i,offset:t-e};e=o}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=ed(i)}}function nd(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?nd(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function rd(){for(var e=window,t=Mr();t instanceof e.HTMLIFrameElement;){try{var i=typeof t.contentWindow.location.href=="string"}catch{i=!1}if(i)e=t.contentWindow;else break;t=Mr(e.document)}return t}function wa(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 Z0(e){var t=rd(),i=e.focusedElem,o=e.selectionRange;if(t!==i&&i&&i.ownerDocument&&nd(i.ownerDocument.documentElement,i)){if(o!==null&&wa(i)){if(t=o.start,e=o.end,e===void 0&&(e=t),"selectionStart"in i)i.selectionStart=t,i.selectionEnd=Math.min(e,i.value.length);else if(e=(t=i.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=i.textContent.length,d=Math.min(o.start,l);o=o.end===void 0?d:Math.min(o.end,l),!e.extend&&d>o&&(l=o,o=d,d=l),l=td(i,d);var g=td(i,o);l&&g&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==g.node||e.focusOffset!==g.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),d>o?(e.addRange(t),e.extend(g.node,g.offset)):(t.setEnd(g.node,g.offset),e.addRange(t)))}}for(t=[],e=i;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof i.focus=="function"&&i.focus(),i=0;i<t.length;i++)e=t[i],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var J0=p&&"documentMode"in document&&11>=document.documentMode,Ir=null,Sa=null,Ii=null,ka=!1;function id(e,t,i){var o=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;ka||Ir==null||Ir!==Mr(o)||(o=Ir,"selectionStart"in o&&wa(o)?o={start:o.selectionStart,end:o.selectionEnd}:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection(),o={anchorNode:o.anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset}),Ii&&_i(Ii,o)||(Ii=o,o=$s(Sa,"onSelect"),0<o.length&&(t=new fa("onSelect","select",null,t,i),e.push({event:t,listeners:o}),t.target=Ir)))}function Fs(e,t){var i={};return i[e.toLowerCase()]=t.toLowerCase(),i["Webkit"+e]="webkit"+t,i["Moz"+e]="moz"+t,i}var Vr={animationend:Fs("Animation","AnimationEnd"),animationiteration:Fs("Animation","AnimationIteration"),animationstart:Fs("Animation","AnimationStart"),transitionend:Fs("Transition","TransitionEnd")},ba={},sd={};p&&(sd=document.createElement("div").style,"AnimationEvent"in window||(delete Vr.animationend.animation,delete Vr.animationiteration.animation,delete Vr.animationstart.animation),"TransitionEvent"in window||delete Vr.transitionend.transition);function Bs(e){if(ba[e])return ba[e];if(!Vr[e])return e;var t=Vr[e],i;for(i in t)if(t.hasOwnProperty(i)&&i in sd)return ba[e]=t[i];return e}var od=Bs("animationend"),ad=Bs("animationiteration"),ld=Bs("animationstart"),ud=Bs("transitionend"),cd=new Map,dd="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 Ln(e,t){cd.set(e,t),f(t,[e])}for(var Ta=0;Ta<dd.length;Ta++){var Ca=dd[Ta],ey=Ca.toLowerCase(),ty=Ca[0].toUpperCase()+Ca.slice(1);Ln(ey,"on"+ty)}Ln(od,"onAnimationEnd"),Ln(ad,"onAnimationIteration"),Ln(ld,"onAnimationStart"),Ln("dblclick","onDoubleClick"),Ln("focusin","onFocus"),Ln("focusout","onBlur"),Ln(ud,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),f("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),f("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),f("onBeforeInput",["compositionend","keypress","textInput","paste"]),f("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),f("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Vi="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(" "),ny=new Set("cancel close invalid load scroll toggle".split(" ").concat(Vi));function fd(e,t,i){var o=e.type||"unknown-event";e.currentTarget=i,e0(o,t,void 0,e),e.currentTarget=null}function pd(e,t){t=(t&4)!==0;for(var i=0;i<e.length;i++){var o=e[i],l=o.event;o=o.listeners;e:{var d=void 0;if(t)for(var g=o.length-1;0<=g;g--){var x=o[g],k=x.instance,M=x.currentTarget;if(x=x.listener,k!==d&&l.isPropagationStopped())break e;fd(l,x,M),d=k}else for(g=0;g<o.length;g++){if(x=o[g],k=x.instance,M=x.currentTarget,x=x.listener,k!==d&&l.isPropagationStopped())break e;fd(l,x,M),d=k}}}if(Si)throw e=na,Si=!1,na=null,e}function Re(e,t){var i=t[Da];i===void 0&&(i=t[Da]=new Set);var o=e+"__bubble";i.has(o)||(hd(t,e,2,!1),i.add(o))}function Ea(e,t,i){var o=0;t&&(o|=4),hd(i,e,o,t)}var Us="_reactListening"+Math.random().toString(36).slice(2);function Li(e){if(!e[Us]){e[Us]=!0,a.forEach(function(i){i!=="selectionchange"&&(ny.has(i)||Ea(i,!1,e),Ea(i,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[Us]||(t[Us]=!0,Ea("selectionchange",!1,t))}}function hd(e,t,i,o){switch(Lc(t)){case 1:var l=g0;break;case 4:l=y0;break;default:l=ua}i=l.bind(null,t,i,e),l=void 0,!An||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(l=!0),o?l!==void 0?e.addEventListener(t,i,{capture:!0,passive:l}):e.addEventListener(t,i,!0):l!==void 0?e.addEventListener(t,i,{passive:l}):e.addEventListener(t,i,!1)}function Pa(e,t,i,o,l){var d=o;if((t&1)===0&&(t&2)===0&&o!==null)e:for(;;){if(o===null)return;var g=o.tag;if(g===3||g===4){var x=o.stateNode.containerInfo;if(x===l||x.nodeType===8&&x.parentNode===l)break;if(g===4)for(g=o.return;g!==null;){var k=g.tag;if((k===3||k===4)&&(k=g.stateNode.containerInfo,k===l||k.nodeType===8&&k.parentNode===l))return;g=g.return}for(;x!==null;){if(g=ur(x),g===null)return;if(k=g.tag,k===5||k===6){o=d=g;continue e}x=x.parentNode}}o=o.return}Ke(function(){var M=d,O=Dt(i),z=[];e:{var L=cd.get(e);if(L!==void 0){var Y=fa,ee=e;switch(e){case"keypress":if(Vs(i)===0)break e;case"keydown":case"keyup":Y=j0;break;case"focusin":ee="focus",Y=ma;break;case"focusout":ee="blur",Y=ma;break;case"beforeblur":case"afterblur":Y=ma;break;case"click":if(i.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Y=Fc;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Y=w0;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Y=I0;break;case od:case ad:case ld:Y=b0;break;case ud:Y=L0;break;case"scroll":Y=v0;break;case"wheel":Y=z0;break;case"copy":case"cut":case"paste":Y=C0;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Y=Uc}var re=(t&4)!==0,He=!re&&e==="scroll",E=re?L!==null?L+"Capture":null:L;re=[];for(var T=M,N;T!==null;){N=T;var U=N.stateNode;if(N.tag===5&&U!==null&&(N=U,E!==null&&(U=et(T,E),U!=null&&re.push(Oi(T,U,N)))),He)break;T=T.return}0<re.length&&(L=new Y(L,ee,null,i,O),z.push({event:L,listeners:re}))}}if((t&7)===0){e:{if(L=e==="mouseover"||e==="pointerover",Y=e==="mouseout"||e==="pointerout",L&&i!==ar&&(ee=i.relatedTarget||i.fromElement)&&(ur(ee)||ee[pn]))break e;if((Y||L)&&(L=O.window===O?O:(L=O.ownerDocument)?L.defaultView||L.parentWindow:window,Y?(ee=i.relatedTarget||i.toElement,Y=M,ee=ee?ur(ee):null,ee!==null&&(He=lr(ee),ee!==He||ee.tag!==5&&ee.tag!==6)&&(ee=null)):(Y=null,ee=M),Y!==ee)){if(re=Fc,U="onMouseLeave",E="onMouseEnter",T="mouse",(e==="pointerout"||e==="pointerover")&&(re=Uc,U="onPointerLeave",E="onPointerEnter",T="pointer"),He=Y==null?L:zr(Y),N=ee==null?L:zr(ee),L=new re(U,T+"leave",Y,i,O),L.target=He,L.relatedTarget=N,U=null,ur(O)===M&&(re=new re(E,T+"enter",ee,i,O),re.target=N,re.relatedTarget=He,U=re),He=U,Y&&ee)t:{for(re=Y,E=ee,T=0,N=re;N;N=Lr(N))T++;for(N=0,U=E;U;U=Lr(U))N++;for(;0<T-N;)re=Lr(re),T--;for(;0<N-T;)E=Lr(E),N--;for(;T--;){if(re===E||E!==null&&re===E.alternate)break t;re=Lr(re),E=Lr(E)}re=null}else re=null;Y!==null&&md(z,L,Y,re,!1),ee!==null&&He!==null&&md(z,He,ee,re,!0)}}e:{if(L=M?zr(M):window,Y=L.nodeName&&L.nodeName.toLowerCase(),Y==="select"||Y==="input"&&L.type==="file")var se=K0;else if(Yc(L))if(Qc)se=Q0;else{se=Y0;var le=G0}else(Y=L.nodeName)&&Y.toLowerCase()==="input"&&(L.type==="checkbox"||L.type==="radio")&&(se=X0);if(se&&(se=se(e,M))){Xc(z,se,i,O);break e}le&&le(e,L,M),e==="focusout"&&(le=L._wrapperState)&&le.controlled&&L.type==="number"&&Et(L,"number",L.value)}switch(le=M?zr(M):window,e){case"focusin":(Yc(le)||le.contentEditable==="true")&&(Ir=le,Sa=M,Ii=null);break;case"focusout":Ii=Sa=Ir=null;break;case"mousedown":ka=!0;break;case"contextmenu":case"mouseup":case"dragend":ka=!1,id(z,i,O);break;case"selectionchange":if(J0)break;case"keydown":case"keyup":id(z,i,O)}var ue;if(ya)e:{switch(e){case"compositionstart":var fe="onCompositionStart";break e;case"compositionend":fe="onCompositionEnd";break e;case"compositionupdate":fe="onCompositionUpdate";break e}fe=void 0}else _r?Kc(e,i)&&(fe="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(fe="onCompositionStart");fe&&($c&&i.locale!=="ko"&&(_r||fe!=="onCompositionStart"?fe==="onCompositionEnd"&&_r&&(ue=Oc()):(Vn=O,da="value"in Vn?Vn.value:Vn.textContent,_r=!0)),le=$s(M,fe),0<le.length&&(fe=new Bc(fe,e,null,i,O),z.push({event:fe,listeners:le}),ue?fe.data=ue:(ue=Gc(i),ue!==null&&(fe.data=ue)))),(ue=B0?U0(e,i):$0(e,i))&&(M=$s(M,"onBeforeInput"),0<M.length&&(O=new Bc("onBeforeInput","beforeinput",null,i,O),z.push({event:O,listeners:M}),O.data=ue))}pd(z,t)})}function Oi(e,t,i){return{instance:e,listener:t,currentTarget:i}}function $s(e,t){for(var i=t+"Capture",o=[];e!==null;){var l=e,d=l.stateNode;l.tag===5&&d!==null&&(l=d,d=et(e,i),d!=null&&o.unshift(Oi(e,d,l)),d=et(e,t),d!=null&&o.push(Oi(e,d,l))),e=e.return}return o}function Lr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function md(e,t,i,o,l){for(var d=t._reactName,g=[];i!==null&&i!==o;){var x=i,k=x.alternate,M=x.stateNode;if(k!==null&&k===o)break;x.tag===5&&M!==null&&(x=M,l?(k=et(i,d),k!=null&&g.unshift(Oi(i,k,x))):l||(k=et(i,d),k!=null&&g.push(Oi(i,k,x)))),i=i.return}g.length!==0&&e.push({event:t,listeners:g})}var ry=/\r\n?/g,iy=/\u0000|\uFFFD/g;function gd(e){return(typeof e=="string"?e:""+e).replace(ry,` 38`).replace(iy,"")}function Ws(e,t,i){if(t=gd(t),gd(e)!==t&&i)throw Error(s(425))}function Hs(){}var Na=null,Ma=null;function Aa(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 Ra=typeof setTimeout=="function"?setTimeout:void 0,sy=typeof clearTimeout=="function"?clearTimeout:void 0,yd=typeof Promise=="function"?Promise:void 0,oy=typeof queueMicrotask=="function"?queueMicrotask:typeof yd<"u"?function(e){return yd.resolve(null).then(e).catch(ay)}:Ra;function ay(e){setTimeout(function(){throw e})}function ja(e,t){var i=t,o=0;do{var l=i.nextSibling;if(e.removeChild(i),l&&l.nodeType===8)if(i=l.data,i==="/$"){if(o===0){e.removeChild(l),Ni(t);return}o--}else i!=="$"&&i!=="$?"&&i!=="$!"||o++;i=l}while(i);Ni(t)}function On(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 vd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"){if(t===0)return e;t--}else i==="/$"&&t++}e=e.previousSibling}return null}var Or=Math.random().toString(36).slice(2),nn="__reactFiber$"+Or,zi="__reactProps$"+Or,pn="__reactContainer$"+Or,Da="__reactEvents$"+Or,ly="__reactListeners$"+Or,uy="__reactHandles$"+Or;function ur(e){var t=e[nn];if(t)return t;for(var i=e.parentNode;i;){if(t=i[pn]||i[nn]){if(i=t.alternate,t.child!==null||i!==null&&i.child!==null)for(e=vd(e);e!==null;){if(i=e[nn])return i;e=vd(e)}return t}e=i,i=e.parentNode}return null}function Fi(e){return e=e[nn]||e[pn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function zr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(s(33))}function Ks(e){return e[zi]||null}var _a=[],Fr=-1;function zn(e){return{current:e}}function je(e){0>Fr||(e.current=_a[Fr],_a[Fr]=null,Fr--)}function Ae(e,t){Fr++,_a[Fr]=e.current,e.current=t}var Fn={},ct=zn(Fn),xt=zn(!1),cr=Fn;function Br(e,t){var i=e.type.contextTypes;if(!i)return Fn;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var l={},d;for(d in i)l[d]=t[d];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function wt(e){return e=e.childContextTypes,e!=null}function Gs(){je(xt),je(ct)}function xd(e,t,i){if(ct.current!==Fn)throw Error(s(168));Ae(ct,t),Ae(xt,i)}function wd(e,t,i){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return i;o=o.getChildContext();for(var l in o)if(!(l in t))throw Error(s(108,ce(e)||"Unknown",l));return H({},i,o)}function Ys(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Fn,cr=ct.current,Ae(ct,e),Ae(xt,xt.current),!0}function Sd(e,t,i){var o=e.stateNode;if(!o)throw Error(s(169));i?(e=wd(e,t,cr),o.__reactInternalMemoizedMergedChildContext=e,je(xt),je(ct),Ae(ct,e)):je(xt),Ae(xt,i)}var hn=null,Xs=!1,Ia=!1;function kd(e){hn===null?hn=[e]:hn.push(e)}function cy(e){Xs=!0,kd(e)}function Bn(){if(!Ia&&hn!==null){Ia=!0;var e=0,t=Pe;try{var i=hn;for(Pe=1;e<i.length;e++){var o=i[e];do o=o(!0);while(o!==null)}hn=null,Xs=!1}catch(l){throw hn!==null&&(hn=hn.slice(e+1)),Tc(ra,Bn),l}finally{Pe=t,Ia=!1}}return null}var Ur=[],$r=0,Qs=null,qs=0,It=[],Vt=0,dr=null,mn=1,gn="";function fr(e,t){Ur[$r++]=qs,Ur[$r++]=Qs,Qs=e,qs=t}function bd(e,t,i){It[Vt++]=mn,It[Vt++]=gn,It[Vt++]=dr,dr=e;var o=mn;e=gn;var l=32-Wt(o)-1;o&=~(1<<l),i+=1;var d=32-Wt(t)+l;if(30<d){var g=l-l%5;d=(o&(1<<g)-1).toString(32),o>>=g,l-=g,mn=1<<32-Wt(t)+l|i<<l|o,gn=d+e}else mn=1<<d|i<<l|o,gn=e}function Va(e){e.return!==null&&(fr(e,1),bd(e,1,0))}function La(e){for(;e===Qs;)Qs=Ur[--$r],Ur[$r]=null,qs=Ur[--$r],Ur[$r]=null;for(;e===dr;)dr=It[--Vt],It[Vt]=null,gn=It[--Vt],It[Vt]=null,mn=It[--Vt],It[Vt]=null}var Mt=null,At=null,Ie=!1,Kt=null;function Td(e,t){var i=Ft(5,null,null,0);i.elementType="DELETED",i.stateNode=t,i.return=e,t=e.deletions,t===null?(e.deletions=[i],e.flags|=16):t.push(i)}function Cd(e,t){switch(e.tag){case 5:var i=e.type;
vendor: 6,078 bytes, line 38
38return t=t.nodeType!==1||i.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,Mt=e,At=On(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,Mt=e,At=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(i=dr!==null?{id:mn,overflow:gn}:null,e.memoizedState={dehydrated:t,treeContext:i,retryLane:1073741824},i=Ft(18,null,null,0),i.stateNode=t,i.return=e,e.child=i,Mt=e,At=null,!0):!1;default:return!1}}function Oa(e){return(e.mode&1)!==0&&(e.flags&128)===0}function za(e){if(Ie){var t=At;if(t){var i=t;if(!Cd(e,t)){if(Oa(e))throw Error(s(418));t=On(i.nextSibling);var o=Mt;t&&Cd(e,t)?Td(o,i):(e.flags=e.flags&-4097|2,Ie=!1,Mt=e)}}else{if(Oa(e))throw Error(s(418));e.flags=e.flags&-4097|2,Ie=!1,Mt=e}}}function Ed(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;Mt=e}function Zs(e){if(e!==Mt)return!1;if(!Ie)return Ed(e),Ie=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Aa(e.type,e.memoizedProps)),t&&(t=At)){if(Oa(e))throw Pd(),Error(s(418));for(;t;)Td(e,t),t=On(t.nextSibling)}if(Ed(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(s(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"){if(t===0){At=On(e.nextSibling);break e}t--}else i!=="$"&&i!=="$!"&&i!=="$?"||t++}e=e.nextSibling}At=null}}else At=Mt?On(e.stateNode.nextSibling):null;return!0}function Pd(){for(var e=At;e;)e=On(e.nextSibling)}function Wr(){At=Mt=null,Ie=!1}function Fa(e){Kt===null?Kt=[e]:Kt.push(e)}var dy=X.ReactCurrentBatchConfig;function Bi(e,t,i){if(e=i.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(i._owner){if(i=i._owner,i){if(i.tag!==1)throw Error(s(309));var o=i.stateNode}if(!o)throw Error(s(147,e));var l=o,d=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===d?t.ref:(t=function(g){var x=l.refs;g===null?delete x[d]:x[d]=g},t._stringRef=d,t)}if(typeof e!="string")throw Error(s(284));if(!i._owner)throw Error(s(290,e))}return e}function Js(e,t){throw e=Object.prototype.toString.call(t),Error(s(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Nd(e){var t=e._init;return t(e._payload)}function Md(e){function t(E,T){if(e){var N=E.deletions;N===null?(E.deletions=[T],E.flags|=16):N.push(T)}}function i(E,T){if(!e)return null;for(;T!==null;)t(E,T),T=T.sibling;return null}function o(E,T){for(E=new Map;T!==null;)T.key!==null?E.set(T.key,T):E.set(T.index,T),T=T.sibling;return E}function l(E,T){return E=Xn(E,T),E.index=0,E.sibling=null,E}function d(E,T,N){return E.index=N,e?(N=E.alternate,N!==null?(N=N.index,N<T?(E.flags|=2,T):N):(E.flags|=2,T)):(E.flags|=1048576,T)}function g(E){return e&&E.alternate===null&&(E.flags|=2),E}function x(E,T,N,U){return T===null||T.tag!==6?(T=Rl(N,E.mode,U),T.return=E,T):(T=l(T,N),T.return=E,T)}function k(E,T,N,U){var se=N.type;return se===de?O(E,T,N.props.children,U,N.key):T!==null&&(T.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===Z&&Nd(se)===T.type)?(U=l(T,N.props),U.ref=Bi(E,T,N),U.return=E,U):(U=To(N.type,N.key,N.props,null,E.mode,U),U.ref=Bi(E,T,N),U.return=E,U)}function M(E,T,N,U){return T===null||T.tag!==4||T.stateNode.containerInfo!==N.containerInfo||T.stateNode.implementation!==N.implementation?(T=jl(N,E.mode,U),T.return=E,T):(T=l(T,N.children||[]),T.return=E,T)}function O(E,T,N,U,se){return T===null||T.tag!==7?(T=wr(N,E.mode,U,se),T.return=E,T):(T=l(T,N),T.return=E,T)}function z(E,T,N){if(typeof T=="string"&&T!==""||typeof T=="number")return T=Rl(""+T,E.mode,N),T.return=E,T;if(typeof T=="object"&&T!==null){switch(T.$$typeof){case W:return N=To(T.type,T.key,T.props,null,E.mode,N),N.ref=Bi(E,null,T),N.return=E,N;case oe:return T=jl(T,E.mode,N),T.return=E,T;case Z:var U=T._init;return z(E,U(T._payload),N)}if(ir(T)||G(T))return T=wr(T,E.mode,N,null),T.return=E,T;Js(E,T)}return null}function L(E,T,N,U){var se=T!==null?T.key:null;if(typeof N=="string"&&N!==""||typeof N=="number")return se!==null?null:x(E,T,""+N,U);if(typeof N=="object"&&N!==null){switch(N.$$typeof){case W:return N.key===se?k(E,T,N,U):null;case oe:return N.key===se?M(E,T,N,U):null;case Z:return se=N._init,L(E,T,se(N._payload),U)}if(ir(N)||G(N))return se!==null?null:O(E,T,N,U,null);Js(E,N)}return null}function Y(E,T,N,U,se){if(typeof U=="string"&&U!==""||typeof U=="number")return E=E.get(N)||null,x(T,E,""+U,se);if(typeof U=="object"&&U!==null){switch(U.$$typeof){case W:return E=E.get(U.key===null?N:U.key)||null,k(T,E,U,se);case oe:return E=E.get(U.key===null?N:U.key)||null,M(T,E,U,se);case Z:var le=U._init;return Y(E,T,N,le(U._payload),se)}if(ir(U)||G(U))return E=E.get(N)||null,O(T,E,U,se,null);Js(T,U)}return null}function ee(E,T,N,U){for(var se=null,le=null,ue=T,fe=T=0,rt=null;ue!==null&&fe<N.length;fe++){ue.index>fe?(rt=ue,ue=null):rt=ue.sibling;var Te=L(E,ue,N[fe],U);if(Te===null){ue===null&&(ue=rt);break}e&&ue&&Te.alternate===null&&t(E,ue),T=d(Te,T,fe),le===null?se=Te:le.sibling=Te,le=Te,ue=rt}if(fe===N.length)return i(E,ue),Ie&&fr(E,fe),se;if(ue===null){for(;fe<N.length;fe++)ue=z(E,N[fe],U),ue!==null&&(T=d(ue,T,fe),le===null?se=ue:le.sibling=ue,le=ue);return Ie&&fr(E,fe),se}for(ue=o(E,ue);fe<N.length;fe++)rt=Y(ue,E,fe,N[fe],U),rt!==null&&(e&&rt.alternate!==null&&ue.delete(rt.key===null?fe:rt.key),T=d(rt,T,fe),le===null?se=rt:le.sibling=rt,le=rt);return e&&ue.forEach(function(Qn){return t(E,Qn)}),Ie&&fr(E,fe),se}function re(E,T,N,U){var se=G(N);if(typeof se!="function")throw Error(s(150));if(N=se.call(N),N==null)throw Error(s(151));for(var le=se=null,ue=T,fe=T=0,rt=null,Te=N.next();ue!==null&&!Te.done;fe++,Te=N.next()){ue.index>fe?(rt=ue,ue=null):rt=ue.sibling;var Qn=L(E,ue,Te.value,U);if(Qn===null){ue===null&&(ue=rt);break}e&&ue&&Qn.alternate===null&&t(E,ue),T=d(Qn,T,fe),le===null?se=Qn:le.sibling=Qn,le=Qn,ue=rt}if(Te.done)return i(E,ue),Ie&&fr(E,fe),se;if(ue===null){for(;!Te.done;fe++,Te=N.next())Te=z(E,Te.value,U),Te!==null&&(T=d(Te,T,fe),le===null?se=Te:le.sibling=Te,le=Te);return Ie&&fr(E,fe),se}for(ue=o(E,ue);!Te.done;
vendor: 9,371 bytes, line 38
38fe++,Te=N.next())Te=Y(ue,E,fe,Te.value,U),Te!==null&&(e&&Te.alternate!==null&&ue.delete(Te.key===null?fe:Te.key),T=d(Te,T,fe),le===null?se=Te:le.sibling=Te,le=Te);return e&&ue.forEach(function(Wy){return t(E,Wy)}),Ie&&fr(E,fe),se}function He(E,T,N,U){if(typeof N=="object"&&N!==null&&N.type===de&&N.key===null&&(N=N.props.children),typeof N=="object"&&N!==null){switch(N.$$typeof){case W:e:{for(var se=N.key,le=T;le!==null;){if(le.key===se){if(se=N.type,se===de){if(le.tag===7){i(E,le.sibling),T=l(le,N.props.children),T.return=E,E=T;break e}}else if(le.elementType===se||typeof se=="object"&&se!==null&&se.$$typeof===Z&&Nd(se)===le.type){i(E,le.sibling),T=l(le,N.props),T.ref=Bi(E,le,N),T.return=E,E=T;break e}i(E,le);break}else t(E,le);le=le.sibling}N.type===de?(T=wr(N.props.children,E.mode,U,N.key),T.return=E,E=T):(U=To(N.type,N.key,N.props,null,E.mode,U),U.ref=Bi(E,T,N),U.return=E,E=U)}return g(E);case oe:e:{for(le=N.key;T!==null;){if(T.key===le)if(T.tag===4&&T.stateNode.containerInfo===N.containerInfo&&T.stateNode.implementation===N.implementation){i(E,T.sibling),T=l(T,N.children||[]),T.return=E,E=T;break e}else{i(E,T);break}else t(E,T);T=T.sibling}T=jl(N,E.mode,U),T.return=E,E=T}return g(E);case Z:return le=N._init,He(E,T,le(N._payload),U)}if(ir(N))return ee(E,T,N,U);if(G(N))return re(E,T,N,U);Js(E,N)}return typeof N=="string"&&N!==""||typeof N=="number"?(N=""+N,T!==null&&T.tag===6?(i(E,T.sibling),T=l(T,N),T.return=E,E=T):(i(E,T),T=Rl(N,E.mode,U),T.return=E,E=T),g(E)):i(E,T)}return He}var Hr=Md(!0),Ad=Md(!1),eo=zn(null),to=null,Kr=null,Ba=null;function Ua(){Ba=Kr=to=null}function $a(e){var t=eo.current;je(eo),e._currentValue=t}function Wa(e,t,i){for(;e!==null;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,o!==null&&(o.childLanes|=t)):o!==null&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===i)break;e=e.return}}function Gr(e,t){to=e,Ba=Kr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(St=!0),e.firstContext=null)}function Lt(e){var t=e._currentValue;if(Ba!==e)if(e={context:e,memoizedValue:t,next:null},Kr===null){if(to===null)throw Error(s(308));Kr=e,to.dependencies={lanes:0,firstContext:e}}else Kr=Kr.next=e;return t}var pr=null;function Ha(e){pr===null?pr=[e]:pr.push(e)}function Rd(e,t,i,o){var l=t.interleaved;return l===null?(i.next=i,Ha(t)):(i.next=l.next,l.next=i),t.interleaved=i,yn(e,o)}function yn(e,t){e.lanes|=t;var i=e.alternate;for(i!==null&&(i.lanes|=t),i=e,e=e.return;e!==null;)e.childLanes|=t,i=e.alternate,i!==null&&(i.childLanes|=t),i=e,e=e.return;return i.tag===3?i.stateNode:null}var Un=!1;function Ka(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function jd(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 vn(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function $n(e,t,i){var o=e.updateQueue;if(o===null)return null;if(o=o.shared,(be&2)!==0){var l=o.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),o.pending=t,yn(e,i)}return l=o.interleaved,l===null?(t.next=t,Ha(o)):(t.next=l.next,l.next=t),o.interleaved=t,yn(e,i)}function no(e,t,i){if(t=t.updateQueue,t!==null&&(t=t.shared,(i&4194240)!==0)){var o=t.lanes;o&=e.pendingLanes,i|=o,t.lanes=i,oa(e,i)}}function Dd(e,t){var i=e.updateQueue,o=e.alternate;if(o!==null&&(o=o.updateQueue,i===o)){var l=null,d=null;if(i=i.firstBaseUpdate,i!==null){do{var g={eventTime:i.eventTime,lane:i.lane,tag:i.tag,payload:i.payload,callback:i.callback,next:null};d===null?l=d=g:d=d.next=g,i=i.next}while(i!==null);d===null?l=d=t:d=d.next=t}else l=d=t;i={baseState:o.baseState,firstBaseUpdate:l,lastBaseUpdate:d,shared:o.shared,effects:o.effects},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=t:e.next=t,i.lastBaseUpdate=t}function ro(e,t,i,o){var l=e.updateQueue;Un=!1;var d=l.firstBaseUpdate,g=l.lastBaseUpdate,x=l.shared.pending;if(x!==null){l.shared.pending=null;var k=x,M=k.next;k.next=null,g===null?d=M:g.next=M,g=k;var O=e.alternate;O!==null&&(O=O.updateQueue,x=O.lastBaseUpdate,x!==g&&(x===null?O.firstBaseUpdate=M:x.next=M,O.lastBaseUpdate=k))}if(d!==null){var z=l.baseState;g=0,O=M=k=null,x=d;do{var L=x.lane,Y=x.eventTime;if((o&L)===L){O!==null&&(O=O.next={eventTime:Y,lane:0,tag:x.tag,payload:x.payload,callback:x.callback,next:null});e:{var ee=e,re=x;switch(L=t,Y=i,re.tag){case 1:if(ee=re.payload,typeof ee=="function"){z=ee.call(Y,z,L);break e}z=ee;break e;case 3:ee.flags=ee.flags&-65537|128;case 0:if(ee=re.payload,L=typeof ee=="function"?ee.call(Y,z,L):ee,L==null)break e;z=H({},z,L);break e;case 2:Un=!0}}x.callback!==null&&x.lane!==0&&(e.flags|=64,L=l.effects,L===null?l.effects=[x]:L.push(x))}else Y={eventTime:Y,lane:L,tag:x.tag,payload:x.payload,callback:x.callback,next:null},O===null?(M=O=Y,k=z):O=O.next=Y,g|=L;if(x=x.next,x===null){if(x=l.shared.pending,x===null)break;L=x,x=L.next,L.next=null,l.lastBaseUpdate=L,l.shared.pending=null}}while(!0);if(O===null&&(k=z),l.baseState=k,l.firstBaseUpdate=M,l.lastBaseUpdate=O,t=l.shared.interleaved,t!==null){l=t;do g|=l.lane,l=l.next;while(l!==t)}else d===null&&(l.shared.lanes=0);gr|=g,e.lanes=g,e.memoizedState=z}}function _d(e,t,i){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var o=e[t],l=o.callback;if(l!==null){if(o.callback=null,o=i,typeof l!="function")throw Error(s(191,l));l.call(o)}}}var Ui={},rn=zn(Ui),$i=zn(Ui),Wi=zn(Ui);function hr(e){if(e===Ui)throw Error(s(174));return e}function Ga(e,t){switch(Ae(Wi,t),Ae($i,e),Ae(rn,Ui),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:yi(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=yi(t,e)}je(rn),Ae(rn,t)}function Yr(){je(rn),je($i),je(Wi)}function Id(e){hr(Wi.current);var t=hr(rn.current),i=yi(t,e.type);t!==i&&(Ae($i,e),Ae(rn,i))}function Ya(e){$i.current===e&&(je(rn),je($i))}var Le=zn(0);function io(e){for(var t=e;t!==null;){if(t.tag===13){var i=t.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||i.data==="$?"||i.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((t.flags&128)!==0)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 Xa=[];function Qa(){for(var e=0;e<Xa.length;e++)Xa[e]._workInProgressVersionPrimary=null;Xa.length=0}var so=X.ReactCurrentDispatcher,qa=X.ReactCurrentBatchConfig,mr=0,Oe=null,Qe=null,tt=null,oo=!1,Hi=!1,Ki=0,fy=0;function dt(){throw Error(s(321))}function Za(e,t){if(t===null)return!1;for(var i=0;i<t.length&&i<e.length;i++)if(!Ht(e[i],t[i]))return!1;return!0}function Ja(e,t,i,o,l,d){if(mr=d,Oe=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,so.current=e===null||e.memoizedState===null?gy:yy,e=i(o,l),Hi){d=0;do{if(Hi=!1,Ki=0,25<=d)throw Error(s(301));d+=1,tt=Qe=null,t.updateQueue=null,so.current=vy,e=i(o,l)}while(Hi)}if(so.current=uo,t=Qe!==null&&Qe.next!==null,mr=0,tt=Qe=Oe=null,oo=!1,t)throw Error(s(300));return e}function el(){var e=Ki!==0;return Ki=0,e}function sn(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return tt===null?Oe.memoizedState=tt=e:tt=tt.next=e,tt}function Ot(){if(Qe===null){var e=Oe.alternate;e=e!==null?e.memoizedState:null}else e=Qe.next;var t=tt===null?Oe.memoizedState:tt.next;if(t!==null)tt=t,Qe=e;else{if(e===null)throw Error(s(310));Qe=e,e={memoizedState:Qe.memoizedState,baseState:Qe.baseState,baseQueue:Qe.baseQueue,queue:Qe.queue,next:null},tt===null?Oe.memoizedState=tt=e:tt=tt.next=e}return tt}function Gi(e,t){return typeof t=="function"?t(e):t}function tl(e){var t=Ot(),i=t.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var o=Qe,l=o.baseQueue,d=i.pending;if(d!==null){if(l!==null){var g=l.next;l.next=d.next,d.next=g}o.baseQueue=l=d,i.pending=null}if(l!==null){d=l.next,o=o.baseState;var x=g=null,k=null,M=d;do{var O=M.lane;if((mr&O)===O)k!==null&&(k=k.next={lane:0,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null}),o=M.hasEagerState?M.eagerState:e(o,M.action);else{var z={lane:O,action:M.action,hasEagerState:M.hasEagerState,eagerState:M.eagerState,next:null};k===null?(x=k=z,g=o):k=k.next=z,Oe.lanes|=O,gr|=O}M=M.next}while(M!==null&&M!==d);k===null?g=o:k.next=x,Ht(o,t.memoizedState)||(St=!0),t.memoizedState=o,t.baseState=g,t.baseQueue=k,i.lastRenderedState=o}if(e=i.interleaved,e!==null){l=e;do d=l.lane,Oe.lanes|=d,gr|=d,l=l.next;while(l!==e)}else l===null&&(i.lanes=0);return[t.memoizedState,i.dispatch]}function nl(e){var t=Ot(),i=t.queue;if(i===null)throw Error(s(311));i.lastRenderedReducer=e;var o=i.dispatch,l=i.pending,d=t.memoizedState;if(l!==null){i.pending=null;var g=l=l.next;do d=e(d,g.action),g=g.next;while(g!==l);Ht(d,t.memoizedState)||(St=!0),t.memoizedState=d,t.baseQueue===null&&(t.baseState=d),i.lastRenderedState=d}return[d,o]}function Vd(){}function Ld(e,t){var i=Oe,o=Ot(),l=t(),d=!Ht(o.memoizedState,l);if(d&&(o.memoizedState=l,St=!0),o=o.queue,rl(Fd.bind(null,i,o,e),[e]),o.getSnapshot!==t||d||tt!==null&&tt.memoizedState.tag&1){if(i.flags|=2048,Yi(9,zd.bind(null,i,o,l,t),void 0,null),nt===null)throw Error(s(349));(mr&30)!==0||Od(i,t,l)}
vendor: 4,224 bytes, line 38
38return l}function Od(e,t,i){e.flags|=16384,e={getSnapshot:t,value:i},t=Oe.updateQueue,t===null?(t={lastEffect:null,stores:null},Oe.updateQueue=t,t.stores=[e]):(i=t.stores,i===null?t.stores=[e]:i.push(e))}function zd(e,t,i,o){t.value=i,t.getSnapshot=o,Bd(t)&&Ud(e)}function Fd(e,t,i){return i(function(){Bd(t)&&Ud(e)})}function Bd(e){var t=e.getSnapshot;e=e.value;try{var i=t();return!Ht(e,i)}catch{return!0}}function Ud(e){var t=yn(e,1);t!==null&&Qt(t,e,1,-1)}function $d(e){var t=sn();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Gi,lastRenderedState:e},t.queue=e,e=e.dispatch=my.bind(null,Oe,e),[t.memoizedState,e]}function Yi(e,t,i,o){return e={tag:e,create:t,destroy:i,deps:o,next:null},t=Oe.updateQueue,t===null?(t={lastEffect:null,stores:null},Oe.updateQueue=t,t.lastEffect=e.next=e):(i=t.lastEffect,i===null?t.lastEffect=e.next=e:(o=i.next,i.next=e,e.next=o,t.lastEffect=e)),e}function Wd(){return Ot().memoizedState}function ao(e,t,i,o){var l=sn();Oe.flags|=e,l.memoizedState=Yi(1|t,i,void 0,o===void 0?null:o)}function lo(e,t,i,o){var l=Ot();o=o===void 0?null:o;var d=void 0;if(Qe!==null){var g=Qe.memoizedState;if(d=g.destroy,o!==null&&Za(o,g.deps)){l.memoizedState=Yi(t,i,d,o);return}}Oe.flags|=e,l.memoizedState=Yi(1|t,i,d,o)}function Hd(e,t){return ao(8390656,8,e,t)}function rl(e,t){return lo(2048,8,e,t)}function Kd(e,t){return lo(4,2,e,t)}function Gd(e,t){return lo(4,4,e,t)}function Yd(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 Xd(e,t,i){return i=i!=null?i.concat([e]):null,lo(4,4,Yd.bind(null,t,e),i)}function il(){}function Qd(e,t){var i=Ot();t=t===void 0?null:t;var o=i.memoizedState;return o!==null&&t!==null&&Za(t,o[1])?o[0]:(i.memoizedState=[e,t],e)}function qd(e,t){var i=Ot();t=t===void 0?null:t;var o=i.memoizedState;return o!==null&&t!==null&&Za(t,o[1])?o[0]:(e=e(),i.memoizedState=[e,t],e)}function Zd(e,t,i){return(mr&21)===0?(e.baseState&&(e.baseState=!1,St=!0),e.memoizedState=i):(Ht(i,t)||(i=Nc(),Oe.lanes|=i,gr|=i,e.baseState=!0),t)}function py(e,t){var i=Pe;Pe=i!==0&&4>i?i:4,e(!0);var o=qa.transition;qa.transition={};try{e(!1),t()}finally{Pe=i,qa.transition=o}}function Jd(){return Ot().memoizedState}function hy(e,t,i){var o=Gn(e);if(i={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null},ef(e))tf(t,i);else if(i=Rd(e,t,i,o),i!==null){var l=gt();Qt(i,e,o,l),nf(i,t,o)}}function my(e,t,i){var o=Gn(e),l={lane:o,action:i,hasEagerState:!1,eagerState:null,next:null};if(ef(e))tf(t,l);else{var d=e.alternate;if(e.lanes===0&&(d===null||d.lanes===0)&&(d=t.lastRenderedReducer,d!==null))try{var g=t.lastRenderedState,x=d(g,i);if(l.hasEagerState=!0,l.eagerState=x,Ht(x,g)){var k=t.interleaved;k===null?(l.next=l,Ha(t)):(l.next=k.next,k.next=l),t.interleaved=l;return}}catch{}finally{}i=Rd(e,t,l,o),i!==null&&(l=gt(),Qt(i,e,o,l),nf(i,t,o))}}function ef(e){var t=e.alternate;return e===Oe||t!==null&&t===Oe}function tf(e,t){Hi=oo=!0;var i=e.pending;i===null?t.next=t:(t.next=i.next,i.next=t),e.pending=t}function nf(e,t,i){if((i&4194240)!==0){var o=t.lanes;o&=e.pendingLanes,i|=o,t.lanes=i,oa(e,i)}}var uo={readContext:Lt,useCallback:dt,useContext:dt,useEffect:dt,useImperativeHandle:dt,useInsertionEffect:dt,useLayoutEffect:dt,useMemo:dt,useReducer:dt,useRef:dt,useState:dt,useDebugValue:dt,useDeferredValue:dt,useTransition:dt,useMutableSource:dt,useSyncExternalStore:dt,useId:dt,unstable_isNewReconciler:!1},gy={readContext:Lt,useCallback:function(e,t){return sn().memoizedState=[e,t===void 0?null:t],e},useContext:Lt,useEffect:Hd,useImperativeHandle:function(e,t,i){return i=i!=null?i.concat([e]):null,ao(4194308,4,Yd.bind(null,t,e),i)},useLayoutEffect:function(e,t){return ao(4194308,4,e,t)},useInsertionEffect:function(e,t){return ao(4,2,e,t)},useMemo:function(e,t){var i=sn();return t=t===void 0?null:t,e=e(),i.memoizedState=[e,t],e},useReducer:function(e,t,i){var o=sn();return t=i!==void 0?i(t):t,o.memoizedState=o.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},o.queue=e,e=e.dispatch=hy.bind(null,Oe,e),[o.memoizedState,e]}
vendor: 7,454 bytes, lines 38-40
38,useRef:function(e){var t=sn();return e={current:e},t.memoizedState=e},useState:$d,useDebugValue:il,useDeferredValue:function(e){return sn().memoizedState=e},useTransition:function(){var e=$d(!1),t=e[0];return e=py.bind(null,e[1]),sn().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,i){var o=Oe,l=sn();if(Ie){if(i===void 0)throw Error(s(407));i=i()}else{if(i=t(),nt===null)throw Error(s(349));(mr&30)!==0||Od(o,t,i)}l.memoizedState=i;var d={value:i,getSnapshot:t};return l.queue=d,Hd(Fd.bind(null,o,d,e),[e]),o.flags|=2048,Yi(9,zd.bind(null,o,d,i,t),void 0,null),i},useId:function(){var e=sn(),t=nt.identifierPrefix;if(Ie){var i=gn,o=mn;i=(o&~(1<<32-Wt(o)-1)).toString(32)+i,t=":"+t+"R"+i,i=Ki++,0<i&&(t+="H"+i.toString(32)),t+=":"}else i=fy++,t=":"+t+"r"+i.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},yy={readContext:Lt,useCallback:Qd,useContext:Lt,useEffect:rl,useImperativeHandle:Xd,useInsertionEffect:Kd,useLayoutEffect:Gd,useMemo:qd,useReducer:tl,useRef:Wd,useState:function(){return tl(Gi)},useDebugValue:il,useDeferredValue:function(e){var t=Ot();return Zd(t,Qe.memoizedState,e)},useTransition:function(){var e=tl(Gi)[0],t=Ot().memoizedState;return[e,t]},useMutableSource:Vd,useSyncExternalStore:Ld,useId:Jd,unstable_isNewReconciler:!1},vy={readContext:Lt,useCallback:Qd,useContext:Lt,useEffect:rl,useImperativeHandle:Xd,useInsertionEffect:Kd,useLayoutEffect:Gd,useMemo:qd,useReducer:nl,useRef:Wd,useState:function(){return nl(Gi)},useDebugValue:il,useDeferredValue:function(e){var t=Ot();return Qe===null?t.memoizedState=e:Zd(t,Qe.memoizedState,e)},useTransition:function(){var e=nl(Gi)[0],t=Ot().memoizedState;return[e,t]},useMutableSource:Vd,useSyncExternalStore:Ld,useId:Jd,unstable_isNewReconciler:!1};function Gt(e,t){if(e&&e.defaultProps){t=H({},t),e=e.defaultProps;for(var i in e)t[i]===void 0&&(t[i]=e[i]);return t}return t}function sl(e,t,i,o){t=e.memoizedState,i=i(o,t),i=i==null?t:H({},t,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var co={isMounted:function(e){return(e=e._reactInternals)?lr(e)===e:!1},enqueueSetState:function(e,t,i){e=e._reactInternals;var o=gt(),l=Gn(e),d=vn(o,l);d.payload=t,i!=null&&(d.callback=i),t=$n(e,d,l),t!==null&&(Qt(t,e,l,o),no(t,e,l))},enqueueReplaceState:function(e,t,i){e=e._reactInternals;var o=gt(),l=Gn(e),d=vn(o,l);d.tag=1,d.payload=t,i!=null&&(d.callback=i),t=$n(e,d,l),t!==null&&(Qt(t,e,l,o),no(t,e,l))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var i=gt(),o=Gn(e),l=vn(i,o);l.tag=2,t!=null&&(l.callback=t),t=$n(e,l,o),t!==null&&(Qt(t,e,o,i),no(t,e,o))}};function rf(e,t,i,o,l,d,g){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(o,d,g):t.prototype&&t.prototype.isPureReactComponent?!_i(i,o)||!_i(l,d):!0}function sf(e,t,i){var o=!1,l=Fn,d=t.contextType;return typeof d=="object"&&d!==null?d=Lt(d):(l=wt(t)?cr:ct.current,o=t.contextTypes,d=(o=o!=null)?Br(e,l):Fn),t=new t(i,d),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=co,e.stateNode=t,t._reactInternals=e,o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=l,e.__reactInternalMemoizedMaskedChildContext=d),t}function of(e,t,i,o){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(i,o),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(i,o),t.state!==e&&co.enqueueReplaceState(t,t.state,null)}function ol(e,t,i,o){var l=e.stateNode;l.props=i,l.state=e.memoizedState,l.refs={},Ka(e);var d=t.contextType;typeof d=="object"&&d!==null?l.context=Lt(d):(d=wt(t)?cr:ct.current,l.context=Br(e,d)),l.state=e.memoizedState,d=t.getDerivedStateFromProps,typeof d=="function"&&(sl(e,t,d,i),l.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof l.getSnapshotBeforeUpdate=="function"||typeof l.UNSAFE_componentWillMount!="function"&&typeof l.componentWillMount!="function"||(t=l.state,typeof l.componentWillMount=="function"&&l.componentWillMount(),typeof l.UNSAFE_componentWillMount=="function"&&l.UNSAFE_componentWillMount(),t!==l.state&&co.enqueueReplaceState(l,l.state,null),ro(e,i,l,o),l.state=e.memoizedState),typeof l.componentDidMount=="function"&&(e.flags|=4194308)}function Xr(e,t){try{var i="",o=t;do i+=pe(o),o=o.return;while(o);var l=i}catch(d){l=` 39Error generating stack: `+d.message+` 40`+d.stack}return{value:e,source:t,stack:l,digest:null}}function al(e,t,i){return{value:e,source:null,stack:i??null,digest:t??null}}function ll(e,t){try{console.error(t.value)}catch(i){setTimeout(function(){throw i})}}var xy=typeof WeakMap=="function"?WeakMap:Map;function af(e,t,i){i=vn(-1,i),i.tag=3,i.payload={element:null};var o=t.value;return i.callback=function(){vo||(vo=!0,bl=o),ll(e,t)},i}function lf(e,t,i){i=vn(-1,i),i.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var l=t.value;i.payload=function(){return o(l)},i.callback=function(){ll(e,t)}}var d=e.stateNode;return d!==null&&typeof d.componentDidCatch=="function"&&(i.callback=function(){ll(e,t),typeof o!="function"&&(Hn===null?Hn=new Set([this]):Hn.add(this));var g=t.stack;this.componentDidCatch(t.value,{componentStack:g!==null?g:""})}),i}function uf(e,t,i){var o=e.pingCache;if(o===null){o=e.pingCache=new xy;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(i)||(l.add(i),e=Dy.bind(null,e,t,i),t.then(e,e))}function cf(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 df(e,t,i,o,l){return(e.mode&1)===0?(e===t?e.flags|=65536:(e.flags|=128,i.flags|=131072,i.flags&=-52805,i.tag===1&&(i.alternate===null?i.tag=17:(t=vn(-1,1),t.tag=2,$n(i,t,1))),i.lanes|=1),e):(e.flags|=65536,e.lanes=l,e)}var wy=X.ReactCurrentOwner,St=!1;function mt(e,t,i,o){t.child=e===null?Ad(t,null,i,o):Hr(t,e.child,i,o)}function ff(e,t,i,o,l){i=i.render;var d=t.ref;return Gr(t,l),o=Ja(e,t,i,o,d,l),i=el(),e!==null&&!St?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,xn(e,t,l)):(Ie&&i&&Va(t),t.flags|=1,mt(e,t,o,l),t.child)}function pf(e,t,i,o,l){if(e===null){var d=i.type;return typeof d=="function"&&!Al(d)&&d.defaultProps===void 0&&i.compare===null&&i.defaultProps===void 0?(t.tag=15,t.type=d,hf(e,t,d,o,l)):(e=To(i.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(d=e.child,(e.lanes&l)===0){var g=d.memoizedProps;if(i=i.compare,i=i!==null?i:_i,i(g,o)&&e.ref===t.ref)return xn(e,t,l)}return t.flags|=1,e=Xn(d,o),e.ref=t.ref,e.return=t,t.child=e}function hf(e,t,i,o,l){if(e!==null){var d=e.memoizedProps;if(_i(d,o)&&e.ref===t.ref)if(St=!1,t.pendingProps=o=d,(e.lanes&l)!==0)(e.flags&131072)!==0&&(St=!0);else return t.lanes=e.lanes,xn(e,t,l)}return ul(e,t,i,o,l)}function mf(e,t,i){var o=t.pendingProps,l=o.children,d=e!==null?e.memoizedState:null;if(o.mode==="hidden")if((t.mode&1)===0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ae(qr,Rt),Rt|=i;else{if((i&1073741824)===0)return e=d!==null?d.baseLanes|i:i,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ae(qr,Rt),Rt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=d!==null?d.baseLanes:i,Ae(qr,Rt),Rt|=o}else d!==null?(o=d.baseLanes|i,t.memoizedState=null):o=i,Ae(qr,Rt),Rt|=o;return mt(e,t,l,i),t.child}function gf(e,t){var i=t.ref;(e===null&&i!==null||e!==null&&e.ref!==i)&&(t.flags|=512,t.flags|=2097152)}
vendor: 39,443 bytes, line 40
40function ul(e,t,i,o,l){var d=wt(i)?cr:ct.current;return d=Br(t,d),Gr(t,l),i=Ja(e,t,i,o,d,l),o=el(),e!==null&&!St?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,xn(e,t,l)):(Ie&&o&&Va(t),t.flags|=1,mt(e,t,i,l),t.child)}function yf(e,t,i,o,l){if(wt(i)){var d=!0;Ys(t)}else d=!1;if(Gr(t,l),t.stateNode===null)po(e,t),sf(t,i,o),ol(t,i,o,l),o=!0;else if(e===null){var g=t.stateNode,x=t.memoizedProps;g.props=x;var k=g.context,M=i.contextType;typeof M=="object"&&M!==null?M=Lt(M):(M=wt(i)?cr:ct.current,M=Br(t,M));var O=i.getDerivedStateFromProps,z=typeof O=="function"||typeof g.getSnapshotBeforeUpdate=="function";z||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(x!==o||k!==M)&&of(t,g,o,M),Un=!1;var L=t.memoizedState;g.state=L,ro(t,o,g,l),k=t.memoizedState,x!==o||L!==k||xt.current||Un?(typeof O=="function"&&(sl(t,i,O,o),k=t.memoizedState),(x=Un||rf(t,i,x,o,L,k,M))?(z||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount()),typeof g.componentDidMount=="function"&&(t.flags|=4194308)):(typeof g.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=k),g.props=o,g.state=k,g.context=M,o=x):(typeof g.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{g=t.stateNode,jd(e,t),x=t.memoizedProps,M=t.type===t.elementType?x:Gt(t.type,x),g.props=M,z=t.pendingProps,L=g.context,k=i.contextType,typeof k=="object"&&k!==null?k=Lt(k):(k=wt(i)?cr:ct.current,k=Br(t,k));var Y=i.getDerivedStateFromProps;(O=typeof Y=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(x!==z||L!==k)&&of(t,g,o,k),Un=!1,L=t.memoizedState,g.state=L,ro(t,o,g,l);var ee=t.memoizedState;x!==z||L!==ee||xt.current||Un?(typeof Y=="function"&&(sl(t,i,Y,o),ee=t.memoizedState),(M=Un||rf(t,i,M,o,L,ee,k)||!1)?(O||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(o,ee,k),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(o,ee,k)),typeof g.componentDidUpdate=="function"&&(t.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof g.componentDidUpdate!="function"||x===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=ee),g.props=o,g.state=ee,g.context=k,o=M):(typeof g.componentDidUpdate!="function"||x===e.memoizedProps&&L===e.memoizedState||(t.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||x===e.memoizedProps&&L===e.memoizedState||(t.flags|=1024),o=!1)}return cl(e,t,i,o,d,l)}function cl(e,t,i,o,l,d){gf(e,t);var g=(t.flags&128)!==0;if(!o&&!g)return l&&Sd(t,i,!1),xn(e,t,d);o=t.stateNode,wy.current=t;var x=g&&typeof i.getDerivedStateFromError!="function"?null:o.render();return t.flags|=1,e!==null&&g?(t.child=Hr(t,e.child,null,d),t.child=Hr(t,null,x,d)):mt(e,t,x,d),t.memoizedState=o.state,l&&Sd(t,i,!0),t.child}function vf(e){var t=e.stateNode;t.pendingContext?xd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&xd(e,t.context,!1),Ga(e,t.containerInfo)}function xf(e,t,i,o,l){return Wr(),Fa(l),t.flags|=256,mt(e,t,i,o),t.child}var dl={dehydrated:null,treeContext:null,retryLane:0};function fl(e){return{baseLanes:e,cachePool:null,transitions:null}}function wf(e,t,i){var o=t.pendingProps,l=Le.current,d=!1,g=(t.flags&128)!==0,x;if((x=g)||(x=e!==null&&e.memoizedState===null?!1:(l&2)!==0),x?(d=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),Ae(Le,l&1),e===null)return za(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?((t.mode&1)===0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(g=o.children,e=o.fallback,d?(o=t.mode,d=t.child,g={mode:"hidden",children:g},(o&1)===0&&d!==null?(d.childLanes=0,d.pendingProps=g):d=Co(g,o,0,null),e=wr(e,o,i,null),d.return=t,e.return=t,d.sibling=e,t.child=d,t.child.memoizedState=fl(i),t.memoizedState=dl,e):pl(t,g));if(l=e.memoizedState,l!==null&&(x=l.dehydrated,x!==null))return Sy(e,t,g,o,x,l,i);if(d){d=o.fallback,g=t.mode,l=e.child,x=l.sibling;var k={mode:"hidden",children:o.children};return(g&1)===0&&t.child!==l?(o=t.child,o.childLanes=0,o.pendingProps=k,t.deletions=null):(o=Xn(l,k),o.subtreeFlags=l.subtreeFlags&14680064),x!==null?d=Xn(x,d):(d=wr(d,g,i,null),d.flags|=2),d.return=t,o.return=t,o.sibling=d,t.child=o,o=d,d=t.child,g=e.child.memoizedState,g=g===null?fl(i):{baseLanes:g.baseLanes|i,cachePool:null,transitions:g.transitions},d.memoizedState=g,d.childLanes=e.childLanes&~i,t.memoizedState=dl,o}return d=e.child,e=d.sibling,o=Xn(d,{mode:"visible",children:o.children}),(t.mode&1)===0&&(o.lanes=i),o.return=t,o.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=o,t.memoizedState=null,o}function pl(e,t){return t=Co({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function fo(e,t,i,o){return o!==null&&Fa(o),Hr(t,e.child,null,i),e=pl(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function Sy(e,t,i,o,l,d,g){if(i)return t.flags&256?(t.flags&=-257,o=al(Error(s(422))),fo(e,t,g,o)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(d=o.fallback,l=t.mode,o=Co({mode:"visible",children:o.children},l,0,null),d=wr(d,l,g,null),d.flags|=2,o.return=t,d.return=t,o.sibling=d,t.child=o,(t.mode&1)!==0&&Hr(t,e.child,null,g),t.child.memoizedState=fl(g),t.memoizedState=dl,d);if((t.mode&1)===0)return fo(e,t,g,null);if(l.data==="$!"){if(o=l.nextSibling&&l.nextSibling.dataset,o)var x=o.dgst;return o=x,d=Error(s(419)),o=al(d,o,void 0),fo(e,t,g,o)}if(x=(g&e.childLanes)!==0,St||x){if(o=nt,o!==null){switch(g&-g){case 4:l=2;break;case 16:l=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:l=32;break;case 536870912:l=268435456;break;default:l=0}l=(l&(o.suspendedLanes|g))!==0?0:l,l!==0&&l!==d.retryLane&&(d.retryLane=l,yn(e,l),Qt(o,e,l,-1))}return Ml(),o=al(Error(s(421))),fo(e,t,g,o)}return l.data==="$?"?(t.flags|=128,t.child=e.child,t=_y.bind(null,e),l._reactRetry=t,null):(e=d.treeContext,At=On(l.nextSibling),Mt=t,Ie=!0,Kt=null,e!==null&&(It[Vt++]=mn,It[Vt++]=gn,It[Vt++]=dr,mn=e.id,gn=e.overflow,dr=t),t=pl(t,o.children),t.flags|=4096,t)}function Sf(e,t,i){e.lanes|=t;var o=e.alternate;o!==null&&(o.lanes|=t),Wa(e.return,t,i)}function hl(e,t,i,o,l){var d=e.memoizedState;d===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:i,tailMode:l}:(d.isBackwards=t,d.rendering=null,d.renderingStartTime=0,d.last=o,d.tail=i,d.tailMode=l)}function kf(e,t,i){var o=t.pendingProps,l=o.revealOrder,d=o.tail;if(mt(e,t,o.children,i),o=Le.current,(o&2)!==0)o=o&1|2,t.flags|=128;else{if(e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Sf(e,i,t);else if(e.tag===19)Sf(e,i,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}o&=1}if(Ae(Le,o),(t.mode&1)===0)t.memoizedState=null;else switch(l){case"forwards":for(i=t.child,l=null;i!==null;)e=i.alternate,e!==null&&io(e)===null&&(l=i),i=i.sibling;i=l,i===null?(l=t.child,t.child=null):(l=i.sibling,i.sibling=null),hl(t,!1,l,i,d);break;case"backwards":for(i=null,l=t.child,t.child=null;l!==null;){if(e=l.alternate,e!==null&&io(e)===null){t.child=l;break}e=l.sibling,l.sibling=i,i=l,l=e}hl(t,!0,i,null,d);break;case"together":hl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function po(e,t){(t.mode&1)===0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function xn(e,t,i){if(e!==null&&(t.dependencies=e.dependencies),gr|=t.lanes,(i&t.childLanes)===0)return null;if(e!==null&&t.child!==e.child)throw Error(s(153));if(t.child!==null){for(e=t.child,i=Xn(e,e.pendingProps),t.child=i,i.return=t;e.sibling!==null;)e=e.sibling,i=i.sibling=Xn(e,e.pendingProps),i.return=t;i.sibling=null}return t.child}function ky(e,t,i){switch(t.tag){case 3:vf(t),Wr();break;case 5:Id(t);break;case 1:wt(t.type)&&Ys(t);break;case 4:Ga(t,t.stateNode.containerInfo);break;case 10:var o=t.type._context,l=t.memoizedProps.value;Ae(eo,o._currentValue),o._currentValue=l;break;case 13:if(o=t.memoizedState,o!==null)return o.dehydrated!==null?(Ae(Le,Le.current&1),t.flags|=128,null):(i&t.child.childLanes)!==0?wf(e,t,i):(Ae(Le,Le.current&1),e=xn(e,t,i),e!==null?e.sibling:null);Ae(Le,Le.current&1);break;case 19:if(o=(i&t.childLanes)!==0,(e.flags&128)!==0){if(o)return kf(e,t,i);t.flags|=128}if(l=t.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),Ae(Le,Le.current),o)break;return null;case 22:case 23:return t.lanes=0,mf(e,t,i)}return xn(e,t,i)}var bf,ml,Tf,Cf;bf=function(e,t){for(var i=t.child;i!==null;){if(i.tag===5||i.tag===6)e.appendChild(i.stateNode);else if(i.tag!==4&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break;for(;i.sibling===null;){if(i.return===null||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},ml=function(){},Tf=function(e,t,i,o){var l=e.memoizedProps;if(l!==o){e=t.stateNode,hr(rn.current);var d=null;switch(i){case"input":l=rr(e,l),o=rr(e,o),d=[];break;case"select":l=H({},l,{value:void 0}),o=H({},o,{value:void 0}),d=[];break;case"textarea":l=it(e,l),o=it(e,o),d=[];break;default:typeof l.onClick!="function"&&typeof o.onClick=="function"&&(e.onclick=Hs)}Rr(i,o);var g;i=null;for(M in l)if(!o.hasOwnProperty(M)&&l.hasOwnProperty(M)&&l[M]!=null)if(M==="style"){var x=l[M];for(g in x)x.hasOwnProperty(g)&&(i||(i={}),i[g]="")}else M!=="dangerouslySetInnerHTML"&&M!=="children"&&M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&M!=="autoFocus"&&(u.hasOwnProperty(M)?d||(d=[]):(d=d||[]).push(M,null));for(M in o){var k=o[M];if(x=l!=null?l[M]:void 0,o.hasOwnProperty(M)&&k!==x&&(k!=null||x!=null))if(M==="style")if(x){for(g in x)!x.hasOwnProperty(g)||k&&k.hasOwnProperty(g)||(i||(i={}),i[g]="");for(g in k)k.hasOwnProperty(g)&&x[g]!==k[g]&&(i||(i={}),i[g]=k[g])}else i||(d||(d=[]),d.push(M,i)),i=k;else M==="dangerouslySetInnerHTML"?(k=k?k.__html:void 0,x=x?x.__html:void 0,k!=null&&x!==k&&(d=d||[]).push(M,k)):M==="children"?typeof k!="string"&&typeof k!="number"||(d=d||[]).push(M,""+k):M!=="suppressContentEditableWarning"&&M!=="suppressHydrationWarning"&&(u.hasOwnProperty(M)?(k!=null&&M==="onScroll"&&Re("scroll",e),d||x===k||(d=[])):(d=d||[]).push(M,k))}i&&(d=d||[]).push("style",i);var M=d;(t.updateQueue=M)&&(t.flags|=4)}},Cf=function(e,t,i,o){i!==o&&(t.flags|=4)};function Xi(e,t){if(!Ie)switch(e.tailMode){case"hidden":t=e.tail;for(var i=null;t!==null;)t.alternate!==null&&(i=t),t=t.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var o=null;i!==null;)i.alternate!==null&&(o=i),i=i.sibling;o===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:o.sibling=null}}function ft(e){var t=e.alternate!==null&&e.alternate.child===e.child,i=0,o=0;if(t)for(var l=e.child;l!==null;)i|=l.lanes|l.childLanes,o|=l.subtreeFlags&14680064,o|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)i|=l.lanes|l.childLanes,o|=l.subtreeFlags,o|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=o,e.childLanes=i,t}function by(e,t,i){var o=t.pendingProps;switch(La(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ft(t),null;case 1:return wt(t.type)&&Gs(),ft(t),null;case 3:return o=t.stateNode,Yr(),je(xt),je(ct),Qa(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),(e===null||e.child===null)&&(Zs(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Kt!==null&&(El(Kt),Kt=null))),ml(e,t),ft(t),null;case 5:Ya(t);var l=hr(Wi.current);if(i=t.type,e!==null&&t.stateNode!=null)Tf(e,t,i,o,l),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(t.stateNode===null)throw Error(s(166));return ft(t),null}if(e=hr(rn.current),Zs(t)){o=t.stateNode,i=t.type;var d=t.memoizedProps;switch(o[nn]=t,o[zi]=d,e=(t.mode&1)!==0,i){case"dialog":Re("cancel",o),Re("close",o);break;case"iframe":case"object":case"embed":Re("load",o);break;case"video":case"audio":for(l=0;l<Vi.length;l++)Re(Vi[l],o);break;case"source":Re("error",o);break;case"img":case"image":case"link":Re("error",o),Re("load",o);break;case"details":Re("toggle",o);break;case"input":ws(o,d),Re("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!d.multiple},Re("invalid",o);break;case"textarea":dn(o,d),Re("invalid",o)}Rr(i,d),l=null;for(var g in d)if(d.hasOwnProperty(g)){var x=d[g];g==="children"?typeof x=="string"?o.textContent!==x&&(d.suppressHydrationWarning!==!0&&Ws(o.textContent,x,e),l=["children",x]):typeof x=="number"&&o.textContent!==""+x&&(d.suppressHydrationWarning!==!0&&Ws(o.textContent,x,e),l=["children",""+x]):u.hasOwnProperty(g)&&x!=null&&g==="onScroll"&&Re("scroll",o)}switch(i){case"input":Jt(o),gi(o,d,!0);break;case"textarea":Jt(o),ks(o);break;case"select":case"option":break;default:typeof d.onClick=="function"&&(o.onclick=Hs)}o=l,t.updateQueue=o,o!==null&&(t.flags|=4)}else{g=l.nodeType===9?l:l.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=sr(i)),e==="http://www.w3.org/1999/xhtml"?i==="script"?(e=g.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof o.is=="string"?e=g.createElement(i,{is:o.is}):(e=g.createElement(i),i==="select"&&(g=e,o.multiple?g.multiple=!0:o.size&&(g.size=o.size))):e=g.createElementNS(e,i),e[nn]=t,e[zi]=o,bf(e,t,!1,!1),t.stateNode=e;e:{switch(g=vi(i,o),i){case"dialog":Re("cancel",e),Re("close",e),l=o;break;case"iframe":case"object":case"embed":Re("load",e),l=o;break;case"video":case"audio":for(l=0;l<Vi.length;l++)Re(Vi[l],e);l=o;break;case"source":Re("error",e),l=o;break;case"img":case"image":case"link":Re("error",e),Re("load",e),l=o;break;case"details":Re("toggle",e),l=o;break;case"input":ws(e,o),l=rr(e,o),Re("invalid",e);break;case"option":l=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},l=H({},o,{value:void 0}),Re("invalid",e);break;case"textarea":dn(e,o),l=it(e,o),Re("invalid",e);break;default:l=o}Rr(i,l),x=l;for(d in x)if(x.hasOwnProperty(d)){var k=x[d];d==="style"?Ts(e,k):d==="dangerouslySetInnerHTML"?(k=k?k.__html:void 0,k!=null&&Ar(e,k)):d==="children"?typeof k=="string"?(i!=="textarea"||k!=="")&&jt(e,k):typeof k=="number"&&jt(e,""+k):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(u.hasOwnProperty(d)?k!=null&&d==="onScroll"&&Re("scroll",e):k!=null&&B(e,d,k,g))}switch(i){case"input":Jt(e),gi(e,o,!1);break;case"textarea":Jt(e),ks(e);break;case"option":o.value!=null&&e.setAttribute("value",""+ye(o.value));break;case"select":e.multiple=!!o.multiple,d=o.value,d!=null?Cn(e,!!o.multiple,d,!1):o.defaultValue!=null&&Cn(e,!!o.multiple,o.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Hs)}switch(i){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ft(t),null;case 6:if(e&&t.stateNode!=null)Cf(e,t,e.memoizedProps,o);else{if(typeof o!="string"&&t.stateNode===null)throw Error(s(166));if(i=hr(Wi.current),hr(rn.current),Zs(t)){if(o=t.stateNode,i=t.memoizedProps,o[nn]=t,(d=o.nodeValue!==i)&&(e=Mt,e!==null))switch(e.tag){case 3:Ws(o.nodeValue,i,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Ws(o.nodeValue,i,(e.mode&1)!==0)}d&&(t.flags|=4)}else o=(i.nodeType===9?i:i.ownerDocument).createTextNode(o),o[nn]=t,t.stateNode=o}return ft(t),null;case 13:if(je(Le),o=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Ie&&At!==null&&(t.mode&1)!==0&&(t.flags&128)===0)Pd(),Wr(),t.flags|=98560,d=!1;else if(d=Zs(t),o!==null&&o.dehydrated!==null){if(e===null){if(!d)throw Error(s(318));if(d=t.memoizedState,d=d!==null?d.dehydrated:null,!d)throw Error(s(317));d[nn]=t}else Wr(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;ft(t),d=!1}else Kt!==null&&(El(Kt),Kt=null),d=!0;if(!d)return t.flags&65536?t:null}return(t.flags&128)!==0?(t.lanes=i,t):(o=o!==null,o!==(e!==null&&e.memoizedState!==null)&&o&&(t.child.flags|=8192,(t.mode&1)!==0&&(e===null||(Le.current&1)!==0?qe===0&&(qe=3):Ml())),t.updateQueue!==null&&(t.flags|=4),ft(t),null);case 4:return Yr(),ml(e,t),e===null&&Li(t.stateNode.containerInfo),ft(t),null;case 10:return $a(t.type._context),ft(t),null;case 17:return wt(t.type)&&Gs(),ft(t),null;case 19:if(je(Le),d=t.memoizedState,d===null)return ft(t),null;if(o=(t.flags&128)!==0,g=d.rendering,g===null)if(o)Xi(d,!1);else{if(qe!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(g=io(e),g!==null){for(t.flags|=128,Xi(d,!1),o=g.updateQueue,o!==null&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=i,i=t.child;i!==null;)d=i,e=o,d.flags&=14680066,g=d.alternate,g===null?(d.childLanes=0,d.lanes=e,d.child=null,d.subtreeFlags=0,d.memoizedProps=null,d.memoizedState=null,d.updateQueue=null,d.dependencies=null,d.stateNode=null):(d.childLanes=g.childLanes,d.lanes=g.lanes,d.child=g.child,d.subtreeFlags=0,d.deletions=null,d.memoizedProps=g.memoizedProps,d.memoizedState=g.memoizedState,d.updateQueue=g.updateQueue,d.type=g.type,e=g.dependencies,d.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),i=i.sibling;return Ae(Le,Le.current&1|2),t.child}e=e.sibling}d.tail!==null&&We()>Zr&&(t.flags|=128,o=!0,Xi(d,!1),t.lanes=4194304)}else{if(!o)if(e=io(g),e!==null){if(t.flags|=128,o=!0,i=e.updateQueue,i!==null&&(t.updateQueue=i,t.flags|=4),Xi(d,!0),d.tail===null&&d.tailMode==="hidden"&&!g.alternate&&!Ie)return ft(t),null}else 2*We()-d.renderingStartTime>Zr&&i!==1073741824&&(t.flags|=128,o=!0,Xi(d,!1),t.lanes=4194304);d.isBackwards?(g.sibling=t.child,t.child=g):(i=d.last,i!==null?i.sibling=g:t.child=g,d.last=g)}return d.tail!==null?(t=d.tail,d.rendering=t,d.tail=t.sibling,d.renderingStartTime=We(),t.sibling=null,i=Le.current,Ae(Le,o?i&1|2:i&1),t):(ft(t),null);case 22:case 23:return Nl(),o=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==o&&(t.flags|=8192),o&&(t.mode&1)!==0?(Rt&1073741824)!==0&&(ft(t),t.subtreeFlags&6&&(t.flags|=8192)):ft(t),null;case 24:return null;case 25:return null}throw Error(s(156,t.tag))}function Ty(e,t){switch(La(t),t.tag){case 1:return wt(t.type)&&Gs(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Yr(),je(xt),je(ct),Qa(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Ya(t),null;case 13:if(je(Le),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(s(340));Wr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return je(Le),null;case 4:return Yr(),null;case 10:return $a(t.type._context),null;case 22:case 23:return Nl(),null;case 24:return null;default:return null}}var ho=!1,pt=!1,Cy=typeof WeakSet=="function"?WeakSet:Set,q=null;function Qr(e,t){var i=e.ref;if(i!==null)if(typeof i=="function")try{i(null)}catch(o){Be(e,t,o)}else i.current=null}function gl(e,t,i){try{i()}catch(o){Be(e,t,o)}}var Ef=!1;function Ey(e,t){if(Na=Ds,e=rd(),wa(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var o=i.getSelection&&i.getSelection();if(o&&o.rangeCount!==0){i=o.anchorNode;var l=o.anchorOffset,d=o.focusNode;o=o.focusOffset;try{i.nodeType,d.nodeType}catch{i=null;break e}var g=0,x=-1,k=-1,M=0,O=0,z=e,L=null;t:for(;;){for(var Y;z!==i||l!==0&&z.nodeType!==3||(x=g+l),z!==d||o!==0&&z.nodeType!==3||(k=g+o),z.nodeType===3&&(g+=z.nodeValue.length),(Y=z.firstChild)!==null;)L=z,z=Y;for(;;){if(z===e)break t;if(L===i&&++M===l&&(x=g),L===d&&++O===o&&(k=g),(Y=z.nextSibling)!==null)break;z=L,L=z.parentNode}z=Y}i=x===-1||k===-1?null:{start:x,end:k}}else i=null}i=i||{start:0,end:0}}else i=null;for(Ma={focusedElem:e,selectionRange:i},Ds=!1,q=t;q!==null;)if(t=q,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,q=e;else for(;q!==null;){t=q;try{var ee=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(ee!==null){var re=ee.memoizedProps,He=ee.memoizedState,E=t.stateNode,T=E.getSnapshotBeforeUpdate(t.elementType===t.type?re:Gt(t.type,re),He);E.__reactInternalSnapshotBeforeUpdate=T}break;case 3:var N=t.stateNode.containerInfo;N.nodeType===1?N.textContent="":N.nodeType===9&&N.documentElement&&N.removeChild(N.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(s(163))}}catch(U){Be(t,t.return,U)}if(e=t.sibling,e!==null){e.return=t.return,q=e;break}q=t.return}return ee=Ef,Ef=!1,ee}function Qi(e,t,i){var o=t.updateQueue;if(o=o!==null?o.lastEffect:null,o!==null){var l=o=o.next;do{if((l.tag&e)===e){var d=l.destroy;l.destroy=void 0,d!==void 0&&gl(t,i,d)}l=l.next}while(l!==o)}}function mo(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var i=t=t.next;do{if((i.tag&e)===e){var o=i.create;i.destroy=o()}i=i.next}while(i!==t)}}function yl(e){var t=e.ref;if(t!==null){var i=e.stateNode;switch(e.tag){case 5:e=i;break;default:e=i}typeof t=="function"?t(e):t.current=e}}function Pf(e){var t=e.alternate;t!==null&&(e.alternate=null,Pf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[nn],delete t[zi],delete t[Da],delete t[ly],delete t[uy])),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 Nf(e){return e.tag===5||e.tag===3||e.tag===4}function Mf(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Nf(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 vl(e,t,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?i.nodeType===8?i.parentNode.insertBefore(e,t):i.insertBefore(e,t):(i.nodeType===8?(t=i.parentNode,t.insertBefore(e,i)):(t=i,t.appendChild(e)),i=i._reactRootContainer,i!=null||t.onclick!==null||(t.onclick=Hs));else if(o!==4&&(e=e.child,e!==null))for(vl(e,t,i),e=e.sibling;e!==null;)vl(e,t,i),e=e.sibling}function xl(e,t,i){var o=e.tag;if(o===5||o===6)e=e.stateNode,t?i.insertBefore(e,t):i.appendChild(e);else if(o!==4&&(e=e.child,e!==null))for(xl(e,t,i),e=e.sibling;e!==null;)xl(e,t,i),e=e.sibling}var ot=null,Yt=!1;function Wn(e,t,i){for(i=i.child;i!==null;)Af(e,t,i),i=i.sibling}function Af(e,t,i){if(tn&&typeof tn.onCommitFiberUnmount=="function")try{tn.onCommitFiberUnmount(Ps,i)}catch{}switch(i.tag){case 5:pt||Qr(i,t);case 6:var o=ot,l=Yt;ot=null,Wn(e,t,i),ot=o,Yt=l,ot!==null&&(Yt?(e=ot,i=i.stateNode,e.nodeType===8?e.parentNode.removeChild(i):e.removeChild(i)):ot.removeChild(i.stateNode));break;case 18:ot!==null&&(Yt?(e=ot,i=i.stateNode,e.nodeType===8?ja(e.parentNode,i):e.nodeType===1&&ja(e,i),Ni(e)):ja(ot,i.stateNode));break;case 4:o=ot,l=Yt,ot=i.stateNode.containerInfo,Yt=!0,Wn(e,t,i),ot=o,Yt=l;break;case 0:case 11:case 14:case 15:if(!pt&&(o=i.updateQueue,o!==null&&(o=o.lastEffect,o!==null))){l=o=o.next;do{var d=l,g=d.destroy;d=d.tag,g!==void 0&&((d&2)!==0||(d&4)!==0)&&gl(i,t,g),l=l.next}while(l!==o)}Wn(e,t,i);break;case 1:if(!pt&&(Qr(i,t),o=i.stateNode,typeof o.componentWillUnmount=="function"))try{o.props=i.memoizedProps,o.state=i.memoizedState,o.componentWillUnmount()}catch(x){Be(i,t,x)}Wn(e,t,i);break;case 21:Wn(e,t,i);break;case 22:i.mode&1?(pt=(o=pt)||i.memoizedState!==null,Wn(e,t,i),pt=o):Wn(e,t,i);break;default:Wn(e,t,i)}}function Rf(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var i=e.stateNode;i===null&&(i=e.stateNode=new Cy),t.forEach(function(o){var l=Iy.bind(null,e,o);i.has(o)||(i.add(o),o.then(l,l))})}}function Xt(e,t){var i=t.deletions;if(i!==null)for(var o=0;o<i.length;o++){var l=i[o];try{var d=e,g=t,x=g;e:for(;x!==null;){switch(x.tag){case 5:ot=x.stateNode,Yt=!1;break e;case 3:ot=x.stateNode.containerInfo,Yt=!0;break e;case 4:ot=x.stateNode.containerInfo,Yt=!0;break e}x=x.return}if(ot===null)throw Error(s(160));Af(d,g,l),ot=null,Yt=!1;var k=l.alternate;k!==null&&(k.return=null),l.return=null}catch(M){Be(l,t,M)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)jf(t,e),t=t.sibling}function jf(e,t){var i=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Xt(t,e),on(e),o&4){try{Qi(3,e,e.return),mo(3,e)}catch(re){Be(e,e.return,re)}try{Qi(5,e,e.return)}catch(re){Be(e,e.return,re)}}break;case 1:Xt(t,e),on(e),o&512&&i!==null&&Qr(i,i.return);break;case 5:if(Xt(t,e),on(e),o&512&&i!==null&&Qr(i,i.return),e.flags&32){var l=e.stateNode;try{jt(l,"")}catch(re){Be(e,e.return,re)}}if(o&4&&(l=e.stateNode,l!=null)){var d=e.memoizedProps,g=i!==null?i.memoizedProps:d,x=e.type,k=e.updateQueue;if(e.updateQueue=null,k!==null)try{x==="input"&&d.type==="radio"&&d.name!=null&&mi(l,d),vi(x,g);var M=vi(x,d);for(g=0;g<k.length;g+=2){var O=k[g],z=k[g+1];O==="style"?Ts(l,z):O==="dangerouslySetInnerHTML"?Ar(l,z):O==="children"?jt(l,z):B(l,O,z,M)}switch(x){case"input":cn(l,d);break;case"textarea":Ss(l,d);break;case"select":var L=l._wrapperState.wasMultiple;l._wrapperState.wasMultiple=!!d.multiple;var Y=d.value;Y!=null?Cn(l,!!d.multiple,Y,!1):L!==!!d.multiple&&(d.defaultValue!=null?Cn(l,!!d.multiple,d.defaultValue,!0):Cn(l,!!d.multiple,d.multiple?[]:"",!1))}l[zi]=d}catch(re){Be(e,e.return,re)}}break;case 6:if(Xt(t,e),on(e),o&4){if(e.stateNode===null)throw Error(s(162));l=e.stateNode,d=e.memoizedProps;try{l.nodeValue=d}catch(re){Be(e,e.return,re)}}break;case 3:if(Xt(t,e),on(e),o&4&&i!==null&&i.memoizedState.isDehydrated)try{Ni(t.containerInfo)}catch(re){Be(e,e.return,re)}break;case 4:Xt(t,e),on(e);break;case 13:Xt(t,e),on(e),l=e.child,l.flags&8192&&(d=l.memoizedState!==null,l.stateNode.isHidden=d,!d||l.alternate!==null&&l.alternate.memoizedState!==null||(kl=We())),o&4&&Rf(e);break;case 22:if(O=i!==null&&i.memoizedState!==null,e.mode&1?(pt=(M=pt)||O,Xt(t,e),pt=M):Xt(t,e),on(e),o&8192){if(M=e.memoizedState!==null,(e.stateNode.isHidden=M)&&!O&&(e.mode&1)!==0)for(q=e,O=e.child;O!==null;){for(z=q=O;q!==null;){switch(L=q,Y=L.child,L.tag){case 0:case 11:case 14:case 15:Qi(4,L,L.return);break;case 1:Qr(L,L.return);var ee=L.stateNode;if(typeof ee.componentWillUnmount=="function"){o=L,i=L.return;try{t=o,ee.props=t.memoizedProps,ee.state=t.memoizedState,ee.componentWillUnmount()}catch(re){Be(o,i,re)}}break;case 5:Qr(L,L.return);break;case 22:if(L.memoizedState!==null){If(z);continue}}Y!==null?(Y.return=L,q=Y):If(z)}O=O.sibling}e:for(O=null,z=e;;){if(z.tag===5){if(O===null){O=z;try{l=z.stateNode,M?(d=l.style,typeof d.setProperty=="function"?d.setProperty("display","none","important"):d.display="none"):(x=z.stateNode,k=z.memoizedProps.style,g=k!=null&&k.hasOwnProperty("display")?k.display:null,x.style.display=bs("display",g))}catch(re){Be(e,e.return,re)}}}else if(z.tag===6){if(O===null)try{z.stateNode.nodeValue=M?"":z.memoizedProps}catch(re){Be(e,e.return,re)}}else if((z.tag!==22&&z.tag!==23||z.memoizedState===null||z===e)&&z.child!==null){z.child.return=z,z=z.child;continue}if(z===e)break e;for(;z.sibling===null;){if(z.return===null||z.return===e)break e;O===z&&(O=null),z=z.return}O===z&&(O=null),z.sibling.return=z.return,z=z.sibling}}break;case 19:Xt(t,e),on(e),o&4&&Rf(e);break;case 21:break;default:Xt(t,e),on(e)}}function on(e){var t=e.flags;if(t&2){try{e:{for(var i=e.return;i!==null;){if(Nf(i)){var o=i;break e}i=i.return}throw Error(s(160))}switch(o.tag){case 5:var l=o.stateNode;o.flags&32&&(jt(l,""),o.flags&=-33);var d=Mf(e);xl(e,d,l);break;case 3:case 4:var g=o.stateNode.containerInfo,x=Mf(e);vl(e,x,g);break;default:throw Error(s(161))}}catch(k){Be(e,e.return,k)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Py(e,t,i){q=e,Df(e)}function Df(e,t,i){for(var o=(e.mode&1)!==0;q!==null;){var l=q,d=l.child;if(l.tag===22&&o){var g=l.memoizedState!==null||ho;if(!g){var x=l.alternate,k=x!==null&&x.memoizedState!==null||pt;x=ho;var M=pt;if(ho=g,(pt=k)&&!M)for(q=l;q!==null;)g=q,k=g.child,g.tag===22&&g.memoizedState!==null?Vf(l):k!==null?(k.return=g,q=k):Vf(l);for(;d!==null;)q=d,Df(d),d=d.sibling;q=l,ho=x,pt=M}_f(e)}else(l.subtreeFlags&8772)!==0&&d!==null?(d.return=l,q=d):_f(e)}}function _f(e){for(;q!==null;){var t=q;if((t.flags&8772)!==0){var i=t.alternate;try{if((t.flags&8772)!==0)switch(t.tag){case 0:case 11:case 15:pt||mo(5,t);break;case 1:var o=t.stateNode;if(t.flags&4&&!pt)if(i===null)o.componentDidMount();else{var l=t.elementType===t.type?i.memoizedProps:Gt(t.type,i.memoizedProps);o.componentDidUpdate(l,i.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var d=t.updateQueue;d!==null&&_d(t,d,o);break;case 3:var g=t.updateQueue;if(g!==null){if(i=null,t.child!==null)switch(t.child.tag){case 5:i=t.child.stateNode;break;case 1:i=t.child.stateNode}_d(t,g,i)}break;case 5:var x=t.stateNode;if(i===null&&t.flags&4){i=x;var k=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":k.autoFocus&&i.focus();break;case"img":k.src&&(i.src=k.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var M=t.alternate;if(M!==null){var O=M.memoizedState;if(O!==null){var z=O.dehydrated;z!==null&&Ni(z)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(s(163))}pt||t.flags&512&&yl(t)}catch(L){Be(t,t.return,L)}}if(t===e){q=null;break}if(i=t.sibling,i!==null){i.return=t.return,q=i;break}q=t.return}}function If(e){for(;q!==null;){var t=q;if(t===e){q=null;break}var i=t.sibling;if(i!==null){i.return=t.return,q=i;break}q=t.return}}function Vf(e){for(;q!==null;){var t=q;try{switch(t.tag){case 0:case 11:case 15:var i=t.return;try{mo(4,t)}catch(k){Be(t,i,k)}break;case 1:var o=t.stateNode;if(typeof o.componentDidMount=="function"){var l=t.return;try{o.componentDidMount()}catch(k){Be(t,l,k)}}var d=t.return;try{yl(t)}catch(k){Be(t,d,k)}break;case 5:var g=t.return;try{yl(t)}catch(k){Be(t,g,k)}}}catch(k){Be(t,t.return,k)}if(t===e){q=null;break}var x=t.sibling;if(x!==null){x.return=t.return,q=x;break}q=t.return}}var Ny=Math.ceil,go=X.ReactCurrentDispatcher,wl=X.ReactCurrentOwner,zt=X.ReactCurrentBatchConfig,be=0,nt=null,Ge=null,at=0,Rt=0,qr=zn(0),qe=0,qi=null,gr=0,yo=0,Sl=0,Zi=null,kt=null,kl=0,Zr=1/0,wn=null,vo=!1,bl=null,Hn=null,xo=!1,Kn=null,wo=0,Ji=0,Tl=null,So=-1,ko=0;function gt(){return(be&6)!==0?We():So!==-1?So:So=We()}function Gn(e){return(e.mode&1)===0?1:(be&2)!==0&&at!==0?at&-at:dy.transition!==null?(ko===0&&(ko=Nc()),ko):(e=Pe,e!==0||(e=window.event,e=e===void 0?16:Lc(e.type)),e)}function Qt(e,t,i,o){if(50<Ji)throw Ji=0,Tl=null,Error(s(185));bi(e,i,o),((be&2)===0||e!==nt)&&(e===nt&&((be&2)===0&&(yo|=i),qe===4&&Yn(e,at)),bt(e,o),i===1&&be===0&&(t.mode&1)===0&&(Zr=We()+500,Xs&&Bn()))}function bt(e,t){var i=e.callbackNode;d0(e,t);var o=As(e,e===nt?at:0);if(o===0)i!==null&&Cc(i),e.callbackNode=null,e.callbackPriority=0;else if(t=o&-o,e.callbackPriority!==t){if(i!=null&&Cc(i),t===1)e.tag===0?cy(Of.bind(null,e)):kd(Of.bind(null,e)),oy(function(){(be&6)===0&&Bn()}),i=null;else{switch(Mc(o)){case 1:i=ra;break;case 4:i=Ec;break;case 16:i=Es;break;case 536870912:i=Pc;break;default:i=Es}i=Kf(i,Lf.bind(null,e))}e.callbackPriority=t,e.callbackNode=i}}function Lf(e,t){if(So=-1,ko=0,(be&6)!==0)throw Error(s(327));var i=e.callbackNode;if(Jr()&&e.callbackNode!==i)return null;var o=As(e,e===nt?at:0);if(o===0)return null;if((o&30)!==0||(o&e.expiredLanes)!==0||t)t=bo(e,o);else{t=o;var l=be;be|=2;var d=Ff();(nt!==e||at!==t)&&(wn=null,Zr=We()+500,vr(e,t));do try{Ry();break}catch(x){zf(e,x)}while(!0);Ua(),go.current=d,be=l,Ge!==null?t=0:(nt=null,at=0,t=qe)}if(t!==0){if(t===2&&(l=ia(e),l!==0&&(o=l,t=Cl(e,l))),t===1)throw i=qi,vr(e,0),Yn(e,o),bt(e,We()),i;if(t===6)Yn(e,o);else{if(l=e.current.alternate,(o&30)===0&&!My(l)&&(t=bo(e,o),t===2&&(d=ia(e),d!==0&&(o=d,t=Cl(e,d))),t===1))throw i=qi,vr(e,0),Yn(e,o),bt(e,We()),i;switch(e.finishedWork=l,e.finishedLanes=o,t){case 0:case 1:throw Error(s(345));case 2:xr(e,kt,wn);break;case 3:if(Yn(e,o),(o&130023424)===o&&(t=kl+500-We(),10<t)){if(As(e,0)!==0)break;if(l=e.suspendedLanes,(l&o)!==o){gt(),e.pingedLanes|=e.suspendedLanes&l;break}e.timeoutHandle=Ra(xr.bind(null,e,kt,wn),t);break}xr(e,kt,wn);break;case 4:if(Yn(e,o),(o&4194240)===o)break;for(t=e.eventTimes,l=-1;0<o;){var g=31-Wt(o);d=1<<g,g=t[g],g>l&&(l=g),o&=~d}if(o=l,o=We()-o,o=(120>o?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Ny(o/1960))-o,10<o){e.timeoutHandle=Ra(xr.bind(null,e,kt,wn),o);break}xr(e,kt,wn);break;case 5:xr(e,kt,wn);break;default:throw Error(s(329))}}}return bt(e,We()),e.callbackNode===i?Lf.bind(null,e):null}function Cl(e,t){var i=Zi;return e.current.memoizedState.isDehydrated&&(vr(e,t).flags|=256),e=bo(e,t),e!==2&&(t=kt,kt=i,t!==null&&El(t)),e}function El(e){kt===null?kt=e:kt.push.apply(kt,e)}function My(e){for(var t=e;;){if(t.flags&16384){var i=t.updateQueue;if(i!==null&&(i=i.stores,i!==null))for(var o=0;o<i.length;o++){var l=i[o],d=l.getSnapshot;l=l.value;try{if(!Ht(d(),l))return!1}catch{return!1}}}if(i=t.child,t.subtreeFlags&16384&&i!==null)i.return=t,t=i;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 Yn(e,t){for(t&=~Sl,t&=~yo,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var i=31-Wt(t),o=1<<i;e[i]=-1,t&=~o}}function Of(e){if((be&6)!==0)throw Error(s(327));Jr();var t=As(e,0);if((t&1)===0)return bt(e,We()),null;var i=bo(e,t);if(e.tag!==0&&i===2){var o=ia(e);o!==0&&(t=o,i=Cl(e,o))}if(i===1)throw i=qi,vr(e,0),Yn(e,t),bt(e,We()),i;if(i===6)throw Error(s(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xr(e,kt,wn),bt(e,We()),null}function Pl(e,t){var i=be;be|=1;try{return e(t)}finally{be=i,be===0&&(Zr=We()+500,Xs&&Bn())}}function yr(e){Kn!==null&&Kn.tag===0&&(be&6)===0&&Jr();var t=be;be|=1;var i=zt.transition,o=Pe;try{if(zt.transition=null,Pe=1,e)return e()}finally{Pe=o,zt.transition=i,be=t,(be&6)===0&&Bn()}}function Nl(){Rt=qr.current,je(qr)}function vr(e,t){e.finishedWork=null,e.finishedLanes=0;var i=e.timeoutHandle;if(i!==-1&&(e.timeoutHandle=-1,sy(i)),Ge!==null)for(i=Ge.return;i!==null;){var o=i;switch(La(o),o.tag){case 1:o=o.type.childContextTypes,o!=null&&Gs();break;case 3:Yr(),je(xt),je(ct),Qa();break;case 5:Ya(o);break;case 4:Yr();break;case 13:je(Le);break;case 19:je(Le);break;case 10:$a(o.type._context);break;case 22:case 23:Nl()}i=i.return}if(nt=e,Ge=e=Xn(e.current,null),at=Rt=t,qe=0,qi=null,Sl=yo=gr=0,kt=Zi=null,pr!==null){for(t=0;t<pr.length;t++)if(i=pr[t],o=i.interleaved,o!==null){i.interleaved=null;var l=o.next,d=i.pending;if(d!==null){var g=d.next;d.next=l,o.next=g}i.pending=o}pr=null}return e}function zf(e,t){do{var i=Ge;try{if(Ua(),so.current=uo,oo){for(var o=Oe.memoizedState;o!==null;){var l=o.queue;l!==null&&(l.pending=null),o=o.next}oo=!1}if(mr=0,tt=Qe=Oe=null,Hi=!1,Ki=0,wl.current=null,i===null||i.return===null){qe=1,qi=t,Ge=null;break}e:{var d=e,g=i.return,x=i,k=t;if(t=at,x.flags|=32768,k!==null&&typeof k=="object"&&typeof k.then=="function"){var M=k,O=x,z=O.tag;if((O.mode&1)===0&&(z===0||z===11||z===15)){var L=O.alternate;L?(O.updateQueue=L.updateQueue,O.memoizedState=L.memoizedState,O.lanes=L.lanes):(O.updateQueue=null,O.memoizedState=null)}var Y=cf(g);if(Y!==null){Y.flags&=-257,df(Y,g,x,d,t),Y.mode&1&&uf(d,M,t),t=Y,k=M;var ee=t.updateQueue;if(ee===null){var re=new Set;re.add(k),t.updateQueue=re}else ee.add(k);break e}else{if((t&1)===0){uf(d,M,t),Ml();break e}k=Error(s(426))}}else if(Ie&&x.mode&1){var He=cf(g);if(He!==null){(He.flags&65536)===0&&(He.flags|=256),df(He,g,x,d,t),Fa(Xr(k,x));break e}}d=k=Xr(k,x),qe!==4&&(qe=2),Zi===null?Zi=[d]:Zi.push(d),d=g;do{switch(d.tag){case 3:d.flags|=65536,t&=-t,d.lanes|=t;var E=af(d,k,t);Dd(d,E);break e;case 1:x=k;var T=d.type,N=d.stateNode;if((d.flags&128)===0&&(typeof T.getDerivedStateFromError=="function"||N!==null&&typeof N.componentDidCatch=="function"&&(Hn===null||!Hn.has(N)))){d.flags|=65536,t&=-t,d.lanes|=t;var U=lf(d,x,t);Dd(d,U);break e}}d=d.return}while(d!==null)}Uf(i)}catch(se){t=se,Ge===i&&i!==null&&(Ge=i=i.return);continue}break}while(!0)}function Ff(){var e=go.current;return go.current=uo,e===null?uo:e}function Ml(){(qe===0||qe===3||qe===2)&&(qe=4),nt===null||(gr&268435455)===0&&(yo&268435455)===0||Yn(nt,at)}function bo(e,t){var i=be;be|=2;var o=Ff();(nt!==e||at!==t)&&(wn=null,vr(e,t));do try{Ay();break}catch(l){zf(e,l)}while(!0);if(Ua(),be=i,go.current=o,Ge!==null)throw Error(s(261));return nt=null,at=0,qe}function Ay(){for(;Ge!==null;)Bf(Ge)}function Ry(){for(;Ge!==null&&!n0();)Bf(Ge)}function Bf(e){var t=Hf(e.alternate,e,Rt);e.memoizedProps=e.pendingProps,t===null?Uf(e):Ge=t,wl.current=null}function Uf(e){var t=e;do{var i=t.alternate;if(e=t.return,(t.flags&32768)===0){if(i=by(i,t,Rt),i!==null){Ge=i;return}}else{if(i=Ty(i,t),i!==null){i.flags&=32767,Ge=i;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{qe=6,Ge=null;return}}if(t=t.sibling,t!==null){Ge=t;return}Ge=t=e}while(t!==null);qe===0&&(qe=5)}function xr(e,t,i){var o=Pe,l=zt.transition;try{zt.transition=null,Pe=1,jy(e,t,i,o)}finally{zt.transition=l,Pe=o}return null}function jy(e,t,i,o){do Jr();while(Kn!==null);if((be&6)!==0)throw Error(s(327));i=e.finishedWork;var l=e.finishedLanes;if(i===null)return null;if(e.finishedWork=null,e.finishedLanes=0,i===e.current)throw Error(s(177));e.callbackNode=null,e.callbackPriority=0;var d=i.lanes|i.childLanes;if(f0(e,d),e===nt&&(Ge=nt=null,at=0),(i.subtreeFlags&2064)===0&&(i.flags&2064)===0||xo||(xo=!0,Kf(Es,function(){return Jr(),null})),d=(i.flags&15990)!==0,(i.subtreeFlags&15990)!==0||d){d=zt.transition,zt.transition=null;var g=Pe;Pe=1;var x=be;be|=4,wl.current=null,Ey(e,i),jf(i,e),Z0(Ma),Ds=!!Na,Ma=Na=null,e.current=i,Py(i),r0(),be=x,Pe=g,zt.transition=d}else e.current=i;if(xo&&(xo=!1,Kn=e,wo=l),d=e.pendingLanes,d===0&&(Hn=null),o0(i.stateNode),bt(e,We()),t!==null)for(o=e.onRecoverableError,i=0;i<t.length;i++)l=t[i],o(l.value,{componentStack:l.stack,digest:l.digest});if(vo)throw vo=!1,e=bl,bl=null,e;return(wo&1)!==0&&e.tag!==0&&Jr(),d=e.pendingLanes,(d&1)!==0?e===Tl?Ji++:(Ji=0,Tl=e):Ji=0,Bn(),null}function Jr(){if(Kn!==null){var e=Mc(wo),t=zt.transition,i=Pe;try{if(zt.transition=null,Pe=16>e?16:e,Kn===null)var o=!1;else{if(e=Kn,Kn=null,wo=0,(be&6)!==0)throw Error(s(331));var l=be;for(be|=4,q=e.current;q!==null;){var d=q,g=d.child;if((q.flags&16)!==0){var x=d.deletions;if(x!==null){for(var k=0;k<x.length;k++){var M=x[k];for(q=M;q!==null;){var O=q;switch(O.tag){case 0:case 11:case 15:Qi(8,O,d)}var z=O.child;if(z!==null)z.return=O,q=z;else for(;q!==null;){O=q;var L=O.sibling,Y=O.return;if(Pf(O),O===M){q=null;break}if(L!==null){L.return=Y,q=L;break}q=Y}}}var ee=d.alternate;if(ee!==null){var re=ee.child;if(re!==null){ee.child=null;do{var He=re.sibling;re.sibling=null,re=He}while(re!==null)}}q=d}}if((d.subtreeFlags&2064)!==0&&g!==null)g.return=d,q=g;else e:for(;q!==null;){if(d=q,(d.flags&2048)!==0)switch(d.tag){case 0:case 11:case 15:Qi(9,d,d.return)}var E=d.sibling;if(E!==null){E.return=d.return,q=E;break e}q=d.return}}var T=e.current;
vendor: 4,280 bytes, line 40
40for(q=T;q!==null;){g=q;var N=g.child;if((g.subtreeFlags&2064)!==0&&N!==null)N.return=g,q=N;else e:for(g=T;q!==null;){if(x=q,(x.flags&2048)!==0)try{switch(x.tag){case 0:case 11:case 15:mo(9,x)}}catch(se){Be(x,x.return,se)}if(x===g){q=null;break e}var U=x.sibling;if(U!==null){U.return=x.return,q=U;break e}q=x.return}}if(be=l,Bn(),tn&&typeof tn.onPostCommitFiberRoot=="function")try{tn.onPostCommitFiberRoot(Ps,e)}catch{}o=!0}return o}finally{Pe=i,zt.transition=t}}return!1}function $f(e,t,i){t=Xr(i,t),t=af(e,t,1),e=$n(e,t,1),t=gt(),e!==null&&(bi(e,1,t),bt(e,t))}function Be(e,t,i){if(e.tag===3)$f(e,e,i);else for(;t!==null;){if(t.tag===3){$f(t,e,i);break}else if(t.tag===1){var o=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof o.componentDidCatch=="function"&&(Hn===null||!Hn.has(o))){e=Xr(i,e),e=lf(t,e,1),t=$n(t,e,1),e=gt(),t!==null&&(bi(t,1,e),bt(t,e));break}}t=t.return}}function Dy(e,t,i){var o=e.pingCache;o!==null&&o.delete(t),t=gt(),e.pingedLanes|=e.suspendedLanes&i,nt===e&&(at&i)===i&&(qe===4||qe===3&&(at&130023424)===at&&500>We()-kl?vr(e,0):Sl|=i),bt(e,t)}function Wf(e,t){t===0&&((e.mode&1)===0?t=1:(t=Ms,Ms<<=1,(Ms&130023424)===0&&(Ms=4194304)));var i=gt();e=yn(e,t),e!==null&&(bi(e,t,i),bt(e,i))}function _y(e){var t=e.memoizedState,i=0;t!==null&&(i=t.retryLane),Wf(e,i)}function Iy(e,t){var i=0;switch(e.tag){case 13:var o=e.stateNode,l=e.memoizedState;l!==null&&(i=l.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(s(314))}o!==null&&o.delete(t),Wf(e,i)}var Hf;Hf=function(e,t,i){if(e!==null)if(e.memoizedProps!==t.pendingProps||xt.current)St=!0;else{if((e.lanes&i)===0&&(t.flags&128)===0)return St=!1,ky(e,t,i);St=(e.flags&131072)!==0}else St=!1,Ie&&(t.flags&1048576)!==0&&bd(t,qs,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;po(e,t),e=t.pendingProps;var l=Br(t,ct.current);Gr(t,i),l=Ja(null,t,o,e,l,i);var d=el();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,wt(o)?(d=!0,Ys(t)):d=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ka(t),l.updater=co,t.stateNode=l,l._reactInternals=t,ol(t,o,e,i),t=cl(null,t,o,!0,d,i)):(t.tag=0,Ie&&d&&Va(t),mt(null,t,l,i),t=t.child),t;case 16:o=t.elementType;e:{switch(po(e,t),e=t.pendingProps,l=o._init,o=l(o._payload),t.type=o,l=t.tag=Ly(o),e=Gt(o,e),l){case 0:t=ul(null,t,o,e,i);break e;case 1:t=yf(null,t,o,e,i);break e;case 11:t=ff(null,t,o,e,i);break e;case 14:t=pf(null,t,o,Gt(o.type,e),i);break e}throw Error(s(306,o,""))}return t;case 0:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:Gt(o,l),ul(e,t,o,l,i);case 1:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:Gt(o,l),yf(e,t,o,l,i);case 3:e:{if(vf(t),e===null)throw Error(s(387));o=t.pendingProps,d=t.memoizedState,l=d.element,jd(e,t),ro(t,o,null,i);var g=t.memoizedState;if(o=g.element,d.isDehydrated)if(d={element:o,isDehydrated:!1,cache:g.cache,pendingSuspenseBoundaries:g.pendingSuspenseBoundaries,transitions:g.transitions},t.updateQueue.baseState=d,t.memoizedState=d,t.flags&256){l=Xr(Error(s(423)),t),t=xf(e,t,o,i,l);break e}else if(o!==l){l=Xr(Error(s(424)),t),t=xf(e,t,o,i,l);break e}else for(At=On(t.stateNode.containerInfo.firstChild),Mt=t,Ie=!0,Kt=null,i=Ad(t,null,o,i),t.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Wr(),o===l){t=xn(e,t,i);break e}mt(e,t,o,i)}t=t.child}return t;case 5:return Id(t),e===null&&za(t),o=t.type,l=t.pendingProps,d=e!==null?e.memoizedProps:null,g=l.children,Aa(o,l)?g=null:d!==null&&Aa(o,d)&&(t.flags|=32),gf(e,t),mt(e,t,g,i),t.child;case 6:return e===null&&za(t),null;case 13:return wf(e,t,i);case 4:return Ga(t,t.stateNode.containerInfo),o=t.pendingProps,e===null?t.child=Hr(t,null,o,i):mt(e,t,o,i),t.child;case 11:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:Gt(o,l),ff(e,t,o,l,i);case 7:return mt(e,t,t.pendingProps,i),t.child;case 8:return mt(e,t,t.pendingProps.children,i),t.child;case 12:return mt(e,t,t.pendingProps.children,i),t.child;case 10:e:{if(o=t.type._context,l=t.pendingProps,d=t.memoizedProps,g=l.value,Ae(eo,o._currentValue),o._currentValue=g,d!==null)if(Ht(d.value,g)){if(d.children===l.children&&!xt.current){t=xn(e,t,i);break e}}else for(d=t.child,d!==null&&(d.return=t);d!==null;){var x=d.dependencies;
vendor: 8,859 bytes, line 40
40if(x!==null){g=d.child;for(var k=x.firstContext;k!==null;){if(k.context===o){if(d.tag===1){k=vn(-1,i&-i),k.tag=2;var M=d.updateQueue;if(M!==null){M=M.shared;var O=M.pending;O===null?k.next=k:(k.next=O.next,O.next=k),M.pending=k}}d.lanes|=i,k=d.alternate,k!==null&&(k.lanes|=i),Wa(d.return,i,t),x.lanes|=i;break}k=k.next}}else if(d.tag===10)g=d.type===t.type?null:d.child;else if(d.tag===18){if(g=d.return,g===null)throw Error(s(341));g.lanes|=i,x=g.alternate,x!==null&&(x.lanes|=i),Wa(g,i,t),g=d.sibling}else g=d.child;if(g!==null)g.return=d;else for(g=d;g!==null;){if(g===t){g=null;break}if(d=g.sibling,d!==null){d.return=g.return,g=d;break}g=g.return}d=g}mt(e,t,l.children,i),t=t.child}return t;case 9:return l=t.type,o=t.pendingProps.children,Gr(t,i),l=Lt(l),o=o(l),t.flags|=1,mt(e,t,o,i),t.child;case 14:return o=t.type,l=Gt(o,t.pendingProps),l=Gt(o.type,l),pf(e,t,o,l,i);case 15:return hf(e,t,t.type,t.pendingProps,i);case 17:return o=t.type,l=t.pendingProps,l=t.elementType===o?l:Gt(o,l),po(e,t),t.tag=1,wt(o)?(e=!0,Ys(t)):e=!1,Gr(t,i),sf(t,o,l),ol(t,o,l,i),cl(null,t,o,!0,e,i);case 19:return kf(e,t,i);case 22:return mf(e,t,i)}throw Error(s(156,t.tag))};function Kf(e,t){return Tc(e,t)}function Vy(e,t,i,o){this.tag=e,this.key=i,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=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ft(e,t,i,o){return new Vy(e,t,i,o)}function Al(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Ly(e){if(typeof e=="function")return Al(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Ne)return 11;if(e===ke)return 14}return 2}function Xn(e,t){var i=e.alternate;return i===null?(i=Ft(e.tag,t,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=t,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&14680064,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,t=e.dependencies,i.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i}function To(e,t,i,o,l,d){var g=2;if(o=e,typeof e=="function")Al(e)&&(g=1);else if(typeof e=="string")g=5;else e:switch(e){case de:return wr(i.children,l,d,t);case V:g=8,l|=8;break;case ge:return e=Ft(12,i,t,l|2),e.elementType=ge,e.lanes=d,e;case Me:return e=Ft(13,i,t,l),e.elementType=Me,e.lanes=d,e;case Ve:return e=Ft(19,i,t,l),e.elementType=Ve,e.lanes=d,e;case ie:return Co(i,l,d,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Se:g=10;break e;case Ce:g=9;break e;case Ne:g=11;break e;case ke:g=14;break e;case Z:g=16,o=null;break e}throw Error(s(130,e==null?e:typeof e,""))}return t=Ft(g,i,t,l),t.elementType=e,t.type=o,t.lanes=d,t}function wr(e,t,i,o){return e=Ft(7,e,o,t),e.lanes=i,e}function Co(e,t,i,o){return e=Ft(22,e,o,t),e.elementType=ie,e.lanes=i,e.stateNode={isHidden:!1},e}function Rl(e,t,i){return e=Ft(6,e,null,t),e.lanes=i,e}function jl(e,t,i){return t=Ft(4,e.children!==null?e.children:[],e.key,t),t.lanes=i,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Oy(e,t,i,o,l){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=sa(0),this.expirationTimes=sa(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=sa(0),this.identifierPrefix=o,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Dl(e,t,i,o,l,d,g,x,k){return e=new Oy(e,t,i,x,k),t===1?(t=1,d===!0&&(t|=8)):t=0,d=Ft(3,null,null,t),e.current=d,d.stateNode=e,d.memoizedState={element:o,isDehydrated:i,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ka(d),e}function zy(e,t,i){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:oe,key:o==null?null:""+o,children:e,containerInfo:t,implementation:i}}function Gf(e){if(!e)return Fn;e=e._reactInternals;e:{if(lr(e)!==e||e.tag!==1)throw Error(s(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(wt(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(s(171))}if(e.tag===1){var i=e.type;if(wt(i))return wd(e,i,t)}return t}function Yf(e,t,i,o,l,d,g,x,k){return e=Dl(i,o,!0,e,l,d,g,x,k),e.context=Gf(null),i=e.current,o=gt(),l=Gn(i),d=vn(o,l),d.callback=t??null,$n(i,d,l),e.current.lanes=l,bi(e,l,o),bt(e,o),e}function Eo(e,t,i,o){var l=t.current,d=gt(),g=Gn(l);return i=Gf(i),t.context===null?t.context=i:t.pendingContext=i,t=vn(d,g),t.payload={element:e},o=o===void 0?null:o,o!==null&&(t.callback=o),e=$n(l,t,g),e!==null&&(Qt(e,l,g,d),no(e,l,g)),g}function Po(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 Xf(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<t?i:t}}function _l(e,t){Xf(e,t),(e=e.alternate)&&Xf(e,t)}function Fy(){return null}var Qf=typeof reportError=="function"?reportError:function(e){console.error(e)};function Il(e){this._internalRoot=e}No.prototype.render=Il.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(s(409));Eo(e,t,null,null)},No.prototype.unmount=Il.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;yr(function(){Eo(null,e,null,null)}),t[pn]=null}};function No(e){this._internalRoot=e}No.prototype.unstable_scheduleHydration=function(e){if(e){var t=jc();e={blockedOn:null,target:e,priority:t};for(var i=0;i<In.length&&t!==0&&t<In[i].priority;i++);In.splice(i,0,e),i===0&&Ic(e)}};function Vl(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Mo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function qf(){}function By(e,t,i,o,l){if(l){if(typeof o=="function"){var d=o;o=function(){var M=Po(g);d.call(M)}}var g=Yf(t,o,e,0,null,!1,!1,"",qf);return e._reactRootContainer=g,e[pn]=g.current,Li(e.nodeType===8?e.parentNode:e),yr(),g}for(;l=e.lastChild;)e.removeChild(l);if(typeof o=="function"){var x=o;o=function(){var M=Po(k);x.call(M)}}var k=Dl(e,0,!1,null,null,!1,!1,"",qf);return e._reactRootContainer=k,e[pn]=k.current,Li(e.nodeType===8?e.parentNode:e),yr(function(){Eo(t,k,i,o)}),k}function Ao(e,t,i,o,l){var d=i._reactRootContainer;if(d){var g=d;if(typeof l=="function"){var x=l;l=function(){var k=Po(g);x.call(k)}}Eo(t,g,e,l)}else g=By(i,t,e,l,o);return Po(g)}Ac=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var i=ki(t.pendingLanes);i!==0&&(oa(t,i|1),bt(t,We()),(be&6)===0&&(Zr=We()+500,Bn()))}break;case 13:yr(function(){var o=yn(e,1);if(o!==null){var l=gt();Qt(o,e,1,l)}}),_l(e,1)}},aa=function(e){if(e.tag===13){var t=yn(e,134217728);if(t!==null){var i=gt();Qt(t,e,134217728,i)}_l(e,134217728)}},Rc=function(e){if(e.tag===13){var t=Gn(e),i=yn(e,t);if(i!==null){var o=gt();Qt(i,e,t,o)}_l(e,t)}},jc=function(){return Pe},Dc=function(e,t){var i=Pe;try{return Pe=e,t()}finally{Pe=i}},xi=function(e,t,i){switch(t){case"input":if(cn(e,i),t=i.name,i.type==="radio"&&t!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<i.length;t++){var o=i[t];if(o!==e&&o.form===e.form){var l=Ks(o);if(!l)throw Error(s(90));en(o),cn(o,l)}}}break;case"textarea":Ss(e,i);break;case"select":t=i.value,t!=null&&Cn(e,!!i.multiple,t,!1)}},Xe=Pl,ut=yr;var Uy={usingClientEntryPoint:!1,Events:[Fi,zr,Ks,he,$e,Pl]},es={findFiberByHostInstance:ur,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},$y={bundleType:es.bundleType,version:es.version,rendererPackageName:es.rendererPackageName,rendererConfig:es.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:X.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=kc(e),e===null?null:e.stateNode},findFiberByHostInstance:es.findFiberByHostInstance||Fy,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};
vendor: 4,581 bytes, lines 40-65
40if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Ro=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Ro.isDisabled&&Ro.supportsFiber)try{Ps=Ro.inject($y),tn=Ro}catch{}}return Tt.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Uy,Tt.createPortal=function(e,t){var i=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!Vl(t))throw Error(s(200));return zy(e,t,null,i)},Tt.createRoot=function(e,t){if(!Vl(e))throw Error(s(299));var i=!1,o="",l=Qf;return t!=null&&(t.unstable_strictMode===!0&&(i=!0),t.identifierPrefix!==void 0&&(o=t.identifierPrefix),t.onRecoverableError!==void 0&&(l=t.onRecoverableError)),t=Dl(e,1,!1,null,null,i,!1,o,l),e[pn]=t.current,Li(e.nodeType===8?e.parentNode:e),new Il(t)},Tt.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(s(188)):(e=Object.keys(e).join(","),Error(s(268,e)));return e=kc(t),e=e===null?null:e.stateNode,e},Tt.flushSync=function(e){return yr(e)},Tt.hydrate=function(e,t,i){if(!Mo(t))throw Error(s(200));return Ao(null,e,t,!0,i)},Tt.hydrateRoot=function(e,t,i){if(!Vl(e))throw Error(s(405));var o=i!=null&&i.hydratedSources||null,l=!1,d="",g=Qf;if(i!=null&&(i.unstable_strictMode===!0&&(l=!0),i.identifierPrefix!==void 0&&(d=i.identifierPrefix),i.onRecoverableError!==void 0&&(g=i.onRecoverableError)),t=Yf(t,null,e,1,i??null,l,!1,d,g),e[pn]=t.current,Li(e),o)for(e=0;e<o.length;e++)i=o[e],l=i._getVersion,l=l(i._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[i,l]:t.mutableSourceEagerHydrationData.push(i,l);return new No(t)},Tt.render=function(e,t,i){if(!Mo(t))throw Error(s(200));return Ao(null,e,t,!1,i)},Tt.unmountComponentAtNode=function(e){if(!Mo(e))throw Error(s(40));return e._reactRootContainer?(yr(function(){Ao(null,null,e,!1,function(){e._reactRootContainer=null,e[pn]=null})}),!0):!1},Tt.unstable_batchedUpdates=Pl,Tt.unstable_renderSubtreeIntoContainer=function(e,t,i,o){if(!Mo(i))throw Error(s(200));if(e==null||e._reactInternals===void 0)throw Error(s(38));return Ao(e,t,i,!1,o)},Tt.version="18.3.1-next-f1338f8080-20240426",Tt}var sp;function Ih(){if(sp)return zl.exports;sp=1;function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(r){console.error(r)}}return n(),zl.exports=qy(),zl.exports}var op;function Zy(){if(op)return jo;op=1;var n=Ih();return jo.createRoot=n.createRoot,jo.hydrateRoot=n.hydrateRoot,jo}var Jy=Zy(),_=Vu();const $=_h(_),ev=Hy({__proto__:null,default:$},[_]);/** 41 * @license lucide-react v0.487.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 tv=n=>n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),nv=n=>n.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,s,a)=>a?a.toUpperCase():s.toLowerCase()),ap=n=>{const r=nv(n);return r.charAt(0).toUpperCase()+r.slice(1)},Vh=(...n)=>n.filter((r,s,a)=>!!r&&r.trim()!==""&&a.indexOf(r)===s).join(" ").trim();/** 46 * @license lucide-react v0.487.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 rv={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.487.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 iv=_.forwardRef(({color:n="currentColor",size:r=24,strokeWidth:s=2,absoluteStrokeWidth:a,className:u="",children:f,iconNode:c,...p},h)=>_.createElement("svg",{ref:h,...rv,width:r,height:r,stroke:n,strokeWidth:a?Number(s)*24/Number(r):s,className:Vh("lucide",u),...p},[...c.map(([y,v])=>_.createElement(y,v)),...Array.isArray(f)?f:[f]]));/** 56 * @license lucide-react v0.487.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 Fe=(n,r)=>{const s=_.forwardRef(({className:a,...u},f)=>_.createElement(iv,{ref:f,iconNode:r,className:Vh(`lucide-${tv(ap(n))}`,`lucide-${n}`,a),...u}));return s.displayName=ap(n),s};/** 61 * @license lucide-react v0.487.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 sv=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
65-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],ov=Fe("activity",sv);/** 66 * @license lucide-react v0.487.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 av=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],lv=Fe("arrow-right",av);/** 71 * @license lucide-react v0.487.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 uv=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],cv=Fe("bell",uv);/** 76 * @license lucide-react v0.487.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 dv=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],fv=Fe("book-open",dv);/** 81 * @license lucide-react v0.487.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 pv=[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]],hv=Fe("brain",pv);/** 86 * @license lucide-react v0.487.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 mv=[["path",{d:"M21 7.5V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h3.5",key:"1osxxc"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M3 10h5",key:"r794hk"}],["path",{d:"M17.5 17.5 16 16.3V14",key:"akvzfd"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]],gv=Fe("calendar-clock",mv);/** 91 * @license lucide-react v0.487.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 yv=[["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"}]],vv=Fe("calendar",yv);/** 96 * @license lucide-react v0.487.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 xv=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],lp=Fe("check",xv);/** 101 * @license lucide-react v0.487.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 wv=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Sv=Fe("circle-check-big",wv);/** 106 * @license lucide-react v0.487.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 kv=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Lu=Fe("database",kv);/** 111 * @license lucide-react v0.487.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 bv=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Tv=Fe("info",bv);/** 116 * @license lucide-react v0.487.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 Cv=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],Ev=Fe("layers",Cv);/** 121 * @license lucide-react v0.487.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 Pv=[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]],Nv=Fe("message-square",Pv);/** 126 * @license lucide-react v0.487.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 Mv=[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Av=Fe("settings",Mv);/** 131 * @license lucide-react v0.487.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 Rv=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 9,473 bytes, lines 135-175
135y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],jv=Fe("shield-check",Rv);/** 136 * @license lucide-react v0.487.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 Dv=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],_v=Fe("shield",Dv);/** 141 * @license lucide-react v0.487.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 Iv=[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]],Vv=Fe("sparkles",Iv);/** 146 * @license lucide-react v0.487.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 Lv=[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]],Ov=Fe("trending-up",Lv);/** 151 * @license lucide-react v0.487.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 zv=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],Fv=Fe("triangle-alert",zv);/** 156 * @license lucide-react v0.487.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 Bv=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]],Uv=Fe("users",Bv);/** 161 * @license lucide-react v0.487.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 $v=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z",key:"cbrjhi"}]],Wv=Fe("wrench",$v);/** 166 * @license lucide-react v0.487.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 Hv=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Kv=Fe("x",Hv);/** 171 * @license lucide-react v0.487.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 Gv=[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]],Lh=Fe("zap",Gv);function up(n,r){if(typeof n=="function")return n(r);n!=null&&(n.current=r)}function Oh(...n){return r=>{let s=!1;const a=n.map(u=>{const f=up(u,r);return!s&&typeof f=="function"&&(s=!0),f});if(s)return()=>{for(let u=0;u<a.length;u++){const f=a[u];typeof f=="function"?f():up(n[u],null)}}}}function Wo(...n){return _.useCallback(Oh(...n),n)}var oi=_.forwardRef((n,r)=>{const{children:s,...a}=n,u=_.Children.toArray(s),f=u.find(Xv);if(f){const c=f.props.children,p=u.map(h=>h===f?_.Children.count(c)>1?_.Children.only(null):_.isValidElement(c)?c.props.children:null:h);return S.jsx(au,{...a,ref:r,children:_.isValidElement(c)?_.cloneElement(c,void 0,p):null})}return S.jsx(au,{...a,ref:r,children:s})});oi.displayName="Slot";var au=_.forwardRef((n,r)=>{const{children:s,...a}=n;if(_.isValidElement(s)){const u=qv(s),f=Qv(a,s.props);return s.type!==_.Fragment&&(f.ref=r?Oh(r,u):u),_.cloneElement(s,f)}return _.Children.count(s)>1?_.Children.only(null):null});au.displayName="SlotClone";var Yv=({children:n})=>S.jsx(S.Fragment,{children:n});function Xv(n){return _.isValidElement(n)&&n.type===Yv}function Qv(n,r){const s={...r};for(const a in r){const u=n[a],f=r[a];/^on[A-Z]/.test(a)?u&&f?s[a]=(...p)=>{f(...p),u(...p)}:u&&(s[a]=u):a==="style"?s[a]={...u,...f}:a==="className"&&(s[a]=[u,f].filter(Boolean).join(" "))}return{...n,...s}}function qv(n){var a,u;let r=(a=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:a.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?n.ref:(r=(u=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:u.get,s=r&&"isReactWarning"in r&&r.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}function zh(n){var r,s,a="";if(typeof n=="string"||typeof n=="number")a+=n;else if(typeof n=="object")if(Array.isArray(n)){var u=n.length;for(r=0;r<u;r++)n[r]&&(s=zh(n[r]))&&(a&&(a+=" "),a+=s)}else for(s in n)n[s]&&(a&&(a+=" "),a+=s);return a}function Fh(){for(var n,r,s=0,a="",u=arguments.length;s<u;s++)(n=arguments[s])&&(r=zh(n))&&(a&&(a+=" "),a+=r);return a}const cp=n=>typeof n=="boolean"?`${n}`:n===0?"0":n,dp=Fh,Bh=(n,r)=>s=>{var a;if((r==null?void 0:r.variants)==null)return dp(n,s==null?void 0:s.class,s==null?void 0:s.className);const{variants:u,defaultVariants:f}=r,c=Object.keys(u).map(y=>{const v=s==null?void 0:s[y],m=f==null?void 0:f[y];if(v===null)return null;const w=cp(v)||cp(m);return u[y][w]}),p=s&&Object.entries(s).reduce((y,v)=>{let[m,w]=v;return w===void 0||(y[m]=w),y},{}),h=r==null||(a=r.compoundVariants)===null||a===void 0?void 0:a.reduce((y,v)=>{let{class:m,className:w,...C}=v;return Object.entries(C).every(P=>{let[j,A]=P;return Array.isArray(A)?A.includes({...f,...p}[j]):{...f,...p}[j]===A})?[...y,m,w]:y},[]);return dp(n,c,h,s==null?void 0:s.class,s==null?void 0:s.className)},Ou="-",Zv=n=>{const r=ex(n),{conflictingClassGroups:s,conflictingClassGroupModifiers:a}=n;return{getClassGroupId:c=>{const p=c.split(Ou);return p[0]===""&&p.length!==1&&p.shift(),Uh(p,r)||Jv(c)},getConflictingClassGroupIds:(c,p)=>{const h=s[c]||[];return p&&a[c]?[...h,...a[c]]:h}}},Uh=(n,r)=>{var c;if(n.length===0)return r.classGroupId;const s=n[0],a=r.nextPart.get(s),u=a?Uh(n.slice(1),a):void 0;if(u)return u;if(r.validators.length===0)return;const f=n.join(Ou);return(c=r.validators.find(({validator:p})=>p(f)))==null?void 0:c.classGroupId},fp=/^\[(.+)\]$/,Jv=n=>{if(fp.test(n)){const r=fp.exec(n)[1],s=r==null?void 0:r.substring(0,r.indexOf(":"));if(s)return"arbitrary.."+s}},ex=n=>{const{theme:r,classGroups:s}=n,a={nextPart:new Map,validators:[]};for(const u in s)lu(s[u],a,u,r);return a},lu=(n,r,s,a)=>{n.forEach(u=>{if(typeof u=="string"){const f=u===""?r:pp(r,u);f.classGroupId=s;return}if(typeof u=="function"){if(tx(u)){lu(u(a),r,s,a);return}r.validators.push({validator:u,classGroupId:s});return}Object.entries(u).forEach(([f,c])=>{lu(c,pp(r,f),s,a)})})},pp=(n,r)=>{let s=n;return r.split(Ou).forEach(a=>{s.nextPart.has(a)||s.nextPart.set(a,{nextPart:new Map,validators:[]}),s=s.nextPart.get(a)}),s},tx=n=>n.isThemeGetter,nx=n=>{if(n<1)return{get:()=>{},set:()=>{}};let r=0,s=new Map,a=new Map;const u=(f,c)=>{s.set(f,c),r++,r>n&&(r=0,a=s,s=new Map)};return{get(f){let c=s.get(f);if(c!==void 0)return c;if((c=a.get(f))!==void 0)return u(f,c),c},set(f,c){s.has(f)?s.set(f,c):u(f,c)}}},uu="!",cu=":",rx=cu.length,ix=n=>{const{prefix:r,experimentalParseClassName:s}=n;let a=u=>{const f=[];let c=0,p=0,h=0,y;for(let P=0;P<u.length;P++){let j=u[P];if(c===0&&p===0){if(j===cu){f.push(u.slice(h,P)),h=P+rx;continue}if(j==="/"){y=P;continue}}j==="["?c++:j==="]"?c--:j==="("?p++:j===")"&&p--}const v=f.length===0?u:u.substring(h),m=sx(v),w=m!==v,C=y&&y>h?y-h:void 0;return{modifiers:f,hasImportantModifier:w,baseClassName:m,maybePostfixModifierPosition:C}};if(r){const u=r+cu,f=a;a=c=>c.startsWith(u)?f(c.substring(u.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:c,maybePostfixModifierPosition:void 0}}if(s){const u=a;a=f=>s({className:f,parseClassName:u})}return a},sx=n=>n.endsWith(uu)?n.substring(0,n.length-1):n.startsWith(uu)?n.substring(1):n,ox=n=>{const r=Object.fromEntries(n.orderSensitiveModifiers.map(a=>[a,!0]));return a=>{if(a.length<=1)return a;const u=[];let f=[];return a.forEach(c=>{c[0]==="["||r[c]?(u.push(...f.sort(),c),f=[]):f.push(c)}),u.push(...f.sort()),u}},ax=n=>({cache:nx(n.cacheSize),parseClassName:ix(n),sortModifiers:ox(n),...Zv(n)}),lx=/\s+/,ux=(n,r)=>{const{parseClassName:s,getClassGroupId:a,getConflictingClassGroupIds:u,sortModifiers:f}=r,c=[],p=n.trim().split(lx);let h="";for(let y=p.length-1;y>=0;y-=1){const v=p[y],{isExternal:m,modifiers:w,hasImportantModifier:C,baseClassName:P,maybePostfixModifierPosition:j}=s(v);if(m){h=v+(h.length>0?" "+h:h);continue}let A=!!j,I=a(A?P.substring(0,j):P);if(!I){if(!A){h=v+(h.length>0?" "+h:h);continue}if(I=a(P),!I){h=v+(h.length>0?" "+h:h);continue}A=!1}const F=f(w).join(":"),B=C?F+uu:F,X=B+I;if(c.includes(X))continue;c.push(X);const W=u(I,A);for(let oe=0;oe<W.length;++oe){const de=W[oe];c.push(B+de)}h=v+(h.length>0?" "+h:h)}return h};function cx(){let n=0,r,s,a="";for(;n<arguments.length;)(r=arguments[n++])&&(s=$h(r))&&(a&&(a+=" "),a+=s);return a}const $h=n=>{if(typeof n=="string")return n;let r,s="";for(let a=0;a<n.length;
vendor: 5,219 bytes, line 175
175a++)n[a]&&(r=$h(n[a]))&&(s&&(s+=" "),s+=r);return s};function dx(n,...r){let s,a,u,f=c;function c(h){const y=r.reduce((v,m)=>m(v),n());return s=ax(y),a=s.cache.get,u=s.cache.set,f=p,p(h)}function p(h){const y=a(h);if(y)return y;const v=ux(h,s);return u(h,v),v}return function(){return f(cx.apply(null,arguments))}}const Ze=n=>{const r=s=>s[n]||[];return r.isThemeGetter=!0,r},Wh=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Hh=/^\((?:(\w[\w-]*):)?(.+)\)$/i,fx=/^\d+\/\d+$/,px=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,hx=/\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$/,mx=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,gx=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,yx=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ei=n=>fx.test(n),ve=n=>!!n&&!Number.isNaN(Number(n)),qn=n=>!!n&&Number.isInteger(Number(n)),Ul=n=>n.endsWith("%")&&ve(n.slice(0,-1)),Sn=n=>px.test(n),vx=()=>!0,xx=n=>hx.test(n)&&!mx.test(n),Kh=()=>!1,wx=n=>gx.test(n),Sx=n=>yx.test(n),kx=n=>!te(n)&&!ne(n),bx=n=>ui(n,Xh,Kh),te=n=>Wh.test(n),Sr=n=>ui(n,Qh,xx),$l=n=>ui(n,Nx,ve),hp=n=>ui(n,Gh,Kh),Tx=n=>ui(n,Yh,Sx),Do=n=>ui(n,qh,wx),ne=n=>Hh.test(n),ns=n=>ci(n,Qh),Cx=n=>ci(n,Mx),mp=n=>ci(n,Gh),Ex=n=>ci(n,Xh),Px=n=>ci(n,Yh),_o=n=>ci(n,qh,!0),ui=(n,r,s)=>{const a=Wh.exec(n);return a?a[1]?r(a[1]):s(a[2]):!1},ci=(n,r,s=!1)=>{const a=Hh.exec(n);return a?a[1]?r(a[1]):s:!1},Gh=n=>n==="position"||n==="percentage",Yh=n=>n==="image"||n==="url",Xh=n=>n==="length"||n==="size"||n==="bg-size",Qh=n=>n==="length",Nx=n=>n==="number",Mx=n=>n==="family-name",qh=n=>n==="shadow",Ax=()=>{const n=Ze("color"),r=Ze("font"),s=Ze("text"),a=Ze("font-weight"),u=Ze("tracking"),f=Ze("leading"),c=Ze("breakpoint"),p=Ze("container"),h=Ze("spacing"),y=Ze("radius"),v=Ze("shadow"),m=Ze("inset-shadow"),w=Ze("text-shadow"),C=Ze("drop-shadow"),P=Ze("blur"),j=Ze("perspective"),A=Ze("aspect"),I=Ze("ease"),F=Ze("animate"),B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],W=()=>[...X(),ne,te],oe=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto","contain","none"],V=()=>[ne,te,h],ge=()=>[ei,"full","auto",...V()],Se=()=>[qn,"none","subgrid",ne,te],Ce=()=>["auto",{span:["full",qn,ne,te]},qn,ne,te],Ne=()=>[qn,"auto",ne,te],Me=()=>["auto","min","max","fr",ne,te],Ve=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ke=()=>["start","end","center","stretch","center-safe","end-safe"],Z=()=>["auto",...V()],ie=()=>[ei,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...V()],R=()=>[n,ne,te],G=()=>[...X(),mp,hp,{position:[ne,te]}],H=()=>["no-repeat",{repeat:["","x","y","space","round"]}],b=()=>["auto","cover","contain",Ex,bx,{size:[ne,te]}],D=()=>[Ul,ns,Sr],K=()=>["","none","full",y,ne,te],J=()=>["",ve,ns,Sr],pe=()=>["solid","dashed","dotted","double"],ae=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ce=()=>[ve,Ul,mp,hp],ye=()=>["","none",P,ne,te],we=()=>["none",ve,ne,te],_e=()=>["none",ve,ne,te],Jt=()=>[ve,ne,te],en=()=>[ei,"full",...V()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Sn],breakpoint:[Sn],color:[vx],container:[Sn],"drop-shadow":[Sn],ease:["in","out","in-out"],font:[kx],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Sn],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Sn],shadow:[Sn],spacing:["px",ve],text:[Sn],"text-shadow":[Sn],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ei,te,ne,A]}],container:["container"],columns:[{columns:[ve,te,ne,p]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"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"],sr:["sr-only","not-sr-only"],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:W()}],overflow:[{overflow:oe()}],"overflow-x":[{"overflow-x":oe()}],"overflow-y":[{"overflow-y":oe()}],overscroll:[{overscroll:de()}],"overscroll-x":[{"overscroll-x":de()}],"overscroll-y":[{"overscroll-y":de()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:ge()}],"inset-x":[{"inset-x":ge()}
vendor: 4,400 bytes, line 175
175],"inset-y":[{"inset-y":ge()}],start:[{start:ge()}],end:[{end:ge()}],top:[{top:ge()}],right:[{right:ge()}],bottom:[{bottom:ge()}],left:[{left:ge()}],visibility:["visible","invisible","collapse"],z:[{z:[qn,"auto",ne,te]}],basis:[{basis:[ei,"full","auto",p,...V()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[ve,ei,"auto","initial","none",te]}],grow:[{grow:["",ve,ne,te]}],shrink:[{shrink:["",ve,ne,te]}],order:[{order:[qn,"first","last","none",ne,te]}],"grid-cols":[{"grid-cols":Se()}],"col-start-end":[{col:Ce()}],"col-start":[{"col-start":Ne()}],"col-end":[{"col-end":Ne()}],"grid-rows":[{"grid-rows":Se()}],"row-start-end":[{row:Ce()}],"row-start":[{"row-start":Ne()}],"row-end":[{"row-end":Ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Me()}],"auto-rows":[{"auto-rows":Me()}],gap:[{gap:V()}],"gap-x":[{"gap-x":V()}],"gap-y":[{"gap-y":V()}],"justify-content":[{justify:[...Ve(),"normal"]}],"justify-items":[{"justify-items":[...ke(),"normal"]}],"justify-self":[{"justify-self":["auto",...ke()]}],"align-content":[{content:["normal",...Ve()]}],"align-items":[{items:[...ke(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ke(),{baseline:["","last"]}]}],"place-content":[{"place-content":Ve()}],"place-items":[{"place-items":[...ke(),"baseline"]}],"place-self":[{"place-self":["auto",...ke()]}],p:[{p:V()}],px:[{px:V()}],py:[{py:V()}],ps:[{ps:V()}],pe:[{pe:V()}],pt:[{pt:V()}],pr:[{pr:V()}],pb:[{pb:V()}],pl:[{pl:V()}],m:[{m:Z()}],mx:[{mx:Z()}],my:[{my:Z()}],ms:[{ms:Z()}],me:[{me:Z()}],mt:[{mt:Z()}],mr:[{mr:Z()}],mb:[{mb:Z()}],ml:[{ml:Z()}],"space-x":[{"space-x":V()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":V()}],"space-y-reverse":["space-y-reverse"],size:[{size:ie()}],w:[{w:[p,"screen",...ie()]}],"min-w":[{"min-w":[p,"screen","none",...ie()]}],"max-w":[{"max-w":[p,"screen","none","prose",{screen:[c]},...ie()]}],h:[{h:["screen",...ie()]}],"min-h":[{"min-h":["screen","none",...ie()]}],"max-h":[{"max-h":["screen",...ie()]}],"font-size":[{text:["base",s,ns,Sr]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[a,ne,$l]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ul,te]}],"font-family":[{font:[Cx,te,r]}],"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:[u,ne,te]}],"line-clamp":[{"line-clamp":[ve,"none",ne,$l]}],leading:[{leading:[f,...V()]}],"list-image":[{"list-image":["none",ne,te]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ne,te]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:R()}],"text-color":[{text:R()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...pe(),"wavy"]}],"text-decoration-thickness":[{decoration:[ve,"from-font","auto",ne,Sr]}],"text-decoration-color":[{decoration:R()}],"underline-offset":[{"underline-offset":[ve,"auto",ne,te]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ne,te]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ne,te]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:H()}],"bg-size":[{bg:b()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},qn,ne,te],radial:["",ne,te],conic:[qn,ne,te]},Px,Tx]}
175],"bg-color":[{bg:R()}],"gradient-from-pos":[{from:D()}],"gradient-via-pos":[{via:D()}],"gradient-to-pos":[{to:D()}],"gradient-from":[{from:R()}],"gradient-via":[{via:R()}],"gradient-to":[{to:R()}],rounded:[{rounded:K()}],"rounded-s":[{"rounded-s":K()}],"rounded-e":[{"rounded-e":K()}],"rounded-t":[{"rounded-t":K()}],"rounded-r":[{"rounded-r":K()}],"rounded-b":[{"rounded-b":K()}],"rounded-l":[{"rounded-l":K()}],"rounded-ss":[{"rounded-ss":K()}],"rounded-se":[{"rounded-se":K()}],"rounded-ee":[{"rounded-ee":K()}],"rounded-es":[{"rounded-es":K()}],"rounded-tl":[{"rounded-tl":K()}],"rounded-tr":[{"rounded-tr":K()}],"rounded-br":[{"rounded-br":K()}],"rounded-bl":[{"rounded-bl":K()}],"border-w":[{border:J()}],"border-w-x":[{"border-x":J()}],"border-w-y":[{"border-y":J()}],"border-w-s":[{"border-s":J()}],"border-w-e":[{"border-e":J()}],"border-w-t":[{"border-t":J()}],"border-w-r":[{"border-r":J()}],"border-w-b":[{"border-b":J()}],"border-w-l":[{"border-l":J()}],"divide-x":[{"divide-x":J()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":J()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...pe(),"hidden","none"]}],"divide-style":[{divide:[...pe(),"hidden","none"]}],"border-color":[{border:R()}],"border-color-x":[{"border-x":R()}],"border-color-y":[{"border-y":R()}],"border-color-s":[{"border-s":R()}],"border-color-e":[{"border-e":R()}],"border-color-t":[{"border-t":R()}],"border-color-r":[{"border-r":R()}],"border-color-b":[{"border-b":R()}],"border-color-l":[{"border-l":R()}
vendor: 5,753 bytes, line 175
175],"divide-color":[{divide:R()}],"outline-style":[{outline:[...pe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[ve,ne,te]}],"outline-w":[{outline:["",ve,ns,Sr]}],"outline-color":[{outline:R()}],shadow:[{shadow:["","none",v,_o,Do]}],"shadow-color":[{shadow:R()}],"inset-shadow":[{"inset-shadow":["none",m,_o,Do]}],"inset-shadow-color":[{"inset-shadow":R()}],"ring-w":[{ring:J()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:R()}],"ring-offset-w":[{"ring-offset":[ve,Sr]}],"ring-offset-color":[{"ring-offset":R()}],"inset-ring-w":[{"inset-ring":J()}],"inset-ring-color":[{"inset-ring":R()}],"text-shadow":[{"text-shadow":["none",w,_o,Do]}],"text-shadow-color":[{"text-shadow":R()}],opacity:[{opacity:[ve,ne,te]}],"mix-blend":[{"mix-blend":[...ae(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ae()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[ve]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":R()}],"mask-image-linear-to-color":[{"mask-linear-to":R()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":R()}],"mask-image-t-to-color":[{"mask-t-to":R()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":R()}],"mask-image-r-to-color":[{"mask-r-to":R()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":R()}],"mask-image-b-to-color":[{"mask-b-to":R()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":R()}],"mask-image-l-to-color":[{"mask-l-to":R()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":R()}],"mask-image-x-to-color":[{"mask-x-to":R()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":R()}],"mask-image-y-to-color":[{"mask-y-to":R()}],"mask-image-radial":[{"mask-radial":[ne,te]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":R()}],"mask-image-radial-to-color":[{"mask-radial-to":R()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":X()}],"mask-image-conic-pos":[{"mask-conic":[ve]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":R()}],"mask-image-conic-to-color":[{"mask-conic-to":R()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:H()}],"mask-size":[{mask:b()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ne,te]}],filter:[{filter:["","none",ne,te]}],blur:[{blur:ye()}],brightness:[{brightness:[ve,ne,te]}],contrast:[{contrast:[ve,ne,te]}],"drop-shadow":[{"drop-shadow":["","none",C,_o,Do]}],"drop-shadow-color":[{"drop-shadow":R()}],grayscale:[{grayscale:["",ve,ne,te]}],"hue-rotate":[{"hue-rotate":[ve,ne,te]}],invert:[{invert:["",ve,ne,te]}],saturate:[{saturate:[ve,ne,te]}],sepia:[{sepia:["",ve,ne,te]}],"backdrop-filter":[{"backdrop-filter":["","none",ne,te]}],"backdrop-blur":[{"backdrop-blur":ye()}],"backdrop-brightness":[{"backdrop-brightness":[ve,ne,te]}],"backdrop-contrast":[{"backdrop-contrast":[ve,ne,te]}],"backdrop-grayscale":[{"backdrop-grayscale":["",ve,ne,te]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[ve,ne,te]}],"backdrop-invert":[{"backdrop-invert":["",ve,ne,te]}],"backdrop-opacity":[{"backdrop-opacity":[ve,ne,te]}],"backdrop-saturate":[{"backdrop-saturate":[ve,ne,te]}],"backdrop-sepia":[{"backdrop-sepia":["",ve,ne,te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":V()}],"border-spacing-x":[{"border-spacing-x":V()}],"border-spacing-y":[{"border-spacing-y":V()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ne,te]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[ve,"initial",ne,te]}],ease:[{ease:["linear","initial",I,ne,te]}],delay:[{delay:[ve,ne,te]}],animate:[{animate:["none",F,ne,te]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[j,ne,te]}],"perspective-origin":[{"perspective-origin":W()}],rotate:[{rotate:we()}],"rotate-x":[{"rotate-x":we()}],"rotate-y":[{"rotate-y":we()}],"rotate-z":[{"rotate-z":we()}],scale:[{scale:_e()}],"scale-x":[{"scale-x":_e()}],"scale-y":[{"scale-y":_e()}],"scale-z":[{"scale-z":_e()}],"scale-3d":["scale-3d"],skew:[{skew:Jt()}],"skew-x":[{"skew-x":Jt()}],"skew-y":[{"skew-y":Jt()}],transform:[{transform:[ne,te,"","none","gpu","cpu"]}],"transform-origin":[{origin:W()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:en()}],"translate-x":[{"translate-x":en()}],"translate-y":[{"translate-y":en()}],"translate-z":[{"translate-z":en()}],"translate-none":["translate-none"],accent:[{accent:R()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:R()}
175],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",ne,te]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ne,te]}],fill:[{fill:["none",...R()]}],"stroke-w":[{stroke:[ve,ns,Sr,$l]}],stroke:[{stroke:["none",...R()]}],"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-x","border-w-y","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-x","border-color-y","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Rx=dx(Ax);function Nr(...n){return Rx(Fh(n))}const jx=Bh("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background text-foreground hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9 rounded-md"}},defaultVariants:{variant:"default",size:"default"}});function os({className:n,variant:r,size:s,asChild:a=!1,...u}){const f=a?oi:"button";return S.jsx(f,{"data-slot":"button",className:Nr(jx({variant:r,size:s,className:n})),...u})}const Zh=_.createContext({});function Dx(n){const r=_.useRef(null);return r.current===null&&(r.current=n()),r.current}const zu=typeof window<"u",_x=zu?_.useLayoutEffect:_.useEffect,Fu=_.createContext(null);function Bu(n,r){n.indexOf(r)===-1&&n.push(r)}function Uu(n,r){const s=n.indexOf(r);s>-1&&n.splice(s,1)}const un=(n,r,s)=>s>r?r:s<n?n:s;let $u=()=>{};const Tn={},Jh=n=>
vendor: 27,100 bytes, line 175
175/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n);function em(n){return typeof n=="object"&&n!==null}const tm=n=>/^0[^.\s]+$/u.test(n);function Wu(n){let r;return()=>(r===void 0&&(r=n()),r)}const $t=n=>n,Ix=(n,r)=>s=>r(n(s)),gs=(...n)=>n.reduce(Ix),ds=(n,r,s)=>{const a=r-n;return a===0?1:(s-n)/a};class Hu{constructor(){this.subscriptions=[]}add(r){return Bu(this.subscriptions,r),()=>Uu(this.subscriptions,r)}notify(r,s,a){const u=this.subscriptions.length;if(u)if(u===1)this.subscriptions[0](r,s,a);else for(let f=0;f<u;f++){const c=this.subscriptions[f];c&&c(r,s,a)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const kn=n=>n*1e3,Ut=n=>n/1e3;function nm(n,r){return r?n*(1e3/r):0}const rm=(n,r,s)=>(((1-3*s+3*r)*n+(3*s-6*r))*n+3*r)*n,Vx=1e-7,Lx=12;function Ox(n,r,s,a,u){let f,c,p=0;do c=r+(s-r)/2,f=rm(c,a,u)-n,f>0?s=c:r=c;while(Math.abs(f)>Vx&&++p<Lx);return c}function ys(n,r,s,a){if(n===r&&s===a)return $t;const u=f=>Ox(f,0,1,n,s);return f=>f===0||f===1?f:rm(u(f),r,a)}const im=n=>r=>r<=.5?n(2*r)/2:(2-n(2*(1-r)))/2,sm=n=>r=>1-n(1-r),om=ys(.33,1.53,.69,.99),Ku=sm(om),am=im(Ku),lm=n=>(n*=2)<1?.5*Ku(n):.5*(2-Math.pow(2,-10*(n-1))),Gu=n=>1-Math.sin(Math.acos(n)),um=sm(Gu),cm=im(Gu),zx=ys(.42,0,1,1),Fx=ys(0,0,.58,1),dm=ys(.42,0,.58,1),Bx=n=>Array.isArray(n)&&typeof n[0]!="number",fm=n=>Array.isArray(n)&&typeof n[0]=="number",Ux={linear:$t,easeIn:zx,easeInOut:dm,easeOut:Fx,circIn:Gu,circInOut:cm,circOut:um,backIn:Ku,backInOut:am,backOut:om,anticipate:lm},$x=n=>typeof n=="string",gp=n=>{if(fm(n)){$u(n.length===4);const[r,s,a,u]=n;return ys(r,s,a,u)}else if($x(n))return Ux[n];return n},Io=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Wx(n,r){let s=new Set,a=new Set,u=!1,f=!1;const c=new WeakSet;let p={delta:0,timestamp:0,isProcessing:!1};function h(v){c.has(v)&&(y.schedule(v),n()),v(p)}const y={schedule:(v,m=!1,w=!1)=>{const P=w&&u?s:a;return m&&c.add(v),P.has(v)||P.add(v),v},cancel:v=>{a.delete(v),c.delete(v)},process:v=>{if(p=v,u){f=!0;return}u=!0,[s,a]=[a,s],s.forEach(h),s.clear(),u=!1,f&&(f=!1,y.process(v))}};return y}const Hx=40;function pm(n,r){let s=!1,a=!0;const u={delta:0,timestamp:0,isProcessing:!1},f=()=>s=!0,c=Io.reduce((B,X)=>(B[X]=Wx(f),B),{}),{setup:p,read:h,resolveKeyframes:y,preUpdate:v,update:m,preRender:w,render:C,postRender:P}=c,j=()=>{const B=Tn.useManualTiming?u.timestamp:performance.now();s=!1,Tn.useManualTiming||(u.delta=a?1e3/60:Math.max(Math.min(B-u.timestamp,Hx),1)),u.timestamp=B,u.isProcessing=!0,p.process(u),h.process(u),y.process(u),v.process(u),m.process(u),w.process(u),C.process(u),P.process(u),u.isProcessing=!1,s&&r&&(a=!1,n(j))},A=()=>{s=!0,a=!0,u.isProcessing||n(j)};return{schedule:Io.reduce((B,X)=>{const W=c[X];return B[X]=(oe,de=!1,V=!1)=>(s||A(),W.schedule(oe,de,V)),B},{}),cancel:B=>{for(let X=0;X<Io.length;X++)c[Io[X]].cancel(B)},state:u,steps:c}}const{schedule:De,cancel:er,state:lt,steps:Wl}=pm(typeof requestAnimationFrame<"u"?requestAnimationFrame:$t,!0);let Fo;function Kx(){Fo=void 0}const yt={now:()=>(Fo===void 0&&yt.set(lt.isProcessing||Tn.useManualTiming?lt.timestamp:performance.now()),Fo),set:n=>{Fo=n,queueMicrotask(Kx)}},hm=n=>r=>typeof r=="string"&&r.startsWith(n),mm=hm("--"),Gx=hm("var(--"),Yu=n=>Gx(n)?Yx.test(n.split("/*")[0].trim()):!1,Yx=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function yp(n){return typeof n!="string"?!1:n.split("/*")[0].includes("var(--")}const di={test:n=>typeof n=="number",parse:parseFloat,transform:n=>n},fs={...di,transform:n=>un(0,1,n)},Vo={...di,default:1},as=n=>Math.round(n*1e5)/1e5,Xu=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Xx(n){return n==null}const Qx=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Qu=(n,r)=>s=>!!(typeof s=="string"&&Qx.test(s)&&s.startsWith(n)||r&&!Xx(s)&&Object.prototype.hasOwnProperty.call(s,r)),gm=(n,r,s)=>a=>{if(typeof a!="string")return a;const[u,f,c,p]=a.match(Xu);return{[n]:parseFloat(u),[r]:parseFloat(f),[s]:parseFloat(c),alpha:p!==void 0?parseFloat(p):1}},qx=n=>un(0,255,n),Hl={...di,transform:n=>Math.round(qx(n))},Tr={test:Qu("rgb","red"),parse:gm("red","green","blue"),transform:({red:n,green:r,blue:s,alpha:a=1})=>"rgba("+Hl.transform(n)+", "+Hl.transform(r)+", "+Hl.transform(s)+", "+as(fs.transform(a))+")"};function Zx(n){let r="",s="",a="",u="";return n.length>5?(r=n.substring(1,3),s=n.substring(3,5),a=n.substring(5,7),u=n.substring(7,9)):(r=n.substring(1,2),s=n.substring(2,3),a=n.substring(3,4),u=n.substring(4,5),r+=r,s+=s,a+=a,u+=u),{red:parseInt(r,16),green:parseInt(s,16),blue:parseInt(a,16),alpha:u?parseInt(u,16)/255:1}}const du={test:Qu("#"),parse:Zx,transform:Tr.transform},vs=n=>({test:r=>typeof r=="string"&&r.endsWith(n)&&r.split(" ").length===1,parse:parseFloat,transform:r=>`${r}${n}`}),Zn=vs("deg"),ln=vs("%"),Q=vs("px"),Jx=vs("vh"),e1=vs("vw"),vp={...ln,parse:n=>ln.parse(n)/100,transform:n=>ln.transform(n*100)},ti={test:Qu("hsl","hue"),parse:gm("hue","saturation","lightness"),transform:({hue:n,saturation:r,lightness:s,alpha:a=1})=>"hsla("+Math.round(n)+", "+ln.transform(as(r))+", "+ln.transform(as(s))+", "+as(fs.transform(a))+")"},Ye={test:n=>Tr.test(n)||du.test(n)||ti.test(n),parse:n=>Tr.test(n)?Tr.parse(n):ti.test(n)?ti.parse(n):du.parse(n),transform:n=>typeof n=="string"?n:n.hasOwnProperty("red")?Tr.transform(n):ti.transform(n),getAnimatableNone:n=>{const r=Ye.parse(n);return r.alpha=0,Ye.transform(r)}},t1=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function n1(n){var r,s;return isNaN(n)&&typeof n=="string"&&(((r=n.match(Xu))==null?void 0:r.length)||0)+(((s=n.match(t1))==null?void 0:s.length)||0)>0}const ym="number",vm="color",r1="var",i1="var(",xp="${}",s1=/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 ps(n){const r=n.toString(),s=[],a={color:[],number:[],var:[]},u=[];let f=0;const p=r.replace(s1,h=>(Ye.test(h)?(a.color.push(f),u.push(vm),s.push(Ye.parse(h))):h.startsWith(i1)?(a.var.push(f),u.push(r1),s.push(h)):(a.number.push(f),u.push(ym),s.push(parseFloat(h))),++f,xp)).split(xp);return{values:s,split:p,indexes:a,types:u}}function xm(n){return ps(n).values}function wm(n){const{split:r,types:s}=ps(n),a=r.length;return u=>{let f="";for(let c=0;c<a;c++)if(f+=r[c],u[c]!==void 0){const p=s[c];p===ym?f+=as(u[c]):p===vm?f+=Ye.transform(u[c]):f+=u[c]}return f}}const o1=n=>typeof n=="number"?0:Ye.test(n)?Ye.getAnimatableNone(n):n;function a1(n){const r=xm(n);return wm(n)(r.map(o1))}const tr={test:n1,parse:xm,createTransformer:wm,getAnimatableNone:a1};function Kl(n,r,s){return s<0&&(s+=1),s>1&&(s-=1),s<1/6?n+(r-n)*6*s:s<1/2?r:s<2/3?n+(r-n)*(2/3-s)*6:n}function l1({hue:n,saturation:r,lightness:s,alpha:a}){n/=360,r/=100,s/=100;let u=0,f=0,c=0;if(!r)u=f=c=s;else{const p=s<.5?s*(1+r):s+r-s*r,h=2*s-p;u=Kl(h,p,n+1/3),f=Kl(h,p,n),c=Kl(h,p,n-1/3)}return{red:Math.round(u*255),green:Math.round(f*255),blue:Math.round(c*255),alpha:a}}function Ho(n,r){return s=>s>0?r:n}const ze=(n,r,s)=>n+(r-n)*s,Gl=(n,r,s)=>{const a=n*n,u=s*(r*r-a)+a;return u<0?0:Math.sqrt(u)},u1=[du,Tr,ti],c1=n=>u1.find(r=>r.test(n));function wp(n){const r=c1(n);if(!r)return!1;let s=r.parse(n);return r===ti&&(s=l1(s)),s}const Sp=(n,r)=>{const s=wp(n),a=wp(r);if(!s||!a)return Ho(n,r);const u={...s};return f=>(u.red=Gl(s.red,a.red,f),u.green=Gl(s.green,a.green,f),u.blue=Gl(s.blue,a.blue,f),u.alpha=ze(s.alpha,a.alpha,f),Tr.transform(u))},fu=new Set(["none","hidden"]);function d1(n,r){return fu.has(n)?s=>s<=0?n:r:s=>s>=1?r:n}function f1(n,r){return s=>ze(n,r,s)}function qu(n){return typeof n=="number"?f1:typeof n=="string"?Yu(n)?Ho:Ye.test(n)?Sp:m1:Array.isArray(n)?Sm:typeof n=="object"?Ye.test(n)?Sp:p1:Ho}function Sm(n,r){const s=[...n],a=s.length,u=n.map((f,c)=>qu(f)(f,r[c]));return f=>{for(let c=0;c<a;c++)s[c]=u[c](f);return s}}function p1(n,r){const s={...n,...r},a={};for(const u in s)n[u]!==void 0&&r[u]!==void 0&&(a[u]=qu(n[u])(n[u],r[u]));return u=>{for(const f in a)s[f]=a[f](u);return s}}function h1(n,r){const s=[],a={color:0,var:0,number:0};for(let u=0;u<r.values.length;u++){const f=r.types[u],c=n.indexes[f][a[f]],p=n.values[c]??0;s[u]=p,a[f]++}return s}const m1=(n,r)=>{const s=tr.createTransformer(r),a=ps(n),u=ps(r);return a.indexes.var.length===u.indexes.var.length&&a.indexes.color.length===u.indexes.color.length&&a.indexes.number.length>=u.indexes.number.length?fu.has(n)&&!u.values.length||fu.has(r)&&!a.values.length?d1(n,r):gs(Sm(h1(a,u),u.values),s):Ho(n,r)};function km(n,r,s){return typeof n=="number"&&typeof r=="number"&&typeof s=="number"?ze(n,r,s):qu(n)(n,r)}const g1=n=>{const r=({timestamp:s})=>n(s);return{start:(s=!0)=>De.update(r,s),stop:()=>er(r),now:()=>lt.isProcessing?lt.timestamp:yt.now()}},bm=(n,r,s=10)=>{let a="";const u=Math.max(Math.round(r/s),2);for(let f=0;f<u;f++)a+=Math.round(n(f/(u-1))*1e4)/1e4+", ";return`linear(${a.substring(0,a.length-2)})`},Ko=2e4;function Zu(n){let r=0;const s=50;let a=n.next(r);for(;!a.done&&r<Ko;)r+=s,a=n.next(r);return r>=Ko?1/0:r}function y1(n,r=100,s){const a=s({...n,keyframes:[0,r]}),u=Math.min(Zu(a),Ko);return{type:"keyframes",ease:f=>a.next(u*f).value/r,duration:Ut(u)}}const v1=5;function Tm(n,r,s){const a=Math.max(r-v1,0);return nm(s-n(a),r-a)}const Ue={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},Yl=.001;function x1({duration:n=Ue.duration,bounce:r=Ue.bounce,velocity:s=Ue.velocity,mass:a=Ue.mass}){let u,f,c=1-r;c=un(Ue.minDamping,Ue.maxDamping,c),n=un(Ue.minDuration,Ue.maxDuration,Ut(n)),c<1?(u=y=>{const v=y*c,m=v*n,w=v-s,C=pu(y,c),P=Math.exp(-m);return Yl-w/C*P},f=y=>{const m=y*c*n,w=m*s+s,C=Math.pow(c,2)*Math.pow(y,2)*n,P=Math.exp(-m),j=pu(Math.pow(y,2),c);return(-u(y)+Yl>0?-1:1)*((w-C)*P)/j}):(u=y=>{const v=Math.exp(-y*n),m=(y-s)*n+1;return-Yl+v*m},f=y=>{const v=Math.exp(-y*n),m=(s-y)*(n*n);return v*m});const p=5/n,h=S1(u,f,p);if(n=kn(n),isNaN(h))return{stiffness:Ue.stiffness,damping:Ue.damping,duration:n};{const y=Math.pow(h,2)*a;return{stiffness:y,damping:c*2*Math.sqrt(a*y),duration:n}}}const w1=12;function S1(n,r,s){let a=s;for(let u=1;u<w1;u++)a=a-n(a)/r(a);return a}function pu(n,r){return n*Math.sqrt(1-r*r)}const k1=["duration","bounce"],b1=["stiffness","damping","mass"];function kp(n,r){return r.some(s=>n[s]!==void 0)}function T1(n){let r={velocity:Ue.velocity,stiffness:Ue.stiffness,damping:Ue.damping,mass:Ue.mass,isResolvedFromDuration:!1,...n};if(!kp(n,b1)&&kp(n,k1))if(n.visualDuration){const s=n.visualDuration,a=2*Math.PI/(s*1.2),u=a*a,f=2*un(.05,1,1-(n.bounce||0))*Math.sqrt(u);r={...r,mass:Ue.mass,stiffness:u,damping:f}}else{const s=x1(n);r={...r,...s,mass:Ue.mass},r.isResolvedFromDuration=!0}return r}function Go(n=Ue.visualDuration,r=Ue.bounce){const s=typeof n!="object"?{visualDuration:n,keyframes:[0,1],bounce:r}:n;let{restSpeed:a,restDelta:u}=s;const f=s.keyframes[0],c=s.keyframes[s.keyframes.length-1],p={done:!1,value:f},{stiffness:h,damping:y,mass:v,duration:m,velocity:w,isResolvedFromDuration:C}=T1({...s,velocity:-Ut(s.velocity||0)}),P=w||0,j=y/(2*Math.sqrt(h*v)),A=c-f,I=Ut(Math.sqrt(h/v)),F=Math.abs(A)<5;a||(a=F?Ue.restSpeed.granular:Ue.restSpeed.default),u||(u=F?Ue.restDelta.granular:Ue.restDelta.default);let B;if(j<1){const W=pu(I,j);B=oe=>{const de=Math.exp(-j*I*oe);return c-de*((P+j*I*A)/W*Math.sin(W*oe)+A*Math.cos(W*oe))}}else if(j===1)B=W=>c-Math.exp(-I*W)*(A+(P+I*A)*W);else{const W=I*Math.sqrt(j*j-1);B=oe=>{const de=Math.exp(-j*I*oe),V=Math.min(W*oe,300);return c-de*((P+j*I*A)*Math.sinh(V)+W*A*Math.cosh(V))/W}}const X={calculatedDuration:C&&m||null,next:W=>{const oe=B(W);if(C)p.done=W>=m;else{let de=W===0?P:0;j<1&&(de=W===0?kn(P):Tm(B,W,oe));const V=Math.abs(de)<=a,ge=Math.abs(c-oe)<=u;p.done=V&&ge}return p.value=p.done?c:oe,p},toString:()=>{const W=Math.min(Zu(X),Ko),oe=bm(de=>X.next(W*de).value,W,30);return W+"ms "+oe},toTransition:()=>{}};return X}Go.applyToOptions=n=>{const r=y1(n,100,Go);return n.ease=r.ease,n.duration=kn(r.duration),n.type="keyframes",n};function hu({keyframes:n,velocity:r=0,power:s=.8,timeConstant:a=325,bounceDamping:u=10,bounceStiffness:f=500,modifyTarget:c,min:p,max:h,restDelta:y=.5,restSpeed:v}){const m=n[0],w={done:!1,value:m},C=V=>p!==void 0&&V<p||h!==void 0&&V>h,P=V=>p===void 0?h:h===void 0||Math.abs(p-V)<Math.abs(h-V)?p:h;let j=s*r;const A=m+j,I=c===void 0?A:c(A);I!==A&&(j=I-m);const F=V=>-j*Math.exp(-V/a),B=V=>I+F(V),X=V=>{const ge=F(V),Se=B(V);w.done=Math.abs(ge)<=y,w.value=w.done?I:Se};let W,oe;const de=V=>{C(w.value)&&(W=V,oe=Go({keyframes:[w.value,P(w.value)],velocity:Tm(B,V,w.value),damping:u,stiffness:f,restDelta:y,restSpeed:v}))};return de(0),{calculatedDuration:null,next:V=>{let ge=!1;return!oe&&W===void 0&&(ge=!0,X(V),de(V)),W!==void 0&&V>=W?oe.next(V-W):(!ge&&X(V),w)}}}function C1(n,r,s){const a=[],u=s||Tn.mix||km,f=n.length-1;for(let c=0;c<f;c++){let p=u(n[c],n[c+1]);if(r){const h=Array.isArray(r)?r[c]||$t:r;p=gs(h,p)}a.push(p)}return a}function E1(n,r,{clamp:s=!0,ease:a,mixer:u}={}){const f=n.length;if($u(f===r.length),f===1)return()=>r[0];if(f===2&&r[0]===r[1])return()=>r[1];const c=n[0]===n[1];n[0]>n[f-1]&&(n=[...n].reverse(),r=[...r].reverse());const p=C1(r,a,u),h=p.length,y=v=>{if(c&&v<n[0])return r[0];let m=0;if(h>1)for(;m<n.length-2&&!(v<n[m+1]);m++);const w=ds(n[m],n[m+1],v);return p[m](w)};return s?v=>y(un(n[0],n[f-1],v)):y}function P1(n,r){const s=n[n.length-1];for(let a=1;a<=r;a++){const u=ds(0,r,a);n.push(ze(s,1,u))}}function N1(n){const r=[0];return P1(r,n.length-1),r}function M1(n,r){return n.map(s=>s*r)}function A1(n,r){return n.map(()=>r||dm).splice(0,n.length-1)}function ls({duration:n=300,keyframes:r,times:s,ease:a="easeInOut"}){const u=Bx(a)?a.map(gp):gp(a),f={done:!1,value:r[0]},c=M1(s&&s.length===r.length?s:N1(r),n),p=E1(c,r,{ease:Array.isArray(u)?u:A1(r,u)});return{calculatedDuration:n,next:h=>(f.value=p(h),f.done=h>=n,f)}}const R1=n=>n!==null;function Ju(n,{repeat:r,repeatType:s="loop"},a,u=1){const f=n.filter(R1),p=u<0||r&&s!=="loop"&&r%2===1?0:f.length-1;return!p||a===void 0?f[p]:a}const j1={decay:hu,inertia:hu,tween:ls,keyframes:ls,spring:Go};function Cm(n){typeof n.type=="string"&&(n.type=j1[n.type])}class ec{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(r=>{this.resolve=r})}notifyFinished(){this.resolve()}then(r,s){return this.finished.then(r,s)}}const D1=n=>n/100;class tc extends ec{constructor(r){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var a,u;const{motionValue:s}=this.options;s&&s.updatedAt!==yt.now()&&this.tick(yt.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),(u=(a=this.options).onStop)==null||u.call(a))},this.options=r,this.initAnimation(),this.play(),r.autoplay===!1&&this.pause()}initAnimation(){const{options:r}=this;Cm(r);const{type:s=ls,repeat:a=0,repeatDelay:u=0,repeatType:f,velocity:c=0}=r;let{keyframes:p}=r;const h=s||ls;h!==ls&&typeof p[0]!="number"&&(this.mixKeyframes=gs(D1,km(p[0],p[1])),p=[0,100]);const y=h({...r,keyframes:p});f==="mirror"&&(this.mirroredGenerator=h({...r,keyframes:[...p].reverse(),velocity:-c})),y.calculatedDuration===null&&(y.calculatedDuration=Zu(y));const{calculatedDuration:v}=y;this.calculatedDuration=v,this.resolvedDuration=v+u,this.totalDuration=this.resolvedDuration*(a+1)-u,this.generator=y}updateTime(r){const s=Math.round(r-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=s}tick(r,s=!1){const{generator:a,totalDuration:u,mixKeyframes:f,mirroredGenerator:c,resolvedDuration:p,calculatedDuration:h}=this;if(this.startTime===null)return a.next(0);const{delay:y=0,keyframes:v,repeat:m,repeatType:w,repeatDelay:C,type:P,onUpdate:j,finalKeyframe:A}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,r):this.speed<0&&(this.startTime=Math.min(r-u/this.speed,this.startTime)),s?this.currentTime=r:this.updateTime(r);const I=this.currentTime-y*(this.playbackSpeed>=0?1:-1),F=this.playbackSpeed>=0?I<0:I>u;this.currentTime=Math.max(I,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let B=this.currentTime,X=a;if(m){const V=Math.min(this.currentTime,u)/p;let ge=Math.floor(V),Se=V%1;!Se&&V>=1&&(Se=1),Se===1&&ge--,ge=Math.min(ge,m+1),!!(ge%2)&&(w==="reverse"?(Se=1-Se,C&&(Se-=C/p)):w==="mirror"&&(X=c)),B=un(0,1,Se)*p}const W=F?{done:!1,value:v[0]}:X.next(B);f&&(W.value=f(W.value));let{done:oe}=W;!F&&h!==null&&(oe=this.playbackSpeed>=0?this.currentTime>=u:this.currentTime<=0);const de=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&oe);return de&&P!==hu&&(W.value=Ju(v,this.options,A,this.speed)),j&&j(W.value),de&&this.finish(),W}then(r,s){return this.finished.then(r,s)}get duration(){return Ut(this.calculatedDuration)}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Ut(r)}get time(){return Ut(this.currentTime)}set time(r){var s;r=kn(r),this.currentTime=r,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=r:this.driver&&(this.startTime=this.driver.now()-r/this.playbackSpeed),(s=this.driver)==null||s.start(!1)}get speed(){return this.playbackSpeed}set speed(r){this.updateTime(yt.now());const s=this.playbackSpeed!==r;this.playbackSpeed=r,s&&(this.time=Ut(this.currentTime))}play(){var u,f;if(this.isStopped)return;const{driver:r=g1,startTime:s}=this.options;this.driver||(this.driver=r(c=>this.tick(c))),(f=(u=this.options).onPlay)==null||f.call(u);const a=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=a):this.holdTime!==null?this.startTime=a-this.holdTime:this.startTime||(this.startTime=s??a),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(yt.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){var r,s;this.notifyFinished(),this.teardown(),this.state="finished",(s=(r=this.options).onComplete)==null||s.call(r)}cancel(){var r,s;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(s=(r=this.options).onCancel)==null||s.call(r)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(r){return this.startTime=0,this.tick(r,!0)}attachTimeline(r){var s;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),(s=this.driver)==null||s.stop(),r.observe(this)}}function _1(n){for(let r=1;r<n.length;r++)n[r]??(n[r]=n[r-1])}const Cr=n=>n*180/Math.PI,mu=n=>{const r=Cr(Math.atan2(n[1],n[0]));return gu(r)},I1={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:n=>(Math.abs(n[0])+Math.abs(n[3]))/2,rotate:mu,rotateZ:mu,skewX:n=>Cr(Math.atan(n[1])),skewY:n=>Cr(Math.atan(n[2])),skew:n=>(Math.abs(n[1])+Math.abs(n[2]))/2},gu=n=>(n=n%360,n<0&&(n+=360),n),bp=mu,Tp=n=>Math.sqrt(n[0]*n[0]+n[1]*n[1]),Cp=n=>Math.sqrt(n[4]*n[4]+n[5]*n[5]),V1={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Tp,scaleY:Cp,scale:n=>(Tp(n)+Cp(n))/2,rotateX:n=>gu(Cr(Math.atan2(n[6],n[5]))),rotateY:n=>gu(Cr(Math.atan2(-n[2],n[0]))),rotateZ:bp,rotate:bp,skewX:n=>Cr(Math.atan(n[4])),skewY:n=>Cr(Math.atan(n[1])),skew:n=>(Math.abs(n[1])+Math.abs(n[4]))/2};function yu(n){return n.includes("scale")?1:0}function vu(n,r){if(!n||n==="none")return yu(r);const s=n.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let a,u;if(s)a=V1,u=s;else{const p=n.match(/^matrix\(([-\d.e\s,]+)\)$/u);a=I1,u=p}if(!u)return yu(r);const f=a[r],c=u[1].split(",").map(O1);return typeof f=="function"?f(c):c[f]}const L1=(n,r)=>{const{transform:s="none"}=getComputedStyle(n);return vu(s,r)};function O1(n){return parseFloat(n.trim())}const fi=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],pi=new Set(fi),Ep=n=>n===di||n===Q,z1=new Set(["x","y","z"]),F1=fi.filter(n=>!z1.has(n));function B1(n){const r=[];return F1.forEach(s=>{const a=n.getValue(s);a!==void 0&&(r.push([s,a.get()]),a.set(s.startsWith("scale")?1:0))}),r}const Jn={width:({x:n},{paddingLeft:r="0",paddingRight:s="0"})=>n.max-n.min-parseFloat(r)-parseFloat(s),height:({y:n},{paddingTop:r="0",paddingBottom:s="0"})=>n.max-n.min-parseFloat(r)-parseFloat(s),top:(n,{top:r})=>parseFloat(r),left:(n,{left:r})=>parseFloat(r),bottom:({y:n},{top:r})=>parseFloat(r)+(n.max-n.min),right:({x:n},{left:r})=>parseFloat(r)+(n.max-n.min),x:(n,{transform:r})=>vu(r,"x"),y:(n,{transform:r})=>vu(r,"y")};Jn.translateX=Jn.x;Jn.translateY=Jn.y;const Pr=new Set;let xu=!1,wu=!1,Su=!1;function Em(){if(wu){const n=Array.from(Pr).filter(a=>a.needsMeasurement),r=new Set(n.map(a=>a.element)),s=new Map;r.forEach(a=>{const u=B1(a);u.length&&(s.set(a,u),a.render())}),n.forEach(a=>a.measureInitialState()),r.forEach(a=>{a.render();const u=s.get(a);u&&u.forEach(([f,c])=>{var p;(p=a.getValue(f))==null||p.set(c)})}),n.forEach(a=>a.measureEndState()),n.forEach(a=>{a.suspendedScrollY!==void 0&&window.scrollTo(0,a.suspendedScrollY)})}wu=!1,xu=!1,Pr.forEach(n=>n.complete(Su)),Pr.clear()}function Pm(){Pr.forEach(n=>{n.readKeyframes(),n.needsMeasurement&&(wu=!0)})}function U1(){Su=!0,Pm(),Em(),Su=!1}class nc{constructor(r,s,a,u,f,c=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...r],this.onComplete=s,this.name=a,this.motionValue=u,this.element=f,this.isAsync=c}scheduleResolve(){this.state="scheduled",this.isAsync?(Pr.add(this),xu||(xu=!0,De.read(Pm),De.resolveKeyframes(Em))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:r,name:s,element:a,motionValue:u}=this;if(r[0]===null){const f=u==null?void 0:u.get(),c=r[r.length-1];if(f!==void 0)r[0]=f;else if(a&&s){const p=a.readValue(s,c);p!=null&&(r[0]=p)}r[0]===void 0&&(r[0]=c),u&&f===void 0&&u.set(r[0])}_1(r)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(r=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,r),Pr.delete(this)}cancel(){this.state==="scheduled"&&(Pr.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const $1=n=>n.startsWith("--");function W1(n,r,s){$1(r)?n.style.setProperty(r,s):n.style[r]=s}const H1=Wu(()=>window.ScrollTimeline!==void 0),K1={};function G1(n,r){const s=Wu(n);return()=>K1[r]??s()}const Nm=G1(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),is=([n,r,s,a])=>`cubic-bezier(${n}, ${r}, ${s}, ${a})`,Pp={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:is([0,.65,.55,1]),circOut:is([.55,0,1,.45]),backIn:is([.31,.01,.66,-.59]),backOut:is([.33,1.53,.69,.99])};function Mm(n,r){if(n)return typeof n=="function"?Nm()?bm(n,r):"ease-out":fm(n)?is(n):Array.isArray(n)?n.map(s=>Mm(s,r)||Pp.easeOut):Pp[n]}function Y1(n,r,s,{delay:a=0,duration:u=300,repeat:f=0,repeatType:c="loop",ease:p="easeOut",times:h}={},y=void 0){const v={[r]:s};h&&(v.offset=h);const m=Mm(p,u);Array.isArray(m)&&(v.easing=m);const w={delay:a,duration:u,easing:Array.isArray(m)?"linear":m,fill:"both",iterations:f+1,direction:c==="reverse"?"alternate":"normal"};return y&&(w.pseudoElement=y),n.animate(v,w)}function Am(n){return typeof n=="function"&&"applyToOptions"in n}function X1({type:n,...r}){return Am(n)&&Nm()?n.applyToOptions(r):(r.duration??(r.duration=300),r.ease??(r.ease="easeOut"),r)}class Q1 extends ec{constructor(r){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!r)return;const{element:s,name:a,keyframes:u,pseudoElement:f,allowFlatten:c=!1,finalKeyframe:p,onComplete:h}=r;this.isPseudoElement=!!f,this.allowFlatten=c,this.options=r,$u(typeof r.type!="string");const y=X1(r);this.animation=Y1(s,a,u,y,f),y.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!f){const v=Ju(u,this.options,p,this.speed);this.updateMotionValue?this.updateMotionValue(v):W1(s,a,v),this.animation.cancel()}h==null||h(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){var r,s;(s=(r=this.animation).finish)==null||s.call(r)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:r}=this;r==="idle"||r==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var r,s;this.isPseudoElement||(s=(r=this.animation).commitStyles)==null||s.call(r)}get duration(){var s,a;const r=((a=(s=this.animation.effect)==null?void 0:s.getComputedTiming)==null?void 0:a.call(s).duration)||0;return Ut(Number(r))}get iterationDuration(){const{delay:r=0}=this.options||{};return this.duration+Ut(r)}get time(){return Ut(Number(this.animation.currentTime)||0)}set time(r){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=kn(r)}get speed(){return this.animation.playbackRate}set speed(r){r<0&&(this.finishedTime=null),this.animation.playbackRate=r}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(r){this.manualStartTime=this.animation.startTime=r}attachTimeline({timeline:r,observe:s}){var a;return this.allowFlatten&&((a=this.animation.effect)==null||a.updateTiming({easing:"linear"})),this.animation.onfinish=null,r&&H1()?(this.animation.timeline=r,$t):s(this)}}const Rm={anticipate:lm,backInOut:am,circInOut:cm};function q1(n){return n in Rm}function Z1(n){typeof n.ease=="string"&&q1(n.ease)&&(n.ease=Rm[n.ease])}const Xl=10;class J1 extends Q1{constructor(r){Z1(r),Cm(r),super(r),r.startTime!==void 0&&(this.startTime=r.startTime),this.options=r}updateMotionValue(r){const{motionValue:s,onUpdate:a,onComplete:u,element:f,...c}=this.options;if(!s)return;if(r!==void 0){s.set(r);return}const p=new tc({...c,autoplay:!1}),h=Math.max(Xl,yt.now()-this.startTime),y=un(0,Xl,h-Xl);s.setWithVelocity(p.sample(Math.max(0,h-y)).value,p.sample(h).value,y),p.stop()}}const Np=(n,r)=>r==="zIndex"?!1:!!(typeof n=="number"||Array.isArray(n)||typeof n=="string"&&(tr.test(n)||n==="0")&&!n.startsWith("url("));function ew(n){const r=n[0];if(n.length===1)return!0;for(let s=0;s<n.length;s++)if(n[s]!==r)return!0}function tw(n,r,s,a){const u=n[0];if(u===null)return!1;if(r==="display"||r==="visibility")return!0;
175const f=n[n.length-1],c=Np(u,r),p=Np(f,r);return!c||!p?!1:ew(n)||(s==="spring"||Am(s))&&a}function ku(n){n.duration=0,n.type="keyframes"}const nw=new Set(["opacity","clipPath","filter","transform"]),rw=Wu(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function iw(n){var v;const{motionValue:r,name:s,repeatDelay:a,repeatType:u,damping:f,type:c}=n;if(!(((v=r==null?void 0:r.owner)==null?void 0:v.current)instanceof HTMLElement))return!1;const{onUpdate:h,transformTemplate:y}=r.owner.getProps();return rw()&&s&&nw.has(s)&&(s!=="transform"||!y)&&!h&&!a&&u!=="mirror"&&f!==0&&c!=="inertia"}const sw=40;class ow extends ec{constructor({autoplay:r=!0,delay:s=0,type:a="keyframes",repeat:u=0,repeatDelay:f=0,repeatType:c="loop",keyframes:p,name:h,motionValue:y,element:v,...m}){var P;super(),this.stop=()=>{var j,A;this._animation&&(this._animation.stop(),(j=this.stopTimeline)==null||j.call(this)),(A=this.keyframeResolver)==null||A.cancel()},this.createdAt=yt.now();const w={autoplay:r,delay:s,type:a,repeat:u,repeatDelay:f,repeatType:c,name:h,motionValue:y,element:v,...m},C=(v==null?void 0:v.KeyframeResolver)||nc;this.keyframeResolver=new C(p,(j,A,I)=>this.onKeyframesResolved(j,A,w,!I),h,y,v),(P=this.keyframeResolver)==null||P.scheduleResolve()}onKeyframesResolved(r,s,a,u){this.keyframeResolver=void 0;const{name:f,type:c,velocity:p,delay:h,isHandoff:y,onUpdate:v}=a;this.resolvedAt=yt.now(),tw(r,f,c,p)||((Tn.instantAnimations||!h)&&(v==null||v(Ju(r,a,s))),r[0]=r[r.length-1],ku(a),a.repeat=0);const w={startTime:u?this.resolvedAt?this.resolvedAt-this.createdAt>sw?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:s,...a,keyframes:r},C=!y&&iw(w)?new J1({...w,element:w.motionValue.owner.current}):new tc(w);C.finished.then(()=>this.notifyFinished()).catch($t),this.pendingTimeline&&(this.stopTimeline=C.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=C}get finished(){return this._animation?this.animation.finished:this._finished}then(r,s){return this.finished.finally(r).then(()=>{})}get animation(){var r;return this._animation||((r=this.keyframeResolver)==null||r.resume(),U1()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(r){this.animation.time=r}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(r){this.animation.speed=r}get startTime(){return this.animation.startTime}attachTimeline(r){return this._animation?this.stopTimeline=this.animation.attachTimeline(r):this.pendingTimeline=r,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var r;this._animation&&this.animation.cancel(),(r=this.keyframeResolver)==null||r.cancel()}}const aw=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function lw(n){const r=aw.exec(n);if(!r)return[,];const[,s,a,u]=r;return[`--${s??a}`,u]}function jm(n,r,s=1){const[a,u]=lw(n);if(!a)return;const f=window.getComputedStyle(r).getPropertyValue(a);if(f){const c=f.trim();return Jh(c)?parseFloat(c):c}return Yu(u)?jm(u,r,s+1):u}function rc(n,r){return(n==null?void 0:n[r])??(n==null?void 0:n.default)??n}const Dm=new Set(["width","height","top","left","right","bottom",...fi]),uw={test:n=>n==="auto",parse:n=>n},_m=n=>r=>r.test(n),Im=[di,Q,ln,Zn,e1,Jx,uw],Mp=n=>Im.find(_m(n));function cw(n){return typeof n=="number"?n===0:n!==null?n==="none"||n==="0"||tm(n):!0}const dw=new Set(["brightness","contrast","saturate","opacity"]);function fw(n){const[r,s]=n.slice(0,-1).split("(");if(r==="drop-shadow")return n;const[a]=s.match(Xu)||[];if(!a)return n;const u=s.replace(a,"");let f=dw.has(r)?1:0;return a!==s&&(f*=100),r+"("+f+u+")"}const pw=/\b([a-z-]*)\(.*?\)/gu,bu={...tr,getAnimatableNone:n=>{const r=n.match(pw);return r?r.map(fw).join(" "):n}},Ap={...di,transform:Math.round},hw={rotate:Zn,rotateX:Zn,rotateY:Zn,rotateZ:Zn,scale:Vo,scaleX:Vo,scaleY:Vo,scaleZ:Vo,skew:Zn,skewX:Zn,skewY:Zn,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:fs,originX:vp,originY:vp,originZ:Q},ic={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,top:Q,right:Q,bottom:Q,left:Q,inset:Q,insetBlock:Q,insetBlockStart:Q,insetBlockEnd:Q,insetInline:Q,insetInlineStart:Q,insetInlineEnd:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,paddingBlock:Q,paddingBlockStart:Q,paddingBlockEnd:Q,paddingInline:Q,paddingInlineStart:Q,paddingInlineEnd:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,marginBlock:Q,marginBlockStart:Q,marginBlockEnd:Q,marginInline:Q,marginInlineStart:Q,marginInlineEnd:Q,backgroundPositionX:Q,backgroundPositionY:Q,...hw,zIndex:Ap,fillOpacity:fs,strokeOpacity:fs,numOctaves:Ap},mw={...ic,color:Ye,backgroundColor:Ye,outlineColor:Ye,fill:Ye,stroke:Ye,borderColor:Ye,borderTopColor:Ye,borderRightColor:Ye,borderBottomColor:Ye,borderLeftColor:Ye,filter:bu,WebkitFilter:bu},Vm=n=>mw[n];function Lm(n,r){let s=Vm(n);return s!==bu&&(s=tr),s.getAnimatableNone?s.getAnimatableNone(r):void 0}
vendor: 7,002 bytes, line 175
175const gw=new Set(["auto","none","0"]);function yw(n,r,s){let a=0,u;for(;a<n.length&&!u;){const f=n[a];typeof f=="string"&&!gw.has(f)&&ps(f).values.length&&(u=n[a]),a++}if(u&&s)for(const f of r)n[f]=Lm(s,u)}class vw extends nc{constructor(r,s,a,u,f){super(r,s,a,u,f,!0)}readKeyframes(){const{unresolvedKeyframes:r,element:s,name:a}=this;if(!s||!s.current)return;super.readKeyframes();for(let v=0;v<r.length;v++){let m=r[v];if(typeof m=="string"&&(m=m.trim(),Yu(m))){const w=jm(m,s.current);w!==void 0&&(r[v]=w),v===r.length-1&&(this.finalKeyframe=m)}}if(this.resolveNoneKeyframes(),!Dm.has(a)||r.length!==2)return;const[u,f]=r,c=Mp(u),p=Mp(f),h=yp(u),y=yp(f);if(h!==y&&Jn[a]){this.needsMeasurement=!0;return}if(c!==p)if(Ep(c)&&Ep(p))for(let v=0;v<r.length;v++){const m=r[v];typeof m=="string"&&(r[v]=parseFloat(m))}else Jn[a]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:r,name:s}=this,a=[];for(let u=0;u<r.length;u++)(r[u]===null||cw(r[u]))&&a.push(u);a.length&&yw(r,a,s)}measureInitialState(){const{element:r,unresolvedKeyframes:s,name:a}=this;if(!r||!r.current)return;a==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Jn[a](r.measureViewportBox(),window.getComputedStyle(r.current)),s[0]=this.measuredOrigin;const u=s[s.length-1];u!==void 0&&r.getValue(a,u).jump(u,!1)}measureEndState(){var p;const{element:r,name:s,unresolvedKeyframes:a}=this;if(!r||!r.current)return;const u=r.getValue(s);u&&u.jump(this.measuredOrigin,!1);const f=a.length-1,c=a[f];a[f]=Jn[s](r.measureViewportBox(),window.getComputedStyle(r.current)),c!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=c),(p=this.removedTransforms)!=null&&p.length&&this.removedTransforms.forEach(([h,y])=>{r.getValue(h).set(y)}),this.resolveNoneKeyframes()}}function Om(n,r,s){if(n instanceof EventTarget)return[n];if(typeof n=="string"){const u=document.querySelectorAll(n);return u?Array.from(u):[]}return Array.from(n)}const zm=(n,r)=>r&&typeof n=="number"?r.transform(n):n;function xw(n){return em(n)&&"offsetHeight"in n}const Rp=30,ww=n=>!isNaN(parseFloat(n));class Sw{constructor(r,s={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=a=>{var f;const u=yt.now();if(this.updatedAt!==u&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(a),this.current!==this.prev&&((f=this.events.change)==null||f.notify(this.current),this.dependents))for(const c of this.dependents)c.dirty()},this.hasAnimated=!1,this.setCurrent(r),this.owner=s.owner}setCurrent(r){this.current=r,this.updatedAt=yt.now(),this.canTrackVelocity===null&&r!==void 0&&(this.canTrackVelocity=ww(this.current))}setPrevFrameValue(r=this.current){this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt}onChange(r){return this.on("change",r)}on(r,s){this.events[r]||(this.events[r]=new Hu);const a=this.events[r].add(s);return r==="change"?()=>{a(),De.read(()=>{this.events.change.getSize()||this.stop()})}:a}clearListeners(){for(const r in this.events)this.events[r].clear()}attach(r,s){this.passiveEffect=r,this.stopPassiveEffect=s}set(r){this.passiveEffect?this.passiveEffect(r,this.updateAndNotify):this.updateAndNotify(r)}setWithVelocity(r,s,a){this.set(s),this.prev=void 0,this.prevFrameValue=r,this.prevUpdatedAt=this.updatedAt-a}jump(r,s=!0){this.updateAndNotify(r),this.prev=r,this.prevUpdatedAt=this.prevFrameValue=void 0,s&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var r;(r=this.events.change)==null||r.notify(this.current)}addDependent(r){this.dependents||(this.dependents=new Set),this.dependents.add(r)}removeDependent(r){this.dependents&&this.dependents.delete(r)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const r=yt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||r-this.updatedAt>Rp)return 0;const s=Math.min(this.updatedAt-this.prevUpdatedAt,Rp);return nm(parseFloat(this.current)-parseFloat(this.prevFrameValue),s)}start(r){return this.stop(),new Promise(s=>{this.hasAnimated=!0,this.animation=r(s),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 r,s;(r=this.dependents)==null||r.clear(),(s=this.events.destroy)==null||s.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function ai(n,r){return new Sw(n,r)}const{schedule:sc}=pm(queueMicrotask,!1),Zt={x:!1,y:!1};function Fm(){return Zt.x||Zt.y}function kw(n){return n==="x"||n==="y"?Zt[n]?null:(Zt[n]=!0,()=>{Zt[n]=!1}):Zt.x||Zt.y?null:(Zt.x=Zt.y=!0,()=>{Zt.x=Zt.y=!1})}function Bm(n,r){const s=Om(n),a=new AbortController,u={passive:!0,...r,signal:a.signal};return[s,u,()=>a.abort()]}function jp(n){return!(n.pointerType==="touch"||Fm())}function bw(n,r,s={}){const[a,u,f]=Bm(n,s),c=p=>{if(!jp(p))return;const{target:h}=p,y=r(h,p);if(typeof y!="function"||!h)return;const v=m=>{jp(m)&&(y(m),h.removeEventListener("pointerleave",v))};h.addEventListener("pointerleave",v,u)};return a.forEach(p=>{p.addEventListener("pointerenter",c,u)}),f}const Um=(n,r)=>r?n===r?!0:Um(n,r.parentElement):!1,oc=n=>n.pointerType==="mouse"?typeof n.button!="number"||n.button<=0:n.isPrimary!==!1,Tw=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function $m(n){return Tw.has(n.tagName)||n.isContentEditable===!0}const Bo=new WeakSet;function Dp(n){return r=>{r.key==="Enter"&&n(r)}}function Ql(n,r){n.dispatchEvent(new PointerEvent("pointer"+r,{isPrimary:!0,bubbles:!0}))}const Cw=(n,r)=>{const s=n.currentTarget;if(!s)return;const a=Dp(()=>{if(Bo.has(s))return;Ql(s,"down");const u=Dp(()=>{Ql(s,"up")}),f=()=>Ql(s,"cancel");s.addEventListener("keyup",u,r),s.addEventListener("blur",f,r)});s.addEventListener("keydown",a,r),s.addEventListener("blur",()=>s.removeEventListener("keydown",a),r)};function _p(n){return oc(n)&&!Fm()}function Ew(n,r,s={}){const[a,u,f]=Bm(n,s),c=p=>{const h=p.currentTarget;if(!_p(p))return;Bo.add(h);const y=r(h,p),v=(C,P)=>{window.removeEventListener("pointerup",m),window.removeEventListener("pointercancel",w),Bo.has(h)&&Bo.delete(h),_p(C)&&typeof y=="function"&&y(C,{success:P})},m=C=>{v(C,h===window||h===document||s.useGlobalTarget||Um(h,C.target))},w=C=>{v(C,!1)};window.addEventListener("pointerup",m,u),window.addEventListener("pointercancel",w,u)};return a.forEach(p=>{(s.useGlobalTarget?window:p).addEventListener("pointerdown",c,u),xw(p)&&(p.addEventListener("focus",y=>Cw(y,u)),!$m(p)&&!p.hasAttribute("tabindex")&&(p.tabIndex=0))}),f}function Wm(n){return em(n)&&"ownerSVGElement"in n}function Pw(n){return Wm(n)&&n.tagName==="svg"}const ht=n=>!!(n&&n.getVelocity),Nw=[...Im,Ye,tr],Mw=n=>Nw.find(_m(n)),Hm=_.createContext({transformPagePoint:n=>n,isStatic:!1,reducedMotion:"never"});function Aw(n=!0){const r=_.useContext(Fu);
vendor: 5,289 bytes, line 175
175if(r===null)return[!0,null];const{isPresent:s,onExitComplete:a,register:u}=r,f=_.useId();_.useEffect(()=>{if(n)return u(f)},[n]);const c=_.useCallback(()=>n&&a&&a(f),[f,a,n]);return!s&&a?[!1,c]:[!0]}const Km=_.createContext({strict:!1}),Ip={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"]},li={};for(const n in Ip)li[n]={isEnabled:r=>Ip[n].some(s=>!!r[s])};function Rw(n){for(const r in n)li[r]={...li[r],...n[r]}}const jw=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Yo(n){return n.startsWith("while")||n.startsWith("drag")&&n!=="draggable"||n.startsWith("layout")||n.startsWith("onTap")||n.startsWith("onPan")||n.startsWith("onLayout")||jw.has(n)}let Gm=n=>!Yo(n);function Dw(n){typeof n=="function"&&(Gm=r=>r.startsWith("on")?!Yo(r):n(r))}try{Dw(require("@emotion/is-prop-valid").default)}catch{}function _w(n,r,s){const a={};for(const u in n)u==="values"&&typeof n.values=="object"||(Gm(u)||s===!0&&Yo(u)||!r&&!Yo(u)||n.draggable&&u.startsWith("onDrag"))&&(a[u]=n[u]);return a}const qo=_.createContext({});function Zo(n){return n!==null&&typeof n=="object"&&typeof n.start=="function"}function hs(n){return typeof n=="string"||Array.isArray(n)}const ac=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],lc=["initial",...ac];function Jo(n){return Zo(n.animate)||lc.some(r=>hs(n[r]))}function Ym(n){return!!(Jo(n)||n.variants)}function Iw(n,r){if(Jo(n)){const{initial:s,animate:a}=n;return{initial:s===!1||hs(s)?s:void 0,animate:hs(a)?a:void 0}}return n.inherit!==!1?r:{}}function Vw(n){const{initial:r,animate:s}=Iw(n,_.useContext(qo));return _.useMemo(()=>({initial:r,animate:s}),[Vp(r),Vp(s)])}function Vp(n){return Array.isArray(n)?n.join(" "):n}function Lp(n,r){return r.max===r.min?0:n/(r.max-r.min)*100}const rs={correct:(n,r)=>{if(!r.target)return n;if(typeof n=="string")if(Q.test(n))n=parseFloat(n);else return n;const s=Lp(n,r.target.x),a=Lp(n,r.target.y);return`${s}% ${a}%`}},Lw={correct:(n,{treeScale:r,projectionDelta:s})=>{const a=n,u=tr.parse(n);if(u.length>5)return a;const f=tr.createTransformer(n),c=typeof u[0]!="number"?1:0,p=s.x.scale*r.x,h=s.y.scale*r.y;u[0+c]/=p,u[1+c]/=h;const y=ze(p,h,.5);return typeof u[2+c]=="number"&&(u[2+c]/=y),typeof u[3+c]=="number"&&(u[3+c]/=y),f(u)}},Tu={borderRadius:{...rs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rs,borderTopRightRadius:rs,borderBottomLeftRadius:rs,borderBottomRightRadius:rs,boxShadow:Lw};function Xm(n,{layout:r,layoutId:s}){return pi.has(n)||n.startsWith("origin")||(r||s!==void 0)&&(!!Tu[n]||n==="opacity")}const Ow={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},zw=fi.length;function Fw(n,r,s){let a="",u=!0;for(let f=0;f<zw;f++){const c=fi[f],p=n[c];if(p===void 0)continue;let h=!0;if(typeof p=="number"?h=p===(c.startsWith("scale")?1:0):h=parseFloat(p)===0,!h||s){const y=zm(p,ic[c]);if(!h){u=!1;const v=Ow[c]||c;a+=`${v}(${y}) `}s&&(r[c]=y)}}return a=a.trim(),s?a=s(r,u?"":a):u&&(a="none"),a}function uc(n,r,s){const{style:a,vars:u,transformOrigin:f}=n;let c=!1,p=!1;for(const h in r){const y=r[h];if(pi.has(h)){c=!0;continue}else if(mm(h)){u[h]=y;continue}else{const v=zm(y,ic[h]);h.startsWith("origin")?(p=!0,f[h]=v):a[h]=v}}if(r.transform||(c||s?a.transform=Fw(r,n.transform,s):a.transform&&(a.transform="none")),p){const{originX:h="50%",originY:y="50%",originZ:v=0}=f;a.transformOrigin=`${h} ${y} ${v}`}}const cc=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Qm(n,r,s){for(const a in r)!ht(r[a])&&!Xm(a,s)&&(n[a]=r[a])}function Bw({transformTemplate:n},r){return _.useMemo(()=>{const s=cc();return uc(s,r,n),Object.assign({},s.vars,s.style)},[r])}function Uw(n,r){const s=n.style||{},a={};return Qm(a,s,n),Object.assign(a,Bw(n,r)),a}function $w(n,r){const s={},a=Uw(n,r);return n.drag&&n.dragListener!==!1&&(s.draggable=!1,a.userSelect=a.WebkitUserSelect=a.WebkitTouchCallout="none",a.touchAction=n.drag===!0?"none":`pan-${n.drag==="x"?"y":"x"}`),n.tabIndex===void 0&&(n.onTap||n.onTapStart||n.whileTap)&&(s.tabIndex=0),s.style=a,s}const Ww={offset:"stroke-dashoffset",array:"stroke-dasharray"},Hw={offset:"strokeDashoffset",array:"strokeDasharray"};function Kw(n,r,s=1,a=0,u=!0){n.pathLength=1;const f=u?Ww:Hw;n[f.offset]=Q.transform(-a);const c=Q.transform(r),p=Q.transform(s);n[f.array]=`${c} ${p}`}const Gw=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function qm(n,{attrX:r,attrY:s,attrScale:a,pathLength:u,pathSpacing:f=1,pathOffset:c=0,...p}
vendor: 42,003 bytes, line 175
175,h,y,v){if(uc(n,p,y),h){n.style.viewBox&&(n.attrs.viewBox=n.style.viewBox);return}n.attrs=n.style,n.style={};const{attrs:m,style:w}=n;m.transform&&(w.transform=m.transform,delete m.transform),(w.transform||m.transformOrigin)&&(w.transformOrigin=m.transformOrigin??"50% 50%",delete m.transformOrigin),w.transform&&(w.transformBox=(v==null?void 0:v.transformBox)??"fill-box",delete m.transformBox);for(const C of Gw)m[C]!==void 0&&(w[C]=m[C],delete m[C]);r!==void 0&&(m.x=r),s!==void 0&&(m.y=s),a!==void 0&&(m.scale=a),u!==void 0&&Kw(m,u,f,c,!1)}const Zm=()=>({...cc(),attrs:{}}),Jm=n=>typeof n=="string"&&n.toLowerCase()==="svg";function Yw(n,r,s,a){const u=_.useMemo(()=>{const f=Zm();return qm(f,r,Jm(a),n.transformTemplate,n.style),{...f.attrs,style:{...f.style}}},[r]);if(n.style){const f={};Qm(f,n.style,n),u.style={...f,...u.style}}return u}const Xw=["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 dc(n){return typeof n!="string"||n.includes("-")?!1:!!(Xw.indexOf(n)>-1||/[A-Z]/u.test(n))}function Qw(n,r,s,{latestValues:a},u,f=!1,c){const h=(c??dc(n)?Yw:$w)(r,a,u,n),y=_w(r,typeof n=="string",f),v=n!==_.Fragment?{...y,...h,ref:s}:{},{children:m}=r,w=_.useMemo(()=>ht(m)?m.get():m,[m]);return _.createElement(n,{...v,children:w})}function Op(n){const r=[{},{}];return n==null||n.values.forEach((s,a)=>{r[0][a]=s.get(),r[1][a]=s.getVelocity()}),r}function fc(n,r,s,a){if(typeof r=="function"){const[u,f]=Op(a);r=r(s!==void 0?s:n.custom,u,f)}if(typeof r=="string"&&(r=n.variants&&n.variants[r]),typeof r=="function"){const[u,f]=Op(a);r=r(s!==void 0?s:n.custom,u,f)}return r}function Uo(n){return ht(n)?n.get():n}function qw({scrapeMotionValuesFromProps:n,createRenderState:r},s,a,u){return{latestValues:Zw(s,a,u,n),renderState:r()}}function Zw(n,r,s,a){const u={},f=a(n,{});for(const w in f)u[w]=Uo(f[w]);let{initial:c,animate:p}=n;const h=Jo(n),y=Ym(n);r&&y&&!h&&n.inherit!==!1&&(c===void 0&&(c=r.initial),p===void 0&&(p=r.animate));let v=s?s.initial===!1:!1;v=v||c===!1;const m=v?p:c;if(m&&typeof m!="boolean"&&!Zo(m)){const w=Array.isArray(m)?m:[m];for(let C=0;C<w.length;C++){const P=fc(n,w[C]);if(P){const{transitionEnd:j,transition:A,...I}=P;for(const F in I){let B=I[F];if(Array.isArray(B)){const X=v?B.length-1:0;B=B[X]}B!==null&&(u[F]=B)}for(const F in j)u[F]=j[F]}}}return u}const eg=n=>(r,s)=>{const a=_.useContext(qo),u=_.useContext(Fu),f=()=>qw(n,r,a,u);return s?f():Dx(f)};function pc(n,r,s){var f;const{style:a}=n,u={};for(const c in a)(ht(a[c])||r.style&&ht(r.style[c])||Xm(c,n)||((f=s==null?void 0:s.getValue(c))==null?void 0:f.liveStyle)!==void 0)&&(u[c]=a[c]);return u}const Jw=eg({scrapeMotionValuesFromProps:pc,createRenderState:cc});function tg(n,r,s){const a=pc(n,r,s);for(const u in n)if(ht(n[u])||ht(r[u])){const f=fi.indexOf(u)!==-1?"attr"+u.charAt(0).toUpperCase()+u.substring(1):u;a[f]=n[u]}return a}const eS=eg({scrapeMotionValuesFromProps:tg,createRenderState:Zm}),tS=Symbol.for("motionComponentSymbol");function nS(n,r,s){const a=_.useRef(s);_.useInsertionEffect(()=>{a.current=s});const u=_.useRef(null);return _.useCallback(f=>{var p;f&&((p=n.onMount)==null||p.call(n,f)),r&&(f?r.mount(f):r.unmount());const c=a.current;if(typeof c=="function")if(f){const h=c(f);typeof h=="function"&&(u.current=h)}else u.current?(u.current(),u.current=null):c(f);else c&&(c.current=f)},[r])}const hc=n=>n.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),rS="framerAppearId",ng="data-"+hc(rS),rg=_.createContext({});function ss(n){return n&&typeof n=="object"&&Object.prototype.hasOwnProperty.call(n,"current")}function iS(n,r,s,a,u,f){var A,I;const{visualElement:c}=_.useContext(qo),p=_.useContext(Km),h=_.useContext(Fu),y=_.useContext(Hm).reducedMotion,v=_.useRef(null);a=a||p.renderer,!v.current&&a&&(v.current=a(n,{visualState:r,parent:c,props:s,presenceContext:h,blockInitialAnimation:h?h.initial===!1:!1,reducedMotionConfig:y,isSVG:f}));const m=v.current,w=_.useContext(rg);m&&!m.projection&&u&&(m.type==="html"||m.type==="svg")&&sS(v.current,s,u,w);const C=_.useRef(!1);_.useInsertionEffect(()=>{m&&C.current&&m.update(s,h)});const P=s[ng],j=_.useRef(!!P&&!((A=window.MotionHandoffIsComplete)!=null&&A.call(window,P))&&((I=window.MotionHasOptimisedAnimation)==null?void 0:I.call(window,P)));return _x(()=>{m&&(C.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),j.current&&m.animationState&&m.animationState.animateChanges())}),_.useEffect(()=>{m&&(!j.current&&m.animationState&&m.animationState.animateChanges(),j.current&&(queueMicrotask(()=>{var F;(F=window.MotionHandoffMarkAsComplete)==null||F.call(window,P)}),j.current=!1),m.enteringChildren=void 0)}),m}function sS(n,r,s,a){const{layoutId:u,layout:f,drag:c,dragConstraints:p,layoutScroll:h,layoutRoot:y,layoutCrossfade:v}=r;n.projection=new s(n.latestValues,r["data-framer-portal-id"]?void 0:ig(n.parent)),n.projection.setOptions({layoutId:u,layout:f,alwaysMeasureLayout:!!c||p&&ss(p),visualElement:n,animationType:typeof f=="string"?f:"both",initialPromotionConfig:a,crossfade:v,layoutScroll:h,layoutRoot:y})}function ig(n){if(n)return n.options.allowProjection!==!1?n.projection:ig(n.parent)}function ql(n,{forwardMotionProps:r=!1,type:s}={},a,u){a&&Rw(a);const f=s?s==="svg":dc(n),c=f?eS:Jw;function p(y,v){let m;const w={..._.useContext(Hm),...y,layoutId:oS(y)},{isStatic:C}=w,P=Vw(y),j=c(y,C);if(!C&&zu){aS();const A=lS(w);m=A.MeasureLayout,P.visualElement=iS(n,j,w,u,A.ProjectionNode,f)}return S.jsxs(qo.Provider,{value:P,children:[m&&P.visualElement?S.jsx(m,{visualElement:P.visualElement,...w}):null,Qw(n,y,nS(j,P.visualElement,v),j,C,r,f)]})}p.displayName=`motion.${typeof n=="string"?n:`create(${n.displayName??n.name??""})`}`;const h=_.forwardRef(p);return h[tS]=n,h}function oS({layoutId:n}){const r=_.useContext(Zh).id;return r&&n!==void 0?r+"-"+n:n}function aS(n,r){_.useContext(Km).strict}function lS(n){const{drag:r,layout:s}=li;if(!r&&!s)return{};const a={...r,...s};return{MeasureLayout:r!=null&&r.isEnabled(n)||s!=null&&s.isEnabled(n)?a.MeasureLayout:void 0,ProjectionNode:a.ProjectionNode}}function uS(n,r){if(typeof Proxy>"u")return ql;const s=new Map,a=(f,c)=>ql(f,c,n,r),u=(f,c)=>a(f,c);return new Proxy(u,{get:(f,c)=>c==="create"?a:(s.has(c)||s.set(c,ql(c,void 0,n,r)),s.get(c))})}function sg({top:n,left:r,right:s,bottom:a}){return{x:{min:r,max:s},y:{min:n,max:a}}}function cS({x:n,y:r}){return{top:r.min,right:n.max,bottom:r.max,left:n.min}}function dS(n,r){if(!r)return n;const s=r({x:n.left,y:n.top}),a=r({x:n.right,y:n.bottom});return{top:s.y,left:s.x,bottom:a.y,right:a.x}}function Zl(n){return n===void 0||n===1}function Cu({scale:n,scaleX:r,scaleY:s}){return!Zl(n)||!Zl(r)||!Zl(s)}function br(n){return Cu(n)||og(n)||n.z||n.rotate||n.rotateX||n.rotateY||n.skewX||n.skewY}function og(n){return zp(n.x)||zp(n.y)}function zp(n){return n&&n!=="0%"}function Xo(n,r,s){const a=n-s,u=r*a;return s+u}function Fp(n,r,s,a,u){return u!==void 0&&(n=Xo(n,u,a)),Xo(n,s,a)+r}function Eu(n,r=0,s=1,a,u){n.min=Fp(n.min,r,s,a,u),n.max=Fp(n.max,r,s,a,u)}function ag(n,{x:r,y:s}){Eu(n.x,r.translate,r.scale,r.originPoint),Eu(n.y,s.translate,s.scale,s.originPoint)}const Bp=.999999999999,Up=1.0000000000001;function fS(n,r,s,a=!1){const u=s.length;if(!u)return;r.x=r.y=1;let f,c;for(let p=0;p<u;p++){f=s[p],c=f.projectionDelta;const{visualElement:h}=f.options;h&&h.props.style&&h.props.style.display==="contents"||(a&&f.options.layoutScroll&&f.scroll&&f!==f.root&&ri(n,{x:-f.scroll.offset.x,y:-f.scroll.offset.y}),c&&(r.x*=c.x.scale,r.y*=c.y.scale,ag(n,c)),a&&br(f.latestValues)&&ri(n,f.latestValues))}r.x<Up&&r.x>Bp&&(r.x=1),r.y<Up&&r.y>Bp&&(r.y=1)}function ni(n,r){n.min=n.min+r,n.max=n.max+r}function $p(n,r,s,a,u=.5){const f=ze(n.min,n.max,u);Eu(n,r,s,f,a)}function ri(n,r){$p(n.x,r.x,r.scaleX,r.scale,r.originX),$p(n.y,r.y,r.scaleY,r.scale,r.originY)}function lg(n,r){return sg(dS(n.getBoundingClientRect(),r))}function pS(n,r,s){const a=lg(n,s),{scroll:u}=r;return u&&(ni(a.x,u.offset.x),ni(a.y,u.offset.y)),a}const Wp=()=>({translate:0,scale:1,origin:0,originPoint:0}),ii=()=>({x:Wp(),y:Wp()}),Hp=()=>({min:0,max:0}),Je=()=>({x:Hp(),y:Hp()}),Pu={current:null},ug={current:!1};function hS(){if(ug.current=!0,!!zu)if(window.matchMedia){const n=window.matchMedia("(prefers-reduced-motion)"),r=()=>Pu.current=n.matches;n.addEventListener("change",r),r()}else Pu.current=!1}const mS=new WeakMap;function gS(n,r,s){for(const a in r){const u=r[a],f=s[a];if(ht(u))n.addValue(a,u);else if(ht(f))n.addValue(a,ai(u,{owner:n}));else if(f!==u)if(n.hasValue(a)){const c=n.getValue(a);c.liveStyle===!0?c.jump(u):c.hasAnimated||c.set(u)}else{const c=n.getStaticValue(a);n.addValue(a,ai(c!==void 0?c:u,{owner:n}))}}for(const a in s)r[a]===void 0&&n.removeValue(a);return r}const Kp=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class yS{scrapeMotionValuesFromProps(r,s,a){return{}}constructor({parent:r,props:s,presenceContext:a,reducedMotionConfig:u,blockInitialAnimation:f,visualState:c},p={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=nc,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const w=yt.now();this.renderScheduledAt<w&&(this.renderScheduledAt=w,De.render(this.render,!1,!0))};const{latestValues:h,renderState:y}=c;this.latestValues=h,this.baseTarget={...h},this.initialValues=s.initial?{...h}:{},this.renderState=y,this.parent=r,this.props=s,this.presenceContext=a,this.depth=r?r.depth+1:0,this.reducedMotionConfig=u,this.options=p,this.blockInitialAnimation=!!f,this.isControllingVariants=Jo(s),this.isVariantNode=Ym(s),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(r&&r.current);const{willChange:v,...m}=this.scrapeMotionValuesFromProps(s,{},this);for(const w in m){const C=m[w];h[w]!==void 0&&ht(C)&&C.set(h[w])}}mount(r){var s;this.current=r,mS.set(r,this),this.projection&&!this.projection.instance&&this.projection.mount(r),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((a,u)=>this.bindToMotionValue(u,a)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(ug.current||hS(),this.shouldReduceMotion=Pu.current),(s=this.parent)==null||s.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var r;this.projection&&this.projection.unmount(),er(this.notifyUpdate),er(this.render),this.valueSubscriptions.forEach(s=>s()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(r=this.parent)==null||r.removeChild(this);for(const s in this.events)this.events[s].clear();for(const s in this.features){const a=this.features[s];a&&(a.unmount(),a.isMounted=!1)}this.current=null}addChild(r){this.children.add(r),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(r)}removeChild(r){this.children.delete(r),this.enteringChildren&&this.enteringChildren.delete(r)}bindToMotionValue(r,s){this.valueSubscriptions.has(r)&&this.valueSubscriptions.get(r)();const a=pi.has(r);a&&this.onBindTransform&&this.onBindTransform();const u=s.on("change",c=>{this.latestValues[r]=c,this.props.onUpdate&&De.preRender(this.notifyUpdate),a&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let f;window.MotionCheckAppearSync&&(f=window.MotionCheckAppearSync(this,r,s)),this.valueSubscriptions.set(r,()=>{u(),f&&f(),s.owner&&s.stop()})}sortNodePosition(r){return!this.current||!this.sortInstanceNodePosition||this.type!==r.type?0:this.sortInstanceNodePosition(this.current,r.current)}updateFeatures(){let r="animation";for(r in li){const s=li[r];if(!s)continue;const{isEnabled:a,Feature:u}=s;if(!this.features[r]&&u&&a(this.props)&&(this.features[r]=new u(this)),this.features[r]){const f=this.features[r];f.isMounted?f.update():(f.mount(),f.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Je()}getStaticValue(r){return this.latestValues[r]}setStaticValue(r,s){this.latestValues[r]=s}update(r,s){(r.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=r,this.prevPresenceContext=this.presenceContext,this.presenceContext=s;for(let a=0;a<Kp.length;a++){const u=Kp[a];this.propEventSubscriptions[u]&&(this.propEventSubscriptions[u](),delete this.propEventSubscriptions[u]);const f="on"+u,c=r[f];c&&(this.propEventSubscriptions[u]=this.on(u,c))}this.prevMotionValues=gS(this,this.scrapeMotionValuesFromProps(r,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(r){return this.props.variants?this.props.variants[r]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(r){const s=this.getClosestVariantNode();if(s)return s.variantChildren&&s.variantChildren.add(r),()=>s.variantChildren.delete(r)}addValue(r,s){const a=this.values.get(r);s!==a&&(a&&this.removeValue(r),this.bindToMotionValue(r,s),this.values.set(r,s),this.latestValues[r]=s.get())}removeValue(r){this.values.delete(r);const s=this.valueSubscriptions.get(r);s&&(s(),this.valueSubscriptions.delete(r)),delete this.latestValues[r],this.removeValueFromRenderState(r,this.renderState)}hasValue(r){return this.values.has(r)}getValue(r,s){if(this.props.values&&this.props.values[r])return this.props.values[r];let a=this.values.get(r);return a===void 0&&s!==void 0&&(a=ai(s===null?void 0:s,{owner:this}),this.addValue(r,a)),a}readValue(r,s){let a=this.latestValues[r]!==void 0||!this.current?this.latestValues[r]:this.getBaseTargetFromProps(this.props,r)??this.readValueFromInstance(this.current,r,this.options);return a!=null&&(typeof a=="string"&&(Jh(a)||tm(a))?a=parseFloat(a):!Mw(a)&&tr.test(s)&&(a=Lm(r,s)),this.setBaseTarget(r,ht(a)?a.get():a)),ht(a)?a.get():a}setBaseTarget(r,s){this.baseTarget[r]=s}getBaseTarget(r){var f;const{initial:s}=this.props;let a;if(typeof s=="string"||typeof s=="object"){const c=fc(this.props,s,(f=this.presenceContext)==null?void 0:f.custom);c&&(a=c[r])}if(s&&a!==void 0)return a;const u=this.getBaseTargetFromProps(this.props,r);return u!==void 0&&!ht(u)?u:this.initialValues[r]!==void 0&&a===void 0?void 0:this.baseTarget[r]}on(r,s){return this.events[r]||(this.events[r]=new Hu),this.events[r].add(s)}notify(r,...s){this.events[r]&&this.events[r].notify(...s)}scheduleRenderMicrotask(){sc.render(this.render)}}class cg extends yS{constructor(){super(...arguments),this.KeyframeResolver=vw}sortInstanceNodePosition(r,s){return r.compareDocumentPosition(s)&2?1:-1}getBaseTargetFromProps(r,s){return r.style?r.style[s]:void 0}removeValueFromRenderState(r,{vars:s,style:a}){delete s[r],delete a[r]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:r}=this.props;ht(r)&&(this.childSubscription=r.on("change",s=>{this.current&&(this.current.textContent=`${s}`)}))}}function dg(n,{style:r,vars:s},a,u){const f=n.style;let c;for(c in r)f[c]=r[c];u==null||u.applyProjectionStyles(f,a);for(c in s)f.setProperty(c,s[c])}function vS(n){return window.getComputedStyle(n)}class xS extends cg{constructor(){super(...arguments),this.type="html",this.renderInstance=dg}readValueFromInstance(r,s){var a;if(pi.has(s))return(a=this.projection)!=null&&a.isProjecting?yu(s):L1(r,s);{const u=vS(r),f=(mm(s)?u.getPropertyValue(s):u[s])||0;return typeof f=="string"?f.trim():f}}measureInstanceViewportBox(r,{transformPagePoint:s}){return lg(r,s)}build(r,s,a){uc(r,s,a.transformTemplate)}scrapeMotionValuesFromProps(r,s,a){return pc(r,s,a)}}const fg=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function wS(n,r,s,a){dg(n,r,void 0,a);for(const u in r.attrs)n.setAttribute(fg.has(u)?u:hc(u),r.attrs[u])}class SS extends cg{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Je}getBaseTargetFromProps(r,s){return r[s]}readValueFromInstance(r,s){if(pi.has(s)){const a=Vm(s);return a&&a.default||0}return s=fg.has(s)?s:hc(s),r.getAttribute(s)}scrapeMotionValuesFromProps(r,s,a){return tg(r,s,a)}build(r,s,a){qm(r,s,this.isSVGTag,a.transformTemplate,a.style)}renderInstance(r,s,a,u){wS(r,s,a,u)}mount(r){this.isSVGTag=Jm(r.tagName),super.mount(r)}}const kS=(n,r)=>r.isSVG??dc(n)?new SS(r):new xS(r,{allowProjection:n!==_.Fragment});function si(n,r,s){const a=n.getProps();return fc(a,r,s!==void 0?s:a.custom,n)}const Nu=n=>Array.isArray(n);function bS(n,r,s){n.hasValue(r)?n.getValue(r).set(s):n.addValue(r,ai(s))}function TS(n){return Nu(n)?n[n.length-1]||0:n}function CS(n,r){const s=si(n,r);let{transitionEnd:a={},transition:u={},...f}=s||{};f={...f,...a};for(const c in f){const p=TS(f[c]);bS(n,c,p)}}function ES(n){return!!(ht(n)&&n.add)}function Mu(n,r){const s=n.getValue("willChange");if(ES(s))return s.add(r);if(!s&&Tn.WillChange){const a=new Tn.WillChange("auto");n.addValue("willChange",a),a.add(r)}}function pg(n){return n.props[ng]}const PS=n=>n!==null;function NS(n,{repeat:r,repeatType:s="loop"},a){const u=n.filter(PS),f=r&&s!=="loop"&&r%2===1?0:u.length-1;return u[f]}const MS={type:"spring",stiffness:500,damping:25,restSpeed:10},AS=n=>({type:"spring",stiffness:550,damping:n===0?2*Math.sqrt(550):30,restSpeed:10}),RS={type:"keyframes",duration:.8},jS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},DS=(n,{keyframes:r})=>r.length>2?RS:pi.has(n)?n.startsWith("scale")?AS(r[1]):MS:jS;function _S({when:n,delay:r,delayChildren:s,staggerChildren:a,staggerDirection:u,repeat:f,repeatType:c,repeatDelay:p,from:h,elapsed:y,...v}){return!!Object.keys(v).length}const mc=(n,r,s,a={},u,f)=>c=>{const p=rc(a,n)||{},h=p.delay||a.delay||0;let{elapsed:y=0}=a;y=y-kn(h);const v={keyframes:Array.isArray(s)?s:[null,s],ease:"easeOut",velocity:r.getVelocity(),...p,delay:-y,onUpdate:w=>{r.set(w),p.onUpdate&&p.onUpdate(w)},onComplete:()=>{c(),p.onComplete&&p.onComplete()},name:n,motionValue:r,element:f?void 0:u};_S(p)||Object.assign(v,DS(n,v)),v.duration&&(v.duration=kn(v.duration)),v.repeatDelay&&(v.repeatDelay=kn(v.repeatDelay)),v.from!==void 0&&(v.keyframes[0]=v.from);let m=!1;if((v.type===!1||v.duration===0&&!v.repeatDelay)&&(ku(v),v.delay===0&&(m=!0)),(Tn.instantAnimations||Tn.skipAnimations)&&(m=!0,ku(v),v.delay=0),v.allowFlatten=!p.type&&!p.ease,m&&!f&&r.get()!==void 0){const w=NS(v.keyframes,p);if(w!==void 0){De.update(()=>{v.onUpdate(w),v.onComplete()});return}}return p.isSync?new tc(v):new ow(v)};function IS({protectedKeys:n,needsAnimating:r},s){const a=n.hasOwnProperty(s)&&r[s]!==!0;return r[s]=!1,a}function hg(n,r,{delay:s=0,transitionOverride:a,type:u}={}){let{transition:f=n.getDefaultTransition(),transitionEnd:c,...p}=r;a&&(f=a);const h=[],y=u&&n.animationState&&n.animationState.getState()[u];for(const v in p){const m=n.getValue(v,n.latestValues[v]??null),w=p[v];if(w===void 0||y&&IS(y,v))continue;const C={delay:s,...rc(f||{},v)},P=m.get();if(P!==void 0&&!m.isAnimating&&!Array.isArray(w)&&w===P&&!C.velocity)continue;let j=!1;if(window.MotionHandoffAnimation){const I=pg(n);if(I){const F=window.MotionHandoffAnimation(I,v,De);F!==null&&(C.startTime=F,j=!0)}}Mu(n,v),m.start(mc(v,m,w,n.shouldReduceMotion&&Dm.has(v)?{type:!1}:C,n,j));const A=m.animation;A&&h.push(A)}return c&&Promise.all(h).then(()=>{De.update(()=>{c&&CS(n,c)})}),h}function mg(n,r,s,a=0,u=1){const f=Array.from(n).sort((y,v)=>y.sortNodePosition(v)).indexOf(r),c=n.size,p=(c-1)*a;return typeof s=="function"?s(f,c):u===1?f*a:p-f*a}function Au(n,r,s={}){var h;const a=si(n,r,s.type==="exit"?(h=n.presenceContext)==null?void 0:h.custom:void 0);let{transition:u=n.getDefaultTransition()||{}}=a||{};s.transitionOverride&&(u=s.transitionOverride);const f=a?()=>Promise.all(hg(n,a,s)):()=>Promise.resolve(),c=n.variantChildren&&n.variantChildren.size?(y=0)=>{const{delayChildren:v=0,staggerChildren:m,staggerDirection:w}=u;return VS(n,r,y,v,m,w,s)}:()=>Promise.resolve(),{when:p}=u;if(p){const[y,v]=p==="beforeChildren"?[f,c]:[c,f];return y().then(()=>v())}else return Promise.all([f(),c(s.delay)])}function VS(n,r,s=0,a=0,u=0,f=1,c){const p=[];for(const h of n.variantChildren)h.notify("AnimationStart",r),p.push(Au(h,r,{...c,delay:s+(typeof a=="function"?0:a)+mg(n.variantChildren,h,a,u,f)}).then(()=>h.notify("AnimationComplete",r)));return Promise.all(p)}function LS(n,r,s={}){n.notify("AnimationStart",r);let a;if(Array.isArray(r)){const u=r.map(f=>Au(n,f,s));a=Promise.all(u)}else if(typeof r=="string")a=Au(n,r,s);else{const u=typeof r=="function"?si(n,r,s.custom):r;a=Promise.all(hg(n,u,s))}return a.then(()=>{n.notify("AnimationComplete",r)})}function gg(n,r){if(!Array.isArray(r))return!1;const s=r.length;if(s!==n.length)return!1;for(let a=0;a<s;a++)if(r[a]!==n[a])return!1;return!0}const OS=lc.length;function yg(n){if(!n)return;if(!n.isControllingVariants){const s=n.parent?yg(n.parent)||{}:{};return n.props.initial!==void 0&&(s.initial=n.props.initial),s}const r={};for(let s=0;s<OS;s++){const a=lc[s],u=n.props[a];(hs(u)||u===!1)&&(r[a]=u)}return r}const zS=[...ac].reverse(),FS=ac.length;function BS(n){return r=>Promise.all(r.map(({animation:s,options:a})=>LS(n,s,a)))}function US(n){let r=BS(n),s=Gp(),a=!0;const u=h=>(y,v)=>{var w;const m=si(n,v,h==="exit"?(w=n.presenceContext)==null?void 0:w.custom:void 0);if(m){const{transition:C,transitionEnd:P,...j}=m;y={...y,...j,...P}}return y};function f(h){r=h(n)}function c(h){const{props:y}=n,v=yg(n.parent)||{},m=[],w=new Set;let C={},P=1/0;for(let A=0;A<FS;A++){const I=zS[A],F=s[I],B=y[I]!==void 0?y[I]:v[I],X=hs(B),W=I===h?F.isActive:null;W===!1&&(P=A);let oe=B===v[I]&&B!==y[I]&&X;if(oe&&a&&n.manuallyAnimateOnMount&&(oe=!1),F.protectedKeys={...C},!F.isActive&&W===null||!B&&!F.prevProp||Zo(B)||typeof B=="boolean")continue;const de=$S(F.prevProp,B);let V=de||I===h&&F.isActive&&!oe&&X||A>P&&X,ge=!1;const Se=Array.isArray(B)?B:[B];let Ce=Se.reduce(u(I),{});W===!1&&(Ce={});const{prevResolvedValues:Ne={}}=F,Me={...Ne,...Ce},Ve=ie=>{V=!0,w.has(ie)&&(ge=!0,w.delete(ie)),F.needsAnimating[ie]=!0;const R=n.getValue(ie);R&&(R.liveStyle=!1)};for(const ie in Me){const R=Ce[ie],G=Ne[ie];if(C.hasOwnProperty(ie))continue;let H=!1;Nu(R)&&Nu(G)?H=!gg(R,G):H=R!==G,H?R!=null?Ve(ie):w.add(ie):R!==void 0&&w.has(ie)?Ve(ie):F.protectedKeys[ie]=!0}F.prevProp=B,F.prevResolvedValues=Ce,F.isActive&&(C={...C,...Ce}),a&&n.blockInitialAnimation&&(V=!1);const ke=oe&&de;V&&(!ke||ge)&&m.push(...Se.map(ie=>{const R={type:I};if(typeof ie=="string"&&a&&!ke&&n.manuallyAnimateOnMount&&n.parent){const{parent:G}=n,H=si(G,ie);if(G.enteringChildren&&H){const{delayChildren:b}=H.transition||{};R.delay=mg(G.enteringChildren,n,b)}}return{animation:ie,options:R}}))}if(w.size){const A={};if(typeof y.initial!="boolean"){const I=si(n,Array.isArray(y.initial)?y.initial[0]:y.initial);I&&I.transition&&(A.transition=I.transition)}w.forEach(I=>{const F=n.getBaseTarget(I),B=n.getValue(I);B&&(B.liveStyle=!0),A[I]=F??null}),m.push({animation:A})}let j=!!m.length;return a&&(y.initial===!1||y.initial===y.animate)&&!n.manuallyAnimateOnMount&&(j=!1),a=!1,j?r(m):Promise.resolve()}function p(h,y){var m;if(s[h].isActive===y)return Promise.resolve();(m=n.variantChildren)==null||m.forEach(w=>{var C;return(C=w.animationState)==null?void 0:C.setActive(h,y)}),s[h].isActive=y;const v=c(h);for(const w in s)s[w].protectedKeys={};return v}return{animateChanges:c,setActive:p,setAnimateFunction:f,getState:()=>s,reset:()=>{s=Gp()}}}function $S(n,r){return typeof r=="string"?r!==n:Array.isArray(r)?!gg(r,n):!1}function kr(n=!1){return{isActive:n,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Gp(){return{animate:kr(!0),whileInView:kr(),whileHover:kr(),whileTap:kr(),whileDrag:kr(),whileFocus:kr(),exit:kr()}}class nr{constructor(r){this.isMounted=!1,this.node=r}update(){}}class WS extends nr{constructor(r){super(r),r.animationState||(r.animationState=US(r))}updateAnimationControlsSubscription(){const{animate:r}=this.node.getProps();Zo(r)&&(this.unmountControls=r.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:r}=this.node.getProps(),{animate:s}=this.node.prevProps||{};r!==s&&this.updateAnimationControlsSubscription()}unmount(){var r;this.node.animationState.reset(),(r=this.unmountControls)==null||r.call(this)}}let HS=0;class KS extends nr{constructor(){super(...arguments),this.id=HS++}update(){if(!this.node.presenceContext)return;const{isPresent:r,onExitComplete:s}=this.node.presenceContext,{isPresent:a}=this.node.prevPresenceContext||{};if(!this.node.animationState||r===a)return;const u=this.node.animationState.setActive("exit",!r);s&&!r&&u.then(()=>{s(this.id)})}mount(){const{register:r,onExitComplete:s}=this.node.presenceContext||{};s&&s(this.id),r&&(this.unmount=r(this.id))}unmount(){}}const GS={animation:{Feature:WS},exit:{Feature:KS}};function ms(n,r,s,a={passive:!0}){return n.addEventListener(r,s,a),()=>n.removeEventListener(r,s)}function xs(n){return{point:{x:n.pageX,y:n.pageY}}}const YS=n=>r=>oc(r)&&n(r,xs(r));function us(n,r,s,a){return ms(n,r,YS(s),a)}const vg=1e-4,XS=1-vg,QS=1+vg,xg=.01,qS=0-xg,ZS=0+xg;function vt(n){return n.max-n.min}function JS(n,r,s){return Math.abs(n-r)<=s}function Yp(n,r,s,a=.5){n.origin=a,n.originPoint=ze(r.min,r.max,n.origin),n.scale=vt(s)/vt(r),n.translate=ze(s.min,s.max,n.origin)-n.originPoint,(n.scale>=XS&&n.scale<=QS||isNaN(n.scale))&&(n.scale=1),(n.translate>=qS&&n.translate<=ZS||isNaN(n.translate))&&(n.translate=0)}function cs(n,r,s,a){Yp(n.x,r.x,s.x,a?a.originX:void 0),Yp(n.y,r.y,s.y,a?a.originY:void 0)}function Xp(n,r,s){n.min=s.min+r.min,n.max=n.min+vt(r)}function ek(n,r,s){Xp(n.x,r.x,s.x),Xp(n.y,r.y,s.y)}function Qp(n,r,s){n.min=r.min-s.min,n.max=n.min+vt(r)}function Qo(n,r,s){Qp(n.x,r.x,s.x),Qp(n.y,r.y,s.y)}function Bt(n){return[n("x"),n("y")]}const wg=({current:n})=>n?n.ownerDocument.defaultView:null,qp=(n,r)=>Math.abs(n-r);function tk(n,r){const s=qp(n.x,r.x),a=qp(n.y,r.y);return Math.sqrt(s**2+a**2)}const Zp=new Set(["auto","scroll"]);class Sg{constructor(r,s,{transformPagePoint:a,contextWindow:u=window,dragSnapToOrigin:f=!1,distanceThreshold:c=3,element:p}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=C=>{this.handleScroll(C.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const C=eu(this.lastMoveEventInfo,this.history),P=this.startEvent!==null,j=tk(C.offset,{x:0,y:0})>=this.distanceThreshold;if(!P&&!j)return;const{point:A}=C,{timestamp:I}=lt;this.history.push({...A,timestamp:I});const{onStart:F,onMove:B}=this.handlers;P||(F&&F(this.lastMoveEvent,C),this.startEvent=this.lastMoveEvent),B&&B(this.lastMoveEvent,C)},this.handlePointerMove=(C,P)=>{this.lastMoveEvent=C,this.lastMoveEventInfo=Jl(P,this.transformPagePoint),De.update(this.updatePoint,!0)},this.handlePointerUp=(C,P)=>{this.end();const{onEnd:j,onSessionEnd:A,resumeAnimation:I}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&I&&I(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const F=eu(C.type==="pointercancel"?this.lastMoveEventInfo:Jl(P,this.transformPagePoint),this.history);this.startEvent&&j&&j(C,F),A&&A(C,F)},!oc(r))return;this.dragSnapToOrigin=f,this.handlers=s,this.transformPagePoint=a,this.distanceThreshold=c,this.contextWindow=u||window;const h=xs(r),y=Jl(h,this.transformPagePoint),{point:v}=y,{timestamp:m}=lt;this.history=[{...v,timestamp:m}];const{onSessionStart:w}=s;w&&w(r,eu(y,this.history)),this.removeListeners=gs(us(this.contextWindow,"pointermove",this.handlePointerMove),us(this.contextWindow,"pointerup",this.handlePointerUp),us(this.contextWindow,"pointercancel",this.handlePointerUp)),p&&this.startScrollTracking(p)}startScrollTracking(r){let s=r.parentElement;for(;s;){const a=getComputedStyle(s);(Zp.has(a.overflowX)||Zp.has(a.overflowY))&&this.scrollPositions.set(s,{x:s.scrollLeft,y:s.scrollTop}),s=s.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(r){const s=this.scrollPositions.get(r);if(!s)return;const a=r===window,u=a?{x:window.scrollX,y:window.scrollY}:{x:r.scrollLeft,y:r.scrollTop},f={x:u.x-s.x,y:u.y-s.y};f.x===0&&f.y===0||(a?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=f.x,this.lastMoveEventInfo.point.y+=f.y):this.history.length>0&&(this.history[0].x-=f.x,this.history[0].y-=f.y),this.scrollPositions.set(r,u),De.update(this.updatePoint,!0))}updateHandlers(r){this.handlers=r}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),er(this.updatePoint)}}function Jl(n,r){return r?{point:r(n.point)}:n}function Jp(n,r){return{x:n.x-r.x,y:n.y-r.y}}function eu({point:n},r){return{point:n,delta:Jp(n,kg(r)),offset:Jp(n,nk(r)),velocity:rk(r,.1)}}function nk(n){return n[0]}function kg(n){return n[n.length-1]}function rk(n,r){if(n.length<2)return{x:0,y:0};let s=n.length-1,a=null;const u=kg(n);for(;s>=0&&(a=n[s],!(u.timestamp-a.timestamp>kn(r)));)s--;if(!a)return{x:0,y:0};const f=Ut(u.timestamp-a.timestamp);if(f===0)return{x:0,y:0};const c={x:(u.x-a.x)/f,y:(u.y-a.y)/f};return c.x===1/0&&(c.x=0),c.y===1/0&&(c.y=0),c}function ik(n,{min:r,max:s},a){return r!==void 0&&n<r?n=a?ze(r,n,a.min):Math.max(n,r):s!==void 0&&n>s&&(n=a?ze(s,n,a.max):Math.min(n,s)),n}function eh(n,r,s){return{min:r!==void 0?n.min+r:void 0,max:s!==void 0?n.max+s-(n.max-n.min):void 0}}function sk(n,{top:r,left:s,bottom:a,right:u}){return{x:eh(n.x,s,u),y:eh(n.y,r,a)}}function th(n,r){let s=r.min-n.min,a=r.max-n.max;return r.max-r.min<n.max-n.min&&([s,a]=[a,s]),{min:s,max:a}}function ok(n,r){return{x:th(n.x,r.x),y:th(n.y,r.y)}}function ak(n,r){let s=.5;const a=vt(n),u=vt(r);return u>a?s=ds(r.min,r.max-a,n.min):a>u&&(s=ds(n.min,n.max-u,r.min)),un(0,1,s)}function lk(n,r){const s={};return r.min!==void 0&&(s.min=r.min-n.min),r.max!==void 0&&(s.max=r.max-n.min),s}const Ru=.35;function uk(n=Ru){return n===!1?n=0:n===!0&&(n=Ru),{x:nh(n,"left","right"),y:nh(n,"top","bottom")}}function nh(n,r,s){return{min:rh(n,r),max:rh(n,s)}}function rh(n,r){return typeof n=="number"?n:n[r]||0}const ck=new WeakMap;class dk{constructor(r){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Je(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=r}start(r,{snapToCursor:s=!1,distanceThreshold:a}={}){const{presenceContext:u}=this.visualElement;if(u&&u.isPresent===!1)return;const f=m=>{s?(this.stopAnimation(),this.snapToCursor(xs(m).point)):this.pauseAnimation()},c=(m,w)=>{this.stopAnimation();const{drag:C,dragPropagation:P,onDragStart:j}=this.getProps();if(C&&!P&&(this.openDragLock&&this.openDragLock(),this.openDragLock=kw(C),!this.openDragLock))return;this.latestPointerEvent=m,this.latestPanInfo=w,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Bt(I=>{let F=this.getAxisMotionValue(I).get()||0;if(ln.test(F)){const{projection:B}=this.visualElement;if(B&&B.layout){const X=B.layout.layoutBox[I];X&&(F=vt(X)*(parseFloat(F)/100))}}this.originPoint[I]=F}),j&&De.postRender(()=>j(m,w)),Mu(this.visualElement,"transform");const{animationState:A}=this.visualElement;A&&A.setActive("whileDrag",!0)},p=(m,w)=>{this.latestPointerEvent=m,this.latestPanInfo=w;const{dragPropagation:C,dragDirectionLock:P,onDirectionLock:j,onDrag:A}=this.getProps();if(!C&&!this.openDragLock)return;const{offset:I}=w;if(P&&this.currentDirection===null){this.currentDirection=fk(I),this.currentDirection!==null&&j&&j(this.currentDirection);return}this.updateAxis("x",w.point,I),this.updateAxis("y",w.point,I),this.visualElement.render(),A&&A(m,w)},h=(m,w)=>{this.latestPointerEvent=m,this.latestPanInfo=w,this.stop(m,w),this.latestPointerEvent=null,this.latestPanInfo=null},y=()=>Bt(m=>{var w;return this.getAnimationState(m)==="paused"&&((w=this.getAxisMotionValue(m).animation)==null?void 0:w.play())}),{dragSnapToOrigin:v}=this.getProps();this.panSession=new Sg(r,{onSessionStart:f,onStart:c,onMove:p,onSessionEnd:h,resumeAnimation:y},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:v,distanceThreshold:a,contextWindow:wg(this.visualElement),element:this.visualElement.current})}stop(r,s){const a=r||this.latestPointerEvent,u=s||this.latestPanInfo,f=this.isDragging;if(this.cancel(),!f||!u||!a)return;const{velocity:c}=u;this.startAnimation(c);const{onDragEnd:p}=this.getProps();p&&De.postRender(()=>p(a,u))}cancel(){this.isDragging=!1;const{projection:r,animationState:s}=this.visualElement;r&&(r.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:a}=this.getProps();!a&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),s&&s.setActive("whileDrag",!1)}updateAxis(r,s,a){const{drag:u}=this.getProps();if(!a||!Lo(r,u,this.currentDirection))return;const f=this.getAxisMotionValue(r);let c=this.originPoint[r]+a[r];this.constraints&&this.constraints[r]&&(c=ik(c,this.constraints[r],this.elastic[r])),f.set(c)}resolveConstraints(){var f;const{dragConstraints:r,dragElastic:s}=this.getProps(),a=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(f=this.visualElement.projection)==null?void 0:f.layout,u=this.constraints;r&&ss(r)?this.constraints||(this.constraints=this.resolveRefConstraints()):r&&a?this.constraints=sk(a.layoutBox,r):this.constraints=!1,this.elastic=uk(s),u!==this.constraints&&a&&this.constraints&&!this.hasMutatedConstraints&&Bt(c=>{this.constraints!==!1&&this.getAxisMotionValue(c)&&(this.constraints[c]=lk(a.layoutBox[c],this.constraints[c]))})}resolveRefConstraints(){const{dragConstraints:r,onMeasureDragConstraints:s}=this.getProps();if(!r||!ss(r))return!1;const a=r.current,{projection:u}=this.visualElement;if(!u||!u.layout)return!1;const f=pS(a,u.root,this.visualElement.getTransformPagePoint());let c=ok(u.layout.layoutBox,f);if(s){const p=s(cS(c));this.hasMutatedConstraints=!!p,p&&(c=sg(p))}return c}startAnimation(r){const{drag:s,dragMomentum:a,dragElastic:u,dragTransition:f,dragSnapToOrigin:c,onDragTransitionEnd:p}=this.getProps(),h=this.constraints||{},y=Bt(v=>{if(!Lo(v,s,this.currentDirection))return;let m=h&&h[v]||{};c&&(m={min:0,max:0});const w=u?200:1e6,C=u?40:1e7,P={type:"inertia",velocity:a?r[v]:0,bounceStiffness:w,bounceDamping:C,timeConstant:750,restDelta:1,restSpeed:10,...f,...m};return this.startAxisValueAnimation(v,P)});return Promise.all(y).then(p)}startAxisValueAnimation(r,s){const a=this.getAxisMotionValue(r);return Mu(this.visualElement,r),a.start(mc(r,a,0,s,this.visualElement,!1))}stopAnimation(){Bt(r=>this.getAxisMotionValue(r).stop())}pauseAnimation(){Bt(r=>{var s;return(s=this.getAxisMotionValue(r).animation)==null?void 0:s.pause()})}getAnimationState(r){var s;return(s=this.getAxisMotionValue(r).animation)==null?void 0:s.state}getAxisMotionValue(r){const s=`_drag${r.toUpperCase()}`,a=this.visualElement.getProps(),u=a[s];return u||this.visualElement.getValue(r,(a.initial?a.initial[r]:void 0)||0)}snapToCursor(r){Bt(s=>{const{drag:a}=this.getProps();if(!Lo(s,a,this.currentDirection))return;const{projection:u}=this.visualElement,f=this.getAxisMotionValue(s);if(u&&u.layout){const{min:c,max:p}=u.layout.layoutBox[s],h=f.get()||0;f.set(r[s]-ze(c,p,.5)+h)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:r,dragConstraints:s}=this.getProps(),{projection:a}=this.visualElement;if(!ss(s)||!a||!this.constraints)return;this.stopAnimation();const u={x:0,y:0};Bt(c=>{const p=this.getAxisMotionValue(c);if(p&&this.constraints!==!1){const h=p.get();u[c]=ak({min:h,max:h},this.constraints[c])}});const{transformTemplate:f}=this.visualElement.getProps();this.visualElement.current.style.transform=f?f({},""):"none",a.root&&a.root.updateScroll(),a.updateLayout(),this.resolveConstraints(),Bt(c=>{if(!Lo(c,r,null))return;const p=this.getAxisMotionValue(c),{min:h,max:y}=this.constraints[c];p.set(ze(h,y,u[c]))})}addListeners(){if(!this.visualElement.current)return;ck.set(this.visualElement,this);const r=this.visualElement.current,s=us(r,"pointerdown",h=>{const{drag:y,dragListener:v=!0}=this.getProps();y&&v&&!$m(h.target)&&this.start(h)}),a=()=>{const{dragConstraints:h}=this.getProps();ss(h)&&h.current&&(this.constraints=this.resolveRefConstraints())},{projection:u}=this.visualElement,f=u.addEventListener("measure",a);u&&!u.layout&&(u.root&&u.root.updateScroll(),u.updateLayout()),De.read(a);const c=ms(window,"resize",()=>this.scalePositionWithinConstraints()),p=u.addEventListener("didUpdate",(({delta:h,hasLayoutChanged:y})=>{this.isDragging&&y&&(Bt(v=>{const m=this.getAxisMotionValue(v);m&&(this.originPoint[v]+=h[v].translate,m.set(m.get()+h[v].translate))}),this.visualElement.render())}));return()=>{c(),s(),f(),p&&p()}}getProps(){const r=this.visualElement.getProps(),{drag:s=!1,dragDirectionLock:a=!1,dragPropagation:u=!1,dragConstraints:f=!1,dragElastic:c=Ru,dragMomentum:p=!0}=r;return{...r,drag:s,dragDirectionLock:a,dragPropagation:u,dragConstraints:f,dragElastic:c,dragMomentum:p}}}function Lo(n,r,s){return(r===!0||r===n)&&(s===null||s===n)}function fk(n,r=10){let s=null;return Math.abs(n.y)>r?s="y":Math.abs(n.x)>r&&(s="x"),s}class pk extends nr{constructor(r){super(r),this.removeGroupControls=$t,this.removeListeners=$t,this.controls=new dk(r)}mount(){const{dragControls:r}=this.node.getProps();r&&(this.removeGroupControls=r.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||$t}update(){const{dragControls:r}=this.node.getProps(),{dragControls:s}=this.node.prevProps||{};r!==s&&(this.removeGroupControls(),r&&(this.removeGroupControls=r.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}const ih=n=>(r,s)=>{n&&De.postRender(()=>n(r,s))};class hk extends nr{constructor(){super(...arguments),this.removePointerDownListener=$t}onPointerDown(r){this.session=new Sg(r,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:wg(this.node)})}createPanHandlers(){const{onPanSessionStart:r,onPanStart:s,onPan:a,onPanEnd:u}=this.node.getProps();return{onSessionStart:ih(r),onStart:ih(s),onMove:a,onEnd:(f,c)=>{delete this.session,u&&De.postRender(()=>u(f,c))}}}mount(){this.removePointerDownListener=us(this.node.current,"pointerdown",r=>this.onPointerDown(r))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const $o={hasAnimatedSinceResize:!0,hasEverUpdated:!1};let tu=!1;class mk extends _.Component{componentDidMount(){const{visualElement:r,layoutGroup:s,switchLayoutGroup:a,layoutId:u}=this.props,{projection:f}=r;f&&(s.group&&s.group.add(f),a&&a.register&&u&&a.register(f),tu&&f.root.didUpdate(),f.addEventListener("animationComplete",()=>{this.safeToRemove()}),f.setOptions({...f.options,onExitComplete:()=>this.safeToRemove()})),$o.hasEverUpdated=!0}getSnapshotBeforeUpdate(r){const{layoutDependency:s,visualElement:a,drag:u,isPresent:f}=this.props,{projection:c}=a;return c&&(c.isPresent=f,tu=!0,u||r.layoutDependency!==s||s===void 0||r.isPresent!==f?c.willUpdate():this.safeToRemove(),r.isPresent!==f&&(f?c.promote():c.relegate()||De.postRender(()=>{const p=c.getStack();(!p||!p.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:r}=this.props.visualElement;r&&(r.root.didUpdate(),sc.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:r,layoutGroup:s,switchLayoutGroup:a}=this.props,{projection:u}=r;tu=!0,u&&(u.scheduleCheckAfterUnmount(),s&&s.group&&s.group.remove(u),a&&a.deregister&&a.deregister(u))}safeToRemove(){const{safeToRemove:r}=this.props;r&&r()}render(){return null}}function bg(n){const[r,s]=Aw(),a=_.useContext(Zh);return S.jsx(mk,{...n,layoutGroup:a,switchLayoutGroup:_.useContext(rg),isPresent:r,safeToRemove:s})}function gk(n,r,s){const a=ht(n)?n:ai(n);return a.start(mc("",a,r,s)),a.animation}const yk=(n,r)=>n.depth-r.depth;class vk{constructor(){this.children=[],this.isDirty=!1}add(r){Bu(this.children,r),this.isDirty=!0}remove(r){Uu(this.children,r),this.isDirty=!0}forEach(r){this.isDirty&&this.children.sort(yk),this.isDirty=!1,this.children.forEac
vendor: 5,122 bytes, line 175
175h(r)}}function xk(n,r){const s=yt.now(),a=({timestamp:u})=>{const f=u-s;f>=r&&(er(a),n(f-r))};return De.setup(a,!0),()=>er(a)}const Tg=["TopLeft","TopRight","BottomLeft","BottomRight"],wk=Tg.length,sh=n=>typeof n=="string"?parseFloat(n):n,oh=n=>typeof n=="number"||Q.test(n);function Sk(n,r,s,a,u,f){u?(n.opacity=ze(0,s.opacity??1,kk(a)),n.opacityExit=ze(r.opacity??1,0,bk(a))):f&&(n.opacity=ze(r.opacity??1,s.opacity??1,a));for(let c=0;c<wk;c++){const p=`border${Tg[c]}Radius`;let h=ah(r,p),y=ah(s,p);if(h===void 0&&y===void 0)continue;h||(h=0),y||(y=0),h===0||y===0||oh(h)===oh(y)?(n[p]=Math.max(ze(sh(h),sh(y),a),0),(ln.test(y)||ln.test(h))&&(n[p]+="%")):n[p]=y}(r.rotate||s.rotate)&&(n.rotate=ze(r.rotate||0,s.rotate||0,a))}function ah(n,r){return n[r]!==void 0?n[r]:n.borderRadius}const kk=Cg(0,.5,um),bk=Cg(.5,.95,$t);function Cg(n,r,s){return a=>a<n?0:a>r?1:s(ds(n,r,a))}function lh(n,r){n.min=r.min,n.max=r.max}function qt(n,r){lh(n.x,r.x),lh(n.y,r.y)}function uh(n,r){n.translate=r.translate,n.scale=r.scale,n.originPoint=r.originPoint,n.origin=r.origin}function ch(n,r,s,a,u){return n-=r,n=Xo(n,1/s,a),u!==void 0&&(n=Xo(n,1/u,a)),n}function Tk(n,r=0,s=1,a=.5,u,f=n,c=n){if(ln.test(r)&&(r=parseFloat(r),r=ze(c.min,c.max,r/100)-c.min),typeof r!="number")return;let p=ze(f.min,f.max,a);n===f&&(p-=r),n.min=ch(n.min,r,s,p,u),n.max=ch(n.max,r,s,p,u)}function dh(n,r,[s,a,u],f,c){Tk(n,r[s],r[a],r[u],r.scale,f,c)}const Ck=["x","scaleX","originX"],Ek=["y","scaleY","originY"];function fh(n,r,s,a){dh(n.x,r,Ck,s?s.x:void 0,a?a.x:void 0),dh(n.y,r,Ek,s?s.y:void 0,a?a.y:void 0)}function ph(n){return n.translate===0&&n.scale===1}function Eg(n){return ph(n.x)&&ph(n.y)}function hh(n,r){return n.min===r.min&&n.max===r.max}function Pk(n,r){return hh(n.x,r.x)&&hh(n.y,r.y)}function mh(n,r){return Math.round(n.min)===Math.round(r.min)&&Math.round(n.max)===Math.round(r.max)}function Pg(n,r){return mh(n.x,r.x)&&mh(n.y,r.y)}function gh(n){return vt(n.x)/vt(n.y)}function yh(n,r){return n.translate===r.translate&&n.scale===r.scale&&n.originPoint===r.originPoint}class Nk{constructor(){this.members=[]}add(r){Bu(this.members,r),r.scheduleRender()}remove(r){if(Uu(this.members,r),r===this.prevLead&&(this.prevLead=void 0),r===this.lead){const s=this.members[this.members.length-1];s&&this.promote(s)}}relegate(r){const s=this.members.findIndex(u=>r===u);if(s===0)return!1;let a;for(let u=s;u>=0;u--){const f=this.members[u];if(f.isPresent!==!1){a=f;break}}return a?(this.promote(a),!0):!1}promote(r,s){const a=this.lead;if(r!==a&&(this.prevLead=a,this.lead=r,r.show(),a)){a.instance&&a.scheduleRender(),r.scheduleRender(),r.resumeFrom=a,s&&(r.resumeFrom.preserveOpacity=!0),a.snapshot&&(r.snapshot=a.snapshot,r.snapshot.latestValues=a.animationValues||a.latestValues),r.root&&r.root.isUpdating&&(r.isLayoutDirty=!0);const{crossfade:u}=r.options;u===!1&&a.hide()}}exitAnimationComplete(){this.members.forEach(r=>{const{options:s,resumingFrom:a}=r;s.onExitComplete&&s.onExitComplete(),a&&a.options.onExitComplete&&a.options.onExitComplete()})}scheduleRender(){this.members.forEach(r=>{r.instance&&r.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Mk(n,r,s){let a="";const u=n.x.translate/r.x,f=n.y.translate/r.y,c=(s==null?void 0:s.z)||0;if((u||f||c)&&(a=`translate3d(${u}px, ${f}px, ${c}px) `),(r.x!==1||r.y!==1)&&(a+=`scale(${1/r.x}, ${1/r.y}) `),s){const{transformPerspective:y,rotate:v,rotateX:m,rotateY:w,skewX:C,skewY:P}=s;y&&(a=`perspective(${y}px) ${a}`),v&&(a+=`rotate(${v}deg) `),m&&(a+=`rotateX(${m}deg) `),w&&(a+=`rotateY(${w}deg) `),C&&(a+=`skewX(${C}deg) `),P&&(a+=`skewY(${P}deg) `)}const p=n.x.scale*r.x,h=n.y.scale*r.y;return(p!==1||h!==1)&&(a+=`scale(${p}, ${h})`),a||"none"}const nu=["","X","Y","Z"],Ak=1e3;let Rk=0;function ru(n,r,s,a){const{latestValues:u}=r;u[n]&&(s[n]=u[n],r.setStaticValue(n,0),a&&(a[n]=0))}function Ng(n){if(n.hasCheckedOptimisedAppear=!0,n.root===n)return;const{visualElement:r}=n.options;if(!r)return;const s=pg(r);if(window.MotionHasOptimisedAnimation(s,"transform")){const{layout:u,layoutId:f}=n.options;window.MotionCancelOptimisedAnimation(s,"transform",De,!(u||f))}const{parent:a}=n;a&&!a.hasCheckedOptimisedAppear&&Ng(a)}function Mg({attachResizeListener:n,defaultParent:r,measureScroll:s,checkIsScrollRoot:a,resetTransform:u}){return class{constructor(c={},p=r==null?void 0:r()){this.id=Rk++,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=()=>
vendor: 10,562 bytes, line 175
175{this.projectionUpdateScheduled=!1,this.nodes.forEach(_k),this.nodes.forEach(Ok),this.nodes.forEach(zk),this.nodes.forEach(Ik)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=c,this.root=p?p.root||p:this,this.path=p?[...p.path,p]:[],this.parent=p,this.depth=p?p.depth+1:0;for(let h=0;h<this.path.length;h++)this.path[h].shouldResetTransform=!0;this.root===this&&(this.nodes=new vk)}addEventListener(c,p){return this.eventHandlers.has(c)||this.eventHandlers.set(c,new Hu),this.eventHandlers.get(c).add(p)}notifyListeners(c,...p){const h=this.eventHandlers.get(c);h&&h.notify(...p)}hasListeners(c){return this.eventHandlers.has(c)}mount(c){if(this.instance)return;this.isSVG=Wm(c)&&!Pw(c),this.instance=c;const{layoutId:p,layout:h,visualElement:y}=this.options;if(y&&!y.current&&y.mount(c),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(h||p)&&(this.isLayoutDirty=!0),n){let v,m=0;const w=()=>this.root.updateBlockedByResize=!1;De.read(()=>{m=window.innerWidth}),n(c,()=>{const C=window.innerWidth;C!==m&&(m=C,this.root.updateBlockedByResize=!0,v&&v(),v=xk(w,250),$o.hasAnimatedSinceResize&&($o.hasAnimatedSinceResize=!1,this.nodes.forEach(wh)))})}p&&this.root.registerSharedNode(p,this),this.options.animate!==!1&&y&&(p||h)&&this.addEventListener("didUpdate",({delta:v,hasLayoutChanged:m,hasRelativeLayoutChanged:w,layout:C})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const P=this.options.transition||y.getDefaultTransition()||Wk,{onLayoutAnimationStart:j,onLayoutAnimationComplete:A}=y.getProps(),I=!this.targetLayout||!Pg(this.targetLayout,C),F=!m&&w;if(this.options.layoutRoot||this.resumeFrom||F||m&&(I||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const B={...rc(P,"layout"),onPlay:j,onComplete:A};(y.shouldReduceMotion||this.options.layoutRoot)&&(B.delay=0,B.type=!1),this.startAnimation(B),this.setAnimationOrigin(v,F)}else m||wh(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=C})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const c=this.getStack();c&&c.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),er(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(Fk),this.animationId++)}getTransformTemplate(){const{visualElement:c}=this.options;return c&&c.getProps().transformTemplate}willUpdate(c=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ng(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let v=0;v<this.path.length;v++){const m=this.path[v];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}const{layoutId:p,layout:h}=this.options;if(p===void 0&&!h)return;const y=this.getTransformTemplate();this.prevTransformTemplateValue=y?y(this.latestValues,""):void 0,this.updateSnapshot(),c&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(vh);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(xh);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Lk),this.nodes.forEach(jk),this.nodes.forEach(Dk)):this.nodes.forEach(xh),this.clearAllSnapshots();const p=yt.now();lt.delta=un(0,1e3/60,p-lt.timestamp),lt.timestamp=p,lt.isProcessing=!0,Wl.update.process(lt),Wl.preRender.process(lt),Wl.render.process(lt),lt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,sc.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Vk),this.sharedNodes.forEach(Bk)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,De.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){De.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!vt(this.snapshot.measuredBox.x)&&!vt(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 h=0;h<this.path.length;h++)this.path[h].updateScroll();const c=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Je(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:p}=this.options;p&&p.notify("LayoutMeasure",this.layout.layoutBox,c?c.layoutBox:void 0)}updateScroll(c="measure"){let p=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===c&&(p=!1),p&&this.instance){const h=a(this.instance);this.scroll={animationId:this.root.animationId,phase:c,isRoot:h,offset:s(this.instance),wasRoot:this.scroll?this.scroll.isRoot:h}}}resetTransform(){if(!u)return;const c=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,p=this.projectionDelta&&!Eg(this.projectionDelta),h=this.getTransformTemplate(),y=h?h(this.latestValues,""):void 0,v=y!==this.prevTransformTemplateValue;c&&this.instance&&(p||br(this.latestValues)||v)&&(u(this.instance,y),this.shouldResetTransform=!1,this.scheduleRender())}measure(c=!0){const p=this.measurePageBox();let h=this.removeElementScroll(p);return c&&(h=this.removeTransform(h)),Hk(h),{animationId:this.root.animationId,measuredBox:p,layoutBox:h,latestValues:{},source:this.id}}measurePageBox(){var y;const{visualElement:c}=this.options;if(!c)return Je();const p=c.measureViewportBox();if(!(((y=this.scroll)==null?void 0:y.wasRoot)||this.path.some(Kk))){const{scroll:v}=this.root;v&&(ni(p.x,v.offset.x),ni(p.y,v.offset.y))}return p}removeElementScroll(c){var h;const p=Je();if(qt(p,c),(h=this.scroll)!=null&&h.wasRoot)return p;for(let y=0;y<this.path.length;y++){const v=this.path[y],{scroll:m,options:w}=v;v!==this.root&&m&&w.layoutScroll&&(m.wasRoot&&qt(p,c),ni(p.x,m.offset.x),ni(p.y,m.offset.y))}return p}applyTransform(c,p=!1){const h=Je();qt(h,c);for(let y=0;y<this.path.length;y++){const v=this.path[y];!p&&v.options.layoutScroll&&v.scroll&&v!==v.root&&ri(h,{x:-v.scroll.offset.x,y:-v.scroll.offset.y}),br(v.latestValues)&&ri(h,v.latestValues)}return br(this.latestValues)&&ri(h,this.latestValues),h}removeTransform(c){const p=Je();qt(p,c);for(let h=0;h<this.path.length;h++){const y=this.path[h];if(!y.instance||!br(y.latestValues))continue;Cu(y.latestValues)&&y.updateSnapshot();const v=Je(),m=y.measurePageBox();qt(v,m),fh(p,y.latestValues,y.snapshot?y.snapshot.layoutBox:void 0,v)}return br(this.latestValues)&&fh(p,this.latestValues),p}setTargetDelta(c){this.targetDelta=c,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(c){this.options={...this.options,...c,crossfade:c.crossfade!==void 0?c.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!==lt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(c=!1){var C;const p=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=p.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=p.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=p.isSharedProjectionDirty);const h=!!this.resumingFrom||this!==p;if(!(c||h&&this.isSharedProjectionDirty||this.isProjectionDirty||(C=this.parent)!=null&&C.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:v,layoutId:m}=this.options;if(!this.layout||!(v||m))return;this.resolvedRelativeTargetAt=lt.timestamp;const w=this.getClosestProjectingParent();w&&this.linkedParentVersion!==w.layoutVersion&&!w.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(w&&w.layout?this.createRelativeTarget(w,this.layout.layoutBox,w.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Je(),this.targetWithTransforms=Je()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ek(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):qt(this.target,this.layout.layoutBox),ag(this.target,this.targetDelta)):qt(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,w&&!!w.resumingFrom==!!this.resumingFrom&&!w.options.layoutScroll&&w.target&&this.animationProgress!==1?this.createRelativeTarget(w,this.target,w.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Cu(this.parent.latestValues)||og(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(c,p,h){this.relativeParent=c,this.linkedParentVersion=c.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Je(),this.relativeTargetOrigin=Je(),Qo(this.relativeTargetOrigin,p,h),qt(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){var P;const c=this.getLead(),p=!!this.resumingFrom||this!==c;let h=!0;if((this.isProjectionDirty||(P=this.parent)!=null&&P.isProjectionDirty)&&
vendor: 5,271 bytes, line 175
175(h=!1),p&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(h=!1),this.resolvedRelativeTargetAt===lt.timestamp&&(h=!1),h)return;const{layout:y,layoutId:v}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(y||v))return;qt(this.layoutCorrected,this.layout.layoutBox);const m=this.treeScale.x,w=this.treeScale.y;fS(this.layoutCorrected,this.treeScale,this.path,p),c.layout&&!c.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(c.target=c.layout.layoutBox,c.targetWithTransforms=Je());const{target:C}=c;if(!C){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(uh(this.prevProjectionDelta.x,this.projectionDelta.x),uh(this.prevProjectionDelta.y,this.projectionDelta.y)),cs(this.projectionDelta,this.layoutCorrected,C,this.latestValues),(this.treeScale.x!==m||this.treeScale.y!==w||!yh(this.projectionDelta.x,this.prevProjectionDelta.x)||!yh(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",C))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(c=!0){var p;if((p=this.options.visualElement)==null||p.scheduleRender(),c){const h=this.getStack();h&&h.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ii(),this.projectionDelta=ii(),this.projectionDeltaWithTransform=ii()}setAnimationOrigin(c,p=!1){const h=this.snapshot,y=h?h.latestValues:{},v={...this.latestValues},m=ii();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!p;const w=Je(),C=h?h.source:void 0,P=this.layout?this.layout.source:void 0,j=C!==P,A=this.getStack(),I=!A||A.members.length<=1,F=!!(j&&!I&&this.options.crossfade===!0&&!this.path.some($k));this.animationProgress=0;let B;this.mixTargetDelta=X=>{const W=X/1e3;Sh(m.x,c.x,W),Sh(m.y,c.y,W),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Qo(w,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Uk(this.relativeTarget,this.relativeTargetOrigin,w,W),B&&Pk(this.relativeTarget,B)&&(this.isProjectionDirty=!1),B||(B=Je()),qt(B,this.relativeTarget)),j&&(this.animationValues=v,Sk(v,y,this.latestValues,W,F,I)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=W},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(c){var p,h,y;this.notifyListeners("animationStart"),(p=this.currentAnimation)==null||p.stop(),(y=(h=this.resumingFrom)==null?void 0:h.currentAnimation)==null||y.stop(),this.pendingAnimation&&(er(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=De.update(()=>{$o.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=ai(0)),this.currentAnimation=gk(this.motionValue,[0,1e3],{...c,velocity:0,isSync:!0,onUpdate:v=>{this.mixTargetDelta(v),c.onUpdate&&c.onUpdate(v)},onStop:()=>{},onComplete:()=>{c.onComplete&&c.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 c=this.getStack();c&&c.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ak),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const c=this.getLead();let{targetWithTransforms:p,target:h,layout:y,latestValues:v}=c;if(!(!p||!h||!y)){if(this!==c&&this.layout&&y&&Ag(this.options.animationType,this.layout.layoutBox,y.layoutBox)){h=this.target||Je();const m=vt(this.layout.layoutBox.x);h.x.min=c.target.x.min,h.x.max=h.x.min+m;const w=vt(this.layout.layoutBox.y);h.y.min=c.target.y.min,h.y.max=h.y.min+w}qt(p,h),ri(p,v),cs(this.projectionDeltaWithTransform,this.layoutCorrected,p,v)}}registerSharedNode(c,p){this.sharedNodes.has(c)||this.sharedNodes.set(c,new Nk),this.sharedNodes.get(c).add(p);const y=p.options.initialPromotionConfig;p.promote({transition:y?y.transition:void 0,preserveFollowOpacity:y&&y.shouldPreserveFollowOpacity?y.shouldPreserveFollowOpacity(p):void 0})}isLead(){const c=this.getStack();return c?c.lead===this:!0}getLead(){var p;const{layoutId:c}=this.options;return c?((p=this.getStack())==null?void 0:p.lead)||this:this}getPrevLead(){var p;const{layoutId:c}=this.options;return c?(p=this.getStack())==null?void 0:p.prevLead:void 0}getStack(){const{layoutId:c}=this.options;if(c)return this.root.sharedNodes.get(c)}promote({needsReset:c,transition:p,preserveFollowOpacity:h}={}){const y=this.getStack();y&&y.promote(this,h),c&&(this.projectionDelta=void 0,this.needsReset=!0),p&&this.setOptions({transition:p})}relegate(){const c=this.getStack();return c?c.relegate(this):!1}
vendor: 4,211 bytes, line 175
175resetSkewAndRotation(){const{visualElement:c}=this.options;if(!c)return;let p=!1;const{latestValues:h}=c;if((h.z||h.rotate||h.rotateX||h.rotateY||h.rotateZ||h.skewX||h.skewY)&&(p=!0),!p)return;const y={};h.z&&ru("z",c,y,this.animationValues);for(let v=0;v<nu.length;v++)ru(`rotate${nu[v]}`,c,y,this.animationValues),ru(`skew${nu[v]}`,c,y,this.animationValues);c.render();for(const v in y)c.setStaticValue(v,y[v]),this.animationValues&&(this.animationValues[v]=y[v]);c.scheduleRender()}applyProjectionStyles(c,p){if(!this.instance||this.isSVG)return;if(!this.isVisible){c.visibility="hidden";return}const h=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,c.visibility="",c.opacity="",c.pointerEvents=Uo(p==null?void 0:p.pointerEvents)||"",c.transform=h?h(this.latestValues,""):"none";return}const y=this.getLead();if(!this.projectionDelta||!this.layout||!y.target){this.options.layoutId&&(c.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,c.pointerEvents=Uo(p==null?void 0:p.pointerEvents)||""),this.hasProjected&&!br(this.latestValues)&&(c.transform=h?h({},""):"none",this.hasProjected=!1);return}c.visibility="";const v=y.animationValues||y.latestValues;this.applyTransformsToTarget();let m=Mk(this.projectionDeltaWithTransform,this.treeScale,v);h&&(m=h(v,m)),c.transform=m;const{x:w,y:C}=this.projectionDelta;c.transformOrigin=`${w.origin*100}% ${C.origin*100}% 0`,y.animationValues?c.opacity=y===this?v.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:v.opacityExit:c.opacity=y===this?v.opacity!==void 0?v.opacity:"":v.opacityExit!==void 0?v.opacityExit:0;for(const P in Tu){if(v[P]===void 0)continue;const{correct:j,applyTo:A,isCSSVariable:I}=Tu[P],F=m==="none"?v[P]:j(v[P],y);if(A){const B=A.length;for(let X=0;X<B;X++)c[A[X]]=F}else I?this.options.visualElement.renderState.vars[P]=F:c[P]=F}this.options.layoutId&&(c.pointerEvents=y===this?Uo(p==null?void 0:p.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(c=>{var p;return(p=c.currentAnimation)==null?void 0:p.stop()}),this.root.nodes.forEach(vh),this.root.sharedNodes.clear()}}}function jk(n){n.updateLayout()}function Dk(n){var s;const r=((s=n.resumeFrom)==null?void 0:s.snapshot)||n.snapshot;if(n.isLead()&&n.layout&&r&&n.hasListeners("didUpdate")){const{layoutBox:a,measuredBox:u}=n.layout,{animationType:f}=n.options,c=r.source!==n.layout.source;f==="size"?Bt(m=>{const w=c?r.measuredBox[m]:r.layoutBox[m],C=vt(w);w.min=a[m].min,w.max=w.min+C}):Ag(f,r.layoutBox,a)&&Bt(m=>{const w=c?r.measuredBox[m]:r.layoutBox[m],C=vt(a[m]);w.max=w.min+C,n.relativeTarget&&!n.currentAnimation&&(n.isProjectionDirty=!0,n.relativeTarget[m].max=n.relativeTarget[m].min+C)});const p=ii();cs(p,a,r.layoutBox);const h=ii();c?cs(h,n.applyTransform(u,!0),r.measuredBox):cs(h,a,r.layoutBox);const y=!Eg(p);let v=!1;if(!n.resumeFrom){const m=n.getClosestProjectingParent();if(m&&!m.resumeFrom){const{snapshot:w,layout:C}=m;if(w&&C){const P=Je();Qo(P,r.layoutBox,w.layoutBox);const j=Je();Qo(j,a,C.layoutBox),Pg(P,j)||(v=!0),m.options.layoutRoot&&(n.relativeTarget=j,n.relativeTargetOrigin=P,n.relativeParent=m)}}}n.notifyListeners("didUpdate",{layout:a,snapshot:r,delta:h,layoutDelta:p,hasLayoutChanged:y,hasRelativeLayoutChanged:v})}else if(n.isLead()){const{onExitComplete:a}=n.options;a&&a()}n.options.transition=void 0}function _k(n){n.parent&&(n.isProjecting()||(n.isProjectionDirty=n.parent.isProjectionDirty),n.isSharedProjectionDirty||(n.isSharedProjectionDirty=!!(n.isProjectionDirty||n.parent.isProjectionDirty||n.parent.isSharedProjectionDirty)),n.isTransformDirty||(n.isTransformDirty=n.parent.isTransformDirty))}function Ik(n){n.isProjectionDirty=n.isSharedProjectionDirty=n.isTransformDirty=!1}function Vk(n){n.clearSnapshot()}function vh(n){n.clearMeasurements()}function xh(n){n.isLayoutDirty=!1}function Lk(n){const{visualElement:r}=n.options;r&&r.getProps().onBeforeLayoutMeasure&&r.notify("BeforeLayoutMeasure"),n.resetTransform()}function wh(n){n.finishAnimation(),n.targetDelta=n.relativeTarget=n.target=void 0,n.isProjectionDirty=!0}function Ok(n){n.resolveTargetDelta()}function zk(n){n.calcProjection()}
vendor: 4,363 bytes, line 175
175function Fk(n){n.resetSkewAndRotation()}function Bk(n){n.removeLeadSnapshot()}function Sh(n,r,s){n.translate=ze(r.translate,0,s),n.scale=ze(r.scale,1,s),n.origin=r.origin,n.originPoint=r.originPoint}function kh(n,r,s,a){n.min=ze(r.min,s.min,a),n.max=ze(r.max,s.max,a)}function Uk(n,r,s,a){kh(n.x,r.x,s.x,a),kh(n.y,r.y,s.y,a)}function $k(n){return n.animationValues&&n.animationValues.opacityExit!==void 0}const Wk={duration:.45,ease:[.4,0,.1,1]},bh=n=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(n),Th=bh("applewebkit/")&&!bh("chrome/")?Math.round:$t;function Ch(n){n.min=Th(n.min),n.max=Th(n.max)}function Hk(n){Ch(n.x),Ch(n.y)}function Ag(n,r,s){return n==="position"||n==="preserve-aspect"&&!JS(gh(r),gh(s),.2)}function Kk(n){var r;return n!==n.root&&((r=n.scroll)==null?void 0:r.wasRoot)}const Gk=Mg({attachResizeListener:(n,r)=>ms(n,"resize",r),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),iu={current:void 0},Rg=Mg({measureScroll:n=>({x:n.scrollLeft,y:n.scrollTop}),defaultParent:()=>{if(!iu.current){const n=new Gk({});n.mount(window),n.setOptions({layoutScroll:!0}),iu.current=n}return iu.current},resetTransform:(n,r)=>{n.style.transform=r!==void 0?r:"none"},checkIsScrollRoot:n=>window.getComputedStyle(n).position==="fixed"}),Yk={pan:{Feature:hk},drag:{Feature:pk,ProjectionNode:Rg,MeasureLayout:bg}};function Eh(n,r,s){const{props:a}=n;n.animationState&&a.whileHover&&n.animationState.setActive("whileHover",s==="Start");const u="onHover"+s,f=a[u];f&&De.postRender(()=>f(r,xs(r)))}class Xk extends nr{mount(){const{current:r}=this.node;r&&(this.unmount=bw(r,(s,a)=>(Eh(this.node,a,"Start"),u=>Eh(this.node,u,"End"))))}unmount(){}}class Qk extends nr{constructor(){super(...arguments),this.isActive=!1}onFocus(){let r=!1;try{r=this.node.current.matches(":focus-visible")}catch{r=!0}!r||!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=gs(ms(this.node.current,"focus",()=>this.onFocus()),ms(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function Ph(n,r,s){const{props:a}=n;if(n.current instanceof HTMLButtonElement&&n.current.disabled)return;n.animationState&&a.whileTap&&n.animationState.setActive("whileTap",s==="Start");const u="onTap"+(s==="End"?"":s),f=a[u];f&&De.postRender(()=>f(r,xs(r)))}class qk extends nr{mount(){const{current:r}=this.node;r&&(this.unmount=Ew(r,(s,a)=>(Ph(this.node,a,"Start"),(u,{success:f})=>Ph(this.node,u,f?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const ju=new WeakMap,su=new WeakMap,Zk=n=>{const r=ju.get(n.target);r&&r(n)},Jk=n=>{n.forEach(Zk)};function e2({root:n,...r}){const s=n||document;su.has(s)||su.set(s,{});const a=su.get(s),u=JSON.stringify(r);return a[u]||(a[u]=new IntersectionObserver(Jk,{root:n,...r})),a[u]}function t2(n,r,s){const a=e2(r);return ju.set(n,s),a.observe(n),()=>{ju.delete(n),a.unobserve(n)}}const n2={some:0,all:1};class r2 extends nr{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:r={}}=this.node.getProps(),{root:s,margin:a,amount:u="some",once:f}=r,c={root:s?s.current:void 0,rootMargin:a,threshold:typeof u=="number"?u:n2[u]},p=h=>{const{isIntersecting:y}=h;if(this.isInView===y||(this.isInView=y,f&&!y&&this.hasEnteredView))return;y&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",y);const{onViewportEnter:v,onViewportLeave:m}=this.node.getProps(),w=y?v:m;w&&w(h)};return t2(this.node.current,c,p)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:r,prevProps:s}=this.node;["amount","margin","root"].some(i2(r,s))&&this.startObserver()}unmount(){}}function i2({viewport:n={}},{viewport:r={}}={}){return s=>n[s]!==r[s]}const s2={inView:{Feature:r2},tap:{Feature:qk},focus:{Feature:Qk},hover:{Feature:Xk}},o2={layout:{ProjectionNode:Rg,MeasureLayout:bg}},a2={...GS,...s2,...Yk,...o2},Ee=uS(a2,kS),l2={some:0,all:1};function u2(n,r,{root:s,margin:a,amount:u="some"}={}){const f=Om(n),c=new WeakMap,p=y=>
175{y.forEach(v=>{const m=c.get(v.target);if(v.isIntersecting!==!!m)if(v.isIntersecting){const w=r(v.target,v);typeof w=="function"?c.set(v.target,w):h.unobserve(v.target)}else typeof m=="function"&&(m(v),c.delete(v.target))})},h=new IntersectionObserver(p,{root:s,rootMargin:a,threshold:typeof u=="number"?u:l2[u]});return f.forEach(y=>h.observe(y)),()=>h.disconnect()}function ea(n,{root:r,margin:s,amount:a,once:u=!1,initial:f=!1}={}){const[c,p]=_.useState(f);return _.useEffect(()=>{if(!n.current||u&&c)return;const h=()=>(p(!0),u?void 0:()=>p(!1)),y={root:r&&r.current||void 0,margin:s,amount:a};return u2(n.current,h,y)},[r,n,s,u,a]),c}var c2=Ih();const d2=_h(c2);function f2(n){if(typeof document>"u")return;let r=document.head||document.getElementsByTagName("head")[0],s=document.createElement("style");s.type="text/css",r.appendChild(s),s.styleSheet?s.styleSheet.cssText=n:s.appendChild(document.createTextNode(n))}const p2=n=>{switch(n){case"success":return g2;case"info":return v2;case"warning":return y2;case"error":return x2;default:return null}},h2=Array(12).fill(0),m2=({visible:n,className:r})=>$.createElement("div",{className:["sonner-loading-wrapper",r].filter(Boolean).join(" "),"data-visible":n},$.createElement("div",{className:"sonner-spinner"},h2.map((s,a)=>$.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${a}`})))),g2=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$.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"})),y2=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},$.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"})),v2=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$.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"})),x2=$.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},$.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"})),w2=$.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"},$.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),$.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),S2=()=>{const[n,r]=$.useState(document.hidden);return $.useEffect(()=>{const s=()=>{r(document.hidden)};return document.addEventListener("visibilitychange",s),()=>window.removeEventListener("visibilitychange",s)},[]),n};let Du=1;class k2{constructor(){this.subscribe=r=>(this.subscribers.push(r),()=>{const s=this.subscribers.indexOf(r);this.subscribers.splice(s,1)}),this.publish=r=>{this.subscribers.forEach(s=>s(r))},this.addToast=r=>{this.publish(r),this.toasts=[...this.toasts,r]},this.create=r=>{var s;const{message:a,...u}=r,f=typeof(r==null?void 0:r.id)=="number"||((s=r.id)==null?void 0:s.length)>0?r.id:Du++,c=this.toasts.find(h=>h.id===f),p=r.dismissible===void 0?!0:r.dismissible;return this.dismissedToasts.has(f)&&this.dismissedToasts.delete(f),c?this.toasts=this.toasts.map(h=>h.id===f?(this.publish({...h,...r,id:f,title:a}),{...h,...r,id:f,dismissible:p,title:a}):h):this.addToast({title:a,...u,dismissible:p,id:f}),f},this.dismiss=r=>(r?(this.dismissedToasts.add(r),requestAnimationFrame(()=>
vendor: 4,460 bytes, line 175
175this.subscribers.forEach(s=>s({id:r,dismiss:!0})))):this.toasts.forEach(s=>{this.subscribers.forEach(a=>a({id:s.id,dismiss:!0}))}),r),this.message=(r,s)=>this.create({...s,message:r}),this.error=(r,s)=>this.create({...s,message:r,type:"error"}),this.success=(r,s)=>this.create({...s,type:"success",message:r}),this.info=(r,s)=>this.create({...s,type:"info",message:r}),this.warning=(r,s)=>this.create({...s,type:"warning",message:r}),this.loading=(r,s)=>this.create({...s,type:"loading",message:r}),this.promise=(r,s)=>{if(!s)return;let a;s.loading!==void 0&&(a=this.create({...s,promise:r,type:"loading",message:s.loading,description:typeof s.description!="function"?s.description:void 0}));const u=Promise.resolve(r instanceof Function?r():r);let f=a!==void 0,c;const p=u.then(async y=>{if(c=["resolve",y],$.isValidElement(y))f=!1,this.create({id:a,type:"default",message:y});else if(T2(y)&&!y.ok){f=!1;const m=typeof s.error=="function"?await s.error(`HTTP error! status: ${y.status}`):s.error,w=typeof s.description=="function"?await s.description(`HTTP error! status: ${y.status}`):s.description,P=typeof m=="object"&&!$.isValidElement(m)?m:{message:m};this.create({id:a,type:"error",description:w,...P})}else if(y instanceof Error){f=!1;const m=typeof s.error=="function"?await s.error(y):s.error,w=typeof s.description=="function"?await s.description(y):s.description,P=typeof m=="object"&&!$.isValidElement(m)?m:{message:m};this.create({id:a,type:"error",description:w,...P})}else if(s.success!==void 0){f=!1;const m=typeof s.success=="function"?await s.success(y):s.success,w=typeof s.description=="function"?await s.description(y):s.description,P=typeof m=="object"&&!$.isValidElement(m)?m:{message:m};this.create({id:a,type:"success",description:w,...P})}}).catch(async y=>{if(c=["reject",y],s.error!==void 0){f=!1;const v=typeof s.error=="function"?await s.error(y):s.error,m=typeof s.description=="function"?await s.description(y):s.description,C=typeof v=="object"&&!$.isValidElement(v)?v:{message:v};this.create({id:a,type:"error",description:m,...C})}}).finally(()=>{f&&(this.dismiss(a),a=void 0),s.finally==null||s.finally.call(s)}),h=()=>new Promise((y,v)=>p.then(()=>c[0]==="reject"?v(c[1]):y(c[1])).catch(v));return typeof a!="string"&&typeof a!="number"?{unwrap:h}:Object.assign(a,{unwrap:h})},this.custom=(r,s)=>{const a=(s==null?void 0:s.id)||Du++;return this.create({jsx:r(a),id:a,...s}),a},this.getActiveToasts=()=>this.toasts.filter(r=>!this.dismissedToasts.has(r.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}}const Ct=new k2,b2=(n,r)=>{const s=(r==null?void 0:r.id)||Du++;return Ct.addToast({title:n,...r,id:s}),s},T2=n=>n&&typeof n=="object"&&"ok"in n&&typeof n.ok=="boolean"&&"status"in n&&typeof n.status=="number",C2=b2,E2=()=>Ct.toasts,P2=()=>Ct.getActiveToasts(),Nh=Object.assign(C2,{success:Ct.success,info:Ct.info,warning:Ct.warning,error:Ct.error,custom:Ct.custom,message:Ct.message,promise:Ct.promise,dismiss:Ct.dismiss,loading:Ct.loading},{getHistory:E2,getToasts:P2});f2("[data-sonner-toaster][dir=ltr],html[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%)}[data-sonner-toaster][dir=rtl],html[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%)}[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:0;z-index:999999999;transition:transform .4s ease}[data-sonner-toaster][data-lifted=true]{transform:translateY(-8px)
vendor: 13,513 bytes, line 175
175}@media (hover:none) and (pointer:coarse){[data-sonner-toaster][data-lifted=true]{transform:none}}[data-sonner-toaster][data-x-position=right]{right:var(--offset-right)}[data-sonner-toaster][data-x-position=left]{left:var(--offset-left)}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:var(--offset-top)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--offset-bottom)}[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);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[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 rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast][data-styled=true] [data-description]{font-weight:400;line-height:1.4;color:#3f3f3f}[data-rich-colors=true][data-sonner-toast][data-styled=true] [data-description]{color:inherit}[data-sonner-toaster][data-sonner-theme=dark] [data-description]{color:#e8e8e8}[data-sonner-toast][data-styled=true] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast][data-styled=true] [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)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast][data-styled=true] [data-icon]>*{flex-shrink:0}[data-sonner-toast][data-styled=true] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast][data-styled=true] [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;font-weight:500;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast][data-styled=true] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast][data-styled=true] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast][data-styled=true] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toaster][data-sonner-theme=dark] [data-sonner-toast][data-styled=true] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast][data-styled=true] [data-close-button]{position:absolute;left: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);background:var(--normal-bg);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-styled=true] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-styled=true] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast][data-styled=true]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]::before{content:'';position:absolute;left:-100%;right:-100%;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]::before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]::before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]::before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast][data-expanded=true]::after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-x-position=right]{right:0}[data-sonner-toast][data-x-position=left]{left:0}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[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}[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}[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,0)) translateX(var(--swipe-amount-x,0));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{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{from{transform:var(--y) translateX(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translateX(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{from{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{from{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-sonner-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 87%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 93%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 84%);--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-sonner-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-sonner-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-sonner-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, 43%, 17%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 9%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-sonner-toaster][data-sonner-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-sonner-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]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[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]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[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]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[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]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[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:first-child{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)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{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%)}");function
175Oo(n){return n.label!==void 0}const N2=3,M2="24px",A2="16px",Mh=4e3,R2=356,j2=14,D2=45,_2=200;function an(...n){return n.filter(Boolean).join(" ")}function I2(n){const[r,s]=n.split("-"),a=[];return r&&a.push(r),s&&a.push(s),a}const V2=n=>{var r,s,a,u,f,c,p,h,y;const{invert:v,toast:m,unstyled:w,interacting:C,setHeights:P,visibleToasts:j,heights:A,index:I,toasts:F,expanded:B,removeToast:X,defaultRichColors:W,closeButton:oe,style:de,cancelButtonStyle:V,actionButtonStyle:ge,className:Se="",descriptionClassName:Ce
vendor: 4,724 bytes, line 175
175="",duration:Ne,position:Me,gap:Ve,expandByDefault:ke,classNames:Z,icons:ie,closeButtonAriaLabel:R="Close toast"}=n,[G,H]=$.useState(null),[b,D]=$.useState(null),[K,J]=$.useState(!1),[pe,ae]=$.useState(!1),[ce,ye]=$.useState(!1),[we,_e]=$.useState(!1),[Jt,en]=$.useState(!1),[Mr,rr]=$.useState(0),[ws,mi]=$.useState(0),cn=$.useRef(m.duration||Ne||Mh),gi=$.useRef(null),Et=$.useRef(null),ir=I===0,Cn=I+1<=j,it=m.type,dn=m.dismissible!==!1,Ss=m.className||"",ks=m.descriptionClassName||"",sr=$.useMemo(()=>A.findIndex(he=>he.toastId===m.id)||0,[A,m.id]),yi=$.useMemo(()=>{var he;return(he=m.closeButton)!=null?he:oe},[m.closeButton,oe]),or=$.useMemo(()=>m.duration||Ne||Mh,[m.duration,Ne]),Ar=$.useRef(0),jt=$.useRef(0),En=$.useRef(0),Pn=$.useRef(null),[bs,Ts]=Me.split("-"),Cs=$.useMemo(()=>A.reduce((he,$e,Xe)=>Xe>=sr?he:he+$e.height,0),[A,sr]),Rr=S2(),vi=m.invert||v,ar=it==="loading";jt.current=$.useMemo(()=>sr*Ve+Cs,[sr,Cs]),$.useEffect(()=>{cn.current=or},[or]),$.useEffect(()=>{J(!0)},[]),$.useEffect(()=>{const he=Et.current;if(he){const $e=he.getBoundingClientRect().height;return mi($e),P(Xe=>[{toastId:m.id,height:$e,position:m.position},...Xe]),()=>P(Xe=>Xe.filter(ut=>ut.toastId!==m.id))}},[P,m.id]),$.useLayoutEffect(()=>{if(!K)return;const he=Et.current,$e=he.style.height;he.style.height="auto";const Xe=he.getBoundingClientRect().height;he.style.height=$e,mi(Xe),P(ut=>ut.find(Ke=>Ke.toastId===m.id)?ut.map(Ke=>Ke.toastId===m.id?{...Ke,height:Xe}:Ke):[{toastId:m.id,height:Xe,position:m.position},...ut])},[K,m.title,m.description,P,m.id]);const Dt=$.useCallback(()=>{ae(!0),rr(jt.current),P(he=>he.filter($e=>$e.toastId!==m.id)),setTimeout(()=>{X(m)},_2)},[m,X,P,jt]);$.useEffect(()=>{if(m.promise&&it==="loading"||m.duration===1/0||m.type==="loading")return;let he;return B||C||Rr?(()=>{if(En.current<Ar.current){const ut=new Date().getTime()-Ar.current;cn.current=cn.current-ut}En.current=new Date().getTime()})():(()=>{cn.current!==1/0&&(Ar.current=new Date().getTime(),he=setTimeout(()=>{m.onAutoClose==null||m.onAutoClose.call(m,m),Dt()},cn.current))})(),()=>clearTimeout(he)},[B,C,m,it,Rr,Dt]),$.useEffect(()=>{m.delete&&Dt()},[Dt,m.delete]);function xi(){var he;if(ie!=null&&ie.loading){var $e;return $.createElement("div",{className:an(Z==null?void 0:Z.loader,m==null||($e=m.classNames)==null?void 0:$e.loader,"sonner-loader"),"data-visible":it==="loading"},ie.loading)}return $.createElement(m2,{className:an(Z==null?void 0:Z.loader,m==null||(he=m.classNames)==null?void 0:he.loader),visible:it==="loading"})}const Nn=m.icon||(ie==null?void 0:ie[it])||p2(it);var fn,wi;return $.createElement("li",{tabIndex:0,ref:Et,className:an(Se,Ss,Z==null?void 0:Z.toast,m==null||(r=m.classNames)==null?void 0:r.toast,Z==null?void 0:Z.default,Z==null?void 0:Z[it],m==null||(s=m.classNames)==null?void 0:s[it]),"data-sonner-toast":"","data-rich-colors":(fn=m.richColors)!=null?fn:W,"data-styled":!(m.jsx||m.unstyled||w),"data-mounted":K,"data-promise":!!m.promise,"data-swiped":Jt,"data-removed":pe,"data-visible":Cn,"data-y-position":bs,"data-x-position":Ts,"data-index":I,"data-front":ir,"data-swiping":ce,"data-dismissible":dn,"data-type":it,"data-invert":vi,"data-swipe-out":we,"data-swipe-direction":b,"data-expanded":!!(B||ke&&K),style:{"--index":I,"--toasts-before":I,"--z-index":F.length-I,"--offset":`${pe?Mr:jt.current}px`,"--initial-height":ke?"auto":`${ws}px`,...de,...m.style},onDragEnd:()=>{ye(!1),H(null),Pn.current=null},onPointerDown:he=>{ar||!dn||(gi.current=new Date,rr(jt.current),he.target.setPointerCapture(he.pointerId),he.target.tagName!=="BUTTON"&&(ye(!0),Pn.current={x:he.clientX,y:he.clientY}))},onPointerUp:()=>{var he,$e,Xe;if(we||!dn)return;Pn.current=null;const ut=Number(((he=Et.current)==null?void 0:he.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),Mn=Number((($e=Et.current)==null?void 0:$e.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Ke=new Date().getTime()-((Xe=gi.current)==null?void 0:Xe.getTime()),et=G==="x"?ut:Mn,An=Math.abs(et)/Ke;if(Math.abs(et)>=D2||An>.11){rr(jt.current),m.onDismiss==null||m.onDismiss.call(m,m),D(G==="x"?ut>0?"right":"left":Mn>0?"down":"up"),Dt(),_e(!0);return}else{var st,Pt;(st=Et.current)==null||st.style.setProperty("--swipe-amount-x","0px"),(Pt=Et.current)==null||Pt.style.setProperty("--swipe-amount-y","0px")}en(!1),ye(!1),H(null)},onPointerMove:he=>{var $e,Xe,ut;if(!Pn.current||!dn||(($e=window.getSelection())==null?void 0:$e.toString().length)>0)return;const Ke=he.clientY-Pn.current.y,et=he.clientX-Pn.current.x;var An;const st=(An=n.swipeDirections)!=null?An:I2(Me);!G&&(Math.abs(et)>1||Math.abs(Ke)>1)&&H(Math.abs(et)>Math.abs(Ke)?"x":"y");let Pt={x:0,y:0};const Rn=_t=>1/(1.5+Math.abs(_t)/20);
vendor: 6,807 bytes, line 175
175if(G==="y"){if(st.includes("top")||st.includes("bottom"))if(st.includes("top")&&Ke<0||st.includes("bottom")&&Ke>0)Pt.y=Ke;else{const _t=Ke*Rn(Ke);Pt.y=Math.abs(_t)<Math.abs(Ke)?_t:Ke}}else if(G==="x"&&(st.includes("left")||st.includes("right")))if(st.includes("left")&&et<0||st.includes("right")&&et>0)Pt.x=et;else{const _t=et*Rn(et);Pt.x=Math.abs(_t)<Math.abs(et)?_t:et}(Math.abs(Pt.x)>0||Math.abs(Pt.y)>0)&&en(!0),(Xe=Et.current)==null||Xe.style.setProperty("--swipe-amount-x",`${Pt.x}px`),(ut=Et.current)==null||ut.style.setProperty("--swipe-amount-y",`${Pt.y}px`)}},yi&&!m.jsx&&it!=="loading"?$.createElement("button",{"aria-label":R,"data-disabled":ar,"data-close-button":!0,onClick:ar||!dn?()=>{}:()=>{Dt(),m.onDismiss==null||m.onDismiss.call(m,m)},className:an(Z==null?void 0:Z.closeButton,m==null||(a=m.classNames)==null?void 0:a.closeButton)},(wi=ie==null?void 0:ie.close)!=null?wi:w2):null,(it||m.icon||m.promise)&&m.icon!==null&&((ie==null?void 0:ie[it])!==null||m.icon)?$.createElement("div",{"data-icon":"",className:an(Z==null?void 0:Z.icon,m==null||(u=m.classNames)==null?void 0:u.icon)},m.promise||m.type==="loading"&&!m.icon?m.icon||xi():null,m.type!=="loading"?Nn:null):null,$.createElement("div",{"data-content":"",className:an(Z==null?void 0:Z.content,m==null||(f=m.classNames)==null?void 0:f.content)},$.createElement("div",{"data-title":"",className:an(Z==null?void 0:Z.title,m==null||(c=m.classNames)==null?void 0:c.title)},m.jsx?m.jsx:typeof m.title=="function"?m.title():m.title),m.description?$.createElement("div",{"data-description":"",className:an(Ce,ks,Z==null?void 0:Z.description,m==null||(p=m.classNames)==null?void 0:p.description)},typeof m.description=="function"?m.description():m.description):null),$.isValidElement(m.cancel)?m.cancel:m.cancel&&Oo(m.cancel)?$.createElement("button",{"data-button":!0,"data-cancel":!0,style:m.cancelButtonStyle||V,onClick:he=>{Oo(m.cancel)&&dn&&(m.cancel.onClick==null||m.cancel.onClick.call(m.cancel,he),Dt())},className:an(Z==null?void 0:Z.cancelButton,m==null||(h=m.classNames)==null?void 0:h.cancelButton)},m.cancel.label):null,$.isValidElement(m.action)?m.action:m.action&&Oo(m.action)?$.createElement("button",{"data-button":!0,"data-action":!0,style:m.actionButtonStyle||ge,onClick:he=>{Oo(m.action)&&(m.action.onClick==null||m.action.onClick.call(m.action,he),!he.defaultPrevented&&Dt())},className:an(Z==null?void 0:Z.actionButton,m==null||(y=m.classNames)==null?void 0:y.actionButton)},m.action.label):null)};function Ah(){if(typeof window>"u"||typeof document>"u")return"ltr";const n=document.documentElement.getAttribute("dir");return n==="auto"||!n?window.getComputedStyle(document.documentElement).direction:n}function L2(n,r){const s={};return[n,r].forEach((a,u)=>{const f=u===1,c=f?"--mobile-offset":"--offset",p=f?A2:M2;function h(y){["top","right","bottom","left"].forEach(v=>{s[`${c}-${v}`]=typeof y=="number"?`${y}px`:y})}typeof a=="number"||typeof a=="string"?h(a):typeof a=="object"?["top","right","bottom","left"].forEach(y=>{a[y]===void 0?s[`${c}-${y}`]=p:s[`${c}-${y}`]=typeof a[y]=="number"?`${a[y]}px`:a[y]}):h(p)}),s}const O2=$.forwardRef(function(r,s){const{invert:a,position:u="bottom-right",hotkey:f=["altKey","KeyT"],expand:c,closeButton:p,className:h,offset:y,mobileOffset:v,theme:m="light",richColors:w,duration:C,style:P,visibleToasts:j=N2,toastOptions:A,dir:I=Ah(),gap:F=j2,icons:B,containerAriaLabel:X="Notifications"}=r,[W,oe]=$.useState([]),de=$.useMemo(()=>Array.from(new Set([u].concat(W.filter(b=>b.position).map(b=>b.position)))),[W,u]),[V,ge]=$.useState([]),[Se,Ce]=$.useState(!1),[Ne,Me]=$.useState(!1),[Ve,ke]=$.useState(m!=="system"?m:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),Z=$.useRef(null),ie=f.join("+").replace(/Key/g,"").replace(/Digit/g,""),R=$.useRef(null),G=$.useRef(!1),H=$.useCallback(b=>{oe(D=>{var K;return(K=D.find(J=>J.id===b.id))!=null&&K.delete||Ct.dismiss(b.id),D.filter(({id:J})=>J!==b.id)})},[]);return $.useEffect(()=>Ct.subscribe(b=>{if(b.dismiss){requestAnimationFrame(()=>{oe(D=>D.map(K=>K.id===b.id?{...K,delete:!0}:K))});return}setTimeout(()=>{d2.flushSync(()=>{oe(D=>{const K=D.findIndex(J=>J.id===b.id);return K!==-1?[...D.slice(0,K),{...D[K],...b},...D.slice(K+1)]:[b,...D]})})})}),[W]),$.useEffect(()=>{if(m!=="system"){ke(m);return}if(m==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?ke("dark"):ke("light")),typeof window>"u")return;const b=window.matchMedia("(prefers-color-scheme: dark)");try{b.addEventListener("change",({matches:D})=>{ke(D?"dark":"light")})}catch{b.addListener(({matches:K})=>{try{ke(K?"dark":"light")}catch(J){console.error(J)}})}},[m]),$.useEffect(()=>{W.length<=1&&Ce(!1)},[W]),$.useEffect(()=>{const b=D=>{var K;if(f.every(ae=>D[ae]||D.code===ae)){var pe;Ce(!0),(pe=Z.current)==null||pe.focus()}D.code==="Escape"&&(document.activeElement===Z.current||(K=Z.current)!=null&&K.contains(document.activeElement))&&Ce(!1)};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[f]),$.useEffect(()=>{if(Z.current)return()=>{R.current&&(R.current.focus({preventScroll:!0}),R.current=null,G.current=!1)}},[Z.current]),$.createElement("section",{ref:s,"aria-label":`${X} ${ie}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},de.map((b,D)=>{var K;const[J,pe]=b.split("-");return W.length?$.createElement("ol",{key:b,dir:I==="auto"?Ah():I,tabIndex:-1,ref:Z,className:h,"data-sonner-toaster":!0,"data-sonner-theme":Ve,"data-y-position":J,"data-lifted":Se&&W.length>1&&!c,"data-x-position":pe,style:{"--front-toast-height":`${((K=V[0])==null?void 0:K.height)||0}px`,"--width":`${R2}px`,"--gap":`${F}px`,...P,...L2(y,v)},onBlur:ae=>{G.current&&!ae.currentTarget.contains(ae.relatedTarget)&&(G.current=!1,R.current&&(R.current.focus({preventScroll:!0}),R.current=null))},onFocus:ae=>{ae.target instanceof HTMLElement&&ae.target.dataset.dismissible==="false"||G.current||(G.current=!0,R.current=ae.relatedTarget)},onMouseEnter:()=>Ce(!0),onMouseMove:()=>Ce(!0),onMouseLeave:()=>{Ne||Ce(!1)},onDragEnd:()=>Ce(!1),onPointerDown:ae=>{ae.target instanceof HTMLElement&&ae.target.dataset.dismissible==="false"||Me(!0)},onPointerUp:()=>Me(!1)},W.filter(ae=>!ae.position&&D===0||ae.position===b).map((ae,ce)=>{var ye,we;return $.createElement(V2,{key:ae.id,icons:B,index:ce,toast:ae,defaultRichColors:w,duration:(ye=A==null?void 0:A.duration)!=null?ye:C,className:A==null?void 0:A.className,descriptionClassName:A==null?void 0:A.descriptionClassName,invert:a,visibleToasts:j,closeButton:(we=A==null?void 0:A.closeButton)!=null?we:p,interacting:Ne,position:b,style:A==null?void 0:A.style,unstyled:A==null?void 0:A.unstyled,classNames:A
175==null?void 0:A.classNames,cancelButtonStyle:A==null?void 0:A.cancelButtonStyle,actionButtonStyle:A==null?void 0:A.actionButtonStyle,closeButtonAriaLabel:A==null?void 0:A.closeButtonAriaLabel,removeToast:H,toasts:W.filter(_e=>_e.position==ae.position),heights:V.filter(_e=>_e.position==ae.position),setHeights:ge,expandByDefault:c,gap:F,expanded:Se,swipeDirections:r.swipeDirections})})):null}))}),z2={name:"æºç»´äºå¹³å°",copyright:"Copyright © 2019 æé½ç¦¾æç§ææéå
¬å¸",beian:{police:{text:"å·å
¬ç½å®å¤ 51011402000296å·",url:"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=51011402000296"},icp:{text:"èICPå¤19024117å·",url:"http://beian.miit.gov.cn/"}}},F2={links:[{id:"highlights",label:"产å亮ç¹"},{id:"features",label:"åè½æ¨¡å"},{id:"scenarios",label:"å
¸ååºæ¯"},{id:"pricing",label:"å®ä»·"}]},B2={title:"æºç»´äºå¹³å°",subtitle:'é¢åå¶é ç°åºç"èµäº§âå·¥åâåè¦âç¥è¯"ä¸ä½åå¹³å°',description:"ç¨ç»ä¸ä¸»æ°æ®ä¸æµç¨å¼ææé设å¤å
¨çå½å¨æï¼ç¨ AI å éç¥è¯æ²æ·ãæ
éåæä¸ SOP çæã",buttons:[{text:"ç«å³è¯ç¨",variant:"primary",action:"trial"},{text:"èç³»éå®",variant:"outline",action:"contact"}],stats:[{label:"å
¨æµç¨éç¯ç®¡ç",value:"100%",icon:"Database"},{label:"AI è¾
å©å¼åå æ¯",value:"~80%",icon:"Zap"},{label:"å¤ç§æ·æ¯æ",value:"â",icon:"Users"},{label:"è¿ç»´æçæå",value:"3x",icon:"TrendingUp"}],notAvailableMessage:"ç³»ç»ææªå¼æ¾ï¼æ¬è¯·æå¾
"},U2={title:"产å亮ç¹",subtitle:"ä»ä¸å¡éç¯å° AI è½åï¼å
¨æ¹ä½æåè¿ç»´ç®¡çæç",items:[{icon:"Layers",title:"éç¯ä¸ä½å",subtitle:"å
¨æµç¨ç®¡ç",description:"è¦çèµäº§å°è´¦ã计åãåè¦ãå·¥åãç¥è¯æ²æ·çå
¨æµç¨éç¯ã",features:["让ç°åºæ§è¡ææ åãæè®°å½ãæè¿½æº¯","管çå±å¯çè§æçä¸é£é©","æ°æ®é©±å¨çè¿ç»´å³ç"],gradient:"from-blue-500 to-cyan-500"},{icon:"Database",title:"èµäº§ä¸è®¾å¤ç»æå管ç",subtitle:"ç»ä¸èµäº§åºçº¿",description:"ç»ä¸èµäº§åºçº¿æ°æ®ä¸è®¾å¤ç»æï¼è®©è®¾å¤ä¿¡æ¯å¯æ¥è¯¢ãå¯å
³èãå¯è¿½æº¯ã",features:["æ¯æè®¾å¤æ¨¡åãç»ææ¨¡æ¿ä¸å®ä¾ç»ææ ","æ²æ·æ åå设å¤èµæ","设å¤ä¿¡æ¯å
¨çå½å¨æç®¡ç"],gradient:"from-purple-500 to-pink-500"},{icon:"CalendarClock",title:"计åä¸åè¦é©±å¨å·¥å",subtitle:"主å¨å¼è¿ç»´",description:"å·¡æ£/ä¿å
»/ç¹æ£æçç¥çæä»»å¡å¹¶è·è¸ªå®æï¼é¿å
æ¼æ£ã",features:["计åä»»å¡èªå¨çæä¸è·è¸ª","åè¦äºä»¶èå¨å·¥åä¸éç¥","让å¤ç½®æµç¨å¯æ§ãå¯éç¯"],gradient:"from-green-500 to-emerald-500"},{icon:"Brain",title:"ç¥è¯æ²æ·ä¸ AI 婿",subtitle:"æºè½è¾
å©",description:"åºäºç¥è¯æ¡ç®ãéä»¶ä¸åå²å·¥åï¼æä¾æºè½åçè¿ç»´æ¯æã",features:["ç¥è¯é®çï¼å¿«éå®ä½ç¸å
³ç»éª","å·¥åæºè½è¾
å©ï¼çææ é¢/åç±»/ææ¥æ¥éª¤","åè¦åæï¼è¯å«é«é¢æ¨¡å¼ä¸ä¼å建议","SOP èæï¼åºäºå岿¡ä¾çææ¨¡æ¿"],gradient:"from-orange-500 to-red-500"},{icon:"ShieldCheck",title:"æéã审计ä¸å¤ç§æ·",subtitle:"å®å
¨åè§",description:"æ¯æç¨æ·ãè§è²ãç»ç»ä¸æéæ§å¶ï¼æ»¡è¶³ä¸åå²ä½ç使ç¨è¾¹çã",features:["å
³é®æä½å¯å®¡è®¡ççï¼ä¾¿äºè¿½è´£ä¸åè§","æ¯æå¤ç§æ·æ¨¡å¼","éé
SaaS ä¸éå¢å¤ç»ç»åºæ¯"],gradient:"from-indigo-500 to-blue-500"},{icon:"Zap",title:"AI 驱å¨ç åæç",subtitle:"髿è¿ä»£",description:"å¨é¡¹ç®è¿ä»£ä¸å¤§éä½¿ç¨ AI è¾
å©ç åã",features:["约 80% ç代ç å®ç°ç± AI è¾
å©å®æ","å é产åè¿ä»£ä¸äº¤ä»","æç»ä¼å产åè´¨é"],gradient:"from-yellow-500 to-orange-500"}]},$2={title:"主è¦åè½æ¨¡å",subtitle:"æä¸å¡ååç»ï¼è¦ç设å¤è¿ç»´å
¨æµç¨",modules:[{id:"assets",name:"èµäº§ä¸è®¾å¤",icon:"Database",description:"æ ¸å¿å",color:"blue",features:[{title:"èµäº§å°è´¦",desc:"èµäº§å表/èµäº§æ ãæ©å±å±æ§ãç»æåä¿¡æ¯ç»´æ¤"},{title:"è®¾å¤æ¨¡åä¸ç»æ",desc:"è®¾å¤æ¨¡ååºãç»ææ¨¡æ¿ä¸å®ä¾ç»ææ "},{title:"SOP 模æ¿",desc:"æ åä½ä¸æ¥éª¤ç®¡çï¼ä¸å·¥å/å·¡æ£æ§è¡èå¨ï¼"}]},{id:"maintenance",name:"è¿ç»´ç®¡ç",icon:"Wrench",description:"è¿ç»´æ§è¡å",color:"indigo",features:[{title:"å·¥åå
¨çå½å¨æ",desc:"åå»ºãæ´¾å·¥/认é¢ãæ§è¡ãéªæ¶ãå
³é"},{title:"æ§è¡è®°å½",desc:"å·¥å/å·¡æ£æ§è¡è¿ç¨ççãéä»¶ä¸ç»éªæ²æ·"},{title:"å¤ä»¶ä½¿ç¨",desc:"å¤ä»¶æ¶èä¸è¿½æº¯ï¼æå设计æ©å±ï¼"}]},{id:"planning",name:"ç»´æ¤è®¡å",icon:"Calendar",description:"ç»´æ¤è®¡åå",color:"purple",features:[{title:"è®¡åæ¨¡æ¿ä¸å¨æçç¥",desc:"å·¡æ£/ä¿å
»/ç¹æ£ç计åä¸é¢æ¬¡"},{title:"æ§è¡è·è¸ª",desc:"计åå®ä¾ä¸å®æçç»è®¡ï¼å£å¾ç±åå
å®ä¹ï¼"}]},{id:"alerts",name:"äºä»¶ä¸åè¦",icon:"Bell",description:"äºä»¶ä¸åè¦å",color:"red",features:[{title:"åè¦è§åä¸åè¦äºä»¶",desc:"确认/å
³é/èå¨å¤ç"},{title:"åè¦é©±å¨å·¥å",desc:"便®è§åèªå¨å建工åå¹¶éç¥"}]},{id:"monitoring",name:"宿¶çæ§",icon:"Activity",description:"宿¶æ°æ®ä¸çæ§å",color:"green",features:[{title:"宿¶ç¹ä¸ééé
ç½®",desc:"为åè¦å¤å®ä¸è¶å¿åææä¾æ°æ®æ¯æ"}
175,{title:"çæ§çæ¿",desc:"宿¶/åå²è¶å¿ï¼æäº¤ä»çæ¬è§åï¼"}]},{id:"knowledge",name:"ç¥è¯ä¸ç»éª",icon:"BookOpen",description:"ç¥è¯ä¸ç»éªå",color:"orange",features:[{title:"ç¥è¯åº",desc:"ç»éªæ¡ç®ãSOP ææ¡£ãéä»¶æ²æ·"},{title:"AI é®ç䏿¨è",desc:"ç»åå·¥å/设å¤ä¸ä¸æçæºè½æ£ç´¢ä¸åç"}]},{id:"platform",name:"å¹³å°é
ç½®",icon:"Settings",description:"æ¯æå",color:"gray",features:[{title:"ä¸»æ°æ®ä¸åå
¸",desc:"è·¨ä¸å¡åç»ä¸çæä¸¾/åç±»/ä¸»æ°æ®"},{title:"ç³»ç»åæ°",desc:"è¿ç»´çç¥ãéå¼ãSLA çå¯é
ç½®é¡¹ï¼æ¯æç§æ·è¦çï¼"},{title:"æä»¶ä¸éä»¶",desc:"æä»¶ä¸ä¼ ãç®å½ãåæ¶ç«ãå享ãç¥è¯åºéæ"}]}]},W2={title:"å
¸ååºç¨åºæ¯",subtitle:"ä»è®¡åå°æ§è¡ãä»åè¦å°éç¯ã仿é®å°æ²æ·",items:[{icon:"CheckCircle",title:"å·¡æ£/ä¿å
»éç¯",color:"green",gradient:"from-green-500 to-emerald-500",steps:[{label:"å建维æ¤è®¡å",desc:"设置巡æ£/ä¿å
»å¨æä¸ SOP 模æ¿"},{label:"çææ§è¡ä»»å¡",desc:"ç³»ç»æè®¡åèªå¨çæå¾
æ§è¡ä»»å¡"},{label:"æ§è¡ SOP",desc:"ç°åºäººåææ¥éª¤å®æï¼è®°å½æ°æ®ä¸å¼å¸¸"},{label:"彿¡£ä¸ç»è®¡",desc:"èªå¨å½æ¡£ç»éªï¼çæå®æçä¸è´¨éæ¥å"}]},{icon:"AlertTriangle",title:"åè¦é©±å¨æ
éå¤ç",color:"red",gradient:"from-red-500 to-orange-500",steps:[{label:"åè¦äº§ç",desc:"宿¶çæ§è§¦ååè¦è§åï¼çæåè¦äºä»¶"},{label:"èªå¨å建工å",desc:"便®åè¦çº§å«èªå¨æ´¾å维修工å"},{label:"AI å¤ç½®å»ºè®®",desc:"åºäºå岿¡ä¾æ¨èææ¥æ¥éª¤ä¸è§£å³æ¹æ¡"},{label:"ç»éªæ²æ·",desc:"å·¥åéç¯åèªå¨æ´æ°ç¥è¯åºä¸ SOP"}]},{icon:"MessageSquare",title:"ç¥è¯é®ç",color:"blue",gradient:"from-blue-500 to-indigo-500",steps:[{label:"æåºé®é¢",desc:"ç°åºäººåè¾å
¥è®¾å¤æ
éææä½é®é¢"},{label:"æºè½æ£ç´¢",desc:"RAG æ£ç´¢ç¥è¯åºãSOPãåå²å·¥å"},{label:"çæçæ¡",desc:"AI çæå¯è§£éççæ¡ï¼éå¸¦æ¥æºå¼ç¨"},{label:"æç»ä¼å",desc:"æ ¹æ®åé¦ä¸æä¼åç¥è¯åºè´¨é"}]}]},H2={title:"å®ä»·æ¹æ¡",subtitle:"çµæ´»çå®ä»·æ¨¡å¼ï¼æ»¡è¶³ä¸åè§æ¨¡ä¸äº¤ä»éæ±",aiNotice:{title:"AI è½åéæ¶å
费使ç¨",description:"ä¸ä¸çä¸ä¼ä¸çç¨æ·å¯å
è´¹ä½¿ç¨ AI ç¥è¯é®çãå·¥åæºè½è¾
å©ãåè¦åæçè½åã",disclaimer:"* å
·ä½æ¶è´¹æ¶é´ä¸è®¡è´¹æ¨¡å¼ä»¥äº§åè¿è¥å
¬å为å"},saasPlans:[{name:"æ åç",subtitle:"éåä¸å°åä¼ä¸",price:{monthly:"Â¥9,999",yearly:"Â¥99,990"},discount:"å¹´ä»äº« 17% 伿 ",features:[{name:"èµäº§å°è´¦ä¸è®¾å¤æ¨¡å",included:!0},{name:"å·¥åå
¨çå½å¨æç®¡ç",included:!0},{name:"ä¸»æ°æ®ä¸åå
¸",included:!0},{name:"åºç¡æé管ç",included:!0},{name:"åè¦èå¨",included:!1},{name:"ç»´æ¤è®¡å管ç",included:!1},{name:"ç¥è¯åºä¸ AI é®ç",included:!1},{name:"å¤ç»ç»/夿æé",included:!1}],users:"æå¤ 20 ä¸ªç¨æ·",cta:"å¼å§è¯ç¨",popular:!1},{name:"ä¸ä¸ç",subtitle:"éåæé¿åä¼ä¸",price:{monthly:"Â¥19,999",yearly:"Â¥199,990"},discount:"å¹´ä»äº« 17% 伿 ",features:[{name:"èµäº§å°è´¦ä¸è®¾å¤æ¨¡å",included:!0},{name:"å·¥åå
¨çå½å¨æç®¡ç",included:!0},{name:"ä¸»æ°æ®ä¸åå
¸",included:!0},{name:"åºç¡æé管ç",included:!0},{name:"åè¦èå¨",included:!0},{name:"ç»´æ¤è®¡å管ç",included:!0},{name:"ç¥è¯åºä¸ AI é®ç",included:!0},{name:"å¤ç»ç»/夿æé",included:!1}],users:"æå¤ 100 ä¸ªç¨æ·",cta:"ç«å³è´ä¹°",popular:!0},{name:"ä¼ä¸ç",subtitle:"éå大åç»ç»",price:{monthly:"å®å¶æ¥ä»·",yearly:"å®å¶æ¥ä»·"},discount:"èç³»éå®è·åæ¹æ¡",features:[{name:"èµäº§å°è´¦ä¸è®¾å¤æ¨¡å",included:!0},{name:"å·¥åå
¨çå½å¨æç®¡ç",included:!0},{name:"ä¸»æ°æ®ä¸åå
¸",included:!0},{name:"åºç¡æé管ç",included:!0},{name:"åè¦èå¨",included:!0},{name:"ç»´æ¤è®¡å管ç",included:!0},{name:"ç¥è¯åºä¸ AI é®ç",included:!0},{name:"å¤ç»ç»/夿æé",included:!0}],users:"æ éç¨æ·",cta:"èç³»éå®",popular:!1}],additionalServices:["æ°æ®å¯¹æ¥ä¸åæ¥ï¼å¤é¨ç³»ç»/PLC/SCADA/MES çï¼","ä¸å±å·¥ä½æµ/表åå®å¶ï¼æµç¨èç¹ã审æ¹ãå¨æè¡¨åï¼","ä¸å±æ¥è¡¨ä¸ææ ä½ç³»","ç§æåé¨ç½²ä¸æ¬å°åå®å¶","ä¸å±å¹è®ä¸é©»åºå®æ½æå¡"],contact:{title:"éè¦ç§æåé¨ç½²æå®å¶åæå¡ï¼",description:"æä»¬æä¾çµæ´»çç§æåé¨ç½²æ¹æ¡åå®å¶åæå¡ï¼æ»¡è¶³æ¨çç¹æ®éæ±ã请èç³»æä»¬è·åè¯¦ç»æ¹æ¡ä¸æ¥ä»·ã",servicesTitle:"ç§æåé¨ç½²ä¸å¢å¼æå¡",buttons:[{text:"èç³»éå®",variant:"primary"},{text:"è·åæ¥ä»·",variant:"outline"}
175],responseTime:"æä»¬å°å¨ 1 ä¸ªå·¥ä½æ¥å 䏿¨èç³»ï¼æä¾ä¸å±è§£å³æ¹æ¡",channels:[{icon:"ð§",title:"é®ä»¶å¨è¯¢",value:"[email protected]"},{icon:"ð",title:"çµè¯å¨è¯¢",value:"400-xxx-xxxx"},{icon:"ð¬",title:"å¨çº¿å®¢æ",value:"工使¥ 9:00-18:00"}]}},K2={sections:[{title:"产å",links:[{text:"åè½ä»ç»",url:"#features"},{text:"å®ä»·æ¹æ¡",url:"#pricing"},{text:"æ¡ä¾å享",url:"https://example.com/cases"}]},{title:"æ¯æ",links:[{text:"ææ¡£ä¸å¿",url:"https://docs.example.com"},{text:"API ææ¡£",url:"https://api-docs.example.com"},{text:"èç³»æä»¬",url:"https://example.com/contact"}]},{title:"å ³äº",links:[{text:"å ³äºæä»¬",url:"https://example.com/about"},{text:"éç§æ¿ç",url:"https://example.com/privacy"},{text:"æå¡æ¡æ¬¾",url:"https://example.com/terms"}]}]},me={site:z2,navigation:F2,hero:B2,highlights:U2,features:$2,scenarios:W2,pricing:H2,footer:K2};function G2(){const n={Database:Lu,Zap:Lh,Users:Uv,TrendingUp:Ov},r=me.hero.stats.map(s=>({...s,icon:n[s.icon]}));return S.jsxs("section",{className:"relative bg-gradient-to-br from-blue-50 via-white to-indigo-50 py-20 lg:py-28 overflow-hidden",children:[S.jsx(O2,{richColors:!0}),S.jsx("div",{className:"absolute inset-0 opacity-30",children:S.jsx("div",{className:"absolute inset-0",style:{backgroundImage:` 176 linear-gradient(to right, rgb(59 130 246 / 0.1) 1px, transparent 1px), 177 linear-gradient(to bottom, rgb(59 130 246 / 0.1) 1px, transparent 1px) 178 `,backgroundSize:"50px 50px"}})}),S.jsx(Ee.div,{className:"absolute top-0 left-1/4 w-96 h-96 bg-blue-400/20 rounded-full blur-3xl",animate:{y:[0,30,0],x:[0,20,0]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),S.jsx(Ee.div,{className:"absolute bottom-0 right-1/4 w-96 h-96 bg-indigo-400/20 rounded-full blur-3xl",animate:{y:[0,-30,0],x:[0,-20,0]},transition:{duration:10,repeat:1/0,ease:"easeInOut"}}),S.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",children:S.jsxs("div",{className:"text-center max-w-4xl mx-auto",children:[S.jsx(Ee.h1,{className:"text-4xl lg:text-5xl font-bold text-gray-900 mb-6",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6},children:me.hero.title}),S.jsx(Ee.p,{className:"text-xl lg:text-2xl text-gray-700 mb-4",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.2},children:me.hero.subtitle}),S.jsx(Ee.p,{className:"text-base lg:text-lg text-gray-600 mb-10 max-w-3xl mx-auto",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.4},children:me.hero.description}),S.jsxs(Ee.div,{className:"flex flex-col sm:flex-row gap-4 justify-center mb-16",initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.6,delay:.6},children:[S.jsxs(os,{size:"lg",className:"text-base px-8 relative overflow-hidden group",onClick:()=>Nh.info(me.hero.notAvailableMessage,{duration:3e3,position:"top-center"}),children:[S.jsx("span",{className:"relative z-10",children:me.hero.buttons[0].text}),S.jsx(Ee.div,{className:"absolute inset-0 bg-gradient-to-r from-blue-600 to-indigo-600",initial:{x:"-100%"},whileHover:{x:0},transition:{duration:.3}})]}),S.jsx(os,{size:"lg",variant:"outline",className:"text-base px-8 border-2 hover:border-blue-600 hover:text-blue-600 transition-colors",onClick:()=>Nh.info(me.hero.notAvailableMessage,{duration:3e3,position:"top-center"}),children:me.hero.buttons[1].text})]}),S.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-6 lg:gap-8",children:r.map((s,a)=>{const u=s.icon;return S.jsxs(Ee.div,{className:"bg-white/80 backdrop-blur-sm rounded-lg p-6 shadow-sm border border-gray-200 hover:shadow-xl hover:border-blue-300 transition-all duration-300 group relative overflow-hidden",initial:{opacity:0,y:30},animate:{opacity:1,y:0},transition:{duration:.6,delay:.8+a*.1},whileHover:{y:-5},children:[S.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-blue-500/0 to-indigo-500/0 group-hover:from-blue-500/10 group-hover:to-indigo-500/10 transition-all duration-300"}),S.jsxs("div",{className:"relative z-10",children:[S.jsx(Ee.div,{className:"flex justify-center mb-3",whileHover:{rotate:360,scale:1.2},transition:{duration:.6},children:S.jsx(u,{className:"w-8 h-8 text-blue-600"})}),S.jsx("div",{className:"text-2xl lg:text-3xl font-bold text-gray-900 mb-2",children:s.value}),S.jsx("div",{className:"text-xs lg:text-sm text-gray-600",children:s.label})]})]},a)})})]})})]})}function Er({className:n,...r}){return S.jsx("div",{"data-slot":"card",className:Nr("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border",n),...r})}function Y2(){const n=_.useRef(null),r=ea(n,{once:!0,margin:"-100px"}
178),s={Layers:Ev,Database:Lu,CalendarClock:gv,Brain:hv,ShieldCheck:jv,Zap:Lh},a=me.highlights.items.map(c=>({...c,icon:s[c.icon]})),u={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},f={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.6,ease:"easeOut"}}};return S.jsxs("section",{id:"highlights",className:"py-20 bg-gradient-to-b from-white to-gray-50 relative overflow-hidden",children:[S.jsxs("div",{className:"absolute inset-0 opacity-40",children:[S.jsx("div",{className:"absolute top-20 left-10 w-72 h-72 bg-blue-200 rounded-full mix-blend-multiply filter blur-3xl animate-pulse"}),S.jsx("div",{className:"absolute top-40 right-10 w-72 h-72 bg-purple-200 rounded-full mix-blend-multiply filter blur-3xl animate-pulse",style:{animationDelay:"2s"}})]}),S.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",ref:n,children:[S.jsxs(Ee.div,{className:"text-center mb-16",initial:{opacity:0,y:20},animate:r?{opacity:1,y:0}:{},transition:{duration:.6},children:[S.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900 mb-4",children:me.highlights.title}),S.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:me.highlights.subtitle})]}),S.jsx(Ee.div,{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",variants:u,initial:"hidden",animate:r?"visible":"hidden",children:a.map((c,p)=>{const h=c.icon;return S.jsx(Ee.div,{variants:f,whileHover:{scale:1.03},transition:{duration:.2},children:S.jsxs(Er,{className:"p-6 h-full hover:shadow-2xl transition-shadow duration-300 relative overflow-hidden group border-2 border-transparent hover:border-blue-200",children:[S.jsx("div",{className:`absolute inset-0 bg-gradient-to-br ${c.gradient} opacity-0 group-hover:opacity-10 transition-opacity duration-300`}),S.jsx(Ee.div,{className:"absolute inset-0 bg-gradient-to-b from-transparent via-blue-400/20 to-transparent",initial:{y:"-100%"},animate:{y:"200%"},transition:{duration:3,repeat:1/0,ease:"linear",repeatDelay:5}}),S.jsxs("div",{className:"relative z-10",children:[S.jsxs("div",{className:"flex items-start gap-4 mb-4",children:[S.jsx(Ee.div,{className:"flex-shrink-0",whileHover:{rotate:[0,-10,10,-10,0]},transition:{duration:.5},children:S.jsx("div",{className:`w-12 h-12 bg-gradient-to-br ${c.gradient} rounded-lg flex items-center justify-center shadow-lg`,children:S.jsx(h,{className:"w-6 h-6 text-gray-900"})})}),S.jsxs("div",{children:[S.jsx("h3",{className:"font-semibold text-gray-900 mb-1",children:c.title}),S.jsx("p",{className:`text-sm bg-gradient-to-r ${c.gradient} bg-clip-text text-transparent font-medium`,children:c.subtitle})]})]}),S.jsx("p",{className:"text-sm text-gray-600 mb-4",children:c.description}),S.jsx("ul",{className:"space-y-2",children:c.features.map((y,v)=>S.jsxs(Ee.li,{className:"text-sm text-gray-700 flex items-start gap-2",initial:{opacity:0,x:-10},animate:r?{opacity:1,x:0}:{},transition:{delay:.8+p*.1+v*.05},children:[S.jsx("span",{className:`bg-gradient-to-r ${c.gradient} bg-clip-text text-transparent mt-1 font-bold`,children:"â¢"}),S.jsx("span",{children:y})]},v))})]})]})},p)})})]})]})}function X2(){const n=_.useRef(null),r=ea(n,{once:!0,margin:"-100px"}),s={Database:Lu,Wrench:Wv,Calendar:vv,Bell:cv,Activity:ov,BookOpen:fv,Settings:Av},a=me.features.modules.map(f=>({...f,icon:s[f.icon]})),u={blue:{bg:"bg-blue-100",text:"text-blue-600",border:"border-blue-300",glow:"shadow-blue-200"},indigo:{bg:"bg-indigo-100",text:"text-indigo-600",border:"border-indigo-300",glow:"shadow-indigo-200"},purple:{bg:"bg-purple-100",text:"text-purple-600",border:"border-purple-300",glow:"shadow-purple-200"},red:{bg:"bg-red-100",text:"text-red-600",border:"border-red-300",glow:"shadow-red-200"},green:{bg:"bg-green-100",text:"text-green-600",border:"border-green-300",glow:"shadow-green-200"},orange:{bg:"bg-orange-100",text:"text-orange-600",border:"border-orange-300",glow:"shadow-orange-200"},gray:{bg:"bg-gray-100",text:"text-gray-600",border:"border-gray-300",glow:"shadow-gray-200"}};return S.jsxs("section",{id:"features",className:"py-20 bg-white relative overflow-hidden",children:[S.jsx("div",{className:"absolute inset-0 opacity-30",children:S.jsx("div",{className:"absolute inset-0",style:{backgroundImage:"radial-gradient(circle at 1px 1px, rgb(99 102 241 / 0.1) 1px, transparent 0)",backgroundSize:"40px 40px"}})}),S.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",ref:n,children:[S.jsxs(Ee.div,{className:"text-center mb-16",initial:{opacity:0,y:20},animate:r?{opacity:1,y:0}:{},transition:{duration:.6},children:[S.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900 mb-4",children:me.features.title}),S.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:me.features.subtitle})]}),S.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:a.map((f,c)=>{const p=f.icon,h=u[f.color];return S.jsx(Ee.div,{initial:{opacity:0,y:30},animate:r?{opacity:1,y:0}:{},transition:{duration:.6,delay:c*.1},children:S.jsxs(Er,{className:"p-6 h-full hover:shadow-2xl transition-all duration-300 group relative overflow-hidden border-2 border-transparent hover:border-opacity-50",children:[S.jsx(Ee.div,{className:`absolute inset-0 ${h.bg} opacity-0 group-hover:opacity-20 transition-opacity duration-300`}),S.jsx("div",{className:`absolute inset-0 border-2 ${h.border} opacity-0 group-hover:opacity-100 transition-opacity duration-300 rounded-lg`}),S.jsxs("div",{className:"relative z-10",children:[S.jsxs("div",{className:"flex items-start gap-4 mb-6",children:[S.jsx(Ee.div,{className:"flex-shrink-0",whileHover:{scale:1.1,rotate:5},transition:{duration:.3},children:S.jsx("div",{className:`w-12 h-12 ${h.bg} rounded-lg flex items-center justify-center shadow-md group-hover:shadow-lg group-hover:${h.glow} transition-shadow duration-300`,children:S.jsx(p,{className:`w-6 h-6 ${h.text}`})})}),S.jsxs("div",{children:[S.jsx("h3",{className:"font-semibold text-gray-900 mb-1",children:f.name}),S.jsx("p",{className:`text-sm ${h.text} font-medium`,children:f.description})]})]}),S.jsx("div",{className:"space-y-4",children:f.features.map((y,v)=>S.jsxs(Ee.div,{className:`border-l-2 border-gray-200 group-hover:${h.border} pl-4 transition-colors duration-300`,initial:{opacity:0,x:-10},animate:r?{opacity:1,x:0}:{},transition:{delay:c*.1+v*.05+.3},children:[S.jsx("h4",{className:"font-medium text-sm text-gray-900 mb-1",children:y.title}),S.jsx("p",{className:"text-sm text-gray-600",children:y.desc})]},v))})]})]})},f.id)})})]})]})}function Q2(){const n=_.useRef(null),r=ea(n,{once:!0,margin:"-100px"}),s={CheckCircle:Sv,AlertTriangle:Fv,MessageSquare:Nv},a=me.scenarios.items.map(f=>({...f,icon:s[f.icon]})),u={green:{bg:"bg-green-100",text:"text-green-600",border:"border-green-200"},red:{bg:"bg-red-100",text:"text-red-600",border:"border-red-200"},blue:{bg:"bg-blue-100",text:"text-blue-600",border:"border-blue-200"}};return S.jsxs("section",{id:"scenarios",className:"py-20 bg-gradient-to-b from-gray-50 to-white relative overflow-hidden",children:[S.jsx(Ee.div,{className:"absolute top-0 right-0 w-96 h-96 bg-blue-200/30 rounded-full blur-3xl",animate:{scale:[1,1.2,1],opacity:[.3,.5,.3]},transition:{duration:8,repeat:1/0,ease:"easeInOut"}}),S.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",ref:n,children:[S.jsxs(Ee.div,{className:"text-center mb-16",initial:{opacity:0,y:20},animate:r?{opacity:1,y:0}:{},transition:{duration:.6},children:[S.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900 mb-4",children:me.scenarios.title}),S.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto",children:me.scenarios.subtitle})]}),S.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8",children:a.map((f,c)=>{const p=f.icon,h=u[f.color];return S.jsx(Ee.div,{initial:{opacity:0,y:30},animate:r?{opacity:1,y:0}:{},transition:{duration:.6,delay:c*.2},whileHover:{y:-8},children:S.jsxs(Er,{className:"p-6 h-full hover:shadow-2xl transition-all duration-300 group relative overflow-hidden",children:[S.jsx("div",{className:`absolute inset-0 bg-gradient-to-br ${f.gradient} opacity-0 group-hover:opacity-5 transition-opacity duration-300`}),S.jsx(Ee.div,{className:`absolute -top-20 -right-20 w-40 h-40 bg-gradient-to-br ${f.gradient}
178 rounded-full blur-3xl opacity-0 group-hover:opacity-20`,animate:{scale:[1,1.2,1]},transition:{duration:2,repeat:1/0}}),S.jsxs("div",{className:"relative z-10",children:[S.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[S.jsx(Ee.div,{className:`w-12 h-12 ${h.bg} rounded-lg flex items-center justify-center shadow-md group-hover:shadow-lg transition-shadow`,whileHover:{rotate:360},transition:{duration:.6},children:S.jsx(p,{className:`w-6 h-6 ${h.text}`})}),S.jsx("h3",{className:"font-semibold text-gray-900",children:f.title})]}),S.jsx("div",{className:"space-y-4",children:f.steps.map((y,v)=>S.jsxs(Ee.div,{className:"relative",initial:{opacity:0,x:-20},animate:r?{opacity:1,x:0}:{},transition:{delay:c*.2+v*.1+.3},children:[S.jsxs("div",{className:"flex gap-3",children:[S.jsx(Ee.div,{className:`flex-shrink-0 w-6 h-6 rounded-full ${h.bg} flex items-center justify-center text-xs font-medium ${h.text} shadow-sm`,whileHover:{scale:1.2},transition:{duration:.2},children:v+1}),S.jsxs("div",{className:"flex-1",children:[S.jsx("h4",{className:"text-sm font-medium text-gray-900 mb-1",children:y.label}),S.jsx("p",{className:"text-sm text-gray-600",children:y.desc})]})]}),v<f.steps.length-1&&S.jsx(Ee.div,{className:`absolute left-3 top-8 bottom-0 w-px ${h.border} bg-opacity-50`,initial:{scaleY:0},animate:r?{scaleY:1}:{},transition:{delay:c*.2+v*.1+.4,duration:.3},style:{transformOrigin:"top"}})]},v))}),S.jsxs(Ee.div,{className:`mt-6 pt-4 border-t ${h.border} flex items-center gap-2 ${h.text} text-sm font-medium cursor-pointer`,whileHover:{x:5},transition:{duration:.2},children:["æ¥çè¯¦ç»æµç¨",S.jsx(lv,{className:"w-4 h-4"})]})]})]})},c)})})]})]})}const q2=Bh("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function Rh({className:n,variant:r,asChild:s=!1,...a}){const u=s?oi:"span";return S.jsx(u,{"data-slot":"badge",className:Nr(q2({variant:r}),n),...a})}function bn(n,r,{checkForDefaultPrevented:s=!0}={}){return function(u){if(n==null||n(u),s===!1||!u.defaultPrevented)return r==null?void 0:r(u)}}function gc(n,r=[]){let s=[];function a(f,c){const p=_.createContext(c),h=s.length;s=[...s,c];const y=m=>{var I;const{scope:w,children:C,...P}=m,j=((I=w==null?void 0:w[n])==null?void 0:I[h])||p,A=_.useMemo(()=>P,Object.values(P));return S.jsx(j.Provider,{value:A,children:C})};y.displayName=f+"Provider";function v(m,w){var j;const C=((j=w==null?void 0:w[n])==null?void 0:j[h])||p,P=_.useContext(C);if(P)return P;if(c!==void 0)return c;throw new Error(`\`${m}\` must be used within \`${f}\``)}return[y,v]}const u=()=>{const f=s.map(c=>_.createContext(c));return function(p){const h=(p==null?void 0:p[n])||f;return _.useMemo(()=>({[`__scope${n}`]:{...p,[n]:h}}),[p,h])}};return u.scopeName=n,[a,Z2(u,...r)]}function Z2(...n){const r=n[0];if(n.length===1)return r;const s=()=>{const a=n.map(u=>({useScope:u(),scopeName:u.scopeName}));return function(f){const c=a.reduce((p,{useScope:h,scopeName:y})=>{const m=h(f)[`__scope${y}`];return{...p,...m}},{});return _.useMemo(()=>({[`__scope${r.scopeName}`]:c}),[c])}};return s.scopeName=r.scopeName,s}function J2(n){const r=n+"CollectionProvider",[s,a]=gc(r),[u,f]=s(r,{collectionRef:{current:null},itemMap:new Map}),c=C=>{const{scope:P,children:j}=C,A=$.useRef(null),I=$.useRef(new Map).current;return S.jsx(u,{scope:P,itemMap:I,collectionRef:A,children:j})};c.displayName=r;const p=n+"CollectionSlot",h=$.forwardRef((C,P)=>{const{scope:j,children:A}
vendor: 9,116 bytes, line 178
178=C,I=f(p,j),F=Wo(P,I.collectionRef);return S.jsx(oi,{ref:F,children:A})});h.displayName=p;const y=n+"CollectionItemSlot",v="data-radix-collection-item",m=$.forwardRef((C,P)=>{const{scope:j,children:A,...I}=C,F=$.useRef(null),B=Wo(P,F),X=f(y,j);return $.useEffect(()=>(X.itemMap.set(F,{ref:F,...I}),()=>void X.itemMap.delete(F))),S.jsx(oi,{[v]:"",ref:B,children:A})});m.displayName=y;function w(C){const P=f(n+"CollectionConsumer",C);return $.useCallback(()=>{const A=P.collectionRef.current;if(!A)return[];const I=Array.from(A.querySelectorAll(`[${v}]`));return Array.from(P.itemMap.values()).sort((X,W)=>I.indexOf(X.ref.current)-I.indexOf(W.ref.current))},[P.collectionRef,P.itemMap])}return[{Provider:c,Slot:h,ItemSlot:m},w,a]}var _u=globalThis!=null&&globalThis.document?_.useLayoutEffect:()=>{},eb=ev.useId||(()=>{}),tb=0;function jg(n){const[r,s]=_.useState(eb());return _u(()=>{s(a=>a??String(tb++))},[n]),n||(r?`radix-${r}`:"")}var nb=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],hi=nb.reduce((n,r)=>{const s=_.forwardRef((a,u)=>{const{asChild:f,...c}=a,p=f?oi:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),S.jsx(p,{...c,ref:u})});return s.displayName=`Primitive.${r}`,{...n,[r]:s}},{});function yc(n){const r=_.useRef(n);return _.useEffect(()=>{r.current=n}),_.useMemo(()=>(...s)=>{var a;return(a=r.current)==null?void 0:a.call(r,...s)},[])}function Dg({prop:n,defaultProp:r,onChange:s=()=>{}}){const[a,u]=rb({defaultProp:r,onChange:s}),f=n!==void 0,c=f?n:a,p=yc(s),h=_.useCallback(y=>{if(f){const m=typeof y=="function"?y(n):y;m!==n&&p(m)}else u(y)},[f,n,u,p]);return[c,h]}function rb({defaultProp:n,onChange:r}){const s=_.useState(n),[a]=s,u=_.useRef(a),f=yc(r);return _.useEffect(()=>{u.current!==a&&(f(a),u.current=a)},[a,u,f]),s}var ib=_.createContext(void 0);function _g(n){const r=_.useContext(ib);return n||r||"ltr"}var ou="rovingFocusGroup.onEntryFocus",sb={bubbles:!1,cancelable:!0},ta="RovingFocusGroup",[Iu,Ig,ob]=J2(ta),[ab,Vg]=gc(ta,[ob]),[lb,ub]=ab(ta),Lg=_.forwardRef((n,r)=>S.jsx(Iu.Provider,{scope:n.__scopeRovingFocusGroup,children:S.jsx(Iu.Slot,{scope:n.__scopeRovingFocusGroup,children:S.jsx(cb,{...n,ref:r})})}));Lg.displayName=ta;var cb=_.forwardRef((n,r)=>{const{__scopeRovingFocusGroup:s,orientation:a,loop:u=!1,dir:f,currentTabStopId:c,defaultCurrentTabStopId:p,onCurrentTabStopIdChange:h,onEntryFocus:y,preventScrollOnEntryFocus:v=!1,...m}=n,w=_.useRef(null),C=Wo(r,w),P=_g(f),[j=null,A]=Dg({prop:c,defaultProp:p,onChange:h}),[I,F]=_.useState(!1),B=yc(y),X=Ig(s),W=_.useRef(!1),[oe,de]=_.useState(0);return _.useEffect(()=>{const V=w.current;if(V)return V.addEventListener(ou,B),()=>V.removeEventListener(ou,B)},[B]),S.jsx(lb,{scope:s,orientation:a,dir:P,loop:u,currentTabStopId:j,onItemFocus:_.useCallback(V=>A(V),[A]),onItemShiftTab:_.useCallback(()=>F(!0),[]),onFocusableItemAdd:_.useCallback(()=>de(V=>V+1),[]),onFocusableItemRemove:_.useCallback(()=>de(V=>V-1),[]),children:S.jsx(hi.div,{tabIndex:I||oe===0?-1:0,"data-orientation":a,...m,ref:C,style:{outline:"none",...n.style},onMouseDown:bn(n.onMouseDown,()=>{W.current=!0}),onFocus:bn(n.onFocus,V=>{const ge=!W.current;if(V.target===V.currentTarget&&ge&&!I){const Se=new CustomEvent(ou,sb);if(V.currentTarget.dispatchEvent(Se),!Se.defaultPrevented){const Ce=X().filter(Z=>Z.focusable),Ne=Ce.find(Z=>Z.active),Me=Ce.find(Z=>Z.id===j),ke=[Ne,Me,...Ce].filter(Boolean).map(Z=>Z.ref.current);Fg(ke,v)}}W.current=!1}),onBlur:bn(n.onBlur,()=>F(!1))})})}),Og="RovingFocusGroupItem",zg=_.forwardRef((n,r)=>{const{__scopeRovingFocusGroup:s,focusable:a=!0,active:u=!1,tabStopId:f,...c}=n,p=jg(),h=f||p,y=ub(Og,s),v=y.currentTabStopId===h,m=Ig(s),{onFocusableItemAdd:w,onFocusableItemRemove:C}=y;return _.useEffect(()=>{if(a)return w(),()=>C()},[a,w,C]),S.jsx(Iu.ItemSlot,{scope:s,id:h,focusable:a,active:u,children:S.jsx(hi.span,{tabIndex:v?0:-1,"data-orientation":y.orientation,...c,ref:r,onMouseDown:bn(n.onMouseDown,P=>{a?y.onItemFocus(h):P.preventDefault()}),onFocus:bn(n.onFocus,()=>y.onItemFocus(h)),onKeyDown:bn(n.onKeyDown,P=>{if(P.key==="Tab"&&P.shiftKey){y.onItemShiftTab();return}if(P.target!==P.currentTarget)return;const j=pb(P,y.orientation,y.dir);if(j!==void 0){if(P.metaKey||P.ctrlKey||P.altKey||P.shiftKey)return;P.preventDefault();let I=m().filter(F=>F.focusable).map(F=>F.ref.current);if(j==="last")I.reverse();else if(j==="prev"||j==="next"){j==="prev"&&I.reverse();const F=I.indexOf(P.currentTarget);I=y.loop?hb(I,F+1):I.slice(F+1)}setTimeout(()=>Fg(I))}})})})});zg.displayName=Og;var db={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function fb(n,r){return r!=="rtl"?n:n==="ArrowLeft"?"ArrowRight":n==="ArrowRight"?"ArrowLeft":n}function pb(n,r,s){const a=fb(n.key,s);if(!(r==="vertical"&&["ArrowLeft","ArrowRight"].includes(a))&&!(r==="horizontal"&&["ArrowUp","ArrowDown"].includes(a)))return db[a]}function Fg(n,r=!1){const s=document.activeElement;for(const a of n)if(a===s||(a.focus({preventScroll:r}),document.activeElement!==s))return}function hb(n,r){return n.map((s,a)=>n[(r+a)%n.length])}var mb=Lg,gb=zg;function yb(n,r){return _.useReducer((s,a)=>r[s][a]??s,n)}var Bg=n=>{const{present:r,children:s}=n,a=vb(r),u=typeof s=="function"?s({present:a.isPresent}):_.Children.only(s),f=Wo(a.ref,xb(u));return typeof s=="function"||a.isPresent?_.cloneElement(u,{ref:f}):null};Bg.displayName="Presence";function vb(n){const[r,s]=_.useState(),a=_.useRef({}),u=_.useRef(n),f=_.useRef("none"),c=n?"mounted":"unmounted",[p,h]=yb(c,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return _.useEffect(()=>{const y=zo(a.current);f.current=p==="mounted"?y:"none"},[p]),_u(()=>{const y=a.current,v=u.current;if(v!==n){const w=f.current,C=zo(y);n?h("MOUNT"):C==="none"||(y==null?void 0:y.display)==="none"?h("UNMOUNT"):h(v&&w!==C?"ANIMATION_OUT":"UNMOUNT"),u.current=n}},[n,h]),_u(()=>{if(r){let y;const v=r.ownerDocument.defaultView??window,m=C=>{const j=zo(a.current).includes(C.animationName);if(C.target===r&&j&&(h("ANIMATION_END"),!u.current)){const A=r.style.animationFillMode;r.style.animationFillMode="forwards",y=v.setTimeout(()=>{r.style.animationFillMode==="forwards"&&(r.style.animationFillMode=A)})}},w=C=>{C.target===r&&(f.current=zo(a.current))};return r.addEventListener("animationstart",w),r.addEventListener("animationcancel",m),r.addEventListener("animationend",m),()=>{v.clearTimeout(y),r.removeEventListener("animationstart",w),r.removeEventListener("animationcancel",m),r.removeEventListener("animationend",m)}}else h("ANIMATION_END")},[r,h]),{isPresent:["mounted","unmountSuspended"].includes(p),ref:_.useCallback(y=>{y&&(a.current=getComputedStyle(y)),s(y)},[])}}function zo(n){return(n==null?void 0:n.animationName)||"none"}function xb(n){var a,u;let r=(a=Object.getOwnPropertyDescriptor(n.props,"ref"))==null?void 0:a.get,s=r&&"isReactWarning"in r&&r.isReactWarning;return s?n.ref:(r=(u=Object.getOwnPropertyDescriptor(n,"ref"))==null?void 0:u.get,s=r&&"isReactWarning"in r&&r.isReactWarning,s?n.props.ref:n.props.ref||n.ref)}var vc="Tabs",[wb]=gc(vc,[Vg]),Ug=Vg(),[Sb,xc]=wb(vc),$g=_.forwardRef((n,r)=>{const{__scopeTabs:s,value:a,onValueChange:u,defaultValue:f,orientation:c="horizontal",dir:p,activationMode:h="automatic",...y}=n,v=_g(p),[m,w]=Dg({prop:a,onChange:u,defaultProp:f});return S.jsx(Sb,{scope:s,baseId:jg(),value:m,onValueChange:w,orientation:c,dir:v,activationMode:h,children:S.jsx(hi.div,{dir:v,"data-orientation":c,...y,ref:r})})});$g.displayName=vc;var Wg="TabsList",Hg=_.forwardRef((n,r)=>{const{__scopeTabs:s,loop:a=!0,...u}=n,f=xc(Wg,s),c=Ug(s);return S.jsx(mb,{asChild:!0,...c,orientation:f.orientation,dir:f.dir,loop:a,children:S.jsx(hi.div,{role:"tablist","aria-orientation":f.orientation,...u,ref:r})})});Hg.displayName=Wg;var Kg="TabsTrigger",Gg=_.forwardRef((n,r)=>{const{__scopeTabs:s,value:a,disabled:u=!1,...f}=n,c=xc(Kg,s),p=Ug(s),h=Qg(c.baseId,a),y=qg(c.baseId,a),v=a===c.value;return S.jsx(gb,{asChild:!0,...p,focusable:!u,active:v,children:S.jsx(hi.button,{type:"button",role:"tab","aria-selected":v,"aria-controls":y,"data-state":v?"active":"inactive","data-disabled":u?"":void 0,disabled:u,id:h,...f,ref:r,onMouseDown:bn(n.onMouseDown,m=>{!u&&m.button===0&&m.ctrlKey===!1?c.onValueChange(a):m.preventDefault()}),onKeyDown:bn(n.onKeyDown,m=>{[" ","Enter"].includes(m.key)&&c.onValueChange(a)}),onFocus:bn(n.onFocus,()=>{const m=c.activationMode!=="manual";!v&&!u&&m&&c.onValueChange(a)})})})});Gg.displayName=Kg;var Yg="TabsContent",Xg=_.forwardRef((n,r)=>{const{__scopeTabs:s,value:a,forceMount:u,children:f,...c}=n,p=xc(Yg,s),h=Qg(p.baseId,a),y=qg(p.baseId,a),v=a===p.value,m=_.useRef(v);return _.useEffect(()=>{const w=requestAnimationFrame(()=>m.current=!1);return()=>cancelAnimationFrame(w)},[]),S.jsx(Bg,{present:u||v,children:({present:w})=>S.jsx(hi.div,{"data-state":v?"active":"inactive","data-orientation":p.orientation,role:"tabpanel","aria-labelledby":h,hidden:!w,id:y,tabIndex:0,...c,ref:r,
178style:{...n.style,animationDuration:m.current?"0s":void 0},children:w&&f})})});Xg.displayName=Yg;function Qg(n,r){return`${n}-trigger-${r}`}function qg(n,r){return`${n}-content-${r}`}var kb=$g,bb=Hg,Tb=Gg,Cb=Xg;function Eb({className:n,...r}){return S.jsx(kb,{"data-slot":"tabs",className:Nr("flex flex-col gap-2",n),...r})}function Pb({className:n,...r}){return S.jsx(bb,{"data-slot":"tabs-list",className:Nr("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-xl p-[3px] flex",n),...r})}function jh({className:n,...r}){return S.jsx(Tb,{"data-slot":"tabs-trigger",className:Nr("data-[state=active]:bg-card dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-xl border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",n),...r})}function Dh({className:n,...r}){return S.jsx(Cb,{"data-slot":"tabs-content",className:Nr("flex-1 outline-none",n),...r})}function Nb(){const[n,r]=_.useState("monthly"),s=_.useRef(null),a=ea(s,{once:!0,margin:"-100px"}),u=me.pricing.saasPlans,f=me.pricing.additionalServices;return S.jsxs("section",{id:"pricing",className:"py-20 bg-gradient-to-b from-white to-gray-50 relative overflow-hidden",children:[S.jsx(Ee.div,{className:"absolute bottom-0 left-1/4 w-96 h-96 bg-indigo-200/30 rounded-full blur-3xl",animate:{scale:[1,1.3,1],opacity:[.3,.5,.3]},transition:{duration:10,repeat:1/0,ease:"easeInOut"}}),S.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10",ref:s,children:[S.jsxs(Ee.div,{className:"text-center mb-16",initial:{opacity:0,y:20},animate:a?{opacity:1,y:0}:{},transition:{duration:.6},children:[S.jsx("h2",{className:"text-3xl lg:text-4xl font-bold text-gray-900 mb-4",children:me.pricing.title}),S.jsx("p",{className:"text-lg text-gray-600 max-w-3xl mx-auto mb-8",children:me.pricing.subtitle})]}),S.jsxs(Eb,{defaultValue:"saas",className:"w-full",children:[S.jsxs(Pb,{className:"grid w-full max-w-md mx-auto grid-cols-2 mb-12",children:[S.jsx(jh,{value:"saas",children:"SaaS 订é
"}),S.jsx(jh,{value:"contact",children:"èç³»æä»¬"})]}),S.jsxs(Dh,{value:"saas",children:[S.jsx("div",{className:"max-w-4xl mx-auto mb-8",children:S.jsx(Er,{className:"bg-gradient-to-r from-blue-50 to-indigo-50 border-blue-200 p-6",children:S.jsxs("div",{className:"flex items-start gap-4",children:[S.jsx("div",{className:"flex-shrink-0",children:S.jsx("div",{className:"w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center",children:S.jsx(Vv,{className:"w-5 h-5 text-blue-600"})})}),S.jsxs("div",{className:"flex-1",children:[S.jsx("h3",{className:"font-semibold text-gray-900 mb-2",children:me.pricing.aiNotice.title}),S.jsx("p",{className:"text-sm text-gray-700 mb-2",children:me.pricing.aiNotice.description}),S.jsx("p",{className:"text-xs text-gray-600",children:me.pricing.aiNotice.disclaimer})]})]})})}),S.jsx("div",{className:"flex justify-center mb-8",children:S.jsxs("div",{className:"inline-flex items-center bg-gray-100 rounded-lg p-1",children:[S.jsx("button",{className:`px-6 py-2 rounded-md text-sm font-medium transition-colors ${n==="monthly"?"bg-white text-gray-900 shadow-sm":"text-gray-600 hover:text-gray-900"}`,onClick:()=>r("monthly"),children:"ææä»è´¹"}),S.jsxs("button",{className:`px-6 py-2 rounded-md text-sm font-medium transition-colors ${n==="yearly"?"bg-white text-gray-900 shadow-sm":"text-gray-600 hover:text-gray-900"}`,onClick:()=>r("yearly"),children:["æå¹´ä»è´¹",S.jsx(Rh,{variant:"secondary",className:"ml-2 bg-green-100 text-green-700 hover:bg-green-100",children:"ç 17%"})]})]})}),S.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-8 mb-12",children:u.map((c,p)=>S.jsxs(Er,{className:`relative p-8 ${c.popular?"ring-2 ring-blue-600 shadow-xl":"border border-gray-200"}`,children:[c.popular&&S.jsx("div",{className:"absolute -top-4 left-1/2 -translate-x-1/2",children:S.jsx(Rh,{className:"bg-blue-600 text-white px-4 py-1",children:"æ¨è"})}),S.jsxs("div",{className:"text-center mb-6",children:[S.jsx("h3",{className:"text-xl font-bold text-gray-900 mb-2",children:c.name}),S.jsx("p",{className:"text-sm text-gray-600 mb-4",children:c.subtitle}),S.jsx("div",{className:"text-3xl font-bold text-gray-900 mb-1",children:c.price[n]}),S.jsx("p",{className:"text-sm text-gray-600",children:n==="yearly"?c.discount:"æ¯æ"})]}),S.jsx("div",{className:"space-y-3 mb-6",children:S.jsxs("div",{className:"text-sm",children:[S.jsx("p",{className:"font-medium text-gray-900 mb-1",children:"ç¨æ·æ°"}),S.jsx("p",{className:"text-gray-600",children:c.users})]})}),S.jsx(os,{className:`w-full mb-6 ${c.popular?"bg-blue-600 hover:bg-blue-700":"bg-gray-900 hover:bg-gray-800"}`,children:c.cta}),S.jsxs("div",{className:"space-y-3",children:[S.jsx("p",{className:"text-sm font-medium text-gray-900",children:"åè½å
å«ï¼"}),c.features.map((h,y)=>S.jsxs("div",{className:"flex items-start gap-3",children:[h.included?S.jsx(lp,{className:"w-5 h-5 text-green-600 flex-shrink-0 mt-0.5"}):S.jsx(Kv,{className:"w-5 h-5 text-gray-300 flex-shrink-0 mt-0.5"}),S.jsx("span",{className:`text-sm ${h.included?"text-gray-700":"text-gray-400"}`,children:h.name})]},y))]})]},p))})]}),S.jsx(Dh,{value:"contact",children:S.jsxs("div",{className:"max-w-4xl mx-auto",children:[S.jsxs(Er,{className:"p-12 text-center",children:[S.jsxs("div",{className:"mb-8",children:[S.jsx("div",{className:"w-16 h-16 bg-blue-100 rounded-full flex items-center justify-center mx-auto mb-6",children:S.jsx(Tv,{className:"w-8 h-8 text-blue-600"})}),S.jsx("h3",{className:"text-2xl font-bold text-gray-900 mb-4",children:me.pricing.contact.title}),S.jsx("p",{className:"text-gray-600 mb-8 max-w-2xl mx-auto",children:me.pricing.contact.description})]}),S.jsxs("div",{className:"bg-gradient-to-br from-gray-50 to-gray-100 rounded-lg p-8 mb-8",children:[S.jsx("h4",{className:"font-semibold text-gray-900 mb-6",children:me.pricing.contact.servicesTitle}),S.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-4 text-left",children:f.map((c,p)=>S.jsxs("div",{className:"flex items-start gap-3",children:[S.jsx(lp,{className:"w-5 h-5 text-blue-600 flex-shrink-0 mt-0.5"}),S.jsx("span",{className:"text-sm text-gray-700",children:c})]},p))})]}),S.jsxs("div",{className:"space-y-4",children:[S.jsxs("div",{className:"flex flex-col sm:flex-row gap-4 justify-center",children:[S.jsx(os,{size:"lg",className:"px-12",children:me.pricing.contact.buttons[0].text}),S.jsx(os,{size:"lg",variant:"outline",className:"px-12",children:me.pricing.contact.buttons[1].text})]}),S.jsx("p",{className:"text-sm text-gray-600",children:me.pricing.contact.responseTime})]})]}),S.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mt-8",children:me.pricing.contact.channels.map((c,p)=>S.jsxs(Er,{className:"p-6 text-center",children:[S.jsx("div",{className:"text-3xl mb-2",children:c.icon}),S.jsx("h4",{className:"font-medium text-gray-900 mb-1",children:c.title}),S.jsx("p",{className:"text-sm text-gray-600",children:c.value})]},p))})]})})]})]})]})}function Mb(){const[n,r]=_.useState(""),s=a=>{const u=document.getElementById(a);if(u){const c=u.offsetTop-64,p=window.pageYOffset,h=c-p,y=800;let v=null;const m=C=>C<.5?4*C*C*C:1-Math.pow(-2*C+2,3)/2,w=C=>{v===null&&(v=C);const P=C-v,j=Math.min(P/y,1),A=m(j);window.scrollTo(0,p+h*A),P<y?requestAnimationFrame(w):r(a)};requestAnimationFrame(w)}};return S.jsxs("div",{className:"min-h-screen bg-gray-50",children:[S.jsx("nav",{className:"sticky top-0 z-50 bg-white border-b border-gray-200",children:S.jsx("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:S.jsxs("div",{className:"flex justify-between items-center h-16",children:[S.jsx("div",{className:"flex items-center",children:S.jsx("span",{className:"text-xl font-semibold text-gray-900",children:me.site.name})}),S.jsx("div",{className:"hidden md:flex items-center gap-8",children:me.navigation.links.map(a=>S.jsxs("button",{onClick:()=>s(a.id),className:`text-sm transition-all duration-300 relative ${n===a.id?"text-blue-600 font-medium":"text-gray-600 hover:text-gray-900"}`,children:[a.label,n===a.id&&S.jsx("span",{className:"absolute -bottom-1 left-0 right-0 h-0.5 bg-blue-600 rounded-full"})]},a.id))}),S.jsx("div",{className:"md:hidden",children:me.navigation.links.map(a=>S.jsx("button",{onClick:()=>s(a.id),className:`text-sm transition-colors ${n===a.id?"text-blue-600 font-medium":"text-gray-600 hover:text-gray-900"}`,children:a.label},a.id))})]})})}),S.jsxs("main",{children:[S.jsx(G2,{}),S.jsx(Y2,{}),S.jsx(X2,{}),S.jsx(Q2,{}),S.jsx(Nb,{})]}),S.jsx("footer",{className:"bg-gray-900 text-gray-300 py-12",children:S.jsxs("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:[S.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-8 mb-8",children:me.footer.sections.map((a,u)=>S.jsxs("div",{children:[S.jsx("h3",{className:"text-white font-semibold mb-4",children:a.title}),S.jsx("ul",{className:"space-y-2 text-sm",children:a.links.map((f,c)=>S.jsx("li",{children:S.jsx("a",{href:f.url,className:"hover:text-white transition-colors",children:f.text})},c))})]},u))}),S.jsxs("div",{className:"border-t border-gray-800 pt-8 text-center space-y-3",children:[S.jsx("p",{className:"text-sm",children:me.site.copyright}),S.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 text-xs",children:[S.jsxs("a",{href:me.site.beian.police.url,target:"_blank",rel:"noopener noreferrer",className:"flex items-center gap-2 hover:text-white transition-colors",children:[S.jsx(_v,{className:"w-4 h-4"}),S.jsx("span",{children:me.site.beian.police.text})]}),S.jsx("a",{href:me.site.beian.icp.url,target:"_blank",rel:"noopener noreferrer",className:"hover:text-white transition-colors",children:me.site.beian.icp.text})]})]})]})})]})}Jy.createRoot(document.getElementById("root")).render(S.jsx(Mb,{}));
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.