PageSourceSearch

https://theoneai.com.tw/assets/index-C65GhgFh.js

js theoneai.com.tw collected 2026-10-07 21:25:33 UTC 429,764 bytes, 271 lines download raw bytes

vendor: 6,111 bytes, lines 1-9
1var Vu=e=>{throw TypeError(e)};var ja=(e,t,n)=>t.has(e)||Vu("Cannot "+n);var E=(e,t,n)=>(ja(e,t,"read from private field"),n?n.call(e):t.get(e)),J=(e,t,n)=>t.has(e)?Vu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(ja(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Te=(e,t,n)=>(ja(e,t,"access private method"),n);var Ai=(e,t,n,r)=>({set _(o){H(e,t,o,n)},get _(){return E(e,t,r)}});function i0(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const o in r)if(o!=="default"&&!(o in e)){const i=Object.getOwnPropertyDescriptor(r,o);i&&Object.defineProperty(e,o,i.get?i:{enumerable:!0,get:()=>r[o]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&r(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerPolicy&&(i.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?i.credentials="include":o.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}})();function Zf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var qf={exports:{}},Zs={},Xf={exports:{}},Q={};/**
2 * @license React
3 * react.production.min.js
4 *
5 * Copyright (c) Facebook, Inc. and its affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var yi=Symbol.for("react.element"),s0=Symbol.for("react.portal"),a0=Symbol.for("react.fragment"),l0=Symbol.for("react.strict_mode"),c0=Symbol.for("react.profiler"),u0=Symbol.for("react.provider"),d0=Symbol.for("react.context"),f0=Symbol.for("react.forward_ref"),p0=Symbol.for("react.suspense"),h0=Symbol.for("react.memo"),m0=Symbol.for("react.lazy"),Uu=Symbol.iterator;function g0(e){return e===null||typeof e!="object"?null:(e=Uu&&e[Uu]||e["@@iterator"],typeof e=="function"?e:null)}var Jf={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ep=Object.assign,tp={};function uo(e,t,n){this.props=e,this.context=t,this.refs=tp,this.updater=n||Jf}uo.prototype.isReactComponent={};uo.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};uo.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function np(){}np.prototype=uo.prototype;function bc(e,t,n){this.props=e,this.context=t,this.refs=tp,this.updater=n||Jf}var Cc=bc.prototype=new np;Cc.constructor=bc;ep(Cc,uo.prototype);Cc.isPureReactComponent=!0;var Wu=Array.isArray,rp=Object.prototype.hasOwnProperty,Sc={current:null},op={key:!0,ref:!0,__self:!0,__source:!0};function ip(e,t,n){var r,o={},i=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(i=""+t.key),t)rp.call(t,r)&&!op.hasOwnProperty(r)&&(o[r]=t[r]);var a=arguments.length-2;if(a===1)o.children=n;else if(1<a){for(var c=Array(a),u=0;u<a;u++)c[u]=arguments[u+2];o.children=c}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)o[r]===void 0&&(o[r]=a[r]);return{$$typeof:yi,type:e,key:i,ref:s,props:o,_owner:Sc.current}}function v0(e,t){return{$$typeof:yi,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function kc(e){return typeof e=="object"&&e!==null&&e.$$typeof===yi}function y0(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var Ku=/\/+/g;function Pa(e,t){return typeof e=="object"&&e!==null&&e.key!=null?y0(""+e.key):t.toString(36)}function ns(e,t,n,r,o){var i=typeof e;(i==="undefined"||i==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(i){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case yi:case s0:s=!0}}if(s)return s=e,o=o(s),e=r===""?"."+Pa(s,0):r,Wu(o)?(n="",e!=null&&(n=e.replace(Ku,"$&/")+"/"),ns(o,t,n,"",function(u){return u})):o!=null&&(kc(o)&&(o=v0(o,n+(!o.key||s&&s.key===o.key?"":(""+o.key).replace(Ku,"$&/")+"/")+e)),t.push(o)),1;if(s=0,r=r===""?".":r+":",Wu(e))for(var a=0;a<e.length;a++){i=e[a];var c=r+Pa(i,a);s+=ns(i,t,n,c,o)}else if(c=g0(e),typeof c=="function")for(e=c.call(e),a=0;!(i=e.next()).done;)i=i.value,c=r+Pa(i,a++),s+=ns(i,t,n,c,o);else if(i==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function Ri(e,t,n){if(e==null)return e;var r=[],o=0;return ns(e,r,"","",function(i){return t.call(n,i,o++)}),r}function x0(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Fe={current:null},rs={transition:null},w0={ReactCurrentDispatcher:Fe,ReactCurrentBatchConfig:rs,ReactCurrentOwner:Sc};function sp(){throw Error("act(...) is not supported in production builds of React.")}Q.Children={map:Ri,forEach:function(e,t,n){Ri(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return Ri(e,function(){t++}),t},toArray:function(e){return Ri(e,function(t){return t})||[]},only:function(e){if(!kc(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};Q.Component=uo;Q.Fragment=a0;Q.Profiler=c0;Q.PureComponent=bc;Q.StrictMode=l0;Q.Suspense=p0;
vendor: 6,875 bytes, lines 9-25
9Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=w0;Q.act=sp;Q.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ep({},e.props),o=e.key,i=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(i=t.ref,s=Sc.current),t.key!==void 0&&(o=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(c in t)rp.call(t,c)&&!op.hasOwnProperty(c)&&(r[c]=t[c]===void 0&&a!==void 0?a[c]:t[c])}var c=arguments.length-2;if(c===1)r.children=n;else if(1<c){a=Array(c);for(var u=0;u<c;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:yi,type:e.type,key:o,ref:i,props:r,_owner:s}};Q.createContext=function(e){return e={$$typeof:d0,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:u0,_context:e},e.Consumer=e};Q.createElement=ip;Q.createFactory=function(e){var t=ip.bind(null,e);return t.type=e,t};Q.createRef=function(){return{current:null}};Q.forwardRef=function(e){return{$$typeof:f0,render:e}};Q.isValidElement=kc;Q.lazy=function(e){return{$$typeof:m0,_payload:{_status:-1,_result:e},_init:x0}};Q.memo=function(e,t){return{$$typeof:h0,type:e,compare:t===void 0?null:t}};Q.startTransition=function(e){var t=rs.transition;rs.transition={};try{e()}finally{rs.transition=t}};Q.unstable_act=sp;Q.useCallback=function(e,t){return Fe.current.useCallback(e,t)};Q.useContext=function(e){return Fe.current.useContext(e)};Q.useDebugValue=function(){};Q.useDeferredValue=function(e){return Fe.current.useDeferredValue(e)};Q.useEffect=function(e,t){return Fe.current.useEffect(e,t)};Q.useId=function(){return Fe.current.useId()};Q.useImperativeHandle=function(e,t,n){return Fe.current.useImperativeHandle(e,t,n)};Q.useInsertionEffect=function(e,t){return Fe.current.useInsertionEffect(e,t)};Q.useLayoutEffect=function(e,t){return Fe.current.useLayoutEffect(e,t)};Q.useMemo=function(e,t){return Fe.current.useMemo(e,t)};Q.useReducer=function(e,t,n){return Fe.current.useReducer(e,t,n)};Q.useRef=function(e){return Fe.current.useRef(e)};Q.useState=function(e){return Fe.current.useState(e)};Q.useSyncExternalStore=function(e,t,n){return Fe.current.useSyncExternalStore(e,t,n)};Q.useTransition=function(){return Fe.current.useTransition()};Q.version="18.3.1";Xf.exports=Q;var w=Xf.exports;const R=Zf(w),ap=i0({__proto__:null,default:R},[w]);/**
10 * @license React
11 * react-jsx-runtime.production.min.js
12 *
13 * Copyright (c) Facebook, Inc. and its affiliates.
14 *
15 * This source code is licensed under the MIT license found in the
16 * LICENSE file in the root directory of this source tree.
17 */var b0=w,C0=Symbol.for("react.element"),S0=Symbol.for("react.fragment"),k0=Object.prototype.hasOwnProperty,N0=b0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,E0={key:!0,ref:!0,__self:!0,__source:!0};function lp(e,t,n){var r,o={},i=null,s=null;n!==void 0&&(i=""+n),t.key!==void 0&&(i=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)k0.call(t,r)&&!E0.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)o[r]===void 0&&(o[r]=t[r]);return{$$typeof:C0,type:e,key:i,ref:s,props:o,_owner:N0.current}}Zs.Fragment=S0;Zs.jsx=lp;Zs.jsxs=lp;qf.exports=Zs;var l=qf.exports,cp={exports:{}},et={},up={exports:{}},dp={};/**
18 * @license React
19 * scheduler.production.min.js
20 *
21 * Copyright (c) Facebook, Inc. and its affiliates.
22 *
23 * This source code is licensed under the MIT license found in the
24 * LICENSE file in the root directory of this source tree.
25 */(function(e){function t(j,P){var _=j.length;j.push(P);e:for(;0<_;){var U=_-1>>>1,D=j[U];if(0<o(D,P))j[U]=P,j[_]=D,_=U;else break e}}function n(j){return j.length===0?null:j[0]}function r(j){if(j.length===0)return null;var P=j[0],_=j.pop();if(_!==P){j[0]=_;e:for(var U=0,D=j.length,G=D>>>1;U<G;){var Z=2*(U+1)-1,ge=j[Z],Pe=Z+1,ee=j[Pe];if(0>o(ge,_))Pe<D&&0>o(ee,ge)?(j[U]=ee,j[Pe]=_,U=Pe):(j[U]=ge,j[Z]=_,U=Z);else if(Pe<D&&0>o(ee,_))j[U]=ee,j[Pe]=_,U=Pe;else break e}}return P}function o(j,P){var _=j.sortIndex-P.sortIndex;return _!==0?_:j.id-P.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var c=[],u=[],d=1,f=null,h=3,p=!1,x=!1,v=!1,b=typeof setTimeout=="function"?setTimeout:null,g=typeof clearTimeout=="function"?clearTimeout:null,m=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function y(j){for(var P=n(u);P!==null;){if(P.callback===null)r(u);else if(P.startTime<=j)r(u),P.sortIndex=P.expirationTime,t(c,P);else break;P=n(u)}}function C(j){if(v=!1,y(j),!x)if(n(c)!==null)x=!0,$(S);else{var P=n(u);P!==null&&V(C,P.startTime-j)}}function S(j,P){x=!1,v&&(v=!1,g(T),T=-1),p=!0;var _=h;try{for(y(P),f=n(c);f!==null&&(!(f.expirationTime>P)||j&&!F());){var U=f.callback;if(typeof U=="function"){f.callback=null,h=f.priorityLevel;var D=U(f.expirationTime<=P);P=e.unstable_now(),typeof D=="function"?f.callback=D:f===n(c)&&r(c),y(P)}else r(c);f=n(c)}if(f!==null)var G=!0;else{var Z=n(u);Z!==null&&V(C,Z.startTime-P),G=!1}return G}finally{f=null,h=_,p=!1}}var k=!1,N=null,T=-1,M=5,I=-1;function F(){return!(e.unstable_now()-I<M)}function z(){if(N!==null){var j=e.unstable_now();I=j;var P=!0;try{P=N(!0,j)}finally{P?K():(k=!1,N=null)}}else k=!1}var K;if(typeof m=="function")K=function(){m(z)};else if(typeof MessageChannel<"u"){var O=new MessageChannel,Y=O.port2;O.port1.onmessage=z,K=function(){Y.postMessage(null)}}else K=function(){b(z,0)};function $(j){N=j,k||(k=!0,K())}function V(j,P){T=b(function(){j(e.unstable_now())},P)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(j){j.callback=null},e.unstable_continueExecution=function(){x||p||(x=!0,$(S))},e.unstable_forceFrameRate=function(j){0>j||125<j?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<j?Math.floor(1e3/j):5},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_getFirstCallbackNode=function(){return n(c)},e.unstable_next=function(j){switch(h){case 1:case 2:case 3:var P=3;break;default:P=h}var _=h;h=P;try{return j()}finally{h=_}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(j,P){switch(j){case 1:case 2:case 3:case 4:case 5:break;default:j=3}var _=h;h=j;try{return P()}finally{h=_}},e.unstable_scheduleCallback=function(j,P,_){var U=e.unstable_now();switch(typeof _=="object"&&_!==null?(_=_.delay,_=typeof _=="number"&&0<_?U+_
vendor: 4,725 bytes, lines 25-33
25:U):_=U,j){case 1:var D=-1;break;case 2:D=250;break;case 5:D=1073741823;break;case 4:D=1e4;break;default:D=5e3}return D=_+D,j={id:d++,callback:P,priorityLevel:j,startTime:_,expirationTime:D,sortIndex:-1},_>U?(j.sortIndex=_,t(u,j),n(c)===null&&j===n(u)&&(v?(g(T),T=-1):v=!0,V(C,_-U))):(j.sortIndex=D,t(c,j),x||p||(x=!0,$(S))),j},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(j){var P=h;return function(){var _=h;h=P;try{return j.apply(this,arguments)}finally{h=_}}}})(dp);up.exports=dp;var j0=up.exports;/**
26 * @license React
27 * react-dom.production.min.js
28 *
29 * Copyright (c) Facebook, Inc. and its affiliates.
30 *
31 * This source code is licensed under the MIT license found in the
32 * LICENSE file in the root directory of this source tree.
33 */var P0=w,Je=j0;function A(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var fp=new Set,Ko={};function fr(e,t){Jr(e,t),Jr(e+"Capture",t)}function Jr(e,t){for(Ko[e]=t,e=0;e<t.length;e++)fp.add(t[e])}var Gt=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ll=Object.prototype.hasOwnProperty,T0=/^[: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]*$/,Gu={},Qu={};function A0(e){return ll.call(Qu,e)?!0:ll.call(Gu,e)?!1:T0.test(e)?Qu[e]=!0:(Gu[e]=!0,!1)}function R0(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function I0(e,t,n,r){if(t===null||typeof t>"u"||R0(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function $e(e,t,n,r,o,i,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}var Ee={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Ee[e]=new $e(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Ee[t]=new $e(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){Ee[e]=new $e(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Ee[e]=new $e(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Ee[e]=new $e(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){Ee[e]=new $e(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){Ee[e]=new $e(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){Ee[e]=new $e(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){Ee[e]=new $e(e,5,!1,e.toLowerCase(),null,!1,!1)});var Nc=/[\-:]([a-z])/g;function Ec(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
33-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Nc,Ec);Ee[t]=new $e(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Nc,Ec);Ee[t]=new $e(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Nc,Ec);Ee[t]=new $e(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){Ee[e]=new $e(e,1,!1,e.toLowerCase(),null,!1,!1)});Ee.xlinkHref=new $e("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){Ee[e]=new $e(e,1,!1,e.toLowerCase(),null,!0,!0)});function jc(e,t,n,r){var o=Ee.hasOwnProperty(t)?Ee[t]:null;(o!==null?o.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(I0(t,n,o,r)&&(n=null),r||o===null?A0(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=n===null?o.type===3?!1:"":n:(t=o.attributeName,r=o.attributeNamespace,n===null?e.removeAttribute(t):(o=o.type,n=o===3||o===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}var Jt=P0.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,Ii=Symbol.for("react.element"),kr=Symbol.for("react.portal"),Nr=Symbol.for("react.fragment"),Pc=Symbol.for("react.strict_mode"),cl=Symbol.for("react.profiler"),pp=Symbol.for("react.provider"),hp=Symbol.for("react.context"),Tc=Symbol.for("react.forward_ref"),ul=Symbol.for("react.suspense"),dl=Symbol.for("react.suspense_list"),Ac=Symbol.for("react.memo"),dn=Symbol.for("react.lazy"),mp=Symbol.for("react.offscreen"),Yu=Symbol.iterator;function bo(e){return e===null||typeof e!="object"?null:(e=Yu&&e[Yu]||e["@@iterator"],typeof e=="function"?e:null)}var fe=Object.assign,Ta;function Ro(e){if(Ta===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);Ta=t&&t[1]||""}return`
34`+Ta+e}var Aa=!1;function Ra(e,t){if(!e||Aa)return"";Aa=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var o=u.stack.split(`
35`),i=r.stack.split(`
36`),s=o.length-1,a=i.length-1;1<=s&&0<=a&&o[s]!==i[a];)a--;for(;1<=s&&0<=a;s--,a--)if(o[s]!==i[a]){if(s!==1||a!==1)do if(s--,a--,0>a||o[s]!==i[a]){var c=`
37`+o[s].replace(" at new "," at ");return e.displayName&&c.includes("<anonymous>")&&(c=c.replace("<anonymous>",e.displayName)),c}while(1<=s&&0<=a);break}}}finally{Aa=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Ro(e):""}function M0(e){switch(e.tag){case 5:return Ro(e.type);case 16:return Ro("Lazy");case 13:return Ro("Suspense");case 19:return Ro("SuspenseList");case 0:case 2:case 15:return e=Ra(e.type,!1),e;case 11:return e=Ra(e.type.render,!1),e;case 1:return e=Ra(e.type,!0),e;default:return""}}function fl(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Nr:return"Fragment";case kr:return"Portal";case cl:return"Profiler";case Pc:return"StrictMode";case ul:return"Suspense";case dl:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case hp:return(e.displayName||"Context")+".Consumer";case pp:return(e._context.displayName||"Context")+".Provider";case Tc:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ac:return t=e.displayName||null,t!==null?t:fl(e.type)||"Memo";case dn:t=e._payload,e=e._init;try{return fl(e(t))}catch{}}return null}function O0(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return fl(t);case 8:return t===Pc?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Mn(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function gp(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function _0(e){var t=gp(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(s){r=""+s,i.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Mi(e){e._valueTracker||(e._valueTracker=_0(e))}function vp(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=gp(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function vs(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function pl(e,t){var n=t.checked;return fe({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Zu(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Mn(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}
vendor: 4,651 bytes, line 37
37function yp(e,t){t=t.checked,t!=null&&jc(e,"checked",t,!1)}function hl(e,t){yp(e,t);var n=Mn(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?ml(e,t.type,n):t.hasOwnProperty("defaultValue")&&ml(e,t.type,Mn(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function qu(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function ml(e,t,n){(t!=="number"||vs(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Io=Array.isArray;function zr(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Mn(n),t=null,o=0;o<e.length;o++){if(e[o].value===n){e[o].selected=!0,r&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function gl(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(A(91));return fe({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function Xu(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(A(92));if(Io(n)){if(1<n.length)throw Error(A(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:Mn(n)}}function xp(e,t){var n=Mn(t.value),r=Mn(t.defaultValue);n!=null&&(n=""+n,n!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function Ju(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function wp(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function vl(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?wp(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Oi,bp=function(e){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(t,n,r,o){MSApp.execUnsafeLocalFunction(function(){return e(t,n,r,o)})}:e}(function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for(Oi=Oi||document.createElement("div"),Oi.innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Oi.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Go(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Lo={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},L0=["Webkit","ms","Moz","O"];Object.keys(Lo).forEach(function(e){L0.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Lo[t]=Lo[e]})});function Cp(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Lo.hasOwnProperty(e)&&Lo[e]?(""+t).trim():t+"px"}function Sp(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,o=Cp(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}var z0=fe({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function yl(e,t){if(t){if(z0[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(A(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(A(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(A(61))}if(t.style!=null&&typeof t.style!="object")throw Error(A(62))}}function xl(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
37ing";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 wl=null;function Rc(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var bl=null,Dr=null,Fr=null;function ed(e){if(e=bi(e)){if(typeof bl!="function")throw Error(A(280));var t=e.stateNode;t&&(t=ta(t),bl(e.stateNode,e.type,t))}}function kp(e){Dr?Fr?Fr.push(e):Fr=[e]:Dr=e}function Np(){if(Dr){var e=Dr,t=Fr;if(Fr=Dr=null,ed(e),t)for(e=0;e<t.length;e++)ed(t[e])}}function Ep(e,t){return e(t)}function jp(){}var Ia=!1;function Pp(e,t,n){if(Ia)return e(t,n);Ia=!0;try{return Ep(e,t,n)}finally{Ia=!1,(Dr!==null||Fr!==null)&&(jp(),Np())}}function Qo(e,t){var n=e.stateNode;if(n===null)return null;var r=ta(n);if(r===null)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(e=e.type,r=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break e;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(A(231,t,typeof n));return n}var Cl=!1;if(Gt)try{var Co={};Object.defineProperty(Co,"passive",{get:function(){Cl=!0}}),window.addEventListener("test",Co,Co),window.removeEventListener("test",Co,Co)}catch{Cl=!1}function D0(e,t,n,r,o,i,s,a,c){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(d){this.onError(d)}}var zo=!1,ys=null,xs=!1,Sl=null,F0={onError:function(e){zo=!0,ys=e}};function $0(e,t,n,r,o,i,s,a,c){zo=!1,ys=null,D0.apply(F0,arguments)}function B0(e,t,n,r,o,i,s,a,c){if($0.apply(this,arguments),zo){if(zo){var u=ys;zo=!1,ys=null}else throw Error(A(198));xs||(xs=!0,Sl=u)}}function pr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function Tp(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function td(e){if(pr(e)!==e)throw Error(A(188))}function H0(e){var t=e.alternate;if(!t){if(t=pr(e),t===null)throw Error(A(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(o===null)break;var i=o.alternate;if(i===null){if(r=o.return,r!==null){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return td(o),e;if(i===r)return td(o),t;i=i.sibling}throw Error(A(188))}if(n.return!==r.return)n=o,r=i;else{for(var s=!1,a=o.child;a;){if(a===n){s=!0,n=o,r=i;break}if(a===r){s=!0,r=o,n=i;break}a=a.sibling}if(!s){for(a=i.child;a;){if(a===n){s=!0,n=i,r=o;break}if(a===r){s=!0,r=i,n=o;break}a=a.sibling}if(!s)throw Error(A(189))}}if(n.alternate!==r)throw Error(A(190))}if(n.tag!==3)throw Error(A(188));return n.stateNode.current===n?e:t}function Ap(e){return e=H0(e),e!==null?Rp(e):null}function Rp(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Rp(e);if(t!==null)return t;e=e.sibling}return null}var Ip=Je.unstable_scheduleCallback,nd=Je.unstable_cancelCallback,V0=Je.unstable_shouldYield,U0=Je.unstable_requestPaint,me=Je.unstable_now,W0=Je.unstable_getCurrentPriorityLevel,Ic=Je.unstable_ImmediatePriority,Mp=Je.unstable_UserBlockingPriority,ws=Je.unstable_NormalPriority,K0=Je.unstable_LowPriority,Op=Je.unstable_IdlePriority,qs=null,Ot=null;function G0(e){if(Ot&&typeof Ot.onCommitFiberRoot=="function")try{Ot.onCommitFiberRoot(qs,e,void 0,(e.current.flags&128)===128)}catch{}}var bt=Math.clz32?Math.clz32:Z0,Q0=Math.log,Y0=Math.LN2;function Z0(e){return e>>>=0,e===0?32:31-(Q0(e)/Y0|0)|0}var _i=64,Li=4194304;function Mo(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function bs(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,s=n&268435455;if(s!==0){var a=s&~o;a!==0?r=Mo(a):(i&=s,i!==0&&(r=Mo(i)))}else s=n&~o,s!==0?r=Mo(s):i!==0&&(r=Mo(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&o)&&(o=r&-r,i=t&-t,o>=i||o===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0<t;)n=31-bt(t),o=1<<n,r|=e[n],t&=~o;return r}function q0(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function X0(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var s=31-bt(i),a=1<<s,c=o[s];c===-1?(!(a&n)||a&r)&&(o[s]=q0(a,t)):c<=t&&(e.expiredLanes|=a),i&=~a}}function kl(e){return e=e.pendingLanes&-1073741825,e!==0?e:e&1073741824?1073741824:0}function _p(){var e=_i;return _i<<=1,!(_i&4194240)&&(_i=64),e}function Ma(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function xi(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-bt(t),e[t]=n}function J0(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-bt(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}function Mc(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-bt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var te=0;function Lp(e){return e&=-e,1<e?4<e?e&268435455?16:536870912:4:1}var zp,Oc,Dp,Fp,$p,Nl=!1,zi=[],kn=null,Nn=null,En=null,Yo=new Map,Zo=new Map,pn=[],ev="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function rd(e,t){switch(e){case"focusin":case"focusout":kn=null;break;case"dragenter":case"dragleave":Nn=null;break;case"mouseover":case"mouseout":En=null;break;case"pointerover":case"pointerout":Yo.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Zo.delete(t.pointerId)}}function So(e,t,n,r,o,i){return e===null||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},t!==null&&(t=bi(t),t!==null&&Oc(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function tv(e,t,n,r,o){switch(t){case"focusin":return kn=So(kn,e,t,n,r,o),!0;case"dragenter":return Nn=So(Nn,e,t,n,r,o),!0;case"mouseover":return En=So(En,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Yo.set(i,So(Yo.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Zo.set(i,So(Zo.get(i)||null,e,t,n,r,o)),!0}return!1}function Bp(e){var t=Qn(e.target);if(t!==null){var n=pr(t);if(n!==null){if(t=n.tag,t===13){if(t=Tp(n),t!==null){e.blockedOn=t,$p(e.priority,function(){Dp(n)});return}}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated){e.blockedOn=n.tag===3?n.stateNode.containerInfo:null;return}}}e.blockedOn=null}function os(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=El(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n===null){n=e.nativeEvent;var r=new n.constructor(n.type,n);wl=r,n.target.dispatchEvent(r),wl=null}else return t=bi(n),t!==null&&Oc(t),e.blockedOn=n,!1;t.shift()}return!0}
vendor: 11,995 bytes, line 37
37function od(e,t,n){os(e)&&n.delete(t)}function nv(){Nl=!1,kn!==null&&os(kn)&&(kn=null),Nn!==null&&os(Nn)&&(Nn=null),En!==null&&os(En)&&(En=null),Yo.forEach(od),Zo.forEach(od)}function ko(e,t){e.blockedOn===t&&(e.blockedOn=null,Nl||(Nl=!0,Je.unstable_scheduleCallback(Je.unstable_NormalPriority,nv)))}function qo(e){function t(o){return ko(o,e)}if(0<zi.length){ko(zi[0],e);for(var n=1;n<zi.length;n++){var r=zi[n];r.blockedOn===e&&(r.blockedOn=null)}}for(kn!==null&&ko(kn,e),Nn!==null&&ko(Nn,e),En!==null&&ko(En,e),Yo.forEach(t),Zo.forEach(t),n=0;n<pn.length;n++)r=pn[n],r.blockedOn===e&&(r.blockedOn=null);for(;0<pn.length&&(n=pn[0],n.blockedOn===null);)Bp(n),n.blockedOn===null&&pn.shift()}var $r=Jt.ReactCurrentBatchConfig,Cs=!0;function rv(e,t,n,r){var o=te,i=$r.transition;$r.transition=null;try{te=1,_c(e,t,n,r)}finally{te=o,$r.transition=i}}function ov(e,t,n,r){var o=te,i=$r.transition;$r.transition=null;try{te=4,_c(e,t,n,r)}finally{te=o,$r.transition=i}}function _c(e,t,n,r){if(Cs){var o=El(e,t,n,r);if(o===null)Va(e,t,r,Ss,n),rd(e,r);else if(tv(o,e,t,n,r))r.stopPropagation();else if(rd(e,r),t&4&&-1<ev.indexOf(e)){for(;o!==null;){var i=bi(o);if(i!==null&&zp(i),i=El(e,t,n,r),i===null&&Va(e,t,r,Ss,n),i===o)break;o=i}o!==null&&r.stopPropagation()}else Va(e,t,r,null,n)}}var Ss=null;function El(e,t,n,r){if(Ss=null,e=Rc(r),e=Qn(e),e!==null)if(t=pr(e),t===null)e=null;else if(n=t.tag,n===13){if(e=Tp(t),e!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Ss=e,null}function Hp(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(W0()){case Ic:return 1;case Mp:return 4;case ws:case K0:return 16;case Op:return 536870912;default:return 16}default:return 16}}var wn=null,Lc=null,is=null;function Vp(){if(is)return is;var e,t=Lc,n=t.length,r,o="value"in wn?wn.value:wn.textContent,i=o.length;for(e=0;e<n&&t[e]===o[e];e++);var s=n-e;for(r=1;r<=s&&t[n-r]===o[i-r];r++);return is=o.slice(e,1<r?1-r:void 0)}function ss(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Di(){return!0}function id(){return!1}function tt(e){function t(n,r,o,i,s){this._reactName=n,this._targetInst=o,this.type=r,this.nativeEvent=i,this.target=s,this.currentTarget=null;for(var a in e)e.hasOwnProperty(a)&&(n=e[a],this[a]=n?n(i):i[a]);return this.isDefaultPrevented=(i.defaultPrevented!=null?i.defaultPrevented:i.returnValue===!1)?Di:id,this.isPropagationStopped=id,this}return fe(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Di)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Di)},persist:function(){},isPersistent:Di}),t}var fo={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},zc=tt(fo),wi=fe({},fo,{view:0,detail:0}),iv=tt(wi),Oa,_a,No,Xs=fe({},wi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Dc,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!==No&&(No&&e.type==="mousemove"?(Oa=e.screenX-No.screenX,_a=e.screenY-No.screenY):_a=Oa=0,No=e),Oa)},movementY:function(e){return"movementY"in e?e.movementY:_a}}),sd=tt(Xs),sv=fe({},Xs,{dataTransfer:0}),av=tt(sv),lv=fe({},wi,{relatedTarget:0}),La=tt(lv),cv=fe({},fo,{animationName:0,elapsedTime:0,pseudoElement:0}),uv=tt(cv),dv=fe({},fo,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),fv=tt(dv),pv=fe({},fo,{data:0}),ad=tt(pv),hv={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},mv={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"},gv={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vv(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=gv[e])?!!t[e]:!1}function Dc(){return vv}var yv=fe({},wi,{key:function(e){if(e.key){var t=hv[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=ss(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?mv[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Dc,charCode:function(e){return e.type==="keypress"?ss(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?ss(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),xv=tt(yv),wv=fe({},Xs,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),ld=tt(wv),bv=fe({},wi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Dc}),Cv=tt(bv),Sv=fe({},fo,{propertyName:0,elapsedTime:0,pseudoElement:0}),kv=tt(Sv),Nv=fe({},Xs,{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}),Ev=tt(Nv),jv=[9,13,27,32],Fc=Gt&&"CompositionEvent"in window,Do=null;Gt&&"documentMode"in document&&(Do=document.documentMode);var Pv=Gt&&"TextEvent"in window&&!Do,Up=Gt&&(!Fc||Do&&8<Do&&11>=Do),cd=" ",ud=!1;function Wp(e,t){switch(e){case"keyup":return jv.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Kp(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Er=!1;function Tv(e,t){switch(e){case"compositionend":return Kp(t);case"keypress":return t.which!==32?null:(ud=!0,cd);case"textInput":return e=t.data,e===cd&&ud?null:e;default:return null}}function Av(e,t){if(Er)return e==="compositionend"||!Fc&&Wp(e,t)?(e=Vp(),is=Lc=wn=null,Er=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Up&&t.locale!=="ko"?null:t.data;default:return null}}var Rv={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 dd(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Rv[e.type]:t==="textarea"}function Gp(e,t,n,r){kp(r),t=ks(t,"onChange"),0<t.length&&(n=new zc("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Fo=null,Xo=null;function Iv(e){oh(e,0)}function Js(e){var t=Tr(e);if(vp(t))return e}function Mv(e,t){if(e==="change")return t}var Qp=!1;if(Gt){var za;if(Gt){var Da="oninput"in document;if(!Da){var fd=document.createElement("div");fd.setAttribute("oninput","return;"),Da=typeof fd.oninput=="function"}za=Da}else za=!1;Qp=za&&(!document.documentMode||9<document.documentMode)}function pd(){Fo&&(Fo.detachEvent("onpropertychange",Yp),Xo=Fo=null)}function Yp(e){if(e.propertyName==="value"&&Js(Xo)){var t=[];Gp(t,Xo,e,Rc(e)),Pp(Iv,t)}}function Ov(e,t,n){e==="focusin"?(pd(),Fo=t,Xo=n,Fo.attachEvent("onpropertychange",Yp)):e==="focusout"&&pd()}function _v(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return Js(Xo)}function Lv(e,t){if(e==="click")return Js(t)}function zv(e,t){if(e==="input"||e==="change")return Js(t)}function Dv(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var St=typeof Object.is=="function"?Object.is:Dv;function Jo(e,t){if(St(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!ll.call(t,o)||!St(e[o],t[o]))return!1}return!0}function hd(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function md(e,t){var n=hd(e);e=0;for(var r;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=hd(n)}}function Zp(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Zp(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function qp(){for(var e=window,t=vs();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=vs(e.document)}return t}function $c(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Fv(e){var t=qp(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Zp(n.ownerDocument.documentElement,n)){if(r!==null&&$c(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=r.end===void 0?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=md(n,i);var s=md(n,r);o&&s&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==s.node||e.focusOffset!==s.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(s.node,s.offset)):(t.setEnd(s.node,s.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)e=t[n],e.element.scrollLeft=e.left,e.element.scrollTop=e.top}}var $v=Gt&&"documentMode"in document&&11>=document.documentMode,jr=null,jl=null,$o=null,Pl=!1;function gd(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Pl||jr==null||jr!==vs(r)||(r=jr,"selectionStart"in r&&$c(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focu
vendor: 4,501 bytes, line 37
37sNode:r.focusNode,focusOffset:r.focusOffset}),$o&&Jo($o,r)||($o=r,r=ks(jl,"onSelect"),0<r.length&&(t=new zc("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=jr)))}function Fi(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Pr={animationend:Fi("Animation","AnimationEnd"),animationiteration:Fi("Animation","AnimationIteration"),animationstart:Fi("Animation","AnimationStart"),transitionend:Fi("Transition","TransitionEnd")},Fa={},Xp={};Gt&&(Xp=document.createElement("div").style,"AnimationEvent"in window||(delete Pr.animationend.animation,delete Pr.animationiteration.animation,delete Pr.animationstart.animation),"TransitionEvent"in window||delete Pr.transitionend.transition);function ea(e){if(Fa[e])return Fa[e];if(!Pr[e])return e;var t=Pr[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Xp)return Fa[e]=t[n];return e}var Jp=ea("animationend"),eh=ea("animationiteration"),th=ea("animationstart"),nh=ea("transitionend"),rh=new Map,vd="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function $n(e,t){rh.set(e,t),fr(t,[e])}for(var $a=0;$a<vd.length;$a++){var Ba=vd[$a],Bv=Ba.toLowerCase(),Hv=Ba[0].toUpperCase()+Ba.slice(1);$n(Bv,"on"+Hv)}$n(Jp,"onAnimationEnd");$n(eh,"onAnimationIteration");$n(th,"onAnimationStart");$n("dblclick","onDoubleClick");$n("focusin","onFocus");$n("focusout","onBlur");$n(nh,"onTransitionEnd");Jr("onMouseEnter",["mouseout","mouseover"]);Jr("onMouseLeave",["mouseout","mouseover"]);Jr("onPointerEnter",["pointerout","pointerover"]);Jr("onPointerLeave",["pointerout","pointerover"]);fr("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));fr("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));fr("onBeforeInput",["compositionend","keypress","textInput","paste"]);fr("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));fr("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));fr("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Oo="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(" "),Vv=new Set("cancel close invalid load scroll toggle".split(" ").concat(Oo));function yd(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,B0(r,t,void 0,e),e.currentTarget=null}function oh(e,t){t=(t&4)!==0;for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var s=r.length-1;0<=s;s--){var a=r[s],c=a.instance,u=a.currentTarget;if(a=a.listener,c!==i&&o.isPropagationStopped())break e;yd(o,a,u),i=c}else for(s=0;s<r.length;s++){if(a=r[s],c=a.instance,u=a.currentTarget,a=a.listener,c!==i&&o.isPropagationStopped())break e;yd(o,a,u),i=c}}}if(xs)throw e=Sl,xs=!1,Sl=null,e}function ie(e,t){var n=t[Ml];n===void 0&&(n=t[Ml]=new Set);var r=e+"__bubble";n.has(r)||(ih(t,e,2,!1),n.add(r))}function Ha(e,t,n){var r=0;t&&(r|=4),ih(n,e,r,t)}var $i="_reactListening"+Math.random().toString(36).slice(2);function ei(e){if(!e[$i]){e[$i]=!0,fp.forEach(function(n){n!=="selectionchange"&&(Vv.has(n)||Ha(n,!1,e),Ha(n,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[$i]||(t[$i]=!0,Ha("selectionchange",!1,t))}}function ih(e,t,n,r){switch(Hp(t)){case 1:var o=rv;break;case 4:o=ov;break;default:o=_c}n=o.bind(null,t,n,e),o=void 0,!Cl||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),r?o!==void 0?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):o!==void 0?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Va(e,t,n,r,o){var i=r;if(!(t&1)&&!(t&2)&&r!==null)e:for(;;){if(r===null)return;var s=r.tag;if(s===3||s===4){var a=r.stateNode.containerInfo;
vendor: 24,355 bytes, lines 37-38
37if(a===o||a.nodeType===8&&a.parentNode===o)break;if(s===4)for(s=r.return;s!==null;){var c=s.tag;if((c===3||c===4)&&(c=s.stateNode.containerInfo,c===o||c.nodeType===8&&c.parentNode===o))return;s=s.return}for(;a!==null;){if(s=Qn(a),s===null)return;if(c=s.tag,c===5||c===6){r=i=s;continue e}a=a.parentNode}}r=r.return}Pp(function(){var u=i,d=Rc(n),f=[];e:{var h=rh.get(e);if(h!==void 0){var p=zc,x=e;switch(e){case"keypress":if(ss(n)===0)break e;case"keydown":case"keyup":p=xv;break;case"focusin":x="focus",p=La;break;case"focusout":x="blur",p=La;break;case"beforeblur":case"afterblur":p=La;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":p=sd;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":p=av;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":p=Cv;break;case Jp:case eh:case th:p=uv;break;case nh:p=kv;break;case"scroll":p=iv;break;case"wheel":p=Ev;break;case"copy":case"cut":case"paste":p=fv;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":p=ld}var v=(t&4)!==0,b=!v&&e==="scroll",g=v?h!==null?h+"Capture":null:h;v=[];for(var m=u,y;m!==null;){y=m;var C=y.stateNode;if(y.tag===5&&C!==null&&(y=C,g!==null&&(C=Qo(m,g),C!=null&&v.push(ti(m,C,y)))),b)break;m=m.return}0<v.length&&(h=new p(h,x,null,n,d),f.push({event:h,listeners:v}))}}if(!(t&7)){e:{if(h=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",h&&n!==wl&&(x=n.relatedTarget||n.fromElement)&&(Qn(x)||x[Qt]))break e;if((p||h)&&(h=d.window===d?d:(h=d.ownerDocument)?h.defaultView||h.parentWindow:window,p?(x=n.relatedTarget||n.toElement,p=u,x=x?Qn(x):null,x!==null&&(b=pr(x),x!==b||x.tag!==5&&x.tag!==6)&&(x=null)):(p=null,x=u),p!==x)){if(v=sd,C="onMouseLeave",g="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(v=ld,C="onPointerLeave",g="onPointerEnter",m="pointer"),b=p==null?h:Tr(p),y=x==null?h:Tr(x),h=new v(C,m+"leave",p,n,d),h.target=b,h.relatedTarget=y,C=null,Qn(d)===u&&(v=new v(g,m+"enter",x,n,d),v.target=y,v.relatedTarget=b,C=v),b=C,p&&x)t:{for(v=p,g=x,m=0,y=v;y;y=Sr(y))m++;for(y=0,C=g;C;C=Sr(C))y++;for(;0<m-y;)v=Sr(v),m--;for(;0<y-m;)g=Sr(g),y--;for(;m--;){if(v===g||g!==null&&v===g.alternate)break t;v=Sr(v),g=Sr(g)}v=null}else v=null;p!==null&&xd(f,h,p,v,!1),x!==null&&b!==null&&xd(f,b,x,v,!0)}}e:{if(h=u?Tr(u):window,p=h.nodeName&&h.nodeName.toLowerCase(),p==="select"||p==="input"&&h.type==="file")var S=Mv;else if(dd(h))if(Qp)S=zv;else{S=_v;var k=Ov}else(p=h.nodeName)&&p.toLowerCase()==="input"&&(h.type==="checkbox"||h.type==="radio")&&(S=Lv);if(S&&(S=S(e,u))){Gp(f,S,n,d);break e}k&&k(e,h,u),e==="focusout"&&(k=h._wrapperState)&&k.controlled&&h.type==="number"&&ml(h,"number",h.value)}switch(k=u?Tr(u):window,e){case"focusin":(dd(k)||k.contentEditable==="true")&&(jr=k,jl=u,$o=null);break;case"focusout":$o=jl=jr=null;break;case"mousedown":Pl=!0;break;case"contextmenu":case"mouseup":case"dragend":Pl=!1,gd(f,n,d);break;case"selectionchange":if($v)break;case"keydown":case"keyup":gd(f,n,d)}var N;if(Fc)e:{switch(e){case"compositionstart":var T="onCompositionStart";break e;case"compositionend":T="onCompositionEnd";break e;case"compositionupdate":T="onCompositionUpdate";break e}T=void 0}else Er?Wp(e,n)&&(T="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(T="onCompositionStart");T&&(Up&&n.locale!=="ko"&&(Er||T!=="onCompositionStart"?T==="onCompositionEnd"&&Er&&(N=Vp()):(wn=d,Lc="value"in wn?wn.value:wn.textContent,Er=!0)),k=ks(u,T),0<k.length&&(T=new ad(T,e,null,n,d),f.push({event:T,listeners:k}),N?T.data=N:(N=Kp(n),N!==null&&(T.data=N)))),(N=Pv?Tv(e,n):Av(e,n))&&(u=ks(u,"onBeforeInput"),0<u.length&&(d=new ad("onBeforeInput","beforeinput",null,n,d),f.push({event:d,listeners:u}),d.data=N))}oh(f,t)})}function ti(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ks(e,t){for(var n=t+"Capture",r=[];e!==null;){var o=e,i=o.stateNode;o.tag===5&&i!==null&&(o=i,i=Qo(e,n),i!=null&&r.unshift(ti(e,i,o)),i=Qo(e,t),i!=null&&r.push(ti(e,i,o))),e=e.return}return r}function Sr(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}function xd(e,t,n,r,o){for(var i=t._reactName,s=[];n!==null&&n!==r;){var a=n,c=a.alternate,u=a.stateNode;if(c!==null&&c===r)break;a.tag===5&&u!==null&&(a=u,o?(c=Qo(n,i),c!=null&&s.unshift(ti(n,c,a))):o||(c=Qo(n,i),c!=null&&s.push(ti(n,c,a)))),n=n.return}s.length!==0&&e.push({event:t,listeners:s})}var Uv=/\r\n?/g,Wv=/\u0000|\uFFFD/g;function wd(e){return(typeof e=="string"?e:""+e).replace(Uv,`
38`).replace(Wv,"")}function Bi(e,t,n){if(t=wd(t),wd(e)!==t&&n)throw Error(A(425))}function Ns(){}var Tl=null,Al=null;function Rl(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Il=typeof setTimeout=="function"?setTimeout:void 0,Kv=typeof clearTimeout=="function"?clearTimeout:void 0,bd=typeof Promise=="function"?Promise:void 0,Gv=typeof queueMicrotask=="function"?queueMicrotask:typeof bd<"u"?function(e){return bd.resolve(null).then(e).catch(Qv)}:Il;function Qv(e){setTimeout(function(){throw e})}function Ua(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&o.nodeType===8)if(n=o.data,n==="/$"){if(r===0){e.removeChild(o),qo(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=o}while(n);qo(t)}function jn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Cd(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),It="__reactFiber$"+po,ni="__reactProps$"+po,Qt="__reactContainer$"+po,Ml="__reactEvents$"+po,Yv="__reactListeners$"+po,Zv="__reactHandles$"+po;function Qn(e){var t=e[It];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Qt]||n[It]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Cd(e);e!==null;){if(n=e[It])return n;e=Cd(e)}return t}e=n,n=e.parentNode}return null}function bi(e){return e=e[It]||e[Qt],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Tr(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(A(33))}function ta(e){return e[ni]||null}var Ol=[],Ar=-1;function Bn(e){return{current:e}}function se(e){0>Ar||(e.current=Ol[Ar],Ol[Ar]=null,Ar--)}function re(e,t){Ar++,Ol[Ar]=e.current,e.current=t}var On={},Oe=Bn(On),Ue=Bn(!1),ir=On;function eo(e,t){var n=e.type.contextTypes;if(!n)return On;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={},i;for(i in n)o[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function We(e){return e=e.childContextTypes,e!=null}function Es(){se(Ue),se(Oe)}function Sd(e,t,n){if(Oe.current!==On)throw Error(A(168));re(Oe,t),re(Ue,n)}function sh(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var o in r)if(!(o in t))throw Error(A(108,O0(e)||"Unknown",o));return fe({},n,r)}function js(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||On,ir=Oe.current,re(Oe,e),re(Ue,Ue.current),!0}function kd(e,t,n){var r=e.stateNode;if(!r)throw Error(A(169));n?(e=sh(e,t,ir),r.__reactInternalMemoizedMergedChildContext=e,se(Ue),se(Oe),re(Oe,e)):se(Ue),re(Ue,n)}var Ht=null,na=!1,Wa=!1;function ah(e){Ht===null?Ht=[e]:Ht.push(e)}function qv(e){na=!0,ah(e)}function Hn(){if(!Wa&&Ht!==null){Wa=!0;var e=0,t=te;try{var n=Ht;for(te=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Ht=null,na=!1}catch(o){throw Ht!==null&&(Ht=Ht.slice(e+1)),Ip(Ic,Hn),o}finally{te=t,Wa=!1}}return null}var Rr=[],Ir=0,Ps=null,Ts=0,ot=[],it=0,sr=null,Ut=1,Wt="";function Kn(e,t){Rr[Ir++]=Ts,Rr[Ir++]=Ps,Ps=e,Ts=t}function lh(e,t,n){ot[it++]=Ut,ot[it++]=Wt,ot[it++]=sr,sr=e;var r=Ut;e=Wt;var o=32-bt(r)-1;r&=~(1<<o),n+=1;var i=32-bt(t)+o;if(30<i){var s=o-o%5;i=(r&(1<<s)-1).toString(32),r>>=s,o-=s,Ut=1<<32-bt(t)+o|n<<o|r,Wt=i+e}else Ut=1<<i|n<<o|r,Wt=e}function Bc(e){e.return!==null&&(Kn(e,1),lh(e,1,0))}function Hc(e){for(;e===Ps;)Ps=Rr[--Ir],Rr[Ir]=null,Ts=Rr[--Ir],Rr[Ir]=null;for(;e===sr;)sr=ot[--it],ot[it]=null,Wt=ot[--it],ot[it]=null,Ut=ot[--it],ot[it]=null}var qe=null,Ze=null,le=!1,wt=null;function ch(e,t){var n=st(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Nd(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,qe=e,Ze=jn(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,qe=e,Ze=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=sr!==null?{id:Ut,overflow:Wt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=st(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,qe=e,Ze=null,!0):!1;default:return!1}}function _l(e){return(e.mode&1)!==0&&(e.flags&128)===0}function Ll(e){if(le){var t=Ze;if(t){var n=t;if(!Nd(e,t)){if(_l(e))throw Error(A(418));t=jn(n.nextSibling);var r=qe;t&&Nd(e,t)?ch(r,n):(e.flags=e.flags&-4097|2,le=!1,qe=e)}}else{if(_l(e))throw Error(A(418));e.flags=e.flags&-4097|2,le=!1,qe=e}}}function Ed(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;qe=e}function Hi(e){if(e!==qe)return!1;if(!le)return Ed(e),le=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=e.type,t=t!=="head"&&t!=="body"&&!Rl(e.type,e.memoizedProps)),t&&(t=Ze)){if(_l(e))throw uh(),Error(A(418));for(;t;)ch(e,t),t=jn(t.nextSibling)}if(Ed(e),e.tag===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(A(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){Ze=jn(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}Ze=null}}else Ze=qe?jn(e.stateNode.nextSibling):null;return!0}function uh(){for(var e=Ze;e;)e=jn(e.nextSibling)}function to(){Ze=qe=null,le=!1}function Vc(e){wt===null?wt=[e]:wt.push(e)}var Xv=Jt.ReactCurrentBatchConfig;function Eo(e,t,n){if(e=n.ref,e!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner,n){if(n.tag!==1)throw Error(A(309));var r=n.stateNode}if(!r)throw Error(A(147,e));var o=r,i=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===i?t.ref:(t=function(s){var a=o.refs;s===null?delete a[i]:a[i]=s},t._stringRef=i,t)}if(typeof e!="string")throw Error(A(284));if(!n._owner)throw Error(A(290,e))}return e}function Vi(e,t){throw e=Object.prototype.toString.call(t),Error(A(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function jd(e){var t=e._init;return t(e._payload)}function dh(e){function t(g,m){if(e){var y=g.deletions;y===null?(g.deletions=[m],g.flags|=16):y.push(m)}}function n(g,m){if(!e)return null;for(;m!==null;)t(g,m),m=m.sibling;return null}function r(g,m){for(g=new Map;m!==null;)m.key!==null?g.set(m.key,m):g.set(m.index,m),m=m.sibling;return g}function o(g,m){return g=Rn(g,m),g.index=0,g.sibling=null,g}function i(g,m,y){return g.index=y,e?(y=g.alternate,y!==null?(y=y.index,y<m?(g.flags|=2,m):y):(g.flags|=2,m)):(g.flags|=1048576,m)}function s(g){return e&&g.alternate===null&&(g.flags|=2),g}function a(g,m,y,C){return m===null||m.tag!==6?(m=Xa(y,g.mode,C),m.return=g,m):(m=o(m,y),m.return=g,m)}function c(g,m,y,C){var S=y.type;return S===Nr?d(g,m,y.props.children,C,y.key):m!==null&&(m.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===dn&&jd(S)===m.type)?(C=o(m,y.props),C.ref=Eo(g,m,y),C.return=g,C):(C=ps(y.type,y.key,y.props,null,g.mode,C),C.ref=Eo(g,m,y),C.return=g,C)}function u(g,m,y,C){return m===null||m.tag!==4||m.stateNode.containerInfo!==y.containerInfo||m.stateNode.implementation!==y.implementation?(m=Ja(y,g.mode,C),m.return=g,m):(m=o(m,y.children||[]),m.return=g,m)}function d(g,m,y,C,S){return m===null||m.tag!==7?(m=or(y,g.mode,C,S),m.return=g,m):(m=o(m,y),m.return=g,m)}function f(g,m,y){if(typeof m=="string"&&m!==""||typeof m=="number")return m=Xa(""+m,g.mode,y),m.return=g,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case Ii:return y=ps(m.type,m.key,m.props,null,g.mode,y),y.ref=Eo(g,null,m),y.return=g,y;case kr:return m=Ja(m,g.mode,y),m.return=g,m;case dn:var C=m._init;return f(g,C(m._payload),y)}if(Io(m)||bo(m))return m=or(m,g.mode,y,null),m.return=g,m;Vi(g,m)}return null}function h(g,m,y,C){var S=m!==null?m.key:null;if(typeof y=="string"&&y!==""||typeof y=="number")return S!==null?null:a(g,m,""+y,C);if(typeof y=="object"&&y!==null){switch(y.$$typeof){case Ii:return y.key===S?c(g,m,y,C):null;case kr:return y.key===S?u(g,m,y,C):null;case dn:return S=y._init,h(g,m,S(y._payload),C)}if(Io(y)||bo(y))return S!==null?null:d(g,m,y,C,null);Vi(g,y)}return null}function p(g,m,y,C,S){if(typeof C=="string"&&C!==""||typeof C=="number")return g=g.get(y)||null,a(m,g,""+C,S);if(typeof C=="object"&&C!==null){switch(C.$$typeof){case Ii:return g=g.get(C.key===null?y:C.key)||null,c(m,g,C,S);case kr:return g=g.get(C.key===null?y:C.key)||null,u(m,g,C,S);case dn:var k=C._init;return p(g,m,y,k(C._payload),S)}if(Io(C)||bo(C))return g=g.get(y)||null,d(m,g,C,S,null);Vi(m,C)}return null}function x(g,m,y,C){for(var S=null,k=null,N=m,T=m=0,M=null;N!==null&&T<y.length;T++){N.index>T?(M=N,N=null):M=N.sibling;var I=h(g,N,y[T],C);if(I===null){N===null&&(N=M);break}e&&N&&I.alternate===null&&t(g,N),m=i(I,m,T),k===null?S=I:k.sibling=I,k=I,N=M}if(T===y.length)return n(g,N),le&&Kn(g,T),S;if(N===null){for(;T<y.length;T++)N=f(g,y[T],C),N!==null&&(m=i(N,m,T),k===null?S=N:k.sibling=N,k=N);return le&&Kn(g,T),S}for(N=r(g,N);T<y.length;T++)M=p(N,g,T,y[T],C),M!==null&&(e&&M.alternate!==null&&N.delete(M.key===null?T:M.key),m=i(M,m,T),k===null?S=M:k.sibling=M,k=M);return e&&N.forEach(function(F){return t(g,F)}),le&&Kn(g,T),S}function v(g,m,y,C){var S=bo(y);if(typeof S!="function")throw Error(A(150));if(y=S.call(y),y==null)throw Error(A(151));for(var k=S=null,N=m,T=m=0,M=null,I=y.next();N!==null&&!I.done;T++,I=y.next()){N.index>T?(M=N,N=null):M=N.sibling;var F=h(g,N,I.value,C);if(F===null){N===null&&(N=M);break}e&&N&&F.alternate===null&&t(g,N),m=i(F,m,T),k===null?S=F:k.sibling=F,k=F,N=M}if(I.done)return n(g,N),le&&Kn(g,T),S;if(N===null){for(;!I.done;T++,I=y.next())I=f(g,I.value,C),I!==null&&(m=i(I,m,T),k===null?S=I:k.sibling=I,k=I);return le&&Kn(g,T),S}for(N=r(g,N);!I.done;T++,I=y.next())I=p(N,g,T,I.value,C),I!==null&&(e&&I.alternate!==null&&N.delete(I.key===null?T:I.key),m=i(I,m,T),k===null?S=I:k.sibling=I,k=I);return e&&N.forEach(function(z){return t(g,z)}),le&&Kn(g,T),S}function b(g,m,y,C){if(typeof y=="object"&&y!==null&&y.type===Nr&&y.key===null&&(y=y.props.children),typeof y=="object"&&y!==null){switch(y.$$typeof){case Ii:e:{for(var S=y.key,k=m;k!==null;){if(k.key===S){if(S=y.type,S===Nr){if(k.tag===7){n(g,k.sibling),m=o(k,y.props.children),m.return=g,g=m;break e}}else if(k.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===dn&&jd(S)===k.type){n(g,k.sibling),m=o(k,y.props),m.ref=Eo(g,k,y),m.return=g,g=m;break e}n(g,k);break}else t(g,k);k=k.sibling}y.type===Nr?(m=or(y.props.children,g.mode,C,y.key),m.return=g,g=m):(C=ps(y.type,y.key,y.props,null,g.mode,C),C.ref=Eo(g,m,y),C.return=g,g=C)}return s(g);case kr:e:{for(k=y.key;m!==null;){if(m.key===k)if(m.tag===4&&m.stateNode.containerInfo===y.containerInfo&&m.stateNode.implementation===y.implementation){n(g,m.sibling),m=o(m,y.children||[]),m.return=g,g=m;break e}else{n(g,m);break}else t(g,m);m=m.sibling}m=Ja(y,g.mode,C),m.return=g,g=m}return s(g);case dn:return k=y._init,b(g,m,k(y._payload),C)}if(Io(y))return x(g,m,y,C);if(bo(y))return v(g,m,y,C);Vi(g,y)}return typeof y=="string"&&y!==""||typeof y=="number"?(y=""+y,m!==null&&m.tag===6?(n(g,m.sibling),m=o(m,y),m.return=g,g=m):(n(g,m),m=Xa(y,g.mode,C),m.return=g,g=m),s(g)):n(g,m)}return b}var no=dh(!0),fh=dh(!1),As=Bn(null),Rs=null,Mr=null,Uc=null;function Wc(){Uc=Mr=Rs=null}function Kc(e){var t=As.current;se(As),e._currentValue=t}function zl(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Br(e,t){Rs=e,Uc=Mr=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(Ve=!0),e.firstContext=null)}function lt(e){var t=e._currentValue;if(Uc!==e)if(e={context:e,memoizedValue:t,next:null},Mr===null){if(Rs===null)throw Error(A(308));Mr=e,Rs.dependencies={lanes:0,firstContext:e}}else Mr=Mr.next=e;return t}var Yn=null;function Gc(e){Yn===null?Yn=[e]:Yn.push(e)}function ph(e,t,n,r){var o=t.interleaved;return o===null?(n.next=n,Gc(t)):(n.next=o.next,o.next=n),t.interleaved=n,Yt(e,r)}function Yt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var fn=!1;function Qc(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function hh(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Kt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Pn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,q&2){var o=r.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Yt(e,n)}return o=r.interleaved,o===null?(t.next=t,Gc(r)):(t.next=o.next,o.next=t),r.interleaved=t,Yt(e,n)}function as(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mc(e,n)}}function Pd(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var o=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var s={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?o=i=s:i=i.next=s,n=n.next}while(n!==null);i===null?o=i=t:i=i.next=t}else o=i=t;n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Is(e,t,n,r){var o=e.updateQueue;fn=!1;var i=o.firstBaseUpdate,s=o.lastBaseUpdate,a=o.shared.pending;if(a!==null){o.shared.pending=null;var c=a,u=c.next;c.next=null,s===null?i=u:s.next=u,s=c;var d=e.alternate;d!==null&&(d=d.updateQueue,a=d.lastBaseUpdate,a!==s&&(a===null?d.firstBaseUpdate=u:a.next=u,d.lastBaseUpdate=c))}if(i!==null){var f=o.baseState;s=0,d=u=c=null,a=i;do{var h=a.lane,p=a.eventTime;if((r&h)===h){d!==null&&(d=d.next={eventTime:p,lane:0,tag:a.tag,payload:a.payload,callback:a.callback,next:null});e:{var x=e,v=a;switch(h=t,p=n,v.tag){case 1:if(x=v.payload,typeof x=="function"){f=x.call(p,f,h);break e}f=x;break e;case 3:x.flags=x.flags&-65537|128;case 0:if(x=v.payload,h=typeof x=="function"?x.call(p,f,h):x,h==null)break e;f=fe({},f,h);break e;case 2:fn=!0}}a.callback!==null&&a.lane!==0&&(e.flags|=64,h=o.effects,h===null?o.effects=[a]:h.push(a))}else p={eventTime:p,lane:h,tag:a.tag,payload:a.payload,callback:a.callback,next:null},d===null?(u=d=p,c=f):d=d.next=p,s|=h;if(a=a.next,a===null){if(a=o.shared.pending,a===null)break;h=a,a=h.next,h.next=null,o.lastBaseUpdate=h,o.shared.pending=null}}while(!0);if(d===null&&(c=f),o.baseState=c,o.firstBaseUpdate=u,o.lastBaseUpdate=d,t=o.shared.interleaved,t!==null){o=t;do s|=o.lane,o=o.next;while(o!==t)}else i===null&&(o.shared.lanes=0);lr|=s,e.lanes=s,e.memoizedState=f}}function Td(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(o!==null){if(r.callback=null,r=n,typeof o!="function")throw Error(A(191,o));o.call(r)}}}var Ci={},_t=Bn(Ci),ri=Bn(Ci),oi=Bn(Ci);function Zn(e){if(e===Ci)throw Error(A(174));return e}function Yc(e,t){switch(re(oi,t),re(ri,e),re(_t,Ci),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:vl(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=vl(t,e)}se(_t),re(_t,t)}function ro(){se(_t),se(ri),se(oi)}function mh(e){Zn(oi.current);var t=Zn(_t.current),n=vl(t,e.type);t!==n&&(re(ri,e),re(_t,n))}function Zc(e){ri.current===e&&(se(_t),se(ri))}var ue=Bn(0);function Ms(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ka=[];function qc(){for(var e=0;e<Ka.length;e++)Ka[e]._workInProgressVersionPrimary=null;Ka.length=0}var ls=Jt.ReactCurrentDispatcher,Ga=Jt.ReactCurrentBatchConfig,ar=0,de=null,xe=null,Ce=null,Os=!1,Bo=!1,ii=0,Jv=0;function Ae(){throw Error(A(321))}function Xc(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!St(e[n],t[n]))return!1;return!0}function Jc(e,t,n,r,o,i){if(ar=i,de=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ls.current=e===null||e.memoizedState===null?ry:oy,e=n(r,o),Bo){i=0;do{if(Bo=!1,ii=0,25<=i)throw Error(A(301));i+=1,Ce=xe=null,t.updateQueue=null,ls.current=iy,e=n(r,o)}while(Bo)}if(ls.current=_s,t=xe!==null&&xe.next!==null,ar=0,Ce=xe=de=null,Os=!1,t)throw Error(A(300));return e}function eu(){var e=ii!==0;return ii=0,e}function Pt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ce===null?de.memoizedState=Ce=e:Ce=Ce.next=e,Ce}function ct(){if(xe===null){var e=de.alternate;e=e!==null?e.memoizedState:null}else e=xe.next;var t=Ce===null?de.memoizedState:Ce.next;if(t!==null)Ce=t,xe=e;else{if(e===null)throw Error(A(310));xe=e,e={memoizedState:xe.memoizedState,baseState:xe.baseState,baseQueue:xe.baseQueue,queue:xe.queue,next:null},Ce===null?de.memoizedState=Ce=e:Ce=Ce.next=e}return Ce}function si(e,t){return typeof t=="function"?t(e):t}function Qa(e){var t=ct(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var r=xe,o=r.baseQueue,i=n.pending;if(i!==null){if(o!==null){var s=o.next;o.next=i.next,i.next=s}r.baseQueue=o=i,n.pending=null}if(o!==null){i=o.next,r=r.baseState;var a=s=null,c=null,u=i;do{var d=u.lane;if((ar&d)===d)c!==null&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var f={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};c===null?(a=c=f,s=r):c=c.next=f,de.lanes|=d,lr|=d}u=u.next}while(u!==null&&u!==i);c===null?s=r:c.next=a,St(r,t.memoizedState)||(Ve=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(e=n.interleaved,e!==null){o=e;do i=o.lane,de.lanes|=i,lr|=i,o=o.next;while(o!==e)}else o===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ya(e){var t=ct(),n=t.queue;if(n===null)throw Error(A(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(o!==null){n.pending=null;var s=o=o.next;do i=e(i,s.action),s=s.next;while(s!==o);St(i,t.memoizedState)||(Ve=!0),t.memoizedState=i,t.baseQueue===null&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function gh(){}function vh(e,t){var n=de,r=ct(),o=t(),i=!St(r.memoizedState,o);if(i&&(r.memoizedState=o,Ve=!0),r=r.queue,tu(wh.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||Ce!==null&&Ce.memoizedState.tag&1){if(n.flags|=2048,ai(9,xh.bind(null,n,r,o,t),void 0,null),Se===null)throw Error(A(349));ar&30||yh(n,t,o)}return o}function yh(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.stores=[e]):(n=t.stores,n===null?t.stores=[e]:n.push(e))}function xh(e,t,n,r){t.value=n,t.getSnapshot=r,bh(t)&&Ch(e)}
vendor: 4,447 bytes, line 38
38function wh(e,t,n){return n(function(){bh(t)&&Ch(e)})}function bh(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!St(e,n)}catch{return!0}}function Ch(e){var t=Yt(e,1);t!==null&&Ct(t,e,1,-1)}function Ad(e){var t=Pt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:si,lastRenderedState:e},t.queue=e,e=e.dispatch=ny.bind(null,de,e),[t.memoizedState,e]}function ai(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},t=de.updateQueue,t===null?(t={lastEffect:null,stores:null},de.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect,n===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e)),e}function Sh(){return ct().memoizedState}function cs(e,t,n,r){var o=Pt();de.flags|=e,o.memoizedState=ai(1|t,n,void 0,r===void 0?null:r)}function ra(e,t,n,r){var o=ct();r=r===void 0?null:r;var i=void 0;if(xe!==null){var s=xe.memoizedState;if(i=s.destroy,r!==null&&Xc(r,s.deps)){o.memoizedState=ai(t,n,i,r);return}}de.flags|=e,o.memoizedState=ai(1|t,n,i,r)}function Rd(e,t){return cs(8390656,8,e,t)}function tu(e,t){return ra(2048,8,e,t)}function kh(e,t){return ra(4,2,e,t)}function Nh(e,t){return ra(4,4,e,t)}function Eh(e,t){if(typeof t=="function")return e=e(),t(e),function(){t(null)};if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function jh(e,t,n){return n=n!=null?n.concat([e]):null,ra(4,4,Eh.bind(null,t,e),n)}function nu(){}function Ph(e,t){var n=ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Xc(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Th(e,t){var n=ct();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&Xc(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ah(e,t,n){return ar&21?(St(n,t)||(n=_p(),de.lanes|=n,lr|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,Ve=!0),e.memoizedState=n)}function ey(e,t){var n=te;te=n!==0&&4>n?n:4,e(!0);var r=Ga.transition;Ga.transition={};try{e(!1),t()}finally{te=n,Ga.transition=r}}function Rh(){return ct().memoizedState}function ty(e,t,n){var r=An(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ih(e))Mh(t,n);else if(n=ph(e,t,n,r),n!==null){var o=De();Ct(n,e,r,o),Oh(n,t,r)}}function ny(e,t,n){var r=An(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ih(e))Mh(t,o);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var s=t.lastRenderedState,a=i(s,n);if(o.hasEagerState=!0,o.eagerState=a,St(a,s)){var c=t.interleaved;c===null?(o.next=o,Gc(t)):(o.next=c.next,c.next=o),t.interleaved=o;return}}catch{}finally{}n=ph(e,t,o,r),n!==null&&(o=De(),Ct(n,e,r,o),Oh(n,t,r))}}function Ih(e){var t=e.alternate;return e===de||t!==null&&t===de}function Mh(e,t){Bo=Os=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Oh(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Mc(e,n)}}var _s={readContext:lt,useCallback:Ae,useContext:Ae,useEffect:Ae,useImperativeHandle:Ae,useInsertionEffect:Ae,useLayoutEffect:Ae,useMemo:Ae,useReducer:Ae,useRef:Ae,useState:Ae,useDebugValue:Ae,useDeferredValue:Ae,useTransition:Ae,useMutableSource:Ae,useSyncExternalStore:Ae,useId:Ae,unstable_isNewReconciler:!1},ry={readContext:lt,useCallback:function(e,t){return Pt().memoizedState=[e,t===void 0?null:t],e},useContext:lt,useEffect:Rd,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,cs(4194308,4,Eh.bind(null,t,e),n)},useLayoutEffect:function(e,t){return cs(4194308,4,e,t)},useInsertionEffect:function(e,t){return cs(4,2,e,t)},useMemo:function(e,t){var n=Pt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Pt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ty.bind(null,de,e),[r.memoizedState,e]},useRef:function(e){var t=Pt();return e={current:e},t.memoizedState=e},useState:Ad,useDebugValue:nu,useDeferredValue:function(e){return Pt().memoizedState=e},useTransition:function(){var e=Ad(!1),t=e[0];return e=ey.bind(null,e[1]),Pt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=de,o=Pt();if(le){if(n===void 0)throw Error(A(407));n=n()}else{if(n=t(),Se===null)throw Error(A(349));ar&30||yh(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};
vendor: 4,134 bytes, lines 38-40
38return o.queue=i,Rd(wh.bind(null,r,i,e),[e]),r.flags|=2048,ai(9,xh.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Pt(),t=Se.identifierPrefix;if(le){var n=Wt,r=Ut;n=(r&~(1<<32-bt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=ii++,0<n&&(t+="H"+n.toString(32)),t+=":"}else n=Jv++,t=":"+t+"r"+n.toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},oy={readContext:lt,useCallback:Ph,useContext:lt,useEffect:tu,useImperativeHandle:jh,useInsertionEffect:kh,useLayoutEffect:Nh,useMemo:Th,useReducer:Qa,useRef:Sh,useState:function(){return Qa(si)},useDebugValue:nu,useDeferredValue:function(e){var t=ct();return Ah(t,xe.memoizedState,e)},useTransition:function(){var e=Qa(si)[0],t=ct().memoizedState;return[e,t]},useMutableSource:gh,useSyncExternalStore:vh,useId:Rh,unstable_isNewReconciler:!1},iy={readContext:lt,useCallback:Ph,useContext:lt,useEffect:tu,useImperativeHandle:jh,useInsertionEffect:kh,useLayoutEffect:Nh,useMemo:Th,useReducer:Ya,useRef:Sh,useState:function(){return Ya(si)},useDebugValue:nu,useDeferredValue:function(e){var t=ct();return xe===null?t.memoizedState=e:Ah(t,xe.memoizedState,e)},useTransition:function(){var e=Ya(si)[0],t=ct().memoizedState;return[e,t]},useMutableSource:gh,useSyncExternalStore:vh,useId:Rh,unstable_isNewReconciler:!1};function mt(e,t){if(e&&e.defaultProps){t=fe({},t),e=e.defaultProps;for(var n in e)t[n]===void 0&&(t[n]=e[n]);return t}return t}function Dl(e,t,n,r){t=e.memoizedState,n=n(r,t),n=n==null?t:fe({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var oa={isMounted:function(e){return(e=e._reactInternals)?pr(e)===e:!1},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=De(),o=An(e),i=Kt(r,o);i.payload=t,n!=null&&(i.callback=n),t=Pn(e,i,o),t!==null&&(Ct(t,e,o,r),as(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=De(),o=An(e),i=Kt(r,o);i.tag=1,i.payload=t,n!=null&&(i.callback=n),t=Pn(e,i,o),t!==null&&(Ct(t,e,o,r),as(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=De(),r=An(e),o=Kt(n,r);o.tag=2,t!=null&&(o.callback=t),t=Pn(e,o,r),t!==null&&(Ct(t,e,r,n),as(t,e,r))}};function Id(e,t,n,r,o,i,s){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,i,s):t.prototype&&t.prototype.isPureReactComponent?!Jo(n,r)||!Jo(o,i):!0}function _h(e,t,n){var r=!1,o=On,i=t.contextType;return typeof i=="object"&&i!==null?i=lt(i):(o=We(t)?ir:Oe.current,r=t.contextTypes,i=(r=r!=null)?eo(e,o):On),t=new t(n,i),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=oa,e.stateNode=t,t._reactInternals=e,r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Md(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&oa.enqueueReplaceState(t,t.state,null)}function Fl(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs={},Qc(e);var i=t.contextType;typeof i=="object"&&i!==null?o.context=lt(i):(i=We(t)?ir:Oe.current,o.context=eo(e,i)),o.state=e.memoizedState,i=t.getDerivedStateFromProps,typeof i=="function"&&(Dl(e,t,i,n),o.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof o.getSnapshotBeforeUpdate=="function"||typeof o.UNSAFE_componentWillMount!="function"&&typeof o.componentWillMount!="function"||(t=o.state,typeof o.componentWillMount=="function"&&o.componentWillMount(),typeof o.UNSAFE_componentWillMount=="function"&&o.UNSAFE_componentWillMount(),t!==o.state&&oa.enqueueReplaceState(o,o.state,null),Is(e,n,o,r),o.state=e.memoizedState),typeof o.componentDidMount=="function"&&(e.flags|=4194308)}function oo(e,t){try{var n="",r=t;do n+=M0(r),r=r.return;while(r);var o=n}catch(i){o=`
39Error generating stack: `+i.message+`
40`+i.stack}return{value:e,source:t,stack:o,digest:null}}function Za(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function $l(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var sy=typeof WeakMap=="function"?WeakMap:Map;
vendor: 9,356 bytes, line 40
40function Lh(e,t,n){n=Kt(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){zs||(zs=!0,Zl=r),$l(e,t)},n}function zh(e,t,n){n=Kt(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){$l(e,t)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(n.callback=function(){$l(e,t),typeof r!="function"&&(Tn===null?Tn=new Set([this]):Tn.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function Od(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new sy;var o=new Set;r.set(t,o)}else o=r.get(t),o===void 0&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=wy.bind(null,e,t,n),t.then(e,e))}function _d(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Ld(e,t,n,r,o){return e.mode&1?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Kt(-1,1),t.tag=2,Pn(n,t,1))),n.lanes|=1),e)}var ay=Jt.ReactCurrentOwner,Ve=!1;function Le(e,t,n,r){t.child=e===null?fh(t,null,n,r):no(t,e.child,n,r)}function zd(e,t,n,r,o){n=n.render;var i=t.ref;return Br(t,o),r=Jc(e,t,n,r,i,o),n=eu(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zt(e,t,o)):(le&&n&&Bc(t),t.flags|=1,Le(e,t,r,o),t.child)}function Dd(e,t,n,r,o){if(e===null){var i=n.type;return typeof i=="function"&&!uu(i)&&i.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=i,Dh(e,t,i,r,o)):(e=ps(n.type,null,r,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(i=e.child,!(e.lanes&o)){var s=i.memoizedProps;if(n=n.compare,n=n!==null?n:Jo,n(s,r)&&e.ref===t.ref)return Zt(e,t,o)}return t.flags|=1,e=Rn(i,r),e.ref=t.ref,e.return=t,t.child=e}function Dh(e,t,n,r,o){if(e!==null){var i=e.memoizedProps;if(Jo(i,r)&&e.ref===t.ref)if(Ve=!1,t.pendingProps=r=i,(e.lanes&o)!==0)e.flags&131072&&(Ve=!0);else return t.lanes=e.lanes,Zt(e,t,o)}return Bl(e,t,n,r,o)}function Fh(e,t,n){var r=t.pendingProps,o=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},re(_r,Qe),Qe|=n;else{if(!(n&1073741824))return e=i!==null?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,re(_r,Qe),Qe|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:n,re(_r,Qe),Qe|=r}else i!==null?(r=i.baseLanes|n,t.memoizedState=null):r=n,re(_r,Qe),Qe|=r;return Le(e,t,o,n),t.child}function $h(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Bl(e,t,n,r,o){var i=We(n)?ir:Oe.current;return i=eo(t,i),Br(t,o),n=Jc(e,t,n,r,i,o),r=eu(),e!==null&&!Ve?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Zt(e,t,o)):(le&&r&&Bc(t),t.flags|=1,Le(e,t,n,o),t.child)}function Fd(e,t,n,r,o){if(We(n)){var i=!0;js(t)}else i=!1;if(Br(t,o),t.stateNode===null)us(e,t),_h(t,n,r),Fl(t,n,r,o),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var c=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=lt(u):(u=We(n)?ir:Oe.current,u=eo(t,u));var d=n.getDerivedStateFromProps,f=typeof d=="function"||typeof s.getSnapshotBeforeUpdate=="function";f||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||c!==u)&&Md(t,s,r,u),fn=!1;var h=t.memoizedState;s.state=h,Is(t,r,s,o),c=t.memoizedState,a!==r||h!==c||Ue.current||fn?(typeof d=="function"&&(Dl(t,n,d,r),c=t.memoizedState),(a=fn||Id(t,n,a,r,h,c,u))?(f||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=c),s.props=r,s.state=c,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,hh(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:mt(t.type,a),s.props=u,f=t.pendingProps,h=s.context,c=n.contextType,typeof c=="object"&&c!==null?c=lt(c):(c=We(n)?ir:Oe.current,c=eo(t,c));var p=n.getDerivedStateFromProps;(d=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==f||h!==c)&&Md(t,s,r,c),fn=!1,h=t.memoizedState,s.state=h,Is(t,r,s,o);var x=t.memoizedState;a!==f||h!==x||Ue.current||fn?(typeof p=="function"&&(Dl(t,n,p,r),x=t.memoizedState),(u=fn||Id(t,n,u,r,h,x,c)||!1)?(d||typeof s.UNSAFE_componentWillUpdate!="function"&&typeof s.componentWillUpdate!="function"||(typeof s.componentWillUpdate=="function"&&s.componentWillUpdate(r,x,c),typeof s.UNSAFE_componentWillUpdate=="function"&&s.UNSAFE_componentWillUpdate(r,x,c)),typeof s.componentDidUpdate=="function"&&(t.flags|=4),typeof s.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=x),s.props=r,s.state=x,s.context=c,r=u):(typeof s.componentDidUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),typeof s.getSnapshotBeforeUpdate!="function"||a===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Hl(e,t,n,r,i,o)}function Hl(e,t,n,r,o,i){$h(e,t);var s=(t.flags&128)!==0;if(!r&&!s)return o&&kd(t,n,!1),Zt(e,t,i);r=t.stateNode,ay.current=t;var a=s&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&s?(t.child=no(t,e.child,null,i),t.child=no(t,null,a,i)):Le(e,t,a,i),t.memoizedState=r.state,o&&kd(t,n,!0),t.child}function Bh(e){var t=e.stateNode;t.pendingContext?Sd(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Sd(e,t.context,!1),Yc(e,t.containerInfo)}function $d(e,t,n,r,o){return to(),Vc(o),t.flags|=256,Le(e,t,n,r),t.child}var Vl={dehydrated:null,treeContext:null,retryLane:0};function Ul(e){return{baseLanes:e,cachePool:null,transitions:null}}function Hh(e,t,n){var r=t.pendingProps,o=ue.current,i=!1,s=(t.flags&128)!==0,a;if((a=s)||(a=e!==null&&e.memoizedState===null?!1:(o&2)!==0),a?(i=!0,t.flags&=-129):(e===null||e.memoizedState!==null)&&(o|=1),re(ue,o&1),e===null)return Ll(t),e=t.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(t.mode&1?e.data==="$!"?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(s=r.children,e=r.fallback,i?(r=t.mode,i=t.child,s={mode:"hidden",children:s},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=s):i=aa(s,r,0,null),e=or(e,r,n,null),i.return=t,e.return=t,i.sibling=e,t.child=i,t.child.memoizedState=Ul(n),t.memoizedState=Vl,e):ru(t,s));if(o=e.memoizedState,o!==null&&(a=o.dehydrated,a!==null))return ly(e,t,s,r,a,o,n);if(i){i=r.fallback,s=t.mode,o=e.child,a=o.sibling;var c={mode:"hidden",children:r.children};return!(s&1)&&t.child!==o?(r=t.child,r.childLanes=0,r.pendingProps=c,t.deletions=null):(r=Rn(o,c),r.subtreeFlags=o.subtreeFlags&14680064),a!==null?i=Rn(a,i):(i=or(i,s,n,null),i.flags|=2),i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,s=e.child.memoizedState,s=s===null?Ul(n):{baseLanes:s.baseLanes|n,cachePool:null,transitions:s.transitions},i.memoizedState=s,i.childLanes=e.childLanes&~n,t.memoizedState=Vl,r}return i=e.child,e=i.sibling,r=Rn(i,{mode:"visible",children:r.children}),!(t.mode&1)&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&(n=t.deletions,n===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ru(e,t){return t=aa({mode:"visible",children:t},e.mode,0,null),t.return=e,e.child=t}function Ui(e,t,n,r){return r!==null&&Vc(r),no(t,e.child,null,n),e=ru(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ly(e,t,n,r,o,i,s){if(n)return t.flags&256?(t.flags&=-257,r=Za(Error(A(422))),Ui(e,t,s,r)):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=aa({mode:"visible",children:r.children},o,0,null),i=or(i,o,s,null),i.flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,t.mode&1&&no(t,e.child,null,s),t.child.memoizedState=Ul(s),t.memoizedState=Vl,i);if(!(t.mode&1))return Ui(e,t,s,null);if(o.data==="$!"){if(r=o.nextSibling&&o.nextSibling.dataset,r)var a=r.dgst;return r=a,i=Error(A(419)),r=Za(i,r,void 0),Ui(e,t,s,r)}if(a=(s&e.childLanes)!==0,Ve||a){if(r=Se,r!==null){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}o=o&(r.suspendedLanes|s)?0:o,o!==0&&o!==i.retryLane&&(i.retryLane=o,Yt(e,o),Ct(r,e,o,-1))}return cu(),r=Za(Error(A(421))),Ui(e,t,s,r)}return o.data==="$?"?(t.flags|=128,t.child=e.child,t=by.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,Ze=jn(o.nextSibling),qe=t,le=!0,wt=null,e!==null&&(ot[it++]=Ut,ot[it++
vendor: 5,034 bytes, line 40
40]=Wt,ot[it++]=sr,Ut=e.id,Wt=e.overflow,sr=t),t=ru(t,r.children),t.flags|=4096,t)}function Bd(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),zl(e.return,t,n)}function qa(e,t,n,r,o){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Vh(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Le(e,t,r.children,n),r=ue.current,r&2)r=r&1|2,t.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Bd(e,n,t);else if(e.tag===19)Bd(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(re(ue,r),!(t.mode&1))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;n!==null;)e=n.alternate,e!==null&&Ms(e)===null&&(o=n),n=n.sibling;n=o,n===null?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),qa(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&Ms(e)===null){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}qa(t,!0,n,null,i);break;case"together":qa(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function us(e,t){!(t.mode&1)&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Zt(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),lr|=t.lanes,!(n&t.childLanes))return null;if(e!==null&&t.child!==e.child)throw Error(A(153));if(t.child!==null){for(e=t.child,n=Rn(e,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,n=n.sibling=Rn(e,e.pendingProps),n.return=t;n.sibling=null}return t.child}function cy(e,t,n){switch(t.tag){case 3:Bh(t),to();break;case 5:mh(t);break;case 1:We(t.type)&&js(t);break;case 4:Yc(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;re(As,r._currentValue),r._currentValue=o;break;case 13:if(r=t.memoizedState,r!==null)return r.dehydrated!==null?(re(ue,ue.current&1),t.flags|=128,null):n&t.child.childLanes?Hh(e,t,n):(re(ue,ue.current&1),e=Zt(e,t,n),e!==null?e.sibling:null);re(ue,ue.current&1);break;case 19:if(r=(n&t.childLanes)!==0,e.flags&128){if(r)return Vh(e,t,n);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),re(ue,ue.current),r)break;return null;case 22:case 23:return t.lanes=0,Fh(e,t,n)}return Zt(e,t,n)}var Uh,Wl,Wh,Kh;Uh=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}};Wl=function(){};Wh=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Zn(_t.current);var i=null;switch(n){case"input":o=pl(e,o),r=pl(e,r),i=[];break;case"select":o=fe({},o,{value:void 0}),r=fe({},r,{value:void 0}),i=[];break;case"textarea":o=gl(e,o),r=gl(e,r),i=[];break;default:typeof o.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Ns)}yl(n,r);var s;n=null;for(u in o)if(!r.hasOwnProperty(u)&&o.hasOwnProperty(u)&&o[u]!=null)if(u==="style"){var a=o[u];for(s in a)a.hasOwnProperty(s)&&(n||(n={}),n[s]="")}else u!=="dangerouslySetInnerHTML"&&u!=="children"&&u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&u!=="autoFocus"&&(Ko.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in r){var c=r[u];if(a=o!=null?o[u]:void 0,r.hasOwnProperty(u)&&c!==a&&(c!=null||a!=null))if(u==="style")if(a){for(s in a)!a.hasOwnProperty(s)||c&&c.hasOwnProperty(s)||(n||(n={}),n[s]="");for(s in c)c.hasOwnProperty(s)&&a[s]!==c[s]&&(n||(n={}),n[s]=c[s])}else n||(i||(i=[]),i.push(u,n)),n=c;else u==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,a=a?a.__html:void 0,c!=null&&a!==c&&(i=i||[]).push(u,c)):u==="children"?typeof c!="string"&&typeof c!="number"||(i=i||[]).push(u,""+c):u!=="suppressContentEditableWarning"&&u!=="suppressHydrationWarning"&&(Ko.hasOwnProperty(u)?(c!=null&&u==="onScroll"&&ie("scroll",e),i||a===c||(i=[])):(i=i||[]).push(u,c))}n&&(i=i||[]).push("style",n);var u=i;(t.updateQueue=u)&&(t.flags|=4)}};Kh=function(e,t,n,r){n!==r&&(t.flags|=4)};function jo(e,t){if(!le)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Re(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags&14680064,r|=o.flags&14680064,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}
vendor: 30,197 bytes, line 40
40function uy(e,t,n){var r=t.pendingProps;switch(Hc(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Re(t),null;case 1:return We(t.type)&&Es(),Re(t),null;case 3:return r=t.stateNode,ro(),se(Ue),se(Oe),qc(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(Hi(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&!(t.flags&256)||(t.flags|=1024,wt!==null&&(Jl(wt),wt=null))),Wl(e,t),Re(t),null;case 5:Zc(t);var o=Zn(oi.current);if(n=t.type,e!==null&&t.stateNode!=null)Wh(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(A(166));return Re(t),null}if(e=Zn(_t.current),Hi(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[It]=t,r[ni]=i,e=(t.mode&1)!==0,n){case"dialog":ie("cancel",r),ie("close",r);break;case"iframe":case"object":case"embed":ie("load",r);break;case"video":case"audio":for(o=0;o<Oo.length;o++)ie(Oo[o],r);break;case"source":ie("error",r);break;case"img":case"image":case"link":ie("error",r),ie("load",r);break;case"details":ie("toggle",r);break;case"input":Zu(r,i),ie("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},ie("invalid",r);break;case"textarea":Xu(r,i),ie("invalid",r)}yl(n,i),o=null;for(var s in i)if(i.hasOwnProperty(s)){var a=i[s];s==="children"?typeof a=="string"?r.textContent!==a&&(i.suppressHydrationWarning!==!0&&Bi(r.textContent,a,e),o=["children",a]):typeof a=="number"&&r.textContent!==""+a&&(i.suppressHydrationWarning!==!0&&Bi(r.textContent,a,e),o=["children",""+a]):Ko.hasOwnProperty(s)&&a!=null&&s==="onScroll"&&ie("scroll",r)}switch(n){case"input":Mi(r),qu(r,i,!0);break;case"textarea":Mi(r),Ju(r);break;case"select":case"option":break;default:typeof i.onClick=="function"&&(r.onclick=Ns)}r=o,t.updateQueue=r,r!==null&&(t.flags|=4)}else{s=o.nodeType===9?o:o.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=wp(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?(e=s.createElement("div"),e.innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=s.createElement(n,{is:r.is}):(e=s.createElement(n),n==="select"&&(s=e,r.multiple?s.multiple=!0:r.size&&(s.size=r.size))):e=s.createElementNS(e,n),e[It]=t,e[ni]=r,Uh(e,t,!1,!1),t.stateNode=e;e:{switch(s=xl(n,r),n){case"dialog":ie("cancel",e),ie("close",e),o=r;break;case"iframe":case"object":case"embed":ie("load",e),o=r;break;case"video":case"audio":for(o=0;o<Oo.length;o++)ie(Oo[o],e);o=r;break;case"source":ie("error",e),o=r;break;case"img":case"image":case"link":ie("error",e),ie("load",e),o=r;break;case"details":ie("toggle",e),o=r;break;case"input":Zu(e,r),o=pl(e,r),ie("invalid",e);break;case"option":o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=fe({},r,{value:void 0}),ie("invalid",e);break;case"textarea":Xu(e,r),o=gl(e,r),ie("invalid",e);break;default:o=r}yl(n,o),a=o;for(i in a)if(a.hasOwnProperty(i)){var c=a[i];i==="style"?Sp(e,c):i==="dangerouslySetInnerHTML"?(c=c?c.__html:void 0,c!=null&&bp(e,c)):i==="children"?typeof c=="string"?(n!=="textarea"||c!=="")&&Go(e,c):typeof c=="number"&&Go(e,""+c):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Ko.hasOwnProperty(i)?c!=null&&i==="onScroll"&&ie("scroll",e):c!=null&&jc(e,i,c,s))}switch(n){case"input":Mi(e),qu(e,r,!1);break;case"textarea":Mi(e),Ju(e);break;case"option":r.value!=null&&e.setAttribute("value",""+Mn(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?zr(e,!!r.multiple,i,!1):r.defaultValue!=null&&zr(e,!!r.multiple,r.defaultValue,!0);break;default:typeof o.onClick=="function"&&(e.onclick=Ns)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return Re(t),null;case 6:if(e&&t.stateNode!=null)Kh(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(A(166));if(n=Zn(oi.current),Zn(_t.current),Hi(t)){if(r=t.stateNode,n=t.memoizedProps,r[It]=t,(i=r.nodeValue!==n)&&(e=qe,e!==null))switch(e.tag){case 3:Bi(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&Bi(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[It]=t,t.stateNode=r}return Re(t),null;case 13:if(se(ue),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(le&&Ze!==null&&t.mode&1&&!(t.flags&128))uh(),to(),t.flags|=98560,i=!1;else if(i=Hi(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(A(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(A(317));i[It]=t}else to(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Re(t),i=!1}else wt!==null&&(Jl(wt),wt=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||ue.current&1?be===0&&(be=3):cu())),t.updateQueue!==null&&(t.flags|=4),Re(t),null);case 4:return ro(),Wl(e,t),e===null&&ei(t.stateNode.containerInfo),Re(t),null;case 10:return Kc(t.type._context),Re(t),null;case 17:return We(t.type)&&Es(),Re(t),null;case 19:if(se(ue),i=t.memoizedState,i===null)return Re(t),null;if(r=(t.flags&128)!==0,s=i.rendering,s===null)if(r)jo(i,!1);else{if(be!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(s=Ms(e),s!==null){for(t.flags|=128,jo(i,!1),r=s.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,s=i.alternate,s===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=s.childLanes,i.lanes=s.lanes,i.child=s.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=s.memoizedProps,i.memoizedState=s.memoizedState,i.updateQueue=s.updateQueue,i.type=s.type,e=s.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return re(ue,ue.current&1|2),t.child}e=e.sibling}i.tail!==null&&me()>io&&(t.flags|=128,r=!0,jo(i,!1),t.lanes=4194304)}else{if(!r)if(e=Ms(s),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),jo(i,!0),i.tail===null&&i.tailMode==="hidden"&&!s.alternate&&!le)return Re(t),null}else 2*me()-i.renderingStartTime>io&&n!==1073741824&&(t.flags|=128,r=!0,jo(i,!1),t.lanes=4194304);i.isBackwards?(s.sibling=t.child,t.child=s):(n=i.last,n!==null?n.sibling=s:t.child=s,i.last=s)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=me(),t.sibling=null,n=ue.current,re(ue,r?n&1|2:n&1),t):(Re(t),null);case 22:case 23:return lu(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?Qe&1073741824&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),null;case 24:return null;case 25:return null}throw Error(A(156,t.tag))}function dy(e,t){switch(Hc(t),t.tag){case 1:return We(t.type)&&Es(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ro(),se(Ue),se(Oe),qc(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Zc(t),null;case 13:if(se(ue),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(A(340));to()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return se(ue),null;case 4:return ro(),null;case 10:return Kc(t.type._context),null;case 22:case 23:return lu(),null;case 24:return null;default:return null}}var Wi=!1,Me=!1,fy=typeof WeakSet=="function"?WeakSet:Set,L=null;function Or(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){he(e,t,r)}else n.current=null}function Kl(e,t,n){try{n()}catch(r){he(e,t,r)}}var Hd=!1;function py(e,t){if(Tl=Cs,e=qp(),$c(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var s=0,a=-1,c=-1,u=0,d=0,f=e,h=null;t:for(;;){for(var p;f!==n||o!==0&&f.nodeType!==3||(a=s+o),f!==i||r!==0&&f.nodeType!==3||(c=s+r),f.nodeType===3&&(s+=f.nodeValue.length),(p=f.firstChild)!==null;)h=f,f=p;for(;;){if(f===e)break t;if(h===n&&++u===o&&(a=s),h===i&&++d===r&&(c=s),(p=f.nextSibling)!==null)break;f=h,h=f.parentNode}f=p}n=a===-1||c===-1?null:{start:a,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(Al={focusedElem:e,selectionRange:n},Cs=!1,L=t;L!==null;)if(t=L,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,L=e;else for(;L!==null;){t=L;try{var x=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(x!==null){var v=x.memoizedProps,b=x.memoizedState,g=t.stateNode,m=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:mt(t.type,v),b);g.__reactInternalSnapshotBeforeUpdate=m}break;case 3:var y=t.stateNode.containerInfo;y.nodeType===1?y.textContent="":y.nodeType===9&&y.documentElement&&y.removeChild(y.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(A(163))}}catch(C){he(t,t.return,C)}if(e=t.sibling,e!==null){e.return=t.return,L=e;break}L=t.return}return x=Hd,Hd=!1,x}function Ho(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,i!==void 0&&Kl(t,n,i)}o=o.next}while(o!==r)}}function ia(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Gl(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function Gh(e){var t=e.alternate;t!==null&&(e.alternate=null,Gh(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[It],delete t[ni],delete t[Ml],delete t[Yv],delete t[Zv])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Qh(e){return e.tag===5||e.tag===3||e.tag===4}function Vd(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Qh(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Ql(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Ns));else if(r!==4&&(e=e.child,e!==null))for(Ql(e,t,n),e=e.sibling;e!==null;)Ql(e,t,n),e=e.sibling}function Yl(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Yl(e,t,n),e=e.sibling;e!==null;)Yl(e,t,n),e=e.sibling}var ke=null,xt=!1;function an(e,t,n){for(n=n.child;n!==null;)Yh(e,t,n),n=n.sibling}function Yh(e,t,n){if(Ot&&typeof Ot.onCommitFiberUnmount=="function")try{Ot.onCommitFiberUnmount(qs,n)}catch{}switch(n.tag){case 5:Me||Or(n,t);case 6:var r=ke,o=xt;ke=null,an(e,t,n),ke=r,xt=o,ke!==null&&(xt?(e=ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(xt?(e=ke,n=n.stateNode,e.nodeType===8?Ua(e.parentNode,n):e.nodeType===1&&Ua(e,n),qo(e)):Ua(ke,n.stateNode));break;case 4:r=ke,o=xt,ke=n.stateNode.containerInfo,xt=!0,an(e,t,n),ke=r,xt=o;break;case 0:case 11:case 14:case 15:if(!Me&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){o=r=r.next;do{var i=o,s=i.destroy;i=i.tag,s!==void 0&&(i&2||i&4)&&Kl(n,t,s),o=o.next}while(o!==r)}an(e,t,n);break;case 1:if(!Me&&(Or(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(a){he(n,t,a)}an(e,t,n);break;case 21:an(e,t,n);break;case 22:n.mode&1?(Me=(r=Me)||n.memoizedState!==null,an(e,t,n),Me=r):an(e,t,n);break;default:an(e,t,n)}}function Ud(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new fy),t.forEach(function(r){var o=Cy.bind(null,e,r);n.has(r)||(n.add(r),r.then(o,o))})}}function pt(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,s=t,a=s;e:for(;a!==null;){switch(a.tag){case 5:ke=a.stateNode,xt=!1;break e;case 3:ke=a.stateNode.containerInfo,xt=!0;break e;case 4:ke=a.stateNode.containerInfo,xt=!0;break e}a=a.return}if(ke===null)throw Error(A(160));Yh(i,s,o),ke=null,xt=!1;var c=o.alternate;c!==null&&(c.return=null),o.return=null}catch(u){he(o,t,u)}}if(t.subtreeFlags&12854)for(t=t.child;t!==null;)Zh(t,e),t=t.sibling}function Zh(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(pt(t,e),jt(e),r&4){try{Ho(3,e,e.return),ia(3,e)}catch(v){he(e,e.return,v)}try{Ho(5,e,e.return)}catch(v){he(e,e.return,v)}}break;case 1:pt(t,e),jt(e),r&512&&n!==null&&Or(n,n.return);break;case 5:if(pt(t,e),jt(e),r&512&&n!==null&&Or(n,n.return),e.flags&32){var o=e.stateNode;try{Go(o,"")}catch(v){he(e,e.return,v)}}if(r&4&&(o=e.stateNode,o!=null)){var i=e.memoizedProps,s=n!==null?n.memoizedProps:i,a=e.type,c=e.updateQueue;if(e.updateQueue=null,c!==null)try{a==="input"&&i.type==="radio"&&i.name!=null&&yp(o,i),xl(a,s);var u=xl(a,i);for(s=0;s<c.length;s+=2){var d=c[s],f=c[s+1];d==="style"?Sp(o,f):d==="dangerouslySetInnerHTML"?bp(o,f):d==="children"?Go(o,f):jc(o,d,f,u)}switch(a){case"input":hl(o,i);break;case"textarea":xp(o,i);break;case"select":var h=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var p=i.value;p!=null?zr(o,!!i.multiple,p,!1):h!==!!i.multiple&&(i.defaultValue!=null?zr(o,!!i.multiple,i.defaultValue,!0):zr(o,!!i.multiple,i.multiple?[]:"",!1))}o[ni]=i}catch(v){he(e,e.return,v)}}break;case 6:if(pt(t,e),jt(e),r&4){if(e.stateNode===null)throw Error(A(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(v){he(e,e.return,v)}}break;case 3:if(pt(t,e),jt(e),r&4&&n!==null&&n.memoizedState.isDehydrated)try{qo(t.containerInfo)}catch(v){he(e,e.return,v)}break;case 4:pt(t,e),jt(e);break;case 13:pt(t,e),jt(e),o=e.child,o.flags&8192&&(i=o.memoizedState!==null,o.stateNode.isHidden=i,!i||o.alternate!==null&&o.alternate.memoizedState!==null||(su=me())),r&4&&Ud(e);break;case 22:if(d=n!==null&&n.memoizedState!==null,e.mode&1?(Me=(u=Me)||d,pt(t,e),Me=u):pt(t,e),jt(e),r&8192){if(u=e.memoizedState!==null,(e.stateNode.isHidden=u)&&!d&&e.mode&1)for(L=e,d=e.child;d!==null;){for(f=L=d;L!==null;){switch(h=L,p=h.child,h.tag){case 0:case 11:case 14:case 15:Ho(4,h,h.return);break;case 1:Or(h,h.return);var x=h.stateNode;if(typeof x.componentWillUnmount=="function"){r=h,n=h.return;try{t=r,x.props=t.memoizedProps,x.state=t.memoizedState,x.componentWillUnmount()}catch(v){he(r,n,v)}}break;case 5:Or(h,h.return);break;case 22:if(h.memoizedState!==null){Kd(f);continue}}p!==null?(p.return=h,L=p):Kd(f)}d=d.sibling}e:for(d=null,f=e;;){if(f.tag===5){if(d===null){d=f;try{o=f.stateNode,u?(i=o.style,typeof i.setProperty=="function"?i.setProperty("display","none","important"):i.display="none"):(a=f.stateNode,c=f.memoizedProps.style,s=c!=null&&c.hasOwnProperty("display")?c.display:null,a.style.display=Cp("display",s))}catch(v){he(e,e.return,v)}}}else if(f.tag===6){if(d===null)try{f.stateNode.nodeValue=u?"":f.memoizedProps}catch(v){he(e,e.return,v)}}else if((f.tag!==22&&f.tag!==23||f.memoizedState===null||f===e)&&f.child!==null){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;f.sibling===null;){if(f.return===null||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:pt(t,e),jt(e),r&4&&Ud(e);break;case 21:break;default:pt(t,e),jt(e)}}function jt(e){var t=e.flags;if(t&2){try{e:{for(var n=e.return;n!==null;){if(Qh(n)){var r=n;break e}n=n.return}throw Error(A(160))}switch(r.tag){case 5:var o=r.stateNode;r.flags&32&&(Go(o,""),r.flags&=-33);var i=Vd(e);Yl(e,i,o);break;case 3:case 4:var s=r.stateNode.containerInfo,a=Vd(e);Ql(e,a,s);break;default:throw Error(A(161))}}catch(c){he(e,e.return,c)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function hy(e,t,n){L=e,qh(e)}function qh(e,t,n){for(var r=(e.mode&1)!==0;L!==null;){var o=L,i=o.child;if(o.tag===22&&r){var s=o.memoizedState!==null||Wi;if(!s){var a=o.alternate,c=a!==null&&a.memoizedState!==null||Me;a=Wi;var u=Me;if(Wi=s,(Me=c)&&!u)for(L=o;L!==null;)s=L,c=s.child,s.tag===22&&s.memoizedState!==null?Gd(o):c!==null?(c.return=s,L=c):Gd(o);for(;i!==null;)L=i,qh(i),i=i.sibling;L=o,Wi=a,Me=u}Wd(e)}else o.subtreeFlags&8772&&i!==null?(i.return=o,L=i):Wd(e)}}function Wd(e){for(;L!==null;){var t=L;if(t.flags&8772){var n=t.alternate;try{if(t.flags&8772)switch(t.tag){case 0:case 11:case 15:Me||ia(5,t);break;case 1:var r=t.stateNode;if(t.flags&4&&!Me)if(n===null)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:mt(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;i!==null&&Td(t,i,r);break;case 3:var s=t.updateQueue;if(s!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:n=t.child.stateNode;break;case 1:n=t.child.stateNode}Td(t,s,n)}break;case 5:var a=t.stateNode;if(n===null&&t.flags&4){n=a;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(t.memoizedState===null){var u=t.alternate;if(u!==null){var d=u.memoizedState;if(d!==null){var f=d.dehydrated;f!==null&&qo(f)}}}break;case 19:case 17:case 21:case 22:case 23:case 25:break;default:throw Error(A(163))}Me||t.flags&512&&Gl(t)}catch(h){he(t,t.return,h)}}if(t===e){L=null;break}if(n=t.sibling,n!==null){n.return=t.return,L=n;break}L=t.return}}function Kd(e){for(;L!==null;){var t=L;if(t===e){L=null;break}var n=t.sibling;if(n!==null){n.return=t.return,L=n;break}L=t.return}}function Gd(e){for(;L!==null;){var t=L;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ia(4,t)}catch(c){he(t,n,c)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var o=t.return;try{r.componentDidMount()}catch(c){he(t,o,c)}}var i=t.return;try{Gl(t)}catch(c){he(t,i,c)}break;case 5:var s=t.return;try{Gl(t)}catch(c){he(t,s,c)}}}catch(c){he(t,t.return,c)}if(t===e){L=null;break}var a=t.sibling;if(a!==null){a.return=t.return,L=a;break}L=t.return}}var my=Math.ceil,Ls=Jt.ReactCurrentDispatcher,ou=Jt.ReactCurrentOwner,at=Jt.ReactCurrentBatchConfig,q=0,Se=null,ve=null,Ne=0,Qe=0,_r=Bn(0),be=0,li=null,lr=0,sa=0,iu=0,Vo=null,He=null,su=0,io=1/0,Bt=null,zs=!1,Zl=null,Tn=null,Ki=!1,bn=null,Ds=0,Uo=0,ql=null,ds=-1,fs=0;function De(){return q&6?me():ds!==-1?ds:ds=me()}function An(e){return e.mode&1?q&2&&Ne!==0?Ne&-Ne:Xv.transition!==null?(fs===0&&(fs=_p()),fs):(e=te,e!==0||(e=window.event,e=e===void 0?16:Hp(e.type)),e):1}function Ct(e,t,n,r){if(50<Uo)throw Uo=0,ql=null,Error(A(185));xi(e,n,r),(!(q&2)||e!==Se)&&(e===Se&&(!(q&2)&&(sa|=n),be===4&&hn(e,Ne)),Ke(e,r),n===1&&q===0&&!(t.mode&1)&&(io=me()+500,na&&Hn()))}function Ke(e,t){var n=e.callbackNode;X0(e,t);var r=bs(e,e===Se?Ne:0);if(r===0)n!==null&&nd(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&nd(n),t===1)e.tag===0?qv(Qd.bind(null,e)):ah(Qd.bind(null,e)),Gv(function(){!(q&6)&&Hn()}),n=null;else{switch(Lp(r)){case 1:n=Ic;break;case 4:n=Mp;break;case 16:n=ws;break;case 536870912:n=Op;break;default:n=ws}n=im(n,Xh.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function Xh(e,t){if(ds=-1,fs=0,q&6)throw Error(A(327));var n=e.callbackNode;if(Hr()&&e.callbackNode!==n)return null;var r=bs(e,e===Se?Ne:0);if(r===0)return null;if(r&30||r&e.expiredLanes||t)t=Fs(e,r);else{t=r;var o=q;q|=2;var i=em();(Se!==e||Ne!==t)&&(Bt=null,io=me()+500,rr(e,t));do try{yy();break}catch(a){Jh(e,a)}while(!0);Wc(),Ls.current=i,q=o,ve!==null?t=0:(Se=null,Ne=0,t=be)}if(t!==0){if(t===2&&(o=kl(e),o!==0&&(r=o,t=Xl(e,o))),t===1)throw n=li,rr(e,0),hn(e,r),Ke(e,me()),n;if(t===6)hn(e,r);else{if(o=e.current.alternate,!(r&30)&&!gy(o)&&(t=Fs(e,r),t===2&&(i=kl(e),i!==0&&(r=i,t=Xl(e,i))),t===1))throw n=li,rr(e,0),hn(e,r),Ke(e,me()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(A(345));case 2:Gn(e,He,Bt);break;case 3:if(hn(e,r),(r&130023424)===r&&(t=su+500-me(),10<t)){if(bs(e,0)!==0)break;if(o=e.suspendedLanes,(o&r)!==r){De(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=Il(Gn.bind(null,e,He,Bt),t);break}Gn(e,He,Bt);break;case 4:if(hn(e,r),(r&4194240)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-bt(r);i=1<<s,s=t[s],s>o&&(o=s),r&=~i}if(r=o,r=me()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*my(r/1960))-r,10<r){e.timeoutHandle=Il(Gn.bind(null,e,He,Bt),r);break}Gn(e,He,Bt);break;case 5:Gn(e,He,Bt);break;default:throw Error(A(329))}}}return Ke(e,me()),e.callbackNode===n?Xh.bind(null,e):null}function Xl(e,t){var n=Vo;return e.current.memoizedState.isDehydrated&&(rr(e,t).flags|=256),e=Fs(e,t),e!==2&&(t=He,He=n,t!==null&&Jl(t)),e}function Jl(e){He===null?He=e:He.push.apply(He,e)}function gy(e){for(var t=e;;){if(t.flags&16384){var n=t.updateQueue;if(n!==null&&(n=n.stores,n!==null))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!St(i(),o))return!1}catch{return!1}}}if(n=t.child,t.subtreeFlags&16384&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function hn(e,t){for(t&=~iu,t&=~sa,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-bt(t),r=1<<n;e[n]=-1,t&=~r}}function Qd(e){if(q&6)throw Error(A(327));Hr();var t=bs(e,0);if(!(t&1))return Ke(e,me()),null;var n=Fs(e,t);if(e.tag!==0&&n===2){var r=kl(e);r!==0&&(t=r,n=Xl(e,r))}if(n===1)throw n=li,rr(e,0),hn(e,t),Ke(e,me()),n;if(n===6)throw Error(A(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Gn(e,He,Bt),Ke(e,me()),null}function au(e,t){var n=q;q|=1;try{return e(t)}finally{q=n,q===0&&(io=me()+500,na&&Hn())}}function cr(e){bn!==null&&bn.tag===0&&!(q&6)&&Hr();var t=q;q|=1;var n=at.transition,r=te;try{if(at.transition=null,te=1,e)return e()}finally{te=r,at.transition=n,q=t,!(q&6)&&Hn()}}function lu(){Qe=_r.current,se(_r)}function rr(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Kv(n)),ve!==null)for(n=ve.return;n!==null;){var r=n;switch(Hc(r),r.tag){case 1:r=r.type.childContextTypes,r!=null&&Es();break;case 3:ro(),se(Ue),se(Oe),qc();break;case 5:Zc(r);break;case 4:ro();break;case 13:se(ue);break;case 19:se(ue);break;case 10:Kc(r.type._context);break;case 22:case 23:lu()}n=n.return}if(Se=e,ve=e=Rn(e.current,null),Ne=Qe=t,be=0,li=null,iu=sa=lr=0,He=Vo=null,Yn!==null){for(t=0;t<Yn.length;t++)if(n=Yn[t],r=n.interleaved,r!==null){n.interleaved=null;var o=r.next,i=n.pending;if(i!==null){var s=i.next;i.next=o,r.next=s}n.pending=r}Yn=null}return e}function Jh(e,t){do{var n=ve;try{if(Wc(),ls.current=_s,Os){for(var r=de.memoizedState;r!==null;){var o=r.queue;o!==null&&(o.pending=null),r=r.next}Os=!1}if(ar=0,Ce=xe=de=null,Bo=!1,ii=0,ou.current=null,n===null||n.return===null){be=1,li=t,ve=null;break}e:{var i=e,s=n.return,a=n,c=t;if(t=Ne,a.flags|=32768,c!==null&&typeof c=="object"&&typeof c.then=="function"){var u=c,d=a,f=d.tag;if(!(d.mode&1)&&(f===0||f===11||f===15)){var h=d.alternate;h?(d.updateQueue=h.updateQueue,d.memoizedState=h.memoizedState,d.lanes=h.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=_d(s);if(p!==null){p.flags&=-257,Ld(p,s,a,i,t),p.mode&1&&Od(i,u,t),t=p,c=u;var x=t.updateQueue;if(x===null){var v=new Set;v.add(c),t.updateQueue=v}else x.add(c);break e}else{if(!(t&1)){Od(i,u,t),cu();break e}c=Error(A(426))}}else if(le&&a.mode&1){var b=_d(s);if(b!==null){!(b.flags&65536)&&(b.flags|=256),Ld(b,s,a,i,t),Vc(oo(c,a));break e}}i=c=oo(c,a),be!==4&&(be=2),Vo===null?Vo=[i]:Vo.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t;var g=Lh(i,c,t);Pd(i,g);break e;case 1:a=c;var m=i.type,y=i.stateNode;if(!(i.flags&128)&&(typeof m.getDerivedStateFromError=="function"||y!==null&&typeof y.componentDidCatch=="function"&&(Tn===null||!Tn.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t;var C=zh(i,a,t);Pd(i,C);break e}}i=i.return}while(i!==null)}nm(n)}catch(S){t=S,ve===n&&n!==null&&(ve=n=n.return);continue}break}while(!0)}function em(){var e=Ls.current;return Ls.current=_s,e===null?_s:e}function cu(){(be===0||be===3||be===2)&&(be=4),Se===null||!(lr&268435455)&&!(sa&268435455)||hn(Se,Ne)}function Fs(e,t){var n=q;q|=2;var r=em();(Se!==e||Ne!==t)&&(Bt=null,rr(e,t));do try{vy();break}catch(o){Jh(e,o)}while(!0);if(Wc(),q=n,Ls.current=r,ve!==null)throw Error(A(261));return Se=null,Ne=0,be}function vy(){for(;ve!==null;)tm(ve)}function yy(){for(;ve!==null&&!V0();)tm(ve)}function tm(e){var t=om(e.alternate,e,Qe);e.memoizedProps=e.pendingProps,t===null?nm(e):ve=t,ou.current=null}function nm(e){var t=e;do{var n=t.alternate;if(e=t.return,t.flags&32768){if(n=dy(n,t),n!==null){n.flags&=32767,ve=n;return}if(e!==null)e.flags|=32768,e.subtreeFlags=0,e.deletions=null;else{be=6,ve=null;return}}else if(n=uy(n,t,Qe),n!==null){ve=n;return}if(t=t.sibling,t!==null){ve=t;return}ve=t=e}while(t!==null);be===0&&(be=5)}function Gn(e,t,n){var r=te,o=at.transition;try{at.transition=null,te=1,xy(e,t,n,r)}finally{at.transition=o,te=r}return null}function xy(e,t,n,r){do Hr();while(bn!==null);if(q&6)throw Error(A(327));n=e.finishedWork;var o=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(A(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(J0(e,i),e===Se&&(ve=Se=null,Ne=0),!(n.subtreeFlags&2064)&&!(n.flags&2064)||Ki||(Ki=!0,im(ws,function(){return Hr(),null})),i=(n.flags&15990)!==0,n.subtreeFlags&15990||i){i=at.transition,at.transition=null;var s=te;te=1;var a=q;q|=4,ou.current=null,py(e,n),Zh(n,e),Fv(Al),Cs=!!Tl,Al=Tl=null,e.current=n,hy(n),U0(),q=a,te=s,at.transition=i}else e.current=n;if(Ki&&(Ki=!1,bn=e,Ds=o),i=e.pendingLanes,i===0&&(Tn=null),G0(n.stateNode),Ke(e,me()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(zs)throw zs=!1,e=Zl,Zl=null,e;return Ds&1&&e.tag!==0&&Hr(),i=e.pendingLanes,i&1?e===ql?Uo++:(Uo=0,ql=e):Uo=0,Hn(),null}function Hr(){if(bn!==null){var e=Lp(Ds),t=at.transition,n=te;try{if(at.transition=null,te=16>e?16:e,bn===null)var r=!1;else{if(e=bn,bn=null,Ds=0,q&6)throw Error(A(331));var o=q;for(q|=4,L=e.current;L!==null;){var i=L,s=i.child;if(L.flags&16){var a=i.deletions;if(a!==null){for(var c=0;c<a.length;c++){var u=a[c];for(L=u;L!==null;){var d=L;switch(d.tag){case 0:case 11:case 15:Ho(8,d,i)}var f=d.child;if(f!==null)f.return=d,L=f;else for(;L!==null;){d=L;var h=d.sibling,p=d.return;if(Gh(d),d===u){L=null;break}if(h!==null){h.return=p,L=h;break}L=p}}}var x=i.alternate;if(x!==null){var v=x.child;if(v!==null){x.child=null;do{var b=v.sibling;v.sibling=null,v=b}while(v!==null)}}L=i}}if(i.subtreeFlags&2064&&s!==null)s.return=i,L=s;else e:for(;L!==null;){if(i=L,i.flags&2048)switch(i.tag){case 0:case 11:case 15:Ho(9,i,i.return)}var g=i.sibling;if(g!==null){g.return=i.return,L=g;break e}L=i.return}}var m=e.current;for(L=m;L!==null;){s=L;var y=s.child;if(s.subtreeFlags&2064&&y!==null)y.return=s,L=y;else e:for(s=m;L!==null;){if(a=L,a.flags&2048)try{switch(a.tag){case 0:case 11:case 15:ia(9,a)}}catch(S){he(a,a.return,S)}if(a===s){L=null;break e}var C=a.sibling;if(C!==null){C.return=a.return,L=C;break e}L=a.return}}if(q=o,Hn(),Ot&&typeof Ot.onPostCommitFiberRoot=="function")try{Ot.onPostCommitFiberRoot(qs,e)}catch{}r=!0}return r}finally{te=n,at.transition=t}}return!1}function Yd(e,t,n){t=oo(n,t),t=Lh(e,t,1),e=Pn(e,t,1),t=De(),e!==null&&(xi(e,1,t),Ke(e,t))}function he(e,t,n){if(e.tag===3)Yd(e,e,n);else for(;t!==null;){if(t.tag===3){Yd(t,e,n);break}else if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(Tn===null||!Tn.has(r))){e=oo(n,e),e=zh(t,e,1),t=Pn(t,e,1),e=De(),t!==null&&(xi(t,1,e),Ke(t,e));break}}t=t.return}}function wy(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=De(),e.pingedLanes|=e.suspendedLanes&n,Se===e&&(Ne&n)===n&&(be===4||be===3&&(Ne&130023424)===Ne&&500>me()-su?rr(e,0):iu|=n),Ke(e,t)}function rm(e,t){t===0&&(e.mode&1?(t=Li,Li<<=1,!(Li&130023424)&&(Li=4194304)):t=1);var n=De();e=Yt(e,t),e!==null&&(xi(e,t,n),Ke(e,n))}function by(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),rm(e,n)}function Cy(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(A(314))}r!==null&&r.delete(t),rm(e,n)}var om;om=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||Ue.current)Ve=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return Ve=!1,cy(e,t,n);Ve=!!(e.flags&131072)}else Ve=!1,le&&t.flags&1048576&&lh(t,Ts,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;us(e,t),e=t.pendingProps;var o=eo(t,Oe.current);Br(t,n),o=Jc(null,t,r,e,o,n);var i=eu();return t.flags|=1,typeof o=="object"&&o!==null&&typeof o.render=="function"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,We(r)?(i=!0,js(t)):i=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,Qc(t),o.updater=oa,t.stateNode=o,o._reactInternals=t,Fl(t,r,e,n),t=Hl(null,t,r,!0,i,n)):(t.tag=0,le&&i&&Bc(t),Le(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(us(e,t),e=t.pendingProps,o=r._init,r=o(r._payload),t.type=r,o=t.tag=ky(r),e=mt(r,e),o){case 0:t=Bl(null,t,r,e,n);break e;case 1:t=Fd(null,t,r,e,n);break e;case 11:t=zd(null,t,r,e,n);break e;case 14:t=Dd(null,t,r,mt(r.type,e),n);break e}throw Error(A(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Bl(e,t,r,o,n);case 1:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),Fd(e,t,r,o,n);case 3:e:{if(Bh(t),e===null)throw Error(A(387));
vendor: 8,088 bytes, line 40
40r=t.pendingProps,i=t.memoizedState,o=i.element,hh(e,t),Is(t,r,null,n);var s=t.memoizedState;if(r=s.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){o=oo(Error(A(423)),t),t=$d(e,t,r,n,o);break e}else if(r!==o){o=oo(Error(A(424)),t),t=$d(e,t,r,n,o);break e}else for(Ze=jn(t.stateNode.containerInfo.firstChild),qe=t,le=!0,wt=null,n=fh(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(to(),r===o){t=Zt(e,t,n);break e}Le(e,t,r,n)}t=t.child}return t;case 5:return mh(t),e===null&&Ll(t),r=t.type,o=t.pendingProps,i=e!==null?e.memoizedProps:null,s=o.children,Rl(r,o)?s=null:i!==null&&Rl(r,i)&&(t.flags|=32),$h(e,t),Le(e,t,s,n),t.child;case 6:return e===null&&Ll(t),null;case 13:return Hh(e,t,n);case 4:return Yc(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=no(t,null,r,n):Le(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),zd(e,t,r,o,n);case 7:return Le(e,t,t.pendingProps,n),t.child;case 8:return Le(e,t,t.pendingProps.children,n),t.child;case 12:return Le(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,re(As,r._currentValue),r._currentValue=s,i!==null)if(St(i.value,s)){if(i.children===o.children&&!Ue.current){t=Zt(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var a=i.dependencies;if(a!==null){s=i.child;for(var c=a.firstContext;c!==null;){if(c.context===r){if(i.tag===1){c=Kt(-1,n&-n),c.tag=2;var u=i.updateQueue;if(u!==null){u=u.shared;var d=u.pending;d===null?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=n,c=i.alternate,c!==null&&(c.lanes|=n),zl(i.return,n,t),a.lanes|=n;break}c=c.next}}else if(i.tag===10)s=i.type===t.type?null:i.child;else if(i.tag===18){if(s=i.return,s===null)throw Error(A(341));s.lanes|=n,a=s.alternate,a!==null&&(a.lanes|=n),zl(s,n,t),s=i.sibling}else s=i.child;if(s!==null)s.return=i;else for(s=i;s!==null;){if(s===t){s=null;break}if(i=s.sibling,i!==null){i.return=s.return,s=i;break}s=s.return}i=s}Le(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Br(t,n),o=lt(o),r=r(o),t.flags|=1,Le(e,t,r,n),t.child;case 14:return r=t.type,o=mt(r,t.pendingProps),o=mt(r.type,o),Dd(e,t,r,o,n);case 15:return Dh(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:mt(r,o),us(e,t),t.tag=1,We(r)?(e=!0,js(t)):e=!1,Br(t,n),_h(t,r,o),Fl(t,r,o,n),Hl(null,t,r,!0,e,n);case 19:return Vh(e,t,n);case 22:return Fh(e,t,n)}throw Error(A(156,t.tag))};function im(e,t){return Ip(e,t)}function Sy(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function st(e,t,n,r){return new Sy(e,t,n,r)}function uu(e){return e=e.prototype,!(!e||!e.isReactComponent)}function ky(e){if(typeof e=="function")return uu(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Tc)return 11;if(e===Ac)return 14}return 2}function Rn(e,t){var n=e.alternate;return n===null?(n=st(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function ps(e,t,n,r,o,i){var s=2;if(r=e,typeof e=="function")uu(e)&&(s=1);else if(typeof e=="string")s=5;else e:switch(e){case Nr:return or(n.children,o,i,t);case Pc:s=8,o|=8;break;case cl:return e=st(12,n,t,o|2),e.elementType=cl,e.lanes=i,e;case ul:return e=st(13,n,t,o),e.elementType=ul,e.lanes=i,e;case dl:return e=st(19,n,t,o),e.elementType=dl,e.lanes=i,e;case mp:return aa(n,o,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case pp:s=10;break e;case hp:s=9;break e;case Tc:s=11;break e;case Ac:s=14;break e;case dn:s=16,r=null;break e}throw Error(A(130,e==null?e:typeof e,""))}return t=st(s,n,t,o),t.elementType=e,t.type=r,t.lanes=i,t}function or(e,t,n,r){return e=st(7,e,r,t),e.lanes=n,e}function aa(e,t,n,r){return e=st(22,e,r,t),e.elementType=mp,e.lanes=n,e.stateNode={isHidden:!1},e}function Xa(e,t,n){return e=st(6,e,null,t),e.lanes=n,e}function Ja(e,t,n){return t=st(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ny(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Ma(0),this.expirationTimes=Ma(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Ma(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function du(e,t,n,r,o,i,s,a,c){return e=new Ny(e,t,n,a,c),t===1?(t=1,i===!0&&(t|=8)):t=0,i=st(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Qc(i),e}function Ey(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:kr,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function sm(e){if(!e)return On;e=e._reactInternals;e:{if(pr(e)!==e||e.tag!==1)throw Error(A(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(We(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(A(171))}if(e.tag===1){var n=e.type;if(We(n))return sh(e,n,t)}return t}function am(e,t,n,r,o,i,s,a,c){return e=du(n,r,!0,e,o,i,s,a,c),e.context=sm(null),n=e.current,r=De(),o=An(n),i=Kt(r,o),i.callback=t??null,Pn(n,i,o),e.current.lanes=o,xi(e,o,r),Ke(e,r),e}function la(e,t,n,r){var o=t.current,i=De(),s=An(o);return n=sm(n),t.context===null?t.context=n:t.pendingContext=n,t=Kt(i,s),t.payload={element:e},r=r===void 0?null:r,r!==null&&(t.callback=r),e=Pn(o,t,s),e!==null&&(Ct(e,o,s,i),as(e,o,s)),s}function $s(e){if(e=e.current,!e.child)return null;switch(e.child.tag){case 5:return e.child.stateNode;default:return e.child.stateNode}}function Zd(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function fu(e,t){Zd(e,t),(e=e.alternate)&&Zd(e,t)}function jy(){return null}var lm=typeof reportError=="function"?reportError:function(e){console.error(e)};function pu(e){this._internalRoot=e}ca.prototype.render=pu.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(A(409));la(e,t,null,null)};ca.prototype.unmount=pu.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;cr(function(){la(null,e,null,null)}),t[Qt]=null}};function ca(e){this._internalRoot=e}ca.prototype.unstable_scheduleHydration=function(e){if(e){var t=Fp();e={blockedOn:null,target:e,priority:t};for(var n=0;n<pn.length&&t!==0&&t<pn[n].priority;n++);pn.splice(n,0,e),n===0&&Bp(e)}};function hu(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function ua(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function qd(){}function Py(e,t,n,r,o){if(o){if(typeof r=="function"){var i=r;r=function(){var u=$s(s);i.call(u)}}var s=am(t,r,e,0,null,!1,!1,"",qd);return e._reactRootContainer=s,e[Qt]=s.current,ei(e.nodeType===8?e.parentNode:e),cr(),s}for(;
vendor: 5,148 bytes, line 40
40o=e.lastChild;)e.removeChild(o);if(typeof r=="function"){var a=r;r=function(){var u=$s(c);a.call(u)}}var c=du(e,0,!1,null,null,!1,!1,"",qd);return e._reactRootContainer=c,e[Qt]=c.current,ei(e.nodeType===8?e.parentNode:e),cr(function(){la(t,c,n,r)}),c}function da(e,t,n,r,o){var i=n._reactRootContainer;if(i){var s=i;if(typeof o=="function"){var a=o;o=function(){var c=$s(s);a.call(c)}}la(t,s,e,o)}else s=Py(n,t,e,o,r);return $s(s)}zp=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=Mo(t.pendingLanes);n!==0&&(Mc(t,n|1),Ke(t,me()),!(q&6)&&(io=me()+500,Hn()))}break;case 13:cr(function(){var r=Yt(e,1);if(r!==null){var o=De();Ct(r,e,1,o)}}),fu(e,1)}};Oc=function(e){if(e.tag===13){var t=Yt(e,134217728);if(t!==null){var n=De();Ct(t,e,134217728,n)}fu(e,134217728)}};Dp=function(e){if(e.tag===13){var t=An(e),n=Yt(e,t);if(n!==null){var r=De();Ct(n,e,t,r)}fu(e,t)}};Fp=function(){return te};$p=function(e,t){var n=te;try{return te=e,t()}finally{te=n}};bl=function(e,t,n){switch(t){case"input":if(hl(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=ta(r);if(!o)throw Error(A(90));vp(r),hl(r,o)}}}break;case"textarea":xp(e,n);break;case"select":t=n.value,t!=null&&zr(e,!!n.multiple,t,!1)}};Ep=au;jp=cr;var Ty={usingClientEntryPoint:!1,Events:[bi,Tr,ta,kp,Np,au]},Po={findFiberByHostInstance:Qn,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},Ay={bundleType:Po.bundleType,version:Po.version,rendererPackageName:Po.rendererPackageName,rendererConfig:Po.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Jt.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return e=Ap(e),e===null?null:e.stateNode},findFiberByHostInstance:Po.findFiberByHostInstance||jy,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Gi=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Gi.isDisabled&&Gi.supportsFiber)try{qs=Gi.inject(Ay),Ot=Gi}catch{}}et.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Ty;et.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!hu(t))throw Error(A(200));return Ey(e,t,null,n)};et.createRoot=function(e,t){if(!hu(e))throw Error(A(299));var n=!1,r="",o=lm;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(o=t.onRecoverableError)),t=du(e,1,!1,null,null,n,!1,r,o),e[Qt]=t.current,ei(e.nodeType===8?e.parentNode:e),new pu(t)};et.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(A(188)):(e=Object.keys(e).join(","),Error(A(268,e)));return e=Ap(t),e=e===null?null:e.stateNode,e};et.flushSync=function(e){return cr(e)};et.hydrate=function(e,t,n){if(!ua(t))throw Error(A(200));return da(null,e,t,!0,n)};et.hydrateRoot=function(e,t,n){if(!hu(e))throw Error(A(405));var r=n!=null&&n.hydratedSources||null,o=!1,i="",s=lm;if(n!=null&&(n.unstable_strictMode===!0&&(o=!0),n.identifierPrefix!==void 0&&(i=n.identifierPrefix),n.onRecoverableError!==void 0&&(s=n.onRecoverableError)),t=am(t,null,e,1,n??null,o,!1,i,s),e[Qt]=t.current,ei(e),r)for(e=0;e<r.length;e++)n=r[e],o=n._getVersion,o=o(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new ca(t)};et.render=function(e,t,n){if(!ua(t))throw Error(A(200));return da(null,e,t,!1,n)};et.unmountComponentAtNode=function(e){if(!ua(e))throw Error(A(40));return e._reactRootContainer?(cr(function(){da(null,null,e,!1,function(){e._reactRootContainer=null,e[Qt]=null})}),!0):!1};et.unstable_batchedUpdates=au;et.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!ua(n))throw Error(A(200));if(e==null||e._reactInternals===void 0)throw Error(A(38));return da(e,t,n,!1,r)};et.version="18.3.1-next-f1338f8080-20240426";function cm(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(cm)}catch(e){console.error(e)}}cm(),cp.exports=et;var Si=cp.exports;const um=Zf(Si);var dm,Xd=Si;dm=Xd.createRoot,Xd.hydrateRoot;const Ry=1,Iy=1e6;let el=0;function My(){return el=(el+1)%Number.MAX_SAFE_INTEGER,el.toString()}const tl=new Map,Jd=e=>{if(tl.has(e))return;const t=setTimeout(()=>{tl.delete(e),Wo({type:"REMOVE_TOAST",toastId:e})},Iy);tl.set(e,t)},Oy=(e,t)=>{switch(t.type){case"ADD_TOAST":return{...e,toasts:[t.toast,...e.toasts].slice(0,Ry)};case"UPDATE_TOAST":return{...e,toasts:e.toasts.map(n=>n.id===t.toast.id?{...n,...t.toast}:n)};case"DISMISS_TOAST":{const{toastId:n}=t;
40return n?Jd(n):e.toasts.forEach(r=>{Jd(r.id)}),{...e,toasts:e.toasts.map(r=>r.id===n||n===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...e,toasts:[]}:{...e,toasts:e.toasts.filter(n=>n.id!==t.toastId)}}},hs=[];let ms={toasts:[]};function Wo(e){ms=Oy(ms,e),hs.forEach(t=>{t(ms)})}function _y({...e}){const t=My(),n=o=>Wo({type:"UPDATE_TOAST",toast:{...o,id:t}}),r=()=>Wo({type:"DISMISS_TOAST",toastId:t});return Wo({type:"ADD_TOAST",toast:{...e,id:t,open:!0,onOpenChange:o=>{o||r()}}}),{id:t,dismiss:r,update:n}}function Ly(){const[e,t]=w.useState(ms);return w.useEffect(()=>(hs.push(t),()=>{const n=hs.indexOf(t);n>-1&&hs.splice(n,1)}),[e]),{...e,toast:_y,dismiss:n=>Wo({type:"DISMISS_TOAST",toastId:n})}}function we(e,t,{checkForDefaultPrevented:n=!0}={}){return function(o){if(e==null||e(o),n===!1||!o.defaultPrevented)return t==null?void 0:t(o)}}function ef(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function fm(...e){return t=>{let n=!1;const r=e.map(o=>{const i=ef(o,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let o=0;o<r.length;o++){const i=r[o];typeof i=="function"?i():ef(e[o],null)}}}}function kt(...e){return w.useCallback(fm(...e),e)}function fa(e,t=[]){let n=[];function r(i,s){const a=w.createContext(s),c=n.length;n=[...n,s];const u=f=>{var g;const{scope:h,children:p,...x}=f,v=((g=h==null?void 0:h[e])==null?void 0:g[c])||a,b=w.useMemo(()=>x,Object.values(x));return l.jsx(v.Provider,{value:b,children:p})};u.displayName=i+"Provider";function d(f,h){var v;const p=((v=h==null?void 0:h[e])==null?void 0:v[c])||a,x=w.useContext(p);if(x)return x;if(s!==void 0)return s;throw new Error(`\`${f}\` must be used within \`${i}\``)}return[u,d]}const o=()=>{const i=n.map(s=>w.createContext(s));return function(a){const c=(a==null?void 0:a[e])||i;return w.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return o.scopeName=e,[r,zy(o,...t)]}function zy(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const s=r.reduce((a,{useScope:c,scopeName:u})=>{const f=c(i)[`__scope${u}`];return{...a,...f}},{});return w.useMemo(()=>({[`__scope${t.scopeName}`]:s}),[s])}};return n.scopeName=t.scopeName,n}function ec(e){const t=Dy(e),n=w.forwardRef((r,o)=>{const{children:i,...s}=r,a=w.Children.toArray(i),c=a.find($y);if(c){const u=c.props.children,d=a.map(f=>f===c?w.Children.count(u)>1?w.Children.only(null):w.isValidElement(u)?u.props.children:null:f);return l.jsx(t,{...s,ref:o,children:w.isValidElement(u)?w.cloneElement(u,void 0,d):null})}return l.jsx(t,{...s,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function Dy(e){const t=w.forwardRef((n,r)=>{const{children:o,...i}=n;if(w.isValidElement(o)){const s=Hy(o),a=By(i,o.props);return o.type!==w.Fragment&&(a.ref=r?fm(r,s):s),w.cloneElement(o,a)}return w.Children.count(o)>1?w.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var pm=Symbol("radix.slottable");function Fy(e){const t=({children:n})=>l.jsx(l.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=pm,t}function $y(e){return w.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===pm}function By(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...a)=>{const c=i(...a);return o(...a),c}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function Hy(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function Vy(e){const t=e+"CollectionProvider",[n,r]=fa(t),[o,i]=n(t,{collectionRef:{current:null},itemMap:new Map}),s=v=>{const{scope:b,children:g}=v,m=R.useRef(null),y=R.useRef(new Map).current;return l.jsx(o,{scope:b,itemMap:y,collectionRef:m,children:g})};s.displayName=t;const a=e+"CollectionSlot",c=ec(a),u=R.forwardRef((v,b)=>{const{scope:g,children:m}=v,y=i(a,g),C=kt(b,y.collectionRef);return l.jsx(c,{ref:C,children:m})});u.displayName=a;const d=e+"CollectionItemSlot",f="data-radix-collection-item",h=ec(d),p=R.forwardRef((v,b)=>{const{scope:g,children:m,...y}=v,C=R.useRef(null),S=kt(b,C),k=i(d,g);return R.useEffect(()=>(k.itemMap.set(C,{ref:C,...y}),()=>
vendor: 9,168 bytes, line 40
40void k.itemMap.delete(C))),l.jsx(h,{[f]:"",ref:S,children:m})});p.displayName=d;function x(v){const b=i(e+"CollectionConsumer",v);return R.useCallback(()=>{const m=b.collectionRef.current;if(!m)return[];const y=Array.from(m.querySelectorAll(`[${f}]`));return Array.from(b.itemMap.values()).sort((k,N)=>y.indexOf(k.ref.current)-y.indexOf(N.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:s,Slot:u,ItemSlot:p},x,r]}var Uy=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Ge=Uy.reduce((e,t)=>{const n=ec(`Primitive.${t}`),r=w.forwardRef((o,i)=>{const{asChild:s,...a}=o,c=s?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),l.jsx(c,{...a,ref:i})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function hm(e,t){e&&Si.flushSync(()=>e.dispatchEvent(t))}function _n(e){const t=w.useRef(e);return w.useEffect(()=>{t.current=e}),w.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function Wy(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e);w.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var Ky="DismissableLayer",tc="dismissableLayer.update",Gy="dismissableLayer.pointerDownOutside",Qy="dismissableLayer.focusOutside",tf,mm=w.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),mu=w.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:s,onDismiss:a,...c}=e,u=w.useContext(mm),[d,f]=w.useState(null),h=(d==null?void 0:d.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=w.useState({}),x=kt(t,N=>f(N)),v=Array.from(u.layers),[b]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),g=v.indexOf(b),m=d?v.indexOf(d):-1,y=u.layersWithOutsidePointerEventsDisabled.size>0,C=m>=g,S=Zy(N=>{const T=N.target,M=[...u.branches].some(I=>I.contains(T));!C||M||(o==null||o(N),s==null||s(N),N.defaultPrevented||a==null||a())},h),k=qy(N=>{const T=N.target;[...u.branches].some(I=>I.contains(T))||(i==null||i(N),s==null||s(N),N.defaultPrevented||a==null||a())},h);return Wy(N=>{m===u.layers.size-1&&(r==null||r(N),!N.defaultPrevented&&a&&(N.preventDefault(),a()))},h),w.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(tf=h.body.style.pointerEvents,h.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),nf(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(h.body.style.pointerEvents=tf)}},[d,h,n,u]),w.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),nf())},[d,u]),w.useEffect(()=>{const N=()=>p({});return document.addEventListener(tc,N),()=>document.removeEventListener(tc,N)},[]),l.jsx(Ge.div,{...c,ref:x,style:{pointerEvents:y?C?"auto":"none":void 0,...e.style},onFocusCapture:we(e.onFocusCapture,k.onFocusCapture),onBlurCapture:we(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:we(e.onPointerDownCapture,S.onPointerDownCapture)})});mu.displayName=Ky;var Yy="DismissableLayerBranch",gm=w.forwardRef((e,t)=>{const n=w.useContext(mm),r=w.useRef(null),o=kt(t,r);return w.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),l.jsx(Ge.div,{...e,ref:o})});gm.displayName=Yy;function Zy(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e),r=w.useRef(!1),o=w.useRef(()=>{});return w.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let c=function(){vm(Gy,n,u,{discrete:!0})};const u={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",o.current),o.current=c,t.addEventListener("click",o.current,{once:!0})):c()}else t.removeEventListener("click",o.current);r.current=!1},s=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(s),t.removeEventListener("pointerdown",i),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function qy(e,t=globalThis==null?void 0:globalThis.document){const n=_n(e),r=w.useRef(!1);return w.useEffect(()=>{const o=i=>{i.target&&!r.current&&vm(Qy,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",o),()=>t.removeEventListener("focusin",o)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function nf(){const e=new CustomEvent(tc);document.dispatchEvent(e)}function vm(e,t,n,{discrete:r}){const o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?hm(o,i):o.dispatchEvent(i)}var Xy=mu,Jy=gm,Ln=globalThis!=null&&globalThis.document?w.useLayoutEffect:()=>{},ex="Portal",ym=w.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[o,i]=w.useState(!1);Ln(()=>i(!0),[]);const s=n||o&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return s?um.createPortal(l.jsx(Ge.div,{...r,ref:t}),s):null});ym.displayName=ex;function tx(e,t){return w.useReducer((n,r)=>t[n][r]??n,e)}var gu=e=>{const{present:t,children:n}=e,r=nx(t),o=typeof n=="function"?n({present:r.isPresent}):w.Children.only(n),i=kt(r.ref,rx(o));return typeof n=="function"||r.isPresent?w.cloneElement(o,{ref:i}):null};gu.displayName="Presence";function nx(e){const[t,n]=w.useState(),r=w.useRef(null),o=w.useRef(e),i=w.useRef("none"),s=e?"mounted":"unmounted",[a,c]=tx(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return w.useEffect(()=>{const u=Qi(r.current);i.current=a==="mounted"?u:"none"},[a]),Ln(()=>{const u=r.current,d=o.current;if(d!==e){const h=i.current,p=Qi(u);e?c("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?c("UNMOUNT"):c(d&&h!==p?"ANIMATION_OUT":"UNMOUNT"),o.current=e}},[e,c]),Ln(()=>{if(t){let u;const d=t.ownerDocument.defaultView??window,f=p=>{const v=Qi(r.current).includes(p.animationName);if(p.target===t&&v&&(c("ANIMATION_END"),!o.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=d.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},h=p=>{p.target===t&&(i.current=Qi(r.current))};return t.addEventListener("animationstart",h),t.addEventListener("animationcancel",f),t.addEventListener("animationend",f),()=>{d.clearTimeout(u),t.removeEventListener("animationstart",h),t.removeEventListener("animationcancel",f),t.removeEventListener("animationend",f)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:w.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Qi(e){return(e==null?void 0:e.animationName)||"none"}function rx(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ox=ap[" useInsertionEffect ".trim().toString()]||Ln;function ix({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[o,i,s]=sx({defaultProp:t,onChange:n}),a=e!==void 0,c=a?e:o;{const d=w.useRef(e!==void 0);w.useEffect(()=>{const f=d.current;f!==a&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${a?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=a},[a,r])}const u=w.useCallback(d=>{var f;if(a){const h=ax(d)?d(e):d;h!==e&&((f=s.current)==null||f.call(s,h))}else i(d)},[a,e,i,s]);return[c,u]}function sx({defaultProp:e,onChange:t}){const[n,r]=w.useState(e),o=w.useRef(n),i=w.useRef(t);return ox(()=>{i.current=t},[t]),w.useEffect(()=>{var s;o.current!==n&&((s=i.current)==null||s.call(i,n),o.current=n)},[n,o]),[n,r,i]}function ax(e){return typeof e=="function"}var lx=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),cx="VisuallyHidden",pa=w.forwardRef((e,t)=>l.jsx(Ge.span,{...e,ref:t,style:{...lx,...e.style}}));pa.displayName=cx;var ux=pa,vu="ToastProvider",[yu,dx,fx]=Vy("Toast"),[xm,tS]=fa("Toast",[fx]),[px,ha]=xm(vu),wm=e=>{const{__scopeToast:t,label:n="Notification",duration:r=5e3,swipeDirection:o="right",swipeThreshold:i=50,children:s}=e,[a,c]=w.useState(null),[u,d]=w.useState(0),f=w.useRef(!1),h=w.useRef(!1);return n.trim()||console.error(`Invalid prop \`label\` supplied to \`${vu}\`. Expected non-empty \`string\`.`),l.jsx(yu.Provider,{scope:t,children:l.jsx(px,{scope:t,label:n,duration:r,swipeDirection:o,swipeThreshold:i,toastCount:u,viewport:a,onViewportChange:c,onToastAdd:w.useCallback(()=>d(p=>p+1),[]),onToastRemove:w.useCallback(()=>d(p=>p-1),[]),isFocusedToastEscapeKeyDownRef:f,isClosePausedRef:h,children:s})})};wm.displayName=vu;var bm="ToastViewport",hx=["F8"],nc="toast.viewportPause",rc="toast.viewportResume",Cm=w.forwardRef((e,t)=>
40{const{__scopeToast:n,hotkey:r=hx,label:o="Notifications ({hotkey})",...i}=e,s=ha(bm,n),a=dx(n),c=w.useRef(null),u=w.useRef(null),d=w.useRef(null),f=w.useRef(null),h=kt(t,f,s.onViewportChange),p=r.join("+").replace(/Key/g,"").replace(/Digit/g,""),x=s.toastCount>0;w.useEffect(()=>{const b=g=>{var y;r.length!==0&&r.every(C=>g[C]||g.code===C)&&((y=f.current)==null||y.focus())};return document.addEventListener("keydown",b),()=>document.removeEventListener("keydown",b)},[r]),w.useEffect(()=>{const b=c.current,g=f.current;if(x&&b&&g){const m=()=>{if(!s.isClosePausedRef.current){const k=new CustomEvent(nc);g.dispatchEvent(k),s.isClosePausedRef.current=!0}},y=()=>{if(s.isClosePausedRef.current){const k=new CustomEvent(rc);g.dispatchEvent(k),s.isClosePausedRef.current=!1}},C=k=>{!b.contains(k.relatedTarget)&&y()},S=()=>{b.contains(document.activeElement)||y()};return b.addEventListener("focusin",m),b.addEventListener("focusout",C),b.addEventListener("pointermove",m),b.addEventListener("pointerleave",S),window.addEventListener("blur",m),window.addEventListener("focus",y),()=>{b.removeEventListener("focusin",m),b.removeEventListener("focusout",C),b.removeEventListener("pointermove",m),b.removeEventListener("pointerleave",S),window.removeEventListener("blur",m),window.removeEventListener("focus",y)}}},[x,s.isClosePausedRef]);const v=w.useCallback(({tabbingDirection:b})=>{const m=a().map(y=>{const C=y.ref.current,S=[C,...jx(C)];return b==="forwards"?S:S.reverse()});return(b==="forwards"?m.reverse():m).flat()},[a]);return w.useEffect(()=>{const b=f.current;if(b){const g=m=>{var S,k,N;const y=m.altKey||m.ctrlKey||m.metaKey;if(m.key==="Tab"&&!y){const T=document.activeElement,M=m.shiftKey;if(m.target===b&&M){(S=u.current)==null||S.focus();return}const z=v({tabbingDirection:M?"backwards":"forwards"}),K=z.findIndex(O=>O===T);
40nl(z.slice(K+1))?m.preventDefault():M?(k=u.current)==null||k.focus():(N=d.current)==null||N.focus()}};return b.addEventListener("keydown",g),()=>b.removeEventListener("keydown",g)}},[a,v]),l.jsxs(Jy,{ref:c,role:"region","aria-label":o.replace("{hotkey}",p),tabIndex:-1,style:{pointerEvents:x?void 0:"none"},children:[x&&l.jsx(oc,{ref:u,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"forwards"});nl(b)}}),l.jsx(yu.Slot,{scope:n,children:l.jsx(Ge.ol,{tabIndex:-1,...i,ref:h})}),x&&l.jsx(oc,{ref:d,onFocusFromOutsideViewport:()=>{const b=v({tabbingDirection:"backwards"});nl(b)}})]})});Cm.displayName=bm;var Sm="ToastFocusProxy",oc=w.forwardRef((e,t)=>{const{__scopeToast:n,onFocusFromOutsideViewport:r,...o}=e,i=ha(Sm,n);return l.jsx(pa,{"aria-hidden":!0,tabIndex:0,...o,ref:t,style:{position:"fixed"},onFocus:s=>{var u;const a=s.relatedTarget;!((u=i.viewport)!=null&&u.contains(a))&&r()}})});oc.displayName=Sm;var ki="Toast",mx="toast.swipeStart",gx="toast.swipeMove",vx="toast.swipeCancel",yx="toast.swipeEnd",km=w.forwardRef((e,t)=>{const{forceMount:n,open:r,defaultOpen:o,onOpenChange:i,...s}=e,[a,c]=ix({prop:r,defaultProp:o??!0,onChange:i,caller:ki});return l.jsx(gu,{present:n||a,children:l.jsx(bx,{open:a,...s,ref:t,onClose:()=>c(!1),onPause:_n(e.onPause),onResume:_n(e.onResume),onSwipeStart:we(e.onSwipeStart,u=>{u.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:we(e.onSwipeMove,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","move"),u.currentTarget.style.setProperty("--radix-toast-swipe-move-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-move-y",`${f}px`)}),onSwipeCancel:we(e.onSwipeCancel,u=>{u.currentTarget.setAttribute("data-swipe","cancel"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:we(e.onSwipeEnd,u=>{const{x:d,y:f}=u.detail.delta;u.currentTarget.setAttribute("data-swipe","end"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),u.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),u.currentTarget.style.setProperty("--radix-toast-swipe-end-x",`${d}px`),u.currentTarget.style.setProperty("--radix-toast-swipe-end-y",`${f}px`),c(!1)})})})});km.displayName=ki;var[xx,wx]=xm(ki,{onClose(){}}),bx=w.forwardRef((e,t)=>{const{__scopeToast:n,type:r="foreground",duration:o,open:i,onClose:s,onEscapeKeyDown:a,onPause:c,onResume:u,onSwipeStart:d,onSwipeMove:f,onSwipeCancel:h,onSwipeEnd:p,...x}=e,v=ha(ki,n),[b,g]=w.useState(null),m=kt(t,O=>g(O)),y=w.useRef(null),C=w.useRef(null),S=o||v.duration,k=w.useRef(0),N=w.useRef(S),T=w.useRef(0),{onToastAdd:M,onToastRemove:I}=v,F=_n(()=>{var Y;(b==null?void 0:b.contains(document.activeElement))&&((Y=v.viewport)==null||Y.focus()),s()}),z=w.useCallback(O=>{!O||O===1/0||(window.clearTimeout(T.current),k.current=new Date().getTime(),T.current=window.setTimeout(F,O))},[F]);w.useEffect(()=>{const O=v.viewport;if(O){const Y=()=>{z(N.current),u==null||u()},$=()=>{const V=new Date().getTime()-k.current;N.current=N.current-V,window.clearTimeout(T.current),c==null||c()};return O.addEventListener(nc,$),O.addEventListener(rc,Y),()=>{O.removeEventListener(nc,$),O.removeEventListener(rc,Y)}}},[v.viewport,S,c,u,z]),w.useEffect(()=>{i&&!v.isClosePausedRef.current&&z(S)},[i,S,v.isClosePausedRef,z]),w.useEffect(()=>(M(),()=>I()),[M,I]);const K=w.useMemo(()=>b?Rm(b):null,[b]);return v.viewport?l.jsxs(l.Fragment,{children:[K&&l.jsx(Cx,{__scopeToast:n,role:"status","aria-live":r==="foreground"?"assertive":"polite","aria-atomic":!0,children:K}),l.jsx(xx,{scope:n,onClose:F,children:Si.createPortal(l.jsx(yu.ItemSlot,{scope:n,children:l.jsx(Xy,{asChild:!0,onEscapeKeyDown:we(a,()=>{v.isFocusedToastEscapeKeyDownRef.current||F(),v.isFocusedToastEscapeKeyDownRef.current=!1}),children:l.jsx(Ge.li,{role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":i?"open":"closed","data-swipe-direction":v.swipeDirection,...x,ref:m,style:{userSelect:"none",touchAction:"none",...e.style},onKeyDown:we(e.onKeyDown,O=>{O.key==="Escape"&&(a==null||a(O.nativeEvent),O.nativeEvent.defaultPrevented||(v.isFocusedToastEscapeKeyDownRef.current=!0,F()))}),onPointerDown:we(e.onPointerDown,O=>{O.button===0&&(y.current={x:O.clientX,y:O.clientY})}),onPointerMove:we(e.onPointerMove,O=>{if(!y.current)return;const Y=O.clientX-y.current.x,$=O.clientY-y.current.y,V=!!C.current,j=["left","right"].includes(v.swipeDirection),P=["left","up"].includes(v.swipeDirection)?Math.min:Math.max,_=j?P(0,Y):0,U=j?0:P(0,$),D=O.pointerType==="touch"?10:2,G={x:_,y:U},Z={originalEvent:O,delta:G};V?(C.current=G,Yi(gx,f,Z,{discrete:!1})):rf(G,v.swipeDirection,D)?(C.current=G,Yi(mx,d,Z,{discrete:!1}),O.target.setPointerCapture(O.pointerId)):(Math.abs(Y)>D||Math.abs($)>D)&&(y.current=null)}),onPointerUp:we(e.onPointerUp,O=>{const Y=C.current,$=O.target;if($.hasPointerCapture(O.pointerId)&&$.releasePointerCapture(O.pointerId),C.current=null,y.current=null,Y){const V=O.currentTarget,j={originalEvent:O,delta:Y};rf(Y,v.swipeDirection,v.swipeThreshold)?Yi(yx,p,j,{discrete:!0}):Yi(vx,h,j,{discrete:!0}),V.addEventListener("click",P=>P.preventDefault(),{once:!0})}})})})}),v.viewport)})]}):null}),Cx=e=>{const{__scopeToast:t,children:n,...r}=e,o=ha(ki,t),[i,s]=w.useState(!1),[a,c]=w.useState(!1);return Nx(()=>s(!0)),w.useEffect(()=>{const u=window.setTimeout(()=>c(!0),1e3);return()=>window.clearTimeout(u)},[]),a?null:l.jsx(ym,{asChild:!0,children:l.jsx(pa,{...r,children:i&&l.jsxs(l.Fragment,{children:[o.label," ",n]})})})},Sx="ToastTitle",Nm=w.forwardRef((e,t)=>
40{const{__scopeToast:n,...r}=e;return l.jsx(Ge.div,{...r,ref:t})});Nm.displayName=Sx;var kx="ToastDescription",Em=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e;return l.jsx(Ge.div,{...r,ref:t})});Em.displayName=kx;var jm="ToastAction",Pm=w.forwardRef((e,t)=>{const{altText:n,...r}=e;return n.trim()?l.jsx(Am,{altText:n,asChild:!0,children:l.jsx(xu,{...r,ref:t})}):(console.error(`Invalid prop \`altText\` supplied to \`${jm}\`. Expected non-empty \`string\`.`),null)});Pm.displayName=jm;var Tm="ToastClose",xu=w.forwardRef((e,t)=>{const{__scopeToast:n,...r}=e,o=wx(Tm,n);return l.jsx(Am,{asChild:!0,children:l.jsx(Ge.button,{type:"button",...r,ref:t,onClick:we(e.onClick,o.onClose)})})});xu.displayName=Tm;var Am=w.forwardRef((e,t)=>{const{__scopeToast:n,altText:r,...o}=e;return l.jsx(Ge.div,{"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":r||void 0,...o,ref:t})});function Rm(e){const t=[];return Array.from(e.childNodes).forEach(r=>{if(r.nodeType===r.TEXT_NODE&&r.textContent&&t.push(r.textContent),Ex(r)){const o=r.ariaHidden||r.hidden||r.style.display==="none",i=r.dataset.radixToastAnnounceExclude==="";if(!o)if(i){const s=r.dataset.radixToastAnnounceAlt;s&&t.push(s)}else t.push(...Rm(r))}}),t}function Yi(e,t,n,{discrete:r}){const o=n.originalEvent.currentTarget,i=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?hm(o,i):o.dispatchEvent(i)}var rf=(e,t,n=0)=>{const r=Math.abs(e.x),o=Math.abs(e.y),i=r>o;return t==="left"||t==="right"?i&&r>n:!i&&o>n};function Nx(e=()=>{}){const t=_n(e);Ln(()=>{let n=0,r=0;return n=window.requestAnimationFrame(()=>r=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(n),window.cancelAnimationFrame(r)}},[t])}function Ex(e){return e.nodeType===e.ELEMENT_NODE}function jx(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function nl(e){const t=document.activeElement;return e.some(n=>n===t?!0:(n.focus(),document.activeElement!==t))}var Px=wm,Im=Cm,Mm=km,Om=Nm,_m=Em,Lm=Pm,zm=xu;function Dm(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Dm(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Fm(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Dm(e))&&(r&&(r+=" "),r+=t);return r}const of=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,sf=Fm,Tx=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return sf(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(u=>{const d=n==null?void 0:n[u],f=i==null?void 0:i[u];if(d===null)return null;const h=of(d)||of(f);return o[u][h]}),a=n&&Object.entries(n).reduce((u,d)=>{let[f,h]=d;return h===void 0||(u[f]=h),u},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:h,...p}=d;return Object.entries(p).every(x=>{let[v,b]=x;return Array.isArray(b)?b.includes({...i,...a}[v]):{...i,...a}[v]===b})?[...u,f,h]:u},[]);return sf(e,s,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
41 * @license lucide-react v0.462.0 - ISC
42 *
43 * This source code is licensed under the ISC license.
44 * See the LICENSE file in the root directory of this source tree.
45 */const Ax=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),$m=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
46 * @license lucide-react v0.462.0 - ISC
47 *
48 * This source code is licensed under the ISC license.
49 * See the LICENSE file in the root directory of this source tree.
50 */var Rx={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
51 * @license lucide-react v0.462.0 - ISC
52 *
53 * This source code is licensed under the ISC license.
54 * See the LICENSE file in the root directory of this source tree.
55 */const Ix=w.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:i,iconNode:s,...a},c)=>w.createElement("svg",{ref:c,...Rx,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:$m("lucide",o),...a},[...s.map(([u,d])=>w.createElement(u,d)),...Array.isArray(i)?i:[i]]));/**
56 * @license lucide-react v0.462.0 - ISC
57 *
58 * This source code is licensed under the ISC license.
59 * See the LICENSE file in the root directory of this source tree.
60 */const X=(e,t)=>{const n=w.forwardRef(({className:r,...o},i)=>w.createElement(Ix,{ref:i,iconNode:t,className:$m(`lucide-${Ax(e)}`,r),...o}));return n.displayName=`${e}`,n};/**
61 * @license lucide-react v0.462.0 - ISC
62 *
63 * This source code is licensed under the ISC license.
64 * See the LICENSE file in the root directory of this source tree.
65 */const Bm=X("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l
65-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
66 * @license lucide-react v0.462.0 - ISC
67 *
68 * This source code is licensed under the ISC license.
69 * See the LICENSE file in the root directory of this source tree.
70 */const ic=X("Bell",[["path",{d:"M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9",key:"1qo2s2"}],["path",{d:"M10.3 21a1.94 1.94 0 0 0 3.4 0",key:"qgo35s"}]]);/**
71 * @license lucide-react v0.462.0 - ISC
72 *
73 * This source code is licensed under the ISC license.
74 * See the LICENSE file in the root directory of this source tree.
75 */const Cn=X("Brain",[["path",{d:"M12 5a3 3 0 1 0-5.997.125 4 4 0 0 0-2.526 5.77 4 4 0 0 0 .556 6.588A4 4 0 1 0 12 18Z",key:"l5xja"}],["path",{d:"M12 5a3 3 0 1 1 5.997.125 4 4 0 0 1 2.526 5.77 4 4 0 0 1-.556 6.588A4 4 0 1 1 12 18Z",key:"ep3f8r"}],["path",{d:"M15 13a4.5 4.5 0 0 1-3-4 4.5 4.5 0 0 1-3 4",key:"1p4c4q"}],["path",{d:"M17.599 6.5a3 3 0 0 0 .399-1.375",key:"tmeiqw"}],["path",{d:"M6.003 5.125A3 3 0 0 0 6.401 6.5",key:"105sqy"}],["path",{d:"M3.477 10.896a4 4 0 0 1 .585-.396",key:"ql3yin"}],["path",{d:"M19.938 10.5a4 4 0 0 1 .585.396",key:"1qfode"}],["path",{d:"M6 18a4 4 0 0 1-1.967-.516",key:"2e4loj"}],["path",{d:"M19.967 17.484A4 4 0 0 1 18 18",key:"159ez6"}]]);/**
76 * @license lucide-react v0.462.0 - ISC
77 *
78 * This source code is licensed under the ISC license.
79 * See the LICENSE file in the root directory of this source tree.
80 */const Mx=X("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/**
81 * @license lucide-react v0.462.0 - ISC
82 *
83 * This source code is licensed under the ISC license.
84 * See the LICENSE file in the root directory of this source tree.
85 */const sc=X("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]);/**
86 * @license lucide-react v0.462.0 - ISC
87 *
88 * This source code is licensed under the ISC license.
89 * See the LICENSE file in the root directory of this source tree.
90 */const ac=X("Camera",[["path",{d:"M14.5 4h-5L7 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-3l-2.5-3z",key:"1tc9qg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]]);/**
91 * @license lucide-react v0.462.0 - ISC
92 *
93 * This source code is licensed under the ISC license.
94 * See the LICENSE file in the root directory of this source tree.
95 */const Lr=X("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]);/**
96 * @license lucide-react v0.462.0 - ISC
97 *
98 * This source code is licensed under the ISC license.
99 * See the LICENSE file in the root directory of this source tree.
100 */const Hm=X("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
101 * @license lucide-react v0.462.0 - ISC
102 *
103 * This source code is licensed under the ISC license.
104 * See the LICENSE file in the root directory of this source tree.
105 */const Vm=X("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
106 * @license lucide-react v0.462.0 - ISC
107 *
108 * This source code is licensed under the ISC license.
109 * See the LICENSE file in the root directory of this source tree.
110 */const af=X("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/**
111 * @license lucide-react v0.462.0 - ISC
112 *
113 * This source code is licensed under the ISC license.
114 * See the LICENSE file in the root directory of this source tree.
115 */const Bs=X("Cpu",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}
115],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/**
116 * @license lucide-react v0.462.0 - ISC
117 *
118 * This source code is licensed under the ISC license.
119 * See the LICENSE file in the root directory of this source tree.
120 */const so=X("Database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
121 * @license lucide-react v0.462.0 - ISC
122 *
123 * This source code is licensed under the ISC license.
124 * See the LICENSE file in the root directory of this source tree.
125 */const ur=X("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/**
126 * @license lucide-react v0.462.0 - ISC
127 *
128 * This source code is licensed under the ISC license.
129 * See the LICENSE file in the root directory of this source tree.
130 */const ci=X("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]]);/**
131 * @license lucide-react v0.462.0 - ISC
132 *
133 * This source code is licensed under the ISC license.
134 * See the LICENSE file in the root directory of this source tree.
135 */const Ox=X("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/**
136 * @license lucide-react v0.462.0 - ISC
137 *
138 * This source code is licensed under the ISC license.
139 * See the LICENSE file in the root directory of this source tree.
140 */const zn=X("Heart",[["path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z",key:"c3ymky"}]]);/**
141 * @license lucide-react v0.462.0 - ISC
142 *
143 * This source code is licensed under the ISC license.
144 * See the LICENSE file in the root directory of this source tree.
145 */const Zi=X("Hospital",[["path",{d:"M12 6v4",key:"16clxf"}],["path",{d:"M14 14h-4",key:"esezmu"}],["path",{d:"M14 18h-4",key:"16mqa2"}],["path",{d:"M14 8h-4",key:"z8ypaz"}],["path",{d:"M18 12h2a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h2",key:"b1k337"}],["path",{d:"M18 22V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v18",key:"16g51d"}]]);/**
146 * @license lucide-react v0.462.0 - ISC
147 *
148 * This source code is licensed under the ISC license.
149 * See the LICENSE file in the root directory of this source tree.
150 */const lf=X("Link2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);/**
151 * @license lucide-react v0.462.0 - ISC
152 *
153 * This source code is licensed under the ISC license.
154 * See the LICENSE file in the root directory of this source tree.
155 */const _x=X("Link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);/**
156 * @license lucide-react v0.462.0 - ISC
157 *
158 * This source code is licensed under the ISC license.
159 * See the LICENSE file in the root directory of this source tree.
160 */const Lx=X("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
161 * @license lucide-react v0.462.0 - ISC
162 *
163 * This source code is licensed under the ISC license.
164 * See the LICENSE file in the root directory of this source tree.
165 */const zx=X("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
166 * @license lucide-react v0.462.0 - ISC
167 *
168 * This source code is licensed under the ISC license.
169 * See the LICENSE file in the root directory of this source tree.
170 */const Dx=X("Mic",[["path",{d:"M12 2a3 3 0 0 0-3 3v7a3 3 0 0 0 6 0V5a3 3 0 0 0-3-3Z",key:"131961"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["line",{x1:"12",x2:"12",y1:"19",y2:"22",key:"x3vr5v"}]]);/**
171 * @license lucide-react v0.462.0 - ISC
172 *
173 * This source code is licensed under the ISC license.
174 * See the LICENSE file in the root directory of this source tree.
175 */const qi=X("Monitor",[["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"}]]);/**
176 * @license lucide-react v0.462.0 - ISC
177 *
178 * This source code is licensed under the ISC license.
179 * See the LICENSE file in the root directory of this source tree.
180 */const lc=X("Route",[["circle",{cx:"6",cy:"19",r:"3",key:"1kj8tv"}],["path",{d:"M9 19h8.5a3.5 3.5 0 0 0 0-7h-11a3.5 3.5 0 0 1 0-7H15",key:"1d8sl"}],["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}]]);/**
181 * @license lucide-react v0.462.0 - ISC
182 *
183 * This source code is licensed under the ISC license.
184 * See the LICENSE file in the root directory of this source tree.
185 */const cc=X("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
186 * @license lucide-react v0.462.0 - ISC
187 *
188 * This source code is licensed under the ISC license.
189 * See the LICENSE file in the root directory of this source tree.
190 */const ao=X("ShieldCheck",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
vendor: 10,073 bytes, lines 190-225
190y:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
191 * @license lucide-react v0.462.0 - ISC
192 *
193 * This source code is licensed under the ISC license.
194 * See the LICENSE file in the root directory of this source tree.
195 */const cf=X("Shield",[["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"}]]);/**
196 * @license lucide-react v0.462.0 - ISC
197 *
198 * This source code is licensed under the ISC license.
199 * See the LICENSE file in the root directory of this source tree.
200 */const uf=X("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
201 * @license lucide-react v0.462.0 - ISC
202 *
203 * This source code is licensed under the ISC license.
204 * See the LICENSE file in the root directory of this source tree.
205 */const Xi=X("UserCheck",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["polyline",{points:"16 11 18 13 22 9",key:"1pwet4"}]]);/**
206 * @license lucide-react v0.462.0 - ISC
207 *
208 * This source code is licensed under the ISC license.
209 * See the LICENSE file in the root directory of this source tree.
210 */const Hs=X("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
211 * @license lucide-react v0.462.0 - ISC
212 *
213 * This source code is licensed under the ISC license.
214 * See the LICENSE file in the root directory of this source tree.
215 */const Fx=X("Wifi",[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M2 8.82a15 15 0 0 1 20 0",key:"dnpr2z"}],["path",{d:"M5 12.859a10 10 0 0 1 14 0",key:"1x1e6c"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}]]);/**
216 * @license lucide-react v0.462.0 - ISC
217 *
218 * This source code is licensed under the ISC license.
219 * See the LICENSE file in the root directory of this source tree.
220 */const wu=X("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/**
221 * @license lucide-react v0.462.0 - ISC
222 *
223 * This source code is licensed under the ISC license.
224 * See the LICENSE file in the root directory of this source tree.
225 */const $x=X("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),bu="-",Bx=e=>{const t=Vx(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:s=>{const a=s.split(bu);return a[0]===""&&a.length!==1&&a.shift(),Um(a,t)||Hx(s)},getConflictingClassGroupIds:(s,a)=>{const c=n[s]||[];return a&&r[s]?[...c,...r[s]]:c}}},Um=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Um(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(bu);return(s=t.validators.find(({validator:a})=>a(i)))==null?void 0:s.classGroupId},df=/^\[(.+)\]$/,Hx=e=>{if(df.test(e)){const t=df.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Vx=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return Wx(Object.entries(e.classGroups),n).forEach(([i,s])=>{uc(s,r,i,t)}),r},uc=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:ff(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(Ux(o)){uc(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,s])=>{uc(s,ff(t,i),n,r)})})},ff=(e,t)=>{let n=e;return t.split(bu).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Ux=e=>e.isThemeGetter,Wx=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([s,a])=>[t+s,a])):i);return[n,o]}):e,Kx=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,s)=>{n.set(i,s),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let s=n.get(i);if(s!==void 0)return s;if((s=r.get(i))!==void 0)return o(i,s),s},set(i,s){n.has(i)?n.set(i,s):o(i,s)}}},Wm="!",Gx=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,s=a=>{const c=[];let u=0,d=0,f;for(let b=0;b<a.length;b++){let g=a[b];if(u===0){if(g===o&&(r||a.slice(b,b+i)===t)){c.push(a.slice(d,b)),d=b+i;continue}if(g==="/"){f=b;continue}}g==="["?u++:g==="]"&&u--}const h=c.length===0?a:a.substring(d),p=h.startsWith(Wm),x=p?h.substring(1):h,v=f&&f>d?f-d:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:x,maybePostfixModifierPosition:v}};return n?a=>n({className:a,parseClassName:s}):s},Qx=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Yx=e=>({cache:Kx(e.cacheSize),parseClassName:Gx(e),...Bx(e)}),Zx=/\s+/,qx=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],s=e.trim().split(Zx);let a="";for(let c=s.length-1;c>=0;c-=1){const u=s[c],{modifiers:d,hasImportantModifier:f,baseClassName:h,maybePostfixModifierPosition:p}=n(u);let x=!!p,v=r(x?h.substring(0,p):h);if(!v){if(!x){a=u+(a.length>0?" "+a:a);continue}if(v=r(h),!v){a=u+(a.length>0?" "+a:a);continue}x=!1}const b=Qx(d).join(":"),g=f?b+Wm:b,m=g+v;if(i.includes(m))continue;i.push(m);const y=o(v,x);for(let C=0;C<y.length;++C){const S=y[C];i.push(g+S)}a=u+(a.length>0?" "+a:a)}return a};function Xx(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Km(t))&&(r&&(r+=" "),r+=n);return r}const Km=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Km(e[r]))&&(n&&(n+=" "),n+=t);return n};function Jx(e,...t){let n,r,o,i=s;function s(c){const u=t.reduce((d,f)=>f(d),e());return n=Yx(u),r=n.cache.get,o=n.cache.set,i=a,a(c)}function a(c){const u=r(c);if(u)return u;const d=qx(c,n);return o(c,d),d}return function(){return i(Xx.apply(null,arguments))}}const oe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Gm=/^\[(?:([a-z-]+):)?(.+)\]$/i,e1=/^\d+\/\d+$/,t1=new Set(["px","full","screen"]),n1=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,r1=/\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$/,o1=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,i1=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,s1=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Ft=e=>Vr(e)||t1.has(e)||e1.test(e),ln=e=>ho(e,"length",h1),Vr=e=>!!e&&!Number.isNaN(Number(e)),rl=e=>ho(e,"number",Vr),To=e=>!!e&&Number.isInteger(Number(e)),a1=e=>e.endsWith("%")&&Vr(e.slice(0,-1)),W=e=>Gm.test(e),cn=e=>n1.test(e),l1=new Set(["length","size","percentage"]),c1=e=>ho(e,l1,Qm),u1=e=>ho(e,"position",Qm),d1=new Set(["image","url"]),f1=e=>ho(e,d1,g1),p1=e=>ho(e,"",m1),Ao=()=>!0,ho=(e,t,n)=>{const r=Gm.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},h1=e=>r1.test(e)&&!o1.test(e),Qm=()=>!1,m1=e=>i1.test(e),g1=e=>s1.test(e),v1=()=>{const e=oe("colors"),t=oe("spacing"),n=oe("blur"),r=oe("brightness"),o=oe("borderColor"),i=oe("borderRadius"),s=oe("borderSpacing"),a=oe("borderWidth"),c=oe("contrast"),u=oe("grayscale"),d=oe("hueRotate"),f=oe("invert"),h=oe("gap"),p=oe("gradientColorStops"),x=oe("gradientColorStopPositions"),v=oe("inset"),b=oe("margin"),g=oe("opacity"),m=oe("padding"),y=oe("saturate"),C=oe("scale"),S=oe("sepia"),k=oe("skew"),N=oe("space"),T=oe("translate"),M=()=>["auto","contain","none"],I=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto",W,t],z=()=>[W,t],K=()=>["",Ft,ln],O=()=>["auto",Vr,W],Y=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],V=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],j=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",W],_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],U=()=>[Vr,W];return{cacheSize:500,separator:":",theme:{colors:[Ao],spacing:[Ft,ln],blur:["none","",cn,W],brightness:U(),borderColor:[e],borderRadius:["none","","full",cn,W],borderSpacing:z(),borderWidth:K(),contrast:U(),grayscale:P(),hueRotate:U(),invert:P(),gap:z(),gradientColorStops:[e],gradientColorStopPositions:[a1,ln],inset:F(),margin:F(),opacity:U(),padding:z(),saturate:U(),scale:U(),sepia:P(),skew:U(),space:z(),translate:z()},classGroups:{aspect:[{aspect:["auto","square","video",W]}],container:["container"],columns:[{columns:[cn]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...Y(),W]}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],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]}
vendor: 9,916 bytes, line 225
225],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",To,W]}],basis:[{basis:F()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",W]}],grow:[{grow:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",To,W]}],"grid-cols":[{"grid-cols":[Ao]}],"col-start-end":[{col:["auto",{span:["full",To,W]},W]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[Ao]}],"row-start-end":[{row:["auto",{span:[To,W]},W]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",W]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",W]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"justify-content":[{justify:["normal",...j()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...j(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...j(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[m]}],px:[{px:[m]}],py:[{py:[m]}],ps:[{ps:[m]}],pe:[{pe:[m]}],pt:[{pt:[m]}],pr:[{pr:[m]}],pb:[{pb:[m]}],pl:[{pl:[m]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[N]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[N]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",W,t]}],"min-w":[{"min-w":[W,t,"min","max","fit"]}],"max-w":[{"max-w":[W,t,"none","full","min","max","fit","prose",{screen:[cn]},cn]}],h:[{h:[W,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[W,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[W,t,"auto","min","max","fit"]}],"font-size":[{text:["base",cn,ln]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",rl]}],"font-family":[{font:[Ao]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",W]}],"line-clamp":[{"line-clamp":["none",Vr,rl]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Ft,W]}],"list-image":[{"list-image":["none",W]}],"list-style-type":[{list:["none","disc","decimal",W]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[g]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Ft,ln]}],"underline-offset":[{"underline-offset":["auto",Ft,W]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:z()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",W]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",W]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[g]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Y(),u1]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",c1]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},f1]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[x]}],"gradient-via-pos":[{via:[x]}],"gradient-to-pos":[{to:[x]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[g]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[g]}],"divide-style":[{divide:$()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[Ft,W]}],"outline-w":[{outline:[Ft,ln]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[g]}],"ring-offset-w":[{"ring-offset":[Ft,ln]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",cn,p1]}],"shadow-color":[{shadow:[Ao]}],opacity:[{opacity:[g]}],"mix-blend":[{"mix-blend":[...V(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":V()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",cn,W]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[f]}],saturate:[{saturate:[y]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[f]}],"backdrop-opacity":[{"backdrop-opacity":[g]}],"backdrop-saturate":[{"backdrop-saturate":[y]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",W]}],duration:[{duration:U()}],ease:[{ease:["linear","in","out","in-out",W]}],delay:[{delay:U()}],animate:[{animate:["none","spin","ping","pulse","bounce",W]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[To,W]}],"translate-x":[{"translate-x":[T]}],"translate-y":[{"translate-y":[T]}],"skew-x":[{"skew-x":[k]}],"skew-y":[{"skew-y":[k]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",W]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",W]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":z()}],"scroll-mx":[{"scroll-mx":z()}],"scroll-my":[{"scroll-my":z()}],"scroll-ms":[{"scroll-ms":z()}],"scroll-me":[{"scroll-me":z()}],"scroll-mt":[{"scroll-mt":z()}],"scroll-mr":[{"scroll-mr":z()}],"scroll-mb":[{"scroll-mb":z()}],"scroll-ml":[{"scroll-ml":z()}],"scroll-p":[{"scroll-p":z()}],"scroll-px":[{"scroll-px":z()}],"scroll-py":[{"scroll-py":z()}],"scroll-ps":[{"scroll-ps":z()}],"scroll-pe":[{"scroll-pe":z()}],"scroll-pt":[{"scroll-pt":z()}],"scroll-pr":[{"scroll-pr":z()}],"scroll-pb":[{"scroll-pb":z()}],"scroll-pl":[{"scroll-pl":z()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}
vendor: 4,646 bytes, line 225
225],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",W]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Ft,ln,rl]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},y1=Jx(v1);function hr(...e){return y1(Fm(e))}const x1=Px,Ym=w.forwardRef(({className:e,...t},n)=>l.jsx(Im,{ref:n,className:hr("fixed top-0 z-[100] flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:max-w-[420px]",e),...t}));Ym.displayName=Im.displayName;const w1=Tx("group pointer-events-auto relative flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border p-6 pr-8 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full data-[state=open]:sm:slide-in-from-bottom-full",{variants:{variant:{default:"border bg-background text-foreground",destructive:"destructive group border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),Zm=w.forwardRef(({className:e,variant:t,...n},r)=>l.jsx(Mm,{ref:r,className:hr(w1({variant:t}),e),...n}));Zm.displayName=Mm.displayName;const b1=w.forwardRef(({className:e,...t},n)=>l.jsx(Lm,{ref:n,className:hr("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-muted/40 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e),...t}));b1.displayName=Lm.displayName;const qm=w.forwardRef(({className:e,...t},n)=>l.jsx(zm,{ref:n,className:hr("absolute right-2 top-2 rounded-md p-1 text-foreground
225/50 opacity-0 transition-opacity group-hover:opacity-100 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":"",...t,children:l.jsx(wu,{className:"h-4 w-4"})}));qm.displayName=zm.displayName;const Xm=w.forwardRef(({className:e,...t},n)=>l.jsx(Om,{ref:n,className:hr("text-sm font-semibold",e),...t}));Xm.displayName=Om.displayName;const Jm=w.forwardRef(({className:e,...t},n)=>l.jsx(_m,{ref:n,className:hr("text-sm opacity-90",e),...t}));Jm.displayName=_m.displayName;function C1(){const{toasts:e}=Ly();return l.jsxs(x1,{children:[e.map(function({id:t,title:n,description:r,action:o,...i}){return l.jsxs(Zm,{...i,children:[l.jsxs("div",{className:"grid gap-1",children:[n&&l.jsx(Xm,{children:n}),r&&l.jsx(Jm,{children:r})]}),o,l.jsx(qm,{})]},t)}),l.jsx(Ym,{})]})}var pf=["light","dark"],S1="(prefers-color-scheme: dark)",k1=w.createContext(void 0),N1={setTheme:e=>{},themes:[]},E1=()=>{var e;return(e=w.useContext(k1))!=null?e:N1};w.memo(({forcedTheme:e,storageKey:t,attribute:n,enableSystem:r,enableColorScheme:o,defaultTheme:i,value:s,attrs:a,nonce:c})=>{let u=i==="system",d=n==="class"?`var d=document.documentElement,c=d.classList;${`c.remove(${a.map(x=>`'${x}'`).join(",")})`};`:`var d=document.documentElement,n='${n}',s='setAttribute';`,f=o?pf.includes(i)&&i?`if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'${i}'`:"if(e==='light'||e==='dark')d.style.colorScheme=e":"",h=(x,v=!1,b=!0)=>{let g=s?s[x]:x,m=v?x+"|| ''":`'${g}'`,y="";return o&&b&&!v&&pf.includes(x)&&(y+=`d.style.colorScheme = '${x}';`),n==="class"?v||g?y+=`c.add(${m})`:y+="null":g&&(y+=`d[s](n,${m})`),y},p=e?`!function(){${d}${h(e)}}()`:r?`!function(){try{${d}var e=localStorage.getItem('${t}');if('system'===e||(!e&&${u})){var t='${S1}',m=window.matchMedia(t);if(m.media!==t||m.matches){${h("dark")}}else{${h("light")}}}else if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}${u?"":"else{"+h(i,!1,!1)+"}"}${f}}catch(e){}}()`:`!function(){try{${d}var e=localStorage.getItem('${t}');if(e){${s?`var x=${JSON.stringify(s)};`:""}${h(s?"x[e]":"e",!0)}}else{${h(i,!1,!1)};}${f}}catch(t){}}();`;return w.createElement("script",{nonce:c,dangerouslySetInnerHTML:{__html:p}})});var j1=e=>{switch(e){case"success":return A1;case"info":return I1;case"warning":return R1;case"error":return M1;default:return null}},P1=Array(12).fill(0),T1=({visible:e,className:t})=>R.createElement("div",{className:["sonner-loading-wrapper",t].filter(Boolean).join(" "),"data-visible":e},R.createElement("div",{className:"sonner-spinner"},P1.map((n,r)=>R.createElement("div",{className:"sonner-loading-bar",key:`spinner-bar-${r}`})))),A1=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z",clipRule:"evenodd"})),R1=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z",clipRule:"evenodd"})),I1=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z",clipRule:"evenodd"})),M1=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},R.createElement("path",{fillRule:"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z",clipRule:"evenodd"})),O1=R.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},R.createElement("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),R.createElement("line",{x1:"6",y1:"6",x2:"18",y2:"18"})),_1=()=>{let[e,t]=R.useState(document.hidden);return R.useEffect(()=>{let n=()=>{t(document.hidden)};
225return document.addEventListener("visibilitychange",n),()=>window.removeEventListener("visibilitychange",n)},[]),e},dc=1,L1=class{constructor(){this.subscribe=e=>(this.subscribers.push(e),()=>{let t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}),this.publish=e=>{this.subscribers.forEach(t=>t(e))},this.addToast=e=>{this.publish(e),this.toasts=[...this.toasts,e]},this.create=e=>{var t;let{message:n,...r}=e,o=typeof(e==null?void 0:e.id)=="number"||((t=e.id)==null?void 0:t.length)>0?e.id:dc++,i=this.toasts.find(a=>a.id===o),s=e.dismissible===void 0?!0:e.dismissible;return this.dismissedToasts.has(o)&&this.dismissedToasts.delete(o),i?this.toasts=this.toasts.map(a=>a.id===o?(this.publish({...a,...e,id:o,title:n}),{...a,...e,id:o,dismissible:s,title:n}):a):this.addToast({title:n,...r,dismissible:s,id:o}),o},this.dismiss=e=>(this.dismissedToasts.add(e),e||this.toasts.forEach(t=>{this.subscribers.forEach(n=>n({id:t.id,dismiss:!0}))}),this.subscribers.forEach(t=>t({id:e,dismiss:!0})),e),this.message=(e,t)=>this.create({...t,message:e}),this.error=(e,t)=>this.create({...t,message:e,type:"error"}),this.success=(e,t)=>this.create({...t,type:"success",message:e}),this.info=(e,t)=>this.create({...t,type:"info",message:e}),this.warning=(e,t)=>this.create({...t,type:"warning",message:e}),this.loading=(e,t)=>
225this.create({...t,type:"loading",message:e}),this.promise=(e,t)=>{if(!t)return;let n;t.loading!==void 0&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:typeof t.description!="function"?t.description:void 0}));let r=e instanceof Promise?e:e(),o=n!==void 0,i,s=r.then(async c=>{if(i=["resolve",c],R.isValidElement(c))o=!1,this.create({id:n,type:"default",message:c});else if(D1(c)&&!c.ok){o=!1;let u=typeof t.error=="function"?await t.error(`HTTP error! status: ${c.status}`):t.error,d=typeof t.description=="function"?await t.description(`HTTP error! status: ${c.status}`):t.description;this.create({id:n,type:"error",message:u,description:d})}else if(t.success!==void 0){o=!1;let u=typeof t.success=="function"?await t.success(c):t.success,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"success",message:u,description:d})}}).catch(async c=>{if(i=["reject",c],t.error!==void 0){o=!1;let u=typeof t.error=="function"?await t.error(c):t.error,d=typeof t.description=="function"?await t.description(c):t.description;this.create({id:n,type:"error",message:u,description:d})}}).finally(()=>{var c;o&&(this.dismiss(n),n=void 0),(c=t.finally)==null||c.call(t)}),a=()=>new Promise((c,u)=>s.then(()=>i[0]==="reject"?u(i[1]):c(i[1])).catch(u));return typeof n!="string"&&typeof n!="number"?{unwrap:a}:Object.assign(n,{unwrap:a})},this.custom=(e,t)=>{let n=(t==null?void 0:t.id)||dc++;return this.create({jsx:e(n),id:n,...t}),n},this.getActiveToasts=()=>this.toasts.filter(e=>!this.dismissedToasts.has(e.id)),this.subscribers=[],this.toasts=[],this.dismissedToasts=new Set}},Be=new L1,z1=(e,t)=>{let n=(t==null?void 0:t.id)||dc++;return Be.addToast({title:e,...t,id:n}),n},D1=e=>e&&typeof e=="object"&&"ok"in e&&typeof e.ok=="boolean"&&"status"in e&&typeof e.status=="number",F1=z1,$1=()=>Be.toasts,B1=()=>Be.getActiveToasts();Object.assign(F1,{success:Be.success,info:Be.info,warning:Be.warning,error:Be.error,custom:Be.custom,message:Be.message,promise:Be.promise,dismiss:Be.dismiss,loading:Be.loading},{getHistory:$1,getToasts:B1});function H1(e,{insertAt:t}={}){if(typeof document>"u")return;let n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",t==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e))}H1(`:where(html[dir="ltr"]),:where([data-sonner-toaster][dir="ltr"]){--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%)}:where(html[dir="rtl"]),:where([data-sonner-toaster][dir="rtl"]){--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%)}:where([data-sonner-toaster]){position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1: hsl(0, 0%, 99%);--gray2: hsl(0, 0%, 97.3%);--gray3: hsl(0, 0%, 95.1%);--gray4: hsl(0, 0%, 93%);--gray5: hsl(0, 0%, 90.9%);--gray6: hsl(0, 0%, 88.7%);--gray7: hsl(0, 0%, 85.8%);--gray8: hsl(0, 0%, 78%);--gray9: hsl(0, 0%, 56.1%);--gray10: hsl(0, 0%, 52.3%);--gray11: hsl(0, 0%, 43.5%);--gray12: hsl(0, 0%, 9%);--border-radius: 8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:none;z-index:999999999;transition:transform .4s ease}:where([data-sonner-toaster][data-lifted="true"]){transform:translateY(-10px)}@media (hover: none) and (pointer: coarse){:where([data-sonner-toaster][data-lifted="true"]){transform:none}}:where([data-sonner-toaster][data-x-position="right"]){right:var(--offset-right)}:where([data-sonner-toaster][data-x-position="left"]){left:var(--offset-left)}:where([data-sonner-toaster][data-x-position="center"]){left:50%;transform:translate(-50%)}:where([data-sonner-toaster][data-y-position="top"]){top:var(--offset-top)}:where([data-sonner-toaster][data-y-position="bottom"]){bottom:var(--offset-bottom)}:where([data-sonner-toast]){--y: translateY(100%);--lift-amount: calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);filter:blur(0);touch-action:none;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:none;overflow-wrap:anywhere}:where([data-sonner-toast][data-styled="true"]){padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px #0000001a;width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}:where([data-sonner-toast]:focus-visible){box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast][data-y-position="top"]){top:0;--y: translateY(-100%);--lift: 1;--lift-amount: calc(1 * var(--gap))}:where([data-sonner-toast][data-y-position="bottom"]){bottom:0;--y: translateY(100%);--lift: -1;--lift-amount: calc(var(--lift) * var(--gap))}:where([data-sonner-toast]) :where([data-description]){font-weight:400;line-height:1.4;color:inherit}:where([data-sonner-toast]) :where([data-title]){font-weight:500;line-height:1.5;color:inherit}:where([data-sonner-toast]) :where([data-icon]){display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}:where([data-sonner-toast][data-promise="true"]) :where([data-icon])>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}:where([data-sonner-toast]) :where([data-icon])>*{flex-shrink:0}:where([data-sonner-toast]) :where([data-icon]) svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}:where([data-sonner-toast]) :where([data-content]){display:flex;flex-direction:column;gap:2px}[data-sonner-toast][data-styled=true] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:none;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}:where([data-sonner-toast]) :where([data-button]):focus-visible{box-shadow:0 0 0 2px #0006}:where([data-sonner-toast]) :where([data-button]):first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}:where([data-sonner-toast]) :where([data-cancel]){color:var(--normal-text);background:rgba(0,0,0,.08)}:where([data-sonner-toast][data-theme="dark"]) :where([data-cancel]){background:rgba(255,255,255,.3)}:where([data-sonner-toast]) :where([data-close-button]){position:absolute;
225left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]{background:var(--gray1)}:where([data-sonner-toast]) :where([data-close-button]):focus-visible{box-shadow:0 4px 12px #0000001a,0 0 0 2px #0003}:where([data-sonner-toast]) :where([data-disabled="true"]){cursor:not-allowed}:where([data-sonner-toast]):hover :where([data-close-button]):hover{background:var(--gray2);border-color:var(--gray5)}:where([data-sonner-toast][data-swiping="true"]):before{content:"";position:absolute;left:-50%;right:-50%;height:100%;z-index:-1}:where([data-sonner-toast][data-y-position="top"][data-swiping="true"]):before{bottom:50%;transform:scaleY(3) translateY(50%)}:where([data-sonner-toast][data-y-position="bottom"][data-swiping="true"]):before{top:50%;transform:scaleY(3) translateY(-50%)}:where([data-sonner-toast][data-swiping="false"][data-removed="true"]):before{content:"";position:absolute;inset:0;transform:scaleY(2)}:where([data-sonner-toast]):after{content:"";position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}:where([data-sonner-toast][data-mounted="true"]){--y: translateY(0);opacity:1}:where([data-sonner-toast][data-expanded="false"][data-front="false"]){--scale: var(--toasts-before) * .05 + 1;--y: translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}:where([data-sonner-toast])>*{transition:opacity .4s}:where([data-sonner-toast][data-expanded="false"][data-front="false"][data-styled="true"])>*{opacity:0}
225:where([data-sonner-toast][data-visible="false"]){opacity:0;pointer-events:none}:where([data-sonner-toast][data-mounted="true"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}:where([data-sonner-toast][data-removed="true"][data-front="true"][data-swipe-out="false"]){--y: translateY(calc(var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="true"]){--y: translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}:where([data-sonner-toast][data-removed="true"][data-front="false"][data-swipe-out="false"][data-expanded="false"]){--y: translateY(40%);opacity:0;transition:transform .5s,opacity .2s}:where([data-sonner-toast][data-removed="true"][data-front="false"]):before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount-y, 0px)) translate(var(--swipe-amount-x, 0px));transition:none}[data-sonner-toast][data-swiped=true]{user-select:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation-duration:.2s;animation-timing-function:ease-out;animation-fill-mode:forwards}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=left]{animation-name:swipe-out-left}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=right]{animation-name:swipe-out-right}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=up]{animation-name:swipe-out-up}[data-sonner-toast][data-swipe-out=true][data-swipe-direction=down]{animation-name:swipe-out-down}@keyframes swipe-out-left{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) - 100%));opacity:0}}@keyframes swipe-out-right{0%{transform:var(--y) translate(var(--swipe-amount-x));opacity:1}to{transform:var(--y) translate(calc(var(--swipe-amount-x) + 100%));opacity:0}}@keyframes swipe-out-up{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) - 100%));opacity:0}}@keyframes swipe-out-down{0%{transform:var(--y) translateY(var(--swipe-amount-y));opacity:1}to{transform:var(--y) translateY(calc(var(--swipe-amount-y) + 100%));opacity:0}}@media (max-width: 600px){[data-sonner-toaster]{position:fixed;right:var(--mobile-offset-right);left:var(--mobile-offset-left);width:100%}[data-sonner-toaster][dir=rtl]{left:calc(var(--mobile-offset-left) * -1)}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - var(--mobile-offset-left) * 2)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset-left)}[data-sonner-toaster][data-y-position=bottom]{bottom:var(--mobile-offset-bottom)}[data-sonner-toaster][data-y-position=top]{top:var(--mobile-offset-top)}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset-left);right:var(--mobile-offset-right);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg: #fff;--normal-border: var(--gray4);--normal-text: var(--gray12);--success-bg: hsl(143, 85%, 96%);--success-border: hsl(145, 92%, 91%);--success-text: hsl(140, 100%, 27%);--info-bg: hsl(208, 100%, 97%);--info-border: hsl(221, 91%, 91%);--info-text: hsl(210, 92%, 45%);--warning-bg: hsl(49, 100%, 97%);--warning-border: hsl(49, 91%, 91%);--warning-text: hsl(31, 92%, 45%);--error-bg: hsl(359, 100%, 97%);--error-border: hsl(359, 100%, 94%);--error-text: hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg: #000;--normal-border: hsl(0, 0%, 20%);--normal-text: var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg: #fff;--normal-border: var(--gray3);--normal-text: var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg: #000;--normal-bg-hover: hsl(0, 0%, 12%);--normal-border: hsl(0, 0%, 20%);--normal-border-hover: hsl(0, 0%, 25%);--normal-text: var(--gray1);--success-bg: hsl(150, 100%, 6%);--success-border: hsl(147, 100%, 12%);--success-text: hsl(150, 86%, 65%);--info-bg: hsl(215, 100%, 6%);--info-border: hsl(223, 100%, 12%);--info-text: hsl(216, 87%, 65%);--warning-bg: hsl(64, 100%, 6%);--warning-border: hsl(60, 100%, 12%);--warning-text: hsl(46, 87%, 65%);--error-bg: hsl(358, 76%, 10%);--error-border: hsl(357, 89%, 16%);
225--error-text: hsl(358, 100%, 81%)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]{background:var(--normal-bg);border-color:var(--normal-border);color:var(--normal-text)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast] [data-close-button]:hover{background:var(--normal-bg-hover);border-color:var(--normal-border-hover)}[data-rich-colors=true][data-sonner-toast][data-type=success],[data-rich-colors=true][data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true][data-sonner-toast][data-type=info],[data-rich-colors=true][data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true][data-sonner-toast][data-type=warning],[data-rich-colors=true][data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true][data-sonner-toast][data-type=error],[data-rich-colors=true][data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size: 16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:nth-child(1){animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}to{opacity:.15}}@media (prefers-reduced-motion){[data-sonner-toast],[data-sonner-toast]>*,.sonner-loading-bar{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}
226`);function Ji(e){return e.label!==void 0}var V1=3,U1="32px",W1="16px",hf=4e3,K1=356,G1=14,Q1=20,Y1=200;function ht(...e){return e.filter(Boolean).join(" ")}function Z1(e){let[t,n]=e.split("-"),r=[];return t&&r.push(t),n&&r.push(n),r}var q1=e=>{var t,n,r,o,i,s,a,c,u,d,f;let{invert:h,toast:p,unstyled:x,interacting:v,setHeights:b,visibleToasts:g,heights:m,index:y,toasts:C,expanded:S,removeToast:k,defaultRichColors:N,closeButton:T,style:M,cancelButtonStyle:I,actionButtonStyle:F,className:z="",descriptionClassName:K="",duration:O,position:Y,gap:$,loadingIcon:V,expandByDefault:j,classNames:P,icons:_,closeButtonAriaLabel:U="Close toast",pauseWhenPageIsHidden:D}=e,[G,Z]=R.useState(null),[ge,Pe]=R.useState(null),[ee,vr]=R.useState(!1),[en,Vn]=R.useState(!1),[tn,yr]=R.useState(!1),[nn,ji]=R.useState(!1),[Sa,Pi]=R.use
226State(!1),[ka,xo]=R.useState(0),[xr,zu]=R.useState(0),wo=R.useRef(p.duration||O||hf),Du=R.useRef(null),Un=R.useRef(null),Zg=y===0,qg=y+1<=g,nt=p.type,wr=p.dismissible!==!1,Xg=p.className||"",Jg=p.descriptionClassName||"",Ti=R.useMemo(()=>m.findIndex(B=>B.toastId===p.id)||0,[m,p.id]),e0=R.useMemo(()=>{var B;return(B=p.closeButton)!=null?B:T},[p.closeButton,T]),Fu=R.useMemo(()=>p.duration||O||hf,[p.duration,O]),Na=R.useRef(0),br=R.useRef(0),$u=R.useRef(0),Cr=R.useRef(null),[t0,n0]=Y.split("-"),Bu=R.useMemo(()=>m.reduce((B,ne,ae)=>ae>=Ti?B:B+ne.height,0),[m,Ti]),Hu=_1(),r0=p.invert||h,Ea=nt==="loading";br.current=R.useMemo(()=>Ti*$+Bu,[Ti,Bu]),R.useEffect(()=>{wo.current=Fu},[Fu]),R.useEffect(()=>{vr(!0)},[]),R.useEffect(()=>{let B=Un.current;if(B){let ne=B.getBoundingClientRect().height;return zu(ne),b(ae=>[{toastId:p.id,height:ne,position:p.position},...ae]),()=>b(ae=>ae.filter(ut=>ut.toastId!==p.id))}},[b,p.id]),R.useLayoutEffect(()=>{if(!ee)return;let B=Un.current,ne=B.style.height;B.style.height="auto";let ae=B.getBoundingClientRect().height;B.style.height=ne,zu(ae),b(ut=>ut.find(dt=>dt.toastId===p.id)?ut.map(dt=>dt.toastId===p.id?{...dt,height:ae}:dt):[{toastId:p.id,height:ae,position:p.position},...ut])},[ee,p.title,p.description,b,p.id]);let rn=R.useCallback(()=>{Vn(!0),xo(br.current),b(B=>B.filter(ne=>ne.toastId!==p.id)),setTimeout(()=>{k(p)},Y1)},[p,k,b,br]);R.useEffect(()=>{if(p.promise&&nt==="loading"||p.duration===1/0||p.type==="loading")return;let B;return S||v||D&&Hu?(()=>{if($u.current<Na.current){let ne=new Date().getTime()-Na.current;wo.current=wo.current-ne}$u.current=new Date().getTime()})():wo.current!==1/0&&(Na.current=new Date().getTime(),B=setTimeout(()=>{var ne;(ne=p.onAutoClose)==null||ne.call(p,p),rn()},wo.current)),()=>clearTimeout(B)},[S,v,p,nt,D,Hu,rn]),R.useEffect(()=>{p.delete&&rn()},[rn,p.delete]);function o0(){var B,ne,ae;return _!=null&&_.loading?R.createElement("div",{className:ht(P==null?void 0:P.loader,(B=p==null?void 0:p.classNames)==null?void 0:B.loader,"sonner-loader"),"data-visible":nt==="loading"},_.loading):V?R.createElement("div",{className:ht(P==null?void 0:P.loader,(ne=p==null?void 0:p.classNames)==null?void 0:ne.loader,"sonner-loader"),"data-visible":nt==="loading"},V):R.createElement(T1,{className:ht(P==null?void 0:P.loader,(ae=p==null?void 0:p.classNames)==null?void 0:ae.loader),visible:nt==="loading"})}return R.createElement("li",{tabIndex:0,ref:Un,className:ht(z,Xg,P==null?void 0:P.toast,(t=p==null?void 0:p.classNames)==null?void 0:t.toast,P==null?void 0:P.default,P==null?void 0:P[nt],(n=p==null?void 0:p.classNames)==null?void 0:n[nt]),"data-sonner-toast":"","data-rich-colors":(r=p.richColors)!=null?r:N,"data-styled":!(p.jsx||p.unstyled||x),"data-mounted":ee,"data-promise":!!p.promise,"data-swiped":Sa,"data-removed":en,"data-visible":qg,"data-y-position":t0,"data-x-position":n0,"data-index":y,"data-front":Zg,"data-swiping":tn,"data-dismissible":wr,"data-type":nt,"data-invert":r0,"data-swipe-out":nn,"data-swipe-direction":ge,"data-expanded":!!(S||j&&ee),style:{"--index":y,"--toasts-before":y,"--z-index":C.length-y,"--offset":`${en?ka:br.current}px`,"--initial-height":j?"auto":`${xr}px`,...M,...p.style},onDragEnd:()=>{yr(!1),Z(null),Cr.current=null},onPointerDown:B=>{Ea||!wr||(Du.current=new Date,xo(br.current),B.target.setPointerCapture(B.pointerId),B.target.tagName!=="BUTTON"&&(yr(!0),Cr.current={x:B.clientX,y:B.clientY}))},onPointerUp:()=>{var B,ne,ae,ut;if(nn||!wr)return;Cr.current=null;let dt=Number(((B=Un.current)==null?void 0:B.style.getPropertyValue("--swipe-amount-x").replace("px",""))||0),on=Number(((ne=Un.current)==null?void 0:ne.style.getPropertyValue("--swipe-amount-y").replace("px",""))||0),Wn=new Date().getTime()-((ae=Du.current)==null?void 0:ae.getTime()),ft=G==="x"?dt:on,sn=Math.abs(ft)/Wn;if(Math.abs(ft)>=Q1||sn>.11){xo(br.current),(ut=p.onDismiss)==null||ut.call(p,p),Pe(G==="x"?dt>0?"right":"left":on>0?"down":"up"),rn(),ji(!0),Pi(!1);return}yr(!1),Z(null)},onPointerMove:B=>{var ne,ae,ut,dt;if(!Cr.current||!wr||((ne=window.getSelection())==null?void 0:ne.toString().length)>0)return;let on=B.clientY-Cr.current.y,Wn=B.clientX-Cr.current.x,ft=(ae=e.swipeDirections)!=null?ae:Z1(Y);!G&&(Math.abs(Wn)>1||Math.abs(on)>1)&&Z(Math.abs(Wn)>Math.abs(on)?"x":"y");let sn={x:0,y:0};G==="y"?(ft.includes("top")||ft.includes("bottom"))&&(ft.includes("top")&&on<0||ft.includes("bottom")&&on>0)&&(sn.y=on):G==="x"&&(ft.includes("left")||ft.includes("right"))&&(ft.includes("left")&&Wn<0||ft.includes("right")&&Wn>0)&&(sn.x=Wn),(Math.abs(sn.x)>0||Math.abs(sn.y)>0)&&Pi(!0),(ut=Un.current)==null||ut.style.setProperty("--swipe-amount-x",`${sn.x}
226px`),(dt=Un.current)==null||dt.style.setProperty("--swipe-amount-y",`${sn.y}px`)}},e0&&!p.jsx?R.createElement("button",{"aria-label":U,"data-disabled":Ea,"data-close-button":!0,onClick:Ea||!wr?()=>{}:()=>{var B;rn(),(B=p.onDismiss)==null||B.call(p,p)},className:ht(P==null?void 0:P.closeButton,(o=p==null?void 0:p.classNames)==null?void 0:o.closeButton)},(i=_==null?void 0:_.close)!=null?i:O1):null,p.jsx||w.isValidElement(p.title)?p.jsx?p.jsx:typeof p.title=="function"?p.title():p.title:R.createElement(R.Fragment,null,nt||p.icon||p.promise?R.createElement("div",{"data-icon":"",className:ht(P==null?void 0:P.icon,(s=p==null?void 0:p.classNames)==null?void 0:s.icon)},p.promise||p.type==="loading"&&!p.icon?p.icon||o0():null,p.type!=="loading"?p.icon||(_==null?void 0:_[nt])||j1(nt):null):null,R.createElement("div",{"data-content":"",className:ht(P==null?void 0:P.content,(a=p==null?void 0:p.classNames)==null?void 0:a.content)},R.createElement("div",{"data-title":"",className:ht(P==null?void 0:P.title,(c=p==null?void 0:p.classNames)==null?void 0:c.title)},typeof p.title=="function"?p.title():p.title),p.description?R.createElement("div",{"data-description":"",className:ht(K,Jg,P==null?void 0:P.description,(u=p==null?void 0:p.classNames)==null?void 0:u.description)},typeof p.description=="function"?p.description():p.description):null),w.isValidElement(p.cancel)?p.cancel:p.cancel&&Ji(p.cancel)?R.createElement("button",{"data-button":!0,"data-cancel":!0,style:p.cancelButtonStyle||I,onClick:B=>{var ne,ae;Ji(p.cancel)&&wr&&((ae=(ne=p.cancel).onClick)==null||ae.call(ne,B),rn())},className:ht(P==null?void 0:P.cancelButton,(d=p==null?void 0:p.classNames)==null?void 0:d.cancelButton)},p.cancel.label):null,w.isValidElement(p.action)?p.action:p.action&&Ji(p.action)?R.createElement("button",{"data-button":!0,"data-action":!0,style:p.actionButtonStyle||F,onClick:B=>{var ne,ae;Ji(p.action)&&((ae=(ne=p.action).onClick)==null||ae.call(ne,B),!B.defaultPrevented&&rn())},className:ht(P==null?void 0:P.actionButton,(f=p==null?void 0:p.classNames)==null?void 0:f.actionButton)},p.action.label):null))};function mf(){if(typeof window>"u"||typeof document>"u")return"ltr";let e=document.documentElement.getAttribute("dir");return e==="auto"||!e?window.getComputedStyle(document.documentElement).direction:e}function X1(e,t){let n={};return[e,t].forEach((r,o)=>{let i=o===1,s=i?"--mobile-offset":"--offset",a=i?W1:U1;function c(u){["top","right","bottom","left"].forEach(d=>{n[`${s}-${d}`]=typeof u=="number"?`${u}px`:u})}typeof r=="number"||typeof r=="string"?c(r):typeof r=="object"?["top","right","bottom","left"].forEach(u=>{r[u]===void 0?n[`${s}-${u}`]=a:n[`${s}-${u}`]=typeof r[u]=="number"?`${r[u]}px`:r[u]}):c(a)}),n}var J1=w.forwardRef(function(e,t){let{invert:n,position:r="bottom-right",hotkey:o=["altKey","KeyT"],expand:i,closeButton:s,className:a,offset:c,mobileOffset:u,theme:d="light",richColors:f,duration:h,style:p,visibleToasts:x=V1,toastOptions:v,dir:b=mf(),gap:g=G1,loadingIcon:m,icons:y,containerAriaLabel:C="Notifications",pauseWhenPageIsHidden:S}=e,[k,N]=R.useState([]),T=R.useMemo(()=>Array.from(new Set([r].concat(k.filter(D=>D.position).map(D=>D.position)))),[k,r]),[M,I]=R.useState([]),[F,z]=R.useState(!1),[K,O]=R.useState(!1),[Y,$]=R.useState(d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),V=R.useRef(null),j=o.join("+").replace(/Key/g,"").replace(/Digit/g,""),P=R.useRef(null),_=R.useRef(!1),U=R.useCallback(D=>{N(G=>{var Z;return(Z=G.find(ge=>ge.id===D.id))!=null&&Z.delete||Be.dismiss(D.id),G.filter(({id:ge})=>ge!==D.id)})},[]);return R.useEffect(()=>Be.subscribe(D=>{if(D.dismiss){N(G=>G.map(Z=>Z.id===D.id?{...Z,delete:!0}:Z));return}setTimeout(()=>{um.flushSync(()=>{N(G=>{let Z=G.findIndex(ge=>ge.id===D.id);return Z!==-1?[...G.slice(0,Z),{...G[Z],...D},...G.slice(Z+1)]:[D,...G]})})})}),[]),R.useEffect(()=>{if(d!=="system"){$(d);return}if(d==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?$("dark"):$("light")),typeof window>"u")return;let D=window.matchMedia("(prefers-color-scheme: dark)");try{D.addEventListener("change",({matches:G})=>{$(G?"dark":"light")})}catch{D.addListener(({matches:Z})=>{try{$(Z?"dark":"light")}catch(ge){console.error(ge)}})}},[d]),R.useEffect(()=>{k.length<=1&&z(!1)},[k]),R.useEffect(()=>{let D=G=>{var Z,ge;o.every(Pe=>G[Pe]||G.code===Pe)&&(z(!0),(Z=V.current)==null||Z.focus()),G.code==="Escape"&&(document.activeElement===V.current||(ge=V.current)!=null&&ge.contains(document.activeElement))&&z(!1)};return document.addEventListener("keydown",D),()=>document.removeEventListener("keydown",D)},[o]),R.useEffect(()=>{if(V.current)return()=>{P.current&&(P.current.focus({preventScroll:!0}),P.current=null,_.current=!1)}},[V.current]),R.createElement("section",{ref:t,"aria-label":`${C} ${j}`,tabIndex:-1,"aria-live":"polite","aria-relevant":"additions text","aria-atomic":"false",suppressHydrationWarning:!0},T.map((D,G)=>{var Z;let[ge,Pe]=D.split("-");return k.length?R.createElement("ol",{key:D,dir:b==="auto"?mf():b,tabIndex:-1,ref:V,className:a,"data-sonner-toaster":!0,"data-theme":Y,"data-y-position":ge,"data-lifted":F&&k.length>1&&!i,"data-x-position":Pe,style:{"--front-toast-height":`${((Z=M[0])==null?void 0:Z.height)||0}px`,"--width":`${K1}px`,"--gap":`${g}px`,...p,...X1(c,u)},onBlur:ee=>{_.current&&!ee.currentTarget.contains(ee.relatedTarget)&&(_.current=!1,P.current&&(P.current.focus({preventScroll:!0}),P.current=null))},onFocus:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||_.current||(_.current=!0,P.current=ee.relatedTarget)},onMouseEnter:()=>z(!0),onMouseMove:()=>z(!0),onMouseLeave:()=>{K||z(!1)},onDragEnd:()=>z(!1),onPointerDown:ee=>{ee.target instanceof HTMLElement&&ee.target.dataset.dismissible==="false"||O(!0)},onPointerUp:()=>O(!1)},k.filter(ee=>!ee.position&&G===0||ee.position===D).map((ee,vr)=>{var en,Vn;return R.createElement(q1,{key:ee.id,icons:y,index:vr,toast:ee,defaultRichColors:f,duration:(en=v==null?void 0:v.duration)!=null?en:h,className:v==null?void 0:v.className,descriptionClassName:v==null?void 0:v.descriptionClassName,invert:n,visibleToasts:x,closeButton:(Vn=v==null?void 0:v.closeButton)!=null?Vn:s,interacting:K,position:D,style:v==null?void 0:v.style,unstyled:v==null?void 0:v.unstyled,classNames:v==null?void 0:v.classNames,cancelButtonStyle:v==null?void 0:v.cancelButtonStyle,actionButtonStyle:v==null?void 0:v.actionButtonStyle,removeToast:U,toasts:k.filter(tn=>tn.position==ee.position),heights:M.filter(tn=>tn.position==ee.position),setHeights:I,expandByDefault:i,gap:g,loadingIcon:m,expanded:F,pauseWhenPageIsHidden:S,swipeDirections:e.swipeDirections})})):null}))});const ew=({...e})=>{const{theme:t="system"}=E1();return l.jsx(J1,{theme:t,className:"toaster group",toastOptions:{classNames:{toast:"group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:border-border group-[.toaster]:shadow-lg",description:"group-[.toast]:text-muted-foreground",actionButton:"group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",cancelButton:"group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"}},...e})},tw=["top","right","bottom","left"],Dn=Math.min,Ye=Math.max,Vs=Math.round,es=Math.floor,Lt=e=>({x:e,y:e}
vendor: 10,344 bytes, line 226
226),nw={left:"right",right:"left",bottom:"top",top:"bottom"},rw={start:"end",end:"start"};function fc(e,t,n){return Ye(e,Dn(t,n))}function qt(e,t){return typeof e=="function"?e(t):e}function Xt(e){return e.split("-")[0]}function mo(e){return e.split("-")[1]}function Cu(e){return e==="x"?"y":"x"}function Su(e){return e==="y"?"height":"width"}const ow=new Set(["top","bottom"]);function Mt(e){return ow.has(Xt(e))?"y":"x"}function ku(e){return Cu(Mt(e))}function iw(e,t,n){n===void 0&&(n=!1);const r=mo(e),o=ku(e),i=Su(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=Us(s)),[s,Us(s)]}function sw(e){const t=Us(e);return[pc(e),t,pc(t)]}function pc(e){return e.replace(/start|end/g,t=>rw[t])}const gf=["left","right"],vf=["right","left"],aw=["top","bottom"],lw=["bottom","top"];function cw(e,t,n){switch(e){case"top":case"bottom":return n?t?vf:gf:t?gf:vf;case"left":case"right":return t?aw:lw;default:return[]}}function uw(e,t,n,r){const o=mo(e);let i=cw(Xt(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(pc)))),i}function Us(e){return e.replace(/left|right|bottom|top/g,t=>nw[t])}function dw(e){return{top:0,right:0,bottom:0,left:0,...e}}function eg(e){return typeof e!="number"?dw(e):{top:e,right:e,bottom:e,left:e}}function Ws(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function yf(e,t,n){let{reference:r,floating:o}=e;const i=Mt(t),s=ku(t),a=Su(s),c=Xt(t),u=i==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,h=r[a]/2-o[a]/2;let p;switch(c){case"top":p={x:d,y:r.y-o.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(mo(t)){case"start":p[s]-=h*(n&&u?-1:1);break;case"end":p[s]+=h*(n&&u?-1:1);break}return p}const fw=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(t));let u=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=yf(u,r,c),h=r,p={},x=0;for(let v=0;v<a.length;v++){const{name:b,fn:g}=a[v],{x:m,y,data:C,reset:S}=await g({x:d,y:f,initialPlacement:r,placement:h,strategy:o,middlewareData:p,rects:u,platform:s,elements:{reference:e,floating:t}});d=m??d,f=y??f,p={...p,[b]:{...p[b],...C}},S&&x<=50&&(x++,typeof S=="object"&&(S.placement&&(h=S.placement),S.rects&&(u=S.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):S.rects),{x:d,y:f}=yf(u,h,c)),v=-1)}return{x:d,y:f,placement:h,strategy:o,middlewareData:p}};async function ui(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:c}=e,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:p=0}=qt(t,e),x=eg(p),b=a[h?f==="floating"?"reference":"floating":f],g=Ws(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(b)))==null||n?b:b.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:u,rootBoundary:d,strategy:c})),m=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,y=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),C=await(i.isElement==null?void 0:i.isElement(y))?await(i.getScale==null?void 0:i.getScale(y))||{x:1,y:1}:{x:1,y:1},S=Ws(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:m,offsetParent:y,strategy:c}):m);return{top:(g.top-S.top+x.top)/C.y,bottom:(S.bottom-g.bottom+x.bottom)/C.y,left:(g.left-S.left+x.left)/C.x,right:(S.right-g.right+x.right)/C.x}}const pw=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:c}=t,{element:u,padding:d=0}=qt(e,t)||{};if(u==null)return{};const f=eg(d),h={x:n,y:r},p=ku(o),x=Su(p),v=await s.getDimensions(u),b=p==="y",g=b?"top":"left",m=b?"bottom":"right",y=b?"clientHeight":"clientWidth",C=i.reference[x]+i.reference[p]-h[p]-i.floating[x],S=h[p]-i.reference[p],k=await(s.getOffsetParent==null?void 0:s.getOffsetParent(u));let N=k?k[y]:0;(!N||!await(s.isElement==null?void 0:s.isElement(k)))&&(N=a.floating[y]||i.floating[x]);const T=C/2-S/2,M=N/2-v[x]/2-1,I=Dn(f[g],M),F=Dn(f[m],M),z=I,K=N-v[x]-F,O=N/2-v[x]/2+T,Y=fc(z,O,K),$=!c.arrow&&mo(o)!=null&&O!==Y&&i.reference[x]/2-(O<z?I:F)-v[x]/2<0,V=$?O<z?O-z:O-K:0;return{[p]:h[p]+V,data:{[p]:Y,centerOffset:O-Y-V,...$&&{alignmentOffset:V}},reset:$}}}),hw=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:c,elements:u}=t,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:x="none",flipAlignment:v=!0,...b}=qt(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const g=Xt(o),m=Mt(a),y=Xt(a)===a,C=await(c.isRTL==null?void 0:c.isRTL(u.floating)),S=h||(y||!v?[Us(a)]:sw(a)),k=x!=="none";!h&&k&&S.push(...uw(a,v,x,C));const N=[a,...S],T=await ui(t,b),M=[];let I=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&M.push(T[g]),f){const O=iw(o,s,C);M.push(T[O[0]],T[O[1]])}if(I=[...I,{placement:o,overflows:M}],!M.every(O=>O<=0)){var F,z;const O=(((F=i.flip)==null?void 0:F.index)||0)+1,Y=N[O];if(Y&&(!(f==="alignment"?m!==Mt(Y):!1)||I.every(j=>j.overflows[0]>0&&Mt(j.placement)===m)))return{data:{index:O,overflows:I},reset:{placement:Y}};let $=(z=I.filter(V=>V.overflows[0]<=0).sort((V,j)=>V.overflows[1]-j.overflows[1])[0])==null?void 0:z.placement;if(!$)switch(p){case"bestFit":{var K;const V=(K=I.filter(j=>{if(k){const P=Mt(j.placement);return P===m||P==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(P=>P>0).reduce((P,_)=>P+_,0)]).sort((j,P)=>j[1]-P[1])[0])==null?void 0:K[0];V&&($=V);break}case"initialPlacement":$=a;break}if(o!==$)return{reset:{placement:$}}}return{}}}};function xf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function wf(e){return tw.some(t=>e[t]>=0)}const mw=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...o}=qt(e,t);switch(r){case"referenceHidden":{const i=await ui(t,{...o,elementContext:"reference"}),s=xf(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:wf(s)}}}case"escaped":{const i=await ui(t,{...o,altBoundary:!0}),s=xf(i,n.floating);return{data:{escapedOffsets:s,escaped:wf(s)}}}default:return{}}}}},tg=new Set(["left","top"]);async function gw(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=Xt(n),a=mo(n),c=Mt(n)==="y",u=tg.has(s)?-1:1,d=i&&c?-1:1,f=qt(t,e);let{mainAxis:h,crossAxis:p,alignmentAxis:x}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof x=="number"&&(p=a==="end"?x*-1:x),c?{x:p*d,y:h*u}:{x:h*u,y:p*d}}const vw=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,c=await gw(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+c.x,y:i+c.y,data:{...c,placement:s}}}}},yw=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:b=>{let{x:g,y:m}=b;return{x:g,y:m}}},...c}=qt(e,t),u={x:n,y:r},d=await ui(t,c),f=Mt(Xt(o)),h=Cu(f);let p=u[h],x=u[f];if(i){const b=h==="y"?"top":"left",g=h==="y"?"bottom":"right",m=p+d[b],y=p-d[g];p=fc(m,p,y)}if(s){const b=f==="y"?"top":"left",g=f==="y"?"bottom":"right",m=x+d[b],y=x-d[g];x=fc(m,x,y)}const v=a.fn({...t,[h]:p,[f]:x});return{...v,data:{x:v.x-n,y:v.y-r,enabled:{[h]:i,[f]:s}}}}}},xw=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:o,rects:i,middlewareData:s}=t,{offset:a=0,mainAxis:c=!0,crossAxis:u=!0}=qt(e,t),d={x:n,y:r},f=Mt(o),h=Cu(f);let p=d[h],x=d[f];const v=qt(a,t),b=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(c){const y=h==="y"?"height":"width",C=i.reference[h]-i.floating[y]+b.mainAxis,S=i.reference[h]+i.reference[y]-b.mainAxis;p<C?p=C:p>S&&(p=S)}if(u){var g,m;const y=h==="y"?"width":"height",C=tg.has(Xt(o)),S=i.reference[f]-i.floating[y]+(C&&((g=s.offset)==null?void 0:g[f])||0)+(C?0:b.crossAxis),k=i.reference[f]+i.reference[y]+(C?0:((m=s.offset)==null?void 0:m[f])||0)-(C?b.crossAxis:0);x<S?x=S:x>k&&(x=k)}return{[h]:p,[f]:x}}}},ww=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:c=()=>{},...u}=qt(e,t),d=await ui(t,u),f=Xt(o),h=mo(o),p=Mt(o)==="y",{width:x,height:v}=i.floating;let b,g;f==="top"||f==="bottom"?(b=f,g=h===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(g=f,b=h==="end"?"top":"bottom");const m=v-d.top-d.bottom,y=x-d.left-d.right,C=Dn(v-d[b],m),S=Dn(x-d[g],y),k=!t.middlewareData.shift;let N=C,T=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(T=y),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(N=m),k&&!h){const I=Ye(d.left,0),F=Ye(d.right,0),z=Ye(d.top,0),K=Ye(d.bottom,0);p?T=x-2*(I!==0||F!==0?I+F:Ye(d.left,d.right)):N=v-2*(z!==0||K!==0?z+K:Ye(d.top,d.bottom))}await c({...t,availableWidth:T,availableHeight:N});const M=await s.getDimensions(a.floating);return x!==M.width||v!==M.height?{reset:{rects:!0}}:{}}}};function ma(){return typeof window<"u"}function go(e){return ng(e)?(e.nodeName||"").toLowerCase():"#document"}function Xe(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Dt(e){var t;return(t=(ng(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function ng(e){return ma()?e instanceof Node||e instanceof Xe(e).Node:!1}function Nt(e){return ma()?e instanceof Element||e instanceof Xe(e).Element:!1}function zt(e){return ma()?e instanceof HTMLElement||e instanceof Xe(e).HTMLElement:!1}function bf(e){return!ma()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Xe(e).ShadowRoot}const bw=new Set(["inline","contents"]);function Ni(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Et(e);
vendor: 4,121 bytes, line 226
226return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!bw.has(o)}const Cw=new Set(["table","td","th"]);function Sw(e){return Cw.has(go(e))}const kw=[":popover-open",":modal"];function ga(e){return kw.some(t=>{try{return e.matches(t)}catch{return!1}})}const Nw=["transform","translate","scale","rotate","perspective"],Ew=["transform","translate","scale","rotate","perspective","filter"],jw=["paint","layout","strict","content"];function Nu(e){const t=Eu(),n=Nt(e)?Et(e):e;return Nw.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||Ew.some(r=>(n.willChange||"").includes(r))||jw.some(r=>(n.contain||"").includes(r))}function Pw(e){let t=Fn(e);for(;zt(t)&&!lo(t);){if(Nu(t))return t;if(ga(t))return null;t=Fn(t)}return null}function Eu(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Tw=new Set(["html","body","#document"]);function lo(e){return Tw.has(go(e))}function Et(e){return Xe(e).getComputedStyle(e)}function va(e){return Nt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Fn(e){if(go(e)==="html")return e;const t=e.assignedSlot||e.parentNode||bf(e)&&e.host||Dt(e);return bf(t)?t.host:t}function rg(e){const t=Fn(e);return lo(t)?e.ownerDocument?e.ownerDocument.body:e.body:zt(t)&&Ni(t)?t:rg(t)}function di(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=rg(e),i=o===((r=e.ownerDocument)==null?void 0:r.body),s=Xe(o);if(i){const a=hc(s);return t.concat(s,s.visualViewport||[],Ni(o)?o:[],a&&n?di(a):[])}return t.concat(o,di(o,[],n))}function hc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function og(e){const t=Et(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=zt(e),i=o?e.offsetWidth:n,s=o?e.offsetHeight:r,a=Vs(n)!==i||Vs(r)!==s;return a&&(n=i,r=s),{width:n,height:r,$:a}}function ju(e){return Nt(e)?e:e.contextElement}function Ur(e){const t=ju(e);if(!zt(t))return Lt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=og(t);let s=(i?Vs(n.width):n.width)/r,a=(i?Vs(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!a||!Number.isFinite(a))&&(a=1),{x:s,y:a}}const Aw=Lt(0);function ig(e){const t=Xe(e);return!Eu()||!t.visualViewport?Aw:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Rw(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Xe(e)?!1:t}function dr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),i=ju(e);let s=Lt(1);t&&(r?Nt(r)&&(s=Ur(r)):s=Ur(e));const a=Rw(i,n,r)?ig(i):Lt(0);let c=(o.left+a.x)/s.x,u=(o.top+a.y)/s.y,d=o.width/s.x,f=o.height/s.y;if(i){const h=Xe(i),p=r&&Nt(r)?Xe(r):r;let x=h,v=hc(x);for(;v&&r&&p!==x;){const b=Ur(v),g=v.getBoundingClientRect(),m=Et(v),y=g.left+(v.clientLeft+parseFloat(m.paddingLeft))*b.x,C=g.top+(v.clientTop+parseFloat(m.paddingTop))*b.y;c*=b.x,u*=b.y,d*=b.x,f*=b.y,c+=y,u+=C,x=Xe(v),v=hc(x)}}return Ws({width:d,height:f,x:c,y:u})}function Pu(e,t){const n=va(e).scrollLeft;return t?t.left+n:dr(Dt(e)).left+n}function sg(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-(n?0:Pu(e,r)),i=r.top+t.scrollTop;return{x:o,y:i}}function Iw(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i=o==="fixed",s=Dt(r),a=t?ga(t.floating):!1;if(r===s||a&&i)return n;let c={scrollLeft:0,scrollTop:0},u=Lt(1);const d=Lt(0),f=zt(r);if((f||!f&&!i)&&((go(r)!=="body"||Ni(s))&&(c=va(r)),zt(r))){const p=dr(r);u=Ur(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const h=s&&!f&&!i?sg(s,c,!0):Lt(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-c.scrollLeft*u.x+d.x+h.x,y:n.y*u.y-c.scrollTop*u.y+d.y+h.y}}function Mw(e){return Array.from(e.getClientRects())}function Ow(e){const t=Dt(e),n=va(e),r=e.ownerDocument.body,o=Ye(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=Ye(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Pu(e);const a=-n.scrollTop;return Et(r).direction==="rtl"&&(s+=Ye(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:s,y:a}}
vendor: 11,214 bytes, line 226
226function _w(e,t){const n=Xe(e),r=Dt(e),o=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,a=0,c=0;if(o){i=o.width,s=o.height;const u=Eu();(!u||u&&t==="fixed")&&(a=o.offsetLeft,c=o.offsetTop)}return{width:i,height:s,x:a,y:c}}const Lw=new Set(["absolute","fixed"]);function zw(e,t){const n=dr(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=zt(e)?Ur(e):Lt(1),s=e.clientWidth*i.x,a=e.clientHeight*i.y,c=o*i.x,u=r*i.y;return{width:s,height:a,x:c,y:u}}function Cf(e,t,n){let r;if(t==="viewport")r=_w(e,n);else if(t==="document")r=Ow(Dt(e));else if(Nt(t))r=zw(t,n);else{const o=ig(e);r={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Ws(r)}function ag(e,t){const n=Fn(e);return n===t||!Nt(n)||lo(n)?!1:Et(n).position==="fixed"||ag(n,t)}function Dw(e,t){const n=t.get(e);if(n)return n;let r=di(e,[],!1).filter(a=>Nt(a)&&go(a)!=="body"),o=null;const i=Et(e).position==="fixed";let s=i?Fn(e):e;for(;Nt(s)&&!lo(s);){const a=Et(s),c=Nu(s);!c&&a.position==="fixed"&&(o=null),(i?!c&&!o:!c&&a.position==="static"&&!!o&&Lw.has(o.position)||Ni(s)&&!c&&ag(e,s))?r=r.filter(d=>d!==s):o=a,s=Fn(s)}return t.set(e,r),r}function Fw(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const s=[...n==="clippingAncestors"?ga(t)?[]:Dw(t,this._c):[].concat(n),r],a=s[0],c=s.reduce((u,d)=>{const f=Cf(t,d,o);return u.top=Ye(f.top,u.top),u.right=Dn(f.right,u.right),u.bottom=Dn(f.bottom,u.bottom),u.left=Ye(f.left,u.left),u},Cf(t,a,o));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function $w(e){const{width:t,height:n}=og(e);return{width:t,height:n}}function Bw(e,t,n){const r=zt(t),o=Dt(t),i=n==="fixed",s=dr(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const c=Lt(0);function u(){c.x=Pu(o)}if(r||!r&&!i)if((go(t)!=="body"||Ni(o))&&(a=va(t)),r){const p=dr(t,!0,i,t);c.x=p.x+t.clientLeft,c.y=p.y+t.clientTop}else o&&u();i&&!r&&o&&u();const d=o&&!r&&!i?sg(o,a):Lt(0),f=s.left+a.scrollLeft-c.x-d.x,h=s.top+a.scrollTop-c.y-d.y;return{x:f,y:h,width:s.width,height:s.height}}function ol(e){return Et(e).position==="static"}function Sf(e,t){if(!zt(e)||Et(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return Dt(e)===n&&(n=n.ownerDocument.body),n}function lg(e,t){const n=Xe(e);if(ga(e))return n;if(!zt(e)){let o=Fn(e);for(;o&&!lo(o);){if(Nt(o)&&!ol(o))return o;o=Fn(o)}return n}let r=Sf(e,t);for(;r&&Sw(r)&&ol(r);)r=Sf(r,t);return r&&lo(r)&&ol(r)&&!Nu(r)?n:r||Pw(e)||n}const Hw=async function(e){const t=this.getOffsetParent||lg,n=this.getDimensions,r=await n(e.floating);return{reference:Bw(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Vw(e){return Et(e).direction==="rtl"}const Uw={convertOffsetParentRelativeRectToViewportRelativeRect:Iw,getDocumentElement:Dt,getClippingRect:Fw,getOffsetParent:lg,getElementRects:Hw,getClientRects:Mw,getDimensions:$w,getScale:Ur,isElement:Nt,isRTL:Vw};function cg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Ww(e,t){let n=null,r;const o=Dt(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function s(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),i();const u=e.getBoundingClientRect(),{left:d,top:f,width:h,height:p}=u;if(a||t(),!h||!p)return;const x=es(f),v=es(o.clientWidth-(d+h)),b=es(o.clientHeight-(f+p)),g=es(d),y={rootMargin:-x+"px "+-v+"px "+-b+"px "+-g+"px",threshold:Ye(0,Dn(1,c))||1};let C=!0;function S(k){const N=k[0].intersectionRatio;if(N!==c){if(!C)return s();N?s(!1,N):r=setTimeout(()=>{s(!1,1e-7)},1e3)}N===1&&!cg(u,e.getBoundingClientRect())&&s(),C=!1}try{n=new IntersectionObserver(S,{...y,root:o.ownerDocument})}catch{n=new IntersectionObserver(S,y)}n.observe(e)}return s(!0),i}function Kw(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,u=ju(e),d=o||i?[...u?di(u):[],...di(t)]:[];d.forEach(g=>{o&&g.addEventListener("scroll",n,{passive:!0}),i&&g.addEventListener("resize",n)});const f=u&&a?Ww(u,n):null;let h=-1,p=null;s&&(p=new ResizeObserver(g=>{let[m]=g;m&&m.target===u&&p&&(p.unobserve(t),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var y;(y=p)==null||y.observe(t)})),n()}),u&&!c&&p.observe(u),p.observe(t));let x,v=c?dr(e):null;c&&b();function b(){const g=dr(e);v&&!cg(v,g)&&n(),v=g,x=requestAnimationFrame(b)}return n(),()=>{var g;d.forEach(m=>{o&&m.removeEventListener("scroll",n),i&&m.removeEventListener("resize",n)}),f==null||f(),(g=p)==null||g.disconnect(),p=null,c&&cancelAnimationFrame(x)}}const Gw=vw,Qw=yw,Yw=hw,Zw=ww,qw=mw,kf=pw,Xw=xw,Jw=(e,t,n)=>{const r=new Map,o={platform:Uw,...n},i={...o.platform,_c:r};return fw(e,t,{...o,platform:i})};var eb=typeof document<"u",tb=function(){},gs=eb?w.useLayoutEffect:tb;function Ks(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!Ks(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;r--!==0;){const i=o[r];if(!(i==="_owner"&&e.$$typeof)&&!Ks(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function ug(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Nf(e,t){const n=ug(e);return Math.round(t*n)/n}function il(e){const t=w.useRef(e);return gs(()=>{t.current=e}),t}function nb(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:i,floating:s}={},transform:a=!0,whileElementsMounted:c,open:u}=e,[d,f]=w.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=w.useState(r);Ks(h,r)||p(r);const[x,v]=w.useState(null),[b,g]=w.useState(null),m=w.useCallback(j=>{j!==k.current&&(k.current=j,v(j))},[]),y=w.useCallback(j=>{j!==N.current&&(N.current=j,g(j))},[]),C=i||x,S=s||b,k=w.useRef(null),N=w.useRef(null),T=w.useRef(d),M=c!=null,I=il(c),F=il(o),z=il(u),K=w.useCallback(()=>{if(!k.current||!N.current)return;const j={placement:t,strategy:n,middleware:h};F.current&&(j.platform=F.current),Jw(k.current,N.current,j).then(P=>{const _={...P,isPositioned:z.current!==!1};O.current&&!Ks(T.current,_)&&(T.current=_,Si.flushSync(()=>{f(_)}))})},[h,t,n,F,z]);gs(()=>{u===!1&&T.current.isPositioned&&(T.current.isPositioned=!1,f(j=>({...j,isPositioned:!1})))},[u]);const O=w.useRef(!1);gs(()=>(O.current=!0,()=>{O.current=!1}),[]),gs(()=>{if(C&&(k.current=C),S&&(N.current=S),C&&S){if(I.current)return I.current(C,S,K);K()}},[C,S,K,I,M]);const Y=w.useMemo(()=>({reference:k,floating:N,setReference:m,setFloating:y}),[m,y]),$=w.useMemo(()=>({reference:C,floating:S}),[C,S]),V=w.useMemo(()=>{const j={position:n,left:0,top:0};if(!$.floating)return j;const P=Nf($.floating,d.x),_=Nf($.floating,d.y);return a?{...j,transform:"translate("+P+"px, "+_+"px)",...ug($.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:P,top:_}},[n,a,$.floating,d.x,d.y]);return w.useMemo(()=>({...d,update:K,refs:Y,elements:$,floatingStyles:V}),[d,K,Y,$,V])}const rb=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:o}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?kf({element:r.current,padding:o}).fn(n):{}:r?kf({element:r,padding:o}).fn(n):{}}}},ob=(e,t)=>({...Gw(e),options:[e,t]}),ib=(e,t)=>({...Qw(e),options:[e,t]}),sb=(e,t)=>({...Xw(e),options:[e,t]}),ab=(e,t)=>({...Yw(e),options:[e,t]}),lb=(e,t)=>({...Zw(e),options:[e,t]}),cb=(e,t)=>({...qw(e),options:[e,t]}),ub=(e,t)=>({...rb(e),options:[e,t]});var db="Arrow",dg=w.forwardRef((e,t)=>{const{children:n,width:r=10,height:o=5,...i}=e;return l.jsx(Ge.svg,{...i,ref:t,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:l.jsx("polygon",{points:"0,0 30,0 15,10"})})});dg.displayName=db;var fb=dg;function pb(e){const[t,n]=w.useState(void 0);return Ln(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const i=o[0];let s,a;if("borderBoxSize"in i){const c=i.borderBoxSize,u=Array.isArray(c)?c[0]:c;s=u.inlineSize,a=u.blockSize}else s=e.offsetWidth,a=e.offsetHeight;n({width:s,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var fg="Popper",[pg,hg]=fa(fg),[nS,mg]=pg(fg),gg="PopperAnchor",vg=w.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...o}=e,i=mg(gg,n),s=w.useRef(null),a=kt(t,s);return w.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||s.current)}),r?null:l.jsx(Ge.div,{...o,ref:a})});vg.displayName=gg;var Tu="PopperContent",[hb,mb]=pg(Tu),yg=w.forwardRef((e,t)=>{var ee,vr,en,Vn,tn,yr;const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:i="center",alignOffset:s=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:h=!1,updatePositionStrategy:p="optimized",onPlaced:x,...v}=e,b=mg(Tu,n),[g,m]=w.useState(null),y=kt(t,nn=>m(nn)),[C,S]=w.useState(null),k=pb(C),N=(k==null?void 0:k.width)??0,T=(k==null?void 0:k.height)??0,M=r+(i!=="center"?"-"+i:""),I=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},F=Array.isArray(u)?u:[u],z=F.length>0,K={padding:I,boundary:F.filter(vb),altBoundary:z},{refs:O,floatingStyles:Y,placement:$,isPositioned:V,middlewareData:j}=nb({strategy:"fixed",placement:M,whileElementsMounted:(...nn)=>Kw(...nn,{animationFrame:p==="always"}),elements:{reference:b.anchor},middleware:[ob({mainAxis:o+T,alignmentAxis:s}),c&&ib({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?sb():void 0,...K}),c&&ab({...K}),lb({...K,apply:({elements:nn,rects:ji,availableWidth:Sa,availableHeight:Pi})=>{const{width:ka,height:xo}=ji.reference,xr=nn.floating.style;xr.setProperty("--radix-popper-available-width",`${Sa}px`),xr.setProperty("--radix-popper-available-height",`${Pi}px`),xr.setProperty("--radix-popper-anchor-width",`${ka}px`),xr.setProperty("--radix-popper-anchor-height",`${xo}px`)}}),C&&ub({element:C,padding:a}),yb({arrowWidth:N,arrowHeight:T}),h&&cb({strategy:"referenceHidden",...K})]}),[P,_]=bg($),U=_n(x);Ln(()=>{V&&(U==null||U())},[V,U]);const D=(ee=j.arrow)==null?void 0:ee.x,G=(vr=j.arrow)==null?void 0:vr.y,Z=((en=j.arrow)==null?void 0:en.centerOffset)!==0,[ge,Pe]=w.useState();return Ln(()=>{g&&Pe(window.getComputedStyle(g).zIndex)},[g]),l.jsx("div",{ref:O.setFloating,"data-radix-popper-content-wrapper":"",style:{...Y,transform:V?Y.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:ge,"--radix-popper-transform-origin":[(Vn=j.transformOrigin)==null?void 0:Vn.x,(tn=j.transformOrigin)==null?void 0:tn.y].join(" "),...((yr=j.hide)==null?void 0:yr.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:l.jsx(hb,{scope:n,placedSide:P,onArrowChange:S,arrowX:D,arrowY:G,shouldHideArrow:Z,children:l.jsx(Ge.div,{"data-side":P,"data-align":_,...v,ref:y,style:{...v.style,animation:V?void 0:"none"}})})})});yg.displayName=Tu;var xg="PopperArrow",gb={top:"bottom",right:"left",bottom:"top",left:"r
226ight"},wg=w.forwardRef(function(t,n){const{__scopePopper:r,...o}=t,i=mb(xg,r),s=gb[i.placedSide];return l.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:l.jsx(fb,{...o,ref:n,style:{...o.style,display:"block"}})})});wg.displayName=xg;function vb(e){return e!==null}var yb=e=>({name:"transformOrigin",options:e,fn(t){var b,g,m;const{placement:n,rects:r,middlewareData:o}=t,s=((b=o.arrow)==null?void 0:b.centerOffset)!==0,a=s?0:e.arrowWidth,c=s?0:e.arrowHeight,[u,d]=bg(n),f={start:"0%",center:"50%",end:"100%"}[d],h=(((g=o.arrow)==null?void 0:g.x)??0)+a/2,p=(((m=o.arrow)==null?void 0:m.y)??0)+c/2;let x="",v="";return u==="bottom"?(x=s?f:`${h}px`,v=`${-c}px`):u==="top"?(x=s?f:`${h}px`,v=`${r.floating.height+c}px`):u==="right"?(x=`${-c}px`,v=s?f:`${p}px`):u==="left"&&(x=`${r.floating.width+c}px`,v=s?f:`${p}px`),{data:{x,y:v}}}});function bg(e){const[t,n="center"]=e.split("-");return[t,n]}var xb=vg,wb=yg,bb=wg,[ya,rS]=fa("Tooltip",[hg]),Au=hg(),Cg="TooltipProvider",Cb=700,Ef="tooltip.open",[Sb,Sg]=ya(Cg),kg=e=>{const{__scopeTooltip:t,delayDuration:n=Cb,skipDelayDuration:r=300,disableHoverableContent:o=!1,children:i}=e,s=w.useRef(!0),a=w.useRef(!1),c=w.useRef(0);return w.useEffect(()=>{const u=c.current;return()=>window.clearTimeout(u)},[]),l.jsx(Sb,{scope:t,isOpenDelayedRef:s,delayDuration:n,onOpen:w.useCallback(()=>{window.clearTimeout(c.current),s.current=!1},[]),onClose:w.useCallback(()=>{window.clearTimeout(c.current),c.current=window.setTimeout(()=>s.current=!0,r)},[r]),isPointerInTransitRef:a,onPointerInTransitChange:w.useCallback(u=>{a.current=u},[]),disableHoverableContent:o,children:i})};kg.displayName=Cg;var Ng="Tooltip",[oS,xa]=ya(Ng),mc="TooltipTrigger",kb=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=xa(mc,n),i=Sg(mc,n),s=Au(n),a=w.useRef(null),c=kt(t,a,o.onTriggerChange),u=w.useRef(!1),d=w.useRef(!1),f=w.useCallback(()=>u.current=!1,[]);return w.useEffect(()=>()=>document.removeEventListener("pointerup",f),[f]),l.jsx(xb,{asChild:!0,...s,children:l.jsx(Ge.button,{"aria-describedby":o.open?o.contentId:void 0,"data-state":o.stateAttribute,...r,ref:c,onPointerMove:we(e.onPointerMove,h=>{h.pointerType!=="touch"&&!d.current&&!i.isPointerInTransitRef.current&&(o.onTriggerEnter(),d.current=!0)}),onPointerLeave:we(e.onPointerLeave,()=>{o.onTriggerLeave(),d.current=!1}),onPointerDown:we(e.onPointerDown,()=>{o.open&&o.onClose(),u.current=!0,document.addEventListener("pointerup",f,{once:!0})}),onFocus:we(e.onFocus,()=>{u.current||o.onOpen()}),onBlur:we(e.onBlur,o.onClose),onClick:we(e.onClick,o.onClose)})})});kb.displayName=mc;var Nb="TooltipPortal",[iS,Eb]=ya(Nb,{forceMount:void 0}),co="TooltipContent",Eg=w.forwardRef((e,t)=>{const n=Eb(co,e.__scopeTooltip),{forceMount:r=n.forceMount,side:o="top",...i}=e,s=xa(co,e.__scopeTooltip);return l.jsx(gu,{present:r||s.open,children:s.disableHoverableContent?l.jsx(jg,{side:o,...i,ref:t}):l.jsx(jb,{side:o,...i,ref:t})})}),jb=w.forwardRef((e,t)=>{const n=xa(co,e.__scopeTooltip),r=Sg(co,e.__scopeTooltip),o=w.useRef(null),i=kt(t,o),[s,a]=w.useState(null),{trigger:c,onClose:u}=n,d=o.current,{onPointerInTransitChange:f}=r,h=w.useCallback(()=>{a(null),f(!1)},[f]),p=w.useCallback((x,v)=>{const b=x.currentTarget,g={x:x.clientX,y:x.clientY},m=Ib(g,b.getBoundingClientRect()),y=Mb(g,m),C=Ob(v.getBoundingClientRect()),S=Lb([...y,...C]);a(S),f(!0)},[f]);return w.useEffect(()=>()=>h(),[h]),w.useEffect(()=>{if(c&&d){const x=b=>p(b,d),v=b=>p(b,c);return c.addEventListener("pointerleave",x),d.addEventListener("pointerleave",v),()=>{c.removeEventListener("pointerleave",x),d.removeEventListener("pointerleave",v)}}},[c,d,p,h]),w.useEffect(()=>{if(s){const x=v=>{const b=v.target,g={x:v.clientX,y:v.clientY},m=(c==null?void 0:c.contains(b))||(d==null?void 0:d.contains(b)),y=!_b(g,s);m?h():y&&(h(),u())};return document.addEventListener("pointermove",x),()=>document.removeEventListener("pointermove",x)}},[c,d,s,u,h]),l.jsx(jg,{...e,ref:i})}),[Pb,Tb]=ya(Ng,{isInside:!1}),Ab=Fy("TooltipContent"),jg=w.forwardRef((e,t)=>
vendor: 6,226 bytes, line 226
226{const{__scopeTooltip:n,children:r,"aria-label":o,onEscapeKeyDown:i,onPointerDownOutside:s,...a}=e,c=xa(co,n),u=Au(n),{onClose:d}=c;return w.useEffect(()=>(document.addEventListener(Ef,d),()=>document.removeEventListener(Ef,d)),[d]),w.useEffect(()=>{if(c.trigger){const f=h=>{const p=h.target;p!=null&&p.contains(c.trigger)&&d()};return window.addEventListener("scroll",f,{capture:!0}),()=>window.removeEventListener("scroll",f,{capture:!0})}},[c.trigger,d]),l.jsx(mu,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:i,onPointerDownOutside:s,onFocusOutside:f=>f.preventDefault(),onDismiss:d,children:l.jsxs(wb,{"data-state":c.stateAttribute,...u,...a,ref:t,style:{...a.style,"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"},children:[l.jsx(Ab,{children:r}),l.jsx(Pb,{scope:n,isInside:!0,children:l.jsx(ux,{id:c.contentId,role:"tooltip",children:o||r})})]})})});Eg.displayName=co;var Pg="TooltipArrow",Rb=w.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,o=Au(n);return Tb(Pg,n).isInside?null:l.jsx(bb,{...o,...r,ref:t})});Rb.displayName=Pg;function Ib(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),i=Math.abs(t.left-e.x);switch(Math.min(n,r,o,i)){case i:return"left";case o:return"right";case n:return"top";case r:return"bottom";default:throw new Error("unreachable")}}function Mb(e,t,n=5){const r=[];switch(t){case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function Ob(e){const{top:t,right:n,bottom:r,left:o}=e;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]}function _b(e,t){const{x:n,y:r}=e;let o=!1;for(let i=0,s=t.length-1;i<t.length;s=i++){const a=t[i],c=t[s],u=a.x,d=a.y,f=c.x,h=c.y;d>r!=h>r&&n<(f-u)*(r-d)/(h-d)+u&&(o=!o)}return o}function Lb(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),zb(t)}function zb(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const o=e[r];for(;t.length>=2;){const i=t[t.length-1],s=t[t.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))t.pop();else break}t.push(o)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const o=e[r];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(o.y-s.y)>=(i.y-s.y)*(o.x-s.x))n.pop();else break}n.push(o)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var Db=kg,Tg=Eg;const Fb=Db,$b=w.forwardRef(({className:e,sideOffset:t=4,...n},r)=>l.jsx(Tg,{ref:r,sideOffset:t,className:hr("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...n}));$b.displayName=Tg.displayName;var wa=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ba=typeof window>"u"||"Deno"in globalThis;function gt(){}function Bb(e,t){return typeof e=="function"?e(t):e}function Hb(e){return typeof e=="number"&&e>=0&&e!==1/0}function Vb(e,t){return Math.max(e+(t||0)-Date.now(),0)}function gc(e,t){return typeof e=="function"?e(t):e}function Ub(e,t){return typeof e=="function"?e(t):e}function jf(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:s,stale:a}=e;if(s){if(r){if(t.queryHash!==Ru(s,t.options))return!1}else if(!pi(t.queryKey,s))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||o&&o!==t.state.fetchStatus||i&&!i(t))}function Pf(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(fi(t.options.mutationKey)!==fi(i))return!1}else if(!pi(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function Ru(e,t){return((t==null?void 0:t.queryKeyHashFn)||fi)(e)}function fi(e){return JSON.stringify(e,(t,n)=>vc(n)?Object.keys(n).sort().reduce((r,o)=>(r[o]=n[o],r),{}):n)}function pi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(t).every(n=>pi(e[n],t[n])):!1}function Ag(e,t){if(e===t)return e;const n=Tf(e)&&Tf(t);if(n||vc(e)&&vc(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),s=i.length,a=n?[]:{},c=new Set(r);let u=0;for(let d=0;d<s;d++){const f=n?d:i[d];(!n&&c.has(f)||n)&&e[f]===void 0&&t[f]===void 0?(a[f]=void 0,u++):(a[f]=Ag(e[f],t[f]),a[f]===e[f]&&e[f]!==void 0&&u++)}return o===s&&u===o?e:a}return t}function Tf(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function vc(e){if(!Af(e))return!1;const t=e.constructor;if(t===void 0)return!0;const n=t.prototype;return!(!Af(n)||!n.hasOwnProperty("isPrototypeOf")||Object.getPrototypeOf(e)!==Object.prototype)}function Af(e){return Object.prototype.toString.call(e)==="[object Object]"}function Wb(e){return new Promise(t=>{setTimeout(t,e)})}function Kb(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Ag(e,t):t}function Gb(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function Qb(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var Iu=Symbol();function Rg(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===Iu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var qn,mn,Wr,Hf,Yb=(Hf=class extends wa{constructor(){super();
vendor: 4,133 bytes, line 226
226J(this,qn);J(this,mn);J(this,Wr);H(this,Wr,t=>{if(!ba&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){E(this,mn)||this.setEventListener(E(this,Wr))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,mn))==null||t.call(this),H(this,mn,void 0))}setEventListener(t){var n;H(this,Wr,t),(n=E(this,mn))==null||n.call(this),H(this,mn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){E(this,qn)!==t&&(H(this,qn,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof E(this,qn)=="boolean"?E(this,qn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},qn=new WeakMap,mn=new WeakMap,Wr=new WeakMap,Hf),Ig=new Yb,Kr,gn,Gr,Vf,Zb=(Vf=class extends wa{constructor(){super();J(this,Kr,!0);J(this,gn);J(this,Gr);H(this,Gr,t=>{if(!ba&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){E(this,gn)||this.setEventListener(E(this,Gr))}onUnsubscribe(){var t;this.hasListeners()||((t=E(this,gn))==null||t.call(this),H(this,gn,void 0))}setEventListener(t){var n;H(this,Gr,t),(n=E(this,gn))==null||n.call(this),H(this,gn,t(this.setOnline.bind(this)))}setOnline(t){E(this,Kr)!==t&&(H(this,Kr,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return E(this,Kr)}},Kr=new WeakMap,gn=new WeakMap,Gr=new WeakMap,Vf),Gs=new Zb;function qb(){let e,t;const n=new Promise((o,i)=>{e=o,t=i});n.status="pending",n.catch(()=>{});function r(o){Object.assign(n,o),delete n.resolve,delete n.reject}return n.resolve=o=>{r({status:"fulfilled",value:o}),e(o)},n.reject=o=>{r({status:"rejected",reason:o}),t(o)},n}function Xb(e){return Math.min(1e3*2**e,3e4)}function Mg(e){return(e??"online")==="online"?Gs.isOnline():!0}var Og=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function sl(e){return e instanceof Og}function _g(e){let t=!1,n=0,r=!1,o;const i=qb(),s=v=>{var b;r||(h(new Og(v)),(b=e.abort)==null||b.call(e))},a=()=>{t=!0},c=()=>{t=!1},u=()=>Ig.isFocused()&&(e.networkMode==="always"||Gs.isOnline())&&e.canRun(),d=()=>Mg(e.networkMode)&&e.canRun(),f=v=>{var b;r||(r=!0,(b=e.onSuccess)==null||b.call(e,v),o==null||o(),i.resolve(v))},h=v=>{var b;r||(r=!0,(b=e.onError)==null||b.call(e,v),o==null||o(),i.reject(v))},p=()=>new Promise(v=>{var b;o=g=>{(r||u())&&v(g)},(b=e.onPause)==null||b.call(e)}).then(()=>{var v;o=void 0,r||(v=e.onContinue)==null||v.call(e)}),x=()=>{if(r)return;let v;const b=n===0?e.initialPromise:void 0;try{v=b??e.fn()}catch(g){v=Promise.reject(g)}Promise.resolve(v).then(f).catch(g=>{var k;if(r)return;const m=e.retry??(ba?0:3),y=e.retryDelay??Xb,C=typeof y=="function"?y(n,g):y,S=m===!0||typeof m=="number"&&n<m||typeof m=="function"&&m(n,g);if(t||!S){h(g);return}n++,(k=e.onFail)==null||k.call(e,n,g),Wb(C).then(()=>u()?void 0:p()).then(()=>{t?h(g):x()})})};return{promise:i,cancel:s,continue:()=>(o==null||o(),i),cancelRetry:a,continueRetry:c,canStart:d,start:()=>(d()?x():p().then(x),i)}}var Jb=e=>setTimeout(e,0);function e2(){let e=[],t=0,n=a=>{a()},r=a=>{a()},o=Jb;const i=a=>{t?e.push(a):o(()=>{n(a)})},s=()=>{const a=e;e=[],a.length&&o(()=>{r(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||s()}return c},batchCalls:a=>(...c)=>{i(()=>{a(...c)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{o=a}}}var ze=e2(),Xn,Uf,Lg=(Uf=class{constructor(){J(this,Xn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Hb(this.gcTime)&&H(this,Xn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ba?1/0:5*60*1e3))}clearGcTimeout(){E(this,Xn)&&(clearTimeout(E(this,Xn)),H(this,Xn,void 0))}},Xn=new WeakMap,Uf),Qr,Jn,rt,er,Ie,gi,tr,vt,$t,Wf,t2=(Wf=class extends Lg{constructor(t){super();
vendor: 2,651 bytes, line 226
226J(this,vt);J(this,Qr);J(this,Jn);J(this,rt);J(this,er);J(this,Ie);J(this,gi);J(this,tr);H(this,tr,!1),H(this,gi,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,er,t.client),H(this,rt,E(this,er).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,Qr,r2(this.options)),this.state=t.state??E(this,Qr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=E(this,Ie))==null?void 0:t.promise}setOptions(t){this.options={...E(this,gi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&E(this,rt).remove(this)}setData(t,n){const r=Kb(this.state.data,t,this.options);return Te(this,vt,$t).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){Te(this,vt,$t).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,o;const n=(r=E(this,Ie))==null?void 0:r.promise;return(o=E(this,Ie))==null||o.cancel(t),n?n.then(gt).catch(gt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(E(this,Qr))}isActive(){return this.observers.some(t=>Ub(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===Iu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0?this.observers.some(t=>gc(t.options.staleTime,this)==="static"):!1}isStale(){return this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0||this.state.isInvalidated}isStaleByTime(t=0){return this.state.data===void 0?!0:t==="static"?!1:this.state.isInvalidated?!0:!Vb(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,Ie))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=E(this,Ie))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),E(this,rt).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(E(this,Ie)&&(E(this,tr)?E(this,Ie).cancel({revert:!0}):E(this,Ie).cancelRetry()),this.scheduleGc()),E(this,rt).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||Te(this,vt,$t).call(this,{type:"invalidate"})}
vendor: 8,718 bytes, line 226
226fetch(t,n){var u,d,f;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(E(this,Ie))return E(this,Ie).continueRetry(),E(this,Ie).promise}if(t&&this.setOptions(t),!this.options.queryFn){const h=this.observers.find(p=>p.options.queryFn);h&&this.setOptions(h.options)}const r=new AbortController,o=h=>{Object.defineProperty(h,"signal",{enumerable:!0,get:()=>(H(this,tr,!0),r.signal)})},i=()=>{const h=Rg(this.options,n),x=(()=>{const v={client:E(this,er),queryKey:this.queryKey,meta:this.meta};return o(v),v})();return H(this,tr,!1),this.options.persister?this.options.persister(h,x,this):h(x)},a=(()=>{const h={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:E(this,er),state:this.state,fetchFn:i};return o(h),h})();(u=this.options.behavior)==null||u.onFetch(a,this),H(this,Jn,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((d=a.fetchOptions)==null?void 0:d.meta))&&Te(this,vt,$t).call(this,{type:"fetch",meta:(f=a.fetchOptions)==null?void 0:f.meta});const c=h=>{var p,x,v,b;sl(h)&&h.silent||Te(this,vt,$t).call(this,{type:"error",error:h}),sl(h)||((x=(p=E(this,rt).config).onError)==null||x.call(p,h,this),(b=(v=E(this,rt).config).onSettled)==null||b.call(v,this.state.data,h,this)),this.scheduleGc()};return H(this,Ie,_g({initialPromise:n==null?void 0:n.initialPromise,fn:a.fetchFn,abort:r.abort.bind(r),onSuccess:h=>{var p,x,v,b;if(h===void 0){c(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(h)}catch(g){c(g);return}(x=(p=E(this,rt).config).onSuccess)==null||x.call(p,h,this),(b=(v=E(this,rt).config).onSettled)==null||b.call(v,h,this.state.error,this),this.scheduleGc()},onError:c,onFail:(h,p)=>{Te(this,vt,$t).call(this,{type:"failed",failureCount:h,error:p})},onPause:()=>{Te(this,vt,$t).call(this,{type:"pause"})},onContinue:()=>{Te(this,vt,$t).call(this,{type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0})),E(this,Ie).start()}},Qr=new WeakMap,Jn=new WeakMap,rt=new WeakMap,er=new WeakMap,Ie=new WeakMap,gi=new WeakMap,tr=new WeakMap,vt=new WeakSet,$t=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...n2(r.data,this.options),fetchMeta:t.meta??null};case"success":return H(this,Jn,void 0),{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=t.error;return sl(o)&&o.revert&&E(this,Jn)?{...E(this,Jn),fetchStatus:"idle"}:{...r,error:o,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),ze.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),E(this,rt).notify({query:this,type:"updated",action:t})})},Wf);function n2(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Mg(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function r2(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Tt,Kf,o2=(Kf=class extends wa{constructor(t={}){super();J(this,Tt);this.config=t,H(this,Tt,new Map)}build(t,n,r){const o=n.queryKey,i=n.queryHash??Ru(o,n);let s=this.get(i);return s||(s=new t2({client:t,queryKey:o,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(o)}),this.add(s)),s}add(t){E(this,Tt).has(t.queryHash)||(E(this,Tt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=E(this,Tt).get(t.queryHash);n&&(t.destroy(),n===t&&E(this,Tt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return E(this,Tt).get(t)}getAll(){return[...E(this,Tt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>jf(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>jf(t,r)):n}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Tt=new WeakMap,Kf),At,_e,nr,Rt,un,Gf,i2=(Gf=class extends Lg{constructor(t){super();J(this,Rt);J(this,At);J(this,_e);J(this,nr);this.mutationId=t.mutationId,H(this,_e,t.mutationCache),H(this,At,[]),this.state=t.state||s2(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){E(this,At).includes(t)||(E(this,At).push(t),this.clearGcTimeout(),E(this,_e).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,At,E(this,At).filter(n=>n!==t)),this.scheduleGc(),E(this,_e).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){E(this,At).length||(this.state.status==="pending"?this.scheduleGc():E(this,_e).remove(this))}continue(){var t;return((t=E(this,nr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var i,s,a,c,u,d,f,h,p,x,v,b,g,m,y,C,S,k,N,T;const n=()=>{Te(this,Rt,un).call(this,{type:"continue"})};H(this,nr,_g({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(M,I)=>{Te(this,Rt,un).call(this,{type:"failed",failureCount:M,error:I})},onPause:()=>{Te(this,Rt,un).call(this,{type:"pause"})},onContinue:n,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>E(this,_e).canRun(this)}));const r=this.state.status==="pending",o=!E(this,nr).canStart();try{if(r)n();else{Te(this,Rt,un).call(this,{type:"pending",variables:t,isPaused:o}),await((s=(i=E(this,_e).config).onMutate)==null?void 0:s.call(i,t,this));const I=await((c=(a=this.options).onMutate)==null?void 0:c.call(a,t));I!==this.state.context&&Te(this,Rt,un).call(this,{type:"pending",context:I,variables:t,isPaused:o})}const M=await E(this,nr).start();return await((d=(u=E(this,_e).config).onSuccess)==null?void 0:d.call(u,M,t,this.state.context,this)),await((h=(f=this.options).onSuccess)==null?void 0:h.call(f,M,t,this.state.context)),await((x=(p=E(this,_e).config).onSettled)==null?void 0:x.call(p,M,null,this.state.variables,this.state.context,this)),await((b=(v=this.options).onSettled)==null?void 0:b.call(v,M,null,t,this.state.context)),Te(this,Rt,un).call(this,{type:"success",data:M}),M}catch(M){try{throw await((m=(g=E(this,_e).config).onError)==null?void 0:m.call(g,M,t,this.state.context,this)),await((C=(y=this.options).onError)==null?void 0:C.call(y,M,t,this.state.context)),await((k=(S=E(this,_e).config).onSettled)==null?void 0:k.call(S,void 0,M,this.state.variables,this.state.context,this)),await((T=(N=this.options).onSettled)==null?void 0:T.call(N,void 0,M,t,this.state.context)),M}finally{Te(this,Rt,un).call(this,{type:"error",error:M})}}finally{E(this,_e).runNext(this)}}},At=new WeakMap,_e=new WeakMap,nr=new WeakMap,Rt=new WeakSet,un=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ze.batch(()=>{E(this,At).forEach(r=>{r.onMutationUpdate(t)}),E(this,_e).notify({mutation:this,type:"updated",action:t})})},Gf);function s2(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Vt,yt,vi,Qf,a2=(Qf=class extends wa{constructor(t={}){super();
226J(this,Vt);J(this,yt);J(this,vi);this.config=t,H(this,Vt,new Set),H(this,yt,new Map),H(this,vi,0)}build(t,n,r){const o=new i2({mutationCache:this,mutationId:++Ai(this,vi)._,options:t.defaultMutationOptions(n),state:r});return this.add(o),o}add(t){E(this,Vt).add(t);const n=ts(t);if(typeof n=="string"){const r=E(this,yt).get(n);r?r.push(t):E(this,yt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(E(this,Vt).delete(t)){const n=ts(t);if(typeof n=="string"){const r=E(this,yt).get(n);if(r)if(r.length>1){const o=r.indexOf(t);o!==-1&&r.splice(o,1)}else r[0]===t&&E(this,yt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=ts(t);if(typeof n=="string"){const r=E(this,yt).get(n),o=r==null?void 0:r.find(i=>i.state.status==="pending");return!o||o===t}else return!0}runNext(t){var r;const n=ts(t);if(typeof n=="string"){const o=(r=E(this,yt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(o==null?void 0:o.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ze.batch(()=>{E(this,Vt).forEach(t=>{this.notify({type:"removed",mutation:t})}),E(this,Vt).clear(),E(this,yt).clear()})}getAll(){return Array.from(E(this,Vt))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Pf(n,r))}findAll(t={}){return this.getAll().filter(n=>Pf(t,n))}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(gt))))}},Vt=new WeakMap,yt=new WeakMap,vi=new WeakMap,Qf);function ts(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Rf(e){return{onFetch:(t,n)=>{var d,f,h,p,x;const r=t.options,o=(h=(f=(d=t.fetchOptions)==null?void 0:d.meta)==null?void 0:f.fetchMore)==null?void 0:h.direction,i=((p=t.state.data)==null?void 0:p.pages)||[],s=((x=t.state.data)==null?void 0:x.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const u=async()=>{let v=!1;const b=y=>{Object.defineProperty(y,"signal",{enumerable:!0,get:()=>(t.signal.aborted?v=!0:t.signal.addEventListener("abort",()=>{v=!0}),t.signal)})},g=Rg(t.options,t.fetchOptions),m=async(y,C,S)=>{if(v)return Promise.reject();if(C==null&&y.pages.length)return Promise.resolve(y);const N=(()=>{const F={client:t.client,queryKey:t.queryKey,pageParam:C,direction:S?"backward":"forward",meta:t.options.meta};return b(F),F})(),T=await g(N),{maxPages:M}=t.options,I=S?Qb:Gb;return{pages:I(y.pages,T,M),pageParams:I(y.pageParams,C,M)}};if(o&&i.length){const y=o==="backward",C=y?l2:If,S={pages:i,pageParams:s},k=C(r,S);a=await m(S,k,y)}else{const y=e??i.length;do{const C=c===0?s[0]??r.initialPageParam:If(r,a);if(c>0&&C==null)break;a=await m(a,C),c++}while(c<y)}return a};t.options.persister?t.fetchFn=()=>{var v,b;return(b=(v=t.options).persister)==null?void 0:b.call(v,u,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=u}}}function If(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function l2(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var pe,vn,yn,Yr,Zr,xn,qr,Xr,Yf,c2=(Yf=class{constructor(e={}){J(this,pe);J(this,vn);J(this,yn);J(this,Yr);J(this,Zr);J(this,xn);J(this,qr);J(this,Xr);H(this,pe,e.queryCache||new o2),H(this,vn,e.mutationCache||new a2),H(this,yn,e.defaultOptions||{}),H(this,Yr,new Map),H(this,Zr,new Map),H(this,xn,0)}mount(){Ai(this,xn)._++,E(this,xn)===1&&(H(this,qr,Ig.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,pe).onFocus())})),H(this,Xr,Gs.subscribe(async e=>{e&&(await this.resumePausedMutations(),E(this,pe).onOnline())})))}unmount(){var e,t;Ai(this,xn)._--,E(this,xn)===0&&((e=E(this,qr))==null||e.call(this),H(this,qr,void 0),(t=E(this,Xr))==null||t.call(this),H(this,Xr,void 0))}isFetching(e){return E(this,pe).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return E(this,vn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,pe).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=E(this,pe).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(gc(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return E(this,pe).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=E(this,pe).get(r.queryHash),i=o==null?void 0:o.state.data,s=Bb(t,i);if(s!==void 0)return E(this,pe).build(this,r).setData(s,{...n,manual:!0})}
226setQueriesData(e,t,n){return ze.batch(()=>E(this,pe).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=E(this,pe).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=E(this,pe);ze.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=E(this,pe);return ze.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=ze.batch(()=>E(this,pe).findAll(e).map(o=>o.cancel(n)));return Promise.all(r).then(gt).catch(gt)}invalidateQueries(e,t={}){return ze.batch(()=>(E(this,pe).findAll(e).forEach(n=>{n.invalidate()}),(e==null?void 0:e.refetchType)==="none"?Promise.resolve():this.refetchQueries({...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=ze.batch(()=>E(this,pe).findAll(e).filter(o=>!o.isDisabled()&&!o.isStatic()).map(o=>{let i=o.fetch(void 0,n);return n.throwOnError||(i=i.catch(gt)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(gt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=E(this,pe).build(this,t);return n.isStaleByTime(gc(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(gt).catch(gt)}fetchInfiniteQuery(e){return e.behavior=Rf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(gt).catch(gt)}ensureInfiniteQueryData(e){return e.behavior=Rf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Gs.isOnline()?E(this,vn).resumePausedMutations():Promise.resolve()}getQueryCache(){return E(this,pe)}getMutationCache(){return E(this,vn)}getDefaultOptions(){return E(this,yn)}setDefaultOptions(e){H(this,yn,e)}setQueryDefaults(e,t){E(this,Yr).set(fi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...E(this,Yr).values()],n={};return t.forEach(r=>{pi(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){E(this,Zr).set(fi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...E(this,Zr).values()],n={};return t.forEach(r=>{pi(e,r.mutationKey)&&Object.assign(n,r.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...E(this,yn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=Ru(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===Iu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...E(this,yn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){E(this,pe).clear(),E(this,vn).clear()}},pe=new WeakMap,vn=new WeakMap,yn=new WeakMap,Yr=new WeakMap,Zr=new WeakMap,xn=new WeakMap,qr=new WeakMap,Xr=new WeakMap,Yf),u2=w.createContext(void 0),d2=({client:e,children:t})=>(w.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),l.jsx(u2.Provider,{value:e,children:t}));/**
227 * @remix-run/router v1.23.0
228 *
229 * Copyright (c) Remix Software Inc.
230 *
231 * This source code is licensed under the MIT license found in the
232 * LICENSE.md file in the root directory of this source tree.
233 *
234 * @license MIT
235 */function hi(){return hi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},hi.apply(this,arguments)}var Sn;(function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"})(Sn||(Sn={}));const Mf="popstate";function f2(e){e===void 0&&(e={});function t(r,o){let{pathname:i,search:s,hash:a}=r.location;return yc("",{pathname:i,search:s,hash:a},o.state&&o.state.usr||null,o.state&&o.state.key||"default")}function n(r,o){return typeof o=="string"?o:Qs(o)}return h2(t,n,null,e)}function ye(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function zg(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function p2(){return Math.random().toString(36).substr(2,8)}function Of(e,t){return{usr:e.state,key:e.key,idx:t}}function yc(e,t,n,r){return n===void 0&&(n=null),hi({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?vo(t):t,{state:n,key:t&&t.key||r||p2()})}function Qs(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function vo(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function h2(e,t,n,r){r===void 0&&(r={});let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,a=Sn.Pop,c=null,u=d();u==null&&(u=0,s.replaceState(hi({},s.state,{idx:u}),""));function d(){return(s.state||{idx:null}).idx}function f(){a=Sn.Pop;let b=d(),g=b==null?null:b-u;u=b,c&&c({action:a,location:v.location,delta:g})}function h(b,g){a=Sn.Push;let m=yc(v.location,b,g);u=d()+1;let y=Of(m,u),C=v.createHref(m);try{s.pushState(y,"",C)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;o.location.assign(C)}i&&c&&c({action:a,location:v.location,delta:1})}function p(b,g){a=Sn.Replace;let m=yc(v.location,b,g);u=d();let y=Of(m,u),C=v.createHref(m);s.replaceState(y,"",C),i&&c&&c({action:a,location:v.location,delta:0})}function x(b){let g=o.location.origin!=="null"?o.location.origin:o.location.href,m=typeof b=="string"?b:Qs(b);return m=m.replace(/ $/,"%20"),ye(g,"No window.location.(origin|href) available to create URL for href: "+m),new URL(m,g)}let v={get action(){return a},get location(){return e(o,s)},listen(b){if(c)throw new Error("A history only accepts one active listener");return o.addEventListener(Mf,f),c=b,()=>{o.removeEventListener(Mf,f),c=null}},createHref(b){return t(o,b)},createURL:x,encodeLocation(b){let g=x(b);return{pathname:g.pathname,search:g.search,hash:g.hash}},push:h,replace:p,go(b){return s.go(b)}};return v}var _f;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(_f||(_f={}));function m2(e,t,n){return n===void 0&&(n="/"),g2(e,t,n,!1)}function g2(e,t,n,r){let o=typeof t=="string"?vo(t):t,i=Mu(o.pathname||"/",n);if(i==null)return null;let s=Dg(e);v2(s);let a=null;for(let c=0;a==null&&c<s.length;++c){let u=P2(i);a=E2(s[c],u,r)}return a}function Dg(e,t,n,r){t===void 0&&(t=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(i,s,a)=>{let c={relativePath:a===void 0?i.path||"":a,caseSensitive:i.caseSensitive===!0,childrenIndex:s,route:i};c.relativePath.startsWith("/")&&(ye(c.relativePath.startsWith(r),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+r+'" is not val
235id. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(r.length));let u=In([r,c.relativePath]),d=n.concat(c);i.children&&i.children.length>0&&(ye(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),Dg(i.children,t,d,u)),!(i.path==null&&!i.index)&&t.push({path:u,score:k2(u,i.index),routesMeta:d})};return e.forEach((i,s)=>{var a;if(i.path===""||!((a=i.path)!=null&&a.includes("?")))o(i,s);else for(let c of Fg(i.path))o(i,s,c)}),t}function Fg(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return o?[i,""]:[i];let s=Fg(r.join("/")),a=[];return a.push(...s.map(c=>c===""?i:[i,c].join("/"))),o&&a.push(...s),a.map(c=>e.startsWith("/")&&c===""?"/":c)}function v2(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:N2(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const y2=/^:[\w-]+$/,x2=3,w2=2,b2=1,C2=10,S2=-2,Lf=e=>e==="*";function k2(e,t){let n=e.split("/"),r=n.length;return n.some(Lf)&&(r+=S2),t&&(r+=w2),n.filter(o=>!Lf(o)).reduce((o,i)=>o+(y2.test(i)?x2:i===""?b2:C2),r)}function N2(e,t){return e.length===t.length&&e.slice(0,-1).every((r,o)=>r===t[o])?e[e.length-1]-t[t.length-1]:0}function E2(e,t,n){let{routesMeta:r}=e,o={},i="/",s=[];for(let a=0;a<r.length;++a){let c=r[a],u=a===r.length-1,d=i==="/"?t:t.slice(i.length)||"/",f=zf({path:c.relativePath,caseSensitive:c.caseSensitive,end:u},d),h=c.route;if(!f&&u&&n&&!r[r.length-1].route.index&&(f=zf({path:c.relativePath,caseSensitive:c.caseSensitive,end:!1},d)),!f)return null;
vendor: 9,412 bytes, lines 235-244
235Object.assign(o,f.params),s.push({params:o,pathname:In([i,f.pathname]),pathnameBase:I2(In([i,f.pathnameBase])),route:h}),f.pathnameBase!=="/"&&(i=In([i,f.pathnameBase]))}return s}function zf(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=j2(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],s=i.replace(/(.)\/+$/,"$1"),a=o.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:h,isOptional:p}=d;if(h==="*"){let v=a[f]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const x=a[f];return p&&!x?u[h]=void 0:u[h]=(x||"").replace(/%2F/g,"/"),u},{}),pathname:i,pathnameBase:s,pattern:e}}function j2(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),zg(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,a,c)=>(r.push({paramName:a,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),o+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":e!==""&&e!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}function P2(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return zg(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Mu(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function T2(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:o=""}=typeof e=="string"?vo(e):e;return{pathname:n?n.startsWith("/")?n:A2(n,t):t,search:M2(r),hash:O2(o)}}function A2(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function al(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"].  Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function R2(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function $g(e,t){let n=R2(e);return t?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Bg(e,t,n,r){r===void 0&&(r=!1);let o;typeof e=="string"?o=vo(e):(o=hi({},e),ye(!o.pathname||!o.pathname.includes("?"),al("?","pathname","search",o)),ye(!o.pathname||!o.pathname.includes("#"),al("#","pathname","hash",o)),ye(!o.search||!o.search.includes("#"),al("#","search","hash",o)));let i=e===""||o.pathname==="",s=i?"/":o.pathname,a;if(s==null)a=n;else{let f=t.length-1;if(!r&&s.startsWith("..")){let h=s.split("/");for(;h[0]==="..";)h.shift(),f-=1;o.pathname=h.join("/")}a=f>=0?t[f]:"/"}let c=T2(o,a),u=s&&s!=="/"&&s.endsWith("/"),d=(i||s===".")&&n.endsWith("/");return!c.pathname.endsWith("/")&&(u||d)&&(c.pathname+="/"),c}const In=e=>e.join("/").replace(/\/\/+/g,"/"),I2=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),M2=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,O2=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function _2(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Hg=["post","put","patch","delete"];new Set(Hg);const L2=["get",...Hg];new Set(L2);/**
236 * React Router v6.30.1
237 *
238 * Copyright (c) Remix Software Inc.
239 *
240 * This source code is licensed under the MIT license found in the
241 * LICENSE.md file in the root directory of this source tree.
242 *
243 * @license MIT
244 */function mi(){return mi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},mi.apply(this,arguments)}const Ou=w.createContext(null),z2=w.createContext(null),mr=w.createContext(null),Ca=w.createContext(null),gr=w.createContext({outlet:null,matches:[],isDataRoute:!1}),Vg=w.createContext(null);function D2(e,t){let{relative:n}=t===void 0?{}:t;Ei()||ye(!1);let{basename:r,navigator:o}=w.useContext(mr),{hash:i,pathname:s,search:a}=Wg(e,{relative:n}),c=s;return r!=="/"&&(c=s==="/"?r:In([r,s])),o.createHref({pathname:c,search:a,hash:i})}function Ei(){return w.useContext(Ca)!=null}function yo(){return Ei()||ye(!1),w.useContext(Ca).location}function Ug(e){w.useContext(mr).static||w.useLayoutEffect(e)}function F2(){let{isDataRoute:e}=w.useContext(gr);return e?X2():$2()}function $2(){Ei()||ye(!1);let e=w.useContext(Ou),{basename:t,future:n,navigator:r}=w.useContext(mr),{matches:o}=w.useContext(gr),{pathname:i}=yo(),s=JSON.stringify($g(o,n.v7_relativeSplatPath)),a=w.useRef(!1);return Ug(()=>{a.current=!0}),w.useCallback(function(u,d){if(d===void 0&&(d={}),!a.current)return;if(typeof u=="number"){r.go(u);return}let f=Bg(u,JSON.parse(s),i,d.relative==="path");e==null&&t!=="/"&&(f.pathname=f.pathname==="/"?t:In([t,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[t,r,s,i,e])}function Wg(e,t){let{relative:n}=t===void 0?{}:t,{future:r}=w.useContext(mr),{matches:o}=w.useContext(gr),{pathname:i}=yo(),s=JSON.stringify($g(o,r.v7_relativeSplatPath));return w.useMemo(()=>Bg(e,JSON.parse(s),i,n==="path"),[e,s,i,n])}function B2(e,t){return H2(e,t)}function H2(e,t,n,r){Ei()||ye(!1);let{navigator:o}=w.useContext(mr),{matches:i}=w.useContext(gr),s=i[i.length-1],a=s?s.params:{};s&&s.pathname;let c=s?s.pathnameBase:"/";s&&s.route;let u=yo(),d;if(t){var f;let b=typeof t=="string"?vo(t):t;c==="/"||(f=b.pathname)!=null&&f.startsWith(c)||ye(!1),d=b}else d=u;let h=d.pathname||"/",p=h;if(c!=="/"){let b=c.replace(/^\//,"").split("/");p="/"+h.replace(/^\//,"").split("/").slice(b.length).join("/")}let x=m2(e,{pathname:p}),v=G2(x&&x.map(b=>Object.assign({},b,{params:Object.assign({},a,b.params),pathname:In([c,o.encodeLocation?o.encodeLocation(b.pathname).pathname:b.pathname]),pathnameBase:b.pathnameBase==="/"?c:In([c,o.encodeLocation?o.encodeLocation(b.pathnameBase).pathname:b.pathnameBase])})),i,n,r);return t&&v?w.createElement(Ca.Provider,{value:{location:mi({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:Sn.Pop}},v):v}function V2(){let e=q2(),t=_2(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return w.createElement(w.Fragment,null,w.createElement("h2",null,"Unexpected Application Error!"),w.createElement("h3",{style:{fontStyle:"italic"}},t),n?w.createElement("pre",{style:o},n):null,null)}const U2=w.createElement(V2,null);class W2 extends w.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?w.createElement(gr.Provider,{value:this.props.routeContext},w.createElement(Vg.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function K2(e){let{routeContext:t,match:n,children:r}=e,o=w.useContext(Ou);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),w.createElement(gr.Provider,{value:t},r)}function G2(e,t,n,r){var o;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let s=e,a=(o=n)==null?void 0:o.errors;if(a!=null){let d=s.findIndex(f=>f.route.id&&(a==null?void 0:a[f.route.id])!==void 0);d>=0||ye(!1),s=s.slice(0,Math.min(s.length,d+1))}let c=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<s.length;d++){let f=s[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:h,errors:p}=n,x=f.route.loader&&h[f.route.id]===void 0&&(!p||p[f.route.id]===void 0);if(f.route.lazy||x){c=!0,u>=0?s=s.slice(0,u+1):s=[s[0]];break}}}return s.reduceRight((d,f,h)=>{let p,x=!1,v=null,b=null;n&&(p=a&&f.route.id?a[f.route.id]:void 0,v=f.route.errorElement||U2,c&&(u<0&&h===0?(x=!0,b=null):u===h&&(x=!0,b=f.route.hydrateFallbackElement||null)));let g=t.concat(s.slice(0,h+1)),m=()=>{let y;return p?y=v:x?y=b:f.route.Component?y=w.createElement(f.route.Component,null):f.route.element?y=f.route.element:y=d,w.createElement(K2,{match:f,routeContext:{outlet:d,matches:g,isDataRoute:n!=null},children:y})};return n&&(f.route.ErrorBoundary||f.route.errorElement||h===0)?w.createElement(W2,{location:n.location,revalidation:n.revalidation,component:v,error:p,children:m(),routeC
244ontext:{outlet:null,matches:g,isDataRoute:!0}}):m()},null)}var Kg=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Kg||{}),Ys=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Ys||{});function Q2(e){let t=w.useContext(Ou);return t||ye(!1),t}function Y2(e){let t=w.useContext(z2);return t||ye(!1),t}function Z2(e){let t=w.useContext(gr);return t||ye(!1),t}function Gg(e){let t=Z2(),n=t.matches[t.matches.length-1];return n.route.id||ye(!1),n.route.id}function q2(){var e;let t=w.useContext(Vg),n=Y2(Ys.UseRouteError),r=Gg(Ys.UseRouteError);return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function X2(){let{router:e}=Q2(Kg.UseNavigateStable),t=Gg(Ys.UseNavigateStable),n=w.useRef(!1);return Ug(()=>{n.current=!0}),w.useCallback(function(o,i){i===void 0&&(i={}),n.current&&(typeof o=="number"?e.navigate(o):e.navigate(o,mi({fromRouteId:t},i)))},[e,t])}function J2(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function _o(e){ye(!1)}function eC(e){let{basename:t="/",children:n=null,location:r,navigationType:o=Sn.Pop,navigator:i,static:s=!1,future:a}=e;Ei()&&ye(!1);let c=t.replace(/^\/*/,"/"),u=w.useMemo(()=>({basename:c,navigator:i,static:s,future:mi({v7_relativeSplatPath:!1},a)}),[c,a,i,s]);typeof r=="string"&&(r=vo(r));let{pathname:d="/",search:f="",hash:h="",state:p=null,key:x="default"}=r,v=w.useMemo(()=>{let b=Mu(d,c);return b==null?null:{location:{pathname:b,search:f,hash:h,state:p,key:x},navigationType:o}},[c,d,f,h,p,x,o]);return v==null?null:w.createElement(mr.Provider,{value:u},w.createElement(Ca.Provider,{children:n,value:v}))}function tC(e){let{children:t,location:n}=e;return B2(xc(t),n)}new Promise(()=>{});function xc(e,t){t===void 0&&(t=[]);let n=[];return w.Children.forEach(e,(r,o)=>{if(!w.isValidElement(r))return;let i=[...t,o];if(r.type===w.Fragment){n.push.apply(n,xc(r.props.children,i));return}r.type!==_o&&ye(!1),!r.props.index||!r.props.children||ye(!1);let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=xc(r.props.children,i)),n.push(s)}),n}/**
245 * React Router DOM v6.30.1
246 *
247 * Copyright (c) Remix Software Inc.
248 *
249 * This source code is licensed under the MIT license found in the
250 * LICENSE.md file in the root directory of this source tree.
251 *
252 * @license MIT
253 */function wc(){return wc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wc.apply(this,arguments)}function nC(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i<r.length;i++)o=r[i],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function rC(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function oC(e,t){return e.button===0&&(!t||t==="_self")&&!rC(e)}const iC=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","viewTransition"],sC="6";try{window.__reactRouterVersion=sC}catch{}const aC="startTransition",Df=ap[aC];function lC(e){let{basename:t,children:n,future:r,window:o}=e,i=w.useRef();i.current==null&&(i.current=f2({window:o,v5Compat:!0}));let s=i.current,[a,c]=w.useState({action:s.action,location:s.location}),{v7_startTransition:u}=r||{},d=w.useCallback(f=>{u&&Df?Df(()=>c(f)):c(f)},[c,u]);return w.useLayoutEffect(()=>s.listen(d),[s,d]),w.useEffect(()=>J2(r),[r]),w.createElement(eC,{basename:t,children:n,location:a.location,navigationType:a.action,navigator:s,future:r})}const cC=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",uC=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ff=w.forwardRef(function(t,n){let{onClick:r,relative:o,reloadDocument:i,replace:s,state:a,target:c,to:u,preventScrollReset:d,viewTransition:f}=t,h=nC(t,iC),{basename:p}=w.useContext(mr),x,v=!1;if(typeof u=="string"&&uC.test(u)&&(x=u,cC))try{let y=new URL(window.location.href),C=u.startsWith("//")?new URL(y.protocol+u):new URL(u),S=Mu(C.pathname,p);C.origin===y.origin&&S!=null?u=S+C.search+C.hash:v=!0}catch{}let b=D2(u,{relative:o}),g=dC(u,{replace:s,state:a,target:c,preventScrollReset:d,relative:o,viewTransition:f});function m(y){r&&r(y),y.defaultPrevented||g(y)}return w.createElement("a",wc({},h,{href:x||b,onClick:v||i?r:m,ref:n,target:c}))});var $f;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})($f||($f={}));var Bf;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(Bf||(Bf={}));function dC(e,t){let{target:n,replace:r,state:o,preventScrollReset:i,relative:s,viewTransition:a}=t===void 0?{}:t,c=F2(),u=yo(),d=Wg(e,{relative:s});return w.useCallback(f=>
253{if(oC(f,n)){f.preventDefault();let h=r!==void 0?r:Qs(u)===Qs(d);c(e,{replace:h,state:o,preventScrollReset:i,relative:s,viewTransition:a})}},[u,c,d,r,o,n,e,i,s,a])}const fC={en:{"nav.vision":"Vision","nav.solutions":"Solutions","nav.technology":"Engine","nav.team":"Team","nav.awards":"Awards","nav.press":"Press","nav.contact":"Contact","hero.title":"Trusted AI Workflows for Healthcare","hero.subtitle":"TaiOne Care GPT turns clinical blockers into deployable AI modules for hospitals, home care, and long-term care.","hero.ctaWatch":"Watch Video","hero.ctaContact":"Contact Us","vision.h":"Vision","vision.lead":"Starting from Taiwan, The One AITech uses trustworthy AI to reshape healthcare delivery, advance health equity, and build a resilient healthcare ecosystem. We make the value of professional caregivers visible and work toward healthcare that belongs to everyone.","vision.slogan":"Healthcare belongs to everyone.","vision.missionLabel":"Mission","vision.mission":"The One AITech deeply understands clinical workflows and uses a multi-agent AI collaboration architecture to optimize healthcare interaction scenarios, helping medical and healthcare organizations save time, reduce risk, and improve care quality. With reviewable, traceable, and accountable information foundations, we become the long-term trusted AI collaboration partner for healthcare institutions and industry partners.","vision.brand.eyebrow":"Brand Positioning","vision.brand.h":"Trust / Insight / Optimization","vision.brand.trust.e":"Trust","vision.brand.trust.h":"Trustworthy by design","vision.brand.trust.t":"Starting from professional practice, we integrate clinical knowledge, data governance, and multi-agent AI models to build reviewable, traceable, and accountable information foundations, with support for on-premises and private-cloud deployment. We are not a one-off project vendor, but a long-term AI collaboration partner.","vision.brand.insight.e":"Insight","vision.brand.insight.h":"Built from clinical context","vision.brand.insight.t":"Real healthcare AI is not just a model placed inside a hospital. It must start from clinical context, user participation, and responsibility boundaries, understanding users, workflows, and care relationships so time and professional care value return to the front line.","vision.brand.optimization.e":"Optimization","vision.brand.optimization.h":"An evolving improvement flywheel","vision.brand.optimization.t":"We combine AI technology, clinical-context data, and continuous feedback into an optimization flywheel. The goal is not only system launch, but clinical usability, organizational adoption, system scalability, and meaningful care change in real workflows.","vision.p1h":"Healthcare Liberation","vision.p1stat1":"Physician: Documentation time","vision.p1stat1v":"10-15 min → 3 min","vision.p1stat2":"Nursing: Shift handover summary","vision.p1stat2v":"10 min → 2 min","vision.p1":"Freeing clinical staff from documentation burden","vision.p2h":"True Patient Care","vision.p2":"When healthcare workers are no longer rushed with paperwork, they can listen attentively to patients' needs and provide more personalized, comprehensive care.","vision.p3h":"People-First Healthcare Culture","vision.p3":"From colleagues to patients, everyone feels supported and respected. Such an environment attracts and retains the best healthcare talents, creating a positive cycle.","solutions.h":"Solutions","solutions.lead":"A successful AI assistant inside one hospital rarely lands frictionlessly in another. Built around Clinical Harness Engineering and multiple patented core technologies, TaiOne Care GPT turns clinical workflow blockers into deployable, auditable, and replicable AI workflow modules.","solutions.s1h":"A+ Ward Rounding Alliance","solutions.s1":"One‑stop rounding hub for nurses, physicians, pharmacists, and case managers—shared priorities, reminders, and patient‑centric collaboration.","solutions.s2h":"Smart Home Care","solutions.s2":"AI-powered home care management: smart scheduling, route optimization, case management with NHI claim automation, KPIs, and audit‑ready logs.","solutions.s3h":"Body Cam","solutions.s3":"Voice + image capture to secure cloud; AI transcribes, structures, and drafts notes. Optimized for low‑light, wide‑angle, and long shifts.","solutions.s4h":"HIS Copilot","solutions.s4":"AI assistant embedded in hospital flows: grammar & abbreviation checks, auto‑fill structured data, and consistent summaries.","solutions.s5h":"Case & Claim","solutions.s5":"C
253ase management with NHI claim automation, KPIs, and audit‑ready logs.","solutions.s6h":"Education & Tele‑care","solutions.s6":"Push patient education, reminders, and secure messaging for families.","tech.h":"Clinical Harness Engine","tech.lead":"The workflow engine behind TaiOne Care GPT: clinically aware, workflow-ready, auditable, and built to scale across institutions.","team.h":"Team","team.lead":"Founder-market fit across clinical reality, workflow adoption, governance trust, and turning specifications into systems.","team.cto.h":"Chia‑Te Liao","team.cto.r":"Chief Technology Officer","team.cto.d":`Taiwan Outstanding IT Talent Award
254Physician / Scientist / Engineer
255Department Head, Chi Mei Hospital
256Leads clinical AI and evidence-based design.`,"team.ceo.h":"Charlotte Chiu","team.ceo.r":"Chief Executive Officer","team.ceo.d":"Entrepreneur shaping sustainable business & operations; SOP and finance governance.","team.cso.h":"Yuan‑Jun Tang","team.cso.r":"Chief Financial & Strategy Officer","team.cso.d":"Financial strategy, market positioning, public communication, and commercialization discipline.","team.coo.h":"Yan‑Ping Fan","team.coo.r":"Chief Operating Officer","team.coo.d":"Design thinking & UX; customer success and partner delivery.","awards.h":"Awards","awards.lead":"Recognized for innovation and real‑world impact.","awards.a1":"MOEA 2025 Smart Innovation Award — AI Application (Startup/SME) — Merit","awards.a2":"EiMBA Entrepreneurship Competition — 1st Prize","awards.a3":"National Science Council 2025 AI Innovation Award — Healthcare","awards.a4":"Admitted to 2025 NTU Garage & EPIC Accelerator","awards.a5":"2025 Taiwan Startup World Cup — Top 50","awards.a6":"2025 AI Healthcare Leadership Award (Storm Media)","awards.a7":"2025 Taiwan Agile Awards — Product Owner & Team of the Year","awards.a8":"2025 National Innovation Award - Startup Award","awards.a9":"Chunghwa Telecom 2025 Smart Innovation Contest & 5G Accelerator — Champion","awards.a10":"2026 Business Weekly AI Innovation Top 100 — IMV (Micro/Small Startup) — Merit Award","awards.a11":"iF Design Award 2026","press.h":"Press","press.lead":"Coverage and interviews about TaiOne Care GPT.","press.i1.title":"Economic Daily News","press.i1.desc":"AI care assistant powers smart healthcare; winner of the MOEA 2025 Smart Innovation Award.","press.i2.title":"Storm Media","press.i2.desc":"'A+ Clinical Smart Navigation' builds an invisible digital team to ease clinician workload.","press.i3.title":"Meet Startup","press.i3.desc":"'Stop fooling us—you just want papers!' Chi Mei's outside-the-hospital revolution began with that challenge.","press.i4.title":"Human TV","press.i4.desc":"Medical tech revolution: AI care system relieves healthcare stress and boosts efficiency.","press.i5.title":"CNA","press.i5.desc":"The One AITech wins Chunghwa Telecom 5G Accelerator Championship and showcases TaiOne Care GPT at Healthcare+ Expo.","press.i6.title":"Vocus News","press.i6.desc":"TaiOne Care GPT wins National Innovation Award - extending smart healthcare from medical centers to grassroots care.","press.read":"Read article","press.watch":"Watch video","contact.h":"Contact","contact.lead":"Talk to us about hospital-side AI enablement or home and long-term care total solutions.","contact.company":"The One AITech Co., Ltd.","contact.personL":"Contact","contact.personV":"Wen‑Ya Chuang (Executive Secretary)","contact.phoneL":"Phone","contact.note":"Need a product demo, integration discussion, or deployment planning for your care setting? Contact us.","contact.ctaMail":"Email Us","contact.ctaTop":"Back to top","footer.made":"Showcase site for Edison Awards"},zh:{"nav.vision":"願景","nav.solutions":"解決方案","nav.technology":"引擎","nav.team":"創辦人","nav.awards":"獲獎","nav.press":"媒體","nav.contact":"聯絡","hero.title":"讓醫療AI 真正落地到工作流程","hero.subtitle":"TaiOne Care GPT 將臨床會遇到的各種卡關問題,打造成可部署模組的能力。","hero.ctaWatch":"觀看影片","hero.ctaContact":"聯絡我們","vision.h":"願景","vision.lead":"本一科技從臺灣出發,以可信任 AI 科技重塑醫療現場,推動健康平權,建構強韌的健康照護生態系;讓專業照護者的價值被看見,讓健康照護屬於每一個人。","vision.slogan":"讓健康照護屬於每一個人","vision.missionLabel":"使命","vision.mission":"本一科技深度洞察臨床工作流,以多代理 AI 協作架構優化醫療互動情境,協助醫療與健康照護產業省時間、降風險、提升照護品質。我們以可審閱、可追蹤、可回溯的資訊底層,成為醫療機構及產業夥伴長期信任的 AI 協作夥伴。","vision.brand.eyebrow":"品牌定位敘事","vision.brand.h":"Trust / Insight / Optimization","vision.brand.trust.e":"Trust","vision.brand.trust.h":"ä¿¡ä»»","vision.brand.trust.t":"本一科技從專業出發,整合臨床知識、資料治理與多代理 AI 模型,建立可審閱、可追蹤、可回溯的資訊底層,並支援地端與私有雲部署。我們不是一次性的專案商,而是醫療機構及產業夥伴可以長期信任的 AI 協作夥伴。","vision.brand.insight.e":"Insight","vision.brand.insight.h":"洞察","vision.brand.insight.t":"本一科技相信,真正的醫療 AI 不只是把模型放進醫院,而是以臨床情境、使用者參與與責任界面為底,理解使用者、工作流與照護關係,讓時間與專業照護價值回到現場。","vision.brand.optimization.e":"Optimization","vision.brand.optimization.h":"優化","vision.brand.optimization.t":"本一科技以 AI 科技、臨床情境數據與持續回饋機制,形成可演進的優化飛輪。我們追求的不只是系統上線,而是在真實醫療工作流中做到臨床可用、組織可採、系統可擴,創造無縫接軌且有感的照護改變。","vision.p1h":"醫療臨床人員的解放","vision.p1stat1":"醫師:紀錄時間","vision.p1stat1v":"10-15 分鐘 → 3 分鐘內","vision.p1stat2":"護理:交班摘要","vision.p1stat2v":"10 分鐘 → 2 分鐘","vision.p1":"讓臨床人員從文書負擔中解放","vision.p2h":"真正的病人關懷","vision.p2":"當醫療人員不再匆忙於文書工作,他們能夠細心聆聽病人的需求,提供更個人化與全面的照護。","vision.p3h":"以人為本的醫療文化","vision.p3":"從同仁到病人,都感受到支持與尊重。這樣的環境能吸引並留住最優秀的醫療人才。建立起一個正向循環。","solutions.h":"è
256§£æ±ºæ–¹æ¡ˆ","solutions.lead":"一間醫院內成功的 AI 軟體或 AI 協作助理,很難無痛直接複製落地到其他院所;TaiOne Care GPT 以「Clinical Harness Engineering」為核心,透過多項專利核心技術,將臨床卡關問題打造成可部署、可稽核、可複製外擴的 AI 工作流模組。","solutions.s1h":"A+巡房大聯盟","solutions.s1":"跨職類一站式巡房中樞:共享重點與提醒,讓團隊以病人為核心協作。","solutions.s2h":"智能居護","solutions.s2":"AI 驅動的居家照護管理:智慧排班、路線最佳化、個案管理與健保申報自動化、KPI 與可稽核留痕。","solutions.s3h":"Body Cam","solutions.s3":"語音+影像即時上傳至安全雲端;AI 轉寫與結構化,輸出可用紀錄。強化低光源、廣角與續航。","solutions.s4h":"HIS Copilot","solutions.s4":"嵌入醫院流程的 AI 助理:文法與縮寫檢核、結構化欄位自動帶入、病程摘要一致化。","solutions.s5h":"個管與申報","solutions.s5":"整合個案管理與健保申報,自動 KPI 與可稽核留痕。","solutions.s6h":"衛教與遠距照護","solutions.s6":"衛教推播、提醒與安全訊息,支援家屬參與。","tech.h":"Clinical Harness 引擎","tech.lead":"支撐 TaiOne Care GPT 複製外擴的底層工作流引擎:可理解臨床、可融入流程、可稽核、可複製外擴。","team.h":"團隊","team.lead":"從看得懂現場、接得進流程、扛得住稽核到規格成系統,形成醫療 AI 的 Founder-Market Fit。","team.cto.h":"廖家德","team.cto.r":"技術長","team.cto.d":`臺灣傑出資訊人才獎
257醫師/科學家/工程師
258前醫學中心部門主管
259帶領臨床 AI、數位轉型與實證設計。`,"team.ceo.h":"邱瓊玉","team.ceo.r":"執行長","team.ceo.d":`以企業營運與治理打造永續商業模式
260制定公司SOP
261財務管理`,"team.cso.h":"唐源駿","team.cso.r":"財務暨策略長","team.cso.d":`財務策略、市場定位
262公關溝通與商業化節奏`,"team.coo.h":"范硯平","team.coo.r":"營運長","team.coo.d":`設計思考與使用者體驗優化
263客戶服務及業務`,"awards.h":"獲獎","awards.lead":"屢獲肯定,創新與落地並重。","awards.a1":"經濟部 2025 智慧創新大賞—AI 應用(新創/中小企業)佳作","awards.a2":"EiMBA 創業專題競賽—第一名","awards.a3":"國科會 2025 AI 創新獎—智慧醫療領域","awards.a4":"錄取 2025 台大車庫與 EPIC 加速器","awards.a5":"2025 Taiwan Startup World Cup—Top 50","awards.a6":"2025 風傳媒 AI 醫療領航大獎","awards.a7":"2025 台灣敏捷大賞—年度產品負責人與年度敏捷團隊","awards.a8":"2025 國家新創獎 - 初創企業獎","awards.a9":"中華電信「2025智慧創新應用大賽暨5G加速器徵選」冠軍","awards.a10":"2026 商業周刊 AI 創新百強企業—小微新創企業組(IMV)優選獎","awards.a11":"2026 iF 設計獎","press.h":"媒體","press.lead":"各界對 TaiOne Care GPT 的報導與專訪。","press.i1.title":"經濟日報","press.i1.desc":"本一科技推 AI 醫療助理實現智慧照護,勇奪經濟部 2025 智慧創新大賞。","press.i2.title":"風傳媒","press.i2.desc":"2025 AI 醫療大獎》奇美醫院「A+ 臨床智慧導航」,打造「隱形數位團隊」助醫護減壓。","press.i3.title":"Meet 創業小聚","press.i3.desc":"「不要騙我們了,你們做 AI 只是想寫論文!」奇美醫師的院外革命,就從這句挑戰開始。","press.i4.title":"佛光山人間衛視","press.i4.desc":"醫療科技新革命!AI 照護系統助醫護減壓提。","press.i5.title":"中央社","press.i5.desc":"本一科技勇奪中華電信 5G 加速器冠軍,並於台灣醫療科技展展示臺醫照護GPT。","press.i6.title":"即時新聞網","press.i6.desc":"臺醫照護GPT榮獲國家新創獎,技術從醫學中心成功向下延伸至基層長照智慧轉型。","press.read":"閱讀報導","press.watch":"觀看影片","contact.h":"聯絡","contact.lead":"若欲了解醫院端 AI 技術輸出,或居護/長照端軟硬整合方案,歡迎與我們聯繫。","contact.company":"本一科技股份有限公司(The One AITech Co., Ltd.)","contact.personL":"聯絡人","contact.personV":"莊雯雅(執行秘書)","contact.phoneL":"電話","contact.note":"需要產品 DEMO、系統介接討論,或不同照護場域的導入規劃?歡迎來信與我們聯繫。","contact.ctaMail":"來信洽詢","contact.ctaTop":"回到頁首","footer.made":"Edison Awards 專用展示頁"}},Qg=w.createContext(void 0),Yg=({children:e})=>{const[t,n]=w.useState(()=>{const i=localStorage.getItem("lang");return i==="en"||i==="zh"?i:"zh"}),r=i=>{n(i),localStorage.setItem("lang",i),document.documentElement.lang=i==="zh"?"zh-Hant":"en"},o=i=>fC[t][i]||i;return w.useEffect(()=>{document.documentElement.lang=t==="zh"?"zh-Hant":"en"},[t]),l.jsx(Qg.Provider,{value:{language:t,setLanguage:r,t:o},children:e})},je=()=>{const e=w.useContext(Qg);if(!e)throw new Error("useLanguage must be used within a LanguageProvider");return e},pC="/assets/new-logo-BcMDtyGm.png",_u=()=>{const{language:e,setLanguage:t,t:n}=je(),o=yo().pathname==="/",[i,s]=w.useState(!1),[a,c]=w.useState(!1),u=f=>o?f:`/${f}`;w.useEffect(()=>{const f=()=>{c(window.scrollY>50)};return window.addEventListener("scroll",f,{passive:!0}),()=>window.removeEventListener("scroll",f)},[]);const d=[{href:"#vision",label:n("nav.vision")},{href:"#solutions",label:n("nav.solutions")},{href:"#technology",label:n("nav.technology")},{href:"#team",label:n("nav.team")},{href:"#gallery",label:e==="zh"?"畫廊":"Gallery"},{href:"#awards",label:n("nav.awards")},{href:"#press",label:n("nav.press")},{href:"#contact",label:n("nav.contact")}];return l.jsx("header",{className:`sticky top-0 z-50 border-b transition-all duration-300 ${a?"border-border/80 bg-background/80 backdrop-blur-xl shadow-lg shadow-background/20":"border-border/40 bg-gradient-to-b from-background/90 via-background/72 to-transparent backdrop-blur-sm"}`,children:l.jsxs("nav",{className:"container flex items-center gap-5 py-3.5 px-4",children:[l.jsxs("a",{href:o?"#hero":"/",className:"flex items-center gap-2.5 text-foreground no-underline",children:[l.jsx("img",{src:pC,alt:"The One AITech logo",className:"w-12 h-12 drop-shadow-lg object-cover rounded-lg"}),l.jsx("span",{className:"font-bold tracking-wide",children:"The One AITech"})]}),l.jsx("ul",{className:"hidden lg:flex gap-3 list-none m-0 p-0 ml-4",children:d.map(f=>l.jsx("li",{children:l.jsx("a",{href:u(f.href),className:"text-muted-foreground hover:text-foreground hover:bg-foreground
263/5 px-2.5 py-2 rounded-lg transition-all duration-200 no-underline text-sm",children:f.label})},f.href))}),l.jsxs("div",{className:"flex gap-2 ml-auto",role:"group","aria-label":"Language Switch",children:[l.jsx("button",{onClick:()=>t("en"),className:`px-2.5 py-1.5 border rounded-lg bg-transparent cursor-pointer transition-all duration-200 text-sm ${e==="en"?"text-foreground border-primary shadow-[0_0_10px_hsla(191,90%,62%,0.3)]":"text-muted-foreground border-border hover:border-muted-foreground"}`,"aria-pressed":e==="en",children:"EN"}),l.jsx("button",{onClick:()=>t("zh"),className:`px-2.5 py-1.5 border rounded-lg bg-transparent cursor-pointer transition-all duration-200 text-sm ${e==="zh"?"text-foreground border-primary shadow-[0_0_10px_hsla(191,90%,62%,0.3)]":"text-muted-foreground border-border hover:border-muted-foreground"}`,"aria-pressed":e==="zh",children:"中"})]}),l.jsx("button",{onClick:()=>s(!i),className:"lg:hidden p-2 border border-border rounded-lg bg-transparent text-foreground hover:bg-foreground/5 transition-colors","aria-label":i?"Close menu":"Open menu","aria-expanded":i,children:i?l.jsx(wu,{size:20}):l.jsx(Lx,{size:20})}),i&&l.jsx("ul",{className:"lg:hidden absolute right-4 top-16 bg-background/98 backdrop-blur-xl p-3 border border-border rounded-xl flex flex-col gap-1 w-52 shadow-xl animate-reveal-scale",children:d.map(f=>l.jsx("li",{children:l.jsx("a",{href:u(f.href),onClick:()=>s(!1),className:"block text-muted-foreground hover:text-foreground hover:bg-foreground
263/5 px-3 py-2 rounded-lg transition-colors no-underline",children:f.label})},f.href))})]})})},hC="/assets/hero-bg-H_-_QCjN.jpg",mC=()=>{const{language:e,t}=je();return l.jsxs("section",{id:"hero",className:"relative min-h-[60vh] md:min-h-[72vh] grid place-items-center py-16 md:py-24 pb-12 md:pb-18 overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 pointer-events-none",style:{background:`
264            linear-gradient(120deg, hsla(222, 47%, 5%, 0.85), hsla(222, 47%, 5%, 0.2)),
265            radial-gradient(1200px 600px at 10% 10%, hsla(191, 90%, 62%, 0.25), transparent 60%),
266            radial-gradient(1000px 500px at 90% 20%, hsla(155, 100%, 75%, 0.2), transparent 55%),
267            radial-gradient(900px 520px at 50% 80%, hsla(191, 90%, 62%, 0.18), transparent 55%),
268            url(${hC})
269          `,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat",filter:"saturate(115%)",transform:"scale(1.02)"},"aria-hidden":"true"}),l.jsx("div",{className:"absolute inset-x-0 bottom-0 h-36 pointer-events-none",style:{background:"linear-gradient(to bottom, transparent, hsl(222, 47%, 5%))"},"aria-hidden":"true"}),l.jsxs("div",{className:"relative z-10 text-center max-w-[920px] px-5 md:px-4 fade-in",children:[l.jsx("h1",{className:"text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight leading-[1.18] md:leading-[1.16] mb-2 md:mb-3 glow-title",children:e==="zh"?l.jsxs(l.Fragment,{children:["讓醫療AI",l.jsx("br",{}),"真正落地到工作流程"]}):t("hero.title")}),l.jsx("p",{className:"text-sm sm:text-base md:text-lg lg:text-xl text-muted-foreground mb-4 md:mb-5 max-w-[80ch] mx-auto md:whitespace-nowrap",children:t("hero.subtitle")}),l.jsxs("div",{className:"flex gap-2.5 md:gap-3.5 justify-center flex-wrap",children:[l.jsx("a",{href:"https://youtu.be/Rpsn684OAmc?si=_eKl2ctGj_JyQqKd",target:"_blank",rel:"noopener noreferrer",className:"inline-block rounded-xl px-4 py-2.5 md:px-5 md:py-3 text-sm md:text-base no-underline transition-all border border-transparent bg-gradient-to-b from-primary to-[#00a6d3] text-primary-foreground font-medium shadow-[0_10px_25px_hsla(191,90%,62%,0.25)] hover:translate-y-[-1px] hover:shadow-[0_16px_30px_hsla(191,90%,62%,0.35)]",children:t("hero.ctaWatch")}),l.jsx("a",{href:"#contact",className:"inline-block rounded-xl px-4 py-2.5 md:px-5 md:py-3 text-sm md:text-base no-underline transition-all border border-border bg-transparent text-foreground hover:bg-foreground
269/5",children:t("hero.ctaContact")})]})]})]})},ce=(e={})=>{const{threshold:t=.1,rootMargin:n="0px 0px -50px 0px",triggerOnce:r=!0}=e,o=w.useRef(null),[i,s]=w.useState(!1);return w.useEffect(()=>{const a=o.current;if(!a)return;const c=new IntersectionObserver(([u])=>{u.isIntersecting?(s(!0),r&&c.unobserve(a)):r||s(!1)},{threshold:t,rootMargin:n});return c.observe(a),()=>{c.unobserve(a)}},[t,n,r]),{ref:o,isVisible:i}},gC=()=>{const{t:e}=je(),{ref:t,isVisible:n}=ce(),{ref:r,isVisible:o}=ce({rootMargin:"0px 0px -50px 0px"}),{ref:i,isVisible:s}=ce({rootMargin:"0px 0px -100px 0px"}),a=[{icon:ao,titleKey:"vision.brand.trust.h",eyebrowKey:"vision.brand.trust.e",textKey:"vision.brand.trust.t"},{icon:cc,titleKey:"vision.brand.insight.h",eyebrowKey:"vision.brand.insight.e",textKey:"vision.brand.insight.t"},{icon:Bm,titleKey:"vision.brand.optimization.h",eyebrowKey:"vision.brand.optimization.e",textKey:"vision.brand.optimization.t"}];return l.jsxs("section",{id:"vision",className:"relative container py-8 overflow-hidden",children:[l.jsx("div",{className:"absolute top-0 right-0 w-[600px] h-[600px] bg-gradient-to-bl from-primary/30 via-cyan-400/15 to-transparent rounded-full blur-3xl op
269acity-70 animate-pulse",style:{animationDuration:"4s"}}),l.jsx("div",{className:"absolute top-10 right-10 w-[400px] h-[400px] bg-gradient-to-bl from-orange-400/25 via-amber-300/15 to-transparent rounded-full blur-3xl opacity-50 animate-pulse",style:{animationDuration:"6s",animationDelay:"1s"}}),l.jsx("div",{className:"absolute -bottom-20 -left-20 w-[500px] h-[500px] bg-gradient-to-tr from-primary/20 via-teal-400/10 to-transparent rounded-full blur-3xl opacity-40 animate-pulse",style:{animationDuration:"5s",animationDelay:"2s"}}),l.jsx("div",{className:"absolute top-1/2 left-1/3 w-[300px] h-[300px] bg-gradient-to-r from-violet-500/15 via-purple-400/10 to-transparent rounded-full blur-3xl opacity-30 animate-pulse",style:{animationDuration:"7s",animationDelay:"0.5s"}}),l.jsxs("div",{className:"absolute inset-0 overflow-hidden pointer-events-none",children:[l.jsx("div",{className:"absolute top-20 left-[10%] w-2 h-2 bg-primary/40 rounded-full animate-bounce",style:{animationDuration:"3s"}}),l.jsx("div",{className:"absolute top-40 right-[20%] w-1.5 h-1.5 bg-cyan-400/50 rounded-full animate-bounce",style:{animationDuration:"4s",animationDelay:"1s"}}),l.jsx("div",{className:"absolute bottom-32 left-[30%] w-2.5 h-2.5 bg-amber-400/40 rounded-full animate-bounce",style:{animationDuration:"3.5s",animationDelay:"0.5s"}}),l.jsx("div",{className:"absolute top-60 left-[60%] w-1 h-1 bg-primary/60 rounded-full animate-bounce",style:{animationDuration:"5s",animationDelay:"2s"}})]}),l.jsxs("div",{className:"relative z-10",children:[l.jsxs("div",{ref:t,className:`mb-10 opacity-0 ${n?"animate-reveal-up":""}`,children:[l.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[l.jsx("span",{className:"text-primary text-2xl",children:"✦"}),l.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold tracking-tight text-foreground",children:e("vision.h")})]}),l.jsx("p",{className:"text-muted-foreground text-lg md:text-xl leading-relaxed max-w-[72ch] mb-8",children:e("vision.lead")})]}),l.jsxs("div",{ref:r,className:`mb-8 opacity-0 ${o?"animate-reveal-up":""}`,style:{animationDelay:"100ms"},children:[l.jsx("p",{className:"text-xl md:text-2xl font-semibold text-primary mb-5",children:e("vision.slogan")}),l.jsxs("div",{className:"max-w-[82ch] rounded-2xl border border-primary/25 bg-card/55 p-5 md:p-6 shadow-[0_18px_55px_rgba(0,200,220,0.08)]",children:[l.jsx("p",{className:"mb-2 text-sm font-semibold text-primary",children:e("vision.missionLabel")}),l.jsx("p",{className:"text-muted-foreground text-base md:text-lg leading-relaxed",children:e("vision.mission")})]})]}),l.jsxs("div",{ref:i,className:`mt-12 opacity-0 ${s?"animate-reveal-up":""}`,style:{animationDelay:"200ms"},children:[l.jsxs("div",{className:"mb-6",children:[l.jsx("p",{className:"text-sm font-semibold text-primary mb-2",children:e("vision.brand.eyebrow")}),l.jsx("h3",{className:"text-2xl md:text-3xl font-bold text-foreground",children:e("vision.brand.h")})]}),l.jsx("div",{className:"grid md:grid-cols-3 gap-6",children:a.map((c,u)=>{const d=c.icon;return l.jsx("div",{className:"group glass-card rounded-2xl p-6 transition-all duration-500 hover:border-primary/40 hover:shadow-[0_8px_32px_rgba(0,200,200,0.2)] hover:-translate-y-2 hover:scale-[1.02]",style:{transitionDelay:`${u*50}ms`},children:l.jsxs("div",{className:"relative z-10",children:[l.jsx("div",{className:"mb-5 flex h-12 w-12 items-center justify-center rounded-xl border border-primary/20 bg-primary/10 text-primary transition-all duration-300 group-hover:bg-primary group-hover:text-primary-foreground",children:l.jsx(d,{className:"h-6 w-6"})}),l.jsx("p",{className:"mb-2 text-xs font-semibold uppercase tracking-[0.18em] text-primary/80",children:e(c.eyebrowKey)}),l.jsx("h4",{className:"mb-4 text-xl font-bold text-foreground transition-all duration-300 group-hover:text-primary",children:e(c.titleKey)}),l.jsx("p",{className:"text-sm leading-relaxed text-muted-foreground transition-all duration-300 group-hover:text-muted-foreground/90",children:e(c.textKey)})]})},c.titleKey)})})]})]})]})},vC=()=>{const{language:e}=je(),{ref:t,isVisible:n}=ce(),{ref:r,isVisible:o}=ce({rootMargin:"0px 0px -50px 0px"}),i=e==="zh"?[{icon:ur,stat:"35%",statLabel:"作業時間",title:"文書負擔沉重",description:"平均每天需 3.5 小時處理文書,職能錯位、品質下降",color:"from-red-500/20 to-orange-500/20",borderColor:"border-red-500/30",iconColor:"text-red-400"},{icon:so,stat:"100+",statLabel:"種系統",title:"資訊系統碎片化",description:"僅 26% 醫療機構具備跨院資料交換能力",color:"from-
269amber-500/20 to-yellow-500/20",borderColor:"border-amber-500/30",iconColor:"text-amber-400"},{icon:af,stat:"Legacy",statLabel:"Stone Age",title:"系統老化難整合",description:"無統一 API 格式、HL7/FHIR 標準不一致",color:"from-purple-500/20 to-violet-500/20",borderColor:"border-purple-500/30",iconColor:"text-purple-400"},{icon:Hs,stat:"單一",statLabel:"醫師導向",title:"多職類被忽視",description:"CDSS 僅針對醫師,忽略護理、藥師、個管等角色",color:"from-blue-500/20 to-cyan-500/20",borderColor:"border-blue-500/30",iconColor:"text-blue-400"}]:[{icon:ur,stat:"35%",statLabel:"work time",title:"Heavy Documentation",description:"Average 3.5 hours daily on paperwork, causing burnout",color:"from-red-500/20 to-orange-500/20",borderColor:"border-red-500/30",iconColor:"text-red-400"},{icon:so,stat:"100+",statLabel:"systems",title:"Fragmented Systems",description:"Only 26% of facilities can exchange data cross-institution",color:"from-amber-500/20 to-yellow-500/20",borderColor:"border-amber-500/30",iconColor:"text-amber-400"},{icon:af,stat:"Legacy",statLabel:"Stone Age",title:"Aging Infrastructure",description:"No unified APIs, inconsistent HL7/FHIR standards",color:"from-purple-500/20 to-violet-500/20",borderColor:"border-purple-500/30",iconColor:"text-purple-400"},{icon:Hs,stat:"Single",statLabel:"physician-centric",title:"Teams Overlooked",description:"CDSS ignores nurses, pharmacists, case managers",color:"from-blue-500/20 to-cyan-500/20",borderColor:"border-blue-500/30",iconColor:"text-blue-400"}],s=e==="zh"?[{icon:lf,stat:"低",statLabel:"互通性",title:"EHR 互通性不良",description:"缺乏語意標準,資料交換後仍無共通性",color:"from-cyan-500/20 to-teal-500/20",borderColor:"border-cyan-500/30",iconColor:"text-cyan-400"},{icon:Bs,stat:"CDSS",statLabel:"孤立介面",title:"決策系統落地困難",description:"使用率低、誤報多、警訊疲乏",color:"from-emerald-500/20 to-green-500/20",borderColor:"border-emerald-500/30",iconColor:"text-emerald-400"},{icon:Cn,stat:"XAI",statLabel:"黑箱問題",title:"AI 限於預測性",description:"缺乏實際工作整合,需手動校對",color:"from-pink-500/20 to-rose-500/20",borderColor:"border-pink-500/30",iconColor:"text-pink-400"},{icon:zn,stat:"缺乏",statLabel:"全人照護",title:"多職類資料融合不足",description:"忽略護理、社工、照護互動整合",color:"from-indigo-500/20 to-blue-500/20",borderColor:"border-indigo-500/30",iconColor:"text-indigo-400"}]:[{icon:lf,stat:"Low",statLabel:"interoperability",title:"Poor EHR Interoperability",description:"No semantic standards, data exchange lacks meaning",color:"from-cyan-500/20 to-teal-500/20",borderColor:"border-cyan-500/30",iconColor:"text-cyan-400"},{icon:Bs,stat:"CDSS",statLabel:"isolated",title:"CDSS Implementation Hard",description:"Low adoption, false alerts, alert fatigue",color:"from-emerald-500/20 to-green-500/20",borderColor:"border-emerald-500/30",iconColor:"text-emerald-400"},{icon:Cn,stat:"XAI",statLabel:"black box",title:"AI Limited to Prediction",description:"Lacks workflow integration, needs manual review",color:"from-pink-500/20 to-rose-500/20",borderColor:"border-pink-500/30",iconColor:"text-pink-400"},{icon:zn,stat:"Lacks",statLabel:"holistic care",title:"Multi-disciplinary Gap",description:"Ignores nursing, social work, care interactions",color:"from-indigo-500/20 to-blue-500/20",borderColor:"border-indigo-500/30",iconColor:"text-indigo-400"}],a=({item:c,index:u,delay:d=0})=>{const f=c.icon;return l.jsxs("div",{className:"group glass-card rounded-2xl p-6 transition-all duration-500 hover:scale-[1.02] hover:-translate-y-1 hover:border-primary/40 hover:shadow-[0_20px_40px_rgba(0,200,200,0.15)]",style:{animationDelay:`${d+u*100}ms`},children:[l.jsx("div",{className:`absolute -top-10 -right-10 w-32 h-32 bg-gradient-to-br ${c.color}
269 rounded-full blur-3xl opacity-30 group-hover:opacity-60 transition-opacity duration-500`}),l.jsx("div",{className:`absolute top-0 left-0 right-0 h-0.5 bg-gradient-to-r from-transparent ${c.color.replace("from-","via-").replace("/20","/60")} to-transparent`}),l.jsx("div",{className:`relative z-10 w-12 h-12 rounded-xl bg-gradient-to-br ${c.color} backdrop-blur flex items-center justify-center mb-4 ${c.iconColor} group-hover:scale-110 transition-transform duration-300 border border-white/10`,children:l.jsx(f,{className:"w-6 h-6"})}),l.jsxs("div",{className:"relative z-10 mb-3",children:[l.jsx("span",{className:`text-3xl md:text-4xl font-bold ${c.iconColor}`,children:c.stat}),l.jsx("span",{className:"text-sm text-muted-foreground ml-2",children:c.statLabel})]}),l.jsx("h3",{className:"relative z-10 text-lg font-semibold text-foreground mb-2 group-hover:text-primary transition-colors duration-300",children:c.title}),l.jsx("p",{className:"relative z-10 text-sm text-muted-foreground leading-relaxed",children:c.description}),l.jsx("div",{className:"absolute bottom-0 left-0 h-0.5 w-0 bg-gradient-to-r from-primary via-cyan-400 to-primary group-hover:w-full transition-all duration-500"})]})};return l.jsxs("section",{id:"pain-points",className:"relative container py-8 pb-4 overflow-hidden",children:[l.jsx("div",{className:"absolute top-0 left-1/4 w-[600px] h-[600px] bg-gradient-to-br from-red-500/10 via-orange-500/5 to-transparent rounded-full blur-3xl"}),l.jsx("div",{className:"absolute bottom-0 right-1/4 w-[500px] h-[500px] bg-gradient-to-tl from-cyan-500/10 via-blue-500/5 to-transparent rounded-full blur-3xl"}),l.jsxs("div",{ref:t,className:`mb-20 opacity-0 ${n?"animate-reveal-up":""}`,children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-red-500/10 border border-red-500/20 text-red-400 text-sm font-medium mb-4",children:e==="zh"?"醫療現況":"Healthcare Reality"}),l.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mb-4",children:e==="zh"?"醫療痛點":"Healthcare Pain Points"}),l.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:e==="zh"?"醫療人員每天面對的挑戰,需要被看見、被解決":"The daily challenges healthcare workers face need to be seen and solved"})]}),l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:i.map((c,u)=>l.jsx(a,{item:c,index:u},u))})]}),l.jsxs("div",{ref:r,className:`opacity-0 ${o?"animate-reveal-up":""}`,children:[l.jsxs("div",{className:"text-center mb-12",children:[l.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-cyan-500/10 border border-cyan-500/20 text-cyan-400 text-sm font-medium mb-4",children:e==="zh"?"技術挑戰":"Technical Challenges"}),l.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mb-4",children:e==="zh"?"技術痛點":"Technology Pain Points"}),l.jsx("p",{className:"text-muted-foreground max-w-2xl mx-auto",children:e==="zh"?"現有技術架構的瓶頸,阻礙醫療 AI 真正落地":"Current technical bottlenecks preventing AI from truly landing in healthcare"})]}),l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-6",children:s.map((c,u)=>l.jsx(a,{item:c,index:u,delay:200},u))})]})]})},yC="/assets/taione-care-gpt-logo-new-WVtTG8Nr.png",xC=()=>{const{language:e,t}=je(),{ref:n,isVisible:r}=ce(),{ref:o,isVisible:i}=ce({rootMargin:"0px 0px -50px 0px"}),{ref:s,isVisible:a}=ce({rootMargin:"0px 0px -50px 0px"}),c=e==="zh"?[{icon:qi,title:"資訊系統差異",text:"HIS/NIS、表單欄位、介接方式各不相同"},{icon:Xi,title:"職類流程不同",text:"醫師、護理、藥師、個管各有自己的工作節奏"},{icon:cf,title:"治理與責任邊界",text:"資安、權限、審閱、稽核都需要能被追蹤"},{icon:cc,title:"使用習慣落差",text:"AI 要少學、少按、少打斷,才會真正進入日常"}]:[{icon:qi,title:"Different Systems",text:"Every HIS/NIS, field mapping, and integration path is different"},{icon:Xi,title:"Different Roles",text:"Physicians, nurses, pharmacists, and case managers work in different rhythms"},{icon:cf,title:"Governance Boundaries",text:"Security, permissions, review, and audit trails must be traceable"},{icon:cc,title:"Adoption Friction",text:"AI must reduce clicks and fit daily work before teams will rely on it"}],u=e==="zh"?[{letter:"G",title:"Generate 生成",text:"自動生成臨床紀錄、交班摘要與個人化衛教,讓第一線減少重複整理。"},{letter:"P",title:"Predict 預測",text:"結合臨床風險模型與生成式 AI,協助高風險個案提早被看見。"},{letter:"T",title:"Transform 轉型",text:"把時間還給照護者,讓院內 AI 能延伸到居護、長照與社區場域。"}]:[{letter:"G",title:"Generate",text:"Generate clinical notes, handover summaries, and personalized education with less repetitive work."},{letter:"P",title:"Predict",text:"Combine clinical risk models with generative AI so high-risk cases are surfaced earlier."},{letter:"T",title:"Transform",text:"Return time to care teams and extend hospital-grade AI into home care, long-term care, and community settings."}],d=e==="zh"?[{icon:Cn,name:"多職類臨床紀錄 AI 助理"},{icon:zn,name:"巡房整合系統"},{icon:Xi,name:"慢性病 AI 智慧個管系統"},{icon:ci,name:"臨床教育整合系統"},{icon:so,name:"智慧知識庫 FAQ"},{icon:Lr,name:"臨床指標監控及風險預警系統"}]:[{icon:Cn,name:"Multi-role Clinical Documentation AI Assistant"},{icon:zn,name:"Integrated Ward Rounding System"},{icon:Xi,name:"Chronic Care AI Case Management System"},{icon:ci,name:"Clinical Education Integration System"},{icon:so,name:"Smart Knowledge Base FAQ"},{icon:Lr,name:"Clinical Metrics Monitoring & Risk Alert System"}],f=e==="zh"?[{icon:qi,name:"智慧居護 App"},{icon:Bs,name:"自研 BodyCam / BodyCard"},{icon:Lr,name:"照護風險地圖儀表板"},{icon:Cn,name:"智慧護理紀錄助理"}]:[{icon:qi,name:"Smart Home Care App"},{icon:Bs,name:"BodyCam / BodyCard Hardware"},{icon:Lr,name:"Care Risk Map Dashboard"},{icon:Cn,name:"Smart Nursing Record Assistant"}],h=e==="zh"?["看得懂現場","接得進流程","扛得住稽核","規格成系統"]:["Understands clinical reality","Fits into workflows","Stands up to audit","Turns specs 
269into systems"],p=e==="zh"?["可理解臨床","可融入流程","可稽核","可複製外擴","在地化","個別化","品牌化"]:["Clinically aware","Workflow-ready","Auditable","Replicable","Localized","Personalized","Brandable"];return l.jsxs("section",{id:"solutions",className:"relative container py-8 overflow-hidden",children:[l.jsx("div",{className:"absolute top-1/2 left-1/2 -z-10 h-[760px] w-[760px] -translate-x-1/2 -translate-y-1/2 rounded-full bg-gradient-radial from-primary/8 to-transparent blur-3xl pointer-events-none"}),l.jsxs("div",{ref:n,className:`text-center mb-12 opacity-0 ${r?"animate-reveal-up":""}`,children:[l.jsx("span",{className:"inline-block px-4 py-1.5 rounded-full bg-primary/10 border border-primary/20 text-primary text-sm font-medium mb-4",children:e==="zh"?"產品定位":"Product Positioning"}),l.jsx("h2",{className:"text-3xl md:text-4xl lg:text-5xl font-bold text-foreground mb-4",children:"TaiOne Care GPT"}),l.jsx("p",{className:"text-lg md:text-xl text-foreground max-w-4xl mx-auto mb-3",children:e==="zh"?"可信任智慧健康照護多代理 AI 工作流平台":"A trustworthy multi-agent AI workflow platform for smart healthcare"}),l.jsx("p",{className:"text-muted-foreground max-w-3xl mx-auto leading-relaxed",children:t("solutions.lead")})]}),l.jsxs("div",{id:"technology",ref:o,className:`scroll-mt-24 opacity-0 ${i?"animate-reveal-scale":""}`,children:[l.jsxs("div",{className:"grid lg:grid-cols-[1fr_340px] gap-6 items-stretch mb-8",children:[l.jsx("div",{className:"rounded-2xl border border-border/50 bg-card/55 backdrop-blur-sm p-6 md:p-8",children:l.jsxs("div",{className:"grid gap-6 xl:grid-cols-[220px_1fr] xl:items-start",children:[l.jsx("div",{className:"rounded-2xl bg-white p-4 shadow-xl xl:mt-28",children:l.jsx("img",{src:yC,alt:"TaiOne Care GPT",className:"w-full max-w-[220px] h-auto object-contain mx-auto"})}),l.jsxs("div",{children:[l.jsx("p",{className:"text-sm font-medium text-primary mb-2",children:"Clinical Harness Engineering"}),l.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-4",children:e==="zh"?"醫療情境與工作流程的底層引擎":"The workflow engine behind healthcare AI adoption"}),l.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[l.jsxs("div",{className:"rounded-xl border border-border/45 bg-background/30 p-4",children:[l.jsx("h4",{className:"font-semibold text-foreground mb-2",children:e==="zh"?"導入現實":"Adoption Reality"}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e==="zh"?"一間醫院內成功的 AI 軟體或 AI 協作助理,很難無痛直接複製落地到其他院所。每間醫療機構都有自己的臨床流程、資訊系統、職類分工、文件格式、治理規範與使用習慣。":"An AI application or assistant that works inside one hospital rarely lands frictionlessly in another. Every institution has its own workflows, systems, roles, document formats, governance rules, and habits."})]}),l.jsxs("div",{className:"rounded-xl border border-primary/25 bg-primary/10 p-4",children:[l.jsx("h4",{className:"font-semibold text-foreground mb-2",children:e==="zh"?"本一解法":"The One Approach"}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e==="zh"?"本一科技以 Clinical Harness Engineering 作為底層引擎,將臨床會遇到的卡關問題打造成可部署模組;即使在不同機構,也能建立在地化、個別化、品牌化的 AI 應用圈。":"The One AITech uses Clinical Harness Engineering to turn clinical blockers into deployable modules, helping each organization create localized, personalized, and branded AI applications."})]})]})]})]})}),l.jsxs("div",{className:"rounded-2xl border border-primary/25 bg-primary/10 p-6",children:[l.jsx("h3",{className:"text-xl font-semibold mb-4",children:e==="zh"?"平台能力":"Platform Capabilities"}),l.jsx("div",{className:"flex flex-wrap gap-2",children:p.map(x=>l.jsx("span",{className:"rounded-full border border-primary/25 bg-background/45 px-3 py-1.5 text-sm text-primary",children:x},x))}),l.jsx("div",{className:"mt-5 rounded-xl bg-background/35 border border-border/40 p-4",children:l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e==="zh"?"Medical ModelOps、人工審閱、版本管理與稽核軌跡,讓每一筆 AI 輸出可審閱、可追蹤、可回溯。":"Medical ModelOps, human review, version control, and audit trails make every AI output reviewable, traceable, and accountable."})})]})]}),l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4 mb-8",children:c.map(x=>
269{const v=x.icon;return l.jsxs("div",{className:"rounded-xl border border-border/45 bg-card/45 p-5",children:[l.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center mb-3",children:l.jsx(v,{className:"w-5 h-5 text-primary"})}),l.jsx("h3",{className:"font-semibold mb-2",children:x.title}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:x.text})]},x.title)})}),l.jsx("div",{className:"grid md:grid-cols-3 gap-4 mb-4",children:u.map(x=>l.jsxs("div",{className:"rounded-xl border border-border/45 bg-card/45 p-5",children:[l.jsx("div",{className:"w-10 h-10 rounded-lg border border-primary/15 bg-primary/10 flex items-center justify-center text-lg font-bold text-primary mb-3",children:x.letter}),l.jsx("h3",{className:"font-semibold mb-2",children:x.title}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:x.text})]},x.letter))}),l.jsx("div",{className:"rounded-2xl border border-primary/30 bg-primary/10 p-5 md:p-6 mb-10 shadow-[0_18px_45px_rgba(0,200,220,0.08)]",children:l.jsxs("div",{className:"grid md:grid-cols-[240px_1fr] gap-4 md:items-center",children:[l.jsxs("div",{children:[l.jsx("p",{className:"text-2xl md:text-3xl font-bold text-foreground",children:"Trustworthy"}),l.jsx("p",{className:"text-lg font-semibold text-primary",children:e==="zh"?"可信任治理":"Trusted Governance"})]}),l.jsx("p",{className:"text-sm md:text-base text-muted-foreground leading-relaxed",children:e==="zh"?"Medical ModelOps、幻覺偵測攔截、人工確認、版本管理與稽核軌跡,讓每一筆 AI 輸出都可審閱、可追蹤、可回溯。":"Medical ModelOps, hallucination checks, human confirmation, version control, and audit trails make every AI output reviewable, traceable, and accountable."})]})})]}),l.jsxs("div",{ref:s,className:`opacity-0 ${a?"animate-reveal-up":""}`,children:[l.jsxs("div",{className:"text-center mb-7",children:[l.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-3",children:e==="zh"?"雙軸商業模式":"Two-Axis Business Model"}),l.jsx("p",{className:"text-muted-foreground max-w-3xl mx-auto",children:e==="zh"?"同一套底層引擎,依不同採購情境分為醫院端 B2B 技術輸出與居護/長照端軟硬整合 Total Solution。":"The same underlying engine supports two purchasing contexts: hospital-side B2B technology enablement and home/long-term care total solutions."})]}),l.jsxs("div",{className:"grid lg:grid-cols-2 gap-5",children:[l.jsxs("div",{className:"rounded-2xl border border-blue-400/25 bg-blue-500/10 p-6",children:[l.jsxs("div",{className:"mb-5",children:[l.jsx("span",{className:"text-sm text-blue-200",children:e==="zh"?"醫院端":"Hospital Side"}),l.jsx("h4",{className:"text-2xl font-bold mt-1",children:e==="zh"?"B2B 技術輸出":"B2B Technology Enablement"})]}),l.jsx("div",{className:"grid sm:grid-cols-2 gap-3 mb-5",children:d.map(x=>{const v=x.icon;return l.jsxs("div",{className:"rounded-xl bg-background/45 border border-border/40 p-4 flex gap-3 items-start",children:[l.jsx(v,{className:"w-5 h-5 text-primary shrink-0 mt-0.5"}),l.jsx("span",{className:"text-sm font-medium leading-relaxed",children:x.name})]},x.name)})}),l.jsx("div",{className:"rounded-xl bg-background/35 border border-border/40 p-4",children:l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e==="zh"?"支援白標多院部署、體系 AI 識別品牌、私有化地端、在地化非套版與 API/Adapter 介接,不要求醫療機構更換既有介面。":"Supports white-label deployment, institution-specific AI branding, private/on-prem options, localized implementation, and API/adapter integration without replacing existing interfaces."})})]}),l.jsxs("div",{className:"rounded-2xl border border-emerald-400/25 bg-emerald-500/10 p-6",children:[l.jsxs("div",{className:"mb-5",children:[l.jsx("span",{className:"text-sm text-emerald-200",children:e==="zh"?"居護/長照端":"Home & Long-Term Care"}),l.jsx("h4",{className:"text-2xl font-bold mt-1",children:e==="zh"?"軟硬整合 Total Solution":"Software-Hardware Total Solution"})]}),l.jsx("div",{className:"grid sm:grid-cols-2 gap-3 mb-5",children:f.map(x=>
269{const v=x.icon;return l.jsxs("div",{className:"rounded-xl bg-background/45 border border-border/40 p-4 flex gap-3 items-start",children:[l.jsx(v,{className:"w-5 h-5 text-primary shrink-0 mt-0.5"}),l.jsx("span",{className:"text-sm font-medium leading-relaxed",children:x.name})]},x.name)})}),l.jsx("div",{className:"rounded-xl bg-background/35 border border-border/40 p-4",children:l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:e==="zh"?"從排班、備品、路線、訪視紀錄、全人照護評估、衛教、藥物管路提醒到傷口影像追蹤,協助到宅現場即時數位化並一鍵回寫 NIS/HIS。":"Supports scheduling, supplies, routing, visit records, holistic assessment, education, medication/tube reminders, wound tracking, and one-click writeback to NIS/HIS."})})]})]}),l.jsx("div",{className:"text-center mt-10",children:l.jsx("p",{className:"text-lg md:text-3xl font-semibold text-muted-foreground",children:h.map((x,v)=>l.jsxs("span",{children:[l.jsx("span",{className:"text-primary",children:x}),v<h.length-1&&l.jsx("span",{className:"mx-3 text-border",children:"·"})]},x))})})]})]})},wC="/assets/er-handover-ai-alerts-202606-BmUA19Pu.jpg",bC="/assets/a-plus-ipe-ipp-trm-202606-BbqwuqQ2.jpg",CC="/assets/a-plus-inpatient-summary-202606-BwL-tKlB.jpg",SC=()=>{const{language:e}=je(),{ref:t,isVisible:n}=ce(),{ref:r,isVisible:o}=ce(),i=e==="zh"?[{icon:ur,title:"多職類臨床紀錄 AI 助理",text:"協助不同職類產出可審閱的臨床文件草稿。"},{icon:Hs,title:"巡房整合系統",text:"把巡房、交班與跨職類協作整理成共同工作流。"},{icon:zn,title:"慢性病 AI 智慧個管系統",text:"支援個案追蹤、衛教提醒與照護風險整理。"},{icon:ci,title:"臨床教育整合系統",text:"把教學、回饋與臨床任務接進同一套流程。"},{icon:so,title:"智慧知識庫 FAQ",text:"讓院內知識、規範與常見問題可被查詢與重用。"},{icon:Lr,title:"臨床指標監控及風險預警系統",text:"協助追蹤品質指標、異常趨勢與高風險訊號。"}]:[{icon:ur,title:"Multi-role Clinical Documentation AI Assistant",text:"Draft reviewable clinical notes for different care roles."},{icon:Hs,title:"Integrated Ward Rounding System",text:"Connect rounding, handover, and cross-team collaboration."},{icon:zn,title:"Chronic Care AI Case Management System",text:"Support case tracking, education reminders, and care risk review."},{icon:ci,title:"Clinical Education Integration System",text:"Bring teaching, feedback, and clinical tasks into one workflow."},{icon:so,title:"Smart Knowledge Base FAQ",text:"Make internal knowledge, rules, and common questions searchable and reusable."},{icon:Lr,title:"Clinical Metrics Monitoring & Risk Alert System",text:"Track quality metrics, abnormal trends, and risk signals."}],s=e==="zh"?["白標多院部署","體系 AI 識別品牌","私有化地端","在地化非套版","API/Adapter 介接","不更換既有介面"]:["White-label deployment","Institution AI branding","Private/on-prem options","Localized implementation","API/adapter integration","No interface replacement"];return l.jsxs("section",{id:"his-copilot",className:"container py-8 space-y-6",children:[l.jsx("div",{ref:t,className:`opacity-0 ${n?"animate-reveal-up":""}`,children:l.jsxs("div",{className:"max-w-4xl",children:[l.jsxs("span",{className:"inline-flex items-center gap-2 rounded-full border border-blue-400/25 bg-blue-500/10 px-4 py-1.5 text-sm font-medium text-blue-200 mb-4",children:[l.jsx(Cn,{className:"w-4 h-4"}),e==="zh"?"醫院端|B2B 技術輸出":"Hospital Side | B2B Technology Enablement"]}),l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:e==="zh"?"讓每家醫院建立自己的 AI 應用圈":"Help each hospital build its own AI application layer"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e==="zh"?"TaiOne Care GPT 透過 Clinical Harness Engineering,把臨床流程、文件任務、角色協作與稽核要求轉成可部署模組,協助醫療機構在自己的品牌、流程與治理方式上建立 AI 應用圈。":"TaiOne Care GPT uses Clinical Harness Engineering to turn clinical workflows, document tasks, role collaboration, and audit needs into deployable modules, helping each institution build AI applications around its own brand, processes, and governance."})]})}),l.jsx("div",{ref:r,className:`opacity-0 ${o?"animate-reveal-up":""}`,children:l.jsxs("div",{className:"grid lg:grid-cols-[420px_1fr] gap-6 items-start",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsx("div",{className:"rounded-2xl border border-border/45 bg-card/45 p-4",children:l.jsx("img",{src:wC,alt:"急診輪班交班 AI 智能提醒畫面",className:"w-full rounded-xl border border-border/35 object-cover"})}),l.jsx("div",{className:"rounded-2xl border border-border/45 bg-card/45 p-4",children:l.jsx("img",{src:bC,alt:"A+ IPE/IPP/TRM 多職類臨床協作畫面",className:"w-full rounded-xl border border-border/35 object-cover"})}),l.jsx("div",{className:"rounded-2xl border border-border/45 bg-card/45 p-4",children:l.jsx("img",{src:CC,alt:"A+ 住院病摘 AI 輔助畫面",className:"w-full rounded-xl border border-border/35 object-cover"})})]}),l.jsxs("div",{className:"space-y-5",children:[l.jsx("div",{className:"grid sm:grid-cols-2 gap-3",children:i.map(a=>{const c=a.icon;return l.jsx("div",{className:"rounded-xl border border-border/45 bg-card/60 p-4",children:l.jsxs("div",{className:"flex gap-3 items-start",children:[l.jsx("div",{className:"w-9 h-9 rounded-lg bg-primary/10 flex items-center justify-center shrink-0",children:l.jsx(c,{className:"w-5 h-5 text-primary"})}),l.jsxs("div",{children:[l.jsx("h3",{className:"font-semibold mb-1 text-sm md:text-base",children:a.title}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:a.text})]})]})},a.title)})}),l.jsxs("div",{className:"rounded-2xl border border-primary/25 bg-primary/10 p-5",children:[l.jsxs("div",{className:"flex items-center gap-2 mb-3",children:[l.jsx(ao,{className:"w-5 h-5 text-primary"}),l.jsx("h3",{className:"font-semibold",children:e==="zh"?"導入原則":"Deployment Principles"})]}),l.jsx("div",{className:"flex flex-wrap gap-2",children:s.map(a=>l.jsx("span",{className:"rounded-full border border-primary/25 bg-background/45 px-3 py-1.5 text-sm text-primary",children:a},a))})]})]})]})})]})},kC=()=>{const{language:e}=je(),{ref:t,isVisible:n}=ce(),{ref:r,isVisible:o}=ce(),i=e==="zh"?[{icon:sc,title:"排班與預約",text:"協助安排訪視、預約下次服務與會議節奏。"},{icon:ic,title:"個案提醒與備品",text:"整理特殊提醒、備品清單與藥物管路到期提示。"},{icon:lc,title:"路線與到府時間",text:"依訪視需求規劃路線與到府預估時間。"},{icon:ac,title:"現場紀錄擷取",text:"透過 App 與 BodyCam/BodyCard 擷取語音、影像與傷口紀錄。"},{icon:zn,title:"全人照護評估",text:"支援全人照護 13 項評估與生理風險儀表板。"},{icon:ur,title:"護理摘要與衛教",text:"產出護理摘要、護理行動與家屬衛教內容。"},{icon:uf,title:"文件上傳與回寫",text:"支援上傳衛福部文件並一鍵回寫 NIS/HIS。"},{icon:ao,title:"可審閱與可追蹤",text:"保留人工確認、版本紀錄與稽核軌跡。"}]:[{icon:sc,title:"Scheduling & Visits",text:"Plan visits, next appointments, and team meeting rhythm."},{icon:ic,title:"Case Reminders & Supplies",text:"Prepare special reminders, supply lists, and medication/tube due dates."},{icon:lc,title:"Routing & Arrival Time",text:"Plan visit routes and estimated arrival times around care needs."},{icon:ac,title:"On-site Capture",text:"Capture voice, images, and wound records through the App and BodyCam/BodyCard."}
269,{icon:zn,title:"Holistic Assessment",text:"Support 13-item holistic assessment and physiological risk dashboards."},{icon:ur,title:"Nursing Summary & Education",text:"Draft nursing summaries, care actions, and family education."},{icon:uf,title:"Upload & Writeback",text:"Support required document upload and one-click writeback to NIS/HIS."},{icon:ao,title:"Reviewable & Traceable",text:"Keep human review, version history, and audit trails in the loop."}],s=e==="zh"?["智慧居護 App","BodyCam / BodyCard","照護風險地圖","智慧護理紀錄助理"]:["Smart Home Care App","BodyCam / BodyCard","Care Risk Map","Smart Nursing Record Assistant"];return l.jsxs("section",{id:"bodycam",className:"container py-8 space-y-6",children:[l.jsx("div",{ref:t,className:`opacity-0 ${n?"animate-reveal-up":""}`,children:l.jsx("div",{className:"rounded-2xl border border-emerald-400/25 bg-emerald-500/10 p-6 md:p-8",children:l.jsxs("div",{className:"max-w-4xl",children:[l.jsx("span",{className:"inline-flex rounded-full border border-emerald-400/25 bg-background/35 px-4 py-1.5 text-sm font-medium text-emerald-200 mb-4",children:e==="zh"?"居護/長照端|軟硬整合 Total Solution":"Home & Long-Term Care | Software-Hardware Total Solution"}),l.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-4",children:e==="zh"?"把到宅照護現場變成可治理的數位工作流":"Turn home-care visits into governable digital workflows"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:e==="zh"?"居護/長照端以智慧居護 App、自研 BodyCam/BodyCard、照護風險地圖儀表板與智慧護理紀錄助理組成。系統從訪前準備、到宅擷取、護理摘要、家屬衛教到文件上傳與 NIS/HIS 回寫,協助第一線把現場資料即時數位化。":"The home and long-term care solution combines the Smart Home Care App, BodyCam/BodyCard hardware, care risk map dashboard, and smart nursing record assistant. It supports visit preparation, on-site capture, nursing summaries, family education, document upload, and NIS/HIS writeback."}),l.jsx("div",{className:"flex flex-wrap gap-2 mt-5",children:s.map(a=>l.jsx("span",{className:"rounded-full border border-emerald-400/25 bg-background/40 px-3 py-1.5 text-sm text-emerald-100",children:a},a))})]})})}),l.jsx("div",{ref:r,className:`opacity-0 ${o?"animate-reveal-up":""}`,children:l.jsxs("div",{className:"rounded-2xl border border-border/45 bg-card/35 p-5 md:p-6",children:[l.jsxs("div",{className:"mb-5 max-w-3xl",children:[l.jsx("p",{className:"mb-2 text-sm font-medium text-primary",children:e==="zh"?"到宅工作流模組":"Field Workflow Modules"}),l.jsx("h3",{className:"text-2xl md:text-3xl font-bold",children:e==="zh"?"從訪前準備到 NIS/HIS 回寫":"From Visit Preparation to NIS/HIS Writeback"})]}),l.jsx("div",{className:"grid sm:grid-cols-2 lg:grid-cols-4 gap-4",children:i.map(a=>{const c=a.icon;return l.jsxs("div",{className:"rounded-xl border border-border/45 bg-background/45 p-5",children:[l.jsx("div",{className:"w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center mb-3",children:l.jsx(c,{className:"w-5 h-5 text-primary"})}),l.jsx("h3",{className:"font-semibold mb-2",children:a.title}),l.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:a.text})]},a.title)})})]})})]})},NC="/assets/app-showcase-1-CGW2rD1n.png",EC="/assets/app-showcase-2-DLVBPJi3.png",jC="/assets/bodycam-hardware-BZHr9i7A.png",PC=()=>{const{language:e}=je(),{ref:t}=ce(),[n,r]=w.useState(0),o=[{icon:lc,titleEn:"Visit Scheduling & Routing",titleZh:"訪視排班與路線規劃",descEn:"Plan visits, routes, and estimated arrival time around care needs",descZh:"依照照護需求安排訪視、路線與到府預估時間",color:"from-blue-500 to-cyan-500"},{icon:ic,titleEn:"Case Reminders & Supplies",titleZh:"個案提醒與備品清單",descEn:"Surface special reminders, supply lists, and medication/tube due dates",descZh:"整合特殊提醒、備品清單與藥物管路到期提示",color:"from-purple-500 to-pink-500"},{icon:Dx,titleEn:"On-site Voice Capture",titleZh:"到宅語音紀錄",descEn:"Capture care context at the visit and turn it into reviewable records",de
269scZh:"到宅現場擷取照護脈絡,轉為可審閱紀錄",color:"from-orange-500 to-red-500"},{icon:ao,titleEn:"Reviewable Security",titleZh:"可審閱資安治理",descEn:"Human review, secure access, and audit trails for sensitive care data",descZh:"人工確認、權限保護與稽核軌跡守護照護資料",color:"from-green-500 to-emerald-500"}],i=[{icon:Bm,titleEn:"Care Risk Map",titleZh:"照護風險地圖",descEn:"Dashboard view for physiological and visit-risk signals",descZh:"以儀表板呈現生理與訪視風險訊號"},{icon:Cn,titleEn:"Holistic Assessment",titleZh:"全人照護評估",descEn:"Support structured 13-item holistic care assessment",descZh:"支援全人照護 13 項結構化評估"},{icon:ac,titleEn:"Wound Image Tracking",titleZh:"傷口影像追蹤",descEn:"Keep wound images traceable across visits",descZh:"跨次訪視保留可追蹤的傷口影像紀錄"},{icon:ur,titleEn:"Nursing Summary",titleZh:"護理摘要生成",descEn:"Draft nursing summaries and care actions for review",descZh:"產出可供確認的護理摘要與護理行動"},{icon:sc,titleEn:"Next Visit Planning",titleZh:"下次訪視規劃",descEn:"Plan the next appointment while the care context is still fresh",descZh:"在照護脈絡完整時安排下次訪視"},{icon:zx,titleEn:"Family Education",titleZh:"家屬衛教",descEn:"Generate understandable education content for families",descZh:"生成家屬容易理解的衛教內容"}],s=[{src:NC,alt:"智慧居家護理師 APP - 全人照護表單紀錄、訪視記錄護理計劃、智慧傷口追蹤紀錄",titleEn:"Holistic Care Records",titleZh:"全人照護紀錄",captionEn:"Holistic care forms, visit records, nursing plans, and wound tracking.",captionZh:"全人照護表單、訪視紀錄、護理計畫與智慧傷口追蹤。"},{src:EC,alt:"智慧居家護理師 APP - AI自動化路線排程、貼心提醒攜帶物件、Vital Signs紅綠燈、Face ID資安防護",titleEn:"Visit Workflow Tools",titleZh:"訪視工作流工具",captionEn:"AI routing, item reminders, vital-sign indicators, and Face ID security.",captionZh:"AI 路線排程、攜物提醒、生命徵象紅綠燈與 Face ID 資安防護。"}],a=()=>{r(u=>u===0?s.length-1:u-1)},c=()=>{r(u=>u===s.length-1?0:u+1)};return l.jsxs("section",{id:"app-showcase",ref:t,className:"pt-4 pb-8 md:pb-10 bg-gradient-to-b from-muted/30 to-background relative overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-primary/5 via-transparent to-transparent"}),l.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[l.jsxs("div",{className:"text-center mb-5 reveal-up",children:[l.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-4",children:e==="en"?"Home & Long-Term Care Workflow App":"居護/長照工作流 APP"}),l.jsx("p",{className:"text-lg text-muted-foreground max-w-3xl mx-auto",children:e==="en"?"A field-ready workflow for scheduling, on-site capture, care records, education, risk review, and NIS/HIS writeback.":"從排班、到宅擷取、照護紀錄、衛教、風險檢視到 NIS/HIS 回寫,支援第一線照護流程。"})]}),l.jsx("div",{className:"mb-8 reveal-up",style:{animationDelay:"0.1s"},children:l.jsxs("div",{className:"relative max-w-5xl mx-auto",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-primary/15 via-cyan-500/10 to-primary/15 blur-2xl opacity-40"}),l.jsxs("div",{className:"relative",children:[l.jsxs("div",{className:"relative overflow-hidden rounded-2xl border border-primary/20 bg-card/35 backdrop-blur-sm shadow-lg",children:[l.jsx("div",{className:"absolute inset-y-0 left-0 w-20 bg-gradient-to-r from-background/65 to-transparent z-10 pointer-events-none"}),l.jsx("div",{className:"absolute inset-y-0 right-0 w-20 bg-gradient-to-l from-background/65 to-transparent z-10 pointer-events-none"}),l.jsx("div",{className:"relative aspect-[16/9] overflow-hidden",children:s.map((u,d)=>{const f=d-n,h=d===n;return l.jsx("div",{className:`absolute inset-0 flex items-center justify-center p-4 md:p-6 transition-all duration-500 ease-out ${h?"opacity-100 translate-x-0 scale-100 z-[2]":"opacity-0 scale-95 z-[1]"} ${f<0?"-translate-x-8":f>0?"translate-x-8":""}`,"aria-hidden":!h,children:l.jsx("img",{src:u.src,alt:u.alt,className:"h-full w-full object-contain"})},u.titleEn)})}),l.jsx("button",{type:"button",onClick:a,className:"absolute left-3 top-1/2 z-20 flex h-11 w-11 -translate-y-1/2 items-center justify-center rounded-full border border-primary/30 bg-background/80 text-primary shadow-lg backdrop-blur transition-colors hover:bg-primary hover:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary","aria-label":e==="en"?"Previous app showcase":"上一張展示圖",children:l.jsx(Hm,{className:"h-5 w-5"})}),l.jsx("button",{type:"button",onClick:c,className:"absolute right-3 top-1/2 z-20 flex h-11 w-11 -translate-y-1/2 items-center justify-center rounded-full border border-primary/30 bg-background/80 text-primary shadow-lg backdrop-blur transition-colors hover:bg-primary hover:text-primary-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary","aria-label":e==="en"?"Next app showcase":"下一張展示圖",children:l.jsx(Vm,{className:"h-5 w-5"})})]}),l.jsxs("div",{className:"mt-4 flex flex-col items-center gap-3",children:[l.jsxs("div",{className:"text-center",children:[l.jsx("p",{className:"font-semibold",children:e==="en"?s[n].titleEn:s[n].titleZh}),l.jsx("p",{className:"text-sm text-muted-foreground",children:e==="en"?s[n].captionEn:s[n].captionZh})]}),l.jsx("div",{className:"flex items-center gap-2",children:s.map((u,d)=>l.jsx("button",{type:"button",onClick:()=>r(d),className:`h-2.5 rounded-full transition-all ${d===n?"w-8 bg-primary":"w-2.5 bg-foreground
269/30 hover:bg-primary/70"}`,"aria-label":e==="en"?`Show ${u.titleEn}`:`顯示${u.titleZh}`,"aria-current":d===n},u.titleEn))})]})]})]})}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-8",children:o.map((u,d)=>l.jsx("div",{className:"reveal-up",style:{animationDelay:`${d*.1}s`},children:l.jsxs("div",{className:"group relative h-full p-6 rounded-2xl bg-card/80 backdrop-blur-sm border border-border/50 hover:border-primary/30 transition-all duration-300 card-hover",children:[l.jsx("div",{className:`w-14 h-14 rounded-xl bg-gradient-to-br ${u.color} flex items-center justify-center mb-4 group-hover:scale-110 transition-transform duration-300 shadow-lg`,children:l.jsx(u.icon,{className:"w-7 h-7 text-white"})}),l.jsx("h3",{className:"text-lg font-semibold mb-2",children:e==="en"?u.titleEn:u.titleZh}),l.jsx("p",{className:"text-sm text-muted-foreground",children:e==="en"?u.descEn:u.descZh})]})},d))}),l.jsxs("div",{className:"reveal-up",style:{animationDelay:"0.4s"},children:[l.jsxs("div",{className:"text-center mb-4",children:[l.jsx("h3",{className:"text-2xl md:text-3xl font-bold mb-3",children:e==="en"?"AI-Powered Capabilities":"AI 智慧功能"}),l.jsx("p",{className:"text-muted-foreground",children:e==="en"?"Care Risk Map | Holistic Assessment | Smart Nursing Records":"照護風險地圖 | 全人照護評估 | 智慧護理紀錄"})]}),l.jsx("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-6 gap-4",children:i.map((u,d)=>l.jsxs("div",{className:"group p-4 rounded-xl bg-gradient-to-br from-card to-muted/50 border border-border/50 hover:border-primary/30 text-center transition-all duration-300 card-hover",children:[l.jsx("div",{className:"w-12 h-12 mx-auto rounded-full bg-primary/10 flex items-center justify-center mb-3 group-hover:bg-primary/20 transition-colors duration-300",children:l.jsx(u.icon,{className:"w-6 h-6 text-primary"})}),l.jsx("h4",{className:"text-sm font-medium mb-1",children:e==="en"?u.titleEn:u.titleZh}),l.jsx("p",{className:"text-xs text-muted-foreground line-clamp-2",children:e==="en"?u.descEn:u.descZh})]},d))})]}),l.jsx("div",{className:"mt-8 reveal-up",style:{animationDelay:"0.5s"},children:l.jsx("div",{className:"grid md:grid-cols-3 gap-4",children:[{titleEn:"Workflow Scope",titleZh:"工作流範圍",items:e==="en"?["Visit planning","On-site capture","Risk review","NIS/HIS writeback"]:["訪視規劃","到宅擷取","風險檢視","NIS/HIS 回寫"]},{titleEn:"Care Team Value",titleZh:"照護團隊價值",items:e==="en"?["Less repeated typing","Clearer handover","Reviewable records","Traceable decisions"]:["減少重複輸入","交班更清楚","紀錄可審閱","決策可追蹤"]},{titleEn:"Integrated Products",titleZh:"整合產品",items:e==="en"?["Smart Home Care App","BodyCam / BodyCard","Care Risk Map","Nursing Record Assistant"]:["智慧居護 App","BodyCam / BodyCard","照護風險地圖","護理紀錄助理"]}].map((u,d)=>l.jsxs("div",{className:"p-6 rounded-2xl bg-card/50 backdrop-blur-sm border border-border/50 text-center",children:[l.jsx("h4",{className:"text-lg font-semibold text-primary mb-4",children:e==="en"?u.titleEn:u.titleZh}),l.jsx("ul",{className:"space-y-2",children:u.items.map((f,h)=>l.jsx("li",{className:"flex justify-center text-sm text-muted-foreground",children:l.jsxs("span",{className:"inline-flex items-center gap-2",children:[l.jsx("span",{className:"w-1.5 h-1.5 rounded-full bg-primary"}),f]})},h))})]},d))})}),l.jsx("div",{className:"mt-10 reveal-up",style:{animationDelay:"0.6s"},children:l.jsxs("div",{className:"relative rounded-2xl overflow-hidden border border-primary/30 bg-gradient-to-br from-card/85 via-muted/45 to-card/80 backdrop-blur-sm shadow-[0_24px_80px_rgba(0,200,220,0.10)]",children:[l.jsx("div",{className:"absolute inset-y-0 right-0 w-3/5 bg-gradient-to-l from-primary/14 via-cyan-500/8 to-transparent"}),l.jsx("div",{className:"absolute -right-24 -top-24 h-72 w-72 rounded-full bg-primary/15 blur-3xl"}),l.jsxs("div",{className:"relative grid gap-6 p-5 pt-6 md:p-8",children:[l.jsxs("div",{className:"space-y-4",children:[l.jsxs("div",{className:"flex flex-col gap-3 lg:flex-row lg:flex-wrap lg:items-center lg:gap-x-4 lg:gap-y-2",children:[l.jsxs("div",{className:"inline-flex w-fit items-center gap-2 px-3 py-1 rounded-full bg-primary/10 border border-primary/20",children:[l.jsx(_x,{className:"w-4 h-4 text-primary"}),l.jsx("span",{className:"text-sm font-medium text-primary",children:e==="en"?"Software + Hardware":"軟硬整合"})]}),l.jsx("h3",{className:"text-2xl md:text-3xl font-bold",children:e==="en"?"Smart Home Care App + BodyCam / BodyCard":"智慧居護 App + BodyCam / BodyCard"}),l.jsxs("div",{className:"flex flex-wrap items-baseline gap-x-3 gap-y-1",children:[l.jsx("p",{className:"text-xl font-semibold text-primary",children:"BODYCAM 1.0-2.0 ID"}),l.jsx("p",{className:"text-sm md:text-base text-muted-foreground",children:e==="en"?"The first mile of field care data":"到宅照護資料的第一哩路"})]})]}),l.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3 lg:ml-auto lg:max-w-2xl",children:[{icon:Fx,labelEn:"Wireless Sync",labelZh:"無線同步"},{icon:$x,labelEn:"Real-time Data",labelZh:"即時傳輸"},{icon:ao,labelEn:"Secure Recording",labelZh:"安全記錄"}].map((u,d)=>l.jsxs("div",{className:"rounded-xl border border-primary/15 bg-background/35 p-3 flex items-center gap-2 text-sm text-muted-foreground",children:[l.jsx(u.icon,{className:"w-4 h-4 text-primary shrink-0"}),l.jsx("span",{children:e==="en"?u.labelEn:u.labelZh})]},d))})]}),l.jsxs("div",{className:"relative rounded-2xl border border-primary/20 bg-background/35 p-3 md:p-4 overflow-hidden",children:[l.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-primary/10 via-trans
269parent to-cyan-500/10"}),l.jsx("img",{src:jC,alt:"BodyCam 1.0-2.0 ID - 智慧穿戴裝置",className:"relative w-full h-auto drop-shadow-2xl"})]}),l.jsx("p",{className:"max-w-4xl text-sm text-muted-foreground leading-relaxed",children:e==="en"?"Combining the App with BodyCam/BodyCard helps care teams capture on-site context, review AI-generated drafts, and send structured records back to existing systems.":"智慧居護 App 搭配 BodyCam/BodyCard,協助照護團隊在現場擷取脈絡、審閱 AI 草稿,並把結構化紀錄回寫既有系統。"})]})]})})]})]})},TC=()=>{const{t:e}=je(),{ref:t,isVisible:n}=ce(),{ref:r,isVisible:o}=ce({rootMargin:"0px 0px -80px 0px"}),i=[{initials:"CL",nameKey:"team.cto.h",roleKey:"team.cto.r",descKey:"team.cto.d"},{initials:"CC",nameKey:"team.ceo.h",roleKey:"team.ceo.r",descKey:"team.ceo.d"},{initials:"YT",nameKey:"team.cso.h",roleKey:"team.cso.r",descKey:"team.cso.d"},{initials:"YF",nameKey:"team.coo.h",roleKey:"team.coo.r",descKey:"team.coo.d"}];return l.jsxs("section",{id:"team",className:"section-glass container py-8",children:[l.jsxs("div",{ref:t,className:`mb-7 opacity-0 ${n?"animate-reveal-up":""}`,children:[l.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight mb-3",children:e("team.h")}),l.jsx("p",{className:"text-muted-foreground max-w-[72ch]",children:e("team.lead")})]}),l.jsx("div",{ref:r,className:"grid grid-cols-2 lg:grid-cols-4 gap-4",children:i.map((s,a)=>l.jsxs("article",{className:`glass-card rounded-2xl p-5 shadow-lg opacity-0 card-hover ${o?"animate-reveal-up":""}`,style:{animationDelay:`${a*100}ms`},children:[l.jsx("div",{className:"avatar-circle text-sm",children:s.initials}),l.jsx("h3",{className:"text-lg font-semibold mb-1",children:e(s.nameKey)}),l.jsx("p",{className:"text-primary text-sm mb-2",children:e(s.roleKey)}),l.jsx("p",{className:"text-muted-foreground text-sm whitespace-pre-line",children:e(s.descKey)})]},s.nameKey))})]})},AC="/assets/partner-mohw-D8IDW34V.png",RC="/assets/partner-chimei-BumJQIYq.png",IC="/assets/partner-pohai-BY__VO4O.png",MC="/assets/partner-nursing-B0z88kUx.png",OC="/assets/partner-puli-Bv5IAmzr.png",_C="/assets/partner-taoyuan-6_IFpmBw.png",LC="/assets/partner-yongkang-BnBQl6fG.png",zC=()=>{const{language:e}=je(),{ref:t}=ce(),n=[{icon:Mx,nameEn:"Ministry of Health and Welfare",nameZh:"衛生福利部",type:e==="en"?"Government":"政府單位",logo:AC},{icon:Zi,nameEn:"Lotung Poh-Ai Hospital",nameZh:"羅東博愛醫院",type:e==="en"?"Medical Center":"醫療機構",logo:IC},{icon:Zi,nameEn:"Puli Christian Hospital",nameZh:"埔里基督教醫院",type:e==="en"?"Medical Center":"醫療機構",logo:OC},{icon:Zi,nameEn:"Armed Forces Taoyuan General Hospital - Hsinchu Branch",nameZh:"國軍桃園總醫院新竹分院",type:e==="en"?"Military Hospital":"軍醫體系",logo:_C},{icon:Zi,nameEn:"Kaohsiung Veterans General Hospital - Yongkang Branch",nameZh:"高雄榮民醫院永康分院",type:e==="en"?"Veterans Hospital":"榮民體系",logo:LC},{icon:ci,nameEn:"National Tainan Junior College of Nursing",nameZh:"國立臺南護理專科學校",type:e==="en"?"Academic Institution":"學術機構",logo:MC}],r={titleEn:"Chi Mei Medical System",titleZh:"奇美醫療體系",descEn:"Backed by Chi Mei Hospital system including Medical Center, Regional Hospital, and District Hospital",descZh:"奇美醫院包含醫學中心、區域醫院、地區醫院是我們的後盾",logo:RC};return l.jsxs("section",{id:"partnerships",ref:t,className:"py-8 md:py-10 bg-gradient-to-b from-background via-muted/20 to-background relative overflow-hidden",children:[l.jsx("div",{className:"absolute top-20 left-10 w-72 h-72 bg-primary/5 rounded-full blur-3xl"}),l.jsx("div",{className:"absolute bottom-20 right-10 w-96 h-96 bg-accent/5 rounded-full blur-3xl"}),l.jsxs("div",{className:"container mx-auto px-4 relative z-10",children:[l.jsxs("div",{className:"text-center mb-16 reveal-up",children:[l.jsxs("div",{className:"inline-flex items-center gap-2 px-4 py-2 rounded-full bg-primary/10 border border-primary/20 mb-6",children:[l.jsx(Ox,{className:"w-4 h-4 text-primary"}),l.jsx("span",{className:"text-sm font-medium text-primary",children:e==="en"?"Strategic Partnerships":"策略合作夥伴"})]}),l.jsx("h2",{className:"text-3xl md:text-5xl font-bold mb-4",children:e==="en"?"MOU Partnerships":"預期效益-MOU"}),l.jsx("p",{className:"text-lg text-muted-foreground max-w-2xl mx-auto",children:e==="en"?"Trusted by leading healthcare institutions across Taiwan for clinical AI implementation.":"與台灣各大醫療機構建立合作,共同推動臨床AI落地應用。"})]}),l.jsx("div",{className:"mb-12 reveal-up",children:l.jsx("div",{className:"p-8 rounded-2xl bg-gradient-to-r from-primary/20 via-accent/10 to-primary/20 border border-primary/30",children:l.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-center gap-8",children:[l.jsx("div",{className:"bg-white rounded-xl p-4 shadow-lg",children:l.jsx("img",{src:r.logo,alt:"Chi Mei Medical Center",className:"h-20 md:h-24 w-auto object-contain"})}),l.jsxs("div",{className:"text-center md:text-left",children:[l.jsx("h3",{className:"text-xl md:text-2xl font-bold text-primary mb-2",children:e==="en"?r.titleEn:r.titleZh}),l.jsx("p",{className:"text-muted-foreground",children:e==="en"?r.descEn:r.descZh})]})]})})}),l.jsx("h3",{className:"text-xl font-semibold text-center mb-8 text-muted-foreground",children:e==="en"?"MOU Partners & Clients":"MOU 合作夥伴與客戶"}),l.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",children:n.map((o,i)=>l.jsx("div",{className:"reveal-up card-hover group",style:{animationDelay:`${i*.1}s`},children:l.jsxs("div",{className:"relative p-5 rounded-2xl bg-card/50 backdrop-blur-sm border border-border/50 h-full min-h-[180px] flex flex-col items-center text-center transition-all duration-300 hover:border-primary/30 hover:bg-card/70",children:[l.jsx("div",{className:"absolute inset-0 rounded-2xl bg-gradient-to-br from-primary/5 to-accent/5 opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsxs("div",{className:"relative z-10 flex flex-col items-center w-full",children:[l.jsx("div",{className:"h-24 w-full mb-4 flex items-center justify-center group-hover:scale-105 transition-transform duration-300",children:o.logo?l.jsx("div",{className:"bg-white rounded-xl p-3 shadow-md group-hover:shadow-lg transition-shadow duration-300",children:l.jsx("img",{src:o.logo,alt:e==="en"?o.nameEn:o.nameZh,className:"h-14 w-auto max-w-[180px] object-contain"})}):l.jsx("div",{className:"w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center border border-primary/20",children:l.jsx(o.icon,{className:"w-8 h-8 text-primary"})})}),l.jsx("span",{className:"text-xs font-medium text-primary/70 uppercase tracking-wider mb-2 block",children:o.type}),l.jsx("h4",{className:"font-semibold text-foreground text-base text-center leading-tight min-h-[48px] flex items-center",children:e==="en"?o.nameEn:o.nameZh})]})]})},i))}),l.jsx("div",{className:"mt-16 reveal-up",style:{animationDelay:"0.4s"},children:l.jsx("div",{className:"grid grid-cols-2 md:grid-cols-4 gap-4 p-6 rounded-2xl bg-gradient-to-r from-primary/10 via-accent/10 to-primary/10 border border-primary/20",children:[{value:"5+",labelEn:"Hospital Partners",labelZh:"醫院合作夥伴"},{value:"120000+",labelEn:"Monthly Users",labelZh:"單月使用人次"},{value:"10K+",labelEn:"Patient Records",labelZh:"病人紀錄"}
269,{value:"95%",labelEn:"Satisfaction Rate",labelZh:"滿意度"}].map((o,i)=>l.jsxs("div",{className:"text-center",children:[l.jsx("div",{className:"text-2xl md:text-3xl font-bold text-primary mb-1",children:o.value}),l.jsx("div",{className:"text-xs md:text-sm text-muted-foreground",children:e==="en"?o.labelEn:o.labelZh})]},i))})})]})]})},DC="/assets/team-photo-new-BtUudl0e.jpg",FC="/assets/event-photo-C0DWhUCE.jpg",$C="/assets/press-photo-CGkAoGF6.jpg",BC="/assets/national-innovation-award-2025-yhZFJWiU.jpg",HC="/assets/cht-5g-award-tVpUbvoW.jpg",VC="/assets/ai-healthcare-award-Bsvpc0B-.jpg",UC=()=>{const{language:e}=je(),{ref:t,isVisible:n}=ce(),{ref:r,isVisible:o}=ce({rootMargin:"0px 0px -80px 0px"}),[i,s]=w.useState(!1),[a,c]=w.useState(0),u=[{src:BC,title:e==="zh"?"第22屆國家新創獎":"22nd National Innovation Award",description:e==="zh"?`本一科技榮獲國家新創獎「初創企業獎」
270智慧醫療與健康科技類肯定`:"The One AITech wins National Innovation Award - Startup Award in Smart Healthcare",category:e==="zh"?"獎項":"Award"},{src:HC,title:e==="zh"?"中華電信5G加速器冠軍":"Chunghwa Telecom 5G Accelerator Champion",description:e==="zh"?"本一科技榮獲2025年「中華電信智慧創新應用大賽」校園組冠軍,策略長唐源駿(由左至右)、營運長范硯平、技術長廖家德、執行長邱瓊玉一同領獎。":"The One AITech wins 2025 Chunghwa Telecom Smart Innovation Application Competition Campus Group Championship. From left: CSO Tang Yuan-Jun, COO Fan Yen-Ping, CTO Liao Jia-De, CEO Chiu Chiung-Yu.",category:e==="zh"?"獎項":"Award"},{src:VC,title:e==="zh"?"2025 AI醫療領航大獎":"2025 AI Healthcare Innovation Award",description:e==="zh"?"本一科技協力奇美醫院「A+臨床智慧導航員」榮獲《風傳媒》「2025 AI醫療領航大獎」,從左至右依序為技術長廖家德、策略長唐源駿、執行長邱瓊玉、營運長范硯平。":'The One AITech collaborates with Chi Mei Hospital on "A+ Clinical Smart Navigator" winning Storm Media 2025 AI Healthcare Innovation Award. From left: CTO Liao Jia-De, CSO Tang Yuan-Jun, CEO Chiu Chiung-Yu, COO Fan Yen-Ping.',category:e==="zh"?"獎項":"Award"},{src:DC,title:e==="zh"?"團隊合影":"Team Photo",description:e==="zh"?"本一科技核心團隊,榮獲多項創新大獎":"The One AITech core team, winners of multiple innovation awards",category:e==="zh"?"團隊":"Team"},{src:FC,title:e==="zh"?"2025 智慧創新大賞":"2025 Smart Innovation Award",description:e==="zh"?"團隊於智慧創新大賞展位展示 TaiOne Care GPT":"Team showcasing TaiOne Care GPT at Smart Innovation Award booth",category:e==="zh"?"活動":"Event"},{src:$C,title:e==="zh"?"未來科技館頒獎典禮":"FUTEX Award Ceremony",description:e==="zh"?`台醫照護GPT跨域醫療助理
271幫醫護省時減工`:"TaiOne Care GPT cross-domain medical assistant helps healthcare workers save time",category:e==="zh"?"媒體":"Media"}],d=x=>{c(x),s(!0),document.body.style.overflow="hidden"},f=()=>{s(!1),document.body.style.overflow=""},h=()=>{c(x=>x===0?u.length-1:x-1)},p=()=>{c(x=>x===u.length-1?0:x+1)};return l.jsxs(l.Fragment,{children:[l.jsxs("section",{id:"gallery",className:"section-glass container py-8",children:[l.jsxs("div",{ref:t,className:`mb-7 opacity-0 ${n?"animate-reveal-up":""}`,children:[l.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight mb-3",children:e==="zh"?"圖片畫廊":"Gallery"}),l.jsx("p",{className:"text-muted-foreground max-w-[72ch]",children:e==="zh"?"探索團隊照片、活動花絮與產品實況。":"Explore team photos, event highlights, and product showcases."})]}),l.jsx("div",{ref:r,className:"grid md:grid-cols-3 gap-4",children:u.map((x,v)=>l.jsxs("article",{onClick:()=>d(v),className:`group glass-card rounded-2xl overflow-hidden cursor-pointer opacity-0 card-hover ${o?"animate-reveal-scale":""}`,style:{animationDelay:`${v*100}ms`},children:[l.jsxs("div",{className:"relative aspect-[4/3] overflow-hidden",children:[l.jsx("img",{src:x.src,alt:x.title,className:"w-full h-full object-cover object-top transition-transform duration-500 group-hover:scale-110"}),l.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-background/90 via-background/20 to-transparent opacity-0 group-hover:opacity-100 transition-opacity duration-300"}),l.jsx("span",{className:"absolute top-3 left-3 px-2.5 py-1 text-xs font-medium rounded-full bg-primary/20 text-primary border border-primary/30 backdrop-blur-sm",children:x.category})]}),l.jsxs("div",{className:"p-4",children:[l.jsx("h3",{className:"text-lg font-semibold mb-1 group-hover:text-primary transition-colors",children:x.title}),l.jsx("p",{className:"text-muted-foreground text-sm line-clamp-2",children:x.description})]})]},v))})]}),i&&l.jsxs("div",{className:"fixed inset-0 z-[100] bg-background/95 backdrop-blur-xl flex items-center justify-center animate-reveal-blur",onClick:f,children:[l.jsx("button",{onClick:f,className:"absolute top-6 right-6 p-2 rounded-full bg-foreground
271/10 hover:bg-foreground/20 transition-colors","aria-label":"Close lightbox",children:l.jsx(wu,{className:"w-6 h-6"})}),l.jsx("button",{onClick:x=>{x.stopPropagation(),h()},className:"absolute left-4 md:left-8 p-3 rounded-full bg-foreground/10 hover:bg-foreground/20 transition-colors","aria-label":"Previous image",children:l.jsx(Hm,{className:"w-6 h-6"})}),l.jsx("button",{onClick:x=>{x.stopPropagation(),p()},className:"absolute right-4 md:right-8 p-3 rounded-full bg-foreground/10 hover:bg-foreground/20 transition-colors","aria-label":"Next image",children:l.jsx(Vm,{className:"w-6 h-6"})}),l.jsxs("div",{className:"max-w-5xl max-h-[85vh] mx-4 flex flex-col items-center",onClick:x=>x.stopPropagation(),children:[l.jsx("img",{src:u[a].src,alt:u[a].title,className:"max-h-[70vh] w-auto object-contain rounded-xl shadow-2xl"}),l.jsxs("div",{className:"mt-4 text-center",children:[l.jsx("h3",{className:"text-xl font-semibold mb-1",children:u[a].title}),l.jsx("p",{className:"text-muted-foreground",children:u[a].description})]})]}),l.jsx("div",{className:"absolute bottom-6 left-1/2 -translate-x-1/2 flex gap-2",children:u.map((x,v)=>l.jsx("button",{onClick:b=>{b.stopPropagation(),c(v)},className:`w-2 h-2 rounded-full transition-all ${v===a?"bg-primary w-6":"bg-foreground
271/30 hover:bg-foreground/50"}`,"aria-label":`Go to image ${v+1}`},v))})]})]})},WC=()=>{const{t:e}=je(),{ref:t,isVisible:n}=ce(),{ref:r,isVisible:o}=ce({rootMargin:"0px 0px -80px 0px"}),i=[{key:"awards.a11",dotColor:"bg-red-400",borderColor:"border-red-400/30",bgGlow:"hover:shadow-red-400/20"},{key:"awards.a10",dotColor:"bg-orange-400",borderColor:"border-orange-400/30",bgGlow:"hover:shadow-orange-400/20"},{key:"awards.a8",dotColor:"bg-amber-400",borderColor:"border-amber-400/30",bgGlow:"hover:shadow-amber-400/20"},{key:"awards.a9",dotColor:"bg-cyan-400",borderColor:"border-cyan-400/30",bgGlow:"hover:shadow-cyan-400/20"},{key:"awards.a7",dotColor:"bg-violet-400",borderColor:"border-violet-400/25",bgGlow:"hover:shadow-violet-400/15"},{key:"awards.a6",dotColor:"bg-rose-400",borderColor:"border-rose-400/25",bgGlow:"hover:shadow-rose-400/15"},{key:"awards.a5",dotColor:"bg-sky-400",borderColor:"border-sky-400/20",bgGlow:"hover:shadow-sky-400/10"},{key:"awards.a4",dotColor:"bg-pink-400",borderColor:"border-pink-400/20",bgGlow:"hover:shadow-pink-400/10"},{key:"awards.a3",dotColor:"bg-emerald-400",borderColor:"border-emerald-400/15",bgGlow:"hover:shadow-emerald-400/10"},{key:"awards.a2",dotColor:"bg-teal-400",borderColor:"border-teal-400/15",bgGlow:"hover:shadow-teal-400/10"},{key:"awards.a1",dotColor:"bg-slate-400",borderColor:"border-slate-400/15",bgGlow:"hover:shadow-slate-400/10"}];return l.jsxs("section",{id:"awards",className:"section-glass container py-8",children:[l.jsxs("div",{ref:t,className:`mb-7 opacity-0 ${n?"animate-reveal-up":""}`,children:[l.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight mb-3",children:e("awards.h")}),l.jsx("p",{className:"text-muted-foreground max-w-[72ch]",children:e("awards.lead")})]}),l.jsx("ul",{ref:r,className:"grid gap-2.5 list-none p-0 m-0",children:i.map((s,a)=>l.jsxs("li",{className:`glass-card p-4 rounded-xl opacity-0 transition-all duration-300 border ${s.borderColor} ${s.bgGlow} hover:shadow-lg ${o?"animate-reveal-left":""}`,style:{animationDelay:`${a*80}ms`,opacity:o?1-a*.06:0},children:[l.jsx("span",{className:`inline-block w-2.5 h-2.5 rounded-full mr-3 ${s.dotColor} shadow-sm`,style:{boxShadow:"0 0 8px currentColor"}}),l.jsx("span",{style:{opacity:1-a*.04},children:e(s.key)})]},s.key))})]})},KC=()=>{const{t:e}=je(),{ref:t,isVisible:n}=ce(),{ref:r,isVisible:o}=ce({rootMargin:"0px 0px -80px 0px"}),i=[{titleKey:"press.i6.title",descKey:"press.i6.desc",date:"2025‑12‑22",url:"https://vocus.cc/article/6948e122fd8978000105f456",isVideo:!1},{titleKey:"press.i5.title",descKey:"press.i5.desc",date:"2025‑12‑03",url:"https://www.cna.com.tw/postwrite/chi/420449",isVideo:!1},{titleKey:"press.i4.title",descKey:"press.i4.desc",date:"2025‑11‑04",url:"https://youtu.be/Rpsn684OAmc?si=_eKl2ctGj_JyQqKd",isVideo:!0},{titleKey:"press.i2.title",descKey:"press.i2.desc",date:"2025‑10‑23",url:"https://www.storm.mg/article/11074204",isVideo:!1},{titleKey:"press.i3.title",descKey:"press.i3.desc",date:"2025‑08‑26",url:"https://meet.bnext.com.tw/articles/view/52386",isVideo:!1},{titleKey:"press.i1.title",descKey:"press.i1.desc",date:"2025‑05‑07",url:"https://reurl.cc/9Dy32Y",isVideo:!1}];return l.jsxs("section",{id:"press",className:"section-glass container py-8",children:[l.jsxs("div",{ref:t,className:`mb-7 opacity-0 ${n?"animate-reveal-up":""}`,children:[l.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight mb-3",children:e("press.h")}),l.jsx("p",{className:"text-muted-foreground max-w-[72ch]",children:e("press.lead")})]}),l.jsx("div",{ref:r,className:"grid md:grid-cols-2 gap-4",children:i.map((s,a)=>l.jsxs("article",{className:`glass-card rounded-2xl p-5 shadow-lg opacity-0 transition-transform duration-300 hover:scale-[1.02] ${o?"animate-reveal-scale":""}`,style:{animationDelay:`${a*100}ms`},children:[l.jsx("h3",{className:"text-lg font-semibold mb-2",children:e(s.titleKey)}),l.jsx("p",{className:"text-muted-foreground text-sm mb-2.5",children:e(s.descKey)}),l.jsx("p",{className:"text-muted-foreground/70 text-xs mb-3",children:s.date}),l.jsx("a",{href:s.url,target:"_blank",rel:"noopener noreferrer",className:"text-primary hover:underline text-sm no-underline",children:s.isVideo?e("press.watch"):e("press.read")})]},s.titleKey))})]})},GC=()=>{const{t:e}=je(),{ref:t,isVisible:n}=ce(),{ref:r,isVisible:o}=ce({rootMargin:"0px 0px -80px 0px"});return l.jsxs("section",{id:"contact",className:"section-glass container py-8",children:[l.jsxs("div",{ref:t,className:`mb-7 opacity-0 ${n?"animate-reveal-up":""}`,children:[l.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-bold tracking-tight mb-3",children:e("contact.h")}),l.jsx("p",{className:"text-muted-foreground max-w-[72ch]",children:e("contact.lead")})]}),l.jsx("div",{ref:r,className:`border border-border rounded-2xl p-6 bg-foreground
271/[0.02] opacity-0 ${o?"animate-reveal-blur":""}`,children:l.jsxs("div",{className:"grid md:grid-cols-2 gap-6",children:[l.jsxs("div",{children:[l.jsx("h3",{className:"text-lg font-semibold mb-3",children:e("contact.company")}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{className:"text-muted-foreground",children:e("contact.personL")}),":"," ",l.jsx("span",{children:e("contact.personV")})]}),l.jsxs("p",{className:"mb-2",children:[l.jsx("strong",{className:"text-muted-foreground",children:e("contact.phoneL")}),":"," ",l.jsx("a",{href:"tel:+886277248007",className:"text-primary hover:underline no-underline",children:"+886‑2‑7724‑8007"})]}),l.jsxs("p",{children:[l.jsx("strong",{className:"text-muted-foreground",children:"Email"}),":"," ",l.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline no-underline",children:"[email protected]"})]})]}),l.jsxs("div",{children:[l.jsx("p",{className:"text-muted-foreground mb-4",children:e("contact.note")}),l.jsxs("div",{className:"flex gap-3.5 flex-wrap",children:[l.jsx("a",{href:"mailto:[email protected]",className:"inline-block rounded-xl px-5 py-3 no-underline transition-all border border-transparent bg-gradient-to-b from-primary to-[#00a6d3] text-primary-foreground font-medium shadow-[0_10px_25px_hsla(191,90%,62%,0.25)] hover:translate-y-[-1px] hover:shadow-[0_16px_30px_hsla(191,90%,62%,0.35)]",children:e("contact.ctaMail")}),l.jsx("a",{href:"#hero",className:"inline-block rounded-xl px-5 py-3 no-underline transition-all border border-border bg-transparent text-foreground hover:bg-foreground
271/5",children:e("contact.ctaTop")})]})]})]})})]})},Lu=()=>{const{language:e}=je(),t=new Date().getFullYear();return l.jsx("footer",{className:"py-6 border-t border-border mt-10",children:l.jsxs("div",{className:"container flex flex-col sm:flex-row justify-between items-center gap-4",children:[l.jsxs("div",{className:"text-muted-foreground text-sm",children:["© ",t," The One AITech Co., Ltd."]}),l.jsxs("div",{className:"flex items-center gap-4 text-sm",children:[l.jsx(Ff,{to:"/privacy-policy",className:"text-muted-foreground hover:text-foreground transition-colors",children:e==="zh"?"隱私權聲明":"Privacy Policy"}),l.jsx("span",{className:"text-muted-foreground/50",children:"|"}),l.jsx(Ff,{to:"/security-policy",className:"text-muted-foreground hover:text-foreground transition-colors",children:e==="zh"?"資訊安全政策":"Security Policy"})]})]})})},QC=()=>l.jsx(Yg,{children:l.jsxs("div",{className:"min-h-screen",children:[l.jsx(_u,{}),l.jsxs("main",{children:[l.jsx(mC,{}),l.jsx(gC,{}),l.jsx(vC,{}),l.jsx(xC,{}),l.jsx(SC,{}),l.jsx(kC,{}),l.jsx(PC,{}),l.jsx(TC,{}),l.jsx(zC,{}),l.jsx(UC,{}),l.jsx(WC,{}),l.jsx(KC,{}),l.jsx(GC,{})]}),l.jsx(Lu,{})]})}),YC=()=>{const e=yo();return w.useEffect(()=>{console.error("404 Error: User attempted to access non-existent route:",e.pathname)},[e.pathname]),l.jsx("div",{className:"flex min-h-screen items-center justify-center bg-muted",children:l.jsxs("div",{className:"text-center",children:[l.jsx("h1",{className:"mb-4 text-4xl font-bold",children:"404"}),l.jsx("p",{className:"mb-4 text-xl text-muted-foreground",children:"Oops! Page not found"}),l.jsx("a",{href:"/",className:"text-primary underline hover:text-primary/90",children:"Return to Home"})]})})},ZC=()=>{const{language:e}=je();return l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(_u,{}),l.jsx("main",{className:"container py-24 md:py-32",children:l.jsxs("article",{className:"prose prose-lg dark:prose-invert max-w-4xl mx-auto",children:[l.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-8",children:e==="zh"?"隱私權聲明":"Privacy Policy"}),l.jsx("p",{className:"text-muted-foreground leading-relaxed",children:"本一科技股份有限公司(以下稱本公司)對於網頁瀏覽者及服務使用者之隱私權極為重視,本公司遵循「個人資料保護法」、「個人資料保護法施行細則」等法令規範之權利義務,在您使用本公司官網所提供之各項服務時,依法告知本公司對於您個人資料之蒐集目的及蒐集範圍,並幫助您了解本公司如何蒐集、處理及利用您的個人資料。"}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"一、依個人資料保護法第 8 條,相關告知事項為:"}),l.jsx("p",{className:"text-muted-foreground",children:"個人資料蒐集之公司:本一科技股份有限公司。"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"1.1 個人資料蒐集之目的:"}),l.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-1",children:[l.jsx("li",{children:"090 消費者、客戶管理與服務"}),l.jsx("li",{children:"098 商業與技術資訊"}),l.jsx("li",{children:"135 資(通)訊服務"}),l.jsx("li",{children:"137 資通安全與管理"}),l.jsx("li",{children:"152 廣告或商業行為管理"}),l.jsx("li",{children:"157 調查、統計與研究分析"})]}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"1.2 個人資料蒐集之類別:"}),l.jsx("p",{className:"text-muted-foreground",children:"C001:辨識個人者。如姓名、住址、工作地址、住家電話、行動電話、通訊及戶籍地址、電子郵遞地址等。"})]}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"二、個人資料利用之期間及範圍(含地區、對象、方式):"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"2.1 期間:"}),l.jsx("p",{className:"text-muted-foreground",children:"自您主動發送訊息提供個資檔案之日起,至您自行申請停止或終止本公司對您個資檔案的處理、利用與刪除之日止後一年。"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"2.2 地區:"}),l.jsx("p",{className:"text-muted-foreground",children:"中華民國境內,包含本公司相關業務合作夥伴(如供貨商、物流商及其他履行輔助人或代理人等)所在地區與提供服務地區。"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"2.3 對象:"}),l.jsx("p",{className:"text-muted-foreground",children:"本公司及關係企業及相關業務合作夥伴。"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"2.4 方式:"}),l.jsx("p",{className:"text-muted-foreground",children:"透過ç
271¶²è·¯ã€é›»å­éƒµä»¶ã€ä¿¡ä»¶ã€é›»è©±ç­‰æ›¸é¢æˆ–口頭之方式處理與利用個人資料。"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"2.5 您可向本公司行使之權利及方式:"}),l.jsx("p",{className:"text-muted-foreground",children:"權利行使種類:查詢或請求閱覽、請求交付複製本、請求補充或更正、請求停止蒐集、處理或利用及請求刪除。"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"2.6 權利行使方式:"}),l.jsx("p",{className:"text-muted-foreground",children:"您可以用電子郵件向 [email protected] 請求行使上開權利,或撥打客服中心專線 02-77248007 為之。本公司將於確認您的身分後,依法履行上開義務。"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"2.7 惟若有下列情形時,本公司依法得拒絕您查詢、閱覽或發給複製本之請求:"}),l.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-1",children:[l.jsx("li",{children:"妨害國家安全、外交及軍事機密、整體經濟利益或其他國家重大利益。"}),l.jsx("li",{children:"妨害公務機關執行法定職務。"}),l.jsx("li",{children:"妨害蒐集機關或第三人之重大利益。"})]}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"2.8 有下列情形之一時,本公司得拒絕您刪除、停止處理或利用個人資料之請求:"}),l.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-1",children:[l.jsx("li",{children:"本公司執行業務所必須時。"}),l.jsx("li",{children:"經您書面同意時。"}),l.jsx("li",{children:"您有權選擇是否提供個人資料,但若您不提供時,您將不能使用本公司網站全部或一部之功能。"})]})]}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"三、隱私權保護政策"}),l.jsx("p",{className:"text-muted-foreground",children:"本公司重視企業社會責任,當您將寶貴的個人資料登載、輸入或上傳至本公司官網時,代表您對本公司官網及本公司之信任,本公司承諾對於您所提供之個人資料將遵守以下事項:"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"3.1"}),l.jsx("p",{className:"text-muted-foreground",children:"本公司透過官網及行銷活動等方式向您蒐集、處理或利用之個人資料,在未獲得您的同意前,絕不會洩漏予除本公司關係企業及服務提供合作夥伴以外之第三人。但依法本公司必須提供者(如提供給檢察機關、法院等),不在此限。"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"3.2"}),l.jsx("p",{className:"text-muted-foreground",children:"對於您所登錄或留存之個人資料,本公司及服務提供之合作夥伴都將依本隱私權政策,於合理、合法之特定目的必要範圍內予以利用,並依法採取適當之安全措施予以保護。但有下列情形之一時,不在此限:"}),l.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-1 mt-2",children:[l.jsx("li",{children:"法律明文規定。"}),l.jsx("li",{children:"為增進公共利益。"}),l.jsx("li",{children:"為免除當事人之生命、身體、自由或財產上之危險。"}),l.jsx("li",{children:"為防止他人權益之重大危害。"}),l.jsx("li",{children:"經當事人書面同意。"}),l.jsx("li",{children:"為提供本公司官網之各項服務、行銷活動、市場調查、統計分析或為提供您個人化服務或加值服務之目的,您同意本公司及關係企業與服務提供合作夥伴得記錄、保存及利用您在本網站所提供或產生之資料與記錄,並得將您的資料與記錄提供與關係企業或相關業務夥伴,同時在不揭露個人資料之情形下,公開或使用其統計資料與分析資料。"})]})]}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"四、資訊安全事項"}),l.jsx("p",{className:"text-muted-foreground",children:"本公司為強化您的安心與信任,對於您提供之個人資料將以下
271列安全措施保護之:"}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"4.1 安全管制與維護:"}),l.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-2 mt-2",children:[l.jsx("li",{children:"您於本網站輸入個人資料時,應透過適當之安全機制(如 SSL 機制等),將資料加密後再傳輸,以確保機密資料不會輕易被攔截或遭他人利用。"}),l.jsx("li",{children:"將所有取得之個人資料建置於本公司內部資料庫上,並明訂個人資料的使用範圍及使用權限。"}),l.jsx("li",{children:"若您以電話或電子郵件方式查詢或更改個人資料,本公司應先經相關認證確認後始進行回應,確保您之權益。"})]}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"4.2 設備安全之管理:"}),l.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-2 mt-2",children:[l.jsx("li",{children:"每日進行備份作業,將所有資料備份到備援主機。"}),l.jsx("li",{children:"裝設掃毒軟體,定期掃毒,以提供會員或使用者更安全的網頁瀏覽環境。"}),l.jsx("li",{children:"裝設防火牆防止非法入侵、破壞或竊取資料,保障使用者之權益。"}),l.jsx("li",{children:"定期保養維護儲存個人資料之電腦設備。"}),l.jsx("li",{children:"設置個人資訊保護諮詢窗口:關於個人資料之安全防護機制有疑問者,歡迎與本公司聯繫,客服專線:02-77248007。"})]}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"4.3 為防護您的個人資料安全性,請您配合以下事項:"}),l.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-2 mt-2",children:[l.jsx("li",{children:"若您將個人資料儲存於個人電腦硬碟上,您應於個人電腦上設置開機密碼或予以加密設計之相關安全保護措施。"}),l.jsx("li",{children:"您的帳號、密碼及個人資料應予以保密,不得與他人共用帳號,並應每隔一段時間變更密碼,避免遭到他人竊取或冒用。"}),l.jsx("li",{children:"您使用公用電腦或公共網路服務時,建議您不要儲存或記憶密碼,並應於使用完服務後,即刻登出該使用頁面,不得將個人資料留置於電腦顯示畫面上。"})]}),l.jsx("h3",{className:"text-xl font-medium text-foreground mt-6",children:"4.4 其他個人資料保護聲明:"}),l.jsxs("ul",{className:"list-disc list-inside text-muted-foreground space-y-2 mt-2",children:[l.jsx("li",{children:"本公司僅處理合法特定目的範圍內之個人資料,並於個人資料蒐集、處理及利用時,皆尊重當事人之權益,僅在被規範之特定目的範圍內,最小化處理及利用個人資料。"}),l.jsx("li",{children:"依據適當且合法的流程及方式處理個人資訊。"}),l.jsx("li",{children:"以上述安全措施確保您提供之個人資料安全,並絕對尊重其對個人資料所擁有的權利,包括其對於個人資料的調閱存取等。"})]})]}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"五、隱私權政策之修訂"}),l.jsx("p",{className:"text-muted-foreground",children:"本公司遵守中華民國相關法令進行個人資訊之管理與利用。為了更確實執行個人資訊的保護,本公司得隨時修訂隱私權政策,也請您定期確認隱私權政策的內容。更新時,我們將於本公司官網發佈公告。"})]})]})}),l.jsx(Lu,{})]})},qC=()=>{const{language:e}=je();return l.jsxs("div",{className:"min-h-screen bg-background",children:[l.jsx(_u,{}),l.jsx("main",{className:"container py-24 md:py-32",children:l.jsxs("article",{className:"prose prose-lg dark:prose-invert max-w-4xl mx-auto",children:[l.jsx("h1",{className:"text-3xl md:text-4xl font-bold text-foreground mb-8",children:e==="zh"?"資訊安全政策":"Information Security Policy"}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"一、目的"}),l.jsxs("ol",{className:"list-decimal list-inside text-muted-foreground space-y-2 mt-4",children:[l.jsx("li",{children:"確保公司內部網路設備及網路通訊安全,有效降低因人為疏失、蓄意或天然災害等導致之資訊資產遭竊、不當使用、洩漏、竄改或破壞等風險。"}
271),l.jsxs("li",{children:["確保業務資訊之機密性、完整性與可用性:",l.jsxs("ul",{className:"list-disc list-inside ml-4 mt-2 space-y-1",children:[l.jsxs("li",{children:[l.jsx("strong",{children:"機密性:"}),"確保機密資訊資產受必要之保護,以防機密外洩。"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"完整性:"}),"確保使用之資訊資產正確無誤、未遭竄改。"]}),l.jsxs("li",{children:[l.jsx("strong",{children:"可用性:"}),"確保僅被授權之人員能取得所需資訊資產。"]})]})]})]})]}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"三、適用範圍"}),l.jsxs("ol",{className:"list-decimal list-inside text-muted-foreground space-y-2 mt-4",children:[l.jsx("li",{children:"公司資訊安全管理制度所涵蓋範圍皆適用之。"}),l.jsx("li",{children:"本公司資訊安全管理涵蓋組織控制(A.5 系列)、人員控制(A.6 系列)、實體控制(A.7 系列)、技術控制(A.8 系列)等領域,依據 ISO 27001:2022 年版條文展開必要之資安管制措施,以避免因人為疏失、蓄意或天然災害等因素,導致資料不當使用、洩漏、竄改、破壞等情事發生,造成公司可能產生風險及危害。"})]})]}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"四、資安政策框架"}),l.jsxs("ol",{className:"list-decimal list-inside text-muted-foreground space-y-2 mt-4",children:[l.jsx("li",{children:"公司各項資訊安全管理規定必須遵守政府相關法規。"}),l.jsx("li",{children:"成立資訊安全管理組織負責資訊安全制度之建立及推動事宜。"}),l.jsx("li",{children:"定期實施資通安全教育訓練,宣導資訊安全政策及相關實施規定。"}),l.jsx("li",{children:"建立主機及網路使用之管理機制,以統籌分配、運用資源。"}),l.jsx("li",{children:"新設備建置前,將全因素納入考量,應防範潛在之危害。"}),l.jsx("li",{children:"明確規範網路系統之使用權限,防止未經授權之存取動作。"}),l.jsx("li",{children:"訂定內部稽核計畫,定期檢視公司資訊安全管理制度執行成效。"}),l.jsx("li",{children:"定期向管理者報告資訊安全之持續改善事項,並定期追蹤。"})]})]}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"五、資安宣示"}),l.jsxs("ol",{className:"list-decimal list-inside text-muted-foreground space-y-2 mt-4",children:[l.jsx("li",{children:"建置合宜資安制度。"}),l.jsx("li",{children:"強化實體網路環境。"}),l.jsx("li",{children:"落實各項控制措施。"}),l.jsx("li",{children:"持續優化資安認知。"})]})]}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"六、資安政策之評估與審查"}),l.jsx("p",{className:"text-muted-foreground mt-4",children:"本政策應至少每年評估及審查一次,以反映政府政策、法令、現行技術及公司業務等之最新發展現況,以確保公司資訊安全管理制度的適切性及有效性。"})]}),l.jsxs("section",{className:"mt-8",children:[l.jsx("h2",{className:"text-2xl font-semibold text-foreground",children:"七、實施"}),l.jsx("p",{className:"text-muted-foreground mt-4",children:"本政策經總經理核准,於公告日施行,並以書面、電子或其他方式通知本公司同仁及利害相關者,修正時亦同。"})]})]})}),l.jsx(Lu,{})]})},XC=new c2,JC=()=>l.jsx(d2,{client:XC,children:l.jsx(Yg,{children:l.jsxs(Fb,{children:[l.jsx(C1,{}),l.jsx(ew,{}),l.jsx(lC,{children:l.jsxs(tC,{children:[l.jsx(_o,{path:"/",element:l.jsx(QC,{})}),l.jsx(_o,{path:"/privacy-policy",element:l.jsx(ZC,{})}),l.jsx(_o,{path:"/security-policy",element:l.jsx(qC,{})}),l.jsx(_o,{path:"*",element:l.jsx(YC,{})})]})})]})})});dm(document.getElementById("root")).render(l.jsx(JC,{}));

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.