function V4(a,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const o in n)if(o!=="default"&&!(o in a)){const l=Object.getOwnPropertyDescriptor(n,o);l&&Object.defineProperty(a,o,l.get?l:{enumerable:!0,get:()=>n[o]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const l of o)if(l.type==="childList")for(const d of l.addedNodes)d.tagName==="LINK"&&d.rel==="modulepreload"&&n(d)}).observe(document,{childList:!0,subtree:!0});function r(o){const l={};return o.integrity&&(l.integrity=o.integrity),o.referrerPolicy&&(l.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?l.credentials="include":o.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function n(o){if(o.ep)return;o.ep=!0;const l=r(o);fetch(o.href,l)}})();function _u(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var qm={exports:{}},Ml={};var wb;function $4(){if(wb)return Ml;wb=1;var a=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,l){var d=null;if(l!==void 0&&(d=""+l),o.key!==void 0&&(d=""+o.key),"key"in o){l={};for(var f in o)f!=="key"&&(l[f]=o[f])}else l=o;return o=l.ref,{$$typeof:a,type:n,key:d,ref:o!==void 0?o:null,props:l}}return Ml.Fragment=t,Ml.jsx=r,Ml.jsxs=r,Ml}var Nb;function F4(){return Nb||(Nb=1,qm.exports=$4()),qm.exports}var c=F4(),Gm={exports:{}},Te={};var Sb;function X4(){if(Sb)return Te;Sb=1;var a=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),d=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),h=Symbol.for("react.suspense"),m=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),y=Symbol.for("react.activity"),N=Symbol.iterator;function S(A){return A===null||typeof A!="object"?null:(A=N&&A[N]||A["@@iterator"],typeof A=="function"?A:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,_={};function D(A,G,se){this.props=A,this.context=G,this.refs=_,this.updater=se||j}D.prototype.isReactComponent={},D.prototype.setState=function(A,G){if(typeof A!="object"&&typeof A!="function"&&A!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,A,G,"setState")},D.prototype.forceUpdate=function(A){this.updater.enqueueForceUpdate(this,A,"forceUpdate")};function M(){}M.prototype=D.prototype;function O(A,G,se){this.props=A,this.context=G,this.refs=_,this.updater=se||j}var k=O.prototype=new M;k.constructor=O,w(k,D.prototype),k.isPureReactComponent=!0;var L=Array.isArray;function Y(){}var P={H:null,A:null,T:null,S:null},B=Object.prototype.hasOwnProperty;function V(A,G,se){var ae=se.ref;return{$$typeof:a,type:A,key:G,ref:ae!==void 0?ae:null,props:se}}function K(A,G){return V(A.type,G,A.props)}function re(A){return typeof A=="object"&&A!==null&&A.$$typeof===a}function J(A){var G={"=":"=0",":":"=2"};return"$"+A.replace(/[=:]/g,function(se){return G[se]})}var ce=/\/+/g;function oe(A,G){return typeof A=="object"&&A!==null&&A.key!=null?J(""+A.key):G.toString(36)}function ie(A){switch(A.status){case"fulfilled":return A.value;case"rejected":throw A.reason;default:switch(typeof A.status=="string"?A.then(Y,Y):(A.status="pending",A.then(function(G){A.status==="pending"&&(A.status="fulfilled",A.value=G)},function(G){A.status==="pending"&&(A.status="rejected",A.reason=G)})),A.status){case"fulfilled":return A.value;case"rejected":throw A.reason}}throw A}function U(A,G,se,ae,de){var pe=typeof A;(pe==="undefined"||pe==="boolean")&&(A=null);var ne=!1;if(A===null)ne=!0;else switch(pe){case"bigint":case"string":case"number":ne=!0;break;case"object":switch(A.$$typeof){case a:case t:ne=!0;break;case x:return ne=A._init,U(ne(A._payload),G,se,ae,de)}}if(ne)return de=de(A),ne=ae===""?"."+oe(A,0):ae,L(de)?(se="",ne!=null&&(se=ne.replace(ce,"$&/")+"/"),U(de,G,se,"",function(qt){return qt})):de!=null&&(re(de)&&(de=K(de,se+(de.key==null||A&&A.key===de.key?"":(""+de.key).replace(ce,"$&/")+"/")+ne)),G.push(de)),1;ne=0;var ke=ae===""?".":ae+":";if(L(A))for(var Ee=0;Ee<A.length;Ee++)ae=A[Ee],pe=ke+oe(ae,Ee),ne+=U(ae,G,se,pe,de);else if(Ee=S(A),typeof Ee=="function")for(A=Ee.call(A),Ee=0;!(ae=A.next()).done;)ae=ae.value,pe=ke+oe(ae,Ee++),ne+=U(ae,G,se,pe,de);else if(pe==="object"){if(typeof A.then=="function")return U(ie(A),G,se,ae,de);throw G=String(A),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(A).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.")}return ne}function F(A,G,se){if(A==null)return A;var ae=[],de=0;return U(A,ae,"","",function(pe){return G.call(se,pe,de++)}),ae}function T(A){if(A._status===-1){var G=A._result;G=G(),G.then(function(se){(A._status===0||A._status===-1)&&(A._status=1,A._result=se)},function(se){(A._status===0||A._status===-1)&&(A._status=2,A._result=se)}),A._status===-1&&(A._status=0,A._result=G)}if(A._status===1)return A._result.default;throw A._result}var R=typeof reportError=="function"?reportError:function(A){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var G=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof A=="object"&&A!==null&&typeof A.message=="string"?String(A.message):String(A),error:A});if(!window.dispatchEvent(G))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",A);return}console.error(A)},E={map:F,forEach:function(A,G,se){F(A,function(){G.apply(this,arguments)},se)},count:function(A){var G=0;return F(A,function(){G++}),G},toArray:function(A){return F(A,function(G){return G})||[]},only:function(A){if(!re(A))throw Error("React.Children.only expected to receive a single React element child.");return A}};return Te.Activity=y,Te.Children=E,Te.Component=D,Te.Fragment=r,Te.Profiler=o,Te.PureComponent=O,Te.StrictMode=n,Te.Suspense=h,Te.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=P,Te.__COMPILER_RUNTIME={__proto__:null,c:function(A){return P.H.useMemoCache(A)}},Te.cache=function(A){return function(){return A.apply(null,arguments)}},Te.cacheSignal=function(){return null},Te.cloneElement=function(A,G,se){if(A==null)throw Error("The argument must be a React element, but you passed "+A+".");var ae=w({},A.props),de=A.key;if(G!=null)for(pe in G.key!==void 0&&(de=""+G.key),G)!B.call(G,pe)||pe==="key"||pe==="__self"||pe==="__source"||pe==="ref"&&G.ref===void 0||(ae[pe]=G[pe]);var pe=arguments.length-2;if(pe===1)ae.children=se;else if(1<pe){for(var ne=Array(pe),ke=0;ke<pe;ke++)ne[ke]=arguments[ke+2];ae.children=ne}return V(A.type,de,ae)},Te.createContext=function(A){return A={$$typeof:d,_currentValue:A,_currentValue2:A,_threadCount:0,Provider:null,Consumer:null},A.Provider=A,A.Consumer={$$typeof:l,_context:A},A},Te.createElement=function(A,G,se){var ae,de={},pe=null;if(G!=null)for(ae in G.key!==void 0&&(pe=""+G.key),G)B.call(G,ae)&&ae!=="key"&&ae!=="__self"&&ae!=="__source"&&(de[ae]=G[ae]);var ne=arguments.length-2;if(ne===1)de.children=se;else if(1<ne){for(var ke=Array(ne),Ee=0;Ee<ne;Ee++)ke[Ee]=arguments[Ee+2];de.children=ke}if(A&&A.defaultProps)for(ae in ne=A.defaultProps,ne)de[ae]===void 0&&(de[ae]=ne[ae]);return V(A,pe,de)},Te.createRef=function(){return{current:null}},Te.forwardRef=function(A){return{$$typeof:f,render:A}},Te.isValidElement=re,Te.lazy=function(A){return{$$typeof:x,_payload:{_status:-1,_result:A},_init:T}},Te.memo=function(A,G){return{$$typeof:m,type:A,compare:G===void 0?null:G}},Te.startTransition=function(A){var G=P.T,se={};P.T=se;try{var ae=A(),de=P.S;de!==null&&de(se,ae),typeof ae=="object"&&ae!==null&&typeof ae.then=="function"&&ae.then(Y,R)}catch(pe){R(pe)}finally{G!==null&&se.types!==null&&(G.types=se.types),P.T=G}},Te.unstable_useCacheRefresh=function(){return P.H.useCacheRefresh()},Te.use=function(A){return P.H.use(A)},Te.useActionState=function(A,G,se){return P.H.useActionState(A,G,se)},Te.useCallback=function(A,G){return P.H.useCallback(A,G)},Te.useContext=function(A){return P.H.useContext(A)},Te.useDebugValue=function(){},Te.useDeferredValue=function(A,G){return P.H.useDeferredValue(A,G)},Te.useEffect=function(A,G){return P.H.useEffect(A,G)},Te.useEffectEvent=function(A){return P.H.useEffectEvent(A)},Te.useId=function(){return P.H.useId()},Te.useImperativeHandle=function(A,G,se){return P.H.useImperativeHandle(A,G,se)},Te.useInsertionEffect=function(A,G){return P.H.useInsertionEffect(A,G)},Te.useLayoutEffect=function(A,G){return P.H.useLayoutEffect(A,G)},Te.useMemo=function(A,G){return P.H.useMemo(A,G)},Te.useOptimistic=function(A,G){return P.H.useOptimistic(A,G)},Te.useReducer=function(A,G,se){return P.H.useReducer(A,G,se)},Te.useRef=function(A){return P.H.useRef(A)},Te.useState=function(A){return P.H.useState(A)},Te.useSyncExternalStore=function(A,G,se){return P.H.useSyncExternalStore(A,G,se)},Te.useTransition=function(){return P.H.useTransition()},Te.version="19.2.3",Te}var _b;function _x(){return _b||(_b=1,Gm.exports=X4()),Gm.exports}var v=_x();const ct=_u(v),jx=V4({__proto__:null,default:ct},[v]);var Im={exports:{}},Rl={},Vm={exports:{}},$m={};var jb;function Q4(){return jb||(jb=1,(function(a){function t(U,F){var T=U.length;U.push(F);e:for(;0<T;){var R=T-1>>>1,E=U[R];if(0<o(E,F))U[R]=F,U[T]=E,T=R;else break e}}function r(U){return U.length===0?null:U[0]}function n(U){if(U.length===0)return null;var F=U[0],T=U.pop();if(T!==F){U[0]=T;e:for(var R=0,E=U.length,A=E>>>1;R<A;){var G=2*(R+1)-1,se=U[G],ae=G+1,de=U[ae];if(0>o(se,T))ae<E&&0>o(de,se)?(U[R]=de,U[ae]=T,R=ae):(U[R]=se,U[G]=T,R=G);else if(ae<E&&0>o(de,T))U[R]=de,U[ae]=T,R=ae;else break e}}return F}function o(U,F){var T=U.sortIndex-F.sortIndex;return T!==0?T:U.id-F.id}if(a.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var l=performance;a.unstable_now=function(){return l.now()}}else{var d=Date,f=d.now();a.unstable_now=function(){return d.now()-f}}var h=[],m=[],x=1,y=null,N=3,S=!1,j=!1,w=!1,_=!1,D=typeof setTimeout=="function"?setTimeout:null,M=typeof clearTimeout=="function"?clearTimeout:null,O=typeof setImmediate<"u"?setImmediate:null;function k(U){for(var F=r(m);F!==null;){if(F.callback===null)n(m);else if(F.startTime<=U)n(m),F.sortIndex=F.expirationTime,t(h,F);else break;F=r(m)}}function L(U){if(w=!1,k(U),!j)if(r(h)!==null)j=!0,Y||(Y=!0,J());else{var F=r(m);F!==null&&ie(L,F.startTime-U)}}var Y=!1,P=-1,B=5,V=-1;function K(){return _?!0:!(a.unstable_now()-V<B)}function re(){if(_=!1,Y){var U=a.unstable_now();V=U;var F=!0;try{e:{j=!1,w&&(w=!1,M(P),P=-1),S=!0;var T=N;try{t:{for(k(U),y=r(h);y!==null&&!(y.expirationTime>U&&K());){var R=y.callback;if(typeof R=="function"){y.callback=null,N=y.priorityLevel;var E=R(y.expirationTime<=U);if(U=a.unstable_now(),typeof E=="function"){y.callback=E,k(U),F=!0;break t}y===r(h)&&n(h),k(U)}else n(h);y=r(h)}if(y!==null)F=!0;else{var A=r(m);A!==null&&ie(L,A.startTime-U),F=!1}}break e}finally{y=null,N=T,S=!1}F=void 0}}finally{F?J():Y=!1}}}var J;if(typeof O=="function")J=function(){O(re)};else if(typeof MessageChannel<"u"){var ce=new MessageChannel,oe=ce.port2;ce.port1.onmessage=re,J=function(){oe.postMessage(null)}}else J=function(){D(re,0)};function ie(U,F){P=D(function(){U(a.unstable_now())},F)}a.unstable_IdlePriority=5,a.unstable_ImmediatePriority=1,a.unstable_LowPriority=4,a.unstable_NormalPriority=3,a.unstable_Profiling=null,a.unstable_UserBlockingPriority=2,a.unstable_cancelCallback=function(U){U.callback=null},a.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):B=0<U?Math.floor(1e3/U):5},a.unstable_getCurrentPriorityLevel=function(){return N},a.unstable_next=function(U){switch(N){case 1:case 2:case 3:var F=3;break;default:F=N}var T=N;N=F;try{return U()}finally{N=T}},a.unstable_requestPaint=function(){_=!0},a.unstable_runWithPriority=function(U,F){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var T=N;N=U;try{return F()}finally{N=T}},a.unstable_scheduleCallback=function(U,F,T){var R=a.unstable_now();switch(typeof T=="object"&&T!==null?(T=T.delay,T=typeof T=="number"&&0<T?R+T:R):T=R,U){case 1:var E=-1;break;case 2:E=250;break;case 5:E=1073741823;break;case 4:E=1e4;break;default:E=5e3}return E=T+E,U={id:x++,callback:F,priorityLevel:U,startTime:T,expirationTime:E,sortIndex:-1},T>R?(U.sortIndex=T,t(m,U),r(h)===null&&U===r(m)&&(w?(M(P),P=-1):w=!0,ie(L,T-R))):(U.sortIndex=E,t(h,U),j||S||(j=!0,Y||(Y=!0,J()))),U},a.unstable_shouldYield=K,a.unstable_wrapCallback=function(U){var F=N;return function(){var T=N;N=F;try{return U.apply(this,arguments)}finally{N=T}}}})($m)),$m}var Cb;function K4(){return Cb||(Cb=1,Vm.exports=Q4()),Vm.exports}var Fm={exports:{}},Es={};var Eb;function Z4(){if(Eb)return Es;Eb=1;var a=_x();function t(h){var m="https://react.dev/errors/"+h;if(1<arguments.length){m+="?args[]="+encodeURIComponent(arguments[1]);for(var x=2;x<arguments.length;x++)m+="&args[]="+encodeURIComponent(arguments[x])}return"Minified React error #"+h+"; visit "+m+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function l(h,m,x){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:y==null?null:""+y,children:h,containerInfo:m,implementation:x}}var d=a.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(h,m){if(h==="font")return"";if(typeof m=="string")return m==="use-credentials"?m:""}return Es.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,Es.createPortal=function(h,m){var x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!m||m.nodeType!==1&&m.nodeType!==9&&m.nodeType!==11)throw Error(t(299));return l(h,m,null,x)},Es.flushSync=function(h){var m=d.T,x=n.p;try{if(d.T=null,n.p=2,h)return h()}finally{d.T=m,n.p=x,n.d.f()}},Es.preconnect=function(h,m){typeof h=="string"&&(m?(m=m.crossOrigin,m=typeof m=="string"?m==="use-credentials"?m:"":void 0):m=null,n.d.C(h,m))},Es.prefetchDNS=function(h){typeof h=="string"&&n.d.D(h)},Es.preinit=function(h,m){if(typeof h=="string"&&m&&typeof m.as=="string"){var x=m.as,y=f(x,m.crossOrigin),N=typeof m.integrity=="string"?m.integrity:void 0,S=typeof m.fetchPriority=="string"?m.fetchPriority:void 0;x==="style"?n.d.S(h,typeof m.precedence=="string"?m.precedence:void 0,{crossOrigin:y,integrity:N,fetchPriority:S}):x==="script"&&n.d.X(h,{crossOrigin:y,integrity:N,fetchPriority:S,nonce:typeof m.nonce=="string"?m.nonce:void 0})}},Es.preinitModule=function(h,m){if(typeof h=="string")if(typeof m=="object"&&m!==null){if(m.as==null||m.as==="script"){var x=f(m.as,m.crossOrigin);n.d.M(h,{crossOrigin:x,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0})}}else m==null&&n.d.M(h)},Es.preload=function(h,m){if(typeof h=="string"&&typeof m=="object"&&m!==null&&typeof m.as=="string"){var x=m.as,y=f(x,m.crossOrigin);n.d.L(h,x,{crossOrigin:y,integrity:typeof m.integrity=="string"?m.integrity:void 0,nonce:typeof m.nonce=="string"?m.nonce:void 0,type:typeof m.type=="string"?m.type:void 0,fetchPriority:typeof m.fetchPriority=="string"?m.fetchPriority:void 0,referrerPolicy:typeof m.referrerPolicy=="string"?m.referrerPolicy:void 0,imageSrcSet:typeof m.imageSrcSet=="string"?m.imageSrcSet:void 0,imageSizes:typeof m.imageSizes=="string"?m.imageSizes:void 0,media:typeof m.media=="string"?m.media:void 0})}},Es.preloadModule=function(h,m){if(typeof h=="string")if(m){var x=f(m.as,m.crossOrigin);n.d.m(h,{as:typeof m.as=="string"&&m.as!=="script"?m.as:void 0,crossOrigin:x,integrity:typeof m.integrity=="string"?m.integrity:void 0})}else n.d.m(h)},Es.requestFormReset=function(h){n.d.r(h)},Es.unstable_batchedUpdates=function(h,m){return h(m)},Es.useFormState=function(h,m,x){return d.H.useFormState(h,m,x)},Es.useFormStatus=function(){return d.H.useHostTransitionStatus()},Es.version="19.2.3",Es}var Tb;function yw(){if(Tb)return Fm.exports;Tb=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(t){console.error(t)}}return a(),Fm.exports=Z4(),Fm.exports}var Ab;function W4(){if(Ab)return Rl;Ab=1;var a=K4(),t=_x(),r=yw();function n(e){var s="https://react.dev/errors/"+e;if(1<arguments.length){s+="?args[]="+encodeURIComponent(arguments[1]);for(var i=2;i<arguments.length;i++)s+="&args[]="+encodeURIComponent(arguments[i])}return"Minified React error #"+e+"; visit "+s+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function o(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function l(e){var s=e,i=e;if(e.alternate)for(;s.return;)s=s.return;else{e=s;do s=e,(s.flags&4098)!==0&&(i=s.return),e=s.return;while(e)}return s.tag===3?i:null}function d(e){if(e.tag===13){var s=e.memoizedState;if(s===null&&(e=e.alternate,e!==null&&(s=e.memoizedState)),s!==null)return s.dehydrated}return null}function f(e){if(e.tag===31){var s=e.memoizedState;if(s===null&&(e=e.alternate,e!==null&&(s=e.memoizedState)),s!==null)return s.dehydrated}return null}function h(e){if(l(e)!==e)throw Error(n(188))}function m(e){var s=e.alternate;if(!s){if(s=l(e),s===null)throw Error(n(188));return s!==e?null:e}for(var i=e,u=s;;){var p=i.return;if(p===null)break;var g=p.alternate;if(g===null){if(u=p.return,u!==null){i=u;continue}break}if(p.child===g.child){for(g=p.child;g;){if(g===i)return h(p),e;if(g===u)return h(p),s;g=g.sibling}throw Error(n(188))}if(i.return!==u.return)i=p,u=g;else{for(var b=!1,C=p.child;C;){if(C===i){b=!0,i=p,u=g;break}if(C===u){b=!0,u=p,i=g;break}C=C.sibling}if(!b){for(C=g.child;C;){if(C===i){b=!0,i=g,u=p;break}if(C===u){b=!0,u=g,i=p;break}C=C.sibling}if(!b)throw Error(n(189))}}if(i.alternate!==u)throw Error(n(190))}if(i.tag!==3)throw Error(n(188));return i.stateNode.current===i?e:s}function x(e){var s=e.tag;if(s===5||s===26||s===27||s===6)return e;for(e=e.child;e!==null;){if(s=x(e),s!==null)return s;e=e.sibling}return null}var y=Object.assign,N=Symbol.for("react.element"),S=Symbol.for("react.transitional.element"),j=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),_=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),M=Symbol.for("react.consumer"),O=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),L=Symbol.for("react.suspense"),Y=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),B=Symbol.for("react.lazy"),V=Symbol.for("react.activity"),K=Symbol.for("react.memo_cache_sentinel"),re=Symbol.iterator;function J(e){return e===null||typeof e!="object"?null:(e=re&&e[re]||e["@@iterator"],typeof e=="function"?e:null)}var ce=Symbol.for("react.client.reference");function oe(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===ce?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case w:return"Fragment";case D:return"Profiler";case _:return"StrictMode";case L:return"Suspense";case Y:return"SuspenseList";case V:return"Activity"}if(typeof e=="object")switch(e.$$typeof){case j:return"Portal";case O:return e.displayName||"Context";case M:return(e._context.displayName||"Context")+".Consumer";case k:var s=e.render;return e=e.displayName,e||(e=s.displayName||s.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case P:return s=e.displayName||null,s!==null?s:oe(e.type)||"Memo";case B:s=e._payload,e=e._init;try{return oe(e(s))}catch{}}return null}var ie=Array.isArray,U=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,F=r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,T={pending:!1,data:null,method:null,action:null},R=[],E=-1;function A(e){return{current:e}}function G(e){0>E||(e.current=R[E],R[E]=null,E--)}function se(e,s){E++,R[E]=e.current,e.current=s}var ae=A(null),de=A(null),pe=A(null),ne=A(null);function ke(e,s){switch(se(pe,s),se(de,e),se(ae,null),s.nodeType){case 9:case 11:e=(e=s.documentElement)&&(e=e.namespaceURI)?Iv(e):0;break;default:if(e=s.tagName,s=s.namespaceURI)s=Iv(s),e=Vv(s,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}G(ae),se(ae,e)}function Ee(){G(ae),G(de),G(pe)}function qt(e){e.memoizedState!==null&&se(ne,e);var s=ae.current,i=Vv(s,e.type);s!==i&&(se(de,e),se(ae,i))}function mt(e){de.current===e&&(G(ae),G(de)),ne.current===e&&(G(ne),El._currentValue=T)}var gt,Re;function rt(e){if(gt===void 0)try{throw Error()}catch(i){var s=i.stack.trim().match(/\n( *(at )?)/);gt=s&&s[1]||"",Re=-1<i.stack.indexOf(`
    at`)?" (<anonymous>)":-1<i.stack.indexOf("@")?"@unknown:0:0":""}return`
`+gt+e+Re}var ls=!1;function hs(e,s){if(!e||ls)return"";ls=!0;var i=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var u={DetermineComponentFrameRoot:function(){try{if(s){var te=function(){throw Error()};if(Object.defineProperty(te.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(te,[])}catch(Q){var X=Q}Reflect.construct(e,[],te)}else{try{te.call()}catch(Q){X=Q}e.call(te.prototype)}}else{try{throw Error()}catch(Q){X=Q}(te=e())&&typeof te.catch=="function"&&te.catch(function(){})}}catch(Q){if(Q&&X&&typeof Q.stack=="string")return[Q.stack,X.stack]}return[null,null]}};u.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var p=Object.getOwnPropertyDescriptor(u.DetermineComponentFrameRoot,"name");p&&p.configurable&&Object.defineProperty(u.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var g=u.DetermineComponentFrameRoot(),b=g[0],C=g[1];if(b&&C){var z=b.split(`
`),$=C.split(`
`);for(p=u=0;u<z.length&&!z[u].includes("DetermineComponentFrameRoot");)u++;for(;p<$.length&&!$[p].includes("DetermineComponentFrameRoot");)p++;if(u===z.length||p===$.length)for(u=z.length-1,p=$.length-1;1<=u&&0<=p&&z[u]!==$[p];)p--;for(;1<=u&&0<=p;u--,p--)if(z[u]!==$[p]){if(u!==1||p!==1)do if(u--,p--,0>p||z[u]!==$[p]){var W=`
`+z[u].replace(" at new "," at ");return e.displayName&&W.includes("<anonymous>")&&(W=W.replace("<anonymous>",e.displayName)),W}while(1<=u&&0<=p);break}}}finally{ls=!1,Error.prepareStackTrace=i}return(i=e?e.displayName||e.name:"")?rt(i):""}function Z(e,s){switch(e.tag){case 26:case 27:case 5:return rt(e.type);case 16:return rt("Lazy");case 13:return e.child!==s&&s!==null?rt("Suspense Fallback"):rt("Suspense");case 19:return rt("SuspenseList");case 0:case 15:return hs(e.type,!1);case 11:return hs(e.type.render,!1);case 1:return hs(e.type,!0);case 31:return rt("Activity");default:return""}}function Ss(e){try{var s="",i=null;do s+=Z(e,i),i=e,e=e.return;while(e);return s}catch(u){return`
Error generating stack: `+u.message+`
`+u.stack}}var ua=Object.prototype.hasOwnProperty,Ha=a.unstable_scheduleCallback,xt=a.unstable_cancelCallback,fn=a.unstable_shouldYield,Cn=a.unstable_requestPaint,Gt=a.unstable_now,Qt=a.unstable_getCurrentPriorityLevel,pn=a.unstable_ImmediatePriority,St=a.unstable_UserBlockingPriority,_s=a.unstable_NormalPriority,Fs=a.unstable_LowPriority,Ua=a.unstable_IdlePriority,ji=a.log,zt=a.unstable_setDisableYieldValue,En=null,At=null;function Os(e){if(typeof ji=="function"&&zt(e),At&&typeof At.setStrictMode=="function")try{At.setStrictMode(En,e)}catch{}}var Kt=Math.clz32?Math.clz32:ze,Tn=Math.log,Jn=Math.LN2;function ze(e){return e>>>=0,e===0?32:31-(Tn(e)/Jn|0)|0}var Ba=256,js=262144,Cs=4194304;function as(e){var s=e&42;if(s!==0)return s;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:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&261888;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Ya(e,s,i){var u=e.pendingLanes;if(u===0)return 0;var p=0,g=e.suspendedLanes,b=e.pingedLanes;e=e.warmLanes;var C=u&134217727;return C!==0?(u=C&~g,u!==0?p=as(u):(b&=C,b!==0?p=as(b):i||(i=C&~e,i!==0&&(p=as(i))))):(C=u&~g,C!==0?p=as(C):b!==0?p=as(b):i||(i=u&~e,i!==0&&(p=as(i)))),p===0?0:s!==0&&s!==p&&(s&g)===0&&(g=p&-p,i=s&-s,g>=i||g===32&&(i&4194048)!==0)?s:p}function qa(e,s){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&s)===0}function hn(e,s){switch(e){case 1:case 2:case 4:case 8:case 64:return s+250;case 16:case 32: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 s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Or(){var e=Cs;return Cs<<=1,(Cs&62914560)===0&&(Cs=4194304),e}function _e(e){for(var s=[],i=0;31>i;i++)s.push(e);return s}function ve(e,s){e.pendingLanes|=s,s!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function We(e,s,i,u,p,g){var b=e.pendingLanes;e.pendingLanes=i,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=i,e.entangledLanes&=i,e.errorRecoveryDisabledLanes&=i,e.shellSuspendCounter=0;var C=e.entanglements,z=e.expirationTimes,$=e.hiddenUpdates;for(i=b&~i;0<i;){var W=31-Kt(i),te=1<<W;C[W]=0,z[W]=-1;var X=$[W];if(X!==null)for($[W]=null,W=0;W<X.length;W++){var Q=X[W];Q!==null&&(Q.lane&=-536870913)}i&=~te}u!==0&&le(e,u,0),g!==0&&p===0&&e.tag!==0&&(e.suspendedLanes|=g&~(b&~s))}function le(e,s,i){e.pendingLanes|=s,e.suspendedLanes&=~s;var u=31-Kt(s);e.entangledLanes|=s,e.entanglements[u]=e.entanglements[u]|1073741824|i&261930}function je(e,s){var i=e.entangledLanes|=s;for(e=e.entanglements;i;){var u=31-Kt(i),p=1<<u;p&s|e[u]&s&&(e[u]|=s),i&=~p}}function be(e,s){var i=s&-s;return i=(i&42)!==0?1:Se(i),(i&(e.suspendedLanes|s))!==0?0:i}function Se(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;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:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Lt(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Be(){var e=F.p;return e!==0?e:(e=window.event,e===void 0?32:hb(e.type))}function _t(e,s){var i=F.p;try{return F.p=e,s()}finally{F.p=i}}var vt=Math.random().toString(36).slice(2),Pe="__reactFiber$"+vt,Le="__reactProps$"+vt,Ze="__reactContainer$"+vt,ks="__reactEvents$"+vt,bt="__reactListeners$"+vt,Ps="__reactHandles$"+vt,da="__reactResources$"+vt,Dt="__reactMarker$"+vt;function It(e){delete e[Pe],delete e[Le],delete e[ks],delete e[bt],delete e[Ps]}function Mt(e){var s=e[Pe];if(s)return s;for(var i=e.parentNode;i;){if(s=i[Ze]||i[Pe]){if(i=s.alternate,s.child!==null||i!==null&&i.child!==null)for(e=Wv(e);e!==null;){if(i=e[Pe])return i;e=Wv(e)}return s}e=i,i=e.parentNode}return null}function Xs(e){if(e=e[Pe]||e[Ze]){var s=e.tag;if(s===5||s===6||s===13||s===31||s===26||s===27||s===3)return e}return null}function An(e){var s=e.tag;if(s===5||s===26||s===27||s===6)return e.stateNode;throw Error(n(33))}function Rt(e){var s=e[da];return s||(s=e[da]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Ye(e){e[Dt]=!0}var fa=new Set,bo={};function Dn(e,s){Ga(e,s),Ga(e+"Capture",s)}function Ga(e,s){for(bo[e]=s,e=0;e<s.length;e++)fa.add(s[e])}var Ia=RegExp("^[: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]*$"),kr={},Ci={};function Mn(e){return ua.call(Ci,e)?!0:ua.call(kr,e)?!1:Ia.test(e)?Ci[e]=!0:(kr[e]=!0,!1)}function Pu(e,s,i){if(Mn(s))if(i===null)e.removeAttribute(s);else{switch(typeof i){case"undefined":case"function":case"symbol":e.removeAttribute(s);return;case"boolean":var u=s.toLowerCase().slice(0,5);if(u!=="data-"&&u!=="aria-"){e.removeAttribute(s);return}}e.setAttribute(s,""+i)}}function zu(e,s,i){if(i===null)e.removeAttribute(s);else{switch(typeof i){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(s);return}e.setAttribute(s,""+i)}}function er(e,s,i,u){if(u===null)e.removeAttribute(i);else{switch(typeof u){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(i);return}e.setAttributeNS(s,i,""+u)}}function Va(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function z0(e){var s=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(s==="checkbox"||s==="radio")}function Hj(e,s,i){var u=Object.getOwnPropertyDescriptor(e.constructor.prototype,s);if(!e.hasOwnProperty(s)&&typeof u<"u"&&typeof u.get=="function"&&typeof u.set=="function"){var p=u.get,g=u.set;return Object.defineProperty(e,s,{configurable:!0,get:function(){return p.call(this)},set:function(b){i=""+b,g.call(this,b)}}),Object.defineProperty(e,s,{enumerable:u.enumerable}),{getValue:function(){return i},setValue:function(b){i=""+b},stopTracking:function(){e._valueTracker=null,delete e[s]}}}}function Pp(e){if(!e._valueTracker){var s=z0(e)?"checked":"value";e._valueTracker=Hj(e,s,""+e[s])}}function L0(e){if(!e)return!1;var s=e._valueTracker;if(!s)return!0;var i=s.getValue(),u="";return e&&(u=z0(e)?e.checked?"true":"false":e.value),e=u,e!==i?(s.setValue(e),!0):!1}function Lu(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}}var Uj=/[\n"\\]/g;function $a(e){return e.replace(Uj,function(s){return"\\"+s.charCodeAt(0).toString(16)+" "})}function zp(e,s,i,u,p,g,b,C){e.name="",b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"?e.type=b:e.removeAttribute("type"),s!=null?b==="number"?(s===0&&e.value===""||e.value!=s)&&(e.value=""+Va(s)):e.value!==""+Va(s)&&(e.value=""+Va(s)):b!=="submit"&&b!=="reset"||e.removeAttribute("value"),s!=null?Lp(e,b,Va(s)):i!=null?Lp(e,b,Va(i)):u!=null&&e.removeAttribute("value"),p==null&&g!=null&&(e.defaultChecked=!!g),p!=null&&(e.checked=p&&typeof p!="function"&&typeof p!="symbol"),C!=null&&typeof C!="function"&&typeof C!="symbol"&&typeof C!="boolean"?e.name=""+Va(C):e.removeAttribute("name")}function H0(e,s,i,u,p,g,b,C){if(g!=null&&typeof g!="function"&&typeof g!="symbol"&&typeof g!="boolean"&&(e.type=g),s!=null||i!=null){if(!(g!=="submit"&&g!=="reset"||s!=null)){Pp(e);return}i=i!=null?""+Va(i):"",s=s!=null?""+Va(s):i,C||s===e.value||(e.value=s),e.defaultValue=s}u=u??p,u=typeof u!="function"&&typeof u!="symbol"&&!!u,e.checked=C?e.checked:!!u,e.defaultChecked=!!u,b!=null&&typeof b!="function"&&typeof b!="symbol"&&typeof b!="boolean"&&(e.name=b),Pp(e)}function Lp(e,s,i){s==="number"&&Lu(e.ownerDocument)===e||e.defaultValue===""+i||(e.defaultValue=""+i)}function wo(e,s,i,u){if(e=e.options,s){s={};for(var p=0;p<i.length;p++)s["$"+i[p]]=!0;for(i=0;i<e.length;i++)p=s.hasOwnProperty("$"+e[i].value),e[i].selected!==p&&(e[i].selected=p),p&&u&&(e[i].defaultSelected=!0)}else{for(i=""+Va(i),s=null,p=0;p<e.length;p++){if(e[p].value===i){e[p].selected=!0,u&&(e[p].defaultSelected=!0);return}s!==null||e[p].disabled||(s=e[p])}s!==null&&(s.selected=!0)}}function U0(e,s,i){if(s!=null&&(s=""+Va(s),s!==e.value&&(e.value=s),i==null)){e.defaultValue!==s&&(e.defaultValue=s);return}e.defaultValue=i!=null?""+Va(i):""}function B0(e,s,i,u){if(s==null){if(u!=null){if(i!=null)throw Error(n(92));if(ie(u)){if(1<u.length)throw Error(n(93));u=u[0]}i=u}i==null&&(i=""),s=i}i=Va(s),e.defaultValue=i,u=e.textContent,u===i&&u!==""&&u!==null&&(e.value=u),Pp(e)}function No(e,s){if(s){var i=e.firstChild;if(i&&i===e.lastChild&&i.nodeType===3){i.nodeValue=s;return}}e.textContent=s}var Bj=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Y0(e,s,i){var u=s.indexOf("--")===0;i==null||typeof i=="boolean"||i===""?u?e.setProperty(s,""):s==="float"?e.cssFloat="":e[s]="":u?e.setProperty(s,i):typeof i!="number"||i===0||Bj.has(s)?s==="float"?e.cssFloat=i:e[s]=(""+i).trim():e[s]=i+"px"}function q0(e,s,i){if(s!=null&&typeof s!="object")throw Error(n(62));if(e=e.style,i!=null){for(var u in i)!i.hasOwnProperty(u)||s!=null&&s.hasOwnProperty(u)||(u.indexOf("--")===0?e.setProperty(u,""):u==="float"?e.cssFloat="":e[u]="");for(var p in s)u=s[p],s.hasOwnProperty(p)&&i[p]!==u&&Y0(e,p,u)}else for(var g in s)s.hasOwnProperty(g)&&Y0(e,g,s[g])}function Hp(e){if(e.indexOf("-")===-1)return!1;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 Yj=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),qj=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Hu(e){return qj.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function tr(){}var Up=null;function Bp(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var So=null,_o=null;function G0(e){var s=Xs(e);if(s&&(e=s.stateNode)){var i=e[Le]||null;e:switch(e=s.stateNode,s.type){case"input":if(zp(e,i.value,i.defaultValue,i.defaultValue,i.checked,i.defaultChecked,i.type,i.name),s=i.name,i.type==="radio"&&s!=null){for(i=e;i.parentNode;)i=i.parentNode;for(i=i.querySelectorAll('input[name="'+$a(""+s)+'"][type="radio"]'),s=0;s<i.length;s++){var u=i[s];if(u!==e&&u.form===e.form){var p=u[Le]||null;if(!p)throw Error(n(90));zp(u,p.value,p.defaultValue,p.defaultValue,p.checked,p.defaultChecked,p.type,p.name)}}for(s=0;s<i.length;s++)u=i[s],u.form===e.form&&L0(u)}break e;case"textarea":U0(e,i.value,i.defaultValue);break e;case"select":s=i.value,s!=null&&wo(e,!!i.multiple,s,!1)}}}var Yp=!1;function I0(e,s,i){if(Yp)return e(s,i);Yp=!0;try{var u=e(s);return u}finally{if(Yp=!1,(So!==null||_o!==null)&&(jd(),So&&(s=So,e=_o,_o=So=null,G0(s),e)))for(s=0;s<e.length;s++)G0(e[s])}}function Ic(e,s){var i=e.stateNode;if(i===null)return null;var u=i[Le]||null;if(u===null)return null;i=u[s];e:switch(s){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(u=!u.disabled)||(e=e.type,u=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!u;break e;default:e=!1}if(e)return null;if(i&&typeof i!="function")throw Error(n(231,s,typeof i));return i}var sr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),qp=!1;if(sr)try{var Vc={};Object.defineProperty(Vc,"passive",{get:function(){qp=!0}}),window.addEventListener("test",Vc,Vc),window.removeEventListener("test",Vc,Vc)}catch{qp=!1}var Pr=null,Gp=null,Uu=null;function V0(){if(Uu)return Uu;var e,s=Gp,i=s.length,u,p="value"in Pr?Pr.value:Pr.textContent,g=p.length;for(e=0;e<i&&s[e]===p[e];e++);var b=i-e;for(u=1;u<=b&&s[i-u]===p[g-u];u++);return Uu=p.slice(e,1<u?1-u:void 0)}function Bu(e){var s=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&s===13&&(e=13)):e=s,e===10&&(e=13),32<=e||e===13?e:0}function Yu(){return!0}function $0(){return!1}function Qs(e){function s(i,u,p,g,b){this._reactName=i,this._targetInst=p,this.type=u,this.nativeEvent=g,this.target=b,this.currentTarget=null;for(var C in e)e.hasOwnProperty(C)&&(i=e[C],this[C]=i?i(g):g[C]);return this.isDefaultPrevented=(g.defaultPrevented!=null?g.defaultPrevented:g.returnValue===!1)?Yu:$0,this.isPropagationStopped=$0,this}return y(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var i=this.nativeEvent;i&&(i.preventDefault?i.preventDefault():typeof i.returnValue!="unknown"&&(i.returnValue=!1),this.isDefaultPrevented=Yu)},stopPropagation:function(){var i=this.nativeEvent;i&&(i.stopPropagation?i.stopPropagation():typeof i.cancelBubble!="unknown"&&(i.cancelBubble=!0),this.isPropagationStopped=Yu)},persist:function(){},isPersistent:Yu}),s}var Ei={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},qu=Qs(Ei),$c=y({},Ei,{view:0,detail:0}),Gj=Qs($c),Ip,Vp,Fc,Gu=y({},$c,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Fp,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!==Fc&&(Fc&&e.type==="mousemove"?(Ip=e.screenX-Fc.screenX,Vp=e.screenY-Fc.screenY):Vp=Ip=0,Fc=e),Ip)},movementY:function(e){return"movementY"in e?e.movementY:Vp}}),F0=Qs(Gu),Ij=y({},Gu,{dataTransfer:0}),Vj=Qs(Ij),$j=y({},$c,{relatedTarget:0}),$p=Qs($j),Fj=y({},Ei,{animationName:0,elapsedTime:0,pseudoElement:0}),Xj=Qs(Fj),Qj=y({},Ei,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Kj=Qs(Qj),Zj=y({},Ei,{data:0}),X0=Qs(Zj),Wj={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Jj={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"},e5={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function t5(e){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(e):(e=e5[e])?!!s[e]:!1}function Fp(){return t5}var s5=y({},$c,{key:function(e){if(e.key){var s=Wj[e.key]||e.key;if(s!=="Unidentified")return s}return e.type==="keypress"?(e=Bu(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?Jj[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Fp,charCode:function(e){return e.type==="keypress"?Bu(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Bu(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),a5=Qs(s5),n5=y({},Gu,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),Q0=Qs(n5),r5=y({},$c,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Fp}),i5=Qs(r5),o5=y({},Ei,{propertyName:0,elapsedTime:0,pseudoElement:0}),c5=Qs(o5),l5=y({},Gu,{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}),u5=Qs(l5),d5=y({},Ei,{newState:0,oldState:0}),f5=Qs(d5),p5=[9,13,27,32],Xp=sr&&"CompositionEvent"in window,Xc=null;sr&&"documentMode"in document&&(Xc=document.documentMode);var h5=sr&&"TextEvent"in window&&!Xc,K0=sr&&(!Xp||Xc&&8<Xc&&11>=Xc),Z0=" ",W0=!1;function J0(e,s){switch(e){case"keyup":return p5.indexOf(s.keyCode)!==-1;case"keydown":return s.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function e1(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var jo=!1;function m5(e,s){switch(e){case"compositionend":return e1(s);case"keypress":return s.which!==32?null:(W0=!0,Z0);case"textInput":return e=s.data,e===Z0&&W0?null:e;default:return null}}function g5(e,s){if(jo)return e==="compositionend"||!Xp&&J0(e,s)?(e=V0(),Uu=Gp=Pr=null,jo=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case"compositionend":return K0&&s.locale!=="ko"?null:s.data;default:return null}}var x5={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 t1(e){var s=e&&e.nodeName&&e.nodeName.toLowerCase();return s==="input"?!!x5[e.type]:s==="textarea"}function s1(e,s,i,u){So?_o?_o.push(u):_o=[u]:So=u,s=Rd(s,"onChange"),0<s.length&&(i=new qu("onChange","change",null,i,u),e.push({event:i,listeners:s}))}var Qc=null,Kc=null;function y5(e){Hv(e,0)}function Iu(e){var s=An(e);if(L0(s))return e}function a1(e,s){if(e==="change")return s}var n1=!1;if(sr){var Qp;if(sr){var Kp="oninput"in document;if(!Kp){var r1=document.createElement("div");r1.setAttribute("oninput","return;"),Kp=typeof r1.oninput=="function"}Qp=Kp}else Qp=!1;n1=Qp&&(!document.documentMode||9<document.documentMode)}function i1(){Qc&&(Qc.detachEvent("onpropertychange",o1),Kc=Qc=null)}function o1(e){if(e.propertyName==="value"&&Iu(Kc)){var s=[];s1(s,Kc,e,Bp(e)),I0(y5,s)}}function v5(e,s,i){e==="focusin"?(i1(),Qc=s,Kc=i,Qc.attachEvent("onpropertychange",o1)):e==="focusout"&&i1()}function b5(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Iu(Kc)}function w5(e,s){if(e==="click")return Iu(s)}function N5(e,s){if(e==="input"||e==="change")return Iu(s)}function S5(e,s){return e===s&&(e!==0||1/e===1/s)||e!==e&&s!==s}var pa=typeof Object.is=="function"?Object.is:S5;function Zc(e,s){if(pa(e,s))return!0;if(typeof e!="object"||e===null||typeof s!="object"||s===null)return!1;var i=Object.keys(e),u=Object.keys(s);if(i.length!==u.length)return!1;for(u=0;u<i.length;u++){var p=i[u];if(!ua.call(s,p)||!pa(e[p],s[p]))return!1}return!0}function c1(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function l1(e,s){var i=c1(e);e=0;for(var u;i;){if(i.nodeType===3){if(u=e+i.textContent.length,e<=s&&u>=s)return{node:i,offset:s-e};e=u}e:{for(;i;){if(i.nextSibling){i=i.nextSibling;break e}i=i.parentNode}i=void 0}i=c1(i)}}function u1(e,s){return e&&s?e===s?!0:e&&e.nodeType===3?!1:s&&s.nodeType===3?u1(e,s.parentNode):"contains"in e?e.contains(s):e.compareDocumentPosition?!!(e.compareDocumentPosition(s)&16):!1:!1}function d1(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var s=Lu(e.document);s instanceof e.HTMLIFrameElement;){try{var i=typeof s.contentWindow.location.href=="string"}catch{i=!1}if(i)e=s.contentWindow;else break;s=Lu(e.document)}return s}function Zp(e){var s=e&&e.nodeName&&e.nodeName.toLowerCase();return s&&(s==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||s==="textarea"||e.contentEditable==="true")}var _5=sr&&"documentMode"in document&&11>=document.documentMode,Co=null,Wp=null,Wc=null,Jp=!1;function f1(e,s,i){var u=i.window===i?i.document:i.nodeType===9?i:i.ownerDocument;Jp||Co==null||Co!==Lu(u)||(u=Co,"selectionStart"in u&&Zp(u)?u={start:u.selectionStart,end:u.selectionEnd}:(u=(u.ownerDocument&&u.ownerDocument.defaultView||window).getSelection(),u={anchorNode:u.anchorNode,anchorOffset:u.anchorOffset,focusNode:u.focusNode,focusOffset:u.focusOffset}),Wc&&Zc(Wc,u)||(Wc=u,u=Rd(Wp,"onSelect"),0<u.length&&(s=new qu("onSelect","select",null,s,i),e.push({event:s,listeners:u}),s.target=Co)))}function Ti(e,s){var i={};return i[e.toLowerCase()]=s.toLowerCase(),i["Webkit"+e]="webkit"+s,i["Moz"+e]="moz"+s,i}var Eo={animationend:Ti("Animation","AnimationEnd"),animationiteration:Ti("Animation","AnimationIteration"),animationstart:Ti("Animation","AnimationStart"),transitionrun:Ti("Transition","TransitionRun"),transitionstart:Ti("Transition","TransitionStart"),transitioncancel:Ti("Transition","TransitionCancel"),transitionend:Ti("Transition","TransitionEnd")},eh={},p1={};sr&&(p1=document.createElement("div").style,"AnimationEvent"in window||(delete Eo.animationend.animation,delete Eo.animationiteration.animation,delete Eo.animationstart.animation),"TransitionEvent"in window||delete Eo.transitionend.transition);function Ai(e){if(eh[e])return eh[e];if(!Eo[e])return e;var s=Eo[e],i;for(i in s)if(s.hasOwnProperty(i)&&i in p1)return eh[e]=s[i];return e}var h1=Ai("animationend"),m1=Ai("animationiteration"),g1=Ai("animationstart"),j5=Ai("transitionrun"),C5=Ai("transitionstart"),E5=Ai("transitioncancel"),x1=Ai("transitionend"),y1=new Map,th="abort auxClick beforeToggle 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(" ");th.push("scrollEnd");function mn(e,s){y1.set(e,s),Dn(s,[e])}var Vu=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var s=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(s))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Fa=[],To=0,sh=0;function $u(){for(var e=To,s=sh=To=0;s<e;){var i=Fa[s];Fa[s++]=null;var u=Fa[s];Fa[s++]=null;var p=Fa[s];Fa[s++]=null;var g=Fa[s];if(Fa[s++]=null,u!==null&&p!==null){var b=u.pending;b===null?p.next=p:(p.next=b.next,b.next=p),u.pending=p}g!==0&&v1(i,p,g)}}function Fu(e,s,i,u){Fa[To++]=e,Fa[To++]=s,Fa[To++]=i,Fa[To++]=u,sh|=u,e.lanes|=u,e=e.alternate,e!==null&&(e.lanes|=u)}function ah(e,s,i,u){return Fu(e,s,i,u),Xu(e)}function Di(e,s){return Fu(e,null,null,s),Xu(e)}function v1(e,s,i){e.lanes|=i;var u=e.alternate;u!==null&&(u.lanes|=i);for(var p=!1,g=e.return;g!==null;)g.childLanes|=i,u=g.alternate,u!==null&&(u.childLanes|=i),g.tag===22&&(e=g.stateNode,e===null||e._visibility&1||(p=!0)),e=g,g=g.return;return e.tag===3?(g=e.stateNode,p&&s!==null&&(p=31-Kt(i),e=g.hiddenUpdates,u=e[p],u===null?e[p]=[s]:u.push(s),s.lane=i|536870912),g):null}function Xu(e){if(50<bl)throw bl=0,fm=null,Error(n(185));for(var s=e.return;s!==null;)e=s,s=e.return;return e.tag===3?e.stateNode:null}var Ao={};function T5(e,s,i,u){this.tag=e,this.key=i,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=u,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ha(e,s,i,u){return new T5(e,s,i,u)}function nh(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ar(e,s){var i=e.alternate;return i===null?(i=ha(e.tag,s,e.key,e.mode),i.elementType=e.elementType,i.type=e.type,i.stateNode=e.stateNode,i.alternate=e,e.alternate=i):(i.pendingProps=s,i.type=e.type,i.flags=0,i.subtreeFlags=0,i.deletions=null),i.flags=e.flags&65011712,i.childLanes=e.childLanes,i.lanes=e.lanes,i.child=e.child,i.memoizedProps=e.memoizedProps,i.memoizedState=e.memoizedState,i.updateQueue=e.updateQueue,s=e.dependencies,i.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},i.sibling=e.sibling,i.index=e.index,i.ref=e.ref,i.refCleanup=e.refCleanup,i}function b1(e,s){e.flags&=65011714;var i=e.alternate;return i===null?(e.childLanes=0,e.lanes=s,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=i.childLanes,e.lanes=i.lanes,e.child=i.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=i.memoizedProps,e.memoizedState=i.memoizedState,e.updateQueue=i.updateQueue,e.type=i.type,s=i.dependencies,e.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),e}function Qu(e,s,i,u,p,g){var b=0;if(u=e,typeof e=="function")nh(e)&&(b=1);else if(typeof e=="string")b=O4(e,i,ae.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(e){case V:return e=ha(31,i,s,p),e.elementType=V,e.lanes=g,e;case w:return Mi(i.children,p,g,s);case _:b=8,p|=24;break;case D:return e=ha(12,i,s,p|2),e.elementType=D,e.lanes=g,e;case L:return e=ha(13,i,s,p),e.elementType=L,e.lanes=g,e;case Y:return e=ha(19,i,s,p),e.elementType=Y,e.lanes=g,e;default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case O:b=10;break e;case M:b=9;break e;case k:b=11;break e;case P:b=14;break e;case B:b=16,u=null;break e}b=29,i=Error(n(130,e===null?"null":typeof e,"")),u=null}return s=ha(b,i,s,p),s.elementType=e,s.type=u,s.lanes=g,s}function Mi(e,s,i,u){return e=ha(7,e,u,s),e.lanes=i,e}function rh(e,s,i){return e=ha(6,e,null,s),e.lanes=i,e}function w1(e){var s=ha(18,null,null,0);return s.stateNode=e,s}function ih(e,s,i){return s=ha(4,e.children!==null?e.children:[],e.key,s),s.lanes=i,s.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},s}var N1=new WeakMap;function Xa(e,s){if(typeof e=="object"&&e!==null){var i=N1.get(e);return i!==void 0?i:(s={value:e,source:s,stack:Ss(s)},N1.set(e,s),s)}return{value:e,source:s,stack:Ss(s)}}var Do=[],Mo=0,Ku=null,Jc=0,Qa=[],Ka=0,zr=null,Rn=1,On="";function nr(e,s){Do[Mo++]=Jc,Do[Mo++]=Ku,Ku=e,Jc=s}function S1(e,s,i){Qa[Ka++]=Rn,Qa[Ka++]=On,Qa[Ka++]=zr,zr=e;var u=Rn;e=On;var p=32-Kt(u)-1;u&=~(1<<p),i+=1;var g=32-Kt(s)+p;if(30<g){var b=p-p%5;g=(u&(1<<b)-1).toString(32),u>>=b,p-=b,Rn=1<<32-Kt(s)+p|i<<p|u,On=g+e}else Rn=1<<g|i<<p|u,On=e}function oh(e){e.return!==null&&(nr(e,1),S1(e,1,0))}function ch(e){for(;e===Ku;)Ku=Do[--Mo],Do[Mo]=null,Jc=Do[--Mo],Do[Mo]=null;for(;e===zr;)zr=Qa[--Ka],Qa[Ka]=null,On=Qa[--Ka],Qa[Ka]=null,Rn=Qa[--Ka],Qa[Ka]=null}function _1(e,s){Qa[Ka++]=Rn,Qa[Ka++]=On,Qa[Ka++]=zr,Rn=s.id,On=s.overflow,zr=e}var ms=null,wt=null,Qe=!1,Lr=null,Za=!1,lh=Error(n(519));function Hr(e){var s=Error(n(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw el(Xa(s,e)),lh}function j1(e){var s=e.stateNode,i=e.type,u=e.memoizedProps;switch(s[Pe]=e,s[Le]=u,i){case"dialog":Ve("cancel",s),Ve("close",s);break;case"iframe":case"object":case"embed":Ve("load",s);break;case"video":case"audio":for(i=0;i<Nl.length;i++)Ve(Nl[i],s);break;case"source":Ve("error",s);break;case"img":case"image":case"link":Ve("error",s),Ve("load",s);break;case"details":Ve("toggle",s);break;case"input":Ve("invalid",s),H0(s,u.value,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name,!0);break;case"select":Ve("invalid",s);break;case"textarea":Ve("invalid",s),B0(s,u.value,u.defaultValue,u.children)}i=u.children,typeof i!="string"&&typeof i!="number"&&typeof i!="bigint"||s.textContent===""+i||u.suppressHydrationWarning===!0||qv(s.textContent,i)?(u.popover!=null&&(Ve("beforetoggle",s),Ve("toggle",s)),u.onScroll!=null&&Ve("scroll",s),u.onScrollEnd!=null&&Ve("scrollend",s),u.onClick!=null&&(s.onclick=tr),s=!0):s=!1,s||Hr(e,!0)}function C1(e){for(ms=e.return;ms;)switch(ms.tag){case 5:case 31:case 13:Za=!1;return;case 27:case 3:Za=!0;return;default:ms=ms.return}}function Ro(e){if(e!==ms)return!1;if(!Qe)return C1(e),Qe=!0,!1;var s=e.tag,i;if((i=s!==3&&s!==27)&&((i=s===5)&&(i=e.type,i=!(i!=="form"&&i!=="button")||Em(e.type,e.memoizedProps)),i=!i),i&&wt&&Hr(e),C1(e),s===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(n(317));wt=Zv(e)}else if(s===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(n(317));wt=Zv(e)}else s===27?(s=wt,Wr(e.type)?(e=Rm,Rm=null,wt=e):wt=s):wt=ms?Ja(e.stateNode.nextSibling):null;return!0}function Ri(){wt=ms=null,Qe=!1}function uh(){var e=Lr;return e!==null&&(Js===null?Js=e:Js.push.apply(Js,e),Lr=null),e}function el(e){Lr===null?Lr=[e]:Lr.push(e)}var dh=A(null),Oi=null,rr=null;function Ur(e,s,i){se(dh,s._currentValue),s._currentValue=i}function ir(e){e._currentValue=dh.current,G(dh)}function fh(e,s,i){for(;e!==null;){var u=e.alternate;if((e.childLanes&s)!==s?(e.childLanes|=s,u!==null&&(u.childLanes|=s)):u!==null&&(u.childLanes&s)!==s&&(u.childLanes|=s),e===i)break;e=e.return}}function ph(e,s,i,u){var p=e.child;for(p!==null&&(p.return=e);p!==null;){var g=p.dependencies;if(g!==null){var b=p.child;g=g.firstContext;e:for(;g!==null;){var C=g;g=p;for(var z=0;z<s.length;z++)if(C.context===s[z]){g.lanes|=i,C=g.alternate,C!==null&&(C.lanes|=i),fh(g.return,i,e),u||(b=null);break e}g=C.next}}else if(p.tag===18){if(b=p.return,b===null)throw Error(n(341));b.lanes|=i,g=b.alternate,g!==null&&(g.lanes|=i),fh(b,i,e),b=null}else b=p.child;if(b!==null)b.return=p;else for(b=p;b!==null;){if(b===e){b=null;break}if(p=b.sibling,p!==null){p.return=b.return,b=p;break}b=b.return}p=b}}function Oo(e,s,i,u){e=null;for(var p=s,g=!1;p!==null;){if(!g){if((p.flags&524288)!==0)g=!0;else if((p.flags&262144)!==0)break}if(p.tag===10){var b=p.alternate;if(b===null)throw Error(n(387));if(b=b.memoizedProps,b!==null){var C=p.type;pa(p.pendingProps.value,b.value)||(e!==null?e.push(C):e=[C])}}else if(p===ne.current){if(b=p.alternate,b===null)throw Error(n(387));b.memoizedState.memoizedState!==p.memoizedState.memoizedState&&(e!==null?e.push(El):e=[El])}p=p.return}e!==null&&ph(s,e,i,u),s.flags|=262144}function Zu(e){for(e=e.firstContext;e!==null;){if(!pa(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function ki(e){Oi=e,rr=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function gs(e){return E1(Oi,e)}function Wu(e,s){return Oi===null&&ki(e),E1(e,s)}function E1(e,s){var i=s._currentValue;if(s={context:s,memoizedValue:i,next:null},rr===null){if(e===null)throw Error(n(308));rr=s,e.dependencies={lanes:0,firstContext:s},e.flags|=524288}else rr=rr.next=s;return i}var A5=typeof AbortController<"u"?AbortController:function(){var e=[],s=this.signal={aborted:!1,addEventListener:function(i,u){e.push(u)}};this.abort=function(){s.aborted=!0,e.forEach(function(i){return i()})}},D5=a.unstable_scheduleCallback,M5=a.unstable_NormalPriority,Zt={$$typeof:O,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function hh(){return{controller:new A5,data:new Map,refCount:0}}function tl(e){e.refCount--,e.refCount===0&&D5(M5,function(){e.controller.abort()})}var sl=null,mh=0,ko=0,Po=null;function R5(e,s){if(sl===null){var i=sl=[];mh=0,ko=ym(),Po={status:"pending",value:void 0,then:function(u){i.push(u)}}}return mh++,s.then(T1,T1),s}function T1(){if(--mh===0&&sl!==null){Po!==null&&(Po.status="fulfilled");var e=sl;sl=null,ko=0,Po=null;for(var s=0;s<e.length;s++)(0,e[s])()}}function O5(e,s){var i=[],u={status:"pending",value:null,reason:null,then:function(p){i.push(p)}};return e.then(function(){u.status="fulfilled",u.value=s;for(var p=0;p<i.length;p++)(0,i[p])(s)},function(p){for(u.status="rejected",u.reason=p,p=0;p<i.length;p++)(0,i[p])(void 0)}),u}var A1=U.S;U.S=function(e,s){fv=Gt(),typeof s=="object"&&s!==null&&typeof s.then=="function"&&R5(e,s),A1!==null&&A1(e,s)};var Pi=A(null);function gh(){var e=Pi.current;return e!==null?e:ft.pooledCache}function Ju(e,s){s===null?se(Pi,Pi.current):se(Pi,s.pool)}function D1(){var e=gh();return e===null?null:{parent:Zt._currentValue,pool:e}}var zo=Error(n(460)),xh=Error(n(474)),ed=Error(n(542)),td={then:function(){}};function M1(e){return e=e.status,e==="fulfilled"||e==="rejected"}function R1(e,s,i){switch(i=e[i],i===void 0?e.push(s):i!==s&&(s.then(tr,tr),s=i),s.status){case"fulfilled":return s.value;case"rejected":throw e=s.reason,k1(e),e;default:if(typeof s.status=="string")s.then(tr,tr);else{if(e=ft,e!==null&&100<e.shellSuspendCounter)throw Error(n(482));e=s,e.status="pending",e.then(function(u){if(s.status==="pending"){var p=s;p.status="fulfilled",p.value=u}},function(u){if(s.status==="pending"){var p=s;p.status="rejected",p.reason=u}})}switch(s.status){case"fulfilled":return s.value;case"rejected":throw e=s.reason,k1(e),e}throw Li=s,zo}}function zi(e){try{var s=e._init;return s(e._payload)}catch(i){throw i!==null&&typeof i=="object"&&typeof i.then=="function"?(Li=i,zo):i}}var Li=null;function O1(){if(Li===null)throw Error(n(459));var e=Li;return Li=null,e}function k1(e){if(e===zo||e===ed)throw Error(n(483))}var Lo=null,al=0;function sd(e){var s=al;return al+=1,Lo===null&&(Lo=[]),R1(Lo,e,s)}function nl(e,s){s=s.props.ref,e.ref=s!==void 0?s:null}function ad(e,s){throw s.$$typeof===N?Error(n(525)):(e=Object.prototype.toString.call(s),Error(n(31,e==="[object Object]"?"object with keys {"+Object.keys(s).join(", ")+"}":e)))}function P1(e){function s(q,H){if(e){var I=q.deletions;I===null?(q.deletions=[H],q.flags|=16):I.push(H)}}function i(q,H){if(!e)return null;for(;H!==null;)s(q,H),H=H.sibling;return null}function u(q){for(var H=new Map;q!==null;)q.key!==null?H.set(q.key,q):H.set(q.index,q),q=q.sibling;return H}function p(q,H){return q=ar(q,H),q.index=0,q.sibling=null,q}function g(q,H,I){return q.index=I,e?(I=q.alternate,I!==null?(I=I.index,I<H?(q.flags|=67108866,H):I):(q.flags|=67108866,H)):(q.flags|=1048576,H)}function b(q){return e&&q.alternate===null&&(q.flags|=67108866),q}function C(q,H,I,ee){return H===null||H.tag!==6?(H=rh(I,q.mode,ee),H.return=q,H):(H=p(H,I),H.return=q,H)}function z(q,H,I,ee){var we=I.type;return we===w?W(q,H,I.props.children,ee,I.key):H!==null&&(H.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===B&&zi(we)===H.type)?(H=p(H,I.props),nl(H,I),H.return=q,H):(H=Qu(I.type,I.key,I.props,null,q.mode,ee),nl(H,I),H.return=q,H)}function $(q,H,I,ee){return H===null||H.tag!==4||H.stateNode.containerInfo!==I.containerInfo||H.stateNode.implementation!==I.implementation?(H=ih(I,q.mode,ee),H.return=q,H):(H=p(H,I.children||[]),H.return=q,H)}function W(q,H,I,ee,we){return H===null||H.tag!==7?(H=Mi(I,q.mode,ee,we),H.return=q,H):(H=p(H,I),H.return=q,H)}function te(q,H,I){if(typeof H=="string"&&H!==""||typeof H=="number"||typeof H=="bigint")return H=rh(""+H,q.mode,I),H.return=q,H;if(typeof H=="object"&&H!==null){switch(H.$$typeof){case S:return I=Qu(H.type,H.key,H.props,null,q.mode,I),nl(I,H),I.return=q,I;case j:return H=ih(H,q.mode,I),H.return=q,H;case B:return H=zi(H),te(q,H,I)}if(ie(H)||J(H))return H=Mi(H,q.mode,I,null),H.return=q,H;if(typeof H.then=="function")return te(q,sd(H),I);if(H.$$typeof===O)return te(q,Wu(q,H),I);ad(q,H)}return null}function X(q,H,I,ee){var we=H!==null?H.key:null;if(typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint")return we!==null?null:C(q,H,""+I,ee);if(typeof I=="object"&&I!==null){switch(I.$$typeof){case S:return I.key===we?z(q,H,I,ee):null;case j:return I.key===we?$(q,H,I,ee):null;case B:return I=zi(I),X(q,H,I,ee)}if(ie(I)||J(I))return we!==null?null:W(q,H,I,ee,null);if(typeof I.then=="function")return X(q,H,sd(I),ee);if(I.$$typeof===O)return X(q,H,Wu(q,I),ee);ad(q,I)}return null}function Q(q,H,I,ee,we){if(typeof ee=="string"&&ee!==""||typeof ee=="number"||typeof ee=="bigint")return q=q.get(I)||null,C(H,q,""+ee,we);if(typeof ee=="object"&&ee!==null){switch(ee.$$typeof){case S:return q=q.get(ee.key===null?I:ee.key)||null,z(H,q,ee,we);case j:return q=q.get(ee.key===null?I:ee.key)||null,$(H,q,ee,we);case B:return ee=zi(ee),Q(q,H,I,ee,we)}if(ie(ee)||J(ee))return q=q.get(I)||null,W(H,q,ee,we,null);if(typeof ee.then=="function")return Q(q,H,I,sd(ee),we);if(ee.$$typeof===O)return Q(q,H,I,Wu(H,ee),we);ad(H,ee)}return null}function he(q,H,I,ee){for(var we=null,Je=null,ye=H,Oe=H=0,Xe=null;ye!==null&&Oe<I.length;Oe++){ye.index>Oe?(Xe=ye,ye=null):Xe=ye.sibling;var et=X(q,ye,I[Oe],ee);if(et===null){ye===null&&(ye=Xe);break}e&&ye&&et.alternate===null&&s(q,ye),H=g(et,H,Oe),Je===null?we=et:Je.sibling=et,Je=et,ye=Xe}if(Oe===I.length)return i(q,ye),Qe&&nr(q,Oe),we;if(ye===null){for(;Oe<I.length;Oe++)ye=te(q,I[Oe],ee),ye!==null&&(H=g(ye,H,Oe),Je===null?we=ye:Je.sibling=ye,Je=ye);return Qe&&nr(q,Oe),we}for(ye=u(ye);Oe<I.length;Oe++)Xe=Q(ye,q,Oe,I[Oe],ee),Xe!==null&&(e&&Xe.alternate!==null&&ye.delete(Xe.key===null?Oe:Xe.key),H=g(Xe,H,Oe),Je===null?we=Xe:Je.sibling=Xe,Je=Xe);return e&&ye.forEach(function(ai){return s(q,ai)}),Qe&&nr(q,Oe),we}function Ne(q,H,I,ee){if(I==null)throw Error(n(151));for(var we=null,Je=null,ye=H,Oe=H=0,Xe=null,et=I.next();ye!==null&&!et.done;Oe++,et=I.next()){ye.index>Oe?(Xe=ye,ye=null):Xe=ye.sibling;var ai=X(q,ye,et.value,ee);if(ai===null){ye===null&&(ye=Xe);break}e&&ye&&ai.alternate===null&&s(q,ye),H=g(ai,H,Oe),Je===null?we=ai:Je.sibling=ai,Je=ai,ye=Xe}if(et.done)return i(q,ye),Qe&&nr(q,Oe),we;if(ye===null){for(;!et.done;Oe++,et=I.next())et=te(q,et.value,ee),et!==null&&(H=g(et,H,Oe),Je===null?we=et:Je.sibling=et,Je=et);return Qe&&nr(q,Oe),we}for(ye=u(ye);!et.done;Oe++,et=I.next())et=Q(ye,q,Oe,et.value,ee),et!==null&&(e&&et.alternate!==null&&ye.delete(et.key===null?Oe:et.key),H=g(et,H,Oe),Je===null?we=et:Je.sibling=et,Je=et);return e&&ye.forEach(function(I4){return s(q,I4)}),Qe&&nr(q,Oe),we}function dt(q,H,I,ee){if(typeof I=="object"&&I!==null&&I.type===w&&I.key===null&&(I=I.props.children),typeof I=="object"&&I!==null){switch(I.$$typeof){case S:e:{for(var we=I.key;H!==null;){if(H.key===we){if(we=I.type,we===w){if(H.tag===7){i(q,H.sibling),ee=p(H,I.props.children),ee.return=q,q=ee;break e}}else if(H.elementType===we||typeof we=="object"&&we!==null&&we.$$typeof===B&&zi(we)===H.type){i(q,H.sibling),ee=p(H,I.props),nl(ee,I),ee.return=q,q=ee;break e}i(q,H);break}else s(q,H);H=H.sibling}I.type===w?(ee=Mi(I.props.children,q.mode,ee,I.key),ee.return=q,q=ee):(ee=Qu(I.type,I.key,I.props,null,q.mode,ee),nl(ee,I),ee.return=q,q=ee)}return b(q);case j:e:{for(we=I.key;H!==null;){if(H.key===we)if(H.tag===4&&H.stateNode.containerInfo===I.containerInfo&&H.stateNode.implementation===I.implementation){i(q,H.sibling),ee=p(H,I.children||[]),ee.return=q,q=ee;break e}else{i(q,H);break}else s(q,H);H=H.sibling}ee=ih(I,q.mode,ee),ee.return=q,q=ee}return b(q);case B:return I=zi(I),dt(q,H,I,ee)}if(ie(I))return he(q,H,I,ee);if(J(I)){if(we=J(I),typeof we!="function")throw Error(n(150));return I=we.call(I),Ne(q,H,I,ee)}if(typeof I.then=="function")return dt(q,H,sd(I),ee);if(I.$$typeof===O)return dt(q,H,Wu(q,I),ee);ad(q,I)}return typeof I=="string"&&I!==""||typeof I=="number"||typeof I=="bigint"?(I=""+I,H!==null&&H.tag===6?(i(q,H.sibling),ee=p(H,I),ee.return=q,q=ee):(i(q,H),ee=rh(I,q.mode,ee),ee.return=q,q=ee),b(q)):i(q,H)}return function(q,H,I,ee){try{al=0;var we=dt(q,H,I,ee);return Lo=null,we}catch(ye){if(ye===zo||ye===ed)throw ye;var Je=ha(29,ye,null,q.mode);return Je.lanes=ee,Je.return=q,Je}}}var Hi=P1(!0),z1=P1(!1),Br=!1;function yh(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function vh(e,s){e=e.updateQueue,s.updateQueue===e&&(s.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function Yr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function qr(e,s,i){var u=e.updateQueue;if(u===null)return null;if(u=u.shared,(tt&2)!==0){var p=u.pending;return p===null?s.next=s:(s.next=p.next,p.next=s),u.pending=s,s=Xu(e),v1(e,null,i),s}return Fu(e,u,s,i),Xu(e)}function rl(e,s,i){if(s=s.updateQueue,s!==null&&(s=s.shared,(i&4194048)!==0)){var u=s.lanes;u&=e.pendingLanes,i|=u,s.lanes=i,je(e,i)}}function bh(e,s){var i=e.updateQueue,u=e.alternate;if(u!==null&&(u=u.updateQueue,i===u)){var p=null,g=null;if(i=i.firstBaseUpdate,i!==null){do{var b={lane:i.lane,tag:i.tag,payload:i.payload,callback:null,next:null};g===null?p=g=b:g=g.next=b,i=i.next}while(i!==null);g===null?p=g=s:g=g.next=s}else p=g=s;i={baseState:u.baseState,firstBaseUpdate:p,lastBaseUpdate:g,shared:u.shared,callbacks:u.callbacks},e.updateQueue=i;return}e=i.lastBaseUpdate,e===null?i.firstBaseUpdate=s:e.next=s,i.lastBaseUpdate=s}var wh=!1;function il(){if(wh){var e=Po;if(e!==null)throw e}}function ol(e,s,i,u){wh=!1;var p=e.updateQueue;Br=!1;var g=p.firstBaseUpdate,b=p.lastBaseUpdate,C=p.shared.pending;if(C!==null){p.shared.pending=null;var z=C,$=z.next;z.next=null,b===null?g=$:b.next=$,b=z;var W=e.alternate;W!==null&&(W=W.updateQueue,C=W.lastBaseUpdate,C!==b&&(C===null?W.firstBaseUpdate=$:C.next=$,W.lastBaseUpdate=z))}if(g!==null){var te=p.baseState;b=0,W=$=z=null,C=g;do{var X=C.lane&-536870913,Q=X!==C.lane;if(Q?(Fe&X)===X:(u&X)===X){X!==0&&X===ko&&(wh=!0),W!==null&&(W=W.next={lane:0,tag:C.tag,payload:C.payload,callback:null,next:null});e:{var he=e,Ne=C;X=s;var dt=i;switch(Ne.tag){case 1:if(he=Ne.payload,typeof he=="function"){te=he.call(dt,te,X);break e}te=he;break e;case 3:he.flags=he.flags&-65537|128;case 0:if(he=Ne.payload,X=typeof he=="function"?he.call(dt,te,X):he,X==null)break e;te=y({},te,X);break e;case 2:Br=!0}}X=C.callback,X!==null&&(e.flags|=64,Q&&(e.flags|=8192),Q=p.callbacks,Q===null?p.callbacks=[X]:Q.push(X))}else Q={lane:X,tag:C.tag,payload:C.payload,callback:C.callback,next:null},W===null?($=W=Q,z=te):W=W.next=Q,b|=X;if(C=C.next,C===null){if(C=p.shared.pending,C===null)break;Q=C,C=Q.next,Q.next=null,p.lastBaseUpdate=Q,p.shared.pending=null}}while(!0);W===null&&(z=te),p.baseState=z,p.firstBaseUpdate=$,p.lastBaseUpdate=W,g===null&&(p.shared.lanes=0),Fr|=b,e.lanes=b,e.memoizedState=te}}function L1(e,s){if(typeof e!="function")throw Error(n(191,e));e.call(s)}function H1(e,s){var i=e.callbacks;if(i!==null)for(e.callbacks=null,e=0;e<i.length;e++)L1(i[e],s)}var Ho=A(null),nd=A(0);function U1(e,s){e=mr,se(nd,e),se(Ho,s),mr=e|s.baseLanes}function Nh(){se(nd,mr),se(Ho,Ho.current)}function Sh(){mr=nd.current,G(Ho),G(nd)}var ma=A(null),Wa=null;function Gr(e){var s=e.alternate;se(Vt,Vt.current&1),se(ma,e),Wa===null&&(s===null||Ho.current!==null||s.memoizedState!==null)&&(Wa=e)}function _h(e){se(Vt,Vt.current),se(ma,e),Wa===null&&(Wa=e)}function B1(e){e.tag===22?(se(Vt,Vt.current),se(ma,e),Wa===null&&(Wa=e)):Ir()}function Ir(){se(Vt,Vt.current),se(ma,ma.current)}function ga(e){G(ma),Wa===e&&(Wa=null),G(Vt)}var Vt=A(0);function rd(e){for(var s=e;s!==null;){if(s.tag===13){var i=s.memoizedState;if(i!==null&&(i=i.dehydrated,i===null||Dm(i)||Mm(i)))return s}else if(s.tag===19&&(s.memoizedProps.revealOrder==="forwards"||s.memoizedProps.revealOrder==="backwards"||s.memoizedProps.revealOrder==="unstable_legacy-backwards"||s.memoizedProps.revealOrder==="together")){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)break;for(;s.sibling===null;){if(s.return===null||s.return===e)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var or=0,Ae=null,lt=null,Wt=null,id=!1,Uo=!1,Ui=!1,od=0,cl=0,Bo=null,k5=0;function Ht(){throw Error(n(321))}function jh(e,s){if(s===null)return!1;for(var i=0;i<s.length&&i<e.length;i++)if(!pa(e[i],s[i]))return!1;return!0}function Ch(e,s,i,u,p,g){return or=g,Ae=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,U.H=e===null||e.memoizedState===null?Sy:Yh,Ui=!1,g=i(u,p),Ui=!1,Uo&&(g=q1(s,i,u,p)),Y1(e),g}function Y1(e){U.H=dl;var s=lt!==null&&lt.next!==null;if(or=0,Wt=lt=Ae=null,id=!1,cl=0,Bo=null,s)throw Error(n(300));e===null||Jt||(e=e.dependencies,e!==null&&Zu(e)&&(Jt=!0))}function q1(e,s,i,u){Ae=e;var p=0;do{if(Uo&&(Bo=null),cl=0,Uo=!1,25<=p)throw Error(n(301));if(p+=1,Wt=lt=null,e.updateQueue!=null){var g=e.updateQueue;g.lastEffect=null,g.events=null,g.stores=null,g.memoCache!=null&&(g.memoCache.index=0)}U.H=_y,g=s(i,u)}while(Uo);return g}function P5(){var e=U.H,s=e.useState()[0];return s=typeof s.then=="function"?ll(s):s,e=e.useState()[0],(lt!==null?lt.memoizedState:null)!==e&&(Ae.flags|=1024),s}function Eh(){var e=od!==0;return od=0,e}function Th(e,s,i){s.updateQueue=e.updateQueue,s.flags&=-2053,e.lanes&=~i}function Ah(e){if(id){for(e=e.memoizedState;e!==null;){var s=e.queue;s!==null&&(s.pending=null),e=e.next}id=!1}or=0,Wt=lt=Ae=null,Uo=!1,cl=od=0,Bo=null}function zs(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Wt===null?Ae.memoizedState=Wt=e:Wt=Wt.next=e,Wt}function $t(){if(lt===null){var e=Ae.alternate;e=e!==null?e.memoizedState:null}else e=lt.next;var s=Wt===null?Ae.memoizedState:Wt.next;if(s!==null)Wt=s,lt=e;else{if(e===null)throw Ae.alternate===null?Error(n(467)):Error(n(310));lt=e,e={memoizedState:lt.memoizedState,baseState:lt.baseState,baseQueue:lt.baseQueue,queue:lt.queue,next:null},Wt===null?Ae.memoizedState=Wt=e:Wt=Wt.next=e}return Wt}function cd(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function ll(e){var s=cl;return cl+=1,Bo===null&&(Bo=[]),e=R1(Bo,e,s),s=Ae,(Wt===null?s.memoizedState:Wt.next)===null&&(s=s.alternate,U.H=s===null||s.memoizedState===null?Sy:Yh),e}function ld(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return ll(e);if(e.$$typeof===O)return gs(e)}throw Error(n(438,String(e)))}function Dh(e){var s=null,i=Ae.updateQueue;if(i!==null&&(s=i.memoCache),s==null){var u=Ae.alternate;u!==null&&(u=u.updateQueue,u!==null&&(u=u.memoCache,u!=null&&(s={data:u.data.map(function(p){return p.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),i===null&&(i=cd(),Ae.updateQueue=i),i.memoCache=s,i=s.data[s.index],i===void 0)for(i=s.data[s.index]=Array(e),u=0;u<e;u++)i[u]=K;return s.index++,i}function cr(e,s){return typeof s=="function"?s(e):s}function ud(e){var s=$t();return Mh(s,lt,e)}function Mh(e,s,i){var u=e.queue;if(u===null)throw Error(n(311));u.lastRenderedReducer=i;var p=e.baseQueue,g=u.pending;if(g!==null){if(p!==null){var b=p.next;p.next=g.next,g.next=b}s.baseQueue=p=g,u.pending=null}if(g=e.baseState,p===null)e.memoizedState=g;else{s=p.next;var C=b=null,z=null,$=s,W=!1;do{var te=$.lane&-536870913;if(te!==$.lane?(Fe&te)===te:(or&te)===te){var X=$.revertLane;if(X===0)z!==null&&(z=z.next={lane:0,revertLane:0,gesture:null,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null}),te===ko&&(W=!0);else if((or&X)===X){$=$.next,X===ko&&(W=!0);continue}else te={lane:0,revertLane:$.revertLane,gesture:null,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null},z===null?(C=z=te,b=g):z=z.next=te,Ae.lanes|=X,Fr|=X;te=$.action,Ui&&i(g,te),g=$.hasEagerState?$.eagerState:i(g,te)}else X={lane:te,revertLane:$.revertLane,gesture:$.gesture,action:$.action,hasEagerState:$.hasEagerState,eagerState:$.eagerState,next:null},z===null?(C=z=X,b=g):z=z.next=X,Ae.lanes|=te,Fr|=te;$=$.next}while($!==null&&$!==s);if(z===null?b=g:z.next=C,!pa(g,e.memoizedState)&&(Jt=!0,W&&(i=Po,i!==null)))throw i;e.memoizedState=g,e.baseState=b,e.baseQueue=z,u.lastRenderedState=g}return p===null&&(u.lanes=0),[e.memoizedState,u.dispatch]}function Rh(e){var s=$t(),i=s.queue;if(i===null)throw Error(n(311));i.lastRenderedReducer=e;var u=i.dispatch,p=i.pending,g=s.memoizedState;if(p!==null){i.pending=null;var b=p=p.next;do g=e(g,b.action),b=b.next;while(b!==p);pa(g,s.memoizedState)||(Jt=!0),s.memoizedState=g,s.baseQueue===null&&(s.baseState=g),i.lastRenderedState=g}return[g,u]}function G1(e,s,i){var u=Ae,p=$t(),g=Qe;if(g){if(i===void 0)throw Error(n(407));i=i()}else i=s();var b=!pa((lt||p).memoizedState,i);if(b&&(p.memoizedState=i,Jt=!0),p=p.queue,Ph($1.bind(null,u,p,e),[e]),p.getSnapshot!==s||b||Wt!==null&&Wt.memoizedState.tag&1){if(u.flags|=2048,Yo(9,{destroy:void 0},V1.bind(null,u,p,i,s),null),ft===null)throw Error(n(349));g||(or&127)!==0||I1(u,s,i)}return i}function I1(e,s,i){e.flags|=16384,e={getSnapshot:s,value:i},s=Ae.updateQueue,s===null?(s=cd(),Ae.updateQueue=s,s.stores=[e]):(i=s.stores,i===null?s.stores=[e]:i.push(e))}function V1(e,s,i,u){s.value=i,s.getSnapshot=u,F1(s)&&X1(e)}function $1(e,s,i){return i(function(){F1(s)&&X1(e)})}function F1(e){var s=e.getSnapshot;e=e.value;try{var i=s();return!pa(e,i)}catch{return!0}}function X1(e){var s=Di(e,2);s!==null&&ea(s,e,2)}function Oh(e){var s=zs();if(typeof e=="function"){var i=e;if(e=i(),Ui){Os(!0);try{i()}finally{Os(!1)}}}return s.memoizedState=s.baseState=e,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:cr,lastRenderedState:e},s}function Q1(e,s,i,u){return e.baseState=i,Mh(e,lt,typeof u=="function"?u:cr)}function z5(e,s,i,u,p){if(pd(e))throw Error(n(485));if(e=s.action,e!==null){var g={payload:p,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(b){g.listeners.push(b)}};U.T!==null?i(!0):g.isTransition=!1,u(g),i=s.pending,i===null?(g.next=s.pending=g,K1(s,g)):(g.next=i.next,s.pending=i.next=g)}}function K1(e,s){var i=s.action,u=s.payload,p=e.state;if(s.isTransition){var g=U.T,b={};U.T=b;try{var C=i(p,u),z=U.S;z!==null&&z(b,C),Z1(e,s,C)}catch($){kh(e,s,$)}finally{g!==null&&b.types!==null&&(g.types=b.types),U.T=g}}else try{g=i(p,u),Z1(e,s,g)}catch($){kh(e,s,$)}}function Z1(e,s,i){i!==null&&typeof i=="object"&&typeof i.then=="function"?i.then(function(u){W1(e,s,u)},function(u){return kh(e,s,u)}):W1(e,s,i)}function W1(e,s,i){s.status="fulfilled",s.value=i,J1(s),e.state=i,s=e.pending,s!==null&&(i=s.next,i===s?e.pending=null:(i=i.next,s.next=i,K1(e,i)))}function kh(e,s,i){var u=e.pending;if(e.pending=null,u!==null){u=u.next;do s.status="rejected",s.reason=i,J1(s),s=s.next;while(s!==u)}e.action=null}function J1(e){e=e.listeners;for(var s=0;s<e.length;s++)(0,e[s])()}function ey(e,s){return s}function ty(e,s){if(Qe){var i=ft.formState;if(i!==null){e:{var u=Ae;if(Qe){if(wt){t:{for(var p=wt,g=Za;p.nodeType!==8;){if(!g){p=null;break t}if(p=Ja(p.nextSibling),p===null){p=null;break t}}g=p.data,p=g==="F!"||g==="F"?p:null}if(p){wt=Ja(p.nextSibling),u=p.data==="F!";break e}}Hr(u)}u=!1}u&&(s=i[0])}}return i=zs(),i.memoizedState=i.baseState=s,u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ey,lastRenderedState:s},i.queue=u,i=by.bind(null,Ae,u),u.dispatch=i,u=Oh(!1),g=Bh.bind(null,Ae,!1,u.queue),u=zs(),p={state:s,dispatch:null,action:e,pending:null},u.queue=p,i=z5.bind(null,Ae,p,g,i),p.dispatch=i,u.memoizedState=e,[s,i,!1]}function sy(e){var s=$t();return ay(s,lt,e)}function ay(e,s,i){if(s=Mh(e,s,ey)[0],e=ud(cr)[0],typeof s=="object"&&s!==null&&typeof s.then=="function")try{var u=ll(s)}catch(b){throw b===zo?ed:b}else u=s;s=$t();var p=s.queue,g=p.dispatch;return i!==s.memoizedState&&(Ae.flags|=2048,Yo(9,{destroy:void 0},L5.bind(null,p,i),null)),[u,g,e]}function L5(e,s){e.action=s}function ny(e){var s=$t(),i=lt;if(i!==null)return ay(s,i,e);$t(),s=s.memoizedState,i=$t();var u=i.queue.dispatch;return i.memoizedState=e,[s,u,!1]}function Yo(e,s,i,u){return e={tag:e,create:i,deps:u,inst:s,next:null},s=Ae.updateQueue,s===null&&(s=cd(),Ae.updateQueue=s),i=s.lastEffect,i===null?s.lastEffect=e.next=e:(u=i.next,i.next=e,e.next=u,s.lastEffect=e),e}function ry(){return $t().memoizedState}function dd(e,s,i,u){var p=zs();Ae.flags|=e,p.memoizedState=Yo(1|s,{destroy:void 0},i,u===void 0?null:u)}function fd(e,s,i,u){var p=$t();u=u===void 0?null:u;var g=p.memoizedState.inst;lt!==null&&u!==null&&jh(u,lt.memoizedState.deps)?p.memoizedState=Yo(s,g,i,u):(Ae.flags|=e,p.memoizedState=Yo(1|s,g,i,u))}function iy(e,s){dd(8390656,8,e,s)}function Ph(e,s){fd(2048,8,e,s)}function H5(e){Ae.flags|=4;var s=Ae.updateQueue;if(s===null)s=cd(),Ae.updateQueue=s,s.events=[e];else{var i=s.events;i===null?s.events=[e]:i.push(e)}}function oy(e){var s=$t().memoizedState;return H5({ref:s,nextImpl:e}),function(){if((tt&2)!==0)throw Error(n(440));return s.impl.apply(void 0,arguments)}}function cy(e,s){return fd(4,2,e,s)}function ly(e,s){return fd(4,4,e,s)}function uy(e,s){if(typeof s=="function"){e=e();var i=s(e);return function(){typeof i=="function"?i():s(null)}}if(s!=null)return e=e(),s.current=e,function(){s.current=null}}function dy(e,s,i){i=i!=null?i.concat([e]):null,fd(4,4,uy.bind(null,s,e),i)}function zh(){}function fy(e,s){var i=$t();s=s===void 0?null:s;var u=i.memoizedState;return s!==null&&jh(s,u[1])?u[0]:(i.memoizedState=[e,s],e)}function py(e,s){var i=$t();s=s===void 0?null:s;var u=i.memoizedState;if(s!==null&&jh(s,u[1]))return u[0];if(u=e(),Ui){Os(!0);try{e()}finally{Os(!1)}}return i.memoizedState=[u,s],u}function Lh(e,s,i){return i===void 0||(or&1073741824)!==0&&(Fe&261930)===0?e.memoizedState=s:(e.memoizedState=i,e=hv(),Ae.lanes|=e,Fr|=e,i)}function hy(e,s,i,u){return pa(i,s)?i:Ho.current!==null?(e=Lh(e,i,u),pa(e,s)||(Jt=!0),e):(or&42)===0||(or&1073741824)!==0&&(Fe&261930)===0?(Jt=!0,e.memoizedState=i):(e=hv(),Ae.lanes|=e,Fr|=e,s)}function my(e,s,i,u,p){var g=F.p;F.p=g!==0&&8>g?g:8;var b=U.T,C={};U.T=C,Bh(e,!1,s,i);try{var z=p(),$=U.S;if($!==null&&$(C,z),z!==null&&typeof z=="object"&&typeof z.then=="function"){var W=O5(z,u);ul(e,s,W,va(e))}else ul(e,s,u,va(e))}catch(te){ul(e,s,{then:function(){},status:"rejected",reason:te},va())}finally{F.p=g,b!==null&&C.types!==null&&(b.types=C.types),U.T=b}}function U5(){}function Hh(e,s,i,u){if(e.tag!==5)throw Error(n(476));var p=gy(e).queue;my(e,p,s,T,i===null?U5:function(){return xy(e),i(u)})}function gy(e){var s=e.memoizedState;if(s!==null)return s;s={memoizedState:T,baseState:T,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cr,lastRenderedState:T},next:null};var i={};return s.next={memoizedState:i,baseState:i,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:cr,lastRenderedState:i},next:null},e.memoizedState=s,e=e.alternate,e!==null&&(e.memoizedState=s),s}function xy(e){var s=gy(e);s.next===null&&(s=e.alternate.memoizedState),ul(e,s.next.queue,{},va())}function Uh(){return gs(El)}function yy(){return $t().memoizedState}function vy(){return $t().memoizedState}function B5(e){for(var s=e.return;s!==null;){switch(s.tag){case 24:case 3:var i=va();e=Yr(i);var u=qr(s,e,i);u!==null&&(ea(u,s,i),rl(u,s,i)),s={cache:hh()},e.payload=s;return}s=s.return}}function Y5(e,s,i){var u=va();i={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null},pd(e)?wy(s,i):(i=ah(e,s,i,u),i!==null&&(ea(i,e,u),Ny(i,s,u)))}function by(e,s,i){var u=va();ul(e,s,i,u)}function ul(e,s,i,u){var p={lane:u,revertLane:0,gesture:null,action:i,hasEagerState:!1,eagerState:null,next:null};if(pd(e))wy(s,p);else{var g=e.alternate;if(e.lanes===0&&(g===null||g.lanes===0)&&(g=s.lastRenderedReducer,g!==null))try{var b=s.lastRenderedState,C=g(b,i);if(p.hasEagerState=!0,p.eagerState=C,pa(C,b))return Fu(e,s,p,0),ft===null&&$u(),!1}catch{}if(i=ah(e,s,p,u),i!==null)return ea(i,e,u),Ny(i,s,u),!0}return!1}function Bh(e,s,i,u){if(u={lane:2,revertLane:ym(),gesture:null,action:u,hasEagerState:!1,eagerState:null,next:null},pd(e)){if(s)throw Error(n(479))}else s=ah(e,i,u,2),s!==null&&ea(s,e,2)}function pd(e){var s=e.alternate;return e===Ae||s!==null&&s===Ae}function wy(e,s){Uo=id=!0;var i=e.pending;i===null?s.next=s:(s.next=i.next,i.next=s),e.pending=s}function Ny(e,s,i){if((i&4194048)!==0){var u=s.lanes;u&=e.pendingLanes,i|=u,s.lanes=i,je(e,i)}}var dl={readContext:gs,use:ld,useCallback:Ht,useContext:Ht,useEffect:Ht,useImperativeHandle:Ht,useLayoutEffect:Ht,useInsertionEffect:Ht,useMemo:Ht,useReducer:Ht,useRef:Ht,useState:Ht,useDebugValue:Ht,useDeferredValue:Ht,useTransition:Ht,useSyncExternalStore:Ht,useId:Ht,useHostTransitionStatus:Ht,useFormState:Ht,useActionState:Ht,useOptimistic:Ht,useMemoCache:Ht,useCacheRefresh:Ht};dl.useEffectEvent=Ht;var Sy={readContext:gs,use:ld,useCallback:function(e,s){return zs().memoizedState=[e,s===void 0?null:s],e},useContext:gs,useEffect:iy,useImperativeHandle:function(e,s,i){i=i!=null?i.concat([e]):null,dd(4194308,4,uy.bind(null,s,e),i)},useLayoutEffect:function(e,s){return dd(4194308,4,e,s)},useInsertionEffect:function(e,s){dd(4,2,e,s)},useMemo:function(e,s){var i=zs();s=s===void 0?null:s;var u=e();if(Ui){Os(!0);try{e()}finally{Os(!1)}}return i.memoizedState=[u,s],u},useReducer:function(e,s,i){var u=zs();if(i!==void 0){var p=i(s);if(Ui){Os(!0);try{i(s)}finally{Os(!1)}}}else p=s;return u.memoizedState=u.baseState=p,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:p},u.queue=e,e=e.dispatch=Y5.bind(null,Ae,e),[u.memoizedState,e]},useRef:function(e){var s=zs();return e={current:e},s.memoizedState=e},useState:function(e){e=Oh(e);var s=e.queue,i=by.bind(null,Ae,s);return s.dispatch=i,[e.memoizedState,i]},useDebugValue:zh,useDeferredValue:function(e,s){var i=zs();return Lh(i,e,s)},useTransition:function(){var e=Oh(!1);return e=my.bind(null,Ae,e.queue,!0,!1),zs().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,s,i){var u=Ae,p=zs();if(Qe){if(i===void 0)throw Error(n(407));i=i()}else{if(i=s(),ft===null)throw Error(n(349));(Fe&127)!==0||I1(u,s,i)}p.memoizedState=i;var g={value:i,getSnapshot:s};return p.queue=g,iy($1.bind(null,u,g,e),[e]),u.flags|=2048,Yo(9,{destroy:void 0},V1.bind(null,u,g,i,s),null),i},useId:function(){var e=zs(),s=ft.identifierPrefix;if(Qe){var i=On,u=Rn;i=(u&~(1<<32-Kt(u)-1)).toString(32)+i,s="_"+s+"R_"+i,i=od++,0<i&&(s+="H"+i.toString(32)),s+="_"}else i=k5++,s="_"+s+"r_"+i.toString(32)+"_";return e.memoizedState=s},useHostTransitionStatus:Uh,useFormState:ty,useActionState:ty,useOptimistic:function(e){var s=zs();s.memoizedState=s.baseState=e;var i={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=i,s=Bh.bind(null,Ae,!0,i),i.dispatch=s,[e,s]},useMemoCache:Dh,useCacheRefresh:function(){return zs().memoizedState=B5.bind(null,Ae)},useEffectEvent:function(e){var s=zs(),i={impl:e};return s.memoizedState=i,function(){if((tt&2)!==0)throw Error(n(440));return i.impl.apply(void 0,arguments)}}},Yh={readContext:gs,use:ld,useCallback:fy,useContext:gs,useEffect:Ph,useImperativeHandle:dy,useInsertionEffect:cy,useLayoutEffect:ly,useMemo:py,useReducer:ud,useRef:ry,useState:function(){return ud(cr)},useDebugValue:zh,useDeferredValue:function(e,s){var i=$t();return hy(i,lt.memoizedState,e,s)},useTransition:function(){var e=ud(cr)[0],s=$t().memoizedState;return[typeof e=="boolean"?e:ll(e),s]},useSyncExternalStore:G1,useId:yy,useHostTransitionStatus:Uh,useFormState:sy,useActionState:sy,useOptimistic:function(e,s){var i=$t();return Q1(i,lt,e,s)},useMemoCache:Dh,useCacheRefresh:vy};Yh.useEffectEvent=oy;var _y={readContext:gs,use:ld,useCallback:fy,useContext:gs,useEffect:Ph,useImperativeHandle:dy,useInsertionEffect:cy,useLayoutEffect:ly,useMemo:py,useReducer:Rh,useRef:ry,useState:function(){return Rh(cr)},useDebugValue:zh,useDeferredValue:function(e,s){var i=$t();return lt===null?Lh(i,e,s):hy(i,lt.memoizedState,e,s)},useTransition:function(){var e=Rh(cr)[0],s=$t().memoizedState;return[typeof e=="boolean"?e:ll(e),s]},useSyncExternalStore:G1,useId:yy,useHostTransitionStatus:Uh,useFormState:ny,useActionState:ny,useOptimistic:function(e,s){var i=$t();return lt!==null?Q1(i,lt,e,s):(i.baseState=e,[e,i.queue.dispatch])},useMemoCache:Dh,useCacheRefresh:vy};_y.useEffectEvent=oy;function qh(e,s,i,u){s=e.memoizedState,i=i(u,s),i=i==null?s:y({},s,i),e.memoizedState=i,e.lanes===0&&(e.updateQueue.baseState=i)}var Gh={enqueueSetState:function(e,s,i){e=e._reactInternals;var u=va(),p=Yr(u);p.payload=s,i!=null&&(p.callback=i),s=qr(e,p,u),s!==null&&(ea(s,e,u),rl(s,e,u))},enqueueReplaceState:function(e,s,i){e=e._reactInternals;var u=va(),p=Yr(u);p.tag=1,p.payload=s,i!=null&&(p.callback=i),s=qr(e,p,u),s!==null&&(ea(s,e,u),rl(s,e,u))},enqueueForceUpdate:function(e,s){e=e._reactInternals;var i=va(),u=Yr(i);u.tag=2,s!=null&&(u.callback=s),s=qr(e,u,i),s!==null&&(ea(s,e,i),rl(s,e,i))}};function jy(e,s,i,u,p,g,b){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(u,g,b):s.prototype&&s.prototype.isPureReactComponent?!Zc(i,u)||!Zc(p,g):!0}function Cy(e,s,i,u){e=s.state,typeof s.componentWillReceiveProps=="function"&&s.componentWillReceiveProps(i,u),typeof s.UNSAFE_componentWillReceiveProps=="function"&&s.UNSAFE_componentWillReceiveProps(i,u),s.state!==e&&Gh.enqueueReplaceState(s,s.state,null)}function Bi(e,s){var i=s;if("ref"in s){i={};for(var u in s)u!=="ref"&&(i[u]=s[u])}if(e=e.defaultProps){i===s&&(i=y({},i));for(var p in e)i[p]===void 0&&(i[p]=e[p])}return i}function Ey(e){Vu(e)}function Ty(e){console.error(e)}function Ay(e){Vu(e)}function hd(e,s){try{var i=e.onUncaughtError;i(s.value,{componentStack:s.stack})}catch(u){setTimeout(function(){throw u})}}function Dy(e,s,i){try{var u=e.onCaughtError;u(i.value,{componentStack:i.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(p){setTimeout(function(){throw p})}}function Ih(e,s,i){return i=Yr(i),i.tag=3,i.payload={element:null},i.callback=function(){hd(e,s)},i}function My(e){return e=Yr(e),e.tag=3,e}function Ry(e,s,i,u){var p=i.type.getDerivedStateFromError;if(typeof p=="function"){var g=u.value;e.payload=function(){return p(g)},e.callback=function(){Dy(s,i,u)}}var b=i.stateNode;b!==null&&typeof b.componentDidCatch=="function"&&(e.callback=function(){Dy(s,i,u),typeof p!="function"&&(Xr===null?Xr=new Set([this]):Xr.add(this));var C=u.stack;this.componentDidCatch(u.value,{componentStack:C!==null?C:""})})}function q5(e,s,i,u,p){if(i.flags|=32768,u!==null&&typeof u=="object"&&typeof u.then=="function"){if(s=i.alternate,s!==null&&Oo(s,i,p,!0),i=ma.current,i!==null){switch(i.tag){case 31:case 13:return Wa===null?Cd():i.alternate===null&&Ut===0&&(Ut=3),i.flags&=-257,i.flags|=65536,i.lanes=p,u===td?i.flags|=16384:(s=i.updateQueue,s===null?i.updateQueue=new Set([u]):s.add(u),mm(e,u,p)),!1;case 22:return i.flags|=65536,u===td?i.flags|=16384:(s=i.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([u])},i.updateQueue=s):(i=s.retryQueue,i===null?s.retryQueue=new Set([u]):i.add(u)),mm(e,u,p)),!1}throw Error(n(435,i.tag))}return mm(e,u,p),Cd(),!1}if(Qe)return s=ma.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=p,u!==lh&&(e=Error(n(422),{cause:u}),el(Xa(e,i)))):(u!==lh&&(s=Error(n(423),{cause:u}),el(Xa(s,i))),e=e.current.alternate,e.flags|=65536,p&=-p,e.lanes|=p,u=Xa(u,i),p=Ih(e.stateNode,u,p),bh(e,p),Ut!==4&&(Ut=2)),!1;var g=Error(n(520),{cause:u});if(g=Xa(g,i),vl===null?vl=[g]:vl.push(g),Ut!==4&&(Ut=2),s===null)return!0;u=Xa(u,i),i=s;do{switch(i.tag){case 3:return i.flags|=65536,e=p&-p,i.lanes|=e,e=Ih(i.stateNode,u,e),bh(i,e),!1;case 1:if(s=i.type,g=i.stateNode,(i.flags&128)===0&&(typeof s.getDerivedStateFromError=="function"||g!==null&&typeof g.componentDidCatch=="function"&&(Xr===null||!Xr.has(g))))return i.flags|=65536,p&=-p,i.lanes|=p,p=My(p),Ry(p,e,i,u),bh(i,p),!1}i=i.return}while(i!==null);return!1}var Vh=Error(n(461)),Jt=!1;function xs(e,s,i,u){s.child=e===null?z1(s,null,i,u):Hi(s,e.child,i,u)}function Oy(e,s,i,u,p){i=i.render;var g=s.ref;if("ref"in u){var b={};for(var C in u)C!=="ref"&&(b[C]=u[C])}else b=u;return ki(s),u=Ch(e,s,i,b,g,p),C=Eh(),e!==null&&!Jt?(Th(e,s,p),lr(e,s,p)):(Qe&&C&&oh(s),s.flags|=1,xs(e,s,u,p),s.child)}function ky(e,s,i,u,p){if(e===null){var g=i.type;return typeof g=="function"&&!nh(g)&&g.defaultProps===void 0&&i.compare===null?(s.tag=15,s.type=g,Py(e,s,g,u,p)):(e=Qu(i.type,null,u,s,s.mode,p),e.ref=s.ref,e.return=s,s.child=e)}if(g=e.child,!Jh(e,p)){var b=g.memoizedProps;if(i=i.compare,i=i!==null?i:Zc,i(b,u)&&e.ref===s.ref)return lr(e,s,p)}return s.flags|=1,e=ar(g,u),e.ref=s.ref,e.return=s,s.child=e}function Py(e,s,i,u,p){if(e!==null){var g=e.memoizedProps;if(Zc(g,u)&&e.ref===s.ref)if(Jt=!1,s.pendingProps=u=g,Jh(e,p))(e.flags&131072)!==0&&(Jt=!0);else return s.lanes=e.lanes,lr(e,s,p)}return $h(e,s,i,u,p)}function zy(e,s,i,u){var p=u.children,g=e!==null?e.memoizedState:null;if(e===null&&s.stateNode===null&&(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),u.mode==="hidden"){if((s.flags&128)!==0){if(g=g!==null?g.baseLanes|i:i,e!==null){for(u=s.child=e.child,p=0;u!==null;)p=p|u.lanes|u.childLanes,u=u.sibling;u=p&~g}else u=0,s.child=null;return Ly(e,s,g,i,u)}if((i&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},e!==null&&Ju(s,g!==null?g.cachePool:null),g!==null?U1(s,g):Nh(),B1(s);else return u=s.lanes=536870912,Ly(e,s,g!==null?g.baseLanes|i:i,i,u)}else g!==null?(Ju(s,g.cachePool),U1(s,g),Ir(),s.memoizedState=null):(e!==null&&Ju(s,null),Nh(),Ir());return xs(e,s,p,i),s.child}function fl(e,s){return e!==null&&e.tag===22||s.stateNode!==null||(s.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),s.sibling}function Ly(e,s,i,u,p){var g=gh();return g=g===null?null:{parent:Zt._currentValue,pool:g},s.memoizedState={baseLanes:i,cachePool:g},e!==null&&Ju(s,null),Nh(),B1(s),e!==null&&Oo(e,s,u,!0),s.childLanes=p,null}function md(e,s){return s=xd({mode:s.mode,children:s.children},e.mode),s.ref=e.ref,e.child=s,s.return=e,s}function Hy(e,s,i){return Hi(s,e.child,null,i),e=md(s,s.pendingProps),e.flags|=2,ga(s),s.memoizedState=null,e}function G5(e,s,i){var u=s.pendingProps,p=(s.flags&128)!==0;if(s.flags&=-129,e===null){if(Qe){if(u.mode==="hidden")return e=md(s,u),s.lanes=536870912,fl(null,e);if(_h(s),(e=wt)?(e=Kv(e,Za),e=e!==null&&e.data==="&"?e:null,e!==null&&(s.memoizedState={dehydrated:e,treeContext:zr!==null?{id:Rn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},i=w1(e),i.return=s,s.child=i,ms=s,wt=null)):e=null,e===null)throw Hr(s);return s.lanes=536870912,null}return md(s,u)}var g=e.memoizedState;if(g!==null){var b=g.dehydrated;if(_h(s),p)if(s.flags&256)s.flags&=-257,s=Hy(e,s,i);else if(s.memoizedState!==null)s.child=e.child,s.flags|=128,s=null;else throw Error(n(558));else if(Jt||Oo(e,s,i,!1),p=(i&e.childLanes)!==0,Jt||p){if(u=ft,u!==null&&(b=be(u,i),b!==0&&b!==g.retryLane))throw g.retryLane=b,Di(e,b),ea(u,e,b),Vh;Cd(),s=Hy(e,s,i)}else e=g.treeContext,wt=Ja(b.nextSibling),ms=s,Qe=!0,Lr=null,Za=!1,e!==null&&_1(s,e),s=md(s,u),s.flags|=4096;return s}return e=ar(e.child,{mode:u.mode,children:u.children}),e.ref=s.ref,s.child=e,e.return=s,e}function gd(e,s){var i=s.ref;if(i===null)e!==null&&e.ref!==null&&(s.flags|=4194816);else{if(typeof i!="function"&&typeof i!="object")throw Error(n(284));(e===null||e.ref!==i)&&(s.flags|=4194816)}}function $h(e,s,i,u,p){return ki(s),i=Ch(e,s,i,u,void 0,p),u=Eh(),e!==null&&!Jt?(Th(e,s,p),lr(e,s,p)):(Qe&&u&&oh(s),s.flags|=1,xs(e,s,i,p),s.child)}function Uy(e,s,i,u,p,g){return ki(s),s.updateQueue=null,i=q1(s,u,i,p),Y1(e),u=Eh(),e!==null&&!Jt?(Th(e,s,g),lr(e,s,g)):(Qe&&u&&oh(s),s.flags|=1,xs(e,s,i,g),s.child)}function By(e,s,i,u,p){if(ki(s),s.stateNode===null){var g=Ao,b=i.contextType;typeof b=="object"&&b!==null&&(g=gs(b)),g=new i(u,g),s.memoizedState=g.state!==null&&g.state!==void 0?g.state:null,g.updater=Gh,s.stateNode=g,g._reactInternals=s,g=s.stateNode,g.props=u,g.state=s.memoizedState,g.refs={},yh(s),b=i.contextType,g.context=typeof b=="object"&&b!==null?gs(b):Ao,g.state=s.memoizedState,b=i.getDerivedStateFromProps,typeof b=="function"&&(qh(s,i,b,u),g.state=s.memoizedState),typeof i.getDerivedStateFromProps=="function"||typeof g.getSnapshotBeforeUpdate=="function"||typeof g.UNSAFE_componentWillMount!="function"&&typeof g.componentWillMount!="function"||(b=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),b!==g.state&&Gh.enqueueReplaceState(g,g.state,null),ol(s,u,g,p),il(),g.state=s.memoizedState),typeof g.componentDidMount=="function"&&(s.flags|=4194308),u=!0}else if(e===null){g=s.stateNode;var C=s.memoizedProps,z=Bi(i,C);g.props=z;var $=g.context,W=i.contextType;b=Ao,typeof W=="object"&&W!==null&&(b=gs(W));var te=i.getDerivedStateFromProps;W=typeof te=="function"||typeof g.getSnapshotBeforeUpdate=="function",C=s.pendingProps!==C,W||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(C||$!==b)&&Cy(s,g,u,b),Br=!1;var X=s.memoizedState;g.state=X,ol(s,u,g,p),il(),$=s.memoizedState,C||X!==$||Br?(typeof te=="function"&&(qh(s,i,te,u),$=s.memoizedState),(z=Br||jy(s,i,z,u,X,$,b))?(W||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"&&(s.flags|=4194308)):(typeof g.componentDidMount=="function"&&(s.flags|=4194308),s.memoizedProps=u,s.memoizedState=$),g.props=u,g.state=$,g.context=b,u=z):(typeof g.componentDidMount=="function"&&(s.flags|=4194308),u=!1)}else{g=s.stateNode,vh(e,s),b=s.memoizedProps,W=Bi(i,b),g.props=W,te=s.pendingProps,X=g.context,$=i.contextType,z=Ao,typeof $=="object"&&$!==null&&(z=gs($)),C=i.getDerivedStateFromProps,($=typeof C=="function"||typeof g.getSnapshotBeforeUpdate=="function")||typeof g.UNSAFE_componentWillReceiveProps!="function"&&typeof g.componentWillReceiveProps!="function"||(b!==te||X!==z)&&Cy(s,g,u,z),Br=!1,X=s.memoizedState,g.state=X,ol(s,u,g,p),il();var Q=s.memoizedState;b!==te||X!==Q||Br||e!==null&&e.dependencies!==null&&Zu(e.dependencies)?(typeof C=="function"&&(qh(s,i,C,u),Q=s.memoizedState),(W=Br||jy(s,i,W,u,X,Q,z)||e!==null&&e.dependencies!==null&&Zu(e.dependencies))?($||typeof g.UNSAFE_componentWillUpdate!="function"&&typeof g.componentWillUpdate!="function"||(typeof g.componentWillUpdate=="function"&&g.componentWillUpdate(u,Q,z),typeof g.UNSAFE_componentWillUpdate=="function"&&g.UNSAFE_componentWillUpdate(u,Q,z)),typeof g.componentDidUpdate=="function"&&(s.flags|=4),typeof g.getSnapshotBeforeUpdate=="function"&&(s.flags|=1024)):(typeof g.componentDidUpdate!="function"||b===e.memoizedProps&&X===e.memoizedState||(s.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&X===e.memoizedState||(s.flags|=1024),s.memoizedProps=u,s.memoizedState=Q),g.props=u,g.state=Q,g.context=z,u=W):(typeof g.componentDidUpdate!="function"||b===e.memoizedProps&&X===e.memoizedState||(s.flags|=4),typeof g.getSnapshotBeforeUpdate!="function"||b===e.memoizedProps&&X===e.memoizedState||(s.flags|=1024),u=!1)}return g=u,gd(e,s),u=(s.flags&128)!==0,g||u?(g=s.stateNode,i=u&&typeof i.getDerivedStateFromError!="function"?null:g.render(),s.flags|=1,e!==null&&u?(s.child=Hi(s,e.child,null,p),s.child=Hi(s,null,i,p)):xs(e,s,i,p),s.memoizedState=g.state,e=s.child):e=lr(e,s,p),e}function Yy(e,s,i,u){return Ri(),s.flags|=256,xs(e,s,i,u),s.child}var Fh={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Xh(e){return{baseLanes:e,cachePool:D1()}}function Qh(e,s,i){return e=e!==null?e.childLanes&~i:0,s&&(e|=ya),e}function qy(e,s,i){var u=s.pendingProps,p=!1,g=(s.flags&128)!==0,b;if((b=g)||(b=e!==null&&e.memoizedState===null?!1:(Vt.current&2)!==0),b&&(p=!0,s.flags&=-129),b=(s.flags&32)!==0,s.flags&=-33,e===null){if(Qe){if(p?Gr(s):Ir(),(e=wt)?(e=Kv(e,Za),e=e!==null&&e.data!=="&"?e:null,e!==null&&(s.memoizedState={dehydrated:e,treeContext:zr!==null?{id:Rn,overflow:On}:null,retryLane:536870912,hydrationErrors:null},i=w1(e),i.return=s,s.child=i,ms=s,wt=null)):e=null,e===null)throw Hr(s);return Mm(e)?s.lanes=32:s.lanes=536870912,null}var C=u.children;return u=u.fallback,p?(Ir(),p=s.mode,C=xd({mode:"hidden",children:C},p),u=Mi(u,p,i,null),C.return=s,u.return=s,C.sibling=u,s.child=C,u=s.child,u.memoizedState=Xh(i),u.childLanes=Qh(e,b,i),s.memoizedState=Fh,fl(null,u)):(Gr(s),Kh(s,C))}var z=e.memoizedState;if(z!==null&&(C=z.dehydrated,C!==null)){if(g)s.flags&256?(Gr(s),s.flags&=-257,s=Zh(e,s,i)):s.memoizedState!==null?(Ir(),s.child=e.child,s.flags|=128,s=null):(Ir(),C=u.fallback,p=s.mode,u=xd({mode:"visible",children:u.children},p),C=Mi(C,p,i,null),C.flags|=2,u.return=s,C.return=s,u.sibling=C,s.child=u,Hi(s,e.child,null,i),u=s.child,u.memoizedState=Xh(i),u.childLanes=Qh(e,b,i),s.memoizedState=Fh,s=fl(null,u));else if(Gr(s),Mm(C)){if(b=C.nextSibling&&C.nextSibling.dataset,b)var $=b.dgst;b=$,u=Error(n(419)),u.stack="",u.digest=b,el({value:u,source:null,stack:null}),s=Zh(e,s,i)}else if(Jt||Oo(e,s,i,!1),b=(i&e.childLanes)!==0,Jt||b){if(b=ft,b!==null&&(u=be(b,i),u!==0&&u!==z.retryLane))throw z.retryLane=u,Di(e,u),ea(b,e,u),Vh;Dm(C)||Cd(),s=Zh(e,s,i)}else Dm(C)?(s.flags|=192,s.child=e.child,s=null):(e=z.treeContext,wt=Ja(C.nextSibling),ms=s,Qe=!0,Lr=null,Za=!1,e!==null&&_1(s,e),s=Kh(s,u.children),s.flags|=4096);return s}return p?(Ir(),C=u.fallback,p=s.mode,z=e.child,$=z.sibling,u=ar(z,{mode:"hidden",children:u.children}),u.subtreeFlags=z.subtreeFlags&65011712,$!==null?C=ar($,C):(C=Mi(C,p,i,null),C.flags|=2),C.return=s,u.return=s,u.sibling=C,s.child=u,fl(null,u),u=s.child,C=e.child.memoizedState,C===null?C=Xh(i):(p=C.cachePool,p!==null?(z=Zt._currentValue,p=p.parent!==z?{parent:z,pool:z}:p):p=D1(),C={baseLanes:C.baseLanes|i,cachePool:p}),u.memoizedState=C,u.childLanes=Qh(e,b,i),s.memoizedState=Fh,fl(e.child,u)):(Gr(s),i=e.child,e=i.sibling,i=ar(i,{mode:"visible",children:u.children}),i.return=s,i.sibling=null,e!==null&&(b=s.deletions,b===null?(s.deletions=[e],s.flags|=16):b.push(e)),s.child=i,s.memoizedState=null,i)}function Kh(e,s){return s=xd({mode:"visible",children:s},e.mode),s.return=e,e.child=s}function xd(e,s){return e=ha(22,e,null,s),e.lanes=0,e}function Zh(e,s,i){return Hi(s,e.child,null,i),e=Kh(s,s.pendingProps.children),e.flags|=2,s.memoizedState=null,e}function Gy(e,s,i){e.lanes|=s;var u=e.alternate;u!==null&&(u.lanes|=s),fh(e.return,s,i)}function Wh(e,s,i,u,p,g){var b=e.memoizedState;b===null?e.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:u,tail:i,tailMode:p,treeForkCount:g}:(b.isBackwards=s,b.rendering=null,b.renderingStartTime=0,b.last=u,b.tail=i,b.tailMode=p,b.treeForkCount=g)}function Iy(e,s,i){var u=s.pendingProps,p=u.revealOrder,g=u.tail;u=u.children;var b=Vt.current,C=(b&2)!==0;if(C?(b=b&1|2,s.flags|=128):b&=1,se(Vt,b),xs(e,s,u,i),u=Qe?Jc:0,!C&&e!==null&&(e.flags&128)!==0)e:for(e=s.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Gy(e,i,s);else if(e.tag===19)Gy(e,i,s);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===s)break e;for(;e.sibling===null;){if(e.return===null||e.return===s)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(p){case"forwards":for(i=s.child,p=null;i!==null;)e=i.alternate,e!==null&&rd(e)===null&&(p=i),i=i.sibling;i=p,i===null?(p=s.child,s.child=null):(p=i.sibling,i.sibling=null),Wh(s,!1,p,i,g,u);break;case"backwards":case"unstable_legacy-backwards":for(i=null,p=s.child,s.child=null;p!==null;){if(e=p.alternate,e!==null&&rd(e)===null){s.child=p;break}e=p.sibling,p.sibling=i,i=p,p=e}Wh(s,!0,i,null,g,u);break;case"together":Wh(s,!1,null,null,void 0,u);break;default:s.memoizedState=null}return s.child}function lr(e,s,i){if(e!==null&&(s.dependencies=e.dependencies),Fr|=s.lanes,(i&s.childLanes)===0)if(e!==null){if(Oo(e,s,i,!1),(i&s.childLanes)===0)return null}else return null;if(e!==null&&s.child!==e.child)throw Error(n(153));if(s.child!==null){for(e=s.child,i=ar(e,e.pendingProps),s.child=i,i.return=s;e.sibling!==null;)e=e.sibling,i=i.sibling=ar(e,e.pendingProps),i.return=s;i.sibling=null}return s.child}function Jh(e,s){return(e.lanes&s)!==0?!0:(e=e.dependencies,!!(e!==null&&Zu(e)))}function I5(e,s,i){switch(s.tag){case 3:ke(s,s.stateNode.containerInfo),Ur(s,Zt,e.memoizedState.cache),Ri();break;case 27:case 5:qt(s);break;case 4:ke(s,s.stateNode.containerInfo);break;case 10:Ur(s,s.type,s.memoizedProps.value);break;case 31:if(s.memoizedState!==null)return s.flags|=128,_h(s),null;break;case 13:var u=s.memoizedState;if(u!==null)return u.dehydrated!==null?(Gr(s),s.flags|=128,null):(i&s.child.childLanes)!==0?qy(e,s,i):(Gr(s),e=lr(e,s,i),e!==null?e.sibling:null);Gr(s);break;case 19:var p=(e.flags&128)!==0;if(u=(i&s.childLanes)!==0,u||(Oo(e,s,i,!1),u=(i&s.childLanes)!==0),p){if(u)return Iy(e,s,i);s.flags|=128}if(p=s.memoizedState,p!==null&&(p.rendering=null,p.tail=null,p.lastEffect=null),se(Vt,Vt.current),u)break;return null;case 22:return s.lanes=0,zy(e,s,i,s.pendingProps);case 24:Ur(s,Zt,e.memoizedState.cache)}return lr(e,s,i)}function Vy(e,s,i){if(e!==null)if(e.memoizedProps!==s.pendingProps)Jt=!0;else{if(!Jh(e,i)&&(s.flags&128)===0)return Jt=!1,I5(e,s,i);Jt=(e.flags&131072)!==0}else Jt=!1,Qe&&(s.flags&1048576)!==0&&S1(s,Jc,s.index);switch(s.lanes=0,s.tag){case 16:e:{var u=s.pendingProps;if(e=zi(s.elementType),s.type=e,typeof e=="function")nh(e)?(u=Bi(e,u),s.tag=1,s=By(null,s,e,u,i)):(s.tag=0,s=$h(null,s,e,u,i));else{if(e!=null){var p=e.$$typeof;if(p===k){s.tag=11,s=Oy(null,s,e,u,i);break e}else if(p===P){s.tag=14,s=ky(null,s,e,u,i);break e}}throw s=oe(e)||e,Error(n(306,s,""))}}return s;case 0:return $h(e,s,s.type,s.pendingProps,i);case 1:return u=s.type,p=Bi(u,s.pendingProps),By(e,s,u,p,i);case 3:e:{if(ke(s,s.stateNode.containerInfo),e===null)throw Error(n(387));u=s.pendingProps;var g=s.memoizedState;p=g.element,vh(e,s),ol(s,u,null,i);var b=s.memoizedState;if(u=b.cache,Ur(s,Zt,u),u!==g.cache&&ph(s,[Zt],i,!0),il(),u=b.element,g.isDehydrated)if(g={element:u,isDehydrated:!1,cache:b.cache},s.updateQueue.baseState=g,s.memoizedState=g,s.flags&256){s=Yy(e,s,u,i);break e}else if(u!==p){p=Xa(Error(n(424)),s),el(p),s=Yy(e,s,u,i);break e}else for(e=s.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,wt=Ja(e.firstChild),ms=s,Qe=!0,Lr=null,Za=!0,i=z1(s,null,u,i),s.child=i;i;)i.flags=i.flags&-3|4096,i=i.sibling;else{if(Ri(),u===p){s=lr(e,s,i);break e}xs(e,s,u,i)}s=s.child}return s;case 26:return gd(e,s),e===null?(i=sb(s.type,null,s.pendingProps,null))?s.memoizedState=i:Qe||(i=s.type,e=s.pendingProps,u=Od(pe.current).createElement(i),u[Pe]=s,u[Le]=e,ys(u,i,e),Ye(u),s.stateNode=u):s.memoizedState=sb(s.type,e.memoizedProps,s.pendingProps,e.memoizedState),null;case 27:return qt(s),e===null&&Qe&&(u=s.stateNode=Jv(s.type,s.pendingProps,pe.current),ms=s,Za=!0,p=wt,Wr(s.type)?(Rm=p,wt=Ja(u.firstChild)):wt=p),xs(e,s,s.pendingProps.children,i),gd(e,s),e===null&&(s.flags|=4194304),s.child;case 5:return e===null&&Qe&&((p=u=wt)&&(u=b4(u,s.type,s.pendingProps,Za),u!==null?(s.stateNode=u,ms=s,wt=Ja(u.firstChild),Za=!1,p=!0):p=!1),p||Hr(s)),qt(s),p=s.type,g=s.pendingProps,b=e!==null?e.memoizedProps:null,u=g.children,Em(p,g)?u=null:b!==null&&Em(p,b)&&(s.flags|=32),s.memoizedState!==null&&(p=Ch(e,s,P5,null,null,i),El._currentValue=p),gd(e,s),xs(e,s,u,i),s.child;case 6:return e===null&&Qe&&((e=i=wt)&&(i=w4(i,s.pendingProps,Za),i!==null?(s.stateNode=i,ms=s,wt=null,e=!0):e=!1),e||Hr(s)),null;case 13:return qy(e,s,i);case 4:return ke(s,s.stateNode.containerInfo),u=s.pendingProps,e===null?s.child=Hi(s,null,u,i):xs(e,s,u,i),s.child;case 11:return Oy(e,s,s.type,s.pendingProps,i);case 7:return xs(e,s,s.pendingProps,i),s.child;case 8:return xs(e,s,s.pendingProps.children,i),s.child;case 12:return xs(e,s,s.pendingProps.children,i),s.child;case 10:return u=s.pendingProps,Ur(s,s.type,u.value),xs(e,s,u.children,i),s.child;case 9:return p=s.type._context,u=s.pendingProps.children,ki(s),p=gs(p),u=u(p),s.flags|=1,xs(e,s,u,i),s.child;case 14:return ky(e,s,s.type,s.pendingProps,i);case 15:return Py(e,s,s.type,s.pendingProps,i);case 19:return Iy(e,s,i);case 31:return G5(e,s,i);case 22:return zy(e,s,i,s.pendingProps);case 24:return ki(s),u=gs(Zt),e===null?(p=gh(),p===null&&(p=ft,g=hh(),p.pooledCache=g,g.refCount++,g!==null&&(p.pooledCacheLanes|=i),p=g),s.memoizedState={parent:u,cache:p},yh(s),Ur(s,Zt,p)):((e.lanes&i)!==0&&(vh(e,s),ol(s,null,null,i),il()),p=e.memoizedState,g=s.memoizedState,p.parent!==u?(p={parent:u,cache:u},s.memoizedState=p,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=p),Ur(s,Zt,u)):(u=g.cache,Ur(s,Zt,u),u!==p.cache&&ph(s,[Zt],i,!0))),xs(e,s,s.pendingProps.children,i),s.child;case 29:throw s.pendingProps}throw Error(n(156,s.tag))}function ur(e){e.flags|=4}function em(e,s,i,u,p){if((s=(e.mode&32)!==0)&&(s=!1),s){if(e.flags|=16777216,(p&335544128)===p)if(e.stateNode.complete)e.flags|=8192;else if(yv())e.flags|=8192;else throw Li=td,xh}else e.flags&=-16777217}function $y(e,s){if(s.type!=="stylesheet"||(s.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!ob(s))if(yv())e.flags|=8192;else throw Li=td,xh}function yd(e,s){s!==null&&(e.flags|=4),e.flags&16384&&(s=e.tag!==22?Or():536870912,e.lanes|=s,Vo|=s)}function pl(e,s){if(!Qe)switch(e.tailMode){case"hidden":s=e.tail;for(var i=null;s!==null;)s.alternate!==null&&(i=s),s=s.sibling;i===null?e.tail=null:i.sibling=null;break;case"collapsed":i=e.tail;for(var u=null;i!==null;)i.alternate!==null&&(u=i),i=i.sibling;u===null?s||e.tail===null?e.tail=null:e.tail.sibling=null:u.sibling=null}}function Nt(e){var s=e.alternate!==null&&e.alternate.child===e.child,i=0,u=0;if(s)for(var p=e.child;p!==null;)i|=p.lanes|p.childLanes,u|=p.subtreeFlags&65011712,u|=p.flags&65011712,p.return=e,p=p.sibling;else for(p=e.child;p!==null;)i|=p.lanes|p.childLanes,u|=p.subtreeFlags,u|=p.flags,p.return=e,p=p.sibling;return e.subtreeFlags|=u,e.childLanes=i,s}function V5(e,s,i){var u=s.pendingProps;switch(ch(s),s.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Nt(s),null;case 1:return Nt(s),null;case 3:return i=s.stateNode,u=null,e!==null&&(u=e.memoizedState.cache),s.memoizedState.cache!==u&&(s.flags|=2048),ir(Zt),Ee(),i.pendingContext&&(i.context=i.pendingContext,i.pendingContext=null),(e===null||e.child===null)&&(Ro(s)?ur(s):e===null||e.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,uh())),Nt(s),null;case 26:var p=s.type,g=s.memoizedState;return e===null?(ur(s),g!==null?(Nt(s),$y(s,g)):(Nt(s),em(s,p,null,u,i))):g?g!==e.memoizedState?(ur(s),Nt(s),$y(s,g)):(Nt(s),s.flags&=-16777217):(e=e.memoizedProps,e!==u&&ur(s),Nt(s),em(s,p,e,u,i)),null;case 27:if(mt(s),i=pe.current,p=s.type,e!==null&&s.stateNode!=null)e.memoizedProps!==u&&ur(s);else{if(!u){if(s.stateNode===null)throw Error(n(166));return Nt(s),null}e=ae.current,Ro(s)?j1(s):(e=Jv(p,u,i),s.stateNode=e,ur(s))}return Nt(s),null;case 5:if(mt(s),p=s.type,e!==null&&s.stateNode!=null)e.memoizedProps!==u&&ur(s);else{if(!u){if(s.stateNode===null)throw Error(n(166));return Nt(s),null}if(g=ae.current,Ro(s))j1(s);else{var b=Od(pe.current);switch(g){case 1:g=b.createElementNS("http://www.w3.org/2000/svg",p);break;case 2:g=b.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;default:switch(p){case"svg":g=b.createElementNS("http://www.w3.org/2000/svg",p);break;case"math":g=b.createElementNS("http://www.w3.org/1998/Math/MathML",p);break;case"script":g=b.createElement("div"),g.innerHTML="<script><\/script>",g=g.removeChild(g.firstChild);break;case"select":g=typeof u.is=="string"?b.createElement("select",{is:u.is}):b.createElement("select"),u.multiple?g.multiple=!0:u.size&&(g.size=u.size);break;default:g=typeof u.is=="string"?b.createElement(p,{is:u.is}):b.createElement(p)}}g[Pe]=s,g[Le]=u;e:for(b=s.child;b!==null;){if(b.tag===5||b.tag===6)g.appendChild(b.stateNode);else if(b.tag!==4&&b.tag!==27&&b.child!==null){b.child.return=b,b=b.child;continue}if(b===s)break e;for(;b.sibling===null;){if(b.return===null||b.return===s)break e;b=b.return}b.sibling.return=b.return,b=b.sibling}s.stateNode=g;e:switch(ys(g,p,u),p){case"button":case"input":case"select":case"textarea":u=!!u.autoFocus;break e;case"img":u=!0;break e;default:u=!1}u&&ur(s)}}return Nt(s),em(s,s.type,e===null?null:e.memoizedProps,s.pendingProps,i),null;case 6:if(e&&s.stateNode!=null)e.memoizedProps!==u&&ur(s);else{if(typeof u!="string"&&s.stateNode===null)throw Error(n(166));if(e=pe.current,Ro(s)){if(e=s.stateNode,i=s.memoizedProps,u=null,p=ms,p!==null)switch(p.tag){case 27:case 5:u=p.memoizedProps}e[Pe]=s,e=!!(e.nodeValue===i||u!==null&&u.suppressHydrationWarning===!0||qv(e.nodeValue,i)),e||Hr(s,!0)}else e=Od(e).createTextNode(u),e[Pe]=s,s.stateNode=e}return Nt(s),null;case 31:if(i=s.memoizedState,e===null||e.memoizedState!==null){if(u=Ro(s),i!==null){if(e===null){if(!u)throw Error(n(318));if(e=s.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(n(557));e[Pe]=s}else Ri(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Nt(s),e=!1}else i=uh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=i),e=!0;if(!e)return s.flags&256?(ga(s),s):(ga(s),null);if((s.flags&128)!==0)throw Error(n(558))}return Nt(s),null;case 13:if(u=s.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(p=Ro(s),u!==null&&u.dehydrated!==null){if(e===null){if(!p)throw Error(n(318));if(p=s.memoizedState,p=p!==null?p.dehydrated:null,!p)throw Error(n(317));p[Pe]=s}else Ri(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;Nt(s),p=!1}else p=uh(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=p),p=!0;if(!p)return s.flags&256?(ga(s),s):(ga(s),null)}return ga(s),(s.flags&128)!==0?(s.lanes=i,s):(i=u!==null,e=e!==null&&e.memoizedState!==null,i&&(u=s.child,p=null,u.alternate!==null&&u.alternate.memoizedState!==null&&u.alternate.memoizedState.cachePool!==null&&(p=u.alternate.memoizedState.cachePool.pool),g=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(g=u.memoizedState.cachePool.pool),g!==p&&(u.flags|=2048)),i!==e&&i&&(s.child.flags|=8192),yd(s,s.updateQueue),Nt(s),null);case 4:return Ee(),e===null&&Nm(s.stateNode.containerInfo),Nt(s),null;case 10:return ir(s.type),Nt(s),null;case 19:if(G(Vt),u=s.memoizedState,u===null)return Nt(s),null;if(p=(s.flags&128)!==0,g=u.rendering,g===null)if(p)pl(u,!1);else{if(Ut!==0||e!==null&&(e.flags&128)!==0)for(e=s.child;e!==null;){if(g=rd(e),g!==null){for(s.flags|=128,pl(u,!1),e=g.updateQueue,s.updateQueue=e,yd(s,e),s.subtreeFlags=0,e=i,i=s.child;i!==null;)b1(i,e),i=i.sibling;return se(Vt,Vt.current&1|2),Qe&&nr(s,u.treeForkCount),s.child}e=e.sibling}u.tail!==null&&Gt()>Sd&&(s.flags|=128,p=!0,pl(u,!1),s.lanes=4194304)}else{if(!p)if(e=rd(g),e!==null){if(s.flags|=128,p=!0,e=e.updateQueue,s.updateQueue=e,yd(s,e),pl(u,!0),u.tail===null&&u.tailMode==="hidden"&&!g.alternate&&!Qe)return Nt(s),null}else 2*Gt()-u.renderingStartTime>Sd&&i!==536870912&&(s.flags|=128,p=!0,pl(u,!1),s.lanes=4194304);u.isBackwards?(g.sibling=s.child,s.child=g):(e=u.last,e!==null?e.sibling=g:s.child=g,u.last=g)}return u.tail!==null?(e=u.tail,u.rendering=e,u.tail=e.sibling,u.renderingStartTime=Gt(),e.sibling=null,i=Vt.current,se(Vt,p?i&1|2:i&1),Qe&&nr(s,u.treeForkCount),e):(Nt(s),null);case 22:case 23:return ga(s),Sh(),u=s.memoizedState!==null,e!==null?e.memoizedState!==null!==u&&(s.flags|=8192):u&&(s.flags|=8192),u?(i&536870912)!==0&&(s.flags&128)===0&&(Nt(s),s.subtreeFlags&6&&(s.flags|=8192)):Nt(s),i=s.updateQueue,i!==null&&yd(s,i.retryQueue),i=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),u=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(u=s.memoizedState.cachePool.pool),u!==i&&(s.flags|=2048),e!==null&&G(Pi),null;case 24:return i=null,e!==null&&(i=e.memoizedState.cache),s.memoizedState.cache!==i&&(s.flags|=2048),ir(Zt),Nt(s),null;case 25:return null;case 30:return null}throw Error(n(156,s.tag))}function $5(e,s){switch(ch(s),s.tag){case 1:return e=s.flags,e&65536?(s.flags=e&-65537|128,s):null;case 3:return ir(Zt),Ee(),e=s.flags,(e&65536)!==0&&(e&128)===0?(s.flags=e&-65537|128,s):null;case 26:case 27:case 5:return mt(s),null;case 31:if(s.memoizedState!==null){if(ga(s),s.alternate===null)throw Error(n(340));Ri()}return e=s.flags,e&65536?(s.flags=e&-65537|128,s):null;case 13:if(ga(s),e=s.memoizedState,e!==null&&e.dehydrated!==null){if(s.alternate===null)throw Error(n(340));Ri()}return e=s.flags,e&65536?(s.flags=e&-65537|128,s):null;case 19:return G(Vt),null;case 4:return Ee(),null;case 10:return ir(s.type),null;case 22:case 23:return ga(s),Sh(),e!==null&&G(Pi),e=s.flags,e&65536?(s.flags=e&-65537|128,s):null;case 24:return ir(Zt),null;case 25:return null;default:return null}}function Fy(e,s){switch(ch(s),s.tag){case 3:ir(Zt),Ee();break;case 26:case 27:case 5:mt(s);break;case 4:Ee();break;case 31:s.memoizedState!==null&&ga(s);break;case 13:ga(s);break;case 19:G(Vt);break;case 10:ir(s.type);break;case 22:case 23:ga(s),Sh(),e!==null&&G(Pi);break;case 24:ir(Zt)}}function hl(e,s){try{var i=s.updateQueue,u=i!==null?i.lastEffect:null;if(u!==null){var p=u.next;i=p;do{if((i.tag&e)===e){u=void 0;var g=i.create,b=i.inst;u=g(),b.destroy=u}i=i.next}while(i!==p)}}catch(C){ot(s,s.return,C)}}function Vr(e,s,i){try{var u=s.updateQueue,p=u!==null?u.lastEffect:null;if(p!==null){var g=p.next;u=g;do{if((u.tag&e)===e){var b=u.inst,C=b.destroy;if(C!==void 0){b.destroy=void 0,p=s;var z=i,$=C;try{$()}catch(W){ot(p,z,W)}}}u=u.next}while(u!==g)}}catch(W){ot(s,s.return,W)}}function Xy(e){var s=e.updateQueue;if(s!==null){var i=e.stateNode;try{H1(s,i)}catch(u){ot(e,e.return,u)}}}function Qy(e,s,i){i.props=Bi(e.type,e.memoizedProps),i.state=e.memoizedState;try{i.componentWillUnmount()}catch(u){ot(e,s,u)}}function ml(e,s){try{var i=e.ref;if(i!==null){switch(e.tag){case 26:case 27:case 5:var u=e.stateNode;break;case 30:u=e.stateNode;break;default:u=e.stateNode}typeof i=="function"?e.refCleanup=i(u):i.current=u}}catch(p){ot(e,s,p)}}function kn(e,s){var i=e.ref,u=e.refCleanup;if(i!==null)if(typeof u=="function")try{u()}catch(p){ot(e,s,p)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof i=="function")try{i(null)}catch(p){ot(e,s,p)}else i.current=null}function Ky(e){var s=e.type,i=e.memoizedProps,u=e.stateNode;try{e:switch(s){case"button":case"input":case"select":case"textarea":i.autoFocus&&u.focus();break e;case"img":i.src?u.src=i.src:i.srcSet&&(u.srcset=i.srcSet)}}catch(p){ot(e,e.return,p)}}function tm(e,s,i){try{var u=e.stateNode;h4(u,e.type,i,s),u[Le]=s}catch(p){ot(e,e.return,p)}}function Zy(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&Wr(e.type)||e.tag===4}function sm(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Zy(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.tag===27&&Wr(e.type)||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 am(e,s,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,s?(i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i).insertBefore(e,s):(s=i.nodeType===9?i.body:i.nodeName==="HTML"?i.ownerDocument.body:i,s.appendChild(e),i=i._reactRootContainer,i!=null||s.onclick!==null||(s.onclick=tr));else if(u!==4&&(u===27&&Wr(e.type)&&(i=e.stateNode,s=null),e=e.child,e!==null))for(am(e,s,i),e=e.sibling;e!==null;)am(e,s,i),e=e.sibling}function vd(e,s,i){var u=e.tag;if(u===5||u===6)e=e.stateNode,s?i.insertBefore(e,s):i.appendChild(e);else if(u!==4&&(u===27&&Wr(e.type)&&(i=e.stateNode),e=e.child,e!==null))for(vd(e,s,i),e=e.sibling;e!==null;)vd(e,s,i),e=e.sibling}function Wy(e){var s=e.stateNode,i=e.memoizedProps;try{for(var u=e.type,p=s.attributes;p.length;)s.removeAttributeNode(p[0]);ys(s,u,i),s[Pe]=e,s[Le]=i}catch(g){ot(e,e.return,g)}}var dr=!1,es=!1,nm=!1,Jy=typeof WeakSet=="function"?WeakSet:Set,us=null;function F5(e,s){if(e=e.containerInfo,jm=Bd,e=d1(e),Zp(e)){if("selectionStart"in e)var i={start:e.selectionStart,end:e.selectionEnd};else e:{i=(i=e.ownerDocument)&&i.defaultView||window;var u=i.getSelection&&i.getSelection();if(u&&u.rangeCount!==0){i=u.anchorNode;var p=u.anchorOffset,g=u.focusNode;u=u.focusOffset;try{i.nodeType,g.nodeType}catch{i=null;break e}var b=0,C=-1,z=-1,$=0,W=0,te=e,X=null;t:for(;;){for(var Q;te!==i||p!==0&&te.nodeType!==3||(C=b+p),te!==g||u!==0&&te.nodeType!==3||(z=b+u),te.nodeType===3&&(b+=te.nodeValue.length),(Q=te.firstChild)!==null;)X=te,te=Q;for(;;){if(te===e)break t;if(X===i&&++$===p&&(C=b),X===g&&++W===u&&(z=b),(Q=te.nextSibling)!==null)break;te=X,X=te.parentNode}te=Q}i=C===-1||z===-1?null:{start:C,end:z}}else i=null}i=i||{start:0,end:0}}else i=null;for(Cm={focusedElem:e,selectionRange:i},Bd=!1,us=s;us!==null;)if(s=us,e=s.child,(s.subtreeFlags&1028)!==0&&e!==null)e.return=s,us=e;else for(;us!==null;){switch(s=us,g=s.alternate,e=s.flags,s.tag){case 0:if((e&4)!==0&&(e=s.updateQueue,e=e!==null?e.events:null,e!==null))for(i=0;i<e.length;i++)p=e[i],p.ref.impl=p.nextImpl;break;case 11:case 15:break;case 1:if((e&1024)!==0&&g!==null){e=void 0,i=s,p=g.memoizedProps,g=g.memoizedState,u=i.stateNode;try{var he=Bi(i.type,p);e=u.getSnapshotBeforeUpdate(he,g),u.__reactInternalSnapshotBeforeUpdate=e}catch(Ne){ot(i,i.return,Ne)}}break;case 3:if((e&1024)!==0){if(e=s.stateNode.containerInfo,i=e.nodeType,i===9)Am(e);else if(i===1)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":Am(e);break;default:e.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((e&1024)!==0)throw Error(n(163))}if(e=s.sibling,e!==null){e.return=s.return,us=e;break}us=s.return}}function ev(e,s,i){var u=i.flags;switch(i.tag){case 0:case 11:case 15:pr(e,i),u&4&&hl(5,i);break;case 1:if(pr(e,i),u&4)if(e=i.stateNode,s===null)try{e.componentDidMount()}catch(b){ot(i,i.return,b)}else{var p=Bi(i.type,s.memoizedProps);s=s.memoizedState;try{e.componentDidUpdate(p,s,e.__reactInternalSnapshotBeforeUpdate)}catch(b){ot(i,i.return,b)}}u&64&&Xy(i),u&512&&ml(i,i.return);break;case 3:if(pr(e,i),u&64&&(e=i.updateQueue,e!==null)){if(s=null,i.child!==null)switch(i.child.tag){case 27:case 5:s=i.child.stateNode;break;case 1:s=i.child.stateNode}try{H1(e,s)}catch(b){ot(i,i.return,b)}}break;case 27:s===null&&u&4&&Wy(i);case 26:case 5:pr(e,i),s===null&&u&4&&Ky(i),u&512&&ml(i,i.return);break;case 12:pr(e,i);break;case 31:pr(e,i),u&4&&av(e,i);break;case 13:pr(e,i),u&4&&nv(e,i),u&64&&(e=i.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(i=s4.bind(null,i),N4(e,i))));break;case 22:if(u=i.memoizedState!==null||dr,!u){s=s!==null&&s.memoizedState!==null||es,p=dr;var g=es;dr=u,(es=s)&&!g?hr(e,i,(i.subtreeFlags&8772)!==0):pr(e,i),dr=p,es=g}break;case 30:break;default:pr(e,i)}}function tv(e){var s=e.alternate;s!==null&&(e.alternate=null,tv(s)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(s=e.stateNode,s!==null&&It(s)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var jt=null,Ks=!1;function fr(e,s,i){for(i=i.child;i!==null;)sv(e,s,i),i=i.sibling}function sv(e,s,i){if(At&&typeof At.onCommitFiberUnmount=="function")try{At.onCommitFiberUnmount(En,i)}catch{}switch(i.tag){case 26:es||kn(i,s),fr(e,s,i),i.memoizedState?i.memoizedState.count--:i.stateNode&&(i=i.stateNode,i.parentNode.removeChild(i));break;case 27:es||kn(i,s);var u=jt,p=Ks;Wr(i.type)&&(jt=i.stateNode,Ks=!1),fr(e,s,i),_l(i.stateNode),jt=u,Ks=p;break;case 5:es||kn(i,s);case 6:if(u=jt,p=Ks,jt=null,fr(e,s,i),jt=u,Ks=p,jt!==null)if(Ks)try{(jt.nodeType===9?jt.body:jt.nodeName==="HTML"?jt.ownerDocument.body:jt).removeChild(i.stateNode)}catch(g){ot(i,s,g)}else try{jt.removeChild(i.stateNode)}catch(g){ot(i,s,g)}break;case 18:jt!==null&&(Ks?(e=jt,Xv(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,i.stateNode),Jo(e)):Xv(jt,i.stateNode));break;case 4:u=jt,p=Ks,jt=i.stateNode.containerInfo,Ks=!0,fr(e,s,i),jt=u,Ks=p;break;case 0:case 11:case 14:case 15:Vr(2,i,s),es||Vr(4,i,s),fr(e,s,i);break;case 1:es||(kn(i,s),u=i.stateNode,typeof u.componentWillUnmount=="function"&&Qy(i,s,u)),fr(e,s,i);break;case 21:fr(e,s,i);break;case 22:es=(u=es)||i.memoizedState!==null,fr(e,s,i),es=u;break;default:fr(e,s,i)}}function av(e,s){if(s.memoizedState===null&&(e=s.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{Jo(e)}catch(i){ot(s,s.return,i)}}}function nv(e,s){if(s.memoizedState===null&&(e=s.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{Jo(e)}catch(i){ot(s,s.return,i)}}function X5(e){switch(e.tag){case 31:case 13:case 19:var s=e.stateNode;return s===null&&(s=e.stateNode=new Jy),s;case 22:return e=e.stateNode,s=e._retryCache,s===null&&(s=e._retryCache=new Jy),s;default:throw Error(n(435,e.tag))}}function bd(e,s){var i=X5(e);s.forEach(function(u){if(!i.has(u)){i.add(u);var p=a4.bind(null,e,u);u.then(p,p)}})}function Zs(e,s){var i=s.deletions;if(i!==null)for(var u=0;u<i.length;u++){var p=i[u],g=e,b=s,C=b;e:for(;C!==null;){switch(C.tag){case 27:if(Wr(C.type)){jt=C.stateNode,Ks=!1;break e}break;case 5:jt=C.stateNode,Ks=!1;break e;case 3:case 4:jt=C.stateNode.containerInfo,Ks=!0;break e}C=C.return}if(jt===null)throw Error(n(160));sv(g,b,p),jt=null,Ks=!1,g=p.alternate,g!==null&&(g.return=null),p.return=null}if(s.subtreeFlags&13886)for(s=s.child;s!==null;)rv(s,e),s=s.sibling}var gn=null;function rv(e,s){var i=e.alternate,u=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Zs(s,e),Ws(e),u&4&&(Vr(3,e,e.return),hl(3,e),Vr(5,e,e.return));break;case 1:Zs(s,e),Ws(e),u&512&&(es||i===null||kn(i,i.return)),u&64&&dr&&(e=e.updateQueue,e!==null&&(u=e.callbacks,u!==null&&(i=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=i===null?u:i.concat(u))));break;case 26:var p=gn;if(Zs(s,e),Ws(e),u&512&&(es||i===null||kn(i,i.return)),u&4){var g=i!==null?i.memoizedState:null;if(u=e.memoizedState,i===null)if(u===null)if(e.stateNode===null){e:{u=e.type,i=e.memoizedProps,p=p.ownerDocument||p;t:switch(u){case"title":g=p.getElementsByTagName("title")[0],(!g||g[Dt]||g[Pe]||g.namespaceURI==="http://www.w3.org/2000/svg"||g.hasAttribute("itemprop"))&&(g=p.createElement(u),p.head.insertBefore(g,p.querySelector("head > title"))),ys(g,u,i),g[Pe]=e,Ye(g),u=g;break e;case"link":var b=rb("link","href",p).get(u+(i.href||""));if(b){for(var C=0;C<b.length;C++)if(g=b[C],g.getAttribute("href")===(i.href==null||i.href===""?null:i.href)&&g.getAttribute("rel")===(i.rel==null?null:i.rel)&&g.getAttribute("title")===(i.title==null?null:i.title)&&g.getAttribute("crossorigin")===(i.crossOrigin==null?null:i.crossOrigin)){b.splice(C,1);break t}}g=p.createElement(u),ys(g,u,i),p.head.appendChild(g);break;case"meta":if(b=rb("meta","content",p).get(u+(i.content||""))){for(C=0;C<b.length;C++)if(g=b[C],g.getAttribute("content")===(i.content==null?null:""+i.content)&&g.getAttribute("name")===(i.name==null?null:i.name)&&g.getAttribute("property")===(i.property==null?null:i.property)&&g.getAttribute("http-equiv")===(i.httpEquiv==null?null:i.httpEquiv)&&g.getAttribute("charset")===(i.charSet==null?null:i.charSet)){b.splice(C,1);break t}}g=p.createElement(u),ys(g,u,i),p.head.appendChild(g);break;default:throw Error(n(468,u))}g[Pe]=e,Ye(g),u=g}e.stateNode=u}else ib(p,e.type,e.stateNode);else e.stateNode=nb(p,u,e.memoizedProps);else g!==u?(g===null?i.stateNode!==null&&(i=i.stateNode,i.parentNode.removeChild(i)):g.count--,u===null?ib(p,e.type,e.stateNode):nb(p,u,e.memoizedProps)):u===null&&e.stateNode!==null&&tm(e,e.memoizedProps,i.memoizedProps)}break;case 27:Zs(s,e),Ws(e),u&512&&(es||i===null||kn(i,i.return)),i!==null&&u&4&&tm(e,e.memoizedProps,i.memoizedProps);break;case 5:if(Zs(s,e),Ws(e),u&512&&(es||i===null||kn(i,i.return)),e.flags&32){p=e.stateNode;try{No(p,"")}catch(he){ot(e,e.return,he)}}u&4&&e.stateNode!=null&&(p=e.memoizedProps,tm(e,p,i!==null?i.memoizedProps:p)),u&1024&&(nm=!0);break;case 6:if(Zs(s,e),Ws(e),u&4){if(e.stateNode===null)throw Error(n(162));u=e.memoizedProps,i=e.stateNode;try{i.nodeValue=u}catch(he){ot(e,e.return,he)}}break;case 3:if(zd=null,p=gn,gn=kd(s.containerInfo),Zs(s,e),gn=p,Ws(e),u&4&&i!==null&&i.memoizedState.isDehydrated)try{Jo(s.containerInfo)}catch(he){ot(e,e.return,he)}nm&&(nm=!1,iv(e));break;case 4:u=gn,gn=kd(e.stateNode.containerInfo),Zs(s,e),Ws(e),gn=u;break;case 12:Zs(s,e),Ws(e);break;case 31:Zs(s,e),Ws(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,bd(e,u)));break;case 13:Zs(s,e),Ws(e),e.child.flags&8192&&e.memoizedState!==null!=(i!==null&&i.memoizedState!==null)&&(Nd=Gt()),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,bd(e,u)));break;case 22:p=e.memoizedState!==null;var z=i!==null&&i.memoizedState!==null,$=dr,W=es;if(dr=$||p,es=W||z,Zs(s,e),es=W,dr=$,Ws(e),u&8192)e:for(s=e.stateNode,s._visibility=p?s._visibility&-2:s._visibility|1,p&&(i===null||z||dr||es||Yi(e)),i=null,s=e;;){if(s.tag===5||s.tag===26){if(i===null){z=i=s;try{if(g=z.stateNode,p)b=g.style,typeof b.setProperty=="function"?b.setProperty("display","none","important"):b.display="none";else{C=z.stateNode;var te=z.memoizedProps.style,X=te!=null&&te.hasOwnProperty("display")?te.display:null;C.style.display=X==null||typeof X=="boolean"?"":(""+X).trim()}}catch(he){ot(z,z.return,he)}}}else if(s.tag===6){if(i===null){z=s;try{z.stateNode.nodeValue=p?"":z.memoizedProps}catch(he){ot(z,z.return,he)}}}else if(s.tag===18){if(i===null){z=s;try{var Q=z.stateNode;p?Qv(Q,!0):Qv(z.stateNode,!1)}catch(he){ot(z,z.return,he)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===e)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===e)break e;for(;s.sibling===null;){if(s.return===null||s.return===e)break e;i===s&&(i=null),s=s.return}i===s&&(i=null),s.sibling.return=s.return,s=s.sibling}u&4&&(u=e.updateQueue,u!==null&&(i=u.retryQueue,i!==null&&(u.retryQueue=null,bd(e,i))));break;case 19:Zs(s,e),Ws(e),u&4&&(u=e.updateQueue,u!==null&&(e.updateQueue=null,bd(e,u)));break;case 30:break;case 21:break;default:Zs(s,e),Ws(e)}}function Ws(e){var s=e.flags;if(s&2){try{for(var i,u=e.return;u!==null;){if(Zy(u)){i=u;break}u=u.return}if(i==null)throw Error(n(160));switch(i.tag){case 27:var p=i.stateNode,g=sm(e);vd(e,g,p);break;case 5:var b=i.stateNode;i.flags&32&&(No(b,""),i.flags&=-33);var C=sm(e);vd(e,C,b);break;case 3:case 4:var z=i.stateNode.containerInfo,$=sm(e);am(e,$,z);break;default:throw Error(n(161))}}catch(W){ot(e,e.return,W)}e.flags&=-3}s&4096&&(e.flags&=-4097)}function iv(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var s=e;iv(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),e=e.sibling}}function pr(e,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)ev(e,s.alternate,s),s=s.sibling}function Yi(e){for(e=e.child;e!==null;){var s=e;switch(s.tag){case 0:case 11:case 14:case 15:Vr(4,s,s.return),Yi(s);break;case 1:kn(s,s.return);var i=s.stateNode;typeof i.componentWillUnmount=="function"&&Qy(s,s.return,i),Yi(s);break;case 27:_l(s.stateNode);case 26:case 5:kn(s,s.return),Yi(s);break;case 22:s.memoizedState===null&&Yi(s);break;case 30:Yi(s);break;default:Yi(s)}e=e.sibling}}function hr(e,s,i){for(i=i&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var u=s.alternate,p=e,g=s,b=g.flags;switch(g.tag){case 0:case 11:case 15:hr(p,g,i),hl(4,g);break;case 1:if(hr(p,g,i),u=g,p=u.stateNode,typeof p.componentDidMount=="function")try{p.componentDidMount()}catch($){ot(u,u.return,$)}if(u=g,p=u.updateQueue,p!==null){var C=u.stateNode;try{var z=p.shared.hiddenCallbacks;if(z!==null)for(p.shared.hiddenCallbacks=null,p=0;p<z.length;p++)L1(z[p],C)}catch($){ot(u,u.return,$)}}i&&b&64&&Xy(g),ml(g,g.return);break;case 27:Wy(g);case 26:case 5:hr(p,g,i),i&&u===null&&b&4&&Ky(g),ml(g,g.return);break;case 12:hr(p,g,i);break;case 31:hr(p,g,i),i&&b&4&&av(p,g);break;case 13:hr(p,g,i),i&&b&4&&nv(p,g);break;case 22:g.memoizedState===null&&hr(p,g,i),ml(g,g.return);break;case 30:break;default:hr(p,g,i)}s=s.sibling}}function rm(e,s){var i=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(i=e.memoizedState.cachePool.pool),e=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(e=s.memoizedState.cachePool.pool),e!==i&&(e!=null&&e.refCount++,i!=null&&tl(i))}function im(e,s){e=null,s.alternate!==null&&(e=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==e&&(s.refCount++,e!=null&&tl(e))}function xn(e,s,i,u){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)ov(e,s,i,u),s=s.sibling}function ov(e,s,i,u){var p=s.flags;switch(s.tag){case 0:case 11:case 15:xn(e,s,i,u),p&2048&&hl(9,s);break;case 1:xn(e,s,i,u);break;case 3:xn(e,s,i,u),p&2048&&(e=null,s.alternate!==null&&(e=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==e&&(s.refCount++,e!=null&&tl(e)));break;case 12:if(p&2048){xn(e,s,i,u),e=s.stateNode;try{var g=s.memoizedProps,b=g.id,C=g.onPostCommit;typeof C=="function"&&C(b,s.alternate===null?"mount":"update",e.passiveEffectDuration,-0)}catch(z){ot(s,s.return,z)}}else xn(e,s,i,u);break;case 31:xn(e,s,i,u);break;case 13:xn(e,s,i,u);break;case 23:break;case 22:g=s.stateNode,b=s.alternate,s.memoizedState!==null?g._visibility&2?xn(e,s,i,u):gl(e,s):g._visibility&2?xn(e,s,i,u):(g._visibility|=2,qo(e,s,i,u,(s.subtreeFlags&10256)!==0||!1)),p&2048&&rm(b,s);break;case 24:xn(e,s,i,u),p&2048&&im(s.alternate,s);break;default:xn(e,s,i,u)}}function qo(e,s,i,u,p){for(p=p&&((s.subtreeFlags&10256)!==0||!1),s=s.child;s!==null;){var g=e,b=s,C=i,z=u,$=b.flags;switch(b.tag){case 0:case 11:case 15:qo(g,b,C,z,p),hl(8,b);break;case 23:break;case 22:var W=b.stateNode;b.memoizedState!==null?W._visibility&2?qo(g,b,C,z,p):gl(g,b):(W._visibility|=2,qo(g,b,C,z,p)),p&&$&2048&&rm(b.alternate,b);break;case 24:qo(g,b,C,z,p),p&&$&2048&&im(b.alternate,b);break;default:qo(g,b,C,z,p)}s=s.sibling}}function gl(e,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var i=e,u=s,p=u.flags;switch(u.tag){case 22:gl(i,u),p&2048&&rm(u.alternate,u);break;case 24:gl(i,u),p&2048&&im(u.alternate,u);break;default:gl(i,u)}s=s.sibling}}var xl=8192;function Go(e,s,i){if(e.subtreeFlags&xl)for(e=e.child;e!==null;)cv(e,s,i),e=e.sibling}function cv(e,s,i){switch(e.tag){case 26:Go(e,s,i),e.flags&xl&&e.memoizedState!==null&&k4(i,gn,e.memoizedState,e.memoizedProps);break;case 5:Go(e,s,i);break;case 3:case 4:var u=gn;gn=kd(e.stateNode.containerInfo),Go(e,s,i),gn=u;break;case 22:e.memoizedState===null&&(u=e.alternate,u!==null&&u.memoizedState!==null?(u=xl,xl=16777216,Go(e,s,i),xl=u):Go(e,s,i));break;default:Go(e,s,i)}}function lv(e){var s=e.alternate;if(s!==null&&(e=s.child,e!==null)){s.child=null;do s=e.sibling,e.sibling=null,e=s;while(e!==null)}}function yl(e){var s=e.deletions;if((e.flags&16)!==0){if(s!==null)for(var i=0;i<s.length;i++){var u=s[i];us=u,dv(u,e)}lv(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)uv(e),e=e.sibling}function uv(e){switch(e.tag){case 0:case 11:case 15:yl(e),e.flags&2048&&Vr(9,e,e.return);break;case 3:yl(e);break;case 12:yl(e);break;case 22:var s=e.stateNode;e.memoizedState!==null&&s._visibility&2&&(e.return===null||e.return.tag!==13)?(s._visibility&=-3,wd(e)):yl(e);break;default:yl(e)}}function wd(e){var s=e.deletions;if((e.flags&16)!==0){if(s!==null)for(var i=0;i<s.length;i++){var u=s[i];us=u,dv(u,e)}lv(e)}for(e=e.child;e!==null;){switch(s=e,s.tag){case 0:case 11:case 15:Vr(8,s,s.return),wd(s);break;case 22:i=s.stateNode,i._visibility&2&&(i._visibility&=-3,wd(s));break;default:wd(s)}e=e.sibling}}function dv(e,s){for(;us!==null;){var i=us;switch(i.tag){case 0:case 11:case 15:Vr(8,i,s);break;case 23:case 22:if(i.memoizedState!==null&&i.memoizedState.cachePool!==null){var u=i.memoizedState.cachePool.pool;u!=null&&u.refCount++}break;case 24:tl(i.memoizedState.cache)}if(u=i.child,u!==null)u.return=i,us=u;else e:for(i=e;us!==null;){u=us;var p=u.sibling,g=u.return;if(tv(u),u===i){us=null;break e}if(p!==null){p.return=g,us=p;break e}us=g}}}var Q5={getCacheForType:function(e){var s=gs(Zt),i=s.data.get(e);return i===void 0&&(i=e(),s.data.set(e,i)),i},cacheSignal:function(){return gs(Zt).controller.signal}},K5=typeof WeakMap=="function"?WeakMap:Map,tt=0,ft=null,Ie=null,Fe=0,it=0,xa=null,$r=!1,Io=!1,om=!1,mr=0,Ut=0,Fr=0,qi=0,cm=0,ya=0,Vo=0,vl=null,Js=null,lm=!1,Nd=0,fv=0,Sd=1/0,_d=null,Xr=null,ns=0,Qr=null,$o=null,gr=0,um=0,dm=null,pv=null,bl=0,fm=null;function va(){return(tt&2)!==0&&Fe!==0?Fe&-Fe:U.T!==null?ym():Be()}function hv(){if(ya===0)if((Fe&536870912)===0||Qe){var e=js;js<<=1,(js&3932160)===0&&(js=262144),ya=e}else ya=536870912;return e=ma.current,e!==null&&(e.flags|=32),ya}function ea(e,s,i){(e===ft&&(it===2||it===9)||e.cancelPendingCommit!==null)&&(Fo(e,0),Kr(e,Fe,ya,!1)),ve(e,i),((tt&2)===0||e!==ft)&&(e===ft&&((tt&2)===0&&(qi|=i),Ut===4&&Kr(e,Fe,ya,!1)),Pn(e))}function mv(e,s,i){if((tt&6)!==0)throw Error(n(327));var u=!i&&(s&127)===0&&(s&e.expiredLanes)===0||qa(e,s),p=u?J5(e,s):hm(e,s,!0),g=u;do{if(p===0){Io&&!u&&Kr(e,s,0,!1);break}else{if(i=e.current.alternate,g&&!Z5(i)){p=hm(e,s,!1),g=!1;continue}if(p===2){if(g=s,e.errorRecoveryDisabledLanes&g)var b=0;else b=e.pendingLanes&-536870913,b=b!==0?b:b&536870912?536870912:0;if(b!==0){s=b;e:{var C=e;p=vl;var z=C.current.memoizedState.isDehydrated;if(z&&(Fo(C,b).flags|=256),b=hm(C,b,!1),b!==2){if(om&&!z){C.errorRecoveryDisabledLanes|=g,qi|=g,p=4;break e}g=Js,Js=p,g!==null&&(Js===null?Js=g:Js.push.apply(Js,g))}p=b}if(g=!1,p!==2)continue}}if(p===1){Fo(e,0),Kr(e,s,0,!0);break}e:{switch(u=e,g=p,g){case 0:case 1:throw Error(n(345));case 4:if((s&4194048)!==s)break;case 6:Kr(u,s,ya,!$r);break e;case 2:Js=null;break;case 3:case 5:break;default:throw Error(n(329))}if((s&62914560)===s&&(p=Nd+300-Gt(),10<p)){if(Kr(u,s,ya,!$r),Ya(u,0,!0)!==0)break e;gr=s,u.timeoutHandle=$v(gv.bind(null,u,i,Js,_d,lm,s,ya,qi,Vo,$r,g,"Throttled",-0,0),p);break e}gv(u,i,Js,_d,lm,s,ya,qi,Vo,$r,g,null,-0,0)}}break}while(!0);Pn(e)}function gv(e,s,i,u,p,g,b,C,z,$,W,te,X,Q){if(e.timeoutHandle=-1,te=s.subtreeFlags,te&8192||(te&16785408)===16785408){te={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:tr},cv(s,g,te);var he=(g&62914560)===g?Nd-Gt():(g&4194048)===g?fv-Gt():0;if(he=P4(te,he),he!==null){gr=g,e.cancelPendingCommit=he(_v.bind(null,e,s,g,i,u,p,b,C,z,W,te,null,X,Q)),Kr(e,g,b,!$);return}}_v(e,s,g,i,u,p,b,C,z)}function Z5(e){for(var s=e;;){var i=s.tag;if((i===0||i===11||i===15)&&s.flags&16384&&(i=s.updateQueue,i!==null&&(i=i.stores,i!==null)))for(var u=0;u<i.length;u++){var p=i[u],g=p.getSnapshot;p=p.value;try{if(!pa(g(),p))return!1}catch{return!1}}if(i=s.child,s.subtreeFlags&16384&&i!==null)i.return=s,s=i;else{if(s===e)break;for(;s.sibling===null;){if(s.return===null||s.return===e)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function Kr(e,s,i,u){s&=~cm,s&=~qi,e.suspendedLanes|=s,e.pingedLanes&=~s,u&&(e.warmLanes|=s),u=e.expirationTimes;for(var p=s;0<p;){var g=31-Kt(p),b=1<<g;u[g]=-1,p&=~b}i!==0&&le(e,i,s)}function jd(){return(tt&6)===0?(wl(0),!1):!0}function pm(){if(Ie!==null){if(it===0)var e=Ie.return;else e=Ie,rr=Oi=null,Ah(e),Lo=null,al=0,e=Ie;for(;e!==null;)Fy(e.alternate,e),e=e.return;Ie=null}}function Fo(e,s){var i=e.timeoutHandle;i!==-1&&(e.timeoutHandle=-1,x4(i)),i=e.cancelPendingCommit,i!==null&&(e.cancelPendingCommit=null,i()),gr=0,pm(),ft=e,Ie=i=ar(e.current,null),Fe=s,it=0,xa=null,$r=!1,Io=qa(e,s),om=!1,Vo=ya=cm=qi=Fr=Ut=0,Js=vl=null,lm=!1,(s&8)!==0&&(s|=s&32);var u=e.entangledLanes;if(u!==0)for(e=e.entanglements,u&=s;0<u;){var p=31-Kt(u),g=1<<p;s|=e[p],u&=~g}return mr=s,$u(),i}function xv(e,s){Ae=null,U.H=dl,s===zo||s===ed?(s=O1(),it=3):s===xh?(s=O1(),it=4):it=s===Vh?8:s!==null&&typeof s=="object"&&typeof s.then=="function"?6:1,xa=s,Ie===null&&(Ut=1,hd(e,Xa(s,e.current)))}function yv(){var e=ma.current;return e===null?!0:(Fe&4194048)===Fe?Wa===null:(Fe&62914560)===Fe||(Fe&536870912)!==0?e===Wa:!1}function vv(){var e=U.H;return U.H=dl,e===null?dl:e}function bv(){var e=U.A;return U.A=Q5,e}function Cd(){Ut=4,$r||(Fe&4194048)!==Fe&&ma.current!==null||(Io=!0),(Fr&134217727)===0&&(qi&134217727)===0||ft===null||Kr(ft,Fe,ya,!1)}function hm(e,s,i){var u=tt;tt|=2;var p=vv(),g=bv();(ft!==e||Fe!==s)&&(_d=null,Fo(e,s)),s=!1;var b=Ut;e:do try{if(it!==0&&Ie!==null){var C=Ie,z=xa;switch(it){case 8:pm(),b=6;break e;case 3:case 2:case 9:case 6:ma.current===null&&(s=!0);var $=it;if(it=0,xa=null,Xo(e,C,z,$),i&&Io){b=0;break e}break;default:$=it,it=0,xa=null,Xo(e,C,z,$)}}W5(),b=Ut;break}catch(W){xv(e,W)}while(!0);return s&&e.shellSuspendCounter++,rr=Oi=null,tt=u,U.H=p,U.A=g,Ie===null&&(ft=null,Fe=0,$u()),b}function W5(){for(;Ie!==null;)wv(Ie)}function J5(e,s){var i=tt;tt|=2;var u=vv(),p=bv();ft!==e||Fe!==s?(_d=null,Sd=Gt()+500,Fo(e,s)):Io=qa(e,s);e:do try{if(it!==0&&Ie!==null){s=Ie;var g=xa;t:switch(it){case 1:it=0,xa=null,Xo(e,s,g,1);break;case 2:case 9:if(M1(g)){it=0,xa=null,Nv(s);break}s=function(){it!==2&&it!==9||ft!==e||(it=7),Pn(e)},g.then(s,s);break e;case 3:it=7;break e;case 4:it=5;break e;case 7:M1(g)?(it=0,xa=null,Nv(s)):(it=0,xa=null,Xo(e,s,g,7));break;case 5:var b=null;switch(Ie.tag){case 26:b=Ie.memoizedState;case 5:case 27:var C=Ie;if(b?ob(b):C.stateNode.complete){it=0,xa=null;var z=C.sibling;if(z!==null)Ie=z;else{var $=C.return;$!==null?(Ie=$,Ed($)):Ie=null}break t}}it=0,xa=null,Xo(e,s,g,5);break;case 6:it=0,xa=null,Xo(e,s,g,6);break;case 8:pm(),Ut=6;break e;default:throw Error(n(462))}}e4();break}catch(W){xv(e,W)}while(!0);return rr=Oi=null,U.H=u,U.A=p,tt=i,Ie!==null?0:(ft=null,Fe=0,$u(),Ut)}function e4(){for(;Ie!==null&&!fn();)wv(Ie)}function wv(e){var s=Vy(e.alternate,e,mr);e.memoizedProps=e.pendingProps,s===null?Ed(e):Ie=s}function Nv(e){var s=e,i=s.alternate;switch(s.tag){case 15:case 0:s=Uy(i,s,s.pendingProps,s.type,void 0,Fe);break;case 11:s=Uy(i,s,s.pendingProps,s.type.render,s.ref,Fe);break;case 5:Ah(s);default:Fy(i,s),s=Ie=b1(s,mr),s=Vy(i,s,mr)}e.memoizedProps=e.pendingProps,s===null?Ed(e):Ie=s}function Xo(e,s,i,u){rr=Oi=null,Ah(s),Lo=null,al=0;var p=s.return;try{if(q5(e,p,s,i,Fe)){Ut=1,hd(e,Xa(i,e.current)),Ie=null;return}}catch(g){if(p!==null)throw Ie=p,g;Ut=1,hd(e,Xa(i,e.current)),Ie=null;return}s.flags&32768?(Qe||u===1?e=!0:Io||(Fe&536870912)!==0?e=!1:($r=e=!0,(u===2||u===9||u===3||u===6)&&(u=ma.current,u!==null&&u.tag===13&&(u.flags|=16384))),Sv(s,e)):Ed(s)}function Ed(e){var s=e;do{if((s.flags&32768)!==0){Sv(s,$r);return}e=s.return;var i=V5(s.alternate,s,mr);if(i!==null){Ie=i;return}if(s=s.sibling,s!==null){Ie=s;return}Ie=s=e}while(s!==null);Ut===0&&(Ut=5)}function Sv(e,s){do{var i=$5(e.alternate,e);if(i!==null){i.flags&=32767,Ie=i;return}if(i=e.return,i!==null&&(i.flags|=32768,i.subtreeFlags=0,i.deletions=null),!s&&(e=e.sibling,e!==null)){Ie=e;return}Ie=e=i}while(e!==null);Ut=6,Ie=null}function _v(e,s,i,u,p,g,b,C,z){e.cancelPendingCommit=null;do Td();while(ns!==0);if((tt&6)!==0)throw Error(n(327));if(s!==null){if(s===e.current)throw Error(n(177));if(g=s.lanes|s.childLanes,g|=sh,We(e,i,g,b,C,z),e===ft&&(Ie=ft=null,Fe=0),$o=s,Qr=e,gr=i,um=g,dm=p,pv=u,(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?(e.callbackNode=null,e.callbackPriority=0,n4(_s,function(){return Av(),null})):(e.callbackNode=null,e.callbackPriority=0),u=(s.flags&13878)!==0,(s.subtreeFlags&13878)!==0||u){u=U.T,U.T=null,p=F.p,F.p=2,b=tt,tt|=4;try{F5(e,s,i)}finally{tt=b,F.p=p,U.T=u}}ns=1,jv(),Cv(),Ev()}}function jv(){if(ns===1){ns=0;var e=Qr,s=$o,i=(s.flags&13878)!==0;if((s.subtreeFlags&13878)!==0||i){i=U.T,U.T=null;var u=F.p;F.p=2;var p=tt;tt|=4;try{rv(s,e);var g=Cm,b=d1(e.containerInfo),C=g.focusedElem,z=g.selectionRange;if(b!==C&&C&&C.ownerDocument&&u1(C.ownerDocument.documentElement,C)){if(z!==null&&Zp(C)){var $=z.start,W=z.end;if(W===void 0&&(W=$),"selectionStart"in C)C.selectionStart=$,C.selectionEnd=Math.min(W,C.value.length);else{var te=C.ownerDocument||document,X=te&&te.defaultView||window;if(X.getSelection){var Q=X.getSelection(),he=C.textContent.length,Ne=Math.min(z.start,he),dt=z.end===void 0?Ne:Math.min(z.end,he);!Q.extend&&Ne>dt&&(b=dt,dt=Ne,Ne=b);var q=l1(C,Ne),H=l1(C,dt);if(q&&H&&(Q.rangeCount!==1||Q.anchorNode!==q.node||Q.anchorOffset!==q.offset||Q.focusNode!==H.node||Q.focusOffset!==H.offset)){var I=te.createRange();I.setStart(q.node,q.offset),Q.removeAllRanges(),Ne>dt?(Q.addRange(I),Q.extend(H.node,H.offset)):(I.setEnd(H.node,H.offset),Q.addRange(I))}}}}for(te=[],Q=C;Q=Q.parentNode;)Q.nodeType===1&&te.push({element:Q,left:Q.scrollLeft,top:Q.scrollTop});for(typeof C.focus=="function"&&C.focus(),C=0;C<te.length;C++){var ee=te[C];ee.element.scrollLeft=ee.left,ee.element.scrollTop=ee.top}}Bd=!!jm,Cm=jm=null}finally{tt=p,F.p=u,U.T=i}}e.current=s,ns=2}}function Cv(){if(ns===2){ns=0;var e=Qr,s=$o,i=(s.flags&8772)!==0;if((s.subtreeFlags&8772)!==0||i){i=U.T,U.T=null;var u=F.p;F.p=2;var p=tt;tt|=4;try{ev(e,s.alternate,s)}finally{tt=p,F.p=u,U.T=i}}ns=3}}function Ev(){if(ns===4||ns===3){ns=0,Cn();var e=Qr,s=$o,i=gr,u=pv;(s.subtreeFlags&10256)!==0||(s.flags&10256)!==0?ns=5:(ns=0,$o=Qr=null,Tv(e,e.pendingLanes));var p=e.pendingLanes;if(p===0&&(Xr=null),Lt(i),s=s.stateNode,At&&typeof At.onCommitFiberRoot=="function")try{At.onCommitFiberRoot(En,s,void 0,(s.current.flags&128)===128)}catch{}if(u!==null){s=U.T,p=F.p,F.p=2,U.T=null;try{for(var g=e.onRecoverableError,b=0;b<u.length;b++){var C=u[b];g(C.value,{componentStack:C.stack})}}finally{U.T=s,F.p=p}}(gr&3)!==0&&Td(),Pn(e),p=e.pendingLanes,(i&261930)!==0&&(p&42)!==0?e===fm?bl++:(bl=0,fm=e):bl=0,wl(0)}}function Tv(e,s){(e.pooledCacheLanes&=s)===0&&(s=e.pooledCache,s!=null&&(e.pooledCache=null,tl(s)))}function Td(){return jv(),Cv(),Ev(),Av()}function Av(){if(ns!==5)return!1;var e=Qr,s=um;um=0;var i=Lt(gr),u=U.T,p=F.p;try{F.p=32>i?32:i,U.T=null,i=dm,dm=null;var g=Qr,b=gr;if(ns=0,$o=Qr=null,gr=0,(tt&6)!==0)throw Error(n(331));var C=tt;if(tt|=4,uv(g.current),ov(g,g.current,b,i),tt=C,wl(0,!1),At&&typeof At.onPostCommitFiberRoot=="function")try{At.onPostCommitFiberRoot(En,g)}catch{}return!0}finally{F.p=p,U.T=u,Tv(e,s)}}function Dv(e,s,i){s=Xa(i,s),s=Ih(e.stateNode,s,2),e=qr(e,s,2),e!==null&&(ve(e,2),Pn(e))}function ot(e,s,i){if(e.tag===3)Dv(e,e,i);else for(;s!==null;){if(s.tag===3){Dv(s,e,i);break}else if(s.tag===1){var u=s.stateNode;if(typeof s.type.getDerivedStateFromError=="function"||typeof u.componentDidCatch=="function"&&(Xr===null||!Xr.has(u))){e=Xa(i,e),i=My(2),u=qr(s,i,2),u!==null&&(Ry(i,u,s,e),ve(u,2),Pn(u));break}}s=s.return}}function mm(e,s,i){var u=e.pingCache;if(u===null){u=e.pingCache=new K5;var p=new Set;u.set(s,p)}else p=u.get(s),p===void 0&&(p=new Set,u.set(s,p));p.has(i)||(om=!0,p.add(i),e=t4.bind(null,e,s,i),s.then(e,e))}function t4(e,s,i){var u=e.pingCache;u!==null&&u.delete(s),e.pingedLanes|=e.suspendedLanes&i,e.warmLanes&=~i,ft===e&&(Fe&i)===i&&(Ut===4||Ut===3&&(Fe&62914560)===Fe&&300>Gt()-Nd?(tt&2)===0&&Fo(e,0):cm|=i,Vo===Fe&&(Vo=0)),Pn(e)}function Mv(e,s){s===0&&(s=Or()),e=Di(e,s),e!==null&&(ve(e,s),Pn(e))}function s4(e){var s=e.memoizedState,i=0;s!==null&&(i=s.retryLane),Mv(e,i)}function a4(e,s){var i=0;switch(e.tag){case 31:case 13:var u=e.stateNode,p=e.memoizedState;p!==null&&(i=p.retryLane);break;case 19:u=e.stateNode;break;case 22:u=e.stateNode._retryCache;break;default:throw Error(n(314))}u!==null&&u.delete(s),Mv(e,i)}function n4(e,s){return Ha(e,s)}var Ad=null,Qo=null,gm=!1,Dd=!1,xm=!1,Zr=0;function Pn(e){e!==Qo&&e.next===null&&(Qo===null?Ad=Qo=e:Qo=Qo.next=e),Dd=!0,gm||(gm=!0,i4())}function wl(e,s){if(!xm&&Dd){xm=!0;do for(var i=!1,u=Ad;u!==null;){if(e!==0){var p=u.pendingLanes;if(p===0)var g=0;else{var b=u.suspendedLanes,C=u.pingedLanes;g=(1<<31-Kt(42|e)+1)-1,g&=p&~(b&~C),g=g&201326741?g&201326741|1:g?g|2:0}g!==0&&(i=!0,Pv(u,g))}else g=Fe,g=Ya(u,u===ft?g:0,u.cancelPendingCommit!==null||u.timeoutHandle!==-1),(g&3)===0||qa(u,g)||(i=!0,Pv(u,g));u=u.next}while(i);xm=!1}}function r4(){Rv()}function Rv(){Dd=gm=!1;var e=0;Zr!==0&&g4()&&(e=Zr);for(var s=Gt(),i=null,u=Ad;u!==null;){var p=u.next,g=Ov(u,s);g===0?(u.next=null,i===null?Ad=p:i.next=p,p===null&&(Qo=i)):(i=u,(e!==0||(g&3)!==0)&&(Dd=!0)),u=p}ns!==0&&ns!==5||wl(e),Zr!==0&&(Zr=0)}function Ov(e,s){for(var i=e.suspendedLanes,u=e.pingedLanes,p=e.expirationTimes,g=e.pendingLanes&-62914561;0<g;){var b=31-Kt(g),C=1<<b,z=p[b];z===-1?((C&i)===0||(C&u)!==0)&&(p[b]=hn(C,s)):z<=s&&(e.expiredLanes|=C),g&=~C}if(s=ft,i=Fe,i=Ya(e,e===s?i:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u=e.callbackNode,i===0||e===s&&(it===2||it===9)||e.cancelPendingCommit!==null)return u!==null&&u!==null&&xt(u),e.callbackNode=null,e.callbackPriority=0;if((i&3)===0||qa(e,i)){if(s=i&-i,s===e.callbackPriority)return s;switch(u!==null&&xt(u),Lt(i)){case 2:case 8:i=St;break;case 32:i=_s;break;case 268435456:i=Ua;break;default:i=_s}return u=kv.bind(null,e),i=Ha(i,u),e.callbackPriority=s,e.callbackNode=i,s}return u!==null&&u!==null&&xt(u),e.callbackPriority=2,e.callbackNode=null,2}function kv(e,s){if(ns!==0&&ns!==5)return e.callbackNode=null,e.callbackPriority=0,null;var i=e.callbackNode;if(Td()&&e.callbackNode!==i)return null;var u=Fe;return u=Ya(e,e===ft?u:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),u===0?null:(mv(e,u,s),Ov(e,Gt()),e.callbackNode!=null&&e.callbackNode===i?kv.bind(null,e):null)}function Pv(e,s){if(Td())return null;mv(e,s,!0)}function i4(){y4(function(){(tt&6)!==0?Ha(pn,r4):Rv()})}function ym(){if(Zr===0){var e=ko;e===0&&(e=Ba,Ba<<=1,(Ba&261888)===0&&(Ba=256)),Zr=e}return Zr}function zv(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:Hu(""+e)}function Lv(e,s){var i=s.ownerDocument.createElement("input");return i.name=s.name,i.value=s.value,e.id&&i.setAttribute("form",e.id),s.parentNode.insertBefore(i,s),e=new FormData(e),i.parentNode.removeChild(i),e}function o4(e,s,i,u,p){if(s==="submit"&&i&&i.stateNode===p){var g=zv((p[Le]||null).action),b=u.submitter;b&&(s=(s=b[Le]||null)?zv(s.formAction):b.getAttribute("formAction"),s!==null&&(g=s,b=null));var C=new qu("action","action",null,u,p);e.push({event:C,listeners:[{instance:null,listener:function(){if(u.defaultPrevented){if(Zr!==0){var z=b?Lv(p,b):new FormData(p);Hh(i,{pending:!0,data:z,method:p.method,action:g},null,z)}}else typeof g=="function"&&(C.preventDefault(),z=b?Lv(p,b):new FormData(p),Hh(i,{pending:!0,data:z,method:p.method,action:g},g,z))},currentTarget:p}]})}}for(var vm=0;vm<th.length;vm++){var bm=th[vm],c4=bm.toLowerCase(),l4=bm[0].toUpperCase()+bm.slice(1);mn(c4,"on"+l4)}mn(h1,"onAnimationEnd"),mn(m1,"onAnimationIteration"),mn(g1,"onAnimationStart"),mn("dblclick","onDoubleClick"),mn("focusin","onFocus"),mn("focusout","onBlur"),mn(j5,"onTransitionRun"),mn(C5,"onTransitionStart"),mn(E5,"onTransitionCancel"),mn(x1,"onTransitionEnd"),Ga("onMouseEnter",["mouseout","mouseover"]),Ga("onMouseLeave",["mouseout","mouseover"]),Ga("onPointerEnter",["pointerout","pointerover"]),Ga("onPointerLeave",["pointerout","pointerover"]),Dn("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),Dn("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),Dn("onBeforeInput",["compositionend","keypress","textInput","paste"]),Dn("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),Dn("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),Dn("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Nl="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(" "),u4=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Nl));function Hv(e,s){s=(s&4)!==0;for(var i=0;i<e.length;i++){var u=e[i],p=u.event;u=u.listeners;e:{var g=void 0;if(s)for(var b=u.length-1;0<=b;b--){var C=u[b],z=C.instance,$=C.currentTarget;if(C=C.listener,z!==g&&p.isPropagationStopped())break e;g=C,p.currentTarget=$;try{g(p)}catch(W){Vu(W)}p.currentTarget=null,g=z}else for(b=0;b<u.length;b++){if(C=u[b],z=C.instance,$=C.currentTarget,C=C.listener,z!==g&&p.isPropagationStopped())break e;g=C,p.currentTarget=$;try{g(p)}catch(W){Vu(W)}p.currentTarget=null,g=z}}}}function Ve(e,s){var i=s[ks];i===void 0&&(i=s[ks]=new Set);var u=e+"__bubble";i.has(u)||(Uv(s,e,2,!1),i.add(u))}function wm(e,s,i){var u=0;s&&(u|=4),Uv(i,e,u,s)}var Md="_reactListening"+Math.random().toString(36).slice(2);function Nm(e){if(!e[Md]){e[Md]=!0,fa.forEach(function(i){i!=="selectionchange"&&(u4.has(i)||wm(i,!1,e),wm(i,!0,e))});var s=e.nodeType===9?e:e.ownerDocument;s===null||s[Md]||(s[Md]=!0,wm("selectionchange",!1,s))}}function Uv(e,s,i,u){switch(hb(s)){case 2:var p=H4;break;case 8:p=U4;break;default:p=Lm}i=p.bind(null,s,i,e),p=void 0,!qp||s!=="touchstart"&&s!=="touchmove"&&s!=="wheel"||(p=!0),u?p!==void 0?e.addEventListener(s,i,{capture:!0,passive:p}):e.addEventListener(s,i,!0):p!==void 0?e.addEventListener(s,i,{passive:p}):e.addEventListener(s,i,!1)}function Sm(e,s,i,u,p){var g=u;if((s&1)===0&&(s&2)===0&&u!==null)e:for(;;){if(u===null)return;var b=u.tag;if(b===3||b===4){var C=u.stateNode.containerInfo;if(C===p)break;if(b===4)for(b=u.return;b!==null;){var z=b.tag;if((z===3||z===4)&&b.stateNode.containerInfo===p)return;b=b.return}for(;C!==null;){if(b=Mt(C),b===null)return;if(z=b.tag,z===5||z===6||z===26||z===27){u=g=b;continue e}C=C.parentNode}}u=u.return}I0(function(){var $=g,W=Bp(i),te=[];e:{var X=y1.get(e);if(X!==void 0){var Q=qu,he=e;switch(e){case"keypress":if(Bu(i)===0)break e;case"keydown":case"keyup":Q=a5;break;case"focusin":he="focus",Q=$p;break;case"focusout":he="blur",Q=$p;break;case"beforeblur":case"afterblur":Q=$p;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":Q=F0;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Q=Vj;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Q=i5;break;case h1:case m1:case g1:Q=Xj;break;case x1:Q=c5;break;case"scroll":case"scrollend":Q=Gj;break;case"wheel":Q=u5;break;case"copy":case"cut":case"paste":Q=Kj;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Q=Q0;break;case"toggle":case"beforetoggle":Q=f5}var Ne=(s&4)!==0,dt=!Ne&&(e==="scroll"||e==="scrollend"),q=Ne?X!==null?X+"Capture":null:X;Ne=[];for(var H=$,I;H!==null;){var ee=H;if(I=ee.stateNode,ee=ee.tag,ee!==5&&ee!==26&&ee!==27||I===null||q===null||(ee=Ic(H,q),ee!=null&&Ne.push(Sl(H,ee,I))),dt)break;H=H.return}0<Ne.length&&(X=new Q(X,he,null,i,W),te.push({event:X,listeners:Ne}))}}if((s&7)===0){e:{if(X=e==="mouseover"||e==="pointerover",Q=e==="mouseout"||e==="pointerout",X&&i!==Up&&(he=i.relatedTarget||i.fromElement)&&(Mt(he)||he[Ze]))break e;if((Q||X)&&(X=W.window===W?W:(X=W.ownerDocument)?X.defaultView||X.parentWindow:window,Q?(he=i.relatedTarget||i.toElement,Q=$,he=he?Mt(he):null,he!==null&&(dt=l(he),Ne=he.tag,he!==dt||Ne!==5&&Ne!==27&&Ne!==6)&&(he=null)):(Q=null,he=$),Q!==he)){if(Ne=F0,ee="onMouseLeave",q="onMouseEnter",H="mouse",(e==="pointerout"||e==="pointerover")&&(Ne=Q0,ee="onPointerLeave",q="onPointerEnter",H="pointer"),dt=Q==null?X:An(Q),I=he==null?X:An(he),X=new Ne(ee,H+"leave",Q,i,W),X.target=dt,X.relatedTarget=I,ee=null,Mt(W)===$&&(Ne=new Ne(q,H+"enter",he,i,W),Ne.target=I,Ne.relatedTarget=dt,ee=Ne),dt=ee,Q&&he)t:{for(Ne=d4,q=Q,H=he,I=0,ee=q;ee;ee=Ne(ee))I++;ee=0;for(var we=H;we;we=Ne(we))ee++;for(;0<I-ee;)q=Ne(q),I--;for(;0<ee-I;)H=Ne(H),ee--;for(;I--;){if(q===H||H!==null&&q===H.alternate){Ne=q;break t}q=Ne(q),H=Ne(H)}Ne=null}else Ne=null;Q!==null&&Bv(te,X,Q,Ne,!1),he!==null&&dt!==null&&Bv(te,dt,he,Ne,!0)}}e:{if(X=$?An($):window,Q=X.nodeName&&X.nodeName.toLowerCase(),Q==="select"||Q==="input"&&X.type==="file")var Je=a1;else if(t1(X))if(n1)Je=N5;else{Je=b5;var ye=v5}else Q=X.nodeName,!Q||Q.toLowerCase()!=="input"||X.type!=="checkbox"&&X.type!=="radio"?$&&Hp($.elementType)&&(Je=a1):Je=w5;if(Je&&(Je=Je(e,$))){s1(te,Je,i,W);break e}ye&&ye(e,X,$),e==="focusout"&&$&&X.type==="number"&&$.memoizedProps.value!=null&&Lp(X,"number",X.value)}switch(ye=$?An($):window,e){case"focusin":(t1(ye)||ye.contentEditable==="true")&&(Co=ye,Wp=$,Wc=null);break;case"focusout":Wc=Wp=Co=null;break;case"mousedown":Jp=!0;break;case"contextmenu":case"mouseup":case"dragend":Jp=!1,f1(te,i,W);break;case"selectionchange":if(_5)break;case"keydown":case"keyup":f1(te,i,W)}var Oe;if(Xp)e:{switch(e){case"compositionstart":var Xe="onCompositionStart";break e;case"compositionend":Xe="onCompositionEnd";break e;case"compositionupdate":Xe="onCompositionUpdate";break e}Xe=void 0}else jo?J0(e,i)&&(Xe="onCompositionEnd"):e==="keydown"&&i.keyCode===229&&(Xe="onCompositionStart");Xe&&(K0&&i.locale!=="ko"&&(jo||Xe!=="onCompositionStart"?Xe==="onCompositionEnd"&&jo&&(Oe=V0()):(Pr=W,Gp="value"in Pr?Pr.value:Pr.textContent,jo=!0)),ye=Rd($,Xe),0<ye.length&&(Xe=new X0(Xe,e,null,i,W),te.push({event:Xe,listeners:ye}),Oe?Xe.data=Oe:(Oe=e1(i),Oe!==null&&(Xe.data=Oe)))),(Oe=h5?m5(e,i):g5(e,i))&&(Xe=Rd($,"onBeforeInput"),0<Xe.length&&(ye=new X0("onBeforeInput","beforeinput",null,i,W),te.push({event:ye,listeners:Xe}),ye.data=Oe)),o4(te,e,$,i,W)}Hv(te,s)})}function Sl(e,s,i){return{instance:e,listener:s,currentTarget:i}}function Rd(e,s){for(var i=s+"Capture",u=[];e!==null;){var p=e,g=p.stateNode;if(p=p.tag,p!==5&&p!==26&&p!==27||g===null||(p=Ic(e,i),p!=null&&u.unshift(Sl(e,p,g)),p=Ic(e,s),p!=null&&u.push(Sl(e,p,g))),e.tag===3)return u;e=e.return}return[]}function d4(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Bv(e,s,i,u,p){for(var g=s._reactName,b=[];i!==null&&i!==u;){var C=i,z=C.alternate,$=C.stateNode;if(C=C.tag,z!==null&&z===u)break;C!==5&&C!==26&&C!==27||$===null||(z=$,p?($=Ic(i,g),$!=null&&b.unshift(Sl(i,$,z))):p||($=Ic(i,g),$!=null&&b.push(Sl(i,$,z)))),i=i.return}b.length!==0&&e.push({event:s,listeners:b})}var f4=/\r\n?/g,p4=/\u0000|\uFFFD/g;function Yv(e){return(typeof e=="string"?e:""+e).replace(f4,`
`).replace(p4,"")}function qv(e,s){return s=Yv(s),Yv(e)===s}function ut(e,s,i,u,p,g){switch(i){case"children":typeof u=="string"?s==="body"||s==="textarea"&&u===""||No(e,u):(typeof u=="number"||typeof u=="bigint")&&s!=="body"&&No(e,""+u);break;case"className":zu(e,"class",u);break;case"tabIndex":zu(e,"tabindex",u);break;case"dir":case"role":case"viewBox":case"width":case"height":zu(e,i,u);break;case"style":q0(e,u,g);break;case"data":if(s!=="object"){zu(e,"data",u);break}case"src":case"href":if(u===""&&(s!=="a"||i!=="href")){e.removeAttribute(i);break}if(u==null||typeof u=="function"||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}u=Hu(""+u),e.setAttribute(i,u);break;case"action":case"formAction":if(typeof u=="function"){e.setAttribute(i,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof g=="function"&&(i==="formAction"?(s!=="input"&&ut(e,s,"name",p.name,p,null),ut(e,s,"formEncType",p.formEncType,p,null),ut(e,s,"formMethod",p.formMethod,p,null),ut(e,s,"formTarget",p.formTarget,p,null)):(ut(e,s,"encType",p.encType,p,null),ut(e,s,"method",p.method,p,null),ut(e,s,"target",p.target,p,null)));if(u==null||typeof u=="symbol"||typeof u=="boolean"){e.removeAttribute(i);break}u=Hu(""+u),e.setAttribute(i,u);break;case"onClick":u!=null&&(e.onclick=tr);break;case"onScroll":u!=null&&Ve("scroll",e);break;case"onScrollEnd":u!=null&&Ve("scrollend",e);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(n(61));if(i=u.__html,i!=null){if(p.children!=null)throw Error(n(60));e.innerHTML=i}}break;case"multiple":e.multiple=u&&typeof u!="function"&&typeof u!="symbol";break;case"muted":e.muted=u&&typeof u!="function"&&typeof u!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(u==null||typeof u=="function"||typeof u=="boolean"||typeof u=="symbol"){e.removeAttribute("xlink:href");break}i=Hu(""+u),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",i);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,""+u):e.removeAttribute(i);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":u&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,""):e.removeAttribute(i);break;case"capture":case"download":u===!0?e.setAttribute(i,""):u!==!1&&u!=null&&typeof u!="function"&&typeof u!="symbol"?e.setAttribute(i,u):e.removeAttribute(i);break;case"cols":case"rows":case"size":case"span":u!=null&&typeof u!="function"&&typeof u!="symbol"&&!isNaN(u)&&1<=u?e.setAttribute(i,u):e.removeAttribute(i);break;case"rowSpan":case"start":u==null||typeof u=="function"||typeof u=="symbol"||isNaN(u)?e.removeAttribute(i):e.setAttribute(i,u);break;case"popover":Ve("beforetoggle",e),Ve("toggle",e),Pu(e,"popover",u);break;case"xlinkActuate":er(e,"http://www.w3.org/1999/xlink","xlink:actuate",u);break;case"xlinkArcrole":er(e,"http://www.w3.org/1999/xlink","xlink:arcrole",u);break;case"xlinkRole":er(e,"http://www.w3.org/1999/xlink","xlink:role",u);break;case"xlinkShow":er(e,"http://www.w3.org/1999/xlink","xlink:show",u);break;case"xlinkTitle":er(e,"http://www.w3.org/1999/xlink","xlink:title",u);break;case"xlinkType":er(e,"http://www.w3.org/1999/xlink","xlink:type",u);break;case"xmlBase":er(e,"http://www.w3.org/XML/1998/namespace","xml:base",u);break;case"xmlLang":er(e,"http://www.w3.org/XML/1998/namespace","xml:lang",u);break;case"xmlSpace":er(e,"http://www.w3.org/XML/1998/namespace","xml:space",u);break;case"is":Pu(e,"is",u);break;case"innerText":case"textContent":break;default:(!(2<i.length)||i[0]!=="o"&&i[0]!=="O"||i[1]!=="n"&&i[1]!=="N")&&(i=Yj.get(i)||i,Pu(e,i,u))}}function _m(e,s,i,u,p,g){switch(i){case"style":q0(e,u,g);break;case"dangerouslySetInnerHTML":if(u!=null){if(typeof u!="object"||!("__html"in u))throw Error(n(61));if(i=u.__html,i!=null){if(p.children!=null)throw Error(n(60));e.innerHTML=i}}break;case"children":typeof u=="string"?No(e,u):(typeof u=="number"||typeof u=="bigint")&&No(e,""+u);break;case"onScroll":u!=null&&Ve("scroll",e);break;case"onScrollEnd":u!=null&&Ve("scrollend",e);break;case"onClick":u!=null&&(e.onclick=tr);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":break;case"innerText":case"textContent":break;default:if(!bo.hasOwnProperty(i))e:{if(i[0]==="o"&&i[1]==="n"&&(p=i.endsWith("Capture"),s=i.slice(2,p?i.length-7:void 0),g=e[Le]||null,g=g!=null?g[i]:null,typeof g=="function"&&e.removeEventListener(s,g,p),typeof u=="function")){typeof g!="function"&&g!==null&&(i in e?e[i]=null:e.hasAttribute(i)&&e.removeAttribute(i)),e.addEventListener(s,u,p);break e}i in e?e[i]=u:u===!0?e.setAttribute(i,""):Pu(e,i,u)}}}function ys(e,s,i){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Ve("error",e),Ve("load",e);var u=!1,p=!1,g;for(g in i)if(i.hasOwnProperty(g)){var b=i[g];if(b!=null)switch(g){case"src":u=!0;break;case"srcSet":p=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(n(137,s));default:ut(e,s,g,b,i,null)}}p&&ut(e,s,"srcSet",i.srcSet,i,null),u&&ut(e,s,"src",i.src,i,null);return;case"input":Ve("invalid",e);var C=g=b=p=null,z=null,$=null;for(u in i)if(i.hasOwnProperty(u)){var W=i[u];if(W!=null)switch(u){case"name":p=W;break;case"type":b=W;break;case"checked":z=W;break;case"defaultChecked":$=W;break;case"value":g=W;break;case"defaultValue":C=W;break;case"children":case"dangerouslySetInnerHTML":if(W!=null)throw Error(n(137,s));break;default:ut(e,s,u,W,i,null)}}H0(e,g,C,z,$,b,p,!1);return;case"select":Ve("invalid",e),u=b=g=null;for(p in i)if(i.hasOwnProperty(p)&&(C=i[p],C!=null))switch(p){case"value":g=C;break;case"defaultValue":b=C;break;case"multiple":u=C;default:ut(e,s,p,C,i,null)}s=g,i=b,e.multiple=!!u,s!=null?wo(e,!!u,s,!1):i!=null&&wo(e,!!u,i,!0);return;case"textarea":Ve("invalid",e),g=p=u=null;for(b in i)if(i.hasOwnProperty(b)&&(C=i[b],C!=null))switch(b){case"value":u=C;break;case"defaultValue":p=C;break;case"children":g=C;break;case"dangerouslySetInnerHTML":if(C!=null)throw Error(n(91));break;default:ut(e,s,b,C,i,null)}B0(e,u,p,g);return;case"option":for(z in i)i.hasOwnProperty(z)&&(u=i[z],u!=null)&&(z==="selected"?e.selected=u&&typeof u!="function"&&typeof u!="symbol":ut(e,s,z,u,i,null));return;case"dialog":Ve("beforetoggle",e),Ve("toggle",e),Ve("cancel",e),Ve("close",e);break;case"iframe":case"object":Ve("load",e);break;case"video":case"audio":for(u=0;u<Nl.length;u++)Ve(Nl[u],e);break;case"image":Ve("error",e),Ve("load",e);break;case"details":Ve("toggle",e);break;case"embed":case"source":case"link":Ve("error",e),Ve("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for($ in i)if(i.hasOwnProperty($)&&(u=i[$],u!=null))switch($){case"children":case"dangerouslySetInnerHTML":throw Error(n(137,s));default:ut(e,s,$,u,i,null)}return;default:if(Hp(s)){for(W in i)i.hasOwnProperty(W)&&(u=i[W],u!==void 0&&_m(e,s,W,u,i,void 0));return}}for(C in i)i.hasOwnProperty(C)&&(u=i[C],u!=null&&ut(e,s,C,u,i,null))}function h4(e,s,i,u){switch(s){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var p=null,g=null,b=null,C=null,z=null,$=null,W=null;for(Q in i){var te=i[Q];if(i.hasOwnProperty(Q)&&te!=null)switch(Q){case"checked":break;case"value":break;case"defaultValue":z=te;default:u.hasOwnProperty(Q)||ut(e,s,Q,null,u,te)}}for(var X in u){var Q=u[X];if(te=i[X],u.hasOwnProperty(X)&&(Q!=null||te!=null))switch(X){case"type":g=Q;break;case"name":p=Q;break;case"checked":$=Q;break;case"defaultChecked":W=Q;break;case"value":b=Q;break;case"defaultValue":C=Q;break;case"children":case"dangerouslySetInnerHTML":if(Q!=null)throw Error(n(137,s));break;default:Q!==te&&ut(e,s,X,Q,u,te)}}zp(e,b,C,z,$,W,g,p);return;case"select":Q=b=C=X=null;for(g in i)if(z=i[g],i.hasOwnProperty(g)&&z!=null)switch(g){case"value":break;case"multiple":Q=z;default:u.hasOwnProperty(g)||ut(e,s,g,null,u,z)}for(p in u)if(g=u[p],z=i[p],u.hasOwnProperty(p)&&(g!=null||z!=null))switch(p){case"value":X=g;break;case"defaultValue":C=g;break;case"multiple":b=g;default:g!==z&&ut(e,s,p,g,u,z)}s=C,i=b,u=Q,X!=null?wo(e,!!i,X,!1):!!u!=!!i&&(s!=null?wo(e,!!i,s,!0):wo(e,!!i,i?[]:"",!1));return;case"textarea":Q=X=null;for(C in i)if(p=i[C],i.hasOwnProperty(C)&&p!=null&&!u.hasOwnProperty(C))switch(C){case"value":break;case"children":break;default:ut(e,s,C,null,u,p)}for(b in u)if(p=u[b],g=i[b],u.hasOwnProperty(b)&&(p!=null||g!=null))switch(b){case"value":X=p;break;case"defaultValue":Q=p;break;case"children":break;case"dangerouslySetInnerHTML":if(p!=null)throw Error(n(91));break;default:p!==g&&ut(e,s,b,p,u,g)}U0(e,X,Q);return;case"option":for(var he in i)X=i[he],i.hasOwnProperty(he)&&X!=null&&!u.hasOwnProperty(he)&&(he==="selected"?e.selected=!1:ut(e,s,he,null,u,X));for(z in u)X=u[z],Q=i[z],u.hasOwnProperty(z)&&X!==Q&&(X!=null||Q!=null)&&(z==="selected"?e.selected=X&&typeof X!="function"&&typeof X!="symbol":ut(e,s,z,X,u,Q));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var Ne in i)X=i[Ne],i.hasOwnProperty(Ne)&&X!=null&&!u.hasOwnProperty(Ne)&&ut(e,s,Ne,null,u,X);for($ in u)if(X=u[$],Q=i[$],u.hasOwnProperty($)&&X!==Q&&(X!=null||Q!=null))switch($){case"children":case"dangerouslySetInnerHTML":if(X!=null)throw Error(n(137,s));break;default:ut(e,s,$,X,u,Q)}return;default:if(Hp(s)){for(var dt in i)X=i[dt],i.hasOwnProperty(dt)&&X!==void 0&&!u.hasOwnProperty(dt)&&_m(e,s,dt,void 0,u,X);for(W in u)X=u[W],Q=i[W],!u.hasOwnProperty(W)||X===Q||X===void 0&&Q===void 0||_m(e,s,W,X,u,Q);return}}for(var q in i)X=i[q],i.hasOwnProperty(q)&&X!=null&&!u.hasOwnProperty(q)&&ut(e,s,q,null,u,X);for(te in u)X=u[te],Q=i[te],!u.hasOwnProperty(te)||X===Q||X==null&&Q==null||ut(e,s,te,X,u,Q)}function Gv(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function m4(){if(typeof performance.getEntriesByType=="function"){for(var e=0,s=0,i=performance.getEntriesByType("resource"),u=0;u<i.length;u++){var p=i[u],g=p.transferSize,b=p.initiatorType,C=p.duration;if(g&&C&&Gv(b)){for(b=0,C=p.responseEnd,u+=1;u<i.length;u++){var z=i[u],$=z.startTime;if($>C)break;var W=z.transferSize,te=z.initiatorType;W&&Gv(te)&&(z=z.responseEnd,b+=W*(z<C?1:(C-$)/(z-$)))}if(--u,s+=8*(g+b)/(p.duration/1e3),e++,10<e)break}}if(0<e)return s/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var jm=null,Cm=null;function Od(e){return e.nodeType===9?e:e.ownerDocument}function Iv(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function Vv(e,s){if(e===0)switch(s){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&s==="foreignObject"?0:e}function Em(e,s){return e==="textarea"||e==="noscript"||typeof s.children=="string"||typeof s.children=="number"||typeof s.children=="bigint"||typeof s.dangerouslySetInnerHTML=="object"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Tm=null;function g4(){var e=window.event;return e&&e.type==="popstate"?e===Tm?!1:(Tm=e,!0):(Tm=null,!1)}var $v=typeof setTimeout=="function"?setTimeout:void 0,x4=typeof clearTimeout=="function"?clearTimeout:void 0,Fv=typeof Promise=="function"?Promise:void 0,y4=typeof queueMicrotask=="function"?queueMicrotask:typeof Fv<"u"?function(e){return Fv.resolve(null).then(e).catch(v4)}:$v;function v4(e){setTimeout(function(){throw e})}function Wr(e){return e==="head"}function Xv(e,s){var i=s,u=0;do{var p=i.nextSibling;if(e.removeChild(i),p&&p.nodeType===8)if(i=p.data,i==="/$"||i==="/&"){if(u===0){e.removeChild(p),Jo(s);return}u--}else if(i==="$"||i==="$?"||i==="$~"||i==="$!"||i==="&")u++;else if(i==="html")_l(e.ownerDocument.documentElement);else if(i==="head"){i=e.ownerDocument.head,_l(i);for(var g=i.firstChild;g;){var b=g.nextSibling,C=g.nodeName;g[Dt]||C==="SCRIPT"||C==="STYLE"||C==="LINK"&&g.rel.toLowerCase()==="stylesheet"||i.removeChild(g),g=b}}else i==="body"&&_l(e.ownerDocument.body);i=p}while(i);Jo(s)}function Qv(e,s){var i=e;e=0;do{var u=i.nextSibling;if(i.nodeType===1?s?(i._stashedDisplay=i.style.display,i.style.display="none"):(i.style.display=i._stashedDisplay||"",i.getAttribute("style")===""&&i.removeAttribute("style")):i.nodeType===3&&(s?(i._stashedText=i.nodeValue,i.nodeValue=""):i.nodeValue=i._stashedText||""),u&&u.nodeType===8)if(i=u.data,i==="/$"){if(e===0)break;e--}else i!=="$"&&i!=="$?"&&i!=="$~"&&i!=="$!"||e++;i=u}while(i)}function Am(e){var s=e.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var i=s;switch(s=s.nextSibling,i.nodeName){case"HTML":case"HEAD":case"BODY":Am(i),It(i);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(i.rel.toLowerCase()==="stylesheet")continue}e.removeChild(i)}}function b4(e,s,i,u){for(;e.nodeType===1;){var p=i;if(e.nodeName.toLowerCase()!==s.toLowerCase()){if(!u&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(u){if(!e[Dt])switch(s){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(g=e.getAttribute("rel"),g==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(g!==p.rel||e.getAttribute("href")!==(p.href==null||p.href===""?null:p.href)||e.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin)||e.getAttribute("title")!==(p.title==null?null:p.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(g=e.getAttribute("src"),(g!==(p.src==null?null:p.src)||e.getAttribute("type")!==(p.type==null?null:p.type)||e.getAttribute("crossorigin")!==(p.crossOrigin==null?null:p.crossOrigin))&&g&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(s==="input"&&e.type==="hidden"){var g=p.name==null?null:""+p.name;if(p.type==="hidden"&&e.getAttribute("name")===g)return e}else return e;if(e=Ja(e.nextSibling),e===null)break}return null}function w4(e,s,i){if(s==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!i||(e=Ja(e.nextSibling),e===null))return null;return e}function Kv(e,s){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!s||(e=Ja(e.nextSibling),e===null))return null;return e}function Dm(e){return e.data==="$?"||e.data==="$~"}function Mm(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function N4(e,s){var i=e.ownerDocument;if(e.data==="$~")e._reactRetry=s;else if(e.data!=="$?"||i.readyState!=="loading")s();else{var u=function(){s(),i.removeEventListener("DOMContentLoaded",u)};i.addEventListener("DOMContentLoaded",u),e._reactRetry=u}}function Ja(e){for(;e!=null;e=e.nextSibling){var s=e.nodeType;if(s===1||s===3)break;if(s===8){if(s=e.data,s==="$"||s==="$!"||s==="$?"||s==="$~"||s==="&"||s==="F!"||s==="F")break;if(s==="/$"||s==="/&")return null}}return e}var Rm=null;function Zv(e){e=e.nextSibling;for(var s=0;e;){if(e.nodeType===8){var i=e.data;if(i==="/$"||i==="/&"){if(s===0)return Ja(e.nextSibling);s--}else i!=="$"&&i!=="$!"&&i!=="$?"&&i!=="$~"&&i!=="&"||s++}e=e.nextSibling}return null}function Wv(e){e=e.previousSibling;for(var s=0;e;){if(e.nodeType===8){var i=e.data;if(i==="$"||i==="$!"||i==="$?"||i==="$~"||i==="&"){if(s===0)return e;s--}else i!=="/$"&&i!=="/&"||s++}e=e.previousSibling}return null}function Jv(e,s,i){switch(s=Od(i),e){case"html":if(e=s.documentElement,!e)throw Error(n(452));return e;case"head":if(e=s.head,!e)throw Error(n(453));return e;case"body":if(e=s.body,!e)throw Error(n(454));return e;default:throw Error(n(451))}}function _l(e){for(var s=e.attributes;s.length;)e.removeAttributeNode(s[0]);It(e)}var en=new Map,eb=new Set;function kd(e){return typeof e.getRootNode=="function"?e.getRootNode():e.nodeType===9?e:e.ownerDocument}var xr=F.d;F.d={f:S4,r:_4,D:j4,C:C4,L:E4,m:T4,X:D4,S:A4,M:M4};function S4(){var e=xr.f(),s=jd();return e||s}function _4(e){var s=Xs(e);s!==null&&s.tag===5&&s.type==="form"?xy(s):xr.r(e)}var Ko=typeof document>"u"?null:document;function tb(e,s,i){var u=Ko;if(u&&typeof s=="string"&&s){var p=$a(s);p='link[rel="'+e+'"][href="'+p+'"]',typeof i=="string"&&(p+='[crossorigin="'+i+'"]'),eb.has(p)||(eb.add(p),e={rel:e,crossOrigin:i,href:s},u.querySelector(p)===null&&(s=u.createElement("link"),ys(s,"link",e),Ye(s),u.head.appendChild(s)))}}function j4(e){xr.D(e),tb("dns-prefetch",e,null)}function C4(e,s){xr.C(e,s),tb("preconnect",e,s)}function E4(e,s,i){xr.L(e,s,i);var u=Ko;if(u&&e&&s){var p='link[rel="preload"][as="'+$a(s)+'"]';s==="image"&&i&&i.imageSrcSet?(p+='[imagesrcset="'+$a(i.imageSrcSet)+'"]',typeof i.imageSizes=="string"&&(p+='[imagesizes="'+$a(i.imageSizes)+'"]')):p+='[href="'+$a(e)+'"]';var g=p;switch(s){case"style":g=Zo(e);break;case"script":g=Wo(e)}en.has(g)||(e=y({rel:"preload",href:s==="image"&&i&&i.imageSrcSet?void 0:e,as:s},i),en.set(g,e),u.querySelector(p)!==null||s==="style"&&u.querySelector(jl(g))||s==="script"&&u.querySelector(Cl(g))||(s=u.createElement("link"),ys(s,"link",e),Ye(s),u.head.appendChild(s)))}}function T4(e,s){xr.m(e,s);var i=Ko;if(i&&e){var u=s&&typeof s.as=="string"?s.as:"script",p='link[rel="modulepreload"][as="'+$a(u)+'"][href="'+$a(e)+'"]',g=p;switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":g=Wo(e)}if(!en.has(g)&&(e=y({rel:"modulepreload",href:e},s),en.set(g,e),i.querySelector(p)===null)){switch(u){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(i.querySelector(Cl(g)))return}u=i.createElement("link"),ys(u,"link",e),Ye(u),i.head.appendChild(u)}}}function A4(e,s,i){xr.S(e,s,i);var u=Ko;if(u&&e){var p=Rt(u).hoistableStyles,g=Zo(e);s=s||"default";var b=p.get(g);if(!b){var C={loading:0,preload:null};if(b=u.querySelector(jl(g)))C.loading=5;else{e=y({rel:"stylesheet",href:e,"data-precedence":s},i),(i=en.get(g))&&Om(e,i);var z=b=u.createElement("link");Ye(z),ys(z,"link",e),z._p=new Promise(function($,W){z.onload=$,z.onerror=W}),z.addEventListener("load",function(){C.loading|=1}),z.addEventListener("error",function(){C.loading|=2}),C.loading|=4,Pd(b,s,u)}b={type:"stylesheet",instance:b,count:1,state:C},p.set(g,b)}}}function D4(e,s){xr.X(e,s);var i=Ko;if(i&&e){var u=Rt(i).hoistableScripts,p=Wo(e),g=u.get(p);g||(g=i.querySelector(Cl(p)),g||(e=y({src:e,async:!0},s),(s=en.get(p))&&km(e,s),g=i.createElement("script"),Ye(g),ys(g,"link",e),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(p,g))}}function M4(e,s){xr.M(e,s);var i=Ko;if(i&&e){var u=Rt(i).hoistableScripts,p=Wo(e),g=u.get(p);g||(g=i.querySelector(Cl(p)),g||(e=y({src:e,async:!0,type:"module"},s),(s=en.get(p))&&km(e,s),g=i.createElement("script"),Ye(g),ys(g,"link",e),i.head.appendChild(g)),g={type:"script",instance:g,count:1,state:null},u.set(p,g))}}function sb(e,s,i,u){var p=(p=pe.current)?kd(p):null;if(!p)throw Error(n(446));switch(e){case"meta":case"title":return null;case"style":return typeof i.precedence=="string"&&typeof i.href=="string"?(s=Zo(i.href),i=Rt(p).hoistableStyles,u=i.get(s),u||(u={type:"style",instance:null,count:0,state:null},i.set(s,u)),u):{type:"void",instance:null,count:0,state:null};case"link":if(i.rel==="stylesheet"&&typeof i.href=="string"&&typeof i.precedence=="string"){e=Zo(i.href);var g=Rt(p).hoistableStyles,b=g.get(e);if(b||(p=p.ownerDocument||p,b={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},g.set(e,b),(g=p.querySelector(jl(e)))&&!g._p&&(b.instance=g,b.state.loading=5),en.has(e)||(i={rel:"preload",as:"style",href:i.href,crossOrigin:i.crossOrigin,integrity:i.integrity,media:i.media,hrefLang:i.hrefLang,referrerPolicy:i.referrerPolicy},en.set(e,i),g||R4(p,e,i,b.state))),s&&u===null)throw Error(n(528,""));return b}if(s&&u!==null)throw Error(n(529,""));return null;case"script":return s=i.async,i=i.src,typeof i=="string"&&s&&typeof s!="function"&&typeof s!="symbol"?(s=Wo(i),i=Rt(p).hoistableScripts,u=i.get(s),u||(u={type:"script",instance:null,count:0,state:null},i.set(s,u)),u):{type:"void",instance:null,count:0,state:null};default:throw Error(n(444,e))}}function Zo(e){return'href="'+$a(e)+'"'}function jl(e){return'link[rel="stylesheet"]['+e+"]"}function ab(e){return y({},e,{"data-precedence":e.precedence,precedence:null})}function R4(e,s,i,u){e.querySelector('link[rel="preload"][as="style"]['+s+"]")?u.loading=1:(s=e.createElement("link"),u.preload=s,s.addEventListener("load",function(){return u.loading|=1}),s.addEventListener("error",function(){return u.loading|=2}),ys(s,"link",i),Ye(s),e.head.appendChild(s))}function Wo(e){return'[src="'+$a(e)+'"]'}function Cl(e){return"script[async]"+e}function nb(e,s,i){if(s.count++,s.instance===null)switch(s.type){case"style":var u=e.querySelector('style[data-href~="'+$a(i.href)+'"]');if(u)return s.instance=u,Ye(u),u;var p=y({},i,{"data-href":i.href,"data-precedence":i.precedence,href:null,precedence:null});return u=(e.ownerDocument||e).createElement("style"),Ye(u),ys(u,"style",p),Pd(u,i.precedence,e),s.instance=u;case"stylesheet":p=Zo(i.href);var g=e.querySelector(jl(p));if(g)return s.state.loading|=4,s.instance=g,Ye(g),g;u=ab(i),(p=en.get(p))&&Om(u,p),g=(e.ownerDocument||e).createElement("link"),Ye(g);var b=g;return b._p=new Promise(function(C,z){b.onload=C,b.onerror=z}),ys(g,"link",u),s.state.loading|=4,Pd(g,i.precedence,e),s.instance=g;case"script":return g=Wo(i.src),(p=e.querySelector(Cl(g)))?(s.instance=p,Ye(p),p):(u=i,(p=en.get(g))&&(u=y({},i),km(u,p)),e=e.ownerDocument||e,p=e.createElement("script"),Ye(p),ys(p,"link",u),e.head.appendChild(p),s.instance=p);case"void":return null;default:throw Error(n(443,s.type))}else s.type==="stylesheet"&&(s.state.loading&4)===0&&(u=s.instance,s.state.loading|=4,Pd(u,i.precedence,e));return s.instance}function Pd(e,s,i){for(var u=i.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),p=u.length?u[u.length-1]:null,g=p,b=0;b<u.length;b++){var C=u[b];if(C.dataset.precedence===s)g=C;else if(g!==p)break}g?g.parentNode.insertBefore(e,g.nextSibling):(s=i.nodeType===9?i.head:i,s.insertBefore(e,s.firstChild))}function Om(e,s){e.crossOrigin==null&&(e.crossOrigin=s.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=s.referrerPolicy),e.title==null&&(e.title=s.title)}function km(e,s){e.crossOrigin==null&&(e.crossOrigin=s.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=s.referrerPolicy),e.integrity==null&&(e.integrity=s.integrity)}var zd=null;function rb(e,s,i){if(zd===null){var u=new Map,p=zd=new Map;p.set(i,u)}else p=zd,u=p.get(i),u||(u=new Map,p.set(i,u));if(u.has(e))return u;for(u.set(e,null),i=i.getElementsByTagName(e),p=0;p<i.length;p++){var g=i[p];if(!(g[Dt]||g[Pe]||e==="link"&&g.getAttribute("rel")==="stylesheet")&&g.namespaceURI!=="http://www.w3.org/2000/svg"){var b=g.getAttribute(s)||"";b=e+b;var C=u.get(b);C?C.push(g):u.set(b,[g])}}return u}function ib(e,s,i){e=e.ownerDocument||e,e.head.insertBefore(i,s==="title"?e.querySelector("head > title"):null)}function O4(e,s,i){if(i===1||s.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof s.precedence!="string"||typeof s.href!="string"||s.href==="")break;return!0;case"link":if(typeof s.rel!="string"||typeof s.href!="string"||s.href===""||s.onLoad||s.onError)break;return s.rel==="stylesheet"?(e=s.disabled,typeof s.precedence=="string"&&e==null):!0;case"script":if(s.async&&typeof s.async!="function"&&typeof s.async!="symbol"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src=="string")return!0}return!1}function ob(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function k4(e,s,i,u){if(i.type==="stylesheet"&&(typeof u.media!="string"||matchMedia(u.media).matches!==!1)&&(i.state.loading&4)===0){if(i.instance===null){var p=Zo(u.href),g=s.querySelector(jl(p));if(g){s=g._p,s!==null&&typeof s=="object"&&typeof s.then=="function"&&(e.count++,e=Ld.bind(e),s.then(e,e)),i.state.loading|=4,i.instance=g,Ye(g);return}g=s.ownerDocument||s,u=ab(u),(p=en.get(p))&&Om(u,p),g=g.createElement("link"),Ye(g);var b=g;b._p=new Promise(function(C,z){b.onload=C,b.onerror=z}),ys(g,"link",u),i.instance=g}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(i,s),(s=i.state.preload)&&(i.state.loading&3)===0&&(e.count++,i=Ld.bind(e),s.addEventListener("load",i),s.addEventListener("error",i))}}var Pm=0;function P4(e,s){return e.stylesheets&&e.count===0&&Ud(e,e.stylesheets),0<e.count||0<e.imgCount?function(i){var u=setTimeout(function(){if(e.stylesheets&&Ud(e,e.stylesheets),e.unsuspend){var g=e.unsuspend;e.unsuspend=null,g()}},6e4+s);0<e.imgBytes&&Pm===0&&(Pm=62500*m4());var p=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&Ud(e,e.stylesheets),e.unsuspend)){var g=e.unsuspend;e.unsuspend=null,g()}},(e.imgBytes>Pm?50:800)+s);return e.unsuspend=i,function(){e.unsuspend=null,clearTimeout(u),clearTimeout(p)}}:null}function Ld(){if(this.count--,this.count===0&&(this.imgCount===0||!this.waitingForImages)){if(this.stylesheets)Ud(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}}var Hd=null;function Ud(e,s){e.stylesheets=null,e.unsuspend!==null&&(e.count++,Hd=new Map,s.forEach(z4,e),Hd=null,Ld.call(e))}function z4(e,s){if(!(s.state.loading&4)){var i=Hd.get(e);if(i)var u=i.get(null);else{i=new Map,Hd.set(e,i);for(var p=e.querySelectorAll("link[data-precedence],style[data-precedence]"),g=0;g<p.length;g++){var b=p[g];(b.nodeName==="LINK"||b.getAttribute("media")!=="not all")&&(i.set(b.dataset.precedence,b),u=b)}u&&i.set(null,u)}p=s.instance,b=p.getAttribute("data-precedence"),g=i.get(b)||u,g===u&&i.set(null,p),i.set(b,p),this.count++,u=Ld.bind(this),p.addEventListener("load",u),p.addEventListener("error",u),g?g.parentNode.insertBefore(p,g.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(p,e.firstChild)),s.state.loading|=4}}var El={$$typeof:O,Provider:null,Consumer:null,_currentValue:T,_currentValue2:T,_threadCount:0};function L4(e,s,i,u,p,g,b,C,z){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=_e(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=_e(0),this.hiddenUpdates=_e(null),this.identifierPrefix=u,this.onUncaughtError=p,this.onCaughtError=g,this.onRecoverableError=b,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=z,this.incompleteTransitions=new Map}function cb(e,s,i,u,p,g,b,C,z,$,W,te){return e=new L4(e,s,i,b,z,$,W,te,C),s=1,g===!0&&(s|=24),g=ha(3,null,null,s),e.current=g,g.stateNode=e,s=hh(),s.refCount++,e.pooledCache=s,s.refCount++,g.memoizedState={element:u,isDehydrated:i,cache:s},yh(g),e}function lb(e){return e?(e=Ao,e):Ao}function ub(e,s,i,u,p,g){p=lb(p),u.context===null?u.context=p:u.pendingContext=p,u=Yr(s),u.payload={element:i},g=g===void 0?null:g,g!==null&&(u.callback=g),i=qr(e,u,s),i!==null&&(ea(i,e,s),rl(i,e,s))}function db(e,s){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var i=e.retryLane;e.retryLane=i!==0&&i<s?i:s}}function zm(e,s){db(e,s),(e=e.alternate)&&db(e,s)}function fb(e){if(e.tag===13||e.tag===31){var s=Di(e,67108864);s!==null&&ea(s,e,67108864),zm(e,67108864)}}function pb(e){if(e.tag===13||e.tag===31){var s=va();s=Se(s);var i=Di(e,s);i!==null&&ea(i,e,s),zm(e,s)}}var Bd=!0;function H4(e,s,i,u){var p=U.T;U.T=null;var g=F.p;try{F.p=2,Lm(e,s,i,u)}finally{F.p=g,U.T=p}}function U4(e,s,i,u){var p=U.T;U.T=null;var g=F.p;try{F.p=8,Lm(e,s,i,u)}finally{F.p=g,U.T=p}}function Lm(e,s,i,u){if(Bd){var p=Hm(u);if(p===null)Sm(e,s,u,Yd,i),mb(e,u);else if(Y4(p,e,s,i,u))u.stopPropagation();else if(mb(e,u),s&4&&-1<B4.indexOf(e)){for(;p!==null;){var g=Xs(p);if(g!==null)switch(g.tag){case 3:if(g=g.stateNode,g.current.memoizedState.isDehydrated){var b=as(g.pendingLanes);if(b!==0){var C=g;for(C.pendingLanes|=2,C.entangledLanes|=2;b;){var z=1<<31-Kt(b);C.entanglements[1]|=z,b&=~z}Pn(g),(tt&6)===0&&(Sd=Gt()+500,wl(0))}}break;case 31:case 13:C=Di(g,2),C!==null&&ea(C,g,2),jd(),zm(g,2)}if(g=Hm(u),g===null&&Sm(e,s,u,Yd,i),g===p)break;p=g}p!==null&&u.stopPropagation()}else Sm(e,s,u,null,i)}}function Hm(e){return e=Bp(e),Um(e)}var Yd=null;function Um(e){if(Yd=null,e=Mt(e),e!==null){var s=l(e);if(s===null)e=null;else{var i=s.tag;if(i===13){if(e=d(s),e!==null)return e;e=null}else if(i===31){if(e=f(s),e!==null)return e;e=null}else if(i===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;e=null}else s!==e&&(e=null)}}return Yd=e,null}function hb(e){switch(e){case"beforetoggle":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"toggle":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 2;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"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Qt()){case pn:return 2;case St:return 8;case _s:case Fs:return 32;case Ua:return 268435456;default:return 32}default:return 32}}var Bm=!1,Jr=null,ei=null,ti=null,Tl=new Map,Al=new Map,si=[],B4="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".split(" ");function mb(e,s){switch(e){case"focusin":case"focusout":Jr=null;break;case"dragenter":case"dragleave":ei=null;break;case"mouseover":case"mouseout":ti=null;break;case"pointerover":case"pointerout":Tl.delete(s.pointerId);break;case"gotpointercapture":case"lostpointercapture":Al.delete(s.pointerId)}}function Dl(e,s,i,u,p,g){return e===null||e.nativeEvent!==g?(e={blockedOn:s,domEventName:i,eventSystemFlags:u,nativeEvent:g,targetContainers:[p]},s!==null&&(s=Xs(s),s!==null&&fb(s)),e):(e.eventSystemFlags|=u,s=e.targetContainers,p!==null&&s.indexOf(p)===-1&&s.push(p),e)}function Y4(e,s,i,u,p){switch(s){case"focusin":return Jr=Dl(Jr,e,s,i,u,p),!0;case"dragenter":return ei=Dl(ei,e,s,i,u,p),!0;case"mouseover":return ti=Dl(ti,e,s,i,u,p),!0;case"pointerover":var g=p.pointerId;return Tl.set(g,Dl(Tl.get(g)||null,e,s,i,u,p)),!0;case"gotpointercapture":return g=p.pointerId,Al.set(g,Dl(Al.get(g)||null,e,s,i,u,p)),!0}return!1}function gb(e){var s=Mt(e.target);if(s!==null){var i=l(s);if(i!==null){if(s=i.tag,s===13){if(s=d(i),s!==null){e.blockedOn=s,_t(e.priority,function(){pb(i)});return}}else if(s===31){if(s=f(i),s!==null){e.blockedOn=s,_t(e.priority,function(){pb(i)});return}}else if(s===3&&i.stateNode.current.memoizedState.isDehydrated){e.blockedOn=i.tag===3?i.stateNode.containerInfo:null;return}}}e.blockedOn=null}function qd(e){if(e.blockedOn!==null)return!1;for(var s=e.targetContainers;0<s.length;){var i=Hm(e.nativeEvent);if(i===null){i=e.nativeEvent;var u=new i.constructor(i.type,i);Up=u,i.target.dispatchEvent(u),Up=null}else return s=Xs(i),s!==null&&fb(s),e.blockedOn=i,!1;s.shift()}return!0}function xb(e,s,i){qd(e)&&i.delete(s)}function q4(){Bm=!1,Jr!==null&&qd(Jr)&&(Jr=null),ei!==null&&qd(ei)&&(ei=null),ti!==null&&qd(ti)&&(ti=null),Tl.forEach(xb),Al.forEach(xb)}function Gd(e,s){e.blockedOn===s&&(e.blockedOn=null,Bm||(Bm=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,q4)))}var Id=null;function yb(e){Id!==e&&(Id=e,a.unstable_scheduleCallback(a.unstable_NormalPriority,function(){Id===e&&(Id=null);for(var s=0;s<e.length;s+=3){var i=e[s],u=e[s+1],p=e[s+2];if(typeof u!="function"){if(Um(u||i)===null)continue;break}var g=Xs(i);g!==null&&(e.splice(s,3),s-=3,Hh(g,{pending:!0,data:p,method:i.method,action:u},u,p))}}))}function Jo(e){function s(z){return Gd(z,e)}Jr!==null&&Gd(Jr,e),ei!==null&&Gd(ei,e),ti!==null&&Gd(ti,e),Tl.forEach(s),Al.forEach(s);for(var i=0;i<si.length;i++){var u=si[i];u.blockedOn===e&&(u.blockedOn=null)}for(;0<si.length&&(i=si[0],i.blockedOn===null);)gb(i),i.blockedOn===null&&si.shift();if(i=(e.ownerDocument||e).$$reactFormReplay,i!=null)for(u=0;u<i.length;u+=3){var p=i[u],g=i[u+1],b=p[Le]||null;if(typeof g=="function")b||yb(i);else if(b){var C=null;if(g&&g.hasAttribute("formAction")){if(p=g,b=g[Le]||null)C=b.formAction;else if(Um(p)!==null)continue}else C=b.action;typeof C=="function"?i[u+1]=C:(i.splice(u,3),u-=3),yb(i)}}}function vb(){function e(g){g.canIntercept&&g.info==="react-transition"&&g.intercept({handler:function(){return new Promise(function(b){return p=b})},focusReset:"manual",scroll:"manual"})}function s(){p!==null&&(p(),p=null),u||setTimeout(i,20)}function i(){if(!u&&!navigation.transition){var g=navigation.currentEntry;g&&g.url!=null&&navigation.navigate(g.url,{state:g.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var u=!1,p=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",s),navigation.addEventListener("navigateerror",s),setTimeout(i,100),function(){u=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",s),navigation.removeEventListener("navigateerror",s),p!==null&&(p(),p=null)}}}function Ym(e){this._internalRoot=e}Vd.prototype.render=Ym.prototype.render=function(e){var s=this._internalRoot;if(s===null)throw Error(n(409));var i=s.current,u=va();ub(i,u,e,s,null,null)},Vd.prototype.unmount=Ym.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var s=e.containerInfo;ub(e.current,2,null,e,null,null),jd(),s[Ze]=null}};function Vd(e){this._internalRoot=e}Vd.prototype.unstable_scheduleHydration=function(e){if(e){var s=Be();e={blockedOn:null,target:e,priority:s};for(var i=0;i<si.length&&s!==0&&s<si[i].priority;i++);si.splice(i,0,e),i===0&&gb(e)}};var bb=t.version;if(bb!=="19.2.3")throw Error(n(527,bb,"19.2.3"));F.findDOMNode=function(e){var s=e._reactInternals;if(s===void 0)throw typeof e.render=="function"?Error(n(188)):(e=Object.keys(e).join(","),Error(n(268,e)));return e=m(s),e=e!==null?x(e):null,e=e===null?null:e.stateNode,e};var G4={bundleType:0,version:"19.2.3",rendererPackageName:"react-dom",currentDispatcherRef:U,reconcilerVersion:"19.2.3"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var $d=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!$d.isDisabled&&$d.supportsFiber)try{En=$d.inject(G4),At=$d}catch{}}return Rl.createRoot=function(e,s){if(!o(e))throw Error(n(299));var i=!1,u="",p=Ey,g=Ty,b=Ay;return s!=null&&(s.unstable_strictMode===!0&&(i=!0),s.identifierPrefix!==void 0&&(u=s.identifierPrefix),s.onUncaughtError!==void 0&&(p=s.onUncaughtError),s.onCaughtError!==void 0&&(g=s.onCaughtError),s.onRecoverableError!==void 0&&(b=s.onRecoverableError)),s=cb(e,1,!1,null,null,i,u,null,p,g,b,vb),e[Ze]=s.current,Nm(e),new Ym(s)},Rl.hydrateRoot=function(e,s,i){if(!o(e))throw Error(n(299));var u=!1,p="",g=Ey,b=Ty,C=Ay,z=null;return i!=null&&(i.unstable_strictMode===!0&&(u=!0),i.identifierPrefix!==void 0&&(p=i.identifierPrefix),i.onUncaughtError!==void 0&&(g=i.onUncaughtError),i.onCaughtError!==void 0&&(b=i.onCaughtError),i.onRecoverableError!==void 0&&(C=i.onRecoverableError),i.formState!==void 0&&(z=i.formState)),s=cb(e,1,!0,s,i??null,u,p,z,g,b,C,vb),s.context=lb(null),i=s.current,u=va(),u=Se(u),p=Yr(u),p.callback=null,qr(i,p,u),i=u,s.current.lanes=i,ve(s,i),Pn(s),e[Ze]=s.current,Nm(e),new Vd(s)},Rl.version="19.2.3",Rl}var Db;function J4(){if(Db)return Im.exports;Db=1;function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(t){console.error(t)}}return a(),Im.exports=W4(),Im.exports}var e3=J4(),Xm,Mb;function t3(){if(Mb)return Xm;Mb=1;var a=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function o(l,d){if(l===d)return!0;if(l&&d&&typeof l=="object"&&typeof d=="object"){if(l.constructor!==d.constructor)return!1;var f,h,m;if(Array.isArray(l)){if(f=l.length,f!=d.length)return!1;for(h=f;h--!==0;)if(!o(l[h],d[h]))return!1;return!0}var x;if(t&&l instanceof Map&&d instanceof Map){if(l.size!==d.size)return!1;for(x=l.entries();!(h=x.next()).done;)if(!d.has(h.value[0]))return!1;for(x=l.entries();!(h=x.next()).done;)if(!o(h.value[1],d.get(h.value[0])))return!1;return!0}if(r&&l instanceof Set&&d instanceof Set){if(l.size!==d.size)return!1;for(x=l.entries();!(h=x.next()).done;)if(!d.has(h.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(l)&&ArrayBuffer.isView(d)){if(f=l.length,f!=d.length)return!1;for(h=f;h--!==0;)if(l[h]!==d[h])return!1;return!0}if(l.constructor===RegExp)return l.source===d.source&&l.flags===d.flags;if(l.valueOf!==Object.prototype.valueOf&&typeof l.valueOf=="function"&&typeof d.valueOf=="function")return l.valueOf()===d.valueOf();if(l.toString!==Object.prototype.toString&&typeof l.toString=="function"&&typeof d.toString=="function")return l.toString()===d.toString();if(m=Object.keys(l),f=m.length,f!==Object.keys(d).length)return!1;for(h=f;h--!==0;)if(!Object.prototype.hasOwnProperty.call(d,m[h]))return!1;if(a&&l instanceof Element)return!1;for(h=f;h--!==0;)if(!((m[h]==="_owner"||m[h]==="__v"||m[h]==="__o")&&l.$$typeof)&&!o(l[m[h]],d[m[h]]))return!1;return!0}return l!==l&&d!==d}return Xm=function(d,f){try{return o(d,f)}catch(h){if((h.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw h}},Xm}var s3=t3();const a3=_u(s3);var Qm,Rb;function n3(){if(Rb)return Qm;Rb=1;var a=function(t,r,n,o,l,d,f,h){if(!t){var m;if(r===void 0)m=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var x=[n,o,l,d,f,h],y=0;m=new Error(r.replace(/%s/g,function(){return x[y++]})),m.name="Invariant Violation"}throw m.framesToPop=1,m}};return Qm=a,Qm}var r3=n3();const Ob=_u(r3);var Km,kb;function i3(){return kb||(kb=1,Km=function(t,r,n,o){var l=n?n.call(o,t,r):void 0;if(l!==void 0)return!!l;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var d=Object.keys(t),f=Object.keys(r);if(d.length!==f.length)return!1;for(var h=Object.prototype.hasOwnProperty.bind(r),m=0;m<d.length;m++){var x=d[m];if(!h(x))return!1;var y=t[x],N=r[x];if(l=n?n.call(o,y,N,x):void 0,l===!1||l===void 0&&y!==N)return!1}return!0}),Km}var o3=i3();const c3=_u(o3);var vw=(a=>(a.BASE="base",a.BODY="body",a.HEAD="head",a.HTML="html",a.LINK="link",a.META="meta",a.NOSCRIPT="noscript",a.SCRIPT="script",a.STYLE="style",a.TITLE="title",a.FRAGMENT="Symbol(react.fragment)",a))(vw||{}),Zm={link:{rel:["amphtml","canonical","alternate"]},script:{type:["application/ld+json"]},meta:{charset:"",name:["generator","robots","description"],property:["og:type","og:title","og:url","og:image","og:image:alt","og:description","twitter:url","twitter:title","twitter:description","twitter:image","twitter:image:alt","twitter:card","twitter:site"]}},Pb=Object.values(vw),rp={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},bw=Object.entries(rp).reduce((a,[t,r])=>(a[r]=t,a),{}),bn="data-rh",mc={DEFAULT_TITLE:"defaultTitle",DEFER:"defer",ENCODE_SPECIAL_CHARACTERS:"encodeSpecialCharacters",ON_CHANGE_CLIENT_STATE:"onChangeClientState",TITLE_TEMPLATE:"titleTemplate",PRIORITIZE_SEO_TAGS:"prioritizeSeoTags"},gc=(a,t)=>{for(let r=a.length-1;r>=0;r-=1){const n=a[r];if(Object.prototype.hasOwnProperty.call(n,t))return n[t]}return null},l3=a=>{let t=gc(a,"title");const r=gc(a,mc.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,()=>t);const n=gc(a,mc.DEFAULT_TITLE);return t||n||void 0},u3=a=>gc(a,mc.ON_CHANGE_CLIENT_STATE)||(()=>{}),Wm=(a,t)=>t.filter(r=>typeof r[a]<"u").map(r=>r[a]).reduce((r,n)=>({...r,...n}),{}),d3=(a,t)=>t.filter(r=>typeof r.base<"u").map(r=>r.base).reverse().reduce((r,n)=>{if(!r.length){const o=Object.keys(n);for(let l=0;l<o.length;l+=1){const f=o[l].toLowerCase();if(a.indexOf(f)!==-1&&n[f])return r.concat(n)}}return r},[]),f3=a=>console&&typeof console.warn=="function"&&console.warn(a),Ol=(a,t,r)=>{const n={};return r.filter(o=>Array.isArray(o[a])?!0:(typeof o[a]<"u"&&f3(`Helmet: ${a} should be of type "Array". Instead found type "${typeof o[a]}"`),!1)).map(o=>o[a]).reverse().reduce((o,l)=>{const d={};l.filter(h=>{let m;const x=Object.keys(h);for(let N=0;N<x.length;N+=1){const S=x[N],j=S.toLowerCase();t.indexOf(j)!==-1&&!(m==="rel"&&h[m].toLowerCase()==="canonical")&&!(j==="rel"&&h[j].toLowerCase()==="stylesheet")&&(m=j),t.indexOf(S)!==-1&&(S==="innerHTML"||S==="cssText"||S==="itemprop")&&(m=S)}if(!m||!h[m])return!1;const y=h[m].toLowerCase();return n[m]||(n[m]={}),d[m]||(d[m]={}),n[m][y]?!1:(d[m][y]=!0,!0)}).reverse().forEach(h=>o.push(h));const f=Object.keys(d);for(let h=0;h<f.length;h+=1){const m=f[h],x={...n[m],...d[m]};n[m]=x}return o},[]).reverse()},p3=(a,t)=>{if(Array.isArray(a)&&a.length){for(let r=0;r<a.length;r+=1)if(a[r][t])return!0}return!1},h3=a=>({baseTag:d3(["href"],a),bodyAttributes:Wm("bodyAttributes",a),defer:gc(a,mc.DEFER),encode:gc(a,mc.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:Wm("htmlAttributes",a),linkTags:Ol("link",["rel","href"],a),metaTags:Ol("meta",["name","charset","http-equiv","property","itemprop"],a),noscriptTags:Ol("noscript",["innerHTML"],a),onChangeClientState:u3(a),scriptTags:Ol("script",["src","innerHTML"],a),styleTags:Ol("style",["cssText"],a),title:l3(a),titleAttributes:Wm("titleAttributes",a),prioritizeSeoTags:p3(a,mc.PRIORITIZE_SEO_TAGS)}),ww=a=>Array.isArray(a)?a.join(""):a,m3=(a,t)=>{const r=Object.keys(a);for(let n=0;n<r.length;n+=1)if(t[r[n]]&&t[r[n]].includes(a[r[n]]))return!0;return!1},Jm=(a,t)=>Array.isArray(a)?a.reduce((r,n)=>(m3(n,t)?r.priority.push(n):r.default.push(n),r),{priority:[],default:[]}):{default:a,priority:[]},zb=(a,t)=>({...a,[t]:void 0}),g3=["noscript","script","style"],Pg=(a,t=!0)=>t===!1?String(a):String(a).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;"),Nw=a=>Object.keys(a).reduce((t,r)=>{const n=typeof a[r]<"u"?`${r}="${a[r]}"`:`${r}`;return t?`${t} ${n}`:n},""),x3=(a,t,r,n)=>{const o=Nw(r),l=ww(t);return o?`<${a} ${bn}="true" ${o}>${Pg(l,n)}</${a}>`:`<${a} ${bn}="true">${Pg(l,n)}</${a}>`},y3=(a,t,r=!0)=>t.reduce((n,o)=>{const l=o,d=Object.keys(l).filter(m=>!(m==="innerHTML"||m==="cssText")).reduce((m,x)=>{const y=typeof l[x]>"u"?x:`${x}="${Pg(l[x],r)}"`;return m?`${m} ${y}`:y},""),f=l.innerHTML||l.cssText||"",h=g3.indexOf(a)===-1;return`${n}<${a} ${bn}="true" ${d}${h?"/>":`>${f}</${a}>`}`},""),Sw=(a,t={})=>Object.keys(a).reduce((r,n)=>{const o=rp[n];return r[o||n]=a[n],r},t),v3=(a,t,r)=>{const n={key:t,[bn]:!0},o=Sw(r,n);return[ct.createElement("title",o,t)]},yf=(a,t)=>t.map((r,n)=>{const o={key:n,[bn]:!0};return Object.keys(r).forEach(l=>{const f=rp[l]||l;if(f==="innerHTML"||f==="cssText"){const h=r.innerHTML||r.cssText;o.dangerouslySetInnerHTML={__html:h}}else o[f]=r[l]}),ct.createElement(a,o)}),sn=(a,t,r=!0)=>{switch(a){case"title":return{toComponent:()=>v3(a,t.title,t.titleAttributes),toString:()=>x3(a,t.title,t.titleAttributes,r)};case"bodyAttributes":case"htmlAttributes":return{toComponent:()=>Sw(t),toString:()=>Nw(t)};default:return{toComponent:()=>yf(a,t),toString:()=>y3(a,t,r)}}},b3=({metaTags:a,linkTags:t,scriptTags:r,encode:n})=>{const o=Jm(a,Zm.meta),l=Jm(t,Zm.link),d=Jm(r,Zm.script);return{priorityMethods:{toComponent:()=>[...yf("meta",o.priority),...yf("link",l.priority),...yf("script",d.priority)],toString:()=>`${sn("meta",o.priority,n)} ${sn("link",l.priority,n)} ${sn("script",d.priority,n)}`},metaTags:o.default,linkTags:l.default,scriptTags:d.default}},w3=a=>{const{baseTag:t,bodyAttributes:r,encode:n=!0,htmlAttributes:o,noscriptTags:l,styleTags:d,title:f="",titleAttributes:h,prioritizeSeoTags:m}=a;let{linkTags:x,metaTags:y,scriptTags:N}=a,S={toComponent:()=>[],toString:()=>""};return m&&({priorityMethods:S,linkTags:x,metaTags:y,scriptTags:N}=b3(a)),{priority:S,base:sn("base",t,n),bodyAttributes:sn("bodyAttributes",r,n),htmlAttributes:sn("htmlAttributes",o,n),link:sn("link",x,n),meta:sn("meta",y,n),noscript:sn("noscript",l,n),script:sn("script",N,n),style:sn("style",d,n),title:sn("title",{title:f,titleAttributes:h},n)}},zg=w3,Fd=[],Cx=!!(typeof window<"u"&&window.document&&window.document.createElement),Lg=class{instances=[];canUseDOM=Cx;context;value={setHelmet:a=>{this.context.helmet=a},helmetInstances:{get:()=>this.canUseDOM?Fd:this.instances,add:a=>{(this.canUseDOM?Fd:this.instances).push(a)},remove:a=>{const t=(this.canUseDOM?Fd:this.instances).indexOf(a);(this.canUseDOM?Fd:this.instances).splice(t,1)}}};constructor(a,t){this.context=a,this.canUseDOM=t||!1,t||(a.helmet=zg({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))}},N3=parseInt(ct.version.split(".")[0],10),Hg=N3>=19,S3={},_w=ct.createContext(S3),jw=class Cw extends v.Component{static canUseDOM=Cx;helmetData;constructor(t){super(t),Hg?this.helmetData=null:this.helmetData=new Lg(this.props.context||{},Cw.canUseDOM)}render(){return Hg?ct.createElement(ct.Fragment,null,this.props.children):ct.createElement(_w.Provider,{value:this.helmetData.value},this.props.children)}},ec=(a,t)=>{const r=document.head||document.querySelector("head"),n=r.querySelectorAll(`${a}[${bn}]`),o=[].slice.call(n),l=[];let d;return t&&t.length&&t.forEach(f=>{const h=document.createElement(a);for(const m in f)if(Object.prototype.hasOwnProperty.call(f,m))if(m==="innerHTML")h.innerHTML=f.innerHTML;else if(m==="cssText"){const x=f.cssText;h.appendChild(document.createTextNode(x))}else{const x=m,y=typeof f[x]>"u"?"":f[x];h.setAttribute(m,y)}h.setAttribute(bn,"true"),o.some((m,x)=>(d=x,h.isEqualNode(m)))?o.splice(d,1):l.push(h)}),o.forEach(f=>f.parentNode?.removeChild(f)),l.forEach(f=>r.appendChild(f)),{oldTags:o,newTags:l}},Ug=(a,t)=>{const r=document.getElementsByTagName(a)[0];if(!r)return;const n=r.getAttribute(bn),o=n?n.split(","):[],l=[...o],d=Object.keys(t);for(const f of d){const h=t[f]||"";r.getAttribute(f)!==h&&r.setAttribute(f,h),o.indexOf(f)===-1&&o.push(f);const m=l.indexOf(f);m!==-1&&l.splice(m,1)}for(let f=l.length-1;f>=0;f-=1)r.removeAttribute(l[f]);o.length===l.length?r.removeAttribute(bn):r.getAttribute(bn)!==d.join(",")&&r.setAttribute(bn,d.join(","))},_3=(a,t)=>{typeof a<"u"&&document.title!==a&&(document.title=ww(a)),Ug("title",t)},Lb=(a,t)=>{const{baseTag:r,bodyAttributes:n,htmlAttributes:o,linkTags:l,metaTags:d,noscriptTags:f,onChangeClientState:h,scriptTags:m,styleTags:x,title:y,titleAttributes:N}=a;Ug("body",n),Ug("html",o),_3(y,N);const S={baseTag:ec("base",r),linkTags:ec("link",l),metaTags:ec("meta",d),noscriptTags:ec("noscript",f),scriptTags:ec("script",m),styleTags:ec("style",x)},j={},w={};Object.keys(S).forEach(_=>{const{newTags:D,oldTags:M}=S[_];D.length&&(j[_]=D),M.length&&(w[_]=S[_].oldTags)}),t&&t(),h(a,j,w)},kl=null,j3=a=>{kl&&cancelAnimationFrame(kl),a.defer?kl=requestAnimationFrame(()=>{Lb(a,()=>{kl=null})}):(Lb(a),kl=null)},C3=j3,Hb=class extends v.Component{rendered=!1;shouldComponentUpdate(a){return!c3(a,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){const{helmetInstances:a}=this.props.context;a.remove(this),this.emitChange()}emitChange(){const{helmetInstances:a,setHelmet:t}=this.props.context;let r=null;const n=h3(a.get().map(o=>{const{context:l,...d}=o.props;return d}));jw.canUseDOM?C3(n):zg&&(r=zg(n)),t(r)}init(){if(this.rendered)return;this.rendered=!0;const{helmetInstances:a}=this.props.context;a.add(this),this.emitChange()}render(){return this.init(),null}},vf=[],Ub=a=>{const t={};for(const r of Object.keys(a))t[bw[r]||r]=a[r];return t},Gi=a=>{const t={};for(const r of Object.keys(a)){const n=rp[r];t[n||r]=a[r]}return t},Bb=(a,t)=>{if(!Cx)return;const r=document.getElementsByTagName(a)[0];if(!r)return;const n="data-rh-managed",o=r.getAttribute(n),l=o?o.split(","):[],d=Object.keys(t);for(const f of l)d.includes(f)||r.removeAttribute(f);for(const f of d){const h=t[f];h==null||h===!1?r.removeAttribute(f):h===!0?r.setAttribute(f,""):r.setAttribute(f,String(h))}d.length>0?r.setAttribute(n,d.join(",")):r.removeAttribute(n)},eg=()=>{const a={},t={};for(const r of vf){const{htmlAttributes:n,bodyAttributes:o}=r.props;n&&Object.assign(a,Ub(n)),o&&Object.assign(t,Ub(o))}Bb("html",a),Bb("body",t)},E3=class extends v.Component{componentDidMount(){vf.push(this),eg()}componentDidUpdate(){eg()}componentWillUnmount(){const a=vf.indexOf(this);a!==-1&&vf.splice(a,1),eg()}resolveTitle(){const{title:a,titleTemplate:t,defaultTitle:r}=this.props;return a&&t?t.replace(/%s/g,()=>Array.isArray(a)?a.join(""):a):a||r||void 0}renderTitle(){const a=this.resolveTitle();if(a===void 0)return null;const t=this.props.titleAttributes||{};return ct.createElement("title",Gi(t),a)}renderBase(){const{base:a}=this.props;return a?ct.createElement("base",Gi(a)):null}renderMeta(){const{meta:a}=this.props;return!a||!Array.isArray(a)?null:a.map((t,r)=>ct.createElement("meta",{key:r,...Gi(t)}))}renderLink(){const{link:a}=this.props;return!a||!Array.isArray(a)?null:a.map((t,r)=>ct.createElement("link",{key:r,...Gi(t)}))}renderScript(){const{script:a}=this.props;return!a||!Array.isArray(a)?null:a.map((t,r)=>{const{innerHTML:n,...o}=t,l=Gi(o);return n&&(l.dangerouslySetInnerHTML={__html:n}),ct.createElement("script",{key:r,...l})})}renderStyle(){const{style:a}=this.props;return!a||!Array.isArray(a)?null:a.map((t,r)=>{const{cssText:n,...o}=t,l=Gi(o);return n&&(l.dangerouslySetInnerHTML={__html:n}),ct.createElement("style",{key:r,...l})})}renderNoscript(){const{noscript:a}=this.props;return!a||!Array.isArray(a)?null:a.map((t,r)=>{const{innerHTML:n,...o}=t,l=Gi(o);return n&&(l.dangerouslySetInnerHTML={__html:n}),ct.createElement("noscript",{key:r,...l})})}render(){return ct.createElement(ct.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},T3=class extends v.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(a){return!a3(zb(this.props,"helmetData"),zb(a,"helmetData"))}mapNestedChildrenToProps(a,t){if(!t)return null;switch(a.type){case"script":case"noscript":return{innerHTML:t};case"style":return{cssText:t};default:throw new Error(`<${a.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(a,t,r,n){return{...t,[a.type]:[...t[a.type]||[],{...r,...this.mapNestedChildrenToProps(a,n)}]}}mapObjectTypeChildren(a,t,r,n){switch(a.type){case"title":return{...t,[a.type]:n,titleAttributes:{...r}};case"body":return{...t,bodyAttributes:{...r}};case"html":return{...t,htmlAttributes:{...r}};default:return{...t,[a.type]:{...r}}}}mapArrayTypeChildrenToProps(a,t){let r={...t};return Object.keys(a).forEach(n=>{r={...r,[n]:a[n]}}),r}warnOnInvalidChildren(a,t){return Ob(Pb.some(r=>a.type===r),typeof a.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":`Only elements types ${Pb.join(", ")} are allowed. Helmet does not support rendering <${a.type}> elements. Refer to our API for more information.`),Ob(!t||typeof t=="string"||Array.isArray(t)&&!t.some(r=>typeof r!="string"),`Helmet expects a string as a child of <${a.type}>. Did you forget to wrap your children in braces? ( <${a.type}>{\`\`}</${a.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(a,t){let r={};return ct.Children.forEach(a,n=>{if(!n||!n.props)return;const{children:o,...l}=n.props,d=Object.keys(l).reduce((h,m)=>(h[bw[m]||m]=l[m],h),{});let{type:f}=n;switch(typeof f=="symbol"?f=f.toString():this.warnOnInvalidChildren(n,o),f){case"Symbol(react.fragment)":t=this.mapChildrenToProps(o,t);break;case"link":case"meta":case"noscript":case"script":case"style":r=this.flattenArrayTypeChildren(n,r,d,o);break;default:t=this.mapObjectTypeChildren(n,t,d,o);break}}),this.mapArrayTypeChildrenToProps(r,t)}render(){const{children:a,...t}=this.props;let r={...t},{helmetData:n}=t;if(a&&(r=this.mapChildrenToProps(a,r)),n&&!(n instanceof Lg)){const o=n;n=new Lg(o.context,!0),delete r.helmetData}return Hg?ct.createElement(E3,{...r}):n?ct.createElement(Hb,{...r,context:n.value}):ct.createElement(_w.Consumer,null,o=>ct.createElement(Hb,{...r,context:o}))}};var Yb="popstate";function qb(a){return typeof a=="object"&&a!=null&&"pathname"in a&&"search"in a&&"hash"in a&&"state"in a&&"key"in a}function A3(a={}){function t(o,l){let{pathname:d="/",search:f="",hash:h=""}=po(o.location.hash.substring(1));return!d.startsWith("/")&&!d.startsWith(".")&&(d="/"+d),Bg("",{pathname:d,search:f,hash:h},l.state&&l.state.usr||null,l.state&&l.state.key||"default")}function r(o,l){let d=o.document.querySelector("base"),f="";if(d&&d.getAttribute("href")){let h=o.location.href,m=h.indexOf("#");f=m===-1?h:h.slice(0,m)}return f+"#"+(typeof l=="string"?l:cu(l))}function n(o,l){Ra(o.pathname.charAt(0)==="/",`relative pathnames are not supported in hash history.push(${JSON.stringify(l)})`)}return M3(t,r,n,a)}function Et(a,t){if(a===!1||a===null||typeof a>"u")throw new Error(t)}function Ra(a,t){if(!a){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function D3(){return Math.random().toString(36).substring(2,10)}function Gb(a,t){return{usr:a.state,key:a.key,idx:t,masked:a.unstable_mask?{pathname:a.pathname,search:a.search,hash:a.hash}:void 0}}function Bg(a,t,r=null,n,o){return{pathname:typeof a=="string"?a:a.pathname,search:"",hash:"",...typeof t=="string"?po(t):t,state:r,key:t&&t.key||n||D3(),unstable_mask:o}}function cu({pathname:a="/",search:t="",hash:r=""}){return t&&t!=="?"&&(a+=t.charAt(0)==="?"?t:"?"+t),r&&r!=="#"&&(a+=r.charAt(0)==="#"?r:"#"+r),a}function po(a){let t={};if(a){let r=a.indexOf("#");r>=0&&(t.hash=a.substring(r),a=a.substring(0,r));let n=a.indexOf("?");n>=0&&(t.search=a.substring(n),a=a.substring(0,n)),a&&(t.pathname=a)}return t}function M3(a,t,r,n={}){let{window:o=document.defaultView,v5Compat:l=!1}=n,d=o.history,f="POP",h=null,m=x();m==null&&(m=0,d.replaceState({...d.state,idx:m},""));function x(){return(d.state||{idx:null}).idx}function y(){f="POP";let _=x(),D=_==null?null:_-m;m=_,h&&h({action:f,location:w.location,delta:D})}function N(_,D){f="PUSH";let M=qb(_)?_:Bg(w.location,_,D);r&&r(M,_),m=x()+1;let O=Gb(M,m),k=w.createHref(M.unstable_mask||M);try{d.pushState(O,"",k)}catch(L){if(L instanceof DOMException&&L.name==="DataCloneError")throw L;o.location.assign(k)}l&&h&&h({action:f,location:w.location,delta:1})}function S(_,D){f="REPLACE";let M=qb(_)?_:Bg(w.location,_,D);r&&r(M,_),m=x();let O=Gb(M,m),k=w.createHref(M.unstable_mask||M);d.replaceState(O,"",k),l&&h&&h({action:f,location:w.location,delta:0})}function j(_){return R3(_)}let w={get action(){return f},get location(){return a(o,d)},listen(_){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(Yb,y),h=_,()=>{o.removeEventListener(Yb,y),h=null}},createHref(_){return t(o,_)},createURL:j,encodeLocation(_){let D=j(_);return{pathname:D.pathname,search:D.search,hash:D.hash}},push:N,replace:S,go(_){return d.go(_)}};return w}function R3(a,t=!1){let r="http://localhost";typeof window<"u"&&(r=window.location.origin!=="null"?window.location.origin:window.location.href),Et(r,"No window.location.(origin|href) available to create URL");let n=typeof a=="string"?a:cu(a);return n=n.replace(/ $/,"%20"),!t&&n.startsWith("//")&&(n=r+n),new URL(n,r)}function Ew(a,t,r="/"){return O3(a,t,r,!1)}function O3(a,t,r,n){let o=typeof t=="string"?po(t):t,l=_r(o.pathname||"/",r);if(l==null)return null;let d=Tw(a);k3(d);let f=null;for(let h=0;f==null&&h<d.length;++h){let m=V3(l);f=G3(d[h],m,n)}return f}function Tw(a,t=[],r=[],n="",o=!1){let l=(d,f,h=o,m)=>{let x={relativePath:m===void 0?d.path||"":m,caseSensitive:d.caseSensitive===!0,childrenIndex:f,route:d};if(x.relativePath.startsWith("/")){if(!x.relativePath.startsWith(n)&&h)return;Et(x.relativePath.startsWith(n),`Absolute route path "${x.relativePath}" nested under path "${n}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),x.relativePath=x.relativePath.slice(n.length)}let y=In([n,x.relativePath]),N=r.concat(x);d.children&&d.children.length>0&&(Et(d.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${y}".`),Tw(d.children,t,N,y,h)),!(d.path==null&&!d.index)&&t.push({path:y,score:Y3(y,d.index),routesMeta:N})};return a.forEach((d,f)=>{if(d.path===""||!d.path?.includes("?"))l(d,f);else for(let h of Aw(d.path))l(d,f,!0,h)}),t}function Aw(a){let t=a.split("/");if(t.length===0)return[];let[r,...n]=t,o=r.endsWith("?"),l=r.replace(/\?$/,"");if(n.length===0)return o?[l,""]:[l];let d=Aw(n.join("/")),f=[];return f.push(...d.map(h=>h===""?l:[l,h].join("/"))),o&&f.push(...d),f.map(h=>a.startsWith("/")&&h===""?"/":h)}function k3(a){a.sort((t,r)=>t.score!==r.score?r.score-t.score:q3(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}var P3=/^:[\w-]+$/,z3=3,L3=2,H3=1,U3=10,B3=-2,Ib=a=>a==="*";function Y3(a,t){let r=a.split("/"),n=r.length;return r.some(Ib)&&(n+=B3),t&&(n+=L3),r.filter(o=>!Ib(o)).reduce((o,l)=>o+(P3.test(l)?z3:l===""?H3:U3),n)}function q3(a,t){return a.length===t.length&&a.slice(0,-1).every((n,o)=>n===t[o])?a[a.length-1]-t[t.length-1]:0}function G3(a,t,r=!1){let{routesMeta:n}=a,o={},l="/",d=[];for(let f=0;f<n.length;++f){let h=n[f],m=f===n.length-1,x=l==="/"?t:t.slice(l.length)||"/",y=Pf({path:h.relativePath,caseSensitive:h.caseSensitive,end:m},x),N=h.route;if(!y&&m&&r&&!n[n.length-1].route.index&&(y=Pf({path:h.relativePath,caseSensitive:h.caseSensitive,end:!1},x)),!y)return null;Object.assign(o,y.params),d.push({params:o,pathname:In([l,y.pathname]),pathnameBase:Q3(In([l,y.pathnameBase])),route:N}),y.pathnameBase!=="/"&&(l=In([l,y.pathnameBase]))}return d}function Pf(a,t){typeof a=="string"&&(a={path:a,caseSensitive:!1,end:!0});let[r,n]=I3(a.path,a.caseSensitive,a.end),o=t.match(r);if(!o)return null;let l=o[0],d=l.replace(/(.)\/+$/,"$1"),f=o.slice(1);return{params:n.reduce((m,{paramName:x,isOptional:y},N)=>{if(x==="*"){let j=f[N]||"";d=l.slice(0,l.length-j.length).replace(/(.)\/+$/,"$1")}const S=f[N];return y&&!S?m[x]=void 0:m[x]=(S||"").replace(/%2F/g,"/"),m},{}),pathname:l,pathnameBase:d,pattern:a}}function I3(a,t=!1,r=!0){Ra(a==="*"||!a.endsWith("*")||a.endsWith("/*"),`Route path "${a}" will be treated as if it were "${a.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${a.replace(/\*$/,"/*")}".`);let n=[],o="^"+a.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(d,f,h,m,x)=>{if(n.push({paramName:f,isOptional:h!=null}),h){let y=x.charAt(m+d.length);return y&&y!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return a.endsWith("*")?(n.push({paramName:"*"}),o+=a==="*"||a==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?o+="\\/*$":a!==""&&a!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),n]}function V3(a){try{return a.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Ra(!1,`The URL path "${a}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),a}}function _r(a,t){if(t==="/")return a;if(!a.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=a.charAt(r);return n&&n!=="/"?null:a.slice(r)||"/"}var $3=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function F3(a,t="/"){let{pathname:r,search:n="",hash:o=""}=typeof a=="string"?po(a):a,l;return r?(r=r.replace(/\/\/+/g,"/"),r.startsWith("/")?l=Vb(r.substring(1),"/"):l=Vb(r,t)):l=t,{pathname:l,search:K3(n),hash:Z3(o)}}function Vb(a,t){let r=t.replace(/\/+$/,"").split("/");return a.split("/").forEach(o=>{o===".."?r.length>1&&r.pop():o!=="."&&r.push(o)}),r.length>1?r.join("/"):"/"}function tg(a,t,r,n){return`Cannot include a '${a}' character in a manually specified \`to.${t}\` field [${JSON.stringify(n)}].  Please separate it out to the \`to.${r}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function X3(a){return a.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Ex(a){let t=X3(a);return t.map((r,n)=>n===t.length-1?r.pathname:r.pathnameBase)}function ip(a,t,r,n=!1){let o;typeof a=="string"?o=po(a):(o={...a},Et(!o.pathname||!o.pathname.includes("?"),tg("?","pathname","search",o)),Et(!o.pathname||!o.pathname.includes("#"),tg("#","pathname","hash",o)),Et(!o.search||!o.search.includes("#"),tg("#","search","hash",o)));let l=a===""||o.pathname==="",d=l?"/":o.pathname,f;if(d==null)f=r;else{let y=t.length-1;if(!n&&d.startsWith("..")){let N=d.split("/");for(;N[0]==="..";)N.shift(),y-=1;o.pathname=N.join("/")}f=y>=0?t[y]:"/"}let h=F3(o,f),m=d&&d!=="/"&&d.endsWith("/"),x=(l||d===".")&&r.endsWith("/");return!h.pathname.endsWith("/")&&(m||x)&&(h.pathname+="/"),h}var In=a=>a.join("/").replace(/\/\/+/g,"/"),Q3=a=>a.replace(/\/+$/,"").replace(/^\/*/,"/"),K3=a=>!a||a==="?"?"":a.startsWith("?")?a:"?"+a,Z3=a=>!a||a==="#"?"":a.startsWith("#")?a:"#"+a,W3=class{constructor(a,t,r,n=!1){this.status=a,this.statusText=t||"",this.internal=n,r instanceof Error?(this.data=r.toString(),this.error=r):this.data=r}};function J3(a){return a!=null&&typeof a.status=="number"&&typeof a.statusText=="string"&&typeof a.internal=="boolean"&&"data"in a}function eC(a){return a.map(t=>t.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var Dw=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function Mw(a,t){let r=a;if(typeof r!="string"||!$3.test(r))return{absoluteURL:void 0,isExternal:!1,to:r};let n=r,o=!1;if(Dw)try{let l=new URL(window.location.href),d=r.startsWith("//")?new URL(l.protocol+r):new URL(r),f=_r(d.pathname,t);d.origin===l.origin&&f!=null?r=f+d.search+d.hash:o=!0}catch{Ra(!1,`<Link to="${r}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:n,isExternal:o,to:r}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var Rw=["POST","PUT","PATCH","DELETE"];new Set(Rw);var tC=["GET",...Rw];new Set(tC);var kc=v.createContext(null);kc.displayName="DataRouter";var op=v.createContext(null);op.displayName="DataRouterState";var sC=v.createContext(!1),Ow=v.createContext({isTransitioning:!1});Ow.displayName="ViewTransition";var aC=v.createContext(new Map);aC.displayName="Fetchers";var nC=v.createContext(null);nC.displayName="Await";var za=v.createContext(null);za.displayName="Navigation";var ju=v.createContext(null);ju.displayName="Location";var dn=v.createContext({outlet:null,matches:[],isDataRoute:!1});dn.displayName="Route";var Tx=v.createContext(null);Tx.displayName="RouteError";var kw="REACT_ROUTER_ERROR",rC="REDIRECT",iC="ROUTE_ERROR_RESPONSE";function oC(a){if(a.startsWith(`${kw}:${rC}:{`))try{let t=JSON.parse(a.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function cC(a){if(a.startsWith(`${kw}:${iC}:{`))try{let t=JSON.parse(a.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new W3(t.status,t.statusText,t.data)}catch{}}function lC(a,{relative:t}={}){Et(Pc(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:n}=v.useContext(za),{hash:o,pathname:l,search:d}=Cu(a,{relative:t}),f=l;return r!=="/"&&(f=l==="/"?r:In([r,l])),n.createHref({pathname:f,search:d,hash:o})}function Pc(){return v.useContext(ju)!=null}function La(){return Et(Pc(),"useLocation() may be used only in the context of a <Router> component."),v.useContext(ju).location}var Pw="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function zw(a){v.useContext(za).static||v.useLayoutEffect(a)}function zc(){let{isDataRoute:a}=v.useContext(dn);return a?_C():uC()}function uC(){Et(Pc(),"useNavigate() may be used only in the context of a <Router> component.");let a=v.useContext(kc),{basename:t,navigator:r}=v.useContext(za),{matches:n}=v.useContext(dn),{pathname:o}=La(),l=JSON.stringify(Ex(n)),d=v.useRef(!1);return zw(()=>{d.current=!0}),v.useCallback((h,m={})=>{if(Ra(d.current,Pw),!d.current)return;if(typeof h=="number"){r.go(h);return}let x=ip(h,JSON.parse(l),o,m.relative==="path");a==null&&t!=="/"&&(x.pathname=x.pathname==="/"?t:In([t,x.pathname])),(m.replace?r.replace:r.push)(x,m.state,m)},[t,r,l,o,a])}var dC=v.createContext(null);function fC(a){let t=v.useContext(dn).outlet;return v.useMemo(()=>t&&v.createElement(dC.Provider,{value:a},t),[t,a])}function cp(){let{matches:a}=v.useContext(dn),t=a[a.length-1];return t?t.params:{}}function Cu(a,{relative:t}={}){let{matches:r}=v.useContext(dn),{pathname:n}=La(),o=JSON.stringify(Ex(r));return v.useMemo(()=>ip(a,JSON.parse(o),n,t==="path"),[a,o,n,t])}function pC(a,t){return Lw(a,t)}function Lw(a,t,r){Et(Pc(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:n}=v.useContext(za),{matches:o}=v.useContext(dn),l=o[o.length-1],d=l?l.params:{},f=l?l.pathname:"/",h=l?l.pathnameBase:"/",m=l&&l.route;{let _=m&&m.path||"";Uw(f,!m||_.endsWith("*")||_.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${_}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.

Please change the parent <Route path="${_}"> to <Route path="${_==="/"?"*":`${_}/*`}">.`)}let x=La(),y;if(t){let _=typeof t=="string"?po(t):t;Et(h==="/"||_.pathname?.startsWith(h),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${h}" but pathname "${_.pathname}" was given in the \`location\` prop.`),y=_}else y=x;let N=y.pathname||"/",S=N;if(h!=="/"){let _=h.replace(/^\//,"").split("/");S="/"+N.replace(/^\//,"").split("/").slice(_.length).join("/")}let j=Ew(a,{pathname:S});Ra(m||j!=null,`No routes matched location "${y.pathname}${y.search}${y.hash}" `),Ra(j==null||j[j.length-1].route.element!==void 0||j[j.length-1].route.Component!==void 0||j[j.length-1].route.lazy!==void 0,`Matched leaf route at location "${y.pathname}${y.search}${y.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=yC(j&&j.map(_=>Object.assign({},_,{params:Object.assign({},d,_.params),pathname:In([h,n.encodeLocation?n.encodeLocation(_.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathname]),pathnameBase:_.pathnameBase==="/"?h:In([h,n.encodeLocation?n.encodeLocation(_.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:_.pathnameBase])})),o,r);return t&&w?v.createElement(ju.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",unstable_mask:void 0,...y},navigationType:"POP"}},w):w}function hC(){let a=SC(),t=J3(a)?`${a.status} ${a.statusText}`:a instanceof Error?a.message:JSON.stringify(a),r=a instanceof Error?a.stack:null,n="rgba(200,200,200, 0.5)",o={padding:"0.5rem",backgroundColor:n},l={padding:"2px 4px",backgroundColor:n},d=null;return console.error("Error handled by React Router default ErrorBoundary:",a),d=v.createElement(v.Fragment,null,v.createElement("p",null,"💿 Hey developer 👋"),v.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",v.createElement("code",{style:l},"ErrorBoundary")," or"," ",v.createElement("code",{style:l},"errorElement")," prop on your route.")),v.createElement(v.Fragment,null,v.createElement("h2",null,"Unexpected Application Error!"),v.createElement("h3",{style:{fontStyle:"italic"}},t),r?v.createElement("pre",{style:o},r):null,d)}var mC=v.createElement(hC,null),Hw=class extends v.Component{constructor(a){super(a),this.state={location:a.location,revalidation:a.revalidation,error:a.error}}static getDerivedStateFromError(a){return{error:a}}static getDerivedStateFromProps(a,t){return t.location!==a.location||t.revalidation!=="idle"&&a.revalidation==="idle"?{error:a.error,location:a.location,revalidation:a.revalidation}:{error:a.error!==void 0?a.error:t.error,location:t.location,revalidation:a.revalidation||t.revalidation}}componentDidCatch(a,t){this.props.onError?this.props.onError(a,t):console.error("React Router caught the following error during render",a)}render(){let a=this.state.error;if(this.context&&typeof a=="object"&&a&&"digest"in a&&typeof a.digest=="string"){const r=cC(a.digest);r&&(a=r)}let t=a!==void 0?v.createElement(dn.Provider,{value:this.props.routeContext},v.createElement(Tx.Provider,{value:a,children:this.props.component})):this.props.children;return this.context?v.createElement(gC,{error:a},t):t}};Hw.contextType=sC;var sg=new WeakMap;function gC({children:a,error:t}){let{basename:r}=v.useContext(za);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let n=oC(t.digest);if(n){let o=sg.get(t);if(o)throw o;let l=Mw(n.location,r);if(Dw&&!sg.get(t))if(l.isExternal||n.reloadDocument)window.location.href=l.absoluteURL||l.to;else{const d=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(l.to,{replace:n.replace}));throw sg.set(t,d),d}return v.createElement("meta",{httpEquiv:"refresh",content:`0;url=${l.absoluteURL||l.to}`})}}return a}function xC({routeContext:a,match:t,children:r}){let n=v.useContext(kc);return n&&n.static&&n.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(n.staticContext._deepestRenderedBoundaryId=t.route.id),v.createElement(dn.Provider,{value:a},r)}function yC(a,t=[],r){let n=r?.state;if(a==null){if(!n)return null;if(n.errors)a=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)a=n.matches;else return null}let o=a,l=n?.errors;if(l!=null){let x=o.findIndex(y=>y.route.id&&l?.[y.route.id]!==void 0);Et(x>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(l).join(",")}`),o=o.slice(0,Math.min(o.length,x+1))}let d=!1,f=-1;if(r&&n){d=n.renderFallback;for(let x=0;x<o.length;x++){let y=o[x];if((y.route.HydrateFallback||y.route.hydrateFallbackElement)&&(f=x),y.route.id){let{loaderData:N,errors:S}=n,j=y.route.loader&&!N.hasOwnProperty(y.route.id)&&(!S||S[y.route.id]===void 0);if(y.route.lazy||j){r.isStatic&&(d=!0),f>=0?o=o.slice(0,f+1):o=[o[0]];break}}}}let h=r?.onError,m=n&&h?(x,y)=>{h(x,{location:n.location,params:n.matches?.[0]?.params??{},unstable_pattern:eC(n.matches),errorInfo:y})}:void 0;return o.reduceRight((x,y,N)=>{let S,j=!1,w=null,_=null;n&&(S=l&&y.route.id?l[y.route.id]:void 0,w=y.route.errorElement||mC,d&&(f<0&&N===0?(Uw("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),j=!0,_=null):f===N&&(j=!0,_=y.route.hydrateFallbackElement||null)));let D=t.concat(o.slice(0,N+1)),M=()=>{let O;return S?O=w:j?O=_:y.route.Component?O=v.createElement(y.route.Component,null):y.route.element?O=y.route.element:O=x,v.createElement(xC,{match:y,routeContext:{outlet:x,matches:D,isDataRoute:n!=null},children:O})};return n&&(y.route.ErrorBoundary||y.route.errorElement||N===0)?v.createElement(Hw,{location:n.location,revalidation:n.revalidation,component:w,error:S,children:M(),routeContext:{outlet:null,matches:D,isDataRoute:!0},onError:m}):M()},null)}function Ax(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function vC(a){let t=v.useContext(kc);return Et(t,Ax(a)),t}function bC(a){let t=v.useContext(op);return Et(t,Ax(a)),t}function wC(a){let t=v.useContext(dn);return Et(t,Ax(a)),t}function Dx(a){let t=wC(a),r=t.matches[t.matches.length-1];return Et(r.route.id,`${a} can only be used on routes that contain a unique "id"`),r.route.id}function NC(){return Dx("useRouteId")}function SC(){let a=v.useContext(Tx),t=bC("useRouteError"),r=Dx("useRouteError");return a!==void 0?a:t.errors?.[r]}function _C(){let{router:a}=vC("useNavigate"),t=Dx("useNavigate"),r=v.useRef(!1);return zw(()=>{r.current=!0}),v.useCallback(async(o,l={})=>{Ra(r.current,Pw),r.current&&(typeof o=="number"?await a.navigate(o):await a.navigate(o,{fromRouteId:t,...l}))},[a,t])}var $b={};function Uw(a,t,r){!t&&!$b[a]&&($b[a]=!0,Ra(!1,r))}v.memo(jC);function jC({routes:a,future:t,state:r,isStatic:n,onError:o}){return Lw(a,void 0,{state:r,isStatic:n,onError:o})}function Eu({to:a,replace:t,state:r,relative:n}){Et(Pc(),"<Navigate> may be used only in the context of a <Router> component.");let{static:o}=v.useContext(za);Ra(!o,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:l}=v.useContext(dn),{pathname:d}=La(),f=zc(),h=ip(a,Ex(l),d,n==="path"),m=JSON.stringify(h);return v.useEffect(()=>{f(JSON.parse(m),{replace:t,state:r,relative:n})},[f,m,n,t,r]),null}function CC(a){return fC(a.context)}function Bt(a){Et(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function EC({basename:a="/",children:t=null,location:r,navigationType:n="POP",navigator:o,static:l=!1,unstable_useTransitions:d}){Et(!Pc(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=a.replace(/^\/*/,"/"),h=v.useMemo(()=>({basename:f,navigator:o,static:l,unstable_useTransitions:d,future:{}}),[f,o,l,d]);typeof r=="string"&&(r=po(r));let{pathname:m="/",search:x="",hash:y="",state:N=null,key:S="default",unstable_mask:j}=r,w=v.useMemo(()=>{let _=_r(m,f);return _==null?null:{location:{pathname:_,search:x,hash:y,state:N,key:S,unstable_mask:j},navigationType:n}},[f,m,x,y,N,S,n,j]);return Ra(w!=null,`<Router basename="${f}"> is not able to match the URL "${m}${x}${y}" because it does not start with the basename, so the <Router> won't render anything.`),w==null?null:v.createElement(za.Provider,{value:h},v.createElement(ju.Provider,{children:t,value:w}))}function TC({children:a,location:t}){return pC(Yg(a),t)}function Yg(a,t=[]){let r=[];return v.Children.forEach(a,(n,o)=>{if(!v.isValidElement(n))return;let l=[...t,o];if(n.type===v.Fragment){r.push.apply(r,Yg(n.props.children,l));return}Et(n.type===Bt,`[${typeof n.type=="string"?n.type:n.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),Et(!n.props.index||!n.props.children,"An index route cannot have child routes.");let d={id:n.props.id||l.join("-"),caseSensitive:n.props.caseSensitive,element:n.props.element,Component:n.props.Component,index:n.props.index,path:n.props.path,middleware:n.props.middleware,loader:n.props.loader,action:n.props.action,hydrateFallbackElement:n.props.hydrateFallbackElement,HydrateFallback:n.props.HydrateFallback,errorElement:n.props.errorElement,ErrorBoundary:n.props.ErrorBoundary,hasErrorBoundary:n.props.hasErrorBoundary===!0||n.props.ErrorBoundary!=null||n.props.errorElement!=null,shouldRevalidate:n.props.shouldRevalidate,handle:n.props.handle,lazy:n.props.lazy};n.props.children&&(d.children=Yg(n.props.children,l)),r.push(d)}),r}var bf="get",wf="application/x-www-form-urlencoded";function lp(a){return typeof HTMLElement<"u"&&a instanceof HTMLElement}function AC(a){return lp(a)&&a.tagName.toLowerCase()==="button"}function DC(a){return lp(a)&&a.tagName.toLowerCase()==="form"}function MC(a){return lp(a)&&a.tagName.toLowerCase()==="input"}function RC(a){return!!(a.metaKey||a.altKey||a.ctrlKey||a.shiftKey)}function OC(a,t){return a.button===0&&(!t||t==="_self")&&!RC(a)}function qg(a=""){return new URLSearchParams(typeof a=="string"||Array.isArray(a)||a instanceof URLSearchParams?a:Object.keys(a).reduce((t,r)=>{let n=a[r];return t.concat(Array.isArray(n)?n.map(o=>[r,o]):[[r,n]])},[]))}function kC(a,t){let r=qg(a);return t&&t.forEach((n,o)=>{r.has(o)||t.getAll(o).forEach(l=>{r.append(o,l)})}),r}var Xd=null;function PC(){if(Xd===null)try{new FormData(document.createElement("form"),0),Xd=!1}catch{Xd=!0}return Xd}var zC=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ag(a){return a!=null&&!zC.has(a)?(Ra(!1,`"${a}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${wf}"`),null):a}function LC(a,t){let r,n,o,l,d;if(DC(a)){let f=a.getAttribute("action");n=f?_r(f,t):null,r=a.getAttribute("method")||bf,o=ag(a.getAttribute("enctype"))||wf,l=new FormData(a)}else if(AC(a)||MC(a)&&(a.type==="submit"||a.type==="image")){let f=a.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let h=a.getAttribute("formaction")||f.getAttribute("action");if(n=h?_r(h,t):null,r=a.getAttribute("formmethod")||f.getAttribute("method")||bf,o=ag(a.getAttribute("formenctype"))||ag(f.getAttribute("enctype"))||wf,l=new FormData(f,a),!PC()){let{name:m,type:x,value:y}=a;if(x==="image"){let N=m?`${m}.`:"";l.append(`${N}x`,"0"),l.append(`${N}y`,"0")}else m&&l.append(m,y)}}else{if(lp(a))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');r=bf,n=null,o=wf,d=a}return l&&o==="text/plain"&&(d=l,l=void 0),{action:n,method:r.toLowerCase(),encType:o,formData:l,body:d}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function Mx(a,t){if(a===!1||a===null||typeof a>"u")throw new Error(t)}function HC(a,t,r,n){let o=typeof a=="string"?new URL(a,typeof window>"u"?"server://singlefetch/":window.location.origin):a;return r?o.pathname.endsWith("/")?o.pathname=`${o.pathname}_.${n}`:o.pathname=`${o.pathname}.${n}`:o.pathname==="/"?o.pathname=`_root.${n}`:t&&_r(o.pathname,t)==="/"?o.pathname=`${t.replace(/\/$/,"")}/_root.${n}`:o.pathname=`${o.pathname.replace(/\/$/,"")}.${n}`,o}async function UC(a,t){if(a.id in t)return t[a.id];try{let r=await import(a.module);return t[a.id]=r,r}catch(r){return console.error(`Error loading route module \`${a.module}\`, reloading page...`),console.error(r),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function BC(a){return a==null?!1:a.href==null?a.rel==="preload"&&typeof a.imageSrcSet=="string"&&typeof a.imageSizes=="string":typeof a.rel=="string"&&typeof a.href=="string"}async function YC(a,t,r){let n=await Promise.all(a.map(async o=>{let l=t.routes[o.route.id];if(l){let d=await UC(l,r);return d.links?d.links():[]}return[]}));return VC(n.flat(1).filter(BC).filter(o=>o.rel==="stylesheet"||o.rel==="preload").map(o=>o.rel==="stylesheet"?{...o,rel:"prefetch",as:"style"}:{...o,rel:"prefetch"}))}function Fb(a,t,r,n,o,l){let d=(h,m)=>r[m]?h.route.id!==r[m].route.id:!0,f=(h,m)=>r[m].pathname!==h.pathname||r[m].route.path?.endsWith("*")&&r[m].params["*"]!==h.params["*"];return l==="assets"?t.filter((h,m)=>d(h,m)||f(h,m)):l==="data"?t.filter((h,m)=>{let x=n.routes[h.route.id];if(!x||!x.hasLoader)return!1;if(d(h,m)||f(h,m))return!0;if(h.route.shouldRevalidate){let y=h.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:r[0]?.params||{},nextUrl:new URL(a,window.origin),nextParams:h.params,defaultShouldRevalidate:!0});if(typeof y=="boolean")return y}return!0}):[]}function qC(a,t,{includeHydrateFallback:r}={}){return GC(a.map(n=>{let o=t.routes[n.route.id];if(!o)return[];let l=[o.module];return o.clientActionModule&&(l=l.concat(o.clientActionModule)),o.clientLoaderModule&&(l=l.concat(o.clientLoaderModule)),r&&o.hydrateFallbackModule&&(l=l.concat(o.hydrateFallbackModule)),o.imports&&(l=l.concat(o.imports)),l}).flat(1))}function GC(a){return[...new Set(a)]}function IC(a){let t={},r=Object.keys(a).sort();for(let n of r)t[n]=a[n];return t}function VC(a,t){let r=new Set;return new Set(t),a.reduce((n,o)=>{let l=JSON.stringify(IC(o));return r.has(l)||(r.add(l),n.push({key:l,link:o})),n},[])}function Bw(){let a=v.useContext(kc);return Mx(a,"You must render this element inside a <DataRouterContext.Provider> element"),a}function $C(){let a=v.useContext(op);return Mx(a,"You must render this element inside a <DataRouterStateContext.Provider> element"),a}var Rx=v.createContext(void 0);Rx.displayName="FrameworkContext";function Yw(){let a=v.useContext(Rx);return Mx(a,"You must render this element inside a <HydratedRouter> element"),a}function FC(a,t){let r=v.useContext(Rx),[n,o]=v.useState(!1),[l,d]=v.useState(!1),{onFocus:f,onBlur:h,onMouseEnter:m,onMouseLeave:x,onTouchStart:y}=t,N=v.useRef(null);v.useEffect(()=>{if(a==="render"&&d(!0),a==="viewport"){let w=D=>{D.forEach(M=>{d(M.isIntersecting)})},_=new IntersectionObserver(w,{threshold:.5});return N.current&&_.observe(N.current),()=>{_.disconnect()}}},[a]),v.useEffect(()=>{if(n){let w=setTimeout(()=>{d(!0)},100);return()=>{clearTimeout(w)}}},[n]);let S=()=>{o(!0)},j=()=>{o(!1),d(!1)};return r?a!=="intent"?[l,N,{}]:[l,N,{onFocus:Pl(f,S),onBlur:Pl(h,j),onMouseEnter:Pl(m,S),onMouseLeave:Pl(x,j),onTouchStart:Pl(y,S)}]:[!1,N,{}]}function Pl(a,t){return r=>{a&&a(r),r.defaultPrevented||t(r)}}function XC({page:a,...t}){let{router:r}=Bw(),n=v.useMemo(()=>Ew(r.routes,a,r.basename),[r.routes,a,r.basename]);return n?v.createElement(KC,{page:a,matches:n,...t}):null}function QC(a){let{manifest:t,routeModules:r}=Yw(),[n,o]=v.useState([]);return v.useEffect(()=>{let l=!1;return YC(a,t,r).then(d=>{l||o(d)}),()=>{l=!0}},[a,t,r]),n}function KC({page:a,matches:t,...r}){let n=La(),{future:o,manifest:l,routeModules:d}=Yw(),{basename:f}=Bw(),{loaderData:h,matches:m}=$C(),x=v.useMemo(()=>Fb(a,t,m,l,n,"data"),[a,t,m,l,n]),y=v.useMemo(()=>Fb(a,t,m,l,n,"assets"),[a,t,m,l,n]),N=v.useMemo(()=>{if(a===n.pathname+n.search+n.hash)return[];let w=new Set,_=!1;if(t.forEach(M=>{let O=l.routes[M.route.id];!O||!O.hasLoader||(!x.some(k=>k.route.id===M.route.id)&&M.route.id in h&&d[M.route.id]?.shouldRevalidate||O.hasClientLoader?_=!0:w.add(M.route.id))}),w.size===0)return[];let D=HC(a,f,o.unstable_trailingSlashAwareDataRequests,"data");return _&&w.size>0&&D.searchParams.set("_routes",t.filter(M=>w.has(M.route.id)).map(M=>M.route.id).join(",")),[D.pathname+D.search]},[f,o.unstable_trailingSlashAwareDataRequests,h,n,l,x,t,a,d]),S=v.useMemo(()=>qC(y,l),[y,l]),j=QC(y);return v.createElement(v.Fragment,null,N.map(w=>v.createElement("link",{key:w,rel:"prefetch",as:"fetch",href:w,...r})),S.map(w=>v.createElement("link",{key:w,rel:"modulepreload",href:w,...r})),j.map(({key:w,link:_})=>v.createElement("link",{key:w,nonce:r.nonce,..._,crossOrigin:_.crossOrigin??r.crossOrigin})))}function ZC(...a){return t=>{a.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var WC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{WC&&(window.__reactRouterVersion="7.13.1")}catch{}function JC({basename:a,children:t,unstable_useTransitions:r,window:n}){let o=v.useRef();o.current==null&&(o.current=A3({window:n,v5Compat:!0}));let l=o.current,[d,f]=v.useState({action:l.action,location:l.location}),h=v.useCallback(m=>{r===!1?f(m):v.startTransition(()=>f(m))},[r]);return v.useLayoutEffect(()=>l.listen(h),[l,h]),v.createElement(EC,{basename:a,children:t,location:d.location,navigationType:d.action,navigator:l,unstable_useTransitions:r})}var qw=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fe=v.forwardRef(function({onClick:t,discover:r="render",prefetch:n="none",relative:o,reloadDocument:l,replace:d,unstable_mask:f,state:h,target:m,to:x,preventScrollReset:y,viewTransition:N,unstable_defaultShouldRevalidate:S,...j},w){let{basename:_,navigator:D,unstable_useTransitions:M}=v.useContext(za),O=typeof x=="string"&&qw.test(x),k=Mw(x,_);x=k.to;let L=lC(x,{relative:o}),Y=La(),P=null;if(f){let ie=ip(f,[],Y.unstable_mask?Y.unstable_mask.pathname:"/",!0);_!=="/"&&(ie.pathname=ie.pathname==="/"?_:In([_,ie.pathname])),P=D.createHref(ie)}let[B,V,K]=FC(n,j),re=aE(x,{replace:d,unstable_mask:f,state:h,target:m,preventScrollReset:y,relative:o,viewTransition:N,unstable_defaultShouldRevalidate:S,unstable_useTransitions:M});function J(ie){t&&t(ie),ie.defaultPrevented||re(ie)}let ce=!(k.isExternal||l),oe=v.createElement("a",{...j,...K,href:(ce?P:void 0)||k.absoluteURL||L,onClick:ce?J:t,ref:ZC(w,V),target:m,"data-discover":!O&&r==="render"?"true":void 0});return B&&!O?v.createElement(v.Fragment,null,oe,v.createElement(XC,{page:L})):oe});fe.displayName="Link";var eE=v.forwardRef(function({"aria-current":t="page",caseSensitive:r=!1,className:n="",end:o=!1,style:l,to:d,viewTransition:f,children:h,...m},x){let y=Cu(d,{relative:m.relative}),N=La(),S=v.useContext(op),{navigator:j,basename:w}=v.useContext(za),_=S!=null&&lE(y)&&f===!0,D=j.encodeLocation?j.encodeLocation(y).pathname:y.pathname,M=N.pathname,O=S&&S.navigation&&S.navigation.location?S.navigation.location.pathname:null;r||(M=M.toLowerCase(),O=O?O.toLowerCase():null,D=D.toLowerCase()),O&&w&&(O=_r(O,w)||O);const k=D!=="/"&&D.endsWith("/")?D.length-1:D.length;let L=M===D||!o&&M.startsWith(D)&&M.charAt(k)==="/",Y=O!=null&&(O===D||!o&&O.startsWith(D)&&O.charAt(D.length)==="/"),P={isActive:L,isPending:Y,isTransitioning:_},B=L?t:void 0,V;typeof n=="function"?V=n(P):V=[n,L?"active":null,Y?"pending":null,_?"transitioning":null].filter(Boolean).join(" ");let K=typeof l=="function"?l(P):l;return v.createElement(fe,{...m,"aria-current":B,className:V,ref:x,style:K,to:d,viewTransition:f},typeof h=="function"?h(P):h)});eE.displayName="NavLink";var tE=v.forwardRef(({discover:a="render",fetcherKey:t,navigate:r,reloadDocument:n,replace:o,state:l,method:d=bf,action:f,onSubmit:h,relative:m,preventScrollReset:x,viewTransition:y,unstable_defaultShouldRevalidate:N,...S},j)=>{let{unstable_useTransitions:w}=v.useContext(za),_=oE(),D=cE(f,{relative:m}),M=d.toLowerCase()==="get"?"get":"post",O=typeof f=="string"&&qw.test(f),k=L=>{if(h&&h(L),L.defaultPrevented)return;L.preventDefault();let Y=L.nativeEvent.submitter,P=Y?.getAttribute("formmethod")||d,B=()=>_(Y||L.currentTarget,{fetcherKey:t,method:P,navigate:r,replace:o,state:l,relative:m,preventScrollReset:x,viewTransition:y,unstable_defaultShouldRevalidate:N});w&&r!==!1?v.startTransition(()=>B()):B()};return v.createElement("form",{ref:j,method:M,action:D,onSubmit:n?h:k,...S,"data-discover":!O&&a==="render"?"true":void 0})});tE.displayName="Form";function sE(a){return`${a} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function Gw(a){let t=v.useContext(kc);return Et(t,sE(a)),t}function aE(a,{target:t,replace:r,unstable_mask:n,state:o,preventScrollReset:l,relative:d,viewTransition:f,unstable_defaultShouldRevalidate:h,unstable_useTransitions:m}={}){let x=zc(),y=La(),N=Cu(a,{relative:d});return v.useCallback(S=>{if(OC(S,t)){S.preventDefault();let j=r!==void 0?r:cu(y)===cu(N),w=()=>x(a,{replace:j,unstable_mask:n,state:o,preventScrollReset:l,relative:d,viewTransition:f,unstable_defaultShouldRevalidate:h});m?v.startTransition(()=>w()):w()}},[y,x,N,r,n,o,t,a,l,d,f,h,m])}function nE(a){Ra(typeof URLSearchParams<"u","You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");let t=v.useRef(qg(a)),r=v.useRef(!1),n=La(),o=v.useMemo(()=>kC(n.search,r.current?null:t.current),[n.search]),l=zc(),d=v.useCallback((f,h)=>{const m=qg(typeof f=="function"?f(new URLSearchParams(o)):f);r.current=!0,l("?"+m,h)},[l,o]);return[o,d]}var rE=0,iE=()=>`__${String(++rE)}__`;function oE(){let{router:a}=Gw("useSubmit"),{basename:t}=v.useContext(za),r=NC(),n=a.fetch,o=a.navigate;return v.useCallback(async(l,d={})=>{let{action:f,method:h,encType:m,formData:x,body:y}=LC(l,t);if(d.navigate===!1){let N=d.fetcherKey||iE();await n(N,r,d.action||f,{unstable_defaultShouldRevalidate:d.unstable_defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:x,body:y,formMethod:d.method||h,formEncType:d.encType||m,flushSync:d.flushSync})}else await o(d.action||f,{unstable_defaultShouldRevalidate:d.unstable_defaultShouldRevalidate,preventScrollReset:d.preventScrollReset,formData:x,body:y,formMethod:d.method||h,formEncType:d.encType||m,replace:d.replace,state:d.state,fromRouteId:r,flushSync:d.flushSync,viewTransition:d.viewTransition})},[n,o,t,r])}function cE(a,{relative:t}={}){let{basename:r}=v.useContext(za),n=v.useContext(dn);Et(n,"useFormAction must be used inside a RouteContext");let[o]=n.matches.slice(-1),l={...Cu(a||".",{relative:t})},d=La();if(a==null){l.search=d.search;let f=new URLSearchParams(l.search),h=f.getAll("index");if(h.some(x=>x==="")){f.delete("index"),h.filter(y=>y).forEach(y=>f.append("index",y));let x=f.toString();l.search=x?`?${x}`:""}}return(!a||a===".")&&o.route.index&&(l.search=l.search?l.search.replace(/^\?/,"?index&"):"?index"),r!=="/"&&(l.pathname=l.pathname==="/"?r:In([r,l.pathname])),cu(l)}function lE(a,{relative:t}={}){let r=v.useContext(Ow);Et(r!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:n}=Gw("useViewTransitionState"),o=Cu(a,{relative:t});if(!r.isTransitioning)return!1;let l=_r(r.currentLocation.pathname,n)||r.currentLocation.pathname,d=_r(r.nextLocation.pathname,n)||r.nextLocation.pathname;return Pf(o.pathname,d)!=null||Pf(o.pathname,l)!=null}var Ox=yw();const uE=_u(Ox);const dE=a=>a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),fE=a=>a.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),Xb=a=>{const t=fE(a);return t.charAt(0).toUpperCase()+t.slice(1)},Iw=(...a)=>a.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),pE=a=>{for(const t in a)if(t.startsWith("aria-")||t==="role"||t==="title")return!0};var hE={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const mE=v.forwardRef(({color:a="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:o="",children:l,iconNode:d,...f},h)=>v.createElement("svg",{ref:h,...hE,width:t,height:t,stroke:a,strokeWidth:n?Number(r)*24/Number(t):r,className:Iw("lucide",o),...!l&&!pE(f)&&{"aria-hidden":"true"},...f},[...d.map(([m,x])=>v.createElement(m,x)),...Array.isArray(l)?l:[l]]));const ue=(a,t)=>{const r=v.forwardRef(({className:n,...o},l)=>v.createElement(mE,{ref:l,iconNode:t,className:Iw(`lucide-${dE(Xb(a))}`,`lucide-${a}`,n),...o}));return r.displayName=Xb(a),r};const gE=[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]],xE=ue("activity",gE);const yE=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],up=ue("arrow-left",yE);const vE=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Is=ue("arrow-right",vE);const bE=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["path",{d:"M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z",key:"1l2ple"}],["path",{d:"M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z",key:"1wam0m"}]],wE=ue("atom",bE);const NE=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],Vw=ue("award",NE);const SE=[["path",{d:"M4.5 3h15",key:"c7n0jr"}],["path",{d:"M6 3v16a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V3",key:"m1uhx7"}],["path",{d:"M6 14h12",key:"4cwo0f"}]],ws=ue("beaker",SE);const _E=[["path",{d:"M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z",key:"hh9hay"}],["path",{d:"m3.3 7 8.7 5 8.7-5",key:"g66t2b"}],["path",{d:"M12 22V12",key:"d0xqtd"}]],jE=ue("box",_E);const CE=[["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"}]],zf=ue("calendar",CE);const EE=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],TE=ue("chevron-down",EE);const AE=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],DE=ue("chevron-left",AE);const ME=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Vs=ue("chevron-right",ME);const RE=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],$w=ue("circle-alert",RE);const OE=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],Lc=ue("circle-check-big",OE);const kE=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],PE=ue("circle-minus",kE);const zE=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]],LE=ue("circle-plus",zE);const HE=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],UE=ue("circle",HE);const BE=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Tu=ue("clock",BE);const YE=[["path",{d:"m10 16 1.5 1.5",key:"11lckj"}],["path",{d:"m14 8-1.5-1.5",key:"1ohn8i"}],["path",{d:"M15 2c-1.798 1.998-2.518 3.995-2.807 5.993",key:"80uv8i"}],["path",{d:"m16.5 10.5 1 1",key:"696xn5"}],["path",{d:"m17 6-2.891-2.891",key:"xu6p2f"}],["path",{d:"M2 15c6.667-6 13.333 0 20-6",key:"1pyr53"}],["path",{d:"m20 9 .891.891",key:"3xwk7g"}],["path",{d:"M3.109 14.109 4 15",key:"q76aoh"}],["path",{d:"m6.5 12.5 1 1",key:"cs35ky"}],["path",{d:"m7 18 2.891 2.891",key:"1sisit"}],["path",{d:"M9 22c1.798-1.998 2.518-3.995 2.807-5.993",key:"q3hbxp"}]],qE=ue("dna",YE);const GE=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],IE=ue("dollar-sign",GE);const VE=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],lu=ue("download",VE);const $E=[["path",{d:"M12 22a7 7 0 0 0 7-7c0-2-1-3.9-3-5.5s-3.5-4-4-6.5c-.5 2.5-2 4.9-4 6.5C6 11.1 5 13 5 15a7 7 0 0 0 7 7z",key:"c7niix"}]],FE=ue("droplet",$E);const XE=[["path",{d:"M7 16.3c2.2 0 4-1.83 4-4.05 0-1.16-.57-2.26-1.71-3.19S7.29 6.75 7 5.3c-.29 1.45-1.14 2.84-2.29 3.76S3 11.1 3 12.25c0 2.22 1.8 4.05 4 4.05z",key:"1ptgy4"}],["path",{d:"M12.56 6.6A10.97 10.97 0 0 0 14 3.02c.5 2.5 2 4.9 4 6.5s3 3.5 3 5.5a6.98 6.98 0 0 1-11.91 4.97",key:"1sl1rz"}]],QE=ue("droplets",XE);const KE=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],dp=ue("ellipsis",KE);const ZE=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],WE=ue("eye-off",ZE);const JE=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],ho=ue("eye",JE);const e6=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],t6=ue("facebook",e6);const s6=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],a6=ue("file-check",s6);const n6=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],wn=ue("file-text",n6);const r6=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}]],i6=ue("file",r6);const o6=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],c6=ue("film",o6);const l6=[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]],ca=ue("flask-conical",l6);const u6=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Fw=ue("globe",u6);const d6=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],f6=ue("grid-3x3",d6);const p6=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],Xw=ue("heart",p6);const h6=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],kx=ue("image",h6);const m6=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],g6=ue("info",m6);const x6=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],y6=ue("layout-dashboard",x6);const v6=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],Gg=ue("lightbulb",v6);const b6=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],Qw=ue("link",b6);const w6=[["path",{d:"M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z",key:"c2jq9f"}],["rect",{width:"4",height:"12",x:"2",y:"9",key:"mk3on5"}],["circle",{cx:"4",cy:"4",r:"2",key:"bt5ra8"}]],Kw=ue("linkedin",w6);const N6=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]],S6=ue("lock",N6);const _6=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],j6=ue("log-out",_6);const C6=[["path",{d:"m12 15 4 4",key:"lnac28"}],["path",{d:"M2.352 10.648a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.029-6.029a1 1 0 1 1 3 3l-6.029 6.029a1.205 1.205 0 0 0 0 1.704l2.296 2.296a1.205 1.205 0 0 0 1.704 0l6.365-6.367A1 1 0 0 0 8.716 4.282z",key:"nlhkjb"}],["path",{d:"m5 8 4 4",key:"j6kj7e"}]],E6=ue("magnet",C6);const T6=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Hc=ue("mail",T6);const A6=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Lf=ue("map-pin",A6);const D6=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],Zw=ue("menu",D6);const M6=[["path",{d:"M6 18h8",key:"1borvv"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M14 22a7 7 0 1 0 0-14h-1",key:"1jwaiy"}],["path",{d:"M9 14h2",key:"197e7h"}],["path",{d:"M9 12a2 2 0 0 1-2-2V6h6v4a2 2 0 0 1-2 2Z",key:"1bmzmy"}],["path",{d:"M12 6V3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3",key:"1drr47"}]],un=ue("microscope",M6);const R6=[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]],Ww=ue("monitor",R6);const O6=[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]],Ig=ue("newspaper",O6);const k6=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Fn=ue("package",k6);const P6=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],uu=ue("phone",P6);const z6=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Jw=ue("play",z6);const L6=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],zn=ue("plus",L6);const H6=[["path",{d:"M16 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"rib7q0"}],["path",{d:"M5 3a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2 1 1 0 0 1 1 1v1a2 2 0 0 1-2 2 1 1 0 0 0-1 1v2a1 1 0 0 0 1 1 6 6 0 0 0 6-6V5a2 2 0 0 0-2-2z",key:"1ymkrd"}]],U6=ue("quote",H6);const B6=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],jr=ue("refresh-cw",B6);const Y6=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],eN=ue("save",Y6);const q6=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Oa=ue("search",q6);const G6=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],I6=ue("send",G6);const V6=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],tN=ue("settings",V6);const $6=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],F6=ue("share-2",$6);const X6=[["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"}]],Au=ue("shield",X6);const Q6=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],fp=ue("sparkles",Q6);const K6=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],Px=ue("square-pen",K6);const Z6=[["path",{d:"m18 2 4 4",key:"22kx64"}],["path",{d:"m17 7 3-3",key:"1w1zoj"}],["path",{d:"M19 9 8.7 19.3c-1 1-2.5 1-3.4 0l-.6-.6c-1-1-1-2.5 0-3.4L15 5",key:"1exhtz"}],["path",{d:"m9 11 4 4",key:"rovt3i"}],["path",{d:"m5 19-3 3",key:"59f2uf"}],["path",{d:"m14 4 6 6",key:"yqp9t2"}]],W6=ue("syringe",Z6);const J6=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],eT=ue("tag",J6);const tT=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]],sN=ue("target",tT);const sT=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],vn=ue("trash-2",sT);const aT=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],aN=ue("trending-up",aT);const nT=[["path",{d:"M22 4s-.7 2.1-2 3.4c1.6 10-9.4 17.3-18 11.6 2.2.1 4.4-.6 6-2C3 15.5.5 9.6 3 5c2.2 2.6 5.6 4.1 9 4-.9-4.2 4-6.6 7-3.8 1.1 0 3-1.2 3-1.2z",key:"pff0z6"}]],nN=ue("twitter",nT);const rT=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],rN=ue("upload",rT);const iT=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],pp=ue("user",iT);const oT=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],cT=ue("users",oT);const lT=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],zx=ue("x",lT);const uT=[["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"}]],iN=ue("zap",uT),Vg=[{label:"首页",href:"/"},{label:"产品中心",href:"/products",children:[{label:"有柱分选",href:"/products?category=column"},{label:"无柱分选",href:"/products?category=column-free"},{label:"配套试剂耗材",href:"/products?category=consumables"},{label:"设备仪器",href:"/products?category=device"}]},{label:"解决方案",href:"/solutions"},{label:"技术平台",href:"/technology"},{label:"新闻资讯",href:"/news"},{label:"关于我们",href:"/about"}],Cr={cd4Mouse:"/images/products/EasySort-CD4-mouse-v2.jpg",cd8Mouse:"/images/products/EasySort-CD8-mouse-v2.jpg",cd3Human:"/images/products/EasySort-CD3-human-v2.jpg",nanobeads:"/images/products/EasySort-nanobeads-v2.jpg",cytosinct1000:"/images/products/CytoSinct-1000-v2.jpg",columns:"/images/products/EasySort-columns-v2.jpg",magnetRack:"/images/products/EasySort-magnet-rack-v2.jpg",rpmi1640:"/images/products/RPMI-1640-medium-v2.jpg"},dT={id:"CS-CD4M",name:"EasySort™ CD4 T细胞分选试剂盒（小鼠）",model:"CS-CD4M",category:"column-free",shortDescription:"采用阴性分选策略，从小鼠脾脏或淋巴结中快速获得高纯度CD4+ T细胞",description:"EasySort™ CD4 T细胞分选试剂盒采用阴性分选策略，通过生物素标记的非目标细胞与链霉亲和素纳米磁珠结合，利用无柱式磁极分离技术，从小鼠脾脏或淋巴结中快速获得高纯度CD4+ T细胞。分离过程无需裂红，15-20分钟即可完成，细胞活性保持率>98%。",images:[Cr.cd4Mouse],specifications:[{label:"分选方式",value:"阴性分选，无柱式"},{label:"适用样本",value:"小鼠脾脏、淋巴结"},{label:"起始细胞量",value:"1×10^7 - 1×10^8个细胞"},{label:"分选纯度",value:"≥95%"},{label:"细胞回收率",value:"≥90%"},{label:"细胞存活率",value:"≥98%"},{label:"操作时间",value:"15-20分钟"},{label:"磁珠粒径",value:"约50nm"},{label:"磁珠浓度",value:"5mg/mL"}],applications:["流式细胞术分析","细胞培养与扩增","功能实验","单细胞测序","过继性细胞治疗"],downloads:[{name:"产品说明书",url:"/downloads/CS-CD4M-manual.pdf",size:"2.5 MB",type:"PDF"},{name:"安全数据表(SDS)",url:"/downloads/CS-CD4M-sds.pdf",size:"0.8 MB",type:"PDF"},{name:"实验方案",url:"/downloads/CS-CD4M-protocol.pdf",size:"1.2 MB",type:"PDF"}],featured:!0,status:"active",pricing:[{spec:"10次/盒",price:1280,currency:"CNY",stock:100},{spec:"50次/盒",price:4980,currency:"CNY",stock:50}],detailInfo:{introduction:"EasySort™ CD4 T细胞分选试剂盒采用阴性分选策略，通过生物素标记的非目标细胞与链霉亲和素纳米磁珠结合，利用无柱式磁极分离技术，从小鼠脾脏或淋巴结中快速获得高纯度CD4+ T细胞。分离过程无需裂红，15-20分钟即可完成，细胞活性保持率>98%，可直接用于下游流式分析、细胞培养或功能实验。",features:[{title:"高纯度分选",description:"分选后CD4+ T细胞纯度≥95%，经流式细胞术验证",icon:"Target"},{title:"快速操作",description:"全程15-20分钟，无需红细胞裂解步骤",icon:"Clock"},{title:"温和分离",description:"纳米磁珠不直接接触目标细胞，最大限度保持细胞原始状态",icon:"Heart"},{title:"高细胞活性",description:"分选后细胞存活率>98%，适合长期培养",icon:"Activity"},{title:"无需去珠",description:"纳米级磁珠无需洗脱，可直接用于下游应用",icon:"Zap"},{title:"灵活规格",description:"提供10次/盒和50次/盒两种规格，满足不同实验需求",icon:"Package"}],principle:"本试剂盒基于免疫磁性细胞分选（MACS）技术。首先，生物素偶联的抗体混合物与样本孵育，标记非CD4+细胞（如CD8、B细胞、NK细胞等）。随后加入链霉亲和素包被的纳米磁珠，与生物素标记的细胞结合。将样本置于磁极中，标记细胞被磁场滞留，未标记的CD4+ T细胞被倾倒收集，完成阴性分选。",components:[{name:"生物素标记抗体混合物",spec10:"100μL",spec50:"500μL",storage:"2-8℃"},{name:"链霉亲和素纳米磁珠",spec10:"200μL",spec50:"1mL",storage:"2-8℃"},{name:"分选缓冲液",spec10:"50mL",spec50:"250mL",storage:"2-8℃"},{name:"产品说明书",spec10:"1份",spec50:"1份",storage:"-"}],techParameters:[{label:"分选方式",value:"阴性分选，无柱式"},{label:"适用样本",value:"小鼠脾脏、淋巴结"},{label:"起始细胞量",value:"1×10^7 - 1×10^8个细胞"},{label:"分选纯度",value:"≥95%"},{label:"细胞回收率",value:"≥90%"},{label:"细胞存活率",value:"≥98%"},{label:"操作时间",value:"15-20分钟"},{label:"磁珠粒径",value:"约50nm"},{label:"磁珠浓度",value:"5mg/mL"},{label:"储存条件",value:"2-8℃避光"},{label:"有效期",value:"12个月"}],applicationScenarios:[{title:"流式细胞术分析",description:"用于表面/胞内标志物检测",icon:"Microscope"},{title:"细胞培养与扩增",description:"支持长期培养，保持细胞功能",icon:"FlaskConical"},{title:"功能实验",description:"细胞增殖、凋亡、细胞因子分泌检测",icon:"TestTube"},{title:"单细胞测序",description:"制备高纯度单细胞悬液",icon:"Dna"},{title:"过继性细胞治疗",description:"CAR-T/TCR-T细胞制备",icon:"Syringe"},{title:"免疫共沉淀",description:"分离特定T细胞亚群进行蛋白分析",icon:"Beaker"}],results:{description:"使用EasySort™ CD4 T细胞分选试剂盒对小鼠脾脏细胞进行分选，分选前CD4+细胞占比约15-20%，分选后纯度>95%，细胞活率>98%。",caption:"图1. 小鼠脾脏细胞CD4分选结果"},workflow:[{step:1,title:"样本制备",description:"制备单细胞悬液，计数",duration:"5分钟"},{step:2,title:"抗体孵育",description:"加入生物素标记抗体，4℃孵育10分钟",duration:"10分钟"},{step:3,title:"磁珠孵育",description:"加入链霉亲和素磁珠，4℃孵育5分钟",duration:"5分钟"},{step:4,title:"磁极分离",description:"将样本管置于磁极中，静置3分钟",duration:"3分钟"},{step:5,title:"收集细胞",description:"倾倒上清至新管，获得目标细胞",duration:"2分钟"}],precautions:["本产品仅适用于科研用途，不可用于临床诊断或治疗","操作前请仔细阅读说明书，确保理解所有步骤","磁珠悬液使用前请充分混匀，避免沉淀","建议使用配套的CellSort分选缓冲液，以获得最佳效果","分选后的细胞建议立即使用，或按标准程序冻存","如发现有沉淀或异物，请勿使用"],orderingInfo:{catalogNumber:"CS-CD4M",productName:"EasySort™ CD4 T细胞分选试剂盒（小鼠）",specs:[{size:"10次/盒",price:1280,currency:"CNY"},{size:"50次/盒",price:4980,currency:"CNY"}]}},seo:{title:"EasySort™ CD4 T细胞分选试剂盒（小鼠）- CellSort",description:"采用阴性分选策略，从小鼠脾脏或淋巴结中快速获得高纯度CD4+ T细胞，纯度≥95%，操作时间15-20分钟。",keywords:"CD4 T细胞分选,小鼠T细胞分离,阴性分选,磁珠分选,细胞分选试剂盒",slug:"easysort-cd4-mouse",ogImage:Cr.cd4Mouse},createdAt:new Date("2024-01-15"),updatedAt:new Date("2024-03-01")},fT={id:"CS-CD8M",name:"EasySort™ CD8 T细胞分选试剂盒（小鼠）",model:"CS-CD8M",category:"column-free",shortDescription:"采用阴性分选策略，从小鼠脾脏或淋巴结中快速获得高纯度CD8+ T细胞",description:"EasySort™ CD8 T细胞分选试剂盒采用阴性分选策略，通过生物素标记的非目标细胞与链霉亲和素纳米磁珠结合，利用无柱式磁极分离技术，从小鼠脾脏或淋巴结中快速获得高纯度CD8+ T细胞。",images:[Cr.cd8Mouse],specifications:[{label:"分选方式",value:"阴性分选，无柱式"},{label:"适用样本",value:"小鼠脾脏、淋巴结"},{label:"分选纯度",value:"≥95%"},{label:"细胞存活率",value:"≥98%"},{label:"操作时间",value:"15-20分钟"}],applications:["CTL功能研究","细胞毒性实验","肿瘤免疫研究","病毒感染模型"],downloads:[{name:"产品说明书",url:"/downloads/CS-CD8M-manual.pdf",size:"2.5 MB",type:"PDF"},{name:"安全数据表(SDS)",url:"/downloads/CS-CD8M-sds.pdf",size:"0.8 MB",type:"PDF"}],featured:!0,status:"active",pricing:[{spec:"10次/盒",price:1280,currency:"CNY",stock:80},{spec:"50次/盒",price:4980,currency:"CNY",stock:40}],detailInfo:{introduction:"EasySort™ CD8 T细胞分选试剂盒采用阴性分选策略，通过生物素标记的非目标细胞与链霉亲和素纳米磁珠结合，利用无柱式磁极分离技术，从小鼠脾脏或淋巴结中快速获得高纯度CD8+ T细胞（细胞毒性T细胞）。分离过程无需裂红，15-20分钟即可完成，细胞活性保持率>98%，是CTL功能研究和肿瘤免疫研究的理想工具。",features:[{title:"高纯度分选",description:"分选后CD8+ T细胞纯度≥95%",icon:"Target"},{title:"快速操作",description:"全程15-20分钟，无需红细胞裂解",icon:"Clock"},{title:"高细胞活性",description:"分选后细胞存活率>98%",icon:"Activity"},{title:"温和分离",description:"纳米磁珠不直接接触目标细胞",icon:"Heart"}],principle:"本试剂盒基于免疫磁性细胞分选（MACS）技术。生物素偶联的抗体混合物标记非CD8+细胞（如CD4、B细胞、NK细胞等），随后加入链霉亲和素包被的纳米磁珠，标记细胞被磁场滞留，未标记的CD8+ T细胞被收集。",components:[{name:"生物素标记抗体混合物",spec10:"100μL",spec50:"500μL",storage:"2-8℃"},{name:"链霉亲和素纳米磁珠",spec10:"200μL",spec50:"1mL",storage:"2-8℃"},{name:"分选缓冲液",spec10:"50mL",spec50:"250mL",storage:"2-8℃"},{name:"产品说明书",spec10:"1份",spec50:"1份",storage:"-"}],techParameters:[{label:"分选方式",value:"阴性分选，无柱式"},{label:"适用样本",value:"小鼠脾脏、淋巴结"},{label:"分选纯度",value:"≥95%"},{label:"细胞存活率",value:"≥98%"},{label:"操作时间",value:"15-20分钟"}],applicationScenarios:[{title:"CTL功能研究",description:"细胞毒性T淋巴细胞功能分析",icon:"Microscope"},{title:"细胞毒性实验",description:"杀伤活性检测",icon:"TestTube"},{title:"肿瘤免疫研究",description:"肿瘤浸润淋巴细胞分析",icon:"Target"},{title:"病毒感染模型",description:"病毒特异性CTL研究",icon:"Shield"}],workflow:[{step:1,title:"样本制备",description:"制备单细胞悬液",duration:"5分钟"},{step:2,title:"抗体孵育",description:"加入生物素标记抗体，4℃孵育10分钟",duration:"10分钟"},{step:3,title:"磁珠孵育",description:"加入链霉亲和素磁珠，4℃孵育5分钟",duration:"5分钟"},{step:4,title:"磁极分离",description:"磁极中静置3分钟",duration:"3分钟"},{step:5,title:"收集细胞",description:"倾倒上清获得目标细胞",duration:"2分钟"}],precautions:["本产品仅适用于科研用途","磁珠悬液使用前请充分混匀","建议使用配套的CellSort分选缓冲液","分选后的细胞建议立即使用"],orderingInfo:{catalogNumber:"CS-CD8M",productName:"EasySort™ CD8 T细胞分选试剂盒（小鼠）",specs:[{size:"10次/盒",price:1280,currency:"CNY"},{size:"50次/盒",price:4980,currency:"CNY"}]}},createdAt:new Date("2024-01-15"),updatedAt:new Date("2024-03-01")},pT={id:"CS-CD3H",name:"EasySort™ CD3 T细胞分选试剂盒（人）",model:"CS-CD3H",category:"column-free",shortDescription:"采用阴性分选策略，从人外周血或PBMC中快速获得高纯度CD3+ T细胞",description:"EasySort™ CD3 T细胞分选试剂盒采用阴性分选策略，从人外周血或PBMC中快速获得高纯度CD3+ T细胞，纯度≥95%，操作时间15-20分钟。",images:[Cr.cd3Human],specifications:[{label:"分选方式",value:"阴性分选，无柱式"},{label:"适用样本",value:"人外周血、PBMC"},{label:"分选纯度",value:"≥95%"},{label:"细胞存活率",value:"≥98%"},{label:"操作时间",value:"15-20分钟"}],applications:["CAR-T制备","T细胞功能研究","免疫治疗","流式分析"],downloads:[{name:"产品说明书",url:"/downloads/CS-CD3H-manual.pdf",size:"2.5 MB",type:"PDF"},{name:"安全数据表(SDS)",url:"/downloads/CS-CD3H-sds.pdf",size:"0.8 MB",type:"PDF"}],featured:!0,status:"active",pricing:[{spec:"10次/盒",price:1580,currency:"CNY",stock:60},{spec:"50次/盒",price:5980,currency:"CNY",stock:30}],detailInfo:{introduction:"EasySort™ CD3 T细胞分选试剂盒采用阴性分选策略，从人外周血或PBMC中快速获得高纯度CD3+ T细胞。该产品适用于CAR-T细胞制备、T细胞功能研究、免疫治疗研究等领域，分选纯度≥95%，细胞存活率>98%。",features:[{title:"高纯度分选",description:"分选后CD3+ T细胞纯度≥95%",icon:"Target"},{title:"人源专用",description:"针对人源细胞优化设计",icon:"User"},{title:"快速操作",description:"全程15-20分钟",icon:"Clock"},{title:"高细胞活性",description:"分选后细胞存活率>98%",icon:"Activity"}],principle:"基于免疫磁性细胞分选技术，生物素偶联抗体标记非T细胞，链霉亲和素磁珠结合后通过磁极分离，收集未标记的CD3+ T细胞。",components:[{name:"生物素标记抗体混合物",spec10:"100μL",spec50:"500μL",storage:"2-8℃"},{name:"链霉亲和素纳米磁珠",spec10:"200μL",spec50:"1mL",storage:"2-8℃"},{name:"分选缓冲液",spec10:"50mL",spec50:"250mL",storage:"2-8℃"},{name:"产品说明书",spec10:"1份",spec50:"1份",storage:"-"}],techParameters:[{label:"分选方式",value:"阴性分选，无柱式"},{label:"适用样本",value:"人外周血、PBMC"},{label:"分选纯度",value:"≥95%"},{label:"细胞存活率",value:"≥98%"},{label:"操作时间",value:"15-20分钟"}],applicationScenarios:[{title:"CAR-T制备",description:"CAR-T细胞治疗产品研发",icon:"Syringe"},{title:"T细胞功能研究",description:"人T细胞功能分析",icon:"Microscope"},{title:"免疫治疗",description:"肿瘤免疫治疗研究",icon:"Shield"},{title:"流式分析",description:"流式细胞术检测",icon:"Activity"}],workflow:[{step:1,title:"样本制备",description:"制备PBMC悬液",duration:"5分钟"},{step:2,title:"抗体孵育",description:"加入生物素标记抗体",duration:"10分钟"},{step:3,title:"磁珠孵育",description:"加入链霉亲和素磁珠",duration:"5分钟"},{step:4,title:"磁极分离",description:"磁极中静置",duration:"3分钟"},{step:5,title:"收集细胞",description:"获得CD3+ T细胞",duration:"2分钟"}],precautions:["本产品仅适用于科研用途","人源样本需按生物安全规范操作","磁珠悬液使用前请充分混匀"],orderingInfo:{catalogNumber:"CS-CD3H",productName:"EasySort™ CD3 T细胞分选试剂盒（人）",specs:[{size:"10次/盒",price:1580,currency:"CNY"},{size:"50次/盒",price:5980,currency:"CNY"}]}},createdAt:new Date("2024-01-20"),updatedAt:new Date("2024-03-05")},hT={id:"CS-SANB",name:"EasySort™ 纳米磁珠（链霉亲和素）",model:"CS-SANB",category:"consumables",shortDescription:"高性能链霉亲和素包被纳米磁珠，用于生物素标记细胞的分离",description:"CellSort链霉亲和素纳米磁珠采用先进的纳米技术制备，表面包被高纯度链霉亲和素，可与生物素标记的抗体高效结合，实现目标细胞的快速分离。",images:[Cr.nanobeads],specifications:[{label:"磁珠粒径",value:"50-100 nm"},{label:"包被方式",value:"共价偶联"},{label:"结合能力",value:">10 μg/mg"},{label:"磁响应时间",value:"<30秒"},{label:"浓度",value:"5mg/mL"},{label:"保存条件",value:"2-8℃"},{label:"有效期",value:"24个月"}],applications:["细胞分选","免疫沉淀","核酸纯化","蛋白质纯化"],downloads:[{name:"产品说明书",url:"/downloads/CS-SANB-manual.pdf",size:"2.0 MB",type:"PDF"},{name:"安全数据表(SDS)",url:"/downloads/CS-SANB-sds.pdf",size:"0.5 MB",type:"PDF"}],featured:!1,status:"active",pricing:[{spec:"2mL",price:880,currency:"CNY",stock:100},{spec:"10mL",price:3280,currency:"CNY",stock:50}],detailInfo:{introduction:"CellSort链霉亲和素纳米磁珠采用先进的纳米技术制备，表面包被高纯度链霉亲和素，可与生物素标记的抗体高效结合，实现目标细胞的快速分离。磁珠粒径均一、磁响应性强，是细胞分选实验的理想选择。",features:[{title:"高结合能力",description:"链霉亲和素密度高，结合能力强",icon:"Magnet"},{title:"快速分离",description:"磁响应性强，分离速度快",icon:"Zap"},{title:"低细胞毒性",description:"生物相容性好，对细胞影响小",icon:"Heart"},{title:"粒径均一",description:"保证分选效果的一致性",icon:"Circle"}],principle:"链霉亲和素与生物素之间的亲和力极高（Kd≈10^-15 M），是目前已知最强的非共价相互作用之一。磁珠表面的链霉亲和素可与生物素标记的抗体特异性结合，在磁场作用下实现目标细胞的分离。",components:[{name:"链霉亲和素纳米磁珠",spec10:"2mL",spec50:"10mL",storage:"2-8℃"},{name:"储存缓冲液",spec10:"含防腐剂",spec50:"含防腐剂",storage:"2-8℃"}],techParameters:[{label:"磁珠粒径",value:"50-100 nm"},{label:"包被方式",value:"共价偶联"},{label:"结合能力",value:">10 μg/mg"},{label:"磁响应时间",value:"<30秒"},{label:"浓度",value:"5mg/mL"},{label:"保存条件",value:"2-8℃"},{label:"有效期",value:"24个月"}],applicationScenarios:[{title:"细胞分选",description:"生物素标记细胞的分离",icon:"Magnet"},{title:"免疫沉淀",description:"蛋白质免疫共沉淀",icon:"Beaker"},{title:"核酸纯化",description:"生物素标记核酸的捕获",icon:"Dna"},{title:"蛋白质纯化",description:"生物素标记蛋白的分离",icon:"Protein"}],workflow:[{step:1,title:"磁珠准备",description:"充分混匀磁珠悬液",duration:"1分钟"},{step:2,title:"结合反应",description:"与生物素标记物孵育",duration:"15-30分钟"},{step:3,title:"磁极分离",description:"置于磁极中分离",duration:"1-3分钟"},{step:4,title:"洗涤",description:"去除未结合物质",duration:"5分钟"},{step:5,title:"洗脱",description:"收集目标产物",duration:"2分钟"}],precautions:["使用前请充分混匀磁珠悬液","避免反复冻融","储存于2-8℃，避免冻结"],orderingInfo:{catalogNumber:"CS-SANB",productName:"EasySort™ 纳米磁珠（链霉亲和素）",specs:[{size:"2mL (5mg/mL)",price:880,currency:"CNY"},{size:"10mL (5mg/mL)",price:3280,currency:"CNY"}]}},createdAt:new Date("2024-02-01"),updatedAt:new Date("2024-03-10")},mT={id:"CS-CS1000",name:"CytoSinct™ 1000 细胞分选仪",model:"CS-CS1000",category:"device",shortDescription:"自动化细胞分选设备，支持无柱式和柱式两种分选模式",description:"CytoSinct™ 1000细胞分选仪是CellSort推出的自动化细胞分选设备，支持无柱式和柱式两种分选模式，配备触摸屏操作界面，可实现高通量细胞分选。",images:[Cr.cytosinct1000],specifications:[{label:"分选模式",value:"无柱式/柱式"},{label:"通道数",value:"8通道"},{label:"处理通量",value:"1-8样本/批次"},{label:"操作界面",value:"7寸触摸屏"},{label:"尺寸",value:"350×280×320mm"},{label:"重量",value:"12kg"},{label:"电源",value:"AC 100-240V"}],applications:["高通量细胞分选","自动化分选流程","临床前研究","GMP生产"],downloads:[{name:"产品说明书",url:"/downloads/CS-CS1000-manual.pdf",size:"5.0 MB",type:"PDF"},{name:"操作手册",url:"/downloads/CS-CS1000-operation.pdf",size:"3.5 MB",type:"PDF"},{name:"软件下载",url:"/downloads/CS-CS1000-software.zip",size:"25 MB",type:"ZIP"}],featured:!0,status:"active",pricing:[{spec:"标准版",price:128e3,currency:"CNY",stock:10},{spec:"GMP版",price:198e3,currency:"CNY",stock:5}],detailInfo:{introduction:"CytoSinct™ 1000细胞分选仪是CellSort推出的自动化细胞分选设备，支持无柱式和柱式两种分选模式，配备7寸触摸屏操作界面，可实现高通量细胞分选。设备采用紧凑型台式设计，适用于各种实验室环境。",features:[{title:"双模式分选",description:"支持无柱式和柱式两种分选模式",icon:"Settings"},{title:"高通量处理",description:"8通道设计，同时处理8个样本",icon:"Layers"},{title:"智能操作",description:"7寸触摸屏，一键式操作",icon:"Monitor"},{title:"紧凑设计",description:"台式设计，节省实验室空间",icon:"Box"}],principle:"CytoSinct™ 1000采用先进的磁场控制技术，通过精确调节磁场强度和作用时间，实现高效、温和的细胞分离。设备内置多种分选程序，可根据不同样本类型自动优化分选参数。",components:[{name:"主机",spec10:"1台",spec50:"1台",storage:"室温"},{name:"磁极模块",spec10:"1套",spec50:"1套",storage:"室温"},{name:"电源适配器",spec10:"1个",spec50:"1个",storage:"室温"},{name:"操作手册",spec10:"1份",spec50:"1份",storage:"-"}],techParameters:[{label:"分选模式",value:"无柱式/柱式"},{label:"通道数",value:"8通道"},{label:"处理通量",value:"1-8样本/批次"},{label:"操作界面",value:"7寸触摸屏"},{label:"尺寸",value:"350×280×320mm"},{label:"重量",value:"12kg"},{label:"电源",value:"AC 100-240V, 50/60Hz"},{label:"功率",value:"100W"}],applicationScenarios:[{title:"高通量分选",description:"批量细胞分选处理",icon:"Zap"},{title:"自动化流程",description:"标准化分选操作",icon:"Settings"},{title:"临床前研究",description:"药物研发细胞分选",icon:"FlaskConical"},{title:"GMP生产",description:"细胞治疗产品生产",icon:"Shield"}],workflow:[{step:1,title:"开机准备",description:"开启设备，选择分选程序",duration:"2分钟"},{step:2,title:"样本放置",description:"将样本管放入磁极模块",duration:"1分钟"},{step:3,title:"启动分选",description:"点击开始，自动完成分选",duration:"15-20分钟"},{step:4,title:"收集细胞",description:"取出收集管，获得目标细胞",duration:"1分钟"}],precautions:["请确保设备接地良好","定期清洁磁极模块","避免在强磁场环境中使用"],orderingInfo:{catalogNumber:"CS-CS1000",productName:"CytoSinct™ 1000 细胞分选仪",specs:[{size:"标准版",price:128e3,currency:"CNY"},{size:"GMP版",price:198e3,currency:"CNY"}]}},createdAt:new Date("2024-02-15"),updatedAt:new Date("2024-03-15")},gT={id:"CS-COL25",name:"EasySort™ 分选柱套装",model:"CS-COL25",category:"consumables",shortDescription:"配套分选柱，用于阳性分选策略，25支/盒",description:"EasySort™分选柱采用高品质材料制造，内部填充优化磁场分布的基质，适用于阳性分选策略，可与CellSort磁力架配合使用。",images:[Cr.columns],specifications:[{label:"规格",value:"25支/盒"},{label:"适用样本量",value:"1×10^7 - 1×10^9细胞"},{label:"材质",value:"医用级塑料"},{label:"灭菌方式",value:"伽马射线灭菌"},{label:"保存条件",value:"室温干燥"},{label:"有效期",value:"36个月"}],applications:["阳性分选","高纯度细胞分离","稀有细胞富集"],downloads:[{name:"产品说明书",url:"/downloads/CS-COL25-manual.pdf",size:"1.5 MB",type:"PDF"}],featured:!1,status:"active",pricing:[{spec:"25支/盒",price:680,currency:"CNY",stock:200}],detailInfo:{introduction:"EasySort™分选柱采用高品质医用级塑料制造，内部填充优化磁场分布的基质，适用于阳性分选策略。分选柱经伽马射线灭菌，可直接使用，与CellSort磁力架配合可实现高效的细胞分离。",features:[{title:"高品质材料",description:"医用级塑料，生物相容性好",icon:"Shield"},{title:"伽马灭菌",description:"预灭菌包装，开袋即用",icon:"CheckCircle"},{title:"优化设计",description:"磁场分布均匀，分选效率高",icon:"Target"}],principle:"分选柱内部填充特殊基质，在磁场作用下形成均匀的磁场梯度。磁珠标记的细胞被吸附在柱内，未标记细胞流出，通过洗脱获得高纯度目标细胞。",components:[{name:"分选柱",spec10:"25支",spec50:"25支",storage:"室温干燥"},{name:"使用说明",spec10:"1份",spec50:"1份",storage:"-"}],techParameters:[{label:"规格",value:"25支/盒"},{label:"适用样本量",value:"1×10^7 - 1×10^9细胞"},{label:"材质",value:"医用级塑料"},{label:"灭菌方式",value:"伽马射线灭菌"},{label:"保存条件",value:"室温干燥"},{label:"有效期",value:"36个月"}],applicationScenarios:[{title:"阳性分选",description:"高纯度目标细胞分离",icon:"Plus"},{title:"稀有细胞富集",description:"低丰度细胞群体富集",icon:"Search"}],workflow:[{step:1,title:"准备分选柱",description:"将分选柱放入磁力架",duration:"1分钟"},{step:2,title:"加入样本",description:"将标记细胞悬液加入分选柱",duration:"2分钟"},{step:3,title:"洗涤",description:"用缓冲液洗涤去除非目标细胞",duration:"5分钟"},{step:4,title:"洗脱",description:"移出磁场，洗脱目标细胞",duration:"2分钟"}],precautions:["一次性使用，不可重复使用","保持干燥，避免潮湿","开封后尽快使用"],orderingInfo:{catalogNumber:"CS-COL25",productName:"EasySort™ 分选柱套装",specs:[{size:"25支/盒",price:680,currency:"CNY"}]}},createdAt:new Date("2024-02-20"),updatedAt:new Date("2024-03-20")},xT={id:"CS-MR8",name:"EasySort™ 磁力架（M8）",model:"CS-MR8",category:"consumables",shortDescription:"8通道磁力架，适用于1.5mL离心管",description:"CellSort磁力架采用高性能钕铁硼永磁材料，磁场强度高、分布均匀，专为无柱磁分选设计。",images:[Cr.magnetRack],specifications:[{label:"通道数",value:"8通道"},{label:"适用管型",value:"1.5mL离心管"},{label:"磁场强度",value:">5000 Gauss"},{label:"材质",value:"钕铁硼永磁+铝合金"},{label:"尺寸",value:"120×60×35mm"},{label:"重量",value:"350g"}],applications:["无柱磁分选","磁珠分离","核酸提取"],downloads:[{name:"产品说明书",url:"/downloads/CS-MR8-manual.pdf",size:"1.0 MB",type:"PDF"}],featured:!1,status:"active",pricing:[{spec:"M8 (8通道)",price:1280,currency:"CNY",stock:50}],detailInfo:{introduction:"CellSort磁力架采用高性能钕铁硼永磁材料制造，磁场强度高、分布均匀，专为无柱磁分选设计。M8型号可同时处理8个1.5mL离心管样本，操作简便，是细胞分选实验的必备工具。",features:[{title:"高磁场强度",description:">5000 Gauss，快速分离",icon:"Magnet"},{title:"磁场均匀",description:"保证分选效果一致性",icon:"Target"},{title:"多通道设计",description:"8通道，同时处理多个样本",icon:"Grid"},{title:"耐用性好",description:"永磁材料，长期使用不衰减",icon:"Award"}],principle:"利用高性能永磁材料产生的强磁场，将磁珠标记的细胞吸附在离心管壁，通过简单的倾倒操作实现目标细胞与非目标细胞的分离。",components:[{name:"磁力架主体",spec10:"1个",spec50:"1个",storage:"室温"}],techParameters:[{label:"通道数",value:"8通道"},{label:"适用管型",value:"1.5mL离心管"},{label:"磁场强度",value:">5000 Gauss"},{label:"材质",value:"钕铁硼永磁+铝合金"},{label:"尺寸",value:"120×60×35mm"},{label:"重量",value:"350g"}],applicationScenarios:[{title:"无柱磁分选",description:"快速细胞分离",icon:"Magnet"},{title:"磁珠洗涤",description:"磁珠纯化洗涤",icon:"Droplets"},{title:"核酸提取",description:"磁珠法核酸纯化",icon:"Dna"}],workflow:[{step:1,title:"放置离心管",description:"将样本管放入磁力架",duration:"10秒"},{step:2,title:"磁极分离",description:"静置等待磁珠吸附",duration:"1-3分钟"},{step:3,title:"倾倒上清",description:"小心倾倒去除上清",duration:"10秒"},{step:4,title:"洗涤/收集",description:"根据实验需求操作",duration:"视实验而定"}],precautions:["避免剧烈撞击","远离强磁场敏感设备","定期清洁表面"],orderingInfo:{catalogNumber:"CS-MR8",productName:"EasySort™ 磁力架（M8）",specs:[{size:"8通道",price:1280,currency:"CNY"}]}},createdAt:new Date("2024-02-25"),updatedAt:new Date("2024-03-25")},yT={id:"CS-RPMI",name:"RPMI 1640细胞培养基",model:"CS-RPMI",category:"consumables",shortDescription:"无血清、GMP级别细胞培养基，500mL/瓶",description:"CellSort RPMI 1640细胞培养基采用GMP级别原料配制，无血清配方，适用于多种细胞类型的培养。",images:[Cr.rpmi1640],specifications:[{label:"规格",value:"500mL/瓶"},{label:"配方",value:"无血清"},{label:"级别",value:"GMP级别"},{label:"pH值",value:"7.2-7.4"},{label:"渗透压",value:"280-320 mOsm/kg"},{label:"保存条件",value:"2-8℃避光"},{label:"有效期",value:"12个月"}],applications:["T细胞培养","肿瘤细胞培养","免疫细胞培养","细胞功能实验"],downloads:[{name:"产品说明书",url:"/downloads/CS-RPMI-manual.pdf",size:"1.5 MB",type:"PDF"},{name:"质检报告(COA)",url:"/downloads/CS-RPMI-coa.pdf",size:"0.5 MB",type:"PDF"}],featured:!1,status:"active",pricing:[{spec:"500mL/瓶",price:280,currency:"CNY",stock:500},{spec:"6瓶/箱",price:1480,currency:"CNY",stock:100}],detailInfo:{introduction:"CellSort RPMI 1640细胞培养基采用GMP级别原料配制，无血清配方，适用于多种细胞类型的培养，特别是T细胞、肿瘤细胞和免疫细胞的培养。产品经过严格的质量控制，确保批次间一致性。",features:[{title:"GMP级别",description:"符合GMP生产标准",icon:"Shield"},{title:"无血清配方",description:"减少批次差异",icon:"Droplet"},{title:"严格质控",description:"每批次提供COA",icon:"FileCheck"},{title:"即用型",description:"开瓶即用，无需添加",icon:"CheckCircle"}],principle:"RPMI 1640培养基含有细胞生长所需的氨基酸、维生素、无机盐和葡萄糖等营养成分，无血清配方减少了血清批次差异对实验的影响。",components:[{name:"RPMI 1640培养基",spec10:"500mL",spec50:"500mL",storage:"2-8℃避光"}],techParameters:[{label:"规格",value:"500mL/瓶"},{label:"配方",value:"无血清"},{label:"级别",value:"GMP级别"},{label:"pH值",value:"7.2-7.4"},{label:"渗透压",value:"280-320 mOsm/kg"},{label:"内毒素",value:"<0.5 EU/mL"},{label:"保存条件",value:"2-8℃避光"},{label:"有效期",value:"12个月"}],applicationScenarios:[{title:"T细胞培养",description:"人/小鼠T细胞培养",icon:"User"},{title:"肿瘤细胞培养",description:"悬浮肿瘤细胞培养",icon:"Circle"},{title:"免疫细胞培养",description:"PBMC、淋巴细胞培养",icon:"Shield"},{title:"功能实验",description:"细胞增殖、杀伤实验",icon:"FlaskConical"}],workflow:[{step:1,title:"预热",description:"将培养基预热至37℃",duration:"15分钟"},{step:2,title:"添加补充剂",description:"根据需要添加血清或生长因子",duration:"2分钟"},{step:3,title:"细胞培养",description:"用于细胞培养或换液",duration:"视实验而定"}],precautions:["2-8℃避光保存","开封后尽快使用","使用前检查是否有沉淀或变色"],orderingInfo:{catalogNumber:"CS-RPMI",productName:"RPMI 1640细胞培养基",specs:[{size:"500mL/瓶",price:280,currency:"CNY"},{size:"6瓶/箱",price:1480,currency:"CNY"}]}},createdAt:new Date("2024-03-01"),updatedAt:new Date("2024-03-30")},io=[dT,fT,pT,hT,mT,gT,xT,yT];io.filter(a=>a.category==="column-free");io.filter(a=>a.category==="column");io.filter(a=>a.category==="consumables");io.filter(a=>a.category==="device");const jc=[{id:"1",title:"T细胞研究解决方案",slug:"t-cell-research",description:"从T细胞分离到功能分析的完整解决方案",problem:"T细胞研究需要从复杂样本中分离高纯度的T细胞亚群，传统方法操作繁琐、纯度低、细胞活性差。",products:["EasySort™ CD4 T细胞分选试剂盒（小鼠）","EasySort™ CD8 T细胞分选试剂盒（小鼠）","EasySort™ CD3 T细胞分选试剂盒（人）"],process:[{step:1,title:"样本制备",description:"制备单细胞悬液"},{step:2,title:"细胞分选",description:"使用EasySort试剂盒分选目标T细胞"},{step:3,title:"功能分析",description:"进行增殖、杀伤等功能实验"},{step:4,title:"数据分析",description:"流式细胞术检测分析"}],caseStudy:{title:"某高校免疫学实验室",content:"使用EasySort CD4/CD8分选试剂盒进行T细胞亚群分离",result:"分选纯度>95%，细胞存活率>98%，成功发表SCI论文3篇"},image:"/images/solutions/t-cell-research.jpg",icon:"Microscope",createdAt:new Date("2024-01-15"),updatedAt:new Date("2024-03-01")},{id:"2",title:"CAR-T细胞制备解决方案",slug:"car-t-manufacturing",description:"细胞治疗产品生产的完整分选方案",problem:"CAR-T细胞制备对起始材料纯度要求极高，需要高纯度、高活性的T细胞。",products:["EasySort™ CD3 T细胞分选试剂盒（人）","CytoSinct™ 1000 细胞分选仪","RPMI 1640细胞培养基"],process:[{step:1,title:"PBMC分离",description:"从外周血分离PBMC"},{step:2,title:"T细胞富集",description:"使用CD3分选试剂盒富集T细胞"},{step:3,title:"细胞活化",description:"CD3/CD28活化T细胞"},{step:4,title:"病毒转导",description:"CAR基因转导"}],caseStudy:{title:"某生物制药公司",content:"使用CellSort产品进行CAR-T细胞制备",result:"细胞纯度>95%，符合FDA申报要求，成功进入临床试验"},image:"/images/solutions/car-t-manufacturing.jpg",icon:"Syringe",createdAt:new Date("2024-02-01"),updatedAt:new Date("2024-03-15")}],fi=[{id:"1",title:"CellSort发布EasySort™系列新产品",slug:"easysort-new-release",excerpt:"CellSort正式发布EasySort™系列细胞分选试剂盒，覆盖小鼠和人源T细胞分选。",content:"CellSort公司今日正式发布EasySort™系列细胞分选试剂盒，包括CD4、CD8、CD3等多种产品。新产品采用优化的抗体组合和磁珠配方，分选纯度提升至95%以上，操作时间缩短至15-20分钟。",coverImage:"/images/news/new-release.jpg",category:"company",author:"CellSort市场部",publishedAt:new Date("2024-03-15"),views:1256,featured:!0},{id:"2",title:"CytoSinct™ 1000细胞分选仪正式上市",slug:"cytosinct-1000-launch",excerpt:"CellSort推出自动化细胞分选设备CytoSinct™ 1000，支持无柱式和柱式两种分选模式。",content:"CellSort公司宣布CytoSinct™ 1000细胞分选仪正式上市。该设备采用先进的磁场控制技术，支持8通道高通量处理，配备7寸触摸屏操作界面，可实现自动化细胞分选。",coverImage:"/images/news/cytosinct-launch.jpg",category:"company",author:"CellSort产品部",publishedAt:new Date("2024-03-01"),views:987,featured:!0}],Nf=[{id:"1",name:"阴性分选技术",description:"通过去除非目标细胞来富集目标细胞，保留细胞天然状态",features:["保留细胞天然状态","无抗体交联","高细胞活性","操作简便"],advantages:["细胞活性高，回收率>95%","不影响细胞表面marker表达","适用于功能研究","成本效益高"],image:"/images/technology/negative-selection.jpg",documents:[{name:"技术白皮书",url:"/downloads/negative-whitepaper.pdf",size:"3.2 MB",type:"PDF"}]},{id:"2",name:"阳性分选技术",description:"直接标记目标细胞，获得极高纯度的细胞群体",features:["高纯度目标细胞","快速高效","可去除非目标细胞","适用于稀有细胞"],advantages:["细胞纯度可达98%以上","操作时间短","适用于下游分子实验","可与其他方法联用"],image:"/images/technology/positive-selection.jpg",documents:[{name:"技术白皮书",url:"/downloads/positive-whitepaper.pdf",size:"3.5 MB",type:"PDF"}]}],zl=[{id:"1",content:"EasySort CD4分选试剂盒效果非常好，分选纯度高，细胞活性好，是我们实验室的常规试剂。",author:"李教授",title:"教授",organization:"某知名大学免疫学研究所",avatar:"/images/testimonials/avatar-1.jpg"},{id:"2",content:"CytoSinct 1000细胞分选仪大大提高了我们的实验效率，8通道设计非常实用。",author:"王博士",title:"研发总监",organization:"某生物制药公司",avatar:"/images/testimonials/avatar-2.jpg"}],vT=[{id:"1",name:"中科院",logo:"/images/partners/cas.png",website:"https://www.cas.cn"},{id:"2",name:"清华大学",logo:"/images/partners/tsinghua.png",website:"https://www.tsinghua.edu.cn"},{id:"3",name:"北京大学",logo:"/images/partners/peking.png",website:"https://www.pku.edu.cn"},{id:"4",name:"复旦大学",logo:"/images/partners/fudan.png",website:"https://www.fudan.edu.cn"}],Hf=[{label:"专业经验",value:"10",suffix:"+",description:"年细胞分选技术积累"},{label:"合作机构",value:"500",suffix:"+",description:"家全球科研机构信赖"},{label:"分选纯度",value:"99",suffix:"%",description:"行业领先的分选纯度"},{label:"产品种类",value:"50",suffix:"+",description:"款细胞分选产品"}],ja={address:"上海市浦东新区张江高科技园区科苑路88号",phone:"+86 21 5888 8888",email:"info@cellsort.com",workingHours:"周一至周五 9:00-18:00"};function Kn(){const[a,t]=v.useState(!1),[r,n]=v.useState(!1),[o,l]=v.useState(null),d=La();v.useEffect(()=>{const h=()=>{t(window.scrollY>50)};return window.addEventListener("scroll",h,{passive:!0}),()=>window.removeEventListener("scroll",h)},[]);const f=h=>h==="/"?d.pathname==="/":d.pathname.startsWith(h);return c.jsxs("header",{"code-path":"src/components/Navbar.tsx:28:5",className:`fixed top-0 left-0 right-0 z-50 transition-all duration-300 ${a?"bg-white/95 backdrop-blur-md shadow-sm":"bg-transparent"}`,children:[c.jsx("div",{"code-path":"src/components/Navbar.tsx:35:7",className:"section-padding",children:c.jsxs("nav",{"code-path":"src/components/Navbar.tsx:36:9",className:"flex items-center justify-between h-16 lg:h-20",children:[c.jsx(fe,{"code-path":"src/components/Navbar.tsx:38:11",to:"/",className:"flex items-center gap-2",children:c.jsx("img",{"code-path":"src/components/Navbar.tsx:39:13",src:"/images/logo/logo-header.png",alt:"Cell Sort",className:"h-10 w-auto"})}),c.jsx("div",{"code-path":"src/components/Navbar.tsx:47:11",className:"hidden lg:flex items-center gap-8",children:Vg.map(h=>c.jsxs("div",{"code-path":"src/components/Navbar.tsx:49:15",className:"relative",onMouseEnter:()=>h.children&&l(h.label),onMouseLeave:()=>l(null),children:[c.jsxs(fe,{"code-path":"src/components/Navbar.tsx:55:17",to:h.href,className:`nav-link flex items-center gap-1 ${f(h.href)?"text-[#0064ff]":""}`,children:[h.label,h.children&&c.jsx(TE,{"code-path":"src/components/Navbar.tsx:63:21",className:`w-4 h-4 transition-transform ${o===h.label?"rotate-180":""}`})]}),h.children&&o===h.label&&c.jsx("div",{"code-path":"src/components/Navbar.tsx:69:19",className:"absolute top-full left-0 mt-2 w-48 bg-white rounded-lg shadow-lg shadow-blue-500/10 border border-gray-100 py-2 animate-fade-in",children:h.children.map(m=>c.jsx(fe,{"code-path":"src/components/Navbar.tsx:71:23",to:m.href,className:"block px-4 py-2 text-sm text-gray-600 hover:text-[#0064ff] hover:bg-blue-50 transition-colors",children:m.label},m.href))})]},h.href))}),c.jsx("div",{"code-path":"src/components/Navbar.tsx:86:11",className:"hidden lg:flex items-center gap-4",children:c.jsx(fe,{"code-path":"src/components/Navbar.tsx:87:13",to:"/contact",className:"btn-primary text-sm",children:"联系我们"})}),c.jsx("button",{"code-path":"src/components/Navbar.tsx:96:11",className:"lg:hidden p-2 text-gray-600",onClick:()=>n(!r),children:r?c.jsx(zx,{"code-path":"src/components/Navbar.tsx:100:33",className:"w-6 h-6"}):c.jsx(Zw,{"code-path":"src/components/Navbar.tsx:100:61",className:"w-6 h-6"})})]})}),r&&c.jsx("div",{"code-path":"src/components/Navbar.tsx:107:9",className:"lg:hidden bg-white border-t border-gray-100 animate-slide-up",children:c.jsxs("div",{"code-path":"src/components/Navbar.tsx:108:11",className:"section-padding py-4 space-y-2",children:[Vg.map(h=>c.jsxs("div",{"code-path":"src/components/Navbar.tsx:110:15",children:[c.jsx(fe,{"code-path":"src/components/Navbar.tsx:111:17",to:h.href,className:`block py-2 text-base font-medium ${f(h.href)?"text-[#0064ff]":"text-gray-700"}`,onClick:()=>n(!1),children:h.label}),h.children&&c.jsx("div",{"code-path":"src/components/Navbar.tsx:121:19",className:"pl-4 space-y-1",children:h.children.map(m=>c.jsx(fe,{"code-path":"src/components/Navbar.tsx:123:23",to:m.href,className:"block py-1 text-sm text-gray-500",onClick:()=>n(!1),children:m.label},m.href))})]},h.href)),c.jsx(fe,{"code-path":"src/components/Navbar.tsx:136:13",to:"/contact",className:"btn-primary w-full mt-4 text-center",onClick:()=>n(!1),children:"联系我们"})]})})]})}function Zn(){return c.jsxs("footer",{"code-path":"src/components/Footer.tsx:7:5",className:"bg-gray-900 text-white",children:[c.jsx("div",{"code-path":"src/components/Footer.tsx:9:7",className:"section-padding py-16",children:c.jsxs("div",{"code-path":"src/components/Footer.tsx:10:9",className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12",children:[c.jsxs("div",{"code-path":"src/components/Footer.tsx:12:11",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/components/Footer.tsx:13:13",className:"flex items-center gap-2",children:[c.jsx("div",{"code-path":"src/components/Footer.tsx:14:15",className:"w-10 h-10 bg-[#0064ff] rounded-lg flex items-center justify-center",children:c.jsx("span",{"code-path":"src/components/Footer.tsx:15:17",className:"text-white font-bold text-lg",children:"C"})}),c.jsx("span",{"code-path":"src/components/Footer.tsx:17:15",className:"text-xl font-bold",children:"CellSort"})]}),c.jsx("p",{"code-path":"src/components/Footer.tsx:19:13",className:"text-gray-400 text-sm leading-relaxed",children:"CellSort是专业的细胞分选技术解决方案提供商，致力于为全球生命科学研究提供高品质的产品和服务。"}),c.jsxs("div",{"code-path":"src/components/Footer.tsx:22:13",className:"flex gap-4",children:[c.jsx("a",{"code-path":"src/components/Footer.tsx:23:15",href:"https://linkedin.com",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 bg-gray-800 rounded-lg flex items-center justify-center hover:bg-[#0064ff] transition-colors",children:c.jsx(Kw,{"code-path":"src/components/Footer.tsx:29:17",className:"w-5 h-5"})}),c.jsx("a",{"code-path":"src/components/Footer.tsx:31:15",href:"https://twitter.com",target:"_blank",rel:"noopener noreferrer",className:"w-10 h-10 bg-gray-800 rounded-lg flex items-center justify-center hover:bg-[#0064ff] transition-colors",children:c.jsx(nN,{"code-path":"src/components/Footer.tsx:37:17",className:"w-5 h-5"})})]})]}),c.jsxs("div",{"code-path":"src/components/Footer.tsx:43:11",children:[c.jsx("h3",{"code-path":"src/components/Footer.tsx:44:13",className:"text-lg font-semibold mb-6",children:"快速链接"}),c.jsx("ul",{"code-path":"src/components/Footer.tsx:45:13",className:"space-y-3",children:Vg.map(a=>c.jsx("li",{"code-path":"src/components/Footer.tsx:47:17",children:c.jsx(fe,{"code-path":"src/components/Footer.tsx:48:19",to:a.href,className:"text-gray-400 hover:text-white transition-colors text-sm",children:a.label})},a.href))})]}),c.jsxs("div",{"code-path":"src/components/Footer.tsx:60:11",children:[c.jsx("h3",{"code-path":"src/components/Footer.tsx:61:13",className:"text-lg font-semibold mb-6",children:"产品分类"}),c.jsxs("ul",{"code-path":"src/components/Footer.tsx:62:13",className:"space-y-3",children:[c.jsx("li",{"code-path":"src/components/Footer.tsx:63:15",children:c.jsx(fe,{"code-path":"src/components/Footer.tsx:64:17",to:"/products?category=column",className:"text-gray-400 hover:text-white transition-colors text-sm",children:"有柱分选"})}),c.jsx("li",{"code-path":"src/components/Footer.tsx:71:15",children:c.jsx(fe,{"code-path":"src/components/Footer.tsx:72:17",to:"/products?category=column-free",className:"text-gray-400 hover:text-white transition-colors text-sm",children:"无柱分选"})}),c.jsx("li",{"code-path":"src/components/Footer.tsx:79:15",children:c.jsx(fe,{"code-path":"src/components/Footer.tsx:80:17",to:"/products?category=consumables",className:"text-gray-400 hover:text-white transition-colors text-sm",children:"配套试剂耗材"})}),c.jsx("li",{"code-path":"src/components/Footer.tsx:87:15",children:c.jsx(fe,{"code-path":"src/components/Footer.tsx:88:17",to:"/technology",className:"text-gray-400 hover:text-white transition-colors text-sm",children:"技术平台"})})]})]}),c.jsxs("div",{"code-path":"src/components/Footer.tsx:99:11",children:[c.jsx("h3",{"code-path":"src/components/Footer.tsx:100:13",className:"text-lg font-semibold mb-6",children:"联系我们"}),c.jsxs("ul",{"code-path":"src/components/Footer.tsx:101:13",className:"space-y-4",children:[c.jsxs("li",{"code-path":"src/components/Footer.tsx:102:15",className:"flex items-start gap-3",children:[c.jsx(Lf,{"code-path":"src/components/Footer.tsx:103:17",className:"w-5 h-5 text-[#0064ff] flex-shrink-0 mt-0.5"}),c.jsx("span",{"code-path":"src/components/Footer.tsx:104:17",className:"text-gray-400 text-sm",children:ja.address})]}),c.jsxs("li",{"code-path":"src/components/Footer.tsx:106:15",className:"flex items-center gap-3",children:[c.jsx(uu,{"code-path":"src/components/Footer.tsx:107:17",className:"w-5 h-5 text-[#0064ff] flex-shrink-0"}),c.jsx("span",{"code-path":"src/components/Footer.tsx:108:17",className:"text-gray-400 text-sm",children:ja.phone})]}),c.jsxs("li",{"code-path":"src/components/Footer.tsx:110:15",className:"flex items-center gap-3",children:[c.jsx(Hc,{"code-path":"src/components/Footer.tsx:111:17",className:"w-5 h-5 text-[#0064ff] flex-shrink-0"}),c.jsx("span",{"code-path":"src/components/Footer.tsx:112:17",className:"text-gray-400 text-sm",children:ja.email})]}),c.jsxs("li",{"code-path":"src/components/Footer.tsx:114:15",className:"flex items-center gap-3",children:[c.jsx(Tu,{"code-path":"src/components/Footer.tsx:115:17",className:"w-5 h-5 text-[#0064ff] flex-shrink-0"}),c.jsx("span",{"code-path":"src/components/Footer.tsx:116:17",className:"text-gray-400 text-sm",children:ja.workingHours})]})]})]})]})}),c.jsx("div",{"code-path":"src/components/Footer.tsx:124:7",className:"border-t border-gray-800",children:c.jsx("div",{"code-path":"src/components/Footer.tsx:125:9",className:"section-padding py-6",children:c.jsxs("div",{"code-path":"src/components/Footer.tsx:126:11",className:"flex flex-col md:flex-row justify-between items-center gap-4",children:[c.jsx("p",{"code-path":"src/components/Footer.tsx:127:13",className:"text-gray-500 text-sm",children:"© 2024 CellSort. All rights reserved."}),c.jsxs("div",{"code-path":"src/components/Footer.tsx:130:13",className:"flex gap-6",children:[c.jsx(fe,{"code-path":"src/components/Footer.tsx:131:15",to:"/privacy",className:"text-gray-500 hover:text-white text-sm transition-colors",children:"隐私政策"}),c.jsx(fe,{"code-path":"src/components/Footer.tsx:134:15",to:"/terms",className:"text-gray-500 hover:text-white text-sm transition-colors",children:"使用条款"}),c.jsx(fe,{"code-path":"src/components/Footer.tsx:137:15",to:"/sitemap",className:"text-gray-500 hover:text-white text-sm transition-colors",children:"网站地图"})]})]})})})]})}function Qb(a,t){if(typeof a=="function")return a(t);a!=null&&(a.current=t)}function Si(...a){return t=>{let r=!1;const n=a.map(o=>{const l=Qb(o,t);return!r&&typeof l=="function"&&(r=!0),l});if(r)return()=>{for(let o=0;o<n.length;o++){const l=n[o];typeof l=="function"?l():Qb(a[o],null)}}}}function Ns(...a){return v.useCallback(Si(...a),a)}var bT=Symbol.for("react.lazy"),Uf=jx[" use ".trim().toString()];function wT(a){return typeof a=="object"&&a!==null&&"then"in a}function oN(a){return a!=null&&typeof a=="object"&&"$$typeof"in a&&a.$$typeof===bT&&"_payload"in a&&wT(a._payload)}function NT(a){const t=_T(a),r=v.forwardRef((n,o)=>{let{children:l,...d}=n;oN(l)&&typeof Uf=="function"&&(l=Uf(l._payload));const f=v.Children.toArray(l),h=f.find(CT);if(h){const m=h.props.children,x=f.map(y=>y===h?v.Children.count(m)>1?v.Children.only(null):v.isValidElement(m)?m.props.children:null:y);return c.jsx(t,{...d,ref:o,children:v.isValidElement(m)?v.cloneElement(m,void 0,x):null})}return c.jsx(t,{...d,ref:o,children:l})});return r.displayName=`${a}.Slot`,r}var ST=NT("Slot");function _T(a){const t=v.forwardRef((r,n)=>{let{children:o,...l}=r;if(oN(o)&&typeof Uf=="function"&&(o=Uf(o._payload)),v.isValidElement(o)){const d=TT(o),f=ET(l,o.props);return o.type!==v.Fragment&&(f.ref=n?Si(n,d):d),v.cloneElement(o,f)}return v.Children.count(o)>1?v.Children.only(null):null});return t.displayName=`${a}.SlotClone`,t}var jT=Symbol("radix.slottable");function CT(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===jT}function ET(a,t){const r={...t};for(const n in t){const o=a[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...f)=>{const h=l(...f);return o(...f),h}:o&&(r[n]=o):n==="style"?r[n]={...o,...l}:n==="className"&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...a,...r}}function TT(a){let t=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?a.ref:(t=Object.getOwnPropertyDescriptor(a,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}function cN(a){var t,r,n="";if(typeof a=="string"||typeof a=="number")n+=a;else if(typeof a=="object")if(Array.isArray(a)){var o=a.length;for(t=0;t<o;t++)a[t]&&(r=cN(a[t]))&&(n&&(n+=" "),n+=r)}else for(r in a)a[r]&&(n&&(n+=" "),n+=r);return n}function lN(){for(var a,t,r=0,n="",o=arguments.length;r<o;r++)(a=arguments[r])&&(t=cN(a))&&(n&&(n+=" "),n+=t);return n}const Kb=a=>typeof a=="boolean"?`${a}`:a===0?"0":a,Zb=lN,AT=(a,t)=>r=>{var n;if(t?.variants==null)return Zb(a,r?.class,r?.className);const{variants:o,defaultVariants:l}=t,d=Object.keys(o).map(m=>{const x=r?.[m],y=l?.[m];if(x===null)return null;const N=Kb(x)||Kb(y);return o[m][N]}),f=r&&Object.entries(r).reduce((m,x)=>{let[y,N]=x;return N===void 0||(m[y]=N),m},{}),h=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((m,x)=>{let{class:y,className:N,...S}=x;return Object.entries(S).every(j=>{let[w,_]=j;return Array.isArray(_)?_.includes({...l,...f}[w]):{...l,...f}[w]===_})?[...m,y,N]:m},[]);return Zb(a,d,h,r?.class,r?.className)},DT=(a,t)=>{const r=new Array(a.length+t.length);for(let n=0;n<a.length;n++)r[n]=a[n];for(let n=0;n<t.length;n++)r[a.length+n]=t[n];return r},MT=(a,t)=>({classGroupId:a,validator:t}),uN=(a=new Map,t=null,r)=>({nextPart:a,validators:t,classGroupId:r}),Bf="-",Wb=[],RT="arbitrary..",OT=a=>{const t=PT(a),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=a;return{getClassGroupId:d=>{if(d.startsWith("[")&&d.endsWith("]"))return kT(d);const f=d.split(Bf),h=f[0]===""&&f.length>1?1:0;return dN(f,h,t)},getConflictingClassGroupIds:(d,f)=>{if(f){const h=n[d],m=r[d];return h?m?DT(m,h):h:m||Wb}return r[d]||Wb}}},dN=(a,t,r)=>{if(a.length-t===0)return r.classGroupId;const o=a[t],l=r.nextPart.get(o);if(l){const m=dN(a,t+1,l);if(m)return m}const d=r.validators;if(d===null)return;const f=t===0?a.join(Bf):a.slice(t).join(Bf),h=d.length;for(let m=0;m<h;m++){const x=d[m];if(x.validator(f))return x.classGroupId}},kT=a=>a.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=a.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?RT+n:void 0})(),PT=a=>{const{theme:t,classGroups:r}=a;return zT(r,t)},zT=(a,t)=>{const r=uN();for(const n in a){const o=a[n];Lx(o,r,n,t)}return r},Lx=(a,t,r,n)=>{const o=a.length;for(let l=0;l<o;l++){const d=a[l];LT(d,t,r,n)}},LT=(a,t,r,n)=>{if(typeof a=="string"){HT(a,t,r);return}if(typeof a=="function"){UT(a,t,r,n);return}BT(a,t,r,n)},HT=(a,t,r)=>{const n=a===""?t:fN(t,a);n.classGroupId=r},UT=(a,t,r,n)=>{if(YT(a)){Lx(a(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(MT(r,a))},BT=(a,t,r,n)=>{const o=Object.entries(a),l=o.length;for(let d=0;d<l;d++){const[f,h]=o[d];Lx(h,fN(t,f),r,n)}},fN=(a,t)=>{let r=a;const n=t.split(Bf),o=n.length;for(let l=0;l<o;l++){const d=n[l];let f=r.nextPart.get(d);f||(f=uN(),r.nextPart.set(d,f)),r=f}return r},YT=a=>"isThemeGetter"in a&&a.isThemeGetter===!0,qT=a=>{if(a<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(l,d)=>{r[l]=d,t++,t>a&&(t=0,n=r,r=Object.create(null))};return{get(l){let d=r[l];if(d!==void 0)return d;if((d=n[l])!==void 0)return o(l,d),d},set(l,d){l in r?r[l]=d:o(l,d)}}},$g="!",Jb=":",GT=[],e2=(a,t,r,n,o)=>({modifiers:a,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),IT=a=>{const{prefix:t,experimentalParseClassName:r}=a;let n=o=>{const l=[];let d=0,f=0,h=0,m;const x=o.length;for(let w=0;w<x;w++){const _=o[w];if(d===0&&f===0){if(_===Jb){l.push(o.slice(h,w)),h=w+1;continue}if(_==="/"){m=w;continue}}_==="["?d++:_==="]"?d--:_==="("?f++:_===")"&&f--}const y=l.length===0?o:o.slice(h);let N=y,S=!1;y.endsWith($g)?(N=y.slice(0,-1),S=!0):y.startsWith($g)&&(N=y.slice(1),S=!0);const j=m&&m>h?m-h:void 0;return e2(l,S,N,j)};if(t){const o=t+Jb,l=n;n=d=>d.startsWith(o)?l(d.slice(o.length)):e2(GT,!1,d,void 0,!0)}if(r){const o=n;n=l=>r({className:l,parseClassName:o})}return n},VT=a=>{const t=new Map;return a.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let l=0;l<r.length;l++){const d=r[l],f=d[0]==="[",h=t.has(d);f||h?(o.length>0&&(o.sort(),n.push(...o),o=[]),n.push(d)):o.push(d)}return o.length>0&&(o.sort(),n.push(...o)),n}},$T=a=>({cache:qT(a.cacheSize),parseClassName:IT(a),sortModifiers:VT(a),...OT(a)}),FT=/\s+/,XT=(a,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:l}=t,d=[],f=a.trim().split(FT);let h="";for(let m=f.length-1;m>=0;m-=1){const x=f[m],{isExternal:y,modifiers:N,hasImportantModifier:S,baseClassName:j,maybePostfixModifierPosition:w}=r(x);if(y){h=x+(h.length>0?" "+h:h);continue}let _=!!w,D=n(_?j.substring(0,w):j);if(!D){if(!_){h=x+(h.length>0?" "+h:h);continue}if(D=n(j),!D){h=x+(h.length>0?" "+h:h);continue}_=!1}const M=N.length===0?"":N.length===1?N[0]:l(N).join(":"),O=S?M+$g:M,k=O+D;if(d.indexOf(k)>-1)continue;d.push(k);const L=o(D,_);for(let Y=0;Y<L.length;++Y){const P=L[Y];d.push(O+P)}h=x+(h.length>0?" "+h:h)}return h},QT=(...a)=>{let t=0,r,n,o="";for(;t<a.length;)(r=a[t++])&&(n=pN(r))&&(o&&(o+=" "),o+=n);return o},pN=a=>{if(typeof a=="string")return a;let t,r="";for(let n=0;n<a.length;n++)a[n]&&(t=pN(a[n]))&&(r&&(r+=" "),r+=t);return r},KT=(a,...t)=>{let r,n,o,l;const d=h=>{const m=t.reduce((x,y)=>y(x),a());return r=$T(m),n=r.cache.get,o=r.cache.set,l=f,f(h)},f=h=>{const m=n(h);if(m)return m;const x=XT(h,r);return o(h,x),x};return l=d,(...h)=>l(QT(...h))},ZT=[],rs=a=>{const t=r=>r[a]||ZT;return t.isThemeGetter=!0,t},hN=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,mN=/^\((?:(\w[\w-]*):)?(.+)\)$/i,WT=/^\d+\/\d+$/,JT=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,e9=/\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$/,t9=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,s9=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,a9=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tc=a=>WT.test(a),He=a=>!!a&&!Number.isNaN(Number(a)),ni=a=>!!a&&Number.isInteger(Number(a)),ng=a=>a.endsWith("%")&&He(a.slice(0,-1)),yr=a=>JT.test(a),n9=()=>!0,r9=a=>e9.test(a)&&!t9.test(a),gN=()=>!1,i9=a=>s9.test(a),o9=a=>a9.test(a),c9=a=>!ge(a)&&!xe(a),l9=a=>Uc(a,vN,gN),ge=a=>hN.test(a),Ii=a=>Uc(a,bN,r9),rg=a=>Uc(a,h9,He),t2=a=>Uc(a,xN,gN),u9=a=>Uc(a,yN,o9),Qd=a=>Uc(a,wN,i9),xe=a=>mN.test(a),Ll=a=>Bc(a,bN),d9=a=>Bc(a,m9),s2=a=>Bc(a,xN),f9=a=>Bc(a,vN),p9=a=>Bc(a,yN),Kd=a=>Bc(a,wN,!0),Uc=(a,t,r)=>{const n=hN.exec(a);return n?n[1]?t(n[1]):r(n[2]):!1},Bc=(a,t,r=!1)=>{const n=mN.exec(a);return n?n[1]?t(n[1]):r:!1},xN=a=>a==="position"||a==="percentage",yN=a=>a==="image"||a==="url",vN=a=>a==="length"||a==="size"||a==="bg-size",bN=a=>a==="length",h9=a=>a==="number",m9=a=>a==="family-name",wN=a=>a==="shadow",g9=()=>{const a=rs("color"),t=rs("font"),r=rs("text"),n=rs("font-weight"),o=rs("tracking"),l=rs("leading"),d=rs("breakpoint"),f=rs("container"),h=rs("spacing"),m=rs("radius"),x=rs("shadow"),y=rs("inset-shadow"),N=rs("text-shadow"),S=rs("drop-shadow"),j=rs("blur"),w=rs("perspective"),_=rs("aspect"),D=rs("ease"),M=rs("animate"),O=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],L=()=>[...k(),xe,ge],Y=()=>["auto","hidden","clip","visible","scroll"],P=()=>["auto","contain","none"],B=()=>[xe,ge,h],V=()=>[tc,"full","auto",...B()],K=()=>[ni,"none","subgrid",xe,ge],re=()=>["auto",{span:["full",ni,xe,ge]},ni,xe,ge],J=()=>[ni,"auto",xe,ge],ce=()=>["auto","min","max","fr",xe,ge],oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],ie=()=>["start","end","center","stretch","center-safe","end-safe"],U=()=>["auto",...B()],F=()=>[tc,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...B()],T=()=>[a,xe,ge],R=()=>[...k(),s2,t2,{position:[xe,ge]}],E=()=>["no-repeat",{repeat:["","x","y","space","round"]}],A=()=>["auto","cover","contain",f9,l9,{size:[xe,ge]}],G=()=>[ng,Ll,Ii],se=()=>["","none","full",m,xe,ge],ae=()=>["",He,Ll,Ii],de=()=>["solid","dashed","dotted","double"],pe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ne=()=>[He,ng,s2,t2],ke=()=>["","none",j,xe,ge],Ee=()=>["none",He,xe,ge],qt=()=>["none",He,xe,ge],mt=()=>[He,xe,ge],gt=()=>[tc,"full",...B()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[yr],breakpoint:[yr],color:[n9],container:[yr],"drop-shadow":[yr],ease:["in","out","in-out"],font:[c9],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[yr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[yr],shadow:[yr],spacing:["px",He],text:[yr],"text-shadow":[yr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",tc,ge,xe,_]}],container:["container"],columns:[{columns:[He,ge,xe,f]}],"break-after":[{"break-after":O()}],"break-before":[{"break-before":O()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],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:L()}],overflow:[{overflow:Y()}],"overflow-x":[{"overflow-x":Y()}],"overflow-y":[{"overflow-y":Y()}],overscroll:[{overscroll:P()}],"overscroll-x":[{"overscroll-x":P()}],"overscroll-y":[{"overscroll-y":P()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:V()}],"inset-x":[{"inset-x":V()}],"inset-y":[{"inset-y":V()}],start:[{start:V()}],end:[{end:V()}],top:[{top:V()}],right:[{right:V()}],bottom:[{bottom:V()}],left:[{left:V()}],visibility:["visible","invisible","collapse"],z:[{z:[ni,"auto",xe,ge]}],basis:[{basis:[tc,"full","auto",f,...B()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[He,tc,"auto","initial","none",ge]}],grow:[{grow:["",He,xe,ge]}],shrink:[{shrink:["",He,xe,ge]}],order:[{order:[ni,"first","last","none",xe,ge]}],"grid-cols":[{"grid-cols":K()}],"col-start-end":[{col:re()}],"col-start":[{"col-start":J()}],"col-end":[{"col-end":J()}],"grid-rows":[{"grid-rows":K()}],"row-start-end":[{row:re()}],"row-start":[{"row-start":J()}],"row-end":[{"row-end":J()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ce()}],"auto-rows":[{"auto-rows":ce()}],gap:[{gap:B()}],"gap-x":[{"gap-x":B()}],"gap-y":[{"gap-y":B()}],"justify-content":[{justify:[...oe(),"normal"]}],"justify-items":[{"justify-items":[...ie(),"normal"]}],"justify-self":[{"justify-self":["auto",...ie()]}],"align-content":[{content:["normal",...oe()]}],"align-items":[{items:[...ie(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...ie(),{baseline:["","last"]}]}],"place-content":[{"place-content":oe()}],"place-items":[{"place-items":[...ie(),"baseline"]}],"place-self":[{"place-self":["auto",...ie()]}],p:[{p:B()}],px:[{px:B()}],py:[{py:B()}],ps:[{ps:B()}],pe:[{pe:B()}],pt:[{pt:B()}],pr:[{pr:B()}],pb:[{pb:B()}],pl:[{pl:B()}],m:[{m:U()}],mx:[{mx:U()}],my:[{my:U()}],ms:[{ms:U()}],me:[{me:U()}],mt:[{mt:U()}],mr:[{mr:U()}],mb:[{mb:U()}],ml:[{ml:U()}],"space-x":[{"space-x":B()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":B()}],"space-y-reverse":["space-y-reverse"],size:[{size:F()}],w:[{w:[f,"screen",...F()]}],"min-w":[{"min-w":[f,"screen","none",...F()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[d]},...F()]}],h:[{h:["screen","lh",...F()]}],"min-h":[{"min-h":["screen","lh","none",...F()]}],"max-h":[{"max-h":["screen","lh",...F()]}],"font-size":[{text:["base",r,Ll,Ii]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,xe,rg]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ng,ge]}],"font-family":[{font:[d9,ge,t]}],"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:[o,xe,ge]}],"line-clamp":[{"line-clamp":[He,"none",xe,rg]}],leading:[{leading:[l,...B()]}],"list-image":[{"list-image":["none",xe,ge]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",xe,ge]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:T()}],"text-color":[{text:T()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...de(),"wavy"]}],"text-decoration-thickness":[{decoration:[He,"from-font","auto",xe,Ii]}],"text-decoration-color":[{decoration:T()}],"underline-offset":[{"underline-offset":[He,"auto",xe,ge]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:B()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",xe,ge]}],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",xe,ge]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:R()}],"bg-repeat":[{bg:E()}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ni,xe,ge],radial:["",xe,ge],conic:[ni,xe,ge]},p9,u9]}],"bg-color":[{bg:T()}],"gradient-from-pos":[{from:G()}],"gradient-via-pos":[{via:G()}],"gradient-to-pos":[{to:G()}],"gradient-from":[{from:T()}],"gradient-via":[{via:T()}],"gradient-to":[{to:T()}],rounded:[{rounded:se()}],"rounded-s":[{"rounded-s":se()}],"rounded-e":[{"rounded-e":se()}],"rounded-t":[{"rounded-t":se()}],"rounded-r":[{"rounded-r":se()}],"rounded-b":[{"rounded-b":se()}],"rounded-l":[{"rounded-l":se()}],"rounded-ss":[{"rounded-ss":se()}],"rounded-se":[{"rounded-se":se()}],"rounded-ee":[{"rounded-ee":se()}],"rounded-es":[{"rounded-es":se()}],"rounded-tl":[{"rounded-tl":se()}],"rounded-tr":[{"rounded-tr":se()}],"rounded-br":[{"rounded-br":se()}],"rounded-bl":[{"rounded-bl":se()}],"border-w":[{border:ae()}],"border-w-x":[{"border-x":ae()}],"border-w-y":[{"border-y":ae()}],"border-w-s":[{"border-s":ae()}],"border-w-e":[{"border-e":ae()}],"border-w-t":[{"border-t":ae()}],"border-w-r":[{"border-r":ae()}],"border-w-b":[{"border-b":ae()}],"border-w-l":[{"border-l":ae()}],"divide-x":[{"divide-x":ae()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ae()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...de(),"hidden","none"]}],"divide-style":[{divide:[...de(),"hidden","none"]}],"border-color":[{border:T()}],"border-color-x":[{"border-x":T()}],"border-color-y":[{"border-y":T()}],"border-color-s":[{"border-s":T()}],"border-color-e":[{"border-e":T()}],"border-color-t":[{"border-t":T()}],"border-color-r":[{"border-r":T()}],"border-color-b":[{"border-b":T()}],"border-color-l":[{"border-l":T()}],"divide-color":[{divide:T()}],"outline-style":[{outline:[...de(),"none","hidden"]}],"outline-offset":[{"outline-offset":[He,xe,ge]}],"outline-w":[{outline:["",He,Ll,Ii]}],"outline-color":[{outline:T()}],shadow:[{shadow:["","none",x,Kd,Qd]}],"shadow-color":[{shadow:T()}],"inset-shadow":[{"inset-shadow":["none",y,Kd,Qd]}],"inset-shadow-color":[{"inset-shadow":T()}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:T()}],"ring-offset-w":[{"ring-offset":[He,Ii]}],"ring-offset-color":[{"ring-offset":T()}],"inset-ring-w":[{"inset-ring":ae()}],"inset-ring-color":[{"inset-ring":T()}],"text-shadow":[{"text-shadow":["none",N,Kd,Qd]}],"text-shadow-color":[{"text-shadow":T()}],opacity:[{opacity:[He,xe,ge]}],"mix-blend":[{"mix-blend":[...pe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":pe()}],"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":[He]}],"mask-image-linear-from-pos":[{"mask-linear-from":ne()}],"mask-image-linear-to-pos":[{"mask-linear-to":ne()}],"mask-image-linear-from-color":[{"mask-linear-from":T()}],"mask-image-linear-to-color":[{"mask-linear-to":T()}],"mask-image-t-from-pos":[{"mask-t-from":ne()}],"mask-image-t-to-pos":[{"mask-t-to":ne()}],"mask-image-t-from-color":[{"mask-t-from":T()}],"mask-image-t-to-color":[{"mask-t-to":T()}],"mask-image-r-from-pos":[{"mask-r-from":ne()}],"mask-image-r-to-pos":[{"mask-r-to":ne()}],"mask-image-r-from-color":[{"mask-r-from":T()}],"mask-image-r-to-color":[{"mask-r-to":T()}],"mask-image-b-from-pos":[{"mask-b-from":ne()}],"mask-image-b-to-pos":[{"mask-b-to":ne()}],"mask-image-b-from-color":[{"mask-b-from":T()}],"mask-image-b-to-color":[{"mask-b-to":T()}],"mask-image-l-from-pos":[{"mask-l-from":ne()}],"mask-image-l-to-pos":[{"mask-l-to":ne()}],"mask-image-l-from-color":[{"mask-l-from":T()}],"mask-image-l-to-color":[{"mask-l-to":T()}],"mask-image-x-from-pos":[{"mask-x-from":ne()}],"mask-image-x-to-pos":[{"mask-x-to":ne()}],"mask-image-x-from-color":[{"mask-x-from":T()}],"mask-image-x-to-color":[{"mask-x-to":T()}],"mask-image-y-from-pos":[{"mask-y-from":ne()}],"mask-image-y-to-pos":[{"mask-y-to":ne()}],"mask-image-y-from-color":[{"mask-y-from":T()}],"mask-image-y-to-color":[{"mask-y-to":T()}],"mask-image-radial":[{"mask-radial":[xe,ge]}],"mask-image-radial-from-pos":[{"mask-radial-from":ne()}],"mask-image-radial-to-pos":[{"mask-radial-to":ne()}],"mask-image-radial-from-color":[{"mask-radial-from":T()}],"mask-image-radial-to-color":[{"mask-radial-to":T()}],"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":k()}],"mask-image-conic-pos":[{"mask-conic":[He]}],"mask-image-conic-from-pos":[{"mask-conic-from":ne()}],"mask-image-conic-to-pos":[{"mask-conic-to":ne()}],"mask-image-conic-from-color":[{"mask-conic-from":T()}],"mask-image-conic-to-color":[{"mask-conic-to":T()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:R()}],"mask-repeat":[{mask:E()}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",xe,ge]}],filter:[{filter:["","none",xe,ge]}],blur:[{blur:ke()}],brightness:[{brightness:[He,xe,ge]}],contrast:[{contrast:[He,xe,ge]}],"drop-shadow":[{"drop-shadow":["","none",S,Kd,Qd]}],"drop-shadow-color":[{"drop-shadow":T()}],grayscale:[{grayscale:["",He,xe,ge]}],"hue-rotate":[{"hue-rotate":[He,xe,ge]}],invert:[{invert:["",He,xe,ge]}],saturate:[{saturate:[He,xe,ge]}],sepia:[{sepia:["",He,xe,ge]}],"backdrop-filter":[{"backdrop-filter":["","none",xe,ge]}],"backdrop-blur":[{"backdrop-blur":ke()}],"backdrop-brightness":[{"backdrop-brightness":[He,xe,ge]}],"backdrop-contrast":[{"backdrop-contrast":[He,xe,ge]}],"backdrop-grayscale":[{"backdrop-grayscale":["",He,xe,ge]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[He,xe,ge]}],"backdrop-invert":[{"backdrop-invert":["",He,xe,ge]}],"backdrop-opacity":[{"backdrop-opacity":[He,xe,ge]}],"backdrop-saturate":[{"backdrop-saturate":[He,xe,ge]}],"backdrop-sepia":[{"backdrop-sepia":["",He,xe,ge]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":B()}],"border-spacing-x":[{"border-spacing-x":B()}],"border-spacing-y":[{"border-spacing-y":B()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",xe,ge]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[He,"initial",xe,ge]}],ease:[{ease:["linear","initial",D,xe,ge]}],delay:[{delay:[He,xe,ge]}],animate:[{animate:["none",M,xe,ge]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,xe,ge]}],"perspective-origin":[{"perspective-origin":L()}],rotate:[{rotate:Ee()}],"rotate-x":[{"rotate-x":Ee()}],"rotate-y":[{"rotate-y":Ee()}],"rotate-z":[{"rotate-z":Ee()}],scale:[{scale:qt()}],"scale-x":[{"scale-x":qt()}],"scale-y":[{"scale-y":qt()}],"scale-z":[{"scale-z":qt()}],"scale-3d":["scale-3d"],skew:[{skew:mt()}],"skew-x":[{"skew-x":mt()}],"skew-y":[{"skew-y":mt()}],transform:[{transform:[xe,ge,"","none","gpu","cpu"]}],"transform-origin":[{origin:L()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:gt()}],"translate-x":[{"translate-x":gt()}],"translate-y":[{"translate-y":gt()}],"translate-z":[{"translate-z":gt()}],"translate-none":["translate-none"],accent:[{accent:T()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:T()}],"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",xe,ge]}],"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":B()}],"scroll-mx":[{"scroll-mx":B()}],"scroll-my":[{"scroll-my":B()}],"scroll-ms":[{"scroll-ms":B()}],"scroll-me":[{"scroll-me":B()}],"scroll-mt":[{"scroll-mt":B()}],"scroll-mr":[{"scroll-mr":B()}],"scroll-mb":[{"scroll-mb":B()}],"scroll-ml":[{"scroll-ml":B()}],"scroll-p":[{"scroll-p":B()}],"scroll-px":[{"scroll-px":B()}],"scroll-py":[{"scroll-py":B()}],"scroll-ps":[{"scroll-ps":B()}],"scroll-pe":[{"scroll-pe":B()}],"scroll-pt":[{"scroll-pt":B()}],"scroll-pr":[{"scroll-pr":B()}],"scroll-pb":[{"scroll-pb":B()}],"scroll-pl":[{"scroll-pl":B()}],"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",xe,ge]}],fill:[{fill:["none",...T()]}],"stroke-w":[{stroke:[He,Ll,Ii,rg]}],stroke:[{stroke:["none",...T()]}],"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"]}},x9=KT(g9);function cs(...a){return x9(lN(a))}const y9=AT("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 shadow-xs 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","icon-sm":"size-8","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}});function $e({className:a,variant:t="default",size:r="default",asChild:n=!1,...o}){const l=n?ST:"button";return c.jsx(l,{"code-path":"src/components/ui/button.tsx:52:5","data-slot":"button","data-variant":t,"data-size":r,className:cs(y9({variant:t,size:r,className:a})),...o})}function vr(a){if(a===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}function NN(a,t){a.prototype=Object.create(t.prototype),a.prototype.constructor=a,a.__proto__=t}var Da={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Cc={duration:.5,overwrite:!1,delay:0},Hx,bs,Ct,rn=1e8,ht=1/rn,Fg=Math.PI*2,v9=Fg/4,b9=0,SN=Math.sqrt,w9=Math.cos,N9=Math.sin,ps=function(t){return typeof t=="string"},Yt=function(t){return typeof t=="function"},Er=function(t){return typeof t=="number"},Ux=function(t){return typeof t>"u"},Xn=function(t){return typeof t=="object"},na=function(t){return t!==!1},Bx=function(){return typeof window<"u"},Zd=function(t){return Yt(t)||ps(t)},_N=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Rs=Array.isArray,S9=/random\([^)]+\)/g,_9=/,\s*/g,a2=/(?:-?\.?\d|\.)+/gi,jN=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,dc=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ig=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,CN=/[+-]=-?[.\d]+/,j9=/[^,'"\[\]\s]+/gi,C9=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,kt,Ln,Xg,Yx,ka={},Yf={},EN,TN=function(t){return(Yf=Ec(t,ka))&&la},qx=function(t,r){return console.warn("Invalid property",t,"set to",r,"Missing plugin? gsap.registerPlugin()")},du=function(t,r){return!r&&console.warn(t)},AN=function(t,r){return t&&(ka[t]=r)&&Yf&&(Yf[t]=r)||ka},fu=function(){return 0},E9={suppressEvents:!0,isStart:!0,kill:!1},Sf={suppressEvents:!0,kill:!1},T9={suppressEvents:!0},Gx={},pi=[],Qg={},DN,Na={},og={},n2=30,_f=[],Ix="",Vx=function(t){var r=t[0],n,o;if(Xn(r)||Yt(r)||(t=[t]),!(n=(r._gsap||{}).harness)){for(o=_f.length;o--&&!_f[o].targetTest(r););n=_f[o]}for(o=t.length;o--;)t[o]&&(t[o]._gsap||(t[o]._gsap=new eS(t[o],n)))||t.splice(o,1);return t},Wi=function(t){return t._gsap||Vx(on(t))[0]._gsap},MN=function(t,r,n){return(n=t[r])&&Yt(n)?t[r]():Ux(n)&&t.getAttribute&&t.getAttribute(r)||n},ra=function(t,r){return(t=t.split(",")).forEach(r)||t},Ft=function(t){return Math.round(t*1e5)/1e5||0},Ot=function(t){return Math.round(t*1e7)/1e7||0},xc=function(t,r){var n=r.charAt(0),o=parseFloat(r.substr(2));return t=parseFloat(t),n==="+"?t+o:n==="-"?t-o:n==="*"?t*o:t/o},A9=function(t,r){for(var n=r.length,o=0;t.indexOf(r[o])<0&&++o<n;);return o<n},qf=function(){var t=pi.length,r=pi.slice(0),n,o;for(Qg={},pi.length=0,n=0;n<t;n++)o=r[n],o&&o._lazy&&(o.render(o._lazy[0],o._lazy[1],!0)._lazy=0)},$x=function(t){return!!(t._initted||t._startAt||t.add)},RN=function(t,r,n,o){pi.length&&!bs&&qf(),t.render(r,n,!!(bs&&r<0&&$x(t))),pi.length&&!bs&&qf()},ON=function(t){var r=parseFloat(t);return(r||r===0)&&(t+"").match(j9).length<2?r:ps(t)?t.trim():t},kN=function(t){return t},Pa=function(t,r){for(var n in r)n in t||(t[n]=r[n]);return t},D9=function(t){return function(r,n){for(var o in n)o in r||o==="duration"&&t||o==="ease"||(r[o]=n[o])}},Ec=function(t,r){for(var n in r)t[n]=r[n];return t},r2=function a(t,r){for(var n in r)n!=="__proto__"&&n!=="constructor"&&n!=="prototype"&&(t[n]=Xn(r[n])?a(t[n]||(t[n]={}),r[n]):r[n]);return t},Gf=function(t,r){var n={},o;for(o in t)o in r||(n[o]=t[o]);return n},Ql=function(t){var r=t.parent||kt,n=t.keyframes?D9(Rs(t.keyframes)):Pa;if(na(t.inherit))for(;r;)n(t,r.vars.defaults),r=r.parent||r._dp;return t},M9=function(t,r){for(var n=t.length,o=n===r.length;o&&n--&&t[n]===r[n];);return n<0},PN=function(t,r,n,o,l){var d=t[o],f;if(l)for(f=r[l];d&&d[l]>f;)d=d._prev;return d?(r._next=d._next,d._next=r):(r._next=t[n],t[n]=r),r._next?r._next._prev=r:t[o]=r,r._prev=d,r.parent=r._dp=t,r},hp=function(t,r,n,o){n===void 0&&(n="_first"),o===void 0&&(o="_last");var l=r._prev,d=r._next;l?l._next=d:t[n]===r&&(t[n]=d),d?d._prev=l:t[o]===r&&(t[o]=l),r._next=r._prev=r.parent=null},gi=function(t,r){t.parent&&(!r||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Ji=function(t,r){if(t&&(!r||r._end>t._dur||r._start<0))for(var n=t;n;)n._dirty=1,n=n.parent;return t},R9=function(t){for(var r=t.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return t},Kg=function(t,r,n,o){return t._startAt&&(bs?t._startAt.revert(Sf):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(r,!0,o))},O9=function a(t){return!t||t._ts&&a(t.parent)},i2=function(t){return t._repeat?Tc(t._tTime,t=t.duration()+t._rDelay)*t:0},Tc=function(t,r){var n=Math.floor(t=Ot(t/r));return t&&n===t?n-1:n},If=function(t,r){return(t-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},mp=function(t){return t._end=Ot(t._start+(t._tDur/Math.abs(t._ts||t._rts||ht)||0))},gp=function(t,r){var n=t._dp;return n&&n.smoothChildTiming&&t._ts&&(t._start=Ot(n._time-(t._ts>0?r/t._ts:((t._dirty?t.totalDuration():t._tDur)-r)/-t._ts)),mp(t),n._dirty||Ji(n,t)),t},zN=function(t,r){var n;if((r._time||!r._dur&&r._initted||r._start<t._time&&(r._dur||!r.add))&&(n=If(t.rawTime(),r),(!r._dur||Du(0,r.totalDuration(),n)-r._tTime>ht)&&r.render(n,!0)),Ji(t,r)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(n=t;n._dp;)n.rawTime()>=0&&n.totalTime(n._tTime),n=n._dp;t._zTime=-ht}},Un=function(t,r,n,o){return r.parent&&gi(r),r._start=Ot((Er(n)?n:n||t!==kt?tn(t,n,r):t._time)+r._delay),r._end=Ot(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),PN(t,r,"_first","_last",t._sort?"_start":0),Zg(r)||(t._recent=r),o||zN(t,r),t._ts<0&&gp(t,t._tTime),t},LN=function(t,r){return(ka.ScrollTrigger||qx("scrollTrigger",r))&&ka.ScrollTrigger.create(r,t)},HN=function(t,r,n,o,l){if(Xx(t,r,l),!t._initted)return 1;if(!n&&t._pt&&!bs&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&DN!==Ca.frame)return pi.push(t),t._lazy=[l,o],1},k9=function a(t){var r=t.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||a(r))},Zg=function(t){var r=t.data;return r==="isFromStart"||r==="isStart"},P9=function(t,r,n,o){var l=t.ratio,d=r<0||!r&&(!t._start&&k9(t)&&!(!t._initted&&Zg(t))||(t._ts<0||t._dp._ts<0)&&!Zg(t))?0:1,f=t._rDelay,h=0,m,x,y;if(f&&t._repeat&&(h=Du(0,t._tDur,r),x=Tc(h,f),t._yoyo&&x&1&&(d=1-d),x!==Tc(t._tTime,f)&&(l=1-d,t.vars.repeatRefresh&&t._initted&&t.invalidate())),d!==l||bs||o||t._zTime===ht||!r&&t._zTime){if(!t._initted&&HN(t,r,o,n,h))return;for(y=t._zTime,t._zTime=r||(n?ht:0),n||(n=r&&!y),t.ratio=d,t._from&&(d=1-d),t._time=0,t._tTime=h,m=t._pt;m;)m.r(d,m.d),m=m._next;r<0&&Kg(t,r,n,!0),t._onUpdate&&!n&&Ta(t,"onUpdate"),h&&t._repeat&&!n&&t.parent&&Ta(t,"onRepeat"),(r>=t._tDur||r<0)&&t.ratio===d&&(d&&gi(t,1),!n&&!bs&&(Ta(t,d?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=r)},z9=function(t,r,n){var o;if(n>r)for(o=t._first;o&&o._start<=n;){if(o.data==="isPause"&&o._start>r)return o;o=o._next}else for(o=t._last;o&&o._start>=n;){if(o.data==="isPause"&&o._start<r)return o;o=o._prev}},Ac=function(t,r,n,o){var l=t._repeat,d=Ot(r)||0,f=t._tTime/t._tDur;return f&&!o&&(t._time*=d/t._dur),t._dur=d,t._tDur=l?l<0?1e10:Ot(d*(l+1)+t._rDelay*l):d,f>0&&!o&&gp(t,t._tTime=t._tDur*f),t.parent&&mp(t),n||Ji(t.parent,t),t},o2=function(t){return t instanceof qs?Ji(t):Ac(t,t._dur)},L9={_start:0,endTime:fu,totalDuration:fu},tn=function a(t,r,n){var o=t.labels,l=t._recent||L9,d=t.duration()>=rn?l.endTime(!1):t._dur,f,h,m;return ps(r)&&(isNaN(r)||r in o)?(h=r.charAt(0),m=r.substr(-1)==="%",f=r.indexOf("="),h==="<"||h===">"?(f>=0&&(r=r.replace(/=/,"")),(h==="<"?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(m?(f<0?l:n).totalDuration()/100:1)):f<0?(r in o||(o[r]=d),o[r]):(h=parseFloat(r.charAt(f-1)+r.substr(f+1)),m&&n&&(h=h/100*(Rs(n)?n[0]:n).totalDuration()),f>1?a(t,r.substr(0,f-1),n)+h:d+h)):r==null?d:+r},Kl=function(t,r,n){var o=Er(r[1]),l=(o?2:1)+(t<2?0:1),d=r[l],f,h;if(o&&(d.duration=r[1]),d.parent=n,t){for(f=d,h=n;h&&!("immediateRender"in f);)f=h.vars.defaults||{},h=na(h.vars.inherit)&&h.parent;d.immediateRender=na(f.immediateRender),t<2?d.runBackwards=1:d.startAt=r[l-1]}return new ss(r[0],d,r[l+1])},_i=function(t,r){return t||t===0?r(t):r},Du=function(t,r,n){return n<t?t:n>r?r:n},Ds=function(t,r){return!ps(t)||!(r=C9.exec(t))?"":r[1]},H9=function(t,r,n){return _i(n,function(o){return Du(t,r,o)})},Wg=[].slice,UN=function(t,r){return t&&Xn(t)&&"length"in t&&(!r&&!t.length||t.length-1 in t&&Xn(t[0]))&&!t.nodeType&&t!==Ln},U9=function(t,r,n){return n===void 0&&(n=[]),t.forEach(function(o){var l;return ps(o)&&!r||UN(o,1)?(l=n).push.apply(l,on(o)):n.push(o)})||n},on=function(t,r,n){return Ct&&!r&&Ct.selector?Ct.selector(t):ps(t)&&!n&&(Xg||!Dc())?Wg.call((r||Yx).querySelectorAll(t),0):Rs(t)?U9(t,n):UN(t)?Wg.call(t,0):t?[t]:[]},Jg=function(t){return t=on(t)[0]||du("Invalid scope")||{},function(r){var n=t.current||t.nativeElement||t;return on(r,n.querySelectorAll?n:n===t?du("Invalid scope")||Yx.createElement("div"):t)}},BN=function(t){return t.sort(function(){return .5-Math.random()})},YN=function(t){if(Yt(t))return t;var r=Xn(t)?t:{each:t},n=eo(r.ease),o=r.from||0,l=parseFloat(r.base)||0,d={},f=o>0&&o<1,h=isNaN(o)||f,m=r.axis,x=o,y=o;return ps(o)?x=y={center:.5,edges:.5,end:1}[o]||0:!f&&h&&(x=o[0],y=o[1]),function(N,S,j){var w=(j||r).length,_=d[w],D,M,O,k,L,Y,P,B,V;if(!_){if(V=r.grid==="auto"?0:(r.grid||[1,rn])[1],!V){for(P=-rn;P<(P=j[V++].getBoundingClientRect().left)&&V<w;);V<w&&V--}for(_=d[w]=[],D=h?Math.min(V,w)*x-.5:o%V,M=V===rn?0:h?w*y/V-.5:o/V|0,P=0,B=rn,Y=0;Y<w;Y++)O=Y%V-D,k=M-(Y/V|0),_[Y]=L=m?Math.abs(m==="y"?k:O):SN(O*O+k*k),L>P&&(P=L),L<B&&(B=L);o==="random"&&BN(_),_.max=P-B,_.min=B,_.v=w=(parseFloat(r.amount)||parseFloat(r.each)*(V>w?w-1:m?m==="y"?w/V:V:Math.max(V,w/V))||0)*(o==="edges"?-1:1),_.b=w<0?l-w:l,_.u=Ds(r.amount||r.each)||0,n=n&&w<0?ZN(n):n}return w=(_[N]-_.min)/_.max||0,Ot(_.b+(n?n(w):w)*_.v)+_.u}},ex=function(t){var r=Math.pow(10,((t+"").split(".")[1]||"").length);return function(n){var o=Ot(Math.round(parseFloat(n)/t)*t*r);return(o-o%1)/r+(Er(n)?0:Ds(n))}},qN=function(t,r){var n=Rs(t),o,l;return!n&&Xn(t)&&(o=n=t.radius||rn,t.values?(t=on(t.values),(l=!Er(t[0]))&&(o*=o)):t=ex(t.increment)),_i(r,n?Yt(t)?function(d){return l=t(d),Math.abs(l-d)<=o?l:d}:function(d){for(var f=parseFloat(l?d.x:d),h=parseFloat(l?d.y:0),m=rn,x=0,y=t.length,N,S;y--;)l?(N=t[y].x-f,S=t[y].y-h,N=N*N+S*S):N=Math.abs(t[y]-f),N<m&&(m=N,x=y);return x=!o||m<=o?t[x]:d,l||x===d||Er(d)?x:x+Ds(d)}:ex(t))},GN=function(t,r,n,o){return _i(Rs(t)?!r:n===!0?!!(n=0):!o,function(){return Rs(t)?t[~~(Math.random()*t.length)]:(n=n||1e-5)&&(o=n<1?Math.pow(10,(n+"").length-2):1)&&Math.floor(Math.round((t-n/2+Math.random()*(r-t+n*.99))/n)*n*o)/o})},B9=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return function(o){return r.reduce(function(l,d){return d(l)},o)}},Y9=function(t,r){return function(n){return t(parseFloat(n))+(r||Ds(n))}},q9=function(t,r,n){return VN(t,r,0,1,n)},IN=function(t,r,n){return _i(n,function(o){return t[~~r(o)]})},G9=function a(t,r,n){var o=r-t;return Rs(t)?IN(t,a(0,t.length),r):_i(n,function(l){return(o+(l-t)%o)%o+t})},I9=function a(t,r,n){var o=r-t,l=o*2;return Rs(t)?IN(t,a(0,t.length-1),r):_i(n,function(d){return d=(l+(d-t)%l)%l||0,t+(d>o?l-d:d)})},pu=function(t){return t.replace(S9,function(r){var n=r.indexOf("[")+1,o=r.substring(n||7,n?r.indexOf("]"):r.length-1).split(_9);return GN(n?o:+o[0],n?0:+o[1],+o[2]||1e-5)})},VN=function(t,r,n,o,l){var d=r-t,f=o-n;return _i(l,function(h){return n+((h-t)/d*f||0)})},V9=function a(t,r,n,o){var l=isNaN(t+r)?0:function(S){return(1-S)*t+S*r};if(!l){var d=ps(t),f={},h,m,x,y,N;if(n===!0&&(o=1)&&(n=null),d)t={p:t},r={p:r};else if(Rs(t)&&!Rs(r)){for(x=[],y=t.length,N=y-2,m=1;m<y;m++)x.push(a(t[m-1],t[m]));y--,l=function(j){j*=y;var w=Math.min(N,~~j);return x[w](j-w)},n=r}else o||(t=Ec(Rs(t)?[]:{},t));if(!x){for(h in r)Fx.call(f,t,h,"get",r[h]);l=function(j){return Zx(j,f)||(d?t.p:t)}}}return _i(n,l)},c2=function(t,r,n){var o=t.labels,l=rn,d,f,h;for(d in o)f=o[d]-r,f<0==!!n&&f&&l>(f=Math.abs(f))&&(h=d,l=f);return h},Ta=function(t,r,n){var o=t.vars,l=o[r],d=Ct,f=t._ctx,h,m,x;if(l)return h=o[r+"Params"],m=o.callbackScope||t,n&&pi.length&&qf(),f&&(Ct=f),x=h?l.apply(m,h):l.call(m),Ct=d,x},Yl=function(t){return gi(t),t.scrollTrigger&&t.scrollTrigger.kill(!!bs),t.progress()<1&&Ta(t,"onInterrupt"),t},fc,$N=[],FN=function(t){if(t)if(t=!t.name&&t.default||t,Bx()||t.headless){var r=t.name,n=Yt(t),o=r&&!n&&t.init?function(){this._props=[]}:t,l={init:fu,render:Zx,add:Fx,kill:oA,modifier:iA,rawVars:0},d={targetTest:0,get:0,getSetter:Kx,aliases:{},register:0};if(Dc(),t!==o){if(Na[r])return;Pa(o,Pa(Gf(t,l),d)),Ec(o.prototype,Ec(l,Gf(t,d))),Na[o.prop=r]=o,t.targetTest&&(_f.push(o),Gx[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}AN(r,o),t.register&&t.register(la,o,ia)}else $N.push(t)},pt=255,ql={aqua:[0,pt,pt],lime:[0,pt,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,pt],navy:[0,0,128],white:[pt,pt,pt],olive:[128,128,0],yellow:[pt,pt,0],orange:[pt,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[pt,0,0],pink:[pt,192,203],cyan:[0,pt,pt],transparent:[pt,pt,pt,0]},cg=function(t,r,n){return t+=t<0?1:t>1?-1:0,(t*6<1?r+(n-r)*t*6:t<.5?n:t*3<2?r+(n-r)*(2/3-t)*6:r)*pt+.5|0},XN=function(t,r,n){var o=t?Er(t)?[t>>16,t>>8&pt,t&pt]:0:ql.black,l,d,f,h,m,x,y,N,S,j;if(!o){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),ql[t])o=ql[t];else if(t.charAt(0)==="#"){if(t.length<6&&(l=t.charAt(1),d=t.charAt(2),f=t.charAt(3),t="#"+l+l+d+d+f+f+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return o=parseInt(t.substr(1,6),16),[o>>16,o>>8&pt,o&pt,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),o=[t>>16,t>>8&pt,t&pt]}else if(t.substr(0,3)==="hsl"){if(o=j=t.match(a2),!r)h=+o[0]%360/360,m=+o[1]/100,x=+o[2]/100,d=x<=.5?x*(m+1):x+m-x*m,l=x*2-d,o.length>3&&(o[3]*=1),o[0]=cg(h+1/3,l,d),o[1]=cg(h,l,d),o[2]=cg(h-1/3,l,d);else if(~t.indexOf("="))return o=t.match(jN),n&&o.length<4&&(o[3]=1),o}else o=t.match(a2)||ql.transparent;o=o.map(Number)}return r&&!j&&(l=o[0]/pt,d=o[1]/pt,f=o[2]/pt,y=Math.max(l,d,f),N=Math.min(l,d,f),x=(y+N)/2,y===N?h=m=0:(S=y-N,m=x>.5?S/(2-y-N):S/(y+N),h=y===l?(d-f)/S+(d<f?6:0):y===d?(f-l)/S+2:(l-d)/S+4,h*=60),o[0]=~~(h+.5),o[1]=~~(m*100+.5),o[2]=~~(x*100+.5)),n&&o.length<4&&(o[3]=1),o},QN=function(t){var r=[],n=[],o=-1;return t.split(hi).forEach(function(l){var d=l.match(dc)||[];r.push.apply(r,d),n.push(o+=d.length+1)}),r.c=n,r},l2=function(t,r,n){var o="",l=(t+o).match(hi),d=r?"hsla(":"rgba(",f=0,h,m,x,y;if(!l)return t;if(l=l.map(function(N){return(N=XN(N,r,1))&&d+(r?N[0]+","+N[1]+"%,"+N[2]+"%,"+N[3]:N.join(","))+")"}),n&&(x=QN(t),h=n.c,h.join(o)!==x.c.join(o)))for(m=t.replace(hi,"1").split(dc),y=m.length-1;f<y;f++)o+=m[f]+(~h.indexOf(f)?l.shift()||d+"0,0,0,0)":(x.length?x:l.length?l:n).shift());if(!m)for(m=t.split(hi),y=m.length-1;f<y;f++)o+=m[f]+l[f];return o+m[y]},hi=(function(){var a="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in ql)a+="|"+t+"\\b";return new RegExp(a+")","gi")})(),$9=/hsl[a]?\(/,KN=function(t){var r=t.join(" "),n;if(hi.lastIndex=0,hi.test(r))return n=$9.test(r),t[1]=l2(t[1],n),t[0]=l2(t[0],n,QN(t[1])),!0},hu,Ca=(function(){var a=Date.now,t=500,r=33,n=a(),o=n,l=1e3/240,d=l,f=[],h,m,x,y,N,S,j=function w(_){var D=a()-o,M=_===!0,O,k,L,Y;if((D>t||D<0)&&(n+=D-r),o+=D,L=o-n,O=L-d,(O>0||M)&&(Y=++y.frame,N=L-y.time*1e3,y.time=L=L/1e3,d+=O+(O>=l?4:l-O),k=1),M||(h=m(w)),k)for(S=0;S<f.length;S++)f[S](L,N,Y,_)};return y={time:0,frame:0,tick:function(){j(!0)},deltaRatio:function(_){return N/(1e3/(_||60))},wake:function(){EN&&(!Xg&&Bx()&&(Ln=Xg=window,Yx=Ln.document||{},ka.gsap=la,(Ln.gsapVersions||(Ln.gsapVersions=[])).push(la.version),TN(Yf||Ln.GreenSockGlobals||!Ln.gsap&&Ln||{}),$N.forEach(FN)),x=typeof requestAnimationFrame<"u"&&requestAnimationFrame,h&&y.sleep(),m=x||function(_){return setTimeout(_,d-y.time*1e3+1|0)},hu=1,j(2))},sleep:function(){(x?cancelAnimationFrame:clearTimeout)(h),hu=0,m=fu},lagSmoothing:function(_,D){t=_||1/0,r=Math.min(D||33,t)},fps:function(_){l=1e3/(_||240),d=y.time*1e3+l},add:function(_,D,M){var O=D?function(k,L,Y,P){_(k,L,Y,P),y.remove(O)}:_;return y.remove(_),f[M?"unshift":"push"](O),Dc(),O},remove:function(_,D){~(D=f.indexOf(_))&&f.splice(D,1)&&S>=D&&S--},_listeners:f},y})(),Dc=function(){return!hu&&Ca.wake()},Ke={},F9=/^[\d.\-M][\d.\-,\s]/,X9=/["']/g,Q9=function(t){for(var r={},n=t.substr(1,t.length-3).split(":"),o=n[0],l=1,d=n.length,f,h,m;l<d;l++)h=n[l],f=l!==d-1?h.lastIndexOf(","):h.length,m=h.substr(0,f),r[o]=isNaN(m)?m.replace(X9,"").trim():+m,o=h.substr(f+1).trim();return r},K9=function(t){var r=t.indexOf("(")+1,n=t.indexOf(")"),o=t.indexOf("(",r);return t.substring(r,~o&&o<n?t.indexOf(")",n+1):n)},Z9=function(t){var r=(t+"").split("("),n=Ke[r[0]];return n&&r.length>1&&n.config?n.config.apply(null,~t.indexOf("{")?[Q9(r[1])]:K9(t).split(",").map(ON)):Ke._CE&&F9.test(t)?Ke._CE("",t):n},ZN=function(t){return function(r){return 1-t(1-r)}},WN=function a(t,r){for(var n=t._first,o;n;)n instanceof qs?a(n,r):n.vars.yoyoEase&&(!n._yoyo||!n._repeat)&&n._yoyo!==r&&(n.timeline?a(n.timeline,r):(o=n._ease,n._ease=n._yEase,n._yEase=o,n._yoyo=r)),n=n._next},eo=function(t,r){return t&&(Yt(t)?t:Ke[t]||Z9(t))||r},mo=function(t,r,n,o){n===void 0&&(n=function(h){return 1-r(1-h)}),o===void 0&&(o=function(h){return h<.5?r(h*2)/2:1-r((1-h)*2)/2});var l={easeIn:r,easeOut:n,easeInOut:o},d;return ra(t,function(f){Ke[f]=ka[f]=l,Ke[d=f.toLowerCase()]=n;for(var h in l)Ke[d+(h==="easeIn"?".in":h==="easeOut"?".out":".inOut")]=Ke[f+"."+h]=l[h]}),l},JN=function(t){return function(r){return r<.5?(1-t(1-r*2))/2:.5+t((r-.5)*2)/2}},lg=function a(t,r,n){var o=r>=1?r:1,l=(n||(t?.3:.45))/(r<1?r:1),d=l/Fg*(Math.asin(1/o)||0),f=function(x){return x===1?1:o*Math.pow(2,-10*x)*N9((x-d)*l)+1},h=t==="out"?f:t==="in"?function(m){return 1-f(1-m)}:JN(f);return l=Fg/l,h.config=function(m,x){return a(t,m,x)},h},ug=function a(t,r){r===void 0&&(r=1.70158);var n=function(d){return d?--d*d*((r+1)*d+r)+1:0},o=t==="out"?n:t==="in"?function(l){return 1-n(1-l)}:JN(n);return o.config=function(l){return a(t,l)},o};ra("Linear,Quad,Cubic,Quart,Quint,Strong",function(a,t){var r=t<5?t+1:t;mo(a+",Power"+(r-1),t?function(n){return Math.pow(n,r)}:function(n){return n},function(n){return 1-Math.pow(1-n,r)},function(n){return n<.5?Math.pow(n*2,r)/2:1-Math.pow((1-n)*2,r)/2})});Ke.Linear.easeNone=Ke.none=Ke.Linear.easeIn;mo("Elastic",lg("in"),lg("out"),lg());(function(a,t){var r=1/t,n=2*r,o=2.5*r,l=function(f){return f<r?a*f*f:f<n?a*Math.pow(f-1.5/t,2)+.75:f<o?a*(f-=2.25/t)*f+.9375:a*Math.pow(f-2.625/t,2)+.984375};mo("Bounce",function(d){return 1-l(1-d)},l)})(7.5625,2.75);mo("Expo",function(a){return Math.pow(2,10*(a-1))*a+a*a*a*a*a*a*(1-a)});mo("Circ",function(a){return-(SN(1-a*a)-1)});mo("Sine",function(a){return a===1?1:-w9(a*v9)+1});mo("Back",ug("in"),ug("out"),ug());Ke.SteppedEase=Ke.steps=ka.SteppedEase={config:function(t,r){t===void 0&&(t=1);var n=1/t,o=t+(r?0:1),l=r?1:0,d=1-ht;return function(f){return((o*Du(0,d,f)|0)+l)*n}}};Cc.ease=Ke["quad.out"];ra("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(a){return Ix+=a+","+a+"Params,"});var eS=function(t,r){this.id=b9++,t._gsap=this,this.target=t,this.harness=r,this.get=r?r.get:MN,this.set=r?r.getSetter:Kx},mu=(function(){function a(r){this.vars=r,this._delay=+r.delay||0,(this._repeat=r.repeat===1/0?-2:r.repeat||0)&&(this._rDelay=r.repeatDelay||0,this._yoyo=!!r.yoyo||!!r.yoyoEase),this._ts=1,Ac(this,+r.duration,1,1),this.data=r.data,Ct&&(this._ctx=Ct,Ct.data.push(this)),hu||Ca.wake()}var t=a.prototype;return t.delay=function(n){return n||n===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+n-this._delay),this._delay=n,this):this._delay},t.duration=function(n){return arguments.length?this.totalDuration(this._repeat>0?n+(n+this._rDelay)*this._repeat:n):this.totalDuration()&&this._dur},t.totalDuration=function(n){return arguments.length?(this._dirty=0,Ac(this,this._repeat<0?n:(n-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(n,o){if(Dc(),!arguments.length)return this._tTime;var l=this._dp;if(l&&l.smoothChildTiming&&this._ts){for(gp(this,n),!l._dp||l.parent||zN(l,this);l&&l.parent;)l.parent._time!==l._start+(l._ts>=0?l._tTime/l._ts:(l.totalDuration()-l._tTime)/-l._ts)&&l.totalTime(l._tTime,!0),l=l.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&n<this._tDur||this._ts<0&&n>0||!this._tDur&&!n)&&Un(this._dp,this,this._start-this._delay)}return(this._tTime!==n||!this._dur&&!o||this._initted&&Math.abs(this._zTime)===ht||!this._initted&&this._dur&&n||!n&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=n),RN(this,n,o)),this},t.time=function(n,o){return arguments.length?this.totalTime(Math.min(this.totalDuration(),n+i2(this))%(this._dur+this._rDelay)||(n?this._dur:0),o):this._time},t.totalProgress=function(n,o){return arguments.length?this.totalTime(this.totalDuration()*n,o):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(n,o){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-n:n)+i2(this),o):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(n,o){var l=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(n-1)*l,o):this._repeat?Tc(this._tTime,l)+1:1},t.timeScale=function(n,o){if(!arguments.length)return this._rts===-ht?0:this._rts;if(this._rts===n)return this;var l=this.parent&&this._ts?If(this.parent._time,this):this._tTime;return this._rts=+n||0,this._ts=this._ps||n===-ht?0:this._rts,this.totalTime(Du(-Math.abs(this._delay),this.totalDuration(),l),o!==!1),mp(this),R9(this)},t.paused=function(n){return arguments.length?(this._ps!==n&&(this._ps=n,n?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Dc(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ht&&(this._tTime-=ht)))),this):this._ps},t.startTime=function(n){if(arguments.length){this._start=Ot(n);var o=this.parent||this._dp;return o&&(o._sort||!this.parent)&&Un(o,this,this._start-this._delay),this}return this._start},t.endTime=function(n){return this._start+(na(n)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(n){var o=this.parent||this._dp;return o?n&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?If(o.rawTime(n),this):this._tTime:this._tTime},t.revert=function(n){n===void 0&&(n=T9);var o=bs;return bs=n,$x(this)&&(this.timeline&&this.timeline.revert(n),this.totalTime(-.01,n.suppressEvents)),this.data!=="nested"&&n.kill!==!1&&this.kill(),bs=o,this},t.globalTime=function(n){for(var o=this,l=arguments.length?n:o.rawTime();o;)l=o._start+l/(Math.abs(o._ts)||1),o=o._dp;return!this.parent&&this._sat?this._sat.globalTime(n):l},t.repeat=function(n){return arguments.length?(this._repeat=n===1/0?-2:n,o2(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(n){if(arguments.length){var o=this._time;return this._rDelay=n,o2(this),o?this.time(o):this}return this._rDelay},t.yoyo=function(n){return arguments.length?(this._yoyo=n,this):this._yoyo},t.seek=function(n,o){return this.totalTime(tn(this,n),na(o))},t.restart=function(n,o){return this.play().totalTime(n?-this._delay:0,na(o)),this._dur||(this._zTime=-ht),this},t.play=function(n,o){return n!=null&&this.seek(n,o),this.reversed(!1).paused(!1)},t.reverse=function(n,o){return n!=null&&this.seek(n||this.totalDuration(),o),this.reversed(!0).paused(!1)},t.pause=function(n,o){return n!=null&&this.seek(n,o),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(n){return arguments.length?(!!n!==this.reversed()&&this.timeScale(-this._rts||(n?-ht:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-ht,this},t.isActive=function(){var n=this.parent||this._dp,o=this._start,l;return!!(!n||this._ts&&this._initted&&n.isActive()&&(l=n.rawTime(!0))>=o&&l<this.endTime(!0)-ht)},t.eventCallback=function(n,o,l){var d=this.vars;return arguments.length>1?(o?(d[n]=o,l&&(d[n+"Params"]=l),n==="onUpdate"&&(this._onUpdate=o)):delete d[n],this):d[n]},t.then=function(n){var o=this,l=o._prom;return new Promise(function(d){var f=Yt(n)?n:kN,h=function(){var x=o.then;o.then=null,l&&l(),Yt(f)&&(f=f(o))&&(f.then||f===o)&&(o.then=x),d(f),o.then=x};o._initted&&o.totalProgress()===1&&o._ts>=0||!o._tTime&&o._ts<0?h():o._prom=h})},t.kill=function(){Yl(this)},a})();Pa(mu.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-ht,_prom:0,_ps:!1,_rts:1});var qs=(function(a){NN(t,a);function t(n,o){var l;return n===void 0&&(n={}),l=a.call(this,n)||this,l.labels={},l.smoothChildTiming=!!n.smoothChildTiming,l.autoRemoveChildren=!!n.autoRemoveChildren,l._sort=na(n.sortChildren),kt&&Un(n.parent||kt,vr(l),o),n.reversed&&l.reverse(),n.paused&&l.paused(!0),n.scrollTrigger&&LN(vr(l),n.scrollTrigger),l}var r=t.prototype;return r.to=function(o,l,d){return Kl(0,arguments,this),this},r.from=function(o,l,d){return Kl(1,arguments,this),this},r.fromTo=function(o,l,d,f){return Kl(2,arguments,this),this},r.set=function(o,l,d){return l.duration=0,l.parent=this,Ql(l).repeatDelay||(l.repeat=0),l.immediateRender=!!l.immediateRender,new ss(o,l,tn(this,d),1),this},r.call=function(o,l,d){return Un(this,ss.delayedCall(0,o,l),d)},r.staggerTo=function(o,l,d,f,h,m,x){return d.duration=l,d.stagger=d.stagger||f,d.onComplete=m,d.onCompleteParams=x,d.parent=this,new ss(o,d,tn(this,h)),this},r.staggerFrom=function(o,l,d,f,h,m,x){return d.runBackwards=1,Ql(d).immediateRender=na(d.immediateRender),this.staggerTo(o,l,d,f,h,m,x)},r.staggerFromTo=function(o,l,d,f,h,m,x,y){return f.startAt=d,Ql(f).immediateRender=na(f.immediateRender),this.staggerTo(o,l,f,h,m,x,y)},r.render=function(o,l,d){var f=this._time,h=this._dirty?this.totalDuration():this._tDur,m=this._dur,x=o<=0?0:Ot(o),y=this._zTime<0!=o<0&&(this._initted||!m),N,S,j,w,_,D,M,O,k,L,Y,P;if(this!==kt&&x>h&&o>=0&&(x=h),x!==this._tTime||d||y){if(f!==this._time&&m&&(x+=this._time-f,o+=this._time-f),N=x,k=this._start,O=this._ts,D=!O,y&&(m||(f=this._zTime),(o||!l)&&(this._zTime=o)),this._repeat){if(Y=this._yoyo,_=m+this._rDelay,this._repeat<-1&&o<0)return this.totalTime(_*100+o,l,d);if(N=Ot(x%_),x===h?(w=this._repeat,N=m):(L=Ot(x/_),w=~~L,w&&w===L&&(N=m,w--),N>m&&(N=m)),L=Tc(this._tTime,_),!f&&this._tTime&&L!==w&&this._tTime-L*_-this._dur<=0&&(L=w),Y&&w&1&&(N=m-N,P=1),w!==L&&!this._lock){var B=Y&&L&1,V=B===(Y&&w&1);if(w<L&&(B=!B),f=B?0:x%m?m:x,this._lock=1,this.render(f||(P?0:Ot(w*_)),l,!m)._lock=0,this._tTime=x,!l&&this.parent&&Ta(this,"onRepeat"),this.vars.repeatRefresh&&!P&&(this.invalidate()._lock=1,L=w),f&&f!==this._time||D!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(m=this._dur,h=this._tDur,V&&(this._lock=2,f=B?m:-1e-4,this.render(f,!0),this.vars.repeatRefresh&&!P&&this.invalidate()),this._lock=0,!this._ts&&!D)return this;WN(this,P)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(M=z9(this,Ot(f),Ot(N)),M&&(x-=N-(N=M._start))),this._tTime=x,this._time=N,this._act=!O,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=o,f=0),!f&&x&&m&&!l&&!L&&(Ta(this,"onStart"),this._tTime!==x))return this;if(N>=f&&o>=0)for(S=this._first;S;){if(j=S._next,(S._act||N>=S._start)&&S._ts&&M!==S){if(S.parent!==this)return this.render(o,l,d);if(S.render(S._ts>0?(N-S._start)*S._ts:(S._dirty?S.totalDuration():S._tDur)+(N-S._start)*S._ts,l,d),N!==this._time||!this._ts&&!D){M=0,j&&(x+=this._zTime=-ht);break}}S=j}else{S=this._last;for(var K=o<0?o:N;S;){if(j=S._prev,(S._act||K<=S._end)&&S._ts&&M!==S){if(S.parent!==this)return this.render(o,l,d);if(S.render(S._ts>0?(K-S._start)*S._ts:(S._dirty?S.totalDuration():S._tDur)+(K-S._start)*S._ts,l,d||bs&&$x(S)),N!==this._time||!this._ts&&!D){M=0,j&&(x+=this._zTime=K?-ht:ht);break}}S=j}}if(M&&!l&&(this.pause(),M.render(N>=f?0:-ht)._zTime=N>=f?1:-1,this._ts))return this._start=k,mp(this),this.render(o,l,d);this._onUpdate&&!l&&Ta(this,"onUpdate",!0),(x===h&&this._tTime>=this.totalDuration()||!x&&f)&&(k===this._start||Math.abs(O)!==Math.abs(this._ts))&&(this._lock||((o||!m)&&(x===h&&this._ts>0||!x&&this._ts<0)&&gi(this,1),!l&&!(o<0&&!f)&&(x||f||!h)&&(Ta(this,x===h&&o>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(x<h&&this.timeScale()>0)&&this._prom())))}return this},r.add=function(o,l){var d=this;if(Er(l)||(l=tn(this,l,o)),!(o instanceof mu)){if(Rs(o))return o.forEach(function(f){return d.add(f,l)}),this;if(ps(o))return this.addLabel(o,l);if(Yt(o))o=ss.delayedCall(0,o);else return this}return this!==o?Un(this,o,l):this},r.getChildren=function(o,l,d,f){o===void 0&&(o=!0),l===void 0&&(l=!0),d===void 0&&(d=!0),f===void 0&&(f=-rn);for(var h=[],m=this._first;m;)m._start>=f&&(m instanceof ss?l&&h.push(m):(d&&h.push(m),o&&h.push.apply(h,m.getChildren(!0,l,d)))),m=m._next;return h},r.getById=function(o){for(var l=this.getChildren(1,1,1),d=l.length;d--;)if(l[d].vars.id===o)return l[d]},r.remove=function(o){return ps(o)?this.removeLabel(o):Yt(o)?this.killTweensOf(o):(o.parent===this&&hp(this,o),o===this._recent&&(this._recent=this._last),Ji(this))},r.totalTime=function(o,l){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ot(Ca.time-(this._ts>0?o/this._ts:(this.totalDuration()-o)/-this._ts))),a.prototype.totalTime.call(this,o,l),this._forcing=0,this):this._tTime},r.addLabel=function(o,l){return this.labels[o]=tn(this,l),this},r.removeLabel=function(o){return delete this.labels[o],this},r.addPause=function(o,l,d){var f=ss.delayedCall(0,l||fu,d);return f.data="isPause",this._hasPause=1,Un(this,f,tn(this,o))},r.removePause=function(o){var l=this._first;for(o=tn(this,o);l;)l._start===o&&l.data==="isPause"&&gi(l),l=l._next},r.killTweensOf=function(o,l,d){for(var f=this.getTweensOf(o,d),h=f.length;h--;)oi!==f[h]&&f[h].kill(o,l);return this},r.getTweensOf=function(o,l){for(var d=[],f=on(o),h=this._first,m=Er(l),x;h;)h instanceof ss?A9(h._targets,f)&&(m?(!oi||h._initted&&h._ts)&&h.globalTime(0)<=l&&h.globalTime(h.totalDuration())>l:!l||h.isActive())&&d.push(h):(x=h.getTweensOf(f,l)).length&&d.push.apply(d,x),h=h._next;return d},r.tweenTo=function(o,l){l=l||{};var d=this,f=tn(d,o),h=l,m=h.startAt,x=h.onStart,y=h.onStartParams,N=h.immediateRender,S,j=ss.to(d,Pa({ease:l.ease||"none",lazy:!1,immediateRender:!1,time:f,overwrite:"auto",duration:l.duration||Math.abs((f-(m&&"time"in m?m.time:d._time))/d.timeScale())||ht,onStart:function(){if(d.pause(),!S){var _=l.duration||Math.abs((f-(m&&"time"in m?m.time:d._time))/d.timeScale());j._dur!==_&&Ac(j,_,0,1).render(j._time,!0,!0),S=1}x&&x.apply(j,y||[])}},l));return N?j.render(0):j},r.tweenFromTo=function(o,l,d){return this.tweenTo(l,Pa({startAt:{time:tn(this,o)}},d))},r.recent=function(){return this._recent},r.nextLabel=function(o){return o===void 0&&(o=this._time),c2(this,tn(this,o))},r.previousLabel=function(o){return o===void 0&&(o=this._time),c2(this,tn(this,o),1)},r.currentLabel=function(o){return arguments.length?this.seek(o,!0):this.previousLabel(this._time+ht)},r.shiftChildren=function(o,l,d){d===void 0&&(d=0);var f=this._first,h=this.labels,m;for(o=Ot(o);f;)f._start>=d&&(f._start+=o,f._end+=o),f=f._next;if(l)for(m in h)h[m]>=d&&(h[m]+=o);return Ji(this)},r.invalidate=function(o){var l=this._first;for(this._lock=0;l;)l.invalidate(o),l=l._next;return a.prototype.invalidate.call(this,o)},r.clear=function(o){o===void 0&&(o=!0);for(var l=this._first,d;l;)d=l._next,this.remove(l),l=d;return this._dp&&(this._time=this._tTime=this._pTime=0),o&&(this.labels={}),Ji(this)},r.totalDuration=function(o){var l=0,d=this,f=d._last,h=rn,m,x,y;if(arguments.length)return d.timeScale((d._repeat<0?d.duration():d.totalDuration())/(d.reversed()?-o:o));if(d._dirty){for(y=d.parent;f;)m=f._prev,f._dirty&&f.totalDuration(),x=f._start,x>h&&d._sort&&f._ts&&!d._lock?(d._lock=1,Un(d,f,x-f._delay,1)._lock=0):h=x,x<0&&f._ts&&(l-=x,(!y&&!d._dp||y&&y.smoothChildTiming)&&(d._start+=Ot(x/d._ts),d._time-=x,d._tTime-=x),d.shiftChildren(-x,!1,-1/0),h=0),f._end>l&&f._ts&&(l=f._end),f=m;Ac(d,d===kt&&d._time>l?d._time:l,1,1),d._dirty=0}return d._tDur},t.updateRoot=function(o){if(kt._ts&&(RN(kt,If(o,kt)),DN=Ca.frame),Ca.frame>=n2){n2+=Da.autoSleep||120;var l=kt._first;if((!l||!l._ts)&&Da.autoSleep&&Ca._listeners.length<2){for(;l&&!l._ts;)l=l._next;l||Ca.sleep()}}},t})(mu);Pa(qs.prototype,{_lock:0,_hasPause:0,_forcing:0});var W9=function(t,r,n,o,l,d,f){var h=new ia(this._pt,t,r,0,1,iS,null,l),m=0,x=0,y,N,S,j,w,_,D,M;for(h.b=n,h.e=o,n+="",o+="",(D=~o.indexOf("random("))&&(o=pu(o)),d&&(M=[n,o],d(M,t,r),n=M[0],o=M[1]),N=n.match(ig)||[];y=ig.exec(o);)j=y[0],w=o.substring(m,y.index),S?S=(S+1)%5:w.substr(-5)==="rgba("&&(S=1),j!==N[x++]&&(_=parseFloat(N[x-1])||0,h._pt={_next:h._pt,p:w||x===1?w:",",s:_,c:j.charAt(1)==="="?xc(_,j)-_:parseFloat(j)-_,m:S&&S<4?Math.round:0},m=ig.lastIndex);return h.c=m<o.length?o.substring(m,o.length):"",h.fp=f,(CN.test(o)||D)&&(h.e=0),this._pt=h,h},Fx=function(t,r,n,o,l,d,f,h,m,x){Yt(o)&&(o=o(l||0,t,d));var y=t[r],N=n!=="get"?n:Yt(y)?m?t[r.indexOf("set")||!Yt(t["get"+r.substr(3)])?r:"get"+r.substr(3)](m):t[r]():y,S=Yt(y)?m?aA:nS:Qx,j;if(ps(o)&&(~o.indexOf("random(")&&(o=pu(o)),o.charAt(1)==="="&&(j=xc(N,o)+(Ds(N)||0),(j||j===0)&&(o=j))),!x||N!==o||tx)return!isNaN(N*o)&&o!==""?(j=new ia(this._pt,t,r,+N||0,o-(N||0),typeof y=="boolean"?rA:rS,0,S),m&&(j.fp=m),f&&j.modifier(f,this,t),this._pt=j):(!y&&!(r in t)&&qx(r,o),W9.call(this,t,r,N,o,S,h||Da.stringFilter,m))},J9=function(t,r,n,o,l){if(Yt(t)&&(t=Zl(t,l,r,n,o)),!Xn(t)||t.style&&t.nodeType||Rs(t)||_N(t))return ps(t)?Zl(t,l,r,n,o):t;var d={},f;for(f in t)d[f]=Zl(t[f],l,r,n,o);return d},tS=function(t,r,n,o,l,d){var f,h,m,x;if(Na[t]&&(f=new Na[t]).init(l,f.rawVars?r[t]:J9(r[t],o,l,d,n),n,o,d)!==!1&&(n._pt=h=new ia(n._pt,l,t,0,1,f.render,f,0,f.priority),n!==fc))for(m=n._ptLookup[n._targets.indexOf(l)],x=f._props.length;x--;)m[f._props[x]]=h;return f},oi,tx,Xx=function a(t,r,n){var o=t.vars,l=o.ease,d=o.startAt,f=o.immediateRender,h=o.lazy,m=o.onUpdate,x=o.runBackwards,y=o.yoyoEase,N=o.keyframes,S=o.autoRevert,j=t._dur,w=t._startAt,_=t._targets,D=t.parent,M=D&&D.data==="nested"?D.vars.targets:_,O=t._overwrite==="auto"&&!Hx,k=t.timeline,L,Y,P,B,V,K,re,J,ce,oe,ie,U,F;if(k&&(!N||!l)&&(l="none"),t._ease=eo(l,Cc.ease),t._yEase=y?ZN(eo(y===!0?l:y,Cc.ease)):0,y&&t._yoyo&&!t._repeat&&(y=t._yEase,t._yEase=t._ease,t._ease=y),t._from=!k&&!!o.runBackwards,!k||N&&!o.stagger){if(J=_[0]?Wi(_[0]).harness:0,U=J&&o[J.prop],L=Gf(o,Gx),w&&(w._zTime<0&&w.progress(1),r<0&&x&&f&&!S?w.render(-1,!0):w.revert(x&&j?Sf:E9),w._lazy=0),d){if(gi(t._startAt=ss.set(_,Pa({data:"isStart",overwrite:!1,parent:D,immediateRender:!0,lazy:!w&&na(h),startAt:null,delay:0,onUpdate:m&&function(){return Ta(t,"onUpdate")},stagger:0},d))),t._startAt._dp=0,t._startAt._sat=t,r<0&&(bs||!f&&!S)&&t._startAt.revert(Sf),f&&j&&r<=0&&n<=0){r&&(t._zTime=r);return}}else if(x&&j&&!w){if(r&&(f=!1),P=Pa({overwrite:!1,data:"isFromStart",lazy:f&&!w&&na(h),immediateRender:f,stagger:0,parent:D},L),U&&(P[J.prop]=U),gi(t._startAt=ss.set(_,P)),t._startAt._dp=0,t._startAt._sat=t,r<0&&(bs?t._startAt.revert(Sf):t._startAt.render(-1,!0)),t._zTime=r,!f)a(t._startAt,ht,ht);else if(!r)return}for(t._pt=t._ptCache=0,h=j&&na(h)||h&&!j,Y=0;Y<_.length;Y++){if(V=_[Y],re=V._gsap||Vx(_)[Y]._gsap,t._ptLookup[Y]=oe={},Qg[re.id]&&pi.length&&qf(),ie=M===_?Y:M.indexOf(V),J&&(ce=new J).init(V,U||L,t,ie,M)!==!1&&(t._pt=B=new ia(t._pt,V,ce.name,0,1,ce.render,ce,0,ce.priority),ce._props.forEach(function(T){oe[T]=B}),ce.priority&&(K=1)),!J||U)for(P in L)Na[P]&&(ce=tS(P,L,t,ie,V,M))?ce.priority&&(K=1):oe[P]=B=Fx.call(t,V,P,"get",L[P],ie,M,0,o.stringFilter);t._op&&t._op[Y]&&t.kill(V,t._op[Y]),O&&t._pt&&(oi=t,kt.killTweensOf(V,oe,t.globalTime(r)),F=!t.parent,oi=0),t._pt&&h&&(Qg[re.id]=1)}K&&oS(t),t._onInit&&t._onInit(t)}t._onUpdate=m,t._initted=(!t._op||t._pt)&&!F,N&&r<=0&&k.render(rn,!0,!0)},eA=function(t,r,n,o,l,d,f,h){var m=(t._pt&&t._ptCache||(t._ptCache={}))[r],x,y,N,S;if(!m)for(m=t._ptCache[r]=[],N=t._ptLookup,S=t._targets.length;S--;){if(x=N[S][r],x&&x.d&&x.d._pt)for(x=x.d._pt;x&&x.p!==r&&x.fp!==r;)x=x._next;if(!x)return tx=1,t.vars[r]="+=0",Xx(t,f),tx=0,h?du(r+" not eligible for reset"):1;m.push(x)}for(S=m.length;S--;)y=m[S],x=y._pt||y,x.s=(o||o===0)&&!l?o:x.s+(o||0)+d*x.c,x.c=n-x.s,y.e&&(y.e=Ft(n)+Ds(y.e)),y.b&&(y.b=x.s+Ds(y.b))},tA=function(t,r){var n=t[0]?Wi(t[0]).harness:0,o=n&&n.aliases,l,d,f,h;if(!o)return r;l=Ec({},r);for(d in o)if(d in l)for(h=o[d].split(","),f=h.length;f--;)l[h[f]]=l[d];return l},sA=function(t,r,n,o){var l=r.ease||o||"power1.inOut",d,f;if(Rs(r))f=n[t]||(n[t]=[]),r.forEach(function(h,m){return f.push({t:m/(r.length-1)*100,v:h,e:l})});else for(d in r)f=n[d]||(n[d]=[]),d==="ease"||f.push({t:parseFloat(t),v:r[d],e:l})},Zl=function(t,r,n,o,l){return Yt(t)?t.call(r,n,o,l):ps(t)&&~t.indexOf("random(")?pu(t):t},sS=Ix+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",aS={};ra(sS+",id,stagger,delay,duration,paused,scrollTrigger",function(a){return aS[a]=1});var ss=(function(a){NN(t,a);function t(n,o,l,d){var f;typeof o=="number"&&(l.duration=o,o=l,l=null),f=a.call(this,d?o:Ql(o))||this;var h=f.vars,m=h.duration,x=h.delay,y=h.immediateRender,N=h.stagger,S=h.overwrite,j=h.keyframes,w=h.defaults,_=h.scrollTrigger,D=h.yoyoEase,M=o.parent||kt,O=(Rs(n)||_N(n)?Er(n[0]):"length"in o)?[n]:on(n),k,L,Y,P,B,V,K,re;if(f._targets=O.length?Vx(O):du("GSAP target "+n+" not found. https://gsap.com",!Da.nullTargetWarn)||[],f._ptLookup=[],f._overwrite=S,j||N||Zd(m)||Zd(x)){if(o=f.vars,k=f.timeline=new qs({data:"nested",defaults:w||{},targets:M&&M.data==="nested"?M.vars.targets:O}),k.kill(),k.parent=k._dp=vr(f),k._start=0,N||Zd(m)||Zd(x)){if(P=O.length,K=N&&YN(N),Xn(N))for(B in N)~sS.indexOf(B)&&(re||(re={}),re[B]=N[B]);for(L=0;L<P;L++)Y=Gf(o,aS),Y.stagger=0,D&&(Y.yoyoEase=D),re&&Ec(Y,re),V=O[L],Y.duration=+Zl(m,vr(f),L,V,O),Y.delay=(+Zl(x,vr(f),L,V,O)||0)-f._delay,!N&&P===1&&Y.delay&&(f._delay=x=Y.delay,f._start+=x,Y.delay=0),k.to(V,Y,K?K(L,V,O):0),k._ease=Ke.none;k.duration()?m=x=0:f.timeline=0}else if(j){Ql(Pa(k.vars.defaults,{ease:"none"})),k._ease=eo(j.ease||o.ease||"none");var J=0,ce,oe,ie;if(Rs(j))j.forEach(function(U){return k.to(O,U,">")}),k.duration();else{Y={};for(B in j)B==="ease"||B==="easeEach"||sA(B,j[B],Y,j.easeEach);for(B in Y)for(ce=Y[B].sort(function(U,F){return U.t-F.t}),J=0,L=0;L<ce.length;L++)oe=ce[L],ie={ease:oe.e,duration:(oe.t-(L?ce[L-1].t:0))/100*m},ie[B]=oe.v,k.to(O,ie,J),J+=ie.duration;k.duration()<m&&k.to({},{duration:m-k.duration()})}}m||f.duration(m=k.duration())}else f.timeline=0;return S===!0&&!Hx&&(oi=vr(f),kt.killTweensOf(O),oi=0),Un(M,vr(f),l),o.reversed&&f.reverse(),o.paused&&f.paused(!0),(y||!m&&!j&&f._start===Ot(M._time)&&na(y)&&O9(vr(f))&&M.data!=="nested")&&(f._tTime=-ht,f.render(Math.max(0,-x)||0)),_&&LN(vr(f),_),f}var r=t.prototype;return r.render=function(o,l,d){var f=this._time,h=this._tDur,m=this._dur,x=o<0,y=o>h-ht&&!x?h:o<ht?0:o,N,S,j,w,_,D,M,O,k;if(!m)P9(this,o,l,d);else if(y!==this._tTime||!o||d||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==x||this._lazy){if(N=y,O=this.timeline,this._repeat){if(w=m+this._rDelay,this._repeat<-1&&x)return this.totalTime(w*100+o,l,d);if(N=Ot(y%w),y===h?(j=this._repeat,N=m):(_=Ot(y/w),j=~~_,j&&j===_?(N=m,j--):N>m&&(N=m)),D=this._yoyo&&j&1,D&&(k=this._yEase,N=m-N),_=Tc(this._tTime,w),N===f&&!d&&this._initted&&j===_)return this._tTime=y,this;j!==_&&(O&&this._yEase&&WN(O,D),this.vars.repeatRefresh&&!D&&!this._lock&&N!==w&&this._initted&&(this._lock=d=1,this.render(Ot(w*j),!0).invalidate()._lock=0))}if(!this._initted){if(HN(this,x?o:N,d,l,y))return this._tTime=0,this;if(f!==this._time&&!(d&&this.vars.repeatRefresh&&j!==_))return this;if(m!==this._dur)return this.render(o,l,d)}if(this._tTime=y,this._time=N,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=M=(k||this._ease)(N/m),this._from&&(this.ratio=M=1-M),!f&&y&&!l&&!_&&(Ta(this,"onStart"),this._tTime!==y))return this;for(S=this._pt;S;)S.r(M,S.d),S=S._next;O&&O.render(o<0?o:O._dur*O._ease(N/this._dur),l,d)||this._startAt&&(this._zTime=o),this._onUpdate&&!l&&(x&&Kg(this,o,l,d),Ta(this,"onUpdate")),this._repeat&&j!==_&&this.vars.onRepeat&&!l&&this.parent&&Ta(this,"onRepeat"),(y===this._tDur||!y)&&this._tTime===y&&(x&&!this._onUpdate&&Kg(this,o,!0,!0),(o||!m)&&(y===this._tDur&&this._ts>0||!y&&this._ts<0)&&gi(this,1),!l&&!(x&&!f)&&(y||f||D)&&(Ta(this,y===h?"onComplete":"onReverseComplete",!0),this._prom&&!(y<h&&this.timeScale()>0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(o){return(!o||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(o),a.prototype.invalidate.call(this,o)},r.resetTo=function(o,l,d,f,h){hu||Ca.wake(),this._ts||this.play();var m=Math.min(this._dur,(this._dp._time-this._start)*this._ts),x;return this._initted||Xx(this,m),x=this._ease(m/this._dur),eA(this,o,l,d,f,x,m,h)?this.resetTo(o,l,d,f,1):(gp(this,0),this.parent||PN(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(o,l){if(l===void 0&&(l="all"),!o&&(!l||l==="all"))return this._lazy=this._pt=0,this.parent?Yl(this):this.scrollTrigger&&this.scrollTrigger.kill(!!bs),this;if(this.timeline){var d=this.timeline.totalDuration();return this.timeline.killTweensOf(o,l,oi&&oi.vars.overwrite!==!0)._first||Yl(this),this.parent&&d!==this.timeline.totalDuration()&&Ac(this,this._dur*this.timeline._tDur/d,0,1),this}var f=this._targets,h=o?on(o):f,m=this._ptLookup,x=this._pt,y,N,S,j,w,_,D;if((!l||l==="all")&&M9(f,h))return l==="all"&&(this._pt=0),Yl(this);for(y=this._op=this._op||[],l!=="all"&&(ps(l)&&(w={},ra(l,function(M){return w[M]=1}),l=w),l=tA(f,l)),D=f.length;D--;)if(~h.indexOf(f[D])){N=m[D],l==="all"?(y[D]=l,j=N,S={}):(S=y[D]=y[D]||{},j=l);for(w in j)_=N&&N[w],_&&((!("kill"in _.d)||_.d.kill(w)===!0)&&hp(this,_,"_pt"),delete N[w]),S!=="all"&&(S[w]=1)}return this._initted&&!this._pt&&x&&Yl(this),this},t.to=function(o,l){return new t(o,l,arguments[2])},t.from=function(o,l){return Kl(1,arguments)},t.delayedCall=function(o,l,d,f){return new t(l,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:o,onComplete:l,onReverseComplete:l,onCompleteParams:d,onReverseCompleteParams:d,callbackScope:f})},t.fromTo=function(o,l,d){return Kl(2,arguments)},t.set=function(o,l){return l.duration=0,l.repeatDelay||(l.repeat=0),new t(o,l)},t.killTweensOf=function(o,l,d){return kt.killTweensOf(o,l,d)},t})(mu);Pa(ss.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});ra("staggerTo,staggerFrom,staggerFromTo",function(a){ss[a]=function(){var t=new qs,r=Wg.call(arguments,0);return r.splice(a==="staggerFromTo"?5:4,0,0),t[a].apply(t,r)}});var Qx=function(t,r,n){return t[r]=n},nS=function(t,r,n){return t[r](n)},aA=function(t,r,n,o){return t[r](o.fp,n)},nA=function(t,r,n){return t.setAttribute(r,n)},Kx=function(t,r){return Yt(t[r])?nS:Ux(t[r])&&t.setAttribute?nA:Qx},rS=function(t,r){return r.set(r.t,r.p,Math.round((r.s+r.c*t)*1e6)/1e6,r)},rA=function(t,r){return r.set(r.t,r.p,!!(r.s+r.c*t),r)},iS=function(t,r){var n=r._pt,o="";if(!t&&r.b)o=r.b;else if(t===1&&r.e)o=r.e;else{for(;n;)o=n.p+(n.m?n.m(n.s+n.c*t):Math.round((n.s+n.c*t)*1e4)/1e4)+o,n=n._next;o+=r.c}r.set(r.t,r.p,o,r)},Zx=function(t,r){for(var n=r._pt;n;)n.r(t,n.d),n=n._next},iA=function(t,r,n,o){for(var l=this._pt,d;l;)d=l._next,l.p===o&&l.modifier(t,r,n),l=d},oA=function(t){for(var r=this._pt,n,o;r;)o=r._next,r.p===t&&!r.op||r.op===t?hp(this,r,"_pt"):r.dep||(n=1),r=o;return!n},cA=function(t,r,n,o){o.mSet(t,r,o.m.call(o.tween,n,o.mt),o)},oS=function(t){for(var r=t._pt,n,o,l,d;r;){for(n=r._next,o=l;o&&o.pr>r.pr;)o=o._next;(r._prev=o?o._prev:d)?r._prev._next=r:l=r,(r._next=o)?o._prev=r:d=r,r=n}t._pt=l},ia=(function(){function a(r,n,o,l,d,f,h,m,x){this.t=n,this.s=l,this.c=d,this.p=o,this.r=f||rS,this.d=h||this,this.set=m||Qx,this.pr=x||0,this._next=r,r&&(r._prev=this)}var t=a.prototype;return t.modifier=function(n,o,l){this.mSet=this.mSet||this.set,this.set=cA,this.m=n,this.mt=l,this.tween=o},a})();ra(Ix+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(a){return Gx[a]=1});ka.TweenMax=ka.TweenLite=ss;ka.TimelineLite=ka.TimelineMax=qs;kt=new qs({sortChildren:!1,defaults:Cc,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});Da.stringFilter=KN;var to=[],jf={},lA=[],u2=0,uA=0,dg=function(t){return(jf[t]||lA).map(function(r){return r()})},sx=function(){var t=Date.now(),r=[];t-u2>2&&(dg("matchMediaInit"),to.forEach(function(n){var o=n.queries,l=n.conditions,d,f,h,m;for(f in o)d=Ln.matchMedia(o[f]).matches,d&&(h=1),d!==l[f]&&(l[f]=d,m=1);m&&(n.revert(),h&&r.push(n))}),dg("matchMediaRevert"),r.forEach(function(n){return n.onMatch(n,function(o){return n.add(null,o)})}),u2=t,dg("matchMedia"))},cS=(function(){function a(r,n){this.selector=n&&Jg(n),this.data=[],this._r=[],this.isReverted=!1,this.id=uA++,r&&this.add(r)}var t=a.prototype;return t.add=function(n,o,l){Yt(n)&&(l=o,o=n,n=Yt);var d=this,f=function(){var m=Ct,x=d.selector,y;return m&&m!==d&&m.data.push(d),l&&(d.selector=Jg(l)),Ct=d,y=o.apply(d,arguments),Yt(y)&&d._r.push(y),Ct=m,d.selector=x,d.isReverted=!1,y};return d.last=f,n===Yt?f(d,function(h){return d.add(null,h)}):n?d[n]=f:f},t.ignore=function(n){var o=Ct;Ct=null,n(this),Ct=o},t.getTweens=function(){var n=[];return this.data.forEach(function(o){return o instanceof a?n.push.apply(n,o.getTweens()):o instanceof ss&&!(o.parent&&o.parent.data==="nested")&&n.push(o)}),n},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(n,o){var l=this;if(n?(function(){for(var f=l.getTweens(),h=l.data.length,m;h--;)m=l.data[h],m.data==="isFlip"&&(m.revert(),m.getChildren(!0,!0,!1).forEach(function(x){return f.splice(f.indexOf(x),1)}));for(f.map(function(x){return{g:x._dur||x._delay||x._sat&&!x._sat.vars.immediateRender?x.globalTime(0):-1/0,t:x}}).sort(function(x,y){return y.g-x.g||-1/0}).forEach(function(x){return x.t.revert(n)}),h=l.data.length;h--;)m=l.data[h],m instanceof qs?m.data!=="nested"&&(m.scrollTrigger&&m.scrollTrigger.revert(),m.kill()):!(m instanceof ss)&&m.revert&&m.revert(n);l._r.forEach(function(x){return x(n,l)}),l.isReverted=!0})():this.data.forEach(function(f){return f.kill&&f.kill()}),this.clear(),o)for(var d=to.length;d--;)to[d].id===this.id&&to.splice(d,1)},t.revert=function(n){this.kill(n||{})},a})(),dA=(function(){function a(r){this.contexts=[],this.scope=r,Ct&&Ct.data.push(this)}var t=a.prototype;return t.add=function(n,o,l){Xn(n)||(n={matches:n});var d=new cS(0,l||this.scope),f=d.conditions={},h,m,x;Ct&&!d.selector&&(d.selector=Ct.selector),this.contexts.push(d),o=d.add("onMatch",o),d.queries=n;for(m in n)m==="all"?x=1:(h=Ln.matchMedia(n[m]),h&&(to.indexOf(d)<0&&to.push(d),(f[m]=h.matches)&&(x=1),h.addListener?h.addListener(sx):h.addEventListener("change",sx)));return x&&o(d,function(y){return d.add(null,y)}),this},t.revert=function(n){this.kill(n||{})},t.kill=function(n){this.contexts.forEach(function(o){return o.kill(n,!0)})},a})(),Vf={registerPlugin:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];r.forEach(function(o){return FN(o)})},timeline:function(t){return new qs(t)},getTweensOf:function(t,r){return kt.getTweensOf(t,r)},getProperty:function(t,r,n,o){ps(t)&&(t=on(t)[0]);var l=Wi(t||{}).get,d=n?kN:ON;return n==="native"&&(n=""),t&&(r?d((Na[r]&&Na[r].get||l)(t,r,n,o)):function(f,h,m){return d((Na[f]&&Na[f].get||l)(t,f,h,m))})},quickSetter:function(t,r,n){if(t=on(t),t.length>1){var o=t.map(function(x){return la.quickSetter(x,r,n)}),l=o.length;return function(x){for(var y=l;y--;)o[y](x)}}t=t[0]||{};var d=Na[r],f=Wi(t),h=f.harness&&(f.harness.aliases||{})[r]||r,m=d?function(x){var y=new d;fc._pt=0,y.init(t,n?x+n:x,fc,0,[t]),y.render(1,y),fc._pt&&Zx(1,fc)}:f.set(t,h);return d?m:function(x){return m(t,h,n?x+n:x,f,1)}},quickTo:function(t,r,n){var o,l=la.to(t,Pa((o={},o[r]="+=0.1",o.paused=!0,o.stagger=0,o),n||{})),d=function(h,m,x){return l.resetTo(r,h,m,x)};return d.tween=l,d},isTweening:function(t){return kt.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=eo(t.ease,Cc.ease)),r2(Cc,t||{})},config:function(t){return r2(Da,t||{})},registerEffect:function(t){var r=t.name,n=t.effect,o=t.plugins,l=t.defaults,d=t.extendTimeline;(o||"").split(",").forEach(function(f){return f&&!Na[f]&&!ka[f]&&du(r+" effect requires "+f+" plugin.")}),og[r]=function(f,h,m){return n(on(f),Pa(h||{},l),m)},d&&(qs.prototype[r]=function(f,h,m){return this.add(og[r](f,Xn(h)?h:(m=h)&&{},this),m)})},registerEase:function(t,r){Ke[t]=eo(r)},parseEase:function(t,r){return arguments.length?eo(t,r):Ke},getById:function(t){return kt.getById(t)},exportRoot:function(t,r){t===void 0&&(t={});var n=new qs(t),o,l;for(n.smoothChildTiming=na(t.smoothChildTiming),kt.remove(n),n._dp=0,n._time=n._tTime=kt._time,o=kt._first;o;)l=o._next,(r||!(!o._dur&&o instanceof ss&&o.vars.onComplete===o._targets[0]))&&Un(n,o,o._start-o._delay),o=l;return Un(kt,n,0),n},context:function(t,r){return t?new cS(t,r):Ct},matchMedia:function(t){return new dA(t)},matchMediaRefresh:function(){return to.forEach(function(t){var r=t.conditions,n,o;for(o in r)r[o]&&(r[o]=!1,n=1);n&&t.revert()})||sx()},addEventListener:function(t,r){var n=jf[t]||(jf[t]=[]);~n.indexOf(r)||n.push(r)},removeEventListener:function(t,r){var n=jf[t],o=n&&n.indexOf(r);o>=0&&n.splice(o,1)},utils:{wrap:G9,wrapYoyo:I9,distribute:YN,random:GN,snap:qN,normalize:q9,getUnit:Ds,clamp:H9,splitColor:XN,toArray:on,selector:Jg,mapRange:VN,pipe:B9,unitize:Y9,interpolate:V9,shuffle:BN},install:TN,effects:og,ticker:Ca,updateRoot:qs.updateRoot,plugins:Na,globalTimeline:kt,core:{PropTween:ia,globals:AN,Tween:ss,Timeline:qs,Animation:mu,getCache:Wi,_removeLinkedListItem:hp,reverting:function(){return bs},context:function(t){return t&&Ct&&(Ct.data.push(t),t._ctx=Ct),Ct},suppressOverwrites:function(t){return Hx=t}}};ra("to,from,fromTo,delayedCall,set,killTweensOf",function(a){return Vf[a]=ss[a]});Ca.add(qs.updateRoot);fc=Vf.to({},{duration:0});var fA=function(t,r){for(var n=t._pt;n&&n.p!==r&&n.op!==r&&n.fp!==r;)n=n._next;return n},pA=function(t,r){var n=t._targets,o,l,d;for(o in r)for(l=n.length;l--;)d=t._ptLookup[l][o],d&&(d=d.d)&&(d._pt&&(d=fA(d,o)),d&&d.modifier&&d.modifier(r[o],t,n[l],o))},fg=function(t,r){return{name:t,headless:1,rawVars:1,init:function(o,l,d){d._onInit=function(f){var h,m;if(ps(l)&&(h={},ra(l,function(x){return h[x]=1}),l=h),r){h={};for(m in l)h[m]=r(l[m]);l=h}pA(f,l)}}}},la=Vf.registerPlugin({name:"attr",init:function(t,r,n,o,l){var d,f,h;this.tween=n;for(d in r)h=t.getAttribute(d)||"",f=this.add(t,"setAttribute",(h||0)+"",r[d],o,l,0,0,d),f.op=d,f.b=h,this._props.push(d)},render:function(t,r){for(var n=r._pt;n;)bs?n.set(n.t,n.p,n.b,n):n.r(t,n.d),n=n._next}},{name:"endArray",headless:1,init:function(t,r){for(var n=r.length;n--;)this.add(t,n,t[n]||0,r[n],0,0,0,0,0,1)}},fg("roundProps",ex),fg("modifiers"),fg("snap",qN))||Vf;ss.version=qs.version=la.version="3.14.2";EN=1;Bx()&&Dc();Ke.Power0;Ke.Power1;Ke.Power2;Ke.Power3;Ke.Power4;Ke.Linear;Ke.Quad;Ke.Cubic;Ke.Quart;Ke.Quint;Ke.Strong;Ke.Elastic;Ke.Back;Ke.SteppedEase;Ke.Bounce;Ke.Sine;Ke.Expo;Ke.Circ;var d2,ci,yc,Wx,Ki,f2,Jx,hA=function(){return typeof window<"u"},Tr={},Fi=180/Math.PI,vc=Math.PI/180,sc=Math.atan2,p2=1e8,e0=/([A-Z])/g,mA=/(left|right|width|margin|padding|x)/i,gA=/[\s,\(]\S/,Yn={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ax=function(t,r){return r.set(r.t,r.p,Math.round((r.s+r.c*t)*1e4)/1e4+r.u,r)},xA=function(t,r){return r.set(r.t,r.p,t===1?r.e:Math.round((r.s+r.c*t)*1e4)/1e4+r.u,r)},yA=function(t,r){return r.set(r.t,r.p,t?Math.round((r.s+r.c*t)*1e4)/1e4+r.u:r.b,r)},vA=function(t,r){return r.set(r.t,r.p,t===1?r.e:t?Math.round((r.s+r.c*t)*1e4)/1e4+r.u:r.b,r)},bA=function(t,r){var n=r.s+r.c*t;r.set(r.t,r.p,~~(n+(n<0?-.5:.5))+r.u,r)},lS=function(t,r){return r.set(r.t,r.p,t?r.e:r.b,r)},uS=function(t,r){return r.set(r.t,r.p,t!==1?r.b:r.e,r)},wA=function(t,r,n){return t.style[r]=n},NA=function(t,r,n){return t.style.setProperty(r,n)},SA=function(t,r,n){return t._gsap[r]=n},_A=function(t,r,n){return t._gsap.scaleX=t._gsap.scaleY=n},jA=function(t,r,n,o,l){var d=t._gsap;d.scaleX=d.scaleY=n,d.renderTransform(l,d)},CA=function(t,r,n,o,l){var d=t._gsap;d[r]=n,d.renderTransform(l,d)},Pt="transform",oa=Pt+"Origin",EA=function a(t,r){var n=this,o=this.target,l=o.style,d=o._gsap;if(t in Tr&&l){if(this.tfm=this.tfm||{},t!=="transform")t=Yn[t]||t,~t.indexOf(",")?t.split(",").forEach(function(f){return n.tfm[f]=br(o,f)}):this.tfm[t]=d.x?d[t]:br(o,t),t===oa&&(this.tfm.zOrigin=d.zOrigin);else return Yn.transform.split(",").forEach(function(f){return a.call(n,f,r)});if(this.props.indexOf(Pt)>=0)return;d.svg&&(this.svgo=o.getAttribute("data-svg-origin"),this.props.push(oa,r,"")),t=Pt}(l||r)&&this.props.push(t,r,l[t])},dS=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},TA=function(){var t=this.props,r=this.target,n=r.style,o=r._gsap,l,d;for(l=0;l<t.length;l+=3)t[l+1]?t[l+1]===2?r[t[l]](t[l+2]):r[t[l]]=t[l+2]:t[l+2]?n[t[l]]=t[l+2]:n.removeProperty(t[l].substr(0,2)==="--"?t[l]:t[l].replace(e0,"-$1").toLowerCase());if(this.tfm){for(d in this.tfm)o[d]=this.tfm[d];o.svg&&(o.renderTransform(),r.setAttribute("data-svg-origin",this.svgo||"")),l=Jx(),(!l||!l.isStart)&&!n[Pt]&&(dS(n),o.zOrigin&&n[oa]&&(n[oa]+=" "+o.zOrigin+"px",o.zOrigin=0,o.renderTransform()),o.uncache=1)}},fS=function(t,r){var n={target:t,props:[],revert:TA,save:EA};return t._gsap||la.core.getCache(t),r&&t.style&&t.nodeType&&r.split(",").forEach(function(o){return n.save(o)}),n},pS,nx=function(t,r){var n=ci.createElementNS?ci.createElementNS((r||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):ci.createElement(t);return n&&n.style?n:ci.createElement(t)},Aa=function a(t,r,n){var o=getComputedStyle(t);return o[r]||o.getPropertyValue(r.replace(e0,"-$1").toLowerCase())||o.getPropertyValue(r)||!n&&a(t,Mc(r)||r,1)||""},h2="O,Moz,ms,Ms,Webkit".split(","),Mc=function(t,r,n){var o=r||Ki,l=o.style,d=5;if(t in l&&!n)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);d--&&!(h2[d]+t in l););return d<0?null:(d===3?"ms":d>=0?h2[d]:"")+t},rx=function(){hA()&&window.document&&(d2=window,ci=d2.document,yc=ci.documentElement,Ki=nx("div")||{style:{}},nx("div"),Pt=Mc(Pt),oa=Pt+"Origin",Ki.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",pS=!!Mc("perspective"),Jx=la.core.reverting,Wx=1)},m2=function(t){var r=t.ownerSVGElement,n=nx("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),o=t.cloneNode(!0),l;o.style.display="block",n.appendChild(o),yc.appendChild(n);try{l=o.getBBox()}catch{}return n.removeChild(o),yc.removeChild(n),l},g2=function(t,r){for(var n=r.length;n--;)if(t.hasAttribute(r[n]))return t.getAttribute(r[n])},hS=function(t){var r,n;try{r=t.getBBox()}catch{r=m2(t),n=1}return r&&(r.width||r.height)||n||(r=m2(t)),r&&!r.width&&!r.x&&!r.y?{x:+g2(t,["x","cx","x1"])||0,y:+g2(t,["y","cy","y1"])||0,width:0,height:0}:r},mS=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&hS(t))},xi=function(t,r){if(r){var n=t.style,o;r in Tr&&r!==oa&&(r=Pt),n.removeProperty?(o=r.substr(0,2),(o==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),n.removeProperty(o==="--"?r:r.replace(e0,"-$1").toLowerCase())):n.removeAttribute(r)}},li=function(t,r,n,o,l,d){var f=new ia(t._pt,r,n,0,1,d?uS:lS);return t._pt=f,f.b=o,f.e=l,t._props.push(n),f},x2={deg:1,rad:1,turn:1},AA={grid:1,flex:1},yi=function a(t,r,n,o){var l=parseFloat(n)||0,d=(n+"").trim().substr((l+"").length)||"px",f=Ki.style,h=mA.test(r),m=t.tagName.toLowerCase()==="svg",x=(m?"client":"offset")+(h?"Width":"Height"),y=100,N=o==="px",S=o==="%",j,w,_,D;if(o===d||!l||x2[o]||x2[d])return l;if(d!=="px"&&!N&&(l=a(t,r,n,"px")),D=t.getCTM&&mS(t),(S||d==="%")&&(Tr[r]||~r.indexOf("adius")))return j=D?t.getBBox()[h?"width":"height"]:t[x],Ft(S?l/j*y:l/100*j);if(f[h?"width":"height"]=y+(N?d:o),w=o!=="rem"&&~r.indexOf("adius")||o==="em"&&t.appendChild&&!m?t:t.parentNode,D&&(w=(t.ownerSVGElement||{}).parentNode),(!w||w===ci||!w.appendChild)&&(w=ci.body),_=w._gsap,_&&S&&_.width&&h&&_.time===Ca.time&&!_.uncache)return Ft(l/_.width*y);if(S&&(r==="height"||r==="width")){var M=t.style[r];t.style[r]=y+o,j=t[x],M?t.style[r]=M:xi(t,r)}else(S||d==="%")&&!AA[Aa(w,"display")]&&(f.position=Aa(t,"position")),w===t&&(f.position="static"),w.appendChild(Ki),j=Ki[x],w.removeChild(Ki),f.position="absolute";return h&&S&&(_=Wi(w),_.time=Ca.time,_.width=w[x]),Ft(N?j*l/y:j&&l?y/j*l:0)},br=function(t,r,n,o){var l;return Wx||rx(),r in Yn&&r!=="transform"&&(r=Yn[r],~r.indexOf(",")&&(r=r.split(",")[0])),Tr[r]&&r!=="transform"?(l=xu(t,o),l=r!=="transformOrigin"?l[r]:l.svg?l.origin:Ff(Aa(t,oa))+" "+l.zOrigin+"px"):(l=t.style[r],(!l||l==="auto"||o||~(l+"").indexOf("calc("))&&(l=$f[r]&&$f[r](t,r,n)||Aa(t,r)||MN(t,r)||(r==="opacity"?1:0))),n&&!~(l+"").trim().indexOf(" ")?yi(t,r,l,n)+n:l},DA=function(t,r,n,o){if(!n||n==="none"){var l=Mc(r,t,1),d=l&&Aa(t,l,1);d&&d!==n?(r=l,n=d):r==="borderColor"&&(n=Aa(t,"borderTopColor"))}var f=new ia(this._pt,t.style,r,0,1,iS),h=0,m=0,x,y,N,S,j,w,_,D,M,O,k,L;if(f.b=n,f.e=o,n+="",o+="",o.substring(0,6)==="var(--"&&(o=Aa(t,o.substring(4,o.indexOf(")")))),o==="auto"&&(w=t.style[r],t.style[r]=o,o=Aa(t,r)||o,w?t.style[r]=w:xi(t,r)),x=[n,o],KN(x),n=x[0],o=x[1],N=n.match(dc)||[],L=o.match(dc)||[],L.length){for(;y=dc.exec(o);)_=y[0],M=o.substring(h,y.index),j?j=(j+1)%5:(M.substr(-5)==="rgba("||M.substr(-5)==="hsla(")&&(j=1),_!==(w=N[m++]||"")&&(S=parseFloat(w)||0,k=w.substr((S+"").length),_.charAt(1)==="="&&(_=xc(S,_)+k),D=parseFloat(_),O=_.substr((D+"").length),h=dc.lastIndex-O.length,O||(O=O||Da.units[r]||k,h===o.length&&(o+=O,f.e+=O)),k!==O&&(S=yi(t,r,w,O)||0),f._pt={_next:f._pt,p:M||m===1?M:",",s:S,c:D-S,m:j&&j<4||r==="zIndex"?Math.round:0});f.c=h<o.length?o.substring(h,o.length):""}else f.r=r==="display"&&o==="none"?uS:lS;return CN.test(o)&&(f.e=0),this._pt=f,f},y2={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},MA=function(t){var r=t.split(" "),n=r[0],o=r[1]||"50%";return(n==="top"||n==="bottom"||o==="left"||o==="right")&&(t=n,n=o,o=t),r[0]=y2[n]||n,r[1]=y2[o]||o,r.join(" ")},RA=function(t,r){if(r.tween&&r.tween._time===r.tween._dur){var n=r.t,o=n.style,l=r.u,d=n._gsap,f,h,m;if(l==="all"||l===!0)o.cssText="",h=1;else for(l=l.split(","),m=l.length;--m>-1;)f=l[m],Tr[f]&&(h=1,f=f==="transformOrigin"?oa:Pt),xi(n,f);h&&(xi(n,Pt),d&&(d.svg&&n.removeAttribute("transform"),o.scale=o.rotate=o.translate="none",xu(n,1),d.uncache=1,dS(o)))}},$f={clearProps:function(t,r,n,o,l){if(l.data!=="isFromStart"){var d=t._pt=new ia(t._pt,r,n,0,0,RA);return d.u=o,d.pr=-10,d.tween=l,t._props.push(n),1}}},gu=[1,0,0,1,0,0],gS={},xS=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},v2=function(t){var r=Aa(t,Pt);return xS(r)?gu:r.substr(7).match(jN).map(Ft)},t0=function(t,r){var n=t._gsap||Wi(t),o=t.style,l=v2(t),d,f,h,m;return n.svg&&t.getAttribute("transform")?(h=t.transform.baseVal.consolidate().matrix,l=[h.a,h.b,h.c,h.d,h.e,h.f],l.join(",")==="1,0,0,1,0,0"?gu:l):(l===gu&&!t.offsetParent&&t!==yc&&!n.svg&&(h=o.display,o.display="block",d=t.parentNode,(!d||!t.offsetParent&&!t.getBoundingClientRect().width)&&(m=1,f=t.nextElementSibling,yc.appendChild(t)),l=v2(t),h?o.display=h:xi(t,"display"),m&&(f?d.insertBefore(t,f):d?d.appendChild(t):yc.removeChild(t))),r&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},ix=function(t,r,n,o,l,d){var f=t._gsap,h=l||t0(t,!0),m=f.xOrigin||0,x=f.yOrigin||0,y=f.xOffset||0,N=f.yOffset||0,S=h[0],j=h[1],w=h[2],_=h[3],D=h[4],M=h[5],O=r.split(" "),k=parseFloat(O[0])||0,L=parseFloat(O[1])||0,Y,P,B,V;n?h!==gu&&(P=S*_-j*w)&&(B=k*(_/P)+L*(-w/P)+(w*M-_*D)/P,V=k*(-j/P)+L*(S/P)-(S*M-j*D)/P,k=B,L=V):(Y=hS(t),k=Y.x+(~O[0].indexOf("%")?k/100*Y.width:k),L=Y.y+(~(O[1]||O[0]).indexOf("%")?L/100*Y.height:L)),o||o!==!1&&f.smooth?(D=k-m,M=L-x,f.xOffset=y+(D*S+M*w)-D,f.yOffset=N+(D*j+M*_)-M):f.xOffset=f.yOffset=0,f.xOrigin=k,f.yOrigin=L,f.smooth=!!o,f.origin=r,f.originIsAbsolute=!!n,t.style[oa]="0px 0px",d&&(li(d,f,"xOrigin",m,k),li(d,f,"yOrigin",x,L),li(d,f,"xOffset",y,f.xOffset),li(d,f,"yOffset",N,f.yOffset)),t.setAttribute("data-svg-origin",k+" "+L)},xu=function(t,r){var n=t._gsap||new eS(t);if("x"in n&&!r&&!n.uncache)return n;var o=t.style,l=n.scaleX<0,d="px",f="deg",h=getComputedStyle(t),m=Aa(t,oa)||"0",x,y,N,S,j,w,_,D,M,O,k,L,Y,P,B,V,K,re,J,ce,oe,ie,U,F,T,R,E,A,G,se,ae,de;return x=y=N=w=_=D=M=O=k=0,S=j=1,n.svg=!!(t.getCTM&&mS(t)),h.translate&&((h.translate!=="none"||h.scale!=="none"||h.rotate!=="none")&&(o[Pt]=(h.translate!=="none"?"translate3d("+(h.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(h.rotate!=="none"?"rotate("+h.rotate+") ":"")+(h.scale!=="none"?"scale("+h.scale.split(" ").join(",")+") ":"")+(h[Pt]!=="none"?h[Pt]:"")),o.scale=o.rotate=o.translate="none"),P=t0(t,n.svg),n.svg&&(n.uncache?(T=t.getBBox(),m=n.xOrigin-T.x+"px "+(n.yOrigin-T.y)+"px",F=""):F=!r&&t.getAttribute("data-svg-origin"),ix(t,F||m,!!F||n.originIsAbsolute,n.smooth!==!1,P)),L=n.xOrigin||0,Y=n.yOrigin||0,P!==gu&&(re=P[0],J=P[1],ce=P[2],oe=P[3],x=ie=P[4],y=U=P[5],P.length===6?(S=Math.sqrt(re*re+J*J),j=Math.sqrt(oe*oe+ce*ce),w=re||J?sc(J,re)*Fi:0,M=ce||oe?sc(ce,oe)*Fi+w:0,M&&(j*=Math.abs(Math.cos(M*vc))),n.svg&&(x-=L-(L*re+Y*ce),y-=Y-(L*J+Y*oe))):(de=P[6],se=P[7],E=P[8],A=P[9],G=P[10],ae=P[11],x=P[12],y=P[13],N=P[14],B=sc(de,G),_=B*Fi,B&&(V=Math.cos(-B),K=Math.sin(-B),F=ie*V+E*K,T=U*V+A*K,R=de*V+G*K,E=ie*-K+E*V,A=U*-K+A*V,G=de*-K+G*V,ae=se*-K+ae*V,ie=F,U=T,de=R),B=sc(-ce,G),D=B*Fi,B&&(V=Math.cos(-B),K=Math.sin(-B),F=re*V-E*K,T=J*V-A*K,R=ce*V-G*K,ae=oe*K+ae*V,re=F,J=T,ce=R),B=sc(J,re),w=B*Fi,B&&(V=Math.cos(B),K=Math.sin(B),F=re*V+J*K,T=ie*V+U*K,J=J*V-re*K,U=U*V-ie*K,re=F,ie=T),_&&Math.abs(_)+Math.abs(w)>359.9&&(_=w=0,D=180-D),S=Ft(Math.sqrt(re*re+J*J+ce*ce)),j=Ft(Math.sqrt(U*U+de*de)),B=sc(ie,U),M=Math.abs(B)>2e-4?B*Fi:0,k=ae?1/(ae<0?-ae:ae):0),n.svg&&(F=t.getAttribute("transform"),n.forceCSS=t.setAttribute("transform","")||!xS(Aa(t,Pt)),F&&t.setAttribute("transform",F))),Math.abs(M)>90&&Math.abs(M)<270&&(l?(S*=-1,M+=w<=0?180:-180,w+=w<=0?180:-180):(j*=-1,M+=M<=0?180:-180)),r=r||n.uncache,n.x=x-((n.xPercent=x&&(!r&&n.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-x)?-50:0)))?t.offsetWidth*n.xPercent/100:0)+d,n.y=y-((n.yPercent=y&&(!r&&n.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-y)?-50:0)))?t.offsetHeight*n.yPercent/100:0)+d,n.z=N+d,n.scaleX=Ft(S),n.scaleY=Ft(j),n.rotation=Ft(w)+f,n.rotationX=Ft(_)+f,n.rotationY=Ft(D)+f,n.skewX=M+f,n.skewY=O+f,n.transformPerspective=k+d,(n.zOrigin=parseFloat(m.split(" ")[2])||!r&&n.zOrigin||0)&&(o[oa]=Ff(m)),n.xOffset=n.yOffset=0,n.force3D=Da.force3D,n.renderTransform=n.svg?kA:pS?yS:OA,n.uncache=0,n},Ff=function(t){return(t=t.split(" "))[0]+" "+t[1]},pg=function(t,r,n){var o=Ds(r);return Ft(parseFloat(r)+parseFloat(yi(t,"x",n+"px",o)))+o},OA=function(t,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,yS(t,r)},Vi="0deg",Hl="0px",$i=") ",yS=function(t,r){var n=r||this,o=n.xPercent,l=n.yPercent,d=n.x,f=n.y,h=n.z,m=n.rotation,x=n.rotationY,y=n.rotationX,N=n.skewX,S=n.skewY,j=n.scaleX,w=n.scaleY,_=n.transformPerspective,D=n.force3D,M=n.target,O=n.zOrigin,k="",L=D==="auto"&&t&&t!==1||D===!0;if(O&&(y!==Vi||x!==Vi)){var Y=parseFloat(x)*vc,P=Math.sin(Y),B=Math.cos(Y),V;Y=parseFloat(y)*vc,V=Math.cos(Y),d=pg(M,d,P*V*-O),f=pg(M,f,-Math.sin(Y)*-O),h=pg(M,h,B*V*-O+O)}_!==Hl&&(k+="perspective("+_+$i),(o||l)&&(k+="translate("+o+"%, "+l+"%) "),(L||d!==Hl||f!==Hl||h!==Hl)&&(k+=h!==Hl||L?"translate3d("+d+", "+f+", "+h+") ":"translate("+d+", "+f+$i),m!==Vi&&(k+="rotate("+m+$i),x!==Vi&&(k+="rotateY("+x+$i),y!==Vi&&(k+="rotateX("+y+$i),(N!==Vi||S!==Vi)&&(k+="skew("+N+", "+S+$i),(j!==1||w!==1)&&(k+="scale("+j+", "+w+$i),M.style[Pt]=k||"translate(0, 0)"},kA=function(t,r){var n=r||this,o=n.xPercent,l=n.yPercent,d=n.x,f=n.y,h=n.rotation,m=n.skewX,x=n.skewY,y=n.scaleX,N=n.scaleY,S=n.target,j=n.xOrigin,w=n.yOrigin,_=n.xOffset,D=n.yOffset,M=n.forceCSS,O=parseFloat(d),k=parseFloat(f),L,Y,P,B,V;h=parseFloat(h),m=parseFloat(m),x=parseFloat(x),x&&(x=parseFloat(x),m+=x,h+=x),h||m?(h*=vc,m*=vc,L=Math.cos(h)*y,Y=Math.sin(h)*y,P=Math.sin(h-m)*-N,B=Math.cos(h-m)*N,m&&(x*=vc,V=Math.tan(m-x),V=Math.sqrt(1+V*V),P*=V,B*=V,x&&(V=Math.tan(x),V=Math.sqrt(1+V*V),L*=V,Y*=V)),L=Ft(L),Y=Ft(Y),P=Ft(P),B=Ft(B)):(L=y,B=N,Y=P=0),(O&&!~(d+"").indexOf("px")||k&&!~(f+"").indexOf("px"))&&(O=yi(S,"x",d,"px"),k=yi(S,"y",f,"px")),(j||w||_||D)&&(O=Ft(O+j-(j*L+w*P)+_),k=Ft(k+w-(j*Y+w*B)+D)),(o||l)&&(V=S.getBBox(),O=Ft(O+o/100*V.width),k=Ft(k+l/100*V.height)),V="matrix("+L+","+Y+","+P+","+B+","+O+","+k+")",S.setAttribute("transform",V),M&&(S.style[Pt]=V)},PA=function(t,r,n,o,l){var d=360,f=ps(l),h=parseFloat(l)*(f&&~l.indexOf("rad")?Fi:1),m=h-o,x=o+m+"deg",y,N;return f&&(y=l.split("_")[1],y==="short"&&(m%=d,m!==m%(d/2)&&(m+=m<0?d:-d)),y==="cw"&&m<0?m=(m+d*p2)%d-~~(m/d)*d:y==="ccw"&&m>0&&(m=(m-d*p2)%d-~~(m/d)*d)),t._pt=N=new ia(t._pt,r,n,o,m,xA),N.e=x,N.u="deg",t._props.push(n),N},b2=function(t,r){for(var n in r)t[n]=r[n];return t},zA=function(t,r,n){var o=b2({},n._gsap),l="perspective,force3D,transformOrigin,svgOrigin",d=n.style,f,h,m,x,y,N,S,j;o.svg?(m=n.getAttribute("transform"),n.setAttribute("transform",""),d[Pt]=r,f=xu(n,1),xi(n,Pt),n.setAttribute("transform",m)):(m=getComputedStyle(n)[Pt],d[Pt]=r,f=xu(n,1),d[Pt]=m);for(h in Tr)m=o[h],x=f[h],m!==x&&l.indexOf(h)<0&&(S=Ds(m),j=Ds(x),y=S!==j?yi(n,h,m,j):parseFloat(m),N=parseFloat(x),t._pt=new ia(t._pt,f,h,y,N-y,ax),t._pt.u=j||0,t._props.push(h));b2(f,o)};ra("padding,margin,Width,Radius",function(a,t){var r="Top",n="Right",o="Bottom",l="Left",d=(t<3?[r,n,o,l]:[r+l,r+n,o+n,o+l]).map(function(f){return t<2?a+f:"border"+f+a});$f[t>1?"border"+a:a]=function(f,h,m,x,y){var N,S;if(arguments.length<4)return N=d.map(function(j){return br(f,j,m)}),S=N.join(" "),S.split(N[0]).length===5?N[0]:S;N=(x+"").split(" "),S={},d.forEach(function(j,w){return S[j]=N[w]=N[w]||N[(w-1)/2|0]}),f.init(h,S,y)}});var vS={name:"css",register:rx,targetTest:function(t){return t.style&&t.nodeType},init:function(t,r,n,o,l){var d=this._props,f=t.style,h=n.vars.startAt,m,x,y,N,S,j,w,_,D,M,O,k,L,Y,P,B,V;Wx||rx(),this.styles=this.styles||fS(t),B=this.styles.props,this.tween=n;for(w in r)if(w!=="autoRound"&&(x=r[w],!(Na[w]&&tS(w,r,n,o,t,l)))){if(S=typeof x,j=$f[w],S==="function"&&(x=x.call(n,o,t,l),S=typeof x),S==="string"&&~x.indexOf("random(")&&(x=pu(x)),j)j(this,t,w,x,n)&&(P=1);else if(w.substr(0,2)==="--")m=(getComputedStyle(t).getPropertyValue(w)+"").trim(),x+="",hi.lastIndex=0,hi.test(m)||(_=Ds(m),D=Ds(x),D?_!==D&&(m=yi(t,w,m,D)+D):_&&(x+=_)),this.add(f,"setProperty",m,x,o,l,0,0,w),d.push(w),B.push(w,0,f[w]);else if(S!=="undefined"){if(h&&w in h?(m=typeof h[w]=="function"?h[w].call(n,o,t,l):h[w],ps(m)&&~m.indexOf("random(")&&(m=pu(m)),Ds(m+"")||m==="auto"||(m+=Da.units[w]||Ds(br(t,w))||""),(m+"").charAt(1)==="="&&(m=br(t,w))):m=br(t,w),N=parseFloat(m),M=S==="string"&&x.charAt(1)==="="&&x.substr(0,2),M&&(x=x.substr(2)),y=parseFloat(x),w in Yn&&(w==="autoAlpha"&&(N===1&&br(t,"visibility")==="hidden"&&y&&(N=0),B.push("visibility",0,f.visibility),li(this,f,"visibility",N?"inherit":"hidden",y?"inherit":"hidden",!y)),w!=="scale"&&w!=="transform"&&(w=Yn[w],~w.indexOf(",")&&(w=w.split(",")[0]))),O=w in Tr,O){if(this.styles.save(w),V=x,S==="string"&&x.substring(0,6)==="var(--"){if(x=Aa(t,x.substring(4,x.indexOf(")"))),x.substring(0,5)==="calc("){var K=t.style.perspective;t.style.perspective=x,x=Aa(t,"perspective"),K?t.style.perspective=K:xi(t,"perspective")}y=parseFloat(x)}if(k||(L=t._gsap,L.renderTransform&&!r.parseTransform||xu(t,r.parseTransform),Y=r.smoothOrigin!==!1&&L.smooth,k=this._pt=new ia(this._pt,f,Pt,0,1,L.renderTransform,L,0,-1),k.dep=1),w==="scale")this._pt=new ia(this._pt,L,"scaleY",L.scaleY,(M?xc(L.scaleY,M+y):y)-L.scaleY||0,ax),this._pt.u=0,d.push("scaleY",w),w+="X";else if(w==="transformOrigin"){B.push(oa,0,f[oa]),x=MA(x),L.svg?ix(t,x,0,Y,0,this):(D=parseFloat(x.split(" ")[2])||0,D!==L.zOrigin&&li(this,L,"zOrigin",L.zOrigin,D),li(this,f,w,Ff(m),Ff(x)));continue}else if(w==="svgOrigin"){ix(t,x,1,Y,0,this);continue}else if(w in gS){PA(this,L,w,N,M?xc(N,M+x):x);continue}else if(w==="smoothOrigin"){li(this,L,"smooth",L.smooth,x);continue}else if(w==="force3D"){L[w]=x;continue}else if(w==="transform"){zA(this,x,t);continue}}else w in f||(w=Mc(w)||w);if(O||(y||y===0)&&(N||N===0)&&!gA.test(x)&&w in f)_=(m+"").substr((N+"").length),y||(y=0),D=Ds(x)||(w in Da.units?Da.units[w]:_),_!==D&&(N=yi(t,w,m,D)),this._pt=new ia(this._pt,O?L:f,w,N,(M?xc(N,M+y):y)-N,!O&&(D==="px"||w==="zIndex")&&r.autoRound!==!1?bA:ax),this._pt.u=D||0,O&&V!==x?(this._pt.b=m,this._pt.e=V,this._pt.r=vA):_!==D&&D!=="%"&&(this._pt.b=m,this._pt.r=yA);else if(w in f)DA.call(this,t,w,m,M?M+x:x);else if(w in t)this.add(t,w,m||t[w],M?M+x:x,o,l);else if(w!=="parseTransform"){qx(w,x);continue}O||(w in f?B.push(w,0,f[w]):typeof t[w]=="function"?B.push(w,2,t[w]()):B.push(w,1,m||t[w])),d.push(w)}}P&&oS(this)},render:function(t,r){if(r.tween._time||!Jx())for(var n=r._pt;n;)n.r(t,n.d),n=n._next;else r.styles.revert()},get:br,aliases:Yn,getSetter:function(t,r,n){var o=Yn[r];return o&&o.indexOf(",")<0&&(r=o),r in Tr&&r!==oa&&(t._gsap.x||br(t,"x"))?n&&f2===n?r==="scale"?_A:SA:(f2=n||{})&&(r==="scale"?jA:CA):t.style&&!Ux(t.style[r])?wA:~r.indexOf("-")?NA:Kx(t,r)},core:{_removeProperty:xi,_getMatrix:t0}};la.utils.checkPrefix=Mc;la.core.getStyleSaver=fS;(function(a,t,r,n){var o=ra(a+","+t+","+r,function(l){Tr[l]=1});ra(t,function(l){Da.units[l]="deg",gS[l]=1}),Yn[o[13]]=a+","+t,ra(n,function(l){var d=l.split(":");Yn[d[1]]=o[d[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");ra("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(a){Da.units[a]="px"});la.registerPlugin(vS);var nt=la.registerPlugin(vS)||la;nt.core.Tween;function LA(){const a=v.useRef(null),t=v.useRef(null),r=v.useRef(null),n=v.useRef(null),o=v.useRef(null),l=v.useRef(null);return v.useEffect(()=>{const d=nt.context(()=>{nt.fromTo(t.current,{opacity:0,y:50},{opacity:1,y:0,duration:.8,ease:"power3.out",delay:.2}),nt.fromTo(r.current,{opacity:0,x:-30},{opacity:1,x:0,duration:.6,ease:"power2.out",delay:.4}),nt.fromTo(n.current,{opacity:0,y:20},{opacity:1,y:0,duration:.6,ease:"power2.out",delay:.6}),nt.fromTo(o.current,{opacity:0,scale:1.1,filter:"blur(10px)"},{opacity:1,scale:1,filter:"blur(0px)",duration:1.2,ease:"power2.out",delay:0}),nt.fromTo(l.current,{opacity:0,rotateX:90},{opacity:1,rotateX:0,duration:.8,ease:"power3.out",delay:.8})},a);return()=>d.revert()},[]),c.jsxs("section",{"code-path":"src/sections/HeroSection.tsx:57:5",ref:a,className:"relative min-h-screen flex items-center overflow-hidden",children:[c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:62:7",className:"absolute inset-0 bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url(/images/banner/hero-bg.jpg)"}}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:68:7",className:"absolute inset-0 bg-gradient-to-r from-white/90 via-white/70 to-transparent"}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:71:7",className:"absolute inset-0 grid-pattern opacity-30"}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:74:7",className:"absolute inset-0 overflow-hidden pointer-events-none",children:[...Array(6)].map((d,f)=>c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:76:11",className:"absolute animate-float",style:{left:`${15+f*15}%`,top:`${20+f%3*25}%`,animationDelay:`${f*.5}s`},children:c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:85:13",className:"w-3 h-3 bg-gradient-to-r from-[#0ea5e9] to-[#10b981] rounded-full opacity-40"})},f))}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:90:7",className:"section-padding w-full pt-20",children:c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:91:9",className:"grid lg:grid-cols-2 gap-12 lg:gap-8 items-center",children:[c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:93:11",className:"relative z-10 space-y-8",children:[c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:94:13",className:"inline-flex items-center gap-2 px-4 py-2 bg-gradient-to-r from-cyan-100 to-emerald-100 rounded-full",children:[c.jsx("span",{"code-path":"src/sections/HeroSection.tsx:95:15",className:"w-2 h-2 bg-gradient-to-r from-[#0ea5e9] to-[#10b981] rounded-full animate-pulse"}),c.jsx("span",{"code-path":"src/sections/HeroSection.tsx:96:15",className:"text-sm font-medium bg-gradient-to-r from-[#0ea5e9] to-[#10b981] bg-clip-text text-transparent",children:"专业细胞分选技术"})]}),c.jsxs("h1",{"code-path":"src/sections/HeroSection.tsx:99:13",ref:t,className:"text-4xl sm:text-5xl lg:text-6xl font-bold text-gray-900 leading-tight",children:["细胞分选",c.jsx("span",{"code-path":"src/sections/HeroSection.tsx:104:15",className:"bg-gradient-to-r from-[#0ea5e9] to-[#10b981] bg-clip-text text-transparent",children:"技术"}),c.jsx("br",{"code-path":"src/sections/HeroSection.tsx:105:15"}),"解决方案"]}),c.jsx("p",{"code-path":"src/sections/HeroSection.tsx:109:13",ref:r,className:"text-lg text-gray-600 max-w-xl leading-relaxed",children:"用于研发的下一代细胞分离解决方案。精准、高效、可扩展。 为全球生命科学研究提供高品质的细胞分选产品和服务。"}),c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:117:13",ref:n,className:"flex flex-wrap gap-4",children:[c.jsx(fe,{"code-path":"src/sections/HeroSection.tsx:118:15",to:"/solutions",children:c.jsxs($e,{"code-path":"src/sections/HeroSection.tsx:119:17",className:"btn-primary gap-2 text-base",children:["探索解决方案",c.jsx(Is,{"code-path":"src/sections/HeroSection.tsx:121:19",className:"w-5 h-5"})]})}),c.jsx(fe,{"code-path":"src/sections/HeroSection.tsx:124:15",to:"/products",children:c.jsxs($e,{"code-path":"src/sections/HeroSection.tsx:125:17",className:"btn-secondary gap-2 text-base",children:[c.jsx(Jw,{"code-path":"src/sections/HeroSection.tsx:126:19",className:"w-5 h-5"}),"查看产品"]})})]}),c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:133:13",className:"flex gap-8 pt-8 border-t border-gray-200",children:[c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:134:15",children:[c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:135:17",className:"text-3xl font-bold bg-gradient-to-r from-[#0ea5e9] to-[#10b981] bg-clip-text text-transparent",children:"99.9%"}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:136:17",className:"text-sm text-gray-500",children:"分选纯度"})]}),c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:138:15",children:[c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:139:17",className:"text-3xl font-bold bg-gradient-to-r from-[#0ea5e9] to-[#10b981] bg-clip-text text-transparent",children:"500+"}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:140:17",className:"text-sm text-gray-500",children:"合作机构"})]}),c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:142:15",children:[c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:143:17",className:"text-3xl font-bold bg-gradient-to-r from-[#0ea5e9] to-[#10b981] bg-clip-text text-transparent",children:"10+"}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:144:17",className:"text-sm text-gray-500",children:"年专业经验"})]})]})]}),c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:150:11",className:"relative lg:h-[600px] flex items-center justify-center",children:[c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:152:13",ref:o,className:"relative z-10 w-full max-w-md lg:max-w-lg",children:[c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:156:15",className:"relative aspect-[4/5] rounded-2xl overflow-hidden shadow-2xl shadow-blue-500/20",children:[c.jsx("img",{"code-path":"src/sections/HeroSection.tsx:157:17",src:"/images/hero-scientist.jpg",alt:"Scientist in laboratory",className:"w-full h-full object-cover"}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:162:17",className:"absolute inset-0 bg-gradient-to-t from-[#0064ff]/20 to-transparent"})]}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:166:15",className:"absolute -top-4 -right-4 w-16 h-16 bg-white rounded-xl shadow-lg flex items-center justify-center animate-float",children:c.jsx(un,{"code-path":"src/sections/HeroSection.tsx:167:17",className:"w-8 h-8 text-[#0ea5e9]"})}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:169:15",className:"absolute -bottom-4 -left-4 w-16 h-16 bg-white rounded-xl shadow-lg flex items-center justify-center animate-float",style:{animationDelay:"1s"},children:c.jsx(ca,{"code-path":"src/sections/HeroSection.tsx:170:17",className:"w-8 h-8 text-[#10b981]"})})]}),c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:175:13",ref:l,className:"absolute bottom-8 right-0 lg:right-8 z-20 w-64 bg-white rounded-xl shadow-xl p-4",style:{perspective:"1000px"},children:[c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:180:15",className:"flex items-start gap-3",children:[c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:181:17",className:"w-12 h-12 bg-gradient-to-br from-purple-500 to-pink-500 rounded-lg flex items-center justify-center flex-shrink-0",children:c.jsx(wE,{"code-path":"src/sections/HeroSection.tsx:182:19",className:"w-6 h-6 text-white"})}),c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:184:17",children:[c.jsx("h4",{"code-path":"src/sections/HeroSection.tsx:185:19",className:"font-semibold text-gray-900",children:"细胞分离"}),c.jsx("p",{"code-path":"src/sections/HeroSection.tsx:186:19",className:"text-sm text-gray-500 mt-1",children:"高纯度、高活性的细胞分选技术"})]})]}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:189:15",className:"mt-3 pt-3 border-t border-gray-100",children:c.jsxs("div",{"code-path":"src/sections/HeroSection.tsx:190:17",className:"flex items-center justify-between text-sm",children:[c.jsx("span",{"code-path":"src/sections/HeroSection.tsx:191:19",className:"text-gray-500",children:"成功率"}),c.jsx("span",{"code-path":"src/sections/HeroSection.tsx:192:19",className:"font-semibold bg-gradient-to-r from-[#0ea5e9] to-[#10b981] bg-clip-text text-transparent",children:"98.5%"})]})})]}),c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:198:13",className:"absolute inset-0 flex items-center justify-center pointer-events-none",children:c.jsx("div",{"code-path":"src/sections/HeroSection.tsx:199:15",className:"w-[500px] h-[500px] bg-gradient-to-r from-[#0ea5e9]/10 to-[#10b981]/10 rounded-full blur-3xl"})})]})]})})]})}function HA(a,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(a,n.key,n)}}function UA(a,t,r){return t&&HA(a.prototype,t),a}var vs,Cf,Ea,ui,di,bc,bS,Xi,Wl,wS,Nr,yn,NS,SS=function(){return vs||typeof window<"u"&&(vs=window.gsap)&&vs.registerPlugin&&vs},_S=1,pc=[],Ge=[],Vn=[],Jl=Date.now,ox=function(t,r){return r},BA=function(){var t=Wl.core,r=t.bridge||{},n=t._scrollers,o=t._proxies;n.push.apply(n,Ge),o.push.apply(o,Vn),Ge=n,Vn=o,ox=function(d,f){return r[d](f)}},mi=function(t,r){return~Vn.indexOf(t)&&Vn[Vn.indexOf(t)+1][r]},eu=function(t){return!!~wS.indexOf(t)},Hs=function(t,r,n,o,l){return t.addEventListener(r,n,{passive:o!==!1,capture:!!l})},Ls=function(t,r,n,o){return t.removeEventListener(r,n,!!o)},Wd="scrollLeft",Jd="scrollTop",cx=function(){return Nr&&Nr.isPressed||Ge.cache++},Xf=function(t,r){var n=function o(l){if(l||l===0){_S&&(Ea.history.scrollRestoration="manual");var d=Nr&&Nr.isPressed;l=o.v=Math.round(l)||(Nr&&Nr.iOS?1:0),t(l),o.cacheID=Ge.cache,d&&ox("ss",l)}else(r||Ge.cache!==o.cacheID||ox("ref"))&&(o.cacheID=Ge.cache,o.v=t());return o.v+o.offset};return n.offset=0,t&&n},Gs={s:Wd,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:Xf(function(a){return arguments.length?Ea.scrollTo(a,os.sc()):Ea.pageXOffset||ui[Wd]||di[Wd]||bc[Wd]||0})},os={s:Jd,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:Gs,sc:Xf(function(a){return arguments.length?Ea.scrollTo(Gs.sc(),a):Ea.pageYOffset||ui[Jd]||di[Jd]||bc[Jd]||0})},ta=function(t,r){return(r&&r._ctx&&r._ctx.selector||vs.utils.toArray)(t)[0]||(typeof t=="string"&&vs.config().nullTargetWarn!==!1?console.warn("Element not found:",t):null)},YA=function(t,r){for(var n=r.length;n--;)if(r[n]===t||r[n].contains(t))return!0;return!1},vi=function(t,r){var n=r.s,o=r.sc;eu(t)&&(t=ui.scrollingElement||di);var l=Ge.indexOf(t),d=o===os.sc?1:2;!~l&&(l=Ge.push(t)-1),Ge[l+d]||Hs(t,"scroll",cx);var f=Ge[l+d],h=f||(Ge[l+d]=Xf(mi(t,n),!0)||(eu(t)?o:Xf(function(m){return arguments.length?t[n]=m:t[n]})));return h.target=t,f||(h.smooth=vs.getProperty(t,"scrollBehavior")==="smooth"),h},lx=function(t,r,n){var o=t,l=t,d=Jl(),f=d,h=r||50,m=Math.max(500,h*3),x=function(j,w){var _=Jl();w||_-d>h?(l=o,o=j,f=d,d=_):n?o+=j:o=l+(j-l)/(_-f)*(d-f)},y=function(){l=o=n?0:o,f=d=0},N=function(j){var w=f,_=l,D=Jl();return(j||j===0)&&j!==o&&x(j),d===f||D-f>m?0:(o+(n?_:-_))/((n?D:d)-w)*1e3};return{update:x,reset:y,getVelocity:N}},Ul=function(t,r){return r&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},w2=function(t){var r=Math.max.apply(Math,t),n=Math.min.apply(Math,t);return Math.abs(r)>=Math.abs(n)?r:n},jS=function(){Wl=vs.core.globals().ScrollTrigger,Wl&&Wl.core&&BA()},CS=function(t){return vs=t||SS(),!Cf&&vs&&typeof document<"u"&&document.body&&(Ea=window,ui=document,di=ui.documentElement,bc=ui.body,wS=[Ea,ui,di,bc],vs.utils.clamp,NS=vs.core.context||function(){},Xi="onpointerenter"in bc?"pointer":"mouse",bS=Xt.isTouch=Ea.matchMedia&&Ea.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in Ea||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,yn=Xt.eventTypes=("ontouchstart"in di?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in di?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return _S=0},500),jS(),Cf=1),Cf};Gs.op=os;Ge.cache=0;var Xt=(function(){function a(r){this.init(r)}var t=a.prototype;return t.init=function(n){Cf||CS(vs)||console.warn("Please gsap.registerPlugin(Observer)"),Wl||jS();var o=n.tolerance,l=n.dragMinimum,d=n.type,f=n.target,h=n.lineHeight,m=n.debounce,x=n.preventDefault,y=n.onStop,N=n.onStopDelay,S=n.ignore,j=n.wheelSpeed,w=n.event,_=n.onDragStart,D=n.onDragEnd,M=n.onDrag,O=n.onPress,k=n.onRelease,L=n.onRight,Y=n.onLeft,P=n.onUp,B=n.onDown,V=n.onChangeX,K=n.onChangeY,re=n.onChange,J=n.onToggleX,ce=n.onToggleY,oe=n.onHover,ie=n.onHoverEnd,U=n.onMove,F=n.ignoreCheck,T=n.isNormalizer,R=n.onGestureStart,E=n.onGestureEnd,A=n.onWheel,G=n.onEnable,se=n.onDisable,ae=n.onClick,de=n.scrollSpeed,pe=n.capture,ne=n.allowClicks,ke=n.lockAxis,Ee=n.onLockAxis;this.target=f=ta(f)||di,this.vars=n,S&&(S=vs.utils.toArray(S)),o=o||1e-9,l=l||0,j=j||1,de=de||1,d=d||"wheel,touch,pointer",m=m!==!1,h||(h=parseFloat(Ea.getComputedStyle(bc).lineHeight)||22);var qt,mt,gt,Re,rt,ls,hs,Z=this,Ss=0,ua=0,Ha=n.passive||!x&&n.passive!==!1,xt=vi(f,Gs),fn=vi(f,os),Cn=xt(),Gt=fn(),Qt=~d.indexOf("touch")&&!~d.indexOf("pointer")&&yn[0]==="pointerdown",pn=eu(f),St=f.ownerDocument||ui,_s=[0,0,0],Fs=[0,0,0],Ua=0,ji=function(){return Ua=Jl()},zt=function(ve,We){return(Z.event=ve)&&S&&YA(ve.target,S)||We&&Qt&&ve.pointerType!=="touch"||F&&F(ve,We)},En=function(){Z._vx.reset(),Z._vy.reset(),mt.pause(),y&&y(Z)},At=function(){var ve=Z.deltaX=w2(_s),We=Z.deltaY=w2(Fs),le=Math.abs(ve)>=o,je=Math.abs(We)>=o;re&&(le||je)&&re(Z,ve,We,_s,Fs),le&&(L&&Z.deltaX>0&&L(Z),Y&&Z.deltaX<0&&Y(Z),V&&V(Z),J&&Z.deltaX<0!=Ss<0&&J(Z),Ss=Z.deltaX,_s[0]=_s[1]=_s[2]=0),je&&(B&&Z.deltaY>0&&B(Z),P&&Z.deltaY<0&&P(Z),K&&K(Z),ce&&Z.deltaY<0!=ua<0&&ce(Z),ua=Z.deltaY,Fs[0]=Fs[1]=Fs[2]=0),(Re||gt)&&(U&&U(Z),gt&&(_&&gt===1&&_(Z),M&&M(Z),gt=0),Re=!1),ls&&!(ls=!1)&&Ee&&Ee(Z),rt&&(A(Z),rt=!1),qt=0},Os=function(ve,We,le){_s[le]+=ve,Fs[le]+=We,Z._vx.update(ve),Z._vy.update(We),m?qt||(qt=requestAnimationFrame(At)):At()},Kt=function(ve,We){ke&&!hs&&(Z.axis=hs=Math.abs(ve)>Math.abs(We)?"x":"y",ls=!0),hs!=="y"&&(_s[2]+=ve,Z._vx.update(ve,!0)),hs!=="x"&&(Fs[2]+=We,Z._vy.update(We,!0)),m?qt||(qt=requestAnimationFrame(At)):At()},Tn=function(ve){if(!zt(ve,1)){ve=Ul(ve,x);var We=ve.clientX,le=ve.clientY,je=We-Z.x,be=le-Z.y,Se=Z.isDragging;Z.x=We,Z.y=le,(Se||(je||be)&&(Math.abs(Z.startX-We)>=l||Math.abs(Z.startY-le)>=l))&&(gt||(gt=Se?2:1),Se||(Z.isDragging=!0),Kt(je,be))}},Jn=Z.onPress=function(_e){zt(_e,1)||_e&&_e.button||(Z.axis=hs=null,mt.pause(),Z.isPressed=!0,_e=Ul(_e),Ss=ua=0,Z.startX=Z.x=_e.clientX,Z.startY=Z.y=_e.clientY,Z._vx.reset(),Z._vy.reset(),Hs(T?f:St,yn[1],Tn,Ha,!0),Z.deltaX=Z.deltaY=0,O&&O(Z))},ze=Z.onRelease=function(_e){if(!zt(_e,1)){Ls(T?f:St,yn[1],Tn,!0);var ve=!isNaN(Z.y-Z.startY),We=Z.isDragging,le=We&&(Math.abs(Z.x-Z.startX)>3||Math.abs(Z.y-Z.startY)>3),je=Ul(_e);!le&&ve&&(Z._vx.reset(),Z._vy.reset(),x&&ne&&vs.delayedCall(.08,function(){if(Jl()-Ua>300&&!_e.defaultPrevented){if(_e.target.click)_e.target.click();else if(St.createEvent){var be=St.createEvent("MouseEvents");be.initMouseEvent("click",!0,!0,Ea,1,je.screenX,je.screenY,je.clientX,je.clientY,!1,!1,!1,!1,0,null),_e.target.dispatchEvent(be)}}})),Z.isDragging=Z.isGesturing=Z.isPressed=!1,y&&We&&!T&&mt.restart(!0),gt&&At(),D&&We&&D(Z),k&&k(Z,le)}},Ba=function(ve){return ve.touches&&ve.touches.length>1&&(Z.isGesturing=!0)&&R(ve,Z.isDragging)},js=function(){return(Z.isGesturing=!1)||E(Z)},Cs=function(ve){if(!zt(ve)){var We=xt(),le=fn();Os((We-Cn)*de,(le-Gt)*de,1),Cn=We,Gt=le,y&&mt.restart(!0)}},as=function(ve){if(!zt(ve)){ve=Ul(ve,x),A&&(rt=!0);var We=(ve.deltaMode===1?h:ve.deltaMode===2?Ea.innerHeight:1)*j;Os(ve.deltaX*We,ve.deltaY*We,0),y&&!T&&mt.restart(!0)}},Ya=function(ve){if(!zt(ve)){var We=ve.clientX,le=ve.clientY,je=We-Z.x,be=le-Z.y;Z.x=We,Z.y=le,Re=!0,y&&mt.restart(!0),(je||be)&&Kt(je,be)}},qa=function(ve){Z.event=ve,oe(Z)},hn=function(ve){Z.event=ve,ie(Z)},Or=function(ve){return zt(ve)||Ul(ve,x)&&ae(Z)};mt=Z._dc=vs.delayedCall(N||.25,En).pause(),Z.deltaX=Z.deltaY=0,Z._vx=lx(0,50,!0),Z._vy=lx(0,50,!0),Z.scrollX=xt,Z.scrollY=fn,Z.isDragging=Z.isGesturing=Z.isPressed=!1,NS(this),Z.enable=function(_e){return Z.isEnabled||(Hs(pn?St:f,"scroll",cx),d.indexOf("scroll")>=0&&Hs(pn?St:f,"scroll",Cs,Ha,pe),d.indexOf("wheel")>=0&&Hs(f,"wheel",as,Ha,pe),(d.indexOf("touch")>=0&&bS||d.indexOf("pointer")>=0)&&(Hs(f,yn[0],Jn,Ha,pe),Hs(St,yn[2],ze),Hs(St,yn[3],ze),ne&&Hs(f,"click",ji,!0,!0),ae&&Hs(f,"click",Or),R&&Hs(St,"gesturestart",Ba),E&&Hs(St,"gestureend",js),oe&&Hs(f,Xi+"enter",qa),ie&&Hs(f,Xi+"leave",hn),U&&Hs(f,Xi+"move",Ya)),Z.isEnabled=!0,Z.isDragging=Z.isGesturing=Z.isPressed=Re=gt=!1,Z._vx.reset(),Z._vy.reset(),Cn=xt(),Gt=fn(),_e&&_e.type&&Jn(_e),G&&G(Z)),Z},Z.disable=function(){Z.isEnabled&&(pc.filter(function(_e){return _e!==Z&&eu(_e.target)}).length||Ls(pn?St:f,"scroll",cx),Z.isPressed&&(Z._vx.reset(),Z._vy.reset(),Ls(T?f:St,yn[1],Tn,!0)),Ls(pn?St:f,"scroll",Cs,pe),Ls(f,"wheel",as,pe),Ls(f,yn[0],Jn,pe),Ls(St,yn[2],ze),Ls(St,yn[3],ze),Ls(f,"click",ji,!0),Ls(f,"click",Or),Ls(St,"gesturestart",Ba),Ls(St,"gestureend",js),Ls(f,Xi+"enter",qa),Ls(f,Xi+"leave",hn),Ls(f,Xi+"move",Ya),Z.isEnabled=Z.isPressed=Z.isDragging=!1,se&&se(Z))},Z.kill=Z.revert=function(){Z.disable();var _e=pc.indexOf(Z);_e>=0&&pc.splice(_e,1),Nr===Z&&(Nr=0)},pc.push(Z),T&&eu(f)&&(Nr=Z),Z.enable(w)},UA(a,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),a})();Xt.version="3.14.2";Xt.create=function(a){return new Xt(a)};Xt.register=CS;Xt.getAll=function(){return pc.slice()};Xt.getById=function(a){return pc.filter(function(t){return t.vars.id===a})[0]};SS()&&vs.registerPlugin(Xt);var me,lc,qe,yt,Sa,at,s0,Qf,yu,tu,Gl,ef,Ts,xp,ux,Bs,N2,S2,uc,ES,hg,TS,Us,dx,AS,DS,ri,fx,a0,wc,n0,su,px,mg,tf=1,As=Date.now,gg=As(),cn=0,Il=0,_2=function(t,r,n){var o=wa(t)&&(t.substr(0,6)==="clamp("||t.indexOf("max")>-1);return n["_"+r+"Clamp"]=o,o?t.substr(6,t.length-7):t},j2=function(t,r){return r&&(!wa(t)||t.substr(0,6)!=="clamp(")?"clamp("+t+")":t},qA=function a(){return Il&&requestAnimationFrame(a)},C2=function(){return xp=1},E2=function(){return xp=0},Hn=function(t){return t},Vl=function(t){return Math.round(t*1e5)/1e5||0},MS=function(){return typeof window<"u"},RS=function(){return me||MS()&&(me=window.gsap)&&me.registerPlugin&&me},oo=function(t){return!!~s0.indexOf(t)},OS=function(t){return(t==="Height"?n0:qe["inner"+t])||Sa["client"+t]||at["client"+t]},kS=function(t){return mi(t,"getBoundingClientRect")||(oo(t)?function(){return Mf.width=qe.innerWidth,Mf.height=n0,Mf}:function(){return wr(t)})},GA=function(t,r,n){var o=n.d,l=n.d2,d=n.a;return(d=mi(t,"getBoundingClientRect"))?function(){return d()[o]}:function(){return(r?OS(l):t["client"+l])||0}},IA=function(t,r){return!r||~Vn.indexOf(t)?kS(t):function(){return Mf}},qn=function(t,r){var n=r.s,o=r.d2,l=r.d,d=r.a;return Math.max(0,(n="scroll"+o)&&(d=mi(t,n))?d()-kS(t)()[l]:oo(t)?(Sa[n]||at[n])-OS(o):t[n]-t["offset"+o])},sf=function(t,r){for(var n=0;n<uc.length;n+=3)(!r||~r.indexOf(uc[n+1]))&&t(uc[n],uc[n+1],uc[n+2])},wa=function(t){return typeof t=="string"},Ms=function(t){return typeof t=="function"},$l=function(t){return typeof t=="number"},Qi=function(t){return typeof t=="object"},Bl=function(t,r,n){return t&&t.progress(r?0:1)&&n&&t.pause()},xg=function(t,r){if(t.enabled){var n=t._ctx?t._ctx.add(function(){return r(t)}):r(t);n&&n.totalTime&&(t.callbackAnimation=n)}},ac=Math.abs,PS="left",zS="top",r0="right",i0="bottom",so="width",ao="height",au="Right",nu="Left",ru="Top",iu="Bottom",ts="padding",an="margin",Rc="Width",o0="Height",is="px",nn=function(t){return qe.getComputedStyle(t)},VA=function(t){var r=nn(t).position;t.style.position=r==="absolute"||r==="fixed"?r:"relative"},T2=function(t,r){for(var n in r)n in t||(t[n]=r[n]);return t},wr=function(t,r){var n=r&&nn(t)[ux]!=="matrix(1, 0, 0, 1, 0, 0)"&&me.to(t,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),o=t.getBoundingClientRect();return n&&n.progress(0).kill(),o},Kf=function(t,r){var n=r.d2;return t["offset"+n]||t["client"+n]||0},LS=function(t){var r=[],n=t.labels,o=t.duration(),l;for(l in n)r.push(n[l]/o);return r},$A=function(t){return function(r){return me.utils.snap(LS(t),r)}},c0=function(t){var r=me.utils.snap(t),n=Array.isArray(t)&&t.slice(0).sort(function(o,l){return o-l});return n?function(o,l,d){d===void 0&&(d=.001);var f;if(!l)return r(o);if(l>0){for(o-=d,f=0;f<n.length;f++)if(n[f]>=o)return n[f];return n[f-1]}else for(f=n.length,o+=d;f--;)if(n[f]<=o)return n[f];return n[0]}:function(o,l,d){d===void 0&&(d=.001);var f=r(o);return!l||Math.abs(f-o)<d||f-o<0==l<0?f:r(l<0?o-t:o+t)}},FA=function(t){return function(r,n){return c0(LS(t))(r,n.direction)}},af=function(t,r,n,o){return n.split(",").forEach(function(l){return t(r,l,o)})},fs=function(t,r,n,o,l){return t.addEventListener(r,n,{passive:!o,capture:!!l})},ds=function(t,r,n,o){return t.removeEventListener(r,n,!!o)},nf=function(t,r,n){n=n&&n.wheelHandler,n&&(t(r,"wheel",n),t(r,"touchmove",n))},A2={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},rf={toggleActions:"play",anticipatePin:0},Zf={top:0,left:0,center:.5,bottom:1,right:1},Ef=function(t,r){if(wa(t)){var n=t.indexOf("="),o=~n?+(t.charAt(n-1)+1)*parseFloat(t.substr(n+1)):0;~n&&(t.indexOf("%")>n&&(o*=r/100),t=t.substr(0,n-1)),t=o+(t in Zf?Zf[t]*r:~t.indexOf("%")?parseFloat(t)*r/100:parseFloat(t)||0)}return t},of=function(t,r,n,o,l,d,f,h){var m=l.startColor,x=l.endColor,y=l.fontSize,N=l.indent,S=l.fontWeight,j=yt.createElement("div"),w=oo(n)||mi(n,"pinType")==="fixed",_=t.indexOf("scroller")!==-1,D=w?at:n,M=t.indexOf("start")!==-1,O=M?m:x,k="border-color:"+O+";font-size:"+y+";color:"+O+";font-weight:"+S+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return k+="position:"+((_||h)&&w?"fixed;":"absolute;"),(_||h||!w)&&(k+=(o===os?r0:i0)+":"+(d+parseFloat(N))+"px;"),f&&(k+="box-sizing:border-box;text-align:left;width:"+f.offsetWidth+"px;"),j._isStart=M,j.setAttribute("class","gsap-marker-"+t+(r?" marker-"+r:"")),j.style.cssText=k,j.innerText=r||r===0?t+"-"+r:t,D.children[0]?D.insertBefore(j,D.children[0]):D.appendChild(j),j._offset=j["offset"+o.op.d2],Tf(j,0,o,M),j},Tf=function(t,r,n,o){var l={display:"block"},d=n[o?"os2":"p2"],f=n[o?"p2":"os2"];t._isFlipped=o,l[n.a+"Percent"]=o?-100:0,l[n.a]=o?"1px":0,l["border"+d+Rc]=1,l["border"+f+Rc]=0,l[n.p]=r+"px",me.set(t,l)},Ue=[],hx={},vu,D2=function(){return As()-cn>34&&(vu||(vu=requestAnimationFrame(Sr)))},nc=function(){(!Us||!Us.isPressed||Us.startX>at.clientWidth)&&(Ge.cache++,Us?vu||(vu=requestAnimationFrame(Sr)):Sr(),cn||lo("scrollStart"),cn=As())},yg=function(){DS=qe.innerWidth,AS=qe.innerHeight},Fl=function(t){Ge.cache++,(t===!0||!Ts&&!TS&&!yt.fullscreenElement&&!yt.webkitFullscreenElement&&(!dx||DS!==qe.innerWidth||Math.abs(qe.innerHeight-AS)>qe.innerHeight*.25))&&Qf.restart(!0)},co={},XA=[],HS=function a(){return ds(Ce,"scrollEnd",a)||Zi(!0)},lo=function(t){return co[t]&&co[t].map(function(r){return r()})||XA},ba=[],US=function(t){for(var r=0;r<ba.length;r+=5)(!t||ba[r+4]&&ba[r+4].query===t)&&(ba[r].style.cssText=ba[r+1],ba[r].getBBox&&ba[r].setAttribute("transform",ba[r+2]||""),ba[r+3].uncache=1)},BS=function(){return Ge.forEach(function(t){return Ms(t)&&++t.cacheID&&(t.rec=t())})},l0=function(t,r){var n;for(Bs=0;Bs<Ue.length;Bs++)n=Ue[Bs],n&&(!r||n._ctx===r)&&(t?n.kill(1):n.revert(!0,!0));su=!0,r&&US(r),r||lo("revert")},YS=function(t,r){Ge.cache++,(r||!Ys)&&Ge.forEach(function(n){return Ms(n)&&n.cacheID++&&(n.rec=0)}),wa(t)&&(qe.history.scrollRestoration=a0=t)},Ys,no=0,M2,QA=function(){if(M2!==no){var t=M2=no;requestAnimationFrame(function(){return t===no&&Zi(!0)})}},qS=function(){at.appendChild(wc),n0=!Us&&wc.offsetHeight||qe.innerHeight,at.removeChild(wc)},R2=function(t){return yu(".gsap-marker-start, .gsap-marker-end, .gsap-marker-scroller-start, .gsap-marker-scroller-end").forEach(function(r){return r.style.display=t?"none":"block"})},Zi=function(t,r){if(Sa=yt.documentElement,at=yt.body,s0=[qe,yt,Sa,at],cn&&!t&&!su){fs(Ce,"scrollEnd",HS);return}qS(),Ys=Ce.isRefreshing=!0,su||BS();var n=lo("refreshInit");ES&&Ce.sort(),r||l0(),Ge.forEach(function(o){Ms(o)&&(o.smooth&&(o.target.style.scrollBehavior="auto"),o(0))}),Ue.slice(0).forEach(function(o){return o.refresh()}),su=!1,Ue.forEach(function(o){if(o._subPinOffset&&o.pin){var l=o.vars.horizontal?"offsetWidth":"offsetHeight",d=o.pin[l];o.revert(!0,1),o.adjustPinSpacing(o.pin[l]-d),o.refresh()}}),px=1,R2(!0),Ue.forEach(function(o){var l=qn(o.scroller,o._dir),d=o.vars.end==="max"||o._endClamp&&o.end>l,f=o._startClamp&&o.start>=l;(d||f)&&o.setPositions(f?l-1:o.start,d?Math.max(f?l:o.start+1,l):o.end,!0)}),R2(!1),px=0,n.forEach(function(o){return o&&o.render&&o.render(-1)}),Ge.forEach(function(o){Ms(o)&&(o.smooth&&requestAnimationFrame(function(){return o.target.style.scrollBehavior="smooth"}),o.rec&&o(o.rec))}),YS(a0,1),Qf.pause(),no++,Ys=2,Sr(2),Ue.forEach(function(o){return Ms(o.vars.onRefresh)&&o.vars.onRefresh(o)}),Ys=Ce.isRefreshing=!1,lo("refresh")},mx=0,Af=1,ou,Sr=function(t){if(t===2||!Ys&&!su){Ce.isUpdating=!0,ou&&ou.update(0);var r=Ue.length,n=As(),o=n-gg>=50,l=r&&Ue[0].scroll();if(Af=mx>l?-1:1,Ys||(mx=l),o&&(cn&&!xp&&n-cn>200&&(cn=0,lo("scrollEnd")),Gl=gg,gg=n),Af<0){for(Bs=r;Bs-- >0;)Ue[Bs]&&Ue[Bs].update(0,o);Af=1}else for(Bs=0;Bs<r;Bs++)Ue[Bs]&&Ue[Bs].update(0,o);Ce.isUpdating=!1}vu=0},gx=[PS,zS,i0,r0,an+iu,an+au,an+ru,an+nu,"display","flexShrink","float","zIndex","gridColumnStart","gridColumnEnd","gridRowStart","gridRowEnd","gridArea","justifySelf","alignSelf","placeSelf","order"],Df=gx.concat([so,ao,"boxSizing","max"+Rc,"max"+o0,"position",an,ts,ts+ru,ts+au,ts+iu,ts+nu]),KA=function(t,r,n){Nc(n);var o=t._gsap;if(o.spacerIsNative)Nc(o.spacerState);else if(t._gsap.swappedIn){var l=r.parentNode;l&&(l.insertBefore(t,r),l.removeChild(r))}t._gsap.swappedIn=!1},vg=function(t,r,n,o){if(!t._gsap.swappedIn){for(var l=gx.length,d=r.style,f=t.style,h;l--;)h=gx[l],d[h]=n[h];d.position=n.position==="absolute"?"absolute":"relative",n.display==="inline"&&(d.display="inline-block"),f[i0]=f[r0]="auto",d.flexBasis=n.flexBasis||"auto",d.overflow="visible",d.boxSizing="border-box",d[so]=Kf(t,Gs)+is,d[ao]=Kf(t,os)+is,d[ts]=f[an]=f[zS]=f[PS]="0",Nc(o),f[so]=f["max"+Rc]=n[so],f[ao]=f["max"+o0]=n[ao],f[ts]=n[ts],t.parentNode!==r&&(t.parentNode.insertBefore(r,t),r.appendChild(t)),t._gsap.swappedIn=!0}},ZA=/([A-Z])/g,Nc=function(t){if(t){var r=t.t.style,n=t.length,o=0,l,d;for((t.t._gsap||me.core.getCache(t.t)).uncache=1;o<n;o+=2)d=t[o+1],l=t[o],d?r[l]=d:r[l]&&r.removeProperty(l.replace(ZA,"-$1").toLowerCase())}},cf=function(t){for(var r=Df.length,n=t.style,o=[],l=0;l<r;l++)o.push(Df[l],n[Df[l]]);return o.t=t,o},WA=function(t,r,n){for(var o=[],l=t.length,d=n?8:0,f;d<l;d+=2)f=t[d],o.push(f,f in r?r[f]:t[d+1]);return o.t=t.t,o},Mf={left:0,top:0},O2=function(t,r,n,o,l,d,f,h,m,x,y,N,S,j){Ms(t)&&(t=t(h)),wa(t)&&t.substr(0,3)==="max"&&(t=N+(t.charAt(4)==="="?Ef("0"+t.substr(3),n):0));var w=S?S.time():0,_,D,M;if(S&&S.seek(0),isNaN(t)||(t=+t),$l(t))S&&(t=me.utils.mapRange(S.scrollTrigger.start,S.scrollTrigger.end,0,N,t)),f&&Tf(f,n,o,!0);else{Ms(r)&&(r=r(h));var O=(t||"0").split(" "),k,L,Y,P;M=ta(r,h)||at,k=wr(M)||{},(!k||!k.left&&!k.top)&&nn(M).display==="none"&&(P=M.style.display,M.style.display="block",k=wr(M),P?M.style.display=P:M.style.removeProperty("display")),L=Ef(O[0],k[o.d]),Y=Ef(O[1]||"0",n),t=k[o.p]-m[o.p]-x+L+l-Y,f&&Tf(f,Y,o,n-Y<20||f._isStart&&Y>20),n-=n-Y}if(j&&(h[j]=t||-.001,t<0&&(t=0)),d){var B=t+n,V=d._isStart;_="scroll"+o.d2,Tf(d,B,o,V&&B>20||!V&&(y?Math.max(at[_],Sa[_]):d.parentNode[_])<=B+1),y&&(m=wr(f),y&&(d.style[o.op.p]=m[o.op.p]-o.op.m-d._offset+is))}return S&&M&&(_=wr(M),S.seek(N),D=wr(M),S._caScrollDist=_[o.p]-D[o.p],t=t/S._caScrollDist*N),S&&S.seek(w),S?t:Math.round(t)},JA=/(webkit|moz|length|cssText|inset)/i,k2=function(t,r,n,o){if(t.parentNode!==r){var l=t.style,d,f;if(r===at){t._stOrig=l.cssText,f=nn(t);for(d in f)!+d&&!JA.test(d)&&f[d]&&typeof l[d]=="string"&&d!=="0"&&(l[d]=f[d]);l.top=n,l.left=o}else l.cssText=t._stOrig;me.core.getCache(t).uncache=1,r.appendChild(t)}},GS=function(t,r,n){var o=r,l=o;return function(d){var f=Math.round(t());return f!==o&&f!==l&&Math.abs(f-o)>3&&Math.abs(f-l)>3&&(d=f,n&&n()),l=o,o=Math.round(d),o}},lf=function(t,r,n){var o={};o[r.p]="+="+n,me.set(t,o)},P2=function(t,r){var n=vi(t,r),o="_scroll"+r.p2,l=function d(f,h,m,x,y){var N=d.tween,S=h.onComplete,j={};m=m||n();var w=GS(n,m,function(){N.kill(),d.tween=0});return y=x&&y||0,x=x||f-m,N&&N.kill(),h[o]=f,h.inherit=!1,h.modifiers=j,j[o]=function(){return w(m+x*N.ratio+y*N.ratio*N.ratio)},h.onUpdate=function(){Ge.cache++,d.tween&&Sr()},h.onComplete=function(){d.tween=0,S&&S.call(N)},N=d.tween=me.to(t,h),N};return t[o]=n,n.wheelHandler=function(){return l.tween&&l.tween.kill()&&(l.tween=0)},fs(t,"wheel",n.wheelHandler),Ce.isTouch&&fs(t,"touchmove",n.wheelHandler),l},Ce=(function(){function a(r,n){lc||a.register(me)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),fx(this),this.init(r,n)}var t=a.prototype;return t.init=function(n,o){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!Il){this.update=this.refresh=this.kill=Hn;return}n=T2(wa(n)||$l(n)||n.nodeType?{trigger:n}:n,rf);var l=n,d=l.onUpdate,f=l.toggleClass,h=l.id,m=l.onToggle,x=l.onRefresh,y=l.scrub,N=l.trigger,S=l.pin,j=l.pinSpacing,w=l.invalidateOnRefresh,_=l.anticipatePin,D=l.onScrubComplete,M=l.onSnapComplete,O=l.once,k=l.snap,L=l.pinReparent,Y=l.pinSpacer,P=l.containerAnimation,B=l.fastScrollEnd,V=l.preventOverlaps,K=n.horizontal||n.containerAnimation&&n.horizontal!==!1?Gs:os,re=!y&&y!==0,J=ta(n.scroller||qe),ce=me.core.getCache(J),oe=oo(J),ie=("pinType"in n?n.pinType:mi(J,"pinType")||oe&&"fixed")==="fixed",U=[n.onEnter,n.onLeave,n.onEnterBack,n.onLeaveBack],F=re&&n.toggleActions.split(" "),T="markers"in n?n.markers:rf.markers,R=oe?0:parseFloat(nn(J)["border"+K.p2+Rc])||0,E=this,A=n.onRefreshInit&&function(){return n.onRefreshInit(E)},G=GA(J,oe,K),se=IA(J,oe),ae=0,de=0,pe=0,ne=vi(J,K),ke,Ee,qt,mt,gt,Re,rt,ls,hs,Z,Ss,ua,Ha,xt,fn,Cn,Gt,Qt,pn,St,_s,Fs,Ua,ji,zt,En,At,Os,Kt,Tn,Jn,ze,Ba,js,Cs,as,Ya,qa,hn;if(E._startClamp=E._endClamp=!1,E._dir=K,_*=45,E.scroller=J,E.scroll=P?P.time.bind(P):ne,mt=ne(),E.vars=n,o=o||n.animation,"refreshPriority"in n&&(ES=1,n.refreshPriority===-9999&&(ou=E)),ce.tweenScroll=ce.tweenScroll||{top:P2(J,os),left:P2(J,Gs)},E.tweenTo=ke=ce.tweenScroll[K.p],E.scrubDuration=function(le){Ba=$l(le)&&le,Ba?ze?ze.duration(le):ze=me.to(o,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:Ba,paused:!0,onComplete:function(){return D&&D(E)}}):(ze&&ze.progress(1).kill(),ze=0)},o&&(o.vars.lazy=!1,o._initted&&!E.isReverted||o.vars.immediateRender!==!1&&n.immediateRender!==!1&&o.duration()&&o.render(0,!0,!0),E.animation=o.pause(),o.scrollTrigger=E,E.scrubDuration(y),Tn=0,h||(h=o.vars.id)),k&&((!Qi(k)||k.push)&&(k={snapTo:k}),"scrollBehavior"in at.style&&me.set(oe?[at,Sa]:J,{scrollBehavior:"auto"}),Ge.forEach(function(le){return Ms(le)&&le.target===(oe?yt.scrollingElement||Sa:J)&&(le.smooth=!1)}),qt=Ms(k.snapTo)?k.snapTo:k.snapTo==="labels"?$A(o):k.snapTo==="labelsDirectional"?FA(o):k.directional!==!1?function(le,je){return c0(k.snapTo)(le,As()-de<500?0:je.direction)}:me.utils.snap(k.snapTo),js=k.duration||{min:.1,max:2},js=Qi(js)?tu(js.min,js.max):tu(js,js),Cs=me.delayedCall(k.delay||Ba/2||.1,function(){var le=ne(),je=As()-de<500,be=ke.tween;if((je||Math.abs(E.getVelocity())<10)&&!be&&!xp&&ae!==le){var Se=(le-Re)/xt,Lt=o&&!re?o.totalProgress():Se,Be=je?0:(Lt-Jn)/(As()-Gl)*1e3||0,_t=me.utils.clamp(-Se,1-Se,ac(Be/2)*Be/.185),vt=Se+(k.inertia===!1?0:_t),Pe,Le,Ze=k,ks=Ze.onStart,bt=Ze.onInterrupt,Ps=Ze.onComplete;if(Pe=qt(vt,E),$l(Pe)||(Pe=vt),Le=Math.max(0,Math.round(Re+Pe*xt)),le<=rt&&le>=Re&&Le!==le){if(be&&!be._initted&&be.data<=ac(Le-le))return;k.inertia===!1&&(_t=Pe-Se),ke(Le,{duration:js(ac(Math.max(ac(vt-Lt),ac(Pe-Lt))*.185/Be/.05||0)),ease:k.ease||"power3",data:ac(Le-le),onInterrupt:function(){return Cs.restart(!0)&&bt&&bt(E)},onComplete:function(){E.update(),ae=ne(),o&&!re&&(ze?ze.resetTo("totalProgress",Pe,o._tTime/o._tDur):o.progress(Pe)),Tn=Jn=o&&!re?o.totalProgress():E.progress,M&&M(E),Ps&&Ps(E)}},le,_t*xt,Le-le-_t*xt),ks&&ks(E,ke.tween)}}else E.isActive&&ae!==le&&Cs.restart(!0)}).pause()),h&&(hx[h]=E),N=E.trigger=ta(N||S!==!0&&S),hn=N&&N._gsap&&N._gsap.stRevert,hn&&(hn=hn(E)),S=S===!0?N:ta(S),wa(f)&&(f={targets:N,className:f}),S&&(j===!1||j===an||(j=!j&&S.parentNode&&S.parentNode.style&&nn(S.parentNode).display==="flex"?!1:ts),E.pin=S,Ee=me.core.getCache(S),Ee.spacer?fn=Ee.pinState:(Y&&(Y=ta(Y),Y&&!Y.nodeType&&(Y=Y.current||Y.nativeElement),Ee.spacerIsNative=!!Y,Y&&(Ee.spacerState=cf(Y))),Ee.spacer=Qt=Y||yt.createElement("div"),Qt.classList.add("pin-spacer"),h&&Qt.classList.add("pin-spacer-"+h),Ee.pinState=fn=cf(S)),n.force3D!==!1&&me.set(S,{force3D:!0}),E.spacer=Qt=Ee.spacer,Kt=nn(S),ji=Kt[j+K.os2],St=me.getProperty(S),_s=me.quickSetter(S,K.a,is),vg(S,Qt,Kt),Gt=cf(S)),T){ua=Qi(T)?T2(T,A2):A2,Z=of("scroller-start",h,J,K,ua,0),Ss=of("scroller-end",h,J,K,ua,0,Z),pn=Z["offset"+K.op.d2];var Or=ta(mi(J,"content")||J);ls=this.markerStart=of("start",h,Or,K,ua,pn,0,P),hs=this.markerEnd=of("end",h,Or,K,ua,pn,0,P),P&&(qa=me.quickSetter([ls,hs],K.a,is)),!ie&&!(Vn.length&&mi(J,"fixedMarkers")===!0)&&(VA(oe?at:J),me.set([Z,Ss],{force3D:!0}),En=me.quickSetter(Z,K.a,is),Os=me.quickSetter(Ss,K.a,is))}if(P){var _e=P.vars.onUpdate,ve=P.vars.onUpdateParams;P.eventCallback("onUpdate",function(){E.update(0,0,1),_e&&_e.apply(P,ve||[])})}if(E.previous=function(){return Ue[Ue.indexOf(E)-1]},E.next=function(){return Ue[Ue.indexOf(E)+1]},E.revert=function(le,je){if(!je)return E.kill(!0);var be=le!==!1||!E.enabled,Se=Ts;be!==E.isReverted&&(be&&(as=Math.max(ne(),E.scroll.rec||0),pe=E.progress,Ya=o&&o.progress()),ls&&[ls,hs,Z,Ss].forEach(function(Lt){return Lt.style.display=be?"none":"block"}),be&&(Ts=E,E.update(be)),S&&(!L||!E.isActive)&&(be?KA(S,Qt,fn):vg(S,Qt,nn(S),zt)),be||E.update(be),Ts=Se,E.isReverted=be)},E.refresh=function(le,je,be,Se){if(!((Ts||!E.enabled)&&!je)){if(S&&le&&cn){fs(a,"scrollEnd",HS);return}!Ys&&A&&A(E),Ts=E,ke.tween&&!be&&(ke.tween.kill(),ke.tween=0),ze&&ze.pause(),w&&o&&(o.revert({kill:!1}).invalidate(),o.getChildren?o.getChildren(!0,!0,!1).forEach(function(Mn){return Mn.vars.immediateRender&&Mn.render(0,!0,!0)}):o.vars.immediateRender&&o.render(0,!0,!0)),E.isReverted||E.revert(!0,!0),E._subPinOffset=!1;var Lt=G(),Be=se(),_t=P?P.duration():qn(J,K),vt=xt<=.01||!xt,Pe=0,Le=Se||0,Ze=Qi(be)?be.end:n.end,ks=n.endTrigger||N,bt=Qi(be)?be.start:n.start||(n.start===0||!N?0:S?"0 0":"0 100%"),Ps=E.pinnedContainer=n.pinnedContainer&&ta(n.pinnedContainer,E),da=N&&Math.max(0,Ue.indexOf(E))||0,Dt=da,It,Mt,Xs,An,Rt,Ye,fa,bo,Dn,Ga,Ia,kr,Ci;for(T&&Qi(be)&&(kr=me.getProperty(Z,K.p),Ci=me.getProperty(Ss,K.p));Dt-- >0;)Ye=Ue[Dt],Ye.end||Ye.refresh(0,1)||(Ts=E),fa=Ye.pin,fa&&(fa===N||fa===S||fa===Ps)&&!Ye.isReverted&&(Ga||(Ga=[]),Ga.unshift(Ye),Ye.revert(!0,!0)),Ye!==Ue[Dt]&&(da--,Dt--);for(Ms(bt)&&(bt=bt(E)),bt=_2(bt,"start",E),Re=O2(bt,N,Lt,K,ne(),ls,Z,E,Be,R,ie,_t,P,E._startClamp&&"_startClamp")||(S?-.001:0),Ms(Ze)&&(Ze=Ze(E)),wa(Ze)&&!Ze.indexOf("+=")&&(~Ze.indexOf(" ")?Ze=(wa(bt)?bt.split(" ")[0]:"")+Ze:(Pe=Ef(Ze.substr(2),Lt),Ze=wa(bt)?bt:(P?me.utils.mapRange(0,P.duration(),P.scrollTrigger.start,P.scrollTrigger.end,Re):Re)+Pe,ks=N)),Ze=_2(Ze,"end",E),rt=Math.max(Re,O2(Ze||(ks?"100% 0":_t),ks,Lt,K,ne()+Pe,hs,Ss,E,Be,R,ie,_t,P,E._endClamp&&"_endClamp"))||-.001,Pe=0,Dt=da;Dt--;)Ye=Ue[Dt]||{},fa=Ye.pin,fa&&Ye.start-Ye._pinPush<=Re&&!P&&Ye.end>0&&(It=Ye.end-(E._startClamp?Math.max(0,Ye.start):Ye.start),(fa===N&&Ye.start-Ye._pinPush<Re||fa===Ps)&&isNaN(bt)&&(Pe+=It*(1-Ye.progress)),fa===S&&(Le+=It));if(Re+=Pe,rt+=Pe,E._startClamp&&(E._startClamp+=Pe),E._endClamp&&!Ys&&(E._endClamp=rt||-.001,rt=Math.min(rt,qn(J,K))),xt=rt-Re||(Re-=.01)&&.001,vt&&(pe=me.utils.clamp(0,1,me.utils.normalize(Re,rt,as))),E._pinPush=Le,ls&&Pe&&(It={},It[K.a]="+="+Pe,Ps&&(It[K.p]="-="+ne()),me.set([ls,hs],It)),S&&!(px&&E.end>=qn(J,K)))It=nn(S),An=K===os,Xs=ne(),Fs=parseFloat(St(K.a))+Le,!_t&&rt>1&&(Ia=(oe?yt.scrollingElement||Sa:J).style,Ia={style:Ia,value:Ia["overflow"+K.a.toUpperCase()]},oe&&nn(at)["overflow"+K.a.toUpperCase()]!=="scroll"&&(Ia.style["overflow"+K.a.toUpperCase()]="scroll")),vg(S,Qt,It),Gt=cf(S),Mt=wr(S,!0),bo=ie&&vi(J,An?Gs:os)(),j?(zt=[j+K.os2,xt+Le+is],zt.t=Qt,Dt=j===ts?Kf(S,K)+xt+Le:0,Dt&&(zt.push(K.d,Dt+is),Qt.style.flexBasis!=="auto"&&(Qt.style.flexBasis=Dt+is)),Nc(zt),Ps&&Ue.forEach(function(Mn){Mn.pin===Ps&&Mn.vars.pinSpacing!==!1&&(Mn._subPinOffset=!0)}),ie&&ne(as)):(Dt=Kf(S,K),Dt&&Qt.style.flexBasis!=="auto"&&(Qt.style.flexBasis=Dt+is)),ie&&(Rt={top:Mt.top+(An?Xs-Re:bo)+is,left:Mt.left+(An?bo:Xs-Re)+is,boxSizing:"border-box",position:"fixed"},Rt[so]=Rt["max"+Rc]=Math.ceil(Mt.width)+is,Rt[ao]=Rt["max"+o0]=Math.ceil(Mt.height)+is,Rt[an]=Rt[an+ru]=Rt[an+au]=Rt[an+iu]=Rt[an+nu]="0",Rt[ts]=It[ts],Rt[ts+ru]=It[ts+ru],Rt[ts+au]=It[ts+au],Rt[ts+iu]=It[ts+iu],Rt[ts+nu]=It[ts+nu],Cn=WA(fn,Rt,L),Ys&&ne(0)),o?(Dn=o._initted,hg(1),o.render(o.duration(),!0,!0),Ua=St(K.a)-Fs+xt+Le,At=Math.abs(xt-Ua)>1,ie&&At&&Cn.splice(Cn.length-2,2),o.render(0,!0,!0),Dn||o.invalidate(!0),o.parent||o.totalTime(o.totalTime()),hg(0)):Ua=xt,Ia&&(Ia.value?Ia.style["overflow"+K.a.toUpperCase()]=Ia.value:Ia.style.removeProperty("overflow-"+K.a));else if(N&&ne()&&!P)for(Mt=N.parentNode;Mt&&Mt!==at;)Mt._pinOffset&&(Re-=Mt._pinOffset,rt-=Mt._pinOffset),Mt=Mt.parentNode;Ga&&Ga.forEach(function(Mn){return Mn.revert(!1,!0)}),E.start=Re,E.end=rt,mt=gt=Ys?as:ne(),!P&&!Ys&&(mt<as&&ne(as),E.scroll.rec=0),E.revert(!1,!0),de=As(),Cs&&(ae=-1,Cs.restart(!0)),Ts=0,o&&re&&(o._initted||Ya)&&o.progress()!==Ya&&o.progress(Ya||0,!0).render(o.time(),!0,!0),(vt||pe!==E.progress||P||w||o&&!o._initted)&&(o&&!re&&(o._initted||pe||o.vars.immediateRender!==!1)&&o.totalProgress(P&&Re<-.001&&!pe?me.utils.normalize(Re,rt,0):pe,!0),E.progress=vt||(mt-Re)/xt===pe?0:pe),S&&j&&(Qt._pinOffset=Math.round(E.progress*Ua)),ze&&ze.invalidate(),isNaN(kr)||(kr-=me.getProperty(Z,K.p),Ci-=me.getProperty(Ss,K.p),lf(Z,K,kr),lf(ls,K,kr-(Se||0)),lf(Ss,K,Ci),lf(hs,K,Ci-(Se||0))),vt&&!Ys&&E.update(),x&&!Ys&&!Ha&&(Ha=!0,x(E),Ha=!1)}},E.getVelocity=function(){return(ne()-gt)/(As()-Gl)*1e3||0},E.endAnimation=function(){Bl(E.callbackAnimation),o&&(ze?ze.progress(1):o.paused()?re||Bl(o,E.direction<0,1):Bl(o,o.reversed()))},E.labelToScroll=function(le){return o&&o.labels&&(Re||E.refresh()||Re)+o.labels[le]/o.duration()*xt||0},E.getTrailing=function(le){var je=Ue.indexOf(E),be=E.direction>0?Ue.slice(0,je).reverse():Ue.slice(je+1);return(wa(le)?be.filter(function(Se){return Se.vars.preventOverlaps===le}):be).filter(function(Se){return E.direction>0?Se.end<=Re:Se.start>=rt})},E.update=function(le,je,be){if(!(P&&!be&&!le)){var Se=Ys===!0?as:E.scroll(),Lt=le?0:(Se-Re)/xt,Be=Lt<0?0:Lt>1?1:Lt||0,_t=E.progress,vt,Pe,Le,Ze,ks,bt,Ps,da;if(je&&(gt=mt,mt=P?ne():Se,k&&(Jn=Tn,Tn=o&&!re?o.totalProgress():Be)),_&&S&&!Ts&&!tf&&cn&&(!Be&&Re<Se+(Se-gt)/(As()-Gl)*_?Be=1e-4:Be===1&&rt>Se+(Se-gt)/(As()-Gl)*_&&(Be=.9999)),Be!==_t&&E.enabled){if(vt=E.isActive=!!Be&&Be<1,Pe=!!_t&&_t<1,bt=vt!==Pe,ks=bt||!!Be!=!!_t,E.direction=Be>_t?1:-1,E.progress=Be,ks&&!Ts&&(Le=Be&&!_t?0:Be===1?1:_t===1?2:3,re&&(Ze=!bt&&F[Le+1]!=="none"&&F[Le+1]||F[Le],da=o&&(Ze==="complete"||Ze==="reset"||Ze in o))),V&&(bt||da)&&(da||y||!o)&&(Ms(V)?V(E):E.getTrailing(V).forEach(function(Xs){return Xs.endAnimation()})),re||(ze&&!Ts&&!tf?(ze._dp._time-ze._start!==ze._time&&ze.render(ze._dp._time-ze._start),ze.resetTo?ze.resetTo("totalProgress",Be,o._tTime/o._tDur):(ze.vars.totalProgress=Be,ze.invalidate().restart())):o&&o.totalProgress(Be,!!(Ts&&(de||le)))),S){if(le&&j&&(Qt.style[j+K.os2]=ji),!ie)_s(Vl(Fs+Ua*Be));else if(ks){if(Ps=!le&&Be>_t&&rt+1>Se&&Se+1>=qn(J,K),L)if(!le&&(vt||Ps)){var Dt=wr(S,!0),It=Se-Re;k2(S,at,Dt.top+(K===os?It:0)+is,Dt.left+(K===os?0:It)+is)}else k2(S,Qt);Nc(vt||Ps?Cn:Gt),At&&Be<1&&vt||_s(Fs+(Be===1&&!Ps?Ua:0))}}k&&!ke.tween&&!Ts&&!tf&&Cs.restart(!0),f&&(bt||O&&Be&&(Be<1||!mg))&&yu(f.targets).forEach(function(Xs){return Xs.classList[vt||O?"add":"remove"](f.className)}),d&&!re&&!le&&d(E),ks&&!Ts?(re&&(da&&(Ze==="complete"?o.pause().totalProgress(1):Ze==="reset"?o.restart(!0).pause():Ze==="restart"?o.restart(!0):o[Ze]()),d&&d(E)),(bt||!mg)&&(m&&bt&&xg(E,m),U[Le]&&xg(E,U[Le]),O&&(Be===1?E.kill(!1,1):U[Le]=0),bt||(Le=Be===1?1:3,U[Le]&&xg(E,U[Le]))),B&&!vt&&Math.abs(E.getVelocity())>($l(B)?B:2500)&&(Bl(E.callbackAnimation),ze?ze.progress(1):Bl(o,Ze==="reverse"?1:!Be,1))):re&&d&&!Ts&&d(E)}if(Os){var Mt=P?Se/P.duration()*(P._caScrollDist||0):Se;En(Mt+(Z._isFlipped?1:0)),Os(Mt)}qa&&qa(-Se/P.duration()*(P._caScrollDist||0))}},E.enable=function(le,je){E.enabled||(E.enabled=!0,fs(J,"resize",Fl),oe||fs(J,"scroll",nc),A&&fs(a,"refreshInit",A),le!==!1&&(E.progress=pe=0,mt=gt=ae=ne()),je!==!1&&E.refresh())},E.getTween=function(le){return le&&ke?ke.tween:ze},E.setPositions=function(le,je,be,Se){if(P){var Lt=P.scrollTrigger,Be=P.duration(),_t=Lt.end-Lt.start;le=Lt.start+_t*le/Be,je=Lt.start+_t*je/Be}E.refresh(!1,!1,{start:j2(le,be&&!!E._startClamp),end:j2(je,be&&!!E._endClamp)},Se),E.update()},E.adjustPinSpacing=function(le){if(zt&&le){var je=zt.indexOf(K.d)+1;zt[je]=parseFloat(zt[je])+le+is,zt[1]=parseFloat(zt[1])+le+is,Nc(zt)}},E.disable=function(le,je){if(le!==!1&&E.revert(!0,!0),E.enabled&&(E.enabled=E.isActive=!1,je||ze&&ze.pause(),as=0,Ee&&(Ee.uncache=1),A&&ds(a,"refreshInit",A),Cs&&(Cs.pause(),ke.tween&&ke.tween.kill()&&(ke.tween=0)),!oe)){for(var be=Ue.length;be--;)if(Ue[be].scroller===J&&Ue[be]!==E)return;ds(J,"resize",Fl),oe||ds(J,"scroll",nc)}},E.kill=function(le,je){E.disable(le,je),ze&&!je&&ze.kill(),h&&delete hx[h];var be=Ue.indexOf(E);be>=0&&Ue.splice(be,1),be===Bs&&Af>0&&Bs--,be=0,Ue.forEach(function(Se){return Se.scroller===E.scroller&&(be=1)}),be||Ys||(E.scroll.rec=0),o&&(o.scrollTrigger=null,le&&o.revert({kill:!1}),je||o.kill()),ls&&[ls,hs,Z,Ss].forEach(function(Se){return Se.parentNode&&Se.parentNode.removeChild(Se)}),ou===E&&(ou=0),S&&(Ee&&(Ee.uncache=1),be=0,Ue.forEach(function(Se){return Se.pin===S&&be++}),be||(Ee.spacer=0)),n.onKill&&n.onKill(E)},Ue.push(E),E.enable(!1,!1),hn&&hn(E),o&&o.add&&!xt){var We=E.update;E.update=function(){E.update=We,Ge.cache++,Re||rt||E.refresh()},me.delayedCall(.01,E.update),xt=.01,Re=rt=0}else E.refresh();S&&QA()},a.register=function(n){return lc||(me=n||RS(),MS()&&window.document&&a.enable(),lc=Il),lc},a.defaults=function(n){if(n)for(var o in n)rf[o]=n[o];return rf},a.disable=function(n,o){Il=0,Ue.forEach(function(d){return d[o?"kill":"disable"](n)}),ds(qe,"wheel",nc),ds(yt,"scroll",nc),clearInterval(ef),ds(yt,"touchcancel",Hn),ds(at,"touchstart",Hn),af(ds,yt,"pointerdown,touchstart,mousedown",C2),af(ds,yt,"pointerup,touchend,mouseup",E2),Qf.kill(),sf(ds);for(var l=0;l<Ge.length;l+=3)nf(ds,Ge[l],Ge[l+1]),nf(ds,Ge[l],Ge[l+2])},a.enable=function(){if(qe=window,yt=document,Sa=yt.documentElement,at=yt.body,me&&(yu=me.utils.toArray,tu=me.utils.clamp,fx=me.core.context||Hn,hg=me.core.suppressOverwrites||Hn,a0=qe.history.scrollRestoration||"auto",mx=qe.pageYOffset||0,me.core.globals("ScrollTrigger",a),at)){Il=1,wc=document.createElement("div"),wc.style.height="100vh",wc.style.position="absolute",qS(),qA(),Xt.register(me),a.isTouch=Xt.isTouch,ri=Xt.isTouch&&/(iPad|iPhone|iPod|Mac)/g.test(navigator.userAgent),dx=Xt.isTouch===1,fs(qe,"wheel",nc),s0=[qe,yt,Sa,at],me.matchMedia?(a.matchMedia=function(m){var x=me.matchMedia(),y;for(y in m)x.add(y,m[y]);return x},me.addEventListener("matchMediaInit",function(){BS(),l0()}),me.addEventListener("matchMediaRevert",function(){return US()}),me.addEventListener("matchMedia",function(){Zi(0,1),lo("matchMedia")}),me.matchMedia().add("(orientation: portrait)",function(){return yg(),yg})):console.warn("Requires GSAP 3.11.0 or later"),yg(),fs(yt,"scroll",nc);var n=at.hasAttribute("style"),o=at.style,l=o.borderTopStyle,d=me.core.Animation.prototype,f,h;for(d.revert||Object.defineProperty(d,"revert",{value:function(){return this.time(-.01,!0)}}),o.borderTopStyle="solid",f=wr(at),os.m=Math.round(f.top+os.sc())||0,Gs.m=Math.round(f.left+Gs.sc())||0,l?o.borderTopStyle=l:o.removeProperty("border-top-style"),n||(at.setAttribute("style",""),at.removeAttribute("style")),ef=setInterval(D2,250),me.delayedCall(.5,function(){return tf=0}),fs(yt,"touchcancel",Hn),fs(at,"touchstart",Hn),af(fs,yt,"pointerdown,touchstart,mousedown",C2),af(fs,yt,"pointerup,touchend,mouseup",E2),ux=me.utils.checkPrefix("transform"),Df.push(ux),lc=As(),Qf=me.delayedCall(.2,Zi).pause(),uc=[yt,"visibilitychange",function(){var m=qe.innerWidth,x=qe.innerHeight;yt.hidden?(N2=m,S2=x):(N2!==m||S2!==x)&&Fl()},yt,"DOMContentLoaded",Zi,qe,"load",Zi,qe,"resize",Fl],sf(fs),Ue.forEach(function(m){return m.enable(0,1)}),h=0;h<Ge.length;h+=3)nf(ds,Ge[h],Ge[h+1]),nf(ds,Ge[h],Ge[h+2])}},a.config=function(n){"limitCallbacks"in n&&(mg=!!n.limitCallbacks);var o=n.syncInterval;o&&clearInterval(ef)||(ef=o)&&setInterval(D2,o),"ignoreMobileResize"in n&&(dx=a.isTouch===1&&n.ignoreMobileResize),"autoRefreshEvents"in n&&(sf(ds)||sf(fs,n.autoRefreshEvents||"none"),TS=(n.autoRefreshEvents+"").indexOf("resize")===-1)},a.scrollerProxy=function(n,o){var l=ta(n),d=Ge.indexOf(l),f=oo(l);~d&&Ge.splice(d,f?6:2),o&&(f?Vn.unshift(qe,o,at,o,Sa,o):Vn.unshift(l,o))},a.clearMatchMedia=function(n){Ue.forEach(function(o){return o._ctx&&o._ctx.query===n&&o._ctx.kill(!0,!0)})},a.isInViewport=function(n,o,l){var d=(wa(n)?ta(n):n).getBoundingClientRect(),f=d[l?so:ao]*o||0;return l?d.right-f>0&&d.left+f<qe.innerWidth:d.bottom-f>0&&d.top+f<qe.innerHeight},a.positionInViewport=function(n,o,l){wa(n)&&(n=ta(n));var d=n.getBoundingClientRect(),f=d[l?so:ao],h=o==null?f/2:o in Zf?Zf[o]*f:~o.indexOf("%")?parseFloat(o)*f/100:parseFloat(o)||0;return l?(d.left+h)/qe.innerWidth:(d.top+h)/qe.innerHeight},a.killAll=function(n){if(Ue.slice(0).forEach(function(l){return l.vars.id!=="ScrollSmoother"&&l.kill()}),n!==!0){var o=co.killAll||[];co={},o.forEach(function(l){return l()})}},a})();Ce.version="3.14.2";Ce.saveStyles=function(a){return a?yu(a).forEach(function(t){if(t&&t.style){var r=ba.indexOf(t);r>=0&&ba.splice(r,5),ba.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),me.core.getCache(t),fx())}}):ba};Ce.revert=function(a,t){return l0(!a,t)};Ce.create=function(a,t){return new Ce(a,t)};Ce.refresh=function(a){return a?Fl(!0):(lc||Ce.register())&&Zi(!0)};Ce.update=function(a){return++Ge.cache&&Sr(a===!0?2:0)};Ce.clearScrollMemory=YS;Ce.maxScroll=function(a,t){return qn(a,t?Gs:os)};Ce.getScrollFunc=function(a,t){return vi(ta(a),t?Gs:os)};Ce.getById=function(a){return hx[a]};Ce.getAll=function(){return Ue.filter(function(a){return a.vars.id!=="ScrollSmoother"})};Ce.isScrolling=function(){return!!cn};Ce.snapDirectional=c0;Ce.addEventListener=function(a,t){var r=co[a]||(co[a]=[]);~r.indexOf(t)||r.push(t)};Ce.removeEventListener=function(a,t){var r=co[a],n=r&&r.indexOf(t);n>=0&&r.splice(n,1)};Ce.batch=function(a,t){var r=[],n={},o=t.interval||.016,l=t.batchMax||1e9,d=function(m,x){var y=[],N=[],S=me.delayedCall(o,function(){x(y,N),y=[],N=[]}).pause();return function(j){y.length||S.restart(!0),y.push(j.trigger),N.push(j),l<=y.length&&S.progress(1)}},f;for(f in t)n[f]=f.substr(0,2)==="on"&&Ms(t[f])&&f!=="onRefreshInit"?d(f,t[f]):t[f];return Ms(l)&&(l=l(),fs(Ce,"refresh",function(){return l=t.batchMax()})),yu(a).forEach(function(h){var m={};for(f in n)m[f]=n[f];m.trigger=h,r.push(Ce.create(m))}),r};var z2=function(t,r,n,o){return r>o?t(o):r<0&&t(0),n>o?(o-r)/(n-r):n<0?r/(r-n):1},bg=function a(t,r){r===!0?t.style.removeProperty("touch-action"):t.style.touchAction=r===!0?"auto":r?"pan-"+r+(Xt.isTouch?" pinch-zoom":""):"none",t===Sa&&a(at,r)},uf={auto:1,scroll:1},e7=function(t){var r=t.event,n=t.target,o=t.axis,l=(r.changedTouches?r.changedTouches[0]:r).target,d=l._gsap||me.core.getCache(l),f=As(),h;if(!d._isScrollT||f-d._isScrollT>2e3){for(;l&&l!==at&&(l.scrollHeight<=l.clientHeight&&l.scrollWidth<=l.clientWidth||!(uf[(h=nn(l)).overflowY]||uf[h.overflowX]));)l=l.parentNode;d._isScroll=l&&l!==n&&!oo(l)&&(uf[(h=nn(l)).overflowY]||uf[h.overflowX]),d._isScrollT=f}(d._isScroll||o==="x")&&(r.stopPropagation(),r._gsapAllow=!0)},IS=function(t,r,n,o){return Xt.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:r,onWheel:o=o&&e7,onPress:o,onDrag:o,onScroll:o,onEnable:function(){return n&&fs(yt,Xt.eventTypes[0],H2,!1,!0)},onDisable:function(){return ds(yt,Xt.eventTypes[0],H2,!0)}})},t7=/(input|label|select|textarea)/i,L2,H2=function(t){var r=t7.test(t.target.tagName);(r||L2)&&(t._gsapAllow=!0,L2=r)},s7=function(t){Qi(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var r=t,n=r.normalizeScrollX,o=r.momentum,l=r.allowNestedScroll,d=r.onRelease,f,h,m=ta(t.target)||Sa,x=me.core.globals().ScrollSmoother,y=x&&x.get(),N=ri&&(t.content&&ta(t.content)||y&&t.content!==!1&&!y.smooth()&&y.content()),S=vi(m,os),j=vi(m,Gs),w=1,_=(Xt.isTouch&&qe.visualViewport?qe.visualViewport.scale*qe.visualViewport.width:qe.outerWidth)/qe.innerWidth,D=0,M=Ms(o)?function(){return o(f)}:function(){return o||2.8},O,k,L=IS(m,t.type,!0,l),Y=function(){return k=!1},P=Hn,B=Hn,V=function(){h=qn(m,os),B=tu(ri?1:0,h),n&&(P=tu(0,qn(m,Gs))),O=no},K=function(){N._gsap.y=Vl(parseFloat(N._gsap.y)+S.offset)+"px",N.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(N._gsap.y)+", 0, 1)",S.offset=S.cacheID=0},re=function(){if(k){requestAnimationFrame(Y);var T=Vl(f.deltaY/2),R=B(S.v-T);if(N&&R!==S.v+S.offset){S.offset=R-S.v;var E=Vl((parseFloat(N&&N._gsap.y)||0)-S.offset);N.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+E+", 0, 1)",N._gsap.y=E+"px",S.cacheID=Ge.cache,Sr()}return!0}S.offset&&K(),k=!0},J,ce,oe,ie,U=function(){V(),J.isActive()&&J.vars.scrollY>h&&(S()>h?J.progress(1)&&S(h):J.resetTo("scrollY",h))};return N&&me.set(N,{y:"+=0"}),t.ignoreCheck=function(F){return ri&&F.type==="touchmove"&&re()||w>1.05&&F.type!=="touchstart"||f.isGesturing||F.touches&&F.touches.length>1},t.onPress=function(){k=!1;var F=w;w=Vl((qe.visualViewport&&qe.visualViewport.scale||1)/_),J.pause(),F!==w&&bg(m,w>1.01?!0:n?!1:"x"),ce=j(),oe=S(),V(),O=no},t.onRelease=t.onGestureStart=function(F,T){if(S.offset&&K(),!T)ie.restart(!0);else{Ge.cache++;var R=M(),E,A;n&&(E=j(),A=E+R*.05*-F.velocityX/.227,R*=z2(j,E,A,qn(m,Gs)),J.vars.scrollX=P(A)),E=S(),A=E+R*.05*-F.velocityY/.227,R*=z2(S,E,A,qn(m,os)),J.vars.scrollY=B(A),J.invalidate().duration(R).play(.01),(ri&&J.vars.scrollY>=h||E>=h-1)&&me.to({},{onUpdate:U,duration:R})}d&&d(F)},t.onWheel=function(){J._ts&&J.pause(),As()-D>1e3&&(O=0,D=As())},t.onChange=function(F,T,R,E,A){if(no!==O&&V(),T&&n&&j(P(E[2]===T?ce+(F.startX-F.x):j()+T-E[1])),R){S.offset&&K();var G=A[2]===R,se=G?oe+F.startY-F.y:S()+R-A[1],ae=B(se);G&&se!==ae&&(oe+=ae-se),S(ae)}(R||T)&&Sr()},t.onEnable=function(){bg(m,n?!1:"x"),Ce.addEventListener("refresh",U),fs(qe,"resize",U),S.smooth&&(S.target.style.scrollBehavior="auto",S.smooth=j.smooth=!1),L.enable()},t.onDisable=function(){bg(m,!0),ds(qe,"resize",U),Ce.removeEventListener("refresh",U),L.kill()},t.lockAxis=t.lockAxis!==!1,f=new Xt(t),f.iOS=ri,ri&&!S()&&S(1),ri&&me.ticker.add(Hn),ie=f._dc,J=me.to(f,{ease:"power4",paused:!0,inherit:!1,scrollX:n?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:GS(S,S(),function(){return J.pause()})},onUpdate:Sr,onComplete:ie.vars.onComplete}),f};Ce.sort=function(a){if(Ms(a))return Ue.sort(a);var t=qe.pageYOffset||0;return Ce.getAll().forEach(function(r){return r._sortY=r.trigger?t+r.trigger.getBoundingClientRect().top:r.start+qe.innerHeight}),Ue.sort(a||function(r,n){return(r.vars.refreshPriority||0)*-1e6+(r.vars.containerAnimation?1e6:r._sortY)-((n.vars.containerAnimation?1e6:n._sortY)+(n.vars.refreshPriority||0)*-1e6)})};Ce.observe=function(a){return new Xt(a)};Ce.normalizeScroll=function(a){if(typeof a>"u")return Us;if(a===!0&&Us)return Us.enable();if(a===!1){Us&&Us.kill(),Us=a;return}var t=a instanceof Xt?a:s7(a);return Us&&Us.target===t.target&&Us.kill(),oo(t.target)&&(Us=t),t};Ce.core={_getVelocityProp:lx,_inputObserver:IS,_scrollers:Ge,_proxies:Vn,bridge:{ss:function(){cn||lo("scrollStart"),cn=As()},ref:function(){return Ts}}};RS()&&me.registerPlugin(Ce);nt.registerPlugin(Ce);function a7(){const a=v.useRef(null),[t,r]=v.useState(!1),[n,o]=v.useState({});v.useEffect(()=>{const d=nt.context(()=>{Hf.forEach(f=>{Ce.create({trigger:a.current,start:"top 80%",onEnter:()=>{const h=parseFloat(f.value),m=2,x=Date.now(),y=()=>{const N=(Date.now()-x)/1e3,S=Math.min(N/m,1),j=1-Math.pow(1-S,3);o(w=>({...w,[f.label]:Math.floor(h*j)})),S<1&&requestAnimationFrame(y)};y()},once:!0})})},a);return()=>d.revert()},[]);const l=["国际领先的细胞分选技术","严格的质量控制体系","专业的技术支持团队","完善的售后服务网络"];return c.jsxs("section",{"code-path":"src/sections/AboutSection.tsx:59:5",ref:a,className:"py-20 lg:py-32 bg-white",children:[c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:60:7",className:"section-padding",children:c.jsxs("div",{"code-path":"src/sections/AboutSection.tsx:61:9",className:"grid lg:grid-cols-2 gap-12 lg:gap-20 items-center",children:[c.jsxs("div",{"code-path":"src/sections/AboutSection.tsx:63:11",className:"relative",children:[c.jsxs("div",{"code-path":"src/sections/AboutSection.tsx:64:13",className:"relative aspect-video rounded-2xl overflow-hidden shadow-2xl shadow-blue-500/10 group cursor-pointer",onClick:()=>r(!0),children:[c.jsx("img",{"code-path":"src/sections/AboutSection.tsx:67:15",src:"/images/about-lab.jpg",alt:"CellSort Laboratory",className:"w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:72:15",className:"absolute inset-0 bg-black/30 transition-opacity group-hover:bg-black/40"}),c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:75:15",className:"absolute inset-0 flex items-center justify-center",children:c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:76:17",className:"w-20 h-20 bg-white rounded-full flex items-center justify-center shadow-lg transition-transform group-hover:scale-110",children:c.jsx(Jw,{"code-path":"src/sections/AboutSection.tsx:77:19",className:"w-8 h-8 text-[#0064ff] ml-1",fill:"#0064ff"})})})]}),c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:83:13",className:"absolute -bottom-6 -right-6 bg-white rounded-xl shadow-xl p-4 hidden lg:block",children:c.jsxs("div",{"code-path":"src/sections/AboutSection.tsx:84:15",className:"flex items-center gap-3",children:[c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:85:17",className:"w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center",children:c.jsx(aN,{"code-path":"src/sections/AboutSection.tsx:86:19",className:"w-6 h-6 text-green-600"})}),c.jsxs("div",{"code-path":"src/sections/AboutSection.tsx:88:17",children:[c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:89:19",className:"text-2xl font-bold text-gray-900",children:"95%"}),c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:90:19",className:"text-sm text-gray-500",children:"客户满意度"})]})]})})]}),c.jsxs("div",{"code-path":"src/sections/AboutSection.tsx:97:11",className:"space-y-8",children:[c.jsxs("div",{"code-path":"src/sections/AboutSection.tsx:98:13",children:[c.jsx("span",{"code-path":"src/sections/AboutSection.tsx:99:15",className:"text-[#0064ff] font-medium text-sm uppercase tracking-wider",children:"关于我们"}),c.jsx("h2",{"code-path":"src/sections/AboutSection.tsx:100:15",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-3 leading-tight",children:"推动生命科学研究的进步"})]}),c.jsx("p",{"code-path":"src/sections/AboutSection.tsx:105:13",className:"text-gray-600 leading-relaxed",children:"CellSort成立于2014年，专注于细胞分选技术的研发和生产。十年来，我们始终致力于为全球的科研机构、生物医药企业提供高品质的细胞分选产品和解决方案。"}),c.jsx("p",{"code-path":"src/sections/AboutSection.tsx:109:13",className:"text-gray-600 leading-relaxed",children:"我们的产品已服务于500多家科研机构，涵盖免疫学、肿瘤学、干细胞研究等多个领域。凭借卓越的产品质量和专业的技术支持，CellSort已成为细胞分选领域的信赖品牌。"}),c.jsx("ul",{"code-path":"src/sections/AboutSection.tsx:114:13",className:"space-y-3",children:l.map((d,f)=>c.jsxs("li",{"code-path":"src/sections/AboutSection.tsx:116:17",className:"flex items-center gap-3",children:[c.jsx(Lc,{"code-path":"src/sections/AboutSection.tsx:117:19",className:"w-5 h-5 text-[#0064ff] flex-shrink-0"}),c.jsx("span",{"code-path":"src/sections/AboutSection.tsx:118:19",className:"text-gray-700",children:d})]},f))}),c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:124:13",className:"grid grid-cols-3 gap-6 pt-6 border-t border-gray-100",children:Hf.slice(0,3).map(d=>c.jsxs("div",{"code-path":"src/sections/AboutSection.tsx:126:17",className:"text-center",children:[c.jsxs("div",{"code-path":"src/sections/AboutSection.tsx:127:19",className:"flex items-baseline justify-center gap-0.5",children:[c.jsx("span",{"code-path":"src/sections/AboutSection.tsx:128:21",className:"text-2xl lg:text-3xl font-bold text-[#0064ff]",children:n[d.label]||0}),c.jsx("span",{"code-path":"src/sections/AboutSection.tsx:131:21",className:"text-lg font-bold text-[#0064ff]",children:d.suffix})]}),c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:133:19",className:"text-sm text-gray-500 mt-1",children:d.label})]},d.label))})]})]})}),t&&c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:143:9",className:"fixed inset-0 z-50 flex items-center justify-center bg-black/80 p-4",onClick:()=>r(!1),children:c.jsxs("div",{"code-path":"src/sections/AboutSection.tsx:147:11",className:"relative w-full max-w-4xl aspect-video bg-black rounded-xl overflow-hidden",children:[c.jsx("button",{"code-path":"src/sections/AboutSection.tsx:148:13",className:"absolute top-4 right-4 w-10 h-10 bg-white/10 rounded-full flex items-center justify-center text-white hover:bg-white/20 transition-colors z-10",onClick:()=>r(!1),children:"×"}),c.jsx("div",{"code-path":"src/sections/AboutSection.tsx:154:13",className:"w-full h-full flex items-center justify-center text-white",children:c.jsx("p",{"code-path":"src/sections/AboutSection.tsx:155:15",children:"视频播放器占位"})})]})})]})}const yp="cellsort_products";function go(){try{const a=localStorage.getItem(yp);if(a)return JSON.parse(a).map(r=>({...r,createdAt:new Date(r.createdAt),updatedAt:new Date(r.updatedAt)}))}catch(a){console.error("Error reading products from localStorage:",a)}return Yc(io),io}function Yc(a){try{localStorage.setItem(yp,JSON.stringify(a)),window.dispatchEvent(new CustomEvent("productsUpdated",{detail:a}))}catch(t){console.error("Error saving products to localStorage:",t)}}function n7(a){return go().find(r=>r.id===a)}function r7(a){const t=go();t.push(a),Yc(t)}function i7(a){const t=go(),r=t.findIndex(n=>n.id===a.id);r!==-1&&(t[r]={...a,updatedAt:new Date},Yc(t))}function o7(a){const r=go().filter(n=>n.id!==a);Yc(r)}function vp(){const[a,t]=v.useState([]),[r,n]=v.useState(!0),o=v.useCallback(()=>{n(!0);const x=go();t(x),n(!1)},[]);v.useEffect(()=>{o()},[o]),v.useEffect(()=>{const x=N=>{N.key===yp&&o()},y=N=>{t(N.detail)};return window.addEventListener("storage",x),window.addEventListener("productsUpdated",y),()=>{window.removeEventListener("storage",x),window.removeEventListener("productsUpdated",y)}},[o]);const l=v.useCallback(()=>{o()},[o]),d=v.useCallback(x=>{Yc(x),t(x)},[]),f=v.useCallback(x=>{r7(x),o()},[o]),h=v.useCallback(x=>{i7(x),o()},[o]),m=v.useCallback(x=>{o7(x),o()},[o]);return{products:a,isLoading:r,refresh:l,save:d,add:f,update:h,remove:m}}function VS(a){const[t,r]=v.useState(),[n,o]=v.useState(!0),l=v.useCallback(()=>{if(!a){o(!1);return}o(!0);const f=n7(a);r(f),o(!1)},[a]);v.useEffect(()=>{l()},[l]),v.useEffect(()=>{const f=m=>{m.key===yp&&l()},h=()=>{l()};return window.addEventListener("storage",f),window.addEventListener("productsUpdated",h),()=>{window.removeEventListener("storage",f),window.removeEventListener("productsUpdated",h)}},[l]);const d=v.useCallback(()=>{l()},[l]);return{product:t,isLoading:n,refresh:d}}nt.registerPlugin(Ce);const c7={column:ws,"column-free":ca,consumables:ws},l7={column:"有柱分选","column-free":"无柱分选",consumables:"配套试剂耗材"};function u7(){const a=v.useRef(null),{products:t,isLoading:r,refresh:n}=vp(),[o,l]=v.useState("column-free"),d=t.filter(f=>f.category===o).slice(0,4);return v.useEffect(()=>{const f=nt.context(()=>{nt.fromTo(".product-card",{opacity:0,y:30},{opacity:1,y:0,duration:.6,stagger:.1,ease:"power2.out",scrollTrigger:{trigger:a.current,start:"top 80%"}})},a);return()=>f.revert()},[d]),r?c.jsx("section",{"code-path":"src/sections/ProductsSection.tsx:55:7",ref:a,className:"py-20 lg:py-32 bg-gray-50",children:c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:56:9",className:"section-padding flex items-center justify-center",children:c.jsx(jr,{"code-path":"src/sections/ProductsSection.tsx:57:11",className:"w-8 h-8 text-[#0064ff] animate-spin"})})}):c.jsx("section",{"code-path":"src/sections/ProductsSection.tsx:64:5",ref:a,className:"py-20 lg:py-32 bg-gray-50",children:c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:65:7",className:"section-padding",children:[c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:67:9",className:"flex flex-col lg:flex-row lg:items-end justify-between gap-6 mb-12",children:[c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:68:11",children:[c.jsx("span",{"code-path":"src/sections/ProductsSection.tsx:69:13",className:"text-[#0064ff] font-medium text-sm uppercase tracking-wider",children:"产品中心"}),c.jsx("h2",{"code-path":"src/sections/ProductsSection.tsx:70:13",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-3",children:"专业细胞分选产品"}),c.jsx("p",{"code-path":"src/sections/ProductsSection.tsx:73:13",className:"text-gray-600 mt-4 max-w-xl",children:"从人源到鼠源，从阴性分选到阳性分选，我们提供全面的细胞分选解决方案。"})]}),c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:77:11",className:"flex items-center gap-3",children:[c.jsx("button",{"code-path":"src/sections/ProductsSection.tsx:78:13",onClick:n,className:"p-2 text-gray-500 hover:text-[#0064ff] transition-colors",title:"刷新数据",children:c.jsx(jr,{"code-path":"src/sections/ProductsSection.tsx:83:15",className:"w-5 h-5"})}),c.jsxs(fe,{"code-path":"src/sections/ProductsSection.tsx:85:13",to:"/products",className:"inline-flex items-center gap-2 text-[#0064ff] font-medium hover:gap-3 transition-all",children:["查看全部产品",c.jsx(Is,{"code-path":"src/sections/ProductsSection.tsx:90:15",className:"w-5 h-5"})]})]})]}),c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:96:9",className:"flex gap-3 mb-10",children:[c.jsxs("button",{"code-path":"src/sections/ProductsSection.tsx:97:11",onClick:()=>l("column-free"),className:`px-6 py-3 rounded-xl font-medium text-sm transition-all flex items-center gap-2 ${o==="column-free"?"bg-[#0064ff] text-white shadow-lg shadow-blue-500/25":"bg-white text-gray-600 hover:bg-gray-100 border border-gray-200"}`,children:[c.jsx(ca,{"code-path":"src/sections/ProductsSection.tsx:105:13",className:"w-5 h-5"}),"无柱分选"]}),c.jsxs("button",{"code-path":"src/sections/ProductsSection.tsx:108:11",onClick:()=>l("column"),className:`px-6 py-3 rounded-xl font-medium text-sm transition-all flex items-center gap-2 ${o==="column"?"bg-purple-600 text-white shadow-lg shadow-purple-500/25":"bg-white text-gray-600 hover:bg-gray-100 border border-gray-200"}`,children:[c.jsx(ws,{"code-path":"src/sections/ProductsSection.tsx:116:13",className:"w-5 h-5"}),"有柱分选"]})]}),d.length>0?c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:123:11",className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:d.map(f=>c.jsx(d7,{"code-path":"src/sections/ProductsSection.tsx:125:15",product:f},f.id))}):c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:129:11",className:"text-center py-12 bg-white rounded-xl",children:c.jsx("p",{"code-path":"src/sections/ProductsSection.tsx:130:13",className:"text-gray-500",children:"暂无产品数据"})}),c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:135:9",className:"grid sm:grid-cols-3 gap-6 mt-16",children:[c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:136:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:137:13",className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mb-4",children:c.jsx(ca,{"code-path":"src/sections/ProductsSection.tsx:138:15",className:"w-6 h-6 text-[#0064ff]"})}),c.jsx("h3",{"code-path":"src/sections/ProductsSection.tsx:140:13",className:"font-semibold text-gray-900 mb-2",children:"阴性分选"}),c.jsx("p",{"code-path":"src/sections/ProductsSection.tsx:141:13",className:"text-sm text-gray-600",children:"保留细胞天然状态，适用于功能研究"})]}),c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:143:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:144:13",className:"w-12 h-12 bg-purple-100 rounded-lg flex items-center justify-center mb-4",children:c.jsx(ws,{"code-path":"src/sections/ProductsSection.tsx:145:15",className:"w-6 h-6 text-purple-600"})}),c.jsx("h3",{"code-path":"src/sections/ProductsSection.tsx:147:13",className:"font-semibold text-gray-900 mb-2",children:"阳性分选"}),c.jsx("p",{"code-path":"src/sections/ProductsSection.tsx:148:13",className:"text-sm text-gray-600",children:"高纯度目标细胞，适用于下游实验"})]}),c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:150:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:151:13",className:"w-12 h-12 bg-green-100 rounded-lg flex items-center justify-center mb-4",children:c.jsx("svg",{"code-path":"src/sections/ProductsSection.tsx:152:15",className:"w-6 h-6 text-green-600",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:c.jsx("path",{"code-path":"src/sections/ProductsSection.tsx:153:17",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"})})}),c.jsx("h3",{"code-path":"src/sections/ProductsSection.tsx:156:13",className:"font-semibold text-gray-900 mb-2",children:"严格质控"}),c.jsx("p",{"code-path":"src/sections/ProductsSection.tsx:157:13",className:"text-sm text-gray-600",children:"每批次产品经过严格检测，确保一致性"})]})]})]})})}function d7({product:a}){const t=c7[a.category]||ws;return c.jsxs(fe,{"code-path":"src/sections/ProductsSection.tsx:169:5",to:`/products/${a.id}`,className:"product-card group relative bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-xl transition-all duration-300",children:[c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:174:7",className:"aspect-square bg-gradient-to-br from-gray-50 to-gray-100 relative overflow-hidden",children:[c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:175:9",className:"absolute inset-0 flex items-center justify-center",children:c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:176:11",className:"w-20 h-20 bg-white rounded-2xl shadow-md flex items-center justify-center",children:c.jsx(t,{"code-path":"src/sections/ProductsSection.tsx:177:13",className:"w-10 h-10 text-gray-300"})})}),c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:180:9",className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:183:9",className:"absolute top-3 left-3",children:c.jsx("span",{"code-path":"src/sections/ProductsSection.tsx:184:11",className:"px-3 py-1 bg-white/90 backdrop-blur-sm rounded-full text-xs font-medium text-gray-700",children:l7[a.category]})})]}),c.jsxs("div",{"code-path":"src/sections/ProductsSection.tsx:191:7",className:"p-5",children:[c.jsx("p",{"code-path":"src/sections/ProductsSection.tsx:192:9",className:"text-xs text-gray-400",children:a.model}),c.jsx("h3",{"code-path":"src/sections/ProductsSection.tsx:193:9",className:"font-semibold text-gray-900 group-hover:text-[#0064ff] transition-colors line-clamp-2",children:a.name}),c.jsx("p",{"code-path":"src/sections/ProductsSection.tsx:196:9",className:"text-sm text-gray-600 mt-2 line-clamp-2",children:a.shortDescription}),c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:201:9",className:"flex flex-wrap gap-1 mt-4",children:a.applications.slice(0,2).map(r=>c.jsx("span",{"code-path":"src/sections/ProductsSection.tsx:203:13",className:"px-2 py-0.5 bg-blue-50 text-blue-600 text-xs rounded",children:r},r))})]}),c.jsx("div",{"code-path":"src/sections/ProductsSection.tsx:214:7",className:"absolute inset-0 border-2 border-[#0064ff] rounded-xl opacity-0 group-hover:opacity-100 transition-opacity duration-300 pointer-events-none"})]})}nt.registerPlugin(Ce);const U2={Microscope:un,Shield:Au,Sparkles:fp,FlaskConical:ca};function f7(){const a=v.useRef(null),[t,r]=v.useState(jc[0]);return v.useEffect(()=>{const n=nt.context(()=>{nt.fromTo(".solution-card",{opacity:0,x:-30},{opacity:1,x:0,duration:.6,stagger:.1,ease:"power2.out",scrollTrigger:{trigger:a.current,start:"top 80%"}})},a);return()=>n.revert()},[]),c.jsx("section",{"code-path":"src/sections/SolutionsSection.tsx:44:5",ref:a,className:"py-20 lg:py-32 bg-white",children:c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:45:7",className:"section-padding",children:[c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:47:9",className:"text-center max-w-3xl mx-auto mb-16",children:[c.jsx("span",{"code-path":"src/sections/SolutionsSection.tsx:48:11",className:"text-[#0064ff] font-medium text-sm uppercase tracking-wider",children:"解决方案"}),c.jsx("h2",{"code-path":"src/sections/SolutionsSection.tsx:49:11",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-3",children:"为不同应用场景量身定制"}),c.jsx("p",{"code-path":"src/sections/SolutionsSection.tsx:52:11",className:"text-gray-600 mt-4",children:"从基础研究到临床转化，我们提供完整的细胞分选解决方案，助力您的科研项目取得成功。"})]}),c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:57:9",className:"grid lg:grid-cols-2 gap-12 items-start",children:[c.jsx("div",{"code-path":"src/sections/SolutionsSection.tsx:59:11",className:"space-y-4",children:jc.map(n=>{const o=U2[n.icon]||un,l=t.id===n.id;return c.jsx("div",{"code-path":"src/sections/SolutionsSection.tsx:65:17",className:`solution-card cursor-pointer rounded-xl p-6 transition-all duration-300 ${l?"bg-[#0064ff] text-white shadow-lg shadow-blue-500/25":"bg-gray-50 hover:bg-gray-100"}`,onClick:()=>r(n),children:c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:74:19",className:"flex items-start gap-4",children:[c.jsx("div",{"code-path":"src/sections/SolutionsSection.tsx:75:21",className:`w-12 h-12 rounded-lg flex items-center justify-center flex-shrink-0 ${l?"bg-white/20":"bg-blue-100"}`,children:c.jsx(o,{"code-path":"src/sections/SolutionsSection.tsx:78:23",className:`w-6 h-6 ${l?"text-white":"text-[#0064ff]"}`})}),c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:80:21",className:"flex-1",children:[c.jsx("h3",{"code-path":"src/sections/SolutionsSection.tsx:81:23",className:`font-semibold text-lg ${l?"text-white":"text-gray-900"}`,children:n.title}),c.jsx("p",{"code-path":"src/sections/SolutionsSection.tsx:84:23",className:`mt-2 text-sm ${l?"text-blue-100":"text-gray-600"}`,children:n.description})]}),c.jsx(Is,{"code-path":"src/sections/SolutionsSection.tsx:88:21",className:`w-5 h-5 flex-shrink-0 transition-transform ${l?"text-white translate-x-1":"text-gray-400"}`})]})},n.id)})}),c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:98:11",className:"bg-gray-50 rounded-2xl p-8 lg:p-10",children:[c.jsx("div",{"code-path":"src/sections/SolutionsSection.tsx:99:13",className:"aspect-video bg-gradient-to-br from-blue-500 to-blue-600 rounded-xl mb-8 flex items-center justify-center overflow-hidden",children:(()=>{const n=U2[t.icon]||un;return c.jsx(n,{"code-path":"src/sections/SolutionsSection.tsx:102:24",className:"w-24 h-24 text-white/30"})})()}),c.jsx("h3",{"code-path":"src/sections/SolutionsSection.tsx:106:13",className:"text-2xl font-bold text-gray-900 mb-4",children:t.title}),c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:110:13",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:111:15",children:[c.jsx("h4",{"code-path":"src/sections/SolutionsSection.tsx:112:17",className:"font-semibold text-gray-900 mb-2",children:"应用场景"}),c.jsx("p",{"code-path":"src/sections/SolutionsSection.tsx:113:17",className:"text-gray-600 text-sm leading-relaxed",children:t.problem})]}),c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:118:15",children:[c.jsx("h4",{"code-path":"src/sections/SolutionsSection.tsx:119:17",className:"font-semibold text-gray-900 mb-3",children:"推荐产品"}),c.jsx("div",{"code-path":"src/sections/SolutionsSection.tsx:120:17",className:"flex flex-wrap gap-2",children:t.products.slice(0,4).map(n=>c.jsx("span",{"code-path":"src/sections/SolutionsSection.tsx:122:21",className:"px-3 py-1.5 bg-white border border-gray-200 rounded-lg text-sm text-gray-700",children:n},n))})]}),c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:132:15",children:[c.jsx("h4",{"code-path":"src/sections/SolutionsSection.tsx:133:17",className:"font-semibold text-gray-900 mb-3",children:"技术流程"}),c.jsx("div",{"code-path":"src/sections/SolutionsSection.tsx:134:17",className:"space-y-3",children:t.process.map(n=>c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:136:21",className:"flex items-start gap-3",children:[c.jsx("div",{"code-path":"src/sections/SolutionsSection.tsx:137:23",className:"w-6 h-6 bg-[#0064ff] rounded-full flex items-center justify-center flex-shrink-0 mt-0.5",children:c.jsx("span",{"code-path":"src/sections/SolutionsSection.tsx:138:25",className:"text-white text-xs font-medium",children:n.step})}),c.jsxs("div",{"code-path":"src/sections/SolutionsSection.tsx:140:23",children:[c.jsx("span",{"code-path":"src/sections/SolutionsSection.tsx:141:25",className:"font-medium text-gray-900",children:n.title}),c.jsx("p",{"code-path":"src/sections/SolutionsSection.tsx:142:25",className:"text-sm text-gray-500",children:n.description})]})]},n.step))})]}),c.jsxs(fe,{"code-path":"src/sections/SolutionsSection.tsx:149:15",to:`/solutions/${t.slug}`,className:"inline-flex items-center gap-2 text-[#0064ff] font-medium hover:gap-3 transition-all",children:["了解详情",c.jsx(Is,{"code-path":"src/sections/SolutionsSection.tsx:154:17",className:"w-5 h-5"})]})]})]})]})]})})}nt.registerPlugin(Ce);function p7(){const a=v.useRef(null);return v.useEffect(()=>{const t=nt.context(()=>{nt.fromTo(".tech-card",{opacity:0,y:40},{opacity:1,y:0,duration:.7,stagger:.15,ease:"power2.out",scrollTrigger:{trigger:a.current,start:"top 80%"}})},a);return()=>t.revert()},[]),c.jsx("section",{"code-path":"src/sections/TechnologySection.tsx:36:5",ref:a,className:"py-20 lg:py-32 bg-gray-900 text-white",children:c.jsxs("div",{"code-path":"src/sections/TechnologySection.tsx:37:7",className:"section-padding",children:[c.jsxs("div",{"code-path":"src/sections/TechnologySection.tsx:39:9",className:"flex flex-col lg:flex-row lg:items-end justify-between gap-6 mb-16",children:[c.jsxs("div",{"code-path":"src/sections/TechnologySection.tsx:40:11",children:[c.jsx("span",{"code-path":"src/sections/TechnologySection.tsx:41:13",className:"text-blue-400 font-medium text-sm uppercase tracking-wider",children:"技术平台"}),c.jsx("h2",{"code-path":"src/sections/TechnologySection.tsx:42:13",className:"text-3xl lg:text-4xl font-bold mt-3",children:"领先的细胞分选技术"}),c.jsx("p",{"code-path":"src/sections/TechnologySection.tsx:45:13",className:"text-gray-400 mt-4 max-w-xl",children:"基于MACS技术的创新解决方案，为全球科研人员提供高效、可靠的细胞分选工具。"})]}),c.jsxs(fe,{"code-path":"src/sections/TechnologySection.tsx:49:11",to:"/technology",className:"inline-flex items-center gap-2 text-blue-400 font-medium hover:text-blue-300 transition-colors",children:["探索全部技术",c.jsx(Is,{"code-path":"src/sections/TechnologySection.tsx:54:13",className:"w-5 h-5"})]})]}),c.jsx("div",{"code-path":"src/sections/TechnologySection.tsx:59:9",className:"grid lg:grid-cols-3 gap-8",children:Nf.map(t=>c.jsxs("div",{"code-path":"src/sections/TechnologySection.tsx:61:13",className:"tech-card bg-gray-800 rounded-2xl overflow-hidden group hover:bg-gray-750 transition-colors",children:[c.jsxs("div",{"code-path":"src/sections/TechnologySection.tsx:66:15",className:"aspect-video bg-gray-700 relative overflow-hidden",children:[c.jsx("div",{"code-path":"src/sections/TechnologySection.tsx:67:17",className:"absolute inset-0 flex items-center justify-center",children:c.jsx("div",{"code-path":"src/sections/TechnologySection.tsx:68:19",className:"w-20 h-20 bg-gray-600 rounded-xl flex items-center justify-center",children:c.jsx("span",{"code-path":"src/sections/TechnologySection.tsx:69:21",className:"text-3xl font-bold text-gray-400",children:t.name.charAt(0)})})}),c.jsx("div",{"code-path":"src/sections/TechnologySection.tsx:74:17",className:"absolute inset-0 bg-gradient-to-t from-gray-800 to-transparent"})]}),c.jsxs("div",{"code-path":"src/sections/TechnologySection.tsx:78:15",className:"p-6",children:[c.jsx("h3",{"code-path":"src/sections/TechnologySection.tsx:79:17",className:"text-xl font-semibold mb-3",children:t.name}),c.jsx("p",{"code-path":"src/sections/TechnologySection.tsx:80:17",className:"text-gray-400 text-sm leading-relaxed mb-6",children:t.description}),c.jsx("div",{"code-path":"src/sections/TechnologySection.tsx:85:17",className:"space-y-2 mb-6",children:t.features.slice(0,3).map((r,n)=>c.jsxs("div",{"code-path":"src/sections/TechnologySection.tsx:87:21",className:"flex items-center gap-2",children:[c.jsx(Lc,{"code-path":"src/sections/TechnologySection.tsx:88:23",className:"w-4 h-4 text-blue-400 flex-shrink-0"}),c.jsx("span",{"code-path":"src/sections/TechnologySection.tsx:89:23",className:"text-sm text-gray-300",children:r})]},n))}),t.documents.length>0&&c.jsxs("div",{"code-path":"src/sections/TechnologySection.tsx:96:19",className:"pt-4 border-t border-gray-700",children:[c.jsx("p",{"code-path":"src/sections/TechnologySection.tsx:97:21",className:"text-xs text-gray-500 mb-3",children:"技术文档"}),c.jsx("div",{"code-path":"src/sections/TechnologySection.tsx:98:21",className:"space-y-2",children:t.documents.slice(0,2).map(r=>c.jsxs("a",{"code-path":"src/sections/TechnologySection.tsx:100:25",href:r.url,className:"flex items-center gap-2 text-sm text-blue-400 hover:text-blue-300 transition-colors",children:[c.jsx(wn,{"code-path":"src/sections/TechnologySection.tsx:105:27",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/sections/TechnologySection.tsx:106:27",children:r.name}),c.jsxs("span",{"code-path":"src/sections/TechnologySection.tsx:107:27",className:"text-gray-500 text-xs",children:["(",r.size,")"]})]},r.name))})]})]})]},t.id))}),c.jsx("div",{"code-path":"src/sections/TechnologySection.tsx:119:9",className:"mt-16 text-center",children:c.jsxs("div",{"code-path":"src/sections/TechnologySection.tsx:120:11",className:"inline-flex flex-col sm:flex-row items-center gap-4 bg-gray-800 rounded-2xl p-8",children:[c.jsxs("div",{"code-path":"src/sections/TechnologySection.tsx:121:13",className:"text-left",children:[c.jsx("h3",{"code-path":"src/sections/TechnologySection.tsx:122:15",className:"text-xl font-semibold mb-2",children:"需要技术支持？"}),c.jsx("p",{"code-path":"src/sections/TechnologySection.tsx:123:15",className:"text-gray-400 text-sm",children:"我们的技术团队随时为您提供专业的应用支持"})]}),c.jsx(fe,{"code-path":"src/sections/TechnologySection.tsx:125:13",to:"/contact",className:"px-6 py-3 bg-[#0064ff] text-white rounded-lg font-medium hover:bg-blue-600 transition-colors whitespace-nowrap",children:"联系技术支持"})]})})]})})}nt.registerPlugin(Ce);function h7(){const a=v.useRef(null),[t,r]=v.useState(0),[n,o]=v.useState(!1),l=()=>{n||(o(!0),r(h=>(h+1)%zl.length),setTimeout(()=>o(!1),500))},d=()=>{n||(o(!0),r(h=>(h-1+zl.length)%zl.length),setTimeout(()=>o(!1),500))};v.useEffect(()=>{const h=nt.context(()=>{nt.fromTo(".testimonial-content",{opacity:0,y:30},{opacity:1,y:0,duration:.8,ease:"power2.out",scrollTrigger:{trigger:a.current,start:"top 80%"}})},a);return()=>h.revert()},[]),v.useEffect(()=>{const h=setInterval(l,6e3);return()=>clearInterval(h)},[]);const f=zl[t];return c.jsx("section",{"code-path":"src/sections/TestimonialsSection.tsx:58:5",ref:a,className:"py-20 lg:py-32 bg-blue-50",children:c.jsx("div",{"code-path":"src/sections/TestimonialsSection.tsx:59:7",className:"section-padding",children:c.jsxs("div",{"code-path":"src/sections/TestimonialsSection.tsx:60:9",className:"max-w-4xl mx-auto",children:[c.jsxs("div",{"code-path":"src/sections/TestimonialsSection.tsx:62:11",className:"text-center mb-12",children:[c.jsx("span",{"code-path":"src/sections/TestimonialsSection.tsx:63:13",className:"text-[#0064ff] font-medium text-sm uppercase tracking-wider",children:"客户评价"}),c.jsx("h2",{"code-path":"src/sections/TestimonialsSection.tsx:64:13",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-3",children:"听听客户怎么说"})]}),c.jsxs("div",{"code-path":"src/sections/TestimonialsSection.tsx:70:11",className:"testimonial-content relative bg-white rounded-2xl shadow-xl shadow-blue-500/10 p-8 lg:p-12",children:[c.jsx("div",{"code-path":"src/sections/TestimonialsSection.tsx:72:13",className:"absolute -top-6 left-8 w-12 h-12 bg-[#0064ff] rounded-xl flex items-center justify-center",children:c.jsx(U6,{"code-path":"src/sections/TestimonialsSection.tsx:73:15",className:"w-6 h-6 text-white"})}),c.jsxs("div",{"code-path":"src/sections/TestimonialsSection.tsx:77:13",className:`transition-all duration-500 ${n?"opacity-0 blur-sm":"opacity-100 blur-0"}`,children:[c.jsxs("p",{"code-path":"src/sections/TestimonialsSection.tsx:81:15",className:"text-lg lg:text-xl text-gray-700 leading-relaxed mb-8",children:['"',f.content,'"']}),c.jsxs("div",{"code-path":"src/sections/TestimonialsSection.tsx:85:15",className:"flex items-center gap-4",children:[c.jsx("div",{"code-path":"src/sections/TestimonialsSection.tsx:86:17",className:"w-14 h-14 bg-gray-200 rounded-full flex items-center justify-center",children:c.jsx("span",{"code-path":"src/sections/TestimonialsSection.tsx:87:19",className:"text-xl font-bold text-gray-400",children:f.author.charAt(0)})}),c.jsxs("div",{"code-path":"src/sections/TestimonialsSection.tsx:91:17",children:[c.jsx("h4",{"code-path":"src/sections/TestimonialsSection.tsx:92:19",className:"font-semibold text-gray-900",children:f.author}),c.jsxs("p",{"code-path":"src/sections/TestimonialsSection.tsx:93:19",className:"text-sm text-gray-500",children:[f.title,"，",f.organization]})]})]})]},f.id),c.jsxs("div",{"code-path":"src/sections/TestimonialsSection.tsx:101:13",className:"flex items-center justify-between mt-8 pt-6 border-t border-gray-100",children:[c.jsx("div",{"code-path":"src/sections/TestimonialsSection.tsx:103:15",className:"flex gap-2",children:zl.map((h,m)=>c.jsx("button",{"code-path":"src/sections/TestimonialsSection.tsx:105:19",onClick:()=>{n||(o(!0),r(m),setTimeout(()=>o(!1),500))},className:`w-2.5 h-2.5 rounded-full transition-all ${m===t?"bg-[#0064ff] w-8":"bg-gray-300 hover:bg-gray-400"}`},m))}),c.jsxs("div",{"code-path":"src/sections/TestimonialsSection.tsx:124:15",className:"flex gap-2",children:[c.jsx("button",{"code-path":"src/sections/TestimonialsSection.tsx:125:17",onClick:d,className:"w-10 h-10 border border-gray-200 rounded-lg flex items-center justify-center hover:bg-gray-50 transition-colors",children:c.jsx(DE,{"code-path":"src/sections/TestimonialsSection.tsx:129:19",className:"w-5 h-5 text-gray-600"})}),c.jsx("button",{"code-path":"src/sections/TestimonialsSection.tsx:131:17",onClick:l,className:"w-10 h-10 border border-gray-200 rounded-lg flex items-center justify-center hover:bg-gray-50 transition-colors",children:c.jsx(Vs,{"code-path":"src/sections/TestimonialsSection.tsx:135:19",className:"w-5 h-5 text-gray-600"})})]})]})]}),c.jsxs("div",{"code-path":"src/sections/TestimonialsSection.tsx:142:11",className:"mt-16",children:[c.jsx("p",{"code-path":"src/sections/TestimonialsSection.tsx:143:13",className:"text-center text-sm text-gray-500 mb-8",children:"受到众多知名机构信赖"}),c.jsx("div",{"code-path":"src/sections/TestimonialsSection.tsx:144:13",className:"flex flex-wrap justify-center items-center gap-8 lg:gap-12 opacity-50",children:["中科院","清华大学","北京大学","复旦大学","上海交大"].map(h=>c.jsx("div",{"code-path":"src/sections/TestimonialsSection.tsx:146:17",className:"text-lg font-semibold text-gray-400",children:h},h))})]})]})})})}nt.registerPlugin(Ce);const m7={company:"公司新闻",industry:"行业动态",technology:"技术文章"},g7={company:"bg-blue-100 text-blue-600",industry:"bg-green-100 text-green-600",technology:"bg-purple-100 text-purple-600"};function x7(){const a=v.useRef(null),t=fi.filter(r=>r.featured).slice(0,3);return v.useEffect(()=>{const r=nt.context(()=>{nt.fromTo(".news-card",{opacity:0,y:30},{opacity:1,y:0,duration:.6,stagger:.1,ease:"power2.out",scrollTrigger:{trigger:a.current,start:"top 80%"}})},a);return()=>r.revert()},[]),c.jsx("section",{"code-path":"src/sections/NewsSection.tsx:50:5",ref:a,className:"py-20 lg:py-32 bg-white",children:c.jsxs("div",{"code-path":"src/sections/NewsSection.tsx:51:7",className:"section-padding",children:[c.jsxs("div",{"code-path":"src/sections/NewsSection.tsx:53:9",className:"flex flex-col lg:flex-row lg:items-end justify-between gap-6 mb-12",children:[c.jsxs("div",{"code-path":"src/sections/NewsSection.tsx:54:11",children:[c.jsx("span",{"code-path":"src/sections/NewsSection.tsx:55:13",className:"text-[#0064ff] font-medium text-sm uppercase tracking-wider",children:"新闻资讯"}),c.jsx("h2",{"code-path":"src/sections/NewsSection.tsx:56:13",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-3",children:"最新动态"}),c.jsx("p",{"code-path":"src/sections/NewsSection.tsx:59:13",className:"text-gray-600 mt-4 max-w-xl",children:"了解CellSort的最新产品发布、技术突破和行业资讯。"})]}),c.jsxs(fe,{"code-path":"src/sections/NewsSection.tsx:63:11",to:"/news",className:"inline-flex items-center gap-2 text-[#0064ff] font-medium hover:gap-3 transition-all",children:["查看全部新闻",c.jsx(Is,{"code-path":"src/sections/NewsSection.tsx:68:13",className:"w-5 h-5"})]})]}),c.jsx("div",{"code-path":"src/sections/NewsSection.tsx:73:9",className:"grid lg:grid-cols-3 gap-8",children:t.map((r,n)=>c.jsx(fe,{"code-path":"src/sections/NewsSection.tsx:75:13",to:`/news/${r.slug}`,className:`news-card group ${n===0?"lg:col-span-2 lg:row-span-2":""}`,children:c.jsxs("article",{"code-path":"src/sections/NewsSection.tsx:80:15",className:"bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-xl transition-all duration-300 h-full border border-gray-100",children:[c.jsxs("div",{"code-path":"src/sections/NewsSection.tsx:82:17",className:`relative bg-gray-100 overflow-hidden ${n===0?"aspect-video":"aspect-[16/10]"}`,children:[c.jsx("div",{"code-path":"src/sections/NewsSection.tsx:83:19",className:"absolute inset-0 flex items-center justify-center",children:c.jsx("span",{"code-path":"src/sections/NewsSection.tsx:84:21",className:"text-4xl font-bold text-gray-300",children:r.title.charAt(0)})}),c.jsx("div",{"code-path":"src/sections/NewsSection.tsx:88:19",className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),c.jsx("div",{"code-path":"src/sections/NewsSection.tsx:91:19",className:"absolute top-4 left-4",children:c.jsx("span",{"code-path":"src/sections/NewsSection.tsx:92:21",className:`px-3 py-1 rounded-full text-xs font-medium ${g7[r.category]}`,children:m7[r.category]})})]}),c.jsxs("div",{"code-path":"src/sections/NewsSection.tsx:99:17",className:"p-6",children:[c.jsxs("div",{"code-path":"src/sections/NewsSection.tsx:101:19",className:"flex items-center gap-4 text-sm text-gray-500 mb-3",children:[c.jsxs("span",{"code-path":"src/sections/NewsSection.tsx:102:21",className:"flex items-center gap-1",children:[c.jsx(zf,{"code-path":"src/sections/NewsSection.tsx:103:23",className:"w-4 h-4"}),new Date(r.publishedAt).toLocaleDateString("zh-CN")]}),c.jsxs("span",{"code-path":"src/sections/NewsSection.tsx:106:21",className:"flex items-center gap-1",children:[c.jsx(pp,{"code-path":"src/sections/NewsSection.tsx:107:23",className:"w-4 h-4"}),r.author]})]}),c.jsx("h3",{"code-path":"src/sections/NewsSection.tsx:112:19",className:`font-semibold text-gray-900 group-hover:text-[#0064ff] transition-colors ${n===0?"text-xl lg:text-2xl":"text-lg"}`,children:r.title}),c.jsx("p",{"code-path":"src/sections/NewsSection.tsx:116:19",className:"text-gray-600 text-sm mt-3 line-clamp-2",children:r.excerpt}),c.jsxs("div",{"code-path":"src/sections/NewsSection.tsx:121:19",className:"flex items-center gap-2 mt-4 text-[#0064ff] font-medium text-sm",children:[c.jsx("span",{"code-path":"src/sections/NewsSection.tsx:122:21",children:"阅读更多"}),c.jsx(Is,{"code-path":"src/sections/NewsSection.tsx:123:21",className:"w-4 h-4 transition-transform group-hover:translate-x-1"})]})]})]})},r.id))})]})})}nt.registerPlugin(Ce);function y7(){const a=v.useRef(null);return v.useEffect(()=>{const t=nt.context(()=>{nt.fromTo(".cta-content",{opacity:0,y:40},{opacity:1,y:0,duration:.8,ease:"power2.out",scrollTrigger:{trigger:a.current,start:"top 80%"}})},a);return()=>t.revert()},[]),c.jsxs("section",{"code-path":"src/sections/CTASection.tsx:34:5",ref:a,className:"py-20 lg:py-32 bg-[#005bdb] relative overflow-hidden",children:[c.jsxs("div",{"code-path":"src/sections/CTASection.tsx:39:7",className:"absolute inset-0",children:[c.jsx("div",{"code-path":"src/sections/CTASection.tsx:40:9",className:"absolute top-0 left-1/4 w-96 h-96 bg-[#0064ff] rounded-full blur-3xl opacity-50"}),c.jsx("div",{"code-path":"src/sections/CTASection.tsx:41:9",className:"absolute bottom-0 right-1/4 w-96 h-96 bg-blue-400 rounded-full blur-3xl opacity-30"})]}),c.jsx("div",{"code-path":"src/sections/CTASection.tsx:45:7",className:"absolute inset-0 opacity-10",children:c.jsx("div",{"code-path":"src/sections/CTASection.tsx:46:9",className:"w-full h-full",style:{backgroundImage:"radial-gradient(circle at 2px 2px, white 1px, transparent 0)",backgroundSize:"40px 40px"}})}),c.jsx("div",{"code-path":"src/sections/CTASection.tsx:55:7",className:"section-padding relative z-10",children:c.jsxs("div",{"code-path":"src/sections/CTASection.tsx:56:9",className:"cta-content max-w-4xl mx-auto text-center",children:[c.jsx("h2",{"code-path":"src/sections/CTASection.tsx:57:11",className:"text-3xl lg:text-5xl font-bold text-white mb-6",children:"准备好革新您的研究了吗？"}),c.jsx("p",{"code-path":"src/sections/CTASection.tsx:60:11",className:"text-blue-100 text-lg mb-10 max-w-2xl mx-auto",children:"联系我们的专家团队，获取个性化的细胞分选解决方案和技术支持。"}),c.jsxs("div",{"code-path":"src/sections/CTASection.tsx:64:11",className:"flex flex-col sm:flex-row items-center justify-center gap-4",children:[c.jsxs(fe,{"code-path":"src/sections/CTASection.tsx:65:13",to:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 bg-white text-[#0064ff] rounded-xl font-semibold hover:bg-blue-50 transition-colors",children:["立即联系我们",c.jsx(Is,{"code-path":"src/sections/CTASection.tsx:70:15",className:"w-5 h-5"})]}),c.jsxs("a",{"code-path":"src/sections/CTASection.tsx:72:13",href:"tel:+862158888888",className:"inline-flex items-center gap-2 px-8 py-4 border-2 border-white/30 text-white rounded-xl font-semibold hover:bg-white/10 transition-colors",children:[c.jsx(uu,{"code-path":"src/sections/CTASection.tsx:76:15",className:"w-5 h-5"}),"+86 21 5888 8888"]})]}),c.jsxs("div",{"code-path":"src/sections/CTASection.tsx:82:11",className:"mt-12 flex flex-wrap justify-center gap-8",children:[c.jsxs("div",{"code-path":"src/sections/CTASection.tsx:83:13",className:"flex items-center gap-3 text-blue-100",children:[c.jsx("div",{"code-path":"src/sections/CTASection.tsx:84:15",className:"w-10 h-10 bg-white/10 rounded-lg flex items-center justify-center",children:c.jsx(Hc,{"code-path":"src/sections/CTASection.tsx:85:17",className:"w-5 h-5"})}),c.jsxs("div",{"code-path":"src/sections/CTASection.tsx:87:15",className:"text-left",children:[c.jsx("p",{"code-path":"src/sections/CTASection.tsx:88:17",className:"text-sm opacity-70",children:"邮箱"}),c.jsx("p",{"code-path":"src/sections/CTASection.tsx:89:17",className:"font-medium",children:"info@cellsort.com"})]})]}),c.jsxs("div",{"code-path":"src/sections/CTASection.tsx:92:13",className:"flex items-center gap-3 text-blue-100",children:[c.jsx("div",{"code-path":"src/sections/CTASection.tsx:93:15",className:"w-10 h-10 bg-white/10 rounded-lg flex items-center justify-center",children:c.jsx(uu,{"code-path":"src/sections/CTASection.tsx:94:17",className:"w-5 h-5"})}),c.jsxs("div",{"code-path":"src/sections/CTASection.tsx:96:15",className:"text-left",children:[c.jsx("p",{"code-path":"src/sections/CTASection.tsx:97:17",className:"text-sm opacity-70",children:"电话"}),c.jsx("p",{"code-path":"src/sections/CTASection.tsx:98:17",className:"font-medium",children:"+86 21 5888 8888"})]})]})]})]})})]})}function v7(){return c.jsxs("div",{"code-path":"src/pages/Home.tsx:14:5",className:"min-h-screen",children:[c.jsx(Kn,{"code-path":"src/pages/Home.tsx:15:7"}),c.jsxs("main",{"code-path":"src/pages/Home.tsx:16:7",children:[c.jsx(LA,{"code-path":"src/pages/Home.tsx:17:9"}),c.jsx(a7,{"code-path":"src/pages/Home.tsx:18:9"}),c.jsx(u7,{"code-path":"src/pages/Home.tsx:19:9"}),c.jsx(f7,{"code-path":"src/pages/Home.tsx:20:9"}),c.jsx(p7,{"code-path":"src/pages/Home.tsx:21:9"}),c.jsx(h7,{"code-path":"src/pages/Home.tsx:22:9"}),c.jsx(x7,{"code-path":"src/pages/Home.tsx:23:9"}),c.jsx(y7,{"code-path":"src/pages/Home.tsx:24:9"})]}),c.jsx(Zn,{"code-path":"src/pages/Home.tsx:26:7"})]})}function De({className:a,type:t,...r}){return c.jsx("input",{"code-path":"src/components/ui/input.tsx:7:5",type:t,"data-slot":"input",className:cs("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","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",a),...r})}const b7={column:ws,"column-free":ca,consumables:Fn},w7={column:"有柱分选","column-free":"无柱分选",consumables:"配套试剂耗材"},wg={column:"阳性分选策略，通过磁珠直接标记目标细胞表面抗原，获得高纯度细胞群体","column-free":"阴性分选策略，通过去除非目标细胞来富集目标细胞，保留细胞天然状态",consumables:"配套试剂和耗材，支持细胞分选实验的完整流程"};function N7(){const{products:a,isLoading:t,refresh:r}=vp(),[n,o]=nE(),[l,d]=v.useState(""),f=n.get("category")||"all",h=v.useMemo(()=>a.filter(x=>{const y=f==="all"||x.category===f,N=l===""||x.name.toLowerCase().includes(l.toLowerCase())||x.model.toLowerCase().includes(l.toLowerCase())||x.description.toLowerCase().includes(l.toLowerCase());return y&&N}),[a,f,l]),m=x=>{x==="all"?n.delete("category"):n.set("category",x),o(n)};return t?c.jsx("div",{"code-path":"src/pages/Products.tsx:59:7",className:"min-h-screen bg-gray-50 flex items-center justify-center",children:c.jsx(jr,{"code-path":"src/pages/Products.tsx:60:9",className:"w-8 h-8 text-[#0064ff] animate-spin"})}):c.jsxs("div",{"code-path":"src/pages/Products.tsx:66:5",className:"min-h-screen bg-gray-50",children:[c.jsx(Kn,{"code-path":"src/pages/Products.tsx:67:7"}),c.jsx("div",{"code-path":"src/pages/Products.tsx:70:7",className:"pt-24 pb-12 bg-gradient-to-br from-gray-900 to-gray-800 text-white",children:c.jsx("div",{"code-path":"src/pages/Products.tsx:71:9",className:"section-padding",children:c.jsxs("div",{"code-path":"src/pages/Products.tsx:72:11",className:"flex flex-col md:flex-row md:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/Products.tsx:73:13",children:[c.jsx("h1",{"code-path":"src/pages/Products.tsx:74:15",className:"text-3xl lg:text-4xl font-bold",children:"产品中心"}),c.jsx("p",{"code-path":"src/pages/Products.tsx:75:15",className:"text-gray-400 mt-2",children:"全面的细胞分选产品系列，满足您的各种研究需求"})]}),c.jsxs("div",{"code-path":"src/pages/Products.tsx:77:13",className:"flex items-center gap-2 text-sm text-gray-400",children:[c.jsx(fe,{"code-path":"src/pages/Products.tsx:78:15",to:"/",className:"hover:text-white",children:"首页"}),c.jsx(Vs,{"code-path":"src/pages/Products.tsx:79:15",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/pages/Products.tsx:80:15",children:"产品中心"})]})]})})}),c.jsx("div",{"code-path":"src/pages/Products.tsx:87:7",className:"section-padding -mt-8",children:c.jsxs("div",{"code-path":"src/pages/Products.tsx:88:9",className:"grid md:grid-cols-3 gap-6",children:[c.jsx("button",{"code-path":"src/pages/Products.tsx:90:11",onClick:()=>m("column-free"),className:`text-left bg-white rounded-2xl p-6 shadow-lg transition-all hover:shadow-xl ${f==="column-free"?"ring-2 ring-[#0064ff]":""}`,children:c.jsxs("div",{"code-path":"src/pages/Products.tsx:96:13",className:"flex items-start gap-4",children:[c.jsx("div",{"code-path":"src/pages/Products.tsx:97:15",className:"w-14 h-14 bg-blue-100 rounded-xl flex items-center justify-center flex-shrink-0",children:c.jsx(ca,{"code-path":"src/pages/Products.tsx:98:17",className:"w-7 h-7 text-[#0064ff]"})}),c.jsxs("div",{"code-path":"src/pages/Products.tsx:100:15",children:[c.jsx("h3",{"code-path":"src/pages/Products.tsx:101:17",className:"text-xl font-bold text-gray-900",children:"无柱分选产品"}),c.jsx("p",{"code-path":"src/pages/Products.tsx:102:17",className:"text-gray-500 text-sm mt-1",children:wg["column-free"]}),c.jsxs("div",{"code-path":"src/pages/Products.tsx:103:17",className:"flex items-center gap-2 mt-3 text-[#0064ff] font-medium text-sm",children:[c.jsx("span",{"code-path":"src/pages/Products.tsx:104:19",children:"查看产品"}),c.jsx(Is,{"code-path":"src/pages/Products.tsx:105:19",className:"w-4 h-4"})]})]})]})}),c.jsx("button",{"code-path":"src/pages/Products.tsx:112:11",onClick:()=>m("column"),className:`text-left bg-white rounded-2xl p-6 shadow-lg transition-all hover:shadow-xl ${f==="column"?"ring-2 ring-purple-500":""}`,children:c.jsxs("div",{"code-path":"src/pages/Products.tsx:118:13",className:"flex items-start gap-4",children:[c.jsx("div",{"code-path":"src/pages/Products.tsx:119:15",className:"w-14 h-14 bg-purple-100 rounded-xl flex items-center justify-center flex-shrink-0",children:c.jsx(ws,{"code-path":"src/pages/Products.tsx:120:17",className:"w-7 h-7 text-purple-600"})}),c.jsxs("div",{"code-path":"src/pages/Products.tsx:122:15",children:[c.jsx("h3",{"code-path":"src/pages/Products.tsx:123:17",className:"text-xl font-bold text-gray-900",children:"有柱分选产品"}),c.jsx("p",{"code-path":"src/pages/Products.tsx:124:17",className:"text-gray-500 text-sm mt-1",children:wg.column}),c.jsxs("div",{"code-path":"src/pages/Products.tsx:125:17",className:"flex items-center gap-2 mt-3 text-purple-600 font-medium text-sm",children:[c.jsx("span",{"code-path":"src/pages/Products.tsx:126:19",children:"查看产品"}),c.jsx(Is,{"code-path":"src/pages/Products.tsx:127:19",className:"w-4 h-4"})]})]})]})}),c.jsx("button",{"code-path":"src/pages/Products.tsx:134:11",onClick:()=>m("consumables"),className:`text-left bg-white rounded-2xl p-6 shadow-lg transition-all hover:shadow-xl ${f==="consumables"?"ring-2 ring-green-500":""}`,children:c.jsxs("div",{"code-path":"src/pages/Products.tsx:140:13",className:"flex items-start gap-4",children:[c.jsx("div",{"code-path":"src/pages/Products.tsx:141:15",className:"w-14 h-14 bg-green-100 rounded-xl flex items-center justify-center flex-shrink-0",children:c.jsx(Fn,{"code-path":"src/pages/Products.tsx:142:17",className:"w-7 h-7 text-green-600"})}),c.jsxs("div",{"code-path":"src/pages/Products.tsx:144:15",children:[c.jsx("h3",{"code-path":"src/pages/Products.tsx:145:17",className:"text-xl font-bold text-gray-900",children:"配套试剂耗材"}),c.jsx("p",{"code-path":"src/pages/Products.tsx:146:17",className:"text-gray-500 text-sm mt-1",children:wg.consumables}),c.jsxs("div",{"code-path":"src/pages/Products.tsx:147:17",className:"flex items-center gap-2 mt-3 text-green-600 font-medium text-sm",children:[c.jsx("span",{"code-path":"src/pages/Products.tsx:148:19",children:"查看产品"}),c.jsx(Is,{"code-path":"src/pages/Products.tsx:149:19",className:"w-4 h-4"})]})]})]})})]})}),c.jsx("div",{"code-path":"src/pages/Products.tsx:158:7",className:"sticky top-16 z-40 bg-white border-b border-gray-200 shadow-sm mt-8",children:c.jsx("div",{"code-path":"src/pages/Products.tsx:159:9",className:"section-padding py-4",children:c.jsxs("div",{"code-path":"src/pages/Products.tsx:160:11",className:"flex flex-col lg:flex-row lg:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/Products.tsx:162:13",className:"flex flex-wrap gap-2",children:[c.jsx("button",{"code-path":"src/pages/Products.tsx:163:15",onClick:()=>m("all"),className:`px-4 py-2 rounded-lg font-medium text-sm transition-all ${f==="all"?"bg-[#0064ff] text-white":"bg-gray-100 text-gray-600 hover:bg-gray-200"}`,children:"全部产品"}),c.jsxs("button",{"code-path":"src/pages/Products.tsx:173:15",onClick:()=>m("column-free"),className:`px-4 py-2 rounded-lg font-medium text-sm transition-all flex items-center gap-2 ${f==="column-free"?"bg-[#0064ff] text-white":"bg-gray-100 text-gray-600 hover:bg-gray-200"}`,children:[c.jsx(ca,{"code-path":"src/pages/Products.tsx:181:17",className:"w-4 h-4"}),"无柱分选"]}),c.jsxs("button",{"code-path":"src/pages/Products.tsx:184:15",onClick:()=>m("column"),className:`px-4 py-2 rounded-lg font-medium text-sm transition-all flex items-center gap-2 ${f==="column"?"bg-purple-600 text-white":"bg-gray-100 text-gray-600 hover:bg-gray-200"}`,children:[c.jsx(ws,{"code-path":"src/pages/Products.tsx:192:17",className:"w-4 h-4"}),"有柱分选"]}),c.jsxs("button",{"code-path":"src/pages/Products.tsx:195:15",onClick:()=>m("consumables"),className:`px-4 py-2 rounded-lg font-medium text-sm transition-all flex items-center gap-2 ${f==="consumables"?"bg-green-600 text-white":"bg-gray-100 text-gray-600 hover:bg-gray-200"}`,children:[c.jsx(Fn,{"code-path":"src/pages/Products.tsx:203:17",className:"w-4 h-4"}),"配套试剂耗材"]})]}),c.jsxs("div",{"code-path":"src/pages/Products.tsx:209:13",className:"flex gap-2",children:[c.jsxs("div",{"code-path":"src/pages/Products.tsx:210:15",className:"relative w-full lg:w-72",children:[c.jsx(Oa,{"code-path":"src/pages/Products.tsx:211:17",className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),c.jsx(De,{"code-path":"src/pages/Products.tsx:212:17",type:"text",placeholder:"搜索产品...",value:l,onChange:x=>d(x.target.value),className:"pl-10"})]}),c.jsx($e,{"code-path":"src/pages/Products.tsx:220:15",variant:"outline",size:"icon",onClick:r,title:"刷新数据",children:c.jsx(jr,{"code-path":"src/pages/Products.tsx:226:17",className:"w-4 h-4"})})]})]})})}),c.jsx("div",{"code-path":"src/pages/Products.tsx:234:7",className:"section-padding py-12",children:h.length>0?c.jsx("div",{"code-path":"src/pages/Products.tsx:236:11",className:"grid sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-6",children:h.map(x=>c.jsx(S7,{"code-path":"src/pages/Products.tsx:238:15",product:x},x.id))}):c.jsxs("div",{"code-path":"src/pages/Products.tsx:242:11",className:"text-center py-20",children:[c.jsx("div",{"code-path":"src/pages/Products.tsx:243:13",className:"w-20 h-20 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-4",children:c.jsx(Oa,{"code-path":"src/pages/Products.tsx:244:15",className:"w-10 h-10 text-gray-400"})}),c.jsx("h3",{"code-path":"src/pages/Products.tsx:246:13",className:"text-lg font-semibold text-gray-900",children:"未找到相关产品"}),c.jsx("p",{"code-path":"src/pages/Products.tsx:247:13",className:"text-gray-500 mt-2",children:"请尝试其他搜索条件"})]})}),c.jsx(Zn,{"code-path":"src/pages/Products.tsx:252:7"})]})}function S7({product:a}){const t=b7[a.category]||ws;return c.jsx(fe,{"code-path":"src/pages/Products.tsx:261:5",to:`/products/${a.id}`,className:"group",children:c.jsxs("div",{"code-path":"src/pages/Products.tsx:262:7",className:"bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-xl transition-all duration-300 h-full flex flex-col",children:[c.jsxs("div",{"code-path":"src/pages/Products.tsx:264:9",className:"aspect-square bg-gradient-to-br from-gray-50 to-gray-100 relative overflow-hidden",children:[c.jsx("div",{"code-path":"src/pages/Products.tsx:265:11",className:"absolute inset-0 flex items-center justify-center",children:c.jsx("div",{"code-path":"src/pages/Products.tsx:266:13",className:"w-24 h-24 bg-white rounded-2xl shadow-md flex items-center justify-center",children:c.jsx(t,{"code-path":"src/pages/Products.tsx:267:15",className:"w-12 h-12 text-gray-300"})})}),c.jsx("div",{"code-path":"src/pages/Products.tsx:270:11",className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),c.jsx("div",{"code-path":"src/pages/Products.tsx:273:11",className:"absolute top-3 left-3",children:c.jsx("span",{"code-path":"src/pages/Products.tsx:274:13",className:"px-3 py-1 bg-white/90 backdrop-blur-sm rounded-full text-xs font-medium text-gray-700",children:w7[a.category]})}),a.featured&&c.jsx("div",{"code-path":"src/pages/Products.tsx:281:13",className:"absolute top-3 right-3",children:c.jsx("span",{"code-path":"src/pages/Products.tsx:282:15",className:"px-3 py-1 bg-[#0064ff] rounded-full text-xs font-medium text-white",children:"推荐"})})]}),c.jsxs("div",{"code-path":"src/pages/Products.tsx:290:9",className:"p-5 flex-1 flex flex-col",children:[c.jsx("div",{"code-path":"src/pages/Products.tsx:291:11",className:"flex items-start justify-between gap-2",children:c.jsxs("div",{"code-path":"src/pages/Products.tsx:292:13",children:[c.jsx("p",{"code-path":"src/pages/Products.tsx:293:15",className:"text-xs text-gray-400",children:a.model}),c.jsx("h3",{"code-path":"src/pages/Products.tsx:294:15",className:"font-semibold text-gray-900 group-hover:text-[#0064ff] transition-colors line-clamp-2",children:a.name})]})}),c.jsx("p",{"code-path":"src/pages/Products.tsx:300:11",className:"text-sm text-gray-600 mt-3 line-clamp-2 flex-1",children:a.shortDescription}),c.jsxs("div",{"code-path":"src/pages/Products.tsx:305:11",className:"flex flex-wrap gap-1 mt-4",children:[a.applications.slice(0,2).map(r=>c.jsx("span",{"code-path":"src/pages/Products.tsx:307:15",className:"px-2 py-0.5 bg-blue-50 text-blue-600 text-xs rounded",children:r},r)),a.applications.length>2&&c.jsxs("span",{"code-path":"src/pages/Products.tsx:315:15",className:"px-2 py-0.5 bg-gray-100 text-gray-600 text-xs rounded",children:["+",a.applications.length-2]})]}),a.downloads.length>0&&c.jsx("div",{"code-path":"src/pages/Products.tsx:323:13",className:"mt-4 pt-4 border-t border-gray-100",children:c.jsxs("div",{"code-path":"src/pages/Products.tsx:324:15",className:"flex items-center gap-2 text-sm text-gray-500",children:[c.jsx(lu,{"code-path":"src/pages/Products.tsx:325:17",className:"w-4 h-4"}),c.jsxs("span",{"code-path":"src/pages/Products.tsx:326:17",children:[a.downloads.length," 个文档"]})]})})]})]})})}const rc={title:"CellSort - 专业细胞分选技术解决方案",description:"CellSort是专业的细胞分选技术解决方案提供商，为全球生命科学研究提供高品质的产品和服务。",keywords:"细胞分选,磁珠分选,MACS,细胞分离,免疫磁珠,T细胞分选",ogImage:"/images/og-default.jpg"};function _7({title:a,description:t,keywords:r,ogImage:n,ogTitle:o,ogDescription:l,canonicalUrl:d}){const f=a?`${a} | CellSort`:rc.title,h=t||rc.description,m=r||rc.keywords,x=n||rc.ogImage,y=o||a||rc.title,N=l||t||rc.description;return c.jsxs(T3,{"code-path":"src/components/SEO.tsx:37:5",children:[c.jsx("title",{"code-path":"src/components/SEO.tsx:39:7",children:f}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:40:7",name:"description",content:h}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:41:7",name:"keywords",content:m}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:44:7",property:"og:title",content:y}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:45:7",property:"og:description",content:N}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:46:7",property:"og:image",content:x}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:47:7",property:"og:type",content:"website"}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:48:7",property:"og:site_name",content:"CellSort"}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:51:7",name:"twitter:card",content:"summary_large_image"}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:52:7",name:"twitter:title",content:y}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:53:7",name:"twitter:description",content:N}),c.jsx("meta",{"code-path":"src/components/SEO.tsx:54:7",name:"twitter:image",content:x}),d&&c.jsx("link",{"code-path":"src/components/SEO.tsx:57:24",rel:"canonical",href:d})]})}function Me(a,t,{checkForDefaultPrevented:r=!0}={}){return function(o){if(a?.(o),r===!1||!o.defaultPrevented)return t?.(o)}}function j7(a,t){const r=v.createContext(t),n=l=>{const{children:d,...f}=l,h=v.useMemo(()=>f,Object.values(f));return c.jsx(r.Provider,{value:h,children:d})};n.displayName=a+"Provider";function o(l){const d=v.useContext(r);if(d)return d;if(t!==void 0)return t;throw new Error(`\`${l}\` must be used within \`${a}\``)}return[n,o]}function xo(a,t=[]){let r=[];function n(l,d){const f=v.createContext(d),h=r.length;r=[...r,d];const m=y=>{const{scope:N,children:S,...j}=y,w=N?.[a]?.[h]||f,_=v.useMemo(()=>j,Object.values(j));return c.jsx(w.Provider,{value:_,children:S})};m.displayName=l+"Provider";function x(y,N){const S=N?.[a]?.[h]||f,j=v.useContext(S);if(j)return j;if(d!==void 0)return d;throw new Error(`\`${y}\` must be used within \`${l}\``)}return[m,x]}const o=()=>{const l=r.map(d=>v.createContext(d));return function(f){const h=f?.[a]||l;return v.useMemo(()=>({[`__scope${a}`]:{...f,[a]:h}}),[f,h])}};return o.scopeName=a,[n,C7(o,...t)]}function C7(...a){const t=a[0];if(a.length===1)return t;const r=()=>{const n=a.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(l){const d=n.reduce((f,{useScope:h,scopeName:m})=>{const y=h(l)[`__scope${m}`];return{...f,...y}},{});return v.useMemo(()=>({[`__scope${t.scopeName}`]:d}),[d])}};return r.scopeName=t.scopeName,r}function B2(a){const t=E7(a),r=v.forwardRef((n,o)=>{const{children:l,...d}=n,f=v.Children.toArray(l),h=f.find(A7);if(h){const m=h.props.children,x=f.map(y=>y===h?v.Children.count(m)>1?v.Children.only(null):v.isValidElement(m)?m.props.children:null:y);return c.jsx(t,{...d,ref:o,children:v.isValidElement(m)?v.cloneElement(m,void 0,x):null})}return c.jsx(t,{...d,ref:o,children:l})});return r.displayName=`${a}.Slot`,r}function E7(a){const t=v.forwardRef((r,n)=>{const{children:o,...l}=r;if(v.isValidElement(o)){const d=M7(o),f=D7(l,o.props);return o.type!==v.Fragment&&(f.ref=n?Si(n,d):d),v.cloneElement(o,f)}return v.Children.count(o)>1?v.Children.only(null):null});return t.displayName=`${a}.SlotClone`,t}var T7=Symbol("radix.slottable");function A7(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===T7}function D7(a,t){const r={...t};for(const n in t){const o=a[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...f)=>{const h=l(...f);return o(...f),h}:o&&(r[n]=o):n==="style"?r[n]={...o,...l}:n==="className"&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...a,...r}}function M7(a){let t=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?a.ref:(t=Object.getOwnPropertyDescriptor(a,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}function $S(a){const t=a+"CollectionProvider",[r,n]=xo(t),[o,l]=r(t,{collectionRef:{current:null},itemMap:new Map}),d=w=>{const{scope:_,children:D}=w,M=ct.useRef(null),O=ct.useRef(new Map).current;return c.jsx(o,{scope:_,itemMap:O,collectionRef:M,children:D})};d.displayName=t;const f=a+"CollectionSlot",h=B2(f),m=ct.forwardRef((w,_)=>{const{scope:D,children:M}=w,O=l(f,D),k=Ns(_,O.collectionRef);return c.jsx(h,{ref:k,children:M})});m.displayName=f;const x=a+"CollectionItemSlot",y="data-radix-collection-item",N=B2(x),S=ct.forwardRef((w,_)=>{const{scope:D,children:M,...O}=w,k=ct.useRef(null),L=Ns(_,k),Y=l(x,D);return ct.useEffect(()=>(Y.itemMap.set(k,{ref:k,...O}),()=>{Y.itemMap.delete(k)})),c.jsx(N,{[y]:"",ref:L,children:M})});S.displayName=x;function j(w){const _=l(a+"CollectionConsumer",w);return ct.useCallback(()=>{const M=_.collectionRef.current;if(!M)return[];const O=Array.from(M.querySelectorAll(`[${y}]`));return Array.from(_.itemMap.values()).sort((Y,P)=>O.indexOf(Y.ref.current)-O.indexOf(P.ref.current))},[_.collectionRef,_.itemMap])}return[{Provider:d,Slot:m,ItemSlot:S},j,n]}var bi=globalThis?.document?v.useLayoutEffect:()=>{},R7=jx[" useId ".trim().toString()]||(()=>{}),O7=0;function ro(a){const[t,r]=v.useState(R7());return bi(()=>{r(n=>n??String(O7++))},[a]),a||(t?`radix-${t}`:"")}function k7(a){const t=P7(a),r=v.forwardRef((n,o)=>{const{children:l,...d}=n,f=v.Children.toArray(l),h=f.find(L7);if(h){const m=h.props.children,x=f.map(y=>y===h?v.Children.count(m)>1?v.Children.only(null):v.isValidElement(m)?m.props.children:null:y);return c.jsx(t,{...d,ref:o,children:v.isValidElement(m)?v.cloneElement(m,void 0,x):null})}return c.jsx(t,{...d,ref:o,children:l})});return r.displayName=`${a}.Slot`,r}function P7(a){const t=v.forwardRef((r,n)=>{const{children:o,...l}=r;if(v.isValidElement(o)){const d=U7(o),f=H7(l,o.props);return o.type!==v.Fragment&&(f.ref=n?Si(n,d):d),v.cloneElement(o,f)}return v.Children.count(o)>1?v.Children.only(null):null});return t.displayName=`${a}.SlotClone`,t}var z7=Symbol("radix.slottable");function L7(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===z7}function H7(a,t){const r={...t};for(const n in t){const o=a[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...f)=>{const h=l(...f);return o(...f),h}:o&&(r[n]=o):n==="style"?r[n]={...o,...l}:n==="className"&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...a,...r}}function U7(a){let t=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?a.ref:(t=Object.getOwnPropertyDescriptor(a,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var B7=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Tt=B7.reduce((a,t)=>{const r=k7(`Primitive.${t}`),n=v.forwardRef((o,l)=>{const{asChild:d,...f}=o,h=d?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),c.jsx(h,{...f,ref:l})});return n.displayName=`Primitive.${t}`,{...a,[t]:n}},{});function FS(a,t){a&&Ox.flushSync(()=>a.dispatchEvent(t))}function Ar(a){const t=v.useRef(a);return v.useEffect(()=>{t.current=a}),v.useMemo(()=>(...r)=>t.current?.(...r),[])}var Y7=jx[" useInsertionEffect ".trim().toString()]||bi;function bp({prop:a,defaultProp:t,onChange:r=()=>{},caller:n}){const[o,l,d]=q7({defaultProp:t,onChange:r}),f=a!==void 0,h=f?a:o;{const x=v.useRef(a!==void 0);v.useEffect(()=>{const y=x.current;y!==f&&console.warn(`${n} is changing from ${y?"controlled":"uncontrolled"} to ${f?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),x.current=f},[f,n])}const m=v.useCallback(x=>{if(f){const y=G7(x)?x(a):x;y!==a&&d.current?.(y)}else l(x)},[f,a,l,d]);return[h,m]}function q7({defaultProp:a,onChange:t}){const[r,n]=v.useState(a),o=v.useRef(r),l=v.useRef(t);return Y7(()=>{l.current=t},[t]),v.useEffect(()=>{o.current!==r&&(l.current?.(r),o.current=r)},[r,o]),[r,n,l]}function G7(a){return typeof a=="function"}var I7=v.createContext(void 0);function u0(a){const t=v.useContext(I7);return a||t||"ltr"}var Ng="rovingFocusGroup.onEntryFocus",V7={bubbles:!1,cancelable:!0},Mu="RovingFocusGroup",[xx,XS,$7]=$S(Mu),[F7,wp]=xo(Mu,[$7]),[X7,Q7]=F7(Mu),QS=v.forwardRef((a,t)=>c.jsx(xx.Provider,{scope:a.__scopeRovingFocusGroup,children:c.jsx(xx.Slot,{scope:a.__scopeRovingFocusGroup,children:c.jsx(K7,{...a,ref:t})})}));QS.displayName=Mu;var K7=v.forwardRef((a,t)=>{const{__scopeRovingFocusGroup:r,orientation:n,loop:o=!1,dir:l,currentTabStopId:d,defaultCurrentTabStopId:f,onCurrentTabStopIdChange:h,onEntryFocus:m,preventScrollOnEntryFocus:x=!1,...y}=a,N=v.useRef(null),S=Ns(t,N),j=u0(l),[w,_]=bp({prop:d,defaultProp:f??null,onChange:h,caller:Mu}),[D,M]=v.useState(!1),O=Ar(m),k=XS(r),L=v.useRef(!1),[Y,P]=v.useState(0);return v.useEffect(()=>{const B=N.current;if(B)return B.addEventListener(Ng,O),()=>B.removeEventListener(Ng,O)},[O]),c.jsx(X7,{scope:r,orientation:n,dir:j,loop:o,currentTabStopId:w,onItemFocus:v.useCallback(B=>_(B),[_]),onItemShiftTab:v.useCallback(()=>M(!0),[]),onFocusableItemAdd:v.useCallback(()=>P(B=>B+1),[]),onFocusableItemRemove:v.useCallback(()=>P(B=>B-1),[]),children:c.jsx(Tt.div,{tabIndex:D||Y===0?-1:0,"data-orientation":n,...y,ref:S,style:{outline:"none",...a.style},onMouseDown:Me(a.onMouseDown,()=>{L.current=!0}),onFocus:Me(a.onFocus,B=>{const V=!L.current;if(B.target===B.currentTarget&&V&&!D){const K=new CustomEvent(Ng,V7);if(B.currentTarget.dispatchEvent(K),!K.defaultPrevented){const re=k().filter(U=>U.focusable),J=re.find(U=>U.active),ce=re.find(U=>U.id===w),ie=[J,ce,...re].filter(Boolean).map(U=>U.ref.current);WS(ie,x)}}L.current=!1}),onBlur:Me(a.onBlur,()=>M(!1))})})}),KS="RovingFocusGroupItem",ZS=v.forwardRef((a,t)=>{const{__scopeRovingFocusGroup:r,focusable:n=!0,active:o=!1,tabStopId:l,children:d,...f}=a,h=ro(),m=l||h,x=Q7(KS,r),y=x.currentTabStopId===m,N=XS(r),{onFocusableItemAdd:S,onFocusableItemRemove:j,currentTabStopId:w}=x;return v.useEffect(()=>{if(n)return S(),()=>j()},[n,S,j]),c.jsx(xx.ItemSlot,{scope:r,id:m,focusable:n,active:o,children:c.jsx(Tt.span,{tabIndex:y?0:-1,"data-orientation":x.orientation,...f,ref:t,onMouseDown:Me(a.onMouseDown,_=>{n?x.onItemFocus(m):_.preventDefault()}),onFocus:Me(a.onFocus,()=>x.onItemFocus(m)),onKeyDown:Me(a.onKeyDown,_=>{if(_.key==="Tab"&&_.shiftKey){x.onItemShiftTab();return}if(_.target!==_.currentTarget)return;const D=J7(_,x.orientation,x.dir);if(D!==void 0){if(_.metaKey||_.ctrlKey||_.altKey||_.shiftKey)return;_.preventDefault();let O=N().filter(k=>k.focusable).map(k=>k.ref.current);if(D==="last")O.reverse();else if(D==="prev"||D==="next"){D==="prev"&&O.reverse();const k=O.indexOf(_.currentTarget);O=x.loop?eD(O,k+1):O.slice(k+1)}setTimeout(()=>WS(O))}}),children:typeof d=="function"?d({isCurrentTabStop:y,hasTabStop:w!=null}):d})})});ZS.displayName=KS;var Z7={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function W7(a,t){return t!=="rtl"?a:a==="ArrowLeft"?"ArrowRight":a==="ArrowRight"?"ArrowLeft":a}function J7(a,t,r){const n=W7(a.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return Z7[n]}function WS(a,t=!1){const r=document.activeElement;for(const n of a)if(n===r||(n.focus({preventScroll:t}),document.activeElement!==r))return}function eD(a,t){return a.map((r,n)=>a[(t+n)%a.length])}var JS=QS,e_=ZS;function tD(a,t){return v.useReducer((r,n)=>t[r][n]??r,a)}var Rr=a=>{const{present:t,children:r}=a,n=sD(t),o=typeof r=="function"?r({present:n.isPresent}):v.Children.only(r),l=Ns(n.ref,aD(o));return typeof r=="function"||n.isPresent?v.cloneElement(o,{ref:l}):null};Rr.displayName="Presence";function sD(a){const[t,r]=v.useState(),n=v.useRef(null),o=v.useRef(a),l=v.useRef("none"),d=a?"mounted":"unmounted",[f,h]=tD(d,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return v.useEffect(()=>{const m=df(n.current);l.current=f==="mounted"?m:"none"},[f]),bi(()=>{const m=n.current,x=o.current;if(x!==a){const N=l.current,S=df(m);a?h("MOUNT"):S==="none"||m?.display==="none"?h("UNMOUNT"):h(x&&N!==S?"ANIMATION_OUT":"UNMOUNT"),o.current=a}},[a,h]),bi(()=>{if(t){let m;const x=t.ownerDocument.defaultView??window,y=S=>{const w=df(n.current).includes(CSS.escape(S.animationName));if(S.target===t&&w&&(h("ANIMATION_END"),!o.current)){const _=t.style.animationFillMode;t.style.animationFillMode="forwards",m=x.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=_)})}},N=S=>{S.target===t&&(l.current=df(n.current))};return t.addEventListener("animationstart",N),t.addEventListener("animationcancel",y),t.addEventListener("animationend",y),()=>{x.clearTimeout(m),t.removeEventListener("animationstart",N),t.removeEventListener("animationcancel",y),t.removeEventListener("animationend",y)}}else h("ANIMATION_END")},[t,h]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:v.useCallback(m=>{n.current=m?getComputedStyle(m):null,r(m)},[])}}function df(a){return a?.animationName||"none"}function aD(a){let t=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?a.ref:(t=Object.getOwnPropertyDescriptor(a,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var Np="Tabs",[nD]=xo(Np,[wp]),t_=wp(),[rD,d0]=nD(Np),s_=v.forwardRef((a,t)=>{const{__scopeTabs:r,value:n,onValueChange:o,defaultValue:l,orientation:d="horizontal",dir:f,activationMode:h="automatic",...m}=a,x=u0(f),[y,N]=bp({prop:n,onChange:o,defaultProp:l??"",caller:Np});return c.jsx(rD,{scope:r,baseId:ro(),value:y,onValueChange:N,orientation:d,dir:x,activationMode:h,children:c.jsx(Tt.div,{dir:x,"data-orientation":d,...m,ref:t})})});s_.displayName=Np;var a_="TabsList",n_=v.forwardRef((a,t)=>{const{__scopeTabs:r,loop:n=!0,...o}=a,l=d0(a_,r),d=t_(r);return c.jsx(JS,{asChild:!0,...d,orientation:l.orientation,dir:l.dir,loop:n,children:c.jsx(Tt.div,{role:"tablist","aria-orientation":l.orientation,...o,ref:t})})});n_.displayName=a_;var r_="TabsTrigger",i_=v.forwardRef((a,t)=>{const{__scopeTabs:r,value:n,disabled:o=!1,...l}=a,d=d0(r_,r),f=t_(r),h=l_(d.baseId,n),m=u_(d.baseId,n),x=n===d.value;return c.jsx(e_,{asChild:!0,...f,focusable:!o,active:x,children:c.jsx(Tt.button,{type:"button",role:"tab","aria-selected":x,"aria-controls":m,"data-state":x?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:h,...l,ref:t,onMouseDown:Me(a.onMouseDown,y=>{!o&&y.button===0&&y.ctrlKey===!1?d.onValueChange(n):y.preventDefault()}),onKeyDown:Me(a.onKeyDown,y=>{[" ","Enter"].includes(y.key)&&d.onValueChange(n)}),onFocus:Me(a.onFocus,()=>{const y=d.activationMode!=="manual";!x&&!o&&y&&d.onValueChange(n)})})})});i_.displayName=r_;var o_="TabsContent",c_=v.forwardRef((a,t)=>{const{__scopeTabs:r,value:n,forceMount:o,children:l,...d}=a,f=d0(o_,r),h=l_(f.baseId,n),m=u_(f.baseId,n),x=n===f.value,y=v.useRef(x);return v.useEffect(()=>{const N=requestAnimationFrame(()=>y.current=!1);return()=>cancelAnimationFrame(N)},[]),c.jsx(Rr,{present:o||x,children:({present:N})=>c.jsx(Tt.div,{"data-state":x?"active":"inactive","data-orientation":f.orientation,role:"tabpanel","aria-labelledby":h,hidden:!N,id:m,tabIndex:0,...d,ref:t,style:{...a.style,animationDuration:y.current?"0s":void 0},children:N&&l})})});c_.displayName=o_;function l_(a,t){return`${a}-trigger-${t}`}function u_(a,t){return`${a}-content-${t}`}var iD=s_,oD=n_,cD=i_,lD=c_;function f0({className:a,...t}){return c.jsx(iD,{"code-path":"src/components/ui/tabs.tsx:13:5","data-slot":"tabs",className:cs("flex flex-col gap-2",a),...t})}function p0({className:a,...t}){return c.jsx(oD,{"code-path":"src/components/ui/tabs.tsx:26:5","data-slot":"tabs-list",className:cs("bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]",a),...t})}function sa({className:a,...t}){return c.jsx(cD,{"code-path":"src/components/ui/tabs.tsx:42:5","data-slot":"tabs-trigger",className:cs("data-[state=active]:bg-background 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-md 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 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),...t})}function aa({className:a,...t}){return c.jsx(lD,{"code-path":"src/components/ui/tabs.tsx:58:5","data-slot":"tabs-content",className:cs("flex-1 outline-none",a),...t})}function uD({className:a,...t}){return c.jsx("div",{"code-path":"src/components/ui/table.tsx:7:5","data-slot":"table-container",className:"relative w-full overflow-x-auto",children:c.jsx("table",{"code-path":"src/components/ui/table.tsx:11:7","data-slot":"table",className:cs("w-full caption-bottom text-sm",a),...t})})}function dD({className:a,...t}){return c.jsx("tbody",{"code-path":"src/components/ui/table.tsx:32:5","data-slot":"table-body",className:cs("[&_tr:last-child]:border-0",a),...t})}function fD({className:a,...t}){return c.jsx("tr",{"code-path":"src/components/ui/table.tsx:55:5","data-slot":"table-row",className:cs("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors",a),...t})}function Y2({className:a,...t}){return c.jsx("td",{"code-path":"src/components/ui/table.tsx:81:5","data-slot":"table-cell",className:cs("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",a),...t})}const pD={column:ws,"column-free":ca,consumables:Fn},q2={column:"有柱分选","column-free":"无柱分选",consumables:"配套试剂耗材"};function hD(){const{id:a}=cp(),{product:t,isLoading:r,refresh:n}=VS(a);if(r)return c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:47:7",className:"min-h-screen bg-gray-50 flex items-center justify-center",children:c.jsx(jr,{"code-path":"src/pages/ProductDetail.tsx:48:9",className:"w-8 h-8 text-[#0064ff] animate-spin"})});if(!t)return c.jsx(Eu,{"code-path":"src/pages/ProductDetail.tsx:54:12",to:"/products",replace:!0});const o=pD[t.category]||ws,d=go().filter(y=>y.category===t.category&&y.id!==t.id).slice(0,4),f=t.seo?.title||t.name,h=t.seo?.description||t.shortDescription,m=t.seo?.keywords||`细胞分选,${t.name},磁珠分选`,x=t.seo?.ogImage;return c.jsxs(c.Fragment,{children:[c.jsx(_7,{"code-path":"src/pages/ProductDetail.tsx:74:7",title:f,description:h,keywords:m,ogImage:x,ogTitle:f,ogDescription:h}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:83:7",className:"min-h-screen bg-gray-50",children:[c.jsx(Kn,{"code-path":"src/pages/ProductDetail.tsx:84:9"}),c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:87:9",className:"pt-24 pb-6 bg-white",children:c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:88:11",className:"section-padding",children:[c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:89:13",className:"flex items-center justify-between mb-4",children:[c.jsxs(fe,{"code-path":"src/pages/ProductDetail.tsx:90:15",to:"/products",className:"inline-flex items-center gap-2 text-gray-500 hover:text-[#0064ff]",children:[c.jsx(up,{"code-path":"src/pages/ProductDetail.tsx:94:17",className:"w-4 h-4"}),"返回产品列表"]}),c.jsxs($e,{"code-path":"src/pages/ProductDetail.tsx:97:15",variant:"outline",size:"sm",onClick:n,className:"gap-2",children:[c.jsx(jr,{"code-path":"src/pages/ProductDetail.tsx:103:17",className:"w-4 h-4"}),"刷新"]})]}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:108:13",className:"flex items-center gap-2 text-sm text-gray-500",children:[c.jsx(fe,{"code-path":"src/pages/ProductDetail.tsx:109:15",to:"/",className:"hover:text-[#0064ff]",children:"首页"}),c.jsx(Vs,{"code-path":"src/pages/ProductDetail.tsx:110:15",className:"w-4 h-4"}),c.jsx(fe,{"code-path":"src/pages/ProductDetail.tsx:111:15",to:"/products",className:"hover:text-[#0064ff]",children:"产品中心"}),c.jsx(Vs,{"code-path":"src/pages/ProductDetail.tsx:112:15",className:"w-4 h-4"}),c.jsx(fe,{"code-path":"src/pages/ProductDetail.tsx:113:15",to:`/products?category=${t.category}`,className:"hover:text-[#0064ff]",children:q2[t.category]}),c.jsx(Vs,{"code-path":"src/pages/ProductDetail.tsx:116:15",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/pages/ProductDetail.tsx:117:15",className:"text-gray-900",children:t.name})]})]})}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:123:9",className:"section-padding py-8",children:[c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:124:11",className:"grid lg:grid-cols-2 gap-12",children:[c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:126:13",children:c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:127:15",className:"bg-white rounded-2xl p-8 shadow-sm",children:c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:129:17",className:"aspect-square bg-gradient-to-br from-gray-50 to-gray-100 rounded-xl flex items-center justify-center mb-4",children:c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:130:19",className:"w-32 h-32 bg-white rounded-3xl shadow-lg flex items-center justify-center",children:c.jsx(o,{"code-path":"src/pages/ProductDetail.tsx:131:21",className:"w-16 h-16 text-gray-300"})})})})}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:138:13",children:[c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:139:15",className:"flex items-start justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:140:17",children:[c.jsx("span",{"code-path":"src/pages/ProductDetail.tsx:141:19",className:"inline-block px-3 py-1 bg-blue-100 text-blue-600 rounded-full text-sm font-medium mb-3",children:q2[t.category]}),c.jsxs("p",{"code-path":"src/pages/ProductDetail.tsx:144:19",className:"text-sm text-gray-400",children:["货号: ",t.model]}),c.jsx("h1",{"code-path":"src/pages/ProductDetail.tsx:145:19",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-2",children:t.name})]}),c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:147:17",className:"flex gap-2",children:c.jsx("button",{"code-path":"src/pages/ProductDetail.tsx:148:19",className:"w-10 h-10 border border-gray-200 rounded-lg flex items-center justify-center hover:bg-gray-50 transition-colors",children:c.jsx(F6,{"code-path":"src/pages/ProductDetail.tsx:149:21",className:"w-5 h-5 text-gray-500"})})})]}),c.jsx("p",{"code-path":"src/pages/ProductDetail.tsx:154:15",className:"text-gray-600 mt-6 leading-relaxed",children:t.description}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:159:15",className:"grid grid-cols-3 gap-4 mt-8",children:[c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:160:17",className:"bg-blue-50 rounded-xl p-4 text-center",children:[c.jsx("p",{"code-path":"src/pages/ProductDetail.tsx:161:19",className:"text-2xl font-bold text-[#0064ff]",children:t.specifications.find(y=>y.label==="分选纯度")?.value||">95%"}),c.jsx("p",{"code-path":"src/pages/ProductDetail.tsx:164:19",className:"text-sm text-gray-600 mt-1",children:"分选纯度"})]}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:166:17",className:"bg-green-50 rounded-xl p-4 text-center",children:[c.jsx("p",{"code-path":"src/pages/ProductDetail.tsx:167:19",className:"text-2xl font-bold text-green-600",children:t.specifications.find(y=>y.label==="细胞活性")?.value||">97%"}),c.jsx("p",{"code-path":"src/pages/ProductDetail.tsx:170:19",className:"text-sm text-gray-600 mt-1",children:"细胞活性"})]}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:172:17",className:"bg-purple-50 rounded-xl p-4 text-center",children:[c.jsx("p",{"code-path":"src/pages/ProductDetail.tsx:173:19",className:"text-2xl font-bold text-purple-600",children:t.specifications.find(y=>y.label==="操作时间")?.value||"25分钟"}),c.jsx("p",{"code-path":"src/pages/ProductDetail.tsx:176:19",className:"text-sm text-gray-600 mt-1",children:"操作时间"})]})]}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:181:15",className:"mt-8",children:[c.jsx("h3",{"code-path":"src/pages/ProductDetail.tsx:182:17",className:"font-semibold text-gray-900 mb-3",children:"应用场景"}),c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:183:17",className:"flex flex-wrap gap-2",children:t.applications.map(y=>c.jsx("span",{"code-path":"src/pages/ProductDetail.tsx:185:21",className:"px-3 py-1.5 bg-blue-50 text-blue-600 rounded-lg text-sm",children:y},y))})]}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:196:15",className:"flex flex-wrap gap-4 mt-8",children:[c.jsxs($e,{"code-path":"src/pages/ProductDetail.tsx:197:17",className:"btn-primary gap-2",children:[c.jsx(Hc,{"code-path":"src/pages/ProductDetail.tsx:198:19",className:"w-5 h-5"}),"咨询产品"]}),c.jsxs($e,{"code-path":"src/pages/ProductDetail.tsx:201:17",className:"btn-secondary gap-2",children:[c.jsx(lu,{"code-path":"src/pages/ProductDetail.tsx:202:19",className:"w-5 h-5"}),"下载资料"]})]})]})]}),c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:210:11",className:"mt-12",children:c.jsxs(f0,{"code-path":"src/pages/ProductDetail.tsx:211:13",defaultValue:"details",className:"bg-white rounded-2xl shadow-sm",children:[c.jsxs(p0,{"code-path":"src/pages/ProductDetail.tsx:212:15",className:"w-full justify-start border-b border-gray-100 rounded-none p-0 h-auto",children:[c.jsxs(sa,{"code-path":"src/pages/ProductDetail.tsx:213:17",value:"details",className:"px-6 py-4 rounded-none data-[state=active]:border-b-2 data-[state=active]:border-[#0064ff] data-[state=active]:shadow-none",children:[c.jsx(g6,{"code-path":"src/pages/ProductDetail.tsx:217:19",className:"w-4 h-4 mr-2"}),"产品详情"]}),c.jsx(sa,{"code-path":"src/pages/ProductDetail.tsx:220:17",value:"specs",className:"px-6 py-4 rounded-none data-[state=active]:border-b-2 data-[state=active]:border-[#0064ff] data-[state=active]:shadow-none",children:"技术参数"}),c.jsx(sa,{"code-path":"src/pages/ProductDetail.tsx:226:17",value:"downloads",className:"px-6 py-4 rounded-none data-[state=active]:border-b-2 data-[state=active]:border-[#0064ff] data-[state=active]:shadow-none",children:"下载资料"})]}),c.jsx(aa,{"code-path":"src/pages/ProductDetail.tsx:234:15",value:"details",className:"p-6",children:c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:235:17",className:"prose prose-gray max-w-none",children:c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:236:19",className:"whitespace-pre-line text-gray-700 leading-relaxed",children:t.description})})}),c.jsx(aa,{"code-path":"src/pages/ProductDetail.tsx:242:15",value:"specs",className:"p-6",children:c.jsx(uD,{"code-path":"src/pages/ProductDetail.tsx:243:17",children:c.jsx(dD,{"code-path":"src/pages/ProductDetail.tsx:244:19",children:t.specifications.map(y=>c.jsxs(fD,{"code-path":"src/pages/ProductDetail.tsx:246:23",children:[c.jsx(Y2,{"code-path":"src/pages/ProductDetail.tsx:247:25",className:"font-medium text-gray-900 w-1/3 bg-gray-50",children:y.label}),c.jsx(Y2,{"code-path":"src/pages/ProductDetail.tsx:250:25",className:"text-gray-600",children:y.value})]},y.label))})})}),c.jsx(aa,{"code-path":"src/pages/ProductDetail.tsx:257:15",value:"downloads",className:"p-6",children:c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:258:17",className:"space-y-4",children:t.downloads.map(y=>c.jsxs("a",{"code-path":"src/pages/ProductDetail.tsx:260:21",href:y.url,className:"flex items-center justify-between p-4 border border-gray-200 rounded-xl hover:border-[#0064ff] hover:bg-blue-50/50 transition-colors group",children:[c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:265:23",className:"flex items-center gap-4",children:[c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:266:25",className:"w-12 h-12 bg-red-100 rounded-lg flex items-center justify-center",children:c.jsx(wn,{"code-path":"src/pages/ProductDetail.tsx:267:27",className:"w-6 h-6 text-red-600"})}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:269:25",children:[c.jsx("h4",{"code-path":"src/pages/ProductDetail.tsx:270:27",className:"font-medium text-gray-900 group-hover:text-[#0064ff] transition-colors",children:y.name}),c.jsx("p",{"code-path":"src/pages/ProductDetail.tsx:273:27",className:"text-sm text-gray-500",children:y.size})]})]}),c.jsx(lu,{"code-path":"src/pages/ProductDetail.tsx:276:23",className:"w-5 h-5 text-gray-400 group-hover:text-[#0064ff] transition-colors"})]},y.name))})})]})}),d.length>0&&c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:286:13",className:"mt-12",children:[c.jsx("h2",{"code-path":"src/pages/ProductDetail.tsx:287:15",className:"text-2xl font-bold text-gray-900 mb-6",children:"相关产品"}),c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:288:15",className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:d.map(y=>c.jsxs(fe,{"code-path":"src/pages/ProductDetail.tsx:290:19",to:`/products/${y.id}`,className:"bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-lg transition-shadow",children:[c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:295:21",className:"aspect-square bg-gradient-to-br from-gray-50 to-gray-100 flex items-center justify-center",children:c.jsx("div",{"code-path":"src/pages/ProductDetail.tsx:296:23",className:"w-16 h-16 bg-white rounded-xl shadow-md flex items-center justify-center",children:c.jsx(o,{"code-path":"src/pages/ProductDetail.tsx:297:25",className:"w-8 h-8 text-gray-300"})})}),c.jsxs("div",{"code-path":"src/pages/ProductDetail.tsx:300:21",className:"p-4",children:[c.jsx("p",{"code-path":"src/pages/ProductDetail.tsx:301:23",className:"text-xs text-gray-400",children:y.model}),c.jsx("h3",{"code-path":"src/pages/ProductDetail.tsx:302:23",className:"font-semibold text-gray-900 line-clamp-2",children:y.name})]})]},y.id))})]})]}),c.jsx(Zn,{"code-path":"src/pages/ProductDetail.tsx:311:9"})]})]})}const mD={Microscope:un,Shield:Au,Sparkles:fp,FlaskConical:ca};function gD(){return c.jsxs("div",{"code-path":"src/pages/Solutions.tsx:16:5",className:"min-h-screen bg-gray-50",children:[c.jsx(Kn,{"code-path":"src/pages/Solutions.tsx:17:7"}),c.jsx("div",{"code-path":"src/pages/Solutions.tsx:20:7",className:"pt-24 pb-12 bg-white",children:c.jsx("div",{"code-path":"src/pages/Solutions.tsx:21:9",className:"section-padding",children:c.jsxs("div",{"code-path":"src/pages/Solutions.tsx:22:11",className:"flex flex-col md:flex-row md:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/Solutions.tsx:23:13",children:[c.jsx("h1",{"code-path":"src/pages/Solutions.tsx:24:15",className:"text-3xl lg:text-4xl font-bold text-gray-900",children:"解决方案"}),c.jsx("p",{"code-path":"src/pages/Solutions.tsx:25:15",className:"text-gray-600 mt-2",children:"为不同应用场景量身定制的细胞分选解决方案"})]}),c.jsxs("div",{"code-path":"src/pages/Solutions.tsx:27:13",className:"flex items-center gap-2 text-sm text-gray-500",children:[c.jsx(fe,{"code-path":"src/pages/Solutions.tsx:28:15",to:"/",className:"hover:text-[#0064ff]",children:"首页"}),c.jsx(Vs,{"code-path":"src/pages/Solutions.tsx:29:15",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/pages/Solutions.tsx:30:15",children:"解决方案"})]})]})})}),c.jsx("div",{"code-path":"src/pages/Solutions.tsx:37:7",className:"section-padding py-12",children:c.jsx("div",{"code-path":"src/pages/Solutions.tsx:38:9",className:"grid md:grid-cols-2 gap-8",children:jc.map(a=>{const t=mD[a.icon]||un;return c.jsxs(fe,{"code-path":"src/pages/Solutions.tsx:43:15",to:`/solutions/${a.slug}`,className:"group bg-white rounded-2xl overflow-hidden shadow-sm hover:shadow-xl transition-all duration-300",children:[c.jsxs("div",{"code-path":"src/pages/Solutions.tsx:48:17",className:"aspect-[16/9] bg-gradient-to-br from-blue-500 to-blue-600 relative overflow-hidden",children:[c.jsx("div",{"code-path":"src/pages/Solutions.tsx:49:19",className:"absolute inset-0 flex items-center justify-center",children:c.jsx(t,{"code-path":"src/pages/Solutions.tsx:50:21",className:"w-24 h-24 text-white/30"})}),c.jsx("div",{"code-path":"src/pages/Solutions.tsx:52:19",className:"absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"}),c.jsx("div",{"code-path":"src/pages/Solutions.tsx:53:19",className:"absolute bottom-6 left-6 right-6",children:c.jsx("h2",{"code-path":"src/pages/Solutions.tsx:54:21",className:"text-2xl font-bold text-white",children:a.title})})]}),c.jsxs("div",{"code-path":"src/pages/Solutions.tsx:58:17",className:"p-6",children:[c.jsx("p",{"code-path":"src/pages/Solutions.tsx:59:19",className:"text-gray-600 leading-relaxed",children:a.description}),c.jsxs("div",{"code-path":"src/pages/Solutions.tsx:64:19",className:"mt-4",children:[c.jsx("p",{"code-path":"src/pages/Solutions.tsx:65:21",className:"text-sm text-gray-500 mb-2",children:"推荐产品"}),c.jsx("div",{"code-path":"src/pages/Solutions.tsx:66:21",className:"flex flex-wrap gap-2",children:a.products.slice(0,3).map(r=>c.jsx("span",{"code-path":"src/pages/Solutions.tsx:68:25",className:"px-3 py-1 bg-blue-50 text-blue-600 rounded-lg text-sm",children:r},r))})]}),c.jsxs("div",{"code-path":"src/pages/Solutions.tsx:79:19",className:"mt-6 flex items-center gap-2 text-[#0064ff] font-medium",children:[c.jsx("span",{"code-path":"src/pages/Solutions.tsx:80:21",children:"了解详情"}),c.jsx(Is,{"code-path":"src/pages/Solutions.tsx:81:21",className:"w-5 h-5 transition-transform group-hover:translate-x-1"})]})]})]},a.id)})})}),c.jsx("div",{"code-path":"src/pages/Solutions.tsx:91:7",className:"section-padding pb-12",children:c.jsxs("div",{"code-path":"src/pages/Solutions.tsx:92:9",className:"bg-[#0064ff] rounded-2xl p-8 lg:p-12 text-center text-white",children:[c.jsx("h2",{"code-path":"src/pages/Solutions.tsx:93:11",className:"text-2xl lg:text-3xl font-bold mb-4",children:"需要定制化解决方案？"}),c.jsx("p",{"code-path":"src/pages/Solutions.tsx:96:11",className:"text-blue-100 mb-8 max-w-2xl mx-auto",children:"我们的技术团队可以根据您的具体需求，提供个性化的细胞分选解决方案。"}),c.jsxs(fe,{"code-path":"src/pages/Solutions.tsx:99:11",to:"/contact",className:"inline-flex items-center gap-2 px-8 py-4 bg-white text-[#0064ff] rounded-xl font-semibold hover:bg-blue-50 transition-colors",children:["联系我们",c.jsx(Is,{"code-path":"src/pages/Solutions.tsx:104:13",className:"w-5 h-5"})]})]})}),c.jsx(Zn,{"code-path":"src/pages/Solutions.tsx:109:7"})]})}const xD={Microscope:un,Shield:Au,Sparkles:fp,FlaskConical:ca};function yD(){const{slug:a}=cp(),t=jc.find(n=>n.slug===a);if(!t)return c.jsx(Eu,{"code-path":"src/pages/SolutionDetail.tsx:31:12",to:"/solutions",replace:!0});const r=xD[t.icon]||un;return c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:37:5",className:"min-h-screen bg-gray-50",children:[c.jsx(Kn,{"code-path":"src/pages/SolutionDetail.tsx:38:7"}),c.jsx("div",{"code-path":"src/pages/SolutionDetail.tsx:41:7",className:"pt-24 bg-gradient-to-br from-blue-600 to-blue-700 text-white",children:c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:42:9",className:"section-padding py-16",children:[c.jsxs(fe,{"code-path":"src/pages/SolutionDetail.tsx:43:11",to:"/solutions",className:"inline-flex items-center gap-2 text-blue-100 hover:text-white mb-6",children:[c.jsx(up,{"code-path":"src/pages/SolutionDetail.tsx:47:13",className:"w-4 h-4"}),"返回解决方案"]}),c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:51:11",className:"flex items-center gap-2 text-sm text-blue-100 mb-4",children:[c.jsx(fe,{"code-path":"src/pages/SolutionDetail.tsx:52:13",to:"/",className:"hover:text-white",children:"首页"}),c.jsx(Vs,{"code-path":"src/pages/SolutionDetail.tsx:53:13",className:"w-4 h-4"}),c.jsx(fe,{"code-path":"src/pages/SolutionDetail.tsx:54:13",to:"/solutions",className:"hover:text-white",children:"解决方案"}),c.jsx(Vs,{"code-path":"src/pages/SolutionDetail.tsx:55:13",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/pages/SolutionDetail.tsx:56:13",children:t.title})]}),c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:59:11",className:"flex items-start gap-6",children:[c.jsx("div",{"code-path":"src/pages/SolutionDetail.tsx:60:13",className:"w-16 h-16 bg-white/20 rounded-xl flex items-center justify-center flex-shrink-0",children:c.jsx(r,{"code-path":"src/pages/SolutionDetail.tsx:61:15",className:"w-8 h-8 text-white"})}),c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:63:13",children:[c.jsx("h1",{"code-path":"src/pages/SolutionDetail.tsx:64:15",className:"text-3xl lg:text-5xl font-bold",children:t.title}),c.jsx("p",{"code-path":"src/pages/SolutionDetail.tsx:65:15",className:"text-blue-100 mt-4 text-lg max-w-2xl",children:t.description})]})]})]})}),c.jsx("div",{"code-path":"src/pages/SolutionDetail.tsx:74:7",className:"section-padding py-12",children:c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:75:9",className:"grid lg:grid-cols-3 gap-12",children:[c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:77:11",className:"lg:col-span-2 space-y-12",children:[c.jsxs("section",{"code-path":"src/pages/SolutionDetail.tsx:79:13",className:"bg-white rounded-2xl p-8 shadow-sm",children:[c.jsx("h2",{"code-path":"src/pages/SolutionDetail.tsx:80:15",className:"text-2xl font-bold text-gray-900 mb-4",children:"应用场景"}),c.jsx("p",{"code-path":"src/pages/SolutionDetail.tsx:81:15",className:"text-gray-600 leading-relaxed",children:t.problem})]}),c.jsxs("section",{"code-path":"src/pages/SolutionDetail.tsx:87:13",className:"bg-white rounded-2xl p-8 shadow-sm",children:[c.jsx("h2",{"code-path":"src/pages/SolutionDetail.tsx:88:15",className:"text-2xl font-bold text-gray-900 mb-6",children:"技术流程"}),c.jsx("div",{"code-path":"src/pages/SolutionDetail.tsx:89:15",className:"space-y-6",children:t.process.map((n,o)=>c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:91:19",className:"flex gap-4",children:[c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:92:21",className:"flex flex-col items-center",children:[c.jsx("div",{"code-path":"src/pages/SolutionDetail.tsx:93:23",className:"w-10 h-10 bg-[#0064ff] rounded-full flex items-center justify-center flex-shrink-0",children:c.jsx("span",{"code-path":"src/pages/SolutionDetail.tsx:94:25",className:"text-white font-bold",children:n.step})}),o<t.process.length-1&&c.jsx("div",{"code-path":"src/pages/SolutionDetail.tsx:97:25",className:"w-0.5 h-full bg-blue-200 my-2"})]}),c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:100:21",className:"pb-8",children:[c.jsx("h3",{"code-path":"src/pages/SolutionDetail.tsx:101:23",className:"font-semibold text-gray-900",children:n.title}),c.jsx("p",{"code-path":"src/pages/SolutionDetail.tsx:102:23",className:"text-gray-600 mt-1",children:n.description})]})]},n.step))})]}),c.jsxs("section",{"code-path":"src/pages/SolutionDetail.tsx:110:13",className:"bg-white rounded-2xl p-8 shadow-sm",children:[c.jsx("h2",{"code-path":"src/pages/SolutionDetail.tsx:111:15",className:"text-2xl font-bold text-gray-900 mb-4",children:"成功案例"}),c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:112:15",className:"bg-blue-50 rounded-xl p-6",children:[c.jsx("h3",{"code-path":"src/pages/SolutionDetail.tsx:113:17",className:"font-semibold text-gray-900 mb-3",children:t.caseStudy.title}),c.jsx("p",{"code-path":"src/pages/SolutionDetail.tsx:114:17",className:"text-gray-600 mb-4",children:t.caseStudy.content}),c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:115:17",className:"flex items-start gap-3 bg-white rounded-lg p-4",children:[c.jsx(Lc,{"code-path":"src/pages/SolutionDetail.tsx:116:19",className:"w-5 h-5 text-green-500 flex-shrink-0 mt-0.5"}),c.jsx("p",{"code-path":"src/pages/SolutionDetail.tsx:117:19",className:"text-gray-700 text-sm",children:t.caseStudy.result})]})]})]})]}),c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:124:11",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:126:13",className:"bg-white rounded-2xl p-6 shadow-sm",children:[c.jsx("h3",{"code-path":"src/pages/SolutionDetail.tsx:127:15",className:"font-semibold text-gray-900 mb-4",children:"推荐产品"}),c.jsx("div",{"code-path":"src/pages/SolutionDetail.tsx:128:15",className:"space-y-4",children:t.products.map(n=>{const o=io.find(l=>l.name.includes(n)||n.includes(l.name));return o?c.jsxs(fe,{"code-path":"src/pages/SolutionDetail.tsx:136:21",to:`/products/${o.id}`,className:"flex items-center gap-4 p-3 rounded-lg hover:bg-gray-50 transition-colors group",children:[c.jsx("div",{"code-path":"src/pages/SolutionDetail.tsx:141:23",className:"w-12 h-12 bg-gray-100 rounded-lg flex items-center justify-center flex-shrink-0",children:c.jsx(ws,{"code-path":"src/pages/SolutionDetail.tsx:142:25",className:"w-6 h-6 text-gray-400"})}),c.jsx("div",{"code-path":"src/pages/SolutionDetail.tsx:144:23",className:"flex-1",children:c.jsx("p",{"code-path":"src/pages/SolutionDetail.tsx:145:25",className:"font-medium text-gray-900 group-hover:text-[#0064ff] transition-colors",children:n})}),c.jsx(Is,{"code-path":"src/pages/SolutionDetail.tsx:149:23",className:"w-4 h-4 text-gray-400 group-hover:text-[#0064ff] transition-colors"})]},n):null})})]}),c.jsxs("div",{"code-path":"src/pages/SolutionDetail.tsx:157:13",className:"bg-[#0064ff] rounded-2xl p-6 text-white",children:[c.jsx("h3",{"code-path":"src/pages/SolutionDetail.tsx:158:15",className:"font-semibold mb-2",children:"需要技术支持？"}),c.jsx("p",{"code-path":"src/pages/SolutionDetail.tsx:159:15",className:"text-blue-100 text-sm mb-4",children:"我们的技术团队可以为您提供专业的应用支持"}),c.jsx(fe,{"code-path":"src/pages/SolutionDetail.tsx:162:15",to:"/contact",children:c.jsx($e,{"code-path":"src/pages/SolutionDetail.tsx:163:17",className:"w-full bg-white text-[#0064ff] hover:bg-blue-50",children:"联系我们"})})]})]})]})}),c.jsx(Zn,{"code-path":"src/pages/SolutionDetail.tsx:172:7"})]})}function vD(){const[a,t]=v.useState(Nf[0]);return c.jsxs("div",{"code-path":"src/pages/Technology.tsx:21:5",className:"min-h-screen bg-white",children:[c.jsx(Kn,{"code-path":"src/pages/Technology.tsx:22:7"}),c.jsx("div",{"code-path":"src/pages/Technology.tsx:25:7",className:"pt-24 pb-12 bg-gray-900 text-white",children:c.jsx("div",{"code-path":"src/pages/Technology.tsx:26:9",className:"section-padding",children:c.jsxs("div",{"code-path":"src/pages/Technology.tsx:27:11",className:"flex flex-col md:flex-row md:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/Technology.tsx:28:13",children:[c.jsx("h1",{"code-path":"src/pages/Technology.tsx:29:15",className:"text-3xl lg:text-4xl font-bold",children:"技术平台"}),c.jsx("p",{"code-path":"src/pages/Technology.tsx:30:15",className:"text-gray-400 mt-2",children:"领先的细胞分选技术，推动生命科学研究"})]}),c.jsxs("div",{"code-path":"src/pages/Technology.tsx:32:13",className:"flex items-center gap-2 text-sm text-gray-400",children:[c.jsx(fe,{"code-path":"src/pages/Technology.tsx:33:15",to:"/",className:"hover:text-white",children:"首页"}),c.jsx(Vs,{"code-path":"src/pages/Technology.tsx:34:15",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/pages/Technology.tsx:35:15",children:"技术平台"})]})]})})}),c.jsx("div",{"code-path":"src/pages/Technology.tsx:42:7",className:"section-padding py-12",children:c.jsxs("div",{"code-path":"src/pages/Technology.tsx:43:9",className:"grid lg:grid-cols-4 gap-8",children:[c.jsx("div",{"code-path":"src/pages/Technology.tsx:45:11",className:"lg:col-span-1",children:c.jsx("div",{"code-path":"src/pages/Technology.tsx:46:13",className:"sticky top-24 space-y-2",children:Nf.map(r=>c.jsx("button",{"code-path":"src/pages/Technology.tsx:48:17",onClick:()=>t(r),className:`w-full text-left px-4 py-3 rounded-lg transition-colors ${a.id===r.id?"bg-[#0064ff] text-white":"bg-gray-100 text-gray-700 hover:bg-gray-200"}`,children:r.name},r.id))})}),c.jsxs("div",{"code-path":"src/pages/Technology.tsx:64:11",className:"lg:col-span-3",children:[c.jsxs("div",{"code-path":"src/pages/Technology.tsx:65:13",className:"bg-gray-50 rounded-2xl p-8 lg:p-12",children:[c.jsxs("div",{"code-path":"src/pages/Technology.tsx:67:15",className:"flex items-start gap-6 mb-8",children:[c.jsx("div",{"code-path":"src/pages/Technology.tsx:68:17",className:"w-20 h-20 bg-[#0064ff] rounded-2xl flex items-center justify-center flex-shrink-0",children:c.jsx(ws,{"code-path":"src/pages/Technology.tsx:69:19",className:"w-10 h-10 text-white"})}),c.jsxs("div",{"code-path":"src/pages/Technology.tsx:71:17",children:[c.jsx("h2",{"code-path":"src/pages/Technology.tsx:72:19",className:"text-3xl font-bold text-gray-900",children:a.name}),c.jsx("p",{"code-path":"src/pages/Technology.tsx:73:19",className:"text-gray-600 mt-2 leading-relaxed",children:a.description})]})]}),c.jsxs(f0,{"code-path":"src/pages/Technology.tsx:79:15",defaultValue:"features",children:[c.jsxs(p0,{"code-path":"src/pages/Technology.tsx:80:17",className:"mb-6",children:[c.jsx(sa,{"code-path":"src/pages/Technology.tsx:81:19",value:"features",children:"技术特点"}),c.jsx(sa,{"code-path":"src/pages/Technology.tsx:82:19",value:"advantages",children:"技术优势"}),c.jsx(sa,{"code-path":"src/pages/Technology.tsx:83:19",value:"documents",children:"技术文档"})]}),c.jsx(aa,{"code-path":"src/pages/Technology.tsx:86:17",value:"features",children:c.jsx("div",{"code-path":"src/pages/Technology.tsx:87:19",className:"grid sm:grid-cols-2 gap-4",children:a.features.map((r,n)=>c.jsxs("div",{"code-path":"src/pages/Technology.tsx:89:23",className:"flex items-start gap-3 bg-white rounded-xl p-4",children:[c.jsx(Lc,{"code-path":"src/pages/Technology.tsx:93:25",className:"w-5 h-5 text-[#0064ff] flex-shrink-0 mt-0.5"}),c.jsx("span",{"code-path":"src/pages/Technology.tsx:94:25",className:"text-gray-700",children:r})]},n))})}),c.jsx(aa,{"code-path":"src/pages/Technology.tsx:100:17",value:"advantages",children:c.jsx("div",{"code-path":"src/pages/Technology.tsx:101:19",className:"grid sm:grid-cols-2 gap-4",children:a.advantages.map((r,n)=>c.jsxs("div",{"code-path":"src/pages/Technology.tsx:103:23",className:"flex items-start gap-3 bg-white rounded-xl p-4",children:[c.jsx("div",{"code-path":"src/pages/Technology.tsx:107:25",className:"w-6 h-6 bg-green-100 rounded-full flex items-center justify-center flex-shrink-0",children:c.jsx("span",{"code-path":"src/pages/Technology.tsx:108:27",className:"text-green-600 font-bold text-sm",children:n+1})}),c.jsx("span",{"code-path":"src/pages/Technology.tsx:110:25",className:"text-gray-700",children:r})]},n))})}),c.jsx(aa,{"code-path":"src/pages/Technology.tsx:116:17",value:"documents",children:c.jsx("div",{"code-path":"src/pages/Technology.tsx:117:19",className:"space-y-4",children:a.documents.map(r=>c.jsxs("a",{"code-path":"src/pages/Technology.tsx:119:23",href:r.url,className:"flex items-center justify-between bg-white rounded-xl p-4 hover:shadow-md transition-shadow group",children:[c.jsxs("div",{"code-path":"src/pages/Technology.tsx:124:25",className:"flex items-center gap-4",children:[c.jsx("div",{"code-path":"src/pages/Technology.tsx:125:27",className:"w-12 h-12 bg-red-100 rounded-lg flex items-center justify-center",children:c.jsx(wn,{"code-path":"src/pages/Technology.tsx:126:29",className:"w-6 h-6 text-red-600"})}),c.jsxs("div",{"code-path":"src/pages/Technology.tsx:128:27",children:[c.jsx("h4",{"code-path":"src/pages/Technology.tsx:129:29",className:"font-medium text-gray-900 group-hover:text-[#0064ff] transition-colors",children:r.name}),c.jsxs("p",{"code-path":"src/pages/Technology.tsx:132:29",className:"text-sm text-gray-500",children:[r.size," · ",r.type]})]})]}),c.jsx(lu,{"code-path":"src/pages/Technology.tsx:135:25",className:"w-5 h-5 text-gray-400 group-hover:text-[#0064ff] transition-colors"})]},r.name))})})]})]}),c.jsxs("div",{"code-path":"src/pages/Technology.tsx:144:13",className:"mt-12",children:[c.jsx("h3",{"code-path":"src/pages/Technology.tsx:145:15",className:"text-2xl font-bold text-gray-900 mb-6",children:"技术对比"}),c.jsx("div",{"code-path":"src/pages/Technology.tsx:146:15",className:"bg-white rounded-2xl shadow-sm overflow-hidden",children:c.jsxs("table",{"code-path":"src/pages/Technology.tsx:147:17",className:"w-full",children:[c.jsx("thead",{"code-path":"src/pages/Technology.tsx:148:19",className:"bg-gray-50",children:c.jsxs("tr",{"code-path":"src/pages/Technology.tsx:149:21",children:[c.jsx("th",{"code-path":"src/pages/Technology.tsx:150:23",className:"px-6 py-4 text-left text-sm font-semibold text-gray-900",children:"技术参数"}),Nf.map(r=>c.jsx("th",{"code-path":"src/pages/Technology.tsx:152:25",className:"px-6 py-4 text-left text-sm font-semibold text-gray-900",children:r.name},r.id))]})}),c.jsxs("tbody",{"code-path":"src/pages/Technology.tsx:158:19",className:"divide-y divide-gray-100",children:[c.jsxs("tr",{"code-path":"src/pages/Technology.tsx:159:21",children:[c.jsx("td",{"code-path":"src/pages/Technology.tsx:160:23",className:"px-6 py-4 text-sm text-gray-600",children:"分选纯度"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:161:23",className:"px-6 py-4 text-sm text-gray-900",children:"高达99%"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:162:23",className:"px-6 py-4 text-sm text-gray-900",children:"高达98%"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:163:23",className:"px-6 py-4 text-sm text-gray-900",children:"高达97%"})]}),c.jsxs("tr",{"code-path":"src/pages/Technology.tsx:165:21",children:[c.jsx("td",{"code-path":"src/pages/Technology.tsx:166:23",className:"px-6 py-4 text-sm text-gray-600",children:"细胞回收率"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:167:23",className:"px-6 py-4 text-sm text-gray-900",children:">95%"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:168:23",className:"px-6 py-4 text-sm text-gray-900",children:">90%"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:169:23",className:"px-6 py-4 text-sm text-gray-900",children:">93%"})]}),c.jsxs("tr",{"code-path":"src/pages/Technology.tsx:171:21",children:[c.jsx("td",{"code-path":"src/pages/Technology.tsx:172:23",className:"px-6 py-4 text-sm text-gray-600",children:"处理时间"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:173:23",className:"px-6 py-4 text-sm text-gray-900",children:"15-30分钟"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:174:23",className:"px-6 py-4 text-sm text-gray-900",children:"30-60分钟"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:175:23",className:"px-6 py-4 text-sm text-gray-900",children:"10-20分钟"})]}),c.jsxs("tr",{"code-path":"src/pages/Technology.tsx:177:21",children:[c.jsx("td",{"code-path":"src/pages/Technology.tsx:178:23",className:"px-6 py-4 text-sm text-gray-600",children:"适用规模"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:179:23",className:"px-6 py-4 text-sm text-gray-900",children:"中小规模"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:180:23",className:"px-6 py-4 text-sm text-gray-900",children:"中小规模"}),c.jsx("td",{"code-path":"src/pages/Technology.tsx:181:23",className:"px-6 py-4 text-sm text-gray-900",children:"大规模/自动化"})]})]})]})})]})]})]})}),c.jsx(Zn,{"code-path":"src/pages/Technology.tsx:191:7"})]})}const Sg={company:"公司新闻",industry:"行业动态",technology:"技术文章"},G2={company:"bg-blue-100 text-blue-600",industry:"bg-green-100 text-green-600",technology:"bg-purple-100 text-purple-600"};function bD(){const[a,t]=v.useState("all"),[r,n]=v.useState(""),o=v.useMemo(()=>fi.filter(d=>{const f=a==="all"||d.category===a,h=r===""||d.title.toLowerCase().includes(r.toLowerCase())||d.excerpt.toLowerCase().includes(r.toLowerCase());return f&&h}),[a,r]),l=fi.find(d=>d.featured);return c.jsxs("div",{"code-path":"src/pages/News.tsx:46:5",className:"min-h-screen bg-gray-50",children:[c.jsx(Kn,{"code-path":"src/pages/News.tsx:47:7"}),c.jsx("div",{"code-path":"src/pages/News.tsx:50:7",className:"pt-24 pb-12 bg-white",children:c.jsx("div",{"code-path":"src/pages/News.tsx:51:9",className:"section-padding",children:c.jsxs("div",{"code-path":"src/pages/News.tsx:52:11",className:"flex flex-col md:flex-row md:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/News.tsx:53:13",children:[c.jsx("h1",{"code-path":"src/pages/News.tsx:54:15",className:"text-3xl lg:text-4xl font-bold text-gray-900",children:"新闻资讯"}),c.jsx("p",{"code-path":"src/pages/News.tsx:55:15",className:"text-gray-600 mt-2",children:"了解CellSort的最新动态和行业资讯"})]}),c.jsxs("div",{"code-path":"src/pages/News.tsx:57:13",className:"flex items-center gap-2 text-sm text-gray-500",children:[c.jsx(fe,{"code-path":"src/pages/News.tsx:58:15",to:"/",className:"hover:text-[#0064ff]",children:"首页"}),c.jsx(Vs,{"code-path":"src/pages/News.tsx:59:15",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/pages/News.tsx:60:15",children:"新闻资讯"})]})]})})}),l&&a==="all"&&r===""&&c.jsx("div",{"code-path":"src/pages/News.tsx:68:9",className:"section-padding pb-12",children:c.jsx(fe,{"code-path":"src/pages/News.tsx:69:11",to:`/news/${l.slug}`,className:"group block",children:c.jsx("div",{"code-path":"src/pages/News.tsx:70:13",className:"bg-white rounded-2xl overflow-hidden shadow-sm hover:shadow-xl transition-shadow",children:c.jsxs("div",{"code-path":"src/pages/News.tsx:71:15",className:"grid lg:grid-cols-2",children:[c.jsxs("div",{"code-path":"src/pages/News.tsx:72:17",className:"aspect-video lg:aspect-auto bg-gray-100 relative overflow-hidden",children:[c.jsx("div",{"code-path":"src/pages/News.tsx:73:19",className:"absolute inset-0 flex items-center justify-center",children:c.jsx("span",{"code-path":"src/pages/News.tsx:74:21",className:"text-6xl font-bold text-gray-300",children:l.title.charAt(0)})}),c.jsx("div",{"code-path":"src/pages/News.tsx:78:19",className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"})]}),c.jsxs("div",{"code-path":"src/pages/News.tsx:80:17",className:"p-8 lg:p-12 flex flex-col justify-center",children:[c.jsx("span",{"code-path":"src/pages/News.tsx:81:19",className:`inline-block px-3 py-1 rounded-full text-xs font-medium w-fit mb-4 ${G2[l.category]}`,children:Sg[l.category]}),c.jsx("h2",{"code-path":"src/pages/News.tsx:84:19",className:"text-2xl lg:text-3xl font-bold text-gray-900 group-hover:text-[#0064ff] transition-colors mb-4",children:l.title}),c.jsx("p",{"code-path":"src/pages/News.tsx:87:19",className:"text-gray-600 mb-6",children:l.excerpt}),c.jsxs("div",{"code-path":"src/pages/News.tsx:88:19",className:"flex items-center gap-4 text-sm text-gray-500",children:[c.jsxs("span",{"code-path":"src/pages/News.tsx:89:21",className:"flex items-center gap-1",children:[c.jsx(zf,{"code-path":"src/pages/News.tsx:90:23",className:"w-4 h-4"}),new Date(l.publishedAt).toLocaleDateString("zh-CN")]}),c.jsxs("span",{"code-path":"src/pages/News.tsx:93:21",className:"flex items-center gap-1",children:[c.jsx(pp,{"code-path":"src/pages/News.tsx:94:23",className:"w-4 h-4"}),l.author]}),c.jsxs("span",{"code-path":"src/pages/News.tsx:97:21",className:"flex items-center gap-1",children:[c.jsx(ho,{"code-path":"src/pages/News.tsx:98:23",className:"w-4 h-4"}),l.views]})]})]})]})})})}),c.jsx("div",{"code-path":"src/pages/News.tsx:110:7",className:"section-padding pb-8",children:c.jsxs("div",{"code-path":"src/pages/News.tsx:111:9",className:"flex flex-col lg:flex-row lg:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/News.tsx:113:11",className:"flex flex-wrap gap-2",children:[c.jsx("button",{"code-path":"src/pages/News.tsx:114:13",onClick:()=>t("all"),className:`px-4 py-2 rounded-lg font-medium text-sm transition-all ${a==="all"?"bg-[#0064ff] text-white":"bg-white text-gray-600 hover:bg-gray-100 border border-gray-200"}`,children:"全部"}),Object.entries(Sg).map(([d,f])=>c.jsx("button",{"code-path":"src/pages/News.tsx:125:15",onClick:()=>t(d),className:`px-4 py-2 rounded-lg font-medium text-sm transition-all ${a===d?"bg-[#0064ff] text-white":"bg-white text-gray-600 hover:bg-gray-100 border border-gray-200"}`,children:f},d))]}),c.jsxs("div",{"code-path":"src/pages/News.tsx:140:11",className:"relative w-full lg:w-72",children:[c.jsx(Oa,{"code-path":"src/pages/News.tsx:141:13",className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),c.jsx(De,{"code-path":"src/pages/News.tsx:142:13",type:"text",placeholder:"搜索新闻...",value:r,onChange:d=>n(d.target.value),className:"pl-10"})]})]})}),c.jsx("div",{"code-path":"src/pages/News.tsx:154:7",className:"section-padding pb-12",children:o.length>0?c.jsx("div",{"code-path":"src/pages/News.tsx:156:11",className:"grid md:grid-cols-2 lg:grid-cols-3 gap-8",children:o.map(d=>c.jsxs(fe,{"code-path":"src/pages/News.tsx:158:15",to:`/news/${d.slug}`,className:"group bg-white rounded-xl overflow-hidden shadow-sm hover:shadow-xl transition-all duration-300",children:[c.jsxs("div",{"code-path":"src/pages/News.tsx:163:17",className:"aspect-[16/10] bg-gray-100 relative overflow-hidden",children:[c.jsx("div",{"code-path":"src/pages/News.tsx:164:19",className:"absolute inset-0 flex items-center justify-center",children:c.jsx("span",{"code-path":"src/pages/News.tsx:165:21",className:"text-4xl font-bold text-gray-300",children:d.title.charAt(0)})}),c.jsx("div",{"code-path":"src/pages/News.tsx:169:19",className:"absolute inset-0 bg-gradient-to-t from-black/30 to-transparent opacity-0 group-hover:opacity-100 transition-opacity"}),c.jsx("div",{"code-path":"src/pages/News.tsx:170:19",className:"absolute top-4 left-4",children:c.jsx("span",{"code-path":"src/pages/News.tsx:171:21",className:`px-3 py-1 rounded-full text-xs font-medium ${G2[d.category]}`,children:Sg[d.category]})})]}),c.jsxs("div",{"code-path":"src/pages/News.tsx:176:17",className:"p-6",children:[c.jsx("div",{"code-path":"src/pages/News.tsx:177:19",className:"flex items-center gap-4 text-sm text-gray-500 mb-3",children:c.jsxs("span",{"code-path":"src/pages/News.tsx:178:21",className:"flex items-center gap-1",children:[c.jsx(zf,{"code-path":"src/pages/News.tsx:179:23",className:"w-4 h-4"}),new Date(d.publishedAt).toLocaleDateString("zh-CN")]})}),c.jsx("h3",{"code-path":"src/pages/News.tsx:183:19",className:"font-semibold text-gray-900 group-hover:text-[#0064ff] transition-colors line-clamp-2",children:d.title}),c.jsx("p",{"code-path":"src/pages/News.tsx:186:19",className:"text-gray-600 text-sm mt-2 line-clamp-2",children:d.excerpt}),c.jsxs("div",{"code-path":"src/pages/News.tsx:189:19",className:"flex items-center gap-2 mt-4 text-[#0064ff] font-medium text-sm",children:[c.jsx("span",{"code-path":"src/pages/News.tsx:190:21",children:"阅读更多"}),c.jsx(Is,{"code-path":"src/pages/News.tsx:191:21",className:"w-4 h-4 transition-transform group-hover:translate-x-1"})]})]})]},d.id))}):c.jsxs("div",{"code-path":"src/pages/News.tsx:198:11",className:"text-center py-20",children:[c.jsx("div",{"code-path":"src/pages/News.tsx:199:13",className:"w-20 h-20 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-4",children:c.jsx(Oa,{"code-path":"src/pages/News.tsx:200:15",className:"w-10 h-10 text-gray-400"})}),c.jsx("h3",{"code-path":"src/pages/News.tsx:202:13",className:"text-lg font-semibold text-gray-900",children:"未找到相关新闻"}),c.jsx("p",{"code-path":"src/pages/News.tsx:203:13",className:"text-gray-500 mt-2",children:"请尝试其他搜索条件"})]})}),c.jsx(Zn,{"code-path":"src/pages/News.tsx:208:7"})]})}const _g={company:"公司新闻",industry:"行业动态",technology:"技术文章"},wD={company:"bg-blue-100 text-blue-600",industry:"bg-green-100 text-green-600",technology:"bg-purple-100 text-purple-600"};function ND(){const{slug:a}=cp(),t=fi.find(n=>n.slug===a);if(!t)return c.jsx(Eu,{"code-path":"src/pages/NewsDetail.tsx:34:12",to:"/news",replace:!0});const r=fi.filter(n=>n.category===t.category&&n.id!==t.id).slice(0,3);return c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:42:5",className:"min-h-screen bg-gray-50",children:[c.jsx(Kn,{"code-path":"src/pages/NewsDetail.tsx:43:7"}),c.jsx("div",{"code-path":"src/pages/NewsDetail.tsx:46:7",className:"pt-24 pb-8 bg-white",children:c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:47:9",className:"section-padding",children:[c.jsxs(fe,{"code-path":"src/pages/NewsDetail.tsx:48:11",to:"/news",className:"inline-flex items-center gap-2 text-gray-500 hover:text-[#0064ff] mb-4",children:[c.jsx(up,{"code-path":"src/pages/NewsDetail.tsx:52:13",className:"w-4 h-4"}),"返回新闻列表"]}),c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:56:11",className:"flex items-center gap-2 text-sm text-gray-500 mb-4",children:[c.jsx(fe,{"code-path":"src/pages/NewsDetail.tsx:57:13",to:"/",className:"hover:text-[#0064ff]",children:"首页"}),c.jsx(Vs,{"code-path":"src/pages/NewsDetail.tsx:58:13",className:"w-4 h-4"}),c.jsx(fe,{"code-path":"src/pages/NewsDetail.tsx:59:13",to:"/news",className:"hover:text-[#0064ff]",children:"新闻资讯"}),c.jsx(Vs,{"code-path":"src/pages/NewsDetail.tsx:60:13",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/pages/NewsDetail.tsx:61:13",children:_g[t.category]})]})]})}),c.jsx("div",{"code-path":"src/pages/NewsDetail.tsx:67:7",className:"section-padding py-8",children:c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:68:9",className:"grid lg:grid-cols-3 gap-12",children:[c.jsx("div",{"code-path":"src/pages/NewsDetail.tsx:70:11",className:"lg:col-span-2",children:c.jsxs("article",{"code-path":"src/pages/NewsDetail.tsx:71:13",className:"bg-white rounded-2xl shadow-sm overflow-hidden",children:[c.jsx("div",{"code-path":"src/pages/NewsDetail.tsx:73:15",className:"aspect-[21/9] bg-gray-100 relative overflow-hidden",children:c.jsx("div",{"code-path":"src/pages/NewsDetail.tsx:74:17",className:"absolute inset-0 flex items-center justify-center",children:c.jsx("span",{"code-path":"src/pages/NewsDetail.tsx:75:19",className:"text-8xl font-bold text-gray-300",children:t.title.charAt(0)})})}),c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:81:15",className:"p-8 lg:p-12",children:[c.jsx("span",{"code-path":"src/pages/NewsDetail.tsx:83:17",className:`inline-block px-3 py-1 rounded-full text-xs font-medium mb-4 ${wD[t.category]}`,children:_g[t.category]}),c.jsx("h1",{"code-path":"src/pages/NewsDetail.tsx:88:17",className:"text-2xl lg:text-4xl font-bold text-gray-900 mb-6",children:t.title}),c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:93:17",className:"flex flex-wrap items-center gap-4 text-sm text-gray-500 mb-8 pb-8 border-b border-gray-100",children:[c.jsxs("span",{"code-path":"src/pages/NewsDetail.tsx:94:19",className:"flex items-center gap-1",children:[c.jsx(zf,{"code-path":"src/pages/NewsDetail.tsx:95:21",className:"w-4 h-4"}),new Date(t.publishedAt).toLocaleDateString("zh-CN")]}),c.jsxs("span",{"code-path":"src/pages/NewsDetail.tsx:98:19",className:"flex items-center gap-1",children:[c.jsx(pp,{"code-path":"src/pages/NewsDetail.tsx:99:21",className:"w-4 h-4"}),t.author]}),c.jsxs("span",{"code-path":"src/pages/NewsDetail.tsx:102:19",className:"flex items-center gap-1",children:[c.jsx(ho,{"code-path":"src/pages/NewsDetail.tsx:103:21",className:"w-4 h-4"}),t.views," 阅读"]})]}),c.jsx("div",{"code-path":"src/pages/NewsDetail.tsx:109:17",className:"prose prose-lg max-w-none",children:t.content.split(`

`).map((n,o)=>c.jsx("p",{"code-path":"src/pages/NewsDetail.tsx:111:21",className:"text-gray-700 leading-relaxed mb-4",children:n},o))}),c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:118:17",className:"mt-12 pt-8 border-t border-gray-100",children:[c.jsx("p",{"code-path":"src/pages/NewsDetail.tsx:119:19",className:"text-sm text-gray-500 mb-4",children:"分享这篇文章"}),c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:120:19",className:"flex gap-3",children:[c.jsx("button",{"code-path":"src/pages/NewsDetail.tsx:121:21",className:"w-10 h-10 bg-blue-600 rounded-lg flex items-center justify-center text-white hover:bg-blue-700 transition-colors",children:c.jsx(t6,{"code-path":"src/pages/NewsDetail.tsx:122:23",className:"w-5 h-5"})}),c.jsx("button",{"code-path":"src/pages/NewsDetail.tsx:124:21",className:"w-10 h-10 bg-sky-500 rounded-lg flex items-center justify-center text-white hover:bg-sky-600 transition-colors",children:c.jsx(nN,{"code-path":"src/pages/NewsDetail.tsx:125:23",className:"w-5 h-5"})}),c.jsx("button",{"code-path":"src/pages/NewsDetail.tsx:127:21",className:"w-10 h-10 bg-blue-700 rounded-lg flex items-center justify-center text-white hover:bg-blue-800 transition-colors",children:c.jsx(Kw,{"code-path":"src/pages/NewsDetail.tsx:128:23",className:"w-5 h-5"})})]})]})]})]})}),c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:137:11",className:"space-y-8",children:[r.length>0&&c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:140:15",className:"bg-white rounded-2xl p-6 shadow-sm",children:[c.jsx("h3",{"code-path":"src/pages/NewsDetail.tsx:141:17",className:"font-semibold text-gray-900 mb-4",children:"相关文章"}),c.jsx("div",{"code-path":"src/pages/NewsDetail.tsx:142:17",className:"space-y-4",children:r.map(n=>c.jsx(fe,{"code-path":"src/pages/NewsDetail.tsx:144:21",to:`/news/${n.slug}`,className:"block group",children:c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:149:23",className:"flex gap-4",children:[c.jsx("div",{"code-path":"src/pages/NewsDetail.tsx:150:25",className:"w-20 h-20 bg-gray-100 rounded-lg flex items-center justify-center flex-shrink-0",children:c.jsx("span",{"code-path":"src/pages/NewsDetail.tsx:151:27",className:"text-xl font-bold text-gray-300",children:n.title.charAt(0)})}),c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:155:25",children:[c.jsx("h4",{"code-path":"src/pages/NewsDetail.tsx:156:27",className:"font-medium text-gray-900 group-hover:text-[#0064ff] transition-colors line-clamp-2 text-sm",children:n.title}),c.jsx("p",{"code-path":"src/pages/NewsDetail.tsx:159:27",className:"text-xs text-gray-500 mt-1",children:new Date(n.publishedAt).toLocaleDateString("zh-CN")})]})]})},n.id))})]}),c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:171:13",className:"bg-white rounded-2xl p-6 shadow-sm",children:[c.jsx("h3",{"code-path":"src/pages/NewsDetail.tsx:172:15",className:"font-semibold text-gray-900 mb-4",children:"文章分类"}),c.jsx("div",{"code-path":"src/pages/NewsDetail.tsx:173:15",className:"space-y-2",children:Object.entries(_g).map(([n,o])=>c.jsxs(fe,{"code-path":"src/pages/NewsDetail.tsx:175:19",to:`/news?category=${n}`,className:"flex items-center justify-between p-3 rounded-lg hover:bg-gray-50 transition-colors",children:[c.jsx("span",{"code-path":"src/pages/NewsDetail.tsx:180:21",className:"text-gray-700",children:o}),c.jsx("span",{"code-path":"src/pages/NewsDetail.tsx:181:21",className:"text-sm text-gray-400",children:fi.filter(l=>l.category===n).length})]},n))})]}),c.jsxs("div",{"code-path":"src/pages/NewsDetail.tsx:190:13",className:"bg-[#0064ff] rounded-2xl p-6 text-white",children:[c.jsx("h3",{"code-path":"src/pages/NewsDetail.tsx:191:15",className:"font-semibold mb-2",children:"订阅我们的新闻"}),c.jsx("p",{"code-path":"src/pages/NewsDetail.tsx:192:15",className:"text-blue-100 text-sm mb-4",children:"获取最新的产品发布和技术资讯"}),c.jsx("button",{"code-path":"src/pages/NewsDetail.tsx:195:15",className:"w-full py-3 bg-white text-[#0064ff] rounded-lg font-medium hover:bg-blue-50 transition-colors",children:"立即订阅"})]})]})]})}),c.jsx(Zn,{"code-path":"src/pages/NewsDetail.tsx:203:7"})]})}nt.registerPlugin(Ce);const I2=[{year:"2014",title:"公司成立",description:"CellSort在上海成立，专注于细胞分选技术"},{year:"2016",title:"首款产品上市",description:"MS Columns细胞分选柱正式上市"},{year:"2018",title:"技术突破",description:"推出无柱磁分选技术，获得多项专利"},{year:"2020",title:"市场扩展",description:"产品出口至欧美市场，服务全球客户"},{year:"2022",title:"GMP产品线",description:"推出符合GMP标准的细胞分选产品"},{year:"2024",title:"持续创新",description:"发布新一代自动化分选系统"}],SD=[{icon:sN,title:"精准",description:"追求极致的分选精度，确保实验结果的可靠性"},{icon:Xw,title:"创新",description:"持续投入研发，推动细胞分选技术的进步"},{icon:cT,title:"服务",description:"以客户为中心，提供专业的技术支持"},{icon:Vw,title:"品质",description:"严格的质量控制，确保产品的一致性"}];function _D(){const a=v.useRef(null),[t,r]=v.useState({});return v.useEffect(()=>{const n=nt.context(()=>{nt.fromTo(".milestone-item",{opacity:0,x:-30},{opacity:1,x:0,duration:.6,stagger:.1,ease:"power2.out",scrollTrigger:{trigger:".milestones-section",start:"top 80%"}}),Hf.forEach(o=>{Ce.create({trigger:".stats-section",start:"top 80%",onEnter:()=>{const l=parseFloat(o.value),d=2,f=Date.now(),h=()=>{const m=(Date.now()-f)/1e3,x=Math.min(m/d,1),y=1-Math.pow(1-x,3);r(N=>({...N,[o.label]:Math.floor(l*y)})),x<1&&requestAnimationFrame(h)};h()},once:!0})})},a);return()=>n.revert()},[]),c.jsxs("div",{"code-path":"src/pages/About.tsx:112:5",className:"min-h-screen bg-white",children:[c.jsx(Kn,{"code-path":"src/pages/About.tsx:113:7"}),c.jsx("div",{"code-path":"src/pages/About.tsx:116:7",className:"pt-24 pb-12 bg-gradient-to-br from-gray-900 to-gray-800 text-white",children:c.jsx("div",{"code-path":"src/pages/About.tsx:117:9",className:"section-padding",children:c.jsxs("div",{"code-path":"src/pages/About.tsx:118:11",className:"flex flex-col md:flex-row md:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/About.tsx:119:13",children:[c.jsx("h1",{"code-path":"src/pages/About.tsx:120:15",className:"text-3xl lg:text-4xl font-bold",children:"关于我们"}),c.jsx("p",{"code-path":"src/pages/About.tsx:121:15",className:"text-gray-400 mt-2",children:"推动生命科学研究的进步"})]}),c.jsxs("div",{"code-path":"src/pages/About.tsx:123:13",className:"flex items-center gap-2 text-sm text-gray-400",children:[c.jsx(fe,{"code-path":"src/pages/About.tsx:124:15",to:"/",className:"hover:text-white",children:"首页"}),c.jsx(Vs,{"code-path":"src/pages/About.tsx:125:15",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/pages/About.tsx:126:15",children:"关于我们"})]})]})})}),c.jsx("section",{"code-path":"src/pages/About.tsx:133:7",className:"section-padding py-16",children:c.jsxs("div",{"code-path":"src/pages/About.tsx:134:9",className:"grid lg:grid-cols-2 gap-12 items-center",children:[c.jsxs("div",{"code-path":"src/pages/About.tsx:135:11",children:[c.jsx("span",{"code-path":"src/pages/About.tsx:136:13",className:"text-[#0064ff] font-medium text-sm uppercase tracking-wider",children:"公司简介"}),c.jsx("h2",{"code-path":"src/pages/About.tsx:137:13",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-3 mb-6",children:"专业细胞分选技术解决方案提供商"}),c.jsxs("div",{"code-path":"src/pages/About.tsx:140:13",className:"space-y-4 text-gray-600 leading-relaxed",children:[c.jsx("p",{"code-path":"src/pages/About.tsx:141:15",children:"CellSort成立于2014年，总部位于上海张江高科技园区，是一家专注于细胞分选技术研发、生产和销售的高新技术企业。"}),c.jsx("p",{"code-path":"src/pages/About.tsx:144:15",children:"十年来，我们始终致力于为全球的科研机构、生物医药企业提供高品质的细胞分选产品和解决方案。我们的产品已服务于500多家科研机构，涵盖免疫学、肿瘤学、干细胞研究等多个领域。"}),c.jsx("p",{"code-path":"src/pages/About.tsx:147:15",children:'凭借卓越的产品质量和专业的技术支持，CellSort已成为细胞分选领域的信赖品牌。我们将继续秉承"精准、创新、服务、品质"的核心价值观，为生命科学研究贡献力量。'})]})]}),c.jsx("div",{"code-path":"src/pages/About.tsx:152:11",className:"relative",children:c.jsx("div",{"code-path":"src/pages/About.tsx:153:13",className:"aspect-video bg-gray-100 rounded-2xl overflow-hidden",children:c.jsx("div",{"code-path":"src/pages/About.tsx:154:15",className:"w-full h-full flex items-center justify-center",children:c.jsx("span",{"code-path":"src/pages/About.tsx:155:17",className:"text-6xl font-bold text-gray-300",children:"CellSort"})})})})]})}),c.jsx("section",{"code-path":"src/pages/About.tsx:163:7",className:"stats-section bg-gray-50 py-16",children:c.jsx("div",{"code-path":"src/pages/About.tsx:164:9",className:"section-padding",children:c.jsx("div",{"code-path":"src/pages/About.tsx:165:11",className:"grid grid-cols-2 lg:grid-cols-4 gap-8",children:Hf.map(n=>c.jsxs("div",{"code-path":"src/pages/About.tsx:167:15",className:"text-center",children:[c.jsxs("div",{"code-path":"src/pages/About.tsx:168:17",className:"flex items-baseline justify-center gap-1",children:[c.jsx("span",{"code-path":"src/pages/About.tsx:169:19",className:"text-4xl lg:text-5xl font-bold text-[#0064ff]",children:t[n.label]||0}),c.jsx("span",{"code-path":"src/pages/About.tsx:172:19",className:"text-2xl font-bold text-[#0064ff]",children:n.suffix})]}),c.jsx("div",{"code-path":"src/pages/About.tsx:174:17",className:"text-lg font-medium text-gray-900 mt-2",children:n.label}),c.jsx("div",{"code-path":"src/pages/About.tsx:175:17",className:"text-sm text-gray-500",children:n.description})]},n.label))})})}),c.jsxs("section",{"code-path":"src/pages/About.tsx:183:7",className:"section-padding py-16",children:[c.jsxs("div",{"code-path":"src/pages/About.tsx:184:9",className:"text-center mb-12",children:[c.jsx("span",{"code-path":"src/pages/About.tsx:185:11",className:"text-[#0064ff] font-medium text-sm uppercase tracking-wider",children:"企业文化"}),c.jsx("h2",{"code-path":"src/pages/About.tsx:186:11",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-3",children:"我们的价值观"})]}),c.jsx("div",{"code-path":"src/pages/About.tsx:188:9",className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-8",children:SD.map(n=>{const o=n.icon;return c.jsxs("div",{"code-path":"src/pages/About.tsx:192:15",className:"text-center",children:[c.jsx("div",{"code-path":"src/pages/About.tsx:193:17",className:"w-16 h-16 bg-blue-100 rounded-2xl flex items-center justify-center mx-auto mb-4",children:c.jsx(o,{"code-path":"src/pages/About.tsx:194:19",className:"w-8 h-8 text-[#0064ff]"})}),c.jsx("h3",{"code-path":"src/pages/About.tsx:196:17",className:"text-xl font-semibold text-gray-900 mb-2",children:n.title}),c.jsx("p",{"code-path":"src/pages/About.tsx:197:17",className:"text-gray-600 text-sm",children:n.description})]},n.title)})})]}),c.jsx("section",{"code-path":"src/pages/About.tsx:205:7",ref:a,className:"milestones-section bg-gray-50 py-16",children:c.jsxs("div",{"code-path":"src/pages/About.tsx:206:9",className:"section-padding",children:[c.jsxs("div",{"code-path":"src/pages/About.tsx:207:11",className:"text-center mb-12",children:[c.jsx("span",{"code-path":"src/pages/About.tsx:208:13",className:"text-[#0064ff] font-medium text-sm uppercase tracking-wider",children:"发展历程"}),c.jsx("h2",{"code-path":"src/pages/About.tsx:209:13",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-3",children:"我们的足迹"})]}),c.jsx("div",{"code-path":"src/pages/About.tsx:211:11",className:"max-w-4xl mx-auto",children:c.jsx("div",{"code-path":"src/pages/About.tsx:212:13",className:"space-y-8",children:I2.map((n,o)=>c.jsxs("div",{"code-path":"src/pages/About.tsx:214:17",className:"milestone-item flex gap-6",children:[c.jsxs("div",{"code-path":"src/pages/About.tsx:218:19",className:"flex flex-col items-center",children:[c.jsx("div",{"code-path":"src/pages/About.tsx:219:21",className:"w-12 h-12 bg-[#0064ff] rounded-full flex items-center justify-center flex-shrink-0",children:c.jsx("span",{"code-path":"src/pages/About.tsx:220:23",className:"text-white font-bold text-sm",children:n.year.slice(2)})}),o<I2.length-1&&c.jsx("div",{"code-path":"src/pages/About.tsx:223:23",className:"w-0.5 h-full bg-blue-200 my-2"})]}),c.jsxs("div",{"code-path":"src/pages/About.tsx:226:19",className:"pb-8",children:[c.jsx("span",{"code-path":"src/pages/About.tsx:227:21",className:"text-[#0064ff] font-semibold",children:n.year}),c.jsx("h3",{"code-path":"src/pages/About.tsx:228:21",className:"text-lg font-semibold text-gray-900 mt-1",children:n.title}),c.jsx("p",{"code-path":"src/pages/About.tsx:229:21",className:"text-gray-600 mt-1",children:n.description})]})]},n.year))})})]})}),c.jsxs("section",{"code-path":"src/pages/About.tsx:239:7",className:"section-padding py-16",children:[c.jsxs("div",{"code-path":"src/pages/About.tsx:240:9",className:"text-center mb-12",children:[c.jsx("span",{"code-path":"src/pages/About.tsx:241:11",className:"text-[#0064ff] font-medium text-sm uppercase tracking-wider",children:"合作伙伴"}),c.jsx("h2",{"code-path":"src/pages/About.tsx:242:11",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-3",children:"受到众多知名机构信赖"})]}),c.jsx("div",{"code-path":"src/pages/About.tsx:244:9",className:"flex flex-wrap justify-center items-center gap-8 lg:gap-16",children:vT.map(n=>c.jsx("div",{"code-path":"src/pages/About.tsx:246:13",className:"w-32 h-20 bg-gray-100 rounded-lg flex items-center justify-center",children:c.jsx("span",{"code-path":"src/pages/About.tsx:250:15",className:"text-lg font-semibold text-gray-400",children:n.name})},n.id))})]}),c.jsxs("section",{"code-path":"src/pages/About.tsx:257:7",className:"section-padding py-16 bg-gray-50",children:[c.jsxs("div",{"code-path":"src/pages/About.tsx:258:9",className:"text-center mb-12",children:[c.jsx("span",{"code-path":"src/pages/About.tsx:259:11",className:"text-[#0064ff] font-medium text-sm uppercase tracking-wider",children:"联系我们"}),c.jsx("h2",{"code-path":"src/pages/About.tsx:260:11",className:"text-3xl lg:text-4xl font-bold text-gray-900 mt-3",children:"与我们取得联系"})]}),c.jsxs("div",{"code-path":"src/pages/About.tsx:262:9",className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:[c.jsxs("div",{"code-path":"src/pages/About.tsx:263:11",className:"bg-white rounded-xl p-6 text-center",children:[c.jsx("div",{"code-path":"src/pages/About.tsx:264:13",className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mx-auto mb-4",children:c.jsx(Lf,{"code-path":"src/pages/About.tsx:265:15",className:"w-6 h-6 text-[#0064ff]"})}),c.jsx("h3",{"code-path":"src/pages/About.tsx:267:13",className:"font-semibold text-gray-900 mb-2",children:"地址"}),c.jsx("p",{"code-path":"src/pages/About.tsx:268:13",className:"text-gray-600 text-sm",children:ja.address})]}),c.jsxs("div",{"code-path":"src/pages/About.tsx:270:11",className:"bg-white rounded-xl p-6 text-center",children:[c.jsx("div",{"code-path":"src/pages/About.tsx:271:13",className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mx-auto mb-4",children:c.jsx(uu,{"code-path":"src/pages/About.tsx:272:15",className:"w-6 h-6 text-[#0064ff]"})}),c.jsx("h3",{"code-path":"src/pages/About.tsx:274:13",className:"font-semibold text-gray-900 mb-2",children:"电话"}),c.jsx("p",{"code-path":"src/pages/About.tsx:275:13",className:"text-gray-600 text-sm",children:ja.phone})]}),c.jsxs("div",{"code-path":"src/pages/About.tsx:277:11",className:"bg-white rounded-xl p-6 text-center",children:[c.jsx("div",{"code-path":"src/pages/About.tsx:278:13",className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mx-auto mb-4",children:c.jsx(Hc,{"code-path":"src/pages/About.tsx:279:15",className:"w-6 h-6 text-[#0064ff]"})}),c.jsx("h3",{"code-path":"src/pages/About.tsx:281:13",className:"font-semibold text-gray-900 mb-2",children:"邮箱"}),c.jsx("p",{"code-path":"src/pages/About.tsx:282:13",className:"text-gray-600 text-sm",children:ja.email})]}),c.jsxs("div",{"code-path":"src/pages/About.tsx:284:11",className:"bg-white rounded-xl p-6 text-center",children:[c.jsx("div",{"code-path":"src/pages/About.tsx:285:13",className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mx-auto mb-4",children:c.jsx(Tu,{"code-path":"src/pages/About.tsx:286:15",className:"w-6 h-6 text-[#0064ff]"})}),c.jsx("h3",{"code-path":"src/pages/About.tsx:288:13",className:"font-semibold text-gray-900 mb-2",children:"工作时间"}),c.jsx("p",{"code-path":"src/pages/About.tsx:289:13",className:"text-gray-600 text-sm",children:ja.workingHours})]})]})]}),c.jsx(Zn,{"code-path":"src/pages/About.tsx:294:7"})]})}function hc({className:a,...t}){return c.jsx("textarea",{"code-path":"src/components/ui/textarea.tsx:7:5","data-slot":"textarea",className:cs("border-input placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 flex field-sizing-content min-h-16 w-full rounded-md border bg-transparent px-3 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",a),...t})}function jD(){const[a,t]=v.useState(!1),[r,n]=v.useState({name:"",email:"",company:"",phone:"",subject:"",message:""}),o=d=>{d.preventDefault(),t(!0)},l=d=>{n(f=>({...f,[d.target.name]:d.target.value}))};return c.jsxs("div",{"code-path":"src/pages/Contact.tsx:44:5",className:"min-h-screen bg-gray-50",children:[c.jsx(Kn,{"code-path":"src/pages/Contact.tsx:45:7"}),c.jsx("div",{"code-path":"src/pages/Contact.tsx:48:7",className:"pt-24 pb-12 bg-white",children:c.jsx("div",{"code-path":"src/pages/Contact.tsx:49:9",className:"section-padding",children:c.jsxs("div",{"code-path":"src/pages/Contact.tsx:50:11",className:"flex flex-col md:flex-row md:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/Contact.tsx:51:13",children:[c.jsx("h1",{"code-path":"src/pages/Contact.tsx:52:15",className:"text-3xl lg:text-4xl font-bold text-gray-900",children:"联系我们"}),c.jsx("p",{"code-path":"src/pages/Contact.tsx:53:15",className:"text-gray-600 mt-2",children:"我们期待与您取得联系"})]}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:55:13",className:"flex items-center gap-2 text-sm text-gray-500",children:[c.jsx(fe,{"code-path":"src/pages/Contact.tsx:56:15",to:"/",className:"hover:text-[#0064ff]",children:"首页"}),c.jsx(Vs,{"code-path":"src/pages/Contact.tsx:57:15",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/pages/Contact.tsx:58:15",children:"联系我们"})]})]})})}),c.jsx("div",{"code-path":"src/pages/Contact.tsx:65:7",className:"section-padding py-12",children:c.jsxs("div",{"code-path":"src/pages/Contact.tsx:66:9",className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:[c.jsxs("div",{"code-path":"src/pages/Contact.tsx:67:11",className:"bg-white rounded-xl p-6 text-center shadow-sm",children:[c.jsx("div",{"code-path":"src/pages/Contact.tsx:68:13",className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mx-auto mb-4",children:c.jsx(Lf,{"code-path":"src/pages/Contact.tsx:69:15",className:"w-6 h-6 text-[#0064ff]"})}),c.jsx("h3",{"code-path":"src/pages/Contact.tsx:71:13",className:"font-semibold text-gray-900 mb-2",children:"地址"}),c.jsx("p",{"code-path":"src/pages/Contact.tsx:72:13",className:"text-gray-600 text-sm",children:ja.address})]}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:74:11",className:"bg-white rounded-xl p-6 text-center shadow-sm",children:[c.jsx("div",{"code-path":"src/pages/Contact.tsx:75:13",className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mx-auto mb-4",children:c.jsx(uu,{"code-path":"src/pages/Contact.tsx:76:15",className:"w-6 h-6 text-[#0064ff]"})}),c.jsx("h3",{"code-path":"src/pages/Contact.tsx:78:13",className:"font-semibold text-gray-900 mb-2",children:"电话"}),c.jsx("p",{"code-path":"src/pages/Contact.tsx:79:13",className:"text-gray-600 text-sm",children:ja.phone})]}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:81:11",className:"bg-white rounded-xl p-6 text-center shadow-sm",children:[c.jsx("div",{"code-path":"src/pages/Contact.tsx:82:13",className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mx-auto mb-4",children:c.jsx(Hc,{"code-path":"src/pages/Contact.tsx:83:15",className:"w-6 h-6 text-[#0064ff]"})}),c.jsx("h3",{"code-path":"src/pages/Contact.tsx:85:13",className:"font-semibold text-gray-900 mb-2",children:"邮箱"}),c.jsx("p",{"code-path":"src/pages/Contact.tsx:86:13",className:"text-gray-600 text-sm",children:ja.email})]}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:88:11",className:"bg-white rounded-xl p-6 text-center shadow-sm",children:[c.jsx("div",{"code-path":"src/pages/Contact.tsx:89:13",className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center mx-auto mb-4",children:c.jsx(Tu,{"code-path":"src/pages/Contact.tsx:90:15",className:"w-6 h-6 text-[#0064ff]"})}),c.jsx("h3",{"code-path":"src/pages/Contact.tsx:92:13",className:"font-semibold text-gray-900 mb-2",children:"工作时间"}),c.jsx("p",{"code-path":"src/pages/Contact.tsx:93:13",className:"text-gray-600 text-sm",children:ja.workingHours})]})]})}),c.jsx("div",{"code-path":"src/pages/Contact.tsx:99:7",className:"section-padding pb-16",children:c.jsxs("div",{"code-path":"src/pages/Contact.tsx:100:9",className:"grid lg:grid-cols-2 gap-12",children:[c.jsxs("div",{"code-path":"src/pages/Contact.tsx:102:11",className:"bg-white rounded-2xl p-8 shadow-sm",children:[c.jsx("h2",{"code-path":"src/pages/Contact.tsx:103:13",className:"text-2xl font-bold text-gray-900 mb-6",children:"发送消息"}),a?c.jsxs("div",{"code-path":"src/pages/Contact.tsx:106:15",className:"text-center py-12",children:[c.jsx("div",{"code-path":"src/pages/Contact.tsx:107:17",className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4",children:c.jsx(Lc,{"code-path":"src/pages/Contact.tsx:108:19",className:"w-8 h-8 text-green-600"})}),c.jsx("h3",{"code-path":"src/pages/Contact.tsx:110:17",className:"text-xl font-semibold text-gray-900 mb-2",children:"消息已发送"}),c.jsx("p",{"code-path":"src/pages/Contact.tsx:111:17",className:"text-gray-600",children:"感谢您的留言，我们会尽快与您联系。"})]}):c.jsxs("form",{"code-path":"src/pages/Contact.tsx:114:15",onSubmit:o,className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/Contact.tsx:115:17",className:"grid sm:grid-cols-2 gap-6",children:[c.jsxs("div",{"code-path":"src/pages/Contact.tsx:116:19",children:[c.jsxs("label",{"code-path":"src/pages/Contact.tsx:117:21",className:"block text-sm font-medium text-gray-700 mb-2",children:["姓名 ",c.jsx("span",{"code-path":"src/pages/Contact.tsx:118:26",className:"text-red-500",children:"*"})]}),c.jsx(De,{"code-path":"src/pages/Contact.tsx:120:21",type:"text",name:"name",value:r.name,onChange:l,required:!0,placeholder:"请输入您的姓名"})]}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:129:19",children:[c.jsxs("label",{"code-path":"src/pages/Contact.tsx:130:21",className:"block text-sm font-medium text-gray-700 mb-2",children:["邮箱 ",c.jsx("span",{"code-path":"src/pages/Contact.tsx:131:26",className:"text-red-500",children:"*"})]}),c.jsx(De,{"code-path":"src/pages/Contact.tsx:133:21",type:"email",name:"email",value:r.email,onChange:l,required:!0,placeholder:"请输入您的邮箱"})]})]}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:144:17",className:"grid sm:grid-cols-2 gap-6",children:[c.jsxs("div",{"code-path":"src/pages/Contact.tsx:145:19",children:[c.jsx("label",{"code-path":"src/pages/Contact.tsx:146:21",className:"block text-sm font-medium text-gray-700 mb-2",children:"公司"}),c.jsx(De,{"code-path":"src/pages/Contact.tsx:149:21",type:"text",name:"company",value:r.company,onChange:l,placeholder:"请输入您的公司名称"})]}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:157:19",children:[c.jsx("label",{"code-path":"src/pages/Contact.tsx:158:21",className:"block text-sm font-medium text-gray-700 mb-2",children:"电话"}),c.jsx(De,{"code-path":"src/pages/Contact.tsx:161:21",type:"tel",name:"phone",value:r.phone,onChange:l,placeholder:"请输入您的联系电话"})]})]}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:171:17",children:[c.jsxs("label",{"code-path":"src/pages/Contact.tsx:172:19",className:"block text-sm font-medium text-gray-700 mb-2",children:["主题 ",c.jsx("span",{"code-path":"src/pages/Contact.tsx:173:24",className:"text-red-500",children:"*"})]}),c.jsx(De,{"code-path":"src/pages/Contact.tsx:175:19",type:"text",name:"subject",value:r.subject,onChange:l,required:!0,placeholder:"请输入消息主题"})]}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:185:17",children:[c.jsxs("label",{"code-path":"src/pages/Contact.tsx:186:19",className:"block text-sm font-medium text-gray-700 mb-2",children:["消息内容 ",c.jsx("span",{"code-path":"src/pages/Contact.tsx:187:26",className:"text-red-500",children:"*"})]}),c.jsx(hc,{"code-path":"src/pages/Contact.tsx:189:19",name:"message",value:r.message,onChange:l,required:!0,rows:5,placeholder:"请输入您的消息内容"})]}),c.jsxs($e,{"code-path":"src/pages/Contact.tsx:199:17",type:"submit",className:"btn-primary w-full gap-2",children:[c.jsx(I6,{"code-path":"src/pages/Contact.tsx:200:19",className:"w-5 h-5"}),"发送消息"]})]})]}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:208:11",className:"bg-white rounded-2xl p-8 shadow-sm",children:[c.jsx("h2",{"code-path":"src/pages/Contact.tsx:209:13",className:"text-2xl font-bold text-gray-900 mb-6",children:"我们的位置"}),c.jsx("div",{"code-path":"src/pages/Contact.tsx:210:13",className:"aspect-video bg-gray-100 rounded-xl flex items-center justify-center",children:c.jsxs("div",{"code-path":"src/pages/Contact.tsx:211:15",className:"text-center",children:[c.jsx(Lf,{"code-path":"src/pages/Contact.tsx:212:17",className:"w-12 h-12 text-gray-300 mx-auto mb-2"}),c.jsx("p",{"code-path":"src/pages/Contact.tsx:213:17",className:"text-gray-500",children:"地图加载中..."}),c.jsx("p",{"code-path":"src/pages/Contact.tsx:214:17",className:"text-sm text-gray-400 mt-1",children:ja.address})]})}),c.jsxs("div",{"code-path":"src/pages/Contact.tsx:217:13",className:"mt-6",children:[c.jsx("h3",{"code-path":"src/pages/Contact.tsx:218:15",className:"font-semibold text-gray-900 mb-2",children:"交通指南"}),c.jsxs("ul",{"code-path":"src/pages/Contact.tsx:219:15",className:"space-y-2 text-gray-600 text-sm",children:[c.jsx("li",{"code-path":"src/pages/Contact.tsx:220:17",children:"• 地铁：2号线张江高科站，步行10分钟"}),c.jsx("li",{"code-path":"src/pages/Contact.tsx:221:17",children:"• 公交：张江1路、浦东14路科苑路站"}),c.jsx("li",{"code-path":"src/pages/Contact.tsx:222:17",children:"• 自驾：园区内有充足的停车位"})]})]})]})]})}),c.jsx(Zn,{"code-path":"src/pages/Contact.tsx:229:7"})]})}function CD(){const a=zc(),[t,r]=v.useState(!1),[n,o]=v.useState(!1),[l,d]=v.useState({email:"",password:""}),[f,h]=v.useState(""),m=async x=>{x.preventDefault(),h(""),o(!0),setTimeout(()=>{l.email==="admin@cellsort.com"&&l.password==="admin"?(localStorage.setItem("adminToken","mock-token"),a("/admin")):h("邮箱或密码错误"),o(!1)},1e3)};return c.jsx("div",{"code-path":"src/pages/admin/Login.tsx:35:5",className:"min-h-screen bg-gray-100 flex items-center justify-center p-4",children:c.jsxs("div",{"code-path":"src/pages/admin/Login.tsx:36:7",className:"w-full max-w-md",children:[c.jsxs("div",{"code-path":"src/pages/admin/Login.tsx:38:9",className:"text-center mb-8",children:[c.jsx("img",{"code-path":"src/pages/admin/Login.tsx:39:11",src:"/images/logo/logo-login.png",alt:"Cell Sort",className:"h-24 w-auto mx-auto mb-4"}),c.jsx("h1",{"code-path":"src/pages/admin/Login.tsx:44:11",className:"text-2xl font-bold text-gray-900",children:"Cell Sort 管理系统"}),c.jsx("p",{"code-path":"src/pages/admin/Login.tsx:45:11",className:"text-gray-500 mt-1",children:"请登录以继续"})]}),c.jsxs("div",{"code-path":"src/pages/admin/Login.tsx:49:9",className:"bg-white rounded-2xl shadow-lg p-8",children:[f&&c.jsx("div",{"code-path":"src/pages/admin/Login.tsx:51:13",className:"mb-4 p-4 bg-red-50 text-red-600 rounded-lg text-sm",children:f}),c.jsxs("form",{"code-path":"src/pages/admin/Login.tsx:56:11",onSubmit:m,className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/Login.tsx:57:13",children:[c.jsx("label",{"code-path":"src/pages/admin/Login.tsx:58:15",className:"block text-sm font-medium text-gray-700 mb-2",children:"邮箱地址"}),c.jsxs("div",{"code-path":"src/pages/admin/Login.tsx:61:15",className:"relative",children:[c.jsx(Hc,{"code-path":"src/pages/admin/Login.tsx:62:17",className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),c.jsx(De,{"code-path":"src/pages/admin/Login.tsx:63:17",type:"email",value:l.email,onChange:x=>d({...l,email:x.target.value}),required:!0,placeholder:"admin@cellsort.com",className:"pl-10"})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/Login.tsx:74:13",children:[c.jsx("label",{"code-path":"src/pages/admin/Login.tsx:75:15",className:"block text-sm font-medium text-gray-700 mb-2",children:"密码"}),c.jsxs("div",{"code-path":"src/pages/admin/Login.tsx:78:15",className:"relative",children:[c.jsx(S6,{"code-path":"src/pages/admin/Login.tsx:79:17",className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),c.jsx(De,{"code-path":"src/pages/admin/Login.tsx:80:17",type:t?"text":"password",value:l.password,onChange:x=>d({...l,password:x.target.value}),required:!0,placeholder:"请输入密码",className:"pl-10 pr-10"}),c.jsx("button",{"code-path":"src/pages/admin/Login.tsx:88:17",type:"button",onClick:()=>r(!t),className:"absolute right-3 top-1/2 -translate-y-1/2 text-gray-400 hover:text-gray-600",children:t?c.jsx(WE,{"code-path":"src/pages/admin/Login.tsx:93:35",className:"w-5 h-5"}):c.jsx(ho,{"code-path":"src/pages/admin/Login.tsx:93:68",className:"w-5 h-5"})})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/Login.tsx:98:13",className:"flex items-center justify-between",children:[c.jsxs("label",{"code-path":"src/pages/admin/Login.tsx:99:15",className:"flex items-center gap-2",children:[c.jsx("input",{"code-path":"src/pages/admin/Login.tsx:100:17",type:"checkbox",className:"rounded border-gray-300"}),c.jsx("span",{"code-path":"src/pages/admin/Login.tsx:101:17",className:"text-sm text-gray-600",children:"记住我"})]}),c.jsx("button",{"code-path":"src/pages/admin/Login.tsx:103:15",type:"button",className:"text-sm text-[#0064ff] hover:underline",children:"忘记密码？"})]}),c.jsx($e,{"code-path":"src/pages/admin/Login.tsx:108:13",type:"submit",className:"w-full btn-primary",disabled:n,children:n?"登录中...":"登录"})]}),c.jsx("div",{"code-path":"src/pages/admin/Login.tsx:117:11",className:"mt-6 pt-6 border-t border-gray-100 text-center",children:c.jsx("p",{"code-path":"src/pages/admin/Login.tsx:118:13",className:"text-sm text-gray-500",children:"演示账号: admin@cellsort.com / admin"})})]}),c.jsx("div",{"code-path":"src/pages/admin/Login.tsx:125:9",className:"text-center mt-6",children:c.jsx("a",{"code-path":"src/pages/admin/Login.tsx:126:11",href:"/",className:"text-sm text-gray-500 hover:text-[#0064ff]",children:"← 返回网站首页"})})]})})}const V2=[{icon:y6,label:"仪表板",href:"/admin"},{icon:Fn,label:"产品管理",href:"/admin/products"},{icon:Gg,label:"解决方案",href:"/admin/solutions"},{icon:Ig,label:"新闻管理",href:"/admin/news"},{icon:wn,label:"技术文档",href:"/admin/documents"},{icon:tN,label:"SEO设置",href:"/admin/seo"}];function ED(){const a=zc(),t=La(),[r,n]=v.useState(!0);v.useEffect(()=>{localStorage.getItem("adminToken")||a("/admin/login")},[a]);const o=()=>{localStorage.removeItem("adminToken"),a("/admin/login")},l=d=>d==="/admin"?t.pathname==="/admin":t.pathname.startsWith(d);return c.jsxs("div",{"code-path":"src/pages/admin/Layout.tsx:50:5",className:"min-h-screen bg-gray-100 flex",children:[c.jsxs("aside",{"code-path":"src/pages/admin/Layout.tsx:52:7",className:`fixed lg:static inset-y-0 left-0 z-50 w-64 bg-gray-900 text-white transition-transform duration-300 ${r?"translate-x-0":"-translate-x-full lg:translate-x-0"}`,children:[c.jsxs("div",{"code-path":"src/pages/admin/Layout.tsx:58:9",className:"h-16 flex items-center px-4 border-b border-gray-800",children:[c.jsx("img",{"code-path":"src/pages/admin/Layout.tsx:59:11",src:"/images/logo/logo-header.png",alt:"Cell Sort",className:"h-8 w-auto"}),c.jsx("span",{"code-path":"src/pages/admin/Layout.tsx:64:11",className:"font-semibold ml-2",children:"管理"})]}),c.jsx("nav",{"code-path":"src/pages/admin/Layout.tsx:68:9",className:"p-4 space-y-1",children:V2.map(d=>{const f=d.icon;return c.jsxs(fe,{"code-path":"src/pages/admin/Layout.tsx:72:15",to:d.href,className:`flex items-center gap-3 px-4 py-3 rounded-lg transition-colors ${l(d.href)?"bg-[#0064ff] text-white":"text-gray-400 hover:bg-gray-800 hover:text-white"}`,children:[c.jsx(f,{"code-path":"src/pages/admin/Layout.tsx:81:17",className:"w-5 h-5"}),c.jsx("span",{"code-path":"src/pages/admin/Layout.tsx:82:17",children:d.label})]},d.href)})}),c.jsx("div",{"code-path":"src/pages/admin/Layout.tsx:89:9",className:"absolute bottom-0 left-0 right-0 p-4 border-t border-gray-800",children:c.jsxs("button",{"code-path":"src/pages/admin/Layout.tsx:90:11",onClick:o,className:"flex items-center gap-3 px-4 py-3 text-gray-400 hover:text-white transition-colors w-full",children:[c.jsx(j6,{"code-path":"src/pages/admin/Layout.tsx:94:13",className:"w-5 h-5"}),c.jsx("span",{"code-path":"src/pages/admin/Layout.tsx:95:13",children:"退出登录"})]})})]}),r&&c.jsx("div",{"code-path":"src/pages/admin/Layout.tsx:102:9",className:"fixed inset-0 bg-black/50 z-40 lg:hidden",onClick:()=>n(!1)}),c.jsxs("div",{"code-path":"src/pages/admin/Layout.tsx:109:7",className:"flex-1 flex flex-col min-w-0",children:[c.jsxs("header",{"code-path":"src/pages/admin/Layout.tsx:111:9",className:"h-16 bg-white border-b border-gray-200 flex items-center justify-between px-6",children:[c.jsx("button",{"code-path":"src/pages/admin/Layout.tsx:112:11",onClick:()=>n(!r),className:"lg:hidden p-2 text-gray-600",children:c.jsx(Zw,{"code-path":"src/pages/admin/Layout.tsx:116:13",className:"w-6 h-6"})}),c.jsxs("div",{"code-path":"src/pages/admin/Layout.tsx:120:11",className:"hidden md:flex items-center gap-2 text-sm text-gray-500",children:[c.jsx(fe,{"code-path":"src/pages/admin/Layout.tsx:121:13",to:"/admin",className:"hover:text-[#0064ff]",children:"管理后台"}),t.pathname!=="/admin"&&c.jsxs(c.Fragment,{children:[c.jsx(Vs,{"code-path":"src/pages/admin/Layout.tsx:124:17",className:"w-4 h-4"}),c.jsx("span",{"code-path":"src/pages/admin/Layout.tsx:125:17",className:"text-gray-900",children:V2.find(d=>l(d.href))?.label})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/Layout.tsx:133:11",className:"flex items-center gap-4",children:[c.jsx("div",{"code-path":"src/pages/admin/Layout.tsx:134:13",className:"w-8 h-8 bg-[#0064ff] rounded-full flex items-center justify-center",children:c.jsx("span",{"code-path":"src/pages/admin/Layout.tsx:135:15",className:"text-white text-sm font-medium",children:"A"})}),c.jsx("span",{"code-path":"src/pages/admin/Layout.tsx:137:13",className:"text-sm text-gray-700 hidden sm:block",children:"管理员"})]})]}),c.jsx("main",{"code-path":"src/pages/admin/Layout.tsx:142:9",className:"flex-1 p-6 overflow-auto",children:c.jsx(CC,{"code-path":"src/pages/admin/Layout.tsx:143:11"})})]})]})}const TD=[{action:"新增产品",item:"人NK细胞阴性分选试剂盒",time:"2小时前",type:"product"},{action:"更新新闻",item:"CellSort发布新一代无柱磁分选试剂盒系列",time:"5小时前",type:"news"},{action:"修改解决方案",item:"肿瘤研究",time:"1天前",type:"solution"},{action:"上传文档",item:"MACS技术白皮书v2.0",time:"2天前",type:"document"}];function AD(){const{products:a,isLoading:t,refresh:r}=vp(),[n]=v.useState(12580),o=[{label:"产品总数",value:a.length,icon:Fn,change:"+2",trend:"up"},{label:"解决方案",value:jc.length,icon:Gg,change:"0",trend:"neutral"},{label:"新闻文章",value:fi.length,icon:Ig,change:"+3",trend:"up"},{label:"技术文档",value:"12",icon:wn,change:"+1",trend:"up"}];return c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:60:5",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:62:7",className:"flex items-center justify-between",children:[c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:63:9",children:[c.jsx("h1",{"code-path":"src/pages/admin/Dashboard.tsx:64:11",className:"text-2xl font-bold text-gray-900",children:"仪表板"}),c.jsx("p",{"code-path":"src/pages/admin/Dashboard.tsx:65:11",className:"text-gray-500 mt-1",children:"欢迎回来，管理员"})]}),c.jsxs($e,{"code-path":"src/pages/admin/Dashboard.tsx:67:9",variant:"outline",onClick:r,className:"gap-2",disabled:t,children:[c.jsx(jr,{"code-path":"src/pages/admin/Dashboard.tsx:73:11",className:`w-4 h-4 ${t?"animate-spin":""}`}),"刷新数据"]})]}),c.jsx("div",{"code-path":"src/pages/admin/Dashboard.tsx:79:7",className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:o.map(l=>{const d=l.icon;return c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:83:13",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:84:15",className:"flex items-start justify-between",children:[c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:85:17",children:[c.jsx("p",{"code-path":"src/pages/admin/Dashboard.tsx:86:19",className:"text-sm text-gray-500",children:l.label}),c.jsx("p",{"code-path":"src/pages/admin/Dashboard.tsx:87:19",className:"text-3xl font-bold text-gray-900 mt-2",children:l.value})]}),c.jsx("div",{"code-path":"src/pages/admin/Dashboard.tsx:89:17",className:"w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center",children:c.jsx(d,{"code-path":"src/pages/admin/Dashboard.tsx:90:19",className:"w-5 h-5 text-[#0064ff]"})})]}),c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:93:15",className:"flex items-center gap-2 mt-4",children:[l.trend==="up"&&c.jsx(aN,{"code-path":"src/pages/admin/Dashboard.tsx:94:41",className:"w-4 h-4 text-green-500"}),c.jsxs("span",{"code-path":"src/pages/admin/Dashboard.tsx:95:17",className:`text-sm ${l.trend==="up"?"text-green-500":"text-gray-500"}`,children:[l.change," 本月"]})]})]},l.label)})}),c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:105:7",className:"grid lg:grid-cols-3 gap-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:107:9",className:"lg:col-span-2 bg-white rounded-xl shadow-sm",children:[c.jsx("div",{"code-path":"src/pages/admin/Dashboard.tsx:108:11",className:"p-6 border-b border-gray-100",children:c.jsx("h2",{"code-path":"src/pages/admin/Dashboard.tsx:109:13",className:"text-lg font-semibold text-gray-900",children:"最近活动"})}),c.jsx("div",{"code-path":"src/pages/admin/Dashboard.tsx:111:11",className:"p-6",children:c.jsx("div",{"code-path":"src/pages/admin/Dashboard.tsx:112:13",className:"space-y-4",children:TD.map((l,d)=>c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:114:17",className:"flex items-center gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:115:19",className:"w-10 h-10 bg-blue-100 rounded-lg flex items-center justify-center flex-shrink-0",children:[l.type==="product"&&c.jsx(Fn,{"code-path":"src/pages/admin/Dashboard.tsx:116:53",className:"w-5 h-5 text-[#0064ff]"}),l.type==="news"&&c.jsx(Ig,{"code-path":"src/pages/admin/Dashboard.tsx:117:50",className:"w-5 h-5 text-[#0064ff]"}),l.type==="solution"&&c.jsx(Gg,{"code-path":"src/pages/admin/Dashboard.tsx:118:54",className:"w-5 h-5 text-[#0064ff]"}),l.type==="document"&&c.jsx(wn,{"code-path":"src/pages/admin/Dashboard.tsx:119:54",className:"w-5 h-5 text-[#0064ff]"})]}),c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:121:19",className:"flex-1",children:[c.jsxs("p",{"code-path":"src/pages/admin/Dashboard.tsx:122:21",className:"text-sm text-gray-900",children:[c.jsx("span",{"code-path":"src/pages/admin/Dashboard.tsx:123:23",className:"font-medium",children:l.action}),c.jsxs("span",{"code-path":"src/pages/admin/Dashboard.tsx:124:23",className:"text-gray-500",children:[" - ",l.item]})]}),c.jsx("p",{"code-path":"src/pages/admin/Dashboard.tsx:126:21",className:"text-xs text-gray-400 mt-1",children:l.time})]})]},d))})})]}),c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:135:9",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:137:11",className:"bg-white rounded-xl shadow-sm p-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:138:13",className:"flex items-center justify-between mb-4",children:[c.jsx("h2",{"code-path":"src/pages/admin/Dashboard.tsx:139:15",className:"text-lg font-semibold text-gray-900",children:"页面访问"}),c.jsx(ho,{"code-path":"src/pages/admin/Dashboard.tsx:140:15",className:"w-5 h-5 text-gray-400"})]}),c.jsx("p",{"code-path":"src/pages/admin/Dashboard.tsx:142:13",className:"text-3xl font-bold text-gray-900",children:n.toLocaleString()}),c.jsx("p",{"code-path":"src/pages/admin/Dashboard.tsx:143:13",className:"text-sm text-green-500 mt-2",children:"+12.5% 较上月"})]}),c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:147:11",className:"bg-white rounded-xl shadow-sm p-6",children:[c.jsx("h2",{"code-path":"src/pages/admin/Dashboard.tsx:148:13",className:"text-lg font-semibold text-gray-900 mb-4",children:"快捷操作"}),c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:149:13",className:"space-y-2",children:[c.jsx(fe,{"code-path":"src/pages/admin/Dashboard.tsx:150:15",to:"/admin/products/new",className:"block px-4 py-3 bg-gray-50 rounded-lg text-sm text-gray-700 hover:bg-gray-100 transition-colors",children:"+ 添加新产品"}),c.jsx(fe,{"code-path":"src/pages/admin/Dashboard.tsx:156:15",to:"/admin/news/new",className:"block px-4 py-3 bg-gray-50 rounded-lg text-sm text-gray-700 hover:bg-gray-100 transition-colors",children:"+ 发布新闻"}),c.jsx(fe,{"code-path":"src/pages/admin/Dashboard.tsx:162:15",to:"/admin/documents/upload",className:"block px-4 py-3 bg-gray-50 rounded-lg text-sm text-gray-700 hover:bg-gray-100 transition-colors",children:"+ 上传文档"})]})]})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:174:7",className:"bg-white rounded-xl shadow-sm",children:[c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:175:9",className:"p-6 border-b border-gray-100 flex items-center justify-between",children:[c.jsx("h2",{"code-path":"src/pages/admin/Dashboard.tsx:176:11",className:"text-lg font-semibold text-gray-900",children:"最新产品"}),c.jsx(fe,{"code-path":"src/pages/admin/Dashboard.tsx:177:11",to:"/admin/products",className:"text-sm text-[#0064ff] hover:underline",children:"查看全部"})]}),c.jsxs("div",{"code-path":"src/pages/admin/Dashboard.tsx:181:9",className:"p-6",children:[c.jsx("div",{"code-path":"src/pages/admin/Dashboard.tsx:182:11",className:"overflow-x-auto",children:c.jsxs("table",{"code-path":"src/pages/admin/Dashboard.tsx:183:13",className:"w-full",children:[c.jsx("thead",{"code-path":"src/pages/admin/Dashboard.tsx:184:15",children:c.jsxs("tr",{"code-path":"src/pages/admin/Dashboard.tsx:185:17",className:"text-left text-sm text-gray-500",children:[c.jsx("th",{"code-path":"src/pages/admin/Dashboard.tsx:186:19",className:"pb-4 font-medium",children:"产品名称"}),c.jsx("th",{"code-path":"src/pages/admin/Dashboard.tsx:187:19",className:"pb-4 font-medium",children:"货号"}),c.jsx("th",{"code-path":"src/pages/admin/Dashboard.tsx:188:19",className:"pb-4 font-medium",children:"分类"}),c.jsx("th",{"code-path":"src/pages/admin/Dashboard.tsx:189:19",className:"pb-4 font-medium",children:"分选策略"}),c.jsx("th",{"code-path":"src/pages/admin/Dashboard.tsx:190:19",className:"pb-4 font-medium",children:"更新时间"})]})}),c.jsx("tbody",{"code-path":"src/pages/admin/Dashboard.tsx:193:15",className:"divide-y divide-gray-100",children:a.slice(0,5).map(l=>c.jsxs("tr",{"code-path":"src/pages/admin/Dashboard.tsx:195:19",children:[c.jsx("td",{"code-path":"src/pages/admin/Dashboard.tsx:196:21",className:"py-4",children:c.jsx(fe,{"code-path":"src/pages/admin/Dashboard.tsx:197:23",to:`/admin/products/edit/${l.id}`,className:"text-gray-900 hover:text-[#0064ff] transition-colors",children:l.name})}),c.jsx("td",{"code-path":"src/pages/admin/Dashboard.tsx:204:21",className:"py-4 text-gray-600 font-mono",children:l.model}),c.jsx("td",{"code-path":"src/pages/admin/Dashboard.tsx:205:21",className:"py-4",children:c.jsx("span",{"code-path":"src/pages/admin/Dashboard.tsx:206:23",className:`px-2 py-1 rounded text-xs ${l.category==="column-free"?"bg-blue-100 text-blue-600":l.category==="column"?"bg-purple-100 text-purple-600":"bg-gray-100 text-gray-600"}`,children:l.category==="column-free"?"无柱分选":l.category==="column"?"有柱分选":"耗材"})}),c.jsx("td",{"code-path":"src/pages/admin/Dashboard.tsx:215:21",className:"py-4 text-gray-600",children:l.specifications.find(d=>d.label==="分选策略")?.value||"-"}),c.jsx("td",{"code-path":"src/pages/admin/Dashboard.tsx:218:21",className:"py-4 text-gray-600",children:new Date(l.updatedAt).toLocaleDateString("zh-CN")})]},l.id))})]})}),a.length===0&&c.jsx("div",{"code-path":"src/pages/admin/Dashboard.tsx:227:13",className:"text-center py-8 text-gray-500",children:"暂无产品数据，请先添加产品"})]})]})]})}function DD(a,t=globalThis?.document){const r=Ar(a);v.useEffect(()=>{const n=o=>{o.key==="Escape"&&r(o)};return t.addEventListener("keydown",n,{capture:!0}),()=>t.removeEventListener("keydown",n,{capture:!0})},[r,t])}var MD="DismissableLayer",yx="dismissableLayer.update",RD="dismissableLayer.pointerDownOutside",OD="dismissableLayer.focusOutside",$2,d_=v.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),h0=v.forwardRef((a,t)=>{const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:o,onFocusOutside:l,onInteractOutside:d,onDismiss:f,...h}=a,m=v.useContext(d_),[x,y]=v.useState(null),N=x?.ownerDocument??globalThis?.document,[,S]=v.useState({}),j=Ns(t,P=>y(P)),w=Array.from(m.layers),[_]=[...m.layersWithOutsidePointerEventsDisabled].slice(-1),D=w.indexOf(_),M=x?w.indexOf(x):-1,O=m.layersWithOutsidePointerEventsDisabled.size>0,k=M>=D,L=zD(P=>{const B=P.target,V=[...m.branches].some(K=>K.contains(B));!k||V||(o?.(P),d?.(P),P.defaultPrevented||f?.())},N),Y=LD(P=>{const B=P.target;[...m.branches].some(K=>K.contains(B))||(l?.(P),d?.(P),P.defaultPrevented||f?.())},N);return DD(P=>{M===m.layers.size-1&&(n?.(P),!P.defaultPrevented&&f&&(P.preventDefault(),f()))},N),v.useEffect(()=>{if(x)return r&&(m.layersWithOutsidePointerEventsDisabled.size===0&&($2=N.body.style.pointerEvents,N.body.style.pointerEvents="none"),m.layersWithOutsidePointerEventsDisabled.add(x)),m.layers.add(x),F2(),()=>{r&&m.layersWithOutsidePointerEventsDisabled.size===1&&(N.body.style.pointerEvents=$2)}},[x,N,r,m]),v.useEffect(()=>()=>{x&&(m.layers.delete(x),m.layersWithOutsidePointerEventsDisabled.delete(x),F2())},[x,m]),v.useEffect(()=>{const P=()=>S({});return document.addEventListener(yx,P),()=>document.removeEventListener(yx,P)},[]),c.jsx(Tt.div,{...h,ref:j,style:{pointerEvents:O?k?"auto":"none":void 0,...a.style},onFocusCapture:Me(a.onFocusCapture,Y.onFocusCapture),onBlurCapture:Me(a.onBlurCapture,Y.onBlurCapture),onPointerDownCapture:Me(a.onPointerDownCapture,L.onPointerDownCapture)})});h0.displayName=MD;var kD="DismissableLayerBranch",PD=v.forwardRef((a,t)=>{const r=v.useContext(d_),n=v.useRef(null),o=Ns(t,n);return v.useEffect(()=>{const l=n.current;if(l)return r.branches.add(l),()=>{r.branches.delete(l)}},[r.branches]),c.jsx(Tt.div,{...a,ref:o})});PD.displayName=kD;function zD(a,t=globalThis?.document){const r=Ar(a),n=v.useRef(!1),o=v.useRef(()=>{});return v.useEffect(()=>{const l=f=>{if(f.target&&!n.current){let h=function(){f_(RD,r,m,{discrete:!0})};const m={originalEvent:f};f.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=h,t.addEventListener("click",o.current,{once:!0})):h()}else t.removeEventListener("click",o.current);n.current=!1},d=window.setTimeout(()=>{t.addEventListener("pointerdown",l)},0);return()=>{window.clearTimeout(d),t.removeEventListener("pointerdown",l),t.removeEventListener("click",o.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}function LD(a,t=globalThis?.document){const r=Ar(a),n=v.useRef(!1);return v.useEffect(()=>{const o=l=>{l.target&&!n.current&&f_(OD,r,{originalEvent:l},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}function F2(){const a=new CustomEvent(yx);document.dispatchEvent(a)}function f_(a,t,r,{discrete:n}){const o=r.originalEvent.target,l=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(a,t,{once:!0}),n?FS(o,l):o.dispatchEvent(l)}var jg=0;function p_(){v.useEffect(()=>{const a=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",a[0]??X2()),document.body.insertAdjacentElement("beforeend",a[1]??X2()),jg++,()=>{jg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),jg--}},[])}function X2(){const a=document.createElement("span");return a.setAttribute("data-radix-focus-guard",""),a.tabIndex=0,a.style.outline="none",a.style.opacity="0",a.style.position="fixed",a.style.pointerEvents="none",a}var Cg="focusScope.autoFocusOnMount",Eg="focusScope.autoFocusOnUnmount",Q2={bubbles:!1,cancelable:!0},HD="FocusScope",m0=v.forwardRef((a,t)=>{const{loop:r=!1,trapped:n=!1,onMountAutoFocus:o,onUnmountAutoFocus:l,...d}=a,[f,h]=v.useState(null),m=Ar(o),x=Ar(l),y=v.useRef(null),N=Ns(t,w=>h(w)),S=v.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;v.useEffect(()=>{if(n){let w=function(O){if(S.paused||!f)return;const k=O.target;f.contains(k)?y.current=k:ii(y.current,{select:!0})},_=function(O){if(S.paused||!f)return;const k=O.relatedTarget;k!==null&&(f.contains(k)||ii(y.current,{select:!0}))},D=function(O){if(document.activeElement===document.body)for(const L of O)L.removedNodes.length>0&&ii(f)};document.addEventListener("focusin",w),document.addEventListener("focusout",_);const M=new MutationObserver(D);return f&&M.observe(f,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",_),M.disconnect()}}},[n,f,S.paused]),v.useEffect(()=>{if(f){Z2.add(S);const w=document.activeElement;if(!f.contains(w)){const D=new CustomEvent(Cg,Q2);f.addEventListener(Cg,m),f.dispatchEvent(D),D.defaultPrevented||(UD(ID(h_(f)),{select:!0}),document.activeElement===w&&ii(f))}return()=>{f.removeEventListener(Cg,m),setTimeout(()=>{const D=new CustomEvent(Eg,Q2);f.addEventListener(Eg,x),f.dispatchEvent(D),D.defaultPrevented||ii(w??document.body,{select:!0}),f.removeEventListener(Eg,x),Z2.remove(S)},0)}}},[f,m,x,S]);const j=v.useCallback(w=>{if(!r&&!n||S.paused)return;const _=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,D=document.activeElement;if(_&&D){const M=w.currentTarget,[O,k]=BD(M);O&&k?!w.shiftKey&&D===k?(w.preventDefault(),r&&ii(O,{select:!0})):w.shiftKey&&D===O&&(w.preventDefault(),r&&ii(k,{select:!0})):D===M&&w.preventDefault()}},[r,n,S.paused]);return c.jsx(Tt.div,{tabIndex:-1,...d,ref:N,onKeyDown:j})});m0.displayName=HD;function UD(a,{select:t=!1}={}){const r=document.activeElement;for(const n of a)if(ii(n,{select:t}),document.activeElement!==r)return}function BD(a){const t=h_(a),r=K2(t,a),n=K2(t.reverse(),a);return[r,n]}function h_(a){const t=[],r=document.createTreeWalker(a,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function K2(a,t){for(const r of a)if(!YD(r,{upTo:t}))return r}function YD(a,{upTo:t}){if(getComputedStyle(a).visibility==="hidden")return!0;for(;a;){if(t!==void 0&&a===t)return!1;if(getComputedStyle(a).display==="none")return!0;a=a.parentElement}return!1}function qD(a){return a instanceof HTMLInputElement&&"select"in a}function ii(a,{select:t=!1}={}){if(a&&a.focus){const r=document.activeElement;a.focus({preventScroll:!0}),a!==r&&qD(a)&&t&&a.select()}}var Z2=GD();function GD(){let a=[];return{add(t){const r=a[0];t!==r&&r?.pause(),a=W2(a,t),a.unshift(t)},remove(t){a=W2(a,t),a[0]?.resume()}}}function W2(a,t){const r=[...a],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}function ID(a){return a.filter(t=>t.tagName!=="A")}const VD=["top","right","bottom","left"],wi=Math.min,_a=Math.max,Wf=Math.round,ff=Math.floor,$n=a=>({x:a,y:a}),$D={left:"right",right:"left",bottom:"top",top:"bottom"},FD={start:"end",end:"start"};function vx(a,t,r){return _a(a,wi(t,r))}function Dr(a,t){return typeof a=="function"?a(t):a}function Mr(a){return a.split("-")[0]}function qc(a){return a.split("-")[1]}function g0(a){return a==="x"?"y":"x"}function x0(a){return a==="y"?"height":"width"}const XD=new Set(["top","bottom"]);function Gn(a){return XD.has(Mr(a))?"y":"x"}function y0(a){return g0(Gn(a))}function QD(a,t,r){r===void 0&&(r=!1);const n=qc(a),o=y0(a),l=x0(o);let d=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[l]>t.floating[l]&&(d=Jf(d)),[d,Jf(d)]}function KD(a){const t=Jf(a);return[bx(a),t,bx(t)]}function bx(a){return a.replace(/start|end/g,t=>FD[t])}const J2=["left","right"],ew=["right","left"],ZD=["top","bottom"],WD=["bottom","top"];function JD(a,t,r){switch(a){case"top":case"bottom":return r?t?ew:J2:t?J2:ew;case"left":case"right":return t?ZD:WD;default:return[]}}function e8(a,t,r,n){const o=qc(a);let l=JD(Mr(a),r==="start",n);return o&&(l=l.map(d=>d+"-"+o),t&&(l=l.concat(l.map(bx)))),l}function Jf(a){return a.replace(/left|right|bottom|top/g,t=>$D[t])}function t8(a){return{top:0,right:0,bottom:0,left:0,...a}}function m_(a){return typeof a!="number"?t8(a):{top:a,right:a,bottom:a,left:a}}function ep(a){const{x:t,y:r,width:n,height:o}=a;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function tw(a,t,r){let{reference:n,floating:o}=a;const l=Gn(t),d=y0(t),f=x0(d),h=Mr(t),m=l==="y",x=n.x+n.width/2-o.width/2,y=n.y+n.height/2-o.height/2,N=n[f]/2-o[f]/2;let S;switch(h){case"top":S={x,y:n.y-o.height};break;case"bottom":S={x,y:n.y+n.height};break;case"right":S={x:n.x+n.width,y};break;case"left":S={x:n.x-o.width,y};break;default:S={x:n.x,y:n.y}}switch(qc(t)){case"start":S[d]-=N*(r&&m?-1:1);break;case"end":S[d]+=N*(r&&m?-1:1);break}return S}const s8=async(a,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:l=[],platform:d}=r,f=l.filter(Boolean),h=await(d.isRTL==null?void 0:d.isRTL(t));let m=await d.getElementRects({reference:a,floating:t,strategy:o}),{x,y}=tw(m,n,h),N=n,S={},j=0;for(let w=0;w<f.length;w++){const{name:_,fn:D}=f[w],{x:M,y:O,data:k,reset:L}=await D({x,y,initialPlacement:n,placement:N,strategy:o,middlewareData:S,rects:m,platform:d,elements:{reference:a,floating:t}});x=M??x,y=O??y,S={...S,[_]:{...S[_],...k}},L&&j<=50&&(j++,typeof L=="object"&&(L.placement&&(N=L.placement),L.rects&&(m=L.rects===!0?await d.getElementRects({reference:a,floating:t,strategy:o}):L.rects),{x,y}=tw(m,N,h)),w=-1)}return{x,y,placement:N,strategy:o,middlewareData:S}};async function bu(a,t){var r;t===void 0&&(t={});const{x:n,y:o,platform:l,rects:d,elements:f,strategy:h}=a,{boundary:m="clippingAncestors",rootBoundary:x="viewport",elementContext:y="floating",altBoundary:N=!1,padding:S=0}=Dr(t,a),j=m_(S),_=f[N?y==="floating"?"reference":"floating":y],D=ep(await l.getClippingRect({element:(r=await(l.isElement==null?void 0:l.isElement(_)))==null||r?_:_.contextElement||await(l.getDocumentElement==null?void 0:l.getDocumentElement(f.floating)),boundary:m,rootBoundary:x,strategy:h})),M=y==="floating"?{x:n,y:o,width:d.floating.width,height:d.floating.height}:d.reference,O=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f.floating)),k=await(l.isElement==null?void 0:l.isElement(O))?await(l.getScale==null?void 0:l.getScale(O))||{x:1,y:1}:{x:1,y:1},L=ep(l.convertOffsetParentRelativeRectToViewportRelativeRect?await l.convertOffsetParentRelativeRectToViewportRelativeRect({elements:f,rect:M,offsetParent:O,strategy:h}):M);return{top:(D.top-L.top+j.top)/k.y,bottom:(L.bottom-D.bottom+j.bottom)/k.y,left:(D.left-L.left+j.left)/k.x,right:(L.right-D.right+j.right)/k.x}}const a8=a=>({name:"arrow",options:a,async fn(t){const{x:r,y:n,placement:o,rects:l,platform:d,elements:f,middlewareData:h}=t,{element:m,padding:x=0}=Dr(a,t)||{};if(m==null)return{};const y=m_(x),N={x:r,y:n},S=y0(o),j=x0(S),w=await d.getDimensions(m),_=S==="y",D=_?"top":"left",M=_?"bottom":"right",O=_?"clientHeight":"clientWidth",k=l.reference[j]+l.reference[S]-N[S]-l.floating[j],L=N[S]-l.reference[S],Y=await(d.getOffsetParent==null?void 0:d.getOffsetParent(m));let P=Y?Y[O]:0;(!P||!await(d.isElement==null?void 0:d.isElement(Y)))&&(P=f.floating[O]||l.floating[j]);const B=k/2-L/2,V=P/2-w[j]/2-1,K=wi(y[D],V),re=wi(y[M],V),J=K,ce=P-w[j]-re,oe=P/2-w[j]/2+B,ie=vx(J,oe,ce),U=!h.arrow&&qc(o)!=null&&oe!==ie&&l.reference[j]/2-(oe<J?K:re)-w[j]/2<0,F=U?oe<J?oe-J:oe-ce:0;return{[S]:N[S]+F,data:{[S]:ie,centerOffset:oe-ie-F,...U&&{alignmentOffset:F}},reset:U}}}),n8=function(a){return a===void 0&&(a={}),{name:"flip",options:a,async fn(t){var r,n;const{placement:o,middlewareData:l,rects:d,initialPlacement:f,platform:h,elements:m}=t,{mainAxis:x=!0,crossAxis:y=!0,fallbackPlacements:N,fallbackStrategy:S="bestFit",fallbackAxisSideDirection:j="none",flipAlignment:w=!0,..._}=Dr(a,t);if((r=l.arrow)!=null&&r.alignmentOffset)return{};const D=Mr(o),M=Gn(f),O=Mr(f)===f,k=await(h.isRTL==null?void 0:h.isRTL(m.floating)),L=N||(O||!w?[Jf(f)]:KD(f)),Y=j!=="none";!N&&Y&&L.push(...e8(f,w,j,k));const P=[f,...L],B=await bu(t,_),V=[];let K=((n=l.flip)==null?void 0:n.overflows)||[];if(x&&V.push(B[D]),y){const oe=QD(o,d,k);V.push(B[oe[0]],B[oe[1]])}if(K=[...K,{placement:o,overflows:V}],!V.every(oe=>oe<=0)){var re,J;const oe=(((re=l.flip)==null?void 0:re.index)||0)+1,ie=P[oe];if(ie&&(!(y==="alignment"?M!==Gn(ie):!1)||K.every(T=>Gn(T.placement)===M?T.overflows[0]>0:!0)))return{data:{index:oe,overflows:K},reset:{placement:ie}};let U=(J=K.filter(F=>F.overflows[0]<=0).sort((F,T)=>F.overflows[1]-T.overflows[1])[0])==null?void 0:J.placement;if(!U)switch(S){case"bestFit":{var ce;const F=(ce=K.filter(T=>{if(Y){const R=Gn(T.placement);return R===M||R==="y"}return!0}).map(T=>[T.placement,T.overflows.filter(R=>R>0).reduce((R,E)=>R+E,0)]).sort((T,R)=>T[1]-R[1])[0])==null?void 0:ce[0];F&&(U=F);break}case"initialPlacement":U=f;break}if(o!==U)return{reset:{placement:U}}}return{}}}};function sw(a,t){return{top:a.top-t.height,right:a.right-t.width,bottom:a.bottom-t.height,left:a.left-t.width}}function aw(a){return VD.some(t=>a[t]>=0)}const r8=function(a){return a===void 0&&(a={}),{name:"hide",options:a,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=Dr(a,t);switch(n){case"referenceHidden":{const l=await bu(t,{...o,elementContext:"reference"}),d=sw(l,r.reference);return{data:{referenceHiddenOffsets:d,referenceHidden:aw(d)}}}case"escaped":{const l=await bu(t,{...o,altBoundary:!0}),d=sw(l,r.floating);return{data:{escapedOffsets:d,escaped:aw(d)}}}default:return{}}}}},g_=new Set(["left","top"]);async function i8(a,t){const{placement:r,platform:n,elements:o}=a,l=await(n.isRTL==null?void 0:n.isRTL(o.floating)),d=Mr(r),f=qc(r),h=Gn(r)==="y",m=g_.has(d)?-1:1,x=l&&h?-1:1,y=Dr(t,a);let{mainAxis:N,crossAxis:S,alignmentAxis:j}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:y.mainAxis||0,crossAxis:y.crossAxis||0,alignmentAxis:y.alignmentAxis};return f&&typeof j=="number"&&(S=f==="end"?j*-1:j),h?{x:S*x,y:N*m}:{x:N*m,y:S*x}}const o8=function(a){return a===void 0&&(a=0),{name:"offset",options:a,async fn(t){var r,n;const{x:o,y:l,placement:d,middlewareData:f}=t,h=await i8(t,a);return d===((r=f.offset)==null?void 0:r.placement)&&(n=f.arrow)!=null&&n.alignmentOffset?{}:{x:o+h.x,y:l+h.y,data:{...h,placement:d}}}}},c8=function(a){return a===void 0&&(a={}),{name:"shift",options:a,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:l=!0,crossAxis:d=!1,limiter:f={fn:_=>{let{x:D,y:M}=_;return{x:D,y:M}}},...h}=Dr(a,t),m={x:r,y:n},x=await bu(t,h),y=Gn(Mr(o)),N=g0(y);let S=m[N],j=m[y];if(l){const _=N==="y"?"top":"left",D=N==="y"?"bottom":"right",M=S+x[_],O=S-x[D];S=vx(M,S,O)}if(d){const _=y==="y"?"top":"left",D=y==="y"?"bottom":"right",M=j+x[_],O=j-x[D];j=vx(M,j,O)}const w=f.fn({...t,[N]:S,[y]:j});return{...w,data:{x:w.x-r,y:w.y-n,enabled:{[N]:l,[y]:d}}}}}},l8=function(a){return a===void 0&&(a={}),{options:a,fn(t){const{x:r,y:n,placement:o,rects:l,middlewareData:d}=t,{offset:f=0,mainAxis:h=!0,crossAxis:m=!0}=Dr(a,t),x={x:r,y:n},y=Gn(o),N=g0(y);let S=x[N],j=x[y];const w=Dr(f,t),_=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(h){const O=N==="y"?"height":"width",k=l.reference[N]-l.floating[O]+_.mainAxis,L=l.reference[N]+l.reference[O]-_.mainAxis;S<k?S=k:S>L&&(S=L)}if(m){var D,M;const O=N==="y"?"width":"height",k=g_.has(Mr(o)),L=l.reference[y]-l.floating[O]+(k&&((D=d.offset)==null?void 0:D[y])||0)+(k?0:_.crossAxis),Y=l.reference[y]+l.reference[O]+(k?0:((M=d.offset)==null?void 0:M[y])||0)-(k?_.crossAxis:0);j<L?j=L:j>Y&&(j=Y)}return{[N]:S,[y]:j}}}},u8=function(a){return a===void 0&&(a={}),{name:"size",options:a,async fn(t){var r,n;const{placement:o,rects:l,platform:d,elements:f}=t,{apply:h=()=>{},...m}=Dr(a,t),x=await bu(t,m),y=Mr(o),N=qc(o),S=Gn(o)==="y",{width:j,height:w}=l.floating;let _,D;y==="top"||y==="bottom"?(_=y,D=N===(await(d.isRTL==null?void 0:d.isRTL(f.floating))?"start":"end")?"left":"right"):(D=y,_=N==="end"?"top":"bottom");const M=w-x.top-x.bottom,O=j-x.left-x.right,k=wi(w-x[_],M),L=wi(j-x[D],O),Y=!t.middlewareData.shift;let P=k,B=L;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(B=O),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(P=M),Y&&!N){const K=_a(x.left,0),re=_a(x.right,0),J=_a(x.top,0),ce=_a(x.bottom,0);S?B=j-2*(K!==0||re!==0?K+re:_a(x.left,x.right)):P=w-2*(J!==0||ce!==0?J+ce:_a(x.top,x.bottom))}await h({...t,availableWidth:B,availableHeight:P});const V=await d.getDimensions(f.floating);return j!==V.width||w!==V.height?{reset:{rects:!0}}:{}}}};function Sp(){return typeof window<"u"}function Gc(a){return x_(a)?(a.nodeName||"").toLowerCase():"#document"}function Ma(a){var t;return(a==null||(t=a.ownerDocument)==null?void 0:t.defaultView)||window}function Wn(a){var t;return(t=(x_(a)?a.ownerDocument:a.document)||window.document)==null?void 0:t.documentElement}function x_(a){return Sp()?a instanceof Node||a instanceof Ma(a).Node:!1}function Sn(a){return Sp()?a instanceof Element||a instanceof Ma(a).Element:!1}function Qn(a){return Sp()?a instanceof HTMLElement||a instanceof Ma(a).HTMLElement:!1}function nw(a){return!Sp()||typeof ShadowRoot>"u"?!1:a instanceof ShadowRoot||a instanceof Ma(a).ShadowRoot}const d8=new Set(["inline","contents"]);function Ru(a){const{overflow:t,overflowX:r,overflowY:n,display:o}=_n(a);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!d8.has(o)}const f8=new Set(["table","td","th"]);function p8(a){return f8.has(Gc(a))}const h8=[":popover-open",":modal"];function _p(a){return h8.some(t=>{try{return a.matches(t)}catch{return!1}})}const m8=["transform","translate","scale","rotate","perspective"],g8=["transform","translate","scale","rotate","perspective","filter"],x8=["paint","layout","strict","content"];function v0(a){const t=b0(),r=Sn(a)?_n(a):a;return m8.some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||g8.some(n=>(r.willChange||"").includes(n))||x8.some(n=>(r.contain||"").includes(n))}function y8(a){let t=Ni(a);for(;Qn(t)&&!Oc(t);){if(v0(t))return t;if(_p(t))return null;t=Ni(t)}return null}function b0(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const v8=new Set(["html","body","#document"]);function Oc(a){return v8.has(Gc(a))}function _n(a){return Ma(a).getComputedStyle(a)}function jp(a){return Sn(a)?{scrollLeft:a.scrollLeft,scrollTop:a.scrollTop}:{scrollLeft:a.scrollX,scrollTop:a.scrollY}}function Ni(a){if(Gc(a)==="html")return a;const t=a.assignedSlot||a.parentNode||nw(a)&&a.host||Wn(a);return nw(t)?t.host:t}function y_(a){const t=Ni(a);return Oc(t)?a.ownerDocument?a.ownerDocument.body:a.body:Qn(t)&&Ru(t)?t:y_(t)}function wu(a,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=y_(a),l=o===((n=a.ownerDocument)==null?void 0:n.body),d=Ma(o);if(l){const f=wx(d);return t.concat(d,d.visualViewport||[],Ru(o)?o:[],f&&r?wu(f):[])}return t.concat(o,wu(o,[],r))}function wx(a){return a.parent&&Object.getPrototypeOf(a.parent)?a.frameElement:null}function v_(a){const t=_n(a);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Qn(a),l=o?a.offsetWidth:r,d=o?a.offsetHeight:n,f=Wf(r)!==l||Wf(n)!==d;return f&&(r=l,n=d),{width:r,height:n,$:f}}function w0(a){return Sn(a)?a:a.contextElement}function Sc(a){const t=w0(a);if(!Qn(t))return $n(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:l}=v_(t);let d=(l?Wf(r.width):r.width)/n,f=(l?Wf(r.height):r.height)/o;return(!d||!Number.isFinite(d))&&(d=1),(!f||!Number.isFinite(f))&&(f=1),{x:d,y:f}}const b8=$n(0);function b_(a){const t=Ma(a);return!b0()||!t.visualViewport?b8:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function w8(a,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ma(a)?!1:t}function uo(a,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=a.getBoundingClientRect(),l=w0(a);let d=$n(1);t&&(n?Sn(n)&&(d=Sc(n)):d=Sc(a));const f=w8(l,r,n)?b_(l):$n(0);let h=(o.left+f.x)/d.x,m=(o.top+f.y)/d.y,x=o.width/d.x,y=o.height/d.y;if(l){const N=Ma(l),S=n&&Sn(n)?Ma(n):n;let j=N,w=wx(j);for(;w&&n&&S!==j;){const _=Sc(w),D=w.getBoundingClientRect(),M=_n(w),O=D.left+(w.clientLeft+parseFloat(M.paddingLeft))*_.x,k=D.top+(w.clientTop+parseFloat(M.paddingTop))*_.y;h*=_.x,m*=_.y,x*=_.x,y*=_.y,h+=O,m+=k,j=Ma(w),w=wx(j)}}return ep({width:x,height:y,x:h,y:m})}function Cp(a,t){const r=jp(a).scrollLeft;return t?t.left+r:uo(Wn(a)).left+r}function w_(a,t){const r=a.getBoundingClientRect(),n=r.left+t.scrollLeft-Cp(a,r),o=r.top+t.scrollTop;return{x:n,y:o}}function N8(a){let{elements:t,rect:r,offsetParent:n,strategy:o}=a;const l=o==="fixed",d=Wn(n),f=t?_p(t.floating):!1;if(n===d||f&&l)return r;let h={scrollLeft:0,scrollTop:0},m=$n(1);const x=$n(0),y=Qn(n);if((y||!y&&!l)&&((Gc(n)!=="body"||Ru(d))&&(h=jp(n)),Qn(n))){const S=uo(n);m=Sc(n),x.x=S.x+n.clientLeft,x.y=S.y+n.clientTop}const N=d&&!y&&!l?w_(d,h):$n(0);return{width:r.width*m.x,height:r.height*m.y,x:r.x*m.x-h.scrollLeft*m.x+x.x+N.x,y:r.y*m.y-h.scrollTop*m.y+x.y+N.y}}function S8(a){return Array.from(a.getClientRects())}function _8(a){const t=Wn(a),r=jp(a),n=a.ownerDocument.body,o=_a(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),l=_a(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let d=-r.scrollLeft+Cp(a);const f=-r.scrollTop;return _n(n).direction==="rtl"&&(d+=_a(t.clientWidth,n.clientWidth)-o),{width:o,height:l,x:d,y:f}}const rw=25;function j8(a,t){const r=Ma(a),n=Wn(a),o=r.visualViewport;let l=n.clientWidth,d=n.clientHeight,f=0,h=0;if(o){l=o.width,d=o.height;const x=b0();(!x||x&&t==="fixed")&&(f=o.offsetLeft,h=o.offsetTop)}const m=Cp(n);if(m<=0){const x=n.ownerDocument,y=x.body,N=getComputedStyle(y),S=x.compatMode==="CSS1Compat"&&parseFloat(N.marginLeft)+parseFloat(N.marginRight)||0,j=Math.abs(n.clientWidth-y.clientWidth-S);j<=rw&&(l-=j)}else m<=rw&&(l+=m);return{width:l,height:d,x:f,y:h}}const C8=new Set(["absolute","fixed"]);function E8(a,t){const r=uo(a,!0,t==="fixed"),n=r.top+a.clientTop,o=r.left+a.clientLeft,l=Qn(a)?Sc(a):$n(1),d=a.clientWidth*l.x,f=a.clientHeight*l.y,h=o*l.x,m=n*l.y;return{width:d,height:f,x:h,y:m}}function iw(a,t,r){let n;if(t==="viewport")n=j8(a,r);else if(t==="document")n=_8(Wn(a));else if(Sn(t))n=E8(t,r);else{const o=b_(a);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return ep(n)}function N_(a,t){const r=Ni(a);return r===t||!Sn(r)||Oc(r)?!1:_n(r).position==="fixed"||N_(r,t)}function T8(a,t){const r=t.get(a);if(r)return r;let n=wu(a,[],!1).filter(f=>Sn(f)&&Gc(f)!=="body"),o=null;const l=_n(a).position==="fixed";let d=l?Ni(a):a;for(;Sn(d)&&!Oc(d);){const f=_n(d),h=v0(d);!h&&f.position==="fixed"&&(o=null),(l?!h&&!o:!h&&f.position==="static"&&!!o&&C8.has(o.position)||Ru(d)&&!h&&N_(a,d))?n=n.filter(x=>x!==d):o=f,d=Ni(d)}return t.set(a,n),n}function A8(a){let{element:t,boundary:r,rootBoundary:n,strategy:o}=a;const d=[...r==="clippingAncestors"?_p(t)?[]:T8(t,this._c):[].concat(r),n],f=d[0],h=d.reduce((m,x)=>{const y=iw(t,x,o);return m.top=_a(y.top,m.top),m.right=wi(y.right,m.right),m.bottom=wi(y.bottom,m.bottom),m.left=_a(y.left,m.left),m},iw(t,f,o));return{width:h.right-h.left,height:h.bottom-h.top,x:h.left,y:h.top}}function D8(a){const{width:t,height:r}=v_(a);return{width:t,height:r}}function M8(a,t,r){const n=Qn(t),o=Wn(t),l=r==="fixed",d=uo(a,!0,l,t);let f={scrollLeft:0,scrollTop:0};const h=$n(0);function m(){h.x=Cp(o)}if(n||!n&&!l)if((Gc(t)!=="body"||Ru(o))&&(f=jp(t)),n){const S=uo(t,!0,l,t);h.x=S.x+t.clientLeft,h.y=S.y+t.clientTop}else o&&m();l&&!n&&o&&m();const x=o&&!n&&!l?w_(o,f):$n(0),y=d.left+f.scrollLeft-h.x-x.x,N=d.top+f.scrollTop-h.y-x.y;return{x:y,y:N,width:d.width,height:d.height}}function Tg(a){return _n(a).position==="static"}function ow(a,t){if(!Qn(a)||_n(a).position==="fixed")return null;if(t)return t(a);let r=a.offsetParent;return Wn(a)===r&&(r=r.ownerDocument.body),r}function S_(a,t){const r=Ma(a);if(_p(a))return r;if(!Qn(a)){let o=Ni(a);for(;o&&!Oc(o);){if(Sn(o)&&!Tg(o))return o;o=Ni(o)}return r}let n=ow(a,t);for(;n&&p8(n)&&Tg(n);)n=ow(n,t);return n&&Oc(n)&&Tg(n)&&!v0(n)?r:n||y8(a)||r}const R8=async function(a){const t=this.getOffsetParent||S_,r=this.getDimensions,n=await r(a.floating);return{reference:M8(a.reference,await t(a.floating),a.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function O8(a){return _n(a).direction==="rtl"}const k8={convertOffsetParentRelativeRectToViewportRelativeRect:N8,getDocumentElement:Wn,getClippingRect:A8,getOffsetParent:S_,getElementRects:R8,getClientRects:S8,getDimensions:D8,getScale:Sc,isElement:Sn,isRTL:O8};function __(a,t){return a.x===t.x&&a.y===t.y&&a.width===t.width&&a.height===t.height}function P8(a,t){let r=null,n;const o=Wn(a);function l(){var f;clearTimeout(n),(f=r)==null||f.disconnect(),r=null}function d(f,h){f===void 0&&(f=!1),h===void 0&&(h=1),l();const m=a.getBoundingClientRect(),{left:x,top:y,width:N,height:S}=m;if(f||t(),!N||!S)return;const j=ff(y),w=ff(o.clientWidth-(x+N)),_=ff(o.clientHeight-(y+S)),D=ff(x),O={rootMargin:-j+"px "+-w+"px "+-_+"px "+-D+"px",threshold:_a(0,wi(1,h))||1};let k=!0;function L(Y){const P=Y[0].intersectionRatio;if(P!==h){if(!k)return d();P?d(!1,P):n=setTimeout(()=>{d(!1,1e-7)},1e3)}P===1&&!__(m,a.getBoundingClientRect())&&d(),k=!1}try{r=new IntersectionObserver(L,{...O,root:o.ownerDocument})}catch{r=new IntersectionObserver(L,O)}r.observe(a)}return d(!0),l}function z8(a,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:l=!0,elementResize:d=typeof ResizeObserver=="function",layoutShift:f=typeof IntersectionObserver=="function",animationFrame:h=!1}=n,m=w0(a),x=o||l?[...m?wu(m):[],...wu(t)]:[];x.forEach(D=>{o&&D.addEventListener("scroll",r,{passive:!0}),l&&D.addEventListener("resize",r)});const y=m&&f?P8(m,r):null;let N=-1,S=null;d&&(S=new ResizeObserver(D=>{let[M]=D;M&&M.target===m&&S&&(S.unobserve(t),cancelAnimationFrame(N),N=requestAnimationFrame(()=>{var O;(O=S)==null||O.observe(t)})),r()}),m&&!h&&S.observe(m),S.observe(t));let j,w=h?uo(a):null;h&&_();function _(){const D=uo(a);w&&!__(w,D)&&r(),w=D,j=requestAnimationFrame(_)}return r(),()=>{var D;x.forEach(M=>{o&&M.removeEventListener("scroll",r),l&&M.removeEventListener("resize",r)}),y?.(),(D=S)==null||D.disconnect(),S=null,h&&cancelAnimationFrame(j)}}const L8=o8,H8=c8,U8=n8,B8=u8,Y8=r8,cw=a8,q8=l8,G8=(a,t,r)=>{const n=new Map,o={platform:k8,...r},l={...o.platform,_c:n};return s8(a,t,{...o,platform:l})};var I8=typeof document<"u",V8=function(){},Rf=I8?v.useLayoutEffect:V8;function tp(a,t){if(a===t)return!0;if(typeof a!=typeof t)return!1;if(typeof a=="function"&&a.toString()===t.toString())return!0;let r,n,o;if(a&&t&&typeof a=="object"){if(Array.isArray(a)){if(r=a.length,r!==t.length)return!1;for(n=r;n--!==0;)if(!tp(a[n],t[n]))return!1;return!0}if(o=Object.keys(a),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;n--!==0;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;n--!==0;){const l=o[n];if(!(l==="_owner"&&a.$$typeof)&&!tp(a[l],t[l]))return!1}return!0}return a!==a&&t!==t}function j_(a){return typeof window>"u"?1:(a.ownerDocument.defaultView||window).devicePixelRatio||1}function lw(a,t){const r=j_(a);return Math.round(t*r)/r}function Ag(a){const t=v.useRef(a);return Rf(()=>{t.current=a}),t}function $8(a){a===void 0&&(a={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:o,elements:{reference:l,floating:d}={},transform:f=!0,whileElementsMounted:h,open:m}=a,[x,y]=v.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[N,S]=v.useState(n);tp(N,n)||S(n);const[j,w]=v.useState(null),[_,D]=v.useState(null),M=v.useCallback(T=>{T!==Y.current&&(Y.current=T,w(T))},[]),O=v.useCallback(T=>{T!==P.current&&(P.current=T,D(T))},[]),k=l||j,L=d||_,Y=v.useRef(null),P=v.useRef(null),B=v.useRef(x),V=h!=null,K=Ag(h),re=Ag(o),J=Ag(m),ce=v.useCallback(()=>{if(!Y.current||!P.current)return;const T={placement:t,strategy:r,middleware:N};re.current&&(T.platform=re.current),G8(Y.current,P.current,T).then(R=>{const E={...R,isPositioned:J.current!==!1};oe.current&&!tp(B.current,E)&&(B.current=E,Ox.flushSync(()=>{y(E)}))})},[N,t,r,re,J]);Rf(()=>{m===!1&&B.current.isPositioned&&(B.current.isPositioned=!1,y(T=>({...T,isPositioned:!1})))},[m]);const oe=v.useRef(!1);Rf(()=>(oe.current=!0,()=>{oe.current=!1}),[]),Rf(()=>{if(k&&(Y.current=k),L&&(P.current=L),k&&L){if(K.current)return K.current(k,L,ce);ce()}},[k,L,ce,K,V]);const ie=v.useMemo(()=>({reference:Y,floating:P,setReference:M,setFloating:O}),[M,O]),U=v.useMemo(()=>({reference:k,floating:L}),[k,L]),F=v.useMemo(()=>{const T={position:r,left:0,top:0};if(!U.floating)return T;const R=lw(U.floating,x.x),E=lw(U.floating,x.y);return f?{...T,transform:"translate("+R+"px, "+E+"px)",...j_(U.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:R,top:E}},[r,f,U.floating,x.x,x.y]);return v.useMemo(()=>({...x,update:ce,refs:ie,elements:U,floatingStyles:F}),[x,ce,ie,U,F])}const F8=a=>{function t(r){return{}.hasOwnProperty.call(r,"current")}return{name:"arrow",options:a,fn(r){const{element:n,padding:o}=typeof a=="function"?a(r):a;return n&&t(n)?n.current!=null?cw({element:n.current,padding:o}).fn(r):{}:n?cw({element:n,padding:o}).fn(r):{}}}},X8=(a,t)=>({...L8(a),options:[a,t]}),Q8=(a,t)=>({...H8(a),options:[a,t]}),K8=(a,t)=>({...q8(a),options:[a,t]}),Z8=(a,t)=>({...U8(a),options:[a,t]}),W8=(a,t)=>({...B8(a),options:[a,t]}),J8=(a,t)=>({...Y8(a),options:[a,t]}),eM=(a,t)=>({...F8(a),options:[a,t]});var tM="Arrow",C_=v.forwardRef((a,t)=>{const{children:r,width:n=10,height:o=5,...l}=a;return c.jsx(Tt.svg,{...l,ref:t,width:n,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:a.asChild?r:c.jsx("polygon",{points:"0,0 30,0 15,10"})})});C_.displayName=tM;var sM=C_;function aM(a){const[t,r]=v.useState(void 0);return bi(()=>{if(a){r({width:a.offsetWidth,height:a.offsetHeight});const n=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const l=o[0];let d,f;if("borderBoxSize"in l){const h=l.borderBoxSize,m=Array.isArray(h)?h[0]:h;d=m.inlineSize,f=m.blockSize}else d=a.offsetWidth,f=a.offsetHeight;r({width:d,height:f})});return n.observe(a,{box:"border-box"}),()=>n.unobserve(a)}else r(void 0)},[a]),t}var N0="Popper",[E_,T_]=xo(N0),[nM,A_]=E_(N0),D_=a=>{const{__scopePopper:t,children:r}=a,[n,o]=v.useState(null);return c.jsx(nM,{scope:t,anchor:n,onAnchorChange:o,children:r})};D_.displayName=N0;var M_="PopperAnchor",R_=v.forwardRef((a,t)=>{const{__scopePopper:r,virtualRef:n,...o}=a,l=A_(M_,r),d=v.useRef(null),f=Ns(t,d),h=v.useRef(null);return v.useEffect(()=>{const m=h.current;h.current=n?.current||d.current,m!==h.current&&l.onAnchorChange(h.current)}),n?null:c.jsx(Tt.div,{...o,ref:f})});R_.displayName=M_;var S0="PopperContent",[rM,iM]=E_(S0),O_=v.forwardRef((a,t)=>{const{__scopePopper:r,side:n="bottom",sideOffset:o=0,align:l="center",alignOffset:d=0,arrowPadding:f=0,avoidCollisions:h=!0,collisionBoundary:m=[],collisionPadding:x=0,sticky:y="partial",hideWhenDetached:N=!1,updatePositionStrategy:S="optimized",onPlaced:j,...w}=a,_=A_(S0,r),[D,M]=v.useState(null),O=Ns(t,ne=>M(ne)),[k,L]=v.useState(null),Y=aM(k),P=Y?.width??0,B=Y?.height??0,V=n+(l!=="center"?"-"+l:""),K=typeof x=="number"?x:{top:0,right:0,bottom:0,left:0,...x},re=Array.isArray(m)?m:[m],J=re.length>0,ce={padding:K,boundary:re.filter(cM),altBoundary:J},{refs:oe,floatingStyles:ie,placement:U,isPositioned:F,middlewareData:T}=$8({strategy:"fixed",placement:V,whileElementsMounted:(...ne)=>z8(...ne,{animationFrame:S==="always"}),elements:{reference:_.anchor},middleware:[X8({mainAxis:o+B,alignmentAxis:d}),h&&Q8({mainAxis:!0,crossAxis:!1,limiter:y==="partial"?K8():void 0,...ce}),h&&Z8({...ce}),W8({...ce,apply:({elements:ne,rects:ke,availableWidth:Ee,availableHeight:qt})=>{const{width:mt,height:gt}=ke.reference,Re=ne.floating.style;Re.setProperty("--radix-popper-available-width",`${Ee}px`),Re.setProperty("--radix-popper-available-height",`${qt}px`),Re.setProperty("--radix-popper-anchor-width",`${mt}px`),Re.setProperty("--radix-popper-anchor-height",`${gt}px`)}}),k&&eM({element:k,padding:f}),lM({arrowWidth:P,arrowHeight:B}),N&&J8({strategy:"referenceHidden",...ce})]}),[R,E]=z_(U),A=Ar(j);bi(()=>{F&&A?.()},[F,A]);const G=T.arrow?.x,se=T.arrow?.y,ae=T.arrow?.centerOffset!==0,[de,pe]=v.useState();return bi(()=>{D&&pe(window.getComputedStyle(D).zIndex)},[D]),c.jsx("div",{ref:oe.setFloating,"data-radix-popper-content-wrapper":"",style:{...ie,transform:F?ie.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:de,"--radix-popper-transform-origin":[T.transformOrigin?.x,T.transformOrigin?.y].join(" "),...T.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:a.dir,children:c.jsx(rM,{scope:r,placedSide:R,onArrowChange:L,arrowX:G,arrowY:se,shouldHideArrow:ae,children:c.jsx(Tt.div,{"data-side":R,"data-align":E,...w,ref:O,style:{...w.style,animation:F?void 0:"none"}})})})});O_.displayName=S0;var k_="PopperArrow",oM={top:"bottom",right:"left",bottom:"top",left:"right"},P_=v.forwardRef(function(t,r){const{__scopePopper:n,...o}=t,l=iM(k_,n),d=oM[l.placedSide];return c.jsx("span",{ref:l.onArrowChange,style:{position:"absolute",left:l.arrowX,top:l.arrowY,[d]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[l.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[l.placedSide],visibility:l.shouldHideArrow?"hidden":void 0},children:c.jsx(sM,{...o,ref:r,style:{...o.style,display:"block"}})})});P_.displayName=k_;function cM(a){return a!==null}var lM=a=>({name:"transformOrigin",options:a,fn(t){const{placement:r,rects:n,middlewareData:o}=t,d=o.arrow?.centerOffset!==0,f=d?0:a.arrowWidth,h=d?0:a.arrowHeight,[m,x]=z_(r),y={start:"0%",center:"50%",end:"100%"}[x],N=(o.arrow?.x??0)+f/2,S=(o.arrow?.y??0)+h/2;let j="",w="";return m==="bottom"?(j=d?y:`${N}px`,w=`${-h}px`):m==="top"?(j=d?y:`${N}px`,w=`${n.floating.height+h}px`):m==="right"?(j=`${-h}px`,w=d?y:`${S}px`):m==="left"&&(j=`${n.floating.width+h}px`,w=d?y:`${S}px`),{data:{x:j,y:w}}}});function z_(a){const[t,r="center"]=a.split("-");return[t,r]}var uM=D_,dM=R_,fM=O_,pM=P_,hM="Portal",_0=v.forwardRef((a,t)=>{const{container:r,...n}=a,[o,l]=v.useState(!1);bi(()=>l(!0),[]);const d=r||o&&globalThis?.document?.body;return d?uE.createPortal(c.jsx(Tt.div,{...n,ref:t}),d):null});_0.displayName=hM;function mM(a){const t=gM(a),r=v.forwardRef((n,o)=>{const{children:l,...d}=n,f=v.Children.toArray(l),h=f.find(yM);if(h){const m=h.props.children,x=f.map(y=>y===h?v.Children.count(m)>1?v.Children.only(null):v.isValidElement(m)?m.props.children:null:y);return c.jsx(t,{...d,ref:o,children:v.isValidElement(m)?v.cloneElement(m,void 0,x):null})}return c.jsx(t,{...d,ref:o,children:l})});return r.displayName=`${a}.Slot`,r}function gM(a){const t=v.forwardRef((r,n)=>{const{children:o,...l}=r;if(v.isValidElement(o)){const d=bM(o),f=vM(l,o.props);return o.type!==v.Fragment&&(f.ref=n?Si(n,d):d),v.cloneElement(o,f)}return v.Children.count(o)>1?v.Children.only(null):null});return t.displayName=`${a}.SlotClone`,t}var xM=Symbol("radix.slottable");function yM(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===xM}function vM(a,t){const r={...t};for(const n in t){const o=a[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...f)=>{const h=l(...f);return o(...f),h}:o&&(r[n]=o):n==="style"?r[n]={...o,...l}:n==="className"&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...a,...r}}function bM(a){let t=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?a.ref:(t=Object.getOwnPropertyDescriptor(a,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var wM=function(a){if(typeof document>"u")return null;var t=Array.isArray(a)?a[0]:a;return t.ownerDocument.body},ic=new WeakMap,pf=new WeakMap,hf={},Dg=0,L_=function(a){return a&&(a.host||L_(a.parentNode))},NM=function(a,t){return t.map(function(r){if(a.contains(r))return r;var n=L_(r);return n&&a.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",a,". Doing nothing"),null)}).filter(function(r){return!!r})},SM=function(a,t,r,n){var o=NM(t,Array.isArray(a)?a:[a]);hf[r]||(hf[r]=new WeakMap);var l=hf[r],d=[],f=new Set,h=new Set(o),m=function(y){!y||f.has(y)||(f.add(y),m(y.parentNode))};o.forEach(m);var x=function(y){!y||h.has(y)||Array.prototype.forEach.call(y.children,function(N){if(f.has(N))x(N);else try{var S=N.getAttribute(n),j=S!==null&&S!=="false",w=(ic.get(N)||0)+1,_=(l.get(N)||0)+1;ic.set(N,w),l.set(N,_),d.push(N),w===1&&j&&pf.set(N,!0),_===1&&N.setAttribute(r,"true"),j||N.setAttribute(n,"true")}catch(D){console.error("aria-hidden: cannot operate on ",N,D)}})};return x(t),f.clear(),Dg++,function(){d.forEach(function(y){var N=ic.get(y)-1,S=l.get(y)-1;ic.set(y,N),l.set(y,S),N||(pf.has(y)||y.removeAttribute(n),pf.delete(y)),S||y.removeAttribute(r)}),Dg--,Dg||(ic=new WeakMap,ic=new WeakMap,pf=new WeakMap,hf={})}},H_=function(a,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(a)?a:[a]),o=wM(a);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),SM(n,o,r,"aria-hidden")):function(){return null}},Bn=function(){return Bn=Object.assign||function(t){for(var r,n=1,o=arguments.length;n<o;n++){r=arguments[n];for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(t[l]=r[l])}return t},Bn.apply(this,arguments)};function U_(a,t){var r={};for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&t.indexOf(n)<0&&(r[n]=a[n]);if(a!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(a);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(a,n[o])&&(r[n[o]]=a[n[o]]);return r}function _M(a,t,r){if(r||arguments.length===2)for(var n=0,o=t.length,l;n<o;n++)(l||!(n in t))&&(l||(l=Array.prototype.slice.call(t,0,n)),l[n]=t[n]);return a.concat(l||Array.prototype.slice.call(t))}var Of="right-scroll-bar-position",kf="width-before-scroll-bar",jM="with-scroll-bars-hidden",CM="--removed-body-scroll-bar-size";function Mg(a,t){return typeof a=="function"?a(t):a&&(a.current=t),a}function EM(a,t){var r=v.useState(function(){return{value:a,callback:t,facade:{get current(){return r.value},set current(n){var o=r.value;o!==n&&(r.value=n,r.callback(n,o))}}}})[0];return r.callback=t,r.facade}var TM=typeof window<"u"?v.useLayoutEffect:v.useEffect,uw=new WeakMap;function AM(a,t){var r=EM(null,function(n){return a.forEach(function(o){return Mg(o,n)})});return TM(function(){var n=uw.get(r);if(n){var o=new Set(n),l=new Set(a),d=r.current;o.forEach(function(f){l.has(f)||Mg(f,null)}),l.forEach(function(f){o.has(f)||Mg(f,d)})}uw.set(r,a)},[a]),r}function DM(a){return a}function MM(a,t){t===void 0&&(t=DM);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:a},useMedium:function(l){var d=t(l,n);return r.push(d),function(){r=r.filter(function(f){return f!==d})}},assignSyncMedium:function(l){for(n=!0;r.length;){var d=r;r=[],d.forEach(l)}r={push:function(f){return l(f)},filter:function(){return r}}},assignMedium:function(l){n=!0;var d=[];if(r.length){var f=r;r=[],f.forEach(l),d=r}var h=function(){var x=d;d=[],x.forEach(l)},m=function(){return Promise.resolve().then(h)};m(),r={push:function(x){d.push(x),m()},filter:function(x){return d=d.filter(x),r}}}};return o}function RM(a){a===void 0&&(a={});var t=MM(null);return t.options=Bn({async:!0,ssr:!1},a),t}var B_=function(a){var t=a.sideCar,r=U_(a,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return v.createElement(n,Bn({},r))};B_.isSideCarExport=!0;function OM(a,t){return a.useMedium(t),B_}var Y_=RM(),Rg=function(){},Ep=v.forwardRef(function(a,t){var r=v.useRef(null),n=v.useState({onScrollCapture:Rg,onWheelCapture:Rg,onTouchMoveCapture:Rg}),o=n[0],l=n[1],d=a.forwardProps,f=a.children,h=a.className,m=a.removeScrollBar,x=a.enabled,y=a.shards,N=a.sideCar,S=a.noRelative,j=a.noIsolation,w=a.inert,_=a.allowPinchZoom,D=a.as,M=D===void 0?"div":D,O=a.gapMode,k=U_(a,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),L=N,Y=AM([r,t]),P=Bn(Bn({},k),o);return v.createElement(v.Fragment,null,x&&v.createElement(L,{sideCar:Y_,removeScrollBar:m,shards:y,noRelative:S,noIsolation:j,inert:w,setCallbacks:l,allowPinchZoom:!!_,lockRef:r,gapMode:O}),d?v.cloneElement(v.Children.only(f),Bn(Bn({},P),{ref:Y})):v.createElement(M,Bn({},P,{className:h,ref:Y}),f))});Ep.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ep.classNames={fullWidth:kf,zeroRight:Of};var kM=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function PM(){if(!document)return null;var a=document.createElement("style");a.type="text/css";var t=kM();return t&&a.setAttribute("nonce",t),a}function zM(a,t){a.styleSheet?a.styleSheet.cssText=t:a.appendChild(document.createTextNode(t))}function LM(a){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(a)}var HM=function(){var a=0,t=null;return{add:function(r){a==0&&(t=PM())&&(zM(t,r),LM(t)),a++},remove:function(){a--,!a&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},UM=function(){var a=HM();return function(t,r){v.useEffect(function(){return a.add(t),function(){a.remove()}},[t&&r])}},q_=function(){var a=UM(),t=function(r){var n=r.styles,o=r.dynamic;return a(n,o),null};return t},BM={left:0,top:0,right:0,gap:0},Og=function(a){return parseInt(a||"",10)||0},YM=function(a){var t=window.getComputedStyle(document.body),r=t[a==="padding"?"paddingLeft":"marginLeft"],n=t[a==="padding"?"paddingTop":"marginTop"],o=t[a==="padding"?"paddingRight":"marginRight"];return[Og(r),Og(n),Og(o)]},qM=function(a){if(a===void 0&&(a="margin"),typeof window>"u")return BM;var t=YM(a),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},GM=q_(),_c="data-scroll-locked",IM=function(a,t,r,n){var o=a.left,l=a.top,d=a.right,f=a.gap;return r===void 0&&(r="margin"),`
  .`.concat(jM,` {
   overflow: hidden `).concat(n,`;
   padding-right: `).concat(f,"px ").concat(n,`;
  }
  body[`).concat(_c,`] {
    overflow: hidden `).concat(n,`;
    overscroll-behavior: contain;
    `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&`
    padding-left: `.concat(o,`px;
    padding-top: `).concat(l,`px;
    padding-right: `).concat(d,`px;
    margin-left:0;
    margin-top:0;
    margin-right: `).concat(f,"px ").concat(n,`;
    `),r==="padding"&&"padding-right: ".concat(f,"px ").concat(n,";")].filter(Boolean).join(""),`
  }
  
  .`).concat(Of,` {
    right: `).concat(f,"px ").concat(n,`;
  }
  
  .`).concat(kf,` {
    margin-right: `).concat(f,"px ").concat(n,`;
  }
  
  .`).concat(Of," .").concat(Of,` {
    right: 0 `).concat(n,`;
  }
  
  .`).concat(kf," .").concat(kf,` {
    margin-right: 0 `).concat(n,`;
  }
  
  body[`).concat(_c,`] {
    `).concat(CM,": ").concat(f,`px;
  }
`)},dw=function(){var a=parseInt(document.body.getAttribute(_c)||"0",10);return isFinite(a)?a:0},VM=function(){v.useEffect(function(){return document.body.setAttribute(_c,(dw()+1).toString()),function(){var a=dw()-1;a<=0?document.body.removeAttribute(_c):document.body.setAttribute(_c,a.toString())}},[])},$M=function(a){var t=a.noRelative,r=a.noImportant,n=a.gapMode,o=n===void 0?"margin":n;VM();var l=v.useMemo(function(){return qM(o)},[o]);return v.createElement(GM,{styles:IM(l,!t,o,r?"":"!important")})},Nx=!1;if(typeof window<"u")try{var mf=Object.defineProperty({},"passive",{get:function(){return Nx=!0,!0}});window.addEventListener("test",mf,mf),window.removeEventListener("test",mf,mf)}catch{Nx=!1}var oc=Nx?{passive:!1}:!1,FM=function(a){return a.tagName==="TEXTAREA"},G_=function(a,t){if(!(a instanceof Element))return!1;var r=window.getComputedStyle(a);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!FM(a)&&r[t]==="visible")},XM=function(a){return G_(a,"overflowY")},QM=function(a){return G_(a,"overflowX")},fw=function(a,t){var r=t.ownerDocument,n=t;do{typeof ShadowRoot<"u"&&n instanceof ShadowRoot&&(n=n.host);var o=I_(a,n);if(o){var l=V_(a,n),d=l[1],f=l[2];if(d>f)return!0}n=n.parentNode}while(n&&n!==r.body);return!1},KM=function(a){var t=a.scrollTop,r=a.scrollHeight,n=a.clientHeight;return[t,r,n]},ZM=function(a){var t=a.scrollLeft,r=a.scrollWidth,n=a.clientWidth;return[t,r,n]},I_=function(a,t){return a==="v"?XM(t):QM(t)},V_=function(a,t){return a==="v"?KM(t):ZM(t)},WM=function(a,t){return a==="h"&&t==="rtl"?-1:1},JM=function(a,t,r,n,o){var l=WM(a,window.getComputedStyle(t).direction),d=l*n,f=r.target,h=t.contains(f),m=!1,x=d>0,y=0,N=0;do{if(!f)break;var S=V_(a,f),j=S[0],w=S[1],_=S[2],D=w-_-l*j;(j||D)&&I_(a,f)&&(y+=D,N+=j);var M=f.parentNode;f=M&&M.nodeType===Node.DOCUMENT_FRAGMENT_NODE?M.host:M}while(!h&&f!==document.body||h&&(t.contains(f)||t===f));return(x&&Math.abs(y)<1||!x&&Math.abs(N)<1)&&(m=!0),m},gf=function(a){return"changedTouches"in a?[a.changedTouches[0].clientX,a.changedTouches[0].clientY]:[0,0]},pw=function(a){return[a.deltaX,a.deltaY]},hw=function(a){return a&&"current"in a?a.current:a},eR=function(a,t){return a[0]===t[0]&&a[1]===t[1]},tR=function(a){return`
  .block-interactivity-`.concat(a,` {pointer-events: none;}
  .allow-interactivity-`).concat(a,` {pointer-events: all;}
`)},sR=0,cc=[];function aR(a){var t=v.useRef([]),r=v.useRef([0,0]),n=v.useRef(),o=v.useState(sR++)[0],l=v.useState(q_)[0],d=v.useRef(a);v.useEffect(function(){d.current=a},[a]),v.useEffect(function(){if(a.inert){document.body.classList.add("block-interactivity-".concat(o));var w=_M([a.lockRef.current],(a.shards||[]).map(hw),!0).filter(Boolean);return w.forEach(function(_){return _.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),w.forEach(function(_){return _.classList.remove("allow-interactivity-".concat(o))})}}},[a.inert,a.lockRef.current,a.shards]);var f=v.useCallback(function(w,_){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!d.current.allowPinchZoom;var D=gf(w),M=r.current,O="deltaX"in w?w.deltaX:M[0]-D[0],k="deltaY"in w?w.deltaY:M[1]-D[1],L,Y=w.target,P=Math.abs(O)>Math.abs(k)?"h":"v";if("touches"in w&&P==="h"&&Y.type==="range")return!1;var B=window.getSelection(),V=B&&B.anchorNode,K=V?V===Y||V.contains(Y):!1;if(K)return!1;var re=fw(P,Y);if(!re)return!0;if(re?L=P:(L=P==="v"?"h":"v",re=fw(P,Y)),!re)return!1;if(!n.current&&"changedTouches"in w&&(O||k)&&(n.current=L),!L)return!0;var J=n.current||L;return JM(J,_,w,J==="h"?O:k)},[]),h=v.useCallback(function(w){var _=w;if(!(!cc.length||cc[cc.length-1]!==l)){var D="deltaY"in _?pw(_):gf(_),M=t.current.filter(function(L){return L.name===_.type&&(L.target===_.target||_.target===L.shadowParent)&&eR(L.delta,D)})[0];if(M&&M.should){_.cancelable&&_.preventDefault();return}if(!M){var O=(d.current.shards||[]).map(hw).filter(Boolean).filter(function(L){return L.contains(_.target)}),k=O.length>0?f(_,O[0]):!d.current.noIsolation;k&&_.cancelable&&_.preventDefault()}}},[]),m=v.useCallback(function(w,_,D,M){var O={name:w,delta:_,target:D,should:M,shadowParent:nR(D)};t.current.push(O),setTimeout(function(){t.current=t.current.filter(function(k){return k!==O})},1)},[]),x=v.useCallback(function(w){r.current=gf(w),n.current=void 0},[]),y=v.useCallback(function(w){m(w.type,pw(w),w.target,f(w,a.lockRef.current))},[]),N=v.useCallback(function(w){m(w.type,gf(w),w.target,f(w,a.lockRef.current))},[]);v.useEffect(function(){return cc.push(l),a.setCallbacks({onScrollCapture:y,onWheelCapture:y,onTouchMoveCapture:N}),document.addEventListener("wheel",h,oc),document.addEventListener("touchmove",h,oc),document.addEventListener("touchstart",x,oc),function(){cc=cc.filter(function(w){return w!==l}),document.removeEventListener("wheel",h,oc),document.removeEventListener("touchmove",h,oc),document.removeEventListener("touchstart",x,oc)}},[]);var S=a.removeScrollBar,j=a.inert;return v.createElement(v.Fragment,null,j?v.createElement(l,{styles:tR(o)}):null,S?v.createElement($M,{noRelative:a.noRelative,gapMode:a.gapMode}):null)}function nR(a){for(var t=null;a!==null;)a instanceof ShadowRoot&&(t=a.host,a=a.host),a=a.parentNode;return t}const rR=OM(Y_,aR);var j0=v.forwardRef(function(a,t){return v.createElement(Ep,Bn({},a,{ref:t,sideCar:rR}))});j0.classNames=Ep.classNames;var Sx=["Enter"," "],iR=["ArrowDown","PageUp","Home"],$_=["ArrowUp","PageDown","End"],oR=[...iR,...$_],cR={ltr:[...Sx,"ArrowRight"],rtl:[...Sx,"ArrowLeft"]},lR={ltr:["ArrowLeft"],rtl:["ArrowRight"]},Ou="Menu",[Nu,uR,dR]=$S(Ou),[yo,F_]=xo(Ou,[dR,T_,wp]),Tp=T_(),X_=wp(),[fR,vo]=yo(Ou),[pR,ku]=yo(Ou),Q_=a=>{const{__scopeMenu:t,open:r=!1,children:n,dir:o,onOpenChange:l,modal:d=!0}=a,f=Tp(t),[h,m]=v.useState(null),x=v.useRef(!1),y=Ar(l),N=u0(o);return v.useEffect(()=>{const S=()=>{x.current=!0,document.addEventListener("pointerdown",j,{capture:!0,once:!0}),document.addEventListener("pointermove",j,{capture:!0,once:!0})},j=()=>x.current=!1;return document.addEventListener("keydown",S,{capture:!0}),()=>{document.removeEventListener("keydown",S,{capture:!0}),document.removeEventListener("pointerdown",j,{capture:!0}),document.removeEventListener("pointermove",j,{capture:!0})}},[]),c.jsx(uM,{...f,children:c.jsx(fR,{scope:t,open:r,onOpenChange:y,content:h,onContentChange:m,children:c.jsx(pR,{scope:t,onClose:v.useCallback(()=>y(!1),[y]),isUsingKeyboardRef:x,dir:N,modal:d,children:n})})})};Q_.displayName=Ou;var hR="MenuAnchor",C0=v.forwardRef((a,t)=>{const{__scopeMenu:r,...n}=a,o=Tp(r);return c.jsx(dM,{...o,...n,ref:t})});C0.displayName=hR;var E0="MenuPortal",[mR,K_]=yo(E0,{forceMount:void 0}),Z_=a=>{const{__scopeMenu:t,forceMount:r,children:n,container:o}=a,l=vo(E0,t);return c.jsx(mR,{scope:t,forceMount:r,children:c.jsx(Rr,{present:r||l.open,children:c.jsx(_0,{asChild:!0,container:o,children:n})})})};Z_.displayName=E0;var ln="MenuContent",[gR,T0]=yo(ln),W_=v.forwardRef((a,t)=>{const r=K_(ln,a.__scopeMenu),{forceMount:n=r.forceMount,...o}=a,l=vo(ln,a.__scopeMenu),d=ku(ln,a.__scopeMenu);return c.jsx(Nu.Provider,{scope:a.__scopeMenu,children:c.jsx(Rr,{present:n||l.open,children:c.jsx(Nu.Slot,{scope:a.__scopeMenu,children:d.modal?c.jsx(xR,{...o,ref:t}):c.jsx(yR,{...o,ref:t})})})})}),xR=v.forwardRef((a,t)=>{const r=vo(ln,a.__scopeMenu),n=v.useRef(null),o=Ns(t,n);return v.useEffect(()=>{const l=n.current;if(l)return H_(l)},[]),c.jsx(A0,{...a,ref:o,trapFocus:r.open,disableOutsidePointerEvents:r.open,disableOutsideScroll:!0,onFocusOutside:Me(a.onFocusOutside,l=>l.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>r.onOpenChange(!1)})}),yR=v.forwardRef((a,t)=>{const r=vo(ln,a.__scopeMenu);return c.jsx(A0,{...a,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>r.onOpenChange(!1)})}),vR=mM("MenuContent.ScrollLock"),A0=v.forwardRef((a,t)=>{const{__scopeMenu:r,loop:n=!1,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:d,disableOutsidePointerEvents:f,onEntryFocus:h,onEscapeKeyDown:m,onPointerDownOutside:x,onFocusOutside:y,onInteractOutside:N,onDismiss:S,disableOutsideScroll:j,...w}=a,_=vo(ln,r),D=ku(ln,r),M=Tp(r),O=X_(r),k=uR(r),[L,Y]=v.useState(null),P=v.useRef(null),B=Ns(t,P,_.onContentChange),V=v.useRef(0),K=v.useRef(""),re=v.useRef(0),J=v.useRef(null),ce=v.useRef("right"),oe=v.useRef(0),ie=j?j0:v.Fragment,U=j?{as:vR,allowPinchZoom:!0}:void 0,F=R=>{const E=K.current+R,A=k().filter(ne=>!ne.disabled),G=document.activeElement,se=A.find(ne=>ne.ref.current===G)?.textValue,ae=A.map(ne=>ne.textValue),de=MR(ae,E,se),pe=A.find(ne=>ne.textValue===de)?.ref.current;(function ne(ke){K.current=ke,window.clearTimeout(V.current),ke!==""&&(V.current=window.setTimeout(()=>ne(""),1e3))})(E),pe&&setTimeout(()=>pe.focus())};v.useEffect(()=>()=>window.clearTimeout(V.current),[]),p_();const T=v.useCallback(R=>ce.current===J.current?.side&&OR(R,J.current?.area),[]);return c.jsx(gR,{scope:r,searchRef:K,onItemEnter:v.useCallback(R=>{T(R)&&R.preventDefault()},[T]),onItemLeave:v.useCallback(R=>{T(R)||(P.current?.focus(),Y(null))},[T]),onTriggerLeave:v.useCallback(R=>{T(R)&&R.preventDefault()},[T]),pointerGraceTimerRef:re,onPointerGraceIntentChange:v.useCallback(R=>{J.current=R},[]),children:c.jsx(ie,{...U,children:c.jsx(m0,{asChild:!0,trapped:o,onMountAutoFocus:Me(l,R=>{R.preventDefault(),P.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:d,children:c.jsx(h0,{asChild:!0,disableOutsidePointerEvents:f,onEscapeKeyDown:m,onPointerDownOutside:x,onFocusOutside:y,onInteractOutside:N,onDismiss:S,children:c.jsx(JS,{asChild:!0,...O,dir:D.dir,orientation:"vertical",loop:n,currentTabStopId:L,onCurrentTabStopIdChange:Y,onEntryFocus:Me(h,R=>{D.isUsingKeyboardRef.current||R.preventDefault()}),preventScrollOnEntryFocus:!0,children:c.jsx(fM,{role:"menu","aria-orientation":"vertical","data-state":hj(_.open),"data-radix-menu-content":"",dir:D.dir,...M,...w,ref:B,style:{outline:"none",...w.style},onKeyDown:Me(w.onKeyDown,R=>{const A=R.target.closest("[data-radix-menu-content]")===R.currentTarget,G=R.ctrlKey||R.altKey||R.metaKey,se=R.key.length===1;A&&(R.key==="Tab"&&R.preventDefault(),!G&&se&&F(R.key));const ae=P.current;if(R.target!==ae||!oR.includes(R.key))return;R.preventDefault();const pe=k().filter(ne=>!ne.disabled).map(ne=>ne.ref.current);$_.includes(R.key)&&pe.reverse(),AR(pe)}),onBlur:Me(a.onBlur,R=>{R.currentTarget.contains(R.target)||(window.clearTimeout(V.current),K.current="")}),onPointerMove:Me(a.onPointerMove,Su(R=>{const E=R.target,A=oe.current!==R.clientX;if(R.currentTarget.contains(E)&&A){const G=R.clientX>oe.current?"right":"left";ce.current=G,oe.current=R.clientX}}))})})})})})})});W_.displayName=ln;var bR="MenuGroup",D0=v.forwardRef((a,t)=>{const{__scopeMenu:r,...n}=a;return c.jsx(Tt.div,{role:"group",...n,ref:t})});D0.displayName=bR;var wR="MenuLabel",J_=v.forwardRef((a,t)=>{const{__scopeMenu:r,...n}=a;return c.jsx(Tt.div,{...n,ref:t})});J_.displayName=wR;var sp="MenuItem",mw="menu.itemSelect",Ap=v.forwardRef((a,t)=>{const{disabled:r=!1,onSelect:n,...o}=a,l=v.useRef(null),d=ku(sp,a.__scopeMenu),f=T0(sp,a.__scopeMenu),h=Ns(t,l),m=v.useRef(!1),x=()=>{const y=l.current;if(!r&&y){const N=new CustomEvent(mw,{bubbles:!0,cancelable:!0});y.addEventListener(mw,S=>n?.(S),{once:!0}),FS(y,N),N.defaultPrevented?m.current=!1:d.onClose()}};return c.jsx(ej,{...o,ref:h,disabled:r,onClick:Me(a.onClick,x),onPointerDown:y=>{a.onPointerDown?.(y),m.current=!0},onPointerUp:Me(a.onPointerUp,y=>{m.current||y.currentTarget?.click()}),onKeyDown:Me(a.onKeyDown,y=>{const N=f.searchRef.current!=="";r||N&&y.key===" "||Sx.includes(y.key)&&(y.currentTarget.click(),y.preventDefault())})})});Ap.displayName=sp;var ej=v.forwardRef((a,t)=>{const{__scopeMenu:r,disabled:n=!1,textValue:o,...l}=a,d=T0(sp,r),f=X_(r),h=v.useRef(null),m=Ns(t,h),[x,y]=v.useState(!1),[N,S]=v.useState("");return v.useEffect(()=>{const j=h.current;j&&S((j.textContent??"").trim())},[l.children]),c.jsx(Nu.ItemSlot,{scope:r,disabled:n,textValue:o??N,children:c.jsx(e_,{asChild:!0,...f,focusable:!n,children:c.jsx(Tt.div,{role:"menuitem","data-highlighted":x?"":void 0,"aria-disabled":n||void 0,"data-disabled":n?"":void 0,...l,ref:m,onPointerMove:Me(a.onPointerMove,Su(j=>{n?d.onItemLeave(j):(d.onItemEnter(j),j.defaultPrevented||j.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:Me(a.onPointerLeave,Su(j=>d.onItemLeave(j))),onFocus:Me(a.onFocus,()=>y(!0)),onBlur:Me(a.onBlur,()=>y(!1))})})})}),NR="MenuCheckboxItem",tj=v.forwardRef((a,t)=>{const{checked:r=!1,onCheckedChange:n,...o}=a;return c.jsx(ij,{scope:a.__scopeMenu,checked:r,children:c.jsx(Ap,{role:"menuitemcheckbox","aria-checked":ap(r)?"mixed":r,...o,ref:t,"data-state":R0(r),onSelect:Me(o.onSelect,()=>n?.(ap(r)?!0:!r),{checkForDefaultPrevented:!1})})})});tj.displayName=NR;var sj="MenuRadioGroup",[SR,_R]=yo(sj,{value:void 0,onValueChange:()=>{}}),aj=v.forwardRef((a,t)=>{const{value:r,onValueChange:n,...o}=a,l=Ar(n);return c.jsx(SR,{scope:a.__scopeMenu,value:r,onValueChange:l,children:c.jsx(D0,{...o,ref:t})})});aj.displayName=sj;var nj="MenuRadioItem",rj=v.forwardRef((a,t)=>{const{value:r,...n}=a,o=_R(nj,a.__scopeMenu),l=r===o.value;return c.jsx(ij,{scope:a.__scopeMenu,checked:l,children:c.jsx(Ap,{role:"menuitemradio","aria-checked":l,...n,ref:t,"data-state":R0(l),onSelect:Me(n.onSelect,()=>o.onValueChange?.(r),{checkForDefaultPrevented:!1})})})});rj.displayName=nj;var M0="MenuItemIndicator",[ij,jR]=yo(M0,{checked:!1}),oj=v.forwardRef((a,t)=>{const{__scopeMenu:r,forceMount:n,...o}=a,l=jR(M0,r);return c.jsx(Rr,{present:n||ap(l.checked)||l.checked===!0,children:c.jsx(Tt.span,{...o,ref:t,"data-state":R0(l.checked)})})});oj.displayName=M0;var CR="MenuSeparator",cj=v.forwardRef((a,t)=>{const{__scopeMenu:r,...n}=a;return c.jsx(Tt.div,{role:"separator","aria-orientation":"horizontal",...n,ref:t})});cj.displayName=CR;var ER="MenuArrow",lj=v.forwardRef((a,t)=>{const{__scopeMenu:r,...n}=a,o=Tp(r);return c.jsx(pM,{...o,...n,ref:t})});lj.displayName=ER;var TR="MenuSub",[xk,uj]=yo(TR),Xl="MenuSubTrigger",dj=v.forwardRef((a,t)=>{const r=vo(Xl,a.__scopeMenu),n=ku(Xl,a.__scopeMenu),o=uj(Xl,a.__scopeMenu),l=T0(Xl,a.__scopeMenu),d=v.useRef(null),{pointerGraceTimerRef:f,onPointerGraceIntentChange:h}=l,m={__scopeMenu:a.__scopeMenu},x=v.useCallback(()=>{d.current&&window.clearTimeout(d.current),d.current=null},[]);return v.useEffect(()=>x,[x]),v.useEffect(()=>{const y=f.current;return()=>{window.clearTimeout(y),h(null)}},[f,h]),c.jsx(C0,{asChild:!0,...m,children:c.jsx(ej,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":r.open,"aria-controls":o.contentId,"data-state":hj(r.open),...a,ref:Si(t,o.onTriggerChange),onClick:y=>{a.onClick?.(y),!(a.disabled||y.defaultPrevented)&&(y.currentTarget.focus(),r.open||r.onOpenChange(!0))},onPointerMove:Me(a.onPointerMove,Su(y=>{l.onItemEnter(y),!y.defaultPrevented&&!a.disabled&&!r.open&&!d.current&&(l.onPointerGraceIntentChange(null),d.current=window.setTimeout(()=>{r.onOpenChange(!0),x()},100))})),onPointerLeave:Me(a.onPointerLeave,Su(y=>{x();const N=r.content?.getBoundingClientRect();if(N){const S=r.content?.dataset.side,j=S==="right",w=j?-5:5,_=N[j?"left":"right"],D=N[j?"right":"left"];l.onPointerGraceIntentChange({area:[{x:y.clientX+w,y:y.clientY},{x:_,y:N.top},{x:D,y:N.top},{x:D,y:N.bottom},{x:_,y:N.bottom}],side:S}),window.clearTimeout(f.current),f.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(y),y.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:Me(a.onKeyDown,y=>{const N=l.searchRef.current!=="";a.disabled||N&&y.key===" "||cR[n.dir].includes(y.key)&&(r.onOpenChange(!0),r.content?.focus(),y.preventDefault())})})})});dj.displayName=Xl;var fj="MenuSubContent",pj=v.forwardRef((a,t)=>{const r=K_(ln,a.__scopeMenu),{forceMount:n=r.forceMount,...o}=a,l=vo(ln,a.__scopeMenu),d=ku(ln,a.__scopeMenu),f=uj(fj,a.__scopeMenu),h=v.useRef(null),m=Ns(t,h);return c.jsx(Nu.Provider,{scope:a.__scopeMenu,children:c.jsx(Rr,{present:n||l.open,children:c.jsx(Nu.Slot,{scope:a.__scopeMenu,children:c.jsx(A0,{id:f.contentId,"aria-labelledby":f.triggerId,...o,ref:m,align:"start",side:d.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:x=>{d.isUsingKeyboardRef.current&&h.current?.focus(),x.preventDefault()},onCloseAutoFocus:x=>x.preventDefault(),onFocusOutside:Me(a.onFocusOutside,x=>{x.target!==f.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:Me(a.onEscapeKeyDown,x=>{d.onClose(),x.preventDefault()}),onKeyDown:Me(a.onKeyDown,x=>{const y=x.currentTarget.contains(x.target),N=lR[d.dir].includes(x.key);y&&N&&(l.onOpenChange(!1),f.trigger?.focus(),x.preventDefault())})})})})})});pj.displayName=fj;function hj(a){return a?"open":"closed"}function ap(a){return a==="indeterminate"}function R0(a){return ap(a)?"indeterminate":a?"checked":"unchecked"}function AR(a){const t=document.activeElement;for(const r of a)if(r===t||(r.focus(),document.activeElement!==t))return}function DR(a,t){return a.map((r,n)=>a[(t+n)%a.length])}function MR(a,t,r){const o=t.length>1&&Array.from(t).every(m=>m===t[0])?t[0]:t,l=r?a.indexOf(r):-1;let d=DR(a,Math.max(l,0));o.length===1&&(d=d.filter(m=>m!==r));const h=d.find(m=>m.toLowerCase().startsWith(o.toLowerCase()));return h!==r?h:void 0}function RR(a,t){const{x:r,y:n}=a;let o=!1;for(let l=0,d=t.length-1;l<t.length;d=l++){const f=t[l],h=t[d],m=f.x,x=f.y,y=h.x,N=h.y;x>n!=N>n&&r<(y-m)*(n-x)/(N-x)+m&&(o=!o)}return o}function OR(a,t){if(!t)return!1;const r={x:a.clientX,y:a.clientY};return RR(r,t)}function Su(a){return t=>t.pointerType==="mouse"?a(t):void 0}var kR=Q_,PR=C0,zR=Z_,LR=W_,HR=D0,UR=J_,BR=Ap,YR=tj,qR=aj,GR=rj,IR=oj,VR=cj,$R=lj,FR=dj,XR=pj,Dp="DropdownMenu",[QR]=xo(Dp,[F_]),$s=F_(),[KR,mj]=QR(Dp),gj=a=>{const{__scopeDropdownMenu:t,children:r,dir:n,open:o,defaultOpen:l,onOpenChange:d,modal:f=!0}=a,h=$s(t),m=v.useRef(null),[x,y]=bp({prop:o,defaultProp:l??!1,onChange:d,caller:Dp});return c.jsx(KR,{scope:t,triggerId:ro(),triggerRef:m,contentId:ro(),open:x,onOpenChange:y,onOpenToggle:v.useCallback(()=>y(N=>!N),[y]),modal:f,children:c.jsx(kR,{...h,open:x,onOpenChange:y,dir:n,modal:f,children:r})})};gj.displayName=Dp;var xj="DropdownMenuTrigger",yj=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,disabled:n=!1,...o}=a,l=mj(xj,r),d=$s(r);return c.jsx(PR,{asChild:!0,...d,children:c.jsx(Tt.button,{type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":n?"":void 0,disabled:n,...o,ref:Si(t,l.triggerRef),onPointerDown:Me(a.onPointerDown,f=>{!n&&f.button===0&&f.ctrlKey===!1&&(l.onOpenToggle(),l.open||f.preventDefault())}),onKeyDown:Me(a.onKeyDown,f=>{n||(["Enter"," "].includes(f.key)&&l.onOpenToggle(),f.key==="ArrowDown"&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(f.key)&&f.preventDefault())})})})});yj.displayName=xj;var ZR="DropdownMenuPortal",vj=a=>{const{__scopeDropdownMenu:t,...r}=a,n=$s(t);return c.jsx(zR,{...n,...r})};vj.displayName=ZR;var bj="DropdownMenuContent",wj=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=mj(bj,r),l=$s(r),d=v.useRef(!1);return c.jsx(LR,{id:o.contentId,"aria-labelledby":o.triggerId,...l,...n,ref:t,onCloseAutoFocus:Me(a.onCloseAutoFocus,f=>{d.current||o.triggerRef.current?.focus(),d.current=!1,f.preventDefault()}),onInteractOutside:Me(a.onInteractOutside,f=>{const h=f.detail.originalEvent,m=h.button===0&&h.ctrlKey===!0,x=h.button===2||m;(!o.modal||x)&&(d.current=!0)}),style:{...a.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});wj.displayName=bj;var WR="DropdownMenuGroup",JR=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx(HR,{...o,...n,ref:t})});JR.displayName=WR;var eO="DropdownMenuLabel",tO=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx(UR,{...o,...n,ref:t})});tO.displayName=eO;var sO="DropdownMenuItem",Nj=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx(BR,{...o,...n,ref:t})});Nj.displayName=sO;var aO="DropdownMenuCheckboxItem",nO=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx(YR,{...o,...n,ref:t})});nO.displayName=aO;var rO="DropdownMenuRadioGroup",iO=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx(qR,{...o,...n,ref:t})});iO.displayName=rO;var oO="DropdownMenuRadioItem",cO=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx(GR,{...o,...n,ref:t})});cO.displayName=oO;var lO="DropdownMenuItemIndicator",uO=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx(IR,{...o,...n,ref:t})});uO.displayName=lO;var dO="DropdownMenuSeparator",fO=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx(VR,{...o,...n,ref:t})});fO.displayName=dO;var pO="DropdownMenuArrow",hO=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx($R,{...o,...n,ref:t})});hO.displayName=pO;var mO="DropdownMenuSubTrigger",gO=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx(FR,{...o,...n,ref:t})});gO.displayName=mO;var xO="DropdownMenuSubContent",yO=v.forwardRef((a,t)=>{const{__scopeDropdownMenu:r,...n}=a,o=$s(r);return c.jsx(XR,{...o,...n,ref:t,style:{...a.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});yO.displayName=xO;var vO=gj,bO=yj,wO=vj,NO=wj,SO=Nj;function Mp({...a}){return c.jsx(vO,{"code-path":"src/components/ui/dropdown-menu.tsx:10:10","data-slot":"dropdown-menu",...a})}function Rp({...a}){return c.jsx(bO,{"code-path":"src/components/ui/dropdown-menu.tsx:25:5","data-slot":"dropdown-menu-trigger",...a})}function Op({className:a,sideOffset:t=4,...r}){return c.jsx(wO,{"code-path":"src/components/ui/dropdown-menu.tsx:38:5",children:c.jsx(NO,{"code-path":"src/components/ui/dropdown-menu.tsx:39:7","data-slot":"dropdown-menu-content",sideOffset:t,className:cs("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-[8rem] origin-(--radix-dropdown-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border p-1 shadow-md",a),...r})})}function Nn({className:a,inset:t,variant:r="default",...n}){return c.jsx(SO,{"code-path":"src/components/ui/dropdown-menu.tsx:70:5","data-slot":"dropdown-menu-item","data-inset":t,"data-variant":r,className:cs("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",a),...n})}function _O(a){const t=jO(a),r=v.forwardRef((n,o)=>{const{children:l,...d}=n,f=v.Children.toArray(l),h=f.find(EO);if(h){const m=h.props.children,x=f.map(y=>y===h?v.Children.count(m)>1?v.Children.only(null):v.isValidElement(m)?m.props.children:null:y);return c.jsx(t,{...d,ref:o,children:v.isValidElement(m)?v.cloneElement(m,void 0,x):null})}return c.jsx(t,{...d,ref:o,children:l})});return r.displayName=`${a}.Slot`,r}function jO(a){const t=v.forwardRef((r,n)=>{const{children:o,...l}=r;if(v.isValidElement(o)){const d=AO(o),f=TO(l,o.props);return o.type!==v.Fragment&&(f.ref=n?Si(n,d):d),v.cloneElement(o,f)}return v.Children.count(o)>1?v.Children.only(null):null});return t.displayName=`${a}.SlotClone`,t}var CO=Symbol("radix.slottable");function EO(a){return v.isValidElement(a)&&typeof a.type=="function"&&"__radixId"in a.type&&a.type.__radixId===CO}function TO(a,t){const r={...t};for(const n in t){const o=a[n],l=t[n];/^on[A-Z]/.test(n)?o&&l?r[n]=(...f)=>{const h=l(...f);return o(...f),h}:o&&(r[n]=o):n==="style"?r[n]={...o,...l}:n==="className"&&(r[n]=[o,l].filter(Boolean).join(" "))}return{...a,...r}}function AO(a){let t=Object.getOwnPropertyDescriptor(a.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?a.ref:(t=Object.getOwnPropertyDescriptor(a,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?a.props.ref:a.props.ref||a.ref)}var kp="Dialog",[Sj]=xo(kp),[DO,jn]=Sj(kp),_j=a=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:o,onOpenChange:l,modal:d=!0}=a,f=v.useRef(null),h=v.useRef(null),[m,x]=bp({prop:n,defaultProp:o??!1,onChange:l,caller:kp});return c.jsx(DO,{scope:t,triggerRef:f,contentRef:h,contentId:ro(),titleId:ro(),descriptionId:ro(),open:m,onOpenChange:x,onOpenToggle:v.useCallback(()=>x(y=>!y),[x]),modal:d,children:r})};_j.displayName=kp;var jj="DialogTrigger",MO=v.forwardRef((a,t)=>{const{__scopeDialog:r,...n}=a,o=jn(jj,r),l=Ns(t,o.triggerRef);return c.jsx(Tt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":P0(o.open),...n,ref:l,onClick:Me(a.onClick,o.onOpenToggle)})});MO.displayName=jj;var O0="DialogPortal",[RO,Cj]=Sj(O0,{forceMount:void 0}),Ej=a=>{const{__scopeDialog:t,forceMount:r,children:n,container:o}=a,l=jn(O0,t);return c.jsx(RO,{scope:t,forceMount:r,children:v.Children.map(n,d=>c.jsx(Rr,{present:r||l.open,children:c.jsx(_0,{asChild:!0,container:o,children:d})}))})};Ej.displayName=O0;var np="DialogOverlay",Tj=v.forwardRef((a,t)=>{const r=Cj(np,a.__scopeDialog),{forceMount:n=r.forceMount,...o}=a,l=jn(np,a.__scopeDialog);return l.modal?c.jsx(Rr,{present:n||l.open,children:c.jsx(kO,{...o,ref:t})}):null});Tj.displayName=np;var OO=_O("DialogOverlay.RemoveScroll"),kO=v.forwardRef((a,t)=>{const{__scopeDialog:r,...n}=a,o=jn(np,r);return c.jsx(j0,{as:OO,allowPinchZoom:!0,shards:[o.contentRef],children:c.jsx(Tt.div,{"data-state":P0(o.open),...n,ref:t,style:{pointerEvents:"auto",...n.style}})})}),fo="DialogContent",Aj=v.forwardRef((a,t)=>{const r=Cj(fo,a.__scopeDialog),{forceMount:n=r.forceMount,...o}=a,l=jn(fo,a.__scopeDialog);return c.jsx(Rr,{present:n||l.open,children:l.modal?c.jsx(PO,{...o,ref:t}):c.jsx(zO,{...o,ref:t})})});Aj.displayName=fo;var PO=v.forwardRef((a,t)=>{const r=jn(fo,a.__scopeDialog),n=v.useRef(null),o=Ns(t,r.contentRef,n);return v.useEffect(()=>{const l=n.current;if(l)return H_(l)},[]),c.jsx(Dj,{...a,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Me(a.onCloseAutoFocus,l=>{l.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:Me(a.onPointerDownOutside,l=>{const d=l.detail.originalEvent,f=d.button===0&&d.ctrlKey===!0;(d.button===2||f)&&l.preventDefault()}),onFocusOutside:Me(a.onFocusOutside,l=>l.preventDefault())})}),zO=v.forwardRef((a,t)=>{const r=jn(fo,a.__scopeDialog),n=v.useRef(!1),o=v.useRef(!1);return c.jsx(Dj,{...a,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:l=>{a.onCloseAutoFocus?.(l),l.defaultPrevented||(n.current||r.triggerRef.current?.focus(),l.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:l=>{a.onInteractOutside?.(l),l.defaultPrevented||(n.current=!0,l.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const d=l.target;r.triggerRef.current?.contains(d)&&l.preventDefault(),l.detail.originalEvent.type==="focusin"&&o.current&&l.preventDefault()}})}),Dj=v.forwardRef((a,t)=>{const{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:o,onCloseAutoFocus:l,...d}=a,f=jn(fo,r),h=v.useRef(null),m=Ns(t,h);return p_(),c.jsxs(c.Fragment,{children:[c.jsx(m0,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:o,onUnmountAutoFocus:l,children:c.jsx(h0,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":P0(f.open),...d,ref:m,onDismiss:()=>f.onOpenChange(!1)})}),c.jsxs(c.Fragment,{children:[c.jsx(LO,{titleId:f.titleId}),c.jsx(UO,{contentRef:h,descriptionId:f.descriptionId})]})]})}),k0="DialogTitle",Mj=v.forwardRef((a,t)=>{const{__scopeDialog:r,...n}=a,o=jn(k0,r);return c.jsx(Tt.h2,{id:o.titleId,...n,ref:t})});Mj.displayName=k0;var Rj="DialogDescription",Oj=v.forwardRef((a,t)=>{const{__scopeDialog:r,...n}=a,o=jn(Rj,r);return c.jsx(Tt.p,{id:o.descriptionId,...n,ref:t})});Oj.displayName=Rj;var kj="DialogClose",Pj=v.forwardRef((a,t)=>{const{__scopeDialog:r,...n}=a,o=jn(kj,r);return c.jsx(Tt.button,{type:"button",...n,ref:t,onClick:Me(a.onClick,()=>o.onOpenChange(!1))})});Pj.displayName=kj;function P0(a){return a?"open":"closed"}var zj="DialogTitleWarning",[yk,Lj]=j7(zj,{contentName:fo,titleName:k0,docsSlug:"dialog"}),LO=({titleId:a})=>{const t=Lj(zj),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.

If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.

For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return v.useEffect(()=>{a&&(document.getElementById(a)||console.error(r))},[r,a]),null},HO="DialogDescriptionWarning",UO=({contentRef:a,descriptionId:t})=>{const n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Lj(HO).contentName}}.`;return v.useEffect(()=>{const o=a.current?.getAttribute("aria-describedby");t&&o&&(document.getElementById(t)||console.warn(n))},[n,a,t]),null},BO=_j,YO=Ej,qO=Tj,GO=Aj,IO=Mj,VO=Oj,$O=Pj;function FO({...a}){return c.jsx(BO,{"code-path":"src/components/ui/dialog.tsx:10:10","data-slot":"dialog",...a})}function XO({...a}){return c.jsx(YO,{"code-path":"src/components/ui/dialog.tsx:22:10","data-slot":"dialog-portal",...a})}function QO({className:a,...t}){return c.jsx(qO,{"code-path":"src/components/ui/dialog.tsx:36:5","data-slot":"dialog-overlay",className:cs("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",a),...t})}function KO({className:a,children:t,showCloseButton:r=!0,...n}){return c.jsxs(XO,{"code-path":"src/components/ui/dialog.tsx:56:5","data-slot":"dialog-portal",children:[c.jsx(QO,{"code-path":"src/components/ui/dialog.tsx:57:7"}),c.jsxs(GO,{"code-path":"src/components/ui/dialog.tsx:58:7","data-slot":"dialog-content",className:cs("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",a),...n,children:[t,r&&c.jsxs($O,{"code-path":"src/components/ui/dialog.tsx:68:11","data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[c.jsx(zx,{"code-path":"src/components/ui/dialog.tsx:72:13"}),c.jsx("span",{"code-path":"src/components/ui/dialog.tsx:73:13",className:"sr-only",children:"Close"})]})]})]})}function ZO({className:a,...t}){return c.jsx("div",{"code-path":"src/components/ui/dialog.tsx:83:5","data-slot":"dialog-header",className:cs("flex flex-col gap-2 text-center sm:text-left",a),...t})}function WO({className:a,...t}){return c.jsx("div",{"code-path":"src/components/ui/dialog.tsx:93:5","data-slot":"dialog-footer",className:cs("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",a),...t})}function JO({className:a,...t}){return c.jsx(IO,{"code-path":"src/components/ui/dialog.tsx:109:5","data-slot":"dialog-title",className:cs("text-lg leading-none font-semibold",a),...t})}function ek({className:a,...t}){return c.jsx(VO,{"code-path":"src/components/ui/dialog.tsx:122:5","data-slot":"dialog-description",className:cs("text-muted-foreground text-sm",a),...t})}const tk={column:ws,"column-free":ca,consumables:Fn,device:Ww},sk={column:"有柱分选","column-free":"无柱分选",consumables:"配套试剂耗材",device:"设备仪器"},ak={active:{label:"上架",className:"bg-green-50 text-green-600"},inactive:{label:"下架",className:"bg-gray-50 text-gray-600"},outOfStock:{label:"缺货",className:"bg-red-50 text-red-600"}};function nk(){const{products:a,isLoading:t,refresh:r,remove:n}=vp(),[o,l]=v.useState(""),[d,f]=v.useState("all"),[h,m]=v.useState(!1),[x,y]=v.useState(null),N=a.filter(w=>{const _=d==="all"||w.category===d,D=o===""||w.name.toLowerCase().includes(o.toLowerCase())||w.model.toLowerCase().includes(o.toLowerCase());return _&&D}),S=w=>{y(w),m(!0)},j=()=>{x&&(n(x),m(!1),y(null))};return t?c.jsx("div",{"code-path":"src/pages/admin/Products.tsx:88:7",className:"flex items-center justify-center h-64",children:c.jsx(jr,{"code-path":"src/pages/admin/Products.tsx:89:9",className:"w-8 h-8 text-[#0064ff] animate-spin"})}):c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:95:5",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:97:7",className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:98:9",children:[c.jsx("h1",{"code-path":"src/pages/admin/Products.tsx:99:11",className:"text-2xl font-bold text-gray-900",children:"产品管理"}),c.jsxs("p",{"code-path":"src/pages/admin/Products.tsx:100:11",className:"text-gray-500 mt-1",children:["管理您的产品目录（共 ",a.length," 个产品）"]})]}),c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:102:9",className:"flex gap-2",children:[c.jsxs($e,{"code-path":"src/pages/admin/Products.tsx:103:11",variant:"outline",onClick:r,className:"gap-2",children:[c.jsx(jr,{"code-path":"src/pages/admin/Products.tsx:108:13",className:"w-4 h-4"}),"刷新数据"]}),c.jsx(fe,{"code-path":"src/pages/admin/Products.tsx:111:11",to:"/admin/products/new",children:c.jsxs($e,{"code-path":"src/pages/admin/Products.tsx:112:13",className:"btn-primary gap-2",children:[c.jsx(zn,{"code-path":"src/pages/admin/Products.tsx:113:15",className:"w-5 h-5"}),"添加产品"]})})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:121:7",className:"flex flex-col sm:flex-row gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:122:9",className:"relative flex-1",children:[c.jsx(Oa,{"code-path":"src/pages/admin/Products.tsx:123:11",className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),c.jsx(De,{"code-path":"src/pages/admin/Products.tsx:124:11",type:"text",placeholder:"搜索产品...",value:o,onChange:w=>l(w.target.value),className:"pl-10"})]}),c.jsxs("select",{"code-path":"src/pages/admin/Products.tsx:132:9",value:d,onChange:w=>f(w.target.value),className:"px-4 py-2 border border-gray-200 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-[#0064ff]",children:[c.jsx("option",{"code-path":"src/pages/admin/Products.tsx:137:11",value:"all",children:"全部分类"}),c.jsx("option",{"code-path":"src/pages/admin/Products.tsx:138:11",value:"column-free",children:"无柱分选"}),c.jsx("option",{"code-path":"src/pages/admin/Products.tsx:139:11",value:"column",children:"有柱分选"}),c.jsx("option",{"code-path":"src/pages/admin/Products.tsx:140:11",value:"consumables",children:"配套试剂耗材"}),c.jsx("option",{"code-path":"src/pages/admin/Products.tsx:141:11",value:"device",children:"设备仪器"})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:146:7",className:"bg-white rounded-xl shadow-sm overflow-hidden",children:[c.jsx("div",{"code-path":"src/pages/admin/Products.tsx:147:9",className:"overflow-x-auto",children:c.jsxs("table",{"code-path":"src/pages/admin/Products.tsx:148:11",className:"w-full",children:[c.jsx("thead",{"code-path":"src/pages/admin/Products.tsx:149:13",className:"bg-gray-50",children:c.jsxs("tr",{"code-path":"src/pages/admin/Products.tsx:150:15",className:"text-left text-sm text-gray-500",children:[c.jsx("th",{"code-path":"src/pages/admin/Products.tsx:151:17",className:"px-6 py-4 font-medium",children:"产品图片"}),c.jsx("th",{"code-path":"src/pages/admin/Products.tsx:152:17",className:"px-6 py-4 font-medium",children:"产品信息"}),c.jsx("th",{"code-path":"src/pages/admin/Products.tsx:153:17",className:"px-6 py-4 font-medium",children:"货号"}),c.jsx("th",{"code-path":"src/pages/admin/Products.tsx:154:17",className:"px-6 py-4 font-medium",children:"分类"}),c.jsx("th",{"code-path":"src/pages/admin/Products.tsx:155:17",className:"px-6 py-4 font-medium",children:"状态"}),c.jsx("th",{"code-path":"src/pages/admin/Products.tsx:156:17",className:"px-6 py-4 font-medium",children:"价格"}),c.jsx("th",{"code-path":"src/pages/admin/Products.tsx:157:17",className:"px-6 py-4 font-medium text-right",children:"操作"})]})}),c.jsx("tbody",{"code-path":"src/pages/admin/Products.tsx:160:13",className:"divide-y divide-gray-100",children:N.map(w=>{const _=tk[w.category]||ws,D=ak[w.status||"active"],M=w.pricing?.[0];return c.jsxs("tr",{"code-path":"src/pages/admin/Products.tsx:167:19",className:"hover:bg-gray-50",children:[c.jsx("td",{"code-path":"src/pages/admin/Products.tsx:168:21",className:"px-6 py-4",children:c.jsx("div",{"code-path":"src/pages/admin/Products.tsx:169:23",className:"w-16 h-16 bg-gray-100 rounded-lg overflow-hidden",children:w.images&&w.images.length>0?c.jsx("img",{"code-path":"src/pages/admin/Products.tsx:171:27",src:w.images[0],alt:w.name,className:"w-full h-full object-cover"}):c.jsx("div",{"code-path":"src/pages/admin/Products.tsx:177:27",className:"w-full h-full flex items-center justify-center",children:c.jsx(_,{"code-path":"src/pages/admin/Products.tsx:178:29",className:"w-6 h-6 text-gray-400"})})})}),c.jsx("td",{"code-path":"src/pages/admin/Products.tsx:183:21",className:"px-6 py-4",children:c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:184:23",children:[c.jsx("p",{"code-path":"src/pages/admin/Products.tsx:185:25",className:"font-medium text-gray-900",children:w.name}),c.jsx("p",{"code-path":"src/pages/admin/Products.tsx:186:25",className:"text-sm text-gray-500 line-clamp-1",children:w.shortDescription}),w.featured&&c.jsx("span",{"code-path":"src/pages/admin/Products.tsx:188:27",className:"inline-block mt-1 px-2 py-0.5 bg-yellow-50 text-yellow-600 rounded text-xs",children:"推荐"})]})}),c.jsx("td",{"code-path":"src/pages/admin/Products.tsx:194:21",className:"px-6 py-4 text-gray-600 font-mono",children:w.model}),c.jsx("td",{"code-path":"src/pages/admin/Products.tsx:195:21",className:"px-6 py-4",children:c.jsx("span",{"code-path":"src/pages/admin/Products.tsx:196:23",className:"px-2 py-1 bg-blue-50 text-blue-600 rounded text-xs",children:sk[w.category]})}),c.jsx("td",{"code-path":"src/pages/admin/Products.tsx:200:21",className:"px-6 py-4",children:c.jsx("span",{"code-path":"src/pages/admin/Products.tsx:201:23",className:`px-2 py-1 rounded text-xs ${D.className}`,children:D.label})}),c.jsx("td",{"code-path":"src/pages/admin/Products.tsx:205:21",className:"px-6 py-4",children:M?c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:207:25",children:[c.jsxs("p",{"code-path":"src/pages/admin/Products.tsx:208:27",className:"font-medium text-gray-900",children:["¥",M.price.toLocaleString()]}),c.jsx("p",{"code-path":"src/pages/admin/Products.tsx:211:27",className:"text-xs text-gray-500",children:M.spec}),w.pricing&&w.pricing.length>1&&c.jsxs("p",{"code-path":"src/pages/admin/Products.tsx:213:29",className:"text-xs text-gray-400",children:["等",w.pricing.length,"种规格"]})]}):c.jsx("span",{"code-path":"src/pages/admin/Products.tsx:219:25",className:"text-gray-400",children:"-"})}),c.jsx("td",{"code-path":"src/pages/admin/Products.tsx:222:21",className:"px-6 py-4 text-right",children:c.jsxs(Mp,{"code-path":"src/pages/admin/Products.tsx:223:23",children:[c.jsx(Rp,{"code-path":"src/pages/admin/Products.tsx:224:25",asChild:!0,children:c.jsx("button",{"code-path":"src/pages/admin/Products.tsx:225:27",className:"p-2 hover:bg-gray-100 rounded-lg",children:c.jsx(dp,{"code-path":"src/pages/admin/Products.tsx:226:29",className:"w-5 h-5 text-gray-400"})})}),c.jsxs(Op,{"code-path":"src/pages/admin/Products.tsx:229:25",align:"end",children:[c.jsx(Nn,{"code-path":"src/pages/admin/Products.tsx:230:27",asChild:!0,children:c.jsxs(fe,{"code-path":"src/pages/admin/Products.tsx:231:29",to:`/products/${w.id}`,target:"_blank",children:[c.jsx(ho,{"code-path":"src/pages/admin/Products.tsx:232:31",className:"w-4 h-4 mr-2"}),"查看"]})}),c.jsx(Nn,{"code-path":"src/pages/admin/Products.tsx:236:27",asChild:!0,children:c.jsxs(fe,{"code-path":"src/pages/admin/Products.tsx:237:29",to:`/admin/products/edit/${w.id}`,children:[c.jsx(Px,{"code-path":"src/pages/admin/Products.tsx:238:31",className:"w-4 h-4 mr-2"}),"编辑"]})}),c.jsxs(Nn,{"code-path":"src/pages/admin/Products.tsx:242:27",className:"text-red-600",onClick:()=>S(w.id),children:[c.jsx(vn,{"code-path":"src/pages/admin/Products.tsx:246:29",className:"w-4 h-4 mr-2"}),"删除"]})]})]})})]},w.id)})})]})}),N.length===0&&c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:260:11",className:"text-center py-12",children:[c.jsx("div",{"code-path":"src/pages/admin/Products.tsx:261:13",className:"w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-4",children:c.jsx(Oa,{"code-path":"src/pages/admin/Products.tsx:262:15",className:"w-8 h-8 text-gray-400"})}),c.jsx("p",{"code-path":"src/pages/admin/Products.tsx:264:13",className:"text-gray-500",children:"未找到产品"})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:270:7",className:"flex items-center justify-between",children:[c.jsxs("p",{"code-path":"src/pages/admin/Products.tsx:271:9",className:"text-sm text-gray-500",children:["显示 ",N.length," / ",a.length," 个产品"]}),c.jsxs("div",{"code-path":"src/pages/admin/Products.tsx:274:9",className:"flex gap-2",children:[c.jsx("button",{"code-path":"src/pages/admin/Products.tsx:275:11",className:"px-4 py-2 border border-gray-200 rounded-lg text-sm text-gray-600 hover:bg-gray-50 disabled:opacity-50",disabled:!0,children:"上一页"}),c.jsx("button",{"code-path":"src/pages/admin/Products.tsx:278:11",className:"px-4 py-2 border border-gray-200 rounded-lg text-sm text-gray-600 hover:bg-gray-50 disabled:opacity-50",disabled:!0,children:"下一页"})]})]}),c.jsx(FO,{"code-path":"src/pages/admin/Products.tsx:285:7",open:h,onOpenChange:m,children:c.jsxs(KO,{"code-path":"src/pages/admin/Products.tsx:286:9",children:[c.jsxs(ZO,{"code-path":"src/pages/admin/Products.tsx:287:11",children:[c.jsxs(JO,{"code-path":"src/pages/admin/Products.tsx:288:13",className:"flex items-center gap-2",children:[c.jsx($w,{"code-path":"src/pages/admin/Products.tsx:289:15",className:"w-5 h-5 text-red-500"}),"确认删除"]}),c.jsx(ek,{"code-path":"src/pages/admin/Products.tsx:292:13",children:"此操作不可撤销。确定要删除这个产品吗？"})]}),c.jsxs(WO,{"code-path":"src/pages/admin/Products.tsx:296:11",children:[c.jsx($e,{"code-path":"src/pages/admin/Products.tsx:297:13",variant:"outline",onClick:()=>m(!1),children:"取消"}),c.jsx($e,{"code-path":"src/pages/admin/Products.tsx:300:13",variant:"destructive",onClick:j,children:"删除"})]})]})})]})}const xf={title:"",description:"",keywords:"",slug:"",ogImage:""},st={introduction:"",features:[],principle:"",components:[],techParameters:[],applicationScenarios:[],workflow:[],precautions:[],orderingInfo:{catalogNumber:"",productName:"",specs:[]}},gw={Target:sN,Clock:Tu,Heart:Xw,Activity:xE,Zap:iN,Package:Fn,Magnet:E6,Beaker:ws,Microscope:un,FlaskConical:ca,Shield:Au,User:pp,Settings:tN,Monitor:Ww,Box:jE,Grid:f6,Award:Vw,Droplets:QE,Dna:qE,Droplet:FE,FileCheck:a6,Search:Oa,Syringe:W6,Circle:UE,PlusCircle:LE,MinusCircle:PE};function xw(){const{id:a}=cp(),t=zc(),r=a==="new",n=v.useRef(null),{product:o,isLoading:l}=VS(r?void 0:a),[d,f]=v.useState({id:"",name:"",model:"",category:"column-free",description:"",shortDescription:"",images:[],specifications:[],applications:[],downloads:[],featured:!1,status:"active",pricing:[],seo:{...xf},detailInfo:{...st}});v.useEffect(()=>{if(o)f({...o,seo:o.seo||{...xf},detailInfo:o.detailInfo||{...st}});else if(r){const T="CS-"+String(Date.now()).slice(-6);f(R=>({...R,id:T,model:T,detailInfo:{...st,orderingInfo:{...st.orderingInfo,catalogNumber:T}}}))}},[o,r]);const h=T=>{const R=T.target.files?.[0];if(R){const E=new FileReader;E.onloadend=()=>{const A=E.result;f(G=>({...G,images:[...G.images||[],A]}))},E.readAsDataURL(R)}},m=T=>{f(R=>({...R,images:R.images?.filter((E,A)=>A!==T)||[]}))},x=()=>{const T=go(),R=new Date,E={...d,id:d.id||"",name:d.name||"",model:d.model||"",category:d.category||"column-free",description:d.description||"",shortDescription:d.shortDescription||"",images:d.images||[],specifications:d.specifications||[],applications:d.applications||[],downloads:d.downloads||[],featured:d.featured||!1,status:d.status||"active",pricing:d.pricing||[],seo:d.seo||{...xf},detailInfo:d.detailInfo||{...st},createdAt:r?R:o?.createdAt||R,updatedAt:R};if(r)T.push(E);else{const A=T.findIndex(G=>G.id===a);A!==-1&&(T[A]=E)}Yc(T),t("/admin/products")},y=(T,R)=>{f(E=>({...E,detailInfo:{...E.detailInfo||st,[T]:R}}))},N=()=>{const T={title:"",description:"",icon:"Target"};f(R=>({...R,detailInfo:{...R.detailInfo||st,features:[...R.detailInfo?.features||[],T]}}))},S=(T,R,E)=>{f(A=>{const G=[...A.detailInfo?.features||[]];return G[T]={...G[T],[R]:E},{...A,detailInfo:{...A.detailInfo||st,features:G}}})},j=T=>{f(R=>({...R,detailInfo:{...R.detailInfo||st,features:R.detailInfo?.features?.filter((E,A)=>A!==T)||[]}}))},w=()=>{const T={name:"",spec10:"",spec50:"",storage:""};f(R=>({...R,detailInfo:{...R.detailInfo||st,components:[...R.detailInfo?.components||[],T]}}))},_=(T,R,E)=>{f(A=>{const G=[...A.detailInfo?.components||[]];return G[T]={...G[T],[R]:E},{...A,detailInfo:{...A.detailInfo||st,components:G}}})},D=T=>{f(R=>({...R,detailInfo:{...R.detailInfo||st,components:R.detailInfo?.components?.filter((E,A)=>A!==T)||[]}}))},M=()=>{const T={title:"",description:"",icon:"Microscope"};f(R=>({...R,detailInfo:{...R.detailInfo||st,applicationScenarios:[...R.detailInfo?.applicationScenarios||[],T]}}))},O=(T,R,E)=>{f(A=>{const G=[...A.detailInfo?.applicationScenarios||[]];return G[T]={...G[T],[R]:E},{...A,detailInfo:{...A.detailInfo||st,applicationScenarios:G}}})},k=T=>{f(R=>({...R,detailInfo:{...R.detailInfo||st,applicationScenarios:R.detailInfo?.applicationScenarios?.filter((E,A)=>A!==T)||[]}}))},L=()=>{const T={step:(d.detailInfo?.workflow?.length||0)+1,title:"",description:"",duration:""};f(R=>({...R,detailInfo:{...R.detailInfo||st,workflow:[...R.detailInfo?.workflow||[],T]}}))},Y=(T,R,E)=>{f(A=>{const G=[...A.detailInfo?.workflow||[]];return G[T]={...G[T],[R]:E},{...A,detailInfo:{...A.detailInfo||st,workflow:G}}})},P=T=>{f(R=>({...R,detailInfo:{...R.detailInfo||st,workflow:R.detailInfo?.workflow?.filter((E,A)=>A!==T).map((E,A)=>({...E,step:A+1}))||[]}}))},B=()=>{f(T=>({...T,detailInfo:{...T.detailInfo||st,precautions:[...T.detailInfo?.precautions||[],""]}}))},V=(T,R)=>{f(E=>{const A=[...E.detailInfo?.precautions||[]];return A[T]=R,{...E,detailInfo:{...E.detailInfo||st,precautions:A}}})},K=T=>{f(R=>({...R,detailInfo:{...R.detailInfo||st,precautions:R.detailInfo?.precautions?.filter((E,A)=>A!==T)||[]}}))},re=()=>{const T={size:"",price:0,currency:"CNY"};f(R=>({...R,detailInfo:{...R.detailInfo||st,orderingInfo:{...R.detailInfo?.orderingInfo||st.orderingInfo,specs:[...R.detailInfo?.orderingInfo?.specs||[],T]}}}))},J=(T,R,E)=>{f(A=>{const G=[...A.detailInfo?.orderingInfo?.specs||[]];return G[T]={...G[T],[R]:E},{...A,detailInfo:{...A.detailInfo||st,orderingInfo:{...A.detailInfo?.orderingInfo||st.orderingInfo,specs:G}}}})},ce=T=>{f(R=>({...R,detailInfo:{...R.detailInfo||st,orderingInfo:{...R.detailInfo?.orderingInfo||st.orderingInfo,specs:R.detailInfo?.orderingInfo?.specs?.filter((E,A)=>A!==T)||[]}}}))},oe=()=>{f(T=>({...T,pricing:[...T.pricing||[],{spec:"",price:0,currency:"CNY",stock:0}]}))},ie=(T,R,E)=>{f(A=>{const G=[...A.pricing||[]];return G[T]={...G[T],[R]:E},{...A,pricing:G}})},U=T=>{f(R=>({...R,pricing:R.pricing?.filter((E,A)=>A!==T)||[]}))},F=(T,R)=>{f(E=>({...E,seo:{...E.seo||xf,[T]:R}}))};return l?c.jsx("div",{"code-path":"src/pages/admin/ProductEdit.tsx:443:7",className:"flex items-center justify-center h-64",children:c.jsx("div",{"code-path":"src/pages/admin/ProductEdit.tsx:444:9",className:"animate-spin rounded-full h-8 w-8 border-b-2 border-[#0064ff]"})}):c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:450:5",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:452:7",className:"flex items-center justify-between",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:453:9",className:"flex items-center gap-4",children:[c.jsx(fe,{"code-path":"src/pages/admin/ProductEdit.tsx:454:11",to:"/admin/products",children:c.jsx($e,{"code-path":"src/pages/admin/ProductEdit.tsx:455:13",variant:"outline",size:"icon",children:c.jsx(up,{"code-path":"src/pages/admin/ProductEdit.tsx:456:15",className:"w-4 h-4"})})}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:459:11",children:[c.jsx("h1",{"code-path":"src/pages/admin/ProductEdit.tsx:460:13",className:"text-2xl font-bold text-gray-900",children:r?"添加产品":"编辑产品"}),c.jsx("p",{"code-path":"src/pages/admin/ProductEdit.tsx:463:13",className:"text-gray-500 text-sm",children:r?"创建新的细胞分选产品":`编辑产品: ${d.name}`})]})]}),c.jsxs($e,{"code-path":"src/pages/admin/ProductEdit.tsx:468:9",onClick:x,className:"bg-[#0064ff] hover:bg-blue-700 gap-2",children:[c.jsx(eN,{"code-path":"src/pages/admin/ProductEdit.tsx:469:11",className:"w-4 h-4"}),"保存"]})]}),c.jsxs(f0,{"code-path":"src/pages/admin/ProductEdit.tsx:474:7",defaultValue:"basic",children:[c.jsxs(p0,{"code-path":"src/pages/admin/ProductEdit.tsx:475:9",className:"w-full justify-start flex-wrap h-auto gap-2",children:[c.jsx(sa,{"code-path":"src/pages/admin/ProductEdit.tsx:476:11",value:"basic",children:"基本信息"}),c.jsx(sa,{"code-path":"src/pages/admin/ProductEdit.tsx:477:11",value:"images",children:"产品图片"}),c.jsx(sa,{"code-path":"src/pages/admin/ProductEdit.tsx:478:11",value:"detailInfo",children:"产品详情"}),c.jsx(sa,{"code-path":"src/pages/admin/ProductEdit.tsx:479:11",value:"features",children:"产品特点"}),c.jsx(sa,{"code-path":"src/pages/admin/ProductEdit.tsx:480:11",value:"components",children:"产品组分"}),c.jsx(sa,{"code-path":"src/pages/admin/ProductEdit.tsx:481:11",value:"workflow",children:"使用流程"}),c.jsx(sa,{"code-path":"src/pages/admin/ProductEdit.tsx:482:11",value:"pricing",children:"价格库存"}),c.jsx(sa,{"code-path":"src/pages/admin/ProductEdit.tsx:483:11",value:"seo",children:"SEO设置"})]}),c.jsx(aa,{"code-path":"src/pages/admin/ProductEdit.tsx:487:9",value:"basic",className:"space-y-6",children:c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:488:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:489:13",className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[c.jsx(Fn,{"code-path":"src/pages/admin/ProductEdit.tsx:490:15",className:"w-5 h-5 text-[#0064ff]"}),"基本信息"]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:493:13",className:"grid grid-cols-2 gap-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:494:15",className:"col-span-2",children:[c.jsxs("label",{"code-path":"src/pages/admin/ProductEdit.tsx:495:17",className:"block text-sm font-medium text-gray-700 mb-2",children:["产品名称 ",c.jsx("span",{"code-path":"src/pages/admin/ProductEdit.tsx:496:24",className:"text-red-500",children:"*"})]}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:498:17",value:d.name,onChange:T=>f({...d,name:T.target.value}),placeholder:"输入产品名称"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:505:15",children:[c.jsxs("label",{"code-path":"src/pages/admin/ProductEdit.tsx:506:17",className:"block text-sm font-medium text-gray-700 mb-2",children:["货号 ",c.jsx("span",{"code-path":"src/pages/admin/ProductEdit.tsx:507:22",className:"text-red-500",children:"*"})]}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:509:17",value:d.model,onChange:T=>f({...d,model:T.target.value}),placeholder:"输入货号"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:516:15",children:[c.jsxs("label",{"code-path":"src/pages/admin/ProductEdit.tsx:517:17",className:"block text-sm font-medium text-gray-700 mb-2",children:["产品分类 ",c.jsx("span",{"code-path":"src/pages/admin/ProductEdit.tsx:518:24",className:"text-red-500",children:"*"})]}),c.jsxs("select",{"code-path":"src/pages/admin/ProductEdit.tsx:520:17",value:d.category,onChange:T=>f({...d,category:T.target.value}),className:"w-full px-3 py-2 border border-gray-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-[#0064ff]",children:[c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:525:19",value:"column-free",children:"无柱分选"}),c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:526:19",value:"column",children:"有柱分选"}),c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:527:19",value:"consumables",children:"配套试剂耗材"}),c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:528:19",value:"device",children:"设备仪器"})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:532:15",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:533:17",className:"block text-sm font-medium text-gray-700 mb-2",children:"产品状态"}),c.jsxs("select",{"code-path":"src/pages/admin/ProductEdit.tsx:536:17",value:d.status,onChange:T=>f({...d,status:T.target.value}),className:"w-full px-3 py-2 border border-gray-200 rounded-lg focus:outline-none focus:ring-2 focus:ring-[#0064ff]",children:[c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:541:19",value:"active",children:"上架"}),c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:542:19",value:"inactive",children:"下架"}),c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:543:19",value:"outOfStock",children:"缺货"})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:547:15",className:"col-span-2",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:548:17",className:"block text-sm font-medium text-gray-700 mb-2",children:"简短描述"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:551:17",value:d.shortDescription,onChange:T=>f({...d,shortDescription:T.target.value}),placeholder:"输入简短描述（显示在产品卡片上）"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:558:15",className:"col-span-2",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:559:17",className:"block text-sm font-medium text-gray-700 mb-2",children:"详细描述"}),c.jsx(hc,{"code-path":"src/pages/admin/ProductEdit.tsx:562:17",value:d.description,onChange:T=>f({...d,description:T.target.value}),rows:4,placeholder:"输入产品详细描述"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:570:15",className:"col-span-2",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:571:17",className:"block text-sm font-medium text-gray-700 mb-2",children:"产品简介（详情页展示）"}),c.jsx(hc,{"code-path":"src/pages/admin/ProductEdit.tsx:574:17",value:d.detailInfo?.introduction||"",onChange:T=>y("introduction",T.target.value),rows:4,placeholder:"输入产品简介，用于产品详情页展示"})]}),c.jsx("div",{"code-path":"src/pages/admin/ProductEdit.tsx:582:15",className:"col-span-2",children:c.jsxs("label",{"code-path":"src/pages/admin/ProductEdit.tsx:583:17",className:"flex items-center gap-2",children:[c.jsx("input",{"code-path":"src/pages/admin/ProductEdit.tsx:584:19",type:"checkbox",checked:d.featured,onChange:T=>f({...d,featured:T.target.checked}),className:"rounded border-gray-300"}),c.jsx("span",{"code-path":"src/pages/admin/ProductEdit.tsx:590:19",className:"text-sm text-gray-700",children:"设为推荐产品"})]})})]})]})}),c.jsx(aa,{"code-path":"src/pages/admin/ProductEdit.tsx:598:9",value:"images",className:"space-y-6",children:c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:599:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:600:13",className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[c.jsx(kx,{"code-path":"src/pages/admin/ProductEdit.tsx:601:15",className:"w-5 h-5 text-[#0064ff]"}),"产品图片"]}),c.jsx("input",{"code-path":"src/pages/admin/ProductEdit.tsx:605:13",type:"file",ref:n,onChange:h,accept:"image/*",className:"hidden"}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:613:13",className:"grid grid-cols-4 gap-4",children:[d.images?.map((T,R)=>c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:615:17",className:"relative aspect-square bg-gray-100 rounded-lg overflow-hidden group",children:[c.jsx("img",{"code-path":"src/pages/admin/ProductEdit.tsx:616:19",src:T,alt:`产品图片 ${R+1}`,className:"w-full h-full object-cover"}),c.jsx("button",{"code-path":"src/pages/admin/ProductEdit.tsx:617:19",onClick:()=>m(R),className:"absolute top-2 right-2 w-8 h-8 bg-red-500 text-white rounded-full flex items-center justify-center opacity-0 group-hover:opacity-100 transition-opacity",children:c.jsx(zx,{"code-path":"src/pages/admin/ProductEdit.tsx:621:21",className:"w-4 h-4"})})]},R)),c.jsxs("button",{"code-path":"src/pages/admin/ProductEdit.tsx:626:15",onClick:()=>n.current?.click(),className:"aspect-square border-2 border-dashed border-gray-300 rounded-lg flex flex-col items-center justify-center gap-2 hover:border-[#0064ff] hover:bg-blue-50 transition-colors",children:[c.jsx(rN,{"code-path":"src/pages/admin/ProductEdit.tsx:630:17",className:"w-8 h-8 text-gray-400"}),c.jsx("span",{"code-path":"src/pages/admin/ProductEdit.tsx:631:17",className:"text-sm text-gray-500",children:"上传图片"})]})]}),c.jsx("p",{"code-path":"src/pages/admin/ProductEdit.tsx:635:13",className:"text-sm text-gray-500 mt-4",children:"建议尺寸：800x800像素，支持JPG、PNG格式"})]})}),c.jsxs(aa,{"code-path":"src/pages/admin/ProductEdit.tsx:642:9",value:"detailInfo",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:643:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:644:13",className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[c.jsx(wn,{"code-path":"src/pages/admin/ProductEdit.tsx:645:15",className:"w-5 h-5 text-[#0064ff]"}),"技术原理"]}),c.jsx(hc,{"code-path":"src/pages/admin/ProductEdit.tsx:648:13",value:d.detailInfo?.principle||"",onChange:T=>y("principle",T.target.value),rows:6,placeholder:"输入技术原理说明"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:656:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:657:13",className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[c.jsx($w,{"code-path":"src/pages/admin/ProductEdit.tsx:658:15",className:"w-5 h-5 text-[#0064ff]"}),"注意事项"]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:661:13",className:"space-y-3",children:[d.detailInfo?.precautions?.map((T,R)=>c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:663:17",className:"flex gap-2",children:[c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:664:19",value:T,onChange:E=>V(R,E.target.value),placeholder:"输入注意事项"}),c.jsx($e,{"code-path":"src/pages/admin/ProductEdit.tsx:669:19",type:"button",variant:"outline",size:"icon",onClick:()=>K(R),children:c.jsx(vn,{"code-path":"src/pages/admin/ProductEdit.tsx:675:21",className:"w-4 h-4 text-red-500"})})]},R)),c.jsxs($e,{"code-path":"src/pages/admin/ProductEdit.tsx:679:15",type:"button",variant:"outline",onClick:B,className:"w-full",children:[c.jsx(zn,{"code-path":"src/pages/admin/ProductEdit.tsx:680:17",className:"w-4 h-4 mr-2"}),"添加注意事项"]})]})]})]}),c.jsxs(aa,{"code-path":"src/pages/admin/ProductEdit.tsx:688:9",value:"features",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:689:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:690:13",className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[c.jsx(iN,{"code-path":"src/pages/admin/ProductEdit.tsx:691:15",className:"w-5 h-5 text-[#0064ff]"}),"产品特点"]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:694:13",className:"space-y-4",children:[d.detailInfo?.features?.map((T,R)=>c.jsx("div",{"code-path":"src/pages/admin/ProductEdit.tsx:696:17",className:"p-4 border border-gray-200 rounded-lg",children:c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:697:19",className:"grid grid-cols-3 gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:698:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:699:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"标题"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:700:23",value:T.title,onChange:E=>S(R,"title",E.target.value),placeholder:"特点标题"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:706:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:707:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"图标"}),c.jsx("select",{"code-path":"src/pages/admin/ProductEdit.tsx:708:23",value:T.icon,onChange:E=>S(R,"icon",E.target.value),className:"w-full px-3 py-2 border border-gray-200 rounded-lg",children:Object.keys(gw).map(E=>c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:714:27",value:E,children:E},E))})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:718:21",className:"flex items-end gap-2",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:719:23",className:"flex-1",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:720:25",className:"block text-sm font-medium text-gray-700 mb-1",children:"描述"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:721:25",value:T.description,onChange:E=>S(R,"description",E.target.value),placeholder:"特点描述"})]}),c.jsx($e,{"code-path":"src/pages/admin/ProductEdit.tsx:727:23",type:"button",variant:"outline",size:"icon",onClick:()=>j(R),children:c.jsx(vn,{"code-path":"src/pages/admin/ProductEdit.tsx:733:25",className:"w-4 h-4 text-red-500"})})]})]})},R)),c.jsxs($e,{"code-path":"src/pages/admin/ProductEdit.tsx:739:15",type:"button",variant:"outline",onClick:N,className:"w-full",children:[c.jsx(zn,{"code-path":"src/pages/admin/ProductEdit.tsx:740:17",className:"w-4 h-4 mr-2"}),"添加产品特点"]})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:746:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:747:13",className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[c.jsx(un,{"code-path":"src/pages/admin/ProductEdit.tsx:748:15",className:"w-5 h-5 text-[#0064ff]"}),"应用场景"]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:751:13",className:"space-y-4",children:[d.detailInfo?.applicationScenarios?.map((T,R)=>c.jsx("div",{"code-path":"src/pages/admin/ProductEdit.tsx:753:17",className:"p-4 border border-gray-200 rounded-lg",children:c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:754:19",className:"grid grid-cols-3 gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:755:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:756:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"标题"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:757:23",value:T.title,onChange:E=>O(R,"title",E.target.value),placeholder:"场景标题"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:763:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:764:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"图标"}),c.jsx("select",{"code-path":"src/pages/admin/ProductEdit.tsx:765:23",value:T.icon,onChange:E=>O(R,"icon",E.target.value),className:"w-full px-3 py-2 border border-gray-200 rounded-lg",children:Object.keys(gw).map(E=>c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:771:27",value:E,children:E},E))})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:775:21",className:"flex items-end gap-2",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:776:23",className:"flex-1",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:777:25",className:"block text-sm font-medium text-gray-700 mb-1",children:"描述"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:778:25",value:T.description,onChange:E=>O(R,"description",E.target.value),placeholder:"场景描述"})]}),c.jsx($e,{"code-path":"src/pages/admin/ProductEdit.tsx:784:23",type:"button",variant:"outline",size:"icon",onClick:()=>k(R),children:c.jsx(vn,{"code-path":"src/pages/admin/ProductEdit.tsx:790:25",className:"w-4 h-4 text-red-500"})})]})]})},R)),c.jsxs($e,{"code-path":"src/pages/admin/ProductEdit.tsx:796:15",type:"button",variant:"outline",onClick:M,className:"w-full",children:[c.jsx(zn,{"code-path":"src/pages/admin/ProductEdit.tsx:797:17",className:"w-4 h-4 mr-2"}),"添加应用场景"]})]})]})]}),c.jsxs(aa,{"code-path":"src/pages/admin/ProductEdit.tsx:805:9",value:"components",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:806:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:807:13",className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[c.jsx(ws,{"code-path":"src/pages/admin/ProductEdit.tsx:808:15",className:"w-5 h-5 text-[#0064ff]"}),"产品组分"]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:811:13",className:"space-y-3",children:[d.detailInfo?.components?.map((T,R)=>c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:813:17",className:"grid grid-cols-5 gap-3 items-end",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:814:19",className:"col-span-2",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:815:21",className:"block text-sm font-medium text-gray-700 mb-1",children:"组分名称"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:816:21",value:T.name,onChange:E=>_(R,"name",E.target.value),placeholder:"组分名称"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:822:19",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:823:21",className:"block text-sm font-medium text-gray-700 mb-1",children:"10次装规格"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:824:21",value:T.spec10,onChange:E=>_(R,"spec10",E.target.value),placeholder:"如: 100μL"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:830:19",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:831:21",className:"block text-sm font-medium text-gray-700 mb-1",children:"50次装规格"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:832:21",value:T.spec50,onChange:E=>_(R,"spec50",E.target.value),placeholder:"如: 500μL"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:838:19",className:"flex gap-2",children:[c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:839:21",value:T.storage,onChange:E=>_(R,"storage",E.target.value),placeholder:"储存条件"}),c.jsx($e,{"code-path":"src/pages/admin/ProductEdit.tsx:844:21",type:"button",variant:"outline",size:"icon",onClick:()=>D(R),children:c.jsx(vn,{"code-path":"src/pages/admin/ProductEdit.tsx:850:23",className:"w-4 h-4 text-red-500"})})]})]},R)),c.jsxs($e,{"code-path":"src/pages/admin/ProductEdit.tsx:855:15",type:"button",variant:"outline",onClick:w,className:"w-full",children:[c.jsx(zn,{"code-path":"src/pages/admin/ProductEdit.tsx:856:17",className:"w-4 h-4 mr-2"}),"添加产品组分"]})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:862:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:863:13",className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[c.jsx(Lc,{"code-path":"src/pages/admin/ProductEdit.tsx:864:15",className:"w-5 h-5 text-[#0064ff]"}),"订购信息"]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:867:13",className:"space-y-3",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:868:15",className:"grid grid-cols-2 gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:869:17",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:870:19",className:"block text-sm font-medium text-gray-700 mb-1",children:"货号"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:871:19",value:d.detailInfo?.orderingInfo?.catalogNumber||"",onChange:T=>f(R=>({...R,detailInfo:{...R.detailInfo||st,orderingInfo:{...R.detailInfo?.orderingInfo||st.orderingInfo,catalogNumber:T.target.value}}})),placeholder:"货号"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:883:17",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:884:19",className:"block text-sm font-medium text-gray-700 mb-1",children:"产品名称"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:885:19",value:d.detailInfo?.orderingInfo?.productName||"",onChange:T=>f(R=>({...R,detailInfo:{...R.detailInfo||st,orderingInfo:{...R.detailInfo?.orderingInfo||st.orderingInfo,productName:T.target.value}}})),placeholder:"产品名称"})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:899:15",className:"space-y-3",children:[d.detailInfo?.orderingInfo?.specs?.map((T,R)=>c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:901:19",className:"grid grid-cols-3 gap-3 items-end",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:902:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:903:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"规格"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:904:23",value:T.size,onChange:E=>J(R,"size",E.target.value),placeholder:"如: 10次/盒"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:910:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:911:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"价格"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:912:23",type:"number",value:T.price,onChange:E=>J(R,"price",parseFloat(E.target.value)),placeholder:"价格"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:919:21",className:"flex gap-2",children:[c.jsxs("select",{"code-path":"src/pages/admin/ProductEdit.tsx:920:23",value:T.currency,onChange:E=>J(R,"currency",E.target.value),className:"px-3 py-2 border border-gray-200 rounded-lg",children:[c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:925:25",value:"CNY",children:"CNY"}),c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:926:25",value:"USD",children:"USD"})]}),c.jsx($e,{"code-path":"src/pages/admin/ProductEdit.tsx:928:23",type:"button",variant:"outline",size:"icon",onClick:()=>ce(R),children:c.jsx(vn,{"code-path":"src/pages/admin/ProductEdit.tsx:934:25",className:"w-4 h-4 text-red-500"})})]})]},R)),c.jsxs($e,{"code-path":"src/pages/admin/ProductEdit.tsx:939:17",type:"button",variant:"outline",onClick:re,className:"w-full",children:[c.jsx(zn,{"code-path":"src/pages/admin/ProductEdit.tsx:940:19",className:"w-4 h-4 mr-2"}),"添加订购规格"]})]})]})]})]}),c.jsx(aa,{"code-path":"src/pages/admin/ProductEdit.tsx:949:9",value:"workflow",className:"space-y-6",children:c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:950:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:951:13",className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[c.jsx(Tu,{"code-path":"src/pages/admin/ProductEdit.tsx:952:15",className:"w-5 h-5 text-[#0064ff]"}),"使用流程"]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:955:13",className:"space-y-4",children:[d.detailInfo?.workflow?.map((T,R)=>c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:957:17",className:"p-4 border border-gray-200 rounded-lg",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:958:19",className:"flex items-center gap-2 mb-3",children:[c.jsx("span",{"code-path":"src/pages/admin/ProductEdit.tsx:959:21",className:"w-8 h-8 bg-[#0064ff] text-white rounded-full flex items-center justify-center font-bold",children:T.step}),c.jsxs("span",{"code-path":"src/pages/admin/ProductEdit.tsx:962:21",className:"font-medium text-gray-700",children:["步骤 ",T.step]})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:964:19",className:"grid grid-cols-3 gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:965:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:966:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"标题"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:967:23",value:T.title,onChange:E=>Y(R,"title",E.target.value),placeholder:"步骤标题"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:973:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:974:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"时长"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:975:23",value:T.duration||"",onChange:E=>Y(R,"duration",E.target.value),placeholder:"如: 5分钟"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:981:21",className:"flex items-end gap-2",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:982:23",className:"flex-1",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:983:25",className:"block text-sm font-medium text-gray-700 mb-1",children:"描述"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:984:25",value:T.description,onChange:E=>Y(R,"description",E.target.value),placeholder:"步骤描述"})]}),c.jsx($e,{"code-path":"src/pages/admin/ProductEdit.tsx:990:23",type:"button",variant:"outline",size:"icon",onClick:()=>P(R),children:c.jsx(vn,{"code-path":"src/pages/admin/ProductEdit.tsx:996:25",className:"w-4 h-4 text-red-500"})})]})]})]},R)),c.jsxs($e,{"code-path":"src/pages/admin/ProductEdit.tsx:1002:15",type:"button",variant:"outline",onClick:L,className:"w-full",children:[c.jsx(zn,{"code-path":"src/pages/admin/ProductEdit.tsx:1003:17",className:"w-4 h-4 mr-2"}),"添加流程步骤"]})]})]})}),c.jsx(aa,{"code-path":"src/pages/admin/ProductEdit.tsx:1011:9",value:"pricing",className:"space-y-6",children:c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1012:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:1013:13",className:"font-semibold text-gray-900 mb-4 flex items-center gap-2",children:[c.jsx(IE,{"code-path":"src/pages/admin/ProductEdit.tsx:1014:15",className:"w-5 h-5 text-[#0064ff]"}),"价格与库存"]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1017:13",className:"space-y-4",children:[d.pricing?.map((T,R)=>c.jsx("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1019:17",className:"p-4 border border-gray-200 rounded-lg",children:c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1020:19",className:"grid grid-cols-4 gap-4 items-end",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1021:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:1022:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"规格"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:1023:23",value:T.spec,onChange:E=>ie(R,"spec",E.target.value),placeholder:"如: 10次/盒"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1029:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:1030:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"价格"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:1031:23",type:"number",value:T.price,onChange:E=>ie(R,"price",parseFloat(E.target.value)),placeholder:"价格"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1038:21",children:[c.jsx("label",{"code-path":"src/pages/admin/ProductEdit.tsx:1039:23",className:"block text-sm font-medium text-gray-700 mb-1",children:"库存"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:1040:23",type:"number",value:T.stock,onChange:E=>ie(R,"stock",parseInt(E.target.value)),placeholder:"库存数量"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1047:21",className:"flex gap-2",children:[c.jsxs("select",{"code-path":"src/pages/admin/ProductEdit.tsx:1048:23",value:T.currency,onChange:E=>ie(R,"currency",E.target.value),className:"px-3 py-2 border border-gray-200 rounded-lg",children:[c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:1053:25",value:"CNY",children:"CNY"}),c.jsx("option",{"code-path":"src/pages/admin/ProductEdit.tsx:1054:25",value:"USD",children:"USD"})]}),c.jsx($e,{"code-path":"src/pages/admin/ProductEdit.tsx:1056:23",type:"button",variant:"outline",size:"icon",onClick:()=>U(R),children:c.jsx(vn,{"code-path":"src/pages/admin/ProductEdit.tsx:1062:25",className:"w-4 h-4 text-red-500"})})]})]})},R)),c.jsxs($e,{"code-path":"src/pages/admin/ProductEdit.tsx:1068:15",type:"button",variant:"outline",onClick:oe,className:"w-full",children:[c.jsx(zn,{"code-path":"src/pages/admin/ProductEdit.tsx:1069:17",className:"w-4 h-4 mr-2"}),"添加价格规格"]})]})]})}),c.jsx(aa,{"code-path":"src/pages/admin/ProductEdit.tsx:1077:9",value:"seo",className:"space-y-6",children:c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1078:11",className:"bg-white rounded-xl p-6 shadow-sm",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1079:13",className:"flex items-center gap-3 mb-6",children:[c.jsx(Fw,{"code-path":"src/pages/admin/ProductEdit.tsx:1080:15",className:"w-5 h-5 text-[#0064ff]"}),c.jsx("h3",{"code-path":"src/pages/admin/ProductEdit.tsx:1081:15",className:"font-semibold text-gray-900",children:"SEO设置"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1084:13",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1085:15",children:[c.jsxs("label",{"code-path":"src/pages/admin/ProductEdit.tsx:1086:17",className:"block text-sm font-medium text-gray-700 mb-2",children:[c.jsx(wn,{"code-path":"src/pages/admin/ProductEdit.tsx:1087:19",className:"w-4 h-4 inline mr-1"}),"页面标题 (SEO Title)"]}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:1090:17",value:d.seo?.title||"",onChange:T=>F("title",T.target.value),placeholder:`${d.name} - CellSort细胞分选产品`}),c.jsx("p",{"code-path":"src/pages/admin/ProductEdit.tsx:1095:17",className:"text-xs text-gray-500 mt-1",children:"建议长度：50-60个字符"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1100:15",children:[c.jsxs("label",{"code-path":"src/pages/admin/ProductEdit.tsx:1101:17",className:"block text-sm font-medium text-gray-700 mb-2",children:[c.jsx(wn,{"code-path":"src/pages/admin/ProductEdit.tsx:1102:19",className:"w-4 h-4 inline mr-1"}),"Meta描述 (Meta Description)"]}),c.jsx(hc,{"code-path":"src/pages/admin/ProductEdit.tsx:1105:17",value:d.seo?.description||"",onChange:T=>F("description",T.target.value),rows:3,placeholder:"输入页面描述，用于搜索引擎结果展示"}),c.jsx("p",{"code-path":"src/pages/admin/ProductEdit.tsx:1111:17",className:"text-xs text-gray-500 mt-1",children:"建议长度：150-160个字符"})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1116:15",children:[c.jsxs("label",{"code-path":"src/pages/admin/ProductEdit.tsx:1117:17",className:"block text-sm font-medium text-gray-700 mb-2",children:[c.jsx(eT,{"code-path":"src/pages/admin/ProductEdit.tsx:1118:19",className:"w-4 h-4 inline mr-1"}),"关键词 (Keywords)"]}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:1121:17",value:d.seo?.keywords||"",onChange:T=>F("keywords",T.target.value),placeholder:"细胞分选, 磁珠分选, T细胞分离, ..."})]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1128:15",children:[c.jsxs("label",{"code-path":"src/pages/admin/ProductEdit.tsx:1129:17",className:"block text-sm font-medium text-gray-700 mb-2",children:[c.jsx(Qw,{"code-path":"src/pages/admin/ProductEdit.tsx:1130:19",className:"w-4 h-4 inline mr-1"}),"URL别名 (Slug)"]}),c.jsxs("div",{"code-path":"src/pages/admin/ProductEdit.tsx:1133:17",className:"flex items-center gap-2",children:[c.jsx("span",{"code-path":"src/pages/admin/ProductEdit.tsx:1134:19",className:"text-gray-500 text-sm",children:"/products/"}),c.jsx(De,{"code-path":"src/pages/admin/ProductEdit.tsx:1135:19",value:d.seo?.slug||"",onChange:T=>F("slug",T.target.value),placeholder:d.id,className:"flex-1"})]})]})]})]})})]})]})}const rk={Microscope:un,Shield:Au,Sparkles:fp,FlaskConical:ca};function ik(){const[a,t]=v.useState(""),r=jc.filter(n=>a===""||n.title.toLowerCase().includes(a.toLowerCase())||n.description.toLowerCase().includes(a.toLowerCase()));return c.jsxs("div",{"code-path":"src/pages/admin/Solutions.tsx:42:5",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/Solutions.tsx:44:7",className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/Solutions.tsx:45:9",children:[c.jsx("h1",{"code-path":"src/pages/admin/Solutions.tsx:46:11",className:"text-2xl font-bold text-gray-900",children:"解决方案"}),c.jsx("p",{"code-path":"src/pages/admin/Solutions.tsx:47:11",className:"text-gray-500 mt-1",children:"管理应用场景解决方案"})]}),c.jsx(fe,{"code-path":"src/pages/admin/Solutions.tsx:49:9",to:"/admin/solutions/new",children:c.jsxs($e,{"code-path":"src/pages/admin/Solutions.tsx:50:11",className:"btn-primary gap-2",children:[c.jsx(zn,{"code-path":"src/pages/admin/Solutions.tsx:51:13",className:"w-5 h-5"}),"添加方案"]})})]}),c.jsxs("div",{"code-path":"src/pages/admin/Solutions.tsx:58:7",className:"relative",children:[c.jsx(Oa,{"code-path":"src/pages/admin/Solutions.tsx:59:9",className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),c.jsx(De,{"code-path":"src/pages/admin/Solutions.tsx:60:9",type:"text",placeholder:"搜索解决方案...",value:a,onChange:n=>t(n.target.value),className:"pl-10"})]}),c.jsx("div",{"code-path":"src/pages/admin/Solutions.tsx:70:7",className:"grid md:grid-cols-2 gap-6",children:r.map(n=>{const o=rk[n.icon]||un;return c.jsx("div",{"code-path":"src/pages/admin/Solutions.tsx:74:13",className:"bg-white rounded-xl shadow-sm p-6",children:c.jsxs("div",{"code-path":"src/pages/admin/Solutions.tsx:75:15",className:"flex items-start justify-between",children:[c.jsxs("div",{"code-path":"src/pages/admin/Solutions.tsx:76:17",className:"flex items-start gap-4",children:[c.jsx("div",{"code-path":"src/pages/admin/Solutions.tsx:77:19",className:"w-12 h-12 bg-blue-100 rounded-lg flex items-center justify-center flex-shrink-0",children:c.jsx(o,{"code-path":"src/pages/admin/Solutions.tsx:78:21",className:"w-6 h-6 text-[#0064ff]"})}),c.jsxs("div",{"code-path":"src/pages/admin/Solutions.tsx:80:19",children:[c.jsx("h3",{"code-path":"src/pages/admin/Solutions.tsx:81:21",className:"font-semibold text-gray-900",children:n.title}),c.jsx("p",{"code-path":"src/pages/admin/Solutions.tsx:82:21",className:"text-sm text-gray-500 mt-1 line-clamp-2",children:n.description}),c.jsx("div",{"code-path":"src/pages/admin/Solutions.tsx:85:21",className:"flex flex-wrap gap-2 mt-3",children:n.products.slice(0,3).map(l=>c.jsx("span",{"code-path":"src/pages/admin/Solutions.tsx:87:25",className:"px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs",children:l},l))})]})]}),c.jsxs(Mp,{"code-path":"src/pages/admin/Solutions.tsx:94:17",children:[c.jsx(Rp,{"code-path":"src/pages/admin/Solutions.tsx:95:19",asChild:!0,children:c.jsx("button",{"code-path":"src/pages/admin/Solutions.tsx:96:21",className:"p-2 hover:bg-gray-100 rounded-lg",children:c.jsx(dp,{"code-path":"src/pages/admin/Solutions.tsx:97:23",className:"w-5 h-5 text-gray-400"})})}),c.jsxs(Op,{"code-path":"src/pages/admin/Solutions.tsx:100:19",align:"end",children:[c.jsxs(Nn,{"code-path":"src/pages/admin/Solutions.tsx:101:21",children:[c.jsx(ho,{"code-path":"src/pages/admin/Solutions.tsx:102:23",className:"w-4 h-4 mr-2"}),"查看"]}),c.jsxs(Nn,{"code-path":"src/pages/admin/Solutions.tsx:105:21",children:[c.jsx(Px,{"code-path":"src/pages/admin/Solutions.tsx:106:23",className:"w-4 h-4 mr-2"}),"编辑"]}),c.jsxs(Nn,{"code-path":"src/pages/admin/Solutions.tsx:109:21",className:"text-red-600",children:[c.jsx(vn,{"code-path":"src/pages/admin/Solutions.tsx:110:23",className:"w-4 h-4 mr-2"}),"删除"]})]})]})]})},n.id)})}),r.length===0&&c.jsxs("div",{"code-path":"src/pages/admin/Solutions.tsx:122:9",className:"text-center py-12",children:[c.jsx("div",{"code-path":"src/pages/admin/Solutions.tsx:123:11",className:"w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-4",children:c.jsx(Oa,{"code-path":"src/pages/admin/Solutions.tsx:124:13",className:"w-8 h-8 text-gray-400"})}),c.jsx("p",{"code-path":"src/pages/admin/Solutions.tsx:126:11",className:"text-gray-500",children:"未找到解决方案"})]})]})}const ok={company:"公司新闻",industry:"行业动态",technology:"技术文章"},ck={company:"bg-blue-100 text-blue-600",industry:"bg-green-100 text-green-600",technology:"bg-purple-100 text-purple-600"};function lk(){const[a,t]=v.useState(""),[r,n]=v.useState("all"),o=fi.filter(l=>{const d=r==="all"||l.category===r,f=a===""||l.title.toLowerCase().includes(a.toLowerCase());return d&&f});return c.jsxs("div",{"code-path":"src/pages/admin/News.tsx:46:5",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/News.tsx:48:7",className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/News.tsx:49:9",children:[c.jsx("h1",{"code-path":"src/pages/admin/News.tsx:50:11",className:"text-2xl font-bold text-gray-900",children:"新闻管理"}),c.jsx("p",{"code-path":"src/pages/admin/News.tsx:51:11",className:"text-gray-500 mt-1",children:"管理网站新闻和文章"})]}),c.jsx(fe,{"code-path":"src/pages/admin/News.tsx:53:9",to:"/admin/news/new",children:c.jsxs($e,{"code-path":"src/pages/admin/News.tsx:54:11",className:"btn-primary gap-2",children:[c.jsx(zn,{"code-path":"src/pages/admin/News.tsx:55:13",className:"w-5 h-5"}),"发布新闻"]})})]}),c.jsxs("div",{"code-path":"src/pages/admin/News.tsx:62:7",className:"flex flex-col sm:flex-row gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/News.tsx:63:9",className:"relative flex-1",children:[c.jsx(Oa,{"code-path":"src/pages/admin/News.tsx:64:11",className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),c.jsx(De,{"code-path":"src/pages/admin/News.tsx:65:11",type:"text",placeholder:"搜索新闻...",value:a,onChange:l=>t(l.target.value),className:"pl-10"})]}),c.jsxs("select",{"code-path":"src/pages/admin/News.tsx:73:9",value:r,onChange:l=>n(l.target.value),className:"px-4 py-2 border border-gray-200 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-[#0064ff]",children:[c.jsx("option",{"code-path":"src/pages/admin/News.tsx:78:11",value:"all",children:"全部分类"}),c.jsx("option",{"code-path":"src/pages/admin/News.tsx:79:11",value:"company",children:"公司新闻"}),c.jsx("option",{"code-path":"src/pages/admin/News.tsx:80:11",value:"industry",children:"行业动态"}),c.jsx("option",{"code-path":"src/pages/admin/News.tsx:81:11",value:"technology",children:"技术文章"})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/News.tsx:86:7",className:"bg-white rounded-xl shadow-sm overflow-hidden",children:[c.jsx("div",{"code-path":"src/pages/admin/News.tsx:87:9",className:"overflow-x-auto",children:c.jsxs("table",{"code-path":"src/pages/admin/News.tsx:88:11",className:"w-full",children:[c.jsx("thead",{"code-path":"src/pages/admin/News.tsx:89:13",className:"bg-gray-50",children:c.jsxs("tr",{"code-path":"src/pages/admin/News.tsx:90:15",className:"text-left text-sm text-gray-500",children:[c.jsx("th",{"code-path":"src/pages/admin/News.tsx:91:17",className:"px-6 py-4 font-medium",children:"标题"}),c.jsx("th",{"code-path":"src/pages/admin/News.tsx:92:17",className:"px-6 py-4 font-medium",children:"分类"}),c.jsx("th",{"code-path":"src/pages/admin/News.tsx:93:17",className:"px-6 py-4 font-medium",children:"作者"}),c.jsx("th",{"code-path":"src/pages/admin/News.tsx:94:17",className:"px-6 py-4 font-medium",children:"发布时间"}),c.jsx("th",{"code-path":"src/pages/admin/News.tsx:95:17",className:"px-6 py-4 font-medium",children:"浏览量"}),c.jsx("th",{"code-path":"src/pages/admin/News.tsx:96:17",className:"px-6 py-4 font-medium text-right",children:"操作"})]})}),c.jsx("tbody",{"code-path":"src/pages/admin/News.tsx:99:13",className:"divide-y divide-gray-100",children:o.map(l=>c.jsxs("tr",{"code-path":"src/pages/admin/News.tsx:101:17",className:"hover:bg-gray-50",children:[c.jsx("td",{"code-path":"src/pages/admin/News.tsx:102:19",className:"px-6 py-4",children:c.jsxs("div",{"code-path":"src/pages/admin/News.tsx:103:21",className:"flex items-center gap-3",children:[c.jsx("div",{"code-path":"src/pages/admin/News.tsx:104:23",className:"w-10 h-10 bg-gray-100 rounded-lg flex items-center justify-center flex-shrink-0",children:c.jsx("span",{"code-path":"src/pages/admin/News.tsx:105:25",className:"text-lg font-bold text-gray-400",children:l.title.charAt(0)})}),c.jsxs("div",{"code-path":"src/pages/admin/News.tsx:109:23",children:[c.jsx("p",{"code-path":"src/pages/admin/News.tsx:110:25",className:"font-medium text-gray-900",children:l.title}),c.jsx("p",{"code-path":"src/pages/admin/News.tsx:111:25",className:"text-sm text-gray-500 line-clamp-1",children:l.excerpt})]})]})}),c.jsx("td",{"code-path":"src/pages/admin/News.tsx:115:19",className:"px-6 py-4",children:c.jsx("span",{"code-path":"src/pages/admin/News.tsx:116:21",className:`px-2 py-1 rounded text-xs ${ck[l.category]}`,children:ok[l.category]})}),c.jsx("td",{"code-path":"src/pages/admin/News.tsx:120:19",className:"px-6 py-4 text-gray-600",children:l.author}),c.jsx("td",{"code-path":"src/pages/admin/News.tsx:121:19",className:"px-6 py-4 text-gray-600",children:new Date(l.publishedAt).toLocaleDateString("zh-CN")}),c.jsx("td",{"code-path":"src/pages/admin/News.tsx:124:19",className:"px-6 py-4 text-gray-600",children:l.views}),c.jsx("td",{"code-path":"src/pages/admin/News.tsx:125:19",className:"px-6 py-4 text-right",children:c.jsxs(Mp,{"code-path":"src/pages/admin/News.tsx:126:21",children:[c.jsx(Rp,{"code-path":"src/pages/admin/News.tsx:127:23",asChild:!0,children:c.jsx("button",{"code-path":"src/pages/admin/News.tsx:128:25",className:"p-2 hover:bg-gray-100 rounded-lg",children:c.jsx(dp,{"code-path":"src/pages/admin/News.tsx:129:27",className:"w-5 h-5 text-gray-400"})})}),c.jsxs(Op,{"code-path":"src/pages/admin/News.tsx:132:23",align:"end",children:[c.jsxs(Nn,{"code-path":"src/pages/admin/News.tsx:133:25",children:[c.jsx(ho,{"code-path":"src/pages/admin/News.tsx:134:27",className:"w-4 h-4 mr-2"}),"查看"]}),c.jsxs(Nn,{"code-path":"src/pages/admin/News.tsx:137:25",children:[c.jsx(Px,{"code-path":"src/pages/admin/News.tsx:138:27",className:"w-4 h-4 mr-2"}),"编辑"]}),c.jsxs(Nn,{"code-path":"src/pages/admin/News.tsx:141:25",className:"text-red-600",children:[c.jsx(vn,{"code-path":"src/pages/admin/News.tsx:142:27",className:"w-4 h-4 mr-2"}),"删除"]})]})]})})]},l.id))})]})}),o.length===0&&c.jsxs("div",{"code-path":"src/pages/admin/News.tsx:155:11",className:"text-center py-12",children:[c.jsx("div",{"code-path":"src/pages/admin/News.tsx:156:13",className:"w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-4",children:c.jsx(Oa,{"code-path":"src/pages/admin/News.tsx:157:15",className:"w-8 h-8 text-gray-400"})}),c.jsx("p",{"code-path":"src/pages/admin/News.tsx:159:13",className:"text-gray-500",children:"未找到新闻"})]})]})]})}const uk=[{id:"1",name:"MS Columns 产品手册.pdf",type:"pdf",size:"2.5 MB",uploadDate:"2024-03-15",downloads:156},{id:"2",name:"LS Columns 技术参数.pdf",type:"pdf",size:"3.1 MB",uploadDate:"2024-03-14",downloads:89},{id:"3",name:"MidiMACS 操作视频.mp4",type:"video",size:"156 MB",uploadDate:"2024-03-10",downloads:234},{id:"4",name:"MACS技术白皮书.pdf",type:"pdf",size:"5.2 MB",uploadDate:"2024-03-08",downloads:312},{id:"5",name:"产品图片集.zip",type:"other",size:"45 MB",uploadDate:"2024-03-05",downloads:67}],dk={pdf:wn,image:kx,video:c6,other:i6},fk={pdf:"text-red-500 bg-red-50",image:"text-blue-500 bg-blue-50",video:"text-purple-500 bg-purple-50",other:"text-gray-500 bg-gray-50"};function pk(){const[a,t]=v.useState(""),[r]=v.useState(uk),n=r.filter(o=>a===""||o.name.toLowerCase().includes(a.toLowerCase()));return c.jsxs("div",{"code-path":"src/pages/admin/Documents.tsx:63:5",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/Documents.tsx:65:7",className:"flex flex-col sm:flex-row sm:items-center justify-between gap-4",children:[c.jsxs("div",{"code-path":"src/pages/admin/Documents.tsx:66:9",children:[c.jsx("h1",{"code-path":"src/pages/admin/Documents.tsx:67:11",className:"text-2xl font-bold text-gray-900",children:"技术文档"}),c.jsx("p",{"code-path":"src/pages/admin/Documents.tsx:68:11",className:"text-gray-500 mt-1",children:"管理产品文档和技术资料"})]}),c.jsxs($e,{"code-path":"src/pages/admin/Documents.tsx:70:9",className:"btn-primary gap-2",children:[c.jsx(rN,{"code-path":"src/pages/admin/Documents.tsx:71:11",className:"w-5 h-5"}),"上传文档"]})]}),c.jsxs("div",{"code-path":"src/pages/admin/Documents.tsx:77:7",className:"relative",children:[c.jsx(Oa,{"code-path":"src/pages/admin/Documents.tsx:78:9",className:"absolute left-3 top-1/2 -translate-y-1/2 w-5 h-5 text-gray-400"}),c.jsx(De,{"code-path":"src/pages/admin/Documents.tsx:79:9",type:"text",placeholder:"搜索文档...",value:a,onChange:o=>t(o.target.value),className:"pl-10"})]}),c.jsxs("div",{"code-path":"src/pages/admin/Documents.tsx:89:7",className:"bg-white rounded-xl shadow-sm overflow-hidden",children:[c.jsx("div",{"code-path":"src/pages/admin/Documents.tsx:90:9",className:"overflow-x-auto",children:c.jsxs("table",{"code-path":"src/pages/admin/Documents.tsx:91:11",className:"w-full",children:[c.jsx("thead",{"code-path":"src/pages/admin/Documents.tsx:92:13",className:"bg-gray-50",children:c.jsxs("tr",{"code-path":"src/pages/admin/Documents.tsx:93:15",className:"text-left text-sm text-gray-500",children:[c.jsx("th",{"code-path":"src/pages/admin/Documents.tsx:94:17",className:"px-6 py-4 font-medium",children:"文档名称"}),c.jsx("th",{"code-path":"src/pages/admin/Documents.tsx:95:17",className:"px-6 py-4 font-medium",children:"类型"}),c.jsx("th",{"code-path":"src/pages/admin/Documents.tsx:96:17",className:"px-6 py-4 font-medium",children:"大小"}),c.jsx("th",{"code-path":"src/pages/admin/Documents.tsx:97:17",className:"px-6 py-4 font-medium",children:"上传日期"}),c.jsx("th",{"code-path":"src/pages/admin/Documents.tsx:98:17",className:"px-6 py-4 font-medium",children:"下载次数"}),c.jsx("th",{"code-path":"src/pages/admin/Documents.tsx:99:17",className:"px-6 py-4 font-medium text-right",children:"操作"})]})}),c.jsx("tbody",{"code-path":"src/pages/admin/Documents.tsx:102:13",className:"divide-y divide-gray-100",children:n.map(o=>{const l=dk[o.type];return c.jsxs("tr",{"code-path":"src/pages/admin/Documents.tsx:106:19",className:"hover:bg-gray-50",children:[c.jsx("td",{"code-path":"src/pages/admin/Documents.tsx:107:21",className:"px-6 py-4",children:c.jsxs("div",{"code-path":"src/pages/admin/Documents.tsx:108:23",className:"flex items-center gap-3",children:[c.jsx("div",{"code-path":"src/pages/admin/Documents.tsx:109:25",className:`w-10 h-10 rounded-lg flex items-center justify-center ${fk[o.type]}`,children:c.jsx(l,{"code-path":"src/pages/admin/Documents.tsx:110:27",className:"w-5 h-5"})}),c.jsx("span",{"code-path":"src/pages/admin/Documents.tsx:112:25",className:"font-medium text-gray-900",children:o.name})]})}),c.jsx("td",{"code-path":"src/pages/admin/Documents.tsx:115:21",className:"px-6 py-4",children:c.jsx("span",{"code-path":"src/pages/admin/Documents.tsx:116:23",className:"px-2 py-1 bg-gray-100 text-gray-600 rounded text-xs uppercase",children:o.type})}),c.jsx("td",{"code-path":"src/pages/admin/Documents.tsx:120:21",className:"px-6 py-4 text-gray-600",children:o.size}),c.jsx("td",{"code-path":"src/pages/admin/Documents.tsx:121:21",className:"px-6 py-4 text-gray-600",children:o.uploadDate}),c.jsx("td",{"code-path":"src/pages/admin/Documents.tsx:122:21",className:"px-6 py-4 text-gray-600",children:o.downloads}),c.jsx("td",{"code-path":"src/pages/admin/Documents.tsx:123:21",className:"px-6 py-4 text-right",children:c.jsxs(Mp,{"code-path":"src/pages/admin/Documents.tsx:124:23",children:[c.jsx(Rp,{"code-path":"src/pages/admin/Documents.tsx:125:25",asChild:!0,children:c.jsx("button",{"code-path":"src/pages/admin/Documents.tsx:126:27",className:"p-2 hover:bg-gray-100 rounded-lg",children:c.jsx(dp,{"code-path":"src/pages/admin/Documents.tsx:127:29",className:"w-5 h-5 text-gray-400"})})}),c.jsxs(Op,{"code-path":"src/pages/admin/Documents.tsx:130:25",align:"end",children:[c.jsxs(Nn,{"code-path":"src/pages/admin/Documents.tsx:131:27",children:[c.jsx(lu,{"code-path":"src/pages/admin/Documents.tsx:132:29",className:"w-4 h-4 mr-2"}),"下载"]}),c.jsxs(Nn,{"code-path":"src/pages/admin/Documents.tsx:135:27",className:"text-red-600",children:[c.jsx(vn,{"code-path":"src/pages/admin/Documents.tsx:136:29",className:"w-4 h-4 mr-2"}),"删除"]})]})]})})]},o.id)})})]})}),n.length===0&&c.jsxs("div",{"code-path":"src/pages/admin/Documents.tsx:150:11",className:"text-center py-12",children:[c.jsx("div",{"code-path":"src/pages/admin/Documents.tsx:151:13",className:"w-16 h-16 bg-gray-100 rounded-full flex items-center justify-center mx-auto mb-4",children:c.jsx(Oa,{"code-path":"src/pages/admin/Documents.tsx:152:15",className:"w-8 h-8 text-gray-400"})}),c.jsx("p",{"code-path":"src/pages/admin/Documents.tsx:154:13",className:"text-gray-500",children:"未找到文档"})]})]})]})}const kg=[{id:"1",name:"首页",url:"/",title:"CellSort - 专业细胞分选技术解决方案",description:"CellSort是专业的细胞分选技术解决方案提供商，为全球生命科学研究提供高品质的产品和服务。",keywords:"细胞分选,磁珠分选,MACS,细胞分离,免疫磁珠"},{id:"2",name:"产品中心",url:"/products",title:"产品中心 - CellSort细胞分选产品",description:"浏览CellSort完整的细胞分选产品系列，包括有柱分选、无柱分选和配套试剂耗材。",keywords:"细胞分选产品,分选柱,磁珠,细胞分离试剂"},{id:"3",name:"解决方案",url:"/solutions",title:"解决方案 - CellSort应用场景",description:"为肿瘤研究、免疫治疗、干细胞研究等应用场景提供专业的细胞分选解决方案。",keywords:"细胞分选解决方案,肿瘤研究,免疫治疗,干细胞"},{id:"4",name:"技术平台",url:"/technology",title:"技术平台 - CellSort核心技术",description:"了解CellSort领先的MACS磁珠技术、MultiSort多色分选和autoMACS自动化分选技术。",keywords:"MACS技术,磁珠分选,自动化分选,细胞分离技术"},{id:"5",name:"新闻资讯",url:"/news",title:"新闻资讯 - CellSort最新动态",description:"获取CellSort的最新产品发布、技术突破和行业资讯。",keywords:"CellSort新闻,细胞分选技术,生命科学新闻"},{id:"6",name:"关于我们",url:"/about",title:"关于我们 - CellSort公司介绍",description:"了解CellSort公司的发展历程、企业文化和联系方式。",keywords:"CellSort,细胞分选公司,关于我们,联系方式"}];function hk(){const[a,t]=v.useState(kg[0]),[r,n]=v.useState(kg[0]),[o,l]=v.useState(!1),d=()=>{l(!0),setTimeout(()=>l(!1),3e3)},f=m=>{n(x=>({...x,[m.target.name]:m.target.value}))},h=m=>{t(m),n(m)};return c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:90:5",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:92:7",children:[c.jsx("h1",{"code-path":"src/pages/admin/SEO.tsx:93:9",className:"text-2xl font-bold text-gray-900",children:"SEO设置"}),c.jsx("p",{"code-path":"src/pages/admin/SEO.tsx:94:9",className:"text-gray-500 mt-1",children:"管理网站的SEO信息和元数据"})]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:97:7",className:"grid lg:grid-cols-4 gap-6",children:[c.jsx("div",{"code-path":"src/pages/admin/SEO.tsx:99:9",className:"lg:col-span-1",children:c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:100:11",className:"bg-white rounded-xl shadow-sm overflow-hidden",children:[c.jsx("div",{"code-path":"src/pages/admin/SEO.tsx:101:13",className:"p-4 border-b border-gray-100",children:c.jsx("h2",{"code-path":"src/pages/admin/SEO.tsx:102:15",className:"font-semibold text-gray-900",children:"页面列表"})}),c.jsx("div",{"code-path":"src/pages/admin/SEO.tsx:104:13",className:"divide-y divide-gray-100",children:kg.map(m=>c.jsxs("button",{"code-path":"src/pages/admin/SEO.tsx:106:17",onClick:()=>h(m),className:`w-full text-left px-4 py-3 hover:bg-gray-50 transition-colors ${a.id===m.id?"bg-blue-50 border-l-4 border-[#0064ff]":""}`,children:[c.jsx("p",{"code-path":"src/pages/admin/SEO.tsx:113:19",className:"font-medium text-gray-900",children:m.name}),c.jsx("p",{"code-path":"src/pages/admin/SEO.tsx:114:19",className:"text-sm text-gray-500",children:m.url})]},m.id))})]})}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:122:9",className:"lg:col-span-3",children:[c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:123:11",className:"bg-white rounded-xl shadow-sm p-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:124:13",className:"flex items-center justify-between mb-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:125:15",children:[c.jsx("h2",{"code-path":"src/pages/admin/SEO.tsx:126:17",className:"text-lg font-semibold text-gray-900",children:a.name}),c.jsx("p",{"code-path":"src/pages/admin/SEO.tsx:127:17",className:"text-sm text-gray-500",children:a.url})]}),o&&c.jsx("span",{"code-path":"src/pages/admin/SEO.tsx:130:17",className:"px-3 py-1 bg-green-100 text-green-600 rounded-full text-sm",children:"已保存"})]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:136:13",className:"space-y-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:138:15",children:[c.jsxs("label",{"code-path":"src/pages/admin/SEO.tsx:139:17",className:"block text-sm font-medium text-gray-700 mb-2",children:[c.jsx(Fw,{"code-path":"src/pages/admin/SEO.tsx:140:19",className:"w-4 h-4 inline mr-1"}),"页面标题 (Title)"]}),c.jsx(De,{"code-path":"src/pages/admin/SEO.tsx:143:17",type:"text",name:"title",value:r.title,onChange:f,placeholder:"输入页面标题"}),c.jsx("p",{"code-path":"src/pages/admin/SEO.tsx:150:17",className:"text-xs text-gray-500 mt-1",children:"建议长度：50-60个字符"})]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:156:15",children:[c.jsxs("label",{"code-path":"src/pages/admin/SEO.tsx:157:17",className:"block text-sm font-medium text-gray-700 mb-2",children:[c.jsx(wn,{"code-path":"src/pages/admin/SEO.tsx:158:19",className:"w-4 h-4 inline mr-1"}),"页面描述 (Meta Description)"]}),c.jsx(hc,{"code-path":"src/pages/admin/SEO.tsx:161:17",name:"description",value:r.description,onChange:f,rows:3,placeholder:"输入页面描述"}),c.jsx("p",{"code-path":"src/pages/admin/SEO.tsx:168:17",className:"text-xs text-gray-500 mt-1",children:"建议长度：150-160个字符"})]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:174:15",children:[c.jsxs("label",{"code-path":"src/pages/admin/SEO.tsx:175:17",className:"block text-sm font-medium text-gray-700 mb-2",children:[c.jsx(Qw,{"code-path":"src/pages/admin/SEO.tsx:176:19",className:"w-4 h-4 inline mr-1"}),"关键词 (Keywords)"]}),c.jsx(De,{"code-path":"src/pages/admin/SEO.tsx:179:17",type:"text",name:"keywords",value:r.keywords,onChange:f,placeholder:"输入关键词，用逗号分隔"})]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:189:15",children:[c.jsxs("label",{"code-path":"src/pages/admin/SEO.tsx:190:17",className:"block text-sm font-medium text-gray-700 mb-2",children:[c.jsx(kx,{"code-path":"src/pages/admin/SEO.tsx:191:19",className:"w-4 h-4 inline mr-1"}),"Open Graph 图片"]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:194:17",className:"flex items-center gap-4",children:[c.jsx("div",{"code-path":"src/pages/admin/SEO.tsx:195:19",className:"w-32 h-20 bg-gray-100 rounded-lg flex items-center justify-center",children:c.jsx("span",{"code-path":"src/pages/admin/SEO.tsx:196:21",className:"text-gray-400 text-sm",children:"默认图片"})}),c.jsx($e,{"code-path":"src/pages/admin/SEO.tsx:198:19",variant:"outline",children:"更换图片"})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:203:15",className:"bg-gray-50 rounded-lg p-4",children:[c.jsx("p",{"code-path":"src/pages/admin/SEO.tsx:204:17",className:"text-sm font-medium text-gray-700 mb-2",children:"搜索结果预览"}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:205:17",className:"bg-white rounded-lg p-4 shadow-sm",children:[c.jsx("p",{"code-path":"src/pages/admin/SEO.tsx:206:19",className:"text-blue-600 text-lg hover:underline cursor-pointer",children:r.title||"页面标题"}),c.jsxs("p",{"code-path":"src/pages/admin/SEO.tsx:209:19",className:"text-green-600 text-sm",children:["https://cellsort.com",a.url]}),c.jsx("p",{"code-path":"src/pages/admin/SEO.tsx:212:19",className:"text-gray-600 text-sm mt-1",children:r.description||"页面描述"})]})]}),c.jsx("div",{"code-path":"src/pages/admin/SEO.tsx:219:15",className:"flex justify-end",children:c.jsxs($e,{"code-path":"src/pages/admin/SEO.tsx:220:17",onClick:d,className:"btn-primary gap-2",children:[c.jsx(eN,{"code-path":"src/pages/admin/SEO.tsx:221:19",className:"w-5 h-5"}),"保存设置"]})})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:229:11",className:"bg-white rounded-xl shadow-sm p-6 mt-6",children:[c.jsx("h2",{"code-path":"src/pages/admin/SEO.tsx:230:13",className:"text-lg font-semibold text-gray-900 mb-6",children:"全局SEO设置"}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:231:13",className:"grid sm:grid-cols-2 gap-6",children:[c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:232:15",children:[c.jsx("label",{"code-path":"src/pages/admin/SEO.tsx:233:17",className:"block text-sm font-medium text-gray-700 mb-2",children:"网站标题"}),c.jsx(De,{"code-path":"src/pages/admin/SEO.tsx:236:17",type:"text",defaultValue:"CellSort - 专业细胞分选技术解决方案"})]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:241:15",children:[c.jsx("label",{"code-path":"src/pages/admin/SEO.tsx:242:17",className:"block text-sm font-medium text-gray-700 mb-2",children:"网站描述"}),c.jsx(De,{"code-path":"src/pages/admin/SEO.tsx:245:17",type:"text",defaultValue:"CellSort是专业的细胞分选技术解决方案提供商"})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:251:13",className:"mt-6",children:[c.jsx("label",{"code-path":"src/pages/admin/SEO.tsx:252:15",className:"block text-sm font-medium text-gray-700 mb-2",children:"网站Logo"}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:255:15",className:"flex items-center gap-4",children:[c.jsx("div",{"code-path":"src/pages/admin/SEO.tsx:256:17",className:"w-16 h-16 bg-[#0064ff] rounded-lg flex items-center justify-center",children:c.jsx("span",{"code-path":"src/pages/admin/SEO.tsx:257:19",className:"text-white font-bold text-xl",children:"C"})}),c.jsx($e,{"code-path":"src/pages/admin/SEO.tsx:259:17",variant:"outline",children:"更换Logo"})]})]}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:262:13",className:"mt-6",children:[c.jsx("label",{"code-path":"src/pages/admin/SEO.tsx:263:15",className:"block text-sm font-medium text-gray-700 mb-2",children:"Favicon"}),c.jsxs("div",{"code-path":"src/pages/admin/SEO.tsx:266:15",className:"flex items-center gap-4",children:[c.jsx("div",{"code-path":"src/pages/admin/SEO.tsx:267:17",className:"w-8 h-8 bg-[#0064ff] rounded flex items-center justify-center",children:c.jsx("span",{"code-path":"src/pages/admin/SEO.tsx:268:19",className:"text-white font-bold text-xs",children:"C"})}),c.jsx($e,{"code-path":"src/pages/admin/SEO.tsx:270:17",variant:"outline",children:"更换Favicon"})]})]})]})]})]})]})}function mk({children:a}){const[t,r]=v.useState(!0),[n,o]=v.useState(!1),l=La();return v.useEffect(()=>{(()=>{const f=localStorage.getItem("adminToken");console.log("[ProtectedRoute] Checking auth:",{path:l.pathname,hasToken:!!f}),o(!!f),r(!1)})()},[l]),t?c.jsx("div",{"code-path":"src/App.tsx:49:7",className:"min-h-screen flex items-center justify-center bg-gray-100",children:c.jsx("div",{"code-path":"src/App.tsx:50:9",className:"animate-spin rounded-full h-8 w-8 border-b-2 border-[#0064ff]"})}):n?(console.log("[ProtectedRoute] Authenticated, rendering children"),c.jsx(c.Fragment,{children:a})):(console.log("[ProtectedRoute] Not authenticated, redirecting to login"),c.jsx(Eu,{"code-path":"src/App.tsx:57:12",to:"/admin/login",replace:!0,state:{from:l.pathname}}))}function gk(){return c.jsx(JC,{"code-path":"src/App.tsx:66:5",children:c.jsxs(TC,{"code-path":"src/App.tsx:67:7",children:[c.jsx(Bt,{"code-path":"src/App.tsx:69:9",path:"/",element:c.jsx(v7,{"code-path":"src/App.tsx:69:34"})}),c.jsx(Bt,{"code-path":"src/App.tsx:70:9",path:"/products",element:c.jsx(N7,{"code-path":"src/App.tsx:70:42"})}),c.jsx(Bt,{"code-path":"src/App.tsx:71:9",path:"/products/:id",element:c.jsx(hD,{"code-path":"src/App.tsx:71:46"})}),c.jsx(Bt,{"code-path":"src/App.tsx:72:9",path:"/solutions",element:c.jsx(gD,{"code-path":"src/App.tsx:72:43"})}),c.jsx(Bt,{"code-path":"src/App.tsx:73:9",path:"/solutions/:slug",element:c.jsx(yD,{"code-path":"src/App.tsx:73:49"})}),c.jsx(Bt,{"code-path":"src/App.tsx:74:9",path:"/technology",element:c.jsx(vD,{"code-path":"src/App.tsx:74:44"})}),c.jsx(Bt,{"code-path":"src/App.tsx:75:9",path:"/news",element:c.jsx(bD,{"code-path":"src/App.tsx:75:38"})}),c.jsx(Bt,{"code-path":"src/App.tsx:76:9",path:"/news/:slug",element:c.jsx(ND,{"code-path":"src/App.tsx:76:44"})}),c.jsx(Bt,{"code-path":"src/App.tsx:77:9",path:"/about",element:c.jsx(_D,{"code-path":"src/App.tsx:77:39"})}),c.jsx(Bt,{"code-path":"src/App.tsx:78:9",path:"/contact",element:c.jsx(jD,{"code-path":"src/App.tsx:78:41"})}),c.jsx(Bt,{"code-path":"src/App.tsx:81:9",path:"/admin/login",element:c.jsx(CD,{"code-path":"src/App.tsx:81:45"})}),c.jsxs(Bt,{"code-path":"src/App.tsx:82:9",path:"/admin",element:c.jsx(mk,{"code-path":"src/App.tsx:85:13",children:c.jsx(ED,{"code-path":"src/App.tsx:86:15"})}),children:[c.jsx(Bt,{"code-path":"src/App.tsx:90:11",index:!0,element:c.jsx(AD,{"code-path":"src/App.tsx:90:33"})}),c.jsx(Bt,{"code-path":"src/App.tsx:91:11",path:"products",element:c.jsx(nk,{"code-path":"src/App.tsx:91:43"})}),c.jsx(Bt,{"code-path":"src/App.tsx:92:11",path:"products/new",element:c.jsx(xw,{"code-path":"src/App.tsx:92:47"})}),c.jsx(Bt,{"code-path":"src/App.tsx:93:11",path:"products/edit/:id",element:c.jsx(xw,{"code-path":"src/App.tsx:93:52"})}),c.jsx(Bt,{"code-path":"src/App.tsx:94:11",path:"solutions",element:c.jsx(ik,{"code-path":"src/App.tsx:94:44"})}),c.jsx(Bt,{"code-path":"src/App.tsx:95:11",path:"news",element:c.jsx(lk,{"code-path":"src/App.tsx:95:39"})}),c.jsx(Bt,{"code-path":"src/App.tsx:96:11",path:"documents",element:c.jsx(pk,{"code-path":"src/App.tsx:96:44"})}),c.jsx(Bt,{"code-path":"src/App.tsx:97:11",path:"seo",element:c.jsx(hk,{"code-path":"src/App.tsx:97:38"})})]}),c.jsx(Bt,{"code-path":"src/App.tsx:101:9",path:"*",element:c.jsx(Eu,{"code-path":"src/App.tsx:101:34",to:"/",replace:!0})})]})})}e3.createRoot(document.getElementById("root")).render(c.jsx(v.StrictMode,{"code-path":"src/main.tsx:8:3",children:c.jsx(jw,{"code-path":"src/main.tsx:9:5",children:c.jsx(gk,{"code-path":"src/main.tsx:10:7"})})}));
